From a7786b4ddcc31b2f8f2625f0f648c2f45264478c Mon Sep 17 00:00:00 2001 From: Arlie Davis Date: Fri, 17 May 2024 11:39:11 -0700 Subject: [PATCH] update bindings, fix a bug in BasicString --- .github/workflows/clippy.yml | 2 + .github/workflows/test.yml | 10 +- crates/libs/core/Cargo.toml | 2 +- crates/libs/core/src/event.rs | 3 +- crates/libs/core/src/imp/com_bindings.rs | 210 +- crates/libs/core/src/lib.rs | 4 +- crates/libs/result/Cargo.toml | 4 + crates/libs/result/src/com.rs | 6 +- crates/libs/result/src/error.rs | 32 +- crates/libs/result/src/hresult.rs | 12 +- crates/libs/result/src/lib.rs | 8 +- crates/libs/result/src/strings.rs | 11 +- crates/libs/windows/Cargo.toml | 3 +- .../src/Windows/AI/MachineLearning/impl.rs | 4 +- .../src/Windows/AI/MachineLearning/mod.rs | 484 +-- .../ApplicationModel/Activation/impl.rs | 64 +- .../ApplicationModel/Activation/mod.rs | 1308 +++---- .../ApplicationModel/AppExtensions/mod.rs | 78 +- .../ApplicationModel/AppService/mod.rs | 68 +- .../Appointments/AppointmentsProvider/mod.rs | 58 +- .../Appointments/DataProvider/mod.rs | 164 +- .../ApplicationModel/Appointments/impl.rs | 8 +- .../ApplicationModel/Appointments/mod.rs | 552 +-- .../ApplicationModel/Background/impl.rs | 2 +- .../ApplicationModel/Background/mod.rs | 428 +-- .../ApplicationModel/Calls/Background/mod.rs | 52 +- .../ApplicationModel/Calls/Provider/mod.rs | 32 +- .../src/Windows/ApplicationModel/Calls/mod.rs | 454 +-- .../src/Windows/ApplicationModel/Chat/mod.rs | 518 +-- .../CommunicationBlocking/mod.rs | 14 +- .../Contacts/DataProvider/mod.rs | 74 +- .../ApplicationModel/Contacts/Provider/mod.rs | 24 +- .../Windows/ApplicationModel/Contacts/impl.rs | 22 +- .../Windows/ApplicationModel/Contacts/mod.rs | 984 +++--- .../ConversationalAgent/mod.rs | 280 +- .../src/Windows/ApplicationModel/Core/impl.rs | 2 +- .../src/Windows/ApplicationModel/Core/mod.rs | 106 +- .../DataTransfer/DragDrop/Core/mod.rs | 44 +- .../DataTransfer/ShareTarget/mod.rs | 28 +- .../ApplicationModel/DataTransfer/mod.rs | 354 +- .../Email/DataProvider/mod.rs | 326 +- .../src/Windows/ApplicationModel/Email/mod.rs | 728 ++-- .../ExtendedExecution/Foreground/mod.rs | 14 +- .../ApplicationModel/ExtendedExecution/mod.rs | 16 +- .../ApplicationModel/Holographic/mod.rs | 2 +- .../ApplicationModel/LockScreen/mod.rs | 34 +- .../ApplicationModel/Payments/Provider/mod.rs | 40 +- .../Windows/ApplicationModel/Payments/mod.rs | 286 +- .../Preview/Holographic/mod.rs | 6 +- .../Preview/InkWorkspace/mod.rs | 4 +- .../ApplicationModel/Preview/Notes/mod.rs | 26 +- .../ApplicationModel/Resources/Core/mod.rs | 184 +- .../Resources/Management/mod.rs | 32 +- .../Windows/ApplicationModel/Resources/mod.rs | 34 +- .../ApplicationModel/Search/Core/mod.rs | 56 +- .../Windows/ApplicationModel/Search/impl.rs | 4 +- .../Windows/ApplicationModel/Search/mod.rs | 132 +- .../UserActivities/Core/mod.rs | 4 +- .../ApplicationModel/UserActivities/impl.rs | 2 +- .../ApplicationModel/UserActivities/mod.rs | 136 +- .../UserDataAccounts/Provider/mod.rs | 32 +- .../UserDataAccounts/SystemAccess/mod.rs | 158 +- .../ApplicationModel/UserDataAccounts/mod.rs | 98 +- .../UserDataTasks/DataProvider/mod.rs | 88 +- .../ApplicationModel/UserDataTasks/mod.rs | 170 +- .../ApplicationModel/VoiceCommands/mod.rs | 120 +- .../ApplicationModel/Wallet/System/mod.rs | 14 +- .../Windows/ApplicationModel/Wallet/mod.rs | 192 +- .../src/Windows/ApplicationModel/mod.rs | 492 +-- .../libs/windows/src/Windows/Data/Html/mod.rs | 4 +- .../windows/src/Windows/Data/Json/impl.rs | 4 +- .../libs/windows/src/Windows/Data/Json/mod.rs | 190 +- .../libs/windows/src/Windows/Data/Pdf/mod.rs | 56 +- .../libs/windows/src/Windows/Data/Text/mod.rs | 176 +- .../windows/src/Windows/Data/Xml/Dom/impl.rs | 28 +- .../windows/src/Windows/Data/Xml/Dom/mod.rs | 1078 +++--- .../windows/src/Windows/Data/Xml/Xsl/mod.rs | 8 +- .../src/Windows/Devices/Adc/Provider/mod.rs | 20 +- .../windows/src/Windows/Devices/Adc/mod.rs | 24 +- .../src/Windows/Devices/Background/mod.rs | 18 +- .../Devices/Bluetooth/Advertisement/mod.rs | 158 +- .../Devices/Bluetooth/Background/mod.rs | 46 +- .../Bluetooth/GenericAttributeProfile/mod.rs | 678 ++-- .../Windows/Devices/Bluetooth/Rfcomm/mod.rs | 80 +- .../src/Windows/Devices/Bluetooth/mod.rs | 380 +- .../windows/src/Windows/Devices/Custom/mod.rs | 42 +- .../src/Windows/Devices/Display/Core/mod.rs | 254 +- .../src/Windows/Devices/Display/mod.rs | 60 +- .../Windows/Devices/Enumeration/Pnp/mod.rs | 54 +- .../src/Windows/Devices/Enumeration/mod.rs | 256 +- .../Devices/Geolocation/Geofencing/mod.rs | 54 +- .../Devices/Geolocation/Provider/mod.rs | 6 +- .../src/Windows/Devices/Geolocation/mod.rs | 196 +- .../src/Windows/Devices/Gpio/Provider/mod.rs | 30 +- .../windows/src/Windows/Devices/Gpio/mod.rs | 64 +- .../src/Windows/Devices/Haptics/mod.rs | 68 +- .../Devices/HumanInterfaceDevice/mod.rs | 168 +- .../src/Windows/Devices/I2c/Provider/impl.rs | 2 +- .../src/Windows/Devices/I2c/Provider/mod.rs | 26 +- .../windows/src/Windows/Devices/I2c/impl.rs | 6 +- .../windows/src/Windows/Devices/I2c/mod.rs | 46 +- .../src/Windows/Devices/Input/Preview/mod.rs | 62 +- .../windows/src/Windows/Devices/Input/mod.rs | 68 +- .../src/Windows/Devices/Lights/Effects/mod.rs | 92 +- .../windows/src/Windows/Devices/Lights/mod.rs | 94 +- .../windows/src/Windows/Devices/Midi/impl.rs | 2 +- .../windows/src/Windows/Devices/Midi/mod.rs | 226 +- .../Devices/PointOfService/Provider/mod.rs | 208 +- .../Windows/Devices/PointOfService/impl.rs | 12 +- .../src/Windows/Devices/PointOfService/mod.rs | 1552 ++++---- .../src/Windows/Devices/Portable/mod.rs | 16 +- .../windows/src/Windows/Devices/Power/mod.rs | 28 +- .../Devices/Printers/Extensions/mod.rs | 42 +- .../src/Windows/Devices/Printers/mod.rs | 242 +- .../src/Windows/Devices/Pwm/Provider/mod.rs | 16 +- .../windows/src/Windows/Devices/Pwm/mod.rs | 36 +- .../windows/src/Windows/Devices/Radios/mod.rs | 24 +- .../src/Windows/Devices/Scanners/mod.rs | 228 +- .../src/Windows/Devices/Sensors/Custom/mod.rs | 32 +- .../src/Windows/Devices/Sensors/impl.rs | 2 +- .../src/Windows/Devices/Sensors/mod.rs | 762 ++-- .../Devices/SerialCommunication/mod.rs | 64 +- .../src/Windows/Devices/SmartCards/mod.rs | 392 +-- .../windows/src/Windows/Devices/Sms/impl.rs | 18 +- .../windows/src/Windows/Devices/Sms/mod.rs | 558 +-- .../src/Windows/Devices/Spi/Provider/impl.rs | 2 +- .../src/Windows/Devices/Spi/Provider/mod.rs | 28 +- .../windows/src/Windows/Devices/Spi/impl.rs | 8 +- .../windows/src/Windows/Devices/Spi/mod.rs | 58 +- .../windows/src/Windows/Devices/Usb/mod.rs | 236 +- .../windows/src/Windows/Devices/WiFi/mod.rs | 106 +- .../Devices/WiFiDirect/Services/mod.rs | 124 +- .../src/Windows/Devices/WiFiDirect/mod.rs | 80 +- .../libs/windows/src/Windows/Devices/mod.rs | 26 +- .../Windows/Embedded/DeviceLockdown/mod.rs | 12 +- .../src/Windows/Foundation/Collections/mod.rs | 172 +- .../Windows/Foundation/Diagnostics/impl.rs | 32 +- .../src/Windows/Foundation/Diagnostics/mod.rs | 434 +-- .../src/Windows/Foundation/Metadata/mod.rs | 40 +- .../windows/src/Windows/Foundation/impl.rs | 12 +- .../windows/src/Windows/Foundation/mod.rs | 426 +-- .../src/Windows/Gaming/Input/Custom/mod.rs | 68 +- .../Windows/Gaming/Input/ForceFeedback/mod.rs | 48 +- .../src/Windows/Gaming/Input/Preview/mod.rs | 8 +- .../windows/src/Windows/Gaming/Input/mod.rs | 226 +- .../Gaming/Preview/GamesEnumeration/mod.rs | 92 +- .../libs/windows/src/Windows/Gaming/UI/mod.rs | 42 +- .../Windows/Gaming/XboxLive/Storage/mod.rs | 100 +- .../Windows/Globalization/Collation/mod.rs | 26 +- .../Globalization/DateTimeFormatting/mod.rs | 86 +- .../src/Windows/Globalization/Fonts/mod.rs | 38 +- .../Globalization/NumberFormatting/impl.rs | 28 +- .../Globalization/NumberFormatting/mod.rs | 344 +- .../PhoneNumberFormatting/mod.rs | 70 +- .../windows/src/Windows/Globalization/mod.rs | 1262 +++---- .../src/Windows/Graphics/Capture/mod.rs | 42 +- .../Graphics/DirectX/Direct3D11/mod.rs | 6 +- .../src/Windows/Graphics/Display/Core/mod.rs | 40 +- .../src/Windows/Graphics/Display/mod.rs | 150 +- .../src/Windows/Graphics/Effects/impl.rs | 4 +- .../src/Windows/Graphics/Effects/mod.rs | 10 +- .../src/Windows/Graphics/Holographic/mod.rs | 202 +- .../src/Windows/Graphics/Imaging/mod.rs | 312 +- .../Graphics/Printing/OptionDetails/impl.rs | 10 +- .../Graphics/Printing/OptionDetails/mod.rs | 550 +-- .../Graphics/Printing/PrintSupport/mod.rs | 74 +- .../Graphics/Printing/PrintTicket/mod.rs | 210 +- .../Windows/Graphics/Printing/Workflow/mod.rs | 188 +- .../src/Windows/Graphics/Printing/mod.rs | 206 +- .../src/Windows/Graphics/Printing3D/mod.rs | 236 +- .../libs/windows/src/Windows/Graphics/mod.rs | 2 +- .../src/Windows/Management/Core/mod.rs | 4 +- .../Management/Deployment/Preview/mod.rs | 12 +- .../src/Windows/Management/Deployment/mod.rs | 498 +-- .../src/Windows/Management/Policies/mod.rs | 38 +- .../src/Windows/Management/Update/mod.rs | 252 +- .../src/Windows/Management/Workplace/mod.rs | 12 +- .../windows/src/Windows/Management/mod.rs | 56 +- .../src/Windows/Media/AppBroadcasting/mod.rs | 30 +- .../src/Windows/Media/AppRecording/mod.rs | 60 +- .../windows/src/Windows/Media/Audio/mod.rs | 576 +-- .../src/Windows/Media/Capture/Core/mod.rs | 20 +- .../src/Windows/Media/Capture/Frames/mod.rs | 194 +- .../windows/src/Windows/Media/Capture/mod.rs | 990 +++--- .../windows/src/Windows/Media/Casting/mod.rs | 66 +- .../src/Windows/Media/ClosedCaptioning/mod.rs | 26 +- .../Windows/Media/ContentRestrictions/mod.rs | 40 +- .../windows/src/Windows/Media/Control/mod.rs | 140 +- .../src/Windows/Media/Core/Preview/mod.rs | 4 +- .../windows/src/Windows/Media/Core/impl.rs | 24 +- .../windows/src/Windows/Media/Core/mod.rs | 970 ++--- .../src/Windows/Media/Devices/Core/mod.rs | 124 +- .../windows/src/Windows/Media/Devices/impl.rs | 2 +- .../windows/src/Windows/Media/Devices/mod.rs | 584 +-- .../src/Windows/Media/DialProtocol/mod.rs | 70 +- .../windows/src/Windows/Media/Editing/mod.rs | 120 +- .../windows/src/Windows/Media/Effects/impl.rs | 6 +- .../windows/src/Windows/Media/Effects/mod.rs | 162 +- .../src/Windows/Media/FaceAnalysis/mod.rs | 32 +- .../windows/src/Windows/Media/Import/mod.rs | 276 +- .../src/Windows/Media/MediaProperties/impl.rs | 6 +- .../src/Windows/Media/MediaProperties/mod.rs | 504 +-- .../windows/src/Windows/Media/Miracast/mod.rs | 172 +- .../libs/windows/src/Windows/Media/Ocr/mod.rs | 34 +- .../windows/src/Windows/Media/PlayTo/mod.rs | 130 +- .../windows/src/Windows/Media/Playback/mod.rs | 526 +-- .../src/Windows/Media/Playlists/mod.rs | 14 +- .../Media/Protection/PlayReady/impl.rs | 14 +- .../Windows/Media/Protection/PlayReady/mod.rs | 606 ++-- .../src/Windows/Media/Protection/mod.rs | 62 +- .../Windows/Media/SpeechRecognition/impl.rs | 4 +- .../Windows/Media/SpeechRecognition/mod.rs | 206 +- .../src/Windows/Media/SpeechSynthesis/mod.rs | 76 +- .../Windows/Media/Streaming/Adaptive/mod.rs | 214 +- .../src/Windows/Media/Transcoding/mod.rs | 30 +- crates/libs/windows/src/Windows/Media/impl.rs | 6 +- crates/libs/windows/src/Windows/Media/mod.rs | 334 +- .../Networking/BackgroundTransfer/impl.rs | 18 +- .../Networking/BackgroundTransfer/mod.rs | 266 +- .../Windows/Networking/Connectivity/mod.rs | 266 +- .../Networking/NetworkOperators/mod.rs | 926 ++--- .../src/Windows/Networking/Proximity/mod.rs | 126 +- .../Networking/PushNotifications/mod.rs | 68 +- .../Networking/ServiceDiscovery/Dnssd/mod.rs | 56 +- .../src/Windows/Networking/Sockets/impl.rs | 6 +- .../src/Windows/Networking/Sockets/mod.rs | 512 +-- .../src/Windows/Networking/Vpn/impl.rs | 18 +- .../windows/src/Windows/Networking/Vpn/mod.rs | 476 +-- .../src/Windows/Networking/XboxLive/mod.rs | 156 +- .../windows/src/Windows/Networking/mod.rs | 48 +- .../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 | 164 +- .../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 | 64 +- .../src/Windows/Phone/Media/Devices/mod.rs | 8 +- .../Phone/Notification/Management/impl.rs | 4 +- .../Phone/Notification/Management/mod.rs | 456 +-- .../PersonalInformation/Provisioning/mod.rs | 18 +- .../Windows/Phone/PersonalInformation/impl.rs | 20 +- .../Windows/Phone/PersonalInformation/mod.rs | 348 +- .../src/Windows/Phone/StartScreen/impl.rs | 2 +- .../src/Windows/Phone/StartScreen/mod.rs | 38 +- .../src/Windows/Phone/System/Power/mod.rs | 6 +- .../src/Windows/Phone/System/Profile/mod.rs | 2 +- .../UserProfile/GameServices/Core/mod.rs | 16 +- .../windows/src/Windows/Phone/System/mod.rs | 2 +- .../windows/src/Windows/Phone/UI/Input/mod.rs | 10 +- .../Authentication/Identity/Core/mod.rs | 74 +- .../Security/Authentication/Identity/mod.rs | 24 +- .../Security/Authentication/OnlineId/mod.rs | 104 +- .../Security/Authentication/Web/Core/mod.rs | 138 +- .../Authentication/Web/Provider/mod.rs | 188 +- .../Security/Authentication/Web/mod.rs | 18 +- .../Authorization/AppCapabilityAccess/mod.rs | 30 +- .../Windows/Security/Credentials/UI/mod.rs | 72 +- .../src/Windows/Security/Credentials/impl.rs | 2 +- .../src/Windows/Security/Credentials/mod.rs | 154 +- .../Security/Cryptography/Certificates/mod.rs | 464 +-- .../Windows/Security/Cryptography/Core/mod.rs | 602 ++-- .../Cryptography/DataProtection/mod.rs | 12 +- .../src/Windows/Security/Cryptography/mod.rs | 32 +- .../Windows/Security/DataProtection/mod.rs | 24 +- .../Windows/Security/EnterpriseData/mod.rs | 258 +- .../ExchangeActiveSyncProvisioning/mod.rs | 70 +- .../src/Windows/Security/Isolation/mod.rs | 192 +- .../src/Windows/Services/Maps/Guidance/mod.rs | 182 +- .../Windows/Services/Maps/LocalSearch/mod.rs | 88 +- .../Windows/Services/Maps/OfflineMaps/mod.rs | 28 +- .../windows/src/Windows/Services/Maps/mod.rs | 272 +- .../windows/src/Windows/Services/Store/mod.rs | 492 +-- .../Windows/Services/TargetedContent/mod.rs | 142 +- .../src/Windows/Storage/AccessCache/impl.rs | 24 +- .../src/Windows/Storage/AccessCache/mod.rs | 128 +- .../src/Windows/Storage/BulkAccess/mod.rs | 246 +- .../src/Windows/Storage/Compression/mod.rs | 18 +- .../src/Windows/Storage/FileProperties/mod.rs | 246 +- .../Windows/Storage/Pickers/Provider/mod.rs | 72 +- .../src/Windows/Storage/Pickers/mod.rs | 138 +- .../src/Windows/Storage/Provider/impl.rs | 14 +- .../src/Windows/Storage/Provider/mod.rs | 272 +- .../src/Windows/Storage/Search/impl.rs | 8 +- .../windows/src/Windows/Storage/Search/mod.rs | 246 +- .../src/Windows/Storage/Streams/impl.rs | 8 +- .../src/Windows/Storage/Streams/mod.rs | 368 +- .../libs/windows/src/Windows/Storage/impl.rs | 42 +- .../libs/windows/src/Windows/Storage/mod.rs | 1126 +++--- .../System/Diagnostics/DevicePortal/mod.rs | 34 +- .../System/Diagnostics/Telemetry/mod.rs | 14 +- .../System/Diagnostics/TraceReporting/mod.rs | 36 +- .../src/Windows/System/Diagnostics/mod.rs | 114 +- .../Implementation/FileExplorer/impl.rs | 4 +- .../System/Implementation/FileExplorer/mod.rs | 26 +- .../src/Windows/System/Inventory/mod.rs | 20 +- .../windows/src/Windows/System/Power/mod.rs | 56 +- .../System/Profile/SystemManufacturers/mod.rs | 48 +- .../windows/src/Windows/System/Profile/mod.rs | 166 +- .../Windows/System/RemoteDesktop/Input/mod.rs | 6 +- .../System/RemoteDesktop/Provider/mod.rs | 28 +- .../src/Windows/System/RemoteDesktop/mod.rs | 2 +- .../src/Windows/System/RemoteSystems/mod.rs | 318 +- .../src/Windows/System/Threading/Core/mod.rs | 24 +- .../src/Windows/System/Threading/mod.rs | 18 +- .../windows/src/Windows/System/Update/mod.rs | 76 +- .../src/Windows/System/UserProfile/mod.rs | 126 +- crates/libs/windows/src/Windows/System/mod.rs | 526 +-- .../src/Windows/UI/Accessibility/mod.rs | 8 +- .../src/Windows/UI/ApplicationSettings/mod.rs | 76 +- .../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 | 332 +- .../src/Windows/UI/Composition/Scenes/mod.rs | 436 +-- .../src/Windows/UI/Composition/impl.rs | 2 +- .../windows/src/Windows/UI/Composition/mod.rs | 3130 ++++++++--------- .../Windows/UI/Core/AnimationMetrics/mod.rs | 78 +- .../src/Windows/UI/Core/Preview/mod.rs | 10 +- .../libs/windows/src/Windows/UI/Core/mod.rs | 476 +-- .../windows/src/Windows/UI/Input/Core/mod.rs | 8 +- .../Windows/UI/Input/Inking/Analysis/mod.rs | 194 +- .../src/Windows/UI/Input/Inking/Core/mod.rs | 56 +- .../Windows/UI/Input/Inking/Preview/mod.rs | 4 +- .../src/Windows/UI/Input/Inking/mod.rs | 346 +- .../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 | 428 +-- .../UI/Notifications/Management/mod.rs | 12 +- .../src/Windows/UI/Notifications/mod.rs | 522 +-- .../windows/src/Windows/UI/Popups/impl.rs | 4 +- .../libs/windows/src/Windows/UI/Popups/mod.rs | 74 +- .../libs/windows/src/Windows/UI/Shell/impl.rs | 4 +- .../libs/windows/src/Windows/UI/Shell/mod.rs | 156 +- .../windows/src/Windows/UI/StartScreen/mod.rs | 204 +- .../windows/src/Windows/UI/Text/Core/mod.rs | 138 +- .../libs/windows/src/Windows/UI/Text/impl.rs | 30 +- .../libs/windows/src/Windows/UI/Text/mod.rs | 432 +-- .../src/Windows/UI/UIAutomation/Core/mod.rs | 56 +- .../src/Windows/UI/UIAutomation/mod.rs | 22 +- .../src/Windows/UI/ViewManagement/Core/mod.rs | 80 +- .../src/Windows/UI/ViewManagement/mod.rs | 280 +- .../windows/src/Windows/UI/WebUI/Core/mod.rs | 72 +- .../libs/windows/src/Windows/UI/WebUI/mod.rs | 798 ++--- .../src/Windows/UI/WindowManagement/mod.rs | 162 +- crates/libs/windows/src/Windows/UI/mod.rs | 290 +- .../src/Windows/Wdk/Graphics/Direct3D/mod.rs | 16 +- .../Windows/Wdk/NetworkManagement/Ndis/mod.rs | 8 +- .../Wdk/Storage/FileSystem/Minifilters/mod.rs | 2 +- .../src/Windows/Wdk/Storage/FileSystem/mod.rs | 30 +- .../Windows/Wdk/System/SystemServices/mod.rs | 24 +- .../windows/src/Windows/Web/AtomPub/mod.rs | 102 +- .../src/Windows/Web/Http/Diagnostics/mod.rs | 66 +- .../src/Windows/Web/Http/Filters/mod.rs | 54 +- .../src/Windows/Web/Http/Headers/mod.rs | 850 ++--- .../libs/windows/src/Windows/Web/Http/mod.rs | 380 +- .../src/Windows/Web/Syndication/impl.rs | 26 +- .../src/Windows/Web/Syndication/mod.rs | 488 +-- .../windows/src/Windows/Web/UI/Interop/mod.rs | 110 +- .../libs/windows/src/Windows/Web/UI/impl.rs | 10 +- crates/libs/windows/src/Windows/Web/UI/mod.rs | 146 +- crates/libs/windows/src/Windows/Web/mod.rs | 6 +- .../Win32/AI/MachineLearning/DirectML/mod.rs | 30 +- .../Win32/AI/MachineLearning/WinML/mod.rs | 90 +- .../src/Windows/Win32/Data/HtmlHelp/mod.rs | 16 +- .../src/Windows/Win32/Data/Xml/MsXml/impl.rs | 504 +-- .../src/Windows/Win32/Data/Xml/MsXml/mod.rs | 1374 ++++---- .../src/Windows/Win32/Data/Xml/XmlLite/mod.rs | 34 +- .../Win32/Devices/BiometricFramework/mod.rs | 6 +- .../Windows/Win32/Devices/DeviceAccess/mod.rs | 8 +- .../Windows/Win32/Devices/DeviceQuery/mod.rs | 12 +- .../src/Windows/Win32/Devices/Display/mod.rs | 10 +- .../Win32/Devices/Enumeration/Pnp/impl.rs | 106 +- .../Win32/Devices/Enumeration/Pnp/mod.rs | 274 +- .../src/Windows/Win32/Devices/Fax/impl.rs | 404 +-- .../src/Windows/Win32/Devices/Fax/mod.rs | 1278 +++---- .../Win32/Devices/FunctionDiscovery/impl.rs | 12 +- .../Win32/Devices/FunctionDiscovery/mod.rs | 112 +- .../Windows/Win32/Devices/Geolocation/impl.rs | 26 +- .../Windows/Win32/Devices/Geolocation/mod.rs | 132 +- .../Win32/Devices/HumanInterfaceDevice/mod.rs | 46 +- .../Win32/Devices/ImageAcquisition/impl.rs | 100 +- .../Win32/Devices/ImageAcquisition/mod.rs | 326 +- .../Win32/Devices/PortableDevices/impl.rs | 22 +- .../Win32/Devices/PortableDevices/mod.rs | 260 +- .../src/Windows/Win32/Devices/Sensors/impl.rs | 6 +- .../src/Windows/Win32/Devices/Sensors/mod.rs | 80 +- .../src/Windows/Win32/Devices/Tapi/impl.rs | 294 +- .../src/Windows/Win32/Devices/Tapi/mod.rs | 1414 ++++---- .../Win32/Devices/WebServicesOnDevices/mod.rs | 222 +- .../src/Windows/Win32/Foundation/mod.rs | 14 +- .../windows/src/Windows/Win32/Gaming/impl.rs | 4 +- .../windows/src/Windows/Win32/Gaming/mod.rs | 130 +- .../src/Windows/Win32/Globalization/impl.rs | 12 +- .../src/Windows/Win32/Globalization/mod.rs | 180 +- .../Graphics/CompositionSwapchain/mod.rs | 36 +- .../src/Windows/Win32/Graphics/DXCore/mod.rs | 10 +- .../Win32/Graphics/Direct2D/Common/mod.rs | 2 +- .../Windows/Win32/Graphics/Direct2D/mod.rs | 550 +-- .../Win32/Graphics/Direct3D/Dxc/impl.rs | 18 +- .../Win32/Graphics/Direct3D/Dxc/mod.rs | 194 +- .../Win32/Graphics/Direct3D/Fxc/mod.rs | 30 +- .../Windows/Win32/Graphics/Direct3D/impl.rs | 4 +- .../Windows/Win32/Graphics/Direct3D/mod.rs | 6 +- .../Windows/Win32/Graphics/Direct3D10/impl.rs | 80 +- .../Windows/Win32/Graphics/Direct3D10/mod.rs | 210 +- .../Windows/Win32/Graphics/Direct3D11/impl.rs | 20 +- .../Windows/Win32/Graphics/Direct3D11/mod.rs | 320 +- .../Win32/Graphics/Direct3D11on12/mod.rs | 6 +- .../Windows/Win32/Graphics/Direct3D12/impl.rs | 20 +- .../Windows/Win32/Graphics/Direct3D12/mod.rs | 252 +- .../Windows/Win32/Graphics/Direct3D9/mod.rs | 98 +- .../Win32/Graphics/Direct3D9on12/mod.rs | 6 +- .../Win32/Graphics/DirectComposition/mod.rs | 224 +- .../Windows/Win32/Graphics/DirectDraw/mod.rs | 104 +- .../Win32/Graphics/DirectManipulation/mod.rs | 52 +- .../Windows/Win32/Graphics/DirectWrite/mod.rs | 500 +-- .../src/Windows/Win32/Graphics/Dwm/mod.rs | 10 +- .../src/Windows/Win32/Graphics/Dxgi/mod.rs | 182 +- .../Windows/Win32/Graphics/GdiPlus/impl.rs | 4 +- .../src/Windows/Win32/Graphics/GdiPlus/mod.rs | 2 +- .../Windows/Win32/Graphics/Imaging/D2D/mod.rs | 6 +- .../Windows/Win32/Graphics/Imaging/impl.rs | 16 +- .../src/Windows/Win32/Graphics/Imaging/mod.rs | 370 +- .../Graphics/Printing/PrintTicket/mod.rs | 14 +- .../Windows/Win32/Graphics/Printing/impl.rs | 118 +- .../Windows/Win32/Graphics/Printing/mod.rs | 606 ++-- .../MobileDeviceManagementRegistration/mod.rs | 8 +- .../src/Windows/Win32/Media/Audio/Apo/mod.rs | 124 +- .../Win32/Media/Audio/DirectMusic/mod.rs | 38 +- .../Win32/Media/Audio/DirectSound/mod.rs | 106 +- .../Win32/Media/Audio/Endpoints/mod.rs | 58 +- .../Windows/Win32/Media/Audio/XAudio2/impl.rs | 24 +- .../Windows/Win32/Media/Audio/XAudio2/mod.rs | 44 +- .../src/Windows/Win32/Media/Audio/impl.rs | 8 +- .../src/Windows/Win32/Media/Audio/mod.rs | 406 +-- .../Windows/Win32/Media/DeviceManager/impl.rs | 8 +- .../Windows/Win32/Media/DeviceManager/mod.rs | 290 +- .../Windows/Win32/Media/DirectShow/Tv/impl.rs | 298 +- .../Windows/Win32/Media/DirectShow/Tv/mod.rs | 2958 ++++++++-------- .../Win32/Media/DirectShow/Xml/impl.rs | 2 +- .../Windows/Win32/Media/DirectShow/Xml/mod.rs | 4 +- .../Windows/Win32/Media/DirectShow/impl.rs | 170 +- .../src/Windows/Win32/Media/DirectShow/mod.rs | 1616 ++++----- .../Windows/Win32/Media/DxMediaObjects/mod.rs | 42 +- .../Win32/Media/KernelStreaming/mod.rs | 116 +- .../Media/LibrarySharingServices/impl.rs | 24 +- .../Win32/Media/LibrarySharingServices/mod.rs | 74 +- .../Win32/Media/MediaFoundation/impl.rs | 136 +- .../Win32/Media/MediaFoundation/mod.rs | 2274 ++++++------ .../Windows/Win32/Media/MediaPlayer/impl.rs | 504 +-- .../Windows/Win32/Media/MediaPlayer/mod.rs | 1154 +++--- .../src/Windows/Win32/Media/Multimedia/mod.rs | 20 +- .../Win32/Media/PictureAcquisition/impl.rs | 32 +- .../Win32/Media/PictureAcquisition/mod.rs | 126 +- .../src/Windows/Win32/Media/Speech/impl.rs | 262 +- .../src/Windows/Win32/Media/Speech/mod.rs | 1172 +++--- .../Win32/Media/WindowsMediaFormat/impl.rs | 38 +- .../Win32/Media/WindowsMediaFormat/mod.rs | 620 ++-- .../windows/src/Windows/Win32/Media/mod.rs | 14 +- .../NetworkManagement/MobileBroadband/impl.rs | 40 +- .../NetworkManagement/MobileBroadband/mod.rs | 360 +- .../NetworkManagement/NetManagement/impl.rs | 2 +- .../NetworkManagement/NetManagement/mod.rs | 70 +- .../NetworkDiagnosticsFramework/mod.rs | 18 +- .../NetworkPolicyServer/impl.rs | 36 +- .../NetworkPolicyServer/mod.rs | 94 +- .../Win32/NetworkManagement/P2P/mod.rs | 118 +- .../Win32/NetworkManagement/WiFi/mod.rs | 50 +- .../WindowsConnectNow/mod.rs | 6 +- .../WindowsConnectionManager/mod.rs | 6 +- .../NetworkManagement/WindowsFirewall/impl.rs | 196 +- .../NetworkManagement/WindowsFirewall/mod.rs | 646 ++-- .../Win32/Networking/ActiveDirectory/impl.rs | 716 ++-- .../Win32/Networking/ActiveDirectory/mod.rs | 1532 ++++---- .../impl.rs | 8 +- .../mod.rs | 252 +- .../Win32/Networking/Clustering/impl.rs | 226 +- .../Win32/Networking/Clustering/mod.rs | 806 ++--- .../Networking/NetworkListManager/impl.rs | 8 +- .../Networking/NetworkListManager/mod.rs | 96 +- .../RemoteDifferentialCompression/mod.rs | 104 +- .../Windows/Win32/Networking/WebSocket/mod.rs | 4 +- .../Windows/Win32/Networking/WinHttp/impl.rs | 34 +- .../Windows/Win32/Networking/WinHttp/mod.rs | 56 +- .../Windows/Win32/Networking/WinInet/mod.rs | 16 +- .../Networking/WindowsWebServices/mod.rs | 18 +- .../Authentication/Identity/Provider/impl.rs | 20 +- .../Authentication/Identity/Provider/mod.rs | 86 +- .../Security/Authentication/Identity/mod.rs | 54 +- .../Win32/Security/Authorization/UI/mod.rs | 18 +- .../Win32/Security/Authorization/impl.rs | 580 +-- .../Win32/Security/Authorization/mod.rs | 1050 +++--- .../Win32/Security/ConfigurationSnapin/mod.rs | 4 +- .../Windows/Win32/Security/Credentials/mod.rs | 2 +- .../Cryptography/Certificates/impl.rs | 934 ++--- .../Security/Cryptography/Certificates/mod.rs | 2426 ++++++------- .../Win32/Security/Cryptography/impl.rs | 74 +- .../Win32/Security/Cryptography/mod.rs | 182 +- .../Win32/Security/DiagnosticDataQuery/mod.rs | 40 +- .../Win32/Security/EnterpriseData/impl.rs | 22 +- .../Win32/Security/EnterpriseData/mod.rs | 34 +- .../ExtensibleAuthenticationProtocol/mod.rs | 18 +- .../Windows/Win32/Security/Isolation/mod.rs | 28 +- .../Win32/Security/LicenseProtection/mod.rs | 2 +- .../src/Windows/Win32/Security/Tpm/mod.rs | 12 +- .../windows/src/Windows/Win32/Security/mod.rs | 4 +- .../Windows/Win32/Storage/CloudFilters/mod.rs | 10 +- .../Win32/Storage/DataDeduplication/impl.rs | 16 +- .../Win32/Storage/DataDeduplication/mod.rs | 52 +- .../Win32/Storage/EnhancedStorage/mod.rs | 38 +- .../Windows/Win32/Storage/FileHistory/impl.rs | 18 +- .../Windows/Win32/Storage/FileHistory/mod.rs | 46 +- .../Storage/FileServerResourceManager/impl.rs | 398 +-- .../Storage/FileServerResourceManager/mod.rs | 1062 +++--- .../Windows/Win32/Storage/FileSystem/mod.rs | 34 +- .../src/Windows/Win32/Storage/Imapi/impl.rs | 120 +- .../src/Windows/Win32/Storage/Imapi/mod.rs | 738 ++-- .../Windows/Win32/Storage/IndexServer/mod.rs | 4 +- .../Storage/InstallableFileSystems/mod.rs | 6 +- .../Win32/Storage/OfflineFiles/impl.rs | 8 +- .../Windows/Win32/Storage/OfflineFiles/mod.rs | 180 +- .../Win32/Storage/Packaging/Appx/mod.rs | 574 +-- .../Win32/Storage/Packaging/Opc/mod.rs | 316 +- .../Win32/Storage/ProjectedFileSystem/mod.rs | 4 +- .../Win32/Storage/VirtualDiskService/mod.rs | 416 +-- .../src/Windows/Win32/Storage/Vss/impl.rs | 66 +- .../src/Windows/Win32/Storage/Vss/mod.rs | 174 +- .../Windows/Win32/Storage/Xps/Printing/mod.rs | 16 +- .../src/Windows/Win32/Storage/Xps/mod.rs | 792 ++--- .../Windows/Win32/System/AddressBook/mod.rs | 102 +- .../Windows/Win32/System/Antimalware/mod.rs | 34 +- .../impl.rs | 148 +- .../mod.rs | 508 +-- .../Win32/System/AssessmentTool/impl.rs | 12 +- .../Win32/System/AssessmentTool/mod.rs | 56 +- .../Windows/Win32/System/ClrHosting/impl.rs | 12 +- .../Windows/Win32/System/ClrHosting/mod.rs | 338 +- .../Windows/Win32/System/Com/CallObj/impl.rs | 4 +- .../Windows/Win32/System/Com/CallObj/mod.rs | 36 +- .../System/Com/ChannelCredentials/impl.rs | 20 +- .../System/Com/ChannelCredentials/mod.rs | 22 +- .../Windows/Win32/System/Com/Events/impl.rs | 162 +- .../Windows/Win32/System/Com/Events/mod.rs | 306 +- .../Windows/Win32/System/Com/Marshal/mod.rs | 36 +- .../System/Com/StructuredStorage/impl.rs | 16 +- .../Win32/System/Com/StructuredStorage/mod.rs | 372 +- .../src/Windows/Win32/System/Com/UI/mod.rs | 4 +- .../Windows/Win32/System/Com/Urlmon/mod.rs | 172 +- .../src/Windows/Win32/System/Com/impl.rs | 78 +- .../src/Windows/Win32/System/Com/mod.rs | 726 ++-- .../Win32/System/ComponentServices/impl.rs | 246 +- .../Win32/System/ComponentServices/mod.rs | 800 ++--- .../src/Windows/Win32/System/Console/mod.rs | 2 +- .../src/Windows/Win32/System/Contacts/mod.rs | 186 +- .../Win32/System/DeploymentServices/impl.rs | 68 +- .../Win32/System/DeploymentServices/mod.rs | 334 +- .../Win32/System/DesktopSharing/impl.rs | 50 +- .../Win32/System/DesktopSharing/mod.rs | 264 +- .../Win32/System/DeveloperLicensing/mod.rs | 4 +- .../System/Diagnostics/ClrProfiling/mod.rs | 164 +- .../Diagnostics/Debug/ActiveScript/impl.rs | 100 +- .../Diagnostics/Debug/ActiveScript/mod.rs | 712 ++-- .../Diagnostics/Debug/Extensions/impl.rs | 76 +- .../Diagnostics/Debug/Extensions/mod.rs | 1924 +++++----- .../Win32/System/Diagnostics/Debug/impl.rs | 6 +- .../Win32/System/Diagnostics/Debug/mod.rs | 66 +- .../Win32/System/Diagnostics/Etw/impl.rs | 6 +- .../Win32/System/Diagnostics/Etw/mod.rs | 24 +- .../DistributedTransactionCoordinator/mod.rs | 216 +- .../Win32/System/ErrorReporting/mod.rs | 10 +- .../System/EventNotificationService/impl.rs | 34 +- .../System/EventNotificationService/mod.rs | 42 +- .../Windows/Win32/System/GroupPolicy/impl.rs | 304 +- .../Windows/Win32/System/GroupPolicy/mod.rs | 934 ++--- .../Win32/System/HostComputeNetwork/mod.rs | 2 +- .../Win32/System/HostComputeSystem/mod.rs | 16 +- .../Windows/Win32/System/Hypervisor/mod.rs | 14 +- .../src/Windows/Win32/System/Iis/mod.rs | 78 +- .../src/Windows/Win32/System/Js/mod.rs | 4 +- .../src/Windows/Win32/System/Kernel/mod.rs | 2 +- .../Win32/System/MessageQueuing/impl.rs | 628 ++-- .../Win32/System/MessageQueuing/mod.rs | 1452 ++++---- .../src/Windows/Win32/System/Mmc/impl.rs | 94 +- .../src/Windows/Win32/System/Mmc/mod.rs | 512 +-- .../src/Windows/Win32/System/Ole/impl.rs | 68 +- .../src/Windows/Win32/System/Ole/mod.rs | 1232 +++---- .../Win32/System/ParentalControls/impl.rs | 6 +- .../Win32/System/ParentalControls/mod.rs | 46 +- .../Windows/Win32/System/Performance/impl.rs | 308 +- .../Windows/Win32/System/Performance/mod.rs | 926 ++--- .../System/RealTimeCommunications/impl.rs | 238 +- .../System/RealTimeCommunications/mod.rs | 798 ++--- .../src/Windows/Win32/System/Recovery/mod.rs | 2 +- .../Win32/System/RemoteAssistance/impl.rs | 6 +- .../Win32/System/RemoteAssistance/mod.rs | 18 +- .../Win32/System/RemoteDesktop/impl.rs | 250 +- .../Windows/Win32/System/RemoteDesktop/mod.rs | 748 ++-- .../Win32/System/RemoteManagement/impl.rs | 62 +- .../Win32/System/RemoteManagement/mod.rs | 222 +- .../src/Windows/Win32/System/Rpc/mod.rs | 6 +- .../src/Windows/Win32/System/Search/impl.rs | 60 +- .../src/Windows/Win32/System/Search/mod.rs | 806 ++--- .../Win32/System/SecurityCenter/impl.rs | 10 +- .../Win32/System/SecurityCenter/mod.rs | 54 +- .../Windows/Win32/System/ServerBackup/mod.rs | 12 +- .../SettingsManagementInfrastructure/impl.rs | 52 +- .../SettingsManagementInfrastructure/mod.rs | 188 +- .../src/Windows/Win32/System/SideShow/impl.rs | 6 +- .../src/Windows/Win32/System/SideShow/mod.rs | 54 +- .../Win32/System/SubsystemForLinux/mod.rs | 4 +- .../Win32/System/SystemInformation/mod.rs | 12 +- .../Win32/System/TaskScheduler/impl.rs | 336 +- .../Windows/Win32/System/TaskScheduler/mod.rs | 626 ++-- .../src/Windows/Win32/System/Threading/mod.rs | 44 +- .../Win32/System/TransactionServer/impl.rs | 26 +- .../Win32/System/TransactionServer/mod.rs | 40 +- .../Windows/Win32/System/UpdateAgent/impl.rs | 178 +- .../Windows/Win32/System/UpdateAgent/mod.rs | 886 ++--- .../Win32/System/UpdateAssessment/mod.rs | 4 +- .../src/Windows/Win32/System/Variant/mod.rs | 238 +- .../Win32/System/WinRT/AllJoyn/impl.rs | 4 +- .../Windows/Win32/System/WinRT/AllJoyn/mod.rs | 16 +- .../Win32/System/WinRT/Composition/mod.rs | 38 +- .../Win32/System/WinRT/CoreInputView/mod.rs | 2 +- .../Win32/System/WinRT/Direct3D11/mod.rs | 6 +- .../Win32/System/WinRT/Display/impl.rs | 2 +- .../Windows/Win32/System/WinRT/Display/mod.rs | 14 +- .../System/WinRT/Graphics/Capture/mod.rs | 2 +- .../System/WinRT/Graphics/Direct2D/mod.rs | 18 +- .../System/WinRT/Graphics/Imaging/mod.rs | 4 +- .../Win32/System/WinRT/Holographic/mod.rs | 16 +- .../Win32/System/WinRT/Isolation/mod.rs | 4 +- .../src/Windows/Win32/System/WinRT/ML/mod.rs | 18 +- .../Windows/Win32/System/WinRT/Media/mod.rs | 8 +- .../Win32/System/WinRT/Metadata/impl.rs | 12 +- .../Win32/System/WinRT/Metadata/mod.rs | 64 +- .../src/Windows/Win32/System/WinRT/Pdf/mod.rs | 4 +- .../Win32/System/WinRT/Printing/mod.rs | 24 +- .../Windows/Win32/System/WinRT/Shell/mod.rs | 2 +- .../Windows/Win32/System/WinRT/Storage/mod.rs | 20 +- .../src/Windows/Win32/System/WinRT/impl.rs | 16 +- .../src/Windows/Win32/System/WinRT/mod.rs | 252 +- .../Win32/System/WindowsProgramming/impl.rs | 8 +- .../Win32/System/WindowsProgramming/mod.rs | 60 +- .../Windows/Win32/System/WindowsSync/mod.rs | 344 +- .../src/Windows/Win32/System/Wmi/impl.rs | 292 +- .../src/Windows/Win32/System/Wmi/mod.rs | 774 ++-- .../Windows/Win32/UI/Accessibility/impl.rs | 278 +- .../src/Windows/Win32/UI/Accessibility/mod.rs | 1754 ++++----- .../src/Windows/Win32/UI/Animation/mod.rs | 220 +- .../src/Windows/Win32/UI/ColorSystem/impl.rs | 4 +- .../src/Windows/Win32/UI/ColorSystem/mod.rs | 20 +- .../Windows/Win32/UI/Controls/Dialogs/mod.rs | 12 +- .../Win32/UI/Controls/RichEdit/impl.rs | 76 +- .../Windows/Win32/UI/Controls/RichEdit/mod.rs | 588 ++-- .../src/Windows/Win32/UI/Controls/mod.rs | 66 +- .../windows/src/Windows/Win32/UI/HiDpi/mod.rs | 2 +- .../src/Windows/Win32/UI/Input/Ime/impl.rs | 6 +- .../src/Windows/Win32/UI/Input/Ime/mod.rs | 134 +- .../src/Windows/Win32/UI/Input/Ink/mod.rs | 12 +- .../src/Windows/Win32/UI/Input/Radial/mod.rs | 6 +- .../src/Windows/Win32/UI/Input/Touch/mod.rs | 72 +- .../Win32/UI/InteractionContext/mod.rs | 18 +- .../LegacyWindowsEnvironmentFeatures/mod.rs | 20 +- .../src/Windows/Win32/UI/Notifications/mod.rs | 2 +- .../src/Windows/Win32/UI/Ribbon/impl.rs | 10 +- .../src/Windows/Win32/UI/Ribbon/mod.rs | 52 +- .../src/Windows/Win32/UI/Shell/Common/mod.rs | 6 +- .../Win32/UI/Shell/PropertiesSystem/impl.rs | 40 +- .../Win32/UI/Shell/PropertiesSystem/mod.rs | 246 +- .../src/Windows/Win32/UI/Shell/impl.rs | 322 +- .../windows/src/Windows/Win32/UI/Shell/mod.rs | 2558 +++++++------- .../src/Windows/Win32/UI/TabletPC/impl.rs | 222 +- .../src/Windows/Win32/UI/TabletPC/mod.rs | 1066 +++--- .../src/Windows/Win32/UI/TextServices/impl.rs | 74 +- .../src/Windows/Win32/UI/TextServices/mod.rs | 948 ++--- .../Win32/UI/WindowsAndMessaging/mod.rs | 2 +- .../windows/src/Windows/Win32/UI/Wpf/impl.rs | 2 +- .../windows/src/Windows/Win32/UI/Wpf/mod.rs | 122 +- .../Win32/Web/InternetExplorer/impl.rs | 116 +- .../Windows/Win32/Web/InternetExplorer/mod.rs | 514 +-- crates/tests/no_std/Cargo.toml | 20 + crates/tests/no_std/src/lib.rs | 18 + 688 files changed, 65635 insertions(+), 65574 deletions(-) create mode 100644 crates/tests/no_std/Cargo.toml create mode 100644 crates/tests/no_std/src/lib.rs diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index fc8d84900b..d539d49a55 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -32,6 +32,8 @@ jobs: run: rustup component add clippy - name: Fix environment uses: ./.github/actions/fix-environment + - name: Clippy no_std + run: cargo clippy -p no_std - name: Clippy riddle run: cargo clippy -p riddle - name: Clippy sample_bits diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 39fb7543b2..ee18f28095 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,6 +56,8 @@ jobs: uses: ./.github/actions/fix-environment - name: Clean run: cargo clean + - name: Test no_std + run: cargo test -p no_std --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test riddle run: cargo test -p riddle --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test sample_bits @@ -154,10 +156,10 @@ jobs: run: cargo test -p test_array --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_bcrypt run: cargo test -p test_bcrypt --target ${{ matrix.target }} ${{ matrix.etc }} - - name: Test test_bstr - run: cargo test -p test_bstr --target ${{ matrix.target }} ${{ matrix.etc }} - name: Clean run: cargo clean + - name: Test test_bstr + run: cargo test -p test_bstr --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_calling_convention run: cargo test -p test_calling_convention --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_cfg_generic @@ -256,10 +258,10 @@ jobs: run: cargo test -p test_sys --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_targets run: cargo test -p test_targets --target ${{ matrix.target }} ${{ matrix.etc }} - - name: Test test_unions - run: cargo test -p test_unions --target ${{ matrix.target }} ${{ matrix.etc }} - name: Clean run: cargo clean + - name: Test test_unions + run: cargo test -p test_unions --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_variant run: cargo test -p test_variant --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_wdk diff --git a/crates/libs/core/Cargo.toml b/crates/libs/core/Cargo.toml index 799a923d59..26604538a4 100644 --- a/crates/libs/core/Cargo.toml +++ b/crates/libs/core/Cargo.toml @@ -34,5 +34,5 @@ version = "0.56.0" path = "../bindgen" [features] -# default = ["std"] +default = ["std"] std = [] diff --git a/crates/libs/core/src/event.rs b/crates/libs/core/src/event.rs index 902714c1d0..01a8e14ab7 100644 --- a/crates/libs/core/src/event.rs +++ b/crates/libs/core/src/event.rs @@ -1,8 +1,7 @@ use super::*; use core::marker::PhantomData; -use core::mem::{transmute_copy, size_of}; +use core::mem::{size_of, transmute_copy}; use core::ptr::null_mut; -use core::sync::*; use std::sync::Mutex; /// A type that you can use to declare and implement an event of a specified delegate type. diff --git a/crates/libs/core/src/imp/com_bindings.rs b/crates/libs/core/src/imp/com_bindings.rs index dd55732ca5..4c69f42375 100644 --- a/crates/libs/core/src/imp/com_bindings.rs +++ b/crates/libs/core/src/imp/com_bindings.rs @@ -2,7 +2,7 @@ #[inline] pub unsafe fn CoCreateGuid() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoCreateGuid(pguid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoCreateGuid(&mut result__).map(|| result__) } #[inline] @@ -11,7 +11,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoGetAgileReference(options, riid, punk.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub const AGILEREFERENCE_DEFAULT: AgileReferenceOptions = AgileReferenceOptions(0i32); @@ -48,10 +48,10 @@ pub const E_NOINTERFACE: windows_core::HRESULT = windows_core::HRESULT(0x8000400 pub const E_OUTOFMEMORY: windows_core::HRESULT = windows_core::HRESULT(0x8007000E_u32 as _); pub const E_POINTER: windows_core::HRESULT = windows_core::HRESULT(0x80004003_u32 as _); windows_core::imp::define_interface!(IAgileObject, IAgileObject_Vtbl, 0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); -impl std::ops::Deref for IAgileObject { +impl core::ops::Deref for IAgileObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAgileObject, windows_core::IUnknown); @@ -61,10 +61,10 @@ pub struct IAgileObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IAgileReference, IAgileReference_Vtbl, 0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); -impl std::ops::Deref for IAgileReference { +impl core::ops::Deref for IAgileReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAgileReference, windows_core::IUnknown); @@ -73,7 +73,7 @@ impl IAgileReference { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Resolve)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -83,10 +83,10 @@ pub struct IAgileReference_Vtbl { pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyValue, IPropertyValue_Vtbl, 0x4bd682dd_7554_40e9_9a9b_82654ede7e62); -impl std::ops::Deref for IPropertyValue { +impl core::ops::Deref for IPropertyValue { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyValue, windows_core::IUnknown, windows_core::IInspectable); @@ -94,140 +94,140 @@ impl IPropertyValue { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsNumericScalar(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNumericScalar)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt8(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSingle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSingle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDouble(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDouble)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetChar16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChar16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetGuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDateTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetTimeSpan(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTimeSpan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -327,7 +327,7 @@ pub struct IPropertyValue_Vtbl { pub GetDouble: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub GetChar16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DateTime) -> windows_core::HRESULT, pub GetTimeSpan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimeSpan) -> windows_core::HRESULT, @@ -345,7 +345,7 @@ pub struct IPropertyValue_Vtbl { pub GetDoubleArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut f64) -> windows_core::HRESULT, pub GetChar16Array: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u16) -> windows_core::HRESULT, pub GetBooleanArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut bool) -> windows_core::HRESULT, - pub GetStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetInspectableArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetGuidArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, pub GetDateTimeArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut DateTime) -> windows_core::HRESULT, @@ -373,7 +373,7 @@ pub struct IPropertyValueStatics_Vtbl { pub CreateDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateChar16: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInspectable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateGuid: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -392,7 +392,7 @@ pub struct IPropertyValueStatics_Vtbl { pub CreateDoubleArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateChar16Array: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateBooleanArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInspectableArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateGuidArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDateTimeArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -406,10 +406,10 @@ pub struct IPropertyValueStatics_Vtbl { pub struct IReference(windows_core::IUnknown, core::marker::PhantomData) where T: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IReference { +impl core::ops::Deref for IReference { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IReference {} @@ -421,147 +421,147 @@ impl IReference { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsNumericScalar(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNumericScalar)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt8(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt16(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt16(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt32(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt32(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt64(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt64(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSingle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSingle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDouble(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDouble)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetChar16(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChar16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetGuid(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDateTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetTimeSpan(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTimeSpan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -659,10 +659,10 @@ where pub T: core::marker::PhantomData, } windows_core::imp::define_interface!(IStringable, IStringable_Vtbl, 0x96369f54_8eb6_48f0_abce_c1b211e627c3); -impl std::ops::Deref for IStringable { +impl core::ops::Deref for IStringable { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStringable, windows_core::IUnknown, windows_core::IInspectable); @@ -670,7 +670,7 @@ impl IStringable { pub fn ToString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -681,13 +681,13 @@ impl windows_core::RuntimeType for IStringable { #[repr(C)] pub struct IStringable_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWeakReference, IWeakReference_Vtbl, 0x00000037_0000_0000_c000_000000000046); -impl std::ops::Deref for IWeakReference { +impl core::ops::Deref for IWeakReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWeakReference, windows_core::IUnknown); @@ -696,7 +696,7 @@ impl IWeakReference { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Resolve)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -706,16 +706,16 @@ pub struct IWeakReference_Vtbl { pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWeakReferenceSource, IWeakReferenceSource_Vtbl, 0x00000038_0000_0000_c000_000000000046); -impl std::ops::Deref for IWeakReferenceSource { +impl core::ops::Deref for IWeakReferenceSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWeakReferenceSource, windows_core::IUnknown); impl IWeakReferenceSource { pub unsafe fn GetWeakReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWeakReference)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -803,79 +803,79 @@ pub struct PropertyValue; impl PropertyValue { pub fn CreateEmpty() -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEmpty)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt8(value: u8) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt8)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt16(value: i16) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt16)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt16(value: u16) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt16)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt32(value: i32) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt32)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt32(value: u32) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt32)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt64(value: i64) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt64)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt64(value: u64) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt64)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSingle(value: f32) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSingle)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDouble(value: f64) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateChar16(value: u16) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateChar16)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateBoolean(value: bool) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBoolean)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateString(value: &windows_core::HSTRING) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -884,157 +884,157 @@ impl PropertyValue { P0: windows_core::Param, { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInspectable)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateGuid(value: windows_core::GUID) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateGuid)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDateTime(value: DateTime) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTime)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateTimeSpan(value: TimeSpan) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTimeSpan)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreatePoint(value: Point) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePoint)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSize(value: Size) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSize)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateRect(value: Rect) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRect)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt8Array(value: &[u8]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt8Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt16Array(value: &[i16]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt16Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt16Array(value: &[u16]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt16Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt32Array(value: &[i32]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt32Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt32Array(value: &[u32]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt32Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt64Array(value: &[i64]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt64Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt64Array(value: &[u64]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt64Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSingleArray(value: &[f32]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSingleArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDoubleArray(value: &[f64]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDoubleArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateChar16Array(value: &[u16]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateChar16Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateBooleanArray(value: &[bool]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBooleanArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateStringArray(value: &[windows_core::HSTRING]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStringArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), core::mem::transmute(value.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInspectableArray(value: &[Option]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInspectableArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), core::mem::transmute(value.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateGuidArray(value: &[windows_core::GUID]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateGuidArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDateTimeArray(value: &[DateTime]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateTimeSpanArray(value: &[TimeSpan]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTimeSpanArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreatePointArray(value: &[Point]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePointArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSizeArray(value: &[Size]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSizeArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateRectArray(value: &[Rect]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRectArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/core/src/lib.rs b/crates/libs/core/src/lib.rs index f46366c714..b7fc9cfd13 100644 --- a/crates/libs/core/src/lib.rs +++ b/crates/libs/core/src/lib.rs @@ -5,13 +5,13 @@ Learn more about Rust for Windows here: ); +pub struct ComPtr(core::ptr::NonNull); impl ComPtr { - pub fn as_raw(&self) -> *mut std::ffi::c_void { - unsafe { std::mem::transmute_copy(self) } + pub fn as_raw(&self) -> *mut core::ffi::c_void { + unsafe { core::mem::transmute_copy(self) } } pub fn cast(&self, iid: &GUID) -> Option { diff --git a/crates/libs/result/src/error.rs b/crates/libs/result/src/error.rs index 59c25beea1..ed28d975d2 100644 --- a/crates/libs/result/src/error.rs +++ b/crates/libs/result/src/error.rs @@ -1,4 +1,5 @@ use super::*; +use core::ffi::c_void; /// An error object consists of both an error code as well as detailed error information for debugging. #[derive(Clone, PartialEq, Eq)] @@ -94,13 +95,14 @@ impl Error { } /// The error object describing the error. - pub fn as_ptr(&self) -> *mut std::ffi::c_void { + pub fn as_ptr(&self) -> *mut c_void { self.info .as_ref() - .map_or(std::ptr::null_mut(), |info| info.as_raw()) + .map_or(core::ptr::null_mut(), |info| info.as_raw()) } } +#[cfg(feature = "std")] impl std::error::Error for Error {} unsafe impl Send for Error {} unsafe impl Sync for Error {} @@ -124,12 +126,14 @@ impl From for Error { } } +#[cfg(feature = "std")] impl From for std::io::Error { fn from(from: Error) -> Self { Self::from_raw_os_error(from.code.0) } } +#[cfg(feature = "std")] impl From for Error { fn from(from: std::io::Error) -> Self { match from.raw_os_error() { @@ -139,8 +143,8 @@ impl From for Error { } } -impl From for Error { - fn from(_: std::string::FromUtf16Error) -> Self { +impl From for Error { + fn from(_: alloc::string::FromUtf16Error) -> Self { Self { code: HRESULT::from_win32(ERROR_NO_UNICODE_TRANSLATION), info: None, @@ -148,8 +152,8 @@ impl From for Error { } } -impl From for Error { - fn from(_: std::string::FromUtf8Error) -> Self { +impl From for Error { + fn from(_: alloc::string::FromUtf8Error) -> Self { Self { code: HRESULT::from_win32(ERROR_NO_UNICODE_TRANSLATION), info: None, @@ -157,8 +161,8 @@ impl From for Error { } } -impl From for Error { - fn from(_: std::num::TryFromIntError) -> Self { +impl From for Error { + fn from(_: core::num::TryFromIntError) -> Self { Self { code: HRESULT::from_win32(ERROR_INVALID_DATA), info: None, @@ -166,8 +170,8 @@ impl From for Error { } } -impl std::fmt::Debug for Error { - fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Debug for Error { + fn fmt(&self, fmt: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { let mut debug = fmt.debug_struct("Error"); debug .field("code", &self.code) @@ -176,13 +180,13 @@ impl std::fmt::Debug for Error { } } -impl std::fmt::Display for Error { - fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for Error { + fn fmt(&self, fmt: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { let message = self.message(); if message.is_empty() { - std::write!(fmt, "{}", self.code()) + core::write!(fmt, "{}", self.code()) } else { - std::write!(fmt, "{} ({})", self.message(), self.code()) + core::write!(fmt, "{} ({})", self.message(), self.code()) } } } diff --git a/crates/libs/result/src/hresult.rs b/crates/libs/result/src/hresult.rs index 273c698f27..fe69ee29f3 100644 --- a/crates/libs/result/src/hresult.rs +++ b/crates/libs/result/src/hresult.rs @@ -88,11 +88,11 @@ impl HRESULT { 0, &mut message.0 as *mut _ as *mut _, 0, - std::ptr::null(), + core::ptr::null(), ); if !message.0.is_null() && size > 0 { - String::from_utf16_lossy(wide_trim_end(std::slice::from_raw_parts( + String::from_utf16_lossy(wide_trim_end(core::slice::from_raw_parts( message.0, size as usize, ))) @@ -130,14 +130,14 @@ impl From> for HRESULT { } } -impl std::fmt::Display for HRESULT { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Display for HRESULT { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.write_fmt(format_args!("{:#010X}", self.0)) } } -impl std::fmt::Debug for HRESULT { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Debug for HRESULT { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.write_fmt(format_args!("HRESULT({})", self)) } } diff --git a/crates/libs/result/src/lib.rs b/crates/libs/result/src/lib.rs index bbc6054d57..8f98750622 100644 --- a/crates/libs/result/src/lib.rs +++ b/crates/libs/result/src/lib.rs @@ -7,6 +7,12 @@ Learn more about Rust for Windows here: = std::result::Result; +pub type Result = core::result::Result; diff --git a/crates/libs/result/src/strings.rs b/crates/libs/result/src/strings.rs index 44b8f7e68d..ee861dc35c 100644 --- a/crates/libs/result/src/strings.rs +++ b/crates/libs/result/src/strings.rs @@ -4,7 +4,7 @@ pub struct HeapString(pub *mut u16); impl Default for HeapString { fn default() -> Self { - Self(std::ptr::null_mut()) + Self(core::ptr::null_mut()) } } @@ -35,7 +35,12 @@ impl BasicString { } pub fn as_wide(&self) -> &[u16] { - unsafe { std::slice::from_raw_parts(self.as_ptr(), self.len()) } + let len = self.len(); + if len != 0 { + unsafe { core::slice::from_raw_parts(self.as_ptr(), len) } + } else { + &[] + } } pub fn as_ptr(&self) -> *const u16 { @@ -50,7 +55,7 @@ impl BasicString { impl Default for BasicString { fn default() -> Self { - Self(std::ptr::null_mut()) + Self(core::ptr::null_mut()) } } diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index e594cba4e7..a494ac685e 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -26,10 +26,11 @@ windows-core = { path = "../core", version = "0.56.0" } windows-targets = { path = "../targets", version = "0.52.5" } [features] -default = [] +default = ["std"] docs = [] deprecated = [] implement = [] +std = ["windows-core/std"] # generated features AI = ["Foundation"] AI_MachineLearning = ["AI"] diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs index 5ef4fa0a09..e07170cf89 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs @@ -9,7 +9,7 @@ impl windows_core::RuntimeName for ILearningModelFeatureDescriptor { } impl ILearningModelFeatureDescriptor_Vtbl { pub const fn new, Impl: ILearningModelFeatureDescriptor_Impl, const OFFSET: isize>() -> ILearningModelFeatureDescriptor_Vtbl { - unsafe extern "system" fn Name, Impl: ILearningModelFeatureDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ILearningModelFeatureDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILearningModelFeatureDescriptor_Impl::Name(this) { @@ -21,7 +21,7 @@ impl ILearningModelFeatureDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: ILearningModelFeatureDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: ILearningModelFeatureDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILearningModelFeatureDescriptor_Impl::Description(this) { diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index b335967246..acd456349f 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -56,10 +56,10 @@ impl windows_core::RuntimeType for ILearningModel { #[repr(C)] pub struct ILearningModel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Metadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -81,9 +81,9 @@ impl windows_core::RuntimeType for ILearningModelBinding { #[repr(C)] pub struct ILearningModelBinding_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Bind: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Bind: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub BindWithProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BindWithProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] BindWithProperties: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -141,7 +141,7 @@ impl windows_core::RuntimeType for ILearningModelEvaluationResult { #[repr(C)] pub struct ILearningModelEvaluationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ErrorStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Succeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -153,7 +153,7 @@ windows_core::imp::define_interface!(ILearningModelFeatureDescriptor, ILearningM impl std::ops::Deref for ILearningModelFeatureDescriptor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILearningModelFeatureDescriptor, windows_core::IUnknown, windows_core::IInspectable); @@ -161,28 +161,28 @@ impl ILearningModelFeatureDescriptor { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRequired(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -193,8 +193,8 @@ impl windows_core::RuntimeType for ILearningModelFeatureDescriptor { #[repr(C)] pub struct ILearningModelFeatureDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LearningModelFeatureKind) -> windows_core::HRESULT, pub IsRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -202,7 +202,7 @@ windows_core::imp::define_interface!(ILearningModelFeatureValue, ILearningModelF impl std::ops::Deref for ILearningModelFeatureValue { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILearningModelFeatureValue, windows_core::IUnknown, windows_core::IInspectable); @@ -210,7 +210,7 @@ impl ILearningModelFeatureValue { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -227,7 +227,7 @@ windows_core::imp::define_interface!(ILearningModelOperatorProvider, ILearningMo impl std::ops::Deref for ILearningModelOperatorProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILearningModelOperatorProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -252,14 +252,14 @@ pub struct ILearningModelSession_Vtbl { pub EvaluationProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] EvaluationProperties: usize, - pub EvaluateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EvaluateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub EvaluateFeaturesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EvaluateFeaturesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] EvaluateFeaturesAsync: usize, - pub Evaluate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Evaluate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub EvaluateFeatures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EvaluateFeatures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] EvaluateFeatures: usize, } @@ -309,7 +309,7 @@ impl windows_core::RuntimeType for ILearningModelSessionOptions3 { #[repr(C)] pub struct ILearningModelSessionOptions3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OverrideNamedDimension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub OverrideNamedDimension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILearningModelStatics, ILearningModelStatics_Vtbl, 0xe3b977e8_6952_4e47_8ef4_1f7f07897c6d); impl windows_core::RuntimeType for ILearningModelStatics { @@ -326,7 +326,7 @@ pub struct ILearningModelStatics_Vtbl { pub LoadFromStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] LoadFromStreamAsync: usize, - pub LoadFromFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LoadFromFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub LoadFromStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -339,7 +339,7 @@ pub struct ILearningModelStatics_Vtbl { pub LoadFromStreamWithOperatorProviderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] LoadFromStreamWithOperatorProviderAsync: usize, - pub LoadFromFilePathWithOperatorProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LoadFromFilePathWithOperatorProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub LoadFromStreamWithOperatorProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -368,7 +368,7 @@ windows_core::imp::define_interface!(ITensor, ITensor_Vtbl, 0x05489593_a305_4a25 impl std::ops::Deref for ITensor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITensor, windows_core::IUnknown, windows_core::IInspectable); @@ -377,7 +377,7 @@ impl ITensor { pub fn TensorKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -385,14 +385,14 @@ impl ITensor { pub fn Shape(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -815,7 +815,7 @@ pub struct ITensorStringStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Create2: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateFromArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateFromArray: usize, #[cfg(feature = "Foundation_Collections")] @@ -830,7 +830,7 @@ impl windows_core::RuntimeType for ITensorStringStatics2 { #[repr(C)] pub struct ITensorStringStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromShapeArrayAndDataArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const i64, u32, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromShapeArrayAndDataArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const i64, u32, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITensorUInt16Bit, ITensorUInt16Bit_Vtbl, 0x68140f4b_23c0_42f3_81f6_a891c011bc3f); impl windows_core::RuntimeType for ITensorUInt16Bit { @@ -1026,7 +1026,7 @@ impl ImageFeatureDescriptor { pub fn BitmapPixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapPixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1034,56 +1034,56 @@ impl ImageFeatureDescriptor { pub fn BitmapAlphaMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapAlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelRange(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelRange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRequired(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1110,7 +1110,7 @@ impl ImageFeatureValue { pub fn VideoFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1120,14 +1120,14 @@ impl ImageFeatureValue { P0: windows_core::Param, { Self::IImageFeatureValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromVideoFrame)(windows_core::Interface::as_raw(this), image.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1162,35 +1162,35 @@ impl LearningModel { pub fn Author(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Author)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Domain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Domain)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1198,7 +1198,7 @@ impl LearningModel { pub fn Metadata(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Metadata)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1206,7 +1206,7 @@ impl LearningModel { pub fn InputFeatures(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputFeatures)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1214,7 +1214,7 @@ impl LearningModel { pub fn OutputFeatures(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputFeatures)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1224,7 +1224,7 @@ impl LearningModel { P0: windows_core::Param, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromStorageFileAsync)(windows_core::Interface::as_raw(this), modelfile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1234,13 +1234,13 @@ impl LearningModel { P0: windows_core::Param, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromStreamAsync)(windows_core::Interface::as_raw(this), modelstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LoadFromFilePath(filepath: &windows_core::HSTRING) -> windows_core::Result { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromFilePath)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1250,7 +1250,7 @@ impl LearningModel { P0: windows_core::Param, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromStream)(windows_core::Interface::as_raw(this), modelstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1261,7 +1261,7 @@ impl LearningModel { P1: windows_core::Param, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromStorageFileWithOperatorProviderAsync)(windows_core::Interface::as_raw(this), modelfile.param().abi(), operatorprovider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1272,7 +1272,7 @@ impl LearningModel { P1: windows_core::Param, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromStreamWithOperatorProviderAsync)(windows_core::Interface::as_raw(this), modelstream.param().abi(), operatorprovider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1281,7 +1281,7 @@ impl LearningModel { P0: windows_core::Param, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromFilePathWithOperatorProvider)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), operatorprovider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1292,7 +1292,7 @@ impl LearningModel { P1: windows_core::Param, { Self::ILearningModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromStreamWithOperatorProvider)(windows_core::Interface::as_raw(this), modelstream.param().abi(), operatorprovider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1325,7 +1325,7 @@ impl LearningModelBinding { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1354,7 +1354,7 @@ impl LearningModelBinding { P0: windows_core::Param, { Self::ILearningModelBindingFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromSession)(windows_core::Interface::as_raw(this), session.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1362,7 +1362,7 @@ impl LearningModelBinding { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1370,7 +1370,7 @@ impl LearningModelBinding { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1378,7 +1378,7 @@ impl LearningModelBinding { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -1430,7 +1430,7 @@ impl LearningModelDevice { pub fn AdapterId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdapterId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1438,13 +1438,13 @@ impl LearningModelDevice { pub fn Direct3D11Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direct3D11Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(devicekind: LearningModelDeviceKind) -> windows_core::Result { Self::ILearningModelDeviceFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), devicekind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1454,7 +1454,7 @@ impl LearningModelDevice { P0: windows_core::Param, { Self::ILearningModelDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDirect3D11Device)(windows_core::Interface::as_raw(this), device.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1489,21 +1489,21 @@ impl LearningModelEvaluationResult { pub fn CorrelationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CorrelationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ErrorStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1511,7 +1511,7 @@ impl LearningModelEvaluationResult { pub fn Outputs(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Outputs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1541,14 +1541,14 @@ impl LearningModelSession { pub fn Model(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Model)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1556,7 +1556,7 @@ impl LearningModelSession { pub fn EvaluationProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EvaluationProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1566,7 +1566,7 @@ impl LearningModelSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EvaluateAsync)(windows_core::Interface::as_raw(this), bindings.param().abi(), core::mem::transmute_copy(correlationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1577,7 +1577,7 @@ impl LearningModelSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EvaluateFeaturesAsync)(windows_core::Interface::as_raw(this), features.param().abi(), core::mem::transmute_copy(correlationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1587,7 +1587,7 @@ impl LearningModelSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Evaluate)(windows_core::Interface::as_raw(this), bindings.param().abi(), core::mem::transmute_copy(correlationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1598,7 +1598,7 @@ impl LearningModelSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EvaluateFeatures)(windows_core::Interface::as_raw(this), features.param().abi(), core::mem::transmute_copy(correlationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1607,7 +1607,7 @@ impl LearningModelSession { P0: windows_core::Param, { Self::ILearningModelSessionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromModel)(windows_core::Interface::as_raw(this), model.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1617,7 +1617,7 @@ impl LearningModelSession { P1: windows_core::Param, { Self::ILearningModelSessionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromModelOnDevice)(windows_core::Interface::as_raw(this), model.param().abi(), devicetorunon.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1628,7 +1628,7 @@ impl LearningModelSession { P2: windows_core::Param, { Self::ILearningModelSessionFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromModelOnDeviceWithSessionOptions)(windows_core::Interface::as_raw(this), model.param().abi(), devicetorunon.param().abi(), learningmodelsessionoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1670,7 +1670,7 @@ impl LearningModelSessionOptions { pub fn BatchSizeOverride(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BatchSizeOverride)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1681,7 +1681,7 @@ impl LearningModelSessionOptions { pub fn CloseModelOnSessionCreation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloseModelOnSessionCreation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1715,42 +1715,42 @@ impl MapFeatureDescriptor { pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRequired(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn KeyKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ValueDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1776,35 +1776,35 @@ impl SequenceFeatureDescriptor { pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRequired(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ElementDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1834,21 +1834,21 @@ impl TensorBoolean { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1856,7 +1856,7 @@ impl TensorBoolean { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1864,13 +1864,13 @@ impl TensorBoolean { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorBooleanStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1880,7 +1880,7 @@ impl TensorBoolean { P0: windows_core::Param>, { Self::ITensorBooleanStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1890,7 +1890,7 @@ impl TensorBoolean { P0: windows_core::Param>, { Self::ITensorBooleanStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1901,13 +1901,13 @@ impl TensorBoolean { P1: windows_core::Param>, { Self::ITensorBooleanStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[bool]) -> windows_core::Result { Self::ITensorBooleanStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1917,7 +1917,7 @@ impl TensorBoolean { P0: windows_core::Param, { Self::ITensorBooleanStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1957,21 +1957,21 @@ impl TensorDouble { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1979,7 +1979,7 @@ impl TensorDouble { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1987,13 +1987,13 @@ impl TensorDouble { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorDoubleStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2003,7 +2003,7 @@ impl TensorDouble { P0: windows_core::Param>, { Self::ITensorDoubleStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2013,7 +2013,7 @@ impl TensorDouble { P0: windows_core::Param>, { Self::ITensorDoubleStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2024,13 +2024,13 @@ impl TensorDouble { P1: windows_core::Param>, { Self::ITensorDoubleStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[f64]) -> windows_core::Result { Self::ITensorDoubleStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2040,7 +2040,7 @@ impl TensorDouble { P0: windows_core::Param, { Self::ITensorDoubleStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2076,35 +2076,35 @@ impl TensorFeatureDescriptor { pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRequired(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TensorKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2112,7 +2112,7 @@ impl TensorFeatureDescriptor { pub fn Shape(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2142,21 +2142,21 @@ impl TensorFloat { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2164,7 +2164,7 @@ impl TensorFloat { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2172,13 +2172,13 @@ impl TensorFloat { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorFloatStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2188,7 +2188,7 @@ impl TensorFloat { P0: windows_core::Param>, { Self::ITensorFloatStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2198,7 +2198,7 @@ impl TensorFloat { P0: windows_core::Param>, { Self::ITensorFloatStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2209,13 +2209,13 @@ impl TensorFloat { P1: windows_core::Param>, { Self::ITensorFloatStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[f32]) -> windows_core::Result { Self::ITensorFloatStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2225,7 +2225,7 @@ impl TensorFloat { P0: windows_core::Param, { Self::ITensorFloatStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2265,21 +2265,21 @@ impl TensorFloat16Bit { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2287,7 +2287,7 @@ impl TensorFloat16Bit { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2295,13 +2295,13 @@ impl TensorFloat16Bit { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorFloat16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2311,7 +2311,7 @@ impl TensorFloat16Bit { P0: windows_core::Param>, { Self::ITensorFloat16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2321,7 +2321,7 @@ impl TensorFloat16Bit { P0: windows_core::Param>, { Self::ITensorFloat16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2332,13 +2332,13 @@ impl TensorFloat16Bit { P1: windows_core::Param>, { Self::ITensorFloat16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[f32]) -> windows_core::Result { Self::ITensorFloat16BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2348,7 +2348,7 @@ impl TensorFloat16Bit { P0: windows_core::Param, { Self::ITensorFloat16BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2388,21 +2388,21 @@ impl TensorInt16Bit { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2410,7 +2410,7 @@ impl TensorInt16Bit { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2418,13 +2418,13 @@ impl TensorInt16Bit { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorInt16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2434,7 +2434,7 @@ impl TensorInt16Bit { P0: windows_core::Param>, { Self::ITensorInt16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2444,7 +2444,7 @@ impl TensorInt16Bit { P0: windows_core::Param>, { Self::ITensorInt16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2455,13 +2455,13 @@ impl TensorInt16Bit { P1: windows_core::Param>, { Self::ITensorInt16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[i16]) -> windows_core::Result { Self::ITensorInt16BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2471,7 +2471,7 @@ impl TensorInt16Bit { P0: windows_core::Param, { Self::ITensorInt16BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2511,21 +2511,21 @@ impl TensorInt32Bit { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2533,7 +2533,7 @@ impl TensorInt32Bit { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2541,13 +2541,13 @@ impl TensorInt32Bit { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorInt32BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2557,7 +2557,7 @@ impl TensorInt32Bit { P0: windows_core::Param>, { Self::ITensorInt32BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2567,7 +2567,7 @@ impl TensorInt32Bit { P0: windows_core::Param>, { Self::ITensorInt32BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2578,13 +2578,13 @@ impl TensorInt32Bit { P1: windows_core::Param>, { Self::ITensorInt32BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[i32]) -> windows_core::Result { Self::ITensorInt32BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2594,7 +2594,7 @@ impl TensorInt32Bit { P0: windows_core::Param, { Self::ITensorInt32BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2634,21 +2634,21 @@ impl TensorInt64Bit { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2656,7 +2656,7 @@ impl TensorInt64Bit { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2664,13 +2664,13 @@ impl TensorInt64Bit { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorInt64BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2680,7 +2680,7 @@ impl TensorInt64Bit { P0: windows_core::Param>, { Self::ITensorInt64BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2690,7 +2690,7 @@ impl TensorInt64Bit { P0: windows_core::Param>, { Self::ITensorInt64BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2701,13 +2701,13 @@ impl TensorInt64Bit { P1: windows_core::Param>, { Self::ITensorInt64BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[i64]) -> windows_core::Result { Self::ITensorInt64BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2717,7 +2717,7 @@ impl TensorInt64Bit { P0: windows_core::Param, { Self::ITensorInt64BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2757,21 +2757,21 @@ impl TensorInt8Bit { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2779,7 +2779,7 @@ impl TensorInt8Bit { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2787,13 +2787,13 @@ impl TensorInt8Bit { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorInt8BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2803,7 +2803,7 @@ impl TensorInt8Bit { P0: windows_core::Param>, { Self::ITensorInt8BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2813,7 +2813,7 @@ impl TensorInt8Bit { P0: windows_core::Param>, { Self::ITensorInt8BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2824,13 +2824,13 @@ impl TensorInt8Bit { P1: windows_core::Param>, { Self::ITensorInt8BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u8]) -> windows_core::Result { Self::ITensorInt8BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2840,7 +2840,7 @@ impl TensorInt8Bit { P0: windows_core::Param, { Self::ITensorInt8BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2880,21 +2880,21 @@ impl TensorString { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2902,7 +2902,7 @@ impl TensorString { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2910,13 +2910,13 @@ impl TensorString { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorStringStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2926,7 +2926,7 @@ impl TensorString { P0: windows_core::Param>, { Self::ITensorStringStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2936,7 +2936,7 @@ impl TensorString { P0: windows_core::Param>, { Self::ITensorStringStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), core::mem::transmute(data.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2947,13 +2947,13 @@ impl TensorString { P1: windows_core::Param>, { Self::ITensorStringStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[windows_core::HSTRING]) -> windows_core::Result { Self::ITensorStringStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), core::mem::transmute(data.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2993,21 +2993,21 @@ impl TensorUInt16Bit { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3015,7 +3015,7 @@ impl TensorUInt16Bit { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3023,13 +3023,13 @@ impl TensorUInt16Bit { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorUInt16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3039,7 +3039,7 @@ impl TensorUInt16Bit { P0: windows_core::Param>, { Self::ITensorUInt16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3049,7 +3049,7 @@ impl TensorUInt16Bit { P0: windows_core::Param>, { Self::ITensorUInt16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3060,13 +3060,13 @@ impl TensorUInt16Bit { P1: windows_core::Param>, { Self::ITensorUInt16BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u16]) -> windows_core::Result { Self::ITensorUInt16BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3076,7 +3076,7 @@ impl TensorUInt16Bit { P0: windows_core::Param, { Self::ITensorUInt16BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3116,21 +3116,21 @@ impl TensorUInt32Bit { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3138,7 +3138,7 @@ impl TensorUInt32Bit { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3146,13 +3146,13 @@ impl TensorUInt32Bit { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorUInt32BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3162,7 +3162,7 @@ impl TensorUInt32Bit { P0: windows_core::Param>, { Self::ITensorUInt32BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3172,7 +3172,7 @@ impl TensorUInt32Bit { P0: windows_core::Param>, { Self::ITensorUInt32BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3183,13 +3183,13 @@ impl TensorUInt32Bit { P1: windows_core::Param>, { Self::ITensorUInt32BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u32]) -> windows_core::Result { Self::ITensorUInt32BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3199,7 +3199,7 @@ impl TensorUInt32Bit { P0: windows_core::Param, { Self::ITensorUInt32BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3239,21 +3239,21 @@ impl TensorUInt64Bit { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3261,7 +3261,7 @@ impl TensorUInt64Bit { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3269,13 +3269,13 @@ impl TensorUInt64Bit { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorUInt64BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3285,7 +3285,7 @@ impl TensorUInt64Bit { P0: windows_core::Param>, { Self::ITensorUInt64BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3295,7 +3295,7 @@ impl TensorUInt64Bit { P0: windows_core::Param>, { Self::ITensorUInt64BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3306,13 +3306,13 @@ impl TensorUInt64Bit { P1: windows_core::Param>, { Self::ITensorUInt64BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u64]) -> windows_core::Result { Self::ITensorUInt64BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3322,7 +3322,7 @@ impl TensorUInt64Bit { P0: windows_core::Param, { Self::ITensorUInt64BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3362,21 +3362,21 @@ impl TensorUInt8Bit { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TensorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TensorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3384,7 +3384,7 @@ impl TensorUInt8Bit { pub fn Shape(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3392,13 +3392,13 @@ impl TensorUInt8Bit { pub fn GetAsVectorView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsVectorView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create() -> windows_core::Result { Self::ITensorUInt8BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3408,7 +3408,7 @@ impl TensorUInt8Bit { P0: windows_core::Param>, { Self::ITensorUInt8BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create2)(windows_core::Interface::as_raw(this), shape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3418,7 +3418,7 @@ impl TensorUInt8Bit { P0: windows_core::Param>, { Self::ITensorUInt8BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromArray)(windows_core::Interface::as_raw(this), shape.param().abi(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3429,13 +3429,13 @@ impl TensorUInt8Bit { P1: windows_core::Param>, { Self::ITensorUInt8BitStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIterable)(windows_core::Interface::as_raw(this), shape.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromShapeArrayAndDataArray(shape: &[i64], data: &[u8]) -> windows_core::Result { Self::ITensorUInt8BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromShapeArrayAndDataArray)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), data.len().try_into().unwrap(), data.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3445,7 +3445,7 @@ impl TensorUInt8Bit { P0: windows_core::Param, { Self::ITensorUInt8BitStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), shape.len().try_into().unwrap(), shape.as_ptr(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs index 8fcad2020c..36cb5895fb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs @@ -118,7 +118,7 @@ impl windows_core::RuntimeName for IAppointmentsProviderActivatedEventArgs { } impl IAppointmentsProviderActivatedEventArgs_Vtbl { pub const fn new, Impl: IAppointmentsProviderActivatedEventArgs_Impl, const OFFSET: isize>() -> IAppointmentsProviderActivatedEventArgs_Vtbl { - unsafe extern "system" fn Verb, Impl: IAppointmentsProviderActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Verb, Impl: IAppointmentsProviderActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAppointmentsProviderActivatedEventArgs_Impl::Verb(this) { @@ -257,7 +257,7 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LocalId, Impl: IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalId, Impl: IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl::LocalId(this) { @@ -269,7 +269,7 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RoamingId, Impl: IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RoamingId, Impl: IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl::RoamingId(this) { @@ -373,7 +373,7 @@ impl windows_core::RuntimeName for IBarcodeScannerPreviewActivatedEventArgs { } impl IBarcodeScannerPreviewActivatedEventArgs_Vtbl { pub const fn new, Impl: IBarcodeScannerPreviewActivatedEventArgs_Impl, const OFFSET: isize>() -> IBarcodeScannerPreviewActivatedEventArgs_Vtbl { - unsafe extern "system" fn ConnectionId, Impl: IBarcodeScannerPreviewActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectionId, Impl: IBarcodeScannerPreviewActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBarcodeScannerPreviewActivatedEventArgs_Impl::ConnectionId(this) { @@ -506,7 +506,7 @@ impl windows_core::RuntimeName for IContactActivatedEventArgs { } impl IContactActivatedEventArgs_Vtbl { pub const fn new, Impl: IContactActivatedEventArgs_Impl, const OFFSET: isize>() -> IContactActivatedEventArgs_Vtbl { - unsafe extern "system" fn Verb, Impl: IContactActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Verb, Impl: IContactActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactActivatedEventArgs_Impl::Verb(this) { @@ -537,7 +537,7 @@ impl windows_core::RuntimeName for IContactCallActivatedEventArgs { #[cfg(feature = "ApplicationModel_Contacts")] impl IContactCallActivatedEventArgs_Vtbl { pub const fn new, Impl: IContactCallActivatedEventArgs_Impl, const OFFSET: isize>() -> IContactCallActivatedEventArgs_Vtbl { - unsafe extern "system" fn ServiceId, Impl: IContactCallActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceId, Impl: IContactCallActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactCallActivatedEventArgs_Impl::ServiceId(this) { @@ -549,7 +549,7 @@ impl IContactCallActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceUserId, Impl: IContactCallActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceUserId, Impl: IContactCallActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactCallActivatedEventArgs_Impl::ServiceUserId(this) { @@ -643,7 +643,7 @@ impl windows_core::RuntimeName for IContactMessageActivatedEventArgs { #[cfg(feature = "ApplicationModel_Contacts")] impl IContactMessageActivatedEventArgs_Vtbl { pub const fn new, Impl: IContactMessageActivatedEventArgs_Impl, const OFFSET: isize>() -> IContactMessageActivatedEventArgs_Vtbl { - unsafe extern "system" fn ServiceId, Impl: IContactMessageActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceId, Impl: IContactMessageActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactMessageActivatedEventArgs_Impl::ServiceId(this) { @@ -655,7 +655,7 @@ impl IContactMessageActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceUserId, Impl: IContactMessageActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceUserId, Impl: IContactMessageActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactMessageActivatedEventArgs_Impl::ServiceUserId(this) { @@ -781,7 +781,7 @@ impl windows_core::RuntimeName for IContactPostActivatedEventArgs { #[cfg(feature = "ApplicationModel_Contacts")] impl IContactPostActivatedEventArgs_Vtbl { pub const fn new, Impl: IContactPostActivatedEventArgs_Impl, const OFFSET: isize>() -> IContactPostActivatedEventArgs_Vtbl { - unsafe extern "system" fn ServiceId, Impl: IContactPostActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceId, Impl: IContactPostActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactPostActivatedEventArgs_Impl::ServiceId(this) { @@ -793,7 +793,7 @@ impl IContactPostActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceUserId, Impl: IContactPostActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceUserId, Impl: IContactPostActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactPostActivatedEventArgs_Impl::ServiceUserId(this) { @@ -841,7 +841,7 @@ impl windows_core::RuntimeName for IContactVideoCallActivatedEventArgs { #[cfg(feature = "ApplicationModel_Contacts")] impl IContactVideoCallActivatedEventArgs_Vtbl { pub const fn new, Impl: IContactVideoCallActivatedEventArgs_Impl, const OFFSET: isize>() -> IContactVideoCallActivatedEventArgs_Vtbl { - unsafe extern "system" fn ServiceId, Impl: IContactVideoCallActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceId, Impl: IContactVideoCallActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactVideoCallActivatedEventArgs_Impl::ServiceId(this) { @@ -853,7 +853,7 @@ impl IContactVideoCallActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceUserId, Impl: IContactVideoCallActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceUserId, Impl: IContactVideoCallActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactVideoCallActivatedEventArgs_Impl::ServiceUserId(this) { @@ -896,7 +896,7 @@ impl windows_core::RuntimeName for IContactsProviderActivatedEventArgs { } impl IContactsProviderActivatedEventArgs_Vtbl { pub const fn new, Impl: IContactsProviderActivatedEventArgs_Impl, const OFFSET: isize>() -> IContactsProviderActivatedEventArgs_Vtbl { - unsafe extern "system" fn Verb, Impl: IContactsProviderActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Verb, Impl: IContactsProviderActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactsProviderActivatedEventArgs_Impl::Verb(this) { @@ -955,7 +955,7 @@ impl windows_core::RuntimeName for IDeviceActivatedEventArgs { } impl IDeviceActivatedEventArgs_Vtbl { pub const fn new, Impl: IDeviceActivatedEventArgs_Impl, const OFFSET: isize>() -> IDeviceActivatedEventArgs_Vtbl { - unsafe extern "system" fn DeviceInformationId, Impl: IDeviceActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceInformationId, Impl: IDeviceActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDeviceActivatedEventArgs_Impl::DeviceInformationId(this) { @@ -967,7 +967,7 @@ impl IDeviceActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Verb, Impl: IDeviceActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Verb, Impl: IDeviceActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDeviceActivatedEventArgs_Impl::Verb(this) { @@ -1029,7 +1029,7 @@ impl windows_core::RuntimeName for IDialReceiverActivatedEventArgs { } impl IDialReceiverActivatedEventArgs_Vtbl { pub const fn new, Impl: IDialReceiverActivatedEventArgs_Impl, const OFFSET: isize>() -> IDialReceiverActivatedEventArgs_Vtbl { - unsafe extern "system" fn AppName, Impl: IDialReceiverActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppName, Impl: IDialReceiverActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDialReceiverActivatedEventArgs_Impl::AppName(this) { @@ -1071,7 +1071,7 @@ impl IFileActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Verb, Impl: IFileActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Verb, Impl: IFileActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileActivatedEventArgs_Impl::Verb(this) { @@ -1101,7 +1101,7 @@ impl windows_core::RuntimeName for IFileActivatedEventArgsWithCallerPackageFamil } impl IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { pub const fn new, Impl: IFileActivatedEventArgsWithCallerPackageFamilyName_Impl, const OFFSET: isize>() -> IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { - unsafe extern "system" fn CallerPackageFamilyName, Impl: IFileActivatedEventArgsWithCallerPackageFamilyName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallerPackageFamilyName, Impl: IFileActivatedEventArgsWithCallerPackageFamilyName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileActivatedEventArgsWithCallerPackageFamilyName_Impl::CallerPackageFamilyName(this) { @@ -1194,7 +1194,7 @@ impl windows_core::RuntimeName for IFileOpenPickerActivatedEventArgs2 { } impl IFileOpenPickerActivatedEventArgs2_Vtbl { pub const fn new, Impl: IFileOpenPickerActivatedEventArgs2_Impl, const OFFSET: isize>() -> IFileOpenPickerActivatedEventArgs2_Vtbl { - unsafe extern "system" fn CallerPackageFamilyName, Impl: IFileOpenPickerActivatedEventArgs2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallerPackageFamilyName, Impl: IFileOpenPickerActivatedEventArgs2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileOpenPickerActivatedEventArgs2_Impl::CallerPackageFamilyName(this) { @@ -1285,7 +1285,7 @@ impl windows_core::RuntimeName for IFileSavePickerActivatedEventArgs2 { } impl IFileSavePickerActivatedEventArgs2_Vtbl { pub const fn new, Impl: IFileSavePickerActivatedEventArgs2_Impl, const OFFSET: isize>() -> IFileSavePickerActivatedEventArgs2_Vtbl { - unsafe extern "system" fn CallerPackageFamilyName, Impl: IFileSavePickerActivatedEventArgs2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallerPackageFamilyName, Impl: IFileSavePickerActivatedEventArgs2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSavePickerActivatedEventArgs2_Impl::CallerPackageFamilyName(this) { @@ -1297,7 +1297,7 @@ impl IFileSavePickerActivatedEventArgs2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnterpriseId, Impl: IFileSavePickerActivatedEventArgs2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnterpriseId, Impl: IFileSavePickerActivatedEventArgs2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSavePickerActivatedEventArgs2_Impl::EnterpriseId(this) { @@ -1386,7 +1386,7 @@ impl windows_core::RuntimeName for ILaunchActivatedEventArgs { } impl ILaunchActivatedEventArgs_Vtbl { pub const fn new, Impl: ILaunchActivatedEventArgs_Impl, const OFFSET: isize>() -> ILaunchActivatedEventArgs_Vtbl { - unsafe extern "system" fn Arguments, Impl: ILaunchActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Arguments, Impl: ILaunchActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILaunchActivatedEventArgs_Impl::Arguments(this) { @@ -1398,7 +1398,7 @@ impl ILaunchActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TileId, Impl: ILaunchActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TileId, Impl: ILaunchActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILaunchActivatedEventArgs_Impl::TileId(this) { @@ -1537,7 +1537,7 @@ impl windows_core::RuntimeName for IPickerReturnedActivatedEventArgs { } impl IPickerReturnedActivatedEventArgs_Vtbl { pub const fn new, Impl: IPickerReturnedActivatedEventArgs_Impl, const OFFSET: isize>() -> IPickerReturnedActivatedEventArgs_Vtbl { - unsafe extern "system" fn PickerOperationId, Impl: IPickerReturnedActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PickerOperationId, Impl: IPickerReturnedActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPickerReturnedActivatedEventArgs_Impl::PickerOperationId(this) { @@ -1688,7 +1688,7 @@ impl windows_core::RuntimeName for IProtocolActivatedEventArgsWithCallerPackageF #[cfg(feature = "Foundation_Collections")] impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { pub const fn new, Impl: IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Impl, const OFFSET: isize>() -> IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { - unsafe extern "system" fn CallerPackageFamilyName, Impl: IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallerPackageFamilyName, Impl: IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Impl::CallerPackageFamilyName(this) { @@ -1792,7 +1792,7 @@ impl windows_core::RuntimeName for ISearchActivatedEventArgs { } impl ISearchActivatedEventArgs_Vtbl { pub const fn new, Impl: ISearchActivatedEventArgs_Impl, const OFFSET: isize>() -> ISearchActivatedEventArgs_Vtbl { - unsafe extern "system" fn QueryText, Impl: ISearchActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueryText, Impl: ISearchActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISearchActivatedEventArgs_Impl::QueryText(this) { @@ -1804,7 +1804,7 @@ impl ISearchActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Language, Impl: ISearchActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Language, Impl: ISearchActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISearchActivatedEventArgs_Impl::Language(this) { @@ -1898,7 +1898,7 @@ impl windows_core::RuntimeName for IStartupTaskActivatedEventArgs { } impl IStartupTaskActivatedEventArgs_Vtbl { pub const fn new, Impl: IStartupTaskActivatedEventArgs_Impl, const OFFSET: isize>() -> IStartupTaskActivatedEventArgs_Vtbl { - unsafe extern "system" fn TaskId, Impl: IStartupTaskActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskId, Impl: IStartupTaskActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStartupTaskActivatedEventArgs_Impl::TaskId(this) { @@ -1928,7 +1928,7 @@ impl windows_core::RuntimeName for IToastNotificationActivatedEventArgs { #[cfg(feature = "Foundation_Collections")] impl IToastNotificationActivatedEventArgs_Vtbl { pub const fn new, Impl: IToastNotificationActivatedEventArgs_Impl, const OFFSET: isize>() -> IToastNotificationActivatedEventArgs_Vtbl { - unsafe extern "system" fn Argument, Impl: IToastNotificationActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Argument, Impl: IToastNotificationActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IToastNotificationActivatedEventArgs_Impl::Argument(this) { @@ -2065,7 +2065,7 @@ impl windows_core::RuntimeName for IWalletActionActivatedEventArgs { #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))] impl IWalletActionActivatedEventArgs_Vtbl { pub const fn new, Impl: IWalletActionActivatedEventArgs_Impl, const OFFSET: isize>() -> IWalletActionActivatedEventArgs_Vtbl { - unsafe extern "system" fn ItemId, Impl: IWalletActionActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ItemId, Impl: IWalletActionActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWalletActionActivatedEventArgs_Impl::ItemId(this) { @@ -2088,7 +2088,7 @@ impl IWalletActionActivatedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ActionId, Impl: IWalletActionActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ActionId, Impl: IWalletActionActivatedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWalletActionActivatedEventArgs_Impl::ActionId(this) { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs index e5768fd557..2832bc37ee 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IActivatedEventArgs, IActivatedEventArgs_Vt impl std::ops::Deref for IActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -10,21 +10,21 @@ impl IActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -43,7 +43,7 @@ windows_core::imp::define_interface!(IActivatedEventArgsWithUser, IActivatedEven impl std::ops::Deref for IActivatedEventArgsWithUser { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActivatedEventArgsWithUser, windows_core::IUnknown, windows_core::IInspectable); @@ -53,28 +53,28 @@ impl IActivatedEventArgsWithUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -94,7 +94,7 @@ windows_core::imp::define_interface!(IApplicationViewActivatedEventArgs, IApplic impl std::ops::Deref for IApplicationViewActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationViewActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -103,28 +103,28 @@ impl IApplicationViewActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -141,7 +141,7 @@ windows_core::imp::define_interface!(IAppointmentsProviderActivatedEventArgs, IA impl std::ops::Deref for IAppointmentsProviderActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppointmentsProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -150,28 +150,28 @@ impl IAppointmentsProviderActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -182,13 +182,13 @@ impl windows_core::RuntimeType for IAppointmentsProviderActivatedEventArgs { #[repr(C)] pub struct IAppointmentsProviderActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentsProviderAddAppointmentActivatedEventArgs, IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl, 0xa2861367_cee5_4e4d_9ed7_41c34ec18b02); impl std::ops::Deref for IAppointmentsProviderAddAppointmentActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppointmentsProviderAddAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -198,35 +198,35 @@ impl IAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn AddAppointmentOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddAppointmentOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -246,7 +246,7 @@ windows_core::imp::define_interface!(IAppointmentsProviderRemoveAppointmentActiv impl std::ops::Deref for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -256,35 +256,35 @@ impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn RemoveAppointmentOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveAppointmentOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -304,7 +304,7 @@ windows_core::imp::define_interface!(IAppointmentsProviderReplaceAppointmentActi impl std::ops::Deref for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -314,35 +314,35 @@ impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn ReplaceAppointmentOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceAppointmentOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -362,7 +362,7 @@ windows_core::imp::define_interface!(IAppointmentsProviderShowAppointmentDetails impl std::ops::Deref for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -371,49 +371,49 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn InstanceStartDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceStartDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoamingId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -425,14 +425,14 @@ impl windows_core::RuntimeType for IAppointmentsProviderShowAppointmentDetailsAc pub struct IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InstanceStartDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl, 0x9baeaba6_0e0b_49aa_babc_12b1dc774986); impl std::ops::Deref for IAppointmentsProviderShowTimeFrameActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -441,42 +441,42 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn TimeToShow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeToShow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -494,7 +494,7 @@ windows_core::imp::define_interface!(IBackgroundActivatedEventArgs, IBackgroundA impl std::ops::Deref for IBackgroundActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -503,7 +503,7 @@ impl IBackgroundActivatedEventArgs { pub fn TaskInstance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskInstance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -523,7 +523,7 @@ windows_core::imp::define_interface!(IBarcodeScannerPreviewActivatedEventArgs, I impl std::ops::Deref for IBarcodeScannerPreviewActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBarcodeScannerPreviewActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -532,28 +532,28 @@ impl IBarcodeScannerPreviewActivatedEventArgs { pub fn ConnectionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -564,13 +564,13 @@ impl windows_core::RuntimeType for IBarcodeScannerPreviewActivatedEventArgs { #[repr(C)] pub struct IBarcodeScannerPreviewActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ConnectionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICachedFileUpdaterActivatedEventArgs, ICachedFileUpdaterActivatedEventArgs_Vtbl, 0xd06eb1c7_3805_4ecb_b757_6cf15e26fef3); impl std::ops::Deref for ICachedFileUpdaterActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICachedFileUpdaterActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -580,28 +580,28 @@ impl ICachedFileUpdaterActivatedEventArgs { pub fn CachedFileUpdaterUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CachedFileUpdaterUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -621,7 +621,7 @@ windows_core::imp::define_interface!(ICameraSettingsActivatedEventArgs, ICameraS impl std::ops::Deref for ICameraSettingsActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICameraSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -630,35 +630,35 @@ impl ICameraSettingsActivatedEventArgs { pub fn VideoDeviceController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoDeviceExtension(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceExtension)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -676,7 +676,7 @@ windows_core::imp::define_interface!(ICommandLineActivatedEventArgs, ICommandLin impl std::ops::Deref for ICommandLineActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommandLineActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -685,28 +685,28 @@ impl ICommandLineActivatedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -726,8 +726,8 @@ impl windows_core::RuntimeType for ICommandLineActivationOperation { #[repr(C)] pub struct ICommandLineActivationOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentDirectoryPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentDirectoryPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetExitCode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ExitCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -736,7 +736,7 @@ windows_core::imp::define_interface!(IContactActivatedEventArgs, IContactActivat impl std::ops::Deref for IContactActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -745,28 +745,28 @@ impl IContactActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -777,13 +777,13 @@ impl windows_core::RuntimeType for IContactActivatedEventArgs { #[repr(C)] pub struct IContactActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactCallActivatedEventArgs, IContactCallActivatedEventArgs_Vtbl, 0xc2df14c7_30eb_41c6_b3bc_5b1694f9dab3); impl std::ops::Deref for IContactCallActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -792,14 +792,14 @@ impl IContactCallActivatedEventArgs { pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -807,35 +807,35 @@ impl IContactCallActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -846,8 +846,8 @@ impl windows_core::RuntimeType for IContactCallActivatedEventArgs { #[repr(C)] pub struct IContactCallActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceUserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceUserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel_Contacts")] pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_Contacts"))] @@ -857,7 +857,7 @@ windows_core::imp::define_interface!(IContactMapActivatedEventArgs, IContactMapA impl std::ops::Deref for IContactMapActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactMapActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -867,7 +867,7 @@ impl IContactMapActivatedEventArgs { pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -875,35 +875,35 @@ impl IContactMapActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -927,7 +927,7 @@ windows_core::imp::define_interface!(IContactMessageActivatedEventArgs, IContact impl std::ops::Deref for IContactMessageActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactMessageActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -936,14 +936,14 @@ impl IContactMessageActivatedEventArgs { pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -951,35 +951,35 @@ impl IContactMessageActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -990,8 +990,8 @@ impl windows_core::RuntimeType for IContactMessageActivatedEventArgs { #[repr(C)] pub struct IContactMessageActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceUserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceUserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel_Contacts")] pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_Contacts"))] @@ -1001,7 +1001,7 @@ windows_core::imp::define_interface!(IContactPanelActivatedEventArgs, IContactPa impl std::ops::Deref for IContactPanelActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactPanelActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1010,7 +1010,7 @@ impl IContactPanelActivatedEventArgs { pub fn ContactPanel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactPanel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1018,7 +1018,7 @@ impl IContactPanelActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1042,7 +1042,7 @@ windows_core::imp::define_interface!(IContactPickerActivatedEventArgs, IContactP impl std::ops::Deref for IContactPickerActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1052,28 +1052,28 @@ impl IContactPickerActivatedEventArgs { pub fn ContactPickerUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactPickerUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1093,7 +1093,7 @@ windows_core::imp::define_interface!(IContactPostActivatedEventArgs, IContactPos impl std::ops::Deref for IContactPostActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactPostActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1102,14 +1102,14 @@ impl IContactPostActivatedEventArgs { pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1117,35 +1117,35 @@ impl IContactPostActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1156,8 +1156,8 @@ impl windows_core::RuntimeType for IContactPostActivatedEventArgs { #[repr(C)] pub struct IContactPostActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceUserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceUserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel_Contacts")] pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_Contacts"))] @@ -1167,7 +1167,7 @@ windows_core::imp::define_interface!(IContactVideoCallActivatedEventArgs, IConta impl std::ops::Deref for IContactVideoCallActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactVideoCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1176,14 +1176,14 @@ impl IContactVideoCallActivatedEventArgs { pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1191,35 +1191,35 @@ impl IContactVideoCallActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1230,8 +1230,8 @@ impl windows_core::RuntimeType for IContactVideoCallActivatedEventArgs { #[repr(C)] pub struct IContactVideoCallActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceUserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceUserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel_Contacts")] pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_Contacts"))] @@ -1241,7 +1241,7 @@ windows_core::imp::define_interface!(IContactsProviderActivatedEventArgs, IConta impl std::ops::Deref for IContactsProviderActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactsProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1250,28 +1250,28 @@ impl IContactsProviderActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1282,13 +1282,13 @@ impl windows_core::RuntimeType for IContactsProviderActivatedEventArgs { #[repr(C)] pub struct IContactsProviderActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContinuationActivatedEventArgs, IContinuationActivatedEventArgs_Vtbl, 0xe58106b5_155f_4a94_a742_c7e08f4e188c); impl std::ops::Deref for IContinuationActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContinuationActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1298,28 +1298,28 @@ impl IContinuationActivatedEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1339,7 +1339,7 @@ windows_core::imp::define_interface!(IDeviceActivatedEventArgs, IDeviceActivated impl std::ops::Deref for IDeviceActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDeviceActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1348,35 +1348,35 @@ impl IDeviceActivatedEventArgs { pub fn DeviceInformationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1387,14 +1387,14 @@ impl windows_core::RuntimeType for IDeviceActivatedEventArgs { #[repr(C)] pub struct IDeviceActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceInformationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceInformationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDevicePairingActivatedEventArgs, IDevicePairingActivatedEventArgs_Vtbl, 0xeba0d1e4_ecc6_4148_94ed_f4b37ec05b3e); impl std::ops::Deref for IDevicePairingActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDevicePairingActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1404,28 +1404,28 @@ impl IDevicePairingActivatedEventArgs { pub fn DeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1445,7 +1445,7 @@ windows_core::imp::define_interface!(IDialReceiverActivatedEventArgs, IDialRecei impl std::ops::Deref for IDialReceiverActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDialReceiverActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1454,42 +1454,42 @@ impl IDialReceiverActivatedEventArgs { pub fn AppName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Arguments(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TileId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1500,13 +1500,13 @@ impl windows_core::RuntimeType for IDialReceiverActivatedEventArgs { #[repr(C)] pub struct IDialReceiverActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileActivatedEventArgs, IFileActivatedEventArgs_Vtbl, 0xbb2afc33_93b1_42ed_8b26_236dd9c78496); impl std::ops::Deref for IFileActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1516,35 +1516,35 @@ impl IFileActivatedEventArgs { pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1559,13 +1559,13 @@ pub struct IFileActivatedEventArgs_Vtbl { pub Files: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] Files: usize, - pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileActivatedEventArgsWithCallerPackageFamilyName, IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl, 0x2d60f06b_d25f_4d25_8653_e1c5e1108309); impl std::ops::Deref for IFileActivatedEventArgsWithCallerPackageFamilyName { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileActivatedEventArgsWithCallerPackageFamilyName, windows_core::IUnknown, windows_core::IInspectable); @@ -1574,28 +1574,28 @@ impl IFileActivatedEventArgsWithCallerPackageFamilyName { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1606,13 +1606,13 @@ impl windows_core::RuntimeType for IFileActivatedEventArgsWithCallerPackageFamil #[repr(C)] pub struct IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileActivatedEventArgsWithNeighboringFiles, IFileActivatedEventArgsWithNeighboringFiles_Vtbl, 0x433ba1a4_e1e2_48fd_b7fc_b5d6eee65033); impl std::ops::Deref for IFileActivatedEventArgsWithNeighboringFiles { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileActivatedEventArgsWithNeighboringFiles, windows_core::IUnknown, windows_core::IInspectable); @@ -1622,28 +1622,28 @@ impl IFileActivatedEventArgsWithNeighboringFiles { pub fn NeighboringFilesQuery(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringFilesQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1651,14 +1651,14 @@ impl IFileActivatedEventArgsWithNeighboringFiles { pub fn Files(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1678,7 +1678,7 @@ windows_core::imp::define_interface!(IFileOpenPickerActivatedEventArgs, IFileOpe impl std::ops::Deref for IFileOpenPickerActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1688,28 +1688,28 @@ impl IFileOpenPickerActivatedEventArgs { pub fn FileOpenPickerUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileOpenPickerUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1729,7 +1729,7 @@ windows_core::imp::define_interface!(IFileOpenPickerActivatedEventArgs2, IFileOp impl std::ops::Deref for IFileOpenPickerActivatedEventArgs2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs2, windows_core::IUnknown, windows_core::IInspectable); @@ -1737,7 +1737,7 @@ impl IFileOpenPickerActivatedEventArgs2 { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1748,7 +1748,7 @@ impl windows_core::RuntimeType for IFileOpenPickerActivatedEventArgs2 { #[repr(C)] pub struct IFileOpenPickerActivatedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IFileOpenPickerContinuationEventArgs, IFileOpenPickerContinuationEventArgs_Vtbl, 0xf0fa3f3a_d4e8_4ad3_9c34_2308f32fcec9); @@ -1756,7 +1756,7 @@ windows_core::imp::define_interface!(IFileOpenPickerContinuationEventArgs, IFile impl std::ops::Deref for IFileOpenPickerContinuationEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -1769,28 +1769,28 @@ impl IFileOpenPickerContinuationEventArgs { pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1798,7 +1798,7 @@ impl IFileOpenPickerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1820,7 +1820,7 @@ windows_core::imp::define_interface!(IFileSavePickerActivatedEventArgs, IFileSav impl std::ops::Deref for IFileSavePickerActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1830,28 +1830,28 @@ impl IFileSavePickerActivatedEventArgs { pub fn FileSavePickerUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileSavePickerUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1871,7 +1871,7 @@ windows_core::imp::define_interface!(IFileSavePickerActivatedEventArgs2, IFileSa impl std::ops::Deref for IFileSavePickerActivatedEventArgs2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs2, windows_core::IUnknown, windows_core::IInspectable); @@ -1879,14 +1879,14 @@ impl IFileSavePickerActivatedEventArgs2 { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EnterpriseId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterpriseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1897,8 +1897,8 @@ impl windows_core::RuntimeType for IFileSavePickerActivatedEventArgs2 { #[repr(C)] pub struct IFileSavePickerActivatedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IFileSavePickerContinuationEventArgs, IFileSavePickerContinuationEventArgs_Vtbl, 0x2c846fe1_3bad_4f33_8c8b_e46fae824b4b); @@ -1906,7 +1906,7 @@ windows_core::imp::define_interface!(IFileSavePickerContinuationEventArgs, IFile impl std::ops::Deref for IFileSavePickerContinuationEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -1919,28 +1919,28 @@ impl IFileSavePickerContinuationEventArgs { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1948,7 +1948,7 @@ impl IFileSavePickerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1972,7 +1972,7 @@ windows_core::imp::define_interface!(IFolderPickerContinuationEventArgs, IFolder impl std::ops::Deref for IFolderPickerContinuationEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -1985,28 +1985,28 @@ impl IFolderPickerContinuationEventArgs { pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2014,7 +2014,7 @@ impl IFolderPickerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2036,7 +2036,7 @@ windows_core::imp::define_interface!(ILaunchActivatedEventArgs, ILaunchActivated impl std::ops::Deref for ILaunchActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2045,35 +2045,35 @@ impl ILaunchActivatedEventArgs { pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TileId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2084,14 +2084,14 @@ impl windows_core::RuntimeType for ILaunchActivatedEventArgs { #[repr(C)] pub struct ILaunchActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILaunchActivatedEventArgs2, ILaunchActivatedEventArgs2_Vtbl, 0x0fd37ebc_9dc9_46b5_9ace_bd95d4565345); impl std::ops::Deref for ILaunchActivatedEventArgs2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILaunchActivatedEventArgs2, windows_core::IUnknown, windows_core::IInspectable); @@ -2100,42 +2100,42 @@ impl ILaunchActivatedEventArgs2 { pub fn TileActivatedInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileActivatedInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Arguments(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TileId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2152,7 +2152,7 @@ windows_core::imp::define_interface!(ILockScreenActivatedEventArgs, ILockScreenA impl std::ops::Deref for ILockScreenActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILockScreenActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2161,28 +2161,28 @@ impl ILockScreenActivatedEventArgs { pub fn Info(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Info)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2199,7 +2199,7 @@ windows_core::imp::define_interface!(ILockScreenCallActivatedEventArgs, ILockScr impl std::ops::Deref for ILockScreenCallActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILockScreenCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2209,42 +2209,42 @@ impl ILockScreenCallActivatedEventArgs { pub fn CallUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Arguments(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TileId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2264,7 +2264,7 @@ windows_core::imp::define_interface!(IPhoneCallActivatedEventArgs, IPhoneCallAct impl std::ops::Deref for IPhoneCallActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhoneCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2273,28 +2273,28 @@ impl IPhoneCallActivatedEventArgs { pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2311,7 +2311,7 @@ windows_core::imp::define_interface!(IPickerReturnedActivatedEventArgs, IPickerR impl std::ops::Deref for IPickerReturnedActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPickerReturnedActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2320,28 +2320,28 @@ impl IPickerReturnedActivatedEventArgs { pub fn PickerOperationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickerOperationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2352,13 +2352,13 @@ impl windows_core::RuntimeType for IPickerReturnedActivatedEventArgs { #[repr(C)] pub struct IPickerReturnedActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PickerOperationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PickerOperationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrelaunchActivatedEventArgs, IPrelaunchActivatedEventArgs_Vtbl, 0x0c44717b_19f7_48d6_b046_cf22826eaa74); impl std::ops::Deref for IPrelaunchActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrelaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2367,28 +2367,28 @@ impl IPrelaunchActivatedEventArgs { pub fn PrelaunchActivated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrelaunchActivated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2405,7 +2405,7 @@ windows_core::imp::define_interface!(IPrint3DWorkflowActivatedEventArgs, IPrint3 impl std::ops::Deref for IPrint3DWorkflowActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrint3DWorkflowActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2415,28 +2415,28 @@ impl IPrint3DWorkflowActivatedEventArgs { pub fn Workflow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Workflow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2456,7 +2456,7 @@ windows_core::imp::define_interface!(IPrintTaskSettingsActivatedEventArgs, IPrin impl std::ops::Deref for IPrintTaskSettingsActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintTaskSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2466,28 +2466,28 @@ impl IPrintTaskSettingsActivatedEventArgs { pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2507,7 +2507,7 @@ windows_core::imp::define_interface!(IProtocolActivatedEventArgs, IProtocolActiv impl std::ops::Deref for IProtocolActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProtocolActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2516,28 +2516,28 @@ impl IProtocolActivatedEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2554,7 +2554,7 @@ windows_core::imp::define_interface!(IProtocolActivatedEventArgsWithCallerPackag impl std::ops::Deref for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, windows_core::IUnknown, windows_core::IInspectable); @@ -2563,7 +2563,7 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2571,28 +2571,28 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2603,7 +2603,7 @@ impl windows_core::RuntimeType for IProtocolActivatedEventArgsWithCallerPackageF #[repr(C)] pub struct IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -2613,7 +2613,7 @@ windows_core::imp::define_interface!(IProtocolForResultsActivatedEventArgs, IPro impl std::ops::Deref for IProtocolForResultsActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProtocolForResultsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2623,28 +2623,28 @@ impl IProtocolForResultsActivatedEventArgs { pub fn ProtocolForResultsOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolForResultsOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2664,7 +2664,7 @@ windows_core::imp::define_interface!(IRestrictedLaunchActivatedEventArgs, IRestr impl std::ops::Deref for IRestrictedLaunchActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRestrictedLaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2673,28 +2673,28 @@ impl IRestrictedLaunchActivatedEventArgs { pub fn SharedContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharedContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2711,7 +2711,7 @@ windows_core::imp::define_interface!(ISearchActivatedEventArgs, ISearchActivated impl std::ops::Deref for ISearchActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2720,35 +2720,35 @@ impl ISearchActivatedEventArgs { pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2759,14 +2759,14 @@ impl windows_core::RuntimeType for ISearchActivatedEventArgs { #[repr(C)] pub struct ISearchActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchActivatedEventArgsWithLinguisticDetails, ISearchActivatedEventArgsWithLinguisticDetails_Vtbl, 0xc09f33da_08ab_4931_9b7c_451025f21f81); impl std::ops::Deref for ISearchActivatedEventArgsWithLinguisticDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchActivatedEventArgsWithLinguisticDetails, windows_core::IUnknown, windows_core::IInspectable); @@ -2775,7 +2775,7 @@ impl ISearchActivatedEventArgsWithLinguisticDetails { pub fn LinguisticDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinguisticDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2795,7 +2795,7 @@ windows_core::imp::define_interface!(IShareTargetActivatedEventArgs, IShareTarge impl std::ops::Deref for IShareTargetActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShareTargetActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2805,28 +2805,28 @@ impl IShareTargetActivatedEventArgs { pub fn ShareOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2857,7 +2857,7 @@ windows_core::imp::define_interface!(IStartupTaskActivatedEventArgs, IStartupTas impl std::ops::Deref for IStartupTaskActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStartupTaskActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2866,28 +2866,28 @@ impl IStartupTaskActivatedEventArgs { pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2898,7 +2898,7 @@ impl windows_core::RuntimeType for IStartupTaskActivatedEventArgs { #[repr(C)] pub struct IStartupTaskActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITileActivatedInfo, ITileActivatedInfo_Vtbl, 0x80e4a3b1_3980_4f17_b738_89194e0b8f65); impl windows_core::RuntimeType for ITileActivatedInfo { @@ -2916,7 +2916,7 @@ windows_core::imp::define_interface!(IToastNotificationActivatedEventArgs, IToas impl std::ops::Deref for IToastNotificationActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IToastNotificationActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2925,7 +2925,7 @@ impl IToastNotificationActivatedEventArgs { pub fn Argument(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Argument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2933,28 +2933,28 @@ impl IToastNotificationActivatedEventArgs { pub fn UserInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2965,7 +2965,7 @@ impl windows_core::RuntimeType for IToastNotificationActivatedEventArgs { #[repr(C)] pub struct IToastNotificationActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Argument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Argument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub UserInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -2975,7 +2975,7 @@ windows_core::imp::define_interface!(IUserDataAccountProviderActivatedEventArgs, impl std::ops::Deref for IUserDataAccountProviderActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserDataAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -2985,28 +2985,28 @@ impl IUserDataAccountProviderActivatedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3026,7 +3026,7 @@ windows_core::imp::define_interface!(IViewSwitcherProvider, IViewSwitcherProvide impl std::ops::Deref for IViewSwitcherProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewSwitcherProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -3036,28 +3036,28 @@ impl IViewSwitcherProvider { pub fn ViewSwitcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSwitcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3077,7 +3077,7 @@ windows_core::imp::define_interface!(IVoiceCommandActivatedEventArgs, IVoiceComm impl std::ops::Deref for IVoiceCommandActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVoiceCommandActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -3087,28 +3087,28 @@ impl IVoiceCommandActivatedEventArgs { pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3130,7 +3130,7 @@ windows_core::imp::define_interface!(IWalletActionActivatedEventArgs, IWalletAct impl std::ops::Deref for IWalletActionActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -3143,7 +3143,7 @@ impl IWalletActionActivatedEventArgs { pub fn ItemId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3151,7 +3151,7 @@ impl IWalletActionActivatedEventArgs { pub fn ActionKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3159,28 +3159,28 @@ impl IWalletActionActivatedEventArgs { pub fn ActionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3194,7 +3194,7 @@ impl windows_core::RuntimeType for IWalletActionActivatedEventArgs { pub struct IWalletActionActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub ItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ItemId: usize, #[cfg(all(feature = "ApplicationModel_Wallet", feature = "deprecated"))] @@ -3202,7 +3202,7 @@ pub struct IWalletActionActivatedEventArgs_Vtbl { #[cfg(not(all(feature = "ApplicationModel_Wallet", feature = "deprecated")))] ActionKind: usize, #[cfg(feature = "deprecated")] - pub ActionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ActionId: usize, } @@ -3210,7 +3210,7 @@ windows_core::imp::define_interface!(IWebAccountProviderActivatedEventArgs, IWeb impl std::ops::Deref for IWebAccountProviderActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -3220,28 +3220,28 @@ impl IWebAccountProviderActivatedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3261,7 +3261,7 @@ windows_core::imp::define_interface!(IWebAuthenticationBrokerContinuationEventAr impl std::ops::Deref for IWebAuthenticationBrokerContinuationEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAuthenticationBrokerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -3271,28 +3271,28 @@ impl IWebAuthenticationBrokerContinuationEventArgs { pub fn WebAuthenticationResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAuthenticationResult)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3300,7 +3300,7 @@ impl IWebAuthenticationBrokerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3325,21 +3325,21 @@ impl AppointmentsProviderAddAppointmentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3347,14 +3347,14 @@ impl AppointmentsProviderAddAppointmentActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3362,7 +3362,7 @@ impl AppointmentsProviderAddAppointmentActivatedEventArgs { pub fn AddAppointmentOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddAppointmentOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3388,21 +3388,21 @@ impl AppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3410,14 +3410,14 @@ impl AppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3425,7 +3425,7 @@ impl AppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn RemoveAppointmentOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveAppointmentOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3451,21 +3451,21 @@ impl AppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3473,14 +3473,14 @@ impl AppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3488,7 +3488,7 @@ impl AppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn ReplaceAppointmentOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceAppointmentOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3514,21 +3514,21 @@ impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3536,35 +3536,35 @@ impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstanceStartDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceStartDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoamingId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3590,21 +3590,21 @@ impl AppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3612,28 +3612,28 @@ impl AppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimeToShow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeToShow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3660,7 +3660,7 @@ impl BackgroundActivatedEventArgs { pub fn TaskInstance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskInstance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3686,21 +3686,21 @@ impl BarcodeScannerPreviewActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3708,14 +3708,14 @@ impl BarcodeScannerPreviewActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3741,21 +3741,21 @@ impl CachedFileUpdaterActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3763,7 +3763,7 @@ impl CachedFileUpdaterActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3771,7 +3771,7 @@ impl CachedFileUpdaterActivatedEventArgs { pub fn CachedFileUpdaterUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CachedFileUpdaterUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3797,35 +3797,35 @@ impl CameraSettingsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoDeviceController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoDeviceExtension(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceExtension)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3851,21 +3851,21 @@ impl CommandLineActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3873,14 +3873,14 @@ impl CommandLineActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3905,14 +3905,14 @@ impl CommandLineActivationOperation { pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentDirectoryPath(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentDirectoryPath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3923,14 +3923,14 @@ impl CommandLineActivationOperation { pub fn ExitCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExitCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3956,42 +3956,42 @@ impl ContactCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3999,7 +3999,7 @@ impl ContactCallActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4025,28 +4025,28 @@ impl ContactMapActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4054,7 +4054,7 @@ impl ContactMapActivatedEventArgs { pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4062,7 +4062,7 @@ impl ContactMapActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4088,42 +4088,42 @@ impl ContactMessageActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4131,7 +4131,7 @@ impl ContactMessageActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4157,21 +4157,21 @@ impl ContactPanelActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4179,7 +4179,7 @@ impl ContactPanelActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4187,7 +4187,7 @@ impl ContactPanelActivatedEventArgs { pub fn ContactPanel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactPanel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4195,7 +4195,7 @@ impl ContactPanelActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4221,21 +4221,21 @@ impl ContactPickerActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4243,7 +4243,7 @@ impl ContactPickerActivatedEventArgs { pub fn ContactPickerUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactPickerUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4269,42 +4269,42 @@ impl ContactPostActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4312,7 +4312,7 @@ impl ContactPostActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4338,42 +4338,42 @@ impl ContactVideoCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4381,7 +4381,7 @@ impl ContactVideoCallActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4407,21 +4407,21 @@ impl DeviceActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4429,28 +4429,28 @@ impl DeviceActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceInformationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4458,7 +4458,7 @@ impl DeviceActivatedEventArgs { pub fn ViewSwitcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSwitcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4484,21 +4484,21 @@ impl DevicePairingActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4506,7 +4506,7 @@ impl DevicePairingActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4514,7 +4514,7 @@ impl DevicePairingActivatedEventArgs { pub fn DeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4540,21 +4540,21 @@ impl DialReceiverActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4562,35 +4562,35 @@ impl DialReceiverActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Arguments(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TileId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4598,7 +4598,7 @@ impl DialReceiverActivatedEventArgs { pub fn ViewSwitcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSwitcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4624,21 +4624,21 @@ impl FileActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4646,14 +4646,14 @@ impl FileActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4661,21 +4661,21 @@ impl FileActivatedEventArgs { pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Verb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4683,7 +4683,7 @@ impl FileActivatedEventArgs { pub fn NeighboringFilesQuery(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringFilesQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4691,7 +4691,7 @@ impl FileActivatedEventArgs { pub fn ViewSwitcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSwitcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4717,21 +4717,21 @@ impl FileOpenPickerActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4739,7 +4739,7 @@ impl FileOpenPickerActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4747,14 +4747,14 @@ impl FileOpenPickerActivatedEventArgs { pub fn FileOpenPickerUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileOpenPickerUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4784,21 +4784,21 @@ impl FileOpenPickerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4806,7 +4806,7 @@ impl FileOpenPickerContinuationEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4814,7 +4814,7 @@ impl FileOpenPickerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4822,7 +4822,7 @@ impl FileOpenPickerContinuationEventArgs { pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4853,21 +4853,21 @@ impl FileSavePickerActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4875,7 +4875,7 @@ impl FileSavePickerActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4883,21 +4883,21 @@ impl FileSavePickerActivatedEventArgs { pub fn FileSavePickerUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileSavePickerUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EnterpriseId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterpriseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4927,21 +4927,21 @@ impl FileSavePickerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4949,7 +4949,7 @@ impl FileSavePickerContinuationEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4957,7 +4957,7 @@ impl FileSavePickerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4965,7 +4965,7 @@ impl FileSavePickerContinuationEventArgs { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5000,21 +5000,21 @@ impl FolderPickerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5022,7 +5022,7 @@ impl FolderPickerContinuationEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5030,7 +5030,7 @@ impl FolderPickerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5038,7 +5038,7 @@ impl FolderPickerContinuationEventArgs { pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5069,21 +5069,21 @@ impl LaunchActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5091,42 +5091,42 @@ impl LaunchActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TileId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TileActivatedInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileActivatedInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrelaunchActivated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrelaunchActivated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5134,7 +5134,7 @@ impl LaunchActivatedEventArgs { pub fn ViewSwitcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSwitcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5160,21 +5160,21 @@ impl LockScreenActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5182,14 +5182,14 @@ impl LockScreenActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Info(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Info)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5215,42 +5215,42 @@ impl LockScreenCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Arguments(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TileId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5258,7 +5258,7 @@ impl LockScreenCallActivatedEventArgs { pub fn CallUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5266,7 +5266,7 @@ impl LockScreenCallActivatedEventArgs { pub fn ViewSwitcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSwitcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5292,21 +5292,21 @@ impl LockScreenComponentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5332,21 +5332,21 @@ impl PhoneCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5354,14 +5354,14 @@ impl PhoneCallActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5387,28 +5387,28 @@ impl PickerReturnedActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PickerOperationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickerOperationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5434,21 +5434,21 @@ impl Print3DWorkflowActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5456,7 +5456,7 @@ impl Print3DWorkflowActivatedEventArgs { pub fn Workflow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Workflow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5482,21 +5482,21 @@ impl PrintTaskSettingsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5504,7 +5504,7 @@ impl PrintTaskSettingsActivatedEventArgs { pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5530,21 +5530,21 @@ impl ProtocolActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5552,28 +5552,28 @@ impl ProtocolActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5581,7 +5581,7 @@ impl ProtocolActivatedEventArgs { pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5589,7 +5589,7 @@ impl ProtocolActivatedEventArgs { pub fn ViewSwitcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSwitcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5615,21 +5615,21 @@ impl ProtocolForResultsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5637,28 +5637,28 @@ impl ProtocolForResultsActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5666,7 +5666,7 @@ impl ProtocolForResultsActivatedEventArgs { pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5674,7 +5674,7 @@ impl ProtocolForResultsActivatedEventArgs { pub fn ProtocolForResultsOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolForResultsOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5682,7 +5682,7 @@ impl ProtocolForResultsActivatedEventArgs { pub fn ViewSwitcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSwitcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5708,21 +5708,21 @@ impl RestrictedLaunchActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5730,14 +5730,14 @@ impl RestrictedLaunchActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SharedContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharedContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5763,21 +5763,21 @@ impl SearchActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5785,28 +5785,28 @@ impl SearchActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5814,7 +5814,7 @@ impl SearchActivatedEventArgs { pub fn LinguisticDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinguisticDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5822,7 +5822,7 @@ impl SearchActivatedEventArgs { pub fn ViewSwitcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSwitcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5848,21 +5848,21 @@ impl ShareTargetActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5870,7 +5870,7 @@ impl ShareTargetActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5878,7 +5878,7 @@ impl ShareTargetActivatedEventArgs { pub fn ShareOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5903,7 +5903,7 @@ impl SplashScreen { pub fn ImageLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageLocation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5913,7 +5913,7 @@ impl SplashScreen { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dismissed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5941,21 +5941,21 @@ impl StartupTaskActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5963,14 +5963,14 @@ impl StartupTaskActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5996,7 +5996,7 @@ impl TileActivatedInfo { pub fn RecentlyShownNotifications(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentlyShownNotifications)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6022,21 +6022,21 @@ impl ToastNotificationActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6044,21 +6044,21 @@ impl ToastNotificationActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Argument(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Argument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6066,7 +6066,7 @@ impl ToastNotificationActivatedEventArgs { pub fn UserInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6092,21 +6092,21 @@ impl UserDataAccountProviderActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6114,7 +6114,7 @@ impl UserDataAccountProviderActivatedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6140,21 +6140,21 @@ impl VoiceCommandActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6162,7 +6162,7 @@ impl VoiceCommandActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6170,7 +6170,7 @@ impl VoiceCommandActivatedEventArgs { pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6200,21 +6200,21 @@ impl WalletActionActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6222,7 +6222,7 @@ impl WalletActionActivatedEventArgs { pub fn ItemId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6230,7 +6230,7 @@ impl WalletActionActivatedEventArgs { pub fn ActionKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6238,7 +6238,7 @@ impl WalletActionActivatedEventArgs { pub fn ActionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6269,21 +6269,21 @@ impl WebAccountProviderActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6291,7 +6291,7 @@ impl WebAccountProviderActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6299,7 +6299,7 @@ impl WebAccountProviderActivatedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6325,21 +6325,21 @@ impl WebAuthenticationBrokerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6347,7 +6347,7 @@ impl WebAuthenticationBrokerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6355,7 +6355,7 @@ impl WebAuthenticationBrokerContinuationEventArgs { pub fn WebAuthenticationResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAuthenticationResult)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 2c83c21c8e..f2097dc1d7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs @@ -5,9 +5,9 @@ impl windows_core::RuntimeType for IAppExtension { #[repr(C)] pub struct IAppExtension_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Package: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AppInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -26,7 +26,7 @@ impl windows_core::RuntimeType for IAppExtension2 { #[repr(C)] pub struct IAppExtension2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppExtensionCatalog, IAppExtensionCatalog_Vtbl, 0x97872032_8426_4ad1_9084_92e88c2da200); impl windows_core::RuntimeType for IAppExtensionCatalog { @@ -39,7 +39,7 @@ pub struct IAppExtensionCatalog_Vtbl { pub FindAllAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, - pub RequestRemovePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestRemovePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PackageInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePackageInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub PackageUpdating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -58,7 +58,7 @@ impl windows_core::RuntimeType for IAppExtensionCatalogStatics { #[repr(C)] pub struct IAppExtensionCatalogStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppExtensionPackageInstalledEventArgs, IAppExtensionPackageInstalledEventArgs_Vtbl, 0x39e59234_3351_4a8d_9745_e7d3dd45bc48); impl windows_core::RuntimeType for IAppExtensionPackageInstalledEventArgs { @@ -67,7 +67,7 @@ impl windows_core::RuntimeType for IAppExtensionPackageInstalledEventArgs { #[repr(C)] pub struct IAppExtensionPackageInstalledEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Package: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Extensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -81,7 +81,7 @@ impl windows_core::RuntimeType for IAppExtensionPackageStatusChangedEventArgs { #[repr(C)] pub struct IAppExtensionPackageStatusChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Package: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppExtensionPackageUninstallingEventArgs, IAppExtensionPackageUninstallingEventArgs_Vtbl, 0x60f160c5_171e_40ff_ae98_ab2c20dd4d75); @@ -91,7 +91,7 @@ impl windows_core::RuntimeType for IAppExtensionPackageUninstallingEventArgs { #[repr(C)] pub struct IAppExtensionPackageUninstallingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Package: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppExtensionPackageUpdatedEventArgs, IAppExtensionPackageUpdatedEventArgs_Vtbl, 0x3a83c43f_797e_44b5_ba24_a4c8b5a543d7); @@ -101,7 +101,7 @@ impl windows_core::RuntimeType for IAppExtensionPackageUpdatedEventArgs { #[repr(C)] pub struct IAppExtensionPackageUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Package: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Extensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -115,7 +115,7 @@ impl windows_core::RuntimeType for IAppExtensionPackageUpdatingEventArgs { #[repr(C)] pub struct IAppExtensionPackageUpdatingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Package: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] @@ -126,35 +126,35 @@ impl AppExtension { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -162,7 +162,7 @@ impl AppExtension { pub fn GetExtensionPropertiesAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetExtensionPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -170,14 +170,14 @@ impl AppExtension { pub fn GetPublicFolderAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPublicFolderAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppUserModelId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppUserModelId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -203,14 +203,14 @@ impl AppExtensionCatalog { pub fn FindAllAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestRemovePackageAsync(&self, packagefullname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestRemovePackageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -220,7 +220,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageInstalled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -234,7 +234,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageUpdating)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -248,7 +248,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -262,7 +262,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageUninstalling)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -276,7 +276,7 @@ impl AppExtensionCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -286,7 +286,7 @@ impl AppExtensionCatalog { } pub fn Open(appextensionname: &windows_core::HSTRING) -> windows_core::Result { Self::IAppExtensionCatalogStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Open)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appextensionname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -314,14 +314,14 @@ impl AppExtensionPackageInstalledEventArgs { pub fn AppExtensionName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppExtensionName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -329,7 +329,7 @@ impl AppExtensionPackageInstalledEventArgs { pub fn Extensions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Extensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -354,14 +354,14 @@ impl AppExtensionPackageStatusChangedEventArgs { pub fn AppExtensionName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppExtensionName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -386,14 +386,14 @@ impl AppExtensionPackageUninstallingEventArgs { pub fn AppExtensionName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppExtensionName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -418,14 +418,14 @@ impl AppExtensionPackageUpdatedEventArgs { pub fn AppExtensionName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppExtensionName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -433,7 +433,7 @@ impl AppExtensionPackageUpdatedEventArgs { pub fn Extensions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Extensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -458,14 +458,14 @@ impl AppExtensionPackageUpdatingEventArgs { pub fn AppExtensionName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppExtensionName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 07088fac97..bc4fd10a06 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs @@ -6,7 +6,7 @@ impl windows_core::RuntimeType for IAppServiceCatalogStatics { pub struct IAppServiceCatalogStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub FindAppServiceProvidersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAppServiceProvidersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAppServiceProvidersAsync: usize, } @@ -26,10 +26,10 @@ impl windows_core::RuntimeType for IAppServiceConnection { #[repr(C)] pub struct IAppServiceConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAppServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAppServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SendMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -127,8 +127,8 @@ impl windows_core::RuntimeType for IAppServiceTriggerDetails { #[repr(C)] pub struct IAppServiceTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppServiceConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppServiceTriggerDetails2, IAppServiceTriggerDetails2_Vtbl, 0xe83d54b2_28cc_43f2_b465_c0482e59e2dc); @@ -147,7 +147,7 @@ impl windows_core::RuntimeType for IAppServiceTriggerDetails3 { #[repr(C)] pub struct IAppServiceTriggerDetails3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CheckCallerForCapabilityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CheckCallerForCapabilityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppServiceTriggerDetails4, IAppServiceTriggerDetails4_Vtbl, 0x1185b180_8861_5e30_ab55_1cf4d08bbf6d); impl windows_core::RuntimeType for IAppServiceTriggerDetails4 { @@ -156,7 +156,7 @@ impl windows_core::RuntimeType for IAppServiceTriggerDetails4 { #[repr(C)] pub struct IAppServiceTriggerDetails4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CallerRemoteConnectionToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallerRemoteConnectionToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStatelessAppServiceResponse, IStatelessAppServiceResponse_Vtbl, 0x43754af7_a9ec_52fe_82e7_939b68dc9388); impl windows_core::RuntimeType for IStatelessAppServiceResponse { @@ -176,7 +176,7 @@ impl AppServiceCatalog { #[cfg(feature = "Foundation_Collections")] pub fn FindAppServiceProvidersAsync(appservicename: &windows_core::HSTRING) -> windows_core::Result>> { Self::IAppServiceCatalogStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAppServiceProvidersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -197,7 +197,7 @@ impl AppServiceClosedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -230,7 +230,7 @@ impl AppServiceConnection { pub fn AppServiceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -241,7 +241,7 @@ impl AppServiceConnection { pub fn PackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -252,7 +252,7 @@ impl AppServiceConnection { pub fn OpenAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -263,7 +263,7 @@ impl AppServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -273,7 +273,7 @@ impl AppServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -287,7 +287,7 @@ impl AppServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceClosed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -302,7 +302,7 @@ impl AppServiceConnection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenRemoteAsync)(windows_core::Interface::as_raw(this), remotesystemconnectionrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -310,7 +310,7 @@ impl AppServiceConnection { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -330,7 +330,7 @@ impl AppServiceConnection { P2: windows_core::Param, { Self::IAppServiceConnectionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendStatelessMessageAsync)(windows_core::Interface::as_raw(this), connection.param().abi(), connectionrequest.param().abi(), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -387,7 +387,7 @@ impl AppServiceRequest { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -398,7 +398,7 @@ impl AppServiceRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendResponseAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -423,14 +423,14 @@ impl AppServiceRequestReceivedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -456,14 +456,14 @@ impl AppServiceResponse { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -488,42 +488,42 @@ impl AppServiceTriggerDetails { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppServiceConnection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppServiceConnection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsRemoteSystemConnection(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRemoteSystemConnection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CheckCallerForCapabilityAsync(&self, capabilityname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckCallerForCapabilityAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(capabilityname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CallerRemoteConnectionToken(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerRemoteConnectionToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -549,14 +549,14 @@ impl StatelessAppServiceResponse { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 db361be39f..53d0962f62 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs @@ -6,10 +6,10 @@ impl windows_core::RuntimeType for IAddAppointmentOperation { pub struct IAddAppointmentOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AppointmentInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SourcePackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourcePackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCanceled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DismissUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentsProviderLaunchActionVerbsStatics, IAppointmentsProviderLaunchActionVerbsStatics_Vtbl, 0x36dbba28_9e2e_49c6_8ef7_3ab7a5dcc8b8); @@ -19,10 +19,10 @@ impl windows_core::RuntimeType for IAppointmentsProviderLaunchActionVerbsStatics #[repr(C)] pub struct IAppointmentsProviderLaunchActionVerbsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddAppointment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReplaceAppointment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveAppointment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ShowTimeFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddAppointment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReplaceAppointment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveAppointment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShowTimeFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentsProviderLaunchActionVerbsStatics2, IAppointmentsProviderLaunchActionVerbsStatics2_Vtbl, 0xef9049a4_af21_473c_88dc_76cd89f60ca5); impl windows_core::RuntimeType for IAppointmentsProviderLaunchActionVerbsStatics2 { @@ -31,7 +31,7 @@ impl windows_core::RuntimeType for IAppointmentsProviderLaunchActionVerbsStatics #[repr(C)] pub struct IAppointmentsProviderLaunchActionVerbsStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ShowAppointmentDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShowAppointmentDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoveAppointmentOperation, IRemoveAppointmentOperation_Vtbl, 0x08b66aba_fe33_46cd_a50c_a8ffb3260537); impl windows_core::RuntimeType for IRemoveAppointmentOperation { @@ -40,12 +40,12 @@ impl windows_core::RuntimeType for IRemoveAppointmentOperation { #[repr(C)] pub struct IRemoveAppointmentOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppointmentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InstanceStartDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SourcePackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourcePackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportCanceled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DismissUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IReplaceAppointmentOperation, IReplaceAppointmentOperation_Vtbl, 0xf4903d9b_9e61_4de2_a732_2687c07d1de8); @@ -55,13 +55,13 @@ impl windows_core::RuntimeType for IReplaceAppointmentOperation { #[repr(C)] pub struct IReplaceAppointmentOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppointmentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppointmentInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InstanceStartDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SourcePackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourcePackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCanceled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DismissUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] @@ -72,14 +72,14 @@ impl AddAppointmentOperation { pub fn AppointmentInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourcePackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourcePackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -116,31 +116,31 @@ pub struct AppointmentsProviderLaunchActionVerbs; impl AppointmentsProviderLaunchActionVerbs { pub fn AddAppointment() -> windows_core::Result { Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddAppointment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ReplaceAppointment() -> windows_core::Result { Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceAppointment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RemoveAppointment() -> windows_core::Result { Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveAppointment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowTimeFrame() -> windows_core::Result { Self::IAppointmentsProviderLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowTimeFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowAppointmentDetails() -> windows_core::Result { Self::IAppointmentsProviderLaunchActionVerbsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAppointmentDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -166,21 +166,21 @@ impl RemoveAppointmentOperation { pub fn AppointmentId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstanceStartDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceStartDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourcePackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourcePackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -221,28 +221,28 @@ impl ReplaceAppointmentOperation { pub fn AppointmentId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppointmentInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstanceStartDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceStartDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourcePackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourcePackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 7efb0cd667..5ca6971a91 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs @@ -5,11 +5,11 @@ impl windows_core::RuntimeType for IAppointmentCalendarCancelMeetingRequest { #[repr(C)] pub struct IAppointmentCalendarCancelMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppointmentLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppointmentOriginalStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NotifyInvitees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -31,7 +31,7 @@ impl windows_core::RuntimeType for IAppointmentCalendarCreateOrUpdateAppointment #[repr(C)] pub struct IAppointmentCalendarCreateOrUpdateAppointmentRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Appointment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyInvitees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -58,16 +58,16 @@ impl windows_core::RuntimeType for IAppointmentCalendarForwardMeetingRequest { #[repr(C)] pub struct IAppointmentCalendarForwardMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppointmentLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppointmentOriginalStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Invitees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Invitees: usize, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ForwardHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ForwardHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -88,13 +88,13 @@ impl windows_core::RuntimeType for IAppointmentCalendarProposeNewTimeForMeetingR #[repr(C)] pub struct IAppointmentCalendarProposeNewTimeForMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppointmentLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppointmentOriginalStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NewStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub NewDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -115,7 +115,7 @@ impl windows_core::RuntimeType for IAppointmentCalendarSyncManagerSyncRequest { #[repr(C)] pub struct IAppointmentCalendarSyncManagerSyncRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -136,12 +136,12 @@ impl windows_core::RuntimeType for IAppointmentCalendarUpdateMeetingResponseRequ #[repr(C)] pub struct IAppointmentCalendarUpdateMeetingResponseRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppointmentLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentCalendarLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentLocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppointmentOriginalStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Response: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::AppointmentParticipantResponse) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SendUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -194,56 +194,56 @@ impl AppointmentCalendarCancelMeetingRequest { pub fn AppointmentCalendarLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentCalendarLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppointmentLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppointmentOriginalStartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentOriginalStartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NotifyInvitees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotifyInvitees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -268,14 +268,14 @@ impl AppointmentCalendarCancelMeetingRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -300,21 +300,21 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequest { pub fn AppointmentCalendarLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentCalendarLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Appointment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Appointment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NotifyInvitees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotifyInvitees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -322,7 +322,7 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequest { pub fn ChangedProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -332,14 +332,14 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), createdorupdatedappointment.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -364,14 +364,14 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -396,21 +396,21 @@ impl AppointmentCalendarForwardMeetingRequest { pub fn AppointmentCalendarLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentCalendarLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppointmentLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppointmentOriginalStartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentOriginalStartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -418,42 +418,42 @@ impl AppointmentCalendarForwardMeetingRequest { pub fn Invitees(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invitees)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ForwardHeader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForwardHeader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -478,14 +478,14 @@ impl AppointmentCalendarForwardMeetingRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -510,63 +510,63 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequest { pub fn AppointmentCalendarLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentCalendarLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppointmentLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppointmentOriginalStartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentOriginalStartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NewStartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewStartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NewDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -591,14 +591,14 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -623,21 +623,21 @@ impl AppointmentCalendarSyncManagerSyncRequest { pub fn AppointmentCalendarLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentCalendarLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -662,14 +662,14 @@ impl AppointmentCalendarSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -694,63 +694,63 @@ impl AppointmentCalendarUpdateMeetingResponseRequest { pub fn AppointmentCalendarLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentCalendarLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppointmentLocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentLocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppointmentOriginalStartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentOriginalStartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Response(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Response)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SendUpdate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendUpdate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -775,14 +775,14 @@ impl AppointmentCalendarUpdateMeetingResponseRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -810,7 +810,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -824,7 +824,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOrUpdateAppointmentRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -838,7 +838,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CancelMeetingRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -852,7 +852,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForwardMeetingRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -866,7 +866,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProposeNewTimeForMeetingRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -880,7 +880,7 @@ impl AppointmentDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateMeetingResponseRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -913,7 +913,7 @@ impl AppointmentDataProviderTriggerDetails { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs index bf9b57156e..cb84d7192c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs @@ -9,7 +9,7 @@ impl windows_core::RuntimeName for IAppointmentParticipant { } impl IAppointmentParticipant_Vtbl { pub const fn new, Impl: IAppointmentParticipant_Impl, const OFFSET: isize>() -> IAppointmentParticipant_Vtbl { - unsafe extern "system" fn DisplayName, Impl: IAppointmentParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IAppointmentParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAppointmentParticipant_Impl::DisplayName(this) { @@ -21,12 +21,12 @@ impl IAppointmentParticipant_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: IAppointmentParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IAppointmentParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAppointmentParticipant_Impl::SetDisplayName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Address, Impl: IAppointmentParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Address, Impl: IAppointmentParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAppointmentParticipant_Impl::Address(this) { @@ -38,7 +38,7 @@ impl IAppointmentParticipant_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAddress, Impl: IAppointmentParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAddress, Impl: IAppointmentParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAppointmentParticipant_Impl::SetAddress(this, core::mem::transmute(&value)).into() diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index c9f40cf9df..5a5f059faf 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -13,12 +13,12 @@ pub struct IAppointment_Vtbl { pub SetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDetails: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDetails: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Reminder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetReminder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Organizer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -45,17 +45,17 @@ impl windows_core::RuntimeType for IAppointment2 { #[repr(C)] pub struct IAppointment2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CalendarId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CalendarId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub OriginalStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsResponseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsResponseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub AllowNewTimeProposal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowNewTimeProposal: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub OnlineMeetingLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOnlineMeetingLink: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnlineMeetingLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOnlineMeetingLink: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReplyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetReplyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UserResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppointmentParticipantResponse) -> windows_core::HRESULT, @@ -90,15 +90,15 @@ pub struct IAppointmentCalendar_Vtbl { pub DisplayColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Color) -> windows_core::HRESULT, #[cfg(not(feature = "UI"))] DisplayColor: usize, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsHidden: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub OtherAppReadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppointmentCalendarOtherAppReadAccess) -> windows_core::HRESULT, pub SetOtherAppReadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, AppointmentCalendarOtherAppReadAccess) -> windows_core::HRESULT, pub OtherAppWriteAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppointmentCalendarOtherAppWriteAccess) -> windows_core::HRESULT, pub SetOtherAppWriteAccess: unsafe extern "system" fn(*mut core::ffi::c_void, AppointmentCalendarOtherAppWriteAccess) -> windows_core::HRESULT, - pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SummaryCardView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppointmentSummaryCardView) -> windows_core::HRESULT, pub SetSummaryCardView: unsafe extern "system" fn(*mut core::ffi::c_void, AppointmentSummaryCardView) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -110,19 +110,19 @@ pub struct IAppointmentCalendar_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAppointmentsAsyncWithOptions: usize, #[cfg(feature = "Foundation_Collections")] - pub FindExceptionsFromMasterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindExceptionsFromMasterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindExceptionsFromMasterAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub FindAllInstancesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllInstancesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllInstancesAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub FindAllInstancesAsyncWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllInstancesAsyncWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllInstancesAsyncWithOptions: usize, - pub GetAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAppointmentInstanceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAppointmentInstanceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindUnexpandedAppointmentsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -133,8 +133,8 @@ pub struct IAppointmentCalendar_Vtbl { FindUnexpandedAppointmentsAsyncWithOptions: usize, pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteAppointmentInstanceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteAppointmentInstanceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentCalendar2, IAppointmentCalendar2_Vtbl, 0x18e7e422_2467_4e1c_a459_d8a29303d092); @@ -145,14 +145,14 @@ impl windows_core::RuntimeType for IAppointmentCalendar2 { pub struct IAppointmentCalendar2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SyncManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "UI")] pub SetDisplayColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::UI::Color) -> windows_core::HRESULT, #[cfg(not(feature = "UI"))] SetDisplayColor: usize, pub SetIsHidden: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CanCreateOrUpdateAppointments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetCanCreateOrUpdateAppointments: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub CanCancelMeetings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -168,13 +168,13 @@ pub struct IAppointmentCalendar2_Vtbl { pub MustNofityInvitees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetMustNofityInvitees: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub TryCreateOrUpdateAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryCancelMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryCancelMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub TryForwardMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryForwardMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] TryForwardMeetingAsync: usize, - pub TryProposeNewTimeForMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryUpdateMeetingResponseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, AppointmentParticipantResponse, std::mem::MaybeUninit, std::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryProposeNewTimeForMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryUpdateMeetingResponseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, AppointmentParticipantResponse, core::mem::MaybeUninit, core::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentCalendar3, IAppointmentCalendar3_Vtbl, 0xeb23d22b_a685_42ae_8495_b3119adb4167); impl windows_core::RuntimeType for IAppointmentCalendar3 { @@ -258,27 +258,27 @@ pub struct IAppointmentManagerForUser_Vtbl { pub ShowAddAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowAddAppointmentWithPlacementAsync: usize, - pub ShowReplaceAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowReplaceAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "UI_Popups")] - pub ShowReplaceAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowReplaceAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAsync: usize, #[cfg(feature = "UI_Popups")] - pub ShowReplaceAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowReplaceAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAndDateAsync: usize, - pub ShowRemoveAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowRemoveAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "UI_Popups")] - pub ShowRemoveAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowRemoveAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAsync: usize, #[cfg(feature = "UI_Popups")] - pub ShowRemoveAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowRemoveAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAndDateAsync: usize, pub ShowTimeFrameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShowAppointmentDetailsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShowAppointmentDetailsWithDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowAppointmentDetailsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowAppointmentDetailsWithDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowEditNewAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, AppointmentStoreAccessType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] @@ -298,22 +298,22 @@ pub struct IAppointmentManagerStatics_Vtbl { pub ShowAddAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowAddAppointmentWithPlacementAsync: usize, - pub ShowReplaceAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowReplaceAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "UI_Popups")] - pub ShowReplaceAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowReplaceAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAsync: usize, #[cfg(feature = "UI_Popups")] - pub ShowReplaceAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowReplaceAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAndDateAsync: usize, - pub ShowRemoveAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowRemoveAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "UI_Popups")] - pub ShowRemoveAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowRemoveAppointmentWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAsync: usize, #[cfg(feature = "UI_Popups")] - pub ShowRemoveAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowRemoveAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAndDateAsync: usize, pub ShowTimeFrameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -325,8 +325,8 @@ impl windows_core::RuntimeType for IAppointmentManagerStatics2 { #[repr(C)] pub struct IAppointmentManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ShowAppointmentDetailsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShowAppointmentDetailsWithDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowAppointmentDetailsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowAppointmentDetailsWithDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowEditNewAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, AppointmentStoreAccessType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -346,7 +346,7 @@ windows_core::imp::define_interface!(IAppointmentParticipant, IAppointmentPartic impl std::ops::Deref for IAppointmentParticipant { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppointmentParticipant, windows_core::IUnknown, windows_core::IInspectable); @@ -354,7 +354,7 @@ impl IAppointmentParticipant { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -365,7 +365,7 @@ impl IAppointmentParticipant { pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -380,10 +380,10 @@ impl windows_core::RuntimeType for IAppointmentParticipant { #[repr(C)] pub struct IAppointmentParticipant_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentPropertiesStatics, IAppointmentPropertiesStatics_Vtbl, 0x25141fe9_68ae_3aae_855f_bc4441caa234); impl windows_core::RuntimeType for IAppointmentPropertiesStatics { @@ -392,28 +392,28 @@ impl windows_core::RuntimeType for IAppointmentPropertiesStatics { #[repr(C)] pub struct IAppointmentPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Reminder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BusyStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sensitivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OriginalStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsResponseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AllowNewTimeProposal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AllDay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OnlineMeetingLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReplyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Organizer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HasInvitees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsCanceledMeeting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsOrganizedByUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Recurrence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Invitees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Reminder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BusyStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sensitivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OriginalStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsResponseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AllowNewTimeProposal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AllDay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnlineMeetingLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReplyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Organizer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HasInvitees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsCanceledMeeting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsOrganizedByUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Recurrence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Invitees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub DefaultProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -426,9 +426,9 @@ impl windows_core::RuntimeType for IAppointmentPropertiesStatics2 { #[repr(C)] pub struct IAppointmentPropertiesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ChangeNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteChangeNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DetailsKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangeNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteChangeNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DetailsKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentRecurrence, IAppointmentRecurrence_Vtbl, 0xd87b3e83_15a6_487b_b959_0c361e60e954); impl windows_core::RuntimeType for IAppointmentRecurrence { @@ -462,8 +462,8 @@ impl windows_core::RuntimeType for IAppointmentRecurrence2 { pub struct IAppointmentRecurrence2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RecurrenceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RecurrenceType) -> windows_core::HRESULT, - pub TimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentRecurrence3, IAppointmentRecurrence3_Vtbl, 0x89ff96d9_da4d_4a17_8dd2_1cebc2b5ff9d); impl windows_core::RuntimeType for IAppointmentRecurrence3 { @@ -472,7 +472,7 @@ impl windows_core::RuntimeType for IAppointmentRecurrence3 { #[repr(C)] pub struct IAppointmentRecurrence3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CalendarIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CalendarIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentStore, IAppointmentStore_Vtbl, 0xa461918c_7a47_4d96_96c9_15cd8a05a735); impl windows_core::RuntimeType for IAppointmentStore { @@ -482,10 +482,10 @@ impl windows_core::RuntimeType for IAppointmentStore { pub struct IAppointmentStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateAppointmentCalendarAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAppointmentCalendarAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAppointmentInstanceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAppointmentCalendarAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAppointmentCalendarAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAppointmentInstanceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindAppointmentCalendarsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -506,21 +506,21 @@ pub struct IAppointmentStore_Vtbl { pub FindConflictAsyncWithInstanceStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MoveAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowAddAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShowReplaceAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowReplaceAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "UI_Popups")] - pub ShowReplaceAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowReplaceAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowReplaceAppointmentWithPlacementAndDateAsync: usize, - pub ShowRemoveAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowRemoveAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "UI_Popups")] - pub ShowRemoveAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowRemoveAppointmentWithPlacementAndDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Rect, super::super::UI::Popups::Placement, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowRemoveAppointmentWithPlacementAndDateAsync: usize, - pub ShowAppointmentDetailsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShowAppointmentDetailsWithDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowAppointmentDetailsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowAppointmentDetailsWithDateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowEditNewAppointmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub FindLocalIdsFromRoamingIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindLocalIdsFromRoamingIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindLocalIdsFromRoamingIdAsync: usize, } @@ -533,7 +533,7 @@ pub struct IAppointmentStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StoreChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStoreChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub CreateAppointmentCalendarInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAppointmentCalendarInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentStore3, IAppointmentStore3_Vtbl, 0x4251940b_b078_470a_9a40_c2e01761f72f); impl windows_core::RuntimeType for IAppointmentStore3 { @@ -542,7 +542,7 @@ impl windows_core::RuntimeType for IAppointmentStore3 { #[repr(C)] pub struct IAppointmentStore3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentStoreChange, IAppointmentStoreChange_Vtbl, 0xa5a6e035_0a33_3654_8463_b543e90c3b79); impl windows_core::RuntimeType for IAppointmentStoreChange { @@ -658,7 +658,7 @@ impl Appointment { pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -669,7 +669,7 @@ impl Appointment { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -680,7 +680,7 @@ impl Appointment { pub fn Location(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Location)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -691,7 +691,7 @@ impl Appointment { pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -702,7 +702,7 @@ impl Appointment { pub fn Details(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Details)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -713,7 +713,7 @@ impl Appointment { pub fn Reminder(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reminder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -727,7 +727,7 @@ impl Appointment { pub fn Organizer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Organizer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -742,14 +742,14 @@ impl Appointment { pub fn Invitees(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invitees)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Recurrence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recurrence)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -763,7 +763,7 @@ impl Appointment { pub fn BusyStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BusyStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -774,7 +774,7 @@ impl Appointment { pub fn AllDay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllDay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -785,7 +785,7 @@ impl Appointment { pub fn Sensitivity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sensitivity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -796,7 +796,7 @@ impl Appointment { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -810,21 +810,21 @@ impl Appointment { pub fn LocalId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CalendarId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalendarId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoamingId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -835,14 +835,14 @@ impl Appointment { pub fn OriginalStartTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OriginalStartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsResponseRequested(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsResponseRequested)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -853,7 +853,7 @@ impl Appointment { pub fn AllowNewTimeProposal(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowNewTimeProposal)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -864,7 +864,7 @@ impl Appointment { pub fn OnlineMeetingLink(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OnlineMeetingLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -875,7 +875,7 @@ impl Appointment { pub fn ReplyTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplyTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -889,7 +889,7 @@ impl Appointment { pub fn UserResponse(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserResponse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -900,14 +900,14 @@ impl Appointment { pub fn HasInvitees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasInvitees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCanceledMeeting(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceledMeeting)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -918,7 +918,7 @@ impl Appointment { pub fn IsOrganizedByUser(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOrganizedByUser)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -929,14 +929,14 @@ impl Appointment { pub fn ChangeNumber(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RemoteChangeNumber(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteChangeNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -947,7 +947,7 @@ impl Appointment { pub fn DetailsKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetailsKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -977,14 +977,14 @@ impl AppointmentCalendar { pub fn DisplayColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -995,21 +995,21 @@ impl AppointmentCalendar { pub fn LocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsHidden(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHidden)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OtherAppReadAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppReadAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1020,7 +1020,7 @@ impl AppointmentCalendar { pub fn OtherAppWriteAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppWriteAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1031,14 +1031,14 @@ impl AppointmentCalendar { pub fn SourceDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SummaryCardView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SummaryCardView)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1050,7 +1050,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAppointmentsAsync)(windows_core::Interface::as_raw(this), rangestart, rangelength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1061,7 +1061,7 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAppointmentsAsyncWithOptions)(windows_core::Interface::as_raw(this), rangestart, rangelength, options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1069,7 +1069,7 @@ impl AppointmentCalendar { pub fn FindExceptionsFromMasterAsync(&self, masterlocalid: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindExceptionsFromMasterAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(masterlocalid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1077,7 +1077,7 @@ impl AppointmentCalendar { pub fn FindAllInstancesAsync(&self, masterlocalid: &windows_core::HSTRING, rangestart: super::super::Foundation::DateTime, rangelength: super::super::Foundation::TimeSpan) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllInstancesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(masterlocalid), rangestart, rangelength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1088,21 +1088,21 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllInstancesAsyncWithOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(masterlocalid), rangestart, rangelength, poptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAppointmentAsync(&self, localid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppointmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAppointmentInstanceAsync(&self, localid: &windows_core::HSTRING, instancestarttime: super::super::Foundation::DateTime) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppointmentInstanceAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), instancestarttime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1110,7 +1110,7 @@ impl AppointmentCalendar { pub fn FindUnexpandedAppointmentsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindUnexpandedAppointmentsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1121,35 +1121,35 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindUnexpandedAppointmentsAsyncWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAppointmentAsync(&self, localid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAppointmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAppointmentInstanceAsync(&self, localid: &windows_core::HSTRING, instancestarttime: super::super::Foundation::DateTime) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAppointmentInstanceAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), instancestarttime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1159,21 +1159,21 @@ impl AppointmentCalendar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAppointmentAsync)(windows_core::Interface::as_raw(this), pappointment.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SyncManager(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1193,14 +1193,14 @@ impl AppointmentCalendar { pub fn UserDataAccountId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDataAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanCreateOrUpdateAppointments(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCreateOrUpdateAppointments)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1211,7 +1211,7 @@ impl AppointmentCalendar { pub fn CanCancelMeetings(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCancelMeetings)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1222,7 +1222,7 @@ impl AppointmentCalendar { pub fn CanForwardMeetings(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanForwardMeetings)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1233,7 +1233,7 @@ impl AppointmentCalendar { pub fn CanProposeNewTimeForMeetings(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanProposeNewTimeForMeetings)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1244,7 +1244,7 @@ impl AppointmentCalendar { pub fn CanUpdateMeetingResponses(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanUpdateMeetingResponses)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1255,7 +1255,7 @@ impl AppointmentCalendar { pub fn CanNotifyInvitees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanNotifyInvitees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1266,7 +1266,7 @@ impl AppointmentCalendar { pub fn MustNofityInvitees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MustNofityInvitees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1280,7 +1280,7 @@ impl AppointmentCalendar { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateOrUpdateAppointmentAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), notifyinvitees, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1290,7 +1290,7 @@ impl AppointmentCalendar { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCancelMeetingAsync)(windows_core::Interface::as_raw(this), meeting.param().abi(), core::mem::transmute_copy(subject), core::mem::transmute_copy(comment), notifyinvitees, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1302,7 +1302,7 @@ impl AppointmentCalendar { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryForwardMeetingAsync)(windows_core::Interface::as_raw(this), meeting.param().abi(), invitees.param().abi(), core::mem::transmute_copy(subject), core::mem::transmute_copy(forwardheader), core::mem::transmute_copy(comment), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1312,7 +1312,7 @@ impl AppointmentCalendar { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryProposeNewTimeForMeetingAsync)(windows_core::Interface::as_raw(this), meeting.param().abi(), newstarttime, newduration, core::mem::transmute_copy(subject), core::mem::transmute_copy(comment), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1322,14 +1322,14 @@ impl AppointmentCalendar { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdateMeetingResponseAsync)(windows_core::Interface::as_raw(this), meeting.param().abi(), response, core::mem::transmute_copy(subject), core::mem::transmute_copy(comment), sendupdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RegisterSyncManagerAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterSyncManagerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1354,28 +1354,28 @@ impl AppointmentCalendarSyncManager { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastSuccessfulSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastSuccessfulSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastAttemptedSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastAttemptedSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SyncAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1385,7 +1385,7 @@ impl AppointmentCalendarSyncManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1426,14 +1426,14 @@ impl AppointmentConflictResult { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Date(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Date)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1458,7 +1458,7 @@ impl AppointmentException { pub fn Appointment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Appointment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1466,14 +1466,14 @@ impl AppointmentException { pub fn ExceptionProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExceptionProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsDeleted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDeleted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1506,7 +1506,7 @@ impl AppointmentInvitee { pub fn Role(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Role)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1517,7 +1517,7 @@ impl AppointmentInvitee { pub fn Response(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Response)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1528,7 +1528,7 @@ impl AppointmentInvitee { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1539,7 +1539,7 @@ impl AppointmentInvitee { pub fn Address(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1567,7 +1567,7 @@ impl AppointmentManager { P0: windows_core::Param, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAddAppointmentAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1577,7 +1577,7 @@ impl AppointmentManager { P0: windows_core::Param, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAddAppointmentWithPlacementAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1586,7 +1586,7 @@ impl AppointmentManager { P0: windows_core::Param, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowReplaceAppointmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), appointment.param().abi(), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1596,7 +1596,7 @@ impl AppointmentManager { P0: windows_core::Param, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), appointment.param().abi(), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1606,45 +1606,45 @@ impl AppointmentManager { P0: windows_core::Param, { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAndDateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), appointment.param().abi(), selection, preferredplacement, instancestartdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowRemoveAppointmentAsync(appointmentid: &windows_core::HSTRING, selection: super::super::Foundation::Rect) -> windows_core::Result> { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowRemoveAppointmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI_Popups")] pub fn ShowRemoveAppointmentWithPlacementAsync(appointmentid: &windows_core::HSTRING, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement) -> windows_core::Result> { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI_Popups")] pub fn ShowRemoveAppointmentWithPlacementAndDateAsync(appointmentid: &windows_core::HSTRING, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: super::super::Foundation::DateTime) -> windows_core::Result> { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAndDateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), selection, preferredplacement, instancestartdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowTimeFrameAsync(timetoshow: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan) -> windows_core::Result { Self::IAppointmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowTimeFrameAsync)(windows_core::Interface::as_raw(this), timetoshow, duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowAppointmentDetailsAsync(appointmentid: &windows_core::HSTRING) -> windows_core::Result { Self::IAppointmentManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAppointmentDetailsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowAppointmentDetailsWithDateAsync(appointmentid: &windows_core::HSTRING, instancestartdate: super::super::Foundation::DateTime) -> windows_core::Result { Self::IAppointmentManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAppointmentDetailsWithDateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), instancestartdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1653,13 +1653,13 @@ impl AppointmentManager { P0: windows_core::Param, { Self::IAppointmentManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowEditNewAppointmentAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestStoreAsync(options: AppointmentStoreAccessType) -> windows_core::Result> { Self::IAppointmentManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1669,7 +1669,7 @@ impl AppointmentManager { P0: windows_core::Param, { Self::IAppointmentManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1703,7 +1703,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAddAppointmentAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1714,7 +1714,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAddAppointmentWithPlacementAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1724,7 +1724,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowReplaceAppointmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), appointment.param().abi(), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1735,7 +1735,7 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), appointment.param().abi(), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1746,14 +1746,14 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAndDateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), appointment.param().abi(), selection, preferredplacement, instancestartdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowRemoveAppointmentAsync(&self, appointmentid: &windows_core::HSTRING, selection: super::super::Foundation::Rect) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowRemoveAppointmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1761,7 +1761,7 @@ impl AppointmentManagerForUser { pub fn ShowRemoveAppointmentWithPlacementAsync(&self, appointmentid: &windows_core::HSTRING, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1769,28 +1769,28 @@ impl AppointmentManagerForUser { pub fn ShowRemoveAppointmentWithPlacementAndDateAsync(&self, appointmentid: &windows_core::HSTRING, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: super::super::Foundation::DateTime) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAndDateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), selection, preferredplacement, instancestartdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowTimeFrameAsync(&self, timetoshow: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowTimeFrameAsync)(windows_core::Interface::as_raw(this), timetoshow, duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowAppointmentDetailsAsync(&self, appointmentid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAppointmentDetailsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowAppointmentDetailsWithDateAsync(&self, appointmentid: &windows_core::HSTRING, instancestartdate: super::super::Foundation::DateTime) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAppointmentDetailsWithDateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appointmentid), instancestartdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1800,14 +1800,14 @@ impl AppointmentManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowEditNewAppointmentAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestStoreAsync(&self, options: AppointmentStoreAccessType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1815,7 +1815,7 @@ impl AppointmentManagerForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1848,7 +1848,7 @@ impl AppointmentOrganizer { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1859,7 +1859,7 @@ impl AppointmentOrganizer { pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1884,158 +1884,158 @@ pub struct AppointmentProperties; impl AppointmentProperties { pub fn Subject() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Location() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Location)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn StartTime() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Duration() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Reminder() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reminder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BusyStatus() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BusyStatus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sensitivity() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sensitivity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OriginalStartTime() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OriginalStartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsResponseRequested() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsResponseRequested)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AllowNewTimeProposal() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowNewTimeProposal)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AllDay() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllDay)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Details() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Details)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OnlineMeetingLink() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OnlineMeetingLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ReplyTime() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplyTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Organizer() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Organizer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UserResponse() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserResponse)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HasInvitees() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasInvitees)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsCanceledMeeting() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceledMeeting)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsOrganizedByUser() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOrganizedByUser)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Recurrence() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recurrence)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Uri() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Invitees() -> windows_core::Result { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invitees)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn DefaultProperties() -> windows_core::Result> { Self::IAppointmentPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ChangeNumber() -> windows_core::Result { Self::IAppointmentPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RemoteChangeNumber() -> windows_core::Result { Self::IAppointmentPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteChangeNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DetailsKind() -> windows_core::Result { Self::IAppointmentPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetailsKind)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2068,7 +2068,7 @@ impl AppointmentRecurrence { pub fn Unit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2079,7 +2079,7 @@ impl AppointmentRecurrence { pub fn Occurrences(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Occurrences)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2093,7 +2093,7 @@ impl AppointmentRecurrence { pub fn Until(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Until)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2107,7 +2107,7 @@ impl AppointmentRecurrence { pub fn Interval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Interval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2118,7 +2118,7 @@ impl AppointmentRecurrence { pub fn DaysOfWeek(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DaysOfWeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2129,7 +2129,7 @@ impl AppointmentRecurrence { pub fn WeekOfMonth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WeekOfMonth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2140,7 +2140,7 @@ impl AppointmentRecurrence { pub fn Month(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Month)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2151,7 +2151,7 @@ impl AppointmentRecurrence { pub fn Day(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Day)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2162,14 +2162,14 @@ impl AppointmentRecurrence { pub fn RecurrenceType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecurrenceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TimeZone(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeZone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2180,7 +2180,7 @@ impl AppointmentRecurrence { pub fn CalendarIdentifier(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalendarIdentifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2205,35 +2205,35 @@ impl AppointmentStore { pub fn ChangeTracker(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeTracker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAppointmentCalendarAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAppointmentCalendarAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAppointmentCalendarAsync(&self, calendarid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppointmentCalendarAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(calendarid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAppointmentAsync(&self, localid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppointmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAppointmentInstanceAsync(&self, localid: &windows_core::HSTRING, instancestarttime: super::super::Foundation::DateTime) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppointmentInstanceAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), instancestarttime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2241,7 +2241,7 @@ impl AppointmentStore { pub fn FindAppointmentCalendarsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAppointmentCalendarsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2249,7 +2249,7 @@ impl AppointmentStore { pub fn FindAppointmentCalendarsAsyncWithOptions(&self, options: FindAppointmentCalendarsOptions) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAppointmentCalendarsAsyncWithOptions)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2257,7 +2257,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAppointmentsAsync)(windows_core::Interface::as_raw(this), rangestart, rangelength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2268,7 +2268,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAppointmentsAsyncWithOptions)(windows_core::Interface::as_raw(this), rangestart, rangelength, options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2278,7 +2278,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindConflictAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2288,7 +2288,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindConflictAsyncWithInstanceStart)(windows_core::Interface::as_raw(this), appointment.param().abi(), instancestarttime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2299,7 +2299,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveAppointmentAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), destinationcalendar.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2309,7 +2309,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAddAppointmentAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2319,7 +2319,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowReplaceAppointmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), appointment.param().abi(), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2330,14 +2330,14 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowReplaceAppointmentWithPlacementAndDateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), appointment.param().abi(), selection, preferredplacement, instancestartdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowRemoveAppointmentAsync(&self, localid: &windows_core::HSTRING, selection: super::super::Foundation::Rect) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowRemoveAppointmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2345,21 +2345,21 @@ impl AppointmentStore { pub fn ShowRemoveAppointmentWithPlacementAndDateAsync(&self, localid: &windows_core::HSTRING, selection: super::super::Foundation::Rect, preferredplacement: super::super::UI::Popups::Placement, instancestartdate: super::super::Foundation::DateTime) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowRemoveAppointmentWithPlacementAndDateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), selection, preferredplacement, instancestartdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowAppointmentDetailsAsync(&self, localid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAppointmentDetailsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowAppointmentDetailsWithDateAsync(&self, localid: &windows_core::HSTRING, instancestartdate: super::super::Foundation::DateTime) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAppointmentDetailsWithDateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localid), instancestartdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2369,7 +2369,7 @@ impl AppointmentStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowEditNewAppointmentAsync)(windows_core::Interface::as_raw(this), appointment.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2377,7 +2377,7 @@ impl AppointmentStore { pub fn FindLocalIdsFromRoamingIdAsync(&self, roamingid: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindLocalIdsFromRoamingIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(roamingid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2387,7 +2387,7 @@ impl AppointmentStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreChanged)(windows_core::Interface::as_raw(this), phandler.param().abi(), &mut result__).map(|| result__) } } @@ -2398,14 +2398,14 @@ impl AppointmentStore { pub fn CreateAppointmentCalendarInAccountAsync(&self, name: &windows_core::HSTRING, userdataaccountid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAppointmentCalendarInAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(userdataaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetChangeTracker(&self, identity: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangeTracker)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2430,21 +2430,21 @@ impl AppointmentStoreChange { pub fn Appointment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Appointment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChangeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppointmentCalendar(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentCalendar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2470,7 +2470,7 @@ impl AppointmentStoreChangeReader { pub fn ReadBatchAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2506,7 +2506,7 @@ impl AppointmentStoreChangeTracker { pub fn GetChangeReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangeReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2521,7 +2521,7 @@ impl AppointmentStoreChangeTracker { pub fn IsTracking(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTracking)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2568,7 +2568,7 @@ impl AppointmentStoreChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2618,7 +2618,7 @@ impl FindAppointmentsOptions { pub fn CalendarIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalendarIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2626,14 +2626,14 @@ impl FindAppointmentsOptions { pub fn FetchProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FetchProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IncludeHidden(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeHidden)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2644,7 +2644,7 @@ impl FindAppointmentsOptions { pub fn MaxCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs index 6b70b056e6..314d2fa9fc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs @@ -234,7 +234,7 @@ impl IBackgroundTaskRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IBackgroundTaskRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IBackgroundTaskRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBackgroundTaskRegistration_Impl::Name(this) { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index ce01a8bbfc..86b05e93b3 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -52,7 +52,7 @@ impl windows_core::RuntimeType for IAppBroadcastTriggerFactory { #[repr(C)] pub struct IAppBroadcastTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateAppBroadcastTrigger: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAppBroadcastTrigger: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppBroadcastTriggerProviderInfo, IAppBroadcastTriggerProviderInfo_Vtbl, 0xf219352d_9de8_4420_9ce2_5eff8f17376b); impl windows_core::RuntimeType for IAppBroadcastTriggerProviderInfo { @@ -61,10 +61,10 @@ impl windows_core::RuntimeType for IAppBroadcastTriggerProviderInfo { #[repr(C)] pub struct IAppBroadcastTriggerProviderInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetDisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLogoResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LogoResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLogoResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogoResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetVideoKeyFrameInterval: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub VideoKeyFrameInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetMaxVideoBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, @@ -111,7 +111,7 @@ windows_core::imp::define_interface!(IBackgroundCondition, IBackgroundCondition_ impl std::ops::Deref for IBackgroundCondition { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCondition, windows_core::IUnknown, windows_core::IInspectable); @@ -131,11 +131,11 @@ impl windows_core::RuntimeType for IBackgroundExecutionManagerStatics { pub struct IBackgroundExecutionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessForApplicationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessForApplicationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAccess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveAccessForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveAccessForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetAccessStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundAccessStatus) -> windows_core::HRESULT, - pub GetAccessStatusForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut BackgroundAccessStatus) -> windows_core::HRESULT, + pub GetAccessStatusForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut BackgroundAccessStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundExecutionManagerStatics2, IBackgroundExecutionManagerStatics2_Vtbl, 0x469b24ef_9bbb_4e18_999a_fd6512931be9); impl windows_core::RuntimeType for IBackgroundExecutionManagerStatics2 { @@ -144,7 +144,7 @@ impl windows_core::RuntimeType for IBackgroundExecutionManagerStatics2 { #[repr(C)] pub struct IBackgroundExecutionManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestAccessKindAsync: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundAccessRequestKind, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessKindAsync: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundAccessRequestKind, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundExecutionManagerStatics3, IBackgroundExecutionManagerStatics3_Vtbl, 0x98a5d3f6_5a25_5b6c_9192_d77a43dfedc4); impl windows_core::RuntimeType for IBackgroundExecutionManagerStatics3 { @@ -153,15 +153,15 @@ impl windows_core::RuntimeType for IBackgroundExecutionManagerStatics3 { #[repr(C)] pub struct IBackgroundExecutionManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestAccessKindForModernStandbyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundAccessRequestKind, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessKindForModernStandbyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundAccessRequestKind, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAccessStatusForModernStandby: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundAccessStatus) -> windows_core::HRESULT, - pub GetAccessStatusForModernStandbyForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut BackgroundAccessStatus) -> windows_core::HRESULT, + pub GetAccessStatusForModernStandbyForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut BackgroundAccessStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTask, IBackgroundTask_Vtbl, 0x7d13d534_fd12_43ce_8c22_ea1ff13c06df); impl std::ops::Deref for IBackgroundTask { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTask, windows_core::IUnknown, windows_core::IInspectable); @@ -189,12 +189,12 @@ impl windows_core::RuntimeType for IBackgroundTaskBuilder { #[repr(C)] pub struct IBackgroundTaskBuilder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetTaskEntryPoint: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TaskEntryPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTaskEntryPoint: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskEntryPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetTrigger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddCondition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTaskBuilder2, IBackgroundTaskBuilder2_Vtbl, 0x6ae7cfb1_104f_406d_8db6_844a570f42bb); @@ -259,7 +259,7 @@ windows_core::imp::define_interface!(IBackgroundTaskInstance, IBackgroundTaskIns impl std::ops::Deref for IBackgroundTaskInstance { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTaskInstance, windows_core::IUnknown, windows_core::IInspectable); @@ -267,21 +267,21 @@ impl IBackgroundTaskInstance { pub fn InstanceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Task(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Task)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -292,7 +292,7 @@ impl IBackgroundTaskInstance { pub fn TriggerDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -302,7 +302,7 @@ impl IBackgroundTaskInstance { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Canceled)(windows_core::Interface::as_raw(this), cancelhandler.param().abi(), &mut result__).map(|| result__) } } @@ -313,14 +313,14 @@ impl IBackgroundTaskInstance { pub fn SuspendedCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuspendedCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -345,7 +345,7 @@ windows_core::imp::define_interface!(IBackgroundTaskInstance2, IBackgroundTaskIn impl std::ops::Deref for IBackgroundTaskInstance2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTaskInstance2, windows_core::IUnknown, windows_core::IInspectable); @@ -354,28 +354,28 @@ impl IBackgroundTaskInstance2 { pub fn GetThrottleCount(&self, counter: BackgroundTaskThrottleCounter) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThrottleCount)(windows_core::Interface::as_raw(this), counter, &mut result__).map(|| result__) } } pub fn InstanceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Task(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Task)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -386,7 +386,7 @@ impl IBackgroundTaskInstance2 { pub fn TriggerDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -396,7 +396,7 @@ impl IBackgroundTaskInstance2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Canceled)(windows_core::Interface::as_raw(this), cancelhandler.param().abi(), &mut result__).map(|| result__) } } @@ -407,14 +407,14 @@ impl IBackgroundTaskInstance2 { pub fn SuspendedCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuspendedCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -431,7 +431,7 @@ windows_core::imp::define_interface!(IBackgroundTaskInstance4, IBackgroundTaskIn impl std::ops::Deref for IBackgroundTaskInstance4 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTaskInstance4, windows_core::IUnknown, windows_core::IInspectable); @@ -441,28 +441,28 @@ impl IBackgroundTaskInstance4 { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstanceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Task(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Task)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -473,7 +473,7 @@ impl IBackgroundTaskInstance4 { pub fn TriggerDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -483,7 +483,7 @@ impl IBackgroundTaskInstance4 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Canceled)(windows_core::Interface::as_raw(this), cancelhandler.param().abi(), &mut result__).map(|| result__) } } @@ -494,14 +494,14 @@ impl IBackgroundTaskInstance4 { pub fn SuspendedCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuspendedCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -531,7 +531,7 @@ windows_core::imp::define_interface!(IBackgroundTaskRegistration, IBackgroundTas impl std::ops::Deref for IBackgroundTaskRegistration { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTaskRegistration, windows_core::IUnknown, windows_core::IInspectable); @@ -539,14 +539,14 @@ impl IBackgroundTaskRegistration { pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -556,7 +556,7 @@ impl IBackgroundTaskRegistration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -570,7 +570,7 @@ impl IBackgroundTaskRegistration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -590,7 +590,7 @@ impl windows_core::RuntimeType for IBackgroundTaskRegistration { pub struct IBackgroundTaskRegistration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Progress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveProgress: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Completed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -601,7 +601,7 @@ windows_core::imp::define_interface!(IBackgroundTaskRegistration2, IBackgroundTa impl std::ops::Deref for IBackgroundTaskRegistration2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTaskRegistration2, windows_core::IUnknown, windows_core::IInspectable); @@ -610,21 +610,21 @@ impl IBackgroundTaskRegistration2 { pub fn Trigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Trigger)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TaskId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -634,7 +634,7 @@ impl IBackgroundTaskRegistration2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -648,7 +648,7 @@ impl IBackgroundTaskRegistration2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -673,7 +673,7 @@ windows_core::imp::define_interface!(IBackgroundTaskRegistration3, IBackgroundTa impl std::ops::Deref for IBackgroundTaskRegistration3 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTaskRegistration3, windows_core::IUnknown, windows_core::IInspectable); @@ -682,21 +682,21 @@ impl IBackgroundTaskRegistration3 { pub fn TaskGroup(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TaskId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -706,7 +706,7 @@ impl IBackgroundTaskRegistration3 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -720,7 +720,7 @@ impl IBackgroundTaskRegistration3 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -748,8 +748,8 @@ impl windows_core::RuntimeType for IBackgroundTaskRegistrationGroup { #[repr(C)] pub struct IBackgroundTaskRegistrationGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel_Activation")] pub BackgroundActivated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_Activation"))] @@ -767,8 +767,8 @@ impl windows_core::RuntimeType for IBackgroundTaskRegistrationGroupFactory { #[repr(C)] pub struct IBackgroundTaskRegistrationGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTaskRegistrationStatics, IBackgroundTaskRegistrationStatics_Vtbl, 0x4c542f69_b000_42ba_a093_6a563c65e3f8); impl windows_core::RuntimeType for IBackgroundTaskRegistrationStatics { @@ -793,13 +793,13 @@ pub struct IBackgroundTaskRegistrationStatics2_Vtbl { pub AllTaskGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AllTaskGroups: usize, - pub GetTaskGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTaskGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTrigger, IBackgroundTrigger_Vtbl, 0x84b3a058_6027_4b87_9790_bdf3f757dbd7); impl std::ops::Deref for IBackgroundTrigger { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTrigger, windows_core::IUnknown, windows_core::IInspectable); @@ -968,7 +968,7 @@ impl windows_core::RuntimeType for ICustomSystemEventTrigger { #[repr(C)] pub struct ICustomSystemEventTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TriggerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TriggerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Recurrence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CustomSystemEventTriggerRecurrence) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICustomSystemEventTriggerFactory, ICustomSystemEventTriggerFactory_Vtbl, 0x6bcb16c5_f2dc_41b2_9efd_b96bdcd13ced); @@ -978,7 +978,7 @@ impl windows_core::RuntimeType for ICustomSystemEventTriggerFactory { #[repr(C)] pub struct ICustomSystemEventTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, CustomSystemEventTriggerRecurrence, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, CustomSystemEventTriggerRecurrence, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceConnectionChangeTrigger, IDeviceConnectionChangeTrigger_Vtbl, 0x90875e64_3cdd_4efb_ab1c_5b3b6a60ce34); impl windows_core::RuntimeType for IDeviceConnectionChangeTrigger { @@ -987,7 +987,7 @@ impl windows_core::RuntimeType for IDeviceConnectionChangeTrigger { #[repr(C)] pub struct IDeviceConnectionChangeTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CanMaintainConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub MaintainConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetMaintainConnection: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -999,7 +999,7 @@ impl windows_core::RuntimeType for IDeviceConnectionChangeTriggerStatics { #[repr(C)] pub struct IDeviceConnectionChangeTriggerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IDeviceManufacturerNotificationTrigger, IDeviceManufacturerNotificationTrigger_Vtbl, 0x81278ab5_41ab_16da_86c2_7f7bf0912f5b); @@ -1012,7 +1012,7 @@ impl windows_core::RuntimeType for IDeviceManufacturerNotificationTrigger { pub struct IDeviceManufacturerNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub TriggerQualifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TriggerQualifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] TriggerQualifier: usize, #[cfg(feature = "deprecated")] @@ -1031,7 +1031,7 @@ impl windows_core::RuntimeType for IDeviceManufacturerNotificationTriggerFactory pub struct IDeviceManufacturerNotificationTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Create: usize, } @@ -1042,8 +1042,8 @@ impl windows_core::RuntimeType for IDeviceServicingTrigger { #[repr(C)] pub struct IDeviceServicingTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestAsyncSimple: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAsyncWithArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::TimeSpan, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAsyncSimple: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAsyncWithArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::TimeSpan, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceUseTrigger, IDeviceUseTrigger_Vtbl, 0x0da68011_334f_4d57_b6ec_6dca64b412e4); impl windows_core::RuntimeType for IDeviceUseTrigger { @@ -1052,8 +1052,8 @@ impl windows_core::RuntimeType for IDeviceUseTrigger { #[repr(C)] pub struct IDeviceUseTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestAsyncSimple: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAsyncWithArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAsyncSimple: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAsyncWithArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceWatcherTrigger, IDeviceWatcherTrigger_Vtbl, 0xa4617fdd_8573_4260_befc_5bec89cb693d); impl windows_core::RuntimeType for IDeviceWatcherTrigger { @@ -1126,7 +1126,7 @@ impl windows_core::RuntimeType for IGattServiceProviderTrigger { #[repr(C)] pub struct IGattServiceProviderTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TriggerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TriggerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Devices_Bluetooth_GenericAttributeProfile")] pub Service: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Bluetooth_GenericAttributeProfile"))] @@ -1160,7 +1160,7 @@ impl windows_core::RuntimeType for IGattServiceProviderTriggerStatics { #[repr(C)] pub struct IGattServiceProviderTriggerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGeovisitTrigger, IGeovisitTrigger_Vtbl, 0x4818edaa_04e1_4127_9a4c_19351b8a80a4); impl windows_core::RuntimeType for IGeovisitTrigger { @@ -1243,7 +1243,7 @@ impl windows_core::RuntimeType for INetworkOperatorNotificationTrigger { #[repr(C)] pub struct INetworkOperatorNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkOperatorNotificationTriggerFactory, INetworkOperatorNotificationTriggerFactory_Vtbl, 0x0a223e00_27d7_4353_adb9_9265aaea579d); impl windows_core::RuntimeType for INetworkOperatorNotificationTriggerFactory { @@ -1252,7 +1252,7 @@ impl windows_core::RuntimeType for INetworkOperatorNotificationTriggerFactory { #[repr(C)] pub struct INetworkOperatorNotificationTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneTrigger, IPhoneTrigger_Vtbl, 0x8dcfe99b_d4c5_49f1_b7d3_82e87a0e9dde); impl windows_core::RuntimeType for IPhoneTrigger { @@ -1286,7 +1286,7 @@ impl windows_core::RuntimeType for IPushNotificationTriggerFactory { #[repr(C)] pub struct IPushNotificationTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRcsEndUserMessageAvailableTrigger, IRcsEndUserMessageAvailableTrigger_Vtbl, 0x986d0d6a_b2f6_467f_a978_a44091c11a66); impl windows_core::RuntimeType for IRcsEndUserMessageAvailableTrigger { @@ -1505,7 +1505,7 @@ impl windows_core::RuntimeType for IToastNotificationActionTriggerFactory { #[repr(C)] pub struct IToastNotificationActionTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastNotificationHistoryChangedTriggerFactory, IToastNotificationHistoryChangedTriggerFactory_Vtbl, 0x81c6faad_8797_4785_81b4_b0cccb73d1d9); impl windows_core::RuntimeType for IToastNotificationHistoryChangedTriggerFactory { @@ -1514,7 +1514,7 @@ impl windows_core::RuntimeType for IToastNotificationHistoryChangedTriggerFactor #[repr(C)] pub struct IToastNotificationHistoryChangedTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserNotificationChangedTriggerFactory, IUserNotificationChangedTriggerFactory_Vtbl, 0xcad4436c_69ab_4e18_a48a_5ed2ac435957); impl windows_core::RuntimeType for IUserNotificationChangedTriggerFactory { @@ -1538,14 +1538,14 @@ impl ActivitySensorTrigger { pub fn SubscribedActivities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscribedActivities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1553,20 +1553,20 @@ impl ActivitySensorTrigger { pub fn SupportedActivities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedActivities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(reportintervalinmilliseconds: u32) -> windows_core::Result { Self::IActivitySensorTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), reportintervalinmilliseconds, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1592,13 +1592,13 @@ pub struct AlarmApplicationManager; impl AlarmApplicationManager { pub fn RequestAccessAsync() -> windows_core::Result> { Self::IAlarmApplicationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetAccessStatus() -> windows_core::Result { Self::IAlarmApplicationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAccessStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1627,13 +1627,13 @@ impl AppBroadcastTrigger { pub fn ProviderInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAppBroadcastTrigger(providerkey: &windows_core::HSTRING) -> windows_core::Result { Self::IAppBroadcastTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAppBroadcastTrigger)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(providerkey), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1667,7 +1667,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn DisplayNameResource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayNameResource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1678,7 +1678,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn LogoResource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogoResource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1689,7 +1689,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn VideoKeyFrameInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoKeyFrameInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1700,7 +1700,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn MaxVideoBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxVideoBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1711,7 +1711,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn MaxVideoWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxVideoWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1722,7 +1722,7 @@ impl AppBroadcastTriggerProviderInfo { pub fn MaxVideoHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxVideoHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1755,7 +1755,7 @@ impl ApplicationTrigger { pub fn RequestAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1766,7 +1766,7 @@ impl ApplicationTrigger { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAsyncWithArguments)(windows_core::Interface::as_raw(this), arguments.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1792,7 +1792,7 @@ impl ApplicationTriggerDetails { pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1839,13 +1839,13 @@ pub struct BackgroundExecutionManager; impl BackgroundExecutionManager { pub fn RequestAccessAsync() -> windows_core::Result> { Self::IBackgroundExecutionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestAccessForApplicationAsync(applicationid: &windows_core::HSTRING) -> windows_core::Result> { Self::IBackgroundExecutionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessForApplicationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1857,37 +1857,37 @@ impl BackgroundExecutionManager { } pub fn GetAccessStatus() -> windows_core::Result { Self::IBackgroundExecutionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAccessStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GetAccessStatusForApplication(applicationid: &windows_core::HSTRING) -> windows_core::Result { Self::IBackgroundExecutionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAccessStatusForApplication)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).map(|| result__) }) } pub fn RequestAccessKindAsync(requestedaccess: BackgroundAccessRequestKind, reason: &windows_core::HSTRING) -> windows_core::Result> { Self::IBackgroundExecutionManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessKindAsync)(windows_core::Interface::as_raw(this), requestedaccess, core::mem::transmute_copy(reason), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestAccessKindForModernStandbyAsync(requestedaccess: BackgroundAccessRequestKind, reason: &windows_core::HSTRING) -> windows_core::Result> { Self::IBackgroundExecutionManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessKindForModernStandbyAsync)(windows_core::Interface::as_raw(this), requestedaccess, core::mem::transmute_copy(reason), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetAccessStatusForModernStandby() -> windows_core::Result { Self::IBackgroundExecutionManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAccessStatusForModernStandby)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GetAccessStatusForModernStandbyForApplication(applicationid: &windows_core::HSTRING) -> windows_core::Result { Self::IBackgroundExecutionManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAccessStatusForModernStandbyForApplication)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).map(|| result__) }) } @@ -1929,7 +1929,7 @@ impl BackgroundTaskBuilder { pub fn TaskEntryPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskEntryPoint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1954,14 +1954,14 @@ impl BackgroundTaskBuilder { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Register(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Register)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1972,7 +1972,7 @@ impl BackgroundTaskBuilder { pub fn CancelOnConditionLoss(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CancelOnConditionLoss)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1983,14 +1983,14 @@ impl BackgroundTaskBuilder { pub fn IsNetworkRequested(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNetworkRequested)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TaskGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2024,7 +2024,7 @@ impl BackgroundTaskCompletedEventArgs { pub fn InstanceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2075,14 +2075,14 @@ impl BackgroundTaskProgressEventArgs { pub fn InstanceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2108,14 +2108,14 @@ impl BackgroundTaskRegistration { pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2125,7 +2125,7 @@ impl BackgroundTaskRegistration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2139,7 +2139,7 @@ impl BackgroundTaskRegistration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2154,34 +2154,34 @@ impl BackgroundTaskRegistration { pub fn Trigger(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Trigger)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TaskGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn AllTasks() -> windows_core::Result> { Self::IBackgroundTaskRegistrationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllTasks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn AllTaskGroups() -> windows_core::Result> { Self::IBackgroundTaskRegistrationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllTaskGroups)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetTaskGroup(groupid: &windows_core::HSTRING) -> windows_core::Result { Self::IBackgroundTaskRegistrationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTaskGroup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(groupid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2216,14 +2216,14 @@ impl BackgroundTaskRegistrationGroup { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2234,7 +2234,7 @@ impl BackgroundTaskRegistrationGroup { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundActivated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2246,19 +2246,19 @@ impl BackgroundTaskRegistrationGroup { pub fn AllTasks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllTasks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(id: &windows_core::HSTRING) -> windows_core::Result { Self::IBackgroundTaskRegistrationGroupFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithName(id: &windows_core::HSTRING, name: &windows_core::HSTRING) -> windows_core::Result { Self::IBackgroundTaskRegistrationGroupFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2284,7 +2284,7 @@ pub struct BackgroundWorkCost; impl BackgroundWorkCost { pub fn CurrentBackgroundWorkCost() -> windows_core::Result { Self::IBackgroundWorkCostStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentBackgroundWorkCost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -2314,14 +2314,14 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn Advertisement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Advertisement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreferredTransmitPowerLevelInDBm(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredTransmitPowerLevelInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2335,7 +2335,7 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn UseExtendedFormat(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UseExtendedFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2346,7 +2346,7 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn IsAnonymous(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAnonymous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2357,7 +2357,7 @@ impl BluetoothLEAdvertisementPublisherTrigger { pub fn IncludeTransmitPowerLevel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeTransmitPowerLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2394,28 +2394,28 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn MinSamplingInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinSamplingInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxSamplingInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSamplingInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinOutOfRangeTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinOutOfRangeTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxOutOfRangeTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxOutOfRangeTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2423,7 +2423,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn SignalStrengthFilter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalStrengthFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2439,7 +2439,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn AdvertisementFilter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisementFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2454,7 +2454,7 @@ impl BluetoothLEAdvertisementWatcherTrigger { pub fn AllowExtendedAdvertisements(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowExtendedAdvertisements)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2510,7 +2510,7 @@ impl CachedFileUpdaterTriggerDetails { pub fn UpdateTarget(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateTarget)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2518,14 +2518,14 @@ impl CachedFileUpdaterTriggerDetails { pub fn UpdateRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanRequestUserInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRequestUserInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2662,13 +2662,13 @@ impl ContentPrefetchTrigger { pub fn WaitInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WaitInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(waitinterval: super::super::Foundation::TimeSpan) -> windows_core::Result { Self::IContentPrefetchTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), waitinterval, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2721,20 +2721,20 @@ impl CustomSystemEventTrigger { pub fn TriggerId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Recurrence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recurrence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(triggerid: &windows_core::HSTRING, recurrence: CustomSystemEventTriggerRecurrence) -> windows_core::Result { Self::ICustomSystemEventTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(triggerid), recurrence, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2763,21 +2763,21 @@ impl DeviceConnectionChangeTrigger { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanMaintainConnection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanMaintainConnection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaintainConnection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaintainConnection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2787,7 +2787,7 @@ impl DeviceConnectionChangeTrigger { } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IDeviceConnectionChangeTriggerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2823,7 +2823,7 @@ impl DeviceManufacturerNotificationTrigger { pub fn TriggerQualifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerQualifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2831,14 +2831,14 @@ impl DeviceManufacturerNotificationTrigger { pub fn OneShot(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OneShot)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } #[cfg(feature = "deprecated")] pub fn Create(triggerqualifier: &windows_core::HSTRING, oneshot: bool) -> windows_core::Result { Self::IDeviceManufacturerNotificationTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(triggerqualifier), oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2878,14 +2878,14 @@ impl DeviceServicingTrigger { pub fn RequestAsyncSimple(&self, deviceid: &windows_core::HSTRING, expectedduration: super::super::Foundation::TimeSpan) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAsyncSimple)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), expectedduration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestAsyncWithArguments(&self, deviceid: &windows_core::HSTRING, expectedduration: super::super::Foundation::TimeSpan, arguments: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAsyncWithArguments)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), expectedduration, core::mem::transmute_copy(arguments), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2918,14 +2918,14 @@ impl DeviceUseTrigger { pub fn RequestAsyncSimple(&self, deviceid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAsyncSimple)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestAsyncWithArguments(&self, deviceid: &windows_core::HSTRING, arguments: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAsyncWithArguments)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), core::mem::transmute_copy(arguments), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2994,7 +2994,7 @@ impl GattCharacteristicNotificationTrigger { pub fn Characteristic(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Characteristic)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3002,7 +3002,7 @@ impl GattCharacteristicNotificationTrigger { pub fn EventTriggeringMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EventTriggeringMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3012,7 +3012,7 @@ impl GattCharacteristicNotificationTrigger { P0: windows_core::Param, { Self::IGattCharacteristicNotificationTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), characteristic.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3022,7 +3022,7 @@ impl GattCharacteristicNotificationTrigger { P0: windows_core::Param, { Self::IGattCharacteristicNotificationTriggerFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithEventTriggeringMode)(windows_core::Interface::as_raw(this), characteristic.param().abi(), eventtriggeringmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3058,7 +3058,7 @@ impl GattServiceProviderTrigger { pub fn TriggerId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3066,7 +3066,7 @@ impl GattServiceProviderTrigger { pub fn Service(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Service)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3082,13 +3082,13 @@ impl GattServiceProviderTrigger { pub fn AdvertisingParameters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisingParameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAsync(triggerid: &windows_core::HSTRING, serviceuuid: windows_core::GUID) -> windows_core::Result> { Self::IGattServiceProviderTriggerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(triggerid), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3118,7 +3118,7 @@ impl GattServiceProviderTriggerResult { pub fn Trigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Trigger)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3126,7 +3126,7 @@ impl GattServiceProviderTriggerResult { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3160,7 +3160,7 @@ impl GeovisitTrigger { pub fn MonitoringScope(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonitoringScope)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3191,13 +3191,13 @@ impl LocationTrigger { pub fn TriggerType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(triggertype: LocationTriggerType) -> windows_core::Result { Self::ILocationTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), triggertype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3228,20 +3228,20 @@ impl MaintenanceTrigger { pub fn FreshnessTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FreshnessTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OneShot(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OneShot)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(freshnesstime: u32, oneshot: bool) -> windows_core::Result { Self::IMaintenanceTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), freshnesstime, oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3277,7 +3277,7 @@ impl MediaProcessingTrigger { pub fn RequestAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3288,7 +3288,7 @@ impl MediaProcessingTrigger { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAsyncWithArguments)(windows_core::Interface::as_raw(this), arguments.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3492,13 +3492,13 @@ impl NetworkOperatorNotificationTrigger { pub fn NetworkAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(networkaccountid: &windows_core::HSTRING) -> windows_core::Result { Self::INetworkOperatorNotificationTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3553,7 +3553,7 @@ impl PhoneTrigger { pub fn OneShot(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OneShot)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3561,14 +3561,14 @@ impl PhoneTrigger { pub fn TriggerType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), r#type, oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3605,7 +3605,7 @@ impl PushNotificationTrigger { } pub fn Create(applicationid: &windows_core::HSTRING) -> windows_core::Result { Self::IPushNotificationTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3670,7 +3670,7 @@ impl RfcommConnectionTrigger { pub fn InboundConnection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InboundConnection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3678,14 +3678,14 @@ impl RfcommConnectionTrigger { pub fn OutboundConnection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundConnection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AllowMultipleConnections(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowMultipleConnections)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3697,7 +3697,7 @@ impl RfcommConnectionTrigger { pub fn ProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3710,7 +3710,7 @@ impl RfcommConnectionTrigger { pub fn RemoteHostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteHostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3778,7 +3778,7 @@ impl SensorDataThresholdTrigger { P0: windows_core::Param, { Self::ISensorDataThresholdTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), threshold.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3810,14 +3810,14 @@ impl SmartCardTrigger { pub fn TriggerType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } #[cfg(feature = "Devices_SmartCards")] pub fn Create(triggertype: super::super::Devices::SmartCards::SmartCardTriggerType) -> windows_core::Result { Self::ISmartCardTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), triggertype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3849,7 +3849,7 @@ impl SmsMessageReceivedTrigger { P0: windows_core::Param, { Self::ISmsMessageReceivedTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), filterrules.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3887,7 +3887,7 @@ impl SocketActivityTrigger { pub fn IsWakeFromLowPowerSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWakeFromLowPowerSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3916,7 +3916,7 @@ impl StorageLibraryChangeTrackerTrigger { P0: windows_core::Param, { Self::IStorageLibraryChangeTrackerTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), tracker.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3950,7 +3950,7 @@ impl StorageLibraryContentChangedTrigger { P0: windows_core::Param, { Self::IStorageLibraryContentChangedTriggerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), storagelibrary.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3960,7 +3960,7 @@ impl StorageLibraryContentChangedTrigger { P0: windows_core::Param>, { Self::IStorageLibraryContentChangedTriggerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromLibraries)(windows_core::Interface::as_raw(this), storagelibraries.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3989,13 +3989,13 @@ impl SystemCondition { pub fn ConditionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConditionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(conditiontype: SystemConditionType) -> windows_core::Result { Self::ISystemConditionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), conditiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4024,20 +4024,20 @@ impl SystemTrigger { pub fn OneShot(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OneShot)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TriggerType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(triggertype: SystemTriggerType, oneshot: bool) -> windows_core::Result { Self::ISystemTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), triggertype, oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4092,20 +4092,20 @@ impl TimeTrigger { pub fn FreshnessTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FreshnessTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OneShot(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OneShot)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(freshnesstime: u32, oneshot: bool) -> windows_core::Result { Self::ITimeTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), freshnesstime, oneshot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4140,7 +4140,7 @@ impl ToastNotificationActionTrigger { } pub fn Create(applicationid: &windows_core::HSTRING) -> windows_core::Result { Self::IToastNotificationActionTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4177,7 +4177,7 @@ impl ToastNotificationHistoryChangedTrigger { } pub fn Create(applicationid: &windows_core::HSTRING) -> windows_core::Result { Self::IToastNotificationHistoryChangedTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4208,7 +4208,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), notificationkinds, &mut result__).and_then(|| windows_core::Type::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 769759bd67..ad240d4d31 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IPhoneCallBlockedTriggerDetails { #[repr(C)] pub struct IPhoneCallBlockedTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub CallBlockedReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallBlockedReason) -> windows_core::HRESULT, } @@ -24,7 +24,7 @@ pub struct IPhoneCallOriginDataRequestTriggerDetails_Vtbl { #[cfg(not(feature = "deprecated"))] RequestId: usize, #[cfg(feature = "deprecated")] - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] PhoneNumber: usize, } @@ -43,11 +43,11 @@ pub struct IPhoneIncomingCallDismissedTriggerDetails_Vtbl { #[cfg(not(feature = "deprecated"))] LineId: usize, #[cfg(feature = "deprecated")] - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] PhoneNumber: usize, #[cfg(feature = "deprecated")] - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DisplayName: usize, #[cfg(feature = "deprecated")] @@ -55,7 +55,7 @@ pub struct IPhoneIncomingCallDismissedTriggerDetails_Vtbl { #[cfg(not(feature = "deprecated"))] DismissalTime: usize, #[cfg(feature = "deprecated")] - pub TextReplyMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TextReplyMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] TextReplyMessage: usize, #[cfg(feature = "deprecated")] @@ -71,7 +71,7 @@ impl windows_core::RuntimeType for IPhoneIncomingCallNotificationTriggerDetails pub struct IPhoneIncomingCallNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub CallId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneLineChangedTriggerDetails, IPhoneLineChangedTriggerDetails_Vtbl, 0xc6d321e7_d11d_40d8_b2b7_e40a01d66249); impl windows_core::RuntimeType for IPhoneLineChangedTriggerDetails { @@ -93,7 +93,7 @@ pub struct IPhoneNewVoicemailMessageTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub VoicemailCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub OperatorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OperatorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -103,21 +103,21 @@ impl PhoneCallBlockedTriggerDetails { pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CallBlockedReason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallBlockedReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -146,7 +146,7 @@ impl PhoneCallOriginDataRequestTriggerDetails { pub fn RequestId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -154,7 +154,7 @@ impl PhoneCallOriginDataRequestTriggerDetails { pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -188,7 +188,7 @@ impl PhoneIncomingCallDismissedTriggerDetails { pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -196,7 +196,7 @@ impl PhoneIncomingCallDismissedTriggerDetails { pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -204,7 +204,7 @@ impl PhoneIncomingCallDismissedTriggerDetails { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -212,7 +212,7 @@ impl PhoneIncomingCallDismissedTriggerDetails { pub fn DismissalTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DismissalTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -220,7 +220,7 @@ impl PhoneIncomingCallDismissedTriggerDetails { pub fn TextReplyMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextReplyMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -228,7 +228,7 @@ impl PhoneIncomingCallDismissedTriggerDetails { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -258,14 +258,14 @@ impl PhoneIncomingCallNotificationTriggerDetails { pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CallId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -290,21 +290,21 @@ impl PhoneLineChangedTriggerDetails { pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ChangeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasLinePropertyChanged(&self, lineproperty: PhoneLineProperties) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasLinePropertyChanged)(windows_core::Interface::as_raw(this), lineproperty, &mut result__).map(|| result__) } } @@ -329,21 +329,21 @@ impl PhoneNewVoicemailMessageTriggerDetails { pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VoicemailCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VoicemailCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OperatorMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperatorMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 1a9e7fde2f..72a4508c8e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs @@ -9,27 +9,27 @@ impl windows_core::RuntimeType for IPhoneCallOrigin { pub struct IPhoneCallOrigin_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Category: usize, #[cfg(feature = "deprecated")] - pub SetCategory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCategory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetCategory: usize, #[cfg(feature = "deprecated")] - pub CategoryDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CategoryDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] CategoryDescription: usize, #[cfg(feature = "deprecated")] - pub SetCategoryDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCategoryDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetCategoryDescription: usize, #[cfg(feature = "deprecated")] - pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Location: usize, #[cfg(feature = "deprecated")] - pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetLocation: usize, } @@ -44,11 +44,11 @@ impl windows_core::RuntimeType for IPhoneCallOrigin2 { pub struct IPhoneCallOrigin2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DisplayName: usize, #[cfg(feature = "deprecated")] - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetDisplayName: usize, } @@ -143,7 +143,7 @@ impl PhoneCallOrigin { pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -156,7 +156,7 @@ impl PhoneCallOrigin { pub fn CategoryDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CategoryDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -169,7 +169,7 @@ impl PhoneCallOrigin { pub fn Location(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Location)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -182,7 +182,7 @@ impl PhoneCallOrigin { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -195,7 +195,7 @@ impl PhoneCallOrigin { pub fn DisplayPicture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayPicture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -232,7 +232,7 @@ impl PhoneCallOriginManager { #[cfg(feature = "deprecated")] pub fn IsCurrentAppActiveCallOriginApp() -> windows_core::Result { Self::IPhoneCallOriginManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCurrentAppActiveCallOriginApp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -250,14 +250,14 @@ impl PhoneCallOriginManager { #[cfg(feature = "deprecated")] pub fn RequestSetAsActiveCallOriginAppAsync() -> windows_core::Result> { Self::IPhoneCallOriginManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSetAsActiveCallOriginAppAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn IsSupported() -> windows_core::Result { Self::IPhoneCallOriginManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs index 5c7cecb360..e42c61573a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs @@ -60,8 +60,8 @@ pub struct ILockScreenCallUI_Vtbl { pub RemoveEndRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Closed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveClosed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub CallTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCallTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCallTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMuteChangeEventArgs, IMuteChangeEventArgs_Vtbl, 0x8585e159_0c41_432c_814d_c5f1fdf530be); impl windows_core::RuntimeType for IMuteChangeEventArgs { @@ -85,7 +85,7 @@ pub struct IPhoneCall_Vtbl { pub RemoveAudioDeviceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub IsMutedChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveIsMutedChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub CallId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsMuted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallStatus) -> windows_core::HRESULT, pub AudioDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallAudioDevice) -> windows_core::HRESULT, @@ -133,7 +133,7 @@ impl windows_core::RuntimeType for IPhoneCallHistoryEntry { #[repr(C)] pub struct IPhoneCallHistoryEntry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -158,11 +158,11 @@ pub struct IPhoneCallHistoryEntry_Vtbl { pub SetMedia: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneCallHistoryEntryMedia) -> windows_core::HRESULT, pub OtherAppReadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallHistoryEntryOtherAppReadAccess) -> windows_core::HRESULT, pub SetOtherAppReadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneCallHistoryEntryOtherAppReadAccess) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SourceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSourceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSourceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SourceIdKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallHistorySourceIdKind) -> windows_core::HRESULT, pub SetSourceIdKind: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneCallHistorySourceIdKind) -> windows_core::HRESULT, pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, @@ -175,12 +175,12 @@ impl windows_core::RuntimeType for IPhoneCallHistoryEntryAddress { #[repr(C)] pub struct IPhoneCallHistoryEntryAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContactId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContactId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RawAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRawAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContactId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RawAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRawAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RawAddressKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallHistoryEntryRawAddressKind) -> windows_core::HRESULT, pub SetRawAddressKind: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneCallHistoryEntryRawAddressKind) -> windows_core::HRESULT, } @@ -191,7 +191,7 @@ impl windows_core::RuntimeType for IPhoneCallHistoryEntryAddressFactory { #[repr(C)] pub struct IPhoneCallHistoryEntryAddressFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PhoneCallHistoryEntryRawAddressKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PhoneCallHistoryEntryRawAddressKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneCallHistoryEntryQueryOptions, IPhoneCallHistoryEntryQueryOptions_Vtbl, 0x9c5fe15c_8bed_40ca_b06e_c4ca8eae5c87); impl windows_core::RuntimeType for IPhoneCallHistoryEntryQueryOptions { @@ -260,7 +260,7 @@ impl windows_core::RuntimeType for IPhoneCallHistoryStore { #[repr(C)] pub struct IPhoneCallHistoryStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetEntryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetEntryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEntryReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEntryReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveEntryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -295,8 +295,8 @@ pub struct IPhoneCallInfo_Vtbl { pub LineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub IsHoldSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CallDirection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallDirection) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneCallManagerStatics, IPhoneCallManagerStatics_Vtbl, 0x60edac78_78a6_4872_a3ef_98325ec8b843); @@ -306,7 +306,7 @@ impl windows_core::RuntimeType for IPhoneCallManagerStatics { #[repr(C)] pub struct IPhoneCallManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ShowPhoneCallUI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShowPhoneCallUI: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneCallManagerStatics2, IPhoneCallManagerStatics2_Vtbl, 0xc7e3c8bc_2370_431c_98fd_43be5f03086d); impl windows_core::RuntimeType for IPhoneCallManagerStatics2 { @@ -329,7 +329,7 @@ impl windows_core::RuntimeType for IPhoneCallStatics { #[repr(C)] pub struct IPhoneCallStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetFromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneCallStore, IPhoneCallStore_Vtbl, 0x5f610748_18a6_4173_86d1_28be9dc62dba); impl windows_core::RuntimeType for IPhoneCallStore { @@ -338,7 +338,7 @@ impl windows_core::RuntimeType for IPhoneCallStore { #[repr(C)] pub struct IPhoneCallStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsEmergencyPhoneNumberAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsEmergencyPhoneNumberAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultLineAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestLineWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -358,7 +358,7 @@ impl windows_core::RuntimeType for IPhoneCallVideoCapabilitiesManagerStatics { #[repr(C)] pub struct IPhoneCallVideoCapabilitiesManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetCapabilitiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCapabilitiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneCallsResult, IPhoneCallsResult_Vtbl, 0x1bfad365_57cf_57dd_986d_b057c91eac33); impl windows_core::RuntimeType for IPhoneCallsResult { @@ -380,10 +380,10 @@ impl windows_core::RuntimeType for IPhoneDialOptions { #[repr(C)] pub struct IPhoneDialOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Number: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Number: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel_Contacts")] pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_Contacts"))] @@ -420,17 +420,17 @@ pub struct IPhoneLine_Vtbl { #[cfg(not(feature = "UI"))] DisplayColor: usize, pub NetworkState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneNetworkState) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Voicemail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub NetworkName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CellularDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Transport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneLineTransport) -> windows_core::HRESULT, pub CanDial: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SupportsTile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub VideoCallingCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LineConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub IsImmediateDialNumberAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Dial: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsImmediateDialNumberAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Dial: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DialWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneLine2, IPhoneLine2_Vtbl, 0x0167f56a_5344_5d64_8af3_a31a950e916a); @@ -444,7 +444,7 @@ pub struct IPhoneLine2_Vtbl { pub EnableTextReply: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] EnableTextReply: usize, - pub TransportDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneLine3, IPhoneLine3_Vtbl, 0xe2e33cf7_2406_57f3_826a_e5a5f40d6fb5); impl windows_core::RuntimeType for IPhoneLine3 { @@ -453,8 +453,8 @@ impl windows_core::RuntimeType for IPhoneLine3 { #[repr(C)] pub struct IPhoneLine3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DialWithResult: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DialWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DialWithResult: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DialWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAllActivePhoneCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAllActivePhoneCallsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -469,7 +469,7 @@ pub struct IPhoneLineCellularDetails_Vtbl { pub SimSlotIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsModemOn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub RegistrationRejectCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetNetworkOperatorDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneLineNetworkOperatorDisplayTextLocation, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNetworkOperatorDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneLineNetworkOperatorDisplayTextLocation, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneLineConfiguration, IPhoneLineConfiguration_Vtbl, 0xfe265862_f64f_4312_b2a8_4e257721aa95); impl windows_core::RuntimeType for IPhoneLineConfiguration { @@ -510,7 +510,7 @@ impl windows_core::RuntimeType for IPhoneLineTransportDevice { #[repr(C)] pub struct IPhoneLineTransportDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Transport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneLineTransport) -> windows_core::HRESULT, #[cfg(feature = "Devices_Enumeration")] pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -551,9 +551,9 @@ impl windows_core::RuntimeType for IPhoneLineTransportDeviceStatics { #[repr(C)] pub struct IPhoneLineTransportDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorForPhoneLineTransport: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneLineTransport, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorForPhoneLineTransport: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneLineTransport, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneLineWatcher, IPhoneLineWatcher_Vtbl, 0x8a45cd0a_6323_44e0_a6f6_9f21f64dc90a); impl windows_core::RuntimeType for IPhoneLineWatcher { @@ -592,7 +592,7 @@ impl windows_core::RuntimeType for IPhoneVoicemail { #[repr(C)] pub struct IPhoneVoicemail_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Number: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Number: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MessageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneVoicemailType) -> windows_core::HRESULT, pub DialVoicemailAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -604,15 +604,15 @@ impl windows_core::RuntimeType for IVoipCallCoordinator { #[repr(C)] pub struct IVoipCallCoordinator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ReserveCallResourcesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReserveCallResourcesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MuteStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMuteStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub RequestNewIncomingCall: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, VoipPhoneCallMedia, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestNewOutgoingCall: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, VoipPhoneCallMedia, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestNewIncomingCall: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, VoipPhoneCallMedia, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestNewOutgoingCall: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, VoipPhoneCallMedia, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyMuted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyUnmuted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestOutgoingUpgradeToVideoCall: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestIncomingUpgradeToVideoCall: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestOutgoingUpgradeToVideoCall: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestIncomingUpgradeToVideoCall: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TerminateCellularCall: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub CancelUpgrade: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } @@ -623,7 +623,7 @@ impl windows_core::RuntimeType for IVoipCallCoordinator2 { #[repr(C)] pub struct IVoipCallCoordinator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetupNewAcceptedCall: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, VoipPhoneCallMedia, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetupNewAcceptedCall: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, VoipPhoneCallMedia, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVoipCallCoordinator3, IVoipCallCoordinator3_Vtbl, 0x338d0cbf_9b55_4021_87ca_e64b9bd666c7); impl windows_core::RuntimeType for IVoipCallCoordinator3 { @@ -632,8 +632,8 @@ impl windows_core::RuntimeType for IVoipCallCoordinator3 { #[repr(C)] pub struct IVoipCallCoordinator3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestNewAppInitiatedCall: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, VoipPhoneCallMedia, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestNewIncomingCallWithContactRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, VoipPhoneCallMedia, super::super::Foundation::TimeSpan, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestNewAppInitiatedCall: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, VoipPhoneCallMedia, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestNewIncomingCallWithContactRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, VoipPhoneCallMedia, super::super::Foundation::TimeSpan, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVoipCallCoordinator4, IVoipCallCoordinator4_Vtbl, 0x83737239_9311_468f_bb49_47e0dfb5d93e); impl windows_core::RuntimeType for IVoipCallCoordinator4 { @@ -673,8 +673,8 @@ pub struct IVoipPhoneCall_Vtbl { pub NotifyCallHeld: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyCallActive: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyCallEnded: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ContactName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContactName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContactName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub CallMedia: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VoipPhoneCallMedia) -> windows_core::HRESULT, @@ -707,7 +707,7 @@ impl CallAnswerEventArgs { pub fn AcceptedMedia(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptedMedia)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -732,7 +732,7 @@ impl CallRejectEventArgs { pub fn RejectReason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RejectReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -757,7 +757,7 @@ impl CallStateChangeEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -804,14 +804,14 @@ impl LockScreenCallEndRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -843,7 +843,7 @@ impl LockScreenCallUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -857,7 +857,7 @@ impl LockScreenCallUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -868,7 +868,7 @@ impl LockScreenCallUI { pub fn CallTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -897,7 +897,7 @@ impl MuteChangeEventArgs { pub fn Muted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Muted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -925,7 +925,7 @@ impl PhoneCall { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -939,7 +939,7 @@ impl PhoneCall { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioDeviceChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -953,7 +953,7 @@ impl PhoneCall { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMutedChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -964,174 +964,174 @@ impl PhoneCall { pub fn CallId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsMuted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMuted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AudioDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioDevice)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPhoneCallInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPhoneCallInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPhoneCallInfoAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPhoneCallInfoAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn End(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).End)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SendDtmfKey(&self, key: DtmfKey, dtmftoneaudioplayback: DtmfToneAudioPlayback) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendDtmfKey)(windows_core::Interface::as_raw(this), key, dtmftoneaudioplayback, &mut result__).map(|| result__) } } pub fn SendDtmfKeyAsync(&self, key: DtmfKey, dtmftoneaudioplayback: DtmfToneAudioPlayback) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendDtmfKeyAsync)(windows_core::Interface::as_raw(this), key, dtmftoneaudioplayback, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AcceptIncoming(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptIncoming)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AcceptIncomingAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptIncomingAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Hold(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hold)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HoldAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResumeFromHold(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResumeFromHold)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResumeFromHoldAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResumeFromHoldAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Mute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MuteAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MuteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Unmute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unmute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UnmuteAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnmuteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RejectIncoming(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RejectIncoming)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RejectIncomingAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RejectIncomingAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChangeAudioDevice(&self, endpoint: PhoneCallAudioDevice) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeAudioDevice)(windows_core::Interface::as_raw(this), endpoint, &mut result__).map(|| result__) } } pub fn ChangeAudioDeviceAsync(&self, endpoint: PhoneCallAudioDevice) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeAudioDeviceAsync)(windows_core::Interface::as_raw(this), endpoint, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFromId(callid: &windows_core::HSTRING) -> windows_core::Result { Self::IPhoneCallStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(callid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1157,7 +1157,7 @@ pub struct PhoneCallBlocking; impl PhoneCallBlocking { pub fn BlockUnknownNumbers() -> windows_core::Result { Self::IPhoneCallBlockingStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlockUnknownNumbers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1166,7 +1166,7 @@ impl PhoneCallBlocking { } pub fn BlockPrivateNumbers() -> windows_core::Result { Self::IPhoneCallBlockingStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlockPrivateNumbers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1179,7 +1179,7 @@ impl PhoneCallBlocking { P0: windows_core::Param>, { Self::IPhoneCallBlockingStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetCallBlockingListAsync)(windows_core::Interface::as_raw(this), phonenumberlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1207,14 +1207,14 @@ impl PhoneCallHistoryEntry { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1228,7 +1228,7 @@ impl PhoneCallHistoryEntry { pub fn Duration(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1242,7 +1242,7 @@ impl PhoneCallHistoryEntry { pub fn IsCallerIdBlocked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCallerIdBlocked)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1253,7 +1253,7 @@ impl PhoneCallHistoryEntry { pub fn IsEmergency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEmergency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1264,7 +1264,7 @@ impl PhoneCallHistoryEntry { pub fn IsIncoming(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIncoming)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1275,7 +1275,7 @@ impl PhoneCallHistoryEntry { pub fn IsMissed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMissed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1286,7 +1286,7 @@ impl PhoneCallHistoryEntry { pub fn IsRinging(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRinging)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1297,7 +1297,7 @@ impl PhoneCallHistoryEntry { pub fn IsSeen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSeen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1308,7 +1308,7 @@ impl PhoneCallHistoryEntry { pub fn IsSuppressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSuppressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1319,7 +1319,7 @@ impl PhoneCallHistoryEntry { pub fn IsVoicemail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVoicemail)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1330,7 +1330,7 @@ impl PhoneCallHistoryEntry { pub fn Media(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Media)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1341,7 +1341,7 @@ impl PhoneCallHistoryEntry { pub fn OtherAppReadAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppReadAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1352,7 +1352,7 @@ impl PhoneCallHistoryEntry { pub fn RemoteId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1363,14 +1363,14 @@ impl PhoneCallHistoryEntry { pub fn SourceDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1381,7 +1381,7 @@ impl PhoneCallHistoryEntry { pub fn SourceIdKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceIdKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1392,7 +1392,7 @@ impl PhoneCallHistoryEntry { pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1428,7 +1428,7 @@ impl PhoneCallHistoryEntryAddress { pub fn ContactId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1439,7 +1439,7 @@ impl PhoneCallHistoryEntryAddress { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1450,7 +1450,7 @@ impl PhoneCallHistoryEntryAddress { pub fn RawAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1461,7 +1461,7 @@ impl PhoneCallHistoryEntryAddress { pub fn RawAddressKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawAddressKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1471,7 +1471,7 @@ impl PhoneCallHistoryEntryAddress { } pub fn Create(rawaddress: &windows_core::HSTRING, rawaddresskind: PhoneCallHistoryEntryRawAddressKind) -> windows_core::Result { Self::IPhoneCallHistoryEntryAddressFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(rawaddress), rawaddresskind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1508,7 +1508,7 @@ impl PhoneCallHistoryEntryQueryOptions { pub fn DesiredMedia(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredMedia)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1520,7 +1520,7 @@ impl PhoneCallHistoryEntryQueryOptions { pub fn SourceIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1546,7 +1546,7 @@ impl PhoneCallHistoryEntryReader { pub fn ReadBatchAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1567,7 +1567,7 @@ pub struct PhoneCallHistoryManager; impl PhoneCallHistoryManager { pub fn RequestStoreAsync(accesstype: PhoneCallHistoryStoreAccessType) -> windows_core::Result> { Self::IPhoneCallHistoryManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), accesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1577,7 +1577,7 @@ impl PhoneCallHistoryManager { P0: windows_core::Param, { Self::IPhoneCallHistoryManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1603,7 +1603,7 @@ impl PhoneCallHistoryManagerForUser { pub fn RequestStoreAsync(&self, accesstype: PhoneCallHistoryStoreAccessType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), accesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1611,7 +1611,7 @@ impl PhoneCallHistoryManagerForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1636,14 +1636,14 @@ impl PhoneCallHistoryStore { pub fn GetEntryAsync(&self, callhistoryentryid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEntryAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(callhistoryentryid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetEntryReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEntryReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1653,7 +1653,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEntryReaderWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1663,7 +1663,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveEntryAsync)(windows_core::Interface::as_raw(this), callhistoryentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1673,7 +1673,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteEntryAsync)(windows_core::Interface::as_raw(this), callhistoryentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1684,7 +1684,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteEntriesAsync)(windows_core::Interface::as_raw(this), callhistoryentries.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1694,7 +1694,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkEntryAsSeenAsync)(windows_core::Interface::as_raw(this), callhistoryentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1705,21 +1705,21 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkEntriesAsSeenAsync)(windows_core::Interface::as_raw(this), callhistoryentries.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetUnseenCountAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUnseenCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MarkAllAsSeenAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkAllAsSeenAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1730,7 +1730,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSourcesUnseenCountAsync)(windows_core::Interface::as_raw(this), sourceids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1741,7 +1741,7 @@ impl PhoneCallHistoryStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkSourcesAsSeenAsync)(windows_core::Interface::as_raw(this), sourceids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1766,42 +1766,42 @@ impl PhoneCallInfo { pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHoldSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHoldSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CallDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1828,7 +1828,7 @@ impl PhoneCallManager { P0: windows_core::Param>, { Self::IPhoneCallManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1837,13 +1837,13 @@ impl PhoneCallManager { } pub fn IsCallActive() -> windows_core::Result { Self::IPhoneCallManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCallActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsCallIncoming() -> windows_core::Result { Self::IPhoneCallManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCallIncoming)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1852,7 +1852,7 @@ impl PhoneCallManager { } pub fn RequestStoreAsync() -> windows_core::Result> { Self::IPhoneCallManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1878,21 +1878,21 @@ impl PhoneCallStore { pub fn IsEmergencyPhoneNumberAsync(&self, number: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEmergencyPhoneNumberAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefaultLineAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultLineAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestLineWatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestLineWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1917,7 +1917,7 @@ impl PhoneCallVideoCapabilities { pub fn IsVideoCallingCapable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVideoCallingCapable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1938,7 +1938,7 @@ pub struct PhoneCallVideoCapabilitiesManager; impl PhoneCallVideoCapabilitiesManager { pub fn GetCapabilitiesAsync(phonenumber: &windows_core::HSTRING) -> windows_core::Result> { Self::IPhoneCallVideoCapabilitiesManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCapabilitiesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(phonenumber), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1959,7 +1959,7 @@ impl PhoneCallsResult { pub fn OperationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1967,7 +1967,7 @@ impl PhoneCallsResult { pub fn AllActivePhoneCalls(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllActivePhoneCalls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1999,7 +1999,7 @@ impl PhoneDialOptions { pub fn Number(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Number)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2010,7 +2010,7 @@ impl PhoneDialOptions { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2022,7 +2022,7 @@ impl PhoneDialOptions { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2038,7 +2038,7 @@ impl PhoneDialOptions { pub fn ContactPhone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactPhone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2053,7 +2053,7 @@ impl PhoneDialOptions { pub fn Media(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Media)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2064,7 +2064,7 @@ impl PhoneDialOptions { pub fn AudioEndpoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEndpoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2096,7 +2096,7 @@ impl PhoneLine { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2107,7 +2107,7 @@ impl PhoneLine { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2115,84 +2115,84 @@ impl PhoneLine { pub fn DisplayColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NetworkState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Voicemail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Voicemail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Transport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Transport)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanDial(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanDial)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SupportsTile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsTile)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideoCallingCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoCallingCapabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LineConfiguration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsImmediateDialNumberAsync(&self, number: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsImmediateDialNumberAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2215,41 +2215,41 @@ impl PhoneLine { pub fn TransportDeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DialWithResult(&self, number: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DialWithResult)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DialWithResultAsync(&self, number: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DialWithResultAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAllActivePhoneCalls(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllActivePhoneCalls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAllActivePhoneCallsAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllActivePhoneCallsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(lineid: windows_core::GUID) -> windows_core::Result> { Self::IPhoneLineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), lineid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2279,35 +2279,35 @@ impl PhoneLineCellularDetails { pub fn SimState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SimSlotIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimSlotIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsModemOn(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsModemOn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RegistrationRejectCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegistrationRejectCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetNetworkOperatorDisplayText(&self, location: PhoneLineNetworkOperatorDisplayTextLocation) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNetworkOperatorDisplayText)(windows_core::Interface::as_raw(this), location, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2332,7 +2332,7 @@ impl PhoneLineConfiguration { pub fn IsVideoCallingEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVideoCallingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2340,7 +2340,7 @@ impl PhoneLineConfiguration { pub fn ExtendedProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2365,14 +2365,14 @@ impl PhoneLineDialResult { pub fn DialCallStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DialCallStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DialedCall(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DialedCall)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2397,14 +2397,14 @@ impl PhoneLineTransportDevice { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Transport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Transport)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2412,7 +2412,7 @@ impl PhoneLineTransportDevice { pub fn RequestAccessAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2443,28 +2443,28 @@ impl PhoneLineTransportDevice { pub fn IsRegistered(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRegistered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Connect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConnectAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AudioRoutingStatus(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioRoutingStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2474,7 +2474,7 @@ impl PhoneLineTransportDevice { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioRoutingStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2485,7 +2485,7 @@ impl PhoneLineTransportDevice { pub fn InBandRingingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InBandRingingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2495,7 +2495,7 @@ impl PhoneLineTransportDevice { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InBandRingingEnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2505,19 +2505,19 @@ impl PhoneLineTransportDevice { } pub fn FromId(id: &windows_core::HSTRING) -> windows_core::Result { Self::IPhoneLineTransportDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IPhoneLineTransportDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorForPhoneLineTransport(transport: PhoneLineTransport) -> windows_core::Result { Self::IPhoneLineTransportDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorForPhoneLineTransport)(windows_core::Interface::as_raw(this), transport, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2558,7 +2558,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineAdded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2572,7 +2572,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2586,7 +2586,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2600,7 +2600,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2614,7 +2614,7 @@ impl PhoneLineWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2625,7 +2625,7 @@ impl PhoneLineWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2650,7 +2650,7 @@ impl PhoneLineWatcherEventArgs { pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2675,28 +2675,28 @@ impl PhoneVoicemail { pub fn Number(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Number)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MessageCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DialVoicemailAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DialVoicemailAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2721,7 +2721,7 @@ impl VoipCallCoordinator { pub fn ReserveCallResourcesAsync(&self, taskentrypoint: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReserveCallResourcesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(taskentrypoint), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2731,7 +2731,7 @@ impl VoipCallCoordinator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MuteStateChanged)(windows_core::Interface::as_raw(this), mutechangehandler.param().abi(), &mut result__).map(|| result__) } } @@ -2747,14 +2747,14 @@ impl VoipCallCoordinator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestNewIncomingCall)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(context), core::mem::transmute_copy(contactname), core::mem::transmute_copy(contactnumber), contactimage.param().abi(), core::mem::transmute_copy(servicename), brandingimage.param().abi(), core::mem::transmute_copy(calldetails), ringtone.param().abi(), media, ringtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestNewOutgoingCall(&self, context: &windows_core::HSTRING, contactname: &windows_core::HSTRING, servicename: &windows_core::HSTRING, media: VoipPhoneCallMedia) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestNewOutgoingCall)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(context), core::mem::transmute_copy(contactname), core::mem::transmute_copy(servicename), media, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2769,7 +2769,7 @@ impl VoipCallCoordinator { pub fn RequestOutgoingUpgradeToVideoCall(&self, callupgradeguid: windows_core::GUID, context: &windows_core::HSTRING, contactname: &windows_core::HSTRING, servicename: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestOutgoingUpgradeToVideoCall)(windows_core::Interface::as_raw(this), callupgradeguid, core::mem::transmute_copy(context), core::mem::transmute_copy(contactname), core::mem::transmute_copy(servicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2781,7 +2781,7 @@ impl VoipCallCoordinator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestIncomingUpgradeToVideoCall)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(context), core::mem::transmute_copy(contactname), core::mem::transmute_copy(contactnumber), contactimage.param().abi(), core::mem::transmute_copy(servicename), brandingimage.param().abi(), core::mem::transmute_copy(calldetails), ringtone.param().abi(), ringtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2796,14 +2796,14 @@ impl VoipCallCoordinator { pub fn SetupNewAcceptedCall(&self, context: &windows_core::HSTRING, contactname: &windows_core::HSTRING, contactnumber: &windows_core::HSTRING, servicename: &windows_core::HSTRING, media: VoipPhoneCallMedia) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetupNewAcceptedCall)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(context), core::mem::transmute_copy(contactname), core::mem::transmute_copy(contactnumber), core::mem::transmute_copy(servicename), media, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestNewAppInitiatedCall(&self, context: &windows_core::HSTRING, contactname: &windows_core::HSTRING, contactnumber: &windows_core::HSTRING, servicename: &windows_core::HSTRING, media: VoipPhoneCallMedia) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestNewAppInitiatedCall)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(context), core::mem::transmute_copy(contactname), core::mem::transmute_copy(contactnumber), core::mem::transmute_copy(servicename), media, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2815,20 +2815,20 @@ impl VoipCallCoordinator { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestNewIncomingCallWithContactRemoteId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(context), core::mem::transmute_copy(contactname), core::mem::transmute_copy(contactnumber), contactimage.param().abi(), core::mem::transmute_copy(servicename), brandingimage.param().abi(), core::mem::transmute_copy(calldetails), ringtone.param().abi(), media, ringtimeout, core::mem::transmute_copy(contactremoteid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReserveOneProcessCallResourcesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReserveOneProcessCallResourcesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IVoipCallCoordinatorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2861,7 +2861,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2875,7 +2875,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2889,7 +2889,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResumeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2903,7 +2903,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnswerRequested)(windows_core::Interface::as_raw(this), accepthandler.param().abi(), &mut result__).map(|| result__) } } @@ -2917,7 +2917,7 @@ impl VoipPhoneCall { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RejectRequested)(windows_core::Interface::as_raw(this), rejecthandler.param().abi(), &mut result__).map(|| result__) } } @@ -2940,7 +2940,7 @@ impl VoipPhoneCall { pub fn ContactName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2951,7 +2951,7 @@ impl VoipPhoneCall { pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2962,7 +2962,7 @@ impl VoipPhoneCall { pub fn CallMedia(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallMedia)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs index cb56f874ea..ae2d9840fb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs @@ -18,8 +18,8 @@ impl windows_core::RuntimeType for IChatCapabilitiesManagerStatics { #[repr(C)] pub struct IChatCapabilitiesManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetCachedCapabilitiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCapabilitiesFromNetworkAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCachedCapabilitiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCapabilitiesFromNetworkAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatCapabilitiesManagerStatics2, IChatCapabilitiesManagerStatics2_Vtbl, 0xe30d4274_d5c1_4ac9_9ffc_40e69184fec8); impl windows_core::RuntimeType for IChatCapabilitiesManagerStatics2 { @@ -28,8 +28,8 @@ impl windows_core::RuntimeType for IChatCapabilitiesManagerStatics2 { #[repr(C)] pub struct IChatCapabilitiesManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetCachedCapabilitiesForTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCapabilitiesFromNetworkForTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCachedCapabilitiesForTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCapabilitiesFromNetworkForTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatConversation, IChatConversation_Vtbl, 0xa58c080d_1a6f_46dc_8f3d_f5028660b6ee); impl windows_core::RuntimeType for IChatConversation { @@ -39,12 +39,12 @@ impl windows_core::RuntimeType for IChatConversation { pub struct IChatConversation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HasUnreadMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsConversationMuted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsConversationMuted: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub MostRecentMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MostRecentMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Participants: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -55,8 +55,8 @@ pub struct IChatConversation_Vtbl { pub MarkAllMessagesAsReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MarkMessagesAsReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub NotifyLocalParticipantComposing: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, bool) -> windows_core::HRESULT, - pub NotifyRemoteParticipantComposing: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, bool) -> windows_core::HRESULT, + pub NotifyLocalParticipantComposing: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, bool) -> windows_core::HRESULT, + pub NotifyRemoteParticipantComposing: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, bool) -> windows_core::HRESULT, pub RemoteParticipantComposingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRemoteParticipantComposingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -93,12 +93,12 @@ impl windows_core::RuntimeType for IChatConversationThreadingInfo { #[repr(C)] pub struct IChatConversationThreadingInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContactId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContactId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Custom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCustom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConversationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetConversationId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContactId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Custom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCustom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConversationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetConversationId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Participants: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -110,7 +110,7 @@ windows_core::imp::define_interface!(IChatItem, IChatItem_Vtbl, 0x8751d000_ceb1_ impl std::ops::Deref for IChatItem { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IChatItem, windows_core::IUnknown, windows_core::IInspectable); @@ -118,7 +118,7 @@ impl IChatItem { pub fn ItemKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -142,10 +142,10 @@ pub struct IChatMessage_Vtbl { pub Attachments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Attachments: usize, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsForwardingDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsIncoming: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsRead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -160,10 +160,10 @@ pub struct IChatMessage_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RecipientSendStatuses: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ChatMessageStatus) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TransportFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTransportId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTransportId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessage2, IChatMessage2_Vtbl, 0x86668332_543f_49f5_ac71_6c2afc6565fd); impl windows_core::RuntimeType for IChatMessage2 { @@ -174,7 +174,7 @@ pub struct IChatMessage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub EstimatedDownloadSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub SetEstimatedDownloadSize: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, - pub SetFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsAutoReply: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsAutoReply: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SetIsForwardingDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -192,9 +192,9 @@ pub struct IChatMessage2_Vtbl { pub SetNetworkTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub IsReceivedDuringQuietHours: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsReceivedDuringQuietHours: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, ChatMessageStatus) -> windows_core::HRESULT, - pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ShouldSuppressNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetShouldSuppressNotification: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ThreadingInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -211,7 +211,7 @@ impl windows_core::RuntimeType for IChatMessage3 { #[repr(C)] pub struct IChatMessage3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessage4, IChatMessage4_Vtbl, 0x2d144b0f_d2bf_460c_aa68_6d3f8483c9bf); impl windows_core::RuntimeType for IChatMessage4 { @@ -220,8 +220,8 @@ impl windows_core::RuntimeType for IChatMessage4 { #[repr(C)] pub struct IChatMessage4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SyncId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSyncId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SyncId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSyncId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessageAttachment, IChatMessageAttachment_Vtbl, 0xc7c4fd74_bf63_58eb_508c_8b863ff16b67); impl windows_core::RuntimeType for IChatMessageAttachment { @@ -240,10 +240,10 @@ pub struct IChatMessageAttachment_Vtbl { SetDataStreamReference: usize, pub GroupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetGroupId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub MimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMimeType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMimeType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessageAttachment2, IChatMessageAttachment2_Vtbl, 0x5ed99270_7dd1_4a87_a8ce_acdd87d80dc8); impl windows_core::RuntimeType for IChatMessageAttachment2 { @@ -262,8 +262,8 @@ pub struct IChatMessageAttachment2_Vtbl { SetThumbnail: usize, pub TransferProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetTransferProgress: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, - pub OriginalFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOriginalFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OriginalFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOriginalFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessageAttachmentFactory, IChatMessageAttachmentFactory_Vtbl, 0x205852a2_a356_5b71_6ca9_66c985b7d0d5); impl windows_core::RuntimeType for IChatMessageAttachmentFactory { @@ -273,7 +273,7 @@ impl windows_core::RuntimeType for IChatMessageAttachmentFactory { pub struct IChatMessageAttachmentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage_Streams")] - pub CreateChatMessageAttachment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateChatMessageAttachment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateChatMessageAttachment: usize, } @@ -284,7 +284,7 @@ impl windows_core::RuntimeType for IChatMessageBlockingStatic { #[repr(C)] pub struct IChatMessageBlockingStatic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub MarkMessageAsBlockedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MarkMessageAsBlockedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessageChange, IChatMessageChange_Vtbl, 0x1c18c355_421e_54b8_6d38_6b3a6c82fccc); impl windows_core::RuntimeType for IChatMessageChange { @@ -347,7 +347,7 @@ impl windows_core::RuntimeType for IChatMessageManager2Statics { pub struct IChatMessageManager2Statics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RegisterTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessageManagerStatic, IChatMessageManagerStatic_Vtbl, 0xf15c60f7_d5e8_5e92_556d_e03b60253104); impl windows_core::RuntimeType for IChatMessageManagerStatic { @@ -426,13 +426,13 @@ impl windows_core::RuntimeType for IChatMessageStore { pub struct IChatMessageStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DownloadMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DownloadMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMessageReader1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMessageReader2: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MarkMessageReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RetrySendMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MarkMessageReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RetrySendMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SendMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ValidateMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MessageChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -446,12 +446,12 @@ impl windows_core::RuntimeType for IChatMessageStore2 { pub struct IChatMessageStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub ForwardMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ForwardMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ForwardMessageAsync: usize, - pub GetConversationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetConversationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub GetConversationForTransportsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetConversationForTransportsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetConversationForTransportsAsync: usize, pub GetConversationFromThreadingInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -460,7 +460,7 @@ pub struct IChatMessageStore2_Vtbl { pub GetConversationForTransportsReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetConversationForTransportsReader: usize, - pub GetMessageByRemoteIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessageByRemoteIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetUnseenCountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetUnseenCountForTransportsReaderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -473,8 +473,8 @@ pub struct IChatMessageStore2_Vtbl { MarkAsSeenForTransportsAsync: usize, pub GetSearchReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryCancelDownloadMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryCancelSendMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryCancelDownloadMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryCancelSendMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StoreChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStoreChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -485,7 +485,7 @@ impl windows_core::RuntimeType for IChatMessageStore3 { #[repr(C)] pub struct IChatMessageStore3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetMessageBySyncIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessageBySyncIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessageStoreChangedEventArgs, IChatMessageStoreChangedEventArgs_Vtbl, 0x65c66fac_fe8c_46d4_9119_57b8410311d5); impl windows_core::RuntimeType for IChatMessageStoreChangedEventArgs { @@ -494,7 +494,7 @@ impl windows_core::RuntimeType for IChatMessageStoreChangedEventArgs { #[repr(C)] pub struct IChatMessageStoreChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ChatStoreChangedEventKind) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessageTransport, IChatMessageTransport_Vtbl, 0x63a9dbf8_e6b3_5c9a_5f85_d47925b9bd18); @@ -506,8 +506,8 @@ pub struct IChatMessageTransport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsAppSetAsNotificationProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub TransportFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestSetAsNotificationProviderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatMessageTransport2, IChatMessageTransport2_Vtbl, 0x90a75622_d84a_4c22_a94d_544444edc8a1); @@ -558,8 +558,8 @@ impl windows_core::RuntimeType for IChatQueryOptions { #[repr(C)] pub struct IChatQueryOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SearchString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSearchString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SearchString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSearchString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatRecipientDeliveryInfo, IChatRecipientDeliveryInfo_Vtbl, 0xffc7b2a2_283c_4c0a_8a0e_8c33bdbf0545); impl windows_core::RuntimeType for IChatRecipientDeliveryInfo { @@ -568,8 +568,8 @@ impl windows_core::RuntimeType for IChatRecipientDeliveryInfo { #[repr(C)] pub struct IChatRecipientDeliveryInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TransportAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTransportAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTransportAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeliveryTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDeliveryTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReadTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -635,16 +635,16 @@ impl windows_core::RuntimeType for IRcsEndUserMessage { #[repr(C)] pub struct IRcsEndUserMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsPinRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Actions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Actions: usize, pub SendResponseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SendResponseWithPinAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SendResponseWithPinAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRcsEndUserMessageAction, IRcsEndUserMessageAction_Vtbl, 0x92378737_9b42_46d3_9d5e_3c1b2dae7cb8); impl windows_core::RuntimeType for IRcsEndUserMessageAction { @@ -653,7 +653,7 @@ impl windows_core::RuntimeType for IRcsEndUserMessageAction { #[repr(C)] pub struct IRcsEndUserMessageAction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRcsEndUserMessageAvailableEventArgs, IRcsEndUserMessageAvailableEventArgs_Vtbl, 0x2d45ae01_3f89_41ea_9702_9e9ed411aa98); impl windows_core::RuntimeType for IRcsEndUserMessageAvailableEventArgs { @@ -672,8 +672,8 @@ impl windows_core::RuntimeType for IRcsEndUserMessageAvailableTriggerDetails { #[repr(C)] pub struct IRcsEndUserMessageAvailableTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRcsEndUserMessageManager, IRcsEndUserMessageManager_Vtbl, 0x3054ae5a_4d1f_4b59_9433_126c734e86a6); impl windows_core::RuntimeType for IRcsEndUserMessageManager { @@ -697,7 +697,7 @@ pub struct IRcsManagerStatics_Vtbl { pub GetTransportsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetTransportsAsync: usize, - pub GetTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LeaveConversationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRcsManagerStatics2, IRcsManagerStatics2_Vtbl, 0xcd49ad18_ad8a_42aa_8eeb_a798a8808959); @@ -731,8 +731,8 @@ pub struct IRcsTransport_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ExtendedProperties: usize, pub IsActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub TransportFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Configuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsStoreAndForwardEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, RcsServiceKind, *mut bool) -> windows_core::HRESULT, pub IsServiceKindSupported: unsafe extern "system" fn(*mut core::ffi::c_void, RcsServiceKind, *mut bool) -> windows_core::HRESULT, @@ -760,8 +760,8 @@ impl windows_core::RuntimeType for IRemoteParticipantComposingChangedEventArgs { #[repr(C)] pub struct IRemoteParticipantComposingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ParticipantAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParticipantAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsComposing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } #[repr(transparent)] @@ -772,35 +772,35 @@ impl ChatCapabilities { pub fn IsOnline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOnline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsChatCapable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsChatCapable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsFileTransferCapable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFileTransferCapable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGeoLocationPushCapable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGeoLocationPushCapable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsIntegratedMessagingCapable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIntegratedMessagingCapable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -821,25 +821,25 @@ pub struct ChatCapabilitiesManager; impl ChatCapabilitiesManager { pub fn GetCachedCapabilitiesAsync(address: &windows_core::HSTRING) -> windows_core::Result> { Self::IChatCapabilitiesManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCachedCapabilitiesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(address), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetCapabilitiesFromNetworkAsync(address: &windows_core::HSTRING) -> windows_core::Result> { Self::IChatCapabilitiesManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCapabilitiesFromNetworkAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(address), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetCachedCapabilitiesForTransportAsync(address: &windows_core::HSTRING, transportid: &windows_core::HSTRING) -> windows_core::Result> { Self::IChatCapabilitiesManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCachedCapabilitiesForTransportAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(address), core::mem::transmute_copy(transportid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetCapabilitiesFromNetworkForTransportAsync(address: &windows_core::HSTRING, transportid: &windows_core::HSTRING) -> windows_core::Result> { Self::IChatCapabilitiesManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCapabilitiesFromNetworkForTransportAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(address), core::mem::transmute_copy(transportid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -866,21 +866,21 @@ impl ChatConversation { pub fn HasUnreadMessages(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasUnreadMessages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -891,7 +891,7 @@ impl ChatConversation { pub fn IsConversationMuted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConversationMuted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -902,7 +902,7 @@ impl ChatConversation { pub fn MostRecentMessageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MostRecentMessageId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -910,49 +910,49 @@ impl ChatConversation { pub fn Participants(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Participants)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ThreadingInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThreadingInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MarkAllMessagesAsReadAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkAllMessagesAsReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MarkMessagesAsReadAsync(&self, value: super::super::Foundation::DateTime) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkMessagesAsReadAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -970,7 +970,7 @@ impl ChatConversation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteParticipantComposingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -981,7 +981,7 @@ impl ChatConversation { pub fn CanModifyParticipants(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanModifyParticipants)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -992,7 +992,7 @@ impl ChatConversation { pub fn ItemKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1018,7 +1018,7 @@ impl ChatConversationReader { pub fn ReadBatchAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1026,7 +1026,7 @@ impl ChatConversationReader { pub fn ReadBatchWithCountAsync(&self, count: i32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchWithCountAsync)(windows_core::Interface::as_raw(this), count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1058,7 +1058,7 @@ impl ChatConversationThreadingInfo { pub fn ContactId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1069,7 +1069,7 @@ impl ChatConversationThreadingInfo { pub fn Custom(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Custom)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1080,7 +1080,7 @@ impl ChatConversationThreadingInfo { pub fn ConversationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConversationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1092,14 +1092,14 @@ impl ChatConversationThreadingInfo { pub fn Participants(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Participants)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1136,7 +1136,7 @@ impl ChatMessage { pub fn ItemKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1144,14 +1144,14 @@ impl ChatMessage { pub fn Attachments(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attachments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1162,49 +1162,49 @@ impl ChatMessage { pub fn From(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsForwardingDisabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsForwardingDisabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsIncoming(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIncoming)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRead(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LocalTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NetworkTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1212,7 +1212,7 @@ impl ChatMessage { pub fn Recipients(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recipients)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1220,35 +1220,35 @@ impl ChatMessage { pub fn RecipientSendStatuses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecipientSendStatuses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TransportFriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportFriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TransportId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1259,7 +1259,7 @@ impl ChatMessage { pub fn EstimatedDownloadSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EstimatedDownloadSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1274,7 +1274,7 @@ impl ChatMessage { pub fn IsAutoReply(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAutoReply)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1289,7 +1289,7 @@ impl ChatMessage { pub fn IsReplyDisabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReplyDisabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1304,7 +1304,7 @@ impl ChatMessage { pub fn IsSeen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSeen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1315,7 +1315,7 @@ impl ChatMessage { pub fn IsSimMessage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSimMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1326,7 +1326,7 @@ impl ChatMessage { pub fn MessageKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1337,7 +1337,7 @@ impl ChatMessage { pub fn MessageOperatorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageOperatorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1352,7 +1352,7 @@ impl ChatMessage { pub fn IsReceivedDuringQuietHours(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReceivedDuringQuietHours)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1375,7 +1375,7 @@ impl ChatMessage { pub fn ShouldSuppressNotification(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldSuppressNotification)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1386,7 +1386,7 @@ impl ChatMessage { pub fn ThreadingInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThreadingInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1401,21 +1401,21 @@ impl ChatMessage { pub fn RecipientsDeliveryInfos(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecipientsDeliveryInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SyncId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1445,7 +1445,7 @@ impl ChatMessageAttachment { pub fn DataStreamReference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataStreamReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1460,7 +1460,7 @@ impl ChatMessageAttachment { pub fn GroupId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GroupId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1471,7 +1471,7 @@ impl ChatMessageAttachment { pub fn MimeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MimeType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1482,7 +1482,7 @@ impl ChatMessageAttachment { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1494,7 +1494,7 @@ impl ChatMessageAttachment { pub fn Thumbnail(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1509,7 +1509,7 @@ impl ChatMessageAttachment { pub fn TransferProgress(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransferProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1520,7 +1520,7 @@ impl ChatMessageAttachment { pub fn OriginalFileName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OriginalFileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1534,7 +1534,7 @@ impl ChatMessageAttachment { P0: windows_core::Param, { Self::IChatMessageAttachmentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateChatMessageAttachment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(mimetype), datastreamreference.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1560,7 +1560,7 @@ pub struct ChatMessageBlocking; impl ChatMessageBlocking { pub fn MarkMessageAsBlockedAsync(localchatmessageid: &windows_core::HSTRING, blocked: bool) -> windows_core::Result { Self::IChatMessageBlockingStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkMessageAsBlockedAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localchatmessageid), blocked, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1581,14 +1581,14 @@ impl ChatMessageChange { pub fn ChangeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1625,7 +1625,7 @@ impl ChatMessageChangeReader { pub fn ReadBatchAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1654,7 +1654,7 @@ impl ChatMessageChangeTracker { pub fn GetChangeReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangeReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1705,7 +1705,7 @@ impl ChatMessageChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1726,26 +1726,26 @@ pub struct ChatMessageManager; impl ChatMessageManager { pub fn RegisterTransportAsync() -> windows_core::Result> { Self::IChatMessageManager2Statics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterTransportAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetTransportAsync(transportid: &windows_core::HSTRING) -> windows_core::Result> { Self::IChatMessageManager2Statics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTransportAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(transportid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetTransportsAsync() -> windows_core::Result>> { Self::IChatMessageManagerStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTransportsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestStoreAsync() -> windows_core::Result> { Self::IChatMessageManagerStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1754,7 +1754,7 @@ impl ChatMessageManager { P0: windows_core::Param, { Self::IChatMessageManagerStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowComposeSmsMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1763,7 +1763,7 @@ impl ChatMessageManager { } pub fn RequestSyncManagerAsync() -> windows_core::Result> { Self::IChatMessageManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSyncManagerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1794,35 +1794,35 @@ impl ChatMessageNotificationTriggerDetails { pub fn ChatMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChatMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShouldDisplayToast(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldDisplayToast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ShouldUpdateDetailText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldUpdateDetailText)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ShouldUpdateBadge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldUpdateBadge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ShouldUpdateActionCenter(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldUpdateActionCenter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1848,7 +1848,7 @@ impl ChatMessageReader { pub fn ReadBatchAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1856,7 +1856,7 @@ impl ChatMessageReader { pub fn ReadBatchWithCountAsync(&self, count: i32) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchWithCountAsync)(windows_core::Interface::as_raw(this), count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1881,56 +1881,56 @@ impl ChatMessageStore { pub fn ChangeTracker(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeTracker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteMessageAsync(&self, localmessageid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localmessageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DownloadMessageAsync(&self, localchatmessageid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localchatmessageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageAsync(&self, localchatmessageid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localchatmessageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageReader1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageReader1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageReader2(&self, recenttimelimit: super::super::Foundation::TimeSpan) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageReader2)(windows_core::Interface::as_raw(this), recenttimelimit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MarkMessageReadAsync(&self, localchatmessageid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkMessageReadAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localchatmessageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RetrySendMessageAsync(&self, localchatmessageid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrySendMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localchatmessageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1940,7 +1940,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendMessageAsync)(windows_core::Interface::as_raw(this), chatmessage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1950,7 +1950,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateMessage)(windows_core::Interface::as_raw(this), chatmessage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1960,7 +1960,7 @@ impl ChatMessageStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1975,14 +1975,14 @@ impl ChatMessageStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForwardMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localchatmessageid), addresses.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConversationAsync(&self, conversationid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(conversationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1993,7 +1993,7 @@ impl ChatMessageStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationForTransportsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(conversationid), transportids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2003,14 +2003,14 @@ impl ChatMessageStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationFromThreadingInfoAsync)(windows_core::Interface::as_raw(this), threadinginfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConversationReader(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2021,21 +2021,21 @@ impl ChatMessageStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationForTransportsReader)(windows_core::Interface::as_raw(this), transportids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageByRemoteIdAsync(&self, transportid: &windows_core::HSTRING, remoteid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageByRemoteIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(transportid), core::mem::transmute_copy(remoteid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetUnseenCountAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUnseenCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2046,14 +2046,14 @@ impl ChatMessageStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUnseenCountForTransportsReaderAsync)(windows_core::Interface::as_raw(this), transportids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MarkAsSeenAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkAsSeenAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2064,7 +2064,7 @@ impl ChatMessageStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkAsSeenForTransportsAsync)(windows_core::Interface::as_raw(this), transportids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2074,7 +2074,7 @@ impl ChatMessageStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSearchReader)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2084,21 +2084,21 @@ impl ChatMessageStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveMessageAsync)(windows_core::Interface::as_raw(this), chatmessage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryCancelDownloadMessageAsync(&self, localchatmessageid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCancelDownloadMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localchatmessageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryCancelSendMessageAsync(&self, localchatmessageid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCancelSendMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localchatmessageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2108,7 +2108,7 @@ impl ChatMessageStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2119,7 +2119,7 @@ impl ChatMessageStore { pub fn GetMessageBySyncIdAsync(&self, syncid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageBySyncIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(syncid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2144,14 +2144,14 @@ impl ChatMessageStoreChangedEventArgs { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2176,49 +2176,49 @@ impl ChatMessageTransport { pub fn IsAppSetAsNotificationProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAppSetAsNotificationProvider)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TransportFriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportFriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TransportId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestSetAsNotificationProviderAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSetAsNotificationProviderAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Configuration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TransportKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2243,21 +2243,21 @@ impl ChatMessageTransportConfiguration { pub fn MaxAttachmentCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAttachmentCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxMessageSizeInKilobytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxMessageSizeInKilobytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxRecipientCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxRecipientCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2265,7 +2265,7 @@ impl ChatMessageTransportConfiguration { pub fn SupportedVideoFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedVideoFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2273,7 +2273,7 @@ impl ChatMessageTransportConfiguration { pub fn ExtendedProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2298,28 +2298,28 @@ impl ChatMessageValidationResult { pub fn MaxPartCount(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPartCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PartCount(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemainingCharacterCountInPart(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingCharacterCountInPart)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2351,7 +2351,7 @@ impl ChatQueryOptions { pub fn SearchString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2387,7 +2387,7 @@ impl ChatRecipientDeliveryInfo { pub fn TransportAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2398,7 +2398,7 @@ impl ChatRecipientDeliveryInfo { pub fn DeliveryTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeliveryTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2412,7 +2412,7 @@ impl ChatRecipientDeliveryInfo { pub fn ReadTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2426,35 +2426,35 @@ impl ChatRecipientDeliveryInfo { pub fn TransportErrorCodeCategory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportErrorCodeCategory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TransportInterpretedErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportInterpretedErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TransportErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsErrorPermanent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsErrorPermanent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2480,7 +2480,7 @@ impl ChatSearchReader { pub fn ReadBatchAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2488,7 +2488,7 @@ impl ChatSearchReader { pub fn ReadBatchWithCountAsync(&self, count: i32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchWithCountAsync)(windows_core::Interface::as_raw(this), count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2513,7 +2513,7 @@ impl ChatSyncConfiguration { pub fn IsSyncEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSyncEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2524,7 +2524,7 @@ impl ChatSyncConfiguration { pub fn RestoreHistorySpan(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RestoreHistorySpan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2553,7 +2553,7 @@ impl ChatSyncManager { pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2564,14 +2564,14 @@ impl ChatSyncManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AssociateAccountAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnassociateAccountAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnassociateAccountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2582,7 +2582,7 @@ impl ChatSyncManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAccountAssociated)(windows_core::Interface::as_raw(this), webaccount.param().abi(), &mut result__).map(|| result__) } } @@ -2596,7 +2596,7 @@ impl ChatSyncManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetConfigurationAsync)(windows_core::Interface::as_raw(this), configuration.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2621,28 +2621,28 @@ impl RcsEndUserMessage { pub fn TransportId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPinRequired(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPinRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2650,7 +2650,7 @@ impl RcsEndUserMessage { pub fn Actions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Actions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2660,7 +2660,7 @@ impl RcsEndUserMessage { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendResponseAsync)(windows_core::Interface::as_raw(this), action.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2670,7 +2670,7 @@ impl RcsEndUserMessage { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendResponseWithPinAsync)(windows_core::Interface::as_raw(this), action.param().abi(), core::mem::transmute_copy(pin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2695,7 +2695,7 @@ impl RcsEndUserMessageAction { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2720,14 +2720,14 @@ impl RcsEndUserMessageAvailableEventArgs { pub fn IsMessageAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMessageAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2752,14 +2752,14 @@ impl RcsEndUserMessageAvailableTriggerDetails { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2787,7 +2787,7 @@ impl RcsEndUserMessageManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageAvailableChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2812,20 +2812,20 @@ pub struct RcsManager; impl RcsManager { pub fn GetEndUserMessageManager() -> windows_core::Result { Self::IRcsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEndUserMessageManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetTransportsAsync() -> windows_core::Result>> { Self::IRcsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTransportsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetTransportAsync(transportid: &windows_core::HSTRING) -> windows_core::Result> { Self::IRcsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTransportAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(transportid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2834,7 +2834,7 @@ impl RcsManager { P0: windows_core::Param, { Self::IRcsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeaveConversationAsync)(windows_core::Interface::as_raw(this), conversation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2843,7 +2843,7 @@ impl RcsManager { P0: windows_core::Param>, { Self::IRcsManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportListChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -2872,7 +2872,7 @@ impl RcsServiceKindSupportedChangedEventArgs { pub fn ServiceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2898,49 +2898,49 @@ impl RcsTransport { pub fn ExtendedProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TransportFriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportFriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TransportId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsStoreAndForwardEnabled(&self, servicekind: RcsServiceKind) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStoreAndForwardEnabled)(windows_core::Interface::as_raw(this), servicekind, &mut result__).map(|| result__) } } pub fn IsServiceKindSupported(&self, servicekind: RcsServiceKind) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsServiceKindSupported)(windows_core::Interface::as_raw(this), servicekind, &mut result__).map(|| result__) } } @@ -2950,7 +2950,7 @@ impl RcsTransport { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceKindSupportedChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2979,42 +2979,42 @@ impl RcsTransportConfiguration { pub fn MaxAttachmentCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAttachmentCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxMessageSizeInKilobytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxMessageSizeInKilobytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxGroupMessageSizeInKilobytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxGroupMessageSizeInKilobytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxRecipientCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxRecipientCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxFileSizeInKilobytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxFileSizeInKilobytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WarningFileSizeInKilobytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningFileSizeInKilobytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3039,21 +3039,21 @@ impl RemoteParticipantComposingChangedEventArgs { pub fn TransportId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParticipantAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParticipantAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsComposing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComposing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs index ae09abe2e3..be2b8a6659 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs @@ -6,7 +6,7 @@ impl windows_core::RuntimeType for ICommunicationBlockingAccessManagerStatics { pub struct ICommunicationBlockingAccessManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsBlockingActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub IsBlockedNumberAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsBlockedNumberAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub ShowBlockNumbersUI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -41,13 +41,13 @@ pub struct CommunicationBlockingAccessManager; impl CommunicationBlockingAccessManager { pub fn IsBlockingActive() -> windows_core::Result { Self::ICommunicationBlockingAccessManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBlockingActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsBlockedNumberAsync(number: &windows_core::HSTRING) -> windows_core::Result> { Self::ICommunicationBlockingAccessManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBlockedNumberAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -57,7 +57,7 @@ impl CommunicationBlockingAccessManager { P0: windows_core::Param>, { Self::ICommunicationBlockingAccessManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowBlockNumbersUI)(windows_core::Interface::as_raw(this), phonenumbers.param().abi(), &mut result__).map(|| result__) }) } @@ -67,7 +67,7 @@ impl CommunicationBlockingAccessManager { P0: windows_core::Param>, { Self::ICommunicationBlockingAccessManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowUnblockNumbersUI)(windows_core::Interface::as_raw(this), phonenumbers.param().abi(), &mut result__).map(|| result__) }) } @@ -90,7 +90,7 @@ pub struct CommunicationBlockingAppManager; impl CommunicationBlockingAppManager { pub fn IsCurrentAppActiveBlockingApp() -> windows_core::Result { Self::ICommunicationBlockingAppManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCurrentAppActiveBlockingApp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -99,7 +99,7 @@ impl CommunicationBlockingAppManager { } pub fn RequestSetAsActiveBlockingAppAsync() -> windows_core::Result> { Self::ICommunicationBlockingAppManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSetAsActiveBlockingAppAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 e45c00a4eb..2db664f91c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs @@ -39,7 +39,7 @@ impl windows_core::RuntimeType for IContactListCreateOrUpdateContactRequest { #[repr(C)] pub struct IContactListCreateOrUpdateContactRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -61,8 +61,8 @@ impl windows_core::RuntimeType for IContactListDeleteContactRequest { #[repr(C)] pub struct IContactListDeleteContactRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContactId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -83,8 +83,8 @@ impl windows_core::RuntimeType for IContactListServerSearchReadBatchRequest { #[repr(C)] pub struct IContactListServerSearchReadBatchRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SuggestedBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SaveContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -108,7 +108,7 @@ impl windows_core::RuntimeType for IContactListSyncManagerSyncRequest { #[repr(C)] pub struct IContactListSyncManagerSyncRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -133,7 +133,7 @@ impl ContactDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -147,7 +147,7 @@ impl ContactDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerSearchReadBatchRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -165,7 +165,7 @@ impl ContactDataProviderConnection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOrUpdateContactRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -179,7 +179,7 @@ impl ContactDataProviderConnection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteContactRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -208,7 +208,7 @@ impl ContactDataProviderTriggerDetails { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -233,14 +233,14 @@ impl ContactListCreateOrUpdateContactRequest { pub fn ContactListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -250,14 +250,14 @@ impl ContactListCreateOrUpdateContactRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), createdorupdatedcontact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -282,14 +282,14 @@ impl ContactListCreateOrUpdateContactRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -314,28 +314,28 @@ impl ContactListDeleteContactRequest { pub fn ContactListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContactId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -360,14 +360,14 @@ impl ContactListDeleteContactRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -392,28 +392,28 @@ impl ContactListServerSearchReadBatchRequest { pub fn SessionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContactListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Options(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SuggestedBatchSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestedBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -423,21 +423,21 @@ impl ContactListServerSearchReadBatchRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveContactAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self, batchstatus: super::ContactBatchStatus) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), batchstatus, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -462,14 +462,14 @@ impl ContactListServerSearchReadBatchRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -494,21 +494,21 @@ impl ContactListSyncManagerSyncRequest { pub fn ContactListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -533,14 +533,14 @@ impl ContactListSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 d0684feae0..72c4dfbfee 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs @@ -6,11 +6,11 @@ impl windows_core::RuntimeType for IContactPickerUI { pub struct IContactPickerUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub AddContact: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut AddContactResult) -> windows_core::HRESULT, + pub AddContact: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut AddContactResult) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] AddContact: usize, - pub RemoveContact: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContainsContact: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub RemoveContact: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainsContact: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub DesiredFields: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] @@ -39,7 +39,7 @@ impl windows_core::RuntimeType for IContactRemovedEventArgs { #[repr(C)] pub struct IContactRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -53,7 +53,7 @@ impl ContactPickerUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddContact)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), contact.param().abi(), &mut result__).map(|| result__) } } @@ -64,7 +64,7 @@ impl ContactPickerUI { pub fn ContainsContact(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsContact)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).map(|| result__) } } @@ -72,14 +72,14 @@ impl ContactPickerUI { pub fn DesiredFields(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredFields)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -89,7 +89,7 @@ impl ContactPickerUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -103,7 +103,7 @@ impl ContactPickerUI { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddContact)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).map(|| result__) } } @@ -111,7 +111,7 @@ impl ContactPickerUI { pub fn DesiredFieldsWithContactFieldType(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredFieldsWithContactFieldType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -134,7 +134,7 @@ impl ContactRemovedEventArgs { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs index 79c2aa174b..ff7c6b689c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs @@ -31,7 +31,7 @@ impl IContactField_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IContactField_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IContactField_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactField_Impl::Name(this) { @@ -43,7 +43,7 @@ impl IContactField_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: IContactField_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IContactField_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactField_Impl::Value(this) { @@ -77,7 +77,7 @@ impl windows_core::RuntimeName for IContactFieldFactory { } impl IContactFieldFactory_Vtbl { pub const fn new, Impl: IContactFieldFactory_Impl, const OFFSET: isize>() -> IContactFieldFactory_Vtbl { - unsafe extern "system" fn CreateField_Default, Impl: IContactFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit, r#type: ContactFieldType, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateField_Default, Impl: IContactFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit, r#type: ContactFieldType, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactFieldFactory_Impl::CreateField_Default(this, core::mem::transmute(&value), r#type) { @@ -89,7 +89,7 @@ impl IContactFieldFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateField_Category, Impl: IContactFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit, r#type: ContactFieldType, category: ContactFieldCategory, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateField_Category, Impl: IContactFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit, r#type: ContactFieldType, category: ContactFieldCategory, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactFieldFactory_Impl::CreateField_Category(this, core::mem::transmute(&value), r#type, category) { @@ -101,7 +101,7 @@ impl IContactFieldFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateField_Custom, Impl: IContactFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit, r#type: ContactFieldType, category: ContactFieldCategory, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateField_Custom, Impl: IContactFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit, r#type: ContactFieldType, category: ContactFieldCategory, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactFieldFactory_Impl::CreateField_Custom(this, core::mem::transmute(&name), core::mem::transmute(&value), r#type, category) { @@ -134,7 +134,7 @@ impl windows_core::RuntimeName for IContactInstantMessageFieldFactory { } impl IContactInstantMessageFieldFactory_Vtbl { pub const fn new, Impl: IContactInstantMessageFieldFactory_Impl, const OFFSET: isize>() -> IContactInstantMessageFieldFactory_Vtbl { - unsafe extern "system" fn CreateInstantMessage_Default, Impl: IContactInstantMessageFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstantMessage_Default, Impl: IContactInstantMessageFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactInstantMessageFieldFactory_Impl::CreateInstantMessage_Default(this, core::mem::transmute(&username)) { @@ -146,7 +146,7 @@ impl IContactInstantMessageFieldFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateInstantMessage_Category, Impl: IContactInstantMessageFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: std::mem::MaybeUninit, category: ContactFieldCategory, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstantMessage_Category, Impl: IContactInstantMessageFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: core::mem::MaybeUninit, category: ContactFieldCategory, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactInstantMessageFieldFactory_Impl::CreateInstantMessage_Category(this, core::mem::transmute(&username), category) { @@ -158,7 +158,7 @@ impl IContactInstantMessageFieldFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateInstantMessage_All, Impl: IContactInstantMessageFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: std::mem::MaybeUninit, category: ContactFieldCategory, service: std::mem::MaybeUninit, displaytext: std::mem::MaybeUninit, verb: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstantMessage_All, Impl: IContactInstantMessageFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: core::mem::MaybeUninit, category: ContactFieldCategory, service: core::mem::MaybeUninit, displaytext: core::mem::MaybeUninit, verb: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactInstantMessageFieldFactory_Impl::CreateInstantMessage_All(this, core::mem::transmute(&username), category, core::mem::transmute(&service), core::mem::transmute(&displaytext), windows_core::from_raw_borrowed(&verb)) { @@ -191,7 +191,7 @@ impl windows_core::RuntimeName for IContactLocationFieldFactory { } impl IContactLocationFieldFactory_Vtbl { pub const fn new, Impl: IContactLocationFieldFactory_Impl, const OFFSET: isize>() -> IContactLocationFieldFactory_Vtbl { - unsafe extern "system" fn CreateLocation_Default, Impl: IContactLocationFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unstructuredaddress: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateLocation_Default, Impl: IContactLocationFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unstructuredaddress: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactLocationFieldFactory_Impl::CreateLocation_Default(this, core::mem::transmute(&unstructuredaddress)) { @@ -203,7 +203,7 @@ impl IContactLocationFieldFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateLocation_Category, Impl: IContactLocationFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unstructuredaddress: std::mem::MaybeUninit, category: ContactFieldCategory, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateLocation_Category, Impl: IContactLocationFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unstructuredaddress: core::mem::MaybeUninit, category: ContactFieldCategory, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactLocationFieldFactory_Impl::CreateLocation_Category(this, core::mem::transmute(&unstructuredaddress), category) { @@ -215,7 +215,7 @@ impl IContactLocationFieldFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateLocation_All, Impl: IContactLocationFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unstructuredaddress: std::mem::MaybeUninit, category: ContactFieldCategory, street: std::mem::MaybeUninit, city: std::mem::MaybeUninit, region: std::mem::MaybeUninit, country: std::mem::MaybeUninit, postalcode: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateLocation_All, Impl: IContactLocationFieldFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unstructuredaddress: core::mem::MaybeUninit, category: ContactFieldCategory, street: core::mem::MaybeUninit, city: core::mem::MaybeUninit, region: core::mem::MaybeUninit, country: core::mem::MaybeUninit, postalcode: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactLocationFieldFactory_Impl::CreateLocation_All(this, core::mem::transmute(&unstructuredaddress), category, core::mem::transmute(&street), core::mem::transmute(&city), core::mem::transmute(®ion), core::mem::transmute(&country), core::mem::transmute(&postalcode)) { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index a6a3044f1a..e8eaebcd9e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -24,7 +24,7 @@ impl windows_core::RuntimeType for IAggregateContactManager2 { #[repr(C)] pub struct IAggregateContactManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetRemoteIdentificationInformationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetRemoteIdentificationInformationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContact, IContact_Vtbl, 0xec0072f3_2118_4049_9ebc_17f0ab692b64); impl windows_core::RuntimeType for IContact { @@ -33,8 +33,8 @@ impl windows_core::RuntimeType for IContact { #[repr(C)] pub struct IContact_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Thumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -55,10 +55,10 @@ impl windows_core::RuntimeType for IContact2 { #[repr(C)] pub struct IContact2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Notes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNotes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Notes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNotes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Phones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -107,15 +107,15 @@ impl windows_core::RuntimeType for IContact3 { #[repr(C)] pub struct IContact3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DisplayPictureUserUpdateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SetDisplayPictureUserUpdateTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub IsMe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub AggregateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RingToneToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRingToneToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AggregateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RingToneToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRingToneToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsDisplayPictureManuallySet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub LargeDisplayPicture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -133,15 +133,15 @@ pub struct IContact3_Vtbl { pub SetSourceDisplayPicture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetSourceDisplayPicture: usize, - pub TextToneToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTextToneToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TextToneToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTextToneToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsAggregate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub FullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayNameOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayNameOverride: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Nickname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNickname: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayNameOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayNameOverride: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Nickname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNickname: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAddress, IContactAddress_Vtbl, 0x9739d39a_42ce_4872_8d70_3063aa584b70); impl windows_core::RuntimeType for IContactAddress { @@ -150,20 +150,20 @@ impl windows_core::RuntimeType for IContactAddress { #[repr(C)] pub struct IContactAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub StreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Locality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocality: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRegion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCountry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Locality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocality: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRegion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCountry: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactAddressKind) -> windows_core::HRESULT, pub SetKind: unsafe extern "system" fn(*mut core::ffi::c_void, ContactAddressKind) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAnnotation, IContactAnnotation_Vtbl, 0x821fc2ef_7d41_44a2_84c3_60a281dd7b86); impl windows_core::RuntimeType for IContactAnnotation { @@ -172,12 +172,12 @@ impl windows_core::RuntimeType for IContactAnnotation { #[repr(C)] pub struct IContactAnnotation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AnnotationListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContactId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContactId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AnnotationListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContactId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SupportedOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactAnnotationOperations) -> windows_core::HRESULT, pub SetSupportedOperations: unsafe extern "system" fn(*mut core::ffi::c_void, ContactAnnotationOperations) -> windows_core::HRESULT, pub IsDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -193,8 +193,8 @@ impl windows_core::RuntimeType for IContactAnnotation2 { #[repr(C)] pub struct IContactAnnotation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContactListId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAnnotationList, IContactAnnotationList_Vtbl, 0x92a486aa_5c88_45b9_aad0_461888e68d8a); impl windows_core::RuntimeType for IContactAnnotationList { @@ -203,14 +203,14 @@ impl windows_core::RuntimeType for IContactAnnotationList { #[repr(C)] pub struct IContactAnnotationList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProviderPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TrySaveAnnotationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAnnotationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAnnotationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub FindAnnotationsByRemoteIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAnnotationsByRemoteIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAnnotationsByRemoteIdAsync: usize, #[cfg(feature = "Foundation_Collections")] @@ -227,11 +227,11 @@ impl windows_core::RuntimeType for IContactAnnotationStore { pub struct IContactAnnotationStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub FindContactIdsByEmailAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindContactIdsByEmailAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindContactIdsByEmailAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub FindContactIdsByPhoneNumberAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindContactIdsByPhoneNumberAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindContactIdsByPhoneNumberAsync: usize, #[cfg(feature = "Foundation_Collections")] @@ -240,8 +240,8 @@ pub struct IContactAnnotationStore_Vtbl { FindAnnotationsForContactAsync: usize, pub DisableAnnotationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateAnnotationListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateAnnotationListInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAnnotationListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAnnotationListInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAnnotationListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindAnnotationListsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -255,7 +255,7 @@ impl windows_core::RuntimeType for IContactAnnotationStore2 { pub struct IContactAnnotationStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub FindAnnotationsForContactListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAnnotationsForContactListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAnnotationsForContactListAsync: usize, } @@ -374,10 +374,10 @@ impl windows_core::RuntimeType for IContactConnectedServiceAccount { #[repr(C)] pub struct IContactConnectedServiceAccount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactDate, IContactDate_Vtbl, 0xfe98ae66_b205_4934_9174_0ff2b0565707); impl windows_core::RuntimeType for IContactDate { @@ -394,8 +394,8 @@ pub struct IContactDate_Vtbl { pub SetYear: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactDateKind) -> windows_core::HRESULT, pub SetKind: unsafe extern "system" fn(*mut core::ffi::c_void, ContactDateKind) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactEmail, IContactEmail_Vtbl, 0x90a219a9_e3d3_4d63_993b_05b9a5393abf); impl windows_core::RuntimeType for IContactEmail { @@ -404,18 +404,18 @@ impl windows_core::RuntimeType for IContactEmail { #[repr(C)] pub struct IContactEmail_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactEmailKind) -> windows_core::HRESULT, pub SetKind: unsafe extern "system" fn(*mut core::ffi::c_void, ContactEmailKind) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactField, IContactField_Vtbl, 0xb176486a_d293_492c_a058_db575b3e3c0f); impl std::ops::Deref for IContactField { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactField, windows_core::IUnknown, windows_core::IInspectable); @@ -423,28 +423,28 @@ impl IContactField { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -457,14 +457,14 @@ pub struct IContactField_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactFieldType) -> windows_core::HRESULT, pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactFieldCategory) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactFieldFactory, IContactFieldFactory_Vtbl, 0x85e2913f_0e4a_4a3e_8994_406ae7ed646e); impl std::ops::Deref for IContactFieldFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactFieldFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -472,21 +472,21 @@ impl IContactFieldFactory { pub fn CreateField_Default(&self, value: &windows_core::HSTRING, r#type: ContactFieldType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateField_Default)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateField_Category(&self, value: &windows_core::HSTRING, r#type: ContactFieldType, category: ContactFieldCategory) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateField_Category)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), r#type, category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateField_Custom(&self, name: &windows_core::HSTRING, value: &windows_core::HSTRING, r#type: ContactFieldType, category: ContactFieldCategory) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateField_Custom)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), r#type, category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -497,9 +497,9 @@ impl windows_core::RuntimeType for IContactFieldFactory { #[repr(C)] pub struct IContactFieldFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateField_Default: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ContactFieldType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateField_Category: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ContactFieldType, ContactFieldCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateField_Custom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, ContactFieldType, ContactFieldCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateField_Default: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ContactFieldType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateField_Category: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ContactFieldType, ContactFieldCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateField_Custom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, ContactFieldType, ContactFieldCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactGroup, IContactGroup_Vtbl, 0x59bdeb01_9e9a_475d_bfe5_a37b806d852c); impl windows_core::RuntimeType for IContactGroup { @@ -516,7 +516,7 @@ impl windows_core::RuntimeType for IContactInformation { #[repr(C)] pub struct IContactInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetThumbnailAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -542,7 +542,7 @@ pub struct IContactInformation_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CustomFields: usize, #[cfg(feature = "Foundation_Collections")] - pub QueryCustomFields: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryCustomFields: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] QueryCustomFields: usize, } @@ -553,16 +553,16 @@ impl windows_core::RuntimeType for IContactInstantMessageField { #[repr(C)] pub struct IContactInstantMessageField_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Service: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Service: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LaunchUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactInstantMessageFieldFactory, IContactInstantMessageFieldFactory_Vtbl, 0xba0b6794_91a3_4bb2_b1b9_69a5dff0ba09); impl std::ops::Deref for IContactInstantMessageFieldFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactInstantMessageFieldFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -570,14 +570,14 @@ impl IContactInstantMessageFieldFactory { pub fn CreateInstantMessage_Default(&self, username: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstantMessage_Default)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInstantMessage_Category(&self, username: &windows_core::HSTRING, category: ContactFieldCategory) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstantMessage_Category)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -587,7 +587,7 @@ impl IContactInstantMessageFieldFactory { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstantMessage_All)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), category, core::mem::transmute_copy(service), core::mem::transmute_copy(displaytext), verb.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -598,9 +598,9 @@ impl windows_core::RuntimeType for IContactInstantMessageFieldFactory { #[repr(C)] pub struct IContactInstantMessageFieldFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstantMessage_Default: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateInstantMessage_Category: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ContactFieldCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateInstantMessage_All: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ContactFieldCategory, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstantMessage_Default: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstantMessage_Category: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ContactFieldCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstantMessage_All: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ContactFieldCategory, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactJobInfo, IContactJobInfo_Vtbl, 0x6d117b4c_ce50_4b43_9e69_b18258ea5315); impl windows_core::RuntimeType for IContactJobInfo { @@ -609,22 +609,22 @@ impl windows_core::RuntimeType for IContactJobInfo { #[repr(C)] pub struct IContactJobInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CompanyYomiName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCompanyYomiName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Department: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDepartment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Manager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetManager: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Office: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOffice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CompanyAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCompanyAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CompanyYomiName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCompanyYomiName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Department: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDepartment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Manager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetManager: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Office: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOffice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CompanyAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCompanyAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactLaunchActionVerbsStatics, IContactLaunchActionVerbsStatics_Vtbl, 0xfb1232d6_ee73_46e7_8761_11cd0157728f); impl windows_core::RuntimeType for IContactLaunchActionVerbsStatics { @@ -633,11 +633,11 @@ impl windows_core::RuntimeType for IContactLaunchActionVerbsStatics { #[repr(C)] pub struct IContactLaunchActionVerbsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Call: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Map: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Post: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Call: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Map: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Post: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactList, IContactList_Vtbl, 0x16ddec75_392c_4845_9dfb_51a3e7ef3e42); impl windows_core::RuntimeType for IContactList { @@ -646,10 +646,10 @@ impl windows_core::RuntimeType for IContactList { #[repr(C)] pub struct IContactList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsHidden: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsHidden: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub OtherAppReadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactListOtherAppReadAccess) -> windows_core::HRESULT, @@ -659,18 +659,18 @@ pub struct IContactList_Vtbl { pub ChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SyncManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SupportsServerSearch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ContactChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveContactChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetContactFromRemoteIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetContactFromRemoteIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMeContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetContactReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetContactReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactList2, IContactList2_Vtbl, 0xcb3943b4_4550_4dcb_9229_40ff91fb0203); impl windows_core::RuntimeType for IContactList2 { @@ -691,7 +691,7 @@ impl windows_core::RuntimeType for IContactList3 { pub struct IContactList3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LimitedWriteOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactListLimitedWriteOperations, IContactListLimitedWriteOperations_Vtbl, 0xe19813da_4a0b_44b8_9a1f_a0f3d218175f); impl windows_core::RuntimeType for IContactListLimitedWriteOperations { @@ -701,7 +701,7 @@ impl windows_core::RuntimeType for IContactListLimitedWriteOperations { pub struct IContactListLimitedWriteOperations_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryCreateOrUpdateContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryDeleteContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryDeleteContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactListSyncConstraints, IContactListSyncConstraints_Vtbl, 0xb2b0bf01_3062_4e2e_969d_018d1987f314); impl windows_core::RuntimeType for IContactListSyncConstraints { @@ -799,18 +799,18 @@ impl windows_core::RuntimeType for IContactLocationField { #[repr(C)] pub struct IContactLocationField_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UnstructuredAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Street: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnstructuredAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Street: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactLocationFieldFactory, IContactLocationFieldFactory_Vtbl, 0xf79932d7_2fdf_43fe_8f18_41897390bcfe); impl std::ops::Deref for IContactLocationFieldFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactLocationFieldFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -818,21 +818,21 @@ impl IContactLocationFieldFactory { pub fn CreateLocation_Default(&self, unstructuredaddress: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocation_Default)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLocation_Category(&self, unstructuredaddress: &windows_core::HSTRING, category: ContactFieldCategory) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocation_Category)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLocation_All(&self, unstructuredaddress: &windows_core::HSTRING, category: ContactFieldCategory, street: &windows_core::HSTRING, city: &windows_core::HSTRING, region: &windows_core::HSTRING, country: &windows_core::HSTRING, postalcode: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocation_All)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), category, core::mem::transmute_copy(street), core::mem::transmute_copy(city), core::mem::transmute_copy(region), core::mem::transmute_copy(country), core::mem::transmute_copy(postalcode), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -843,9 +843,9 @@ impl windows_core::RuntimeType for IContactLocationFieldFactory { #[repr(C)] pub struct IContactLocationFieldFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateLocation_Default: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateLocation_Category: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ContactFieldCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateLocation_All: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ContactFieldCategory, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLocation_Default: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLocation_Category: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ContactFieldCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLocation_All: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ContactFieldCategory, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactManagerForUser, IContactManagerForUser_Vtbl, 0xb74bba57_1076_4bef_aef3_54686d18387d); impl windows_core::RuntimeType for IContactManagerForUser { @@ -984,7 +984,7 @@ pub struct IContactMatchReason_Vtbl { pub Segments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Data_Text", feature = "Foundation_Collections")))] Segments: usize, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactName, IContactName_Vtbl, 0xf404e97b_9034_453c_8ebf_140a38c86f1d); impl windows_core::RuntimeType for IContactName { @@ -993,22 +993,22 @@ impl windows_core::RuntimeType for IContactName { #[repr(C)] pub struct IContactName_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFirstName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLastName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MiddleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMiddleName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YomiGivenName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetYomiGivenName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YomiFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetYomiFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HonorificNameSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHonorificNameSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HonorificNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHonorificNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YomiDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFirstName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLastName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MiddleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMiddleName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YomiGivenName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetYomiGivenName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YomiFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetYomiFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HonorificNameSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHonorificNameSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HonorificNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHonorificNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YomiDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactPanel, IContactPanel_Vtbl, 0x41bf1265_d2ee_4b97_a80a_7d8d64cca6f5); impl windows_core::RuntimeType for IContactPanel { @@ -1057,12 +1057,12 @@ impl windows_core::RuntimeType for IContactPhone { #[repr(C)] pub struct IContactPhone_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Number: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Number: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactPhoneKind) -> windows_core::HRESULT, pub SetKind: unsafe extern "system" fn(*mut core::ffi::c_void, ContactPhoneKind) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactPicker, IContactPicker_Vtbl, 0x0e09fd91_42f8_4055_90a0_896f96738936); impl windows_core::RuntimeType for IContactPicker { @@ -1071,8 +1071,8 @@ impl windows_core::RuntimeType for IContactPicker { #[repr(C)] pub struct IContactPicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SelectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactSelectionMode) -> windows_core::HRESULT, pub SetSelectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, ContactSelectionMode) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -1157,8 +1157,8 @@ impl windows_core::RuntimeType for IContactQueryOptionsFactory { #[repr(C)] pub struct IContactQueryOptionsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithTextAndFields: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ContactQuerySearchFields, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTextAndFields: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ContactQuerySearchFields, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactQueryTextSearch, IContactQueryTextSearch_Vtbl, 0xf7e3f9cb_a957_439b_a0b7_1c02a1963ff0); impl windows_core::RuntimeType for IContactQueryTextSearch { @@ -1169,8 +1169,8 @@ pub struct IContactQueryTextSearch_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Fields: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactQuerySearchFields) -> windows_core::HRESULT, pub SetFields: unsafe extern "system" fn(*mut core::ffi::c_void, ContactQuerySearchFields) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SearchScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactQuerySearchScope) -> windows_core::HRESULT, pub SetSearchScope: unsafe extern "system" fn(*mut core::ffi::c_void, ContactQuerySearchScope) -> windows_core::HRESULT, } @@ -1194,10 +1194,10 @@ impl windows_core::RuntimeType for IContactSignificantOther { #[repr(C)] pub struct IContactSignificantOther_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactSignificantOther2, IContactSignificantOther2_Vtbl, 0x8d7bd474_3f03_45f8_ba0f_c4ed37d64219); impl windows_core::RuntimeType for IContactSignificantOther2 { @@ -1221,10 +1221,10 @@ pub struct IContactStore_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindContactsAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub FindContactsWithSearchTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindContactsWithSearchTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindContactsWithSearchTextAsync: usize, - pub GetContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactStore2, IContactStore2_Vtbl, 0x18ce1c22_ebd5_4bfb_b690_5f4f27c4f0e8); impl windows_core::RuntimeType for IContactStore2 { @@ -1241,12 +1241,12 @@ pub struct IContactStore2_Vtbl { pub FindContactListsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindContactListsAsync: usize, - pub GetContactListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateContactListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetContactListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateContactListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMeContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetContactReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetContactReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateContactListInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateContactListInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactStore3, IContactStore3_Vtbl, 0xcb882c6c_004e_4050_87f0_840407ee6818); impl windows_core::RuntimeType for IContactStore3 { @@ -1255,7 +1255,7 @@ impl windows_core::RuntimeType for IContactStore3 { #[repr(C)] pub struct IContactStore3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactStoreNotificationTriggerDetails, IContactStoreNotificationTriggerDetails_Vtbl, 0xabb298d6_878a_4f8b_a9ce_46bb7d1c84ce); impl windows_core::RuntimeType for IContactStoreNotificationTriggerDetails { @@ -1274,8 +1274,8 @@ pub struct IContactWebsite_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactWebsite2, IContactWebsite2_Vtbl, 0xf87ee91e_5647_4068_bb5e_4b6f437ce308); impl windows_core::RuntimeType for IContactWebsite2 { @@ -1284,8 +1284,8 @@ impl windows_core::RuntimeType for IContactWebsite2 { #[repr(C)] pub struct IContactWebsite2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RawValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRawValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RawValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRawValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFullContactCardOptions, IFullContactCardOptions_Vtbl, 0x8744436c_5cf9_4683_bdca_a1fdebf8dbce); impl windows_core::RuntimeType for IFullContactCardOptions { @@ -1314,27 +1314,27 @@ impl windows_core::RuntimeType for IKnownContactFieldStatics { pub struct IKnownContactFieldStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub Email: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Email: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Email: usize, #[cfg(feature = "deprecated")] - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] PhoneNumber: usize, #[cfg(feature = "deprecated")] - pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Location: usize, #[cfg(feature = "deprecated")] - pub InstantMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstantMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] InstantMessage: usize, #[cfg(feature = "deprecated")] - pub ConvertNameToType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut ContactFieldType) -> windows_core::HRESULT, + pub ConvertNameToType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut ContactFieldType) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ConvertNameToType: usize, #[cfg(feature = "deprecated")] - pub ConvertTypeToName: unsafe extern "system" fn(*mut core::ffi::c_void, ContactFieldType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConvertTypeToName: unsafe extern "system" fn(*mut core::ffi::c_void, ContactFieldType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ConvertTypeToName: usize, } @@ -1398,7 +1398,7 @@ impl AggregateContactManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindRawContactsAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1409,7 +1409,7 @@ impl AggregateContactManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryLinkContactsAsync)(windows_core::Interface::as_raw(this), primarycontact.param().abi(), secondarycontact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1419,7 +1419,7 @@ impl AggregateContactManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnlinkRawContactAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1430,14 +1430,14 @@ impl AggregateContactManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetPreferredSourceForPictureAsync)(windows_core::Interface::as_raw(this), aggregatecontact.param().abi(), rawcontact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetRemoteIdentificationInformationAsync(&self, contactlistid: &windows_core::HSTRING, remotesourceid: &windows_core::HSTRING, accountid: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetRemoteIdentificationInformationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contactlistid), core::mem::transmute_copy(remotesourceid), core::mem::transmute_copy(accountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1469,7 +1469,7 @@ impl Contact { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1481,7 +1481,7 @@ impl Contact { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1497,14 +1497,14 @@ impl Contact { pub fn Fields(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Fields)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1515,7 +1515,7 @@ impl Contact { pub fn Notes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Notes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1527,7 +1527,7 @@ impl Contact { pub fn Phones(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Phones)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1535,7 +1535,7 @@ impl Contact { pub fn Emails(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1543,7 +1543,7 @@ impl Contact { pub fn Addresses(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Addresses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1551,7 +1551,7 @@ impl Contact { pub fn ConnectedServiceAccounts(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectedServiceAccounts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1559,7 +1559,7 @@ impl Contact { pub fn ImportantDates(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportantDates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1567,7 +1567,7 @@ impl Contact { pub fn DataSuppliers(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataSuppliers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1575,7 +1575,7 @@ impl Contact { pub fn JobInfo(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JobInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1583,7 +1583,7 @@ impl Contact { pub fn SignificantOthers(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignificantOthers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1591,7 +1591,7 @@ impl Contact { pub fn Websites(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Websites)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1599,21 +1599,21 @@ impl Contact { pub fn ProviderProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContactListId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayPictureUserUpdateTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayPictureUserUpdateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1624,21 +1624,21 @@ impl Contact { pub fn IsMe(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMe)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AggregateId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AggregateId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1649,7 +1649,7 @@ impl Contact { pub fn RingToneToken(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RingToneToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1660,7 +1660,7 @@ impl Contact { pub fn IsDisplayPictureManuallySet(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisplayPictureManuallySet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1668,7 +1668,7 @@ impl Contact { pub fn LargeDisplayPicture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LargeDisplayPicture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1676,7 +1676,7 @@ impl Contact { pub fn SmallDisplayPicture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmallDisplayPicture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1684,7 +1684,7 @@ impl Contact { pub fn SourceDisplayPicture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceDisplayPicture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1699,7 +1699,7 @@ impl Contact { pub fn TextToneToken(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextToneToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1710,21 +1710,21 @@ impl Contact { pub fn IsAggregate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAggregate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FullName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FullName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayNameOverride(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayNameOverride)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1735,7 +1735,7 @@ impl Contact { pub fn Nickname(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Nickname)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1746,14 +1746,14 @@ impl Contact { pub fn SortName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SortName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1764,7 +1764,7 @@ impl Contact { pub fn LastName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1775,7 +1775,7 @@ impl Contact { pub fn MiddleName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MiddleName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1786,7 +1786,7 @@ impl Contact { pub fn YomiGivenName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YomiGivenName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1797,7 +1797,7 @@ impl Contact { pub fn YomiFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YomiFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1808,7 +1808,7 @@ impl Contact { pub fn HonorificNameSuffix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificNameSuffix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1819,7 +1819,7 @@ impl Contact { pub fn HonorificNamePrefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificNamePrefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1830,14 +1830,14 @@ impl Contact { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn YomiDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YomiDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1869,7 +1869,7 @@ impl ContactAddress { pub fn StreetAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreetAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1880,7 +1880,7 @@ impl ContactAddress { pub fn Locality(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Locality)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1891,7 +1891,7 @@ impl ContactAddress { pub fn Region(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Region)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1902,7 +1902,7 @@ impl ContactAddress { pub fn Country(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Country)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1913,7 +1913,7 @@ impl ContactAddress { pub fn PostalCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostalCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1924,7 +1924,7 @@ impl ContactAddress { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1935,7 +1935,7 @@ impl ContactAddress { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1971,21 +1971,21 @@ impl ContactAnnotation { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AnnotationListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnnotationListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContactId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1996,7 +1996,7 @@ impl ContactAnnotation { pub fn RemoteId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2007,7 +2007,7 @@ impl ContactAnnotation { pub fn SupportedOperations(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedOperations)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2018,7 +2018,7 @@ impl ContactAnnotation { pub fn IsDisabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2026,14 +2026,14 @@ impl ContactAnnotation { pub fn ProviderProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContactListId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2062,28 +2062,28 @@ impl ContactAnnotationList { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderPackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserDataAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDataAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2093,14 +2093,14 @@ impl ContactAnnotationList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySaveAnnotationAsync)(windows_core::Interface::as_raw(this), annotation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAnnotationAsync(&self, annotationid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAnnotationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(annotationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2108,7 +2108,7 @@ impl ContactAnnotationList { pub fn FindAnnotationsByRemoteIdAsync(&self, remoteid: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAnnotationsByRemoteIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(remoteid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2116,7 +2116,7 @@ impl ContactAnnotationList { pub fn FindAnnotationsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAnnotationsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2126,7 +2126,7 @@ impl ContactAnnotationList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAnnotationAsync)(windows_core::Interface::as_raw(this), annotation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2152,7 +2152,7 @@ impl ContactAnnotationStore { pub fn FindContactIdsByEmailAsync(&self, emailaddress: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactIdsByEmailAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(emailaddress), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2160,7 +2160,7 @@ impl ContactAnnotationStore { pub fn FindContactIdsByPhoneNumberAsync(&self, phonenumber: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactIdsByPhoneNumberAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(phonenumber), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2171,7 +2171,7 @@ impl ContactAnnotationStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAnnotationsForContactAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2181,28 +2181,28 @@ impl ContactAnnotationStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableAnnotationAsync)(windows_core::Interface::as_raw(this), annotation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAnnotationListAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAnnotationListAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAnnotationListInAccountAsync(&self, userdataaccountid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAnnotationListInAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdataaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAnnotationListAsync(&self, annotationlistid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAnnotationListAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(annotationlistid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2210,7 +2210,7 @@ impl ContactAnnotationStore { pub fn FindAnnotationListsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAnnotationListsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2218,7 +2218,7 @@ impl ContactAnnotationStore { pub fn FindAnnotationsForContactListAsync(&self, contactlistid: &windows_core::HSTRING) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAnnotationsForContactListAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contactlistid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2244,14 +2244,14 @@ impl ContactBatch { pub fn Contacts(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contacts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2313,7 +2313,7 @@ impl ContactCardOptions { pub fn HeaderKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2324,7 +2324,7 @@ impl ContactCardOptions { pub fn InitialTabKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialTabKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2336,7 +2336,7 @@ impl ContactCardOptions { pub fn ServerSearchContactListIds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerSearchContactListIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2361,14 +2361,14 @@ impl ContactChange { pub fn ChangeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2405,7 +2405,7 @@ impl ContactChangeReader { pub fn ReadBatchAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2434,7 +2434,7 @@ impl ContactChangeTracker { pub fn GetChangeReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangeReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2445,7 +2445,7 @@ impl ContactChangeTracker { pub fn IsTracking(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTracking)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2492,7 +2492,7 @@ impl ContactChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2524,7 +2524,7 @@ impl ContactConnectedServiceAccount { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2535,7 +2535,7 @@ impl ContactConnectedServiceAccount { pub fn ServiceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2571,7 +2571,7 @@ impl ContactDate { pub fn Day(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Day)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2585,7 +2585,7 @@ impl ContactDate { pub fn Month(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Month)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2599,7 +2599,7 @@ impl ContactDate { pub fn Year(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Year)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2613,7 +2613,7 @@ impl ContactDate { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2624,7 +2624,7 @@ impl ContactDate { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2660,7 +2660,7 @@ impl ContactEmail { pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2671,7 +2671,7 @@ impl ContactEmail { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2682,7 +2682,7 @@ impl ContactEmail { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2712,46 +2712,46 @@ impl ContactField { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateField_Default(value: &windows_core::HSTRING, r#type: ContactFieldType) -> windows_core::Result { Self::IContactFieldFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateField_Default)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateField_Category(value: &windows_core::HSTRING, r#type: ContactFieldType, category: ContactFieldCategory) -> windows_core::Result { Self::IContactFieldFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateField_Category)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), r#type, category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateField_Custom(name: &windows_core::HSTRING, value: &windows_core::HSTRING, r#type: ContactFieldType, category: ContactFieldCategory) -> windows_core::Result { Self::IContactFieldFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateField_Custom)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), r#type, category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2789,35 +2789,35 @@ impl ContactFieldFactory { pub fn CreateField_Default(&self, value: &windows_core::HSTRING, r#type: ContactFieldType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateField_Default)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateField_Category(&self, value: &windows_core::HSTRING, r#type: ContactFieldType, category: ContactFieldCategory) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateField_Category)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), r#type, category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateField_Custom(&self, name: &windows_core::HSTRING, value: &windows_core::HSTRING, r#type: ContactFieldType, category: ContactFieldCategory) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateField_Custom)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), r#type, category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInstantMessage_Default(&self, username: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstantMessage_Default)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInstantMessage_Category(&self, username: &windows_core::HSTRING, category: ContactFieldCategory) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstantMessage_Category)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2827,28 +2827,28 @@ impl ContactFieldFactory { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstantMessage_All)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), category, core::mem::transmute_copy(service), core::mem::transmute_copy(displaytext), verb.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLocation_Default(&self, unstructuredaddress: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocation_Default)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLocation_Category(&self, unstructuredaddress: &windows_core::HSTRING, category: ContactFieldCategory) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocation_Category)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLocation_All(&self, unstructuredaddress: &windows_core::HSTRING, category: ContactFieldCategory, street: &windows_core::HSTRING, city: &windows_core::HSTRING, region: &windows_core::HSTRING, country: &windows_core::HSTRING, postalcode: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocation_All)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), category, core::mem::transmute_copy(street), core::mem::transmute_copy(city), core::mem::transmute_copy(region), core::mem::transmute_copy(country), core::mem::transmute_copy(postalcode), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2890,7 +2890,7 @@ impl ContactInformation { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2898,7 +2898,7 @@ impl ContactInformation { pub fn GetThumbnailAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2906,7 +2906,7 @@ impl ContactInformation { pub fn Emails(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2914,7 +2914,7 @@ impl ContactInformation { pub fn PhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2922,7 +2922,7 @@ impl ContactInformation { pub fn Locations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Locations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2930,7 +2930,7 @@ impl ContactInformation { pub fn InstantMessages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstantMessages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2938,7 +2938,7 @@ impl ContactInformation { pub fn CustomFields(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomFields)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2946,7 +2946,7 @@ impl ContactInformation { pub fn QueryCustomFields(&self, customname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryCustomFields)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(customname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2970,68 +2970,68 @@ impl ContactInstantMessageField { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Category(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Service(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Service)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LaunchUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInstantMessage_Default(username: &windows_core::HSTRING) -> windows_core::Result { Self::IContactInstantMessageFieldFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstantMessage_Default)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInstantMessage_Category(username: &windows_core::HSTRING, category: ContactFieldCategory) -> windows_core::Result { Self::IContactInstantMessageFieldFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstantMessage_Category)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3040,7 +3040,7 @@ impl ContactInstantMessageField { P0: windows_core::Param, { Self::IContactInstantMessageFieldFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstantMessage_All)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), category, core::mem::transmute_copy(service), core::mem::transmute_copy(displaytext), verb.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3077,7 +3077,7 @@ impl ContactJobInfo { pub fn CompanyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompanyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3088,7 +3088,7 @@ impl ContactJobInfo { pub fn CompanyYomiName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompanyYomiName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3099,7 +3099,7 @@ impl ContactJobInfo { pub fn Department(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Department)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3110,7 +3110,7 @@ impl ContactJobInfo { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3121,7 +3121,7 @@ impl ContactJobInfo { pub fn Manager(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Manager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3132,7 +3132,7 @@ impl ContactJobInfo { pub fn Office(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Office)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3143,7 +3143,7 @@ impl ContactJobInfo { pub fn CompanyAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompanyAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3154,7 +3154,7 @@ impl ContactJobInfo { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3179,31 +3179,31 @@ pub struct ContactLaunchActionVerbs; impl ContactLaunchActionVerbs { pub fn Call() -> windows_core::Result { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Call)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Message() -> windows_core::Result { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Map() -> windows_core::Result { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Map)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Post() -> windows_core::Result { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Post)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoCall() -> windows_core::Result { Self::IContactLaunchActionVerbsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoCall)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3224,14 +3224,14 @@ impl ContactList { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3242,14 +3242,14 @@ impl ContactList { pub fn SourceDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsHidden(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHidden)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3260,7 +3260,7 @@ impl ContactList { pub fn OtherAppReadAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppReadAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3271,7 +3271,7 @@ impl ContactList { pub fn OtherAppWriteAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppWriteAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3282,28 +3282,28 @@ impl ContactList { pub fn ChangeTracker(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeTracker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SyncManager(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SupportsServerSearch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsServerSearch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UserDataAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDataAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3313,7 +3313,7 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3324,35 +3324,35 @@ impl ContactList { pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContactFromRemoteIdAsync(&self, remoteid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactFromRemoteIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(remoteid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMeContactAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMeContactAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContactReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3362,7 +3362,7 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactReaderWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3372,7 +3372,7 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveContactAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3382,21 +3382,21 @@ impl ContactList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteContactAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContactAsync(&self, contactid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contactid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RegisterSyncManagerAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterSyncManagerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3407,21 +3407,21 @@ impl ContactList { pub fn SyncConstraints(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncConstraints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LimitedWriteOperations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LimitedWriteOperations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetChangeTracker(&self, identity: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangeTracker)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3449,14 +3449,14 @@ impl ContactListLimitedWriteOperations { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateOrUpdateContactAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryDeleteContactAsync(&self, contactid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDeleteContactAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contactid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3481,7 +3481,7 @@ impl ContactListSyncConstraints { pub fn CanSyncDescriptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanSyncDescriptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3492,7 +3492,7 @@ impl ContactListSyncConstraints { pub fn MaxHomePhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxHomePhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3506,7 +3506,7 @@ impl ContactListSyncConstraints { pub fn MaxMobilePhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxMobilePhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3520,7 +3520,7 @@ impl ContactListSyncConstraints { pub fn MaxWorkPhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxWorkPhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3534,7 +3534,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherPhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxOtherPhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3548,7 +3548,7 @@ impl ContactListSyncConstraints { pub fn MaxPagerPhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPagerPhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3562,7 +3562,7 @@ impl ContactListSyncConstraints { pub fn MaxBusinessFaxPhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBusinessFaxPhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3576,7 +3576,7 @@ impl ContactListSyncConstraints { pub fn MaxHomeFaxPhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxHomeFaxPhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3590,7 +3590,7 @@ impl ContactListSyncConstraints { pub fn MaxCompanyPhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxCompanyPhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3604,7 +3604,7 @@ impl ContactListSyncConstraints { pub fn MaxAssistantPhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAssistantPhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3618,7 +3618,7 @@ impl ContactListSyncConstraints { pub fn MaxRadioPhoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxRadioPhoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3632,7 +3632,7 @@ impl ContactListSyncConstraints { pub fn MaxPersonalEmailAddresses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPersonalEmailAddresses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3646,7 +3646,7 @@ impl ContactListSyncConstraints { pub fn MaxWorkEmailAddresses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxWorkEmailAddresses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3660,7 +3660,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherEmailAddresses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxOtherEmailAddresses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3674,7 +3674,7 @@ impl ContactListSyncConstraints { pub fn MaxHomeAddresses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxHomeAddresses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3688,7 +3688,7 @@ impl ContactListSyncConstraints { pub fn MaxWorkAddresses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxWorkAddresses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3702,7 +3702,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherAddresses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxOtherAddresses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3716,7 +3716,7 @@ impl ContactListSyncConstraints { pub fn MaxBirthdayDates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBirthdayDates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3730,7 +3730,7 @@ impl ContactListSyncConstraints { pub fn MaxAnniversaryDates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAnniversaryDates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3744,7 +3744,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherDates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxOtherDates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3758,7 +3758,7 @@ impl ContactListSyncConstraints { pub fn MaxOtherRelationships(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxOtherRelationships)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3772,7 +3772,7 @@ impl ContactListSyncConstraints { pub fn MaxSpouseRelationships(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSpouseRelationships)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3786,7 +3786,7 @@ impl ContactListSyncConstraints { pub fn MaxPartnerRelationships(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPartnerRelationships)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3800,7 +3800,7 @@ impl ContactListSyncConstraints { pub fn MaxSiblingRelationships(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSiblingRelationships)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3814,7 +3814,7 @@ impl ContactListSyncConstraints { pub fn MaxParentRelationships(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxParentRelationships)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3828,7 +3828,7 @@ impl ContactListSyncConstraints { pub fn MaxChildRelationships(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxChildRelationships)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3842,7 +3842,7 @@ impl ContactListSyncConstraints { pub fn MaxJobInfo(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxJobInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3856,7 +3856,7 @@ impl ContactListSyncConstraints { pub fn MaxWebsites(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxWebsites)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3888,28 +3888,28 @@ impl ContactListSyncManager { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastSuccessfulSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastSuccessfulSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastAttemptedSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastAttemptedSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SyncAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3919,7 +3919,7 @@ impl ContactListSyncManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3961,88 +3961,88 @@ impl ContactLocationField { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Category(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnstructuredAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnstructuredAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Street(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Street)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn City(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).City)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Region(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Region)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Country(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Country)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PostalCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostalCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLocation_Default(unstructuredaddress: &windows_core::HSTRING) -> windows_core::Result { Self::IContactLocationFieldFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocation_Default)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateLocation_Category(unstructuredaddress: &windows_core::HSTRING, category: ContactFieldCategory) -> windows_core::Result { Self::IContactLocationFieldFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocation_Category)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateLocation_All(unstructuredaddress: &windows_core::HSTRING, category: ContactFieldCategory, street: &windows_core::HSTRING, city: &windows_core::HSTRING, region: &windows_core::HSTRING, country: &windows_core::HSTRING, postalcode: &windows_core::HSTRING) -> windows_core::Result { Self::IContactLocationFieldFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocation_All)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(unstructuredaddress), category, core::mem::transmute_copy(street), core::mem::transmute_copy(city), core::mem::transmute_copy(region), core::mem::transmute_copy(country), core::mem::transmute_copy(postalcode), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4085,13 +4085,13 @@ impl ContactManager { P0: windows_core::Param, { Self::IContactManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowDelayLoadedContactCard)(windows_core::Interface::as_raw(this), contact.param().abi(), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestStoreAsync() -> windows_core::Result> { Self::IContactManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4101,7 +4101,7 @@ impl ContactManager { P0: windows_core::Param, { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertContactToVCardAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4111,7 +4111,7 @@ impl ContactManager { P0: windows_core::Param, { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertContactToVCardAsyncWithMaxBytes)(windows_core::Interface::as_raw(this), contact.param().abi(), maxbytes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4121,25 +4121,25 @@ impl ContactManager { P0: windows_core::Param, { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertVCardToContactAsync)(windows_core::Interface::as_raw(this), vcard.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestStoreAsyncWithAccessType(accesstype: ContactStoreAccessType) -> windows_core::Result> { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsyncWithAccessType)(windows_core::Interface::as_raw(this), accesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestAnnotationStoreAsync(accesstype: ContactAnnotationStoreAccessType) -> windows_core::Result> { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAnnotationStoreAsync)(windows_core::Interface::as_raw(this), accesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsShowContactCardSupported() -> windows_core::Result { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsShowContactCardSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -4153,7 +4153,7 @@ impl ContactManager { } pub fn IsShowDelayLoadedContactCardSupported() -> windows_core::Result { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsShowDelayLoadedContactCardSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -4164,7 +4164,7 @@ impl ContactManager { P1: windows_core::Param, { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowDelayLoadedContactCardWithOptions)(windows_core::Interface::as_raw(this), contact.param().abi(), selection, preferredplacement, contactcardoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4177,7 +4177,7 @@ impl ContactManager { } pub fn SystemDisplayNameOrder() -> windows_core::Result { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemDisplayNameOrder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -4186,7 +4186,7 @@ impl ContactManager { } pub fn SystemSortOrder() -> windows_core::Result { Self::IContactManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemSortOrder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -4199,19 +4199,19 @@ impl ContactManager { P0: windows_core::Param, { Self::IContactManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsShowFullContactCardSupportedAsync() -> windows_core::Result> { Self::IContactManagerStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsShowFullContactCardSupportedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IncludeMiddleNameInSystemDisplayAndSort() -> windows_core::Result { Self::IContactManagerStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeMiddleNameInSystemDisplayAndSort)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -4259,7 +4259,7 @@ impl ContactManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertContactToVCardAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4270,7 +4270,7 @@ impl ContactManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertContactToVCardAsyncWithMaxBytes)(windows_core::Interface::as_raw(this), contact.param().abi(), maxbytes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4281,28 +4281,28 @@ impl ContactManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertVCardToContactAsync)(windows_core::Interface::as_raw(this), vcard.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestStoreAsync(&self, accesstype: ContactStoreAccessType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), accesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestAnnotationStoreAsync(&self, accesstype: ContactAnnotationStoreAccessType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAnnotationStoreAsync)(windows_core::Interface::as_raw(this), accesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemDisplayNameOrder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemDisplayNameOrder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4313,7 +4313,7 @@ impl ContactManagerForUser { pub fn SystemSortOrder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemSortOrder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4325,7 +4325,7 @@ impl ContactManagerForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4358,7 +4358,7 @@ impl ContactMatchReason { pub fn Field(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Field)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4366,14 +4366,14 @@ impl ContactMatchReason { pub fn Segments(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Segments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4403,7 +4403,7 @@ impl ContactPanel { pub fn HeaderColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4421,7 +4421,7 @@ impl ContactPanel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFullAppRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4435,7 +4435,7 @@ impl ContactPanel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4464,7 +4464,7 @@ impl ContactPanelClosingEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4489,7 +4489,7 @@ impl ContactPanelLaunchFullAppRequestedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4525,7 +4525,7 @@ impl ContactPhone { pub fn Number(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Number)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4536,7 +4536,7 @@ impl ContactPhone { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4547,7 +4547,7 @@ impl ContactPhone { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4583,7 +4583,7 @@ impl ContactPicker { pub fn CommitButtonText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitButtonText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4594,7 +4594,7 @@ impl ContactPicker { pub fn SelectionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4606,14 +4606,14 @@ impl ContactPicker { pub fn DesiredFields(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredFields)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PickSingleContactAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleContactAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4621,7 +4621,7 @@ impl ContactPicker { pub fn PickMultipleContactsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickMultipleContactsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4629,14 +4629,14 @@ impl ContactPicker { pub fn DesiredFieldsWithContactFieldType(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredFieldsWithContactFieldType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PickContactAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickContactAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4644,7 +4644,7 @@ impl ContactPicker { pub fn PickContactsAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickContactsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4652,7 +4652,7 @@ impl ContactPicker { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4662,13 +4662,13 @@ impl ContactPicker { P0: windows_core::Param, { Self::IContactPickerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupportedAsync() -> windows_core::Result> { Self::IContactPickerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupportedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4703,7 +4703,7 @@ impl ContactQueryOptions { pub fn TextSearch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextSearch)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4711,14 +4711,14 @@ impl ContactQueryOptions { pub fn ContactListIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactListIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IncludeContactsFromHiddenLists(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeContactsFromHiddenLists)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4729,7 +4729,7 @@ impl ContactQueryOptions { pub fn DesiredFields(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredFields)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4740,7 +4740,7 @@ impl ContactQueryOptions { pub fn DesiredOperations(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredOperations)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4752,19 +4752,19 @@ impl ContactQueryOptions { pub fn AnnotationListIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnnotationListIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateWithText(text: &windows_core::HSTRING) -> windows_core::Result { Self::IContactQueryOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithTextAndFields(text: &windows_core::HSTRING, fields: ContactQuerySearchFields) -> windows_core::Result { Self::IContactQueryOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTextAndFields)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), fields, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4794,7 +4794,7 @@ impl ContactQueryTextSearch { pub fn Fields(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Fields)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4805,7 +4805,7 @@ impl ContactQueryTextSearch { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4816,7 +4816,7 @@ impl ContactQueryTextSearch { pub fn SearchScope(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchScope)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4845,7 +4845,7 @@ impl ContactReader { pub fn ReadBatchAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4856,7 +4856,7 @@ impl ContactReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMatchingPropertiesWithMatchReason)(windows_core::Interface::as_raw(this), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4888,7 +4888,7 @@ impl ContactSignificantOther { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4899,7 +4899,7 @@ impl ContactSignificantOther { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4910,7 +4910,7 @@ impl ContactSignificantOther { pub fn Relationship(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Relationship)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4940,7 +4940,7 @@ impl ContactStore { pub fn FindContactsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4948,21 +4948,21 @@ impl ContactStore { pub fn FindContactsWithSearchTextAsync(&self, searchtext: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactsWithSearchTextAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(searchtext), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContactAsync(&self, contactid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contactid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChangeTracker(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeTracker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4972,7 +4972,7 @@ impl ContactStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4983,7 +4983,7 @@ impl ContactStore { pub fn AggregateContactManager(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AggregateContactManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4991,35 +4991,35 @@ impl ContactStore { pub fn FindContactListsAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactListsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContactListAsync(&self, contactlistid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactListAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contactlistid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateContactListAsync(&self, displayname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContactListAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMeContactAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMeContactAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContactReader(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5029,21 +5029,21 @@ impl ContactStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactReaderWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateContactListInAccountAsync(&self, displayname: &windows_core::HSTRING, userdataaccountid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContactListInAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displayname), core::mem::transmute_copy(userdataaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetChangeTracker(&self, identity: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangeTracker)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5092,7 +5092,7 @@ impl ContactWebsite { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5106,7 +5106,7 @@ impl ContactWebsite { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5117,7 +5117,7 @@ impl ContactWebsite { pub fn RawValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5154,7 +5154,7 @@ impl FullContactCardOptions { pub fn DesiredRemainingView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredRemainingView)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5183,42 +5183,42 @@ impl KnownContactField { #[cfg(feature = "deprecated")] pub fn Email() -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Email)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn PhoneNumber() -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn Location() -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Location)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn InstantMessage() -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstantMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn ConvertNameToType(name: &windows_core::HSTRING) -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertNameToType)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn ConvertTypeToName(r#type: ContactFieldType) -> windows_core::Result { Self::IKnownContactFieldStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertTypeToName)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5242,7 +5242,7 @@ impl PinnedContactIdsQueryResult { pub fn ContactIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5268,14 +5268,14 @@ impl PinnedContactManager { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPinSurfaceSupported(&self, surface: PinnedContactSurface) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPinSurfaceSupported)(windows_core::Interface::as_raw(this), surface, &mut result__).map(|| result__) } } @@ -5285,7 +5285,7 @@ impl PinnedContactManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsContactPinned)(windows_core::Interface::as_raw(this), contact.param().abi(), surface, &mut result__).map(|| result__) } } @@ -5295,7 +5295,7 @@ impl PinnedContactManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPinContactAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), surface, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5306,7 +5306,7 @@ impl PinnedContactManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPinContactsAsync)(windows_core::Interface::as_raw(this), contacts.param().abi(), surface, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5316,7 +5316,7 @@ impl PinnedContactManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestUnpinContactAsync)(windows_core::Interface::as_raw(this), contact.param().abi(), surface, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5330,13 +5330,13 @@ impl PinnedContactManager { pub fn GetPinnedContactIdsAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPinnedContactIdsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IPinnedContactManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5346,13 +5346,13 @@ impl PinnedContactManager { P0: windows_core::Param, { Self::IPinnedContactManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IPinnedContactManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs index 986278f1bf..5f0283c293 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs @@ -5,9 +5,9 @@ impl windows_core::RuntimeType for IActivationSignalDetectionConfiguration { #[repr(C)] pub struct IActivationSignalDetectionConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SignalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SignalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SetEnabledAsync: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -15,14 +15,14 @@ pub struct IActivationSignalDetectionConfiguration_Vtbl { pub AvailabilityChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAvailabilityChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub SetModelData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetModelData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetModelData: usize, #[cfg(feature = "Storage_Streams")] - pub SetModelDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetModelDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetModelDataAsync: usize, - pub GetModelDataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetModelDataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetModelDataTypeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetModelData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -56,11 +56,11 @@ impl windows_core::RuntimeType for IActivationSignalDetectionConfiguration2 { pub struct IActivationSignalDetectionConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage_Streams")] - pub SetModelDataWithResult: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut ActivationSignalDetectionConfigurationSetModelDataResult) -> windows_core::HRESULT, + pub SetModelDataWithResult: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut ActivationSignalDetectionConfigurationSetModelDataResult) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetModelDataWithResult: usize, #[cfg(feature = "Storage_Streams")] - pub SetModelDataWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetModelDataWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetModelDataWithResultAsync: usize, pub SetEnabledWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -84,7 +84,7 @@ impl windows_core::RuntimeType for IActivationSignalDetector { #[repr(C)] pub struct IActivationSignalDetector_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ActivationSignalDetectorKind) -> windows_core::HRESULT, pub CanCreateConfigurations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -100,15 +100,15 @@ pub struct IActivationSignalDetector_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedPowerStates: usize, #[cfg(feature = "Foundation_Collections")] - pub GetSupportedModelIdsForSignalId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSupportedModelIdsForSignalId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetSupportedModelIdsForSignalId: usize, #[cfg(feature = "Foundation_Collections")] - pub GetSupportedModelIdsForSignalIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSupportedModelIdsForSignalIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetSupportedModelIdsForSignalIdAsync: usize, - pub CreateConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetConfigurations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -117,10 +117,10 @@ pub struct IActivationSignalDetector_Vtbl { pub GetConfigurationsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetConfigurationsAsync: usize, - pub GetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemoveConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActivationSignalDetector2, IActivationSignalDetector2_Vtbl, 0xc7e2490a_baa5_59d2_85d1_ba42f7cf78c9); impl windows_core::RuntimeType for IActivationSignalDetector2 { @@ -130,18 +130,18 @@ impl windows_core::RuntimeType for IActivationSignalDetector2 { pub struct IActivationSignalDetector2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub GetAvailableModelIdsForSignalIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAvailableModelIdsForSignalIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetAvailableModelIdsForSignalIdAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub GetAvailableModelIdsForSignalId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAvailableModelIdsForSignalId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetAvailableModelIdsForSignalId: usize, - pub CreateConfigurationWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateConfigurationWithResult: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveConfigurationWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveConfigurationWithResult: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut ActivationSignalDetectionConfigurationRemovalResult) -> windows_core::HRESULT, - pub DetectorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateConfigurationWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateConfigurationWithResult: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemoveConfigurationWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemoveConfigurationWithResult: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut ActivationSignalDetectionConfigurationRemovalResult) -> windows_core::HRESULT, + pub DetectorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConversationalAgentDetectorManager, IConversationalAgentDetectorManager_Vtbl, 0xde94fbb0_597a_5df8_8cfb_9dbb583ba3ff); impl windows_core::RuntimeType for IConversationalAgentDetectorManager { @@ -174,8 +174,8 @@ impl windows_core::RuntimeType for IConversationalAgentDetectorManager2 { #[repr(C)] pub struct IConversationalAgentDetectorManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetActivationSignalDetectorFromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetActivationSignalDetectorFromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetActivationSignalDetectorFromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetActivationSignalDetectorFromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConversationalAgentDetectorManagerStatics, IConversationalAgentDetectorManagerStatics_Vtbl, 0x36a8d283_fa0e_5693_8489_0fb2f0ab40d3); impl windows_core::RuntimeType for IConversationalAgentDetectorManagerStatics { @@ -224,9 +224,9 @@ pub struct IConversationalAgentSession_Vtbl { #[cfg(not(feature = "Media_Audio"))] CreateAudioDeviceInputNode: usize, pub GetAudioCaptureDeviceIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAudioCaptureDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAudioCaptureDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetAudioRenderDeviceIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAudioRenderDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAudioRenderDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSignalModelIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSignalModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSignalModelIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -287,10 +287,10 @@ pub struct IConversationalAgentSignal_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSignalVerificationRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsSignalVerificationRequired: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub SignalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSignalId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SignalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSignalName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SignalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSignalId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SignalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSignalName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SignalContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSignalContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SignalStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, @@ -305,7 +305,7 @@ impl windows_core::RuntimeType for IConversationalAgentSignal2 { #[repr(C)] pub struct IConversationalAgentSignal2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DetectorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DetectorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DetectorKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ActivationSignalDetectorKind) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConversationalAgentSignalDetectedEventArgs, IConversationalAgentSignalDetectedEventArgs_Vtbl, 0x4d57eb8f_f88a_599b_91d3_d604876708bc); @@ -367,28 +367,28 @@ impl ActivationSignalDetectionConfiguration { pub fn SignalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ModelId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -399,14 +399,14 @@ impl ActivationSignalDetectionConfiguration { pub fn SetEnabledAsync(&self, value: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetEnabledAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AvailabilityInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailabilityInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -416,7 +416,7 @@ impl ActivationSignalDetectionConfiguration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailabilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -439,21 +439,21 @@ impl ActivationSignalDetectionConfiguration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetModelDataAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(datatype), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetModelDataType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetModelDataType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetModelDataTypeAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetModelDataTypeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -461,7 +461,7 @@ impl ActivationSignalDetectionConfiguration { pub fn GetModelData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetModelData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -469,7 +469,7 @@ impl ActivationSignalDetectionConfiguration { pub fn GetModelDataAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetModelDataAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -480,28 +480,28 @@ impl ActivationSignalDetectionConfiguration { pub fn ClearModelDataAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearModelDataAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrainingStepsCompleted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrainingStepsCompleted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrainingStepsRemaining(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrainingStepsRemaining)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrainingDataFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrainingDataFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -512,7 +512,7 @@ impl ActivationSignalDetectionConfiguration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplyTrainingData)(windows_core::Interface::as_raw(this), trainingdataformat, trainingdata.param().abi(), &mut result__).map(|| result__) } } @@ -523,7 +523,7 @@ impl ActivationSignalDetectionConfiguration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplyTrainingDataAsync)(windows_core::Interface::as_raw(this), trainingdataformat, trainingdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -534,7 +534,7 @@ impl ActivationSignalDetectionConfiguration { pub fn ClearTrainingDataAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearTrainingDataAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -545,7 +545,7 @@ impl ActivationSignalDetectionConfiguration { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetModelDataWithResult)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(datatype), data.param().abi(), &mut result__).map(|| result__) } } @@ -556,28 +556,28 @@ impl ActivationSignalDetectionConfiguration { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetModelDataWithResultAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(datatype), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetEnabledWithResultAsync(&self, value: bool) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetEnabledWithResultAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetEnabledWithResult(&self, value: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetEnabledWithResult)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn TrainingStepCompletionMaxAllowedTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrainingStepCompletionMaxAllowedTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -606,14 +606,14 @@ impl ActivationSignalDetectionConfigurationCreationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -638,21 +638,21 @@ impl ActivationSignalDetector { pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanCreateConfigurations(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCreateConfigurations)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -660,7 +660,7 @@ impl ActivationSignalDetector { pub fn SupportedModelDataTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedModelDataTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -668,7 +668,7 @@ impl ActivationSignalDetector { pub fn SupportedTrainingDataFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedTrainingDataFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -676,7 +676,7 @@ impl ActivationSignalDetector { pub fn SupportedPowerStates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedPowerStates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -684,7 +684,7 @@ impl ActivationSignalDetector { pub fn GetSupportedModelIdsForSignalId(&self, signalid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedModelIdsForSignalId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -692,7 +692,7 @@ impl ActivationSignalDetector { pub fn GetSupportedModelIdsForSignalIdAsync(&self, signalid: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedModelIdsForSignalIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -703,7 +703,7 @@ impl ActivationSignalDetector { pub fn CreateConfigurationAsync(&self, signalid: &windows_core::HSTRING, modelid: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateConfigurationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), core::mem::transmute_copy(modelid), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -711,7 +711,7 @@ impl ActivationSignalDetector { pub fn GetConfigurations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConfigurations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -719,21 +719,21 @@ impl ActivationSignalDetector { pub fn GetConfigurationsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConfigurationsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConfiguration(&self, signalid: &windows_core::HSTRING, modelid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConfiguration)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), core::mem::transmute_copy(modelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConfigurationAsync(&self, signalid: &windows_core::HSTRING, modelid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConfigurationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), core::mem::transmute_copy(modelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -744,7 +744,7 @@ impl ActivationSignalDetector { pub fn RemoveConfigurationAsync(&self, signalid: &windows_core::HSTRING, modelid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveConfigurationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), core::mem::transmute_copy(modelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -752,7 +752,7 @@ impl ActivationSignalDetector { pub fn GetAvailableModelIdsForSignalIdAsync(&self, signalid: &windows_core::HSTRING) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAvailableModelIdsForSignalIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -760,42 +760,42 @@ impl ActivationSignalDetector { pub fn GetAvailableModelIdsForSignalId(&self, signalid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAvailableModelIdsForSignalId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateConfigurationWithResultAsync(&self, signalid: &windows_core::HSTRING, modelid: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateConfigurationWithResultAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), core::mem::transmute_copy(modelid), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateConfigurationWithResult(&self, signalid: &windows_core::HSTRING, modelid: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateConfigurationWithResult)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), core::mem::transmute_copy(modelid), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoveConfigurationWithResultAsync(&self, signalid: &windows_core::HSTRING, modelid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveConfigurationWithResultAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), core::mem::transmute_copy(modelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoveConfigurationWithResult(&self, signalid: &windows_core::HSTRING, modelid: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveConfigurationWithResult)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(signalid), core::mem::transmute_copy(modelid), &mut result__).map(|| result__) } } pub fn DetectorId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetectorId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -821,7 +821,7 @@ impl ConversationalAgentDetectorManager { pub fn GetAllActivationSignalDetectors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllActivationSignalDetectors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -829,7 +829,7 @@ impl ConversationalAgentDetectorManager { pub fn GetAllActivationSignalDetectorsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllActivationSignalDetectorsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -837,7 +837,7 @@ impl ConversationalAgentDetectorManager { pub fn GetActivationSignalDetectors(&self, kind: ActivationSignalDetectorKind) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetActivationSignalDetectors)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -845,27 +845,27 @@ impl ConversationalAgentDetectorManager { pub fn GetActivationSignalDetectorsAsync(&self, kind: ActivationSignalDetectorKind) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetActivationSignalDetectorsAsync)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetActivationSignalDetectorFromId(&self, detectorid: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetActivationSignalDetectorFromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(detectorid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetActivationSignalDetectorFromIdAsync(&self, detectorid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetActivationSignalDetectorFromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(detectorid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Default() -> windows_core::Result { Self::IConversationalAgentDetectorManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Default)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -903,7 +903,7 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInterrupted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -917,7 +917,7 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalDetected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -931,7 +931,7 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -942,112 +942,112 @@ impl ConversationalAgentSession { pub fn AgentState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AgentState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Signal(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Signal)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsIndicatorLightAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIndicatorLightAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsScreenAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScreenAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUserAuthenticated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUserAuthenticated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVoiceActivationAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVoiceActivationAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInterruptible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInterruptible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInterrupted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInterrupted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestInterruptibleAsync(&self, interruptible: bool) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestInterruptibleAsync)(windows_core::Interface::as_raw(this), interruptible, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestInterruptible(&self, interruptible: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestInterruptible)(windows_core::Interface::as_raw(this), interruptible, &mut result__).map(|| result__) } } pub fn RequestAgentStateChangeAsync(&self, state: ConversationalAgentState) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAgentStateChangeAsync)(windows_core::Interface::as_raw(this), state, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestAgentStateChange(&self, state: ConversationalAgentState) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAgentStateChange)(windows_core::Interface::as_raw(this), state, &mut result__).map(|| result__) } } pub fn RequestForegroundActivationAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestForegroundActivationAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestForegroundActivation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestForegroundActivation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetAudioClientAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioClientAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAudioClient(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioClient)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1058,7 +1058,7 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAudioDeviceInputNodeAsync)(windows_core::Interface::as_raw(this), graph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1069,63 +1069,63 @@ impl ConversationalAgentSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAudioDeviceInputNode)(windows_core::Interface::as_raw(this), graph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAudioCaptureDeviceIdAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioCaptureDeviceIdAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAudioCaptureDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioCaptureDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAudioRenderDeviceIdAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioRenderDeviceIdAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAudioRenderDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioRenderDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSignalModelIdAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSignalModelIdAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSignalModelId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSignalModelId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetSignalModelIdAsync(&self, signalmodelid: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetSignalModelIdAsync)(windows_core::Interface::as_raw(this), signalmodelid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetSignalModelId(&self, signalmodelid: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetSignalModelId)(windows_core::Interface::as_raw(this), signalmodelid, &mut result__).map(|| result__) } } @@ -1133,7 +1133,7 @@ impl ConversationalAgentSession { pub fn GetSupportedSignalModelIdsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedSignalModelIdsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1141,28 +1141,28 @@ impl ConversationalAgentSession { pub fn GetSupportedSignalModelIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedSignalModelIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestActivationAsync(&self, activationkind: ConversationalAgentActivationKind) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestActivationAsync)(windows_core::Interface::as_raw(this), activationkind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestActivation(&self, activationkind: ConversationalAgentActivationKind) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestActivation)(windows_core::Interface::as_raw(this), activationkind, &mut result__).map(|| result__) } } pub fn SetSupportLockScreenActivationAsync(&self, lockscreenactivationsupported: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetSupportLockScreenActivationAsync)(windows_core::Interface::as_raw(this), lockscreenactivationsupported, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1174,7 +1174,7 @@ impl ConversationalAgentSession { pub fn GetMissingPrerequisites(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMissingPrerequisites)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1182,19 +1182,19 @@ impl ConversationalAgentSession { pub fn GetMissingPrerequisitesAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMissingPrerequisitesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentSessionAsync() -> windows_core::Result> { Self::IConversationalAgentSessionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentSessionAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetCurrentSessionSync() -> windows_core::Result { Self::IConversationalAgentSessionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentSessionSync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1241,7 +1241,7 @@ impl ConversationalAgentSignal { pub fn IsSignalVerificationRequired(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSignalVerificationRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1252,7 +1252,7 @@ impl ConversationalAgentSignal { pub fn SignalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1263,7 +1263,7 @@ impl ConversationalAgentSignal { pub fn SignalName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1274,7 +1274,7 @@ impl ConversationalAgentSignal { pub fn SignalContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1288,7 +1288,7 @@ impl ConversationalAgentSignal { pub fn SignalStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1299,7 +1299,7 @@ impl ConversationalAgentSignal { pub fn SignalEnd(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1310,14 +1310,14 @@ impl ConversationalAgentSignal { pub fn DetectorId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetectorId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetectorKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetectorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1359,7 +1359,7 @@ impl ConversationalAgentSystemStateChangedEventArgs { pub fn SystemStateChangeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemStateChangeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1384,7 +1384,7 @@ impl DetectionConfigurationAvailabilityChangedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1409,28 +1409,28 @@ impl DetectionConfigurationAvailabilityInfo { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasSystemResourceAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasSystemResourceAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasPermission(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasPermission)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasLockScreenPermission(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasLockScreenPermission)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1438,7 +1438,7 @@ impl DetectionConfigurationAvailabilityInfo { pub fn UnavailableSystemResources(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnavailableSystemResources)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs index 495d1f6809..298b60652c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs @@ -58,7 +58,7 @@ impl IFrameworkView_Vtbl { let this = (*this).get_impl(); IFrameworkView_Impl::SetWindow(this, windows_core::from_raw_borrowed(&window)).into() } - unsafe extern "system" fn Load, Impl: IFrameworkView_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entrypoint: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Load, Impl: IFrameworkView_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entrypoint: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFrameworkView_Impl::Load(this, core::mem::transmute(&entrypoint)).into() diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs index 5437340ffa..66dba75e4f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs @@ -15,7 +15,7 @@ impl windows_core::RuntimeType for IAppListEntry2 { #[repr(C)] pub struct IAppListEntry2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppListEntry3, IAppListEntry3_Vtbl, 0x6099f28d_fc32_470a_bc69_4b061a76ef2e); impl windows_core::RuntimeType for IAppListEntry3 { @@ -45,7 +45,7 @@ impl windows_core::RuntimeType for ICoreApplication { #[repr(C)] pub struct ICoreApplication_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Suspending: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSuspending: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Resuming: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -83,9 +83,9 @@ impl windows_core::RuntimeType for ICoreApplication3 { #[repr(C)] pub struct ICoreApplication3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestRestartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestRestartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] - pub RequestRestartForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestRestartForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] RequestRestartForUserAsync: usize, } @@ -104,7 +104,7 @@ windows_core::imp::define_interface!(ICoreApplicationUnhandledError, ICoreApplic impl std::ops::Deref for ICoreApplicationUnhandledError { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreApplicationUnhandledError, windows_core::IUnknown, windows_core::IInspectable); @@ -115,7 +115,7 @@ impl ICoreApplicationUnhandledError { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnhandledErrorDetected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -239,7 +239,7 @@ pub struct ICoreImmersiveApplication_Vtbl { pub Views: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Views: usize, - pub CreateNewView: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateNewView: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MainView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreImmersiveApplication2, ICoreImmersiveApplication2_Vtbl, 0x828e1e36_e9e3_4cfc_9b66_48b78ea9bb2c); @@ -264,7 +264,7 @@ windows_core::imp::define_interface!(IFrameworkView, IFrameworkView_Vtbl, 0xfaab impl std::ops::Deref for IFrameworkView { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFrameworkView, windows_core::IUnknown, windows_core::IInspectable); @@ -308,7 +308,7 @@ pub struct IFrameworkView_Vtbl { pub SetWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Core"))] SetWindow: usize, - pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Run: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Uninitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -316,7 +316,7 @@ windows_core::imp::define_interface!(IFrameworkViewSource, IFrameworkViewSource_ impl std::ops::Deref for IFrameworkViewSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFrameworkViewSource, windows_core::IUnknown, windows_core::IInspectable); @@ -324,7 +324,7 @@ impl IFrameworkViewSource { pub fn CreateView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -373,21 +373,21 @@ impl AppListEntry { pub fn DisplayInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LaunchAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppUserModelId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppUserModelId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -398,14 +398,14 @@ impl AppListEntry { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -426,7 +426,7 @@ pub struct CoreApplication; impl CoreApplication { pub fn Id() -> windows_core::Result { Self::ICoreApplication(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -435,7 +435,7 @@ impl CoreApplication { P0: windows_core::Param>, { Self::ICoreApplication(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Suspending)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -447,7 +447,7 @@ impl CoreApplication { P0: windows_core::Param>, { Self::ICoreApplication(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Resuming)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -457,13 +457,13 @@ impl CoreApplication { #[cfg(feature = "Foundation_Collections")] pub fn Properties() -> windows_core::Result { Self::ICoreApplication(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetCurrentView() -> windows_core::Result { Self::ICoreApplication(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -485,7 +485,7 @@ impl CoreApplication { P0: windows_core::Param>, { Self::ICoreApplication2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundActivated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -497,7 +497,7 @@ impl CoreApplication { P0: windows_core::Param>, { Self::ICoreApplication2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeavingBackground)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -509,7 +509,7 @@ impl CoreApplication { P0: windows_core::Param>, { Self::ICoreApplication2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnteredBackground)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -521,7 +521,7 @@ impl CoreApplication { } pub fn RequestRestartAsync(launcharguments: &windows_core::HSTRING) -> windows_core::Result> { Self::ICoreApplication3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestRestartAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(launcharguments), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -531,7 +531,7 @@ impl CoreApplication { P0: windows_core::Param, { Self::ICoreApplication3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestRestartForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(launcharguments), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -543,7 +543,7 @@ impl CoreApplication { P0: windows_core::Param>, { Self::ICoreApplicationExit(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exiting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -555,7 +555,7 @@ impl CoreApplication { P0: windows_core::Param>, { Self::ICoreApplicationUnhandledError(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnhandledErrorDetected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -571,25 +571,25 @@ impl CoreApplication { #[cfg(feature = "Foundation_Collections")] pub fn Views() -> windows_core::Result> { Self::ICoreImmersiveApplication(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Views)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateNewView(runtimetype: &windows_core::HSTRING, entrypoint: &windows_core::HSTRING) -> windows_core::Result { Self::ICoreImmersiveApplication(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNewView)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(runtimetype), core::mem::transmute_copy(entrypoint), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MainView() -> windows_core::Result { Self::ICoreImmersiveApplication(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateNewViewFromMainView() -> windows_core::Result { Self::ICoreImmersiveApplication2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNewViewFromMainView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -598,7 +598,7 @@ impl CoreApplication { P0: windows_core::Param, { Self::ICoreImmersiveApplication3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNewViewWithViewSource)(windows_core::Interface::as_raw(this), viewsource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -660,7 +660,7 @@ impl CoreApplicationView { pub fn CoreWindow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoreWindow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -671,7 +671,7 @@ impl CoreApplicationView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Activated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -682,14 +682,14 @@ impl CoreApplicationView { pub fn IsMain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHosted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHosted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -697,21 +697,21 @@ impl CoreApplicationView { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsComponent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComponent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TitleBar(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TitleBar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -721,7 +721,7 @@ impl CoreApplicationView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HostedViewClosing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -733,7 +733,7 @@ impl CoreApplicationView { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -741,7 +741,7 @@ impl CoreApplicationView { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -768,28 +768,28 @@ impl CoreApplicationViewTitleBar { pub fn ExtendViewIntoTitleBar(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendViewIntoTitleBar)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SystemOverlayLeftInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemOverlayLeftInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SystemOverlayRightInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemOverlayRightInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -799,7 +799,7 @@ impl CoreApplicationViewTitleBar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LayoutMetricsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -810,7 +810,7 @@ impl CoreApplicationViewTitleBar { pub fn IsVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -820,7 +820,7 @@ impl CoreApplicationViewTitleBar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisibleChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -847,7 +847,7 @@ impl HostedViewClosingEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -872,7 +872,7 @@ impl UnhandledError { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -901,7 +901,7 @@ impl UnhandledErrorDetectedEventArgs { pub fn UnhandledError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnhandledError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 f342d1026f..4b2d184277 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 @@ -87,8 +87,8 @@ pub struct ICoreDragUIOverride_Vtbl { SetContentFromSoftwareBitmapWithAnchorPoint: usize, pub IsContentVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsContentVisible: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCaptionVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsCaptionVisible: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsGlyphVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -99,7 +99,7 @@ windows_core::imp::define_interface!(ICoreDropOperationTarget, ICoreDropOperatio impl std::ops::Deref for ICoreDropOperationTarget { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreDropOperationTarget, windows_core::IUnknown, windows_core::IInspectable); @@ -111,7 +111,7 @@ impl ICoreDropOperationTarget { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterAsync)(windows_core::Interface::as_raw(this), draginfo.param().abi(), draguioverride.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -122,7 +122,7 @@ impl ICoreDropOperationTarget { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OverAsync)(windows_core::Interface::as_raw(this), draginfo.param().abi(), draguioverride.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -132,7 +132,7 @@ impl ICoreDropOperationTarget { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeaveAsync)(windows_core::Interface::as_raw(this), draginfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -142,7 +142,7 @@ impl ICoreDropOperationTarget { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DropAsync)(windows_core::Interface::as_raw(this), draginfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -178,7 +178,7 @@ impl CoreDragDropManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetRequested)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -189,7 +189,7 @@ impl CoreDragDropManager { pub fn AreConcurrentOperationsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreConcurrentOperationsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -199,7 +199,7 @@ impl CoreDragDropManager { } pub fn GetForCurrentView() -> windows_core::Result { Self::ICoreDragDropManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -229,28 +229,28 @@ impl CoreDragInfo { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Modifiers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Modifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AllowedOperations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedOperations)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -282,7 +282,7 @@ impl CoreDragOperation { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -309,7 +309,7 @@ impl CoreDragOperation { pub fn DragUIContentMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DragUIContentMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -320,14 +320,14 @@ impl CoreDragOperation { pub fn StartAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AllowedOperations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedOperations)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -372,7 +372,7 @@ impl CoreDragUIOverride { pub fn IsContentVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsContentVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -383,7 +383,7 @@ impl CoreDragUIOverride { pub fn Caption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Caption)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -394,7 +394,7 @@ impl CoreDragUIOverride { pub fn IsCaptionVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCaptionVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -405,7 +405,7 @@ impl CoreDragUIOverride { pub fn IsGlyphVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGlyphVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 eab9450798..b6e2810d72 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for IQuickLink { #[repr(C)] pub struct IQuickLink_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Thumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -15,8 +15,8 @@ pub struct IQuickLink_Vtbl { pub SetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetThumbnail: usize, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SupportedDataFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -34,14 +34,14 @@ impl windows_core::RuntimeType for IShareOperation { pub struct IShareOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub QuickLinkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QuickLinkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveThisQuickLink: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportStarted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportDataRetrieved: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportSubmittedBackgroundTask: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportCompletedWithQuickLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShareOperation2, IShareOperation2_Vtbl, 0x0ffb97c1_9778_4a09_8e5b_cb5e482d0555); impl windows_core::RuntimeType for IShareOperation2 { @@ -79,7 +79,7 @@ impl QuickLink { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -91,7 +91,7 @@ impl QuickLink { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -106,7 +106,7 @@ impl QuickLink { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -118,7 +118,7 @@ impl QuickLink { pub fn SupportedDataFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedDataFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -126,7 +126,7 @@ impl QuickLink { pub fn SupportedFileTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedFileTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -149,14 +149,14 @@ impl ShareOperation { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn QuickLinkId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuickLinkId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -199,7 +199,7 @@ impl ShareOperation { pub fn Contacts(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contacts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 4add004c23..79528f4409 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -37,7 +37,7 @@ impl windows_core::RuntimeType for IClipboardHistoryItem { #[repr(C)] pub struct IClipboardHistoryItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -104,19 +104,19 @@ pub struct IDataPackage_Vtbl { pub RemoveOperationCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Destroyed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDestroyed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetDataProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetDataProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] pub SetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetUri: usize, - pub SetHtmlFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHtmlFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub ResourceMap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] ResourceMap: usize, - pub SetRtf: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRtf: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub SetBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -167,10 +167,10 @@ impl windows_core::RuntimeType for IDataPackagePropertySet { #[repr(C)] pub struct IDataPackagePropertySet_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Thumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -183,8 +183,8 @@ pub struct IDataPackagePropertySet_Vtbl { pub FileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FileTypes: usize, - pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ApplicationListingUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetApplicationListingUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -199,8 +199,8 @@ pub struct IDataPackagePropertySet2_Vtbl { pub SetContentSourceWebLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ContentSourceApplicationLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetContentSourceApplicationLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Square30x30Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -225,8 +225,8 @@ impl windows_core::RuntimeType for IDataPackagePropertySet3 { #[repr(C)] pub struct IDataPackagePropertySet3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataPackagePropertySet4, IDataPackagePropertySet4_Vtbl, 0x6390ebf5_1739_4c74_b22f_865fab5e8545); impl windows_core::RuntimeType for IDataPackagePropertySet4 { @@ -235,8 +235,8 @@ impl windows_core::RuntimeType for IDataPackagePropertySet4 { #[repr(C)] pub struct IDataPackagePropertySet4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContentSourceUserActivityJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContentSourceUserActivityJson: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentSourceUserActivityJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContentSourceUserActivityJson: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataPackagePropertySetView, IDataPackagePropertySetView_Vtbl, 0xb94cec01_0c1a_4c57_be55_75d01289735d); impl windows_core::RuntimeType for IDataPackagePropertySetView { @@ -245,8 +245,8 @@ impl windows_core::RuntimeType for IDataPackagePropertySetView { #[repr(C)] pub struct IDataPackagePropertySetView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Thumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -255,7 +255,7 @@ pub struct IDataPackagePropertySetView_Vtbl { pub FileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FileTypes: usize, - pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ApplicationListingUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataPackagePropertySetView2, IDataPackagePropertySetView2_Vtbl, 0x6054509b_8ebe_4feb_9c1e_75e69de54b84); @@ -265,7 +265,7 @@ impl windows_core::RuntimeType for IDataPackagePropertySetView2 { #[repr(C)] pub struct IDataPackagePropertySetView2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ContentSourceWebLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ContentSourceApplicationLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] @@ -284,7 +284,7 @@ impl windows_core::RuntimeType for IDataPackagePropertySetView3 { #[repr(C)] pub struct IDataPackagePropertySetView3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataPackagePropertySetView4, IDataPackagePropertySetView4_Vtbl, 0x4474c80d_d16f_40ae_9580_6f8562b94235); impl windows_core::RuntimeType for IDataPackagePropertySetView4 { @@ -293,7 +293,7 @@ impl windows_core::RuntimeType for IDataPackagePropertySetView4 { #[repr(C)] pub struct IDataPackagePropertySetView4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContentSourceUserActivityJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentSourceUserActivityJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataPackagePropertySetView5, IDataPackagePropertySetView5_Vtbl, 0x6f0a9445_3760_50bb_8523_c4202ded7d78); impl windows_core::RuntimeType for IDataPackagePropertySetView5 { @@ -318,10 +318,10 @@ pub struct IDataPackageView_Vtbl { pub AvailableFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AvailableFormats: usize, - pub Contains: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub GetDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Contains: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub GetDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCustomTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCustomTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] pub GetUriAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] @@ -363,7 +363,7 @@ pub struct IDataPackageView3_Vtbl { #[cfg(not(feature = "Security_EnterpriseData"))] RequestAccessAsync: usize, #[cfg(feature = "Security_EnterpriseData")] - pub RequestAccessWithEnterpriseIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessWithEnterpriseIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_EnterpriseData"))] RequestAccessWithEnterpriseIdAsync: usize, #[cfg(feature = "Security_EnterpriseData")] @@ -378,7 +378,7 @@ impl windows_core::RuntimeType for IDataPackageView4 { #[repr(C)] pub struct IDataPackageView4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetAcceptedFormatId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAcceptedFormatId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataProviderDeferral, IDataProviderDeferral_Vtbl, 0xc2cf2373_2d26_43d9_b69d_dcb86d03f6da); impl windows_core::RuntimeType for IDataProviderDeferral { @@ -396,7 +396,7 @@ impl windows_core::RuntimeType for IDataProviderRequest { #[repr(C)] pub struct IDataProviderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FormatId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -411,7 +411,7 @@ pub struct IDataRequest_Vtbl { pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub FailWithDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FailWithDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataRequestDeferral, IDataRequestDeferral_Vtbl, 0x6dc4b89f_0386_4263_87c1_ed7dce30890e); @@ -489,8 +489,8 @@ impl windows_core::RuntimeType for IHtmlFormatHelperStatics { #[repr(C)] pub struct IHtmlFormatHelperStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetStaticFragment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateHtmlFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStaticFragment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateHtmlFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOperationCompletedEventArgs, IOperationCompletedEventArgs_Vtbl, 0xe7af329d_051d_4fab_b1a9_47fd77f70a41); impl windows_core::RuntimeType for IOperationCompletedEventArgs { @@ -508,7 +508,7 @@ impl windows_core::RuntimeType for IOperationCompletedEventArgs2 { #[repr(C)] pub struct IOperationCompletedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AcceptedFormatId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AcceptedFormatId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShareCompletedEventArgs, IShareCompletedEventArgs_Vtbl, 0x4574c442_f913_4f60_9df7_cc4060ab1916); impl windows_core::RuntimeType for IShareCompletedEventArgs { @@ -526,7 +526,7 @@ impl windows_core::RuntimeType for IShareProvider { #[repr(C)] pub struct IShareProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub DisplayIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -546,7 +546,7 @@ impl windows_core::RuntimeType for IShareProviderFactory { pub struct IShareProviderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(all(feature = "Storage_Streams", feature = "UI"))] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::UI::Color, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::UI::Color, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Storage_Streams", feature = "UI")))] Create: usize, } @@ -582,7 +582,7 @@ impl windows_core::RuntimeType for IShareTargetInfo { #[repr(C)] pub struct IShareTargetInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ShareProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShareUIOptions, IShareUIOptions_Vtbl, 0x72fa8a80_342f_4d90_9551_2ae04e37680c); @@ -605,14 +605,14 @@ impl windows_core::RuntimeType for ISharedStorageAccessManagerStatics { pub struct ISharedStorageAccessManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage")] - pub AddFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] AddFile: usize, #[cfg(feature = "Storage")] - pub RedeemTokenForFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RedeemTokenForFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] RedeemTokenForFileAsync: usize, - pub RemoveFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStandardDataFormatsStatics, IStandardDataFormatsStatics_Vtbl, 0x7ed681a1_a880_40c9_b4ed_0bee1e15f549); impl windows_core::RuntimeType for IStandardDataFormatsStatics { @@ -621,15 +621,15 @@ impl windows_core::RuntimeType for IStandardDataFormatsStatics { #[repr(C)] pub struct IStandardDataFormatsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] - pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Uri: usize, - pub Html: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rtf: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Bitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StorageItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Html: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rtf: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StorageItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStandardDataFormatsStatics2, IStandardDataFormatsStatics2_Vtbl, 0x42a254f4_9d76_42e8_861b_47c25dd0cf71); impl windows_core::RuntimeType for IStandardDataFormatsStatics2 { @@ -638,8 +638,8 @@ impl windows_core::RuntimeType for IStandardDataFormatsStatics2 { #[repr(C)] pub struct IStandardDataFormatsStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub WebLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WebLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStandardDataFormatsStatics3, IStandardDataFormatsStatics3_Vtbl, 0x3b57b069_01d4_474c_8b5f_bc8e27f38b21); impl windows_core::RuntimeType for IStandardDataFormatsStatics3 { @@ -648,7 +648,7 @@ impl windows_core::RuntimeType for IStandardDataFormatsStatics3 { #[repr(C)] pub struct IStandardDataFormatsStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UserActivityJsonArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserActivityJsonArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetApplicationChosenEventArgs, ITargetApplicationChosenEventArgs_Vtbl, 0xca6fb8ac_2987_4ee3_9c54_d8afbcb86c1d); impl windows_core::RuntimeType for ITargetApplicationChosenEventArgs { @@ -657,13 +657,13 @@ impl windows_core::RuntimeType for ITargetApplicationChosenEventArgs { #[repr(C)] pub struct ITargetApplicationChosenEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub struct Clipboard; impl Clipboard { pub fn GetContent() -> windows_core::Result { Self::IClipboardStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -684,7 +684,7 @@ impl Clipboard { P0: windows_core::Param>, { Self::IClipboardStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -693,13 +693,13 @@ impl Clipboard { } pub fn GetHistoryItemsAsync() -> windows_core::Result> { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHistoryItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ClearHistory() -> windows_core::Result { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearHistory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -708,7 +708,7 @@ impl Clipboard { P0: windows_core::Param, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteItemFromHistory)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) }) } @@ -717,19 +717,19 @@ impl Clipboard { P0: windows_core::Param, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetHistoryItemAsContent)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) }) } pub fn IsHistoryEnabled() -> windows_core::Result { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHistoryEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsRoamingEnabled() -> windows_core::Result { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRoamingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -739,7 +739,7 @@ impl Clipboard { P1: windows_core::Param, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetContentWithOptions)(windows_core::Interface::as_raw(this), content.param().abi(), options.param().abi(), &mut result__).map(|| result__) }) } @@ -748,7 +748,7 @@ impl Clipboard { P0: windows_core::Param>, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HistoryChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -760,7 +760,7 @@ impl Clipboard { P0: windows_core::Param>, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingEnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -772,7 +772,7 @@ impl Clipboard { P0: windows_core::Param>, { Self::IClipboardStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HistoryEnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -808,7 +808,7 @@ impl ClipboardContentOptions { pub fn IsRoamable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRoamable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -819,7 +819,7 @@ impl ClipboardContentOptions { pub fn IsAllowedInHistory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAllowedInHistory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -831,7 +831,7 @@ impl ClipboardContentOptions { pub fn RoamingFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -839,7 +839,7 @@ impl ClipboardContentOptions { pub fn HistoryFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HistoryFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -881,21 +881,21 @@ impl ClipboardHistoryItem { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -920,7 +920,7 @@ impl ClipboardHistoryItemsResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -928,7 +928,7 @@ impl ClipboardHistoryItemsResult { pub fn Items(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -960,21 +960,21 @@ impl DataPackage { pub fn GetView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestedOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedOperation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -988,7 +988,7 @@ impl DataPackage { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1002,7 +1002,7 @@ impl DataPackage { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Destroyed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1044,7 +1044,7 @@ impl DataPackage { pub fn ResourceMap(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceMap)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1096,7 +1096,7 @@ impl DataPackage { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1110,7 +1110,7 @@ impl DataPackage { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareCanceled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1141,7 +1141,7 @@ impl DataPackagePropertySet { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1152,7 +1152,7 @@ impl DataPackagePropertySet { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1164,7 +1164,7 @@ impl DataPackagePropertySet { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1180,14 +1180,14 @@ impl DataPackagePropertySet { pub fn FileTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApplicationName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1198,7 +1198,7 @@ impl DataPackagePropertySet { pub fn ApplicationListingUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationListingUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1212,7 +1212,7 @@ impl DataPackagePropertySet { pub fn ContentSourceWebLink(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentSourceWebLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1226,7 +1226,7 @@ impl DataPackagePropertySet { pub fn ContentSourceApplicationLink(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentSourceApplicationLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1240,7 +1240,7 @@ impl DataPackagePropertySet { pub fn PackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1252,7 +1252,7 @@ impl DataPackagePropertySet { pub fn Square30x30Logo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Square30x30Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1268,7 +1268,7 @@ impl DataPackagePropertySet { pub fn LogoBackgroundColor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogoBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1280,7 +1280,7 @@ impl DataPackagePropertySet { pub fn EnterpriseId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterpriseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1291,7 +1291,7 @@ impl DataPackagePropertySet { pub fn ContentSourceUserActivityJson(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentSourceUserActivityJson)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1303,7 +1303,7 @@ impl DataPackagePropertySet { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1311,7 +1311,7 @@ impl DataPackagePropertySet { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1319,7 +1319,7 @@ impl DataPackagePropertySet { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1327,7 +1327,7 @@ impl DataPackagePropertySet { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -1335,7 +1335,7 @@ impl DataPackagePropertySet { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1346,7 +1346,7 @@ impl DataPackagePropertySet { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -1399,14 +1399,14 @@ impl DataPackagePropertySetView { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1414,7 +1414,7 @@ impl DataPackagePropertySetView { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1422,42 +1422,42 @@ impl DataPackagePropertySetView { pub fn FileTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApplicationName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApplicationListingUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationListingUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentSourceWebLink(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentSourceWebLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentSourceApplicationLink(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentSourceApplicationLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1465,7 +1465,7 @@ impl DataPackagePropertySetView { pub fn Square30x30Logo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Square30x30Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1473,28 +1473,28 @@ impl DataPackagePropertySetView { pub fn LogoBackgroundColor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogoBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnterpriseId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterpriseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentSourceUserActivityJson(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentSourceUserActivityJson)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsFromRoamingClipboard(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFromRoamingClipboard)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1502,7 +1502,7 @@ impl DataPackagePropertySetView { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1510,7 +1510,7 @@ impl DataPackagePropertySetView { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1518,7 +1518,7 @@ impl DataPackagePropertySetView { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1526,7 +1526,7 @@ impl DataPackagePropertySetView { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -1572,14 +1572,14 @@ impl DataPackageView { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestedOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedOperation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1591,35 +1591,35 @@ impl DataPackageView { pub fn AvailableFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Contains(&self, formatid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contains)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(formatid), &mut result__).map(|| result__) } } pub fn GetDataAsync(&self, formatid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDataAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(formatid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetTextAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTextAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCustomTextAsync(&self, formatid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCustomTextAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(formatid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1627,14 +1627,14 @@ impl DataPackageView { pub fn GetUriAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUriAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetHtmlFormatAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHtmlFormatAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1642,14 +1642,14 @@ impl DataPackageView { pub fn GetResourceMapAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResourceMapAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetRtfAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRtfAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1657,7 +1657,7 @@ impl DataPackageView { pub fn GetBitmapAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBitmapAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1665,21 +1665,21 @@ impl DataPackageView { pub fn GetStorageItemsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStorageItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetApplicationLinkAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetApplicationLinkAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetWebLinkAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWebLinkAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1687,7 +1687,7 @@ impl DataPackageView { pub fn RequestAccessAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1695,7 +1695,7 @@ impl DataPackageView { pub fn RequestAccessWithEnterpriseIdAsync(&self, enterpriseid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessWithEnterpriseIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(enterpriseid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1703,7 +1703,7 @@ impl DataPackageView { pub fn UnlockAndAssumeEnterpriseIdentity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnlockAndAssumeEnterpriseIdentity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1754,21 +1754,21 @@ impl DataProviderRequest { pub fn FormatId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1800,7 +1800,7 @@ impl DataRequest { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1814,7 +1814,7 @@ impl DataRequest { pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1825,7 +1825,7 @@ impl DataRequest { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1872,7 +1872,7 @@ impl DataRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1900,7 +1900,7 @@ impl DataTransferManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1914,7 +1914,7 @@ impl DataTransferManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetApplicationChosen)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1928,7 +1928,7 @@ impl DataTransferManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareProvidersRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1941,13 +1941,13 @@ impl DataTransferManager { } pub fn GetForCurrentView() -> windows_core::Result { Self::IDataTransferManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IDataTransferManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1987,13 +1987,13 @@ pub struct HtmlFormatHelper; impl HtmlFormatHelper { pub fn GetStaticFragment(htmlformat: &windows_core::HSTRING) -> windows_core::Result { Self::IHtmlFormatHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStaticFragment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(htmlformat), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateHtmlFormat(htmlfragment: &windows_core::HSTRING) -> windows_core::Result { Self::IHtmlFormatHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateHtmlFormat)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(htmlfragment), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2014,14 +2014,14 @@ impl OperationCompletedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AcceptedFormatId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptedFormatId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2046,7 +2046,7 @@ impl ShareCompletedEventArgs { pub fn ShareTarget(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareTarget)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2071,7 +2071,7 @@ impl ShareProvider { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2079,7 +2079,7 @@ impl ShareProvider { pub fn DisplayIcon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayIcon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2087,14 +2087,14 @@ impl ShareProvider { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2112,7 +2112,7 @@ impl ShareProvider { P1: windows_core::Param, { Self::IShareProviderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), displayicon.param().abi(), backgroundcolor, handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2142,14 +2142,14 @@ impl ShareProviderOperation { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Provider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Provider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2179,21 +2179,21 @@ impl ShareProvidersRequestedEventArgs { pub fn Providers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Providers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2218,14 +2218,14 @@ impl ShareTargetInfo { pub fn AppUserModelId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppUserModelId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShareProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2257,7 +2257,7 @@ impl ShareUIOptions { pub fn Theme(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Theme)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2268,7 +2268,7 @@ impl ShareUIOptions { pub fn SelectionRect(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectionRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2300,14 +2300,14 @@ impl SharedStorageAccessManager { P0: windows_core::Param, { Self::ISharedStorageAccessManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddFile)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage")] pub fn RedeemTokenForFileAsync(token: &windows_core::HSTRING) -> windows_core::Result> { Self::ISharedStorageAccessManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedeemTokenForFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2327,56 +2327,56 @@ pub struct StandardDataFormats; impl StandardDataFormats { pub fn Text() -> windows_core::Result { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn Uri() -> windows_core::Result { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Html() -> windows_core::Result { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Html)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Rtf() -> windows_core::Result { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rtf)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Bitmap() -> windows_core::Result { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bitmap)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn StorageItems() -> windows_core::Result { Self::IStandardDataFormatsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorageItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WebLink() -> windows_core::Result { Self::IStandardDataFormatsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ApplicationLink() -> windows_core::Result { Self::IStandardDataFormatsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UserActivityJsonArray() -> windows_core::Result { Self::IStandardDataFormatsStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserActivityJsonArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2407,7 +2407,7 @@ impl TargetApplicationChosenEventArgs { pub fn ApplicationName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 9e48c54f74..447135734f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs @@ -53,9 +53,9 @@ impl windows_core::RuntimeType for IEmailMailboxCreateFolderRequest { #[repr(C)] pub struct IEmailMailboxCreateFolderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ParentFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParentFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::EmailMailboxCreateFolderStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -76,8 +76,8 @@ impl windows_core::RuntimeType for IEmailMailboxDeleteFolderRequest { #[repr(C)] pub struct IEmailMailboxDeleteFolderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::EmailMailboxDeleteFolderStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -98,9 +98,9 @@ impl windows_core::RuntimeType for IEmailMailboxDownloadAttachmentRequest { #[repr(C)] pub struct IEmailMailboxDownloadAttachmentRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailAttachmentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailAttachmentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -121,8 +121,8 @@ impl windows_core::RuntimeType for IEmailMailboxDownloadMessageRequest { #[repr(C)] pub struct IEmailMailboxDownloadMessageRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -143,8 +143,8 @@ impl windows_core::RuntimeType for IEmailMailboxEmptyFolderRequest { #[repr(C)] pub struct IEmailMailboxEmptyFolderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::EmailMailboxEmptyFolderStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -165,16 +165,16 @@ impl windows_core::RuntimeType for IEmailMailboxForwardMeetingRequest { #[repr(C)] pub struct IEmailMailboxForwardMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Recipients: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Recipients: usize, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ForwardHeaderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::EmailMessageBodyKind) -> windows_core::HRESULT, - pub ForwardHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ForwardHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -195,7 +195,7 @@ impl windows_core::RuntimeType for IEmailMailboxGetAutoReplySettingsRequest { #[repr(C)] pub struct IEmailMailboxGetAutoReplySettingsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestedFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::EmailMailboxAutoReplyMessageResponseKind) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -217,10 +217,10 @@ impl windows_core::RuntimeType for IEmailMailboxMoveFolderRequest { #[repr(C)] pub struct IEmailMailboxMoveFolderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NewParentFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NewFolderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NewParentFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NewFolderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -241,12 +241,12 @@ impl windows_core::RuntimeType for IEmailMailboxProposeNewTimeForMeetingRequest #[repr(C)] pub struct IEmailMailboxProposeNewTimeForMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NewStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub NewDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -267,7 +267,7 @@ impl windows_core::RuntimeType for IEmailMailboxResolveRecipientsRequest { #[repr(C)] pub struct IEmailMailboxResolveRecipientsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Recipients: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -295,9 +295,9 @@ impl windows_core::RuntimeType for IEmailMailboxServerSearchReadBatchRequest { #[repr(C)] pub struct IEmailMailboxServerSearchReadBatchRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SuggestedBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SaveMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -321,7 +321,7 @@ impl windows_core::RuntimeType for IEmailMailboxSetAutoReplySettingsRequest { #[repr(C)] pub struct IEmailMailboxSetAutoReplySettingsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AutoReplySettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -343,7 +343,7 @@ impl windows_core::RuntimeType for IEmailMailboxSyncManagerSyncRequest { #[repr(C)] pub struct IEmailMailboxSyncManagerSyncRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -364,11 +364,11 @@ impl windows_core::RuntimeType for IEmailMailboxUpdateMeetingResponseRequest { #[repr(C)] pub struct IEmailMailboxUpdateMeetingResponseRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Response: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::EmailMeetingResponseType) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SendUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -390,7 +390,7 @@ impl windows_core::RuntimeType for IEmailMailboxValidateCertificatesRequest { #[repr(C)] pub struct IEmailMailboxValidateCertificatesRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates"))] pub Certificates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] @@ -422,7 +422,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MailboxSyncRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -436,7 +436,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadMessageRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -450,7 +450,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadAttachmentRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -464,7 +464,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -478,7 +478,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteFolderRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -492,7 +492,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmptyFolderRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -506,7 +506,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveFolderRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -520,7 +520,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateMeetingResponseRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -534,7 +534,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForwardMeetingRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -548,7 +548,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProposeNewTimeForMeetingRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -562,7 +562,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAutoReplySettingsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -576,7 +576,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAutoReplySettingsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -590,7 +590,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolveRecipientsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -604,7 +604,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateCertificatesRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -618,7 +618,7 @@ impl EmailDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerSearchReadBatchRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -651,7 +651,7 @@ impl EmailDataProviderTriggerDetails { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -676,21 +676,21 @@ impl EmailMailboxCreateFolderRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentFolderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentFolderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -700,14 +700,14 @@ impl EmailMailboxCreateFolderRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), folder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self, status: super::EmailMailboxCreateFolderStatus) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), status, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -732,14 +732,14 @@ impl EmailMailboxCreateFolderRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -764,28 +764,28 @@ impl EmailMailboxDeleteFolderRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailFolderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailFolderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self, status: super::EmailMailboxDeleteFolderStatus) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), status, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -810,14 +810,14 @@ impl EmailMailboxDeleteFolderRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -842,35 +842,35 @@ impl EmailMailboxDownloadAttachmentRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailMessageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMessageId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailAttachmentId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailAttachmentId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -895,14 +895,14 @@ impl EmailMailboxDownloadAttachmentRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -927,28 +927,28 @@ impl EmailMailboxDownloadMessageRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailMessageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMessageId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -973,14 +973,14 @@ impl EmailMailboxDownloadMessageRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1005,28 +1005,28 @@ impl EmailMailboxEmptyFolderRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailFolderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailFolderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self, status: super::EmailMailboxEmptyFolderStatus) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), status, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1051,14 +1051,14 @@ impl EmailMailboxEmptyFolderRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1083,14 +1083,14 @@ impl EmailMailboxForwardMeetingRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailMessageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMessageId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1098,49 +1098,49 @@ impl EmailMailboxForwardMeetingRequest { pub fn Recipients(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recipients)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ForwardHeaderType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForwardHeaderType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ForwardHeader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForwardHeader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1165,14 +1165,14 @@ impl EmailMailboxForwardMeetingRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1197,14 +1197,14 @@ impl EmailMailboxGetAutoReplySettingsRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestedFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1214,14 +1214,14 @@ impl EmailMailboxGetAutoReplySettingsRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), autoreplysettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1246,14 +1246,14 @@ impl EmailMailboxGetAutoReplySettingsRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1278,42 +1278,42 @@ impl EmailMailboxMoveFolderRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailFolderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailFolderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NewParentFolderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewParentFolderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NewFolderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewFolderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1338,14 +1338,14 @@ impl EmailMailboxMoveFolderRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1370,56 +1370,56 @@ impl EmailMailboxProposeNewTimeForMeetingRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailMessageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMessageId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NewStartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewStartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NewDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1444,14 +1444,14 @@ impl EmailMailboxProposeNewTimeForMeetingRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1476,7 +1476,7 @@ impl EmailMailboxResolveRecipientsRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1484,7 +1484,7 @@ impl EmailMailboxResolveRecipientsRequest { pub fn Recipients(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recipients)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1495,14 +1495,14 @@ impl EmailMailboxResolveRecipientsRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), resolutionresults.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1527,14 +1527,14 @@ impl EmailMailboxResolveRecipientsRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1559,35 +1559,35 @@ impl EmailMailboxServerSearchReadBatchRequest { pub fn SessionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailFolderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailFolderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Options(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SuggestedBatchSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestedBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1597,21 +1597,21 @@ impl EmailMailboxServerSearchReadBatchRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self, batchstatus: super::EmailBatchStatus) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), batchstatus, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1636,14 +1636,14 @@ impl EmailMailboxServerSearchReadBatchRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1668,28 +1668,28 @@ impl EmailMailboxSetAutoReplySettingsRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AutoReplySettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoReplySettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1714,14 +1714,14 @@ impl EmailMailboxSetAutoReplySettingsRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1746,21 +1746,21 @@ impl EmailMailboxSyncManagerSyncRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1785,14 +1785,14 @@ impl EmailMailboxSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1817,56 +1817,56 @@ impl EmailMailboxUpdateMeetingResponseRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmailMessageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMessageId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Response(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Response)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SendUpdate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendUpdate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1891,14 +1891,14 @@ impl EmailMailboxUpdateMeetingResponseRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1923,7 +1923,7 @@ impl EmailMailboxValidateCertificatesRequest { pub fn EmailMailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1931,7 +1931,7 @@ impl EmailMailboxValidateCertificatesRequest { pub fn Certificates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Certificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1942,14 +1942,14 @@ impl EmailMailboxValidateCertificatesRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), validationstatuses.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1974,14 +1974,14 @@ impl EmailMailboxValidateCertificatesRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 68b754e7e5..3f06188809 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs @@ -7,8 +7,8 @@ impl windows_core::RuntimeType for IEmailAttachment { #[repr(C)] pub struct IEmailAttachment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -25,11 +25,11 @@ impl windows_core::RuntimeType for IEmailAttachment2 { #[repr(C)] pub struct IEmailAttachment2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContentId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContentLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContentLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContentId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContentLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DownloadState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailAttachmentDownloadState) -> windows_core::HRESULT, pub SetDownloadState: unsafe extern "system" fn(*mut core::ffi::c_void, EmailAttachmentDownloadState) -> windows_core::HRESULT, pub EstimatedDownloadSizeInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, @@ -37,8 +37,8 @@ pub struct IEmailAttachment2_Vtbl { pub IsFromBaseMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsInline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsInline: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub MimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMimeType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMimeType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailAttachmentFactory, IEmailAttachmentFactory_Vtbl, 0x796eac46_ed56_4979_8708_abb8bc854b7d); impl windows_core::RuntimeType for IEmailAttachmentFactory { @@ -48,7 +48,7 @@ impl windows_core::RuntimeType for IEmailAttachmentFactory { pub struct IEmailAttachmentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage_Streams")] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] Create: usize, } @@ -60,7 +60,7 @@ impl windows_core::RuntimeType for IEmailAttachmentFactory2 { pub struct IEmailAttachmentFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage_Streams")] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] Create: usize, } @@ -71,18 +71,18 @@ impl windows_core::RuntimeType for IEmailConversation { #[repr(C)] pub struct IEmailConversation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FlagState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailFlagState) -> windows_core::HRESULT, pub HasAttachment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Importance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailImportance) -> windows_core::HRESULT, pub LastEmailResponseKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailMessageResponseKind) -> windows_core::HRESULT, pub MessageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub MostRecentMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MostRecentMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MostRecentMessageTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub Preview: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Preview: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LatestSender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub UnreadMessageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindMessagesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -122,19 +122,19 @@ impl windows_core::RuntimeType for IEmailFolder { #[repr(C)] pub struct IEmailFolder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ParentFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParentFolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsSyncEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsSyncEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub LastSuccessfulSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SetLastSuccessfulSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailSpecialFolderKind) -> windows_core::HRESULT, - pub CreateFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindChildFoldersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -142,12 +142,12 @@ pub struct IEmailFolder_Vtbl { FindChildFoldersAsync: usize, pub GetConversationReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetConversationReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMessageReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMessageReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMessageCountsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryMoveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryMoveWithNewNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryMoveWithNewNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TrySaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -199,12 +199,12 @@ impl windows_core::RuntimeType for IEmailIrmTemplate { #[repr(C)] pub struct IEmailIrmTemplate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailIrmTemplateFactory, IEmailIrmTemplateFactory_Vtbl, 0x3da31876_8738_4418_b9cb_471b936fe71e); impl windows_core::RuntimeType for IEmailIrmTemplateFactory { @@ -213,7 +213,7 @@ impl windows_core::RuntimeType for IEmailIrmTemplateFactory { #[repr(C)] pub struct IEmailIrmTemplateFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailItemCounts, IEmailItemCounts_Vtbl, 0x5bd13321_fec8_4bab_83ba_0baf3c1f6cbd); impl windows_core::RuntimeType for IEmailItemCounts { @@ -236,13 +236,13 @@ pub struct IEmailMailbox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsOwnedByCurrentApp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsDataEncryptedUnderLock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub MailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub MailAddressAliases: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -252,39 +252,39 @@ pub struct IEmailMailbox_Vtbl { pub OtherAppWriteAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailMailboxOtherAppWriteAccess) -> windows_core::HRESULT, pub SetOtherAppWriteAccess: unsafe extern "system" fn(*mut core::ffi::c_void, EmailMailboxOtherAppWriteAccess) -> windows_core::HRESULT, pub Policies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SyncManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetConversationReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetConversationReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMessageReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMessageReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetConversationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetConversationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSpecialFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, EmailSpecialFolderKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MarkMessageAsSeenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MarkFolderAsSeenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MarkMessageReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ChangeMessageFlagStateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EmailFlagState, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryMoveMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryMoveFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryMoveFolderWithNewNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MarkFolderSyncEnabledAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MarkMessageAsSeenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MarkFolderAsSeenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MarkMessageReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ChangeMessageFlagStateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EmailFlagState, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryMoveMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryMoveFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryMoveFolderWithNewNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MarkFolderSyncEnabledAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SendMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveDraftAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DownloadMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DownloadAttachmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateResponseMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EmailMessageResponseKind, std::mem::MaybeUninit, EmailMessageBodyKind, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryUpdateMeetingResponseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EmailMeetingResponseType, std::mem::MaybeUninit, std::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DownloadMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DownloadAttachmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateResponseMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EmailMessageResponseKind, core::mem::MaybeUninit, EmailMessageBodyKind, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryUpdateMeetingResponseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EmailMeetingResponseType, core::mem::MaybeUninit, core::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub TryForwardMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, EmailMessageBodyKind, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryForwardMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, EmailMessageBodyKind, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] TryForwardMeetingAsync: usize, - pub TryProposeNewTimeForMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryProposeNewTimeForMeetingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MailboxChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMailboxChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub SmartSendMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -298,9 +298,9 @@ impl windows_core::RuntimeType for IEmailMailbox2 { #[repr(C)] pub struct IEmailMailbox2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LinkedMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NetworkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LinkedMailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailMailbox3, IEmailMailbox3_Vtbl, 0x3da5897b_458b_408a_8e37_ac8b05d8af56); impl windows_core::RuntimeType for IEmailMailbox3 { @@ -317,9 +317,9 @@ pub struct IEmailMailbox3_Vtbl { pub ValidateCertificatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] ValidateCertificatesAsync: usize, - pub TryEmptyFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryCreateFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryDeleteFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryEmptyFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryCreateFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryDeleteFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailMailbox4, IEmailMailbox4_Vtbl, 0x5d1f301b_f222_48a7_b7b6_716356cd26a1); impl windows_core::RuntimeType for IEmailMailbox4 { @@ -337,7 +337,7 @@ impl windows_core::RuntimeType for IEmailMailbox5 { #[repr(C)] pub struct IEmailMailbox5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailMailboxAction, IEmailMailboxAction_Vtbl, 0xac9889fa_21fa_4927_9210_d410582fdf3e); impl windows_core::RuntimeType for IEmailMailboxAction { @@ -358,8 +358,8 @@ pub struct IEmailMailboxAutoReply_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Response: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetResponse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Response: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetResponse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailMailboxAutoReplySettings, IEmailMailboxAutoReplySettings_Vtbl, 0xa87a9fa8_0ac6_4b77_ba77_a6b99e9a27b8); impl windows_core::RuntimeType for IEmailMailboxAutoReplySettings { @@ -615,8 +615,8 @@ pub struct IEmailMeetingInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowNewTimeProposal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowNewTimeProposal: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub AppointmentRoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAppointmentRoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppointmentRoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAppointmentRoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppointmentOriginalStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAppointmentOriginalStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, @@ -625,8 +625,8 @@ pub struct IEmailMeetingInfo_Vtbl { pub SetIsAllDay: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsResponseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsResponseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProposedStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetProposedStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProposedDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -662,10 +662,10 @@ impl windows_core::RuntimeType for IEmailMessage { #[repr(C)] pub struct IEmailMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -690,12 +690,12 @@ impl windows_core::RuntimeType for IEmailMessage2 { #[repr(C)] pub struct IEmailMessage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConversationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailboxId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConversationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FolderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AllowInternetImages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowInternetImages: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ChangeNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, @@ -708,7 +708,7 @@ pub struct IEmailMessage2_Vtbl { pub HasPartialBodies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Importance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailImportance) -> windows_core::HRESULT, pub SetImportance: unsafe extern "system" fn(*mut core::ffi::c_void, EmailImportance) -> windows_core::HRESULT, - pub InResponseToMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InResponseToMessageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IrmInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetIrmInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsDraftMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -718,13 +718,13 @@ pub struct IEmailMessage2_Vtbl { pub SetIsSeen: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsServerSearchMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsSmartSendable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub MessageClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMessageClass: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NormalizedSubject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MessageClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMessageClass: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NormalizedSubject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OriginalCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetOriginalCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Preview: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPreview: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Preview: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPreview: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub LastResponseKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailMessageResponseKind) -> windows_core::HRESULT, pub SetLastResponseKind: unsafe extern "system" fn(*mut core::ffi::c_void, EmailMessageResponseKind) -> windows_core::HRESULT, pub Sender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -822,8 +822,8 @@ impl windows_core::RuntimeType for IEmailQueryOptionsFactory { #[repr(C)] pub struct IEmailQueryOptionsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithTextAndFields: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EmailQuerySearchFields, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTextAndFields: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EmailQuerySearchFields, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailQueryTextSearch, IEmailQueryTextSearch_Vtbl, 0x9fa0a288_3c5d_46a5_a6e2_31d6fd17e540); impl windows_core::RuntimeType for IEmailQueryTextSearch { @@ -836,8 +836,8 @@ pub struct IEmailQueryTextSearch_Vtbl { pub SetFields: unsafe extern "system" fn(*mut core::ffi::c_void, EmailQuerySearchFields) -> windows_core::HRESULT, pub SearchScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailQuerySearchScope) -> windows_core::HRESULT, pub SetSearchScope: unsafe extern "system" fn(*mut core::ffi::c_void, EmailQuerySearchScope) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailRecipient, IEmailRecipient_Vtbl, 0xcae825b3_4478_4814_b900_c902b5e19b53); impl windows_core::RuntimeType for IEmailRecipient { @@ -846,10 +846,10 @@ impl windows_core::RuntimeType for IEmailRecipient { #[repr(C)] pub struct IEmailRecipient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailRecipientFactory, IEmailRecipientFactory_Vtbl, 0x5500b84d_c79a_4ef8_b909_722e18e3935d); impl windows_core::RuntimeType for IEmailRecipientFactory { @@ -858,8 +858,8 @@ impl windows_core::RuntimeType for IEmailRecipientFactory { #[repr(C)] pub struct IEmailRecipientFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailRecipientResolutionResult, IEmailRecipientResolutionResult_Vtbl, 0x918338fa_8d8d_4573_80d1_07172a34b98d); impl windows_core::RuntimeType for IEmailRecipientResolutionResult { @@ -902,12 +902,12 @@ pub struct IEmailStore_Vtbl { pub GetConversationReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMessageReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMessageReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetMailboxAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetConversationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateMailboxAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateMailboxInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMailboxAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetConversationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateMailboxAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateMailboxInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailStoreNotificationTriggerDetails, IEmailStoreNotificationTriggerDetails_Vtbl, 0xce17563c_46e6_43c9_96f7_facf7dd710cb); impl windows_core::RuntimeType for IEmailStoreNotificationTriggerDetails { @@ -932,7 +932,7 @@ impl EmailAttachment { pub fn FileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -944,7 +944,7 @@ impl EmailAttachment { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -959,14 +959,14 @@ impl EmailAttachment { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -977,7 +977,7 @@ impl EmailAttachment { pub fn ContentLocation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -988,7 +988,7 @@ impl EmailAttachment { pub fn DownloadState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -999,7 +999,7 @@ impl EmailAttachment { pub fn EstimatedDownloadSizeInBytes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EstimatedDownloadSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1010,14 +1010,14 @@ impl EmailAttachment { pub fn IsFromBaseMessage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFromBaseMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInline(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1028,7 +1028,7 @@ impl EmailAttachment { pub fn MimeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MimeType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1042,7 +1042,7 @@ impl EmailAttachment { P0: windows_core::Param, { Self::IEmailAttachmentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filename), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1052,7 +1052,7 @@ impl EmailAttachment { P0: windows_core::Param, { Self::IEmailAttachmentFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filename), data.param().abi(), core::mem::transmute_copy(mimetype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1087,91 +1087,91 @@ impl EmailConversation { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlagState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlagState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasAttachment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasAttachment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Importance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Importance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastEmailResponseKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastEmailResponseKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MostRecentMessageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MostRecentMessageId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MostRecentMessageTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MostRecentMessageTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Preview(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Preview)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LatestSender(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LatestSender)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnreadMessageCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnreadMessageCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1179,7 +1179,7 @@ impl EmailConversation { pub fn FindMessagesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindMessagesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1187,7 +1187,7 @@ impl EmailConversation { pub fn FindMessagesWithCountAsync(&self, count: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindMessagesWithCountAsync)(windows_core::Interface::as_raw(this), count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1213,14 +1213,14 @@ impl EmailConversationBatch { pub fn Conversations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Conversations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1245,7 +1245,7 @@ impl EmailConversationReader { pub fn ReadBatchAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1270,14 +1270,14 @@ impl EmailFolder { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1288,21 +1288,21 @@ impl EmailFolder { pub fn MailboxId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentFolderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentFolderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1313,7 +1313,7 @@ impl EmailFolder { pub fn IsSyncEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSyncEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1324,7 +1324,7 @@ impl EmailFolder { pub fn LastSuccessfulSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastSuccessfulSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1335,21 +1335,21 @@ impl EmailFolder { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateFolderAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1357,14 +1357,14 @@ impl EmailFolder { pub fn FindChildFoldersAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindChildFoldersAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConversationReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1374,21 +1374,21 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationReaderWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1398,14 +1398,14 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageReaderWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageCountsAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageCountsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1415,7 +1415,7 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryMoveAsync)(windows_core::Interface::as_raw(this), newparentfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1425,14 +1425,14 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryMoveWithNewNameAsync)(windows_core::Interface::as_raw(this), newparentfolder.param().abi(), core::mem::transmute_copy(newfoldername), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrySaveAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1442,7 +1442,7 @@ impl EmailFolder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1474,7 +1474,7 @@ impl EmailIrmInfo { pub fn CanEdit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanEdit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1485,7 +1485,7 @@ impl EmailIrmInfo { pub fn CanExtractData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanExtractData)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1496,7 +1496,7 @@ impl EmailIrmInfo { pub fn CanForward(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanForward)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1507,7 +1507,7 @@ impl EmailIrmInfo { pub fn CanModifyRecipientsOnResponse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanModifyRecipientsOnResponse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1518,7 +1518,7 @@ impl EmailIrmInfo { pub fn CanPrintData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPrintData)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1529,7 +1529,7 @@ impl EmailIrmInfo { pub fn CanRemoveIrmOnResponse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRemoveIrmOnResponse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1540,7 +1540,7 @@ impl EmailIrmInfo { pub fn CanReply(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanReply)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1551,7 +1551,7 @@ impl EmailIrmInfo { pub fn CanReplyAll(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanReplyAll)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1562,7 +1562,7 @@ impl EmailIrmInfo { pub fn ExpirationDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1573,7 +1573,7 @@ impl EmailIrmInfo { pub fn IsIrmOriginator(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIrmOriginator)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1584,7 +1584,7 @@ impl EmailIrmInfo { pub fn IsProgramaticAccessAllowed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsProgramaticAccessAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1595,7 +1595,7 @@ impl EmailIrmInfo { pub fn Template(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Template)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1611,7 +1611,7 @@ impl EmailIrmInfo { P0: windows_core::Param, { Self::IEmailIrmInfoFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), expiration, irmtemplate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1648,7 +1648,7 @@ impl EmailIrmTemplate { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1659,7 +1659,7 @@ impl EmailIrmTemplate { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1670,7 +1670,7 @@ impl EmailIrmTemplate { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1680,7 +1680,7 @@ impl EmailIrmTemplate { } pub fn Create(id: &windows_core::HSTRING, name: &windows_core::HSTRING, description: &windows_core::HSTRING) -> windows_core::Result { Self::IEmailIrmTemplateFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(name), core::mem::transmute_copy(description), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1710,28 +1710,28 @@ impl EmailItemCounts { pub fn Flagged(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Flagged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Important(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Important)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Total(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Total)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Unread(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unread)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1756,21 +1756,21 @@ impl EmailMailbox { pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChangeTracker(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeTracker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1781,28 +1781,28 @@ impl EmailMailbox { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsOwnedByCurrentApp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOwnedByCurrentApp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDataEncryptedUnderLock(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDataEncryptedUnderLock)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MailAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MailAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1814,14 +1814,14 @@ impl EmailMailbox { pub fn MailAddressAliases(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MailAddressAliases)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OtherAppReadAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppReadAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1832,7 +1832,7 @@ impl EmailMailbox { pub fn OtherAppWriteAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppWriteAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1843,35 +1843,35 @@ impl EmailMailbox { pub fn Policies(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Policies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SyncManager(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserDataAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDataAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConversationReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1881,14 +1881,14 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationReaderWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1898,112 +1898,112 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageReaderWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConversationAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSpecialFolderAsync(&self, foldertype: EmailSpecialFolderKind) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSpecialFolderAsync)(windows_core::Interface::as_raw(this), foldertype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MarkMessageAsSeenAsync(&self, messageid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkMessageAsSeenAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MarkFolderAsSeenAsync(&self, folderid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkFolderAsSeenAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(folderid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MarkMessageReadAsync(&self, messageid: &windows_core::HSTRING, isread: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkMessageReadAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messageid), isread, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChangeMessageFlagStateAsync(&self, messageid: &windows_core::HSTRING, flagstate: EmailFlagState) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeMessageFlagStateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messageid), flagstate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryMoveMessageAsync(&self, messageid: &windows_core::HSTRING, newparentfolderid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryMoveMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messageid), core::mem::transmute_copy(newparentfolderid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryMoveFolderAsync(&self, folderid: &windows_core::HSTRING, newparentfolderid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryMoveFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(folderid), core::mem::transmute_copy(newparentfolderid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryMoveFolderWithNewNameAsync(&self, folderid: &windows_core::HSTRING, newparentfolderid: &windows_core::HSTRING, newfoldername: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryMoveFolderWithNewNameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(folderid), core::mem::transmute_copy(newparentfolderid), core::mem::transmute_copy(newfoldername), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteMessageAsync(&self, messageid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MarkFolderSyncEnabledAsync(&self, folderid: &windows_core::HSTRING, issyncenabled: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkFolderSyncEnabledAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(folderid), issyncenabled, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2013,7 +2013,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2023,28 +2023,28 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveDraftAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DownloadMessageAsync(&self, messageid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messageid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DownloadAttachmentAsync(&self, attachmentid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadAttachmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(attachmentid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateResponseMessageAsync(&self, messageid: &windows_core::HSTRING, responsetype: EmailMessageResponseKind, subject: &windows_core::HSTRING, responseheadertype: EmailMessageBodyKind, responseheader: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResponseMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messageid), responsetype, core::mem::transmute_copy(subject), responseheadertype, core::mem::transmute_copy(responseheader), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2054,7 +2054,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdateMeetingResponseAsync)(windows_core::Interface::as_raw(this), meeting.param().abi(), response, core::mem::transmute_copy(subject), core::mem::transmute_copy(comment), sendupdate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2066,7 +2066,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryForwardMeetingAsync)(windows_core::Interface::as_raw(this), meeting.param().abi(), recipients.param().abi(), core::mem::transmute_copy(subject), forwardheadertype, core::mem::transmute_copy(forwardheader), core::mem::transmute_copy(comment), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2076,7 +2076,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryProposeNewTimeForMeetingAsync)(windows_core::Interface::as_raw(this), meeting.param().abi(), newstarttime, newduration, core::mem::transmute_copy(subject), core::mem::transmute_copy(comment), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2086,7 +2086,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MailboxChanged)(windows_core::Interface::as_raw(this), phandler.param().abi(), &mut result__).map(|| result__) } } @@ -2100,7 +2100,7 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartSendMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), smartsend, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2110,35 +2110,35 @@ impl EmailMailbox { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetAutoReplySettingsAsync)(windows_core::Interface::as_raw(this), autoreplysettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAutoReplySettingsAsync(&self, requestedformat: EmailMailboxAutoReplyMessageResponseKind) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAutoReplySettingsAsync)(windows_core::Interface::as_raw(this), requestedformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LinkedMailboxId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinkedMailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkAccountId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2149,7 +2149,7 @@ impl EmailMailbox { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolveRecipientsAsync)(windows_core::Interface::as_raw(this), recipients.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2160,42 +2160,42 @@ impl EmailMailbox { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateCertificatesAsync)(windows_core::Interface::as_raw(this), certificates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryEmptyFolderAsync(&self, folderid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryEmptyFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(folderid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryCreateFolderAsync(&self, parentfolderid: &windows_core::HSTRING, name: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(parentfolderid), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryDeleteFolderAsync(&self, folderid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDeleteFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(folderid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RegisterSyncManagerAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterSyncManagerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetChangeTracker(&self, identity: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangeTracker)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2220,14 +2220,14 @@ impl EmailMailboxAction { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ChangeNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2252,7 +2252,7 @@ impl EmailMailboxAutoReply { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2263,7 +2263,7 @@ impl EmailMailboxAutoReply { pub fn Response(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Response)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2299,7 +2299,7 @@ impl EmailMailboxAutoReplySettings { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2310,7 +2310,7 @@ impl EmailMailboxAutoReplySettings { pub fn ResponseKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2321,7 +2321,7 @@ impl EmailMailboxAutoReplySettings { pub fn StartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2335,7 +2335,7 @@ impl EmailMailboxAutoReplySettings { pub fn EndTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2349,21 +2349,21 @@ impl EmailMailboxAutoReplySettings { pub fn InternalReply(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InternalReply)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn KnownExternalReply(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KnownExternalReply)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnknownExternalReply(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnknownExternalReply)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2388,98 +2388,98 @@ impl EmailMailboxCapabilities { pub fn CanForwardMeetings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanForwardMeetings)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanGetAndSetExternalAutoReplies(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanGetAndSetExternalAutoReplies)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanGetAndSetInternalAutoReplies(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanGetAndSetInternalAutoReplies)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanUpdateMeetingResponses(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanUpdateMeetingResponses)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanServerSearchFolders(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanServerSearchFolders)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanServerSearchMailbox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanServerSearchMailbox)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanProposeNewTimeForMeetings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanProposeNewTimeForMeetings)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanSmartSend(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanSmartSend)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanResolveRecipients(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanResolveRecipients)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanValidateCertificates(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanValidateCertificates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanEmptyFolder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanEmptyFolder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanCreateFolder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCreateFolder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanDeleteFolder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanDeleteFolder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanMoveFolder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanMoveFolder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2560,7 +2560,7 @@ impl EmailMailboxChange { pub fn ChangeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2568,21 +2568,21 @@ impl EmailMailboxChange { pub fn MailboxActions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MailboxActions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2619,7 +2619,7 @@ impl EmailMailboxChangeReader { pub fn ReadBatchAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2644,7 +2644,7 @@ impl EmailMailboxChangeTracker { pub fn IsTracking(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTracking)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2655,7 +2655,7 @@ impl EmailMailboxChangeTracker { pub fn GetChangeReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangeReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2706,7 +2706,7 @@ impl EmailMailboxChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2731,14 +2731,14 @@ impl EmailMailboxCreateFolderResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2763,42 +2763,42 @@ impl EmailMailboxPolicies { pub fn AllowedSmimeEncryptionAlgorithmNegotiation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedSmimeEncryptionAlgorithmNegotiation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AllowSmimeSoftCertificates(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowSmimeSoftCertificates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequiredSmimeEncryptionAlgorithm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequiredSmimeEncryptionAlgorithm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequiredSmimeSigningAlgorithm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequiredSmimeSigningAlgorithm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MustEncryptSmimeMessages(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MustEncryptSmimeMessages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MustSignSmimeMessages(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MustSignSmimeMessages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2853,28 +2853,28 @@ impl EmailMailboxSyncManager { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastSuccessfulSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastSuccessfulSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastAttemptedSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastAttemptedSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SyncAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2884,7 +2884,7 @@ impl EmailMailboxSyncManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2924,13 +2924,13 @@ impl EmailManager { P0: windows_core::Param, { Self::IEmailManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowComposeNewEmailAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestStoreAsync(accesstype: EmailStoreAccessType) -> windows_core::Result> { Self::IEmailManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), accesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2940,7 +2940,7 @@ impl EmailManager { P0: windows_core::Param, { Self::IEmailManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2974,14 +2974,14 @@ impl EmailManagerForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowComposeNewEmailAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestStoreAsync(&self, accesstype: EmailStoreAccessType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), accesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2989,7 +2989,7 @@ impl EmailManagerForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3021,7 +3021,7 @@ impl EmailMeetingInfo { pub fn AllowNewTimeProposal(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowNewTimeProposal)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3032,7 +3032,7 @@ impl EmailMeetingInfo { pub fn AppointmentRoamingId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentRoamingId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3043,7 +3043,7 @@ impl EmailMeetingInfo { pub fn AppointmentOriginalStartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppointmentOriginalStartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3057,7 +3057,7 @@ impl EmailMeetingInfo { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3068,7 +3068,7 @@ impl EmailMeetingInfo { pub fn IsAllDay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAllDay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3079,7 +3079,7 @@ impl EmailMeetingInfo { pub fn IsResponseRequested(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsResponseRequested)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3090,7 +3090,7 @@ impl EmailMeetingInfo { pub fn Location(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Location)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3101,7 +3101,7 @@ impl EmailMeetingInfo { pub fn ProposedStartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProposedStartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3115,7 +3115,7 @@ impl EmailMeetingInfo { pub fn ProposedDuration(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProposedDuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3129,7 +3129,7 @@ impl EmailMeetingInfo { pub fn RecurrenceStartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecurrenceStartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3144,7 +3144,7 @@ impl EmailMeetingInfo { pub fn Recurrence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recurrence)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3159,7 +3159,7 @@ impl EmailMeetingInfo { pub fn RemoteChangeNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteChangeNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3170,7 +3170,7 @@ impl EmailMeetingInfo { pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3181,7 +3181,7 @@ impl EmailMeetingInfo { pub fn IsReportedOutOfDateByServer(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReportedOutOfDateByServer)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3213,7 +3213,7 @@ impl EmailMessage { pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3224,7 +3224,7 @@ impl EmailMessage { pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3236,7 +3236,7 @@ impl EmailMessage { pub fn To(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3244,7 +3244,7 @@ impl EmailMessage { pub fn CC(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CC)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3252,7 +3252,7 @@ impl EmailMessage { pub fn Bcc(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bcc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3260,21 +3260,21 @@ impl EmailMessage { pub fn Attachments(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attachments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3285,28 +3285,28 @@ impl EmailMessage { pub fn MailboxId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MailboxId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConversationId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConversationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FolderId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AllowInternetImages(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowInternetImages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3317,14 +3317,14 @@ impl EmailMessage { pub fn ChangeNumber(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DownloadState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3335,7 +3335,7 @@ impl EmailMessage { pub fn EstimatedDownloadSizeInBytes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EstimatedDownloadSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3346,7 +3346,7 @@ impl EmailMessage { pub fn FlagState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlagState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3357,14 +3357,14 @@ impl EmailMessage { pub fn HasPartialBodies(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasPartialBodies)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Importance(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Importance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3375,14 +3375,14 @@ impl EmailMessage { pub fn InResponseToMessageId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InResponseToMessageId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IrmInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IrmInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3396,14 +3396,14 @@ impl EmailMessage { pub fn IsDraftMessage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDraftMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRead(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3414,7 +3414,7 @@ impl EmailMessage { pub fn IsSeen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSeen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3425,21 +3425,21 @@ impl EmailMessage { pub fn IsServerSearchMessage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsServerSearchMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSmartSendable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSmartSendable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3450,14 +3450,14 @@ impl EmailMessage { pub fn NormalizedSubject(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalizedSubject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OriginalCodePage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OriginalCodePage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3468,7 +3468,7 @@ impl EmailMessage { pub fn Preview(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Preview)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3479,7 +3479,7 @@ impl EmailMessage { pub fn LastResponseKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastResponseKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3490,7 +3490,7 @@ impl EmailMessage { pub fn Sender(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sender)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3504,7 +3504,7 @@ impl EmailMessage { pub fn SentTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SentTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3518,7 +3518,7 @@ impl EmailMessage { pub fn MeetingInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MeetingInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3533,7 +3533,7 @@ impl EmailMessage { pub fn GetBodyStream(&self, r#type: EmailMessageBodyKind) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBodyStream)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3549,7 +3549,7 @@ impl EmailMessage { pub fn SmimeData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmimeData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3564,7 +3564,7 @@ impl EmailMessage { pub fn SmimeKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmimeKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3576,14 +3576,14 @@ impl EmailMessage { pub fn ReplyTo(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplyTo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SentRepresenting(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SentRepresenting)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3616,14 +3616,14 @@ impl EmailMessageBatch { pub fn Messages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Messages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3648,7 +3648,7 @@ impl EmailMessageReader { pub fn ReadBatchAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3680,14 +3680,14 @@ impl EmailQueryOptions { pub fn TextSearch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextSearch)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SortDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SortDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3698,7 +3698,7 @@ impl EmailQueryOptions { pub fn SortProperty(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SortProperty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3709,7 +3709,7 @@ impl EmailQueryOptions { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3721,19 +3721,19 @@ impl EmailQueryOptions { pub fn FolderIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateWithText(text: &windows_core::HSTRING) -> windows_core::Result { Self::IEmailQueryOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithTextAndFields(text: &windows_core::HSTRING, fields: EmailQuerySearchFields) -> windows_core::Result { Self::IEmailQueryOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTextAndFields)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), fields, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3763,7 +3763,7 @@ impl EmailQueryTextSearch { pub fn Fields(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Fields)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3774,7 +3774,7 @@ impl EmailQueryTextSearch { pub fn SearchScope(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchScope)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3785,7 +3785,7 @@ impl EmailQueryTextSearch { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3821,7 +3821,7 @@ impl EmailRecipient { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3832,7 +3832,7 @@ impl EmailRecipient { pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3842,13 +3842,13 @@ impl EmailRecipient { } pub fn Create(address: &windows_core::HSTRING) -> windows_core::Result { Self::IEmailRecipientFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(address), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithName(address: &windows_core::HSTRING, name: &windows_core::HSTRING) -> windows_core::Result { Self::IEmailRecipientFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(address), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3885,7 +3885,7 @@ impl EmailRecipientResolutionResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3893,7 +3893,7 @@ impl EmailRecipientResolutionResult { pub fn PublicKeys(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicKeys)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3931,14 +3931,14 @@ impl EmailStore { pub fn FindMailboxesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindMailboxesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConversationReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3948,14 +3948,14 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationReaderWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3965,49 +3965,49 @@ impl EmailStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageReaderWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMailboxAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMailboxAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConversationAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConversationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMessageAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateMailboxAsync(&self, accountname: &windows_core::HSTRING, accountaddress: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMailboxAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(accountname), core::mem::transmute_copy(accountaddress), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateMailboxInAccountAsync(&self, accountname: &windows_core::HSTRING, accountaddress: &windows_core::HSTRING, userdataaccountid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMailboxInAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(accountname), core::mem::transmute_copy(accountaddress), core::mem::transmute_copy(userdataaccountid), &mut result__).and_then(|| windows_core::Type::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 a28242d31c..c4095acd08 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs @@ -14,8 +14,8 @@ impl windows_core::RuntimeType for IExtendedExecutionForegroundSession { #[repr(C)] pub struct IExtendedExecutionForegroundSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Revoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRevoked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RequestExtensionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -30,7 +30,7 @@ impl ExtendedExecutionForegroundRevokedEventArgs { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -67,7 +67,7 @@ impl ExtendedExecutionForegroundSession { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -81,7 +81,7 @@ impl ExtendedExecutionForegroundSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Revoked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -92,14 +92,14 @@ impl ExtendedExecutionForegroundSession { pub fn RequestExtensionAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestExtensionAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs index 04d4a5e779..e41eb656dc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs @@ -18,8 +18,8 @@ pub struct IExtendedExecutionSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ExtendedExecutionReason) -> windows_core::HRESULT, pub SetReason: unsafe extern "system" fn(*mut core::ffi::c_void, ExtendedExecutionReason) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PercentProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetPercentProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Revoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -34,7 +34,7 @@ impl ExtendedExecutionRevokedEventArgs { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -71,7 +71,7 @@ impl ExtendedExecutionSession { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -82,7 +82,7 @@ impl ExtendedExecutionSession { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -93,7 +93,7 @@ impl ExtendedExecutionSession { pub fn PercentProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PercentProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -107,7 +107,7 @@ impl ExtendedExecutionSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Revoked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -118,7 +118,7 @@ impl ExtendedExecutionSession { pub fn RequestExtensionAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestExtensionAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 8e6d861e05..4631b22de8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs @@ -51,7 +51,7 @@ impl HolographicKeyboard { } pub fn GetDefault() -> windows_core::Result { Self::IHolographicKeyboardStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 5a5abc0e6c..ae66b157a4 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs @@ -34,7 +34,7 @@ pub struct ILockScreenBadge_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Glyph: usize, pub Number: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AutomationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AutomationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LaunchApp: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILockScreenInfo, ILockScreenInfo_Vtbl, 0xf59aa65c_9711_4dc9_a630_95b6cb8cdad0); @@ -103,7 +103,7 @@ impl LockApplicationHost { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unlocking)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -113,7 +113,7 @@ impl LockApplicationHost { } pub fn GetForCurrentView() -> windows_core::Result { Self::ILockApplicationHostStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -144,7 +144,7 @@ impl LockScreenBadge { pub fn Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -152,21 +152,21 @@ impl LockScreenBadge { pub fn Glyph(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Glyph)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Number(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Number)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AutomationName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomationName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -198,7 +198,7 @@ impl LockScreenInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockScreenImageChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -210,7 +210,7 @@ impl LockScreenInfo { pub fn LockScreenImage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockScreenImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -220,7 +220,7 @@ impl LockScreenInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BadgesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -232,7 +232,7 @@ impl LockScreenInfo { pub fn Badges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Badges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -242,7 +242,7 @@ impl LockScreenInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetailTextChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -254,7 +254,7 @@ impl LockScreenInfo { pub fn DetailText(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetailText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -264,7 +264,7 @@ impl LockScreenInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlarmIconChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -276,7 +276,7 @@ impl LockScreenInfo { pub fn AlarmIcon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlarmIcon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -323,14 +323,14 @@ impl LockScreenUnlockingEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 a4cecd6e19..7f55e106ff 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs @@ -38,12 +38,12 @@ impl windows_core::RuntimeType for IPaymentTransaction { pub struct IPaymentTransaction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PaymentRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PayerEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPayerEmail: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PayerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPayerName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PayerPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPayerPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PayerEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPayerEmail: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PayerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPayerName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PayerPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPayerPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub UpdateShippingAddressAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateSelectedShippingOptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AcceptAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -65,7 +65,7 @@ impl windows_core::RuntimeType for IPaymentTransactionStatics { #[repr(C)] pub struct IPaymentTransactionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -75,7 +75,7 @@ impl PaymentAppCanMakePaymentTriggerDetails { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -111,20 +111,20 @@ impl PaymentAppManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterAsync)(windows_core::Interface::as_raw(this), supportedpaymentmethodids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnregisterAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnregisterAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Current() -> windows_core::Result { Self::IPaymentAppManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -154,14 +154,14 @@ impl PaymentTransaction { pub fn PaymentRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PaymentRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PayerEmail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PayerEmail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -172,7 +172,7 @@ impl PaymentTransaction { pub fn PayerName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PayerName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -183,7 +183,7 @@ impl PaymentTransaction { pub fn PayerPhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PayerPhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -197,7 +197,7 @@ impl PaymentTransaction { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateShippingAddressAsync)(windows_core::Interface::as_raw(this), shippingaddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -207,7 +207,7 @@ impl PaymentTransaction { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateSelectedShippingOptionAsync)(windows_core::Interface::as_raw(this), selectedshippingoption.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -217,7 +217,7 @@ impl PaymentTransaction { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptAsync)(windows_core::Interface::as_raw(this), paymenttoken.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -227,7 +227,7 @@ impl PaymentTransaction { } pub fn FromIdAsync(id: &windows_core::HSTRING) -> windows_core::Result> { Self::IPaymentTransactionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -257,7 +257,7 @@ impl PaymentTransactionAcceptResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs index 98d2c4f1b2..517d9ad47d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs @@ -7,8 +7,8 @@ impl windows_core::RuntimeType for IPaymentAddress { #[repr(C)] pub struct IPaymentAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCountry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCountry: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AddressLines: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -17,24 +17,24 @@ pub struct IPaymentAddress_Vtbl { pub SetAddressLines: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SetAddressLines: usize, - pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRegion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DependentLocality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDependentLocality: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SortingCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSortingCode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Organization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOrganization: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Recipient: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRecipient: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRegion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DependentLocality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDependentLocality: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SortingCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSortingCode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Organization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOrganization: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Recipient: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRecipient: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -65,12 +65,12 @@ impl windows_core::RuntimeType for IPaymentCurrencyAmount { #[repr(C)] pub struct IPaymentCurrencyAmount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Currency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCurrency: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrencySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCurrencySystem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Currency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCurrency: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrencySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCurrencySystem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPaymentCurrencyAmountFactory, IPaymentCurrencyAmountFactory_Vtbl, 0x3257d338_140c_4575_8535_f773178c09a7); impl windows_core::RuntimeType for IPaymentCurrencyAmountFactory { @@ -79,8 +79,8 @@ impl windows_core::RuntimeType for IPaymentCurrencyAmountFactory { #[repr(C)] pub struct IPaymentCurrencyAmountFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithCurrencySystem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithCurrencySystem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPaymentDetails, IPaymentDetails_Vtbl, 0x53bb2d7d_e0eb_4053_8eae_ce7c48e02945); impl windows_core::RuntimeType for IPaymentDetails { @@ -136,7 +136,7 @@ impl windows_core::RuntimeType for IPaymentDetailsModifier { #[repr(C)] pub struct IPaymentDetailsModifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub JsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub JsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SupportedMethodIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -163,7 +163,7 @@ pub struct IPaymentDetailsModifierFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithAdditionalDisplayItems: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateWithAdditionalDisplayItemsAndJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithAdditionalDisplayItemsAndJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWithAdditionalDisplayItemsAndJsonData: usize, } @@ -174,8 +174,8 @@ impl windows_core::RuntimeType for IPaymentItem { #[repr(C)] pub struct IPaymentItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Amount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAmount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Pending: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -188,7 +188,7 @@ impl windows_core::RuntimeType for IPaymentItemFactory { #[repr(C)] pub struct IPaymentItemFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPaymentMediator, IPaymentMediator_Vtbl, 0xfb0ee829_ec0c_449a_83da_7ae3073365a2); impl windows_core::RuntimeType for IPaymentMediator { @@ -220,7 +220,7 @@ impl windows_core::RuntimeType for IPaymentMerchantInfo { #[repr(C)] pub struct IPaymentMerchantInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPaymentMerchantInfoFactory, IPaymentMerchantInfoFactory_Vtbl, 0x9e89ced3_ccb7_4167_a8ec_e10ae96dbcd1); @@ -243,7 +243,7 @@ pub struct IPaymentMethodData_Vtbl { pub SupportedMethodIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SupportedMethodIds: usize, - pub JsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub JsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPaymentMethodDataFactory, IPaymentMethodDataFactory_Vtbl, 0x8addd27f_9baa_4a82_8342_a8210992a36b); impl windows_core::RuntimeType for IPaymentMethodDataFactory { @@ -257,7 +257,7 @@ pub struct IPaymentMethodDataFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Create: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateWithJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWithJsonData: usize, } @@ -301,7 +301,7 @@ impl windows_core::RuntimeType for IPaymentRequest2 { #[repr(C)] pub struct IPaymentRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPaymentRequestChangedArgs, IPaymentRequestChangedArgs_Vtbl, 0xc6145e44_cd8b_4be4_b555_27c99194c0c5); impl windows_core::RuntimeType for IPaymentRequestChangedArgs { @@ -324,8 +324,8 @@ pub struct IPaymentRequestChangedResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangeAcceptedByMerchant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetChangeAcceptedByMerchant: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub UpdatedPaymentDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUpdatedPaymentDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -367,7 +367,7 @@ impl windows_core::RuntimeType for IPaymentRequestFactory2 { pub struct IPaymentRequestFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub CreateWithMerchantInfoOptionsAndId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithMerchantInfoOptionsAndId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWithMerchantInfoOptionsAndId: usize, } @@ -391,9 +391,9 @@ pub struct IPaymentResponse_Vtbl { pub PaymentToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShippingOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShippingAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PayerEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PayerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PayerPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PayerEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PayerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PayerPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CompleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, PaymentRequestCompletionStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPaymentShippingOption, IPaymentShippingOption_Vtbl, 0x13372ada_9753_4574_8966_93145a76c7f9); @@ -403,12 +403,12 @@ impl windows_core::RuntimeType for IPaymentShippingOption { #[repr(C)] pub struct IPaymentShippingOption_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Amount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAmount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsSelected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsSelected: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } @@ -419,9 +419,9 @@ impl windows_core::RuntimeType for IPaymentShippingOptionFactory { #[repr(C)] pub struct IPaymentShippingOptionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithSelected: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithSelectedAndTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, bool, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithSelected: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithSelectedAndTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, bool, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPaymentToken, IPaymentToken_Vtbl, 0xbbcac013_ccd0_41f2_b2a1_0a2e4b5dce25); impl windows_core::RuntimeType for IPaymentToken { @@ -430,8 +430,8 @@ impl windows_core::RuntimeType for IPaymentToken { #[repr(C)] pub struct IPaymentToken_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PaymentMethodId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub JsonDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PaymentMethodId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub JsonDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPaymentTokenFactory, IPaymentTokenFactory_Vtbl, 0x988cd7aa_4753_4904_8373_dd7b08b995c1); impl windows_core::RuntimeType for IPaymentTokenFactory { @@ -440,8 +440,8 @@ impl windows_core::RuntimeType for IPaymentTokenFactory { #[repr(C)] pub struct IPaymentTokenFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithJsonDetails: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithJsonDetails: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -458,7 +458,7 @@ impl PaymentAddress { pub fn Country(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Country)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -470,7 +470,7 @@ impl PaymentAddress { pub fn AddressLines(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddressLines)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -485,7 +485,7 @@ impl PaymentAddress { pub fn Region(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Region)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -496,7 +496,7 @@ impl PaymentAddress { pub fn City(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).City)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -507,7 +507,7 @@ impl PaymentAddress { pub fn DependentLocality(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DependentLocality)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -518,7 +518,7 @@ impl PaymentAddress { pub fn PostalCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostalCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -529,7 +529,7 @@ impl PaymentAddress { pub fn SortingCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SortingCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -540,7 +540,7 @@ impl PaymentAddress { pub fn LanguageCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LanguageCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -551,7 +551,7 @@ impl PaymentAddress { pub fn Organization(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Organization)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -562,7 +562,7 @@ impl PaymentAddress { pub fn Recipient(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recipient)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -573,7 +573,7 @@ impl PaymentAddress { pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -585,7 +585,7 @@ impl PaymentAddress { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -610,13 +610,13 @@ impl PaymentCanMakePaymentResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(value: PaymentCanMakePaymentResultStatus) -> windows_core::Result { Self::IPaymentCanMakePaymentResultFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -646,7 +646,7 @@ impl PaymentCurrencyAmount { pub fn Currency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Currency)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -657,7 +657,7 @@ impl PaymentCurrencyAmount { pub fn CurrencySystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrencySystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -668,7 +668,7 @@ impl PaymentCurrencyAmount { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -678,13 +678,13 @@ impl PaymentCurrencyAmount { } pub fn Create(value: &windows_core::HSTRING, currency: &windows_core::HSTRING) -> windows_core::Result { Self::IPaymentCurrencyAmountFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), core::mem::transmute_copy(currency), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithCurrencySystem(value: &windows_core::HSTRING, currency: &windows_core::HSTRING, currencysystem: &windows_core::HSTRING) -> windows_core::Result { Self::IPaymentCurrencyAmountFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithCurrencySystem)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), core::mem::transmute_copy(currency), core::mem::transmute_copy(currencysystem), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -721,7 +721,7 @@ impl PaymentDetails { pub fn Total(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Total)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -736,7 +736,7 @@ impl PaymentDetails { pub fn DisplayItems(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -752,7 +752,7 @@ impl PaymentDetails { pub fn ShippingOptions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShippingOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -768,7 +768,7 @@ impl PaymentDetails { pub fn Modifiers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Modifiers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -785,7 +785,7 @@ impl PaymentDetails { P0: windows_core::Param, { Self::IPaymentDetailsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), total.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -796,7 +796,7 @@ impl PaymentDetails { P1: windows_core::Param>, { Self::IPaymentDetailsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithDisplayItems)(windows_core::Interface::as_raw(this), total.param().abi(), displayitems.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -826,7 +826,7 @@ impl PaymentDetailsModifier { pub fn JsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -834,14 +834,14 @@ impl PaymentDetailsModifier { pub fn SupportedMethodIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedMethodIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Total(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Total)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -849,7 +849,7 @@ impl PaymentDetailsModifier { pub fn AdditionalDisplayItems(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdditionalDisplayItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -860,7 +860,7 @@ impl PaymentDetailsModifier { P1: windows_core::Param, { Self::IPaymentDetailsModifierFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), supportedmethodids.param().abi(), total.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -872,7 +872,7 @@ impl PaymentDetailsModifier { P2: windows_core::Param>, { Self::IPaymentDetailsModifierFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAdditionalDisplayItems)(windows_core::Interface::as_raw(this), supportedmethodids.param().abi(), total.param().abi(), additionaldisplayitems.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -884,7 +884,7 @@ impl PaymentDetailsModifier { P2: windows_core::Param>, { Self::IPaymentDetailsModifierFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAdditionalDisplayItemsAndJsonData)(windows_core::Interface::as_raw(this), supportedmethodids.param().abi(), total.param().abi(), additionaldisplayitems.param().abi(), core::mem::transmute_copy(jsondata), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -914,7 +914,7 @@ impl PaymentItem { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -925,7 +925,7 @@ impl PaymentItem { pub fn Amount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Amount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -939,7 +939,7 @@ impl PaymentItem { pub fn Pending(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pending)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -952,7 +952,7 @@ impl PaymentItem { P0: windows_core::Param, { Self::IPaymentItemFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), amount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -990,7 +990,7 @@ impl PaymentMediator { pub fn GetSupportedMethodIdsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedMethodIdsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1000,7 +1000,7 @@ impl PaymentMediator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubmitPaymentRequestAsync)(windows_core::Interface::as_raw(this), paymentrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1011,7 +1011,7 @@ impl PaymentMediator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubmitPaymentRequestWithChangeHandlerAsync)(windows_core::Interface::as_raw(this), paymentrequest.param().abi(), changehandler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1021,7 +1021,7 @@ impl PaymentMediator { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanMakePaymentAsync)(windows_core::Interface::as_raw(this), paymentrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1053,14 +1053,14 @@ impl PaymentMerchantInfo { pub fn PackageFullName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFullName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1069,7 +1069,7 @@ impl PaymentMerchantInfo { P0: windows_core::Param, { Self::IPaymentMerchantInfoFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1100,14 +1100,14 @@ impl PaymentMethodData { pub fn SupportedMethodIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedMethodIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn JsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1117,7 +1117,7 @@ impl PaymentMethodData { P0: windows_core::Param>, { Self::IPaymentMethodDataFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), supportedmethodids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1127,7 +1127,7 @@ impl PaymentMethodData { P0: windows_core::Param>, { Self::IPaymentMethodDataFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithJsonData)(windows_core::Interface::as_raw(this), supportedmethodids.param().abi(), core::mem::transmute_copy(jsondata), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1164,7 +1164,7 @@ impl PaymentOptions { pub fn RequestPayerEmail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPayerEmail)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1175,7 +1175,7 @@ impl PaymentOptions { pub fn RequestPayerName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPayerName)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1186,7 +1186,7 @@ impl PaymentOptions { pub fn RequestPayerPhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPayerPhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1197,7 +1197,7 @@ impl PaymentOptions { pub fn RequestShipping(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestShipping)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1208,7 +1208,7 @@ impl PaymentOptions { pub fn ShippingType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShippingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1237,14 +1237,14 @@ impl PaymentRequest { pub fn MerchantInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MerchantInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Details(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Details)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1252,21 +1252,21 @@ impl PaymentRequest { pub fn MethodData(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MethodData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Options(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1277,7 +1277,7 @@ impl PaymentRequest { P1: windows_core::Param>, { Self::IPaymentRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), details.param().abi(), methoddata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1289,7 +1289,7 @@ impl PaymentRequest { P2: windows_core::Param, { Self::IPaymentRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithMerchantInfo)(windows_core::Interface::as_raw(this), details.param().abi(), methoddata.param().abi(), merchantinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1302,7 +1302,7 @@ impl PaymentRequest { P3: windows_core::Param, { Self::IPaymentRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithMerchantInfoAndOptions)(windows_core::Interface::as_raw(this), details.param().abi(), methoddata.param().abi(), merchantinfo.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1315,7 +1315,7 @@ impl PaymentRequest { P3: windows_core::Param, { Self::IPaymentRequestFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithMerchantInfoOptionsAndId)(windows_core::Interface::as_raw(this), details.param().abi(), methoddata.param().abi(), merchantinfo.param().abi(), options.param().abi(), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1350,21 +1350,21 @@ impl PaymentRequestChangedArgs { pub fn ChangeKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ShippingAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShippingAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectedShippingOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedShippingOption)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1396,7 +1396,7 @@ impl PaymentRequestChangedResult { pub fn ChangeAcceptedByMerchant(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeAcceptedByMerchant)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1407,7 +1407,7 @@ impl PaymentRequestChangedResult { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1418,7 +1418,7 @@ impl PaymentRequestChangedResult { pub fn UpdatedPaymentDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdatedPaymentDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1431,7 +1431,7 @@ impl PaymentRequestChangedResult { } pub fn Create(changeacceptedbymerchant: bool) -> windows_core::Result { Self::IPaymentRequestChangedResultFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), changeacceptedbymerchant, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1440,7 +1440,7 @@ impl PaymentRequestChangedResult { P0: windows_core::Param, { Self::IPaymentRequestChangedResultFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithPaymentDetails)(windows_core::Interface::as_raw(this), changeacceptedbymerchant, updatedpaymentdetails.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1470,14 +1470,14 @@ impl PaymentRequestSubmitResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Response(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Response)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1502,49 +1502,49 @@ impl PaymentResponse { pub fn PaymentToken(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PaymentToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShippingOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShippingOption)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShippingAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShippingAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PayerEmail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PayerEmail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PayerName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PayerName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PayerPhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PayerPhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CompleteAsync(&self, status: PaymentRequestCompletionStatus) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompleteAsync)(windows_core::Interface::as_raw(this), status, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1569,7 +1569,7 @@ impl PaymentShippingOption { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1580,7 +1580,7 @@ impl PaymentShippingOption { pub fn Amount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Amount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1594,7 +1594,7 @@ impl PaymentShippingOption { pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1605,7 +1605,7 @@ impl PaymentShippingOption { pub fn IsSelected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1618,7 +1618,7 @@ impl PaymentShippingOption { P0: windows_core::Param, { Self::IPaymentShippingOptionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), amount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1627,7 +1627,7 @@ impl PaymentShippingOption { P0: windows_core::Param, { Self::IPaymentShippingOptionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithSelected)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), amount.param().abi(), selected, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1636,7 +1636,7 @@ impl PaymentShippingOption { P0: windows_core::Param, { Self::IPaymentShippingOptionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithSelectedAndTag)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), amount.param().abi(), selected, core::mem::transmute_copy(tag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1666,26 +1666,26 @@ impl PaymentToken { pub fn PaymentMethodId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PaymentMethodId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn JsonDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JsonDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(paymentmethodid: &windows_core::HSTRING) -> windows_core::Result { Self::IPaymentTokenFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(paymentmethodid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithJsonDetails(paymentmethodid: &windows_core::HSTRING, jsondetails: &windows_core::HSTRING) -> windows_core::Result { Self::IPaymentTokenFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithJsonDetails)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(paymentmethodid), core::mem::transmute_copy(jsondetails), &mut result__).and_then(|| windows_core::Type::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 da10fe2920..c5fa92ec13 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs @@ -53,7 +53,7 @@ pub struct HolographicApplicationPreview; impl HolographicApplicationPreview { pub fn IsCurrentViewPresentedOnHolographicDisplay() -> windows_core::Result { Self::IHolographicApplicationPreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCurrentViewPresentedOnHolographicDisplay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -63,7 +63,7 @@ impl HolographicApplicationPreview { P0: windows_core::Param, { Self::IHolographicApplicationPreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHolographicActivation)(windows_core::Interface::as_raw(this), activatedeventargs.param().abi(), &mut result__).map(|| result__) }) } @@ -108,7 +108,7 @@ impl HolographicKeyboardPlacementOverridePreview { #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> windows_core::Result { Self::IHolographicKeyboardPlacementOverridePreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 e1fead97db..291689169b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs @@ -31,13 +31,13 @@ impl InkWorkspaceHostedAppManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetThumbnailAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetForCurrentApp() -> windows_core::Result { Self::IInkWorkspaceHostedAppManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentApp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 3da306bba1..8b7c85ea4b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs @@ -94,7 +94,7 @@ impl NotePlacementChangedPreviewEventArgs { pub fn ViewId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -119,14 +119,14 @@ impl NoteVisibilityChangedPreviewEventArgs { pub fn ViewId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -151,7 +151,7 @@ impl NotesWindowManagerPreview { pub fn IsScreenLocked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScreenLocked)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -179,14 +179,14 @@ impl NotesWindowManagerPreview { pub fn GetNotePlacement(&self, noteviewid: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNotePlacement)(windows_core::Interface::as_raw(this), noteviewid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrySetNoteSize(&self, noteviewid: i32, size: super::super::super::Foundation::Size) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetNoteSize)(windows_core::Interface::as_raw(this), noteviewid, size, &mut result__).map(|| result__) } } @@ -201,7 +201,7 @@ impl NotesWindowManagerPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetNotesThumbnailAsync)(windows_core::Interface::as_raw(this), thumbnail.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -211,7 +211,7 @@ impl NotesWindowManagerPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemLockStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -225,7 +225,7 @@ impl NotesWindowManagerPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotePlacementChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -239,7 +239,7 @@ impl NotesWindowManagerPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NoteVisibilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -274,13 +274,13 @@ impl NotesWindowManagerPreview { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetThumbnailImageForTaskSwitcherAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetForCurrentApp() -> windows_core::Result { Self::INotesWindowManagerPreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentApp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -317,7 +317,7 @@ impl NotesWindowManagerPreviewShowNoteOptions { pub fn ShowWithFocus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowWithFocus)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 2473e453be..911a992dac 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -35,12 +35,12 @@ pub struct IResourceCandidate_Vtbl { pub IsMatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsMatchAsDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub ValueAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ValueAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage")] pub GetValueAsFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] GetValueAsFileAsync: usize, - pub GetQualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetQualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceCandidate2, IResourceCandidate2_Vtbl, 0x69e5b468_f6fc_4013_aaa2_d53f1757d3b5); impl windows_core::RuntimeType for IResourceCandidate2 { @@ -113,7 +113,7 @@ impl windows_core::RuntimeType for IResourceContextStatics2 { pub struct IResourceContextStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetGlobalQualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGlobalQualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ResetGlobalQualifierValues: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub ResetGlobalQualifierValuesForSpecifiedQualifiers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -128,7 +128,7 @@ impl windows_core::RuntimeType for IResourceContextStatics3 { #[repr(C)] pub struct IResourceContextStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetGlobalQualifierValueWithPersistence: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, ResourceQualifierPersistence) -> windows_core::HRESULT, + pub SetGlobalQualifierValueWithPersistence: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, ResourceQualifierPersistence) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceContextStatics4, IResourceContextStatics4_Vtbl, 0x22eb9ccd_fb31_4bfa_b86b_df9d9d7bdc39); impl windows_core::RuntimeType for IResourceContextStatics4 { @@ -172,11 +172,11 @@ impl windows_core::RuntimeType for IResourceManager2 { pub struct IResourceManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub GetAllNamedResourcesForPackage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ResourceLayoutInfo, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAllNamedResourcesForPackage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ResourceLayoutInfo, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetAllNamedResourcesForPackage: usize, #[cfg(feature = "Foundation_Collections")] - pub GetAllSubtreesForPackage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ResourceLayoutInfo, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAllSubtreesForPackage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ResourceLayoutInfo, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetAllSubtreesForPackage: usize, } @@ -188,7 +188,7 @@ impl windows_core::RuntimeType for IResourceManagerStatics { pub struct IResourceManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Current: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub IsResourceReference: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsResourceReference: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceMap, IResourceMap_Vtbl, 0x72284824_db8c_42f8_b08c_53ff357dad82); impl windows_core::RuntimeType for IResourceMap { @@ -198,9 +198,9 @@ impl windows_core::RuntimeType for IResourceMap { pub struct IResourceMap_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetValueForContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetSubtree: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetValueForContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSubtree: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceQualifier, IResourceQualifier_Vtbl, 0x785da5b2_4afd_4376_a888_c5f9a6b7a05c); impl windows_core::RuntimeType for IResourceQualifier { @@ -209,8 +209,8 @@ impl windows_core::RuntimeType for IResourceQualifier { #[repr(C)] pub struct IResourceQualifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub QualifierName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub QualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QualifierName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub QualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsMatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Score: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, @@ -223,7 +223,7 @@ impl NamedResource { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -231,14 +231,14 @@ impl NamedResource { pub fn Candidates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Candidates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Resolve(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Resolve)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -248,7 +248,7 @@ impl NamedResource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolveForContext)(windows_core::Interface::as_raw(this), resourcecontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -256,7 +256,7 @@ impl NamedResource { pub fn ResolveAll(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolveAll)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -267,7 +267,7 @@ impl NamedResource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolveAllForContext)(windows_core::Interface::as_raw(this), resourcecontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -293,35 +293,35 @@ impl ResourceCandidate { pub fn Qualifiers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Qualifiers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsMatch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMatch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMatchAsDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMatchAsDefault)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDefault)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ValueAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -329,14 +329,14 @@ impl ResourceCandidate { pub fn GetValueAsFileAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetValueAsFileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetQualifierValue(&self, qualifiername: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetQualifierValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(qualifiername), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -344,14 +344,14 @@ impl ResourceCandidate { pub fn GetValueAsStreamAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetValueAsStreamAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -382,7 +382,7 @@ impl ResourceCandidateVectorView { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -390,7 +390,7 @@ impl ResourceCandidateVectorView { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -398,7 +398,7 @@ impl ResourceCandidateVectorView { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -409,7 +409,7 @@ impl ResourceCandidateVectorView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -417,7 +417,7 @@ impl ResourceCandidateVectorView { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -471,7 +471,7 @@ impl ResourceContext { pub fn QualifierValues(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QualifierValues)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -498,7 +498,7 @@ impl ResourceContext { pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -506,7 +506,7 @@ impl ResourceContext { pub fn Languages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -524,13 +524,13 @@ impl ResourceContext { P0: windows_core::Param>, { Self::IResourceContextStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMatchingContext)(windows_core::Interface::as_raw(this), result.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForCurrentView() -> windows_core::Result { Self::IResourceContextStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -549,7 +549,7 @@ impl ResourceContext { } pub fn GetForViewIndependentUse() -> windows_core::Result { Self::IResourceContextStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForViewIndependentUse)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -562,7 +562,7 @@ impl ResourceContext { P0: windows_core::Param, { Self::IResourceContextStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUIContext)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -613,7 +613,7 @@ impl ResourceContextLanguagesVectorView { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -621,7 +621,7 @@ impl ResourceContextLanguagesVectorView { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -629,7 +629,7 @@ impl ResourceContextLanguagesVectorView { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -637,7 +637,7 @@ impl ResourceContextLanguagesVectorView { pub fn IndexOf(&self, value: &windows_core::HSTRING, index: &mut u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), index, &mut result__).map(|| result__) } } @@ -645,7 +645,7 @@ impl ResourceContextLanguagesVectorView { pub fn GetMany(&self, startindex: u32, items: &mut [windows_core::HSTRING]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -691,7 +691,7 @@ impl ResourceManager { pub fn MainResourceMap(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainResourceMap)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -699,14 +699,14 @@ impl ResourceManager { pub fn AllResourceMaps(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllResourceMaps)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -730,7 +730,7 @@ impl ResourceManager { pub fn GetAllNamedResourcesForPackage(&self, packagename: &windows_core::HSTRING, resourcelayoutinfo: ResourceLayoutInfo) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllNamedResourcesForPackage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagename), resourcelayoutinfo, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -738,19 +738,19 @@ impl ResourceManager { pub fn GetAllSubtreesForPackage(&self, packagename: &windows_core::HSTRING, resourcelayoutinfo: ResourceLayoutInfo) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllSubtreesForPackage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagename), resourcelayoutinfo, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Current() -> windows_core::Result { Self::IResourceManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsResourceReference(resourcereference: &windows_core::HSTRING) -> windows_core::Result { Self::IResourceManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsResourceReference)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(resourcereference), &mut result__).map(|| result__) }) } @@ -783,7 +783,7 @@ impl ResourceMap { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -791,7 +791,7 @@ impl ResourceMap { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -799,7 +799,7 @@ impl ResourceMap { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -807,7 +807,7 @@ impl ResourceMap { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -819,14 +819,14 @@ impl ResourceMap { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetValue(&self, resource: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(resource), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -836,14 +836,14 @@ impl ResourceMap { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetValueForContext)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(resource), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSubtree(&self, reference: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSubtree)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(reference), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -890,7 +890,7 @@ impl ResourceMapIterator { pub fn Current(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -898,7 +898,7 @@ impl ResourceMapIterator { pub fn HasCurrent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCurrent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -906,7 +906,7 @@ impl ResourceMapIterator { pub fn MoveNext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveNext)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -914,7 +914,7 @@ impl ResourceMapIterator { pub fn GetMany(&self, items: &mut [Option>]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -950,7 +950,7 @@ impl ResourceMapMapView { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -958,7 +958,7 @@ impl ResourceMapMapView { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -966,7 +966,7 @@ impl ResourceMapMapView { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -974,7 +974,7 @@ impl ResourceMapMapView { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -1031,7 +1031,7 @@ impl ResourceMapMapViewIterator { pub fn Current(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1039,7 +1039,7 @@ impl ResourceMapMapViewIterator { pub fn HasCurrent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCurrent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1047,7 +1047,7 @@ impl ResourceMapMapViewIterator { pub fn MoveNext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveNext)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1055,7 +1055,7 @@ impl ResourceMapMapViewIterator { pub fn GetMany(&self, items: &mut [Option>]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -1085,35 +1085,35 @@ impl ResourceQualifier { pub fn QualifierName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QualifierName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn QualifierValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QualifierValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDefault)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMatch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMatch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Score(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Score)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1144,7 +1144,7 @@ impl ResourceQualifierMapView { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1152,7 +1152,7 @@ impl ResourceQualifierMapView { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1160,7 +1160,7 @@ impl ResourceQualifierMapView { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1168,7 +1168,7 @@ impl ResourceQualifierMapView { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -1225,7 +1225,7 @@ impl ResourceQualifierObservableMap { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1233,7 +1233,7 @@ impl ResourceQualifierObservableMap { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1241,7 +1241,7 @@ impl ResourceQualifierObservableMap { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1249,7 +1249,7 @@ impl ResourceQualifierObservableMap { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -1257,7 +1257,7 @@ impl ResourceQualifierObservableMap { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1265,7 +1265,7 @@ impl ResourceQualifierObservableMap { pub fn Insert(&self, key: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -1286,7 +1286,7 @@ impl ResourceQualifierObservableMap { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapChanged)(windows_core::Interface::as_raw(this), vhnd.param().abi(), &mut result__).map(|| result__) } } @@ -1343,7 +1343,7 @@ impl ResourceQualifierVectorView { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1351,7 +1351,7 @@ impl ResourceQualifierVectorView { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1359,7 +1359,7 @@ impl ResourceQualifierVectorView { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1370,7 +1370,7 @@ impl ResourceQualifierVectorView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -1378,7 +1378,7 @@ impl ResourceQualifierVectorView { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| 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 15eea268fe..ca804f8b98 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -15,8 +15,8 @@ pub struct IIndexedResourceCandidate_Vtbl { pub Qualifiers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Qualifiers: usize, - pub ValueAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetQualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ValueAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetQualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIndexedResourceQualifier, IIndexedResourceQualifier_Vtbl, 0xdae3bb9b_d304_497f_a168_a340042c8adb); impl windows_core::RuntimeType for IIndexedResourceQualifier { @@ -25,8 +25,8 @@ impl windows_core::RuntimeType for IIndexedResourceQualifier { #[repr(C)] pub struct IIndexedResourceQualifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub QualifierName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub QualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QualifierName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub QualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IResourceIndexer, IResourceIndexer_Vtbl, 0x2d4cf9a5_e32f_4ab2_8748_96350a016da3); @@ -85,14 +85,14 @@ impl IndexedResourceCandidate { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -100,7 +100,7 @@ impl IndexedResourceCandidate { pub fn Metadata(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Metadata)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -108,21 +108,21 @@ impl IndexedResourceCandidate { pub fn Qualifiers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Qualifiers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ValueAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetQualifierValue(&self, qualifiername: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetQualifierValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(qualifiername), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -147,14 +147,14 @@ impl IndexedResourceQualifier { pub fn QualifierName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QualifierName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn QualifierValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QualifierValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -186,7 +186,7 @@ impl ResourceIndexer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexFilePath)(windows_core::Interface::as_raw(this), filepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -197,7 +197,7 @@ impl ResourceIndexer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexFileContentsAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -207,7 +207,7 @@ impl ResourceIndexer { P0: windows_core::Param, { Self::IResourceIndexerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResourceIndexer)(windows_core::Interface::as_raw(this), projectroot.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -218,7 +218,7 @@ impl ResourceIndexer { P1: windows_core::Param, { Self::IResourceIndexerFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResourceIndexerWithExtension)(windows_core::Interface::as_raw(this), projectroot.param().abi(), extensiondllpath.param().abi(), &mut result__).and_then(|| windows_core::Type::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 4bcd7faf1d..dc0398149b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs @@ -9,7 +9,7 @@ impl windows_core::RuntimeType for IResourceLoader { #[repr(C)] pub struct IResourceLoader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceLoader2, IResourceLoader2_Vtbl, 0x10eb6ec6_8138_48c1_bc65_e1f14207367c); impl windows_core::RuntimeType for IResourceLoader2 { @@ -18,7 +18,7 @@ impl windows_core::RuntimeType for IResourceLoader2 { #[repr(C)] pub struct IResourceLoader2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetStringForUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringForUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceLoaderFactory, IResourceLoaderFactory_Vtbl, 0xc33a3603_69dc_4285_a077_d5c0e47ccbe8); impl windows_core::RuntimeType for IResourceLoaderFactory { @@ -27,7 +27,7 @@ impl windows_core::RuntimeType for IResourceLoaderFactory { #[repr(C)] pub struct IResourceLoaderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateResourceLoaderByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateResourceLoaderByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceLoaderStatics, IResourceLoaderStatics_Vtbl, 0xbf777ce1_19c8_49c2_953c_47e9227b334e); impl windows_core::RuntimeType for IResourceLoaderStatics { @@ -36,7 +36,7 @@ impl windows_core::RuntimeType for IResourceLoaderStatics { #[repr(C)] pub struct IResourceLoaderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetStringForReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringForReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceLoaderStatics2, IResourceLoaderStatics2_Vtbl, 0x0cc04141_6466_4989_9494_0b82dfc53f1f); impl windows_core::RuntimeType for IResourceLoaderStatics2 { @@ -46,9 +46,9 @@ impl windows_core::RuntimeType for IResourceLoaderStatics2 { pub struct IResourceLoaderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetForCurrentViewWithName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetForCurrentViewWithName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetForViewIndependentUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetForViewIndependentUseWithName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetForViewIndependentUseWithName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceLoaderStatics3, IResourceLoaderStatics3_Vtbl, 0x64609dfb_64ac_491b_8100_0e558d61c1d0); impl windows_core::RuntimeType for IResourceLoaderStatics3 { @@ -69,7 +69,7 @@ impl windows_core::RuntimeType for IResourceLoaderStatics4 { #[repr(C)] pub struct IResourceLoaderStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDefaultPriPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefaultPriPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -86,7 +86,7 @@ impl ResourceLoader { pub fn GetString(&self, resource: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(resource), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -96,13 +96,13 @@ impl ResourceLoader { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStringForUri)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateResourceLoaderByName(name: &windows_core::HSTRING) -> windows_core::Result { Self::IResourceLoaderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResourceLoaderByName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -111,31 +111,31 @@ impl ResourceLoader { P0: windows_core::Param, { Self::IResourceLoaderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStringForReference)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForCurrentView() -> windows_core::Result { Self::IResourceLoaderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForCurrentViewWithName(name: &windows_core::HSTRING) -> windows_core::Result { Self::IResourceLoaderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentViewWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForViewIndependentUse() -> windows_core::Result { Self::IResourceLoaderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForViewIndependentUse)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForViewIndependentUseWithName(name: &windows_core::HSTRING) -> windows_core::Result { Self::IResourceLoaderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForViewIndependentUseWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -145,13 +145,13 @@ impl ResourceLoader { P0: windows_core::Param, { Self::IResourceLoaderStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUIContext)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultPriPath(packagefullname: &windows_core::HSTRING) -> windows_core::Result { Self::IResourceLoaderStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultPriPath)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(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 9672e45cab..6269526cf8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs @@ -14,14 +14,14 @@ impl windows_core::RuntimeType for ISearchSuggestion { pub struct ISearchSuggestion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SearchSuggestionKind) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DetailText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DetailText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Image: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] Image: usize, - pub ImageAlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImageAlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchSuggestionManager, ISearchSuggestionManager_Vtbl, 0x3f0c50a1_cb9d_497b_b500_3c04ac959ad2); impl windows_core::RuntimeType for ISearchSuggestionManager { @@ -32,18 +32,18 @@ pub struct ISearchSuggestionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SearchHistoryEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetSearchHistoryEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub SearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetLocalContentSuggestionSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetQueryWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetQueryWithSearchQueryLinguisticDetails: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetQueryWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetQueryWithSearchQueryLinguisticDetails: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Suggestions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Suggestions: usize, - pub AddToHistory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddToHistoryWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddToHistory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddToHistoryWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClearHistory: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SuggestionsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSuggestionsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -57,8 +57,8 @@ impl windows_core::RuntimeType for ISearchSuggestionsRequestedEventArgs { #[repr(C)] pub struct ISearchSuggestionsRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LinguisticDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -87,28 +87,28 @@ impl SearchSuggestion { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetailText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetailText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -116,14 +116,14 @@ impl SearchSuggestion { pub fn Image(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Image)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ImageAlternateText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageAlternateText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -153,7 +153,7 @@ impl SearchSuggestionManager { pub fn SearchHistoryEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchHistoryEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -164,7 +164,7 @@ impl SearchSuggestionManager { pub fn SearchHistoryContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchHistoryContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -198,7 +198,7 @@ impl SearchSuggestionManager { pub fn Suggestions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Suggestions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -220,7 +220,7 @@ impl SearchSuggestionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestionsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -234,7 +234,7 @@ impl SearchSuggestionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestingFocusOnKeyboardInput)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -261,28 +261,28 @@ impl SearchSuggestionsRequestedEventArgs { pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LinguisticDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinguisticDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs index 6868e9377a..b93fcdc85a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs @@ -11,7 +11,7 @@ impl windows_core::RuntimeName for ISearchPaneQueryChangedEventArgs { #[cfg(feature = "deprecated")] impl ISearchPaneQueryChangedEventArgs_Vtbl { pub const fn new, Impl: ISearchPaneQueryChangedEventArgs_Impl, const OFFSET: isize>() -> ISearchPaneQueryChangedEventArgs_Vtbl { - unsafe extern "system" fn QueryText, Impl: ISearchPaneQueryChangedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueryText, Impl: ISearchPaneQueryChangedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISearchPaneQueryChangedEventArgs_Impl::QueryText(this) { @@ -23,7 +23,7 @@ impl ISearchPaneQueryChangedEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Language, Impl: ISearchPaneQueryChangedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Language, Impl: ISearchPaneQueryChangedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISearchPaneQueryChangedEventArgs_Impl::Language(this) { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index 77a3c00be6..c9c0255764 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -13,8 +13,8 @@ pub struct ILocalContentSuggestionSettings_Vtbl { pub Locations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] Locations: usize, - pub SetAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub PropertiesToMatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -39,27 +39,27 @@ pub struct ISearchPane_Vtbl { #[cfg(not(feature = "deprecated"))] SearchHistoryEnabled: usize, #[cfg(feature = "deprecated")] - pub SetSearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetSearchHistoryContext: usize, #[cfg(feature = "deprecated")] - pub SearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SearchHistoryContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SearchHistoryContext: usize, #[cfg(feature = "deprecated")] - pub SetPlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetPlaceholderText: usize, #[cfg(feature = "deprecated")] - pub PlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] PlaceholderText: usize, #[cfg(feature = "deprecated")] - pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] QueryText: usize, #[cfg(feature = "deprecated")] - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Language: usize, #[cfg(feature = "deprecated")] @@ -115,7 +115,7 @@ pub struct ISearchPane_Vtbl { #[cfg(not(feature = "deprecated"))] ShowOverloadDefault: usize, #[cfg(feature = "deprecated")] - pub ShowOverloadWithQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShowOverloadWithQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ShowOverloadWithQuery: usize, #[cfg(feature = "deprecated")] @@ -127,7 +127,7 @@ pub struct ISearchPane_Vtbl { #[cfg(not(feature = "deprecated"))] ShowOnKeyboardInput: usize, #[cfg(feature = "deprecated")] - pub TrySetQueryText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub TrySetQueryText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] TrySetQueryText: usize, } @@ -137,7 +137,7 @@ windows_core::imp::define_interface!(ISearchPaneQueryChangedEventArgs, ISearchPa impl std::ops::Deref for ISearchPaneQueryChangedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -148,7 +148,7 @@ impl ISearchPaneQueryChangedEventArgs { pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -156,7 +156,7 @@ impl ISearchPaneQueryChangedEventArgs { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -164,7 +164,7 @@ impl ISearchPaneQueryChangedEventArgs { pub fn LinguisticDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinguisticDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -178,11 +178,11 @@ impl windows_core::RuntimeType for ISearchPaneQueryChangedEventArgs { pub struct ISearchPaneQueryChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] QueryText: usize, #[cfg(feature = "deprecated")] - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Language: usize, #[cfg(feature = "deprecated")] @@ -215,11 +215,11 @@ impl windows_core::RuntimeType for ISearchPaneQuerySubmittedEventArgs { pub struct ISearchPaneQuerySubmittedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] QueryText: usize, #[cfg(feature = "deprecated")] - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Language: usize, } @@ -249,7 +249,7 @@ impl windows_core::RuntimeType for ISearchPaneResultSuggestionChosenEventArgs { pub struct ISearchPaneResultSuggestionChosenEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Tag: usize, } @@ -385,16 +385,16 @@ impl windows_core::RuntimeType for ISearchSuggestionCollection { pub struct ISearchSuggestionCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub AppendQuerySuggestion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppendQuerySuggestion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AppendQuerySuggestions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AppendQuerySuggestions: usize, #[cfg(feature = "Storage_Streams")] - pub AppendResultSuggestion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppendResultSuggestion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] AppendResultSuggestion: usize, - pub AppendSearchSeparator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppendSearchSeparator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchSuggestionsRequest, ISearchSuggestionsRequest_Vtbl, 0x4e4e26a7_44e5_4039_9099_6000ead1f0c6); impl windows_core::RuntimeType for ISearchSuggestionsRequest { @@ -435,7 +435,7 @@ impl LocalContentSuggestionSettings { pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -443,7 +443,7 @@ impl LocalContentSuggestionSettings { pub fn Locations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Locations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -454,7 +454,7 @@ impl LocalContentSuggestionSettings { pub fn AqsFilter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AqsFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -462,7 +462,7 @@ impl LocalContentSuggestionSettings { pub fn PropertiesToMatch(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PropertiesToMatch)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -494,7 +494,7 @@ impl SearchPane { pub fn SearchHistoryEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchHistoryEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -507,7 +507,7 @@ impl SearchPane { pub fn SearchHistoryContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchHistoryContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -520,7 +520,7 @@ impl SearchPane { pub fn PlaceholderText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaceholderText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -528,7 +528,7 @@ impl SearchPane { pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -536,7 +536,7 @@ impl SearchPane { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -544,7 +544,7 @@ impl SearchPane { pub fn Visible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -555,7 +555,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisibilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -571,7 +571,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -587,7 +587,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestionsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -603,7 +603,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuerySubmitted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -619,7 +619,7 @@ impl SearchPane { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResultSuggestionChosen)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -655,7 +655,7 @@ impl SearchPane { pub fn ShowOnKeyboardInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowOnKeyboardInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -663,14 +663,14 @@ impl SearchPane { pub fn TrySetQueryText(&self, query: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetQueryText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(query), &mut result__).map(|| result__) } } #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> windows_core::Result { Self::ISearchPaneStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -718,7 +718,7 @@ impl SearchPaneQueryChangedEventArgs { pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -726,7 +726,7 @@ impl SearchPaneQueryChangedEventArgs { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -734,7 +734,7 @@ impl SearchPaneQueryChangedEventArgs { pub fn LinguisticDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinguisticDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -765,21 +765,21 @@ impl SearchPaneQueryLinguisticDetails { pub fn QueryTextAlternatives(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryTextAlternatives)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn QueryTextCompositionStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryTextCompositionStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn QueryTextCompositionLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryTextCompositionLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -808,7 +808,7 @@ impl SearchPaneQuerySubmittedEventArgs { pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -816,7 +816,7 @@ impl SearchPaneQuerySubmittedEventArgs { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -824,7 +824,7 @@ impl SearchPaneQuerySubmittedEventArgs { pub fn LinguisticDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinguisticDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -858,7 +858,7 @@ impl SearchPaneResultSuggestionChosenEventArgs { pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -892,7 +892,7 @@ impl SearchPaneSuggestionsRequest { pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -900,7 +900,7 @@ impl SearchPaneSuggestionsRequest { pub fn SearchSuggestionCollection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchSuggestionCollection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -908,7 +908,7 @@ impl SearchPaneSuggestionsRequest { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -975,7 +975,7 @@ impl SearchPaneSuggestionsRequestedEventArgs { pub fn QueryText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -983,7 +983,7 @@ impl SearchPaneSuggestionsRequestedEventArgs { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -991,7 +991,7 @@ impl SearchPaneSuggestionsRequestedEventArgs { pub fn LinguisticDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinguisticDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -999,7 +999,7 @@ impl SearchPaneSuggestionsRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1033,7 +1033,7 @@ impl SearchPaneVisibilityChangedEventArgs { pub fn Visible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1064,21 +1064,21 @@ impl SearchQueryLinguisticDetails { pub fn QueryTextAlternatives(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryTextAlternatives)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn QueryTextCompositionStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryTextCompositionStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn QueryTextCompositionLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryTextCompositionLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1088,7 +1088,7 @@ impl SearchQueryLinguisticDetails { P0: windows_core::Param>, { Self::ISearchQueryLinguisticDetailsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), querytextalternatives.param().abi(), querytextcompositionstart, querytextcompositionlength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1118,7 +1118,7 @@ impl SearchSuggestionCollection { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1167,21 +1167,21 @@ impl SearchSuggestionsRequest { pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SearchSuggestionCollection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchSuggestionCollection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 6690f93d22..f37b082378 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs @@ -15,7 +15,7 @@ impl CoreUserActivityManager { P0: windows_core::Param, { Self::ICoreUserActivityManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUserActivitySessionInBackground)(windows_core::Interface::as_raw(this), activity.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -24,7 +24,7 @@ impl CoreUserActivityManager { P0: windows_core::Param, { Self::ICoreUserActivityManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteUserActivitySessionsInTimeRangeAsync)(windows_core::Interface::as_raw(this), channel.param().abi(), starttime, endtime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs index 7bb14a2cc0..ceeb465b50 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs @@ -6,7 +6,7 @@ impl windows_core::RuntimeName for IUserActivityContentInfo { } impl IUserActivityContentInfo_Vtbl { pub const fn new, Impl: IUserActivityContentInfo_Impl, const OFFSET: isize>() -> IUserActivityContentInfo_Vtbl { - unsafe extern "system" fn ToJson, Impl: IUserActivityContentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ToJson, Impl: IUserActivityContentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUserActivityContentInfo_Impl::ToJson(this) { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index a8c6247515..e0dd9cd30b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -8,12 +8,12 @@ impl windows_core::RuntimeType for IUserActivity { pub struct IUserActivity_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserActivityState) -> windows_core::HRESULT, - pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub VisualElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContentType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContentType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub FallbackUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFallbackUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ActivationUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -30,7 +30,7 @@ impl windows_core::RuntimeType for IUserActivity2 { #[repr(C)] pub struct IUserActivity2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ToJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserActivity3, IUserActivity3_Vtbl, 0xe7697744_e1a2_5147_8e06_55f1eeef271c); impl windows_core::RuntimeType for IUserActivity3 { @@ -51,8 +51,8 @@ pub struct IUserActivityAttribution_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IconUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetIconUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddImageQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAddImageQuery: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } @@ -72,8 +72,8 @@ impl windows_core::RuntimeType for IUserActivityChannel { #[repr(C)] pub struct IUserActivityChannel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetOrCreateUserActivityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteActivityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetOrCreateUserActivityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteActivityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteAllActivitiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserActivityChannel2, IUserActivityChannel2_Vtbl, 0x1698e35b_eb7e_4ea0_bf17_a459e8be706c); @@ -88,7 +88,7 @@ pub struct IUserActivityChannel2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetRecentUserActivitiesAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub GetSessionHistoryItemsForUserActivityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSessionHistoryItemsForUserActivityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetSessionHistoryItemsForUserActivityAsync: usize, } @@ -130,7 +130,7 @@ windows_core::imp::define_interface!(IUserActivityContentInfo, IUserActivityCont impl std::ops::Deref for IUserActivityContentInfo { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserActivityContentInfo, windows_core::IUnknown, windows_core::IInspectable); @@ -138,7 +138,7 @@ impl IUserActivityContentInfo { pub fn ToJson(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToJson)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -149,7 +149,7 @@ impl windows_core::RuntimeType for IUserActivityContentInfo { #[repr(C)] pub struct IUserActivityContentInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ToJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserActivityContentInfoStatics, IUserActivityContentInfoStatics_Vtbl, 0x9988c34b_0386_4bc9_968a_8200b004144f); impl windows_core::RuntimeType for IUserActivityContentInfoStatics { @@ -158,7 +158,7 @@ impl windows_core::RuntimeType for IUserActivityContentInfoStatics { #[repr(C)] pub struct IUserActivityContentInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromJson: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromJson: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserActivityFactory, IUserActivityFactory_Vtbl, 0x7c385758_361d_4a67_8a3b_34ca2978f9a3); impl windows_core::RuntimeType for IUserActivityFactory { @@ -167,7 +167,7 @@ impl windows_core::RuntimeType for IUserActivityFactory { #[repr(C)] pub struct IUserActivityFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserActivityRequest, IUserActivityRequest_Vtbl, 0xa0ef6355_cf35_4ff0_8833_50cb4b72e06d); impl windows_core::RuntimeType for IUserActivityRequest { @@ -214,7 +214,7 @@ impl windows_core::RuntimeType for IUserActivitySession { #[repr(C)] pub struct IUserActivitySession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserActivitySessionHistoryItem, IUserActivitySessionHistoryItem_Vtbl, 0xe8d59bd3_3e5d_49fd_98d7_6da97521e255); impl windows_core::RuntimeType for IUserActivitySessionHistoryItem { @@ -234,13 +234,13 @@ impl windows_core::RuntimeType for IUserActivityStatics { #[repr(C)] pub struct IUserActivityStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TryParseFromJson: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParseFromJson: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub TryParseFromJsonArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParseFromJsonArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] TryParseFromJsonArray: usize, #[cfg(feature = "Foundation_Collections")] - pub ToJsonArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToJsonArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ToJsonArray: usize, } @@ -251,10 +251,10 @@ impl windows_core::RuntimeType for IUserActivityVisualElements { #[repr(C)] pub struct IUserActivityVisualElements_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "UI")] pub BackgroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Color) -> windows_core::HRESULT, #[cfg(not(feature = "UI"))] @@ -281,8 +281,8 @@ impl windows_core::RuntimeType for IUserActivityVisualElements2 { #[repr(C)] pub struct IUserActivityVisualElements2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AttributionDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAttributionDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AttributionDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAttributionDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -292,28 +292,28 @@ impl UserActivity { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VisualElements(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisualElements)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -327,7 +327,7 @@ impl UserActivity { pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -338,7 +338,7 @@ impl UserActivity { pub fn FallbackUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -352,7 +352,7 @@ impl UserActivity { pub fn ActivationUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivationUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -366,7 +366,7 @@ impl UserActivity { pub fn ContentInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -380,28 +380,28 @@ impl UserActivity { pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToJson(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToJson)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsRoamable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRoamable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -411,20 +411,20 @@ impl UserActivity { } pub fn CreateWithActivityId(activityid: &windows_core::HSTRING) -> windows_core::Result { Self::IUserActivityFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithActivityId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activityid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParseFromJson(json: &windows_core::HSTRING) -> windows_core::Result { Self::IUserActivityStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseFromJson)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(json), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn TryParseFromJsonArray(json: &windows_core::HSTRING) -> windows_core::Result> { Self::IUserActivityStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseFromJsonArray)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(json), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -434,7 +434,7 @@ impl UserActivity { P0: windows_core::Param>, { Self::IUserActivityStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToJsonArray)(windows_core::Interface::as_raw(this), activities.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -476,7 +476,7 @@ impl UserActivityAttribution { pub fn IconUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IconUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -490,7 +490,7 @@ impl UserActivityAttribution { pub fn AlternateText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -501,7 +501,7 @@ impl UserActivityAttribution { pub fn AddImageQuery(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddImageQuery)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -514,7 +514,7 @@ impl UserActivityAttribution { P0: windows_core::Param, { Self::IUserActivityAttributionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithUri)(windows_core::Interface::as_raw(this), iconuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -544,21 +544,21 @@ impl UserActivityChannel { pub fn GetOrCreateUserActivityAsync(&self, activityid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOrCreateUserActivityAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activityid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteActivityAsync(&self, activityid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteActivityAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activityid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAllActivitiesAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAllActivitiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -566,7 +566,7 @@ impl UserActivityChannel { pub fn GetRecentUserActivitiesAsync(&self, maxuniqueactivities: i32) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecentUserActivitiesAsync)(windows_core::Interface::as_raw(this), maxuniqueactivities, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -574,13 +574,13 @@ impl UserActivityChannel { pub fn GetSessionHistoryItemsForUserActivityAsync(&self, activityid: &windows_core::HSTRING, starttime: super::super::Foundation::DateTime) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSessionHistoryItemsForUserActivityAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activityid), starttime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IUserActivityChannelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -593,7 +593,7 @@ impl UserActivityChannel { P0: windows_core::Param, { Self::IUserActivityChannelStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetForWebAccount)(windows_core::Interface::as_raw(this), account.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -603,7 +603,7 @@ impl UserActivityChannel { P0: windows_core::Param, { Self::IUserActivityChannelStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -644,13 +644,13 @@ impl UserActivityContentInfo { pub fn ToJson(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToJson)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromJson(value: &windows_core::HSTRING) -> windows_core::Result { Self::IUserActivityContentInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromJson)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -708,7 +708,7 @@ impl UserActivityRequestManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserActivityRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -718,7 +718,7 @@ impl UserActivityRequestManager { } pub fn GetForCurrentView() -> windows_core::Result { Self::IUserActivityRequestManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -746,14 +746,14 @@ impl UserActivityRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -783,7 +783,7 @@ impl UserActivitySession { pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -808,21 +808,21 @@ impl UserActivitySessionHistoryItem { pub fn UserActivity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserActivity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -847,7 +847,7 @@ impl UserActivityVisualElements { pub fn DisplayText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -858,7 +858,7 @@ impl UserActivityVisualElements { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -870,7 +870,7 @@ impl UserActivityVisualElements { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -882,7 +882,7 @@ impl UserActivityVisualElements { pub fn Attribution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attribution)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -905,14 +905,14 @@ impl UserActivityVisualElements { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AttributionDisplayText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributionDisplayText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 44dc00c23f..8eabc55c2b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IUserDataAccountPartnerAccountInfo { #[repr(C)] pub struct IUserDataAccountPartnerAccountInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub AccountKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserDataAccountProviderPartnerAccountKind) -> windows_core::HRESULT, } @@ -21,13 +21,13 @@ pub struct IUserDataAccountProviderAddAccountOperation_Vtbl { pub PartnerAccountInfos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] PartnerAccountInfos: usize, - pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataAccountProviderOperation, IUserDataAccountProviderOperation_Vtbl, 0xa20aad63_888c_4a62_a3dd_34d07a802b2b); impl std::ops::Deref for IUserDataAccountProviderOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserDataAccountProviderOperation, windows_core::IUnknown, windows_core::IInspectable); @@ -35,7 +35,7 @@ impl IUserDataAccountProviderOperation { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -55,7 +55,7 @@ impl windows_core::RuntimeType for IUserDataAccountProviderResolveErrorsOperatio #[repr(C)] pub struct IUserDataAccountProviderResolveErrorsOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataAccountProviderSettingsOperation, IUserDataAccountProviderSettingsOperation_Vtbl, 0x92034db7_8648_4f30_acfa_3002658ca80d); @@ -65,7 +65,7 @@ impl windows_core::RuntimeType for IUserDataAccountProviderSettingsOperation { #[repr(C)] pub struct IUserDataAccountProviderSettingsOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] @@ -76,21 +76,21 @@ impl UserDataAccountPartnerAccountInfo { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Priority(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Priority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AccountKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -116,7 +116,7 @@ impl UserDataAccountProviderAddAccountOperation { pub fn ContentKinds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentKinds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -124,7 +124,7 @@ impl UserDataAccountProviderAddAccountOperation { pub fn PartnerAccountInfos(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartnerAccountInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -135,7 +135,7 @@ impl UserDataAccountProviderAddAccountOperation { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -161,14 +161,14 @@ impl UserDataAccountProviderResolveErrorsOperation { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UserDataAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDataAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -198,14 +198,14 @@ impl UserDataAccountProviderSettingsOperation { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UserDataAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDataAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 1570d87d10..29d2038e99 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs @@ -5,38 +5,38 @@ impl windows_core::RuntimeType for IDeviceAccountConfiguration { #[repr(C)] pub struct IDeviceAccountConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAccountName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceAccountTypeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDeviceAccountTypeId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAccountName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceAccountTypeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDeviceAccountTypeId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ServerType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceAccountServerType) -> windows_core::HRESULT, pub SetServerType: unsafe extern "system" fn(*mut core::ffi::c_void, DeviceAccountServerType) -> windows_core::HRESULT, - pub EmailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEmailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDomain: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEmailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDomain: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub EmailSyncEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetEmailSyncEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ContactsSyncEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetContactsSyncEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub CalendarSyncEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetCalendarSyncEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub IncomingServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIncomingServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IncomingServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIncomingServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IncomingServerPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetIncomingServerPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IncomingServerRequiresSsl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIncomingServerRequiresSsl: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub IncomingServerUsername: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIncomingServerUsername: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OutgoingServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOutgoingServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IncomingServerUsername: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIncomingServerUsername: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OutgoingServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOutgoingServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub OutgoingServerPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetOutgoingServerPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub OutgoingServerRequiresSsl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetOutgoingServerRequiresSsl: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub OutgoingServerUsername: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOutgoingServerUsername: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OutgoingServerUsername: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOutgoingServerUsername: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceAccountConfiguration2, IDeviceAccountConfiguration2_Vtbl, 0xf2b2e5a6_728d_4a4a_8945_2bf8580136de); impl windows_core::RuntimeType for IDeviceAccountConfiguration2 { @@ -61,8 +61,8 @@ pub struct IDeviceAccountConfiguration2_Vtbl { pub SetOutgoingServerCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] SetOutgoingServerCredential: usize, - pub OAuthRefreshToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOAuthRefreshToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OAuthRefreshToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOAuthRefreshToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsExternallyManaged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsExternallyManaged: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub AccountIconId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceAccountIconId) -> windows_core::HRESULT, @@ -70,8 +70,8 @@ pub struct IDeviceAccountConfiguration2_Vtbl { pub AuthenticationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceAccountAuthenticationType) -> windows_core::HRESULT, pub SetAuthenticationType: unsafe extern "system" fn(*mut core::ffi::c_void, DeviceAccountAuthenticationType) -> windows_core::HRESULT, pub IsSsoAuthenticationSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub SsoAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSsoAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SsoAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSsoAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AlwaysDownloadFullMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAlwaysDownloadFullMessage: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub DoesPolicyAllowMailSync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -83,8 +83,8 @@ pub struct IDeviceAccountConfiguration2_Vtbl { pub SetIsClientAuthenticationCertificateRequired: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub AutoSelectAuthenticationCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAutoSelectAuthenticationCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub AuthenticationCertificateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAuthenticationCertificateId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AuthenticationCertificateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAuthenticationCertificateId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CardDavSyncScheduleKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceAccountSyncScheduleKind) -> windows_core::HRESULT, pub SetCardDavSyncScheduleKind: unsafe extern "system" fn(*mut core::ffi::c_void, DeviceAccountSyncScheduleKind) -> windows_core::HRESULT, pub CalDavSyncScheduleKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceAccountSyncScheduleKind) -> windows_core::HRESULT, @@ -101,16 +101,16 @@ pub struct IDeviceAccountConfiguration2_Vtbl { pub SetWasModifiedByUser: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub WasIncomingServerCertificateHashConfirmed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetWasIncomingServerCertificateHashConfirmed: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub IncomingServerCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIncomingServerCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IncomingServerCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIncomingServerCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsOutgoingServerAuthenticationRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsOutgoingServerAuthenticationRequired: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsOutgoingServerAuthenticationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsOutgoingServerAuthenticationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub WasOutgoingServerCertificateHashConfirmed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetWasOutgoingServerCertificateHashConfirmed: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub OutgoingServerCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOutgoingServerCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OutgoingServerCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOutgoingServerCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsSyncScheduleManagedBySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsSyncScheduleManagedBySystem: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } @@ -133,10 +133,10 @@ impl windows_core::RuntimeType for IUserDataAccountSystemAccessManagerStatics2 { #[repr(C)] pub struct IUserDataAccountSystemAccessManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SuppressLocalAccountWithAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SuppressLocalAccountWithAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDeviceAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteDeviceAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceAccountConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteDeviceAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceAccountConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -153,7 +153,7 @@ impl DeviceAccountConfiguration { pub fn AccountName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -164,7 +164,7 @@ impl DeviceAccountConfiguration { pub fn DeviceAccountTypeId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAccountTypeId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -175,7 +175,7 @@ impl DeviceAccountConfiguration { pub fn ServerType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -186,7 +186,7 @@ impl DeviceAccountConfiguration { pub fn EmailAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -197,7 +197,7 @@ impl DeviceAccountConfiguration { pub fn Domain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Domain)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -208,7 +208,7 @@ impl DeviceAccountConfiguration { pub fn EmailSyncEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailSyncEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -219,7 +219,7 @@ impl DeviceAccountConfiguration { pub fn ContactsSyncEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactsSyncEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -230,7 +230,7 @@ impl DeviceAccountConfiguration { pub fn CalendarSyncEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalendarSyncEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -241,7 +241,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncomingServerAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -252,7 +252,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerPort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncomingServerPort)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -263,7 +263,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerRequiresSsl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncomingServerRequiresSsl)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -274,7 +274,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerUsername(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncomingServerUsername)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -285,7 +285,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingServerAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -296,7 +296,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerPort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingServerPort)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -307,7 +307,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerRequiresSsl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingServerRequiresSsl)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -318,7 +318,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerUsername(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingServerUsername)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -330,7 +330,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncomingServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -346,7 +346,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -361,7 +361,7 @@ impl DeviceAccountConfiguration { pub fn OAuthRefreshToken(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OAuthRefreshToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -372,7 +372,7 @@ impl DeviceAccountConfiguration { pub fn IsExternallyManaged(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsExternallyManaged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -383,7 +383,7 @@ impl DeviceAccountConfiguration { pub fn AccountIconId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountIconId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -394,7 +394,7 @@ impl DeviceAccountConfiguration { pub fn AuthenticationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -405,14 +405,14 @@ impl DeviceAccountConfiguration { pub fn IsSsoAuthenticationSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSsoAuthenticationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SsoAccountId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SsoAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -423,7 +423,7 @@ impl DeviceAccountConfiguration { pub fn AlwaysDownloadFullMessage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlwaysDownloadFullMessage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -434,14 +434,14 @@ impl DeviceAccountConfiguration { pub fn DoesPolicyAllowMailSync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DoesPolicyAllowMailSync)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SyncScheduleKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncScheduleKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -452,7 +452,7 @@ impl DeviceAccountConfiguration { pub fn MailAgeFilter(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MailAgeFilter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -463,7 +463,7 @@ impl DeviceAccountConfiguration { pub fn IsClientAuthenticationCertificateRequired(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsClientAuthenticationCertificateRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -474,7 +474,7 @@ impl DeviceAccountConfiguration { pub fn AutoSelectAuthenticationCertificate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoSelectAuthenticationCertificate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -485,7 +485,7 @@ impl DeviceAccountConfiguration { pub fn AuthenticationCertificateId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationCertificateId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -496,7 +496,7 @@ impl DeviceAccountConfiguration { pub fn CardDavSyncScheduleKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardDavSyncScheduleKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -507,7 +507,7 @@ impl DeviceAccountConfiguration { pub fn CalDavSyncScheduleKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalDavSyncScheduleKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -518,7 +518,7 @@ impl DeviceAccountConfiguration { pub fn CardDavServerUrl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardDavServerUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -532,7 +532,7 @@ impl DeviceAccountConfiguration { pub fn CardDavRequiresSsl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardDavRequiresSsl)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -543,7 +543,7 @@ impl DeviceAccountConfiguration { pub fn CalDavServerUrl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalDavServerUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -557,7 +557,7 @@ impl DeviceAccountConfiguration { pub fn CalDavRequiresSsl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalDavRequiresSsl)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -568,7 +568,7 @@ impl DeviceAccountConfiguration { pub fn WasModifiedByUser(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WasModifiedByUser)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -579,7 +579,7 @@ impl DeviceAccountConfiguration { pub fn WasIncomingServerCertificateHashConfirmed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WasIncomingServerCertificateHashConfirmed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -590,7 +590,7 @@ impl DeviceAccountConfiguration { pub fn IncomingServerCertificateHash(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncomingServerCertificateHash)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -601,7 +601,7 @@ impl DeviceAccountConfiguration { pub fn IsOutgoingServerAuthenticationRequired(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOutgoingServerAuthenticationRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -612,7 +612,7 @@ impl DeviceAccountConfiguration { pub fn IsOutgoingServerAuthenticationEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOutgoingServerAuthenticationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -623,7 +623,7 @@ impl DeviceAccountConfiguration { pub fn WasOutgoingServerCertificateHashConfirmed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WasOutgoingServerCertificateHashConfirmed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -634,7 +634,7 @@ impl DeviceAccountConfiguration { pub fn OutgoingServerCertificateHash(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingServerCertificateHash)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -645,7 +645,7 @@ impl DeviceAccountConfiguration { pub fn IsSyncScheduleManagedBySystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSyncScheduleManagedBySystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -674,13 +674,13 @@ impl UserDataAccountSystemAccessManager { P0: windows_core::Param>, { Self::IUserDataAccountSystemAccessManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddAndShowDeviceAccountsAsync)(windows_core::Interface::as_raw(this), accounts.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SuppressLocalAccountWithAccountAsync(userdataaccountid: &windows_core::HSTRING) -> windows_core::Result { Self::IUserDataAccountSystemAccessManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuppressLocalAccountWithAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdataaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -689,19 +689,19 @@ impl UserDataAccountSystemAccessManager { P0: windows_core::Param, { Self::IUserDataAccountSystemAccessManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDeviceAccountAsync)(windows_core::Interface::as_raw(this), account.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DeleteDeviceAccountAsync(accountid: &windows_core::HSTRING) -> windows_core::Result { Self::IUserDataAccountSystemAccessManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteDeviceAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(accountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceAccountConfigurationAsync(accountid: &windows_core::HSTRING) -> windows_core::Result> { Self::IUserDataAccountSystemAccessManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceAccountConfigurationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(accountid), &mut result__).and_then(|| windows_core::Type::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 96758b9d0c..3e4354b3f4 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs @@ -9,17 +9,17 @@ impl windows_core::RuntimeType for IUserDataAccount { #[repr(C)] pub struct IUserDataAccount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub OtherAppReadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserDataAccountOtherAppReadAccess) -> windows_core::HRESULT, pub SetOtherAppReadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, UserDataAccountOtherAppReadAccess) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Icon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] Icon: usize, - pub DeviceAccountTypeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceAccountTypeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "ApplicationModel_Appointments", feature = "Foundation_Collections"))] @@ -46,7 +46,7 @@ impl windows_core::RuntimeType for IUserDataAccount2 { #[repr(C)] pub struct IUserDataAccount2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsProtectedUnderLock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataAccount3, IUserDataAccount3_Vtbl, 0x01533845_6c43_4286_9d69_3e1709a1f266); @@ -60,8 +60,8 @@ pub struct IUserDataAccount3_Vtbl { pub ExplictReadAccessPackageFamilyNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ExplictReadAccessPackageFamilyNames: usize, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataAccount4, IUserDataAccount4_Vtbl, 0xc4315210_eae5_4f0a_a8b2_1cca115e008f); impl windows_core::RuntimeType for IUserDataAccount4 { @@ -113,8 +113,8 @@ pub struct IUserDataAccountManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, UserDataAccountStoreAccessType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowAddAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, UserDataAccountContentKinds, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShowAccountSettingsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShowAccountErrorResolverAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowAccountSettingsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowAccountErrorResolverAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataAccountManagerStatics2, IUserDataAccountManagerStatics2_Vtbl, 0x6a3ded88_316b_435e_b534_f7d4b4b7dba6); impl windows_core::RuntimeType for IUserDataAccountManagerStatics2 { @@ -139,8 +139,8 @@ pub struct IUserDataAccountStore_Vtbl { pub FindAccountsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAccountsAsync: usize, - pub GetAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataAccountStore2, IUserDataAccountStore2_Vtbl, 0xb1e0aef7_9560_4631_8af0_061d30161469); impl windows_core::RuntimeType for IUserDataAccountStore2 { @@ -149,7 +149,7 @@ impl windows_core::RuntimeType for IUserDataAccountStore2 { #[repr(C)] pub struct IUserDataAccountStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateAccountWithPackageRelativeAppIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAccountWithPackageRelativeAppIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StoreChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStoreChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -160,7 +160,7 @@ impl windows_core::RuntimeType for IUserDataAccountStore3 { #[repr(C)] pub struct IUserDataAccountStore3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataAccountStoreChangedEventArgs, IUserDataAccountStoreChangedEventArgs_Vtbl, 0x84e3e2e5_8820_4512_b1f6_2e035be1072c); impl windows_core::RuntimeType for IUserDataAccountStoreChangedEventArgs { @@ -179,14 +179,14 @@ impl UserDataAccount { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -197,7 +197,7 @@ impl UserDataAccount { pub fn OtherAppReadAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppReadAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -209,35 +209,35 @@ impl UserDataAccount { pub fn Icon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Icon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceAccountTypeId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAccountTypeId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -245,7 +245,7 @@ impl UserDataAccount { pub fn FindAppointmentCalendarsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAppointmentCalendarsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -253,7 +253,7 @@ impl UserDataAccount { pub fn FindEmailMailboxesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindEmailMailboxesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -261,7 +261,7 @@ impl UserDataAccount { pub fn FindContactListsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactListsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -269,21 +269,21 @@ impl UserDataAccount { pub fn FindContactAnnotationListsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactAnnotationListsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EnterpriseId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterpriseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsProtectedUnderLock(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsProtectedUnderLock)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -291,14 +291,14 @@ impl UserDataAccount { pub fn ExplictReadAccessPackageFamilyNames(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExplictReadAccessPackageFamilyNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -309,7 +309,7 @@ impl UserDataAccount { pub fn CanShowCreateContactGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanShowCreateContactGroup)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -321,7 +321,7 @@ impl UserDataAccount { pub fn ProviderProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -329,7 +329,7 @@ impl UserDataAccount { pub fn FindUserDataTaskListsAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindUserDataTaskListsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -337,14 +337,14 @@ impl UserDataAccount { pub fn FindContactGroupsAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactGroupsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryShowCreateContactGroupAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShowCreateContactGroupAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -377,25 +377,25 @@ pub struct UserDataAccountManager; impl UserDataAccountManager { pub fn RequestStoreAsync(storeaccesstype: UserDataAccountStoreAccessType) -> windows_core::Result> { Self::IUserDataAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), storeaccesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowAddAccountAsync(contentkinds: UserDataAccountContentKinds) -> windows_core::Result> { Self::IUserDataAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAddAccountAsync)(windows_core::Interface::as_raw(this), contentkinds, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowAccountSettingsAsync(id: &windows_core::HSTRING) -> windows_core::Result { Self::IUserDataAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAccountSettingsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowAccountErrorResolverAsync(id: &windows_core::HSTRING) -> windows_core::Result { Self::IUserDataAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAccountErrorResolverAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -405,7 +405,7 @@ impl UserDataAccountManager { P0: windows_core::Param, { Self::IUserDataAccountManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -431,7 +431,7 @@ impl UserDataAccountManagerForUser { pub fn RequestStoreAsync(&self, storeaccesstype: UserDataAccountStoreAccessType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), storeaccesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -439,7 +439,7 @@ impl UserDataAccountManagerForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -465,28 +465,28 @@ impl UserDataAccountStore { pub fn FindAccountsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAccountsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAccountAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAccountAsync(&self, userdisplayname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdisplayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAccountWithPackageRelativeAppIdAsync(&self, userdisplayname: &windows_core::HSTRING, packagerelativeappid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAccountWithPackageRelativeAppIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdisplayname), core::mem::transmute_copy(packagerelativeappid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -496,7 +496,7 @@ impl UserDataAccountStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -507,7 +507,7 @@ impl UserDataAccountStore { pub fn CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync(&self, userdisplayname: &windows_core::HSTRING, packagerelativeappid: &windows_core::HSTRING, enterpriseid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAccountWithPackageRelativeAppIdAndEnterpriseIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdisplayname), core::mem::transmute_copy(packagerelativeappid), core::mem::transmute_copy(enterpriseid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -532,7 +532,7 @@ impl UserDataAccountStoreChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 df7deed3e0..02a86df937 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs @@ -33,9 +33,9 @@ impl windows_core::RuntimeType for IUserDataTaskListCompleteTaskRequest { #[repr(C)] pub struct IUserDataTaskListCompleteTaskRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataTaskListCompleteTaskRequestEventArgs, IUserDataTaskListCompleteTaskRequestEventArgs_Vtbl, 0xd77c393d_4cf2_48ad_87fd_963f0eaa7a95); @@ -55,7 +55,7 @@ impl windows_core::RuntimeType for IUserDataTaskListCreateOrUpdateTaskRequest { #[repr(C)] pub struct IUserDataTaskListCreateOrUpdateTaskRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -77,8 +77,8 @@ impl windows_core::RuntimeType for IUserDataTaskListDeleteTaskRequest { #[repr(C)] pub struct IUserDataTaskListDeleteTaskRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -99,8 +99,8 @@ impl windows_core::RuntimeType for IUserDataTaskListSkipOccurrenceRequest { #[repr(C)] pub struct IUserDataTaskListSkipOccurrenceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -121,7 +121,7 @@ impl windows_core::RuntimeType for IUserDataTaskListSyncManagerSyncRequest { #[repr(C)] pub struct IUserDataTaskListSyncManagerSyncRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -146,7 +146,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOrUpdateTaskRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -160,7 +160,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -174,7 +174,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SkipOccurrenceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -188,7 +188,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompleteTaskRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -202,7 +202,7 @@ impl UserDataTaskDataProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteTaskRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -235,7 +235,7 @@ impl UserDataTaskDataProviderTriggerDetails { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -260,28 +260,28 @@ impl UserDataTaskListCompleteTaskRequest { pub fn TaskListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self, completedtaskid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(completedtaskid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -306,14 +306,14 @@ impl UserDataTaskListCompleteTaskRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -338,14 +338,14 @@ impl UserDataTaskListCreateOrUpdateTaskRequest { pub fn TaskListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Task(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Task)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -355,14 +355,14 @@ impl UserDataTaskListCreateOrUpdateTaskRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), createdorupdateduserdatatask.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -387,14 +387,14 @@ impl UserDataTaskListCreateOrUpdateTaskRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -419,28 +419,28 @@ impl UserDataTaskListDeleteTaskRequest { pub fn TaskListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -465,14 +465,14 @@ impl UserDataTaskListDeleteTaskRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -497,28 +497,28 @@ impl UserDataTaskListSkipOccurrenceRequest { pub fn TaskListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -543,14 +543,14 @@ impl UserDataTaskListSkipOccurrenceRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -575,21 +575,21 @@ impl UserDataTaskListSyncManagerSyncRequest { pub fn TaskListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -614,14 +614,14 @@ impl UserDataTaskListSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 8ff08f1014..85e87b9513 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs @@ -7,14 +7,14 @@ impl windows_core::RuntimeType for IUserDataTask { #[repr(C)] pub struct IUserDataTask_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ListId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CompletedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCompletedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDetails: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDetails: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DetailsKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserDataTaskDetailsKind) -> windows_core::HRESULT, pub SetDetailsKind: unsafe extern "system" fn(*mut core::ffi::c_void, UserDataTaskDetailsKind) -> windows_core::HRESULT, pub DueDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -30,8 +30,8 @@ pub struct IUserDataTask_Vtbl { pub SetReminder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Sensitivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserDataTaskSensitivity) -> windows_core::HRESULT, pub SetSensitivity: unsafe extern "system" fn(*mut core::ffi::c_void, UserDataTaskSensitivity) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetStartDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -54,11 +54,11 @@ impl windows_core::RuntimeType for IUserDataTaskList { #[repr(C)] pub struct IUserDataTaskList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDataAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OtherAppReadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserDataTaskListOtherAppReadAccess) -> windows_core::HRESULT, pub SetOtherAppReadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, UserDataTaskListOtherAppReadAccess) -> windows_core::HRESULT, pub OtherAppWriteAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserDataTaskListOtherAppWriteAccess) -> windows_core::HRESULT, @@ -68,9 +68,9 @@ pub struct IUserDataTaskList_Vtbl { pub RegisterSyncManagerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTaskReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTaskReaderWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -81,10 +81,10 @@ impl windows_core::RuntimeType for IUserDataTaskListLimitedWriteOperations { #[repr(C)] pub struct IUserDataTaskListLimitedWriteOperations_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TryCompleteTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryCompleteTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryCreateOrUpdateTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryDeleteTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TrySkipOccurrenceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryDeleteTaskAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TrySkipOccurrenceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataTaskListSyncManager, IUserDataTaskListSyncManager_Vtbl, 0x8e591a95_1dcf_469f_93ec_ba48bb553c6b); impl windows_core::RuntimeType for IUserDataTaskListSyncManager { @@ -197,13 +197,13 @@ impl windows_core::RuntimeType for IUserDataTaskStore { #[repr(C)] pub struct IUserDataTaskStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateListInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateListInAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindListsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindListsAsync: usize, - pub GetListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -220,21 +220,21 @@ impl UserDataTask { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ListId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ListId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -245,7 +245,7 @@ impl UserDataTask { pub fn CompletedDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompletedDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -259,7 +259,7 @@ impl UserDataTask { pub fn Details(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Details)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -270,7 +270,7 @@ impl UserDataTask { pub fn DetailsKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetailsKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -281,7 +281,7 @@ impl UserDataTask { pub fn DueDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DueDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -295,14 +295,14 @@ impl UserDataTask { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Priority(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Priority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -313,7 +313,7 @@ impl UserDataTask { pub fn RecurrenceProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecurrenceProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -327,7 +327,7 @@ impl UserDataTask { pub fn RegenerationProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegenerationProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -341,7 +341,7 @@ impl UserDataTask { pub fn Reminder(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reminder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -355,7 +355,7 @@ impl UserDataTask { pub fn Sensitivity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sensitivity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -366,7 +366,7 @@ impl UserDataTask { pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -377,7 +377,7 @@ impl UserDataTask { pub fn StartDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -410,7 +410,7 @@ impl UserDataTaskBatch { pub fn Tasks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tasks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -435,21 +435,21 @@ impl UserDataTaskList { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserDataAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDataAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -460,14 +460,14 @@ impl UserDataTaskList { pub fn SourceDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OtherAppReadAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppReadAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -478,7 +478,7 @@ impl UserDataTaskList { pub fn OtherAppWriteAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAppWriteAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -489,28 +489,28 @@ impl UserDataTaskList { pub fn LimitedWriteOperations(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LimitedWriteOperations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SyncManager(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RegisterSyncManagerAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterSyncManagerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetTaskReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTaskReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -520,14 +520,14 @@ impl UserDataTaskList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTaskReaderWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetTaskAsync(&self, userdatatask: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTaskAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdatatask), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -537,28 +537,28 @@ impl UserDataTaskList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveTaskAsync)(windows_core::Interface::as_raw(this), userdatatask.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteTaskAsync(&self, userdatataskid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteTaskAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdatataskid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -583,7 +583,7 @@ impl UserDataTaskListLimitedWriteOperations { pub fn TryCompleteTaskAsync(&self, userdatataskid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCompleteTaskAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdatataskid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -593,21 +593,21 @@ impl UserDataTaskListLimitedWriteOperations { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateOrUpdateTaskAsync)(windows_core::Interface::as_raw(this), userdatatask.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryDeleteTaskAsync(&self, userdatataskid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDeleteTaskAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdatataskid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrySkipOccurrenceAsync(&self, userdatataskid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySkipOccurrenceAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(userdatataskid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -632,7 +632,7 @@ impl UserDataTaskListSyncManager { pub fn LastAttemptedSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastAttemptedSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -643,7 +643,7 @@ impl UserDataTaskListSyncManager { pub fn LastSuccessfulSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastSuccessfulSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -654,7 +654,7 @@ impl UserDataTaskListSyncManager { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -665,7 +665,7 @@ impl UserDataTaskListSyncManager { pub fn SyncAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -675,7 +675,7 @@ impl UserDataTaskListSyncManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -704,7 +704,7 @@ impl UserDataTaskManager { pub fn RequestStoreAsync(&self, accesstype: UserDataTaskStoreAccessType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), accesstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -712,13 +712,13 @@ impl UserDataTaskManager { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IUserDataTaskManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -728,7 +728,7 @@ impl UserDataTaskManager { P0: windows_core::Param, { Self::IUserDataTaskManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -765,7 +765,7 @@ impl UserDataTaskQueryOptions { pub fn SortProperty(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SortProperty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -776,7 +776,7 @@ impl UserDataTaskQueryOptions { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -805,7 +805,7 @@ impl UserDataTaskReader { pub fn ReadBatchAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -837,7 +837,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Unit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -848,7 +848,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Occurrences(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Occurrences)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -862,7 +862,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Until(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Until)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -876,7 +876,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Interval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Interval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -887,7 +887,7 @@ impl UserDataTaskRecurrenceProperties { pub fn DaysOfWeek(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DaysOfWeek)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -901,7 +901,7 @@ impl UserDataTaskRecurrenceProperties { pub fn WeekOfMonth(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WeekOfMonth)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -915,7 +915,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Month(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Month)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -929,7 +929,7 @@ impl UserDataTaskRecurrenceProperties { pub fn Day(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Day)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -968,7 +968,7 @@ impl UserDataTaskRegenerationProperties { pub fn Unit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -979,7 +979,7 @@ impl UserDataTaskRegenerationProperties { pub fn Occurrences(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Occurrences)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -993,7 +993,7 @@ impl UserDataTaskRegenerationProperties { pub fn Until(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Until)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1007,7 +1007,7 @@ impl UserDataTaskRegenerationProperties { pub fn Interval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Interval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1036,14 +1036,14 @@ impl UserDataTaskStore { pub fn CreateListAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateListAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateListInAccountAsync(&self, name: &windows_core::HSTRING, userdataaccountid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateListInAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(userdataaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1051,14 +1051,14 @@ impl UserDataTaskStore { pub fn FindListsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindListsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetListAsync(&self, tasklistid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetListAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tasklistid), &mut result__).and_then(|| windows_core::Type::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 d631168ea4..47be2bbb60 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IVoiceCommand { #[repr(C)] pub struct IVoiceCommand_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CommandName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CommandName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -40,14 +40,14 @@ impl windows_core::RuntimeType for IVoiceCommandContentTile { #[repr(C)] pub struct IVoiceCommandContentTile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TextLine1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTextLine1: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TextLine2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTextLine2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TextLine3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTextLine3: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TextLine1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTextLine1: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TextLine2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTextLine2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TextLine3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTextLine3: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage")] pub Image: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] @@ -58,8 +58,8 @@ pub struct IVoiceCommandContentTile_Vtbl { SetImage: usize, pub AppContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAppContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AppLaunchArgument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAppLaunchArgument: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppLaunchArgument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAppLaunchArgument: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ContentTileType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VoiceCommandContentTileType) -> windows_core::HRESULT, pub SetContentTileType: unsafe extern "system" fn(*mut core::ffi::c_void, VoiceCommandContentTileType) -> windows_core::HRESULT, } @@ -70,10 +70,10 @@ impl windows_core::RuntimeType for IVoiceCommandDefinition { #[repr(C)] pub struct IVoiceCommandDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub SetPhraseListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetPhraseListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SetPhraseListAsync: usize, } @@ -113,8 +113,8 @@ pub struct IVoiceCommandResponse_Vtbl { pub SetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RepeatMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRepeatMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AppLaunchArgument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAppLaunchArgument: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppLaunchArgument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAppLaunchArgument: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub VoiceCommandContentTiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -179,10 +179,10 @@ impl windows_core::RuntimeType for IVoiceCommandUserMessage { #[repr(C)] pub struct IVoiceCommandUserMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SpokenMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSpokenMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SpokenMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSpokenMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -192,7 +192,7 @@ impl VoiceCommand { pub fn CommandName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -200,7 +200,7 @@ impl VoiceCommand { pub fn Properties(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -208,7 +208,7 @@ impl VoiceCommand { pub fn SpeechRecognitionResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpeechRecognitionResult)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -233,7 +233,7 @@ impl VoiceCommandCompletedEventArgs { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -258,7 +258,7 @@ impl VoiceCommandConfirmationResult { pub fn Confirmed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Confirmed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -290,7 +290,7 @@ impl VoiceCommandContentTile { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -301,7 +301,7 @@ impl VoiceCommandContentTile { pub fn TextLine1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextLine1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -312,7 +312,7 @@ impl VoiceCommandContentTile { pub fn TextLine2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextLine2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -323,7 +323,7 @@ impl VoiceCommandContentTile { pub fn TextLine3(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextLine3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -335,7 +335,7 @@ impl VoiceCommandContentTile { pub fn Image(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Image)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -350,7 +350,7 @@ impl VoiceCommandContentTile { pub fn AppContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -364,7 +364,7 @@ impl VoiceCommandContentTile { pub fn AppLaunchArgument(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppLaunchArgument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -375,7 +375,7 @@ impl VoiceCommandContentTile { pub fn ContentTileType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentTileType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -404,14 +404,14 @@ impl VoiceCommandDefinition { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -422,7 +422,7 @@ impl VoiceCommandDefinition { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPhraseListAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(phraselistname), phraselist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -447,14 +447,14 @@ impl VoiceCommandDefinitionManager { P0: windows_core::Param, { Self::IVoiceCommandDefinitionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallCommandDefinitionsFromStorageFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn InstalledCommandDefinitions() -> windows_core::Result> { Self::IVoiceCommandDefinitionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstalledCommandDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -475,7 +475,7 @@ impl VoiceCommandDisambiguationResult { pub fn SelectedItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -500,7 +500,7 @@ impl VoiceCommandResponse { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -514,7 +514,7 @@ impl VoiceCommandResponse { pub fn RepeatMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RepeatMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -528,7 +528,7 @@ impl VoiceCommandResponse { pub fn AppLaunchArgument(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppLaunchArgument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -540,13 +540,13 @@ impl VoiceCommandResponse { pub fn VoiceCommandContentTiles(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VoiceCommandContentTiles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxSupportedVoiceCommandContentTiles() -> windows_core::Result { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSupportedVoiceCommandContentTiles)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -555,7 +555,7 @@ impl VoiceCommandResponse { P0: windows_core::Param, { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResponse)(windows_core::Interface::as_raw(this), usermessage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -566,7 +566,7 @@ impl VoiceCommandResponse { P1: windows_core::Param>, { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResponseWithTiles)(windows_core::Interface::as_raw(this), message.param().abi(), contenttiles.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -576,7 +576,7 @@ impl VoiceCommandResponse { P1: windows_core::Param, { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResponseForPrompt)(windows_core::Interface::as_raw(this), message.param().abi(), repeatmessage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -588,7 +588,7 @@ impl VoiceCommandResponse { P2: windows_core::Param>, { Self::IVoiceCommandResponseStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResponseForPromptWithTiles)(windows_core::Interface::as_raw(this), message.param().abi(), repeatmessage.param().abi(), contenttiles.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -618,7 +618,7 @@ impl VoiceCommandServiceConnection { pub fn GetVoiceCommandAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVoiceCommandAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -628,7 +628,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestConfirmationAsync)(windows_core::Interface::as_raw(this), response.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -638,7 +638,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDisambiguationAsync)(windows_core::Interface::as_raw(this), response.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -648,7 +648,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportProgressAsync)(windows_core::Interface::as_raw(this), response.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -658,7 +658,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportSuccessAsync)(windows_core::Interface::as_raw(this), response.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -668,7 +668,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailureAsync)(windows_core::Interface::as_raw(this), response.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -678,7 +678,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAppLaunchAsync)(windows_core::Interface::as_raw(this), response.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -686,7 +686,7 @@ impl VoiceCommandServiceConnection { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -696,7 +696,7 @@ impl VoiceCommandServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VoiceCommandCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -710,7 +710,7 @@ impl VoiceCommandServiceConnection { P0: windows_core::Param, { Self::IVoiceCommandServiceConnectionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromAppServiceTriggerDetails)(windows_core::Interface::as_raw(this), triggerdetails.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -747,7 +747,7 @@ impl VoiceCommandUserMessage { pub fn DisplayMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -758,7 +758,7 @@ impl VoiceCommandUserMessage { pub fn SpokenMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpokenMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 09bf43b378..1007f77bd3 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs @@ -75,7 +75,7 @@ impl WalletItemSystemStore { pub fn GetItemsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -86,7 +86,7 @@ impl WalletItemSystemStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -97,7 +97,7 @@ impl WalletItemSystemStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportItemAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -108,7 +108,7 @@ impl WalletItemSystemStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppStatusForItem)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) } } @@ -119,7 +119,7 @@ impl WalletItemSystemStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchAppForItemAsync)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -130,7 +130,7 @@ impl WalletItemSystemStore { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -164,7 +164,7 @@ impl WalletManagerSystem { #[cfg(feature = "deprecated")] pub fn RequestStoreAsync() -> windows_core::Result> { Self::IWalletManagerSystemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 a8d8577e24..71b7de0f6e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs @@ -15,7 +15,7 @@ pub struct IWalletBarcode_Vtbl { #[cfg(not(feature = "deprecated"))] Symbology: usize, #[cfg(feature = "deprecated")] - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Value: usize, #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] @@ -34,7 +34,7 @@ impl windows_core::RuntimeType for IWalletBarcodeFactory { pub struct IWalletBarcodeFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub CreateWalletBarcode: unsafe extern "system" fn(*mut core::ffi::c_void, WalletBarcodeSymbology, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWalletBarcode: unsafe extern "system" fn(*mut core::ffi::c_void, WalletBarcodeSymbology, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateWalletBarcode: usize, #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] @@ -53,15 +53,15 @@ impl windows_core::RuntimeType for IWalletItem { pub struct IWalletItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DisplayName: usize, #[cfg(feature = "deprecated")] - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetDisplayName: usize, #[cfg(feature = "deprecated")] - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Id: usize, #[cfg(feature = "deprecated")] @@ -73,11 +73,11 @@ pub struct IWalletItem_Vtbl { #[cfg(not(feature = "deprecated"))] SetIsAcknowledged: usize, #[cfg(feature = "deprecated")] - pub IssuerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IssuerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] IssuerDisplayName: usize, #[cfg(feature = "deprecated")] - pub SetIssuerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIssuerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetIssuerDisplayName: usize, #[cfg(feature = "deprecated")] @@ -133,11 +133,11 @@ pub struct IWalletItem_Vtbl { #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] SetLogo99x99: usize, #[cfg(feature = "deprecated")] - pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DisplayMessage: usize, #[cfg(feature = "deprecated")] - pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetDisplayMessage: usize, #[cfg(feature = "deprecated")] @@ -149,11 +149,11 @@ pub struct IWalletItem_Vtbl { #[cfg(not(feature = "deprecated"))] SetIsDisplayMessageLaunchable: usize, #[cfg(feature = "deprecated")] - pub LogoText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogoText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] LogoText: usize, #[cfg(feature = "deprecated")] - pub SetLogoText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLogoText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetLogoText: usize, #[cfg(all(feature = "UI", feature = "deprecated"))] @@ -229,11 +229,11 @@ pub struct IWalletItem_Vtbl { #[cfg(not(feature = "deprecated"))] SetRelevantDate: usize, #[cfg(feature = "deprecated")] - pub RelevantDateDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RelevantDateDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] RelevantDateDisplayMessage: usize, #[cfg(feature = "deprecated")] - pub SetRelevantDateDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRelevantDateDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetRelevantDateDisplayMessage: usize, #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] @@ -272,19 +272,19 @@ impl windows_core::RuntimeType for IWalletItemCustomProperty { pub struct IWalletItemCustomProperty_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Name: usize, #[cfg(feature = "deprecated")] - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetName: usize, #[cfg(feature = "deprecated")] - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Value: usize, #[cfg(feature = "deprecated")] - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetValue: usize, #[cfg(feature = "deprecated")] @@ -323,7 +323,7 @@ impl windows_core::RuntimeType for IWalletItemCustomPropertyFactory { pub struct IWalletItemCustomPropertyFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub CreateWalletItemCustomProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWalletItemCustomProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateWalletItemCustomProperty: usize, } @@ -338,7 +338,7 @@ impl windows_core::RuntimeType for IWalletItemFactory { pub struct IWalletItemFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub CreateWalletItem: unsafe extern "system" fn(*mut core::ffi::c_void, WalletItemKind, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWalletItem: unsafe extern "system" fn(*mut core::ffi::c_void, WalletItemKind, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateWalletItem: usize, } @@ -353,7 +353,7 @@ impl windows_core::RuntimeType for IWalletItemStore { pub struct IWalletItemStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub AddAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] AddAsync: usize, #[cfg(feature = "deprecated")] @@ -361,7 +361,7 @@ pub struct IWalletItemStore_Vtbl { #[cfg(not(feature = "deprecated"))] ClearAsync: usize, #[cfg(feature = "deprecated")] - pub GetWalletItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetWalletItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] GetWalletItemAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] @@ -377,7 +377,7 @@ pub struct IWalletItemStore_Vtbl { #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] ImportItemAsync: usize, #[cfg(feature = "deprecated")] - pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DeleteAsync: usize, #[cfg(feature = "deprecated")] @@ -385,7 +385,7 @@ pub struct IWalletItemStore_Vtbl { #[cfg(not(feature = "deprecated"))] ShowAsync: usize, #[cfg(feature = "deprecated")] - pub ShowItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShowItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ShowItemAsync: usize, #[cfg(feature = "deprecated")] @@ -446,11 +446,11 @@ pub struct IWalletRelevantLocation_Vtbl { #[cfg(not(all(feature = "Devices_Geolocation", feature = "deprecated")))] SetPosition: usize, #[cfg(feature = "deprecated")] - pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DisplayMessage: usize, #[cfg(feature = "deprecated")] - pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetDisplayMessage: usize, } @@ -465,19 +465,19 @@ impl windows_core::RuntimeType for IWalletTransaction { pub struct IWalletTransaction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Description: usize, #[cfg(feature = "deprecated")] - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetDescription: usize, #[cfg(feature = "deprecated")] - pub DisplayAmount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayAmount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DisplayAmount: usize, #[cfg(feature = "deprecated")] - pub SetDisplayAmount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayAmount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetDisplayAmount: usize, #[cfg(feature = "deprecated")] @@ -489,11 +489,11 @@ pub struct IWalletTransaction_Vtbl { #[cfg(not(feature = "deprecated"))] SetIgnoreTimeOfDay: usize, #[cfg(feature = "deprecated")] - pub DisplayLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DisplayLocation: usize, #[cfg(feature = "deprecated")] - pub SetDisplayLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetDisplayLocation: usize, #[cfg(feature = "deprecated")] @@ -524,11 +524,11 @@ impl windows_core::RuntimeType for IWalletVerb { pub struct IWalletVerb_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Name: usize, #[cfg(feature = "deprecated")] - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetName: usize, } @@ -543,7 +543,7 @@ impl windows_core::RuntimeType for IWalletVerbFactory { pub struct IWalletVerbFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub CreateWalletVerb: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWalletVerb: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateWalletVerb: usize, } @@ -559,7 +559,7 @@ impl WalletBarcode { pub fn Symbology(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Symbology)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -567,7 +567,7 @@ impl WalletBarcode { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -575,14 +575,14 @@ impl WalletBarcode { pub fn GetImageAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetImageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "deprecated")] pub fn CreateWalletBarcode(symbology: WalletBarcodeSymbology, value: &windows_core::HSTRING) -> windows_core::Result { Self::IWalletBarcodeFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWalletBarcode)(windows_core::Interface::as_raw(this), symbology, core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -592,7 +592,7 @@ impl WalletBarcode { P0: windows_core::Param, { Self::IWalletBarcodeFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCustomWalletBarcode)(windows_core::Interface::as_raw(this), streamtobarcodeimage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -632,7 +632,7 @@ impl WalletItem { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -645,7 +645,7 @@ impl WalletItem { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -653,7 +653,7 @@ impl WalletItem { pub fn IsAcknowledged(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAcknowledged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -666,7 +666,7 @@ impl WalletItem { pub fn IssuerDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IssuerDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -679,7 +679,7 @@ impl WalletItem { pub fn LastUpdated(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastUpdated)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -695,7 +695,7 @@ impl WalletItem { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -703,7 +703,7 @@ impl WalletItem { pub fn Barcode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Barcode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -719,7 +719,7 @@ impl WalletItem { pub fn ExpirationDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -735,7 +735,7 @@ impl WalletItem { pub fn Logo159x159(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Logo159x159)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -751,7 +751,7 @@ impl WalletItem { pub fn Logo336x336(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Logo336x336)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -767,7 +767,7 @@ impl WalletItem { pub fn Logo99x99(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Logo99x99)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -783,7 +783,7 @@ impl WalletItem { pub fn DisplayMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -796,7 +796,7 @@ impl WalletItem { pub fn IsDisplayMessageLaunchable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisplayMessageLaunchable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -809,7 +809,7 @@ impl WalletItem { pub fn LogoText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogoText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -822,7 +822,7 @@ impl WalletItem { pub fn HeaderColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -835,7 +835,7 @@ impl WalletItem { pub fn BodyColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BodyColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -848,7 +848,7 @@ impl WalletItem { pub fn HeaderFontColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderFontColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -861,7 +861,7 @@ impl WalletItem { pub fn BodyFontColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BodyFontColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -874,7 +874,7 @@ impl WalletItem { pub fn HeaderBackgroundImage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderBackgroundImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -890,7 +890,7 @@ impl WalletItem { pub fn BodyBackgroundImage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BodyBackgroundImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -906,7 +906,7 @@ impl WalletItem { pub fn LogoImage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogoImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -922,7 +922,7 @@ impl WalletItem { pub fn PromotionalImage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PromotionalImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -938,7 +938,7 @@ impl WalletItem { pub fn RelevantDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelevantDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -954,7 +954,7 @@ impl WalletItem { pub fn RelevantDateDisplayMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelevantDateDisplayMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -967,7 +967,7 @@ impl WalletItem { pub fn TransactionHistory(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransactionHistory)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -975,7 +975,7 @@ impl WalletItem { pub fn RelevantLocations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelevantLocations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -983,7 +983,7 @@ impl WalletItem { pub fn IsMoreTransactionHistoryLaunchable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMoreTransactionHistoryLaunchable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -996,7 +996,7 @@ impl WalletItem { pub fn DisplayProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1004,14 +1004,14 @@ impl WalletItem { pub fn Verbs(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verbs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "deprecated")] pub fn CreateWalletItem(kind: WalletItemKind, displayname: &windows_core::HSTRING) -> windows_core::Result { Self::IWalletItemFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWalletItem)(windows_core::Interface::as_raw(this), kind, core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1051,7 +1051,7 @@ impl WalletItemCustomProperty { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1064,7 +1064,7 @@ impl WalletItemCustomProperty { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1077,7 +1077,7 @@ impl WalletItemCustomProperty { pub fn AutoDetectLinks(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoDetectLinks)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1090,7 +1090,7 @@ impl WalletItemCustomProperty { pub fn DetailViewPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetailViewPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1103,7 +1103,7 @@ impl WalletItemCustomProperty { pub fn SummaryViewPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SummaryViewPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1115,7 +1115,7 @@ impl WalletItemCustomProperty { #[cfg(feature = "deprecated")] pub fn CreateWalletItemCustomProperty(name: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { Self::IWalletItemCustomPropertyFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWalletItemCustomProperty)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1158,7 +1158,7 @@ impl WalletItemStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1166,7 +1166,7 @@ impl WalletItemStore { pub fn ClearAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1174,7 +1174,7 @@ impl WalletItemStore { pub fn GetWalletItemAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWalletItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1182,7 +1182,7 @@ impl WalletItemStore { pub fn GetItemsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1190,7 +1190,7 @@ impl WalletItemStore { pub fn GetItemsWithKindAsync(&self, kind: WalletItemKind) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsWithKindAsync)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1201,7 +1201,7 @@ impl WalletItemStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportItemAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1209,7 +1209,7 @@ impl WalletItemStore { pub fn DeleteAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1217,7 +1217,7 @@ impl WalletItemStore { pub fn ShowAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1225,7 +1225,7 @@ impl WalletItemStore { pub fn ShowItemAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1236,7 +1236,7 @@ impl WalletItemStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateAsync)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1265,7 +1265,7 @@ impl WalletManager { #[cfg(feature = "deprecated")] pub fn RequestStoreAsync() -> windows_core::Result> { Self::IWalletManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1299,7 +1299,7 @@ impl WalletRelevantLocation { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1312,7 +1312,7 @@ impl WalletRelevantLocation { pub fn DisplayMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1358,7 +1358,7 @@ impl WalletTransaction { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1371,7 +1371,7 @@ impl WalletTransaction { pub fn DisplayAmount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayAmount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1384,7 +1384,7 @@ impl WalletTransaction { pub fn IgnoreTimeOfDay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnoreTimeOfDay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1397,7 +1397,7 @@ impl WalletTransaction { pub fn DisplayLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1410,7 +1410,7 @@ impl WalletTransaction { pub fn TransactionDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransactionDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1426,7 +1426,7 @@ impl WalletTransaction { pub fn IsLaunchable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLaunchable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1465,7 +1465,7 @@ impl WalletVerb { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1477,7 +1477,7 @@ impl WalletVerb { #[cfg(feature = "deprecated")] pub fn CreateWalletVerb(name: &windows_core::HSTRING) -> windows_core::Result { Self::IWalletVerbFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWalletVerb)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index 8eefc6125c..208d7ae5c8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -55,8 +55,8 @@ impl windows_core::RuntimeType for IAppDisplayInfo { #[repr(C)] pub struct IAppDisplayInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetLogo: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::Size, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -69,10 +69,10 @@ impl windows_core::RuntimeType for IAppInfo { #[repr(C)] pub struct IAppInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DisplayInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppInfo2, IAppInfo2_Vtbl, 0xbe4b1f5a_2098_431b_bd25_b30878748d47); impl windows_core::RuntimeType for IAppInfo2 { @@ -99,7 +99,7 @@ impl windows_core::RuntimeType for IAppInfo4 { #[repr(C)] pub struct IAppInfo4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SupportedFileExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SupportedFileExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppInfoStatics, IAppInfoStatics_Vtbl, 0xcf1f782a_e48b_4f0c_9b0b_79c3f8957dd7); impl windows_core::RuntimeType for IAppInfoStatics { @@ -109,9 +109,9 @@ impl windows_core::RuntimeType for IAppInfoStatics { pub struct IAppInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Current: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFromAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFromAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] - pub GetFromAppUserModelIdForUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFromAppUserModelIdForUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] GetFromAppUserModelIdForUser: usize, } @@ -166,7 +166,7 @@ impl windows_core::RuntimeType for IAppInstance { #[repr(C)] pub struct IAppInstance_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCurrentInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub RedirectActivationTo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -182,7 +182,7 @@ pub struct IAppInstanceStatics_Vtbl { pub GetActivatedEventArgs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_Activation"))] GetActivatedEventArgs: usize, - pub FindOrRegisterInstanceForKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindOrRegisterInstanceForKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -220,7 +220,7 @@ windows_core::imp::define_interface!(IEnteredBackgroundEventArgs, IEnteredBackgr impl std::ops::Deref for IEnteredBackgroundEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnteredBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -228,7 +228,7 @@ impl IEnteredBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -286,9 +286,9 @@ impl windows_core::RuntimeType for IFullTrustProcessLauncherStatics { pub struct IFullTrustProcessLauncherStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LaunchFullTrustProcessForCurrentAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchFullTrustProcessForCurrentAppWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchFullTrustProcessForAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchFullTrustProcessForAppWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFullTrustProcessForCurrentAppWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFullTrustProcessForAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFullTrustProcessForAppWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFullTrustProcessLauncherStatics2, IFullTrustProcessLauncherStatics2_Vtbl, 0x8b8ed72f_b65c_56cf_a1a7_2bf77cbc6ea8); impl windows_core::RuntimeType for IFullTrustProcessLauncherStatics2 { @@ -297,14 +297,14 @@ impl windows_core::RuntimeType for IFullTrustProcessLauncherStatics2 { #[repr(C)] pub struct IFullTrustProcessLauncherStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LaunchFullTrustProcessForCurrentAppWithArgumentsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchFullTrustProcessForAppWithArgumentsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFullTrustProcessForCurrentAppWithArgumentsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFullTrustProcessForAppWithArgumentsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILeavingBackgroundEventArgs, ILeavingBackgroundEventArgs_Vtbl, 0x39c6ec9a_ae6e_46f9_a07a_cfc23f88733e); impl std::ops::Deref for ILeavingBackgroundEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILeavingBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -312,7 +312,7 @@ impl ILeavingBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -332,7 +332,7 @@ impl windows_core::RuntimeType for ILimitedAccessFeatureRequestResult { #[repr(C)] pub struct ILimitedAccessFeatureRequestResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FeatureId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeatureId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LimitedAccessFeatureStatus) -> windows_core::HRESULT, pub EstimatedRemovalDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -343,7 +343,7 @@ impl windows_core::RuntimeType for ILimitedAccessFeaturesStatics { #[repr(C)] pub struct ILimitedAccessFeaturesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TryUnlockFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryUnlockFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackage, IPackage_Vtbl, 0x163c792f_bd75_413c_bf23_b1fe7b95d825); impl windows_core::RuntimeType for IPackage { @@ -370,9 +370,9 @@ impl windows_core::RuntimeType for IPackage2 { #[repr(C)] pub struct IPackage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublisherDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublisherDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsResourcePackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsBundle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -414,7 +414,7 @@ pub struct IPackage5_Vtbl { pub GetContentGroupsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetContentGroupsAsync: usize, - pub GetContentGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetContentGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub StageContentGroupsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -470,12 +470,12 @@ pub struct IPackage8_Vtbl { pub UserExternalLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] UserExternalLocation: usize, - pub InstalledPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MutablePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EffectivePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EffectiveExternalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MachineExternalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserExternalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstalledPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MutablePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EffectivePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EffectiveExternalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MachineExternalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserExternalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetLogoAsRandomAccessStreamReference: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::Size, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -497,7 +497,7 @@ pub struct IPackage9_Vtbl { pub FindRelatedPackages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindRelatedPackages: usize, - pub SourceUriSchemeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceUriSchemeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageCatalog, IPackageCatalog_Vtbl, 0x230a3751_9de3_4445_be74_91fb325abefe); impl windows_core::RuntimeType for IPackageCatalog { @@ -526,7 +526,7 @@ pub struct IPackageCatalog2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PackageContentGroupStaging: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePackageContentGroupStaging: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub AddOptionalPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddOptionalPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageCatalog3, IPackageCatalog3_Vtbl, 0x96dd5c88_8837_43f9_9015_033434ba14f3); impl windows_core::RuntimeType for IPackageCatalog3 { @@ -547,7 +547,7 @@ impl windows_core::RuntimeType for IPackageCatalog4 { #[repr(C)] pub struct IPackageCatalog4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddResourcePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, AddResourcePackageOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddResourcePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, AddResourcePackageOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub RemoveResourcePackagesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -614,7 +614,7 @@ windows_core::imp::define_interface!(IPackageCatalogStatics2, IPackageCatalogSta impl std::ops::Deref for IPackageCatalogStatics2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPackageCatalogStatics2, windows_core::IUnknown, windows_core::IInspectable); @@ -625,7 +625,7 @@ impl IPackageCatalogStatics2 { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenForPackage)(windows_core::Interface::as_raw(this), package.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -646,7 +646,7 @@ impl windows_core::RuntimeType for IPackageContentGroup { pub struct IPackageContentGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Package: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PackageContentGroupState) -> windows_core::HRESULT, pub IsRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -662,7 +662,7 @@ pub struct IPackageContentGroupStagingEventArgs_Vtbl { pub Progress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub IsComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - pub ContentGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsContentGroupRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageContentGroupStatics, IPackageContentGroupStatics_Vtbl, 0x70ee7619_5f12_4b92_b9ea_6ccada13bc75); @@ -672,7 +672,7 @@ impl windows_core::RuntimeType for IPackageContentGroupStatics { #[repr(C)] pub struct IPackageContentGroupStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequiredGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequiredGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageId, IPackageId_Vtbl, 0x1adb665e_37c7_4790_9980_dd7ae74e8bb2); impl windows_core::RuntimeType for IPackageId { @@ -681,17 +681,17 @@ impl windows_core::RuntimeType for IPackageId { #[repr(C)] pub struct IPackageId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PackageVersion) -> windows_core::HRESULT, #[cfg(feature = "System")] pub Architecture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::System::ProcessorArchitecture) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] Architecture: usize, - pub ResourceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublisherId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResourceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublisherId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageIdWithMetadata, IPackageIdWithMetadata_Vtbl, 0x40577a7c_0c9e_443d_9074_855f5ce0a08d); impl windows_core::RuntimeType for IPackageIdWithMetadata { @@ -700,8 +700,8 @@ impl windows_core::RuntimeType for IPackageIdWithMetadata { #[repr(C)] pub struct IPackageIdWithMetadata_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageInstallingEventArgs, IPackageInstallingEventArgs_Vtbl, 0x97741eb7_ab7a_401a_8b61_eb0e7faff237); impl windows_core::RuntimeType for IPackageInstallingEventArgs { @@ -821,9 +821,9 @@ impl windows_core::RuntimeType for IPackageWithMetadata { pub struct IPackageWithMetadata_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InstallDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::DateTime) -> windows_core::HRESULT, - pub GetThumbnailToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetThumbnailToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] - pub Launch: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Launch: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Launch: usize, } @@ -837,7 +837,7 @@ pub struct IStartupTask_Vtbl { pub RequestEnableAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Disable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StartupTaskState) -> windows_core::HRESULT, - pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStartupTaskStatics, IStartupTaskStatics_Vtbl, 0xee5b60bd_a148_41a7_b26e_e8b88a1e62f8); impl windows_core::RuntimeType for IStartupTaskStatics { @@ -850,13 +850,13 @@ pub struct IStartupTaskStatics_Vtbl { pub GetForCurrentPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetForCurrentPackageAsync: usize, - pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISuspendingDeferral, ISuspendingDeferral_Vtbl, 0x59140509_8bc9_4eb4_b636_dabdc4f46f66); impl std::ops::Deref for ISuspendingDeferral { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISuspendingDeferral, windows_core::IUnknown, windows_core::IInspectable); @@ -878,7 +878,7 @@ windows_core::imp::define_interface!(ISuspendingEventArgs, ISuspendingEventArgs_ impl std::ops::Deref for ISuspendingEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISuspendingEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -886,7 +886,7 @@ impl ISuspendingEventArgs { pub fn SuspendingOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuspendingOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -903,7 +903,7 @@ windows_core::imp::define_interface!(ISuspendingOperation, ISuspendingOperation_ impl std::ops::Deref for ISuspendingOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISuspendingOperation, windows_core::IUnknown, windows_core::IInspectable); @@ -911,14 +911,14 @@ impl ISuspendingOperation { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -940,14 +940,14 @@ impl AppDisplayInfo { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -955,7 +955,7 @@ impl AppDisplayInfo { pub fn GetLogo(&self, size: super::Foundation::Size) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLogo)(windows_core::Interface::as_raw(this), size, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -980,42 +980,42 @@ impl AppInfo { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppUserModelId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppUserModelId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Package(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExecutionContext(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecutionContext)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1023,18 +1023,18 @@ impl AppInfo { let this = &windows_core::Interface::cast::(self)?; unsafe { let mut result__ = core::mem::MaybeUninit::zeroed(); - (windows_core::Interface::vtable(this).SupportedFileExtensions)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).SupportedFileExtensions)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn Current() -> windows_core::Result { Self::IAppInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetFromAppUserModelId(appusermodelid: &windows_core::HSTRING) -> windows_core::Result { Self::IAppInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFromAppUserModelId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appusermodelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1044,7 +1044,7 @@ impl AppInfo { P0: windows_core::Param, { Self::IAppInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFromAppUserModelIdForUser)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(appusermodelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1074,77 +1074,77 @@ impl AppInstallerInfo { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OnLaunch(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OnLaunch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HoursBetweenUpdateChecks(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoursBetweenUpdateChecks)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ShowPrompt(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowPrompt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UpdateBlocksActivation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateBlocksActivation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AutomaticBackgroundTask(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomaticBackgroundTask)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ForceUpdateFromAnyVersion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceUpdateFromAnyVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAutoRepairEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAutoRepairEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Version(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastChecked(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChecked)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PausedUntil(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PausedUntil)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1152,7 +1152,7 @@ impl AppInstallerInfo { pub fn UpdateUris(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1160,7 +1160,7 @@ impl AppInstallerInfo { pub fn RepairUris(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RepairUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1168,7 +1168,7 @@ impl AppInstallerInfo { pub fn DependencyPackageUris(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DependencyPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1176,14 +1176,14 @@ impl AppInstallerInfo { pub fn OptionalPackageUris(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionalPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PolicySource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PolicySource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1208,14 +1208,14 @@ impl AppInstance { pub fn Key(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Key)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsCurrentInstance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCurrentInstance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1225,20 +1225,20 @@ impl AppInstance { } pub fn RecommendedInstance() -> windows_core::Result { Self::IAppInstanceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecommendedInstance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "ApplicationModel_Activation")] pub fn GetActivatedEventArgs() -> windows_core::Result { Self::IAppInstanceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetActivatedEventArgs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FindOrRegisterInstanceForKey(key: &windows_core::HSTRING) -> windows_core::Result { Self::IAppInstanceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindOrRegisterInstanceForKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1248,7 +1248,7 @@ impl AppInstance { #[cfg(feature = "Foundation_Collections")] pub fn GetInstances() -> windows_core::Result> { Self::IAppInstanceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInstances)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1288,13 +1288,13 @@ pub struct DesignMode; impl DesignMode { pub fn DesignModeEnabled() -> windows_core::Result { Self::IDesignModeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesignModeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DesignMode2Enabled() -> windows_core::Result { Self::IDesignModeStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesignMode2Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1321,7 +1321,7 @@ impl EnteredBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1346,7 +1346,7 @@ impl FindRelatedPackagesOptions { pub fn Relationship(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Relationship)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1357,7 +1357,7 @@ impl FindRelatedPackagesOptions { pub fn IncludeFrameworks(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeFrameworks)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1368,7 +1368,7 @@ impl FindRelatedPackagesOptions { pub fn IncludeHostRuntimes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeHostRuntimes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1379,7 +1379,7 @@ impl FindRelatedPackagesOptions { pub fn IncludeOptionals(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeOptionals)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1390,7 +1390,7 @@ impl FindRelatedPackagesOptions { pub fn IncludeResources(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeResources)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1400,7 +1400,7 @@ impl FindRelatedPackagesOptions { } pub fn CreateInstance(relationship: PackageRelationship) -> windows_core::Result { Self::IFindRelatedPackagesOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), relationship, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1430,14 +1430,14 @@ impl FullTrustProcessLaunchResult { pub fn LaunchResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchResult)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1458,37 +1458,37 @@ pub struct FullTrustProcessLauncher; impl FullTrustProcessLauncher { pub fn LaunchFullTrustProcessForCurrentAppAsync() -> windows_core::Result { Self::IFullTrustProcessLauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFullTrustProcessForCurrentAppAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LaunchFullTrustProcessForCurrentAppWithParametersAsync(parametergroupid: &windows_core::HSTRING) -> windows_core::Result { Self::IFullTrustProcessLauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFullTrustProcessForCurrentAppWithParametersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(parametergroupid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LaunchFullTrustProcessForAppAsync(fulltrustpackagerelativeappid: &windows_core::HSTRING) -> windows_core::Result { Self::IFullTrustProcessLauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFullTrustProcessForAppAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(fulltrustpackagerelativeappid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LaunchFullTrustProcessForAppWithParametersAsync(fulltrustpackagerelativeappid: &windows_core::HSTRING, parametergroupid: &windows_core::HSTRING) -> windows_core::Result { Self::IFullTrustProcessLauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFullTrustProcessForAppWithParametersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(fulltrustpackagerelativeappid), core::mem::transmute_copy(parametergroupid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LaunchFullTrustProcessForCurrentAppWithArgumentsAsync(commandline: &windows_core::HSTRING) -> windows_core::Result> { Self::IFullTrustProcessLauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFullTrustProcessForCurrentAppWithArgumentsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(commandline), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LaunchFullTrustProcessForAppWithArgumentsAsync(fulltrustpackagerelativeappid: &windows_core::HSTRING, commandline: &windows_core::HSTRING) -> windows_core::Result> { Self::IFullTrustProcessLauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFullTrustProcessForAppWithArgumentsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(fulltrustpackagerelativeappid), core::mem::transmute_copy(commandline), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1515,7 +1515,7 @@ impl LeavingBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1540,21 +1540,21 @@ impl LimitedAccessFeatureRequestResult { pub fn FeatureId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FeatureId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EstimatedRemovalDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EstimatedRemovalDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1575,7 +1575,7 @@ pub struct LimitedAccessFeatures; impl LimitedAccessFeatures { pub fn TryUnlockFeature(featureid: &windows_core::HSTRING, token: &windows_core::HSTRING, attestation: &windows_core::HSTRING) -> windows_core::Result { Self::ILimitedAccessFeaturesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUnlockFeature)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(featureid), core::mem::transmute_copy(token), core::mem::transmute_copy(attestation), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1596,7 +1596,7 @@ impl Package { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1604,14 +1604,14 @@ impl Package { pub fn InstalledLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstalledLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsFramework(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFramework)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1619,70 +1619,70 @@ impl Package { pub fn Dependencies(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dependencies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublisherDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublisherDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Logo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsResourcePackage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsResourcePackage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBundle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBundle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDevelopmentMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDevelopmentMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstalledDate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstalledDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1690,28 +1690,28 @@ impl Package { pub fn GetAppListEntriesAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppListEntriesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignatureKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignatureKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOptional(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOptional)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VerifyContentIntegrityAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerifyContentIntegrityAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1719,14 +1719,14 @@ impl Package { pub fn GetContentGroupsAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContentGroupsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContentGroupAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContentGroupAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1737,7 +1737,7 @@ impl Package { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StageContentGroupsAsync)(windows_core::Interface::as_raw(this), names.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1748,28 +1748,28 @@ impl Package { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StageContentGroupsWithPriorityAsync)(windows_core::Interface::as_raw(this), names.param().abi(), movetoheadofqueue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetInUseAsync(&self, inuse: bool) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetInUseAsync)(windows_core::Interface::as_raw(this), inuse, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAppInstallerInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppInstallerInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckUpdateAvailabilityAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckUpdateAvailabilityAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1777,7 +1777,7 @@ impl Package { pub fn MutableLocation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MutableLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1785,7 +1785,7 @@ impl Package { pub fn EffectiveLocation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectiveLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1793,7 +1793,7 @@ impl Package { pub fn EffectiveExternalLocation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectiveExternalLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1801,7 +1801,7 @@ impl Package { pub fn MachineExternalLocation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MachineExternalLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1809,49 +1809,49 @@ impl Package { pub fn UserExternalLocation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserExternalLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstalledPath(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstalledPath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MutablePath(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MutablePath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EffectivePath(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectivePath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EffectiveExternalPath(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectiveExternalPath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MachineExternalPath(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MachineExternalPath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserExternalPath(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserExternalPath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1859,7 +1859,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLogoAsRandomAccessStreamReference)(windows_core::Interface::as_raw(this), size, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1867,14 +1867,14 @@ impl Package { pub fn GetAppListEntries(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppListEntries)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsStub(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStub)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1885,34 +1885,34 @@ impl Package { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindRelatedPackages)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceUriSchemeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceUriSchemeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Current() -> windows_core::Result { Self::IPackageStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn InstallDate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetThumbnailToken(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1950,7 +1950,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageStaging)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1964,7 +1964,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageInstalling)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1978,7 +1978,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageUpdating)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1992,7 +1992,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageUninstalling)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2006,7 +2006,7 @@ impl PackageCatalog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2020,7 +2020,7 @@ impl PackageCatalog { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageContentGroupStaging)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2031,7 +2031,7 @@ impl PackageCatalog { pub fn AddOptionalPackageAsync(&self, optionalpackagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddOptionalPackageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(optionalpackagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2042,14 +2042,14 @@ impl PackageCatalog { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveOptionalPackagesAsync)(windows_core::Interface::as_raw(this), optionalpackagefamilynames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AddResourcePackageAsync(&self, resourcepackagefamilyname: &windows_core::HSTRING, resourceid: &windows_core::HSTRING, options: AddResourcePackageOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddResourcePackageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(resourcepackagefamilyname), core::mem::transmute_copy(resourceid), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2060,19 +2060,19 @@ impl PackageCatalog { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveResourcePackagesAsync)(windows_core::Interface::as_raw(this), resourcepackages.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenForCurrentPackage() -> windows_core::Result { Self::IPackageCatalogStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenForCurrentPackage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OpenForCurrentUser() -> windows_core::Result { Self::IPackageCatalogStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenForCurrentUser)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2081,7 +2081,7 @@ impl PackageCatalog { P0: windows_core::Param, { Self::IPackageCatalogStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenForPackage)(windows_core::Interface::as_raw(this), package.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2114,14 +2114,14 @@ impl PackageCatalogAddOptionalPackageResult { pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2144,21 +2144,21 @@ impl PackageCatalogAddResourcePackageResult { pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsComplete(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComplete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2184,14 +2184,14 @@ impl PackageCatalogRemoveOptionalPackagesResult { pub fn PackagesRemoved(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackagesRemoved)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2215,14 +2215,14 @@ impl PackageCatalogRemoveResourcePackagesResult { pub fn PackagesRemoved(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackagesRemoved)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2247,34 +2247,34 @@ impl PackageContentGroup { pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRequired(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequiredGroupName() -> windows_core::Result { Self::IPackageContentGroupStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequiredGroupName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2304,49 +2304,49 @@ impl PackageContentGroupStagingEventArgs { pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsComplete(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComplete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContentGroupName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentGroupName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsContentGroupRequired(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsContentGroupRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2371,14 +2371,14 @@ impl PackageId { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2386,56 +2386,56 @@ impl PackageId { pub fn Architecture(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Architecture)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResourceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Publisher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Publisher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublisherId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublisherId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FullName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FullName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProductId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProductId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Author(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Author)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2460,35 +2460,35 @@ impl PackageInstallingEventArgs { pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsComplete(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComplete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2513,35 +2513,35 @@ impl PackageStagingEventArgs { pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsComplete(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComplete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2566,91 +2566,91 @@ impl PackageStatus { pub fn VerifyIsOK(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerifyIsOK)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NotAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PackageOffline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageOffline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DataOffline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataOffline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Disabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Disabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NeedsRemediation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeedsRemediation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LicenseIssue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseIssue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Modified(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Modified)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Tampered(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tampered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DependencyIssue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DependencyIssue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Servicing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Servicing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeploymentInProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeploymentInProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPartiallyStaged(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPartiallyStaged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2675,7 +2675,7 @@ impl PackageStatusChangedEventArgs { pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2700,35 +2700,35 @@ impl PackageUninstallingEventArgs { pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsComplete(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComplete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2753,14 +2753,14 @@ impl PackageUpdateAvailabilityResult { pub fn Availability(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Availability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2785,42 +2785,42 @@ impl PackageUpdatingEventArgs { pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SourcePackage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourcePackage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TargetPackage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetPackage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsComplete(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComplete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2845,7 +2845,7 @@ impl StartupTask { pub fn RequestEnableAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestEnableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2856,27 +2856,27 @@ impl StartupTask { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn GetForCurrentPackageAsync() -> windows_core::Result>> { Self::IStartupTaskStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentPackageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetAsync(taskid: &windows_core::HSTRING) -> windows_core::Result> { Self::IStartupTaskStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(taskid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2930,7 +2930,7 @@ impl SuspendingEventArgs { pub fn SuspendingOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuspendingOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2956,14 +2956,14 @@ impl SuspendingOperation { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Data/Html/mod.rs b/crates/libs/windows/src/Windows/Data/Html/mod.rs index 74b05502c1..f7cd7eae5a 100644 --- a/crates/libs/windows/src/Windows/Data/Html/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Html/mod.rs @@ -5,13 +5,13 @@ impl windows_core::RuntimeType for IHtmlUtilities { #[repr(C)] pub struct IHtmlUtilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ConvertToText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConvertToText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub struct HtmlUtilities; impl HtmlUtilities { pub fn ConvertToText(html: &windows_core::HSTRING) -> windows_core::Result { Self::IHtmlUtilities(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertToText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(html), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Data/Json/impl.rs b/crates/libs/windows/src/Windows/Data/Json/impl.rs index ea7e8c9594..94df801cb5 100644 --- a/crates/libs/windows/src/Windows/Data/Json/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Json/impl.rs @@ -23,7 +23,7 @@ impl IJsonValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Stringify, Impl: IJsonValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Stringify, Impl: IJsonValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IJsonValue_Impl::Stringify(this) { @@ -35,7 +35,7 @@ impl IJsonValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetString, Impl: IJsonValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetString, Impl: IJsonValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IJsonValue_Impl::GetString(this) { diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index 4646f1505b..9ed239ada6 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -7,7 +7,7 @@ pub struct IJsonArray_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetObjectAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetArrayAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetStringAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNumberAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f64) -> windows_core::HRESULT, pub GetBooleanAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut bool) -> windows_core::HRESULT, } @@ -18,8 +18,8 @@ impl windows_core::RuntimeType for IJsonArrayStatics { #[repr(C)] pub struct IJsonArrayStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsonErrorStatics2, IJsonErrorStatics2_Vtbl, 0x404030da_87d0_436c_83ab_fc7b12c0cc26); impl windows_core::RuntimeType for IJsonErrorStatics2 { @@ -37,13 +37,13 @@ impl windows_core::RuntimeType for IJsonObject { #[repr(C)] pub struct IJsonObject_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetNamedValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetNamedValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNamedObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNamedArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNamedString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetNamedNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut f64) -> windows_core::HRESULT, - pub GetNamedBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub GetNamedValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetNamedValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNamedObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNamedArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNamedString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNamedNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut f64) -> windows_core::HRESULT, + pub GetNamedBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsonObjectStatics, IJsonObjectStatics_Vtbl, 0x2289f159_54de_45d8_abcc_22603fa066a0); impl windows_core::RuntimeType for IJsonObjectStatics { @@ -52,8 +52,8 @@ impl windows_core::RuntimeType for IJsonObjectStatics { #[repr(C)] pub struct IJsonObjectStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsonObjectWithDefaultValues, IJsonObjectWithDefaultValues_Vtbl, 0xd960d2a2_b7f0_4f00_8e44_d82cf415ea13); impl windows_core::RuntimeType for IJsonObjectWithDefaultValues { @@ -62,18 +62,18 @@ impl windows_core::RuntimeType for IJsonObjectWithDefaultValues { #[repr(C)] pub struct IJsonObjectWithDefaultValues_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetNamedValueOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNamedObjectOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNamedStringOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetNamedArrayOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNamedNumberOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64, *mut f64) -> windows_core::HRESULT, - pub GetNamedBooleanOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut bool) -> windows_core::HRESULT, + pub GetNamedValueOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNamedObjectOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNamedStringOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNamedArrayOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNamedNumberOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64, *mut f64) -> windows_core::HRESULT, + pub GetNamedBooleanOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsonValue, IJsonValue_Vtbl, 0xa3219ecb_f0b3_4dcd_beee_19d48cd3ed1e); impl std::ops::Deref for IJsonValue { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJsonValue, windows_core::IUnknown, windows_core::IInspectable); @@ -81,49 +81,49 @@ impl IJsonValue { pub fn ValueType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Stringify(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stringify)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetArray(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetObject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetObject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -135,8 +135,8 @@ impl windows_core::RuntimeType for IJsonValue { pub struct IJsonValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ValueType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut JsonValueType) -> windows_core::HRESULT, - pub Stringify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Stringify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub GetBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub GetArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -149,11 +149,11 @@ impl windows_core::RuntimeType for IJsonValueStatics { #[repr(C)] pub struct IJsonValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CreateBooleanValue: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateNumberValue: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsonValueStatics2, IJsonValueStatics2_Vtbl, 0x1d9ecbe4_3fe8_4335_8392_93d8e36865f0); impl windows_core::RuntimeType for IJsonValueStatics2 { @@ -182,110 +182,110 @@ impl JsonArray { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetObjectAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetObjectAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetArrayAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetArrayAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetStringAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStringAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNumberAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumberAt)(windows_core::Interface::as_raw(this), index, &mut result__).map(|| result__) } } pub fn GetBooleanAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanAt)(windows_core::Interface::as_raw(this), index, &mut result__).map(|| result__) } } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IJsonArrayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, result: &mut Option) -> windows_core::Result { Self::IJsonArrayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), result as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ValueType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Stringify(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stringify)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNumber(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetArray(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetObject(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetObject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -293,7 +293,7 @@ impl JsonArray { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -301,7 +301,7 @@ impl JsonArray { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -309,7 +309,7 @@ impl JsonArray { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -320,7 +320,7 @@ impl JsonArray { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -367,7 +367,7 @@ impl JsonArray { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -414,7 +414,7 @@ pub struct JsonError; impl JsonError { pub fn GetJsonStatus(hresult: i32) -> windows_core::Result { Self::IJsonErrorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetJsonStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } @@ -445,14 +445,14 @@ impl JsonObject { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNamedValue(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -466,47 +466,47 @@ impl JsonObject { pub fn GetNamedObject(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedObject)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNamedArray(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedArray)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNamedString(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNamedNumber(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedNumber)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).map(|| result__) } } pub fn GetNamedBoolean(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedBoolean)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).map(|| result__) } } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IJsonObjectStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, result: &mut Option) -> windows_core::Result { Self::IJsonObjectStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), result as *mut _ as _, &mut result__).map(|| result__) }) } @@ -516,7 +516,7 @@ impl JsonObject { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedValueOrDefault)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), defaultvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -526,14 +526,14 @@ impl JsonObject { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedObjectOrDefault)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), defaultvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNamedStringOrDefault(&self, name: &windows_core::HSTRING, defaultvalue: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedStringOrDefault)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(defaultvalue), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -543,70 +543,70 @@ impl JsonObject { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedArrayOrDefault)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), defaultvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNamedNumberOrDefault(&self, name: &windows_core::HSTRING, defaultvalue: f64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedNumberOrDefault)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), defaultvalue, &mut result__).map(|| result__) } } pub fn GetNamedBooleanOrDefault(&self, name: &windows_core::HSTRING, defaultvalue: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedBooleanOrDefault)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), defaultvalue, &mut result__).map(|| result__) } } pub fn ValueType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Stringify(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stringify)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNumber(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetArray(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetObject(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetObject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -614,7 +614,7 @@ impl JsonObject { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -622,7 +622,7 @@ impl JsonObject { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -630,7 +630,7 @@ impl JsonObject { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -638,7 +638,7 @@ impl JsonObject { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -649,7 +649,7 @@ impl JsonObject { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -666,7 +666,7 @@ impl JsonObject { pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -713,92 +713,92 @@ impl JsonValue { pub fn ValueType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Stringify(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stringify)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetArray(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetObject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetObject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, result: &mut Option) -> windows_core::Result { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), result as *mut _ as _, &mut result__).map(|| result__) }) } pub fn CreateBooleanValue(input: bool) -> windows_core::Result { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBooleanValue)(windows_core::Interface::as_raw(this), input, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateNumberValue(input: f64) -> windows_core::Result { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNumberValue)(windows_core::Interface::as_raw(this), input, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateStringValue(input: &windows_core::HSTRING) -> windows_core::Result { Self::IJsonValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStringValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateNullValue() -> windows_core::Result { Self::IJsonValueStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNullValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs index 3b456633d6..4e38b14c1b 100644 --- a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs @@ -21,7 +21,7 @@ pub struct IPdfDocumentStatics_Vtbl { #[cfg(not(feature = "Storage"))] LoadFromFileAsync: usize, #[cfg(feature = "Storage")] - pub LoadFromFileWithPasswordAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LoadFromFileWithPasswordAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] LoadFromFileWithPasswordAsync: usize, #[cfg(feature = "Storage_Streams")] @@ -29,7 +29,7 @@ pub struct IPdfDocumentStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] LoadFromStreamAsync: usize, #[cfg(feature = "Storage_Streams")] - pub LoadFromStreamWithPasswordAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LoadFromStreamWithPasswordAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] LoadFromStreamWithPasswordAsync: usize, } @@ -102,21 +102,21 @@ impl PdfDocument { pub fn GetPage(&self, pageindex: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPage)(windows_core::Interface::as_raw(this), pageindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPasswordProtected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPasswordProtected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -126,7 +126,7 @@ impl PdfDocument { P0: windows_core::Param, { Self::IPdfDocumentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -136,7 +136,7 @@ impl PdfDocument { P0: windows_core::Param, { Self::IPdfDocumentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromFileWithPasswordAsync)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(password), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -146,7 +146,7 @@ impl PdfDocument { P0: windows_core::Param, { Self::IPdfDocumentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromStreamAsync)(windows_core::Interface::as_raw(this), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -156,7 +156,7 @@ impl PdfDocument { P0: windows_core::Param, { Self::IPdfDocumentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromStreamWithPasswordAsync)(windows_core::Interface::as_raw(this), inputstream.param().abi(), core::mem::transmute_copy(password), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -195,7 +195,7 @@ impl PdfPage { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderToStreamAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -207,49 +207,49 @@ impl PdfPage { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderWithOptionsToStreamAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreparePageAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreparePageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Index(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Index)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Dimensions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dimensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Rotation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rotation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PreferredZoom(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredZoom)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -274,35 +274,35 @@ impl PdfPageDimensions { pub fn MediaBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaBox)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CropBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CropBox)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BleedBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BleedBox)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrimBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimBox)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ArtBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ArtBox)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -334,7 +334,7 @@ impl PdfPageRenderOptions { pub fn SourceRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -345,7 +345,7 @@ impl PdfPageRenderOptions { pub fn DestinationWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DestinationWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -356,7 +356,7 @@ impl PdfPageRenderOptions { pub fn DestinationHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DestinationHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -368,7 +368,7 @@ impl PdfPageRenderOptions { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -380,7 +380,7 @@ impl PdfPageRenderOptions { pub fn IsIgnoringHighContrast(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIgnoringHighContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -391,7 +391,7 @@ impl PdfPageRenderOptions { pub fn BitmapEncoderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapEncoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Data/Text/mod.rs b/crates/libs/windows/src/Windows/Data/Text/mod.rs index de93b728c5..130edba48d 100644 --- a/crates/libs/windows/src/Windows/Data/Text/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Text/mod.rs @@ -6,7 +6,7 @@ impl windows_core::RuntimeType for IAlternateWordForm { pub struct IAlternateWordForm_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SourceTextSegment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TextSegment) -> windows_core::HRESULT, - pub AlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NormalizationFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AlternateNormalizationFormat) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISelectableWordSegment, ISelectableWordSegment_Vtbl, 0x916a4cb7_8aa7_4c78_b374_5dedb752e60b); @@ -16,7 +16,7 @@ impl windows_core::RuntimeType for ISelectableWordSegment { #[repr(C)] pub struct ISelectableWordSegment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SourceTextSegment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TextSegment) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISelectableWordsSegmenter, ISelectableWordsSegmenter_Vtbl, 0xf6dc31e7_4b13_45c5_8897_7d71269e085d); @@ -26,14 +26,14 @@ impl windows_core::RuntimeType for ISelectableWordsSegmenter { #[repr(C)] pub struct ISelectableWordsSegmenter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetTokenAt: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTokenAt: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub GetTokens: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTokens: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetTokens: usize, #[cfg(feature = "Foundation_Collections")] - pub Tokenize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Tokenize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Tokenize: usize, } @@ -44,7 +44,7 @@ impl windows_core::RuntimeType for ISelectableWordsSegmenterFactory { #[repr(C)] pub struct ISelectableWordsSegmenterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISemanticTextQuery, ISemanticTextQuery_Vtbl, 0x6a1cab51_1fb2_4909_80b8_35731a2b3e7f); impl windows_core::RuntimeType for ISemanticTextQuery { @@ -54,11 +54,11 @@ impl windows_core::RuntimeType for ISemanticTextQuery { pub struct ISemanticTextQuery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub Find: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Find: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Find: usize, #[cfg(feature = "Foundation_Collections")] - pub FindInProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindInProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindInProperty: usize, } @@ -69,8 +69,8 @@ impl windows_core::RuntimeType for ISemanticTextQueryFactory { #[repr(C)] pub struct ISemanticTextQueryFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextConversionGenerator, ITextConversionGenerator_Vtbl, 0x03606a5e_2aa9_4ab6_af8b_a562b63a8992); impl windows_core::RuntimeType for ITextConversionGenerator { @@ -79,14 +79,14 @@ impl windows_core::RuntimeType for ITextConversionGenerator { #[repr(C)] pub struct ITextConversionGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LanguageAvailableButNotInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub GetCandidatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCandidatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub GetCandidatesWithMaxCountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCandidatesWithMaxCountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesWithMaxCountAsync: usize, } @@ -97,7 +97,7 @@ impl windows_core::RuntimeType for ITextConversionGeneratorFactory { #[repr(C)] pub struct ITextConversionGeneratorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextPhoneme, ITextPhoneme_Vtbl, 0x9362a40a_9b7a_4569_94cf_d84f2f38cf9b); impl windows_core::RuntimeType for ITextPhoneme { @@ -106,8 +106,8 @@ impl windows_core::RuntimeType for ITextPhoneme { #[repr(C)] pub struct ITextPhoneme_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReadingText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadingText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextPredictionGenerator, ITextPredictionGenerator_Vtbl, 0x5eacab07_abf1_4cb6_9d9e_326f2b468756); impl windows_core::RuntimeType for ITextPredictionGenerator { @@ -116,14 +116,14 @@ impl windows_core::RuntimeType for ITextPredictionGenerator { #[repr(C)] pub struct ITextPredictionGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LanguageAvailableButNotInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub GetCandidatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCandidatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub GetCandidatesWithMaxCountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCandidatesWithMaxCountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesWithMaxCountAsync: usize, } @@ -135,7 +135,7 @@ impl windows_core::RuntimeType for ITextPredictionGenerator2 { pub struct ITextPredictionGenerator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub GetCandidatesWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, TextPredictionOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCandidatesWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, TextPredictionOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesWithParametersAsync: usize, #[cfg(feature = "Foundation_Collections")] @@ -158,7 +158,7 @@ impl windows_core::RuntimeType for ITextPredictionGeneratorFactory { #[repr(C)] pub struct ITextPredictionGeneratorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextReverseConversionGenerator, ITextReverseConversionGenerator_Vtbl, 0x51e7f514_9c51_4d86_ae1b_b498fbad8313); impl windows_core::RuntimeType for ITextReverseConversionGenerator { @@ -167,9 +167,9 @@ impl windows_core::RuntimeType for ITextReverseConversionGenerator { #[repr(C)] pub struct ITextReverseConversionGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LanguageAvailableButNotInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub ConvertBackAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConvertBackAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextReverseConversionGenerator2, ITextReverseConversionGenerator2_Vtbl, 0x1aafd2ec_85d6_46fd_828a_3a4830fa6e18); impl windows_core::RuntimeType for ITextReverseConversionGenerator2 { @@ -179,7 +179,7 @@ impl windows_core::RuntimeType for ITextReverseConversionGenerator2 { pub struct ITextReverseConversionGenerator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub GetPhonemesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPhonemesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetPhonemesAsync: usize, } @@ -190,7 +190,7 @@ impl windows_core::RuntimeType for ITextReverseConversionGeneratorFactory { #[repr(C)] pub struct ITextReverseConversionGeneratorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUnicodeCharactersStatics, IUnicodeCharactersStatics_Vtbl, 0x97909e87_9291_4f91_b6c8_b6e359d7a7fb); impl windows_core::RuntimeType for IUnicodeCharactersStatics { @@ -224,7 +224,7 @@ impl windows_core::RuntimeType for IWordSegment { #[repr(C)] pub struct IWordSegment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SourceTextSegment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TextSegment) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AlternateForms: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -238,14 +238,14 @@ impl windows_core::RuntimeType for IWordsSegmenter { #[repr(C)] pub struct IWordsSegmenter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetTokenAt: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTokenAt: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub GetTokens: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTokens: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetTokens: usize, #[cfg(feature = "Foundation_Collections")] - pub Tokenize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Tokenize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Tokenize: usize, } @@ -256,7 +256,7 @@ impl windows_core::RuntimeType for IWordsSegmenterFactory { #[repr(C)] pub struct IWordsSegmenterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -266,21 +266,21 @@ impl AlternateWordForm { pub fn SourceTextSegment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceTextSegment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AlternateText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NormalizationFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalizationFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -305,14 +305,14 @@ impl SelectableWordSegment { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceTextSegment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceTextSegment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -337,14 +337,14 @@ impl SelectableWordsSegmenter { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetTokenAt(&self, text: &windows_core::HSTRING, startindex: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTokenAt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), startindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -352,7 +352,7 @@ impl SelectableWordsSegmenter { pub fn GetTokens(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTokens)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -366,7 +366,7 @@ impl SelectableWordsSegmenter { } pub fn CreateWithLanguage(language: &windows_core::HSTRING) -> windows_core::Result { Self::ISelectableWordsSegmenterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(language), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -397,7 +397,7 @@ impl SemanticTextQuery { pub fn Find(&self, content: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Find)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(content), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -405,19 +405,19 @@ impl SemanticTextQuery { pub fn FindInProperty(&self, propertycontent: &windows_core::HSTRING, propertyname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindInProperty)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertycontent), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(aqsfilter: &windows_core::HSTRING) -> windows_core::Result { Self::ISemanticTextQueryFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithLanguage(aqsfilter: &windows_core::HSTRING, filterlanguage: &windows_core::HSTRING) -> windows_core::Result { Self::ISemanticTextQueryFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), core::mem::transmute_copy(filterlanguage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -447,14 +447,14 @@ impl TextConversionGenerator { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LanguageAvailableButNotInstalled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LanguageAvailableButNotInstalled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -462,7 +462,7 @@ impl TextConversionGenerator { pub fn GetCandidatesAsync(&self, input: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCandidatesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -470,13 +470,13 @@ impl TextConversionGenerator { pub fn GetCandidatesWithMaxCountAsync(&self, input: &windows_core::HSTRING, maxcandidates: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCandidatesWithMaxCountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), maxcandidates, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(languagetag: &windows_core::HSTRING) -> windows_core::Result { Self::ITextConversionGeneratorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -506,14 +506,14 @@ impl TextPhoneme { pub fn DisplayText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadingText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -538,14 +538,14 @@ impl TextPredictionGenerator { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LanguageAvailableButNotInstalled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LanguageAvailableButNotInstalled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -553,7 +553,7 @@ impl TextPredictionGenerator { pub fn GetCandidatesAsync(&self, input: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCandidatesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -561,7 +561,7 @@ impl TextPredictionGenerator { pub fn GetCandidatesWithMaxCountAsync(&self, input: &windows_core::HSTRING, maxcandidates: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCandidatesWithMaxCountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), maxcandidates, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -572,7 +572,7 @@ impl TextPredictionGenerator { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCandidatesWithParametersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), maxcandidates, predictionoptions, previousstrings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -583,7 +583,7 @@ impl TextPredictionGenerator { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNextWordCandidatesAsync)(windows_core::Interface::as_raw(this), maxcandidates, previousstrings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -591,7 +591,7 @@ impl TextPredictionGenerator { pub fn InputScope(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputScope)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -602,7 +602,7 @@ impl TextPredictionGenerator { } pub fn Create(languagetag: &windows_core::HSTRING) -> windows_core::Result { Self::ITextPredictionGeneratorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -632,21 +632,21 @@ impl TextReverseConversionGenerator { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LanguageAvailableButNotInstalled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LanguageAvailableButNotInstalled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConvertBackAsync(&self, input: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertBackAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -654,13 +654,13 @@ impl TextReverseConversionGenerator { pub fn GetPhonemesAsync(&self, input: &windows_core::HSTRING) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPhonemesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(languagetag: &windows_core::HSTRING) -> windows_core::Result { Self::ITextReverseConversionGeneratorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -686,7 +686,7 @@ pub struct UnicodeCharacters; impl UnicodeCharacters { pub fn GetCodepointFromSurrogatePair(highsurrogate: u32, lowsurrogate: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCodepointFromSurrogatePair)(windows_core::Interface::as_raw(this), highsurrogate, lowsurrogate, &mut result__).map(|| result__) }) } @@ -695,91 +695,91 @@ impl UnicodeCharacters { } pub fn IsHighSurrogate(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHighSurrogate)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsLowSurrogate(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLowSurrogate)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsSupplementary(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupplementary)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsNoncharacter(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNoncharacter)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsWhitespace(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWhitespace)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsAlphabetic(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAlphabetic)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsCased(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCased)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsUppercase(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUppercase)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsLowercase(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLowercase)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsIdStart(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIdStart)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsIdContinue(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIdContinue)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsGraphemeBase(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGraphemeBase)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn IsGraphemeExtend(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGraphemeExtend)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn GetNumericType(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumericType)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } pub fn GetGeneralCategory(codepoint: u32) -> windows_core::Result { Self::IUnicodeCharactersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGeneralCategory)(windows_core::Interface::as_raw(this), codepoint, &mut result__).map(|| result__) }) } @@ -800,14 +800,14 @@ impl WordSegment { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceTextSegment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceTextSegment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -815,7 +815,7 @@ impl WordSegment { pub fn AlternateForms(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateForms)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -840,14 +840,14 @@ impl WordsSegmenter { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetTokenAt(&self, text: &windows_core::HSTRING, startindex: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTokenAt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), startindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -855,7 +855,7 @@ impl WordsSegmenter { pub fn GetTokens(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTokens)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -869,7 +869,7 @@ impl WordsSegmenter { } pub fn CreateWithLanguage(language: &windows_core::HSTRING) -> windows_core::Result { Self::IWordsSegmenterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(language), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs index c95cbfb45a..8df7cd1574 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs @@ -13,7 +13,7 @@ impl windows_core::RuntimeName for IXmlCharacterData { } impl IXmlCharacterData_Vtbl { pub const fn new, Impl: IXmlCharacterData_Impl, const OFFSET: isize>() -> IXmlCharacterData_Vtbl { - unsafe extern "system" fn Data, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Data, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXmlCharacterData_Impl::Data(this) { @@ -25,7 +25,7 @@ impl IXmlCharacterData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXmlCharacterData_Impl::SetData(this, core::mem::transmute(&value)).into() @@ -41,7 +41,7 @@ impl IXmlCharacterData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SubstringData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: u32, count: u32, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubstringData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: u32, count: u32, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXmlCharacterData_Impl::SubstringData(this, offset, count) { @@ -53,12 +53,12 @@ impl IXmlCharacterData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AppendData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppendData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXmlCharacterData_Impl::AppendData(this, core::mem::transmute(&data)).into() } - unsafe extern "system" fn InsertData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: u32, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InsertData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: u32, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXmlCharacterData_Impl::InsertData(this, offset, core::mem::transmute(&data)).into() @@ -68,7 +68,7 @@ impl IXmlCharacterData_Vtbl { let this = (*this).get_impl(); IXmlCharacterData_Impl::DeleteData(this, offset, count).into() } - unsafe extern "system" fn ReplaceData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: u32, count: u32, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReplaceData, Impl: IXmlCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: u32, count: u32, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXmlCharacterData_Impl::ReplaceData(this, offset, count, core::mem::transmute(&data)).into() @@ -147,7 +147,7 @@ impl IXmlNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NodeName, Impl: IXmlNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NodeName, Impl: IXmlNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXmlNode_Impl::NodeName(this) { @@ -414,7 +414,7 @@ impl windows_core::RuntimeName for IXmlNodeSelector { } impl IXmlNodeSelector_Vtbl { pub const fn new, Impl: IXmlNodeSelector_Impl, const OFFSET: isize>() -> IXmlNodeSelector_Vtbl { - unsafe extern "system" fn SelectSingleNode, Impl: IXmlNodeSelector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SelectSingleNode, Impl: IXmlNodeSelector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXmlNodeSelector_Impl::SelectSingleNode(this, core::mem::transmute(&xpath)) { @@ -426,7 +426,7 @@ impl IXmlNodeSelector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SelectNodes, Impl: IXmlNodeSelector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SelectNodes, Impl: IXmlNodeSelector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXmlNodeSelector_Impl::SelectNodes(this, core::mem::transmute(&xpath)) { @@ -438,7 +438,7 @@ impl IXmlNodeSelector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SelectSingleNodeNS, Impl: IXmlNodeSelector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: std::mem::MaybeUninit, namespaces: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SelectSingleNodeNS, Impl: IXmlNodeSelector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: core::mem::MaybeUninit, namespaces: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXmlNodeSelector_Impl::SelectSingleNodeNS(this, core::mem::transmute(&xpath), windows_core::from_raw_borrowed(&namespaces)) { @@ -450,7 +450,7 @@ impl IXmlNodeSelector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SelectNodesNS, Impl: IXmlNodeSelector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: std::mem::MaybeUninit, namespaces: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SelectNodesNS, Impl: IXmlNodeSelector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: core::mem::MaybeUninit, namespaces: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXmlNodeSelector_Impl::SelectNodesNS(this, core::mem::transmute(&xpath), windows_core::from_raw_borrowed(&namespaces)) { @@ -484,7 +484,7 @@ impl windows_core::RuntimeName for IXmlNodeSerializer { } impl IXmlNodeSerializer_Vtbl { pub const fn new, Impl: IXmlNodeSerializer_Impl, const OFFSET: isize>() -> IXmlNodeSerializer_Vtbl { - unsafe extern "system" fn GetXml, Impl: IXmlNodeSerializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetXml, Impl: IXmlNodeSerializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXmlNodeSerializer_Impl::GetXml(this) { @@ -496,7 +496,7 @@ impl IXmlNodeSerializer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InnerText, Impl: IXmlNodeSerializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InnerText, Impl: IXmlNodeSerializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXmlNodeSerializer_Impl::InnerText(this) { @@ -508,7 +508,7 @@ impl IXmlNodeSerializer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInnerText, Impl: IXmlNodeSerializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInnerText, Impl: IXmlNodeSerializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXmlNodeSerializer_Impl::SetInnerText(this, core::mem::transmute(&value)).into() 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 f4459aeb54..e402bf27e5 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs @@ -26,10 +26,10 @@ impl windows_core::RuntimeType for IXmlAttribute { #[repr(C)] pub struct IXmlAttribute_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Specified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlCDataSection, IXmlCDataSection_Vtbl, 0x4d04b46f_c8bd_45b4_8899_0400d7c2c60f); impl windows_core::RuntimeType for IXmlCDataSection { @@ -43,7 +43,7 @@ windows_core::imp::define_interface!(IXmlCharacterData, IXmlCharacterData_Vtbl, impl std::ops::Deref for IXmlCharacterData { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXmlCharacterData, windows_core::IUnknown, windows_core::IInspectable); @@ -52,7 +52,7 @@ impl IXmlCharacterData { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -63,14 +63,14 @@ impl IXmlCharacterData { pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubstringData)(windows_core::Interface::as_raw(this), offset, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -93,7 +93,7 @@ impl IXmlCharacterData { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -107,77 +107,77 @@ impl IXmlCharacterData { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -188,7 +188,7 @@ impl IXmlCharacterData { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -199,7 +199,7 @@ impl IXmlCharacterData { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -209,7 +209,7 @@ impl IXmlCharacterData { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -219,35 +219,35 @@ impl IXmlCharacterData { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -265,14 +265,14 @@ impl IXmlCharacterData { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -282,7 +282,7 @@ impl IXmlCharacterData { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -292,21 +292,21 @@ impl IXmlCharacterData { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -321,14 +321,14 @@ impl windows_core::RuntimeType for IXmlCharacterData { #[repr(C)] pub struct IXmlCharacterData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub SubstringData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppendData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InsertData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubstringData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppendData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InsertData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeleteData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, - pub ReplaceData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReplaceData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlComment, IXmlComment_Vtbl, 0xbca474d5_b61f_4611_9cac_2e92e3476d47); impl windows_core::RuntimeType for IXmlComment { @@ -348,19 +348,19 @@ pub struct IXmlDocument_Vtbl { pub Doctype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Implementation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DocumentElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateElement: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateElement: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDocumentFragment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTextNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateComment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateProcessingInstruction: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateEntityReference: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetElementsByTagName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateCDataSection: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DocumentUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateAttributeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateElementNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetElementById: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTextNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateComment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateProcessingInstruction: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateEntityReference: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetElementsByTagName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCDataSection: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DocumentUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateAttributeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateElementNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetElementById: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ImportNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlDocumentFragment, IXmlDocumentFragment_Vtbl, 0xe2ea6a96_0c21_44a5_8bc9_9e4a262708ec); @@ -378,8 +378,8 @@ impl windows_core::RuntimeType for IXmlDocumentIO { #[repr(C)] pub struct IXmlDocumentIO_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LoadXml: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LoadXmlWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LoadXml: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoadXmlWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage")] pub SaveToFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] @@ -426,7 +426,7 @@ impl windows_core::RuntimeType for IXmlDocumentType { #[repr(C)] pub struct IXmlDocumentType_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Entities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Notations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -437,7 +437,7 @@ impl windows_core::RuntimeType for IXmlDomImplementation { #[repr(C)] pub struct IXmlDomImplementation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub HasFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub HasFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlElement, IXmlElement_Vtbl, 0x2dfb8a1f_6b10_4ef8_9f83_efcce8faec37); impl windows_core::RuntimeType for IXmlElement { @@ -446,19 +446,19 @@ impl windows_core::RuntimeType for IXmlElement { #[repr(C)] pub struct IXmlElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAttributeNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttributeNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAttributeNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAttributeNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetElementsByTagName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetAttributeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAttributeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveAttributeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetElementsByTagName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetAttributeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttributeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveAttributeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetAttributeNodeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAttributeNodeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAttributeNodeNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlEntityReference, IXmlEntityReference_Vtbl, 0x2e2f47bc_c3d0_4ccf_bb86_0ab8c36a61cf); impl windows_core::RuntimeType for IXmlEntityReference { @@ -495,18 +495,18 @@ pub struct IXmlNamedNodeMap_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNamedItemNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveNamedItemNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemoveNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNamedItemNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemoveNamedItemNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetNamedItemNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlNode, IXmlNode_Vtbl, 0x1c741d59_2122_47d5_a856_83f3d4214875); impl std::ops::Deref for IXmlNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXmlNode, windows_core::IUnknown, windows_core::IInspectable); @@ -515,7 +515,7 @@ impl IXmlNode { pub fn NodeValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -529,77 +529,77 @@ impl IXmlNode { pub fn NodeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -610,7 +610,7 @@ impl IXmlNode { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -621,7 +621,7 @@ impl IXmlNode { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -631,7 +631,7 @@ impl IXmlNode { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -641,35 +641,35 @@ impl IXmlNode { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -687,14 +687,14 @@ impl IXmlNode { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -704,7 +704,7 @@ impl IXmlNode { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -714,21 +714,21 @@ impl IXmlNode { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -746,7 +746,7 @@ pub struct IXmlNode_Vtbl { pub NodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetNodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub NodeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NodeType) -> windows_core::HRESULT, - pub NodeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NodeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ParentNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ChildNodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FirstChild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -781,7 +781,7 @@ windows_core::imp::define_interface!(IXmlNodeSelector, IXmlNodeSelector_Vtbl, 0x impl std::ops::Deref for IXmlNodeSelector { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXmlNodeSelector, windows_core::IUnknown, windows_core::IInspectable); @@ -789,14 +789,14 @@ impl IXmlNodeSelector { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -806,7 +806,7 @@ impl IXmlNodeSelector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -816,7 +816,7 @@ impl IXmlNodeSelector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -827,16 +827,16 @@ impl windows_core::RuntimeType for IXmlNodeSelector { #[repr(C)] pub struct IXmlNodeSelector_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SelectSingleNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SelectNodes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SelectSingleNodeNS: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SelectNodesNS: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SelectSingleNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SelectNodes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SelectSingleNodeNS: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SelectNodesNS: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlNodeSerializer, IXmlNodeSerializer_Vtbl, 0x5cc5b382_e6dd_4991_abef_06d8d2e7bd0c); impl std::ops::Deref for IXmlNodeSerializer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXmlNodeSerializer, windows_core::IUnknown, windows_core::IInspectable); @@ -844,14 +844,14 @@ impl IXmlNodeSerializer { pub fn GetXml(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -866,9 +866,9 @@ impl windows_core::RuntimeType for IXmlNodeSerializer { #[repr(C)] pub struct IXmlNodeSerializer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InnerText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInnerText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InnerText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInnerText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlProcessingInstruction, IXmlProcessingInstruction_Vtbl, 0x2707fd1e_1e92_4ece_b6f4_26f069078ddc); impl windows_core::RuntimeType for IXmlProcessingInstruction { @@ -877,15 +877,15 @@ impl windows_core::RuntimeType for IXmlProcessingInstruction { #[repr(C)] pub struct IXmlProcessingInstruction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlText, IXmlText_Vtbl, 0xf931a4cb_308d_4760_a1d5_43b67450ac7e); impl std::ops::Deref for IXmlText { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXmlText, windows_core::IUnknown, windows_core::IInspectable); @@ -894,14 +894,14 @@ impl IXmlText { pub fn SplitText(&self, offset: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplitText)(windows_core::Interface::as_raw(this), offset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -912,14 +912,14 @@ impl IXmlText { pub fn Length(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubstringData)(windows_core::Interface::as_raw(this), offset, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -942,7 +942,7 @@ impl IXmlText { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -956,77 +956,77 @@ impl IXmlText { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1037,7 +1037,7 @@ impl IXmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1048,7 +1048,7 @@ impl IXmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1058,7 +1058,7 @@ impl IXmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1068,35 +1068,35 @@ impl IXmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1114,14 +1114,14 @@ impl IXmlText { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1131,7 +1131,7 @@ impl IXmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1141,21 +1141,21 @@ impl IXmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1181,28 +1181,28 @@ impl DtdEntity { pub fn PublicId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NotationName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotationName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1216,77 +1216,77 @@ impl DtdEntity { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1297,7 +1297,7 @@ impl DtdEntity { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1308,7 +1308,7 @@ impl DtdEntity { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1318,7 +1318,7 @@ impl DtdEntity { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1328,35 +1328,35 @@ impl DtdEntity { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1374,14 +1374,14 @@ impl DtdEntity { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1391,7 +1391,7 @@ impl DtdEntity { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1401,21 +1401,21 @@ impl DtdEntity { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1445,21 +1445,21 @@ impl DtdNotation { pub fn PublicId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1473,77 +1473,77 @@ impl DtdNotation { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1554,7 +1554,7 @@ impl DtdNotation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1565,7 +1565,7 @@ impl DtdNotation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1575,7 +1575,7 @@ impl DtdNotation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1585,35 +1585,35 @@ impl DtdNotation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1631,14 +1631,14 @@ impl DtdNotation { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1648,7 +1648,7 @@ impl DtdNotation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1658,21 +1658,21 @@ impl DtdNotation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1702,21 +1702,21 @@ impl XmlAttribute { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Specified(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Specified)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1727,7 +1727,7 @@ impl XmlAttribute { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1741,77 +1741,77 @@ impl XmlAttribute { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1822,7 +1822,7 @@ impl XmlAttribute { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1833,7 +1833,7 @@ impl XmlAttribute { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1843,7 +1843,7 @@ impl XmlAttribute { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1853,35 +1853,35 @@ impl XmlAttribute { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1899,14 +1899,14 @@ impl XmlAttribute { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1916,7 +1916,7 @@ impl XmlAttribute { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1926,21 +1926,21 @@ impl XmlAttribute { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1970,7 +1970,7 @@ impl XmlCDataSection { pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1981,14 +1981,14 @@ impl XmlCDataSection { pub fn Length(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubstringData)(windows_core::Interface::as_raw(this), offset, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2011,7 +2011,7 @@ impl XmlCDataSection { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2025,77 +2025,77 @@ impl XmlCDataSection { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2106,7 +2106,7 @@ impl XmlCDataSection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2117,7 +2117,7 @@ impl XmlCDataSection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2127,7 +2127,7 @@ impl XmlCDataSection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2137,35 +2137,35 @@ impl XmlCDataSection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2183,14 +2183,14 @@ impl XmlCDataSection { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2200,7 +2200,7 @@ impl XmlCDataSection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2210,21 +2210,21 @@ impl XmlCDataSection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2235,7 +2235,7 @@ impl XmlCDataSection { pub fn SplitText(&self, offset: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplitText)(windows_core::Interface::as_raw(this), offset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2261,7 +2261,7 @@ impl XmlComment { pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2272,14 +2272,14 @@ impl XmlComment { pub fn Length(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubstringData)(windows_core::Interface::as_raw(this), offset, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2302,7 +2302,7 @@ impl XmlComment { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2316,77 +2316,77 @@ impl XmlComment { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2397,7 +2397,7 @@ impl XmlComment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2408,7 +2408,7 @@ impl XmlComment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2418,7 +2418,7 @@ impl XmlComment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2428,35 +2428,35 @@ impl XmlComment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2474,14 +2474,14 @@ impl XmlComment { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2491,7 +2491,7 @@ impl XmlComment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2501,21 +2501,21 @@ impl XmlComment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2552,91 +2552,91 @@ impl XmlDocument { pub fn Doctype(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Doctype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Implementation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Implementation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentElement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentElement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateElement(&self, tagname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateElement)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tagname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateDocumentFragment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDocumentFragment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateTextNode(&self, data: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTextNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(data), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateComment(&self, data: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(data), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateProcessingInstruction(&self, target: &windows_core::HSTRING, data: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateProcessingInstruction)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(target), core::mem::transmute_copy(data), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAttribute(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAttribute)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateEntityReference(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEntityReference)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetElementsByTagName(&self, tagname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetElementsByTagName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tagname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateCDataSection(&self, data: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCDataSection)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(data), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2646,7 +2646,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAttributeNS)(windows_core::Interface::as_raw(this), namespaceuri.param().abi(), core::mem::transmute_copy(qualifiedname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2656,14 +2656,14 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateElementNS)(windows_core::Interface::as_raw(this), namespaceuri.param().abi(), core::mem::transmute_copy(qualifiedname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetElementById(&self, elementid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetElementById)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(elementid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2673,7 +2673,7 @@ impl XmlDocument { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportNode)(windows_core::Interface::as_raw(this), node.param().abi(), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2695,7 +2695,7 @@ impl XmlDocument { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveToFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2721,7 +2721,7 @@ impl XmlDocument { P0: windows_core::Param, { Self::IXmlDocumentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromUriAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2731,7 +2731,7 @@ impl XmlDocument { P1: windows_core::Param, { Self::IXmlDocumentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromUriWithSettingsAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), loadsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2741,7 +2741,7 @@ impl XmlDocument { P0: windows_core::Param, { Self::IXmlDocumentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2752,14 +2752,14 @@ impl XmlDocument { P1: windows_core::Param, { Self::IXmlDocumentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFromFileWithSettingsAsync)(windows_core::Interface::as_raw(this), file.param().abi(), loadsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2773,77 +2773,77 @@ impl XmlDocument { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2854,7 +2854,7 @@ impl XmlDocument { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2865,7 +2865,7 @@ impl XmlDocument { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2875,7 +2875,7 @@ impl XmlDocument { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2885,35 +2885,35 @@ impl XmlDocument { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2931,14 +2931,14 @@ impl XmlDocument { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2948,7 +2948,7 @@ impl XmlDocument { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2958,21 +2958,21 @@ impl XmlDocument { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3007,7 +3007,7 @@ impl XmlDocumentFragment { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3021,77 +3021,77 @@ impl XmlDocumentFragment { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3102,7 +3102,7 @@ impl XmlDocumentFragment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3113,7 +3113,7 @@ impl XmlDocumentFragment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3123,7 +3123,7 @@ impl XmlDocumentFragment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3133,35 +3133,35 @@ impl XmlDocumentFragment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3179,14 +3179,14 @@ impl XmlDocumentFragment { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3196,7 +3196,7 @@ impl XmlDocumentFragment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3206,21 +3206,21 @@ impl XmlDocumentFragment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3250,28 +3250,28 @@ impl XmlDocumentType { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Entities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Entities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Notations(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Notations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3285,77 +3285,77 @@ impl XmlDocumentType { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3366,7 +3366,7 @@ impl XmlDocumentType { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3377,7 +3377,7 @@ impl XmlDocumentType { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3387,7 +3387,7 @@ impl XmlDocumentType { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3397,35 +3397,35 @@ impl XmlDocumentType { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3443,14 +3443,14 @@ impl XmlDocumentType { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3460,7 +3460,7 @@ impl XmlDocumentType { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3470,21 +3470,21 @@ impl XmlDocumentType { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3516,7 +3516,7 @@ impl XmlDomImplementation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasFeature)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(feature), version.param().abi(), &mut result__).map(|| result__) } } @@ -3542,14 +3542,14 @@ impl XmlElement { pub fn TagName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TagName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAttribute(&self, attributename: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAttribute)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(attributename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3564,7 +3564,7 @@ impl XmlElement { pub fn GetAttributeNode(&self, attributename: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAttributeNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(attributename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3574,7 +3574,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAttributeNode)(windows_core::Interface::as_raw(this), newattribute.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3584,14 +3584,14 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveAttributeNode)(windows_core::Interface::as_raw(this), attributenode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetElementsByTagName(&self, tagname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetElementsByTagName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tagname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3608,7 +3608,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAttributeNS)(windows_core::Interface::as_raw(this), namespaceuri.param().abi(), core::mem::transmute_copy(localname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3625,7 +3625,7 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAttributeNodeNS)(windows_core::Interface::as_raw(this), newattribute.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3635,14 +3635,14 @@ impl XmlElement { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAttributeNodeNS)(windows_core::Interface::as_raw(this), namespaceuri.param().abi(), core::mem::transmute_copy(localname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3656,77 +3656,77 @@ impl XmlElement { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3737,7 +3737,7 @@ impl XmlElement { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3748,7 +3748,7 @@ impl XmlElement { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3758,7 +3758,7 @@ impl XmlElement { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3768,35 +3768,35 @@ impl XmlElement { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3814,14 +3814,14 @@ impl XmlElement { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3831,7 +3831,7 @@ impl XmlElement { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3841,21 +3841,21 @@ impl XmlElement { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3885,7 +3885,7 @@ impl XmlEntityReference { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3899,77 +3899,77 @@ impl XmlEntityReference { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3980,7 +3980,7 @@ impl XmlEntityReference { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3991,7 +3991,7 @@ impl XmlEntityReference { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4001,7 +4001,7 @@ impl XmlEntityReference { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4011,35 +4011,35 @@ impl XmlEntityReference { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4057,14 +4057,14 @@ impl XmlEntityReference { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4074,7 +4074,7 @@ impl XmlEntityReference { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4084,21 +4084,21 @@ impl XmlEntityReference { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4134,7 +4134,7 @@ impl XmlLoadSettings { pub fn MaxElementDepth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxElementDepth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4145,7 +4145,7 @@ impl XmlLoadSettings { pub fn ProhibitDtd(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProhibitDtd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4156,7 +4156,7 @@ impl XmlLoadSettings { pub fn ResolveExternals(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolveExternals)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4167,7 +4167,7 @@ impl XmlLoadSettings { pub fn ValidateOnParse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateOnParse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4178,7 +4178,7 @@ impl XmlLoadSettings { pub fn ElementContentWhiteSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementContentWhiteSpace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4210,7 +4210,7 @@ impl XmlNamedNodeMap { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4218,7 +4218,7 @@ impl XmlNamedNodeMap { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4226,7 +4226,7 @@ impl XmlNamedNodeMap { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4237,7 +4237,7 @@ impl XmlNamedNodeMap { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -4245,28 +4245,28 @@ impl XmlNamedNodeMap { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Item(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Item)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNamedItem(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedItem)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4276,14 +4276,14 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetNamedItem)(windows_core::Interface::as_raw(this), node.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoveNamedItem(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveNamedItem)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4293,7 +4293,7 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNamedItemNS)(windows_core::Interface::as_raw(this), namespaceuri.param().abi(), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4303,7 +4303,7 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveNamedItemNS)(windows_core::Interface::as_raw(this), namespaceuri.param().abi(), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4313,7 +4313,7 @@ impl XmlNamedNodeMap { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetNamedItemNS)(windows_core::Interface::as_raw(this), node.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4357,7 +4357,7 @@ impl XmlNodeList { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4365,7 +4365,7 @@ impl XmlNodeList { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4373,7 +4373,7 @@ impl XmlNodeList { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4384,7 +4384,7 @@ impl XmlNodeList { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -4392,21 +4392,21 @@ impl XmlNodeList { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Item(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Item)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4448,7 +4448,7 @@ impl XmlProcessingInstruction { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4462,77 +4462,77 @@ impl XmlProcessingInstruction { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4543,7 +4543,7 @@ impl XmlProcessingInstruction { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4554,7 +4554,7 @@ impl XmlProcessingInstruction { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4564,7 +4564,7 @@ impl XmlProcessingInstruction { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4574,35 +4574,35 @@ impl XmlProcessingInstruction { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4620,14 +4620,14 @@ impl XmlProcessingInstruction { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4637,7 +4637,7 @@ impl XmlProcessingInstruction { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4647,21 +4647,21 @@ impl XmlProcessingInstruction { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4672,14 +4672,14 @@ impl XmlProcessingInstruction { pub fn Target(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4709,7 +4709,7 @@ impl XmlText { pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4720,14 +4720,14 @@ impl XmlText { pub fn Length(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SubstringData(&self, offset: u32, count: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubstringData)(windows_core::Interface::as_raw(this), offset, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4750,7 +4750,7 @@ impl XmlText { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4764,77 +4764,77 @@ impl XmlText { pub fn NodeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentNode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChildNodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastChild(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastChild)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextSibling(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextSibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasChildNodes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasChildNodes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OwnerDocument(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OwnerDocument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4845,7 +4845,7 @@ impl XmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertBefore)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4856,7 +4856,7 @@ impl XmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4866,7 +4866,7 @@ impl XmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveChild)(windows_core::Interface::as_raw(this), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4876,35 +4876,35 @@ impl XmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendChild)(windows_core::Interface::as_raw(this), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloneNode(&self, deep: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneNode)(windows_core::Interface::as_raw(this), deep, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NamespaceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Prefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Prefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4922,14 +4922,14 @@ impl XmlText { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectNodes(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4939,7 +4939,7 @@ impl XmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleNodeNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4949,21 +4949,21 @@ impl XmlText { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNodesNS)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xpath), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetXml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InnerText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4974,7 +4974,7 @@ impl XmlText { pub fn SplitText(&self, offset: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplitText)(windows_core::Interface::as_raw(this), offset, &mut result__).and_then(|| windows_core::Type::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 81ad35cec8..011cdd7dcd 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs @@ -6,7 +6,7 @@ impl windows_core::RuntimeType for IXsltProcessor { pub struct IXsltProcessor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Data_Xml_Dom")] - pub TransformToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransformToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] TransformToString: usize, } @@ -46,7 +46,7 @@ impl XsltProcessor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformToString)(windows_core::Interface::as_raw(this), inputnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -57,7 +57,7 @@ impl XsltProcessor { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformToDocument)(windows_core::Interface::as_raw(this), inputnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -67,7 +67,7 @@ impl XsltProcessor { P0: windows_core::Param, { Self::IXsltProcessorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), document.param().abi(), &mut result__).and_then(|| windows_core::Type::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 5d70c61bc4..c2d31c5d02 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IAdcControllerProvider, IAdcControllerProvi impl std::ops::Deref for IAdcControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdcControllerProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -10,35 +10,35 @@ impl IAdcControllerProvider { pub fn ChannelCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResolutionInBits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolutionInBits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ChannelMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -49,7 +49,7 @@ impl IAdcControllerProvider { pub fn IsChannelModeSupported(&self, channelmode: ProviderAdcChannelMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsChannelModeSupported)(windows_core::Interface::as_raw(this), channelmode, &mut result__).map(|| result__) } } @@ -64,7 +64,7 @@ impl IAdcControllerProvider { pub fn ReadValue(&self, channelnumber: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadValue)(windows_core::Interface::as_raw(this), channelnumber, &mut result__).map(|| result__) } } @@ -90,7 +90,7 @@ windows_core::imp::define_interface!(IAdcProvider, IAdcProvider_Vtbl, 0x28953668 impl std::ops::Deref for IAdcProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdcProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -99,7 +99,7 @@ impl IAdcProvider { pub fn GetControllers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 87c1d73a16..734ad1776a 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs @@ -57,21 +57,21 @@ impl AdcChannel { pub fn Controller(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Controller)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadRatio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -100,35 +100,35 @@ impl AdcController { pub fn ChannelCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResolutionInBits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolutionInBits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ChannelMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -139,14 +139,14 @@ impl AdcController { pub fn IsChannelModeSupported(&self, channelmode: AdcChannelMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsChannelModeSupported)(windows_core::Interface::as_raw(this), channelmode, &mut result__).map(|| result__) } } pub fn OpenChannel(&self, channelnumber: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenChannel)(windows_core::Interface::as_raw(this), channelnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -156,13 +156,13 @@ impl AdcController { P0: windows_core::Param, { Self::IAdcControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllersAsync)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IAdcControllerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 b0a9641231..33e1158241 100644 --- a/crates/libs/windows/src/Windows/Devices/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Background/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for IDeviceServicingDetails { #[repr(C)] pub struct IDeviceServicingDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ExpectedDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceUseDetails, IDeviceUseDetails_Vtbl, 0x7d565141_557e_4154_b994_e4f7a11fb323); @@ -16,8 +16,8 @@ impl windows_core::RuntimeType for IDeviceUseDetails { #[repr(C)] pub struct IDeviceUseDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -27,21 +27,21 @@ impl DeviceServicingDetails { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExpectedDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpectedDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -66,14 +66,14 @@ impl DeviceUseDetails { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 1c1af88260..6a8644139a 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs @@ -7,8 +7,8 @@ pub struct IBluetoothLEAdvertisement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LocalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub ServiceUuids: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -320,7 +320,7 @@ impl BluetoothLEAdvertisement { pub fn Flags(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Flags)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -334,7 +334,7 @@ impl BluetoothLEAdvertisement { pub fn LocalName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -346,7 +346,7 @@ impl BluetoothLEAdvertisement { pub fn ServiceUuids(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUuids)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -354,7 +354,7 @@ impl BluetoothLEAdvertisement { pub fn ManufacturerData(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManufacturerData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -362,7 +362,7 @@ impl BluetoothLEAdvertisement { pub fn DataSections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataSections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -370,7 +370,7 @@ impl BluetoothLEAdvertisement { pub fn GetManufacturerDataByCompanyId(&self, companyid: u16) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetManufacturerDataByCompanyId)(windows_core::Interface::as_raw(this), companyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -378,7 +378,7 @@ impl BluetoothLEAdvertisement { pub fn GetSectionsByType(&self, r#type: u8) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSectionsByType)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -410,7 +410,7 @@ impl BluetoothLEAdvertisementBytePattern { pub fn DataType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -421,7 +421,7 @@ impl BluetoothLEAdvertisementBytePattern { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -433,7 +433,7 @@ impl BluetoothLEAdvertisementBytePattern { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -451,7 +451,7 @@ impl BluetoothLEAdvertisementBytePattern { P0: windows_core::Param, { Self::IBluetoothLEAdvertisementBytePatternFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), datatype, offset, data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -488,7 +488,7 @@ impl BluetoothLEAdvertisementDataSection { pub fn DataType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -500,7 +500,7 @@ impl BluetoothLEAdvertisementDataSection { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -518,7 +518,7 @@ impl BluetoothLEAdvertisementDataSection { P0: windows_core::Param, { Self::IBluetoothLEAdvertisementDataSectionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), datatype, data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -544,133 +544,133 @@ pub struct BluetoothLEAdvertisementDataTypes; impl BluetoothLEAdvertisementDataTypes { pub fn Flags() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Flags)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IncompleteService16BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncompleteService16BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CompleteService16BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompleteService16BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IncompleteService32BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncompleteService32BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CompleteService32BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompleteService32BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IncompleteService128BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncompleteService128BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CompleteService128BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompleteService128BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ShortenedLocalName() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShortenedLocalName)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CompleteLocalName() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompleteLocalName)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TxPowerLevel() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TxPowerLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PeripheralConnectionIntervalRange() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeripheralConnectionIntervalRange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ServiceSolicitation16BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceSolicitation16BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ServiceSolicitation32BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceSolicitation32BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ServiceSolicitation128BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceSolicitation128BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ServiceData16BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceData16BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ServiceData32BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceData32BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ServiceData128BitUuids() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceData128BitUuids)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PublicTargetAddress() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicTargetAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RandomTargetAddress() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RandomTargetAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Appearance() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Appearance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AdvertisingInterval() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisingInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ManufacturerSpecificData() -> windows_core::Result { Self::IBluetoothLEAdvertisementDataTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManufacturerSpecificData)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -698,7 +698,7 @@ impl BluetoothLEAdvertisementFilter { pub fn Advertisement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Advertisement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -713,7 +713,7 @@ impl BluetoothLEAdvertisementFilter { pub fn BytePatterns(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytePatterns)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -745,14 +745,14 @@ impl BluetoothLEAdvertisementPublisher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Advertisement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Advertisement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -770,7 +770,7 @@ impl BluetoothLEAdvertisementPublisher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -781,7 +781,7 @@ impl BluetoothLEAdvertisementPublisher { pub fn PreferredTransmitPowerLevelInDBm(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredTransmitPowerLevelInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -795,7 +795,7 @@ impl BluetoothLEAdvertisementPublisher { pub fn UseExtendedAdvertisement(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UseExtendedAdvertisement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -806,7 +806,7 @@ impl BluetoothLEAdvertisementPublisher { pub fn IsAnonymous(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAnonymous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -817,7 +817,7 @@ impl BluetoothLEAdvertisementPublisher { pub fn IncludeTransmitPowerLevel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeTransmitPowerLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -830,7 +830,7 @@ impl BluetoothLEAdvertisementPublisher { P0: windows_core::Param, { Self::IBluetoothLEAdvertisementPublisherFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), advertisement.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -860,21 +860,21 @@ impl BluetoothLEAdvertisementPublisherStatusChangedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedTransmitPowerLevelInDBm(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedTransmitPowerLevelInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -899,84 +899,84 @@ impl BluetoothLEAdvertisementReceivedEventArgs { pub fn RawSignalStrengthInDBm(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawSignalStrengthInDBm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BluetoothAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluetoothAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AdvertisementType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisementType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Advertisement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Advertisement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BluetoothAddressType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluetoothAddressType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TransmitPowerLevelInDBm(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransmitPowerLevelInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsAnonymous(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAnonymous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsConnectable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnectable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsScannable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScannable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDirected(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDirected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsScanResponse(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScanResponse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1008,42 +1008,42 @@ impl BluetoothLEAdvertisementWatcher { pub fn MinSamplingInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinSamplingInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxSamplingInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSamplingInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinOutOfRangeTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinOutOfRangeTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxOutOfRangeTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxOutOfRangeTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScanningMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanningMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1054,7 +1054,7 @@ impl BluetoothLEAdvertisementWatcher { pub fn SignalStrengthFilter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalStrengthFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1068,7 +1068,7 @@ impl BluetoothLEAdvertisementWatcher { pub fn AdvertisementFilter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisementFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1093,7 +1093,7 @@ impl BluetoothLEAdvertisementWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Received)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1107,7 +1107,7 @@ impl BluetoothLEAdvertisementWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1118,7 +1118,7 @@ impl BluetoothLEAdvertisementWatcher { pub fn AllowExtendedAdvertisements(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowExtendedAdvertisements)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1131,7 +1131,7 @@ impl BluetoothLEAdvertisementWatcher { P0: windows_core::Param, { Self::IBluetoothLEAdvertisementWatcherFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), advertisementfilter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1161,7 +1161,7 @@ impl BluetoothLEAdvertisementWatcherStoppedEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1193,7 +1193,7 @@ impl BluetoothLEManufacturerData { pub fn CompanyId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompanyId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1205,7 +1205,7 @@ impl BluetoothLEManufacturerData { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1223,7 +1223,7 @@ impl BluetoothLEManufacturerData { P0: windows_core::Param, { Self::IBluetoothLEManufacturerDataFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), companyid, data.param().abi(), &mut result__).and_then(|| windows_core::Type::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 d7143bf5e0..60fd5fc49e 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs @@ -71,7 +71,7 @@ impl windows_core::RuntimeType for IGattServiceProviderConnection { #[repr(C)] pub struct IGattServiceProviderConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TriggerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TriggerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Devices_Bluetooth_GenericAttributeProfile")] pub Service: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Bluetooth_GenericAttributeProfile"))] @@ -164,21 +164,21 @@ impl BluetoothLEAdvertisementPublisherTriggerDetails { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedTransmitPowerLevelInDBm(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedTransmitPowerLevelInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -203,7 +203,7 @@ impl BluetoothLEAdvertisementWatcherTriggerDetails { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -211,14 +211,14 @@ impl BluetoothLEAdvertisementWatcherTriggerDetails { pub fn Advertisements(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Advertisements)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignalStrengthFilter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalStrengthFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -244,7 +244,7 @@ impl GattCharacteristicNotificationTriggerDetails { pub fn Characteristic(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Characteristic)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -252,21 +252,21 @@ impl GattCharacteristicNotificationTriggerDetails { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Error(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EventTriggeringMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EventTriggeringMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -274,7 +274,7 @@ impl GattCharacteristicNotificationTriggerDetails { pub fn ValueChangedEvents(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueChangedEvents)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -299,7 +299,7 @@ impl GattServiceProviderConnection { pub fn TriggerId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -307,7 +307,7 @@ impl GattServiceProviderConnection { pub fn Service(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Service)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -318,7 +318,7 @@ impl GattServiceProviderConnection { #[cfg(feature = "Foundation_Collections")] pub fn AllServices() -> windows_core::Result> { Self::IGattServiceProviderConnectionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -348,7 +348,7 @@ impl GattServiceProviderTriggerDetails { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -374,21 +374,21 @@ impl RfcommConnectionTriggerDetails { pub fn Socket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Socket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Incoming(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Incoming)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RemoteDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -414,7 +414,7 @@ impl RfcommInboundConnectionInformation { pub fn SdpRecord(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SdpRecord)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -430,7 +430,7 @@ impl RfcommInboundConnectionInformation { pub fn LocalServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -445,7 +445,7 @@ impl RfcommInboundConnectionInformation { pub fn ServiceCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -475,7 +475,7 @@ impl RfcommOutboundConnectionInformation { pub fn RemoteServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 1d7d91d432..212c7a6f15 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs @@ -12,7 +12,7 @@ pub struct IGattCharacteristic_Vtbl { pub CharacteristicProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattCharacteristicProperties) -> windows_core::HRESULT, pub ProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattProtectionLevel) -> windows_core::HRESULT, pub SetProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, GattProtectionLevel) -> windows_core::HRESULT, - pub UserDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Uuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub AttributeHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -296,7 +296,7 @@ pub struct IGattDeviceService_Vtbl { pub GetIncludedServices: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetIncludedServices: usize, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Uuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub AttributeHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } @@ -358,10 +358,10 @@ impl windows_core::RuntimeType for IGattDeviceServiceStatics { #[repr(C)] pub struct IGattDeviceServiceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelectorFromUuid: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelectorFromUuid: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] - pub GetDeviceSelectorFromShortId: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromShortId: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] GetDeviceSelectorFromShortId: usize, #[cfg(feature = "deprecated")] @@ -376,11 +376,11 @@ impl windows_core::RuntimeType for IGattDeviceServiceStatics2 { #[repr(C)] pub struct IGattDeviceServiceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdWithSharingModeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, GattSharingMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelectorForBluetoothDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorForBluetoothDeviceIdWithCacheMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::BluetoothCacheMode, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorForBluetoothDeviceIdAndUuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorForBluetoothDeviceIdAndUuidWithCacheMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID, super::BluetoothCacheMode, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdWithSharingModeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, GattSharingMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelectorForBluetoothDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorForBluetoothDeviceIdWithCacheMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::BluetoothCacheMode, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorForBluetoothDeviceIdAndUuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorForBluetoothDeviceIdAndUuidWithCacheMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID, super::BluetoothCacheMode, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGattDeviceServicesResult, IGattDeviceServicesResult_Vtbl, 0x171dd3ee_016d_419d_838a_576cf475a3d8); impl windows_core::RuntimeType for IGattDeviceServicesResult { @@ -416,7 +416,7 @@ pub struct IGattLocalCharacteristic_Vtbl { pub Descriptors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Descriptors: usize, - pub UserDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub PresentationFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -461,8 +461,8 @@ pub struct IGattLocalCharacteristicParameters_Vtbl { pub ReadProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattProtectionLevel) -> windows_core::HRESULT, pub SetWriteProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, GattProtectionLevel) -> windows_core::HRESULT, pub WriteProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattProtectionLevel) -> windows_core::HRESULT, - pub SetUserDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub PresentationFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -955,21 +955,21 @@ impl GattCharacteristic { pub fn GetDescriptors(&self, descriptoruuid: windows_core::GUID) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDescriptors)(windows_core::Interface::as_raw(this), descriptoruuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CharacteristicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacteristicProperties)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -980,21 +980,21 @@ impl GattCharacteristic { pub fn UserDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Uuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AttributeHandle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeHandle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1002,21 +1002,21 @@ impl GattCharacteristic { pub fn PresentationFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadValueAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadValueAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadValueWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadValueWithCacheModeAsync)(windows_core::Interface::as_raw(this), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1027,7 +1027,7 @@ impl GattCharacteristic { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteValueAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1038,21 +1038,21 @@ impl GattCharacteristic { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteValueWithOptionAsync)(windows_core::Interface::as_raw(this), value.param().abi(), writeoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadClientCharacteristicConfigurationDescriptorAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadClientCharacteristicConfigurationDescriptorAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WriteClientCharacteristicConfigurationDescriptorAsync(&self, clientcharacteristicconfigurationdescriptorvalue: GattClientCharacteristicConfigurationDescriptorValue) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteClientCharacteristicConfigurationDescriptorAsync)(windows_core::Interface::as_raw(this), clientcharacteristicconfigurationdescriptorvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1062,7 +1062,7 @@ impl GattCharacteristic { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueChanged)(windows_core::Interface::as_raw(this), valuechangedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1073,7 +1073,7 @@ impl GattCharacteristic { pub fn Service(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Service)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1081,35 +1081,35 @@ impl GattCharacteristic { pub fn GetAllDescriptors(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllDescriptors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDescriptorsAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDescriptorsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDescriptorsWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDescriptorsWithCacheModeAsync)(windows_core::Interface::as_raw(this), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDescriptorsForUuidAsync(&self, descriptoruuid: windows_core::GUID) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDescriptorsForUuidAsync)(windows_core::Interface::as_raw(this), descriptoruuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDescriptorsForUuidWithCacheModeAsync)(windows_core::Interface::as_raw(this), descriptoruuid, cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1120,7 +1120,7 @@ impl GattCharacteristic { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteValueWithResultAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1131,21 +1131,21 @@ impl GattCharacteristic { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteValueWithResultAndOptionAsync)(windows_core::Interface::as_raw(this), value.param().abi(), writeoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WriteClientCharacteristicConfigurationDescriptorWithResultAsync(&self, clientcharacteristicconfigurationdescriptorvalue: GattClientCharacteristicConfigurationDescriptorValue) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteClientCharacteristicConfigurationDescriptorWithResultAsync)(windows_core::Interface::as_raw(this), clientcharacteristicconfigurationdescriptorvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "deprecated")] pub fn ConvertShortIdToUuid(shortid: u16) -> windows_core::Result { Self::IGattCharacteristicStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertShortIdToUuid)(windows_core::Interface::as_raw(this), shortid, &mut result__).map(|| result__) }) } @@ -1171,487 +1171,487 @@ pub struct GattCharacteristicUuids; impl GattCharacteristicUuids { pub fn BatteryLevel() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BatteryLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BloodPressureFeature() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BloodPressureFeature)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BloodPressureMeasurement() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BloodPressureMeasurement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BodySensorLocation() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BodySensorLocation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CscFeature() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CscFeature)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CscMeasurement() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CscMeasurement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GlucoseFeature() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GlucoseFeature)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GlucoseMeasurement() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GlucoseMeasurement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GlucoseMeasurementContext() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GlucoseMeasurementContext)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HeartRateControlPoint() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeartRateControlPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HeartRateMeasurement() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeartRateMeasurement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IntermediateCuffPressure() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IntermediateCuffPressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IntermediateTemperature() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IntermediateTemperature)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MeasurementInterval() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MeasurementInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RecordAccessControlPoint() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordAccessControlPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RscFeature() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RscFeature)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RscMeasurement() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RscMeasurement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SCControlPoint() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SCControlPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SensorLocation() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SensorLocation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TemperatureMeasurement() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TemperatureMeasurement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TemperatureType() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TemperatureType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AlertCategoryId() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlertCategoryId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AlertCategoryIdBitMask() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlertCategoryIdBitMask)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AlertLevel() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlertLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AlertNotificationControlPoint() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlertNotificationControlPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AlertStatus() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlertStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GapAppearance() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GapAppearance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BootKeyboardInputReport() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BootKeyboardInputReport)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BootKeyboardOutputReport() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BootKeyboardOutputReport)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BootMouseInputReport() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BootMouseInputReport)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CurrentTime() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingPowerControlPoint() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingPowerControlPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingPowerFeature() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingPowerFeature)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingPowerMeasurement() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingPowerMeasurement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingPowerVector() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingPowerVector)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DateTime() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DayDateTime() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DayDateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DayOfWeek() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DayOfWeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GapDeviceName() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GapDeviceName)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DstOffset() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DstOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ExactTime256() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExactTime256)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn FirmwareRevisionString() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirmwareRevisionString)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HardwareRevisionString() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareRevisionString)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HidControlPoint() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HidControlPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HidInformation() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HidInformation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ieee1107320601RegulatoryCertificationDataList() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ieee1107320601RegulatoryCertificationDataList)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LnControlPoint() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LnControlPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LnFeature() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LnFeature)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LocalTimeInformation() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalTimeInformation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LocationAndSpeed() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationAndSpeed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ManufacturerNameString() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManufacturerNameString)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ModelNumberString() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelNumberString)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Navigation() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Navigation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn NewAlert() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewAlert)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GapPeripheralPreferredConnectionParameters() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GapPeripheralPreferredConnectionParameters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GapPeripheralPrivacyFlag() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GapPeripheralPrivacyFlag)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PnpId() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PnpId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PositionQuality() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionQuality)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ProtocolMode() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GapReconnectionAddress() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GapReconnectionAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ReferenceTimeInformation() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReferenceTimeInformation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Report() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Report)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ReportMap() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportMap)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RingerControlPoint() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RingerControlPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RingerSetting() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RingerSetting)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ScanIntervalWindow() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanIntervalWindow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ScanRefresh() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanRefresh)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SerialNumberString() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SerialNumberString)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GattServiceChanged() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GattServiceChanged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SoftwareRevisionString() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoftwareRevisionString)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SupportedNewAlertCategory() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedNewAlertCategory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SupportUnreadAlertCategory() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportUnreadAlertCategory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SystemId() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TimeAccuracy() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeAccuracy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TimeSource() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeSource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TimeUpdateControlPoint() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeUpdateControlPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TimeUpdateState() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeUpdateState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TimeWithDst() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeWithDst)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TimeZone() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeZone)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TxPowerLevel() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TxPowerLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UnreadAlertStatus() -> windows_core::Result { Self::IGattCharacteristicUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnreadAlertStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1677,14 +1677,14 @@ impl GattCharacteristicsResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtocolError(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1692,7 +1692,7 @@ impl GattCharacteristicsResult { pub fn Characteristics(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Characteristics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1717,28 +1717,28 @@ impl GattClientNotificationResult { pub fn SubscribedClient(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscribedClient)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtocolError(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BytesSent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesSent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1763,7 +1763,7 @@ impl GattDescriptor { pub fn ProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1774,28 +1774,28 @@ impl GattDescriptor { pub fn Uuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AttributeHandle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeHandle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadValueAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadValueAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadValueWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadValueWithCacheModeAsync)(windows_core::Interface::as_raw(this), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1806,7 +1806,7 @@ impl GattDescriptor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteValueAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1817,14 +1817,14 @@ impl GattDescriptor { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteValueWithResultAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "deprecated")] pub fn ConvertShortIdToUuid(shortid: u16) -> windows_core::Result { Self::IGattDescriptorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertShortIdToUuid)(windows_core::Interface::as_raw(this), shortid, &mut result__).map(|| result__) }) } @@ -1850,37 +1850,37 @@ pub struct GattDescriptorUuids; impl GattDescriptorUuids { pub fn CharacteristicAggregateFormat() -> windows_core::Result { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacteristicAggregateFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CharacteristicExtendedProperties() -> windows_core::Result { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacteristicExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CharacteristicPresentationFormat() -> windows_core::Result { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacteristicPresentationFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CharacteristicUserDescription() -> windows_core::Result { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacteristicUserDescription)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ClientCharacteristicConfiguration() -> windows_core::Result { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientCharacteristicConfiguration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ServerCharacteristicConfiguration() -> windows_core::Result { Self::IGattDescriptorUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCharacteristicConfiguration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1901,14 +1901,14 @@ impl GattDescriptorsResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtocolError(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1916,7 +1916,7 @@ impl GattDescriptorsResult { pub fn Descriptors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Descriptors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1947,7 +1947,7 @@ impl GattDeviceService { pub fn GetCharacteristics(&self, characteristicuuid: windows_core::GUID) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCharacteristics)(windows_core::Interface::as_raw(this), characteristicuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1955,28 +1955,28 @@ impl GattDeviceService { pub fn GetIncludedServices(&self, serviceuuid: windows_core::GUID) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIncludedServices)(windows_core::Interface::as_raw(this), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Uuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AttributeHandle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeHandle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1984,7 +1984,7 @@ impl GattDeviceService { pub fn Device(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1992,7 +1992,7 @@ impl GattDeviceService { pub fn ParentServices(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2000,7 +2000,7 @@ impl GattDeviceService { pub fn GetAllCharacteristics(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllCharacteristics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2008,7 +2008,7 @@ impl GattDeviceService { pub fn GetAllIncludedServices(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllIncludedServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2016,21 +2016,21 @@ impl GattDeviceService { pub fn DeviceAccessInformation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAccessInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Session(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SharingMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2038,102 +2038,102 @@ impl GattDeviceService { pub fn RequestAccessAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenAsync(&self, sharingmode: GattSharingMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAsync)(windows_core::Interface::as_raw(this), sharingmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCharacteristicsAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCharacteristicsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCharacteristicsWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCharacteristicsWithCacheModeAsync)(windows_core::Interface::as_raw(this), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCharacteristicsForUuidAsync(&self, characteristicuuid: windows_core::GUID) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCharacteristicsForUuidAsync)(windows_core::Interface::as_raw(this), characteristicuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCharacteristicsForUuidWithCacheModeAsync)(windows_core::Interface::as_raw(this), characteristicuuid, cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIncludedServicesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIncludedServicesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIncludedServicesWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIncludedServicesWithCacheModeAsync)(windows_core::Interface::as_raw(this), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIncludedServicesForUuidAsync(&self, serviceuuid: windows_core::GUID) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIncludedServicesForUuidAsync)(windows_core::Interface::as_raw(this), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIncludedServicesForUuidWithCacheModeAsync)(windows_core::Interface::as_raw(this), serviceuuid, cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IGattDeviceServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromUuid(serviceuuid: windows_core::GUID) -> windows_core::Result { Self::IGattDeviceServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromUuid)(windows_core::Interface::as_raw(this), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn GetDeviceSelectorFromShortId(serviceshortid: u16) -> windows_core::Result { Self::IGattDeviceServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromShortId)(windows_core::Interface::as_raw(this), serviceshortid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn ConvertShortIdToUuid(shortid: u16) -> windows_core::Result { Self::IGattDeviceServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertShortIdToUuid)(windows_core::Interface::as_raw(this), shortid, &mut result__).map(|| result__) }) } pub fn FromIdWithSharingModeAsync(deviceid: &windows_core::HSTRING, sharingmode: GattSharingMode) -> windows_core::Result> { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdWithSharingModeAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), sharingmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2142,7 +2142,7 @@ impl GattDeviceService { P0: windows_core::Param, { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceId)(windows_core::Interface::as_raw(this), bluetoothdeviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2151,7 +2151,7 @@ impl GattDeviceService { P0: windows_core::Param, { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceIdWithCacheMode)(windows_core::Interface::as_raw(this), bluetoothdeviceid.param().abi(), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2160,7 +2160,7 @@ impl GattDeviceService { P0: windows_core::Param, { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceIdAndUuid)(windows_core::Interface::as_raw(this), bluetoothdeviceid.param().abi(), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2169,7 +2169,7 @@ impl GattDeviceService { P0: windows_core::Param, { Self::IGattDeviceServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceIdAndUuidWithCacheMode)(windows_core::Interface::as_raw(this), bluetoothdeviceid.param().abi(), serviceuuid, cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2204,14 +2204,14 @@ impl GattDeviceServicesResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtocolError(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2219,7 +2219,7 @@ impl GattDeviceServicesResult { pub fn Services(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Services)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2244,7 +2244,7 @@ impl GattLocalCharacteristic { pub fn Uuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2252,28 +2252,28 @@ impl GattLocalCharacteristic { pub fn StaticValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StaticValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CharacteristicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacteristicProperties)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WriteProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2283,7 +2283,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDescriptorAsync)(windows_core::Interface::as_raw(this), descriptoruuid, parameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2291,14 +2291,14 @@ impl GattLocalCharacteristic { pub fn Descriptors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Descriptors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2306,7 +2306,7 @@ impl GattLocalCharacteristic { pub fn PresentationFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2314,7 +2314,7 @@ impl GattLocalCharacteristic { pub fn SubscribedClients(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscribedClients)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2324,7 +2324,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscribedClientsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2338,7 +2338,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2352,7 +2352,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2367,7 +2367,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotifyValueAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2379,7 +2379,7 @@ impl GattLocalCharacteristic { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotifyValueForSubscribedClientAsync)(windows_core::Interface::as_raw(this), value.param().abi(), subscribedclient.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2420,7 +2420,7 @@ impl GattLocalCharacteristicParameters { pub fn StaticValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StaticValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2431,7 +2431,7 @@ impl GattLocalCharacteristicParameters { pub fn CharacteristicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacteristicProperties)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2442,7 +2442,7 @@ impl GattLocalCharacteristicParameters { pub fn ReadProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2453,7 +2453,7 @@ impl GattLocalCharacteristicParameters { pub fn WriteProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2464,7 +2464,7 @@ impl GattLocalCharacteristicParameters { pub fn UserDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2472,7 +2472,7 @@ impl GattLocalCharacteristicParameters { pub fn PresentationFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2497,14 +2497,14 @@ impl GattLocalCharacteristicResult { pub fn Characteristic(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Characteristic)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2529,7 +2529,7 @@ impl GattLocalDescriptor { pub fn Uuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2537,21 +2537,21 @@ impl GattLocalDescriptor { pub fn StaticValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StaticValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WriteProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2561,7 +2561,7 @@ impl GattLocalDescriptor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2575,7 +2575,7 @@ impl GattLocalDescriptor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2620,7 +2620,7 @@ impl GattLocalDescriptorParameters { pub fn StaticValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StaticValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2631,7 +2631,7 @@ impl GattLocalDescriptorParameters { pub fn ReadProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2642,7 +2642,7 @@ impl GattLocalDescriptorParameters { pub fn WriteProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2667,14 +2667,14 @@ impl GattLocalDescriptorResult { pub fn Descriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Descriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2699,7 +2699,7 @@ impl GattLocalService { pub fn Uuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2709,7 +2709,7 @@ impl GattLocalService { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCharacteristicAsync)(windows_core::Interface::as_raw(this), characteristicuuid, parameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2717,7 +2717,7 @@ impl GattLocalService { pub fn Characteristics(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Characteristics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2742,47 +2742,47 @@ impl GattPresentationFormat { pub fn FormatType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Exponent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exponent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Unit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Namespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Namespace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BluetoothSigAssignedNumbers() -> windows_core::Result { Self::IGattPresentationFormatStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluetoothSigAssignedNumbers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn FromParts(formattype: u8, exponent: i32, unit: u16, namespaceid: u8, description: u16) -> windows_core::Result { Self::IGattPresentationFormatStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromParts)(windows_core::Interface::as_raw(this), formattype, exponent, unit, namespaceid, description, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2813,163 +2813,163 @@ pub struct GattPresentationFormatTypes; impl GattPresentationFormatTypes { pub fn Boolean() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Boolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Bit2() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bit2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Nibble() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Nibble)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UInt8() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UInt8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UInt12() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UInt12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UInt16() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UInt24() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UInt24)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UInt32() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UInt48() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UInt48)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UInt64() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UInt128() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UInt128)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SInt8() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SInt8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SInt12() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SInt12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SInt16() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SInt24() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SInt24)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SInt32() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SInt48() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SInt48)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SInt64() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SInt128() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SInt128)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Float32() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Float32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Float64() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Float64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SFloat() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SFloat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Float() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Float)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DUInt16() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DUInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Utf8() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Utf8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Utf16() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Utf16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Struct() -> windows_core::Result { Self::IGattPresentationFormatTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Struct)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -2986,103 +2986,103 @@ pub struct GattProtocolError; impl GattProtocolError { pub fn InvalidHandle() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvalidHandle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ReadNotPermitted() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadNotPermitted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn WriteNotPermitted() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteNotPermitted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InvalidPdu() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvalidPdu)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InsufficientAuthentication() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsufficientAuthentication)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RequestNotSupported() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestNotSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InvalidOffset() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvalidOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InsufficientAuthorization() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsufficientAuthorization)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PrepareQueueFull() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareQueueFull)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AttributeNotFound() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeNotFound)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AttributeNotLong() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeNotLong)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InsufficientEncryptionKeySize() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsufficientEncryptionKeySize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InvalidAttributeValueLength() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvalidAttributeValueLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UnlikelyError() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnlikelyError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InsufficientEncryption() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsufficientEncryption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UnsupportedGroupType() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnsupportedGroupType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InsufficientResources() -> windows_core::Result { Self::IGattProtocolErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsufficientResources)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -3103,21 +3103,21 @@ impl GattReadClientCharacteristicConfigurationDescriptorResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ClientCharacteristicConfigurationDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientCharacteristicConfigurationDescriptor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtocolError(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3142,21 +3142,21 @@ impl GattReadRequest { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3166,7 +3166,7 @@ impl GattReadRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3207,21 +3207,21 @@ impl GattReadRequestedEventArgs { pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetRequestAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRequestAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3246,7 +3246,7 @@ impl GattReadResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3254,14 +3254,14 @@ impl GattReadResult { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProtocolError(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3302,14 +3302,14 @@ impl GattReliableWriteTransaction { pub fn CommitAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CommitWithResultAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitWithResultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3334,14 +3334,14 @@ impl GattRequestStateChangedEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3366,14 +3366,14 @@ impl GattServiceProvider { pub fn Service(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Service)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AdvertisementStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisementStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3383,7 +3383,7 @@ impl GattServiceProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisementStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3408,7 +3408,7 @@ impl GattServiceProvider { } pub fn CreateAsync(serviceuuid: windows_core::GUID) -> windows_core::Result> { Self::IGattServiceProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3438,14 +3438,14 @@ impl GattServiceProviderAdvertisementStatusChangedEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3481,7 +3481,7 @@ impl GattServiceProviderAdvertisingParameters { pub fn IsConnectable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnectable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3492,7 +3492,7 @@ impl GattServiceProviderAdvertisingParameters { pub fn IsDiscoverable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDiscoverable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3508,7 +3508,7 @@ impl GattServiceProviderAdvertisingParameters { pub fn ServiceData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3533,14 +3533,14 @@ impl GattServiceProviderResult { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ServiceProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3561,133 +3561,133 @@ pub struct GattServiceUuids; impl GattServiceUuids { pub fn Battery() -> windows_core::Result { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Battery)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BloodPressure() -> windows_core::Result { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BloodPressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingSpeedAndCadence() -> windows_core::Result { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingSpeedAndCadence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GenericAccess() -> windows_core::Result { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenericAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GenericAttribute() -> windows_core::Result { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenericAttribute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Glucose() -> windows_core::Result { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Glucose)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HealthThermometer() -> windows_core::Result { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HealthThermometer)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HeartRate() -> windows_core::Result { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeartRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RunningSpeedAndCadence() -> windows_core::Result { Self::IGattServiceUuidsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunningSpeedAndCadence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AlertNotification() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlertNotification)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CurrentTime() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingPower() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingPower)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DeviceInformation() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HumanInterfaceDevice() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HumanInterfaceDevice)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ImmediateAlert() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImmediateAlert)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LinkLoss() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinkLoss)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LocationAndNavigation() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationAndNavigation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn NextDstChange() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextDstChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PhoneAlertStatus() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneAlertStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ReferenceTimeUpdate() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReferenceTimeUpdate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ScanParameters() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanParameters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TxPower() -> windows_core::Result { Self::IGattServiceUuidsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TxPower)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -3718,14 +3718,14 @@ impl GattSession { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanMaintainConnection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanMaintainConnection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3736,21 +3736,21 @@ impl GattSession { pub fn MaintainConnection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaintainConnection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxPduSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPduSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SessionStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3760,7 +3760,7 @@ impl GattSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPduSizeChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3774,7 +3774,7 @@ impl GattSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3787,7 +3787,7 @@ impl GattSession { P0: windows_core::Param, { Self::IGattSessionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromDeviceIdAsync)(windows_core::Interface::as_raw(this), deviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3817,14 +3817,14 @@ impl GattSessionStatusChangedEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3849,14 +3849,14 @@ impl GattSubscribedClient { pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxNotificationSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxNotificationSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3866,7 +3866,7 @@ impl GattSubscribedClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxNotificationSizeChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3896,14 +3896,14 @@ impl GattValueChangedEventArgs { pub fn CharacteristicValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacteristicValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3929,28 +3929,28 @@ impl GattWriteRequest { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Option(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Option)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3960,7 +3960,7 @@ impl GattWriteRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3997,21 +3997,21 @@ impl GattWriteRequestedEventArgs { pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetRequestAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRequestAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4036,14 +4036,14 @@ impl GattWriteResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtocolError(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 a0740b6944..1a4dae0a1d 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs @@ -9,7 +9,7 @@ pub struct IRfcommDeviceService_Vtbl { pub ConnectionHostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Networking"))] ConnectionHostName: usize, - pub ConnectionServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectionServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Networking_Sockets")] pub ProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Networking::Sockets::SocketProtectionLevel) -> windows_core::HRESULT, @@ -60,8 +60,8 @@ impl windows_core::RuntimeType for IRfcommDeviceServiceStatics { #[repr(C)] pub struct IRfcommDeviceServiceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRfcommDeviceServiceStatics2, IRfcommDeviceServiceStatics2_Vtbl, 0xaa8cb1c9_e78d_4be4_8076_0a3d87a0a05f); impl windows_core::RuntimeType for IRfcommDeviceServiceStatics2 { @@ -70,10 +70,10 @@ impl windows_core::RuntimeType for IRfcommDeviceServiceStatics2 { #[repr(C)] pub struct IRfcommDeviceServiceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelectorForBluetoothDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorForBluetoothDeviceWithCacheMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::BluetoothCacheMode, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorForBluetoothDeviceAndServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorForBluetoothDeviceAndServiceIdWithCacheMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::BluetoothCacheMode, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorForBluetoothDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorForBluetoothDeviceWithCacheMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::BluetoothCacheMode, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorForBluetoothDeviceAndServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorForBluetoothDeviceAndServiceIdWithCacheMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::BluetoothCacheMode, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRfcommDeviceServicesResult, IRfcommDeviceServicesResult_Vtbl, 0x3b48388c_7ccf_488e_9625_d259a5732d55); impl windows_core::RuntimeType for IRfcommDeviceServicesResult { @@ -97,7 +97,7 @@ pub struct IRfcommServiceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub AsShortId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub AsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRfcommServiceIdStatics, IRfcommServiceIdStatics_Vtbl, 0x2a179eba_a975_46e3_b56b_08ffd783a5fe); impl windows_core::RuntimeType for IRfcommServiceIdStatics { @@ -168,21 +168,21 @@ impl RfcommDeviceService { pub fn ConnectionHostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionHostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionServiceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -190,7 +190,7 @@ impl RfcommDeviceService { pub fn ProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -198,7 +198,7 @@ impl RfcommDeviceService { pub fn MaxProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -206,7 +206,7 @@ impl RfcommDeviceService { pub fn GetSdpRawAttributesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSdpRawAttributesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -214,14 +214,14 @@ impl RfcommDeviceService { pub fn GetSdpRawAttributesWithCacheModeAsync(&self, cachemode: super::BluetoothCacheMode) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSdpRawAttributesWithCacheModeAsync)(windows_core::Interface::as_raw(this), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Device(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -229,7 +229,7 @@ impl RfcommDeviceService { pub fn DeviceAccessInformation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAccessInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -237,13 +237,13 @@ impl RfcommDeviceService { pub fn RequestAccessAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IRfcommDeviceServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -252,7 +252,7 @@ impl RfcommDeviceService { P0: windows_core::Param, { Self::IRfcommDeviceServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), serviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -261,7 +261,7 @@ impl RfcommDeviceService { P0: windows_core::Param, { Self::IRfcommDeviceServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDevice)(windows_core::Interface::as_raw(this), bluetoothdevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -270,7 +270,7 @@ impl RfcommDeviceService { P0: windows_core::Param, { Self::IRfcommDeviceServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceWithCacheMode)(windows_core::Interface::as_raw(this), bluetoothdevice.param().abi(), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -280,7 +280,7 @@ impl RfcommDeviceService { P1: windows_core::Param, { Self::IRfcommDeviceServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceAndServiceId)(windows_core::Interface::as_raw(this), bluetoothdevice.param().abi(), serviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -290,7 +290,7 @@ impl RfcommDeviceService { P1: windows_core::Param, { Self::IRfcommDeviceServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorForBluetoothDeviceAndServiceIdWithCacheMode)(windows_core::Interface::as_raw(this), bluetoothdevice.param().abi(), serviceid.param().abi(), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -325,7 +325,7 @@ impl RfcommDeviceServicesResult { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -333,7 +333,7 @@ impl RfcommDeviceServicesResult { pub fn Services(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Services)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -358,69 +358,69 @@ impl RfcommServiceId { pub fn Uuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AsShortId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AsShortId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromUuid(uuid: windows_core::GUID) -> windows_core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromUuid)(windows_core::Interface::as_raw(this), uuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromShortId(shortid: u32) -> windows_core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromShortId)(windows_core::Interface::as_raw(this), shortid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SerialPort() -> windows_core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SerialPort)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ObexObjectPush() -> windows_core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ObexObjectPush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ObexFileTransfer() -> windows_core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ObexFileTransfer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PhoneBookAccessPce() -> windows_core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneBookAccessPce)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PhoneBookAccessPse() -> windows_core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneBookAccessPse)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GenericFileTransfer() -> windows_core::Result { Self::IRfcommServiceIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenericFileTransfer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -450,7 +450,7 @@ impl RfcommServiceProvider { pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -458,7 +458,7 @@ impl RfcommServiceProvider { pub fn SdpRawAttributes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SdpRawAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -487,7 +487,7 @@ impl RfcommServiceProvider { P0: windows_core::Param, { Self::IRfcommServiceProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), serviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::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 67d5f124fb..ff0b60bb6e 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs @@ -13,7 +13,7 @@ impl windows_core::RuntimeType for IBluetoothAdapter { #[repr(C)] pub struct IBluetoothAdapter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BluetoothAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub IsClassicSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsLowEnergySupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -52,8 +52,8 @@ impl windows_core::RuntimeType for IBluetoothAdapterStatics { #[repr(C)] pub struct IBluetoothAdapterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBluetoothClassOfDevice, IBluetoothClassOfDevice_Vtbl, 0xd640227e_d7d7_4661_9454_65039ca17a2b); @@ -85,12 +85,12 @@ impl windows_core::RuntimeType for IBluetoothDevice { #[repr(C)] pub struct IBluetoothDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Networking")] pub HostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Networking"))] HostName: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClassOfDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub SdpRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -178,7 +178,7 @@ impl windows_core::RuntimeType for IBluetoothDeviceId { #[repr(C)] pub struct IBluetoothDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsClassicDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsLowEnergyDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -189,7 +189,7 @@ impl windows_core::RuntimeType for IBluetoothDeviceIdStatics { #[repr(C)] pub struct IBluetoothDeviceIdStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBluetoothDeviceStatics, IBluetoothDeviceStatics_Vtbl, 0x0991df51_57db_4725_bbd7_84f64327ec2c); impl windows_core::RuntimeType for IBluetoothDeviceStatics { @@ -198,13 +198,13 @@ impl windows_core::RuntimeType for IBluetoothDeviceStatics { #[repr(C)] pub struct IBluetoothDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Networking")] pub FromHostNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Networking"))] FromHostNameAsync: usize, pub FromBluetoothAddressAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBluetoothDeviceStatics2, IBluetoothDeviceStatics2_Vtbl, 0xc29e8e2f_4e14_4477_aa1b_b8b47e5b7ece); impl windows_core::RuntimeType for IBluetoothDeviceStatics2 { @@ -213,11 +213,11 @@ impl windows_core::RuntimeType for IBluetoothDeviceStatics2 { #[repr(C)] pub struct IBluetoothDeviceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelectorFromPairingState: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, BluetoothConnectionStatus, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromBluetoothAddress: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromClassOfDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromPairingState: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, BluetoothConnectionStatus, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromBluetoothAddress: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromClassOfDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBluetoothLEAppearance, IBluetoothLEAppearance_Vtbl, 0x5d2079f2_66a8_4258_985e_02b4d9509f18); impl windows_core::RuntimeType for IBluetoothLEAppearance { @@ -345,8 +345,8 @@ impl windows_core::RuntimeType for IBluetoothLEDevice { #[repr(C)] pub struct IBluetoothLEDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "Foundation_Collections", feature = "deprecated"))] pub GattServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "Foundation_Collections", feature = "deprecated")))] @@ -450,9 +450,9 @@ impl windows_core::RuntimeType for IBluetoothLEDeviceStatics { #[repr(C)] pub struct IBluetoothLEDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FromBluetoothAddressAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBluetoothLEDeviceStatics2, IBluetoothLEDeviceStatics2_Vtbl, 0x5f12c06b_3bac_43e8_ad16_563271bd41c2); impl windows_core::RuntimeType for IBluetoothLEDeviceStatics2 { @@ -461,12 +461,12 @@ impl windows_core::RuntimeType for IBluetoothLEDeviceStatics2 { #[repr(C)] pub struct IBluetoothLEDeviceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelectorFromPairingState: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, BluetoothConnectionStatus, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromBluetoothAddress: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType: unsafe extern "system" fn(*mut core::ffi::c_void, u64, BluetoothAddressType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromAppearance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromPairingState: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, BluetoothConnectionStatus, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromBluetoothAddress: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType: unsafe extern "system" fn(*mut core::ffi::c_void, u64, BluetoothAddressType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromAppearance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FromBluetoothAddressWithBluetoothAddressTypeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u64, BluetoothAddressType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBluetoothLEPreferredConnectionParameters, IBluetoothLEPreferredConnectionParameters_Vtbl, 0xf2f44344_7372_5f7b_9b34_29c944f5a715); @@ -535,49 +535,49 @@ impl BluetoothAdapter { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BluetoothAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluetoothAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsClassicSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsClassicSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLowEnergySupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLowEnergySupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPeripheralRoleSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPeripheralRoleSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCentralRoleSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCentralRoleSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAdvertisementOffloadSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAdvertisementOffloadSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -585,53 +585,53 @@ impl BluetoothAdapter { pub fn GetRadioAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRadioAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AreClassicSecureConnectionsSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreClassicSecureConnectionsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AreLowEnergySecureConnectionsSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreLowEnergySecureConnectionsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsExtendedAdvertisingSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsExtendedAdvertisingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxAdvertisementDataLength(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAdvertisementDataLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeviceSelector() -> windows_core::Result { Self::IBluetoothAdapterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IBluetoothAdapterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IBluetoothAdapterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -661,40 +661,40 @@ impl BluetoothClassOfDevice { pub fn RawValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MajorClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MajorClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinorClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinorClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ServiceCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FromRawValue(rawvalue: u32) -> windows_core::Result { Self::IBluetoothClassOfDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromRawValue)(windows_core::Interface::as_raw(this), rawvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromParts(majorclass: BluetoothMajorClass, minorclass: BluetoothMinorClass, servicecapabilities: BluetoothServiceCapabilities) -> windows_core::Result { Self::IBluetoothClassOfDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromParts)(windows_core::Interface::as_raw(this), majorclass, minorclass, servicecapabilities, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -725,7 +725,7 @@ impl BluetoothDevice { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -733,21 +733,21 @@ impl BluetoothDevice { pub fn HostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClassOfDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClassOfDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -755,7 +755,7 @@ impl BluetoothDevice { pub fn SdpRecords(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SdpRecords)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -763,21 +763,21 @@ impl BluetoothDevice { pub fn RfcommServices(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RfcommServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BluetoothAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluetoothAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -787,7 +787,7 @@ impl BluetoothDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NameChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -801,7 +801,7 @@ impl BluetoothDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SdpRecordsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -815,7 +815,7 @@ impl BluetoothDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -827,7 +827,7 @@ impl BluetoothDevice { pub fn DeviceInformation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -835,7 +835,7 @@ impl BluetoothDevice { pub fn DeviceAccessInformation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAccessInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -843,7 +843,7 @@ impl BluetoothDevice { pub fn RequestAccessAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -851,7 +851,7 @@ impl BluetoothDevice { pub fn GetRfcommServicesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRfcommServicesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -859,7 +859,7 @@ impl BluetoothDevice { pub fn GetRfcommServicesWithCacheModeAsync(&self, cachemode: BluetoothCacheMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRfcommServicesWithCacheModeAsync)(windows_core::Interface::as_raw(this), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -870,7 +870,7 @@ impl BluetoothDevice { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRfcommServicesForIdAsync)(windows_core::Interface::as_raw(this), serviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -881,27 +881,27 @@ impl BluetoothDevice { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRfcommServicesForIdWithCacheModeAsync)(windows_core::Interface::as_raw(this), serviceid.param().abi(), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BluetoothDeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluetoothDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WasSecureConnectionUsedForPairing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WasSecureConnectionUsedForPairing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IBluetoothDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -911,43 +911,43 @@ impl BluetoothDevice { P0: windows_core::Param, { Self::IBluetoothDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromHostNameAsync)(windows_core::Interface::as_raw(this), hostname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromBluetoothAddressAsync(address: u64) -> windows_core::Result> { Self::IBluetoothDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromBluetoothAddressAsync)(windows_core::Interface::as_raw(this), address, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IBluetoothDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromPairingState(pairingstate: bool) -> windows_core::Result { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromPairingState)(windows_core::Interface::as_raw(this), pairingstate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromConnectionStatus(connectionstatus: BluetoothConnectionStatus) -> windows_core::Result { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromConnectionStatus)(windows_core::Interface::as_raw(this), connectionstatus, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromDeviceName(devicename: &windows_core::HSTRING) -> windows_core::Result { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromDeviceName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(devicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromBluetoothAddress(bluetoothaddress: u64) -> windows_core::Result { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromBluetoothAddress)(windows_core::Interface::as_raw(this), bluetoothaddress, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -956,7 +956,7 @@ impl BluetoothDevice { P0: windows_core::Param, { Self::IBluetoothDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromClassOfDevice)(windows_core::Interface::as_raw(this), classofdevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -995,27 +995,27 @@ impl BluetoothDeviceId { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsClassicDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsClassicDevice)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLowEnergyDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLowEnergyDevice)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FromId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IBluetoothDeviceIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1045,33 +1045,33 @@ impl BluetoothLEAppearance { pub fn RawValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SubCategory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubCategory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FromRawValue(rawvalue: u16) -> windows_core::Result { Self::IBluetoothLEAppearanceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromRawValue)(windows_core::Interface::as_raw(this), rawvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromParts(appearancecategory: u16, appearancesubcategory: u16) -> windows_core::Result { Self::IBluetoothLEAppearanceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromParts)(windows_core::Interface::as_raw(this), appearancecategory, appearancesubcategory, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1097,133 +1097,133 @@ pub struct BluetoothLEAppearanceCategories; impl BluetoothLEAppearanceCategories { pub fn Uncategorized() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uncategorized)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Phone() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Phone)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Computer() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Computer)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Watch() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Watch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Clock() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clock)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Display() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Display)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RemoteControl() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteControl)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn EyeGlasses() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EyeGlasses)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Tag() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Keyring() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Keyring)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediaPlayer() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaPlayer)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BarcodeScanner() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BarcodeScanner)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Thermometer() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thermometer)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HeartRate() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeartRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BloodPressure() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BloodPressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HumanInterfaceDevice() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HumanInterfaceDevice)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GlucoseMeter() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GlucoseMeter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RunningWalking() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunningWalking)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Cycling() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cycling)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PulseOximeter() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PulseOximeter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn WeightScale() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WeightScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn OutdoorSportActivity() -> windows_core::Result { Self::IBluetoothLEAppearanceCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutdoorSportActivity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1240,169 +1240,169 @@ pub struct BluetoothLEAppearanceSubcategories; impl BluetoothLEAppearanceSubcategories { pub fn Generic() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Generic)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SportsWatch() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SportsWatch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ThermometerEar() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThermometerEar)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HeartRateBelt() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeartRateBelt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BloodPressureArm() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BloodPressureArm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BloodPressureWrist() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BloodPressureWrist)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Keyboard() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Keyboard)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Mouse() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mouse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Joystick() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Joystick)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Gamepad() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gamepad)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DigitizerTablet() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DigitizerTablet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CardReader() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardReader)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DigitalPen() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DigitalPen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BarcodeScanner() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BarcodeScanner)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RunningWalkingInShoe() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunningWalkingInShoe)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RunningWalkingOnShoe() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunningWalkingOnShoe)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RunningWalkingOnHip() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunningWalkingOnHip)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingComputer() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingComputer)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingSpeedSensor() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingSpeedSensor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingCadenceSensor() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingCadenceSensor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingPowerSensor() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingPowerSensor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CyclingSpeedCadenceSensor() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CyclingSpeedCadenceSensor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn OximeterFingertip() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OximeterFingertip)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn OximeterWristWorn() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OximeterWristWorn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LocationDisplay() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationDisplay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LocationNavigationDisplay() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationNavigationDisplay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LocationPod() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationPod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LocationNavigationPod() -> windows_core::Result { Self::IBluetoothLEAppearanceSubcategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationNavigationPod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1423,21 +1423,21 @@ impl BluetoothLEConnectionParameters { pub fn LinkTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinkTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConnectionLatency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConnectionInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1462,14 +1462,14 @@ impl BluetoothLEConnectionPhy { pub fn TransmitInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransmitInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReceiveInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReceiveInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1494,21 +1494,21 @@ impl BluetoothLEConnectionPhyInfo { pub fn IsUncoded1MPhy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUncoded1MPhy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUncoded2MPhy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUncoded2MPhy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCodedPhy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCodedPhy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1534,14 +1534,14 @@ impl BluetoothLEDevice { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1549,21 +1549,21 @@ impl BluetoothLEDevice { pub fn GattServices(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GattServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BluetoothAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluetoothAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1571,7 +1571,7 @@ impl BluetoothLEDevice { pub fn GetGattService(&self, serviceuuid: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGattService)(windows_core::Interface::as_raw(this), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1581,7 +1581,7 @@ impl BluetoothLEDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NameChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1595,7 +1595,7 @@ impl BluetoothLEDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GattServicesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1609,7 +1609,7 @@ impl BluetoothLEDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1621,21 +1621,21 @@ impl BluetoothLEDevice { pub fn DeviceInformation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Appearance(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Appearance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BluetoothAddressType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluetoothAddressType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1643,7 +1643,7 @@ impl BluetoothLEDevice { pub fn DeviceAccessInformation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAccessInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1651,7 +1651,7 @@ impl BluetoothLEDevice { pub fn RequestAccessAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1659,7 +1659,7 @@ impl BluetoothLEDevice { pub fn GetGattServicesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGattServicesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1667,7 +1667,7 @@ impl BluetoothLEDevice { pub fn GetGattServicesWithCacheModeAsync(&self, cachemode: BluetoothCacheMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGattServicesWithCacheModeAsync)(windows_core::Interface::as_raw(this), cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1675,7 +1675,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGattServicesForUuidAsync)(windows_core::Interface::as_raw(this), serviceuuid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1683,35 +1683,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGattServicesForUuidWithCacheModeAsync)(windows_core::Interface::as_raw(this), serviceuuid, cachemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BluetoothDeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluetoothDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WasSecureConnectionUsedForPairing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WasSecureConnectionUsedForPairing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetConnectionParameters(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectionParameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConnectionPhy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectionPhy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1721,7 +1721,7 @@ impl BluetoothLEDevice { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPreferredConnectionParameters)(windows_core::Interface::as_raw(this), preferredconnectionparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1731,7 +1731,7 @@ impl BluetoothLEDevice { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionParametersChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1745,7 +1745,7 @@ impl BluetoothLEDevice { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionPhyChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1755,49 +1755,49 @@ impl BluetoothLEDevice { } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IBluetoothLEDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromBluetoothAddressAsync(bluetoothaddress: u64) -> windows_core::Result> { Self::IBluetoothLEDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromBluetoothAddressAsync)(windows_core::Interface::as_raw(this), bluetoothaddress, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IBluetoothLEDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromPairingState(pairingstate: bool) -> windows_core::Result { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromPairingState)(windows_core::Interface::as_raw(this), pairingstate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromConnectionStatus(connectionstatus: BluetoothConnectionStatus) -> windows_core::Result { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromConnectionStatus)(windows_core::Interface::as_raw(this), connectionstatus, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromDeviceName(devicename: &windows_core::HSTRING) -> windows_core::Result { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromDeviceName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(devicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromBluetoothAddress(bluetoothaddress: u64) -> windows_core::Result { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromBluetoothAddress)(windows_core::Interface::as_raw(this), bluetoothaddress, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType(bluetoothaddress: u64, bluetoothaddresstype: BluetoothAddressType) -> windows_core::Result { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromBluetoothAddressWithBluetoothAddressType)(windows_core::Interface::as_raw(this), bluetoothaddress, bluetoothaddresstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1806,13 +1806,13 @@ impl BluetoothLEDevice { P0: windows_core::Param, { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromAppearance)(windows_core::Interface::as_raw(this), appearance.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromBluetoothAddressWithBluetoothAddressTypeAsync(bluetoothaddress: u64, bluetoothaddresstype: BluetoothAddressType) -> windows_core::Result> { Self::IBluetoothLEDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromBluetoothAddressWithBluetoothAddressTypeAsync)(windows_core::Interface::as_raw(this), bluetoothaddress, bluetoothaddresstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1851,46 +1851,46 @@ impl BluetoothLEPreferredConnectionParameters { pub fn LinkTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinkTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConnectionLatency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinConnectionInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinConnectionInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxConnectionInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxConnectionInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Balanced() -> windows_core::Result { Self::IBluetoothLEPreferredConnectionParametersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Balanced)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ThroughputOptimized() -> windows_core::Result { Self::IBluetoothLEPreferredConnectionParametersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThroughputOptimized)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PowerOptimized() -> windows_core::Result { Self::IBluetoothLEPreferredConnectionParametersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerOptimized)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1921,7 +1921,7 @@ impl BluetoothLEPreferredConnectionParametersRequest { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1957,7 +1957,7 @@ impl BluetoothSignalStrengthFilter { pub fn InRangeThresholdInDBm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InRangeThresholdInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1971,7 +1971,7 @@ impl BluetoothSignalStrengthFilter { pub fn OutOfRangeThresholdInDBm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutOfRangeThresholdInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1985,7 +1985,7 @@ impl BluetoothSignalStrengthFilter { pub fn OutOfRangeTimeout(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutOfRangeTimeout)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1999,7 +1999,7 @@ impl BluetoothSignalStrengthFilter { pub fn SamplingInterval(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SamplingInterval)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2027,13 +2027,13 @@ pub struct BluetoothUuidHelper; impl BluetoothUuidHelper { pub fn FromShortId(shortid: u32) -> windows_core::Result { Self::IBluetoothUuidHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromShortId)(windows_core::Interface::as_raw(this), shortid, &mut result__).map(|| result__) }) } pub fn TryGetShortId(uuid: windows_core::GUID) -> windows_core::Result> { Self::IBluetoothUuidHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetShortId)(windows_core::Interface::as_raw(this), uuid, &mut result__).and_then(|| windows_core::Type::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 8f48c50a19..f389e4e628 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs @@ -29,14 +29,14 @@ impl windows_core::RuntimeType for ICustomDeviceStatics { #[repr(C)] pub struct ICustomDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, DeviceAccessMode, DeviceSharingMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, DeviceAccessMode, DeviceSharingMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIOControlCode, IIOControlCode_Vtbl, 0x0e9559e7_60c8_4375_a761_7f8808066c60); impl std::ops::Deref for IIOControlCode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIOControlCode, windows_core::IUnknown, windows_core::IInspectable); @@ -44,35 +44,35 @@ impl IIOControlCode { pub fn AccessMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BufferingMethod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferingMethod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Function(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Function)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ControlCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -116,7 +116,7 @@ impl CustomDevice { pub fn InputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -124,7 +124,7 @@ impl CustomDevice { pub fn OutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -137,7 +137,7 @@ impl CustomDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendIOControlAsync)(windows_core::Interface::as_raw(this), iocontrolcode.param().abi(), inputbuffer.param().abi(), outputbuffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -150,19 +150,19 @@ impl CustomDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySendIOControlAsync)(windows_core::Interface::as_raw(this), iocontrolcode.param().abi(), inputbuffer.param().abi(), outputbuffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelector(classguid: windows_core::GUID) -> windows_core::Result { Self::ICustomDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), classguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING, desiredaccess: DeviceAccessMode, sharingmode: DeviceSharingMode) -> windows_core::Result> { Self::ICustomDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), desiredaccess, sharingmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -193,41 +193,41 @@ impl IOControlCode { pub fn AccessMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BufferingMethod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferingMethod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Function(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Function)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ControlCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateIOControlCode(devicetype: u16, function: u16, accessmode: IOControlAccessMode, bufferingmethod: IOControlBufferingMethod) -> windows_core::Result { Self::IIOControlCodeFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateIOControlCode)(windows_core::Interface::as_raw(this), devicetype, function, accessmode, bufferingmethod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -253,7 +253,7 @@ pub struct KnownDeviceTypes; impl KnownDeviceTypes { pub fn Unknown() -> windows_core::Result { Self::IKnownDeviceTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unknown)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 cb3e8beeeb..b05df93ad9 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs @@ -9,7 +9,7 @@ pub struct IDisplayAdapter_Vtbl { pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Graphics::DisplayAdapterId) -> windows_core::HRESULT, #[cfg(not(feature = "Graphics"))] Id: usize, - pub DeviceInterfacePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceInterfacePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SourceCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub PciVendorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub PciDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -439,14 +439,14 @@ impl windows_core::RuntimeType for IDisplayTarget { pub struct IDisplayTarget_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Adapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeviceInterfacePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceInterfacePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AdapterRelativeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsVirtualModeEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsVirtualTopologyEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub UsageKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::DisplayMonitorUsageKind) -> windows_core::HRESULT, pub MonitorPersistence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayTargetPersistence) -> windows_core::HRESULT, - pub StableMonitorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StableMonitorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TryGetMonitor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -580,49 +580,49 @@ impl DisplayAdapter { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceInterfacePath(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInterfacePath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PciVendorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PciVendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PciDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PciDeviceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PciSubSystemId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PciSubSystemId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PciRevision(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PciRevision)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -630,14 +630,14 @@ impl DisplayAdapter { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Graphics")] pub fn FromId(id: super::super::super::Graphics::DisplayAdapterId) -> windows_core::Result { Self::IDisplayAdapterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -670,7 +670,7 @@ impl DisplayDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateScanoutSource)(windows_core::Interface::as_raw(this), target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -681,14 +681,14 @@ impl DisplayDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePrimary)(windows_core::Interface::as_raw(this), target.param().abi(), desc.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateTaskPool(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTaskPool)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -698,7 +698,7 @@ impl DisplayDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePeriodicFence)(windows_core::Interface::as_raw(this), target.param().abi(), offsetfromvblank, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -716,14 +716,14 @@ impl DisplayDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSimpleScanout)(windows_core::Interface::as_raw(this), psource.param().abi(), psurface.param().abi(), subresourceindex, syncinterval, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsCapabilitySupported(&self, capability: DisplayDeviceCapability) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCapabilitySupported)(windows_core::Interface::as_raw(this), capability, &mut result__).map(|| result__) } } @@ -736,7 +736,7 @@ impl DisplayDevice { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSimpleScanoutWithDirtyRectsAndOptions)(windows_core::Interface::as_raw(this), source.param().abi(), surface.param().abi(), subresourceindex, syncinterval, dirtyrects.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -784,7 +784,7 @@ impl DisplayManager { pub fn GetCurrentTargets(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentTargets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -792,7 +792,7 @@ impl DisplayManager { pub fn GetCurrentAdapters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentAdapters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -802,7 +802,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAcquireTarget)(windows_core::Interface::as_raw(this), target.param().abi(), &mut result__).map(|| result__) } } @@ -816,7 +816,7 @@ impl DisplayManager { pub fn TryReadCurrentStateForAllTargets(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryReadCurrentStateForAllTargets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -827,7 +827,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAcquireTargetsAndReadCurrentState)(windows_core::Interface::as_raw(this), targets.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -838,7 +838,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAcquireTargetsAndCreateEmptyState)(windows_core::Interface::as_raw(this), targets.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -850,7 +850,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAcquireTargetsAndCreateSubstate)(windows_core::Interface::as_raw(this), existingstate.param().abi(), targets.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -860,7 +860,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDisplayDevice)(windows_core::Interface::as_raw(this), adapter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -870,7 +870,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -884,7 +884,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Disabled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -898,7 +898,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -912,7 +912,7 @@ impl DisplayManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PathsFailedOrInvalidated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -930,7 +930,7 @@ impl DisplayManager { } pub fn Create(options: DisplayManagerOptions) -> windows_core::Result { Self::IDisplayManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -960,7 +960,7 @@ impl DisplayManagerChangedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -971,7 +971,7 @@ impl DisplayManagerChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -996,7 +996,7 @@ impl DisplayManagerDisabledEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1007,7 +1007,7 @@ impl DisplayManagerDisabledEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1032,7 +1032,7 @@ impl DisplayManagerEnabledEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1043,7 +1043,7 @@ impl DisplayManagerEnabledEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1068,7 +1068,7 @@ impl DisplayManagerPathsFailedOrInvalidatedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1079,7 +1079,7 @@ impl DisplayManagerPathsFailedOrInvalidatedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1104,21 +1104,21 @@ impl DisplayManagerResultWithState { pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1144,14 +1144,14 @@ impl DisplayModeInfo { pub fn SourceResolution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStereo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStereo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1159,7 +1159,7 @@ impl DisplayModeInfo { pub fn SourcePixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourcePixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1167,7 +1167,7 @@ impl DisplayModeInfo { pub fn TargetResolution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1175,21 +1175,21 @@ impl DisplayModeInfo { pub fn PresentationRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInterlaced(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInterlaced)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetWireFormatSupportedBitsPerChannel(&self, encoding: DisplayWireFormatPixelEncoding) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWireFormatSupportedBitsPerChannel)(windows_core::Interface::as_raw(this), encoding, &mut result__).map(|| result__) } } @@ -1199,7 +1199,7 @@ impl DisplayModeInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWireFormatSupported)(windows_core::Interface::as_raw(this), wireformat.param().abi(), &mut result__).map(|| result__) } } @@ -1207,7 +1207,7 @@ impl DisplayModeInfo { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1215,7 +1215,7 @@ impl DisplayModeInfo { pub fn PhysicalPresentationRate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalPresentationRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1240,21 +1240,21 @@ impl DisplayPath { pub fn View(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).View)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Target(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1262,7 +1262,7 @@ impl DisplayPath { pub fn SourceResolution(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceResolution)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1278,7 +1278,7 @@ impl DisplayPath { pub fn SourcePixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourcePixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1290,7 +1290,7 @@ impl DisplayPath { pub fn IsStereo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStereo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1302,7 +1302,7 @@ impl DisplayPath { pub fn TargetResolution(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetResolution)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1318,7 +1318,7 @@ impl DisplayPath { pub fn PresentationRate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1333,7 +1333,7 @@ impl DisplayPath { pub fn IsInterlaced(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInterlaced)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1347,7 +1347,7 @@ impl DisplayPath { pub fn WireFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WireFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1361,7 +1361,7 @@ impl DisplayPath { pub fn Rotation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rotation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1372,7 +1372,7 @@ impl DisplayPath { pub fn Scaling(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scaling)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1384,7 +1384,7 @@ impl DisplayPath { pub fn FindModes(&self, flags: DisplayModeQueryOptions) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindModes)(windows_core::Interface::as_raw(this), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1399,7 +1399,7 @@ impl DisplayPath { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1407,7 +1407,7 @@ impl DisplayPath { pub fn PhysicalPresentationRate(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalPresentationRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1440,14 +1440,14 @@ impl DisplayPrimaryDescription { pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1455,7 +1455,7 @@ impl DisplayPrimaryDescription { pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1463,14 +1463,14 @@ impl DisplayPrimaryDescription { pub fn ColorSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorSpace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStereo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStereo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1478,7 +1478,7 @@ impl DisplayPrimaryDescription { pub fn MultisampleDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MultisampleDescription)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1486,14 +1486,14 @@ impl DisplayPrimaryDescription { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), width, height, pixelformat, colorspace, isstereo, multisampledescription, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1503,7 +1503,7 @@ impl DisplayPrimaryDescription { P0: windows_core::Param>>, { Self::IDisplayPrimaryDescriptionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), extraproperties.param().abi(), width, height, pixelformat, colorspace, isstereo, multisampledescription, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1556,14 +1556,14 @@ impl DisplaySource { pub fn AdapterId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdapterId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SourceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1571,14 +1571,14 @@ impl DisplaySource { pub fn GetMetadata(&self, key: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMetadata)(windows_core::Interface::as_raw(this), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1588,7 +1588,7 @@ impl DisplaySource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1617,14 +1617,14 @@ impl DisplayState { pub fn IsReadOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1632,7 +1632,7 @@ impl DisplayState { pub fn Targets(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Targets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1640,7 +1640,7 @@ impl DisplayState { pub fn Views(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Views)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1648,7 +1648,7 @@ impl DisplayState { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1658,7 +1658,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectTarget)(windows_core::Interface::as_raw(this), target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1669,7 +1669,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectTargetToView)(windows_core::Interface::as_raw(this), target.param().abi(), view.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1680,7 +1680,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanConnectTargetToView)(windows_core::Interface::as_raw(this), target.param().abi(), view.param().abi(), &mut result__).map(|| result__) } } @@ -1690,7 +1690,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetViewForTarget)(windows_core::Interface::as_raw(this), target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1700,7 +1700,7 @@ impl DisplayState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPathForTarget)(windows_core::Interface::as_raw(this), target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1714,21 +1714,21 @@ impl DisplayState { pub fn TryFunctionalize(&self, options: DisplayStateFunctionalizeOptions) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryFunctionalize)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryApply(&self, options: DisplayStateApplyOptions) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryApply)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1753,14 +1753,14 @@ impl DisplayStateOperationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1802,70 +1802,70 @@ impl DisplayTarget { pub fn Adapter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Adapter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceInterfacePath(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInterfacePath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AdapterRelativeId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdapterRelativeId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsConnected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVirtualModeEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVirtualModeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVirtualTopologyEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVirtualTopologyEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsageKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsageKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MonitorPersistence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonitorPersistence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StableMonitorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StableMonitorId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetMonitor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetMonitor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1873,14 +1873,14 @@ impl DisplayTarget { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsStale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1890,7 +1890,7 @@ impl DisplayTarget { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSame)(windows_core::Interface::as_raw(this), othertarget.param().abi(), &mut result__).map(|| result__) } } @@ -1900,7 +1900,7 @@ impl DisplayTarget { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), othertarget.param().abi(), &mut result__).map(|| result__) } } @@ -1964,7 +1964,7 @@ impl DisplayTaskPool { pub fn CreateTask(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTask)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1982,7 +1982,7 @@ impl DisplayTaskPool { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryExecuteTask)(windows_core::Interface::as_raw(this), task.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2007,21 +2007,21 @@ impl DisplayTaskResult { pub fn PresentStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PresentId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SourceStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2047,7 +2047,7 @@ impl DisplayView { pub fn Paths(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Paths)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2055,7 +2055,7 @@ impl DisplayView { pub fn ContentResolution(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentResolution)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2078,7 +2078,7 @@ impl DisplayView { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2103,35 +2103,35 @@ impl DisplayWireFormat { pub fn PixelEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelEncoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BitsPerChannel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitsPerChannel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColorSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorSpace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Eotf(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Eotf)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HdrMetadata(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HdrMetadata)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2139,13 +2139,13 @@ impl DisplayWireFormat { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), pixelencoding, bitsperchannel, colorspace, eotf, hdrmetadata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2155,7 +2155,7 @@ impl DisplayWireFormat { P0: windows_core::Param>>, { Self::IDisplayWireFormatStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), extraproperties.param().abi(), pixelencoding, bitsperchannel, colorspace, eotf, hdrmetadata, &mut result__).and_then(|| windows_core::Type::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 db43581622..b515d0eff2 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/mod.rs @@ -7,11 +7,11 @@ impl windows_core::RuntimeType for IDisplayMonitor { #[repr(C)] pub struct IDisplayMonitor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ConnectionKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayMonitorConnectionKind) -> windows_core::HRESULT, pub PhysicalConnector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayMonitorPhysicalConnectorKind) -> windows_core::HRESULT, - pub DisplayAdapterDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayAdapterDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Graphics")] pub DisplayAdapterId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Graphics::DisplayAdapterId) -> windows_core::HRESULT, #[cfg(not(feature = "Graphics"))] @@ -50,9 +50,9 @@ impl windows_core::RuntimeType for IDisplayMonitorStatics { #[repr(C)] pub struct IDisplayMonitorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromInterfaceIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromInterfaceIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -62,35 +62,35 @@ impl DisplayMonitor { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhysicalConnector(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalConnector)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DisplayAdapterDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayAdapterDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -98,21 +98,21 @@ impl DisplayMonitor { pub fn DisplayAdapterId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayAdapterId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DisplayAdapterTargetId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayAdapterTargetId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsageKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsageKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -120,77 +120,77 @@ impl DisplayMonitor { pub fn NativeResolutionInRawPixels(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NativeResolutionInRawPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhysicalSizeInInches(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalSizeInInches)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RawDpiX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawDpiX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RawDpiY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawDpiY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RedPrimary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedPrimary)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GreenPrimary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GreenPrimary)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BluePrimary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluePrimary)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WhitePoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WhitePoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxLuminanceInNits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxLuminanceInNits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinLuminanceInNits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinLuminanceInNits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxAverageFullFrameLuminanceInNits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAverageFullFrameLuminanceInNits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -198,31 +198,31 @@ impl DisplayMonitor { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetDescriptor)(windows_core::Interface::as_raw(this), descriptorkind, windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn IsDolbyVisionSupportedInHdrMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDolbyVisionSupportedInHdrMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeviceSelector() -> windows_core::Result { Self::IDisplayMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IDisplayMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromInterfaceIdAsync(deviceinterfaceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IDisplayMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromInterfaceIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceinterfaceid), &mut result__).and_then(|| windows_core::Type::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 e1e782b254..2e871d56e6 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs @@ -6,7 +6,7 @@ impl windows_core::RuntimeType for IPnpObject { pub struct IPnpObject_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PnpObjectType) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -21,7 +21,7 @@ impl windows_core::RuntimeType for IPnpObjectStatics { pub struct IPnpObjectStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub CreateFromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, PnpObjectType, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, PnpObjectType, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateFromIdAsync: usize, #[cfg(feature = "Foundation_Collections")] @@ -29,7 +29,7 @@ pub struct IPnpObjectStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub FindAllAsyncAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, PnpObjectType, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllAsyncAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, PnpObjectType, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncAqsFilter: usize, #[cfg(feature = "Foundation_Collections")] @@ -37,7 +37,7 @@ pub struct IPnpObjectStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWatcher: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateWatcherAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, PnpObjectType, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWatcherAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, PnpObjectType, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWatcherAqsFilter: usize, } @@ -49,7 +49,7 @@ impl windows_core::RuntimeType for IPnpObjectUpdate { pub struct IPnpObjectUpdate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PnpObjectType) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -84,14 +84,14 @@ impl PnpObject { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -99,7 +99,7 @@ impl PnpObject { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -116,7 +116,7 @@ impl PnpObject { P0: windows_core::Param>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIdAsync)(windows_core::Interface::as_raw(this), r#type, core::mem::transmute_copy(id), requestedproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -126,7 +126,7 @@ impl PnpObject { P0: windows_core::Param>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), r#type, requestedproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -136,7 +136,7 @@ impl PnpObject { P0: windows_core::Param>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsyncAqsFilter)(windows_core::Interface::as_raw(this), r#type, requestedproperties.param().abi(), core::mem::transmute_copy(aqsfilter), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -146,7 +146,7 @@ impl PnpObject { P0: windows_core::Param>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), r#type, requestedproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -156,7 +156,7 @@ impl PnpObject { P0: windows_core::Param>, { Self::IPnpObjectStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcherAqsFilter)(windows_core::Interface::as_raw(this), r#type, requestedproperties.param().abi(), core::mem::transmute_copy(aqsfilter), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -192,7 +192,7 @@ impl PnpObjectCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -200,7 +200,7 @@ impl PnpObjectCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -208,7 +208,7 @@ impl PnpObjectCollection { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -219,7 +219,7 @@ impl PnpObjectCollection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -227,7 +227,7 @@ impl PnpObjectCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -273,14 +273,14 @@ impl PnpObjectUpdate { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -288,7 +288,7 @@ impl PnpObjectUpdate { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -316,7 +316,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -330,7 +330,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -344,7 +344,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -358,7 +358,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -372,7 +372,7 @@ impl PnpObjectWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -383,7 +383,7 @@ impl PnpObjectWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index ed3d3f1e3b..099fd296b0 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -16,7 +16,7 @@ impl windows_core::RuntimeType for IDeviceAccessChangedEventArgs2 { #[repr(C)] pub struct IDeviceAccessChangedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceAccessInformation, IDeviceAccessInformation_Vtbl, 0x0baa9a73_6de5_4915_8ddd_9a0554a6f545); impl windows_core::RuntimeType for IDeviceAccessInformation { @@ -36,7 +36,7 @@ impl windows_core::RuntimeType for IDeviceAccessInformationStatics { #[repr(C)] pub struct IDeviceAccessInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFromDeviceClassId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFromDeviceClass: unsafe extern "system" fn(*mut core::ffi::c_void, DeviceClass, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -47,7 +47,7 @@ impl windows_core::RuntimeType for IDeviceConnectionChangeTriggerDetails { #[repr(C)] pub struct IDeviceConnectionChangeTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceDisconnectButtonClickedEventArgs, IDeviceDisconnectButtonClickedEventArgs_Vtbl, 0x8e44b56d_f902_4a00_b536_f37992e6a2a7); impl windows_core::RuntimeType for IDeviceDisconnectButtonClickedEventArgs { @@ -65,8 +65,8 @@ impl windows_core::RuntimeType for IDeviceInformation { #[repr(C)] pub struct IDeviceInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub EnclosureLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -156,9 +156,9 @@ impl windows_core::RuntimeType for IDeviceInformationStatics { #[repr(C)] pub struct IDeviceInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub CreateFromIdAsyncAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromIdAsyncAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateFromIdAsyncAdditionalProperties: usize, #[cfg(feature = "Foundation_Collections")] @@ -170,18 +170,18 @@ pub struct IDeviceInformationStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncDeviceClass: usize, #[cfg(feature = "Foundation_Collections")] - pub FindAllAsyncAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllAsyncAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncAqsFilter: usize, #[cfg(feature = "Foundation_Collections")] - pub FindAllAsyncAqsFilterAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllAsyncAqsFilterAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncAqsFilterAndAdditionalProperties: usize, pub CreateWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWatcherDeviceClass: unsafe extern "system" fn(*mut core::ffi::c_void, DeviceClass, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWatcherAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWatcherAqsFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub CreateWatcherAqsFilterAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWatcherAqsFilterAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWatcherAqsFilterAndAdditionalProperties: usize, } @@ -192,17 +192,17 @@ impl windows_core::RuntimeType for IDeviceInformationStatics2 { #[repr(C)] pub struct IDeviceInformationStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetAqsFilterFromDeviceClass: unsafe extern "system" fn(*mut core::ffi::c_void, DeviceClass, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAqsFilterFromDeviceClass: unsafe extern "system" fn(*mut core::ffi::c_void, DeviceClass, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub CreateFromIdAsyncWithKindAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, DeviceInformationKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromIdAsyncWithKindAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, DeviceInformationKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateFromIdAsyncWithKindAndAdditionalProperties: usize, #[cfg(feature = "Foundation_Collections")] - pub FindAllAsyncWithKindAqsFilterAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, DeviceInformationKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllAsyncWithKindAqsFilterAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, DeviceInformationKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncWithKindAqsFilterAndAdditionalProperties: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateWatcherWithKindAqsFilterAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, DeviceInformationKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWatcherWithKindAqsFilterAndAdditionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, DeviceInformationKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWatcherWithKindAqsFilterAndAdditionalProperties: usize, } @@ -213,7 +213,7 @@ impl windows_core::RuntimeType for IDeviceInformationUpdate { #[repr(C)] pub struct IDeviceInformationUpdate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -237,9 +237,9 @@ pub struct IDevicePairingRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DeviceInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PairingKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DevicePairingKinds) -> windows_core::HRESULT, - pub Pin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Accept: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub AcceptWithPin: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AcceptWithPin: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDevicePairingRequestedEventArgs2, IDevicePairingRequestedEventArgs2_Vtbl, 0xc83752d9_e4d3_4db0_a360_a105e437dbdc); @@ -268,7 +268,7 @@ windows_core::imp::define_interface!(IDevicePairingSettings, IDevicePairingSetti impl std::ops::Deref for IDevicePairingSettings { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDevicePairingSettings, windows_core::IUnknown, windows_core::IInspectable); @@ -310,7 +310,7 @@ pub struct IDevicePicker_Vtbl { #[cfg(not(feature = "UI_Popups"))] PickSingleDeviceAsyncWithPlacement: usize, pub Hide: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetDisplayStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, DevicePickerDisplayStatusOptions) -> windows_core::HRESULT, + pub SetDisplayStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, DevicePickerDisplayStatusOptions) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDevicePickerAppearance, IDevicePickerAppearance_Vtbl, 0xe69a12c6_e627_4ed8_9b6c_460af445e56d); impl windows_core::RuntimeType for IDevicePickerAppearance { @@ -319,8 +319,8 @@ impl windows_core::RuntimeType for IDevicePickerAppearance { #[repr(C)] pub struct IDevicePickerAppearance_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "UI")] pub ForegroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Color) -> windows_core::HRESULT, #[cfg(not(feature = "UI"))] @@ -488,14 +488,14 @@ impl DeviceAccessChangedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -523,7 +523,7 @@ impl DeviceAccessInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -534,25 +534,25 @@ impl DeviceAccessInformation { pub fn CurrentStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateFromId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IDeviceAccessInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromDeviceClassId(deviceclassid: windows_core::GUID) -> windows_core::Result { Self::IDeviceAccessInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDeviceClassId)(windows_core::Interface::as_raw(this), deviceclassid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromDeviceClass(deviceclass: DeviceClass) -> windows_core::Result { Self::IDeviceAccessInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDeviceClass)(windows_core::Interface::as_raw(this), deviceclass, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -582,7 +582,7 @@ impl DeviceConnectionChangeTriggerDetails { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -607,7 +607,7 @@ impl DeviceDisconnectButtonClickedEventArgs { pub fn Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -632,35 +632,35 @@ impl DeviceInformation { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDefault)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnclosureLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnclosureLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -668,7 +668,7 @@ impl DeviceInformation { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -683,7 +683,7 @@ impl DeviceInformation { pub fn GetThumbnailAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -691,27 +691,27 @@ impl DeviceInformation { pub fn GetGlyphThumbnailAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGlyphThumbnailAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pairing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pairing)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -721,28 +721,28 @@ impl DeviceInformation { P0: windows_core::Param>, { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIdAsyncAdditionalProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), additionalproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> windows_core::Result> { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncDeviceClass(deviceclass: DeviceClass) -> windows_core::Result> { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsyncDeviceClass)(windows_core::Interface::as_raw(this), deviceclass, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncAqsFilter(aqsfilter: &windows_core::HSTRING) -> windows_core::Result> { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsyncAqsFilter)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -752,25 +752,25 @@ impl DeviceInformation { P0: windows_core::Param>, { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsyncAqsFilterAndAdditionalProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), additionalproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWatcher() -> windows_core::Result { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWatcherDeviceClass(deviceclass: DeviceClass) -> windows_core::Result { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcherDeviceClass)(windows_core::Interface::as_raw(this), deviceclass, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWatcherAqsFilter(aqsfilter: &windows_core::HSTRING) -> windows_core::Result { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcherAqsFilter)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -780,13 +780,13 @@ impl DeviceInformation { P0: windows_core::Param>, { Self::IDeviceInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcherAqsFilterAndAdditionalProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), additionalproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetAqsFilterFromDeviceClass(deviceclass: DeviceClass) -> windows_core::Result { Self::IDeviceInformationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAqsFilterFromDeviceClass)(windows_core::Interface::as_raw(this), deviceclass, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -796,7 +796,7 @@ impl DeviceInformation { P0: windows_core::Param>, { Self::IDeviceInformationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIdAsyncWithKindAndAdditionalProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), additionalproperties.param().abi(), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -806,7 +806,7 @@ impl DeviceInformation { P0: windows_core::Param>, { Self::IDeviceInformationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsyncWithKindAqsFilterAndAdditionalProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), additionalproperties.param().abi(), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -816,7 +816,7 @@ impl DeviceInformation { P0: windows_core::Param>, { Self::IDeviceInformationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcherWithKindAqsFilterAndAdditionalProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(aqsfilter), additionalproperties.param().abi(), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -857,7 +857,7 @@ impl DeviceInformationCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -865,7 +865,7 @@ impl DeviceInformationCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -873,7 +873,7 @@ impl DeviceInformationCollection { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -884,7 +884,7 @@ impl DeviceInformationCollection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -892,7 +892,7 @@ impl DeviceInformationCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -938,14 +938,14 @@ impl DeviceInformationCustomPairing { pub fn PairAsync(&self, pairingkindssupported: DevicePairingKinds) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PairAsync)(windows_core::Interface::as_raw(this), pairingkindssupported, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PairWithProtectionLevelAsync(&self, pairingkindssupported: DevicePairingKinds, minprotectionlevel: DevicePairingProtectionLevel) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PairWithProtectionLevelAsync)(windows_core::Interface::as_raw(this), pairingkindssupported, minprotectionlevel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -955,7 +955,7 @@ impl DeviceInformationCustomPairing { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PairWithProtectionLevelAndSettingsAsync)(windows_core::Interface::as_raw(this), pairingkindssupported, minprotectionlevel, devicepairingsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -965,7 +965,7 @@ impl DeviceInformationCustomPairing { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PairingRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -994,42 +994,42 @@ impl DeviceInformationPairing { pub fn IsPaired(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanPair(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPair)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PairAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PairAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PairWithProtectionLevelAsync(&self, minprotectionlevel: DevicePairingProtectionLevel) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PairWithProtectionLevelAsync)(windows_core::Interface::as_raw(this), minprotectionlevel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProtectionLevel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Custom(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Custom)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1039,26 +1039,26 @@ impl DeviceInformationPairing { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PairWithProtectionLevelAndSettingsAsync)(windows_core::Interface::as_raw(this), minprotectionlevel, devicepairingsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnpairAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnpairAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryRegisterForAllInboundPairingRequests(pairingkindssupported: DevicePairingKinds) -> windows_core::Result { Self::IDeviceInformationPairingStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRegisterForAllInboundPairingRequests)(windows_core::Interface::as_raw(this), pairingkindssupported, &mut result__).map(|| result__) }) } pub fn TryRegisterForAllInboundPairingRequestsWithProtectionLevel(pairingkindssupported: DevicePairingKinds, minprotectionlevel: DevicePairingProtectionLevel) -> windows_core::Result { Self::IDeviceInformationPairingStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRegisterForAllInboundPairingRequestsWithProtectionLevel)(windows_core::Interface::as_raw(this), pairingkindssupported, minprotectionlevel, &mut result__).map(|| result__) }) } @@ -1093,7 +1093,7 @@ impl DeviceInformationUpdate { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1101,14 +1101,14 @@ impl DeviceInformationUpdate { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1133,21 +1133,21 @@ impl DevicePairingRequestedEventArgs { pub fn DeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PairingKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PairingKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pin)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1162,7 +1162,7 @@ impl DevicePairingRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1195,14 +1195,14 @@ impl DevicePairingResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtectionLevelUsed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionLevelUsed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1234,14 +1234,14 @@ impl DevicePicker { pub fn Filter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Filter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Appearance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Appearance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1249,7 +1249,7 @@ impl DevicePicker { pub fn RequestedProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1259,7 +1259,7 @@ impl DevicePicker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceSelected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1273,7 +1273,7 @@ impl DevicePicker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisconnectButtonClicked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1287,7 +1287,7 @@ impl DevicePicker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DevicePickerDismissed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1307,7 +1307,7 @@ impl DevicePicker { pub fn PickSingleDeviceAsync(&self, selection: super::super::Foundation::Rect) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleDeviceAsync)(windows_core::Interface::as_raw(this), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1315,7 +1315,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleDeviceAsyncWithPlacement)(windows_core::Interface::as_raw(this), selection, placement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1351,7 +1351,7 @@ impl DevicePickerAppearance { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1363,7 +1363,7 @@ impl DevicePickerAppearance { pub fn ForegroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1376,7 +1376,7 @@ impl DevicePickerAppearance { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1389,7 +1389,7 @@ impl DevicePickerAppearance { pub fn AccentColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccentColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1402,7 +1402,7 @@ impl DevicePickerAppearance { pub fn SelectedForegroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1415,7 +1415,7 @@ impl DevicePickerAppearance { pub fn SelectedBackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1428,7 +1428,7 @@ impl DevicePickerAppearance { pub fn SelectedAccentColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedAccentColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1459,7 +1459,7 @@ impl DevicePickerFilter { pub fn SupportedDeviceClasses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedDeviceClasses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1467,7 +1467,7 @@ impl DevicePickerFilter { pub fn SupportedDeviceSelectors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedDeviceSelectors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1492,7 +1492,7 @@ impl DeviceSelectedEventArgs { pub fn SelectedDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1527,7 +1527,7 @@ impl DeviceThumbnail { pub fn ContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1538,7 +1538,7 @@ impl DeviceThumbnail { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1549,7 +1549,7 @@ impl DeviceThumbnail { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1557,7 +1557,7 @@ impl DeviceThumbnail { pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1565,7 +1565,7 @@ impl DeviceThumbnail { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1578,7 +1578,7 @@ impl DeviceThumbnail { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1586,7 +1586,7 @@ impl DeviceThumbnail { pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1594,7 +1594,7 @@ impl DeviceThumbnail { pub fn Position(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1607,7 +1607,7 @@ impl DeviceThumbnail { pub fn CloneStream(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1615,7 +1615,7 @@ impl DeviceThumbnail { pub fn CanRead(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1623,7 +1623,7 @@ impl DeviceThumbnail { pub fn CanWrite(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1653,7 +1653,7 @@ impl DeviceUnpairingResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1681,7 +1681,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1695,7 +1695,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1709,7 +1709,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1723,7 +1723,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1737,7 +1737,7 @@ impl DeviceWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1748,7 +1748,7 @@ impl DeviceWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1767,7 +1767,7 @@ impl DeviceWatcher { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBackgroundTrigger)(windows_core::Interface::as_raw(this), requestedeventkinds.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1792,21 +1792,21 @@ impl DeviceWatcherEvent { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceInformationUpdate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformationUpdate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1832,7 +1832,7 @@ impl DeviceWatcherTriggerDetails { pub fn DeviceWatcherEvents(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceWatcherEvents)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1857,28 +1857,28 @@ impl EnclosureLocation { pub fn InDock(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InDock)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InLid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InLid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Panel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Panel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RotationAngleInDegreesClockwise(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegreesClockwise)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 76ff0e9125..12e2c85efa 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs @@ -8,7 +8,7 @@ pub struct IGeofence_Vtbl { pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub DwellTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MonitoredStates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MonitoredGeofenceStates) -> windows_core::HRESULT, pub Geoshape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SingleUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -20,10 +20,10 @@ impl windows_core::RuntimeType for IGeofenceFactory { #[repr(C)] pub struct IGeofenceFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithMonitorStates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, MonitoredGeofenceStates, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithMonitorStatesAndDwellTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, MonitoredGeofenceStates, bool, super::super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithMonitorStatesDwellTimeStartTimeAndDuration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, MonitoredGeofenceStates, bool, super::super::super::Foundation::TimeSpan, super::super::super::Foundation::DateTime, super::super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithMonitorStates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, MonitoredGeofenceStates, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithMonitorStatesAndDwellTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, MonitoredGeofenceStates, bool, super::super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithMonitorStatesDwellTimeStartTimeAndDuration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, MonitoredGeofenceStates, bool, super::super::super::Foundation::TimeSpan, super::super::super::Foundation::DateTime, super::super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGeofenceMonitor, IGeofenceMonitor_Vtbl, 0x4c0f5f78_1c1f_4621_bbbd_833b92247226); impl windows_core::RuntimeType for IGeofenceMonitor { @@ -76,49 +76,49 @@ impl Geofence { pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DwellTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DwellTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MonitoredStates(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonitoredStates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Geoshape(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Geoshape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SingleUse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SingleUse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -127,7 +127,7 @@ impl Geofence { P0: windows_core::Param, { Self::IGeofenceFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), geoshape.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -136,7 +136,7 @@ impl Geofence { P0: windows_core::Param, { Self::IGeofenceFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithMonitorStates)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), geoshape.param().abi(), monitoredstates, singleuse, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -145,7 +145,7 @@ impl Geofence { P0: windows_core::Param, { Self::IGeofenceFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithMonitorStatesAndDwellTime)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), geoshape.param().abi(), monitoredstates, singleuse, dwelltime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -154,7 +154,7 @@ impl Geofence { P0: windows_core::Param, { Self::IGeofenceFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithMonitorStatesDwellTimeStartTimeAndDuration)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), geoshape.param().abi(), monitoredstates, singleuse, dwelltime, starttime, duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -184,7 +184,7 @@ impl GeofenceMonitor { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -192,14 +192,14 @@ impl GeofenceMonitor { pub fn Geofences(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Geofences)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastKnownGeoposition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastKnownGeoposition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -209,7 +209,7 @@ impl GeofenceMonitor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeofenceStateChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -221,7 +221,7 @@ impl GeofenceMonitor { pub fn ReadReports(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadReports)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -231,7 +231,7 @@ impl GeofenceMonitor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -241,7 +241,7 @@ impl GeofenceMonitor { } pub fn Current() -> windows_core::Result { Self::IGeofenceMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -271,28 +271,28 @@ impl GeofenceStateChangeReport { pub fn NewState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Geofence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Geofence)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Geoposition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Geoposition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemovalReason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovalReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs index 5e2c620e24..cdd8d0f0a3 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs @@ -26,14 +26,14 @@ impl GeolocationProvider { pub fn IsOverridden(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverridden)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetOverridePosition(&self, newposition: super::BasicGeoposition, positionsource: super::PositionSource, accuracyinmeters: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetOverridePosition)(windows_core::Interface::as_raw(this), newposition, positionsource, accuracyinmeters, &mut result__).map(|| result__) } } @@ -47,7 +47,7 @@ impl GeolocationProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverriddenChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index 61a92fd556..c7e6f46054 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -9,10 +9,10 @@ impl windows_core::RuntimeType for ICivicAddress { #[repr(C)] pub struct ICivicAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGeoboundingBox, IGeoboundingBox_Vtbl, 0x0896c80b_274f_43da_9a06_cbfcdaeb4ec2); @@ -306,7 +306,7 @@ windows_core::imp::define_interface!(IGeoshape, IGeoshape_Vtbl, 0xc99ca2af_c729_ impl std::ops::Deref for IGeoshape { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGeoshape, windows_core::IUnknown, windows_core::IInspectable); @@ -314,21 +314,21 @@ impl IGeoshape { pub fn GeoshapeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeoshapeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SpatialReferenceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpatialReferenceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AltitudeReferenceSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AltitudeReferenceSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -422,8 +422,8 @@ impl windows_core::RuntimeType for IVenueData { #[repr(C)] pub struct IVenueData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Level: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Level: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -433,35 +433,35 @@ impl CivicAddress { pub fn Country(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Country)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn City(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).City)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PostalCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostalCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -487,53 +487,53 @@ impl GeoboundingBox { pub fn NorthwestCorner(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NorthwestCorner)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SoutheastCorner(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoutheastCorner)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Center(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Center)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinAltitude(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinAltitude)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxAltitude(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAltitude)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(northwestcorner: BasicGeoposition, southeastcorner: BasicGeoposition) -> windows_core::Result { Self::IGeoboundingBoxFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), northwestcorner, southeastcorner, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithAltitudeReference(northwestcorner: BasicGeoposition, southeastcorner: BasicGeoposition, altitudereferencesystem: AltitudeReferenceSystem) -> windows_core::Result { Self::IGeoboundingBoxFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAltitudeReference)(windows_core::Interface::as_raw(this), northwestcorner, southeastcorner, altitudereferencesystem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithAltitudeReferenceAndSpatialReference(northwestcorner: BasicGeoposition, southeastcorner: BasicGeoposition, altitudereferencesystem: AltitudeReferenceSystem, spatialreferenceid: u32) -> windows_core::Result { Self::IGeoboundingBoxFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAltitudeReferenceAndSpatialReference)(windows_core::Interface::as_raw(this), northwestcorner, southeastcorner, altitudereferencesystem, spatialreferenceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -543,7 +543,7 @@ impl GeoboundingBox { P0: windows_core::Param>, { Self::IGeoboundingBoxStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCompute)(windows_core::Interface::as_raw(this), positions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -553,7 +553,7 @@ impl GeoboundingBox { P0: windows_core::Param>, { Self::IGeoboundingBoxStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeWithAltitudeReference)(windows_core::Interface::as_raw(this), positions.param().abi(), altituderefsystem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -563,28 +563,28 @@ impl GeoboundingBox { P0: windows_core::Param>, { Self::IGeoboundingBoxStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeWithAltitudeReferenceAndSpatialReference)(windows_core::Interface::as_raw(this), positions.param().abi(), altituderefsystem, spatialreferenceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GeoshapeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeoshapeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SpatialReferenceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpatialReferenceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AltitudeReferenceSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AltitudeReferenceSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -620,53 +620,53 @@ impl Geocircle { pub fn Center(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Center)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Radius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Radius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(position: BasicGeoposition, radius: f64) -> windows_core::Result { Self::IGeocircleFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), position, radius, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithAltitudeReferenceSystem(position: BasicGeoposition, radius: f64, altitudereferencesystem: AltitudeReferenceSystem) -> windows_core::Result { Self::IGeocircleFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAltitudeReferenceSystem)(windows_core::Interface::as_raw(this), position, radius, altitudereferencesystem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithAltitudeReferenceSystemAndSpatialReferenceId(position: BasicGeoposition, radius: f64, altitudereferencesystem: AltitudeReferenceSystem, spatialreferenceid: u32) -> windows_core::Result { Self::IGeocircleFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAltitudeReferenceSystemAndSpatialReferenceId)(windows_core::Interface::as_raw(this), position, radius, altitudereferencesystem, spatialreferenceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GeoshapeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeoshapeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SpatialReferenceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpatialReferenceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AltitudeReferenceSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AltitudeReferenceSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -697,7 +697,7 @@ impl Geocoordinate { pub fn Latitude(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Latitude)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -705,7 +705,7 @@ impl Geocoordinate { pub fn Longitude(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Longitude)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -713,77 +713,77 @@ impl Geocoordinate { pub fn Altitude(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Altitude)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Accuracy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Accuracy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AltitudeAccuracy(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AltitudeAccuracy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Heading(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Heading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Speed(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Speed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Point(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Point)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PositionSource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionSource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SatelliteData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SatelliteData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PositionSourceTimestamp(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionSourceTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsRemoteSource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRemoteSource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -808,35 +808,35 @@ impl GeocoordinateSatelliteData { pub fn PositionDilutionOfPrecision(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionDilutionOfPrecision)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HorizontalDilutionOfPrecision(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HorizontalDilutionOfPrecision)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VerticalDilutionOfPrecision(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerticalDilutionOfPrecision)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GeometricDilutionOfPrecision(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeometricDilutionOfPrecision)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimeDilutionOfPrecision(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeDilutionOfPrecision)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -868,7 +868,7 @@ impl Geolocator { pub fn DesiredAccuracy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredAccuracy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -879,7 +879,7 @@ impl Geolocator { pub fn MovementThreshold(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MovementThreshold)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -890,7 +890,7 @@ impl Geolocator { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -901,21 +901,21 @@ impl Geolocator { pub fn LocationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetGeopositionAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGeopositionAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetGeopositionAsyncWithAgeAndTimeout(&self, maximumage: super::super::Foundation::TimeSpan, timeout: super::super::Foundation::TimeSpan) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGeopositionAsyncWithAgeAndTimeout)(windows_core::Interface::as_raw(this), maximumage, timeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -925,7 +925,7 @@ impl Geolocator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -939,7 +939,7 @@ impl Geolocator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -953,27 +953,27 @@ impl Geolocator { } pub fn RequestAccessAsync() -> windows_core::Result> { Self::IGeolocatorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetGeopositionHistoryAsync(starttime: super::super::Foundation::DateTime) -> windows_core::Result>> { Self::IGeolocatorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGeopositionHistoryAsync)(windows_core::Interface::as_raw(this), starttime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGeopositionHistoryWithDurationAsync)(windows_core::Interface::as_raw(this), starttime, duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsDefaultGeopositionRecommended() -> windows_core::Result { Self::IGeolocatorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDefaultGeopositionRecommended)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -985,14 +985,14 @@ impl Geolocator { } pub fn DefaultGeoposition() -> windows_core::Result> { Self::IGeolocatorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultGeoposition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DesiredAccuracyInMeters(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredAccuracyInMeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1036,7 +1036,7 @@ impl Geopath { pub fn Positions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Positions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1046,7 +1046,7 @@ impl Geopath { P0: windows_core::Param>, { Self::IGeopathFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), positions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1056,7 +1056,7 @@ impl Geopath { P0: windows_core::Param>, { Self::IGeopathFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAltitudeReference)(windows_core::Interface::as_raw(this), positions.param().abi(), altitudereferencesystem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1066,28 +1066,28 @@ impl Geopath { P0: windows_core::Param>, { Self::IGeopathFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAltitudeReferenceAndSpatialReference)(windows_core::Interface::as_raw(this), positions.param().abi(), altitudereferencesystem, spatialreferenceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GeoshapeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeoshapeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SpatialReferenceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpatialReferenceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AltitudeReferenceSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AltitudeReferenceSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1118,46 +1118,46 @@ impl Geopoint { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(position: BasicGeoposition) -> windows_core::Result { Self::IGeopointFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithAltitudeReferenceSystem(position: BasicGeoposition, altitudereferencesystem: AltitudeReferenceSystem) -> windows_core::Result { Self::IGeopointFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAltitudeReferenceSystem)(windows_core::Interface::as_raw(this), position, altitudereferencesystem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithAltitudeReferenceSystemAndSpatialReferenceId(position: BasicGeoposition, altitudereferencesystem: AltitudeReferenceSystem, spatialreferenceid: u32) -> windows_core::Result { Self::IGeopointFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAltitudeReferenceSystemAndSpatialReferenceId)(windows_core::Interface::as_raw(this), position, altitudereferencesystem, spatialreferenceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GeoshapeType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeoshapeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SpatialReferenceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpatialReferenceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AltitudeReferenceSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AltitudeReferenceSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1187,21 +1187,21 @@ impl Geoposition { pub fn Coordinate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Coordinate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CivicAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CivicAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VenueData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VenueData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1226,21 +1226,21 @@ impl Geovisit { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StateChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1272,7 +1272,7 @@ impl GeovisitMonitor { pub fn MonitoringScope(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonitoringScope)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1290,7 +1290,7 @@ impl GeovisitMonitor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisitStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1300,7 +1300,7 @@ impl GeovisitMonitor { } pub fn GetLastReportAsync() -> windows_core::Result> { Self::IGeovisitMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLastReportAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1330,7 +1330,7 @@ impl GeovisitStateChangedEventArgs { pub fn Visit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visit)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1356,7 +1356,7 @@ impl GeovisitTriggerDetails { pub fn ReadReports(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadReports)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1381,7 +1381,7 @@ impl PositionChangedEventArgs { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1406,7 +1406,7 @@ impl StatusChangedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1431,14 +1431,14 @@ impl VenueData { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Level(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Level)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 b2dc9173b8..936a36f2ba 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IGpioControllerProvider, IGpioControllerPro impl std::ops::Deref for IGpioControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGpioControllerProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -10,14 +10,14 @@ impl IGpioControllerProvider { pub fn PinCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OpenPinProvider(&self, pin: i32, sharingmode: ProviderGpioSharingMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenPinProvider)(windows_core::Interface::as_raw(this), pin, sharingmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -35,7 +35,7 @@ windows_core::imp::define_interface!(IGpioPinProvider, IGpioPinProvider_Vtbl, 0x impl std::ops::Deref for IGpioPinProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGpioPinProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -46,7 +46,7 @@ impl IGpioPinProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -57,7 +57,7 @@ impl IGpioPinProvider { pub fn DebounceTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DebounceTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -68,28 +68,28 @@ impl IGpioPinProvider { pub fn PinNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SharingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDriveModeSupported(&self, drivemode: ProviderGpioPinDriveMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDriveModeSupported)(windows_core::Interface::as_raw(this), drivemode, &mut result__).map(|| result__) } } pub fn GetDriveMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDriveMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -104,7 +104,7 @@ impl IGpioPinProvider { pub fn Read(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Read)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -149,7 +149,7 @@ windows_core::imp::define_interface!(IGpioProvider, IGpioProvider_Vtbl, 0x44e827 impl std::ops::Deref for IGpioProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGpioProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -158,7 +158,7 @@ impl IGpioProvider { pub fn GetControllers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -182,13 +182,13 @@ impl GpioPinProviderValueChangedEventArgs { pub fn Edge(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Edge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(edge: ProviderGpioPinEdge) -> windows_core::Result { Self::IGpioPinProviderValueChangedEventArgsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), edge, &mut result__).and_then(|| windows_core::Type::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 b9e9e41ac9..2b147ad15b 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs @@ -138,14 +138,14 @@ impl GpioChangeCounter { pub fn Polarity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Polarity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStarted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStarted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -160,14 +160,14 @@ impl GpioChangeCounter { pub fn Read(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Read)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Reset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -176,7 +176,7 @@ impl GpioChangeCounter { P0: windows_core::Param, { Self::IGpioChangeCounterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), pin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -211,28 +211,28 @@ impl GpioChangeReader { pub fn Capacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEmpty(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOverflowed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverflowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -243,14 +243,14 @@ impl GpioChangeReader { pub fn Polarity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Polarity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStarted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStarted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -269,14 +269,14 @@ impl GpioChangeReader { pub fn GetNextItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNextItem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PeekNextItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeekNextItem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -284,14 +284,14 @@ impl GpioChangeReader { pub fn GetAllItems(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WaitForItemsAsync(&self, count: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WaitForItemsAsync)(windows_core::Interface::as_raw(this), count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -300,7 +300,7 @@ impl GpioChangeReader { P0: windows_core::Param, { Self::IGpioChangeReaderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), pin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -309,7 +309,7 @@ impl GpioChangeReader { P0: windows_core::Param, { Self::IGpioChangeReaderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithCapacity)(windows_core::Interface::as_raw(this), pin.param().abi(), mincapacity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -339,34 +339,34 @@ impl GpioController { pub fn PinCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OpenPin(&self, pinnumber: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenPin)(windows_core::Interface::as_raw(this), pinnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenPinWithSharingMode(&self, pinnumber: i32, sharingmode: GpioSharingMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenPinWithSharingMode)(windows_core::Interface::as_raw(this), pinnumber, sharingmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryOpenPin(&self, pinnumber: i32, sharingmode: GpioSharingMode, pin: &mut Option, openstatus: &mut GpioOpenStatus) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryOpenPin)(windows_core::Interface::as_raw(this), pinnumber, sharingmode, pin as *mut _ as _, openstatus, &mut result__).map(|| result__) } } pub fn GetDefault() -> windows_core::Result { Self::IGpioControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -376,13 +376,13 @@ impl GpioController { P0: windows_core::Param, { Self::IGpioControllerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllersAsync)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IGpioControllerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -425,7 +425,7 @@ impl GpioPin { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -436,7 +436,7 @@ impl GpioPin { pub fn DebounceTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DebounceTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -447,28 +447,28 @@ impl GpioPin { pub fn PinNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SharingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDriveModeSupported(&self, drivemode: GpioPinDriveMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDriveModeSupported)(windows_core::Interface::as_raw(this), drivemode, &mut result__).map(|| result__) } } pub fn GetDriveMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDriveMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -483,7 +483,7 @@ impl GpioPin { pub fn Read(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Read)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -508,7 +508,7 @@ impl GpioPinValueChangedEventArgs { pub fn Edge(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Edge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs index 2958d6f301..511beb8fe9 100644 --- a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs @@ -36,7 +36,7 @@ impl windows_core::RuntimeType for ISimpleHapticsController { #[repr(C)] pub struct ISimpleHapticsController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SupportedFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -68,7 +68,7 @@ impl windows_core::RuntimeType for IVibrationDevice { #[repr(C)] pub struct IVibrationDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SimpleHapticsController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVibrationDeviceStatics, IVibrationDeviceStatics_Vtbl, 0x53e2eded_2290_4ac9_8eb3_1a84122eb71c); @@ -79,8 +79,8 @@ impl windows_core::RuntimeType for IVibrationDeviceStatics { pub struct IVibrationDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -91,91 +91,91 @@ pub struct KnownSimpleHapticsControllerWaveforms; impl KnownSimpleHapticsControllerWaveforms { pub fn Click() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Click)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BuzzContinuous() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuzzContinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RumbleContinuous() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RumbleContinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Press() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Press)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Release() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Release)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BrushContinuous() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrushContinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ChiselMarkerContinuous() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChiselMarkerContinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn EraserContinuous() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EraserContinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Error() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GalaxyPenContinuous() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GalaxyPenContinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Hover() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hover)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InkContinuous() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InkContinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MarkerContinuous() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkerContinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PencilContinuous() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PencilContinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Success() -> windows_core::Result { Self::IKnownSimpleHapticsControllerWaveformsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Success)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -201,7 +201,7 @@ impl SimpleHapticsController { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -209,35 +209,35 @@ impl SimpleHapticsController { pub fn SupportedFeedback(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedFeedback)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsIntensitySupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIntensitySupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPlayCountSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlayCountSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPlayDurationSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlayDurationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReplayPauseIntervalSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReplayPauseIntervalSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -294,14 +294,14 @@ impl SimpleHapticsControllerFeedback { pub fn Waveform(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Waveform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -326,45 +326,45 @@ impl VibrationDevice { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestAccessAsync() -> windows_core::Result> { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> windows_core::Result>> { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 b42675050f..28d5ed9882 100644 --- a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs @@ -90,10 +90,10 @@ impl windows_core::RuntimeType for IHidDeviceStatics { #[repr(C)] pub struct IHidDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorVidPid: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, u16, u16, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorVidPid: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, u16, u16, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage")] - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Storage::FileAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Storage::FileAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] FromIdAsync: usize, } @@ -225,28 +225,28 @@ impl HidBooleanControl { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsagePage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsagePage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsageId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -257,7 +257,7 @@ impl HidBooleanControl { pub fn ControlDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -282,35 +282,35 @@ impl HidBooleanControlDescription { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsagePage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsagePage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsageId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -318,14 +318,14 @@ impl HidBooleanControlDescription { pub fn ParentCollections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentCollections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsAbsolute(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAbsolute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -350,28 +350,28 @@ impl HidCollection { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsagePage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsagePage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsageId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -401,91 +401,91 @@ impl HidDevice { pub fn VendorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProductId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsagePage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsagePage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsageId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInputReportAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputReportAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetInputReportByIdAsync(&self, reportid: u16) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputReportByIdAsync)(windows_core::Interface::as_raw(this), reportid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFeatureReportAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFeatureReportAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFeatureReportByIdAsync(&self, reportid: u16) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFeatureReportByIdAsync)(windows_core::Interface::as_raw(this), reportid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateOutputReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOutputReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateOutputReportById(&self, reportid: u16) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOutputReportById)(windows_core::Interface::as_raw(this), reportid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFeatureReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFeatureReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFeatureReportById(&self, reportid: u16) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFeatureReportById)(windows_core::Interface::as_raw(this), reportid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -495,7 +495,7 @@ impl HidDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendOutputReportAsync)(windows_core::Interface::as_raw(this), outputreport.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -505,7 +505,7 @@ impl HidDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendFeatureReportAsync)(windows_core::Interface::as_raw(this), featurereport.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -513,7 +513,7 @@ impl HidDevice { pub fn GetBooleanControlDescriptions(&self, reporttype: HidReportType, usagepage: u16, usageid: u16) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanControlDescriptions)(windows_core::Interface::as_raw(this), reporttype, usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -521,7 +521,7 @@ impl HidDevice { pub fn GetNumericControlDescriptions(&self, reporttype: HidReportType, usagepage: u16, usageid: u16) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumericControlDescriptions)(windows_core::Interface::as_raw(this), reporttype, usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -531,7 +531,7 @@ impl HidDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputReportReceived)(windows_core::Interface::as_raw(this), reporthandler.param().abi(), &mut result__).map(|| result__) } } @@ -541,20 +541,20 @@ impl HidDevice { } pub fn GetDeviceSelector(usagepage: u16, usageid: u16) -> windows_core::Result { Self::IHidDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorVidPid(usagepage: u16, usageid: u16, vendorid: u16, productid: u16) -> windows_core::Result { Self::IHidDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorVidPid)(windows_core::Interface::as_raw(this), usagepage, usageid, vendorid, productid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage")] pub fn FromIdAsync(deviceid: &windows_core::HSTRING, accessmode: super::super::Storage::FileAccessMode) -> windows_core::Result> { Self::IHidDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), accessmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -584,7 +584,7 @@ impl HidFeatureReport { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -592,7 +592,7 @@ impl HidFeatureReport { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -607,7 +607,7 @@ impl HidFeatureReport { pub fn GetBooleanControl(&self, usagepage: u16, usageid: u16) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanControl)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -617,14 +617,14 @@ impl HidFeatureReport { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanControlByDescription)(windows_core::Interface::as_raw(this), controldescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNumericControl(&self, usagepage: u16, usageid: u16) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumericControl)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -634,7 +634,7 @@ impl HidFeatureReport { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumericControlByDescription)(windows_core::Interface::as_raw(this), controldescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -659,7 +659,7 @@ impl HidInputReport { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -667,7 +667,7 @@ impl HidInputReport { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -675,7 +675,7 @@ impl HidInputReport { pub fn ActivatedBooleanControls(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedBooleanControls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -683,14 +683,14 @@ impl HidInputReport { pub fn TransitionedBooleanControls(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransitionedBooleanControls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetBooleanControl(&self, usagepage: u16, usageid: u16) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanControl)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -700,14 +700,14 @@ impl HidInputReport { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanControlByDescription)(windows_core::Interface::as_raw(this), controldescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNumericControl(&self, usagepage: u16, usageid: u16) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumericControl)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -717,7 +717,7 @@ impl HidInputReport { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumericControlByDescription)(windows_core::Interface::as_raw(this), controldescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -742,7 +742,7 @@ impl HidInputReportReceivedEventArgs { pub fn Report(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Report)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -767,35 +767,35 @@ impl HidNumericControl { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGrouped(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGrouped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsagePage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsagePage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsageId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -806,7 +806,7 @@ impl HidNumericControl { pub fn ScaledValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaledValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -817,7 +817,7 @@ impl HidNumericControl { pub fn ControlDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -842,105 +842,105 @@ impl HidNumericControlDescription { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsagePage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsagePage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsageId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LogicalMinimum(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogicalMinimum)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LogicalMaximum(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogicalMaximum)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhysicalMinimum(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalMinimum)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhysicalMaximum(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalMaximum)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UnitExponent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnitExponent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Unit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAbsolute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAbsolute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasNull(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNull)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -948,7 +948,7 @@ impl HidNumericControlDescription { pub fn ParentCollections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentCollections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -973,7 +973,7 @@ impl HidOutputReport { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -981,7 +981,7 @@ impl HidOutputReport { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -996,7 +996,7 @@ impl HidOutputReport { pub fn GetBooleanControl(&self, usagepage: u16, usageid: u16) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanControl)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1006,14 +1006,14 @@ impl HidOutputReport { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanControlByDescription)(windows_core::Interface::as_raw(this), controldescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNumericControl(&self, usagepage: u16, usageid: u16) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumericControl)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1023,7 +1023,7 @@ impl HidOutputReport { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumericControlByDescription)(windows_core::Interface::as_raw(this), controldescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs index c7b430e4f4..b02a9f11b4 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs @@ -41,7 +41,7 @@ impl windows_core::RuntimeName for II2cDeviceProvider { } impl II2cDeviceProvider_Vtbl { pub const fn new, Impl: II2cDeviceProvider_Impl, const OFFSET: isize>() -> II2cDeviceProvider_Vtbl { - unsafe extern "system" fn DeviceId, Impl: II2cDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceId, Impl: II2cDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match II2cDeviceProvider_Impl::DeviceId(this) { 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 960b034fd9..0d4c6afe6b 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(II2cControllerProvider, II2cControllerProvi impl std::ops::Deref for II2cControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(II2cControllerProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -13,7 +13,7 @@ impl II2cControllerProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceProvider)(windows_core::Interface::as_raw(this), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -30,7 +30,7 @@ windows_core::imp::define_interface!(II2cDeviceProvider, II2cDeviceProvider_Vtbl impl std::ops::Deref for II2cDeviceProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(II2cDeviceProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -39,7 +39,7 @@ impl II2cDeviceProvider { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -50,7 +50,7 @@ impl II2cDeviceProvider { pub fn WritePartial(&self, buffer: &[u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WritePartial)(windows_core::Interface::as_raw(this), buffer.len().try_into().unwrap(), buffer.as_ptr(), &mut result__).map(|| result__) } } @@ -61,7 +61,7 @@ impl II2cDeviceProvider { pub fn ReadPartial(&self, buffer: &mut [u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadPartial)(windows_core::Interface::as_raw(this), buffer.len().try_into().unwrap(), buffer.as_mut_ptr(), &mut result__).map(|| result__) } } @@ -72,7 +72,7 @@ impl II2cDeviceProvider { pub fn WriteReadPartial(&self, writebuffer: &[u8], readbuffer: &mut [u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteReadPartial)(windows_core::Interface::as_raw(this), writebuffer.len().try_into().unwrap(), writebuffer.as_ptr(), readbuffer.len().try_into().unwrap(), readbuffer.as_mut_ptr(), &mut result__).map(|| result__) } } @@ -87,7 +87,7 @@ impl windows_core::RuntimeType for II2cDeviceProvider { #[repr(C)] pub struct II2cDeviceProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub WritePartial: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut ProviderI2cTransferResult) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, @@ -99,7 +99,7 @@ windows_core::imp::define_interface!(II2cProvider, II2cProvider_Vtbl, 0x6f13083e impl std::ops::Deref for II2cProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(II2cProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -108,7 +108,7 @@ impl II2cProvider { pub fn GetControllersAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllersAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -146,7 +146,7 @@ impl ProviderI2cConnectionSettings { pub fn SlaveAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SlaveAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -157,7 +157,7 @@ impl ProviderI2cConnectionSettings { pub fn BusSpeed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BusSpeed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -168,7 +168,7 @@ impl ProviderI2cConnectionSettings { pub fn SharingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs index 52d12d353b..da5f26ff64 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs @@ -8,7 +8,7 @@ impl windows_core::RuntimeName for II2cDeviceStatics { } impl II2cDeviceStatics_Vtbl { pub const fn new, Impl: II2cDeviceStatics_Impl, const OFFSET: isize>() -> II2cDeviceStatics_Vtbl { - unsafe extern "system" fn GetDeviceSelector, Impl: II2cDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceSelector, Impl: II2cDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match II2cDeviceStatics_Impl::GetDeviceSelector(this) { @@ -20,7 +20,7 @@ impl II2cDeviceStatics_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDeviceSelectorFromFriendlyName, Impl: II2cDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, friendlyname: std::mem::MaybeUninit, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceSelectorFromFriendlyName, Impl: II2cDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, friendlyname: core::mem::MaybeUninit, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match II2cDeviceStatics_Impl::GetDeviceSelectorFromFriendlyName(this, core::mem::transmute(&friendlyname)) { @@ -32,7 +32,7 @@ impl II2cDeviceStatics_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FromIdAsync, Impl: II2cDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: std::mem::MaybeUninit, settings: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FromIdAsync, Impl: II2cDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: core::mem::MaybeUninit, settings: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match II2cDeviceStatics_Impl::FromIdAsync(this, core::mem::transmute(&deviceid), windows_core::from_raw_borrowed(&settings)) { diff --git a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs index af01df510b..41ed8a8467 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs @@ -52,7 +52,7 @@ impl windows_core::RuntimeType for II2cDevice { #[repr(C)] pub struct II2cDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ConnectionSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub WritePartial: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut I2cTransferResult) -> windows_core::HRESULT, @@ -65,7 +65,7 @@ windows_core::imp::define_interface!(II2cDeviceStatics, II2cDeviceStatics_Vtbl, impl std::ops::Deref for II2cDeviceStatics { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(II2cDeviceStatics, windows_core::IUnknown, windows_core::IInspectable); @@ -73,14 +73,14 @@ impl II2cDeviceStatics { pub fn GetDeviceSelector(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelectorFromFriendlyName(&self, friendlyname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -90,7 +90,7 @@ impl II2cDeviceStatics { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -101,9 +101,9 @@ impl windows_core::RuntimeType for II2cDeviceStatics { #[repr(C)] pub struct II2cDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -113,7 +113,7 @@ impl I2cConnectionSettings { pub fn SlaveAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SlaveAddress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -124,7 +124,7 @@ impl I2cConnectionSettings { pub fn BusSpeed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BusSpeed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -135,7 +135,7 @@ impl I2cConnectionSettings { pub fn SharingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -145,7 +145,7 @@ impl I2cConnectionSettings { } pub fn Create(slaveaddress: i32) -> windows_core::Result { Self::II2cConnectionSettingsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), slaveaddress, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -178,7 +178,7 @@ impl I2cController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDevice)(windows_core::Interface::as_raw(this), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -188,13 +188,13 @@ impl I2cController { P0: windows_core::Param, { Self::II2cControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllersAsync)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::II2cControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -229,14 +229,14 @@ impl I2cDevice { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -247,7 +247,7 @@ impl I2cDevice { pub fn WritePartial(&self, buffer: &[u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WritePartial)(windows_core::Interface::as_raw(this), buffer.len().try_into().unwrap(), buffer.as_ptr(), &mut result__).map(|| result__) } } @@ -258,7 +258,7 @@ impl I2cDevice { pub fn ReadPartial(&self, buffer: &mut [u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadPartial)(windows_core::Interface::as_raw(this), buffer.len().try_into().unwrap(), buffer.as_mut_ptr(), &mut result__).map(|| result__) } } @@ -269,19 +269,19 @@ impl I2cDevice { pub fn WriteReadPartial(&self, writebuffer: &[u8], readbuffer: &mut [u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteReadPartial)(windows_core::Interface::as_raw(this), writebuffer.len().try_into().unwrap(), writebuffer.as_ptr(), readbuffer.len().try_into().unwrap(), readbuffer.as_mut_ptr(), &mut result__).map(|| result__) } } pub fn GetDeviceSelector() -> windows_core::Result { Self::II2cDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromFriendlyName(friendlyname: &windows_core::HSTRING) -> windows_core::Result { Self::II2cDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -290,7 +290,7 @@ impl I2cDevice { P0: windows_core::Param, { Self::II2cDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::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 86ffdfff20..393aef8ef8 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs @@ -149,35 +149,35 @@ impl GazeDevicePreview { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanTrackEyes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanTrackEyes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanTrackHead(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanTrackHead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConfigurationState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConfigurationState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestCalibrationAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCalibrationAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -185,7 +185,7 @@ impl GazeDevicePreview { pub fn GetNumericControlDescriptions(&self, usagepage: u16, usageid: u16) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNumericControlDescriptions)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -193,7 +193,7 @@ impl GazeDevicePreview { pub fn GetBooleanControlDescriptions(&self, usagepage: u16, usageid: u16) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanControlDescriptions)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -218,7 +218,7 @@ impl GazeDeviceWatcherAddedPreviewEventArgs { pub fn Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -246,7 +246,7 @@ impl GazeDeviceWatcherPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -260,7 +260,7 @@ impl GazeDeviceWatcherPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -274,7 +274,7 @@ impl GazeDeviceWatcherPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -288,7 +288,7 @@ impl GazeDeviceWatcherPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -325,7 +325,7 @@ impl GazeDeviceWatcherRemovedPreviewEventArgs { pub fn Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -350,7 +350,7 @@ impl GazeDeviceWatcherUpdatedPreviewEventArgs { pub fn Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -375,7 +375,7 @@ impl GazeEnteredPreviewEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -386,7 +386,7 @@ impl GazeEnteredPreviewEventArgs { pub fn CurrentPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentPoint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -411,7 +411,7 @@ impl GazeExitedPreviewEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -422,7 +422,7 @@ impl GazeExitedPreviewEventArgs { pub fn CurrentPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentPoint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -450,7 +450,7 @@ impl GazeInputSourcePreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GazeMoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -464,7 +464,7 @@ impl GazeInputSourcePreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GazeEntered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -478,7 +478,7 @@ impl GazeInputSourcePreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GazeExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -488,13 +488,13 @@ impl GazeInputSourcePreview { } pub fn GetForCurrentView() -> windows_core::Result { Self::IGazeInputSourcePreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWatcher() -> windows_core::Result { Self::IGazeInputSourcePreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -524,7 +524,7 @@ impl GazeMovedPreviewEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -535,7 +535,7 @@ impl GazeMovedPreviewEventArgs { pub fn CurrentPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentPoint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -543,7 +543,7 @@ impl GazeMovedPreviewEventArgs { pub fn GetIntermediatePoints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIntermediatePoints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -568,28 +568,28 @@ impl GazePointPreview { pub fn SourceDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EyeGazePosition(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EyeGazePosition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HeadGazePosition(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadGazePosition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -597,7 +597,7 @@ impl GazePointPreview { pub fn HidInputReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HidInputReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 aaf6a0411e..be816d0ace 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/mod.rs @@ -234,7 +234,7 @@ impl KeyboardCapabilities { pub fn KeyboardPresent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyboardPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -266,35 +266,35 @@ impl MouseCapabilities { pub fn MousePresent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MousePresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VerticalWheelPresent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerticalWheelPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HorizontalWheelPresent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HorizontalWheelPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SwapButtons(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SwapButtons)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfButtons(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfButtons)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -322,7 +322,7 @@ impl MouseDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MouseMoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -332,7 +332,7 @@ impl MouseDevice { } pub fn GetForCurrentView() -> windows_core::Result { Self::IMouseDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -360,7 +360,7 @@ impl MouseEventArgs { pub fn MouseDelta(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MouseDelta)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -383,7 +383,7 @@ impl PenButtonListener { pub fn IsSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -393,7 +393,7 @@ impl PenButtonListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupportedChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -407,7 +407,7 @@ impl PenButtonListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TailButtonClicked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -421,7 +421,7 @@ impl PenButtonListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TailButtonDoubleClicked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -435,7 +435,7 @@ impl PenButtonListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TailButtonLongPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -445,7 +445,7 @@ impl PenButtonListener { } pub fn GetDefault() -> windows_core::Result { Self::IPenButtonListenerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -475,7 +475,7 @@ impl PenDevice { pub fn PenId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PenId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -483,13 +483,13 @@ impl PenDevice { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFromPointerId(pointerid: u32) -> windows_core::Result { Self::IPenDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFromPointerId)(windows_core::Interface::as_raw(this), pointerid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -519,7 +519,7 @@ impl PenDockListener { pub fn IsSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -529,7 +529,7 @@ impl PenDockListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupportedChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -543,7 +543,7 @@ impl PenDockListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Docked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -557,7 +557,7 @@ impl PenDockListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Undocked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -567,7 +567,7 @@ impl PenDockListener { } pub fn GetDefault() -> windows_core::Result { Self::IPenDockListenerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -682,35 +682,35 @@ impl PointerDevice { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsIntegrated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIntegrated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxContacts(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxContacts)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhysicalDeviceRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalDeviceRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScreenRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -718,27 +718,27 @@ impl PointerDevice { pub fn SupportedUsages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedUsages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxPointersWithZDistance(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPointersWithZDistance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPointerDevice(pointerid: u32) -> windows_core::Result { Self::IPointerDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPointerDevice)(windows_core::Interface::as_raw(this), pointerid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetPointerDevices() -> windows_core::Result> { Self::IPointerDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPointerDevices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -773,14 +773,14 @@ impl TouchCapabilities { pub fn TouchPresent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TouchPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Contacts(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contacts)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 977a57dcc7..bfde91355a 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs @@ -134,7 +134,7 @@ windows_core::imp::define_interface!(ILampArrayEffect, ILampArrayEffect_Vtbl, 0x impl std::ops::Deref for ILampArrayEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILampArrayEffect, windows_core::IUnknown, windows_core::IInspectable); @@ -142,7 +142,7 @@ impl ILampArrayEffect { pub fn ZIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -264,7 +264,7 @@ impl LampArrayBitmapEffect { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -275,7 +275,7 @@ impl LampArrayBitmapEffect { pub fn StartDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -286,7 +286,7 @@ impl LampArrayBitmapEffect { pub fn UpdateInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -297,7 +297,7 @@ impl LampArrayBitmapEffect { pub fn SuggestedBitmapSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestedBitmapSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -307,7 +307,7 @@ impl LampArrayBitmapEffect { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -320,14 +320,14 @@ impl LampArrayBitmapEffect { P0: windows_core::Param, { Self::ILampArrayBitmapEffectFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), lamparray.param().abi(), lampindexes.len().try_into().unwrap(), lampindexes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZIndex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -361,7 +361,7 @@ impl LampArrayBitmapRequestedEventArgs { pub fn SinceStarted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SinceStarted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -396,7 +396,7 @@ impl LampArrayBlinkEffect { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -408,7 +408,7 @@ impl LampArrayBlinkEffect { pub fn AttackDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttackDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -419,7 +419,7 @@ impl LampArrayBlinkEffect { pub fn SustainDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SustainDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -430,7 +430,7 @@ impl LampArrayBlinkEffect { pub fn DecayDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecayDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -441,7 +441,7 @@ impl LampArrayBlinkEffect { pub fn RepetitionDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RepetitionDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -452,7 +452,7 @@ impl LampArrayBlinkEffect { pub fn StartDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -463,7 +463,7 @@ impl LampArrayBlinkEffect { pub fn Occurrences(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Occurrences)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -474,7 +474,7 @@ impl LampArrayBlinkEffect { pub fn RepetitionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RepetitionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -487,14 +487,14 @@ impl LampArrayBlinkEffect { P0: windows_core::Param, { Self::ILampArrayBlinkEffectFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), lamparray.param().abi(), lampindexes.len().try_into().unwrap(), lampindexes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZIndex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -530,7 +530,7 @@ impl LampArrayColorRampEffect { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -542,7 +542,7 @@ impl LampArrayColorRampEffect { pub fn RampDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RampDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -553,7 +553,7 @@ impl LampArrayColorRampEffect { pub fn StartDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -564,7 +564,7 @@ impl LampArrayColorRampEffect { pub fn CompletionBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompletionBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -577,14 +577,14 @@ impl LampArrayColorRampEffect { P0: windows_core::Param, { Self::ILampArrayColorRampEffectFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), lamparray.param().abi(), lampindexes.len().try_into().unwrap(), lampindexes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZIndex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -619,7 +619,7 @@ impl LampArrayCustomEffect { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -630,7 +630,7 @@ impl LampArrayCustomEffect { pub fn UpdateInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -644,7 +644,7 @@ impl LampArrayCustomEffect { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -657,14 +657,14 @@ impl LampArrayCustomEffect { P0: windows_core::Param, { Self::ILampArrayCustomEffectFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), lamparray.param().abi(), lampindexes.len().try_into().unwrap(), lampindexes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZIndex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -708,7 +708,7 @@ impl LampArrayEffectPlaylist { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -738,7 +738,7 @@ impl LampArrayEffectPlaylist { pub fn EffectStartMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectStartMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -749,7 +749,7 @@ impl LampArrayEffectPlaylist { pub fn Occurrences(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Occurrences)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -760,7 +760,7 @@ impl LampArrayEffectPlaylist { pub fn RepetitionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RepetitionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -793,7 +793,7 @@ impl LampArrayEffectPlaylist { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -801,7 +801,7 @@ impl LampArrayEffectPlaylist { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -812,7 +812,7 @@ impl LampArrayEffectPlaylist { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -820,7 +820,7 @@ impl LampArrayEffectPlaylist { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -867,7 +867,7 @@ impl LampArraySolidEffect { pub fn ZIndex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -879,7 +879,7 @@ impl LampArraySolidEffect { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -891,7 +891,7 @@ impl LampArraySolidEffect { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -902,7 +902,7 @@ impl LampArraySolidEffect { pub fn StartDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -913,7 +913,7 @@ impl LampArraySolidEffect { pub fn CompletionBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompletionBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -926,7 +926,7 @@ impl LampArraySolidEffect { P0: windows_core::Param, { Self::ILampArraySolidEffectFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), lamparray.param().abi(), lampindexes.len().try_into().unwrap(), lampindexes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -956,7 +956,7 @@ impl LampArrayUpdateRequestedEventArgs { pub fn SinceStarted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SinceStarted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs index 199c8f667c..d2e1787c7d 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs @@ -7,7 +7,7 @@ impl windows_core::RuntimeType for ILamp { #[repr(C)] pub struct ILamp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub BrightnessLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, @@ -31,7 +31,7 @@ impl windows_core::RuntimeType for ILampArray { #[repr(C)] pub struct ILampArray_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HardwareVendorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub HardwareProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub HardwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, @@ -109,8 +109,8 @@ impl windows_core::RuntimeType for ILampArrayStatics { #[repr(C)] pub struct ILampArrayStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILampAvailabilityChangedEventArgs, ILampAvailabilityChangedEventArgs_Vtbl, 0x4f6e3ded_07a2_499d_9260_67e304532ba4); impl windows_core::RuntimeType for ILampAvailabilityChangedEventArgs { @@ -155,8 +155,8 @@ impl windows_core::RuntimeType for ILampStatics { #[repr(C)] pub struct ILampStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] @@ -172,14 +172,14 @@ impl Lamp { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -190,7 +190,7 @@ impl Lamp { pub fn BrightnessLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrightnessLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -201,7 +201,7 @@ impl Lamp { pub fn IsColorSettable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsColorSettable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -209,7 +209,7 @@ impl Lamp { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -224,7 +224,7 @@ impl Lamp { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailabilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -234,19 +234,19 @@ impl Lamp { } pub fn GetDeviceSelector() -> windows_core::Result { Self::ILampStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ILampStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::ILampStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -276,49 +276,49 @@ impl LampArray { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HardwareVendorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareProductId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LampArrayKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LampArrayKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LampCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LampCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinUpdateInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinUpdateInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -326,14 +326,14 @@ impl LampArray { pub fn BoundingBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingBox)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -344,7 +344,7 @@ impl LampArray { pub fn BrightnessLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrightnessLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -355,21 +355,21 @@ impl LampArray { pub fn IsConnected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SupportsVirtualKeys(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsVirtualKeys)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetLampInfo(&self, lampindex: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLampInfo)(windows_core::Interface::as_raw(this), lampindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -378,14 +378,14 @@ impl LampArray { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetIndicesForKey)(windows_core::Interface::as_raw(this), key, windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn GetIndicesForPurposes(&self, purposes: LampPurposes) -> windows_core::Result> { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetIndicesForPurposes)(windows_core::Interface::as_raw(this), purposes, windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "UI")] @@ -430,7 +430,7 @@ impl LampArray { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendMessageAsync)(windows_core::Interface::as_raw(this), messageid, message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -438,14 +438,14 @@ impl LampArray { pub fn RequestMessageAsync(&self, messageid: i32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestMessageAsync)(windows_core::Interface::as_raw(this), messageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsAvailable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -455,7 +455,7 @@ impl LampArray { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailabilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -465,13 +465,13 @@ impl LampArray { } pub fn GetDeviceSelector() -> windows_core::Result { Self::ILampArrayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ILampArrayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -501,7 +501,7 @@ impl LampAvailabilityChangedEventArgs { pub fn IsAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -526,14 +526,14 @@ impl LampInfo { pub fn Index(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Index)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Purposes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Purposes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -541,35 +541,35 @@ impl LampInfo { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RedLevelCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedLevelCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GreenLevelCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GreenLevelCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BlueLevelCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlueLevelCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GainLevelCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GainLevelCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -577,7 +577,7 @@ impl LampInfo { pub fn FixedColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FixedColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -585,14 +585,14 @@ impl LampInfo { pub fn GetNearestSupportedColor(&self, desiredcolor: super::super::UI::Color) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNearestSupportedColor)(windows_core::Interface::as_raw(this), desiredcolor, &mut result__).map(|| result__) } } pub fn UpdateLatency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs index 6b1ba81c31..8d2f81e224 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs @@ -79,7 +79,7 @@ impl IMidiOutPort_Vtbl { let this = (*this).get_impl(); IMidiOutPort_Impl::SendBuffer(this, windows_core::from_raw_borrowed(&mididata)).into() } - unsafe extern "system" fn DeviceId, Impl: IMidiOutPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceId, Impl: IMidiOutPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMidiOutPort_Impl::DeviceId(this) { diff --git a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs index 9968e777c9..83ad3ec661 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs @@ -46,7 +46,7 @@ pub struct IMidiInPort_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MessageReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMessageReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMidiInPortStatics, IMidiInPortStatics_Vtbl, 0x44c439dc_67ff_4a6e_8bac_fdb6610cf296); impl windows_core::RuntimeType for IMidiInPortStatics { @@ -55,14 +55,14 @@ impl windows_core::RuntimeType for IMidiInPortStatics { #[repr(C)] pub struct IMidiInPortStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMidiMessage, IMidiMessage_Vtbl, 0x79767945_1094_4283_9be0_289fc0ee8334); impl std::ops::Deref for IMidiMessage { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMidiMessage, windows_core::IUnknown, windows_core::IInspectable); @@ -70,7 +70,7 @@ impl IMidiMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -78,14 +78,14 @@ impl IMidiMessage { pub fn RawData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -156,7 +156,7 @@ windows_core::imp::define_interface!(IMidiOutPort, IMidiOutPort_Vtbl, 0x931d6d9f impl std::ops::Deref for IMidiOutPort { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMidiOutPort, windows_core::IUnknown, windows_core::IInspectable); @@ -180,7 +180,7 @@ impl IMidiOutPort { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -200,7 +200,7 @@ pub struct IMidiOutPort_Vtbl { pub SendBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SendBuffer: usize, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMidiOutPortStatics, IMidiOutPortStatics_Vtbl, 0x065cc3e9_0f88_448b_9b64_a95826c65b8f); impl windows_core::RuntimeType for IMidiOutPortStatics { @@ -209,8 +209,8 @@ impl windows_core::RuntimeType for IMidiOutPortStatics { #[repr(C)] pub struct IMidiOutPortStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMidiPitchBendChangeMessage, IMidiPitchBendChangeMessage_Vtbl, 0x29df4cb1_2e9f_4faf_8c2b_9cb82a9079ca); impl windows_core::RuntimeType for IMidiPitchBendChangeMessage { @@ -384,7 +384,7 @@ impl MidiActiveSensingMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -392,14 +392,14 @@ impl MidiActiveSensingMessage { pub fn RawData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -425,27 +425,27 @@ impl MidiChannelPressureMessage { pub fn Channel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Channel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pressure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiChannelPressureMessage(channel: u8, pressure: u8) -> windows_core::Result { Self::IMidiChannelPressureMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiChannelPressureMessage)(windows_core::Interface::as_raw(this), channel, pressure, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -453,14 +453,14 @@ impl MidiChannelPressureMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -498,7 +498,7 @@ impl MidiContinueMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -506,14 +506,14 @@ impl MidiContinueMessage { pub fn RawData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -539,34 +539,34 @@ impl MidiControlChangeMessage { pub fn Channel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Channel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Controller(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Controller)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ControlValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiControlChangeMessage(channel: u8, controller: u8, controlvalue: u8) -> windows_core::Result { Self::IMidiControlChangeMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiControlChangeMessage)(windows_core::Interface::as_raw(this), channel, controller, controlvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -574,14 +574,14 @@ impl MidiControlChangeMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -619,7 +619,7 @@ impl MidiInPort { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -630,19 +630,19 @@ impl MidiInPort { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IMidiInPortStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IMidiInPortStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -672,7 +672,7 @@ impl MidiMessageReceivedEventArgs { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -698,7 +698,7 @@ impl MidiNoteOffMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -706,41 +706,41 @@ impl MidiNoteOffMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Channel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Channel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Note(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Note)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Velocity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Velocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiNoteOffMessage(channel: u8, note: u8, velocity: u8) -> windows_core::Result { Self::IMidiNoteOffMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiNoteOffMessage)(windows_core::Interface::as_raw(this), channel, note, velocity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -771,7 +771,7 @@ impl MidiNoteOnMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -779,41 +779,41 @@ impl MidiNoteOnMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Channel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Channel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Note(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Note)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Velocity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Velocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiNoteOnMessage(channel: u8, note: u8, velocity: u8) -> windows_core::Result { Self::IMidiNoteOnMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiNoteOnMessage)(windows_core::Interface::as_raw(this), channel, note, velocity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -863,19 +863,19 @@ impl MidiOutPort { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IMidiOutPortStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IMidiOutPortStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -906,7 +906,7 @@ impl MidiPitchBendChangeMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -914,34 +914,34 @@ impl MidiPitchBendChangeMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Channel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Channel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Bend(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bend)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiPitchBendChangeMessage(channel: u8, bend: u16) -> windows_core::Result { Self::IMidiPitchBendChangeMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiPitchBendChangeMessage)(windows_core::Interface::as_raw(this), channel, bend, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -972,7 +972,7 @@ impl MidiPolyphonicKeyPressureMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -980,41 +980,41 @@ impl MidiPolyphonicKeyPressureMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Channel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Channel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Note(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Note)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pressure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiPolyphonicKeyPressureMessage(channel: u8, note: u8, pressure: u8) -> windows_core::Result { Self::IMidiPolyphonicKeyPressureMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiPolyphonicKeyPressureMessage)(windows_core::Interface::as_raw(this), channel, note, pressure, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1045,7 +1045,7 @@ impl MidiProgramChangeMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1053,34 +1053,34 @@ impl MidiProgramChangeMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Channel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Channel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Program(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Program)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiProgramChangeMessage(channel: u8, program: u8) -> windows_core::Result { Self::IMidiProgramChangeMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiProgramChangeMessage)(windows_core::Interface::as_raw(this), channel, program, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1111,7 +1111,7 @@ impl MidiSongPositionPointerMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1119,27 +1119,27 @@ impl MidiSongPositionPointerMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Beats(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Beats)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiSongPositionPointerMessage(beats: u16) -> windows_core::Result { Self::IMidiSongPositionPointerMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiSongPositionPointerMessage)(windows_core::Interface::as_raw(this), beats, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1170,7 +1170,7 @@ impl MidiSongSelectMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1178,27 +1178,27 @@ impl MidiSongSelectMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Song(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Song)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiSongSelectMessage(song: u8) -> windows_core::Result { Self::IMidiSongSelectMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiSongSelectMessage)(windows_core::Interface::as_raw(this), song, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1236,7 +1236,7 @@ impl MidiStartMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1244,14 +1244,14 @@ impl MidiStartMessage { pub fn RawData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1284,7 +1284,7 @@ impl MidiStopMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1292,14 +1292,14 @@ impl MidiStopMessage { pub fn RawData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1344,7 +1344,7 @@ impl MidiSynthesizer { pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1352,14 +1352,14 @@ impl MidiSynthesizer { pub fn AudioDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Volume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Volume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1369,7 +1369,7 @@ impl MidiSynthesizer { } pub fn CreateAsync() -> windows_core::Result> { Self::IMidiSynthesizerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1379,7 +1379,7 @@ impl MidiSynthesizer { P0: windows_core::Param, { Self::IMidiSynthesizerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromAudioDeviceAsync)(windows_core::Interface::as_raw(this), audiodevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1389,7 +1389,7 @@ impl MidiSynthesizer { P0: windows_core::Param, { Self::IMidiSynthesizerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSynthesizer)(windows_core::Interface::as_raw(this), mididevice.param().abi(), &mut result__).map(|| result__) }) } @@ -1420,7 +1420,7 @@ impl MidiSystemExclusiveMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1428,14 +1428,14 @@ impl MidiSystemExclusiveMessage { pub fn RawData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1445,7 +1445,7 @@ impl MidiSystemExclusiveMessage { P0: windows_core::Param, { Self::IMidiSystemExclusiveMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiSystemExclusiveMessage)(windows_core::Interface::as_raw(this), rawdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1483,7 +1483,7 @@ impl MidiSystemResetMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1491,14 +1491,14 @@ impl MidiSystemResetMessage { pub fn RawData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1524,7 +1524,7 @@ impl MidiTimeCodeMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1532,34 +1532,34 @@ impl MidiTimeCodeMessage { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FrameType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Values(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Values)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateMidiTimeCodeMessage(frametype: u8, values: u8) -> windows_core::Result { Self::IMidiTimeCodeMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMidiTimeCodeMessage)(windows_core::Interface::as_raw(this), frametype, values, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1597,7 +1597,7 @@ impl MidiTimingClockMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1605,14 +1605,14 @@ impl MidiTimingClockMessage { pub fn RawData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1645,7 +1645,7 @@ impl MidiTuneRequestMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1653,14 +1653,14 @@ impl MidiTuneRequestMessage { pub fn RawData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 d5aef11a13..8d8890b35b 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs @@ -16,7 +16,7 @@ impl windows_core::RuntimeType for IBarcodeScannerDisableScannerRequest2 { pub struct IBarcodeScannerDisableScannerRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportFailedWithFailedReasonAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerDisableScannerRequestEventArgs, IBarcodeScannerDisableScannerRequestEventArgs_Vtbl, 0x7006e142_e802_46f5_b604_352a15ce9232); impl windows_core::RuntimeType for IBarcodeScannerDisableScannerRequestEventArgs { @@ -46,7 +46,7 @@ impl windows_core::RuntimeType for IBarcodeScannerEnableScannerRequest2 { pub struct IBarcodeScannerEnableScannerRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportFailedWithFailedReasonAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerEnableScannerRequestEventArgs, IBarcodeScannerEnableScannerRequestEventArgs_Vtbl, 0x956c9419_7b4e_4451_8c41_8e10cfbc5b41); impl windows_core::RuntimeType for IBarcodeScannerEnableScannerRequestEventArgs { @@ -100,7 +100,7 @@ impl windows_core::RuntimeType for IBarcodeScannerGetSymbologyAttributesRequest2 pub struct IBarcodeScannerGetSymbologyAttributesRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportFailedWithFailedReasonAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerGetSymbologyAttributesRequestEventArgs, IBarcodeScannerGetSymbologyAttributesRequestEventArgs_Vtbl, 0x7f89de3e_fb5d_493c_b402_356b24d574a6); impl windows_core::RuntimeType for IBarcodeScannerGetSymbologyAttributesRequestEventArgs { @@ -130,7 +130,7 @@ impl windows_core::RuntimeType for IBarcodeScannerHideVideoPreviewRequest2 { pub struct IBarcodeScannerHideVideoPreviewRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportFailedWithFailedReasonAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerHideVideoPreviewRequestEventArgs, IBarcodeScannerHideVideoPreviewRequestEventArgs_Vtbl, 0x16a281fc_d6be_4bc7_9df1_33741f3eadea); impl windows_core::RuntimeType for IBarcodeScannerHideVideoPreviewRequestEventArgs { @@ -149,18 +149,18 @@ impl windows_core::RuntimeType for IBarcodeScannerProviderConnection { #[repr(C)] pub struct IBarcodeScannerProviderConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SupportedSymbologies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SupportedSymbologies: usize, - pub CompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportScannedDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportTriggerStateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, BarcodeScannerTriggerState, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -231,7 +231,7 @@ impl windows_core::RuntimeType for IBarcodeScannerSetActiveSymbologiesRequest2 { pub struct IBarcodeScannerSetActiveSymbologiesRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportFailedWithFailedReasonAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerSetActiveSymbologiesRequestEventArgs, IBarcodeScannerSetActiveSymbologiesRequestEventArgs_Vtbl, 0x06305afa_7bf6_4d52_801a_330272f60ae1); impl windows_core::RuntimeType for IBarcodeScannerSetActiveSymbologiesRequestEventArgs { @@ -263,7 +263,7 @@ impl windows_core::RuntimeType for IBarcodeScannerSetSymbologyAttributesRequest2 pub struct IBarcodeScannerSetSymbologyAttributesRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportFailedWithFailedReasonAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerSetSymbologyAttributesRequestEventArgs, IBarcodeScannerSetSymbologyAttributesRequestEventArgs_Vtbl, 0xb2b89809_9824_47d4_85bd_d0077baa7bd2); impl windows_core::RuntimeType for IBarcodeScannerSetSymbologyAttributesRequestEventArgs { @@ -293,7 +293,7 @@ impl windows_core::RuntimeType for IBarcodeScannerStartSoftwareTriggerRequest2 { pub struct IBarcodeScannerStartSoftwareTriggerRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportFailedWithFailedReasonAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerStartSoftwareTriggerRequestEventArgs, IBarcodeScannerStartSoftwareTriggerRequestEventArgs_Vtbl, 0x2305d843_c88f_4f3b_8c3b_d3df071051ec); impl windows_core::RuntimeType for IBarcodeScannerStartSoftwareTriggerRequestEventArgs { @@ -323,7 +323,7 @@ impl windows_core::RuntimeType for IBarcodeScannerStopSoftwareTriggerRequest2 { pub struct IBarcodeScannerStopSoftwareTriggerRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportFailedWithFailedReasonAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportFailedWithFailedReasonAndDescriptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerStopSoftwareTriggerRequestEventArgs, IBarcodeScannerStopSoftwareTriggerRequestEventArgs_Vtbl, 0xeac34450_4eb7_481a_9273_147a273b99b8); impl windows_core::RuntimeType for IBarcodeScannerStopSoftwareTriggerRequestEventArgs { @@ -376,28 +376,28 @@ impl BarcodeScannerDisableScannerRequest { pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(windows_core::Interface::as_raw(this), reason, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAndDescriptionAsync(&self, reason: i32, failedreasondescription: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(windows_core::Interface::as_raw(this), reason, core::mem::transmute_copy(failedreasondescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -422,14 +422,14 @@ impl BarcodeScannerDisableScannerRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -454,28 +454,28 @@ impl BarcodeScannerEnableScannerRequest { pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(windows_core::Interface::as_raw(this), reason, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAndDescriptionAsync(&self, reason: i32, failedreasondescription: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(windows_core::Interface::as_raw(this), reason, core::mem::transmute_copy(failedreasondescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -500,14 +500,14 @@ impl BarcodeScannerEnableScannerRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -533,28 +533,28 @@ impl BarcodeScannerFrameReader { pub fn StartAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryAcquireLatestFrameAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAcquireLatestFrameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -564,7 +564,7 @@ impl BarcodeScannerFrameReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameArrived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -597,7 +597,7 @@ impl BarcodeScannerFrameReaderFrameArrivedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -622,7 +622,7 @@ impl BarcodeScannerGetSymbologyAttributesRequest { pub fn Symbology(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Symbology)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -632,28 +632,28 @@ impl BarcodeScannerGetSymbologyAttributesRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), attributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(windows_core::Interface::as_raw(this), reason, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAndDescriptionAsync(&self, reason: i32, failedreasondescription: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(windows_core::Interface::as_raw(this), reason, core::mem::transmute_copy(failedreasondescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -678,14 +678,14 @@ impl BarcodeScannerGetSymbologyAttributesRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -710,28 +710,28 @@ impl BarcodeScannerHideVideoPreviewRequest { pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(windows_core::Interface::as_raw(this), reason, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAndDescriptionAsync(&self, reason: i32, failedreasondescription: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(windows_core::Interface::as_raw(this), reason, core::mem::transmute_copy(failedreasondescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -756,14 +756,14 @@ impl BarcodeScannerHideVideoPreviewRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -789,14 +789,14 @@ impl BarcodeScannerProviderConnection { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -804,14 +804,14 @@ impl BarcodeScannerProviderConnection { pub fn SupportedSymbologies(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedSymbologies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CompanyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompanyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -822,7 +822,7 @@ impl BarcodeScannerProviderConnection { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -833,7 +833,7 @@ impl BarcodeScannerProviderConnection { pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -851,14 +851,14 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportScannedDataAsync)(windows_core::Interface::as_raw(this), report.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportTriggerStateAsync(&self, state: BarcodeScannerTriggerState) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportTriggerStateAsync)(windows_core::Interface::as_raw(this), state, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -868,7 +868,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportErrorAsync)(windows_core::Interface::as_raw(this), errordata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -879,7 +879,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportErrorAsyncWithScanReport)(windows_core::Interface::as_raw(this), errordata.param().abi(), isretriable, scanreport.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -889,7 +889,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableScannerRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -903,7 +903,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableScannerRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -917,7 +917,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetActiveSymbologiesRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -931,7 +931,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartSoftwareTriggerRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -945,7 +945,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopSoftwareTriggerRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -959,7 +959,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBarcodeSymbologyAttributesRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -973,7 +973,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetBarcodeSymbologyAttributesRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -987,7 +987,7 @@ impl BarcodeScannerProviderConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HideVideoPreviewRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -998,7 +998,7 @@ impl BarcodeScannerProviderConnection { pub fn CreateFrameReaderAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameReaderAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1006,7 +1006,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameReaderWithFormatAsync)(windows_core::Interface::as_raw(this), preferredformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1014,7 +1014,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameReaderWithFormatAndSizeAsync)(windows_core::Interface::as_raw(this), preferredformat, preferredsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1043,7 +1043,7 @@ impl BarcodeScannerProviderTriggerDetails { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1069,35 +1069,35 @@ impl BarcodeScannerSetActiveSymbologiesRequest { pub fn Symbologies(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Symbologies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(windows_core::Interface::as_raw(this), reason, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAndDescriptionAsync(&self, reason: i32, failedreasondescription: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(windows_core::Interface::as_raw(this), reason, core::mem::transmute_copy(failedreasondescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1122,14 +1122,14 @@ impl BarcodeScannerSetActiveSymbologiesRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1154,42 +1154,42 @@ impl BarcodeScannerSetSymbologyAttributesRequest { pub fn Symbology(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Symbology)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Attributes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(windows_core::Interface::as_raw(this), reason, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAndDescriptionAsync(&self, reason: i32, failedreasondescription: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(windows_core::Interface::as_raw(this), reason, core::mem::transmute_copy(failedreasondescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1214,14 +1214,14 @@ impl BarcodeScannerSetSymbologyAttributesRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1246,28 +1246,28 @@ impl BarcodeScannerStartSoftwareTriggerRequest { pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(windows_core::Interface::as_raw(this), reason, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAndDescriptionAsync(&self, reason: i32, failedreasondescription: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(windows_core::Interface::as_raw(this), reason, core::mem::transmute_copy(failedreasondescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1292,14 +1292,14 @@ impl BarcodeScannerStartSoftwareTriggerRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1324,28 +1324,28 @@ impl BarcodeScannerStopSoftwareTriggerRequest { pub fn ReportCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAsync(&self, reason: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAsync)(windows_core::Interface::as_raw(this), reason, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportFailedWithFailedReasonAndDescriptionAsync(&self, reason: i32, failedreasondescription: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportFailedWithFailedReasonAndDescriptionAsync)(windows_core::Interface::as_raw(this), reason, core::mem::transmute_copy(failedreasondescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1370,14 +1370,14 @@ impl BarcodeScannerStopSoftwareTriggerRequestEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1404,21 +1404,21 @@ impl BarcodeScannerVideoFrame { pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1426,7 +1426,7 @@ impl BarcodeScannerVideoFrame { pub fn PixelData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1462,7 +1462,7 @@ impl BarcodeSymbologyAttributesBuilder { pub fn IsCheckDigitValidationSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCheckDigitValidationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1473,7 +1473,7 @@ impl BarcodeSymbologyAttributesBuilder { pub fn IsCheckDigitTransmissionSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCheckDigitTransmissionSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1484,7 +1484,7 @@ impl BarcodeSymbologyAttributesBuilder { pub fn IsDecodeLengthSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDecodeLengthSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1495,7 +1495,7 @@ impl BarcodeSymbologyAttributesBuilder { pub fn CreateAttributes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs index b5593378a0..93275d1d05 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs @@ -221,7 +221,7 @@ impl ICommonClaimedPosPrinterStation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ValidateData, Impl: ICommonClaimedPosPrinterStation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit, result__: *mut bool) -> windows_core::HRESULT { + unsafe extern "system" fn ValidateData, Impl: ICommonClaimedPosPrinterStation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit, result__: *mut bool) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICommonClaimedPosPrinterStation_Impl::ValidateData(this, core::mem::transmute(&data)) { @@ -595,12 +595,12 @@ impl windows_core::RuntimeName for IPosPrinterJob { } impl IPosPrinterJob_Vtbl { pub const fn new, Impl: IPosPrinterJob_Impl, const OFFSET: isize>() -> IPosPrinterJob_Vtbl { - unsafe extern "system" fn Print, Impl: IPosPrinterJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Print, Impl: IPosPrinterJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPosPrinterJob_Impl::Print(this, core::mem::transmute(&data)).into() } - unsafe extern "system" fn PrintLine, Impl: IPosPrinterJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrintLine, Impl: IPosPrinterJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPosPrinterJob_Impl::PrintLine(this, core::mem::transmute(&data)).into() @@ -699,17 +699,17 @@ impl IReceiptOrSlipJob_Vtbl { let this = (*this).get_impl(); IReceiptOrSlipJob_Impl::PrintSavedBitmap(this, bitmapnumber).into() } - unsafe extern "system" fn DrawRuledLine, Impl: IReceiptOrSlipJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, positionlist: std::mem::MaybeUninit, linedirection: PosPrinterLineDirection, linewidth: u32, linestyle: PosPrinterLineStyle, linecolor: u32) -> windows_core::HRESULT { + unsafe extern "system" fn DrawRuledLine, Impl: IReceiptOrSlipJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, positionlist: core::mem::MaybeUninit, linedirection: PosPrinterLineDirection, linewidth: u32, linestyle: PosPrinterLineStyle, linecolor: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IReceiptOrSlipJob_Impl::DrawRuledLine(this, core::mem::transmute(&positionlist), linedirection, linewidth, linestyle, linecolor).into() } - unsafe extern "system" fn PrintBarcode, Impl: IReceiptOrSlipJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit, symbology: u32, height: u32, width: u32, textposition: PosPrinterBarcodeTextPosition, alignment: PosPrinterAlignment) -> windows_core::HRESULT { + unsafe extern "system" fn PrintBarcode, Impl: IReceiptOrSlipJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit, symbology: u32, height: u32, width: u32, textposition: PosPrinterBarcodeTextPosition, alignment: PosPrinterAlignment) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IReceiptOrSlipJob_Impl::PrintBarcode(this, core::mem::transmute(&data), symbology, height, width, textposition, alignment).into() } - unsafe extern "system" fn PrintBarcodeCustomAlign, Impl: IReceiptOrSlipJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit, symbology: u32, height: u32, width: u32, textposition: PosPrinterBarcodeTextPosition, alignmentdistance: u32) -> windows_core::HRESULT { + unsafe extern "system" fn PrintBarcodeCustomAlign, Impl: IReceiptOrSlipJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit, symbology: u32, height: u32, width: u32, textposition: PosPrinterBarcodeTextPosition, alignmentdistance: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IReceiptOrSlipJob_Impl::PrintBarcodeCustomAlign(this, core::mem::transmute(&data), symbology, height, width, textposition, alignmentdistance).into() diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index c1d614d6db..5c15be9a8d 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -7,7 +7,7 @@ impl windows_core::RuntimeType for IBarcodeScanner { #[repr(C)] pub struct IBarcodeScanner_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ClaimScannerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CheckHealthAsync: unsafe extern "system" fn(*mut core::ffi::c_void, UnifiedPosHealthCheckLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -24,7 +24,7 @@ pub struct IBarcodeScanner_Vtbl { pub GetSupportedProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetSupportedProfiles: usize, - pub IsProfileSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsProfileSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, pub StatusUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStatusUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -35,7 +35,7 @@ impl windows_core::RuntimeType for IBarcodeScanner2 { #[repr(C)] pub struct IBarcodeScanner2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerCapabilities, IBarcodeScannerCapabilities_Vtbl, 0xc60691e4_f2c8_4420_a307_b12ef6622857); impl windows_core::RuntimeType for IBarcodeScannerCapabilities { @@ -136,8 +136,8 @@ impl windows_core::RuntimeType for IBarcodeScannerStatics { pub struct IBarcodeScannerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerStatics2, IBarcodeScannerStatics2_Vtbl, 0xb8652473_a36f_4007_b1d0_279ebe92a656); impl windows_core::RuntimeType for IBarcodeScannerStatics2 { @@ -146,7 +146,7 @@ impl windows_core::RuntimeType for IBarcodeScannerStatics2 { #[repr(C)] pub struct IBarcodeScannerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeScannerStatusUpdatedEventArgs, IBarcodeScannerStatusUpdatedEventArgs_Vtbl, 0x355d8586_9c43_462b_a91a_816dc97f452c); impl windows_core::RuntimeType for IBarcodeScannerStatusUpdatedEventArgs { @@ -258,7 +258,7 @@ pub struct IBarcodeSymbologiesStatics_Vtbl { pub OcrB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Micr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub ExtendedBase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBarcodeSymbologiesStatics2, IBarcodeSymbologiesStatics2_Vtbl, 0x8b7518f4_99d0_40bf_9424_b91d6dd4c6e0); impl windows_core::RuntimeType for IBarcodeSymbologiesStatics2 { @@ -297,7 +297,7 @@ impl windows_core::RuntimeType for ICashDrawer { #[repr(C)] pub struct ICashDrawer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsDrawerOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -360,7 +360,7 @@ windows_core::imp::define_interface!(ICashDrawerEventSourceEventArgs, ICashDrawe impl std::ops::Deref for ICashDrawerEventSourceEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICashDrawerEventSourceEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -368,7 +368,7 @@ impl ICashDrawerEventSourceEventArgs { pub fn CashDrawer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CashDrawer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -389,8 +389,8 @@ impl windows_core::RuntimeType for ICashDrawerStatics { pub struct ICashDrawerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICashDrawerStatics2, ICashDrawerStatics2_Vtbl, 0x3e818121_8c42_40e8_9c0e_40297048104c); impl windows_core::RuntimeType for ICashDrawerStatics2 { @@ -399,7 +399,7 @@ impl windows_core::RuntimeType for ICashDrawerStatics2 { #[repr(C)] pub struct ICashDrawerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICashDrawerStatus, ICashDrawerStatus_Vtbl, 0x6bbd78bf_dca1_4e06_99eb_5af6a5aec108); impl windows_core::RuntimeType for ICashDrawerStatus { @@ -427,7 +427,7 @@ impl windows_core::RuntimeType for IClaimedBarcodeScanner { #[repr(C)] pub struct IClaimedBarcodeScanner_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsDisabledOnDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsDisabledOnDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -448,7 +448,7 @@ pub struct IClaimedBarcodeScanner_Vtbl { pub UpdateStatisticsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] UpdateStatisticsAsync: usize, - pub SetActiveProfileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetActiveProfileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub TriggerPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -519,7 +519,7 @@ impl windows_core::RuntimeType for IClaimedCashDrawer { #[repr(C)] pub struct IClaimedCashDrawer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsDrawerOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CloseAlarm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -572,13 +572,13 @@ impl windows_core::RuntimeType for IClaimedLineDisplay { #[repr(C)] pub struct IClaimedLineDisplay_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PhysicalDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PhysicalDeviceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceControlDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceControlVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceServiceVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhysicalDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhysicalDeviceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceControlDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceControlVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceServiceVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DefaultWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RetainDevice: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseDeviceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -652,9 +652,9 @@ impl windows_core::RuntimeType for IClaimedLineDisplayStatics { #[repr(C)] pub struct IClaimedLineDisplayStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IClaimedMagneticStripeReader, IClaimedMagneticStripeReader_Vtbl, 0x475ca8f3_9417_48bc_b9d7_4163a7844c02); impl windows_core::RuntimeType for IClaimedMagneticStripeReader { @@ -663,7 +663,7 @@ impl windows_core::RuntimeType for IClaimedMagneticStripeReader { #[repr(C)] pub struct IClaimedMagneticStripeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsDisabledOnDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsDisabledOnDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -686,7 +686,7 @@ pub struct IClaimedMagneticStripeReader_Vtbl { RetrieveDeviceAuthenticationDataAsync: usize, pub AuthenticateDeviceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeAuthenticateDeviceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub UpdateKeyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UpdateKeyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub ResetStatisticsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -731,7 +731,7 @@ impl windows_core::RuntimeType for IClaimedPosPrinter { #[repr(C)] pub struct IClaimedPosPrinter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetCharacterSet: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CharacterSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -814,7 +814,7 @@ windows_core::imp::define_interface!(ICommonClaimedPosPrinterStation, ICommonCla impl std::ops::Deref for ICommonClaimedPosPrinterStation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommonClaimedPosPrinterStation, windows_core::IUnknown, windows_core::IInspectable); @@ -826,7 +826,7 @@ impl ICommonClaimedPosPrinterStation { pub fn CharactersPerLine(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharactersPerLine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -837,7 +837,7 @@ impl ICommonClaimedPosPrinterStation { pub fn LineHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -848,14 +848,14 @@ impl ICommonClaimedPosPrinterStation { pub fn LineSpacing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineSpacing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LineWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -866,14 +866,14 @@ impl ICommonClaimedPosPrinterStation { pub fn IsLetterQuality(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLetterQuality)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperNearEnd(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperNearEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -884,56 +884,56 @@ impl ICommonClaimedPosPrinterStation { pub fn ColorCartridge(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorCartridge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCoverOpen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCoverOpen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCartridgeRemoved(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCartridgeRemoved)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCartridgeEmpty(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCartridgeEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHeadCleaning(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHeadCleaning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperEmpty(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReadyToPrint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadyToPrint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ValidateData(&self, data: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateData)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(data), &mut result__).map(|| result__) } } @@ -962,13 +962,13 @@ pub struct ICommonClaimedPosPrinterStation_Vtbl { pub IsHeadCleaning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsPaperEmpty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsReadyToPrint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub ValidateData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ValidateData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommonPosPrintStationCapabilities, ICommonPosPrintStationCapabilities_Vtbl, 0xde5b52ca_e02e_40e9_9e5e_1b488e6aacfc); impl std::ops::Deref for ICommonPosPrintStationCapabilities { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommonPosPrintStationCapabilities, windows_core::IUnknown, windows_core::IInspectable); @@ -976,84 +976,84 @@ impl ICommonPosPrintStationCapabilities { pub fn IsPrinterPresent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrinterPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDualColorSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDualColorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColorCartridgeCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorCartridgeCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CartridgeSensors(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CartridgeSensors)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBoldSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBoldSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsItalicSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsItalicSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUnderlineSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUnderlineSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighPrintSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighPrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleWidePrintSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperEmptySensorSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperEmptySensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperNearEndSensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1061,7 +1061,7 @@ impl ICommonPosPrintStationCapabilities { pub fn SupportedCharactersPerLine(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCharactersPerLine)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1093,7 +1093,7 @@ windows_core::imp::define_interface!(ICommonReceiptSlipCapabilities, ICommonRece impl std::ops::Deref for ICommonReceiptSlipCapabilities { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommonReceiptSlipCapabilities, windows_core::IUnknown, windows_core::IInspectable); @@ -1102,49 +1102,49 @@ impl ICommonReceiptSlipCapabilities { pub fn IsBarcodeSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBarcodeSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBitmapSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBitmapSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLeft90RotationSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLeft90RotationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRight90RotationSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRight90RotationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Is180RotationSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Is180RotationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPrintAreaSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrintAreaSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RuledLineCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RuledLineCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1152,7 +1152,7 @@ impl ICommonReceiptSlipCapabilities { pub fn SupportedBarcodeRotations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedBarcodeRotations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1160,91 +1160,91 @@ impl ICommonReceiptSlipCapabilities { pub fn SupportedBitmapRotations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedBitmapRotations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPrinterPresent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrinterPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDualColorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDualColorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColorCartridgeCapabilities(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorCartridgeCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CartridgeSensors(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CartridgeSensors)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBoldSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBoldSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsItalicSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsItalicSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUnderlineSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUnderlineSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighPrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighPrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleWidePrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperEmptySensorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperEmptySensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperNearEndSensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1252,7 +1252,7 @@ impl ICommonReceiptSlipCapabilities { pub fn SupportedCharactersPerLine(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCharactersPerLine)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1286,7 +1286,7 @@ impl windows_core::RuntimeType for IJournalPrintJob { #[repr(C)] pub struct IJournalPrintJob_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Print: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Print: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FeedPaperByLine: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub FeedPaperByMapModeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -1319,13 +1319,13 @@ impl windows_core::RuntimeType for ILineDisplay { #[repr(C)] pub struct ILineDisplay_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PhysicalDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PhysicalDeviceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceControlDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceControlVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceServiceVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhysicalDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhysicalDeviceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceControlDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceControlVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceServiceVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClaimAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILineDisplay2, ILineDisplay2_Vtbl, 0xc296a628_ef44_40f3_bd1c_b04c6a5cdc7d); @@ -1458,10 +1458,10 @@ impl windows_core::RuntimeType for ILineDisplayStatics { #[repr(C)] pub struct ILineDisplayStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILineDisplayStatics2, ILineDisplayStatics2_Vtbl, 0x600c3f1c_77ab_4968_a7de_c02ff169f2cc); impl windows_core::RuntimeType for ILineDisplayStatics2 { @@ -1479,9 +1479,9 @@ impl windows_core::RuntimeType for ILineDisplayStatisticsCategorySelector { #[repr(C)] pub struct ILineDisplayStatisticsCategorySelector_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AllStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UnifiedPosStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ManufacturerStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AllStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnifiedPosStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ManufacturerStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILineDisplayStatusUpdatedEventArgs, ILineDisplayStatusUpdatedEventArgs_Vtbl, 0xddd57c1a_86fb_4eba_93d1_6f5eda52b752); impl windows_core::RuntimeType for ILineDisplayStatusUpdatedEventArgs { @@ -1499,7 +1499,7 @@ impl windows_core::RuntimeType for ILineDisplayStoredBitmap { #[repr(C)] pub struct ILineDisplayStoredBitmap_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EscapeSequence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EscapeSequence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TryDeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILineDisplayWindow, ILineDisplayWindow_Vtbl, 0xd21feef4_2364_4be5_bee1_851680af4964); @@ -1513,9 +1513,9 @@ pub struct ILineDisplayWindow_Vtbl { pub InterCharacterWaitInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetInterCharacterWaitInterval: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub TryRefreshAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryDisplayTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, LineDisplayTextAttribute, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryDisplayTextAtPositionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, LineDisplayTextAttribute, super::super::Foundation::Point, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryDisplayTextNormalAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryDisplayTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, LineDisplayTextAttribute, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryDisplayTextAtPositionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, LineDisplayTextAttribute, super::super::Foundation::Point, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryDisplayTextNormalAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryScrollTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, LineDisplayScrollDirection, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryClearTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1558,7 +1558,7 @@ impl windows_core::RuntimeType for IMagneticStripeReader { #[repr(C)] pub struct IMagneticStripeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SupportedCardTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u32) -> windows_core::HRESULT, pub DeviceAuthenticationProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MagneticStripeReaderAuthenticationProtocol) -> windows_core::HRESULT, @@ -1580,24 +1580,24 @@ impl windows_core::RuntimeType for IMagneticStripeReaderAamvaCardDataReceivedEve pub struct IMagneticStripeReaderAamvaCardDataReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Report: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LicenseNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Restrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Class: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Endorsements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BirthDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Surname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Suffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Gender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HairColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EyeColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Weight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LicenseNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Restrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Class: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Endorsements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BirthDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Surname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Suffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Gender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HairColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EyeColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Weight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMagneticStripeReaderBankCardDataReceivedEventArgs, IMagneticStripeReaderBankCardDataReceivedEventArgs_Vtbl, 0x2e958823_a31a_4763_882c_23725e39b08e); impl windows_core::RuntimeType for IMagneticStripeReaderBankCardDataReceivedEventArgs { @@ -1607,14 +1607,14 @@ impl windows_core::RuntimeType for IMagneticStripeReaderBankCardDataReceivedEven pub struct IMagneticStripeReaderBankCardDataReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Report: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AccountNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MiddleInitial: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Surname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Suffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccountNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MiddleInitial: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Surname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Suffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMagneticStripeReaderCapabilities, IMagneticStripeReaderCapabilities_Vtbl, 0x7128809c_c440_44a2_a467_469175d02896); impl windows_core::RuntimeType for IMagneticStripeReaderCapabilities { @@ -1623,7 +1623,7 @@ impl windows_core::RuntimeType for IMagneticStripeReaderCapabilities { #[repr(C)] pub struct IMagneticStripeReaderCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CardAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CardAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SupportedEncryptionAlgorithms: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub AuthenticationLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MagneticStripeReaderAuthenticationLevel) -> windows_core::HRESULT, pub IsIsoSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -1706,8 +1706,8 @@ impl windows_core::RuntimeType for IMagneticStripeReaderStatics { pub struct IMagneticStripeReaderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMagneticStripeReaderStatics2, IMagneticStripeReaderStatics2_Vtbl, 0x8cadc362_d667_48fa_86bc_f5ae1189262b); impl windows_core::RuntimeType for IMagneticStripeReaderStatics2 { @@ -1716,7 +1716,7 @@ impl windows_core::RuntimeType for IMagneticStripeReaderStatics2 { #[repr(C)] pub struct IMagneticStripeReaderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMagneticStripeReaderStatusUpdatedEventArgs, IMagneticStripeReaderStatusUpdatedEventArgs_Vtbl, 0x09cc6bb0_3262_401d_9e8a_e80d6358906b); impl windows_core::RuntimeType for IMagneticStripeReaderStatusUpdatedEventArgs { @@ -1764,7 +1764,7 @@ impl windows_core::RuntimeType for IPosPrinter { #[repr(C)] pub struct IPosPrinter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SupportedCharacterSets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1795,7 +1795,7 @@ pub struct IPosPrinter2_Vtbl { pub SupportedBarcodeSymbologies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SupportedBarcodeSymbologies: usize, - pub GetFontProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFontProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPosPrinterCapabilities, IPosPrinterCapabilities_Vtbl, 0xcde95721_4380_4985_adc5_39db30cd93bc); impl windows_core::RuntimeType for IPosPrinterCapabilities { @@ -1833,7 +1833,7 @@ impl windows_core::RuntimeType for IPosPrinterFontProperty { #[repr(C)] pub struct IPosPrinterFontProperty_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TypeFace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TypeFace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsScalableToAnySize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub CharacterSizes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1844,7 +1844,7 @@ windows_core::imp::define_interface!(IPosPrinterJob, IPosPrinterJob_Vtbl, 0x9a94 impl std::ops::Deref for IPosPrinterJob { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPosPrinterJob, windows_core::IUnknown, windows_core::IInspectable); @@ -1864,7 +1864,7 @@ impl IPosPrinterJob { pub fn ExecuteAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecuteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1875,8 +1875,8 @@ impl windows_core::RuntimeType for IPosPrinterJob { #[repr(C)] pub struct IPosPrinterJob_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Print: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PrintLine: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Print: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrintLine: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PrintNewline: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ExecuteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1887,8 +1887,8 @@ impl windows_core::RuntimeType for IPosPrinterPrintOptions { #[repr(C)] pub struct IPosPrinterPrintOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TypeFace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTypeFace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TypeFace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTypeFace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CharacterHeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCharacterHeight: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Bold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -1930,8 +1930,8 @@ impl windows_core::RuntimeType for IPosPrinterStatics { pub struct IPosPrinterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPosPrinterStatics2, IPosPrinterStatics2_Vtbl, 0xeecd2c1c_b0d0_42e7_b137_b89b16244d41); impl windows_core::RuntimeType for IPosPrinterStatics2 { @@ -1940,7 +1940,7 @@ impl windows_core::RuntimeType for IPosPrinterStatics2 { #[repr(C)] pub struct IPosPrinterStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorWithConnectionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PosConnectionTypes, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPosPrinterStatus, IPosPrinterStatus_Vtbl, 0xd1f0c730_da40_4328_bf76_5156fa33b747); impl windows_core::RuntimeType for IPosPrinterStatus { @@ -1965,7 +1965,7 @@ windows_core::imp::define_interface!(IReceiptOrSlipJob, IReceiptOrSlipJob_Vtbl, impl std::ops::Deref for IReceiptOrSlipJob { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IReceiptOrSlipJob, windows_core::IUnknown, windows_core::IInspectable); @@ -2078,7 +2078,7 @@ impl IReceiptOrSlipJob { pub fn ExecuteAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecuteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2109,9 +2109,9 @@ pub struct IReceiptOrSlipJob_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] SetBitmapCustomWidthCustomAlign: usize, pub PrintSavedBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub DrawRuledLine: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PosPrinterLineDirection, u32, PosPrinterLineStyle, u32) -> windows_core::HRESULT, - pub PrintBarcode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, u32, u32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) -> windows_core::HRESULT, - pub PrintBarcodeCustomAlign: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, u32, u32, PosPrinterBarcodeTextPosition, u32) -> windows_core::HRESULT, + pub DrawRuledLine: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PosPrinterLineDirection, u32, PosPrinterLineStyle, u32) -> windows_core::HRESULT, + pub PrintBarcode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, u32, u32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) -> windows_core::HRESULT, + pub PrintBarcodeCustomAlign: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, u32, u32, PosPrinterBarcodeTextPosition, u32) -> windows_core::HRESULT, #[cfg(feature = "Graphics_Imaging")] pub PrintBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, PosPrinterAlignment) -> windows_core::HRESULT, #[cfg(not(feature = "Graphics_Imaging"))] @@ -2148,7 +2148,7 @@ impl windows_core::RuntimeType for IReceiptPrintJob2 { pub struct IReceiptPrintJob2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StampPaper: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Print: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Print: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FeedPaperByLine: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub FeedPaperByMapModeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -2184,7 +2184,7 @@ impl windows_core::RuntimeType for ISlipPrintJob { #[repr(C)] pub struct ISlipPrintJob_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Print: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Print: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FeedPaperByLine: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub FeedPaperByMapModeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -2219,7 +2219,7 @@ impl windows_core::RuntimeType for IUnifiedPosErrorData { #[repr(C)] pub struct IUnifiedPosErrorData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Severity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UnifiedPosErrorSeverity) -> windows_core::HRESULT, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UnifiedPosErrorReason) -> windows_core::HRESULT, pub ExtendedReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -2231,7 +2231,7 @@ impl windows_core::RuntimeType for IUnifiedPosErrorDataFactory { #[repr(C)] pub struct IUnifiedPosErrorDataFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, UnifiedPosErrorSeverity, UnifiedPosErrorReason, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, UnifiedPosErrorSeverity, UnifiedPosErrorReason, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -2242,28 +2242,28 @@ impl BarcodeScanner { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClaimScannerAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClaimScannerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckHealthAsync)(windows_core::Interface::as_raw(this), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2271,14 +2271,14 @@ impl BarcodeScanner { pub fn GetSupportedSymbologiesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedSymbologiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSymbologySupportedAsync(&self, barcodesymbology: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSymbologySupportedAsync)(windows_core::Interface::as_raw(this), barcodesymbology, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2289,7 +2289,7 @@ impl BarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveStatisticsAsync)(windows_core::Interface::as_raw(this), statisticscategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2297,14 +2297,14 @@ impl BarcodeScanner { pub fn GetSupportedProfiles(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedProfiles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsProfileSupported(&self, profile: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsProfileSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(profile), &mut result__).map(|| result__) } } @@ -2314,7 +2314,7 @@ impl BarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2325,31 +2325,31 @@ impl BarcodeScanner { pub fn VideoDeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IBarcodeScannerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IBarcodeScannerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IBarcodeScannerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> windows_core::Result { Self::IBarcodeScannerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(windows_core::Interface::as_raw(this), connectiontypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2388,42 +2388,42 @@ impl BarcodeScannerCapabilities { pub fn PowerReportingType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerReportingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatisticsReportingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsReportingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsUpdatingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsImagePreviewSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsImagePreviewSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSoftwareTriggerSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSoftwareTriggerSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVideoPreviewSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVideoPreviewSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2448,7 +2448,7 @@ impl BarcodeScannerDataReceivedEventArgs { pub fn Report(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Report)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2473,21 +2473,21 @@ impl BarcodeScannerErrorOccurredEventArgs { pub fn PartialInputData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartialInputData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsRetriable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRetriable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2513,7 +2513,7 @@ impl BarcodeScannerImagePreviewReceivedEventArgs { pub fn Preview(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Preview)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2538,7 +2538,7 @@ impl BarcodeScannerReport { pub fn ScanDataType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanDataType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2546,7 +2546,7 @@ impl BarcodeScannerReport { pub fn ScanData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2554,7 +2554,7 @@ impl BarcodeScannerReport { pub fn ScanDataLabel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanDataLabel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2565,7 +2565,7 @@ impl BarcodeScannerReport { P1: windows_core::Param, { Self::IBarcodeScannerReportFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), scandatatype, scandata.param().abi(), scandatalabel.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2595,14 +2595,14 @@ impl BarcodeScannerStatusUpdatedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2623,571 +2623,571 @@ pub struct BarcodeSymbologies; impl BarcodeSymbologies { pub fn Unknown() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unknown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ean8() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ean8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ean8Add2() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ean8Add2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ean8Add5() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ean8Add5)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Eanv() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Eanv)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn EanvAdd2() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EanvAdd2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn EanvAdd5() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EanvAdd5)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ean13() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ean13)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ean13Add2() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ean13Add2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ean13Add5() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ean13Add5)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Isbn() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Isbn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsbnAdd5() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsbnAdd5)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ismn() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ismn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsmnAdd2() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsmnAdd2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsmnAdd5() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsmnAdd5)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Issn() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Issn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IssnAdd2() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IssnAdd2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IssnAdd5() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IssnAdd5)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ean99() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ean99)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ean99Add2() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ean99Add2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ean99Add5() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ean99Add5)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Upca() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Upca)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UpcaAdd2() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpcaAdd2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UpcaAdd5() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpcaAdd5)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Upce() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Upce)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UpceAdd2() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpceAdd2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UpceAdd5() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpceAdd5)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UpcCoupon() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpcCoupon)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TfStd() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TfStd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TfDis() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TfDis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TfInt() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TfInt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TfInd() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TfInd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TfMat() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TfMat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TfIata() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TfIata)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Gs1DatabarType1() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gs1DatabarType1)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Gs1DatabarType2() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gs1DatabarType2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Gs1DatabarType3() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gs1DatabarType3)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Code39() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code39)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Code39Ex() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code39Ex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Trioptic39() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Trioptic39)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Code32() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Pzn() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pzn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Code93() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code93)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Code93Ex() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code93Ex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Code128() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code128)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Gs1128() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gs1128)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Gs1128Coupon() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gs1128Coupon)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UccEan128() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UccEan128)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Sisac() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sisac)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Isbt() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Isbt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Codabar() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Codabar)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Code11() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code11)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Msi() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Msi)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Plessey() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Plessey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Telepen() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Telepen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Code16k() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code16k)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CodablockA() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CodablockA)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CodablockF() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CodablockF)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Codablock128() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Codablock128)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Code49() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code49)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Aztec() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Aztec)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DataCode() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DataMatrix() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HanXin() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HanXin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Maxicode() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Maxicode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MicroPdf417() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicroPdf417)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MicroQr() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicroQr)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Pdf417() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pdf417)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Qr() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Qr)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MsTag() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MsTag)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ccab() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ccab)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ccc() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ccc)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Tlc39() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tlc39)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AusPost() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AusPost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CanPost() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ChinaPost() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChinaPost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DutchKix() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DutchKix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InfoMail() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InfoMail)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ItalianPost25() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItalianPost25)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ItalianPost39() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItalianPost39)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn JapanPost() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JapanPost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn KoreanPost() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KoreanPost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SwedenPost() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SwedenPost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UkPost() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UkPost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UsIntelligent() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsIntelligent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UsIntelligentPkg() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsIntelligentPkg)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UsPlanet() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsPlanet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UsPostNet() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsPostNet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Us4StateFics() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Us4StateFics)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn OcrA() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OcrA)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn OcrB() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OcrB)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Micr() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Micr)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ExtendedBase() -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedBase)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GetName(scandatatype: u32) -> windows_core::Result { Self::IBarcodeSymbologiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetName)(windows_core::Interface::as_raw(this), scandatatype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Gs1DWCode() -> windows_core::Result { Self::IBarcodeSymbologiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gs1DWCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -3213,7 +3213,7 @@ impl BarcodeSymbologyAttributes { pub fn IsCheckDigitValidationEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCheckDigitValidationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3224,14 +3224,14 @@ impl BarcodeSymbologyAttributes { pub fn IsCheckDigitValidationSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCheckDigitValidationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCheckDigitTransmissionEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCheckDigitTransmissionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3242,14 +3242,14 @@ impl BarcodeSymbologyAttributes { pub fn IsCheckDigitTransmissionSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCheckDigitTransmissionSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DecodeLength1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecodeLength1)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3260,7 +3260,7 @@ impl BarcodeSymbologyAttributes { pub fn DecodeLength2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecodeLength2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3271,7 +3271,7 @@ impl BarcodeSymbologyAttributes { pub fn DecodeLengthKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecodeLengthKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3282,7 +3282,7 @@ impl BarcodeSymbologyAttributes { pub fn IsDecodeLengthSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDecodeLengthSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3308,49 +3308,49 @@ impl CashDrawer { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsDrawerOpen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDrawerOpen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DrawerEventSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DrawerEventSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClaimDrawerAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClaimDrawerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckHealthAsync)(windows_core::Interface::as_raw(this), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3361,7 +3361,7 @@ impl CashDrawer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatisticsAsync)(windows_core::Interface::as_raw(this), statisticscategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3371,7 +3371,7 @@ impl CashDrawer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3381,25 +3381,25 @@ impl CashDrawer { } pub fn GetDefaultAsync() -> windows_core::Result> { Self::ICashDrawerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ICashDrawerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::ICashDrawerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> windows_core::Result { Self::ICashDrawerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(windows_core::Interface::as_raw(this), connectiontypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3438,42 +3438,42 @@ impl CashDrawerCapabilities { pub fn PowerReportingType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerReportingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatisticsReportingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsReportingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsUpdatingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatusReportingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatusReportingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatusMultiDrawerDetectSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatusMultiDrawerDetectSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDrawerOpenSensorAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDrawerOpenSensorAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3502,7 +3502,7 @@ impl CashDrawerCloseAlarm { pub fn AlarmTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlarmTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3513,7 +3513,7 @@ impl CashDrawerCloseAlarm { pub fn BeepFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeepFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3524,7 +3524,7 @@ impl CashDrawerCloseAlarm { pub fn BeepDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeepDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3535,7 +3535,7 @@ impl CashDrawerCloseAlarm { pub fn BeepDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeepDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3545,7 +3545,7 @@ impl CashDrawerCloseAlarm { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlarmTimeoutExpired)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3556,7 +3556,7 @@ impl CashDrawerCloseAlarm { pub fn StartAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3582,7 +3582,7 @@ impl CashDrawerClosedEventArgs { pub fn CashDrawer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CashDrawer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3610,7 +3610,7 @@ impl CashDrawerEventSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DrawerClosed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3624,7 +3624,7 @@ impl CashDrawerEventSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DrawerOpened)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3654,7 +3654,7 @@ impl CashDrawerOpenedEventArgs { pub fn CashDrawer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CashDrawer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3679,14 +3679,14 @@ impl CashDrawerStatus { pub fn StatusKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3711,7 +3711,7 @@ impl CashDrawerStatusUpdatedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3737,14 +3737,14 @@ impl ClaimedBarcodeScanner { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3755,7 +3755,7 @@ impl ClaimedBarcodeScanner { pub fn IsDisabledOnDataReceived(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabledOnDataReceived)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3766,21 +3766,21 @@ impl ClaimedBarcodeScanner { pub fn IsDecodeDataEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDecodeDataEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnableAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisableAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3795,7 +3795,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetActiveSymbologiesAsync)(windows_core::Interface::as_raw(this), symbologies.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3806,7 +3806,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResetStatisticsAsync)(windows_core::Interface::as_raw(this), statisticscategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3817,14 +3817,14 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateStatisticsAsync)(windows_core::Interface::as_raw(this), statistics.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetActiveProfileAsync(&self, profile: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetActiveProfileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(profile), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3834,7 +3834,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3848,7 +3848,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3862,7 +3862,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3876,7 +3876,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReleaseDeviceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3890,7 +3890,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImagePreviewReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3904,7 +3904,7 @@ impl ClaimedBarcodeScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorOccurred)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3915,21 +3915,21 @@ impl ClaimedBarcodeScanner { pub fn StartSoftwareTriggerAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartSoftwareTriggerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopSoftwareTriggerAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopSoftwareTriggerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSymbologyAttributesAsync(&self, barcodesymbology: u32) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSymbologyAttributesAsync)(windows_core::Interface::as_raw(this), barcodesymbology, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3939,14 +3939,14 @@ impl ClaimedBarcodeScanner { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetSymbologyAttributesAsync)(windows_core::Interface::as_raw(this), barcodesymbology, attributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowVideoPreviewAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowVideoPreviewAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3961,7 +3961,7 @@ impl ClaimedBarcodeScanner { pub fn IsVideoPreviewShownOnEnable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVideoPreviewShownOnEnable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3971,7 +3971,7 @@ impl ClaimedBarcodeScanner { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4022,56 +4022,56 @@ impl ClaimedCashDrawer { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDrawerOpen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDrawerOpen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CloseAlarm(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloseAlarm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenDrawerAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenDrawerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EnableAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisableAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RetainDeviceAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetainDeviceAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4082,7 +4082,7 @@ impl ClaimedCashDrawer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResetStatisticsAsync)(windows_core::Interface::as_raw(this), statisticscategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4093,7 +4093,7 @@ impl ClaimedCashDrawer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateStatisticsAsync)(windows_core::Interface::as_raw(this), statistics.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4103,7 +4103,7 @@ impl ClaimedCashDrawer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReleaseDeviceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4117,7 +4117,7 @@ impl ClaimedCashDrawer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4168,7 +4168,7 @@ impl ClaimedJournalPrinter { pub fn CreateJob(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJob)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4179,7 +4179,7 @@ impl ClaimedJournalPrinter { pub fn CharactersPerLine(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharactersPerLine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4190,7 +4190,7 @@ impl ClaimedJournalPrinter { pub fn LineHeight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4201,14 +4201,14 @@ impl ClaimedJournalPrinter { pub fn LineSpacing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineSpacing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LineWidth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4219,14 +4219,14 @@ impl ClaimedJournalPrinter { pub fn IsLetterQuality(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLetterQuality)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperNearEnd(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperNearEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4237,56 +4237,56 @@ impl ClaimedJournalPrinter { pub fn ColorCartridge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorCartridge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCoverOpen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCoverOpen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCartridgeRemoved(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCartridgeRemoved)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCartridgeEmpty(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCartridgeEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHeadCleaning(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHeadCleaning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperEmpty(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReadyToPrint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadyToPrint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ValidateData(&self, data: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateData)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(data), &mut result__).map(|| result__) } } @@ -4312,56 +4312,56 @@ impl ClaimedLineDisplay { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhysicalDeviceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalDeviceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhysicalDeviceDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalDeviceDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceControlDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceControlDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceControlVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceControlVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceServiceVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceServiceVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultWindow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultWindow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4375,7 +4375,7 @@ impl ClaimedLineDisplay { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReleaseDeviceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4390,21 +4390,21 @@ impl ClaimedLineDisplay { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatisticsAsync)(windows_core::Interface::as_raw(this), statisticscategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckHealthAsync)(windows_core::Interface::as_raw(this), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckPowerStatusAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckPowerStatusAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4414,7 +4414,7 @@ impl ClaimedLineDisplay { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4426,14 +4426,14 @@ impl ClaimedLineDisplay { pub fn SupportedScreenSizesInCharacters(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedScreenSizesInCharacters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxBitmapSizeInPixels(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBitmapSizeInPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4441,21 +4441,21 @@ impl ClaimedLineDisplay { pub fn SupportedCharacterSets(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCharacterSets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CustomGlyphs(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomGlyphs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAttributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4465,28 +4465,28 @@ impl ClaimedLineDisplay { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdateAttributesAsync)(windows_core::Interface::as_raw(this), attributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrySetDescriptorAsync(&self, descriptor: u32, descriptorstate: LineDisplayDescriptorState) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetDescriptorAsync)(windows_core::Interface::as_raw(this), descriptor, descriptorstate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryClearDescriptorsAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryClearDescriptorsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateWindowAsync)(windows_core::Interface::as_raw(this), viewport, windowsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4497,7 +4497,7 @@ impl ClaimedLineDisplay { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryStoreStorageFileBitmapAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4508,7 +4508,7 @@ impl ClaimedLineDisplay { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryStoreStorageFileBitmapWithAlignmentAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), horizontalalignment, verticalalignment, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4519,7 +4519,7 @@ impl ClaimedLineDisplay { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryStoreStorageFileBitmapWithAlignmentAndWidthAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), horizontalalignment, verticalalignment, widthinpixels, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4529,7 +4529,7 @@ impl ClaimedLineDisplay { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4539,19 +4539,19 @@ impl ClaimedLineDisplay { } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IClaimedLineDisplayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IClaimedLineDisplayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> windows_core::Result { Self::IClaimedLineDisplayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(windows_core::Interface::as_raw(this), connectiontypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4603,14 +4603,14 @@ impl ClaimedMagneticStripeReader { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4621,7 +4621,7 @@ impl ClaimedMagneticStripeReader { pub fn IsDisabledOnDataReceived(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabledOnDataReceived)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4632,14 +4632,14 @@ impl ClaimedMagneticStripeReader { pub fn IsDecodeDataEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDecodeDataEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDeviceAuthenticated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDeviceAuthenticated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4650,7 +4650,7 @@ impl ClaimedMagneticStripeReader { pub fn DataEncryptionAlgorithm(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataEncryptionAlgorithm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4661,7 +4661,7 @@ impl ClaimedMagneticStripeReader { pub fn TracksToRead(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TracksToRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4672,21 +4672,21 @@ impl ClaimedMagneticStripeReader { pub fn IsTransmitSentinelsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTransmitSentinelsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnableAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisableAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4702,28 +4702,28 @@ impl ClaimedMagneticStripeReader { pub fn RetrieveDeviceAuthenticationDataAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveDeviceAuthenticationDataAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AuthenticateDeviceAsync(&self, responsetoken: &[u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticateDeviceAsync)(windows_core::Interface::as_raw(this), responsetoken.len().try_into().unwrap(), responsetoken.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeAuthenticateDeviceAsync(&self, responsetoken: &[u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeAuthenticateDeviceAsync)(windows_core::Interface::as_raw(this), responsetoken.len().try_into().unwrap(), responsetoken.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UpdateKeyAsync(&self, key: &windows_core::HSTRING, keyname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateKeyAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), core::mem::transmute_copy(keyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4734,7 +4734,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResetStatisticsAsync)(windows_core::Interface::as_raw(this), statisticscategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4745,7 +4745,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateStatisticsAsync)(windows_core::Interface::as_raw(this), statistics.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4755,7 +4755,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BankCardDataReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4769,7 +4769,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AamvaCardDataReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4783,7 +4783,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VendorSpecificDataReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4797,7 +4797,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReleaseDeviceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4811,7 +4811,7 @@ impl ClaimedMagneticStripeReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorOccurred)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4825,7 +4825,7 @@ impl ClaimedMagneticStripeReader { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4876,14 +4876,14 @@ impl ClaimedPosPrinter { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4894,14 +4894,14 @@ impl ClaimedPosPrinter { pub fn CharacterSet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterSet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCoverOpen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCoverOpen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4912,7 +4912,7 @@ impl ClaimedPosPrinter { pub fn IsCharacterSetMappingEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCharacterSetMappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4923,49 +4923,49 @@ impl ClaimedPosPrinter { pub fn MapMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Receipt(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Receipt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Slip(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Slip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Journal(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Journal)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EnableAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisableAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RetainDeviceAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetainDeviceAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4976,7 +4976,7 @@ impl ClaimedPosPrinter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResetStatisticsAsync)(windows_core::Interface::as_raw(this), statisticscategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4987,7 +4987,7 @@ impl ClaimedPosPrinter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateStatisticsAsync)(windows_core::Interface::as_raw(this), statistics.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4997,7 +4997,7 @@ impl ClaimedPosPrinter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReleaseDeviceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5011,7 +5011,7 @@ impl ClaimedPosPrinter { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5062,42 +5062,42 @@ impl ClaimedReceiptPrinter { pub fn SidewaysMaxLines(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidewaysMaxLines)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SidewaysMaxChars(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidewaysMaxChars)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LinesToPaperCut(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinesToPaperCut)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PageSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PrintArea(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintArea)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateJob(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJob)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5108,7 +5108,7 @@ impl ClaimedReceiptPrinter { pub fn CharactersPerLine(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharactersPerLine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5119,7 +5119,7 @@ impl ClaimedReceiptPrinter { pub fn LineHeight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5130,14 +5130,14 @@ impl ClaimedReceiptPrinter { pub fn LineSpacing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineSpacing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LineWidth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5148,14 +5148,14 @@ impl ClaimedReceiptPrinter { pub fn IsLetterQuality(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLetterQuality)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperNearEnd(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperNearEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5166,56 +5166,56 @@ impl ClaimedReceiptPrinter { pub fn ColorCartridge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorCartridge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCoverOpen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCoverOpen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCartridgeRemoved(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCartridgeRemoved)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCartridgeEmpty(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCartridgeEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHeadCleaning(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHeadCleaning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperEmpty(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReadyToPrint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadyToPrint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ValidateData(&self, data: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateData)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(data), &mut result__).map(|| result__) } } @@ -5241,49 +5241,49 @@ impl ClaimedSlipPrinter { pub fn SidewaysMaxLines(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidewaysMaxLines)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SidewaysMaxChars(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidewaysMaxChars)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxLines(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxLines)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LinesNearEndToEnd(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinesNearEndToEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PrintSide(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintSide)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PageSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PrintArea(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintArea)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5298,14 +5298,14 @@ impl ClaimedSlipPrinter { pub fn InsertSlipAsync(&self, timeout: super::super::Foundation::TimeSpan) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertSlipAsync)(windows_core::Interface::as_raw(this), timeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoveSlipAsync(&self, timeout: super::super::Foundation::TimeSpan) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveSlipAsync)(windows_core::Interface::as_raw(this), timeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5316,7 +5316,7 @@ impl ClaimedSlipPrinter { pub fn CreateJob(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJob)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5327,7 +5327,7 @@ impl ClaimedSlipPrinter { pub fn CharactersPerLine(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharactersPerLine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5338,7 +5338,7 @@ impl ClaimedSlipPrinter { pub fn LineHeight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5349,14 +5349,14 @@ impl ClaimedSlipPrinter { pub fn LineSpacing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineSpacing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LineWidth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5367,14 +5367,14 @@ impl ClaimedSlipPrinter { pub fn IsLetterQuality(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLetterQuality)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperNearEnd(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperNearEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5385,56 +5385,56 @@ impl ClaimedSlipPrinter { pub fn ColorCartridge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorCartridge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCoverOpen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCoverOpen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCartridgeRemoved(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCartridgeRemoved)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCartridgeEmpty(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCartridgeEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHeadCleaning(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHeadCleaning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperEmpty(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReadyToPrint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadyToPrint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ValidateData(&self, data: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateData)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(data), &mut result__).map(|| result__) } } @@ -5487,7 +5487,7 @@ impl JournalPrintJob { pub fn ExecuteAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecuteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5513,84 +5513,84 @@ impl JournalPrinterCapabilities { pub fn IsPrinterPresent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrinterPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDualColorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDualColorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColorCartridgeCapabilities(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorCartridgeCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CartridgeSensors(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CartridgeSensors)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBoldSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBoldSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsItalicSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsItalicSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUnderlineSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUnderlineSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighPrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighPrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleWidePrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperEmptySensorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperEmptySensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperNearEndSensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5598,49 +5598,49 @@ impl JournalPrinterCapabilities { pub fn SupportedCharactersPerLine(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCharactersPerLine)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsReverseVideoSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReverseVideoSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStrikethroughSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStrikethroughSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSuperscriptSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSuperscriptSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSubscriptSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSubscriptSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReversePaperFeedByLineSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReversePaperFeedByLineSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReversePaperFeedByMapModeUnitSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReversePaperFeedByMapModeUnitSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5670,93 +5670,93 @@ impl LineDisplay { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhysicalDeviceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalDeviceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhysicalDeviceDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalDeviceDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceControlDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceControlDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceControlVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceControlVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceServiceVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceServiceVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClaimAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClaimAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckPowerStatusAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckPowerStatusAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ILineDisplayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::ILineDisplayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::ILineDisplayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> windows_core::Result { Self::ILineDisplayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(windows_core::Interface::as_raw(this), connectiontypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn StatisticsCategorySelector() -> windows_core::Result { Self::ILineDisplayStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatisticsCategorySelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5791,7 +5791,7 @@ impl LineDisplayAttributes { pub fn IsPowerNotifyEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPowerNotifyEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5802,7 +5802,7 @@ impl LineDisplayAttributes { pub fn Brightness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Brightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5813,7 +5813,7 @@ impl LineDisplayAttributes { pub fn BlinkRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlinkRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5824,7 +5824,7 @@ impl LineDisplayAttributes { pub fn ScreenSizeInCharacters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenSizeInCharacters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5835,7 +5835,7 @@ impl LineDisplayAttributes { pub fn CharacterSet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterSet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5846,7 +5846,7 @@ impl LineDisplayAttributes { pub fn IsCharacterSetMappingEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCharacterSetMappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5857,7 +5857,7 @@ impl LineDisplayAttributes { pub fn CurrentWindow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentWindow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5889,126 +5889,126 @@ impl LineDisplayCapabilities { pub fn IsStatisticsReportingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsReportingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsUpdatingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PowerReportingType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerReportingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanChangeScreenSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanChangeScreenSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanDisplayBitmaps(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanDisplayBitmaps)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanReadCharacterAtCursor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanReadCharacterAtCursor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanMapCharacterSets(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanMapCharacterSets)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanDisplayCustomGlyphs(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanDisplayCustomGlyphs)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanReverse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanReverse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanBlink(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanBlink)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanChangeBlinkRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanChangeBlinkRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBrightnessSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBrightnessSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCursorSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCursorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHorizontalMarqueeSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHorizontalMarqueeSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVerticalMarqueeSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVerticalMarqueeSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInterCharacterWaitSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInterCharacterWaitSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SupportedDescriptors(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedDescriptors)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SupportedWindows(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedWindows)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6033,56 +6033,56 @@ impl LineDisplayCursor { pub fn CanCustomize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCustomize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBlinkSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBlinkSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBlockSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBlockSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHalfBlockSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHalfBlockSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUnderlineSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUnderlineSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReverseSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReverseSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOtherSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOtherSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetAttributes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6092,7 +6092,7 @@ impl LineDisplayCursor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdateAttributesAsync)(windows_core::Interface::as_raw(this), attributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6117,7 +6117,7 @@ impl LineDisplayCursorAttributes { pub fn IsBlinkEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBlinkEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6128,7 +6128,7 @@ impl LineDisplayCursorAttributes { pub fn CursorType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CursorType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6139,7 +6139,7 @@ impl LineDisplayCursorAttributes { pub fn IsAutoAdvanceEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAutoAdvanceEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6150,7 +6150,7 @@ impl LineDisplayCursorAttributes { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6179,7 +6179,7 @@ impl LineDisplayCustomGlyphs { pub fn SizeInPixels(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeInPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6187,7 +6187,7 @@ impl LineDisplayCustomGlyphs { pub fn SupportedGlyphCodes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedGlyphCodes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6198,7 +6198,7 @@ impl LineDisplayCustomGlyphs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRedefineAsync)(windows_core::Interface::as_raw(this), glyphcode, glyphdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6223,7 +6223,7 @@ impl LineDisplayMarquee { pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6234,7 +6234,7 @@ impl LineDisplayMarquee { pub fn RepeatWaitInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RepeatWaitInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6245,7 +6245,7 @@ impl LineDisplayMarquee { pub fn ScrollWaitInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScrollWaitInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6256,14 +6256,14 @@ impl LineDisplayMarquee { pub fn TryStartScrollingAsync(&self, direction: LineDisplayScrollDirection) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryStartScrollingAsync)(windows_core::Interface::as_raw(this), direction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryStopScrollingAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryStopScrollingAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6288,21 +6288,21 @@ impl LineDisplayStatisticsCategorySelector { pub fn AllStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllStatistics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnifiedPosStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnifiedPosStatistics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ManufacturerStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManufacturerStatistics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6327,7 +6327,7 @@ impl LineDisplayStatusUpdatedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6352,14 +6352,14 @@ impl LineDisplayStoredBitmap { pub fn EscapeSequence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EscapeSequence)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryDeleteAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6389,14 +6389,14 @@ impl LineDisplayWindow { pub fn SizeInCharacters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeInCharacters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InterCharacterWaitInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterCharacterWaitInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6407,63 +6407,63 @@ impl LineDisplayWindow { pub fn TryRefreshAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRefreshAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryDisplayTextAsync(&self, text: &windows_core::HSTRING, displayattribute: LineDisplayTextAttribute) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisplayTextAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), displayattribute, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryDisplayTextAtPositionAsync(&self, text: &windows_core::HSTRING, displayattribute: LineDisplayTextAttribute, startposition: super::super::Foundation::Point) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisplayTextAtPositionAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), displayattribute, startposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryDisplayTextNormalAsync(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisplayTextNormalAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryScrollTextAsync(&self, direction: LineDisplayScrollDirection, numberofcolumnsorrows: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryScrollTextAsync)(windows_core::Interface::as_raw(this), direction, numberofcolumnsorrows, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryClearTextAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryClearTextAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Cursor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cursor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Marquee(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Marquee)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadCharacterAtCursorAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadCharacterAtCursorAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6473,7 +6473,7 @@ impl LineDisplayWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisplayStoredBitmapAtCursorAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6484,7 +6484,7 @@ impl LineDisplayWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisplayStorageFileBitmapAtCursorAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6495,7 +6495,7 @@ impl LineDisplayWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisplayStorageFileBitmapAtCursorWithAlignmentAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), horizontalalignment, verticalalignment, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6506,7 +6506,7 @@ impl LineDisplayWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisplayStorageFileBitmapAtCursorWithAlignmentAndWidthAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), horizontalalignment, verticalalignment, widthinpixels, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6517,7 +6517,7 @@ impl LineDisplayWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisplayStorageFileBitmapAtPointAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), offsetinpixels, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6528,7 +6528,7 @@ impl LineDisplayWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisplayStorageFileBitmapAtPointWithWidthAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), offsetinpixels, widthinpixels, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6558,14 +6558,14 @@ impl MagneticStripeReader { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6573,27 +6573,27 @@ impl MagneticStripeReader { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).SupportedCardTypes)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn DeviceAuthenticationProtocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAuthenticationProtocol)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckHealthAsync)(windows_core::Interface::as_raw(this), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClaimReaderAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClaimReaderAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6604,14 +6604,14 @@ impl MagneticStripeReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveStatisticsAsync)(windows_core::Interface::as_raw(this), statisticscategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetErrorReportingType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetErrorReportingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6621,7 +6621,7 @@ impl MagneticStripeReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6631,25 +6631,25 @@ impl MagneticStripeReader { } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IMagneticStripeReaderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IMagneticStripeReaderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IMagneticStripeReaderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> windows_core::Result { Self::IMagneticStripeReaderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(windows_core::Interface::as_raw(this), connectiontypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6684,133 +6684,133 @@ impl MagneticStripeReaderAamvaCardDataReceivedEventArgs { pub fn Report(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Report)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LicenseNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExpirationDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Restrictions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Restrictions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Class(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Class)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Endorsements(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Endorsements)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BirthDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BirthDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Surname(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Surname)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Suffix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Suffix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Gender(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gender)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HairColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HairColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EyeColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EyeColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Weight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Weight)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn City(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).City)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PostalCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostalCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6835,63 +6835,63 @@ impl MagneticStripeReaderBankCardDataReceivedEventArgs { pub fn Report(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Report)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccountNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExpirationDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MiddleInitial(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MiddleInitial)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Surname(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Surname)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Suffix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Suffix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6916,77 +6916,77 @@ impl MagneticStripeReaderCapabilities { pub fn CardAuthentication(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardAuthentication)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SupportedEncryptionAlgorithms(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedEncryptionAlgorithms)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AuthenticationLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsIsoSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIsoSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsJisOneSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsJisOneSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsJisTwoSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsJisTwoSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PowerReportingType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerReportingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatisticsReportingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsReportingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsUpdatingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTrackDataMaskingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTrackDataMaskingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTransmitSentinelsSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTransmitSentinelsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7007,25 +7007,25 @@ pub struct MagneticStripeReaderCardTypes; impl MagneticStripeReaderCardTypes { pub fn Unknown() -> windows_core::Result { Self::IMagneticStripeReaderCardTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unknown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Bank() -> windows_core::Result { Self::IMagneticStripeReaderCardTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bank)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Aamva() -> windows_core::Result { Self::IMagneticStripeReaderCardTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Aamva)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ExtendedBase() -> windows_core::Result { Self::IMagneticStripeReaderCardTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedBase)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -7042,19 +7042,19 @@ pub struct MagneticStripeReaderEncryptionAlgorithms; impl MagneticStripeReaderEncryptionAlgorithms { pub fn None() -> windows_core::Result { Self::IMagneticStripeReaderEncryptionAlgorithmsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).None)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TripleDesDukpt() -> windows_core::Result { Self::IMagneticStripeReaderEncryptionAlgorithmsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TripleDesDukpt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ExtendedBase() -> windows_core::Result { Self::IMagneticStripeReaderEncryptionAlgorithmsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedBase)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -7075,42 +7075,42 @@ impl MagneticStripeReaderErrorOccurredEventArgs { pub fn Track1Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track1Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Track2Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track2Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Track3Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track3Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Track4Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track4Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PartialInputData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartialInputData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7135,35 +7135,35 @@ impl MagneticStripeReaderReport { pub fn CardType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Track1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Track2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Track3(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Track4(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track4)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7171,7 +7171,7 @@ impl MagneticStripeReaderReport { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7179,14 +7179,14 @@ impl MagneticStripeReaderReport { pub fn CardAuthenticationData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardAuthenticationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CardAuthenticationDataLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardAuthenticationDataLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7194,7 +7194,7 @@ impl MagneticStripeReaderReport { pub fn AdditionalSecurityInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdditionalSecurityInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7219,14 +7219,14 @@ impl MagneticStripeReaderStatusUpdatedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7252,7 +7252,7 @@ impl MagneticStripeReaderTrackData { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7260,7 +7260,7 @@ impl MagneticStripeReaderTrackData { pub fn DiscretionaryData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiscretionaryData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7268,7 +7268,7 @@ impl MagneticStripeReaderTrackData { pub fn EncryptedData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncryptedData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7293,7 +7293,7 @@ impl MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { pub fn Report(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Report)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7323,14 +7323,14 @@ impl PosPrinter { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7338,7 +7338,7 @@ impl PosPrinter { pub fn SupportedCharacterSets(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCharacterSets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7346,28 +7346,28 @@ impl PosPrinter { pub fn SupportedTypeFaces(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedTypeFaces)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClaimPrinterAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClaimPrinterAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckHealthAsync(&self, level: UnifiedPosHealthCheckLevel) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckHealthAsync)(windows_core::Interface::as_raw(this), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7378,7 +7378,7 @@ impl PosPrinter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatisticsAsync)(windows_core::Interface::as_raw(this), statisticscategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7388,7 +7388,7 @@ impl PosPrinter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -7400,38 +7400,38 @@ impl PosPrinter { pub fn SupportedBarcodeSymbologies(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedBarcodeSymbologies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFontProperty(&self, typeface: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFontProperty)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(typeface), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IPosPrinterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IPosPrinterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IPosPrinterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorWithConnectionTypes(connectiontypes: PosConnectionTypes) -> windows_core::Result { Self::IPosPrinterStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorWithConnectionTypes)(windows_core::Interface::as_raw(this), connectiontypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7466,70 +7466,70 @@ impl PosPrinterCapabilities { pub fn PowerReportingType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerReportingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatisticsReportingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsReportingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStatisticsUpdatingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStatisticsUpdatingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultCharacterSet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultCharacterSet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasCoverSensor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCoverSensor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanMapCharacterSet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanMapCharacterSet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTransactionSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTransactionSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Receipt(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Receipt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Slip(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Slip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Journal(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Journal)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7550,19 +7550,19 @@ pub struct PosPrinterCharacterSetIds; impl PosPrinterCharacterSetIds { pub fn Utf16LE() -> windows_core::Result { Self::IPosPrinterCharacterSetIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Utf16LE)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ascii() -> windows_core::Result { Self::IPosPrinterCharacterSetIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ascii)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ansi() -> windows_core::Result { Self::IPosPrinterCharacterSetIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ansi)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -7583,14 +7583,14 @@ impl PosPrinterFontProperty { pub fn TypeFace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TypeFace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsScalableToAnySize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScalableToAnySize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7598,7 +7598,7 @@ impl PosPrinterFontProperty { pub fn CharacterSizes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterSizes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7630,7 +7630,7 @@ impl PosPrinterPrintOptions { pub fn TypeFace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TypeFace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7641,7 +7641,7 @@ impl PosPrinterPrintOptions { pub fn CharacterHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7652,7 +7652,7 @@ impl PosPrinterPrintOptions { pub fn Bold(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bold)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7663,7 +7663,7 @@ impl PosPrinterPrintOptions { pub fn Italic(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Italic)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7674,7 +7674,7 @@ impl PosPrinterPrintOptions { pub fn Underline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Underline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7685,7 +7685,7 @@ impl PosPrinterPrintOptions { pub fn ReverseVideo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReverseVideo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7696,7 +7696,7 @@ impl PosPrinterPrintOptions { pub fn Strikethrough(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Strikethrough)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7707,7 +7707,7 @@ impl PosPrinterPrintOptions { pub fn Superscript(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Superscript)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7718,7 +7718,7 @@ impl PosPrinterPrintOptions { pub fn Subscript(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subscript)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7729,7 +7729,7 @@ impl PosPrinterPrintOptions { pub fn DoubleWide(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DoubleWide)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7740,7 +7740,7 @@ impl PosPrinterPrintOptions { pub fn DoubleHigh(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DoubleHigh)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7751,7 +7751,7 @@ impl PosPrinterPrintOptions { pub fn Alignment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Alignment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7762,7 +7762,7 @@ impl PosPrinterPrintOptions { pub fn CharacterSet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterSet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7808,14 +7808,14 @@ impl PosPrinterStatus { pub fn StatusKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7840,7 +7840,7 @@ impl PosPrinterStatusUpdatedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7878,7 +7878,7 @@ impl ReceiptPrintJob { pub fn ExecuteAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecuteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8027,84 +8027,84 @@ impl ReceiptPrinterCapabilities { pub fn IsPrinterPresent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrinterPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDualColorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDualColorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColorCartridgeCapabilities(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorCartridgeCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CartridgeSensors(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CartridgeSensors)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBoldSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBoldSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsItalicSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsItalicSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUnderlineSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUnderlineSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighPrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighPrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleWidePrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperEmptySensorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperEmptySensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperNearEndSensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8112,56 +8112,56 @@ impl ReceiptPrinterCapabilities { pub fn SupportedCharactersPerLine(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCharactersPerLine)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsBarcodeSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBarcodeSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBitmapSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBitmapSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLeft90RotationSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLeft90RotationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRight90RotationSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRight90RotationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Is180RotationSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Is180RotationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPrintAreaSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrintAreaSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RuledLineCapabilities(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RuledLineCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8169,7 +8169,7 @@ impl ReceiptPrinterCapabilities { pub fn SupportedBarcodeRotations(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedBarcodeRotations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8177,70 +8177,70 @@ impl ReceiptPrinterCapabilities { pub fn SupportedBitmapRotations(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedBitmapRotations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanCutPaper(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCutPaper)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStampSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStampSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MarkFeedCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MarkFeedCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReverseVideoSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReverseVideoSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStrikethroughSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStrikethroughSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSuperscriptSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSuperscriptSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSubscriptSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSubscriptSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReversePaperFeedByLineSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReversePaperFeedByLineSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReversePaperFeedByMapModeUnitSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReversePaperFeedByMapModeUnitSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8278,7 +8278,7 @@ impl SlipPrintJob { pub fn ExecuteAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecuteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8411,84 +8411,84 @@ impl SlipPrinterCapabilities { pub fn IsPrinterPresent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrinterPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDualColorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDualColorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColorCartridgeCapabilities(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorCartridgeCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CartridgeSensors(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CartridgeSensors)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBoldSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBoldSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsItalicSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsItalicSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUnderlineSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUnderlineSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighPrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighPrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleWidePrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDoubleHighDoubleWidePrintSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleHighDoubleWidePrintSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperEmptySensorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperEmptySensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPaperNearEndSensorSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPaperNearEndSensorSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8496,56 +8496,56 @@ impl SlipPrinterCapabilities { pub fn SupportedCharactersPerLine(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCharactersPerLine)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsBarcodeSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBarcodeSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBitmapSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBitmapSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLeft90RotationSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLeft90RotationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRight90RotationSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRight90RotationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Is180RotationSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Is180RotationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPrintAreaSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrintAreaSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RuledLineCapabilities(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RuledLineCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8553,7 +8553,7 @@ impl SlipPrinterCapabilities { pub fn SupportedBarcodeRotations(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedBarcodeRotations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8561,63 +8561,63 @@ impl SlipPrinterCapabilities { pub fn SupportedBitmapRotations(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedBitmapRotations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsFullLengthSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFullLengthSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBothSidesPrintingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBothSidesPrintingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReverseVideoSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReverseVideoSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStrikethroughSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStrikethroughSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSuperscriptSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSuperscriptSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSubscriptSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSubscriptSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReversePaperFeedByLineSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReversePaperFeedByLineSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReversePaperFeedByMapModeUnitSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReversePaperFeedByMapModeUnitSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8642,34 +8642,34 @@ impl UnifiedPosErrorData { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Severity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Severity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedReason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateInstance(message: &windows_core::HSTRING, severity: UnifiedPosErrorSeverity, reason: UnifiedPosErrorReason, extendedreason: u32) -> windows_core::Result { Self::IUnifiedPosErrorDataFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(message), severity, reason, extendedreason, &mut result__).and_then(|| windows_core::Type::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 61ea4fff16..52543ed580 100644 --- a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for IServiceDeviceStatics { #[repr(C)] pub struct IServiceDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, ServiceDeviceType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, ServiceDeviceType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageDeviceStatics, IStorageDeviceStatics_Vtbl, 0x5ece44ee_1b23_4dd2_8652_bc164f003128); impl windows_core::RuntimeType for IStorageDeviceStatics { @@ -16,22 +16,22 @@ impl windows_core::RuntimeType for IStorageDeviceStatics { pub struct IStorageDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage")] - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] FromId: usize, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub struct ServiceDevice; impl ServiceDevice { pub fn GetDeviceSelector(servicetype: ServiceDeviceType) -> windows_core::Result { Self::IServiceDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), servicetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromServiceId(serviceid: windows_core::GUID) -> windows_core::Result { Self::IServiceDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromServiceId)(windows_core::Interface::as_raw(this), serviceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -49,13 +49,13 @@ impl StorageDevice { #[cfg(feature = "Storage")] pub fn FromId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IStorageDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IStorageDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Devices/Power/mod.rs index ed66e45104..4db96501d7 100644 --- a/crates/libs/windows/src/Windows/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Power/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IBattery { #[repr(C)] pub struct IBattery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReportUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -34,8 +34,8 @@ impl windows_core::RuntimeType for IBatteryStatics { pub struct IBatteryStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AggregateBattery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -45,14 +45,14 @@ impl Battery { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -62,7 +62,7 @@ impl Battery { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -72,19 +72,19 @@ impl Battery { } pub fn AggregateBattery() -> windows_core::Result { Self::IBatteryStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AggregateBattery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IBatteryStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IBatteryStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -114,28 +114,28 @@ impl BatteryReport { pub fn ChargeRateInMilliwatts(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChargeRateInMilliwatts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DesignCapacityInMilliwattHours(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesignCapacityInMilliwattHours)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FullChargeCapacityInMilliwattHours(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FullChargeCapacityInMilliwattHours)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemainingCapacityInMilliwattHours(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingCapacityInMilliwattHours)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -143,7 +143,7 @@ impl BatteryReport { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 eb77f10357..f85883654f 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IPrint3DWorkflow { #[repr(C)] pub struct IPrint3DWorkflow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetPrintModelPackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsPrintReady: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsPrintReady: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -41,7 +41,7 @@ impl windows_core::RuntimeType for IPrint3DWorkflowPrinterChangedEventArgs { #[repr(C)] pub struct IPrint3DWorkflowPrinterChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub NewDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NewDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintExtensionContextStatic, IPrintExtensionContextStatic_Vtbl, 0xe70d9fc1_ff79_4aa4_8c9b_0c93aedfde8a); impl windows_core::RuntimeType for IPrintExtensionContextStatic { @@ -50,7 +50,7 @@ impl windows_core::RuntimeType for IPrintExtensionContextStatic { #[repr(C)] pub struct IPrintExtensionContextStatic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintNotificationEventDetails, IPrintNotificationEventDetails_Vtbl, 0xe00e4c8a_4828_4da1_8bb8_8672df8515e7); impl windows_core::RuntimeType for IPrintNotificationEventDetails { @@ -59,9 +59,9 @@ impl windows_core::RuntimeType for IPrintNotificationEventDetails { #[repr(C)] pub struct IPrintNotificationEventDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PrinterName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EventData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEventData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrinterName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EventData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEventData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTaskConfiguration, IPrintTaskConfiguration_Vtbl, 0xe3c22451_3aa4_4885_9240_311f5f8fbe9d); impl windows_core::RuntimeType for IPrintTaskConfiguration { @@ -112,21 +112,21 @@ impl Print3DWorkflow { pub fn DeviceID(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceID)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPrintModelPackage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPrintModelPackage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPrintReady(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrintReady)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -140,7 +140,7 @@ impl Print3DWorkflow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintRequested)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -154,7 +154,7 @@ impl Print3DWorkflow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrinterChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -183,7 +183,7 @@ impl Print3DWorkflowPrintRequestedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -223,7 +223,7 @@ impl Print3DWorkflowPrinterChangedEventArgs { pub fn NewDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -244,7 +244,7 @@ pub struct PrintExtensionContext; impl PrintExtensionContext { pub fn FromDeviceId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IPrintExtensionContextStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromDeviceId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -265,14 +265,14 @@ impl PrintNotificationEventDetails { pub fn PrinterName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrinterName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EventData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EventData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -301,7 +301,7 @@ impl PrintTaskConfiguration { pub fn PrinterExtensionContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrinterExtensionContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -311,7 +311,7 @@ impl PrintTaskConfiguration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveRequested)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -349,14 +349,14 @@ impl PrintTaskConfigurationSaveRequest { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -399,7 +399,7 @@ impl PrintTaskConfigurationSaveRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 1d5ca2e043..ac7b579a78 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs @@ -161,17 +161,17 @@ pub struct IIppAttributeValueStatics_Vtbl { pub CreateNameWithLanguageArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateNameWithLanguageArray: usize, - pub CreateTextWithoutLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTextWithoutLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub CreateTextWithoutLanguageArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateTextWithoutLanguageArray: usize, - pub CreateNameWithoutLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateNameWithoutLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub CreateNameWithoutLanguageArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateNameWithoutLanguageArray: usize, - pub CreateKeyword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateKeyword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub CreateKeywordArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -181,22 +181,22 @@ pub struct IIppAttributeValueStatics_Vtbl { pub CreateUriArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateUriArray: usize, - pub CreateUriSchema: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateUriSchema: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub CreateUriSchemaArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateUriSchemaArray: usize, - pub CreateCharset: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCharset: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub CreateCharsetArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateCharsetArray: usize, - pub CreateNaturalLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateNaturalLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub CreateNaturalLanguageArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateNaturalLanguageArray: usize, - pub CreateMimeMedia: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateMimeMedia: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub CreateMimeMediaArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -228,7 +228,7 @@ impl windows_core::RuntimeType for IIppPrintDevice { #[repr(C)] pub struct IIppPrintDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PrinterName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrinterName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PrinterUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub GetPrinterAttributesAsBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -255,8 +255,8 @@ impl windows_core::RuntimeType for IIppPrintDevice2 { pub struct IIppPrintDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetMaxSupportedPdfSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub GetMaxSupportedPdfVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsPdlPassthroughSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub GetMaxSupportedPdfVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsPdlPassthroughSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, pub GetPdlPassthroughProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIppPrintDeviceStatics, IIppPrintDeviceStatics_Vtbl, 0x7dc19f08_7f20_52ab_94a7_894b83b2a17e); @@ -266,10 +266,10 @@ impl windows_core::RuntimeType for IIppPrintDeviceStatics { #[repr(C)] pub struct IIppPrintDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromPrinterName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub IsIppPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromPrinterName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsIppPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIppResolution, IIppResolution_Vtbl, 0xcb493f86_6bf3_56f5_86ce_263d08aead63); impl windows_core::RuntimeType for IIppResolution { @@ -311,8 +311,8 @@ impl windows_core::RuntimeType for IIppTextWithLanguage { #[repr(C)] pub struct IIppTextWithLanguage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIppTextWithLanguageFactory, IIppTextWithLanguageFactory_Vtbl, 0xca4a1e8d_2968_5775_997c_8a46f1a574ed); impl windows_core::RuntimeType for IIppTextWithLanguageFactory { @@ -321,7 +321,7 @@ impl windows_core::RuntimeType for IIppTextWithLanguageFactory { #[repr(C)] pub struct IIppTextWithLanguageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPageConfigurationSettings, IPageConfigurationSettings_Vtbl, 0xb6fc1e02_5331_54ff_95a0_1fcb76bb97a9); impl windows_core::RuntimeType for IPageConfigurationSettings { @@ -347,11 +347,11 @@ pub struct IPdlPassthroughProvider_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedPdlContentTypes: usize, #[cfg(feature = "Graphics_Printing")] - pub StartPrintJobWithTaskOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartPrintJobWithTaskOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Graphics_Printing"))] StartPrintJobWithTaskOptions: usize, #[cfg(feature = "Storage_Streams")] - pub StartPrintJobWithPrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartPrintJobWithPrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] StartPrintJobWithPrintTicket: usize, } @@ -385,8 +385,8 @@ impl windows_core::RuntimeType for IPrint3DDeviceStatics { #[repr(C)] pub struct IPrint3DDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintSchema, IPrintSchema_Vtbl, 0xc2b98316_26b8_4bfb_8138_9f962c22a35b); impl windows_core::RuntimeType for IPrintSchema { @@ -416,14 +416,14 @@ impl IppAttributeError { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -431,7 +431,7 @@ impl IppAttributeError { pub fn GetUnsupportedValues(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUnsupportedValues)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -456,7 +456,7 @@ impl IppAttributeValue { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -464,7 +464,7 @@ impl IppAttributeValue { pub fn GetIntegerArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIntegerArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -472,7 +472,7 @@ impl IppAttributeValue { pub fn GetBooleanArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBooleanArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -480,7 +480,7 @@ impl IppAttributeValue { pub fn GetEnumArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEnumArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -488,7 +488,7 @@ impl IppAttributeValue { pub fn GetOctetStringArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOctetStringArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -496,7 +496,7 @@ impl IppAttributeValue { pub fn GetDateTimeArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDateTimeArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -504,7 +504,7 @@ impl IppAttributeValue { pub fn GetResolutionArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResolutionArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -512,7 +512,7 @@ impl IppAttributeValue { pub fn GetRangeOfIntegerArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRangeOfIntegerArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -520,7 +520,7 @@ impl IppAttributeValue { pub fn GetCollectionArray(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCollectionArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -528,7 +528,7 @@ impl IppAttributeValue { pub fn GetTextWithLanguageArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTextWithLanguageArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -536,7 +536,7 @@ impl IppAttributeValue { pub fn GetNameWithLanguageArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNameWithLanguageArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -544,7 +544,7 @@ impl IppAttributeValue { pub fn GetTextWithoutLanguageArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTextWithoutLanguageArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -552,7 +552,7 @@ impl IppAttributeValue { pub fn GetNameWithoutLanguageArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNameWithoutLanguageArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -560,7 +560,7 @@ impl IppAttributeValue { pub fn GetKeywordArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetKeywordArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -568,7 +568,7 @@ impl IppAttributeValue { pub fn GetUriArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUriArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -576,7 +576,7 @@ impl IppAttributeValue { pub fn GetUriSchemaArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUriSchemaArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -584,7 +584,7 @@ impl IppAttributeValue { pub fn GetCharsetArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCharsetArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -592,7 +592,7 @@ impl IppAttributeValue { pub fn GetNaturalLanguageArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNaturalLanguageArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -600,31 +600,31 @@ impl IppAttributeValue { pub fn GetMimeMediaTypeArray(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMimeMediaTypeArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateUnsupported() -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUnsupported)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUnknown() -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUnknown)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateNoValue() -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNoValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInteger(value: i32) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInteger)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -634,13 +634,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateIntegerArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateBoolean(value: bool) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBoolean)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -650,13 +650,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBooleanArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateEnum(value: i32) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEnum)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -666,7 +666,7 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEnumArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -676,7 +676,7 @@ impl IppAttributeValue { P0: windows_core::Param, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOctetString)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -686,13 +686,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOctetStringArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDateTime(value: super::super::Foundation::DateTime) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTime)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -702,7 +702,7 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -711,7 +711,7 @@ impl IppAttributeValue { P0: windows_core::Param, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResolution)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -721,7 +721,7 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResolutionArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -730,7 +730,7 @@ impl IppAttributeValue { P0: windows_core::Param, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRangeOfInteger)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -740,7 +740,7 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRangeOfIntegerArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -750,7 +750,7 @@ impl IppAttributeValue { P0: windows_core::Param>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCollection)(windows_core::Interface::as_raw(this), memberattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -760,7 +760,7 @@ impl IppAttributeValue { P0: windows_core::Param>>>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCollectionArray)(windows_core::Interface::as_raw(this), memberattributesarray.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -769,7 +769,7 @@ impl IppAttributeValue { P0: windows_core::Param, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTextWithLanguage)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -779,7 +779,7 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTextWithLanguageArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -788,7 +788,7 @@ impl IppAttributeValue { P0: windows_core::Param, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNameWithLanguage)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -798,13 +798,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNameWithLanguageArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateTextWithoutLanguage(value: &windows_core::HSTRING) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTextWithoutLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -814,13 +814,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTextWithoutLanguageArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateNameWithoutLanguage(value: &windows_core::HSTRING) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNameWithoutLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -830,13 +830,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNameWithoutLanguageArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateKeyword(value: &windows_core::HSTRING) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateKeyword)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -846,7 +846,7 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateKeywordArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -855,7 +855,7 @@ impl IppAttributeValue { P0: windows_core::Param, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUri)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -865,13 +865,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUriArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUriSchema(value: &windows_core::HSTRING) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUriSchema)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -881,13 +881,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUriSchemaArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateCharset(value: &windows_core::HSTRING) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCharset)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -897,13 +897,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCharsetArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateNaturalLanguage(value: &windows_core::HSTRING) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNaturalLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -913,13 +913,13 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNaturalLanguageArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateMimeMedia(value: &windows_core::HSTRING) -> windows_core::Result { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMimeMedia)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -929,7 +929,7 @@ impl IppAttributeValue { P0: windows_core::Param>, { Self::IIppAttributeValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMimeMediaArray)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -959,20 +959,20 @@ impl IppIntegerRange { pub fn Start(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Start)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn End(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).End)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateInstance(start: i32, end: i32) -> windows_core::Result { Self::IIppIntegerRangeFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), start, end, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1002,14 +1002,14 @@ impl IppPrintDevice { pub fn PrinterName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrinterName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrinterUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrinterUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1020,7 +1020,7 @@ impl IppPrintDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPrinterAttributesAsBuffer)(windows_core::Interface::as_raw(this), attributenames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1031,7 +1031,7 @@ impl IppPrintDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPrinterAttributes)(windows_core::Interface::as_raw(this), attributenames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1042,7 +1042,7 @@ impl IppPrintDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPrinterAttributesFromBuffer)(windows_core::Interface::as_raw(this), printerattributesbuffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1053,59 +1053,59 @@ impl IppPrintDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPrinterAttributes)(windows_core::Interface::as_raw(this), printerattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMaxSupportedPdfSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMaxSupportedPdfSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetMaxSupportedPdfVersion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMaxSupportedPdfVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPdlPassthroughSupported(&self, pdlcontenttype: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPdlPassthroughSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pdlcontenttype), &mut result__).map(|| result__) } } pub fn GetPdlPassthroughProvider(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPdlPassthroughProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelector() -> windows_core::Result { Self::IIppPrintDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IIppPrintDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromPrinterName(printername: &windows_core::HSTRING) -> windows_core::Result { Self::IIppPrintDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromPrinterName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(printername), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsIppPrinter(printername: &windows_core::HSTRING) -> windows_core::Result { Self::IIppPrintDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIppPrinter)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(printername), &mut result__).map(|| result__) }) } @@ -1135,27 +1135,27 @@ impl IppResolution { pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Unit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateInstance(width: i32, height: i32, unit: IppResolutionUnit) -> windows_core::Result { Self::IIppResolutionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), width, height, unit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1185,7 +1185,7 @@ impl IppSetAttributesResult { pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1193,7 +1193,7 @@ impl IppSetAttributesResult { pub fn AttributeErrors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1218,20 +1218,20 @@ impl IppTextWithLanguage { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInstance(language: &windows_core::HSTRING, text: &windows_core::HSTRING) -> windows_core::Result { Self::IIppTextWithLanguageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(language), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1268,7 +1268,7 @@ impl PageConfigurationSettings { pub fn OrientationSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientationSource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1279,7 +1279,7 @@ impl PageConfigurationSettings { pub fn SizeSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeSource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1309,7 +1309,7 @@ impl PdlPassthroughProvider { pub fn SupportedPdlContentTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedPdlContentTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1321,7 +1321,7 @@ impl PdlPassthroughProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPrintJobWithTaskOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(jobname), core::mem::transmute_copy(pdlcontenttype), taskoptions.param().abi(), pageconfigurationsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1333,7 +1333,7 @@ impl PdlPassthroughProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPrintJobWithPrintTicket)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(jobname), core::mem::transmute_copy(pdlcontenttype), printticket.param().abi(), pageconfigurationsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1363,7 +1363,7 @@ impl PdlPassthroughTarget { pub fn PrintJobId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintJobId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1371,7 +1371,7 @@ impl PdlPassthroughTarget { pub fn GetOutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1400,19 +1400,19 @@ impl Print3DDevice { pub fn PrintSchema(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintSchema)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IPrint3DDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IPrint3DDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1443,7 +1443,7 @@ impl PrintSchema { pub fn GetDefaultPrintTicketAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultPrintTicketAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1454,7 +1454,7 @@ impl PrintSchema { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCapabilitiesAsync)(windows_core::Interface::as_raw(this), constrainticket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1465,7 +1465,7 @@ impl PrintSchema { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MergeAndValidateWithDefaultPrintTicketAsync)(windows_core::Interface::as_raw(this), deltaticket.param().abi(), &mut result__).and_then(|| windows_core::Type::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 6a01158030..e71c402ba0 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IPwmControllerProvider, IPwmControllerProvi impl std::ops::Deref for IPwmControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPwmControllerProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -10,35 +10,35 @@ impl IPwmControllerProvider { pub fn PinCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ActualFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActualFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetDesiredFrequency(&self, frequency: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDesiredFrequency)(windows_core::Interface::as_raw(this), frequency, &mut result__).map(|| result__) } } pub fn MaxFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -84,7 +84,7 @@ windows_core::imp::define_interface!(IPwmProvider, IPwmProvider_Vtbl, 0xa3301228 impl std::ops::Deref for IPwmProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPwmProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -93,7 +93,7 @@ impl IPwmProvider { pub fn GetControllers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 0d6b011007..156ad19a42 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs @@ -42,9 +42,9 @@ impl windows_core::RuntimeType for IPwmControllerStatics3 { #[repr(C)] pub struct IPwmControllerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPwmPin, IPwmPin_Vtbl, 0x22972dc8_c6cf_4821_b7f9_c6454fb6af79); impl windows_core::RuntimeType for IPwmPin { @@ -70,42 +70,42 @@ impl PwmController { pub fn PinCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ActualFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActualFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetDesiredFrequency(&self, desiredfrequency: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDesiredFrequency)(windows_core::Interface::as_raw(this), desiredfrequency, &mut result__).map(|| result__) } } pub fn MinFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OpenPin(&self, pinnumber: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenPin)(windows_core::Interface::as_raw(this), pinnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -115,31 +115,31 @@ impl PwmController { P0: windows_core::Param, { Self::IPwmControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllersAsync)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IPwmControllerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IPwmControllerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromFriendlyName(friendlyname: &windows_core::HSTRING) -> windows_core::Result { Self::IPwmControllerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IPwmControllerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -184,14 +184,14 @@ impl PwmPin { pub fn Controller(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Controller)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetActiveDutyCyclePercentage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetActiveDutyCyclePercentage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -202,7 +202,7 @@ impl PwmPin { pub fn Polarity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Polarity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -221,7 +221,7 @@ impl PwmPin { pub fn IsStarted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStarted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs index 6eb4212c3d..8d5edfe087 100644 --- a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs @@ -9,7 +9,7 @@ pub struct IRadio_Vtbl { pub StateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RadioState) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RadioKind) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRadioStatics, IRadioStatics_Vtbl, 0x5fb6a12e_67cb_46ae_aae9_65919f86eff4); @@ -23,8 +23,8 @@ pub struct IRadioStatics_Vtbl { pub GetRadiosAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetRadiosAsync: usize, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] @@ -35,7 +35,7 @@ impl Radio { pub fn SetStateAsync(&self, value: RadioState) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetStateAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -45,7 +45,7 @@ impl Radio { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -56,46 +56,46 @@ impl Radio { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } #[cfg(feature = "Foundation_Collections")] pub fn GetRadiosAsync() -> windows_core::Result>> { Self::IRadioStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRadiosAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IRadioStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IRadioStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestAccessAsync() -> windows_core::Result> { Self::IRadioStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 98e184047e..fed7930030 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IImageScanner { #[repr(C)] pub struct IImageScanner_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DefaultScanSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ImageScannerScanSource) -> windows_core::HRESULT, pub IsScanSourceSupported: unsafe extern "system" fn(*mut core::ffi::c_void, ImageScannerScanSource, *mut bool) -> windows_core::HRESULT, pub FlatbedConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -65,7 +65,7 @@ windows_core::imp::define_interface!(IImageScannerFormatConfiguration, IImageSca impl std::ops::Deref for IImageScannerFormatConfiguration { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImageScannerFormatConfiguration, windows_core::IUnknown, windows_core::IInspectable); @@ -73,14 +73,14 @@ impl IImageScannerFormatConfiguration { pub fn DefaultFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -91,7 +91,7 @@ impl IImageScannerFormatConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFormatSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -133,7 +133,7 @@ windows_core::imp::define_interface!(IImageScannerSourceConfiguration, IImageSca impl std::ops::Deref for IImageScannerSourceConfiguration { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImageScannerSourceConfiguration, windows_core::IUnknown, windows_core::IInspectable); @@ -142,21 +142,21 @@ impl IImageScannerSourceConfiguration { pub fn MinScanArea(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinScanArea)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxScanArea(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxScanArea)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedScanRegion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedScanRegion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -167,7 +167,7 @@ impl IImageScannerSourceConfiguration { pub fn AutoCroppingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoCroppingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -178,35 +178,35 @@ impl IImageScannerSourceConfiguration { pub fn IsAutoCroppingModeSupported(&self, value: ImageScannerAutoCroppingMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAutoCroppingModeSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn MinResolution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxResolution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OpticalResolution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpticalResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DesiredResolution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -217,21 +217,21 @@ impl IImageScannerSourceConfiguration { pub fn ActualResolution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActualResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultColorMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultColorMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColorMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -242,42 +242,42 @@ impl IImageScannerSourceConfiguration { pub fn IsColorModeSupported(&self, value: ImageScannerColorMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsColorModeSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn MinBrightness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinBrightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBrightness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBrightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BrightnessStep(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrightnessStep)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultBrightness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultBrightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Brightness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Brightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -288,35 +288,35 @@ impl IImageScannerSourceConfiguration { pub fn MinContrast(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxContrast(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContrastStep(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContrastStep)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultContrast(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Contrast(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -327,14 +327,14 @@ impl IImageScannerSourceConfiguration { pub fn DefaultFormat(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Format(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -345,7 +345,7 @@ impl IImageScannerSourceConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFormatSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -393,8 +393,8 @@ impl windows_core::RuntimeType for IImageScannerStatics { #[repr(C)] pub struct IImageScannerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -404,49 +404,49 @@ impl ImageScanner { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultScanSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultScanSource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsScanSourceSupported(&self, value: ImageScannerScanSource) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScanSourceSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn FlatbedConfiguration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlatbedConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FeederConfiguration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FeederConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AutoConfiguration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPreviewSupported(&self, scansource: ImageScannerScanSource) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPreviewSupported)(windows_core::Interface::as_raw(this), scansource, &mut result__).map(|| result__) } } @@ -457,7 +457,7 @@ impl ImageScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanPreviewToStreamAsync)(windows_core::Interface::as_raw(this), scansource, targetstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -468,19 +468,19 @@ impl ImageScanner { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanFilesToFolderAsync)(windows_core::Interface::as_raw(this), scansource, storagefolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IImageScannerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IImageScannerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -511,14 +511,14 @@ impl ImageScannerAutoConfiguration { pub fn DefaultFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -529,7 +529,7 @@ impl ImageScannerAutoConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFormatSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -555,14 +555,14 @@ impl ImageScannerFeederConfiguration { pub fn CanAutoDetectPageSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanAutoDetectPageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AutoDetectPageSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoDetectPageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -574,7 +574,7 @@ impl ImageScannerFeederConfiguration { pub fn PageSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -587,7 +587,7 @@ impl ImageScannerFeederConfiguration { pub fn PageOrientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -599,7 +599,7 @@ impl ImageScannerFeederConfiguration { pub fn PageSizeDimensions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageSizeDimensions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -607,14 +607,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPageSizeSupported)(windows_core::Interface::as_raw(this), pagesize, pageorientation, &mut result__).map(|| result__) } } pub fn MaxNumberOfPages(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxNumberOfPages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -625,14 +625,14 @@ impl ImageScannerFeederConfiguration { pub fn CanScanDuplex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanScanDuplex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duplex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duplex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -643,14 +643,14 @@ impl ImageScannerFeederConfiguration { pub fn CanScanAhead(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanScanAhead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScanAhead(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanAhead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -661,14 +661,14 @@ impl ImageScannerFeederConfiguration { pub fn DefaultFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -679,28 +679,28 @@ impl ImageScannerFeederConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFormatSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn MinScanArea(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinScanArea)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxScanArea(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxScanArea)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedScanRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedScanRegion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -711,7 +711,7 @@ impl ImageScannerFeederConfiguration { pub fn AutoCroppingMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoCroppingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -722,35 +722,35 @@ impl ImageScannerFeederConfiguration { pub fn IsAutoCroppingModeSupported(&self, value: ImageScannerAutoCroppingMode) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAutoCroppingModeSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn MinResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OpticalResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpticalResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DesiredResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -761,21 +761,21 @@ impl ImageScannerFeederConfiguration { pub fn ActualResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActualResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultColorMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultColorMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColorMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -786,42 +786,42 @@ impl ImageScannerFeederConfiguration { pub fn IsColorModeSupported(&self, value: ImageScannerColorMode) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsColorModeSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn MinBrightness(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinBrightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBrightness(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBrightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BrightnessStep(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrightnessStep)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultBrightness(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultBrightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Brightness(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Brightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -832,35 +832,35 @@ impl ImageScannerFeederConfiguration { pub fn MinContrast(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxContrast(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContrastStep(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContrastStep)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultContrast(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Contrast(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -890,14 +890,14 @@ impl ImageScannerFlatbedConfiguration { pub fn DefaultFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -908,28 +908,28 @@ impl ImageScannerFlatbedConfiguration { pub fn IsFormatSupported(&self, value: ImageScannerFormat) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFormatSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn MinScanArea(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinScanArea)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxScanArea(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxScanArea)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedScanRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedScanRegion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -940,7 +940,7 @@ impl ImageScannerFlatbedConfiguration { pub fn AutoCroppingMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoCroppingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -951,35 +951,35 @@ impl ImageScannerFlatbedConfiguration { pub fn IsAutoCroppingModeSupported(&self, value: ImageScannerAutoCroppingMode) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAutoCroppingModeSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn MinResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OpticalResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpticalResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DesiredResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -990,21 +990,21 @@ impl ImageScannerFlatbedConfiguration { pub fn ActualResolution(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActualResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultColorMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultColorMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColorMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1015,42 +1015,42 @@ impl ImageScannerFlatbedConfiguration { pub fn IsColorModeSupported(&self, value: ImageScannerColorMode) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsColorModeSupported)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn MinBrightness(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinBrightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBrightness(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBrightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BrightnessStep(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrightnessStep)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultBrightness(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultBrightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Brightness(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Brightness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1061,35 +1061,35 @@ impl ImageScannerFlatbedConfiguration { pub fn MinContrast(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxContrast(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContrastStep(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContrastStep)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DefaultContrast(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Contrast(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1118,14 +1118,14 @@ impl ImageScannerPreviewResult { pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1151,7 +1151,7 @@ impl ImageScannerScanResult { pub fn ScannedFiles(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScannedFiles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 478fc98270..ca01b3a0ca 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs @@ -9,7 +9,7 @@ pub struct ICustomSensor_Vtbl { pub MinimumReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -62,8 +62,8 @@ impl windows_core::RuntimeType for ICustomSensorStatics { #[repr(C)] pub struct ICustomSensorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -73,14 +73,14 @@ impl CustomSensor { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -91,14 +91,14 @@ impl CustomSensor { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -108,7 +108,7 @@ impl CustomSensor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -123,26 +123,26 @@ impl CustomSensor { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeviceSelector(interfaceid: windows_core::GUID) -> windows_core::Result { Self::ICustomSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), interfaceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(sensorid: &windows_core::HSTRING) -> windows_core::Result> { Self::ICustomSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sensorid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -172,7 +172,7 @@ impl CustomSensorReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -180,14 +180,14 @@ impl CustomSensorReading { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -212,7 +212,7 @@ impl CustomSensorReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs index de5072f0b8..b05ab5e048 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs @@ -12,7 +12,7 @@ impl windows_core::RuntimeName for IHumanPresenceSensorExtension { } impl IHumanPresenceSensorExtension_Vtbl { pub const fn new, Impl: IHumanPresenceSensorExtension_Impl, const OFFSET: isize>() -> IHumanPresenceSensorExtension_Vtbl { - unsafe extern "system" fn Initialize, Impl: IHumanPresenceSensorExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceinterface: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IHumanPresenceSensorExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceinterface: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHumanPresenceSensorExtension_Impl::Initialize(this, core::mem::transmute(&deviceinterface)).into() diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index 2c1f6295c0..64515f8a78 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -82,7 +82,7 @@ impl windows_core::RuntimeType for IAccelerometerDeviceId { #[repr(C)] pub struct IAccelerometerDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccelerometerReading, IAccelerometerReading_Vtbl, 0xb9fe7acb_d351_40af_8bb6_7aa9ae641fb7); impl windows_core::RuntimeType for IAccelerometerReading { @@ -152,8 +152,8 @@ impl windows_core::RuntimeType for IAccelerometerStatics3 { #[repr(C)] pub struct IAccelerometerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, AccelerometerReadingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, AccelerometerReadingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActivitySensor, IActivitySensor_Vtbl, 0xcd7a630c_fb5f_48eb_b09b_a2708d1c61ef); impl windows_core::RuntimeType for IActivitySensor { @@ -168,7 +168,7 @@ pub struct IActivitySensor_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SubscribedActivities: usize, pub PowerInMilliwatts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SupportedActivities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -214,8 +214,8 @@ impl windows_core::RuntimeType for IActivitySensorStatics { pub struct IActivitySensorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetSystemHistoryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -255,7 +255,7 @@ impl windows_core::RuntimeType for IAltimeter { pub struct IAltimeter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetCurrentReading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MinimumReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -322,7 +322,7 @@ impl windows_core::RuntimeType for IBarometer { pub struct IBarometer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetCurrentReading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MinimumReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -407,8 +407,8 @@ impl windows_core::RuntimeType for IBarometerStatics2 { #[repr(C)] pub struct IBarometerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompass, ICompass_Vtbl, 0x292ffa94_1b45_403c_ba06_b106dba69a64); impl windows_core::RuntimeType for ICompass { @@ -477,7 +477,7 @@ impl windows_core::RuntimeType for ICompassDeviceId { #[repr(C)] pub struct ICompassDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompassReading, ICompassReading_Vtbl, 0x82911128_513d_4dc9_b781_5eedfbf02d0c); impl windows_core::RuntimeType for ICompassReading { @@ -537,8 +537,8 @@ impl windows_core::RuntimeType for ICompassStatics2 { #[repr(C)] pub struct ICompassStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGyrometer, IGyrometer_Vtbl, 0xfdb9a9c4_84b1_4ca2_9763_9b589506c70c); impl windows_core::RuntimeType for IGyrometer { @@ -611,7 +611,7 @@ impl windows_core::RuntimeType for IGyrometerDeviceId { #[repr(C)] pub struct IGyrometerDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGyrometerReading, IGyrometerReading_Vtbl, 0xb3d6de5c_1ee4_456f_9de7_e2493b5c8e03); impl windows_core::RuntimeType for IGyrometerReading { @@ -663,8 +663,8 @@ impl windows_core::RuntimeType for IGyrometerStatics2 { #[repr(C)] pub struct IGyrometerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHingeAngleReading, IHingeAngleReading_Vtbl, 0xa3cd45b9_1bf1_4f65_a704_e2da04f182c0); impl windows_core::RuntimeType for IHingeAngleReading { @@ -688,7 +688,7 @@ impl windows_core::RuntimeType for IHingeAngleSensor { pub struct IHingeAngleSensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetCurrentReadingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MinReportThresholdInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub ReportThresholdInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetReportThresholdInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, @@ -711,10 +711,10 @@ impl windows_core::RuntimeType for IHingeAngleSensorStatics { #[repr(C)] pub struct IHingeAngleSensorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetRelatedToAdjacentPanelsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetRelatedToAdjacentPanelsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHumanPresenceFeatures, IHumanPresenceFeatures_Vtbl, 0xbdb09fda_3244_557a_bd29_8b004f59f2cc); impl windows_core::RuntimeType for IHumanPresenceFeatures { @@ -723,7 +723,7 @@ impl windows_core::RuntimeType for IHumanPresenceFeatures { #[repr(C)] pub struct IHumanPresenceFeatures_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SensorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SensorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SupportedWakeOrLockDistancesInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -751,7 +751,7 @@ impl windows_core::RuntimeType for IHumanPresenceSensor { #[repr(C)] pub struct IHumanPresenceSensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxDetectableDistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MinDetectableDistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurrentReading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -772,7 +772,7 @@ windows_core::imp::define_interface!(IHumanPresenceSensorExtension, IHumanPresen impl std::ops::Deref for IHumanPresenceSensorExtension { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHumanPresenceSensorExtension, windows_core::IUnknown, windows_core::IInspectable); @@ -791,7 +791,7 @@ impl IHumanPresenceSensorExtension { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessReading)(windows_core::Interface::as_raw(this), reading.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -821,7 +821,7 @@ impl windows_core::RuntimeType for IHumanPresenceSensorExtension { #[repr(C)] pub struct IHumanPresenceSensorExtension_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessReading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessReadingTimeoutExpired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -885,8 +885,8 @@ impl windows_core::RuntimeType for IHumanPresenceSensorStatics { #[repr(C)] pub struct IHumanPresenceSensorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHumanPresenceSensorStatics2, IHumanPresenceSensorStatics2_Vtbl, 0x5de35843_d260_5a87_995e_ace91326e1c4); @@ -896,7 +896,7 @@ impl windows_core::RuntimeType for IHumanPresenceSensorStatics2 { #[repr(C)] pub struct IHumanPresenceSensorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHumanPresenceSettings, IHumanPresenceSettings_Vtbl, 0xef4daf5b_07b7_5eb6_86bb_b7ff49ce44fb); @@ -906,8 +906,8 @@ impl windows_core::RuntimeType for IHumanPresenceSettings { #[repr(C)] pub struct IHumanPresenceSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SensorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSensorId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SensorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSensorId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsWakeOnApproachEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsWakeOnApproachEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub WakeOnApproachDistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -951,8 +951,8 @@ pub struct IHumanPresenceSettingsStatics_Vtbl { pub GetCurrentSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateSettingsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetSupportedFeaturesForSensorIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetSupportedFeaturesForSensorId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSupportedFeaturesForSensorIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSupportedFeaturesForSensorId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetSupportedLockOnLeaveTimeouts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -1032,7 +1032,7 @@ impl windows_core::RuntimeType for IInclinometerDeviceId { #[repr(C)] pub struct IInclinometerDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInclinometerReading, IInclinometerReading_Vtbl, 0x9f44f055_b6f6_497f_b127_1a775e501458); impl windows_core::RuntimeType for IInclinometerReading { @@ -1111,8 +1111,8 @@ impl windows_core::RuntimeType for IInclinometerStatics4 { #[repr(C)] pub struct IInclinometerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, SensorReadingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, SensorReadingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILightSensor, ILightSensor_Vtbl, 0xf84c0718_0c54_47ae_922e_789f57fb03a0); impl windows_core::RuntimeType for ILightSensor { @@ -1167,7 +1167,7 @@ impl windows_core::RuntimeType for ILightSensorDeviceId { #[repr(C)] pub struct ILightSensorDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILightSensorReading, ILightSensorReading_Vtbl, 0xffdf6300_227c_4d2b_b302_fc0142485c68); impl windows_core::RuntimeType for ILightSensorReading { @@ -1217,8 +1217,8 @@ impl windows_core::RuntimeType for ILightSensorStatics2 { #[repr(C)] pub struct ILightSensorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILockOnLeaveOptions, ILockOnLeaveOptions_Vtbl, 0x3c6bf8bd_04c1_5829_8d4e_70521755b8be); impl windows_core::RuntimeType for ILockOnLeaveOptions { @@ -1301,7 +1301,7 @@ impl windows_core::RuntimeType for IMagnetometerDeviceId { #[repr(C)] pub struct IMagnetometerDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMagnetometerReading, IMagnetometerReading_Vtbl, 0x0c2cc40d_ebfd_4e5c_bb11_afc29b3cae61); impl windows_core::RuntimeType for IMagnetometerReading { @@ -1354,8 +1354,8 @@ impl windows_core::RuntimeType for IMagnetometerStatics2 { #[repr(C)] pub struct IMagnetometerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOrientationSensor, IOrientationSensor_Vtbl, 0x5e354635_cf6b_4c63_abd8_10252b0bf6ec); impl windows_core::RuntimeType for IOrientationSensor { @@ -1406,7 +1406,7 @@ impl windows_core::RuntimeType for IOrientationSensorDeviceId { #[repr(C)] pub struct IOrientationSensorDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOrientationSensorReading, IOrientationSensorReading_Vtbl, 0x4756c993_6595_4897_bcc6_d537ee757564); impl windows_core::RuntimeType for IOrientationSensorReading { @@ -1485,9 +1485,9 @@ impl windows_core::RuntimeType for IOrientationSensorStatics4 { #[repr(C)] pub struct IOrientationSensorStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, SensorReadingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal: unsafe extern "system" fn(*mut core::ffi::c_void, SensorReadingType, SensorOptimizationGoal, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, SensorReadingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal: unsafe extern "system" fn(*mut core::ffi::c_void, SensorReadingType, SensorOptimizationGoal, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPedometer, IPedometer_Vtbl, 0x9a1e013d_3d98_45f8_8920_8e4ecaca5f97); impl windows_core::RuntimeType for IPedometer { @@ -1496,7 +1496,7 @@ impl windows_core::RuntimeType for IPedometer { #[repr(C)] pub struct IPedometer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PowerInMilliwatts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub MinimumReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, @@ -1553,9 +1553,9 @@ impl windows_core::RuntimeType for IPedometerStatics { #[repr(C)] pub struct IPedometerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetSystemHistoryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -1584,7 +1584,7 @@ impl windows_core::RuntimeType for IProximitySensor { #[repr(C)] pub struct IProximitySensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxDistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MinDistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurrentReading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1628,8 +1628,8 @@ impl windows_core::RuntimeType for IProximitySensorStatics { #[repr(C)] pub struct IProximitySensorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProximitySensorStatics2, IProximitySensorStatics2_Vtbl, 0xcbf473ae_e9ca_422f_ad67_4c3d25df350c); impl windows_core::RuntimeType for IProximitySensorStatics2 { @@ -1647,7 +1647,7 @@ windows_core::imp::define_interface!(ISensorDataThreshold, ISensorDataThreshold_ impl std::ops::Deref for ISensorDataThreshold { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISensorDataThreshold, windows_core::IUnknown, windows_core::IInspectable); @@ -1666,7 +1666,7 @@ impl windows_core::RuntimeType for ISensorDataThresholdTriggerDetails { #[repr(C)] pub struct ISensorDataThresholdTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SensorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SensorType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISensorQuaternion, ISensorQuaternion_Vtbl, 0xc9c5c827_c71c_46e7_9da3_36a193b232bc); @@ -1732,7 +1732,7 @@ impl windows_core::RuntimeType for ISimpleOrientationSensorDeviceId { #[repr(C)] pub struct ISimpleOrientationSensorDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimpleOrientationSensorOrientationChangedEventArgs, ISimpleOrientationSensorOrientationChangedEventArgs_Vtbl, 0xbcd5c660_23d4_4b4c_a22e_ba81ade0c601); impl windows_core::RuntimeType for ISimpleOrientationSensorOrientationChangedEventArgs { @@ -1760,8 +1760,8 @@ impl windows_core::RuntimeType for ISimpleOrientationSensorStatics2 { #[repr(C)] pub struct ISimpleOrientationSensorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWakeOnApproachOptions, IWakeOnApproachOptions_Vtbl, 0xf0b87ae7_7e1f_5ea5_814d_6b7e07defc2b); impl windows_core::RuntimeType for IWakeOnApproachOptions { @@ -1783,14 +1783,14 @@ impl Accelerometer { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1801,7 +1801,7 @@ impl Accelerometer { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1811,7 +1811,7 @@ impl Accelerometer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1825,7 +1825,7 @@ impl Accelerometer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shaken)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1842,7 +1842,7 @@ impl Accelerometer { pub fn ReadingTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1853,59 +1853,59 @@ impl Accelerometer { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadingType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportThreshold(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportThreshold)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IAccelerometerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultWithAccelerometerReadingType(readingtype: AccelerometerReadingType) -> windows_core::Result { Self::IAccelerometerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultWithAccelerometerReadingType)(windows_core::Interface::as_raw(this), readingtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IAccelerometerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector(readingtype: AccelerometerReadingType) -> windows_core::Result { Self::IAccelerometerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), readingtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1945,7 +1945,7 @@ impl AccelerometerDataThreshold { pub fn XAxisInGForce(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XAxisInGForce)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1956,7 +1956,7 @@ impl AccelerometerDataThreshold { pub fn YAxisInGForce(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YAxisInGForce)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1967,7 +1967,7 @@ impl AccelerometerDataThreshold { pub fn ZAxisInGForce(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZAxisInGForce)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1996,35 +1996,35 @@ impl AccelerometerReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AccelerationX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccelerationX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AccelerationY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccelerationY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AccelerationZ(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccelerationZ)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2032,7 +2032,7 @@ impl AccelerometerReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2057,7 +2057,7 @@ impl AccelerometerReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2082,7 +2082,7 @@ impl AccelerometerShakenEventArgs { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2107,7 +2107,7 @@ impl ActivitySensor { pub fn GetCurrentReadingAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReadingAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2115,21 +2115,21 @@ impl ActivitySensor { pub fn SubscribedActivities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscribedActivities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PowerInMilliwatts(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerInMilliwatts)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2137,14 +2137,14 @@ impl ActivitySensor { pub fn SupportedActivities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedActivities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2154,7 +2154,7 @@ impl ActivitySensor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2164,33 +2164,33 @@ impl ActivitySensor { } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IActivitySensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IActivitySensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IActivitySensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryAsync(fromtime: super::super::Foundation::DateTime) -> windows_core::Result>> { Self::IActivitySensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSystemHistoryAsync)(windows_core::Interface::as_raw(this), fromtime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSystemHistoryWithDurationAsync)(windows_core::Interface::as_raw(this), fromtime, duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2220,21 +2220,21 @@ impl ActivitySensorReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Activity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Activity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Confidence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Confidence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2259,7 +2259,7 @@ impl ActivitySensorReadingChangeReport { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2284,7 +2284,7 @@ impl ActivitySensorReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2310,7 +2310,7 @@ impl ActivitySensorTriggerDetails { pub fn ReadReports(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadReports)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2335,7 +2335,7 @@ impl AdaptiveDimmingOptions { pub fn AllowWhenExternalDisplayConnected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowWhenExternalDisplayConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2364,21 +2364,21 @@ impl Altimeter { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2389,7 +2389,7 @@ impl Altimeter { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2399,7 +2399,7 @@ impl Altimeter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2414,20 +2414,20 @@ impl Altimeter { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDefault() -> windows_core::Result { Self::IAltimeterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2457,21 +2457,21 @@ impl AltimeterReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AltitudeChangeInMeters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AltitudeChangeInMeters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2479,7 +2479,7 @@ impl AltimeterReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2504,7 +2504,7 @@ impl AltimeterReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2529,21 +2529,21 @@ impl Barometer { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2554,7 +2554,7 @@ impl Barometer { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2564,7 +2564,7 @@ impl Barometer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2579,39 +2579,39 @@ impl Barometer { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportThreshold(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportThreshold)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IBarometerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IBarometerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IBarometerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2646,7 +2646,7 @@ impl BarometerDataThreshold { pub fn Hectopascals(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hectopascals)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2675,21 +2675,21 @@ impl BarometerReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StationPressureInHectopascals(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StationPressureInHectopascals)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2697,7 +2697,7 @@ impl BarometerReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2722,7 +2722,7 @@ impl BarometerReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2747,14 +2747,14 @@ impl Compass { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2765,7 +2765,7 @@ impl Compass { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2775,7 +2775,7 @@ impl Compass { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2792,7 +2792,7 @@ impl Compass { pub fn ReadingTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2803,46 +2803,46 @@ impl Compass { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportThreshold(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportThreshold)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::ICompassStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::ICompassStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ICompassStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2877,7 +2877,7 @@ impl CompassDataThreshold { pub fn Degrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Degrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2906,28 +2906,28 @@ impl CompassReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HeadingMagneticNorth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadingMagneticNorth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HeadingTrueNorth(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadingTrueNorth)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2935,14 +2935,14 @@ impl CompassReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HeadingAccuracy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadingAccuracy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2967,7 +2967,7 @@ impl CompassReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2992,14 +2992,14 @@ impl Gyrometer { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3010,7 +3010,7 @@ impl Gyrometer { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3020,7 +3020,7 @@ impl Gyrometer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3037,7 +3037,7 @@ impl Gyrometer { pub fn ReadingTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3048,46 +3048,46 @@ impl Gyrometer { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportThreshold(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportThreshold)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IGyrometerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IGyrometerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IGyrometerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3122,7 +3122,7 @@ impl GyrometerDataThreshold { pub fn XAxisInDegreesPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XAxisInDegreesPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3133,7 +3133,7 @@ impl GyrometerDataThreshold { pub fn YAxisInDegreesPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YAxisInDegreesPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3144,7 +3144,7 @@ impl GyrometerDataThreshold { pub fn ZAxisInDegreesPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZAxisInDegreesPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3173,35 +3173,35 @@ impl GyrometerReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AngularVelocityX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AngularVelocityX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AngularVelocityY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AngularVelocityY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AngularVelocityZ(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AngularVelocityZ)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3209,7 +3209,7 @@ impl GyrometerReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3234,7 +3234,7 @@ impl GyrometerReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3259,14 +3259,14 @@ impl HingeAngleReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AngleInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3274,7 +3274,7 @@ impl HingeAngleReading { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3299,28 +3299,28 @@ impl HingeAngleSensor { pub fn GetCurrentReadingAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReadingAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinReportThresholdInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinReportThresholdInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportThresholdInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportThresholdInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3334,7 +3334,7 @@ impl HingeAngleSensor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3344,25 +3344,25 @@ impl HingeAngleSensor { } pub fn GetDeviceSelector() -> windows_core::Result { Self::IHingeAngleSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IHingeAngleSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetRelatedToAdjacentPanelsAsync(firstpanelid: &windows_core::HSTRING, secondpanelid: &windows_core::HSTRING) -> windows_core::Result> { Self::IHingeAngleSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRelatedToAdjacentPanelsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(firstpanelid), core::mem::transmute_copy(secondpanelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IHingeAngleSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3392,7 +3392,7 @@ impl HingeAngleSensorReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3417,7 +3417,7 @@ impl HumanPresenceFeatures { pub fn SensorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SensorId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3425,21 +3425,21 @@ impl HumanPresenceFeatures { pub fn SupportedWakeOrLockDistancesInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedWakeOrLockDistancesInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWakeOnApproachSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWakeOnApproachSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLockOnLeaveSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLockOnLeaveSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3447,14 +3447,14 @@ impl HumanPresenceFeatures { pub fn IsAttentionAwareDimmingSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAttentionAwareDimmingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAdaptiveDimmingSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAdaptiveDimmingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3479,28 +3479,28 @@ impl HumanPresenceSensor { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxDetectableDistanceInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxDetectableDistanceInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinDetectableDistanceInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinDetectableDistanceInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3510,7 +3510,7 @@ impl HumanPresenceSensor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3521,44 +3521,44 @@ impl HumanPresenceSensor { pub fn IsPresenceSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPresenceSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEngagementSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEngagementSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeviceSelector() -> windows_core::Result { Self::IHumanPresenceSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(sensorid: &windows_core::HSTRING) -> windows_core::Result> { Self::IHumanPresenceSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sensorid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IHumanPresenceSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromId(sensorid: &windows_core::HSTRING) -> windows_core::Result { Self::IHumanPresenceSensorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sensorid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefault() -> windows_core::Result { Self::IHumanPresenceSensorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3593,28 +3593,28 @@ impl HumanPresenceSensorReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Presence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Presence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Engagement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Engagement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DistanceInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistanceInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3622,7 +3622,7 @@ impl HumanPresenceSensorReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3647,7 +3647,7 @@ impl HumanPresenceSensorReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3679,7 +3679,7 @@ impl HumanPresenceSensorReadingUpdate { pub fn Timestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3693,7 +3693,7 @@ impl HumanPresenceSensorReadingUpdate { pub fn Presence(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Presence)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3707,7 +3707,7 @@ impl HumanPresenceSensorReadingUpdate { pub fn Engagement(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Engagement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3721,7 +3721,7 @@ impl HumanPresenceSensorReadingUpdate { pub fn DistanceInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistanceInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3753,7 +3753,7 @@ impl HumanPresenceSettings { pub fn SensorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SensorId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3764,7 +3764,7 @@ impl HumanPresenceSettings { pub fn IsWakeOnApproachEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWakeOnApproachEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3775,7 +3775,7 @@ impl HumanPresenceSettings { pub fn WakeOnApproachDistanceInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WakeOnApproachDistanceInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3789,7 +3789,7 @@ impl HumanPresenceSettings { pub fn IsLockOnLeaveEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLockOnLeaveEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3800,7 +3800,7 @@ impl HumanPresenceSettings { pub fn LockOnLeaveDistanceInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockOnLeaveDistanceInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3814,7 +3814,7 @@ impl HumanPresenceSettings { pub fn LockOnLeaveTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockOnLeaveTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3826,7 +3826,7 @@ impl HumanPresenceSettings { pub fn IsAttentionAwareDimmingEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAttentionAwareDimmingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3838,7 +3838,7 @@ impl HumanPresenceSettings { pub fn IsAdaptiveDimmingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAdaptiveDimmingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3849,33 +3849,33 @@ impl HumanPresenceSettings { pub fn WakeOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WakeOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DimmingOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DimmingOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LockOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentSettingsAsync() -> windows_core::Result> { Self::IHumanPresenceSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentSettingsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetCurrentSettings() -> windows_core::Result { Self::IHumanPresenceSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3884,7 +3884,7 @@ impl HumanPresenceSettings { P0: windows_core::Param, { Self::IHumanPresenceSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateSettingsAsync)(windows_core::Interface::as_raw(this), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3896,20 +3896,20 @@ impl HumanPresenceSettings { } pub fn GetSupportedFeaturesForSensorIdAsync(sensorid: &windows_core::HSTRING) -> windows_core::Result> { Self::IHumanPresenceSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedFeaturesForSensorIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sensorid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetSupportedFeaturesForSensorId(sensorid: &windows_core::HSTRING) -> windows_core::Result { Self::IHumanPresenceSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedFeaturesForSensorId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sensorid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetSupportedLockOnLeaveTimeouts() -> windows_core::Result> { Self::IHumanPresenceSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedLockOnLeaveTimeouts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3918,7 +3918,7 @@ impl HumanPresenceSettings { P0: windows_core::Param>, { Self::IHumanPresenceSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SettingsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -3951,14 +3951,14 @@ impl Inclinometer { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3969,7 +3969,7 @@ impl Inclinometer { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3979,7 +3979,7 @@ impl Inclinometer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3996,14 +3996,14 @@ impl Inclinometer { pub fn ReadingTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadingType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4014,58 +4014,58 @@ impl Inclinometer { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportThreshold(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportThreshold)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IInclinometerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultForRelativeReadings() -> windows_core::Result { Self::IInclinometerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultForRelativeReadings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultWithSensorReadingType(sensorreadingtype: SensorReadingType) -> windows_core::Result { Self::IInclinometerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultWithSensorReadingType)(windows_core::Interface::as_raw(this), sensorreadingtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector(readingtype: SensorReadingType) -> windows_core::Result { Self::IInclinometerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), readingtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IInclinometerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4110,7 +4110,7 @@ impl InclinometerDataThreshold { pub fn PitchInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PitchInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4121,7 +4121,7 @@ impl InclinometerDataThreshold { pub fn RollInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RollInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4132,7 +4132,7 @@ impl InclinometerDataThreshold { pub fn YawInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YawInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4161,35 +4161,35 @@ impl InclinometerReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PitchDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PitchDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RollDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RollDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn YawDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YawDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4197,14 +4197,14 @@ impl InclinometerReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn YawAccuracy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YawAccuracy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4229,7 +4229,7 @@ impl InclinometerReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4254,14 +4254,14 @@ impl LightSensor { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4272,7 +4272,7 @@ impl LightSensor { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4282,7 +4282,7 @@ impl LightSensor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4297,46 +4297,46 @@ impl LightSensor { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportThreshold(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportThreshold)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::ILightSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::ILightSensorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ILightSensorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4371,7 +4371,7 @@ impl LightSensorDataThreshold { pub fn LuxPercentage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LuxPercentage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4382,7 +4382,7 @@ impl LightSensorDataThreshold { pub fn AbsoluteLux(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteLux)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4411,21 +4411,21 @@ impl LightSensorReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IlluminanceInLux(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IlluminanceInLux)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4433,7 +4433,7 @@ impl LightSensorReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4458,7 +4458,7 @@ impl LightSensorReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4483,7 +4483,7 @@ impl LockOnLeaveOptions { pub fn AllowWhenExternalDisplayConnected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowWhenExternalDisplayConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4512,14 +4512,14 @@ impl Magnetometer { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4530,7 +4530,7 @@ impl Magnetometer { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4540,7 +4540,7 @@ impl Magnetometer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4557,7 +4557,7 @@ impl Magnetometer { pub fn ReadingTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4568,46 +4568,46 @@ impl Magnetometer { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReportThreshold(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportThreshold)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IMagnetometerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IMagnetometerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IMagnetometerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4642,7 +4642,7 @@ impl MagnetometerDataThreshold { pub fn XAxisMicroteslas(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XAxisMicroteslas)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4653,7 +4653,7 @@ impl MagnetometerDataThreshold { pub fn YAxisMicroteslas(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YAxisMicroteslas)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4664,7 +4664,7 @@ impl MagnetometerDataThreshold { pub fn ZAxisMicroteslas(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZAxisMicroteslas)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4693,42 +4693,42 @@ impl MagnetometerReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MagneticFieldX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MagneticFieldX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MagneticFieldY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MagneticFieldY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MagneticFieldZ(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MagneticFieldZ)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DirectionalAccuracy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DirectionalAccuracy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4736,7 +4736,7 @@ impl MagnetometerReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4761,7 +4761,7 @@ impl MagnetometerReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4786,14 +4786,14 @@ impl OrientationSensor { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4804,7 +4804,7 @@ impl OrientationSensor { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4814,7 +4814,7 @@ impl OrientationSensor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4831,14 +4831,14 @@ impl OrientationSensor { pub fn ReadingTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadingType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4849,63 +4849,63 @@ impl OrientationSensor { pub fn ReportLatency(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLatency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxBatchSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBatchSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IOrientationSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultForRelativeReadings() -> windows_core::Result { Self::IOrientationSensorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultForRelativeReadings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultWithSensorReadingType(sensorreadingtype: SensorReadingType) -> windows_core::Result { Self::IOrientationSensorStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultWithSensorReadingType)(windows_core::Interface::as_raw(this), sensorreadingtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultWithSensorReadingTypeAndSensorOptimizationGoal(sensorreadingtype: SensorReadingType, optimizationgoal: SensorOptimizationGoal) -> windows_core::Result { Self::IOrientationSensorStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultWithSensorReadingTypeAndSensorOptimizationGoal)(windows_core::Interface::as_raw(this), sensorreadingtype, optimizationgoal, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector(readingtype: SensorReadingType) -> windows_core::Result { Self::IOrientationSensorStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), readingtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal(readingtype: SensorReadingType, optimizationgoal: SensorOptimizationGoal) -> windows_core::Result { Self::IOrientationSensorStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorWithSensorReadingTypeAndSensorOptimizationGoal)(windows_core::Interface::as_raw(this), readingtype, optimizationgoal, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IOrientationSensorStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4950,28 +4950,28 @@ impl OrientationSensorReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RotationMatrix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationMatrix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Quaternion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Quaternion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PerformanceCount(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformanceCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4979,14 +4979,14 @@ impl OrientationSensorReading { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn YawAccuracy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YawAccuracy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5011,7 +5011,7 @@ impl OrientationSensorReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5036,21 +5036,21 @@ impl Pedometer { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PowerInMilliwatts(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerInMilliwatts)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinimumReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinimumReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5061,7 +5061,7 @@ impl Pedometer { pub fn ReportInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5071,7 +5071,7 @@ impl Pedometer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5083,39 +5083,39 @@ impl Pedometer { pub fn GetCurrentReadings(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReadings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IPedometerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAsync() -> windows_core::Result> { Self::IPedometerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IPedometerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetSystemHistoryAsync(fromtime: super::super::Foundation::DateTime) -> windows_core::Result>> { Self::IPedometerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSystemHistoryAsync)(windows_core::Interface::as_raw(this), fromtime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSystemHistoryWithDurationAsync)(windows_core::Interface::as_raw(this), fromtime, duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5125,7 +5125,7 @@ impl Pedometer { P0: windows_core::Param, { Self::IPedometerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetReadingsFromTriggerDetails)(windows_core::Interface::as_raw(this), triggerdetails.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5163,7 +5163,7 @@ impl PedometerDataThreshold { P0: windows_core::Param, { Self::IPedometerDataThresholdFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), sensor.param().abi(), stepgoal, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5193,28 +5193,28 @@ impl PedometerReading { pub fn StepKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StepKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CumulativeSteps(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CumulativeSteps)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CumulativeStepsDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CumulativeStepsDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5239,7 +5239,7 @@ impl PedometerReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5264,28 +5264,28 @@ impl ProximitySensor { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxDistanceInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxDistanceInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinDistanceInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinDistanceInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5295,7 +5295,7 @@ impl ProximitySensor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5306,19 +5306,19 @@ impl ProximitySensor { pub fn CreateDisplayOnOffController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDisplayOnOffController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelector() -> windows_core::Result { Self::IProximitySensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromId(sensorid: &windows_core::HSTRING) -> windows_core::Result { Self::IProximitySensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sensorid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5328,7 +5328,7 @@ impl ProximitySensor { P0: windows_core::Param, { Self::IProximitySensorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetReadingsFromTriggerDetails)(windows_core::Interface::as_raw(this), triggerdetails.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5366,7 +5366,7 @@ impl ProximitySensorDataThreshold { P0: windows_core::Param, { Self::IProximitySensorDataThresholdFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), sensor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5419,21 +5419,21 @@ impl ProximitySensorReading { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDetected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDetected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DistanceInMillimeters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistanceInMillimeters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5458,7 +5458,7 @@ impl ProximitySensorReadingChangedEventArgs { pub fn Reading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5483,14 +5483,14 @@ impl SensorDataThresholdTriggerDetails { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SensorType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SensorType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5515,28 +5515,28 @@ impl SensorQuaternion { pub fn W(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).W)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn X(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).X)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Y(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Y)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Z(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Z)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5561,63 +5561,63 @@ impl SensorRotationMatrix { pub fn M11(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).M11)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn M12(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).M12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn M13(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).M13)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn M21(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).M21)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn M22(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).M22)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn M23(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).M23)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn M31(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).M31)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn M32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).M32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn M33(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).M33)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5642,7 +5642,7 @@ impl SimpleOrientationSensor { pub fn GetCurrentOrientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5652,7 +5652,7 @@ impl SimpleOrientationSensor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5669,32 +5669,32 @@ impl SimpleOrientationSensor { pub fn ReadingTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadingTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::ISimpleOrientationSensorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::ISimpleOrientationSensorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ISimpleOrientationSensorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5729,14 +5729,14 @@ impl SimpleOrientationSensorOrientationChangedEventArgs { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5761,7 +5761,7 @@ impl WakeOnApproachOptions { pub fn AllowWhenExternalDisplayConnected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowWhenExternalDisplayConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5772,7 +5772,7 @@ impl WakeOnApproachOptions { pub fn DisableWhenBatterySaverOn(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableWhenBatterySaverOn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs index dadd3b30c3..9e52f9d7c3 100644 --- a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs @@ -41,7 +41,7 @@ pub struct ISerialDevice_Vtbl { pub SetIsRequestToSendEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Parity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SerialParity) -> windows_core::HRESULT, pub SetParity: unsafe extern "system" fn(*mut core::ffi::c_void, SerialParity) -> windows_core::HRESULT, - pub PortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReadTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetReadTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub StopBits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SerialStopBitCount) -> windows_core::HRESULT, @@ -70,10 +70,10 @@ impl windows_core::RuntimeType for ISerialDeviceStatics { #[repr(C)] pub struct ISerialDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromPortName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromUsbVidPid: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromPortName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromUsbVidPid: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -83,7 +83,7 @@ impl ErrorReceivedEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -108,7 +108,7 @@ impl PinChangedEventArgs { pub fn PinChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -138,7 +138,7 @@ impl SerialDevice { pub fn BaudRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaudRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -149,7 +149,7 @@ impl SerialDevice { pub fn BreakSignalState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BreakSignalState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -160,28 +160,28 @@ impl SerialDevice { pub fn BytesReceived(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesReceived)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CarrierDetectState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CarrierDetectState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ClearToSendState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearToSendState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DataBits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataBits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -192,14 +192,14 @@ impl SerialDevice { pub fn DataSetReadyState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataSetReadyState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Handshake(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handshake)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -210,7 +210,7 @@ impl SerialDevice { pub fn IsDataTerminalReadyEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDataTerminalReadyEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -221,7 +221,7 @@ impl SerialDevice { pub fn IsRequestToSendEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRequestToSendEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -232,7 +232,7 @@ impl SerialDevice { pub fn Parity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -243,14 +243,14 @@ impl SerialDevice { pub fn PortName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PortName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -261,7 +261,7 @@ impl SerialDevice { pub fn StopBits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -272,21 +272,21 @@ impl SerialDevice { pub fn UsbVendorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsbVendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsbProductId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsbProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WriteTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -298,7 +298,7 @@ impl SerialDevice { pub fn InputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -306,7 +306,7 @@ impl SerialDevice { pub fn OutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -316,7 +316,7 @@ impl SerialDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorReceived)(windows_core::Interface::as_raw(this), reporthandler.param().abi(), &mut result__).map(|| result__) } } @@ -330,7 +330,7 @@ impl SerialDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinChanged)(windows_core::Interface::as_raw(this), reporthandler.param().abi(), &mut result__).map(|| result__) } } @@ -340,25 +340,25 @@ impl SerialDevice { } pub fn GetDeviceSelector() -> windows_core::Result { Self::ISerialDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromPortName(portname: &windows_core::HSTRING) -> windows_core::Result { Self::ISerialDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromPortName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(portname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromUsbVidPid(vendorid: u16, productid: u16) -> windows_core::Result { Self::ISerialDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromUsbVidPid)(windows_core::Interface::as_raw(this), vendorid, productid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ISerialDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::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 7670b45f1d..6059fb277f 100644 --- a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs @@ -53,8 +53,8 @@ impl windows_core::RuntimeType for ISmartCardAppletIdGroup { #[repr(C)] pub struct ISmartCardAppletIdGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub AppletIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] @@ -81,8 +81,8 @@ pub struct ISmartCardAppletIdGroup2_Vtbl { pub SetLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetLogo: usize, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -98,7 +98,7 @@ impl windows_core::RuntimeType for ISmartCardAppletIdGroupFactory { pub struct ISmartCardAppletIdGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, SmartCardEmulationCategory, SmartCardEmulationType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, SmartCardEmulationCategory, SmartCardEmulationType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] Create: usize, } @@ -125,7 +125,7 @@ impl windows_core::RuntimeType for ISmartCardAppletIdGroupRegistration2 { #[repr(C)] pub struct ISmartCardAppletIdGroupRegistration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SmartCardReaderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SmartCardReaderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SetPropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -292,22 +292,22 @@ pub struct ISmartCardCryptogramGenerator_Vtbl { pub SupportedSmartCardCryptogramStorageKeyCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SupportedSmartCardCryptogramStorageKeyCapabilities: usize, - pub DeleteCryptogramMaterialStorageKeyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateCryptogramMaterialStorageKeyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardUnlockPromptingBehavior, std::mem::MaybeUninit, SmartCardCryptogramStorageKeyAlgorithm, SmartCardCryptogramStorageKeyCapabilities, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteCryptogramMaterialStorageKeyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCryptogramMaterialStorageKeyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardUnlockPromptingBehavior, core::mem::MaybeUninit, SmartCardCryptogramStorageKeyAlgorithm, SmartCardCryptogramStorageKeyCapabilities, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Security_Cryptography_Core")] - pub RequestCryptogramMaterialStorageKeyInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardUnlockPromptingBehavior, std::mem::MaybeUninit, super::super::Security::Cryptography::Core::CryptographicPublicKeyBlobType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestCryptogramMaterialStorageKeyInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardUnlockPromptingBehavior, core::mem::MaybeUninit, super::super::Security::Cryptography::Core::CryptographicPublicKeyBlobType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Cryptography_Core"))] RequestCryptogramMaterialStorageKeyInfoAsync: usize, #[cfg(feature = "Storage_Streams")] - pub ImportCryptogramMaterialPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardCryptogramMaterialPackageFormat, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportCryptogramMaterialPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardCryptogramMaterialPackageFormat, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ImportCryptogramMaterialPackageAsync: usize, #[cfg(feature = "Storage_Streams")] - pub TryProvePossessionOfCryptogramMaterialPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardUnlockPromptingBehavior, SmartCardCryptogramMaterialPackageConfirmationResponseFormat, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryProvePossessionOfCryptogramMaterialPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardUnlockPromptingBehavior, SmartCardCryptogramMaterialPackageConfirmationResponseFormat, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] TryProvePossessionOfCryptogramMaterialPackageAsync: usize, pub RequestUnlockCryptogramMaterialForUseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardUnlockPromptingBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteCryptogramMaterialPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteCryptogramMaterialPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISmartCardCryptogramGenerator2, ISmartCardCryptogramGenerator2_Vtbl, 0x7116aa34_5d6d_4b4a_96a3_efa47d2a7e25); impl windows_core::RuntimeType for ISmartCardCryptogramGenerator2 { @@ -322,8 +322,8 @@ pub struct ISmartCardCryptogramGenerator2_Vtbl { ValidateRequestApduAsync: usize, pub GetAllCryptogramStorageKeyCharacteristicsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAllCryptogramMaterialPackageCharacteristicsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAllCryptogramMaterialCharacteristicsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardUnlockPromptingBehavior, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAllCryptogramMaterialCharacteristicsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardUnlockPromptingBehavior, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISmartCardCryptogramGeneratorStatics, ISmartCardCryptogramGeneratorStatics_Vtbl, 0x09933910_cb9c_4015_967d_5234f3b02900); impl windows_core::RuntimeType for ISmartCardCryptogramGeneratorStatics { @@ -389,7 +389,7 @@ impl windows_core::RuntimeType for ISmartCardCryptogramMaterialCharacteristics { #[repr(C)] pub struct ISmartCardCryptogramMaterialCharacteristics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub MaterialName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MaterialName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AllowedAlgorithms: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -414,8 +414,8 @@ impl windows_core::RuntimeType for ISmartCardCryptogramMaterialPackageCharacteri #[repr(C)] pub struct ISmartCardCryptogramMaterialPackageCharacteristics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PackageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StorageKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StorageKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DateImported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub PackageFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardCryptogramMaterialPackageFormat) -> windows_core::HRESULT, } @@ -449,10 +449,10 @@ pub struct ISmartCardCryptogramPlacementStep_Vtbl { pub SetSourceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetSourceData: usize, - pub CryptogramMaterialPackageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCryptogramMaterialPackageName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CryptogramMaterialName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCryptogramMaterialName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CryptogramMaterialPackageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCryptogramMaterialPackageName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CryptogramMaterialName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCryptogramMaterialName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub TemplateOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetTemplateOffset: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CryptogramOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -471,7 +471,7 @@ impl windows_core::RuntimeType for ISmartCardCryptogramStorageKeyCharacteristics #[repr(C)] pub struct ISmartCardCryptogramStorageKeyCharacteristics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub StorageKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StorageKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DateCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Algorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardCryptogramStorageKeyAlgorithm) -> windows_core::HRESULT, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardCryptogramStorageKeyCapabilities) -> windows_core::HRESULT, @@ -510,7 +510,7 @@ impl windows_core::RuntimeType for ISmartCardCryptogramStorageKeyInfo2 { #[repr(C)] pub struct ISmartCardCryptogramStorageKeyInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OperationalRequirements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OperationalRequirements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISmartCardEmulator, ISmartCardEmulator_Vtbl, 0xdfb906b2_875e_47e5_8077_e8bff1b1c6fb); impl windows_core::RuntimeType for ISmartCardEmulator { @@ -714,11 +714,11 @@ pub struct ISmartCardProvisioningStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromSmartCardAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub RequestVirtualSmartCardCreationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestVirtualSmartCardCreationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] RequestVirtualSmartCardCreationAsync: usize, #[cfg(feature = "Storage_Streams")] - pub RequestVirtualSmartCardCreationAsyncWithCardId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestVirtualSmartCardCreationAsyncWithCardId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] RequestVirtualSmartCardCreationAsyncWithCardId: usize, pub RequestVirtualSmartCardDeletionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -731,11 +731,11 @@ impl windows_core::RuntimeType for ISmartCardProvisioningStatics2 { pub struct ISmartCardProvisioningStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage_Streams")] - pub RequestAttestedVirtualSmartCardCreationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAttestedVirtualSmartCardCreationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] RequestAttestedVirtualSmartCardCreationAsync: usize, #[cfg(feature = "Storage_Streams")] - pub RequestAttestedVirtualSmartCardCreationAsyncWithCardId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAttestedVirtualSmartCardCreationAsyncWithCardId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] RequestAttestedVirtualSmartCardCreationAsyncWithCardId: usize, } @@ -746,8 +746,8 @@ impl windows_core::RuntimeType for ISmartCardReader { #[repr(C)] pub struct ISmartCardReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardReaderKind) -> windows_core::HRESULT, pub GetStatusAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -766,9 +766,9 @@ impl windows_core::RuntimeType for ISmartCardReaderStatics { #[repr(C)] pub struct ISmartCardReaderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorWithKind: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardReaderKind, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorWithKind: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardReaderKind, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISmartCardTriggerDetails, ISmartCardTriggerDetails_Vtbl, 0x5f9bf11e_39ef_4f2b_b44f_0a9155b177bc); impl windows_core::RuntimeType for ISmartCardTriggerDetails { @@ -795,8 +795,8 @@ impl windows_core::RuntimeType for ISmartCardTriggerDetails2 { pub struct ISmartCardTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Emulator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryLaunchCurrentAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryLaunchCurrentAppWithBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SmartCardLaunchBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryLaunchCurrentAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryLaunchCurrentAppWithBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SmartCardLaunchBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISmartCardTriggerDetails3, ISmartCardTriggerDetails3_Vtbl, 0xb3e2c27d_18c6_4ba8_8376_ef03d4912666); impl windows_core::RuntimeType for ISmartCardTriggerDetails3 { @@ -815,7 +815,7 @@ impl CardAddedEventArgs { pub fn SmartCard(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartCard)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -840,7 +840,7 @@ impl CardRemovedEventArgs { pub fn SmartCard(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartCard)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -862,14 +862,14 @@ impl KnownSmartCardAppletIds { #[cfg(feature = "Storage_Streams")] pub fn PaymentSystemEnvironment() -> windows_core::Result { Self::IKnownSmartCardAppletIds(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PaymentSystemEnvironment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn ProximityPaymentSystemEnvironment() -> windows_core::Result { Self::IKnownSmartCardAppletIds(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProximityPaymentSystemEnvironment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -890,14 +890,14 @@ impl SmartCard { pub fn Reader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetStatusAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatusAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -905,14 +905,14 @@ impl SmartCard { pub fn GetAnswerToResetAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAnswerToResetAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -944,7 +944,7 @@ impl SmartCardAppletIdGroup { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -956,14 +956,14 @@ impl SmartCardAppletIdGroup { pub fn AppletIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppletIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SmartCardEmulationCategory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartCardEmulationCategory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -974,7 +974,7 @@ impl SmartCardAppletIdGroup { pub fn SmartCardEmulationType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartCardEmulationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -985,7 +985,7 @@ impl SmartCardAppletIdGroup { pub fn AutomaticEnablement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomaticEnablement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -997,7 +997,7 @@ impl SmartCardAppletIdGroup { pub fn Logo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1012,7 +1012,7 @@ impl SmartCardAppletIdGroup { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1024,14 +1024,14 @@ impl SmartCardAppletIdGroup { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SecureUserAuthenticationRequired(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecureUserAuthenticationRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1045,13 +1045,13 @@ impl SmartCardAppletIdGroup { P0: windows_core::Param>, { Self::ISmartCardAppletIdGroupFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displayname), appletids.param().abi(), emulationcategory, emulationtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MaxAppletIds() -> windows_core::Result { Self::ISmartCardAppletIdGroupStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAppletIds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1086,28 +1086,28 @@ impl SmartCardAppletIdGroupRegistration { pub fn ActivationPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivationPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppletIdGroup(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppletIdGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestActivationPolicyChangeAsync(&self, policy: SmartCardAppletIdGroupActivationPolicy) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestActivationPolicyChangeAsync)(windows_core::Interface::as_raw(this), policy, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1118,14 +1118,14 @@ impl SmartCardAppletIdGroupRegistration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAutomaticResponseApdusAsync)(windows_core::Interface::as_raw(this), apdus.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SmartCardReaderId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartCardReaderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1136,7 +1136,7 @@ impl SmartCardAppletIdGroupRegistration { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPropertiesAsync)(windows_core::Interface::as_raw(this), props.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1162,7 +1162,7 @@ impl SmartCardAutomaticResponseApdu { pub fn CommandApdu(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandApdu)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1178,7 +1178,7 @@ impl SmartCardAutomaticResponseApdu { pub fn CommandApduBitMask(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandApduBitMask)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1193,7 +1193,7 @@ impl SmartCardAutomaticResponseApdu { pub fn ShouldMatchLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldMatchLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1205,7 +1205,7 @@ impl SmartCardAutomaticResponseApdu { pub fn AppletId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppletId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1221,7 +1221,7 @@ impl SmartCardAutomaticResponseApdu { pub fn ResponseApdu(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseApdu)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1236,7 +1236,7 @@ impl SmartCardAutomaticResponseApdu { pub fn InputState(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputState)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1250,7 +1250,7 @@ impl SmartCardAutomaticResponseApdu { pub fn OutputState(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputState)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1264,7 +1264,7 @@ impl SmartCardAutomaticResponseApdu { pub fn AllowWhenCryptogramGeneratorNotPrepared(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowWhenCryptogramGeneratorNotPrepared)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1279,7 +1279,7 @@ impl SmartCardAutomaticResponseApdu { P1: windows_core::Param, { Self::ISmartCardAutomaticResponseApduFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), commandapdu.param().abi(), responseapdu.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1315,7 +1315,7 @@ impl SmartCardChallengeContext { pub fn Challenge(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Challenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1326,7 +1326,7 @@ impl SmartCardChallengeContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerifyResponseAsync)(windows_core::Interface::as_raw(this), response.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1337,7 +1337,7 @@ impl SmartCardChallengeContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProvisionAsync)(windows_core::Interface::as_raw(this), response.param().abi(), formatcard, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1348,7 +1348,7 @@ impl SmartCardChallengeContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProvisionAsyncWithNewCardId)(windows_core::Interface::as_raw(this), response.param().abi(), formatcard, newcardid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1360,7 +1360,7 @@ impl SmartCardChallengeContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeAdministrativeKeyAsync)(windows_core::Interface::as_raw(this), response.param().abi(), newadministrativekey.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1394,7 +1394,7 @@ impl SmartCardConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransmitAsync)(windows_core::Interface::as_raw(this), command.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1420,7 +1420,7 @@ impl SmartCardCryptogramGenerator { pub fn SupportedCryptogramMaterialTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCryptogramMaterialTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1428,7 +1428,7 @@ impl SmartCardCryptogramGenerator { pub fn SupportedCryptogramAlgorithms(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCryptogramAlgorithms)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1436,7 +1436,7 @@ impl SmartCardCryptogramGenerator { pub fn SupportedCryptogramMaterialPackageFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCryptogramMaterialPackageFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1444,7 +1444,7 @@ impl SmartCardCryptogramGenerator { pub fn SupportedCryptogramMaterialPackageConfirmationResponseFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCryptogramMaterialPackageConfirmationResponseFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1452,21 +1452,21 @@ impl SmartCardCryptogramGenerator { pub fn SupportedSmartCardCryptogramStorageKeyCapabilities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedSmartCardCryptogramStorageKeyCapabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteCryptogramMaterialStorageKeyAsync(&self, storagekeyname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteCryptogramMaterialStorageKeyAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(storagekeyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateCryptogramMaterialStorageKeyAsync(&self, promptingbehavior: SmartCardUnlockPromptingBehavior, storagekeyname: &windows_core::HSTRING, algorithm: SmartCardCryptogramStorageKeyAlgorithm, capabilities: SmartCardCryptogramStorageKeyCapabilities) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCryptogramMaterialStorageKeyAsync)(windows_core::Interface::as_raw(this), promptingbehavior, core::mem::transmute_copy(storagekeyname), algorithm, capabilities, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1474,7 +1474,7 @@ impl SmartCardCryptogramGenerator { pub fn RequestCryptogramMaterialStorageKeyInfoAsync(&self, promptingbehavior: SmartCardUnlockPromptingBehavior, storagekeyname: &windows_core::HSTRING, format: super::super::Security::Cryptography::Core::CryptographicPublicKeyBlobType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCryptogramMaterialStorageKeyInfoAsync)(windows_core::Interface::as_raw(this), promptingbehavior, core::mem::transmute_copy(storagekeyname), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1485,7 +1485,7 @@ impl SmartCardCryptogramGenerator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportCryptogramMaterialPackageAsync)(windows_core::Interface::as_raw(this), format, core::mem::transmute_copy(storagekeyname), core::mem::transmute_copy(materialpackagename), cryptogrammaterialpackage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1496,21 +1496,21 @@ impl SmartCardCryptogramGenerator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryProvePossessionOfCryptogramMaterialPackageAsync)(windows_core::Interface::as_raw(this), promptingbehavior, responseformat, core::mem::transmute_copy(materialpackagename), core::mem::transmute_copy(materialname), challenge.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestUnlockCryptogramMaterialForUseAsync(&self, promptingbehavior: SmartCardUnlockPromptingBehavior) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestUnlockCryptogramMaterialForUseAsync)(windows_core::Interface::as_raw(this), promptingbehavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteCryptogramMaterialPackageAsync(&self, materialpackagename: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteCryptogramMaterialPackageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(materialpackagename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1522,47 +1522,47 @@ impl SmartCardCryptogramGenerator { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateRequestApduAsync)(windows_core::Interface::as_raw(this), promptingbehavior, apdutovalidate.param().abi(), cryptogramplacementsteps.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAllCryptogramStorageKeyCharacteristicsAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllCryptogramStorageKeyCharacteristicsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAllCryptogramMaterialPackageCharacteristicsAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllCryptogramMaterialPackageCharacteristicsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync(&self, storagekeyname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllCryptogramMaterialPackageCharacteristicsWithStorageKeyAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(storagekeyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAllCryptogramMaterialCharacteristicsAsync(&self, promptingbehavior: SmartCardUnlockPromptingBehavior, materialpackagename: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllCryptogramMaterialCharacteristicsAsync)(windows_core::Interface::as_raw(this), promptingbehavior, core::mem::transmute_copy(materialpackagename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSmartCardCryptogramGeneratorAsync() -> windows_core::Result> { Self::ISmartCardCryptogramGeneratorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSmartCardCryptogramGeneratorAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::ISmartCardCryptogramGeneratorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1604,7 +1604,7 @@ impl SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { pub fn OperationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1612,7 +1612,7 @@ impl SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { pub fn Characteristics(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Characteristics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1644,7 +1644,7 @@ impl SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { pub fn OperationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1652,7 +1652,7 @@ impl SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { pub fn Characteristics(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Characteristics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1684,7 +1684,7 @@ impl SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { pub fn OperationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1692,7 +1692,7 @@ impl SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { pub fn Characteristics(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Characteristics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1724,7 +1724,7 @@ impl SmartCardCryptogramMaterialCharacteristics { pub fn MaterialName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1732,7 +1732,7 @@ impl SmartCardCryptogramMaterialCharacteristics { pub fn AllowedAlgorithms(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedAlgorithms)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1740,7 +1740,7 @@ impl SmartCardCryptogramMaterialCharacteristics { pub fn AllowedProofOfPossessionAlgorithms(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedProofOfPossessionAlgorithms)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1748,35 +1748,35 @@ impl SmartCardCryptogramMaterialCharacteristics { pub fn AllowedValidations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedValidations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaterialType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtectionMethod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionMethod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtectionVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaterialLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1808,28 +1808,28 @@ impl SmartCardCryptogramMaterialPackageCharacteristics { pub fn PackageName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StorageKeyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorageKeyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DateImported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateImported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PackageFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1854,7 +1854,7 @@ impl SmartCardCryptogramMaterialPossessionProof { pub fn OperationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1862,7 +1862,7 @@ impl SmartCardCryptogramMaterialPossessionProof { pub fn Proof(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Proof)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1894,7 +1894,7 @@ impl SmartCardCryptogramPlacementStep { pub fn Algorithm(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Algorithm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1906,7 +1906,7 @@ impl SmartCardCryptogramPlacementStep { pub fn SourceData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1921,7 +1921,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramMaterialPackageName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CryptogramMaterialPackageName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1932,7 +1932,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramMaterialName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CryptogramMaterialName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1943,7 +1943,7 @@ impl SmartCardCryptogramPlacementStep { pub fn TemplateOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TemplateOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1954,7 +1954,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CryptogramOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1965,7 +1965,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CryptogramLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1976,7 +1976,7 @@ impl SmartCardCryptogramPlacementStep { pub fn CryptogramPlacementOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CryptogramPlacementOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1987,7 +1987,7 @@ impl SmartCardCryptogramPlacementStep { pub fn ChainedOutputStep(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChainedOutputStep)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2026,28 +2026,28 @@ impl SmartCardCryptogramStorageKeyCharacteristics { pub fn StorageKeyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorageKeyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DateCreated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Algorithm(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Algorithm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2072,7 +2072,7 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn OperationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2080,7 +2080,7 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn PublicKeyBlobType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicKeyBlobType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2088,14 +2088,14 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn PublicKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicKey)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AttestationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttestationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2103,7 +2103,7 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn Attestation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attestation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2111,21 +2111,21 @@ impl SmartCardCryptogramStorageKeyInfo { pub fn AttestationCertificateChain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttestationCertificateChain)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OperationalRequirements(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperationalRequirements)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2150,7 +2150,7 @@ impl SmartCardEmulator { pub fn EnablementPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnablementPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2160,7 +2160,7 @@ impl SmartCardEmulator { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApduReceived)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2174,7 +2174,7 @@ impl SmartCardEmulator { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionDeactivated)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2189,20 +2189,20 @@ impl SmartCardEmulator { pub fn IsHostCardEmulationSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHostCardEmulationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDefaultAsync() -> windows_core::Result> { Self::ISmartCardEmulatorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetAppletIdGroupRegistrationsAsync() -> windows_core::Result>> { Self::ISmartCardEmulatorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppletIdGroupRegistrationsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2211,7 +2211,7 @@ impl SmartCardEmulator { P0: windows_core::Param, { Self::ISmartCardEmulatorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterAppletIdGroupAsync)(windows_core::Interface::as_raw(this), appletidgroup.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2220,19 +2220,19 @@ impl SmartCardEmulator { P0: windows_core::Param, { Self::ISmartCardEmulatorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnregisterAppletIdGroupAsync)(windows_core::Interface::as_raw(this), registration.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MaxAppletIdGroupRegistrations() -> windows_core::Result { Self::ISmartCardEmulatorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAppletIdGroupRegistrations)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsSupported() -> windows_core::Result { Self::ISmartCardEmulatorStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -2273,14 +2273,14 @@ impl SmartCardEmulatorApduReceivedEventArgs { pub fn CommandApdu(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandApdu)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2291,21 +2291,21 @@ impl SmartCardEmulatorApduReceivedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRespondAsync)(windows_core::Interface::as_raw(this), responseapdu.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AutomaticResponseStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomaticResponseStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn State(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2317,7 +2317,7 @@ impl SmartCardEmulatorApduReceivedEventArgs { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRespondWithStateAsync)(windows_core::Interface::as_raw(this), responseapdu.param().abi(), nextstate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2329,7 +2329,7 @@ impl SmartCardEmulatorApduReceivedEventArgs { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRespondWithCryptogramsAsync)(windows_core::Interface::as_raw(this), responsetemplate.param().abi(), cryptogramplacementsteps.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2342,7 +2342,7 @@ impl SmartCardEmulatorApduReceivedEventArgs { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRespondWithCryptogramsAndStateAsync)(windows_core::Interface::as_raw(this), responsetemplate.param().abi(), cryptogramplacementsteps.param().abi(), nextstate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2367,14 +2367,14 @@ impl SmartCardEmulatorConnectionDeactivatedEventArgs { pub fn ConnectionProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2399,14 +2399,14 @@ impl SmartCardEmulatorConnectionProperties { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2438,7 +2438,7 @@ impl SmartCardPinPolicy { pub fn MinLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2449,7 +2449,7 @@ impl SmartCardPinPolicy { pub fn MaxLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2460,7 +2460,7 @@ impl SmartCardPinPolicy { pub fn UppercaseLetters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UppercaseLetters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2471,7 +2471,7 @@ impl SmartCardPinPolicy { pub fn LowercaseLetters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LowercaseLetters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2482,7 +2482,7 @@ impl SmartCardPinPolicy { pub fn Digits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Digits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2493,7 +2493,7 @@ impl SmartCardPinPolicy { pub fn SpecialCharacters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpecialCharacters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2545,21 +2545,21 @@ impl SmartCardPinResetRequest { pub fn Challenge(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Challenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2592,35 +2592,35 @@ impl SmartCardProvisioning { pub fn SmartCard(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartCard)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIdAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIdAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNameAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetChallengeContextAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChallengeContextAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestPinChangeAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPinChangeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2630,14 +2630,14 @@ impl SmartCardProvisioning { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPinResetAsync)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAuthorityKeyContainerNameAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAuthorityKeyContainerNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2646,7 +2646,7 @@ impl SmartCardProvisioning { P0: windows_core::Param, { Self::ISmartCardProvisioningStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromSmartCardAsync)(windows_core::Interface::as_raw(this), card.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2657,7 +2657,7 @@ impl SmartCardProvisioning { P1: windows_core::Param, { Self::ISmartCardProvisioningStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestVirtualSmartCardCreationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), administrativekey.param().abi(), pinpolicy.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2668,7 +2668,7 @@ impl SmartCardProvisioning { P1: windows_core::Param, { Self::ISmartCardProvisioningStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestVirtualSmartCardCreationAsyncWithCardId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), administrativekey.param().abi(), pinpolicy.param().abi(), cardid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2677,7 +2677,7 @@ impl SmartCardProvisioning { P0: windows_core::Param, { Self::ISmartCardProvisioningStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestVirtualSmartCardDeletionAsync)(windows_core::Interface::as_raw(this), card.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2688,7 +2688,7 @@ impl SmartCardProvisioning { P1: windows_core::Param, { Self::ISmartCardProvisioningStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAttestedVirtualSmartCardCreationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), administrativekey.param().abi(), pinpolicy.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2699,7 +2699,7 @@ impl SmartCardProvisioning { P1: windows_core::Param, { Self::ISmartCardProvisioningStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAttestedVirtualSmartCardCreationAsyncWithCardId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), administrativekey.param().abi(), pinpolicy.param().abi(), cardid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2734,28 +2734,28 @@ impl SmartCardReader { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetStatusAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatusAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2763,7 +2763,7 @@ impl SmartCardReader { pub fn FindAllCardsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllCardsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2773,7 +2773,7 @@ impl SmartCardReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardAdded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2787,7 +2787,7 @@ impl SmartCardReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CardRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2797,19 +2797,19 @@ impl SmartCardReader { } pub fn GetDeviceSelector() -> windows_core::Result { Self::ISmartCardReaderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorWithKind(kind: SmartCardReaderKind) -> windows_core::Result { Self::ISmartCardReaderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorWithKind)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ISmartCardReaderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2839,7 +2839,7 @@ impl SmartCardTriggerDetails { pub fn TriggerType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2847,7 +2847,7 @@ impl SmartCardTriggerDetails { pub fn SourceAppletId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceAppletId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2855,35 +2855,35 @@ impl SmartCardTriggerDetails { pub fn TriggerData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Emulator(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emulator)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryLaunchCurrentAppAsync(&self, arguments: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryLaunchCurrentAppAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(arguments), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryLaunchCurrentAppWithBehaviorAsync(&self, arguments: &windows_core::HSTRING, behavior: SmartCardLaunchBehavior) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryLaunchCurrentAppWithBehaviorAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(arguments), behavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SmartCard(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartCard)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs index bf809db76e..406f9516ec 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs @@ -101,7 +101,7 @@ impl ISmsDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AccountPhoneNumber, Impl: ISmsDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AccountPhoneNumber, Impl: ISmsDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISmsDevice_Impl::AccountPhoneNumber(this) { @@ -261,7 +261,7 @@ impl ISmsMessageBase_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceId, Impl: ISmsMessageBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceId, Impl: ISmsMessageBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISmsMessageBase_Impl::DeviceId(this) { @@ -295,7 +295,7 @@ impl ISmsMessageBase_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SimIccId, Impl: ISmsMessageBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SimIccId, Impl: ISmsMessageBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISmsMessageBase_Impl::SimIccId(this) { @@ -387,7 +387,7 @@ impl ISmsTextMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn To, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn To, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISmsTextMessage_Impl::To(this) { @@ -399,12 +399,12 @@ impl ISmsTextMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTo, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTo, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISmsTextMessage_Impl::SetTo(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn From, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn From, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISmsTextMessage_Impl::From(this) { @@ -416,12 +416,12 @@ impl ISmsTextMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFrom, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFrom, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISmsTextMessage_Impl::SetFrom(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Body, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Body, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISmsTextMessage_Impl::Body(this) { @@ -433,7 +433,7 @@ impl ISmsTextMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBody, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBody, Impl: ISmsTextMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISmsTextMessage_Impl::SetBody(this, core::mem::transmute(&value)).into() diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index 1618b3834a..29cdce3e74 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -6,13 +6,13 @@ impl windows_core::RuntimeType for ISmsAppMessage { pub struct ISmsAppMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CallbackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCallbackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallbackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCallbackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsDeliveryNotificationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsDeliveryNotificationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub RetryAttemptCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -40,7 +40,7 @@ windows_core::imp::define_interface!(ISmsBinaryMessage, ISmsBinaryMessage_Vtbl, impl std::ops::Deref for ISmsBinaryMessage { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -53,7 +53,7 @@ impl ISmsBinaryMessage { pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -67,7 +67,7 @@ impl ISmsBinaryMessage { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetData)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] @@ -78,14 +78,14 @@ impl ISmsBinaryMessage { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -123,8 +123,8 @@ impl windows_core::RuntimeType for ISmsBroadcastMessage { pub struct ISmsBroadcastMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Channel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GeographicalScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsGeographicalScope) -> windows_core::HRESULT, pub MessageCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -139,7 +139,7 @@ windows_core::imp::define_interface!(ISmsDevice, ISmsDevice_Vtbl, 0x091791ed_872 impl std::ops::Deref for ISmsDevice { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -153,7 +153,7 @@ impl ISmsDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -164,7 +164,7 @@ impl ISmsDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalculateLength)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).map(|| result__) } } @@ -172,7 +172,7 @@ impl ISmsDevice { pub fn AccountPhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountPhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -180,7 +180,7 @@ impl ISmsDevice { pub fn CellularClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -188,7 +188,7 @@ impl ISmsDevice { pub fn MessageStore(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageStore)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -196,7 +196,7 @@ impl ISmsDevice { pub fn DeviceStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -207,7 +207,7 @@ impl ISmsDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmsMessageReceived)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -223,7 +223,7 @@ impl ISmsDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmsDeviceStatusChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -250,7 +250,7 @@ pub struct ISmsDevice_Vtbl { #[cfg(not(feature = "deprecated"))] CalculateLength: usize, #[cfg(feature = "deprecated")] - pub AccountPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccountPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] AccountPhoneNumber: usize, #[cfg(feature = "deprecated")] @@ -289,11 +289,11 @@ impl windows_core::RuntimeType for ISmsDevice2 { #[repr(C)] pub struct ISmsDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SmscAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSmscAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ParentDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AccountPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SmscAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSmscAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParentDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccountPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CellularClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CellularClass) -> windows_core::HRESULT, pub DeviceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsDeviceStatus) -> windows_core::HRESULT, pub CalculateLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut SmsEncodedLength) -> windows_core::HRESULT, @@ -308,10 +308,10 @@ impl windows_core::RuntimeType for ISmsDevice2Statics { #[repr(C)] pub struct ISmsDevice2Statics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromParentId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromParentId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISmsDeviceMessageStore, ISmsDeviceMessageStore_Vtbl, 0x9889f253_f188_4427_8d54_ce0c2423c5c1); @@ -355,11 +355,11 @@ impl windows_core::RuntimeType for ISmsDeviceStatics { pub struct ISmsDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] GetDeviceSelector: usize, #[cfg(feature = "deprecated")] - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] FromIdAsync: usize, #[cfg(feature = "deprecated")] @@ -378,7 +378,7 @@ impl windows_core::RuntimeType for ISmsDeviceStatics2 { pub struct ISmsDeviceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub FromNetworkAccountIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromNetworkAccountIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] FromNetworkAccountIdAsync: usize, } @@ -472,7 +472,7 @@ windows_core::imp::define_interface!(ISmsMessage, ISmsMessage_Vtbl, 0xed3c5e28_6 impl std::ops::Deref for ISmsMessage { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISmsMessage, windows_core::IUnknown, windows_core::IInspectable); @@ -480,14 +480,14 @@ impl ISmsMessage { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -505,7 +505,7 @@ windows_core::imp::define_interface!(ISmsMessageBase, ISmsMessageBase_Vtbl, 0x2c impl std::ops::Deref for ISmsMessageBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISmsMessageBase, windows_core::IUnknown, windows_core::IInspectable); @@ -513,35 +513,35 @@ impl ISmsMessageBase { pub fn MessageType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SimIccId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimIccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -553,10 +553,10 @@ impl windows_core::RuntimeType for ISmsMessageBase { pub struct ISmsMessageBase_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MessageType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsMessageType) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CellularClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CellularClass) -> windows_core::HRESULT, pub MessageClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsMessageClass) -> windows_core::HRESULT, - pub SimIccId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SimIccId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISmsMessageReceivedEventArgs, ISmsMessageReceivedEventArgs_Vtbl, 0x08e80a98_b8e5_41c1_a3d8_d3abfae22675); @@ -601,7 +601,7 @@ impl windows_core::RuntimeType for ISmsMessageRegistration { #[repr(C)] pub struct ISmsMessageRegistration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub MessageReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMessageReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -617,7 +617,7 @@ pub struct ISmsMessageRegistrationStatics_Vtbl { pub AllRegistrations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AllRegistrations: usize, - pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISmsReceivedEventDetails, ISmsReceivedEventDetails_Vtbl, 0x5bb50f15_e46d_4c82_847d_5a0304c1d53d); @@ -630,7 +630,7 @@ impl windows_core::RuntimeType for ISmsReceivedEventDetails { pub struct ISmsReceivedEventDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DeviceId: usize, #[cfg(feature = "deprecated")] @@ -682,9 +682,9 @@ impl windows_core::RuntimeType for ISmsStatusMessage { #[repr(C)] pub struct ISmsStatusMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MessageReferenceNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ServiceCenterTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, @@ -696,7 +696,7 @@ windows_core::imp::define_interface!(ISmsTextMessage, ISmsTextMessage_Vtbl, 0xd6 impl std::ops::Deref for ISmsTextMessage { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -709,7 +709,7 @@ impl ISmsTextMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -717,7 +717,7 @@ impl ISmsTextMessage { pub fn PartReferenceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartReferenceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -725,7 +725,7 @@ impl ISmsTextMessage { pub fn PartNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -733,7 +733,7 @@ impl ISmsTextMessage { pub fn PartCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -741,7 +741,7 @@ impl ISmsTextMessage { pub fn To(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -754,7 +754,7 @@ impl ISmsTextMessage { pub fn From(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -767,7 +767,7 @@ impl ISmsTextMessage { pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -780,7 +780,7 @@ impl ISmsTextMessage { pub fn Encoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Encoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -793,21 +793,21 @@ impl ISmsTextMessage { pub fn ToBinaryMessages(&self, format: SmsDataFormat) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToBinaryMessages)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -837,27 +837,27 @@ pub struct ISmsTextMessage_Vtbl { #[cfg(not(feature = "deprecated"))] PartCount: usize, #[cfg(feature = "deprecated")] - pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] To: usize, #[cfg(feature = "deprecated")] - pub SetTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetTo: usize, #[cfg(feature = "deprecated")] - pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] From: usize, #[cfg(feature = "deprecated")] - pub SetFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetFrom: usize, #[cfg(feature = "deprecated")] - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Body: usize, #[cfg(feature = "deprecated")] - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetBody: usize, #[cfg(feature = "deprecated")] @@ -881,15 +881,15 @@ impl windows_core::RuntimeType for ISmsTextMessage2 { pub struct ISmsTextMessage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Encoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsEncoding) -> windows_core::HRESULT, pub SetEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, SmsEncoding) -> windows_core::HRESULT, - pub CallbackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCallbackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallbackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCallbackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsDeliveryNotificationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsDeliveryNotificationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub RetryAttemptCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -924,8 +924,8 @@ impl windows_core::RuntimeType for ISmsVoicemailMessage { pub struct ISmsVoicemailMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MessageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISmsWapMessage, ISmsWapMessage_Vtbl, 0xcd937743_7a55_4d3b_9021_f22e022d09c5); @@ -936,10 +936,10 @@ impl windows_core::RuntimeType for ISmsWapMessage { pub struct ISmsWapMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub BinaryBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -969,7 +969,7 @@ impl DeleteSmsMessageOperation { pub fn Completed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -980,21 +980,21 @@ impl DeleteSmsMessageOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1071,7 +1071,7 @@ impl DeleteSmsMessagesOperation { pub fn Completed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1082,21 +1082,21 @@ impl DeleteSmsMessagesOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1166,21 +1166,21 @@ impl GetSmsDeviceOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1202,14 +1202,14 @@ impl GetSmsDeviceOperation { pub fn Completed(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResults(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1271,21 +1271,21 @@ impl GetSmsMessageOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1307,14 +1307,14 @@ impl GetSmsMessageOperation { pub fn Completed(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResults(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1376,21 +1376,21 @@ impl GetSmsMessagesOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1414,7 +1414,7 @@ impl GetSmsMessagesOperation { pub fn Progress(&self) -> windows_core::Result, i32>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1430,7 +1430,7 @@ impl GetSmsMessagesOperation { pub fn Completed(&self) -> windows_core::Result, i32>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1438,7 +1438,7 @@ impl GetSmsMessagesOperation { pub fn GetResults(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1507,7 +1507,7 @@ impl SendSmsMessageOperation { pub fn Completed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1518,21 +1518,21 @@ impl SendSmsMessageOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1605,14 +1605,14 @@ impl SmsAppMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn To(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1623,14 +1623,14 @@ impl SmsAppMessage { pub fn From(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1641,7 +1641,7 @@ impl SmsAppMessage { pub fn CallbackNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallbackNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1652,7 +1652,7 @@ impl SmsAppMessage { pub fn IsDeliveryNotificationEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDeliveryNotificationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1663,7 +1663,7 @@ impl SmsAppMessage { pub fn RetryAttemptCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetryAttemptCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1674,7 +1674,7 @@ impl SmsAppMessage { pub fn Encoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Encoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1685,7 +1685,7 @@ impl SmsAppMessage { pub fn PortNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PortNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1696,7 +1696,7 @@ impl SmsAppMessage { pub fn TeleserviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TeleserviceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1707,7 +1707,7 @@ impl SmsAppMessage { pub fn ProtocolId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1719,7 +1719,7 @@ impl SmsAppMessage { pub fn BinaryBody(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BinaryBody)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1734,35 +1734,35 @@ impl SmsAppMessage { pub fn MessageType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SimIccId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimIccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1800,7 +1800,7 @@ impl SmsBinaryMessage { pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1814,7 +1814,7 @@ impl SmsBinaryMessage { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetData)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] @@ -1825,14 +1825,14 @@ impl SmsBinaryMessage { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1863,105 +1863,105 @@ impl SmsBroadcastMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn To(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Channel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Channel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GeographicalScope(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeographicalScope)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UpdateNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BroadcastType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEmergencyAlert(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEmergencyAlert)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUserPopupRequested(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUserPopupRequested)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SimIccId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimIccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1995,7 +1995,7 @@ impl SmsDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendMessageAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2006,7 +2006,7 @@ impl SmsDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalculateLength)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).map(|| result__) } } @@ -2014,7 +2014,7 @@ impl SmsDevice { pub fn AccountPhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountPhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2022,7 +2022,7 @@ impl SmsDevice { pub fn CellularClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2030,7 +2030,7 @@ impl SmsDevice { pub fn MessageStore(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageStore)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2038,7 +2038,7 @@ impl SmsDevice { pub fn DeviceStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2049,7 +2049,7 @@ impl SmsDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmsMessageReceived)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -2065,7 +2065,7 @@ impl SmsDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmsDeviceStatusChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -2077,28 +2077,28 @@ impl SmsDevice { #[cfg(feature = "deprecated")] pub fn GetDeviceSelector() -> windows_core::Result { Self::ISmsDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::ISmsDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn GetDefaultAsync() -> windows_core::Result> { Self::ISmsDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn FromNetworkAccountIdAsync(networkaccountid: &windows_core::HSTRING) -> windows_core::Result> { Self::ISmsDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromNetworkAccountIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2136,7 +2136,7 @@ impl SmsDevice2 { pub fn SmscAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmscAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2147,35 +2147,35 @@ impl SmsDevice2 { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccountPhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountPhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2185,7 +2185,7 @@ impl SmsDevice2 { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CalculateLength)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).map(|| result__) } } @@ -2195,7 +2195,7 @@ impl SmsDevice2 { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendMessageAndGetResultAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2205,7 +2205,7 @@ impl SmsDevice2 { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceStatusChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -2215,25 +2215,25 @@ impl SmsDevice2 { } pub fn GetDeviceSelector() -> windows_core::Result { Self::ISmsDevice2Statics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::ISmsDevice2Statics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefault() -> windows_core::Result { Self::ISmsDevice2Statics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromParentId(parentdeviceid: &windows_core::HSTRING) -> windows_core::Result { Self::ISmsDevice2Statics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromParentId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(parentdeviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2265,7 +2265,7 @@ impl SmsDeviceMessageStore { pub fn DeleteMessageAsync(&self, messageid: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteMessageAsync)(windows_core::Interface::as_raw(this), messageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2273,7 +2273,7 @@ impl SmsDeviceMessageStore { pub fn DeleteMessagesAsync(&self, messagefilter: SmsMessageFilter) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteMessagesAsync)(windows_core::Interface::as_raw(this), messagefilter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2281,7 +2281,7 @@ impl SmsDeviceMessageStore { pub fn GetMessageAsync(&self, messageid: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessageAsync)(windows_core::Interface::as_raw(this), messageid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2289,7 +2289,7 @@ impl SmsDeviceMessageStore { pub fn GetMessagesAsync(&self, messagefilter: SmsMessageFilter) -> windows_core::Result, i32>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessagesAsync)(windows_core::Interface::as_raw(this), messagefilter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2297,7 +2297,7 @@ impl SmsDeviceMessageStore { pub fn MaxMessages(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxMessages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2323,7 +2323,7 @@ impl SmsFilterRule { pub fn MessageType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2331,7 +2331,7 @@ impl SmsFilterRule { pub fn ImsiPrefixes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImsiPrefixes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2339,7 +2339,7 @@ impl SmsFilterRule { pub fn DeviceIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2347,7 +2347,7 @@ impl SmsFilterRule { pub fn SenderNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SenderNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2355,7 +2355,7 @@ impl SmsFilterRule { pub fn TextMessagePrefixes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextMessagePrefixes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2363,14 +2363,14 @@ impl SmsFilterRule { pub fn PortNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PortNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2382,7 +2382,7 @@ impl SmsFilterRule { pub fn ProtocolIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2390,7 +2390,7 @@ impl SmsFilterRule { pub fn TeleserviceIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TeleserviceIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2398,7 +2398,7 @@ impl SmsFilterRule { pub fn WapApplicationIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WapApplicationIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2406,7 +2406,7 @@ impl SmsFilterRule { pub fn WapContentTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WapContentTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2414,7 +2414,7 @@ impl SmsFilterRule { pub fn BroadcastTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2422,13 +2422,13 @@ impl SmsFilterRule { pub fn BroadcastChannels(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastChannels)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFilterRule(messagetype: SmsMessageType) -> windows_core::Result { Self::ISmsFilterRuleFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFilterRule)(windows_core::Interface::as_raw(this), messagetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2458,7 +2458,7 @@ impl SmsFilterRules { pub fn ActionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2466,13 +2466,13 @@ impl SmsFilterRules { pub fn Rules(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rules)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFilterRules(actiontype: SmsFilterActionType) -> windows_core::Result { Self::ISmsFilterRulesFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFilterRules)(windows_core::Interface::as_raw(this), actiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2506,7 +2506,7 @@ impl SmsMessageReceivedEventArgs { pub fn TextMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2514,7 +2514,7 @@ impl SmsMessageReceivedEventArgs { pub fn BinaryMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BinaryMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2540,49 +2540,49 @@ impl SmsMessageReceivedTriggerDetails { pub fn MessageType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TextMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WapMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WapMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BroadcastMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VoicemailMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VoicemailMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StatusMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2615,7 +2615,7 @@ impl SmsMessageRegistration { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2629,7 +2629,7 @@ impl SmsMessageRegistration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReceived)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -2640,7 +2640,7 @@ impl SmsMessageRegistration { #[cfg(feature = "Foundation_Collections")] pub fn AllRegistrations() -> windows_core::Result> { Self::ISmsMessageRegistrationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllRegistrations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2649,7 +2649,7 @@ impl SmsMessageRegistration { P0: windows_core::Param, { Self::ISmsMessageRegistrationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Register)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), filterrules.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2681,7 +2681,7 @@ impl SmsReceivedEventDetails { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2689,7 +2689,7 @@ impl SmsReceivedEventDetails { pub fn MessageIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2697,7 +2697,7 @@ impl SmsReceivedEventDetails { pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2705,7 +2705,7 @@ impl SmsReceivedEventDetails { pub fn BinaryMessage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BinaryMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2735,7 +2735,7 @@ impl SmsSendMessageResult { pub fn IsSuccessful(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSuccessful)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2743,42 +2743,42 @@ impl SmsSendMessageResult { pub fn MessageReferenceNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReferenceNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ModemErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModemErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsErrorTransient(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsErrorTransient)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NetworkCauseCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkCauseCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TransportFailureCause(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportFailureCause)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2804,84 +2804,84 @@ impl SmsStatusMessage { pub fn MessageType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SimIccId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimIccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn To(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn From(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageReferenceNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReferenceNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ServiceCenterTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceCenterTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DischargeTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DischargeTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2918,14 +2918,14 @@ impl SmsTextMessage { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2933,7 +2933,7 @@ impl SmsTextMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2941,7 +2941,7 @@ impl SmsTextMessage { pub fn PartReferenceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartReferenceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2949,7 +2949,7 @@ impl SmsTextMessage { pub fn PartNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2957,7 +2957,7 @@ impl SmsTextMessage { pub fn PartCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2965,7 +2965,7 @@ impl SmsTextMessage { pub fn To(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2978,7 +2978,7 @@ impl SmsTextMessage { pub fn From(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2991,7 +2991,7 @@ impl SmsTextMessage { pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3004,7 +3004,7 @@ impl SmsTextMessage { pub fn Encoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Encoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3017,7 +3017,7 @@ impl SmsTextMessage { pub fn ToBinaryMessages(&self, format: SmsDataFormat) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToBinaryMessages)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3027,14 +3027,14 @@ impl SmsTextMessage { P0: windows_core::Param, { Self::ISmsTextMessageStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromBinaryMessage)(windows_core::Interface::as_raw(this), binarymessage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn FromBinaryData(format: SmsDataFormat, value: &[u8]) -> windows_core::Result { Self::ISmsTextMessageStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromBinaryData)(windows_core::Interface::as_raw(this), format, value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3078,49 +3078,49 @@ impl SmsTextMessage2 { pub fn MessageType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SimIccId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimIccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn To(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3131,14 +3131,14 @@ impl SmsTextMessage2 { pub fn From(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3149,7 +3149,7 @@ impl SmsTextMessage2 { pub fn Encoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Encoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3160,7 +3160,7 @@ impl SmsTextMessage2 { pub fn CallbackNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallbackNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3171,7 +3171,7 @@ impl SmsTextMessage2 { pub fn IsDeliveryNotificationEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDeliveryNotificationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3182,7 +3182,7 @@ impl SmsTextMessage2 { pub fn RetryAttemptCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetryAttemptCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3193,14 +3193,14 @@ impl SmsTextMessage2 { pub fn TeleserviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TeleserviceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtocolId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3226,63 +3226,63 @@ impl SmsVoicemailMessage { pub fn MessageType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SimIccId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimIccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn To(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Body(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MessageCount(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3308,70 +3308,70 @@ impl SmsWapMessage { pub fn MessageType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellularClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageClass(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SimIccId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimIccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn To(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).To)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn From(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApplicationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3379,7 +3379,7 @@ impl SmsWapMessage { pub fn BinaryBody(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BinaryBody)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3387,7 +3387,7 @@ impl SmsWapMessage { pub fn Headers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs index bcc08ccb4c..68b0804b57 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs @@ -40,7 +40,7 @@ impl windows_core::RuntimeName for ISpiDeviceProvider { } impl ISpiDeviceProvider_Vtbl { pub const fn new, Impl: ISpiDeviceProvider_Impl, const OFFSET: isize>() -> ISpiDeviceProvider_Vtbl { - unsafe extern "system" fn DeviceId, Impl: ISpiDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceId, Impl: ISpiDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpiDeviceProvider_Impl::DeviceId(this) { 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 a068403fe6..1fc3e7fe5b 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs @@ -29,7 +29,7 @@ windows_core::imp::define_interface!(ISpiControllerProvider, ISpiControllerProvi impl std::ops::Deref for ISpiControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpiControllerProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -40,7 +40,7 @@ impl ISpiControllerProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceProvider)(windows_core::Interface::as_raw(this), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -57,7 +57,7 @@ windows_core::imp::define_interface!(ISpiDeviceProvider, ISpiDeviceProvider_Vtbl impl std::ops::Deref for ISpiDeviceProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpiDeviceProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -66,14 +66,14 @@ impl ISpiDeviceProvider { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -104,7 +104,7 @@ impl windows_core::RuntimeType for ISpiDeviceProvider { #[repr(C)] pub struct ISpiDeviceProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ConnectionSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, @@ -115,7 +115,7 @@ windows_core::imp::define_interface!(ISpiProvider, ISpiProvider_Vtbl, 0x96b461e2 impl std::ops::Deref for ISpiProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpiProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -124,7 +124,7 @@ impl ISpiProvider { pub fn GetControllersAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllersAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -148,7 +148,7 @@ impl ProviderSpiConnectionSettings { pub fn ChipSelectLine(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChipSelectLine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -159,7 +159,7 @@ impl ProviderSpiConnectionSettings { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -170,7 +170,7 @@ impl ProviderSpiConnectionSettings { pub fn DataBitLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataBitLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -181,7 +181,7 @@ impl ProviderSpiConnectionSettings { pub fn ClockFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClockFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -192,7 +192,7 @@ impl ProviderSpiConnectionSettings { pub fn SharingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -202,7 +202,7 @@ impl ProviderSpiConnectionSettings { } pub fn Create(chipselectline: i32) -> windows_core::Result { Self::IProviderSpiConnectionSettingsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), chipselectline, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs index 0c3a8a302c..950eea5356 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs @@ -9,7 +9,7 @@ impl windows_core::RuntimeName for ISpiDeviceStatics { } impl ISpiDeviceStatics_Vtbl { pub const fn new, Impl: ISpiDeviceStatics_Impl, const OFFSET: isize>() -> ISpiDeviceStatics_Vtbl { - unsafe extern "system" fn GetDeviceSelector, Impl: ISpiDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceSelector, Impl: ISpiDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpiDeviceStatics_Impl::GetDeviceSelector(this) { @@ -21,7 +21,7 @@ impl ISpiDeviceStatics_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDeviceSelectorFromFriendlyName, Impl: ISpiDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, friendlyname: std::mem::MaybeUninit, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceSelectorFromFriendlyName, Impl: ISpiDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, friendlyname: core::mem::MaybeUninit, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpiDeviceStatics_Impl::GetDeviceSelectorFromFriendlyName(this, core::mem::transmute(&friendlyname)) { @@ -33,7 +33,7 @@ impl ISpiDeviceStatics_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetBusInfo, Impl: ISpiDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, busid: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetBusInfo, Impl: ISpiDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, busid: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpiDeviceStatics_Impl::GetBusInfo(this, core::mem::transmute(&busid)) { @@ -45,7 +45,7 @@ impl ISpiDeviceStatics_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FromIdAsync, Impl: ISpiDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, busid: std::mem::MaybeUninit, settings: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FromIdAsync, Impl: ISpiDeviceStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, busid: core::mem::MaybeUninit, settings: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpiDeviceStatics_Impl::FromIdAsync(this, core::mem::transmute(&busid), windows_core::from_raw_borrowed(&settings)) { diff --git a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs index 51bb3effb9..9827a93f9e 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs @@ -71,7 +71,7 @@ impl windows_core::RuntimeType for ISpiDevice { #[repr(C)] pub struct ISpiDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ConnectionSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, @@ -82,7 +82,7 @@ windows_core::imp::define_interface!(ISpiDeviceStatics, ISpiDeviceStatics_Vtbl, impl std::ops::Deref for ISpiDeviceStatics { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpiDeviceStatics, windows_core::IUnknown, windows_core::IInspectable); @@ -90,21 +90,21 @@ impl ISpiDeviceStatics { pub fn GetDeviceSelector(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelectorFromFriendlyName(&self, friendlyname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetBusInfo(&self, busid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBusInfo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(busid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -114,7 +114,7 @@ impl ISpiDeviceStatics { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(busid), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -125,10 +125,10 @@ impl windows_core::RuntimeType for ISpiDeviceStatics { #[repr(C)] pub struct ISpiDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorFromFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetBusInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorFromFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBusInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -138,21 +138,21 @@ impl SpiBusInfo { pub fn ChipSelectLineCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChipSelectLineCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinClockFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinClockFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxClockFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxClockFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -160,7 +160,7 @@ impl SpiBusInfo { pub fn SupportedDataBitLengths(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedDataBitLengths)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -185,7 +185,7 @@ impl SpiConnectionSettings { pub fn ChipSelectLine(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChipSelectLine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -196,7 +196,7 @@ impl SpiConnectionSettings { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -207,7 +207,7 @@ impl SpiConnectionSettings { pub fn DataBitLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataBitLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -218,7 +218,7 @@ impl SpiConnectionSettings { pub fn ClockFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClockFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -229,7 +229,7 @@ impl SpiConnectionSettings { pub fn SharingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -239,7 +239,7 @@ impl SpiConnectionSettings { } pub fn Create(chipselectline: i32) -> windows_core::Result { Self::ISpiConnectionSettingsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), chipselectline, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -272,13 +272,13 @@ impl SpiController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDevice)(windows_core::Interface::as_raw(this), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefaultAsync() -> windows_core::Result> { Self::ISpiControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -288,7 +288,7 @@ impl SpiController { P0: windows_core::Param, { Self::ISpiControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetControllersAsync)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -323,14 +323,14 @@ impl SpiDevice { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -352,19 +352,19 @@ impl SpiDevice { } pub fn GetDeviceSelector() -> windows_core::Result { Self::ISpiDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorFromFriendlyName(friendlyname: &windows_core::HSTRING) -> windows_core::Result { Self::ISpiDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromFriendlyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(friendlyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetBusInfo(busid: &windows_core::HSTRING) -> windows_core::Result { Self::ISpiDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBusInfo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(busid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -373,7 +373,7 @@ impl SpiDevice { P0: windows_core::Param, { Self::ISpiDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(busid), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::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 2e1c3e2934..e5bf1d1d9c 100644 --- a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs @@ -207,11 +207,11 @@ impl windows_core::RuntimeType for IUsbDeviceStatics { #[repr(C)] pub struct IUsbDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorGuidOnly: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceSelectorVidPidOnly: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDeviceClassSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorGuidOnly: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelectorVidPidOnly: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceClassSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUsbEndpointDescriptor, IUsbEndpointDescriptor_Vtbl, 0x6b4862d9_8df7_4b40_ac83_578f139f0575); impl windows_core::RuntimeType for IUsbEndpointDescriptor { @@ -427,21 +427,21 @@ impl UsbBulkInEndpointDescriptor { pub fn MaxPacketSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPacketSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndpointNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pipe(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pipe)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -466,21 +466,21 @@ impl UsbBulkInPipe { pub fn MaxTransferSizeBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxTransferSizeBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndpointDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearStallAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearStallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -491,7 +491,7 @@ impl UsbBulkInPipe { pub fn ReadOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -503,7 +503,7 @@ impl UsbBulkInPipe { pub fn InputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -528,21 +528,21 @@ impl UsbBulkOutEndpointDescriptor { pub fn MaxPacketSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPacketSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndpointNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pipe(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pipe)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -567,14 +567,14 @@ impl UsbBulkOutPipe { pub fn EndpointDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearStallAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearStallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -585,7 +585,7 @@ impl UsbBulkOutPipe { pub fn WriteOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -593,7 +593,7 @@ impl UsbBulkOutPipe { pub fn OutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -619,14 +619,14 @@ impl UsbConfiguration { pub fn UsbInterfaces(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsbInterfaces)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConfigurationDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConfigurationDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -634,7 +634,7 @@ impl UsbConfiguration { pub fn Descriptors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Descriptors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -659,28 +659,28 @@ impl UsbConfigurationDescriptor { pub fn ConfigurationValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConfigurationValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxPowerMilliamps(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPowerMilliamps)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelfPowered(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelfPowered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RemoteWakeup(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteWakeup)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -689,7 +689,7 @@ impl UsbConfigurationDescriptor { P0: windows_core::Param, { Self::IUsbConfigurationDescriptorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), descriptor.param().abi(), parsed as *mut _ as _, &mut result__).map(|| result__) }) } @@ -698,7 +698,7 @@ impl UsbConfigurationDescriptor { P0: windows_core::Param, { Self::IUsbConfigurationDescriptorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), descriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -735,7 +735,7 @@ impl UsbControlRequestType { pub fn Direction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -746,7 +746,7 @@ impl UsbControlRequestType { pub fn ControlTransferType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlTransferType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -757,7 +757,7 @@ impl UsbControlRequestType { pub fn Recipient(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recipient)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -768,7 +768,7 @@ impl UsbControlRequestType { pub fn AsByte(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AsByte)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -797,14 +797,14 @@ impl UsbDescriptor { pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DescriptorType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DescriptorType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -847,7 +847,7 @@ impl UsbDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendControlOutTransferAsync)(windows_core::Interface::as_raw(this), setuppacket.param().abi(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -857,7 +857,7 @@ impl UsbDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendControlOutTransferAsyncNoBuffer)(windows_core::Interface::as_raw(this), setuppacket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -869,7 +869,7 @@ impl UsbDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendControlInTransferAsync)(windows_core::Interface::as_raw(this), setuppacket.param().abi(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -880,46 +880,46 @@ impl UsbDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendControlInTransferAsyncNoBuffer)(windows_core::Interface::as_raw(this), setuppacket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultInterface(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultInterface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelector(vendorid: u32, productid: u32, winusbinterfaceclass: windows_core::GUID) -> windows_core::Result { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), vendorid, productid, winusbinterfaceclass, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorGuidOnly(winusbinterfaceclass: windows_core::GUID) -> windows_core::Result { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorGuidOnly)(windows_core::Interface::as_raw(this), winusbinterfaceclass, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelectorVidPidOnly(vendorid: u32, productid: u32) -> windows_core::Result { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorVidPidOnly)(windows_core::Interface::as_raw(this), vendorid, productid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -928,13 +928,13 @@ impl UsbDevice { P0: windows_core::Param, { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceClassSelector)(windows_core::Interface::as_raw(this), usbclass.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IUsbDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -971,7 +971,7 @@ impl UsbDeviceClass { pub fn ClassCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClassCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -982,7 +982,7 @@ impl UsbDeviceClass { pub fn SubclassCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubclassCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -996,7 +996,7 @@ impl UsbDeviceClass { pub fn ProtocolCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1027,55 +1027,55 @@ windows_core::imp::interface_hierarchy!(UsbDeviceClasses, windows_core::IUnknown impl UsbDeviceClasses { pub fn CdcControl() -> windows_core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CdcControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Physical() -> windows_core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Physical)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PersonalHealthcare() -> windows_core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PersonalHealthcare)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ActiveSync() -> windows_core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActiveSync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PalmSync() -> windows_core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PalmSync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DeviceFirmwareUpdate() -> windows_core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceFirmwareUpdate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Irda() -> windows_core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Irda)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Measurement() -> windows_core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Measurement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VendorSpecific() -> windows_core::Result { Self::IUsbDeviceClassesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VendorSpecific)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1105,42 +1105,42 @@ impl UsbDeviceDescriptor { pub fn BcdUsb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BcdUsb)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxPacketSize0(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPacketSize0)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VendorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProductId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BcdDeviceRevision(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BcdDeviceRevision)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfConfigurations(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfConfigurations)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1165,49 +1165,49 @@ impl UsbEndpointDescriptor { pub fn EndpointNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Direction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndpointType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AsBulkInEndpointDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AsBulkInEndpointDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AsInterruptInEndpointDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AsInterruptInEndpointDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AsBulkOutEndpointDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AsBulkOutEndpointDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AsInterruptOutEndpointDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AsInterruptOutEndpointDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1216,7 +1216,7 @@ impl UsbEndpointDescriptor { P0: windows_core::Param, { Self::IUsbEndpointDescriptorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), descriptor.param().abi(), parsed as *mut _ as _, &mut result__).map(|| result__) }) } @@ -1225,7 +1225,7 @@ impl UsbEndpointDescriptor { P0: windows_core::Param, { Self::IUsbEndpointDescriptorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), descriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1256,7 +1256,7 @@ impl UsbInterface { pub fn BulkInPipes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BulkInPipes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1264,7 +1264,7 @@ impl UsbInterface { pub fn InterruptInPipes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterruptInPipes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1272,7 +1272,7 @@ impl UsbInterface { pub fn BulkOutPipes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BulkOutPipes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1280,7 +1280,7 @@ impl UsbInterface { pub fn InterruptOutPipes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterruptOutPipes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1288,14 +1288,14 @@ impl UsbInterface { pub fn InterfaceSettings(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterfaceSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InterfaceNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterfaceNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1303,7 +1303,7 @@ impl UsbInterface { pub fn Descriptors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Descriptors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1328,35 +1328,35 @@ impl UsbInterfaceDescriptor { pub fn ClassCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClassCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SubclassCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubclassCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtocolCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AlternateSettingNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateSettingNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InterfaceNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterfaceNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1365,7 +1365,7 @@ impl UsbInterfaceDescriptor { P0: windows_core::Param, { Self::IUsbInterfaceDescriptorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), descriptor.param().abi(), parsed as *mut _ as _, &mut result__).map(|| result__) }) } @@ -1374,7 +1374,7 @@ impl UsbInterfaceDescriptor { P0: windows_core::Param, { Self::IUsbInterfaceDescriptorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), descriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1405,7 +1405,7 @@ impl UsbInterfaceSetting { pub fn BulkInEndpoints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BulkInEndpoints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1413,7 +1413,7 @@ impl UsbInterfaceSetting { pub fn InterruptInEndpoints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterruptInEndpoints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1421,7 +1421,7 @@ impl UsbInterfaceSetting { pub fn BulkOutEndpoints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BulkOutEndpoints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1429,28 +1429,28 @@ impl UsbInterfaceSetting { pub fn InterruptOutEndpoints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterruptOutEndpoints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Selected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Selected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectSettingAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSettingAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InterfaceDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterfaceDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1458,7 +1458,7 @@ impl UsbInterfaceSetting { pub fn Descriptors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Descriptors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1483,28 +1483,28 @@ impl UsbInterruptInEndpointDescriptor { pub fn MaxPacketSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPacketSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndpointNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Interval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Interval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pipe(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pipe)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1530,7 +1530,7 @@ impl UsbInterruptInEventArgs { pub fn InterruptData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterruptData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1555,14 +1555,14 @@ impl UsbInterruptInPipe { pub fn EndpointDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearStallAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearStallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1572,7 +1572,7 @@ impl UsbInterruptInPipe { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1601,28 +1601,28 @@ impl UsbInterruptOutEndpointDescriptor { pub fn MaxPacketSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPacketSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndpointNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Interval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Interval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pipe(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pipe)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1647,14 +1647,14 @@ impl UsbInterruptOutPipe { pub fn EndpointDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearStallAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearStallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1665,7 +1665,7 @@ impl UsbInterruptOutPipe { pub fn WriteOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1673,7 +1673,7 @@ impl UsbInterruptOutPipe { pub fn OutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1705,7 +1705,7 @@ impl UsbSetupPacket { pub fn RequestType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1719,7 +1719,7 @@ impl UsbSetupPacket { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1730,7 +1730,7 @@ impl UsbSetupPacket { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1741,7 +1741,7 @@ impl UsbSetupPacket { pub fn Index(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Index)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1752,7 +1752,7 @@ impl UsbSetupPacket { pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1766,7 +1766,7 @@ impl UsbSetupPacket { P0: windows_core::Param, { Self::IUsbSetupPacketFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithEightByteBuffer)(windows_core::Interface::as_raw(this), eightbytebuffer.param().abi(), &mut result__).and_then(|| windows_core::Type::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 3e830d473c..d3d39ae7b4 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs @@ -19,7 +19,7 @@ pub struct IWiFiAdapter_Vtbl { #[cfg(not(feature = "Security_Credentials"))] ConnectWithPasswordCredentialAsync: usize, #[cfg(feature = "Security_Credentials")] - pub ConnectWithPasswordCredentialAndSsidAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WiFiReconnectionKind, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectWithPasswordCredentialAndSsidAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WiFiReconnectionKind, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] ConnectWithPasswordCredentialAndSsidAsync: usize, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -33,7 +33,7 @@ pub struct IWiFiAdapter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetWpsConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Security_Credentials")] - pub ConnectWithPasswordCredentialAndSsidAndConnectionMethodAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WiFiReconnectionKind, *mut core::ffi::c_void, std::mem::MaybeUninit, WiFiConnectionMethod, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectWithPasswordCredentialAndSsidAndConnectionMethodAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WiFiReconnectionKind, *mut core::ffi::c_void, core::mem::MaybeUninit, WiFiConnectionMethod, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] ConnectWithPasswordCredentialAndSsidAndConnectionMethodAsync: usize, } @@ -48,8 +48,8 @@ pub struct IWiFiAdapterStatics_Vtbl { pub FindAllAdaptersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAdaptersAsync: usize, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiFiAvailableNetwork, IWiFiAvailableNetwork_Vtbl, 0x26e96246_183e_4704_9826_71b4a2f0f668); @@ -60,8 +60,8 @@ impl windows_core::RuntimeType for IWiFiAvailableNetwork { pub struct IWiFiAvailableNetwork_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uptime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub Ssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Bssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ChannelCenterFrequencyInKilohertz: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NetworkRssiInDecibelMilliwatts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SignalBars: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, @@ -135,8 +135,8 @@ impl windows_core::RuntimeType for IWiFiOnDemandHotspotNetworkProperties { #[repr(C)] pub struct IWiFiOnDemandHotspotNetworkProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Availability: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiOnDemandHotspotAvailability) -> windows_core::HRESULT, pub SetAvailability: unsafe extern "system" fn(*mut core::ffi::c_void, WiFiOnDemandHotspotAvailability) -> windows_core::HRESULT, pub RemainingBatteryPercent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -145,8 +145,8 @@ pub struct IWiFiOnDemandHotspotNetworkProperties_Vtbl { pub SetCellularBars: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsMetered: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsMetered: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Ssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSsid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSsid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Security_Credentials")] pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] @@ -187,21 +187,21 @@ impl WiFiAdapter { pub fn NetworkAdapter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAdapter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ScanAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -211,7 +211,7 @@ impl WiFiAdapter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableNetworksChanged)(windows_core::Interface::as_raw(this), args.param().abi(), &mut result__).map(|| result__) } } @@ -225,7 +225,7 @@ impl WiFiAdapter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), availablenetwork.param().abi(), reconnectionkind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -237,7 +237,7 @@ impl WiFiAdapter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectWithPasswordCredentialAsync)(windows_core::Interface::as_raw(this), availablenetwork.param().abi(), reconnectionkind, passwordcredential.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -249,7 +249,7 @@ impl WiFiAdapter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectWithPasswordCredentialAndSsidAsync)(windows_core::Interface::as_raw(this), availablenetwork.param().abi(), reconnectionkind, passwordcredential.param().abi(), core::mem::transmute_copy(ssid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -263,7 +263,7 @@ impl WiFiAdapter { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWpsConfigurationAsync)(windows_core::Interface::as_raw(this), availablenetwork.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -275,32 +275,32 @@ impl WiFiAdapter { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectWithPasswordCredentialAndSsidAndConnectionMethodAsync)(windows_core::Interface::as_raw(this), availablenetwork.param().abi(), reconnectionkind, passwordcredential.param().abi(), core::mem::transmute_copy(ssid), connectionmethod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn FindAllAdaptersAsync() -> windows_core::Result>> { Self::IWiFiAdapterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAdaptersAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IWiFiAdapterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IWiFiAdapterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestAccessAsync() -> windows_core::Result> { Self::IWiFiAdapterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -330,56 +330,56 @@ impl WiFiAvailableNetwork { pub fn Uptime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uptime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Ssid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ssid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Bssid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bssid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChannelCenterFrequencyInKilohertz(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelCenterFrequencyInKilohertz)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NetworkRssiInDecibelMilliwatts(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkRssiInDecibelMilliwatts)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SignalBars(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalBars)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NetworkKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhyKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhyKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -387,21 +387,21 @@ impl WiFiAvailableNetwork { pub fn SecuritySettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecuritySettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BeaconInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeaconInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsWiFiDirect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWiFiDirect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -426,7 +426,7 @@ impl WiFiConnectionResult { pub fn ConnectionStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -451,7 +451,7 @@ impl WiFiNetworkReport { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -459,7 +459,7 @@ impl WiFiNetworkReport { pub fn AvailableNetworks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableNetworks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -484,7 +484,7 @@ impl WiFiOnDemandHotspotConnectTriggerDetails { pub fn RequestedNetwork(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedNetwork)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -495,14 +495,14 @@ impl WiFiOnDemandHotspotConnectTriggerDetails { pub fn ConnectAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Connect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -527,7 +527,7 @@ impl WiFiOnDemandHotspotConnectionResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -552,7 +552,7 @@ impl WiFiOnDemandHotspotNetwork { pub fn GetProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -566,13 +566,13 @@ impl WiFiOnDemandHotspotNetwork { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetOrCreateById(networkid: windows_core::GUID) -> windows_core::Result { Self::IWiFiOnDemandHotspotNetworkStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOrCreateById)(windows_core::Interface::as_raw(this), networkid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -602,7 +602,7 @@ impl WiFiOnDemandHotspotNetworkProperties { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -613,7 +613,7 @@ impl WiFiOnDemandHotspotNetworkProperties { pub fn Availability(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Availability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -624,7 +624,7 @@ impl WiFiOnDemandHotspotNetworkProperties { pub fn RemainingBatteryPercent(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingBatteryPercent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -638,7 +638,7 @@ impl WiFiOnDemandHotspotNetworkProperties { pub fn CellularBars(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularBars)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -652,7 +652,7 @@ impl WiFiOnDemandHotspotNetworkProperties { pub fn IsMetered(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMetered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -663,7 +663,7 @@ impl WiFiOnDemandHotspotNetworkProperties { pub fn Ssid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ssid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -675,7 +675,7 @@ impl WiFiOnDemandHotspotNetworkProperties { pub fn Password(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Password)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -708,7 +708,7 @@ impl WiFiWpsConfigurationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -716,7 +716,7 @@ impl WiFiWpsConfigurationResult { pub fn SupportedWpsKinds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedWpsKinds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 a1113a5f53..418dc40f12 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs @@ -28,7 +28,7 @@ pub struct IWiFiDirectService_Vtbl { pub RemoveSessionDeferred: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub GetProvisioningInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, WiFiDirectServiceConfigurationMethod, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ConnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ConnectAsyncWithPin: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectAsyncWithPin: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiFiDirectServiceAdvertiser, IWiFiDirectServiceAdvertiser_Vtbl, 0xa4aa1ee1_9d8f_4f4f_93ee_7ddea2e37f46); impl windows_core::RuntimeType for IWiFiDirectServiceAdvertiser { @@ -37,7 +37,7 @@ impl windows_core::RuntimeType for IWiFiDirectServiceAdvertiser { #[repr(C)] pub struct IWiFiDirectServiceAdvertiser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub ServiceNamePrefixes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -83,7 +83,7 @@ pub struct IWiFiDirectServiceAdvertiser_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] ConnectAsync: usize, #[cfg(feature = "Devices_Enumeration")] - pub ConnectAsyncWithPin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectAsyncWithPin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Enumeration"))] ConnectAsyncWithPin: usize, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -96,7 +96,7 @@ impl windows_core::RuntimeType for IWiFiDirectServiceAdvertiserFactory { #[repr(C)] pub struct IWiFiDirectServiceAdvertiserFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWiFiDirectServiceAdvertiser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWiFiDirectServiceAdvertiser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs, IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs_Vtbl, 0xdcd9e01e_83df_43e5_8f43_cbe8479e84eb); impl windows_core::RuntimeType for IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs { @@ -141,13 +141,13 @@ impl windows_core::RuntimeType for IWiFiDirectServiceSession { #[repr(C)] pub struct IWiFiDirectServiceSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiDirectServiceSessionStatus) -> windows_core::HRESULT, pub ErrorStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiDirectServiceSessionErrorStatus) -> windows_core::HRESULT, pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub AdvertisementId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub ServiceAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SessionAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SessionAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Networking"))] pub GetConnectionEndpointPairs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Networking")))] @@ -210,12 +210,12 @@ impl windows_core::RuntimeType for IWiFiDirectServiceStatics { #[repr(C)] pub struct IWiFiDirectServiceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetSelector: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSelector: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub GetSelectorWithFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSelectorWithFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] GetSelectorWithFilter: usize, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -226,7 +226,7 @@ impl WiFiDirectService { pub fn RemoteServiceInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteServiceInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -234,14 +234,14 @@ impl WiFiDirectService { pub fn SupportedConfigurationMethods(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedConfigurationMethods)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreferGroupOwnerMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferGroupOwnerMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -253,7 +253,7 @@ impl WiFiDirectService { pub fn SessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -268,7 +268,7 @@ impl WiFiDirectService { pub fn ServiceError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -278,7 +278,7 @@ impl WiFiDirectService { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionDeferred)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -289,27 +289,27 @@ impl WiFiDirectService { pub fn GetProvisioningInfoAsync(&self, selectedconfigurationmethod: WiFiDirectServiceConfigurationMethod) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProvisioningInfoAsync)(windows_core::Interface::as_raw(this), selectedconfigurationmethod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectAsyncWithPin(&self, pin: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsyncWithPin)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSelector(servicename: &windows_core::HSTRING) -> windows_core::Result { Self::IWiFiDirectServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSelector)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(servicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -319,13 +319,13 @@ impl WiFiDirectService { P0: windows_core::Param, { Self::IWiFiDirectServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSelectorWithFilter)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(servicename), serviceinfofilter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IWiFiDirectServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -355,7 +355,7 @@ impl WiFiDirectServiceAdvertiser { pub fn ServiceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -363,7 +363,7 @@ impl WiFiDirectServiceAdvertiser { pub fn ServiceNamePrefixes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceNamePrefixes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -371,7 +371,7 @@ impl WiFiDirectServiceAdvertiser { pub fn ServiceInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -386,7 +386,7 @@ impl WiFiDirectServiceAdvertiser { pub fn AutoAcceptSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoAcceptSession)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -397,7 +397,7 @@ impl WiFiDirectServiceAdvertiser { pub fn PreferGroupOwnerMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferGroupOwnerMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -409,14 +409,14 @@ impl WiFiDirectServiceAdvertiser { pub fn PreferredConfigurationMethods(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredConfigurationMethods)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -427,7 +427,7 @@ impl WiFiDirectServiceAdvertiser { pub fn CustomServiceStatusCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomServiceStatusCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -439,7 +439,7 @@ impl WiFiDirectServiceAdvertiser { pub fn DeferredSessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeferredSessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -454,14 +454,14 @@ impl WiFiDirectServiceAdvertiser { pub fn AdvertisementStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisementStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ServiceError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -471,7 +471,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -485,7 +485,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoAcceptSessionConnected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -499,7 +499,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisementStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -514,7 +514,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), deviceinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -525,7 +525,7 @@ impl WiFiDirectServiceAdvertiser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsyncWithPin)(windows_core::Interface::as_raw(this), deviceinfo.param().abi(), core::mem::transmute_copy(pin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -539,7 +539,7 @@ impl WiFiDirectServiceAdvertiser { } pub fn CreateWiFiDirectServiceAdvertiser(servicename: &windows_core::HSTRING) -> windows_core::Result { Self::IWiFiDirectServiceAdvertiserFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWiFiDirectServiceAdvertiser)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(servicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -569,7 +569,7 @@ impl WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -577,7 +577,7 @@ impl WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { pub fn SessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -602,14 +602,14 @@ impl WiFiDirectServiceProvisioningInfo { pub fn SelectedConfigurationMethod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedConfigurationMethod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGroupFormationNeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGroupFormationNeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -635,14 +635,14 @@ impl WiFiDirectServiceRemotePortAddedEventArgs { pub fn EndpointPairs(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointPairs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Protocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Protocol)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -672,49 +672,49 @@ impl WiFiDirectServiceSession { pub fn ServiceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SessionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AdvertisementId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisementId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ServiceAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SessionAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -722,7 +722,7 @@ impl WiFiDirectServiceSession { pub fn GetConnectionEndpointPairs(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectionEndpointPairs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -732,7 +732,7 @@ impl WiFiDirectServiceSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -747,7 +747,7 @@ impl WiFiDirectServiceSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddStreamSocketListenerAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -758,7 +758,7 @@ impl WiFiDirectServiceSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddDatagramSocketAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -768,7 +768,7 @@ impl WiFiDirectServiceSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemotePortAdded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -798,7 +798,7 @@ impl WiFiDirectServiceSessionDeferredEventArgs { pub fn DeferredSessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeferredSessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -829,14 +829,14 @@ impl WiFiDirectServiceSessionRequest { pub fn DeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProvisioningInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProvisioningInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -844,7 +844,7 @@ impl WiFiDirectServiceSessionRequest { pub fn SessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -869,7 +869,7 @@ impl WiFiDirectServiceSessionRequestedEventArgs { pub fn GetSessionRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSessionRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 be6213ea38..39b7e0097e 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs @@ -132,7 +132,7 @@ impl windows_core::RuntimeType for IWiFiDirectDevice { pub struct IWiFiDirectDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiDirectConnectionStatus) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ConnectionStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveConnectionStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Networking"))] @@ -147,8 +147,8 @@ impl windows_core::RuntimeType for IWiFiDirectDeviceStatics { #[repr(C)] pub struct IWiFiDirectDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiFiDirectDeviceStatics2, IWiFiDirectDeviceStatics2_Vtbl, 0x1a953e49_b103_437e_9226_ab67971342f9); impl windows_core::RuntimeType for IWiFiDirectDeviceStatics2 { @@ -157,8 +157,8 @@ impl windows_core::RuntimeType for IWiFiDirectDeviceStatics2 { #[repr(C)] pub struct IWiFiDirectDeviceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, WiFiDirectDeviceSelectorType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, WiFiDirectDeviceSelectorType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiFiDirectInformationElement, IWiFiDirectInformationElement_Vtbl, 0xaffb72d6_76bb_497e_ac8b_dc72838bc309); impl windows_core::RuntimeType for IWiFiDirectInformationElement { @@ -211,8 +211,8 @@ pub struct IWiFiDirectLegacySettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Ssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSsid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSsid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Security_Credentials")] pub Passphrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] @@ -231,7 +231,7 @@ impl WiFiDirectAdvertisement { pub fn InformationElements(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InformationElements)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -246,7 +246,7 @@ impl WiFiDirectAdvertisement { pub fn ListenStateDiscoverability(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ListenStateDiscoverability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -257,7 +257,7 @@ impl WiFiDirectAdvertisement { pub fn IsAutonomousGroupOwnerEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAutonomousGroupOwnerEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -268,7 +268,7 @@ impl WiFiDirectAdvertisement { pub fn LegacySettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LegacySettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -276,7 +276,7 @@ impl WiFiDirectAdvertisement { pub fn SupportedConfigurationMethods(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedConfigurationMethods)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -308,14 +308,14 @@ impl WiFiDirectAdvertisementPublisher { pub fn Advertisement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Advertisement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -325,7 +325,7 @@ impl WiFiDirectAdvertisementPublisher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -362,14 +362,14 @@ impl WiFiDirectAdvertisementPublisherStatusChangedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -404,7 +404,7 @@ impl WiFiDirectConnectionListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -442,7 +442,7 @@ impl WiFiDirectConnectionParameters { pub fn GroupOwnerIntent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GroupOwnerIntent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -454,14 +454,14 @@ impl WiFiDirectConnectionParameters { pub fn PreferenceOrderedConfigurationMethods(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferenceOrderedConfigurationMethods)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreferredPairingProcedure(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredPairingProcedure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -472,7 +472,7 @@ impl WiFiDirectConnectionParameters { #[cfg(feature = "Devices_Enumeration")] pub fn GetDevicePairingKinds(configurationmethod: WiFiDirectConfigurationMethod) -> windows_core::Result { Self::IWiFiDirectConnectionParametersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDevicePairingKinds)(windows_core::Interface::as_raw(this), configurationmethod, &mut result__).map(|| result__) }) } @@ -508,7 +508,7 @@ impl WiFiDirectConnectionRequest { pub fn DeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -533,7 +533,7 @@ impl WiFiDirectConnectionRequestedEventArgs { pub fn GetConnectionRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectionRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -563,14 +563,14 @@ impl WiFiDirectDevice { pub fn ConnectionStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -580,7 +580,7 @@ impl WiFiDirectDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -592,25 +592,25 @@ impl WiFiDirectDevice { pub fn GetConnectionEndpointPairs(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectionEndpointPairs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelector() -> windows_core::Result { Self::IWiFiDirectDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(deviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IWiFiDirectDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector2(r#type: WiFiDirectDeviceSelectorType) -> windows_core::Result { Self::IWiFiDirectDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -619,7 +619,7 @@ impl WiFiDirectDevice { P0: windows_core::Param, { Self::IWiFiDirectDeviceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), connectionparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -662,7 +662,7 @@ impl WiFiDirectInformationElement { pub fn Oui(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Oui)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -677,7 +677,7 @@ impl WiFiDirectInformationElement { pub fn OuiType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OuiType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -689,7 +689,7 @@ impl WiFiDirectInformationElement { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -707,7 +707,7 @@ impl WiFiDirectInformationElement { P0: windows_core::Param, { Self::IWiFiDirectInformationElementStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -717,7 +717,7 @@ impl WiFiDirectInformationElement { P0: windows_core::Param, { Self::IWiFiDirectInformationElementStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDeviceInformation)(windows_core::Interface::as_raw(this), deviceinformation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -747,7 +747,7 @@ impl WiFiDirectLegacySettings { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -758,7 +758,7 @@ impl WiFiDirectLegacySettings { pub fn Ssid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ssid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -770,7 +770,7 @@ impl WiFiDirectLegacySettings { pub fn Passphrase(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Passphrase)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Devices/mod.rs b/crates/libs/windows/src/Windows/Devices/mod.rs index d392a8db57..c4b97eac24 100644 --- a/crates/libs/windows/src/Windows/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/mod.rs @@ -60,7 +60,7 @@ windows_core::imp::define_interface!(ILowLevelDevicesAggregateProvider, ILowLeve impl std::ops::Deref for ILowLevelDevicesAggregateProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILowLevelDevicesAggregateProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -69,7 +69,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn AdcControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdcControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -77,7 +77,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn PwmControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PwmControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -85,7 +85,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn GpioControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GpioControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -93,7 +93,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn I2cControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).I2cControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -101,7 +101,7 @@ impl ILowLevelDevicesAggregateProvider { pub fn SpiControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpiControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -173,7 +173,7 @@ impl LowLevelDevicesAggregateProvider { pub fn AdcControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdcControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -181,7 +181,7 @@ impl LowLevelDevicesAggregateProvider { pub fn PwmControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PwmControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -189,7 +189,7 @@ impl LowLevelDevicesAggregateProvider { pub fn GpioControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GpioControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -197,7 +197,7 @@ impl LowLevelDevicesAggregateProvider { pub fn I2cControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).I2cControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -205,7 +205,7 @@ impl LowLevelDevicesAggregateProvider { pub fn SpiControllerProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpiControllerProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -219,7 +219,7 @@ impl LowLevelDevicesAggregateProvider { P4: windows_core::Param, { Self::ILowLevelDevicesAggregateProviderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), adc.param().abi(), pwm.param().abi(), gpio.param().abi(), i2c.param().abi(), spi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -248,7 +248,7 @@ windows_core::imp::interface_hierarchy!(LowLevelDevicesController, windows_core: impl LowLevelDevicesController { pub fn DefaultProvider() -> windows_core::Result { Self::ILowLevelDevicesControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 089ea1de93..6c510c61e5 100644 --- a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs +++ b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IDeviceLockdownProfileInformation { #[repr(C)] pub struct IDeviceLockdownProfileInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceLockdownProfileStatics, IDeviceLockdownProfileStatics_Vtbl, 0x622f6965_f9a8_41a1_a691_88cd80c7a069); impl windows_core::RuntimeType for IDeviceLockdownProfileStatics { @@ -27,25 +27,25 @@ impl DeviceLockdownProfile { #[cfg(feature = "Foundation_Collections")] pub fn GetSupportedLockdownProfiles() -> windows_core::Result> { Self::IDeviceLockdownProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedLockdownProfiles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetCurrentLockdownProfile() -> windows_core::Result { Self::IDeviceLockdownProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentLockdownProfile)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ApplyLockdownProfileAsync(profileid: windows_core::GUID) -> windows_core::Result { Self::IDeviceLockdownProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplyLockdownProfileAsync)(windows_core::Interface::as_raw(this), profileid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetLockdownProfileInformation(profileid: windows_core::GUID) -> windows_core::Result { Self::IDeviceLockdownProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLockdownProfileInformation)(windows_core::Interface::as_raw(this), profileid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -66,7 +66,7 @@ impl DeviceLockdownProfileInformation { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index da1a6264c6..c5c8e0c19b 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -6,7 +6,7 @@ where impl std::ops::Deref for IIterable { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IIterable {} @@ -15,7 +15,7 @@ impl IIterable { pub fn First(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -58,7 +58,7 @@ where impl std::ops::Deref for IIterator { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IIterator {} @@ -67,28 +67,28 @@ impl IIterator { pub fn Current(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasCurrent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCurrent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MoveNext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveNext)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetMany(&self, items: &mut [>::Default]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -131,7 +131,7 @@ where impl std::ops::Deref for IKeyValuePair { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IKeyValuePair {} @@ -140,14 +140,14 @@ impl windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Key)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -180,7 +180,7 @@ where impl std::ops::Deref for IMap { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IMap {} @@ -195,14 +195,14 @@ impl windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -212,14 +212,14 @@ impl windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -230,7 +230,7 @@ impl windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -299,7 +299,7 @@ where impl std::ops::Deref for IMapChangedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IMapChangedEventArgs {} @@ -308,14 +308,14 @@ impl IMapChangedEventArgs { pub fn CollectionChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CollectionChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Key(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Key)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -346,7 +346,7 @@ where impl std::ops::Deref for IMapView { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IMapView {} @@ -361,14 +361,14 @@ impl windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -378,7 +378,7 @@ impl windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -438,7 +438,7 @@ where impl std::ops::Deref for IObservableMap { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IObservableMap {} @@ -456,7 +456,7 @@ impl windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -477,14 +477,14 @@ impl>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), key.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -494,14 +494,14 @@ impl>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), key.param().abi(), &mut result__).map(|| result__) } } pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -512,7 +512,7 @@ impl>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), key.param().abi(), value.param().abi(), &mut result__).map(|| result__) } } @@ -569,7 +569,7 @@ where impl std::ops::Deref for IObservableVector { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IObservableVector {} @@ -587,7 +587,7 @@ impl IObservableVector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VectorChanged)(windows_core::Interface::as_raw(this), vhnd.param().abi(), &mut result__).map(|| result__) } } @@ -598,28 +598,28 @@ impl IObservableVector { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -629,7 +629,7 @@ impl IObservableVector { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -669,7 +669,7 @@ impl IObservableVector { pub fn GetMany(&self, startindex: u32, items: &mut [>::Default]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -713,7 +713,7 @@ windows_core::imp::define_interface!(IPropertySet, IPropertySet_Vtbl, 0x8a43ed9f impl std::ops::Deref for IPropertySet { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertySet, windows_core::IUnknown, windows_core::IInspectable); @@ -722,35 +722,35 @@ impl IPropertySet { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -760,7 +760,7 @@ impl IPropertySet { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -778,7 +778,7 @@ impl IPropertySet { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapChanged)(windows_core::Interface::as_raw(this), vhnd.param().abi(), &mut result__).map(|| result__) } } @@ -816,7 +816,7 @@ where impl std::ops::Deref for IVector { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IVector {} @@ -828,21 +828,21 @@ impl IVector { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -852,7 +852,7 @@ impl IVector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -892,7 +892,7 @@ impl IVector { pub fn GetMany(&self, startindex: u32, items: &mut [>::Default]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -903,7 +903,7 @@ impl IVector { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -971,7 +971,7 @@ windows_core::imp::define_interface!(IVectorChangedEventArgs, IVectorChangedEven impl std::ops::Deref for IVectorChangedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVectorChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -979,14 +979,14 @@ impl IVectorChangedEventArgs { pub fn CollectionChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CollectionChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Index(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Index)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1008,7 +1008,7 @@ where impl std::ops::Deref for IVectorView { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IVectorView {} @@ -1020,14 +1020,14 @@ impl IVectorView { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1037,21 +1037,21 @@ impl IVectorView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } pub fn GetMany(&self, startindex: u32, items: &mut [>::Default]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1123,35 +1123,35 @@ impl PropertySet { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1161,7 +1161,7 @@ impl PropertySet { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -1179,7 +1179,7 @@ impl PropertySet { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapChanged)(windows_core::Interface::as_raw(this), vhnd.param().abi(), &mut result__).map(|| result__) } } @@ -1230,42 +1230,42 @@ impl StringMap { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Insert(&self, key: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -1283,7 +1283,7 @@ impl StringMap { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapChanged)(windows_core::Interface::as_raw(this), vhnd.param().abi(), &mut result__).map(|| result__) } } @@ -1334,35 +1334,35 @@ impl ValueSet { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1372,7 +1372,7 @@ impl ValueSet { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -1390,7 +1390,7 @@ impl ValueSet { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapChanged)(windows_core::Interface::as_raw(this), vhnd.param().abi(), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs index 2a599c17ab..780bbdcdb8 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs @@ -50,7 +50,7 @@ impl windows_core::RuntimeName for IFileLoggingSession { #[cfg(feature = "Storage")] impl IFileLoggingSession_Vtbl { pub const fn new, Impl: IFileLoggingSession_Impl, const OFFSET: isize>() -> IFileLoggingSession_Vtbl { - unsafe extern "system" fn Name, Impl: IFileLoggingSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFileLoggingSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileLoggingSession_Impl::Name(this) { @@ -136,7 +136,7 @@ impl windows_core::RuntimeName for ILoggingChannel { } impl ILoggingChannel_Vtbl { pub const fn new, Impl: ILoggingChannel_Impl, const OFFSET: isize>() -> ILoggingChannel_Vtbl { - unsafe extern "system" fn Name, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILoggingChannel_Impl::Name(this) { @@ -170,22 +170,22 @@ impl ILoggingChannel_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LogMessage, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LogMessage, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILoggingChannel_Impl::LogMessage(this, core::mem::transmute(&eventstring)).into() } - unsafe extern "system" fn LogMessageWithLevel, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventstring: std::mem::MaybeUninit, level: LoggingLevel) -> windows_core::HRESULT { + unsafe extern "system" fn LogMessageWithLevel, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventstring: core::mem::MaybeUninit, level: LoggingLevel) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILoggingChannel_Impl::LogMessageWithLevel(this, core::mem::transmute(&eventstring), level).into() } - unsafe extern "system" fn LogValuePair, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value1: std::mem::MaybeUninit, value2: i32) -> windows_core::HRESULT { + unsafe extern "system" fn LogValuePair, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value1: core::mem::MaybeUninit, value2: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILoggingChannel_Impl::LogValuePair(this, core::mem::transmute(&value1), value2).into() } - unsafe extern "system" fn LogValuePairWithLevel, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value1: std::mem::MaybeUninit, value2: i32, level: LoggingLevel) -> windows_core::HRESULT { + unsafe extern "system" fn LogValuePairWithLevel, Impl: ILoggingChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value1: core::mem::MaybeUninit, value2: i32, level: LoggingLevel) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILoggingChannel_Impl::LogValuePairWithLevel(this, core::mem::transmute(&value1), value2, level).into() @@ -238,7 +238,7 @@ impl windows_core::RuntimeName for ILoggingSession { #[cfg(feature = "Storage")] impl ILoggingSession_Vtbl { pub const fn new, Impl: ILoggingSession_Impl, const OFFSET: isize>() -> ILoggingSession_Vtbl { - unsafe extern "system" fn Name, Impl: ILoggingSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ILoggingSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILoggingSession_Impl::Name(this) { @@ -250,7 +250,7 @@ impl ILoggingSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SaveToFileAsync, Impl: ILoggingSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: *mut core::ffi::c_void, filename: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SaveToFileAsync, Impl: ILoggingSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: *mut core::ffi::c_void, filename: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILoggingSession_Impl::SaveToFileAsync(this, windows_core::from_raw_borrowed(&folder), core::mem::transmute(&filename)) { @@ -341,27 +341,27 @@ impl ILoggingTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LogEvent, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LogEvent, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILoggingTarget_Impl::LogEvent(this, core::mem::transmute(&eventname)).into() } - unsafe extern "system" fn LogEventWithFields, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: std::mem::MaybeUninit, fields: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn LogEventWithFields, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: core::mem::MaybeUninit, fields: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILoggingTarget_Impl::LogEventWithFields(this, core::mem::transmute(&eventname), windows_core::from_raw_borrowed(&fields)).into() } - unsafe extern "system" fn LogEventWithFieldsAndLevel, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: std::mem::MaybeUninit, fields: *mut core::ffi::c_void, level: LoggingLevel) -> windows_core::HRESULT { + unsafe extern "system" fn LogEventWithFieldsAndLevel, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: core::mem::MaybeUninit, fields: *mut core::ffi::c_void, level: LoggingLevel) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILoggingTarget_Impl::LogEventWithFieldsAndLevel(this, core::mem::transmute(&eventname), windows_core::from_raw_borrowed(&fields), level).into() } - unsafe extern "system" fn LogEventWithFieldsAndOptions, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: std::mem::MaybeUninit, fields: *mut core::ffi::c_void, level: LoggingLevel, options: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn LogEventWithFieldsAndOptions, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: core::mem::MaybeUninit, fields: *mut core::ffi::c_void, level: LoggingLevel, options: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILoggingTarget_Impl::LogEventWithFieldsAndOptions(this, core::mem::transmute(&eventname), windows_core::from_raw_borrowed(&fields), level, windows_core::from_raw_borrowed(&options)).into() } - unsafe extern "system" fn StartActivity, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starteventname: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn StartActivity, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starteventname: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILoggingTarget_Impl::StartActivity(this, core::mem::transmute(&starteventname)) { @@ -373,7 +373,7 @@ impl ILoggingTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StartActivityWithFields, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starteventname: std::mem::MaybeUninit, fields: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn StartActivityWithFields, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starteventname: core::mem::MaybeUninit, fields: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILoggingTarget_Impl::StartActivityWithFields(this, core::mem::transmute(&starteventname), windows_core::from_raw_borrowed(&fields)) { @@ -385,7 +385,7 @@ impl ILoggingTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StartActivityWithFieldsAndLevel, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starteventname: std::mem::MaybeUninit, fields: *mut core::ffi::c_void, level: LoggingLevel, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn StartActivityWithFieldsAndLevel, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starteventname: core::mem::MaybeUninit, fields: *mut core::ffi::c_void, level: LoggingLevel, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILoggingTarget_Impl::StartActivityWithFieldsAndLevel(this, core::mem::transmute(&starteventname), windows_core::from_raw_borrowed(&fields), level) { @@ -397,7 +397,7 @@ impl ILoggingTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StartActivityWithFieldsAndOptions, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starteventname: std::mem::MaybeUninit, fields: *mut core::ffi::c_void, level: LoggingLevel, options: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn StartActivityWithFieldsAndOptions, Impl: ILoggingTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starteventname: core::mem::MaybeUninit, fields: *mut core::ffi::c_void, level: LoggingLevel, options: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILoggingTarget_Impl::StartActivityWithFieldsAndOptions(this, core::mem::transmute(&starteventname), windows_core::from_raw_borrowed(&fields), level, windows_core::from_raw_borrowed(&options)) { diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index 87030f4018..1d100b3c86 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IAsyncCausalityTracerStatics { #[repr(C)] pub struct IAsyncCausalityTracerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TraceOperationCreation: unsafe extern "system" fn(*mut core::ffi::c_void, CausalityTraceLevel, CausalitySource, windows_core::GUID, u64, std::mem::MaybeUninit, u64) -> windows_core::HRESULT, + pub TraceOperationCreation: unsafe extern "system" fn(*mut core::ffi::c_void, CausalityTraceLevel, CausalitySource, windows_core::GUID, u64, core::mem::MaybeUninit, u64) -> windows_core::HRESULT, pub TraceOperationCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, CausalityTraceLevel, CausalitySource, windows_core::GUID, u64, super::AsyncStatus) -> windows_core::HRESULT, pub TraceOperationRelation: unsafe extern "system" fn(*mut core::ffi::c_void, CausalityTraceLevel, CausalitySource, windows_core::GUID, u64, CausalityRelation) -> windows_core::HRESULT, pub TraceSynchronousWorkStart: unsafe extern "system" fn(*mut core::ffi::c_void, CausalityTraceLevel, CausalitySource, windows_core::GUID, u64, CausalitySynchronousWork) -> windows_core::HRESULT, @@ -20,8 +20,8 @@ impl windows_core::RuntimeType for IErrorDetails { #[repr(C)] pub struct IErrorDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LongDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LongDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HelpUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IErrorDetailsStatics, IErrorDetailsStatics_Vtbl, 0xb7703750_0b1d_46c8_aa0e_4b8178e4fce9); @@ -37,7 +37,7 @@ windows_core::imp::define_interface!(IErrorReportingSettings, IErrorReportingSet impl std::ops::Deref for IErrorReportingSettings { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IErrorReportingSettings, windows_core::IUnknown, windows_core::IInspectable); @@ -49,7 +49,7 @@ impl IErrorReportingSettings { pub fn GetErrorOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetErrorOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -67,7 +67,7 @@ windows_core::imp::define_interface!(IFileLoggingSession, IFileLoggingSession_Vt impl std::ops::Deref for IFileLoggingSession { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileLoggingSession, windows_core::IUnknown, windows_core::IInspectable); @@ -76,7 +76,7 @@ impl IFileLoggingSession { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -105,7 +105,7 @@ impl IFileLoggingSession { pub fn CloseAndSaveToFileAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloseAndSaveToFileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -115,7 +115,7 @@ impl IFileLoggingSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogFileGenerated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -134,7 +134,7 @@ impl windows_core::RuntimeType for IFileLoggingSession { #[repr(C)] pub struct IFileLoggingSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddLoggingChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddLoggingChannelWithLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, LoggingLevel) -> windows_core::HRESULT, pub RemoveLoggingChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -152,7 +152,7 @@ impl windows_core::RuntimeType for IFileLoggingSessionFactory { #[repr(C)] pub struct IFileLoggingSessionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILogFileGeneratedEventArgs, ILogFileGeneratedEventArgs_Vtbl, 0x269e976f_0d38_4c1a_b53f_b395d881df84); impl windows_core::RuntimeType for ILogFileGeneratedEventArgs { @@ -173,7 +173,7 @@ impl windows_core::RuntimeType for ILoggingActivity { #[repr(C)] pub struct ILoggingActivity_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoggingActivity2, ILoggingActivity2_Vtbl, 0x26c29808_6322_456a_af82_80c8642f178b); @@ -184,9 +184,9 @@ impl windows_core::RuntimeType for ILoggingActivity2 { pub struct ILoggingActivity2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Channel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub StopActivity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StopActivityWithFields: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub StopActivityWithFieldsAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StopActivity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StopActivityWithFields: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StopActivityWithFieldsAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoggingActivityFactory, ILoggingActivityFactory_Vtbl, 0x6b33b483_e10a_4c58_97d5_10fb451074fb); impl windows_core::RuntimeType for ILoggingActivityFactory { @@ -195,14 +195,14 @@ impl windows_core::RuntimeType for ILoggingActivityFactory { #[repr(C)] pub struct ILoggingActivityFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateLoggingActivity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateLoggingActivityWithLevel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLoggingActivity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLoggingActivityWithLevel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoggingChannel, ILoggingChannel_Vtbl, 0xe9a50343_11d7_4f01_b5ca_cf495278c0a8); impl std::ops::Deref for ILoggingChannel { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILoggingChannel, windows_core::IUnknown, windows_core::IInspectable); @@ -211,21 +211,21 @@ impl ILoggingChannel { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Level(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Level)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -251,7 +251,7 @@ impl ILoggingChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoggingEnabled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -270,13 +270,13 @@ impl windows_core::RuntimeType for ILoggingChannel { #[repr(C)] pub struct ILoggingChannel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Level: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LoggingLevel) -> windows_core::HRESULT, - pub LogMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LogMessageWithLevel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, LoggingLevel) -> windows_core::HRESULT, - pub LogValuePair: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub LogValuePairWithLevel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, LoggingLevel) -> windows_core::HRESULT, + pub LogMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogMessageWithLevel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, LoggingLevel) -> windows_core::HRESULT, + pub LogValuePair: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub LogValuePairWithLevel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, LoggingLevel) -> windows_core::HRESULT, pub LoggingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveLoggingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::EventRegistrationToken) -> windows_core::HRESULT, } @@ -297,7 +297,7 @@ impl windows_core::RuntimeType for ILoggingChannelFactory { pub struct ILoggingChannelFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Create: usize, } @@ -308,8 +308,8 @@ impl windows_core::RuntimeType for ILoggingChannelFactory2 { #[repr(C)] pub struct ILoggingChannelFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithOptionsAndId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithOptionsAndId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoggingChannelOptions, ILoggingChannelOptions_Vtbl, 0xc3e847ff_0ebb_4a53_8c54_dec24926cb2c); impl windows_core::RuntimeType for ILoggingChannelOptions { @@ -338,120 +338,120 @@ impl windows_core::RuntimeType for ILoggingFields { pub struct ILoggingFields_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub BeginStruct: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BeginStructWithTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub BeginStruct: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BeginStructWithTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub EndStruct: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddEmpty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddEmptyWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddEmptyWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddUInt8: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u8) -> windows_core::HRESULT, - pub AddUInt8WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u8, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddUInt8WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u8, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddUInt8Array: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u8) -> windows_core::HRESULT, - pub AddUInt8ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u8, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddUInt8ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u8, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddInt16: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i16) -> windows_core::HRESULT, - pub AddInt16WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i16, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddInt16WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i16, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddInt16Array: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const i16) -> windows_core::HRESULT, - pub AddInt16ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const i16, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddInt16ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const i16, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddUInt16: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u16) -> windows_core::HRESULT, - pub AddUInt16WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u16, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddUInt16WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u16, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddUInt16Array: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u16) -> windows_core::HRESULT, - pub AddUInt16ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u16, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddUInt16ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u16, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddInt32: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub AddInt32WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddInt32WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddInt32Array: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const i32) -> windows_core::HRESULT, - pub AddInt32ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const i32, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddInt32ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const i32, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddUInt32: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, - pub AddUInt32WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddUInt32WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddUInt32Array: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u32) -> windows_core::HRESULT, - pub AddUInt32ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u32, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddUInt32ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u32, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddInt64: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i64) -> windows_core::HRESULT, - pub AddInt64WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i64, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddInt64WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i64, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddInt64Array: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const i64) -> windows_core::HRESULT, - pub AddInt64ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const i64, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddInt64ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const i64, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddUInt64: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u64) -> windows_core::HRESULT, - pub AddUInt64WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u64, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddUInt64WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u64, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddUInt64Array: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u64) -> windows_core::HRESULT, - pub AddUInt64ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u64, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddUInt64ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u64, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddSingle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f32) -> windows_core::HRESULT, - pub AddSingleWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f32, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddSingleWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f32, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddSingleArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const f32) -> windows_core::HRESULT, - pub AddSingleArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const f32, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddSingleArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const f32, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddDouble: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64) -> windows_core::HRESULT, - pub AddDoubleWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddDoubleWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddDoubleArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const f64) -> windows_core::HRESULT, - pub AddDoubleArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const f64, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddDoubleArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const f64, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddChar16: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u16) -> windows_core::HRESULT, - pub AddChar16WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u16, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddChar16WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u16, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddChar16Array: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u16) -> windows_core::HRESULT, - pub AddChar16ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u16, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddChar16ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u16, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool) -> windows_core::HRESULT, - pub AddBooleanWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddBooleanWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddBooleanArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const bool) -> windows_core::HRESULT, - pub AddBooleanArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const bool, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddBooleanArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const bool, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddStringWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddStringWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddStringArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const std::mem::MaybeUninit, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddStringArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const std::mem::MaybeUninit, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID) -> windows_core::HRESULT, - pub AddGuidWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddGuidWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddGuidArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const windows_core::GUID) -> windows_core::HRESULT, - pub AddGuidArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const windows_core::GUID, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddGuidArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const windows_core::GUID, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::DateTime) -> windows_core::HRESULT, - pub AddDateTimeWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::DateTime, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddDateTimeWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::DateTime, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddDateTimeArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::DateTime) -> windows_core::HRESULT, - pub AddDateTimeArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::DateTime, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddDateTimeArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::DateTime, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddTimeSpan: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::TimeSpan) -> windows_core::HRESULT, - pub AddTimeSpanWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::TimeSpan, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddTimeSpanWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::TimeSpan, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddTimeSpanArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::TimeSpan) -> windows_core::HRESULT, - pub AddTimeSpanArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::TimeSpan, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddTimeSpanArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::TimeSpan, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddPoint: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Point) -> windows_core::HRESULT, - pub AddPointWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Point, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddPointWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Point, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddPointArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::Point) -> windows_core::HRESULT, - pub AddPointArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::Point, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddPointArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::Point, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddSize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Size) -> windows_core::HRESULT, - pub AddSizeWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Size, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddSizeWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Size, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddSizeArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::Size) -> windows_core::HRESULT, - pub AddSizeArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::Size, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddSizeArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::Size, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddRect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Rect) -> windows_core::HRESULT, - pub AddRectWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Rect, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddRectWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Rect, LoggingFieldFormat, i32) -> windows_core::HRESULT, - pub AddRectArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::Rect) -> windows_core::HRESULT, - pub AddRectArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::Rect, LoggingFieldFormat) -> windows_core::HRESULT, - pub AddRectArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const super::Rect, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddEmpty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddEmptyWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddEmptyWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddUInt8: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u8) -> windows_core::HRESULT, + pub AddUInt8WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u8, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddUInt8WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u8, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddUInt8Array: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8) -> windows_core::HRESULT, + pub AddUInt8ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddUInt8ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddInt16: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i16) -> windows_core::HRESULT, + pub AddInt16WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i16, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddInt16WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i16, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddInt16Array: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const i16) -> windows_core::HRESULT, + pub AddInt16ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const i16, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddInt16ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const i16, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddUInt16: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u16) -> windows_core::HRESULT, + pub AddUInt16WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u16, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddUInt16WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u16, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddUInt16Array: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u16) -> windows_core::HRESULT, + pub AddUInt16ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u16, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddUInt16ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u16, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddInt32: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub AddInt32WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddInt32WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddInt32Array: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const i32) -> windows_core::HRESULT, + pub AddInt32ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const i32, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddInt32ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const i32, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddUInt32: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub AddUInt32WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddUInt32WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddUInt32Array: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u32) -> windows_core::HRESULT, + pub AddUInt32ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u32, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddUInt32ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u32, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddInt64: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i64) -> windows_core::HRESULT, + pub AddInt64WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i64, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddInt64WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i64, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddInt64Array: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const i64) -> windows_core::HRESULT, + pub AddInt64ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const i64, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddInt64ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const i64, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddUInt64: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u64) -> windows_core::HRESULT, + pub AddUInt64WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u64, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddUInt64WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u64, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddUInt64Array: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u64) -> windows_core::HRESULT, + pub AddUInt64ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u64, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddUInt64ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u64, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddSingle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f32) -> windows_core::HRESULT, + pub AddSingleWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f32, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddSingleWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f32, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddSingleArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const f32) -> windows_core::HRESULT, + pub AddSingleArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const f32, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddSingleArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const f32, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddDouble: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64) -> windows_core::HRESULT, + pub AddDoubleWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddDoubleWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddDoubleArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const f64) -> windows_core::HRESULT, + pub AddDoubleArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const f64, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddDoubleArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const f64, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddChar16: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u16) -> windows_core::HRESULT, + pub AddChar16WithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u16, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddChar16WithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u16, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddChar16Array: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u16) -> windows_core::HRESULT, + pub AddChar16ArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u16, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddChar16ArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u16, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool) -> windows_core::HRESULT, + pub AddBooleanWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddBooleanWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddBooleanArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const bool) -> windows_core::HRESULT, + pub AddBooleanArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const bool, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddBooleanArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const bool, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddStringWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddStringWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddStringArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const core::mem::MaybeUninit, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddStringArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const core::mem::MaybeUninit, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID) -> windows_core::HRESULT, + pub AddGuidWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddGuidWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddGuidArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const windows_core::GUID) -> windows_core::HRESULT, + pub AddGuidArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const windows_core::GUID, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddGuidArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const windows_core::GUID, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::DateTime) -> windows_core::HRESULT, + pub AddDateTimeWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::DateTime, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddDateTimeWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::DateTime, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddDateTimeArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::DateTime) -> windows_core::HRESULT, + pub AddDateTimeArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::DateTime, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddDateTimeArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::DateTime, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddTimeSpan: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::TimeSpan) -> windows_core::HRESULT, + pub AddTimeSpanWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::TimeSpan, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddTimeSpanWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::TimeSpan, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddTimeSpanArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::TimeSpan) -> windows_core::HRESULT, + pub AddTimeSpanArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::TimeSpan, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddTimeSpanArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::TimeSpan, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddPoint: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Point) -> windows_core::HRESULT, + pub AddPointWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Point, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddPointWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Point, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddPointArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::Point) -> windows_core::HRESULT, + pub AddPointArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::Point, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddPointArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::Point, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddSize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Size) -> windows_core::HRESULT, + pub AddSizeWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Size, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddSizeWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Size, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddSizeArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::Size) -> windows_core::HRESULT, + pub AddSizeArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::Size, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddSizeArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::Size, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddRect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Rect) -> windows_core::HRESULT, + pub AddRectWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Rect, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddRectWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Rect, LoggingFieldFormat, i32) -> windows_core::HRESULT, + pub AddRectArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::Rect) -> windows_core::HRESULT, + pub AddRectArrayWithFormat: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::Rect, LoggingFieldFormat) -> windows_core::HRESULT, + pub AddRectArrayWithFormatAndTags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const super::Rect, LoggingFieldFormat, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoggingOptions, ILoggingOptions_Vtbl, 0x90bc7850_0192_4f5d_ac26_006adaca12d8); impl windows_core::RuntimeType for ILoggingOptions { @@ -486,7 +486,7 @@ windows_core::imp::define_interface!(ILoggingSession, ILoggingSession_Vtbl, 0x62 impl std::ops::Deref for ILoggingSession { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILoggingSession, windows_core::IUnknown, windows_core::IInspectable); @@ -495,7 +495,7 @@ impl ILoggingSession { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -506,7 +506,7 @@ impl ILoggingSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveToFileAsync)(windows_core::Interface::as_raw(this), folder.param().abi(), core::mem::transmute_copy(filename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -542,9 +542,9 @@ impl windows_core::RuntimeType for ILoggingSession { #[repr(C)] pub struct ILoggingSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage")] - pub SaveToFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SaveToFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] SaveToFileAsync: usize, pub AddLoggingChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -558,13 +558,13 @@ impl windows_core::RuntimeType for ILoggingSessionFactory { #[repr(C)] pub struct ILoggingSessionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoggingTarget, ILoggingTarget_Vtbl, 0x65f16c35_e388_4e26_b17a_f51cd3a83916); impl std::ops::Deref for ILoggingTarget { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILoggingTarget, windows_core::IUnknown, windows_core::IInspectable); @@ -572,21 +572,21 @@ impl ILoggingTarget { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEnabledWithLevel(&self, level: LoggingLevel) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabledWithLevel)(windows_core::Interface::as_raw(this), level, &mut result__).map(|| result__) } } pub fn IsEnabledWithLevelAndKeywords(&self, level: LoggingLevel, keywords: i64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabledWithLevelAndKeywords)(windows_core::Interface::as_raw(this), level, keywords, &mut result__).map(|| result__) } } @@ -619,7 +619,7 @@ impl ILoggingTarget { pub fn StartActivity(&self, starteventname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivity)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -629,7 +629,7 @@ impl ILoggingTarget { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivityWithFields)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -639,7 +639,7 @@ impl ILoggingTarget { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivityWithFieldsAndLevel)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -650,7 +650,7 @@ impl ILoggingTarget { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivityWithFieldsAndOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), level, options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -664,14 +664,14 @@ pub struct ILoggingTarget_Vtbl { pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsEnabledWithLevel: unsafe extern "system" fn(*mut core::ffi::c_void, LoggingLevel, *mut bool) -> windows_core::HRESULT, pub IsEnabledWithLevelAndKeywords: unsafe extern "system" fn(*mut core::ffi::c_void, LoggingLevel, i64, *mut bool) -> windows_core::HRESULT, - pub LogEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LogEventWithFields: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LogEventWithFieldsAndLevel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel) -> windows_core::HRESULT, - pub LogEventWithFieldsAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub StartActivity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub StartActivityWithFields: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub StartActivityWithFieldsAndLevel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub StartActivityWithFieldsAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LogEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogEventWithFields: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LogEventWithFieldsAndLevel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel) -> windows_core::HRESULT, + pub LogEventWithFieldsAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartActivity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartActivityWithFields: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartActivityWithFieldsAndLevel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartActivityWithFieldsAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITracingStatusChangedEventArgs, ITracingStatusChangedEventArgs_Vtbl, 0x410b7711_ff3b_477f_9c9a_d2efda302dc3); impl windows_core::RuntimeType for ITracingStatusChangedEventArgs { @@ -705,7 +705,7 @@ impl AsyncCausalityTracer { P0: windows_core::Param>, { Self::IAsyncCausalityTracerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TracingStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -729,27 +729,27 @@ impl ErrorDetails { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LongDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LongDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HelpUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HelpUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromHResultAsync(errorcode: i32) -> windows_core::Result> { Self::IErrorDetailsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromHResultAsync)(windows_core::Interface::as_raw(this), errorcode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -784,7 +784,7 @@ impl FileLoggingSession { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -813,7 +813,7 @@ impl FileLoggingSession { pub fn CloseAndSaveToFileAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloseAndSaveToFileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -823,7 +823,7 @@ impl FileLoggingSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogFileGenerated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -833,7 +833,7 @@ impl FileLoggingSession { } pub fn Create(name: &windows_core::HSTRING) -> windows_core::Result { Self::IFileLoggingSessionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -864,7 +864,7 @@ impl LogFileGeneratedEventArgs { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -894,21 +894,21 @@ impl LoggingActivity { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Channel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Channel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -936,7 +936,7 @@ impl LoggingActivity { P0: windows_core::Param, { Self::ILoggingActivityFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLoggingActivity)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activityname), loggingchannel.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -945,28 +945,28 @@ impl LoggingActivity { P0: windows_core::Param, { Self::ILoggingActivityFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLoggingActivityWithLevel)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activityname), loggingchannel.param().abi(), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEnabledWithLevel(&self, level: LoggingLevel) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabledWithLevel)(windows_core::Interface::as_raw(this), level, &mut result__).map(|| result__) } } pub fn IsEnabledWithLevelAndKeywords(&self, level: LoggingLevel, keywords: i64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabledWithLevelAndKeywords)(windows_core::Interface::as_raw(this), level, keywords, &mut result__).map(|| result__) } } @@ -999,7 +999,7 @@ impl LoggingActivity { pub fn StartActivity(&self, starteventname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivity)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1009,7 +1009,7 @@ impl LoggingActivity { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivityWithFields)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1019,7 +1019,7 @@ impl LoggingActivity { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivityWithFieldsAndLevel)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1030,7 +1030,7 @@ impl LoggingActivity { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivityWithFieldsAndOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), level, options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1065,21 +1065,21 @@ impl LoggingChannel { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Level(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Level)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1105,7 +1105,7 @@ impl LoggingChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoggingEnabled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1116,14 +1116,14 @@ impl LoggingChannel { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } #[cfg(feature = "deprecated")] pub fn Create(name: &windows_core::HSTRING) -> windows_core::Result { Self::ILoggingChannelFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1132,7 +1132,7 @@ impl LoggingChannel { P0: windows_core::Param, { Self::ILoggingChannelFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1141,28 +1141,28 @@ impl LoggingChannel { P0: windows_core::Param, { Self::ILoggingChannelFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithOptionsAndId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), options.param().abi(), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEnabledWithLevel(&self, level: LoggingLevel) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabledWithLevel)(windows_core::Interface::as_raw(this), level, &mut result__).map(|| result__) } } pub fn IsEnabledWithLevelAndKeywords(&self, level: LoggingLevel, keywords: i64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabledWithLevelAndKeywords)(windows_core::Interface::as_raw(this), level, keywords, &mut result__).map(|| result__) } } @@ -1195,7 +1195,7 @@ impl LoggingChannel { pub fn StartActivity(&self, starteventname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivity)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1205,7 +1205,7 @@ impl LoggingChannel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivityWithFields)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1215,7 +1215,7 @@ impl LoggingChannel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivityWithFieldsAndLevel)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1226,7 +1226,7 @@ impl LoggingChannel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartActivityWithFieldsAndOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(starteventname), fields.param().abi(), level, options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1268,7 +1268,7 @@ impl LoggingChannelOptions { pub fn Group(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1278,7 +1278,7 @@ impl LoggingChannelOptions { } pub fn Create(group: windows_core::GUID) -> windows_core::Result { Self::ILoggingChannelOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), group, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1800,7 +1800,7 @@ impl LoggingOptions { pub fn Keywords(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Keywords)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1811,7 +1811,7 @@ impl LoggingOptions { pub fn Tags(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tags)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1822,7 +1822,7 @@ impl LoggingOptions { pub fn Task(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Task)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1833,7 +1833,7 @@ impl LoggingOptions { pub fn Opcode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opcode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1844,7 +1844,7 @@ impl LoggingOptions { pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1855,7 +1855,7 @@ impl LoggingOptions { pub fn RelatedActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelatedActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1865,7 +1865,7 @@ impl LoggingOptions { } pub fn CreateWithKeywords(keywords: i64) -> windows_core::Result { Self::ILoggingOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithKeywords)(windows_core::Interface::as_raw(this), keywords, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1900,7 +1900,7 @@ impl LoggingSession { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1911,7 +1911,7 @@ impl LoggingSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveToFileAsync)(windows_core::Interface::as_raw(this), folder.param().abi(), core::mem::transmute_copy(filename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1938,7 +1938,7 @@ impl LoggingSession { } pub fn Create(name: &windows_core::HSTRING) -> windows_core::Result { Self::ILoggingSessionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1980,7 +1980,7 @@ impl RuntimeBrokerErrorSettings { pub fn GetErrorOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetErrorOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2005,14 +2005,14 @@ impl TracingStatusChangedEventArgs { pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TraceLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TraceLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs index 0a5189540c..f3db6e682a 100644 --- a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs @@ -5,76 +5,76 @@ impl windows_core::RuntimeType for IApiInformationStatics { #[repr(C)] pub struct IApiInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsTypePresent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub IsMethodPresent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub IsMethodPresentWithArity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, *mut bool) -> windows_core::HRESULT, - pub IsEventPresent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub IsPropertyPresent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub IsReadOnlyPropertyPresent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub IsWriteablePropertyPresent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub IsEnumNamedValuePresent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub IsApiContractPresentByMajor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u16, *mut bool) -> windows_core::HRESULT, - pub IsApiContractPresentByMajorAndMinor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u16, u16, *mut bool) -> windows_core::HRESULT, + pub IsTypePresent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsMethodPresent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsMethodPresentWithArity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *mut bool) -> windows_core::HRESULT, + pub IsEventPresent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsPropertyPresent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsReadOnlyPropertyPresent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsWriteablePropertyPresent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsEnumNamedValuePresent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsApiContractPresentByMajor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u16, *mut bool) -> windows_core::HRESULT, + pub IsApiContractPresentByMajorAndMinor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u16, u16, *mut bool) -> windows_core::HRESULT, } pub struct ApiInformation; impl ApiInformation { pub fn IsTypePresent(typename: &windows_core::HSTRING) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTypePresent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(typename), &mut result__).map(|| result__) }) } pub fn IsMethodPresent(typename: &windows_core::HSTRING, methodname: &windows_core::HSTRING) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMethodPresent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(typename), core::mem::transmute_copy(methodname), &mut result__).map(|| result__) }) } pub fn IsMethodPresentWithArity(typename: &windows_core::HSTRING, methodname: &windows_core::HSTRING, inputparametercount: u32) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMethodPresentWithArity)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(typename), core::mem::transmute_copy(methodname), inputparametercount, &mut result__).map(|| result__) }) } pub fn IsEventPresent(typename: &windows_core::HSTRING, eventname: &windows_core::HSTRING) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEventPresent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(typename), core::mem::transmute_copy(eventname), &mut result__).map(|| result__) }) } pub fn IsPropertyPresent(typename: &windows_core::HSTRING, propertyname: &windows_core::HSTRING) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPropertyPresent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(typename), core::mem::transmute_copy(propertyname), &mut result__).map(|| result__) }) } pub fn IsReadOnlyPropertyPresent(typename: &windows_core::HSTRING, propertyname: &windows_core::HSTRING) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnlyPropertyPresent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(typename), core::mem::transmute_copy(propertyname), &mut result__).map(|| result__) }) } pub fn IsWriteablePropertyPresent(typename: &windows_core::HSTRING, propertyname: &windows_core::HSTRING) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWriteablePropertyPresent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(typename), core::mem::transmute_copy(propertyname), &mut result__).map(|| result__) }) } pub fn IsEnumNamedValuePresent(enumtypename: &windows_core::HSTRING, valuename: &windows_core::HSTRING) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnumNamedValuePresent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(enumtypename), core::mem::transmute_copy(valuename), &mut result__).map(|| result__) }) } pub fn IsApiContractPresentByMajor(contractname: &windows_core::HSTRING, majorversion: u16) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsApiContractPresentByMajor)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contractname), majorversion, &mut result__).map(|| result__) }) } pub fn IsApiContractPresentByMajorAndMinor(contractname: &windows_core::HSTRING, majorversion: u16, minorversion: u16) -> windows_core::Result { Self::IApiInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsApiContractPresentByMajorAndMinor)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contractname), majorversion, minorversion, &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/Foundation/impl.rs b/crates/libs/windows/src/Windows/Foundation/impl.rs index bd07137aed..669606d73c 100644 --- a/crates/libs/windows/src/Windows/Foundation/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/impl.rs @@ -335,7 +335,7 @@ impl windows_core::RuntimeName for IGetActivationFactory { } impl IGetActivationFactory_Vtbl { pub const fn new, Impl: IGetActivationFactory_Impl, const OFFSET: isize>() -> IGetActivationFactory_Vtbl { - unsafe extern "system" fn GetActivationFactory, Impl: IGetActivationFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, activatableclassid: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetActivationFactory, Impl: IGetActivationFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, activatableclassid: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGetActivationFactory_Impl::GetActivationFactory(this, core::mem::transmute(&activatableclassid)) { @@ -619,7 +619,7 @@ impl IPropertyValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetString, Impl: IPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetString, Impl: IPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertyValue_Impl::GetString(this) { @@ -752,7 +752,7 @@ impl IPropertyValue_Vtbl { let this = (*this).get_impl(); IPropertyValue_Impl::GetBooleanArray(this, windows_core::ArrayProxy::from_raw_parts(core::mem::transmute_copy(&value), value_array_size).as_array()).into() } - unsafe extern "system" fn GetStringArray, Impl: IPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value_array_size: *mut u32, value: *mut *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStringArray, Impl: IPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value_array_size: *mut u32, value: *mut *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyValue_Impl::GetStringArray(this, windows_core::ArrayProxy::from_raw_parts(core::mem::transmute_copy(&value), value_array_size).as_array()).into() @@ -914,7 +914,7 @@ impl windows_core::RuntimeName for IStringable { } impl IStringable_Vtbl { pub const fn new, Impl: IStringable_Impl, const OFFSET: isize>() -> IStringable_Vtbl { - unsafe extern "system" fn ToString, Impl: IStringable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ToString, Impl: IStringable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStringable_Impl::ToString(this) { @@ -941,7 +941,7 @@ impl windows_core::RuntimeName for IWwwFormUrlDecoderEntry { } impl IWwwFormUrlDecoderEntry_Vtbl { pub const fn new, Impl: IWwwFormUrlDecoderEntry_Impl, const OFFSET: isize>() -> IWwwFormUrlDecoderEntry_Vtbl { - unsafe extern "system" fn Name, Impl: IWwwFormUrlDecoderEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IWwwFormUrlDecoderEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWwwFormUrlDecoderEntry_Impl::Name(this) { @@ -953,7 +953,7 @@ impl IWwwFormUrlDecoderEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: IWwwFormUrlDecoderEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IWwwFormUrlDecoderEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWwwFormUrlDecoderEntry_Impl::Value(this) { diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index c33d5e3c78..a432947fef 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -10,7 +10,7 @@ windows_core::imp::define_interface!(IAsyncAction, IAsyncAction_Vtbl, 0x5a648006 impl std::ops::Deref for IAsyncAction { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAsyncAction, windows_core::IUnknown, windows_core::IInspectable); @@ -26,7 +26,7 @@ impl IAsyncAction { pub fn Completed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -37,21 +37,21 @@ impl IAsyncAction { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -113,7 +113,7 @@ where impl std::ops::Deref for IAsyncActionWithProgress { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IAsyncActionWithProgress {} @@ -132,7 +132,7 @@ impl IAsyncActionWithProgress windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -146,7 +146,7 @@ impl IAsyncActionWithProgress windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -157,21 +157,21 @@ impl IAsyncActionWithProgress windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -239,7 +239,7 @@ windows_core::imp::define_interface!(IAsyncInfo, IAsyncInfo_Vtbl, 0x00000036_000 impl std::ops::Deref for IAsyncInfo { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAsyncInfo, windows_core::IUnknown, windows_core::IInspectable); @@ -247,21 +247,21 @@ impl IAsyncInfo { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -294,7 +294,7 @@ where impl std::ops::Deref for IAsyncOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IAsyncOperation {} @@ -313,35 +313,35 @@ impl IAsyncOperation { pub fn Completed(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResults(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -412,7 +412,7 @@ where impl std::ops::Deref for IAsyncOperationWithProgress { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IAsyncOperationWithProgress {} @@ -431,7 +431,7 @@ impl windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -445,35 +445,35 @@ impl windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResults(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -543,7 +543,7 @@ windows_core::imp::define_interface!(IClosable, IClosable_Vtbl, 0x30d5a829_7fa4_ impl std::ops::Deref for IClosable { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IClosable, windows_core::IUnknown, windows_core::IInspectable); @@ -583,7 +583,7 @@ windows_core::imp::define_interface!(IGetActivationFactory, IGetActivationFactor impl std::ops::Deref for IGetActivationFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetActivationFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -591,7 +591,7 @@ impl IGetActivationFactory { pub fn GetActivationFactory(&self, activatableclassid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetActivationFactory)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -602,7 +602,7 @@ impl windows_core::RuntimeType for IGetActivationFactory { #[repr(C)] pub struct IGetActivationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetActivationFactory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetActivationFactory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuidHelperStatics, IGuidHelperStatics_Vtbl, 0x59c7966b_ae52_5283_ad7f_a1b9e9678add); impl windows_core::RuntimeType for IGuidHelperStatics { @@ -619,7 +619,7 @@ windows_core::imp::define_interface!(IMemoryBuffer, IMemoryBuffer_Vtbl, 0xfbc4dd impl std::ops::Deref for IMemoryBuffer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMemoryBuffer, windows_core::IUnknown, windows_core::IInspectable); @@ -628,7 +628,7 @@ impl IMemoryBuffer { pub fn CreateReference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -658,7 +658,7 @@ windows_core::imp::define_interface!(IMemoryBufferReference, IMemoryBufferRefere impl std::ops::Deref for IMemoryBufferReference { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMemoryBufferReference, windows_core::IUnknown, windows_core::IInspectable); @@ -667,7 +667,7 @@ impl IMemoryBufferReference { pub fn Capacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -677,7 +677,7 @@ impl IMemoryBufferReference { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -704,7 +704,7 @@ windows_core::imp::define_interface!(IPropertyValue, IPropertyValue_Vtbl, 0x4bd6 impl std::ops::Deref for IPropertyValue { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyValue, windows_core::IUnknown, windows_core::IInspectable); @@ -712,140 +712,140 @@ impl IPropertyValue { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsNumericScalar(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNumericScalar)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt8(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSingle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSingle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDouble(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDouble)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetChar16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChar16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetGuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDateTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetTimeSpan(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTimeSpan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -945,7 +945,7 @@ pub struct IPropertyValue_Vtbl { pub GetDouble: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub GetChar16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DateTime) -> windows_core::HRESULT, pub GetTimeSpan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimeSpan) -> windows_core::HRESULT, @@ -963,7 +963,7 @@ pub struct IPropertyValue_Vtbl { pub GetDoubleArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut f64) -> windows_core::HRESULT, pub GetChar16Array: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u16) -> windows_core::HRESULT, pub GetBooleanArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut bool) -> windows_core::HRESULT, - pub GetStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetInspectableArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetGuidArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, pub GetDateTimeArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut DateTime) -> windows_core::HRESULT, @@ -991,7 +991,7 @@ pub struct IPropertyValueStatics_Vtbl { pub CreateDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateChar16: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInspectable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateGuid: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1010,7 +1010,7 @@ pub struct IPropertyValueStatics_Vtbl { pub CreateDoubleArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateChar16Array: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateBooleanArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInspectableArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateGuidArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDateTimeArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1027,7 +1027,7 @@ where impl std::ops::Deref for IReference { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IReference {} @@ -1039,147 +1039,147 @@ impl IReference { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsNumericScalar(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNumericScalar)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt8(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt16(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt16(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt32(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt32(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt64(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt64(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSingle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSingle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDouble(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDouble)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetChar16(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChar16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetGuid(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDateTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetTimeSpan(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTimeSpan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1284,7 +1284,7 @@ where impl std::ops::Deref for IReferenceArray { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } impl windows_core::imp::CanInto for IReferenceArray {} @@ -1297,146 +1297,146 @@ impl IReferenceArray { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsNumericScalar(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNumericScalar)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt8(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt16(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt16(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt32(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt32(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt64(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetUInt64(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSingle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSingle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDouble(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDouble)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetChar16(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChar16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetGuid(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDateTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetTimeSpan(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTimeSpan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1537,7 +1537,7 @@ windows_core::imp::define_interface!(IStringable, IStringable_Vtbl, 0x96369f54_8 impl std::ops::Deref for IStringable { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStringable, windows_core::IUnknown, windows_core::IInspectable); @@ -1545,7 +1545,7 @@ impl IStringable { pub fn ToString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1556,7 +1556,7 @@ impl windows_core::RuntimeType for IStringable { #[repr(C)] pub struct IStringable_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUriEscapeStatics, IUriEscapeStatics_Vtbl, 0xc1d432ba_c824_4452_a7fd_512bc3bbe9a1); impl windows_core::RuntimeType for IUriEscapeStatics { @@ -1565,8 +1565,8 @@ impl windows_core::RuntimeType for IUriEscapeStatics { #[repr(C)] pub struct IUriEscapeStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UnescapeComponent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EscapeComponent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnescapeComponent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EscapeComponent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUriRuntimeClass, IUriRuntimeClass_Vtbl, 0x9e365e57_48b2_4160_956f_c7385120bbfc); impl windows_core::RuntimeType for IUriRuntimeClass { @@ -1575,23 +1575,23 @@ impl windows_core::RuntimeType for IUriRuntimeClass { #[repr(C)] pub struct IUriRuntimeClass_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AbsoluteUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Fragment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Host: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AbsoluteUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Fragment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Host: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub QueryParsed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RawUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SchemeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RawUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SchemeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Port: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Suspicious: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Equals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub CombineUri: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CombineUri: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUriRuntimeClassFactory, IUriRuntimeClassFactory_Vtbl, 0x44a9796f_723e_4fdf_a218_033e75b0c084); impl windows_core::RuntimeType for IUriRuntimeClassFactory { @@ -1600,8 +1600,8 @@ impl windows_core::RuntimeType for IUriRuntimeClassFactory { #[repr(C)] pub struct IUriRuntimeClassFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateUri: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithRelativeUri: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateUri: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithRelativeUri: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUriRuntimeClassWithAbsoluteCanonicalUri, IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl, 0x758d9661_221c_480f_a339_50656673f46f); impl windows_core::RuntimeType for IUriRuntimeClassWithAbsoluteCanonicalUri { @@ -1610,14 +1610,14 @@ impl windows_core::RuntimeType for IUriRuntimeClassWithAbsoluteCanonicalUri { #[repr(C)] pub struct IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AbsoluteCanonicalUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayIri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AbsoluteCanonicalUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayIri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWwwFormUrlDecoderEntry, IWwwFormUrlDecoderEntry_Vtbl, 0x125e7431_f678_4e8e_b670_20a9b06c512d); impl std::ops::Deref for IWwwFormUrlDecoderEntry { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWwwFormUrlDecoderEntry, windows_core::IUnknown, windows_core::IInspectable); @@ -1625,14 +1625,14 @@ impl IWwwFormUrlDecoderEntry { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1643,8 +1643,8 @@ impl windows_core::RuntimeType for IWwwFormUrlDecoderEntry { #[repr(C)] pub struct IWwwFormUrlDecoderEntry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWwwFormUrlDecoderRuntimeClass, IWwwFormUrlDecoderRuntimeClass_Vtbl, 0xd45a0451_f225_4542_9296_0e1df5d254df); impl windows_core::RuntimeType for IWwwFormUrlDecoderRuntimeClass { @@ -1653,7 +1653,7 @@ impl windows_core::RuntimeType for IWwwFormUrlDecoderRuntimeClass { #[repr(C)] pub struct IWwwFormUrlDecoderRuntimeClass_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetFirstValueByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFirstValueByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWwwFormUrlDecoderRuntimeClassFactory, IWwwFormUrlDecoderRuntimeClassFactory_Vtbl, 0x5b8c6b3d_24ae_41b5_a1bf_f0c3d544845b); impl windows_core::RuntimeType for IWwwFormUrlDecoderRuntimeClassFactory { @@ -1662,7 +1662,7 @@ impl windows_core::RuntimeType for IWwwFormUrlDecoderRuntimeClassFactory { #[repr(C)] pub struct IWwwFormUrlDecoderRuntimeClassFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWwwFormUrlDecoder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWwwFormUrlDecoder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -1683,7 +1683,7 @@ impl Deferral { P0: windows_core::Param, { Self::IDeferralFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1709,19 +1709,19 @@ pub struct GuidHelper; impl GuidHelper { pub fn CreateNewGuid() -> windows_core::Result { Self::IGuidHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNewGuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Empty() -> windows_core::Result { Self::IGuidHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Empty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Equals(target: windows_core::GUID, value: windows_core::GUID) -> windows_core::Result { Self::IGuidHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Equals)(windows_core::Interface::as_raw(this), &target, &value, &mut result__).map(|| result__) }) } @@ -1747,13 +1747,13 @@ impl MemoryBuffer { pub fn CreateReference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(capacity: u32) -> windows_core::Result { Self::IMemoryBufferFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), capacity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1779,79 +1779,79 @@ pub struct PropertyValue; impl PropertyValue { pub fn CreateEmpty() -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEmpty)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt8(value: u8) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt8)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt16(value: i16) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt16)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt16(value: u16) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt16)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt32(value: i32) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt32)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt32(value: u32) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt32)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt64(value: i64) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt64)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt64(value: u64) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt64)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSingle(value: f32) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSingle)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDouble(value: f64) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateChar16(value: u16) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateChar16)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateBoolean(value: bool) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBoolean)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateString(value: &windows_core::HSTRING) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1860,157 +1860,157 @@ impl PropertyValue { P0: windows_core::Param, { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInspectable)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateGuid(value: windows_core::GUID) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateGuid)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDateTime(value: DateTime) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTime)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateTimeSpan(value: TimeSpan) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTimeSpan)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreatePoint(value: Point) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePoint)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSize(value: Size) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSize)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateRect(value: Rect) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRect)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt8Array(value: &[u8]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt8Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt16Array(value: &[i16]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt16Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt16Array(value: &[u16]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt16Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt32Array(value: &[i32]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt32Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt32Array(value: &[u32]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt32Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInt64Array(value: &[i64]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInt64Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUInt64Array(value: &[u64]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUInt64Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSingleArray(value: &[f32]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSingleArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDoubleArray(value: &[f64]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDoubleArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateChar16Array(value: &[u16]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateChar16Array)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateBooleanArray(value: &[bool]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBooleanArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateStringArray(value: &[windows_core::HSTRING]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStringArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), core::mem::transmute(value.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInspectableArray(value: &[Option]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInspectableArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), core::mem::transmute(value.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateGuidArray(value: &[windows_core::GUID]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateGuidArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDateTimeArray(value: &[DateTime]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateTimeSpanArray(value: &[TimeSpan]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTimeSpanArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreatePointArray(value: &[Point]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePointArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSizeArray(value: &[Size]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSizeArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateRectArray(value: &[Rect]) -> windows_core::Result { Self::IPropertyValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRectArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2032,124 +2032,124 @@ impl Uri { pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnescapeComponent(tounescape: &windows_core::HSTRING) -> windows_core::Result { Self::IUriEscapeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnescapeComponent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tounescape), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EscapeComponent(toescape: &windows_core::HSTRING) -> windows_core::Result { Self::IUriEscapeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EscapeComponent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(toescape), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AbsoluteUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Domain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Domain)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Extension(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Extension)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Fragment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Fragment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Host(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Host)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Password(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Password)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Query(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Query)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn QueryParsed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryParsed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RawUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SchemeName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SchemeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Port(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Port)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Suspicious(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Suspicious)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2159,40 +2159,40 @@ impl Uri { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Equals)(windows_core::Interface::as_raw(this), puri.param().abi(), &mut result__).map(|| result__) } } pub fn CombineUri(&self, relativeuri: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CombineUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(relativeuri), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateUri(uri: &windows_core::HSTRING) -> windows_core::Result { Self::IUriRuntimeClassFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(uri), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithRelativeUri(baseuri: &windows_core::HSTRING, relativeuri: &windows_core::HSTRING) -> windows_core::Result { Self::IUriRuntimeClassFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithRelativeUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(baseuri), core::mem::transmute_copy(relativeuri), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AbsoluteCanonicalUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteCanonicalUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayIri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayIri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2230,7 +2230,7 @@ impl WwwFormUrlDecoder { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2238,7 +2238,7 @@ impl WwwFormUrlDecoder { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2246,7 +2246,7 @@ impl WwwFormUrlDecoder { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2257,7 +2257,7 @@ impl WwwFormUrlDecoder { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -2265,20 +2265,20 @@ impl WwwFormUrlDecoder { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } pub fn GetFirstValueByName(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFirstValueByName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateWwwFormUrlDecoder(query: &windows_core::HSTRING) -> windows_core::Result { Self::IWwwFormUrlDecoderRuntimeClassFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWwwFormUrlDecoder)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(query), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2325,14 +2325,14 @@ impl WwwFormUrlDecoderEntry { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 43a4c36fe5..e4abf328a0 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ICustomGameControllerFactory, ICustomGameCo impl std::ops::Deref for ICustomGameControllerFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICustomGameControllerFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -13,7 +13,7 @@ impl ICustomGameControllerFactory { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateGameController)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -66,7 +66,7 @@ windows_core::imp::define_interface!(IGameControllerInputSink, IGameControllerIn impl std::ops::Deref for IGameControllerInputSink { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGameControllerInputSink, windows_core::IUnknown, windows_core::IInspectable); @@ -93,7 +93,7 @@ windows_core::imp::define_interface!(IGameControllerProvider, IGameControllerPro impl std::ops::Deref for IGameControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGameControllerProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -101,35 +101,35 @@ impl IGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirmwareVersionInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareProductId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVendorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVersionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVersionInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsConnected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -161,7 +161,7 @@ windows_core::imp::define_interface!(IGipGameControllerInputSink, IGipGameContro impl std::ops::Deref for IGipGameControllerInputSink { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGipGameControllerInputSink, windows_core::IUnknown, windows_core::IInspectable); @@ -211,7 +211,7 @@ windows_core::imp::define_interface!(IHidGameControllerInputSink, IHidGameContro impl std::ops::Deref for IHidGameControllerInputSink { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHidGameControllerInputSink, windows_core::IUnknown, windows_core::IInspectable); @@ -255,7 +255,7 @@ windows_core::imp::define_interface!(IXusbGameControllerInputSink, IXusbGameCont impl std::ops::Deref for IXusbGameControllerInputSink { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXusbGameControllerInputSink, windows_core::IUnknown, windows_core::IInspectable); @@ -317,7 +317,7 @@ impl GameControllerFactoryManager { P1: windows_core::Param, { Self::IGameControllerFactoryManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetFactoryControllerFromGameController)(windows_core::Interface::as_raw(this), factory.param().abi(), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -343,21 +343,21 @@ impl GipFirmwareUpdateResult { pub fn ExtendedErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FinalComponentId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalComponentId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -383,35 +383,35 @@ impl GipGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirmwareVersionInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareProductId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVendorId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVersionInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVersionInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsConnected(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -430,7 +430,7 @@ impl GipGameControllerProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateFirmwareAsync)(windows_core::Interface::as_raw(this), firmwareimage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -456,49 +456,49 @@ impl HidGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirmwareVersionInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareProductId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVendorId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVersionInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVersionInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsConnected(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsageId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsageId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsagePage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsagePage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -536,35 +536,35 @@ impl XusbGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirmwareVersionInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareProductId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVendorId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVersionInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVersionInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsConnected(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 485891b058..1ee7aca14f 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -40,7 +40,7 @@ windows_core::imp::define_interface!(IForceFeedbackEffect, IForceFeedbackEffect_ impl std::ops::Deref for IForceFeedbackEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IForceFeedbackEffect, windows_core::IUnknown, windows_core::IInspectable); @@ -48,7 +48,7 @@ impl IForceFeedbackEffect { pub fn Gain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -59,7 +59,7 @@ impl IForceFeedbackEffect { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -156,7 +156,7 @@ impl ConditionForceEffect { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -167,14 +167,14 @@ impl ConditionForceEffect { } pub fn CreateInstance(effectkind: ConditionForceEffectKind) -> windows_core::Result { Self::IConditionForceEffectFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), effectkind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Gain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -185,7 +185,7 @@ impl ConditionForceEffect { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -241,7 +241,7 @@ impl ConstantForceEffect { pub fn Gain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -252,7 +252,7 @@ impl ConstantForceEffect { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -285,14 +285,14 @@ impl ForceFeedbackMotor { pub fn AreEffectsPaused(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreEffectsPaused)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MasterGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MasterGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -303,14 +303,14 @@ impl ForceFeedbackMotor { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SupportedAxes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedAxes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -320,7 +320,7 @@ impl ForceFeedbackMotor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadEffectAsync)(windows_core::Interface::as_raw(this), effect.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -339,21 +339,21 @@ impl ForceFeedbackMotor { pub fn TryDisableAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDisableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryEnableAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryEnableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryResetAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryResetAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -363,7 +363,7 @@ impl ForceFeedbackMotor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUnloadEffectAsync)(windows_core::Interface::as_raw(this), effect.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -389,7 +389,7 @@ impl PeriodicForceEffect { pub fn Gain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -400,7 +400,7 @@ impl PeriodicForceEffect { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -415,7 +415,7 @@ impl PeriodicForceEffect { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -431,7 +431,7 @@ impl PeriodicForceEffect { } pub fn CreateInstance(effectkind: PeriodicForceEffectKind) -> windows_core::Result { Self::IPeriodicForceEffectFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), effectkind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -469,7 +469,7 @@ impl RampForceEffect { pub fn Gain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -480,7 +480,7 @@ impl RampForceEffect { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 31136b5c6a..da9b123269 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs @@ -6,11 +6,11 @@ impl windows_core::RuntimeType for IGameControllerProviderInfoStatics { pub struct IGameControllerProviderInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Gaming_Input_Custom")] - pub GetParentProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetParentProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Gaming_Input_Custom"))] GetParentProviderId: usize, #[cfg(feature = "Gaming_Input_Custom")] - pub GetProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Gaming_Input_Custom"))] GetProviderId: usize, } @@ -22,7 +22,7 @@ impl GameControllerProviderInfo { P0: windows_core::Param, { Self::IGameControllerProviderInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetParentProviderId)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -32,7 +32,7 @@ impl GameControllerProviderInfo { P0: windows_core::Param, { Self::IGameControllerProviderInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProviderId)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs index a8f1eff5ae..7c1e4c3b32 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs @@ -71,7 +71,7 @@ windows_core::imp::define_interface!(IGameController, IGameController_Vtbl, 0x1b impl std::ops::Deref for IGameController { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGameController, windows_core::IUnknown, windows_core::IInspectable); @@ -82,7 +82,7 @@ impl IGameController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetConnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -96,7 +96,7 @@ impl IGameController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetDisconnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -111,7 +111,7 @@ impl IGameController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -122,14 +122,14 @@ impl IGameController { pub fn Headset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWireless(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWireless)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -137,7 +137,7 @@ impl IGameController { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -168,7 +168,7 @@ windows_core::imp::define_interface!(IGameControllerBatteryInfo, IGameController impl std::ops::Deref for IGameControllerBatteryInfo { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGameControllerBatteryInfo, windows_core::IUnknown, windows_core::IInspectable); @@ -177,7 +177,7 @@ impl IGameControllerBatteryInfo { pub fn TryGetBatteryReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -245,8 +245,8 @@ impl windows_core::RuntimeType for IHeadset { #[repr(C)] pub struct IHeadset_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CaptureDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RenderDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CaptureDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RenderDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRacingWheel, IRacingWheel_Vtbl, 0xf546656f_e106_4c82_a90f_554012904b85); impl windows_core::RuntimeType for IRacingWheel { @@ -323,8 +323,8 @@ pub struct IRawGameController2_Vtbl { pub SimpleHapticsControllers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Devices_Haptics", feature = "Foundation_Collections")))] SimpleHapticsControllers: usize, - pub NonRoamableId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NonRoamableId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawGameControllerStatics, IRawGameControllerStatics_Vtbl, 0xeb8d0792_e95a_4b19_afc7_0a59f8bf759e); impl windows_core::RuntimeType for IRawGameControllerStatics { @@ -388,14 +388,14 @@ impl ArcadeStick { pub fn GetButtonLabel(&self, button: ArcadeStickButtons) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetButtonLabel)(windows_core::Interface::as_raw(this), button, &mut result__).map(|| result__) } } pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -404,7 +404,7 @@ impl ArcadeStick { P0: windows_core::Param>, { Self::IArcadeStickStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ArcadeStickAdded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -416,7 +416,7 @@ impl ArcadeStick { P0: windows_core::Param>, { Self::IArcadeStickStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ArcadeStickRemoved)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -426,7 +426,7 @@ impl ArcadeStick { #[cfg(feature = "Foundation_Collections")] pub fn ArcadeSticks() -> windows_core::Result> { Self::IArcadeStickStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ArcadeSticks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -435,7 +435,7 @@ impl ArcadeStick { P0: windows_core::Param, { Self::IArcadeStickStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -445,7 +445,7 @@ impl ArcadeStick { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetConnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -459,7 +459,7 @@ impl ArcadeStick { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetDisconnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -474,7 +474,7 @@ impl ArcadeStick { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -485,14 +485,14 @@ impl ArcadeStick { pub fn Headset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWireless(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWireless)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -500,7 +500,7 @@ impl ArcadeStick { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -508,7 +508,7 @@ impl ArcadeStick { pub fn TryGetBatteryReport(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -544,21 +544,21 @@ impl FlightStick { pub fn HatSwitchKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HatSwitchKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetButtonLabel(&self, button: FlightStickButtons) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetButtonLabel)(windows_core::Interface::as_raw(this), button, &mut result__).map(|| result__) } } pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -567,7 +567,7 @@ impl FlightStick { P0: windows_core::Param>, { Self::IFlightStickStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlightStickAdded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -579,7 +579,7 @@ impl FlightStick { P0: windows_core::Param>, { Self::IFlightStickStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlightStickRemoved)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -589,7 +589,7 @@ impl FlightStick { #[cfg(feature = "Foundation_Collections")] pub fn FlightSticks() -> windows_core::Result> { Self::IFlightStickStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlightSticks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -598,7 +598,7 @@ impl FlightStick { P0: windows_core::Param, { Self::IFlightStickStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -608,7 +608,7 @@ impl FlightStick { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetConnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -622,7 +622,7 @@ impl FlightStick { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetDisconnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -637,7 +637,7 @@ impl FlightStick { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -648,14 +648,14 @@ impl FlightStick { pub fn Headset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWireless(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWireless)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -663,7 +663,7 @@ impl FlightStick { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -671,7 +671,7 @@ impl FlightStick { pub fn TryGetBatteryReport(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -705,7 +705,7 @@ impl Gamepad { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetConnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -719,7 +719,7 @@ impl Gamepad { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetDisconnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -734,7 +734,7 @@ impl Gamepad { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -745,14 +745,14 @@ impl Gamepad { pub fn Headset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWireless(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWireless)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -760,7 +760,7 @@ impl Gamepad { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -768,14 +768,14 @@ impl Gamepad { pub fn TryGetBatteryReport(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Vibration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Vibration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -786,14 +786,14 @@ impl Gamepad { pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetButtonLabel(&self, button: GamepadButtons) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetButtonLabel)(windows_core::Interface::as_raw(this), button, &mut result__).map(|| result__) } } @@ -802,7 +802,7 @@ impl Gamepad { P0: windows_core::Param>, { Self::IGamepadStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GamepadAdded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -814,7 +814,7 @@ impl Gamepad { P0: windows_core::Param>, { Self::IGamepadStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GamepadRemoved)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -824,7 +824,7 @@ impl Gamepad { #[cfg(feature = "Foundation_Collections")] pub fn Gamepads() -> windows_core::Result> { Self::IGamepadStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gamepads)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -833,7 +833,7 @@ impl Gamepad { P0: windows_core::Param, { Self::IGamepadStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -870,21 +870,21 @@ impl Headset { pub fn TryGetBatteryReport(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CaptureDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenderDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -913,7 +913,7 @@ impl RacingWheel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetConnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -927,7 +927,7 @@ impl RacingWheel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetDisconnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -942,7 +942,7 @@ impl RacingWheel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -953,14 +953,14 @@ impl RacingWheel { pub fn Headset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWireless(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWireless)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -968,7 +968,7 @@ impl RacingWheel { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -976,42 +976,42 @@ impl RacingWheel { pub fn TryGetBatteryReport(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasClutch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasClutch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasHandbrake(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasHandbrake)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasPatternShifter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasPatternShifter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxPatternShifterGear(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPatternShifterGear)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxWheelAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxWheelAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1019,21 +1019,21 @@ impl RacingWheel { pub fn WheelMotor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WheelMotor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetButtonLabel(&self, button: RacingWheelButtons) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetButtonLabel)(windows_core::Interface::as_raw(this), button, &mut result__).map(|| result__) } } pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1042,7 +1042,7 @@ impl RacingWheel { P0: windows_core::Param>, { Self::IRacingWheelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RacingWheelAdded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -1054,7 +1054,7 @@ impl RacingWheel { P0: windows_core::Param>, { Self::IRacingWheelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RacingWheelRemoved)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -1064,7 +1064,7 @@ impl RacingWheel { #[cfg(feature = "Foundation_Collections")] pub fn RacingWheels() -> windows_core::Result> { Self::IRacingWheelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RacingWheels)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1073,7 +1073,7 @@ impl RacingWheel { P0: windows_core::Param, { Self::IRacingWheelStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1112,7 +1112,7 @@ impl RawGameController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetConnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1126,7 +1126,7 @@ impl RawGameController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetDisconnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1141,7 +1141,7 @@ impl RawGameController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1152,14 +1152,14 @@ impl RawGameController { pub fn Headset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWireless(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWireless)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1167,7 +1167,7 @@ impl RawGameController { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1175,21 +1175,21 @@ impl RawGameController { pub fn TryGetBatteryReport(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AxisCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AxisCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ButtonCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1197,49 +1197,49 @@ impl RawGameController { pub fn ForceFeedbackMotors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceFeedbackMotors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HardwareProductId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareVendorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareVendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SwitchCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SwitchCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetButtonLabel(&self, buttonindex: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetButtonLabel)(windows_core::Interface::as_raw(this), buttonindex, &mut result__).map(|| result__) } } pub fn GetCurrentReading(&self, buttonarray: &mut [bool], switcharray: &mut [GameControllerSwitchPosition], axisarray: &mut [f64]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), buttonarray.len().try_into().unwrap(), buttonarray.as_mut_ptr(), switcharray.len().try_into().unwrap(), switcharray.as_mut_ptr(), axisarray.len().try_into().unwrap(), axisarray.as_mut_ptr(), &mut result__).map(|| result__) } } pub fn GetSwitchKind(&self, switchindex: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSwitchKind)(windows_core::Interface::as_raw(this), switchindex, &mut result__).map(|| result__) } } @@ -1247,21 +1247,21 @@ impl RawGameController { pub fn SimpleHapticsControllers(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsControllers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NonRoamableId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NonRoamableId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1270,7 +1270,7 @@ impl RawGameController { P0: windows_core::Param>, { Self::IRawGameControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawGameControllerAdded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -1282,7 +1282,7 @@ impl RawGameController { P0: windows_core::Param>, { Self::IRawGameControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawGameControllerRemoved)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -1292,7 +1292,7 @@ impl RawGameController { #[cfg(feature = "Foundation_Collections")] pub fn RawGameControllers() -> windows_core::Result> { Self::IRawGameControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawGameControllers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1301,7 +1301,7 @@ impl RawGameController { P0: windows_core::Param, { Self::IRawGameControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1335,7 +1335,7 @@ impl UINavigationController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetConnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1349,7 +1349,7 @@ impl UINavigationController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeadsetDisconnected)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1364,7 +1364,7 @@ impl UINavigationController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1375,14 +1375,14 @@ impl UINavigationController { pub fn Headset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWireless(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWireless)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1390,7 +1390,7 @@ impl UINavigationController { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1398,28 +1398,28 @@ impl UINavigationController { pub fn TryGetBatteryReport(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentReading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentReading)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetOptionalButtonLabel(&self, button: OptionalUINavigationButtons) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOptionalButtonLabel)(windows_core::Interface::as_raw(this), button, &mut result__).map(|| result__) } } pub fn GetRequiredButtonLabel(&self, button: RequiredUINavigationButtons) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRequiredButtonLabel)(windows_core::Interface::as_raw(this), button, &mut result__).map(|| result__) } } @@ -1428,7 +1428,7 @@ impl UINavigationController { P0: windows_core::Param>, { Self::IUINavigationControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UINavigationControllerAdded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -1440,7 +1440,7 @@ impl UINavigationController { P0: windows_core::Param>, { Self::IUINavigationControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UINavigationControllerRemoved)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -1450,7 +1450,7 @@ impl UINavigationController { #[cfg(feature = "Foundation_Collections")] pub fn UINavigationControllers() -> windows_core::Result> { Self::IUINavigationControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UINavigationControllers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1459,7 +1459,7 @@ impl UINavigationController { P0: windows_core::Param, { Self::IUINavigationControllerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromGameController)(windows_core::Interface::as_raw(this), gamecontroller.param().abi(), &mut result__).and_then(|| windows_core::Type::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 1b04bfbe0e..327d1c5e60 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IGameListEntry, IGameListEntry_Vtbl, 0x7359 impl std::ops::Deref for IGameListEntry { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGameListEntry, windows_core::IUnknown, windows_core::IInspectable); @@ -11,21 +11,21 @@ impl IGameListEntry { pub fn DisplayInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LaunchAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -33,14 +33,14 @@ impl IGameListEntry { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetCategoryAsync(&self, value: GameListCategory) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetCategoryAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -75,17 +75,17 @@ pub struct IGameListEntry2_Vtbl { pub LauncherExecutable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] LauncherExecutable: usize, - pub LaunchParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LaunchParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage")] pub SetLauncherExecutableFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] SetLauncherExecutableFileAsync: usize, #[cfg(feature = "Storage")] - pub SetLauncherExecutableFileWithParamsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetLauncherExecutableFileWithParamsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] SetLauncherExecutableFileWithParamsAsync: usize, - pub TitleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitleIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TitleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitleIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GameModeConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameListStatics, IGameListStatics_Vtbl, 0x2ddd0f6f_9c66_4b05_945c_d6ed78491b8c); @@ -100,7 +100,7 @@ pub struct IGameListStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub FindAllAsyncPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllAsyncPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsyncPackageFamilyName: usize, pub GameAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -179,14 +179,14 @@ impl GameList { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> windows_core::Result>> { Self::IGameListStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsyncPackageFamilyName(packagefamilyname: &windows_core::HSTRING) -> windows_core::Result>> { Self::IGameListStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsyncPackageFamilyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -195,7 +195,7 @@ impl GameList { P0: windows_core::Param, { Self::IGameListStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GameAdded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -207,7 +207,7 @@ impl GameList { P0: windows_core::Param, { Self::IGameListStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GameRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -219,7 +219,7 @@ impl GameList { P0: windows_core::Param, { Self::IGameListStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GameUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -232,7 +232,7 @@ impl GameList { P1: windows_core::Param, { Self::IGameListStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MergeEntriesAsync)(windows_core::Interface::as_raw(this), left.param().abi(), right.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -242,7 +242,7 @@ impl GameList { P0: windows_core::Param, { Self::IGameListStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnmergeEntryAsync)(windows_core::Interface::as_raw(this), mergedentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -270,21 +270,21 @@ impl GameListEntry { pub fn DisplayInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LaunchAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -292,21 +292,21 @@ impl GameListEntry { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetCategoryAsync(&self, value: GameListCategory) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetCategoryAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LaunchableState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchableState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -314,14 +314,14 @@ impl GameListEntry { pub fn LauncherExecutable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LauncherExecutable)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LaunchParameters(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchParameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -332,7 +332,7 @@ impl GameListEntry { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetLauncherExecutableFileAsync)(windows_core::Interface::as_raw(this), executablefile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -343,28 +343,28 @@ impl GameListEntry { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetLauncherExecutableFileWithParamsAsync)(windows_core::Interface::as_raw(this), executablefile.param().abi(), core::mem::transmute_copy(launchparams), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TitleId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TitleId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetTitleIdAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetTitleIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GameModeConfiguration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GameModeConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -389,7 +389,7 @@ impl GameModeConfiguration { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -401,14 +401,14 @@ impl GameModeConfiguration { pub fn RelatedProcessNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelatedProcessNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PercentGpuTimeAllocatedToGame(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PercentGpuTimeAllocatedToGame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -422,7 +422,7 @@ impl GameModeConfiguration { pub fn PercentGpuMemoryAllocatedToGame(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PercentGpuMemoryAllocatedToGame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -436,7 +436,7 @@ impl GameModeConfiguration { pub fn PercentGpuMemoryAllocatedToSystemCompositor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PercentGpuMemoryAllocatedToSystemCompositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -450,7 +450,7 @@ impl GameModeConfiguration { pub fn MaxCpuCount(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxCpuCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -464,7 +464,7 @@ impl GameModeConfiguration { pub fn CpuExclusivityMaskLow(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CpuExclusivityMaskLow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -478,7 +478,7 @@ impl GameModeConfiguration { pub fn CpuExclusivityMaskHigh(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CpuExclusivityMaskHigh)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -492,7 +492,7 @@ impl GameModeConfiguration { pub fn AffinitizeToExclusiveCpus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AffinitizeToExclusiveCpus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -503,7 +503,7 @@ impl GameModeConfiguration { pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -529,20 +529,20 @@ impl GameModeUserConfiguration { pub fn GamingRelatedProcessNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GamingRelatedProcessNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IGameModeUserConfigurationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -707,7 +707,7 @@ impl windows_core::Result<()> + Send + 'stat } remaining } - unsafe extern "system" fn Invoke(this: *mut core::ffi::c_void, identifier: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Invoke(this: *mut core::ffi::c_void, identifier: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = &mut *(this as *mut *mut core::ffi::c_void as *mut Self); (this.invoke)(core::mem::transmute(&identifier)).into() } @@ -718,7 +718,7 @@ impl windows_core::RuntimeType for GameListRemovedEventHandler { #[repr(C)] pub struct GameListRemovedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "implement")] core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs index 09f2dc7475..7750346a42 100644 --- a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs @@ -19,10 +19,10 @@ impl windows_core::RuntimeType for IGameChatMessageReceivedEventArgs { #[repr(C)] pub struct IGameChatMessageReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SenderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Origin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GameChatMessageOrigin) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameChatOverlay, IGameChatOverlay_Vtbl, 0xfbc64865_f6fc_4a48_ae07_03ac6ed43704); @@ -34,7 +34,7 @@ pub struct IGameChatOverlay_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DesiredPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GameChatOverlayPosition) -> windows_core::HRESULT, pub SetDesiredPosition: unsafe extern "system" fn(*mut core::ffi::c_void, GameChatOverlayPosition) -> windows_core::HRESULT, - pub AddMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, GameChatMessageOrigin) -> windows_core::HRESULT, + pub AddMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, GameChatMessageOrigin) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameChatOverlayMessageSource, IGameChatOverlayMessageSource_Vtbl, 0x1e177397_59fb_4f4f_8e9a_80acf817743c); impl windows_core::RuntimeType for IGameChatOverlayMessageSource { @@ -79,7 +79,7 @@ impl GameBar { P0: windows_core::Param>, { Self::IGameBarStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisibilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -91,7 +91,7 @@ impl GameBar { P0: windows_core::Param>, { Self::IGameBarStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInputRedirectedChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -100,13 +100,13 @@ impl GameBar { } pub fn Visible() -> windows_core::Result { Self::IGameBarStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsInputRedirected() -> windows_core::Result { Self::IGameBarStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInputRedirected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -127,35 +127,35 @@ impl GameChatMessageReceivedEventArgs { pub fn AppId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SenderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SenderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Origin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Origin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -180,7 +180,7 @@ impl GameChatOverlay { pub fn DesiredPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -194,7 +194,7 @@ impl GameChatOverlay { } pub fn GetDefault() -> windows_core::Result { Self::IGameChatOverlayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -234,7 +234,7 @@ impl GameChatOverlayMessageSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -270,7 +270,7 @@ impl GameUIProviderActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -278,7 +278,7 @@ impl GameUIProviderActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -286,7 +286,7 @@ impl GameUIProviderActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -294,7 +294,7 @@ impl GameUIProviderActivatedEventArgs { pub fn GameUIArgs(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GameUIArgs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 d374cf56ad..50ab2cc694 100644 --- a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs @@ -18,7 +18,7 @@ impl windows_core::RuntimeType for IGameSaveBlobInfo { #[repr(C)] pub struct IGameSaveBlobInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameSaveBlobInfoGetResult, IGameSaveBlobInfoGetResult_Vtbl, 0xc7578582_3697_42bf_989c_665d923b5231); @@ -52,10 +52,10 @@ impl windows_core::RuntimeType for IGameSaveContainer { #[repr(C)] pub struct IGameSaveContainer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Provider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] - pub SubmitUpdatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SubmitUpdatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] SubmitUpdatesAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] @@ -67,10 +67,10 @@ pub struct IGameSaveContainer_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub SubmitPropertySetUpdatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SubmitPropertySetUpdatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SubmitPropertySetUpdatesAsync: usize, - pub CreateBlobInfoQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateBlobInfoQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameSaveContainerInfo, IGameSaveContainerInfo_Vtbl, 0xb7e27300_155d_4bb4_b2ba_930306f391b5); impl windows_core::RuntimeType for IGameSaveContainerInfo { @@ -79,9 +79,9 @@ impl windows_core::RuntimeType for IGameSaveContainerInfo { #[repr(C)] pub struct IGameSaveContainerInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TotalSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LastModifiedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub NeedsSync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -129,10 +129,10 @@ pub struct IGameSaveProvider_Vtbl { pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] User: usize, - pub CreateContainer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteContainerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateContainer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteContainerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateContainerInfoQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateContainerInfoQueryWithName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateContainerInfoQueryWithName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRemainingBytesInQuotaAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub ContainersChangedSinceLastSync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -157,11 +157,11 @@ impl windows_core::RuntimeType for IGameSaveProviderStatics { pub struct IGameSaveProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "System")] - pub GetForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] GetForUserAsync: usize, #[cfg(feature = "System")] - pub GetSyncOnDemandForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSyncOnDemandForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] GetSyncOnDemandForUserAsync: usize, } @@ -173,7 +173,7 @@ impl GameSaveBlobGetResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -181,7 +181,7 @@ impl GameSaveBlobGetResult { pub fn Value(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -206,14 +206,14 @@ impl GameSaveBlobInfo { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -238,7 +238,7 @@ impl GameSaveBlobInfoGetResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -246,7 +246,7 @@ impl GameSaveBlobInfoGetResult { pub fn Value(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -271,21 +271,21 @@ impl GameSaveBlobInfoQuery { pub fn GetBlobInfoAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBlobInfoAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetBlobInfoWithIndexAndMaxAsync(&self, startindex: u32, maxnumberofitems: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBlobInfoWithIndexAndMaxAsync)(windows_core::Interface::as_raw(this), startindex, maxnumberofitems, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemCountAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -310,14 +310,14 @@ impl GameSaveContainer { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Provider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Provider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -329,7 +329,7 @@ impl GameSaveContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubmitUpdatesAsync)(windows_core::Interface::as_raw(this), blobstowrite.param().abi(), blobstodelete.param().abi(), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -340,7 +340,7 @@ impl GameSaveContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), blobstoread.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -351,7 +351,7 @@ impl GameSaveContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsync)(windows_core::Interface::as_raw(this), blobstoread.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -363,14 +363,14 @@ impl GameSaveContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubmitPropertySetUpdatesAsync)(windows_core::Interface::as_raw(this), blobstowrite.param().abi(), blobstodelete.param().abi(), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateBlobInfoQuery(&self, blobnameprefix: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBlobInfoQuery)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(blobnameprefix), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -395,35 +395,35 @@ impl GameSaveContainerInfo { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TotalSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastModifiedTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastModifiedTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NeedsSync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeedsSync)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -448,7 +448,7 @@ impl GameSaveContainerInfoGetResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -456,7 +456,7 @@ impl GameSaveContainerInfoGetResult { pub fn Value(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -481,21 +481,21 @@ impl GameSaveContainerInfoQuery { pub fn GetContainerInfoAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContainerInfoAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContainerInfoWithIndexAndMaxAsync(&self, startindex: u32, maxnumberofitems: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContainerInfoWithIndexAndMaxAsync)(windows_core::Interface::as_raw(this), startindex, maxnumberofitems, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemCountAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -520,7 +520,7 @@ impl GameSaveOperationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -546,42 +546,42 @@ impl GameSaveProvider { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateContainer(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContainer)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteContainerAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteContainerAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateContainerInfoQuery(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContainerInfoQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateContainerInfoQueryWithName(&self, containernameprefix: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContainerInfoQueryWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(containernameprefix), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetRemainingBytesInQuotaAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRemainingBytesInQuotaAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -589,7 +589,7 @@ impl GameSaveProvider { pub fn ContainersChangedSinceLastSync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainersChangedSinceLastSync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -599,7 +599,7 @@ impl GameSaveProvider { P0: windows_core::Param, { Self::IGameSaveProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(serviceconfigid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -609,7 +609,7 @@ impl GameSaveProvider { P0: windows_core::Param, { Self::IGameSaveProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSyncOnDemandForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(serviceconfigid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -639,14 +639,14 @@ impl GameSaveProviderGetResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 eaa0ac39a5..0915ff428f 100644 --- a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for ICharacterGrouping { #[repr(C)] pub struct ICharacterGrouping_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub First: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub First: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICharacterGroupings, ICharacterGroupings_Vtbl, 0xb8d20a75_d4cf_4055_80e5_ce169c226496); impl windows_core::RuntimeType for ICharacterGroupings { @@ -15,7 +15,7 @@ impl windows_core::RuntimeType for ICharacterGroupings { #[repr(C)] pub struct ICharacterGroupings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Lookup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Lookup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICharacterGroupingsFactory, ICharacterGroupingsFactory_Vtbl, 0x99ea9fd9_886d_4401_9f98_69c82d4c2f78); impl windows_core::RuntimeType for ICharacterGroupingsFactory { @@ -24,7 +24,7 @@ impl windows_core::RuntimeType for ICharacterGroupingsFactory { #[repr(C)] pub struct ICharacterGroupingsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -34,14 +34,14 @@ impl CharacterGrouping { pub fn First(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -75,13 +75,13 @@ impl CharacterGroupings { pub fn Lookup(&self, text: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(language: &windows_core::HSTRING) -> windows_core::Result { Self::ICharacterGroupingsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(language), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -89,7 +89,7 @@ impl CharacterGroupings { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -97,7 +97,7 @@ impl CharacterGroupings { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -105,7 +105,7 @@ impl CharacterGroupings { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -116,7 +116,7 @@ impl CharacterGroupings { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -124,7 +124,7 @@ impl CharacterGroupings { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs index 21e2a8fb39..71f21b41f1 100644 --- a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs @@ -9,17 +9,17 @@ pub struct IDateTimeFormatter_Vtbl { pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Languages: usize, - pub GeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Calendar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Clock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Calendar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Clock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Patterns: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Patterns: usize, - pub Template: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Template: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IncludeYear: unsafe extern "system" fn(*mut core::ffi::c_void, *mut YearFormat) -> windows_core::HRESULT, pub IncludeMonth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MonthFormat) -> windows_core::HRESULT, pub IncludeDayOfWeek: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DayOfWeekFormat) -> windows_core::HRESULT, @@ -27,8 +27,8 @@ pub struct IDateTimeFormatter_Vtbl { pub IncludeHour: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HourFormat) -> windows_core::HRESULT, pub IncludeMinute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MinuteFormat) -> windows_core::HRESULT, pub IncludeSecond: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SecondFormat) -> windows_core::HRESULT, - pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ResolvedGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolvedGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDateTimeFormatter2, IDateTimeFormatter2_Vtbl, 0x27c91a86_bdaa_4fd0_9e36_671d5aa5ee03); impl windows_core::RuntimeType for IDateTimeFormatter2 { @@ -37,7 +37,7 @@ impl windows_core::RuntimeType for IDateTimeFormatter2 { #[repr(C)] pub struct IDateTimeFormatter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FormatUsingTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatUsingTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDateTimeFormatterFactory, IDateTimeFormatterFactory_Vtbl, 0xec8d8a53_1a2e_412d_8815_3b745fb1a2a0); impl windows_core::RuntimeType for IDateTimeFormatterFactory { @@ -46,13 +46,13 @@ impl windows_core::RuntimeType for IDateTimeFormatterFactory { #[repr(C)] pub struct IDateTimeFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateDateTimeFormatter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDateTimeFormatter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub CreateDateTimeFormatterLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDateTimeFormatterLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateDateTimeFormatterLanguages: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateDateTimeFormatterContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDateTimeFormatterContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateDateTimeFormatterContext: usize, pub CreateDateTimeFormatterDate: unsafe extern "system" fn(*mut core::ffi::c_void, YearFormat, MonthFormat, DayFormat, DayOfWeekFormat, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -62,7 +62,7 @@ pub struct IDateTimeFormatterFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateDateTimeFormatterDateTimeLanguages: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateDateTimeFormatterDateTimeContext: unsafe extern "system" fn(*mut core::ffi::c_void, YearFormat, MonthFormat, DayFormat, DayOfWeekFormat, HourFormat, MinuteFormat, SecondFormat, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDateTimeFormatterDateTimeContext: unsafe extern "system" fn(*mut core::ffi::c_void, YearFormat, MonthFormat, DayFormat, DayOfWeekFormat, HourFormat, MinuteFormat, SecondFormat, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateDateTimeFormatterDateTimeContext: usize, } @@ -87,35 +87,35 @@ impl DateTimeFormatter { pub fn Languages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GeographicRegion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Calendar(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Calendar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Clock(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clock)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NumeralSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumeralSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -127,97 +127,97 @@ impl DateTimeFormatter { pub fn Patterns(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Patterns)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Template(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Template)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Format(&self, value: super::super::Foundation::DateTime) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IncludeYear(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeYear)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IncludeMonth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeMonth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IncludeDayOfWeek(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeDayOfWeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IncludeDay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeDay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IncludeHour(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeHour)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IncludeMinute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeMinute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IncludeSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResolvedGeographicRegion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedGeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUsingTimeZone(&self, datetime: super::super::Foundation::DateTime, timezoneid: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUsingTimeZone)(windows_core::Interface::as_raw(this), datetime, core::mem::transmute_copy(timezoneid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateDateTimeFormatter(formattemplate: &windows_core::HSTRING) -> windows_core::Result { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeFormatter)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(formattemplate), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -227,7 +227,7 @@ impl DateTimeFormatter { P0: windows_core::Param>, { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeFormatterLanguages)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(formattemplate), languages.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -237,19 +237,19 @@ impl DateTimeFormatter { P0: windows_core::Param>, { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeFormatterContext)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(formattemplate), languages.param().abi(), core::mem::transmute_copy(geographicregion), core::mem::transmute_copy(calendar), core::mem::transmute_copy(clock), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDateTimeFormatterDate(yearformat: YearFormat, monthformat: MonthFormat, dayformat: DayFormat, dayofweekformat: DayOfWeekFormat) -> windows_core::Result { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeFormatterDate)(windows_core::Interface::as_raw(this), yearformat, monthformat, dayformat, dayofweekformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateDateTimeFormatterTime(hourformat: HourFormat, minuteformat: MinuteFormat, secondformat: SecondFormat) -> windows_core::Result { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeFormatterTime)(windows_core::Interface::as_raw(this), hourformat, minuteformat, secondformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -259,7 +259,7 @@ impl DateTimeFormatter { P0: windows_core::Param>, { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeFormatterDateTimeLanguages)(windows_core::Interface::as_raw(this), yearformat, monthformat, dayformat, dayofweekformat, hourformat, minuteformat, secondformat, languages.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -269,31 +269,31 @@ impl DateTimeFormatter { P0: windows_core::Param>, { Self::IDateTimeFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDateTimeFormatterDateTimeContext)(windows_core::Interface::as_raw(this), yearformat, monthformat, dayformat, dayofweekformat, hourformat, minuteformat, secondformat, languages.param().abi(), core::mem::transmute_copy(geographicregion), core::mem::transmute_copy(calendar), core::mem::transmute_copy(clock), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LongDate() -> windows_core::Result { Self::IDateTimeFormatterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LongDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LongTime() -> windows_core::Result { Self::IDateTimeFormatterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LongTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShortDate() -> windows_core::Result { Self::IDateTimeFormatterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShortDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShortTime() -> windows_core::Result { Self::IDateTimeFormatterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShortTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 e4fbb8920a..f0b8eb1a8d 100644 --- a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for ILanguageFont { #[repr(C)] pub struct ILanguageFont_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FontFamily: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FontFamily: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "UI_Text")] pub FontWeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Text::FontWeight) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Text"))] @@ -46,7 +46,7 @@ impl windows_core::RuntimeType for ILanguageFontGroupFactory { #[repr(C)] pub struct ILanguageFontGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateLanguageFontGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLanguageFontGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -56,7 +56,7 @@ impl LanguageFont { pub fn FontFamily(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontFamily)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -64,7 +64,7 @@ impl LanguageFont { pub fn FontWeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontWeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -72,7 +72,7 @@ impl LanguageFont { pub fn FontStretch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontStretch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -80,14 +80,14 @@ impl LanguageFont { pub fn FontStyle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontStyle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScaleFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaleFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -112,83 +112,83 @@ impl LanguageFontGroup { pub fn UITextFont(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UITextFont)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UIHeadingFont(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UIHeadingFont)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UITitleFont(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UITitleFont)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UICaptionFont(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UICaptionFont)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UINotificationHeadingFont(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UINotificationHeadingFont)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TraditionalDocumentFont(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TraditionalDocumentFont)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ModernDocumentFont(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModernDocumentFont)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentHeadingFont(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentHeadingFont)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FixedWidthTextFont(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FixedWidthTextFont)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentAlternate1Font(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentAlternate1Font)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentAlternate2Font(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentAlternate2Font)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLanguageFontGroup(languagetag: &windows_core::HSTRING) -> windows_core::Result { Self::ILanguageFontGroupFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLanguageFontGroup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs index 7e89975600..e36dc99ea3 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs @@ -8,7 +8,7 @@ impl windows_core::RuntimeName for INumberFormatter { } impl INumberFormatter_Vtbl { pub const fn new, Impl: INumberFormatter_Impl, const OFFSET: isize>() -> INumberFormatter_Vtbl { - unsafe extern "system" fn FormatInt, Impl: INumberFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: i64, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatInt, Impl: INumberFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: i64, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatter_Impl::FormatInt(this, value) { @@ -20,7 +20,7 @@ impl INumberFormatter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FormatUInt, Impl: INumberFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: u64, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatUInt, Impl: INumberFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: u64, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatter_Impl::FormatUInt(this, value) { @@ -32,7 +32,7 @@ impl INumberFormatter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FormatDouble, Impl: INumberFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: f64, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatDouble, Impl: INumberFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: f64, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatter_Impl::FormatDouble(this, value) { @@ -65,7 +65,7 @@ impl windows_core::RuntimeName for INumberFormatter2 { } impl INumberFormatter2_Vtbl { pub const fn new, Impl: INumberFormatter2_Impl, const OFFSET: isize>() -> INumberFormatter2_Vtbl { - unsafe extern "system" fn FormatInt, Impl: INumberFormatter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: i64, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatInt, Impl: INumberFormatter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: i64, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatter2_Impl::FormatInt(this, value) { @@ -77,7 +77,7 @@ impl INumberFormatter2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FormatUInt, Impl: INumberFormatter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: u64, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatUInt, Impl: INumberFormatter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: u64, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatter2_Impl::FormatUInt(this, value) { @@ -89,7 +89,7 @@ impl INumberFormatter2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FormatDouble, Impl: INumberFormatter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: f64, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatDouble, Impl: INumberFormatter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: f64, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatter2_Impl::FormatDouble(this, value) { @@ -148,7 +148,7 @@ impl INumberFormatterOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GeographicRegion, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GeographicRegion, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatterOptions_Impl::GeographicRegion(this) { @@ -224,7 +224,7 @@ impl INumberFormatterOptions_Vtbl { let this = (*this).get_impl(); INumberFormatterOptions_Impl::SetIsDecimalPointAlwaysDisplayed(this, value).into() } - unsafe extern "system" fn NumeralSystem, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NumeralSystem, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatterOptions_Impl::NumeralSystem(this) { @@ -236,12 +236,12 @@ impl INumberFormatterOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNumeralSystem, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNumeralSystem, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INumberFormatterOptions_Impl::SetNumeralSystem(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn ResolvedLanguage, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResolvedLanguage, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatterOptions_Impl::ResolvedLanguage(this) { @@ -253,7 +253,7 @@ impl INumberFormatterOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ResolvedGeographicRegion, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResolvedGeographicRegion, Impl: INumberFormatterOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberFormatterOptions_Impl::ResolvedGeographicRegion(this) { @@ -297,7 +297,7 @@ impl windows_core::RuntimeName for INumberParser { } impl INumberParser_Vtbl { pub const fn new, Impl: INumberParser_Impl, const OFFSET: isize>() -> INumberParser_Vtbl { - unsafe extern "system" fn ParseInt, Impl: INumberParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ParseInt, Impl: INumberParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberParser_Impl::ParseInt(this, core::mem::transmute(&text)) { @@ -309,7 +309,7 @@ impl INumberParser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ParseUInt, Impl: INumberParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ParseUInt, Impl: INumberParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberParser_Impl::ParseUInt(this, core::mem::transmute(&text)) { @@ -321,7 +321,7 @@ impl INumberParser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ParseDouble, Impl: INumberParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ParseDouble, Impl: INumberParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INumberParser_Impl::ParseDouble(this, core::mem::transmute(&text)) { diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index 44f9dc8251..9478617108 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -5,9 +5,9 @@ impl windows_core::RuntimeType for ICurrencyFormatter { #[repr(C)] pub struct ICurrencyFormatter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Currency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Currency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] - pub SetCurrency: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCurrency: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetCurrency: usize, } @@ -29,9 +29,9 @@ impl windows_core::RuntimeType for ICurrencyFormatterFactory { #[repr(C)] pub struct ICurrencyFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateCurrencyFormatterCode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCurrencyFormatterCode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub CreateCurrencyFormatterCodeContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCurrencyFormatterCodeContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateCurrencyFormatterCodeContext: usize, } @@ -43,7 +43,7 @@ impl windows_core::RuntimeType for IDecimalFormatterFactory { pub struct IDecimalFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub CreateDecimalFormatter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDecimalFormatter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateDecimalFormatter: usize, } @@ -63,7 +63,7 @@ windows_core::imp::define_interface!(INumberFormatter, INumberFormatter_Vtbl, 0x impl std::ops::Deref for INumberFormatter { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INumberFormatter, windows_core::IUnknown, windows_core::IInspectable); @@ -71,21 +71,21 @@ impl INumberFormatter { pub fn FormatInt(&self, value: i64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt(&self, value: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble(&self, value: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -96,15 +96,15 @@ impl windows_core::RuntimeType for INumberFormatter { #[repr(C)] pub struct INumberFormatter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FormatInt: unsafe extern "system" fn(*mut core::ffi::c_void, i64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatUInt: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatInt: unsafe extern "system" fn(*mut core::ffi::c_void, i64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatUInt: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberFormatter2, INumberFormatter2_Vtbl, 0xd4a8c1f0_80d0_4b0d_a89e_882c1e8f8310); impl std::ops::Deref for INumberFormatter2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INumberFormatter2, windows_core::IUnknown, windows_core::IInspectable); @@ -112,21 +112,21 @@ impl INumberFormatter2 { pub fn FormatInt(&self, value: i64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt(&self, value: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble(&self, value: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -137,15 +137,15 @@ impl windows_core::RuntimeType for INumberFormatter2 { #[repr(C)] pub struct INumberFormatter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FormatInt: unsafe extern "system" fn(*mut core::ffi::c_void, i64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatUInt: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatInt: unsafe extern "system" fn(*mut core::ffi::c_void, i64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatUInt: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberFormatterOptions, INumberFormatterOptions_Vtbl, 0x80332d21_aee1_4a39_baa2_07ed8c96daf6); impl std::ops::Deref for INumberFormatterOptions { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INumberFormatterOptions, windows_core::IUnknown, windows_core::IInspectable); @@ -154,21 +154,21 @@ impl INumberFormatterOptions { pub fn Languages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GeographicRegion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IntegerDigits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IntegerDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -179,7 +179,7 @@ impl INumberFormatterOptions { pub fn FractionDigits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FractionDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -190,7 +190,7 @@ impl INumberFormatterOptions { pub fn IsGrouped(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGrouped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -201,7 +201,7 @@ impl INumberFormatterOptions { pub fn IsDecimalPointAlwaysDisplayed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -212,7 +212,7 @@ impl INumberFormatterOptions { pub fn NumeralSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumeralSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -223,14 +223,14 @@ impl INumberFormatterOptions { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResolvedGeographicRegion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedGeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -245,7 +245,7 @@ pub struct INumberFormatterOptions_Vtbl { pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Languages: usize, - pub GeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IntegerDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetIntegerDigits: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub FractionDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -254,16 +254,16 @@ pub struct INumberFormatterOptions_Vtbl { pub SetIsGrouped: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsDecimalPointAlwaysDisplayed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsDecimalPointAlwaysDisplayed: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub NumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ResolvedGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolvedGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberParser, INumberParser_Vtbl, 0xe6659412_4a13_4a53_83a1_392fbe4cff9f); impl std::ops::Deref for INumberParser { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INumberParser, windows_core::IUnknown, windows_core::IInspectable); @@ -271,21 +271,21 @@ impl INumberParser { pub fn ParseInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseUInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseUInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseDouble(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseDouble)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -296,15 +296,15 @@ impl windows_core::RuntimeType for INumberParser { #[repr(C)] pub struct INumberParser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseInt: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ParseUInt: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ParseDouble: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ParseInt: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ParseUInt: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ParseDouble: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberRounder, INumberRounder_Vtbl, 0x5473c375_38ed_4631_b80c_ef34fc48b7f5); impl std::ops::Deref for INumberRounder { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INumberRounder, windows_core::IUnknown, windows_core::IInspectable); @@ -312,42 +312,42 @@ impl INumberRounder { pub fn RoundInt32(&self, value: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundInt32)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundUInt32(&self, value: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundUInt32)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundInt64(&self, value: i64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundInt64)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundUInt64(&self, value: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundUInt64)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundSingle(&self, value: f32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundSingle)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundDouble(&self, value: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundDouble)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -369,7 +369,7 @@ windows_core::imp::define_interface!(INumberRounderOption, INumberRounderOption_ impl std::ops::Deref for INumberRounderOption { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INumberRounderOption, windows_core::IUnknown, windows_core::IInspectable); @@ -377,7 +377,7 @@ impl INumberRounderOption { pub fn NumberRounder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberRounder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -409,10 +409,10 @@ pub struct INumeralSystemTranslator_Vtbl { pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Languages: usize, - pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TranslateNumerals: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TranslateNumerals: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumeralSystemTranslatorFactory, INumeralSystemTranslatorFactory_Vtbl, 0x9630c8da_36ef_4d88_a85c_6f0d98d620a6); impl windows_core::RuntimeType for INumeralSystemTranslatorFactory { @@ -434,7 +434,7 @@ impl windows_core::RuntimeType for IPercentFormatterFactory { pub struct IPercentFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub CreatePercentFormatter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePercentFormatter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreatePercentFormatter: usize, } @@ -446,7 +446,7 @@ impl windows_core::RuntimeType for IPermilleFormatterFactory { pub struct IPermilleFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub CreatePermilleFormatter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePermilleFormatter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreatePermilleFormatter: usize, } @@ -454,7 +454,7 @@ windows_core::imp::define_interface!(ISignedZeroOption, ISignedZeroOption_Vtbl, impl std::ops::Deref for ISignedZeroOption { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISignedZeroOption, windows_core::IUnknown, windows_core::IInspectable); @@ -462,7 +462,7 @@ impl ISignedZeroOption { pub fn IsZeroSigned(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsZeroSigned)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -496,7 +496,7 @@ windows_core::imp::define_interface!(ISignificantDigitsOption, ISignificantDigit impl std::ops::Deref for ISignificantDigitsOption { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISignificantDigitsOption, windows_core::IUnknown, windows_core::IInspectable); @@ -504,7 +504,7 @@ impl ISignificantDigitsOption { pub fn SignificantDigits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignificantDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -531,7 +531,7 @@ impl CurrencyFormatter { pub fn Currency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Currency)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -543,7 +543,7 @@ impl CurrencyFormatter { pub fn Mode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -557,7 +557,7 @@ impl CurrencyFormatter { } pub fn CreateCurrencyFormatterCode(currencycode: &windows_core::HSTRING) -> windows_core::Result { Self::ICurrencyFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCurrencyFormatterCode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(currencycode), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -567,49 +567,49 @@ impl CurrencyFormatter { P0: windows_core::Param>, { Self::ICurrencyFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCurrencyFormatterCodeContext)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(currencycode), languages.param().abi(), core::mem::transmute_copy(geographicregion), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FormatInt(&self, value: i64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt(&self, value: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble(&self, value: f64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatInt2(&self, value: i64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt2(&self, value: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble2(&self, value: f64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -617,21 +617,21 @@ impl CurrencyFormatter { pub fn Languages(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GeographicRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IntegerDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IntegerDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -642,7 +642,7 @@ impl CurrencyFormatter { pub fn FractionDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FractionDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -653,7 +653,7 @@ impl CurrencyFormatter { pub fn IsGrouped(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGrouped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -664,7 +664,7 @@ impl CurrencyFormatter { pub fn IsDecimalPointAlwaysDisplayed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -675,7 +675,7 @@ impl CurrencyFormatter { pub fn NumeralSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumeralSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -686,42 +686,42 @@ impl CurrencyFormatter { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResolvedGeographicRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedGeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseUInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseUInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseDouble(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseDouble)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NumberRounder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberRounder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -735,7 +735,7 @@ impl CurrencyFormatter { pub fn IsZeroSigned(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsZeroSigned)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -746,7 +746,7 @@ impl CurrencyFormatter { pub fn SignificantDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignificantDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -791,49 +791,49 @@ impl DecimalFormatter { P0: windows_core::Param>, { Self::IDecimalFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDecimalFormatter)(windows_core::Interface::as_raw(this), languages.param().abi(), core::mem::transmute_copy(geographicregion), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FormatInt(&self, value: i64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt(&self, value: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble(&self, value: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatInt2(&self, value: i64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt2(&self, value: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble2(&self, value: f64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -841,21 +841,21 @@ impl DecimalFormatter { pub fn Languages(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GeographicRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IntegerDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IntegerDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -866,7 +866,7 @@ impl DecimalFormatter { pub fn FractionDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FractionDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -877,7 +877,7 @@ impl DecimalFormatter { pub fn IsGrouped(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGrouped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -888,7 +888,7 @@ impl DecimalFormatter { pub fn IsDecimalPointAlwaysDisplayed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -899,7 +899,7 @@ impl DecimalFormatter { pub fn NumeralSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumeralSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -910,42 +910,42 @@ impl DecimalFormatter { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResolvedGeographicRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedGeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseUInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseUInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseDouble(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseDouble)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NumberRounder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberRounder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -959,7 +959,7 @@ impl DecimalFormatter { pub fn IsZeroSigned(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsZeroSigned)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -970,7 +970,7 @@ impl DecimalFormatter { pub fn SignificantDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignificantDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1012,7 +1012,7 @@ impl IncrementNumberRounder { pub fn RoundingAlgorithm(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundingAlgorithm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1023,7 +1023,7 @@ impl IncrementNumberRounder { pub fn Increment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Increment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1034,42 +1034,42 @@ impl IncrementNumberRounder { pub fn RoundInt32(&self, value: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundInt32)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundUInt32(&self, value: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundUInt32)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundInt64(&self, value: i64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundInt64)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundUInt64(&self, value: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundUInt64)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundSingle(&self, value: f32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundSingle)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundDouble(&self, value: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundDouble)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -1102,21 +1102,21 @@ impl NumeralSystemTranslator { pub fn Languages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NumeralSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumeralSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1127,7 +1127,7 @@ impl NumeralSystemTranslator { pub fn TranslateNumerals(&self, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TranslateNumerals)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1137,7 +1137,7 @@ impl NumeralSystemTranslator { P0: windows_core::Param>, { Self::INumeralSystemTranslatorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), languages.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1175,42 +1175,42 @@ impl PercentFormatter { pub fn FormatInt(&self, value: i64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt(&self, value: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble(&self, value: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatInt2(&self, value: i64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt2(&self, value: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble2(&self, value: f64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1218,21 +1218,21 @@ impl PercentFormatter { pub fn Languages(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GeographicRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IntegerDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IntegerDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1243,7 +1243,7 @@ impl PercentFormatter { pub fn FractionDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FractionDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1254,7 +1254,7 @@ impl PercentFormatter { pub fn IsGrouped(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGrouped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1265,7 +1265,7 @@ impl PercentFormatter { pub fn IsDecimalPointAlwaysDisplayed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1276,7 +1276,7 @@ impl PercentFormatter { pub fn NumeralSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumeralSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1287,42 +1287,42 @@ impl PercentFormatter { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResolvedGeographicRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedGeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseUInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseUInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseDouble(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseDouble)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NumberRounder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberRounder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1339,14 +1339,14 @@ impl PercentFormatter { P0: windows_core::Param>, { Self::IPercentFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePercentFormatter)(windows_core::Interface::as_raw(this), languages.param().abi(), core::mem::transmute_copy(geographicregion), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsZeroSigned(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsZeroSigned)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1357,7 +1357,7 @@ impl PercentFormatter { pub fn SignificantDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignificantDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1399,42 +1399,42 @@ impl PermilleFormatter { pub fn FormatInt(&self, value: i64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt(&self, value: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble(&self, value: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatInt2(&self, value: i64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatUInt2(&self, value: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUInt)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatDouble2(&self, value: f64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatDouble)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1442,21 +1442,21 @@ impl PermilleFormatter { pub fn Languages(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GeographicRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IntegerDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IntegerDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1467,7 +1467,7 @@ impl PermilleFormatter { pub fn FractionDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FractionDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1478,7 +1478,7 @@ impl PermilleFormatter { pub fn IsGrouped(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGrouped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1489,7 +1489,7 @@ impl PermilleFormatter { pub fn IsDecimalPointAlwaysDisplayed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDecimalPointAlwaysDisplayed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1500,7 +1500,7 @@ impl PermilleFormatter { pub fn NumeralSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumeralSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1511,42 +1511,42 @@ impl PermilleFormatter { pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResolvedGeographicRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedGeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseUInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseUInt)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParseDouble(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseDouble)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NumberRounder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberRounder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1563,14 +1563,14 @@ impl PermilleFormatter { P0: windows_core::Param>, { Self::IPermilleFormatterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePermilleFormatter)(windows_core::Interface::as_raw(this), languages.param().abi(), core::mem::transmute_copy(geographicregion), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsZeroSigned(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsZeroSigned)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1581,7 +1581,7 @@ impl PermilleFormatter { pub fn SignificantDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignificantDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1623,49 +1623,49 @@ impl SignificantDigitsNumberRounder { pub fn RoundInt32(&self, value: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundInt32)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundUInt32(&self, value: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundUInt32)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundInt64(&self, value: i64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundInt64)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundUInt64(&self, value: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundUInt64)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundSingle(&self, value: f32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundSingle)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundDouble(&self, value: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundDouble)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn RoundingAlgorithm(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundingAlgorithm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1676,7 +1676,7 @@ impl SignificantDigitsNumberRounder { pub fn SignificantDigits(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignificantDigits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs index 3e0d1c2e08..e92b246851 100644 --- a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs @@ -5,11 +5,11 @@ impl windows_core::RuntimeType for IPhoneNumberFormatter { #[repr(C)] pub struct IPhoneNumberFormatter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatWithOutputFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, PhoneNumberFormat, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatPartialString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatStringWithLeftToRightMarkers: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatWithOutputFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, PhoneNumberFormat, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatPartialString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatStringWithLeftToRightMarkers: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneNumberFormatterStatics, IPhoneNumberFormatterStatics_Vtbl, 0x5ca6f931_84d9_414b_ab4e_a0552c878602); impl windows_core::RuntimeType for IPhoneNumberFormatterStatics { @@ -18,10 +18,10 @@ impl windows_core::RuntimeType for IPhoneNumberFormatterStatics { #[repr(C)] pub struct IPhoneNumberFormatterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TryCreate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCountryCodeForRegion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub GetNationalDirectDialingPrefixForRegion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WrapWithLeftToRightMarkers: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryCreate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCountryCodeForRegion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetNationalDirectDialingPrefixForRegion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WrapWithLeftToRightMarkers: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneNumberInfo, IPhoneNumberInfo_Vtbl, 0x1c7ce4dd_c8b4_4ea3_9aef_b342e2c5b417); impl windows_core::RuntimeType for IPhoneNumberInfo { @@ -31,12 +31,12 @@ impl windows_core::RuntimeType for IPhoneNumberInfo { pub struct IPhoneNumberInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetLengthOfGeographicalAreaCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetNationalSignificantNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNationalSignificantNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetLengthOfNationalDestinationCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub PredictNumberKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PredictedPhoneNumberKind) -> windows_core::HRESULT, - pub GetGeographicRegionCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetGeographicRegionCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CheckNumberMatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut PhoneNumberMatchResult) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneNumberInfoFactory, IPhoneNumberInfoFactory_Vtbl, 0x8202b964_adaa_4cff_8fcf_17e7516a28ff); @@ -46,7 +46,7 @@ impl windows_core::RuntimeType for IPhoneNumberInfoFactory { #[repr(C)] pub struct IPhoneNumberInfoFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhoneNumberInfoStatics, IPhoneNumberInfoStatics_Vtbl, 0x5b3f4f6a_86a9_40e9_8649_6d61161928d4); impl windows_core::RuntimeType for IPhoneNumberInfoStatics { @@ -55,8 +55,8 @@ impl windows_core::RuntimeType for IPhoneNumberInfoStatics { #[repr(C)] pub struct IPhoneNumberInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut PhoneNumberParseResult) -> windows_core::HRESULT, - pub TryParseWithRegion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut PhoneNumberParseResult) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut PhoneNumberParseResult) -> windows_core::HRESULT, + pub TryParseWithRegion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut PhoneNumberParseResult) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -76,7 +76,7 @@ impl PhoneNumberFormatter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), number.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -86,28 +86,28 @@ impl PhoneNumberFormatter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatWithOutputFormat)(windows_core::Interface::as_raw(this), number.param().abi(), numberformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatPartialString(&self, number: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatPartialString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatString(&self, number: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormatStringWithLeftToRightMarkers(&self, number: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatStringWithLeftToRightMarkers)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -116,19 +116,19 @@ impl PhoneNumberFormatter { } pub fn GetCountryCodeForRegion(regioncode: &windows_core::HSTRING) -> windows_core::Result { Self::IPhoneNumberFormatterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCountryCodeForRegion)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(regioncode), &mut result__).map(|| result__) }) } pub fn GetNationalDirectDialingPrefixForRegion(regioncode: &windows_core::HSTRING, stripnondigit: bool) -> windows_core::Result { Self::IPhoneNumberFormatterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNationalDirectDialingPrefixForRegion)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(regioncode), stripnondigit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WrapWithLeftToRightMarkers(number: &windows_core::HSTRING) -> windows_core::Result { Self::IPhoneNumberFormatterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WrapWithLeftToRightMarkers)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -159,49 +159,49 @@ impl PhoneNumberInfo { pub fn CountryCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CountryCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetLengthOfGeographicalAreaCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLengthOfGeographicalAreaCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetNationalSignificantNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNationalSignificantNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetLengthOfNationalDestinationCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLengthOfNationalDestinationCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PredictNumberKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PredictNumberKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetGeographicRegionCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGeographicRegionCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -211,32 +211,32 @@ impl PhoneNumberInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckNumberMatch)(windows_core::Interface::as_raw(this), othernumber.param().abi(), &mut result__).map(|| result__) } } pub fn Create(number: &windows_core::HSTRING) -> windows_core::Result { Self::IPhoneNumberInfoFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(number), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, phonenumber: &mut Option) -> windows_core::Result { Self::IPhoneNumberInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), phonenumber as *mut _ as _, &mut result__).map(|| result__) }) } pub fn TryParseWithRegion(input: &windows_core::HSTRING, regioncode: &windows_core::HSTRING, phonenumber: &mut Option) -> windows_core::Result { Self::IPhoneNumberInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseWithRegion)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), core::mem::transmute_copy(regioncode), phonenumber as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Globalization/mod.rs b/crates/libs/windows/src/Windows/Globalization/mod.rs index 595f19b9cc..e71691b6ff 100644 --- a/crates/libs/windows/src/Windows/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/mod.rs @@ -15,8 +15,8 @@ impl windows_core::RuntimeType for IApplicationLanguagesStatics { #[repr(C)] pub struct IApplicationLanguagesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PrimaryLanguageOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPrimaryLanguageOverride: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrimaryLanguageOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPrimaryLanguageOverride: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -52,12 +52,12 @@ pub struct ICalendar_Vtbl { pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Languages: usize, - pub NumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCalendarSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChangeCalendarSystem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChangeClock: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNumeralSystem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCalendarSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangeCalendarSystem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangeClock: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::DateTime) -> windows_core::HRESULT, pub SetDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::DateTime) -> windows_core::HRESULT, pub SetToNow: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -67,29 +67,29 @@ pub struct ICalendar_Vtbl { pub Era: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEra: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AddEras: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub EraAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EraAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EraAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EraAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FirstYearInThisEra: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastYearInThisEra: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfYearsInThisEra: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Year: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetYear: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AddYears: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub YearAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YearAsTruncatedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YearAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub YearAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YearAsTruncatedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YearAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FirstMonthInThisYear: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastMonthInThisYear: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfMonthsInThisYear: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Month: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMonth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AddMonths: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub MonthAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MonthAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MonthAsFullSoloString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MonthAsSoloString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MonthAsNumericString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MonthAsPaddedNumericString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MonthAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MonthAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MonthAsFullSoloString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MonthAsSoloString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MonthAsNumericString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MonthAsPaddedNumericString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddWeeks: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub FirstDayInThisMonth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastDayInThisMonth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -97,44 +97,44 @@ pub struct ICalendar_Vtbl { pub Day: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDay: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AddDays: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub DayAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DayAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DayAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DayAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DayOfWeek: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DayOfWeek) -> windows_core::HRESULT, - pub DayOfWeekAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DayOfWeekAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DayOfWeekAsFullSoloString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DayOfWeekAsSoloString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DayOfWeekAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DayOfWeekAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DayOfWeekAsFullSoloString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DayOfWeekAsSoloString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FirstPeriodInThisDay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastPeriodInThisDay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfPeriodsInThisDay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Period: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AddPeriods: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub PeriodAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PeriodAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PeriodAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PeriodAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FirstHourInThisPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastHourInThisPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfHoursInThisPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Hour: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetHour: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AddHours: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub HourAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HourAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HourAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HourAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Minute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMinute: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AddMinutes: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub MinuteAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MinuteAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MinuteAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MinuteAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Second: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSecond: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AddSeconds: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SecondAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecondAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecondAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecondAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Nanosecond: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetNanosecond: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AddNanoseconds: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub NanosecondAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NanosecondAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NanosecondAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NanosecondAsPaddedString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CompareDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::DateTime, *mut i32) -> windows_core::HRESULT, pub CopyTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -144,7 +144,7 @@ pub struct ICalendar_Vtbl { pub FirstSecondInThisMinute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastSecondInThisMinute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfSecondsInThisMinute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsDaylightSavingTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICalendarFactory, ICalendarFactory_Vtbl, 0x83f58412_e56b_4c75_a66e_0f63d57758a6); @@ -159,7 +159,7 @@ pub struct ICalendarFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateCalendarDefaultCalendarAndClock: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateCalendar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCalendar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateCalendar: usize, } @@ -171,7 +171,7 @@ impl windows_core::RuntimeType for ICalendarFactory2 { pub struct ICalendarFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub CreateCalendarWithTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCalendarWithTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateCalendarWithTimeZone: usize, } @@ -182,15 +182,15 @@ impl windows_core::RuntimeType for ICalendarIdentifiersStatics { #[repr(C)] pub struct ICalendarIdentifiersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Gregorian: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Hebrew: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Hijri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Japanese: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Julian: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Korean: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Taiwan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Thai: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UmAlQura: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Gregorian: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Hebrew: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Hijri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Japanese: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Julian: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Korean: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Taiwan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Thai: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UmAlQura: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICalendarIdentifiersStatics2, ICalendarIdentifiersStatics2_Vtbl, 0x7df4d488_5fd0_42a7_95b5_7d98d823075f); impl windows_core::RuntimeType for ICalendarIdentifiersStatics2 { @@ -199,7 +199,7 @@ impl windows_core::RuntimeType for ICalendarIdentifiersStatics2 { #[repr(C)] pub struct ICalendarIdentifiersStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Persian: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Persian: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICalendarIdentifiersStatics3, ICalendarIdentifiersStatics3_Vtbl, 0x2c225423_1fad_40c0_9334_a8eb90db04f5); impl windows_core::RuntimeType for ICalendarIdentifiersStatics3 { @@ -208,11 +208,11 @@ impl windows_core::RuntimeType for ICalendarIdentifiersStatics3 { #[repr(C)] pub struct ICalendarIdentifiersStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ChineseLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub JapaneseLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KoreanLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TaiwanLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VietnameseLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChineseLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub JapaneseLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KoreanLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaiwanLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VietnameseLunar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IClockIdentifiersStatics, IClockIdentifiersStatics_Vtbl, 0x523805bb_12ec_4f83_bc31_b1b4376b0808); impl windows_core::RuntimeType for IClockIdentifiersStatics { @@ -221,8 +221,8 @@ impl windows_core::RuntimeType for IClockIdentifiersStatics { #[repr(C)] pub struct IClockIdentifiersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TwelveHour: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TwentyFourHour: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TwelveHour: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TwentyFourHour: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICurrencyAmount, ICurrencyAmount_Vtbl, 0x74b49942_eb75_443a_95b3_7d723f56f93c); impl windows_core::RuntimeType for ICurrencyAmount { @@ -231,8 +231,8 @@ impl windows_core::RuntimeType for ICurrencyAmount { #[repr(C)] pub struct ICurrencyAmount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Amount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Currency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Amount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Currency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICurrencyAmountFactory, ICurrencyAmountFactory_Vtbl, 0x48d7168f_ef3b_4aee_a6a1_4b036fe03ff0); impl windows_core::RuntimeType for ICurrencyAmountFactory { @@ -241,7 +241,7 @@ impl windows_core::RuntimeType for ICurrencyAmountFactory { #[repr(C)] pub struct ICurrencyAmountFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICurrencyIdentifiersStatics, ICurrencyIdentifiersStatics_Vtbl, 0x9f1d091b_d586_4913_9b6a_a9bd2dc12874); impl windows_core::RuntimeType for ICurrencyIdentifiersStatics { @@ -250,163 +250,163 @@ impl windows_core::RuntimeType for ICurrencyIdentifiersStatics { #[repr(C)] pub struct ICurrencyIdentifiersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AED: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AFN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ALL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AMD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ANG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AOA: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ARS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AUD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AWG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AZN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BAM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BBD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BDT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BGN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BHD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BIF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BMD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BND: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BOB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BRL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BSD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BTN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BWP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BYR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BZD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CAD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CDF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CHF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CLP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CNY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub COP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CRC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CUP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CVE: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CZK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DJF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DKK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DOP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DZD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EGP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ERN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ETB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EUR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FJD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FKP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GBP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GEL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GHS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GIP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GMD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GNF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GTQ: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GYD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HKD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HNL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HRK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HTG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HUF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IDR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ILS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub INR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IQD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IRR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ISK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub JMD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub JOD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub JPY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KES: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KGS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KHR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KMF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KPW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KRW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KWD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KYD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KZT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LAK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LBP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LKR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LRD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LSL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LTL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LVL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LYD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MAD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MDL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MGA: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MKD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MMK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MNT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MOP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MRO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MUR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MVR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MWK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MXN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MYR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MZN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NAD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NGN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NIO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NOK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NPR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NZD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OMR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PAB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PEN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PGK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PHP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PKR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PLN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PYG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub QAR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RON: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RSD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RUB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RWF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SAR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SBD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SCR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SDG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SEK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SGD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SHP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SLL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SOS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SRD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub STD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SYP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SZL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub THB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TJS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TMT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TND: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TOP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TRY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TTD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TWD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TZS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UAH: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UGX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub USD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UYU: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UZS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VEF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VND: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VUV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WST: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XAF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XCD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XOF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XPF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XXX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YER: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ZAR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ZMW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ZWL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AED: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AFN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ALL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AMD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ANG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AOA: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ARS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AUD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AWG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AZN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BAM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BBD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BDT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BGN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BHD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BIF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BMD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BND: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BOB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BRL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BSD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BTN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BWP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BYR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BZD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CAD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CDF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CHF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CLP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CNY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub COP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CRC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CUP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CVE: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CZK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DJF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DKK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DOP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DZD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EGP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ERN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ETB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EUR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FJD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FKP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GBP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GEL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GHS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GIP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GMD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GNF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GTQ: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GYD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HKD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HNL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HRK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HTG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HUF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IDR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ILS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub INR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IQD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IRR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ISK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub JMD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub JOD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub JPY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KES: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KGS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KHR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KMF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KPW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KRW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KWD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KYD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KZT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LAK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LBP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LKR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LRD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LSL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LTL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LVL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LYD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MAD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MDL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MGA: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MKD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MMK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MNT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MOP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MRO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MUR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MVR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MWK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MXN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MYR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MZN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NAD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NGN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NIO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NOK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NPR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NZD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OMR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PAB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PEN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PGK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PHP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PKR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PLN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PYG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub QAR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RON: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RSD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RUB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RWF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SAR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SBD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SCR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SDG: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SEK: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SGD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SHP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SLL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SOS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SRD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub STD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SYP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SZL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub THB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TJS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TMT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TND: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TOP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TRY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TTD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TWD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TZS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UAH: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UGX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub USD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UYU: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UZS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VEF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VND: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VUV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WST: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XAF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XCD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XOF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XPF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XXX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YER: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ZAR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ZMW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ZWL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICurrencyIdentifiersStatics2, ICurrencyIdentifiersStatics2_Vtbl, 0x1814797f_c3b2_4c33_9591_980011950d37); impl windows_core::RuntimeType for ICurrencyIdentifiersStatics2 { @@ -415,7 +415,7 @@ impl windows_core::RuntimeType for ICurrencyIdentifiersStatics2 { #[repr(C)] pub struct ICurrencyIdentifiersStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub BYN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BYN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICurrencyIdentifiersStatics3, ICurrencyIdentifiersStatics3_Vtbl, 0x4fb23bfa_ed25_4f4d_857f_237f1748c21c); impl windows_core::RuntimeType for ICurrencyIdentifiersStatics3 { @@ -424,10 +424,10 @@ impl windows_core::RuntimeType for ICurrencyIdentifiersStatics3 { #[repr(C)] pub struct ICurrencyIdentifiersStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub MRU: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SSP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub STN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VES: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MRU: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SSP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub STN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VES: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGeographicRegion, IGeographicRegion_Vtbl, 0x01e9a621_4a64_4ed9_954f_9edeb07bd903); impl windows_core::RuntimeType for IGeographicRegion { @@ -436,12 +436,12 @@ impl windows_core::RuntimeType for IGeographicRegion { #[repr(C)] pub struct IGeographicRegion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Code: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CodeTwoLetter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CodeThreeLetter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CodeThreeDigit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NativeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Code: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CodeTwoLetter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CodeThreeLetter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CodeThreeDigit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NativeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub CurrenciesInUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -454,7 +454,7 @@ impl windows_core::RuntimeType for IGeographicRegionFactory { #[repr(C)] pub struct IGeographicRegionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGeographicRegionStatics, IGeographicRegionStatics_Vtbl, 0x29e28974_7ad9_4ef4_8799_b3b44fadec08); impl windows_core::RuntimeType for IGeographicRegionStatics { @@ -463,7 +463,7 @@ impl windows_core::RuntimeType for IGeographicRegionStatics { #[repr(C)] pub struct IGeographicRegionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJapanesePhoneme, IJapanesePhoneme_Vtbl, 0x2f6a9300_e85b_43e6_897d_5d82f862df21); impl windows_core::RuntimeType for IJapanesePhoneme { @@ -472,8 +472,8 @@ impl windows_core::RuntimeType for IJapanesePhoneme { #[repr(C)] pub struct IJapanesePhoneme_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YomiText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YomiText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsPhraseStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJapanesePhoneticAnalyzerStatics, IJapanesePhoneticAnalyzerStatics_Vtbl, 0x88ab9e90_93de_41b2_b4d5_8edb227fd1c2); @@ -484,11 +484,11 @@ impl windows_core::RuntimeType for IJapanesePhoneticAnalyzerStatics { pub struct IJapanesePhoneticAnalyzerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub GetWords: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetWords: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetWords: usize, #[cfg(feature = "Foundation_Collections")] - pub GetWordsWithMonoRubyOption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetWordsWithMonoRubyOption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetWordsWithMonoRubyOption: usize, } @@ -499,10 +499,10 @@ impl windows_core::RuntimeType for ILanguage { #[repr(C)] pub struct ILanguage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NativeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Script: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NativeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Script: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILanguage2, ILanguage2_Vtbl, 0x6a47e5b5_d94d_4886_a404_a5a5b9d5b494); impl windows_core::RuntimeType for ILanguage2 { @@ -520,7 +520,7 @@ impl windows_core::RuntimeType for ILanguage3 { #[repr(C)] pub struct ILanguage3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AbbreviatedName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AbbreviatedName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILanguageExtensionSubtags, ILanguageExtensionSubtags_Vtbl, 0x7d7daf45_368d_4364_852b_dec927037b85); impl windows_core::RuntimeType for ILanguageExtensionSubtags { @@ -530,7 +530,7 @@ impl windows_core::RuntimeType for ILanguageExtensionSubtags { pub struct ILanguageExtensionSubtags_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub GetExtensionSubtags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetExtensionSubtags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetExtensionSubtags: usize, } @@ -541,7 +541,7 @@ impl windows_core::RuntimeType for ILanguageFactory { #[repr(C)] pub struct ILanguageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILanguageStatics, ILanguageStatics_Vtbl, 0xb23cd557_0865_46d4_89b8_d59be8990f0d); impl windows_core::RuntimeType for ILanguageStatics { @@ -550,8 +550,8 @@ impl windows_core::RuntimeType for ILanguageStatics { #[repr(C)] pub struct ILanguageStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsWellFormed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub CurrentInputMethodLanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsWellFormed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub CurrentInputMethodLanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILanguageStatics2, ILanguageStatics2_Vtbl, 0x30199f6e_914b_4b2a_9d6e_e3b0e27dbe4f); impl windows_core::RuntimeType for ILanguageStatics2 { @@ -560,7 +560,7 @@ impl windows_core::RuntimeType for ILanguageStatics2 { #[repr(C)] pub struct ILanguageStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TrySetInputMethodLanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub TrySetInputMethodLanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILanguageStatics3, ILanguageStatics3_Vtbl, 0xd15ecb5a_71de_5752_9542_fac5b4f27261); impl windows_core::RuntimeType for ILanguageStatics3 { @@ -581,42 +581,42 @@ impl windows_core::RuntimeType for INumeralSystemIdentifiersStatics { #[repr(C)] pub struct INumeralSystemIdentifiersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Arab: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ArabExt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Bali: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Beng: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Cham: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Deva: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FullWide: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Gujr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Guru: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HaniDec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Java: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Kali: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Khmr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Knda: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Lana: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LanaTham: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Laoo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Latn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Lepc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Limb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mlym: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mong: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mtei: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mymr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MymrShan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Nkoo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Olck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Orya: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Saur: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sund: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Talu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TamlDec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Telu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Thai: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tibt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Vaii: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arab: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ArabExt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bali: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Beng: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Cham: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Deva: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FullWide: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Gujr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Guru: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HaniDec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Java: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Kali: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Khmr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Knda: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Lana: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LanaTham: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Laoo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Latn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Lepc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Limb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mlym: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mong: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mtei: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mymr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MymrShan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Nkoo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Olck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Orya: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Saur: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sund: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Talu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TamlDec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Telu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Thai: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tibt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Vaii: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumeralSystemIdentifiersStatics2, INumeralSystemIdentifiersStatics2_Vtbl, 0x7f003228_9ddb_4a34_9104_0260c091a7c7); impl windows_core::RuntimeType for INumeralSystemIdentifiersStatics2 { @@ -625,18 +625,18 @@ impl windows_core::RuntimeType for INumeralSystemIdentifiersStatics2 { #[repr(C)] pub struct INumeralSystemIdentifiersStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Brah: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Osma: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MathBold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MathDbl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MathSans: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MathSanb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MathMono: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ZmthBold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ZmthDbl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ZmthSans: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ZmthSanb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ZmthMono: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Brah: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Osma: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MathBold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MathDbl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MathSans: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MathSanb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MathMono: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ZmthBold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ZmthDbl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ZmthSans: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ZmthSanb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ZmthMono: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimeZoneOnCalendar, ITimeZoneOnCalendar_Vtbl, 0xbb3c25e5_46cf_4317_a3f5_02621ad54478); impl windows_core::RuntimeType for ITimeZoneOnCalendar { @@ -645,16 +645,16 @@ impl windows_core::RuntimeType for ITimeZoneOnCalendar { #[repr(C)] pub struct ITimeZoneOnCalendar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChangeTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TimeZoneAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TimeZoneAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangeTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TimeZoneAsFullString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TimeZoneAsString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub struct ApplicationLanguages; impl ApplicationLanguages { pub fn PrimaryLanguageOverride() -> windows_core::Result { Self::IApplicationLanguagesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryLanguageOverride)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -664,14 +664,14 @@ impl ApplicationLanguages { #[cfg(feature = "Foundation_Collections")] pub fn Languages() -> windows_core::Result> { Self::IApplicationLanguagesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn ManifestLanguages() -> windows_core::Result> { Self::IApplicationLanguagesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManifestLanguages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -681,7 +681,7 @@ impl ApplicationLanguages { P0: windows_core::Param, { Self::IApplicationLanguagesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLanguagesForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -714,7 +714,7 @@ impl Calendar { pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -730,14 +730,14 @@ impl Calendar { pub fn Languages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NumeralSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumeralSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -748,7 +748,7 @@ impl Calendar { pub fn GetCalendarSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCalendarSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -759,7 +759,7 @@ impl Calendar { pub fn GetClock(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetClock)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -770,7 +770,7 @@ impl Calendar { pub fn GetDateTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -785,28 +785,28 @@ impl Calendar { pub fn FirstEra(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstEra)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastEra(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastEra)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfEras(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfEras)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Era(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Era)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -821,42 +821,42 @@ impl Calendar { pub fn EraAsFullString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EraAsFullString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EraAsString(&self, ideallength: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EraAsString)(windows_core::Interface::as_raw(this), ideallength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstYearInThisEra(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstYearInThisEra)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastYearInThisEra(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastYearInThisEra)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfYearsInThisEra(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfYearsInThisEra)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Year(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Year)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -871,49 +871,49 @@ impl Calendar { pub fn YearAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YearAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn YearAsTruncatedString(&self, remainingdigits: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YearAsTruncatedString)(windows_core::Interface::as_raw(this), remainingdigits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn YearAsPaddedString(&self, mindigits: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YearAsPaddedString)(windows_core::Interface::as_raw(this), mindigits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstMonthInThisYear(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstMonthInThisYear)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastMonthInThisYear(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastMonthInThisYear)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfMonthsInThisYear(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfMonthsInThisYear)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Month(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Month)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -928,42 +928,42 @@ impl Calendar { pub fn MonthAsFullString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonthAsFullString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MonthAsString(&self, ideallength: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonthAsString)(windows_core::Interface::as_raw(this), ideallength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MonthAsFullSoloString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonthAsFullSoloString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MonthAsSoloString(&self, ideallength: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonthAsSoloString)(windows_core::Interface::as_raw(this), ideallength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MonthAsNumericString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonthAsNumericString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MonthAsPaddedNumericString(&self, mindigits: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonthAsPaddedNumericString)(windows_core::Interface::as_raw(this), mindigits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -974,28 +974,28 @@ impl Calendar { pub fn FirstDayInThisMonth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstDayInThisMonth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastDayInThisMonth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastDayInThisMonth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfDaysInThisMonth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfDaysInThisMonth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Day(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Day)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1010,77 +1010,77 @@ impl Calendar { pub fn DayAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DayAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DayAsPaddedString(&self, mindigits: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DayAsPaddedString)(windows_core::Interface::as_raw(this), mindigits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DayOfWeek(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DayOfWeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DayOfWeekAsFullString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DayOfWeekAsFullString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DayOfWeekAsString(&self, ideallength: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DayOfWeekAsString)(windows_core::Interface::as_raw(this), ideallength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DayOfWeekAsFullSoloString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DayOfWeekAsFullSoloString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DayOfWeekAsSoloString(&self, ideallength: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DayOfWeekAsSoloString)(windows_core::Interface::as_raw(this), ideallength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstPeriodInThisDay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstPeriodInThisDay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastPeriodInThisDay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastPeriodInThisDay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfPeriodsInThisDay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfPeriodsInThisDay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Period(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Period)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1095,42 +1095,42 @@ impl Calendar { pub fn PeriodAsFullString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeriodAsFullString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PeriodAsString(&self, ideallength: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeriodAsString)(windows_core::Interface::as_raw(this), ideallength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstHourInThisPeriod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstHourInThisPeriod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastHourInThisPeriod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastHourInThisPeriod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfHoursInThisPeriod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfHoursInThisPeriod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Hour(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hour)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1145,21 +1145,21 @@ impl Calendar { pub fn HourAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HourAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HourAsPaddedString(&self, mindigits: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HourAsPaddedString)(windows_core::Interface::as_raw(this), mindigits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Minute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Minute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1174,21 +1174,21 @@ impl Calendar { pub fn MinuteAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinuteAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinuteAsPaddedString(&self, mindigits: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinuteAsPaddedString)(windows_core::Interface::as_raw(this), mindigits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Second(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Second)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1203,21 +1203,21 @@ impl Calendar { pub fn SecondAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecondAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SecondAsPaddedString(&self, mindigits: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecondAsPaddedString)(windows_core::Interface::as_raw(this), mindigits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Nanosecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Nanosecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1232,14 +1232,14 @@ impl Calendar { pub fn NanosecondAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NanosecondAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NanosecondAsPaddedString(&self, mindigits: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NanosecondAsPaddedString)(windows_core::Interface::as_raw(this), mindigits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1249,14 +1249,14 @@ impl Calendar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compare)(windows_core::Interface::as_raw(this), other.param().abi(), &mut result__).map(|| result__) } } pub fn CompareDateTime(&self, other: super::Foundation::DateTime) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompareDateTime)(windows_core::Interface::as_raw(this), other, &mut result__).map(|| result__) } } @@ -1270,56 +1270,56 @@ impl Calendar { pub fn FirstMinuteInThisHour(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstMinuteInThisHour)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastMinuteInThisHour(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastMinuteInThisHour)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfMinutesInThisHour(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfMinutesInThisHour)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FirstSecondInThisMinute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstSecondInThisMinute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastSecondInThisMinute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastSecondInThisMinute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NumberOfSecondsInThisMinute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfSecondsInThisMinute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResolvedLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolvedLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsDaylightSavingTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDaylightSavingTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1329,7 +1329,7 @@ impl Calendar { P0: windows_core::Param>, { Self::ICalendarFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCalendarDefaultCalendarAndClock)(windows_core::Interface::as_raw(this), languages.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1339,7 +1339,7 @@ impl Calendar { P0: windows_core::Param>, { Self::ICalendarFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCalendar)(windows_core::Interface::as_raw(this), languages.param().abi(), core::mem::transmute_copy(calendar), core::mem::transmute_copy(clock), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1349,14 +1349,14 @@ impl Calendar { P0: windows_core::Param>, { Self::ICalendarFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCalendarWithTimeZone)(windows_core::Interface::as_raw(this), languages.param().abi(), core::mem::transmute_copy(calendar), core::mem::transmute_copy(clock), core::mem::transmute_copy(timezoneid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetTimeZone(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTimeZone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1367,14 +1367,14 @@ impl Calendar { pub fn TimeZoneAsFullString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeZoneAsFullString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimeZoneAsString(&self, ideallength: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeZoneAsString)(windows_core::Interface::as_raw(this), ideallength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1405,91 +1405,91 @@ pub struct CalendarIdentifiers; impl CalendarIdentifiers { pub fn Gregorian() -> windows_core::Result { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gregorian)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Hebrew() -> windows_core::Result { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hebrew)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Hijri() -> windows_core::Result { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hijri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Japanese() -> windows_core::Result { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Japanese)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Julian() -> windows_core::Result { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Julian)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Korean() -> windows_core::Result { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Korean)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Taiwan() -> windows_core::Result { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Taiwan)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Thai() -> windows_core::Result { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thai)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UmAlQura() -> windows_core::Result { Self::ICalendarIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UmAlQura)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Persian() -> windows_core::Result { Self::ICalendarIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Persian)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ChineseLunar() -> windows_core::Result { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChineseLunar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn JapaneseLunar() -> windows_core::Result { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JapaneseLunar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KoreanLunar() -> windows_core::Result { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KoreanLunar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TaiwanLunar() -> windows_core::Result { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaiwanLunar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VietnameseLunar() -> windows_core::Result { Self::ICalendarIdentifiersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VietnameseLunar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1516,13 +1516,13 @@ pub struct ClockIdentifiers; impl ClockIdentifiers { pub fn TwelveHour() -> windows_core::Result { Self::IClockIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TwelveHour)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TwentyFourHour() -> windows_core::Result { Self::IClockIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TwentyFourHour)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1543,20 +1543,20 @@ impl CurrencyAmount { pub fn Amount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Amount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Currency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Currency)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(amount: &windows_core::HSTRING, currency: &windows_core::HSTRING) -> windows_core::Result { Self::ICurrencyAmountFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(amount), core::mem::transmute_copy(currency), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1582,973 +1582,973 @@ pub struct CurrencyIdentifiers; impl CurrencyIdentifiers { pub fn AED() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AED)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AFN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AFN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ALL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ALL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AMD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AMD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ANG() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ANG)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AOA() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AOA)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ARS() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ARS)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AUD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AUD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AWG() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AWG)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AZN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AZN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BAM() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BAM)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BBD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BBD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BDT() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BDT)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BGN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BGN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BHD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BHD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BIF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BIF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BMD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BMD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BND() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BND)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BOB() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BOB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BRL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BRL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BSD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BSD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BTN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BTN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BWP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BWP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BYR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BYR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BZD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BZD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CAD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CAD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CDF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CDF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CHF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CHF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CLP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CLP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CNY() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CNY)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn COP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).COP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CRC() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CRC)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CUP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CUP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CVE() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CVE)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CZK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CZK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DJF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DJF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DKK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DKK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DOP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DOP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DZD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DZD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EGP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EGP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ERN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ERN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ETB() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ETB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EUR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EUR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FJD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FJD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FKP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FKP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GBP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GBP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GEL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GEL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GHS() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GHS)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GIP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GIP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GMD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GMD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GNF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GNF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GTQ() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GTQ)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GYD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GYD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HKD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HKD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HNL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HNL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HRK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HRK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HTG() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HTG)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HUF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HUF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IDR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IDR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ILS() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ILS)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn INR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).INR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IQD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IQD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IRR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IRR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ISK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ISK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn JMD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JMD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn JOD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JOD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn JPY() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JPY)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KES() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KES)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KGS() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KGS)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KHR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KHR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KMF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KMF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KPW() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KPW)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KRW() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KRW)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KWD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KWD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KYD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KYD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn KZT() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KZT)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LAK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LAK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LBP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LBP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LKR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LKR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LRD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LRD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LSL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LSL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LTL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LTL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LVL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LVL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LYD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LYD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MAD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MAD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MDL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MDL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MGA() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MGA)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MKD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MKD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MMK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MMK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MNT() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MNT)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MOP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MOP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MRO() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MRO)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MUR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MUR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MVR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MVR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MWK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MWK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MXN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MXN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MYR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MYR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MZN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MZN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NAD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NAD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NGN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NGN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NIO() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NIO)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NOK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NOK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NPR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NPR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NZD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NZD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OMR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OMR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PAB() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PAB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PEN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PEN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PGK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PGK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PHP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PHP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PKR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PKR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PLN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PLN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PYG() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PYG)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn QAR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QAR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RON() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RON)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RSD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RSD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RUB() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RUB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RWF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RWF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SAR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SAR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SBD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SBD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SCR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SCR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SDG() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SDG)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SEK() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SEK)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SGD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SGD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SHP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SHP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SLL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SLL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SOS() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SOS)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SRD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SRD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn STD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).STD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SYP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SYP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SZL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SZL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn THB() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).THB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TJS() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TJS)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TMT() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TMT)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TND() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TND)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TOP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TOP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TRY() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TRY)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TTD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TTD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TWD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TWD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TZS() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TZS)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UAH() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UAH)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UGX() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UGX)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn USD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).USD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UYU() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UYU)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UZS() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UZS)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VEF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VEF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VND() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VND)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VUV() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VUV)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WST() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WST)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn XAF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XAF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn XCD() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XCD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn XOF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XOF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn XPF() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XPF)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn XXX() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XXX)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn YER() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YER)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZAR() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZAR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZMW() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZMW)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZWL() -> windows_core::Result { Self::ICurrencyIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZWL)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BYN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BYN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MRU() -> windows_core::Result { Self::ICurrencyIdentifiersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MRU)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SSP() -> windows_core::Result { Self::ICurrencyIdentifiersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SSP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn STN() -> windows_core::Result { Self::ICurrencyIdentifiersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).STN)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VES() -> windows_core::Result { Self::ICurrencyIdentifiersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VES)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2586,42 +2586,42 @@ impl GeographicRegion { pub fn Code(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CodeTwoLetter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CodeTwoLetter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CodeThreeLetter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CodeThreeLetter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CodeThreeDigit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CodeThreeDigit)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NativeName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NativeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2629,19 +2629,19 @@ impl GeographicRegion { pub fn CurrenciesInUse(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrenciesInUse)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateGeographicRegion(geographicregioncode: &windows_core::HSTRING) -> windows_core::Result { Self::IGeographicRegionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateGeographicRegion)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(geographicregioncode), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported(geographicregioncode: &windows_core::HSTRING) -> windows_core::Result { Self::IGeographicRegionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(geographicregioncode), &mut result__).map(|| result__) }) } @@ -2676,21 +2676,21 @@ impl JapanesePhoneme { pub fn DisplayText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn YomiText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YomiText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPhraseStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPhraseStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2710,14 +2710,14 @@ impl JapanesePhoneticAnalyzer { #[cfg(feature = "Foundation_Collections")] pub fn GetWords(input: &windows_core::HSTRING) -> windows_core::Result> { Self::IJapanesePhoneticAnalyzerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWords)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetWordsWithMonoRubyOption(input: &windows_core::HSTRING, monoruby: bool) -> windows_core::Result> { Self::IJapanesePhoneticAnalyzerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWordsWithMonoRubyOption)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), monoruby, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2738,42 +2738,42 @@ impl Language { pub fn LanguageTag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LanguageTag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NativeName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NativeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Script(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Script)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LayoutDirection(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LayoutDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AbbreviatedName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbbreviatedName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2781,31 +2781,31 @@ impl Language { pub fn GetExtensionSubtags(&self, singleton: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetExtensionSubtags)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(singleton), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLanguage(languagetag: &windows_core::HSTRING) -> windows_core::Result { Self::ILanguageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsWellFormed(languagetag: &windows_core::HSTRING) -> windows_core::Result { Self::ILanguageStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWellFormed)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).map(|| result__) }) } pub fn CurrentInputMethodLanguageTag() -> windows_core::Result { Self::ILanguageStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentInputMethodLanguageTag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TrySetInputMethodLanguageTag(languagetag: &windows_core::HSTRING) -> windows_core::Result { Self::ILanguageStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetInputMethodLanguageTag)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagetag), &mut result__).map(|| result__) }) } @@ -2815,7 +2815,7 @@ impl Language { P0: windows_core::Param>, { Self::ILanguageStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMuiCompatibleLanguageListFromLanguageTags)(windows_core::Interface::as_raw(this), languagetags.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2856,289 +2856,289 @@ pub struct NumeralSystemIdentifiers; impl NumeralSystemIdentifiers { pub fn Arab() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arab)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ArabExt() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ArabExt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Bali() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bali)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Beng() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Beng)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Cham() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cham)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Deva() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deva)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FullWide() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FullWide)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Gujr() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gujr)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Guru() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Guru)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HaniDec() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HaniDec)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Java() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Java)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Kali() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kali)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Khmr() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Khmr)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Knda() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Knda)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Lana() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lana)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LanaTham() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LanaTham)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Laoo() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Laoo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Latn() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Latn)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Lepc() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lepc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Limb() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Limb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mlym() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mlym)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mong() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mong)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mtei() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mtei)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mymr() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mymr)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MymrShan() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MymrShan)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Nkoo() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Nkoo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Olck() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Olck)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Orya() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orya)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Saur() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Saur)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sund() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sund)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Talu() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Talu)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TamlDec() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TamlDec)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Telu() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Telu)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Thai() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thai)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Tibt() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tibt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Vaii() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Vaii)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Brah() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Brah)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Osma() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Osma)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MathBold() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MathBold)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MathDbl() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MathDbl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MathSans() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MathSans)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MathSanb() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MathSanb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MathMono() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MathMono)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZmthBold() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZmthBold)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZmthDbl() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZmthDbl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZmthSans() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZmthSans)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZmthSanb() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZmthSanb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ZmthMono() -> windows_core::Result { Self::INumeralSystemIdentifiersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZmthMono)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs index 90944788fc..826bbd8b2a 100644 --- a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs @@ -75,7 +75,7 @@ impl windows_core::RuntimeType for IGraphicsCaptureItem { #[repr(C)] pub struct IGraphicsCaptureItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::SizeInt32) -> windows_core::HRESULT, pub Closed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveClosed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -166,21 +166,21 @@ impl Direct3D11CaptureFrame { pub fn Surface(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Surface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemRelativeTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContentSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -218,7 +218,7 @@ impl Direct3D11CaptureFramePool { pub fn TryGetNextFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetNextFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -228,7 +228,7 @@ impl Direct3D11CaptureFramePool { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameArrived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -242,7 +242,7 @@ impl Direct3D11CaptureFramePool { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCaptureSession)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -250,7 +250,7 @@ impl Direct3D11CaptureFramePool { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -260,7 +260,7 @@ impl Direct3D11CaptureFramePool { P0: windows_core::Param, { Self::IDirect3D11CaptureFramePoolStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), device.param().abi(), pixelformat, numberofbuffers, size, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -270,7 +270,7 @@ impl Direct3D11CaptureFramePool { P0: windows_core::Param, { Self::IDirect3D11CaptureFramePoolStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFreeThreaded)(windows_core::Interface::as_raw(this), device.param().abi(), pixelformat, numberofbuffers, size, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -302,7 +302,7 @@ impl GraphicsCaptureAccess { #[cfg(feature = "Security_Authorization_AppCapabilityAccess")] pub fn RequestAccessAsync(request: GraphicsCaptureAccessKind) -> windows_core::Result> { Self::IGraphicsCaptureAccessStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), request, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -323,14 +323,14 @@ impl GraphicsCaptureItem { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -340,7 +340,7 @@ impl GraphicsCaptureItem { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -354,20 +354,20 @@ impl GraphicsCaptureItem { P0: windows_core::Param, { Self::IGraphicsCaptureItemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromVisual)(windows_core::Interface::as_raw(this), visual.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI")] pub fn TryCreateFromWindowId(windowid: super::super::UI::WindowId) -> windows_core::Result { Self::IGraphicsCaptureItemStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFromWindowId)(windows_core::Interface::as_raw(this), windowid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryCreateFromDisplayId(displayid: super::DisplayId) -> windows_core::Result { Self::IGraphicsCaptureItemStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFromDisplayId)(windows_core::Interface::as_raw(this), displayid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -409,7 +409,7 @@ impl GraphicsCapturePicker { pub fn PickSingleItemAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleItemAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -443,7 +443,7 @@ impl GraphicsCaptureSession { pub fn IsCursorCaptureEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCursorCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -454,7 +454,7 @@ impl GraphicsCaptureSession { pub fn IsBorderRequired(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBorderRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -464,7 +464,7 @@ impl GraphicsCaptureSession { } pub fn IsSupported() -> windows_core::Result { Self::IGraphicsCaptureSessionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 4eba2932f5..76d4d9ab20 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IDirect3DDevice, IDirect3DDevice_Vtbl, 0xa3 impl std::ops::Deref for IDirect3DDevice { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DDevice, windows_core::IUnknown, windows_core::IInspectable); @@ -29,7 +29,7 @@ windows_core::imp::define_interface!(IDirect3DSurface, IDirect3DSurface_Vtbl, 0x impl std::ops::Deref for IDirect3DSurface { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DSurface, windows_core::IUnknown, windows_core::IInspectable); @@ -38,7 +38,7 @@ impl IDirect3DSurface { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 644c328944..b2566f5233 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs @@ -63,21 +63,21 @@ impl HdmiDisplayInformation { pub fn GetSupportedDisplayModes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedDisplayModes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentDisplayMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentDisplayMode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetDefaultDisplayModeAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDefaultDisplayModeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -87,7 +87,7 @@ impl HdmiDisplayInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSetCurrentDisplayModeAsync)(windows_core::Interface::as_raw(this), mode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -97,7 +97,7 @@ impl HdmiDisplayInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSetCurrentDisplayModeWithHdrAsync)(windows_core::Interface::as_raw(this), mode.param().abi(), hdroption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -107,7 +107,7 @@ impl HdmiDisplayInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSetCurrentDisplayModeWithHdrAndMetadataAsync)(windows_core::Interface::as_raw(this), mode.param().abi(), hdroption, hdrmetadata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -117,7 +117,7 @@ impl HdmiDisplayInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayModesChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -127,7 +127,7 @@ impl HdmiDisplayInformation { } pub fn GetForCurrentView() -> windows_core::Result { Self::IHdmiDisplayInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -157,35 +157,35 @@ impl HdmiDisplayMode { pub fn ResolutionWidthInRawPixels(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolutionWidthInRawPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResolutionHeightInRawPixels(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolutionHeightInRawPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RefreshRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RefreshRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StereoEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BitsPerPixel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitsPerPixel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -195,49 +195,49 @@ impl HdmiDisplayMode { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), mode.param().abi(), &mut result__).map(|| result__) } } pub fn ColorSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorSpace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelEncoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSdrLuminanceSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSdrLuminanceSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSmpte2084Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSmpte2084Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Is2086MetadataSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Is2086MetadataSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDolbyVisionLowLatencySupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDolbyVisionLowLatencySupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs index 5d3c66dbc8..865c83cdc0 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs @@ -333,77 +333,77 @@ impl AdvancedColorInfo { pub fn CurrentAdvancedColorKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentAdvancedColorKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RedPrimary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedPrimary)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GreenPrimary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GreenPrimary)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BluePrimary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BluePrimary)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WhitePoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WhitePoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxLuminanceInNits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxLuminanceInNits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinLuminanceInNits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinLuminanceInNits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxAverageFullFrameLuminanceInNits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAverageFullFrameLuminanceInNits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SdrWhiteLevelInNits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SdrWhiteLevelInNits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHdrMetadataFormatCurrentlySupported(&self, format: HdrMetadataFormat) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHdrMetadataFormatCurrentlySupported)(windows_core::Interface::as_raw(this), format, &mut result__).map(|| result__) } } pub fn IsAdvancedColorKindAvailable(&self, kind: AdvancedColorKind) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAdvancedColorKindAvailable)(windows_core::Interface::as_raw(this), kind, &mut result__).map(|| result__) } } @@ -428,21 +428,21 @@ impl BrightnessOverride { pub fn IsSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOverrideActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverrideActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BrightnessLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrightnessLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -457,7 +457,7 @@ impl BrightnessOverride { pub fn GetLevelForScenario(&self, scenario: DisplayBrightnessScenario) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLevelForScenario)(windows_core::Interface::as_raw(this), scenario, &mut result__).map(|| result__) } } @@ -475,7 +475,7 @@ impl BrightnessOverride { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupportedChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -489,7 +489,7 @@ impl BrightnessOverride { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverrideActiveChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -503,7 +503,7 @@ impl BrightnessOverride { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrightnessLevelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -513,13 +513,13 @@ impl BrightnessOverride { } pub fn GetDefaultForSystem() -> windows_core::Result { Self::IBrightnessOverrideStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultForSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForCurrentView() -> windows_core::Result { Self::IBrightnessOverrideStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -528,7 +528,7 @@ impl BrightnessOverride { P0: windows_core::Param, { Self::IBrightnessOverrideStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveForSystemAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -558,32 +558,32 @@ impl BrightnessOverrideSettings { pub fn DesiredLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DesiredNits(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredNits)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateFromLevel(level: f64) -> windows_core::Result { Self::IBrightnessOverrideSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromLevel)(windows_core::Interface::as_raw(this), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromNits(nits: f32) -> windows_core::Result { Self::IBrightnessOverrideSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNits)(windows_core::Interface::as_raw(this), nits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromDisplayBrightnessOverrideScenario(overridescenario: DisplayBrightnessOverrideScenario) -> windows_core::Result { Self::IBrightnessOverrideSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDisplayBrightnessOverrideScenario)(windows_core::Interface::as_raw(this), overridescenario, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -613,13 +613,13 @@ impl ColorOverrideSettings { pub fn DesiredDisplayColorOverrideScenario(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredDisplayColorOverrideScenario)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateFromDisplayColorOverrideScenario(overridescenario: DisplayColorOverrideScenario) -> windows_core::Result { Self::IColorOverrideSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDisplayColorOverrideScenario)(windows_core::Interface::as_raw(this), overridescenario, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -649,7 +649,7 @@ impl DisplayEnhancementOverride { pub fn ColorOverrideSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorOverrideSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -663,7 +663,7 @@ impl DisplayEnhancementOverride { pub fn BrightnessOverrideSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrightnessOverrideSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -677,21 +677,21 @@ impl DisplayEnhancementOverride { pub fn CanOverride(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanOverride)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOverrideActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverrideActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetCurrentDisplayEnhancementOverrideCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentDisplayEnhancementOverrideCapabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -709,7 +709,7 @@ impl DisplayEnhancementOverride { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanOverrideChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -723,7 +723,7 @@ impl DisplayEnhancementOverride { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverrideActiveChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -737,7 +737,7 @@ impl DisplayEnhancementOverride { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayEnhancementOverrideCapabilitiesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -747,7 +747,7 @@ impl DisplayEnhancementOverride { } pub fn GetForCurrentView() -> windows_core::Result { Self::IDisplayEnhancementOverrideStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -777,14 +777,14 @@ impl DisplayEnhancementOverrideCapabilities { pub fn IsBrightnessControlSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBrightnessControlSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBrightnessNitsControlSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBrightnessNitsControlSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -792,7 +792,7 @@ impl DisplayEnhancementOverrideCapabilities { pub fn GetSupportedNitRanges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedNitRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -817,7 +817,7 @@ impl DisplayEnhancementOverrideCapabilitiesChangedEventArgs { pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -842,14 +842,14 @@ impl DisplayInformation { pub fn CurrentOrientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NativeOrientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NativeOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -859,7 +859,7 @@ impl DisplayInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -870,28 +870,28 @@ impl DisplayInformation { pub fn ResolutionScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolutionScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LogicalDpi(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogicalDpi)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RawDpiX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawDpiX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RawDpiY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawDpiY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -901,7 +901,7 @@ impl DisplayInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -912,7 +912,7 @@ impl DisplayInformation { pub fn StereoEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -922,7 +922,7 @@ impl DisplayInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoEnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -934,7 +934,7 @@ impl DisplayInformation { pub fn GetColorProfileAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetColorProfileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -944,7 +944,7 @@ impl DisplayInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorProfileChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -955,35 +955,35 @@ impl DisplayInformation { pub fn RawPixelsPerViewPixel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawPixelsPerViewPixel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DiagonalSizeInInches(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiagonalSizeInInches)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ScreenWidthInRawPixels(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenWidthInRawPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScreenHeightInRawPixels(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenHeightInRawPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetAdvancedColorInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAdvancedColorInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -993,7 +993,7 @@ impl DisplayInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvancedColorInfoChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1003,13 +1003,13 @@ impl DisplayInformation { } pub fn GetForCurrentView() -> windows_core::Result { Self::IDisplayInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AutoRotationPreferences() -> windows_core::Result { Self::IDisplayInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRotationPreferences)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1021,7 +1021,7 @@ impl DisplayInformation { P0: windows_core::Param>, { Self::IDisplayInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayContentsInvalidated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1053,21 +1053,21 @@ impl DisplayProperties { #[cfg(feature = "deprecated")] pub fn CurrentOrientation() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn NativeOrientation() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NativeOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn AutoRotationPreferences() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRotationPreferences)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1081,7 +1081,7 @@ impl DisplayProperties { P0: windows_core::Param, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1092,14 +1092,14 @@ impl DisplayProperties { #[cfg(feature = "deprecated")] pub fn ResolutionScale() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResolutionScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn LogicalDpi() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogicalDpi)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1109,7 +1109,7 @@ impl DisplayProperties { P0: windows_core::Param, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogicalDpiChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1120,7 +1120,7 @@ impl DisplayProperties { #[cfg(feature = "deprecated")] pub fn StereoEnabled() -> windows_core::Result { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1130,7 +1130,7 @@ impl DisplayProperties { P0: windows_core::Param, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoEnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1141,7 +1141,7 @@ impl DisplayProperties { #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] pub fn GetColorProfileAsync() -> windows_core::Result> { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetColorProfileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1151,7 +1151,7 @@ impl DisplayProperties { P0: windows_core::Param, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorProfileChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1165,7 +1165,7 @@ impl DisplayProperties { P0: windows_core::Param, { Self::IDisplayPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayContentsInvalidated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1192,7 +1192,7 @@ impl DisplayServices { pub fn FindAll() -> windows_core::Result> { Self::IDisplayServicesStatics(|this| unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).FindAll)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) }) } #[doc(hidden)] diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs index 567328dc9f..fc8b496a02 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs @@ -7,7 +7,7 @@ impl windows_core::RuntimeName for IGraphicsEffect { } impl IGraphicsEffect_Vtbl { pub const fn new, Impl: IGraphicsEffect_Impl, const OFFSET: isize>() -> IGraphicsEffect_Vtbl { - unsafe extern "system" fn Name, Impl: IGraphicsEffect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IGraphicsEffect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGraphicsEffect_Impl::Name(this) { @@ -19,7 +19,7 @@ impl IGraphicsEffect_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IGraphicsEffect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IGraphicsEffect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGraphicsEffect_Impl::SetName(this, core::mem::transmute(&name)).into() diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs index 85f308e429..9f2d9cd1ca 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IGraphicsEffect, IGraphicsEffect_Vtbl, 0xcb impl std::ops::Deref for IGraphicsEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGraphicsEffect, windows_core::IUnknown, windows_core::IInspectable); @@ -11,7 +11,7 @@ impl IGraphicsEffect { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -26,14 +26,14 @@ impl windows_core::RuntimeType for IGraphicsEffect { #[repr(C)] pub struct IGraphicsEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGraphicsEffectSource, IGraphicsEffectSource_Vtbl, 0x2d8f9ddc_4339_4eb9_9216_f9deb75658a2); impl std::ops::Deref for IGraphicsEffectSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGraphicsEffectSource, windows_core::IUnknown, windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs index dffad94af3..53a07fffc3 100644 --- a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs @@ -198,7 +198,7 @@ impl windows_core::RuntimeType for IHolographicDisplay { #[repr(C)] pub struct IHolographicDisplay_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxViewportSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, pub IsStereo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsOpaque: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -586,14 +586,14 @@ impl HolographicCamera { pub fn RenderTargetSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderTargetSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ViewportScaleFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewportScaleFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -604,14 +604,14 @@ impl HolographicCamera { pub fn IsStereo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStereo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -626,28 +626,28 @@ impl HolographicCamera { pub fn LeftViewportParameters(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeftViewportParameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RightViewportParameters(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightViewportParameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Display(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Display)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPrimaryLayerEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrimaryLayerEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -658,7 +658,7 @@ impl HolographicCamera { pub fn MaxQuadLayerCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxQuadLayerCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -666,28 +666,28 @@ impl HolographicCamera { pub fn QuadLayers(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuadLayers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanOverrideViewport(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanOverrideViewport)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHardwareContentProtectionSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHardwareContentProtectionSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHardwareContentProtectionEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHardwareContentProtectionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -698,7 +698,7 @@ impl HolographicCamera { pub fn ViewConfiguration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -723,14 +723,14 @@ impl HolographicCameraPose { pub fn HolographicCamera(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HolographicCamera)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Viewport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Viewport)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -741,7 +741,7 @@ impl HolographicCameraPose { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetViewTransform)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -749,7 +749,7 @@ impl HolographicCameraPose { pub fn ProjectionTransform(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProjectionTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -760,7 +760,7 @@ impl HolographicCameraPose { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetCullingFrustum)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -771,21 +771,21 @@ impl HolographicCameraPose { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetVisibleFrustum)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NearPlaneDistance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NearPlaneDistance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FarPlaneDistance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FarPlaneDistance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -852,7 +852,7 @@ impl HolographicCameraRenderingParameters { pub fn Direct3D11Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direct3D11Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -860,14 +860,14 @@ impl HolographicCameraRenderingParameters { pub fn Direct3D11BackBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direct3D11BackBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReprojectionMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReprojectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -886,7 +886,7 @@ impl HolographicCameraRenderingParameters { pub fn IsContentProtectionEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsContentProtectionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -897,7 +897,7 @@ impl HolographicCameraRenderingParameters { pub fn DepthReprojectionMethod(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DepthReprojectionMethod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -928,7 +928,7 @@ impl HolographicCameraViewportParameters { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).HiddenAreaMesh)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "Foundation_Numerics")] @@ -936,7 +936,7 @@ impl HolographicCameraViewportParameters { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).VisibleAreaMesh)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } } @@ -960,35 +960,35 @@ impl HolographicDisplay { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxViewportSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxViewportSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStereo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStereo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOpaque(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOpaque)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AdapterId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdapterId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -996,27 +996,27 @@ impl HolographicDisplay { pub fn SpatialLocator(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpatialLocator)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RefreshRate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RefreshRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryGetViewConfiguration(&self, kind: HolographicViewConfigurationKind) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetViewConfiguration)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IHolographicDisplayStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1047,7 +1047,7 @@ impl HolographicFrame { pub fn AddedCameras(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddedCameras)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1055,7 +1055,7 @@ impl HolographicFrame { pub fn RemovedCameras(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovedCameras)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1065,21 +1065,21 @@ impl HolographicFrame { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRenderingParameters)(windows_core::Interface::as_raw(this), camerapose.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CurrentPrediction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentPrediction)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1090,14 +1090,14 @@ impl HolographicFrame { pub fn PresentUsingCurrentPrediction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentUsingCurrentPrediction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PresentUsingCurrentPredictionWithBehavior(&self, waitbehavior: HolographicFramePresentWaitBehavior) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentUsingCurrentPredictionWithBehavior)(windows_core::Interface::as_raw(this), waitbehavior, &mut result__).map(|| result__) } } @@ -1111,14 +1111,14 @@ impl HolographicFrame { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetQuadLayerUpdateParameters)(windows_core::Interface::as_raw(this), layer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1144,7 +1144,7 @@ impl HolographicFramePrediction { pub fn CameraPoses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraPoses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1152,7 +1152,7 @@ impl HolographicFramePrediction { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1187,7 +1187,7 @@ impl HolographicFramePresentationMonitor { pub fn ReadReports(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadReports)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1221,7 +1221,7 @@ impl HolographicFramePresentationReport { pub fn CompositorGpuDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositorGpuDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1229,7 +1229,7 @@ impl HolographicFramePresentationReport { pub fn AppGpuDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppGpuDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1237,7 +1237,7 @@ impl HolographicFramePresentationReport { pub fn AppGpuOverrun(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppGpuOverrun)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1245,7 +1245,7 @@ impl HolographicFramePresentationReport { pub fn MissedPresentationOpportunityCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MissedPresentationOpportunityCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1253,7 +1253,7 @@ impl HolographicFramePresentationReport { pub fn PresentationCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1283,35 +1283,35 @@ impl HolographicFrameRenderingReport { pub fn FrameId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MissedLatchCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MissedLatchCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SystemRelativeFrameReadyTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeFrameReadyTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SystemRelativeActualGpuFinishTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeActualGpuFinishTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SystemRelativeTargetLatchTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeTargetLatchTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1342,7 +1342,7 @@ impl HolographicFrameScanoutMonitor { pub fn ReadReports(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadReports)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1367,35 +1367,35 @@ impl HolographicFrameScanoutReport { pub fn RenderingReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderingReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MissedScanoutCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MissedScanoutCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SystemRelativeLatchTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeLatchTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SystemRelativeScanoutStartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeScanoutStartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SystemRelativePhotonTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativePhotonTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1426,27 +1426,27 @@ impl HolographicQuadLayer { pub fn PixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(size: super::super::Foundation::Size) -> windows_core::Result { Self::IHolographicQuadLayerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), size, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithPixelFormat)(windows_core::Interface::as_raw(this), size, pixelformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1477,7 +1477,7 @@ impl HolographicQuadLayerUpdateParameters { pub fn AcquireBufferToUpdateContent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcquireBufferToUpdateContent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1510,7 +1510,7 @@ impl HolographicQuadLayerUpdateParameters { pub fn CanAcquireWithHardwareProtection(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanAcquireWithHardwareProtection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1518,7 +1518,7 @@ impl HolographicQuadLayerUpdateParameters { pub fn AcquireBufferToUpdateContentWithHardwareProtection(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcquireBufferToUpdateContentWithHardwareProtection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1543,7 +1543,7 @@ impl HolographicSpace { pub fn PrimaryAdapterId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryAdapterId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1561,7 +1561,7 @@ impl HolographicSpace { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraAdded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1575,7 +1575,7 @@ impl HolographicSpace { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1586,14 +1586,14 @@ impl HolographicSpace { pub fn CreateNextFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNextFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserPresence(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserPresence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1603,7 +1603,7 @@ impl HolographicSpace { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserPresenceChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1623,14 +1623,14 @@ impl HolographicSpace { pub fn CreateFramePresentationMonitor(&self, maxqueuedreports: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFramePresentationMonitor)(windows_core::Interface::as_raw(this), maxqueuedreports, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFrameScanoutMonitor(&self, maxqueuedreports: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameScanoutMonitor)(windows_core::Interface::as_raw(this), maxqueuedreports, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1640,19 +1640,19 @@ impl HolographicSpace { P0: windows_core::Param, { Self::IHolographicSpaceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForCoreWindow)(windows_core::Interface::as_raw(this), window.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IHolographicSpaceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsAvailable() -> windows_core::Result { Self::IHolographicSpaceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1661,7 +1661,7 @@ impl HolographicSpace { P0: windows_core::Param>, { Self::IHolographicSpaceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailableChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1670,7 +1670,7 @@ impl HolographicSpace { } pub fn IsConfigured() -> windows_core::Result { Self::IHolographicSpaceStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConfigured)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1710,14 +1710,14 @@ impl HolographicSpaceCameraAddedEventArgs { pub fn Camera(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Camera)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1742,7 +1742,7 @@ impl HolographicSpaceCameraRemovedEventArgs { pub fn Camera(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Camera)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1767,21 +1767,21 @@ impl HolographicViewConfiguration { pub fn NativeRenderTargetSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NativeRenderTargetSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RenderTargetSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderTargetSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestRenderTargetSize(&self, size: super::super::Foundation::Size) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestRenderTargetSize)(windows_core::Interface::as_raw(this), size, &mut result__).map(|| result__) } } @@ -1789,7 +1789,7 @@ impl HolographicViewConfiguration { pub fn SupportedPixelFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedPixelFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1797,7 +1797,7 @@ impl HolographicViewConfiguration { pub fn PixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1809,35 +1809,35 @@ impl HolographicViewConfiguration { pub fn IsStereo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStereo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RefreshRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RefreshRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Display(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Display)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1849,7 +1849,7 @@ impl HolographicViewConfiguration { pub fn SupportedDepthReprojectionMethods(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedDepthReprojectionMethods)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 0325e30586..eed5e5400b 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -20,7 +20,7 @@ pub struct IBitmapCodecInformation_Vtbl { pub FileExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FileExtensions: usize, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub MimeTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -157,7 +157,7 @@ windows_core::imp::define_interface!(IBitmapFrame, IBitmapFrame_Vtbl, 0x72a49a1c impl std::ops::Deref for IBitmapFrame { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBitmapFrame, windows_core::IUnknown, windows_core::IInspectable); @@ -166,77 +166,77 @@ impl IBitmapFrame { pub fn GetThumbnailAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapPixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapPixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BitmapAlphaMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapAlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DpiX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DpiY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OrientedPixelWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientedPixelWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OrientedPixelHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientedPixelHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPixelDataAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPixelDataAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -246,7 +246,7 @@ impl IBitmapFrame { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPixelDataTransformedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, transform.param().abi(), exiforientationmode, colormanagementmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -277,7 +277,7 @@ windows_core::imp::define_interface!(IBitmapFrameWithSoftwareBitmap, IBitmapFram impl std::ops::Deref for IBitmapFrameWithSoftwareBitmap { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBitmapFrameWithSoftwareBitmap, windows_core::IUnknown, windows_core::IInspectable); @@ -286,14 +286,14 @@ impl IBitmapFrameWithSoftwareBitmap { pub fn GetSoftwareBitmapAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSoftwareBitmapAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSoftwareBitmapConvertedAsync(&self, pixelformat: BitmapPixelFormat, alphamode: BitmapAlphaMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSoftwareBitmapConvertedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -303,7 +303,7 @@ impl IBitmapFrameWithSoftwareBitmap { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSoftwareBitmapTransformedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, transform.param().abi(), exiforientationmode, colormanagementmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -311,77 +311,77 @@ impl IBitmapFrameWithSoftwareBitmap { pub fn GetThumbnailAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapPixelFormat(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapPixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BitmapAlphaMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapAlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DpiX(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DpiY(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelWidth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelHeight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OrientedPixelWidth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientedPixelWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OrientedPixelHeight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientedPixelHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPixelDataAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPixelDataAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -391,7 +391,7 @@ impl IBitmapFrameWithSoftwareBitmap { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPixelDataTransformedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, transform.param().abi(), exiforientationmode, colormanagementmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -422,7 +422,7 @@ windows_core::imp::define_interface!(IBitmapPropertiesView, IBitmapPropertiesVie impl std::ops::Deref for IBitmapPropertiesView { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBitmapPropertiesView, windows_core::IUnknown, windows_core::IInspectable); @@ -434,7 +434,7 @@ impl IBitmapPropertiesView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -572,14 +572,14 @@ impl BitmapBuffer { pub fn GetPlaneCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPlaneCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPlaneDescription(&self, index: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPlaneDescription)(windows_core::Interface::as_raw(this), index, &mut result__).map(|| result__) } } @@ -590,7 +590,7 @@ impl BitmapBuffer { pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -615,7 +615,7 @@ impl BitmapCodecInformation { pub fn CodecId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CodecId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -623,14 +623,14 @@ impl BitmapCodecInformation { pub fn FileExtensions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -638,7 +638,7 @@ impl BitmapCodecInformation { pub fn MimeTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MimeTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -664,21 +664,21 @@ impl BitmapDecoder { pub fn BitmapContainerProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapContainerProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DecoderInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecoderInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FrameCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -686,63 +686,63 @@ impl BitmapDecoder { pub fn GetPreviewAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPreviewAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFrameAsync(&self, frameindex: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFrameAsync)(windows_core::Interface::as_raw(this), frameindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BmpDecoderId() -> windows_core::Result { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BmpDecoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn JpegDecoderId() -> windows_core::Result { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JpegDecoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PngDecoderId() -> windows_core::Result { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PngDecoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TiffDecoderId() -> windows_core::Result { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TiffDecoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GifDecoderId() -> windows_core::Result { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GifDecoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn JpegXRDecoderId() -> windows_core::Result { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JpegXRDecoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IcoDecoderId() -> windows_core::Result { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IcoDecoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetDecoderInformationEnumerator() -> windows_core::Result> { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDecoderInformationEnumerator)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -752,7 +752,7 @@ impl BitmapDecoder { P0: windows_core::Param, { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -762,19 +762,19 @@ impl BitmapDecoder { P0: windows_core::Param, { Self::IBitmapDecoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithIdAsync)(windows_core::Interface::as_raw(this), decoderid, stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HeifDecoderId() -> windows_core::Result { Self::IBitmapDecoderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeifDecoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn WebpDecoderId() -> windows_core::Result { Self::IBitmapDecoderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebpDecoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -782,77 +782,77 @@ impl BitmapDecoder { pub fn GetThumbnailAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapPixelFormat(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapPixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BitmapAlphaMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapAlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DpiX(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DpiY(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelWidth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelHeight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OrientedPixelWidth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientedPixelWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OrientedPixelHeight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientedPixelHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPixelDataAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPixelDataAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -862,21 +862,21 @@ impl BitmapDecoder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPixelDataTransformedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, transform.param().abi(), exiforientationmode, colormanagementmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSoftwareBitmapAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSoftwareBitmapAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSoftwareBitmapConvertedAsync(&self, pixelformat: BitmapPixelFormat, alphamode: BitmapAlphaMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSoftwareBitmapConvertedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -886,7 +886,7 @@ impl BitmapDecoder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSoftwareBitmapTransformedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, transform.param().abi(), exiforientationmode, colormanagementmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -921,28 +921,28 @@ impl BitmapEncoder { pub fn EncoderInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncoderInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapContainerProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapContainerProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsThumbnailGenerated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsThumbnailGenerated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -953,7 +953,7 @@ impl BitmapEncoder { pub fn GeneratedThumbnailWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeneratedThumbnailWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -964,7 +964,7 @@ impl BitmapEncoder { pub fn GeneratedThumbnailHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeneratedThumbnailHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -975,7 +975,7 @@ impl BitmapEncoder { pub fn BitmapTransform(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapTransform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -986,7 +986,7 @@ impl BitmapEncoder { pub fn GoToNextFrameAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GoToNextFrameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -997,57 +997,57 @@ impl BitmapEncoder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GoToNextFrameWithEncodingOptionsAsync)(windows_core::Interface::as_raw(this), encodingoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BmpEncoderId() -> windows_core::Result { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BmpEncoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn JpegEncoderId() -> windows_core::Result { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JpegEncoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PngEncoderId() -> windows_core::Result { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PngEncoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TiffEncoderId() -> windows_core::Result { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TiffEncoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GifEncoderId() -> windows_core::Result { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GifEncoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn JpegXREncoderId() -> windows_core::Result { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JpegXREncoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetEncoderInformationEnumerator() -> windows_core::Result> { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEncoderInformationEnumerator)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1057,7 +1057,7 @@ impl BitmapEncoder { P0: windows_core::Param, { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), encoderid, stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1068,7 +1068,7 @@ impl BitmapEncoder { P1: windows_core::Param>>, { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithEncodingOptionsAsync)(windows_core::Interface::as_raw(this), encoderid, stream.param().abi(), encodingoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1079,7 +1079,7 @@ impl BitmapEncoder { P1: windows_core::Param, { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForTranscodingAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), bitmapdecoder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1088,13 +1088,13 @@ impl BitmapEncoder { P0: windows_core::Param, { Self::IBitmapEncoderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForInPlacePropertyEncodingAsync)(windows_core::Interface::as_raw(this), bitmapdecoder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HeifEncoderId() -> windows_core::Result { Self::IBitmapEncoderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeifEncoderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1138,77 +1138,77 @@ impl BitmapFrame { pub fn GetThumbnailAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BitmapPixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapPixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BitmapAlphaMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapAlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DpiX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DpiY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OrientedPixelWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientedPixelWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OrientedPixelHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrientedPixelHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPixelDataAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPixelDataAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1218,21 +1218,21 @@ impl BitmapFrame { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPixelDataTransformedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, transform.param().abi(), exiforientationmode, colormanagementmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSoftwareBitmapAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSoftwareBitmapAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSoftwareBitmapConvertedAsync(&self, pixelformat: BitmapPixelFormat, alphamode: BitmapAlphaMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSoftwareBitmapConvertedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1242,7 +1242,7 @@ impl BitmapFrame { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSoftwareBitmapTransformedAsync)(windows_core::Interface::as_raw(this), pixelformat, alphamode, transform.param().abi(), exiforientationmode, colormanagementmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1272,7 +1272,7 @@ impl BitmapProperties { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1283,7 +1283,7 @@ impl BitmapProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1313,7 +1313,7 @@ impl BitmapPropertiesView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1351,7 +1351,7 @@ impl BitmapPropertySet { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1359,7 +1359,7 @@ impl BitmapPropertySet { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1367,7 +1367,7 @@ impl BitmapPropertySet { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1375,7 +1375,7 @@ impl BitmapPropertySet { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -1383,7 +1383,7 @@ impl BitmapPropertySet { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1394,7 +1394,7 @@ impl BitmapPropertySet { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -1457,7 +1457,7 @@ impl BitmapTransform { pub fn ScaledWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaledWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1468,7 +1468,7 @@ impl BitmapTransform { pub fn ScaledHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaledHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1479,7 +1479,7 @@ impl BitmapTransform { pub fn InterpolationMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterpolationMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1490,7 +1490,7 @@ impl BitmapTransform { pub fn Flip(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Flip)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1501,7 +1501,7 @@ impl BitmapTransform { pub fn Rotation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rotation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1512,7 +1512,7 @@ impl BitmapTransform { pub fn Bounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1541,14 +1541,14 @@ impl BitmapTypedValue { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1557,7 +1557,7 @@ impl BitmapTypedValue { P0: windows_core::Param, { Self::IBitmapTypedValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), value.param().abi(), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1597,7 +1597,7 @@ impl ImageStream { pub fn ContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1608,7 +1608,7 @@ impl ImageStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1619,7 +1619,7 @@ impl ImageStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1627,7 +1627,7 @@ impl ImageStream { pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1635,7 +1635,7 @@ impl ImageStream { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1648,7 +1648,7 @@ impl ImageStream { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1656,7 +1656,7 @@ impl ImageStream { pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1664,7 +1664,7 @@ impl ImageStream { pub fn Position(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1677,7 +1677,7 @@ impl ImageStream { pub fn CloneStream(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1685,7 +1685,7 @@ impl ImageStream { pub fn CanRead(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1693,7 +1693,7 @@ impl ImageStream { pub fn CanWrite(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1724,7 +1724,7 @@ impl PixelDataProvider { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).DetachPixelData)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } } @@ -1753,35 +1753,35 @@ impl SoftwareBitmap { pub fn BitmapPixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapPixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BitmapAlphaMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapAlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PixelHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReadOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1792,7 +1792,7 @@ impl SoftwareBitmap { pub fn DpiX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1803,14 +1803,14 @@ impl SoftwareBitmap { pub fn DpiY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LockBuffer(&self, mode: BitmapBufferAccessMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockBuffer)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1840,19 +1840,19 @@ impl SoftwareBitmap { pub fn GetReadOnlyView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetReadOnlyView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(format: BitmapPixelFormat, width: i32, height: i32) -> windows_core::Result { Self::ISoftwareBitmapFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), format, width, height, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithAlpha(format: BitmapPixelFormat, width: i32, height: i32, alpha: BitmapAlphaMode) -> windows_core::Result { Self::ISoftwareBitmapFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAlpha)(windows_core::Interface::as_raw(this), format, width, height, alpha, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1861,7 +1861,7 @@ impl SoftwareBitmap { P0: windows_core::Param, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copy)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1870,7 +1870,7 @@ impl SoftwareBitmap { P0: windows_core::Param, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Convert)(windows_core::Interface::as_raw(this), source.param().abi(), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1879,7 +1879,7 @@ impl SoftwareBitmap { P0: windows_core::Param, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertWithAlpha)(windows_core::Interface::as_raw(this), source.param().abi(), format, alpha, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1889,7 +1889,7 @@ impl SoftwareBitmap { P0: windows_core::Param, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCopyFromBuffer)(windows_core::Interface::as_raw(this), source.param().abi(), format, width, height, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1899,7 +1899,7 @@ impl SoftwareBitmap { P0: windows_core::Param, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCopyWithAlphaFromBuffer)(windows_core::Interface::as_raw(this), source.param().abi(), format, width, height, alpha, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1909,7 +1909,7 @@ impl SoftwareBitmap { P0: windows_core::Param, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCopyFromSurfaceAsync)(windows_core::Interface::as_raw(this), surface.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1919,7 +1919,7 @@ impl SoftwareBitmap { P0: windows_core::Param, { Self::ISoftwareBitmapStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCopyWithAlphaFromSurfaceAsync)(windows_core::Interface::as_raw(this), surface.param().abi(), alpha, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs index 1f261fb70e..f5aa333f4a 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs @@ -7,12 +7,12 @@ impl windows_core::RuntimeName for IPrintCustomOptionDetails { } impl IPrintCustomOptionDetails_Vtbl { pub const fn new, Impl: IPrintCustomOptionDetails_Impl, const OFFSET: isize>() -> IPrintCustomOptionDetails_Vtbl { - unsafe extern "system" fn SetDisplayName, Impl: IPrintCustomOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IPrintCustomOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrintCustomOptionDetails_Impl::SetDisplayName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn DisplayName, Impl: IPrintCustomOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IPrintCustomOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintCustomOptionDetails_Impl::DisplayName(this) { @@ -119,7 +119,7 @@ impl windows_core::RuntimeName for IPrintOptionDetails { } impl IPrintOptionDetails_Vtbl { pub const fn new, Impl: IPrintOptionDetails_Impl, const OFFSET: isize>() -> IPrintOptionDetails_Vtbl { - unsafe extern "system" fn OptionId, Impl: IPrintOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OptionId, Impl: IPrintOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintOptionDetails_Impl::OptionId(this) { @@ -142,12 +142,12 @@ impl IPrintOptionDetails_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetErrorText, Impl: IPrintOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetErrorText, Impl: IPrintOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrintOptionDetails_Impl::SetErrorText(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn ErrorText, Impl: IPrintOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ErrorText, Impl: IPrintOptionDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintOptionDetails_Impl::ErrorText(this) { 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 e75698a308..4a96d1986a 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs @@ -5,10 +5,10 @@ impl windows_core::RuntimeType for IPrintBindingOptionDetails { #[repr(C)] pub struct IPrintBindingOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintBorderingOptionDetails, IPrintBorderingOptionDetails_Vtbl, 0x4d73bc8f_fb53_4eb2_985f_1d91de0b7639); impl windows_core::RuntimeType for IPrintBorderingOptionDetails { @@ -17,10 +17,10 @@ impl windows_core::RuntimeType for IPrintBorderingOptionDetails { #[repr(C)] pub struct IPrintBorderingOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCollationOptionDetails, IPrintCollationOptionDetails_Vtbl, 0xd6abb166_a5a6_40dc_acc3_739f28f1e5d3); impl windows_core::RuntimeType for IPrintCollationOptionDetails { @@ -29,10 +29,10 @@ impl windows_core::RuntimeType for IPrintCollationOptionDetails { #[repr(C)] pub struct IPrintCollationOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintColorModeOptionDetails, IPrintColorModeOptionDetails_Vtbl, 0xdba97704_f1d6_4843_a484_9b447cdcf3b6); impl windows_core::RuntimeType for IPrintColorModeOptionDetails { @@ -41,10 +41,10 @@ impl windows_core::RuntimeType for IPrintColorModeOptionDetails { #[repr(C)] pub struct IPrintColorModeOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCopiesOptionDetails, IPrintCopiesOptionDetails_Vtbl, 0x42053099_4339_4343_898d_2c47b5e0c341); impl windows_core::RuntimeType for IPrintCopiesOptionDetails { @@ -53,10 +53,10 @@ impl windows_core::RuntimeType for IPrintCopiesOptionDetails { #[repr(C)] pub struct IPrintCopiesOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCustomItemDetails, IPrintCustomItemDetails_Vtbl, 0x5704b637_5c3a_449a_aa36_b3291b1192fd); impl windows_core::RuntimeType for IPrintCustomItemDetails { @@ -65,9 +65,9 @@ impl windows_core::RuntimeType for IPrintCustomItemDetails { #[repr(C)] pub struct IPrintCustomItemDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetItemDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ItemDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetItemDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ItemDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCustomItemListOptionDetails, IPrintCustomItemListOptionDetails_Vtbl, 0xa5fafd88_58f2_4ebd_b90f_51e4f2944c5d); impl windows_core::RuntimeType for IPrintCustomItemListOptionDetails { @@ -76,7 +76,7 @@ impl windows_core::RuntimeType for IPrintCustomItemListOptionDetails { #[repr(C)] pub struct IPrintCustomItemListOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCustomItemListOptionDetails2, IPrintCustomItemListOptionDetails2_Vtbl, 0xc9d6353d_651c_4a39_906e_1091a1801bf1); impl windows_core::RuntimeType for IPrintCustomItemListOptionDetails2 { @@ -86,7 +86,7 @@ impl windows_core::RuntimeType for IPrintCustomItemListOptionDetails2 { pub struct IPrintCustomItemListOptionDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage_Streams")] - pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] AddItem: usize, } @@ -97,16 +97,16 @@ impl windows_core::RuntimeType for IPrintCustomItemListOptionDetails3 { #[repr(C)] pub struct IPrintCustomItemListOptionDetails3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCustomOptionDetails, IPrintCustomOptionDetails_Vtbl, 0xe32bde1c_28af_4b90_95da_a3acf320b929); impl std::ops::Deref for IPrintCustomOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintCustomOptionDetails, windows_core::IUnknown, windows_core::IInspectable); @@ -119,21 +119,21 @@ impl IPrintCustomOptionDetails { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -144,7 +144,7 @@ impl IPrintCustomOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -155,14 +155,14 @@ impl IPrintCustomOptionDetails { pub fn State(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -172,7 +172,7 @@ impl IPrintCustomOptionDetails { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -183,8 +183,8 @@ impl windows_core::RuntimeType for IPrintCustomOptionDetails { #[repr(C)] pub struct IPrintCustomOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCustomTextOptionDetails, IPrintCustomTextOptionDetails_Vtbl, 0x2ad171f8_c8bd_4905_9192_0d75136e8b31); impl windows_core::RuntimeType for IPrintCustomTextOptionDetails { @@ -203,10 +203,10 @@ impl windows_core::RuntimeType for IPrintCustomTextOptionDetails2 { #[repr(C)] pub struct IPrintCustomTextOptionDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCustomToggleOptionDetails, IPrintCustomToggleOptionDetails_Vtbl, 0x9db4d514_e461_4608_8ee9_db6f5ed073c6); impl windows_core::RuntimeType for IPrintCustomToggleOptionDetails { @@ -215,10 +215,10 @@ impl windows_core::RuntimeType for IPrintCustomToggleOptionDetails { #[repr(C)] pub struct IPrintCustomToggleOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintDuplexOptionDetails, IPrintDuplexOptionDetails_Vtbl, 0xfcd94591_d4a4_44fa_b3fe_42e0ba28d5ad); impl windows_core::RuntimeType for IPrintDuplexOptionDetails { @@ -227,10 +227,10 @@ impl windows_core::RuntimeType for IPrintDuplexOptionDetails { #[repr(C)] pub struct IPrintDuplexOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintHolePunchOptionDetails, IPrintHolePunchOptionDetails_Vtbl, 0xa6de1f18_482c_4657_9d71_8ddddbea1e1e); impl windows_core::RuntimeType for IPrintHolePunchOptionDetails { @@ -239,16 +239,16 @@ impl windows_core::RuntimeType for IPrintHolePunchOptionDetails { #[repr(C)] pub struct IPrintHolePunchOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintItemListOptionDetails, IPrintItemListOptionDetails_Vtbl, 0x9a2257bf_fe61_43d8_a24f_a3f6ab7320e7); impl std::ops::Deref for IPrintItemListOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintItemListOptionDetails, windows_core::IUnknown, windows_core::IInspectable); @@ -258,21 +258,21 @@ impl IPrintItemListOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -283,7 +283,7 @@ impl IPrintItemListOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -294,14 +294,14 @@ impl IPrintItemListOptionDetails { pub fn State(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -311,7 +311,7 @@ impl IPrintItemListOptionDetails { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -334,10 +334,10 @@ impl windows_core::RuntimeType for IPrintMediaSizeOptionDetails { #[repr(C)] pub struct IPrintMediaSizeOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintMediaTypeOptionDetails, IPrintMediaTypeOptionDetails_Vtbl, 0xf8c7000b_abf3_4abc_8e86_22abc5744a43); impl windows_core::RuntimeType for IPrintMediaTypeOptionDetails { @@ -346,16 +346,16 @@ impl windows_core::RuntimeType for IPrintMediaTypeOptionDetails { #[repr(C)] pub struct IPrintMediaTypeOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintNumberOptionDetails, IPrintNumberOptionDetails_Vtbl, 0x4d01bbaf_645c_4de9_965f_6fc6bbc47cab); impl std::ops::Deref for IPrintNumberOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintNumberOptionDetails, windows_core::IUnknown, windows_core::IInspectable); @@ -364,28 +364,28 @@ impl IPrintNumberOptionDetails { pub fn MinValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OptionId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -396,7 +396,7 @@ impl IPrintNumberOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -407,14 +407,14 @@ impl IPrintNumberOptionDetails { pub fn State(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -424,7 +424,7 @@ impl IPrintNumberOptionDetails { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -442,7 +442,7 @@ windows_core::imp::define_interface!(IPrintOptionDetails, IPrintOptionDetails_Vt impl std::ops::Deref for IPrintOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintOptionDetails, windows_core::IUnknown, windows_core::IInspectable); @@ -450,14 +450,14 @@ impl IPrintOptionDetails { pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -468,7 +468,7 @@ impl IPrintOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -479,14 +479,14 @@ impl IPrintOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -496,7 +496,7 @@ impl IPrintOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -507,10 +507,10 @@ impl windows_core::RuntimeType for IPrintOptionDetails { #[repr(C)] pub struct IPrintOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OptionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OptionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OptionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintOptionType) -> windows_core::HRESULT, - pub SetErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, PrintOptionStates) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintOptionStates) -> windows_core::HRESULT, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -523,10 +523,10 @@ impl windows_core::RuntimeType for IPrintOrientationOptionDetails { #[repr(C)] pub struct IPrintOrientationOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintPageRangeOptionDetails, IPrintPageRangeOptionDetails_Vtbl, 0x5a19e4b7_2be8_4aa7_9ea5_defbe8713b4e); impl windows_core::RuntimeType for IPrintPageRangeOptionDetails { @@ -535,10 +535,10 @@ impl windows_core::RuntimeType for IPrintPageRangeOptionDetails { #[repr(C)] pub struct IPrintPageRangeOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintQualityOptionDetails, IPrintQualityOptionDetails_Vtbl, 0x2dd06ba1_ce1a_44e6_84f9_3a92ea1e3044); impl windows_core::RuntimeType for IPrintQualityOptionDetails { @@ -547,10 +547,10 @@ impl windows_core::RuntimeType for IPrintQualityOptionDetails { #[repr(C)] pub struct IPrintQualityOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintStapleOptionDetails, IPrintStapleOptionDetails_Vtbl, 0xd43175bd_9c0b_44e0_84f6_ceebce653800); impl windows_core::RuntimeType for IPrintStapleOptionDetails { @@ -559,10 +559,10 @@ impl windows_core::RuntimeType for IPrintStapleOptionDetails { #[repr(C)] pub struct IPrintStapleOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWarningText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WarningText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTaskOptionChangedEventArgs, IPrintTaskOptionChangedEventArgs_Vtbl, 0x65197d05_a5ee_4307_9407_9acad147679c); impl windows_core::RuntimeType for IPrintTaskOptionChangedEventArgs { @@ -584,8 +584,8 @@ pub struct IPrintTaskOptionDetails_Vtbl { pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Options: usize, - pub CreateItemListOption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTextOption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItemListOption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTextOption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OptionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveOptionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub BeginValidation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -598,7 +598,7 @@ impl windows_core::RuntimeType for IPrintTaskOptionDetails2 { #[repr(C)] pub struct IPrintTaskOptionDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateToggleOption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateToggleOption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTaskOptionDetailsStatic, IPrintTaskOptionDetailsStatic_Vtbl, 0x135da193_0961_4b6e_8766_f13b7fbccd58); impl windows_core::RuntimeType for IPrintTaskOptionDetailsStatic { @@ -613,7 +613,7 @@ windows_core::imp::define_interface!(IPrintTextOptionDetails, IPrintTextOptionDe impl std::ops::Deref for IPrintTextOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintTextOptionDetails, windows_core::IUnknown, windows_core::IInspectable); @@ -622,21 +622,21 @@ impl IPrintTextOptionDetails { pub fn MaxCharacters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxCharacters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OptionId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -647,7 +647,7 @@ impl IPrintTextOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -658,14 +658,14 @@ impl IPrintTextOptionDetails { pub fn State(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -675,7 +675,7 @@ impl IPrintTextOptionDetails { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -701,7 +701,7 @@ impl PrintBindingOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -712,7 +712,7 @@ impl PrintBindingOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -720,21 +720,21 @@ impl PrintBindingOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -745,7 +745,7 @@ impl PrintBindingOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -756,14 +756,14 @@ impl PrintBindingOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -773,7 +773,7 @@ impl PrintBindingOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -803,7 +803,7 @@ impl PrintBorderingOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -814,7 +814,7 @@ impl PrintBorderingOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -822,21 +822,21 @@ impl PrintBorderingOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -847,7 +847,7 @@ impl PrintBorderingOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -858,14 +858,14 @@ impl PrintBorderingOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -875,7 +875,7 @@ impl PrintBorderingOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -905,7 +905,7 @@ impl PrintCollationOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -916,7 +916,7 @@ impl PrintCollationOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -924,21 +924,21 @@ impl PrintCollationOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -949,7 +949,7 @@ impl PrintCollationOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -960,14 +960,14 @@ impl PrintCollationOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -977,7 +977,7 @@ impl PrintCollationOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1007,7 +1007,7 @@ impl PrintColorModeOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1018,7 +1018,7 @@ impl PrintColorModeOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1026,21 +1026,21 @@ impl PrintColorModeOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1051,7 +1051,7 @@ impl PrintColorModeOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1062,14 +1062,14 @@ impl PrintColorModeOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1079,7 +1079,7 @@ impl PrintColorModeOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1109,7 +1109,7 @@ impl PrintCopiesOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1120,35 +1120,35 @@ impl PrintCopiesOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1159,7 +1159,7 @@ impl PrintCopiesOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1170,14 +1170,14 @@ impl PrintCopiesOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1187,7 +1187,7 @@ impl PrintCopiesOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1212,7 +1212,7 @@ impl PrintCustomItemDetails { pub fn ItemId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1223,7 +1223,7 @@ impl PrintCustomItemDetails { pub fn ItemDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1265,7 +1265,7 @@ impl PrintCustomItemListOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1276,7 +1276,7 @@ impl PrintCustomItemListOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1287,7 +1287,7 @@ impl PrintCustomItemListOptionDetails { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1295,21 +1295,21 @@ impl PrintCustomItemListOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1320,7 +1320,7 @@ impl PrintCustomItemListOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1331,14 +1331,14 @@ impl PrintCustomItemListOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1348,7 +1348,7 @@ impl PrintCustomItemListOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1378,7 +1378,7 @@ impl PrintCustomTextOptionDetails { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1389,7 +1389,7 @@ impl PrintCustomTextOptionDetails { pub fn MaxCharacters(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxCharacters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1400,7 +1400,7 @@ impl PrintCustomTextOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1411,21 +1411,21 @@ impl PrintCustomTextOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1436,7 +1436,7 @@ impl PrintCustomTextOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1447,14 +1447,14 @@ impl PrintCustomTextOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1464,7 +1464,7 @@ impl PrintCustomTextOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1494,7 +1494,7 @@ impl PrintCustomToggleOptionDetails { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1505,7 +1505,7 @@ impl PrintCustomToggleOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1516,21 +1516,21 @@ impl PrintCustomToggleOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1541,7 +1541,7 @@ impl PrintCustomToggleOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1552,14 +1552,14 @@ impl PrintCustomToggleOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1569,7 +1569,7 @@ impl PrintCustomToggleOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1599,7 +1599,7 @@ impl PrintDuplexOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1610,7 +1610,7 @@ impl PrintDuplexOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1618,21 +1618,21 @@ impl PrintDuplexOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1643,7 +1643,7 @@ impl PrintDuplexOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1654,14 +1654,14 @@ impl PrintDuplexOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1671,7 +1671,7 @@ impl PrintDuplexOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1701,7 +1701,7 @@ impl PrintHolePunchOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1712,7 +1712,7 @@ impl PrintHolePunchOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1720,21 +1720,21 @@ impl PrintHolePunchOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1745,7 +1745,7 @@ impl PrintHolePunchOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1756,14 +1756,14 @@ impl PrintHolePunchOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1773,7 +1773,7 @@ impl PrintHolePunchOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1800,7 +1800,7 @@ impl PrintMediaSizeOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1811,7 +1811,7 @@ impl PrintMediaSizeOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1822,21 +1822,21 @@ impl PrintMediaSizeOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1847,7 +1847,7 @@ impl PrintMediaSizeOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1858,14 +1858,14 @@ impl PrintMediaSizeOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1875,7 +1875,7 @@ impl PrintMediaSizeOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1902,7 +1902,7 @@ impl PrintMediaTypeOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1913,7 +1913,7 @@ impl PrintMediaTypeOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1924,21 +1924,21 @@ impl PrintMediaTypeOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1949,7 +1949,7 @@ impl PrintMediaTypeOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1960,14 +1960,14 @@ impl PrintMediaTypeOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1977,7 +1977,7 @@ impl PrintMediaTypeOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2004,21 +2004,21 @@ impl PrintOrientationOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2029,7 +2029,7 @@ impl PrintOrientationOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2040,14 +2040,14 @@ impl PrintOrientationOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2057,7 +2057,7 @@ impl PrintOrientationOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2068,7 +2068,7 @@ impl PrintOrientationOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2079,7 +2079,7 @@ impl PrintOrientationOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2105,14 +2105,14 @@ impl PrintPageRangeOptionDetails { pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2123,7 +2123,7 @@ impl PrintPageRangeOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2134,14 +2134,14 @@ impl PrintPageRangeOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2151,7 +2151,7 @@ impl PrintPageRangeOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2162,7 +2162,7 @@ impl PrintPageRangeOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2173,7 +2173,7 @@ impl PrintPageRangeOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2200,21 +2200,21 @@ impl PrintQualityOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2225,7 +2225,7 @@ impl PrintQualityOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2236,14 +2236,14 @@ impl PrintQualityOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2253,7 +2253,7 @@ impl PrintQualityOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2264,7 +2264,7 @@ impl PrintQualityOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2275,7 +2275,7 @@ impl PrintQualityOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2302,21 +2302,21 @@ impl PrintStapleOptionDetails { pub fn Items(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2327,7 +2327,7 @@ impl PrintStapleOptionDetails { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2338,14 +2338,14 @@ impl PrintStapleOptionDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2355,7 +2355,7 @@ impl PrintStapleOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2366,7 +2366,7 @@ impl PrintStapleOptionDetails { pub fn WarningText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WarningText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2377,7 +2377,7 @@ impl PrintStapleOptionDetails { pub fn Description(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2402,7 +2402,7 @@ impl PrintTaskOptionChangedEventArgs { pub fn OptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2429,21 +2429,21 @@ impl PrintTaskOptionDetails { pub fn Options(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateItemListOption(&self, optionid: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateItemListOption)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(optionid), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateTextOption(&self, optionid: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTextOption)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(optionid), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2453,7 +2453,7 @@ impl PrintTaskOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -2467,7 +2467,7 @@ impl PrintTaskOptionDetails { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginValidation)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -2478,7 +2478,7 @@ impl PrintTaskOptionDetails { pub fn CreateToggleOption(&self, optionid: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateToggleOption)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(optionid), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2487,14 +2487,14 @@ impl PrintTaskOptionDetails { P0: windows_core::Param, { Self::IPrintTaskOptionDetailsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFromPrintTaskOptions)(windows_core::Interface::as_raw(this), printtaskoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetPageDescription(&self, jobpagenumber: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPageDescription)(windows_core::Interface::as_raw(this), jobpagenumber, &mut result__).map(|| result__) } } @@ -2502,7 +2502,7 @@ impl PrintTaskOptionDetails { pub fn DisplayedOptions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayedOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 e19b328075..e7638f13f3 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs @@ -62,7 +62,7 @@ pub struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2_Vtbl { pub SetSupportedPdlPassthroughContentTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SetSupportedPdlPassthroughContentTypes: usize, - pub ResourceLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResourceLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub GetCurrentPrintDeviceResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -98,10 +98,10 @@ impl windows_core::RuntimeType for IPrintSupportPrintTicketElement { #[repr(C)] pub struct IPrintSupportPrintTicketElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LocalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NamespaceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNamespaceUri: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NamespaceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNamespaceUri: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintSupportPrintTicketValidationRequestedEventArgs, IPrintSupportPrintTicketValidationRequestedEventArgs_Vtbl, 0x338e4e69_db55_55c7_8338_ef64680a8f90); impl windows_core::RuntimeType for IPrintSupportPrintTicketValidationRequestedEventArgs { @@ -188,7 +188,7 @@ pub struct IPrintSupportSettingsUISession_Vtbl { pub SessionPrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Graphics_Printing_PrintTicket"))] SessionPrintTicket: usize, - pub DocumentTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DocumentTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LaunchKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SettingsLaunchKind) -> windows_core::HRESULT, #[cfg(feature = "Graphics_Printing_PrintTicket")] pub UpdatePrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -205,7 +205,7 @@ impl PrintSupportExtensionSession { pub fn Printer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Printer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -215,7 +215,7 @@ impl PrintSupportExtensionSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintTicketValidationRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -229,7 +229,7 @@ impl PrintSupportExtensionSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintDeviceCapabilitiesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -247,7 +247,7 @@ impl PrintSupportExtensionSession { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrinterSelected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -276,7 +276,7 @@ impl PrintSupportExtensionTriggerDetails { pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -302,7 +302,7 @@ impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs { pub fn GetCurrentPrintDeviceCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentPrintDeviceCapabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -317,7 +317,7 @@ impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -332,7 +332,7 @@ impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs { pub fn ResourceLanguage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -340,7 +340,7 @@ impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs { pub fn GetCurrentPrintDeviceResources(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentPrintDeviceResources)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -379,13 +379,13 @@ windows_core::imp::interface_hierarchy!(PrintSupportPrintDeviceCapabilitiesUpdat impl PrintSupportPrintDeviceCapabilitiesUpdatePolicy { pub fn CreatePeriodicRefresh(updateperiod: super::super::super::Foundation::TimeSpan) -> windows_core::Result { Self::IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePeriodicRefresh)(windows_core::Interface::as_raw(this), updateperiod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreatePrintJobRefresh(numberofjobs: u32) -> windows_core::Result { Self::IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePrintJobRefresh)(windows_core::Interface::as_raw(this), numberofjobs, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -422,7 +422,7 @@ impl PrintSupportPrintTicketElement { pub fn LocalName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -433,7 +433,7 @@ impl PrintSupportPrintTicketElement { pub fn NamespaceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -463,7 +463,7 @@ impl PrintSupportPrintTicketValidationRequestedEventArgs { pub fn PrintTicket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintTicket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -474,7 +474,7 @@ impl PrintSupportPrintTicketValidationRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -500,7 +500,7 @@ impl PrintSupportPrinterSelectedEventArgs { pub fn SourceAppInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceAppInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -508,7 +508,7 @@ impl PrintSupportPrinterSelectedEventArgs { pub fn PrintTicket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintTicket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -539,7 +539,7 @@ impl PrintSupportPrinterSelectedEventArgs { pub fn AllowedAdditionalFeaturesAndParametersCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedAdditionalFeaturesAndParametersCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -554,7 +554,7 @@ impl PrintSupportPrinterSelectedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -580,7 +580,7 @@ impl PrintSupportSessionInfo { pub fn SourceAppInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceAppInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -588,7 +588,7 @@ impl PrintSupportSessionInfo { pub fn Printer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Printer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -624,7 +624,7 @@ impl PrintSupportSettingsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -632,7 +632,7 @@ impl PrintSupportSettingsActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -640,21 +640,21 @@ impl PrintSupportSettingsActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -680,21 +680,21 @@ impl PrintSupportSettingsUISession { pub fn SessionPrintTicket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionPrintTicket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LaunchKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -709,7 +709,7 @@ impl PrintSupportSettingsUISession { pub fn SessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 38f101eaa9..52ffab087b 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for IPrintTicketCapabilities { #[repr(C)] pub struct IPrintTicketCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub XmlNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -26,8 +26,8 @@ pub struct IPrintTicketCapabilities_Vtbl { pub PageOutputColorFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PageOutputQualityFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PageResolutionFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetParameterDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetParameterDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTicketFeature, IPrintTicketFeature_Vtbl, 0xe7607d6a_59f5_4103_8858_b97710963d39); impl windows_core::RuntimeType for IPrintTicketFeature { @@ -36,14 +36,14 @@ impl windows_core::RuntimeType for IPrintTicketFeature { #[repr(C)] pub struct IPrintTicketFeature_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub XmlNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] XmlNode: usize, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -59,23 +59,23 @@ impl windows_core::RuntimeType for IPrintTicketOption { #[repr(C)] pub struct IPrintTicketOption_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub XmlNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] XmlNode: usize, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] - pub GetPropertyNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPropertyNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] GetPropertyNode: usize, #[cfg(feature = "Data_Xml_Dom")] - pub GetScoredPropertyNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetScoredPropertyNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] GetScoredPropertyNode: usize, - pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetScoredPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetScoredPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTicketParameterDefinition, IPrintTicketParameterDefinition_Vtbl, 0xd6bab4e4_2962_4c01_b7f3_9a9294eb8335); impl windows_core::RuntimeType for IPrintTicketParameterDefinition { @@ -84,14 +84,14 @@ impl windows_core::RuntimeType for IPrintTicketParameterDefinition { #[repr(C)] pub struct IPrintTicketParameterDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub XmlNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] XmlNode: usize, pub DataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintTicketParameterDataType) -> windows_core::HRESULT, - pub UnitType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnitType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RangeMin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RangeMax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -102,8 +102,8 @@ impl windows_core::RuntimeType for IPrintTicketParameterInitializer { #[repr(C)] pub struct IPrintTicketParameterInitializer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub XmlNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -120,7 +120,7 @@ pub struct IPrintTicketValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintTicketValueType) -> windows_core::HRESULT, pub GetValueAsInteger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetValueAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValueAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkflowPrintTicket, IWorkflowPrintTicket_Vtbl, 0x41d52285_35e8_448e_a8c5_e4b6a2cf826c); impl windows_core::RuntimeType for IWorkflowPrintTicket { @@ -129,8 +129,8 @@ impl windows_core::RuntimeType for IWorkflowPrintTicket { #[repr(C)] pub struct IWorkflowPrintTicket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub XmlNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -151,12 +151,12 @@ pub struct IWorkflowPrintTicket_Vtbl { pub PageOutputColorFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PageOutputQualityFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PageResolutionFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyXmlChangedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ValidateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetParameterInitializer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetParameterInitializerAsInteger: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetParameterInitializerAsString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetParameterInitializer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetParameterInitializerAsInteger: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetParameterInitializerAsString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MergeAndValidateTicket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkflowPrintTicketValidationResult, IWorkflowPrintTicketValidationResult_Vtbl, 0x0ad1f392_da7b_4a36_bf36_6a99a62e2059); @@ -177,14 +177,14 @@ impl PrintTicketCapabilities { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn XmlNamespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -192,126 +192,126 @@ impl PrintTicketCapabilities { pub fn XmlNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentBindingFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentBindingFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentCollateFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentCollateFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentDuplexFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentDuplexFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentHolePunchFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentHolePunchFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentInputBinFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentInputBinFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentNUpFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentNUpFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentStapleFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentStapleFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn JobPasscodeFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JobPasscodeFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageBorderlessFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageBorderlessFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageMediaSizeFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageMediaSizeFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageMediaTypeFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageMediaTypeFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageOrientationFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageOrientationFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageOutputColorFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageOutputColorFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageOutputQualityFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageOutputQualityFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageResolutionFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageResolutionFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFeature(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFeature)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetParameterDefinition(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetParameterDefinition)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -336,14 +336,14 @@ impl PrintTicketFeature { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn XmlNamespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -351,21 +351,21 @@ impl PrintTicketFeature { pub fn XmlNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetOption(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOption)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -373,14 +373,14 @@ impl PrintTicketFeature { pub fn Options(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSelectedOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSelectedOption)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -394,7 +394,7 @@ impl PrintTicketFeature { pub fn SelectionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -419,14 +419,14 @@ impl PrintTicketOption { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn XmlNamespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -434,14 +434,14 @@ impl PrintTicketOption { pub fn XmlNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -449,7 +449,7 @@ impl PrintTicketOption { pub fn GetPropertyNode(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertyNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -457,21 +457,21 @@ impl PrintTicketOption { pub fn GetScoredPropertyNode(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScoredPropertyNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPropertyValue(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertyValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetScoredPropertyValue(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScoredPropertyValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -496,14 +496,14 @@ impl PrintTicketParameterDefinition { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn XmlNamespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -511,35 +511,35 @@ impl PrintTicketParameterDefinition { pub fn XmlNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DataType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UnitType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnitType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RangeMin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RangeMin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RangeMax(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RangeMax)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -564,14 +564,14 @@ impl PrintTicketParameterInitializer { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn XmlNamespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -579,7 +579,7 @@ impl PrintTicketParameterInitializer { pub fn XmlNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -593,7 +593,7 @@ impl PrintTicketParameterInitializer { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -618,21 +618,21 @@ impl PrintTicketValue { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetValueAsInteger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetValueAsInteger)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetValueAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetValueAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -657,14 +657,14 @@ impl WorkflowPrintTicket { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn XmlNamespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -672,161 +672,161 @@ impl WorkflowPrintTicket { pub fn XmlNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XmlNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCapabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentBindingFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentBindingFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentCollateFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentCollateFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentDuplexFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentDuplexFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentHolePunchFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentHolePunchFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentInputBinFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentInputBinFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentNUpFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentNUpFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DocumentStapleFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentStapleFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn JobPasscodeFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JobPasscodeFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageBorderlessFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageBorderlessFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageMediaSizeFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageMediaSizeFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageMediaTypeFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageMediaTypeFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageOrientationFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageOrientationFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageOutputColorFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageOutputColorFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageOutputQualityFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageOutputQualityFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageResolutionFeature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageResolutionFeature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFeature(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFeature)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NotifyXmlChangedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotifyXmlChangedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ValidateAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetParameterInitializer(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetParameterInitializer)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetParameterInitializerAsInteger(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING, integervalue: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetParameterInitializerAsInteger)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), integervalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetParameterInitializerAsString(&self, name: &windows_core::HSTRING, xmlnamespace: &windows_core::HSTRING, stringvalue: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetParameterInitializerAsString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(xmlnamespace), core::mem::transmute_copy(stringvalue), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -836,7 +836,7 @@ impl WorkflowPrintTicket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MergeAndValidateTicket)(windows_core::Interface::as_raw(this), deltashematicket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -861,14 +861,14 @@ impl WorkflowPrintTicketValidationResult { pub fn Validated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Validated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 8009335ffa..142f623013 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs @@ -34,9 +34,9 @@ impl windows_core::RuntimeType for IPrintWorkflowConfiguration { #[repr(C)] pub struct IPrintWorkflowConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SourceAppDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub JobTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceAppDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub JobTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintWorkflowConfiguration2, IPrintWorkflowConfiguration2_Vtbl, 0xde350a50_a6d4_5be2_8b9a_09d3d39ea780); impl windows_core::RuntimeType for IPrintWorkflowConfiguration2 { @@ -222,13 +222,13 @@ pub struct IPrintWorkflowPdlModificationRequestedEventArgs_Vtbl { pub PrinterJob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SourceContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UILauncher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateJobOnPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateJobOnPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "Devices_Printers", feature = "Foundation_Collections"))] - pub CreateJobOnPrinterWithAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateJobOnPrinterWithAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Devices_Printers", feature = "Foundation_Collections")))] CreateJobOnPrinterWithAttributes: usize, #[cfg(feature = "Storage_Streams")] - pub CreateJobOnPrinterWithAttributesBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateJobOnPrinterWithAttributesBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateJobOnPrinterWithAttributesBuffer: usize, pub GetPdlConverter: unsafe extern "system" fn(*mut core::ffi::c_void, PrintWorkflowPdlConversionType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -242,11 +242,11 @@ impl windows_core::RuntimeType for IPrintWorkflowPdlModificationRequestedEventAr pub struct IPrintWorkflowPdlModificationRequestedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(all(feature = "Devices_Printers", feature = "Foundation_Collections"))] - pub CreateJobOnPrinterWithAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateJobOnPrinterWithAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Devices_Printers", feature = "Foundation_Collections")))] CreateJobOnPrinterWithAttributes: usize, #[cfg(feature = "Storage_Streams")] - pub CreateJobOnPrinterWithAttributesBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateJobOnPrinterWithAttributesBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, PrintWorkflowAttributesMergePolicy, PrintWorkflowAttributesMergePolicy, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateJobOnPrinterWithAttributesBuffer: usize, } @@ -257,7 +257,7 @@ impl windows_core::RuntimeType for IPrintWorkflowPdlSourceContent { #[repr(C)] pub struct IPrintWorkflowPdlSourceContent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetInputStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -436,7 +436,7 @@ impl PrintWorkflowBackgroundSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetupRequested)(windows_core::Interface::as_raw(this), setupeventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -450,7 +450,7 @@ impl PrintWorkflowBackgroundSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Submitted)(windows_core::Interface::as_raw(this), submittedeventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -461,7 +461,7 @@ impl PrintWorkflowBackgroundSession { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -491,14 +491,14 @@ impl PrintWorkflowBackgroundSetupRequestedEventArgs { pub fn GetUserPrintTicketAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUserPrintTicketAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -509,7 +509,7 @@ impl PrintWorkflowBackgroundSetupRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -534,21 +534,21 @@ impl PrintWorkflowConfiguration { pub fn SourceAppDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceAppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn JobTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JobTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SessionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -580,7 +580,7 @@ impl PrintWorkflowForegroundSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetupRequested)(windows_core::Interface::as_raw(this), setupeventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -594,7 +594,7 @@ impl PrintWorkflowForegroundSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XpsDataAvailable)(windows_core::Interface::as_raw(this), xpsdataavailableeventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -605,7 +605,7 @@ impl PrintWorkflowForegroundSession { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -635,21 +635,21 @@ impl PrintWorkflowForegroundSetupRequestedEventArgs { pub fn GetUserPrintTicketAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUserPrintTicketAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -677,7 +677,7 @@ impl PrintWorkflowJobActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -685,7 +685,7 @@ impl PrintWorkflowJobActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -693,7 +693,7 @@ impl PrintWorkflowJobActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -701,14 +701,14 @@ impl PrintWorkflowJobActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -733,7 +733,7 @@ impl PrintWorkflowJobBackgroundSession { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -743,7 +743,7 @@ impl PrintWorkflowJobBackgroundSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JobStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -757,7 +757,7 @@ impl PrintWorkflowJobBackgroundSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PdlModificationRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -790,21 +790,21 @@ impl PrintWorkflowJobNotificationEventArgs { pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrinterJob(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrinterJob)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -829,7 +829,7 @@ impl PrintWorkflowJobStartingEventArgs { pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -837,7 +837,7 @@ impl PrintWorkflowJobStartingEventArgs { pub fn Printer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Printer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -848,7 +848,7 @@ impl PrintWorkflowJobStartingEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -873,7 +873,7 @@ impl PrintWorkflowJobTriggerDetails { pub fn PrintWorkflowJobSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintWorkflowJobSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -898,7 +898,7 @@ impl PrintWorkflowJobUISession { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -908,7 +908,7 @@ impl PrintWorkflowJobUISession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PdlDataAvailable)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -922,7 +922,7 @@ impl PrintWorkflowJobUISession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JobNotification)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -958,7 +958,7 @@ impl PrintWorkflowObjectModelSourceFileContent { P0: windows_core::Param, { Self::IPrintWorkflowObjectModelSourceFileContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), xpsstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1011,7 +1011,7 @@ impl PrintWorkflowPdlConverter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertPdlAsync)(windows_core::Interface::as_raw(this), printticket.param().abi(), inputstream.param().abi(), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1024,7 +1024,7 @@ impl PrintWorkflowPdlConverter { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertPdlAsync)(windows_core::Interface::as_raw(this), printticket.param().abi(), inputstream.param().abi(), outputstream.param().abi(), hostbasedprocessingoperations, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1049,28 +1049,28 @@ impl PrintWorkflowPdlDataAvailableEventArgs { pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrinterJob(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrinterJob)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceContent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceContent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1095,35 +1095,35 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrinterJob(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrinterJob)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceContent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceContent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UILauncher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UILauncher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateJobOnPrinter(&self, targetcontenttype: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJobOnPrinter)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(targetcontenttype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1134,7 +1134,7 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJobOnPrinterWithAttributes)(windows_core::Interface::as_raw(this), jobattributes.param().abi(), core::mem::transmute_copy(targetcontenttype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1145,21 +1145,21 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJobOnPrinterWithAttributesBuffer)(windows_core::Interface::as_raw(this), jobattributesbuffer.param().abi(), core::mem::transmute_copy(targetcontenttype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPdlConverter(&self, conversiontype: PrintWorkflowPdlConversionType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPdlConverter)(windows_core::Interface::as_raw(this), conversiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1171,7 +1171,7 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJobOnPrinterWithAttributes)(windows_core::Interface::as_raw(this), jobattributes.param().abi(), core::mem::transmute_copy(targetcontenttype), operationattributes.param().abi(), jobattributesmergepolicy, operationattributesmergepolicy, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1183,7 +1183,7 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJobOnPrinterWithAttributesBuffer)(windows_core::Interface::as_raw(this), jobattributesbuffer.param().abi(), core::mem::transmute_copy(targetcontenttype), operationattributesbuffer.param().abi(), jobattributesmergepolicy, operationattributesmergepolicy, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1208,7 +1208,7 @@ impl PrintWorkflowPdlSourceContent { pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1216,7 +1216,7 @@ impl PrintWorkflowPdlSourceContent { pub fn GetInputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1224,7 +1224,7 @@ impl PrintWorkflowPdlSourceContent { pub fn GetContentFileAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContentFileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1250,7 +1250,7 @@ impl PrintWorkflowPdlTargetStream { pub fn GetOutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1279,7 +1279,7 @@ impl PrintWorkflowPrinterJob { pub fn JobId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JobId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1287,14 +1287,14 @@ impl PrintWorkflowPrinterJob { pub fn Printer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Printer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetJobStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetJobStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1302,7 +1302,7 @@ impl PrintWorkflowPrinterJob { pub fn GetJobPrintTicket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetJobPrintTicket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1313,7 +1313,7 @@ impl PrintWorkflowPrinterJob { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetJobAttributesAsBuffer)(windows_core::Interface::as_raw(this), attributenames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1324,7 +1324,7 @@ impl PrintWorkflowPrinterJob { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetJobAttributes)(windows_core::Interface::as_raw(this), attributenames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1335,7 +1335,7 @@ impl PrintWorkflowPrinterJob { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetJobAttributesFromBuffer)(windows_core::Interface::as_raw(this), jobattributesbuffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1346,7 +1346,7 @@ impl PrintWorkflowPrinterJob { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetJobAttributes)(windows_core::Interface::as_raw(this), jobattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1372,21 +1372,21 @@ impl PrintWorkflowSourceContent { pub fn GetJobPrintTicketAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetJobPrintTicketAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSourceSpoolDataAsStreamContent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSourceSpoolDataAsStreamContent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSourceSpoolDataAsXpsObjectModel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSourceSpoolDataAsXpsObjectModel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1412,7 +1412,7 @@ impl PrintWorkflowSpoolStreamContent { pub fn GetInputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1438,7 +1438,7 @@ impl PrintWorkflowStreamTarget { pub fn GetOutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1463,7 +1463,7 @@ impl PrintWorkflowSubmittedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1474,14 +1474,14 @@ impl PrintWorkflowSubmittedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTarget)(windows_core::Interface::as_raw(this), jobprintticket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1510,14 +1510,14 @@ impl PrintWorkflowSubmittedOperation { pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn XpsContent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XpsContent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1542,14 +1542,14 @@ impl PrintWorkflowTarget { pub fn TargetAsStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetAsStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TargetAsXpsObjectModelPackage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetAsXpsObjectModelPackage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1574,7 +1574,7 @@ impl PrintWorkflowTriggerDetails { pub fn PrintWorkflowSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintWorkflowSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1602,7 +1602,7 @@ impl PrintWorkflowUIActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1610,7 +1610,7 @@ impl PrintWorkflowUIActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1618,7 +1618,7 @@ impl PrintWorkflowUIActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1626,14 +1626,14 @@ impl PrintWorkflowUIActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrintWorkflowSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintWorkflowSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1658,14 +1658,14 @@ impl PrintWorkflowUILauncher { pub fn IsUILaunchEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUILaunchEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LaunchAndCompleteUIAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchAndCompleteUIAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1690,14 +1690,14 @@ impl PrintWorkflowXpsDataAvailableEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 a28de224cb..49e5a863e4 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -10,7 +10,7 @@ windows_core::imp::define_interface!(IPrintDocumentSource, IPrintDocumentSource_ impl std::ops::Deref for IPrintDocumentSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintDocumentSource, windows_core::IUnknown, windows_core::IInspectable); @@ -175,7 +175,7 @@ windows_core::imp::define_interface!(IPrintTaskOptionsCore, IPrintTaskOptionsCor impl std::ops::Deref for IPrintTaskOptionsCore { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintTaskOptionsCore, windows_core::IUnknown, windows_core::IInspectable); @@ -183,7 +183,7 @@ impl IPrintTaskOptionsCore { pub fn GetPageDescription(&self, jobpagenumber: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPageDescription)(windows_core::Interface::as_raw(this), jobpagenumber, &mut result__).map(|| result__) } } @@ -200,7 +200,7 @@ windows_core::imp::define_interface!(IPrintTaskOptionsCoreProperties, IPrintTask impl std::ops::Deref for IPrintTaskOptionsCoreProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintTaskOptionsCoreProperties, windows_core::IUnknown, windows_core::IInspectable); @@ -212,7 +212,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn MediaSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -223,7 +223,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn MediaType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -234,7 +234,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -245,7 +245,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn PrintQuality(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintQuality)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -256,7 +256,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn ColorMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -267,7 +267,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn Duplex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duplex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -278,7 +278,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn Collation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Collation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -289,7 +289,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn Staple(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Staple)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -300,7 +300,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn HolePunch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HolePunch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -311,21 +311,21 @@ impl IPrintTaskOptionsCoreProperties { pub fn Binding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Binding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinCopies(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinCopies)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxCopies(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxCopies)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -336,7 +336,7 @@ impl IPrintTaskOptionsCoreProperties { pub fn NumberOfCopies(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfCopies)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -376,7 +376,7 @@ windows_core::imp::define_interface!(IPrintTaskOptionsCoreUIConfiguration, IPrin impl std::ops::Deref for IPrintTaskOptionsCoreUIConfiguration { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintTaskOptionsCoreUIConfiguration, windows_core::IUnknown, windows_core::IInspectable); @@ -385,7 +385,7 @@ impl IPrintTaskOptionsCoreUIConfiguration { pub fn DisplayedOptions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayedOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -418,7 +418,7 @@ impl windows_core::RuntimeType for IPrintTaskRequest { pub struct IPrintTaskRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub CreatePrintTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePrintTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTaskRequestedDeferral, IPrintTaskRequestedDeferral_Vtbl, 0xcfefb3f0_ce3e_42c7_9496_64800c622c44); @@ -478,19 +478,19 @@ impl windows_core::RuntimeType for IStandardPrintTaskOptionsStatic { #[repr(C)] pub struct IStandardPrintTaskOptionsStatic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub MediaSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PrintQuality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ColorMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Duplex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Collation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Staple: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HolePunch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Binding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Copies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NUp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InputBin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrintQuality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ColorMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Duplex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Collation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Staple: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HolePunch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Binding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Copies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NUp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InputBin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStandardPrintTaskOptionsStatic2, IStandardPrintTaskOptionsStatic2_Vtbl, 0x3be38bf4_7a44_4269_9a52_81261e289ee9); impl windows_core::RuntimeType for IStandardPrintTaskOptionsStatic2 { @@ -499,7 +499,7 @@ impl windows_core::RuntimeType for IStandardPrintTaskOptionsStatic2 { #[repr(C)] pub struct IStandardPrintTaskOptionsStatic2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Bordering: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bordering: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStandardPrintTaskOptionsStatic3, IStandardPrintTaskOptionsStatic3_Vtbl, 0xbbf68e86_3858_41b3_a799_55dd9888d475); impl windows_core::RuntimeType for IStandardPrintTaskOptionsStatic3 { @@ -508,7 +508,7 @@ impl windows_core::RuntimeType for IStandardPrintTaskOptionsStatic3 { #[repr(C)] pub struct IStandardPrintTaskOptionsStatic3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CustomPageRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomPageRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -521,7 +521,7 @@ impl PrintManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintTaskRequested)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -531,19 +531,19 @@ impl PrintManager { } pub fn GetForCurrentView() -> windows_core::Result { Self::IPrintManagerStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowPrintUIAsync() -> windows_core::Result> { Self::IPrintManagerStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowPrintUIAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IPrintManagerStatic2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -589,7 +589,7 @@ impl PrintPageInfo { pub fn MediaSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -600,7 +600,7 @@ impl PrintPageInfo { pub fn PageSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -611,7 +611,7 @@ impl PrintPageInfo { pub fn DpiX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -622,7 +622,7 @@ impl PrintPageInfo { pub fn DpiY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DpiY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -633,7 +633,7 @@ impl PrintPageInfo { pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -658,26 +658,26 @@ impl PrintPageRange { pub fn FirstPageNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstPageNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastPageNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastPageNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(firstpage: i32, lastpage: i32) -> windows_core::Result { Self::IPrintPageRangeFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), firstpage, lastpage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithSinglePage(page: i32) -> windows_core::Result { Self::IPrintPageRangeFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithSinglePage)(windows_core::Interface::as_raw(this), page, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -711,7 +711,7 @@ impl PrintPageRangeOptions { pub fn AllowAllPages(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowAllPages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -722,7 +722,7 @@ impl PrintPageRangeOptions { pub fn AllowCurrentPage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowCurrentPage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -733,7 +733,7 @@ impl PrintPageRangeOptions { pub fn AllowCustomSetOfPages(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowCustomSetOfPages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -759,21 +759,21 @@ impl PrintTask { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Options(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -783,7 +783,7 @@ impl PrintTask { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Previewing)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -797,7 +797,7 @@ impl PrintTask { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Submitting)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -811,7 +811,7 @@ impl PrintTask { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progressing)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -825,7 +825,7 @@ impl PrintTask { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -840,7 +840,7 @@ impl PrintTask { pub fn IsPreviewEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPreviewEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -851,7 +851,7 @@ impl PrintTask { pub fn IsPrinterTargetEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrinterTargetEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -862,7 +862,7 @@ impl PrintTask { pub fn Is3DManufacturingTargetEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Is3DManufacturingTargetEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -887,7 +887,7 @@ impl PrintTaskCompletedEventArgs { pub fn Completion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -917,7 +917,7 @@ impl PrintTaskOptions { pub fn Bordering(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bordering)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -928,14 +928,14 @@ impl PrintTaskOptions { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPagePrintTicket)(windows_core::Interface::as_raw(this), printpageinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PageRangeOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageRangeOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -943,14 +943,14 @@ impl PrintTaskOptions { pub fn CustomPageRanges(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomPageRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPageDescription(&self, jobpagenumber: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPageDescription)(windows_core::Interface::as_raw(this), jobpagenumber, &mut result__).map(|| result__) } } @@ -961,7 +961,7 @@ impl PrintTaskOptions { pub fn MediaSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -972,7 +972,7 @@ impl PrintTaskOptions { pub fn MediaType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -983,7 +983,7 @@ impl PrintTaskOptions { pub fn Orientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -994,7 +994,7 @@ impl PrintTaskOptions { pub fn PrintQuality(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintQuality)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1005,7 +1005,7 @@ impl PrintTaskOptions { pub fn ColorMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1016,7 +1016,7 @@ impl PrintTaskOptions { pub fn Duplex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duplex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1027,7 +1027,7 @@ impl PrintTaskOptions { pub fn Collation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Collation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1038,7 +1038,7 @@ impl PrintTaskOptions { pub fn Staple(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Staple)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1049,7 +1049,7 @@ impl PrintTaskOptions { pub fn HolePunch(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HolePunch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1060,21 +1060,21 @@ impl PrintTaskOptions { pub fn Binding(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Binding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinCopies(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinCopies)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxCopies(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxCopies)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1085,7 +1085,7 @@ impl PrintTaskOptions { pub fn NumberOfCopies(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfCopies)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1093,7 +1093,7 @@ impl PrintTaskOptions { pub fn DisplayedOptions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayedOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1118,7 +1118,7 @@ impl PrintTaskProgressingEventArgs { pub fn DocumentPageCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentPageCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1143,7 +1143,7 @@ impl PrintTaskRequest { pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1153,14 +1153,14 @@ impl PrintTaskRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePrintTask)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1207,7 +1207,7 @@ impl PrintTaskRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1232,7 +1232,7 @@ impl PrintTaskSourceRequestedArgs { pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1246,7 +1246,7 @@ impl PrintTaskSourceRequestedArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1289,91 +1289,91 @@ pub struct StandardPrintTaskOptions; impl StandardPrintTaskOptions { pub fn MediaSize() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSize)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MediaType() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Orientation() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PrintQuality() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintQuality)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ColorMode() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorMode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Duplex() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duplex)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Collation() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Collation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Staple() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Staple)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HolePunch() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HolePunch)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Binding() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Binding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Copies() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NUp() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NUp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn InputBin() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputBin)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Bordering() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bordering)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CustomPageRanges() -> windows_core::Result { Self::IStandardPrintTaskOptionsStatic3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomPageRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs index 6322ca216e..bb45888fd9 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs @@ -50,7 +50,7 @@ impl windows_core::RuntimeType for IPrint3DTaskRequest { #[repr(C)] pub struct IPrint3DTaskRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrint3DTaskRequestedEventArgs, IPrint3DTaskRequestedEventArgs_Vtbl, 0x150cb77f_18c5_40d7_9f40_fab3096e05a9); impl windows_core::RuntimeType for IPrint3DTaskRequestedEventArgs { @@ -147,8 +147,8 @@ impl windows_core::RuntimeType for IPrinting3DBaseMaterial { #[repr(C)] pub struct IPrinting3DBaseMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Color: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -181,8 +181,8 @@ impl windows_core::RuntimeType for IPrinting3DBaseMaterialStatics { #[repr(C)] pub struct IPrinting3DBaseMaterialStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Abs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Pla: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Abs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pla: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrinting3DColorMaterial, IPrinting3DColorMaterial_Vtbl, 0xe1899928_7ce7_4285_a35d_f145c9510c7b); impl windows_core::RuntimeType for IPrinting3DColorMaterial { @@ -249,10 +249,10 @@ pub struct IPrinting3DComponent_Vtbl { pub SetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Printing3DObjectType) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, Printing3DObjectType) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PartNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPartNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PartNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPartNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrinting3DComponentWithMatrix, IPrinting3DComponentWithMatrix_Vtbl, 0x3279f335_0ef0_456b_9a21_49bebe8b51c2); impl windows_core::RuntimeType for IPrinting3DComponentWithMatrix { @@ -453,8 +453,8 @@ pub struct IPrinting3DModel_Vtbl { pub SetMaterial: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Build: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBuild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub RequiredExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -593,8 +593,8 @@ pub struct IPrinting3DTextureResource_Vtbl { pub SetTextureData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetTextureData: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -607,7 +607,7 @@ impl Print3DManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskRequested)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -617,13 +617,13 @@ impl Print3DManager { } pub fn GetForCurrentView() -> windows_core::Result { Self::IPrint3DManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowPrintUIAsync() -> windows_core::Result> { Self::IPrint3DManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowPrintUIAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -653,7 +653,7 @@ impl Print3DTask { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -663,7 +663,7 @@ impl Print3DTask { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Submitting)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -677,7 +677,7 @@ impl Print3DTask { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -691,7 +691,7 @@ impl Print3DTask { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceChanged)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -720,14 +720,14 @@ impl Print3DTaskCompletedEventArgs { pub fn Completion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -755,7 +755,7 @@ impl Print3DTaskRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTask)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), core::mem::transmute_copy(printerid), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -780,7 +780,7 @@ impl Print3DTaskRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -805,7 +805,7 @@ impl Print3DTaskSourceChangedEventArgs { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -863,7 +863,7 @@ impl Printing3D3MFPackage { pub fn SaveAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -871,7 +871,7 @@ impl Printing3D3MFPackage { pub fn PrintTicket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrintTicket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -887,7 +887,7 @@ impl Printing3D3MFPackage { pub fn ModelPart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelPart)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -902,7 +902,7 @@ impl Printing3D3MFPackage { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -917,7 +917,7 @@ impl Printing3D3MFPackage { pub fn Textures(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Textures)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -928,7 +928,7 @@ impl Printing3D3MFPackage { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadModelFromPackageAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -938,14 +938,14 @@ impl Printing3D3MFPackage { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveModelToPackageAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Compression(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compression)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -959,7 +959,7 @@ impl Printing3D3MFPackage { P0: windows_core::Param, { Self::IPrinting3D3MFPackageStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -996,7 +996,7 @@ impl Printing3DBaseMaterial { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1007,7 +1007,7 @@ impl Printing3DBaseMaterial { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1020,13 +1020,13 @@ impl Printing3DBaseMaterial { } pub fn Abs() -> windows_core::Result { Self::IPrinting3DBaseMaterialStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Abs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Pla() -> windows_core::Result { Self::IPrinting3DBaseMaterialStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pla)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1057,20 +1057,20 @@ impl Printing3DBaseMaterialGroup { pub fn Bases(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bases)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaterialGroupId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialGroupId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(materialgroupid: u32) -> windows_core::Result { Self::IPrinting3DBaseMaterialGroupFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1107,7 +1107,7 @@ impl Printing3DColorMaterial { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1119,7 +1119,7 @@ impl Printing3DColorMaterial { pub fn Color(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1150,20 +1150,20 @@ impl Printing3DColorMaterialGroup { pub fn Colors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Colors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaterialGroupId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialGroupId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(materialgroupid: u32) -> windows_core::Result { Self::IPrinting3DColorMaterialGroupFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1200,7 +1200,7 @@ impl Printing3DComponent { pub fn Mesh(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mesh)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1215,14 +1215,14 @@ impl Printing3DComponent { pub fn Components(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Components)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1236,7 +1236,7 @@ impl Printing3DComponent { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1247,7 +1247,7 @@ impl Printing3DComponent { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1258,7 +1258,7 @@ impl Printing3DComponent { pub fn PartNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PartNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1294,7 +1294,7 @@ impl Printing3DComponentWithMatrix { pub fn Component(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Component)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1309,7 +1309,7 @@ impl Printing3DComponentWithMatrix { pub fn Matrix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Matrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1347,7 +1347,7 @@ impl Printing3DCompositeMaterial { pub fn Values(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Values)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1373,14 +1373,14 @@ impl Printing3DCompositeMaterialGroup { pub fn Composites(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Composites)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaterialGroupId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialGroupId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1388,14 +1388,14 @@ impl Printing3DCompositeMaterialGroup { pub fn MaterialIndices(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialIndices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BaseMaterialGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseMaterialGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1408,7 +1408,7 @@ impl Printing3DCompositeMaterialGroup { } pub fn Create(materialgroupid: u32) -> windows_core::Result { Self::IPrinting3DCompositeMaterialGroupFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1445,7 +1445,7 @@ impl Printing3DFaceReductionOptions { pub fn MaxReductionArea(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxReductionArea)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1456,7 +1456,7 @@ impl Printing3DFaceReductionOptions { pub fn TargetTriangleCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetTriangleCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1467,7 +1467,7 @@ impl Printing3DFaceReductionOptions { pub fn MaxEdgeLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxEdgeLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1504,7 +1504,7 @@ impl Printing3DMaterial { pub fn BaseGroups(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseGroups)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1512,7 +1512,7 @@ impl Printing3DMaterial { pub fn ColorGroups(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorGroups)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1520,7 +1520,7 @@ impl Printing3DMaterial { pub fn Texture2CoordGroups(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Texture2CoordGroups)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1528,7 +1528,7 @@ impl Printing3DMaterial { pub fn CompositeGroups(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositeGroups)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1536,7 +1536,7 @@ impl Printing3DMaterial { pub fn MultiplePropertyGroups(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MultiplePropertyGroups)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1568,7 +1568,7 @@ impl Printing3DMesh { pub fn VertexCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VertexCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1579,7 +1579,7 @@ impl Printing3DMesh { pub fn IndexCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1590,7 +1590,7 @@ impl Printing3DMesh { pub fn VertexPositionsDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VertexPositionsDescription)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1601,7 +1601,7 @@ impl Printing3DMesh { pub fn VertexNormalsDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VertexNormalsDescription)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1612,7 +1612,7 @@ impl Printing3DMesh { pub fn TriangleIndicesDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriangleIndicesDescription)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1623,7 +1623,7 @@ impl Printing3DMesh { pub fn TriangleMaterialIndicesDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriangleMaterialIndicesDescription)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1635,7 +1635,7 @@ impl Printing3DMesh { pub fn GetVertexPositions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVertexPositions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1647,7 +1647,7 @@ impl Printing3DMesh { pub fn GetVertexNormals(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVertexNormals)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1659,7 +1659,7 @@ impl Printing3DMesh { pub fn GetTriangleIndices(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTriangleIndices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1671,7 +1671,7 @@ impl Printing3DMesh { pub fn GetTriangleMaterialIndices(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTriangleMaterialIndices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1683,7 +1683,7 @@ impl Printing3DMesh { pub fn BufferDescriptionSet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferDescriptionSet)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1691,14 +1691,14 @@ impl Printing3DMesh { pub fn BufferSet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferSet)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VerifyAsync(&self, value: Printing3DMeshVerificationMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerifyAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1723,7 +1723,7 @@ impl Printing3DMeshVerificationResult { pub fn IsValid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsValid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1731,7 +1731,7 @@ impl Printing3DMeshVerificationResult { pub fn NonmanifoldTriangles(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NonmanifoldTriangles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1739,7 +1739,7 @@ impl Printing3DMeshVerificationResult { pub fn ReversedNormalTriangles(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReversedNormalTriangles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1771,7 +1771,7 @@ impl Printing3DModel { pub fn Unit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1783,7 +1783,7 @@ impl Printing3DModel { pub fn Textures(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Textures)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1791,7 +1791,7 @@ impl Printing3DModel { pub fn Meshes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Meshes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1799,14 +1799,14 @@ impl Printing3DModel { pub fn Components(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Components)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Material(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Material)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1820,7 +1820,7 @@ impl Printing3DModel { pub fn Build(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Build)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1834,7 +1834,7 @@ impl Printing3DModel { pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1846,7 +1846,7 @@ impl Printing3DModel { pub fn RequiredExtensions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequiredExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1854,42 +1854,42 @@ impl Printing3DModel { pub fn Metadata(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Metadata)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RepairAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RepairAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryPartialRepairAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryPartialRepairAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryPartialRepairWithTimeAsync(&self, maxwaittime: super::super::Foundation::TimeSpan) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryPartialRepairWithTimeAsync)(windows_core::Interface::as_raw(this), maxwaittime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryReduceFacesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryReduceFacesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1899,7 +1899,7 @@ impl Printing3DModel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryReduceFacesWithOptionsAsync)(windows_core::Interface::as_raw(this), printing3dfacereductionoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1909,14 +1909,14 @@ impl Printing3DModel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryReduceFacesWithOptionsAndTimeAsync)(windows_core::Interface::as_raw(this), printing3dfacereductionoptions.param().abi(), maxwait, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RepairWithProgressAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RepairWithProgressAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1948,7 +1948,7 @@ impl Printing3DModelTexture { pub fn TextureResource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextureResource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1962,7 +1962,7 @@ impl Printing3DModelTexture { pub fn TileStyleU(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileStyleU)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1973,7 +1973,7 @@ impl Printing3DModelTexture { pub fn TileStyleV(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileStyleV)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2010,7 +2010,7 @@ impl Printing3DMultiplePropertyMaterial { pub fn MaterialIndices(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialIndices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2036,7 +2036,7 @@ impl Printing3DMultiplePropertyMaterialGroup { pub fn MultipleProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MultipleProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2044,20 +2044,20 @@ impl Printing3DMultiplePropertyMaterialGroup { pub fn MaterialGroupIndices(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialGroupIndices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaterialGroupId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialGroupId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(materialgroupid: u32) -> windows_core::Result { Self::IPrinting3DMultiplePropertyMaterialGroupFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2094,7 +2094,7 @@ impl Printing3DTexture2CoordMaterial { pub fn Texture(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Texture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2108,7 +2108,7 @@ impl Printing3DTexture2CoordMaterial { pub fn U(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).U)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2119,7 +2119,7 @@ impl Printing3DTexture2CoordMaterial { pub fn V(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).V)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2149,21 +2149,21 @@ impl Printing3DTexture2CoordMaterialGroup { pub fn Texture2Coords(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Texture2Coords)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaterialGroupId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaterialGroupId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Texture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Texture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2176,7 +2176,7 @@ impl Printing3DTexture2CoordMaterialGroup { } pub fn Create(materialgroupid: u32) -> windows_core::Result { Self::IPrinting3DTexture2CoordMaterialGroupFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), materialgroupid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2214,7 +2214,7 @@ impl Printing3DTextureResource { pub fn TextureData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextureData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2229,7 +2229,7 @@ impl Printing3DTextureResource { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Graphics/mod.rs b/crates/libs/windows/src/Windows/Graphics/mod.rs index 64b021fa4c..d6e121143f 100644 --- a/crates/libs/windows/src/Windows/Graphics/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/mod.rs @@ -18,7 +18,7 @@ windows_core::imp::define_interface!(IGeometrySource2D, IGeometrySource2D_Vtbl, impl std::ops::Deref for IGeometrySource2D { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGeometrySource2D, windows_core::IUnknown, windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Management/Core/mod.rs b/crates/libs/windows/src/Windows/Management/Core/mod.rs index 80bd791e91..2edfc32bcd 100644 --- a/crates/libs/windows/src/Windows/Management/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Core/mod.rs @@ -14,7 +14,7 @@ impl windows_core::RuntimeType for IApplicationDataManagerStatics { pub struct IApplicationDataManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage")] - pub CreateForPackageFamily: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateForPackageFamily: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] CreateForPackageFamily: usize, } @@ -26,7 +26,7 @@ impl ApplicationDataManager { #[cfg(feature = "Storage")] pub fn CreateForPackageFamily(packagefamilyname: &windows_core::HSTRING) -> windows_core::Result { Self::IApplicationDataManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForPackageFamily)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::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 af45125acc..0878c102b3 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IClassicAppManagerStatics { #[repr(C)] pub struct IClassicAppManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FindInstalledApp: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindInstalledApp: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInstalledClassicAppInfo, IInstalledClassicAppInfo_Vtbl, 0x0a7d3da3_65d0_4086_80d6_0610d760207d); impl windows_core::RuntimeType for IInstalledClassicAppInfo { @@ -14,14 +14,14 @@ impl windows_core::RuntimeType for IInstalledClassicAppInfo { #[repr(C)] pub struct IInstalledClassicAppInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub struct ClassicAppManager; impl ClassicAppManager { pub fn FindInstalledApp(appuninstallkey: &windows_core::HSTRING) -> windows_core::Result { Self::IClassicAppManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindInstalledApp)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appuninstallkey), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -42,14 +42,14 @@ impl InstalledClassicAppInfo { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs index 4c4cec87ad..46c72b143d 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs @@ -71,9 +71,9 @@ impl windows_core::RuntimeType for IAppInstallerManager { #[repr(C)] pub struct IAppInstallerManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetAutoUpdateSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ClearAutoUpdateSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PauseAutoUpdatesUntil: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime) -> windows_core::HRESULT, + pub SetAutoUpdateSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ClearAutoUpdateSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PauseAutoUpdatesUntil: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppInstallerManagerStatics, IAppInstallerManagerStatics_Vtbl, 0xc95a6ed5_fc59_5336_9b2e_2b07c5e61434); impl windows_core::RuntimeType for IAppInstallerManagerStatics { @@ -201,7 +201,7 @@ impl windows_core::RuntimeType for IDeploymentResult { #[repr(C)] pub struct IDeploymentResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub ExtendedErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } @@ -221,10 +221,10 @@ impl windows_core::RuntimeType for IFindSharedPackageContainerOptions { #[repr(C)] pub struct IFindSharedPackageContainerOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageAllUserProvisioningOptions, IPackageAllUserProvisioningOptions_Vtbl, 0xda35aa22_1de0_5d3e_99ff_d24f3118bf5e); impl windows_core::RuntimeType for IPackageAllUserProvisioningOptions { @@ -257,7 +257,7 @@ pub struct IPackageManager_Vtbl { pub UpdatePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, DeploymentOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] UpdatePackageAsync: usize, - pub RemovePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemovePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub StagePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -271,37 +271,37 @@ pub struct IPackageManager_Vtbl { #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackages: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityId: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByNamePublisher: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdNamePublisher: usize, #[cfg(feature = "Foundation_Collections")] - pub FindUsers: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindUsers: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindUsers: usize, - pub SetPackageState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PackageState) -> windows_core::HRESULT, + pub SetPackageState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PackageState) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel")] - pub FindPackageByPackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackageByPackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel"))] FindPackageByPackageFullName: usize, - pub CleanupPackageForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CleanupPackageForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByPackageFamilyName: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdPackageFamilyName: usize, #[cfg(feature = "ApplicationModel")] - pub FindPackageByUserSecurityIdPackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackageByUserSecurityIdPackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel"))] FindPackageByUserSecurityIdPackageFullName: usize, } @@ -312,7 +312,7 @@ impl windows_core::RuntimeType for IPackageManager10 { #[repr(C)] pub struct IPackageManager10_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProvisionPackageForAllUsersWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ProvisionPackageForAllUsersWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageManager2, IPackageManager2_Vtbl, 0xf7aad08d_0840_46f2_b5d8_cad47693a095); impl windows_core::RuntimeType for IPackageManager2 { @@ -321,13 +321,13 @@ impl windows_core::RuntimeType for IPackageManager2 { #[repr(C)] pub struct IPackageManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RemovePackageWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, RemovalOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemovePackageWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, RemovalOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub StagePackageWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, DeploymentOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] StagePackageWithOptionsAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub RegisterPackageByFullNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, DeploymentOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterPackageByFullNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, DeploymentOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterPackageByFullNameAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] @@ -335,26 +335,26 @@ pub struct IPackageManager2_Vtbl { #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesWithPackageTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdWithPackageTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByNamePublisherWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByNamePublisherWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByNamePublisherWithPackageTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdNamePublisherWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdNamePublisherWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdNamePublisherWithPackageTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByPackageFamilyNameWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByPackageFamilyNameWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByPackageFamilyNameWithPackageTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdPackageFamilyNameWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdPackageFamilyNameWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdPackageFamilyNameWithPackageTypes: usize, - pub StageUserDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StageUserDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageManager3, IPackageManager3_Vtbl, 0xdaad9948_36f1_41a7_9188_bc263e0dcb72); impl windows_core::RuntimeType for IPackageManager3 { @@ -363,33 +363,33 @@ impl windows_core::RuntimeType for IPackageManager3 { #[repr(C)] pub struct IPackageManager3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddPackageVolumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddPackageVolumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AddPackageToVolumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, DeploymentOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AddPackageToVolumeAsync: usize, - pub ClearPackageStatus: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PackageStatus) -> windows_core::HRESULT, + pub ClearPackageStatus: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PackageStatus) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub RegisterPackageWithAppDataVolumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, DeploymentOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterPackageWithAppDataVolumeAsync: usize, - pub FindPackageVolumeByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackageVolumeByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindPackageVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindPackageVolumes: usize, pub GetDefaultPackageVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MovePackageToVolumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, DeploymentOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MovePackageToVolumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, DeploymentOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemovePackageVolumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDefaultPackageVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetPackageStatus: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PackageStatus) -> windows_core::HRESULT, + pub SetPackageStatus: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PackageStatus) -> windows_core::HRESULT, pub SetPackageVolumeOfflineAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPackageVolumeOnlineAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub StagePackageToVolumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, DeploymentOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] StagePackageToVolumeAsync: usize, - pub StageUserDataWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, DeploymentOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StageUserDataWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, DeploymentOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageManager4, IPackageManager4_Vtbl, 0x3c719963_bab6_46bf_8ff7_da4719230ae6); impl windows_core::RuntimeType for IPackageManager4 { @@ -419,7 +419,7 @@ pub struct IPackageManager5_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] StagePackageToVolumeAndOptionalPackagesAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub RegisterPackageByFamilyNameAndOptionalPackagesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, DeploymentOptions, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterPackageByFamilyNameAndOptionalPackagesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, DeploymentOptions, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterPackageByFamilyNameAndOptionalPackagesAsync: usize, pub DebugSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -431,7 +431,7 @@ impl windows_core::RuntimeType for IPackageManager6 { #[repr(C)] pub struct IPackageManager6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProvisionPackageForAllUsersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ProvisionPackageForAllUsersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddPackageByAppInstallerFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, AddPackageByAppInstallerOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestAddPackageByAppInstallerFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, AddPackageByAppInstallerOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -466,7 +466,7 @@ impl windows_core::RuntimeType for IPackageManager8 { #[repr(C)] pub struct IPackageManager8_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeprovisionPackageForAllUsersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeprovisionPackageForAllUsersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageManager9, IPackageManager9_Vtbl, 0x1aa79035_cc71_4b2e_80a6_c7041d8579a7); impl windows_core::RuntimeType for IPackageManager9 { @@ -486,8 +486,8 @@ pub struct IPackageManager9_Vtbl { pub RegisterPackagesByFullNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterPackagesByFullNameAsync: usize, - pub SetPackageStubPreference: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PackageStubPreference) -> windows_core::HRESULT, - pub GetPackageStubPreference: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut PackageStubPreference) -> windows_core::HRESULT, + pub SetPackageStubPreference: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PackageStubPreference) -> windows_core::HRESULT, + pub GetPackageStubPreference: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut PackageStubPreference) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageManagerDebugSettings, IPackageManagerDebugSettings_Vtbl, 0x1a611683_a988_4fcf_8f0f_ce175898e8eb); impl windows_core::RuntimeType for IPackageManagerDebugSettings { @@ -497,11 +497,11 @@ impl windows_core::RuntimeType for IPackageManagerDebugSettings { pub struct IPackageManagerDebugSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "ApplicationModel")] - pub SetContentGroupStateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::super::ApplicationModel::PackageContentGroupState, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetContentGroupStateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::super::ApplicationModel::PackageContentGroupState, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel"))] SetContentGroupStateAsync: usize, #[cfg(feature = "ApplicationModel")] - pub SetContentGroupStateWithPercentageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::super::ApplicationModel::PackageContentGroupState, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetContentGroupStateWithPercentageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::super::ApplicationModel::PackageContentGroupState, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel"))] SetContentGroupStateWithPercentageAsync: usize, } @@ -512,7 +512,7 @@ impl windows_core::RuntimeType for IPackageUserInformation { #[repr(C)] pub struct IPackageUserInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UserSecurityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserSecurityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InstallState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PackageInstallState) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageVolume, IPackageVolume_Vtbl, 0xcf2672c3_1a40_4450_9739_2ace2e898853); @@ -524,20 +524,20 @@ pub struct IPackageVolume_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsOffline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsSystemVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub MountPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PackageStorePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MountPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageStorePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SupportsHardLinks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindPackages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackages: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByNamePublisher: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByPackageFamilyName: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] @@ -545,43 +545,43 @@ pub struct IPackageVolume_Vtbl { #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesWithPackageTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByNamePublisherWithPackagesTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PackageTypes, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByNamePublisherWithPackagesTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PackageTypes, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByNamePublisherWithPackagesTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByPackageFamilyNameWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PackageTypes, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByPackageFamilyNameWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, PackageTypes, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByPackageFamilyNameWithPackageTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackageByPackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackageByPackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackageByPackageFullName: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityId: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdNamePublisher: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdPackageFamilyName: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PackageTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdWithPackageTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdNamePublisherWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PackageTypes, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdNamePublisherWithPackageTypes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PackageTypes, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdNamePublisherWithPackageTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PackageTypes, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PackageTypes, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackageByUserSecurityIdPackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackageByUserSecurityIdPackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackageByUserSecurityIdPackageFullName: usize, } @@ -651,13 +651,13 @@ impl windows_core::RuntimeType for ISharedPackageContainer { #[repr(C)] pub struct ISharedPackageContainer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetMembers: usize, - pub RemovePackageFamily: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemovePackageFamily: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ResetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISharedPackageContainerManager, ISharedPackageContainerManager_Vtbl, 0xbe353068_1ef7_5ac8_ab3f_0b9f612f0274); @@ -667,9 +667,9 @@ impl windows_core::RuntimeType for ISharedPackageContainerManager { #[repr(C)] pub struct ISharedPackageContainerManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateContainer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteContainer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetContainer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateContainer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteContainer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetContainer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindContainers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -687,7 +687,7 @@ impl windows_core::RuntimeType for ISharedPackageContainerManagerStatics { pub struct ISharedPackageContainerManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetForUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetForUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetForProvisioning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISharedPackageContainerMember, ISharedPackageContainerMember_Vtbl, 0xfe0d0438_43c9_5426_b89c_f79bf85ddff4); @@ -697,7 +697,7 @@ impl windows_core::RuntimeType for ISharedPackageContainerMember { #[repr(C)] pub struct ISharedPackageContainerMember_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISharedPackageContainerMemberFactory, ISharedPackageContainerMemberFactory_Vtbl, 0x49b0ceeb_498f_5a62_b738_b3ca0d436704); impl windows_core::RuntimeType for ISharedPackageContainerMemberFactory { @@ -706,7 +706,7 @@ impl windows_core::RuntimeType for ISharedPackageContainerMemberFactory { #[repr(C)] pub struct ISharedPackageContainerMemberFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStagePackageOptions, IStagePackageOptions_Vtbl, 0x0b110c9c_b95d_4c56_bd36_6d656800d06b); impl windows_core::RuntimeType for IStagePackageOptions { @@ -800,14 +800,14 @@ impl AddPackageOptions { pub fn DependencyPackageUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DependencyPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TargetVolume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetVolume)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -822,7 +822,7 @@ impl AddPackageOptions { pub fn OptionalPackageFamilyNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionalPackageFamilyNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -830,7 +830,7 @@ impl AddPackageOptions { pub fn OptionalPackageUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionalPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -838,14 +838,14 @@ impl AddPackageOptions { pub fn RelatedPackageUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelatedPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExternalLocationUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExternalLocationUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -859,7 +859,7 @@ impl AddPackageOptions { pub fn StubPackageOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StubPackageOption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -870,7 +870,7 @@ impl AddPackageOptions { pub fn DeveloperMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeveloperMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -881,7 +881,7 @@ impl AddPackageOptions { pub fn ForceAppShutdown(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceAppShutdown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -892,7 +892,7 @@ impl AddPackageOptions { pub fn ForceTargetAppShutdown(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceTargetAppShutdown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -903,7 +903,7 @@ impl AddPackageOptions { pub fn ForceUpdateFromAnyVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceUpdateFromAnyVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -914,7 +914,7 @@ impl AddPackageOptions { pub fn InstallAllResources(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallAllResources)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -925,7 +925,7 @@ impl AddPackageOptions { pub fn RequiredContentGroupOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequiredContentGroupOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -936,7 +936,7 @@ impl AddPackageOptions { pub fn RetainFilesOnFailure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetainFilesOnFailure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -947,7 +947,7 @@ impl AddPackageOptions { pub fn StageInPlace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StageInPlace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -958,7 +958,7 @@ impl AddPackageOptions { pub fn AllowUnsigned(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowUnsigned)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -969,7 +969,7 @@ impl AddPackageOptions { pub fn DeferRegistrationWhenPackagesAreInUse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeferRegistrationWhenPackagesAreInUse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -981,14 +981,14 @@ impl AddPackageOptions { pub fn ExpectedDigests(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpectedDigests)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LimitToExistingPackages(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LimitToExistingPackages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1031,13 +1031,13 @@ impl AppInstallerManager { } pub fn GetDefault() -> windows_core::Result { Self::IAppInstallerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForSystem() -> windows_core::Result { Self::IAppInstallerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1075,7 +1075,7 @@ impl AutoUpdateSettingsOptions { pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1087,7 +1087,7 @@ impl AutoUpdateSettingsOptions { pub fn AppInstallerUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppInstallerUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1101,7 +1101,7 @@ impl AutoUpdateSettingsOptions { pub fn OnLaunch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OnLaunch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1112,7 +1112,7 @@ impl AutoUpdateSettingsOptions { pub fn HoursBetweenUpdateChecks(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoursBetweenUpdateChecks)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1123,7 +1123,7 @@ impl AutoUpdateSettingsOptions { pub fn ShowPrompt(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowPrompt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1134,7 +1134,7 @@ impl AutoUpdateSettingsOptions { pub fn UpdateBlocksActivation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateBlocksActivation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1145,7 +1145,7 @@ impl AutoUpdateSettingsOptions { pub fn AutomaticBackgroundTask(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomaticBackgroundTask)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1156,7 +1156,7 @@ impl AutoUpdateSettingsOptions { pub fn ForceUpdateFromAnyVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceUpdateFromAnyVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1167,7 +1167,7 @@ impl AutoUpdateSettingsOptions { pub fn IsAutoRepairEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAutoRepairEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1179,7 +1179,7 @@ impl AutoUpdateSettingsOptions { pub fn UpdateUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1187,7 +1187,7 @@ impl AutoUpdateSettingsOptions { pub fn RepairUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RepairUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1195,7 +1195,7 @@ impl AutoUpdateSettingsOptions { pub fn DependencyPackageUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DependencyPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1203,7 +1203,7 @@ impl AutoUpdateSettingsOptions { pub fn OptionalPackageUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionalPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1213,7 +1213,7 @@ impl AutoUpdateSettingsOptions { P0: windows_core::Param, { Self::IAutoUpdateSettingsOptionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromAppInstallerInfo)(windows_core::Interface::as_raw(this), appinstallerinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1251,14 +1251,14 @@ impl CreateSharedPackageContainerOptions { pub fn Members(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Members)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ForceAppShutdown(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceAppShutdown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1269,7 +1269,7 @@ impl CreateSharedPackageContainerOptions { pub fn CreateCollisionOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCollisionOption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1298,21 +1298,21 @@ impl CreateSharedPackageContainerResult { pub fn Container(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Container)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1344,7 +1344,7 @@ impl DeleteSharedPackageContainerOptions { pub fn ForceAppShutdown(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceAppShutdown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1355,7 +1355,7 @@ impl DeleteSharedPackageContainerOptions { pub fn AllUsers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllUsers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1384,14 +1384,14 @@ impl DeleteSharedPackageContainerResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1416,28 +1416,28 @@ impl DeploymentResult { pub fn ErrorText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRegistered(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRegistered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1469,7 +1469,7 @@ impl FindSharedPackageContainerOptions { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1480,7 +1480,7 @@ impl FindSharedPackageContainerOptions { pub fn PackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1517,7 +1517,7 @@ impl PackageAllUserProvisioningOptions { pub fn OptionalPackageFamilyNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionalPackageFamilyNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1525,7 +1525,7 @@ impl PackageAllUserProvisioningOptions { pub fn ProjectionOrderPackageFamilyNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProjectionOrderPackageFamilyNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1562,7 +1562,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddPackageAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1574,14 +1574,14 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdatePackageAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemovePackageAsync(&self, packagefullname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovePackageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1593,7 +1593,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StagePackageAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1605,7 +1605,7 @@ impl PackageManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterPackageAsync)(windows_core::Interface::as_raw(this), manifesturi.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1613,7 +1613,7 @@ impl PackageManager { pub fn FindPackages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1621,7 +1621,7 @@ impl PackageManager { pub fn FindPackagesByUserSecurityId(&self, usersecurityid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1629,7 +1629,7 @@ impl PackageManager { pub fn FindPackagesByNamePublisher(&self, packagename: &windows_core::HSTRING, packagepublisher: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByNamePublisher)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1637,7 +1637,7 @@ impl PackageManager { pub fn FindPackagesByUserSecurityIdNamePublisher(&self, usersecurityid: &windows_core::HSTRING, packagename: &windows_core::HSTRING, packagepublisher: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdNamePublisher)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1645,7 +1645,7 @@ impl PackageManager { pub fn FindUsers(&self, packagefullname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindUsers)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1657,14 +1657,14 @@ impl PackageManager { pub fn FindPackageByPackageFullName(&self, packagefullname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackageByPackageFullName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CleanupPackageForUserAsync(&self, packagename: &windows_core::HSTRING, usersecurityid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CleanupPackageForUserAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagename), core::mem::transmute_copy(usersecurityid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1672,7 +1672,7 @@ impl PackageManager { pub fn FindPackagesByPackageFamilyName(&self, packagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByPackageFamilyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1680,7 +1680,7 @@ impl PackageManager { pub fn FindPackagesByUserSecurityIdPackageFamilyName(&self, usersecurityid: &windows_core::HSTRING, packagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdPackageFamilyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1688,7 +1688,7 @@ impl PackageManager { pub fn FindPackageByUserSecurityIdPackageFullName(&self, usersecurityid: &windows_core::HSTRING, packagefullname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackageByUserSecurityIdPackageFullName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1698,14 +1698,14 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProvisionPackageForAllUsersWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(mainpackagefamilyname), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemovePackageWithOptionsAsync(&self, packagefullname: &windows_core::HSTRING, removaloptions: RemovalOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovePackageWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), removaloptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1717,7 +1717,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StagePackageWithOptionsAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1728,7 +1728,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterPackageByFullNameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(mainpackagefullname), dependencypackagefullnames.param().abi(), deploymentoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1736,7 +1736,7 @@ impl PackageManager { pub fn FindPackagesWithPackageTypes(&self, packagetypes: PackageTypes) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesWithPackageTypes)(windows_core::Interface::as_raw(this), packagetypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1744,7 +1744,7 @@ impl PackageManager { pub fn FindPackagesByUserSecurityIdWithPackageTypes(&self, usersecurityid: &windows_core::HSTRING, packagetypes: PackageTypes) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdWithPackageTypes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), packagetypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1752,7 +1752,7 @@ impl PackageManager { pub fn FindPackagesByNamePublisherWithPackageTypes(&self, packagename: &windows_core::HSTRING, packagepublisher: &windows_core::HSTRING, packagetypes: PackageTypes) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByNamePublisherWithPackageTypes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), packagetypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1760,7 +1760,7 @@ impl PackageManager { pub fn FindPackagesByUserSecurityIdNamePublisherWithPackageTypes(&self, usersecurityid: &windows_core::HSTRING, packagename: &windows_core::HSTRING, packagepublisher: &windows_core::HSTRING, packagetypes: PackageTypes) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdNamePublisherWithPackageTypes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), packagetypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1768,7 +1768,7 @@ impl PackageManager { pub fn FindPackagesByPackageFamilyNameWithPackageTypes(&self, packagefamilyname: &windows_core::HSTRING, packagetypes: PackageTypes) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByPackageFamilyNameWithPackageTypes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), packagetypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1776,21 +1776,21 @@ impl PackageManager { pub fn FindPackagesByUserSecurityIdPackageFamilyNameWithPackageTypes(&self, usersecurityid: &windows_core::HSTRING, packagefamilyname: &windows_core::HSTRING, packagetypes: PackageTypes) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdPackageFamilyNameWithPackageTypes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), core::mem::transmute_copy(packagefamilyname), packagetypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StageUserDataAsync(&self, packagefullname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StageUserDataAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AddPackageVolumeAsync(&self, packagestorepath: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddPackageVolumeAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagestorepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1803,7 +1803,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddPackageToVolumeAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, targetvolume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1820,14 +1820,14 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterPackageWithAppDataVolumeAsync)(windows_core::Interface::as_raw(this), manifesturi.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, appdatavolume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FindPackageVolumeByName(&self, volumename: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackageVolumeByName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(volumename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1835,14 +1835,14 @@ impl PackageManager { pub fn FindPackageVolumes(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackageVolumes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefaultPackageVolume(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultPackageVolume)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1852,7 +1852,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MovePackageToVolumeAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), deploymentoptions, targetvolume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1862,7 +1862,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovePackageVolumeAsync)(windows_core::Interface::as_raw(this), volume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1883,7 +1883,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPackageVolumeOfflineAsync)(windows_core::Interface::as_raw(this), packagevolume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1893,7 +1893,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPackageVolumeOnlineAsync)(windows_core::Interface::as_raw(this), packagevolume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1906,14 +1906,14 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StagePackageToVolumeAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, targetvolume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StageUserDataWithOptionsAsync(&self, packagefullname: &windows_core::HSTRING, deploymentoptions: DeploymentOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StageUserDataWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), deploymentoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1921,7 +1921,7 @@ impl PackageManager { pub fn GetPackageVolumesAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPackageVolumesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1936,7 +1936,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddPackageToVolumeAndOptionalPackagesAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, targetvolume.param().abi(), optionalpackagefamilynames.param().abi(), externalpackageuris.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1951,7 +1951,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StagePackageToVolumeAndOptionalPackagesAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, targetvolume.param().abi(), optionalpackagefamilynames.param().abi(), externalpackageuris.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1964,21 +1964,21 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterPackageByFamilyNameAndOptionalPackagesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(mainpackagefamilyname), dependencypackagefamilynames.param().abi(), deploymentoptions, appdatavolume.param().abi(), optionalpackagefamilynames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DebugSettings(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DebugSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProvisionPackageForAllUsersAsync(&self, packagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProvisionPackageForAllUsersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1989,7 +1989,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddPackageByAppInstallerFileAsync)(windows_core::Interface::as_raw(this), appinstallerfileuri.param().abi(), options, targetvolume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2000,7 +2000,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAddPackageByAppInstallerFileAsync)(windows_core::Interface::as_raw(this), appinstallerfileuri.param().abi(), options, targetvolume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2016,7 +2016,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddPackageToVolumeAndRelatedSetAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), options, targetvolume.param().abi(), optionalpackagefamilynames.param().abi(), packageuristoinstall.param().abi(), relatedpackageuris.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2032,7 +2032,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StagePackageToVolumeAndRelatedSetAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), options, targetvolume.param().abi(), optionalpackagefamilynames.param().abi(), packageuristoinstall.param().abi(), relatedpackageuris.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2047,7 +2047,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAddPackageAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, targetvolume.param().abi(), optionalpackagefamilynames.param().abi(), relatedpackageuris.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2063,14 +2063,14 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAddPackageAndRelatedSetAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, targetvolume.param().abi(), optionalpackagefamilynames.param().abi(), relatedpackageuris.param().abi(), packageuristoinstall.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeprovisionPackageForAllUsersAsync(&self, packagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeprovisionPackageForAllUsersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2078,7 +2078,7 @@ impl PackageManager { pub fn FindProvisionedPackages(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindProvisionedPackages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2089,7 +2089,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddPackageByUriAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2100,7 +2100,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StagePackageByUriAsync)(windows_core::Interface::as_raw(this), packageuri.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2111,7 +2111,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterPackageByUriAsync)(windows_core::Interface::as_raw(this), manifesturi.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2123,7 +2123,7 @@ impl PackageManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterPackagesByFullNameAsync)(windows_core::Interface::as_raw(this), packagefullnames.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2134,7 +2134,7 @@ impl PackageManager { pub fn GetPackageStubPreference(&self, packagefamilyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPackageStubPreference)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).map(|| result__) } } @@ -2163,7 +2163,7 @@ impl PackageManagerDebugSettings { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetContentGroupStateAsync)(windows_core::Interface::as_raw(this), package.param().abi(), core::mem::transmute_copy(contentgroupname), state, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2174,7 +2174,7 @@ impl PackageManagerDebugSettings { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetContentGroupStateWithPercentageAsync)(windows_core::Interface::as_raw(this), package.param().abi(), core::mem::transmute_copy(contentgroupname), state, completionpercentage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2199,14 +2199,14 @@ impl PackageUserInformation { pub fn UserSecurityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserSecurityId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstallState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2231,42 +2231,42 @@ impl PackageVolume { pub fn IsOffline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOffline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSystemVolume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSystemVolume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MountPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MountPoint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PackageStorePath(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageStorePath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SupportsHardLinks(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsHardLinks)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2274,7 +2274,7 @@ impl PackageVolume { pub fn FindPackages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2282,7 +2282,7 @@ impl PackageVolume { pub fn FindPackagesByNamePublisher(&self, packagename: &windows_core::HSTRING, packagepublisher: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByNamePublisher)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2290,7 +2290,7 @@ impl PackageVolume { pub fn FindPackagesByPackageFamilyName(&self, packagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByPackageFamilyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2298,7 +2298,7 @@ impl PackageVolume { pub fn FindPackagesWithPackageTypes(&self, packagetypes: PackageTypes) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesWithPackageTypes)(windows_core::Interface::as_raw(this), packagetypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2306,7 +2306,7 @@ impl PackageVolume { pub fn FindPackagesByNamePublisherWithPackagesTypes(&self, packagetypes: PackageTypes, packagename: &windows_core::HSTRING, packagepublisher: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByNamePublisherWithPackagesTypes)(windows_core::Interface::as_raw(this), packagetypes, core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2314,7 +2314,7 @@ impl PackageVolume { pub fn FindPackagesByPackageFamilyNameWithPackageTypes(&self, packagetypes: PackageTypes, packagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByPackageFamilyNameWithPackageTypes)(windows_core::Interface::as_raw(this), packagetypes, core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2322,7 +2322,7 @@ impl PackageVolume { pub fn FindPackageByPackageFullName(&self, packagefullname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackageByPackageFullName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2330,7 +2330,7 @@ impl PackageVolume { pub fn FindPackagesByUserSecurityId(&self, usersecurityid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2338,7 +2338,7 @@ impl PackageVolume { pub fn FindPackagesByUserSecurityIdNamePublisher(&self, usersecurityid: &windows_core::HSTRING, packagename: &windows_core::HSTRING, packagepublisher: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdNamePublisher)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2346,7 +2346,7 @@ impl PackageVolume { pub fn FindPackagesByUserSecurityIdPackageFamilyName(&self, usersecurityid: &windows_core::HSTRING, packagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdPackageFamilyName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2354,7 +2354,7 @@ impl PackageVolume { pub fn FindPackagesByUserSecurityIdWithPackageTypes(&self, usersecurityid: &windows_core::HSTRING, packagetypes: PackageTypes) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdWithPackageTypes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), packagetypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2362,7 +2362,7 @@ impl PackageVolume { pub fn FindPackagesByUserSecurityIdNamePublisherWithPackageTypes(&self, usersecurityid: &windows_core::HSTRING, packagetypes: PackageTypes, packagename: &windows_core::HSTRING, packagepublisher: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdNamePublisherWithPackageTypes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), packagetypes, core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2370,7 +2370,7 @@ impl PackageVolume { pub fn FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes(&self, usersecurityid: &windows_core::HSTRING, packagetypes: PackageTypes, packagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByUserSecurityIdPackageFamilyNameWithPackagesTypes)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), packagetypes, core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2378,28 +2378,28 @@ impl PackageVolume { pub fn FindPackageByUserSecurityIdPackageFullName(&self, usersecurityid: &windows_core::HSTRING, packagefullname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackageByUserSecurityIdPackageFullName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersecurityid), core::mem::transmute_copy(packagefullname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsFullTrustPackageSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFullTrustPackageSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAppxInstallSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAppxInstallSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetAvailableSpaceAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAvailableSpaceAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2432,14 +2432,14 @@ impl RegisterPackageOptions { pub fn DependencyPackageUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DependencyPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppDataVolume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDataVolume)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2454,14 +2454,14 @@ impl RegisterPackageOptions { pub fn OptionalPackageFamilyNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionalPackageFamilyNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExternalLocationUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExternalLocationUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2475,7 +2475,7 @@ impl RegisterPackageOptions { pub fn DeveloperMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeveloperMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2486,7 +2486,7 @@ impl RegisterPackageOptions { pub fn ForceAppShutdown(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceAppShutdown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2497,7 +2497,7 @@ impl RegisterPackageOptions { pub fn ForceTargetAppShutdown(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceTargetAppShutdown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2508,7 +2508,7 @@ impl RegisterPackageOptions { pub fn ForceUpdateFromAnyVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceUpdateFromAnyVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2519,7 +2519,7 @@ impl RegisterPackageOptions { pub fn InstallAllResources(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallAllResources)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2530,7 +2530,7 @@ impl RegisterPackageOptions { pub fn StageInPlace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StageInPlace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2541,7 +2541,7 @@ impl RegisterPackageOptions { pub fn AllowUnsigned(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowUnsigned)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2552,7 +2552,7 @@ impl RegisterPackageOptions { pub fn DeferRegistrationWhenPackagesAreInUse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeferRegistrationWhenPackagesAreInUse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2564,7 +2564,7 @@ impl RegisterPackageOptions { pub fn ExpectedDigests(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpectedDigests)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2589,14 +2589,14 @@ impl SharedPackageContainer { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2604,7 +2604,7 @@ impl SharedPackageContainer { pub fn GetMembers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMembers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2614,14 +2614,14 @@ impl SharedPackageContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovePackageFamily)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResetData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResetData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2649,7 +2649,7 @@ impl SharedPackageContainerManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContainer)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2659,14 +2659,14 @@ impl SharedPackageContainerManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteContainer)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContainer(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContainer)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2674,7 +2674,7 @@ impl SharedPackageContainerManager { pub fn FindContainers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContainers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2685,25 +2685,25 @@ impl SharedPackageContainerManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContainersWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::ISharedPackageContainerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForUser(usersid: &windows_core::HSTRING) -> windows_core::Result { Self::ISharedPackageContainerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(usersid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForProvisioning() -> windows_core::Result { Self::ISharedPackageContainerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForProvisioning)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2733,13 +2733,13 @@ impl SharedPackageContainerMember { pub fn PackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInstance(packagefamilyname: &windows_core::HSTRING) -> windows_core::Result { Self::ISharedPackageContainerMemberFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2777,14 +2777,14 @@ impl StagePackageOptions { pub fn DependencyPackageUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DependencyPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TargetVolume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetVolume)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2799,7 +2799,7 @@ impl StagePackageOptions { pub fn OptionalPackageFamilyNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionalPackageFamilyNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2807,7 +2807,7 @@ impl StagePackageOptions { pub fn OptionalPackageUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionalPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2815,14 +2815,14 @@ impl StagePackageOptions { pub fn RelatedPackageUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelatedPackageUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExternalLocationUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExternalLocationUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2836,7 +2836,7 @@ impl StagePackageOptions { pub fn StubPackageOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StubPackageOption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2847,7 +2847,7 @@ impl StagePackageOptions { pub fn DeveloperMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeveloperMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2858,7 +2858,7 @@ impl StagePackageOptions { pub fn ForceUpdateFromAnyVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceUpdateFromAnyVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2869,7 +2869,7 @@ impl StagePackageOptions { pub fn InstallAllResources(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallAllResources)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2880,7 +2880,7 @@ impl StagePackageOptions { pub fn RequiredContentGroupOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequiredContentGroupOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2891,7 +2891,7 @@ impl StagePackageOptions { pub fn StageInPlace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StageInPlace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2902,7 +2902,7 @@ impl StagePackageOptions { pub fn AllowUnsigned(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowUnsigned)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2914,7 +2914,7 @@ impl StagePackageOptions { pub fn ExpectedDigests(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpectedDigests)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2946,7 +2946,7 @@ impl UpdateSharedPackageContainerOptions { pub fn ForceAppShutdown(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceAppShutdown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2957,7 +2957,7 @@ impl UpdateSharedPackageContainerOptions { pub fn RequirePackagesPresent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequirePackagesPresent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2986,14 +2986,14 @@ impl UpdateSharedPackageContainerResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Management/Policies/mod.rs b/crates/libs/windows/src/Windows/Management/Policies/mod.rs index ea912dbcb5..b6acb1552c 100644 --- a/crates/libs/windows/src/Windows/Management/Policies/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Policies/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for INamedPolicyData { #[repr(C)] pub struct INamedPolicyData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Area: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Area: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NamedPolicyKind) -> windows_core::HRESULT, pub IsManaged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsUserPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -21,7 +21,7 @@ pub struct INamedPolicyData_Vtbl { GetBinary: usize, pub GetInt32: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetInt64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Changed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -32,9 +32,9 @@ impl windows_core::RuntimeType for INamedPolicyStatics { #[repr(C)] pub struct INamedPolicyStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetPolicyFromPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPolicyFromPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] - pub GetPolicyFromPathForUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPolicyFromPathForUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] GetPolicyFromPathForUser: usize, } @@ -42,7 +42,7 @@ pub struct NamedPolicy; impl NamedPolicy { pub fn GetPolicyFromPath(area: &windows_core::HSTRING, name: &windows_core::HSTRING) -> windows_core::Result { Self::INamedPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPolicyFromPath)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(area), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -52,7 +52,7 @@ impl NamedPolicy { P0: windows_core::Param, { Self::INamedPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPolicyFromPathForUser)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(area), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -73,35 +73,35 @@ impl NamedPolicyData { pub fn Area(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Area)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsManaged(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsManaged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUserPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUserPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -109,14 +109,14 @@ impl NamedPolicyData { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetBoolean(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -124,28 +124,28 @@ impl NamedPolicyData { pub fn GetBinary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBinary)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetInt64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -155,7 +155,7 @@ impl NamedPolicyData { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Management/Update/mod.rs b/crates/libs/windows/src/Windows/Management/Update/mod.rs index c60a93f295..900137269a 100644 --- a/crates/libs/windows/src/Windows/Management/Update/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Update/mod.rs @@ -39,10 +39,10 @@ impl windows_core::RuntimeType for IWindowsUpdate { #[repr(C)] pub struct IWindowsUpdate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UpdateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsFeatureUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsMinorImpact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -55,13 +55,13 @@ pub struct IWindowsUpdate_Vtbl { pub MoreInfoUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SupportUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsEulaAccepted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub EulaText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EulaText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AttentionRequiredInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ActionResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CurrentAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ActionProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AcceptEula: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsUpdateActionCompletedEventArgs, IWindowsUpdateActionCompletedEventArgs_Vtbl, 0x2c44b950_a655_5321_aec1_aee762922131); @@ -72,7 +72,7 @@ impl windows_core::RuntimeType for IWindowsUpdateActionCompletedEventArgs { pub struct IWindowsUpdateActionCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Action: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Action: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Succeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } @@ -83,7 +83,7 @@ impl windows_core::RuntimeType for IWindowsUpdateActionProgress { #[repr(C)] pub struct IWindowsUpdateActionProgress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Action: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Action: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Progress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsUpdateActionResult, IWindowsUpdateActionResult_Vtbl, 0xe6692c62_f697_51b7_ab7f_e73e5e688f12); @@ -96,7 +96,7 @@ pub struct IWindowsUpdateActionResult_Vtbl { pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Succeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - pub Action: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Action: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsUpdateAdministrator, IWindowsUpdateAdministrator_Vtbl, 0x7a60181c_ba1e_5cf9_aa65_304120b73d72); impl windows_core::RuntimeType for IWindowsUpdateAdministrator { @@ -106,10 +106,10 @@ impl windows_core::RuntimeType for IWindowsUpdateAdministrator { pub struct IWindowsUpdateAdministrator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StartAdministratorScan: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ApproveWindowsUpdateAction: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RevokeWindowsUpdateActionApproval: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApproveWindowsUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RevokeWindowsUpdateApproval: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApproveWindowsUpdateAction: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RevokeWindowsUpdateActionApproval: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApproveWindowsUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RevokeWindowsUpdateApproval: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -122,12 +122,12 @@ impl windows_core::RuntimeType for IWindowsUpdateAdministratorStatics { #[repr(C)] pub struct IWindowsUpdateAdministratorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetRegisteredAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RegisterForAdministration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WindowsUpdateAdministratorOptions, *mut WindowsUpdateAdministratorStatus) -> windows_core::HRESULT, - pub UnregisterForAdministration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut WindowsUpdateAdministratorStatus) -> windows_core::HRESULT, - pub GetRegisteredAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RequestRestart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CancelRestartRequest: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRegisteredAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterForAdministration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WindowsUpdateAdministratorOptions, *mut WindowsUpdateAdministratorStatus) -> windows_core::HRESULT, + pub UnregisterForAdministration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut WindowsUpdateAdministratorStatus) -> windows_core::HRESULT, + pub GetRegisteredAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestRestart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CancelRestartRequest: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsUpdateApprovalData, IWindowsUpdateApprovalData_Vtbl, 0xaadf5bfd_84db_59bc_85e2_ad4fc1f62f7c); impl windows_core::RuntimeType for IWindowsUpdateApprovalData { @@ -184,14 +184,14 @@ impl windows_core::RuntimeType for IWindowsUpdateItem { #[repr(C)] pub struct IWindowsUpdateItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UpdateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MoreInfoUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Operation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Operation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsUpdateManager, IWindowsUpdateManager_Vtbl, 0x5dd966c0_a71a_5602_bbd0_09a70e4573fa); impl windows_core::RuntimeType for IWindowsUpdateManager { @@ -236,7 +236,7 @@ impl windows_core::RuntimeType for IWindowsUpdateManagerFactory { #[repr(C)] pub struct IWindowsUpdateManagerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsUpdateProgressChangedEventArgs, IWindowsUpdateProgressChangedEventArgs_Vtbl, 0xbbfbdeeb_94c8_5aa7_b0fb_66c67c233b0a); impl windows_core::RuntimeType for IWindowsUpdateProgressChangedEventArgs { @@ -255,18 +255,18 @@ impl windows_core::RuntimeType for IWindowsUpdateRestartRequestOptions { #[repr(C)] pub struct IWindowsUpdateRestartRequestOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MoreInfoUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMoreInfoUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ComplianceDeadlineInDays: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetComplianceDeadlineInDays: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ComplianceGracePeriodInDays: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetComplianceGracePeriodInDays: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub OrganizationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOrganizationName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OrganizationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOrganizationName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub OptOutOfAutoReboot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetOptOutOfAutoReboot: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } @@ -277,7 +277,7 @@ impl windows_core::RuntimeType for IWindowsUpdateRestartRequestOptionsFactory { #[repr(C)] pub struct IWindowsUpdateRestartRequestOptionsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsUpdateScanCompletedEventArgs, IWindowsUpdateScanCompletedEventArgs_Vtbl, 0x95b6953e_ba5c_5fe8_b115_12de184a6bb0); impl windows_core::RuntimeType for IWindowsUpdateScanCompletedEventArgs { @@ -286,7 +286,7 @@ impl windows_core::RuntimeType for IWindowsUpdateScanCompletedEventArgs { #[repr(C)] pub struct IWindowsUpdateScanCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Succeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -302,7 +302,7 @@ impl PreviewBuildsManager { pub fn ArePreviewBuildsAllowed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ArePreviewBuildsAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -313,26 +313,26 @@ impl PreviewBuildsManager { pub fn GetCurrentState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentState)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SyncAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IPreviewBuildsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IPreviewBuildsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -363,7 +363,7 @@ impl PreviewBuildsState { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -388,161 +388,161 @@ impl WindowsUpdate { pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UpdateId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsFeatureUpdate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFeatureUpdate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMinorImpact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMinorImpact)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSecurity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSecurity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCritical(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCritical)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsForOS(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsForOS)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDriver(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDriver)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMandatory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMandatory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsUrgent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUrgent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSeeker(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSeeker)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MoreInfoUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoreInfoUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SupportUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEulaAccepted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEulaAccepted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EulaText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EulaText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AttentionRequiredInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttentionRequiredInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActionResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionResult)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentAction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentAction)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActionProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionProgress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPropertyValue(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertyValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -571,28 +571,28 @@ impl WindowsUpdateActionCompletedEventArgs { pub fn Update(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Update)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Action(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Action)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -617,14 +617,14 @@ impl WindowsUpdateActionProgress { pub fn Action(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Action)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -649,28 +649,28 @@ impl WindowsUpdateActionResult { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Action(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Action)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -719,31 +719,31 @@ impl WindowsUpdateAdministrator { pub fn GetUpdates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUpdates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetRegisteredAdministrator(organizationname: &windows_core::HSTRING) -> windows_core::Result { Self::IWindowsUpdateAdministratorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRegisteredAdministrator)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(organizationname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RegisterForAdministration(organizationname: &windows_core::HSTRING, options: WindowsUpdateAdministratorOptions) -> windows_core::Result { Self::IWindowsUpdateAdministratorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterForAdministration)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(organizationname), options, &mut result__).map(|| result__) }) } pub fn UnregisterForAdministration(organizationname: &windows_core::HSTRING) -> windows_core::Result { Self::IWindowsUpdateAdministratorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnregisterForAdministration)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(organizationname), &mut result__).map(|| result__) }) } pub fn GetRegisteredAdministratorName() -> windows_core::Result { Self::IWindowsUpdateAdministratorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRegisteredAdministratorName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -752,7 +752,7 @@ impl WindowsUpdateAdministrator { P0: windows_core::Param, { Self::IWindowsUpdateAdministratorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestRestart)(windows_core::Interface::as_raw(this), restartoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -792,7 +792,7 @@ impl WindowsUpdateApprovalData { pub fn Seeker(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Seeker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -806,7 +806,7 @@ impl WindowsUpdateApprovalData { pub fn AllowDownloadOnMetered(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowDownloadOnMetered)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -820,7 +820,7 @@ impl WindowsUpdateApprovalData { pub fn ComplianceDeadlineInDays(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComplianceDeadlineInDays)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -834,7 +834,7 @@ impl WindowsUpdateApprovalData { pub fn ComplianceGracePeriodInDays(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComplianceGracePeriodInDays)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -848,7 +848,7 @@ impl WindowsUpdateApprovalData { pub fn OptOutOfAutoReboot(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptOutOfAutoReboot)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -880,14 +880,14 @@ impl WindowsUpdateAttentionRequiredInfo { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Timestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -912,14 +912,14 @@ impl WindowsUpdateAttentionRequiredReasonChangedEventArgs { pub fn Update(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Update)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -944,14 +944,14 @@ impl WindowsUpdateGetAdministratorResult { pub fn Administrator(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Administrator)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -976,56 +976,56 @@ impl WindowsUpdateItem { pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UpdateId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MoreInfoUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoreInfoUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1053,7 +1053,7 @@ impl WindowsUpdateManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanningStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1067,7 +1067,7 @@ impl WindowsUpdateManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkingStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1081,7 +1081,7 @@ impl WindowsUpdateManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProgressChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1095,7 +1095,7 @@ impl WindowsUpdateManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttentionRequiredReasonChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1109,7 +1109,7 @@ impl WindowsUpdateManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1123,7 +1123,7 @@ impl WindowsUpdateManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1134,21 +1134,21 @@ impl WindowsUpdateManager { pub fn IsScanning(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScanning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsWorking(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWorking)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastSuccessfulScanTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastSuccessfulScanTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1156,7 +1156,7 @@ impl WindowsUpdateManager { pub fn GetApplicableUpdates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetApplicableUpdates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1164,7 +1164,7 @@ impl WindowsUpdateManager { pub fn GetMostRecentCompletedUpdates(&self, count: i32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMostRecentCompletedUpdates)(windows_core::Interface::as_raw(this), count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1172,7 +1172,7 @@ impl WindowsUpdateManager { pub fn GetMostRecentCompletedUpdatesAsync(&self, count: i32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMostRecentCompletedUpdatesAsync)(windows_core::Interface::as_raw(this), count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1182,7 +1182,7 @@ impl WindowsUpdateManager { } pub fn CreateInstance(clientid: &windows_core::HSTRING) -> windows_core::Result { Self::IWindowsUpdateManagerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(clientid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1212,14 +1212,14 @@ impl WindowsUpdateProgressChangedEventArgs { pub fn Update(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Update)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActionProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionProgress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1251,7 +1251,7 @@ impl WindowsUpdateRestartRequestOptions { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1262,7 +1262,7 @@ impl WindowsUpdateRestartRequestOptions { pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1273,7 +1273,7 @@ impl WindowsUpdateRestartRequestOptions { pub fn MoreInfoUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoreInfoUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1287,7 +1287,7 @@ impl WindowsUpdateRestartRequestOptions { pub fn ComplianceDeadlineInDays(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComplianceDeadlineInDays)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1298,7 +1298,7 @@ impl WindowsUpdateRestartRequestOptions { pub fn ComplianceGracePeriodInDays(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComplianceGracePeriodInDays)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1309,7 +1309,7 @@ impl WindowsUpdateRestartRequestOptions { pub fn OrganizationName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrganizationName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1320,7 +1320,7 @@ impl WindowsUpdateRestartRequestOptions { pub fn OptOutOfAutoReboot(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptOutOfAutoReboot)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1333,7 +1333,7 @@ impl WindowsUpdateRestartRequestOptions { P0: windows_core::Param, { Self::IWindowsUpdateRestartRequestOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), core::mem::transmute_copy(description), moreinfourl.param().abi(), compliancedeadlineindays, compliancegraceperiodindays, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1363,21 +1363,21 @@ impl WindowsUpdateScanCompletedEventArgs { pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1385,7 +1385,7 @@ impl WindowsUpdateScanCompletedEventArgs { pub fn Updates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 58d21819fc..ecee8ad633 100644 --- a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs @@ -32,31 +32,31 @@ pub struct MdmPolicy; impl MdmPolicy { pub fn IsBrowserAllowed() -> windows_core::Result { Self::IMdmAllowPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBrowserAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsCameraAllowed() -> windows_core::Result { Self::IMdmAllowPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCameraAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsMicrosoftAccountAllowed() -> windows_core::Result { Self::IMdmAllowPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMicrosoftAccountAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsStoreAllowed() -> windows_core::Result { Self::IMdmAllowPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStoreAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GetMessagingSyncPolicy() -> windows_core::Result { Self::IMdmPolicyStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMessagingSyncPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -78,7 +78,7 @@ pub struct WorkplaceSettings; impl WorkplaceSettings { pub fn IsMicrosoftAccountOptional() -> windows_core::Result { Self::IWorkplaceSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMicrosoftAccountOptional)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/Management/mod.rs b/crates/libs/windows/src/Windows/Management/mod.rs index 4d10587986..5d9308dc03 100644 --- a/crates/libs/windows/src/Windows/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Management/mod.rs @@ -15,19 +15,19 @@ impl windows_core::RuntimeType for IMdmAlert { #[repr(C)] pub struct IMdmAlert_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MdmAlertDataType) -> windows_core::HRESULT, pub SetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, MdmAlertDataType) -> windows_core::HRESULT, pub Mark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MdmAlertMark) -> windows_core::HRESULT, pub SetMark: unsafe extern "system" fn(*mut core::ffi::c_void, MdmAlertMark) -> windows_core::HRESULT, - pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTarget: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTarget: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMdmSession, IMdmSession_Vtbl, 0xfe89314c_8f64_4797_a9d7_9d88f86ae166); impl windows_core::RuntimeType for IMdmSession { @@ -41,7 +41,7 @@ pub struct IMdmSession_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Alerts: usize, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MdmSessionState) -> windows_core::HRESULT, pub AttachAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -63,8 +63,8 @@ pub struct IMdmSessionManagerStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SessionIds: usize, pub TryCreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteSessionById: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSessionById: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteSessionById: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSessionById: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -81,7 +81,7 @@ impl MdmAlert { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -92,7 +92,7 @@ impl MdmAlert { pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -103,7 +103,7 @@ impl MdmAlert { pub fn Mark(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mark)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -114,7 +114,7 @@ impl MdmAlert { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -125,14 +125,14 @@ impl MdmAlert { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Target(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -143,7 +143,7 @@ impl MdmAlert { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -171,35 +171,35 @@ impl MdmSession { pub fn Alerts(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Alerts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AttachAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttachAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -210,7 +210,7 @@ impl MdmSession { pub fn StartAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -221,7 +221,7 @@ impl MdmSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartWithAlertsAsync)(windows_core::Interface::as_raw(this), alerts.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -241,13 +241,13 @@ impl MdmSessionManager { #[cfg(feature = "Foundation_Collections")] pub fn SessionIds() -> windows_core::Result> { Self::IMdmSessionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryCreateSession() -> windows_core::Result { Self::IMdmSessionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -256,7 +256,7 @@ impl MdmSessionManager { } pub fn GetSessionById(sessionid: &windows_core::HSTRING) -> windows_core::Result { Self::IMdmSessionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSessionById)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sessionid), &mut result__).and_then(|| windows_core::Type::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 4358ad1966..8140ce6e3e 100644 --- a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs @@ -73,7 +73,7 @@ impl AppBroadcastingMonitor { pub fn IsCurrentAppBroadcasting(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCurrentAppBroadcasting)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -83,7 +83,7 @@ impl AppBroadcastingMonitor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCurrentAppBroadcastingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -112,14 +112,14 @@ impl AppBroadcastingStatus { pub fn CanStartBroadcast(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanStartBroadcast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Details(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Details)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -144,56 +144,56 @@ impl AppBroadcastingStatusDetails { pub fn IsAnyAppBroadcasting(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAnyAppBroadcasting)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCaptureResourceUnavailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCaptureResourceUnavailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGameStreamInProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGameStreamInProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGpuConstrained(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGpuConstrained)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAppInactive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAppInactive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBlockedForApp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBlockedForApp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDisabledByUser(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabledByUser)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDisabledBySystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabledBySystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -218,7 +218,7 @@ impl AppBroadcastingUI { pub fn GetStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -228,7 +228,7 @@ impl AppBroadcastingUI { } pub fn GetDefault() -> windows_core::Result { Self::IAppBroadcastingUIStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -238,7 +238,7 @@ impl AppBroadcastingUI { P0: windows_core::Param, { Self::IAppBroadcastingUIStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::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 58352bcb68..30775d6518 100644 --- a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs @@ -19,7 +19,7 @@ pub struct IAppRecordingManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedScreenshotMediaEncodingSubtypes: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] - pub SaveScreenshotToFilesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, AppRecordingSaveScreenshotOption, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SaveScreenshotToFilesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, AppRecordingSaveScreenshotOption, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] SaveScreenshotToFilesAsync: usize, } @@ -69,7 +69,7 @@ pub struct IAppRecordingSavedScreenshotInfo_Vtbl { pub File: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] File: usize, - pub MediaEncodingSubtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaEncodingSubtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppRecordingStatus, IAppRecordingStatus_Vtbl, 0x1d0cc82c_bc18_4b8a_a6ef_127efab3b5d9); impl windows_core::RuntimeType for IAppRecordingStatus { @@ -108,7 +108,7 @@ impl AppRecordingManager { pub fn GetStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -119,7 +119,7 @@ impl AppRecordingManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartRecordingToFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -130,7 +130,7 @@ impl AppRecordingManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordTimeSpanToFileAsync)(windows_core::Interface::as_raw(this), starttime, duration, file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -138,7 +138,7 @@ impl AppRecordingManager { pub fn SupportedScreenshotMediaEncodingSubtypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedScreenshotMediaEncodingSubtypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -150,13 +150,13 @@ impl AppRecordingManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveScreenshotToFilesAsync)(windows_core::Interface::as_raw(this), folder.param().abi(), core::mem::transmute_copy(filenameprefix), option, requestedformats.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IAppRecordingManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -186,28 +186,28 @@ impl AppRecordingResult { pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsFileTruncated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFileTruncated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -232,14 +232,14 @@ impl AppRecordingSaveScreenshotResult { pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -247,7 +247,7 @@ impl AppRecordingSaveScreenshotResult { pub fn SavedScreenshotInfos(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavedScreenshotInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -273,14 +273,14 @@ impl AppRecordingSavedScreenshotInfo { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MediaEncodingSubtype(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaEncodingSubtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -305,28 +305,28 @@ impl AppRecordingStatus { pub fn CanRecord(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRecord)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanRecordTimeSpan(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRecordTimeSpan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HistoricalBufferDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HistoricalBufferDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Details(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Details)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -351,63 +351,63 @@ impl AppRecordingStatusDetails { pub fn IsAnyAppBroadcasting(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAnyAppBroadcasting)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCaptureResourceUnavailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCaptureResourceUnavailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGameStreamInProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGameStreamInProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTimeSpanRecordingDisabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTimeSpanRecordingDisabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGpuConstrained(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGpuConstrained)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAppInactive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAppInactive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBlockedForApp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBlockedForApp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDisabledByUser(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabledByUser)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDisabledBySystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabledBySystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Media/Audio/mod.rs index c623ad6354..8d48a22536 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/mod.rs @@ -305,7 +305,7 @@ windows_core::imp::define_interface!(IAudioInputNode, IAudioInputNode_Vtbl, 0xd1 impl std::ops::Deref for IAudioInputNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioInputNode, windows_core::IUnknown, windows_core::IInspectable); @@ -315,7 +315,7 @@ impl IAudioInputNode { pub fn OutgoingConnections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingConnections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -344,7 +344,7 @@ impl IAudioInputNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -355,7 +355,7 @@ impl IAudioInputNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -363,14 +363,14 @@ impl IAudioInputNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -429,7 +429,7 @@ windows_core::imp::define_interface!(IAudioInputNode2, IAudioInputNode2_Vtbl, 0x impl std::ops::Deref for IAudioInputNode2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioInputNode2, windows_core::IUnknown, windows_core::IInspectable); @@ -438,7 +438,7 @@ impl IAudioInputNode2 { pub fn Emitter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emitter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -446,7 +446,7 @@ impl IAudioInputNode2 { pub fn OutgoingConnections(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingConnections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -475,7 +475,7 @@ impl IAudioInputNode2 { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -486,7 +486,7 @@ impl IAudioInputNode2 { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -494,14 +494,14 @@ impl IAudioInputNode2 { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -554,7 +554,7 @@ windows_core::imp::define_interface!(IAudioNode, IAudioNode_Vtbl, 0x15389d7f_dbd impl std::ops::Deref for IAudioNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioNode, windows_core::IUnknown, windows_core::IInspectable); @@ -564,7 +564,7 @@ impl IAudioNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -575,7 +575,7 @@ impl IAudioNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -583,14 +583,14 @@ impl IAudioNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -822,7 +822,7 @@ windows_core::imp::define_interface!(IAudioNodeWithListener, IAudioNodeWithListe impl std::ops::Deref for IAudioNodeWithListener { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioNodeWithListener, windows_core::IUnknown, windows_core::IInspectable); @@ -838,7 +838,7 @@ impl IAudioNodeWithListener { pub fn Listener(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Listener)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -846,7 +846,7 @@ impl IAudioNodeWithListener { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -857,7 +857,7 @@ impl IAudioNodeWithListener { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -865,14 +865,14 @@ impl IAudioNodeWithListener { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -931,7 +931,7 @@ pub struct IAudioPlaybackConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioPlaybackConnectionState) -> windows_core::HRESULT, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -955,8 +955,8 @@ impl windows_core::RuntimeType for IAudioPlaybackConnectionStatics { #[repr(C)] pub struct IAudioPlaybackConnectionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryCreateFromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryCreateFromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioStateMonitor, IAudioStateMonitor_Vtbl, 0x1d13d136_0199_4cdc_b84e_e72c2b581ece); impl windows_core::RuntimeType for IAudioStateMonitor { @@ -986,7 +986,7 @@ pub struct IAudioStateMonitorStatics_Vtbl { #[cfg(not(all(feature = "Media_Devices", feature = "Media_Render")))] CreateForRenderMonitoringWithCategoryAndDeviceRole: usize, #[cfg(feature = "Media_Render")] - pub CreateForRenderMonitoringWithCategoryAndDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Render::AudioRenderCategory, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateForRenderMonitoringWithCategoryAndDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Render::AudioRenderCategory, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Render"))] CreateForRenderMonitoringWithCategoryAndDeviceId: usize, pub CreateForCaptureMonitoring: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -999,7 +999,7 @@ pub struct IAudioStateMonitorStatics_Vtbl { #[cfg(not(all(feature = "Media_Capture", feature = "Media_Devices")))] CreateForCaptureMonitoringWithCategoryAndDeviceRole: usize, #[cfg(feature = "Media_Capture")] - pub CreateForCaptureMonitoringWithCategoryAndDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Capture::MediaCategory, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateForCaptureMonitoringWithCategoryAndDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, super::Capture::MediaCategory, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Capture"))] CreateForCaptureMonitoringWithCategoryAndDeviceId: usize, } @@ -1309,12 +1309,12 @@ impl windows_core::RuntimeType for ISpatialAudioDeviceConfiguration { #[repr(C)] pub struct ISpatialAudioDeviceConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsSpatialAudioSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub IsSpatialAudioFormatSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub ActiveSpatialAudioFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DefaultSpatialAudioFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDefaultSpatialAudioFormatAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsSpatialAudioFormatSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ActiveSpatialAudioFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultSpatialAudioFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultSpatialAudioFormatAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ConfigurationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveConfigurationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -1325,7 +1325,7 @@ impl windows_core::RuntimeType for ISpatialAudioDeviceConfigurationStatics { #[repr(C)] pub struct ISpatialAudioDeviceConfigurationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetForDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetForDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioFormatConfiguration, ISpatialAudioFormatConfiguration_Vtbl, 0x32df09a8_50f0_5395_9923_7d44ca71ed6d); impl windows_core::RuntimeType for ISpatialAudioFormatConfiguration { @@ -1334,8 +1334,8 @@ impl windows_core::RuntimeType for ISpatialAudioFormatConfiguration { #[repr(C)] pub struct ISpatialAudioFormatConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ReportLicenseChangedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReportConfigurationChangedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportLicenseChangedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportConfigurationChangedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MixedRealityExclusiveModePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MixedRealitySpatialAudioFormatPolicy) -> windows_core::HRESULT, pub SetMixedRealityExclusiveModePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, MixedRealitySpatialAudioFormatPolicy) -> windows_core::HRESULT, } @@ -1355,12 +1355,12 @@ impl windows_core::RuntimeType for ISpatialAudioFormatSubtypeStatics { #[repr(C)] pub struct ISpatialAudioFormatSubtypeStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub WindowsSonic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DolbyAtmosForHeadphones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DolbyAtmosForHomeTheater: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DolbyAtmosForSpeakers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DTSHeadphoneX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DTSXUltra: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WindowsSonic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DolbyAtmosForHeadphones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DolbyAtmosForHomeTheater: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DolbyAtmosForSpeakers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DTSHeadphoneX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DTSXUltra: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioFormatSubtypeStatics2, ISpatialAudioFormatSubtypeStatics2_Vtbl, 0x4565e6cb_d95b_5621_b6af_0e8849c57c80); impl windows_core::RuntimeType for ISpatialAudioFormatSubtypeStatics2 { @@ -1369,7 +1369,7 @@ impl windows_core::RuntimeType for ISpatialAudioFormatSubtypeStatics2 { #[repr(C)] pub struct ISpatialAudioFormatSubtypeStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DTSXForHomeTheater: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DTSXForHomeTheater: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -1381,7 +1381,7 @@ impl AudioDeviceInputNode { pub fn Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1389,7 +1389,7 @@ impl AudioDeviceInputNode { pub fn OutgoingConnections(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingConnections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1417,7 +1417,7 @@ impl AudioDeviceInputNode { pub fn Emitter(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emitter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1425,7 +1425,7 @@ impl AudioDeviceInputNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1436,7 +1436,7 @@ impl AudioDeviceInputNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1444,14 +1444,14 @@ impl AudioDeviceInputNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1514,7 +1514,7 @@ impl AudioDeviceOutputNode { pub fn Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1522,7 +1522,7 @@ impl AudioDeviceOutputNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1533,7 +1533,7 @@ impl AudioDeviceOutputNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1541,14 +1541,14 @@ impl AudioDeviceOutputNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1594,7 +1594,7 @@ impl AudioDeviceOutputNode { pub fn Listener(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Listener)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1628,14 +1628,14 @@ impl AudioFileInputNode { pub fn PlaybackSpeedFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackSpeedFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1646,7 +1646,7 @@ impl AudioFileInputNode { pub fn StartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1660,7 +1660,7 @@ impl AudioFileInputNode { pub fn EndTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1674,7 +1674,7 @@ impl AudioFileInputNode { pub fn LoopCount(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoopCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1688,7 +1688,7 @@ impl AudioFileInputNode { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1696,7 +1696,7 @@ impl AudioFileInputNode { pub fn SourceFile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceFile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1706,7 +1706,7 @@ impl AudioFileInputNode { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1718,7 +1718,7 @@ impl AudioFileInputNode { pub fn OutgoingConnections(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingConnections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1746,7 +1746,7 @@ impl AudioFileInputNode { pub fn Emitter(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emitter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1754,7 +1754,7 @@ impl AudioFileInputNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1765,7 +1765,7 @@ impl AudioFileInputNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1773,14 +1773,14 @@ impl AudioFileInputNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1843,7 +1843,7 @@ impl AudioFileOutputNode { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1851,7 +1851,7 @@ impl AudioFileOutputNode { pub fn FileEncodingProfile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileEncodingProfile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1859,7 +1859,7 @@ impl AudioFileOutputNode { pub fn FinalizeAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalizeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1867,7 +1867,7 @@ impl AudioFileOutputNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1878,7 +1878,7 @@ impl AudioFileOutputNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1886,14 +1886,14 @@ impl AudioFileOutputNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1954,7 +1954,7 @@ impl AudioFrameCompletedEventArgs { pub fn Frame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Frame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1984,7 +1984,7 @@ impl AudioFrameInputNode { pub fn PlaybackSpeedFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackSpeedFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2002,7 +2002,7 @@ impl AudioFrameInputNode { pub fn QueuedSampleCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueuedSampleCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2012,7 +2012,7 @@ impl AudioFrameInputNode { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFrameCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2026,7 +2026,7 @@ impl AudioFrameInputNode { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuantumStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2038,7 +2038,7 @@ impl AudioFrameInputNode { pub fn OutgoingConnections(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingConnections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2066,7 +2066,7 @@ impl AudioFrameInputNode { pub fn Emitter(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emitter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2074,7 +2074,7 @@ impl AudioFrameInputNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2085,7 +2085,7 @@ impl AudioFrameInputNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2093,14 +2093,14 @@ impl AudioFrameInputNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2162,7 +2162,7 @@ impl AudioFrameOutputNode { pub fn GetFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2170,7 +2170,7 @@ impl AudioFrameOutputNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2181,7 +2181,7 @@ impl AudioFrameOutputNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2189,14 +2189,14 @@ impl AudioFrameOutputNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2258,7 +2258,7 @@ impl AudioGraph { pub fn CreateFrameInputNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameInputNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2269,7 +2269,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameInputNodeWithFormat)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2277,7 +2277,7 @@ impl AudioGraph { pub fn CreateDeviceInputNodeAsync(&self, category: super::Capture::MediaCategory) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDeviceInputNodeAsync)(windows_core::Interface::as_raw(this), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2288,7 +2288,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDeviceInputNodeWithFormatAsync)(windows_core::Interface::as_raw(this), category, encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2300,14 +2300,14 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDeviceInputNodeWithFormatOnDeviceAsync)(windows_core::Interface::as_raw(this), category, encodingproperties.param().abi(), device.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFrameOutputNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameOutputNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2318,14 +2318,14 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameOutputNodeWithFormat)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateDeviceOutputNodeAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDeviceOutputNodeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2336,7 +2336,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileInputNodeAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2347,7 +2347,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileOutputNodeAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2359,14 +2359,14 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileOutputNodeWithFileProfileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), fileencodingprofile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSubmixNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSubmixNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2377,7 +2377,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSubmixNodeWithFormat)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2399,7 +2399,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuantumStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2413,7 +2413,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuantumProcessed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2427,7 +2427,7 @@ impl AudioGraph { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnrecoverableErrorOccurred)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2438,7 +2438,7 @@ impl AudioGraph { pub fn CompletedQuantumCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompletedQuantumCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2446,14 +2446,14 @@ impl AudioGraph { pub fn EncodingProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LatencyInSamples(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LatencyInSamples)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2461,21 +2461,21 @@ impl AudioGraph { pub fn PrimaryRenderDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryRenderDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenderDeviceAudioProcessing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderDeviceAudioProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SamplesPerQuantum(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SamplesPerQuantum)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2487,7 +2487,7 @@ impl AudioGraph { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameInputNodeWithFormatAndEmitter)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), emitter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2500,7 +2500,7 @@ impl AudioGraph { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDeviceInputNodeWithFormatAndEmitterOnDeviceAsync)(windows_core::Interface::as_raw(this), category, encodingproperties.param().abi(), device.param().abi(), emitter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2512,7 +2512,7 @@ impl AudioGraph { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileInputNodeWithEmitterAsync)(windows_core::Interface::as_raw(this), file.param().abi(), emitter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2524,14 +2524,14 @@ impl AudioGraph { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSubmixNodeWithFormatAndEmitter)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), emitter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateBatchUpdater(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBatchUpdater)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2542,7 +2542,7 @@ impl AudioGraph { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMediaSourceAudioInputNodeAsync)(windows_core::Interface::as_raw(this), mediasource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2554,7 +2554,7 @@ impl AudioGraph { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMediaSourceAudioInputNodeWithEmitterAsync)(windows_core::Interface::as_raw(this), mediasource.param().abi(), emitter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2563,7 +2563,7 @@ impl AudioGraph { P0: windows_core::Param, { Self::IAudioGraphStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2620,7 +2620,7 @@ impl AudioGraphConnection { pub fn Destination(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Destination)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2631,7 +2631,7 @@ impl AudioGraphConnection { pub fn Gain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2657,7 +2657,7 @@ impl AudioGraphSettings { pub fn EncodingProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2673,7 +2673,7 @@ impl AudioGraphSettings { pub fn PrimaryRenderDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryRenderDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2688,7 +2688,7 @@ impl AudioGraphSettings { pub fn QuantumSizeSelectionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuantumSizeSelectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2699,7 +2699,7 @@ impl AudioGraphSettings { pub fn DesiredSamplesPerQuantum(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredSamplesPerQuantum)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2711,7 +2711,7 @@ impl AudioGraphSettings { pub fn AudioRenderCategory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioRenderCategory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2723,7 +2723,7 @@ impl AudioGraphSettings { pub fn DesiredRenderDeviceAudioProcessing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredRenderDeviceAudioProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2738,14 +2738,14 @@ impl AudioGraphSettings { pub fn MaxPlaybackSpeedFactor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPlaybackSpeedFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } #[cfg(feature = "Media_Render")] pub fn Create(audiorendercategory: super::Render::AudioRenderCategory) -> windows_core::Result { Self::IAudioGraphSettingsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiorendercategory, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2775,7 +2775,7 @@ impl AudioGraphUnrecoverableErrorOccurredEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2808,7 +2808,7 @@ impl AudioNodeEmitter { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2821,7 +2821,7 @@ impl AudioNodeEmitter { pub fn Direction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2833,21 +2833,21 @@ impl AudioNodeEmitter { pub fn Shape(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DecayModel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecayModel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Gain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2858,7 +2858,7 @@ impl AudioNodeEmitter { pub fn DistanceScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistanceScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2869,7 +2869,7 @@ impl AudioNodeEmitter { pub fn DopplerScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DopplerScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2881,7 +2881,7 @@ impl AudioNodeEmitter { pub fn DopplerVelocity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DopplerVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2893,14 +2893,14 @@ impl AudioNodeEmitter { pub fn IsDopplerDisabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDopplerDisabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SpatialAudioModel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpatialAudioModel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2914,7 +2914,7 @@ impl AudioNodeEmitter { P1: windows_core::Param, { Self::IAudioNodeEmitterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAudioNodeEmitter)(windows_core::Interface::as_raw(this), shape.param().abi(), decaymodel.param().abi(), settings, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2944,21 +2944,21 @@ impl AudioNodeEmitterConeProperties { pub fn InnerAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OuterAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OuterAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OuterAngleGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OuterAngleGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2983,40 +2983,40 @@ impl AudioNodeEmitterDecayModel { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NaturalProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateNatural(mingain: f64, maxgain: f64, unitygaindistance: f64, cutoffdistance: f64) -> windows_core::Result { Self::IAudioNodeEmitterDecayModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNatural)(windows_core::Interface::as_raw(this), mingain, maxgain, unitygaindistance, cutoffdistance, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateCustom(mingain: f64, maxgain: f64) -> windows_core::Result { Self::IAudioNodeEmitterDecayModelStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCustom)(windows_core::Interface::as_raw(this), mingain, maxgain, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3046,14 +3046,14 @@ impl AudioNodeEmitterNaturalDecayModelProperties { pub fn UnityGainDistance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnityGainDistance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CutoffDistance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CutoffDistance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3078,26 +3078,26 @@ impl AudioNodeEmitterShape { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConeProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConeProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateCone(innerangle: f64, outerangle: f64, outeranglegain: f64) -> windows_core::Result { Self::IAudioNodeEmitterShapeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCone)(windows_core::Interface::as_raw(this), innerangle, outerangle, outeranglegain, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateOmnidirectional() -> windows_core::Result { Self::IAudioNodeEmitterShapeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOmnidirectional)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3135,7 +3135,7 @@ impl AudioNodeListener { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3148,7 +3148,7 @@ impl AudioNodeListener { pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3160,7 +3160,7 @@ impl AudioNodeListener { pub fn SpeedOfSound(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpeedOfSound)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3172,7 +3172,7 @@ impl AudioNodeListener { pub fn DopplerVelocity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DopplerVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3207,35 +3207,35 @@ impl AudioPlaybackConnection { pub fn StartAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Open(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Open)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3245,7 +3245,7 @@ impl AudioPlaybackConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3255,13 +3255,13 @@ impl AudioPlaybackConnection { } pub fn GetDeviceSelector() -> windows_core::Result { Self::IAudioPlaybackConnectionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryCreateFromId(id: &windows_core::HSTRING) -> windows_core::Result { Self::IAudioPlaybackConnectionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3295,14 +3295,14 @@ impl AudioPlaybackConnectionOpenResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3330,7 +3330,7 @@ impl AudioStateMonitor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoundLevelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3341,61 +3341,61 @@ impl AudioStateMonitor { pub fn SoundLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoundLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateForRenderMonitoring() -> windows_core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForRenderMonitoring)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Media_Render")] pub fn CreateForRenderMonitoringWithCategory(category: super::Render::AudioRenderCategory) -> windows_core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForRenderMonitoringWithCategory)(windows_core::Interface::as_raw(this), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForRenderMonitoringWithCategoryAndDeviceRole)(windows_core::Interface::as_raw(this), category, role, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Media_Render")] pub fn CreateForRenderMonitoringWithCategoryAndDeviceId(category: super::Render::AudioRenderCategory, deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForRenderMonitoringWithCategoryAndDeviceId)(windows_core::Interface::as_raw(this), category, core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateForCaptureMonitoring() -> windows_core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForCaptureMonitoring)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Media_Capture")] pub fn CreateForCaptureMonitoringWithCategory(category: super::Capture::MediaCategory) -> windows_core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForCaptureMonitoringWithCategory)(windows_core::Interface::as_raw(this), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForCaptureMonitoringWithCategoryAndDeviceRole)(windows_core::Interface::as_raw(this), category, role, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Media_Capture")] pub fn CreateForCaptureMonitoringWithCategoryAndDeviceId(category: super::Capture::MediaCategory, deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IAudioStateMonitorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForCaptureMonitoringWithCategoryAndDeviceId)(windows_core::Interface::as_raw(this), category, core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3427,7 +3427,7 @@ impl AudioSubmixNode { pub fn OutgoingConnections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingConnections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3455,7 +3455,7 @@ impl AudioSubmixNode { pub fn Emitter(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emitter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3463,7 +3463,7 @@ impl AudioSubmixNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3474,7 +3474,7 @@ impl AudioSubmixNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3482,14 +3482,14 @@ impl AudioSubmixNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3550,21 +3550,21 @@ impl CreateAudioDeviceInputNodeResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceInputNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInputNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3589,21 +3589,21 @@ impl CreateAudioDeviceOutputNodeResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceOutputNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceOutputNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3628,21 +3628,21 @@ impl CreateAudioFileInputNodeResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FileInputNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileInputNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3667,21 +3667,21 @@ impl CreateAudioFileOutputNodeResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FileOutputNode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileOutputNode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3706,21 +3706,21 @@ impl CreateAudioGraphResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Graph(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Graph)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3745,21 +3745,21 @@ impl CreateMediaSourceAudioInputNodeResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Node(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Node)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3787,7 +3787,7 @@ impl EchoEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3795,7 +3795,7 @@ impl EchoEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3806,7 +3806,7 @@ impl EchoEffectDefinition { pub fn WetDryMix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WetDryMix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3817,7 +3817,7 @@ impl EchoEffectDefinition { pub fn Feedback(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Feedback)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3828,7 +3828,7 @@ impl EchoEffectDefinition { pub fn Delay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3837,7 +3837,7 @@ impl EchoEffectDefinition { P0: windows_core::Param, { Self::IEchoEffectDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiograph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3867,7 +3867,7 @@ impl EqualizerBand { pub fn Bandwidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bandwidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3878,7 +3878,7 @@ impl EqualizerBand { pub fn FrequencyCenter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrequencyCenter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3889,7 +3889,7 @@ impl EqualizerBand { pub fn Gain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3921,7 +3921,7 @@ impl EqualizerEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3929,7 +3929,7 @@ impl EqualizerEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3937,7 +3937,7 @@ impl EqualizerEffectDefinition { pub fn Bands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3946,7 +3946,7 @@ impl EqualizerEffectDefinition { P0: windows_core::Param, { Self::IEqualizerEffectDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiograph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3976,7 +3976,7 @@ impl FrameInputNodeQuantumStartedEventArgs { pub fn RequiredSamples(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequiredSamples)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4004,7 +4004,7 @@ impl LimiterEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4012,7 +4012,7 @@ impl LimiterEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4023,7 +4023,7 @@ impl LimiterEffectDefinition { pub fn Release(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Release)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4034,7 +4034,7 @@ impl LimiterEffectDefinition { pub fn Loudness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Loudness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4043,7 +4043,7 @@ impl LimiterEffectDefinition { P0: windows_core::Param, { Self::ILimiterEffectDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiograph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4075,7 +4075,7 @@ impl MediaSourceAudioInputNode { pub fn OutgoingConnections(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingConnections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4103,7 +4103,7 @@ impl MediaSourceAudioInputNode { pub fn Emitter(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emitter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4111,7 +4111,7 @@ impl MediaSourceAudioInputNode { pub fn EffectDefinitions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4122,7 +4122,7 @@ impl MediaSourceAudioInputNode { pub fn OutgoingGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutgoingGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4130,14 +4130,14 @@ impl MediaSourceAudioInputNode { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConsumeInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConsumeInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4184,14 +4184,14 @@ impl MediaSourceAudioInputNode { pub fn PlaybackSpeedFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackSpeedFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4202,7 +4202,7 @@ impl MediaSourceAudioInputNode { pub fn StartTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4216,7 +4216,7 @@ impl MediaSourceAudioInputNode { pub fn EndTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4230,7 +4230,7 @@ impl MediaSourceAudioInputNode { pub fn LoopCount(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoopCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4244,7 +4244,7 @@ impl MediaSourceAudioInputNode { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4252,7 +4252,7 @@ impl MediaSourceAudioInputNode { pub fn MediaSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4262,7 +4262,7 @@ impl MediaSourceAudioInputNode { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSourceCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4294,7 +4294,7 @@ impl ReverbEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4302,7 +4302,7 @@ impl ReverbEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4313,7 +4313,7 @@ impl ReverbEffectDefinition { pub fn WetDryMix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WetDryMix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4324,7 +4324,7 @@ impl ReverbEffectDefinition { pub fn ReflectionsDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReflectionsDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4335,7 +4335,7 @@ impl ReverbEffectDefinition { pub fn ReverbDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReverbDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4346,7 +4346,7 @@ impl ReverbEffectDefinition { pub fn RearDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RearDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4357,7 +4357,7 @@ impl ReverbEffectDefinition { pub fn PositionLeft(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionLeft)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4368,7 +4368,7 @@ impl ReverbEffectDefinition { pub fn PositionRight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionRight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4379,7 +4379,7 @@ impl ReverbEffectDefinition { pub fn PositionMatrixLeft(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionMatrixLeft)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4390,7 +4390,7 @@ impl ReverbEffectDefinition { pub fn PositionMatrixRight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionMatrixRight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4401,7 +4401,7 @@ impl ReverbEffectDefinition { pub fn EarlyDiffusion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EarlyDiffusion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4412,7 +4412,7 @@ impl ReverbEffectDefinition { pub fn LateDiffusion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LateDiffusion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4423,7 +4423,7 @@ impl ReverbEffectDefinition { pub fn LowEQGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LowEQGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4434,7 +4434,7 @@ impl ReverbEffectDefinition { pub fn LowEQCutoff(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LowEQCutoff)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4445,7 +4445,7 @@ impl ReverbEffectDefinition { pub fn HighEQGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighEQGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4456,7 +4456,7 @@ impl ReverbEffectDefinition { pub fn HighEQCutoff(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighEQCutoff)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4467,7 +4467,7 @@ impl ReverbEffectDefinition { pub fn RoomFilterFreq(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoomFilterFreq)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4478,7 +4478,7 @@ impl ReverbEffectDefinition { pub fn RoomFilterMain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoomFilterMain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4489,7 +4489,7 @@ impl ReverbEffectDefinition { pub fn RoomFilterHF(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoomFilterHF)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4500,7 +4500,7 @@ impl ReverbEffectDefinition { pub fn ReflectionsGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReflectionsGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4511,7 +4511,7 @@ impl ReverbEffectDefinition { pub fn ReverbGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReverbGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4522,7 +4522,7 @@ impl ReverbEffectDefinition { pub fn DecayTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4533,7 +4533,7 @@ impl ReverbEffectDefinition { pub fn Density(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Density)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4544,7 +4544,7 @@ impl ReverbEffectDefinition { pub fn RoomSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoomSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4555,7 +4555,7 @@ impl ReverbEffectDefinition { pub fn DisableLateField(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableLateField)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4564,7 +4564,7 @@ impl ReverbEffectDefinition { P0: windows_core::Param, { Self::IReverbEffectDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audiograph.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4594,7 +4594,7 @@ impl SetDefaultSpatialAudioFormatResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4619,42 +4619,42 @@ impl SpatialAudioDeviceConfiguration { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSpatialAudioSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSpatialAudioSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSpatialAudioFormatSupported(&self, subtype: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSpatialAudioFormatSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subtype), &mut result__).map(|| result__) } } pub fn ActiveSpatialAudioFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActiveSpatialAudioFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultSpatialAudioFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultSpatialAudioFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetDefaultSpatialAudioFormatAsync(&self, subtype: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDefaultSpatialAudioFormatAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subtype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4664,7 +4664,7 @@ impl SpatialAudioDeviceConfiguration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConfigurationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4674,7 +4674,7 @@ impl SpatialAudioDeviceConfiguration { } pub fn GetForDeviceId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::ISpatialAudioDeviceConfigurationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForDeviceId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4704,21 +4704,21 @@ impl SpatialAudioFormatConfiguration { pub fn ReportLicenseChangedAsync(&self, subtype: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportLicenseChangedAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subtype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportConfigurationChangedAsync(&self, subtype: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportConfigurationChangedAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subtype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MixedRealityExclusiveModePolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MixedRealityExclusiveModePolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4728,7 +4728,7 @@ impl SpatialAudioFormatConfiguration { } pub fn GetDefault() -> windows_core::Result { Self::ISpatialAudioFormatConfigurationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4754,43 +4754,43 @@ pub struct SpatialAudioFormatSubtype; impl SpatialAudioFormatSubtype { pub fn WindowsSonic() -> windows_core::Result { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowsSonic)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DolbyAtmosForHeadphones() -> windows_core::Result { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DolbyAtmosForHeadphones)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DolbyAtmosForHomeTheater() -> windows_core::Result { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DolbyAtmosForHomeTheater)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DolbyAtmosForSpeakers() -> windows_core::Result { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DolbyAtmosForSpeakers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DTSHeadphoneX() -> windows_core::Result { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DTSHeadphoneX)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DTSXUltra() -> windows_core::Result { Self::ISpatialAudioFormatSubtypeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DTSXUltra)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DTSXForHomeTheater() -> windows_core::Result { Self::ISpatialAudioFormatSubtypeStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DTSXForHomeTheater)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 3c75932f39..ccdc25fad1 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs @@ -42,28 +42,28 @@ impl VariablePhotoCapturedEventArgs { pub fn Frame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Frame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CaptureTimeOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureTimeOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsedFrameControllerIndex(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsedFrameControllerIndex)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CapturedFrameControlValues(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapturedFrameControlValues)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -88,21 +88,21 @@ impl VariablePhotoSequenceCapture { pub fn StartAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FinishAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinishAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -112,7 +112,7 @@ impl VariablePhotoSequenceCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoCaptured)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -126,7 +126,7 @@ impl VariablePhotoSequenceCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -137,7 +137,7 @@ impl VariablePhotoSequenceCapture { pub fn UpdateSettingsAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateSettingsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 38451f6264..fdaffeb0ad 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs @@ -86,8 +86,8 @@ impl windows_core::RuntimeType for IMediaFrameFormat { #[repr(C)] pub struct IMediaFrameFormat_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub MajorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MajorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Media_MediaProperties")] pub FrameRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_MediaProperties"))] @@ -193,8 +193,8 @@ impl windows_core::RuntimeType for IMediaFrameSourceController { #[repr(C)] pub struct IMediaFrameSourceController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetPropertyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetPropertyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPropertyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetPropertyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Media_Devices")] pub VideoDeviceController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Devices"))] @@ -239,8 +239,8 @@ impl windows_core::RuntimeType for IMediaFrameSourceGroup { #[repr(C)] pub struct IMediaFrameSourceGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SourceInfos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -257,8 +257,8 @@ pub struct IMediaFrameSourceGroupStatics_Vtbl { pub FindAllAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaFrameSourceInfo, IMediaFrameSourceInfo_Vtbl, 0x87bdc9cd_4601_408f_91cf_038318cd0af3); impl windows_core::RuntimeType for IMediaFrameSourceInfo { @@ -267,7 +267,7 @@ impl windows_core::RuntimeType for IMediaFrameSourceInfo { #[repr(C)] pub struct IMediaFrameSourceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MediaStreamType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::MediaStreamType) -> windows_core::HRESULT, pub SourceKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaFrameSourceKind) -> windows_core::HRESULT, pub SourceGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -291,7 +291,7 @@ impl windows_core::RuntimeType for IMediaFrameSourceInfo2 { #[repr(C)] pub struct IMediaFrameSourceInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProfileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProfileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub VideoProfileMediaDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -356,7 +356,7 @@ impl windows_core::RuntimeType for IMultiSourceMediaFrameReference { #[repr(C)] pub struct IMultiSourceMediaFrameReference_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TryGetFrameReferenceBySourceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryGetFrameReferenceBySourceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVideoMediaFrame, IVideoMediaFrame_Vtbl, 0x00dd4ccb_32bd_4fe1_a013_7cc13cf5dbcf); impl windows_core::RuntimeType for IVideoMediaFrame { @@ -403,7 +403,7 @@ impl AudioMediaFrame { pub fn FrameReference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -411,14 +411,14 @@ impl AudioMediaFrame { pub fn AudioEncodingProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAudioFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -443,7 +443,7 @@ impl BufferMediaFrame { pub fn FrameReference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -451,7 +451,7 @@ impl BufferMediaFrame { pub fn Buffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Buffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -476,21 +476,21 @@ impl DepthMediaFrame { pub fn FrameReference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoMediaFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoMediaFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DepthFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DepthFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -502,21 +502,21 @@ impl DepthMediaFrame { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateCoordinateMapper)(windows_core::Interface::as_raw(this), cameraintrinsics.param().abi(), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxReliableDepth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxReliableDepth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinReliableDepth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinReliableDepth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -541,14 +541,14 @@ impl DepthMediaFrameFormat { pub fn VideoFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DepthScaleInMeters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DepthScaleInMeters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -573,21 +573,21 @@ impl InfraredMediaFrame { pub fn FrameReference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoMediaFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoMediaFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsIlluminated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIlluminated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -629,14 +629,14 @@ impl MediaFrameFormat { pub fn MajorType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MajorType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subtype(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -644,7 +644,7 @@ impl MediaFrameFormat { pub fn FrameRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -652,14 +652,14 @@ impl MediaFrameFormat { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -667,7 +667,7 @@ impl MediaFrameFormat { pub fn AudioEncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -700,7 +700,7 @@ impl MediaFrameReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameArrived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -711,21 +711,21 @@ impl MediaFrameReader { pub fn TryAcquireLatestFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAcquireLatestFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -736,7 +736,7 @@ impl MediaFrameReader { pub fn AcquisitionMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcquisitionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -766,28 +766,28 @@ impl MediaFrameReference { pub fn SourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemRelativeTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -795,21 +795,21 @@ impl MediaFrameReference { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BufferMediaFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferMediaFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoMediaFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoMediaFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -817,14 +817,14 @@ impl MediaFrameReference { pub fn CoordinateSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AudioMediaFrame(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioMediaFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -849,14 +849,14 @@ impl MediaFrameSource { pub fn Info(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Info)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Controller(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Controller)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -864,14 +864,14 @@ impl MediaFrameSource { pub fn SupportedFormats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -881,7 +881,7 @@ impl MediaFrameSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetFormatAsync)(windows_core::Interface::as_raw(this), format.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -891,7 +891,7 @@ impl MediaFrameSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -906,7 +906,7 @@ impl MediaFrameSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetCameraIntrinsics)(windows_core::Interface::as_raw(this), format.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -931,7 +931,7 @@ impl MediaFrameSourceController { pub fn GetPropertyAsync(&self, propertyid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertyAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -941,7 +941,7 @@ impl MediaFrameSourceController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPropertyAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyid), propertyvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -949,7 +949,7 @@ impl MediaFrameSourceController { pub fn VideoDeviceController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -959,14 +959,14 @@ impl MediaFrameSourceController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertyByExtendedIdAsync)(windows_core::Interface::as_raw(this), extendedpropertyid.len().try_into().unwrap(), extendedpropertyid.as_ptr(), maxpropertyvaluesize.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetPropertyByExtendedIdAsync(&self, extendedpropertyid: &[u8], propertyvalue: &[u8]) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPropertyByExtendedIdAsync)(windows_core::Interface::as_raw(this), extendedpropertyid.len().try_into().unwrap(), extendedpropertyid.as_ptr(), propertyvalue.len().try_into().unwrap(), propertyvalue.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -974,7 +974,7 @@ impl MediaFrameSourceController { pub fn AudioDeviceController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioDeviceController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -999,14 +999,14 @@ impl MediaFrameSourceGetPropertyResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1031,14 +1031,14 @@ impl MediaFrameSourceGroup { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1046,26 +1046,26 @@ impl MediaFrameSourceGroup { pub fn SourceInfos(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> windows_core::Result>> { Self::IMediaFrameSourceGroupStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(id: &windows_core::HSTRING) -> windows_core::Result> { Self::IMediaFrameSourceGroupStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IMediaFrameSourceGroupStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1095,28 +1095,28 @@ impl MediaFrameSourceInfo { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MediaStreamType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaStreamType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SourceGroup(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1124,7 +1124,7 @@ impl MediaFrameSourceInfo { pub fn DeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1132,7 +1132,7 @@ impl MediaFrameSourceInfo { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1140,14 +1140,14 @@ impl MediaFrameSourceInfo { pub fn CoordinateSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProfileId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1155,7 +1155,7 @@ impl MediaFrameSourceInfo { pub fn VideoProfileMediaDescription(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoProfileMediaDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1166,14 +1166,14 @@ impl MediaFrameSourceInfo { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRelativePanel)(windows_core::Interface::as_raw(this), displayregion.param().abi(), &mut result__).map(|| result__) } } pub fn IsShareable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsShareable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1223,7 +1223,7 @@ impl MultiSourceMediaFrameReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameArrived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1234,21 +1234,21 @@ impl MultiSourceMediaFrameReader { pub fn TryAcquireLatestFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAcquireLatestFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1259,7 +1259,7 @@ impl MultiSourceMediaFrameReader { pub fn AcquisitionMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcquisitionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1289,7 +1289,7 @@ impl MultiSourceMediaFrameReference { pub fn TryGetFrameReferenceBySourceId(&self, sourceid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetFrameReferenceBySourceId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1314,14 +1314,14 @@ impl VideoMediaFrame { pub fn FrameReference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1329,7 +1329,7 @@ impl VideoMediaFrame { pub fn SoftwareBitmap(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoftwareBitmap)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1337,7 +1337,7 @@ impl VideoMediaFrame { pub fn Direct3DSurface(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direct3DSurface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1345,28 +1345,28 @@ impl VideoMediaFrame { pub fn CameraIntrinsics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraIntrinsics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InfraredMediaFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InfraredMediaFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DepthMediaFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DepthMediaFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetVideoFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVideoFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1391,28 +1391,28 @@ impl VideoMediaFrameFormat { pub fn MediaFrameFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaFrameFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DepthFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DepthFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index bd0f40c53f..1d6a432d41 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -53,14 +53,14 @@ pub struct IAppBroadcastBackgroundService_Vtbl { pub SignInInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetStreamInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StreamInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetViewerCount: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ViewerCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub TerminateBroadcast: unsafe extern "system" fn(*mut core::ffi::c_void, AppBroadcastTerminationReason, u32) -> windows_core::HRESULT, pub HeartbeatRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveHeartbeatRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub TitleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TitleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppBroadcastBackgroundService2, IAppBroadcastBackgroundService2_Vtbl, 0xfc8ccbbf_5549_4b87_959f_23ca401fd473); impl windows_core::RuntimeType for IAppBroadcastBackgroundService2 { @@ -69,11 +69,11 @@ impl windows_core::RuntimeType for IAppBroadcastBackgroundService2 { #[repr(C)] pub struct IAppBroadcastBackgroundService2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetBroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BroadcastLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBroadcastLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BroadcastChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBroadcastChannel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BroadcastLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBroadcastLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BroadcastChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBroadcastChannel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub BroadcastTitleChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveBroadcastTitleChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub BroadcastLanguageChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -97,8 +97,8 @@ pub struct IAppBroadcastBackgroundServiceSignInInfo_Vtbl { pub AuthenticationResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Authentication_Web"))] AuthenticationResult: usize, - pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SignInStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSignInStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -124,8 +124,8 @@ pub struct IAppBroadcastBackgroundServiceStreamInfo_Vtbl { pub DesiredVideoEncodingBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub SetBandwidthTestBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub BandwidthTestBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub SetAudioCodec: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioCodec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAudioCodec: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioCodec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BroadcastStreamReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StreamStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStreamStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -176,8 +176,8 @@ pub struct IAppBroadcastGlobalSettings_Vtbl { pub MicrophoneGain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetIsCameraCaptureEnabledByDefault: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsCameraCaptureEnabledByDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub SetSelectedCameraId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelectedCameraId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelectedCameraId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelectedCameraId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetCameraOverlayLocation: unsafe extern "system" fn(*mut core::ffi::c_void, AppBroadcastCameraOverlayLocation) -> windows_core::HRESULT, pub CameraOverlayLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastCameraOverlayLocation) -> windows_core::HRESULT, pub SetCameraOverlaySize: unsafe extern "system" fn(*mut core::ffi::c_void, AppBroadcastCameraOverlaySize) -> windows_core::HRESULT, @@ -224,13 +224,13 @@ impl windows_core::RuntimeType for IAppBroadcastPlugIn { #[repr(C)] pub struct IAppBroadcastPlugIn_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProviderSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] Logo: usize, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppBroadcastPlugInManager, IAppBroadcastPlugInManager_Vtbl, 0xe550d979_27a1_49a7_bbf4_d7a9e9d07668); impl windows_core::RuntimeType for IAppBroadcastPlugInManager { @@ -347,8 +347,8 @@ impl windows_core::RuntimeType for IAppBroadcastProviderSettings { #[repr(C)] pub struct IAppBroadcastProviderSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetDefaultBroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DefaultBroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultBroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultBroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetAudioEncodingBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub AudioEncodingBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCustomVideoEncodingBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, @@ -371,11 +371,11 @@ pub struct IAppBroadcastServices_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CaptureTargetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastCaptureTargetType) -> windows_core::HRESULT, pub SetCaptureTargetType: unsafe extern "system" fn(*mut core::ffi::c_void, AppBroadcastCaptureTargetType) -> windows_core::HRESULT, - pub BroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BroadcastLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBroadcastLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBroadcastTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BroadcastLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBroadcastLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CanCapture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub EnterBroadcastModeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ExitBroadcastMode: unsafe extern "system" fn(*mut core::ffi::c_void, AppBroadcastExitBroadcastModeReason) -> windows_core::HRESULT, @@ -750,13 +750,13 @@ impl windows_core::RuntimeType for IAppCaptureMetadataWriter { #[repr(C)] pub struct IAppCaptureMetadataWriter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddStringEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, AppCaptureMetadataPriority) -> windows_core::HRESULT, - pub AddInt32Event: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, AppCaptureMetadataPriority) -> windows_core::HRESULT, - pub AddDoubleEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64, AppCaptureMetadataPriority) -> windows_core::HRESULT, - pub StartStringState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, AppCaptureMetadataPriority) -> windows_core::HRESULT, - pub StartInt32State: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, AppCaptureMetadataPriority) -> windows_core::HRESULT, - pub StartDoubleState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64, AppCaptureMetadataPriority) -> windows_core::HRESULT, - pub StopState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddStringEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, AppCaptureMetadataPriority) -> windows_core::HRESULT, + pub AddInt32Event: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, AppCaptureMetadataPriority) -> windows_core::HRESULT, + pub AddDoubleEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64, AppCaptureMetadataPriority) -> windows_core::HRESULT, + pub StartStringState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, AppCaptureMetadataPriority) -> windows_core::HRESULT, + pub StartInt32State: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, AppCaptureMetadataPriority) -> windows_core::HRESULT, + pub StartDoubleState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64, AppCaptureMetadataPriority) -> windows_core::HRESULT, + pub StopState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StopAllStates: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RemainingStorageBytesAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub MetadataPurged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -1110,7 +1110,7 @@ pub struct IGameBarServices_Vtbl { pub EnableCapture: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableCapture: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub TargetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppBroadcastServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AppCaptureServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CommandReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -1161,9 +1161,9 @@ impl windows_core::RuntimeType for IGameBarServicesTargetInfo { #[repr(C)] pub struct IGameBarServicesTargetInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TitleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TitleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DisplayMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GameBarServicesDisplayMode) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILowLagMediaRecording, ILowLagMediaRecording_Vtbl, 0x41c8baf7_ff3f_49f0_a477_f195e3ce5108); @@ -1248,7 +1248,7 @@ pub struct IMediaCapture_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] StartRecordToCustomSinkAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] - pub StartRecordToCustomSinkIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartRecordToCustomSinkIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_MediaProperties")))] StartRecordToCustomSinkIdAsync: usize, pub StopRecordAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1261,7 +1261,7 @@ pub struct IMediaCapture_Vtbl { #[cfg(not(all(feature = "Media_MediaProperties", feature = "Storage_Streams")))] CapturePhotoToStreamAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] - pub AddEffectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, MediaStreamType, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddEffectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, MediaStreamType, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] AddEffectAsync: usize, pub ClearEffectsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, MediaStreamType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1307,7 +1307,7 @@ pub struct IMediaCapture2_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] PrepareLowLagRecordToCustomSinkAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] - pub PrepareLowLagRecordToCustomSinkIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PrepareLowLagRecordToCustomSinkIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_MediaProperties")))] PrepareLowLagRecordToCustomSinkIdAsync: usize, #[cfg(feature = "Media_MediaProperties")] @@ -1397,11 +1397,11 @@ pub struct IMediaCapture5_Vtbl { #[cfg(not(feature = "Media_Capture_Frames"))] CreateFrameReaderAsync: usize, #[cfg(feature = "Media_Capture_Frames")] - pub CreateFrameReaderWithSubtypeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFrameReaderWithSubtypeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Capture_Frames"))] CreateFrameReaderWithSubtypeAsync: usize, #[cfg(all(feature = "Graphics_Imaging", feature = "Media_Capture_Frames"))] - pub CreateFrameReaderWithSubtypeAndSizeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Graphics::Imaging::BitmapSize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFrameReaderWithSubtypeAndSizeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Graphics::Imaging::BitmapSize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Graphics_Imaging", feature = "Media_Capture_Frames")))] CreateFrameReaderWithSubtypeAndSizeAsync: usize, } @@ -1438,7 +1438,7 @@ impl windows_core::RuntimeType for IMediaCaptureDeviceExclusiveControlStatusChan #[repr(C)] pub struct IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaCaptureDeviceExclusiveControlStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaCaptureFailedEventArgs, IMediaCaptureFailedEventArgs_Vtbl, 0x80fde3f4_54c4_42c0_8d19_cea1a87ca18b); @@ -1448,7 +1448,7 @@ impl windows_core::RuntimeType for IMediaCaptureFailedEventArgs { #[repr(C)] pub struct IMediaCaptureFailedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Code: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaCaptureFocusChangedEventArgs, IMediaCaptureFocusChangedEventArgs_Vtbl, 0x81e1bc7f_2277_493e_abee_d3f44ff98c04); @@ -1470,10 +1470,10 @@ impl windows_core::RuntimeType for IMediaCaptureInitializationSettings { #[repr(C)] pub struct IMediaCaptureInitializationSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetAudioDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAudioDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetStreamingCaptureMode: unsafe extern "system" fn(*mut core::ffi::c_void, StreamingCaptureMode) -> windows_core::HRESULT, pub StreamingCaptureMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StreamingCaptureMode) -> windows_core::HRESULT, pub SetPhotoCaptureSource: unsafe extern "system" fn(*mut core::ffi::c_void, PhotoCaptureSource) -> windows_core::HRESULT, @@ -1612,8 +1612,8 @@ impl windows_core::RuntimeType for IMediaCaptureSettings { #[repr(C)] pub struct IMediaCaptureSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AudioDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub StreamingCaptureMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StreamingCaptureMode) -> windows_core::HRESULT, pub PhotoCaptureSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoCaptureSource) -> windows_core::HRESULT, pub VideoDeviceCharacteristic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VideoDeviceCharacteristic) -> windows_core::HRESULT, @@ -1653,17 +1653,17 @@ impl windows_core::RuntimeType for IMediaCaptureStatics { #[repr(C)] pub struct IMediaCaptureStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsVideoProfileSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsVideoProfileSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub FindAllVideoProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllVideoProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllVideoProfiles: usize, #[cfg(feature = "Foundation_Collections")] - pub FindConcurrentProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindConcurrentProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindConcurrentProfiles: usize, #[cfg(feature = "Foundation_Collections")] - pub FindKnownVideoProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, KnownVideoProfile, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindKnownVideoProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, KnownVideoProfile, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindKnownVideoProfiles: usize, } @@ -1690,7 +1690,7 @@ pub struct IMediaCaptureVideoPreview_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] StartPreviewToCustomSinkAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Media_MediaProperties"))] - pub StartPreviewToCustomSinkIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartPreviewToCustomSinkIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_MediaProperties")))] StartPreviewToCustomSinkIdAsync: usize, pub StopPreviewAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1702,8 +1702,8 @@ impl windows_core::RuntimeType for IMediaCaptureVideoProfile { #[repr(C)] pub struct IMediaCaptureVideoProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SupportedPreviewMediaDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -1763,7 +1763,7 @@ impl windows_core::RuntimeType for IMediaCaptureVideoProfileMediaDescription2 { #[repr(C)] pub struct IMediaCaptureVideoProfileMediaDescription2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Subtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -1863,7 +1863,7 @@ impl AdvancedCapturedPhoto { pub fn Frame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Frame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1871,21 +1871,21 @@ impl AdvancedCapturedPhoto { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Context(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Context)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FrameBoundsRelativeToReferencePhoto(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameBoundsRelativeToReferencePhoto)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1910,7 +1910,7 @@ impl AdvancedPhotoCapture { pub fn CaptureAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1920,7 +1920,7 @@ impl AdvancedPhotoCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureWithContextAsync)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1930,7 +1930,7 @@ impl AdvancedPhotoCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionalReferencePhotoCaptured)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1944,7 +1944,7 @@ impl AdvancedPhotoCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllPhotosCaptured)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1955,7 +1955,7 @@ impl AdvancedPhotoCapture { pub fn FinishAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinishAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1984,7 +1984,7 @@ impl AppBroadcastBackgroundService { pub fn PlugInState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlugInState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1998,7 +1998,7 @@ impl AppBroadcastBackgroundService { pub fn SignInInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignInInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2012,21 +2012,21 @@ impl AppBroadcastBackgroundService { pub fn StreamInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BroadcastTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2037,7 +2037,7 @@ impl AppBroadcastBackgroundService { pub fn ViewerCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewerCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2051,7 +2051,7 @@ impl AppBroadcastBackgroundService { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeartbeatRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2062,7 +2062,7 @@ impl AppBroadcastBackgroundService { pub fn TitleId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TitleId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2073,7 +2073,7 @@ impl AppBroadcastBackgroundService { pub fn BroadcastLanguage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2084,7 +2084,7 @@ impl AppBroadcastBackgroundService { pub fn BroadcastChannel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastChannel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2098,7 +2098,7 @@ impl AppBroadcastBackgroundService { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastTitleChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2112,7 +2112,7 @@ impl AppBroadcastBackgroundService { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastLanguageChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2126,7 +2126,7 @@ impl AppBroadcastBackgroundService { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastChannelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2153,7 +2153,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn SignInState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignInState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2167,7 +2167,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn OAuthRequestUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OAuthRequestUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2181,7 +2181,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn OAuthCallbackUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OAuthCallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2189,7 +2189,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn AuthenticationResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationResult)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2200,7 +2200,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { pub fn UserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2210,7 +2210,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignInStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2224,7 +2224,7 @@ impl AppBroadcastBackgroundServiceSignInInfo { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserNameChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2251,7 +2251,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { pub fn StreamState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2262,7 +2262,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { pub fn DesiredVideoEncodingBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredVideoEncodingBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2273,7 +2273,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { pub fn BandwidthTestBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BandwidthTestBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2284,14 +2284,14 @@ impl AppBroadcastBackgroundServiceStreamInfo { pub fn AudioCodec(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioCodec)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BroadcastStreamReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastStreamReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2301,7 +2301,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2315,7 +2315,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoEncodingResolutionChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2329,7 +2329,7 @@ impl AppBroadcastBackgroundServiceStreamInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoEncodingBitrateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2360,14 +2360,14 @@ impl AppBroadcastCameraCaptureStateChangedEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2392,28 +2392,28 @@ impl AppBroadcastGlobalSettings { pub fn IsBroadcastEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBroadcastEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDisabledByPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabledByPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGpuConstrained(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGpuConstrained)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasHardwareEncoder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasHardwareEncoder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2424,7 +2424,7 @@ impl AppBroadcastGlobalSettings { pub fn IsAudioCaptureEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAudioCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2435,7 +2435,7 @@ impl AppBroadcastGlobalSettings { pub fn IsMicrophoneCaptureEnabledByDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMicrophoneCaptureEnabledByDefault)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2446,7 +2446,7 @@ impl AppBroadcastGlobalSettings { pub fn IsEchoCancellationEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEchoCancellationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2457,7 +2457,7 @@ impl AppBroadcastGlobalSettings { pub fn SystemAudioGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemAudioGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2468,7 +2468,7 @@ impl AppBroadcastGlobalSettings { pub fn MicrophoneGain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicrophoneGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2479,7 +2479,7 @@ impl AppBroadcastGlobalSettings { pub fn IsCameraCaptureEnabledByDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCameraCaptureEnabledByDefault)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2490,7 +2490,7 @@ impl AppBroadcastGlobalSettings { pub fn SelectedCameraId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedCameraId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2501,7 +2501,7 @@ impl AppBroadcastGlobalSettings { pub fn CameraOverlayLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraOverlayLocation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2512,7 +2512,7 @@ impl AppBroadcastGlobalSettings { pub fn CameraOverlaySize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraOverlaySize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2523,7 +2523,7 @@ impl AppBroadcastGlobalSettings { pub fn IsCursorImageCaptureEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCursorImageCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2550,7 +2550,7 @@ impl AppBroadcastHeartbeatRequestedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2569,7 +2569,7 @@ pub struct AppBroadcastManager; impl AppBroadcastManager { pub fn GetGlobalSettings() -> windows_core::Result { Self::IAppBroadcastManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGlobalSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2581,7 +2581,7 @@ impl AppBroadcastManager { } pub fn GetProviderSettings() -> windows_core::Result { Self::IAppBroadcastManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProviderSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2608,14 +2608,14 @@ impl AppBroadcastMicrophoneCaptureStateChangedEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2640,14 +2640,14 @@ impl AppBroadcastPlugIn { pub fn AppId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2655,14 +2655,14 @@ impl AppBroadcastPlugIn { pub fn Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2687,7 +2687,7 @@ impl AppBroadcastPlugInManager { pub fn IsBroadcastProviderAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBroadcastProviderAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2695,14 +2695,14 @@ impl AppBroadcastPlugInManager { pub fn PlugInList(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlugInList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultPlugIn(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultPlugIn)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2715,7 +2715,7 @@ impl AppBroadcastPlugInManager { } pub fn GetDefault() -> windows_core::Result { Self::IAppBroadcastPlugInManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2725,7 +2725,7 @@ impl AppBroadcastPlugInManager { P0: windows_core::Param, { Self::IAppBroadcastPlugInManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2755,7 +2755,7 @@ impl AppBroadcastPlugInStateChangedEventArgs { pub fn PlugInState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlugInState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2784,14 +2784,14 @@ impl AppBroadcastPreview { pub fn PreviewState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviewState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2801,7 +2801,7 @@ impl AppBroadcastPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviewStateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2812,7 +2812,7 @@ impl AppBroadcastPreview { pub fn PreviewStreamReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviewStreamReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2837,14 +2837,14 @@ impl AppBroadcastPreviewStateChangedEventArgs { pub fn PreviewState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviewState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2869,21 +2869,21 @@ impl AppBroadcastPreviewStreamReader { pub fn VideoWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideoHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideoStride(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoStride)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2891,7 +2891,7 @@ impl AppBroadcastPreviewStreamReader { pub fn VideoBitmapPixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoBitmapPixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2899,14 +2899,14 @@ impl AppBroadcastPreviewStreamReader { pub fn VideoBitmapAlphaMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoBitmapAlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryGetNextVideoFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetNextVideoFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2916,7 +2916,7 @@ impl AppBroadcastPreviewStreamReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFrameArrived)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2945,7 +2945,7 @@ impl AppBroadcastPreviewStreamVideoFrame { pub fn VideoHeader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoHeader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2953,7 +2953,7 @@ impl AppBroadcastPreviewStreamVideoFrame { pub fn VideoBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2978,28 +2978,28 @@ impl AppBroadcastPreviewStreamVideoHeader { pub fn AbsoluteTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RelativeTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FrameId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3028,7 +3028,7 @@ impl AppBroadcastProviderSettings { pub fn DefaultBroadcastTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultBroadcastTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3039,7 +3039,7 @@ impl AppBroadcastProviderSettings { pub fn AudioEncodingBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEncodingBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3050,7 +3050,7 @@ impl AppBroadcastProviderSettings { pub fn CustomVideoEncodingBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomVideoEncodingBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3061,7 +3061,7 @@ impl AppBroadcastProviderSettings { pub fn CustomVideoEncodingHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomVideoEncodingHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3072,7 +3072,7 @@ impl AppBroadcastProviderSettings { pub fn CustomVideoEncodingWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomVideoEncodingWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3083,7 +3083,7 @@ impl AppBroadcastProviderSettings { pub fn VideoEncodingBitrateMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoEncodingBitrateMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3094,7 +3094,7 @@ impl AppBroadcastProviderSettings { pub fn VideoEncodingResolutionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoEncodingResolutionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3117,7 +3117,7 @@ impl AppBroadcastServices { pub fn CaptureTargetType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureTargetType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3128,7 +3128,7 @@ impl AppBroadcastServices { pub fn BroadcastTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3139,7 +3139,7 @@ impl AppBroadcastServices { pub fn BroadcastLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3150,14 +3150,14 @@ impl AppBroadcastServices { pub fn UserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanCapture(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCapture)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3167,7 +3167,7 @@ impl AppBroadcastServices { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterBroadcastModeAsync)(windows_core::Interface::as_raw(this), plugin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3190,14 +3190,14 @@ impl AppBroadcastServices { pub fn StartPreview(&self, desiredsize: super::super::Foundation::Size) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPreview)(windows_core::Interface::as_raw(this), desiredsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3222,14 +3222,14 @@ impl AppBroadcastSignInStateChangedEventArgs { pub fn SignInState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignInState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3252,21 +3252,21 @@ impl AppBroadcastState { pub fn IsCaptureTargetRunning(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCaptureTargetRunning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ViewerCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewerCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ShouldCaptureMicrophone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldCaptureMicrophone)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3281,7 +3281,7 @@ impl AppBroadcastState { pub fn ShouldCaptureCamera(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldCaptureCamera)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3296,63 +3296,63 @@ impl AppBroadcastState { pub fn EncodedVideoSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodedVideoSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MicrophoneCaptureState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicrophoneCaptureState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MicrophoneCaptureError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicrophoneCaptureError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CameraCaptureState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraCaptureState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CameraCaptureError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraCaptureError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StreamState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PlugInState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlugInState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OAuthRequestUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OAuthRequestUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OAuthCallbackUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OAuthCallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3360,7 +3360,7 @@ impl AppBroadcastState { pub fn AuthenticationResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationResult)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3379,21 +3379,21 @@ impl AppBroadcastState { pub fn SignInState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignInState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TerminationReason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TerminationReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TerminationReasonPlugInSpecific(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TerminationReasonPlugInSpecific)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3403,7 +3403,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewerCountChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3417,7 +3417,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicrophoneCaptureStateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3431,7 +3431,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraCaptureStateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3445,7 +3445,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlugInStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3459,7 +3459,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3473,7 +3473,7 @@ impl AppBroadcastState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureTargetClosed)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3502,7 +3502,7 @@ impl AppBroadcastStreamAudioFrame { pub fn AudioHeader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioHeader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3510,7 +3510,7 @@ impl AppBroadcastStreamAudioFrame { pub fn AudioBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3533,35 +3533,35 @@ impl AppBroadcastStreamAudioHeader { pub fn AbsoluteTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RelativeTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasDiscontinuity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasDiscontinuity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FrameId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3584,14 +3584,14 @@ impl AppBroadcastStreamReader { pub fn AudioChannels(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioChannels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AudioSampleRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioSampleRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3599,49 +3599,49 @@ impl AppBroadcastStreamReader { pub fn AudioAacSequence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioAacSequence)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AudioBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryGetNextAudioFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetNextAudioFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideoHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideoBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryGetNextVideoFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetNextVideoFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3651,7 +3651,7 @@ impl AppBroadcastStreamReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFrameArrived)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3665,7 +3665,7 @@ impl AppBroadcastStreamReader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFrameArrived)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3692,7 +3692,7 @@ impl AppBroadcastStreamStateChangedEventArgs { pub fn StreamState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3715,7 +3715,7 @@ impl AppBroadcastStreamVideoFrame { pub fn VideoHeader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoHeader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3723,7 +3723,7 @@ impl AppBroadcastStreamVideoFrame { pub fn VideoBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3746,42 +3746,42 @@ impl AppBroadcastStreamVideoHeader { pub fn AbsoluteTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RelativeTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsKeyFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsKeyFrame)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasDiscontinuity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasDiscontinuity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FrameId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3804,7 +3804,7 @@ impl AppBroadcastTriggerDetails { pub fn BackgroundService(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundService)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3827,7 +3827,7 @@ impl AppBroadcastViewerCountChangedEventArgs { pub fn ViewerCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewerCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3852,14 +3852,14 @@ impl AppCapture { pub fn IsCapturingAudio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCapturingAudio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCapturingVideo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCapturingVideo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3869,7 +3869,7 @@ impl AppCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapturingChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3879,13 +3879,13 @@ impl AppCapture { } pub fn GetForCurrentView() -> windows_core::Result { Self::IAppCaptureStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SetAllowedAsync(allowed: bool) -> windows_core::Result { Self::IAppCaptureStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAllowedAsync)(windows_core::Interface::as_raw(this), allowed, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3924,7 +3924,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleGameBarKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleGameBarKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3937,7 +3937,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleGameBarKeyModifiers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleGameBarKeyModifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3950,7 +3950,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn SaveHistoricalVideoKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveHistoricalVideoKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3963,7 +3963,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn SaveHistoricalVideoKeyModifiers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveHistoricalVideoKeyModifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3976,7 +3976,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleRecordingKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleRecordingKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3989,7 +3989,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleRecordingKeyModifiers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleRecordingKeyModifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4002,7 +4002,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn TakeScreenshotKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TakeScreenshotKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4015,7 +4015,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn TakeScreenshotKeyModifiers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TakeScreenshotKeyModifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4028,7 +4028,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleRecordingIndicatorKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleRecordingIndicatorKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4041,7 +4041,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleRecordingIndicatorKeyModifiers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleRecordingIndicatorKeyModifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4054,7 +4054,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleMicrophoneCaptureKey(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleMicrophoneCaptureKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4067,7 +4067,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleMicrophoneCaptureKeyModifiers(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleMicrophoneCaptureKeyModifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4080,7 +4080,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleCameraCaptureKey(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleCameraCaptureKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4093,7 +4093,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleCameraCaptureKeyModifiers(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleCameraCaptureKeyModifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4106,7 +4106,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleBroadcastKey(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleBroadcastKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4119,7 +4119,7 @@ impl AppCaptureAlternateShortcutKeys { pub fn ToggleBroadcastKeyModifiers(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToggleBroadcastKeyModifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4142,7 +4142,7 @@ impl AppCaptureDurationGeneratedEventArgs { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4168,7 +4168,7 @@ impl AppCaptureFileGeneratedEventArgs { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4189,7 +4189,7 @@ pub struct AppCaptureManager; impl AppCaptureManager { pub fn GetCurrentSettings() -> windows_core::Result { Self::IAppCaptureManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4256,7 +4256,7 @@ impl AppCaptureMetadataWriter { pub fn RemainingStorageBytesAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingStorageBytesAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4266,7 +4266,7 @@ impl AppCaptureMetadataWriter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MetadataPurged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4299,14 +4299,14 @@ impl AppCaptureMicrophoneCaptureStateChangedEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4335,21 +4335,21 @@ impl AppCaptureRecordOperation { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Duration(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4357,14 +4357,14 @@ impl AppCaptureRecordOperation { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsFileTruncated(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFileTruncated)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4374,7 +4374,7 @@ impl AppCaptureRecordOperation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4388,7 +4388,7 @@ impl AppCaptureRecordOperation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DurationGenerated)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4402,7 +4402,7 @@ impl AppCaptureRecordOperation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileGenerated)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4431,14 +4431,14 @@ impl AppCaptureRecordingStateChangedEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4463,28 +4463,28 @@ impl AppCaptureServices { pub fn Record(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Record)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RecordTimeSpan(&self, starttime: super::super::Foundation::DateTime, duration: super::super::Foundation::TimeSpan) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordTimeSpan)(windows_core::Interface::as_raw(this), starttime, duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanCapture(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCapture)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4518,7 +4518,7 @@ impl AppCaptureSettings { pub fn AppCaptureDestinationFolder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppCaptureDestinationFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4529,7 +4529,7 @@ impl AppCaptureSettings { pub fn AudioEncodingBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEncodingBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4540,7 +4540,7 @@ impl AppCaptureSettings { pub fn IsAudioCaptureEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAudioCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4551,7 +4551,7 @@ impl AppCaptureSettings { pub fn CustomVideoEncodingBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomVideoEncodingBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4562,7 +4562,7 @@ impl AppCaptureSettings { pub fn CustomVideoEncodingHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomVideoEncodingHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4573,7 +4573,7 @@ impl AppCaptureSettings { pub fn CustomVideoEncodingWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomVideoEncodingWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4584,7 +4584,7 @@ impl AppCaptureSettings { pub fn HistoricalBufferLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HistoricalBufferLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4595,7 +4595,7 @@ impl AppCaptureSettings { pub fn HistoricalBufferLengthUnit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HistoricalBufferLengthUnit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4606,7 +4606,7 @@ impl AppCaptureSettings { pub fn IsHistoricalCaptureEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHistoricalCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4617,7 +4617,7 @@ impl AppCaptureSettings { pub fn IsHistoricalCaptureOnBatteryAllowed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHistoricalCaptureOnBatteryAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4628,7 +4628,7 @@ impl AppCaptureSettings { pub fn IsHistoricalCaptureOnWirelessDisplayAllowed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHistoricalCaptureOnWirelessDisplayAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4639,7 +4639,7 @@ impl AppCaptureSettings { pub fn MaximumRecordLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaximumRecordLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4655,7 +4655,7 @@ impl AppCaptureSettings { pub fn ScreenshotDestinationFolder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenshotDestinationFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4666,7 +4666,7 @@ impl AppCaptureSettings { pub fn VideoEncodingBitrateMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoEncodingBitrateMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4677,7 +4677,7 @@ impl AppCaptureSettings { pub fn VideoEncodingResolutionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoEncodingResolutionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4688,49 +4688,49 @@ impl AppCaptureSettings { pub fn IsAppCaptureEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAppCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCpuConstrained(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCpuConstrained)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDisabledByPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabledByPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMemoryConstrained(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMemoryConstrained)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasHardwareEncoder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasHardwareEncoder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGpuConstrained(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGpuConstrained)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AlternateShortcutKeys(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateShortcutKeys)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4741,7 +4741,7 @@ impl AppCaptureSettings { pub fn IsMicrophoneCaptureEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMicrophoneCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4752,7 +4752,7 @@ impl AppCaptureSettings { pub fn IsMicrophoneCaptureEnabledByDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMicrophoneCaptureEnabledByDefault)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4763,7 +4763,7 @@ impl AppCaptureSettings { pub fn SystemAudioGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemAudioGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4774,7 +4774,7 @@ impl AppCaptureSettings { pub fn MicrophoneGain(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicrophoneGain)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4785,7 +4785,7 @@ impl AppCaptureSettings { pub fn VideoEncodingFrameRateMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoEncodingFrameRateMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4796,7 +4796,7 @@ impl AppCaptureSettings { pub fn IsEchoCancellationEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEchoCancellationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4807,7 +4807,7 @@ impl AppCaptureSettings { pub fn IsCursorImageCaptureEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCursorImageCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4830,21 +4830,21 @@ impl AppCaptureState { pub fn IsTargetRunning(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTargetRunning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHistoricalCaptureEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHistoricalCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ShouldCaptureMicrophone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldCaptureMicrophone)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4859,14 +4859,14 @@ impl AppCaptureState { pub fn MicrophoneCaptureState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicrophoneCaptureState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MicrophoneCaptureError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicrophoneCaptureError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4876,7 +4876,7 @@ impl AppCaptureState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MicrophoneCaptureStateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4890,7 +4890,7 @@ impl AppCaptureState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureTargetClosed)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4926,14 +4926,14 @@ impl CameraCaptureUI { pub fn PhotoSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4941,7 +4941,7 @@ impl CameraCaptureUI { pub fn CaptureFileAsync(&self, mode: CameraCaptureUIMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureFileAsync)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4964,7 +4964,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4975,7 +4975,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn MaxResolution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4986,7 +4986,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn CroppedSizeInPixels(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CroppedSizeInPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4997,7 +4997,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn CroppedAspectRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CroppedAspectRatio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5008,7 +5008,7 @@ impl CameraCaptureUIPhotoCaptureSettings { pub fn AllowCropping(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowCropping)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5037,7 +5037,7 @@ impl CameraCaptureUIVideoCaptureSettings { pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5048,7 +5048,7 @@ impl CameraCaptureUIVideoCaptureSettings { pub fn MaxResolution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxResolution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5059,7 +5059,7 @@ impl CameraCaptureUIVideoCaptureSettings { pub fn MaxDurationInSeconds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxDurationInSeconds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5070,7 +5070,7 @@ impl CameraCaptureUIVideoCaptureSettings { pub fn AllowTrimming(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowTrimming)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5118,21 +5118,21 @@ impl CapturedFrame { pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ControlValues(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlValues)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5140,7 +5140,7 @@ impl CapturedFrame { pub fn BitmapProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5148,7 +5148,7 @@ impl CapturedFrame { pub fn SoftwareBitmap(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoftwareBitmap)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5160,7 +5160,7 @@ impl CapturedFrame { pub fn ContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5171,7 +5171,7 @@ impl CapturedFrame { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5182,7 +5182,7 @@ impl CapturedFrame { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5190,7 +5190,7 @@ impl CapturedFrame { pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5198,7 +5198,7 @@ impl CapturedFrame { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5211,7 +5211,7 @@ impl CapturedFrame { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5219,7 +5219,7 @@ impl CapturedFrame { pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5227,7 +5227,7 @@ impl CapturedFrame { pub fn Position(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5240,7 +5240,7 @@ impl CapturedFrame { pub fn CloneStream(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5248,7 +5248,7 @@ impl CapturedFrame { pub fn CanRead(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5256,7 +5256,7 @@ impl CapturedFrame { pub fn CanWrite(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5281,28 +5281,28 @@ impl CapturedFrameControlValues { pub fn Exposure(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exposure)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExposureCompensation(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExposureCompensation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsoSpeed(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsoSpeed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Focus(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Focus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5310,35 +5310,35 @@ impl CapturedFrameControlValues { pub fn SceneMode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SceneMode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Flashed(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Flashed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlashPowerPercent(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlashPowerPercent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WhiteBalance(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WhiteBalance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ZoomFactor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZoomFactor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5346,21 +5346,21 @@ impl CapturedFrameControlValues { pub fn FocusState(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocusState)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsoDigitalGain(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsoDigitalGain)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsoAnalogGain(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsoAnalogGain)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5368,14 +5368,14 @@ impl CapturedFrameControlValues { pub fn SensorFrameRate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SensorFrameRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WhiteBalanceGain(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WhiteBalanceGain)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5400,14 +5400,14 @@ impl CapturedPhoto { pub fn Frame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Frame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5432,7 +5432,7 @@ impl GameBarServices { pub fn TargetCapturePolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetCapturePolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5447,28 +5447,28 @@ impl GameBarServices { pub fn TargetInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SessionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppBroadcastServices(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppBroadcastServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppCaptureServices(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppCaptureServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5478,7 +5478,7 @@ impl GameBarServices { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandReceived)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -5507,14 +5507,14 @@ impl GameBarServicesCommandEventArgs { pub fn Command(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Command)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Origin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Origin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5542,7 +5542,7 @@ impl GameBarServicesManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GameBarServicesCreated)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -5552,7 +5552,7 @@ impl GameBarServicesManager { } pub fn GetDefault() -> windows_core::Result { Self::IGameBarServicesManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5582,7 +5582,7 @@ impl GameBarServicesManagerGameBarServicesCreatedEventArgs { pub fn GameBarServices(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GameBarServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5607,28 +5607,28 @@ impl GameBarServicesTargetInfo { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TitleId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TitleId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5653,21 +5653,21 @@ impl LowLagMediaRecording { pub fn StartAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FinishAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinishAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5675,14 +5675,14 @@ impl LowLagMediaRecording { pub fn PauseAsync(&self, behavior: super::Devices::MediaCapturePauseBehavior) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseAsync)(windows_core::Interface::as_raw(this), behavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResumeAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResumeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5690,14 +5690,14 @@ impl LowLagMediaRecording { pub fn PauseWithResultAsync(&self, behavior: super::Devices::MediaCapturePauseBehavior) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseWithResultAsync)(windows_core::Interface::as_raw(this), behavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopWithResultAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopWithResultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5720,14 +5720,14 @@ impl LowLagPhotoCapture { pub fn CaptureAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FinishAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinishAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5750,21 +5750,21 @@ impl LowLagPhotoSequenceCapture { pub fn StartAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FinishAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinishAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5774,7 +5774,7 @@ impl LowLagPhotoSequenceCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoCaptured)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5813,7 +5813,7 @@ impl MediaCapture { pub fn InitializeAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitializeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5823,7 +5823,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitializeWithSettingsAsync)(windows_core::Interface::as_raw(this), mediacaptureinitializationsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5835,7 +5835,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartRecordToStorageFileAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5847,7 +5847,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartRecordToStreamAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5859,7 +5859,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartRecordToCustomSinkAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), custommediasink.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5871,14 +5871,14 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartRecordToCustomSinkIdAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), core::mem::transmute_copy(customsinkactivationid), customsinksettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopRecordAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopRecordAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5890,7 +5890,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapturePhotoToStorageFileAsync)(windows_core::Interface::as_raw(this), r#type.param().abi(), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5902,7 +5902,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapturePhotoToStreamAsync)(windows_core::Interface::as_raw(this), r#type.param().abi(), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5913,14 +5913,14 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddEffectAsync)(windows_core::Interface::as_raw(this), mediastreamtype, core::mem::transmute_copy(effectactivationid), effectsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearEffectsAsync(&self, mediastreamtype: MediaStreamType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearEffectsAsync)(windows_core::Interface::as_raw(this), mediastreamtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5934,7 +5934,7 @@ impl MediaCapture { pub fn GetEncoderProperty(&self, mediastreamtype: MediaStreamType, propertyid: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEncoderProperty)(windows_core::Interface::as_raw(this), mediastreamtype, propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5944,7 +5944,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Failed)(windows_core::Interface::as_raw(this), erroreventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -5958,7 +5958,7 @@ impl MediaCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordLimitationExceeded)(windows_core::Interface::as_raw(this), recordlimitationexceededeventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -5969,7 +5969,7 @@ impl MediaCapture { pub fn MediaCaptureSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaCaptureSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5977,7 +5977,7 @@ impl MediaCapture { pub fn AudioDeviceController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioDeviceController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5985,7 +5985,7 @@ impl MediaCapture { pub fn VideoDeviceController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5996,7 +5996,7 @@ impl MediaCapture { pub fn GetPreviewMirroring(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPreviewMirroring)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6007,7 +6007,7 @@ impl MediaCapture { pub fn GetPreviewRotation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPreviewRotation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6018,7 +6018,7 @@ impl MediaCapture { pub fn GetRecordRotation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecordRotation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6030,7 +6030,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareLowLagRecordToStorageFileAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6042,7 +6042,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareLowLagRecordToStreamAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6054,7 +6054,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareLowLagRecordToCustomSinkAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), custommediasink.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6066,7 +6066,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareLowLagRecordToCustomSinkIdAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), core::mem::transmute_copy(customsinkactivationid), customsinksettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6077,7 +6077,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareLowLagPhotoCaptureAsync)(windows_core::Interface::as_raw(this), r#type.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6088,7 +6088,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareLowLagPhotoSequenceCaptureAsync)(windows_core::Interface::as_raw(this), r#type.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6100,7 +6100,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetEncodingPropertiesAsync)(windows_core::Interface::as_raw(this), mediastreamtype, mediaencodingproperties.param().abi(), encoderproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6111,7 +6111,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareVariablePhotoSequenceCaptureAsync)(windows_core::Interface::as_raw(this), r#type.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6121,7 +6121,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6135,7 +6135,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoConfirmationCaptured)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6150,7 +6150,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddAudioEffectAsync)(windows_core::Interface::as_raw(this), definition.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6161,7 +6161,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddVideoEffectAsync)(windows_core::Interface::as_raw(this), definition.param().abi(), mediastreamtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6169,14 +6169,14 @@ impl MediaCapture { pub fn PauseRecordAsync(&self, behavior: super::Devices::MediaCapturePauseBehavior) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseRecordAsync)(windows_core::Interface::as_raw(this), behavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResumeRecordAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResumeRecordAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6186,7 +6186,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraStreamStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6198,14 +6198,14 @@ impl MediaCapture { pub fn CameraStreamState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraStreamState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPreviewFrameAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPreviewFrameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6215,7 +6215,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPreviewFrameCopyAsync)(windows_core::Interface::as_raw(this), destination.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6225,7 +6225,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThermalStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6236,7 +6236,7 @@ impl MediaCapture { pub fn ThermalStatus(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThermalStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6247,7 +6247,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareAdvancedPhotoCaptureAsync)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6257,7 +6257,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveEffectAsync)(windows_core::Interface::as_raw(this), effect.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6265,14 +6265,14 @@ impl MediaCapture { pub fn PauseRecordWithResultAsync(&self, behavior: super::Devices::MediaCapturePauseBehavior) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseRecordWithResultAsync)(windows_core::Interface::as_raw(this), behavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopRecordWithResultAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopRecordWithResultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6280,7 +6280,7 @@ impl MediaCapture { pub fn FrameSources(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameSources)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6291,7 +6291,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameReaderAsync)(windows_core::Interface::as_raw(this), inputsource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6302,7 +6302,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameReaderWithSubtypeAsync)(windows_core::Interface::as_raw(this), inputsource.param().abi(), core::mem::transmute_copy(outputsubtype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6313,7 +6313,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFrameReaderWithSubtypeAndSizeAsync)(windows_core::Interface::as_raw(this), inputsource.param().abi(), core::mem::transmute_copy(outputsubtype), outputsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6323,7 +6323,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureDeviceExclusiveControlStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6338,7 +6338,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMultiSourceFrameReaderAsync)(windows_core::Interface::as_raw(this), inputsources.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6349,41 +6349,41 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRelativePanelWatcher)(windows_core::Interface::as_raw(this), capturemode, displayregion.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsVideoProfileSupported(videodeviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IMediaCaptureStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVideoProfileSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(videodeviceid), &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllVideoProfiles(videodeviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IMediaCaptureStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllVideoProfiles)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(videodeviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindConcurrentProfiles(videodeviceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IMediaCaptureStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindConcurrentProfiles)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(videodeviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindKnownVideoProfiles(videodeviceid: &windows_core::HSTRING, name: KnownVideoProfile) -> windows_core::Result> { Self::IMediaCaptureStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindKnownVideoProfiles)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(videodeviceid), name, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn StartPreviewAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPreviewAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6395,7 +6395,7 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPreviewToCustomSinkAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), custommediasink.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6407,14 +6407,14 @@ impl MediaCapture { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPreviewToCustomSinkIdAsync)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), core::mem::transmute_copy(customsinkactivationid), customsinksettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopPreviewAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopPreviewAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6442,14 +6442,14 @@ impl MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6474,14 +6474,14 @@ impl MediaCaptureFailedEventArgs { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Code(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6505,7 +6505,7 @@ impl MediaCaptureFocusChangedEventArgs { pub fn FocusState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocusState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6541,7 +6541,7 @@ impl MediaCaptureInitializationSettings { pub fn AudioDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6552,7 +6552,7 @@ impl MediaCaptureInitializationSettings { pub fn VideoDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6563,7 +6563,7 @@ impl MediaCaptureInitializationSettings { pub fn StreamingCaptureMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamingCaptureMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6574,7 +6574,7 @@ impl MediaCaptureInitializationSettings { pub fn PhotoCaptureSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoCaptureSource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6585,7 +6585,7 @@ impl MediaCaptureInitializationSettings { pub fn MediaCategory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaCategory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6596,7 +6596,7 @@ impl MediaCaptureInitializationSettings { pub fn AudioProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6612,7 +6612,7 @@ impl MediaCaptureInitializationSettings { pub fn AudioSource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6628,14 +6628,14 @@ impl MediaCaptureInitializationSettings { pub fn VideoSource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoProfile(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoProfile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6649,7 +6649,7 @@ impl MediaCaptureInitializationSettings { pub fn PreviewMediaDescription(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviewMediaDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6663,7 +6663,7 @@ impl MediaCaptureInitializationSettings { pub fn RecordMediaDescription(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordMediaDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6677,7 +6677,7 @@ impl MediaCaptureInitializationSettings { pub fn PhotoMediaDescription(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoMediaDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6692,7 +6692,7 @@ impl MediaCaptureInitializationSettings { pub fn SourceGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6707,7 +6707,7 @@ impl MediaCaptureInitializationSettings { pub fn SharingMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6718,7 +6718,7 @@ impl MediaCaptureInitializationSettings { pub fn MemoryPreference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MemoryPreference)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6729,7 +6729,7 @@ impl MediaCaptureInitializationSettings { pub fn AlwaysPlaySystemShutterSound(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlwaysPlaySystemShutterSound)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6741,7 +6741,7 @@ impl MediaCaptureInitializationSettings { pub fn DeviceUriPasswordCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceUriPasswordCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6756,7 +6756,7 @@ impl MediaCaptureInitializationSettings { pub fn DeviceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6793,14 +6793,14 @@ impl MediaCapturePauseResult { pub fn LastFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RecordDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6829,7 +6829,7 @@ impl MediaCaptureRelativePanelWatcher { pub fn RelativePanel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativePanel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6839,7 +6839,7 @@ impl MediaCaptureRelativePanelWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6876,91 +6876,91 @@ impl MediaCaptureSettings { pub fn AudioDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StreamingCaptureMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamingCaptureMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhotoCaptureSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoCaptureSource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideoDeviceCharacteristic(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceCharacteristic)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConcurrentRecordAndPhotoSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConcurrentRecordAndPhotoSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConcurrentRecordAndPhotoSequenceSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConcurrentRecordAndPhotoSequenceSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CameraSoundRequiredForRegion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraSoundRequiredForRegion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Horizontal35mmEquivalentFocalLength(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Horizontal35mmEquivalentFocalLength)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PitchOffsetDegrees(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PitchOffsetDegrees)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Vertical35mmEquivalentFocalLength(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Vertical35mmEquivalentFocalLength)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MediaCategory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaCategory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AudioProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6968,7 +6968,7 @@ impl MediaCaptureSettings { pub fn Direct3D11Device(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direct3D11Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6996,14 +6996,14 @@ impl MediaCaptureStopResult { pub fn LastFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RecordDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7026,14 +7026,14 @@ impl MediaCaptureVideoProfile { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7041,7 +7041,7 @@ impl MediaCaptureVideoProfile { pub fn SupportedPreviewMediaDescription(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedPreviewMediaDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7049,7 +7049,7 @@ impl MediaCaptureVideoProfile { pub fn SupportedRecordMediaDescription(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedRecordMediaDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7057,7 +7057,7 @@ impl MediaCaptureVideoProfile { pub fn SupportedPhotoMediaDescription(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedPhotoMediaDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7065,7 +7065,7 @@ impl MediaCaptureVideoProfile { pub fn GetConcurrency(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConcurrency)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7073,7 +7073,7 @@ impl MediaCaptureVideoProfile { pub fn FrameSourceInfos(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameSourceInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7081,7 +7081,7 @@ impl MediaCaptureVideoProfile { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7106,21 +7106,21 @@ impl MediaCaptureVideoProfileMediaDescription { pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FrameRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7128,7 +7128,7 @@ impl MediaCaptureVideoProfileMediaDescription { pub fn IsVariablePhotoSequenceSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVariablePhotoSequenceSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7136,14 +7136,14 @@ impl MediaCaptureVideoProfileMediaDescription { pub fn IsHdrVideoSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHdrVideoSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Subtype(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7151,7 +7151,7 @@ impl MediaCaptureVideoProfileMediaDescription { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7176,14 +7176,14 @@ impl OptionalReferencePhotoCapturedEventArgs { pub fn Frame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Frame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Context(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Context)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7208,21 +7208,21 @@ impl PhotoCapturedEventArgs { pub fn Frame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Frame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CaptureTimeOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureTimeOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7247,14 +7247,14 @@ impl PhotoConfirmationCapturedEventArgs { pub fn Frame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Frame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CaptureTimeOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureTimeOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7280,7 +7280,7 @@ impl ScreenCapture { pub fn AudioSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7288,21 +7288,21 @@ impl ScreenCapture { pub fn VideoSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsAudioSuspended(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAudioSuspended)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVideoSuspended(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVideoSuspended)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7312,7 +7312,7 @@ impl ScreenCapture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceSuspensionChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -7322,7 +7322,7 @@ impl ScreenCapture { } pub fn GetForCurrentView() -> windows_core::Result { Self::IScreenCaptureStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7352,14 +7352,14 @@ impl SourceSuspensionChangedEventArgs { pub fn IsAudioSuspended(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAudioSuspended)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVideoSuspended(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVideoSuspended)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7385,7 +7385,7 @@ impl VideoStreamConfiguration { pub fn InputProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7393,7 +7393,7 @@ impl VideoStreamConfiguration { pub fn OutputProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 a590f40572..f1e2eab10f 100644 --- a/crates/libs/windows/src/Windows/Media/Casting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Casting/mod.rs @@ -24,7 +24,7 @@ impl windows_core::RuntimeType for ICastingConnectionErrorOccurredEventArgs { pub struct ICastingConnectionErrorOccurredEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ErrorStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CastingConnectionErrorStatus) -> windows_core::HRESULT, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICastingDevice, ICastingDevice_Vtbl, 0xde721c83_4a43_4ad1_a6d2_2492a796c3f2); impl windows_core::RuntimeType for ICastingDevice { @@ -33,8 +33,8 @@ impl windows_core::RuntimeType for ICastingDevice { #[repr(C)] pub struct ICastingDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Icon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -99,9 +99,9 @@ impl windows_core::RuntimeType for ICastingDeviceStatics { #[repr(C)] pub struct ICastingDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, CastingPlaybackTypes, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, CastingPlaybackTypes, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDeviceSelectorFromCastingSourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Devices_Enumeration")] pub DeviceInfoSupportsCastingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Enumeration"))] @@ -126,21 +126,21 @@ impl CastingConnection { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -157,7 +157,7 @@ impl CastingConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -171,7 +171,7 @@ impl CastingConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorOccurred)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -185,14 +185,14 @@ impl CastingConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStartCastingAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisconnectAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisconnectAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -221,14 +221,14 @@ impl CastingConnectionErrorOccurredEventArgs { pub fn ErrorStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -253,14 +253,14 @@ impl CastingDevice { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -268,27 +268,27 @@ impl CastingDevice { pub fn Icon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Icon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSupportedCastingPlaybackTypesAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedCastingPlaybackTypesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateCastingConnection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCastingConnection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelector(r#type: CastingPlaybackTypes) -> windows_core::Result { Self::ICastingDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -297,13 +297,13 @@ impl CastingDevice { P0: windows_core::Param, { Self::ICastingDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelectorFromCastingSourceAsync)(windows_core::Interface::as_raw(this), castingsource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(value: &windows_core::HSTRING) -> windows_core::Result> { Self::ICastingDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -313,7 +313,7 @@ impl CastingDevice { P0: windows_core::Param, { Self::ICastingDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInfoSupportsCastingAsync)(windows_core::Interface::as_raw(this), device.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -350,7 +350,7 @@ impl CastingDevicePicker { pub fn Filter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Filter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -358,7 +358,7 @@ impl CastingDevicePicker { pub fn Appearance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Appearance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -368,7 +368,7 @@ impl CastingDevicePicker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CastingDeviceSelected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -382,7 +382,7 @@ impl CastingDevicePicker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CastingDevicePickerDismissed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -424,7 +424,7 @@ impl CastingDevicePickerFilter { pub fn SupportsAudio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsAudio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -435,7 +435,7 @@ impl CastingDevicePickerFilter { pub fn SupportsVideo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsVideo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -446,7 +446,7 @@ impl CastingDevicePickerFilter { pub fn SupportsPictures(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsPictures)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -458,7 +458,7 @@ impl CastingDevicePickerFilter { pub fn SupportedCastingSources(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCastingSources)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -483,7 +483,7 @@ impl CastingDeviceSelectedEventArgs { pub fn SelectedCastingDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedCastingDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -508,7 +508,7 @@ impl CastingSource { pub fn PreferredSourceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredSourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 22fa95b7b2..4848e2a5fc 100644 --- a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs @@ -41,76 +41,76 @@ pub struct ClosedCaptionProperties; impl ClosedCaptionProperties { pub fn FontColor() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "UI")] pub fn ComputedFontColor() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComputedFontColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn FontOpacity() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontOpacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn FontSize() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn FontStyle() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontStyle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn FontEffect() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontEffect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BackgroundColor() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "UI")] pub fn ComputedBackgroundColor() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComputedBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BackgroundOpacity() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundOpacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RegionColor() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegionColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "UI")] pub fn ComputedRegionColor() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComputedRegionColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RegionOpacity() -> windows_core::Result { Self::IClosedCaptionPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegionOpacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -119,7 +119,7 @@ impl ClosedCaptionProperties { P0: windows_core::Param>, { Self::IClosedCaptionPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PropertiesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs index 5fc201e184..3a34e44096 100644 --- a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IContentRestrictionsBrowsePolicy { #[repr(C)] pub struct IContentRestrictionsBrowsePolicy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxBrowsableAgeRating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PreferredAgeRating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -16,10 +16,10 @@ impl windows_core::RuntimeType for IRatedContentDescription { #[repr(C)] pub struct IRatedContentDescription_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Image: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -46,7 +46,7 @@ impl windows_core::RuntimeType for IRatedContentDescriptionFactory { #[repr(C)] pub struct IRatedContentDescriptionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, RatedContentCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, RatedContentCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRatedContentRestrictions, IRatedContentRestrictions_Vtbl, 0x3f7f23cb_ba07_4401_a49d_8b9222205723); impl windows_core::RuntimeType for IRatedContentRestrictions { @@ -78,21 +78,21 @@ impl ContentRestrictionsBrowsePolicy { pub fn GeographicRegion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxBrowsableAgeRating(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBrowsableAgeRating)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreferredAgeRating(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredAgeRating)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -117,7 +117,7 @@ impl RatedContentDescription { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -128,7 +128,7 @@ impl RatedContentDescription { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -140,7 +140,7 @@ impl RatedContentDescription { pub fn Image(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Image)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -155,7 +155,7 @@ impl RatedContentDescription { pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -167,7 +167,7 @@ impl RatedContentDescription { pub fn Ratings(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ratings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -181,7 +181,7 @@ impl RatedContentDescription { } pub fn Create(id: &windows_core::HSTRING, title: &windows_core::HSTRING, category: RatedContentCategory) -> windows_core::Result { Self::IRatedContentDescriptionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(title), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -218,7 +218,7 @@ impl RatedContentRestrictions { pub fn GetBrowsePolicyAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBrowsePolicyAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -228,7 +228,7 @@ impl RatedContentRestrictions { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRestrictionLevelAsync)(windows_core::Interface::as_raw(this), ratedcontentdescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -238,7 +238,7 @@ impl RatedContentRestrictions { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestContentAccessAsync)(windows_core::Interface::as_raw(this), ratedcontentdescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -248,7 +248,7 @@ impl RatedContentRestrictions { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RestrictionsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -258,7 +258,7 @@ impl RatedContentRestrictions { } pub fn CreateWithMaxAgeRating(maxagerating: u32) -> windows_core::Result { Self::IRatedContentRestrictionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithMaxAgeRating)(windows_core::Interface::as_raw(this), maxagerating, &mut result__).and_then(|| windows_core::Type::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 e45e0da341..f02170294b 100644 --- a/crates/libs/windows/src/Windows/Media/Control/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Control/mod.rs @@ -13,7 +13,7 @@ impl windows_core::RuntimeType for IGlobalSystemMediaTransportControlsSession { #[repr(C)] pub struct IGlobalSystemMediaTransportControlsSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SourceAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TryGetMediaPropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTimelineProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPlaybackInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -72,11 +72,11 @@ impl windows_core::RuntimeType for IGlobalSystemMediaTransportControlsSessionMed #[repr(C)] pub struct IGlobalSystemMediaTransportControlsSessionMediaProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AlbumTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlbumTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Genres: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -197,133 +197,133 @@ impl GlobalSystemMediaTransportControlsSession { pub fn SourceAppUserModelId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceAppUserModelId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetMediaPropertiesAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetMediaPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetTimelineProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTimelineProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPlaybackInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPlaybackInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryPlayAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryPlayAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryPauseAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryPauseAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryStopAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryStopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryRecordAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRecordAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryFastForwardAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryFastForwardAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryRewindAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRewindAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrySkipNextAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySkipNextAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrySkipPreviousAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySkipPreviousAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryChangeChannelUpAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryChangeChannelUpAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryChangeChannelDownAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryChangeChannelDownAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryTogglePlayPauseAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryTogglePlayPauseAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryChangeAutoRepeatModeAsync(&self, requestedautorepeatmode: super::MediaPlaybackAutoRepeatMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryChangeAutoRepeatModeAsync)(windows_core::Interface::as_raw(this), requestedautorepeatmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryChangePlaybackRateAsync(&self, requestedplaybackrate: f64) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryChangePlaybackRateAsync)(windows_core::Interface::as_raw(this), requestedplaybackrate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryChangeShuffleActiveAsync(&self, requestedshufflestate: bool) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryChangeShuffleActiveAsync)(windows_core::Interface::as_raw(this), requestedshufflestate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryChangePlaybackPositionAsync(&self, requestedplaybackposition: i64) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryChangePlaybackPositionAsync)(windows_core::Interface::as_raw(this), requestedplaybackposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -333,7 +333,7 @@ impl GlobalSystemMediaTransportControlsSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimelinePropertiesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -347,7 +347,7 @@ impl GlobalSystemMediaTransportControlsSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackInfoChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -361,7 +361,7 @@ impl GlobalSystemMediaTransportControlsSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaPropertiesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -390,7 +390,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { pub fn GetCurrentSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -398,7 +398,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { pub fn GetSessions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSessions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -408,7 +408,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentSessionChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -422,7 +422,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -432,7 +432,7 @@ impl GlobalSystemMediaTransportControlsSessionManager { } pub fn RequestAsync() -> windows_core::Result> { Self::IGlobalSystemMediaTransportControlsSessionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -462,42 +462,42 @@ impl GlobalSystemMediaTransportControlsSessionMediaProperties { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subtitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AlbumArtist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumArtist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Artist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Artist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AlbumTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrackNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -505,21 +505,21 @@ impl GlobalSystemMediaTransportControlsSessionMediaProperties { pub fn Genres(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Genres)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AlbumTrackCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumTrackCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PlaybackType(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -527,7 +527,7 @@ impl GlobalSystemMediaTransportControlsSessionMediaProperties { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -552,105 +552,105 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackControls { pub fn IsPlayEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlayEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPauseEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPauseEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStopEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStopEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRecordEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRecordEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsFastForwardEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFastForwardEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRewindEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRewindEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsNextEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNextEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPreviousEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPreviousEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsChannelUpEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsChannelUpEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsChannelDownEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsChannelDownEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPlayPauseToggleEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlayPauseToggleEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsShuffleEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsShuffleEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRepeatEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRepeatEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPlaybackRateEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlaybackRateEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPlaybackPositionEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlaybackPositionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -675,42 +675,42 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackInfo { pub fn Controls(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Controls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PlaybackStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PlaybackType(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AutoRepeatMode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRepeatMode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PlaybackRate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsShuffleActive(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsShuffleActive)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -735,42 +735,42 @@ impl GlobalSystemMediaTransportControlsSessionTimelineProperties { pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinSeekTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinSeekTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxSeekTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSeekTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastUpdatedTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastUpdatedTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 528a8fe829..1d88b2b06e 100644 --- a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs @@ -13,7 +13,7 @@ pub struct SoundLevelBroker; impl SoundLevelBroker { pub fn SoundLevel() -> windows_core::Result { Self::ISoundLevelBrokerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoundLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -22,7 +22,7 @@ impl SoundLevelBroker { P0: windows_core::Param>, { Self::ISoundLevelBrokerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoundLevelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Core/impl.rs b/crates/libs/windows/src/Windows/Media/Core/impl.rs index 51925d0bb9..c745b2dde7 100644 --- a/crates/libs/windows/src/Windows/Media/Core/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Core/impl.rs @@ -43,12 +43,12 @@ impl IMediaCue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetId, Impl: IMediaCue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetId, Impl: IMediaCue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaCue_Impl::SetId(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Id, Impl: IMediaCue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IMediaCue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaCue_Impl::Id(this) { @@ -109,12 +109,12 @@ impl IMediaStreamDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IMediaStreamDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IMediaStreamDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaStreamDescriptor_Impl::SetName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Name, Impl: IMediaStreamDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IMediaStreamDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaStreamDescriptor_Impl::Name(this) { @@ -126,12 +126,12 @@ impl IMediaStreamDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLanguage, Impl: IMediaStreamDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLanguage, Impl: IMediaStreamDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaStreamDescriptor_Impl::SetLanguage(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Language, Impl: IMediaStreamDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Language, Impl: IMediaStreamDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaStreamDescriptor_Impl::Language(this) { @@ -165,12 +165,12 @@ impl windows_core::RuntimeName for IMediaStreamDescriptor2 { } impl IMediaStreamDescriptor2_Vtbl { pub const fn new, Impl: IMediaStreamDescriptor2_Impl, const OFFSET: isize>() -> IMediaStreamDescriptor2_Vtbl { - unsafe extern "system" fn SetLabel, Impl: IMediaStreamDescriptor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMediaStreamDescriptor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaStreamDescriptor2_Impl::SetLabel(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Label, Impl: IMediaStreamDescriptor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMediaStreamDescriptor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaStreamDescriptor2_Impl::Label(this) { @@ -204,7 +204,7 @@ impl windows_core::RuntimeName for IMediaTrack { } impl IMediaTrack_Vtbl { pub const fn new, Impl: IMediaTrack_Impl, const OFFSET: isize>() -> IMediaTrack_Vtbl { - unsafe extern "system" fn Id, Impl: IMediaTrack_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IMediaTrack_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaTrack_Impl::Id(this) { @@ -216,7 +216,7 @@ impl IMediaTrack_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Language, Impl: IMediaTrack_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Language, Impl: IMediaTrack_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaTrack_Impl::Language(this) { @@ -239,12 +239,12 @@ impl IMediaTrack_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IMediaTrack_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMediaTrack_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaTrack_Impl::SetLabel(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Label, Impl: IMediaTrack_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMediaTrack_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaTrack_Impl::Label(this) { diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index 0cd96b3afa..17c6cd8c6d 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -62,7 +62,7 @@ pub struct IAudioTrack_Vtbl { pub PlaybackItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Playback"))] PlaybackItem: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SupportInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioTrackOpenFailedEventArgs, IAudioTrackOpenFailedEventArgs_Vtbl, 0xeeddb9b9_bb7c_4112_bf76_9384676f824b); @@ -93,8 +93,8 @@ impl windows_core::RuntimeType for IChapterCue { #[repr(C)] pub struct IChapterCue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICodecInfo, ICodecInfo_Vtbl, 0x51e89f85_ea97_499c_86ac_4ce5e73f3a42); impl windows_core::RuntimeType for ICodecInfo { @@ -109,7 +109,7 @@ pub struct ICodecInfo_Vtbl { pub Subtypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Subtypes: usize, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTrusted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICodecQuery, ICodecQuery_Vtbl, 0x222a953a_af61_4e04_808a_a4634e2f3ac4); @@ -120,7 +120,7 @@ impl windows_core::RuntimeType for ICodecQuery { pub struct ICodecQuery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub FindAllAsync: unsafe extern "system" fn(*mut core::ffi::c_void, CodecKind, CodecCategory, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllAsync: unsafe extern "system" fn(*mut core::ffi::c_void, CodecKind, CodecCategory, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, } @@ -131,57 +131,57 @@ impl windows_core::RuntimeType for ICodecSubtypesStatics { #[repr(C)] pub struct ICodecSubtypesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub VideoFormatDV25: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatDV50: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatDvc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatDvh1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatDvhD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatDvsd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatDvsl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatH263: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatH264: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatH265: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatH264ES: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatHevc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatHevcES: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatM4S2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatMjpg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatMP43: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatMP4S: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatMP4V: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatMpeg2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatVP80: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatVP90: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatMpg1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatMss1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatMss2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatWmv1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatWmv2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatWmv3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormatWvc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoFormat420O: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatAac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatAdts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatAlac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatAmrNB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatAmrWB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatAmrWP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatDolbyAC3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatDolbyAC3Spdif: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatDolbyDDPlus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatDrm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatDts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatFlac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatFloat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatMP3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatMPeg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatMsp1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatOpus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatPcm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatWmaSpdif: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatWMAudioLossless: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatWMAudioV8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioFormatWMAudioV9: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatDV25: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatDV50: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatDvc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatDvh1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatDvhD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatDvsd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatDvsl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatH263: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatH264: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatH265: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatH264ES: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatHevc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatHevcES: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatM4S2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatMjpg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatMP43: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatMP4S: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatMP4V: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatMpeg2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatVP80: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatVP90: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatMpg1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatMss1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatMss2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatWmv1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatWmv2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatWmv3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormatWvc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoFormat420O: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatAac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatAdts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatAlac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatAmrNB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatAmrWB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatAmrWP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatDolbyAC3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatDolbyAC3Spdif: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatDolbyDDPlus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatDrm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatDts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatFlac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatFloat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatMP3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatMPeg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatMsp1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatOpus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatPcm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatWmaSpdif: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatWMAudioLossless: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatWMAudioV8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioFormatWMAudioV9: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataCue, IDataCue_Vtbl, 0x7c7f676d_1fbc_4e2d_9a87_ee38bd1dc637); impl windows_core::RuntimeType for IDataCue { @@ -353,8 +353,8 @@ pub struct IMediaBinder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Binding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveBinding: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaBindingEventArgs, IMediaBindingEventArgs_Vtbl, 0xb61cb25a_1b6d_4630_a86d_2f0837f712e5); @@ -370,11 +370,11 @@ pub struct IMediaBindingEventArgs_Vtbl { pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub SetStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetStream: usize, #[cfg(feature = "Storage_Streams")] - pub SetStreamReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStreamReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetStreamReference: usize, } @@ -410,7 +410,7 @@ windows_core::imp::define_interface!(IMediaCue, IMediaCue_Vtbl, 0xc7d15e5d_59dc_ impl std::ops::Deref for IMediaCue { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaCue, windows_core::IUnknown, windows_core::IInspectable); @@ -422,7 +422,7 @@ impl IMediaCue { pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -433,7 +433,7 @@ impl IMediaCue { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -444,7 +444,7 @@ impl IMediaCue { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -459,8 +459,8 @@ pub struct IMediaCue_Vtbl { pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaCueEventArgs, IMediaCueEventArgs_Vtbl, 0xd12f47f7_5fa4_4e68_9fe5_32160dcee57e); impl windows_core::RuntimeType for IMediaCueEventArgs { @@ -475,7 +475,7 @@ windows_core::imp::define_interface!(IMediaSource, IMediaSource_Vtbl, 0xe7bfb599 impl std::ops::Deref for IMediaSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaSource, windows_core::IUnknown, windows_core::IInspectable); @@ -621,11 +621,11 @@ pub struct IMediaSourceStatics_Vtbl { #[cfg(not(feature = "Storage"))] CreateFromStorageFile: usize, #[cfg(feature = "Storage_Streams")] - pub CreateFromStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateFromStream: usize, #[cfg(feature = "Storage_Streams")] - pub CreateFromStreamReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromStreamReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateFromStreamReference: usize, pub CreateFromUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -667,7 +667,7 @@ windows_core::imp::define_interface!(IMediaStreamDescriptor, IMediaStreamDescrip impl std::ops::Deref for IMediaStreamDescriptor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaStreamDescriptor, windows_core::IUnknown, windows_core::IInspectable); @@ -675,7 +675,7 @@ impl IMediaStreamDescriptor { pub fn IsSelected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -686,7 +686,7 @@ impl IMediaStreamDescriptor { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -697,7 +697,7 @@ impl IMediaStreamDescriptor { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -709,16 +709,16 @@ impl windows_core::RuntimeType for IMediaStreamDescriptor { pub struct IMediaStreamDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSelected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaStreamDescriptor2, IMediaStreamDescriptor2_Vtbl, 0x5073010f_e8b2_4071_b00b_ebf337a76b58); impl std::ops::Deref for IMediaStreamDescriptor2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaStreamDescriptor2, windows_core::IUnknown, windows_core::IInspectable); @@ -731,14 +731,14 @@ impl IMediaStreamDescriptor2 { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSelected(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -749,7 +749,7 @@ impl IMediaStreamDescriptor2 { pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -760,7 +760,7 @@ impl IMediaStreamDescriptor2 { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -771,8 +771,8 @@ impl windows_core::RuntimeType for IMediaStreamDescriptor2 { #[repr(C)] pub struct IMediaStreamDescriptor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaStreamSample, IMediaStreamSample_Vtbl, 0x5c8db627_4b80_4361_9837_6cb7481ad9d6); impl windows_core::RuntimeType for IMediaStreamSample { @@ -1068,7 +1068,7 @@ windows_core::imp::define_interface!(IMediaTrack, IMediaTrack_Vtbl, 0x03e1fafc_c impl std::ops::Deref for IMediaTrack { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaTrack, windows_core::IUnknown, windows_core::IInspectable); @@ -1076,21 +1076,21 @@ impl IMediaTrack { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrackKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1101,7 +1101,7 @@ impl IMediaTrack { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1112,11 +1112,11 @@ impl windows_core::RuntimeType for IMediaTrack { #[repr(C)] pub struct IMediaTrack_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TrackKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaTrackKind) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMseSourceBuffer, IMseSourceBuffer_Vtbl, 0x0c1aa3e3_df8d_4079_a3fe_6849184b4e2f); impl windows_core::RuntimeType for IMseSourceBuffer { @@ -1197,7 +1197,7 @@ pub struct IMseStreamSource_Vtbl { pub ReadyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MseReadyState) -> windows_core::HRESULT, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndOfStream: unsafe extern "system" fn(*mut core::ffi::c_void, MseEndOfStreamStatus) -> windows_core::HRESULT, } @@ -1218,7 +1218,7 @@ impl windows_core::RuntimeType for IMseStreamSourceStatics { #[repr(C)] pub struct IMseStreamSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsContentTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsContentTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISceneAnalysisEffect, ISceneAnalysisEffect_Vtbl, 0xc04ba319_ca41_4813_bffd_7b08b0ed2557); impl windows_core::RuntimeType for ISceneAnalysisEffect { @@ -1268,7 +1268,7 @@ windows_core::imp::define_interface!(ISingleSelectMediaTrackList, ISingleSelectM impl std::ops::Deref for ISingleSelectMediaTrackList { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISingleSelectMediaTrackList, windows_core::IUnknown, windows_core::IInspectable); @@ -1279,7 +1279,7 @@ impl ISingleSelectMediaTrackList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedIndexChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1294,7 +1294,7 @@ impl ISingleSelectMediaTrackList { pub fn SelectedIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1317,8 +1317,8 @@ impl windows_core::RuntimeType for ISpeechCue { #[repr(C)] pub struct ISpeechCue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartPositionInInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetStartPositionInInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndPositionInInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1371,7 +1371,7 @@ pub struct ITimedMetadataTrack_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ActiveCues: usize, pub TimedMetadataKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedMetadataKind) -> windows_core::HRESULT, - pub DispatchType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DispatchType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddCue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveCue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1386,7 +1386,7 @@ pub struct ITimedMetadataTrack2_Vtbl { pub PlaybackItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Playback"))] PlaybackItem: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimedMetadataTrackError, ITimedMetadataTrackError_Vtbl, 0xb3767915_4114_4819_b9d9_dd76089e72f8); impl windows_core::RuntimeType for ITimedMetadataTrackError { @@ -1405,7 +1405,7 @@ impl windows_core::RuntimeType for ITimedMetadataTrackFactory { #[repr(C)] pub struct ITimedMetadataTrackFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, TimedMetadataKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, TimedMetadataKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimedMetadataTrackFailedEventArgs, ITimedMetadataTrackFailedEventArgs_Vtbl, 0xa57fc9d1_6789_4d4d_b07f_84b4f31acb70); impl windows_core::RuntimeType for ITimedMetadataTrackFailedEventArgs { @@ -1420,7 +1420,7 @@ windows_core::imp::define_interface!(ITimedMetadataTrackProvider, ITimedMetadata impl std::ops::Deref for ITimedMetadataTrackProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITimedMetadataTrackProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -1429,7 +1429,7 @@ impl ITimedMetadataTrackProvider { pub fn TimedMetadataTracks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimedMetadataTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1488,8 +1488,8 @@ impl windows_core::RuntimeType for ITimedTextLine { #[repr(C)] pub struct ITimedTextLine_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Subformats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -1502,8 +1502,8 @@ impl windows_core::RuntimeType for ITimedTextRegion { #[repr(C)] pub struct ITimedTextRegion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextPoint) -> windows_core::HRESULT, pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, TimedTextPoint) -> windows_core::HRESULT, pub Extent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextSize) -> windows_core::HRESULT, @@ -1540,8 +1540,8 @@ impl windows_core::RuntimeType for ITimedTextRuby { #[repr(C)] pub struct ITimedTextRuby_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextRubyPosition) -> windows_core::HRESULT, pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, TimedTextRubyPosition) -> windows_core::HRESULT, pub Align: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextRubyAlign) -> windows_core::HRESULT, @@ -1585,10 +1585,10 @@ pub struct ITimedTextSourceStatics_Vtbl { CreateFromStream: usize, pub CreateFromUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub CreateFromStreamWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromStreamWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateFromStreamWithLanguage: usize, - pub CreateFromUriWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromUriWithLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimedTextSourceStatics2, ITimedTextSourceStatics2_Vtbl, 0xb66b7602_923e_43fa_9633_587075812db5); impl windows_core::RuntimeType for ITimedTextSourceStatics2 { @@ -1603,10 +1603,10 @@ pub struct ITimedTextSourceStatics2_Vtbl { CreateFromStreamWithIndex: usize, pub CreateFromUriWithIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub CreateFromStreamWithIndexAndLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromStreamWithIndexAndLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateFromStreamWithIndexAndLanguage: usize, - pub CreateFromUriWithIndexAndLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromUriWithIndexAndLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimedTextStyle, ITimedTextStyle_Vtbl, 0x1bb2384d_a825_40c2_a7f5_281eaedf3b55); impl windows_core::RuntimeType for ITimedTextStyle { @@ -1615,10 +1615,10 @@ impl windows_core::RuntimeType for ITimedTextStyle { #[repr(C)] pub struct ITimedTextStyle_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FontFamily: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFontFamily: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FontFamily: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFontFamily: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub FontSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextDouble) -> windows_core::HRESULT, pub SetFontSize: unsafe extern "system" fn(*mut core::ffi::c_void, TimedTextDouble) -> windows_core::HRESULT, pub FontWeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextWeight) -> windows_core::HRESULT, @@ -1777,7 +1777,7 @@ pub struct IVideoTrack_Vtbl { pub PlaybackItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Playback"))] PlaybackItem: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SupportInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVideoTrackOpenFailedEventArgs, IVideoTrackOpenFailedEventArgs_Vtbl, 0x7679e231_04f9_4c82_a4ee_8602c8bb4754); @@ -1809,7 +1809,7 @@ impl AudioStreamDescriptor { pub fn EncodingProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1823,7 +1823,7 @@ impl AudioStreamDescriptor { pub fn LeadingEncoderPadding(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeadingEncoderPadding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1837,14 +1837,14 @@ impl AudioStreamDescriptor { pub fn TrailingEncoderPadding(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrailingEncoderPadding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Copy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1854,14 +1854,14 @@ impl AudioStreamDescriptor { P0: windows_core::Param, { Self::IAudioStreamDescriptorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSelected(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1872,7 +1872,7 @@ impl AudioStreamDescriptor { pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1883,7 +1883,7 @@ impl AudioStreamDescriptor { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1894,7 +1894,7 @@ impl AudioStreamDescriptor { pub fn Label(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1928,7 +1928,7 @@ impl AudioTrack { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenFailed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1940,7 +1940,7 @@ impl AudioTrack { pub fn GetEncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1948,42 +1948,42 @@ impl AudioTrack { pub fn PlaybackItem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SupportInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrackKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1994,7 +1994,7 @@ impl AudioTrack { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2019,7 +2019,7 @@ impl AudioTrackOpenFailedEventArgs { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2044,28 +2044,28 @@ impl AudioTrackSupportInfo { pub fn DecoderStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecoderStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Degradation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Degradation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DegradationReason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DegradationReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MediaSourceStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSourceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2102,7 +2102,7 @@ impl ChapterCue { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2113,7 +2113,7 @@ impl ChapterCue { pub fn StartTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2124,7 +2124,7 @@ impl ChapterCue { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2135,7 +2135,7 @@ impl ChapterCue { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2160,14 +2160,14 @@ impl CodecInfo { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Category(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2175,21 +2175,21 @@ impl CodecInfo { pub fn Subtypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsTrusted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTrusted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2222,7 +2222,7 @@ impl CodecQuery { pub fn FindAllAsync(&self, kind: CodecKind, category: CodecCategory, subtype: &windows_core::HSTRING) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), kind, category, core::mem::transmute_copy(subtype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2243,307 +2243,307 @@ pub struct CodecSubtypes; impl CodecSubtypes { pub fn VideoFormatDV25() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatDV25)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatDV50() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatDV50)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatDvc() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatDvc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatDvh1() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatDvh1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatDvhD() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatDvhD)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatDvsd() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatDvsd)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatDvsl() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatDvsl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatH263() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatH263)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatH264() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatH264)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatH265() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatH265)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatH264ES() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatH264ES)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatHevc() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatHevc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatHevcES() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatHevcES)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatM4S2() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatM4S2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatMjpg() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatMjpg)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatMP43() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatMP43)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatMP4S() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatMP4S)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatMP4V() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatMP4V)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatMpeg2() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatMpeg2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatVP80() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatVP80)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatVP90() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatVP90)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatMpg1() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatMpg1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatMss1() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatMss1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatMss2() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatMss2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatWmv1() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatWmv1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatWmv2() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatWmv2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatWmv3() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatWmv3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormatWvc1() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormatWvc1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideoFormat420O() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFormat420O)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatAac() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatAac)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatAdts() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatAdts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatAlac() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatAlac)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatAmrNB() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatAmrNB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatAmrWB() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatAmrWB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatAmrWP() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatAmrWP)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatDolbyAC3() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatDolbyAC3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatDolbyAC3Spdif() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatDolbyAC3Spdif)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatDolbyDDPlus() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatDolbyDDPlus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatDrm() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatDrm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatDts() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatDts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatFlac() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatFlac)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatFloat() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatFloat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatMP3() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatMP3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatMPeg() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatMPeg)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatMsp1() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatMsp1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatOpus() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatOpus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatPcm() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatPcm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatWmaSpdif() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatWmaSpdif)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatWMAudioLossless() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatWMAudioLossless)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatWMAudioV8() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatWMAudioV8)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AudioFormatWMAudioV9() -> windows_core::Result { Self::ICodecSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFormatWMAudioV9)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2581,7 +2581,7 @@ impl DataCue { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2589,7 +2589,7 @@ impl DataCue { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2600,7 +2600,7 @@ impl DataCue { pub fn StartTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2611,7 +2611,7 @@ impl DataCue { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2622,7 +2622,7 @@ impl DataCue { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2647,7 +2647,7 @@ impl FaceDetectedEventArgs { pub fn ResultFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResultFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2677,7 +2677,7 @@ impl FaceDetectionEffect { pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2688,7 +2688,7 @@ impl FaceDetectionEffect { pub fn DesiredDetectionInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredDetectionInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2698,7 +2698,7 @@ impl FaceDetectionEffect { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FaceDetected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2751,7 +2751,7 @@ impl FaceDetectionEffectDefinition { pub fn DetectionMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2762,7 +2762,7 @@ impl FaceDetectionEffectDefinition { pub fn SynchronousDetectionEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SynchronousDetectionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2770,7 +2770,7 @@ impl FaceDetectionEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2778,7 +2778,7 @@ impl FaceDetectionEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2814,21 +2814,21 @@ impl FaceDetectionEffectFrame { pub fn DetectedFaces(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetectedFaces)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsReadOnly(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2842,7 +2842,7 @@ impl FaceDetectionEffectFrame { pub fn RelativeTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2856,7 +2856,7 @@ impl FaceDetectionEffectFrame { pub fn SystemRelativeTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2870,7 +2870,7 @@ impl FaceDetectionEffectFrame { pub fn Duration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2881,7 +2881,7 @@ impl FaceDetectionEffectFrame { pub fn IsDiscontinuous(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDiscontinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2889,7 +2889,7 @@ impl FaceDetectionEffectFrame { pub fn ExtendedProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2918,7 +2918,7 @@ impl HighDynamicRangeControl { pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2943,7 +2943,7 @@ impl HighDynamicRangeOutput { pub fn Certainty(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Certainty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2951,7 +2951,7 @@ impl HighDynamicRangeOutput { pub fn FrameControllers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameControllers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2984,7 +2984,7 @@ impl ImageCue { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2995,7 +2995,7 @@ impl ImageCue { pub fn Extent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Extent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3015,7 +3015,7 @@ impl ImageCue { pub fn SoftwareBitmap(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoftwareBitmap)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3026,7 +3026,7 @@ impl ImageCue { pub fn StartTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3037,7 +3037,7 @@ impl ImageCue { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3048,7 +3048,7 @@ impl ImageCue { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3073,7 +3073,7 @@ impl InitializeMediaStreamSourceRequestedEventArgs { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3081,14 +3081,14 @@ impl InitializeMediaStreamSourceRequestedEventArgs { pub fn RandomAccessStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RandomAccessStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3110,13 +3110,13 @@ impl LowLightFusion { #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub fn SupportedBitmapPixelFormats() -> windows_core::Result> { Self::ILowLightFusionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedBitmapPixelFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MaxSupportedFrameCount() -> windows_core::Result { Self::ILowLightFusionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSupportedFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -3126,7 +3126,7 @@ impl LowLightFusion { P0: windows_core::Param>, { Self::ILowLightFusionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FuseAsync)(windows_core::Interface::as_raw(this), frameset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3153,7 +3153,7 @@ impl LowLightFusionResult { pub fn Frame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Frame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3188,7 +3188,7 @@ impl MediaBinder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Binding)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3199,7 +3199,7 @@ impl MediaBinder { pub fn Token(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Token)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3210,7 +3210,7 @@ impl MediaBinder { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3238,7 +3238,7 @@ impl MediaBindingEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Canceled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3249,14 +3249,14 @@ impl MediaBindingEventArgs { pub fn MediaBinder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaBinder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3328,7 +3328,7 @@ impl MediaCueEventArgs { pub fn Cue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3362,7 +3362,7 @@ impl MediaSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenOperationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3374,21 +3374,21 @@ impl MediaSource { pub fn CustomProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Duration(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsOpen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOpen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3396,7 +3396,7 @@ impl MediaSource { pub fn ExternalTimedTextSources(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExternalTimedTextSources)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3404,7 +3404,7 @@ impl MediaSource { pub fn ExternalTimedMetadataTracks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExternalTimedMetadataTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3414,7 +3414,7 @@ impl MediaSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3425,7 +3425,7 @@ impl MediaSource { pub fn State(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3437,35 +3437,35 @@ impl MediaSource { pub fn AdaptiveMediaSource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdaptiveMediaSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MediaStreamSource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaStreamSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MseStreamSource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MseStreamSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3473,7 +3473,7 @@ impl MediaSource { pub fn DownloadOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3483,7 +3483,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromAdaptiveMediaSource)(windows_core::Interface::as_raw(this), mediasource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3492,7 +3492,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromMediaStreamSource)(windows_core::Interface::as_raw(this), mediasource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3501,7 +3501,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromMseStreamSource)(windows_core::Interface::as_raw(this), mediasource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3510,7 +3510,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIMediaSource)(windows_core::Interface::as_raw(this), mediasource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3520,7 +3520,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStorageFile)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3530,7 +3530,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStream)(windows_core::Interface::as_raw(this), stream.param().abi(), core::mem::transmute_copy(contenttype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3540,7 +3540,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStreamReference)(windows_core::Interface::as_raw(this), stream.param().abi(), core::mem::transmute_copy(contenttype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3549,7 +3549,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromUri)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3558,7 +3558,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromMediaBinder)(windows_core::Interface::as_raw(this), binder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3568,7 +3568,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromMediaFrameSource)(windows_core::Interface::as_raw(this), framesource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3578,7 +3578,7 @@ impl MediaSource { P0: windows_core::Param, { Self::IMediaSourceStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDownloadOperation)(windows_core::Interface::as_raw(this), downloadoperation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3626,7 +3626,7 @@ impl MediaSourceAppServiceConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitializeMediaStreamSourceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3644,7 +3644,7 @@ impl MediaSourceAppServiceConnection { P0: windows_core::Param, { Self::IMediaSourceAppServiceConnectionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), appserviceconnection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3672,7 +3672,7 @@ impl MediaSourceError { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3697,7 +3697,7 @@ impl MediaSourceOpenOperationCompletedEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3722,14 +3722,14 @@ impl MediaSourceStateChangedEventArgs { pub fn OldState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NewState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3757,7 +3757,7 @@ impl MediaStreamSample { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Processed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3769,14 +3769,14 @@ impl MediaStreamSample { pub fn Buffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Buffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3784,14 +3784,14 @@ impl MediaStreamSample { pub fn ExtendedProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Protection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Protection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3802,7 +3802,7 @@ impl MediaStreamSample { pub fn DecodeTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecodeTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3813,7 +3813,7 @@ impl MediaStreamSample { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3824,7 +3824,7 @@ impl MediaStreamSample { pub fn KeyFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrame)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3835,7 +3835,7 @@ impl MediaStreamSample { pub fn Discontinuous(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Discontinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3843,7 +3843,7 @@ impl MediaStreamSample { pub fn Direct3D11Surface(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direct3D11Surface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3853,7 +3853,7 @@ impl MediaStreamSample { P0: windows_core::Param, { Self::IMediaStreamSampleStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), buffer.param().abi(), timestamp, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3863,7 +3863,7 @@ impl MediaStreamSample { P0: windows_core::Param, { Self::IMediaStreamSampleStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStreamAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), count, timestamp, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3873,7 +3873,7 @@ impl MediaStreamSample { P0: windows_core::Param, { Self::IMediaStreamSampleStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDirect3D11Surface)(windows_core::Interface::as_raw(this), surface.param().abi(), timestamp, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3914,7 +3914,7 @@ impl MediaStreamSamplePropertySet { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3922,7 +3922,7 @@ impl MediaStreamSamplePropertySet { pub fn Lookup(&self, key: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3930,7 +3930,7 @@ impl MediaStreamSamplePropertySet { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3938,7 +3938,7 @@ impl MediaStreamSamplePropertySet { pub fn HasKey(&self, key: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), key, &mut result__).map(|| result__) } } @@ -3946,7 +3946,7 @@ impl MediaStreamSamplePropertySet { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3957,7 +3957,7 @@ impl MediaStreamSamplePropertySet { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), key, value.param().abi(), &mut result__).map(|| result__) } } @@ -4059,7 +4059,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4073,7 +4073,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Starting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4087,7 +4087,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Paused)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4101,7 +4101,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SampleRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4115,7 +4115,7 @@ impl MediaStreamSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SwitchStreamsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4146,7 +4146,7 @@ impl MediaStreamSource { pub fn MediaProtectionManager(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaProtectionManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4157,7 +4157,7 @@ impl MediaStreamSource { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4168,7 +4168,7 @@ impl MediaStreamSource { pub fn CanSeek(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanSeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4179,7 +4179,7 @@ impl MediaStreamSource { pub fn BufferTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4191,7 +4191,7 @@ impl MediaStreamSource { pub fn MusicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MusicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4199,7 +4199,7 @@ impl MediaStreamSource { pub fn VideoProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4215,7 +4215,7 @@ impl MediaStreamSource { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4232,7 +4232,7 @@ impl MediaStreamSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SampleRendered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4250,7 +4250,7 @@ impl MediaStreamSource { pub fn MaxSupportedPlaybackRate(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSupportedPlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4261,7 +4261,7 @@ impl MediaStreamSource { pub fn IsLive(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4270,7 +4270,7 @@ impl MediaStreamSource { P0: windows_core::Param, { Self::IMediaStreamSourceFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDescriptor)(windows_core::Interface::as_raw(this), descriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4280,7 +4280,7 @@ impl MediaStreamSource { P1: windows_core::Param, { Self::IMediaStreamSourceFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromDescriptors)(windows_core::Interface::as_raw(this), descriptor.param().abi(), descriptor2.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4310,7 +4310,7 @@ impl MediaStreamSourceClosedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4335,7 +4335,7 @@ impl MediaStreamSourceClosedRequest { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4360,7 +4360,7 @@ impl MediaStreamSourceSampleRenderedEventArgs { pub fn SampleLag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SampleLag)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4385,14 +4385,14 @@ impl MediaStreamSourceSampleRequest { pub fn StreamDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4406,7 +4406,7 @@ impl MediaStreamSourceSampleRequest { pub fn Sample(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sample)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4457,7 +4457,7 @@ impl MediaStreamSourceSampleRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4482,7 +4482,7 @@ impl MediaStreamSourceStartingEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4507,14 +4507,14 @@ impl MediaStreamSourceStartingRequest { pub fn StartPosition(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPosition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4565,21 +4565,21 @@ impl MediaStreamSourceSwitchStreamsRequest { pub fn OldStreamDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldStreamDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NewStreamDescriptor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewStreamDescriptor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4626,7 +4626,7 @@ impl MediaStreamSourceSwitchStreamsRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4654,7 +4654,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4668,7 +4668,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4682,7 +4682,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateEnded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4696,7 +4696,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorOccurred)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4710,7 +4710,7 @@ impl MseSourceBuffer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Aborted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4721,7 +4721,7 @@ impl MseSourceBuffer { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4732,7 +4732,7 @@ impl MseSourceBuffer { pub fn IsUpdating(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUpdating)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4740,14 +4740,14 @@ impl MseSourceBuffer { pub fn Buffered(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Buffered)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimestampOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimestampOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4758,7 +4758,7 @@ impl MseSourceBuffer { pub fn AppendWindowStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendWindowStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4769,7 +4769,7 @@ impl MseSourceBuffer { pub fn AppendWindowEnd(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendWindowEnd)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4839,7 +4839,7 @@ impl MseSourceBufferList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceBufferAdded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4853,7 +4853,7 @@ impl MseSourceBufferList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceBufferRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4865,7 +4865,7 @@ impl MseSourceBufferList { pub fn Buffers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Buffers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4901,7 +4901,7 @@ impl MseStreamSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opened)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4915,7 +4915,7 @@ impl MseStreamSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ended)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4929,7 +4929,7 @@ impl MseStreamSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4940,28 +4940,28 @@ impl MseStreamSource { pub fn SourceBuffers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceBuffers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActiveSourceBuffers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActiveSourceBuffers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadyState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadyState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4975,7 +4975,7 @@ impl MseStreamSource { pub fn AddSourceBuffer(&self, mimetype: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddSourceBuffer)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(mimetype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4993,7 +4993,7 @@ impl MseStreamSource { pub fn LiveSeekableRange(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LiveSeekableRange)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5006,7 +5006,7 @@ impl MseStreamSource { } pub fn IsContentTypeSupported(contenttype: &windows_core::HSTRING) -> windows_core::Result { Self::IMseStreamSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsContentTypeSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contenttype), &mut result__).map(|| result__) }) } @@ -5045,7 +5045,7 @@ impl SceneAnalysisEffect { pub fn HighDynamicRangeAnalyzer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighDynamicRangeAnalyzer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5056,7 +5056,7 @@ impl SceneAnalysisEffect { pub fn DesiredAnalysisInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredAnalysisInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5066,7 +5066,7 @@ impl SceneAnalysisEffect { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SceneAnalyzed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5108,7 +5108,7 @@ impl SceneAnalysisEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5116,7 +5116,7 @@ impl SceneAnalysisEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5151,14 +5151,14 @@ impl SceneAnalysisEffectFrame { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsReadOnly(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5172,7 +5172,7 @@ impl SceneAnalysisEffectFrame { pub fn RelativeTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5186,7 +5186,7 @@ impl SceneAnalysisEffectFrame { pub fn SystemRelativeTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5200,7 +5200,7 @@ impl SceneAnalysisEffectFrame { pub fn Duration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5211,7 +5211,7 @@ impl SceneAnalysisEffectFrame { pub fn IsDiscontinuous(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDiscontinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5219,7 +5219,7 @@ impl SceneAnalysisEffectFrame { pub fn ExtendedProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5227,21 +5227,21 @@ impl SceneAnalysisEffectFrame { pub fn FrameControlValues(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameControlValues)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HighDynamicRange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighDynamicRange)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AnalysisRecommendation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnalysisRecommendation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5266,7 +5266,7 @@ impl SceneAnalyzedEventArgs { pub fn ResultFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResultFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5303,7 +5303,7 @@ impl SpeechCue { pub fn StartTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5314,7 +5314,7 @@ impl SpeechCue { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5325,14 +5325,14 @@ impl SpeechCue { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5343,7 +5343,7 @@ impl SpeechCue { pub fn StartPositionInInput(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPositionInInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5357,7 +5357,7 @@ impl SpeechCue { pub fn EndPositionInInput(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndPositionInInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5390,7 +5390,7 @@ impl TimedMetadataStreamDescriptor { pub fn IsSelected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5401,7 +5401,7 @@ impl TimedMetadataStreamDescriptor { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5412,7 +5412,7 @@ impl TimedMetadataStreamDescriptor { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5423,7 +5423,7 @@ impl TimedMetadataStreamDescriptor { pub fn Label(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5431,14 +5431,14 @@ impl TimedMetadataStreamDescriptor { pub fn EncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Copy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5448,7 +5448,7 @@ impl TimedMetadataStreamDescriptor { P0: windows_core::Param, { Self::ITimedMetadataStreamDescriptorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5479,21 +5479,21 @@ impl TimedMetadataTrack { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrackKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5504,7 +5504,7 @@ impl TimedMetadataTrack { pub fn Label(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5514,7 +5514,7 @@ impl TimedMetadataTrack { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CueEntered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5528,7 +5528,7 @@ impl TimedMetadataTrack { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CueExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5542,7 +5542,7 @@ impl TimedMetadataTrack { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackFailed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5554,7 +5554,7 @@ impl TimedMetadataTrack { pub fn Cues(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cues)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5562,21 +5562,21 @@ impl TimedMetadataTrack { pub fn ActiveCues(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActiveCues)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimedMetadataKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimedMetadataKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DispatchType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatchType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5598,20 +5598,20 @@ impl TimedMetadataTrack { pub fn PlaybackItem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(id: &windows_core::HSTRING, language: &windows_core::HSTRING, kind: TimedMetadataKind) -> windows_core::Result { Self::ITimedMetadataTrackFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(language), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5641,14 +5641,14 @@ impl TimedMetadataTrackError { pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5673,7 +5673,7 @@ impl TimedMetadataTrackFailedEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5698,7 +5698,7 @@ impl TimedTextBouten { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5710,7 +5710,7 @@ impl TimedTextBouten { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5722,7 +5722,7 @@ impl TimedTextBouten { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5763,7 +5763,7 @@ impl TimedTextCue { pub fn StartTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5774,7 +5774,7 @@ impl TimedTextCue { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5785,14 +5785,14 @@ impl TimedTextCue { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CueRegion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CueRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5806,7 +5806,7 @@ impl TimedTextCue { pub fn CueStyle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CueStyle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5821,7 +5821,7 @@ impl TimedTextCue { pub fn Lines(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lines)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5853,7 +5853,7 @@ impl TimedTextLine { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5865,7 +5865,7 @@ impl TimedTextLine { pub fn Subformats(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subformats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5897,7 +5897,7 @@ impl TimedTextRegion { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5908,7 +5908,7 @@ impl TimedTextRegion { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5919,7 +5919,7 @@ impl TimedTextRegion { pub fn Extent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Extent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5931,7 +5931,7 @@ impl TimedTextRegion { pub fn Background(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Background)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5943,7 +5943,7 @@ impl TimedTextRegion { pub fn WritingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WritingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5954,7 +5954,7 @@ impl TimedTextRegion { pub fn DisplayAlignment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayAlignment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5965,7 +5965,7 @@ impl TimedTextRegion { pub fn LineHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5976,7 +5976,7 @@ impl TimedTextRegion { pub fn IsOverflowClipped(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverflowClipped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5987,7 +5987,7 @@ impl TimedTextRegion { pub fn Padding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Padding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5998,7 +5998,7 @@ impl TimedTextRegion { pub fn TextWrapping(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextWrapping)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6009,7 +6009,7 @@ impl TimedTextRegion { pub fn ZIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6020,7 +6020,7 @@ impl TimedTextRegion { pub fn ScrollMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScrollMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6049,7 +6049,7 @@ impl TimedTextRuby { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6060,7 +6060,7 @@ impl TimedTextRuby { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6071,7 +6071,7 @@ impl TimedTextRuby { pub fn Align(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Align)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6082,7 +6082,7 @@ impl TimedTextRuby { pub fn Reserve(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reserve)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6114,7 +6114,7 @@ impl TimedTextSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Resolved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6128,7 +6128,7 @@ impl TimedTextSource { P0: windows_core::Param, { Self::ITimedTextSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStream)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6137,7 +6137,7 @@ impl TimedTextSource { P0: windows_core::Param, { Self::ITimedTextSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromUri)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6147,7 +6147,7 @@ impl TimedTextSource { P0: windows_core::Param, { Self::ITimedTextSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStreamWithLanguage)(windows_core::Interface::as_raw(this), stream.param().abi(), core::mem::transmute_copy(defaultlanguage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6156,7 +6156,7 @@ impl TimedTextSource { P0: windows_core::Param, { Self::ITimedTextSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromUriWithLanguage)(windows_core::Interface::as_raw(this), uri.param().abi(), core::mem::transmute_copy(defaultlanguage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6167,7 +6167,7 @@ impl TimedTextSource { P1: windows_core::Param, { Self::ITimedTextSourceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStreamWithIndex)(windows_core::Interface::as_raw(this), stream.param().abi(), indexstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6177,7 +6177,7 @@ impl TimedTextSource { P1: windows_core::Param, { Self::ITimedTextSourceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromUriWithIndex)(windows_core::Interface::as_raw(this), uri.param().abi(), indexuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6188,7 +6188,7 @@ impl TimedTextSource { P1: windows_core::Param, { Self::ITimedTextSourceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStreamWithIndexAndLanguage)(windows_core::Interface::as_raw(this), stream.param().abi(), indexstream.param().abi(), core::mem::transmute_copy(defaultlanguage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6198,7 +6198,7 @@ impl TimedTextSource { P1: windows_core::Param, { Self::ITimedTextSourceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromUriWithIndexAndLanguage)(windows_core::Interface::as_raw(this), uri.param().abi(), indexuri.param().abi(), core::mem::transmute_copy(defaultlanguage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6233,7 +6233,7 @@ impl TimedTextSourceResolveResultEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6241,7 +6241,7 @@ impl TimedTextSourceResolveResultEventArgs { pub fn Tracks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6273,7 +6273,7 @@ impl TimedTextStyle { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6284,7 +6284,7 @@ impl TimedTextStyle { pub fn FontFamily(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontFamily)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6295,7 +6295,7 @@ impl TimedTextStyle { pub fn FontSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6306,7 +6306,7 @@ impl TimedTextStyle { pub fn FontWeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontWeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6318,7 +6318,7 @@ impl TimedTextStyle { pub fn Foreground(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Foreground)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6331,7 +6331,7 @@ impl TimedTextStyle { pub fn Background(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Background)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6343,7 +6343,7 @@ impl TimedTextStyle { pub fn IsBackgroundAlwaysShown(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBackgroundAlwaysShown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6354,7 +6354,7 @@ impl TimedTextStyle { pub fn FlowDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlowDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6365,7 +6365,7 @@ impl TimedTextStyle { pub fn LineAlignment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineAlignment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6377,7 +6377,7 @@ impl TimedTextStyle { pub fn OutlineColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutlineColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6389,7 +6389,7 @@ impl TimedTextStyle { pub fn OutlineThickness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutlineThickness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6400,7 +6400,7 @@ impl TimedTextStyle { pub fn OutlineRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutlineRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6411,7 +6411,7 @@ impl TimedTextStyle { pub fn FontStyle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontStyle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6422,7 +6422,7 @@ impl TimedTextStyle { pub fn IsUnderlineEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUnderlineEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6433,7 +6433,7 @@ impl TimedTextStyle { pub fn IsLineThroughEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLineThroughEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6444,7 +6444,7 @@ impl TimedTextStyle { pub fn IsOverlineEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverlineEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6455,21 +6455,21 @@ impl TimedTextStyle { pub fn Ruby(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ruby)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Bouten(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bouten)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsTextCombined(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTextCombined)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6480,7 +6480,7 @@ impl TimedTextStyle { pub fn FontAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6516,7 +6516,7 @@ impl TimedTextSubformat { pub fn StartIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6527,7 +6527,7 @@ impl TimedTextSubformat { pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6538,7 +6538,7 @@ impl TimedTextSubformat { pub fn SubformatStyle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubformatStyle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6583,7 +6583,7 @@ impl VideoStabilizationEffect { pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6593,7 +6593,7 @@ impl VideoStabilizationEffect { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6609,7 +6609,7 @@ impl VideoStabilizationEffect { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecommendedStreamConfiguration)(windows_core::Interface::as_raw(this), controller.param().abi(), desiredproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6647,7 +6647,7 @@ impl VideoStabilizationEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6655,7 +6655,7 @@ impl VideoStabilizationEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6685,7 +6685,7 @@ impl VideoStabilizationEffectEnabledChangedEventArgs { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6711,7 +6711,7 @@ impl VideoStreamDescriptor { pub fn IsSelected(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6722,7 +6722,7 @@ impl VideoStreamDescriptor { pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6733,7 +6733,7 @@ impl VideoStreamDescriptor { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6744,7 +6744,7 @@ impl VideoStreamDescriptor { pub fn Label(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6752,14 +6752,14 @@ impl VideoStreamDescriptor { pub fn EncodingProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Copy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6769,7 +6769,7 @@ impl VideoStreamDescriptor { P0: windows_core::Param, { Self::IVideoStreamDescriptorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), encodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6800,21 +6800,21 @@ impl VideoTrack { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrackKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6825,7 +6825,7 @@ impl VideoTrack { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6835,7 +6835,7 @@ impl VideoTrack { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenFailed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6847,7 +6847,7 @@ impl VideoTrack { pub fn GetEncodingProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6855,21 +6855,21 @@ impl VideoTrack { pub fn PlaybackItem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SupportInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6894,7 +6894,7 @@ impl VideoTrackOpenFailedEventArgs { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6919,14 +6919,14 @@ impl VideoTrackSupportInfo { pub fn DecoderStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecoderStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MediaSourceStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSourceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 a1e3660439..ef0ba5ad0a 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs @@ -290,7 +290,7 @@ impl CameraIntrinsics { pub fn FocalLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocalLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -298,7 +298,7 @@ impl CameraIntrinsics { pub fn PrincipalPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrincipalPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -306,7 +306,7 @@ impl CameraIntrinsics { pub fn RadialDistortion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RadialDistortion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -314,21 +314,21 @@ impl CameraIntrinsics { pub fn TangentialDistortion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TangentialDistortion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ImageWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ImageHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -336,7 +336,7 @@ impl CameraIntrinsics { pub fn ProjectOntoFrame(&self, coordinate: super::super::super::Foundation::Numerics::Vector3) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProjectOntoFrame)(windows_core::Interface::as_raw(this), coordinate, &mut result__).map(|| result__) } } @@ -344,7 +344,7 @@ impl CameraIntrinsics { pub fn UnprojectAtUnitDepth(&self, pixelcoordinate: super::super::super::Foundation::Point) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprojectAtUnitDepth)(windows_core::Interface::as_raw(this), pixelcoordinate, &mut result__).map(|| result__) } } @@ -362,14 +362,14 @@ impl CameraIntrinsics { pub fn UndistortedProjectionTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UndistortedProjectionTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DistortPoint(&self, input: super::super::super::Foundation::Point) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistortPoint)(windows_core::Interface::as_raw(this), input, &mut result__).map(|| result__) } } @@ -380,7 +380,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UndistortPoint)(windows_core::Interface::as_raw(this), input, &mut result__).map(|| result__) } } @@ -391,7 +391,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), focallength, principalpoint, radialdistortion, tangentialdistortion, imagewidth, imageheight, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -430,7 +430,7 @@ impl DepthCorrelatedCoordinateMapper { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprojectPoint)(windows_core::Interface::as_raw(this), sourcepoint, targetcoordinatesystem.param().abi(), &mut result__).map(|| result__) } } @@ -450,7 +450,7 @@ impl DepthCorrelatedCoordinateMapper { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapPoint)(windows_core::Interface::as_raw(this), sourcepoint, targetcoordinatesystem.param().abi(), targetcameraintrinsics.param().abi(), &mut result__).map(|| result__) } } @@ -484,42 +484,42 @@ impl FrameControlCapabilities { pub fn Exposure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exposure)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExposureCompensation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExposureCompensation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsoSpeed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsoSpeed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Focus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Focus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhotoConfirmationSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoConfirmationSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Flash(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Flash)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -549,35 +549,35 @@ impl FrameController { pub fn ExposureControl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExposureControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExposureCompensationControl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExposureCompensationControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsoSpeedControl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsoSpeedControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FocusControl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocusControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhotoConfirmationEnabled(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoConfirmationEnabled)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -591,7 +591,7 @@ impl FrameController { pub fn FlashControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlashControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -616,28 +616,28 @@ impl FrameExposureCapabilities { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -660,28 +660,28 @@ impl FrameExposureCompensationCapabilities { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -704,7 +704,7 @@ impl FrameExposureCompensationControl { pub fn Value(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -734,7 +734,7 @@ impl FrameExposureControl { pub fn Auto(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Auto)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -745,7 +745,7 @@ impl FrameExposureControl { pub fn Value(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -775,21 +775,21 @@ impl FrameFlashCapabilities { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RedEyeReductionSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedEyeReductionSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PowerSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -812,7 +812,7 @@ impl FrameFlashControl { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -823,7 +823,7 @@ impl FrameFlashControl { pub fn Auto(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Auto)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -834,7 +834,7 @@ impl FrameFlashControl { pub fn RedEyeReduction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedEyeReduction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -845,7 +845,7 @@ impl FrameFlashControl { pub fn PowerPercent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerPercent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -872,28 +872,28 @@ impl FrameFocusCapabilities { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -916,7 +916,7 @@ impl FrameFocusControl { pub fn Value(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -946,28 +946,28 @@ impl FrameIsoSpeedCapabilities { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -990,7 +990,7 @@ impl FrameIsoSpeedControl { pub fn Auto(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Auto)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1001,7 +1001,7 @@ impl FrameIsoSpeedControl { pub fn Value(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1031,21 +1031,21 @@ impl VariablePhotoSequenceController { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxPhotosPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPhotosPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhotosPerSecondLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotosPerSecondLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1060,7 +1060,7 @@ impl VariablePhotoSequenceController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHighestConcurrentFrameRate)(windows_core::Interface::as_raw(this), captureproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1068,14 +1068,14 @@ impl VariablePhotoSequenceController { pub fn GetCurrentFrameRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentFrameRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FrameCapabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameCapabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1083,7 +1083,7 @@ impl VariablePhotoSequenceController { pub fn DesiredFrameControllers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredFrameControllers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Media/Devices/impl.rs b/crates/libs/windows/src/Windows/Media/Devices/impl.rs index 10013b45e2..699d708130 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/impl.rs @@ -7,7 +7,7 @@ impl windows_core::RuntimeName for IDefaultAudioDeviceChangedEventArgs { } impl IDefaultAudioDeviceChangedEventArgs_Vtbl { pub const fn new, Impl: IDefaultAudioDeviceChangedEventArgs_Impl, const OFFSET: isize>() -> IDefaultAudioDeviceChangedEventArgs_Vtbl { - unsafe extern "system" fn Id, Impl: IDefaultAudioDeviceChangedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IDefaultAudioDeviceChangedEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDefaultAudioDeviceChangedEventArgs_Impl::Id(this) { diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index e6a8b70d68..742f21b9e3 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -32,8 +32,8 @@ impl windows_core::RuntimeType for IAdvancedVideoCaptureDeviceController { #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetDeviceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetDeviceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController10, IAdvancedVideoCaptureDeviceController10_Vtbl, 0xc621b82d_d6f0_5c1b_a388_a6e938407146); impl windows_core::RuntimeType for IAdvancedVideoCaptureDeviceController10 { @@ -52,7 +52,7 @@ impl windows_core::RuntimeType for IAdvancedVideoCaptureDeviceController11 { pub struct IAdvancedVideoCaptureDeviceController11_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Media_Capture")] - pub TryAcquireExclusiveControl: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Capture::MediaCaptureDeviceExclusiveControlReleaseMode, *mut bool) -> windows_core::HRESULT, + pub TryAcquireExclusiveControl: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Capture::MediaCaptureDeviceExclusiveControlReleaseMode, *mut bool) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Capture"))] TryAcquireExclusiveControl: usize, } @@ -112,9 +112,9 @@ impl windows_core::RuntimeType for IAdvancedVideoCaptureDeviceController5 { #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDevicePropertyById: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetDevicePropertyById: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut VideoDeviceControllerSetDevicePropertyStatus) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDevicePropertyById: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetDevicePropertyById: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut VideoDeviceControllerSetDevicePropertyStatus) -> windows_core::HRESULT, pub GetDevicePropertyByExtendedId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDevicePropertyByExtendedId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *const u8, *mut VideoDeviceControllerSetDevicePropertyStatus) -> windows_core::HRESULT, } @@ -173,8 +173,8 @@ impl windows_core::RuntimeType for IAudioDeviceModule { #[repr(C)] pub struct IAudioDeviceModule_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MajorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -206,7 +206,7 @@ pub struct IAudioDeviceModulesManager_Vtbl { pub ModuleNotificationReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveModuleNotificationReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub FindAllById: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllById: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllById: usize, #[cfg(feature = "Foundation_Collections")] @@ -221,7 +221,7 @@ impl windows_core::RuntimeType for IAudioDeviceModulesManagerFactory { #[repr(C)] pub struct IAudioDeviceModulesManagerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICallControl, ICallControl_Vtbl, 0xa520d0d6_ae8d_45db_8011_ca49d3b3e578); impl windows_core::RuntimeType for ICallControl { @@ -230,7 +230,7 @@ impl windows_core::RuntimeType for ICallControl { #[repr(C)] pub struct ICallControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IndicateNewIncomingCall: unsafe extern "system" fn(*mut core::ffi::c_void, bool, std::mem::MaybeUninit, *mut u64) -> windows_core::HRESULT, + pub IndicateNewIncomingCall: unsafe extern "system" fn(*mut core::ffi::c_void, bool, core::mem::MaybeUninit, *mut u64) -> windows_core::HRESULT, pub IndicateNewOutgoingCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub IndicateActiveCall: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub EndCall: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, @@ -256,7 +256,7 @@ impl windows_core::RuntimeType for ICallControlStatics { pub struct ICallControlStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICameraOcclusionInfo, ICameraOcclusionInfo_Vtbl, 0xaf6c4ad0_a84d_5db6_be58_a5da21cfe011); impl windows_core::RuntimeType for ICameraOcclusionInfo { @@ -293,7 +293,7 @@ windows_core::imp::define_interface!(IDefaultAudioDeviceChangedEventArgs, IDefau impl std::ops::Deref for IDefaultAudioDeviceChangedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDefaultAudioDeviceChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -301,14 +301,14 @@ impl IDefaultAudioDeviceChangedEventArgs { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Role(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Role)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -319,7 +319,7 @@ impl windows_core::RuntimeType for IDefaultAudioDeviceChangedEventArgs { #[repr(C)] pub struct IDefaultAudioDeviceChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Role: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioDeviceRole) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDialRequestedEventArgs, IDialRequestedEventArgs_Vtbl, 0x037b929e_953c_4286_8866_4f0f376c855a); @@ -695,7 +695,7 @@ windows_core::imp::define_interface!(IMediaDeviceController, IMediaDeviceControl impl std::ops::Deref for IMediaDeviceController { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaDeviceController, windows_core::IUnknown, windows_core::IInspectable); @@ -704,7 +704,7 @@ impl IMediaDeviceController { pub fn GetAvailableMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAvailableMediaStreamProperties)(windows_core::Interface::as_raw(this), mediastreamtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -712,7 +712,7 @@ impl IMediaDeviceController { pub fn GetMediaStreamProperties(&self, mediastreamtype: super::Capture::MediaStreamType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMediaStreamProperties)(windows_core::Interface::as_raw(this), mediastreamtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -723,7 +723,7 @@ impl IMediaDeviceController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetMediaStreamPropertiesAsync)(windows_core::Interface::as_raw(this), mediastreamtype, mediaencodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -754,11 +754,11 @@ impl windows_core::RuntimeType for IMediaDeviceStatics { #[repr(C)] pub struct IMediaDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetAudioCaptureSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAudioRenderSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetVideoCaptureSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDefaultAudioCaptureId: unsafe extern "system" fn(*mut core::ffi::c_void, AudioDeviceRole, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDefaultAudioRenderId: unsafe extern "system" fn(*mut core::ffi::c_void, AudioDeviceRole, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAudioCaptureSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAudioRenderSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetVideoCaptureSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefaultAudioCaptureId: unsafe extern "system" fn(*mut core::ffi::c_void, AudioDeviceRole, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefaultAudioRenderId: unsafe extern "system" fn(*mut core::ffi::c_void, AudioDeviceRole, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DefaultAudioCaptureDeviceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDefaultAudioCaptureDeviceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub DefaultAudioRenderDeviceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -1039,7 +1039,7 @@ impl AdvancedPhotoCaptureSettings { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1068,7 +1068,7 @@ impl AdvancedPhotoControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1076,14 +1076,14 @@ impl AdvancedPhotoControl { pub fn SupportedModes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedModes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1120,7 +1120,7 @@ impl AudioDeviceController { pub fn Muted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Muted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1131,7 +1131,7 @@ impl AudioDeviceController { pub fn VolumePercent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VolumePercent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1139,7 +1139,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAvailableMediaStreamProperties)(windows_core::Interface::as_raw(this), mediastreamtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1147,7 +1147,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMediaStreamProperties)(windows_core::Interface::as_raw(this), mediastreamtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1158,7 +1158,7 @@ impl AudioDeviceController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetMediaStreamPropertiesAsync)(windows_core::Interface::as_raw(this), mediastreamtype, mediaencodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1181,35 +1181,35 @@ impl AudioDeviceModule { pub fn ClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstanceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MajorVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MajorVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinorVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinorVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1220,7 +1220,7 @@ impl AudioDeviceModule { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendCommandAsync)(windows_core::Interface::as_raw(this), command.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1243,7 +1243,7 @@ impl AudioDeviceModuleNotificationEventArgs { pub fn Module(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Module)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1251,7 +1251,7 @@ impl AudioDeviceModuleNotificationEventArgs { pub fn NotificationData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotificationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1279,7 +1279,7 @@ impl AudioDeviceModulesManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModuleNotificationReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1291,7 +1291,7 @@ impl AudioDeviceModulesManager { pub fn FindAllById(&self, moduleid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllById)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(moduleid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1299,13 +1299,13 @@ impl AudioDeviceModulesManager { pub fn FindAll(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAll)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IAudioDeviceModulesManagerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1335,14 +1335,14 @@ impl CallControl { pub fn IndicateNewIncomingCall(&self, enableringer: bool, callerid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndicateNewIncomingCall)(windows_core::Interface::as_raw(this), enableringer, core::mem::transmute_copy(callerid), &mut result__).map(|| result__) } } pub fn IndicateNewOutgoingCall(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndicateNewOutgoingCall)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1357,7 +1357,7 @@ impl CallControl { pub fn HasRinger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasRinger)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1367,7 +1367,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnswerRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1381,7 +1381,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HangUpRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1395,7 +1395,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DialRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1409,7 +1409,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedialRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1423,7 +1423,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeypadPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1437,7 +1437,7 @@ impl CallControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioTransferRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1447,13 +1447,13 @@ impl CallControl { } pub fn GetDefault() -> windows_core::Result { Self::ICallControlStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::ICallControlStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1483,14 +1483,14 @@ impl CameraOcclusionInfo { pub fn GetState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetState)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsOcclusionKindSupported(&self, occlusionkind: CameraOcclusionKind) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOcclusionKindSupported)(windows_core::Interface::as_raw(this), occlusionkind, &mut result__).map(|| result__) } } @@ -1500,7 +1500,7 @@ impl CameraOcclusionInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1529,14 +1529,14 @@ impl CameraOcclusionState { pub fn IsOccluded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOccluded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOcclusionKind(&self, occlusionkind: CameraOcclusionKind) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOcclusionKind)(windows_core::Interface::as_raw(this), occlusionkind, &mut result__).map(|| result__) } } @@ -1561,7 +1561,7 @@ impl CameraOcclusionStateChangedEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1587,14 +1587,14 @@ impl DefaultAudioCaptureDeviceChangedEventArgs { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Role(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Role)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1620,14 +1620,14 @@ impl DefaultAudioRenderDeviceChangedEventArgs { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Role(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Role)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1656,7 +1656,7 @@ impl DialRequestedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1688,7 +1688,7 @@ impl DigitalWindowBounds { pub fn NormalizedOriginTop(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalizedOriginTop)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1699,7 +1699,7 @@ impl DigitalWindowBounds { pub fn NormalizedOriginLeft(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalizedOriginLeft)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1710,7 +1710,7 @@ impl DigitalWindowBounds { pub fn Scale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1739,42 +1739,42 @@ impl DigitalWindowCapability { pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinScaleValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinScaleValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxScaleValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxScaleValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinScaleValueWithoutUpsampling(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinScaleValueWithoutUpsampling)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NormalizedFieldOfViewLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalizedFieldOfViewLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1799,7 +1799,7 @@ impl DigitalWindowControl { pub fn IsSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1807,20 +1807,20 @@ impl DigitalWindowControl { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).SupportedModes)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn CurrentMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetBounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBounds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1839,14 +1839,14 @@ impl DigitalWindowControl { pub fn SupportedCapabilities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCapabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCapabilityForSize(&self, width: i32, height: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCapabilityForSize)(windows_core::Interface::as_raw(this), width, height, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1871,42 +1871,42 @@ impl ExposureCompensationControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetValueAsync(&self, value: f32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetValueAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1929,56 +1929,56 @@ impl ExposureControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Auto(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Auto)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetAutoAsync(&self, value: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAutoAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetValueAsync(&self, shutterduration: super::super::Foundation::TimeSpan) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetValueAsync)(windows_core::Interface::as_raw(this), shutterduration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2001,14 +2001,14 @@ impl ExposurePriorityVideoControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2037,28 +2037,28 @@ impl FlashControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PowerSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RedEyeReductionSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedEyeReductionSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2069,7 +2069,7 @@ impl FlashControl { pub fn Auto(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Auto)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2080,7 +2080,7 @@ impl FlashControl { pub fn RedEyeReduction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedEyeReduction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2091,7 +2091,7 @@ impl FlashControl { pub fn PowerPercent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerPercent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2102,14 +2102,14 @@ impl FlashControl { pub fn AssistantLightSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AssistantLightSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AssistantLightEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AssistantLightEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2136,7 +2136,7 @@ impl FocusControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2144,84 +2144,84 @@ impl FocusControl { pub fn SupportedPresets(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedPresets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Preset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Preset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetPresetAsync(&self, preset: FocusPreset) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPresetAsync)(windows_core::Interface::as_raw(this), preset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetPresetWithCompletionOptionAsync(&self, preset: FocusPreset, completebeforefocus: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPresetWithCompletionOptionAsync)(windows_core::Interface::as_raw(this), preset, completebeforefocus, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetValueAsync(&self, focus: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetValueAsync)(windows_core::Interface::as_raw(this), focus, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FocusAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocusAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FocusChangedSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocusChangedSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WaitForFocusSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WaitForFocusSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2229,7 +2229,7 @@ impl FocusControl { pub fn SupportedFocusModes(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedFocusModes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2237,7 +2237,7 @@ impl FocusControl { pub fn SupportedFocusDistances(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedFocusDistances)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2245,35 +2245,35 @@ impl FocusControl { pub fn SupportedFocusRanges(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedFocusRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Mode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FocusState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocusState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UnlockAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnlockAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LockAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2310,7 +2310,7 @@ impl FocusSettings { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2321,7 +2321,7 @@ impl FocusSettings { pub fn AutoFocusRange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoFocusRange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2332,7 +2332,7 @@ impl FocusSettings { pub fn Value(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2346,7 +2346,7 @@ impl FocusSettings { pub fn Distance(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Distance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2360,7 +2360,7 @@ impl FocusSettings { pub fn WaitForFocus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WaitForFocus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2371,7 +2371,7 @@ impl FocusSettings { pub fn DisableDriverFallback(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableDriverFallback)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2400,7 +2400,7 @@ impl HdrVideoControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2408,14 +2408,14 @@ impl HdrVideoControl { pub fn SupportedModes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedModes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2444,7 +2444,7 @@ impl InfraredTorchControl { pub fn IsSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2452,14 +2452,14 @@ impl InfraredTorchControl { pub fn SupportedModes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedModes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2470,28 +2470,28 @@ impl InfraredTorchControl { pub fn MinPower(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinPower)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxPower(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPower)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PowerStep(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerStep)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Power(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Power)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2520,7 +2520,7 @@ impl IsoSpeedControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2528,7 +2528,7 @@ impl IsoSpeedControl { pub fn SupportedPresets(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedPresets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2536,7 +2536,7 @@ impl IsoSpeedControl { pub fn Preset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Preset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2544,56 +2544,56 @@ impl IsoSpeedControl { pub fn SetPresetAsync(&self, preset: IsoSpeedPreset) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPresetAsync)(windows_core::Interface::as_raw(this), preset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Min(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetValueAsync(&self, isospeed: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetValueAsync)(windows_core::Interface::as_raw(this), isospeed, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Auto(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Auto)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetAutoAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAutoAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2616,7 +2616,7 @@ impl KeypadPressedEventArgs { pub fn TelephonyKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TelephonyKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2645,7 +2645,7 @@ impl LowLagPhotoControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHighestConcurrentFrameRate)(windows_core::Interface::as_raw(this), captureproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2653,14 +2653,14 @@ impl LowLagPhotoControl { pub fn GetCurrentFrameRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentFrameRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ThumbnailEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThumbnailEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2672,7 +2672,7 @@ impl LowLagPhotoControl { pub fn ThumbnailFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThumbnailFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2684,7 +2684,7 @@ impl LowLagPhotoControl { pub fn DesiredThumbnailSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredThumbnailSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2695,7 +2695,7 @@ impl LowLagPhotoControl { pub fn HardwareAcceleratedThumbnailSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareAcceleratedThumbnailSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2718,28 +2718,28 @@ impl LowLagPhotoSequenceControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxPastPhotos(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPastPhotos)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxPhotosPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPhotosPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PastPhotoLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PastPhotoLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2750,7 +2750,7 @@ impl LowLagPhotoSequenceControl { pub fn PhotosPerSecondLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotosPerSecondLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2765,7 +2765,7 @@ impl LowLagPhotoSequenceControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHighestConcurrentFrameRate)(windows_core::Interface::as_raw(this), captureproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2773,14 +2773,14 @@ impl LowLagPhotoSequenceControl { pub fn GetCurrentFrameRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentFrameRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ThumbnailEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThumbnailEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2792,7 +2792,7 @@ impl LowLagPhotoSequenceControl { pub fn ThumbnailFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThumbnailFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2804,7 +2804,7 @@ impl LowLagPhotoSequenceControl { pub fn DesiredThumbnailSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredThumbnailSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2815,7 +2815,7 @@ impl LowLagPhotoSequenceControl { pub fn HardwareAcceleratedThumbnailSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareAcceleratedThumbnailSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2834,31 +2834,31 @@ pub struct MediaDevice; impl MediaDevice { pub fn GetAudioCaptureSelector() -> windows_core::Result { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioCaptureSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetAudioRenderSelector() -> windows_core::Result { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioRenderSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetVideoCaptureSelector() -> windows_core::Result { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVideoCaptureSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAudioCaptureId(role: AudioDeviceRole) -> windows_core::Result { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAudioCaptureId)(windows_core::Interface::as_raw(this), role, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefaultAudioRenderId(role: AudioDeviceRole) -> windows_core::Result { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultAudioRenderId)(windows_core::Interface::as_raw(this), role, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2867,7 +2867,7 @@ impl MediaDevice { P0: windows_core::Param>, { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultAudioCaptureDeviceChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -2879,7 +2879,7 @@ impl MediaDevice { P0: windows_core::Param>, { Self::IMediaDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultAudioRenderDeviceChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -2903,35 +2903,35 @@ impl MediaDeviceControl { pub fn Capabilities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetValue(&self, value: &mut f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetValue)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn TrySetValue(&self, value: f64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetValue)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn TryGetAuto(&self, value: &mut bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAuto)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } pub fn TrySetAuto(&self, value: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetAuto)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -2954,42 +2954,42 @@ impl MediaDeviceControlCapabilities { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Default(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Default)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AutoModeSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoModeSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3012,7 +3012,7 @@ impl ModuleCommandResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3020,7 +3020,7 @@ impl ModuleCommandResult { pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3043,7 +3043,7 @@ impl OpticalImageStabilizationControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3051,14 +3051,14 @@ impl OpticalImageStabilizationControl { pub fn SupportedModes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedModes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3087,7 +3087,7 @@ impl PanelBasedOptimizationControl { pub fn IsSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3095,7 +3095,7 @@ impl PanelBasedOptimizationControl { pub fn Panel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Panel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3125,14 +3125,14 @@ impl PhotoConfirmationControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3144,7 +3144,7 @@ impl PhotoConfirmationControl { pub fn PixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3201,7 +3201,7 @@ impl RegionOfInterest { pub fn AutoFocusEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoFocusEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3212,7 +3212,7 @@ impl RegionOfInterest { pub fn AutoWhiteBalanceEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoWhiteBalanceEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3223,7 +3223,7 @@ impl RegionOfInterest { pub fn AutoExposureEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoExposureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3234,7 +3234,7 @@ impl RegionOfInterest { pub fn Bounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3245,7 +3245,7 @@ impl RegionOfInterest { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3256,7 +3256,7 @@ impl RegionOfInterest { pub fn BoundsNormalized(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundsNormalized)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3267,7 +3267,7 @@ impl RegionOfInterest { pub fn Weight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Weight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3296,7 +3296,7 @@ impl RegionsOfInterestControl { pub fn MaxRegions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxRegions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3307,7 +3307,7 @@ impl RegionsOfInterestControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetRegionsAsync)(windows_core::Interface::as_raw(this), regions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3318,35 +3318,35 @@ impl RegionsOfInterestControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetRegionsWithLockAsync)(windows_core::Interface::as_raw(this), regions.param().abi(), lockvalues, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearRegionsAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearRegionsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AutoFocusSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoFocusSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AutoWhiteBalanceSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoWhiteBalanceSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AutoExposureSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoExposureSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3370,21 +3370,21 @@ impl SceneModeControl { pub fn SupportedModes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedModes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetValueAsync(&self, scenemode: CaptureSceneMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetValueAsync)(windows_core::Interface::as_raw(this), scenemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3407,21 +3407,21 @@ impl TorchControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PowerSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3432,7 +3432,7 @@ impl TorchControl { pub fn PowerPercent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerPercent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3467,14 +3467,14 @@ impl VideoDeviceController { pub fn GetDeviceProperty(&self, propertyid: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceProperty)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CameraOcclusionInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraOcclusionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3482,91 +3482,91 @@ impl VideoDeviceController { pub fn TryAcquireExclusiveControl(&self, deviceid: &windows_core::HSTRING, mode: super::Capture::MediaCaptureDeviceExclusiveControlReleaseMode) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAcquireExclusiveControl)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), mode, &mut result__).map(|| result__) } } pub fn LowLagPhotoSequence(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LowLagPhotoSequence)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LowLagPhoto(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LowLagPhoto)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SceneModeControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SceneModeControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TorchControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TorchControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlashControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlashControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WhiteBalanceControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WhiteBalanceControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExposureControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExposureControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FocusControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocusControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExposureCompensationControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExposureCompensationControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsoSpeedControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsoSpeedControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RegionsOfInterestControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegionsOfInterestControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrimaryUse(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryUse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3578,35 +3578,35 @@ impl VideoDeviceController { pub fn VariablePhotoSequenceController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VariablePhotoSequenceController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhotoConfirmationControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotoConfirmationControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ZoomControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZoomControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExposurePriorityVideoControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExposurePriorityVideoControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DesiredOptimization(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredOptimization)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3617,28 +3617,28 @@ impl VideoDeviceController { pub fn HdrVideoControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HdrVideoControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpticalImageStabilizationControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpticalImageStabilizationControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AdvancedPhotoControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvancedPhotoControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3648,7 +3648,7 @@ impl VideoDeviceController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDevicePropertyById)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyid), maxpropertyvaluesize.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3658,7 +3658,7 @@ impl VideoDeviceController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDevicePropertyById)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyid), propertyvalue.param().abi(), &mut result__).map(|| result__) } } @@ -3668,42 +3668,42 @@ impl VideoDeviceController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDevicePropertyByExtendedId)(windows_core::Interface::as_raw(this), extendedpropertyid.len().try_into().unwrap(), extendedpropertyid.as_ptr(), maxpropertyvaluesize.param().abi(), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDevicePropertyByExtendedId)(windows_core::Interface::as_raw(this), extendedpropertyid.len().try_into().unwrap(), extendedpropertyid.as_ptr(), propertyvalue.len().try_into().unwrap(), propertyvalue.as_ptr(), &mut result__).map(|| result__) } } pub fn VideoTemporalDenoisingControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoTemporalDenoisingControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InfraredTorchControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InfraredTorchControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PanelBasedOptimizationControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PanelBasedOptimizationControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DigitalWindowControl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DigitalWindowControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3711,7 +3711,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAvailableMediaStreamProperties)(windows_core::Interface::as_raw(this), mediastreamtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3719,7 +3719,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMediaStreamProperties)(windows_core::Interface::as_raw(this), mediastreamtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3730,84 +3730,84 @@ impl VideoDeviceController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetMediaStreamPropertiesAsync)(windows_core::Interface::as_raw(this), mediastreamtype, mediaencodingproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Brightness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Brightness)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Contrast(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contrast)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Hue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WhiteBalance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WhiteBalance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BacklightCompensation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BacklightCompensation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Pan(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pan)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Tilt(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tilt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Zoom(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Zoom)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Roll(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Roll)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Exposure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exposure)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Focus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Focus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3815,7 +3815,7 @@ impl VideoDeviceController { pub fn TrySetPowerlineFrequency(&self, value: super::Capture::PowerlineFrequency) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetPowerlineFrequency)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -3823,7 +3823,7 @@ impl VideoDeviceController { pub fn TryGetPowerlineFrequency(&self, value: &mut super::Capture::PowerlineFrequency) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetPowerlineFrequency)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -3846,14 +3846,14 @@ impl VideoDeviceControllerGetDevicePropertyResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3878,7 +3878,7 @@ impl VideoTemporalDenoisingControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3886,14 +3886,14 @@ impl VideoTemporalDenoisingControl { pub fn SupportedModes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedModes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3922,56 +3922,56 @@ impl WhiteBalanceControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Preset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Preset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetPresetAsync(&self, preset: ColorTemperaturePreset) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPresetAsync)(windows_core::Interface::as_raw(this), preset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetValueAsync(&self, temperature: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetValueAsync)(windows_core::Interface::as_raw(this), temperature, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3994,35 +3994,35 @@ impl ZoomControl { pub fn Supported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Supported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Step(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Step)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4034,14 +4034,14 @@ impl ZoomControl { pub fn SupportedModes(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedModes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Mode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4078,7 +4078,7 @@ impl ZoomSettings { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4089,7 +4089,7 @@ impl ZoomSettings { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs index d9d83a3bff..122a453071 100644 --- a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for IDialApp { #[repr(C)] pub struct IDialApp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RequestLaunchAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AppName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestLaunchAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StopAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAppStateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -18,7 +18,7 @@ impl windows_core::RuntimeType for IDialAppStateDetails { pub struct IDialAppStateDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DialAppState) -> windows_core::HRESULT, - pub FullXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FullXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDialDevice, IDialDevice_Vtbl, 0xfff0edaf_759f_41d2_a20a_7f29ce0b3784); impl windows_core::RuntimeType for IDialDevice { @@ -27,8 +27,8 @@ impl windows_core::RuntimeType for IDialDevice { #[repr(C)] pub struct IDialDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDialApp: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDialApp: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDialDevice2, IDialDevice2_Vtbl, 0xbab7f3d5_5bfb_4eba_8b32_b57c5c5ee5c9); impl windows_core::RuntimeType for IDialDevice2 { @@ -37,7 +37,7 @@ impl windows_core::RuntimeType for IDialDevice2 { #[repr(C)] pub struct IDialDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Thumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -102,8 +102,8 @@ impl windows_core::RuntimeType for IDialDeviceStatics { #[repr(C)] pub struct IDialDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Devices_Enumeration")] pub DeviceInfoSupportsDialAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Enumeration"))] @@ -160,28 +160,28 @@ impl DialApp { pub fn AppName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestLaunchAsync(&self, appargument: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestLaunchAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appargument), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAppStateAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppStateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -206,14 +206,14 @@ impl DialAppStateDetails { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FullXml(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FullXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -238,21 +238,21 @@ impl DialDevice { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDialApp(&self, appname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDialApp)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FriendlyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -260,19 +260,19 @@ impl DialDevice { pub fn Thumbnail(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelector(appname: &windows_core::HSTRING) -> windows_core::Result { Self::IDialDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromIdAsync(value: &windows_core::HSTRING) -> windows_core::Result> { Self::IDialDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -282,7 +282,7 @@ impl DialDevice { P0: windows_core::Param, { Self::IDialDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInfoSupportsDialAsync)(windows_core::Interface::as_raw(this), device.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -319,7 +319,7 @@ impl DialDevicePicker { pub fn Filter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Filter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -327,7 +327,7 @@ impl DialDevicePicker { pub fn Appearance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Appearance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -337,7 +337,7 @@ impl DialDevicePicker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DialDeviceSelected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -351,7 +351,7 @@ impl DialDevicePicker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisconnectButtonClicked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -365,7 +365,7 @@ impl DialDevicePicker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DialDevicePickerDismissed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -385,7 +385,7 @@ impl DialDevicePicker { pub fn PickSingleDialDeviceAsync(&self, selection: super::super::Foundation::Rect) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleDialDeviceAsync)(windows_core::Interface::as_raw(this), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -393,7 +393,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleDialDeviceAsyncWithPlacement)(windows_core::Interface::as_raw(this), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -430,7 +430,7 @@ impl DialDevicePickerFilter { pub fn SupportedAppNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedAppNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -455,7 +455,7 @@ impl DialDeviceSelectedEventArgs { pub fn SelectedDialDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedDialDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -480,7 +480,7 @@ impl DialDisconnectButtonClickedEventArgs { pub fn Device(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Device)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -506,7 +506,7 @@ impl DialReceiverApp { pub fn GetAdditionalDataAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAdditionalDataAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -517,20 +517,20 @@ impl DialReceiverApp { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAdditionalDataAsync)(windows_core::Interface::as_raw(this), additionaldata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetUniqueDeviceNameAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUniqueDeviceNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Current() -> windows_core::Result { Self::IDialReceiverAppStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 8a1841dd20..1e0f9c2ce9 100644 --- a/crates/libs/windows/src/Windows/Media/Editing/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Editing/mod.rs @@ -278,7 +278,7 @@ impl BackgroundAudioTrack { pub fn TrimTimeFromStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimTimeFromStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -289,7 +289,7 @@ impl BackgroundAudioTrack { pub fn TrimTimeFromEnd(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimTimeFromEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -300,14 +300,14 @@ impl BackgroundAudioTrack { pub fn OriginalDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OriginalDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrimmedDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimmedDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -315,7 +315,7 @@ impl BackgroundAudioTrack { pub fn UserData(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -326,7 +326,7 @@ impl BackgroundAudioTrack { pub fn Delay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -337,14 +337,14 @@ impl BackgroundAudioTrack { pub fn Volume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Volume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -352,7 +352,7 @@ impl BackgroundAudioTrack { pub fn GetAudioEncodingProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioEncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -360,7 +360,7 @@ impl BackgroundAudioTrack { pub fn AudioEffectDefinitions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -369,7 +369,7 @@ impl BackgroundAudioTrack { P0: windows_core::Param, { Self::IBackgroundAudioTrackStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromEmbeddedAudioTrack)(windows_core::Interface::as_raw(this), embeddedaudiotrack.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -379,7 +379,7 @@ impl BackgroundAudioTrack { P0: windows_core::Param, { Self::IBackgroundAudioTrackStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -410,7 +410,7 @@ impl EmbeddedAudioTrack { pub fn GetAudioEncodingProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioEncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -435,7 +435,7 @@ impl MediaClip { pub fn TrimTimeFromStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimTimeFromStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -446,7 +446,7 @@ impl MediaClip { pub fn TrimTimeFromEnd(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimTimeFromEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -457,14 +457,14 @@ impl MediaClip { pub fn OriginalDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OriginalDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrimmedDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimmedDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -472,28 +472,28 @@ impl MediaClip { pub fn UserData(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartTimeInComposition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTimeInComposition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndTimeInComposition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndTimeInComposition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -501,14 +501,14 @@ impl MediaClip { pub fn EmbeddedAudioTracks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmbeddedAudioTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectedEmbeddedAudioTrackIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedEmbeddedAudioTrackIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -523,7 +523,7 @@ impl MediaClip { pub fn Volume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Volume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -531,7 +531,7 @@ impl MediaClip { pub fn GetVideoEncodingProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVideoEncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -539,7 +539,7 @@ impl MediaClip { pub fn AudioEffectDefinitions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -547,14 +547,14 @@ impl MediaClip { pub fn VideoEffectDefinitions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoEffectDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromColor)(windows_core::Interface::as_raw(this), color, originalduration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -564,7 +564,7 @@ impl MediaClip { P0: windows_core::Param, { Self::IMediaClipStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -574,7 +574,7 @@ impl MediaClip { P0: windows_core::Param, { Self::IMediaClipStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromImageFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), originalduration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -584,7 +584,7 @@ impl MediaClip { P0: windows_core::Param, { Self::IMediaClipStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromSurface)(windows_core::Interface::as_raw(this), surface.param().abi(), originalduration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -626,7 +626,7 @@ impl MediaComposition { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -634,7 +634,7 @@ impl MediaComposition { pub fn Clips(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clips)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -642,7 +642,7 @@ impl MediaComposition { pub fn BackgroundAudioTracks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundAudioTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -650,14 +650,14 @@ impl MediaComposition { pub fn UserData(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -668,7 +668,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -676,7 +676,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), timefromstart, scaledwidth, scaledheight, frameprecision, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -687,7 +687,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailsAsync)(windows_core::Interface::as_raw(this), timesfromstart.param().abi(), scaledwidth, scaledheight, frameprecision, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -698,7 +698,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderToFileAsync)(windows_core::Interface::as_raw(this), destination.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -709,7 +709,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderToFileWithTrimmingPreferenceAsync)(windows_core::Interface::as_raw(this), destination.param().abi(), trimmingpreference, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -721,7 +721,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderToFileWithProfileAsync)(windows_core::Interface::as_raw(this), destination.param().abi(), trimmingpreference, encodingprofile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -729,7 +729,7 @@ impl MediaComposition { pub fn CreateDefaultEncodingProfile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDefaultEncodingProfile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -737,7 +737,7 @@ impl MediaComposition { pub fn GenerateMediaStreamSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateMediaStreamSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -748,7 +748,7 @@ impl MediaComposition { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateMediaStreamSourceWithProfile)(windows_core::Interface::as_raw(this), encodingprofile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -756,7 +756,7 @@ impl MediaComposition { pub fn GeneratePreviewMediaStreamSource(&self, scaledwidth: i32, scaledheight: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GeneratePreviewMediaStreamSource)(windows_core::Interface::as_raw(this), scaledwidth, scaledheight, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -764,7 +764,7 @@ impl MediaComposition { pub fn OverlayLayers(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OverlayLayers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -774,7 +774,7 @@ impl MediaComposition { P0: windows_core::Param, { Self::IMediaCompositionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -804,7 +804,7 @@ impl MediaOverlay { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -819,14 +819,14 @@ impl MediaOverlay { pub fn Delay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Opacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -837,21 +837,21 @@ impl MediaOverlay { pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Clip(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AudioEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -864,7 +864,7 @@ impl MediaOverlay { P0: windows_core::Param, { Self::IMediaOverlayFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), clip.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -873,7 +873,7 @@ impl MediaOverlay { P0: windows_core::Param, { Self::IMediaOverlayFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithPositionAndOpacity)(windows_core::Interface::as_raw(this), clip.param().abi(), position, opacity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -910,7 +910,7 @@ impl MediaOverlayLayer { pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -918,7 +918,7 @@ impl MediaOverlayLayer { pub fn Overlays(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Overlays)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -926,7 +926,7 @@ impl MediaOverlayLayer { pub fn CustomCompositorDefinition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomCompositorDefinition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -936,7 +936,7 @@ impl MediaOverlayLayer { P0: windows_core::Param, { Self::IMediaOverlayLayerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithCompositorDefinition)(windows_core::Interface::as_raw(this), compositordefinition.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Media/Effects/impl.rs b/crates/libs/windows/src/Windows/Media/Effects/impl.rs index a621fe1e16..393d50f6ed 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/impl.rs @@ -10,7 +10,7 @@ impl windows_core::RuntimeName for IAudioEffectDefinition { #[cfg(feature = "Foundation_Collections")] impl IAudioEffectDefinition_Vtbl { pub const fn new, Impl: IAudioEffectDefinition_Impl, const OFFSET: isize>() -> IAudioEffectDefinition_Vtbl { - unsafe extern "system" fn ActivatableClassId, Impl: IAudioEffectDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ActivatableClassId, Impl: IAudioEffectDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAudioEffectDefinition_Impl::ActivatableClassId(this) { @@ -287,7 +287,7 @@ impl windows_core::RuntimeName for IVideoCompositorDefinition { #[cfg(feature = "Foundation_Collections")] impl IVideoCompositorDefinition_Vtbl { pub const fn new, Impl: IVideoCompositorDefinition_Impl, const OFFSET: isize>() -> IVideoCompositorDefinition_Vtbl { - unsafe extern "system" fn ActivatableClassId, Impl: IVideoCompositorDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ActivatableClassId, Impl: IVideoCompositorDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVideoCompositorDefinition_Impl::ActivatableClassId(this) { @@ -333,7 +333,7 @@ impl windows_core::RuntimeName for IVideoEffectDefinition { #[cfg(feature = "Foundation_Collections")] impl IVideoEffectDefinition_Vtbl { pub const fn new, Impl: IVideoEffectDefinition_Impl, const OFFSET: isize>() -> IVideoEffectDefinition_Vtbl { - unsafe extern "system" fn ActivatableClassId, Impl: IVideoEffectDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ActivatableClassId, Impl: IVideoEffectDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVideoEffectDefinition_Impl::ActivatableClassId(this) { diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index 9afc113edd..52fc9cd01a 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -25,7 +25,7 @@ windows_core::imp::define_interface!(IAudioEffectDefinition, IAudioEffectDefinit impl std::ops::Deref for IAudioEffectDefinition { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); @@ -33,7 +33,7 @@ impl IAudioEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -41,7 +41,7 @@ impl IAudioEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -52,7 +52,7 @@ impl windows_core::RuntimeType for IAudioEffectDefinition { #[repr(C)] pub struct IAudioEffectDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ActivatableClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActivatableClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -65,9 +65,9 @@ impl windows_core::RuntimeType for IAudioEffectDefinitionFactory { #[repr(C)] pub struct IAudioEffectDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub CreateWithProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWithProperties: usize, } @@ -79,19 +79,19 @@ impl windows_core::RuntimeType for IAudioEffectsManagerStatics { pub struct IAudioEffectsManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Media_Render")] - pub CreateAudioRenderEffectsManager: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Render::AudioRenderCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAudioRenderEffectsManager: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Render::AudioRenderCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Render"))] CreateAudioRenderEffectsManager: usize, #[cfg(feature = "Media_Render")] - pub CreateAudioRenderEffectsManagerWithMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Render::AudioRenderCategory, super::AudioProcessing, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAudioRenderEffectsManagerWithMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Render::AudioRenderCategory, super::AudioProcessing, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Render"))] CreateAudioRenderEffectsManagerWithMode: usize, #[cfg(feature = "Media_Capture")] - pub CreateAudioCaptureEffectsManager: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Capture::MediaCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAudioCaptureEffectsManager: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Capture::MediaCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Capture"))] CreateAudioCaptureEffectsManager: usize, #[cfg(feature = "Media_Capture")] - pub CreateAudioCaptureEffectsManagerWithMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Capture::MediaCategory, super::AudioProcessing, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAudioCaptureEffectsManagerWithMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Capture::MediaCategory, super::AudioProcessing, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Media_Capture"))] CreateAudioCaptureEffectsManagerWithMode: usize, } @@ -124,7 +124,7 @@ pub struct IAudioRenderEffectsManager2_Vtbl { #[cfg(not(all(feature = "Storage_Streams", feature = "deprecated")))] EffectsProviderThumbnail: usize, #[cfg(feature = "deprecated")] - pub EffectsProviderSettingsLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EffectsProviderSettingsLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] EffectsProviderSettingsLabel: usize, #[cfg(feature = "deprecated")] @@ -136,7 +136,7 @@ windows_core::imp::define_interface!(IBasicAudioEffect, IBasicAudioEffect_Vtbl, impl std::ops::Deref for IBasicAudioEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBasicAudioEffect, windows_core::IUnknown, windows_core::IInspectable); @@ -145,7 +145,7 @@ impl IBasicAudioEffect { pub fn UseInputFrameForOutput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UseInputFrameForOutput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -153,7 +153,7 @@ impl IBasicAudioEffect { pub fn SupportedEncodingProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedEncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -212,7 +212,7 @@ windows_core::imp::define_interface!(IBasicVideoEffect, IBasicVideoEffect_Vtbl, impl std::ops::Deref for IBasicVideoEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBasicVideoEffect, windows_core::IUnknown, windows_core::IInspectable); @@ -221,21 +221,21 @@ impl IBasicVideoEffect { pub fn IsReadOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SupportedMemoryTypes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedMemoryTypes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TimeIndependent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeIndependent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -243,7 +243,7 @@ impl IBasicVideoEffect { pub fn SupportedEncodingProperties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedEncodingProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -353,7 +353,7 @@ windows_core::imp::define_interface!(IVideoCompositor, IVideoCompositor_Vtbl, 0x impl std::ops::Deref for IVideoCompositor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVideoCompositor, windows_core::IUnknown, windows_core::IInspectable); @@ -362,7 +362,7 @@ impl IVideoCompositor { pub fn TimeIndependent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeIndependent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -418,7 +418,7 @@ windows_core::imp::define_interface!(IVideoCompositorDefinition, IVideoComposito impl std::ops::Deref for IVideoCompositorDefinition { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVideoCompositorDefinition, windows_core::IUnknown, windows_core::IInspectable); @@ -426,7 +426,7 @@ impl IVideoCompositorDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -434,7 +434,7 @@ impl IVideoCompositorDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -445,7 +445,7 @@ impl windows_core::RuntimeType for IVideoCompositorDefinition { #[repr(C)] pub struct IVideoCompositorDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ActivatableClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActivatableClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -458,9 +458,9 @@ impl windows_core::RuntimeType for IVideoCompositorDefinitionFactory { #[repr(C)] pub struct IVideoCompositorDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub CreateWithProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWithProperties: usize, } @@ -468,7 +468,7 @@ windows_core::imp::define_interface!(IVideoEffectDefinition, IVideoEffectDefinit impl std::ops::Deref for IVideoEffectDefinition { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVideoEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); @@ -476,7 +476,7 @@ impl IVideoEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -484,7 +484,7 @@ impl IVideoEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -495,7 +495,7 @@ impl windows_core::RuntimeType for IVideoEffectDefinition { #[repr(C)] pub struct IVideoEffectDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ActivatableClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActivatableClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -508,9 +508,9 @@ impl windows_core::RuntimeType for IVideoEffectDefinitionFactory { #[repr(C)] pub struct IVideoEffectDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub CreateWithProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWithProperties: usize, } @@ -614,7 +614,7 @@ impl AudioCaptureEffectsManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioCaptureEffectsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -626,7 +626,7 @@ impl AudioCaptureEffectsManager { pub fn GetAudioCaptureEffects(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioCaptureEffects)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -651,7 +651,7 @@ impl AudioEffect { pub fn AudioEffectType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEffectType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -677,7 +677,7 @@ impl AudioEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -685,13 +685,13 @@ impl AudioEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(activatableclassid: &windows_core::HSTRING) -> windows_core::Result { Self::IAudioEffectDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -701,7 +701,7 @@ impl AudioEffectDefinition { P0: windows_core::Param, { Self::IAudioEffectDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), props.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -728,28 +728,28 @@ impl AudioEffectsManager { #[cfg(feature = "Media_Render")] pub fn CreateAudioRenderEffectsManager(deviceid: &windows_core::HSTRING, category: super::Render::AudioRenderCategory) -> windows_core::Result { Self::IAudioEffectsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAudioRenderEffectsManager)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Media_Render")] pub fn CreateAudioRenderEffectsManagerWithMode(deviceid: &windows_core::HSTRING, category: super::Render::AudioRenderCategory, mode: super::AudioProcessing) -> windows_core::Result { Self::IAudioEffectsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAudioRenderEffectsManagerWithMode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), category, mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Media_Capture")] pub fn CreateAudioCaptureEffectsManager(deviceid: &windows_core::HSTRING, category: super::Capture::MediaCategory) -> windows_core::Result { Self::IAudioEffectsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAudioCaptureEffectsManager)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Media_Capture")] pub fn CreateAudioCaptureEffectsManagerWithMode(deviceid: &windows_core::HSTRING, category: super::Capture::MediaCategory, mode: super::AudioProcessing) -> windows_core::Result { Self::IAudioEffectsManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAudioCaptureEffectsManagerWithMode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), category, mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -773,7 +773,7 @@ impl AudioRenderEffectsManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioRenderEffectsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -785,7 +785,7 @@ impl AudioRenderEffectsManager { pub fn GetAudioRenderEffects(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioRenderEffects)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -793,7 +793,7 @@ impl AudioRenderEffectsManager { pub fn EffectsProviderThumbnail(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectsProviderThumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -801,7 +801,7 @@ impl AudioRenderEffectsManager { pub fn EffectsProviderSettingsLabel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EffectsProviderSettingsLabel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -832,21 +832,21 @@ impl CompositeVideoFrameContext { pub fn SurfacesToOverlay(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SurfacesToOverlay)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BackgroundFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OutputFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -857,7 +857,7 @@ impl CompositeVideoFrameContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOverlayForSurface)(windows_core::Interface::as_raw(this), surfacetooverlay.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -882,14 +882,14 @@ impl ProcessAudioFrameContext { pub fn InputFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OutputFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -914,14 +914,14 @@ impl ProcessVideoFrameContext { pub fn InputFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OutputFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputFrame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -954,7 +954,7 @@ impl SlowMotionEffectDefinition { pub fn TimeStretchRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeStretchRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -965,7 +965,7 @@ impl SlowMotionEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -973,7 +973,7 @@ impl SlowMotionEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -999,7 +999,7 @@ impl VideoCompositorDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1007,13 +1007,13 @@ impl VideoCompositorDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(activatableclassid: &windows_core::HSTRING) -> windows_core::Result { Self::IVideoCompositorDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1023,7 +1023,7 @@ impl VideoCompositorDefinition { P0: windows_core::Param, { Self::IVideoCompositorDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), props.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1054,7 +1054,7 @@ impl VideoEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1062,13 +1062,13 @@ impl VideoEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(activatableclassid: &windows_core::HSTRING) -> windows_core::Result { Self::IVideoEffectDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1078,7 +1078,7 @@ impl VideoEffectDefinition { P0: windows_core::Param, { Self::IVideoEffectDefinitionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activatableclassid), props.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1116,7 +1116,7 @@ impl VideoTransformEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatableClassId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1124,7 +1124,7 @@ impl VideoTransformEffectDefinition { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1132,7 +1132,7 @@ impl VideoTransformEffectDefinition { pub fn PaddingColor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PaddingColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1144,7 +1144,7 @@ impl VideoTransformEffectDefinition { pub fn OutputSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1155,7 +1155,7 @@ impl VideoTransformEffectDefinition { pub fn CropRectangle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CropRectangle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1167,7 +1167,7 @@ impl VideoTransformEffectDefinition { pub fn Rotation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rotation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1180,7 +1180,7 @@ impl VideoTransformEffectDefinition { pub fn Mirror(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mirror)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1198,14 +1198,14 @@ impl VideoTransformEffectDefinition { pub fn ProcessingAlgorithm(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessingAlgorithm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SphericalProjection(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SphericalProjection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1230,7 +1230,7 @@ impl VideoTransformSphericalProjection { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1242,7 +1242,7 @@ impl VideoTransformSphericalProjection { pub fn FrameFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1255,7 +1255,7 @@ impl VideoTransformSphericalProjection { pub fn ProjectionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProjectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1267,7 +1267,7 @@ impl VideoTransformSphericalProjection { pub fn HorizontalFieldOfViewInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HorizontalFieldOfViewInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1279,7 +1279,7 @@ impl VideoTransformSphericalProjection { pub fn ViewOrientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs index f99d05aa82..ca424a7cdd 100644 --- a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs @@ -115,7 +115,7 @@ impl DetectedFace { pub fn FaceBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FaceBox)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -144,7 +144,7 @@ impl FaceDetector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetectFacesAsync)(windows_core::Interface::as_raw(this), image.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -155,7 +155,7 @@ impl FaceDetector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetectFacesWithSearchAreaAsync)(windows_core::Interface::as_raw(this), image.param().abi(), searcharea, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -163,7 +163,7 @@ impl FaceDetector { pub fn MinDetectableFaceSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinDetectableFaceSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -176,7 +176,7 @@ impl FaceDetector { pub fn MaxDetectableFaceSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxDetectableFaceSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -187,27 +187,27 @@ impl FaceDetector { } pub fn CreateAsync() -> windows_core::Result> { Self::IFaceDetectorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub fn GetSupportedBitmapPixelFormats() -> windows_core::Result> { Self::IFaceDetectorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedBitmapPixelFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Graphics_Imaging")] pub fn IsBitmapPixelFormatSupported(bitmappixelformat: super::super::Graphics::Imaging::BitmapPixelFormat) -> windows_core::Result { Self::IFaceDetectorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBitmapPixelFormatSupported)(windows_core::Interface::as_raw(this), bitmappixelformat, &mut result__).map(|| result__) }) } pub fn IsSupported() -> windows_core::Result { Self::IFaceDetectorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -241,7 +241,7 @@ impl FaceTracker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessNextFrameAsync)(windows_core::Interface::as_raw(this), videoframe.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -249,7 +249,7 @@ impl FaceTracker { pub fn MinDetectableFaceSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinDetectableFaceSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -262,7 +262,7 @@ impl FaceTracker { pub fn MaxDetectableFaceSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxDetectableFaceSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -273,27 +273,27 @@ impl FaceTracker { } pub fn CreateAsync() -> windows_core::Result> { Self::IFaceTrackerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_Imaging"))] pub fn GetSupportedBitmapPixelFormats() -> windows_core::Result> { Self::IFaceTrackerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSupportedBitmapPixelFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Graphics_Imaging")] pub fn IsBitmapPixelFormatSupported(bitmappixelformat: super::super::Graphics::Imaging::BitmapPixelFormat) -> windows_core::Result { Self::IFaceTrackerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBitmapPixelFormatSupported)(windows_core::Interface::as_raw(this), bitmappixelformat, &mut result__).map(|| result__) }) } pub fn IsSupported() -> windows_core::Result { Self::IFaceTrackerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Import/mod.rs b/crates/libs/windows/src/Windows/Media/Import/mod.rs index f3bc68d9de..7dc7946104 100644 --- a/crates/libs/windows/src/Windows/Media/Import/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Import/mod.rs @@ -107,7 +107,7 @@ impl windows_core::RuntimeType for IPhotoImportItem { #[repr(C)] pub struct IPhotoImportItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ItemKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoImportContentType) -> windows_core::HRESULT, pub SizeInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, @@ -143,7 +143,7 @@ impl windows_core::RuntimeType for IPhotoImportItem2 { #[repr(C)] pub struct IPhotoImportItem2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoImportItemImportedEventArgs, IPhotoImportItemImportedEventArgs_Vtbl, 0x42cb2fdd_7d68_47b5_bc7c_ceb73e0c77dc); impl windows_core::RuntimeType for IPhotoImportItemImportedEventArgs { @@ -214,8 +214,8 @@ pub struct IPhotoImportSession_Vtbl { pub AppendSessionDateToDestinationFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetSubfolderCreationMode: unsafe extern "system" fn(*mut core::ffi::c_void, PhotoImportSubfolderCreationMode) -> windows_core::HRESULT, pub SubfolderCreationMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoImportSubfolderCreationMode) -> windows_core::HRESULT, - pub SetDestinationFileNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DestinationFileNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDestinationFileNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DestinationFileNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FindItemsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, PhotoImportContentTypeFilter, PhotoImportItemSelectionMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoImportSession2, IPhotoImportSession2_Vtbl, 0x2a526710_3ec6_469d_a375_2b9f4785391e); @@ -237,7 +237,7 @@ impl windows_core::RuntimeType for IPhotoImportSidecar { #[repr(C)] pub struct IPhotoImportSidecar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SizeInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub Date: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, } @@ -248,13 +248,13 @@ impl windows_core::RuntimeType for IPhotoImportSource { #[repr(C)] pub struct IPhotoImportSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Manufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Model: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConnectionProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Manufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Model: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectionProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ConnectionTransport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoImportConnectionTransport) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoImportSourceType) -> windows_core::HRESULT, pub PowerSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoImportPowerSource) -> windows_core::HRESULT, @@ -279,7 +279,7 @@ impl windows_core::RuntimeType for IPhotoImportSourceStatics { #[repr(C)] pub struct IPhotoImportSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage")] pub FromFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] @@ -292,9 +292,9 @@ impl windows_core::RuntimeType for IPhotoImportStorageMedium { #[repr(C)] pub struct IPhotoImportStorageMedium_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub StorageMediumType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoImportStorageMediumType) -> windows_core::HRESULT, pub SupportedAccessMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoImportAccessMode) -> windows_core::HRESULT, pub CapacityInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, @@ -308,7 +308,7 @@ impl windows_core::RuntimeType for IPhotoImportVideoSegment { #[repr(C)] pub struct IPhotoImportVideoSegment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SizeInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub Date: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Sibling: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -325,14 +325,14 @@ impl PhotoImportDeleteImportedItemsFromSourceResult { pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasSucceeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasSucceeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -340,77 +340,77 @@ impl PhotoImportDeleteImportedItemsFromSourceResult { pub fn DeletedItems(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeletedItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhotosCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotosCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhotosSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotosSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideosCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideosCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideosSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideosSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SidecarsCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidecarsCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SidecarsSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidecarsSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SiblingsCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SiblingsCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SiblingsSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SiblingsSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -435,14 +435,14 @@ impl PhotoImportFindItemsResult { pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasSucceeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasSucceeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -450,77 +450,77 @@ impl PhotoImportFindItemsResult { pub fn FoundItems(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FoundItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhotosCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotosCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhotosSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotosSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideosCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideosCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideosSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideosSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SidecarsCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidecarsCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SidecarsSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidecarsSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SiblingsCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SiblingsCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SiblingsSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SiblingsSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -535,7 +535,7 @@ impl PhotoImportFindItemsResult { pub fn SelectNewAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectNewAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -546,77 +546,77 @@ impl PhotoImportFindItemsResult { pub fn ImportMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedPhotosCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedPhotosCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedPhotosSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedPhotosSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedVideosCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedVideosCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedVideosSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedVideosSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedSidecarsCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedSidecarsCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedSidecarsSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedSidecarsSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedSiblingsCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedSiblingsCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedSiblingsSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedSiblingsSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedTotalCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedTotalCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectedTotalSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedTotalSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -626,7 +626,7 @@ impl PhotoImportFindItemsResult { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectionChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -637,7 +637,7 @@ impl PhotoImportFindItemsResult { pub fn ImportItemsAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -647,7 +647,7 @@ impl PhotoImportFindItemsResult { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemImported)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -680,14 +680,14 @@ impl PhotoImportImportItemsResult { pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasSucceeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasSucceeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -695,84 +695,84 @@ impl PhotoImportImportItemsResult { pub fn ImportedItems(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportedItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhotosCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotosCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhotosSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhotosSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideosCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideosCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VideosSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideosSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SidecarsCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidecarsCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SidecarsSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SidecarsSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SiblingsCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SiblingsCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SiblingsSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SiblingsSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeleteImportedItemsFromSourceAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteImportedItemsFromSourceAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -797,42 +797,42 @@ impl PhotoImportItem { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ItemKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Date(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Date)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Sibling(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -840,7 +840,7 @@ impl PhotoImportItem { pub fn Sidecars(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sidecars)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -848,14 +848,14 @@ impl PhotoImportItem { pub fn VideoSegments(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoSegments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSelected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -867,7 +867,7 @@ impl PhotoImportItem { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -875,7 +875,7 @@ impl PhotoImportItem { pub fn ImportedFileNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportedFileNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -883,14 +883,14 @@ impl PhotoImportItem { pub fn DeletedFileNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeletedFileNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -915,7 +915,7 @@ impl PhotoImportItemImportedEventArgs { pub fn ImportedItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportedItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -936,21 +936,21 @@ pub struct PhotoImportManager; impl PhotoImportManager { pub fn IsSupportedAsync() -> windows_core::Result> { Self::IPhotoImportManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupportedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllSourcesAsync() -> windows_core::Result>> { Self::IPhotoImportManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllSourcesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetPendingOperations() -> windows_core::Result> { Self::IPhotoImportManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPendingOperations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -971,35 +971,35 @@ impl PhotoImportOperation { pub fn Stage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContinueFindingItemsAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinueFindingItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContinueImportingItemsAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinueImportingItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContinueDeletingImportedItemsFromSourceAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinueDeletingImportedItemsFromSourceAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1024,7 +1024,7 @@ impl PhotoImportSelectionChangedEventArgs { pub fn IsSelectionEmpty(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSelectionEmpty)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1054,14 +1054,14 @@ impl PhotoImportSession { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SessionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1077,7 +1077,7 @@ impl PhotoImportSession { pub fn DestinationFolder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DestinationFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1088,7 +1088,7 @@ impl PhotoImportSession { pub fn AppendSessionDateToDestinationFolder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendSessionDateToDestinationFolder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1099,7 +1099,7 @@ impl PhotoImportSession { pub fn SubfolderCreationMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubfolderCreationMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1110,14 +1110,14 @@ impl PhotoImportSession { pub fn DestinationFileNamePrefix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DestinationFileNamePrefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FindItemsAsync(&self, contenttypefilter: PhotoImportContentTypeFilter, itemselectionmode: PhotoImportItemSelectionMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindItemsAsync)(windows_core::Interface::as_raw(this), contenttypefilter, itemselectionmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1128,7 +1128,7 @@ impl PhotoImportSession { pub fn SubfolderDateFormat(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubfolderDateFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1139,7 +1139,7 @@ impl PhotoImportSession { pub fn RememberDeselectedItems(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RememberDeselectedItems)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1164,21 +1164,21 @@ impl PhotoImportSidecar { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Date(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Date)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1203,84 +1203,84 @@ impl PhotoImportSource { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Manufacturer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Manufacturer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Model(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Model)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SerialNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SerialNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionProtocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionProtocol)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionTransport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionTransport)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PowerSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerSource)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BatteryLevelPercent(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BatteryLevelPercent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DateTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1288,21 +1288,21 @@ impl PhotoImportSource { pub fn StorageMedia(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorageMedia)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsLocked(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLocked)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsMassStorage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMassStorage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1310,20 +1310,20 @@ impl PhotoImportSource { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateImportSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateImportSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FromIdAsync(sourceid: &windows_core::HSTRING) -> windows_core::Result> { Self::IPhotoImportSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1333,7 +1333,7 @@ impl PhotoImportSource { P0: windows_core::Param, { Self::IPhotoImportSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromFolderAsync)(windows_core::Interface::as_raw(this), sourcerootfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1363,49 +1363,49 @@ impl PhotoImportStorageMedium { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SerialNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SerialNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StorageMediumType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorageMediumType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SupportedAccessMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedAccessMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CapacityInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapacityInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AvailableSpaceInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableSpaceInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1434,28 +1434,28 @@ impl PhotoImportVideoSegment { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Date(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Date)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Sibling(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sibling)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1463,7 +1463,7 @@ impl PhotoImportVideoSegment { pub fn Sidecars(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sidecars)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs index 376f8e2c05..b5990833f2 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs @@ -24,7 +24,7 @@ impl IMediaEncodingProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Type, Impl: IMediaEncodingProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Type, Impl: IMediaEncodingProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaEncodingProperties_Impl::Type(this) { @@ -36,12 +36,12 @@ impl IMediaEncodingProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSubtype, Impl: IMediaEncodingProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubtype, Impl: IMediaEncodingProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaEncodingProperties_Impl::SetSubtype(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Subtype, Impl: IMediaEncodingProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Subtype, Impl: IMediaEncodingProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaEncodingProperties_Impl::Subtype(this) { diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index f0a8909a95..f62513d21b 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -311,7 +311,7 @@ windows_core::imp::define_interface!(IMediaEncodingProperties, IMediaEncodingPro impl std::ops::Deref for IMediaEncodingProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaEncodingProperties, windows_core::IUnknown, windows_core::IInspectable); @@ -320,14 +320,14 @@ impl IMediaEncodingProperties { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -338,7 +338,7 @@ impl IMediaEncodingProperties { pub fn Subtype(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -353,9 +353,9 @@ pub struct IMediaEncodingProperties_Vtbl { pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubtype: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubtype: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics, IMediaEncodingSubtypesStatics_Vtbl, 0x37b6580e_a171_4464_ba5a_53189e48c1c8); impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics { @@ -364,46 +364,46 @@ impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics { #[repr(C)] pub struct IMediaEncodingSubtypesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Aac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AacAdts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ac3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AmrNb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AmrWb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Argb32: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Asf: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Avi: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Bgra8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Bmp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Eac3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Float: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Gif: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub H263: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub H264: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub H264Es: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Hevc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HevcEs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Iyuv: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Jpeg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub JpegXr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mjpg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mpeg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mpeg1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mpeg2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mp3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Mpeg4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Nv12: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Pcm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Png: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rgb24: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rgb32: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tiff: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Wave: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Wma8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Wma9: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Wmv3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Wvc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Yuy2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Yv12: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Aac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AacAdts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ac3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AmrNb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AmrWb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Argb32: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Asf: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Avi: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bgra8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bmp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Eac3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Float: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Gif: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub H263: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub H264: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub H264Es: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Hevc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HevcEs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Iyuv: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Jpeg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub JpegXr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mjpg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mpeg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mpeg1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mpeg2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mp3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Mpeg4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Nv12: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pcm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Png: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rgb24: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rgb32: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tiff: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Wave: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Wma8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Wma9: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Wmv3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Wvc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Yuy2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Yv12: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics2, IMediaEncodingSubtypesStatics2_Vtbl, 0x4b7cd23d_42ff_4d33_8531_0626bee4b52d); impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics2 { @@ -412,10 +412,10 @@ impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics2 { #[repr(C)] pub struct IMediaEncodingSubtypesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Vp9: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub L8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub L16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub D16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Vp9: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub L8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub L16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub D16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics3, IMediaEncodingSubtypesStatics3_Vtbl, 0xba2414e4_883d_464e_a44f_097da08ef7ff); impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics3 { @@ -424,8 +424,8 @@ impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics3 { #[repr(C)] pub struct IMediaEncodingSubtypesStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Alac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Flac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Alac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Flac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics4, IMediaEncodingSubtypesStatics4_Vtbl, 0xddece58a_3949_4644_8a2c_59ef02c642fa); impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics4 { @@ -434,7 +434,7 @@ impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics4 { #[repr(C)] pub struct IMediaEncodingSubtypesStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub P010: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub P010: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics5, IMediaEncodingSubtypesStatics5_Vtbl, 0x5ad4a007_ffce_4760_9828_5d0c99637e6a); impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics5 { @@ -443,7 +443,7 @@ impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics5 { #[repr(C)] pub struct IMediaEncodingSubtypesStatics5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Heif: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Heif: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics6, IMediaEncodingSubtypesStatics6_Vtbl, 0xa1252973_a984_5912_93bb_54e7e569e053); impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics6 { @@ -452,10 +452,10 @@ impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics6 { #[repr(C)] pub struct IMediaEncodingSubtypesStatics6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Pgs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Srt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ssa: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VobSub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pgs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Srt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ssa: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VobSub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics7, IMediaEncodingSubtypesStatics7_Vtbl, 0x92f2dca7_9937_52a1_b619_ddfad81cd99c); impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics7 { @@ -464,7 +464,7 @@ impl windows_core::RuntimeType for IMediaEncodingSubtypesStatics7 { #[repr(C)] pub struct IMediaEncodingSubtypesStatics7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Av1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Av1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaRatio, IMediaRatio_Vtbl, 0xd2d0fee5_8929_401d_ac78_7d357e378163); impl windows_core::RuntimeType for IMediaRatio { @@ -578,7 +578,7 @@ pub struct IVideoEncodingPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateH264: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateMpeg2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateUncompressed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateUncompressed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVideoEncodingPropertiesStatics2, IVideoEncodingPropertiesStatics2_Vtbl, 0xcf1ebd5d_49fe_4d00_b59a_cfa4dfc51944); impl windows_core::RuntimeType for IVideoEncodingPropertiesStatics2 { @@ -630,7 +630,7 @@ impl AudioEncodingProperties { pub fn Bitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -641,7 +641,7 @@ impl AudioEncodingProperties { pub fn ChannelCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -652,7 +652,7 @@ impl AudioEncodingProperties { pub fn SampleRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SampleRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -663,63 +663,63 @@ impl AudioEncodingProperties { pub fn BitsPerSample(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitsPerSample)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSpatial(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSpatial)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Copy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAac(samplerate: u32, channelcount: u32, bitrate: u32) -> windows_core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAac)(windows_core::Interface::as_raw(this), samplerate, channelcount, bitrate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateAacAdts(samplerate: u32, channelcount: u32, bitrate: u32) -> windows_core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAacAdts)(windows_core::Interface::as_raw(this), samplerate, channelcount, bitrate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateMp3(samplerate: u32, channelcount: u32, bitrate: u32) -> windows_core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMp3)(windows_core::Interface::as_raw(this), samplerate, channelcount, bitrate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreatePcm(samplerate: u32, channelcount: u32, bitspersample: u32) -> windows_core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePcm)(windows_core::Interface::as_raw(this), samplerate, channelcount, bitspersample, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWma(samplerate: u32, channelcount: u32, bitrate: u32) -> windows_core::Result { Self::IAudioEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWma)(windows_core::Interface::as_raw(this), samplerate, channelcount, bitrate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateAlac(samplerate: u32, channelcount: u32, bitspersample: u32) -> windows_core::Result { Self::IAudioEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAlac)(windows_core::Interface::as_raw(this), samplerate, channelcount, bitspersample, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFlac(samplerate: u32, channelcount: u32, bitspersample: u32) -> windows_core::Result { Self::IAudioEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFlac)(windows_core::Interface::as_raw(this), samplerate, channelcount, bitspersample, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -735,14 +735,14 @@ impl AudioEncodingProperties { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -753,7 +753,7 @@ impl AudioEncodingProperties { pub fn Subtype(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -784,73 +784,73 @@ pub struct Av1ProfileIds; impl Av1ProfileIds { pub fn MainChromaSubsampling420BitDepth8() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling420BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling420BitDepth10() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling420BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling400BitDepth8() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling400BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling400BitDepth10() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling400BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HighChromaSubsampling444BitDepth8() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighChromaSubsampling444BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HighChromaSubsampling444BitDepth10() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighChromaSubsampling444BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ProfessionalChromaSubsampling420BitDepth12() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfessionalChromaSubsampling420BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ProfessionalChromaSubsampling400BitDepth12() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfessionalChromaSubsampling400BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ProfessionalChromaSubsampling444BitDepth12() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfessionalChromaSubsampling444BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ProfessionalChromaSubsampling422BitDepth8() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfessionalChromaSubsampling422BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ProfessionalChromaSubsampling422BitDepth10() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfessionalChromaSubsampling422BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ProfessionalChromaSubsampling422BitDepth12() -> windows_core::Result { Self::IAv1ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfessionalChromaSubsampling422BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -879,7 +879,7 @@ impl ContainerEncodingProperties { pub fn Copy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -887,14 +887,14 @@ impl ContainerEncodingProperties { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -905,7 +905,7 @@ impl ContainerEncodingProperties { pub fn Subtype(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -926,61 +926,61 @@ pub struct H264ProfileIds; impl H264ProfileIds { pub fn ConstrainedBaseline() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConstrainedBaseline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Baseline() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Baseline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Extended() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Extended)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Main() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Main)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn High() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).High)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn High10() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).High10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn High422() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).High422)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn High444() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).High444)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn StereoHigh() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoHigh)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MultiviewHigh() -> windows_core::Result { Self::IH264ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MultiviewHigh)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -997,133 +997,133 @@ pub struct HevcProfileIds; impl HevcProfileIds { pub fn MainChromaSubsampling420BitDepth8() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling420BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling420BitDepth10() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling420BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling420BitDepth12() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling420BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling422BitDepth10() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling422BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling422BitDepth12() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling422BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling444BitDepth8() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling444BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling444BitDepth10() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling444BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainChromaSubsampling444BitDepth12() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainChromaSubsampling444BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MonochromeBitDepth12() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonochromeBitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MonochromeBitDepth16() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MonochromeBitDepth16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainIntraChromaSubsampling420BitDepth8() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainIntraChromaSubsampling420BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainIntraChromaSubsampling420BitDepth10() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainIntraChromaSubsampling420BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainIntraChromaSubsampling420BitDepth12() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainIntraChromaSubsampling420BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainIntraChromaSubsampling422BitDepth10() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainIntraChromaSubsampling422BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainIntraChromaSubsampling422BitDepth12() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainIntraChromaSubsampling422BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainIntraChromaSubsampling444BitDepth8() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainIntraChromaSubsampling444BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainIntraChromaSubsampling444BitDepth10() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainIntraChromaSubsampling444BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainIntraChromaSubsampling444BitDepth12() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainIntraChromaSubsampling444BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainIntraChromaSubsampling444BitDepth16() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainIntraChromaSubsampling444BitDepth16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainStillChromaSubsampling420BitDepth8() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainStillChromaSubsampling420BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainStillChromaSubsampling444BitDepth8() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainStillChromaSubsampling444BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MainStillChromaSubsampling444BitDepth16() -> windows_core::Result { Self::IHevcProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MainStillChromaSubsampling444BitDepth16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1156,7 +1156,7 @@ impl ImageEncodingProperties { pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1167,50 +1167,50 @@ impl ImageEncodingProperties { pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Copy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateJpeg() -> windows_core::Result { Self::IImageEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJpeg)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreatePng() -> windows_core::Result { Self::IImageEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePng)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateJpegXR() -> windows_core::Result { Self::IImageEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateJpegXR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUncompressed(format: MediaPixelFormat) -> windows_core::Result { Self::IImageEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUncompressed)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateBmp() -> windows_core::Result { Self::IImageEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBmp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateHeif() -> windows_core::Result { Self::IImageEncodingPropertiesStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateHeif)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1218,14 +1218,14 @@ impl ImageEncodingProperties { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1236,7 +1236,7 @@ impl ImageEncodingProperties { pub fn Subtype(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1290,7 +1290,7 @@ impl MediaEncodingProfile { pub fn Audio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Audio)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1304,7 +1304,7 @@ impl MediaEncodingProfile { pub fn Video(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Video)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1318,7 +1318,7 @@ impl MediaEncodingProfile { pub fn Container(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Container)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1334,7 +1334,7 @@ impl MediaEncodingProfile { pub fn GetAudioTracks(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1350,7 +1350,7 @@ impl MediaEncodingProfile { pub fn GetVideoTracks(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVideoTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1366,37 +1366,37 @@ impl MediaEncodingProfile { pub fn GetTimedMetadataTracks(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTimedMetadataTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateM4a(quality: AudioEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateM4a)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateMp3(quality: AudioEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMp3)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWma(quality: AudioEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWma)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateMp4(quality: VideoEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMp4)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWmv(quality: VideoEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWmv)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1406,7 +1406,7 @@ impl MediaEncodingProfile { P0: windows_core::Param, { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1416,49 +1416,49 @@ impl MediaEncodingProfile { P0: windows_core::Param, { Self::IMediaEncodingProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStreamAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWav(quality: AudioEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWav)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateAvi(quality: VideoEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAvi)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateAlac(quality: AudioEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAlac)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFlac(quality: AudioEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFlac)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateHevc(quality: VideoEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateHevc)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateVp9(quality: VideoEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVp9)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateAv1(quality: VideoEncodingQuality) -> windows_core::Result { Self::IMediaEncodingProfileStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAv1)(windows_core::Interface::as_raw(this), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1499,319 +1499,319 @@ pub struct MediaEncodingSubtypes; impl MediaEncodingSubtypes { pub fn Aac() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Aac)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AacAdts() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AacAdts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ac3() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ac3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AmrNb() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AmrNb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AmrWb() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AmrWb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Argb32() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Argb32)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Asf() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Asf)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Avi() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Avi)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Bgra8() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bgra8)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Bmp() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bmp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Eac3() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Eac3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Float() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Float)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Gif() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gif)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn H263() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).H263)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn H264() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).H264)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn H264Es() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).H264Es)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Hevc() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hevc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HevcEs() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HevcEs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Iyuv() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Iyuv)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Jpeg() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Jpeg)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn JpegXr() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JpegXr)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mjpg() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mjpg)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mpeg() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mpeg)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mpeg1() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mpeg1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mpeg2() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mpeg2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mp3() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mp3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Mpeg4() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mpeg4)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Nv12() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Nv12)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Pcm() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pcm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Png() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Png)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Rgb24() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rgb24)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Rgb32() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rgb32)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Tiff() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tiff)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Wave() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wave)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Wma8() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wma8)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Wma9() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wma9)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Wmv3() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wmv3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Wvc1() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wvc1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Yuy2() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Yuy2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Yv12() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Yv12)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Vp9() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Vp9)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn L8() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).L8)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn L16() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).L16)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn D16() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).D16)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Alac() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Alac)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Flac() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Flac)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn P010() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).P010)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Heif() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Heif)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Pgs() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics6(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pgs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Srt() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics6(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Srt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ssa() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics6(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ssa)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VobSub() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics6(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VobSub)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Av1() -> windows_core::Result { Self::IMediaEncodingSubtypesStatics7(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Av1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1875,7 +1875,7 @@ impl MediaPropertySet { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1883,7 +1883,7 @@ impl MediaPropertySet { pub fn Lookup(&self, key: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1891,7 +1891,7 @@ impl MediaPropertySet { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1899,7 +1899,7 @@ impl MediaPropertySet { pub fn HasKey(&self, key: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), key, &mut result__).map(|| result__) } } @@ -1907,7 +1907,7 @@ impl MediaPropertySet { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1918,7 +1918,7 @@ impl MediaPropertySet { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), key, value.param().abi(), &mut result__).map(|| result__) } } @@ -1978,7 +1978,7 @@ impl MediaRatio { pub fn Numerator(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Numerator)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1989,7 +1989,7 @@ impl MediaRatio { pub fn Denominator(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Denominator)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2010,31 +2010,31 @@ pub struct Mpeg2ProfileIds; impl Mpeg2ProfileIds { pub fn Simple() -> windows_core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Simple)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Main() -> windows_core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Main)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SignalNoiseRatioScalable() -> windows_core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalNoiseRatioScalable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SpatiallyScalable() -> windows_core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpatiallyScalable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn High() -> windows_core::Result { Self::IMpeg2ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).High)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -2064,14 +2064,14 @@ impl TimedMetadataEncodingProperties { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2082,7 +2082,7 @@ impl TimedMetadataEncodingProperties { pub fn Subtype(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2097,31 +2097,31 @@ impl TimedMetadataEncodingProperties { pub fn Copy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreatePgs() -> windows_core::Result { Self::ITimedMetadataEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePgs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSrt() -> windows_core::Result { Self::ITimedMetadataEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSrt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSsa(formatuserdata: &[u8]) -> windows_core::Result { Self::ITimedMetadataEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSsa)(windows_core::Interface::as_raw(this), formatuserdata.len().try_into().unwrap(), formatuserdata.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateVobSub(formatuserdata: &[u8]) -> windows_core::Result { Self::ITimedMetadataEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVobSub)(windows_core::Interface::as_raw(this), formatuserdata.len().try_into().unwrap(), formatuserdata.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2160,14 +2160,14 @@ impl VideoEncodingProperties { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2178,7 +2178,7 @@ impl VideoEncodingProperties { pub fn Subtype(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtype)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2189,7 +2189,7 @@ impl VideoEncodingProperties { pub fn Bitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2200,7 +2200,7 @@ impl VideoEncodingProperties { pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2211,21 +2211,21 @@ impl VideoEncodingProperties { pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FrameRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PixelAspectRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelAspectRatio)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2244,64 +2244,64 @@ impl VideoEncodingProperties { pub fn ProfileId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StereoscopicVideoPackingMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoscopicVideoPackingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SphericalVideoFrameFormat(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SphericalVideoFrameFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Copy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Copy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateH264() -> windows_core::Result { Self::IVideoEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateH264)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateMpeg2() -> windows_core::Result { Self::IVideoEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMpeg2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateUncompressed(subtype: &windows_core::HSTRING, width: u32, height: u32) -> windows_core::Result { Self::IVideoEncodingPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUncompressed)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subtype), width, height, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateHevc() -> windows_core::Result { Self::IVideoEncodingPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateHevc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateVp9() -> windows_core::Result { Self::IVideoEncodingPropertiesStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVp9)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateAv1() -> windows_core::Result { Self::IVideoEncodingPropertiesStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAv1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2337,19 +2337,19 @@ pub struct Vp9ProfileIds; impl Vp9ProfileIds { pub fn Profile0ChromaSubsampling420BitDepth8() -> windows_core::Result { Self::IVp9ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Profile0ChromaSubsampling420BitDepth8)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Profile2ChromaSubsampling420BitDepth10() -> windows_core::Result { Self::IVp9ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Profile2ChromaSubsampling420BitDepth10)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Profile2ChromaSubsampling420BitDepth12() -> windows_core::Result { Self::IVp9ProfileIdsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Profile2ChromaSubsampling420BitDepth12)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs index 9490e59afb..f98fbcfda0 100644 --- a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs @@ -43,7 +43,7 @@ impl windows_core::RuntimeType for IMiracastReceiverConnection { pub struct IMiracastReceiverConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void, MiracastReceiverDisconnectReason) -> windows_core::HRESULT, - pub DisconnectWithMessage: unsafe extern "system" fn(*mut core::ffi::c_void, MiracastReceiverDisconnectReason, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisconnectWithMessage: unsafe extern "system" fn(*mut core::ffi::c_void, MiracastReceiverDisconnectReason, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PauseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -61,7 +61,7 @@ impl windows_core::RuntimeType for IMiracastReceiverConnectionCreatedEventArgs { pub struct IMiracastReceiverConnectionCreatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Connection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Pin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMiracastReceiverCursorImageChannel, IMiracastReceiverCursorImageChannel_Vtbl, 0xd9ac332d_723a_5a9d_b90a_81153efa2a0f); @@ -208,12 +208,12 @@ impl windows_core::RuntimeType for IMiracastReceiverSettings { #[repr(C)] pub struct IMiracastReceiverSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetModelName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetModelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetModelName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetModelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AuthorizationMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MiracastReceiverAuthorizationMethod) -> windows_core::HRESULT, pub SetAuthorizationMethod: unsafe extern "system" fn(*mut core::ffi::c_void, MiracastReceiverAuthorizationMethod) -> windows_core::HRESULT, pub RequireAuthorizationFromKnownTransmitters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -274,15 +274,15 @@ impl windows_core::RuntimeType for IMiracastTransmitter { #[repr(C)] pub struct IMiracastTransmitter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AuthorizationStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MiracastTransmitterAuthorizationStatus) -> windows_core::HRESULT, pub SetAuthorizationStatus: unsafe extern "system" fn(*mut core::ffi::c_void, MiracastTransmitterAuthorizationStatus) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetConnections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetConnections: usize, - pub MacAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MacAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LastConnectionTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, } #[repr(transparent)] @@ -300,21 +300,21 @@ impl MiracastReceiver { pub fn GetDefaultSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentSettingsAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentSettingsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -324,7 +324,7 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisconnectAllAndApplySettings)(windows_core::Interface::as_raw(this), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -334,21 +334,21 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisconnectAllAndApplySettingsAsync)(windows_core::Interface::as_raw(this), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetStatusAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatusAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -358,7 +358,7 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -373,7 +373,7 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSession)(windows_core::Interface::as_raw(this), view.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -384,7 +384,7 @@ impl MiracastReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSessionAsync)(windows_core::Interface::as_raw(this), view.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -420,14 +420,14 @@ impl MiracastReceiverApplySettingsResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -469,7 +469,7 @@ impl MiracastReceiverConnection { pub fn PauseAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -480,35 +480,35 @@ impl MiracastReceiverConnection { pub fn ResumeAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResumeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Transmitter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Transmitter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InputDevices(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputDevices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CursorImageChannel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CursorImageChannel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StreamControl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -533,21 +533,21 @@ impl MiracastReceiverConnectionCreatedEventArgs { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Pin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pin)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -572,7 +572,7 @@ impl MiracastReceiverCursorImageChannel { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -580,7 +580,7 @@ impl MiracastReceiverCursorImageChannel { pub fn MaxImageSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxImageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -588,7 +588,7 @@ impl MiracastReceiverCursorImageChannel { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -596,7 +596,7 @@ impl MiracastReceiverCursorImageChannel { pub fn ImageStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -606,7 +606,7 @@ impl MiracastReceiverCursorImageChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageStreamChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -620,7 +620,7 @@ impl MiracastReceiverCursorImageChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -649,7 +649,7 @@ impl MiracastReceiverCursorImageChannelSettings { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -661,7 +661,7 @@ impl MiracastReceiverCursorImageChannelSettings { pub fn MaxImageSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxImageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -691,7 +691,7 @@ impl MiracastReceiverDisconnectedEventArgs { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -716,7 +716,7 @@ impl MiracastReceiverGameControllerDevice { pub fn TransmitInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransmitInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -727,21 +727,21 @@ impl MiracastReceiverGameControllerDevice { pub fn IsRequestedByTransmitter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRequestedByTransmitter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTransmittingInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTransmittingInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -755,7 +755,7 @@ impl MiracastReceiverGameControllerDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -784,14 +784,14 @@ impl MiracastReceiverInputDevices { pub fn Keyboard(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Keyboard)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GameController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GameController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -816,7 +816,7 @@ impl MiracastReceiverKeyboardDevice { pub fn TransmitInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransmitInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -827,14 +827,14 @@ impl MiracastReceiverKeyboardDevice { pub fn IsRequestedByTransmitter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRequestedByTransmitter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTransmittingInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTransmittingInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -844,7 +844,7 @@ impl MiracastReceiverKeyboardDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -873,7 +873,7 @@ impl MiracastReceiverMediaSourceCreatedEventArgs { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -881,21 +881,21 @@ impl MiracastReceiverMediaSourceCreatedEventArgs { pub fn MediaSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CursorImageChannelSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CursorImageChannelSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -928,7 +928,7 @@ impl MiracastReceiverSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionCreated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -942,7 +942,7 @@ impl MiracastReceiverSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSourceCreated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -956,7 +956,7 @@ impl MiracastReceiverSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Disconnected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -967,7 +967,7 @@ impl MiracastReceiverSession { pub fn AllowConnectionTakeover(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowConnectionTakeover)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -978,7 +978,7 @@ impl MiracastReceiverSession { pub fn MaxSimultaneousConnections(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSimultaneousConnections)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -989,14 +989,14 @@ impl MiracastReceiverSession { pub fn Start(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Start)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1021,14 +1021,14 @@ impl MiracastReceiverSessionStartResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1053,7 +1053,7 @@ impl MiracastReceiverSettings { pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1064,7 +1064,7 @@ impl MiracastReceiverSettings { pub fn ModelName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1075,7 +1075,7 @@ impl MiracastReceiverSettings { pub fn ModelNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1086,7 +1086,7 @@ impl MiracastReceiverSettings { pub fn AuthorizationMethod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthorizationMethod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1097,7 +1097,7 @@ impl MiracastReceiverSettings { pub fn RequireAuthorizationFromKnownTransmitters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequireAuthorizationFromKnownTransmitters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1126,28 +1126,28 @@ impl MiracastReceiverStatus { pub fn ListeningStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ListeningStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WiFiStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WiFiStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsConnectionTakeoverSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnectionTakeoverSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxSimultaneousConnections(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSimultaneousConnections)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1155,7 +1155,7 @@ impl MiracastReceiverStatus { pub fn KnownTransmitters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KnownTransmitters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1180,14 +1180,14 @@ impl MiracastReceiverStreamControl { pub fn GetVideoStreamSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVideoStreamSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetVideoStreamSettingsAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVideoStreamSettingsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1204,14 +1204,14 @@ impl MiracastReceiverStreamControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestVideoStreamSettingsAsync)(windows_core::Interface::as_raw(this), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MuteAudio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MuteAudio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1241,7 +1241,7 @@ impl MiracastReceiverVideoStreamSettings { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1253,7 +1253,7 @@ impl MiracastReceiverVideoStreamSettings { pub fn Bitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1282,7 +1282,7 @@ impl MiracastTransmitter { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1293,7 +1293,7 @@ impl MiracastTransmitter { pub fn AuthorizationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthorizationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1305,21 +1305,21 @@ impl MiracastTransmitter { pub fn GetConnections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MacAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MacAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastConnectionTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastConnectionTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs index 92372ca2be..5edc5fdf55 100644 --- a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs @@ -47,7 +47,7 @@ pub struct IOcrLine_Vtbl { pub Words: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Words: usize, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOcrResult, IOcrResult_Vtbl, 0x9bd235b2_175b_3d6a_92e2_388c206e2f63); impl windows_core::RuntimeType for IOcrResult { @@ -61,7 +61,7 @@ pub struct IOcrResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Lines: usize, pub TextAngle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOcrWord, IOcrWord_Vtbl, 0x3c2a477a_5cd9_3525_ba2a_23d1e0a68a1d); impl windows_core::RuntimeType for IOcrWord { @@ -71,7 +71,7 @@ impl windows_core::RuntimeType for IOcrWord { pub struct IOcrWord_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BoundingRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -85,7 +85,7 @@ impl OcrEngine { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizeAsync)(windows_core::Interface::as_raw(this), bitmap.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -93,20 +93,20 @@ impl OcrEngine { pub fn RecognizerLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizerLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxImageDimension() -> windows_core::Result { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxImageDimension)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(all(feature = "Foundation_Collections", feature = "Globalization"))] pub fn AvailableRecognizerLanguages() -> windows_core::Result> { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableRecognizerLanguages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -116,7 +116,7 @@ impl OcrEngine { P0: windows_core::Param, { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLanguageSupported)(windows_core::Interface::as_raw(this), language.param().abi(), &mut result__).map(|| result__) }) } @@ -126,13 +126,13 @@ impl OcrEngine { P0: windows_core::Param, { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFromLanguage)(windows_core::Interface::as_raw(this), language.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryCreateFromUserProfileLanguages() -> windows_core::Result { Self::IOcrEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFromUserProfileLanguages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -163,14 +163,14 @@ impl OcrLine { pub fn Words(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Words)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -196,21 +196,21 @@ impl OcrResult { pub fn Lines(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lines)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TextAngle(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextAngle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -235,14 +235,14 @@ impl OcrWord { pub fn BoundingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs index 82ff20ef46..95d35586b4 100644 --- a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs +++ b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs @@ -70,7 +70,7 @@ pub struct IPlayToConnectionErrorEventArgs_Vtbl { #[cfg(not(feature = "deprecated"))] Code: usize, #[cfg(feature = "deprecated")] - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Message: usize, } @@ -203,8 +203,8 @@ pub struct IPlayToReceiver_Vtbl { pub NotifyEnded: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyError: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyStopped: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetSupportsImage: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SupportsImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetSupportsAudio: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -275,7 +275,7 @@ pub struct IPlayToSourceRequest_Vtbl { #[cfg(not(feature = "deprecated"))] Deadline: usize, #[cfg(feature = "deprecated")] - pub DisplayErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] DisplayErrorString: usize, #[cfg(feature = "deprecated")] @@ -313,7 +313,7 @@ impl windows_core::RuntimeType for IPlayToSourceSelectedEventArgs { pub struct IPlayToSourceSelectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] FriendlyName: usize, #[cfg(all(feature = "Storage_Streams", feature = "deprecated"))] @@ -372,11 +372,11 @@ pub struct ISourceChangeRequestedEventArgs_Vtbl { pub Stream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] Stream: usize, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Album: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Genre: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Album: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Genre: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Date: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Thumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -405,7 +405,7 @@ impl CurrentTimeChangeRequestedEventArgs { pub fn Time(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Time)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -428,7 +428,7 @@ impl MuteChangeRequestedEventArgs { pub fn Mute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -455,7 +455,7 @@ impl PlayToConnection { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -466,7 +466,7 @@ impl PlayToConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -482,7 +482,7 @@ impl PlayToConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Transferred)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -498,7 +498,7 @@ impl PlayToConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -537,7 +537,7 @@ impl PlayToConnectionErrorEventArgs { pub fn Code(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -545,7 +545,7 @@ impl PlayToConnectionErrorEventArgs { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -579,7 +579,7 @@ impl PlayToConnectionStateChangedEventArgs { pub fn PreviousState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -587,7 +587,7 @@ impl PlayToConnectionStateChangedEventArgs { pub fn CurrentState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -621,7 +621,7 @@ impl PlayToConnectionTransferredEventArgs { pub fn PreviousSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -629,7 +629,7 @@ impl PlayToConnectionTransferredEventArgs { pub fn CurrentSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -666,7 +666,7 @@ impl PlayToManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -682,7 +682,7 @@ impl PlayToManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceSelected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -700,14 +700,14 @@ impl PlayToManager { pub fn DefaultSourceSelection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultSourceSelection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> windows_core::Result { Self::IPlayToManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -757,7 +757,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlayRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -771,7 +771,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -785,7 +785,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceChangeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -799,7 +799,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRateChangeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -813,7 +813,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentTimeChangeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -827,7 +827,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MuteChangeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -841,7 +841,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VolumeChangeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -855,7 +855,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeUpdateRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -869,7 +869,7 @@ impl PlayToReceiver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -928,7 +928,7 @@ impl PlayToReceiver { pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -943,7 +943,7 @@ impl PlayToReceiver { pub fn SupportsImage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsImage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -954,7 +954,7 @@ impl PlayToReceiver { pub fn SupportsAudio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsAudio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -965,7 +965,7 @@ impl PlayToReceiver { pub fn SupportsVideo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsVideo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -973,21 +973,21 @@ impl PlayToReceiver { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1014,7 +1014,7 @@ impl PlayToSource { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1022,7 +1022,7 @@ impl PlayToSource { pub fn Next(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Next)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1043,7 +1043,7 @@ impl PlayToSource { pub fn PreferredSourceUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredSourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1116,7 +1116,7 @@ impl PlayToSourceRequest { pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1129,7 +1129,7 @@ impl PlayToSourceRequest { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1171,7 +1171,7 @@ impl PlayToSourceRequestedEventArgs { pub fn SourceRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1205,7 +1205,7 @@ impl PlayToSourceSelectedEventArgs { pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1213,7 +1213,7 @@ impl PlayToSourceSelectedEventArgs { pub fn Icon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Icon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1221,7 +1221,7 @@ impl PlayToSourceSelectedEventArgs { pub fn SupportsImage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsImage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1229,7 +1229,7 @@ impl PlayToSourceSelectedEventArgs { pub fn SupportsAudio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsAudio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1237,7 +1237,7 @@ impl PlayToSourceSelectedEventArgs { pub fn SupportsVideo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsVideo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1267,7 +1267,7 @@ impl PlaybackRateChangeRequestedEventArgs { pub fn Rate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1291,49 +1291,49 @@ impl SourceChangeRequestedEventArgs { pub fn Stream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Author(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Author)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Album(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Album)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Genre(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Genre)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Date(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Date)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1341,14 +1341,14 @@ impl SourceChangeRequestedEventArgs { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Rating(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rating)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1356,7 +1356,7 @@ impl SourceChangeRequestedEventArgs { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1379,7 +1379,7 @@ impl VolumeChangeRequestedEventArgs { pub fn Volume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Volume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index f9525d4de9..4fe369ea0e 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -179,7 +179,7 @@ windows_core::imp::define_interface!(IMediaEnginePlaybackSource, IMediaEnginePla impl std::ops::Deref for IMediaEnginePlaybackSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -190,7 +190,7 @@ impl IMediaEnginePlaybackSource { pub fn CurrentItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -726,7 +726,7 @@ windows_core::imp::define_interface!(IMediaPlaybackSource, IMediaPlaybackSource_ impl std::ops::Deref for IMediaPlaybackSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaPlaybackSource, windows_core::IUnknown, windows_core::IInspectable); @@ -1044,7 +1044,7 @@ impl windows_core::RuntimeType for IMediaPlayerEffects { pub struct IMediaPlayerEffects_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub AddAudioEffect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddAudioEffect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AddAudioEffect: usize, pub RemoveAllEffects: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1057,7 +1057,7 @@ impl windows_core::RuntimeType for IMediaPlayerEffects2 { pub struct IMediaPlayerEffects2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub AddVideoEffect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddVideoEffect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AddVideoEffect: usize, } @@ -1070,7 +1070,7 @@ pub struct IMediaPlayerFailedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaPlayerError) -> windows_core::HRESULT, pub ExtendedErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - pub ErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaPlayerRateChangedEventArgs, IMediaPlayerRateChangedEventArgs_Vtbl, 0x40600d58_3b61_4bb2_989f_fc65608b6cab); impl windows_core::RuntimeType for IMediaPlayerRateChangedEventArgs { @@ -1144,8 +1144,8 @@ impl windows_core::RuntimeType for IPlaybackMediaMarker { pub struct IPlaybackMediaMarker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Time: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub MediaMarkerType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaMarkerType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlaybackMediaMarkerFactory, IPlaybackMediaMarkerFactory_Vtbl, 0x8c530a78_e0ae_4e1a_a8c8_e23f982a937b); impl windows_core::RuntimeType for IPlaybackMediaMarkerFactory { @@ -1155,7 +1155,7 @@ impl windows_core::RuntimeType for IPlaybackMediaMarkerFactory { pub struct IPlaybackMediaMarkerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlaybackMediaMarkerReachedEventArgs, IPlaybackMediaMarkerReachedEventArgs_Vtbl, 0x578cd1b9_90e2_4e60_abc4_8740b01f6196); impl windows_core::RuntimeType for IPlaybackMediaMarkerReachedEventArgs { @@ -1198,7 +1198,7 @@ impl BackgroundMediaPlayer { #[cfg(feature = "deprecated")] pub fn Current() -> windows_core::Result { Self::IBackgroundMediaPlayerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1208,7 +1208,7 @@ impl BackgroundMediaPlayer { P0: windows_core::Param>, { Self::IBackgroundMediaPlayerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReceivedFromBackground)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -1222,7 +1222,7 @@ impl BackgroundMediaPlayer { P0: windows_core::Param>, { Self::IBackgroundMediaPlayerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReceivedFromForeground)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) }) } @@ -1247,7 +1247,7 @@ impl BackgroundMediaPlayer { #[cfg(feature = "deprecated")] pub fn IsMediaPlaying() -> windows_core::Result { Self::IBackgroundMediaPlayerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMediaPlaying)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1274,21 +1274,21 @@ impl CurrentMediaPlaybackItemChangedEventArgs { pub fn NewItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OldItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Reason(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1313,21 +1313,21 @@ impl MediaBreak { pub fn PlaybackList(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PresentationPosition(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationPosition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InsertionMethod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InsertionMethod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1335,14 +1335,14 @@ impl MediaBreak { pub fn CustomProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1352,13 +1352,13 @@ impl MediaBreak { } pub fn Create(insertionmethod: MediaBreakInsertionMethod) -> windows_core::Result { Self::IMediaBreakFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), insertionmethod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithPresentationPosition(insertionmethod: MediaBreakInsertionMethod, presentationposition: super::super::Foundation::TimeSpan) -> windows_core::Result { Self::IMediaBreakFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithPresentationPosition)(windows_core::Interface::as_raw(this), insertionmethod, presentationposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1388,7 +1388,7 @@ impl MediaBreakEndedEventArgs { pub fn MediaBreak(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaBreak)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1416,7 +1416,7 @@ impl MediaBreakManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BreaksSeekedOver)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1430,7 +1430,7 @@ impl MediaBreakManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BreakStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1444,7 +1444,7 @@ impl MediaBreakManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BreakEnded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1458,7 +1458,7 @@ impl MediaBreakManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BreakSkipped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1469,14 +1469,14 @@ impl MediaBreakManager { pub fn CurrentBreak(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentBreak)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PlaybackSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1515,7 +1515,7 @@ impl MediaBreakSchedule { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScheduleChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1541,7 +1541,7 @@ impl MediaBreakSchedule { pub fn MidrollBreaks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MidrollBreaks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1555,7 +1555,7 @@ impl MediaBreakSchedule { pub fn PrerollBreak(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrerollBreak)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1569,14 +1569,14 @@ impl MediaBreakSchedule { pub fn PostrollBreak(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostrollBreak)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PlaybackItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1602,21 +1602,21 @@ impl MediaBreakSeekedOverEventArgs { pub fn SeekedOverBreaks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SeekedOverBreaks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OldPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NewPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1641,7 +1641,7 @@ impl MediaBreakSkippedEventArgs { pub fn MediaBreak(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaBreak)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1666,7 +1666,7 @@ impl MediaBreakStartedEventArgs { pub fn MediaBreak(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaBreak)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1691,7 +1691,7 @@ impl MediaItemDisplayProperties { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1702,14 +1702,14 @@ impl MediaItemDisplayProperties { pub fn MusicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MusicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1717,7 +1717,7 @@ impl MediaItemDisplayProperties { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1760,7 +1760,7 @@ impl MediaPlaybackAudioTrackList { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1771,7 +1771,7 @@ impl MediaPlaybackAudioTrackList { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedIndexChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1789,7 +1789,7 @@ impl MediaPlaybackAudioTrackList { pub fn SelectedIndex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1797,7 +1797,7 @@ impl MediaPlaybackAudioTrackList { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1805,7 +1805,7 @@ impl MediaPlaybackAudioTrackList { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1816,7 +1816,7 @@ impl MediaPlaybackAudioTrackList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -1824,7 +1824,7 @@ impl MediaPlaybackAudioTrackList { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -1870,7 +1870,7 @@ impl MediaPlaybackCommandManager { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1881,77 +1881,77 @@ impl MediaPlaybackCommandManager { pub fn MediaPlayer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaPlayer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PlayBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlayBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PauseBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FastForwardBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FastForwardBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RewindBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RewindBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShuffleBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShuffleBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AutoRepeatModeBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRepeatModeBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PositionBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RateBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RateBehavior)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1961,7 +1961,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlayReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1975,7 +1975,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1989,7 +1989,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2003,7 +2003,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2017,7 +2017,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FastForwardReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2031,7 +2031,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RewindReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2045,7 +2045,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShuffleReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2059,7 +2059,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRepeatModeReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2073,7 +2073,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2087,7 +2087,7 @@ impl MediaPlaybackCommandManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RateReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2116,7 +2116,7 @@ impl MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2127,14 +2127,14 @@ impl MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { pub fn AutoRepeatMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRepeatMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2159,21 +2159,21 @@ impl MediaPlaybackCommandManagerCommandBehavior { pub fn CommandManager(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnablingRule(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnablingRule)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2187,7 +2187,7 @@ impl MediaPlaybackCommandManagerCommandBehavior { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2216,7 +2216,7 @@ impl MediaPlaybackCommandManagerFastForwardReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2227,7 +2227,7 @@ impl MediaPlaybackCommandManagerFastForwardReceivedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2252,7 +2252,7 @@ impl MediaPlaybackCommandManagerNextReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2263,7 +2263,7 @@ impl MediaPlaybackCommandManagerNextReceivedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2288,7 +2288,7 @@ impl MediaPlaybackCommandManagerPauseReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2299,7 +2299,7 @@ impl MediaPlaybackCommandManagerPauseReceivedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2324,7 +2324,7 @@ impl MediaPlaybackCommandManagerPlayReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2335,7 +2335,7 @@ impl MediaPlaybackCommandManagerPlayReceivedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2360,7 +2360,7 @@ impl MediaPlaybackCommandManagerPositionReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2371,14 +2371,14 @@ impl MediaPlaybackCommandManagerPositionReceivedEventArgs { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2403,7 +2403,7 @@ impl MediaPlaybackCommandManagerPreviousReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2414,7 +2414,7 @@ impl MediaPlaybackCommandManagerPreviousReceivedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2439,7 +2439,7 @@ impl MediaPlaybackCommandManagerRateReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2450,14 +2450,14 @@ impl MediaPlaybackCommandManagerRateReceivedEventArgs { pub fn PlaybackRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2482,7 +2482,7 @@ impl MediaPlaybackCommandManagerRewindReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2493,7 +2493,7 @@ impl MediaPlaybackCommandManagerRewindReceivedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2518,7 +2518,7 @@ impl MediaPlaybackCommandManagerShuffleReceivedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2529,14 +2529,14 @@ impl MediaPlaybackCommandManagerShuffleReceivedEventArgs { pub fn IsShuffleRequested(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsShuffleRequested)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2566,7 +2566,7 @@ impl MediaPlaybackItem { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioTracksChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2581,7 +2581,7 @@ impl MediaPlaybackItem { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoTracksChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2596,7 +2596,7 @@ impl MediaPlaybackItem { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimedMetadataTracksChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2608,7 +2608,7 @@ impl MediaPlaybackItem { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2616,7 +2616,7 @@ impl MediaPlaybackItem { pub fn AudioTracks(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2624,7 +2624,7 @@ impl MediaPlaybackItem { pub fn VideoTracks(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2632,35 +2632,35 @@ impl MediaPlaybackItem { pub fn TimedMetadataTracks(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimedMetadataTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BreakSchedule(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BreakSchedule)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DurationLimit(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DurationLimit)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanSkip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanSkip)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2671,7 +2671,7 @@ impl MediaPlaybackItem { pub fn GetDisplayProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDisplayProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2685,7 +2685,7 @@ impl MediaPlaybackItem { pub fn IsDisabledInPlaybackList(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisabledInPlaybackList)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2696,14 +2696,14 @@ impl MediaPlaybackItem { pub fn TotalDownloadProgress(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalDownloadProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AutoLoadedDisplayProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoLoadedDisplayProperties)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2717,7 +2717,7 @@ impl MediaPlaybackItem { P0: windows_core::Param, { Self::IMediaPlaybackItemFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2727,7 +2727,7 @@ impl MediaPlaybackItem { P0: windows_core::Param, { Self::IMediaPlaybackItemFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithStartTime)(windows_core::Interface::as_raw(this), source.param().abi(), starttime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2737,7 +2737,7 @@ impl MediaPlaybackItem { P0: windows_core::Param, { Self::IMediaPlaybackItemFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithStartTimeAndDurationLimit)(windows_core::Interface::as_raw(this), source.param().abi(), starttime, durationlimit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2747,7 +2747,7 @@ impl MediaPlaybackItem { P0: windows_core::Param, { Self::IMediaPlaybackItemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindFromMediaSource)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2787,14 +2787,14 @@ impl MediaPlaybackItemError { pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2819,14 +2819,14 @@ impl MediaPlaybackItemFailedEventArgs { pub fn Item(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Item)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2851,7 +2851,7 @@ impl MediaPlaybackItemOpenedEventArgs { pub fn Item(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Item)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2887,7 +2887,7 @@ impl MediaPlaybackList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemFailed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2901,7 +2901,7 @@ impl MediaPlaybackList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentItemChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2915,7 +2915,7 @@ impl MediaPlaybackList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemOpened)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2927,14 +2927,14 @@ impl MediaPlaybackList { pub fn Items(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AutoRepeatEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRepeatEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2945,7 +2945,7 @@ impl MediaPlaybackList { pub fn ShuffleEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShuffleEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2956,42 +2956,42 @@ impl MediaPlaybackList { pub fn CurrentItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentItemIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentItemIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MoveNext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveNext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MovePrevious(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MovePrevious)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MoveTo(&self, itemindex: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveTo)(windows_core::Interface::as_raw(this), itemindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxPrefetchTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPrefetchTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3005,7 +3005,7 @@ impl MediaPlaybackList { pub fn StartingItem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartingItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3020,7 +3020,7 @@ impl MediaPlaybackList { pub fn ShuffledItems(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShuffledItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3035,7 +3035,7 @@ impl MediaPlaybackList { pub fn MaxPlayedItemsToKeepOpen(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPlayedItemsToKeepOpen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3070,7 +3070,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackStateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3084,7 +3084,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3098,7 +3098,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SeekCompleted)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3112,7 +3112,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferingStarted)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3126,7 +3126,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferingEnded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3140,7 +3140,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferingProgressChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3154,7 +3154,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadProgressChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3168,7 +3168,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalDurationChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3182,7 +3182,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3196,7 +3196,7 @@ impl MediaPlaybackSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalVideoSizeChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3207,21 +3207,21 @@ impl MediaPlaybackSession { pub fn MediaPlayer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaPlayer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NaturalDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3232,35 +3232,35 @@ impl MediaPlaybackSession { pub fn PlaybackState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanSeek(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanSeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanPause(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPause)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsProtected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsProtected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PlaybackRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3271,35 +3271,35 @@ impl MediaPlaybackSession { pub fn BufferingProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferingProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DownloadProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NaturalVideoHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalVideoHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NaturalVideoWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalVideoWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NormalizedSourceRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalizedSourceRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3311,7 +3311,7 @@ impl MediaPlaybackSession { pub fn StereoscopicVideoPackingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoscopicVideoPackingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3326,7 +3326,7 @@ impl MediaPlaybackSession { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferedRangesChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3340,7 +3340,7 @@ impl MediaPlaybackSession { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlayedRangesChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3354,7 +3354,7 @@ impl MediaPlaybackSession { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SeekableRangesChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3368,7 +3368,7 @@ impl MediaPlaybackSession { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedPlaybackRatesChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3379,14 +3379,14 @@ impl MediaPlaybackSession { pub fn SphericalVideoProjection(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SphericalVideoProjection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsMirroring(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMirroring)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3398,7 +3398,7 @@ impl MediaPlaybackSession { pub fn GetBufferedRanges(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBufferedRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3406,7 +3406,7 @@ impl MediaPlaybackSession { pub fn GetPlayedRanges(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPlayedRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3414,14 +3414,14 @@ impl MediaPlaybackSession { pub fn GetSeekableRanges(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSeekableRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupportedPlaybackRateRange)(windows_core::Interface::as_raw(this), rate1, rate2, &mut result__).map(|| result__) } } @@ -3429,7 +3429,7 @@ impl MediaPlaybackSession { pub fn PlaybackRotation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRotation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3441,7 +3441,7 @@ impl MediaPlaybackSession { pub fn GetOutputDegradationPolicyState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputDegradationPolicyState)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3466,7 +3466,7 @@ impl MediaPlaybackSessionBufferingStartedEventArgs { pub fn IsPlaybackInterruption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlaybackInterruption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3491,7 +3491,7 @@ impl MediaPlaybackSessionOutputDegradationPolicyState { pub fn VideoConstrictionReason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoConstrictionReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3516,7 +3516,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3528,7 +3528,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn FrameFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3540,7 +3540,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn HorizontalFieldOfViewInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HorizontalFieldOfViewInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3552,7 +3552,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn ViewOrientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3564,7 +3564,7 @@ impl MediaPlaybackSphericalVideoProjection { pub fn ProjectionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProjectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3599,7 +3599,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3610,7 +3610,7 @@ impl MediaPlaybackTimedMetadataTrackList { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationModeChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3621,7 +3621,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn GetPresentationMode(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPresentationMode)(windows_core::Interface::as_raw(this), index, &mut result__).map(|| result__) } } @@ -3633,7 +3633,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3641,7 +3641,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3652,7 +3652,7 @@ impl MediaPlaybackTimedMetadataTrackList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -3660,7 +3660,7 @@ impl MediaPlaybackTimedMetadataTrackList { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -3712,7 +3712,7 @@ impl MediaPlaybackVideoTrackList { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3723,7 +3723,7 @@ impl MediaPlaybackVideoTrackList { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedIndexChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3741,7 +3741,7 @@ impl MediaPlaybackVideoTrackList { pub fn SelectedIndex(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3749,7 +3749,7 @@ impl MediaPlaybackVideoTrackList { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3757,7 +3757,7 @@ impl MediaPlaybackVideoTrackList { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3768,7 +3768,7 @@ impl MediaPlaybackVideoTrackList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -3776,7 +3776,7 @@ impl MediaPlaybackVideoTrackList { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -3834,7 +3834,7 @@ impl MediaPlayer { pub fn AutoPlay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoPlay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3846,7 +3846,7 @@ impl MediaPlayer { pub fn NaturalDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3854,7 +3854,7 @@ impl MediaPlayer { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3867,7 +3867,7 @@ impl MediaPlayer { pub fn BufferingProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferingProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3875,7 +3875,7 @@ impl MediaPlayer { pub fn CurrentState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3883,7 +3883,7 @@ impl MediaPlayer { pub fn CanSeek(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanSeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3891,14 +3891,14 @@ impl MediaPlayer { pub fn CanPause(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPause)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLoopingEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLoopingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3910,14 +3910,14 @@ impl MediaPlayer { pub fn IsProtected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsProtected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMuted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMuted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3929,7 +3929,7 @@ impl MediaPlayer { pub fn PlaybackRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3941,7 +3941,7 @@ impl MediaPlayer { pub fn Volume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Volume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3953,7 +3953,7 @@ impl MediaPlayer { pub fn PlaybackMediaMarkers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackMediaMarkers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3963,7 +3963,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaOpened)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3977,7 +3977,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaEnded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -3991,7 +3991,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaFailed)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4006,7 +4006,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentStateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4022,7 +4022,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackMediaMarkerReached)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4038,7 +4038,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaPlayerRateChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4053,7 +4053,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VolumeChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4068,7 +4068,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SeekCompleted)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4084,7 +4084,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferingStarted)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4100,7 +4100,7 @@ impl MediaPlayer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferingEnded)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4128,14 +4128,14 @@ impl MediaPlayer { pub fn SystemMediaTransportControls(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemMediaTransportControls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AudioCategory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioCategory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4146,7 +4146,7 @@ impl MediaPlayer { pub fn AudioDeviceType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4160,7 +4160,7 @@ impl MediaPlayer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMutedChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4174,7 +4174,7 @@ impl MediaPlayer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4185,7 +4185,7 @@ impl MediaPlayer { pub fn AudioBalance(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioBalance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4196,7 +4196,7 @@ impl MediaPlayer { pub fn RealTimePlayback(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RealTimePlayback)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4207,7 +4207,7 @@ impl MediaPlayer { pub fn StereoscopicVideoRenderMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StereoscopicVideoRenderMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4218,14 +4218,14 @@ impl MediaPlayer { pub fn BreakManager(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BreakManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CommandManager(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4233,7 +4233,7 @@ impl MediaPlayer { pub fn AudioDevice(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4248,7 +4248,7 @@ impl MediaPlayer { pub fn TimelineController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimelineController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4262,7 +4262,7 @@ impl MediaPlayer { pub fn TimelineControllerPositionOffset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimelineControllerPositionOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4273,7 +4273,7 @@ impl MediaPlayer { pub fn PlaybackSession(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4289,7 +4289,7 @@ impl MediaPlayer { pub fn GetAsCastingSource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsCastingSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4304,7 +4304,7 @@ impl MediaPlayer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSurface)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4314,7 +4314,7 @@ impl MediaPlayer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoFrameAvailable)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -4325,7 +4325,7 @@ impl MediaPlayer { pub fn IsVideoFrameServerEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVideoFrameServerEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4364,7 +4364,7 @@ impl MediaPlayer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubtitleFrameChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4379,7 +4379,7 @@ impl MediaPlayer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderSubtitlesToSurface)(windows_core::Interface::as_raw(this), destination.param().abi(), &mut result__).map(|| result__) } } @@ -4390,7 +4390,7 @@ impl MediaPlayer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderSubtitlesToSurfaceWithTargetRectangle)(windows_core::Interface::as_raw(this), destination.param().abi(), targetrectangle, &mut result__).map(|| result__) } } @@ -4398,7 +4398,7 @@ impl MediaPlayer { pub fn AudioStateMonitor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioStateMonitor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4426,7 +4426,7 @@ impl MediaPlayer { pub fn ProtectionManager(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4465,7 +4465,7 @@ impl MediaPlayer { pub fn Source(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4498,7 +4498,7 @@ impl MediaPlayerDataReceivedEventArgs { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4523,21 +4523,21 @@ impl MediaPlayerFailedEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4562,7 +4562,7 @@ impl MediaPlayerRateChangedEventArgs { pub fn NewRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4593,7 +4593,7 @@ impl MediaPlayerSurface { pub fn CompositionSurface(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositionSurface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4601,14 +4601,14 @@ impl MediaPlayerSurface { pub fn Compositor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MediaPlayer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaPlayer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4633,33 +4633,33 @@ impl PlaybackMediaMarker { pub fn Time(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Time)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MediaMarkerType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaMarkerType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromTime(value: super::super::Foundation::TimeSpan) -> windows_core::Result { Self::IPlaybackMediaMarkerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromTime)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Create(value: super::super::Foundation::TimeSpan, mediamarkettype: &windows_core::HSTRING, text: &windows_core::HSTRING) -> windows_core::Result { Self::IPlaybackMediaMarkerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), value, core::mem::transmute_copy(mediamarkettype), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4689,7 +4689,7 @@ impl PlaybackMediaMarkerReachedEventArgs { pub fn PlaybackMediaMarker(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackMediaMarker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4717,14 +4717,14 @@ impl PlaybackMediaMarkerSequence { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4777,21 +4777,21 @@ impl TimedMetadataPresentationModeChangedEventArgs { pub fn Track(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OldPresentationMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldPresentationMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NewPresentationMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewPresentationMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs index a84eb9a79d..c71e938040 100644 --- a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs @@ -11,11 +11,11 @@ pub struct IPlaylist_Vtbl { Files: usize, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage")] - pub SaveAsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Storage::NameCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SaveAsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Storage::NameCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] SaveAsAsync: usize, #[cfg(feature = "Storage")] - pub SaveAsWithFormatAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Storage::NameCollisionOption, PlaylistFormat, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SaveAsWithFormatAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Storage::NameCollisionOption, PlaylistFormat, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] SaveAsWithFormatAsync: usize, } @@ -47,14 +47,14 @@ impl Playlist { pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -65,7 +65,7 @@ impl Playlist { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsAsync)(windows_core::Interface::as_raw(this), savelocation.param().abi(), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -76,7 +76,7 @@ impl Playlist { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsWithFormatAsync)(windows_core::Interface::as_raw(this), savelocation.param().abi(), core::mem::transmute_copy(desiredname), option, playlistformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -86,7 +86,7 @@ impl Playlist { P0: windows_core::Param, { Self::IPlaylistStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs index 2ba811730d..86c94b164b 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs @@ -891,7 +891,7 @@ impl INDTransmitterProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModelManufacturerName, Impl: INDTransmitterProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModelManufacturerName, Impl: INDTransmitterProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INDTransmitterProperties_Impl::ModelManufacturerName(this) { @@ -903,7 +903,7 @@ impl INDTransmitterProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModelName, Impl: INDTransmitterProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModelName, Impl: INDTransmitterProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INDTransmitterProperties_Impl::ModelName(this) { @@ -915,7 +915,7 @@ impl INDTransmitterProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModelNumber, Impl: INDTransmitterProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModelNumber, Impl: INDTransmitterProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INDTransmitterProperties_Impl::ModelNumber(this) { @@ -991,7 +991,7 @@ impl IPlayReadyDomain_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FriendlyName, Impl: IPlayReadyDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: IPlayReadyDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPlayReadyDomain_Impl::FriendlyName(this) { @@ -1374,7 +1374,7 @@ impl IPlayReadyServiceRequest_Vtbl { let this = (*this).get_impl(); IPlayReadyServiceRequest_Impl::SetUri(this, windows_core::from_raw_borrowed(&value)).into() } - unsafe extern "system" fn ResponseCustomData, Impl: IPlayReadyServiceRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResponseCustomData, Impl: IPlayReadyServiceRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPlayReadyServiceRequest_Impl::ResponseCustomData(this) { @@ -1386,7 +1386,7 @@ impl IPlayReadyServiceRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ChallengeCustomData, Impl: IPlayReadyServiceRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChallengeCustomData, Impl: IPlayReadyServiceRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPlayReadyServiceRequest_Impl::ChallengeCustomData(this) { @@ -1398,7 +1398,7 @@ impl IPlayReadyServiceRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetChallengeCustomData, Impl: IPlayReadyServiceRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetChallengeCustomData, Impl: IPlayReadyServiceRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPlayReadyServiceRequest_Impl::SetChallengeCustomData(this, core::mem::transmute(&value)).into() 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 75769a288c..511d961b9e 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -86,7 +86,7 @@ windows_core::imp::define_interface!(INDClosedCaptionDataReceivedEventArgs, INDC impl std::ops::Deref for INDClosedCaptionDataReceivedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -97,7 +97,7 @@ impl INDClosedCaptionDataReceivedEventArgs { pub fn ClosedCaptionDataFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClosedCaptionDataFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -105,7 +105,7 @@ impl INDClosedCaptionDataReceivedEventArgs { pub fn PresentationTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -114,7 +114,7 @@ impl INDClosedCaptionDataReceivedEventArgs { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).ClosedCaptionData)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } } @@ -145,7 +145,7 @@ windows_core::imp::define_interface!(INDCustomData, INDCustomData_Vtbl, 0xf5cb0f impl std::ops::Deref for INDCustomData { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -157,7 +157,7 @@ impl INDCustomData { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).CustomDataTypeID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] @@ -165,7 +165,7 @@ impl INDCustomData { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).CustomData)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } } @@ -207,7 +207,7 @@ windows_core::imp::define_interface!(INDDownloadEngine, INDDownloadEngine_Vtbl, impl std::ops::Deref for INDDownloadEngine { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -246,7 +246,7 @@ impl INDDownloadEngine { pub fn CanSeek(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanSeek)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -254,7 +254,7 @@ impl INDDownloadEngine { pub fn BufferFullMinThresholdInSamples(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferFullMinThresholdInSamples)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -262,7 +262,7 @@ impl INDDownloadEngine { pub fn BufferFullMaxThresholdInSamples(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferFullMaxThresholdInSamples)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -270,7 +270,7 @@ impl INDDownloadEngine { pub fn Notifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Notifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -326,7 +326,7 @@ windows_core::imp::define_interface!(INDDownloadEngineNotifier, INDDownloadEngin impl std::ops::Deref for INDDownloadEngineNotifier { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -406,7 +406,7 @@ windows_core::imp::define_interface!(INDLicenseFetchCompletedEventArgs, INDLicen impl std::ops::Deref for INDLicenseFetchCompletedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -417,7 +417,7 @@ impl INDLicenseFetchCompletedEventArgs { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -441,7 +441,7 @@ windows_core::imp::define_interface!(INDLicenseFetchDescriptor, INDLicenseFetchD impl std::ops::Deref for INDLicenseFetchDescriptor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -452,7 +452,7 @@ impl INDLicenseFetchDescriptor { pub fn ContentIDType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentIDType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -461,14 +461,14 @@ impl INDLicenseFetchDescriptor { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).ContentID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] pub fn LicenseFetchChallengeCustomData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseFetchChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -527,7 +527,7 @@ windows_core::imp::define_interface!(INDLicenseFetchResult, INDLicenseFetchResul impl std::ops::Deref for INDLicenseFetchResult { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -538,7 +538,7 @@ impl INDLicenseFetchResult { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -562,7 +562,7 @@ windows_core::imp::define_interface!(INDMessenger, INDMessenger_Vtbl, 0xd42df95d impl std::ops::Deref for INDMessenger { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -573,7 +573,7 @@ impl INDMessenger { pub fn SendRegistrationRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendRegistrationRequestAsync)(windows_core::Interface::as_raw(this), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -581,7 +581,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendProximityDetectionStartAsync)(windows_core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len().try_into().unwrap(), transmitterchannelbytes.as_ptr(), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -589,7 +589,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendProximityDetectionResponseAsync)(windows_core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len().try_into().unwrap(), transmitterchannelbytes.as_ptr(), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), responsedatabytes.len().try_into().unwrap(), responsedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -597,7 +597,7 @@ impl INDMessenger { pub fn SendLicenseFetchRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendLicenseFetchRequestAsync)(windows_core::Interface::as_raw(this), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -633,7 +633,7 @@ windows_core::imp::define_interface!(INDProximityDetectionCompletedEventArgs, IN impl std::ops::Deref for INDProximityDetectionCompletedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -644,7 +644,7 @@ impl INDProximityDetectionCompletedEventArgs { pub fn ProximityDetectionRetryCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProximityDetectionRetryCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -668,7 +668,7 @@ windows_core::imp::define_interface!(INDRegistrationCompletedEventArgs, INDRegis impl std::ops::Deref for INDRegistrationCompletedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -679,7 +679,7 @@ impl INDRegistrationCompletedEventArgs { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -687,7 +687,7 @@ impl INDRegistrationCompletedEventArgs { pub fn TransmitterProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransmitterProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -695,7 +695,7 @@ impl INDRegistrationCompletedEventArgs { pub fn TransmitterCertificateAccepted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransmitterCertificateAccepted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -736,7 +736,7 @@ windows_core::imp::define_interface!(INDSendResult, INDSendResult_Vtbl, 0xe36855 impl std::ops::Deref for INDSendResult { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -748,7 +748,7 @@ impl INDSendResult { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).Response)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } } @@ -771,7 +771,7 @@ windows_core::imp::define_interface!(INDStartResult, INDStartResult_Vtbl, 0x79f6 impl std::ops::Deref for INDStartResult { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -782,7 +782,7 @@ impl INDStartResult { pub fn MediaStreamSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaStreamSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -806,7 +806,7 @@ windows_core::imp::define_interface!(INDStorageFileHelper, INDStorageFileHelper_ impl std::ops::Deref for INDStorageFileHelper { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -820,7 +820,7 @@ impl INDStorageFileHelper { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileURLs)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -844,7 +844,7 @@ windows_core::imp::define_interface!(INDStreamParser, INDStreamParser_Vtbl, 0xe0 impl std::ops::Deref for INDStreamParser { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -863,7 +863,7 @@ impl INDStreamParser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStreamInformation)(windows_core::Interface::as_raw(this), descriptor.param().abi(), streamtype, &mut result__).map(|| result__) } } @@ -881,7 +881,7 @@ impl INDStreamParser { pub fn Notifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Notifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -921,7 +921,7 @@ windows_core::imp::define_interface!(INDStreamParserNotifier, INDStreamParserNot impl std::ops::Deref for INDStreamParserNotifier { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -998,7 +998,7 @@ impl windows_core::RuntimeType for INDTCPMessengerFactory { pub struct INDTCPMessengerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateInstance: usize, } @@ -1008,7 +1008,7 @@ windows_core::imp::define_interface!(INDTransmitterProperties, INDTransmitterPro impl std::ops::Deref for INDTransmitterProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "deprecated")] @@ -1019,7 +1019,7 @@ impl INDTransmitterProperties { pub fn CertificateType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CertificateType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1027,7 +1027,7 @@ impl INDTransmitterProperties { pub fn PlatformIdentifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlatformIdentifier)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1036,14 +1036,14 @@ impl INDTransmitterProperties { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).SupportedFeatures)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] pub fn SecurityLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecurityLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1051,7 +1051,7 @@ impl INDTransmitterProperties { pub fn SecurityVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecurityVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1059,7 +1059,7 @@ impl INDTransmitterProperties { pub fn ExpirationDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1068,7 +1068,7 @@ impl INDTransmitterProperties { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).ClientID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] @@ -1076,14 +1076,14 @@ impl INDTransmitterProperties { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).ModelDigest)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] pub fn ModelManufacturerName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelManufacturerName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1091,7 +1091,7 @@ impl INDTransmitterProperties { pub fn ModelName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1099,7 +1099,7 @@ impl INDTransmitterProperties { pub fn ModelNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1145,15 +1145,15 @@ pub struct INDTransmitterProperties_Vtbl { #[cfg(not(feature = "deprecated"))] ModelDigest: usize, #[cfg(feature = "deprecated")] - pub ModelManufacturerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelManufacturerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ModelManufacturerName: usize, #[cfg(feature = "deprecated")] - pub ModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ModelName: usize, #[cfg(feature = "deprecated")] - pub ModelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ModelNumber: usize, } @@ -1165,12 +1165,12 @@ impl windows_core::RuntimeType for IPlayReadyContentHeader { pub struct IPlayReadyContentHeader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub KeyId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub KeyIdString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyIdString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LicenseAcquisitionUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LicenseAcquisitionUserInterfaceUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DomainServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub EncryptionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlayReadyEncryptionAlgorithm) -> windows_core::HRESULT, - pub CustomAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DecryptorSetup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlayReadyDecryptorSetup) -> windows_core::HRESULT, pub GetSerializedHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub HeaderWithEmbeddedUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1183,7 +1183,7 @@ impl windows_core::RuntimeType for IPlayReadyContentHeader2 { pub struct IPlayReadyContentHeader2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub KeyIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, - pub KeyIdStrings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyIdStrings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyContentHeaderFactory, IPlayReadyContentHeaderFactory_Vtbl, 0xcb97c8ff_b758_4776_bf01_217a8b510b2c); impl windows_core::RuntimeType for IPlayReadyContentHeaderFactory { @@ -1192,8 +1192,8 @@ impl windows_core::RuntimeType for IPlayReadyContentHeaderFactory { #[repr(C)] pub struct IPlayReadyContentHeaderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstanceFromWindowsMediaDrmHeader: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateInstanceFromComponents: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit, PlayReadyEncryptionAlgorithm, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstanceFromWindowsMediaDrmHeader: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstanceFromComponents: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit, PlayReadyEncryptionAlgorithm, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInstanceFromPlayReadyHeader: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyContentHeaderFactory2, IPlayReadyContentHeaderFactory2_Vtbl, 0xd1239cf5_ae6d_4778_97fd_6e3a2eeadbeb); @@ -1203,7 +1203,7 @@ impl windows_core::RuntimeType for IPlayReadyContentHeaderFactory2 { #[repr(C)] pub struct IPlayReadyContentHeaderFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstanceFromComponents2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const windows_core::GUID, u32, *const std::mem::MaybeUninit, PlayReadyEncryptionAlgorithm, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstanceFromComponents2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const windows_core::GUID, u32, *const core::mem::MaybeUninit, PlayReadyEncryptionAlgorithm, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyContentResolver, IPlayReadyContentResolver_Vtbl, 0xfbfd2523_906d_4982_a6b8_6849565a7ce8); impl windows_core::RuntimeType for IPlayReadyContentResolver { @@ -1218,7 +1218,7 @@ windows_core::imp::define_interface!(IPlayReadyDomain, IPlayReadyDomain_Vtbl, 0x impl std::ops::Deref for IPlayReadyDomain { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayReadyDomain, windows_core::IUnknown, windows_core::IInspectable); @@ -1226,35 +1226,35 @@ impl IPlayReadyDomain { pub fn AccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Revision(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Revision)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DomainJoinUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainJoinUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1268,7 +1268,7 @@ pub struct IPlayReadyDomain_Vtbl { pub AccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub ServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Revision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DomainJoinUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyDomainIterableFactory, IPlayReadyDomainIterableFactory_Vtbl, 0x4df384ee_3121_4df3_a5e8_d0c24c0500fc); @@ -1292,8 +1292,8 @@ pub struct IPlayReadyDomainJoinServiceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DomainAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetDomainAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, - pub DomainFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDomainFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DomainFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDomainFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DomainServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetDomainServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } @@ -1333,7 +1333,7 @@ windows_core::imp::define_interface!(IPlayReadyLicense, IPlayReadyLicense_Vtbl, impl std::ops::Deref for IPlayReadyLicense { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayReadyLicense, windows_core::IUnknown, windows_core::IInspectable); @@ -1341,49 +1341,49 @@ impl IPlayReadyLicense { pub fn FullyEvaluated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FullyEvaluated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsableForPlay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsableForPlay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExpirationDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExpireAfterFirstPlay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpireAfterFirstPlay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DomainAccountID(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainAccountID)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ChainDepth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChainDepth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetKIDAtChainDepth(&self, chaindepth: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetKIDAtChainDepth)(windows_core::Interface::as_raw(this), chaindepth, &mut result__).map(|| result__) } } @@ -1418,7 +1418,7 @@ windows_core::imp::define_interface!(IPlayReadyLicenseAcquisitionServiceRequest, impl std::ops::Deref for IPlayReadyLicenseAcquisitionServiceRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayReadyLicenseAcquisitionServiceRequest, windows_core::IUnknown, windows_core::IInspectable); @@ -1427,7 +1427,7 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn ContentHeader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentHeader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1441,7 +1441,7 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn DomainServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1452,21 +1452,21 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1480,14 +1480,14 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1498,28 +1498,28 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } @@ -1581,7 +1581,7 @@ windows_core::imp::define_interface!(IPlayReadyLicenseSession, IPlayReadyLicense impl std::ops::Deref for IPlayReadyLicenseSession { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayReadyLicenseSession, windows_core::IUnknown, windows_core::IInspectable); @@ -1589,7 +1589,7 @@ impl IPlayReadyLicenseSession { pub fn CreateLAServiceRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLAServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1614,7 +1614,7 @@ windows_core::imp::define_interface!(IPlayReadyLicenseSession2, IPlayReadyLicens impl std::ops::Deref for IPlayReadyLicenseSession2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayReadyLicenseSession2, windows_core::IUnknown, windows_core::IInspectable); @@ -1627,14 +1627,14 @@ impl IPlayReadyLicenseSession2 { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLicenseIterable)(windows_core::Interface::as_raw(this), contentheader.param().abi(), fullyevaluated, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLAServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLAServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1703,7 +1703,7 @@ windows_core::imp::define_interface!(IPlayReadySecureStopServiceRequest, IPlayRe impl std::ops::Deref for IPlayReadySecureStopServiceRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayReadySecureStopServiceRequest, windows_core::IUnknown, windows_core::IInspectable); @@ -1712,28 +1712,28 @@ impl IPlayReadySecureStopServiceRequest { pub fn SessionID(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionID)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UpdateTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Stopped(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1741,27 +1741,27 @@ impl IPlayReadySecureStopServiceRequest { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).PublisherCertificate)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1775,14 +1775,14 @@ impl IPlayReadySecureStopServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1793,28 +1793,28 @@ impl IPlayReadySecureStopServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } @@ -1845,7 +1845,7 @@ windows_core::imp::define_interface!(IPlayReadyServiceRequest, IPlayReadyService impl std::ops::Deref for IPlayReadyServiceRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayReadyServiceRequest, windows_core::IUnknown, windows_core::IInspectable); @@ -1854,7 +1854,7 @@ impl IPlayReadyServiceRequest { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1868,14 +1868,14 @@ impl IPlayReadyServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1886,42 +1886,42 @@ impl IPlayReadyServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1934,9 +1934,9 @@ pub struct IPlayReadyServiceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ResponseCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChallengeCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetChallengeCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResponseCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChallengeCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetChallengeCustomData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub BeginServiceRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NextServiceRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GenerateManualEnablingChallenge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1998,7 +1998,7 @@ impl windows_core::RuntimeType for IPlayReadyStatics4 { #[repr(C)] pub struct IPlayReadyStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub InputTrustAuthorityToCreate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InputTrustAuthorityToCreate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProtectionSystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyStatics5, IPlayReadyStatics5_Vtbl, 0x230a7075_dfa0_4f8e_a779_cefea9c6824b); @@ -2027,7 +2027,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegistrationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2043,7 +2043,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProximityDetectionCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2059,7 +2059,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseFetchCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2075,7 +2075,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReRegistrationNeeded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2091,7 +2091,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClosedCaptionDataReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2109,7 +2109,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), contenturl.param().abi(), startasyncoptions, registrationcustomdata.param().abi(), licensefetchdescriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2120,7 +2120,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseFetchAsync)(windows_core::Interface::as_raw(this), licensefetchdescriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2131,7 +2131,7 @@ impl NDClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReRegistrationAsync)(windows_core::Interface::as_raw(this), registrationcustomdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2148,7 +2148,7 @@ impl NDClient { P2: windows_core::Param, { Self::INDClientFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), downloadengine.param().abi(), streamparser.param().abi(), pmessenger.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2187,7 +2187,7 @@ impl NDCustomData { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).CustomDataTypeID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] @@ -2195,13 +2195,13 @@ impl NDCustomData { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).CustomData)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] pub fn CreateInstance(customdatatypeidbytes: &[u8], customdatabytes: &[u8]) -> windows_core::Result { Self::INDCustomDataFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), customdatatypeidbytes.len().try_into().unwrap(), customdatatypeidbytes.as_ptr(), customdatabytes.len().try_into().unwrap(), customdatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2303,7 +2303,7 @@ impl NDLicenseFetchDescriptor { pub fn ContentIDType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentIDType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2312,14 +2312,14 @@ impl NDLicenseFetchDescriptor { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).ContentID)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "deprecated")] pub fn LicenseFetchChallengeCustomData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseFetchChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2337,7 +2337,7 @@ impl NDLicenseFetchDescriptor { P0: windows_core::Param, { Self::INDLicenseFetchDescriptorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), contentidtype, contentidbytes.len().try_into().unwrap(), contentidbytes.as_ptr(), licensefetchchallengecustomdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2385,7 +2385,7 @@ impl NDStorageFileHelper { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileURLs)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2481,7 +2481,7 @@ impl NDTCPMessenger { pub fn SendRegistrationRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendRegistrationRequestAsync)(windows_core::Interface::as_raw(this), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2489,7 +2489,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendProximityDetectionStartAsync)(windows_core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len().try_into().unwrap(), transmitterchannelbytes.as_ptr(), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2497,7 +2497,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendProximityDetectionResponseAsync)(windows_core::Interface::as_raw(this), pdtype, transmitterchannelbytes.len().try_into().unwrap(), transmitterchannelbytes.as_ptr(), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), responsedatabytes.len().try_into().unwrap(), responsedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2505,14 +2505,14 @@ impl NDTCPMessenger { pub fn SendLicenseFetchRequestAsync(&self, sessionidbytes: &[u8], challengedatabytes: &[u8]) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendLicenseFetchRequestAsync)(windows_core::Interface::as_raw(this), sessionidbytes.len().try_into().unwrap(), sessionidbytes.as_ptr(), challengedatabytes.len().try_into().unwrap(), challengedatabytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "deprecated")] pub fn CreateInstance(remotehostname: &windows_core::HSTRING, remotehostport: u32) -> windows_core::Result { Self::INDTCPMessengerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(remotehostname), remotehostport, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2544,56 +2544,56 @@ impl PlayReadyContentHeader { pub fn KeyId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn KeyIdString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyIdString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LicenseAcquisitionUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseAcquisitionUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LicenseAcquisitionUserInterfaceUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseAcquisitionUserInterfaceUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DomainServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EncryptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncryptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CustomAttributes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DecryptorSetup(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecryptorSetup)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2601,13 +2601,13 @@ impl PlayReadyContentHeader { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetSerializedHeader)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn HeaderWithEmbeddedUpdates(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderWithEmbeddedUpdates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2615,14 +2615,14 @@ impl PlayReadyContentHeader { let this = &windows_core::Interface::cast::(self)?; unsafe { let mut result__ = core::mem::MaybeUninit::zeroed(); - (windows_core::Interface::vtable(this).KeyIds)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).KeyIds)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn KeyIdStrings(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { let mut result__ = core::mem::MaybeUninit::zeroed(); - (windows_core::Interface::vtable(this).KeyIdStrings)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).KeyIdStrings)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn CreateInstanceFromWindowsMediaDrmHeader(headerbytes: &[u8], licenseacquisitionurl: P0, licenseacquisitionuserinterfaceurl: P1, customattributes: &windows_core::HSTRING, domainserviceid: windows_core::GUID) -> windows_core::Result @@ -2631,7 +2631,7 @@ impl PlayReadyContentHeader { P1: windows_core::Param, { Self::IPlayReadyContentHeaderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstanceFromWindowsMediaDrmHeader)(windows_core::Interface::as_raw(this), headerbytes.len().try_into().unwrap(), headerbytes.as_ptr(), licenseacquisitionurl.param().abi(), licenseacquisitionuserinterfaceurl.param().abi(), core::mem::transmute_copy(customattributes), domainserviceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2641,13 +2641,13 @@ impl PlayReadyContentHeader { P1: windows_core::Param, { Self::IPlayReadyContentHeaderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstanceFromComponents)(windows_core::Interface::as_raw(this), contentkeyid, core::mem::transmute_copy(contentkeyidstring), contentencryptionalgorithm, licenseacquisitionurl.param().abi(), licenseacquisitionuserinterfaceurl.param().abi(), core::mem::transmute_copy(customattributes), domainserviceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInstanceFromPlayReadyHeader(headerbytes: &[u8]) -> windows_core::Result { Self::IPlayReadyContentHeaderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstanceFromPlayReadyHeader)(windows_core::Interface::as_raw(this), headerbytes.len().try_into().unwrap(), headerbytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2657,7 +2657,7 @@ impl PlayReadyContentHeader { P1: windows_core::Param, { Self::IPlayReadyContentHeaderFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstanceFromComponents2)(windows_core::Interface::as_raw(this), dwflags, contentkeyids.len().try_into().unwrap(), contentkeyids.as_ptr(), contentkeyidstrings.len().try_into().unwrap(), core::mem::transmute(contentkeyidstrings.as_ptr()), contentencryptionalgorithm, licenseacquisitionurl.param().abi(), licenseacquisitionuserinterfaceurl.param().abi(), core::mem::transmute_copy(customattributes), domainserviceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2689,7 +2689,7 @@ impl PlayReadyContentResolver { P0: windows_core::Param, { Self::IPlayReadyContentResolver(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceRequest)(windows_core::Interface::as_raw(this), contentheader.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2711,35 +2711,35 @@ impl PlayReadyDomain { pub fn AccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Revision(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Revision)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DomainJoinUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainJoinUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2768,14 +2768,14 @@ impl PlayReadyDomainIterable { pub fn First(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn CreateInstance(domainaccountid: windows_core::GUID) -> windows_core::Result { Self::IPlayReadyDomainIterableFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), domainaccountid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2828,7 +2828,7 @@ impl PlayReadyDomainIterator { pub fn Current(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2836,7 +2836,7 @@ impl PlayReadyDomainIterator { pub fn HasCurrent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCurrent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2844,7 +2844,7 @@ impl PlayReadyDomainIterator { pub fn MoveNext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveNext)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2852,7 +2852,7 @@ impl PlayReadyDomainIterator { pub fn GetMany(&self, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -2886,21 +2886,21 @@ impl PlayReadyDomainJoinServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DomainAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainAccountId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2911,7 +2911,7 @@ impl PlayReadyDomainJoinServiceRequest { pub fn DomainFriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainFriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2922,7 +2922,7 @@ impl PlayReadyDomainJoinServiceRequest { pub fn DomainServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2933,7 +2933,7 @@ impl PlayReadyDomainJoinServiceRequest { pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2947,14 +2947,14 @@ impl PlayReadyDomainJoinServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2965,28 +2965,28 @@ impl PlayReadyDomainJoinServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } @@ -3017,21 +3017,21 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DomainAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainAccountId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3042,7 +3042,7 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn DomainServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3053,7 +3053,7 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3067,14 +3067,14 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3085,28 +3085,28 @@ impl PlayReadyDomainLeaveServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } @@ -3141,7 +3141,7 @@ impl PlayReadyITADataGenerator { let this = self; unsafe { let mut result__ = core::mem::MaybeUninit::zeroed(); - (windows_core::Interface::vtable(this).GenerateData)(windows_core::Interface::as_raw(this), guidcpsystemid, countofstreams, configuration.param().abi(), format, windows_core::Array::::set_abi_len(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GenerateData)(windows_core::Interface::as_raw(this), guidcpsystemid, countofstreams, configuration.param().abi(), format, windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } } @@ -3171,21 +3171,21 @@ impl PlayReadyIndividualizationServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3199,14 +3199,14 @@ impl PlayReadyIndividualizationServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3217,28 +3217,28 @@ impl PlayReadyIndividualizationServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } @@ -3262,77 +3262,77 @@ impl PlayReadyLicense { pub fn FullyEvaluated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FullyEvaluated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UsableForPlay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UsableForPlay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExpirationDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExpireAfterFirstPlay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpireAfterFirstPlay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DomainAccountID(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainAccountID)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ChainDepth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChainDepth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetKIDAtChainDepth(&self, chaindepth: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetKIDAtChainDepth)(windows_core::Interface::as_raw(this), chaindepth, &mut result__).map(|| result__) } } pub fn SecureStopId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecureStopId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SecurityLevel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecurityLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InMemoryOnly(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InMemoryOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExpiresInRealTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpiresInRealTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3363,21 +3363,21 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContentHeader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentHeader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3391,7 +3391,7 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn DomainServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3402,7 +3402,7 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn SessionId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3413,14 +3413,14 @@ impl PlayReadyLicenseAcquisitionServiceRequest { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLicenseIterable)(windows_core::Interface::as_raw(this), contentheader.param().abi(), fullyevaluated, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3434,14 +3434,14 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3452,28 +3452,28 @@ impl PlayReadyLicenseAcquisitionServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } @@ -3509,7 +3509,7 @@ impl PlayReadyLicenseIterable { pub fn First(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3519,7 +3519,7 @@ impl PlayReadyLicenseIterable { P0: windows_core::Param, { Self::IPlayReadyLicenseIterableFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), contentheader.param().abi(), fullyevaluated, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3572,7 +3572,7 @@ impl PlayReadyLicenseIterator { pub fn Current(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3580,7 +3580,7 @@ impl PlayReadyLicenseIterator { pub fn HasCurrent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCurrent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3588,7 +3588,7 @@ impl PlayReadyLicenseIterator { pub fn MoveNext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveNext)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3596,7 +3596,7 @@ impl PlayReadyLicenseIterator { pub fn GetMany(&self, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -3621,7 +3621,7 @@ impl PlayReadyLicenseManagement { P0: windows_core::Param, { Self::IPlayReadyLicenseManagement(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteLicenses)(windows_core::Interface::as_raw(this), contentheader.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3643,7 +3643,7 @@ impl PlayReadyLicenseSession { pub fn CreateLAServiceRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLAServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3661,7 +3661,7 @@ impl PlayReadyLicenseSession { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLicenseIterable)(windows_core::Interface::as_raw(this), contentheader.param().abi(), fullyevaluated, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3671,7 +3671,7 @@ impl PlayReadyLicenseSession { P0: windows_core::Param, { Self::IPlayReadyLicenseSessionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), configuration.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3707,14 +3707,14 @@ impl PlayReadyMeteringReportServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3722,7 +3722,7 @@ impl PlayReadyMeteringReportServiceRequest { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).MeteringCertificate)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn SetMeteringCertificate(&self, meteringcertbytes: &[u8]) -> windows_core::Result<()> { @@ -3732,7 +3732,7 @@ impl PlayReadyMeteringReportServiceRequest { pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3746,14 +3746,14 @@ impl PlayReadyMeteringReportServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3764,28 +3764,28 @@ impl PlayReadyMeteringReportServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } @@ -3816,21 +3816,21 @@ impl PlayReadyRevocationServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3844,14 +3844,14 @@ impl PlayReadyRevocationServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3862,28 +3862,28 @@ impl PlayReadyRevocationServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } @@ -3912,14 +3912,14 @@ impl PlayReadySecureStopIterable { pub fn First(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn CreateInstance(publishercertbytes: &[u8]) -> windows_core::Result { Self::IPlayReadySecureStopIterableFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), publishercertbytes.len().try_into().unwrap(), publishercertbytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3972,7 +3972,7 @@ impl PlayReadySecureStopIterator { pub fn Current(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3980,7 +3980,7 @@ impl PlayReadySecureStopIterator { pub fn HasCurrent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCurrent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3988,7 +3988,7 @@ impl PlayReadySecureStopIterator { pub fn MoveNext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveNext)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3996,7 +3996,7 @@ impl PlayReadySecureStopIterator { pub fn GetMany(&self, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -4023,42 +4023,42 @@ impl PlayReadySecureStopServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SessionID(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionID)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UpdateTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Stopped(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4066,25 +4066,25 @@ impl PlayReadySecureStopServiceRequest { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).PublisherCertificate)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn CreateInstance(publishercertbytes: &[u8]) -> windows_core::Result { Self::IPlayReadySecureStopServiceRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), publishercertbytes.len().try_into().unwrap(), publishercertbytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInstanceFromSessionID(sessionid: windows_core::GUID, publishercertbytes: &[u8]) -> windows_core::Result { Self::IPlayReadySecureStopServiceRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstanceFromSessionID)(windows_core::Interface::as_raw(this), sessionid, publishercertbytes.len().try_into().unwrap(), publishercertbytes.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4098,14 +4098,14 @@ impl PlayReadySecureStopServiceRequest { pub fn ResponseCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChallengeCustomData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChallengeCustomData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4116,28 +4116,28 @@ impl PlayReadySecureStopServiceRequest { pub fn BeginServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextServiceRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextServiceRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GenerateManualEnablingChallenge(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateManualEnablingChallenge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessManualEnablingResponse(&self, responsebytes: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessManualEnablingResponse)(windows_core::Interface::as_raw(this), responsebytes.len().try_into().unwrap(), responsebytes.as_ptr(), &mut result__).map(|| result__) } } @@ -4166,21 +4166,21 @@ impl PlayReadySoapMessage { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetMessageBody)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "Foundation_Collections")] pub fn MessageHeaders(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageHeaders)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4199,91 +4199,91 @@ pub struct PlayReadyStatics; impl PlayReadyStatics { pub fn DomainJoinServiceRequestType() -> windows_core::Result { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainJoinServiceRequestType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DomainLeaveServiceRequestType() -> windows_core::Result { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainLeaveServiceRequestType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IndividualizationServiceRequestType() -> windows_core::Result { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndividualizationServiceRequestType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LicenseAcquirerServiceRequestType() -> windows_core::Result { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseAcquirerServiceRequestType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MeteringReportServiceRequestType() -> windows_core::Result { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MeteringReportServiceRequestType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RevocationServiceRequestType() -> windows_core::Result { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RevocationServiceRequestType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediaProtectionSystemId() -> windows_core::Result { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaProtectionSystemId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PlayReadySecurityVersion() -> windows_core::Result { Self::IPlayReadyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlayReadySecurityVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PlayReadyCertificateSecurityLevel() -> windows_core::Result { Self::IPlayReadyStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlayReadyCertificateSecurityLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SecureStopServiceRequestType() -> windows_core::Result { Self::IPlayReadyStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecureStopServiceRequestType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CheckSupportedHardware(hwdrmfeature: PlayReadyHardwareDRMFeatures) -> windows_core::Result { Self::IPlayReadyStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckSupportedHardware)(windows_core::Interface::as_raw(this), hwdrmfeature, &mut result__).map(|| result__) }) } pub fn InputTrustAuthorityToCreate() -> windows_core::Result { Self::IPlayReadyStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputTrustAuthorityToCreate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ProtectionSystemId() -> windows_core::Result { Self::IPlayReadyStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystemId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HardwareDRMDisabledAtTime() -> windows_core::Result> { Self::IPlayReadyStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareDRMDisabledAtTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HardwareDRMDisabledUntilTime() -> windows_core::Result> { Self::IPlayReadyStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareDRMDisabledUntilTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 5789d3ef79..f37a5c6b48 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/mod.rs @@ -87,7 +87,7 @@ windows_core::imp::define_interface!(IMediaProtectionServiceRequest, IMediaProte impl std::ops::Deref for IMediaProtectionServiceRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaProtectionServiceRequest, windows_core::IUnknown, windows_core::IInspectable); @@ -95,14 +95,14 @@ impl IMediaProtectionServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -123,7 +123,7 @@ impl windows_core::RuntimeType for IProtectionCapabilities { #[repr(C)] pub struct IProtectionCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut ProtectionCapabilityResult) -> windows_core::HRESULT, + pub IsTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut ProtectionCapabilityResult) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRevocationAndRenewalInformation, IRevocationAndRenewalInformation_Vtbl, 0xf3a1937b_2501_439e_a6e7_6fc95e175fcf); impl windows_core::RuntimeType for IRevocationAndRenewalInformation { @@ -145,10 +145,10 @@ impl windows_core::RuntimeType for IRevocationAndRenewalItem { pub struct IRevocationAndRenewalItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reasons: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RevocationAndRenewalReasons) -> windows_core::HRESULT, - pub HeaderHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublicKeyHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RenewalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HeaderHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublicKeyHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RenewalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceRequestedEventArgs, IServiceRequestedEventArgs_Vtbl, 0x34283baf_abb4_4fc1_bd89_93f106573a49); impl windows_core::RuntimeType for IServiceRequestedEventArgs { @@ -180,14 +180,14 @@ impl ComponentLoadFailedEventArgs { pub fn Information(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Information)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Completion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -211,7 +211,7 @@ impl ComponentRenewal { P0: windows_core::Param, { Self::IComponentRenewalStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenewSystemComponentsAsync)(windows_core::Interface::as_raw(this), information.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -244,21 +244,21 @@ impl HdcpSession { pub fn IsEffectiveProtectionAtLeast(&self, protection: HdcpProtection) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEffectiveProtectionAtLeast)(windows_core::Interface::as_raw(this), protection, &mut result__).map(|| result__) } } pub fn GetEffectiveProtection(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEffectiveProtection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetDesiredMinProtectionAsync(&self, protection: HdcpProtection) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDesiredMinProtectionAsync)(windows_core::Interface::as_raw(this), protection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -268,7 +268,7 @@ impl HdcpSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -307,7 +307,7 @@ impl MediaProtectionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -321,7 +321,7 @@ impl MediaProtectionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RebootNeeded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -335,7 +335,7 @@ impl MediaProtectionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComponentLoadFailed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -347,7 +347,7 @@ impl MediaProtectionManager { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -373,7 +373,7 @@ impl MediaProtectionPMPServer { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -383,7 +383,7 @@ impl MediaProtectionPMPServer { P0: windows_core::Param, { Self::IMediaProtectionPMPServerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePMPServer)(windows_core::Interface::as_raw(this), pproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -442,7 +442,7 @@ impl ProtectionCapabilities { pub fn IsTypeSupported(&self, r#type: &windows_core::HSTRING, keysystem: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTypeSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(r#type), core::mem::transmute_copy(keysystem), &mut result__).map(|| result__) } } @@ -468,7 +468,7 @@ impl RevocationAndRenewalInformation { pub fn Items(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -493,35 +493,35 @@ impl RevocationAndRenewalItem { pub fn Reasons(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reasons)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HeaderHash(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderHash)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublicKeyHash(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicKeyHash)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenewalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenewalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -546,14 +546,14 @@ impl ServiceRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Completion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -561,7 +561,7 @@ impl ServiceRequestedEventArgs { pub fn MediaPlaybackItem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaPlaybackItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs index daeff44d46..4ba1e6cc94 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs @@ -28,7 +28,7 @@ impl ISpeechRecognitionConstraint_Vtbl { let this = (*this).get_impl(); ISpeechRecognitionConstraint_Impl::SetIsEnabled(this, value).into() } - unsafe extern "system" fn Tag, Impl: ISpeechRecognitionConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Tag, Impl: ISpeechRecognitionConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognitionConstraint_Impl::Tag(this) { @@ -40,7 +40,7 @@ impl ISpeechRecognitionConstraint_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTag, Impl: ISpeechRecognitionConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTag, Impl: ISpeechRecognitionConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecognitionConstraint_Impl::SetTag(this, core::mem::transmute(&value)).into() diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs index 2cd2aa3d8f..76be870b28 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs @@ -49,7 +49,7 @@ windows_core::imp::define_interface!(ISpeechRecognitionConstraint, ISpeechRecogn impl std::ops::Deref for ISpeechRecognitionConstraint { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpeechRecognitionConstraint, windows_core::IUnknown, windows_core::IInspectable); @@ -57,7 +57,7 @@ impl ISpeechRecognitionConstraint { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -68,7 +68,7 @@ impl ISpeechRecognitionConstraint { pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -79,14 +79,14 @@ impl ISpeechRecognitionConstraint { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Probability(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Probability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -103,8 +103,8 @@ pub struct ISpeechRecognitionConstraint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognitionConstraintType) -> windows_core::HRESULT, pub Probability: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognitionConstraintProbability) -> windows_core::HRESULT, pub SetProbability: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechRecognitionConstraintProbability) -> windows_core::HRESULT, @@ -133,7 +133,7 @@ pub struct ISpeechRecognitionGrammarFileConstraintFactory_Vtbl { #[cfg(not(feature = "Storage"))] Create: usize, #[cfg(feature = "Storage")] - pub CreateWithTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] CreateWithTag: usize, } @@ -144,7 +144,7 @@ impl windows_core::RuntimeType for ISpeechRecognitionHypothesis { #[repr(C)] pub struct ISpeechRecognitionHypothesis_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpeechRecognitionHypothesisGeneratedEventArgs, ISpeechRecognitionHypothesisGeneratedEventArgs_Vtbl, 0x55161a7a_8023_5866_411d_1213bb271476); impl windows_core::RuntimeType for ISpeechRecognitionHypothesisGeneratedEventArgs { @@ -179,7 +179,7 @@ pub struct ISpeechRecognitionListConstraintFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Create: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateWithTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateWithTag: usize, } @@ -200,7 +200,7 @@ impl windows_core::RuntimeType for ISpeechRecognitionResult { pub struct ISpeechRecognitionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognitionResultStatus) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Confidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognitionConfidence) -> windows_core::HRESULT, pub SemanticInterpretation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -244,7 +244,7 @@ impl windows_core::RuntimeType for ISpeechRecognitionTopicConstraint { pub struct ISpeechRecognitionTopicConstraint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Scenario: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognitionScenario) -> windows_core::HRESULT, - pub TopicHint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TopicHint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpeechRecognitionTopicConstraintFactory, ISpeechRecognitionTopicConstraintFactory_Vtbl, 0x6e6863df_ec05_47d7_a5df_56a3431e58d2); impl windows_core::RuntimeType for ISpeechRecognitionTopicConstraintFactory { @@ -253,8 +253,8 @@ impl windows_core::RuntimeType for ISpeechRecognitionTopicConstraintFactory { #[repr(C)] pub struct ISpeechRecognitionTopicConstraintFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechRecognitionScenario, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithTag: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechRecognitionScenario, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechRecognitionScenario, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTag: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechRecognitionScenario, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpeechRecognitionVoiceCommandDefinitionConstraint, ISpeechRecognitionVoiceCommandDefinitionConstraint_Vtbl, 0xf2791c2b_1ef4_4ae7_9d77_b6ff10b8a3c2); impl windows_core::RuntimeType for ISpeechRecognitionVoiceCommandDefinitionConstraint { @@ -376,10 +376,10 @@ impl windows_core::RuntimeType for ISpeechRecognizerUIOptions { #[repr(C)] pub struct ISpeechRecognizerUIOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ExampleText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExampleText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudiblePrompt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAudiblePrompt: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExampleText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExampleText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudiblePrompt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAudiblePrompt: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsReadBackEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsReadBackEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ShowConfirmation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -408,10 +408,10 @@ impl windows_core::RuntimeType for IVoiceCommandSet { #[repr(C)] pub struct IVoiceCommandSet_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub SetPhraseListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetPhraseListAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SetPhraseListAsync: usize, } @@ -423,7 +423,7 @@ impl SpeechContinuousRecognitionCompletedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -448,7 +448,7 @@ impl SpeechContinuousRecognitionResultGeneratedEventArgs { pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -473,7 +473,7 @@ impl SpeechContinuousRecognitionSession { pub fn AutoStopSilenceTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoStopSilenceTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -484,35 +484,35 @@ impl SpeechContinuousRecognitionSession { pub fn StartAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartWithModeAsync(&self, mode: SpeechContinuousRecognitionMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartWithModeAsync)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CancelAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CancelAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PauseAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -526,7 +526,7 @@ impl SpeechContinuousRecognitionSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -540,7 +540,7 @@ impl SpeechContinuousRecognitionSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResultGenerated)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -569,7 +569,7 @@ impl SpeechRecognitionCompilationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -595,7 +595,7 @@ impl SpeechRecognitionGrammarFileConstraint { pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -606,7 +606,7 @@ impl SpeechRecognitionGrammarFileConstraint { pub fn Tag(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -617,14 +617,14 @@ impl SpeechRecognitionGrammarFileConstraint { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Probability(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Probability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -636,7 +636,7 @@ impl SpeechRecognitionGrammarFileConstraint { pub fn GrammarFile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GrammarFile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -646,7 +646,7 @@ impl SpeechRecognitionGrammarFileConstraint { P0: windows_core::Param, { Self::ISpeechRecognitionGrammarFileConstraintFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -656,7 +656,7 @@ impl SpeechRecognitionGrammarFileConstraint { P0: windows_core::Param, { Self::ISpeechRecognitionGrammarFileConstraintFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTag)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(tag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -686,7 +686,7 @@ impl SpeechRecognitionHypothesis { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -711,7 +711,7 @@ impl SpeechRecognitionHypothesisGeneratedEventArgs { pub fn Hypothesis(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hypothesis)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -737,7 +737,7 @@ impl SpeechRecognitionListConstraint { pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -748,7 +748,7 @@ impl SpeechRecognitionListConstraint { pub fn Tag(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -759,14 +759,14 @@ impl SpeechRecognitionListConstraint { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Probability(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Probability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -778,7 +778,7 @@ impl SpeechRecognitionListConstraint { pub fn Commands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Commands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -788,7 +788,7 @@ impl SpeechRecognitionListConstraint { P0: windows_core::Param>, { Self::ISpeechRecognitionListConstraintFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), commands.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -798,7 +798,7 @@ impl SpeechRecognitionListConstraint { P0: windows_core::Param>, { Self::ISpeechRecognitionListConstraintFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTag)(windows_core::Interface::as_raw(this), commands.param().abi(), core::mem::transmute_copy(tag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -828,7 +828,7 @@ impl SpeechRecognitionQualityDegradingEventArgs { pub fn Problem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Problem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -853,28 +853,28 @@ impl SpeechRecognitionResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Confidence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Confidence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SemanticInterpretation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SemanticInterpretation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -882,14 +882,14 @@ impl SpeechRecognitionResult { pub fn GetAlternates(&self, maxalternates: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAlternates)(windows_core::Interface::as_raw(this), maxalternates, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Constraint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Constraint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -897,28 +897,28 @@ impl SpeechRecognitionResult { pub fn RulePath(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RulePath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RawConfidence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawConfidence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhraseStartTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhraseStartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhraseDuration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhraseDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -944,7 +944,7 @@ impl SpeechRecognitionSemanticInterpretation { pub fn Properties(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -970,7 +970,7 @@ impl SpeechRecognitionTopicConstraint { pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -981,7 +981,7 @@ impl SpeechRecognitionTopicConstraint { pub fn Tag(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -992,14 +992,14 @@ impl SpeechRecognitionTopicConstraint { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Probability(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Probability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1010,26 +1010,26 @@ impl SpeechRecognitionTopicConstraint { pub fn Scenario(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scenario)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TopicHint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TopicHint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(scenario: SpeechRecognitionScenario, topichint: &windows_core::HSTRING) -> windows_core::Result { Self::ISpeechRecognitionTopicConstraintFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), scenario, core::mem::transmute_copy(topichint), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithTag(scenario: SpeechRecognitionScenario, topichint: &windows_core::HSTRING, tag: &windows_core::HSTRING) -> windows_core::Result { Self::ISpeechRecognitionTopicConstraintFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTag)(windows_core::Interface::as_raw(this), scenario, core::mem::transmute_copy(topichint), core::mem::transmute_copy(tag), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1060,7 +1060,7 @@ impl SpeechRecognitionVoiceCommandDefinitionConstraint { pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1071,7 +1071,7 @@ impl SpeechRecognitionVoiceCommandDefinitionConstraint { pub fn Tag(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1082,14 +1082,14 @@ impl SpeechRecognitionVoiceCommandDefinitionConstraint { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Probability(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Probability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1131,7 +1131,7 @@ impl SpeechRecognizer { pub fn CurrentLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1139,42 +1139,42 @@ impl SpeechRecognizer { pub fn Constraints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Constraints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timeouts(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timeouts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UIOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UIOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CompileConstraintsAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompileConstraintsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RecognizeAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RecognizeWithUIAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizeWithUIAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1184,7 +1184,7 @@ impl SpeechRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognitionQualityDegrading)(windows_core::Interface::as_raw(this), speechrecognitionqualitydegradinghandler.param().abi(), &mut result__).map(|| result__) } } @@ -1198,7 +1198,7 @@ impl SpeechRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), statechangedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1209,21 +1209,21 @@ impl SpeechRecognizer { pub fn ContinuousRecognitionSession(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuousRecognitionSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopRecognitionAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopRecognitionAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1233,7 +1233,7 @@ impl SpeechRecognizer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HypothesisGenerated)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1247,28 +1247,28 @@ impl SpeechRecognizer { P0: windows_core::Param, { Self::ISpeechRecognizerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), language.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Globalization")] pub fn SystemSpeechLanguage() -> windows_core::Result { Self::ISpeechRecognizerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemSpeechLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "Globalization"))] pub fn SupportedTopicLanguages() -> windows_core::Result> { Self::ISpeechRecognizerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedTopicLanguages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "Globalization"))] pub fn SupportedGrammarLanguages() -> windows_core::Result> { Self::ISpeechRecognizerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedGrammarLanguages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1278,7 +1278,7 @@ impl SpeechRecognizer { P0: windows_core::Param, { Self::ISpeechRecognizerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetSystemSpeechLanguageAsync)(windows_core::Interface::as_raw(this), speechlanguage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1318,7 +1318,7 @@ impl SpeechRecognizerStateChangedEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1343,7 +1343,7 @@ impl SpeechRecognizerTimeouts { pub fn InitialSilenceTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialSilenceTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1354,7 +1354,7 @@ impl SpeechRecognizerTimeouts { pub fn EndSilenceTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndSilenceTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1365,7 +1365,7 @@ impl SpeechRecognizerTimeouts { pub fn BabbleTimeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BabbleTimeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1394,7 +1394,7 @@ impl SpeechRecognizerUIOptions { pub fn ExampleText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExampleText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1405,7 +1405,7 @@ impl SpeechRecognizerUIOptions { pub fn AudiblePrompt(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudiblePrompt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1416,7 +1416,7 @@ impl SpeechRecognizerUIOptions { pub fn IsReadBackEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadBackEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1427,7 +1427,7 @@ impl SpeechRecognizerUIOptions { pub fn ShowConfirmation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowConfirmation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1456,14 +1456,14 @@ impl VoiceCommandManager { P0: windows_core::Param, { Self::IVoiceCommandManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallCommandSetsFromStorageFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn InstalledCommandSets() -> windows_core::Result> { Self::IVoiceCommandManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstalledCommandSets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1484,14 +1484,14 @@ impl VoiceCommandSet { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1502,7 +1502,7 @@ impl VoiceCommandSet { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPhraseListAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(phraselistname), phraselist.param().abi(), &mut result__).and_then(|| windows_core::Type::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 dabcfea4c8..542f4a7fc4 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs @@ -39,8 +39,8 @@ impl windows_core::RuntimeType for ISpeechSynthesizer { #[repr(C)] pub struct ISpeechSynthesizer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SynthesizeTextToStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SynthesizeSsmlToStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SynthesizeTextToStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SynthesizeSsmlToStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetVoice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Voice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -98,10 +98,10 @@ impl windows_core::RuntimeType for IVoiceInformation { #[repr(C)] pub struct IVoiceInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Gender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VoiceGender) -> windows_core::HRESULT, } #[repr(transparent)] @@ -119,7 +119,7 @@ impl SpeechSynthesisStream { pub fn ContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -130,7 +130,7 @@ impl SpeechSynthesisStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -141,7 +141,7 @@ impl SpeechSynthesisStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -149,7 +149,7 @@ impl SpeechSynthesisStream { pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -157,7 +157,7 @@ impl SpeechSynthesisStream { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -170,7 +170,7 @@ impl SpeechSynthesisStream { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -178,7 +178,7 @@ impl SpeechSynthesisStream { pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -186,7 +186,7 @@ impl SpeechSynthesisStream { pub fn Position(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -199,7 +199,7 @@ impl SpeechSynthesisStream { pub fn CloneStream(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -207,7 +207,7 @@ impl SpeechSynthesisStream { pub fn CanRead(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -215,7 +215,7 @@ impl SpeechSynthesisStream { pub fn CanWrite(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -223,7 +223,7 @@ impl SpeechSynthesisStream { pub fn Markers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Markers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -231,7 +231,7 @@ impl SpeechSynthesisStream { pub fn TimedMetadataTracks(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimedMetadataTracks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -268,13 +268,13 @@ impl SpeechSynthesizer { #[cfg(feature = "Foundation_Collections")] pub fn AllVoices() -> windows_core::Result> { Self::IInstalledVoicesStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllVoices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DefaultVoice() -> windows_core::Result { Self::IInstalledVoicesStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultVoice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -283,21 +283,21 @@ impl SpeechSynthesizer { P0: windows_core::Param, { Self::IInstalledVoicesStatic2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetDefaultVoiceAsync)(windows_core::Interface::as_raw(this), voice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SynthesizeTextToStreamAsync(&self, text: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SynthesizeTextToStreamAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SynthesizeSsmlToStreamAsync(&self, ssml: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SynthesizeSsmlToStreamAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(ssml), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -311,14 +311,14 @@ impl SpeechSynthesizer { pub fn Voice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Voice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Options(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -353,7 +353,7 @@ impl SpeechSynthesizerOptions { pub fn IncludeWordBoundaryMetadata(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeWordBoundaryMetadata)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -364,7 +364,7 @@ impl SpeechSynthesizerOptions { pub fn IncludeSentenceBoundaryMetadata(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeSentenceBoundaryMetadata)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -375,7 +375,7 @@ impl SpeechSynthesizerOptions { pub fn AudioVolume(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioVolume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -386,7 +386,7 @@ impl SpeechSynthesizerOptions { pub fn SpeakingRate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpeakingRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -397,7 +397,7 @@ impl SpeechSynthesizerOptions { pub fn AudioPitch(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioPitch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -408,7 +408,7 @@ impl SpeechSynthesizerOptions { pub fn AppendedSilence(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendedSilence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -419,7 +419,7 @@ impl SpeechSynthesizerOptions { pub fn PunctuationSilence(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PunctuationSilence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -448,35 +448,35 @@ impl VoiceInformation { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Gender(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gender)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 d3962bb226..179e3ad024 100644 --- a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs @@ -140,7 +140,7 @@ impl windows_core::RuntimeType for IAdaptiveMediaSourceDiagnosticAvailableEventA pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ResourceDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ResourceContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResourceContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdaptiveMediaSourceDiagnostics, IAdaptiveMediaSourceDiagnostics_Vtbl, 0x9b24ee68_962e_448c_aebf_b29b56098e23); impl windows_core::RuntimeType for IAdaptiveMediaSourceDiagnostics { @@ -206,7 +206,7 @@ impl windows_core::RuntimeType for IAdaptiveMediaSourceDownloadCompletedEventArg pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ResourceDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ResourceContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResourceContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadFailedEventArgs, IAdaptiveMediaSourceDownloadFailedEventArgs_Vtbl, 0x37739048_f4ab_40a4_b135_c6dfd8bd7ff1); impl windows_core::RuntimeType for IAdaptiveMediaSourceDownloadFailedEventArgs { @@ -244,7 +244,7 @@ impl windows_core::RuntimeType for IAdaptiveMediaSourceDownloadFailedEventArgs3 pub struct IAdaptiveMediaSourceDownloadFailedEventArgs3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ResourceDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ResourceContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResourceContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadRequestedDeferral, IAdaptiveMediaSourceDownloadRequestedDeferral_Vtbl, 0x05c68f64_fa20_4dbd_9821_4bf4c9bf77ab); impl windows_core::RuntimeType for IAdaptiveMediaSourceDownloadRequestedDeferral { @@ -287,7 +287,7 @@ impl windows_core::RuntimeType for IAdaptiveMediaSourceDownloadRequestedEventArg pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ResourceDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ResourceContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResourceContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadResult, IAdaptiveMediaSourceDownloadResult_Vtbl, 0xf4afdc73_bcee_4a6a_9f0a_fec41e2339b0); impl windows_core::RuntimeType for IAdaptiveMediaSourceDownloadResult { @@ -314,8 +314,8 @@ pub struct IAdaptiveMediaSourceDownloadResult_Vtbl { pub SetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetBuffer: usize, - pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContentType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContentType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } @@ -361,18 +361,18 @@ impl windows_core::RuntimeType for IAdaptiveMediaSourceStatics { #[repr(C)] pub struct IAdaptiveMediaSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsContentTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsContentTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, pub CreateFromUriAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Web_Http")] pub CreateFromUriWithDownloaderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Web_Http"))] CreateFromUriWithDownloaderAsync: usize, #[cfg(feature = "Storage_Streams")] - pub CreateFromStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateFromStreamAsync: usize, #[cfg(all(feature = "Storage_Streams", feature = "Web_Http"))] - pub CreateFromStreamWithDownloaderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromStreamWithDownloaderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Storage_Streams", feature = "Web_Http")))] CreateFromStreamWithDownloaderAsync: usize, } @@ -386,14 +386,14 @@ impl AdaptiveMediaSource { pub fn IsLive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DesiredLiveOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredLiveOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -404,7 +404,7 @@ impl AdaptiveMediaSource { pub fn InitialBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -415,14 +415,14 @@ impl AdaptiveMediaSource { pub fn CurrentDownloadBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentDownloadBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CurrentPlaybackBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentPlaybackBitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -430,14 +430,14 @@ impl AdaptiveMediaSource { pub fn AvailableBitrates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableBitrates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DesiredMinBitrate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredMinBitrate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -451,7 +451,7 @@ impl AdaptiveMediaSource { pub fn DesiredMaxBitrate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredMaxBitrate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -465,21 +465,21 @@ impl AdaptiveMediaSource { pub fn AudioOnlyPlayback(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioOnlyPlayback)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InboundBitsPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InboundBitsPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InboundBitsPerSecondWindow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InboundBitsPerSecondWindow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -493,7 +493,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadBitrateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -507,7 +507,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackBitrateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -521,7 +521,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -535,7 +535,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -549,7 +549,7 @@ impl AdaptiveMediaSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadFailed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -560,28 +560,28 @@ impl AdaptiveMediaSource { pub fn AdvancedSettings(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvancedSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MinLiveOffset(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinLiveOffset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxSeekableWindowSize(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSeekableWindowSize)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DesiredSeekableWindowSize(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredSeekableWindowSize)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -595,20 +595,20 @@ impl AdaptiveMediaSource { pub fn Diagnostics(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Diagnostics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCorrelatedTimes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCorrelatedTimes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsContentTypeSupported(contenttype: &windows_core::HSTRING) -> windows_core::Result { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsContentTypeSupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contenttype), &mut result__).map(|| result__) }) } @@ -617,7 +617,7 @@ impl AdaptiveMediaSource { P0: windows_core::Param, { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromUriAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -628,7 +628,7 @@ impl AdaptiveMediaSource { P1: windows_core::Param, { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromUriWithDownloaderAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), httpclient.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -639,7 +639,7 @@ impl AdaptiveMediaSource { P1: windows_core::Param, { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStreamAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), uri.param().abi(), core::mem::transmute_copy(contenttype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -651,7 +651,7 @@ impl AdaptiveMediaSource { P2: windows_core::Param, { Self::IAdaptiveMediaSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStreamWithDownloaderAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), uri.param().abi(), core::mem::transmute_copy(contenttype), httpclient.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -685,7 +685,7 @@ impl AdaptiveMediaSourceAdvancedSettings { pub fn AllSegmentsIndependent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllSegmentsIndependent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -696,7 +696,7 @@ impl AdaptiveMediaSourceAdvancedSettings { pub fn DesiredBitrateHeadroomRatio(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredBitrateHeadroomRatio)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -710,7 +710,7 @@ impl AdaptiveMediaSourceAdvancedSettings { pub fn BitrateDowngradeTriggerRatio(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitrateDowngradeTriggerRatio)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -742,21 +742,21 @@ impl AdaptiveMediaSourceCorrelatedTimes { pub fn Position(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PresentationTimeStamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresentationTimeStamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProgramDateTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProgramDateTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -781,14 +781,14 @@ impl AdaptiveMediaSourceCreationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MediaSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -796,14 +796,14 @@ impl AdaptiveMediaSourceCreationResult { pub fn HttpResponseMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HttpResponseMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -828,84 +828,84 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn DiagnosticType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiagnosticType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Position(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SegmentId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SegmentId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceType(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceByteRangeOffset(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeOffset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceByteRangeLength(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeLength)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Bitrate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bitrate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResourceDuration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceDuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -933,7 +933,7 @@ impl AdaptiveMediaSourceDiagnostics { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiagnosticAvailable)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -962,21 +962,21 @@ impl AdaptiveMediaSourceDownloadBitrateChangedEventArgs { pub fn OldValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NewValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Reason(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1001,28 +1001,28 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn ResourceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResourceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceByteRangeOffset(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeOffset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceByteRangeLength(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeLength)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1030,42 +1030,42 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn HttpResponseMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HttpResponseMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Statistics(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Statistics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Position(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceDuration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceDuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1090,28 +1090,28 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn ResourceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResourceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceByteRangeOffset(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeOffset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceByteRangeLength(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeLength)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1119,49 +1119,49 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn HttpResponseMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HttpResponseMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Statistics(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Statistics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Position(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceDuration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceDuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1208,70 +1208,70 @@ impl AdaptiveMediaSourceDownloadRequestedEventArgs { pub fn ResourceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResourceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceByteRangeOffset(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeOffset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceByteRangeLength(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeLength)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceDuration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceDuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResourceContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1296,7 +1296,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ResourceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1311,7 +1311,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn InputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1327,7 +1327,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn Buffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Buffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1342,7 +1342,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1353,7 +1353,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ExtendedStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1364,7 +1364,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ResourceByteRangeOffset(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeOffset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1378,7 +1378,7 @@ impl AdaptiveMediaSourceDownloadResult { pub fn ResourceByteRangeLength(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceByteRangeLength)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1410,28 +1410,28 @@ impl AdaptiveMediaSourceDownloadStatistics { pub fn ContentBytesReceivedCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentBytesReceivedCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TimeToHeadersReceived(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeToHeadersReceived)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimeToFirstByteReceived(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeToFirstByteReceived)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimeToLastByteReceived(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeToLastByteReceived)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1456,21 +1456,21 @@ impl AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { pub fn OldValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NewValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AudioOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs index 146ae8b018..daa924d975 100644 --- a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs @@ -13,14 +13,14 @@ pub struct IMediaTranscoder_Vtbl { pub AlwaysReencode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHardwareAccelerationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub HardwareAccelerationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub AddAudioEffect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddAudioEffect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub AddAudioEffectWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddAudioEffectWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AddAudioEffectWithSettings: usize, - pub AddVideoEffect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddVideoEffect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub AddVideoEffectWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddVideoEffectWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AddVideoEffectWithSettings: usize, pub ClearEffects: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -77,7 +77,7 @@ impl MediaTranscoder { pub fn TrimStartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimStartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -88,7 +88,7 @@ impl MediaTranscoder { pub fn TrimStopTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimStopTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -99,7 +99,7 @@ impl MediaTranscoder { pub fn AlwaysReencode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlwaysReencode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -110,7 +110,7 @@ impl MediaTranscoder { pub fn HardwareAccelerationEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareAccelerationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -151,7 +151,7 @@ impl MediaTranscoder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareFileTranscodeAsync)(windows_core::Interface::as_raw(this), source.param().abi(), destination.param().abi(), profile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -164,7 +164,7 @@ impl MediaTranscoder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareStreamTranscodeAsync)(windows_core::Interface::as_raw(this), source.param().abi(), destination.param().abi(), profile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -177,7 +177,7 @@ impl MediaTranscoder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareMediaStreamSourceTranscodeAsync)(windows_core::Interface::as_raw(this), source.param().abi(), destination.param().abi(), profile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -188,7 +188,7 @@ impl MediaTranscoder { pub fn VideoProcessingAlgorithm(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoProcessingAlgorithm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -213,21 +213,21 @@ impl PrepareTranscodeResult { pub fn CanTranscode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanTranscode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FailureReason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FailureReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TranscodeAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TranscodeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Media/impl.rs b/crates/libs/windows/src/Windows/Media/impl.rs index 73d22e32b4..79ffe4a6c7 100644 --- a/crates/libs/windows/src/Windows/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Media/impl.rs @@ -41,7 +41,7 @@ impl windows_core::RuntimeName for IMediaFrame { #[cfg(feature = "Foundation_Collections")] impl IMediaFrame_Vtbl { pub const fn new, Impl: IMediaFrame_Impl, const OFFSET: isize>() -> IMediaFrame_Vtbl { - unsafe extern "system" fn Type, Impl: IMediaFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Type, Impl: IMediaFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaFrame_Impl::Type(this) { @@ -183,7 +183,7 @@ impl IMediaMarker_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MediaMarkerType, Impl: IMediaMarker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MediaMarkerType, Impl: IMediaMarker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaMarker_Impl::MediaMarkerType(this) { @@ -195,7 +195,7 @@ impl IMediaMarker_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Text, Impl: IMediaMarker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Text, Impl: IMediaMarker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaMarker_Impl::Text(this) { diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index 5c3d87fd82..5e126c3dab 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -97,10 +97,10 @@ impl windows_core::RuntimeType for IImageDisplayProperties { #[repr(C)] pub struct IImageDisplayProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubtitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubtitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IMediaControl, IMediaControl_Vtbl, 0x98f1fbe1_7a8d_42cb_b6fe_8fe698264f13); @@ -213,19 +213,19 @@ pub struct IMediaControl_Vtbl { #[cfg(not(feature = "deprecated"))] SoundLevel: usize, #[cfg(feature = "deprecated")] - pub SetTrackName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTrackName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetTrackName: usize, #[cfg(feature = "deprecated")] - pub TrackName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrackName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] TrackName: usize, #[cfg(feature = "deprecated")] - pub SetArtistName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArtistName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetArtistName: usize, #[cfg(feature = "deprecated")] - pub ArtistName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ArtistName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ArtistName: usize, #[cfg(feature = "deprecated")] @@ -249,7 +249,7 @@ windows_core::imp::define_interface!(IMediaExtension, IMediaExtension_Vtbl, 0x07 impl std::ops::Deref for IMediaExtension { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaExtension, windows_core::IUnknown, windows_core::IInspectable); @@ -281,34 +281,34 @@ impl windows_core::RuntimeType for IMediaExtensionManager { #[repr(C)] pub struct IMediaExtensionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RegisterSchemeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterSchemeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub RegisterSchemeHandlerWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterSchemeHandlerWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterSchemeHandlerWithSettings: usize, - pub RegisterByteStreamHandler: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterByteStreamHandler: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub RegisterByteStreamHandlerWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterByteStreamHandlerWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterByteStreamHandlerWithSettings: usize, - pub RegisterAudioDecoder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, + pub RegisterAudioDecoder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub RegisterAudioDecoderWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterAudioDecoderWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterAudioDecoderWithSettings: usize, - pub RegisterAudioEncoder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, + pub RegisterAudioEncoder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub RegisterAudioEncoderWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterAudioEncoderWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterAudioEncoderWithSettings: usize, - pub RegisterVideoDecoder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, + pub RegisterVideoDecoder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub RegisterVideoDecoderWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterVideoDecoderWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterVideoDecoderWithSettings: usize, - pub RegisterVideoEncoder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, + pub RegisterVideoEncoder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub RegisterVideoEncoderWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterVideoEncoderWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RegisterVideoEncoderWithSettings: usize, } @@ -328,7 +328,7 @@ windows_core::imp::define_interface!(IMediaFrame, IMediaFrame_Vtbl, 0xbfb52f8c_5 impl std::ops::Deref for IMediaFrame { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaFrame, windows_core::IUnknown, windows_core::IInspectable); @@ -337,14 +337,14 @@ impl IMediaFrame { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsReadOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -358,7 +358,7 @@ impl IMediaFrame { pub fn RelativeTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -372,7 +372,7 @@ impl IMediaFrame { pub fn SystemRelativeTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -386,7 +386,7 @@ impl IMediaFrame { pub fn Duration(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -397,7 +397,7 @@ impl IMediaFrame { pub fn IsDiscontinuous(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDiscontinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -405,7 +405,7 @@ impl IMediaFrame { pub fn ExtendedProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -420,7 +420,7 @@ impl windows_core::RuntimeType for IMediaFrame { #[repr(C)] pub struct IMediaFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetRelativeTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RelativeTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -439,7 +439,7 @@ windows_core::imp::define_interface!(IMediaMarker, IMediaMarker_Vtbl, 0x1803def8 impl std::ops::Deref for IMediaMarker { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaMarker, windows_core::IUnknown, windows_core::IInspectable); @@ -447,21 +447,21 @@ impl IMediaMarker { pub fn Time(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Time)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MediaMarkerType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaMarkerType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -473,8 +473,8 @@ impl windows_core::RuntimeType for IMediaMarker { pub struct IMediaMarker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Time: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub MediaMarkerType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaMarkerType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaMarkerTypesStatics, IMediaMarkerTypesStatics_Vtbl, 0xbb198040_482f_4743_8832_45853821ece0); impl windows_core::RuntimeType for IMediaMarkerTypesStatics { @@ -483,13 +483,13 @@ impl windows_core::RuntimeType for IMediaMarkerTypesStatics { #[repr(C)] pub struct IMediaMarkerTypesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Bookmark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bookmark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaMarkers, IMediaMarkers_Vtbl, 0xafeab189_f8dd_466e_aa10_920b52353fdf); impl std::ops::Deref for IMediaMarkers { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaMarkers, windows_core::IUnknown, windows_core::IInspectable); @@ -498,7 +498,7 @@ impl IMediaMarkers { pub fn Markers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Markers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -578,12 +578,12 @@ impl windows_core::RuntimeType for IMusicDisplayProperties { #[repr(C)] pub struct IMusicDisplayProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetArtist: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArtist: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMusicDisplayProperties2, IMusicDisplayProperties2_Vtbl, 0x00368462_97d3_44b9_b00f_008afcefaf18); impl windows_core::RuntimeType for IMusicDisplayProperties2 { @@ -592,8 +592,8 @@ impl windows_core::RuntimeType for IMusicDisplayProperties2 { #[repr(C)] pub struct IMusicDisplayProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AlbumTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAlbumTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlbumTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAlbumTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub TrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetTrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -717,8 +717,8 @@ pub struct ISystemMediaTransportControlsDisplayUpdater_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaPlaybackType) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, MediaPlaybackType) -> windows_core::HRESULT, - pub AppMediaId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAppMediaId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppMediaId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAppMediaId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Thumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -780,10 +780,10 @@ impl windows_core::RuntimeType for IVideoDisplayProperties { #[repr(C)] pub struct IVideoDisplayProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubtitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubtitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVideoDisplayProperties2, IVideoDisplayProperties2_Vtbl, 0xb410e1ce_ab52_41ab_a486_cc10fab152f9); impl windows_core::RuntimeType for IVideoDisplayProperties2 { @@ -804,7 +804,7 @@ impl windows_core::RuntimeType for IVideoEffectsStatics { #[repr(C)] pub struct IVideoEffectsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub VideoStabilization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoStabilization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVideoFrame, IVideoFrame_Vtbl, 0x0cc06625_90fc_4c92_bd95_7ded21819d1c); impl windows_core::RuntimeType for IVideoFrame { @@ -884,14 +884,14 @@ impl AudioBuffer { pub fn Capacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -906,7 +906,7 @@ impl AudioBuffer { pub fn CreateReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -932,13 +932,13 @@ impl AudioFrame { pub fn LockBuffer(&self, mode: AudioBufferAccessMode) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockBuffer)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(capacity: u32) -> windows_core::Result { Self::IAudioFrameFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), capacity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -949,14 +949,14 @@ impl AudioFrame { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsReadOnly(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -970,7 +970,7 @@ impl AudioFrame { pub fn RelativeTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -984,7 +984,7 @@ impl AudioFrame { pub fn SystemRelativeTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -998,7 +998,7 @@ impl AudioFrame { pub fn Duration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1009,7 +1009,7 @@ impl AudioFrame { pub fn IsDiscontinuous(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDiscontinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1017,7 +1017,7 @@ impl AudioFrame { pub fn ExtendedProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1047,7 +1047,7 @@ impl AutoRepeatModeChangeRequestedEventArgs { pub fn RequestedAutoRepeatMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedAutoRepeatMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1072,7 +1072,7 @@ impl ImageDisplayProperties { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1083,7 +1083,7 @@ impl ImageDisplayProperties { pub fn Subtitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1114,7 +1114,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoundLevelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1128,7 +1128,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlayPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1142,7 +1142,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PausePressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1156,7 +1156,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1170,7 +1170,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlayPauseTogglePressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1184,7 +1184,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1198,7 +1198,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextTrackPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1212,7 +1212,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousTrackPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1226,7 +1226,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FastForwardPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1240,7 +1240,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RewindPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1254,7 +1254,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelUpPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1268,7 +1268,7 @@ impl MediaControl { P0: windows_core::Param>, { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelDownPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1279,7 +1279,7 @@ impl MediaControl { #[cfg(feature = "deprecated")] pub fn SoundLevel() -> windows_core::Result { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoundLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1290,7 +1290,7 @@ impl MediaControl { #[cfg(feature = "deprecated")] pub fn TrackName() -> windows_core::Result { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1301,7 +1301,7 @@ impl MediaControl { #[cfg(feature = "deprecated")] pub fn ArtistName() -> windows_core::Result { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ArtistName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1312,7 +1312,7 @@ impl MediaControl { #[cfg(feature = "deprecated")] pub fn IsPlaying() -> windows_core::Result { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlaying)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1326,7 +1326,7 @@ impl MediaControl { #[cfg(feature = "deprecated")] pub fn AlbumArt() -> windows_core::Result { Self::IMediaControl(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumArt)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1451,7 +1451,7 @@ pub struct MediaMarkerTypes; impl MediaMarkerTypes { pub fn Bookmark() -> windows_core::Result { Self::IMediaMarkerTypesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bookmark)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1473,7 +1473,7 @@ impl MediaProcessingTriggerDetails { pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1517,7 +1517,7 @@ impl MediaTimelineController { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1528,7 +1528,7 @@ impl MediaTimelineController { pub fn ClockRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClockRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1539,7 +1539,7 @@ impl MediaTimelineController { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1549,7 +1549,7 @@ impl MediaTimelineController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionChanged)(windows_core::Interface::as_raw(this), positionchangedeventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1563,7 +1563,7 @@ impl MediaTimelineController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), statechangedeventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1574,7 +1574,7 @@ impl MediaTimelineController { pub fn Duration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1588,7 +1588,7 @@ impl MediaTimelineController { pub fn IsLoopingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLoopingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1602,7 +1602,7 @@ impl MediaTimelineController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Failed)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1616,7 +1616,7 @@ impl MediaTimelineController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ended)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1645,7 +1645,7 @@ impl MediaTimelineControllerFailedEventArgs { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1670,7 +1670,7 @@ impl MusicDisplayProperties { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1681,7 +1681,7 @@ impl MusicDisplayProperties { pub fn AlbumArtist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumArtist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1692,7 +1692,7 @@ impl MusicDisplayProperties { pub fn Artist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Artist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1703,7 +1703,7 @@ impl MusicDisplayProperties { pub fn AlbumTitle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1714,7 +1714,7 @@ impl MusicDisplayProperties { pub fn TrackNumber(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1726,14 +1726,14 @@ impl MusicDisplayProperties { pub fn Genres(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Genres)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AlbumTrackCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumTrackCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1762,7 +1762,7 @@ impl PlaybackPositionChangeRequestedEventArgs { pub fn RequestedPlaybackPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedPlaybackPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1787,7 +1787,7 @@ impl PlaybackRateChangeRequestedEventArgs { pub fn RequestedPlaybackRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedPlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1812,7 +1812,7 @@ impl ShuffleEnabledChangeRequestedEventArgs { pub fn RequestedShuffleEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedShuffleEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1837,7 +1837,7 @@ impl SystemMediaTransportControls { pub fn PlaybackStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1848,21 +1848,21 @@ impl SystemMediaTransportControls { pub fn DisplayUpdater(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayUpdater)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SoundLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoundLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1873,7 +1873,7 @@ impl SystemMediaTransportControls { pub fn IsPlayEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPlayEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1884,7 +1884,7 @@ impl SystemMediaTransportControls { pub fn IsStopEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStopEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1895,7 +1895,7 @@ impl SystemMediaTransportControls { pub fn IsPauseEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPauseEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1906,7 +1906,7 @@ impl SystemMediaTransportControls { pub fn IsRecordEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRecordEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1917,7 +1917,7 @@ impl SystemMediaTransportControls { pub fn IsFastForwardEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFastForwardEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1928,7 +1928,7 @@ impl SystemMediaTransportControls { pub fn IsRewindEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRewindEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1939,7 +1939,7 @@ impl SystemMediaTransportControls { pub fn IsPreviousEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPreviousEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1950,7 +1950,7 @@ impl SystemMediaTransportControls { pub fn IsNextEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNextEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1961,7 +1961,7 @@ impl SystemMediaTransportControls { pub fn IsChannelUpEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsChannelUpEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1972,7 +1972,7 @@ impl SystemMediaTransportControls { pub fn IsChannelDownEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsChannelDownEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1986,7 +1986,7 @@ impl SystemMediaTransportControls { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2000,7 +2000,7 @@ impl SystemMediaTransportControls { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PropertyChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2011,7 +2011,7 @@ impl SystemMediaTransportControls { pub fn AutoRepeatMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRepeatMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2022,7 +2022,7 @@ impl SystemMediaTransportControls { pub fn ShuffleEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShuffleEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2033,7 +2033,7 @@ impl SystemMediaTransportControls { pub fn PlaybackRate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2054,7 +2054,7 @@ impl SystemMediaTransportControls { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackPositionChangeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2068,7 +2068,7 @@ impl SystemMediaTransportControls { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRateChangeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2082,7 +2082,7 @@ impl SystemMediaTransportControls { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShuffleEnabledChangeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2096,7 +2096,7 @@ impl SystemMediaTransportControls { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoRepeatModeChangeRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2106,7 +2106,7 @@ impl SystemMediaTransportControls { } pub fn GetForCurrentView() -> windows_core::Result { Self::ISystemMediaTransportControlsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2136,7 +2136,7 @@ impl SystemMediaTransportControlsButtonPressedEventArgs { pub fn Button(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Button)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2161,7 +2161,7 @@ impl SystemMediaTransportControlsDisplayUpdater { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2172,7 +2172,7 @@ impl SystemMediaTransportControlsDisplayUpdater { pub fn AppMediaId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppMediaId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2184,7 +2184,7 @@ impl SystemMediaTransportControlsDisplayUpdater { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2199,21 +2199,21 @@ impl SystemMediaTransportControlsDisplayUpdater { pub fn MusicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MusicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ImageProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2224,7 +2224,7 @@ impl SystemMediaTransportControlsDisplayUpdater { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyFromFileAsync)(windows_core::Interface::as_raw(this), r#type, source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2257,7 +2257,7 @@ impl SystemMediaTransportControlsPropertyChangedEventArgs { pub fn Property(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Property)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2289,7 +2289,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2300,7 +2300,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn EndTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2311,7 +2311,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn MinSeekTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinSeekTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2322,7 +2322,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn MaxSeekTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSeekTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2333,7 +2333,7 @@ impl SystemMediaTransportControlsTimelineProperties { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2362,7 +2362,7 @@ impl VideoDisplayProperties { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2373,7 +2373,7 @@ impl VideoDisplayProperties { pub fn Subtitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2385,7 +2385,7 @@ impl VideoDisplayProperties { pub fn Genres(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Genres)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2406,7 +2406,7 @@ pub struct VideoEffects; impl VideoEffects { pub fn VideoStabilization() -> windows_core::Result { Self::IVideoEffectsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoStabilization)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2432,14 +2432,14 @@ impl VideoFrame { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsReadOnly(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2453,7 +2453,7 @@ impl VideoFrame { pub fn RelativeTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2467,7 +2467,7 @@ impl VideoFrame { pub fn SystemRelativeTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2481,7 +2481,7 @@ impl VideoFrame { pub fn Duration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2492,7 +2492,7 @@ impl VideoFrame { pub fn IsDiscontinuous(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDiscontinuous)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2500,7 +2500,7 @@ impl VideoFrame { pub fn ExtendedProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2508,7 +2508,7 @@ impl VideoFrame { pub fn SoftwareBitmap(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoftwareBitmap)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2518,7 +2518,7 @@ impl VideoFrame { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyToAsync)(windows_core::Interface::as_raw(this), frame.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2526,7 +2526,7 @@ impl VideoFrame { pub fn Direct3DSurface(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direct3DSurface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2539,28 +2539,28 @@ impl VideoFrame { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyToWithBoundsAsync)(windows_core::Interface::as_raw(this), frame.param().abi(), sourcebounds.param().abi(), destinationbounds.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), format, width, height, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithAlpha)(windows_core::Interface::as_raw(this), format, width, height, alpha, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsDirect3D11SurfaceBacked)(windows_core::Interface::as_raw(this), format, width, height, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2570,7 +2570,7 @@ impl VideoFrame { P0: windows_core::Param, { Self::IVideoFrameStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsDirect3D11SurfaceBackedWithDevice)(windows_core::Interface::as_raw(this), format, width, height, device.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2580,7 +2580,7 @@ impl VideoFrame { P0: windows_core::Param, { Self::IVideoFrameStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithSoftwareBitmap)(windows_core::Interface::as_raw(this), bitmap.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2590,7 +2590,7 @@ impl VideoFrame { P0: windows_core::Param, { Self::IVideoFrameStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithDirect3D11Surface)(windows_core::Interface::as_raw(this), surface.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs index 118b70ec5c..47a39c47ea 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs @@ -19,7 +19,7 @@ impl windows_core::RuntimeName for IBackgroundTransferBase { #[cfg(feature = "Security_Credentials")] impl IBackgroundTransferBase_Vtbl { pub const fn new, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>() -> IBackgroundTransferBase_Vtbl { - unsafe extern "system" fn SetRequestHeader, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, headername: std::mem::MaybeUninit, headervalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRequestHeader, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, headername: core::mem::MaybeUninit, headervalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBackgroundTransferBase_Impl::SetRequestHeader(this, core::mem::transmute(&headername), core::mem::transmute(&headervalue)).into() @@ -58,7 +58,7 @@ impl IBackgroundTransferBase_Vtbl { let this = (*this).get_impl(); IBackgroundTransferBase_Impl::SetProxyCredential(this, windows_core::from_raw_borrowed(&credential)).into() } - unsafe extern "system" fn Method, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Method, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBackgroundTransferBase_Impl::Method(this) { @@ -70,12 +70,12 @@ impl IBackgroundTransferBase_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMethod, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMethod, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBackgroundTransferBase_Impl::SetMethod(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Group, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Group, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBackgroundTransferBase_Impl::Group(this) { @@ -87,7 +87,7 @@ impl IBackgroundTransferBase_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetGroup, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGroup, Impl: IBackgroundTransferBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBackgroundTransferBase_Impl::SetGroup(this, core::mem::transmute(&value)).into() @@ -136,7 +136,7 @@ impl windows_core::RuntimeName for IBackgroundTransferContentPartFactory { } impl IBackgroundTransferContentPartFactory_Vtbl { pub const fn new, Impl: IBackgroundTransferContentPartFactory_Impl, const OFFSET: isize>() -> IBackgroundTransferContentPartFactory_Vtbl { - unsafe extern "system" fn CreateWithName, Impl: IBackgroundTransferContentPartFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateWithName, Impl: IBackgroundTransferContentPartFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBackgroundTransferContentPartFactory_Impl::CreateWithName(this, core::mem::transmute(&name)) { @@ -148,7 +148,7 @@ impl IBackgroundTransferContentPartFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateWithNameAndFileName, Impl: IBackgroundTransferContentPartFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, filename: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateWithNameAndFileName, Impl: IBackgroundTransferContentPartFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, filename: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBackgroundTransferContentPartFactory_Impl::CreateWithNameAndFileName(this, core::mem::transmute(&name), core::mem::transmute(&filename)) { @@ -211,7 +211,7 @@ impl IBackgroundTransferOperation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Method, Impl: IBackgroundTransferOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Method, Impl: IBackgroundTransferOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBackgroundTransferOperation_Impl::Method(this) { @@ -223,7 +223,7 @@ impl IBackgroundTransferOperation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Group, Impl: IBackgroundTransferOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Group, Impl: IBackgroundTransferOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBackgroundTransferOperation_Impl::Group(this) { diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs index 83f8e43536..87f1afbb79 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -90,7 +90,7 @@ pub struct IBackgroundDownloaderStaticMethods_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetCurrentDownloadsAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] - pub GetCurrentDownloadsForGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCurrentDownloadsForGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetCurrentDownloadsForGroupAsync: usize, } @@ -125,7 +125,7 @@ windows_core::imp::define_interface!(IBackgroundTransferBase, IBackgroundTransfe impl std::ops::Deref for IBackgroundTransferBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTransferBase, windows_core::IUnknown, windows_core::IInspectable); @@ -138,7 +138,7 @@ impl IBackgroundTransferBase { pub fn ServerCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -154,7 +154,7 @@ impl IBackgroundTransferBase { pub fn ProxyCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -169,7 +169,7 @@ impl IBackgroundTransferBase { pub fn Method(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -181,7 +181,7 @@ impl IBackgroundTransferBase { pub fn Group(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -193,7 +193,7 @@ impl IBackgroundTransferBase { pub fn CostPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CostPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -208,7 +208,7 @@ impl windows_core::RuntimeType for IBackgroundTransferBase { #[repr(C)] pub struct IBackgroundTransferBase_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Security_Credentials")] pub ServerCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] @@ -225,14 +225,14 @@ pub struct IBackgroundTransferBase_Vtbl { pub SetProxyCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] SetProxyCredential: usize, - pub Method: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMethod: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Method: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMethod: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] - pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Group: usize, #[cfg(feature = "deprecated")] - pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetGroup: usize, pub CostPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundTransferCostPolicy) -> windows_core::HRESULT, @@ -275,8 +275,8 @@ impl windows_core::RuntimeType for IBackgroundTransferContentPart { #[repr(C)] pub struct IBackgroundTransferContentPart_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage")] pub SetFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] @@ -286,7 +286,7 @@ windows_core::imp::define_interface!(IBackgroundTransferContentPartFactory, IBac impl std::ops::Deref for IBackgroundTransferContentPartFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTransferContentPartFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -294,14 +294,14 @@ impl IBackgroundTransferContentPartFactory { pub fn CreateWithName(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateWithNameAndFileName(&self, name: &windows_core::HSTRING, filename: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithNameAndFileName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(filename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -312,8 +312,8 @@ impl windows_core::RuntimeType for IBackgroundTransferContentPartFactory { #[repr(C)] pub struct IBackgroundTransferContentPartFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithNameAndFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithNameAndFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTransferErrorStaticMethods, IBackgroundTransferErrorStaticMethods_Vtbl, 0xaad33b04_1192_4bf4_8b68_39c5add244e2); impl windows_core::RuntimeType for IBackgroundTransferErrorStaticMethods { @@ -334,7 +334,7 @@ impl windows_core::RuntimeType for IBackgroundTransferGroup { #[repr(C)] pub struct IBackgroundTransferGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TransferBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundTransferBehavior) -> windows_core::HRESULT, pub SetTransferBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundTransferBehavior) -> windows_core::HRESULT, } @@ -345,13 +345,13 @@ impl windows_core::RuntimeType for IBackgroundTransferGroupStatics { #[repr(C)] pub struct IBackgroundTransferGroupStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTransferOperation, IBackgroundTransferOperation_Vtbl, 0xded06846_90ca_44fb_8fb1_124154c0d539); impl std::ops::Deref for IBackgroundTransferOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTransferOperation, windows_core::IUnknown, windows_core::IInspectable); @@ -359,21 +359,21 @@ impl IBackgroundTransferOperation { pub fn Guid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Guid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestedUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Method(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -381,14 +381,14 @@ impl IBackgroundTransferOperation { pub fn Group(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CostPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CostPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -400,14 +400,14 @@ impl IBackgroundTransferOperation { pub fn GetResultStreamAt(&self, position: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResultStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResponseInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResponseInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -420,9 +420,9 @@ pub struct IBackgroundTransferOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub RequestedUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Method: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Method: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] - pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Group: usize, pub CostPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundTransferCostPolicy) -> windows_core::HRESULT, @@ -437,7 +437,7 @@ windows_core::imp::define_interface!(IBackgroundTransferOperationPriority, IBack impl std::ops::Deref for IBackgroundTransferOperationPriority { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundTransferOperationPriority, windows_core::IUnknown, windows_core::IInspectable); @@ -445,7 +445,7 @@ impl IBackgroundTransferOperationPriority { pub fn Priority(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Priority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -497,11 +497,11 @@ pub struct IBackgroundUploader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateUploadWithFormDataAndAutoBoundaryAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateUploadWithSubTypeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateUploadWithSubTypeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateUploadWithSubTypeAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateUploadWithSubTypeAndBoundaryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateUploadWithSubTypeAndBoundaryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateUploadWithSubTypeAndBoundaryAsync: usize, } @@ -577,7 +577,7 @@ pub struct IBackgroundUploaderStaticMethods_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetCurrentUploadsAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] - pub GetCurrentUploadsForGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCurrentUploadsForGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetCurrentUploadsForGroupAsync: usize, } @@ -702,8 +702,8 @@ impl windows_core::RuntimeType for IDownloadOperation5 { #[repr(C)] pub struct IDownloadOperation5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResponseInformation, IResponseInformation_Vtbl, 0xf8bb9a12_f713_4792_8b68_d9d297f91d2e); impl windows_core::RuntimeType for IResponseInformation { @@ -775,8 +775,8 @@ impl windows_core::RuntimeType for IUploadOperation4 { #[repr(C)] pub struct IUploadOperation4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -799,7 +799,7 @@ impl BackgroundDownloader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDownload)(windows_core::Interface::as_raw(this), uri.param().abi(), resultfile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -812,7 +812,7 @@ impl BackgroundDownloader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDownloadFromFile)(windows_core::Interface::as_raw(this), uri.param().abi(), resultfile.param().abi(), requestbodyfile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -825,14 +825,14 @@ impl BackgroundDownloader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDownloadAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), resultfile.param().abi(), requestbodystream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TransferGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransferGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -847,7 +847,7 @@ impl BackgroundDownloader { pub fn SuccessToastNotification(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuccessToastNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -863,7 +863,7 @@ impl BackgroundDownloader { pub fn FailureToastNotification(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FailureToastNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -879,7 +879,7 @@ impl BackgroundDownloader { pub fn SuccessTileNotification(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuccessTileNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -895,7 +895,7 @@ impl BackgroundDownloader { pub fn FailureTileNotification(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FailureTileNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -910,7 +910,7 @@ impl BackgroundDownloader { pub fn CompletionGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompletionGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -919,21 +919,21 @@ impl BackgroundDownloader { P0: windows_core::Param, { Self::IBackgroundDownloaderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithCompletionGroup)(windows_core::Interface::as_raw(this), completiongroup.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentDownloadsAsync() -> windows_core::Result>> { Self::IBackgroundDownloaderStaticMethods(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentDownloadsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetCurrentDownloadsForGroupAsync(group: &windows_core::HSTRING) -> windows_core::Result>> { Self::IBackgroundDownloaderStaticMethods(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentDownloadsForGroupAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(group), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -943,7 +943,7 @@ impl BackgroundDownloader { P0: windows_core::Param, { Self::IBackgroundDownloaderStaticMethods2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentDownloadsForTransferGroupAsync)(windows_core::Interface::as_raw(this), group.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -953,7 +953,7 @@ impl BackgroundDownloader { P0: windows_core::Param>, { Self::IBackgroundDownloaderUserConsent(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestUnconstrainedDownloadsAsync)(windows_core::Interface::as_raw(this), operations.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -965,7 +965,7 @@ impl BackgroundDownloader { pub fn ServerCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -981,7 +981,7 @@ impl BackgroundDownloader { pub fn ProxyCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -996,7 +996,7 @@ impl BackgroundDownloader { pub fn Method(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1008,7 +1008,7 @@ impl BackgroundDownloader { pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1020,7 +1020,7 @@ impl BackgroundDownloader { pub fn CostPolicy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CostPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1078,14 +1078,14 @@ impl BackgroundTransferCompletionGroup { pub fn Trigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Trigger)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1115,7 +1115,7 @@ impl BackgroundTransferCompletionGroupTriggerDetails { pub fn Downloads(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Downloads)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1123,7 +1123,7 @@ impl BackgroundTransferCompletionGroupTriggerDetails { pub fn Uploads(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uploads)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1170,13 +1170,13 @@ impl BackgroundTransferContentPart { } pub fn CreateWithName(name: &windows_core::HSTRING) -> windows_core::Result { Self::IBackgroundTransferContentPartFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithNameAndFileName(name: &windows_core::HSTRING, filename: &windows_core::HSTRING) -> windows_core::Result { Self::IBackgroundTransferContentPartFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithNameAndFileName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(filename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1203,7 +1203,7 @@ impl BackgroundTransferError { #[cfg(feature = "Web")] pub fn GetStatus(hresult: i32) -> windows_core::Result { Self::IBackgroundTransferErrorStaticMethods(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } @@ -1224,14 +1224,14 @@ impl BackgroundTransferGroup { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TransferBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransferBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1241,7 +1241,7 @@ impl BackgroundTransferGroup { } pub fn CreateGroup(name: &windows_core::HSTRING) -> windows_core::Result { Self::IBackgroundTransferGroupStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateGroup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1271,7 +1271,7 @@ impl BackgroundTransferRangesDownloadedEventArgs { pub fn WasDownloadRestarted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WasDownloadRestarted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1279,14 +1279,14 @@ impl BackgroundTransferRangesDownloadedEventArgs { pub fn AddedRanges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddedRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1324,7 +1324,7 @@ impl BackgroundUploader { pub fn ServerCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1340,7 +1340,7 @@ impl BackgroundUploader { pub fn ProxyCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1355,7 +1355,7 @@ impl BackgroundUploader { pub fn Method(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1367,7 +1367,7 @@ impl BackgroundUploader { pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1379,7 +1379,7 @@ impl BackgroundUploader { pub fn CostPolicy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CostPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1395,7 +1395,7 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUpload)(windows_core::Interface::as_raw(this), uri.param().abi(), sourcefile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1407,7 +1407,7 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUploadFromStreamAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), sourcestream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1419,7 +1419,7 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUploadWithFormDataAndAutoBoundaryAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), parts.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1431,7 +1431,7 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUploadWithSubTypeAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), parts.param().abi(), core::mem::transmute_copy(subtype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1443,14 +1443,14 @@ impl BackgroundUploader { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateUploadWithSubTypeAndBoundaryAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), parts.param().abi(), core::mem::transmute_copy(subtype), core::mem::transmute_copy(boundary), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TransferGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransferGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1465,7 +1465,7 @@ impl BackgroundUploader { pub fn SuccessToastNotification(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuccessToastNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1481,7 +1481,7 @@ impl BackgroundUploader { pub fn FailureToastNotification(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FailureToastNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1497,7 +1497,7 @@ impl BackgroundUploader { pub fn SuccessTileNotification(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuccessTileNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1513,7 +1513,7 @@ impl BackgroundUploader { pub fn FailureTileNotification(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FailureTileNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1528,7 +1528,7 @@ impl BackgroundUploader { pub fn CompletionGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompletionGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1537,21 +1537,21 @@ impl BackgroundUploader { P0: windows_core::Param, { Self::IBackgroundUploaderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithCompletionGroup)(windows_core::Interface::as_raw(this), completiongroup.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentUploadsAsync() -> windows_core::Result>> { Self::IBackgroundUploaderStaticMethods(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentUploadsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn GetCurrentUploadsForGroupAsync(group: &windows_core::HSTRING) -> windows_core::Result>> { Self::IBackgroundUploaderStaticMethods(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentUploadsForGroupAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(group), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1561,7 +1561,7 @@ impl BackgroundUploader { P0: windows_core::Param, { Self::IBackgroundUploaderStaticMethods2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentUploadsForTransferGroupAsync)(windows_core::Interface::as_raw(this), group.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1571,7 +1571,7 @@ impl BackgroundUploader { P0: windows_core::Param>, { Self::IBackgroundUploaderUserConsent(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestUnconstrainedUploadsAsync)(windows_core::Interface::as_raw(this), operations.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1614,7 +1614,7 @@ impl ContentPrefetcher { #[cfg(feature = "Foundation_Collections")] pub fn ContentUris() -> windows_core::Result> { Self::IContentPrefetcher(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1626,13 +1626,13 @@ impl ContentPrefetcher { } pub fn IndirectContentUri() -> windows_core::Result { Self::IContentPrefetcher(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndirectContentUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LastSuccessfulPrefetchTime() -> windows_core::Result> { Self::IContentPrefetcherTime(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastSuccessfulPrefetchTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1659,21 +1659,21 @@ impl DownloadOperation { pub fn Guid(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Guid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestedUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Method(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1681,14 +1681,14 @@ impl DownloadOperation { pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CostPolicy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CostPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1700,21 +1700,21 @@ impl DownloadOperation { pub fn GetResultStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResultStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResponseInformation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResponseInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Priority(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Priority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1726,28 +1726,28 @@ impl DownloadOperation { pub fn ResultFile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResultFile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AttachAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttachAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1762,14 +1762,14 @@ impl DownloadOperation { pub fn TransferGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransferGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsRandomAccessRequired(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRandomAccessRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1781,7 +1781,7 @@ impl DownloadOperation { pub fn GetResultRandomAccessStreamReference(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResultRandomAccessStreamReference)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1789,7 +1789,7 @@ impl DownloadOperation { pub fn GetDownloadedRanges(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDownloadedRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1799,7 +1799,7 @@ impl DownloadOperation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RangesDownloaded)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1818,7 +1818,7 @@ impl DownloadOperation { pub fn RecoverableWebErrorStatuses(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecoverableWebErrorStatuses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1826,7 +1826,7 @@ impl DownloadOperation { pub fn CurrentWebErrorStatus(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentWebErrorStatus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1863,21 +1863,21 @@ impl ResponseInformation { pub fn IsResumable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsResumable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ActualUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActualUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StatusCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1885,7 +1885,7 @@ impl ResponseInformation { pub fn Headers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1914,7 +1914,7 @@ impl UnconstrainedTransferRequestResult { pub fn IsUnconstrained(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUnconstrained)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1945,21 +1945,21 @@ impl UploadOperation { pub fn Guid(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Guid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestedUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Method(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1967,14 +1967,14 @@ impl UploadOperation { pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CostPolicy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CostPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1986,21 +1986,21 @@ impl UploadOperation { pub fn GetResultStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResultStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResponseInformation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResponseInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Priority(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Priority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2012,35 +2012,35 @@ impl UploadOperation { pub fn SourceFile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceFile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AttachAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttachAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TransferGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransferGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 e1067c6084..914095dc81 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -7,8 +7,8 @@ pub struct IAttributedNetworkUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BytesSent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub BytesReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub AttributionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AttributionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AttributionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AttributionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub AttributionThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -21,14 +21,14 @@ impl windows_core::RuntimeType for ICellularApnContext { #[repr(C)] pub struct ICellularApnContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AccessPointName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAccessPointName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccessPointName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAccessPointName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCompressionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsCompressionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub AuthenticationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CellularApnAuthenticationType) -> windows_core::HRESULT, @@ -41,8 +41,8 @@ impl windows_core::RuntimeType for ICellularApnContext2 { #[repr(C)] pub struct ICellularApnContext2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConnectionCost, IConnectionCost_Vtbl, 0xbad7d829_3416_4b10_a202_bac0b075bdae); impl windows_core::RuntimeType for IConnectionCost { @@ -72,7 +72,7 @@ impl windows_core::RuntimeType for IConnectionProfile { #[repr(C)] pub struct IConnectionProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNetworkConnectivityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NetworkConnectivityLevel) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetNetworkNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -428,7 +428,7 @@ pub struct IProviderNetworkUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BytesSent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub BytesReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProxyConfiguration, IProxyConfiguration_Vtbl, 0xef3a60b4_9004_4dd6_b7d8_b3e502f4aad0); impl windows_core::RuntimeType for IProxyConfiguration { @@ -470,7 +470,7 @@ impl windows_core::RuntimeType for IWlanConnectionProfileDetails { #[repr(C)] pub struct IWlanConnectionProfileDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetConnectedSsid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConnectedSsid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWwanConnectionProfileDetails, IWwanConnectionProfileDetails_Vtbl, 0x0e4da8fe_835f_4df3_82fd_df556ebc09ef); impl windows_core::RuntimeType for IWwanConnectionProfileDetails { @@ -479,8 +479,8 @@ impl windows_core::RuntimeType for IWwanConnectionProfileDetails { #[repr(C)] pub struct IWwanConnectionProfileDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub HomeProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AccessPointName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HomeProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccessPointName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNetworkRegistrationState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WwanNetworkRegistrationState) -> windows_core::HRESULT, pub GetCurrentDataClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WwanDataClass) -> windows_core::HRESULT, } @@ -505,28 +505,28 @@ impl AttributedNetworkUsage { pub fn BytesSent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesSent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BytesReceived(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesReceived)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AttributionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AttributionName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributionName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -534,7 +534,7 @@ impl AttributedNetworkUsage { pub fn AttributionThumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributionThumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -566,7 +566,7 @@ impl CellularApnContext { pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -577,7 +577,7 @@ impl CellularApnContext { pub fn AccessPointName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessPointName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -588,7 +588,7 @@ impl CellularApnContext { pub fn UserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -599,7 +599,7 @@ impl CellularApnContext { pub fn Password(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Password)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -610,7 +610,7 @@ impl CellularApnContext { pub fn IsCompressionEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCompressionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -621,7 +621,7 @@ impl CellularApnContext { pub fn AuthenticationType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -632,7 +632,7 @@ impl CellularApnContext { pub fn ProfileName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -661,35 +661,35 @@ impl ConnectionCost { pub fn NetworkCostType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkCostType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Roaming(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Roaming)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OverDataLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OverDataLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ApproachingDataLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApproachingDataLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BackgroundDataUsageRestricted(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundDataUsageRestricted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -714,14 +714,14 @@ impl ConnectionProfile { pub fn ProfileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNetworkConnectivityLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNetworkConnectivityLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -729,28 +729,28 @@ impl ConnectionProfile { pub fn GetNetworkNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNetworkNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConnectionCost(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectionCost)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDataPlanStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDataPlanStatus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkAdapter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAdapter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -758,7 +758,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLocalUsage)(windows_core::Interface::as_raw(this), starttime, endtime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -766,63 +766,63 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLocalUsagePerRoamingStates)(windows_core::Interface::as_raw(this), starttime, endtime, states, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkSecuritySettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkSecuritySettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWwanConnectionProfile(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWwanConnectionProfile)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsWlanConnectionProfile(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWlanConnectionProfile)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WwanConnectionProfileDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WwanConnectionProfileDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WlanConnectionProfileDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WlanConnectionProfileDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceProviderGuid(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceProviderGuid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetSignalBars(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSignalBars)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDomainConnectivityLevel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDomainConnectivityLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -830,7 +830,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNetworkUsageAsync)(windows_core::Interface::as_raw(this), starttime, endtime, granularity, states, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -838,7 +838,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectivityIntervalsAsync)(windows_core::Interface::as_raw(this), starttime, endtime, states, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -846,7 +846,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAttributedNetworkUsageAsync)(windows_core::Interface::as_raw(this), starttime, endtime, states, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -854,28 +854,28 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProviderNetworkUsageAsync)(windows_core::Interface::as_raw(this), starttime, endtime, states, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanDelete(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanDelete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryDeleteAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsDomainAuthenticatedBy(&self, kind: DomainAuthenticationKind) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDomainAuthenticatedBy)(windows_core::Interface::as_raw(this), kind, &mut result__).map(|| result__) } } @@ -911,7 +911,7 @@ impl ConnectionProfileFilter { pub fn IsConnected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConnected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -922,7 +922,7 @@ impl ConnectionProfileFilter { pub fn IsWwanConnectionProfile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWwanConnectionProfile)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -933,7 +933,7 @@ impl ConnectionProfileFilter { pub fn IsWlanConnectionProfile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWlanConnectionProfile)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -944,7 +944,7 @@ impl ConnectionProfileFilter { pub fn NetworkCostType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkCostType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -958,7 +958,7 @@ impl ConnectionProfileFilter { pub fn ServiceProviderGuid(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceProviderGuid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -972,7 +972,7 @@ impl ConnectionProfileFilter { pub fn IsRoaming(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRoaming)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -986,7 +986,7 @@ impl ConnectionProfileFilter { pub fn IsOverDataLimit(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOverDataLimit)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1000,7 +1000,7 @@ impl ConnectionProfileFilter { pub fn IsBackgroundDataUsageRestricted(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBackgroundDataUsageRestricted)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1008,7 +1008,7 @@ impl ConnectionProfileFilter { pub fn RawData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1022,7 +1022,7 @@ impl ConnectionProfileFilter { pub fn PurposeGuid(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PurposeGuid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1052,7 +1052,7 @@ impl ConnectionSession { pub fn ConnectionProfile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionProfile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1077,14 +1077,14 @@ impl ConnectivityInterval { pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConnectionDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1108,7 +1108,7 @@ impl ConnectivityManager { P0: windows_core::Param, { Self::IConnectivityManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcquireConnectionAsync)(windows_core::Interface::as_raw(this), cellularapncontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1141,42 +1141,42 @@ impl DataPlanStatus { pub fn DataPlanUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataPlanUsage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DataLimitInMegabytes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataLimitInMegabytes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InboundBitsPerSecond(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InboundBitsPerSecond)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OutboundBitsPerSecond(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundBitsPerSecond)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextBillingCycle(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextBillingCycle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxTransferSizeInMegabytes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxTransferSizeInMegabytes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1201,14 +1201,14 @@ impl DataPlanUsage { pub fn MegabytesUsed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MegabytesUsed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LastSyncTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastSyncTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1237,7 +1237,7 @@ impl DataUsage { pub fn BytesSent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesSent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1245,7 +1245,7 @@ impl DataUsage { pub fn BytesReceived(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesReceived)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1275,14 +1275,14 @@ impl IPInformation { pub fn NetworkAdapter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAdapter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrefixLength(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrefixLength)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1307,21 +1307,21 @@ impl LanIdentifier { pub fn InfrastructureId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InfrastructureId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PortId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PortId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkAdapterId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAdapterId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1346,7 +1346,7 @@ impl LanIdentifierData { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1354,7 +1354,7 @@ impl LanIdentifierData { pub fn Value(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1379,42 +1379,42 @@ impl NetworkAdapter { pub fn OutboundMaxBitsPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundMaxBitsPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InboundMaxBitsPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InboundMaxBitsPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IanaInterfaceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IanaInterfaceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NetworkItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkAdapterId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAdapterId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetConnectedProfileAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectedProfileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1436,27 +1436,27 @@ impl NetworkInformation { #[cfg(feature = "Foundation_Collections")] pub fn GetConnectionProfiles() -> windows_core::Result> { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectionProfiles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetInternetConnectionProfile() -> windows_core::Result { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInternetConnectionProfile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetLanIdentifiers() -> windows_core::Result> { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLanIdentifiers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetHostNames() -> windows_core::Result> { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHostNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1465,7 +1465,7 @@ impl NetworkInformation { P0: windows_core::Param, { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProxyConfigurationAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1475,7 +1475,7 @@ impl NetworkInformation { P0: windows_core::Param>, { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSortedEndpointPairs)(windows_core::Interface::as_raw(this), destinationlist.param().abi(), sortoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1484,7 +1484,7 @@ impl NetworkInformation { P0: windows_core::Param, { Self::INetworkInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkStatusChanged)(windows_core::Interface::as_raw(this), networkstatushandler.param().abi(), &mut result__).map(|| result__) }) } @@ -1497,7 +1497,7 @@ impl NetworkInformation { P0: windows_core::Param, { Self::INetworkInformationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindConnectionProfilesAsync)(windows_core::Interface::as_raw(this), pprofilefilter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1523,14 +1523,14 @@ impl NetworkItem { pub fn NetworkId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetNetworkTypes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNetworkTypes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1555,14 +1555,14 @@ impl NetworkSecuritySettings { pub fn NetworkAuthenticationType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAuthenticationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NetworkEncryptionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkEncryptionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1587,56 +1587,56 @@ impl NetworkStateChangeEventDetails { pub fn HasNewInternetConnectionProfile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNewInternetConnectionProfile)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasNewConnectionCost(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNewConnectionCost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasNewNetworkConnectivityLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNewNetworkConnectivityLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasNewDomainConnectivityLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNewDomainConnectivityLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasNewHostNameList(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNewHostNameList)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasNewWwanRegistrationState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNewWwanRegistrationState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasNewTetheringOperationalState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNewTetheringOperationalState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasNewTetheringClientCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNewTetheringClientCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1661,21 +1661,21 @@ impl NetworkUsage { pub fn BytesSent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesSent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BytesReceived(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesReceived)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConnectionDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1700,21 +1700,21 @@ impl ProviderNetworkUsage { pub fn BytesSent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesSent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BytesReceived(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesReceived)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1740,14 +1740,14 @@ impl ProxyConfiguration { pub fn ProxyUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanConnectDirectly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanConnectDirectly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1772,21 +1772,21 @@ impl RoutePolicy { pub fn ConnectionProfile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionProfile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HostNameType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HostNameType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1796,7 +1796,7 @@ impl RoutePolicy { P1: windows_core::Param, { Self::IRoutePolicyFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRoutePolicy)(windows_core::Interface::as_raw(this), connectionprofile.param().abi(), hostname.param().abi(), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1826,7 +1826,7 @@ impl WlanConnectionProfileDetails { pub fn GetConnectedSsid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectedSsid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1851,35 +1851,35 @@ impl WwanConnectionProfileDetails { pub fn HomeProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HomeProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessPointName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessPointName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNetworkRegistrationState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNetworkRegistrationState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetCurrentDataClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentDataClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IPKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IPKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1887,7 +1887,7 @@ impl WwanConnectionProfileDetails { pub fn PurposeGuids(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PurposeGuids)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 7075314666..d5e7c7b45a 100644 --- a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs @@ -6,17 +6,17 @@ impl windows_core::RuntimeType for IESim { pub struct IESim_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AvailableMemoryInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Eid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FirmwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MobileBroadbandModemDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Eid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FirmwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MobileBroadbandModemDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Policy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ESimState) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetProfiles: usize, - pub DeleteProfileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DownloadProfileMetadataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteProfileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DownloadProfileMetadataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ResetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProfileChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveProfileChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -29,9 +29,9 @@ impl windows_core::RuntimeType for IESim2 { pub struct IESim2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Discover: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DiscoverWithServerAddressAndMatchingId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DiscoverWithServerAddressAndMatchingId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DiscoverAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DiscoverWithServerAddressAndMatchingIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DiscoverWithServerAddressAndMatchingIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESim3, IESim3_Vtbl, 0xfe1edf45_01b8_5d31_b8d3_d9cbebb2b831); impl windows_core::RuntimeType for IESim3 { @@ -58,8 +58,8 @@ impl windows_core::RuntimeType for IESimDiscoverEvent { #[repr(C)] pub struct IESimDiscoverEvent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub MatchingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RspServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MatchingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RspServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESimDiscoverResult, IESimDiscoverResult_Vtbl, 0x56b4bb5e_ab2f_5ac6_b359_dd5a8e237926); impl windows_core::RuntimeType for IESimDiscoverResult { @@ -124,19 +124,19 @@ impl windows_core::RuntimeType for IESimProfile { pub struct IESimProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Class: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ESimProfileClass) -> windows_core::HRESULT, - pub Nickname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Nickname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Policy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub ProviderIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ProviderIcon: usize, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ESimProfileState) -> windows_core::HRESULT, pub DisableAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetNicknameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetNicknameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESimProfileMetadata, IESimProfileMetadata_Vtbl, 0xed25831f_90db_498d_a7b4_ebce807d3c23); impl windows_core::RuntimeType for IESimProfileMetadata { @@ -147,17 +147,17 @@ pub struct IESimProfileMetadata_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsConfirmationCodeRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Policy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub ProviderIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ProviderIcon: usize, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ESimProfileMetadataState) -> windows_core::HRESULT, pub DenyInstallAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ConfirmInstallAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ConfirmInstallWithConfirmationCodeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConfirmInstallWithConfirmationCodeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PostponeInstallAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -229,7 +229,7 @@ impl windows_core::RuntimeType for IFdnAccessManagerStatics { #[repr(C)] pub struct IFdnAccessManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestUnlockAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestUnlockAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHotspotAuthenticationContext, IHotspotAuthenticationContext_Vtbl, 0xe756c791_1003_4de5_83c7_de61d88831d0); impl windows_core::RuntimeType for IHotspotAuthenticationContext { @@ -249,10 +249,10 @@ pub struct IHotspotAuthenticationContext_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] RedirectMessageXml: usize, pub AuthenticationUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub IssueCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, bool) -> windows_core::HRESULT, + pub IssueCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, bool) -> windows_core::HRESULT, pub AbortAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SkipAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub TriggerAttentionRequired: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TriggerAttentionRequired: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHotspotAuthenticationContext2, IHotspotAuthenticationContext2_Vtbl, 0xe756c791_1004_4de5_83c7_de61d88831d0); impl windows_core::RuntimeType for IHotspotAuthenticationContext2 { @@ -261,7 +261,7 @@ impl windows_core::RuntimeType for IHotspotAuthenticationContext2 { #[repr(C)] pub struct IHotspotAuthenticationContext2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IssueCredentialsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IssueCredentialsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHotspotAuthenticationContextStatics, IHotspotAuthenticationContextStatics_Vtbl, 0xe756c791_1002_4de5_83c7_de61d88831d0); impl windows_core::RuntimeType for IHotspotAuthenticationContextStatics { @@ -270,7 +270,7 @@ impl windows_core::RuntimeType for IHotspotAuthenticationContextStatics { #[repr(C)] pub struct IHotspotAuthenticationContextStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TryGetAuthenticationContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub TryGetAuthenticationContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHotspotAuthenticationEventDetails, IHotspotAuthenticationEventDetails_Vtbl, 0xe756c791_1001_4de5_83c7_de61d88831d0); impl windows_core::RuntimeType for IHotspotAuthenticationEventDetails { @@ -279,7 +279,7 @@ impl windows_core::RuntimeType for IHotspotAuthenticationEventDetails { #[repr(C)] pub struct IHotspotAuthenticationEventDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EventToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EventToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHotspotCredentialsAuthenticationResult, IHotspotCredentialsAuthenticationResult_Vtbl, 0xe756c791_1005_4de5_83c7_de61d88831d0); impl windows_core::RuntimeType for IHotspotCredentialsAuthenticationResult { @@ -395,9 +395,9 @@ impl windows_core::RuntimeType for IMobileBroadbandAccount { #[repr(C)] pub struct IMobileBroadbandAccount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ServiceProviderGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub ServiceProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentNetwork: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CurrentDeviceInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -429,7 +429,7 @@ impl windows_core::RuntimeType for IMobileBroadbandAccountEventArgs { #[repr(C)] pub struct IMobileBroadbandAccountEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandAccountStatics, IMobileBroadbandAccountStatics_Vtbl, 0xaa7f4d24_afc1_4fc8_ae9a_a9175310faad); impl windows_core::RuntimeType for IMobileBroadbandAccountStatics { @@ -442,7 +442,7 @@ pub struct IMobileBroadbandAccountStatics_Vtbl { pub AvailableNetworkAccountIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AvailableNetworkAccountIds: usize, - pub CreateFromNetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromNetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandAccountUpdatedEventArgs, IMobileBroadbandAccountUpdatedEventArgs_Vtbl, 0x7bc31d88_a6bd_49e1_80ab_6b91354a57d4); impl windows_core::RuntimeType for IMobileBroadbandAccountUpdatedEventArgs { @@ -451,7 +451,7 @@ impl windows_core::RuntimeType for IMobileBroadbandAccountUpdatedEventArgs { #[repr(C)] pub struct IMobileBroadbandAccountUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HasDeviceInformationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub HasNetworkChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -522,7 +522,7 @@ pub struct IMobileBroadbandCellGsm_Vtbl { pub CellId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ChannelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LocationAreaCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReceivedSignalStrengthInDBm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TimingAdvanceInBitPeriods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -536,7 +536,7 @@ pub struct IMobileBroadbandCellLte_Vtbl { pub CellId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ChannelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PhysicalCellId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReferenceSignalReceivedPowerInDBm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReferenceSignalReceivedQualityInDBm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TimingAdvanceInBitPeriods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -552,7 +552,7 @@ pub struct IMobileBroadbandCellNR_Vtbl { pub CellId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ChannelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PhysicalCellId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReferenceSignalReceivedPowerInDBm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReferenceSignalReceivedQualityInDBm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TimingAdvanceInNanoseconds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -571,7 +571,7 @@ pub struct IMobileBroadbandCellTdscdma_Vtbl { pub ChannelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LocationAreaCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PathLossInDB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReceivedSignalCodePowerInDBm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TimingAdvanceInBitPeriods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -587,7 +587,7 @@ pub struct IMobileBroadbandCellUmts_Vtbl { pub LocationAreaCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PathLossInDB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PrimaryScramblingCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReceivedSignalCodePowerInDBm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SignalToNoiseRatioInDB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -672,24 +672,24 @@ impl windows_core::RuntimeType for IMobileBroadbandDeviceInformation { pub struct IMobileBroadbandDeviceInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NetworkDeviceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NetworkDeviceStatus) -> windows_core::HRESULT, - pub Manufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Model: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FirmwareInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Manufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Model: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FirmwareInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Devices_Sms")] pub CellularClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Devices::Sms::CellularClass) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Sms"))] CellularClass: usize, pub DataClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DataClasses) -> windows_core::HRESULT, - pub CustomDataClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MobileEquipmentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomDataClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MobileEquipmentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub TelephoneNumbers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] TelephoneNumbers: usize, - pub SubscriberId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SimIccId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubscriberId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SimIccId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeviceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MobileBroadbandDeviceType) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentRadioState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MobileBroadbandRadioState) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandDeviceInformation2, IMobileBroadbandDeviceInformation2_Vtbl, 0x2e467af1_f932_4737_a722_03ba72370cb8); @@ -700,8 +700,8 @@ impl windows_core::RuntimeType for IMobileBroadbandDeviceInformation2 { pub struct IMobileBroadbandDeviceInformation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PinManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Revision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Revision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandDeviceInformation3, IMobileBroadbandDeviceInformation3_Vtbl, 0xe08bb4bd_5d30_4b5a_92cc_d54df881d49e); impl windows_core::RuntimeType for IMobileBroadbandDeviceInformation3 { @@ -710,9 +710,9 @@ impl windows_core::RuntimeType for IMobileBroadbandDeviceInformation3 { #[repr(C)] pub struct IMobileBroadbandDeviceInformation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SimSpn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SimPnn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SimGid1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SimSpn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SimPnn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SimGid1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandDeviceInformation4, IMobileBroadbandDeviceInformation4_Vtbl, 0x263f3152_7b9d_582c_b17c_f80a60b50031); impl windows_core::RuntimeType for IMobileBroadbandDeviceInformation4 { @@ -813,7 +813,7 @@ impl windows_core::RuntimeType for IMobileBroadbandDeviceServiceTriggerDetails { #[repr(C)] pub struct IMobileBroadbandDeviceServiceTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeviceServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub ReceivedData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -892,8 +892,8 @@ impl windows_core::RuntimeType for IMobileBroadbandModemConfiguration { pub struct IMobileBroadbandModemConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uicc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub HomeProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HomeProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HomeProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HomeProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandModemConfiguration2, IMobileBroadbandModemConfiguration2_Vtbl, 0x320ff5c5_e460_42ae_aa51_69621e7a4477); impl windows_core::RuntimeType for IMobileBroadbandModemConfiguration2 { @@ -923,7 +923,7 @@ impl windows_core::RuntimeType for IMobileBroadbandModemIsolationFactory { #[repr(C)] pub struct IMobileBroadbandModemIsolationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandModemStatics, IMobileBroadbandModemStatics_Vtbl, 0xf99ed637_d6f1_4a78_8cbc_6421a65063c8); impl windows_core::RuntimeType for IMobileBroadbandModemStatics { @@ -932,8 +932,8 @@ impl windows_core::RuntimeType for IMobileBroadbandModemStatics { #[repr(C)] pub struct IMobileBroadbandModemStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandNetwork, IMobileBroadbandNetwork_Vtbl, 0xcb63928c_0309_4cb6_a8c1_6a5a3c8e1ff6); @@ -951,10 +951,10 @@ pub struct IMobileBroadbandNetwork_Vtbl { pub RegistrationNetworkError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub PacketAttachNetworkError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub ActivationNetworkError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub AccessPointName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccessPointName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RegisteredDataClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DataClasses) -> windows_core::HRESULT, - pub RegisteredProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RegisteredProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisteredProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisteredProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ShowConnectionUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandNetwork2, IMobileBroadbandNetwork2_Vtbl, 0x5a55db22_62f7_4bdd_ba1d_477441960ba0); @@ -986,7 +986,7 @@ impl windows_core::RuntimeType for IMobileBroadbandNetworkRegistrationStateChang #[repr(C)] pub struct IMobileBroadbandNetworkRegistrationStateChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Network: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails, IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails_Vtbl, 0x89135cff_28b8_46aa_b137_1c4b0f21edfe); @@ -1013,7 +1013,7 @@ pub struct IMobileBroadbandPco_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Data: usize, pub IsComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandPcoDataChangeTriggerDetails, IMobileBroadbandPcoDataChangeTriggerDetails_Vtbl, 0x263f5114_64e0_4493_909b_2d14a01962b1); impl windows_core::RuntimeType for IMobileBroadbandPcoDataChangeTriggerDetails { @@ -1038,11 +1038,11 @@ pub struct IMobileBroadbandPin_Vtbl { pub MaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MinLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub AttemptsRemaining: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub EnableAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DisableAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub EnterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ChangeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub UnblockAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnableAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DisableAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ChangeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UnblockAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandPinLockStateChange, IMobileBroadbandPinLockStateChange_Vtbl, 0xbe16673e_1f04_4f95_8b90_e7f559dde7e5); impl windows_core::RuntimeType for IMobileBroadbandPinLockStateChange { @@ -1051,7 +1051,7 @@ impl windows_core::RuntimeType for IMobileBroadbandPinLockStateChange { #[repr(C)] pub struct IMobileBroadbandPinLockStateChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PinType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MobileBroadbandPinType) -> windows_core::HRESULT, pub PinLockState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MobileBroadbandPinLockState) -> windows_core::HRESULT, } @@ -1097,7 +1097,7 @@ impl windows_core::RuntimeType for IMobileBroadbandRadioStateChange { #[repr(C)] pub struct IMobileBroadbandRadioStateChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RadioState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MobileBroadbandRadioState) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandRadioStateChangeTriggerDetails, IMobileBroadbandRadioStateChangeTriggerDetails_Vtbl, 0x71301ace_093c_42c6_b0db_ad1f75a65445); @@ -1158,7 +1158,7 @@ impl windows_core::RuntimeType for IMobileBroadbandSlotInfo2 { #[repr(C)] pub struct IMobileBroadbandSlotInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IccId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IccId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandSlotInfoChangedEventArgs, IMobileBroadbandSlotInfoChangedEventArgs_Vtbl, 0x3158839f_950c_54ce_a48d_ba4529b48f0f); impl windows_core::RuntimeType for IMobileBroadbandSlotInfoChangedEventArgs { @@ -1204,7 +1204,7 @@ impl windows_core::RuntimeType for IMobileBroadbandUicc { #[repr(C)] pub struct IMobileBroadbandUicc_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SimIccId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SimIccId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetUiccAppsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMobileBroadbandUiccApp, IMobileBroadbandUiccApp_Vtbl, 0x4d170556_98a1_43dd_b2ec_50c90cf248df); @@ -1285,10 +1285,10 @@ impl windows_core::RuntimeType for INetworkOperatorNotificationEventDetails { pub struct INetworkOperatorNotificationEventDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NotificationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NetworkOperatorEventMessageType) -> windows_core::HRESULT, - pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EncodingType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RuleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RuleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Devices_Sms")] pub SmsMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Sms"))] @@ -1301,10 +1301,10 @@ impl windows_core::RuntimeType for INetworkOperatorTetheringAccessPointConfigura #[repr(C)] pub struct INetworkOperatorTetheringAccessPointConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Ssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSsid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Passphrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPassphrase: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ssid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSsid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Passphrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPassphrase: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkOperatorTetheringAccessPointConfiguration2, INetworkOperatorTetheringAccessPointConfiguration2_Vtbl, 0xb1809142_7238_59a0_928b_74ab46fd64b6); impl windows_core::RuntimeType for INetworkOperatorTetheringAccessPointConfiguration2 { @@ -1325,7 +1325,7 @@ impl windows_core::RuntimeType for INetworkOperatorTetheringClient { #[repr(C)] pub struct INetworkOperatorTetheringClient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub MacAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MacAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub HostNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -1350,7 +1350,7 @@ impl windows_core::RuntimeType for INetworkOperatorTetheringEntitlementCheck { #[repr(C)] pub struct INetworkOperatorTetheringEntitlementCheck_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AuthorizeTethering: unsafe extern "system" fn(*mut core::ffi::c_void, bool, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AuthorizeTethering: unsafe extern "system" fn(*mut core::ffi::c_void, bool, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkOperatorTetheringManager, INetworkOperatorTetheringManager_Vtbl, 0xd45a8da0_0e86_4d98_8ba4_dd70d4b764d3); impl windows_core::RuntimeType for INetworkOperatorTetheringManager { @@ -1374,8 +1374,8 @@ impl windows_core::RuntimeType for INetworkOperatorTetheringManagerStatics { #[repr(C)] pub struct INetworkOperatorTetheringManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetTetheringCapability: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut TetheringCapability) -> windows_core::HRESULT, - pub CreateFromNetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTetheringCapability: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut TetheringCapability) -> windows_core::HRESULT, + pub CreateFromNetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkOperatorTetheringManagerStatics2, INetworkOperatorTetheringManagerStatics2_Vtbl, 0x5b235412_35f0_49e7_9b08_16d278fbaa42); impl windows_core::RuntimeType for INetworkOperatorTetheringManagerStatics2 { @@ -1426,7 +1426,7 @@ impl windows_core::RuntimeType for INetworkOperatorTetheringOperationResult { pub struct INetworkOperatorTetheringOperationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TetheringOperationStatus) -> windows_core::HRESULT, - pub AdditionalErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AdditionalErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvisionFromXmlDocumentResults, IProvisionFromXmlDocumentResults_Vtbl, 0x217700e0_8203_11df_adb9_f4ce462d9137); impl windows_core::RuntimeType for IProvisionFromXmlDocumentResults { @@ -1436,7 +1436,7 @@ impl windows_core::RuntimeType for IProvisionFromXmlDocumentResults { pub struct IProvisionFromXmlDocumentResults_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllElementsProvisioned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub ProvisionResultsXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProvisionResultsXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvisionedProfile, IProvisionedProfile_Vtbl, 0x217700e0_8202_11df_adb9_f4ce462d9137); impl windows_core::RuntimeType for IProvisionedProfile { @@ -1458,8 +1458,8 @@ impl windows_core::RuntimeType for IProvisioningAgent { #[repr(C)] pub struct IProvisioningAgent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProvisionFromXmlDocumentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetProvisionedProfile: unsafe extern "system" fn(*mut core::ffi::c_void, ProfileMediaType, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ProvisionFromXmlDocumentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetProvisionedProfile: unsafe extern "system" fn(*mut core::ffi::c_void, ProfileMediaType, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvisioningAgentStaticMethods, IProvisioningAgentStaticMethods_Vtbl, 0x217700e0_8101_11df_adb9_f4ce462d9137); impl windows_core::RuntimeType for IProvisioningAgentStaticMethods { @@ -1468,7 +1468,7 @@ impl windows_core::RuntimeType for IProvisioningAgentStaticMethods { #[repr(C)] pub struct IProvisioningAgentStaticMethods_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromNetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromNetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITetheringEntitlementCheckTriggerDetails, ITetheringEntitlementCheckTriggerDetails_Vtbl, 0x03c65e9d_5926_41f3_a94e_b50926fc421b); impl windows_core::RuntimeType for ITetheringEntitlementCheckTriggerDetails { @@ -1477,9 +1477,9 @@ impl windows_core::RuntimeType for ITetheringEntitlementCheckTriggerDetails { #[repr(C)] pub struct ITetheringEntitlementCheckTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AllowTethering: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub DenyTethering: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DenyTethering: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUssdMessage, IUssdMessage_Vtbl, 0x2f9acf82_2004_4d5d_bf81_2aba1b4be4a8); impl windows_core::RuntimeType for IUssdMessage { @@ -1492,8 +1492,8 @@ pub struct IUssdMessage_Vtbl { pub SetDataCodingScheme: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, pub GetPayload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetPayload: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, - pub PayloadAsText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPayloadAsText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PayloadAsText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPayloadAsText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUssdMessageFactory, IUssdMessageFactory_Vtbl, 0x2f9acf82_1003_4d5d_bf81_2aba1b4be4a8); impl windows_core::RuntimeType for IUssdMessageFactory { @@ -1502,7 +1502,7 @@ impl windows_core::RuntimeType for IUssdMessageFactory { #[repr(C)] pub struct IUssdMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUssdReply, IUssdReply_Vtbl, 0x2f9acf82_2005_4d5d_bf81_2aba1b4be4a8); impl windows_core::RuntimeType for IUssdReply { @@ -1531,8 +1531,8 @@ impl windows_core::RuntimeType for IUssdSessionStatics { #[repr(C)] pub struct IUssdSessionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromNetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromNetworkInterfaceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromNetworkAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromNetworkInterfaceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -1542,42 +1542,42 @@ impl ESim { pub fn AvailableMemoryInBytes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableMemoryInBytes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Eid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Eid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirmwareVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirmwareVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MobileBroadbandModemDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MobileBroadbandModemDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Policy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Policy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1585,28 +1585,28 @@ impl ESim { pub fn GetProfiles(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProfiles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteProfileAsync(&self, profileid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteProfileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(profileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DownloadProfileMetadataAsync(&self, activationcode: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadProfileMetadataAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(activationcode), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResetAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResetAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1616,7 +1616,7 @@ impl ESim { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1627,35 +1627,35 @@ impl ESim { pub fn Discover(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Discover)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DiscoverWithServerAddressAndMatchingId(&self, serveraddress: &windows_core::HSTRING, matchingid: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiscoverWithServerAddressAndMatchingId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(serveraddress), core::mem::transmute_copy(matchingid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DiscoverAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiscoverAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DiscoverWithServerAddressAndMatchingIdAsync(&self, serveraddress: &windows_core::HSTRING, matchingid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiscoverWithServerAddressAndMatchingIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(serveraddress), core::mem::transmute_copy(matchingid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SlotIndex(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SlotIndex)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1680,7 +1680,7 @@ impl ESimAddedEventArgs { pub fn ESim(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ESim)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1705,14 +1705,14 @@ impl ESimDiscoverEvent { pub fn MatchingId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MatchingId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RspServerAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RspServerAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1738,28 +1738,28 @@ impl ESimDiscoverResult { pub fn Events(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Events)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProfileMetadata(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileMetadata)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1784,14 +1784,14 @@ impl ESimDownloadProfileMetadataResult { pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProfileMetadata(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileMetadata)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1812,13 +1812,13 @@ pub struct ESimManager; impl ESimManager { pub fn ServiceInfo() -> windows_core::Result { Self::IESimManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryCreateESimWatcher() -> windows_core::Result { Self::IESimManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateESimWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1827,7 +1827,7 @@ impl ESimManager { P0: windows_core::Param>, { Self::IESimManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceInfoChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1851,7 +1851,7 @@ impl ESimOperationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1876,7 +1876,7 @@ impl ESimPolicy { pub fn ShouldEnableManagingUi(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldEnableManagingUi)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1901,28 +1901,28 @@ impl ESimProfile { pub fn Class(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Class)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Nickname(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Nickname)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Policy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Policy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1930,49 +1930,49 @@ impl ESimProfile { pub fn ProviderIcon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderIcon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DisableAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EnableAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetNicknameAsync(&self, newnickname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetNicknameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(newnickname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1997,21 +1997,21 @@ impl ESimProfileMetadata { pub fn IsConfirmationCodeRequired(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConfirmationCodeRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Policy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Policy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2019,56 +2019,56 @@ impl ESimProfileMetadata { pub fn ProviderIcon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderIcon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DenyInstallAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DenyInstallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConfirmInstallAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConfirmInstallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConfirmInstallWithConfirmationCodeAsync(&self, confirmationcode: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConfirmInstallWithConfirmationCodeAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(confirmationcode), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PostponeInstallAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostponeInstallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2078,7 +2078,7 @@ impl ESimProfileMetadata { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2107,21 +2107,21 @@ impl ESimProfilePolicy { pub fn CanDelete(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanDelete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanDisable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanDisable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsManagedByEnterprise(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsManagedByEnterprise)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2146,7 +2146,7 @@ impl ESimRemovedEventArgs { pub fn ESim(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ESim)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2171,14 +2171,14 @@ impl ESimServiceInfo { pub fn AuthenticationPreference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationPreference)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsESimUiEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsESimUiEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2203,7 +2203,7 @@ impl ESimUpdatedEventArgs { pub fn ESim(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ESim)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2228,7 +2228,7 @@ impl ESimWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2246,7 +2246,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2260,7 +2260,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2274,7 +2274,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2288,7 +2288,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2302,7 +2302,7 @@ impl ESimWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2327,7 +2327,7 @@ pub struct FdnAccessManager; impl FdnAccessManager { pub fn RequestUnlockAsync(contactlistid: &windows_core::HSTRING) -> windows_core::Result> { Self::IFdnAccessManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestUnlockAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contactlistid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2349,21 +2349,21 @@ impl HotspotAuthenticationContext { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).WirelessNetworkId)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "Networking_Connectivity")] pub fn NetworkAdapter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAdapter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RedirectMessageUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedirectMessageUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2371,14 +2371,14 @@ impl HotspotAuthenticationContext { pub fn RedirectMessageXml(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RedirectMessageXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AuthenticationUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2401,13 +2401,13 @@ impl HotspotAuthenticationContext { pub fn IssueCredentialsAsync(&self, username: &windows_core::HSTRING, password: &windows_core::HSTRING, extraparameters: &windows_core::HSTRING, markasmanualconnectonfailure: bool) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IssueCredentialsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), core::mem::transmute_copy(password), core::mem::transmute_copy(extraparameters), markasmanualconnectonfailure, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAuthenticationContext(eventoken: &windows_core::HSTRING, context: &mut Option) -> windows_core::Result { Self::IHotspotAuthenticationContextStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAuthenticationContext)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(eventoken), context as *mut _ as _, &mut result__).map(|| result__) }) } @@ -2435,7 +2435,7 @@ impl HotspotAuthenticationEventDetails { pub fn EventToken(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EventToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2458,21 +2458,21 @@ impl HotspotCredentialsAuthenticationResult { pub fn HasNetworkErrorOccurred(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNetworkErrorOccurred)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResponseCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LogoffUrl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LogoffUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2480,7 +2480,7 @@ impl HotspotCredentialsAuthenticationResult { pub fn AuthenticationReplyXml(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationReplyXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2500,21 +2500,21 @@ impl KnownCSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFSpn() -> windows_core::Result> { Self::IKnownCSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EFSpn)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Gid1() -> windows_core::Result> { Self::IKnownCSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gid1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Gid2() -> windows_core::Result> { Self::IKnownCSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gid2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2532,21 +2532,21 @@ impl KnownRuimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFSpn() -> windows_core::Result> { Self::IKnownRuimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EFSpn)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Gid1() -> windows_core::Result> { Self::IKnownRuimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gid1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Gid2() -> windows_core::Result> { Self::IKnownRuimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gid2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2564,28 +2564,28 @@ impl KnownSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFOns() -> windows_core::Result> { Self::IKnownSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EFOns)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn EFSpn() -> windows_core::Result> { Self::IKnownSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EFSpn)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Gid1() -> windows_core::Result> { Self::IKnownSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gid1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Gid2() -> windows_core::Result> { Self::IKnownSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gid2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2603,35 +2603,35 @@ impl KnownUSimFilePaths { #[cfg(feature = "Foundation_Collections")] pub fn EFSpn() -> windows_core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EFSpn)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn EFOpl() -> windows_core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EFOpl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn EFPnn() -> windows_core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EFPnn)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Gid1() -> windows_core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gid1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Gid2() -> windows_core::Result> { Self::IKnownUSimFilePathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gid2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2652,35 +2652,35 @@ impl MobileBroadbandAccount { pub fn NetworkAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceProviderGuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceProviderGuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ServiceProviderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceProviderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentNetwork(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentNetwork)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentDeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentDeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2688,27 +2688,27 @@ impl MobileBroadbandAccount { pub fn GetConnectionProfiles(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConnectionProfiles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccountExperienceUrl(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountExperienceUrl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn AvailableNetworkAccountIds() -> windows_core::Result> { Self::IMobileBroadbandAccountStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableNetworkAccountIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromNetworkAccountId(networkaccountid: &windows_core::HSTRING) -> windows_core::Result { Self::IMobileBroadbandAccountStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNetworkAccountId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2736,7 +2736,7 @@ impl MobileBroadbandAccountEventArgs { pub fn NetworkAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2759,21 +2759,21 @@ impl MobileBroadbandAccountUpdatedEventArgs { pub fn NetworkAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasDeviceInformationChanged(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasDeviceInformationChanged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasNetworkChanged(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNetworkChanged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2806,7 +2806,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountAdded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2820,7 +2820,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2834,7 +2834,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2848,7 +2848,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2862,7 +2862,7 @@ impl MobileBroadbandAccountWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2873,7 +2873,7 @@ impl MobileBroadbandAccountWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2904,20 +2904,20 @@ impl MobileBroadbandAntennaSar { pub fn AntennaIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AntennaIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SarBackoffIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SarBackoffIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateWithIndex(antennaindex: i32, sarbackoffindex: i32) -> windows_core::Result { Self::IMobileBroadbandAntennaSarFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithIndex)(windows_core::Interface::as_raw(this), antennaindex, sarbackoffindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2947,56 +2947,56 @@ impl MobileBroadbandCellCdma { pub fn BaseStationId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseStationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BaseStationPNCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseStationPNCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BaseStationLatitude(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseStationLatitude)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BaseStationLongitude(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseStationLongitude)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BaseStationLastBroadcastGpsTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseStationLastBroadcastGpsTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PilotSignalStrengthInDB(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PilotSignalStrengthInDB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3021,49 +3021,49 @@ impl MobileBroadbandCellGsm { pub fn BaseStationId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseStationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChannelNumber(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocationAreaCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationAreaCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReceivedSignalStrengthInDBm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReceivedSignalStrengthInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimingAdvanceInBitPeriods(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimingAdvanceInBitPeriods)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3088,56 +3088,56 @@ impl MobileBroadbandCellLte { pub fn CellId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChannelNumber(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhysicalCellId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalCellId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReferenceSignalReceivedPowerInDBm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReferenceSignalReceivedPowerInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReferenceSignalReceivedQualityInDBm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReferenceSignalReceivedQualityInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimingAdvanceInBitPeriods(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimingAdvanceInBitPeriods)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrackingAreaCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackingAreaCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3162,63 +3162,63 @@ impl MobileBroadbandCellNR { pub fn CellId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChannelNumber(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhysicalCellId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhysicalCellId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReferenceSignalReceivedPowerInDBm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReferenceSignalReceivedPowerInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReferenceSignalReceivedQualityInDBm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReferenceSignalReceivedQualityInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimingAdvanceInNanoseconds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimingAdvanceInNanoseconds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrackingAreaCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackingAreaCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignalToNoiseRatioInDB(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalToNoiseRatioInDB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3243,56 +3243,56 @@ impl MobileBroadbandCellTdscdma { pub fn CellId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CellParameterId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellParameterId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChannelNumber(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocationAreaCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationAreaCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PathLossInDB(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PathLossInDB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReceivedSignalCodePowerInDBm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReceivedSignalCodePowerInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimingAdvanceInBitPeriods(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimingAdvanceInBitPeriods)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3317,56 +3317,56 @@ impl MobileBroadbandCellUmts { pub fn CellId(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChannelNumber(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocationAreaCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocationAreaCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PathLossInDB(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PathLossInDB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrimaryScramblingCode(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryScramblingCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReceivedSignalCodePowerInDBm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReceivedSignalCodePowerInDBm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignalToNoiseRatioInDB(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignalToNoiseRatioInDB)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3392,7 +3392,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsCdma(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringCellsCdma)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3400,7 +3400,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsGsm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringCellsGsm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3408,7 +3408,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsLte(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringCellsLte)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3416,7 +3416,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsTdscdma(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringCellsTdscdma)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3424,7 +3424,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsUmts(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringCellsUmts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3432,7 +3432,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsCdma(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServingCellsCdma)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3440,7 +3440,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsGsm(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServingCellsGsm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3448,7 +3448,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsLte(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServingCellsLte)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3456,7 +3456,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsTdscdma(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServingCellsTdscdma)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3464,7 +3464,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsUmts(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServingCellsUmts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3472,7 +3472,7 @@ impl MobileBroadbandCellsInfo { pub fn NeighboringCellsNR(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringCellsNR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3480,7 +3480,7 @@ impl MobileBroadbandCellsInfo { pub fn ServingCellsNR(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServingCellsNR)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3505,7 +3505,7 @@ impl MobileBroadbandCurrentSlotIndexChangedEventArgs { pub fn CurrentSlotIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentSlotIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3530,28 +3530,28 @@ impl MobileBroadbandDeviceInformation { pub fn NetworkDeviceStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkDeviceStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Manufacturer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Manufacturer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Model(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Model)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirmwareInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirmwareInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3559,28 +3559,28 @@ impl MobileBroadbandDeviceInformation { pub fn CellularClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CellularClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DataClasses(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataClasses)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CustomDataClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomDataClass)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MobileEquipmentId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MobileEquipmentId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3588,91 +3588,91 @@ impl MobileBroadbandDeviceInformation { pub fn TelephoneNumbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TelephoneNumbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SubscriberId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscriberId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SimIccId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimIccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentRadioState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentRadioState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PinManager(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Revision(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Revision)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SerialNumber(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SerialNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SimSpn(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimSpn)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SimPnn(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimPnn)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SimGid1(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimGid1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SlotManager(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SlotManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3695,7 +3695,7 @@ impl MobileBroadbandDeviceService { pub fn DeviceServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3703,21 +3703,21 @@ impl MobileBroadbandDeviceService { pub fn SupportedCommands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedCommands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenDataSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenDataSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenCommandSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenCommandSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3742,7 +3742,7 @@ impl MobileBroadbandDeviceServiceCommandResult { pub fn StatusCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3750,7 +3750,7 @@ impl MobileBroadbandDeviceServiceCommandResult { pub fn ResponseData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3779,7 +3779,7 @@ impl MobileBroadbandDeviceServiceCommandSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendQueryCommandAsync)(windows_core::Interface::as_raw(this), commandid, data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3790,7 +3790,7 @@ impl MobileBroadbandDeviceServiceCommandSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendSetCommandAsync)(windows_core::Interface::as_raw(this), commandid, data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3820,7 +3820,7 @@ impl MobileBroadbandDeviceServiceDataReceivedEventArgs { pub fn ReceivedData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReceivedData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3849,7 +3849,7 @@ impl MobileBroadbandDeviceServiceDataSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteDataAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3863,7 +3863,7 @@ impl MobileBroadbandDeviceServiceDataSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataReceived)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -3892,21 +3892,21 @@ impl MobileBroadbandDeviceServiceInformation { pub fn DeviceServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDataReadSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDataReadSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsDataWriteSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDataWriteSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3931,14 +3931,14 @@ impl MobileBroadbandDeviceServiceTriggerDetails { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceServiceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3946,14 +3946,14 @@ impl MobileBroadbandDeviceServiceTriggerDetails { pub fn ReceivedData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReceivedData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EventId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EventId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3978,28 +3978,28 @@ impl MobileBroadbandModem { pub fn CurrentAccount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentAccount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxDeviceServiceCommandSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxDeviceServiceCommandSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxDeviceServiceDataSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxDeviceServiceDataSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4007,70 +4007,70 @@ impl MobileBroadbandModem { pub fn DeviceServices(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceServices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceService(&self, deviceserviceid: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceService)(windows_core::Interface::as_raw(this), deviceserviceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsResetSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsResetSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResetAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResetAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentConfigurationAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentConfigurationAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentNetwork(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentNetwork)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIsPassthroughEnabledAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIsPassthroughEnabledAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetIsPassthroughEnabledAsync(&self, value: bool) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetIsPassthroughEnabledAsync)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetPcoAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetPcoAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsInEmergencyCallMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInEmergencyCallMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4080,7 +4080,7 @@ impl MobileBroadbandModem { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInEmergencyCallModeChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4091,46 +4091,46 @@ impl MobileBroadbandModem { pub fn SetIsPassthroughEnabledWithSlotIndexAsync(&self, value: bool, slotindex: i32) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetIsPassthroughEnabledWithSlotIndexAsync)(windows_core::Interface::as_raw(this), value, slotindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIsPassthroughEnabledWithSlotIndexAsync(&self, slotindex: i32) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIsPassthroughEnabledWithSlotIndexAsync)(windows_core::Interface::as_raw(this), slotindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetIsPassthroughEnabledWithSlotIndex(&self, value: bool, slotindex: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetIsPassthroughEnabledWithSlotIndex)(windows_core::Interface::as_raw(this), value, slotindex, &mut result__).map(|| result__) } } pub fn GetIsPassthroughEnabledWithSlotIndex(&self, slotindex: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIsPassthroughEnabledWithSlotIndex)(windows_core::Interface::as_raw(this), slotindex, &mut result__).map(|| result__) } } pub fn GetDeviceSelector() -> windows_core::Result { Self::IMobileBroadbandModemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IMobileBroadbandModemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefault() -> windows_core::Result { Self::IMobileBroadbandModemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4160,28 +4160,28 @@ impl MobileBroadbandModemConfiguration { pub fn Uicc(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uicc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HomeProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HomeProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HomeProviderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HomeProviderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SarManager(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SarManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4219,20 +4219,20 @@ impl MobileBroadbandModemIsolation { pub fn ApplyConfigurationAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplyConfigurationAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearConfigurationAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearConfigurationAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(modemdeviceid: &windows_core::HSTRING, rulegroupid: &windows_core::HSTRING) -> windows_core::Result { Self::IMobileBroadbandModemIsolationFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(modemdeviceid), core::mem::transmute_copy(rulegroupid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4263,63 +4263,63 @@ impl MobileBroadbandNetwork { pub fn NetworkAdapter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAdapter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NetworkRegistrationState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkRegistrationState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RegistrationNetworkError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegistrationNetworkError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PacketAttachNetworkError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PacketAttachNetworkError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ActivationNetworkError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivationNetworkError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AccessPointName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessPointName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RegisteredDataClass(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisteredDataClass)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RegisteredProviderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisteredProviderId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RegisteredProviderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisteredProviderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4330,7 +4330,7 @@ impl MobileBroadbandNetwork { pub fn GetVoiceCallSupportAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVoiceCallSupportAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4338,14 +4338,14 @@ impl MobileBroadbandNetwork { pub fn RegistrationUiccApps(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegistrationUiccApps)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCellsInfoAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCellsInfoAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4368,14 +4368,14 @@ impl MobileBroadbandNetworkRegistrationStateChange { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Network(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Network)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4401,7 +4401,7 @@ impl MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { pub fn NetworkRegistrationStateChanges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkRegistrationStateChanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4427,21 +4427,21 @@ impl MobileBroadbandPco { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsComplete(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComplete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4466,7 +4466,7 @@ impl MobileBroadbandPcoDataChangeTriggerDetails { pub fn UpdatedData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdatedData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4491,84 +4491,84 @@ impl MobileBroadbandPin { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LockState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AttemptsRemaining(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttemptsRemaining)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnableAsync(&self, currentpin: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(currentpin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisableAsync(&self, currentpin: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(currentpin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EnterAsync(&self, currentpin: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(currentpin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChangeAsync(&self, currentpin: &windows_core::HSTRING, newpin: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(currentpin), core::mem::transmute_copy(newpin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnblockAsync(&self, pinunblockkey: &windows_core::HSTRING, newpin: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnblockAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pinunblockkey), core::mem::transmute_copy(newpin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4593,21 +4593,21 @@ impl MobileBroadbandPinLockStateChange { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PinType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PinLockState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinLockState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4633,7 +4633,7 @@ impl MobileBroadbandPinLockStateChangeTriggerDetails { pub fn PinLockStateChanges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PinLockStateChanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4659,14 +4659,14 @@ impl MobileBroadbandPinManager { pub fn SupportedPins(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedPins)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPin(&self, pintype: MobileBroadbandPinType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPin)(windows_core::Interface::as_raw(this), pintype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4691,14 +4691,14 @@ impl MobileBroadbandPinOperationResult { pub fn IsSuccessful(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSuccessful)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AttemptsRemaining(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttemptsRemaining)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4723,14 +4723,14 @@ impl MobileBroadbandRadioStateChange { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RadioState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RadioState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4756,7 +4756,7 @@ impl MobileBroadbandRadioStateChangeTriggerDetails { pub fn RadioStateChanges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RadioStateChanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4781,21 +4781,21 @@ impl MobileBroadbandSarManager { pub fn IsBackoffEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBackoffEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsWiFiHardwareIntegrated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWiFiHardwareIntegrated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSarControlledByHardware(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSarControlledByHardware)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4803,14 +4803,14 @@ impl MobileBroadbandSarManager { pub fn Antennas(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Antennas)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HysteresisTimerPeriod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HysteresisTimerPeriod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4820,7 +4820,7 @@ impl MobileBroadbandSarManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransmissionStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4831,14 +4831,14 @@ impl MobileBroadbandSarManager { pub fn EnableBackoffAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableBackoffAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisableBackoffAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableBackoffAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4849,28 +4849,28 @@ impl MobileBroadbandSarManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetConfigurationAsync)(windows_core::Interface::as_raw(this), antennas.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RevertSarToHardwareControlAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RevertSarToHardwareControlAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SetTransmissionStateChangedHysteresisAsync(&self, timerperiod: super::super::Foundation::TimeSpan) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetTransmissionStateChangedHysteresisAsync)(windows_core::Interface::as_raw(this), timerperiod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIsTransmittingAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIsTransmittingAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4903,21 +4903,21 @@ impl MobileBroadbandSlotInfo { pub fn Index(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Index)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IccId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4942,7 +4942,7 @@ impl MobileBroadbandSlotInfoChangedEventArgs { pub fn SlotInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SlotInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4968,28 +4968,28 @@ impl MobileBroadbandSlotManager { pub fn SlotInfos(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SlotInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentSlotIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentSlotIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SetCurrentSlot(&self, slotindex: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetCurrentSlot)(windows_core::Interface::as_raw(this), slotindex, &mut result__).map(|| result__) } } pub fn SetCurrentSlotAsync(&self, slotindex: i32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetCurrentSlotAsync)(windows_core::Interface::as_raw(this), slotindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4999,7 +4999,7 @@ impl MobileBroadbandSlotManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SlotInfoChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5013,7 +5013,7 @@ impl MobileBroadbandSlotManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentSlotIndexChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -5042,7 +5042,7 @@ impl MobileBroadbandTransmissionStateChangedEventArgs { pub fn IsTransmitting(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTransmitting)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5067,14 +5067,14 @@ impl MobileBroadbandUicc { pub fn SimIccId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimIccId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetUiccAppsAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUiccAppsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5100,14 +5100,14 @@ impl MobileBroadbandUiccApp { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5118,7 +5118,7 @@ impl MobileBroadbandUiccApp { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecordDetailsAsync)(windows_core::Interface::as_raw(this), uiccfilepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5129,7 +5129,7 @@ impl MobileBroadbandUiccApp { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadRecordAsync)(windows_core::Interface::as_raw(this), uiccfilepath.param().abi(), recordindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5154,7 +5154,7 @@ impl MobileBroadbandUiccAppReadRecordResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5162,7 +5162,7 @@ impl MobileBroadbandUiccAppReadRecordResult { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5187,42 +5187,42 @@ impl MobileBroadbandUiccAppRecordDetailsResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RecordCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RecordSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadAccessCondition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAccessCondition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WriteAccessCondition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAccessCondition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5247,7 +5247,7 @@ impl MobileBroadbandUiccAppsResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5255,7 +5255,7 @@ impl MobileBroadbandUiccAppsResult { pub fn UiccApps(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UiccApps)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5280,7 +5280,7 @@ impl NetworkOperatorDataUsageTriggerDetails { pub fn NotificationKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotificationKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5305,35 +5305,35 @@ impl NetworkOperatorNotificationEventDetails { pub fn NotificationType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NetworkAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EncodingType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RuleId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RuleId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5341,7 +5341,7 @@ impl NetworkOperatorNotificationEventDetails { pub fn SmsMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmsMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5377,7 +5377,7 @@ impl NetworkOperatorTetheringAccessPointConfiguration { pub fn Ssid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ssid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5388,7 +5388,7 @@ impl NetworkOperatorTetheringAccessPointConfiguration { pub fn Passphrase(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Passphrase)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5399,21 +5399,21 @@ impl NetworkOperatorTetheringAccessPointConfiguration { pub fn IsBandSupported(&self, band: TetheringWiFiBand) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBandSupported)(windows_core::Interface::as_raw(this), band, &mut result__).map(|| result__) } } pub fn IsBandSupportedAsync(&self, band: TetheringWiFiBand) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBandSupportedAsync)(windows_core::Interface::as_raw(this), band, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Band(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Band)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5442,7 +5442,7 @@ impl NetworkOperatorTetheringClient { pub fn MacAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MacAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5450,7 +5450,7 @@ impl NetworkOperatorTetheringClient { pub fn HostNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HostNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5476,35 +5476,35 @@ impl NetworkOperatorTetheringManager { pub fn GetTetheringClients(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTetheringClients)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxClientCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxClientCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ClientCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TetheringOperationalState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TetheringOperationalState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetCurrentAccessPointConfiguration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentAccessPointConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5514,33 +5514,33 @@ impl NetworkOperatorTetheringManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConfigureAccessPointAsync)(windows_core::Interface::as_raw(this), configuration.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartTetheringAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTetheringAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StopTetheringAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopTetheringAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetTetheringCapability(networkaccountid: &windows_core::HSTRING) -> windows_core::Result { Self::INetworkOperatorTetheringManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTetheringCapability)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).map(|| result__) }) } pub fn CreateFromNetworkAccountId(networkaccountid: &windows_core::HSTRING) -> windows_core::Result { Self::INetworkOperatorTetheringManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNetworkAccountId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5550,7 +5550,7 @@ impl NetworkOperatorTetheringManager { P0: windows_core::Param, { Self::INetworkOperatorTetheringManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTetheringCapabilityFromConnectionProfile)(windows_core::Interface::as_raw(this), profile.param().abi(), &mut result__).map(|| result__) }) } @@ -5560,7 +5560,7 @@ impl NetworkOperatorTetheringManager { P0: windows_core::Param, { Self::INetworkOperatorTetheringManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromConnectionProfile)(windows_core::Interface::as_raw(this), profile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5571,13 +5571,13 @@ impl NetworkOperatorTetheringManager { P1: windows_core::Param, { Self::INetworkOperatorTetheringManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromConnectionProfileWithTargetAdapter)(windows_core::Interface::as_raw(this), profile.param().abi(), adapter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsNoConnectionsTimeoutEnabled() -> windows_core::Result { Self::INetworkOperatorTetheringManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNoConnectionsTimeoutEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -5586,7 +5586,7 @@ impl NetworkOperatorTetheringManager { } pub fn EnableNoConnectionsTimeoutAsync() -> windows_core::Result { Self::INetworkOperatorTetheringManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableNoConnectionsTimeoutAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5595,7 +5595,7 @@ impl NetworkOperatorTetheringManager { } pub fn DisableNoConnectionsTimeoutAsync() -> windows_core::Result { Self::INetworkOperatorTetheringManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableNoConnectionsTimeoutAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5638,14 +5638,14 @@ impl NetworkOperatorTetheringOperationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AdditionalErrorMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdditionalErrorMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5668,14 +5668,14 @@ impl ProvisionFromXmlDocumentResults { pub fn AllElementsProvisioned(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllElementsProvisioned)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProvisionResultsXml(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProvisionResultsXml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5730,20 +5730,20 @@ impl ProvisioningAgent { pub fn ProvisionFromXmlDocumentAsync(&self, provisioningxmldocument: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProvisionFromXmlDocumentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(provisioningxmldocument), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetProvisionedProfile(&self, mediatype: ProfileMediaType, profilename: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProvisionedProfile)(windows_core::Interface::as_raw(this), mediatype, core::mem::transmute_copy(profilename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromNetworkAccountId(networkaccountid: &windows_core::HSTRING) -> windows_core::Result { Self::IProvisioningAgentStaticMethods(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNetworkAccountId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5771,7 +5771,7 @@ impl TetheringEntitlementCheckTriggerDetails { pub fn NetworkAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5804,7 +5804,7 @@ impl UssdMessage { pub fn DataCodingScheme(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataCodingScheme)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5816,7 +5816,7 @@ impl UssdMessage { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetPayload)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn SetPayload(&self, value: &[u8]) -> windows_core::Result<()> { @@ -5826,7 +5826,7 @@ impl UssdMessage { pub fn PayloadAsText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PayloadAsText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5836,7 +5836,7 @@ impl UssdMessage { } pub fn CreateMessage(messagetext: &windows_core::HSTRING) -> windows_core::Result { Self::IUssdMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMessage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messagetext), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -5866,14 +5866,14 @@ impl UssdReply { pub fn ResultCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResultCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5899,7 +5899,7 @@ impl UssdSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendMessageAndGetReplyAsync)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5909,13 +5909,13 @@ impl UssdSession { } pub fn CreateFromNetworkAccountId(networkaccountid: &windows_core::HSTRING) -> windows_core::Result { Self::IUssdSessionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNetworkAccountId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromNetworkInterfaceId(networkinterfaceid: &windows_core::HSTRING) -> windows_core::Result { Self::IUssdSessionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNetworkInterfaceId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(networkinterfaceid), &mut result__).and_then(|| windows_core::Type::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 86aac73efa..bd5c5747d2 100644 --- a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs @@ -20,15 +20,15 @@ pub struct IPeerFinderStatics_Vtbl { pub SetAllowInfrastructure: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub AllowWiFiDirect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowWiFiDirect: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SupportedDiscoveryTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PeerDiscoveryTypes) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AlternateIdentities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AlternateIdentities: usize, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub StartWithMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartWithMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub TriggeredConnectionStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTriggeredConnectionStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -69,7 +69,7 @@ impl windows_core::RuntimeType for IPeerInformation { #[repr(C)] pub struct IPeerInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPeerInformation3, IPeerInformation3_Vtbl, 0xb20f612a_dbd0_40f8_95bd_2d4209c7836f); impl windows_core::RuntimeType for IPeerInformation3 { @@ -78,7 +78,7 @@ impl windows_core::RuntimeType for IPeerInformation3 { #[repr(C)] pub struct IPeerInformation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub DiscoveryData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -92,7 +92,7 @@ impl windows_core::RuntimeType for IPeerInformationWithHostAndService { pub struct IPeerInformationWithHostAndService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPeerWatcher, IPeerWatcher_Vtbl, 0x3cee21f8_2fa6_4679_9691_03c94a420f34); impl windows_core::RuntimeType for IPeerWatcher { @@ -122,15 +122,15 @@ impl windows_core::RuntimeType for IProximityDevice { #[repr(C)] pub struct IProximityDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SubscribeForMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - pub PublishMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i64) -> windows_core::HRESULT, - pub PublishMessageWithCallback: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + pub SubscribeForMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + pub PublishMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i64) -> windows_core::HRESULT, + pub PublishMessageWithCallback: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub PublishBinaryMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + pub PublishBinaryMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] PublishBinaryMessage: usize, #[cfg(feature = "Storage_Streams")] - pub PublishBinaryMessageWithCallback: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, + pub PublishBinaryMessageWithCallback: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] PublishBinaryMessageWithCallback: usize, pub PublishUriMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, @@ -143,7 +143,7 @@ pub struct IProximityDevice_Vtbl { pub RemoveDeviceDeparted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub MaxMessageBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub BitsPerSecond: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProximityDeviceStatics, IProximityDeviceStatics_Vtbl, 0x914ba01d_f6e1_47c4_a14c_148a1903d0c6); impl windows_core::RuntimeType for IProximityDeviceStatics { @@ -152,9 +152,9 @@ impl windows_core::RuntimeType for IProximityDeviceStatics { #[repr(C)] pub struct IProximityDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProximityMessage, IProximityMessage_Vtbl, 0xefab0782_f6e1_4675_a045_d8e320c24808); impl windows_core::RuntimeType for IProximityMessage { @@ -163,13 +163,13 @@ impl windows_core::RuntimeType for IProximityMessage { #[repr(C)] pub struct IProximityMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub MessageType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MessageType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SubscriptionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] Data: usize, - pub DataAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DataAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITriggeredConnectionStateChangedEventArgs, ITriggeredConnectionStateChangedEventArgs_Vtbl, 0xc6a780ad_f6e1_4d54_96e2_33f620bca88a); impl windows_core::RuntimeType for ITriggeredConnectionStateChangedEventArgs { @@ -193,7 +193,7 @@ impl ConnectionRequestedEventArgs { pub fn PeerInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeerInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -214,7 +214,7 @@ pub struct PeerFinder; impl PeerFinder { pub fn AllowBluetooth() -> windows_core::Result { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowBluetooth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -223,7 +223,7 @@ impl PeerFinder { } pub fn AllowInfrastructure() -> windows_core::Result { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowInfrastructure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -232,7 +232,7 @@ impl PeerFinder { } pub fn AllowWiFiDirect() -> windows_core::Result { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowWiFiDirect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -241,7 +241,7 @@ impl PeerFinder { } pub fn DisplayName() -> windows_core::Result { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -250,14 +250,14 @@ impl PeerFinder { } pub fn SupportedDiscoveryTypes() -> windows_core::Result { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedDiscoveryTypes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn AlternateIdentities() -> windows_core::Result> { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateIdentities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -275,7 +275,7 @@ impl PeerFinder { P0: windows_core::Param>, { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggeredConnectionStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -287,7 +287,7 @@ impl PeerFinder { P0: windows_core::Param>, { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -297,7 +297,7 @@ impl PeerFinder { #[cfg(feature = "Foundation_Collections")] pub fn FindAllPeersAsync() -> windows_core::Result>> { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllPeersAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -307,13 +307,13 @@ impl PeerFinder { P0: windows_core::Param, { Self::IPeerFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), peerinformation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Role() -> windows_core::Result { Self::IPeerFinderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Role)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -323,7 +323,7 @@ impl PeerFinder { #[cfg(feature = "Storage_Streams")] pub fn DiscoveryData() -> windows_core::Result { Self::IPeerFinderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiscoveryData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -336,7 +336,7 @@ impl PeerFinder { } pub fn CreateWatcher() -> windows_core::Result { Self::IPeerFinderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -362,14 +362,14 @@ impl PeerInformation { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -377,21 +377,21 @@ impl PeerInformation { pub fn DiscoveryData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiscoveryData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HostName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -419,7 +419,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -433,7 +433,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -447,7 +447,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -461,7 +461,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -475,7 +475,7 @@ impl PeerWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -486,7 +486,7 @@ impl PeerWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -522,14 +522,14 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscribeForMessage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messagetype), messagereceivedhandler.param().abi(), &mut result__).map(|| result__) } } pub fn PublishMessage(&self, messagetype: &windows_core::HSTRING, message: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublishMessage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messagetype), core::mem::transmute_copy(message), &mut result__).map(|| result__) } } @@ -539,7 +539,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublishMessageWithCallback)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messagetype), core::mem::transmute_copy(message), messagetransmittedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -550,7 +550,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublishBinaryMessage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messagetype), message.param().abi(), &mut result__).map(|| result__) } } @@ -562,7 +562,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublishBinaryMessageWithCallback)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(messagetype), message.param().abi(), messagetransmittedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -572,7 +572,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublishUriMessage)(windows_core::Interface::as_raw(this), message.param().abi(), &mut result__).map(|| result__) } } @@ -583,7 +583,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublishUriMessageWithCallback)(windows_core::Interface::as_raw(this), message.param().abi(), messagetransmittedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -601,7 +601,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceArrived)(windows_core::Interface::as_raw(this), arrivedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -615,7 +615,7 @@ impl ProximityDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceDeparted)(windows_core::Interface::as_raw(this), departedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -626,39 +626,39 @@ impl ProximityDevice { pub fn MaxMessageBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxMessageBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BitsPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitsPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeviceSelector() -> windows_core::Result { Self::IProximityDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefault() -> windows_core::Result { Self::IProximityDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IProximityDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -688,14 +688,14 @@ impl ProximityMessage { pub fn MessageType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SubscriptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscriptionId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -703,14 +703,14 @@ impl ProximityMessage { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DataAsString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataAsString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -735,14 +735,14 @@ impl TriggeredConnectionStateChangedEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -750,7 +750,7 @@ impl TriggeredConnectionStateChangedEventArgs { pub fn Socket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Socket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 6e6cbe53b4..df98c8fbac 100644 --- a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IPushNotificationChannel { #[repr(C)] pub struct IPushNotificationChannel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PushNotificationReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -19,8 +19,8 @@ impl windows_core::RuntimeType for IPushNotificationChannelManagerForUser { pub struct IPushNotificationChannelManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreatePushNotificationChannelForApplicationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreatePushNotificationChannelForApplicationAsyncWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreatePushNotificationChannelForSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePushNotificationChannelForApplicationAsyncWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePushNotificationChannelForSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] @@ -34,11 +34,11 @@ impl windows_core::RuntimeType for IPushNotificationChannelManagerForUser2 { pub struct IPushNotificationChannelManagerForUser2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage_Streams")] - pub CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync: usize, #[cfg(feature = "Storage_Streams")] - pub CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsyncWithId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsyncWithId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsyncWithId: usize, } @@ -50,8 +50,8 @@ impl windows_core::RuntimeType for IPushNotificationChannelManagerStatics { pub struct IPushNotificationChannelManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreatePushNotificationChannelForApplicationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreatePushNotificationChannelForApplicationAsyncWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreatePushNotificationChannelForSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePushNotificationChannelForApplicationAsyncWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePushNotificationChannelForSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPushNotificationChannelManagerStatics2, IPushNotificationChannelManagerStatics2_Vtbl, 0xb444a65d_a7e9_4b28_950e_f375a907f9df); impl windows_core::RuntimeType for IPushNotificationChannelManagerStatics2 { @@ -123,7 +123,7 @@ impl windows_core::RuntimeType for IRawNotification { #[repr(C)] pub struct IRawNotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawNotification2, IRawNotification2_Vtbl, 0xe6d0cf19_0c6f_4cdd_9424_eec5be014d26); impl windows_core::RuntimeType for IRawNotification2 { @@ -136,7 +136,7 @@ pub struct IRawNotification2_Vtbl { pub Headers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Headers: usize, - pub ChannelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChannelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawNotification3, IRawNotification3_Vtbl, 0x62737dde_8a73_424c_ab44_5635f40a96e5); impl windows_core::RuntimeType for IRawNotification3 { @@ -158,14 +158,14 @@ impl PushNotificationChannel { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExpirationTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -179,7 +179,7 @@ impl PushNotificationChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PushNotificationReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -204,19 +204,19 @@ pub struct PushNotificationChannelManager; impl PushNotificationChannelManager { pub fn CreatePushNotificationChannelForApplicationAsync() -> windows_core::Result> { Self::IPushNotificationChannelManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePushNotificationChannelForApplicationAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreatePushNotificationChannelForApplicationAsyncWithId(applicationid: &windows_core::HSTRING) -> windows_core::Result> { Self::IPushNotificationChannelManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePushNotificationChannelForApplicationAsyncWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreatePushNotificationChannelForSecondaryTileAsync(tileid: &windows_core::HSTRING) -> windows_core::Result> { Self::IPushNotificationChannelManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePushNotificationChannelForSecondaryTileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -226,13 +226,13 @@ impl PushNotificationChannelManager { P0: windows_core::Param, { Self::IPushNotificationChannelManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefault() -> windows_core::Result { Self::IPushNotificationChannelManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -241,7 +241,7 @@ impl PushNotificationChannelManager { P0: windows_core::Param>, { Self::IPushNotificationChannelManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelsRevoked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -280,21 +280,21 @@ impl PushNotificationChannelManagerForUser { pub fn CreatePushNotificationChannelForApplicationAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePushNotificationChannelForApplicationAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreatePushNotificationChannelForApplicationAsyncWithId(&self, applicationid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePushNotificationChannelForApplicationAsyncWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreatePushNotificationChannelForSecondaryTileAsync(&self, tileid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePushNotificationChannelForSecondaryTileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -302,7 +302,7 @@ impl PushNotificationChannelManagerForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -313,7 +313,7 @@ impl PushNotificationChannelManagerForUser { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync)(windows_core::Interface::as_raw(this), appserverkey.param().abi(), core::mem::transmute_copy(channelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -324,7 +324,7 @@ impl PushNotificationChannelManagerForUser { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsyncWithId)(windows_core::Interface::as_raw(this), appserverkey.param().abi(), core::mem::transmute_copy(channelid), core::mem::transmute_copy(appid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -370,14 +370,14 @@ impl PushNotificationReceivedEventArgs { pub fn Cancel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cancel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NotificationType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -385,7 +385,7 @@ impl PushNotificationReceivedEventArgs { pub fn ToastNotification(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToastNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -393,7 +393,7 @@ impl PushNotificationReceivedEventArgs { pub fn TileNotification(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -401,14 +401,14 @@ impl PushNotificationReceivedEventArgs { pub fn BadgeNotification(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BadgeNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RawNotification(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -433,7 +433,7 @@ impl RawNotification { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -441,14 +441,14 @@ impl RawNotification { pub fn Headers(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChannelId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChannelId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -456,7 +456,7 @@ impl RawNotification { pub fn ContentBytes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentBytes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 2d89c8b454..38618f12b8 100644 --- a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs @@ -16,8 +16,8 @@ impl windows_core::RuntimeType for IDnssdServiceInstance { #[repr(C)] pub struct IDnssdServiceInstance_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DnssdServiceInstanceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDnssdServiceInstanceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DnssdServiceInstanceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDnssdServiceInstanceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub HostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetHostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Port: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, @@ -54,7 +54,7 @@ impl windows_core::RuntimeType for IDnssdServiceInstanceFactory { #[repr(C)] pub struct IDnssdServiceInstanceFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDnssdServiceWatcher, IDnssdServiceWatcher_Vtbl, 0xcc34d9c1_db7d_4b69_983d_c6f83f205682); impl windows_core::RuntimeType for IDnssdServiceWatcher { @@ -89,28 +89,28 @@ impl DnssdRegistrationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IPAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IPAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasInstanceNameChanged(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasInstanceNameChanged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -136,7 +136,7 @@ impl DnssdServiceInstance { pub fn DnssdServiceInstanceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DnssdServiceInstanceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -147,7 +147,7 @@ impl DnssdServiceInstance { pub fn HostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -161,7 +161,7 @@ impl DnssdServiceInstance { pub fn Port(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Port)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -172,7 +172,7 @@ impl DnssdServiceInstance { pub fn Priority(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Priority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -183,7 +183,7 @@ impl DnssdServiceInstance { pub fn Weight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Weight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -195,7 +195,7 @@ impl DnssdServiceInstance { pub fn TextAttributes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -206,7 +206,7 @@ impl DnssdServiceInstance { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterStreamSocketListenerAsync1)(windows_core::Interface::as_raw(this), socket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -218,7 +218,7 @@ impl DnssdServiceInstance { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterStreamSocketListenerAsync2)(windows_core::Interface::as_raw(this), socket.param().abi(), adapter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -229,7 +229,7 @@ impl DnssdServiceInstance { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterDatagramSocketAsync1)(windows_core::Interface::as_raw(this), socket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -241,7 +241,7 @@ impl DnssdServiceInstance { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterDatagramSocketAsync2)(windows_core::Interface::as_raw(this), socket.param().abi(), adapter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -250,14 +250,14 @@ impl DnssdServiceInstance { P0: windows_core::Param, { Self::IDnssdServiceInstanceFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(dnssdserviceinstancename), hostname.param().abi(), port, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -293,7 +293,7 @@ impl DnssdServiceInstanceCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -301,7 +301,7 @@ impl DnssdServiceInstanceCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -309,7 +309,7 @@ impl DnssdServiceInstanceCollection { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -320,7 +320,7 @@ impl DnssdServiceInstanceCollection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -328,7 +328,7 @@ impl DnssdServiceInstanceCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -377,7 +377,7 @@ impl DnssdServiceWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -391,7 +391,7 @@ impl DnssdServiceWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -405,7 +405,7 @@ impl DnssdServiceWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -416,7 +416,7 @@ impl DnssdServiceWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs index a7d4b0c6fc..5b1e1993d3 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs @@ -121,7 +121,7 @@ impl IWebSocket_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRequestHeader, Impl: IWebSocket_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, headername: std::mem::MaybeUninit, headervalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRequestHeader, Impl: IWebSocket_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, headername: core::mem::MaybeUninit, headervalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebSocket_Impl::SetRequestHeader(this, core::mem::transmute(&headername), core::mem::transmute(&headervalue)).into() @@ -142,7 +142,7 @@ impl IWebSocket_Vtbl { let this = (*this).get_impl(); IWebSocket_Impl::RemoveClosed(this, core::mem::transmute(&eventcookie)).into() } - unsafe extern "system" fn CloseWithStatus, Impl: IWebSocket_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, code: u16, reason: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CloseWithStatus, Impl: IWebSocket_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, code: u16, reason: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebSocket_Impl::CloseWithStatus(this, code, core::mem::transmute(&reason)).into() @@ -320,7 +320,7 @@ impl IWebSocketInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Protocol, Impl: IWebSocketInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Protocol, Impl: IWebSocketInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebSocketInformation_Impl::Protocol(this) { diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 0f3c133f9c..97c196ba3a 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IControlChannelTrigger { #[repr(C)] pub struct IControlChannelTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ControlChannelTriggerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ControlChannelTriggerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ServerKeepAliveIntervalInMinutes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetServerKeepAliveIntervalInMinutes: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CurrentKeepAliveIntervalInMinutes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -36,7 +36,7 @@ windows_core::imp::define_interface!(IControlChannelTriggerEventDetails, IContro impl std::ops::Deref for IControlChannelTriggerEventDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IControlChannelTriggerEventDetails, windows_core::IUnknown, windows_core::IInspectable); @@ -44,7 +44,7 @@ impl IControlChannelTriggerEventDetails { pub fn ControlChannelTrigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlChannelTrigger)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -64,14 +64,14 @@ impl windows_core::RuntimeType for IControlChannelTriggerFactory { #[repr(C)] pub struct IControlChannelTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateControlChannelTrigger: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateControlChannelTriggerEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, ControlChannelTriggerResourceType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateControlChannelTrigger: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateControlChannelTriggerEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, ControlChannelTriggerResourceType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IControlChannelTriggerResetEventDetails, IControlChannelTriggerResetEventDetails_Vtbl, 0x6851038e_8ec4_42fe_9bb2_21e91b7bfcb1); impl std::ops::Deref for IControlChannelTriggerResetEventDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IControlChannelTriggerResetEventDetails, windows_core::IUnknown, windows_core::IInspectable); @@ -79,21 +79,21 @@ impl IControlChannelTriggerResetEventDetails { pub fn ResetReason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResetReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HardwareSlotReset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareSlotReset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SoftwareSlotReset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoftwareSlotReset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -121,13 +121,13 @@ pub struct IDatagramSocket_Vtbl { pub OutputStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] OutputStream: usize, - pub ConnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ConnectWithEndpointPairAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub BindServiceNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub BindEndpointAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BindServiceNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BindEndpointAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub JoinMulticastGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub GetOutputStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetOutputStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] GetOutputStreamAsync: usize, #[cfg(feature = "Storage_Streams")] @@ -145,7 +145,7 @@ impl windows_core::RuntimeType for IDatagramSocket2 { pub struct IDatagramSocket2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Networking_Connectivity")] - pub BindServiceNameAndAdapterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BindServiceNameAndAdapterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Networking_Connectivity"))] BindServiceNameAndAdapterAsync: usize, } @@ -159,9 +159,9 @@ pub struct IDatagramSocket3_Vtbl { pub CancelIOAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableTransferOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub EnableTransferOwnershipWithConnectedStandbyAction: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, SocketActivityConnectedStandbyAction) -> windows_core::HRESULT, - pub TransferOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TransferOwnershipWithContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TransferOwnershipWithContextAndKeepAliveTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, + pub TransferOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransferOwnershipWithContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TransferOwnershipWithContextAndKeepAliveTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDatagramSocketControl, IDatagramSocketControl_Vtbl, 0x52ac3f2e_349a_4135_bb58_b79b2647d390); impl windows_core::RuntimeType for IDatagramSocketControl { @@ -205,9 +205,9 @@ impl windows_core::RuntimeType for IDatagramSocketInformation { pub struct IDatagramSocketInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LocalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LocalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoteAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemotePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemotePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDatagramSocketMessageReceivedEventArgs, IDatagramSocketMessageReceivedEventArgs_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d107e); impl windows_core::RuntimeType for IDatagramSocketMessageReceivedEventArgs { @@ -217,7 +217,7 @@ impl windows_core::RuntimeType for IDatagramSocketMessageReceivedEventArgs { pub struct IDatagramSocketMessageReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RemoteAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemotePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemotePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LocalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetDataReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -236,11 +236,11 @@ impl windows_core::RuntimeType for IDatagramSocketStatics { pub struct IDatagramSocketStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub GetEndpointPairsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetEndpointPairsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub GetEndpointPairsWithSortOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::HostNameSortOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetEndpointPairsWithSortOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::HostNameSortOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsWithSortOptionsAsync: usize, } @@ -358,7 +358,7 @@ pub struct IServerMessageWebSocket_Vtbl { OutputStream: usize, pub Closed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveClosed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub CloseWithStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u16, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CloseWithStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u16, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServerMessageWebSocketControl, IServerMessageWebSocketControl_Vtbl, 0x69c2f051_1c1f_587a_4519_2181610192b7); impl windows_core::RuntimeType for IServerMessageWebSocketControl { @@ -378,7 +378,7 @@ impl windows_core::RuntimeType for IServerMessageWebSocketInformation { pub struct IServerMessageWebSocketInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BandwidthStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BandwidthStatistics) -> windows_core::HRESULT, - pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LocalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServerStreamWebSocket, IServerStreamWebSocket_Vtbl, 0x2ced5bbf_74f6_55e4_79df_9132680dfee8); @@ -399,7 +399,7 @@ pub struct IServerStreamWebSocket_Vtbl { OutputStream: usize, pub Closed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveClosed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub CloseWithStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u16, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CloseWithStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u16, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServerStreamWebSocketInformation, IServerStreamWebSocketInformation_Vtbl, 0xfc32b45f_4448_5505_6cc9_09aba8915f5d); impl windows_core::RuntimeType for IServerStreamWebSocketInformation { @@ -409,7 +409,7 @@ impl windows_core::RuntimeType for IServerStreamWebSocketInformation { pub struct IServerStreamWebSocketInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BandwidthStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BandwidthStatistics) -> windows_core::HRESULT, - pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LocalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISocketActivityContext, ISocketActivityContext_Vtbl, 0x43b04d64_4c85_4396_a637_1d973f6ebd49); @@ -444,7 +444,7 @@ impl windows_core::RuntimeType for ISocketActivityInformation { pub struct ISocketActivityInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SocketKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SocketActivityKind) -> windows_core::HRESULT, pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DatagramSocket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -500,9 +500,9 @@ pub struct IStreamSocket_Vtbl { #[cfg(not(feature = "Storage_Streams"))] OutputStream: usize, pub ConnectWithEndpointPairAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ConnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ConnectWithEndpointPairAndProtectionLevelAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SocketProtectionLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ConnectWithProtectionLevelAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, SocketProtectionLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectWithProtectionLevelAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, SocketProtectionLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpgradeToSslAsync: unsafe extern "system" fn(*mut core::ffi::c_void, SocketProtectionLevel, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamSocket2, IStreamSocket2_Vtbl, 0x29d0e575_f314_4d09_adf0_0fbd967fbd9f); @@ -513,7 +513,7 @@ impl windows_core::RuntimeType for IStreamSocket2 { pub struct IStreamSocket2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Networking_Connectivity")] - pub ConnectWithProtectionLevelAndAdapterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, SocketProtectionLevel, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectWithProtectionLevelAndAdapterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, SocketProtectionLevel, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Networking_Connectivity"))] ConnectWithProtectionLevelAndAdapterAsync: usize, } @@ -527,9 +527,9 @@ pub struct IStreamSocket3_Vtbl { pub CancelIOAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableTransferOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub EnableTransferOwnershipWithConnectedStandbyAction: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, SocketActivityConnectedStandbyAction) -> windows_core::HRESULT, - pub TransferOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TransferOwnershipWithContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TransferOwnershipWithContextAndKeepAliveTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, + pub TransferOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransferOwnershipWithContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TransferOwnershipWithContextAndKeepAliveTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamSocketControl, IStreamSocketControl_Vtbl, 0xfe25adf1_92ab_4af3_9992_0f4c85e36cc4); impl windows_core::RuntimeType for IStreamSocketControl { @@ -597,11 +597,11 @@ impl windows_core::RuntimeType for IStreamSocketInformation { pub struct IStreamSocketInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LocalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LocalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoteHostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoteAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoteServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemotePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemotePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RoundTripTimeStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RoundTripTimeStatistics) -> windows_core::HRESULT, pub BandwidthStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BandwidthStatistics) -> windows_core::HRESULT, pub ProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SocketProtectionLevel) -> windows_core::HRESULT, @@ -640,8 +640,8 @@ pub struct IStreamSocketListener_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Control: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Information: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub BindServiceNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub BindEndpointAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BindServiceNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BindEndpointAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ConnectionReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveConnectionReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -652,9 +652,9 @@ impl windows_core::RuntimeType for IStreamSocketListener2 { #[repr(C)] pub struct IStreamSocketListener2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub BindServiceNameWithProtectionLevelAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SocketProtectionLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BindServiceNameWithProtectionLevelAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SocketProtectionLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Networking_Connectivity")] - pub BindServiceNameWithProtectionLevelAndAdapterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SocketProtectionLevel, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BindServiceNameWithProtectionLevelAndAdapterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SocketProtectionLevel, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Networking_Connectivity"))] BindServiceNameWithProtectionLevelAndAdapterAsync: usize, } @@ -668,8 +668,8 @@ pub struct IStreamSocketListener3_Vtbl { pub CancelIOAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableTransferOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub EnableTransferOwnershipWithConnectedStandbyAction: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, SocketActivityConnectedStandbyAction) -> windows_core::HRESULT, - pub TransferOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TransferOwnershipWithContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TransferOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransferOwnershipWithContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamSocketListenerConnectionReceivedEventArgs, IStreamSocketListenerConnectionReceivedEventArgs_Vtbl, 0x0c472ea9_373f_447b_85b1_ddd4548803ba); impl windows_core::RuntimeType for IStreamSocketListenerConnectionReceivedEventArgs { @@ -713,7 +713,7 @@ impl windows_core::RuntimeType for IStreamSocketListenerInformation { #[repr(C)] pub struct IStreamSocketListenerInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LocalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamSocketStatics, IStreamSocketStatics_Vtbl, 0xa420bc4a_6e2e_4af5_b556_355ae0cd4f29); impl windows_core::RuntimeType for IStreamSocketStatics { @@ -723,11 +723,11 @@ impl windows_core::RuntimeType for IStreamSocketStatics { pub struct IStreamSocketStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub GetEndpointPairsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetEndpointPairsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub GetEndpointPairsWithSortOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::HostNameSortOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetEndpointPairsWithSortOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::HostNameSortOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsWithSortOptionsAsync: usize, } @@ -788,7 +788,7 @@ windows_core::imp::define_interface!(IWebSocket, IWebSocket_Vtbl, 0xf877396f_99b impl std::ops::Deref for IWebSocket { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebSocket, windows_core::IUnknown, windows_core::IInspectable); @@ -798,7 +798,7 @@ impl IWebSocket { pub fn OutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -808,7 +808,7 @@ impl IWebSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -822,7 +822,7 @@ impl IWebSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -850,10 +850,10 @@ pub struct IWebSocket_Vtbl { #[cfg(not(feature = "Storage_Streams"))] OutputStream: usize, pub ConnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Closed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveClosed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub CloseWithStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u16, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CloseWithStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u16, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebSocketClosedEventArgs, IWebSocketClosedEventArgs_Vtbl, 0xceb78d07_d0a8_4703_a091_c8c2c0915bc3); impl windows_core::RuntimeType for IWebSocketClosedEventArgs { @@ -863,13 +863,13 @@ impl windows_core::RuntimeType for IWebSocketClosedEventArgs { pub struct IWebSocketClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Code: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, - pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebSocketControl, IWebSocketControl_Vtbl, 0x2ec4bdc3_d9a5_455a_9811_de24d45337e9); impl std::ops::Deref for IWebSocketControl { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebSocketControl, windows_core::IUnknown, windows_core::IInspectable); @@ -877,7 +877,7 @@ impl IWebSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundBufferSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -889,7 +889,7 @@ impl IWebSocketControl { pub fn ServerCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -905,7 +905,7 @@ impl IWebSocketControl { pub fn ProxyCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -921,7 +921,7 @@ impl IWebSocketControl { pub fn SupportedProtocols(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedProtocols)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -959,7 +959,7 @@ windows_core::imp::define_interface!(IWebSocketControl2, IWebSocketControl2_Vtbl impl std::ops::Deref for IWebSocketControl2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebSocketControl2, windows_core::IUnknown, windows_core::IInspectable); @@ -969,14 +969,14 @@ impl IWebSocketControl2 { pub fn IgnorableServerCertificateErrors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnorableServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OutboundBufferSizeInBytes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundBufferSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -988,7 +988,7 @@ impl IWebSocketControl2 { pub fn ServerCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1004,7 +1004,7 @@ impl IWebSocketControl2 { pub fn ProxyCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1020,7 +1020,7 @@ impl IWebSocketControl2 { pub fn SupportedProtocols(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedProtocols)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1052,7 +1052,7 @@ windows_core::imp::define_interface!(IWebSocketInformation, IWebSocketInformatio impl std::ops::Deref for IWebSocketInformation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebSocketInformation, windows_core::IUnknown, windows_core::IInspectable); @@ -1060,21 +1060,21 @@ impl IWebSocketInformation { pub fn LocalAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BandwidthStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BandwidthStatistics)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Protocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Protocol)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1087,13 +1087,13 @@ pub struct IWebSocketInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LocalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BandwidthStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BandwidthStatistics) -> windows_core::HRESULT, - pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebSocketInformation2, IWebSocketInformation2_Vtbl, 0xce1d39ce_a1b7_4d43_8269_8d5b981bd47a); impl std::ops::Deref for IWebSocketInformation2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebSocketInformation2, windows_core::IUnknown, windows_core::IInspectable); @@ -1103,14 +1103,14 @@ impl IWebSocketInformation2 { pub fn ServerCertificate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServerCertificateErrorSeverity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrorSeverity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1118,7 +1118,7 @@ impl IWebSocketInformation2 { pub fn ServerCertificateErrors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1126,28 +1126,28 @@ impl IWebSocketInformation2 { pub fn ServerIntermediateCertificates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerIntermediateCertificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalAddress(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BandwidthStatistics(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BandwidthStatistics)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Protocol(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Protocol)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1208,14 +1208,14 @@ impl ControlChannelTrigger { pub fn ControlChannelTriggerId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlChannelTriggerId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServerKeepAliveIntervalInMinutes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerKeepAliveIntervalInMinutes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1226,14 +1226,14 @@ impl ControlChannelTrigger { pub fn CurrentKeepAliveIntervalInMinutes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentKeepAliveIntervalInMinutes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TransportObject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportObject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1241,7 +1241,7 @@ impl ControlChannelTrigger { pub fn KeepAliveTrigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeepAliveTrigger)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1249,7 +1249,7 @@ impl ControlChannelTrigger { pub fn PushNotificationTrigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PushNotificationTrigger)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1263,7 +1263,7 @@ impl ControlChannelTrigger { pub fn WaitForPushEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WaitForPushEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1278,19 +1278,19 @@ impl ControlChannelTrigger { pub fn IsWakeFromLowPowerSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWakeFromLowPowerSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateControlChannelTrigger(channelid: &windows_core::HSTRING, serverkeepaliveintervalinminutes: u32) -> windows_core::Result { Self::IControlChannelTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateControlChannelTrigger)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(channelid), serverkeepaliveintervalinminutes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateControlChannelTriggerEx(channelid: &windows_core::HSTRING, serverkeepaliveintervalinminutes: u32, resourcerequesttype: ControlChannelTriggerResourceType) -> windows_core::Result { Self::IControlChannelTriggerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateControlChannelTriggerEx)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(channelid), serverkeepaliveintervalinminutes, resourcerequesttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1332,14 +1332,14 @@ impl DatagramSocket { pub fn Control(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Information(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Information)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1347,7 +1347,7 @@ impl DatagramSocket { pub fn OutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1357,7 +1357,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1367,14 +1367,14 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectWithEndpointPairAsync)(windows_core::Interface::as_raw(this), endpointpair.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BindServiceNameAsync(&self, localservicename: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BindServiceNameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1384,7 +1384,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BindEndpointAsync)(windows_core::Interface::as_raw(this), localhostname.param().abi(), core::mem::transmute_copy(localservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1402,7 +1402,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1413,7 +1413,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamWithEndpointPairAsync)(windows_core::Interface::as_raw(this), endpointpair.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1423,7 +1423,7 @@ impl DatagramSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReceived)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1438,14 +1438,14 @@ impl DatagramSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BindServiceNameAndAdapterAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localservicename), adapter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CancelIOAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CancelIOAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1481,7 +1481,7 @@ impl DatagramSocket { P0: windows_core::Param, { Self::IDatagramSocketStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEndpointPairsAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1491,7 +1491,7 @@ impl DatagramSocket { P0: windows_core::Param, { Self::IDatagramSocketStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEndpointPairsWithSortOptionsAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), sortoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1521,7 +1521,7 @@ impl DatagramSocketControl { pub fn QualityOfService(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QualityOfService)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1532,7 +1532,7 @@ impl DatagramSocketControl { pub fn OutboundUnicastHopLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundUnicastHopLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1543,7 +1543,7 @@ impl DatagramSocketControl { pub fn InboundBufferSizeInBytes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InboundBufferSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1554,7 +1554,7 @@ impl DatagramSocketControl { pub fn DontFragment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DontFragment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1565,7 +1565,7 @@ impl DatagramSocketControl { pub fn MulticastOnly(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MulticastOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1594,28 +1594,28 @@ impl DatagramSocketInformation { pub fn LocalAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalPort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalPort)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemotePort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemotePort)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1640,21 +1640,21 @@ impl DatagramSocketMessageReceivedEventArgs { pub fn RemoteAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemotePort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemotePort)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1662,7 +1662,7 @@ impl DatagramSocketMessageReceivedEventArgs { pub fn GetDataReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDataReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1670,7 +1670,7 @@ impl DatagramSocketMessageReceivedEventArgs { pub fn GetDataStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDataStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1707,14 +1707,14 @@ impl MessageWebSocket { pub fn Control(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Information(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Information)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1724,7 +1724,7 @@ impl MessageWebSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReceived)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1738,7 +1738,7 @@ impl MessageWebSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCustomValidationRequested)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1753,7 +1753,7 @@ impl MessageWebSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendNonfinalFrameAsync)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1764,7 +1764,7 @@ impl MessageWebSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendFinalFrameAsync)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1772,7 +1772,7 @@ impl MessageWebSocket { pub fn OutputStream(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1782,7 +1782,7 @@ impl MessageWebSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1796,7 +1796,7 @@ impl MessageWebSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1830,7 +1830,7 @@ impl MessageWebSocketControl { pub fn MaxMessageSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxMessageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1841,7 +1841,7 @@ impl MessageWebSocketControl { pub fn MessageType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1852,7 +1852,7 @@ impl MessageWebSocketControl { pub fn DesiredUnsolicitedPongInterval(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredUnsolicitedPongInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1863,14 +1863,14 @@ impl MessageWebSocketControl { pub fn ActualUnsolicitedPongInterval(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActualUnsolicitedPongInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReceiveMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReceiveMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1882,7 +1882,7 @@ impl MessageWebSocketControl { pub fn ClientCertificate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1897,7 +1897,7 @@ impl MessageWebSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundBufferSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1909,7 +1909,7 @@ impl MessageWebSocketControl { pub fn ServerCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1925,7 +1925,7 @@ impl MessageWebSocketControl { pub fn ProxyCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1941,7 +1941,7 @@ impl MessageWebSocketControl { pub fn SupportedProtocols(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedProtocols)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1949,7 +1949,7 @@ impl MessageWebSocketControl { pub fn IgnorableServerCertificateErrors(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnorableServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1975,21 +1975,21 @@ impl MessageWebSocketInformation { pub fn LocalAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BandwidthStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BandwidthStatistics)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Protocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Protocol)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1997,14 +1997,14 @@ impl MessageWebSocketInformation { pub fn ServerCertificate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServerCertificateErrorSeverity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrorSeverity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2012,7 +2012,7 @@ impl MessageWebSocketInformation { pub fn ServerCertificateErrors(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2020,7 +2020,7 @@ impl MessageWebSocketInformation { pub fn ServerIntermediateCertificates(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerIntermediateCertificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2045,7 +2045,7 @@ impl MessageWebSocketMessageReceivedEventArgs { pub fn MessageType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2053,7 +2053,7 @@ impl MessageWebSocketMessageReceivedEventArgs { pub fn GetDataReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDataReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2061,14 +2061,14 @@ impl MessageWebSocketMessageReceivedEventArgs { pub fn GetDataStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDataStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsMessageComplete(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMessageComplete)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2101,7 +2101,7 @@ impl ServerMessageWebSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageReceived)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2112,14 +2112,14 @@ impl ServerMessageWebSocket { pub fn Control(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Information(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Information)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2127,7 +2127,7 @@ impl ServerMessageWebSocket { pub fn OutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2137,7 +2137,7 @@ impl ServerMessageWebSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2170,7 +2170,7 @@ impl ServerMessageWebSocketControl { pub fn MessageType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2199,21 +2199,21 @@ impl ServerMessageWebSocketInformation { pub fn BandwidthStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BandwidthStatistics)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Protocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Protocol)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2243,7 +2243,7 @@ impl ServerStreamWebSocket { pub fn Information(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Information)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2251,7 +2251,7 @@ impl ServerStreamWebSocket { pub fn InputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2259,7 +2259,7 @@ impl ServerStreamWebSocket { pub fn OutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2269,7 +2269,7 @@ impl ServerStreamWebSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -2302,21 +2302,21 @@ impl ServerStreamWebSocketInformation { pub fn BandwidthStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BandwidthStatistics)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Protocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Protocol)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2342,7 +2342,7 @@ impl SocketActivityContext { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2352,7 +2352,7 @@ impl SocketActivityContext { P0: windows_core::Param, { Self::ISocketActivityContextFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2382,56 +2382,56 @@ impl SocketActivityInformation { pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SocketKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SocketKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Context(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Context)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DatagramSocket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DatagramSocket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StreamSocket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamSocket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StreamSocketListener(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamSocketListener)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn AllSockets() -> windows_core::Result> { Self::ISocketActivityInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllSockets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2461,14 +2461,14 @@ impl SocketActivityTriggerDetails { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SocketInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SocketInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2489,7 +2489,7 @@ pub struct SocketError; impl SocketError { pub fn GetStatus(hresult: i32) -> windows_core::Result { Self::ISocketErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } @@ -2522,14 +2522,14 @@ impl StreamSocket { pub fn Control(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Information(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Information)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2537,7 +2537,7 @@ impl StreamSocket { pub fn InputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2545,7 +2545,7 @@ impl StreamSocket { pub fn OutputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2555,7 +2555,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectWithEndpointPairAsync)(windows_core::Interface::as_raw(this), endpointpair.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2565,7 +2565,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2575,7 +2575,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectWithEndpointPairAndProtectionLevelAsync)(windows_core::Interface::as_raw(this), endpointpair.param().abi(), protectionlevel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2585,7 +2585,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectWithProtectionLevelAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), protectionlevel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2595,7 +2595,7 @@ impl StreamSocket { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpgradeToSslAsync)(windows_core::Interface::as_raw(this), protectionlevel, validationhostname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2607,14 +2607,14 @@ impl StreamSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectWithProtectionLevelAndAdapterAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), protectionlevel, adapter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CancelIOAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CancelIOAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2650,7 +2650,7 @@ impl StreamSocket { P0: windows_core::Param, { Self::IStreamSocketStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEndpointPairsAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2660,7 +2660,7 @@ impl StreamSocket { P0: windows_core::Param, { Self::IStreamSocketStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEndpointPairsWithSortOptionsAsync)(windows_core::Interface::as_raw(this), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), sortoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2690,7 +2690,7 @@ impl StreamSocketControl { pub fn NoDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NoDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2701,7 +2701,7 @@ impl StreamSocketControl { pub fn KeepAlive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeepAlive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2712,7 +2712,7 @@ impl StreamSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundBufferSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2723,7 +2723,7 @@ impl StreamSocketControl { pub fn QualityOfService(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QualityOfService)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2734,7 +2734,7 @@ impl StreamSocketControl { pub fn OutboundUnicastHopLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundUnicastHopLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2746,14 +2746,14 @@ impl StreamSocketControl { pub fn IgnorableServerCertificateErrors(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnorableServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SerializeConnectionAttempts(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SerializeConnectionAttempts)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2765,7 +2765,7 @@ impl StreamSocketControl { pub fn ClientCertificate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2780,7 +2780,7 @@ impl StreamSocketControl { pub fn MinProtectionLevel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2809,63 +2809,63 @@ impl StreamSocketInformation { pub fn LocalAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalPort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalPort)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteHostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteHostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteServiceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemotePort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemotePort)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoundTripTimeStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoundTripTimeStatistics)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BandwidthStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BandwidthStatistics)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2873,14 +2873,14 @@ impl StreamSocketInformation { pub fn SessionKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionKey)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServerCertificateErrorSeverity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrorSeverity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2888,7 +2888,7 @@ impl StreamSocketInformation { pub fn ServerCertificateErrors(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2896,7 +2896,7 @@ impl StreamSocketInformation { pub fn ServerCertificate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2904,7 +2904,7 @@ impl StreamSocketInformation { pub fn ServerIntermediateCertificates(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerIntermediateCertificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2941,21 +2941,21 @@ impl StreamSocketListener { pub fn Control(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Information(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Information)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BindServiceNameAsync(&self, localservicename: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BindServiceNameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2965,7 +2965,7 @@ impl StreamSocketListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BindEndpointAsync)(windows_core::Interface::as_raw(this), localhostname.param().abi(), core::mem::transmute_copy(localservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2975,7 +2975,7 @@ impl StreamSocketListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionReceived)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -2986,7 +2986,7 @@ impl StreamSocketListener { pub fn BindServiceNameWithProtectionLevelAsync(&self, localservicename: &windows_core::HSTRING, protectionlevel: SocketProtectionLevel) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BindServiceNameWithProtectionLevelAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localservicename), protectionlevel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2997,14 +2997,14 @@ impl StreamSocketListener { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BindServiceNameWithProtectionLevelAndAdapterAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(localservicename), protectionlevel, adapter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CancelIOAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CancelIOAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3048,7 +3048,7 @@ impl StreamSocketListenerConnectionReceivedEventArgs { pub fn Socket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Socket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3073,7 +3073,7 @@ impl StreamSocketListenerControl { pub fn QualityOfService(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QualityOfService)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3084,7 +3084,7 @@ impl StreamSocketListenerControl { pub fn NoDelay(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NoDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3095,7 +3095,7 @@ impl StreamSocketListenerControl { pub fn KeepAlive(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeepAlive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3106,7 +3106,7 @@ impl StreamSocketListenerControl { pub fn OutboundBufferSizeInBytes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundBufferSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3117,7 +3117,7 @@ impl StreamSocketListenerControl { pub fn OutboundUnicastHopLimit(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundUnicastHopLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3146,7 +3146,7 @@ impl StreamSocketListenerInformation { pub fn LocalPort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalPort)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3183,14 +3183,14 @@ impl StreamWebSocket { pub fn Control(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Information(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Information)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3198,7 +3198,7 @@ impl StreamWebSocket { pub fn InputStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3208,7 +3208,7 @@ impl StreamWebSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCustomValidationRequested)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -3220,7 +3220,7 @@ impl StreamWebSocket { pub fn OutputStream(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutputStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3230,7 +3230,7 @@ impl StreamWebSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3244,7 +3244,7 @@ impl StreamWebSocket { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -3278,7 +3278,7 @@ impl StreamWebSocketControl { pub fn NoDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NoDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3289,7 +3289,7 @@ impl StreamWebSocketControl { pub fn DesiredUnsolicitedPongInterval(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredUnsolicitedPongInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3300,7 +3300,7 @@ impl StreamWebSocketControl { pub fn ActualUnsolicitedPongInterval(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActualUnsolicitedPongInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3308,7 +3308,7 @@ impl StreamWebSocketControl { pub fn ClientCertificate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3323,7 +3323,7 @@ impl StreamWebSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutboundBufferSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3335,7 +3335,7 @@ impl StreamWebSocketControl { pub fn ServerCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3351,7 +3351,7 @@ impl StreamWebSocketControl { pub fn ProxyCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3367,7 +3367,7 @@ impl StreamWebSocketControl { pub fn SupportedProtocols(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedProtocols)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3375,7 +3375,7 @@ impl StreamWebSocketControl { pub fn IgnorableServerCertificateErrors(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnorableServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3401,21 +3401,21 @@ impl StreamWebSocketInformation { pub fn LocalAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BandwidthStatistics(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BandwidthStatistics)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Protocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Protocol)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3423,14 +3423,14 @@ impl StreamWebSocketInformation { pub fn ServerCertificate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServerCertificateErrorSeverity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrorSeverity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3438,7 +3438,7 @@ impl StreamWebSocketInformation { pub fn ServerCertificateErrors(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3446,7 +3446,7 @@ impl StreamWebSocketInformation { pub fn ServerIntermediateCertificates(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerIntermediateCertificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3471,14 +3471,14 @@ impl WebSocketClosedEventArgs { pub fn Code(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3500,7 +3500,7 @@ impl WebSocketError { #[cfg(feature = "Web")] pub fn GetStatus(hresult: i32) -> windows_core::Result { Self::IWebSocketErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } @@ -3565,14 +3565,14 @@ impl WebSocketServerCustomValidationRequestedEventArgs { pub fn ServerCertificate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServerCertificateErrorSeverity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrorSeverity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3580,7 +3580,7 @@ impl WebSocketServerCustomValidationRequestedEventArgs { pub fn ServerCertificateErrors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3588,7 +3588,7 @@ impl WebSocketServerCustomValidationRequestedEventArgs { pub fn ServerIntermediateCertificates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerIntermediateCertificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3599,7 +3599,7 @@ impl WebSocketServerCustomValidationRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs index bb49d8802a..830828ae31 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs @@ -58,7 +58,7 @@ impl IVpnCredential_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AdditionalPin, Impl: IVpnCredential_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AdditionalPin, Impl: IVpnCredential_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVpnCredential_Impl::AdditionalPin(this) { @@ -107,12 +107,12 @@ impl windows_core::RuntimeName for IVpnCustomPrompt { } impl IVpnCustomPrompt_Vtbl { pub const fn new, Impl: IVpnCustomPrompt_Impl, const OFFSET: isize>() -> IVpnCustomPrompt_Vtbl { - unsafe extern "system" fn SetLabel, Impl: IVpnCustomPrompt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IVpnCustomPrompt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVpnCustomPrompt_Impl::SetLabel(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Label, Impl: IVpnCustomPrompt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IVpnCustomPrompt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVpnCustomPrompt_Impl::Label(this) { @@ -183,12 +183,12 @@ impl windows_core::RuntimeName for IVpnCustomPromptElement { } impl IVpnCustomPromptElement_Vtbl { pub const fn new, Impl: IVpnCustomPromptElement_Impl, const OFFSET: isize>() -> IVpnCustomPromptElement_Vtbl { - unsafe extern "system" fn SetDisplayName, Impl: IVpnCustomPromptElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IVpnCustomPromptElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVpnCustomPromptElement_Impl::SetDisplayName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn DisplayName, Impl: IVpnCustomPromptElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IVpnCustomPromptElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVpnCustomPromptElement_Impl::DisplayName(this) { @@ -257,7 +257,7 @@ impl windows_core::RuntimeName for IVpnDomainNameInfoFactory { #[cfg(feature = "Foundation_Collections")] impl IVpnDomainNameInfoFactory_Vtbl { pub const fn new, Impl: IVpnDomainNameInfoFactory_Impl, const OFFSET: isize>() -> IVpnDomainNameInfoFactory_Vtbl { - unsafe extern "system" fn CreateVpnDomainNameInfo, Impl: IVpnDomainNameInfoFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, nametype: VpnDomainNameType, dnsserverlist: *mut core::ffi::c_void, proxyserverlist: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateVpnDomainNameInfo, Impl: IVpnDomainNameInfoFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, nametype: VpnDomainNameType, dnsserverlist: *mut core::ffi::c_void, proxyserverlist: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVpnDomainNameInfoFactory_Impl::CreateVpnDomainNameInfo(this, core::mem::transmute(&name), nametype, windows_core::from_raw_borrowed(&dnsserverlist), windows_core::from_raw_borrowed(&proxyserverlist)) { @@ -318,7 +318,7 @@ impl windows_core::RuntimeName for IVpnNamespaceInfoFactory { #[cfg(feature = "Foundation_Collections")] impl IVpnNamespaceInfoFactory_Vtbl { pub const fn new, Impl: IVpnNamespaceInfoFactory_Impl, const OFFSET: isize>() -> IVpnNamespaceInfoFactory_Vtbl { - unsafe extern "system" fn CreateVpnNamespaceInfo, Impl: IVpnNamespaceInfoFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, dnsserverlist: *mut core::ffi::c_void, proxyserverlist: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateVpnNamespaceInfo, Impl: IVpnNamespaceInfoFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, dnsserverlist: *mut core::ffi::c_void, proxyserverlist: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVpnNamespaceInfoFactory_Impl::CreateVpnNamespaceInfo(this, core::mem::transmute(&name), windows_core::from_raw_borrowed(&dnsserverlist), windows_core::from_raw_borrowed(&proxyserverlist)) { @@ -438,7 +438,7 @@ impl windows_core::RuntimeName for IVpnProfile { #[cfg(feature = "Foundation_Collections")] impl IVpnProfile_Vtbl { pub const fn new, Impl: IVpnProfile_Impl, const OFFSET: isize>() -> IVpnProfile_Vtbl { - unsafe extern "system" fn ProfileName, Impl: IVpnProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProfileName, Impl: IVpnProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVpnProfile_Impl::ProfileName(this) { @@ -450,7 +450,7 @@ impl IVpnProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProfileName, Impl: IVpnProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProfileName, Impl: IVpnProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVpnProfile_Impl::SetProfileName(this, core::mem::transmute(&value)).into() diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index 817ef481f4..0b7755fe87 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -7,8 +7,8 @@ pub struct IVpnAppId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VpnAppIdType) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, VpnAppIdType) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnAppIdFactory, IVpnAppIdFactory_Vtbl, 0x46adfd2a_0aab_4fdb_821d_d3ddc919788b); impl windows_core::RuntimeType for IVpnAppIdFactory { @@ -17,7 +17,7 @@ impl windows_core::RuntimeType for IVpnAppIdFactory { #[repr(C)] pub struct IVpnAppIdFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, VpnAppIdType, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, VpnAppIdType, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnChannel, IVpnChannel_Vtbl, 0x4ac78d07_d1a8_4303_a091_c8d2e0915bc3); impl windows_core::RuntimeType for IVpnChannel { @@ -37,7 +37,7 @@ pub struct IVpnChannel_Vtbl { #[cfg(not(feature = "Security_Cryptography_Certificates"))] RequestCredentials: usize, pub RequestVpnPacketBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, VpnDataPathType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LogDiagnosticMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogDiagnosticMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Configuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ActivityChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -49,7 +49,7 @@ pub struct IVpnChannel_Vtbl { pub RequestCustomPrompt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RequestCustomPrompt: usize, - pub SetErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetAllowedSslTlsVersions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnChannel2, IVpnChannel2_Vtbl, 0x2255d165_993b_4629_ad60_f1c3f3537f50); @@ -81,7 +81,7 @@ pub struct IVpnChannel2_Vtbl { RequestCredentialsWithCertificateAsync: usize, pub RequestCredentialsWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, VpnCredentialType, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestCredentialsSimpleAsync: unsafe extern "system" fn(*mut core::ffi::c_void, VpnCredentialType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TerminateConnection: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TerminateConnection: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub StartWithTrafficFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, bool, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -127,7 +127,7 @@ impl windows_core::RuntimeType for IVpnChannel6 { pub struct IVpnChannel6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub ActivateForeground: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ActivateForeground: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ActivateForeground: usize, } @@ -156,12 +156,12 @@ impl windows_core::RuntimeType for IVpnChannelConfiguration { #[repr(C)] pub struct IVpnChannelConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ServerServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServerServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub ServerHostNameList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ServerHostNameList: usize, - pub CustomField: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomField: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnChannelConfiguration2, IVpnChannelConfiguration2_Vtbl, 0xf30b574c_7824_471c_a118_63dbc93ae4c7); impl windows_core::RuntimeType for IVpnChannelConfiguration2 { @@ -179,7 +179,7 @@ windows_core::imp::define_interface!(IVpnChannelStatics, IVpnChannelStatics_Vtbl impl std::ops::Deref for IVpnChannelStatics { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnChannelStatics, windows_core::IUnknown, windows_core::IInspectable); @@ -205,7 +205,7 @@ windows_core::imp::define_interface!(IVpnCredential, IVpnCredential_Vtbl, 0xb7e7 impl std::ops::Deref for IVpnCredential { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnCredential, windows_core::IUnknown, windows_core::IInspectable); @@ -214,7 +214,7 @@ impl IVpnCredential { pub fn PasskeyCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasskeyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -222,14 +222,14 @@ impl IVpnCredential { pub fn CertificateCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CertificateCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AdditionalPin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdditionalPin)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -237,7 +237,7 @@ impl IVpnCredential { pub fn OldPasswordCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldPasswordCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -256,7 +256,7 @@ pub struct IVpnCredential_Vtbl { pub CertificateCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Cryptography_Certificates"))] CertificateCredential: usize, - pub AdditionalPin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AdditionalPin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Security_Credentials")] pub OldPasswordCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] @@ -297,11 +297,11 @@ impl windows_core::RuntimeType for IVpnCustomEditBox { #[repr(C)] pub struct IVpnCustomEditBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetDefaultText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DefaultText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetNoEcho: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub NoEcho: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnCustomErrorBox, IVpnCustomErrorBox_Vtbl, 0x9ec4efb2_c942_42af_b223_588b48328721); impl windows_core::RuntimeType for IVpnCustomErrorBox { @@ -315,7 +315,7 @@ windows_core::imp::define_interface!(IVpnCustomPrompt, IVpnCustomPrompt_Vtbl, 0x impl std::ops::Deref for IVpnCustomPrompt { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnCustomPrompt, windows_core::IUnknown, windows_core::IInspectable); @@ -327,7 +327,7 @@ impl IVpnCustomPrompt { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -338,7 +338,7 @@ impl IVpnCustomPrompt { pub fn Compulsory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -349,7 +349,7 @@ impl IVpnCustomPrompt { pub fn Bordered(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bordered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -360,8 +360,8 @@ impl windows_core::RuntimeType for IVpnCustomPrompt { #[repr(C)] pub struct IVpnCustomPrompt_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetCompulsory: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Compulsory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetBordered: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -382,7 +382,7 @@ windows_core::imp::define_interface!(IVpnCustomPromptElement, IVpnCustomPromptEl impl std::ops::Deref for IVpnCustomPromptElement { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnCustomPromptElement, windows_core::IUnknown, windows_core::IInspectable); @@ -394,7 +394,7 @@ impl IVpnCustomPromptElement { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -405,7 +405,7 @@ impl IVpnCustomPromptElement { pub fn Compulsory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -416,7 +416,7 @@ impl IVpnCustomPromptElement { pub fn Emphasized(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emphasized)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -427,8 +427,8 @@ impl windows_core::RuntimeType for IVpnCustomPromptElement { #[repr(C)] pub struct IVpnCustomPromptElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetCompulsory: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Compulsory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetEmphasized: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -454,8 +454,8 @@ impl windows_core::RuntimeType for IVpnCustomPromptText { #[repr(C)] pub struct IVpnCustomPromptText_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnCustomPromptTextInput, IVpnCustomPromptTextInput_Vtbl, 0xc9da9c75_913c_47d5_88ba_48fc48930235); impl windows_core::RuntimeType for IVpnCustomPromptTextInput { @@ -464,11 +464,11 @@ impl windows_core::RuntimeType for IVpnCustomPromptTextInput { #[repr(C)] pub struct IVpnCustomPromptTextInput_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetPlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlaceholderText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetIsTextHidden: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsTextHidden: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnCustomTextBox, IVpnCustomTextBox_Vtbl, 0xdaa4c3ca_8f23_4d36_91f1_76d937827942); impl windows_core::RuntimeType for IVpnCustomTextBox { @@ -477,8 +477,8 @@ impl windows_core::RuntimeType for IVpnCustomTextBox { #[repr(C)] pub struct IVpnCustomTextBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnDomainNameAssignment, IVpnDomainNameAssignment_Vtbl, 0x4135b141_ccdb_49b5_9401_039a8ae767e9); impl windows_core::RuntimeType for IVpnDomainNameAssignment { @@ -530,7 +530,7 @@ windows_core::imp::define_interface!(IVpnDomainNameInfoFactory, IVpnDomainNameIn impl std::ops::Deref for IVpnDomainNameInfoFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnDomainNameInfoFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -543,7 +543,7 @@ impl IVpnDomainNameInfoFactory { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnDomainNameInfo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), nametype, dnsserverlist.param().abi(), proxyserverlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -555,7 +555,7 @@ impl windows_core::RuntimeType for IVpnDomainNameInfoFactory { pub struct IVpnDomainNameInfoFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub CreateVpnDomainNameInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, VpnDomainNameType, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateVpnDomainNameInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, VpnDomainNameType, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateVpnDomainNameInfo: usize, } @@ -566,7 +566,7 @@ impl windows_core::RuntimeType for IVpnForegroundActivatedEventArgs { #[repr(C)] pub struct IVpnForegroundActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SharedContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -598,7 +598,7 @@ windows_core::imp::define_interface!(IVpnInterfaceIdFactory, IVpnInterfaceIdFact impl std::ops::Deref for IVpnInterfaceIdFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnInterfaceIdFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -606,7 +606,7 @@ impl IVpnInterfaceIdFactory { pub fn CreateVpnInterfaceId(&self, address: &[u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnInterfaceId)(windows_core::Interface::as_raw(this), address.len().try_into().unwrap(), address.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -626,9 +626,9 @@ impl windows_core::RuntimeType for IVpnManagementAgent { #[repr(C)] pub struct IVpnManagementAgent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddProfileFromXmlAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddProfileFromXmlAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddProfileFromObjectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub UpdateProfileFromXmlAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UpdateProfileFromXmlAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateProfileFromObjectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetProfilesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -667,8 +667,8 @@ impl windows_core::RuntimeType for IVpnNamespaceInfo { #[repr(C)] pub struct IVpnNamespaceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Namespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Namespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SetDnsServers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -690,7 +690,7 @@ windows_core::imp::define_interface!(IVpnNamespaceInfoFactory, IVpnNamespaceInfo impl std::ops::Deref for IVpnNamespaceInfoFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnNamespaceInfoFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -703,7 +703,7 @@ impl IVpnNamespaceInfoFactory { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnNamespaceInfo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), dnsserverlist.param().abi(), proxyserverlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -715,7 +715,7 @@ impl windows_core::RuntimeType for IVpnNamespaceInfoFactory { pub struct IVpnNamespaceInfoFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub CreateVpnNamespaceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateVpnNamespaceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateVpnNamespaceInfo: usize, } @@ -738,8 +738,8 @@ pub struct IVpnNativeProfile_Vtbl { pub SetUserAuthenticationMethod: unsafe extern "system" fn(*mut core::ffi::c_void, VpnAuthenticationMethod) -> windows_core::HRESULT, pub TunnelAuthenticationMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VpnAuthenticationMethod) -> windows_core::HRESULT, pub SetTunnelAuthenticationMethod: unsafe extern "system" fn(*mut core::ffi::c_void, VpnAuthenticationMethod) -> windows_core::HRESULT, - pub EapConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEapConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EapConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEapConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnNativeProfile2, IVpnNativeProfile2_Vtbl, 0x0fec2467_cdb5_4ac7_b5a3_0afb5ec47682); impl windows_core::RuntimeType for IVpnNativeProfile2 { @@ -791,7 +791,7 @@ windows_core::imp::define_interface!(IVpnPacketBufferFactory, IVpnPacketBufferFa impl std::ops::Deref for IVpnPacketBufferFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnPacketBufferFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -802,7 +802,7 @@ impl IVpnPacketBufferFactory { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnPacketBuffer)(windows_core::Interface::as_raw(this), parentbuffer.param().abi(), offset, length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -854,7 +854,7 @@ pub struct IVpnPickedCredential_Vtbl { pub PasskeyCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] PasskeyCredential: usize, - pub AdditionalPin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AdditionalPin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Security_Credentials")] pub OldPasswordCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] @@ -864,7 +864,7 @@ windows_core::imp::define_interface!(IVpnPlugIn, IVpnPlugIn_Vtbl, 0xceb78d07_d0a impl std::ops::Deref for IVpnPlugIn { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnPlugIn, windows_core::IUnknown, windows_core::IInspectable); @@ -933,10 +933,10 @@ pub struct IVpnPlugInProfile_Vtbl { pub ServerUris: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ServerUris: usize, - pub CustomConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCustomConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VpnPluginPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVpnPluginPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCustomConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VpnPluginPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVpnPluginPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnPlugInProfile2, IVpnPlugInProfile2_Vtbl, 0x611c4892_cf94_4ad6_ba99_00f4ff34565e); impl windows_core::RuntimeType for IVpnPlugInProfile2 { @@ -953,7 +953,7 @@ windows_core::imp::define_interface!(IVpnProfile, IVpnProfile_Vtbl, 0x7875b751_b impl std::ops::Deref for IVpnProfile { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnProfile, windows_core::IUnknown, windows_core::IInspectable); @@ -961,7 +961,7 @@ impl IVpnProfile { pub fn ProfileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -973,7 +973,7 @@ impl IVpnProfile { pub fn AppTriggers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppTriggers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -981,7 +981,7 @@ impl IVpnProfile { pub fn Routes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Routes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -989,7 +989,7 @@ impl IVpnProfile { pub fn DomainNameInfoList(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainNameInfoList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -997,14 +997,14 @@ impl IVpnProfile { pub fn TrafficFilters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrafficFilters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RememberCredentials(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RememberCredentials)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1015,7 +1015,7 @@ impl IVpnProfile { pub fn AlwaysOn(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlwaysOn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1030,8 +1030,8 @@ impl windows_core::RuntimeType for IVpnProfile { #[repr(C)] pub struct IVpnProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProfileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AppTriggers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -1111,7 +1111,7 @@ windows_core::imp::define_interface!(IVpnRouteFactory, IVpnRouteFactory_Vtbl, 0x impl std::ops::Deref for IVpnRouteFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVpnRouteFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -1122,7 +1122,7 @@ impl IVpnRouteFactory { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnRoute)(windows_core::Interface::as_raw(this), address.param().abi(), prefixsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1214,7 +1214,7 @@ impl VpnAppId { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1225,7 +1225,7 @@ impl VpnAppId { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1235,7 +1235,7 @@ impl VpnAppId { } pub fn Create(r#type: VpnAppIdType, value: &windows_core::HSTRING) -> windows_core::Result { Self::IVpnAppIdFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), r#type, core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1295,7 +1295,7 @@ impl VpnChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCredentials)(windows_core::Interface::as_raw(this), credtype, isretry, issinglesignoncredential, certificate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1310,14 +1310,14 @@ impl VpnChannel { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1327,7 +1327,7 @@ impl VpnChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityChange)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1345,14 +1345,14 @@ impl VpnChannel { pub fn PlugInContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlugInContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemHealth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemHealth)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1406,7 +1406,7 @@ impl VpnChannel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityStateChange)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1417,14 +1417,14 @@ impl VpnChannel { pub fn GetVpnSendPacketBuffer(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVpnSendPacketBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetVpnReceivePacketBuffer(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVpnReceivePacketBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1435,7 +1435,7 @@ impl VpnChannel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCustomPromptAsync)(windows_core::Interface::as_raw(this), custompromptelement.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1446,21 +1446,21 @@ impl VpnChannel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCredentialsWithCertificateAsync)(windows_core::Interface::as_raw(this), credtype, credoptions, certificate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestCredentialsWithOptionsAsync(&self, credtype: VpnCredentialType, credoptions: u32) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCredentialsWithOptionsAsync)(windows_core::Interface::as_raw(this), credtype, credoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestCredentialsSimpleAsync(&self, credtype: VpnCredentialType) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCredentialsSimpleAsync)(windows_core::Interface::as_raw(this), credtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1528,14 +1528,14 @@ impl VpnChannel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSlotTypeForTransportContext)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).map(|| result__) } } pub fn CurrentRequestTransportContext(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentRequestTransportContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1568,7 +1568,7 @@ impl VpnChannel { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivateForeground)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagerelativeappid), sharedcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1605,7 +1605,7 @@ impl VpnChannelActivityEventArgs { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1630,7 +1630,7 @@ impl VpnChannelActivityStateChangedArgs { pub fn ActivityState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1655,7 +1655,7 @@ impl VpnChannelConfiguration { pub fn ServerServiceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1663,14 +1663,14 @@ impl VpnChannelConfiguration { pub fn ServerHostNameList(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerHostNameList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CustomField(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomField)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1678,7 +1678,7 @@ impl VpnChannelConfiguration { pub fn ServerUris(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1705,7 +1705,7 @@ impl VpnCredential { pub fn PasskeyCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasskeyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1713,14 +1713,14 @@ impl VpnCredential { pub fn CertificateCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CertificateCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AdditionalPin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdditionalPin)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1728,7 +1728,7 @@ impl VpnCredential { pub fn OldPasswordCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldPasswordCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1765,14 +1765,14 @@ impl VpnCustomCheckBox { pub fn InitialCheckState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialCheckState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Checked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Checked)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1783,7 +1783,7 @@ impl VpnCustomCheckBox { pub fn Label(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1794,7 +1794,7 @@ impl VpnCustomCheckBox { pub fn Compulsory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1805,7 +1805,7 @@ impl VpnCustomCheckBox { pub fn Bordered(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bordered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1847,14 +1847,14 @@ impl VpnCustomComboBox { pub fn OptionsText(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionsText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Selected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Selected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1865,7 +1865,7 @@ impl VpnCustomComboBox { pub fn Label(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1876,7 +1876,7 @@ impl VpnCustomComboBox { pub fn Compulsory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1887,7 +1887,7 @@ impl VpnCustomComboBox { pub fn Bordered(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bordered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1924,7 +1924,7 @@ impl VpnCustomEditBox { pub fn DefaultText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1935,14 +1935,14 @@ impl VpnCustomEditBox { pub fn NoEcho(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NoEcho)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1953,7 +1953,7 @@ impl VpnCustomEditBox { pub fn Label(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1964,7 +1964,7 @@ impl VpnCustomEditBox { pub fn Compulsory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1975,7 +1975,7 @@ impl VpnCustomEditBox { pub fn Bordered(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bordered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2012,7 +2012,7 @@ impl VpnCustomErrorBox { pub fn Label(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2023,7 +2023,7 @@ impl VpnCustomErrorBox { pub fn Compulsory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2034,7 +2034,7 @@ impl VpnCustomErrorBox { pub fn Bordered(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bordered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2071,14 +2071,14 @@ impl VpnCustomPromptBooleanInput { pub fn InitialValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2089,7 +2089,7 @@ impl VpnCustomPromptBooleanInput { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2100,7 +2100,7 @@ impl VpnCustomPromptBooleanInput { pub fn Compulsory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2111,7 +2111,7 @@ impl VpnCustomPromptBooleanInput { pub fn Emphasized(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emphasized)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2148,7 +2148,7 @@ impl VpnCustomPromptOptionSelector { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2159,7 +2159,7 @@ impl VpnCustomPromptOptionSelector { pub fn Compulsory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2170,7 +2170,7 @@ impl VpnCustomPromptOptionSelector { pub fn Emphasized(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emphasized)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2178,14 +2178,14 @@ impl VpnCustomPromptOptionSelector { pub fn Options(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectedIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectedIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2222,7 +2222,7 @@ impl VpnCustomPromptText { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2233,7 +2233,7 @@ impl VpnCustomPromptText { pub fn Compulsory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2244,7 +2244,7 @@ impl VpnCustomPromptText { pub fn Emphasized(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emphasized)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2255,7 +2255,7 @@ impl VpnCustomPromptText { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2292,7 +2292,7 @@ impl VpnCustomPromptTextInput { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2303,7 +2303,7 @@ impl VpnCustomPromptTextInput { pub fn Compulsory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2314,7 +2314,7 @@ impl VpnCustomPromptTextInput { pub fn Emphasized(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Emphasized)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2325,7 +2325,7 @@ impl VpnCustomPromptTextInput { pub fn PlaceholderText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaceholderText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2336,14 +2336,14 @@ impl VpnCustomPromptTextInput { pub fn IsTextHidden(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTextHidden)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2380,7 +2380,7 @@ impl VpnCustomTextBox { pub fn Label(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2391,7 +2391,7 @@ impl VpnCustomTextBox { pub fn Compulsory(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compulsory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2402,7 +2402,7 @@ impl VpnCustomTextBox { pub fn Bordered(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bordered)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2413,7 +2413,7 @@ impl VpnCustomTextBox { pub fn DisplayText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2446,7 +2446,7 @@ impl VpnDomainNameAssignment { pub fn DomainNameList(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainNameList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2460,7 +2460,7 @@ impl VpnDomainNameAssignment { pub fn ProxyAutoConfigurationUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyAutoConfigurationUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2492,7 +2492,7 @@ impl VpnDomainNameInfo { pub fn DomainName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2503,7 +2503,7 @@ impl VpnDomainNameInfo { pub fn DomainNameType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainNameType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2511,7 +2511,7 @@ impl VpnDomainNameInfo { pub fn DnsServers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DnsServers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2519,7 +2519,7 @@ impl VpnDomainNameInfo { pub fn WebProxyServers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebProxyServers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2527,7 +2527,7 @@ impl VpnDomainNameInfo { pub fn WebProxyUris(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebProxyUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2538,7 +2538,7 @@ impl VpnDomainNameInfo { P1: windows_core::Param>, { Self::IVpnDomainNameInfoFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnDomainNameInfo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), nametype, dnsserverlist.param().abi(), proxyserverlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2571,7 +2571,7 @@ impl VpnForegroundActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2579,7 +2579,7 @@ impl VpnForegroundActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2587,7 +2587,7 @@ impl VpnForegroundActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2595,14 +2595,14 @@ impl VpnForegroundActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProfileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2610,14 +2610,14 @@ impl VpnForegroundActivatedEventArgs { pub fn SharedContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharedContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivationOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivationOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2671,7 +2671,7 @@ impl VpnInterfaceId { } pub fn CreateVpnInterfaceId(address: &[u8]) -> windows_core::Result { Self::IVpnInterfaceIdFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnInterfaceId)(windows_core::Interface::as_raw(this), address.len().try_into().unwrap(), address.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2708,7 +2708,7 @@ impl VpnManagementAgent { pub fn AddProfileFromXmlAsync(&self, xml: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddProfileFromXmlAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xml), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2718,14 +2718,14 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddProfileFromObjectAsync)(windows_core::Interface::as_raw(this), profile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UpdateProfileFromXmlAsync(&self, xml: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateProfileFromXmlAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(xml), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2735,7 +2735,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateProfileFromObjectAsync)(windows_core::Interface::as_raw(this), profile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2743,7 +2743,7 @@ impl VpnManagementAgent { pub fn GetProfilesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProfilesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2753,7 +2753,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteProfileAsync)(windows_core::Interface::as_raw(this), profile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2763,7 +2763,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectProfileAsync)(windows_core::Interface::as_raw(this), profile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2775,7 +2775,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectProfileWithPasswordCredentialAsync)(windows_core::Interface::as_raw(this), profile.param().abi(), passwordcredential.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2785,7 +2785,7 @@ impl VpnManagementAgent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisconnectProfileAsync)(windows_core::Interface::as_raw(this), profile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2826,7 +2826,7 @@ impl VpnNamespaceAssignment { pub fn NamespaceList(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NamespaceList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2840,7 +2840,7 @@ impl VpnNamespaceAssignment { pub fn ProxyAutoConfigUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyAutoConfigUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2869,7 +2869,7 @@ impl VpnNamespaceInfo { pub fn Namespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Namespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2885,7 +2885,7 @@ impl VpnNamespaceInfo { pub fn DnsServers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DnsServers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2901,7 +2901,7 @@ impl VpnNamespaceInfo { pub fn WebProxyServers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebProxyServers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2912,7 +2912,7 @@ impl VpnNamespaceInfo { P1: windows_core::Param>, { Self::IVpnNamespaceInfoFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnNamespaceInfo)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), dnsserverlist.param().abi(), proxyserverlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2951,14 +2951,14 @@ impl VpnNativeProfile { pub fn Servers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Servers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoutingPolicyType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoutingPolicyType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2969,7 +2969,7 @@ impl VpnNativeProfile { pub fn NativeProtocolType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NativeProtocolType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2980,7 +2980,7 @@ impl VpnNativeProfile { pub fn UserAuthenticationMethod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserAuthenticationMethod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2991,7 +2991,7 @@ impl VpnNativeProfile { pub fn TunnelAuthenticationMethod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TunnelAuthenticationMethod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3002,7 +3002,7 @@ impl VpnNativeProfile { pub fn EapConfiguration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EapConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3013,7 +3013,7 @@ impl VpnNativeProfile { pub fn RequireVpnClientAppUI(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequireVpnClientAppUI)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3024,14 +3024,14 @@ impl VpnNativeProfile { pub fn ConnectionStatus(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProfileName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3043,7 +3043,7 @@ impl VpnNativeProfile { pub fn AppTriggers(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppTriggers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3051,7 +3051,7 @@ impl VpnNativeProfile { pub fn Routes(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Routes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3059,7 +3059,7 @@ impl VpnNativeProfile { pub fn DomainNameInfoList(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainNameInfoList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3067,14 +3067,14 @@ impl VpnNativeProfile { pub fn TrafficFilters(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrafficFilters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RememberCredentials(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RememberCredentials)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3085,7 +3085,7 @@ impl VpnNativeProfile { pub fn AlwaysOn(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlwaysOn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3115,7 +3115,7 @@ impl VpnPacketBuffer { pub fn Buffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Buffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3126,7 +3126,7 @@ impl VpnPacketBuffer { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3137,14 +3137,14 @@ impl VpnPacketBuffer { pub fn TransportAffinity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportAffinity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3158,7 +3158,7 @@ impl VpnPacketBuffer { pub fn TransportContext(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3167,7 +3167,7 @@ impl VpnPacketBuffer { P0: windows_core::Param, { Self::IVpnPacketBufferFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnPacketBuffer)(windows_core::Interface::as_raw(this), parentbuffer.param().abi(), offset, length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3200,7 +3200,7 @@ impl VpnPacketBufferList { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3221,14 +3221,14 @@ impl VpnPacketBufferList { pub fn RemoveAtEnd(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveAtEnd)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoveAtBegin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveAtBegin)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3243,14 +3243,14 @@ impl VpnPacketBufferList { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3292,14 +3292,14 @@ impl VpnPickedCredential { pub fn PasskeyCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasskeyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AdditionalPin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdditionalPin)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3307,7 +3307,7 @@ impl VpnPickedCredential { pub fn OldPasswordCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldPasswordCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3341,14 +3341,14 @@ impl VpnPlugInProfile { pub fn ServerUris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerUris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CustomConfiguration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3359,7 +3359,7 @@ impl VpnPlugInProfile { pub fn VpnPluginPackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VpnPluginPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3370,7 +3370,7 @@ impl VpnPlugInProfile { pub fn RequireVpnClientAppUI(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequireVpnClientAppUI)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3381,14 +3381,14 @@ impl VpnPlugInProfile { pub fn ConnectionStatus(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProfileName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3400,7 +3400,7 @@ impl VpnPlugInProfile { pub fn AppTriggers(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppTriggers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3408,7 +3408,7 @@ impl VpnPlugInProfile { pub fn Routes(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Routes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3416,7 +3416,7 @@ impl VpnPlugInProfile { pub fn DomainNameInfoList(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainNameInfoList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3424,14 +3424,14 @@ impl VpnPlugInProfile { pub fn TrafficFilters(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrafficFilters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RememberCredentials(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RememberCredentials)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3442,7 +3442,7 @@ impl VpnPlugInProfile { pub fn AlwaysOn(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlwaysOn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3478,7 +3478,7 @@ impl VpnRoute { pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3489,7 +3489,7 @@ impl VpnRoute { pub fn PrefixSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrefixSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3498,7 +3498,7 @@ impl VpnRoute { P0: windows_core::Param, { Self::IVpnRouteFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVpnRoute)(windows_core::Interface::as_raw(this), address.param().abi(), prefixsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3552,7 +3552,7 @@ impl VpnRouteAssignment { pub fn Ipv4InclusionRoutes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ipv4InclusionRoutes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3560,7 +3560,7 @@ impl VpnRouteAssignment { pub fn Ipv6InclusionRoutes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ipv6InclusionRoutes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3584,7 +3584,7 @@ impl VpnRouteAssignment { pub fn Ipv4ExclusionRoutes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ipv4ExclusionRoutes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3592,7 +3592,7 @@ impl VpnRouteAssignment { pub fn Ipv6ExclusionRoutes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ipv6ExclusionRoutes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3603,7 +3603,7 @@ impl VpnRouteAssignment { pub fn ExcludeLocalSubnets(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExcludeLocalSubnets)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3629,7 +3629,7 @@ impl VpnSystemHealth { pub fn StatementOfHealth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatementOfHealth)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3654,7 +3654,7 @@ impl VpnTrafficFilter { pub fn AppId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3669,14 +3669,14 @@ impl VpnTrafficFilter { pub fn AppClaims(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppClaims)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Protocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Protocol)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3688,7 +3688,7 @@ impl VpnTrafficFilter { pub fn LocalPortRanges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalPortRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3696,7 +3696,7 @@ impl VpnTrafficFilter { pub fn RemotePortRanges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemotePortRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3704,7 +3704,7 @@ impl VpnTrafficFilter { pub fn LocalAddressRanges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAddressRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3712,14 +3712,14 @@ impl VpnTrafficFilter { pub fn RemoteAddressRanges(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteAddressRanges)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoutingPolicyType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoutingPolicyType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3732,7 +3732,7 @@ impl VpnTrafficFilter { P0: windows_core::Param, { Self::IVpnTrafficFilterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), appid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3770,14 +3770,14 @@ impl VpnTrafficFilterAssignment { pub fn TrafficFilterList(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrafficFilterList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AllowOutbound(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowOutbound)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3788,7 +3788,7 @@ impl VpnTrafficFilterAssignment { pub fn AllowInbound(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowInbound)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs index 21909f0cb6..2aaa1968cb 100644 --- a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs @@ -7,7 +7,7 @@ pub struct IXboxLiveDeviceAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SnapshotChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSnapshotChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub GetSnapshotAsBase64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSnapshotAsBase64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetSnapshotAsBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -25,7 +25,7 @@ impl windows_core::RuntimeType for IXboxLiveDeviceAddressStatics { #[repr(C)] pub struct IXboxLiveDeviceAddressStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromSnapshotBase64: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromSnapshotBase64: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub CreateFromSnapshotBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -50,9 +50,9 @@ pub struct IXboxLiveEndpointPair_Vtbl { pub Template: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoteDeviceAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoteHostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemotePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemotePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LocalHostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LocalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXboxLiveEndpointPairCreationResult, IXboxLiveEndpointPairCreationResult_Vtbl, 0xd9a8bb95_2aab_4d1e_9794_33ecc0dcf0fe); impl windows_core::RuntimeType for IXboxLiveEndpointPairCreationResult { @@ -84,7 +84,7 @@ impl windows_core::RuntimeType for IXboxLiveEndpointPairStatics { pub struct IXboxLiveEndpointPairStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FindEndpointPairBySocketAddressBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FindEndpointPairByHostNamesAndPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindEndpointPairByHostNamesAndPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXboxLiveEndpointPairTemplate, IXboxLiveEndpointPairTemplate_Vtbl, 0x6b286ecf_3457_40ce_b9a1_c0cfe0213ea7); impl windows_core::RuntimeType for IXboxLiveEndpointPairTemplate { @@ -97,9 +97,9 @@ pub struct IXboxLiveEndpointPairTemplate_Vtbl { pub RemoveInboundEndpointPairCreated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub CreateEndpointPairDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateEndpointPairWithBehaviorsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, XboxLiveEndpointPairCreationBehaviors, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateEndpointPairForPortsDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateEndpointPairForPortsWithBehaviorsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, XboxLiveEndpointPairCreationBehaviors, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateEndpointPairForPortsDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateEndpointPairForPortsWithBehaviorsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, XboxLiveEndpointPairCreationBehaviors, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SocketKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XboxLiveSocketKind) -> windows_core::HRESULT, pub InitiatorBoundPortRangeLower: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub InitiatorBoundPortRangeUpper: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, @@ -117,7 +117,7 @@ impl windows_core::RuntimeType for IXboxLiveEndpointPairTemplateStatics { #[repr(C)] pub struct IXboxLiveEndpointPairTemplateStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetTemplateByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTemplateByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Templates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -236,7 +236,7 @@ impl XboxLiveDeviceAddress { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SnapshotChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -247,7 +247,7 @@ impl XboxLiveDeviceAddress { pub fn GetSnapshotAsBase64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSnapshotAsBase64)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -255,7 +255,7 @@ impl XboxLiveDeviceAddress { pub fn GetSnapshotAsBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSnapshotAsBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -269,34 +269,34 @@ impl XboxLiveDeviceAddress { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compare)(windows_core::Interface::as_raw(this), otherdeviceaddress.param().abi(), &mut result__).map(|| result__) } } pub fn IsValid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsValid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLocal(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLocal)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NetworkAccessKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkAccessKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateFromSnapshotBase64(base64: &windows_core::HSTRING) -> windows_core::Result { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromSnapshotBase64)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(base64), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -306,25 +306,25 @@ impl XboxLiveDeviceAddress { P0: windows_core::Param, { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromSnapshotBuffer)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromSnapshotBytes(buffer: &[u8]) -> windows_core::Result { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromSnapshotBytes)(windows_core::Interface::as_raw(this), buffer.len().try_into().unwrap(), buffer.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetLocal() -> windows_core::Result { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLocal)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MaxSnapshotBytesSize() -> windows_core::Result { Self::IXboxLiveDeviceAddressStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSnapshotBytesSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -357,7 +357,7 @@ impl XboxLiveEndpointPair { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -368,7 +368,7 @@ impl XboxLiveEndpointPair { pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -383,55 +383,55 @@ impl XboxLiveEndpointPair { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Template(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Template)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteDeviceAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteDeviceAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteHostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteHostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemotePort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemotePort)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalHostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalHostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalPort(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalPort)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FindEndpointPairBySocketAddressBytes(localsocketaddress: &[u8], remotesocketaddress: &[u8]) -> windows_core::Result { Self::IXboxLiveEndpointPairStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindEndpointPairBySocketAddressBytes)(windows_core::Interface::as_raw(this), localsocketaddress.len().try_into().unwrap(), localsocketaddress.as_ptr(), remotesocketaddress.len().try_into().unwrap(), remotesocketaddress.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -441,7 +441,7 @@ impl XboxLiveEndpointPair { P1: windows_core::Param, { Self::IXboxLiveEndpointPairStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindEndpointPairByHostNamesAndPorts)(windows_core::Interface::as_raw(this), localhostname.param().abi(), core::mem::transmute_copy(localport), remotehostname.param().abi(), core::mem::transmute_copy(remoteport), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -471,28 +471,28 @@ impl XboxLiveEndpointPairCreationResult { pub fn DeviceAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsExistingPathEvaluation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsExistingPathEvaluation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndpointPair(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointPair)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -517,14 +517,14 @@ impl XboxLiveEndpointPairStateChangedEventArgs { pub fn OldState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NewState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -552,7 +552,7 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InboundEndpointPairCreated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -566,7 +566,7 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEndpointPairDefaultAsync)(windows_core::Interface::as_raw(this), deviceaddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -576,7 +576,7 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEndpointPairWithBehaviorsAsync)(windows_core::Interface::as_raw(this), deviceaddress.param().abi(), behaviors, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -586,7 +586,7 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEndpointPairForPortsDefaultAsync)(windows_core::Interface::as_raw(this), deviceaddress.param().abi(), core::mem::transmute_copy(initiatorport), core::mem::transmute_copy(acceptorport), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -596,49 +596,49 @@ impl XboxLiveEndpointPairTemplate { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEndpointPairForPortsWithBehaviorsAsync)(windows_core::Interface::as_raw(this), deviceaddress.param().abi(), core::mem::transmute_copy(initiatorport), core::mem::transmute_copy(acceptorport), behaviors, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SocketKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SocketKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InitiatorBoundPortRangeLower(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitiatorBoundPortRangeLower)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InitiatorBoundPortRangeUpper(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitiatorBoundPortRangeUpper)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AcceptorBoundPortRangeLower(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptorBoundPortRangeLower)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AcceptorBoundPortRangeUpper(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptorBoundPortRangeUpper)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -646,20 +646,20 @@ impl XboxLiveEndpointPairTemplate { pub fn EndpointPairs(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointPairs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetTemplateByName(name: &windows_core::HSTRING) -> windows_core::Result { Self::IXboxLiveEndpointPairTemplateStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTemplateByName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Templates() -> windows_core::Result> { Self::IXboxLiveEndpointPairTemplateStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Templates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -689,7 +689,7 @@ impl XboxLiveInboundEndpointPairCreatedEventArgs { pub fn EndpointPair(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndpointPair)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -721,7 +721,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn MeasureAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MeasureAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -732,7 +732,7 @@ impl XboxLiveQualityOfServiceMeasurement { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMetricResultsForDevice)(windows_core::Interface::as_raw(this), deviceaddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -740,7 +740,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn GetMetricResultsForMetric(&self, metric: XboxLiveQualityOfServiceMetric) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMetricResultsForMetric)(windows_core::Interface::as_raw(this), metric, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -750,7 +750,7 @@ impl XboxLiveQualityOfServiceMeasurement { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMetricResult)(windows_core::Interface::as_raw(this), deviceaddress.param().abi(), metric, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -760,7 +760,7 @@ impl XboxLiveQualityOfServiceMeasurement { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPrivatePayloadResult)(windows_core::Interface::as_raw(this), deviceaddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -768,7 +768,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn Metrics(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Metrics)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -776,14 +776,14 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn DeviceAddresses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAddresses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShouldRequestPrivatePayloads(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldRequestPrivatePayloads)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -794,7 +794,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn TimeoutInMilliseconds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeoutInMilliseconds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -805,7 +805,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn NumberOfProbesToAttempt(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfProbesToAttempt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -816,7 +816,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn NumberOfResultsPending(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberOfResultsPending)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -824,7 +824,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn MetricResults(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MetricResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -832,7 +832,7 @@ impl XboxLiveQualityOfServiceMeasurement { pub fn PrivatePayloadResults(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrivatePayloadResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -844,7 +844,7 @@ impl XboxLiveQualityOfServiceMeasurement { } pub fn MaxSimultaneousProbeConnections() -> windows_core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSimultaneousProbeConnections)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -853,7 +853,7 @@ impl XboxLiveQualityOfServiceMeasurement { } pub fn IsSystemOutboundBandwidthConstrained() -> windows_core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSystemOutboundBandwidthConstrained)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -862,7 +862,7 @@ impl XboxLiveQualityOfServiceMeasurement { } pub fn IsSystemInboundBandwidthConstrained() -> windows_core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSystemInboundBandwidthConstrained)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -872,7 +872,7 @@ impl XboxLiveQualityOfServiceMeasurement { #[cfg(feature = "Storage_Streams")] pub fn PublishedPrivatePayload() -> windows_core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublishedPrivatePayload)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -885,7 +885,7 @@ impl XboxLiveQualityOfServiceMeasurement { } pub fn MaxPrivatePayloadSize() -> windows_core::Result { Self::IXboxLiveQualityOfServiceMeasurementStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPrivatePayloadSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -915,28 +915,28 @@ impl XboxLiveQualityOfServiceMetricResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Metric(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Metric)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -961,14 +961,14 @@ impl XboxLiveQualityOfServicePrivatePayloadResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -976,7 +976,7 @@ impl XboxLiveQualityOfServicePrivatePayloadResult { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Networking/mod.rs b/crates/libs/windows/src/Windows/Networking/mod.rs index 9bafd2d296..529aa82f6c 100644 --- a/crates/libs/windows/src/Windows/Networking/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/mod.rs @@ -25,12 +25,12 @@ pub struct IEndpointPair_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LocalHostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetLocalHostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LocalServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoteHostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRemoteHostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoteServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEndpointPairFactory, IEndpointPairFactory_Vtbl, 0xb609d971_64e0_442b_aa6f_cc8c8f181f78); impl windows_core::RuntimeType for IEndpointPairFactory { @@ -39,7 +39,7 @@ impl windows_core::RuntimeType for IEndpointPairFactory { #[repr(C)] pub struct IEndpointPairFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateEndpointPair: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateEndpointPair: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostName, IHostName_Vtbl, 0xbf8ecaad_ed96_49a7_9084_d416cae88dcb); impl windows_core::RuntimeType for IHostName { @@ -52,9 +52,9 @@ pub struct IHostName_Vtbl { pub IPInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Networking_Connectivity"))] IPInformation: usize, - pub RawName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CanonicalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RawName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CanonicalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HostNameType) -> windows_core::HRESULT, pub IsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -65,7 +65,7 @@ impl windows_core::RuntimeType for IHostNameFactory { #[repr(C)] pub struct IHostNameFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateHostName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateHostName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostNameStatics, IHostNameStatics_Vtbl, 0xf68cd4bf_a388_4e8b_91ea_54dd6dd901c0); impl windows_core::RuntimeType for IHostNameStatics { @@ -74,7 +74,7 @@ impl windows_core::RuntimeType for IHostNameStatics { #[repr(C)] pub struct IHostNameStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -84,7 +84,7 @@ impl EndpointPair { pub fn LocalHostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalHostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -98,7 +98,7 @@ impl EndpointPair { pub fn LocalServiceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -109,7 +109,7 @@ impl EndpointPair { pub fn RemoteHostName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteHostName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -123,7 +123,7 @@ impl EndpointPair { pub fn RemoteServiceName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteServiceName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -137,7 +137,7 @@ impl EndpointPair { P1: windows_core::Param, { Self::IEndpointPairFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEndpointPair)(windows_core::Interface::as_raw(this), localhostname.param().abi(), core::mem::transmute_copy(localservicename), remotehostname.param().abi(), core::mem::transmute_copy(remoteservicename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -169,35 +169,35 @@ impl HostName { pub fn IPInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IPInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RawName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanonicalName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanonicalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -207,26 +207,26 @@ impl HostName { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), hostname.param().abi(), &mut result__).map(|| result__) } } pub fn CreateHostName(hostname: &windows_core::HSTRING) -> windows_core::Result { Self::IHostNameFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateHostName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hostname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Compare(value1: &windows_core::HSTRING, value2: &windows_core::HSTRING) -> windows_core::Result { Self::IHostNameStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compare)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value1), core::mem::transmute_copy(value2), &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Perception/People/mod.rs b/crates/libs/windows/src/Windows/Perception/People/mod.rs index b40707eeb8..68cc59a5a4 100644 --- a/crates/libs/windows/src/Windows/Perception/People/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/People/mod.rs @@ -113,7 +113,7 @@ impl EyesPose { pub fn IsCalibrationValid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCalibrationValid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -121,27 +121,27 @@ impl EyesPose { pub fn Gaze(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gaze)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UpdateTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSupported() -> windows_core::Result { Self::IEyesPoseStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "UI_Input")] pub fn RequestAccessAsync() -> windows_core::Result> { Self::IEyesPoseStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -172,21 +172,21 @@ impl HandMeshObserver { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TriangleIndexCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriangleIndexCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VertexCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VertexCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -200,28 +200,28 @@ impl HandMeshObserver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVertexStateForPose)(windows_core::Interface::as_raw(this), handpose.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NeutralPose(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeutralPose)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NeutralPoseVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeutralPoseVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ModelId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -247,7 +247,7 @@ impl HandMeshVertexState { pub fn CoordinateSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -259,7 +259,7 @@ impl HandMeshVertexState { pub fn UpdateTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -288,7 +288,7 @@ impl HandPose { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetJoint)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), joint, jointpose, &mut result__).map(|| result__) } } @@ -299,7 +299,7 @@ impl HandPose { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetJoints)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), joints.len().try_into().unwrap(), joints.as_ptr(), jointposes.len().try_into().unwrap(), jointposes.as_mut_ptr(), &mut result__).map(|| result__) } } @@ -307,7 +307,7 @@ impl HandPose { pub fn GetRelativeJoint(&self, joint: HandJointKind, referencejoint: HandJointKind) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRelativeJoint)(windows_core::Interface::as_raw(this), joint, referencejoint, &mut result__).map(|| result__) } } @@ -338,7 +338,7 @@ impl HeadPose { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -346,7 +346,7 @@ impl HeadPose { pub fn ForwardDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForwardDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -354,7 +354,7 @@ impl HeadPose { pub fn UpDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 4dce2f7886..a823d1dc3d 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs @@ -55,14 +55,14 @@ impl SpatialGraphInteropFrameOfReferencePreview { pub fn CoordinateSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NodeId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -70,7 +70,7 @@ impl SpatialGraphInteropFrameOfReferencePreview { pub fn CoordinateSystemToNodeTransform(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSystemToNodeTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -91,27 +91,27 @@ pub struct SpatialGraphInteropPreview; impl SpatialGraphInteropPreview { pub fn CreateCoordinateSystemForNode(nodeid: windows_core::GUID) -> windows_core::Result { Self::ISpatialGraphInteropPreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCoordinateSystemForNode)(windows_core::Interface::as_raw(this), nodeid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCoordinateSystemForNodeWithPosition)(windows_core::Interface::as_raw(this), nodeid, relativeposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCoordinateSystemForNodeWithPositionAndOrientation)(windows_core::Interface::as_raw(this), nodeid, relativeposition, relativeorientation, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateLocatorForNode(nodeid: windows_core::GUID) -> windows_core::Result { Self::ISpatialGraphInteropPreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLocatorForNode)(windows_core::Interface::as_raw(this), nodeid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -120,7 +120,7 @@ impl SpatialGraphInteropPreview { P0: windows_core::Param, { Self::ISpatialGraphInteropPreviewStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFrameOfReference)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -130,7 +130,7 @@ impl SpatialGraphInteropPreview { P0: windows_core::Param, { Self::ISpatialGraphInteropPreviewStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFrameOfReferenceWithPosition)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), relativeposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -140,7 +140,7 @@ impl SpatialGraphInteropPreview { P0: windows_core::Param, { Self::ISpatialGraphInteropPreviewStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFrameOfReferenceWithPositionAndOrientation)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), relativeposition, relativeorientation, &mut result__).and_then(|| windows_core::Type::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 e6403d5a16..aa4df3f4f2 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs @@ -148,14 +148,14 @@ impl SpatialSurfaceInfo { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UpdateTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -166,14 +166,14 @@ impl SpatialSurfaceInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBounds)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryComputeLatestMeshAsync(&self, maxtrianglespercubicmeter: f64) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeLatestMeshAsync)(windows_core::Interface::as_raw(this), maxtrianglespercubicmeter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -183,7 +183,7 @@ impl SpatialSurfaceInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeLatestMeshWithOptionsAsync)(windows_core::Interface::as_raw(this), maxtrianglespercubicmeter, options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -208,28 +208,28 @@ impl SpatialSurfaceMesh { pub fn SurfaceInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SurfaceInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CoordinateSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TriangleIndices(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriangleIndices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VertexPositions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VertexPositions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -237,14 +237,14 @@ impl SpatialSurfaceMesh { pub fn VertexPositionScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VertexPositionScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VertexNormals(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VertexNormals)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -270,21 +270,21 @@ impl SpatialSurfaceMeshBuffer { pub fn Format(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Format)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Stride(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stride)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ElementCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -292,7 +292,7 @@ impl SpatialSurfaceMeshBuffer { pub fn Data(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -325,7 +325,7 @@ impl SpatialSurfaceMeshOptions { pub fn VertexPositionFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VertexPositionFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -338,7 +338,7 @@ impl SpatialSurfaceMeshOptions { pub fn TriangleIndexFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriangleIndexFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -351,7 +351,7 @@ impl SpatialSurfaceMeshOptions { pub fn VertexNormalFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VertexNormalFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -363,7 +363,7 @@ impl SpatialSurfaceMeshOptions { pub fn IncludeVertexNormals(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeVertexNormals)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -374,21 +374,21 @@ impl SpatialSurfaceMeshOptions { #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX"))] pub fn SupportedVertexPositionFormats() -> windows_core::Result> { Self::ISpatialSurfaceMeshOptionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedVertexPositionFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX"))] pub fn SupportedTriangleIndexFormats() -> windows_core::Result> { Self::ISpatialSurfaceMeshOptionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedTriangleIndexFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "Graphics_DirectX"))] pub fn SupportedVertexNormalFormats() -> windows_core::Result> { Self::ISpatialSurfaceMeshOptionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedVertexNormalFormats)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -426,7 +426,7 @@ impl SpatialSurfaceObserver { pub fn GetObservedSurfaces(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetObservedSurfaces)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -451,7 +451,7 @@ impl SpatialSurfaceObserver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ObservedSurfacesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -461,13 +461,13 @@ impl SpatialSurfaceObserver { } pub fn RequestAccessAsync() -> windows_core::Result> { Self::ISpatialSurfaceObserverStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::ISpatialSurfaceObserverStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs index e7b39ea158..96179dc60f 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs @@ -106,8 +106,8 @@ pub struct ISpatialAnchorStore_Vtbl { pub GetAllSavedAnchors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetAllSavedAnchors: usize, - pub TrySave: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrySave: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] @@ -184,7 +184,7 @@ impl windows_core::RuntimeType for ISpatialEntity { #[repr(C)] pub struct ISpatialEntity_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Anchor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -453,14 +453,14 @@ impl SpatialAnchor { pub fn CoordinateSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RawCoordinateSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawCoordinateSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -470,7 +470,7 @@ impl SpatialAnchor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawCoordinateSystemAdjusted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -481,7 +481,7 @@ impl SpatialAnchor { pub fn RemovedByUser(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovedByUser)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -490,7 +490,7 @@ impl SpatialAnchor { P0: windows_core::Param, { Self::ISpatialAnchorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateRelativeTo)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -500,7 +500,7 @@ impl SpatialAnchor { P0: windows_core::Param, { Self::ISpatialAnchorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateWithPositionRelativeTo)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -510,7 +510,7 @@ impl SpatialAnchor { P0: windows_core::Param, { Self::ISpatialAnchorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateWithPositionAndOrientationRelativeTo)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), position, orientation, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -540,21 +540,21 @@ impl SpatialAnchorExportSufficiency { pub fn IsMinimallySufficient(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMinimallySufficient)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SufficiencyLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SufficiencyLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RecommendedSufficiencyLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecommendedSufficiencyLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -582,7 +582,7 @@ impl SpatialAnchorExporter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAnchorExportSufficiencyAsync)(windows_core::Interface::as_raw(this), anchor.param().abi(), purpose, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -594,19 +594,19 @@ impl SpatialAnchorExporter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryExportAnchorAsync)(windows_core::Interface::as_raw(this), anchor.param().abi(), purpose, stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::ISpatialAnchorExporterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestAccessAsync() -> windows_core::Result> { Self::ISpatialAnchorExporterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -632,7 +632,7 @@ pub struct SpatialAnchorManager; impl SpatialAnchorManager { pub fn RequestStoreAsync() -> windows_core::Result> { Self::ISpatialAnchorManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -654,7 +654,7 @@ impl SpatialAnchorRawCoordinateSystemAdjustedEventArgs { pub fn OldRawCoordinateSystemToNewRawCoordinateSystemTransform(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldRawCoordinateSystemToNewRawCoordinateSystemTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -680,7 +680,7 @@ impl SpatialAnchorStore { pub fn GetAllSavedAnchors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllSavedAnchors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -690,7 +690,7 @@ impl SpatialAnchorStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySave)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), anchor.param().abi(), &mut result__).map(|| result__) } } @@ -725,7 +725,7 @@ impl SpatialAnchorTransferManager { P0: windows_core::Param, { Self::ISpatialAnchorTransferManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryImportAnchorsAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -736,14 +736,14 @@ impl SpatialAnchorTransferManager { P1: windows_core::Param, { Self::ISpatialAnchorTransferManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryExportAnchorsAsync)(windows_core::Interface::as_raw(this), anchors.param().abi(), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn RequestAccessAsync() -> windows_core::Result> { Self::ISpatialAnchorTransferManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -769,7 +769,7 @@ impl SpatialBoundingVolume { P0: windows_core::Param, { Self::ISpatialBoundingVolumeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromBox)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), r#box, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -779,7 +779,7 @@ impl SpatialBoundingVolume { P0: windows_core::Param, { Self::ISpatialBoundingVolumeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromOrientedBox)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), r#box, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -789,7 +789,7 @@ impl SpatialBoundingVolume { P0: windows_core::Param, { Self::ISpatialBoundingVolumeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromSphere)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), sphere, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -799,7 +799,7 @@ impl SpatialBoundingVolume { P0: windows_core::Param, { Self::ISpatialBoundingVolumeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromFrustum)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), frustum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -833,7 +833,7 @@ impl SpatialCoordinateSystem { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetTransformTo)(windows_core::Interface::as_raw(this), target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -858,14 +858,14 @@ impl SpatialEntity { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Anchor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Anchor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -873,7 +873,7 @@ impl SpatialEntity { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -882,7 +882,7 @@ impl SpatialEntity { P0: windows_core::Param, { Self::ISpatialEntityFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithSpatialAnchor)(windows_core::Interface::as_raw(this), spatialanchor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -893,7 +893,7 @@ impl SpatialEntity { P1: windows_core::Param, { Self::ISpatialEntityFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithSpatialAnchorAndProperties)(windows_core::Interface::as_raw(this), spatialanchor.param().abi(), propertyset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -923,7 +923,7 @@ impl SpatialEntityAddedEventArgs { pub fn Entity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Entity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -948,7 +948,7 @@ impl SpatialEntityRemovedEventArgs { pub fn Entity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Entity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -976,7 +976,7 @@ impl SpatialEntityStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), entity.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -986,20 +986,20 @@ impl SpatialEntityStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveAsync)(windows_core::Interface::as_raw(this), entity.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateEntityWatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEntityWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSupported() -> windows_core::Result { Self::ISpatialEntityStoreStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1009,7 +1009,7 @@ impl SpatialEntityStore { P0: windows_core::Param, { Self::ISpatialEntityStoreStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetForRemoteSystemSession)(windows_core::Interface::as_raw(this), session.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1039,7 +1039,7 @@ impl SpatialEntityUpdatedEventArgs { pub fn Entity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Entity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1064,7 +1064,7 @@ impl SpatialEntityWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1074,7 +1074,7 @@ impl SpatialEntityWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1088,7 +1088,7 @@ impl SpatialEntityWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1102,7 +1102,7 @@ impl SpatialEntityWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1116,7 +1116,7 @@ impl SpatialEntityWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1154,7 +1154,7 @@ impl SpatialLocation { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1162,7 +1162,7 @@ impl SpatialLocation { pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1170,7 +1170,7 @@ impl SpatialLocation { pub fn AbsoluteLinearVelocity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteLinearVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1178,7 +1178,7 @@ impl SpatialLocation { pub fn AbsoluteLinearAcceleration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteLinearAcceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1186,7 +1186,7 @@ impl SpatialLocation { pub fn AbsoluteAngularVelocity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteAngularVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1194,7 +1194,7 @@ impl SpatialLocation { pub fn AbsoluteAngularAcceleration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteAngularAcceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1202,7 +1202,7 @@ impl SpatialLocation { pub fn AbsoluteAngularVelocityAxisAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteAngularVelocityAxisAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1210,7 +1210,7 @@ impl SpatialLocation { pub fn AbsoluteAngularAccelerationAxisAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AbsoluteAngularAccelerationAxisAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1235,7 +1235,7 @@ impl SpatialLocator { pub fn Locatability(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Locatability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1245,7 +1245,7 @@ impl SpatialLocator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocatabilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1259,7 +1259,7 @@ impl SpatialLocator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionalTrackingDeactivating)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1274,14 +1274,14 @@ impl SpatialLocator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryLocateAtTimestamp)(windows_core::Interface::as_raw(this), timestamp.param().abi(), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAttachedFrameOfReferenceAtCurrentHeading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAttachedFrameOfReferenceAtCurrentHeading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1289,7 +1289,7 @@ impl SpatialLocator { pub fn CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition(&self, relativeposition: super::super::Foundation::Numerics::Vector3) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAttachedFrameOfReferenceAtCurrentHeadingWithPosition)(windows_core::Interface::as_raw(this), relativeposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1297,7 +1297,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientation)(windows_core::Interface::as_raw(this), relativeposition, relativeorientation, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1305,14 +1305,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAttachedFrameOfReferenceAtCurrentHeadingWithPositionAndOrientationAndRelativeHeading)(windows_core::Interface::as_raw(this), relativeposition, relativeorientation, relativeheadinginradians, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateStationaryFrameOfReferenceAtCurrentLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStationaryFrameOfReferenceAtCurrentLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1320,7 +1320,7 @@ impl SpatialLocator { pub fn CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition(&self, relativeposition: super::super::Foundation::Numerics::Vector3) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStationaryFrameOfReferenceAtCurrentLocationWithPosition)(windows_core::Interface::as_raw(this), relativeposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1328,7 +1328,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientation)(windows_core::Interface::as_raw(this), relativeposition, relativeorientation, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1336,13 +1336,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading)(windows_core::Interface::as_raw(this), relativeposition, relativeorientation, relativeheadinginradians, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::ISpatialLocatorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1373,7 +1373,7 @@ impl SpatialLocatorAttachedFrameOfReference { pub fn RelativePosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativePosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1386,7 +1386,7 @@ impl SpatialLocatorAttachedFrameOfReference { pub fn RelativeOrientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeOrientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1405,7 +1405,7 @@ impl SpatialLocatorAttachedFrameOfReference { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStationaryCoordinateSystemAtTimestamp)(windows_core::Interface::as_raw(this), timestamp.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1415,7 +1415,7 @@ impl SpatialLocatorAttachedFrameOfReference { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetRelativeHeadingAtTimestamp)(windows_core::Interface::as_raw(this), timestamp.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1440,7 +1440,7 @@ impl SpatialLocatorPositionalTrackingDeactivatingEventArgs { pub fn Canceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Canceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1469,21 +1469,21 @@ impl SpatialStageFrameOfReference { pub fn CoordinateSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MovementRange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MovementRange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LookDirectionRange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LookDirectionRange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1493,7 +1493,7 @@ impl SpatialStageFrameOfReference { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCoordinateSystemAtCurrentLocation)(windows_core::Interface::as_raw(this), locator.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1505,12 +1505,12 @@ impl SpatialStageFrameOfReference { let this = self; unsafe { let mut result__ = core::mem::MaybeUninit::zeroed(); - (windows_core::Interface::vtable(this).TryGetMovementBounds)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), windows_core::Array::::set_abi_len(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).TryGetMovementBounds)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn Current() -> windows_core::Result { Self::ISpatialStageFrameOfReferenceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1519,7 +1519,7 @@ impl SpatialStageFrameOfReference { P0: windows_core::Param>, { Self::ISpatialStageFrameOfReferenceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1528,7 +1528,7 @@ impl SpatialStageFrameOfReference { } pub fn RequestNewStageAsync() -> windows_core::Result> { Self::ISpatialStageFrameOfReferenceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestNewStageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1558,7 +1558,7 @@ impl SpatialStationaryFrameOfReference { pub fn CoordinateSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Perception/mod.rs b/crates/libs/windows/src/Windows/Perception/mod.rs index 801ed6ffc2..012ec52161 100644 --- a/crates/libs/windows/src/Windows/Perception/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/mod.rs @@ -49,21 +49,21 @@ impl PerceptionTimestamp { pub fn TargetTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PredictionAmount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PredictionAmount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SystemRelativeTargetTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemRelativeTargetTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -84,13 +84,13 @@ pub struct PerceptionTimestampHelper; impl PerceptionTimestampHelper { pub fn FromHistoricalTargetTime(targettime: super::Foundation::DateTime) -> windows_core::Result { Self::IPerceptionTimestampHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromHistoricalTargetTime)(windows_core::Interface::as_raw(this), targettime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FromSystemRelativeTargetTime(targettime: super::Foundation::TimeSpan) -> windows_core::Result { Self::IPerceptionTimestampHelperStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromSystemRelativeTargetTime)(windows_core::Interface::as_raw(this), targettime, &mut result__).and_then(|| windows_core::Type::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 32c180a20a..33e244b53b 100644 --- a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs @@ -11,7 +11,7 @@ pub struct ApplicationProfile; impl ApplicationProfile { pub fn Modes() -> windows_core::Result { Self::IApplicationProfileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Modes)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 2d413d627f..a8648f0f46 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs @@ -32,7 +32,7 @@ impl VibrationDevice { } pub fn GetDefault() -> windows_core::Result { Self::IVibrationDeviceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 a7ef5a8fb7..b2a13abf68 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs @@ -27,14 +27,14 @@ impl Battery { pub fn RemainingChargePercent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingChargePercent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RemainingDischargeTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingDischargeTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -44,7 +44,7 @@ impl Battery { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingChargePercentChanged)(windows_core::Interface::as_raw(this), changehandler.param().abi(), &mut result__).map(|| result__) } } @@ -54,7 +54,7 @@ impl Battery { } pub fn GetDefault() -> windows_core::Result { Self::IBatteryStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 176857a8f6..815ec2257f 100644 --- a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs @@ -6,7 +6,7 @@ impl windows_core::RuntimeType for IEnterprise { pub struct IEnterprise_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub WorkplaceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnrollmentValidFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub EnrollmentValidTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, @@ -25,7 +25,7 @@ pub struct IEnterpriseEnrollmentManager_Vtbl { EnrolledEnterprises: usize, pub CurrentEnterprise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ValidateEnterprisesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestEnrollmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestEnrollmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestUnenrollmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnterpriseEnrollmentResult, IEnterpriseEnrollmentResult_Vtbl, 0x9ff71ce6_90db_4342_b326_1729aa91301c); @@ -45,8 +45,8 @@ impl windows_core::RuntimeType for IInstallationManagerStatics { #[repr(C)] pub struct IInstallationManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddPackagePreloadedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddPackagePreloadedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetPendingPackageInstalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -68,7 +68,7 @@ impl windows_core::RuntimeType for IInstallationManagerStatics2 { pub struct IInstallationManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Management_Deployment")] - pub RemovePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::super::Management::Deployment::RemovalOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemovePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::super::Management::Deployment::RemovalOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Management_Deployment"))] RemovePackageAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Management_Deployment"))] @@ -76,7 +76,7 @@ pub struct IInstallationManagerStatics2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Management_Deployment")))] RegisterPackageAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindPackagesByNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPackagesByNamePublisher: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByNamePublisher: usize, } @@ -87,7 +87,7 @@ impl windows_core::RuntimeType for IPackageInstallResult { #[repr(C)] pub struct IPackageInstallResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Management_Deployment")] pub InstallState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Management::Deployment::PackageInstallState) -> windows_core::HRESULT, #[cfg(not(feature = "Management_Deployment"))] @@ -100,7 +100,7 @@ impl windows_core::RuntimeType for IPackageInstallResult2 { #[repr(C)] pub struct IPackageInstallResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -110,42 +110,42 @@ impl Enterprise { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WorkplaceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkplaceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnrollmentValidFrom(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnrollmentValidFrom)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnrollmentValidTo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnrollmentValidTo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -167,25 +167,25 @@ impl EnterpriseEnrollmentManager { #[cfg(feature = "Foundation_Collections")] pub fn EnrolledEnterprises() -> windows_core::Result> { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnrolledEnterprises)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CurrentEnterprise() -> windows_core::Result { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentEnterprise)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ValidateEnterprisesAsync() -> windows_core::Result { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateEnterprisesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestEnrollmentAsync(enrollmenttoken: &windows_core::HSTRING) -> windows_core::Result> { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestEnrollmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(enrollmenttoken), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -194,7 +194,7 @@ impl EnterpriseEnrollmentManager { P0: windows_core::Param, { Self::IEnterpriseEnrollmentManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestUnenrollmentAsync)(windows_core::Interface::as_raw(this), enterprise.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -215,14 +215,14 @@ impl EnterpriseEnrollmentResult { pub fn EnrolledEnterprise(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnrolledEnterprise)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -244,7 +244,7 @@ impl InstallationManager { P0: windows_core::Param, { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddPackageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), sourcelocation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -254,35 +254,35 @@ impl InstallationManager { P1: windows_core::Param, { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddPackagePreloadedAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), sourcelocation.param().abi(), core::mem::transmute_copy(instanceid), core::mem::transmute_copy(offerid), license.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetPendingPackageInstalls() -> windows_core::Result>> { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPendingPackageInstalls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindPackagesForCurrentPublisher() -> windows_core::Result> { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesForCurrentPublisher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindPackages() -> windows_core::Result> { Self::IInstallationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Management_Deployment")] pub fn RemovePackageAsync(packagefullname: &windows_core::HSTRING, removaloptions: super::super::super::Management::Deployment::RemovalOptions) -> windows_core::Result> { Self::IInstallationManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovePackageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefullname), removaloptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -293,14 +293,14 @@ impl InstallationManager { P1: windows_core::Param>, { Self::IInstallationManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterPackageAsync)(windows_core::Interface::as_raw(this), manifesturi.param().abi(), dependencypackageuris.param().abi(), deploymentoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindPackagesByNamePublisher(packagename: &windows_core::HSTRING, packagepublisher: &windows_core::HSTRING) -> windows_core::Result> { Self::IInstallationManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesByNamePublisher)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagename), core::mem::transmute_copy(packagepublisher), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -326,7 +326,7 @@ impl PackageInstallResult { pub fn ProductId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProductId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -334,14 +334,14 @@ impl PackageInstallResult { pub fn InstallState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 a42ff3159c..f724d72957 100644 --- a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs @@ -28,7 +28,7 @@ impl AudioRoutingManager { pub fn GetAudioEndpoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAudioEndpoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -42,7 +42,7 @@ impl AudioRoutingManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioEndpointChanged)(windows_core::Interface::as_raw(this), endpointchangehandler.param().abi(), &mut result__).map(|| result__) } } @@ -53,13 +53,13 @@ impl AudioRoutingManager { pub fn AvailableAudioEndpoints(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableAudioEndpoints)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDefault() -> windows_core::Result { Self::IAudioRoutingManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs index 43d9db9bba..be48364995 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs @@ -22,7 +22,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AppDisplayName, Impl: IAccessoryNotificationTriggerDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppDisplayName, Impl: IAccessoryNotificationTriggerDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessoryNotificationTriggerDetails_Impl::AppDisplayName(this) { @@ -34,7 +34,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AppId, Impl: IAccessoryNotificationTriggerDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppId, Impl: IAccessoryNotificationTriggerDetails_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessoryNotificationTriggerDetails_Impl::AppId(this) { 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 ba969ba5fe..651883e2ae 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IAccessoryManager { #[repr(C)] pub struct IAccessoryManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RegisterAccessoryApp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterAccessoryApp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNextTriggerDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessTriggerDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -19,10 +19,10 @@ pub struct IAccessoryManager_Vtbl { pub AcceptPhoneCallWithVideoOnAudioEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void, u32, PhoneCallAudioEndpoint) -> windows_core::HRESULT, pub RejectPhoneCall: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub RejectPhoneCallWithText: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, - pub MakePhoneCall: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MakePhoneCallOnAudioEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit, PhoneCallAudioEndpoint) -> windows_core::HRESULT, - pub MakePhoneCallWithVideo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MakePhoneCallWithVideoOnAudioEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit, PhoneCallAudioEndpoint) -> windows_core::HRESULT, + pub MakePhoneCall: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MakePhoneCallOnAudioEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit, PhoneCallAudioEndpoint) -> windows_core::HRESULT, + pub MakePhoneCallWithVideo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MakePhoneCallWithVideoOnAudioEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit, PhoneCallAudioEndpoint) -> windows_core::HRESULT, pub SwapPhoneCalls: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub HoldPhoneCall: unsafe extern "system" fn(*mut core::ffi::c_void, u32, bool) -> windows_core::HRESULT, pub EndPhoneCall: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, @@ -47,15 +47,15 @@ pub struct IAccessoryManager_Vtbl { pub GetApps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetApps: usize, - pub EnableNotificationsForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisableNotificationsForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsNotificationEnabledForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub EnableNotificationsForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisableNotificationsForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsNotificationEnabledForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, pub GetEnabledAccessoryNotificationTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnableAccessoryNotificationTypes: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DisableAllAccessoryNotificationTypes: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetUserConsent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub GetAppIcon: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAppIcon: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] GetAppIcon: usize, } @@ -71,7 +71,7 @@ pub struct IAccessoryManager2_Vtbl { pub SpeedDialList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SpeedDialList: usize, - pub ClearToast: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClearToast: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsPhonePinLocked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IncreaseVolume: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DecreaseVolume: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -83,13 +83,13 @@ pub struct IAccessoryManager2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAllEmailAccounts: usize, #[cfg(feature = "Foundation_Collections")] - pub GetFolders: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolders: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetFolders: usize, - pub EnableEmailNotificationEmailAccount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisableEmailNotificationEmailAccount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnableEmailNotificationEmailAccount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisableEmailNotificationEmailAccount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub EnableEmailNotificationFolderFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnableEmailNotificationFolderFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] EnableEmailNotificationFolderFilter: usize, pub UpdateEmailReadStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -101,16 +101,16 @@ impl windows_core::RuntimeType for IAccessoryManager3 { #[repr(C)] pub struct IAccessoryManager3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SnoozeAlarmByInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DismissAlarmByInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SnoozeReminderByInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DismissReminderByInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SnoozeAlarmByInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DismissAlarmByInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SnoozeReminderByInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DismissReminderByInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccessoryNotificationTriggerDetails, IAccessoryNotificationTriggerDetails_Vtbl, 0x6968a7d4_e3ca_49cb_8c87_2c11cdff9646); impl std::ops::Deref for IAccessoryNotificationTriggerDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccessoryNotificationTriggerDetails, windows_core::IUnknown, windows_core::IInspectable); @@ -118,35 +118,35 @@ impl IAccessoryNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -162,8 +162,8 @@ impl windows_core::RuntimeType for IAccessoryNotificationTriggerDetails { pub struct IAccessoryNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TimeCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub AppDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AccessoryNotificationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AccessoryNotificationType) -> windows_core::HRESULT, pub StartedProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetStartedProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -176,7 +176,7 @@ impl windows_core::RuntimeType for IAlarmNotificationTriggerDetails { pub struct IAlarmNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AlarmId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub ReminderState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ReminderState) -> windows_core::HRESULT, } @@ -187,7 +187,7 @@ impl windows_core::RuntimeType for IAlarmNotificationTriggerDetails2 { #[repr(C)] pub struct IAlarmNotificationTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub InstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppNotificationInfo, IAppNotificationInfo_Vtbl, 0x2157bea5_e286_45d3_9bea_f790fc216e0e); impl windows_core::RuntimeType for IAppNotificationInfo { @@ -196,8 +196,8 @@ impl windows_core::RuntimeType for IAppNotificationInfo { #[repr(C)] pub struct IAppNotificationInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBinaryId, IBinaryId_Vtbl, 0x4f0da531_5595_44b4_9181_ce4efa3fc168); impl windows_core::RuntimeType for IBinaryId { @@ -217,7 +217,7 @@ impl windows_core::RuntimeType for ICalendarChangedNotificationTriggerDetails { pub struct ICalendarChangedNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub EventType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CalendarChangedEvent) -> windows_core::HRESULT, - pub ItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICortanaTileNotificationTriggerDetails, ICortanaTileNotificationTriggerDetails_Vtbl, 0xdc0f01d5_1489_46bb_b73b_7f90067ecf27); impl windows_core::RuntimeType for ICortanaTileNotificationTriggerDetails { @@ -226,16 +226,16 @@ impl windows_core::RuntimeType for ICortanaTileNotificationTriggerDetails { #[repr(C)] pub struct ICortanaTileNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LargeContent1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LargeContent2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmphasizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NonWrappedSmallContent1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NonWrappedSmallContent2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NonWrappedSmallContent3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NonWrappedSmallContent4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LargeContent1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LargeContent2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmphasizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NonWrappedSmallContent1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NonWrappedSmallContent2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NonWrappedSmallContent3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NonWrappedSmallContent4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailAccountInfo, IEmailAccountInfo_Vtbl, 0xdfbc02ab_bda0_4568_927e_b2ede35818a1); impl windows_core::RuntimeType for IEmailAccountInfo { @@ -244,7 +244,7 @@ impl windows_core::RuntimeType for IEmailAccountInfo { #[repr(C)] pub struct IEmailAccountInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsNotificationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailFolderInfo, IEmailFolderInfo_Vtbl, 0xc207150e_e237_46d6_90e6_4f529eeac1e2); @@ -254,7 +254,7 @@ impl windows_core::RuntimeType for IEmailFolderInfo { #[repr(C)] pub struct IEmailFolderInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsNotificationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmailNotificationTriggerDetails, IEmailNotificationTriggerDetails_Vtbl, 0xf3b82612_46cf_4e70_8e0d_7b2e04ab492b); @@ -264,10 +264,10 @@ impl windows_core::RuntimeType for IEmailNotificationTriggerDetails { #[repr(C)] pub struct IEmailNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ParentFolderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SenderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SenderAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParentFolderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel_Email")] pub EmailMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_Email"))] @@ -290,8 +290,8 @@ impl windows_core::RuntimeType for IEmailReadNotificationTriggerDetails { #[repr(C)] pub struct IEmailReadNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ParentFolderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParentFolderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MessageEntryId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsRead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -312,10 +312,10 @@ impl windows_core::RuntimeType for IMediaMetadata { #[repr(C)] pub struct IMediaMetadata_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Album: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Album: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Track: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] @@ -339,8 +339,8 @@ pub struct IPhoneCallDetails_Vtbl { pub ConferenceCallId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub EndTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContactName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub PresetTextResponses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -354,8 +354,8 @@ impl windows_core::RuntimeType for IPhoneLineDetails { pub struct IPhoneLineDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LineNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LineNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DefaultOutgoingLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub VoicemailCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub RegistrationState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneLineRegistrationState) -> windows_core::HRESULT, @@ -388,9 +388,9 @@ impl windows_core::RuntimeType for IReminderNotificationTriggerDetails { pub struct IReminderNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReminderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel_Appointments")] pub Appointment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -405,7 +405,7 @@ impl windows_core::RuntimeType for IReminderNotificationTriggerDetails2 { #[repr(C)] pub struct IReminderNotificationTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub InstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpeedDialEntry, ISpeedDialEntry_Vtbl, 0x9240b6db_872c_46dc_b62a_be4541b166f8); impl windows_core::RuntimeType for ISpeedDialEntry { @@ -414,9 +414,9 @@ impl windows_core::RuntimeType for ISpeedDialEntry { #[repr(C)] pub struct ISpeedDialEntry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NumberType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContactName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumberType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextResponse, ITextResponse_Vtbl, 0xe9cb74c3_2457_4cdb_8110_72f5e8e883e8); impl windows_core::RuntimeType for ITextResponse { @@ -426,7 +426,7 @@ impl windows_core::RuntimeType for ITextResponse { pub struct ITextResponse_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastNotificationTriggerDetails, IToastNotificationTriggerDetails_Vtbl, 0xc9314895_4e6d_4e9d_afec_9e921b875ae8); impl windows_core::RuntimeType for IToastNotificationTriggerDetails { @@ -435,10 +435,10 @@ impl windows_core::RuntimeType for IToastNotificationTriggerDetails { #[repr(C)] pub struct IToastNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SuppressPopup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastNotificationTriggerDetails2, IToastNotificationTriggerDetails2_Vtbl, 0x3e0479dd_cac4_4f60_afa3_b925d9d83c93); @@ -448,7 +448,7 @@ impl windows_core::RuntimeType for IToastNotificationTriggerDetails2 { #[repr(C)] pub struct IToastNotificationTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub InstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVolumeInfo, IVolumeInfo_Vtbl, 0x944dd118_7704_4481_b92e_d3ed3ece6322); impl windows_core::RuntimeType for IVolumeInfo { @@ -467,13 +467,13 @@ pub struct AccessoryManager; impl AccessoryManager { pub fn RegisterAccessoryApp() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterAccessoryApp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetNextTriggerDetails() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNextTriggerDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -486,13 +486,13 @@ impl AccessoryManager { #[cfg(feature = "Foundation_Collections")] pub fn PhoneLineDetails() -> windows_core::Result> { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneLineDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetPhoneLineDetails(phoneline: windows_core::GUID) -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPhoneLineDetails)(windows_core::Interface::as_raw(this), phoneline, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -540,7 +540,7 @@ impl AccessoryManager { } pub fn PhoneMute() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneMute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -549,7 +549,7 @@ impl AccessoryManager { } pub fn PhoneCallAudioEndpoint() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneCallAudioEndpoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -573,19 +573,19 @@ impl AccessoryManager { } pub fn GetMediaMetadata() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMediaMetadata)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MediaPlaybackCapabilities() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaPlaybackCapabilities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediaPlaybackStatus() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaPlaybackStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -594,26 +594,26 @@ impl AccessoryManager { } pub fn DoNotDisturbEnabled() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DoNotDisturbEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DrivingModeEnabled() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DrivingModeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BatterySaverState() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BatterySaverState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetApps() -> windows_core::Result> { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetApps)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -625,13 +625,13 @@ impl AccessoryManager { } pub fn IsNotificationEnabledForApplication(appid: &windows_core::HSTRING) -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNotificationEnabledForApplication)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appid), &mut result__).map(|| result__) }) } pub fn GetEnabledAccessoryNotificationTypes() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEnabledAccessoryNotificationTypes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -643,14 +643,14 @@ impl AccessoryManager { } pub fn GetUserConsent() -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUserConsent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "Storage_Streams")] pub fn GetAppIcon(appid: &windows_core::HSTRING) -> windows_core::Result { Self::IAccessoryManager(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppIcon)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -660,7 +660,7 @@ impl AccessoryManager { #[cfg(feature = "Foundation_Collections")] pub fn SpeedDialList() -> windows_core::Result> { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpeedDialList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -669,7 +669,7 @@ impl AccessoryManager { } pub fn IsPhonePinLocked() -> windows_core::Result { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPhonePinLocked)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -687,21 +687,21 @@ impl AccessoryManager { } pub fn VolumeInfo() -> windows_core::Result { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VolumeInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetAllEmailAccounts() -> windows_core::Result> { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllEmailAccounts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetFolders(emailaccount: &windows_core::HSTRING) -> windows_core::Result> { Self::IAccessoryManager2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolders)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(emailaccount), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -764,35 +764,35 @@ impl AlarmNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -803,35 +803,35 @@ impl AlarmNotificationTriggerDetails { pub fn AlarmId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlarmId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReminderState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReminderState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InstanceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -854,14 +854,14 @@ impl AppNotificationInfo { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -884,14 +884,14 @@ impl BinaryId { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -915,35 +915,35 @@ impl CalendarChangedNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -954,14 +954,14 @@ impl CalendarChangedNotificationTriggerDetails { pub fn EventType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EventType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ItemId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -985,35 +985,35 @@ impl CortanaTileNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1024,70 +1024,70 @@ impl CortanaTileNotificationTriggerDetails { pub fn TileId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LargeContent1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LargeContent1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LargeContent2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LargeContent2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EmphasizedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmphasizedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NonWrappedSmallContent1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NonWrappedSmallContent1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NonWrappedSmallContent2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NonWrappedSmallContent2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NonWrappedSmallContent3(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NonWrappedSmallContent3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NonWrappedSmallContent4(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NonWrappedSmallContent4)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1110,14 +1110,14 @@ impl EmailAccountInfo { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsNotificationEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNotificationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1140,14 +1140,14 @@ impl EmailFolderInfo { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsNotificationEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNotificationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1171,35 +1171,35 @@ impl EmailNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1210,28 +1210,28 @@ impl EmailNotificationTriggerDetails { pub fn AccountName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentFolderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentFolderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SenderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SenderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SenderAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SenderAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1239,21 +1239,21 @@ impl EmailNotificationTriggerDetails { pub fn EmailMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageEntryId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageEntryId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1277,35 +1277,35 @@ impl EmailReadNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1316,28 +1316,28 @@ impl EmailReadNotificationTriggerDetails { pub fn AccountName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ParentFolderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentFolderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MessageEntryId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageEntryId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsRead(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1361,35 +1361,35 @@ impl MediaControlsTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1400,14 +1400,14 @@ impl MediaControlsTriggerDetails { pub fn PlaybackStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MediaMetadata(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaMetadata)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1430,42 +1430,42 @@ impl MediaMetadata { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subtitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Artist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Artist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Album(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Album)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Track(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Track)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1473,7 +1473,7 @@ impl MediaMetadata { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1496,77 +1496,77 @@ impl PhoneCallDetails { pub fn PhoneLine(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneLine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CallId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CallTransport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallTransport)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CallMediaType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallMediaType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CallDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ConferenceCallId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConferenceCallId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContactName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1574,7 +1574,7 @@ impl PhoneCallDetails { pub fn PresetTextResponses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PresetTextResponses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1597,49 +1597,49 @@ impl PhoneLineDetails { pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LineNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultOutgoingLine(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultOutgoingLine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VoicemailCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VoicemailCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RegistrationState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegistrationState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MissedCallCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MissedCallCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1663,35 +1663,35 @@ impl PhoneNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1702,21 +1702,21 @@ impl PhoneNotificationTriggerDetails { pub fn PhoneNotificationType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CallDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhoneLineChangedId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneLineChangedId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1740,35 +1740,35 @@ impl ReminderNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1779,35 +1779,35 @@ impl ReminderNotificationTriggerDetails { pub fn ReminderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReminderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Details(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Details)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1815,21 +1815,21 @@ impl ReminderNotificationTriggerDetails { pub fn Appointment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Appointment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReminderState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReminderState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InstanceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1852,21 +1852,21 @@ impl SpeedDialEntry { pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NumberType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumberType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContactName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1889,14 +1889,14 @@ impl TextResponse { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1920,35 +1920,35 @@ impl ToastNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AccessoryNotificationType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessoryNotificationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartedProcessing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartedProcessing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1959,42 +1959,42 @@ impl ToastNotificationTriggerDetails { pub fn Text1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text3(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text4(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text4)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SuppressPopup(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuppressPopup)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InstanceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2017,35 +2017,35 @@ impl VolumeInfo { pub fn SystemVolume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemVolume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CallVolume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallVolume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MediaVolume(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaVolume)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMuted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMuted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVibrateEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVibrateEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 a27822722b..11a45e2599 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IContactPartnerProvisioningManagerStatics { #[repr(C)] pub struct IContactPartnerProvisioningManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AssociateNetworkAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AssociateNetworkAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub ImportVcardToSystemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -18,7 +18,7 @@ impl windows_core::RuntimeType for IContactPartnerProvisioningManagerStatics2 { #[repr(C)] pub struct IContactPartnerProvisioningManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AssociateSocialNetworkAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AssociateSocialNetworkAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMessagePartnerProvisioningManagerStatics, IMessagePartnerProvisioningManagerStatics_Vtbl, 0x8a1b0850_73c5_457c_bc59_ed7d615c05a4); impl windows_core::RuntimeType for IMessagePartnerProvisioningManagerStatics { @@ -28,11 +28,11 @@ impl windows_core::RuntimeType for IMessagePartnerProvisioningManagerStatics { pub struct IMessagePartnerProvisioningManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub ImportSmsToSystemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, bool, bool, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportSmsToSystemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, bool, bool, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ImportSmsToSystemAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub ImportMmsToSystemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, bool, bool, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::super::Foundation::DateTime, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportMmsToSystemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, bool, bool, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::super::Foundation::DateTime, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ImportMmsToSystemAsync: usize, } @@ -43,7 +43,7 @@ impl ContactPartnerProvisioningManager { P0: windows_core::Param, { Self::IContactPartnerProvisioningManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AssociateNetworkAccountAsync)(windows_core::Interface::as_raw(this), store.param().abi(), core::mem::transmute_copy(networkname), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -53,7 +53,7 @@ impl ContactPartnerProvisioningManager { P0: windows_core::Param, { Self::IContactPartnerProvisioningManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportVcardToSystemAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -62,7 +62,7 @@ impl ContactPartnerProvisioningManager { P0: windows_core::Param, { Self::IContactPartnerProvisioningManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AssociateSocialNetworkAccountAsync)(windows_core::Interface::as_raw(this), store.param().abi(), core::mem::transmute_copy(networkname), core::mem::transmute_copy(networkaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -88,7 +88,7 @@ impl MessagePartnerProvisioningManager { P0: windows_core::Param>, { Self::IMessagePartnerProvisioningManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportSmsToSystemAsync)(windows_core::Interface::as_raw(this), incoming, read, core::mem::transmute_copy(body), core::mem::transmute_copy(sender), recipients.param().abi(), deliverytime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -99,7 +99,7 @@ impl MessagePartnerProvisioningManager { P1: windows_core::Param>>, { Self::IMessagePartnerProvisioningManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportMmsToSystemAsync)(windows_core::Interface::as_raw(this), incoming, read, core::mem::transmute_copy(subject), core::mem::transmute_copy(sender), recipients.param().abi(), deliverytime, attachments.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs index feb8800cf7..00dff16605 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs @@ -24,7 +24,7 @@ impl windows_core::RuntimeName for IContactInformation { #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] impl IContactInformation_Vtbl { pub const fn new, Impl: IContactInformation_Impl, const OFFSET: isize>() -> IContactInformation_Vtbl { - unsafe extern "system" fn DisplayName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactInformation_Impl::DisplayName(this) { @@ -36,12 +36,12 @@ impl IContactInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IContactInformation_Impl::SetDisplayName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn FamilyName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FamilyName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactInformation_Impl::FamilyName(this) { @@ -53,12 +53,12 @@ impl IContactInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFamilyName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFamilyName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IContactInformation_Impl::SetFamilyName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn GivenName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GivenName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactInformation_Impl::GivenName(this) { @@ -70,12 +70,12 @@ impl IContactInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetGivenName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGivenName, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IContactInformation_Impl::SetGivenName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn HonorificPrefix, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HonorificPrefix, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactInformation_Impl::HonorificPrefix(this) { @@ -87,12 +87,12 @@ impl IContactInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHonorificPrefix, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHonorificPrefix, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IContactInformation_Impl::SetHonorificPrefix(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn HonorificSuffix, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HonorificSuffix, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContactInformation_Impl::HonorificSuffix(this) { @@ -104,7 +104,7 @@ impl IContactInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHonorificSuffix, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHonorificSuffix, Impl: IContactInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IContactInformation_Impl::SetHonorificSuffix(this, core::mem::transmute(&value)).into() diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index 6e94a887b2..1cf1a22c93 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -7,16 +7,16 @@ impl windows_core::RuntimeType for IContactAddress { #[repr(C)] pub struct IContactAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCountry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Locality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocality: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRegion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCountry: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Locality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocality: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRegion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactChangeRecord, IContactChangeRecord_Vtbl, 0xb9d3f78f_513b_4742_be00_cc5c5c236b04); impl windows_core::RuntimeType for IContactChangeRecord { @@ -27,14 +27,14 @@ pub struct IContactChangeRecord_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactChangeType) -> windows_core::HRESULT, pub RevisionNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactInformation, IContactInformation_Vtbl, 0xe2b51ffc_e792_4ab7_b15b_f2e078664dea); impl std::ops::Deref for IContactInformation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactInformation, windows_core::IUnknown, windows_core::IInspectable); @@ -42,7 +42,7 @@ impl IContactInformation { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -53,7 +53,7 @@ impl IContactInformation { pub fn FamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -64,7 +64,7 @@ impl IContactInformation { pub fn GivenName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GivenName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -75,7 +75,7 @@ impl IContactInformation { pub fn HonorificPrefix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificPrefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -86,7 +86,7 @@ impl IContactInformation { pub fn HonorificSuffix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificSuffix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -98,7 +98,7 @@ impl IContactInformation { pub fn GetDisplayPictureAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDisplayPictureAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -109,7 +109,7 @@ impl IContactInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDisplayPictureAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -117,7 +117,7 @@ impl IContactInformation { pub fn DisplayPicture(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayPicture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -125,7 +125,7 @@ impl IContactInformation { pub fn GetPropertiesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -133,7 +133,7 @@ impl IContactInformation { pub fn ToVcardAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToVcardAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -141,7 +141,7 @@ impl IContactInformation { pub fn ToVcardWithOptionsAsync(&self, format: VCardFormat) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToVcardWithOptionsAsync)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -152,16 +152,16 @@ impl windows_core::RuntimeType for IContactInformation { #[repr(C)] pub struct IContactInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GivenName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGivenName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HonorificPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHonorificPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HonorificSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHonorificSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GivenName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGivenName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HonorificPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHonorificPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HonorificSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHonorificSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetDisplayPictureAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -191,7 +191,7 @@ windows_core::imp::define_interface!(IContactInformation2, IContactInformation2_ impl std::ops::Deref for IContactInformation2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactInformation2, windows_core::IUnknown, windows_core::IInspectable); @@ -199,7 +199,7 @@ impl IContactInformation2 { pub fn DisplayPictureDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayPictureDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -268,9 +268,9 @@ impl windows_core::RuntimeType for IContactStore { #[repr(C)] pub struct IContactStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FindContactByRemoteIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FindContactByIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindContactByRemoteIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindContactByIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateContactQueryDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateContactQueryWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -295,7 +295,7 @@ impl windows_core::RuntimeType for IContactStore2 { #[repr(C)] pub struct IContactStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateMeContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateMeContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactStoreStatics, IContactStoreStatics_Vtbl, 0xa804fe22_4beb_44cc_a572_67a5b92e8567); impl windows_core::RuntimeType for IContactStoreStatics { @@ -314,41 +314,41 @@ impl windows_core::RuntimeType for IKnownContactPropertiesStatics { #[repr(C)] pub struct IKnownContactPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GivenName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HonorificPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HonorificSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AdditionalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OtherAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Email: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WorkAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WorkTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub JobTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Birthdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Anniversary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Telephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MobileTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Notes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WorkFax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Children: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SignificantOther: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CompanyTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HomeFax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AlternateTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Manager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Nickname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OfficeLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WorkEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YomiGivenName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YomiFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YomiCompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OtherEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AlternateMobileTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AlternateWorkTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GivenName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HonorificPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HonorificSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AdditionalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OtherAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Email: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorkAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorkTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub JobTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Birthdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Anniversary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Telephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MobileTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Notes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorkFax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Children: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SignificantOther: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CompanyTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HomeFax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlternateTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Manager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Nickname: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OfficeLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorkEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YomiGivenName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YomiFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YomiCompanyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OtherEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlternateMobileTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlternateWorkTelephone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoredContact, IStoredContact_Vtbl, 0xb070b7b1_263d_4e71_abe7_591d2466570e); impl windows_core::RuntimeType for IStoredContact { @@ -358,15 +358,15 @@ impl windows_core::RuntimeType for IStoredContact { pub struct IStoredContact_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Store: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetExtendedPropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetExtendedPropertiesAsync: usize, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReplaceExistingContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReplaceExistingContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoredContactFactory, IStoredContactFactory_Vtbl, 0x49ede921_c225_4fd9_89c5_cecc2c8a4b79); impl windows_core::RuntimeType for IStoredContactFactory { @@ -393,7 +393,7 @@ impl ContactAddress { pub fn Country(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Country)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -404,7 +404,7 @@ impl ContactAddress { pub fn Locality(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Locality)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -415,7 +415,7 @@ impl ContactAddress { pub fn Region(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Region)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -426,7 +426,7 @@ impl ContactAddress { pub fn PostalCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostalCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -437,7 +437,7 @@ impl ContactAddress { pub fn StreetAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreetAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -466,28 +466,28 @@ impl ContactChangeRecord { pub fn ChangeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RevisionNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RevisionNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -520,7 +520,7 @@ impl ContactInformation { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -531,7 +531,7 @@ impl ContactInformation { pub fn FamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -542,7 +542,7 @@ impl ContactInformation { pub fn GivenName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GivenName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -553,7 +553,7 @@ impl ContactInformation { pub fn HonorificPrefix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificPrefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -564,7 +564,7 @@ impl ContactInformation { pub fn HonorificSuffix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificSuffix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -576,7 +576,7 @@ impl ContactInformation { pub fn GetDisplayPictureAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDisplayPictureAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -587,7 +587,7 @@ impl ContactInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDisplayPictureAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -595,7 +595,7 @@ impl ContactInformation { pub fn DisplayPicture(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayPicture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -603,7 +603,7 @@ impl ContactInformation { pub fn GetPropertiesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -611,7 +611,7 @@ impl ContactInformation { pub fn ToVcardAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToVcardAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -619,7 +619,7 @@ impl ContactInformation { pub fn ToVcardWithOptionsAsync(&self, format: VCardFormat) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToVcardWithOptionsAsync)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -629,7 +629,7 @@ impl ContactInformation { P0: windows_core::Param, { Self::IContactInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParseVcardAsync)(windows_core::Interface::as_raw(this), vcard.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -667,14 +667,14 @@ impl ContactQueryOptions { pub fn DesiredFields(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredFields)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OrderBy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrderBy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -703,7 +703,7 @@ impl ContactQueryResult { pub fn GetContactCountAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -711,7 +711,7 @@ impl ContactQueryResult { pub fn GetContactsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -719,14 +719,14 @@ impl ContactQueryResult { pub fn GetContactsAsyncInRange(&self, startindex: u32, maxnumberofitems: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContactsAsyncInRange)(windows_core::Interface::as_raw(this), startindex, maxnumberofitems, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentQueryOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentQueryOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -751,28 +751,28 @@ impl ContactStore { pub fn FindContactByRemoteIdAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactByRemoteIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FindContactByIdAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindContactByIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteContactAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteContactAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateContactQueryDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContactQueryDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -782,21 +782,21 @@ impl ContactStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContactQueryWithOptions)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RevisionNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RevisionNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -804,7 +804,7 @@ impl ContactStore { pub fn GetChangesAsync(&self, baserevisionnumber: u64) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangesAsync)(windows_core::Interface::as_raw(this), baserevisionnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -812,7 +812,7 @@ impl ContactStore { pub fn LoadExtendedPropertiesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadExtendedPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -823,26 +823,26 @@ impl ContactStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveExtendedPropertiesAsync)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateMeContactAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMeContactAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateOrOpenAsync() -> windows_core::Result> { Self::IContactStoreStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOrOpenAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateOrOpenWithOptionsAsync(access: ContactStoreSystemAccessMode, sharing: ContactStoreApplicationAccessMode) -> windows_core::Result> { Self::IContactStoreStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOrOpenWithOptionsAsync)(windows_core::Interface::as_raw(this), access, sharing, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -868,211 +868,211 @@ pub struct KnownContactProperties; impl KnownContactProperties { pub fn DisplayName() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FamilyName() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GivenName() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GivenName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HonorificPrefix() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificPrefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HonorificSuffix() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificSuffix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AdditionalName() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdditionalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Address() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OtherAddress() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Email() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Email)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WorkAddress() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WorkTelephone() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkTelephone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn JobTitle() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JobTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Birthdate() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Birthdate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Anniversary() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Anniversary)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Telephone() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Telephone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MobileTelephone() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MobileTelephone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Url() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Url)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Notes() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Notes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WorkFax() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkFax)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Children() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SignificantOther() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignificantOther)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CompanyName() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompanyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CompanyTelephone() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompanyTelephone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HomeFax() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HomeFax)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AlternateTelephone() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateTelephone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Manager() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Manager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Nickname() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Nickname)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OfficeLocation() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OfficeLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WorkEmail() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkEmail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn YomiGivenName() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YomiGivenName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn YomiFamilyName() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YomiFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn YomiCompanyName() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YomiCompanyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OtherEmail() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherEmail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AlternateMobileTelephone() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateMobileTelephone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AlternateWorkTelephone() -> windows_core::Result { Self::IKnownContactPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateWorkTelephone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1094,7 +1094,7 @@ impl StoredContact { pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1105,7 +1105,7 @@ impl StoredContact { pub fn FamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1116,7 +1116,7 @@ impl StoredContact { pub fn GivenName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GivenName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1127,7 +1127,7 @@ impl StoredContact { pub fn HonorificPrefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificPrefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1138,7 +1138,7 @@ impl StoredContact { pub fn HonorificSuffix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HonorificSuffix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1150,7 +1150,7 @@ impl StoredContact { pub fn GetDisplayPictureAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDisplayPictureAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1161,7 +1161,7 @@ impl StoredContact { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDisplayPictureAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1169,7 +1169,7 @@ impl StoredContact { pub fn DisplayPicture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayPicture)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1177,7 +1177,7 @@ impl StoredContact { pub fn GetPropertiesAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1185,7 +1185,7 @@ impl StoredContact { pub fn ToVcardAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToVcardAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1193,14 +1193,14 @@ impl StoredContact { pub fn ToVcardWithOptionsAsync(&self, format: VCardFormat) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToVcardWithOptionsAsync)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayPictureDate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayPictureDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1211,21 +1211,21 @@ impl StoredContact { pub fn Store(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Store)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1237,21 +1237,21 @@ impl StoredContact { pub fn GetExtendedPropertiesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetExtendedPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReplaceExistingContactAsync(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceExistingContactAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1260,7 +1260,7 @@ impl StoredContact { P0: windows_core::Param, { Self::IStoredContactFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStoredContact)(windows_core::Interface::as_raw(this), store.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1270,7 +1270,7 @@ impl StoredContact { P1: windows_core::Param, { Self::IStoredContactFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStoredContactFromInformation)(windows_core::Interface::as_raw(this), store.param().abi(), contact.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs index 7ceb51d86d..7e36b6c253 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs @@ -9,7 +9,7 @@ impl windows_core::RuntimeName for IToastNotificationManagerStatics3 { #[cfg(feature = "UI_Notifications")] impl IToastNotificationManagerStatics3_Vtbl { pub const fn new, Impl: IToastNotificationManagerStatics3_Impl, const OFFSET: isize>() -> IToastNotificationManagerStatics3_Vtbl { - unsafe extern "system" fn CreateToastNotifierForSecondaryTile, Impl: IToastNotificationManagerStatics3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tileid: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateToastNotifierForSecondaryTile, Impl: IToastNotificationManagerStatics3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tileid: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IToastNotificationManagerStatics3_Impl::CreateToastNotifierForSecondaryTile(this, core::mem::transmute(&tileid)) { diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs index 4677400bb5..054178f478 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for IDualSimTile { #[repr(C)] pub struct IDualSimTile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsPinnedToStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -20,7 +20,7 @@ impl windows_core::RuntimeType for IDualSimTileStatics { pub struct IDualSimTileStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetTileForSim2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub UpdateDisplayNameForSim1Async: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UpdateDisplayNameForSim1Async: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "UI_Notifications")] pub CreateTileUpdaterForSim1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Notifications"))] @@ -50,7 +50,7 @@ windows_core::imp::define_interface!(IToastNotificationManagerStatics3, IToastNo impl std::ops::Deref for IToastNotificationManagerStatics3 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IToastNotificationManagerStatics3, windows_core::IUnknown, windows_core::IInspectable); @@ -59,7 +59,7 @@ impl IToastNotificationManagerStatics3 { pub fn CreateToastNotifierForSecondaryTile(&self, tileid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateToastNotifierForSecondaryTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -71,7 +71,7 @@ impl windows_core::RuntimeType for IToastNotificationManagerStatics3 { pub struct IToastNotificationManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "UI_Notifications")] - pub CreateToastNotifierForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateToastNotifierForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Notifications"))] CreateToastNotifierForSecondaryTile: usize, } @@ -94,89 +94,89 @@ impl DualSimTile { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPinnedToStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPinnedToStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UpdateAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetTileForSim2() -> windows_core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTileForSim2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UpdateDisplayNameForSim1Async(name: &windows_core::HSTRING) -> windows_core::Result> { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateDisplayNameForSim1Async)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI_Notifications")] pub fn CreateTileUpdaterForSim1() -> windows_core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileUpdaterForSim1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI_Notifications")] pub fn CreateTileUpdaterForSim2() -> windows_core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileUpdaterForSim2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI_Notifications")] pub fn CreateBadgeUpdaterForSim1() -> windows_core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBadgeUpdaterForSim1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI_Notifications")] pub fn CreateBadgeUpdaterForSim2() -> windows_core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBadgeUpdaterForSim2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI_Notifications")] pub fn CreateToastNotifierForSim1() -> windows_core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateToastNotifierForSim1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI_Notifications")] pub fn CreateToastNotifierForSim2() -> windows_core::Result { Self::IDualSimTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateToastNotifierForSim2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 e96103ada0..4c47f490a7 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs @@ -22,7 +22,7 @@ pub struct PowerManager; impl PowerManager { pub fn PowerSavingMode() -> windows_core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerSavingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -31,7 +31,7 @@ impl PowerManager { P0: windows_core::Param>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerSavingModeChanged)(windows_core::Interface::as_raw(this), changehandler.param().abi(), &mut result__).map(|| result__) }) } @@ -40,7 +40,7 @@ impl PowerManager { } pub fn PowerSavingModeEnabled() -> windows_core::Result { Self::IPowerManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerSavingModeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 fbb7126359..679cd7749d 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs @@ -20,7 +20,7 @@ impl RetailMode { #[cfg(feature = "deprecated")] pub fn RetailModeEnabled() -> windows_core::Result { Self::IRetailModeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetailModeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 6101146f04..68bfd69c93 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 @@ -34,25 +34,25 @@ impl windows_core::RuntimeType for IGameServicePropertyCollection { #[repr(C)] pub struct IGameServicePropertyCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetPropertyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPropertyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } pub struct GameService; impl GameService { pub fn ServiceUri() -> windows_core::Result { Self::IGameService(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetGamerProfileAsync() -> windows_core::Result> { Self::IGameService(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGamerProfileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetInstalledGameItemsAsync() -> windows_core::Result> { Self::IGameService(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInstalledGameItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -61,13 +61,13 @@ impl GameService { P0: windows_core::Param, { Self::IGameService(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPartnerTokenAsync)(windows_core::Interface::as_raw(this), audienceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetPrivilegesAsync() -> windows_core::Result> { Self::IGameService(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPrivilegesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -92,7 +92,7 @@ impl GameService { } pub fn GetAuthenticationStatus() -> windows_core::Result { Self::IGameService2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAuthenticationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -118,7 +118,7 @@ impl GameServicePropertyCollection { pub fn GetPropertyAsync(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertyAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::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 9002ea0c03..32b85d5f17 100644 --- a/crates/libs/windows/src/Windows/Phone/System/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/mod.rs @@ -26,7 +26,7 @@ pub struct SystemProtection; impl SystemProtection { pub fn ScreenLocked() -> windows_core::Result { Self::ISystemProtectionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenLocked)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 d62277f720..a82a0b2c7d 100644 --- a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs @@ -48,7 +48,7 @@ impl BackPressedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -93,7 +93,7 @@ impl HardwareButtons { P0: windows_core::Param>, { Self::IHardwareButtonsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -105,7 +105,7 @@ impl HardwareButtons { P0: windows_core::Param>, { Self::IHardwareButtonsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraHalfPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -117,7 +117,7 @@ impl HardwareButtons { P0: windows_core::Param>, { Self::IHardwareButtonsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -129,7 +129,7 @@ impl HardwareButtons { P0: windows_core::Param>, { Self::IHardwareButtonsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| 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 e4e7d7022a..99890a621a 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 @@ -5,10 +5,10 @@ impl windows_core::RuntimeType for IMicrosoftAccountMultiFactorAuthenticationMan #[repr(C)] pub struct IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetOneTimePassCodeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddDeviceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveDeviceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub UpdateWnsChannelAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetOneTimePassCodeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddDeviceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemoveDeviceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UpdateWnsChannelAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetSessionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -18,9 +18,9 @@ pub struct IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetSessionsAndUnregisteredAccountsAsync: usize, pub ApproveSessionUsingAuthSessionInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, MicrosoftAccountMultiFactorSessionAuthenticationStatus, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ApproveSessionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, MicrosoftAccountMultiFactorSessionAuthenticationStatus, std::mem::MaybeUninit, std::mem::MaybeUninit, MicrosoftAccountMultiFactorAuthenticationType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ApproveSessionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, MicrosoftAccountMultiFactorSessionAuthenticationStatus, core::mem::MaybeUninit, core::mem::MaybeUninit, MicrosoftAccountMultiFactorAuthenticationType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DenySessionUsingAuthSessionInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DenySessionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, MicrosoftAccountMultiFactorAuthenticationType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DenySessionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, MicrosoftAccountMultiFactorAuthenticationType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMicrosoftAccountMultiFactorAuthenticatorStatics, IMicrosoftAccountMultiFactorAuthenticatorStatics_Vtbl, 0xd964c2e6_f446_4c71_8b79_6ea4024aa9b8); impl windows_core::RuntimeType for IMicrosoftAccountMultiFactorAuthenticatorStatics { @@ -51,7 +51,7 @@ impl windows_core::RuntimeType for IMicrosoftAccountMultiFactorOneTimeCodedInfo #[repr(C)] pub struct IMicrosoftAccountMultiFactorOneTimeCodedInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Code: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Code: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TimeInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub TimeToLive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub ServiceResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MicrosoftAccountMultiFactorServiceResponse) -> windows_core::HRESULT, @@ -63,9 +63,9 @@ impl windows_core::RuntimeType for IMicrosoftAccountMultiFactorSessionInfo { #[repr(C)] pub struct IMicrosoftAccountMultiFactorSessionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UserAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplaySessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserAccountId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplaySessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ApprovalStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MicrosoftAccountMultiFactorSessionApprovalStatus) -> windows_core::HRESULT, pub AuthenticationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MicrosoftAccountMultiFactorAuthenticationType) -> windows_core::HRESULT, pub RequestTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::DateTime) -> windows_core::HRESULT, @@ -96,28 +96,28 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { pub fn GetOneTimePassCodeAsync(&self, useraccountid: &windows_core::HSTRING, codelength: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOneTimePassCodeAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(useraccountid), codelength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AddDeviceAsync(&self, useraccountid: &windows_core::HSTRING, authenticationtoken: &windows_core::HSTRING, wnschannelid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddDeviceAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(useraccountid), core::mem::transmute_copy(authenticationtoken), core::mem::transmute_copy(wnschannelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoveDeviceAsync(&self, useraccountid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveDeviceAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(useraccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UpdateWnsChannelAsync(&self, useraccountid: &windows_core::HSTRING, channeluri: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateWnsChannelAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(useraccountid), core::mem::transmute_copy(channeluri), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -128,7 +128,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSessionsAsync)(windows_core::Interface::as_raw(this), useraccountidlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -139,7 +139,7 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSessionsAndUnregisteredAccountsAsync)(windows_core::Interface::as_raw(this), useraccountidlist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -149,14 +149,14 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApproveSessionUsingAuthSessionInfoAsync)(windows_core::Interface::as_raw(this), sessionauthentictionstatus, authenticationsessioninfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApproveSessionAsync(&self, sessionauthentictionstatus: MicrosoftAccountMultiFactorSessionAuthenticationStatus, useraccountid: &windows_core::HSTRING, sessionid: &windows_core::HSTRING, sessionauthenticationtype: MicrosoftAccountMultiFactorAuthenticationType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApproveSessionAsync)(windows_core::Interface::as_raw(this), sessionauthentictionstatus, core::mem::transmute_copy(useraccountid), core::mem::transmute_copy(sessionid), sessionauthenticationtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -166,20 +166,20 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DenySessionUsingAuthSessionInfoAsync)(windows_core::Interface::as_raw(this), authenticationsessioninfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DenySessionAsync(&self, useraccountid: &windows_core::HSTRING, sessionid: &windows_core::HSTRING, sessionauthenticationtype: MicrosoftAccountMultiFactorAuthenticationType) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DenySessionAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(useraccountid), core::mem::transmute_copy(sessionid), sessionauthenticationtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Current() -> windows_core::Result { Self::IMicrosoftAccountMultiFactorAuthenticatorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -210,14 +210,14 @@ impl MicrosoftAccountMultiFactorGetSessionsResult { pub fn Sessions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sessions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceResponse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceResponse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -242,28 +242,28 @@ impl MicrosoftAccountMultiFactorOneTimeCodedInfo { pub fn Code(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Code)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TimeInterval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeInterval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TimeToLive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeToLive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ServiceResponse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceResponse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -288,49 +288,49 @@ impl MicrosoftAccountMultiFactorSessionInfo { pub fn UserAccountId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserAccountId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SessionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplaySessionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplaySessionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApprovalStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApprovalStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AuthenticationType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExpirationTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -356,7 +356,7 @@ impl MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { pub fn Sessions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sessions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -364,14 +364,14 @@ impl MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { pub fn UnregisteredAccounts(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnregisteredAccounts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ServiceResponse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceResponse)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 b84c566847..8d2fec2b74 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs @@ -7,11 +7,11 @@ impl windows_core::RuntimeType for IEnterpriseKeyCredentialRegistrationInfo { #[repr(C)] pub struct IEnterpriseKeyCredentialRegistrationInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TenantId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TenantName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KeyId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KeyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TenantId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TenantName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnterpriseKeyCredentialRegistrationManager, IEnterpriseKeyCredentialRegistrationManager_Vtbl, 0x83f3be3f_a25f_4cba_bb8e_bdc32d03c297); impl windows_core::RuntimeType for IEnterpriseKeyCredentialRegistrationManager { @@ -42,35 +42,35 @@ impl EnterpriseKeyCredentialRegistrationInfo { pub fn TenantId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TenantId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TenantName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TenantName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn KeyId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn KeyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -96,13 +96,13 @@ impl EnterpriseKeyCredentialRegistrationManager { pub fn GetRegistrationsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRegistrationsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Current() -> windows_core::Result { Self::IEnterpriseKeyCredentialRegistrationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 877e8f86bc..17e666e49e 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs @@ -14,7 +14,7 @@ pub struct IOnlineIdAuthenticator_Vtbl { pub SetApplicationId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub ApplicationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub CanSignOut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub AuthenticatedSafeCustomerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AuthenticatedSafeCustomerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOnlineIdServiceTicket, IOnlineIdServiceTicket_Vtbl, 0xc95c547f_d781_4a94_acb8_c59874238c26); impl windows_core::RuntimeType for IOnlineIdServiceTicket { @@ -23,7 +23,7 @@ impl windows_core::RuntimeType for IOnlineIdServiceTicket { #[repr(C)] pub struct IOnlineIdServiceTicket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -34,8 +34,8 @@ impl windows_core::RuntimeType for IOnlineIdServiceTicketRequest { #[repr(C)] pub struct IOnlineIdServiceTicketRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Service: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Policy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Service: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Policy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOnlineIdServiceTicketRequestFactory, IOnlineIdServiceTicketRequestFactory_Vtbl, 0xbebb0a08_9e73_4077_9614_08614c0bc245); impl windows_core::RuntimeType for IOnlineIdServiceTicketRequestFactory { @@ -44,8 +44,8 @@ impl windows_core::RuntimeType for IOnlineIdServiceTicketRequestFactory { #[repr(C)] pub struct IOnlineIdServiceTicketRequestFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateOnlineIdServiceTicketRequest: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateOnlineIdServiceTicketRequestAdvanced: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateOnlineIdServiceTicketRequest: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateOnlineIdServiceTicketRequestAdvanced: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOnlineIdSystemAuthenticatorForUser, IOnlineIdSystemAuthenticatorForUser_Vtbl, 0x5798befb_1de4_4186_a2e6_b563f86aaf44); impl windows_core::RuntimeType for IOnlineIdSystemAuthenticatorForUser { @@ -83,7 +83,7 @@ impl windows_core::RuntimeType for IOnlineIdSystemIdentity { pub struct IOnlineIdSystemIdentity_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Ticket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOnlineIdSystemTicketResult, IOnlineIdSystemTicketResult_Vtbl, 0xdb0a5ff8_b098_4acd_9d13_9e640652b5b6); impl windows_core::RuntimeType for IOnlineIdSystemTicketResult { @@ -107,11 +107,11 @@ pub struct IUserIdentity_Vtbl { pub Tickets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Tickets: usize, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SafeCustomerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SignInName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SafeCustomerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SignInName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsBetaAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsConfirmedPC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -133,7 +133,7 @@ impl OnlineIdAuthenticator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticateUserAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -144,14 +144,14 @@ impl OnlineIdAuthenticator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticateUserAsyncAdvanced)(windows_core::Interface::as_raw(this), requests.param().abi(), credentialprompttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignOutUserAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignOutUserAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -162,21 +162,21 @@ impl OnlineIdAuthenticator { pub fn ApplicationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanSignOut(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanSignOut)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AuthenticatedSafeCustomerId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticatedSafeCustomerId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -201,21 +201,21 @@ impl OnlineIdServiceTicket { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -240,26 +240,26 @@ impl OnlineIdServiceTicketRequest { pub fn Service(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Service)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Policy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Policy)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateOnlineIdServiceTicketRequest(service: &windows_core::HSTRING, policy: &windows_core::HSTRING) -> windows_core::Result { Self::IOnlineIdServiceTicketRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOnlineIdServiceTicketRequest)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(service), core::mem::transmute_copy(policy), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateOnlineIdServiceTicketRequestAdvanced(service: &windows_core::HSTRING) -> windows_core::Result { Self::IOnlineIdServiceTicketRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOnlineIdServiceTicketRequestAdvanced)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(service), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -285,7 +285,7 @@ pub struct OnlineIdSystemAuthenticator; impl OnlineIdSystemAuthenticator { pub fn Default() -> windows_core::Result { Self::IOnlineIdSystemAuthenticatorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Default)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -295,7 +295,7 @@ impl OnlineIdSystemAuthenticator { P0: windows_core::Param, { Self::IOnlineIdSystemAuthenticatorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -319,7 +319,7 @@ impl OnlineIdSystemAuthenticatorForUser { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTicketAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -330,7 +330,7 @@ impl OnlineIdSystemAuthenticatorForUser { pub fn ApplicationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -338,7 +338,7 @@ impl OnlineIdSystemAuthenticatorForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -363,14 +363,14 @@ impl OnlineIdSystemIdentity { pub fn Ticket(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ticket)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -395,21 +395,21 @@ impl OnlineIdSystemTicketResult { pub fn Identity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Identity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -442,7 +442,7 @@ impl SignOutUserOperation { pub fn Completed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -453,21 +453,21 @@ impl SignOutUserOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -530,21 +530,21 @@ impl UserAuthenticationOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -566,14 +566,14 @@ impl UserAuthenticationOperation { pub fn Completed(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResults(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -628,56 +628,56 @@ impl UserIdentity { pub fn Tickets(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tickets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SafeCustomerId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SafeCustomerId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignInName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignInName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FirstName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsBetaAccount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBetaAccount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsConfirmedPC(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsConfirmedPC)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 4d538bc97c..a7685fbf55 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 @@ -66,15 +66,15 @@ pub struct IWebAuthenticationCoreManagerStatics_Vtbl { #[cfg(not(feature = "Security_Credentials"))] RequestTokenWithWebAccountAsync: usize, #[cfg(feature = "Security_Credentials")] - pub FindAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] FindAccountAsync: usize, #[cfg(feature = "Security_Credentials")] - pub FindAccountProviderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAccountProviderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] FindAccountProviderAsync: usize, #[cfg(feature = "Security_Credentials")] - pub FindAccountProviderWithAuthorityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAccountProviderWithAuthorityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] FindAccountProviderWithAuthorityAsync: usize, } @@ -86,7 +86,7 @@ impl windows_core::RuntimeType for IWebAuthenticationCoreManagerStatics2 { pub struct IWebAuthenticationCoreManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(all(feature = "Security_Credentials", feature = "System"))] - pub FindAccountProviderWithAuthorityForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAccountProviderWithAuthorityForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Security_Credentials", feature = "System")))] FindAccountProviderWithAuthorityForUserAsync: usize, } @@ -114,19 +114,19 @@ pub struct IWebAuthenticationCoreManagerStatics4_Vtbl { #[cfg(not(feature = "Security_Credentials"))] FindAllAccountsAsync: usize, #[cfg(feature = "Security_Credentials")] - pub FindAllAccountsWithClientIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllAccountsWithClientIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] FindAllAccountsWithClientIdAsync: usize, #[cfg(feature = "Security_Credentials")] - pub FindSystemAccountProviderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindSystemAccountProviderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] FindSystemAccountProviderAsync: usize, #[cfg(feature = "Security_Credentials")] - pub FindSystemAccountProviderWithAuthorityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindSystemAccountProviderWithAuthorityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] FindSystemAccountProviderWithAuthorityAsync: usize, #[cfg(all(feature = "Security_Credentials", feature = "System"))] - pub FindSystemAccountProviderWithAuthorityForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindSystemAccountProviderWithAuthorityForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Security_Credentials", feature = "System")))] FindSystemAccountProviderWithAuthorityForUserAsync: usize, } @@ -138,7 +138,7 @@ impl windows_core::RuntimeType for IWebProviderError { pub struct IWebProviderError_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub ErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -151,7 +151,7 @@ impl windows_core::RuntimeType for IWebProviderErrorFactory { #[repr(C)] pub struct IWebProviderErrorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebTokenRequest, IWebTokenRequest_Vtbl, 0xb77b4d68_adcb_4673_b364_0cf7b35caf97); impl windows_core::RuntimeType for IWebTokenRequest { @@ -164,8 +164,8 @@ pub struct IWebTokenRequest_Vtbl { pub WebAccountProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] WebAccountProvider: usize, - pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PromptType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WebTokenRequestPromptType) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -191,8 +191,8 @@ impl windows_core::RuntimeType for IWebTokenRequest3 { #[repr(C)] pub struct IWebTokenRequest3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebTokenRequestFactory, IWebTokenRequestFactory_Vtbl, 0x6cf2141c_0ff0_4c67_b84f_99ddbe4a72c9); impl windows_core::RuntimeType for IWebTokenRequestFactory { @@ -202,11 +202,11 @@ impl windows_core::RuntimeType for IWebTokenRequestFactory { pub struct IWebTokenRequestFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Security_Credentials")] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] Create: usize, #[cfg(feature = "Security_Credentials")] - pub CreateWithPromptType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, WebTokenRequestPromptType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithPromptType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, WebTokenRequestPromptType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] CreateWithPromptType: usize, #[cfg(feature = "Security_Credentials")] @@ -214,7 +214,7 @@ pub struct IWebTokenRequestFactory_Vtbl { #[cfg(not(feature = "Security_Credentials"))] CreateWithProvider: usize, #[cfg(feature = "Security_Credentials")] - pub CreateWithScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] CreateWithScope: usize, } @@ -240,7 +240,7 @@ impl windows_core::RuntimeType for IWebTokenResponse { #[repr(C)] pub struct IWebTokenResponse_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProviderError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Security_Credentials")] pub WebAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -258,13 +258,13 @@ impl windows_core::RuntimeType for IWebTokenResponseFactory { #[repr(C)] pub struct IWebTokenResponseFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Security_Credentials")] - pub CreateWithTokenAndAccount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTokenAndAccount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] CreateWithTokenAndAccount: usize, #[cfg(feature = "Security_Credentials")] - pub CreateWithTokenAccountAndError: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTokenAccountAndError: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] CreateWithTokenAccountAndError: usize, } @@ -277,21 +277,21 @@ impl FindAllAccountsResult { pub fn Accounts(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Accounts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProviderError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -317,7 +317,7 @@ impl WebAccountEventArgs { pub fn Account(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Account)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -345,7 +345,7 @@ impl WebAccountMonitor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -359,7 +359,7 @@ impl WebAccountMonitor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -373,7 +373,7 @@ impl WebAccountMonitor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultSignInAccountChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -387,7 +387,7 @@ impl WebAccountMonitor { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountPictureUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -415,7 +415,7 @@ impl WebAuthenticationCoreManager { P0: windows_core::Param, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTokenSilentlyAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -426,7 +426,7 @@ impl WebAuthenticationCoreManager { P1: windows_core::Param, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTokenSilentlyWithWebAccountAsync)(windows_core::Interface::as_raw(this), request.param().abi(), webaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -435,7 +435,7 @@ impl WebAuthenticationCoreManager { P0: windows_core::Param, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestTokenAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -446,7 +446,7 @@ impl WebAuthenticationCoreManager { P1: windows_core::Param, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestTokenWithWebAccountAsync)(windows_core::Interface::as_raw(this), request.param().abi(), webaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -456,21 +456,21 @@ impl WebAuthenticationCoreManager { P0: windows_core::Param, { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAccountAsync)(windows_core::Interface::as_raw(this), provider.param().abi(), core::mem::transmute_copy(webaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Security_Credentials")] pub fn FindAccountProviderAsync(webaccountproviderid: &windows_core::HSTRING) -> windows_core::Result> { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAccountProviderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountproviderid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Security_Credentials")] pub fn FindAccountProviderWithAuthorityAsync(webaccountproviderid: &windows_core::HSTRING, authority: &windows_core::HSTRING) -> windows_core::Result> { Self::IWebAuthenticationCoreManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAccountProviderWithAuthorityAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountproviderid), core::mem::transmute_copy(authority), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -480,7 +480,7 @@ impl WebAuthenticationCoreManager { P0: windows_core::Param, { Self::IWebAuthenticationCoreManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAccountProviderWithAuthorityForUserAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountproviderid), core::mem::transmute_copy(authority), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -490,7 +490,7 @@ impl WebAuthenticationCoreManager { P0: windows_core::Param>, { Self::IWebAuthenticationCoreManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWebAccountMonitor)(windows_core::Interface::as_raw(this), webaccounts.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -500,7 +500,7 @@ impl WebAuthenticationCoreManager { P0: windows_core::Param, { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAccountsAsync)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -510,21 +510,21 @@ impl WebAuthenticationCoreManager { P0: windows_core::Param, { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAccountsWithClientIdAsync)(windows_core::Interface::as_raw(this), provider.param().abi(), core::mem::transmute_copy(clientid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Security_Credentials")] pub fn FindSystemAccountProviderAsync(webaccountproviderid: &windows_core::HSTRING) -> windows_core::Result> { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindSystemAccountProviderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountproviderid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Security_Credentials")] pub fn FindSystemAccountProviderWithAuthorityAsync(webaccountproviderid: &windows_core::HSTRING, authority: &windows_core::HSTRING) -> windows_core::Result> { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindSystemAccountProviderWithAuthorityAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountproviderid), core::mem::transmute_copy(authority), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -534,7 +534,7 @@ impl WebAuthenticationCoreManager { P0: windows_core::Param, { Self::IWebAuthenticationCoreManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindSystemAccountProviderWithAuthorityForUserAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountproviderid), core::mem::transmute_copy(authority), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -570,14 +570,14 @@ impl WebProviderError { pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -585,13 +585,13 @@ impl WebProviderError { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(errorcode: u32, errormessage: &windows_core::HSTRING) -> windows_core::Result { Self::IWebProviderErrorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), errorcode, core::mem::transmute_copy(errormessage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -622,28 +622,28 @@ impl WebTokenRequest { pub fn WebAccountProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccountProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Scope(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scope)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClientId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PromptType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PromptType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -651,7 +651,7 @@ impl WebTokenRequest { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -659,14 +659,14 @@ impl WebTokenRequest { pub fn AppProperties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CorrelationId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CorrelationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -680,7 +680,7 @@ impl WebTokenRequest { P0: windows_core::Param, { Self::IWebTokenRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), provider.param().abi(), core::mem::transmute_copy(scope), core::mem::transmute_copy(clientid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -690,7 +690,7 @@ impl WebTokenRequest { P0: windows_core::Param, { Self::IWebTokenRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithPromptType)(windows_core::Interface::as_raw(this), provider.param().abi(), core::mem::transmute_copy(scope), core::mem::transmute_copy(clientid), prompttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -700,7 +700,7 @@ impl WebTokenRequest { P0: windows_core::Param, { Self::IWebTokenRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithProvider)(windows_core::Interface::as_raw(this), provider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -710,7 +710,7 @@ impl WebTokenRequest { P0: windows_core::Param, { Self::IWebTokenRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithScope)(windows_core::Interface::as_raw(this), provider.param().abi(), core::mem::transmute_copy(scope), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -741,28 +741,28 @@ impl WebTokenRequestResult { pub fn ResponseData(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResponseStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResponseError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InvalidateCacheAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvalidateCacheAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -794,14 +794,14 @@ impl WebTokenResponse { pub fn Token(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Token)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -809,7 +809,7 @@ impl WebTokenResponse { pub fn WebAccount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -817,13 +817,13 @@ impl WebTokenResponse { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateWithToken(token: &windows_core::HSTRING) -> windows_core::Result { Self::IWebTokenResponseFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithToken)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -833,7 +833,7 @@ impl WebTokenResponse { P0: windows_core::Param, { Self::IWebTokenResponseFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTokenAndAccount)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), webaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -844,7 +844,7 @@ impl WebTokenResponse { P1: windows_core::Param, { Self::IWebTokenResponseFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTokenAccountAndError)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), webaccount.param().abi(), error.param().abi(), &mut result__).and_then(|| windows_core::Type::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 3a647c58b1..2361d58e16 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 @@ -7,7 +7,7 @@ pub struct IWebAccountClientView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ApplicationCallbackUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WebAccountClientViewType) -> windows_core::HRESULT, - pub AccountPairwiseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccountPairwiseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountClientViewFactory, IWebAccountClientViewFactory_Vtbl, 0x616d16a4_de22_4855_a326_06cebf2a3f23); impl windows_core::RuntimeType for IWebAccountClientViewFactory { @@ -17,7 +17,7 @@ impl windows_core::RuntimeType for IWebAccountClientViewFactory { pub struct IWebAccountClientViewFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, WebAccountClientViewType, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithPairwiseId: unsafe extern "system" fn(*mut core::ffi::c_void, WebAccountClientViewType, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithPairwiseId: unsafe extern "system" fn(*mut core::ffi::c_void, WebAccountClientViewType, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountManagerStatics, IWebAccountManagerStatics_Vtbl, 0xb2e8e1a6_d49a_4032_84bf_1a2847747bf1); impl windows_core::RuntimeType for IWebAccountManagerStatics { @@ -27,11 +27,11 @@ impl windows_core::RuntimeType for IWebAccountManagerStatics { pub struct IWebAccountManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] - pub UpdateWebAccountPropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UpdateWebAccountPropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] UpdateWebAccountPropertiesAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] - pub AddWebAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddWebAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] AddWebAccountAsync: usize, #[cfg(feature = "Security_Credentials")] @@ -74,7 +74,7 @@ impl windows_core::RuntimeType for IWebAccountManagerStatics2 { #[repr(C)] pub struct IWebAccountManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PullCookiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PullCookiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountManagerStatics3, IWebAccountManagerStatics3_Vtbl, 0xdd4523a6_8a4f_4aa2_b15e_03f550af1359); impl windows_core::RuntimeType for IWebAccountManagerStatics3 { @@ -88,15 +88,15 @@ pub struct IWebAccountManagerStatics3_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] FindAllProviderWebAccountsForUserAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] - pub AddWebAccountForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddWebAccountForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] AddWebAccountForUserAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] - pub AddWebAccountWithScopeForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, WebAccountScope, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddWebAccountWithScopeForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, WebAccountScope, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] AddWebAccountWithScopeForUserAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System"))] - pub AddWebAccountWithScopeAndMapForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, WebAccountScope, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddWebAccountWithScopeAndMapForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, WebAccountScope, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] AddWebAccountWithScopeAndMapForUserAsync: usize, } @@ -121,11 +121,11 @@ impl windows_core::RuntimeType for IWebAccountMapManagerStatics { pub struct IWebAccountMapManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] - pub AddWebAccountWithScopeAndMapAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, WebAccountScope, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddWebAccountWithScopeAndMapAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, WebAccountScope, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] AddWebAccountWithScopeAndMapAsync: usize, #[cfg(feature = "Security_Credentials")] - pub SetPerAppToPerUserAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetPerAppToPerUserAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Credentials"))] SetPerAppToPerUserAccountAsync: usize, #[cfg(feature = "Security_Credentials")] @@ -150,7 +150,7 @@ windows_core::imp::define_interface!(IWebAccountProviderBaseReportOperation, IWe impl std::ops::Deref for IWebAccountProviderBaseReportOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAccountProviderBaseReportOperation, windows_core::IUnknown, windows_core::IInspectable); @@ -209,7 +209,7 @@ windows_core::imp::define_interface!(IWebAccountProviderOperation, IWebAccountPr impl std::ops::Deref for IWebAccountProviderOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAccountProviderOperation, windows_core::IUnknown, windows_core::IInspectable); @@ -217,7 +217,7 @@ impl IWebAccountProviderOperation { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -258,13 +258,13 @@ pub struct IWebAccountProviderSignOutAccountOperation_Vtbl { #[cfg(not(feature = "Security_Credentials"))] WebAccount: usize, pub ApplicationCallbackUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountProviderSilentReportOperation, IWebAccountProviderSilentReportOperation_Vtbl, 0xe0b545f8_3b0f_44da_924c_7b18baaa62a9); impl std::ops::Deref for IWebAccountProviderSilentReportOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAccountProviderSilentReportOperation, windows_core::IUnknown, windows_core::IInspectable); @@ -311,7 +311,7 @@ windows_core::imp::define_interface!(IWebAccountProviderTokenObjects, IWebAccoun impl std::ops::Deref for IWebAccountProviderTokenObjects { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAccountProviderTokenObjects, windows_core::IUnknown, windows_core::IInspectable); @@ -319,7 +319,7 @@ impl IWebAccountProviderTokenObjects { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -336,7 +336,7 @@ windows_core::imp::define_interface!(IWebAccountProviderTokenObjects2, IWebAccou impl std::ops::Deref for IWebAccountProviderTokenObjects2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAccountProviderTokenObjects2, windows_core::IUnknown, windows_core::IInspectable); @@ -346,14 +346,14 @@ impl IWebAccountProviderTokenObjects2 { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Operation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -373,7 +373,7 @@ windows_core::imp::define_interface!(IWebAccountProviderTokenOperation, IWebAcco impl std::ops::Deref for IWebAccountProviderTokenOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAccountProviderTokenOperation, windows_core::IUnknown, windows_core::IInspectable); @@ -382,7 +382,7 @@ impl IWebAccountProviderTokenOperation { pub fn ProviderRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -390,7 +390,7 @@ impl IWebAccountProviderTokenOperation { pub fn ProviderResponses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderResponses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -401,14 +401,14 @@ impl IWebAccountProviderTokenOperation { pub fn CacheExpirationTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CacheExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -431,7 +431,7 @@ windows_core::imp::define_interface!(IWebAccountProviderUIReportOperation, IWebA impl std::ops::Deref for IWebAccountProviderUIReportOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAccountProviderUIReportOperation, windows_core::IUnknown, windows_core::IInspectable); @@ -470,7 +470,7 @@ impl windows_core::RuntimeType for IWebAccountScopeManagerStatics { pub struct IWebAccountScopeManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] - pub AddWebAccountWithScopeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, WebAccountScope, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddWebAccountWithScopeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, WebAccountScope, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] AddWebAccountWithScopeAsync: usize, #[cfg(feature = "Security_Credentials")] @@ -523,9 +523,9 @@ impl windows_core::RuntimeType for IWebProviderTokenRequest3 { #[repr(C)] pub struct IWebProviderTokenRequest3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationProcessName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CheckApplicationForCapabilityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationProcessName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CheckApplicationForCapabilityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebProviderTokenResponse, IWebProviderTokenResponse_Vtbl, 0xef213793_ef55_4186_b7ce_8cb2e7f9849e); impl windows_core::RuntimeType for IWebProviderTokenResponse { @@ -559,21 +559,21 @@ impl WebAccountClientView { pub fn ApplicationCallbackUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationCallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AccountPairwiseId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountPairwiseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -582,7 +582,7 @@ impl WebAccountClientView { P0: windows_core::Param, { Self::IWebAccountClientViewFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), viewtype, applicationcallbackuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -591,7 +591,7 @@ impl WebAccountClientView { P0: windows_core::Param, { Self::IWebAccountClientViewFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithPairwiseId)(windows_core::Interface::as_raw(this), viewtype, applicationcallbackuri.param().abi(), core::mem::transmute_copy(accountpairwiseid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -622,7 +622,7 @@ impl WebAccountManager { P1: windows_core::Param>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateWebAccountPropertiesAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), core::mem::transmute_copy(webaccountusername), additionalproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -632,7 +632,7 @@ impl WebAccountManager { P0: windows_core::Param>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddWebAccountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountid), core::mem::transmute_copy(webaccountusername), props.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -642,14 +642,14 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteWebAccountAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "Security_Credentials"))] pub fn FindAllProviderWebAccountsAsync() -> windows_core::Result>> { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllProviderWebAccountsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -660,7 +660,7 @@ impl WebAccountManager { P1: windows_core::Param>, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PushCookiesAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), cookies.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -671,7 +671,7 @@ impl WebAccountManager { P1: windows_core::Param, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetViewAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), view.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -682,7 +682,7 @@ impl WebAccountManager { P1: windows_core::Param, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearViewAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), applicationcallbackuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -692,7 +692,7 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetViewsAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -703,7 +703,7 @@ impl WebAccountManager { P1: windows_core::Param, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetWebAccountPictureAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), webaccountpicture.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -713,13 +713,13 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearWebAccountPictureAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PullCookiesAsync(uristring: &windows_core::HSTRING, callerpfn: &windows_core::HSTRING) -> windows_core::Result { Self::IWebAccountManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PullCookiesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(uristring), core::mem::transmute_copy(callerpfn), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -729,7 +729,7 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllProviderWebAccountsForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -740,7 +740,7 @@ impl WebAccountManager { P1: windows_core::Param>, { Self::IWebAccountManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddWebAccountForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(webaccountid), core::mem::transmute_copy(webaccountusername), props.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -751,7 +751,7 @@ impl WebAccountManager { P1: windows_core::Param>, { Self::IWebAccountManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddWebAccountWithScopeForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(webaccountid), core::mem::transmute_copy(webaccountusername), props.param().abi(), scope, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -762,13 +762,13 @@ impl WebAccountManager { P1: windows_core::Param>, { Self::IWebAccountManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddWebAccountWithScopeAndMapForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(webaccountid), core::mem::transmute_copy(webaccountusername), props.param().abi(), scope, core::mem::transmute_copy(peruserwebaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn InvalidateAppCacheForAllAccountsAsync() -> windows_core::Result { Self::IWebAccountManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvalidateAppCacheForAllAccountsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -778,7 +778,7 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvalidateAppCacheForAccountAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -788,7 +788,7 @@ impl WebAccountManager { P0: windows_core::Param>, { Self::IWebAccountMapManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddWebAccountWithScopeAndMapAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountid), core::mem::transmute_copy(webaccountusername), props.param().abi(), scope, core::mem::transmute_copy(peruserwebaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -798,7 +798,7 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountMapManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetPerAppToPerUserAccountAsync)(windows_core::Interface::as_raw(this), perappaccount.param().abi(), core::mem::transmute_copy(peruserwebaccountid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -808,7 +808,7 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountMapManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPerUserFromPerAppAccountAsync)(windows_core::Interface::as_raw(this), perappaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -818,7 +818,7 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountMapManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearPerUserFromPerAppAccountAsync)(windows_core::Interface::as_raw(this), perappaccount.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -828,7 +828,7 @@ impl WebAccountManager { P0: windows_core::Param>, { Self::IWebAccountScopeManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddWebAccountWithScopeAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(webaccountid), core::mem::transmute_copy(webaccountusername), props.param().abi(), scope, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -838,7 +838,7 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountScopeManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetScopeAsync)(windows_core::Interface::as_raw(this), webaccount.param().abi(), scope, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -848,7 +848,7 @@ impl WebAccountManager { P0: windows_core::Param, { Self::IWebAccountScopeManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScope)(windows_core::Interface::as_raw(this), webaccount.param().abi(), &mut result__).map(|| result__) }) } @@ -899,7 +899,7 @@ impl WebAccountProviderAddAccountOperation { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -938,14 +938,14 @@ impl WebAccountProviderDeleteAccountOperation { pub fn WebAccount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -983,7 +983,7 @@ impl WebAccountProviderGetTokenSilentOperation { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1002,7 +1002,7 @@ impl WebAccountProviderGetTokenSilentOperation { pub fn ProviderRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1010,7 +1010,7 @@ impl WebAccountProviderGetTokenSilentOperation { pub fn ProviderResponses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderResponses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1021,7 +1021,7 @@ impl WebAccountProviderGetTokenSilentOperation { pub fn CacheExpirationTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CacheExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1048,7 +1048,7 @@ impl WebAccountProviderManageAccountOperation { pub fn WebAccount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1059,7 +1059,7 @@ impl WebAccountProviderManageAccountOperation { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1097,14 +1097,14 @@ impl WebAccountProviderRequestTokenOperation { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProviderRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1112,7 +1112,7 @@ impl WebAccountProviderRequestTokenOperation { pub fn ProviderResponses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderResponses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1123,7 +1123,7 @@ impl WebAccountProviderRequestTokenOperation { pub fn CacheExpirationTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CacheExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1165,14 +1165,14 @@ impl WebAccountProviderRetrieveCookiesOperation { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Context(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Context)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1180,7 +1180,7 @@ impl WebAccountProviderRetrieveCookiesOperation { pub fn Cookies(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cookies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1194,14 +1194,14 @@ impl WebAccountProviderRetrieveCookiesOperation { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApplicationCallbackUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationCallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1239,7 +1239,7 @@ impl WebAccountProviderSignOutAccountOperation { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1247,21 +1247,21 @@ impl WebAccountProviderSignOutAccountOperation { pub fn WebAccount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApplicationCallbackUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationCallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClientId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1287,7 +1287,7 @@ impl WebAccountProviderTriggerDetails { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1295,7 +1295,7 @@ impl WebAccountProviderTriggerDetails { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1321,7 +1321,7 @@ impl WebProviderTokenRequest { pub fn ClientRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1329,21 +1329,21 @@ impl WebProviderTokenRequest { pub fn WebAccounts(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccounts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WebAccountSelectionOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccountSelectionOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ApplicationCallbackUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationCallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1354,7 +1354,7 @@ impl WebProviderTokenRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetApplicationTokenBindingKeyAsync)(windows_core::Interface::as_raw(this), keytype, target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1365,28 +1365,28 @@ impl WebProviderTokenRequest { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetApplicationTokenBindingKeyIdAsync)(windows_core::Interface::as_raw(this), keytype, target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApplicationPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApplicationProcessName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationProcessName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckApplicationForCapabilityAsync(&self, capabilityname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckApplicationForCapabilityAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(capabilityname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1412,7 +1412,7 @@ impl WebProviderTokenResponse { pub fn ClientResponse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientResponse)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1422,7 +1422,7 @@ impl WebProviderTokenResponse { P0: windows_core::Param, { Self::IWebProviderTokenResponseFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), webtokenresponse.param().abi(), &mut result__).and_then(|| windows_core::Type::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 30eaaa653c..4edde5d9e3 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs @@ -36,7 +36,7 @@ impl windows_core::RuntimeType for IWebAuthenticationResult { #[repr(C)] pub struct IWebAuthenticationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ResponseData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResponseData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ResponseStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WebAuthenticationStatus) -> windows_core::HRESULT, pub ResponseErrorDetail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } @@ -48,7 +48,7 @@ impl WebAuthenticationBroker { P1: windows_core::Param, { Self::IWebAuthenticationBrokerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticateWithCallbackUriAsync)(windows_core::Interface::as_raw(this), options, requesturi.param().abi(), callbackuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -57,13 +57,13 @@ impl WebAuthenticationBroker { P0: windows_core::Param, { Self::IWebAuthenticationBrokerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticateWithoutCallbackUriAsync)(windows_core::Interface::as_raw(this), options, requesturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetCurrentApplicationCallbackUri() -> windows_core::Result { Self::IWebAuthenticationBrokerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentApplicationCallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -94,7 +94,7 @@ impl WebAuthenticationBroker { P0: windows_core::Param, { Self::IWebAuthenticationBrokerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticateSilentlyAsync)(windows_core::Interface::as_raw(this), requesturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -103,7 +103,7 @@ impl WebAuthenticationBroker { P0: windows_core::Param, { Self::IWebAuthenticationBrokerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticateSilentlyWithOptionsAsync)(windows_core::Interface::as_raw(this), requesturi.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -129,21 +129,21 @@ impl WebAuthenticationResult { pub fn ResponseData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResponseStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ResponseErrorDetail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseErrorDetail)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 e5b6858873..2470a4cb61 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 windows_core::RuntimeType for IAppCapability { #[repr(C)] pub struct IAppCapability_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CapabilityName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CapabilityName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "System")] pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] @@ -22,8 +22,8 @@ impl windows_core::RuntimeType for IAppCapability2 { #[repr(C)] pub struct IAppCapability2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppCapabilityAccessChangedEventArgs, IAppCapabilityAccessChangedEventArgs_Vtbl, 0x0a578d15_bdd7_457e_8cca_6f53bd2e5944); impl windows_core::RuntimeType for IAppCapabilityAccessChangedEventArgs { @@ -48,9 +48,9 @@ pub struct IAppCapabilityStatics_Vtbl { pub RequestAccessForCapabilitiesForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "System")))] RequestAccessForCapabilitiesForUserAsync: usize, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] - pub CreateWithProcessIdForUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithProcessIdForUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] CreateWithProcessIdForUser: usize, } @@ -62,7 +62,7 @@ impl AppCapability { pub fn CapabilityName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapabilityName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -70,21 +70,21 @@ impl AppCapability { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestAccessAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -94,7 +94,7 @@ impl AppCapability { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -105,7 +105,7 @@ impl AppCapability { pub fn DisplayMessage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -119,7 +119,7 @@ impl AppCapability { P0: windows_core::Param>, { Self::IAppCapabilityStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessForCapabilitiesAsync)(windows_core::Interface::as_raw(this), capabilitynames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -130,13 +130,13 @@ impl AppCapability { P1: windows_core::Param>, { Self::IAppCapabilityStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessForCapabilitiesForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), capabilitynames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Create(capabilityname: &windows_core::HSTRING) -> windows_core::Result { Self::IAppCapabilityStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(capabilityname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -146,7 +146,7 @@ impl AppCapability { P0: windows_core::Param, { Self::IAppCapabilityStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithProcessIdForUser)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(capabilityname), pid, &mut result__).and_then(|| windows_core::Type::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 8a4dd0709f..6be94910b6 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs @@ -5,18 +5,18 @@ impl windows_core::RuntimeType for ICredentialPickerOptions { #[repr(C)] pub struct ICredentialPickerOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub SetTargetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTargetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetAuthenticationProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, AuthenticationProtocol) -> windows_core::HRESULT, pub AuthenticationProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AuthenticationProtocol) -> windows_core::HRESULT, - pub SetCustomAuthenticationProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CustomAuthenticationProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCustomAuthenticationProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomAuthenticationProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub SetPreviousCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -46,9 +46,9 @@ pub struct ICredentialPickerResults_Vtbl { pub Credential: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] Credential: usize, - pub CredentialDomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CredentialUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CredentialPassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CredentialDomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CredentialUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CredentialPassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialPickerStatics, ICredentialPickerStatics_Vtbl, 0xaa3a5c73_c9ea_4782_99fb_e6d7e938e12d); impl windows_core::RuntimeType for ICredentialPickerStatics { @@ -58,8 +58,8 @@ impl windows_core::RuntimeType for ICredentialPickerStatics { pub struct ICredentialPickerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PickWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PickWithMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PickWithCaptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PickWithMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PickWithCaptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserConsentVerifierStatics, IUserConsentVerifierStatics_Vtbl, 0xaf4f3f91_564c_4ddc_b8b5_973447627c65); impl windows_core::RuntimeType for IUserConsentVerifierStatics { @@ -69,7 +69,7 @@ impl windows_core::RuntimeType for IUserConsentVerifierStatics { pub struct IUserConsentVerifierStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CheckAvailabilityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestVerificationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestVerificationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } pub struct CredentialPicker; impl CredentialPicker { @@ -78,19 +78,19 @@ impl CredentialPicker { P0: windows_core::Param, { Self::ICredentialPickerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickWithOptionsAsync)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PickWithMessageAsync(targetname: &windows_core::HSTRING, message: &windows_core::HSTRING) -> windows_core::Result> { Self::ICredentialPickerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickWithMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(targetname), core::mem::transmute_copy(message), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PickWithCaptionAsync(targetname: &windows_core::HSTRING, message: &windows_core::HSTRING, caption: &windows_core::HSTRING) -> windows_core::Result> { Self::ICredentialPickerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickWithCaptionAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(targetname), core::mem::transmute_copy(message), core::mem::transmute_copy(caption), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -122,7 +122,7 @@ impl CredentialPickerOptions { pub fn Caption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Caption)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -133,7 +133,7 @@ impl CredentialPickerOptions { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -144,7 +144,7 @@ impl CredentialPickerOptions { pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -155,7 +155,7 @@ impl CredentialPickerOptions { pub fn TargetName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -166,7 +166,7 @@ impl CredentialPickerOptions { pub fn AuthenticationProtocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationProtocol)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -177,7 +177,7 @@ impl CredentialPickerOptions { pub fn CustomAuthenticationProtocol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomAuthenticationProtocol)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -193,7 +193,7 @@ impl CredentialPickerOptions { pub fn PreviousCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -204,7 +204,7 @@ impl CredentialPickerOptions { pub fn AlwaysDisplayDialog(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlwaysDisplayDialog)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -215,7 +215,7 @@ impl CredentialPickerOptions { pub fn CallerSavesCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerSavesCredential)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -226,7 +226,7 @@ impl CredentialPickerOptions { pub fn CredentialSaveOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CredentialSaveOption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -249,21 +249,21 @@ impl CredentialPickerResults { pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CredentialSaveOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CredentialSaveOption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CredentialSaved(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CredentialSaved)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -271,28 +271,28 @@ impl CredentialPickerResults { pub fn Credential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Credential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CredentialDomainName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CredentialDomainName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CredentialUserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CredentialUserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CredentialPassword(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CredentialPassword)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -311,13 +311,13 @@ pub struct UserConsentVerifier; impl UserConsentVerifier { pub fn CheckAvailabilityAsync() -> windows_core::Result> { Self::IUserConsentVerifierStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckAvailabilityAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestVerificationAsync(message: &windows_core::HSTRING) -> windows_core::Result> { Self::IUserConsentVerifierStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestVerificationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(message), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs index a930e4e28a..c6d19939ad 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs @@ -20,7 +20,7 @@ impl IWebAccount_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserName, Impl: IWebAccount_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserName, Impl: IWebAccount_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebAccount_Impl::UserName(this) { diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index 4d49c80145..f1999a6b98 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -7,7 +7,7 @@ impl windows_core::RuntimeType for ICredentialFactory { #[repr(C)] pub struct ICredentialFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreatePasswordCredential: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePasswordCredential: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyCredential, IKeyCredential_Vtbl, 0x9585ef8d_457b_4847_b11a_fa960bbdb138); impl windows_core::RuntimeType for IKeyCredential { @@ -16,7 +16,7 @@ impl windows_core::RuntimeType for IKeyCredential { #[repr(C)] pub struct IKeyCredential_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub RetrievePublicKeyWithDefaultBlobType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -57,9 +57,9 @@ pub struct IKeyCredentialManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSupportedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RenewAttestationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestCreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, KeyCredentialCreationOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestCreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, KeyCredentialCreationOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyCredentialOperationResult, IKeyCredentialOperationResult_Vtbl, 0xf53786c1_5261_4cdd_976d_cc909ac71620); impl windows_core::RuntimeType for IKeyCredentialOperationResult { @@ -91,12 +91,12 @@ impl windows_core::RuntimeType for IPasswordCredential { #[repr(C)] pub struct IPasswordCredential_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Resource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Resource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RetrievePassword: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -112,13 +112,13 @@ pub struct IPasswordVault_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Retrieve: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Retrieve: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub FindAllByResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllByResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllByResource: usize, #[cfg(feature = "Foundation_Collections")] - pub FindAllByUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllByUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllByUserName: usize, #[cfg(feature = "Foundation_Collections")] @@ -130,7 +130,7 @@ windows_core::imp::define_interface!(IWebAccount, IWebAccount_Vtbl, 0x69473eb2_8 impl std::ops::Deref for IWebAccount { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAccount, windows_core::IUnknown, windows_core::IInspectable); @@ -138,21 +138,21 @@ impl IWebAccount { pub fn WebAccountProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccountProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -164,7 +164,7 @@ impl windows_core::RuntimeType for IWebAccount { pub struct IWebAccount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub WebAccountProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WebAccountState) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccount2, IWebAccount2_Vtbl, 0x7b56d6f8_990b_4eb5_94a7_5621f3a8b824); @@ -174,7 +174,7 @@ impl windows_core::RuntimeType for IWebAccount2 { #[repr(C)] pub struct IWebAccount2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -184,7 +184,7 @@ pub struct IWebAccount2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetPictureAsync: usize, pub SignOutAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SignOutWithClientIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SignOutWithClientIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountFactory, IWebAccountFactory_Vtbl, 0xac9afb39_1de9_4e92_b78f_0581a87f6e5c); impl windows_core::RuntimeType for IWebAccountFactory { @@ -193,7 +193,7 @@ impl windows_core::RuntimeType for IWebAccountFactory { #[repr(C)] pub struct IWebAccountFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWebAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, WebAccountState, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWebAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, WebAccountState, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountProvider, IWebAccountProvider_Vtbl, 0x29dcc8c3_7ab9_4a7c_a336_b942f9dbf7c7); impl windows_core::RuntimeType for IWebAccountProvider { @@ -202,8 +202,8 @@ impl windows_core::RuntimeType for IWebAccountProvider { #[repr(C)] pub struct IWebAccountProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] pub IconUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] @@ -216,8 +216,8 @@ impl windows_core::RuntimeType for IWebAccountProvider2 { #[repr(C)] pub struct IWebAccountProvider2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayPurpose: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Authority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayPurpose: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Authority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountProvider3, IWebAccountProvider3_Vtbl, 0xda1c518b_970d_4d49_825c_f2706f8ca7fe); impl windows_core::RuntimeType for IWebAccountProvider3 { @@ -247,7 +247,7 @@ impl windows_core::RuntimeType for IWebAccountProviderFactory { #[repr(C)] pub struct IWebAccountProviderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWebAccountProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWebAccountProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -257,7 +257,7 @@ impl KeyCredential { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -265,7 +265,7 @@ impl KeyCredential { pub fn RetrievePublicKeyWithDefaultBlobType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePublicKeyWithDefaultBlobType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -273,7 +273,7 @@ impl KeyCredential { pub fn RetrievePublicKeyWithBlobType(&self, blobtype: super::Cryptography::Core::CryptographicPublicKeyBlobType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePublicKeyWithBlobType)(windows_core::Interface::as_raw(this), blobtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -284,14 +284,14 @@ impl KeyCredential { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSignAsync)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAttestationAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAttestationAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -317,7 +317,7 @@ impl KeyCredentialAttestationResult { pub fn CertificateChainBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CertificateChainBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -325,14 +325,14 @@ impl KeyCredentialAttestationResult { pub fn AttestationBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttestationBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -353,31 +353,31 @@ pub struct KeyCredentialManager; impl KeyCredentialManager { pub fn IsSupportedAsync() -> windows_core::Result> { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupportedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RenewAttestationAsync() -> windows_core::Result { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenewAttestationAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestCreateAsync(name: &windows_core::HSTRING, option: KeyCredentialCreationOption) -> windows_core::Result> { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCreateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OpenAsync(name: &windows_core::HSTRING) -> windows_core::Result> { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DeleteAsync(name: &windows_core::HSTRING) -> windows_core::Result { Self::IKeyCredentialManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -399,14 +399,14 @@ impl KeyCredentialOperationResult { pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -431,14 +431,14 @@ impl KeyCredentialRetrievalResult { pub fn Credential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Credential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -469,14 +469,14 @@ impl PasswordCredential { } pub fn CreatePasswordCredential(resource: &windows_core::HSTRING, username: &windows_core::HSTRING, password: &windows_core::HSTRING) -> windows_core::Result { Self::ICredentialFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePasswordCredential)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(resource), core::mem::transmute_copy(username), core::mem::transmute_copy(password), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Resource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Resource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -487,7 +487,7 @@ impl PasswordCredential { pub fn UserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -498,7 +498,7 @@ impl PasswordCredential { pub fn Password(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Password)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -514,7 +514,7 @@ impl PasswordCredential { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -557,7 +557,7 @@ impl PasswordCredentialPropertyStore { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -565,7 +565,7 @@ impl PasswordCredentialPropertyStore { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -573,7 +573,7 @@ impl PasswordCredentialPropertyStore { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -581,7 +581,7 @@ impl PasswordCredentialPropertyStore { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -589,7 +589,7 @@ impl PasswordCredentialPropertyStore { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -600,7 +600,7 @@ impl PasswordCredentialPropertyStore { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -621,7 +621,7 @@ impl PasswordCredentialPropertyStore { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapChanged)(windows_core::Interface::as_raw(this), vhnd.param().abi(), &mut result__).map(|| result__) } } @@ -693,7 +693,7 @@ impl PasswordVault { pub fn Retrieve(&self, resource: &windows_core::HSTRING, username: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Retrieve)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(resource), core::mem::transmute_copy(username), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -701,7 +701,7 @@ impl PasswordVault { pub fn FindAllByResource(&self, resource: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllByResource)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(resource), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -709,7 +709,7 @@ impl PasswordVault { pub fn FindAllByUserName(&self, username: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllByUserName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(username), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -717,7 +717,7 @@ impl PasswordVault { pub fn RetrieveAll(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveAll)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -743,28 +743,28 @@ impl WebAccount { pub fn WebAccountProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccountProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -772,7 +772,7 @@ impl WebAccount { pub fn Properties(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -780,21 +780,21 @@ impl WebAccount { pub fn GetPictureAsync(&self, desizedsize: WebAccountPictureSize) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPictureAsync)(windows_core::Interface::as_raw(this), desizedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignOutAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignOutAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignOutWithClientIdAsync(&self, clientid: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignOutWithClientIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(clientid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -803,7 +803,7 @@ impl WebAccount { P0: windows_core::Param, { Self::IWebAccountFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWebAccount)(windows_core::Interface::as_raw(this), webaccountprovider.param().abi(), core::mem::transmute_copy(username), state, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -833,14 +833,14 @@ impl WebAccountProvider { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -848,21 +848,21 @@ impl WebAccountProvider { pub fn IconUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IconUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayPurpose(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayPurpose)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Authority(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Authority)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -870,14 +870,14 @@ impl WebAccountProvider { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSystemProvider(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSystemProvider)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -886,7 +886,7 @@ impl WebAccountProvider { P0: windows_core::Param, { Self::IWebAccountProviderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWebAccountProvider)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(displayname), iconuri.param().abi(), &mut result__).and_then(|| windows_core::Type::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 05dbfdc8f5..5f686e8f38 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs @@ -15,13 +15,13 @@ pub struct ICertificate_Vtbl { BuildChainWithParametersAsync: usize, pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub GetHashValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - pub GetHashValueWithAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, + pub GetHashValueWithAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetCertificateBlob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] GetCertificateBlob: usize, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Issuer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Issuer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HasPrivateKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsStronglyProtected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ValidFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, @@ -30,8 +30,8 @@ pub struct ICertificate_Vtbl { pub EnhancedKeyUsages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] EnhancedKeyUsages: usize, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificate2, ICertificate2_Vtbl, 0x17b8374c_8a25_4d96_a492_8fc29ac4fda6); impl windows_core::RuntimeType for ICertificate2 { @@ -42,9 +42,9 @@ pub struct ICertificate2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSecurityDeviceBound: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub KeyUsages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub KeyAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SignatureAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SignatureHashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SignatureAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SignatureHashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SubjectAlternativeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificate3, ICertificate3_Vtbl, 0xbe51a966_ae5f_4652_ace7_c6d7e7724cf3); @@ -55,8 +55,8 @@ impl windows_core::RuntimeType for ICertificate3 { pub struct ICertificate3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsPerUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub StoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificateChain, ICertificateChain_Vtbl, 0x20bf5385_3691_4501_a62c_fd97278b31ee); impl windows_core::RuntimeType for ICertificateChain { @@ -80,8 +80,8 @@ impl windows_core::RuntimeType for ICertificateEnrollmentManagerStatics { pub struct ICertificateEnrollmentManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub InstallCertificateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, InstallOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ImportPfxDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, ExportOption, KeyProtectionLevel, InstallOptions, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InstallCertificateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, InstallOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportPfxDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, ExportOption, KeyProtectionLevel, InstallOptions, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificateEnrollmentManagerStatics2, ICertificateEnrollmentManagerStatics2_Vtbl, 0xdc5b1c33_6429_4014_999c_5d9735802d1d); impl windows_core::RuntimeType for ICertificateEnrollmentManagerStatics2 { @@ -91,7 +91,7 @@ impl windows_core::RuntimeType for ICertificateEnrollmentManagerStatics2 { pub struct ICertificateEnrollmentManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UserCertificateEnrollmentManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ImportPfxDataToKspAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, ExportOption, KeyProtectionLevel, InstallOptions, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportPfxDataToKspAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, ExportOption, KeyProtectionLevel, InstallOptions, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificateEnrollmentManagerStatics3, ICertificateEnrollmentManagerStatics3_Vtbl, 0xfdec82be_617c_425a_b72d_398b26ac7264); impl windows_core::RuntimeType for ICertificateEnrollmentManagerStatics3 { @@ -100,7 +100,7 @@ impl windows_core::RuntimeType for ICertificateEnrollmentManagerStatics3 { #[repr(C)] pub struct ICertificateEnrollmentManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ImportPfxDataToKspWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportPfxDataToKspWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificateExtension, ICertificateExtension_Vtbl, 0x84cf0656_a9e6_454d_8e45_2ea7c4bcd53b); impl windows_core::RuntimeType for ICertificateExtension { @@ -109,11 +109,11 @@ impl windows_core::RuntimeType for ICertificateExtension { #[repr(C)] pub struct ICertificateExtension_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCritical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsCritical: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub EncodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EncodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } @@ -164,10 +164,10 @@ pub struct ICertificateQuery_Vtbl { pub EnhancedKeyUsages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] EnhancedKeyUsages: usize, - pub IssuerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIssuerName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IssuerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIssuerName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Thumbprint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetThumbprint: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub HardwareOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -184,8 +184,8 @@ pub struct ICertificateQuery2_Vtbl { pub SetIncludeDuplicates: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IncludeExpiredCertificates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIncludeExpiredCertificates: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub StoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificateRequestProperties, ICertificateRequestProperties_Vtbl, 0x487e84f6_94e2_4dce_8833_1a700a37a29a); impl windows_core::RuntimeType for ICertificateRequestProperties { @@ -194,24 +194,24 @@ impl windows_core::RuntimeType for ICertificateRequestProperties { #[repr(C)] pub struct ICertificateRequestProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KeyAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetKeyAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetKeyAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub KeySize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetKeySize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Exportable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ExportOption) -> windows_core::HRESULT, pub SetExportable: unsafe extern "system" fn(*mut core::ffi::c_void, ExportOption) -> windows_core::HRESULT, pub KeyUsages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EnrollKeyUsages) -> windows_core::HRESULT, pub SetKeyUsages: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollKeyUsages) -> windows_core::HRESULT, pub KeyProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KeyProtectionLevel) -> windows_core::HRESULT, pub SetKeyProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, KeyProtectionLevel) -> windows_core::HRESULT, - pub KeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetKeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetKeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificateRequestProperties2, ICertificateRequestProperties2_Vtbl, 0x3da0c954_d73f_4ff3_a0a6_0677c0ada05b); impl windows_core::RuntimeType for ICertificateRequestProperties2 { @@ -220,8 +220,8 @@ impl windows_core::RuntimeType for ICertificateRequestProperties2 { #[repr(C)] pub struct ICertificateRequestProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SmartcardReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSmartcardReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SmartcardReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSmartcardReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SigningCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSigningCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AttestationCredentialCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -234,14 +234,14 @@ impl windows_core::RuntimeType for ICertificateRequestProperties3 { #[repr(C)] pub struct ICertificateRequestProperties3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CurveName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCurveName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurveName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCurveName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurveParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetCurveParameters: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, - pub ContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub UseExistingKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetUseExistingKey: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } @@ -279,7 +279,7 @@ impl windows_core::RuntimeType for ICertificateStore2 { #[repr(C)] pub struct ICertificateStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificateStoresStatics, ICertificateStoresStatics_Vtbl, 0xfbecc739_c6fe_4de7_99cf_74c3e596e032); impl windows_core::RuntimeType for ICertificateStoresStatics { @@ -298,7 +298,7 @@ pub struct ICertificateStoresStatics_Vtbl { FindAllWithQueryAsync: usize, pub TrustedRootCertificationAuthorities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IntermediateCertificationAuthorities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetStoreByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetStoreByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertificateStoresStatics2, ICertificateStoresStatics2_Vtbl, 0xfa900b79_a0d4_4b8c_bc55_c0a37eb141ed); impl windows_core::RuntimeType for ICertificateStoresStatics2 { @@ -307,7 +307,7 @@ impl windows_core::RuntimeType for ICertificateStoresStatics2 { #[repr(C)] pub struct ICertificateStoresStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetUserStoreByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetUserStoreByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChainBuildingParameters, IChainBuildingParameters_Vtbl, 0x422ba922_7c8d_47b7_b59b_b12703733ac3); impl windows_core::RuntimeType for IChainBuildingParameters { @@ -448,8 +448,8 @@ pub struct ICmsSignerInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub HashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub TimestampInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICmsTimestampInfo, ICmsTimestampInfo_Vtbl, 0x2f5f00f2_2c18_4f88_8435_c534086076f5); @@ -473,14 +473,14 @@ impl windows_core::RuntimeType for IKeyAlgorithmNamesStatics { #[repr(C)] pub struct IKeyAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Rsa: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Dsa: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ecdh256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ecdh384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ecdh521: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ecdsa256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ecdsa384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ecdsa521: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rsa: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Dsa: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ecdh256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ecdh384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ecdh521: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ecdsa256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ecdsa384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ecdsa521: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyAlgorithmNamesStatics2, IKeyAlgorithmNamesStatics2_Vtbl, 0xc99b5686_e1fd_4a4a_893d_a26f33dd8bb4); impl windows_core::RuntimeType for IKeyAlgorithmNamesStatics2 { @@ -489,8 +489,8 @@ impl windows_core::RuntimeType for IKeyAlgorithmNamesStatics2 { #[repr(C)] pub struct IKeyAlgorithmNamesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Ecdsa: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ecdh: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ecdsa: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ecdh: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyAttestationHelperStatics, IKeyAttestationHelperStatics_Vtbl, 0x1648e246_f644_4326_88be_3af102d30e0c); impl windows_core::RuntimeType for IKeyAttestationHelperStatics { @@ -499,8 +499,8 @@ impl windows_core::RuntimeType for IKeyAttestationHelperStatics { #[repr(C)] pub struct IKeyAttestationHelperStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DecryptTpmAttestationCredentialAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetTpmAttestationCredentialId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DecryptTpmAttestationCredentialAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTpmAttestationCredentialId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyAttestationHelperStatics2, IKeyAttestationHelperStatics2_Vtbl, 0x9c590b2c_a6c6_4a5e_9e64_e85d5279df97); impl windows_core::RuntimeType for IKeyAttestationHelperStatics2 { @@ -509,7 +509,7 @@ impl windows_core::RuntimeType for IKeyAttestationHelperStatics2 { #[repr(C)] pub struct IKeyAttestationHelperStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DecryptTpmAttestationCredentialWithContainerNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DecryptTpmAttestationCredentialWithContainerNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyStorageProviderNamesStatics, IKeyStorageProviderNamesStatics_Vtbl, 0xaf186ae0_5529_4602_bd94_0aab91957b5c); impl windows_core::RuntimeType for IKeyStorageProviderNamesStatics { @@ -518,9 +518,9 @@ impl windows_core::RuntimeType for IKeyStorageProviderNamesStatics { #[repr(C)] pub struct IKeyStorageProviderNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SoftwareKeyStorageProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SmartcardKeyStorageProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlatformKeyStorageProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SoftwareKeyStorageProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SmartcardKeyStorageProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlatformKeyStorageProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyStorageProviderNamesStatics2, IKeyStorageProviderNamesStatics2_Vtbl, 0x262d743d_9c2e_41cc_8812_c4d971dd7c60); impl windows_core::RuntimeType for IKeyStorageProviderNamesStatics2 { @@ -529,7 +529,7 @@ impl windows_core::RuntimeType for IKeyStorageProviderNamesStatics2 { #[repr(C)] pub struct IKeyStorageProviderNamesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PassportKeyStorageProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PassportKeyStorageProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPfxImportParameters, IPfxImportParameters_Vtbl, 0x680d3511_9a08_47c8_864a_2edd4d8eb46c); impl windows_core::RuntimeType for IPfxImportParameters { @@ -544,14 +544,14 @@ pub struct IPfxImportParameters_Vtbl { pub SetKeyProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, KeyProtectionLevel) -> windows_core::HRESULT, pub InstallOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InstallOptions) -> windows_core::HRESULT, pub SetInstallOptions: unsafe extern "system" fn(*mut core::ffi::c_void, InstallOptions) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetKeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetKeyStorageProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStandardCertificateStoreNamesStatics, IStandardCertificateStoreNamesStatics_Vtbl, 0x0c154adb_a496_41f8_8fe5_9e96f36efbf8); impl windows_core::RuntimeType for IStandardCertificateStoreNamesStatics { @@ -560,9 +560,9 @@ impl windows_core::RuntimeType for IStandardCertificateStoreNamesStatics { #[repr(C)] pub struct IStandardCertificateStoreNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Personal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TrustedRootCertificationAuthorities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IntermediateCertificationAuthorities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Personal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrustedRootCertificationAuthorities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IntermediateCertificationAuthorities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISubjectAlternativeNameInfo, ISubjectAlternativeNameInfo_Vtbl, 0x582859f1_569d_4c20_be7b_4e1c9a0bc52b); impl windows_core::RuntimeType for ISubjectAlternativeNameInfo { @@ -637,9 +637,9 @@ impl windows_core::RuntimeType for IUserCertificateEnrollmentManager { pub struct IUserCertificateEnrollmentManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub InstallCertificateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, InstallOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ImportPfxDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, ExportOption, KeyProtectionLevel, InstallOptions, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ImportPfxDataToKspAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, ExportOption, KeyProtectionLevel, InstallOptions, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InstallCertificateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, InstallOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportPfxDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, ExportOption, KeyProtectionLevel, InstallOptions, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportPfxDataToKspAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, ExportOption, KeyProtectionLevel, InstallOptions, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserCertificateEnrollmentManager2, IUserCertificateEnrollmentManager2_Vtbl, 0x0dad9cb1_65de_492a_b86d_fc5c482c3747); impl windows_core::RuntimeType for IUserCertificateEnrollmentManager2 { @@ -648,7 +648,7 @@ impl windows_core::RuntimeType for IUserCertificateEnrollmentManager2 { #[repr(C)] pub struct IUserCertificateEnrollmentManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ImportPfxDataToKspWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportPfxDataToKspWithParametersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserCertificateStore, IUserCertificateStore_Vtbl, 0xc9fb1d83_789f_4b4e_9180_045a757aac6d); impl windows_core::RuntimeType for IUserCertificateStore { @@ -659,7 +659,7 @@ pub struct IUserCertificateStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestAddAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestDeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -673,7 +673,7 @@ impl Certificate { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildChainAsync)(windows_core::Interface::as_raw(this), certificates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -685,7 +685,7 @@ impl Certificate { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildChainWithParametersAsync)(windows_core::Interface::as_raw(this), certificates.param().abi(), parameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -693,70 +693,70 @@ impl Certificate { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).SerialNumber)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn GetHashValue(&self) -> windows_core::Result> { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetHashValue)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn GetHashValueWithAlgorithm(&self, hashalgorithmname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { let mut result__ = core::mem::MaybeUninit::zeroed(); - (windows_core::Interface::vtable(this).GetHashValueWithAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hashalgorithmname), windows_core::Array::::set_abi_len(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).GetHashValueWithAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hashalgorithmname), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "Storage_Streams")] pub fn GetCertificateBlob(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCertificateBlob)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Issuer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Issuer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasPrivateKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasPrivateKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsStronglyProtected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStronglyProtected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ValidFrom(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidFrom)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ValidTo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidTo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -764,7 +764,7 @@ impl Certificate { pub fn EnhancedKeyUsages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnhancedKeyUsages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -775,70 +775,70 @@ impl Certificate { pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSecurityDeviceBound(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSecurityDeviceBound)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn KeyUsages(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyUsages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn KeyAlgorithmName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyAlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignatureAlgorithmName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignatureAlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SignatureHashAlgorithmName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignatureHashAlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SubjectAlternativeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubjectAlternativeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPerUser(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPerUser)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StoreName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn KeyStorageProviderName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyStorageProviderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -848,7 +848,7 @@ impl Certificate { P0: windows_core::Param, { Self::ICertificateFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCertificate)(windows_core::Interface::as_raw(this), certblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -878,7 +878,7 @@ impl CertificateChain { pub fn Validate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Validate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -888,7 +888,7 @@ impl CertificateChain { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidateWithParameters)(windows_core::Interface::as_raw(this), parameter.param().abi(), &mut result__).map(|| result__) } } @@ -896,7 +896,7 @@ impl CertificateChain { pub fn GetCertificates(&self, includeroot: bool) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCertificates)(windows_core::Interface::as_raw(this), includeroot, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -920,31 +920,31 @@ impl CertificateEnrollmentManager { P0: windows_core::Param, { Self::ICertificateEnrollmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRequestAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn InstallCertificateAsync(certificate: &windows_core::HSTRING, installoption: InstallOptions) -> windows_core::Result { Self::ICertificateEnrollmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallCertificateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(certificate), installoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ImportPfxDataAsync(pfxdata: &windows_core::HSTRING, password: &windows_core::HSTRING, exportable: ExportOption, keyprotectionlevel: KeyProtectionLevel, installoption: InstallOptions, friendlyname: &windows_core::HSTRING) -> windows_core::Result { Self::ICertificateEnrollmentManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportPfxDataAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pfxdata), core::mem::transmute_copy(password), exportable, keyprotectionlevel, installoption, core::mem::transmute_copy(friendlyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UserCertificateEnrollmentManager() -> windows_core::Result { Self::ICertificateEnrollmentManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserCertificateEnrollmentManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ImportPfxDataToKspAsync(pfxdata: &windows_core::HSTRING, password: &windows_core::HSTRING, exportable: ExportOption, keyprotectionlevel: KeyProtectionLevel, installoption: InstallOptions, friendlyname: &windows_core::HSTRING, keystorageprovider: &windows_core::HSTRING) -> windows_core::Result { Self::ICertificateEnrollmentManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportPfxDataToKspAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pfxdata), core::mem::transmute_copy(password), exportable, keyprotectionlevel, installoption, core::mem::transmute_copy(friendlyname), core::mem::transmute_copy(keystorageprovider), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -953,7 +953,7 @@ impl CertificateEnrollmentManager { P0: windows_core::Param, { Self::ICertificateEnrollmentManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportPfxDataToKspWithParametersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pfxdata), core::mem::transmute_copy(password), pfximportparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -991,7 +991,7 @@ impl CertificateExtension { pub fn ObjectId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ObjectId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1002,7 +1002,7 @@ impl CertificateExtension { pub fn IsCritical(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCritical)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1018,7 +1018,7 @@ impl CertificateExtension { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn SetValue(&self, value: &[u8]) -> windows_core::Result<()> { @@ -1053,7 +1053,7 @@ impl CertificateKeyUsages { pub fn EncipherOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncipherOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1064,7 +1064,7 @@ impl CertificateKeyUsages { pub fn CrlSign(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CrlSign)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1075,7 +1075,7 @@ impl CertificateKeyUsages { pub fn KeyCertificateSign(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyCertificateSign)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1086,7 +1086,7 @@ impl CertificateKeyUsages { pub fn KeyAgreement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyAgreement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1097,7 +1097,7 @@ impl CertificateKeyUsages { pub fn DataEncipherment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataEncipherment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1108,7 +1108,7 @@ impl CertificateKeyUsages { pub fn KeyEncipherment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyEncipherment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1119,7 +1119,7 @@ impl CertificateKeyUsages { pub fn NonRepudiation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NonRepudiation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1130,7 +1130,7 @@ impl CertificateKeyUsages { pub fn DigitalSignature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DigitalSignature)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1167,14 +1167,14 @@ impl CertificateQuery { pub fn EnhancedKeyUsages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnhancedKeyUsages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IssuerName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IssuerName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1185,7 +1185,7 @@ impl CertificateQuery { pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1197,7 +1197,7 @@ impl CertificateQuery { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).Thumbprint)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn SetThumbprint(&self, value: &[u8]) -> windows_core::Result<()> { @@ -1207,7 +1207,7 @@ impl CertificateQuery { pub fn HardwareOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardwareOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1218,7 +1218,7 @@ impl CertificateQuery { pub fn IncludeDuplicates(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeDuplicates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1229,7 +1229,7 @@ impl CertificateQuery { pub fn IncludeExpiredCertificates(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IncludeExpiredCertificates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1240,7 +1240,7 @@ impl CertificateQuery { pub fn StoreName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1276,7 +1276,7 @@ impl CertificateRequestProperties { pub fn Subject(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1287,7 +1287,7 @@ impl CertificateRequestProperties { pub fn KeyAlgorithmName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyAlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1298,7 +1298,7 @@ impl CertificateRequestProperties { pub fn KeySize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeySize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1309,7 +1309,7 @@ impl CertificateRequestProperties { pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1320,7 +1320,7 @@ impl CertificateRequestProperties { pub fn HashAlgorithmName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HashAlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1331,7 +1331,7 @@ impl CertificateRequestProperties { pub fn Exportable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exportable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1342,7 +1342,7 @@ impl CertificateRequestProperties { pub fn KeyUsages(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyUsages)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1353,7 +1353,7 @@ impl CertificateRequestProperties { pub fn KeyProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1364,7 +1364,7 @@ impl CertificateRequestProperties { pub fn KeyStorageProviderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyStorageProviderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1375,7 +1375,7 @@ impl CertificateRequestProperties { pub fn SmartcardReaderName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartcardReaderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1386,7 +1386,7 @@ impl CertificateRequestProperties { pub fn SigningCertificate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SigningCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1400,7 +1400,7 @@ impl CertificateRequestProperties { pub fn AttestationCredentialCertificate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttestationCredentialCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1414,7 +1414,7 @@ impl CertificateRequestProperties { pub fn CurveName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurveName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1426,7 +1426,7 @@ impl CertificateRequestProperties { let this = &windows_core::Interface::cast::(self)?; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).CurveParameters)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } pub fn SetCurveParameters(&self, value: &[u8]) -> windows_core::Result<()> { @@ -1436,7 +1436,7 @@ impl CertificateRequestProperties { pub fn ContainerNamePrefix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainerNamePrefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1447,7 +1447,7 @@ impl CertificateRequestProperties { pub fn ContainerName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainerName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1458,7 +1458,7 @@ impl CertificateRequestProperties { pub fn UseExistingKey(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UseExistingKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1470,14 +1470,14 @@ impl CertificateRequestProperties { pub fn SuppressedDefaults(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuppressedDefaults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SubjectAlternativeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubjectAlternativeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1485,7 +1485,7 @@ impl CertificateRequestProperties { pub fn Extensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Extensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1524,7 +1524,7 @@ impl CertificateStore { pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1546,7 +1546,7 @@ impl CertificateStores { #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> windows_core::Result>> { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1556,31 +1556,31 @@ impl CertificateStores { P0: windows_core::Param, { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllWithQueryAsync)(windows_core::Interface::as_raw(this), query.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TrustedRootCertificationAuthorities() -> windows_core::Result { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrustedRootCertificationAuthorities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IntermediateCertificationAuthorities() -> windows_core::Result { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IntermediateCertificationAuthorities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetStoreByName(storename: &windows_core::HSTRING) -> windows_core::Result { Self::ICertificateStoresStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStoreByName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(storename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetUserStoreByName(storename: &windows_core::HSTRING) -> windows_core::Result { Self::ICertificateStoresStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUserStoreByName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(storename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1614,14 +1614,14 @@ impl ChainBuildingParameters { pub fn EnhancedKeyUsages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnhancedKeyUsages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ValidationTimestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValidationTimestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1632,7 +1632,7 @@ impl ChainBuildingParameters { pub fn RevocationCheckEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RevocationCheckEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1643,7 +1643,7 @@ impl ChainBuildingParameters { pub fn NetworkRetrievalEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NetworkRetrievalEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1654,7 +1654,7 @@ impl ChainBuildingParameters { pub fn AuthorityInformationAccessEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthorityInformationAccessEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1665,7 +1665,7 @@ impl ChainBuildingParameters { pub fn CurrentTimeValidationEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentTimeValidationEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1677,7 +1677,7 @@ impl ChainBuildingParameters { pub fn ExclusiveTrustRoots(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExclusiveTrustRoots)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1709,7 +1709,7 @@ impl ChainValidationParameters { pub fn CertificateChainPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CertificateChainPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1721,7 +1721,7 @@ impl ChainValidationParameters { pub fn ServerDnsName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerDnsName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1755,7 +1755,7 @@ impl CmsAttachedSignature { pub fn Certificates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Certificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1763,21 +1763,21 @@ impl CmsAttachedSignature { let this = self; unsafe { 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(std::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) + (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), windows_core::Array::::set_abi_len(core::mem::transmute(&mut result__)), result__.as_mut_ptr() as *mut _ as _).map(|| result__.assume_init()) } } #[cfg(feature = "Foundation_Collections")] pub fn Signers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Signers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VerifySignature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerifySignature)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1787,7 +1787,7 @@ impl CmsAttachedSignature { P0: windows_core::Param, { Self::ICmsAttachedSignatureFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCmsAttachedSignature)(windows_core::Interface::as_raw(this), inputblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1799,7 +1799,7 @@ impl CmsAttachedSignature { P2: windows_core::Param>, { Self::ICmsAttachedSignatureStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateSignatureAsync)(windows_core::Interface::as_raw(this), data.param().abi(), signers.param().abi(), certificates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1835,7 +1835,7 @@ impl CmsDetachedSignature { pub fn Certificates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Certificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1843,7 +1843,7 @@ impl CmsDetachedSignature { pub fn Signers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Signers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1854,7 +1854,7 @@ impl CmsDetachedSignature { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerifySignatureAsync)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1864,7 +1864,7 @@ impl CmsDetachedSignature { P0: windows_core::Param, { Self::ICmsDetachedSignatureFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCmsDetachedSignature)(windows_core::Interface::as_raw(this), inputblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1876,7 +1876,7 @@ impl CmsDetachedSignature { P2: windows_core::Param>, { Self::ICmsDetachedSignatureStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateSignatureAsync)(windows_core::Interface::as_raw(this), data.param().abi(), signers.param().abi(), certificates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1918,7 +1918,7 @@ impl CmsSignerInfo { pub fn Certificate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Certificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1932,7 +1932,7 @@ impl CmsSignerInfo { pub fn HashAlgorithmName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HashAlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1943,7 +1943,7 @@ impl CmsSignerInfo { pub fn TimestampInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimestampInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1968,7 +1968,7 @@ impl CmsTimestampInfo { pub fn SigningCertificate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SigningCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1976,14 +1976,14 @@ impl CmsTimestampInfo { pub fn Certificates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Certificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2004,61 +2004,61 @@ pub struct KeyAlgorithmNames; impl KeyAlgorithmNames { pub fn Rsa() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rsa)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Dsa() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dsa)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ecdh256() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ecdh256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ecdh384() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ecdh384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ecdh521() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ecdh521)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ecdsa256() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ecdsa256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ecdsa384() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ecdsa384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ecdsa521() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ecdsa521)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ecdsa() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ecdsa)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ecdh() -> windows_core::Result { Self::IKeyAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ecdh)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2080,19 +2080,19 @@ pub struct KeyAttestationHelper; impl KeyAttestationHelper { pub fn DecryptTpmAttestationCredentialAsync(credential: &windows_core::HSTRING) -> windows_core::Result> { Self::IKeyAttestationHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecryptTpmAttestationCredentialAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(credential), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetTpmAttestationCredentialId(credential: &windows_core::HSTRING) -> windows_core::Result { Self::IKeyAttestationHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTpmAttestationCredentialId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(credential), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DecryptTpmAttestationCredentialWithContainerNameAsync(credential: &windows_core::HSTRING, containername: &windows_core::HSTRING) -> windows_core::Result> { Self::IKeyAttestationHelperStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecryptTpmAttestationCredentialWithContainerNameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(credential), core::mem::transmute_copy(containername), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2114,25 +2114,25 @@ pub struct KeyStorageProviderNames; impl KeyStorageProviderNames { pub fn SoftwareKeyStorageProvider() -> windows_core::Result { Self::IKeyStorageProviderNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SoftwareKeyStorageProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SmartcardKeyStorageProvider() -> windows_core::Result { Self::IKeyStorageProviderNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmartcardKeyStorageProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PlatformKeyStorageProvider() -> windows_core::Result { Self::IKeyStorageProviderNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlatformKeyStorageProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PassportKeyStorageProvider() -> windows_core::Result { Self::IKeyStorageProviderNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PassportKeyStorageProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2165,7 +2165,7 @@ impl PfxImportParameters { pub fn Exportable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exportable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2176,7 +2176,7 @@ impl PfxImportParameters { pub fn KeyProtectionLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyProtectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2187,7 +2187,7 @@ impl PfxImportParameters { pub fn InstallOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2198,7 +2198,7 @@ impl PfxImportParameters { pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2209,7 +2209,7 @@ impl PfxImportParameters { pub fn KeyStorageProviderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyStorageProviderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2220,7 +2220,7 @@ impl PfxImportParameters { pub fn ContainerNamePrefix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainerNamePrefix)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2231,7 +2231,7 @@ impl PfxImportParameters { pub fn ReaderName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReaderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2256,19 +2256,19 @@ pub struct StandardCertificateStoreNames; impl StandardCertificateStoreNames { pub fn Personal() -> windows_core::Result { Self::IStandardCertificateStoreNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Personal)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TrustedRootCertificationAuthorities() -> windows_core::Result { Self::IStandardCertificateStoreNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrustedRootCertificationAuthorities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IntermediateCertificationAuthorities() -> windows_core::Result { Self::IStandardCertificateStoreNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IntermediateCertificationAuthorities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2297,7 +2297,7 @@ impl SubjectAlternativeNameInfo { pub fn EmailName(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2305,7 +2305,7 @@ impl SubjectAlternativeNameInfo { pub fn IPAddress(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IPAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2313,7 +2313,7 @@ impl SubjectAlternativeNameInfo { pub fn Url(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Url)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2321,7 +2321,7 @@ impl SubjectAlternativeNameInfo { pub fn DnsName(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DnsName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2329,7 +2329,7 @@ impl SubjectAlternativeNameInfo { pub fn DistinguishedName(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistinguishedName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2337,7 +2337,7 @@ impl SubjectAlternativeNameInfo { pub fn PrincipalName(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrincipalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2345,7 +2345,7 @@ impl SubjectAlternativeNameInfo { pub fn EmailNames(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmailNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2353,7 +2353,7 @@ impl SubjectAlternativeNameInfo { pub fn IPAddresses(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IPAddresses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2361,7 +2361,7 @@ impl SubjectAlternativeNameInfo { pub fn Urls(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Urls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2369,7 +2369,7 @@ impl SubjectAlternativeNameInfo { pub fn DnsNames(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DnsNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2377,7 +2377,7 @@ impl SubjectAlternativeNameInfo { pub fn DistinguishedNames(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistinguishedNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2385,14 +2385,14 @@ impl SubjectAlternativeNameInfo { pub fn PrincipalNames(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrincipalNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Extension(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Extension)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2420,28 +2420,28 @@ impl UserCertificateEnrollmentManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRequestAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstallCertificateAsync(&self, certificate: &windows_core::HSTRING, installoption: InstallOptions) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallCertificateAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(certificate), installoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ImportPfxDataAsync(&self, pfxdata: &windows_core::HSTRING, password: &windows_core::HSTRING, exportable: ExportOption, keyprotectionlevel: KeyProtectionLevel, installoption: InstallOptions, friendlyname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportPfxDataAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pfxdata), core::mem::transmute_copy(password), exportable, keyprotectionlevel, installoption, core::mem::transmute_copy(friendlyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ImportPfxDataToKspAsync(&self, pfxdata: &windows_core::HSTRING, password: &windows_core::HSTRING, exportable: ExportOption, keyprotectionlevel: KeyProtectionLevel, installoption: InstallOptions, friendlyname: &windows_core::HSTRING, keystorageprovider: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportPfxDataToKspAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pfxdata), core::mem::transmute_copy(password), exportable, keyprotectionlevel, installoption, core::mem::transmute_copy(friendlyname), core::mem::transmute_copy(keystorageprovider), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2451,7 +2451,7 @@ impl UserCertificateEnrollmentManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportPfxDataToKspWithParametersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pfxdata), core::mem::transmute_copy(password), pfximportparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2479,7 +2479,7 @@ impl UserCertificateStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAddAsync)(windows_core::Interface::as_raw(this), certificate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2489,14 +2489,14 @@ impl UserCertificateStore { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDeleteAsync)(windows_core::Interface::as_raw(this), certificate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 d83233c837..36a51080d7 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs @@ -5,24 +5,24 @@ impl windows_core::RuntimeType for IAsymmetricAlgorithmNamesStatics { #[repr(C)] pub struct IAsymmetricAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RsaPkcs1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaOaepSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaOaepSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaOaepSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaOaepSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EcdsaP256Sha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EcdsaP384Sha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EcdsaP521Sha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DsaSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DsaSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaSignPkcs1Sha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaSignPkcs1Sha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaSignPkcs1Sha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaSignPkcs1Sha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaSignPssSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaSignPssSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaSignPssSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RsaSignPssSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaPkcs1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaOaepSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaOaepSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaOaepSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaOaepSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EcdsaP256Sha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EcdsaP384Sha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EcdsaP521Sha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DsaSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DsaSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaSignPkcs1Sha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaSignPkcs1Sha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaSignPkcs1Sha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaSignPkcs1Sha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaSignPssSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaSignPssSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaSignPssSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RsaSignPssSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAsymmetricAlgorithmNamesStatics2, IAsymmetricAlgorithmNamesStatics2_Vtbl, 0xf141c0d6_4bff_4f23_ba66_6045b137d5df); impl windows_core::RuntimeType for IAsymmetricAlgorithmNamesStatics2 { @@ -31,9 +31,9 @@ impl windows_core::RuntimeType for IAsymmetricAlgorithmNamesStatics2 { #[repr(C)] pub struct IAsymmetricAlgorithmNamesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EcdsaSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EcdsaSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EcdsaSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EcdsaSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EcdsaSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EcdsaSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAsymmetricKeyAlgorithmProvider, IAsymmetricKeyAlgorithmProvider_Vtbl, 0xe8d2ff37_6259_4e88_b7e0_94191fde699e); impl windows_core::RuntimeType for IAsymmetricKeyAlgorithmProvider { @@ -42,7 +42,7 @@ impl windows_core::RuntimeType for IAsymmetricKeyAlgorithmProvider { #[repr(C)] pub struct IAsymmetricKeyAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreateKeyPair: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub ImportDefaultPrivateKeyBlob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -68,7 +68,7 @@ impl windows_core::RuntimeType for IAsymmetricKeyAlgorithmProvider2 { #[repr(C)] pub struct IAsymmetricKeyAlgorithmProvider2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateKeyPairWithCurveName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateKeyPairWithCurveName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateKeyPairWithCurveParameters: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAsymmetricKeyAlgorithmProviderStatics, IAsymmetricKeyAlgorithmProviderStatics_Vtbl, 0x425bde18_a7f3_47a6_a8d2_c48d6033a65c); @@ -78,7 +78,7 @@ impl windows_core::RuntimeType for IAsymmetricKeyAlgorithmProviderStatics { #[repr(C)] pub struct IAsymmetricKeyAlgorithmProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICryptographicEngineStatics, ICryptographicEngineStatics_Vtbl, 0x9fea0639_6ff7_4c85_a095_95eb31715eb9); impl windows_core::RuntimeType for ICryptographicEngineStatics { @@ -176,51 +176,51 @@ impl windows_core::RuntimeType for IEccCurveNamesStatics { #[repr(C)] pub struct IEccCurveNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub BrainpoolP160r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP160t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP192r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP192t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP224r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP224t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP256r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP256t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP320r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP320t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP384r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP384t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP512r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BrainpoolP512t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Curve25519: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ec192wapi: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NistP192: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NistP224: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NistP256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NistP384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NistP521: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NumsP256t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NumsP384t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NumsP512t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP160k1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP160r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP160r2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP192k1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP192r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP224k1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP224r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP256k1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP256r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP384r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecP521r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Wtls7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Wtls9: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Wtls12: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub X962P192v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub X962P192v2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub X962P192v3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub X962P239v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub X962P239v2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub X962P239v3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub X962P256v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP160r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP160t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP192r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP192t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP224r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP224t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP256r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP256t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP320r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP320t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP384r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP384t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP512r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrainpoolP512t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Curve25519: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ec192wapi: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NistP192: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NistP224: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NistP256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NistP384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NistP521: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumsP256t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumsP384t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumsP512t1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP160k1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP160r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP160r2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP192k1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP192r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP224k1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP224r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP256k1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP256r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP384r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecP521r1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Wtls7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Wtls9: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Wtls12: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub X962P192v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub X962P192v2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub X962P192v3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub X962P239v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub X962P239v2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub X962P239v3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub X962P256v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AllEccCurveNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -249,11 +249,11 @@ impl windows_core::RuntimeType for IHashAlgorithmNamesStatics { #[repr(C)] pub struct IHashAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Md5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Md5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHashAlgorithmProvider, IHashAlgorithmProvider_Vtbl, 0xbe9b3080_b2c3_422b_bce1_ec90efb5d7b5); impl windows_core::RuntimeType for IHashAlgorithmProvider { @@ -262,7 +262,7 @@ impl windows_core::RuntimeType for IHashAlgorithmProvider { #[repr(C)] pub struct IHashAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HashLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub HashData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -277,7 +277,7 @@ impl windows_core::RuntimeType for IHashAlgorithmProviderStatics { #[repr(C)] pub struct IHashAlgorithmProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHashComputation, IHashComputation_Vtbl, 0x5904d1b6_ad31_4603_a3a4_b1bda98e2562); impl windows_core::RuntimeType for IHashComputation { @@ -302,21 +302,21 @@ impl windows_core::RuntimeType for IKeyDerivationAlgorithmNamesStatics { #[repr(C)] pub struct IKeyDerivationAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Pbkdf2Md5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Pbkdf2Sha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Pbkdf2Sha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Pbkdf2Sha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Pbkdf2Sha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp800108CtrHmacMd5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp800108CtrHmacSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp800108CtrHmacSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp800108CtrHmacSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp800108CtrHmacSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp80056aConcatMd5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp80056aConcatSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp80056aConcatSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp80056aConcatSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sp80056aConcatSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pbkdf2Md5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pbkdf2Sha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pbkdf2Sha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pbkdf2Sha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pbkdf2Sha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp800108CtrHmacMd5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp800108CtrHmacSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp800108CtrHmacSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp800108CtrHmacSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp800108CtrHmacSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp80056aConcatMd5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp80056aConcatSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp80056aConcatSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp80056aConcatSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sp80056aConcatSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyDerivationAlgorithmNamesStatics2, IKeyDerivationAlgorithmNamesStatics2_Vtbl, 0x57953fab_6044_466f_97f4_337b7808384d); impl windows_core::RuntimeType for IKeyDerivationAlgorithmNamesStatics2 { @@ -325,11 +325,11 @@ impl windows_core::RuntimeType for IKeyDerivationAlgorithmNamesStatics2 { #[repr(C)] pub struct IKeyDerivationAlgorithmNamesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CapiKdfMd5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CapiKdfSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CapiKdfSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CapiKdfSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CapiKdfSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CapiKdfMd5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CapiKdfSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CapiKdfSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CapiKdfSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CapiKdfSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyDerivationAlgorithmProvider, IKeyDerivationAlgorithmProvider_Vtbl, 0xe1fba83b_4671_43b7_9158_763aaa98b6bf); impl windows_core::RuntimeType for IKeyDerivationAlgorithmProvider { @@ -338,7 +338,7 @@ impl windows_core::RuntimeType for IKeyDerivationAlgorithmProvider { #[repr(C)] pub struct IKeyDerivationAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub CreateKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -351,7 +351,7 @@ impl windows_core::RuntimeType for IKeyDerivationAlgorithmProviderStatics { #[repr(C)] pub struct IKeyDerivationAlgorithmProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyDerivationParameters, IKeyDerivationParameters_Vtbl, 0x7bf05967_047b_4a8c_964a_469ffd5522e2); impl windows_core::RuntimeType for IKeyDerivationParameters { @@ -416,12 +416,12 @@ impl windows_core::RuntimeType for IMacAlgorithmNamesStatics { #[repr(C)] pub struct IMacAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub HmacMd5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HmacSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HmacSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HmacSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HmacSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AesCmac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HmacMd5: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HmacSha1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HmacSha256: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HmacSha384: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HmacSha512: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AesCmac: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMacAlgorithmProvider, IMacAlgorithmProvider_Vtbl, 0x4a3fc5c3_1cbd_41ce_a092_aa0bc5d2d2f5); impl windows_core::RuntimeType for IMacAlgorithmProvider { @@ -430,7 +430,7 @@ impl windows_core::RuntimeType for IMacAlgorithmProvider { #[repr(C)] pub struct IMacAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MacLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub CreateKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -456,7 +456,7 @@ impl windows_core::RuntimeType for IMacAlgorithmProviderStatics { #[repr(C)] pub struct IMacAlgorithmProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistedKeyProviderStatics, IPersistedKeyProviderStatics_Vtbl, 0x77274814_d9d4_4cf5_b668_e0457df30894); impl windows_core::RuntimeType for IPersistedKeyProviderStatics { @@ -466,11 +466,11 @@ impl windows_core::RuntimeType for IPersistedKeyProviderStatics { pub struct IPersistedKeyProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Security_Cryptography_Certificates")] - pub OpenKeyPairFromCertificateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, CryptographicPadding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenKeyPairFromCertificateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, CryptographicPadding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Cryptography_Certificates"))] OpenKeyPairFromCertificateAsync: usize, #[cfg(feature = "Security_Cryptography_Certificates")] - pub OpenPublicKeyFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, CryptographicPadding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenPublicKeyFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, CryptographicPadding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Security_Cryptography_Certificates"))] OpenPublicKeyFromCertificate: usize, } @@ -481,25 +481,25 @@ impl windows_core::RuntimeType for ISymmetricAlgorithmNamesStatics { #[repr(C)] pub struct ISymmetricAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DesCbc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DesEcb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TripleDesCbc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TripleDesEcb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rc2Cbc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rc2Ecb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AesCbc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AesEcb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AesGcm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AesCcm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AesCbcPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AesEcbPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DesCbcPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DesEcbPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TripleDesCbcPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TripleDesEcbPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rc2CbcPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rc2EcbPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rc4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DesCbc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DesEcb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TripleDesCbc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TripleDesEcb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rc2Cbc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rc2Ecb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AesCbc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AesEcb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AesGcm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AesCcm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AesCbcPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AesEcbPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DesCbcPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DesEcbPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TripleDesCbcPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TripleDesEcbPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rc2CbcPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rc2EcbPkcs7: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rc4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISymmetricKeyAlgorithmProvider, ISymmetricKeyAlgorithmProvider_Vtbl, 0x3d7e4a33_3bd0_4902_8ac8_470d50d21376); impl windows_core::RuntimeType for ISymmetricKeyAlgorithmProvider { @@ -508,7 +508,7 @@ impl windows_core::RuntimeType for ISymmetricKeyAlgorithmProvider { #[repr(C)] pub struct ISymmetricKeyAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BlockLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub CreateSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -522,133 +522,133 @@ impl windows_core::RuntimeType for ISymmetricKeyAlgorithmProviderStatics { #[repr(C)] pub struct ISymmetricKeyAlgorithmProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } pub struct AsymmetricAlgorithmNames; impl AsymmetricAlgorithmNames { pub fn RsaPkcs1() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaPkcs1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaOaepSha1() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaOaepSha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaOaepSha256() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaOaepSha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaOaepSha384() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaOaepSha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaOaepSha512() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaOaepSha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EcdsaP256Sha256() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EcdsaP256Sha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EcdsaP384Sha384() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EcdsaP384Sha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EcdsaP521Sha512() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EcdsaP521Sha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DsaSha1() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DsaSha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DsaSha256() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DsaSha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaSignPkcs1Sha1() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaSignPkcs1Sha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaSignPkcs1Sha256() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaSignPkcs1Sha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaSignPkcs1Sha384() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaSignPkcs1Sha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaSignPkcs1Sha512() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaSignPkcs1Sha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaSignPssSha1() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaSignPssSha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaSignPssSha256() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaSignPssSha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaSignPssSha384() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaSignPssSha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RsaSignPssSha512() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RsaSignPssSha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EcdsaSha256() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EcdsaSha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EcdsaSha384() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EcdsaSha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EcdsaSha512() -> windows_core::Result { Self::IAsymmetricAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EcdsaSha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -674,14 +674,14 @@ impl AsymmetricKeyAlgorithmProvider { pub fn AlgorithmName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateKeyPair(&self, keysize: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateKeyPair)(windows_core::Interface::as_raw(this), keysize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -692,7 +692,7 @@ impl AsymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportDefaultPrivateKeyBlob)(windows_core::Interface::as_raw(this), keyblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -703,7 +703,7 @@ impl AsymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportKeyPairWithBlobType)(windows_core::Interface::as_raw(this), keyblob.param().abi(), blobtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -714,7 +714,7 @@ impl AsymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportDefaultPublicKeyBlob)(windows_core::Interface::as_raw(this), keyblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -725,27 +725,27 @@ impl AsymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImportPublicKeyWithBlobType)(windows_core::Interface::as_raw(this), keyblob.param().abi(), blobtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateKeyPairWithCurveName(&self, curvename: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateKeyPairWithCurveName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(curvename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateKeyPairWithCurveParameters(&self, parameters: &[u8]) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateKeyPairWithCurveParameters)(windows_core::Interface::as_raw(this), parameters.len().try_into().unwrap(), parameters.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenAlgorithm(algorithm: &windows_core::HSTRING) -> windows_core::Result { Self::IAsymmetricKeyAlgorithmProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -777,7 +777,7 @@ impl CryptographicEngine { P2: windows_core::Param, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Encrypt)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), iv.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -789,7 +789,7 @@ impl CryptographicEngine { P2: windows_core::Param, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Decrypt)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), iv.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -802,7 +802,7 @@ impl CryptographicEngine { P3: windows_core::Param, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncryptAndAuthenticate)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), nonce.param().abi(), authenticateddata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -816,7 +816,7 @@ impl CryptographicEngine { P4: windows_core::Param, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecryptAndAuthenticate)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), nonce.param().abi(), authenticationtag.param().abi(), authenticateddata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -827,7 +827,7 @@ impl CryptographicEngine { P1: windows_core::Param, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sign)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -839,7 +839,7 @@ impl CryptographicEngine { P2: windows_core::Param, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerifySignature)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), signature.param().abi(), &mut result__).map(|| result__) }) } @@ -850,7 +850,7 @@ impl CryptographicEngine { P1: windows_core::Param, { Self::ICryptographicEngineStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeriveKeyMaterial)(windows_core::Interface::as_raw(this), key.param().abi(), parameters.param().abi(), desiredkeysize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -861,7 +861,7 @@ impl CryptographicEngine { P1: windows_core::Param, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignHashedData)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -873,7 +873,7 @@ impl CryptographicEngine { P2: windows_core::Param, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerifySignatureWithHashInput)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), signature.param().abi(), &mut result__).map(|| result__) }) } @@ -885,7 +885,7 @@ impl CryptographicEngine { P2: windows_core::Param, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecryptAsync)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), iv.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -896,7 +896,7 @@ impl CryptographicEngine { P1: windows_core::Param, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignAsync)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -907,7 +907,7 @@ impl CryptographicEngine { P1: windows_core::Param, { Self::ICryptographicEngineStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SignHashedDataAsync)(windows_core::Interface::as_raw(this), key.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -942,7 +942,7 @@ impl CryptographicHash { pub fn GetValueAndReset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetValueAndReset)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -967,7 +967,7 @@ impl CryptographicKey { pub fn KeySize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeySize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -975,7 +975,7 @@ impl CryptographicKey { pub fn ExportDefaultPrivateKeyBlobType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExportDefaultPrivateKeyBlobType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -983,7 +983,7 @@ impl CryptographicKey { pub fn ExportPrivateKeyWithBlobType(&self, blobtype: CryptographicPrivateKeyBlobType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExportPrivateKeyWithBlobType)(windows_core::Interface::as_raw(this), blobtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -991,7 +991,7 @@ impl CryptographicKey { pub fn ExportDefaultPublicKeyBlobType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExportDefaultPublicKeyBlobType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -999,7 +999,7 @@ impl CryptographicKey { pub fn ExportPublicKeyWithBlobType(&self, blobtype: CryptographicPublicKeyBlobType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExportPublicKeyWithBlobType)(windows_core::Interface::as_raw(this), blobtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1020,278 +1020,278 @@ pub struct EccCurveNames; impl EccCurveNames { pub fn BrainpoolP160r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP160r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP160t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP160t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP192r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP192r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP192t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP192t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP224r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP224r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP224t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP224t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP256r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP256r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP256t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP256t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP320r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP320r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP320t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP320t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP384r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP384r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP384t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP384t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP512r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP512r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BrainpoolP512t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BrainpoolP512t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Curve25519() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Curve25519)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Ec192wapi() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ec192wapi)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NistP192() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NistP192)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NistP224() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NistP224)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NistP256() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NistP256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NistP384() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NistP384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NistP521() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NistP521)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NumsP256t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumsP256t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NumsP384t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumsP384t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NumsP512t1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NumsP512t1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP160k1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP160k1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP160r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP160r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP160r2() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP160r2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP192k1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP192k1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP192r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP192r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP224k1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP224k1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP224r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP224r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP256k1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP256k1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP256r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP256r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP384r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP384r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SecP521r1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecP521r1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Wtls7() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wtls7)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Wtls9() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wtls9)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Wtls12() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wtls12)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn X962P192v1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).X962P192v1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn X962P192v2() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).X962P192v2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn X962P192v3() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).X962P192v3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn X962P239v1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).X962P239v1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn X962P239v2() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).X962P239v2)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn X962P239v3() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).X962P239v3)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn X962P256v1() -> windows_core::Result { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).X962P256v1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn AllEccCurveNames() -> windows_core::Result> { Self::IEccCurveNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllEccCurveNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1313,7 +1313,7 @@ impl EncryptedAndAuthenticatedData { pub fn EncryptedData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncryptedData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1321,7 +1321,7 @@ impl EncryptedAndAuthenticatedData { pub fn AuthenticationTag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationTag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1342,31 +1342,31 @@ pub struct HashAlgorithmNames; impl HashAlgorithmNames { pub fn Md5() -> windows_core::Result { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Md5)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sha1() -> windows_core::Result { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sha256() -> windows_core::Result { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sha384() -> windows_core::Result { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sha512() -> windows_core::Result { Self::IHashAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1387,14 +1387,14 @@ impl HashAlgorithmProvider { pub fn AlgorithmName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HashLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HashLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1405,20 +1405,20 @@ impl HashAlgorithmProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HashData)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateHash(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateHash)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenAlgorithm(algorithm: &windows_core::HSTRING) -> windows_core::Result { Self::IHashAlgorithmProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1444,121 +1444,121 @@ pub struct KeyDerivationAlgorithmNames; impl KeyDerivationAlgorithmNames { pub fn Pbkdf2Md5() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pbkdf2Md5)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Pbkdf2Sha1() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pbkdf2Sha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Pbkdf2Sha256() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pbkdf2Sha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Pbkdf2Sha384() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pbkdf2Sha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Pbkdf2Sha512() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pbkdf2Sha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp800108CtrHmacMd5() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp800108CtrHmacMd5)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp800108CtrHmacSha1() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp800108CtrHmacSha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp800108CtrHmacSha256() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp800108CtrHmacSha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp800108CtrHmacSha384() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp800108CtrHmacSha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp800108CtrHmacSha512() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp800108CtrHmacSha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp80056aConcatMd5() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp80056aConcatMd5)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp80056aConcatSha1() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp80056aConcatSha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp80056aConcatSha256() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp80056aConcatSha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp80056aConcatSha384() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp80056aConcatSha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Sp80056aConcatSha512() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sp80056aConcatSha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CapiKdfMd5() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapiKdfMd5)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CapiKdfSha1() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapiKdfSha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CapiKdfSha256() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapiKdfSha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CapiKdfSha384() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapiKdfSha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CapiKdfSha512() -> windows_core::Result { Self::IKeyDerivationAlgorithmNamesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapiKdfSha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1584,7 +1584,7 @@ impl KeyDerivationAlgorithmProvider { pub fn AlgorithmName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1595,13 +1595,13 @@ impl KeyDerivationAlgorithmProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateKey)(windows_core::Interface::as_raw(this), keymaterial.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenAlgorithm(algorithm: &windows_core::HSTRING) -> windows_core::Result { Self::IKeyDerivationAlgorithmProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1632,7 +1632,7 @@ impl KeyDerivationParameters { pub fn KdfGenericBinary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KdfGenericBinary)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1647,14 +1647,14 @@ impl KeyDerivationParameters { pub fn IterationCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Capi1KdfTargetAlgorithm(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capi1KdfTargetAlgorithm)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1668,7 +1668,7 @@ impl KeyDerivationParameters { P0: windows_core::Param, { Self::IKeyDerivationParametersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildForPbkdf2)(windows_core::Interface::as_raw(this), pbkdf2salt.param().abi(), iterationcount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1679,7 +1679,7 @@ impl KeyDerivationParameters { P1: windows_core::Param, { Self::IKeyDerivationParametersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildForSP800108)(windows_core::Interface::as_raw(this), label.param().abi(), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1693,13 +1693,13 @@ impl KeyDerivationParameters { P4: windows_core::Param, { Self::IKeyDerivationParametersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildForSP80056a)(windows_core::Interface::as_raw(this), algorithmid.param().abi(), partyuinfo.param().abi(), partyvinfo.param().abi(), supppubinfo.param().abi(), suppprivinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BuildForCapi1Kdf(capi1kdftargetalgorithm: Capi1KdfTargetAlgorithm) -> windows_core::Result { Self::IKeyDerivationParametersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildForCapi1Kdf)(windows_core::Interface::as_raw(this), capi1kdftargetalgorithm, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1730,37 +1730,37 @@ pub struct MacAlgorithmNames; impl MacAlgorithmNames { pub fn HmacMd5() -> windows_core::Result { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HmacMd5)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HmacSha1() -> windows_core::Result { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HmacSha1)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HmacSha256() -> windows_core::Result { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HmacSha256)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HmacSha384() -> windows_core::Result { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HmacSha384)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HmacSha512() -> windows_core::Result { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HmacSha512)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AesCmac() -> windows_core::Result { Self::IMacAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AesCmac)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1781,14 +1781,14 @@ impl MacAlgorithmProvider { pub fn AlgorithmName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MacLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MacLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1799,7 +1799,7 @@ impl MacAlgorithmProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateKey)(windows_core::Interface::as_raw(this), keymaterial.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1810,13 +1810,13 @@ impl MacAlgorithmProvider { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateHash)(windows_core::Interface::as_raw(this), keymaterial.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenAlgorithm(algorithm: &windows_core::HSTRING) -> windows_core::Result { Self::IMacAlgorithmProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1846,7 +1846,7 @@ impl PersistedKeyProvider { P0: windows_core::Param, { Self::IPersistedKeyProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenKeyPairFromCertificateAsync)(windows_core::Interface::as_raw(this), certificate.param().abi(), core::mem::transmute_copy(hashalgorithmname), padding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1856,7 +1856,7 @@ impl PersistedKeyProvider { P0: windows_core::Param, { Self::IPersistedKeyProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenPublicKeyFromCertificate)(windows_core::Interface::as_raw(this), certificate.param().abi(), core::mem::transmute_copy(hashalgorithmname), padding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1873,115 +1873,115 @@ pub struct SymmetricAlgorithmNames; impl SymmetricAlgorithmNames { pub fn DesCbc() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesCbc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DesEcb() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesEcb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TripleDesCbc() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TripleDesCbc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TripleDesEcb() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TripleDesEcb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Rc2Cbc() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rc2Cbc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Rc2Ecb() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rc2Ecb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AesCbc() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AesCbc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AesEcb() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AesEcb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AesGcm() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AesGcm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AesCcm() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AesCcm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AesCbcPkcs7() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AesCbcPkcs7)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AesEcbPkcs7() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AesEcbPkcs7)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DesCbcPkcs7() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesCbcPkcs7)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DesEcbPkcs7() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesEcbPkcs7)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TripleDesCbcPkcs7() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TripleDesCbcPkcs7)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TripleDesEcbPkcs7() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TripleDesEcbPkcs7)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Rc2CbcPkcs7() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rc2CbcPkcs7)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Rc2EcbPkcs7() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rc2EcbPkcs7)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Rc4() -> windows_core::Result { Self::ISymmetricAlgorithmNamesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rc4)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2002,14 +2002,14 @@ impl SymmetricKeyAlgorithmProvider { pub fn AlgorithmName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlgorithmName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BlockLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlockLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2020,13 +2020,13 @@ impl SymmetricKeyAlgorithmProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSymmetricKey)(windows_core::Interface::as_raw(this), keymaterial.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenAlgorithm(algorithm: &windows_core::HSTRING) -> windows_core::Result { Self::ISymmetricKeyAlgorithmProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAlgorithm)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(algorithm), &mut result__).and_then(|| windows_core::Type::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 5a78d9892d..463c3578c8 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs @@ -29,7 +29,7 @@ impl windows_core::RuntimeType for IDataProtectionProviderFactory { #[repr(C)] pub struct IDataProtectionProviderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateOverloadExplicit: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateOverloadExplicit: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -50,7 +50,7 @@ impl DataProtectionProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectAsync)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -61,7 +61,7 @@ impl DataProtectionProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprotectAsync)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -73,7 +73,7 @@ impl DataProtectionProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectStreamAsync)(windows_core::Interface::as_raw(this), src.param().abi(), dest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -85,13 +85,13 @@ impl DataProtectionProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprotectStreamAsync)(windows_core::Interface::as_raw(this), src.param().abi(), dest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateOverloadExplicit(protectiondescriptor: &windows_core::HSTRING) -> windows_core::Result { Self::IDataProtectionProviderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOverloadExplicit)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(protectiondescriptor), &mut result__).and_then(|| windows_core::Type::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 929cff3d4f..255e7d04b5 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs @@ -29,27 +29,27 @@ pub struct ICryptographicBufferStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CopyToByteArray: usize, #[cfg(feature = "Storage_Streams")] - pub DecodeFromHexString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DecodeFromHexString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] DecodeFromHexString: usize, #[cfg(feature = "Storage_Streams")] - pub EncodeToHexString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EncodeToHexString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] EncodeToHexString: usize, #[cfg(feature = "Storage_Streams")] - pub DecodeFromBase64String: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DecodeFromBase64String: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] DecodeFromBase64String: usize, #[cfg(feature = "Storage_Streams")] - pub EncodeToBase64String: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EncodeToBase64String: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] EncodeToBase64String: usize, #[cfg(feature = "Storage_Streams")] - pub ConvertStringToBinary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, BinaryStringEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConvertStringToBinary: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, BinaryStringEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ConvertStringToBinary: usize, #[cfg(feature = "Storage_Streams")] - pub ConvertBinaryToString: unsafe extern "system" fn(*mut core::ffi::c_void, BinaryStringEncoding, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConvertBinaryToString: unsafe extern "system" fn(*mut core::ffi::c_void, BinaryStringEncoding, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ConvertBinaryToString: usize, } @@ -62,27 +62,27 @@ impl CryptographicBuffer { P1: windows_core::Param, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compare)(windows_core::Interface::as_raw(this), object1.param().abi(), object2.param().abi(), &mut result__).map(|| result__) }) } #[cfg(feature = "Storage_Streams")] pub fn GenerateRandom(length: u32) -> windows_core::Result { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateRandom)(windows_core::Interface::as_raw(this), length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GenerateRandomNumber() -> windows_core::Result { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GenerateRandomNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "Storage_Streams")] pub fn CreateFromByteArray(value: &[u8]) -> windows_core::Result { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromByteArray)(windows_core::Interface::as_raw(this), value.len().try_into().unwrap(), value.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -96,7 +96,7 @@ impl CryptographicBuffer { #[cfg(feature = "Storage_Streams")] pub fn DecodeFromHexString(value: &windows_core::HSTRING) -> windows_core::Result { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecodeFromHexString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -106,14 +106,14 @@ impl CryptographicBuffer { P0: windows_core::Param, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodeToHexString)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn DecodeFromBase64String(value: &windows_core::HSTRING) -> windows_core::Result { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DecodeFromBase64String)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -123,14 +123,14 @@ impl CryptographicBuffer { P0: windows_core::Param, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodeToBase64String)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn ConvertStringToBinary(value: &windows_core::HSTRING, encoding: BinaryStringEncoding) -> windows_core::Result { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertStringToBinary)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -140,7 +140,7 @@ impl CryptographicBuffer { P0: windows_core::Param, { Self::ICryptographicBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertBinaryToString)(windows_core::Interface::as_raw(this), encoding, buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs index 290f854350..4ce55da868 100644 --- a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs @@ -77,7 +77,7 @@ impl UserDataAvailabilityStateChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -102,7 +102,7 @@ impl UserDataBufferUnprotectResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -110,7 +110,7 @@ impl UserDataBufferUnprotectResult { pub fn UnprotectedBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprotectedBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -139,7 +139,7 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectStorageItemAsync)(windows_core::Interface::as_raw(this), storageitem.param().abi(), availability, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -150,7 +150,7 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStorageItemProtectionInfoAsync)(windows_core::Interface::as_raw(this), storageitem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -161,7 +161,7 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectBufferAsync)(windows_core::Interface::as_raw(this), unprotectedbuffer.param().abi(), availability, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -172,14 +172,14 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprotectBufferAsync)(windows_core::Interface::as_raw(this), protectedbuffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsContinuedDataAvailabilityExpected(&self, availability: UserDataAvailability) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsContinuedDataAvailabilityExpected)(windows_core::Interface::as_raw(this), availability, &mut result__).map(|| result__) } } @@ -189,7 +189,7 @@ impl UserDataProtectionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataAvailabilityStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -199,7 +199,7 @@ impl UserDataProtectionManager { } pub fn TryGetDefault() -> windows_core::Result { Self::IUserDataProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -209,7 +209,7 @@ impl UserDataProtectionManager { P0: windows_core::Param, { Self::IUserDataProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -239,7 +239,7 @@ impl UserDataStorageItemProtectionInfo { pub fn Availability(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Availability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs index 6da1847eca..e7f8106063 100644 --- a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs @@ -19,7 +19,7 @@ impl windows_core::RuntimeType for IDataProtectionInfo { pub struct IDataProtectionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DataProtectionStatus) -> windows_core::HRESULT, - pub Identity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Identity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataProtectionManagerStatics, IDataProtectionManagerStatics_Vtbl, 0xb6149b74_9144_4ee4_8a8a_30b5f361430e); impl windows_core::RuntimeType for IDataProtectionManagerStatics { @@ -29,7 +29,7 @@ impl windows_core::RuntimeType for IDataProtectionManagerStatics { pub struct IDataProtectionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage_Streams")] - pub ProtectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ProtectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ProtectAsync: usize, #[cfg(feature = "Storage_Streams")] @@ -37,7 +37,7 @@ pub struct IDataProtectionManagerStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] UnprotectAsync: usize, #[cfg(feature = "Storage_Streams")] - pub ProtectStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ProtectStreamAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ProtectStreamAsync: usize, #[cfg(feature = "Storage_Streams")] @@ -62,7 +62,7 @@ pub struct IFileProtectionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FileProtectionStatus) -> windows_core::HRESULT, pub IsRoamable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub Identity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Identity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileProtectionInfo2, IFileProtectionInfo2_Vtbl, 0x82123a4c_557a_498d_8e94_944cd5836432); impl windows_core::RuntimeType for IFileProtectionInfo2 { @@ -81,7 +81,7 @@ impl windows_core::RuntimeType for IFileProtectionManagerStatics { pub struct IFileProtectionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage")] - pub ProtectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ProtectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] ProtectAsync: usize, #[cfg(feature = "Storage")] @@ -105,7 +105,7 @@ pub struct IFileProtectionManagerStatics_Vtbl { #[cfg(not(feature = "Storage"))] LoadFileFromContainerWithTargetAsync: usize, #[cfg(feature = "Storage")] - pub CreateProtectedAndOpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Storage::CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateProtectedAndOpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Storage::CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] CreateProtectedAndOpenAsync: usize, } @@ -156,7 +156,7 @@ impl windows_core::RuntimeType for IFileRevocationManagerStatics { pub struct IFileRevocationManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(all(feature = "Storage", feature = "deprecated"))] - pub ProtectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ProtectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Storage", feature = "deprecated")))] ProtectAsync: usize, #[cfg(all(feature = "Storage", feature = "deprecated"))] @@ -164,7 +164,7 @@ pub struct IFileRevocationManagerStatics_Vtbl { #[cfg(not(all(feature = "Storage", feature = "deprecated")))] CopyProtectionAsync: usize, #[cfg(feature = "deprecated")] - pub Revoke: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Revoke: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Revoke: usize, #[cfg(all(feature = "Storage", feature = "deprecated"))] @@ -281,12 +281,12 @@ pub struct IProtectionPolicyAuditInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetAction: unsafe extern "system" fn(*mut core::ffi::c_void, ProtectionPolicyAuditAction) -> windows_core::HRESULT, pub Action: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ProtectionPolicyAuditAction) -> windows_core::HRESULT, - pub SetDataDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DataDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSourceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SourceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTargetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TargetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDataDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DataDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSourceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTargetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectionPolicyAuditInfoFactory, IProtectionPolicyAuditInfoFactory_Vtbl, 0x7ed4180b_92e8_42d5_83d4_25440b423549); impl windows_core::RuntimeType for IProtectionPolicyAuditInfoFactory { @@ -295,8 +295,8 @@ impl windows_core::RuntimeType for IProtectionPolicyAuditInfoFactory { #[repr(C)] pub struct IProtectionPolicyAuditInfoFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, ProtectionPolicyAuditAction, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithActionAndDataDescription: unsafe extern "system" fn(*mut core::ffi::c_void, ProtectionPolicyAuditAction, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, ProtectionPolicyAuditAction, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithActionAndDataDescription: unsafe extern "system" fn(*mut core::ffi::c_void, ProtectionPolicyAuditAction, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectionPolicyManager, IProtectionPolicyManager_Vtbl, 0xd5703e18_a08d_47e6_a240_9934d7165eb5); impl windows_core::RuntimeType for IProtectionPolicyManager { @@ -305,8 +305,8 @@ impl windows_core::RuntimeType for IProtectionPolicyManager { #[repr(C)] pub struct IProtectionPolicyManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Identity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Identity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectionPolicyManager2, IProtectionPolicyManager2_Vtbl, 0xabf7527a_8435_417f_99b6_51beaf365888); impl windows_core::RuntimeType for IProtectionPolicyManager2 { @@ -325,15 +325,15 @@ impl windows_core::RuntimeType for IProtectionPolicyManagerStatics { #[repr(C)] pub struct IProtectionPolicyManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsIdentityManaged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub TryApplyProcessUIPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsIdentityManaged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub TryApplyProcessUIPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, pub ClearProcessUIPolicy: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateCurrentThreadNetworkContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCurrentThreadNetworkContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Networking")] pub GetPrimaryManagedIdentityForNetworkEndpointAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Networking"))] GetPrimaryManagedIdentityForNetworkEndpointAsync: usize, - pub RevokeContent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RevokeContent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProtectedAccessSuspending: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveProtectedAccessSuspending: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -341,8 +341,8 @@ pub struct IProtectionPolicyManagerStatics_Vtbl { pub RemoveProtectedAccessResumed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub ProtectedContentRevoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveProtectedContentRevoked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub CheckAccess: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut ProtectionPolicyEvaluationResult) -> windows_core::HRESULT, - pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CheckAccess: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut ProtectionPolicyEvaluationResult) -> windows_core::HRESULT, + pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectionPolicyManagerStatics2, IProtectionPolicyManagerStatics2_Vtbl, 0xb68f9a8c_39e0_4649_b2e4_070ab8a579b3); impl windows_core::RuntimeType for IProtectionPolicyManagerStatics2 { @@ -351,12 +351,12 @@ impl windows_core::RuntimeType for IProtectionPolicyManagerStatics2 { #[repr(C)] pub struct IProtectionPolicyManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub HasContentBeenRevokedSince: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::DateTime, *mut bool) -> windows_core::HRESULT, - pub CheckAccessForApp: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut ProtectionPolicyEvaluationResult) -> windows_core::HRESULT, - pub RequestAccessForAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetEnforcementLevel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut EnforcementLevel) -> windows_core::HRESULT, - pub IsUserDecryptionAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub IsProtectionUnderLockRequired: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub HasContentBeenRevokedSince: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::DateTime, *mut bool) -> windows_core::HRESULT, + pub CheckAccessForApp: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut ProtectionPolicyEvaluationResult) -> windows_core::HRESULT, + pub RequestAccessForAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetEnforcementLevel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut EnforcementLevel) -> windows_core::HRESULT, + pub IsUserDecryptionAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsProtectionUnderLockRequired: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, pub PolicyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePolicyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub IsProtectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -368,11 +368,11 @@ impl windows_core::RuntimeType for IProtectionPolicyManagerStatics3 { #[repr(C)] pub struct IProtectionPolicyManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestAccessWithAuditingInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessWithMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessForAppWithAuditingInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessForAppWithMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LogAuditEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessWithAuditingInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessWithMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessForAppWithAuditingInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessForAppWithMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LogAuditEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectionPolicyManagerStatics4, IProtectionPolicyManagerStatics4_Vtbl, 0x20b794db_ccbd_490f_8c83_49ccb77aea6c); impl windows_core::RuntimeType for IProtectionPolicyManagerStatics4 { @@ -381,15 +381,15 @@ impl windows_core::RuntimeType for IProtectionPolicyManagerStatics4 { #[repr(C)] pub struct IProtectionPolicyManagerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsRoamableProtectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub RequestAccessWithBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, ProtectionPolicyRequestAccessBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessForAppWithBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, ProtectionPolicyRequestAccessBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsRoamableProtectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub RequestAccessWithBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, ProtectionPolicyRequestAccessBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessForAppWithBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, ProtectionPolicyRequestAccessBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] - pub RequestAccessToFilesForAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessToFilesForAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] RequestAccessToFilesForAppAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] - pub RequestAccessToFilesForAppWithMessageAndBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, ProtectionPolicyRequestAccessBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessToFilesForAppWithMessageAndBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, ProtectionPolicyRequestAccessBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] RequestAccessToFilesForAppWithMessageAndBehaviorAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] @@ -397,19 +397,19 @@ pub struct IProtectionPolicyManagerStatics4_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] RequestAccessToFilesForProcessAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Storage"))] - pub RequestAccessToFilesForProcessWithMessageAndBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, std::mem::MaybeUninit, ProtectionPolicyRequestAccessBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessToFilesForProcessWithMessageAndBehaviorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, core::mem::MaybeUninit, ProtectionPolicyRequestAccessBehavior, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] RequestAccessToFilesForProcessWithMessageAndBehaviorAsync: usize, #[cfg(feature = "Storage")] - pub IsFileProtectionRequiredAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsFileProtectionRequiredAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] IsFileProtectionRequiredAsync: usize, #[cfg(feature = "Storage")] - pub IsFileProtectionRequiredForNewFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsFileProtectionRequiredForNewFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] IsFileProtectionRequiredForNewFileAsync: usize, - pub PrimaryManagedIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPrimaryManagedIdentityForIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrimaryManagedIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPrimaryManagedIdentityForIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IThreadNetworkContext, IThreadNetworkContext_Vtbl, 0xfa4ea8e9_ef13_405a_b12c_d7348c6f41fc); impl windows_core::RuntimeType for IThreadNetworkContext { @@ -428,14 +428,14 @@ impl BufferProtectUnprotectResult { pub fn Buffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Buffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProtectionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -460,14 +460,14 @@ impl DataProtectionInfo { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Identity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Identity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -492,7 +492,7 @@ impl DataProtectionManager { P0: windows_core::Param, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectAsync)(windows_core::Interface::as_raw(this), data.param().abi(), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -502,7 +502,7 @@ impl DataProtectionManager { P0: windows_core::Param, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprotectAsync)(windows_core::Interface::as_raw(this), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -513,7 +513,7 @@ impl DataProtectionManager { P1: windows_core::Param, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectStreamAsync)(windows_core::Interface::as_raw(this), unprotectedstream.param().abi(), core::mem::transmute_copy(identity), protectedstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -524,7 +524,7 @@ impl DataProtectionManager { P1: windows_core::Param, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprotectStreamAsync)(windows_core::Interface::as_raw(this), protectedstream.param().abi(), unprotectedstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -534,7 +534,7 @@ impl DataProtectionManager { P0: windows_core::Param, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProtectionInfoAsync)(windows_core::Interface::as_raw(this), protecteddata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -544,7 +544,7 @@ impl DataProtectionManager { P0: windows_core::Param, { Self::IDataProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStreamProtectionInfoAsync)(windows_core::Interface::as_raw(this), protectedstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -565,28 +565,28 @@ impl FileProtectionInfo { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRoamable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRoamable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Identity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Identity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsProtectWhileOpenSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsProtectWhileOpenSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -611,7 +611,7 @@ impl FileProtectionManager { P0: windows_core::Param, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectAsync)(windows_core::Interface::as_raw(this), target.param().abi(), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -622,7 +622,7 @@ impl FileProtectionManager { P1: windows_core::Param, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyProtectionAsync)(windows_core::Interface::as_raw(this), source.param().abi(), target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -632,7 +632,7 @@ impl FileProtectionManager { P0: windows_core::Param, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProtectionInfoAsync)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -642,7 +642,7 @@ impl FileProtectionManager { P0: windows_core::Param, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveFileAsContainerAsync)(windows_core::Interface::as_raw(this), protectedfile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -652,7 +652,7 @@ impl FileProtectionManager { P0: windows_core::Param, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFileFromContainerAsync)(windows_core::Interface::as_raw(this), containerfile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -663,7 +663,7 @@ impl FileProtectionManager { P1: windows_core::Param, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFileFromContainerWithTargetAsync)(windows_core::Interface::as_raw(this), containerfile.param().abi(), target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -673,7 +673,7 @@ impl FileProtectionManager { P0: windows_core::Param, { Self::IFileProtectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateProtectedAndOpenAsync)(windows_core::Interface::as_raw(this), parentfolder.param().abi(), core::mem::transmute_copy(desiredname), core::mem::transmute_copy(identity), collisionoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -683,7 +683,7 @@ impl FileProtectionManager { P0: windows_core::Param, { Self::IFileProtectionManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsContainerAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -694,7 +694,7 @@ impl FileProtectionManager { P1: windows_core::Param, { Self::IFileProtectionManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadFileFromContainerWithTargetAndNameCollisionOptionAsync)(windows_core::Interface::as_raw(this), containerfile.param().abi(), target.param().abi(), collisionoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -705,7 +705,7 @@ impl FileProtectionManager { P1: windows_core::Param>, { Self::IFileProtectionManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveFileAsContainerWithSharingAsync)(windows_core::Interface::as_raw(this), protectedfile.param().abi(), sharedwithidentities.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -715,7 +715,7 @@ impl FileProtectionManager { P0: windows_core::Param, { Self::IFileProtectionManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprotectAsync)(windows_core::Interface::as_raw(this), target.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -726,7 +726,7 @@ impl FileProtectionManager { P1: windows_core::Param, { Self::IFileProtectionManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprotectWithOptionsAsync)(windows_core::Interface::as_raw(this), target.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -759,7 +759,7 @@ impl FileRevocationManager { P0: windows_core::Param, { Self::IFileRevocationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectAsync)(windows_core::Interface::as_raw(this), storageitem.param().abi(), core::mem::transmute_copy(enterpriseidentity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -770,7 +770,7 @@ impl FileRevocationManager { P1: windows_core::Param, { Self::IFileRevocationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyProtectionAsync)(windows_core::Interface::as_raw(this), sourcestorageitem.param().abi(), targetstorageitem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -784,7 +784,7 @@ impl FileRevocationManager { P0: windows_core::Param, { Self::IFileRevocationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatusAsync)(windows_core::Interface::as_raw(this), storageitem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -811,13 +811,13 @@ impl FileUnprotectOptions { pub fn Audit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Audit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(audit: bool) -> windows_core::Result { Self::IFileUnprotectOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), audit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -848,7 +848,7 @@ impl ProtectedAccessResumedEventArgs { pub fn Identities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Identities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -874,21 +874,21 @@ impl ProtectedAccessSuspendingEventArgs { pub fn Identities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Identities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -913,7 +913,7 @@ impl ProtectedContainerExportResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -921,7 +921,7 @@ impl ProtectedContainerExportResult { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -946,7 +946,7 @@ impl ProtectedContainerImportResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -954,7 +954,7 @@ impl ProtectedContainerImportResult { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -980,7 +980,7 @@ impl ProtectedContentRevokedEventArgs { pub fn Identities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Identities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1006,7 +1006,7 @@ impl ProtectedFileCreateResult { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1014,14 +1014,14 @@ impl ProtectedFileCreateResult { pub fn Stream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProtectionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1050,7 +1050,7 @@ impl ProtectionPolicyAuditInfo { pub fn Action(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Action)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1061,7 +1061,7 @@ impl ProtectionPolicyAuditInfo { pub fn DataDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1072,7 +1072,7 @@ impl ProtectionPolicyAuditInfo { pub fn SourceDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1083,19 +1083,19 @@ impl ProtectionPolicyAuditInfo { pub fn TargetDescription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(action: ProtectionPolicyAuditAction, datadescription: &windows_core::HSTRING, sourcedescription: &windows_core::HSTRING, targetdescription: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyAuditInfoFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), action, core::mem::transmute_copy(datadescription), core::mem::transmute_copy(sourcedescription), core::mem::transmute_copy(targetdescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithActionAndDataDescription(action: ProtectionPolicyAuditAction, datadescription: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyAuditInfoFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithActionAndDataDescription)(windows_core::Interface::as_raw(this), action, core::mem::transmute_copy(datadescription), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1129,7 +1129,7 @@ impl ProtectionPolicyManager { pub fn Identity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Identity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1140,19 +1140,19 @@ impl ProtectionPolicyManager { pub fn ShowEnterpriseIndicator(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowEnterpriseIndicator)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsIdentityManaged(identity: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIdentityManaged)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).map(|| result__) }) } pub fn TryApplyProcessUIPolicy(identity: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryApplyProcessUIPolicy)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).map(|| result__) }) } @@ -1161,7 +1161,7 @@ impl ProtectionPolicyManager { } pub fn CreateCurrentThreadNetworkContext(identity: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCurrentThreadNetworkContext)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1171,7 +1171,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPrimaryManagedIdentityForNetworkEndpointAsync)(windows_core::Interface::as_raw(this), endpointhost.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1180,7 +1180,7 @@ impl ProtectionPolicyManager { } pub fn GetForCurrentView() -> windows_core::Result { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1189,7 +1189,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectedAccessSuspending)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1201,7 +1201,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectedAccessResumed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1213,7 +1213,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param>, { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectedContentRevoked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1222,49 +1222,49 @@ impl ProtectionPolicyManager { } pub fn CheckAccess(sourceidentity: &windows_core::HSTRING, targetidentity: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckAccess)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(targetidentity), &mut result__).map(|| result__) }) } pub fn RequestAccessAsync(sourceidentity: &windows_core::HSTRING, targetidentity: &windows_core::HSTRING) -> windows_core::Result> { Self::IProtectionPolicyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(targetidentity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HasContentBeenRevokedSince(identity: &windows_core::HSTRING, since: super::super::Foundation::DateTime) -> windows_core::Result { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasContentBeenRevokedSince)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), since, &mut result__).map(|| result__) }) } pub fn CheckAccessForApp(sourceidentity: &windows_core::HSTRING, apppackagefamilyname: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckAccessForApp)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(apppackagefamilyname), &mut result__).map(|| result__) }) } pub fn RequestAccessForAppAsync(sourceidentity: &windows_core::HSTRING, apppackagefamilyname: &windows_core::HSTRING) -> windows_core::Result> { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessForAppAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(apppackagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetEnforcementLevel(identity: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEnforcementLevel)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).map(|| result__) }) } pub fn IsUserDecryptionAllowed(identity: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUserDecryptionAllowed)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).map(|| result__) }) } pub fn IsProtectionUnderLockRequired(identity: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsProtectionUnderLockRequired)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).map(|| result__) }) } @@ -1273,7 +1273,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param>, { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PolicyChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1282,7 +1282,7 @@ impl ProtectionPolicyManager { } pub fn IsProtectionEnabled() -> windows_core::Result { Self::IProtectionPolicyManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsProtectionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1291,7 +1291,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param, { Self::IProtectionPolicyManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessWithAuditingInfoAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(targetidentity), auditinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1300,7 +1300,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param, { Self::IProtectionPolicyManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessWithMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(targetidentity), auditinfo.param().abi(), core::mem::transmute_copy(messagefromapp), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1309,7 +1309,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param, { Self::IProtectionPolicyManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessForAppWithAuditingInfoAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(apppackagefamilyname), auditinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1318,7 +1318,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param, { Self::IProtectionPolicyManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessForAppWithMessageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(apppackagefamilyname), auditinfo.param().abi(), core::mem::transmute_copy(messagefromapp), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1330,7 +1330,7 @@ impl ProtectionPolicyManager { } pub fn IsRoamableProtectionEnabled(identity: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRoamableProtectionEnabled)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).map(|| result__) }) } @@ -1339,7 +1339,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessWithBehaviorAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(targetidentity), auditinfo.param().abi(), core::mem::transmute_copy(messagefromapp), behavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1348,7 +1348,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessForAppWithBehaviorAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(apppackagefamilyname), auditinfo.param().abi(), core::mem::transmute_copy(messagefromapp), behavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1359,7 +1359,7 @@ impl ProtectionPolicyManager { P1: windows_core::Param, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessToFilesForAppAsync)(windows_core::Interface::as_raw(this), sourceitemlist.param().abi(), core::mem::transmute_copy(apppackagefamilyname), auditinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1370,7 +1370,7 @@ impl ProtectionPolicyManager { P1: windows_core::Param, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessToFilesForAppWithMessageAndBehaviorAsync)(windows_core::Interface::as_raw(this), sourceitemlist.param().abi(), core::mem::transmute_copy(apppackagefamilyname), auditinfo.param().abi(), core::mem::transmute_copy(messagefromapp), behavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1381,7 +1381,7 @@ impl ProtectionPolicyManager { P1: windows_core::Param, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessToFilesForProcessAsync)(windows_core::Interface::as_raw(this), sourceitemlist.param().abi(), processid, auditinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1392,7 +1392,7 @@ impl ProtectionPolicyManager { P1: windows_core::Param, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessToFilesForProcessWithMessageAndBehaviorAsync)(windows_core::Interface::as_raw(this), sourceitemlist.param().abi(), processid, auditinfo.param().abi(), core::mem::transmute_copy(messagefromapp), behavior, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1402,7 +1402,7 @@ impl ProtectionPolicyManager { P0: windows_core::Param, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFileProtectionRequiredAsync)(windows_core::Interface::as_raw(this), target.param().abi(), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1412,19 +1412,19 @@ impl ProtectionPolicyManager { P0: windows_core::Param, { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFileProtectionRequiredForNewFileAsync)(windows_core::Interface::as_raw(this), parentfolder.param().abi(), core::mem::transmute_copy(identity), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PrimaryManagedIdentity() -> windows_core::Result { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryManagedIdentity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetPrimaryManagedIdentityForIdentity(identity: &windows_core::HSTRING) -> windows_core::Result { Self::IProtectionPolicyManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPrimaryManagedIdentityForIdentity)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identity), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs index 47c826e675..6d5792c2c9 100644 --- a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs @@ -6,11 +6,11 @@ impl windows_core::RuntimeType for IEasClientDeviceInformation { pub struct IEasClientDeviceInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub OperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemProductName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemSku: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemProductName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemSku: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEasClientDeviceInformation2, IEasClientDeviceInformation2_Vtbl, 0xffb35923_bb26_4d6a_81bc_165aee0ad754); impl windows_core::RuntimeType for IEasClientDeviceInformation2 { @@ -19,8 +19,8 @@ impl windows_core::RuntimeType for IEasClientDeviceInformation2 { #[repr(C)] pub struct IEasClientDeviceInformation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SystemHardwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemFirmwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemHardwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemFirmwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEasClientSecurityPolicy, IEasClientSecurityPolicy_Vtbl, 0x45b72362_dfba_4a9b_aced_6fe2adcb6420); impl windows_core::RuntimeType for IEasClientSecurityPolicy { @@ -89,56 +89,56 @@ impl EasClientDeviceInformation { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OperatingSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperatingSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemManufacturer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemManufacturer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemProductName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemProductName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemSku(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemSku)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemHardwareVersion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemHardwareVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemFirmwareVersion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemFirmwareVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -168,7 +168,7 @@ impl EasClientSecurityPolicy { pub fn RequireEncryption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequireEncryption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -179,7 +179,7 @@ impl EasClientSecurityPolicy { pub fn MinPasswordLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinPasswordLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -190,7 +190,7 @@ impl EasClientSecurityPolicy { pub fn DisallowConvenienceLogon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisallowConvenienceLogon)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -201,7 +201,7 @@ impl EasClientSecurityPolicy { pub fn MinPasswordComplexCharacters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinPasswordComplexCharacters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -212,7 +212,7 @@ impl EasClientSecurityPolicy { pub fn PasswordExpiration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasswordExpiration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -223,7 +223,7 @@ impl EasClientSecurityPolicy { pub fn PasswordHistory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasswordHistory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -234,7 +234,7 @@ impl EasClientSecurityPolicy { pub fn MaxPasswordFailedAttempts(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPasswordFailedAttempts)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -245,7 +245,7 @@ impl EasClientSecurityPolicy { pub fn MaxInactivityTimeLock(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxInactivityTimeLock)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -256,14 +256,14 @@ impl EasClientSecurityPolicy { pub fn CheckCompliance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckCompliance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ApplyAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplyAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -286,70 +286,70 @@ impl EasComplianceResults { pub fn Compliant(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compliant)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequireEncryptionResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequireEncryptionResult)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinPasswordLengthResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinPasswordLengthResult)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DisallowConvenienceLogonResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisallowConvenienceLogonResult)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinPasswordComplexCharactersResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinPasswordComplexCharactersResult)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PasswordExpirationResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasswordExpirationResult)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PasswordHistoryResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasswordHistoryResult)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxPasswordFailedAttemptsResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPasswordFailedAttemptsResult)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxInactivityTimeLockResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxInactivityTimeLockResult)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EncryptionProviderType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncryptionProviderType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index 30eca19e23..88d6d4c1c6 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -5,13 +5,13 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironment { #[repr(C)] pub struct IIsolatedWindowsEnvironment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StartProcessSilentlyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, IsolatedWindowsEnvironmentActivator, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub StartProcessSilentlyWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, IsolatedWindowsEnvironmentActivator, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShareFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShareFolderWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchFileWithUIAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchFileWithUIAndTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartProcessSilentlyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, IsolatedWindowsEnvironmentActivator, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartProcessSilentlyWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, IsolatedWindowsEnvironmentActivator, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShareFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShareFolderWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFileWithUIAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFileWithUIAndTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TerminateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TerminateWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -44,8 +44,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironment3 { pub struct IIsolatedWindowsEnvironment3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetUserInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShareFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ShareFileWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShareFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ShareFileWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsolatedWindowsEnvironment4, IIsolatedWindowsEnvironment4_Vtbl, 0x11e3701a_dd9e_4f1b_812c_4020f307f93c); impl windows_core::RuntimeType for IIsolatedWindowsEnvironment4 { @@ -85,9 +85,9 @@ pub struct IIsolatedWindowsEnvironmentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithTelemetryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetById: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetById: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub FindByOwnerId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindByOwnerId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindByOwnerId: usize, } @@ -99,7 +99,7 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentFile { pub struct IIsolatedWindowsEnvironmentFile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub HostPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HostPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentFile2, IIsolatedWindowsEnvironmentFile2_Vtbl, 0x4eeb8dec_ad5d_4b0a_b754_f36c3d46d684); @@ -109,7 +109,7 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentFile2 { #[repr(C)] pub struct IIsolatedWindowsEnvironmentFile2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GuestPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GuestPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentHostStatics, IIsolatedWindowsEnvironmentHostStatics_Vtbl, 0x2c0e22c7_05a0_517a_b81c_6ee8790c381f); @@ -143,17 +143,17 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOptions { #[repr(C)] pub struct IIsolatedWindowsEnvironmentOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EnvironmentOwnerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEnvironmentOwnerId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnvironmentOwnerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEnvironmentOwnerId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AllowedClipboardFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::HRESULT, pub SetAllowedClipboardFormats: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentAllowedClipboardFormats) -> windows_core::HRESULT, pub ClipboardCopyPasteDirections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentClipboardCopyPasteDirections) -> windows_core::HRESULT, pub SetClipboardCopyPasteDirections: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentClipboardCopyPasteDirections) -> windows_core::HRESULT, pub AvailablePrinters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentAvailablePrinters) -> windows_core::HRESULT, pub SetAvailablePrinters: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentAvailablePrinters) -> windows_core::HRESULT, - pub SharedHostFolderPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SharedFolderNameInEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ShareHostFolderForUntrustedItems: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SharedHostFolderPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SharedFolderNameInEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShareHostFolderForUntrustedItems: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PersistUserProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetPersistUserProfile: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub AllowGraphicsHardwareAcceleration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -168,8 +168,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOptions2 { #[repr(C)] pub struct IIsolatedWindowsEnvironmentOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub WindowAnnotationOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetWindowAnnotationOverride: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WindowAnnotationOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWindowAnnotationOverride: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOptions3, IIsolatedWindowsEnvironmentOptions3_Vtbl, 0x98d5aa23_161f_4cd9_8a9c_269b30122b0d); impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOptions3 { @@ -226,8 +226,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentOwnerRegistrationS #[repr(C)] pub struct IIsolatedWindowsEnvironmentOwnerRegistrationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentPostMessageResult, IIsolatedWindowsEnvironmentPostMessageResult_Vtbl, 0x0dfa28fa_2ef0_4d8f_b341_3171b2df93b1); impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentPostMessageResult { @@ -321,8 +321,8 @@ impl windows_core::RuntimeType for IIsolatedWindowsEnvironmentUserInfo { #[repr(C)] pub struct IIsolatedWindowsEnvironmentUserInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EnvironmentUserSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EnvironmentUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnvironmentUserSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnvironmentUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TryWaitForSignInAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentUserInfo2, IIsolatedWindowsEnvironmentUserInfo2_Vtbl, 0xb0bdd5dd_91d7_481e_94f2_2a5a6bdf9383); @@ -345,7 +345,7 @@ pub struct IIsolatedWindowsHostMessengerStatics_Vtbl { pub PostMessageToReceiver: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] PostMessageToReceiver: usize, - pub GetFileId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, + pub GetFileId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsolatedWindowsHostMessengerStatics2, IIsolatedWindowsHostMessengerStatics2_Vtbl, 0x55ef9ebc_0444_42ad_832d_1b89c089d1ca); impl windows_core::RuntimeType for IIsolatedWindowsHostMessengerStatics2 { @@ -368,14 +368,14 @@ impl IsolatedWindowsEnvironment { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartProcessSilentlyAsync(&self, hostexepath: &windows_core::HSTRING, arguments: &windows_core::HSTRING, activator: IsolatedWindowsEnvironmentActivator) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartProcessSilentlyAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hostexepath), core::mem::transmute_copy(arguments), activator, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -385,7 +385,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartProcessSilentlyWithTelemetryAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hostexepath), core::mem::transmute_copy(arguments), activator, telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -395,7 +395,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hostfolder), requestoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -406,14 +406,14 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareFolderWithTelemetryAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(hostfolder), requestoptions.param().abi(), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LaunchFileWithUIAsync(&self, appexepath: &windows_core::HSTRING, argumentstemplate: &windows_core::HSTRING, filepath: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFileWithUIAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appexepath), core::mem::transmute_copy(argumentstemplate), core::mem::transmute_copy(filepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -423,14 +423,14 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFileWithUIAndTelemetryAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appexepath), core::mem::transmute_copy(argumentstemplate), core::mem::transmute_copy(filepath), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TerminateAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TerminateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -440,7 +440,7 @@ impl IsolatedWindowsEnvironment { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TerminateWithTelemetryAsync)(windows_core::Interface::as_raw(this), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -463,7 +463,7 @@ impl IsolatedWindowsEnvironment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostMessageToReceiverAsync)(windows_core::Interface::as_raw(this), receiverid, message.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -475,14 +475,14 @@ impl IsolatedWindowsEnvironment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostMessageToReceiverWithTelemetryAsync)(windows_core::Interface::as_raw(this), receiverid, message.param().abi(), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetUserInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUserInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -492,7 +492,7 @@ impl IsolatedWindowsEnvironment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -503,7 +503,7 @@ impl IsolatedWindowsEnvironment { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareFileWithTelemetryAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), options.param().abi(), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -516,7 +516,7 @@ impl IsolatedWindowsEnvironment { P0: windows_core::Param, { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -526,20 +526,20 @@ impl IsolatedWindowsEnvironment { P1: windows_core::Param, { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTelemetryAsync)(windows_core::Interface::as_raw(this), options.param().abi(), telemetryparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetById(environmentid: &windows_core::HSTRING) -> windows_core::Result { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetById)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(environmentid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindByOwnerId(environmentownerid: &windows_core::HSTRING) -> windows_core::Result> { Self::IIsolatedWindowsEnvironmentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindByOwnerId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(environmentownerid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -569,21 +569,21 @@ impl IsolatedWindowsEnvironmentCreateResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Environment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Environment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -612,14 +612,14 @@ impl IsolatedWindowsEnvironmentFile { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HostPath(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HostPath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -630,14 +630,14 @@ impl IsolatedWindowsEnvironmentFile { pub fn GuestPath(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GuestPath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsReadOnly(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -658,14 +658,14 @@ pub struct IsolatedWindowsEnvironmentHost; impl IsolatedWindowsEnvironmentHost { pub fn IsReady() -> windows_core::Result { Self::IIsolatedWindowsEnvironmentHostStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReady)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn HostErrors() -> windows_core::Result> { Self::IIsolatedWindowsEnvironmentHostStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HostErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -686,21 +686,21 @@ impl IsolatedWindowsEnvironmentLaunchFileResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -732,7 +732,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn EnvironmentOwnerId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnvironmentOwnerId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -743,7 +743,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AllowedClipboardFormats(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedClipboardFormats)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -754,7 +754,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn ClipboardCopyPasteDirections(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClipboardCopyPasteDirections)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -765,7 +765,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AvailablePrinters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailablePrinters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -776,14 +776,14 @@ impl IsolatedWindowsEnvironmentOptions { pub fn SharedHostFolderPath(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharedHostFolderPath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SharedFolderNameInEnvironment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharedFolderNameInEnvironment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -794,7 +794,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn PersistUserProfile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PersistUserProfile)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -805,7 +805,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AllowGraphicsHardwareAcceleration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowGraphicsHardwareAcceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -816,7 +816,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AllowCameraAndMicrophoneAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowCameraAndMicrophoneAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -827,7 +827,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn WindowAnnotationOverride(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowAnnotationOverride)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -838,7 +838,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AllowedClipboardFormatsToEnvironment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedClipboardFormatsToEnvironment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -849,7 +849,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn AllowedClipboardFormatsToHost(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedClipboardFormatsToHost)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -860,7 +860,7 @@ impl IsolatedWindowsEnvironmentOptions { pub fn CreationPriority(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreationPriority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -888,7 +888,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistration { P0: windows_core::Param, { Self::IIsolatedWindowsEnvironmentOwnerRegistrationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Register)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(ownername), ownerregistrationdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -920,7 +920,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn ShareableFolders(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareableFolders)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -928,7 +928,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn ProcessesRunnableAsSystem(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessesRunnableAsSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -936,7 +936,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn ProcessesRunnableAsUser(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessesRunnableAsUser)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -944,7 +944,7 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn ActivationFileExtensions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivationFileExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -969,14 +969,14 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1001,14 +1001,14 @@ impl IsolatedWindowsEnvironmentPostMessageResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1033,14 +1033,14 @@ impl IsolatedWindowsEnvironmentProcess { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExitCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExitCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1055,7 +1055,7 @@ impl IsolatedWindowsEnvironmentProcess { pub fn WaitForExitAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WaitForExitAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1087,7 +1087,7 @@ impl IsolatedWindowsEnvironmentShareFileRequestOptions { pub fn AllowWrite(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1116,21 +1116,21 @@ impl IsolatedWindowsEnvironmentShareFileResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1162,7 +1162,7 @@ impl IsolatedWindowsEnvironmentShareFolderRequestOptions { pub fn AllowWrite(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1191,14 +1191,14 @@ impl IsolatedWindowsEnvironmentShareFolderResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1223,21 +1223,21 @@ impl IsolatedWindowsEnvironmentStartProcessResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Process(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Process)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1269,7 +1269,7 @@ impl IsolatedWindowsEnvironmentTelemetryParameters { pub fn CorrelationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CorrelationId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1298,28 +1298,28 @@ impl IsolatedWindowsEnvironmentUserInfo { pub fn EnvironmentUserSid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnvironmentUserSid)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EnvironmentUserName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnvironmentUserName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryWaitForSignInAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryWaitForSignInAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryWaitForSignInWithProgressAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryWaitForSignInWithProgressAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1347,7 +1347,7 @@ impl IsolatedWindowsHostMessenger { } pub fn GetFileId(filepath: &windows_core::HSTRING) -> windows_core::Result { Self::IIsolatedWindowsHostMessengerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), &mut result__).map(|| 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 ddc2d0530f..5ab257bbb5 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs @@ -10,7 +10,7 @@ pub struct IGuidanceAudioNotificationRequestedEventArgs_Vtbl { pub AudioFilePaths: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AudioFilePaths: usize, - pub AudioText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuidanceLaneInfo, IGuidanceLaneInfo_Vtbl, 0x8404d114_6581_43b7_ac15_c9079bf90df1); impl windows_core::RuntimeType for IGuidanceLaneInfo { @@ -35,15 +35,15 @@ pub struct IGuidanceManeuver_Vtbl { StartLocation: usize, pub DistanceFromRouteStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DistanceFromPreviousManeuver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DepartureRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NextRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DepartureShortRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NextShortRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DepartureRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NextRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DepartureShortRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NextShortRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GuidanceManeuverKind) -> windows_core::HRESULT, pub StartAngle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EndAngle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RoadSignpost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub InstructionText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstructionText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuidanceMapMatchedCoordinate, IGuidanceMapMatchedCoordinate_Vtbl, 0xb7acb168_2912_4a99_aff1_798609b981fe); impl windows_core::RuntimeType for IGuidanceMapMatchedCoordinate { @@ -93,7 +93,7 @@ pub struct IGuidanceNavigator_Vtbl { pub RemoveUserLocationLost: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub UserLocationRestored: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveUserLocationRestored: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub SetGuidanceVoice: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGuidanceVoice: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Devices_Geolocation")] pub UpdateUserLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] @@ -149,15 +149,15 @@ impl windows_core::RuntimeType for IGuidanceRoadSegment { #[repr(C)] pub struct IGuidanceRoadSegment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ShortRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShortRoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SpeedLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TravelTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, #[cfg(feature = "Devices_Geolocation")] pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] Path: usize, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsHighway: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsTunnel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsTollRoad: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -178,8 +178,8 @@ impl windows_core::RuntimeType for IGuidanceRoadSignpost { #[repr(C)] pub struct IGuidanceRoadSignpost_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ExitNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Exit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExitNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Exit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "UI")] pub BackgroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::UI::Color) -> windows_core::HRESULT, #[cfg(not(feature = "UI"))] @@ -270,7 +270,7 @@ pub struct IGuidanceUpdatedEventArgs_Vtbl { pub ElapsedDistance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ElapsedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub TimeToDestination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub RoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoadName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Route: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CurrentLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsNewManeuver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -287,7 +287,7 @@ impl GuidanceAudioNotificationRequestedEventArgs { pub fn AudioNotification(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioNotification)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -295,14 +295,14 @@ impl GuidanceAudioNotificationRequestedEventArgs { pub fn AudioFilePaths(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioFilePaths)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AudioText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -327,14 +327,14 @@ impl GuidanceLaneInfo { pub fn LaneMarkers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaneMarkers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOnRoute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOnRoute)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -360,84 +360,84 @@ impl GuidanceManeuver { pub fn StartLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DistanceFromRouteStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistanceFromRouteStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DistanceFromPreviousManeuver(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistanceFromPreviousManeuver)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DepartureRoadName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DepartureRoadName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextRoadName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextRoadName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DepartureShortRoadName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DepartureShortRoadName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextShortRoadName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextShortRoadName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RoadSignpost(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoadSignpost)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstructionText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstructionText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -463,35 +463,35 @@ impl GuidanceMapMatchedCoordinate { pub fn Location(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Location)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentHeading(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentHeading)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CurrentSpeed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentSpeed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOnStreet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOnStreet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Road(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Road)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -550,7 +550,7 @@ impl GuidanceNavigator { pub fn AudioMeasurementSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioMeasurementSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -561,7 +561,7 @@ impl GuidanceNavigator { pub fn AudioNotifications(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioNotifications)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -575,7 +575,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GuidanceUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -589,7 +589,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DestinationReached)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -603,7 +603,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rerouting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -617,7 +617,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rerouted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -631,7 +631,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RerouteFailed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -645,7 +645,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserLocationLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -659,7 +659,7 @@ impl GuidanceNavigator { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserLocationRestored)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -693,7 +693,7 @@ impl GuidanceNavigator { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AudioNotificationRequested)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -704,7 +704,7 @@ impl GuidanceNavigator { pub fn IsGuidanceAudioMuted(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGuidanceAudioMuted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -714,13 +714,13 @@ impl GuidanceNavigator { } pub fn GetCurrent() -> windows_core::Result { Self::IGuidanceNavigatorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UseAppProvidedVoice() -> windows_core::Result { Self::IGuidanceNavigatorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UseAppProvidedVoice)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -755,7 +755,7 @@ impl GuidanceReroutedEventArgs { pub fn Route(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Route)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -780,28 +780,28 @@ impl GuidanceRoadSegment { pub fn RoadName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoadName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShortRoadName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShortRoadName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SpeedLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpeedLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TravelTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TravelTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -809,42 +809,42 @@ impl GuidanceRoadSegment { pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsHighway(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHighway)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTunnel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTunnel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTollRoad(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTollRoad)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsScenic(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScenic)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -869,14 +869,14 @@ impl GuidanceRoadSignpost { pub fn ExitNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExitNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Exit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exit)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -884,7 +884,7 @@ impl GuidanceRoadSignpost { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -892,7 +892,7 @@ impl GuidanceRoadSignpost { pub fn ForegroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -900,7 +900,7 @@ impl GuidanceRoadSignpost { pub fn ExitDirections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExitDirections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -925,14 +925,14 @@ impl GuidanceRoute { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Distance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Distance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -940,7 +940,7 @@ impl GuidanceRoute { pub fn Maneuvers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Maneuvers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -948,7 +948,7 @@ impl GuidanceRoute { pub fn BoundingBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingBox)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -956,7 +956,7 @@ impl GuidanceRoute { pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -964,14 +964,14 @@ impl GuidanceRoute { pub fn RoadSegments(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoadSegments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConvertToMapRoute(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConvertToMapRoute)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -980,7 +980,7 @@ impl GuidanceRoute { P0: windows_core::Param, { Self::IGuidanceRouteStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCreateFromMapRoute)(windows_core::Interface::as_raw(this), maproute.param().abi(), &mut result__).map(|| result__) }) } @@ -989,7 +989,7 @@ impl GuidanceRoute { P0: windows_core::Param, { Self::IGuidanceRouteStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFromMapRoute)(windows_core::Interface::as_raw(this), maproute.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1019,7 +1019,7 @@ impl GuidanceTelemetryCollector { pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1034,7 +1034,7 @@ impl GuidanceTelemetryCollector { pub fn SpeedTrigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpeedTrigger)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1045,7 +1045,7 @@ impl GuidanceTelemetryCollector { pub fn UploadFrequency(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UploadFrequency)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1055,7 +1055,7 @@ impl GuidanceTelemetryCollector { } pub fn GetCurrent() -> windows_core::Result { Self::IGuidanceTelemetryCollectorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1085,91 +1085,91 @@ impl GuidanceUpdatedEventArgs { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NextManeuver(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextManeuver)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextManeuverDistance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextManeuverDistance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AfterNextManeuver(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AfterNextManeuver)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AfterNextManeuverDistance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AfterNextManeuverDistance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DistanceToDestination(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DistanceToDestination)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ElapsedDistance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElapsedDistance)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ElapsedTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElapsedTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TimeToDestination(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeToDestination)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RoadName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoadName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Route(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Route)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsNewManeuver(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNewManeuver)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1177,7 +1177,7 @@ impl GuidanceUpdatedEventArgs { pub fn LaneInfo(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaneInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 5a9681fd42..9a92dcae33 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs @@ -5,14 +5,14 @@ impl windows_core::RuntimeType for ILocalCategoriesStatics { #[repr(C)] pub struct ILocalCategoriesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub BankAndCreditUnions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EatDrink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Hospitals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HotelsAndMotels: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub All: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Parking: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SeeDo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Shop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BankAndCreditUnions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EatDrink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Hospitals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HotelsAndMotels: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub All: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Parking: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SeeDo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Shop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILocalLocation, ILocalLocation_Vtbl, 0xbb0fe9ab_4502_4f2c_94a9_0d60de0e2163); impl windows_core::RuntimeType for ILocalLocation { @@ -22,15 +22,15 @@ impl windows_core::RuntimeType for ILocalLocation { pub struct ILocalLocation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Devices_Geolocation")] pub Point: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] Point: usize, - pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DataAttribution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DataAttribution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILocalLocation2, ILocalLocation2_Vtbl, 0x6e9e307c_ecb5_4ffc_bb8c_ba50ba8c2dc6); impl windows_core::RuntimeType for ILocalLocation2 { @@ -39,7 +39,7 @@ impl windows_core::RuntimeType for ILocalLocation2 { #[repr(C)] pub struct ILocalLocation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RatingInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub HoursOfOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -67,7 +67,7 @@ impl windows_core::RuntimeType for ILocalLocationFinderStatics { pub struct ILocalLocationFinderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Devices_Geolocation")] - pub FindLocalLocationsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindLocalLocationsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] FindLocalLocationsAsync: usize, } @@ -94,7 +94,7 @@ pub struct ILocalLocationRatingInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AggregateRating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RatingCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ProviderIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlaceInfoHelperStatics, IPlaceInfoHelperStatics_Vtbl, 0xdd1ca9a7_a9c6_491b_bc09_e80fcea48ee6); impl windows_core::RuntimeType for IPlaceInfoHelperStatics { @@ -109,49 +109,49 @@ pub struct LocalCategories; impl LocalCategories { pub fn BankAndCreditUnions() -> windows_core::Result { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BankAndCreditUnions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn EatDrink() -> windows_core::Result { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EatDrink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Hospitals() -> windows_core::Result { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hospitals)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HotelsAndMotels() -> windows_core::Result { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HotelsAndMotels)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn All() -> windows_core::Result { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).All)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parking() -> windows_core::Result { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parking)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SeeDo() -> windows_core::Result { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SeeDo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Shop() -> windows_core::Result { Self::ILocalCategoriesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -172,28 +172,28 @@ impl LocalLocation { pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Identifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Identifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -201,35 +201,35 @@ impl LocalLocation { pub fn Point(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Point)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PhoneNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DataAttribution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataAttribution)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Category(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Category)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RatingInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RatingInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -237,7 +237,7 @@ impl LocalLocation { pub fn HoursOfOperation(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoursOfOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -262,7 +262,7 @@ impl LocalLocationFinder { P0: windows_core::Param, { Self::ILocalLocationFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindLocalLocationsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(searchterm), searcharea.param().abi(), core::mem::transmute_copy(localcategory), maxresults, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -284,14 +284,14 @@ impl LocalLocationFinderResult { pub fn LocalLocations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalLocations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -317,21 +317,21 @@ impl LocalLocationHoursOfOperationItem { pub fn Day(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Day)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Start(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Start)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Span(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Span)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -356,21 +356,21 @@ impl LocalLocationRatingInfo { pub fn AggregateRating(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AggregateRating)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RatingCount(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RatingCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProviderIdentifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderIdentifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -394,7 +394,7 @@ impl PlaceInfoHelper { P0: windows_core::Param, { Self::IPlaceInfoHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromLocalLocation)(windows_core::Interface::as_raw(this), location.param().abi(), &mut result__).and_then(|| windows_core::Type::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 28f53f6051..af6c018042 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs @@ -6,8 +6,8 @@ impl windows_core::RuntimeType for IOfflineMapPackage { pub struct IOfflineMapPackage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OfflineMapPackageStatus) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EnclosingRegionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnclosingRegionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EstimatedSizeInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub RemoveStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub StatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -63,28 +63,28 @@ impl OfflineMapPackage { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EnclosingRegionName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnclosingRegionName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EstimatedSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EstimatedSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -98,14 +98,14 @@ impl OfflineMapPackage { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusChanged)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } pub fn RequestStartDownloadAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStartDownloadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -115,7 +115,7 @@ impl OfflineMapPackage { P0: windows_core::Param, { Self::IOfflineMapPackageStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesAsync)(windows_core::Interface::as_raw(this), querypoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -125,7 +125,7 @@ impl OfflineMapPackage { P0: windows_core::Param, { Self::IOfflineMapPackageStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesInBoundingBoxAsync)(windows_core::Interface::as_raw(this), queryboundingbox.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -135,7 +135,7 @@ impl OfflineMapPackage { P0: windows_core::Param, { Self::IOfflineMapPackageStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindPackagesInGeocircleAsync)(windows_core::Interface::as_raw(this), querycircle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -165,7 +165,7 @@ impl OfflineMapPackageQueryResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -173,7 +173,7 @@ impl OfflineMapPackageQueryResult { pub fn Packages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Packages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -198,7 +198,7 @@ impl OfflineMapPackageStartDownloadResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Services/Maps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/mod.rs index ac725f1b38..0478b86579 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/mod.rs @@ -46,21 +46,21 @@ impl windows_core::RuntimeType for IMapAddress { #[repr(C)] pub struct IMapAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub BuildingName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BuildingFloor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BuildingRoom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BuildingWing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StreetNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Street: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Neighborhood: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub District: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Town: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RegionCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Continent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BuildingName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BuildingFloor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BuildingRoom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BuildingWing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StreetNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Street: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Neighborhood: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub District: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Town: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Region: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegionCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Continent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMapAddress2, IMapAddress2_Vtbl, 0x75cd6df1_e5ad_45a9_bf40_6cf256c1dd13); impl windows_core::RuntimeType for IMapAddress2 { @@ -69,7 +69,7 @@ impl windows_core::RuntimeType for IMapAddress2 { #[repr(C)] pub struct IMapAddress2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FormattedAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormattedAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMapLocation, IMapLocation_Vtbl, 0x3c073f57_0da4_42e8_9ee2_a96fcf2371dc); impl windows_core::RuntimeType for IMapLocation { @@ -82,8 +82,8 @@ pub struct IMapLocation_Vtbl { pub Point: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] Point: usize, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMapLocationFinderResult, IMapLocationFinderResult_Vtbl, 0x43f1f179_e8cc_45f6_bed2_54ccbf965d9a); @@ -111,11 +111,11 @@ pub struct IMapLocationFinderStatics_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] FindLocationsAtAsync: usize, #[cfg(feature = "Devices_Geolocation")] - pub FindLocationsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindLocationsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] FindLocationsAsync: usize, #[cfg(feature = "Devices_Geolocation")] - pub FindLocationsWithMaxCountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindLocationsWithMaxCountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] FindLocationsWithMaxCountAsync: usize, } @@ -361,9 +361,9 @@ pub struct IMapRouteManeuver_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] StartingPoint: usize, pub LengthInMeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub InstructionText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstructionText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MapRouteManeuverKind) -> windows_core::HRESULT, - pub ExitNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExitNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ManeuverNotices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MapManeuverNotices) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMapRouteManeuver2, IMapRouteManeuver2_Vtbl, 0x5d7bcd9c_7c9b_41df_838b_eae21e4b05a9); @@ -375,7 +375,7 @@ pub struct IMapRouteManeuver2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StartHeading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub EndHeading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub StreetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StreetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMapRouteManeuver3, IMapRouteManeuver3_Vtbl, 0xa6a138df_0483_4166_85be_b99336c11875); impl windows_core::RuntimeType for IMapRouteManeuver3 { @@ -396,8 +396,8 @@ impl windows_core::RuntimeType for IMapServiceStatics { #[repr(C)] pub struct IMapServiceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetServiceToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMapServiceStatics2, IMapServiceStatics2_Vtbl, 0xf8193eed_9c85_40a9_8896_0fc3fd2b7c2a); impl windows_core::RuntimeType for IMapServiceStatics2 { @@ -406,7 +406,7 @@ impl windows_core::RuntimeType for IMapServiceStatics2 { #[repr(C)] pub struct IMapServiceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub WorldViewRegionCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorldViewRegionCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMapServiceStatics3, IMapServiceStatics3_Vtbl, 0x0a11ce20_63a7_4854_b355_d6dcda223d1b); impl windows_core::RuntimeType for IMapServiceStatics3 { @@ -415,7 +415,7 @@ impl windows_core::RuntimeType for IMapServiceStatics3 { #[repr(C)] pub struct IMapServiceStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DataAttributions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DataAttributions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMapServiceStatics4, IMapServiceStatics4_Vtbl, 0x088a2862_6abc_420e_945f_4cfd89c67356); impl windows_core::RuntimeType for IMapServiceStatics4 { @@ -439,9 +439,9 @@ pub struct IPlaceInfo_Vtbl { pub ShowWithPreferredPlacement: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect, super::super::UI::Popups::Placement) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] ShowWithPreferredPlacement: usize, - pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Devices_Geolocation")] pub Geoshape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] @@ -454,10 +454,10 @@ impl windows_core::RuntimeType for IPlaceInfoCreateOptions { #[repr(C)] pub struct IPlaceInfoCreateOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlaceInfoStatics, IPlaceInfoStatics_Vtbl, 0x82b9ff71_6cd0_48a4_afd9_5ed82097936b); impl windows_core::RuntimeType for IPlaceInfoStatics { @@ -474,9 +474,9 @@ pub struct IPlaceInfoStatics_Vtbl { pub CreateWithGeopointAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] CreateWithGeopointAndOptions: usize, - pub CreateFromIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Devices_Geolocation")] - pub CreateFromIdentifierWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromIdentifierWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Devices_Geolocation"))] CreateFromIdentifierWithOptions: usize, pub CreateFromMapLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -489,8 +489,8 @@ impl windows_core::RuntimeType for IPlaceInfoStatics2 { #[repr(C)] pub struct IPlaceInfoStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromAddressWithName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromAddressWithName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -501,14 +501,14 @@ impl EnhancedWaypoint { pub fn Point(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Point)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -518,7 +518,7 @@ impl EnhancedWaypoint { P0: windows_core::Param, { Self::IEnhancedWaypointFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), point.param().abi(), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -548,14 +548,14 @@ impl ManeuverWarning { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Severity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Severity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -580,112 +580,112 @@ impl MapAddress { pub fn BuildingName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildingName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BuildingFloor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildingFloor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BuildingRoom(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildingRoom)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BuildingWing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildingWing)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StreetNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreetNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Street(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Street)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Neighborhood(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Neighborhood)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn District(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).District)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Town(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Town)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Region(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Region)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RegionCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegionCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Country(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Country)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CountryCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CountryCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PostCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Continent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Continent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormattedAddress(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormattedAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -711,28 +711,28 @@ impl MapLocation { pub fn Point(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Point)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -757,7 +757,7 @@ impl MapLocationFinder { P0: windows_core::Param, { Self::IMapLocationFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindLocationsAtAsync)(windows_core::Interface::as_raw(this), querypoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -767,7 +767,7 @@ impl MapLocationFinder { P0: windows_core::Param, { Self::IMapLocationFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindLocationsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(searchtext), referencepoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -777,7 +777,7 @@ impl MapLocationFinder { P0: windows_core::Param, { Self::IMapLocationFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindLocationsWithMaxCountAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(searchtext), referencepoint.param().abi(), maxcount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -787,7 +787,7 @@ impl MapLocationFinder { P0: windows_core::Param, { Self::IMapLocationFinderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindLocationsAtWithAccuracyAsync)(windows_core::Interface::as_raw(this), querypoint.param().abi(), accuracy, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -814,14 +814,14 @@ impl MapLocationFinderResult { pub fn Locations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Locations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -864,21 +864,21 @@ impl MapRoute { pub fn BoundingBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingBox)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LengthInMeters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LengthInMeters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EstimatedDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EstimatedDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -886,7 +886,7 @@ impl MapRoute { pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -894,49 +894,49 @@ impl MapRoute { pub fn Legs(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Legs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsTrafficBased(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTrafficBased)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ViolatedRestrictions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViolatedRestrictions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasBlockedRoads(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasBlockedRoads)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DurationWithoutTraffic(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DurationWithoutTraffic)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrafficCongestion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrafficCongestion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsScenic(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScenic)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -968,7 +968,7 @@ impl MapRouteDrivingOptions { pub fn MaxAlternateRouteCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAlternateRouteCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -979,7 +979,7 @@ impl MapRouteDrivingOptions { pub fn InitialHeading(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialHeading)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -993,7 +993,7 @@ impl MapRouteDrivingOptions { pub fn RouteOptimization(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RouteOptimization)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1004,7 +1004,7 @@ impl MapRouteDrivingOptions { pub fn RouteRestrictions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RouteRestrictions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1015,7 +1015,7 @@ impl MapRouteDrivingOptions { pub fn DepartureTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DepartureTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1048,7 +1048,7 @@ impl MapRouteFinder { P1: windows_core::Param, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteAsync)(windows_core::Interface::as_raw(this), startpoint.param().abi(), endpoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1059,7 +1059,7 @@ impl MapRouteFinder { P1: windows_core::Param, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteWithOptimizationAsync)(windows_core::Interface::as_raw(this), startpoint.param().abi(), endpoint.param().abi(), optimization, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1070,7 +1070,7 @@ impl MapRouteFinder { P1: windows_core::Param, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteWithOptimizationAndRestrictionsAsync)(windows_core::Interface::as_raw(this), startpoint.param().abi(), endpoint.param().abi(), optimization, restrictions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1081,7 +1081,7 @@ impl MapRouteFinder { P1: windows_core::Param, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteWithOptimizationRestrictionsAndHeadingAsync)(windows_core::Interface::as_raw(this), startpoint.param().abi(), endpoint.param().abi(), optimization, restrictions, headingindegrees, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1091,7 +1091,7 @@ impl MapRouteFinder { P0: windows_core::Param>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteFromWaypointsAsync)(windows_core::Interface::as_raw(this), waypoints.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1101,7 +1101,7 @@ impl MapRouteFinder { P0: windows_core::Param>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteFromWaypointsAndOptimizationAsync)(windows_core::Interface::as_raw(this), waypoints.param().abi(), optimization, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1111,7 +1111,7 @@ impl MapRouteFinder { P0: windows_core::Param>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteFromWaypointsOptimizationAndRestrictionsAsync)(windows_core::Interface::as_raw(this), waypoints.param().abi(), optimization, restrictions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1121,7 +1121,7 @@ impl MapRouteFinder { P0: windows_core::Param>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteFromWaypointsOptimizationRestrictionsAndHeadingAsync)(windows_core::Interface::as_raw(this), waypoints.param().abi(), optimization, restrictions, headingindegrees, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1132,7 +1132,7 @@ impl MapRouteFinder { P1: windows_core::Param, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWalkingRouteAsync)(windows_core::Interface::as_raw(this), startpoint.param().abi(), endpoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1142,7 +1142,7 @@ impl MapRouteFinder { P0: windows_core::Param>, { Self::IMapRouteFinderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWalkingRouteFromWaypointsAsync)(windows_core::Interface::as_raw(this), waypoints.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1154,7 +1154,7 @@ impl MapRouteFinder { P2: windows_core::Param, { Self::IMapRouteFinderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteWithOptionsAsync)(windows_core::Interface::as_raw(this), startpoint.param().abi(), endpoint.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1164,7 +1164,7 @@ impl MapRouteFinder { P0: windows_core::Param>, { Self::IMapRouteFinderStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteFromEnhancedWaypointsAsync)(windows_core::Interface::as_raw(this), waypoints.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1175,7 +1175,7 @@ impl MapRouteFinder { P1: windows_core::Param, { Self::IMapRouteFinderStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync)(windows_core::Interface::as_raw(this), waypoints.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1206,14 +1206,14 @@ impl MapRouteFinderResult { pub fn Route(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Route)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1221,7 +1221,7 @@ impl MapRouteFinderResult { pub fn AlternateRoutes(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateRoutes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1247,7 +1247,7 @@ impl MapRouteLeg { pub fn BoundingBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingBox)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1255,21 +1255,21 @@ impl MapRouteLeg { pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LengthInMeters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LengthInMeters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EstimatedDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EstimatedDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1277,21 +1277,21 @@ impl MapRouteLeg { pub fn Maneuvers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Maneuvers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DurationWithoutTraffic(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DurationWithoutTraffic)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrafficCongestion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrafficCongestion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1317,63 +1317,63 @@ impl MapRouteManeuver { pub fn StartingPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartingPoint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LengthInMeters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LengthInMeters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InstructionText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstructionText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExitNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExitNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ManeuverNotices(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManeuverNotices)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartHeading(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartHeading)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndHeading(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndHeading)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StreetName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreetName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1381,7 +1381,7 @@ impl MapRouteManeuver { pub fn Warnings(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Warnings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1405,19 +1405,19 @@ impl MapService { } pub fn ServiceToken() -> windows_core::Result { Self::IMapServiceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WorldViewRegionCode() -> windows_core::Result { Self::IMapServiceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorldViewRegionCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DataAttributions() -> windows_core::Result { Self::IMapServiceStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataAttributions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1426,7 +1426,7 @@ impl MapService { } pub fn DataUsagePreference() -> windows_core::Result { Self::IMapServiceStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataUsagePreference)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1471,21 +1471,21 @@ impl PlaceInfo { pub fn Identifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Identifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1493,7 +1493,7 @@ impl PlaceInfo { pub fn Geoshape(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Geoshape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1503,7 +1503,7 @@ impl PlaceInfo { P0: windows_core::Param, { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), referencepoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1514,13 +1514,13 @@ impl PlaceInfo { P1: windows_core::Param, { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithGeopointAndOptions)(windows_core::Interface::as_raw(this), referencepoint.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromIdentifier(identifier: &windows_core::HSTRING) -> windows_core::Result { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIdentifier)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identifier), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1531,7 +1531,7 @@ impl PlaceInfo { P1: windows_core::Param, { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIdentifierWithOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(identifier), defaultpoint.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1540,25 +1540,25 @@ impl PlaceInfo { P0: windows_core::Param, { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromMapLocation)(windows_core::Interface::as_raw(this), location.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsShowSupported() -> windows_core::Result { Self::IPlaceInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsShowSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CreateFromAddress(displayaddress: &windows_core::HSTRING) -> windows_core::Result { Self::IPlaceInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromAddress)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displayaddress), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromAddressWithName(displayaddress: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result { Self::IPlaceInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromAddressWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displayaddress), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1604,7 +1604,7 @@ impl PlaceInfoCreateOptions { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1615,7 +1615,7 @@ impl PlaceInfoCreateOptions { pub fn DisplayAddress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayAddress)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Services/Store/mod.rs b/crates/libs/windows/src/Windows/Services/Store/mod.rs index 08271af6e3..78d8fb2f70 100644 --- a/crates/libs/windows/src/Windows/Services/Store/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Store/mod.rs @@ -15,18 +15,18 @@ impl windows_core::RuntimeType for IStoreAppLicense { #[repr(C)] pub struct IStoreAppLicense_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SkuStoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SkuStoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsTrial: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AddOnLicenses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AddOnLicenses: usize, pub TrialTimeRemaining: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub IsTrialOwnedByThisUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub TrialUniqueId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrialUniqueId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreAppLicense2, IStoreAppLicense2_Vtbl, 0xb4666e91_4443_40b3_993f_28904435bdc6); impl windows_core::RuntimeType for IStoreAppLicense2 { @@ -44,10 +44,10 @@ impl windows_core::RuntimeType for IStoreAvailability { #[repr(C)] pub struct IStoreAvailability_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub StoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EndDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Price: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestPurchaseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestPurchaseWithPurchasePropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -59,7 +59,7 @@ impl windows_core::RuntimeType for IStoreCanAcquireLicenseResult { pub struct IStoreCanAcquireLicenseResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - pub LicensableSku: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LicensableSku: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StoreCanLicenseStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreCollectionData, IStoreCollectionData_Vtbl, 0x8aa4c3b3_5bb3_441a_2ab4_4dab73d5ce67); @@ -70,13 +70,13 @@ impl windows_core::RuntimeType for IStoreCollectionData { pub struct IStoreCollectionData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsTrial: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub CampaignId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeveloperOfferId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CampaignId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeveloperOfferId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AcquiredDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub StartDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub EndDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub TrialTimeRemaining: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreConsumableResult, IStoreConsumableResult_Vtbl, 0xea5dab72_6a00_4052_be5b_bfdab4433352); impl windows_core::RuntimeType for IStoreConsumableResult { @@ -103,8 +103,8 @@ pub struct IStoreContext_Vtbl { User: usize, pub OfflineLicensesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveOfflineLicensesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub GetCustomerPurchaseIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCustomerCollectionsIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCustomerPurchaseIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCustomerCollectionsIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAppLicenseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStoreProductForCurrentAppAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -127,14 +127,14 @@ pub struct IStoreContext_Vtbl { pub GetUserCollectionWithPagingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetUserCollectionWithPagingAsync: usize, - pub ReportConsumableFulfillmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetConsumableBalanceRemainingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportConsumableFulfillmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetConsumableBalanceRemainingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel")] pub AcquireStoreLicenseForOptionalPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel"))] AcquireStoreLicenseForOptionalPackageAsync: usize, - pub RequestPurchaseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestPurchaseWithPurchasePropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestPurchaseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestPurchaseWithPurchasePropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetAppAndOptionalStorePackageUpdatesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -184,7 +184,7 @@ pub struct IStoreContext3_Vtbl { pub CanAcquireStoreLicenseForOptionalPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel"))] CanAcquireStoreLicenseForOptionalPackageAsync: usize, - pub CanAcquireStoreLicenseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CanAcquireStoreLicenseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetStoreProductsWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -209,12 +209,12 @@ pub struct IStoreContext3_Vtbl { pub RequestUninstallStorePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel"))] RequestUninstallStorePackageAsync: usize, - pub RequestUninstallStorePackageByStoreIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestUninstallStorePackageByStoreIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "ApplicationModel")] pub UninstallStorePackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel"))] UninstallStorePackageAsync: usize, - pub UninstallStorePackageByStoreIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UninstallStorePackageByStoreIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreContext4, IStoreContext4_Vtbl, 0xaf9c6f69_bea1_4bf4_8e74_ae03e206c6b0); impl windows_core::RuntimeType for IStoreContext4 { @@ -244,7 +244,7 @@ pub struct IStoreContext5_Vtbl { pub GetAssociatedStoreProductsByInAppOfferTokenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetAssociatedStoreProductsByInAppOfferTokenAsync: usize, - pub RequestPurchaseByInAppOfferTokenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestPurchaseByInAppOfferTokenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreContextStatics, IStoreContextStatics_Vtbl, 0x9c06ee5f_15c0_4e72_9330_d6191cebd19c); impl windows_core::RuntimeType for IStoreContextStatics { @@ -267,10 +267,10 @@ impl windows_core::RuntimeType for IStoreImage { pub struct IStoreImage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ImagePurposeTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImagePurposeTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreLicense, IStoreLicense_Vtbl, 0x26dc9579_4c4f_4f30_bc89_649f60e36055); impl windows_core::RuntimeType for IStoreLicense { @@ -279,11 +279,11 @@ impl windows_core::RuntimeType for IStoreLicense { #[repr(C)] pub struct IStoreLicense_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SkuStoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SkuStoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InAppOfferToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InAppOfferToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorePackageInstallOptions, IStorePackageInstallOptions_Vtbl, 0x1d3d630c_0ccd_44dd_8c59_80810a729973); impl windows_core::RuntimeType for IStorePackageInstallOptions { @@ -356,12 +356,12 @@ impl windows_core::RuntimeType for IStorePrice { #[repr(C)] pub struct IStorePrice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FormattedBasePrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormattedPrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormattedBasePrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormattedPrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsOnSale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SaleEndDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, - pub CurrencyCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormattedRecurrencePrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrencyCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormattedRecurrencePrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorePrice2, IStorePrice2_Vtbl, 0xf711573c_40e6_5641_b063_f1df42b2b12a); impl windows_core::RuntimeType for IStorePrice2 { @@ -370,9 +370,9 @@ impl windows_core::RuntimeType for IStorePrice2 { #[repr(C)] pub struct IStorePrice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UnformattedBasePrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UnformattedPrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UnformattedRecurrencePrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnformattedBasePrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnformattedPrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnformattedRecurrencePrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreProduct, IStoreProduct_Vtbl, 0x320e2c52_d760_450a_a42b_67d1e901ac90); impl windows_core::RuntimeType for IStoreProduct { @@ -381,11 +381,11 @@ impl windows_core::RuntimeType for IStoreProduct { #[repr(C)] pub struct IStoreProduct_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub StoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProductKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HasDigitalDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Keywords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -405,12 +405,12 @@ pub struct IStoreProduct_Vtbl { Skus: usize, pub IsInUserCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Price: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LinkUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetIsAnySkuInstalledAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestPurchaseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestPurchaseWithPurchasePropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub InAppOfferToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InAppOfferToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreProductOptions, IStoreProductOptions_Vtbl, 0x5b34a0f9_a113_4811_8326_16199c927f31); impl windows_core::RuntimeType for IStoreProductOptions { @@ -469,10 +469,10 @@ impl windows_core::RuntimeType for IStorePurchaseProperties { #[repr(C)] pub struct IStorePurchaseProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorePurchasePropertiesFactory, IStorePurchasePropertiesFactory_Vtbl, 0xa768f59e_fefd_489f_9a17_22a593e68b9d); impl windows_core::RuntimeType for IStorePurchasePropertiesFactory { @@ -481,7 +481,7 @@ impl windows_core::RuntimeType for IStorePurchasePropertiesFactory { #[repr(C)] pub struct IStorePurchasePropertiesFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorePurchaseResult, IStorePurchaseResult_Vtbl, 0xadd28552_f96a_463d_a7bb_c20b4fca6952); impl windows_core::RuntimeType for IStorePurchaseResult { @@ -500,8 +500,8 @@ impl windows_core::RuntimeType for IStoreQueueItem { #[repr(C)] pub struct IStoreQueueItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InstallKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StoreQueueItemKind) -> windows_core::HRESULT, pub GetCurrentStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Completed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -538,7 +538,7 @@ pub struct IStoreQueueItemStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PackageInstallState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StoreQueueItemState) -> windows_core::HRESULT, pub PackageInstallExtendedState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StoreQueueItemExtendedState) -> windows_core::HRESULT, - pub UpdateStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdateStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreRateAndReviewResult, IStoreRateAndReviewResult_Vtbl, 0x9d209d56_a6b5_4121_9b61_ee6d0fbdbdbb); @@ -549,7 +549,7 @@ impl windows_core::RuntimeType for IStoreRateAndReviewResult { pub struct IStoreRateAndReviewResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub WasUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StoreRateAndReviewStatus) -> windows_core::HRESULT, } @@ -560,7 +560,7 @@ impl windows_core::RuntimeType for IStoreRequestHelperStatics { #[repr(C)] pub struct IStoreRequestHelperStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SendRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SendRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreSendRequestResult, IStoreSendRequestResult_Vtbl, 0xc73abe60_8272_4502_8a69_6e75153a4299); impl windows_core::RuntimeType for IStoreSendRequestResult { @@ -569,7 +569,7 @@ impl windows_core::RuntimeType for IStoreSendRequestResult { #[repr(C)] pub struct IStoreSendRequestResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Response: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Response: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStoreSendRequestResult2, IStoreSendRequestResult2_Vtbl, 0x2901296f_c0b0_49d0_8e8d_aa940af9c10b); @@ -591,12 +591,12 @@ impl windows_core::RuntimeType for IStoreSku { #[repr(C)] pub struct IStoreSku_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub StoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StoreId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTrial: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub CustomDeveloperData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomDeveloperData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Images: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -610,7 +610,7 @@ pub struct IStoreSku_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Availabilities: usize, pub Price: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedJsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsInUserCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub BundledSkus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -654,10 +654,10 @@ impl windows_core::RuntimeType for IStoreVideo { pub struct IStoreVideo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub VideoPurposeTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoPurposeTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PreviewImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] @@ -668,14 +668,14 @@ impl StoreAcquireLicenseResult { pub fn StorePackageLicense(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorePackageLicense)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -700,35 +700,35 @@ impl StoreAppLicense { pub fn SkuStoreId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SkuStoreId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTrial(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTrial)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExpirationDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedJsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedJsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -736,35 +736,35 @@ impl StoreAppLicense { pub fn AddOnLicenses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddOnLicenses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrialTimeRemaining(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrialTimeRemaining)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTrialOwnedByThisUser(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTrialOwnedByThisUser)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrialUniqueId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrialUniqueId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsDiscLicense(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDiscLicense)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -789,35 +789,35 @@ impl StoreAvailability { pub fn StoreId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EndDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Price(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Price)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedJsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedJsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestPurchaseAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPurchaseAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -827,7 +827,7 @@ impl StoreAvailability { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPurchaseWithPurchasePropertiesAsync)(windows_core::Interface::as_raw(this), storepurchaseproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -852,21 +852,21 @@ impl StoreCanAcquireLicenseResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LicensableSku(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicensableSku)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -891,56 +891,56 @@ impl StoreCollectionData { pub fn IsTrial(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTrial)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CampaignId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CampaignId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeveloperOfferId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeveloperOfferId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AcquiredDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcquiredDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StartDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrialTimeRemaining(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrialTimeRemaining)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedJsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedJsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -965,28 +965,28 @@ impl StoreConsumableResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrackingId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackingId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BalanceRemaining(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BalanceRemaining)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1012,7 +1012,7 @@ impl StoreContext { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1022,7 +1022,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OfflineLicensesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1033,28 +1033,28 @@ impl StoreContext { pub fn GetCustomerPurchaseIdAsync(&self, serviceticket: &windows_core::HSTRING, publisheruserid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCustomerPurchaseIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(serviceticket), core::mem::transmute_copy(publisheruserid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCustomerCollectionsIdAsync(&self, serviceticket: &windows_core::HSTRING, publisheruserid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCustomerCollectionsIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(serviceticket), core::mem::transmute_copy(publisheruserid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAppLicenseAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppLicenseAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetStoreProductForCurrentAppAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStoreProductForCurrentAppAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1066,7 +1066,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStoreProductsAsync)(windows_core::Interface::as_raw(this), productkinds.param().abi(), storeids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1077,7 +1077,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAssociatedStoreProductsAsync)(windows_core::Interface::as_raw(this), productkinds.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1088,7 +1088,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAssociatedStoreProductsWithPagingAsync)(windows_core::Interface::as_raw(this), productkinds.param().abi(), maxitemstoretrieveperpage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1099,7 +1099,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUserCollectionAsync)(windows_core::Interface::as_raw(this), productkinds.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1110,21 +1110,21 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUserCollectionWithPagingAsync)(windows_core::Interface::as_raw(this), productkinds.param().abi(), maxitemstoretrieveperpage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReportConsumableFulfillmentAsync(&self, productstoreid: &windows_core::HSTRING, quantity: u32, trackingid: windows_core::GUID) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReportConsumableFulfillmentAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(productstoreid), quantity, trackingid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetConsumableBalanceRemainingAsync(&self, productstoreid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConsumableBalanceRemainingAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(productstoreid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1135,14 +1135,14 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcquireStoreLicenseForOptionalPackageAsync)(windows_core::Interface::as_raw(this), optionalpackage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestPurchaseAsync(&self, storeid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPurchaseAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(storeid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1152,7 +1152,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPurchaseWithPurchasePropertiesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(storeid), storepurchaseproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1160,7 +1160,7 @@ impl StoreContext { pub fn GetAppAndOptionalStorePackageUpdatesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppAndOptionalStorePackageUpdatesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1171,7 +1171,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDownloadStorePackageUpdatesAsync)(windows_core::Interface::as_raw(this), storepackageupdates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1182,7 +1182,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDownloadAndInstallStorePackageUpdatesAsync)(windows_core::Interface::as_raw(this), storepackageupdates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1193,7 +1193,7 @@ impl StoreContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDownloadAndInstallStorePackagesAsync)(windows_core::Interface::as_raw(this), storeids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1205,14 +1205,14 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindStoreProductForPackageAsync)(windows_core::Interface::as_raw(this), productkinds.param().abi(), package.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanSilentlyDownloadStorePackageUpdates(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanSilentlyDownloadStorePackageUpdates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1223,7 +1223,7 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySilentDownloadStorePackageUpdatesAsync)(windows_core::Interface::as_raw(this), storepackageupdates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1234,7 +1234,7 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySilentDownloadAndInstallStorePackageUpdatesAsync)(windows_core::Interface::as_raw(this), storepackageupdates.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1245,14 +1245,14 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanAcquireStoreLicenseForOptionalPackageAsync)(windows_core::Interface::as_raw(this), optionalpackage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanAcquireStoreLicenseAsync(&self, productstoreid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanAcquireStoreLicenseAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(productstoreid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1265,7 +1265,7 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStoreProductsWithOptionsAsync)(windows_core::Interface::as_raw(this), productkinds.param().abi(), storeids.param().abi(), storeproductoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1273,7 +1273,7 @@ impl StoreContext { pub fn GetAssociatedStoreQueueItemsAsync(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAssociatedStoreQueueItemsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1284,7 +1284,7 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStoreQueueItemsAsync)(windows_core::Interface::as_raw(this), storeids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1296,7 +1296,7 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDownloadAndInstallStorePackagesWithInstallOptionsAsync)(windows_core::Interface::as_raw(this), storeids.param().abi(), storepackageinstalloptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1307,7 +1307,7 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadAndInstallStorePackagesAsync)(windows_core::Interface::as_raw(this), storeids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1318,14 +1318,14 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestUninstallStorePackageAsync)(windows_core::Interface::as_raw(this), package.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestUninstallStorePackageByStoreIdAsync(&self, storeid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestUninstallStorePackageByStoreIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(storeid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1336,21 +1336,21 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UninstallStorePackageAsync)(windows_core::Interface::as_raw(this), package.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UninstallStorePackageByStoreIdAsync(&self, storeid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UninstallStorePackageByStoreIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(storeid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestRateAndReviewAppAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestRateAndReviewAppAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1361,7 +1361,7 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetInstallOrderForAssociatedStoreQueueItemsAsync)(windows_core::Interface::as_raw(this), items.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1372,7 +1372,7 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUserPurchaseHistoryAsync)(windows_core::Interface::as_raw(this), productkinds.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1383,20 +1383,20 @@ impl StoreContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAssociatedStoreProductsByInAppOfferTokenAsync)(windows_core::Interface::as_raw(this), inappoffertokens.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestPurchaseByInAppOfferTokenAsync(&self, inappoffertoken: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPurchaseByInAppOfferTokenAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(inappoffertoken), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IStoreContextStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1406,7 +1406,7 @@ impl StoreContext { P0: windows_core::Param, { Self::IStoreContextStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1436,35 +1436,35 @@ impl StoreImage { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ImagePurposeTag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImagePurposeTag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Caption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Caption)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1489,35 +1489,35 @@ impl StoreLicense { pub fn SkuStoreId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SkuStoreId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExpirationDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedJsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedJsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InAppOfferToken(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InAppOfferToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1549,7 +1549,7 @@ impl StorePackageInstallOptions { pub fn AllowForcedAppRestart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowForcedAppRestart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1586,7 +1586,7 @@ impl StorePackageLicense { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LicenseLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1598,14 +1598,14 @@ impl StorePackageLicense { pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsValid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsValid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1635,14 +1635,14 @@ impl StorePackageUpdate { pub fn Package(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Package)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Mandatory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mandatory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1667,7 +1667,7 @@ impl StorePackageUpdateResult { pub fn OverallState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OverallState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1675,7 +1675,7 @@ impl StorePackageUpdateResult { pub fn StorePackageUpdateStatuses(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorePackageUpdateStatuses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1683,7 +1683,7 @@ impl StorePackageUpdateResult { pub fn StoreQueueItems(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreQueueItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1708,63 +1708,63 @@ impl StorePrice { pub fn FormattedBasePrice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormattedBasePrice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormattedPrice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormattedPrice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsOnSale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOnSale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SaleEndDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaleEndDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CurrencyCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrencyCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FormattedRecurrencePrice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormattedRecurrencePrice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnformattedBasePrice(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnformattedBasePrice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnformattedPrice(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnformattedPrice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnformattedRecurrencePrice(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnformattedRecurrencePrice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1789,42 +1789,42 @@ impl StoreProduct { pub fn StoreId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProductKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProductKind)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasDigitalDownload(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasDigitalDownload)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1832,7 +1832,7 @@ impl StoreProduct { pub fn Keywords(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Keywords)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1840,7 +1840,7 @@ impl StoreProduct { pub fn Images(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Images)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1848,7 +1848,7 @@ impl StoreProduct { pub fn Videos(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Videos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1856,49 +1856,49 @@ impl StoreProduct { pub fn Skus(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Skus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsInUserCollection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInUserCollection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Price(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Price)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedJsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedJsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LinkUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinkUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIsAnySkuInstalledAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIsAnySkuInstalledAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestPurchaseAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPurchaseAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1908,14 +1908,14 @@ impl StoreProduct { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPurchaseWithPurchasePropertiesAsync)(windows_core::Interface::as_raw(this), storepurchaseproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InAppOfferToken(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InAppOfferToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1948,7 +1948,7 @@ impl StoreProductOptions { pub fn ActionFilters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionFilters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1974,28 +1974,28 @@ impl StoreProductPagedQueryResult { pub fn Products(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Products)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasMoreResults(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasMoreResults)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetNextAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNextAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2021,14 +2021,14 @@ impl StoreProductQueryResult { pub fn Products(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Products)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2053,14 +2053,14 @@ impl StoreProductResult { pub fn Product(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Product)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2092,7 +2092,7 @@ impl StorePurchaseProperties { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2103,7 +2103,7 @@ impl StorePurchaseProperties { pub fn ExtendedJsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedJsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2113,7 +2113,7 @@ impl StorePurchaseProperties { } pub fn Create(name: &windows_core::HSTRING) -> windows_core::Result { Self::IStorePurchasePropertiesFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2143,14 +2143,14 @@ impl StorePurchaseResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2175,28 +2175,28 @@ impl StoreQueueItem { pub fn ProductId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProductId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InstallKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetCurrentStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentStatus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2206,7 +2206,7 @@ impl StoreQueueItem { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2220,7 +2220,7 @@ impl StoreQueueItem { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2231,21 +2231,21 @@ impl StoreQueueItem { pub fn CancelInstallAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CancelInstallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PauseInstallAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PauseInstallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResumeInstallAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResumeInstallAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2270,7 +2270,7 @@ impl StoreQueueItemCompletedEventArgs { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2295,28 +2295,28 @@ impl StoreQueueItemStatus { pub fn PackageInstallState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageInstallState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PackageInstallExtendedState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageInstallExtendedState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UpdateStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateStatus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2341,28 +2341,28 @@ impl StoreRateAndReviewResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedJsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedJsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WasUpdated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WasUpdated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2386,7 +2386,7 @@ impl StoreRequestHelper { P0: windows_core::Param, { Self::IStoreRequestHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendRequestAsync)(windows_core::Interface::as_raw(this), context.param().abi(), requestkind, core::mem::transmute_copy(parametersasjson), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2407,14 +2407,14 @@ impl StoreSendRequestResult { pub fn Response(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Response)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2422,7 +2422,7 @@ impl StoreSendRequestResult { pub fn HttpStatusCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HttpStatusCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2447,42 +2447,42 @@ impl StoreSku { pub fn StoreId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsTrial(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTrial)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CustomDeveloperData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomDeveloperData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2490,7 +2490,7 @@ impl StoreSku { pub fn Images(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Images)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2498,7 +2498,7 @@ impl StoreSku { pub fn Videos(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Videos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2506,28 +2506,28 @@ impl StoreSku { pub fn Availabilities(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Availabilities)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Price(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Price)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedJsonData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedJsonData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsInUserCollection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInUserCollection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2535,28 +2535,28 @@ impl StoreSku { pub fn BundledSkus(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BundledSkus)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CollectionData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CollectionData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIsInstalledAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIsInstalledAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestPurchaseAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPurchaseAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2566,21 +2566,21 @@ impl StoreSku { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPurchaseWithPurchasePropertiesAsync)(windows_core::Interface::as_raw(this), storepurchaseproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSubscription(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSubscription)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SubscriptionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscriptionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2605,35 +2605,35 @@ impl StoreSubscriptionInfo { pub fn BillingPeriod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BillingPeriod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BillingPeriodUnit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BillingPeriodUnit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasTrialPeriod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasTrialPeriod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrialPeriod(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrialPeriod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TrialPeriodUnit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrialPeriodUnit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2658,14 +2658,14 @@ impl StoreUninstallStorePackageResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2690,42 +2690,42 @@ impl StoreVideo { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VideoPurposeTag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoPurposeTag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Caption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Caption)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviewImage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviewImage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 6070e5cabd..eb82310e4d 100644 --- a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs +++ b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs @@ -33,10 +33,10 @@ impl windows_core::RuntimeType for ITargetedContentCollection { #[repr(C)] pub struct ITargetedContentCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportInteraction: unsafe extern "system" fn(*mut core::ffi::c_void, TargetedContentInteraction) -> windows_core::HRESULT, - pub ReportCustomInteraction: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportCustomInteraction: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -57,11 +57,11 @@ impl windows_core::RuntimeType for ITargetedContentContainer { #[repr(C)] pub struct ITargetedContentContainer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Availability: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TargetedContentAvailability) -> windows_core::HRESULT, pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SelectSingleObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SelectSingleObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetedContentContainerStatics, ITargetedContentContainerStatics_Vtbl, 0x5b47e7fb_2140_4c1f_a736_c59583f227d8); impl windows_core::RuntimeType for ITargetedContentContainerStatics { @@ -70,7 +70,7 @@ impl windows_core::RuntimeType for ITargetedContentContainerStatics { #[repr(C)] pub struct ITargetedContentContainerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetedContentImage, ITargetedContentImage_Vtbl, 0xa7a585d9_779f_4b1e_bbb1_8eaf53fbeab2); impl windows_core::RuntimeType for ITargetedContentImage { @@ -89,9 +89,9 @@ impl windows_core::RuntimeType for ITargetedContentItem { #[repr(C)] pub struct ITargetedContentItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReportInteraction: unsafe extern "system" fn(*mut core::ffi::c_void, TargetedContentInteraction) -> windows_core::HRESULT, - pub ReportCustomInteraction: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportCustomInteraction: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -140,7 +140,7 @@ impl windows_core::RuntimeType for ITargetedContentSubscription { #[repr(C)] pub struct ITargetedContentSubscription_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetContentContainerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ContentChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveContentChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -156,7 +156,7 @@ impl windows_core::RuntimeType for ITargetedContentSubscriptionOptions { #[repr(C)] pub struct ITargetedContentSubscriptionOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SubscriptionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubscriptionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AllowPartialContentAvailability: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowPartialContentAvailability: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -176,8 +176,8 @@ impl windows_core::RuntimeType for ITargetedContentSubscriptionStatics { #[repr(C)] pub struct ITargetedContentSubscriptionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetedContentValue, ITargetedContentValue_Vtbl, 0xaafde4b3_4215_4bf8_867f_43f04865f9bf); impl windows_core::RuntimeType for ITargetedContentValue { @@ -187,8 +187,8 @@ impl windows_core::RuntimeType for ITargetedContentValue { pub struct ITargetedContentValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ValueKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TargetedContentValueKind) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub String: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub String: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Number: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub Boolean: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -235,7 +235,7 @@ impl TargetedContentAction { pub fn InvokeAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvokeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -260,7 +260,7 @@ impl TargetedContentAvailabilityChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -285,14 +285,14 @@ impl TargetedContentChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasPreviousContentExpired(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasPreviousContentExpired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -317,7 +317,7 @@ impl TargetedContentCollection { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -332,7 +332,7 @@ impl TargetedContentCollection { pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -340,7 +340,7 @@ impl TargetedContentCollection { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -348,7 +348,7 @@ impl TargetedContentCollection { pub fn Collections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Collections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -356,7 +356,7 @@ impl TargetedContentCollection { pub fn Items(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -381,41 +381,41 @@ impl TargetedContentContainer { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Availability(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Availability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectSingleObject(&self, path: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectSingleObject)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(path), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAsync(contentid: &windows_core::HSTRING) -> windows_core::Result> { Self::ITargetedContentContainerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -451,7 +451,7 @@ impl TargetedContentFile { pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -484,21 +484,21 @@ impl TargetedContentImage { pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -523,7 +523,7 @@ impl TargetedContentItem { pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -538,7 +538,7 @@ impl TargetedContentItem { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -546,7 +546,7 @@ impl TargetedContentItem { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -554,7 +554,7 @@ impl TargetedContentItem { pub fn Collections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Collections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -579,14 +579,14 @@ impl TargetedContentItemState { pub fn ShouldDisplay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldDisplay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppInstallationState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppInstallationState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -611,28 +611,28 @@ impl TargetedContentObject { pub fn ObjectKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ObjectKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Collection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Collection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Item(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Item)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -657,7 +657,7 @@ impl TargetedContentStateChangedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -682,14 +682,14 @@ impl TargetedContentSubscription { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetContentContainerAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetContentContainerAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -699,7 +699,7 @@ impl TargetedContentSubscription { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -713,7 +713,7 @@ impl TargetedContentSubscription { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailabilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -727,7 +727,7 @@ impl TargetedContentSubscription { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -737,13 +737,13 @@ impl TargetedContentSubscription { } pub fn GetAsync(subscriptionid: &windows_core::HSTRING) -> windows_core::Result> { Self::ITargetedContentSubscriptionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subscriptionid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetOptions(subscriptionid: &windows_core::HSTRING) -> windows_core::Result { Self::ITargetedContentSubscriptionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subscriptionid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -773,14 +773,14 @@ impl TargetedContentSubscriptionOptions { pub fn SubscriptionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubscriptionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AllowPartialContentAvailability(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowPartialContentAvailability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -792,7 +792,7 @@ impl TargetedContentSubscriptionOptions { pub fn CloudQueryParameters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloudQueryParameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -800,7 +800,7 @@ impl TargetedContentSubscriptionOptions { pub fn LocalFilters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalFilters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -829,42 +829,42 @@ impl TargetedContentValue { pub fn ValueKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn String(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).String)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Number(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Number)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Boolean(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Boolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -872,21 +872,21 @@ impl TargetedContentValue { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ImageFile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageFile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Action(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Action)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -894,7 +894,7 @@ impl TargetedContentValue { pub fn Strings(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Strings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -902,7 +902,7 @@ impl TargetedContentValue { pub fn Uris(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uris)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -910,7 +910,7 @@ impl TargetedContentValue { pub fn Numbers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Numbers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -918,7 +918,7 @@ impl TargetedContentValue { pub fn Booleans(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Booleans)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -926,7 +926,7 @@ impl TargetedContentValue { pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -934,7 +934,7 @@ impl TargetedContentValue { pub fn ImageFiles(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageFiles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -942,7 +942,7 @@ impl TargetedContentValue { pub fn Actions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Actions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs index caa68ad6df..a6b29d35c0 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs @@ -24,7 +24,7 @@ impl windows_core::RuntimeName for IStorageItemAccessList { #[cfg(feature = "Foundation_Collections")] impl IStorageItemAccessList_Vtbl { pub const fn new, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>() -> IStorageItemAccessList_Vtbl { - unsafe extern "system" fn AddOverloadDefaultMetadata, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddOverloadDefaultMetadata, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemAccessList_Impl::AddOverloadDefaultMetadata(this, windows_core::from_raw_borrowed(&file)) { @@ -36,7 +36,7 @@ impl IStorageItemAccessList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: *mut core::ffi::c_void, metadata: std::mem::MaybeUninit, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: *mut core::ffi::c_void, metadata: core::mem::MaybeUninit, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemAccessList_Impl::Add(this, windows_core::from_raw_borrowed(&file), core::mem::transmute(&metadata)) { @@ -48,17 +48,17 @@ impl IStorageItemAccessList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddOrReplaceOverloadDefaultMetadata, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit, file: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddOrReplaceOverloadDefaultMetadata, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit, file: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStorageItemAccessList_Impl::AddOrReplaceOverloadDefaultMetadata(this, core::mem::transmute(&token), windows_core::from_raw_borrowed(&file)).into() } - unsafe extern "system" fn AddOrReplace, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit, file: *mut core::ffi::c_void, metadata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddOrReplace, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit, file: *mut core::ffi::c_void, metadata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStorageItemAccessList_Impl::AddOrReplace(this, core::mem::transmute(&token), windows_core::from_raw_borrowed(&file), core::mem::transmute(&metadata)).into() } - unsafe extern "system" fn GetItemAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetItemAsync(this, core::mem::transmute(&token)) { @@ -70,7 +70,7 @@ impl IStorageItemAccessList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetFileAsync(this, core::mem::transmute(&token)) { @@ -82,7 +82,7 @@ impl IStorageItemAccessList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFolderAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFolderAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetFolderAsync(this, core::mem::transmute(&token)) { @@ -94,7 +94,7 @@ impl IStorageItemAccessList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetItemWithOptionsAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit, options: AccessCacheOptions, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemWithOptionsAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit, options: AccessCacheOptions, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetItemWithOptionsAsync(this, core::mem::transmute(&token), options) { @@ -106,7 +106,7 @@ impl IStorageItemAccessList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileWithOptionsAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit, options: AccessCacheOptions, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileWithOptionsAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit, options: AccessCacheOptions, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetFileWithOptionsAsync(this, core::mem::transmute(&token), options) { @@ -118,7 +118,7 @@ impl IStorageItemAccessList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFolderWithOptionsAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit, options: AccessCacheOptions, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFolderWithOptionsAsync, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit, options: AccessCacheOptions, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemAccessList_Impl::GetFolderWithOptionsAsync(this, core::mem::transmute(&token), options) { @@ -130,12 +130,12 @@ impl IStorageItemAccessList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStorageItemAccessList_Impl::Remove(this, core::mem::transmute(&token)).into() } - unsafe extern "system" fn ContainsItem, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: std::mem::MaybeUninit, result__: *mut bool) -> windows_core::HRESULT { + unsafe extern "system" fn ContainsItem, Impl: IStorageItemAccessList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, token: core::mem::MaybeUninit, result__: *mut bool) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemAccessList_Impl::ContainsItem(this, core::mem::transmute(&token)) { diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs index 4ef3aff130..f9844f2c2b 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IItemRemovedEventArgs { #[repr(C)] pub struct IItemRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RemovedEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemovedEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageApplicationPermissionsStatics, IStorageApplicationPermissionsStatics_Vtbl, 0x4391dfaa_d033_48f9_8060_3ec847d2e3f1); impl windows_core::RuntimeType for IStorageApplicationPermissionsStatics { @@ -37,7 +37,7 @@ windows_core::imp::define_interface!(IStorageItemAccessList, IStorageItemAccessL impl std::ops::Deref for IStorageItemAccessList { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageItemAccessList, windows_core::IUnknown, windows_core::IInspectable); @@ -48,7 +48,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddOverloadDefaultMetadata)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -58,7 +58,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Add)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(metadata), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -79,42 +79,42 @@ impl IStorageItemAccessList { pub fn GetItemAsync(&self, token: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFileAsync(&self, token: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderAsync(&self, token: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemWithOptionsAsync(&self, token: &windows_core::HSTRING, options: AccessCacheOptions) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFileWithOptionsAsync(&self, token: &windows_core::HSTRING, options: AccessCacheOptions) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderWithOptionsAsync(&self, token: &windows_core::HSTRING, options: AccessCacheOptions) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -125,7 +125,7 @@ impl IStorageItemAccessList { pub fn ContainsItem(&self, token: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsItem)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).map(|| result__) } } @@ -139,7 +139,7 @@ impl IStorageItemAccessList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckAccess)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).map(|| result__) } } @@ -147,14 +147,14 @@ impl IStorageItemAccessList { pub fn Entries(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Entries)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaximumItemsAllowed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaximumItemsAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -165,18 +165,18 @@ impl windows_core::RuntimeType for IStorageItemAccessList { #[repr(C)] pub struct IStorageItemAccessList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddOverloadDefaultMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddOrReplaceOverloadDefaultMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddOrReplace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetItemWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, AccessCacheOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFileWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, AccessCacheOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFolderWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, AccessCacheOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContainsItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub AddOverloadDefaultMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddOrReplaceOverloadDefaultMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddOrReplace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetItemWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, AccessCacheOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, AccessCacheOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolderWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, AccessCacheOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainsItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CheckAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -202,8 +202,8 @@ impl windows_core::RuntimeType for IStorageItemMostRecentlyUsedList2 { #[repr(C)] pub struct IStorageItemMostRecentlyUsedList2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddWithMetadataAndVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, RecentStorageItemVisibility, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddOrReplaceWithMetadataAndVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, RecentStorageItemVisibility) -> windows_core::HRESULT, + pub AddWithMetadataAndVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, RecentStorageItemVisibility, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddOrReplaceWithMetadataAndVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, RecentStorageItemVisibility) -> windows_core::HRESULT, } #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] @@ -219,7 +219,7 @@ impl AccessListEntryView { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -227,7 +227,7 @@ impl AccessListEntryView { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -235,7 +235,7 @@ impl AccessListEntryView { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -246,7 +246,7 @@ impl AccessListEntryView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -254,7 +254,7 @@ impl AccessListEntryView { pub fn GetMany(&self, startindex: u32, items: &mut [AccessListEntry]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -296,7 +296,7 @@ impl ItemRemovedEventArgs { pub fn RemovedEntry(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovedEntry)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -315,13 +315,13 @@ pub struct StorageApplicationPermissions; impl StorageApplicationPermissions { pub fn FutureAccessList() -> windows_core::Result { Self::IStorageApplicationPermissionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FutureAccessList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MostRecentlyUsedList() -> windows_core::Result { Self::IStorageApplicationPermissionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MostRecentlyUsedList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -331,7 +331,7 @@ impl StorageApplicationPermissions { P0: windows_core::Param, { Self::IStorageApplicationPermissionsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFutureAccessListForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -341,7 +341,7 @@ impl StorageApplicationPermissions { P0: windows_core::Param, { Self::IStorageApplicationPermissionsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMostRecentlyUsedListForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -371,7 +371,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddOverloadDefaultMetadata)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -381,7 +381,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Add)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(metadata), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -402,42 +402,42 @@ impl StorageItemAccessList { pub fn GetItemAsync(&self, token: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFileAsync(&self, token: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderAsync(&self, token: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemWithOptionsAsync(&self, token: &windows_core::HSTRING, options: AccessCacheOptions) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFileWithOptionsAsync(&self, token: &windows_core::HSTRING, options: AccessCacheOptions) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderWithOptionsAsync(&self, token: &windows_core::HSTRING, options: AccessCacheOptions) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -448,7 +448,7 @@ impl StorageItemAccessList { pub fn ContainsItem(&self, token: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsItem)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).map(|| result__) } } @@ -462,7 +462,7 @@ impl StorageItemAccessList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckAccess)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).map(|| result__) } } @@ -470,14 +470,14 @@ impl StorageItemAccessList { pub fn Entries(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Entries)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaximumItemsAllowed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaximumItemsAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -504,7 +504,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddOverloadDefaultMetadata)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -514,7 +514,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Add)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(metadata), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -535,42 +535,42 @@ impl StorageItemMostRecentlyUsedList { pub fn GetItemAsync(&self, token: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFileAsync(&self, token: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderAsync(&self, token: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemWithOptionsAsync(&self, token: &windows_core::HSTRING, options: AccessCacheOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFileWithOptionsAsync(&self, token: &windows_core::HSTRING, options: AccessCacheOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderWithOptionsAsync(&self, token: &windows_core::HSTRING, options: AccessCacheOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -581,7 +581,7 @@ impl StorageItemMostRecentlyUsedList { pub fn ContainsItem(&self, token: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsItem)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).map(|| result__) } } @@ -595,7 +595,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckAccess)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).map(|| result__) } } @@ -603,14 +603,14 @@ impl StorageItemMostRecentlyUsedList { pub fn Entries(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Entries)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaximumItemsAllowed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaximumItemsAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -620,7 +620,7 @@ impl StorageItemMostRecentlyUsedList { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -634,7 +634,7 @@ impl StorageItemMostRecentlyUsedList { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddWithMetadataAndVisibility)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(metadata), visibility, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index 911f9881ea..64ead98d69 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -61,7 +61,7 @@ windows_core::imp::define_interface!(IStorageItemInformation, IStorageItemInform impl std::ops::Deref for IStorageItemInformation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageItemInformation, windows_core::IUnknown, windows_core::IInspectable); @@ -70,7 +70,7 @@ impl IStorageItemInformation { pub fn MusicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MusicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -78,7 +78,7 @@ impl IStorageItemInformation { pub fn VideoProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -86,7 +86,7 @@ impl IStorageItemInformation { pub fn ImageProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -94,7 +94,7 @@ impl IStorageItemInformation { pub fn DocumentProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -102,7 +102,7 @@ impl IStorageItemInformation { pub fn BasicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BasicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -110,7 +110,7 @@ impl IStorageItemInformation { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -120,7 +120,7 @@ impl IStorageItemInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThumbnailUpdated)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -134,7 +134,7 @@ impl IStorageItemInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PropertiesUpdated)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -189,7 +189,7 @@ impl FileInformation { pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenSequentialReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -197,21 +197,21 @@ impl FileInformation { pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FileType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -219,14 +219,14 @@ impl FileInformation { pub fn OpenAsync(&self, accessmode: super::FileAccessMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAsync)(windows_core::Interface::as_raw(this), accessmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenTransactedWriteAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -236,7 +236,7 @@ impl FileInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyOverloadDefaultNameAndOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -246,7 +246,7 @@ impl FileInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyOverloadDefaultOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -256,7 +256,7 @@ impl FileInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyOverload)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -266,7 +266,7 @@ impl FileInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyAndReplaceAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -276,7 +276,7 @@ impl FileInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveOverloadDefaultNameAndOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -286,7 +286,7 @@ impl FileInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveOverloadDefaultOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -296,7 +296,7 @@ impl FileInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveOverload)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -306,7 +306,7 @@ impl FileInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveAndReplaceAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -314,49 +314,49 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenWithOptionsAsync)(windows_core::Interface::as_raw(this), accessmode, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenTransactedWriteWithOptionsAsync(&self, options: super::StorageOpenOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteWithOptionsAsync)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsAvailable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RenameAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsync(&self, desiredname: &windows_core::HSTRING, option: super::NameCollisionOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsyncOverloadDefaultOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self, option: super::StorageDeleteOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -364,49 +364,49 @@ impl FileInformation { pub fn GetBasicPropertiesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBasicPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DateCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOfType(&self, r#type: super::StorageItemTypes) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfType)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } pub fn GetParentAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetParentAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -416,7 +416,7 @@ impl FileInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) } } @@ -424,7 +424,7 @@ impl FileInformation { pub fn MusicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MusicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -432,7 +432,7 @@ impl FileInformation { pub fn VideoProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -440,7 +440,7 @@ impl FileInformation { pub fn ImageProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -448,7 +448,7 @@ impl FileInformation { pub fn DocumentProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -456,7 +456,7 @@ impl FileInformation { pub fn BasicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BasicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -464,7 +464,7 @@ impl FileInformation { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -474,7 +474,7 @@ impl FileInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThumbnailUpdated)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -488,7 +488,7 @@ impl FileInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PropertiesUpdated)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -500,7 +500,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -508,7 +508,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -516,28 +516,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FolderRelativeId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderRelativeId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -545,14 +545,14 @@ impl FileInformation { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Provider(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Provider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -576,7 +576,7 @@ impl FileInformationFactory { pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -584,7 +584,7 @@ impl FileInformationFactory { pub fn GetItemsAsyncDefaultStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsyncDefaultStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -592,7 +592,7 @@ impl FileInformationFactory { pub fn GetFilesAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsync)(windows_core::Interface::as_raw(this), startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -600,7 +600,7 @@ impl FileInformationFactory { pub fn GetFilesAsyncDefaultStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsyncDefaultStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -608,7 +608,7 @@ impl FileInformationFactory { pub fn GetFoldersAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsync)(windows_core::Interface::as_raw(this), startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -616,28 +616,28 @@ impl FileInformationFactory { pub fn GetFoldersAsyncDefaultStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsyncDefaultStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetVirtualizedItemsVector(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVirtualizedItemsVector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetVirtualizedFilesVector(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVirtualizedFilesVector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetVirtualizedFoldersVector(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVirtualizedFoldersVector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -647,7 +647,7 @@ impl FileInformationFactory { P0: windows_core::Param, { Self::IFileInformationFactoryFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithMode)(windows_core::Interface::as_raw(this), queryresult.param().abi(), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -657,7 +657,7 @@ impl FileInformationFactory { P0: windows_core::Param, { Self::IFileInformationFactoryFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithModeAndSize)(windows_core::Interface::as_raw(this), queryresult.param().abi(), mode, requestedthumbnailsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -667,7 +667,7 @@ impl FileInformationFactory { P0: windows_core::Param, { Self::IFileInformationFactoryFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithModeAndSizeAndOptions)(windows_core::Interface::as_raw(this), queryresult.param().abi(), mode, requestedthumbnailsize, thumbnailoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -677,7 +677,7 @@ impl FileInformationFactory { P0: windows_core::Param, { Self::IFileInformationFactoryFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithModeAndSizeAndOptionsAndFlags)(windows_core::Interface::as_raw(this), queryresult.param().abi(), mode, requestedthumbnailsize, thumbnailoptions, delayload, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -709,49 +709,49 @@ impl FolderInformation { pub fn CreateFileAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFileAsync(&self, desiredname: &windows_core::HSTRING, options: super::CreationCollisionOption) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFolderAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFolderAsync(&self, desiredname: &windows_core::HSTRING, options: super::CreationCollisionOption) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFileAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -759,7 +759,7 @@ impl FolderInformation { pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsyncOverloadDefaultOptionsStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -767,7 +767,7 @@ impl FolderInformation { pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -775,14 +775,14 @@ impl FolderInformation { pub fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetItemAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -790,7 +790,7 @@ impl FolderInformation { pub fn GetIndexedStateAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIndexedStateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -798,7 +798,7 @@ impl FolderInformation { pub fn CreateFileQueryOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -806,7 +806,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -817,7 +817,7 @@ impl FolderInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -825,7 +825,7 @@ impl FolderInformation { pub fn CreateFolderQueryOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -833,7 +833,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -844,7 +844,7 @@ impl FolderInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -852,7 +852,7 @@ impl FolderInformation { pub fn CreateItemQuery(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateItemQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -863,7 +863,7 @@ impl FolderInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateItemQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -871,7 +871,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -879,7 +879,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -887,7 +887,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -895,7 +895,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -903,7 +903,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -914,7 +914,7 @@ impl FolderInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreQueryOptionsSupported)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).map(|| result__) } } @@ -922,7 +922,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCommonFolderQuerySupported)(windows_core::Interface::as_raw(this), query, &mut result__).map(|| result__) } } @@ -930,35 +930,35 @@ impl FolderInformation { pub fn IsCommonFileQuerySupported(&self, query: super::Search::CommonFileQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCommonFileQuerySupported)(windows_core::Interface::as_raw(this), query, &mut result__).map(|| result__) } } pub fn RenameAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsync(&self, desiredname: &windows_core::HSTRING, option: super::NameCollisionOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsyncOverloadDefaultOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self, option: super::StorageDeleteOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -966,49 +966,49 @@ impl FolderInformation { pub fn GetBasicPropertiesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBasicPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DateCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOfType(&self, r#type: super::StorageItemTypes) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfType)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } pub fn GetParentAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetParentAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1018,7 +1018,7 @@ impl FolderInformation { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) } } @@ -1026,7 +1026,7 @@ impl FolderInformation { pub fn MusicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MusicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1034,7 +1034,7 @@ impl FolderInformation { pub fn VideoProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1042,7 +1042,7 @@ impl FolderInformation { pub fn ImageProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1050,7 +1050,7 @@ impl FolderInformation { pub fn DocumentProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1058,7 +1058,7 @@ impl FolderInformation { pub fn BasicProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BasicProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1066,7 +1066,7 @@ impl FolderInformation { pub fn Thumbnail(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thumbnail)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1076,7 +1076,7 @@ impl FolderInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThumbnailUpdated)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1090,7 +1090,7 @@ impl FolderInformation { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PropertiesUpdated)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1102,7 +1102,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1110,7 +1110,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1118,28 +1118,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FolderRelativeId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderRelativeId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1147,14 +1147,14 @@ impl FolderInformation { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Provider(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Provider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 5a82f23986..87042227bb 100644 --- a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs @@ -65,7 +65,7 @@ impl Compressor { pub fn FinishAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinishAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -73,7 +73,7 @@ impl Compressor { pub fn DetachStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -83,7 +83,7 @@ impl Compressor { P0: windows_core::Param, { Self::ICompressorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCompressor)(windows_core::Interface::as_raw(this), underlyingstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -93,7 +93,7 @@ impl Compressor { P0: windows_core::Param, { Self::ICompressorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCompressorEx)(windows_core::Interface::as_raw(this), underlyingstream.param().abi(), algorithm, blocksize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -104,7 +104,7 @@ impl Compressor { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -112,7 +112,7 @@ impl Compressor { pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -149,7 +149,7 @@ impl Decompressor { pub fn DetachStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -159,7 +159,7 @@ impl Decompressor { P0: windows_core::Param, { Self::IDecompressorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDecompressor)(windows_core::Interface::as_raw(this), underlyingstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -170,7 +170,7 @@ impl Decompressor { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::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 1c1bfc398a..3120df0c9b 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -20,14 +20,14 @@ pub struct IDocumentProperties_Vtbl { pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Author: usize, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Keywords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Keywords: usize, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetComment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetComment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGeotagHelperStatics, IGeotagHelperStatics_Vtbl, 0x41493244_2524_4655_86a6_ed16f5fc716b); impl windows_core::RuntimeType for IGeotagHelperStatics { @@ -66,14 +66,14 @@ pub struct IImageProperties_Vtbl { pub SetDateTaken: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Latitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Longitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CameraManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCameraManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CameraModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCameraModel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CameraManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCameraManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CameraModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCameraModel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoOrientation) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub PeopleNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -87,24 +87,24 @@ impl windows_core::RuntimeType for IMusicProperties { #[repr(C)] pub struct IMusicProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Album: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAlbum: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetArtist: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Album: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAlbum: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArtist: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Genre: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Genre: usize, pub TrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetTrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Rating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetRating: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Bitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub AlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Composers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -113,14 +113,14 @@ pub struct IMusicProperties_Vtbl { pub Conductors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Conductors: usize, - pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubtitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubtitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Producers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Producers: usize, - pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Writers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -144,7 +144,7 @@ windows_core::imp::define_interface!(IStorageItemExtraProperties, IStorageItemEx impl std::ops::Deref for IStorageItemExtraProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageItemExtraProperties, windows_core::IUnknown, windows_core::IInspectable); @@ -156,7 +156,7 @@ impl IStorageItemExtraProperties { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -167,14 +167,14 @@ impl IStorageItemExtraProperties { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestosave.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SavePropertiesAsyncOverloadDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -225,16 +225,16 @@ pub struct IVideoProperties_Vtbl { pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Latitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Longitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubtitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubtitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Producers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Producers: usize, - pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Writers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -257,21 +257,21 @@ impl BasicProperties { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DateModified(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateModified)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ItemDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -282,7 +282,7 @@ impl BasicProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -293,14 +293,14 @@ impl BasicProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestosave.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SavePropertiesAsyncOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -325,14 +325,14 @@ impl DocumentProperties { pub fn Author(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Author)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -344,14 +344,14 @@ impl DocumentProperties { pub fn Keywords(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Keywords)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -366,7 +366,7 @@ impl DocumentProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -377,14 +377,14 @@ impl DocumentProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestosave.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SavePropertiesAsyncOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -407,7 +407,7 @@ impl GeotagHelper { P0: windows_core::Param, { Self::IGeotagHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetGeotagAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -418,7 +418,7 @@ impl GeotagHelper { P1: windows_core::Param, { Self::IGeotagHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetGeotagFromGeolocatorAsync)(windows_core::Interface::as_raw(this), file.param().abi(), geolocator.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -429,7 +429,7 @@ impl GeotagHelper { P1: windows_core::Param, { Self::IGeotagHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetGeotagAsync)(windows_core::Interface::as_raw(this), file.param().abi(), geopoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -451,7 +451,7 @@ impl ImageProperties { pub fn Rating(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rating)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -463,14 +463,14 @@ impl ImageProperties { pub fn Keywords(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Keywords)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DateTaken(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateTaken)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -481,21 +481,21 @@ impl ImageProperties { pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -506,21 +506,21 @@ impl ImageProperties { pub fn Latitude(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Latitude)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Longitude(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Longitude)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CameraManufacturer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraManufacturer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -531,7 +531,7 @@ impl ImageProperties { pub fn CameraModel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraModel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -542,7 +542,7 @@ impl ImageProperties { pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -550,7 +550,7 @@ impl ImageProperties { pub fn PeopleNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeopleNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -561,7 +561,7 @@ impl ImageProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -572,14 +572,14 @@ impl ImageProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestosave.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SavePropertiesAsyncOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -603,7 +603,7 @@ impl MusicProperties { pub fn Album(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Album)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -614,7 +614,7 @@ impl MusicProperties { pub fn Artist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Artist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -626,14 +626,14 @@ impl MusicProperties { pub fn Genre(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Genre)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrackNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -644,7 +644,7 @@ impl MusicProperties { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -655,7 +655,7 @@ impl MusicProperties { pub fn Rating(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rating)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -666,21 +666,21 @@ impl MusicProperties { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Bitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AlbumArtist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumArtist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -692,7 +692,7 @@ impl MusicProperties { pub fn Composers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Composers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -700,14 +700,14 @@ impl MusicProperties { pub fn Conductors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Conductors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Subtitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -719,14 +719,14 @@ impl MusicProperties { pub fn Producers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Producers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Publisher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Publisher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -738,14 +738,14 @@ impl MusicProperties { pub fn Writers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Writers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Year(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Year)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -760,7 +760,7 @@ impl MusicProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -771,14 +771,14 @@ impl MusicProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestosave.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SavePropertiesAsyncOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -802,28 +802,28 @@ impl StorageItemContentProperties { pub fn GetMusicPropertiesAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMusicPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetVideoPropertiesAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVideoPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetImagePropertiesAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetImagePropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDocumentPropertiesAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDocumentPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -834,7 +834,7 @@ impl StorageItemContentProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -845,14 +845,14 @@ impl StorageItemContentProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestosave.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SavePropertiesAsyncOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -885,7 +885,7 @@ impl StorageItemThumbnail { pub fn ContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -896,7 +896,7 @@ impl StorageItemThumbnail { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -907,7 +907,7 @@ impl StorageItemThumbnail { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -915,7 +915,7 @@ impl StorageItemThumbnail { pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -923,7 +923,7 @@ impl StorageItemThumbnail { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -936,7 +936,7 @@ impl StorageItemThumbnail { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -944,7 +944,7 @@ impl StorageItemThumbnail { pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -952,7 +952,7 @@ impl StorageItemThumbnail { pub fn Position(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -965,7 +965,7 @@ impl StorageItemThumbnail { pub fn CloneStream(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -973,7 +973,7 @@ impl StorageItemThumbnail { pub fn CanRead(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -981,35 +981,35 @@ impl StorageItemThumbnail { pub fn CanWrite(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OriginalWidth(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OriginalWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OriginalHeight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OriginalHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReturnedSmallerCachedSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReturnedSmallerCachedSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1040,7 +1040,7 @@ impl VideoProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1051,21 +1051,21 @@ impl VideoProperties { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsync)(windows_core::Interface::as_raw(this), propertiestosave.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SavePropertiesAsyncOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavePropertiesAsyncOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Rating(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rating)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1077,49 +1077,49 @@ impl VideoProperties { pub fn Keywords(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Keywords)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Height(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Height)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Latitude(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Latitude)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Longitude(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Longitude)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1130,7 +1130,7 @@ impl VideoProperties { pub fn Subtitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1142,14 +1142,14 @@ impl VideoProperties { pub fn Producers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Producers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Publisher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Publisher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1161,14 +1161,14 @@ impl VideoProperties { pub fn Writers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Writers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Year(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Year)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1179,7 +1179,7 @@ impl VideoProperties { pub fn Bitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bitrate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1187,14 +1187,14 @@ impl VideoProperties { pub fn Directors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Directors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 594e7d7dfd..ae3582630e 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs @@ -5,18 +5,18 @@ impl windows_core::RuntimeType for IFileOpenPickerUI { #[repr(C)] pub struct IFileOpenPickerUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut AddFileResult) -> windows_core::HRESULT, - pub RemoveFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContainsFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub AddFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut AddFileResult) -> windows_core::HRESULT, + pub RemoveFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainsFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, pub CanAddFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AllowedFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AllowedFileTypes: usize, pub SelectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FileSelectionMode) -> windows_core::HRESULT, - pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] pub FileRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] @@ -39,7 +39,7 @@ impl windows_core::RuntimeType for IFileRemovedEventArgs { pub struct IFileRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] Id: usize, } @@ -50,15 +50,15 @@ impl windows_core::RuntimeType for IFileSavePickerUI { #[repr(C)] pub struct IFileSavePickerUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub AllowedFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AllowedFileTypes: usize, - pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TrySetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut SetFileNameResult) -> windows_core::HRESULT, + pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrySetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut SetFileNameResult) -> windows_core::HRESULT, pub FileNameChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveFileNameChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub TargetFileRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -133,7 +133,7 @@ impl FileOpenPickerUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddFile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), file.param().abi(), &mut result__).map(|| result__) } } @@ -144,7 +144,7 @@ impl FileOpenPickerUI { pub fn ContainsFile(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsFile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).map(|| result__) } } @@ -154,7 +154,7 @@ impl FileOpenPickerUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanAddFile)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).map(|| result__) } } @@ -162,28 +162,28 @@ impl FileOpenPickerUI { pub fn AllowedFileTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedFileTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SelectionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SettingsIdentifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SettingsIdentifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -198,7 +198,7 @@ impl FileOpenPickerUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -213,7 +213,7 @@ impl FileOpenPickerUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -244,7 +244,7 @@ impl FileRemovedEventArgs { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -270,7 +270,7 @@ impl FileSavePickerUI { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -282,28 +282,28 @@ impl FileSavePickerUI { pub fn AllowedFileTypes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowedFileTypes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SettingsIdentifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SettingsIdentifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrySetFileName(&self, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetFileName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -313,7 +313,7 @@ impl FileSavePickerUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileNameChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -327,7 +327,7 @@ impl FileSavePickerUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetFileRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -374,14 +374,14 @@ impl PickerClosingEventArgs { pub fn ClosingOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClosingOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -404,14 +404,14 @@ impl PickerClosingOperation { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -434,7 +434,7 @@ impl TargetFileRequest { pub fn TargetFile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetFile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -448,7 +448,7 @@ impl TargetFileRequest { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -491,7 +491,7 @@ impl TargetFileRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 7474453cdb..e1a4a9e853 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -9,12 +9,12 @@ pub struct IFileOpenPicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ViewMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PickerViewMode) -> windows_core::HRESULT, pub SetViewMode: unsafe extern "system" fn(*mut core::ffi::c_void, PickerViewMode) -> windows_core::HRESULT, - pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SuggestedStartLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PickerLocationId) -> windows_core::HRESULT, pub SetSuggestedStartLocation: unsafe extern "system" fn(*mut core::ffi::c_void, PickerLocationId) -> windows_core::HRESULT, - pub CommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FileTypeFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -88,7 +88,7 @@ impl windows_core::RuntimeType for IFileOpenPickerWithOperationId { #[repr(C)] pub struct IFileOpenPickerWithOperationId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PickSingleFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PickSingleFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileSavePicker, IFileSavePicker_Vtbl, 0x3286ffcb_617f_4cc5_af6a_b3fdf29ad145); impl windows_core::RuntimeType for IFileSavePicker { @@ -97,22 +97,22 @@ impl windows_core::RuntimeType for IFileSavePicker { #[repr(C)] pub struct IFileSavePicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SuggestedStartLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PickerLocationId) -> windows_core::HRESULT, pub SetSuggestedStartLocation: unsafe extern "system" fn(*mut core::ffi::c_void, PickerLocationId) -> windows_core::HRESULT, - pub CommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FileTypeChoices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FileTypeChoices: usize, - pub DefaultFileExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDefaultFileExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultFileExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultFileExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SuggestedSaveFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSuggestedSaveFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SuggestedFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSuggestedFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SuggestedFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSuggestedFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PickSaveFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileSavePicker2, IFileSavePicker2_Vtbl, 0x0ec313a2_d24b_449a_8197_e89104fd42cc); @@ -138,8 +138,8 @@ impl windows_core::RuntimeType for IFileSavePicker3 { #[repr(C)] pub struct IFileSavePicker3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileSavePicker4, IFileSavePicker4_Vtbl, 0xe7d83a5a_ddfa_5de0_8b70_c842c21988ec); impl windows_core::RuntimeType for IFileSavePicker4 { @@ -174,12 +174,12 @@ pub struct IFolderPicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ViewMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PickerViewMode) -> windows_core::HRESULT, pub SetViewMode: unsafe extern "system" fn(*mut core::ffi::c_void, PickerViewMode) -> windows_core::HRESULT, - pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSettingsIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SuggestedStartLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PickerLocationId) -> windows_core::HRESULT, pub SetSuggestedStartLocation: unsafe extern "system" fn(*mut core::ffi::c_void, PickerLocationId) -> windows_core::HRESULT, - pub CommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCommitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FileTypeFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -240,7 +240,7 @@ impl FileExtensionVector { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -248,7 +248,7 @@ impl FileExtensionVector { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -256,7 +256,7 @@ impl FileExtensionVector { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -264,7 +264,7 @@ impl FileExtensionVector { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -272,7 +272,7 @@ impl FileExtensionVector { pub fn IndexOf(&self, value: &windows_core::HSTRING, index: &mut u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), index, &mut result__).map(|| result__) } } @@ -310,7 +310,7 @@ impl FileExtensionVector { pub fn GetMany(&self, startindex: u32, items: &mut [windows_core::HSTRING]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -368,7 +368,7 @@ impl FileOpenPicker { pub fn ViewMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -379,7 +379,7 @@ impl FileOpenPicker { pub fn SettingsIdentifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SettingsIdentifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -390,7 +390,7 @@ impl FileOpenPicker { pub fn SuggestedStartLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestedStartLocation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -401,7 +401,7 @@ impl FileOpenPicker { pub fn CommitButtonText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitButtonText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -413,14 +413,14 @@ impl FileOpenPicker { pub fn FileTypeFilter(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileTypeFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PickSingleFileAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleFileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -428,7 +428,7 @@ impl FileOpenPicker { pub fn PickMultipleFilesAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickMultipleFilesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -436,7 +436,7 @@ impl FileOpenPicker { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -454,14 +454,14 @@ impl FileOpenPicker { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "deprecated")] pub fn ResumePickSingleFileAsync() -> windows_core::Result> { Self::IFileOpenPickerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResumePickSingleFileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -471,14 +471,14 @@ impl FileOpenPicker { P0: windows_core::Param, { Self::IFileOpenPickerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PickSingleFileAsync2(&self, pickeroperationid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(pickeroperationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -519,7 +519,7 @@ impl FilePickerFileTypesOrderedMap { pub fn First(&self) -> windows_core::Result>>> { let this = &windows_core::Interface::cast::>>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -527,7 +527,7 @@ impl FilePickerFileTypesOrderedMap { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -535,7 +535,7 @@ impl FilePickerFileTypesOrderedMap { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -543,7 +543,7 @@ impl FilePickerFileTypesOrderedMap { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -551,7 +551,7 @@ impl FilePickerFileTypesOrderedMap { pub fn GetView(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -562,7 +562,7 @@ impl FilePickerFileTypesOrderedMap { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -624,7 +624,7 @@ impl FilePickerSelectedFilesArray { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -632,7 +632,7 @@ impl FilePickerSelectedFilesArray { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -640,7 +640,7 @@ impl FilePickerSelectedFilesArray { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -651,7 +651,7 @@ impl FilePickerSelectedFilesArray { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -659,7 +659,7 @@ impl FilePickerSelectedFilesArray { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -712,7 +712,7 @@ impl FileSavePicker { pub fn SettingsIdentifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SettingsIdentifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -723,7 +723,7 @@ impl FileSavePicker { pub fn SuggestedStartLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestedStartLocation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -734,7 +734,7 @@ impl FileSavePicker { pub fn CommitButtonText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitButtonText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -746,14 +746,14 @@ impl FileSavePicker { pub fn FileTypeChoices(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileTypeChoices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultFileExtension(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultFileExtension)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -764,7 +764,7 @@ impl FileSavePicker { pub fn SuggestedSaveFile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestedSaveFile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -778,7 +778,7 @@ impl FileSavePicker { pub fn SuggestedFileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestedFileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -789,7 +789,7 @@ impl FileSavePicker { pub fn PickSaveFileAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSaveFileAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -797,7 +797,7 @@ impl FileSavePicker { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -809,7 +809,7 @@ impl FileSavePicker { pub fn EnterpriseId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterpriseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -821,7 +821,7 @@ impl FileSavePicker { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -831,7 +831,7 @@ impl FileSavePicker { P0: windows_core::Param, { Self::IFileSavePickerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -868,7 +868,7 @@ impl FolderPicker { pub fn ViewMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -879,7 +879,7 @@ impl FolderPicker { pub fn SettingsIdentifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SettingsIdentifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -890,7 +890,7 @@ impl FolderPicker { pub fn SuggestedStartLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestedStartLocation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -901,7 +901,7 @@ impl FolderPicker { pub fn CommitButtonText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitButtonText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -913,14 +913,14 @@ impl FolderPicker { pub fn FileTypeFilter(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileTypeFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PickSingleFolderAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleFolderAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -928,7 +928,7 @@ impl FolderPicker { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -941,7 +941,7 @@ impl FolderPicker { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -951,7 +951,7 @@ impl FolderPicker { P0: windows_core::Param, { Self::IFolderPickerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs index 7ab9e55d8c..b1d7e62ffa 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs @@ -9,7 +9,7 @@ impl windows_core::RuntimeName for IStorageProviderItemPropertySource { #[cfg(feature = "Foundation_Collections")] impl IStorageProviderItemPropertySource_Vtbl { pub const fn new, Impl: IStorageProviderItemPropertySource_Impl, const OFFSET: isize>() -> IStorageProviderItemPropertySource_Vtbl { - unsafe extern "system" fn GetItemProperties, Impl: IStorageProviderItemPropertySource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itempath: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemProperties, Impl: IStorageProviderItemPropertySource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itempath: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageProviderItemPropertySource_Impl::GetItemProperties(this, core::mem::transmute(&itempath)) { @@ -116,7 +116,7 @@ impl windows_core::RuntimeName for IStorageProviderPropertyCapabilities { } impl IStorageProviderPropertyCapabilities_Vtbl { pub const fn new, Impl: IStorageProviderPropertyCapabilities_Impl, const OFFSET: isize>() -> IStorageProviderPropertyCapabilities_Vtbl { - unsafe extern "system" fn IsPropertySupported, Impl: IStorageProviderPropertyCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertycanonicalname: std::mem::MaybeUninit, result__: *mut bool) -> windows_core::HRESULT { + unsafe extern "system" fn IsPropertySupported, Impl: IStorageProviderPropertyCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertycanonicalname: core::mem::MaybeUninit, result__: *mut bool) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageProviderPropertyCapabilities_Impl::IsPropertySupported(this, core::mem::transmute(&propertycanonicalname)) { @@ -193,7 +193,7 @@ impl windows_core::RuntimeName for IStorageProviderStatusUISourceFactory { } impl IStorageProviderStatusUISourceFactory_Vtbl { pub const fn new, Impl: IStorageProviderStatusUISourceFactory_Impl, const OFFSET: isize>() -> IStorageProviderStatusUISourceFactory_Vtbl { - unsafe extern "system" fn GetStatusUISource, Impl: IStorageProviderStatusUISourceFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, syncrootid: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetStatusUISource, Impl: IStorageProviderStatusUISourceFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, syncrootid: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageProviderStatusUISourceFactory_Impl::GetStatusUISource(this, core::mem::transmute(&syncrootid)) { @@ -226,7 +226,7 @@ impl windows_core::RuntimeName for IStorageProviderUICommand { } impl IStorageProviderUICommand_Vtbl { pub const fn new, Impl: IStorageProviderUICommand_Impl, const OFFSET: isize>() -> IStorageProviderUICommand_Vtbl { - unsafe extern "system" fn Label, Impl: IStorageProviderUICommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IStorageProviderUICommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageProviderUICommand_Impl::Label(this) { @@ -238,7 +238,7 @@ impl IStorageProviderUICommand_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IStorageProviderUICommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IStorageProviderUICommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageProviderUICommand_Impl::Description(this) { @@ -300,12 +300,12 @@ impl windows_core::RuntimeName for IStorageProviderUriSource { } impl IStorageProviderUriSource_Vtbl { pub const fn new, Impl: IStorageProviderUriSource_Impl, const OFFSET: isize>() -> IStorageProviderUriSource_Vtbl { - unsafe extern "system" fn GetPathForContentUri, Impl: IStorageProviderUriSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contenturi: std::mem::MaybeUninit, result: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetPathForContentUri, Impl: IStorageProviderUriSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contenturi: core::mem::MaybeUninit, result: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStorageProviderUriSource_Impl::GetPathForContentUri(this, core::mem::transmute(&contenturi), windows_core::from_raw_borrowed(&result)).into() } - unsafe extern "system" fn GetContentInfoForPath, Impl: IStorageProviderUriSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, result: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetContentInfoForPath, Impl: IStorageProviderUriSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, result: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStorageProviderUriSource_Impl::GetContentInfoForPath(this, core::mem::transmute(&path), windows_core::from_raw_borrowed(&result)).into() diff --git a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs index 90fedb85d9..207999bc29 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for ICachedFileUpdaterStatics { #[repr(C)] pub struct ICachedFileUpdaterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetUpdateInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, ReadActivationMode, WriteActivationMode, CachedFileOptions) -> windows_core::HRESULT, + pub SetUpdateInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, ReadActivationMode, WriteActivationMode, CachedFileOptions) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICachedFileUpdaterUI, ICachedFileUpdaterUI_Vtbl, 0x9e6f41e6_baf2_4a97_b600_9333f5df80fd); impl windows_core::RuntimeType for ICachedFileUpdaterUI { @@ -14,8 +14,8 @@ impl windows_core::RuntimeType for ICachedFileUpdaterUI { #[repr(C)] pub struct ICachedFileUpdaterUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub UpdateTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CachedFileTarget) -> windows_core::HRESULT, pub FileUpdateRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveFileUpdateRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -40,7 +40,7 @@ impl windows_core::RuntimeType for IFileUpdateRequest { #[repr(C)] pub struct IFileUpdateRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub File: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FileUpdateStatus) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, FileUpdateStatus) -> windows_core::HRESULT, @@ -54,8 +54,8 @@ impl windows_core::RuntimeType for IFileUpdateRequest2 { #[repr(C)] pub struct IFileUpdateRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UserInputNeededMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserInputNeededMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserInputNeededMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserInputNeededMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileUpdateRequestDeferral, IFileUpdateRequestDeferral_Vtbl, 0xffcedb2b_8ade_44a5_bb00_164c4e72f13a); impl windows_core::RuntimeType for IFileUpdateRequestDeferral { @@ -82,8 +82,8 @@ impl windows_core::RuntimeType for IStorageProviderFileTypeInfo { #[repr(C)] pub struct IStorageProviderFileTypeInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FileExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IconResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IconResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderFileTypeInfoFactory, IStorageProviderFileTypeInfoFactory_Vtbl, 0x3fa12c6f_cce6_5d5d_80b1_389e7cf92dbf); impl windows_core::RuntimeType for IStorageProviderFileTypeInfoFactory { @@ -92,7 +92,7 @@ impl windows_core::RuntimeType for IStorageProviderFileTypeInfoFactory { #[repr(C)] pub struct IStorageProviderFileTypeInfoFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderGetContentInfoForPathResult, IStorageProviderGetContentInfoForPathResult_Vtbl, 0x2564711d_aa89_4d12_82e3_f72a92e33966); impl windows_core::RuntimeType for IStorageProviderGetContentInfoForPathResult { @@ -103,10 +103,10 @@ pub struct IStorageProviderGetContentInfoForPathResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorageProviderUriSourceStatus) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, StorageProviderUriSourceStatus) -> windows_core::HRESULT, - pub ContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContentId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContentId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderGetPathForContentUriResult, IStorageProviderGetPathForContentUriResult_Vtbl, 0x63711a9d_4118_45a6_acb6_22c49d019f40); impl windows_core::RuntimeType for IStorageProviderGetPathForContentUriResult { @@ -117,8 +117,8 @@ pub struct IStorageProviderGetPathForContentUriResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorageProviderUriSourceStatus) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, StorageProviderUriSourceStatus) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderItemPropertiesStatics, IStorageProviderItemPropertiesStatics_Vtbl, 0x2d2c1c97_2704_4729_8fa9_7e6b8e158c2f); impl windows_core::RuntimeType for IStorageProviderItemPropertiesStatics { @@ -141,10 +141,10 @@ pub struct IStorageProviderItemProperty_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIconResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IconResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIconResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IconResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderItemPropertyDefinition, IStorageProviderItemPropertyDefinition_Vtbl, 0xc5b383bb_ff1f_4298_831e_ff1c08089690); impl windows_core::RuntimeType for IStorageProviderItemPropertyDefinition { @@ -155,14 +155,14 @@ pub struct IStorageProviderItemPropertyDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub DisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderItemPropertySource, IStorageProviderItemPropertySource_Vtbl, 0x8f6f9c3e_f632_4a9b_8d99_d2d7a11df56a); impl std::ops::Deref for IStorageProviderItemPropertySource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderItemPropertySource, windows_core::IUnknown, windows_core::IInspectable); @@ -171,7 +171,7 @@ impl IStorageProviderItemPropertySource { pub fn GetItemProperties(&self, itempath: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemProperties)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(itempath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -183,7 +183,7 @@ impl windows_core::RuntimeType for IStorageProviderItemPropertySource { pub struct IStorageProviderItemPropertySource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub GetItemProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetItemProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetItemProperties: usize, } @@ -206,8 +206,8 @@ impl windows_core::RuntimeType for IStorageProviderKnownFolderSyncInfo { #[repr(C)] pub struct IStorageProviderKnownFolderSyncInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProviderDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProviderDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProviderDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub KnownFolderEntries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -219,7 +219,7 @@ windows_core::imp::define_interface!(IStorageProviderKnownFolderSyncInfoSource, impl std::ops::Deref for IStorageProviderKnownFolderSyncInfoSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderKnownFolderSyncInfoSource, windows_core::IUnknown, windows_core::IInspectable); @@ -227,7 +227,7 @@ impl IStorageProviderKnownFolderSyncInfoSource { pub fn GetKnownFolderSyncInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetKnownFolderSyncInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -237,7 +237,7 @@ impl IStorageProviderKnownFolderSyncInfoSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KnownFolderSyncInfoChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -260,7 +260,7 @@ windows_core::imp::define_interface!(IStorageProviderKnownFolderSyncInfoSourceFa impl std::ops::Deref for IStorageProviderKnownFolderSyncInfoSourceFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderKnownFolderSyncInfoSourceFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -268,7 +268,7 @@ impl IStorageProviderKnownFolderSyncInfoSourceFactory { pub fn GetKnownFolderSyncInfoSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetKnownFolderSyncInfoSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -301,8 +301,8 @@ impl windows_core::RuntimeType for IStorageProviderMoreInfoUI { #[repr(C)] pub struct IStorageProviderMoreInfoUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Command: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -310,7 +310,7 @@ windows_core::imp::define_interface!(IStorageProviderPropertyCapabilities, IStor impl std::ops::Deref for IStorageProviderPropertyCapabilities { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderPropertyCapabilities, windows_core::IUnknown, windows_core::IInspectable); @@ -318,7 +318,7 @@ impl IStorageProviderPropertyCapabilities { pub fn IsPropertySupported(&self, propertycanonicalname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPropertySupported)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertycanonicalname), &mut result__).map(|| result__) } } @@ -329,7 +329,7 @@ impl windows_core::RuntimeType for IStorageProviderPropertyCapabilities { #[repr(C)] pub struct IStorageProviderPropertyCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsPropertySupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub IsPropertySupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderQuotaUI, IStorageProviderQuotaUI_Vtbl, 0xba6295c3_312e_544f_9fd5_1f81b21f3649); impl windows_core::RuntimeType for IStorageProviderQuotaUI { @@ -342,8 +342,8 @@ pub struct IStorageProviderQuotaUI_Vtbl { pub SetQuotaTotalInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub QuotaUsedInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub SetQuotaUsedInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, - pub QuotaUsedLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetQuotaUsedLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QuotaUsedLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetQuotaUsedLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "UI")] pub QuotaUsedColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI"))] @@ -362,8 +362,8 @@ pub struct IStorageProviderStatusUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ProviderState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorageProviderState) -> windows_core::HRESULT, pub SetProviderState: unsafe extern "system" fn(*mut core::ffi::c_void, StorageProviderState) -> windows_core::HRESULT, - pub ProviderStateLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProviderStateLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderStateLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProviderStateLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProviderStateIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetProviderStateIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SyncStatusCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -387,7 +387,7 @@ windows_core::imp::define_interface!(IStorageProviderStatusUISource, IStoragePro impl std::ops::Deref for IStorageProviderStatusUISource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderStatusUISource, windows_core::IUnknown, windows_core::IInspectable); @@ -395,7 +395,7 @@ impl IStorageProviderStatusUISource { pub fn GetStatusUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatusUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -405,7 +405,7 @@ impl IStorageProviderStatusUISource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusUIChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -428,7 +428,7 @@ windows_core::imp::define_interface!(IStorageProviderStatusUISourceFactory, ISto impl std::ops::Deref for IStorageProviderStatusUISourceFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderStatusUISourceFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -436,7 +436,7 @@ impl IStorageProviderStatusUISourceFactory { pub fn GetStatusUISource(&self, syncrootid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatusUISource)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(syncrootid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -447,7 +447,7 @@ impl windows_core::RuntimeType for IStorageProviderStatusUISourceFactory { #[repr(C)] pub struct IStorageProviderStatusUISourceFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetStatusUISource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetStatusUISource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderSyncRootInfo, IStorageProviderSyncRootInfo_Vtbl, 0x7c1305c4_99f9_41ac_8904_ab055d654926); impl windows_core::RuntimeType for IStorageProviderSyncRootInfo { @@ -456,8 +456,8 @@ impl windows_core::RuntimeType for IStorageProviderSyncRootInfo { #[repr(C)] pub struct IStorageProviderSyncRootInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -468,10 +468,10 @@ pub struct IStorageProviderSyncRootInfo_Vtbl { SetContext: usize, pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IconResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIconResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IconResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIconResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub HydrationPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorageProviderHydrationPolicy) -> windows_core::HRESULT, pub SetHydrationPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, StorageProviderHydrationPolicy) -> windows_core::HRESULT, pub HydrationPolicyModifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorageProviderHydrationPolicyModifier) -> windows_core::HRESULT, @@ -484,8 +484,8 @@ pub struct IStorageProviderSyncRootInfo_Vtbl { pub SetHardlinkPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, StorageProviderHardlinkPolicy) -> windows_core::HRESULT, pub ShowSiblingsAsGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetShowSiblingsAsGroup: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProtectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorageProviderProtectionMode) -> windows_core::HRESULT, pub SetProtectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, StorageProviderProtectionMode) -> windows_core::HRESULT, pub AllowPinning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -527,9 +527,9 @@ impl windows_core::RuntimeType for IStorageProviderSyncRootManagerStatics { pub struct IStorageProviderSyncRootManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSyncRootInformationForFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetSyncRootInformationForId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSyncRootInformationForId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetCurrentSyncRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -548,7 +548,7 @@ windows_core::imp::define_interface!(IStorageProviderUICommand, IStorageProvider impl std::ops::Deref for IStorageProviderUICommand { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderUICommand, windows_core::IUnknown, windows_core::IInspectable); @@ -556,28 +556,28 @@ impl IStorageProviderUICommand { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Icon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Icon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -592,8 +592,8 @@ impl windows_core::RuntimeType for IStorageProviderUICommand { #[repr(C)] pub struct IStorageProviderUICommand_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Icon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorageProviderUICommandState) -> windows_core::HRESULT, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -602,7 +602,7 @@ windows_core::imp::define_interface!(IStorageProviderUriSource, IStorageProvider impl std::ops::Deref for IStorageProviderUriSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderUriSource, windows_core::IUnknown, windows_core::IInspectable); @@ -628,8 +628,8 @@ impl windows_core::RuntimeType for IStorageProviderUriSource { #[repr(C)] pub struct IStorageProviderUriSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetPathForContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetContentInfoForPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPathForContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetContentInfoForPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } pub struct CachedFileUpdater; impl CachedFileUpdater { @@ -656,7 +656,7 @@ impl CachedFileUpdaterUI { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -667,7 +667,7 @@ impl CachedFileUpdaterUI { pub fn UpdateTarget(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateTarget)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -677,7 +677,7 @@ impl CachedFileUpdaterUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileUpdateRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -691,7 +691,7 @@ impl CachedFileUpdaterUI { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UIRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -702,21 +702,21 @@ impl CachedFileUpdaterUI { pub fn UIStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UIStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UpdateRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -739,21 +739,21 @@ impl FileUpdateRequest { pub fn ContentId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -764,7 +764,7 @@ impl FileUpdateRequest { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -778,7 +778,7 @@ impl FileUpdateRequest { pub fn UserInputNeededMessage(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserInputNeededMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -825,7 +825,7 @@ impl FileUpdateRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -848,20 +848,20 @@ impl StorageProviderFileTypeInfo { pub fn FileExtension(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileExtension)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IconResource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IconResource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInstance(fileextension: &windows_core::HSTRING, iconresource: &windows_core::HSTRING) -> windows_core::Result { Self::IStorageProviderFileTypeInfoFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(fileextension), core::mem::transmute_copy(iconresource), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -898,7 +898,7 @@ impl StorageProviderGetContentInfoForPathResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -909,7 +909,7 @@ impl StorageProviderGetContentInfoForPathResult { pub fn ContentUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -920,7 +920,7 @@ impl StorageProviderGetContentInfoForPathResult { pub fn ContentId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -956,7 +956,7 @@ impl StorageProviderGetPathForContentUriResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -967,7 +967,7 @@ impl StorageProviderGetPathForContentUriResult { pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -997,7 +997,7 @@ impl StorageProviderItemProperties { P1: windows_core::Param>, { Self::IStorageProviderItemPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAsync)(windows_core::Interface::as_raw(this), item.param().abi(), itemproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1029,7 +1029,7 @@ impl StorageProviderItemProperty { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1040,7 +1040,7 @@ impl StorageProviderItemProperty { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1051,7 +1051,7 @@ impl StorageProviderItemProperty { pub fn IconResource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IconResource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1083,7 +1083,7 @@ impl StorageProviderItemPropertyDefinition { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1094,7 +1094,7 @@ impl StorageProviderItemPropertyDefinition { pub fn DisplayNameResource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayNameResource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1130,7 +1130,7 @@ impl StorageProviderKnownFolderEntry { pub fn KnownFolderId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KnownFolderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1141,7 +1141,7 @@ impl StorageProviderKnownFolderEntry { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1177,7 +1177,7 @@ impl StorageProviderKnownFolderSyncInfo { pub fn ProviderDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1189,14 +1189,14 @@ impl StorageProviderKnownFolderSyncInfo { pub fn KnownFolderEntries(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KnownFolderEntries)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SyncRequested(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncRequested)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1229,14 +1229,14 @@ impl StorageProviderKnownFolderSyncRequestArgs { pub fn KnownFolders(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KnownFolders)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1268,7 +1268,7 @@ impl StorageProviderMoreInfoUI { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1279,7 +1279,7 @@ impl StorageProviderMoreInfoUI { pub fn Command(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Command)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1318,7 +1318,7 @@ impl StorageProviderQuotaUI { pub fn QuotaTotalInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuotaTotalInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1329,7 +1329,7 @@ impl StorageProviderQuotaUI { pub fn QuotaUsedInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuotaUsedInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1340,7 +1340,7 @@ impl StorageProviderQuotaUI { pub fn QuotaUsedLabel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuotaUsedLabel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1352,7 +1352,7 @@ impl StorageProviderQuotaUI { pub fn QuotaUsedColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuotaUsedColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1392,7 +1392,7 @@ impl StorageProviderStatusUI { pub fn ProviderState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1403,7 +1403,7 @@ impl StorageProviderStatusUI { pub fn ProviderStateLabel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderStateLabel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1414,7 +1414,7 @@ impl StorageProviderStatusUI { pub fn ProviderStateIcon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderStateIcon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1428,7 +1428,7 @@ impl StorageProviderStatusUI { pub fn SyncStatusCommand(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SyncStatusCommand)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1442,7 +1442,7 @@ impl StorageProviderStatusUI { pub fn QuotaUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuotaUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1456,7 +1456,7 @@ impl StorageProviderStatusUI { pub fn MoreInfoUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoreInfoUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1470,7 +1470,7 @@ impl StorageProviderStatusUI { pub fn ProviderPrimaryCommand(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderPrimaryCommand)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1485,7 +1485,7 @@ impl StorageProviderStatusUI { pub fn ProviderSecondaryCommands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderSecondaryCommands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1525,7 +1525,7 @@ impl StorageProviderSyncRootInfo { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1537,7 +1537,7 @@ impl StorageProviderSyncRootInfo { pub fn Context(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Context)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1552,7 +1552,7 @@ impl StorageProviderSyncRootInfo { pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1566,7 +1566,7 @@ impl StorageProviderSyncRootInfo { pub fn DisplayNameResource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayNameResource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1577,7 +1577,7 @@ impl StorageProviderSyncRootInfo { pub fn IconResource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IconResource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1588,7 +1588,7 @@ impl StorageProviderSyncRootInfo { pub fn HydrationPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HydrationPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1599,7 +1599,7 @@ impl StorageProviderSyncRootInfo { pub fn HydrationPolicyModifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HydrationPolicyModifier)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1610,7 +1610,7 @@ impl StorageProviderSyncRootInfo { pub fn PopulationPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PopulationPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1621,7 +1621,7 @@ impl StorageProviderSyncRootInfo { pub fn InSyncPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InSyncPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1632,7 +1632,7 @@ impl StorageProviderSyncRootInfo { pub fn HardlinkPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HardlinkPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1643,7 +1643,7 @@ impl StorageProviderSyncRootInfo { pub fn ShowSiblingsAsGroup(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowSiblingsAsGroup)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1654,7 +1654,7 @@ impl StorageProviderSyncRootInfo { pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1665,7 +1665,7 @@ impl StorageProviderSyncRootInfo { pub fn ProtectionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1676,7 +1676,7 @@ impl StorageProviderSyncRootInfo { pub fn AllowPinning(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowPinning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1688,14 +1688,14 @@ impl StorageProviderSyncRootInfo { pub fn StorageProviderItemPropertyDefinitions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorageProviderItemPropertyDefinitions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RecycleBinUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecycleBinUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1709,7 +1709,7 @@ impl StorageProviderSyncRootInfo { pub fn ProviderId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1721,7 +1721,7 @@ impl StorageProviderSyncRootInfo { pub fn FallbackFileTypeInfo(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FallbackFileTypeInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1754,26 +1754,26 @@ impl StorageProviderSyncRootManager { P0: windows_core::Param, { Self::IStorageProviderSyncRootManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSyncRootInformationForFolder)(windows_core::Interface::as_raw(this), folder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetSyncRootInformationForId(id: &windows_core::HSTRING) -> windows_core::Result { Self::IStorageProviderSyncRootManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSyncRootInformationForId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetCurrentSyncRoots() -> windows_core::Result> { Self::IStorageProviderSyncRootManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentSyncRoots)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IStorageProviderSyncRootManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/Storage/Search/impl.rs b/crates/libs/windows/src/Windows/Storage/Search/impl.rs index 4140ca7b79..910705e467 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/impl.rs @@ -15,7 +15,7 @@ impl windows_core::RuntimeName for IIndexableContent { #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] impl IIndexableContent_Vtbl { pub const fn new, Impl: IIndexableContent_Impl, const OFFSET: isize>() -> IIndexableContent_Vtbl { - unsafe extern "system" fn Id, Impl: IIndexableContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IIndexableContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIndexableContent_Impl::Id(this) { @@ -27,7 +27,7 @@ impl IIndexableContent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetId, Impl: IIndexableContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetId, Impl: IIndexableContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IIndexableContent_Impl::SetId(this, core::mem::transmute(&value)).into() @@ -61,7 +61,7 @@ impl IIndexableContent_Vtbl { let this = (*this).get_impl(); IIndexableContent_Impl::SetStream(this, windows_core::from_raw_borrowed(&value)).into() } - unsafe extern "system" fn StreamContentType, Impl: IIndexableContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StreamContentType, Impl: IIndexableContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIndexableContent_Impl::StreamContentType(this) { @@ -73,7 +73,7 @@ impl IIndexableContent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStreamContentType, Impl: IIndexableContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStreamContentType, Impl: IIndexableContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IIndexableContent_Impl::SetStreamContentType(this, core::mem::transmute(&value)).into() diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index b5735424b9..84bbc2c54f 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -7,14 +7,14 @@ pub struct IContentIndexer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AddAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub DeleteMultipleAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] DeleteMultipleAsync: usize, pub DeleteAllAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub RetrievePropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RetrievePropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RetrievePropertiesAsync: usize, pub Revision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, @@ -53,15 +53,15 @@ impl windows_core::RuntimeType for IContentIndexerQueryOperations { pub struct IContentIndexerQueryOperations_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Foundation_Collections")] - pub CreateQueryWithSortOrderAndLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateQueryWithSortOrderAndLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateQueryWithSortOrderAndLanguage: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateQueryWithSortOrder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateQueryWithSortOrder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateQueryWithSortOrder: usize, #[cfg(feature = "Foundation_Collections")] - pub CreateQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] CreateQuery: usize, } @@ -72,14 +72,14 @@ impl windows_core::RuntimeType for IContentIndexerStatics { #[repr(C)] pub struct IContentIndexerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetIndexerWithName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetIndexerWithName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetIndexer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIndexableContent, IIndexableContent_Vtbl, 0xccf1a05f_d4b5_483a_b06e_e0db1ec420e4); impl std::ops::Deref for IIndexableContent { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIndexableContent, windows_core::IUnknown, windows_core::IInspectable); @@ -87,7 +87,7 @@ impl IIndexableContent { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -99,7 +99,7 @@ impl IIndexableContent { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -107,7 +107,7 @@ impl IIndexableContent { pub fn Stream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -122,7 +122,7 @@ impl IIndexableContent { pub fn StreamContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -137,8 +137,8 @@ impl windows_core::RuntimeType for IIndexableContent { #[repr(C)] pub struct IIndexableContent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -151,8 +151,8 @@ pub struct IIndexableContent_Vtbl { pub SetStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetStream: usize, - pub StreamContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStreamContentType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StreamContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStreamContentType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQueryOptions, IQueryOptions_Vtbl, 0x1e5e46ee_0f45_4838_a8e9_d0479d446c30); impl windows_core::RuntimeType for IQueryOptions { @@ -167,22 +167,22 @@ pub struct IQueryOptions_Vtbl { FileTypeFilter: usize, pub FolderDepth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FolderDepth) -> windows_core::HRESULT, pub SetFolderDepth: unsafe extern "system" fn(*mut core::ffi::c_void, FolderDepth) -> windows_core::HRESULT, - pub ApplicationSearchFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationSearchFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserSearchFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserSearchFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationSearchFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationSearchFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserSearchFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserSearchFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IndexerOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IndexerOption) -> windows_core::HRESULT, pub SetIndexerOption: unsafe extern "system" fn(*mut core::ffi::c_void, IndexerOption) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SortOrder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SortOrder: usize, - pub GroupPropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GroupPropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DateStackOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DateStackOption) -> windows_core::HRESULT, - pub SaveToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LoadFromString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoadFromString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_FileProperties")] pub SetThumbnailPrefetch: unsafe extern "system" fn(*mut core::ffi::c_void, super::FileProperties::ThumbnailMode, u32, super::FileProperties::ThumbnailOptions) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_FileProperties"))] @@ -249,7 +249,7 @@ windows_core::imp::define_interface!(IStorageFolderQueryOperations, IStorageFold impl std::ops::Deref for IStorageFolderQueryOperations { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageFolderQueryOperations, windows_core::IUnknown, windows_core::IInspectable); @@ -257,21 +257,21 @@ impl IStorageFolderQueryOperations { pub fn GetIndexedStateAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIndexedStateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFileQueryOverloadDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFileQuery(&self, query: CommonFileQuery) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -281,21 +281,21 @@ impl IStorageFolderQueryOperations { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFolderQueryOverloadDefault(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFolderQuery(&self, query: CommonFolderQuery) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -305,14 +305,14 @@ impl IStorageFolderQueryOperations { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateItemQuery(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateItemQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -322,7 +322,7 @@ impl IStorageFolderQueryOperations { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateItemQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -330,7 +330,7 @@ impl IStorageFolderQueryOperations { pub fn GetFilesAsync(&self, query: CommonFileQuery, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -338,7 +338,7 @@ impl IStorageFolderQueryOperations { pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: CommonFileQuery) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -346,7 +346,7 @@ impl IStorageFolderQueryOperations { pub fn GetFoldersAsync(&self, query: CommonFolderQuery, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -354,7 +354,7 @@ impl IStorageFolderQueryOperations { pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: CommonFolderQuery) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -362,7 +362,7 @@ impl IStorageFolderQueryOperations { pub fn GetItemsAsync(&self, startindex: u32, maxitemstoretrieve: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -372,21 +372,21 @@ impl IStorageFolderQueryOperations { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreQueryOptionsSupported)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).map(|| result__) } } pub fn IsCommonFolderQuerySupported(&self, query: CommonFolderQuery) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCommonFolderQuerySupported)(windows_core::Interface::as_raw(this), query, &mut result__).map(|| result__) } } pub fn IsCommonFileQuerySupported(&self, query: CommonFileQuery) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCommonFileQuerySupported)(windows_core::Interface::as_raw(this), query, &mut result__).map(|| result__) } } @@ -486,7 +486,7 @@ windows_core::imp::define_interface!(IStorageQueryResultBase, IStorageQueryResul impl std::ops::Deref for IStorageQueryResultBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageQueryResultBase, windows_core::IUnknown, windows_core::IInspectable); @@ -494,14 +494,14 @@ impl IStorageQueryResultBase { pub fn GetItemCountAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -511,7 +511,7 @@ impl IStorageQueryResultBase { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -525,7 +525,7 @@ impl IStorageQueryResultBase { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionsChanged)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -539,14 +539,14 @@ impl IStorageQueryResultBase { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindStartIndexAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentQueryOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentQueryOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -581,8 +581,8 @@ impl windows_core::RuntimeType for IValueAndLanguage { #[repr(C)] pub struct IValueAndLanguage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -597,7 +597,7 @@ impl ContentIndexer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddAsync)(windows_core::Interface::as_raw(this), indexablecontent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -607,14 +607,14 @@ impl ContentIndexer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateAsync)(windows_core::Interface::as_raw(this), indexablecontent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self, contentid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -625,14 +625,14 @@ impl ContentIndexer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteMultipleAsync)(windows_core::Interface::as_raw(this), contentids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAllAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -643,14 +643,14 @@ impl ContentIndexer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrievePropertiesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentid), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Revision(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Revision)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -662,7 +662,7 @@ impl ContentIndexer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateQueryWithSortOrderAndLanguage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(searchfilter), propertiestoretrieve.param().abi(), sortorder.param().abi(), core::mem::transmute_copy(searchfilterlanguage), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -674,7 +674,7 @@ impl ContentIndexer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateQueryWithSortOrder)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(searchfilter), propertiestoretrieve.param().abi(), sortorder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -685,19 +685,19 @@ impl ContentIndexer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateQuery)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(searchfilter), propertiestoretrieve.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIndexerWithName(indexname: &windows_core::HSTRING) -> windows_core::Result { Self::IContentIndexerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIndexerWithName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(indexname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetIndexer() -> windows_core::Result { Self::IContentIndexerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIndexer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -727,7 +727,7 @@ impl ContentIndexerQuery { pub fn GetCountAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -735,7 +735,7 @@ impl ContentIndexerQuery { pub fn GetPropertiesAsync(&self) -> windows_core::Result>>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -743,7 +743,7 @@ impl ContentIndexerQuery { pub fn GetPropertiesRangeAsync(&self, startindex: u32, maxitems: u32) -> windows_core::Result>>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertiesRangeAsync)(windows_core::Interface::as_raw(this), startindex, maxitems, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -751,7 +751,7 @@ impl ContentIndexerQuery { pub fn GetAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -759,14 +759,14 @@ impl ContentIndexerQuery { pub fn GetRangeAsync(&self, startindex: u32, maxitems: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRangeAsync)(windows_core::Interface::as_raw(this), startindex, maxitems, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn QueryFolder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -799,7 +799,7 @@ impl IndexableContent { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -811,7 +811,7 @@ impl IndexableContent { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -819,7 +819,7 @@ impl IndexableContent { pub fn Stream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -834,7 +834,7 @@ impl IndexableContent { pub fn StreamContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StreamContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -871,14 +871,14 @@ impl QueryOptions { pub fn FileTypeFilter(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileTypeFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FolderDepth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderDepth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -889,7 +889,7 @@ impl QueryOptions { pub fn ApplicationSearchFilter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationSearchFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -900,7 +900,7 @@ impl QueryOptions { pub fn UserSearchFilter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserSearchFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -911,7 +911,7 @@ impl QueryOptions { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -922,7 +922,7 @@ impl QueryOptions { pub fn IndexerOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexerOption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -934,28 +934,28 @@ impl QueryOptions { pub fn SortOrder(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SortOrder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GroupPropertyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GroupPropertyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DateStackOption(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateStackOption)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SaveToString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -982,13 +982,13 @@ impl QueryOptions { P0: windows_core::Param>, { Self::IQueryOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCommonFileQuery)(windows_core::Interface::as_raw(this), query, filetypefilter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateCommonFolderQuery(query: CommonFolderQuery) -> windows_core::Result { Self::IQueryOptionsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCommonFolderQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -996,7 +996,7 @@ impl QueryOptions { pub fn StorageProviderIdFilter(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorageProviderIdFilter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1032,7 +1032,7 @@ impl SortEntryVector { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1040,7 +1040,7 @@ impl SortEntryVector { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1048,7 +1048,7 @@ impl SortEntryVector { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1056,7 +1056,7 @@ impl SortEntryVector { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1067,7 +1067,7 @@ impl SortEntryVector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -1114,7 +1114,7 @@ impl SortEntryVector { pub fn GetMany(&self, startindex: u32, items: &mut [SortEntry]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -1163,7 +1163,7 @@ impl StorageFileQueryResult { pub fn GetFilesAsync(&self, startindex: u32, maxnumberofitems: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsync)(windows_core::Interface::as_raw(this), startindex, maxnumberofitems, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1171,7 +1171,7 @@ impl StorageFileQueryResult { pub fn GetFilesAsyncDefaultStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsyncDefaultStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1182,21 +1182,21 @@ impl StorageFileQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMatchingPropertiesWithRanges)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemCountAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Folder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1206,7 +1206,7 @@ impl StorageFileQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1220,7 +1220,7 @@ impl StorageFileQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionsChanged)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1234,14 +1234,14 @@ impl StorageFileQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindStartIndexAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentQueryOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentQueryOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1273,7 +1273,7 @@ impl StorageFolderQueryResult { pub fn GetFoldersAsync(&self, startindex: u32, maxnumberofitems: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsync)(windows_core::Interface::as_raw(this), startindex, maxnumberofitems, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1281,21 +1281,21 @@ impl StorageFolderQueryResult { pub fn GetFoldersAsyncDefaultStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsyncDefaultStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemCountAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Folder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1305,7 +1305,7 @@ impl StorageFolderQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1319,7 +1319,7 @@ impl StorageFolderQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionsChanged)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1333,14 +1333,14 @@ impl StorageFolderQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindStartIndexAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentQueryOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentQueryOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1372,7 +1372,7 @@ impl StorageItemQueryResult { pub fn GetItemsAsync(&self, startindex: u32, maxnumberofitems: u32) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), startindex, maxnumberofitems, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1380,21 +1380,21 @@ impl StorageItemQueryResult { pub fn GetItemsAsyncDefaultStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsyncDefaultStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemCountAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemCountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Folder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1404,7 +1404,7 @@ impl StorageItemQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1418,7 +1418,7 @@ impl StorageItemQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OptionsChanged)(windows_core::Interface::as_raw(this), changedhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1432,14 +1432,14 @@ impl StorageItemQueryResult { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindStartIndexAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentQueryOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentQueryOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1469,14 +1469,14 @@ impl StorageLibraryChangeTrackerTriggerDetails { pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ChangeTracker(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeTracker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1499,14 +1499,14 @@ impl StorageLibraryContentChangedTriggerDetails { pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateModifiedSinceQuery(&self, lastquerytime: super::super::Foundation::DateTime) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateModifiedSinceQuery)(windows_core::Interface::as_raw(this), lastquerytime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1536,7 +1536,7 @@ impl ValueAndLanguage { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1547,7 +1547,7 @@ impl ValueAndLanguage { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs index 672feee3a1..a10d5e1e50 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs @@ -54,7 +54,7 @@ impl windows_core::RuntimeName for IContentTypeProvider { } impl IContentTypeProvider_Vtbl { pub const fn new, Impl: IContentTypeProvider_Impl, const OFFSET: isize>() -> IContentTypeProvider_Vtbl { - unsafe extern "system" fn ContentType, Impl: IContentTypeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContentType, Impl: IContentTypeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IContentTypeProvider_Impl::ContentType(this) { @@ -302,7 +302,7 @@ impl IDataReader_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReadString, Impl: IDataReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, codeunitcount: u32, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadString, Impl: IDataReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, codeunitcount: u32, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataReader_Impl::ReadString(this, codeunitcount) { @@ -563,7 +563,7 @@ impl IDataWriter_Vtbl { let this = (*this).get_impl(); IDataWriter_Impl::WriteTimeSpan(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn WriteString, Impl: IDataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit, result__: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn WriteString, Impl: IDataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit, result__: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataWriter_Impl::WriteString(this, core::mem::transmute(&value)) { @@ -574,7 +574,7 @@ impl IDataWriter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MeasureString, Impl: IDataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit, result__: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn MeasureString, Impl: IDataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit, result__: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataWriter_Impl::MeasureString(this, core::mem::transmute(&value)) { diff --git a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs index 0b8c6ae040..f045e6f94e 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IBuffer, IBuffer_Vtbl, 0x905a0fe0_bc53_11df impl std::ops::Deref for IBuffer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBuffer, windows_core::IUnknown, windows_core::IInspectable); @@ -10,14 +10,14 @@ impl IBuffer { pub fn Capacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -59,7 +59,7 @@ windows_core::imp::define_interface!(IContentTypeProvider, IContentTypeProvider_ impl std::ops::Deref for IContentTypeProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContentTypeProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -67,7 +67,7 @@ impl IContentTypeProvider { pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -78,13 +78,13 @@ impl windows_core::RuntimeType for IContentTypeProvider { #[repr(C)] pub struct IContentTypeProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataReader, IDataReader_Vtbl, 0xe2b50029_b4c1_4314_a4b8_fb813a2f275e); impl std::ops::Deref for IDataReader { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataReader, windows_core::IUnknown, windows_core::IInspectable); @@ -92,14 +92,14 @@ impl IDataReader { pub fn UnconsumedBufferLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnconsumedBufferLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UnicodeEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnicodeEncoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -110,7 +110,7 @@ impl IDataReader { pub fn ByteOrder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ByteOrder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -121,7 +121,7 @@ impl IDataReader { pub fn InputStreamOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputStreamOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -132,7 +132,7 @@ impl IDataReader { pub fn ReadByte(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadByte)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -143,119 +143,119 @@ impl IDataReader { pub fn ReadBuffer(&self, length: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBuffer)(windows_core::Interface::as_raw(this), length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadBoolean(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadGuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadGuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadInt16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadInt64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadUInt16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadUInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadUInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadUInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadUInt64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadUInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadSingle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadSingle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadDouble(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadDouble)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadString(&self, codeunitcount: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadString)(windows_core::Interface::as_raw(this), codeunitcount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadDateTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadDateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadTimeSpan(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadTimeSpan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LoadAsync(&self, count: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetachBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetachStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -286,7 +286,7 @@ pub struct IDataReader_Vtbl { pub ReadUInt64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub ReadSingle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub ReadDouble: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub ReadString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReadDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub ReadTimeSpan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub LoadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -315,7 +315,7 @@ windows_core::imp::define_interface!(IDataWriter, IDataWriter_Vtbl, 0x64b89265_d impl std::ops::Deref for IDataWriter { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataWriter, windows_core::IUnknown, windows_core::IInspectable); @@ -323,14 +323,14 @@ impl IDataWriter { pub fn UnstoredBufferLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnstoredBufferLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UnicodeEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnicodeEncoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -341,7 +341,7 @@ impl IDataWriter { pub fn ByteOrder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ByteOrder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -422,42 +422,42 @@ impl IDataWriter { pub fn WriteString(&self, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } pub fn MeasureString(&self, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MeasureString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } pub fn StoreAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetachBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetachStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -489,8 +489,8 @@ pub struct IDataWriter_Vtbl { pub WriteDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub WriteDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub WriteTimeSpan: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, - pub WriteString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, - pub MeasureString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub WriteString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub MeasureString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub StoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FlushAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DetachBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -512,24 +512,24 @@ impl windows_core::RuntimeType for IFileRandomAccessStreamStatics { #[repr(C)] pub struct IFileRandomAccessStreamStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::FileAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub OpenWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::FileAccessMode, super::StorageOpenOptions, FileOpenDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub OpenTransactedWriteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub OpenTransactedWriteWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::StorageOpenOptions, FileOpenDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::FileAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::FileAccessMode, super::StorageOpenOptions, FileOpenDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenTransactedWriteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenTransactedWriteWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::StorageOpenOptions, FileOpenDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] - pub OpenForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::FileAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::FileAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] OpenForUserAsync: usize, #[cfg(feature = "System")] - pub OpenForUserWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::FileAccessMode, super::StorageOpenOptions, FileOpenDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenForUserWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::FileAccessMode, super::StorageOpenOptions, FileOpenDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] OpenForUserWithOptionsAsync: usize, #[cfg(feature = "System")] - pub OpenTransactedWriteForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenTransactedWriteForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] OpenTransactedWriteForUserAsync: usize, #[cfg(feature = "System")] - pub OpenTransactedWriteForUserWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::StorageOpenOptions, FileOpenDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenTransactedWriteForUserWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::StorageOpenOptions, FileOpenDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] OpenTransactedWriteForUserWithOptionsAsync: usize, } @@ -537,7 +537,7 @@ windows_core::imp::define_interface!(IInputStream, IInputStream_Vtbl, 0x905a0fe2 impl std::ops::Deref for IInputStream { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputStream, windows_core::IUnknown, windows_core::IInspectable); @@ -549,7 +549,7 @@ impl IInputStream { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -570,7 +570,7 @@ windows_core::imp::define_interface!(IInputStreamReference, IInputStreamReferenc impl std::ops::Deref for IInputStreamReference { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputStreamReference, windows_core::IUnknown, windows_core::IInspectable); @@ -578,7 +578,7 @@ impl IInputStreamReference { pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenSequentialReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -595,7 +595,7 @@ windows_core::imp::define_interface!(IOutputStream, IOutputStream_Vtbl, 0x905a0f impl std::ops::Deref for IOutputStream { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOutputStream, windows_core::IUnknown, windows_core::IInspectable); @@ -607,14 +607,14 @@ impl IOutputStream { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -636,7 +636,7 @@ windows_core::imp::define_interface!(IPropertySetSerializer, IPropertySetSeriali impl std::ops::Deref for IPropertySetSerializer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertySetSerializer, windows_core::IUnknown, windows_core::IInspectable); @@ -648,7 +648,7 @@ impl IPropertySetSerializer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Serialize)(windows_core::Interface::as_raw(this), propertyset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -681,7 +681,7 @@ windows_core::imp::define_interface!(IRandomAccessStream, IRandomAccessStream_Vt impl std::ops::Deref for IRandomAccessStream { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRandomAccessStream, windows_core::IUnknown, windows_core::IInspectable); @@ -690,7 +690,7 @@ impl IRandomAccessStream { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -701,21 +701,21 @@ impl IRandomAccessStream { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -726,21 +726,21 @@ impl IRandomAccessStream { pub fn CloneStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanRead(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanWrite(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -754,7 +754,7 @@ impl IRandomAccessStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -764,14 +764,14 @@ impl IRandomAccessStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -796,7 +796,7 @@ windows_core::imp::define_interface!(IRandomAccessStreamReference, IRandomAccess impl std::ops::Deref for IRandomAccessStreamReference { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRandomAccessStreamReference, windows_core::IUnknown, windows_core::IInspectable); @@ -804,7 +804,7 @@ impl IRandomAccessStreamReference { pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -843,7 +843,7 @@ windows_core::imp::define_interface!(IRandomAccessStreamWithContentType, IRandom impl std::ops::Deref for IRandomAccessStreamWithContentType { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRandomAccessStreamWithContentType, windows_core::IUnknown, windows_core::IInspectable); @@ -856,7 +856,7 @@ impl IRandomAccessStreamWithContentType { pub fn ContentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -866,7 +866,7 @@ impl IRandomAccessStreamWithContentType { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -876,21 +876,21 @@ impl IRandomAccessStreamWithContentType { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -901,21 +901,21 @@ impl IRandomAccessStreamWithContentType { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Position(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -926,21 +926,21 @@ impl IRandomAccessStreamWithContentType { pub fn CloneStream(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanRead(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanWrite(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -961,14 +961,14 @@ impl Buffer { pub fn Capacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Capacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -978,7 +978,7 @@ impl Buffer { } pub fn Create(capacity: u32) -> windows_core::Result { Self::IBufferFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), capacity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -987,7 +987,7 @@ impl Buffer { P0: windows_core::Param, { Self::IBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCopyFromMemoryBuffer)(windows_core::Interface::as_raw(this), input.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -996,7 +996,7 @@ impl Buffer { P0: windows_core::Param, { Self::IBufferStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMemoryBufferOverIBuffer)(windows_core::Interface::as_raw(this), input.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1036,14 +1036,14 @@ impl DataReader { pub fn UnconsumedBufferLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnconsumedBufferLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UnicodeEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnicodeEncoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1054,7 +1054,7 @@ impl DataReader { pub fn ByteOrder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ByteOrder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1065,7 +1065,7 @@ impl DataReader { pub fn InputStreamOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputStreamOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1076,7 +1076,7 @@ impl DataReader { pub fn ReadByte(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadByte)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1087,119 +1087,119 @@ impl DataReader { pub fn ReadBuffer(&self, length: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBuffer)(windows_core::Interface::as_raw(this), length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadBoolean(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBoolean)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadGuid(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadGuid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadInt16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadInt64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadUInt16(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadUInt16)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadUInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadUInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadUInt64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadUInt64)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadSingle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadSingle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadDouble(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadDouble)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadString(&self, codeunitcount: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadString)(windows_core::Interface::as_raw(this), codeunitcount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadDateTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadDateTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReadTimeSpan(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadTimeSpan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LoadAsync(&self, count: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetachBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetachStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1208,7 +1208,7 @@ impl DataReader { P0: windows_core::Param, { Self::IDataReaderFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDataReader)(windows_core::Interface::as_raw(this), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1217,7 +1217,7 @@ impl DataReader { P0: windows_core::Param, { Self::IDataReaderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromBuffer)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1253,21 +1253,21 @@ impl DataReaderLoadOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1289,14 +1289,14 @@ impl DataReaderLoadOperation { pub fn Completed(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResults(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResults)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1362,14 +1362,14 @@ impl DataWriter { pub fn UnstoredBufferLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnstoredBufferLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UnicodeEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnicodeEncoding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1380,7 +1380,7 @@ impl DataWriter { pub fn ByteOrder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ByteOrder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1461,42 +1461,42 @@ impl DataWriter { pub fn WriteString(&self, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } pub fn MeasureString(&self, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MeasureString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } pub fn StoreAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoreAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetachBuffer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachBuffer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DetachStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DetachStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1505,7 +1505,7 @@ impl DataWriter { P0: windows_core::Param, { Self::IDataWriterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDataWriter)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1536,21 +1536,21 @@ impl DataWriterStoreOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Status(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorCode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1572,14 +1572,14 @@ impl DataWriterStoreOperation { pub fn Completed(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResults(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResults)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1641,7 +1641,7 @@ impl FileInputStream { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1674,14 +1674,14 @@ impl FileOutputStream { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1710,25 +1710,25 @@ impl FileRandomAccessStream { } pub fn OpenAsync(filepath: &windows_core::HSTRING, accessmode: super::FileAccessMode) -> windows_core::Result> { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), accessmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OpenWithOptionsAsync(filepath: &windows_core::HSTRING, accessmode: super::FileAccessMode, sharingoptions: super::StorageOpenOptions, opendisposition: FileOpenDisposition) -> windows_core::Result> { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), accessmode, sharingoptions, opendisposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OpenTransactedWriteAsync(filepath: &windows_core::HSTRING) -> windows_core::Result> { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OpenTransactedWriteWithOptionsAsync(filepath: &windows_core::HSTRING, openoptions: super::StorageOpenOptions, opendisposition: FileOpenDisposition) -> windows_core::Result> { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filepath), openoptions, opendisposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1738,7 +1738,7 @@ impl FileRandomAccessStream { P0: windows_core::Param, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(filepath), accessmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1748,7 +1748,7 @@ impl FileRandomAccessStream { P0: windows_core::Param, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenForUserWithOptionsAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(filepath), accessmode, sharingoptions, opendisposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1758,7 +1758,7 @@ impl FileRandomAccessStream { P0: windows_core::Param, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(filepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1768,7 +1768,7 @@ impl FileRandomAccessStream { P0: windows_core::Param, { Self::IFileRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteForUserWithOptionsAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(filepath), openoptions, opendisposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1778,7 +1778,7 @@ impl FileRandomAccessStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1788,21 +1788,21 @@ impl FileRandomAccessStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1813,21 +1813,21 @@ impl FileRandomAccessStream { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1838,21 +1838,21 @@ impl FileRandomAccessStream { pub fn CloneStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanRead(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanWrite(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1897,7 +1897,7 @@ impl InMemoryRandomAccessStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1907,21 +1907,21 @@ impl InMemoryRandomAccessStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1932,21 +1932,21 @@ impl InMemoryRandomAccessStream { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1957,21 +1957,21 @@ impl InMemoryRandomAccessStream { pub fn CloneStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanRead(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanWrite(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2004,7 +2004,7 @@ impl InputStreamOverStream { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2037,14 +2037,14 @@ impl OutputStreamOverStream { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2069,7 +2069,7 @@ impl RandomAccessStream { P1: windows_core::Param, { Self::IRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyAsync)(windows_core::Interface::as_raw(this), source.param().abi(), destination.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2079,7 +2079,7 @@ impl RandomAccessStream { P1: windows_core::Param, { Self::IRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopySizeAsync)(windows_core::Interface::as_raw(this), source.param().abi(), destination.param().abi(), bytestocopy, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2089,7 +2089,7 @@ impl RandomAccessStream { P1: windows_core::Param, { Self::IRandomAccessStreamStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyAndCloseAsync)(windows_core::Interface::as_raw(this), source.param().abi(), destination.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2118,7 +2118,7 @@ impl RandomAccessStreamOverStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), count, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2128,21 +2128,21 @@ impl RandomAccessStreamOverStream { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlushAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2153,21 +2153,21 @@ impl RandomAccessStreamOverStream { pub fn GetInputStreamAt(&self, position: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetOutputStreamAt(&self, position: u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOutputStreamAt)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2178,21 +2178,21 @@ impl RandomAccessStreamOverStream { pub fn CloneStream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloneStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanRead(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRead)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanWrite(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanWrite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2218,7 +2218,7 @@ impl RandomAccessStreamReference { pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2227,7 +2227,7 @@ impl RandomAccessStreamReference { P0: windows_core::Param, { Self::IRandomAccessStreamReferenceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromFile)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2236,7 +2236,7 @@ impl RandomAccessStreamReference { P0: windows_core::Param, { Self::IRandomAccessStreamReferenceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromUri)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2245,7 +2245,7 @@ impl RandomAccessStreamReference { P0: windows_core::Param, { Self::IRandomAccessStreamReferenceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStream)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/Storage/impl.rs b/crates/libs/windows/src/Windows/Storage/impl.rs index 8abec9324f..bbd3e8b25f 100644 --- a/crates/libs/windows/src/Windows/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/impl.rs @@ -20,7 +20,7 @@ impl windows_core::RuntimeName for IStorageFile { #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] impl IStorageFile_Vtbl { pub const fn new, Impl: IStorageFile_Impl, const OFFSET: isize>() -> IStorageFile_Vtbl { - unsafe extern "system" fn FileType, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileType, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFile_Impl::FileType(this) { @@ -32,7 +32,7 @@ impl IStorageFile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ContentType, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContentType, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFile_Impl::ContentType(this) { @@ -80,7 +80,7 @@ impl IStorageFile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CopyOverloadDefaultOptions, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationfolder: *mut core::ffi::c_void, desirednewname: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CopyOverloadDefaultOptions, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationfolder: *mut core::ffi::c_void, desirednewname: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFile_Impl::CopyOverloadDefaultOptions(this, windows_core::from_raw_borrowed(&destinationfolder), core::mem::transmute(&desirednewname)) { @@ -92,7 +92,7 @@ impl IStorageFile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CopyOverload, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationfolder: *mut core::ffi::c_void, desirednewname: std::mem::MaybeUninit, option: NameCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CopyOverload, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationfolder: *mut core::ffi::c_void, desirednewname: core::mem::MaybeUninit, option: NameCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFile_Impl::CopyOverload(this, windows_core::from_raw_borrowed(&destinationfolder), core::mem::transmute(&desirednewname), option) { @@ -128,7 +128,7 @@ impl IStorageFile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MoveOverloadDefaultOptions, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationfolder: *mut core::ffi::c_void, desirednewname: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn MoveOverloadDefaultOptions, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationfolder: *mut core::ffi::c_void, desirednewname: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFile_Impl::MoveOverloadDefaultOptions(this, windows_core::from_raw_borrowed(&destinationfolder), core::mem::transmute(&desirednewname)) { @@ -140,7 +140,7 @@ impl IStorageFile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MoveOverload, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationfolder: *mut core::ffi::c_void, desirednewname: std::mem::MaybeUninit, option: NameCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn MoveOverload, Impl: IStorageFile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationfolder: *mut core::ffi::c_void, desirednewname: core::mem::MaybeUninit, option: NameCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFile_Impl::MoveOverload(this, windows_core::from_raw_borrowed(&destinationfolder), core::mem::transmute(&desirednewname), option) { @@ -278,7 +278,7 @@ impl windows_core::RuntimeName for IStorageFolder { #[cfg(all(feature = "Foundation_Collections", feature = "Storage_FileProperties"))] impl IStorageFolder_Vtbl { pub const fn new, Impl: IStorageFolder_Impl, const OFFSET: isize>() -> IStorageFolder_Vtbl { - unsafe extern "system" fn CreateFileAsyncOverloadDefaultOptions, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFileAsyncOverloadDefaultOptions, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFolder_Impl::CreateFileAsyncOverloadDefaultOptions(this, core::mem::transmute(&desiredname)) { @@ -290,7 +290,7 @@ impl IStorageFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateFileAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: std::mem::MaybeUninit, options: CreationCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFileAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: core::mem::MaybeUninit, options: CreationCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFolder_Impl::CreateFileAsync(this, core::mem::transmute(&desiredname), options) { @@ -302,7 +302,7 @@ impl IStorageFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateFolderAsyncOverloadDefaultOptions, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFolderAsyncOverloadDefaultOptions, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFolder_Impl::CreateFolderAsyncOverloadDefaultOptions(this, core::mem::transmute(&desiredname)) { @@ -314,7 +314,7 @@ impl IStorageFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateFolderAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: std::mem::MaybeUninit, options: CreationCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFolderAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: core::mem::MaybeUninit, options: CreationCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFolder_Impl::CreateFolderAsync(this, core::mem::transmute(&desiredname), options) { @@ -326,7 +326,7 @@ impl IStorageFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFolder_Impl::GetFileAsync(this, core::mem::transmute(&name)) { @@ -338,7 +338,7 @@ impl IStorageFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFolderAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFolderAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFolder_Impl::GetFolderAsync(this, core::mem::transmute(&name)) { @@ -350,7 +350,7 @@ impl IStorageFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetItemAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemAsync, Impl: IStorageFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFolder_Impl::GetItemAsync(this, core::mem::transmute(&name)) { @@ -424,7 +424,7 @@ impl windows_core::RuntimeName for IStorageFolder2 { } impl IStorageFolder2_Vtbl { pub const fn new, Impl: IStorageFolder2_Impl, const OFFSET: isize>() -> IStorageFolder2_Vtbl { - unsafe extern "system" fn TryGetItemAsync, Impl: IStorageFolder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn TryGetItemAsync, Impl: IStorageFolder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageFolder2_Impl::TryGetItemAsync(this, core::mem::transmute(&name)) { @@ -462,7 +462,7 @@ impl windows_core::RuntimeName for IStorageItem { #[cfg(feature = "Storage_FileProperties")] impl IStorageItem_Vtbl { pub const fn new, Impl: IStorageItem_Impl, const OFFSET: isize>() -> IStorageItem_Vtbl { - unsafe extern "system" fn RenameAsyncOverloadDefaultOptions, Impl: IStorageItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RenameAsyncOverloadDefaultOptions, Impl: IStorageItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItem_Impl::RenameAsyncOverloadDefaultOptions(this, core::mem::transmute(&desiredname)) { @@ -474,7 +474,7 @@ impl IStorageItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RenameAsync, Impl: IStorageItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: std::mem::MaybeUninit, option: NameCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RenameAsync, Impl: IStorageItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desiredname: core::mem::MaybeUninit, option: NameCollisionOption, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItem_Impl::RenameAsync(this, core::mem::transmute(&desiredname), option) { @@ -522,7 +522,7 @@ impl IStorageItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IStorageItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IStorageItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItem_Impl::Name(this) { @@ -534,7 +534,7 @@ impl IStorageItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: IStorageItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IStorageItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItem_Impl::Path(this) { @@ -695,7 +695,7 @@ impl IStorageItemProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: IStorageItemProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IStorageItemProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemProperties_Impl::DisplayName(this) { @@ -707,7 +707,7 @@ impl IStorageItemProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayType, Impl: IStorageItemProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayType, Impl: IStorageItemProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemProperties_Impl::DisplayType(this) { @@ -719,7 +719,7 @@ impl IStorageItemProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FolderRelativeId, Impl: IStorageItemProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FolderRelativeId, Impl: IStorageItemProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStorageItemProperties_Impl::FolderRelativeId(this) { diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index 78f972bacd..905661573a 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -21,15 +21,15 @@ impl windows_core::RuntimeType for IAppDataPaths { #[repr(C)] pub struct IAppDataPaths_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Cookies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Desktop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Documents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Favorites: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub History: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InternetCache: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalAppData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProgramData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RoamingAppData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Cookies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Desktop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Documents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Favorites: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub History: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InternetCache: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalAppData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProgramData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoamingAppData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppDataPathsStatics, IAppDataPathsStatics_Vtbl, 0xd8eb2afe_a9d9_4b14_b999_e3921379d903); impl windows_core::RuntimeType for IAppDataPathsStatics { @@ -81,8 +81,8 @@ impl windows_core::RuntimeType for IApplicationData3 { #[repr(C)] pub struct IApplicationData3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetPublisherCacheFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ClearPublisherCacheFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPublisherCacheFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ClearPublisherCacheFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SharedLocalFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationDataContainer, IApplicationDataContainer_Vtbl, 0xc5aefd1e_f467_40ba_8566_ab640a441e1d); @@ -92,7 +92,7 @@ impl windows_core::RuntimeType for IApplicationDataContainer { #[repr(C)] pub struct IApplicationDataContainer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Locality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ApplicationDataLocality) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Values: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -102,8 +102,8 @@ pub struct IApplicationDataContainer_Vtbl { pub Containers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Containers: usize, - pub CreateContainer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, ApplicationDataCreateDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteContainer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateContainer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, ApplicationDataCreateDisposition, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteContainer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationDataStatics, IApplicationDataStatics_Vtbl, 0x5612147b_e843_45e3_94d8_06169e3c8e17); impl windows_core::RuntimeType for IApplicationDataStatics { @@ -146,10 +146,10 @@ impl windows_core::RuntimeType for IDownloadsFolderStatics { #[repr(C)] pub struct IDownloadsFolderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFileWithCollisionOptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFolderWithCollisionOptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFileWithCollisionOptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFolderWithCollisionOptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDownloadsFolderStatics2, IDownloadsFolderStatics2_Vtbl, 0xe93045bd_8ef8_4f8e_8d15_ac0e265f390d); impl windows_core::RuntimeType for IDownloadsFolderStatics2 { @@ -159,19 +159,19 @@ impl windows_core::RuntimeType for IDownloadsFolderStatics2 { pub struct IDownloadsFolderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "System")] - pub CreateFileForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFileForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] CreateFileForUserAsync: usize, #[cfg(feature = "System")] - pub CreateFolderForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFolderForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] CreateFolderForUserAsync: usize, #[cfg(feature = "System")] - pub CreateFileForUserWithCollisionOptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFileForUserWithCollisionOptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] CreateFileForUserWithCollisionOptionAsync: usize, #[cfg(feature = "System")] - pub CreateFolderForUserWithCollisionOptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFolderForUserWithCollisionOptionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] CreateFolderForUserWithCollisionOptionAsync: usize, } @@ -187,14 +187,14 @@ pub struct IFileIOStatics_Vtbl { pub ReadTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ReadTextWithEncodingAsync: usize, - pub WriteTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub WriteTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub WriteTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub WriteTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] WriteTextWithEncodingAsync: usize, - pub AppendTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AppendTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub AppendTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AppendTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] AppendTextWithEncodingAsync: usize, #[cfg(feature = "Foundation_Collections")] @@ -317,54 +317,54 @@ impl windows_core::RuntimeType for IPathIOStatics { #[repr(C)] pub struct IPathIOStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ReadTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReadTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub ReadTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReadTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ReadTextWithEncodingAsync: usize, - pub WriteTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub WriteTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub WriteTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub WriteTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] WriteTextWithEncodingAsync: usize, - pub AppendTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AppendTextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub AppendTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AppendTextWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] AppendTextWithEncodingAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub ReadLinesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReadLinesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] ReadLinesAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] - pub ReadLinesWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReadLinesWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] ReadLinesWithEncodingAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub WriteLinesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub WriteLinesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] WriteLinesAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] - pub WriteLinesWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub WriteLinesWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] WriteLinesWithEncodingAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub AppendLinesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AppendLinesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] AppendLinesAsync: usize, #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] - pub AppendLinesWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AppendLinesWithEncodingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] AppendLinesWithEncodingAsync: usize, #[cfg(feature = "Storage_Streams")] - pub ReadBufferAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReadBufferAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] ReadBufferAsync: usize, #[cfg(feature = "Storage_Streams")] - pub WriteBufferAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub WriteBufferAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] WriteBufferAsync: usize, - pub WriteBytesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub WriteBytesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISetVersionDeferral, ISetVersionDeferral_Vtbl, 0x033508a2_781a_437a_b078_3f32badcfe47); impl windows_core::RuntimeType for ISetVersionDeferral { @@ -390,7 +390,7 @@ windows_core::imp::define_interface!(IStorageFile, IStorageFile_Vtbl, 0xfa3f6186 impl std::ops::Deref for IStorageFile { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageFile, windows_core::IUnknown, windows_core::IInspectable); @@ -400,14 +400,14 @@ impl IStorageFile { pub fn FileType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -415,14 +415,14 @@ impl IStorageFile { pub fn OpenAsync(&self, accessmode: FileAccessMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAsync)(windows_core::Interface::as_raw(this), accessmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenTransactedWriteAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -432,7 +432,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyOverloadDefaultNameAndOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -442,7 +442,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyOverloadDefaultOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -452,7 +452,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyOverload)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -462,7 +462,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyAndReplaceAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -472,7 +472,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveOverloadDefaultNameAndOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -482,7 +482,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveOverloadDefaultOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -492,7 +492,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveOverload)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -502,7 +502,7 @@ impl IStorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveAndReplaceAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -510,7 +510,7 @@ impl IStorageFile { pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenSequentialReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -518,35 +518,35 @@ impl IStorageFile { pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsync(&self, desiredname: &windows_core::HSTRING, option: NameCollisionOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsyncOverloadDefaultOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self, option: StorageDeleteOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -554,42 +554,42 @@ impl IStorageFile { pub fn GetBasicPropertiesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBasicPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DateCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfType)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } @@ -600,27 +600,27 @@ impl windows_core::RuntimeType for IStorageFile { #[repr(C)] pub struct IStorageFile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FileType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, FileAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] OpenAsync: usize, pub OpenTransactedWriteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CopyOverloadDefaultNameAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CopyOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CopyOverload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, NameCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CopyOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CopyOverload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, NameCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CopyAndReplaceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MoveOverloadDefaultNameAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MoveOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MoveOverload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, NameCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MoveOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MoveOverload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, NameCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MoveAndReplaceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageFile2, IStorageFile2_Vtbl, 0x954e4bcf_0a77_42fb_b777_c2ed58a52e44); impl std::ops::Deref for IStorageFile2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageFile2, windows_core::IUnknown, windows_core::IInspectable); @@ -629,14 +629,14 @@ impl IStorageFile2 { pub fn OpenWithOptionsAsync(&self, accessmode: FileAccessMode, options: StorageOpenOptions) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenWithOptionsAsync)(windows_core::Interface::as_raw(this), accessmode, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenTransactedWriteWithOptionsAsync(&self, options: StorageOpenOptions) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteWithOptionsAsync)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -657,7 +657,7 @@ windows_core::imp::define_interface!(IStorageFilePropertiesWithAvailability, ISt impl std::ops::Deref for IStorageFilePropertiesWithAvailability { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageFilePropertiesWithAvailability, windows_core::IUnknown, windows_core::IInspectable); @@ -665,7 +665,7 @@ impl IStorageFilePropertiesWithAvailability { pub fn IsAvailable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -685,10 +685,10 @@ impl windows_core::RuntimeType for IStorageFileStatics { #[repr(C)] pub struct IStorageFileStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetFileFromPathAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileFromPathAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFileFromApplicationUriAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub CreateStreamedFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateStreamedFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateStreamedFileAsync: usize, #[cfg(feature = "Storage_Streams")] @@ -696,7 +696,7 @@ pub struct IStorageFileStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ReplaceWithStreamedFileAsync: usize, #[cfg(feature = "Storage_Streams")] - pub CreateStreamedFileFromUriAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateStreamedFileFromUriAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateStreamedFileFromUriAsync: usize, #[cfg(feature = "Storage_Streams")] @@ -712,7 +712,7 @@ impl windows_core::RuntimeType for IStorageFileStatics2 { pub struct IStorageFileStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "System")] - pub GetFileFromPathForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileFromPathForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] GetFileFromPathForUserAsync: usize, } @@ -720,7 +720,7 @@ windows_core::imp::define_interface!(IStorageFolder, IStorageFolder_Vtbl, 0x72d1 impl std::ops::Deref for IStorageFolder { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageFolder, windows_core::IUnknown, windows_core::IInspectable); @@ -729,49 +729,49 @@ impl IStorageFolder { pub fn CreateFileAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFileAsync(&self, desiredname: &windows_core::HSTRING, options: CreationCollisionOption) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFolderAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFolderAsync(&self, desiredname: &windows_core::HSTRING, options: CreationCollisionOption) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFileAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -779,7 +779,7 @@ impl IStorageFolder { pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsyncOverloadDefaultOptionsStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -787,7 +787,7 @@ impl IStorageFolder { pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -795,35 +795,35 @@ impl IStorageFolder { pub fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsync(&self, desiredname: &windows_core::HSTRING, option: NameCollisionOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsyncOverloadDefaultOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self, option: StorageDeleteOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -831,42 +831,42 @@ impl IStorageFolder { pub fn GetBasicPropertiesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBasicPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DateCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfType)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } @@ -877,13 +877,13 @@ impl windows_core::RuntimeType for IStorageFolder { #[repr(C)] pub struct IStorageFolder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFileAsyncOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFolderAsyncOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFileAsyncOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFolderAsyncOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, CreationCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetFilesAsyncOverloadDefaultOptionsStartAndCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -901,7 +901,7 @@ windows_core::imp::define_interface!(IStorageFolder2, IStorageFolder2_Vtbl, 0xe8 impl std::ops::Deref for IStorageFolder2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageFolder2, windows_core::IUnknown, windows_core::IInspectable); @@ -909,7 +909,7 @@ impl IStorageFolder2 { pub fn TryGetItemAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -920,7 +920,7 @@ impl windows_core::RuntimeType for IStorageFolder2 { #[repr(C)] pub struct IStorageFolder2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TryGetItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryGetItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageFolder3, IStorageFolder3_Vtbl, 0x9f617899_bde1_4124_aeb3_b06ad96f98d4); impl windows_core::RuntimeType for IStorageFolder3 { @@ -938,7 +938,7 @@ impl windows_core::RuntimeType for IStorageFolderStatics { #[repr(C)] pub struct IStorageFolderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetFolderFromPathAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolderFromPathAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageFolderStatics2, IStorageFolderStatics2_Vtbl, 0xb4656dc3_71d2_467d_8b29_371f0f62bf6f); impl windows_core::RuntimeType for IStorageFolderStatics2 { @@ -948,7 +948,7 @@ impl windows_core::RuntimeType for IStorageFolderStatics2 { pub struct IStorageFolderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "System")] - pub GetFolderFromPathForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolderFromPathForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] GetFolderFromPathForUserAsync: usize, } @@ -956,7 +956,7 @@ windows_core::imp::define_interface!(IStorageItem, IStorageItem_Vtbl, 0x4207a996 impl std::ops::Deref for IStorageItem { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageItem, windows_core::IUnknown, windows_core::IInspectable); @@ -964,28 +964,28 @@ impl IStorageItem { pub fn RenameAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsync(&self, desiredname: &windows_core::HSTRING, option: NameCollisionOption) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsyncOverloadDefaultOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self, option: StorageDeleteOption) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -993,42 +993,42 @@ impl IStorageItem { pub fn GetBasicPropertiesAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBasicPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DateCreated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfType)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } @@ -1039,16 +1039,16 @@ impl windows_core::RuntimeType for IStorageItem { #[repr(C)] pub struct IStorageItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RenameAsyncOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RenameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, NameCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RenameAsyncOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RenameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, NameCollisionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteAsyncOverloadDefaultOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, StorageDeleteOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_FileProperties")] pub GetBasicPropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_FileProperties"))] GetBasicPropertiesAsync: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Attributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FileAttributes) -> windows_core::HRESULT, pub DateCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::DateTime) -> windows_core::HRESULT, pub IsOfType: unsafe extern "system" fn(*mut core::ffi::c_void, StorageItemTypes, *mut bool) -> windows_core::HRESULT, @@ -1057,7 +1057,7 @@ windows_core::imp::define_interface!(IStorageItem2, IStorageItem2_Vtbl, 0x53f926 impl std::ops::Deref for IStorageItem2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageItem2, windows_core::IUnknown, windows_core::IInspectable); @@ -1066,7 +1066,7 @@ impl IStorageItem2 { pub fn GetParentAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetParentAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1076,35 +1076,35 @@ impl IStorageItem2 { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) } } pub fn RenameAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsync(&self, desiredname: &windows_core::HSTRING, option: NameCollisionOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsyncOverloadDefaultOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self, option: StorageDeleteOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1112,42 +1112,42 @@ impl IStorageItem2 { pub fn GetBasicPropertiesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBasicPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DateCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfType)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } @@ -1165,7 +1165,7 @@ windows_core::imp::define_interface!(IStorageItemProperties, IStorageItemPropert impl std::ops::Deref for IStorageItemProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageItemProperties, windows_core::IUnknown, windows_core::IInspectable); @@ -1174,7 +1174,7 @@ impl IStorageItemProperties { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1182,7 +1182,7 @@ impl IStorageItemProperties { pub fn GetThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1190,28 +1190,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FolderRelativeId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderRelativeId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1219,7 +1219,7 @@ impl IStorageItemProperties { pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1242,9 +1242,9 @@ pub struct IStorageItemProperties_Vtbl { pub GetThumbnailAsync: unsafe extern "system" fn(*mut core::ffi::c_void, FileProperties::ThumbnailMode, u32, FileProperties::ThumbnailOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Storage_FileProperties", feature = "Storage_Streams")))] GetThumbnailAsync: usize, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FolderRelativeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FolderRelativeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_FileProperties")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_FileProperties"))] @@ -1254,7 +1254,7 @@ windows_core::imp::define_interface!(IStorageItemProperties2, IStorageItemProper impl std::ops::Deref for IStorageItemProperties2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageItemProperties2, windows_core::IUnknown, windows_core::IInspectable); @@ -1264,7 +1264,7 @@ impl IStorageItemProperties2 { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1272,7 +1272,7 @@ impl IStorageItemProperties2 { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultOptions(&self, mode: FileProperties::ThumbnailMode, requestedsize: u32) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1280,7 +1280,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1288,7 +1288,7 @@ impl IStorageItemProperties2 { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1296,7 +1296,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1304,28 +1304,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FolderRelativeId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderRelativeId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1333,7 +1333,7 @@ impl IStorageItemProperties2 { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1361,7 +1361,7 @@ windows_core::imp::define_interface!(IStorageItemPropertiesWithProvider, IStorag impl std::ops::Deref for IStorageItemPropertiesWithProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageItemPropertiesWithProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -1370,7 +1370,7 @@ impl IStorageItemPropertiesWithProvider { pub fn Provider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Provider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1378,7 +1378,7 @@ impl IStorageItemPropertiesWithProvider { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1386,7 +1386,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1394,28 +1394,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FolderRelativeId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderRelativeId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1423,7 +1423,7 @@ impl IStorageItemPropertiesWithProvider { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1479,8 +1479,8 @@ impl windows_core::RuntimeType for IStorageLibraryChange { pub struct IStorageLibraryChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorageLibraryChangeType) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PreviousPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PreviousPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsOfType: unsafe extern "system" fn(*mut core::ffi::c_void, StorageItemTypes, *mut bool) -> windows_core::HRESULT, pub GetStorageItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1582,8 +1582,8 @@ impl windows_core::RuntimeType for IStorageProvider { #[repr(C)] pub struct IStorageProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProvider2, IStorageProvider2_Vtbl, 0x010d1917_3404_414b_9fd7_cd44472eaa39); impl windows_core::RuntimeType for IStorageProvider2 { @@ -1592,7 +1592,7 @@ impl windows_core::RuntimeType for IStorageProvider2 { #[repr(C)] pub struct IStorageProvider2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsPropertySupportedForPartialFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsPropertySupportedForPartialFileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageStreamTransaction, IStorageStreamTransaction_Vtbl, 0xf67cf363_a53d_4d94_ae2c_67232d93acdd); impl windows_core::RuntimeType for IStorageStreamTransaction { @@ -1611,7 +1611,7 @@ windows_core::imp::define_interface!(IStreamedFileDataRequest, IStreamedFileData impl std::ops::Deref for IStreamedFileDataRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamedFileDataRequest, windows_core::IUnknown, windows_core::IInspectable); @@ -1636,7 +1636,7 @@ impl windows_core::RuntimeType for ISystemAudioProperties { #[repr(C)] pub struct ISystemAudioProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub EncodingBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EncodingBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemDataPaths, ISystemDataPaths_Vtbl, 0xe32abf70_d8fa_45ec_a942_d2e26fb60ba5); impl windows_core::RuntimeType for ISystemDataPaths { @@ -1645,22 +1645,22 @@ impl windows_core::RuntimeType for ISystemDataPaths { #[repr(C)] pub struct ISystemDataPaths_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Fonts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProgramData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Public: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublicDesktop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublicDocuments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublicDownloads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublicMusic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublicPictures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublicVideos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub System: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemX86: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemX64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemArm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Windows: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Fonts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProgramData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Public: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublicDesktop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublicDocuments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublicDownloads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublicMusic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublicPictures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublicVideos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub System: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemX86: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemX64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemArm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Windows: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemDataPathsStatics, ISystemDataPathsStatics_Vtbl, 0xe0f96fd0_9920_4bca_b379_f96fdf7caad8); impl windows_core::RuntimeType for ISystemDataPathsStatics { @@ -1678,8 +1678,8 @@ impl windows_core::RuntimeType for ISystemGPSProperties { #[repr(C)] pub struct ISystemGPSProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LatitudeDecimal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LongitudeDecimal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LatitudeDecimal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LongitudeDecimal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemImageProperties, ISystemImageProperties_Vtbl, 0x011b2e30_8b39_4308_bea1_e8aa61e47826); impl windows_core::RuntimeType for ISystemImageProperties { @@ -1688,8 +1688,8 @@ impl windows_core::RuntimeType for ISystemImageProperties { #[repr(C)] pub struct ISystemImageProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub HorizontalSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VerticalSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HorizontalSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VerticalSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemMediaProperties, ISystemMediaProperties_Vtbl, 0xa42b3316_8415_40dc_8c44_98361d235430); impl windows_core::RuntimeType for ISystemMediaProperties { @@ -1698,12 +1698,12 @@ impl windows_core::RuntimeType for ISystemMediaProperties { #[repr(C)] pub struct ISystemMediaProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Producer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SubTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Writer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Year: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Producer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Writer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Year: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemMusicProperties, ISystemMusicProperties_Vtbl, 0xb47988d5_67af_4bc3_8d39_5b89022026a1); impl windows_core::RuntimeType for ISystemMusicProperties { @@ -1712,14 +1712,14 @@ impl windows_core::RuntimeType for ISystemMusicProperties { #[repr(C)] pub struct ISystemMusicProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AlbumTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Composer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Conductor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Genre: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlbumArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlbumTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Artist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Composer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Conductor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayArtist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Genre: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemPhotoProperties, ISystemPhotoProperties_Vtbl, 0x4734fc3d_ab21_4424_b735_f4353a56c8fc); impl windows_core::RuntimeType for ISystemPhotoProperties { @@ -1728,11 +1728,11 @@ impl windows_core::RuntimeType for ISystemPhotoProperties { #[repr(C)] pub struct ISystemPhotoProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CameraManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CameraModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DateTaken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PeopleNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CameraManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CameraModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DateTaken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PeopleNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemProperties, ISystemProperties_Vtbl, 0x917a71c1_85f3_4dd1_b001_a50bfd21c8d2); impl windows_core::RuntimeType for ISystemProperties { @@ -1741,12 +1741,12 @@ impl windows_core::RuntimeType for ISystemProperties { #[repr(C)] pub struct ISystemProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ItemNameDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Keywords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ItemNameDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Keywords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Audio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GPS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Media: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1762,11 +1762,11 @@ impl windows_core::RuntimeType for ISystemVideoProperties { #[repr(C)] pub struct ISystemVideoProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Director: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FrameHeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FrameWidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TotalBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Director: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FrameHeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FrameWidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TotalBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataPaths, IUserDataPaths_Vtbl, 0xf9c53912_abc4_46ff_8a2b_dc9d7fa6e52f); impl windows_core::RuntimeType for IUserDataPaths { @@ -1775,25 +1775,25 @@ impl windows_core::RuntimeType for IUserDataPaths { #[repr(C)] pub struct IUserDataPaths_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CameraRoll: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Cookies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Desktop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Documents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Downloads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Favorites: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub History: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InternetCache: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalAppData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalAppDataLow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Music: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Pictures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Recent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RoamingAppData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SavedPictures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Screenshots: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Templates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Videos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CameraRoll: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Cookies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Desktop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Documents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Downloads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Favorites: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub History: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InternetCache: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalAppData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalAppDataLow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Music: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pictures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Recent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoamingAppData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SavedPictures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Screenshots: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Templates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Videos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataPathsStatics, IUserDataPathsStatics_Vtbl, 0x01b29def_e062_48a1_8b0c_f2c7a9ca56c0); impl windows_core::RuntimeType for IUserDataPathsStatics { @@ -1816,63 +1816,63 @@ impl AppDataPaths { pub fn Cookies(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cookies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Desktop(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Desktop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Documents(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Documents)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Favorites(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Favorites)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn History(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).History)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InternetCache(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InternetCache)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalAppData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAppData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProgramData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProgramData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoamingAppData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingAppData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1882,13 +1882,13 @@ impl AppDataPaths { P0: windows_core::Param, { Self::IAppDataPathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefault() -> windows_core::Result { Self::IAppDataPathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1919,7 +1919,7 @@ impl ApplicationData { pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1929,56 +1929,56 @@ impl ApplicationData { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetVersionAsync)(windows_core::Interface::as_raw(this), desiredversion, handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearAllAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearAsync(&self, locality: ApplicationDataLocality) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearAsync)(windows_core::Interface::as_raw(this), locality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoamingSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingSettings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalFolder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoamingFolder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TemporaryFolder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TemporaryFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1988,7 +1988,7 @@ impl ApplicationData { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2003,41 +2003,41 @@ impl ApplicationData { pub fn RoamingStorageQuota(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingStorageQuota)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LocalCacheFolder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalCacheFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPublisherCacheFolder(&self, foldername: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPublisherCacheFolder)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(foldername), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ClearPublisherCacheFolderAsync(&self, foldername: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClearPublisherCacheFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(foldername), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SharedLocalFolder(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharedLocalFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Current() -> windows_core::Result { Self::IApplicationDataStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2047,7 +2047,7 @@ impl ApplicationData { P0: windows_core::Param, { Self::IApplicationDataStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2099,7 +2099,7 @@ impl ApplicationDataCompositeValue { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2107,7 +2107,7 @@ impl ApplicationDataCompositeValue { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2115,7 +2115,7 @@ impl ApplicationDataCompositeValue { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2123,7 +2123,7 @@ impl ApplicationDataCompositeValue { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -2131,7 +2131,7 @@ impl ApplicationDataCompositeValue { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2142,7 +2142,7 @@ impl ApplicationDataCompositeValue { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -2163,7 +2163,7 @@ impl ApplicationDataCompositeValue { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapChanged)(windows_core::Interface::as_raw(this), vhnd.param().abi(), &mut result__).map(|| result__) } } @@ -2215,14 +2215,14 @@ impl ApplicationDataContainer { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Locality(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Locality)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2230,7 +2230,7 @@ impl ApplicationDataContainer { pub fn Values(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Values)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2238,14 +2238,14 @@ impl ApplicationDataContainer { pub fn Containers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Containers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateContainer(&self, name: &windows_core::HSTRING, disposition: ApplicationDataCreateDisposition) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContainer)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), disposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2284,7 +2284,7 @@ impl ApplicationDataContainerSettings { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2292,7 +2292,7 @@ impl ApplicationDataContainerSettings { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2300,7 +2300,7 @@ impl ApplicationDataContainerSettings { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2308,7 +2308,7 @@ impl ApplicationDataContainerSettings { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -2316,7 +2316,7 @@ impl ApplicationDataContainerSettings { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2327,7 +2327,7 @@ impl ApplicationDataContainerSettings { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -2348,7 +2348,7 @@ impl ApplicationDataContainerSettings { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MapChanged)(windows_core::Interface::as_raw(this), vhnd.param().abi(), &mut result__).map(|| result__) } } @@ -2405,7 +2405,7 @@ impl CachedFileManager { P0: windows_core::Param, { Self::ICachedFileManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompleteUpdatesAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2422,25 +2422,25 @@ pub struct DownloadsFolder; impl DownloadsFolder { pub fn CreateFileAsync(desiredname: &windows_core::HSTRING) -> windows_core::Result> { Self::IDownloadsFolderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFolderAsync(desiredname: &windows_core::HSTRING) -> windows_core::Result> { Self::IDownloadsFolderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFileWithCollisionOptionAsync(desiredname: &windows_core::HSTRING, option: CreationCollisionOption) -> windows_core::Result> { Self::IDownloadsFolderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileWithCollisionOptionAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFolderWithCollisionOptionAsync(desiredname: &windows_core::HSTRING, option: CreationCollisionOption) -> windows_core::Result> { Self::IDownloadsFolderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderWithCollisionOptionAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2450,7 +2450,7 @@ impl DownloadsFolder { P0: windows_core::Param, { Self::IDownloadsFolderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2460,7 +2460,7 @@ impl DownloadsFolder { P0: windows_core::Param, { Self::IDownloadsFolderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2470,7 +2470,7 @@ impl DownloadsFolder { P0: windows_core::Param, { Self::IDownloadsFolderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileForUserWithCollisionOptionAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2480,7 +2480,7 @@ impl DownloadsFolder { P0: windows_core::Param, { Self::IDownloadsFolderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderForUserWithCollisionOptionAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2505,7 +2505,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadTextAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2515,7 +2515,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadTextWithEncodingAsync)(windows_core::Interface::as_raw(this), file.param().abi(), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2524,7 +2524,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteTextAsync)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(contents), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2534,7 +2534,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteTextWithEncodingAsync)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(contents), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2543,7 +2543,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendTextAsync)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(contents), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2553,7 +2553,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendTextWithEncodingAsync)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(contents), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2563,7 +2563,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadLinesAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2573,7 +2573,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadLinesWithEncodingAsync)(windows_core::Interface::as_raw(this), file.param().abi(), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2584,7 +2584,7 @@ impl FileIO { P1: windows_core::Param>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteLinesAsync)(windows_core::Interface::as_raw(this), file.param().abi(), lines.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2595,7 +2595,7 @@ impl FileIO { P1: windows_core::Param>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteLinesWithEncodingAsync)(windows_core::Interface::as_raw(this), file.param().abi(), lines.param().abi(), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2606,7 +2606,7 @@ impl FileIO { P1: windows_core::Param>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendLinesAsync)(windows_core::Interface::as_raw(this), file.param().abi(), lines.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2617,7 +2617,7 @@ impl FileIO { P1: windows_core::Param>, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendLinesWithEncodingAsync)(windows_core::Interface::as_raw(this), file.param().abi(), lines.param().abi(), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2627,7 +2627,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBufferAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2638,7 +2638,7 @@ impl FileIO { P1: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteBufferAsync)(windows_core::Interface::as_raw(this), file.param().abi(), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2647,7 +2647,7 @@ impl FileIO { P0: windows_core::Param, { Self::IFileIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteBytesAsync)(windows_core::Interface::as_raw(this), file.param().abi(), buffer.len().try_into().unwrap(), buffer.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2664,79 +2664,79 @@ pub struct KnownFolders; impl KnownFolders { pub fn CameraRoll() -> windows_core::Result { Self::IKnownFoldersCameraRollStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraRoll)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Playlists() -> windows_core::Result { Self::IKnownFoldersPlaylistsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Playlists)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SavedPictures() -> windows_core::Result { Self::IKnownFoldersSavedPicturesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavedPictures)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MusicLibrary() -> windows_core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MusicLibrary)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PicturesLibrary() -> windows_core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PicturesLibrary)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn VideosLibrary() -> windows_core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideosLibrary)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DocumentsLibrary() -> windows_core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentsLibrary)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HomeGroup() -> windows_core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HomeGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RemovableDevices() -> windows_core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovableDevices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MediaServerDevices() -> windows_core::Result { Self::IKnownFoldersStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaServerDevices)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Objects3D() -> windows_core::Result { Self::IKnownFoldersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Objects3D)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AppCaptures() -> windows_core::Result { Self::IKnownFoldersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppCaptures)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RecordedCalls() -> windows_core::Result { Self::IKnownFoldersStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecordedCalls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2746,13 +2746,13 @@ impl KnownFolders { P0: windows_core::Param, { Self::IKnownFoldersStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), folderid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestAccessAsync(folderid: KnownFolderId) -> windows_core::Result> { Self::IKnownFoldersStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), folderid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2762,13 +2762,13 @@ impl KnownFolders { P0: windows_core::Param, { Self::IKnownFoldersStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), folderid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetFolderAsync(folderid: KnownFolderId) -> windows_core::Result> { Self::IKnownFoldersStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), folderid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2815,54 +2815,54 @@ pub struct PathIO; impl PathIO { pub fn ReadTextAsync(absolutepath: &windows_core::HSTRING) -> windows_core::Result> { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadTextAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn ReadTextWithEncodingAsync(absolutepath: &windows_core::HSTRING, encoding: Streams::UnicodeEncoding) -> windows_core::Result> { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadTextWithEncodingAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WriteTextAsync(absolutepath: &windows_core::HSTRING, contents: &windows_core::HSTRING) -> windows_core::Result { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteTextAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), core::mem::transmute_copy(contents), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn WriteTextWithEncodingAsync(absolutepath: &windows_core::HSTRING, contents: &windows_core::HSTRING, encoding: Streams::UnicodeEncoding) -> windows_core::Result { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteTextWithEncodingAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), core::mem::transmute_copy(contents), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AppendTextAsync(absolutepath: &windows_core::HSTRING, contents: &windows_core::HSTRING) -> windows_core::Result { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendTextAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), core::mem::transmute_copy(contents), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn AppendTextWithEncodingAsync(absolutepath: &windows_core::HSTRING, contents: &windows_core::HSTRING, encoding: Streams::UnicodeEncoding) -> windows_core::Result { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendTextWithEncodingAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), core::mem::transmute_copy(contents), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn ReadLinesAsync(absolutepath: &windows_core::HSTRING) -> windows_core::Result>> { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadLinesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "Storage_Streams"))] pub fn ReadLinesWithEncodingAsync(absolutepath: &windows_core::HSTRING, encoding: Streams::UnicodeEncoding) -> windows_core::Result>> { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadLinesWithEncodingAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2872,7 +2872,7 @@ impl PathIO { P0: windows_core::Param>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteLinesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), lines.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2882,7 +2882,7 @@ impl PathIO { P0: windows_core::Param>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteLinesWithEncodingAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), lines.param().abi(), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2892,7 +2892,7 @@ impl PathIO { P0: windows_core::Param>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendLinesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), lines.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2902,14 +2902,14 @@ impl PathIO { P0: windows_core::Param>, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendLinesWithEncodingAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), lines.param().abi(), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn ReadBufferAsync(absolutepath: &windows_core::HSTRING) -> windows_core::Result> { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBufferAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2919,13 +2919,13 @@ impl PathIO { P0: windows_core::Param, { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteBufferAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WriteBytesAsync(absolutepath: &windows_core::HSTRING, buffer: &[u8]) -> windows_core::Result { Self::IPathIOStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteBytesAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(absolutepath), buffer.len().try_into().unwrap(), buffer.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2968,21 +2968,21 @@ impl SetVersionRequest { pub fn CurrentVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DesiredVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3010,7 +3010,7 @@ impl StorageFile { pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenSequentialReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3018,21 +3018,21 @@ impl StorageFile { pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenReadAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FileType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3040,14 +3040,14 @@ impl StorageFile { pub fn OpenAsync(&self, accessmode: FileAccessMode) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenAsync)(windows_core::Interface::as_raw(this), accessmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenTransactedWriteAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3057,7 +3057,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyOverloadDefaultNameAndOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3067,7 +3067,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyOverloadDefaultOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3077,7 +3077,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyOverload)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3087,7 +3087,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyAndReplaceAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3097,7 +3097,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveOverloadDefaultNameAndOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3107,7 +3107,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveOverloadDefaultOptions)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3117,7 +3117,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveOverload)(windows_core::Interface::as_raw(this), destinationfolder.param().abi(), core::mem::transmute_copy(desirednewname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3127,7 +3127,7 @@ impl StorageFile { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveAndReplaceAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3135,27 +3135,27 @@ impl StorageFile { pub fn OpenWithOptionsAsync(&self, accessmode: FileAccessMode, options: StorageOpenOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenWithOptionsAsync)(windows_core::Interface::as_raw(this), accessmode, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OpenTransactedWriteWithOptionsAsync(&self, options: StorageOpenOptions) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OpenTransactedWriteWithOptionsAsync)(windows_core::Interface::as_raw(this), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsAvailable(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetFileFromPathAsync(path: &windows_core::HSTRING) -> windows_core::Result> { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileFromPathAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(path), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3164,7 +3164,7 @@ impl StorageFile { P0: windows_core::Param, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileFromApplicationUriAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3175,7 +3175,7 @@ impl StorageFile { P1: windows_core::Param, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStreamedFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displaynamewithextension), datarequested.param().abi(), thumbnail.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3187,7 +3187,7 @@ impl StorageFile { P2: windows_core::Param, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceWithStreamedFileAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), datarequested.param().abi(), thumbnail.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3198,7 +3198,7 @@ impl StorageFile { P1: windows_core::Param, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStreamedFileFromUriAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displaynamewithextension), uri.param().abi(), thumbnail.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3210,7 +3210,7 @@ impl StorageFile { P2: windows_core::Param, { Self::IStorageFileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceWithStreamedFileFromUriAsync)(windows_core::Interface::as_raw(this), filetoreplace.param().abi(), uri.param().abi(), thumbnail.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3220,35 +3220,35 @@ impl StorageFile { P0: windows_core::Param, { Self::IStorageFileStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileFromPathForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(path), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RenameAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsync(&self, desiredname: &windows_core::HSTRING, option: NameCollisionOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsyncOverloadDefaultOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self, option: StorageDeleteOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3256,49 +3256,49 @@ impl StorageFile { pub fn GetBasicPropertiesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBasicPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DateCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfType)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } pub fn GetParentAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetParentAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3308,7 +3308,7 @@ impl StorageFile { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) } } @@ -3316,7 +3316,7 @@ impl StorageFile { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3324,7 +3324,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3332,28 +3332,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FolderRelativeId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderRelativeId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3361,7 +3361,7 @@ impl StorageFile { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3369,7 +3369,7 @@ impl StorageFile { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3377,7 +3377,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3385,14 +3385,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Provider(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Provider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3427,49 +3427,49 @@ impl StorageFolder { pub fn CreateFileAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFileAsync(&self, desiredname: &windows_core::HSTRING, options: CreationCollisionOption) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFolderAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFolderAsync(&self, desiredname: &windows_core::HSTRING, options: CreationCollisionOption) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFileAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFolderAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetItemAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3477,7 +3477,7 @@ impl StorageFolder { pub fn GetFilesAsyncOverloadDefaultOptionsStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsyncOverloadDefaultOptionsStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3485,7 +3485,7 @@ impl StorageFolder { pub fn GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3493,21 +3493,21 @@ impl StorageFolder { pub fn GetItemsAsyncOverloadDefaultStartAndCount(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetItemAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetItemAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetChangeTracker(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetChangeTracker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3515,7 +3515,7 @@ impl StorageFolder { pub fn GetIndexedStateAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIndexedStateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3523,7 +3523,7 @@ impl StorageFolder { pub fn CreateFileQueryOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3531,7 +3531,7 @@ impl StorageFolder { pub fn CreateFileQuery(&self, query: Search::CommonFileQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3542,7 +3542,7 @@ impl StorageFolder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFileQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3550,7 +3550,7 @@ impl StorageFolder { pub fn CreateFolderQueryOverloadDefault(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderQueryOverloadDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3558,7 +3558,7 @@ impl StorageFolder { pub fn CreateFolderQuery(&self, query: Search::CommonFolderQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderQuery)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3569,7 +3569,7 @@ impl StorageFolder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFolderQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3577,7 +3577,7 @@ impl StorageFolder { pub fn CreateItemQuery(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateItemQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3588,7 +3588,7 @@ impl StorageFolder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateItemQueryWithOptions)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3596,7 +3596,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3604,7 +3604,7 @@ impl StorageFolder { pub fn GetFilesAsyncOverloadDefaultStartAndCount(&self, query: Search::CommonFileQuery) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFilesAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3612,7 +3612,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsync)(windows_core::Interface::as_raw(this), query, startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3620,7 +3620,7 @@ impl StorageFolder { pub fn GetFoldersAsyncOverloadDefaultStartAndCount(&self, query: Search::CommonFolderQuery) -> windows_core::Result>> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFoldersAsyncOverloadDefaultStartAndCount)(windows_core::Interface::as_raw(this), query, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3628,7 +3628,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetItemsAsync)(windows_core::Interface::as_raw(this), startindex, maxitemstoretrieve, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3639,7 +3639,7 @@ impl StorageFolder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreQueryOptionsSupported)(windows_core::Interface::as_raw(this), queryoptions.param().abi(), &mut result__).map(|| result__) } } @@ -3647,7 +3647,7 @@ impl StorageFolder { pub fn IsCommonFolderQuerySupported(&self, query: Search::CommonFolderQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCommonFolderQuerySupported)(windows_core::Interface::as_raw(this), query, &mut result__).map(|| result__) } } @@ -3655,13 +3655,13 @@ impl StorageFolder { pub fn IsCommonFileQuerySupported(&self, query: Search::CommonFileQuery) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCommonFileQuerySupported)(windows_core::Interface::as_raw(this), query, &mut result__).map(|| result__) } } pub fn GetFolderFromPathAsync(path: &windows_core::HSTRING) -> windows_core::Result> { Self::IStorageFolderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderFromPathAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(path), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3671,35 +3671,35 @@ impl StorageFolder { P0: windows_core::Param, { Self::IStorageFolderStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFolderFromPathForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(path), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RenameAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RenameAsync(&self, desiredname: &windows_core::HSTRING, option: NameCollisionOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenameAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(desiredname), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsyncOverloadDefaultOptions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeleteAsync(&self, option: StorageDeleteOption) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3707,49 +3707,49 @@ impl StorageFolder { pub fn GetBasicPropertiesAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBasicPropertiesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Attributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DateCreated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateCreated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfType)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } pub fn GetParentAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetParentAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3759,7 +3759,7 @@ impl StorageFolder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).map(|| result__) } } @@ -3767,7 +3767,7 @@ impl StorageFolder { pub fn GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3775,7 +3775,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3783,28 +3783,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FolderRelativeId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FolderRelativeId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3812,7 +3812,7 @@ impl StorageFolder { pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3820,7 +3820,7 @@ impl StorageFolder { pub fn GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(&self, mode: FileProperties::ThumbnailMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3828,7 +3828,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsyncOverloadDefaultOptions)(windows_core::Interface::as_raw(this), mode, requestedsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3836,14 +3836,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScaledImageAsThumbnailAsync)(windows_core::Interface::as_raw(this), mode, requestedsize, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Provider(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Provider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3876,7 +3876,7 @@ impl StorageLibrary { pub fn RequestAddFolderAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAddFolderAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3886,7 +3886,7 @@ impl StorageLibrary { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestRemoveFolderAsync)(windows_core::Interface::as_raw(this), folder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3894,14 +3894,14 @@ impl StorageLibrary { pub fn Folders(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folders)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveFolder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveFolder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3911,7 +3911,7 @@ impl StorageLibrary { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefinitionChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3922,20 +3922,20 @@ impl StorageLibrary { pub fn ChangeTracker(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeTracker)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AreFolderSuggestionsAvailableAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreFolderSuggestionsAvailableAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetLibraryAsync(libraryid: KnownLibraryId) -> windows_core::Result> { Self::IStorageLibraryStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLibraryAsync)(windows_core::Interface::as_raw(this), libraryid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3945,7 +3945,7 @@ impl StorageLibrary { P0: windows_core::Param, { Self::IStorageLibraryStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLibraryForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), libraryid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3978,35 +3978,35 @@ impl StorageLibraryChange { pub fn ChangeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousPath(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousPath)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsOfType(&self, r#type: StorageItemTypes) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfType)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } pub fn GetStorageItemAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStorageItemAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4032,21 +4032,21 @@ impl StorageLibraryChangeReader { pub fn ReadBatchAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBatchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AcceptChangesAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptChangesAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetLastChangeId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLastChangeId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4071,7 +4071,7 @@ impl StorageLibraryChangeTracker { pub fn GetChangeReader(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetChangeReader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4122,7 +4122,7 @@ impl StorageLibraryChangeTrackerOptions { pub fn TrackChangeDetails(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackChangeDetails)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4150,7 +4150,7 @@ windows_core::imp::interface_hierarchy!(StorageLibraryLastChangeId, windows_core impl StorageLibraryLastChangeId { pub fn Unknown() -> windows_core::Result { Self::IStorageLibraryLastChangeIdStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unknown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -4180,21 +4180,21 @@ impl StorageProvider { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPropertySupportedForPartialFileAsync(&self, propertycanonicalname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPropertySupportedForPartialFileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertycanonicalname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4223,14 +4223,14 @@ impl StorageStreamTransaction { pub fn Stream(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CommitAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4266,7 +4266,7 @@ impl StreamedFileDataRequest { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteAsync)(windows_core::Interface::as_raw(this), buffer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4274,7 +4274,7 @@ impl StreamedFileDataRequest { pub fn FlushAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlushAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4304,7 +4304,7 @@ impl SystemAudioProperties { pub fn EncodingBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EncodingBitrate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4329,118 +4329,118 @@ impl SystemDataPaths { pub fn Fonts(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Fonts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProgramData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProgramData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Public(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Public)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublicDesktop(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicDesktop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublicDocuments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicDocuments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublicDownloads(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicDownloads)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublicMusic(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicMusic)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublicPictures(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicPictures)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublicVideos(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublicVideos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn System(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).System)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemHost(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemHost)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemX86(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemX86)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemX64(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemX64)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemArm(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemArm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserProfiles(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserProfiles)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Windows(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Windows)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::ISystemDataPathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4470,14 +4470,14 @@ impl SystemGPSProperties { pub fn LatitudeDecimal(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LatitudeDecimal)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LongitudeDecimal(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LongitudeDecimal)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4502,14 +4502,14 @@ impl SystemImageProperties { pub fn HorizontalSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HorizontalSize)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VerticalSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerticalSize)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4534,42 +4534,42 @@ impl SystemMediaProperties { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Producer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Producer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Publisher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Publisher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SubTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Writer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Writer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Year(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Year)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4594,56 +4594,56 @@ impl SystemMusicProperties { pub fn AlbumArtist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumArtist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AlbumTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlbumTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Artist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Artist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Composer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Composer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Conductor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Conductor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayArtist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayArtist)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Genre(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Genre)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrackNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrackNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4668,35 +4668,35 @@ impl SystemPhotoProperties { pub fn CameraManufacturer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraManufacturer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CameraModel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraModel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DateTaken(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DateTaken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PeopleNames(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeopleNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4717,79 +4717,79 @@ pub struct SystemProperties; impl SystemProperties { pub fn Author() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Author)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Comment() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ItemNameDisplay() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemNameDisplay)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Keywords() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Keywords)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Rating() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rating)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Title() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Audio() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Audio)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GPS() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GPS)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Media() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Media)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Music() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Music)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Photo() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Photo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Video() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Video)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Image() -> windows_core::Result { Self::ISystemProperties(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Image)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4810,35 +4810,35 @@ impl SystemVideoProperties { pub fn Director(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Director)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FrameHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameHeight)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FrameWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameWidth)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TotalBitrate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalBitrate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4863,133 +4863,133 @@ impl UserDataPaths { pub fn CameraRoll(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CameraRoll)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Cookies(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cookies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Desktop(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Desktop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Documents(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Documents)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Downloads(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Downloads)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Favorites(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Favorites)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn History(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).History)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InternetCache(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InternetCache)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalAppData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAppData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LocalAppDataLow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalAppDataLow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Music(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Music)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Pictures(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pictures)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Profile(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Profile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Recent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RoamingAppData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingAppData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SavedPictures(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SavedPictures)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Screenshots(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Screenshots)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Templates(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Templates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Videos(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Videos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4999,13 +4999,13 @@ impl UserDataPaths { P0: windows_core::Param, { Self::IUserDataPathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefault() -> windows_core::Result { Self::IUserDataPathsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 a75e6d1fd2..0b9d8de0a1 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs @@ -59,11 +59,11 @@ pub struct IDevicePortalWebSocketConnection_Vtbl { #[cfg(not(all(feature = "Networking_Sockets", feature = "Web_Http")))] GetServerMessageWebSocketForRequest: usize, #[cfg(all(feature = "Networking_Sockets", feature = "Web_Http"))] - pub GetServerMessageWebSocketForRequest2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Networking::Sockets::SocketMessageType, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetServerMessageWebSocketForRequest2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Networking::Sockets::SocketMessageType, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Networking_Sockets", feature = "Web_Http")))] GetServerMessageWebSocketForRequest2: usize, #[cfg(all(feature = "Networking_Sockets", feature = "Web_Http"))] - pub GetServerMessageWebSocketForRequest3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Networking::Sockets::SocketMessageType, std::mem::MaybeUninit, u32, u32, super::super::super::Networking::Sockets::MessageWebSocketReceiveMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetServerMessageWebSocketForRequest3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Networking::Sockets::SocketMessageType, core::mem::MaybeUninit, u32, u32, super::super::super::Networking::Sockets::MessageWebSocketReceiveMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Networking_Sockets", feature = "Web_Http")))] GetServerMessageWebSocketForRequest3: usize, #[cfg(all(feature = "Networking_Sockets", feature = "Web_Http"))] @@ -71,7 +71,7 @@ pub struct IDevicePortalWebSocketConnection_Vtbl { #[cfg(not(all(feature = "Networking_Sockets", feature = "Web_Http")))] GetServerStreamWebSocketForRequest: usize, #[cfg(all(feature = "Networking_Sockets", feature = "Web_Http"))] - pub GetServerStreamWebSocketForRequest2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, u32, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetServerStreamWebSocketForRequest2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, u32, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Networking_Sockets", feature = "Web_Http")))] GetServerStreamWebSocketForRequest2: usize, } @@ -100,7 +100,7 @@ impl DevicePortalConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -114,7 +114,7 @@ impl DevicePortalConnection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -128,7 +128,7 @@ impl DevicePortalConnection { P0: windows_core::Param, { Self::IDevicePortalConnectionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForAppServiceConnection)(windows_core::Interface::as_raw(this), appserviceconnection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -139,7 +139,7 @@ impl DevicePortalConnection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetServerMessageWebSocketForRequest)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -150,7 +150,7 @@ impl DevicePortalConnection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetServerMessageWebSocketForRequest2)(windows_core::Interface::as_raw(this), request.param().abi(), messagetype, core::mem::transmute_copy(protocol), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -161,7 +161,7 @@ impl DevicePortalConnection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetServerMessageWebSocketForRequest3)(windows_core::Interface::as_raw(this), request.param().abi(), messagetype, core::mem::transmute_copy(protocol), outboundbuffersizeinbytes, maxmessagesize, receivemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -172,7 +172,7 @@ impl DevicePortalConnection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetServerStreamWebSocketForRequest)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -183,7 +183,7 @@ impl DevicePortalConnection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetServerStreamWebSocketForRequest2)(windows_core::Interface::as_raw(this), request.param().abi(), core::mem::transmute_copy(protocol), outboundbuffersizeinbytes, nodelay, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -213,7 +213,7 @@ impl DevicePortalConnectionClosedEventArgs { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -239,7 +239,7 @@ impl DevicePortalConnectionRequestReceivedEventArgs { pub fn RequestMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -247,14 +247,14 @@ impl DevicePortalConnectionRequestReceivedEventArgs { pub fn ResponseMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsWebSocketUpgradeRequest(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsWebSocketUpgradeRequest)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -262,14 +262,14 @@ impl DevicePortalConnectionRequestReceivedEventArgs { pub fn WebSocketProtocolsRequested(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebSocketProtocolsRequested)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 38384c9fd4..5d670ce32b 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for IPlatformTelemetryClientStatics { #[repr(C)] pub struct IPlatformTelemetryClientStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RegisterWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterWithSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlatformTelemetryRegistrationResult, IPlatformTelemetryRegistrationResult_Vtbl, 0x4d8518ab_2292_49bd_a15a_3d71d2145112); impl windows_core::RuntimeType for IPlatformTelemetryRegistrationResult { @@ -33,7 +33,7 @@ pub struct PlatformTelemetryClient; impl PlatformTelemetryClient { pub fn Register(id: &windows_core::HSTRING) -> windows_core::Result { Self::IPlatformTelemetryClientStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Register)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -42,7 +42,7 @@ impl PlatformTelemetryClient { P0: windows_core::Param, { Self::IPlatformTelemetryClientStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterWithSettings)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), settings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -63,7 +63,7 @@ impl PlatformTelemetryRegistrationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -95,7 +95,7 @@ impl PlatformTelemetryRegistrationSettings { pub fn StorageSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorageSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -106,7 +106,7 @@ impl PlatformTelemetryRegistrationSettings { pub fn UploadQuotaSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UploadQuotaSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 2f846c8ba4..bb8d417091 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs @@ -7,10 +7,10 @@ pub struct IPlatformDiagnosticActionsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsScenarioEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub TryEscalateScenario: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, PlatformDiagnosticEscalationType, std::mem::MaybeUninit, bool, bool, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub TryEscalateScenario: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, PlatformDiagnosticEscalationType, core::mem::MaybeUninit, bool, bool, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] TryEscalateScenario: usize, - pub DownloadLatestSettingsForNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, bool, bool, bool, *mut PlatformDiagnosticActionState) -> windows_core::HRESULT, + pub DownloadLatestSettingsForNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, bool, bool, bool, *mut PlatformDiagnosticActionState) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetActiveScenarioList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -51,7 +51,7 @@ pub struct PlatformDiagnosticActions; impl PlatformDiagnosticActions { pub fn IsScenarioEnabled(scenarioid: windows_core::GUID) -> windows_core::Result { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScenarioEnabled)(windows_core::Interface::as_raw(this), scenarioid, &mut result__).map(|| result__) }) } @@ -61,45 +61,45 @@ impl PlatformDiagnosticActions { P0: windows_core::Param>, { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryEscalateScenario)(windows_core::Interface::as_raw(this), scenarioid, escalationtype, core::mem::transmute_copy(outputdirectory), timestampoutputdirectory, forceescalationupload, triggers.param().abi(), &mut result__).map(|| result__) }) } pub fn DownloadLatestSettingsForNamespace(partner: &windows_core::HSTRING, feature: &windows_core::HSTRING, isscenarionamespace: bool, downloadovercostednetwork: bool, downloadoverbattery: bool) -> windows_core::Result { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadLatestSettingsForNamespace)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(partner), core::mem::transmute_copy(feature), isscenarionamespace, downloadovercostednetwork, downloadoverbattery, &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetActiveScenarioList() -> windows_core::Result> { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetActiveScenarioList)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ForceUpload(latency: PlatformDiagnosticEventBufferLatencies, uploadovercostednetwork: bool, uploadoverbattery: bool) -> windows_core::Result { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForceUpload)(windows_core::Interface::as_raw(this), latency, uploadovercostednetwork, uploadoverbattery, &mut result__).map(|| result__) }) } pub fn IsTraceRunning(slottype: PlatformDiagnosticTraceSlotType, scenarioid: windows_core::GUID, traceprofilehash: u64) -> windows_core::Result { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTraceRunning)(windows_core::Interface::as_raw(this), slottype, scenarioid, traceprofilehash, &mut result__).map(|| result__) }) } pub fn GetActiveTraceRuntime(slottype: PlatformDiagnosticTraceSlotType) -> windows_core::Result { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetActiveTraceRuntime)(windows_core::Interface::as_raw(this), slottype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetKnownTraceList(slottype: PlatformDiagnosticTraceSlotType) -> windows_core::Result> { Self::IPlatformDiagnosticActionsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetKnownTraceList)(windows_core::Interface::as_raw(this), slottype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -120,42 +120,42 @@ impl PlatformDiagnosticTraceInfo { pub fn ScenarioId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScenarioId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProfileHash(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProfileHash)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsExclusive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsExclusive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAutoLogger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAutoLogger)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MaxTraceDurationFileTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxTraceDurationFileTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Priority(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Priority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -180,14 +180,14 @@ impl PlatformDiagnosticTraceRuntimeInfo { pub fn RuntimeFileTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RuntimeFileTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EtwRuntimeFileTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EtwRuntimeFileTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs index 27ac28c2e2..7936decbed 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs @@ -36,7 +36,7 @@ impl windows_core::RuntimeType for IDiagnosticInvoker2 { #[repr(C)] pub struct IDiagnosticInvoker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RunDiagnosticActionFromStringAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RunDiagnosticActionFromStringAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDiagnosticInvokerStatics, IDiagnosticInvokerStatics_Vtbl, 0x5cfad8de_f15c_4554_a813_c113c3881b09); impl windows_core::RuntimeType for IDiagnosticInvokerStatics { @@ -76,7 +76,7 @@ impl windows_core::RuntimeType for IProcessDiagnosticInfo { pub struct IProcessDiagnosticInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub ExecutableFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecutableFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub DiskUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -247,7 +247,7 @@ impl DiagnosticActionResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -255,7 +255,7 @@ impl DiagnosticActionResult { pub fn Results(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Results)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -284,20 +284,20 @@ impl DiagnosticInvoker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunDiagnosticActionAsync)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RunDiagnosticActionFromStringAsync(&self, context: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunDiagnosticActionFromStringAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(context), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IDiagnosticInvokerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -306,13 +306,13 @@ impl DiagnosticInvoker { P0: windows_core::Param, { Self::IDiagnosticInvokerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IDiagnosticInvokerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -342,7 +342,7 @@ impl ProcessCpuUsage { pub fn GetReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -367,14 +367,14 @@ impl ProcessCpuUsageReport { pub fn KernelTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KernelTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UserTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -399,49 +399,49 @@ impl ProcessDiagnosticInfo { pub fn ProcessId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExecutableFileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecutableFileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessStartTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessStartTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DiskUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiskUsage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MemoryUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MemoryUsage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CpuUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CpuUsage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -449,33 +449,33 @@ impl ProcessDiagnosticInfo { pub fn GetAppDiagnosticInfos(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppDiagnosticInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPackaged(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPackaged)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } #[cfg(feature = "Foundation_Collections")] pub fn GetForProcesses() -> windows_core::Result> { Self::IProcessDiagnosticInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForProcesses)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForCurrentProcess() -> windows_core::Result { Self::IProcessDiagnosticInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentProcess)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryGetForProcessId(processid: u32) -> windows_core::Result { Self::IProcessDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetForProcessId)(windows_core::Interface::as_raw(this), processid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -510,7 +510,7 @@ impl ProcessDiskUsage { pub fn GetReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -535,42 +535,42 @@ impl ProcessDiskUsageReport { pub fn ReadOperationCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadOperationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WriteOperationCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteOperationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OtherOperationCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherOperationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BytesReadCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesReadCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BytesWrittenCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BytesWrittenCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OtherBytesCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OtherBytesCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -595,7 +595,7 @@ impl ProcessMemoryUsage { pub fn GetReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -620,84 +620,84 @@ impl ProcessMemoryUsageReport { pub fn NonPagedPoolSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NonPagedPoolSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PageFaultCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageFaultCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PageFileSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageFileSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PagedPoolSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PagedPoolSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PeakNonPagedPoolSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeakNonPagedPoolSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PeakPageFileSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeakPageFileSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PeakPagedPoolSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeakPagedPoolSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PeakVirtualMemorySizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeakVirtualMemorySizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PeakWorkingSetSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeakWorkingSetSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PrivatePageCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrivatePageCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn VirtualMemorySizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VirtualMemorySizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WorkingSetSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkingSetSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -722,7 +722,7 @@ impl SystemCpuUsage { pub fn GetReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -747,21 +747,21 @@ impl SystemCpuUsageReport { pub fn KernelTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KernelTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UserTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IdleTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IdleTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -786,32 +786,32 @@ impl SystemDiagnosticInfo { pub fn MemoryUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MemoryUsage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CpuUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CpuUsage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetForCurrentSystem() -> windows_core::Result { Self::ISystemDiagnosticInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsArchitectureSupported(r#type: super::ProcessorArchitecture) -> windows_core::Result { Self::ISystemDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsArchitectureSupported)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) }) } pub fn PreferredArchitecture() -> windows_core::Result { Self::ISystemDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredArchitecture)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -846,7 +846,7 @@ impl SystemMemoryUsage { pub fn GetReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -871,21 +871,21 @@ impl SystemMemoryUsageReport { pub fn TotalPhysicalSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalPhysicalSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AvailableSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AvailableSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CommittedSizeInBytes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommittedSizeInBytes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs index bbf78f4772..f541cd7b2e 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs @@ -42,7 +42,7 @@ impl windows_core::RuntimeName for ISysStorageProviderHandlerFactory { } impl ISysStorageProviderHandlerFactory_Vtbl { pub const fn new, Impl: ISysStorageProviderHandlerFactory_Impl, const OFFSET: isize>() -> ISysStorageProviderHandlerFactory_Vtbl { - unsafe extern "system" fn GetHttpRequestProvider, Impl: ISysStorageProviderHandlerFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, syncrootid: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetHttpRequestProvider, Impl: ISysStorageProviderHandlerFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, syncrootid: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISysStorageProviderHandlerFactory_Impl::GetHttpRequestProvider(this, core::mem::transmute(&syncrootid)) { @@ -54,7 +54,7 @@ impl ISysStorageProviderHandlerFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetEventSource, Impl: ISysStorageProviderHandlerFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, syncrootid: std::mem::MaybeUninit, eventname: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetEventSource, Impl: ISysStorageProviderHandlerFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, syncrootid: core::mem::MaybeUninit, eventname: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISysStorageProviderHandlerFactory_Impl::GetEventSource(this, core::mem::transmute(&syncrootid), core::mem::transmute(&eventname)) { 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 6ce3f52441..33936cecef 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for ISysStorageProviderEventReceivedEventArgs { #[repr(C)] pub struct ISysStorageProviderEventReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Json: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Json: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISysStorageProviderEventReceivedEventArgsFactory, ISysStorageProviderEventReceivedEventArgsFactory_Vtbl, 0xde1a780e_e975_5f68_bcc6_fb46281c6a61); impl windows_core::RuntimeType for ISysStorageProviderEventReceivedEventArgsFactory { @@ -14,13 +14,13 @@ impl windows_core::RuntimeType for ISysStorageProviderEventReceivedEventArgsFact #[repr(C)] pub struct ISysStorageProviderEventReceivedEventArgsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISysStorageProviderEventSource, ISysStorageProviderEventSource_Vtbl, 0x1f36c476_9546_536a_8381_2f9a2c08cedd); impl std::ops::Deref for ISysStorageProviderEventSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISysStorageProviderEventSource, windows_core::IUnknown, windows_core::IInspectable); @@ -31,7 +31,7 @@ impl ISysStorageProviderEventSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EventReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -53,7 +53,7 @@ windows_core::imp::define_interface!(ISysStorageProviderHandlerFactory, ISysStor impl std::ops::Deref for ISysStorageProviderHandlerFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISysStorageProviderHandlerFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -61,14 +61,14 @@ impl ISysStorageProviderHandlerFactory { pub fn GetHttpRequestProvider(&self, syncrootid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHttpRequestProvider)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(syncrootid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetEventSource(&self, syncrootid: &windows_core::HSTRING, eventname: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetEventSource)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(syncrootid), core::mem::transmute_copy(eventname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -79,14 +79,14 @@ impl windows_core::RuntimeType for ISysStorageProviderHandlerFactory { #[repr(C)] pub struct ISysStorageProviderHandlerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetHttpRequestProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetEventSource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetHttpRequestProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetEventSource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISysStorageProviderHttpRequestProvider, ISysStorageProviderHttpRequestProvider_Vtbl, 0xcb6fefb6_e76a_5c25_a33e_3e78a6e0e0ce); impl std::ops::Deref for ISysStorageProviderHttpRequestProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISysStorageProviderHttpRequestProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -98,7 +98,7 @@ impl ISysStorageProviderHttpRequestProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendRequestAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -122,13 +122,13 @@ impl SysStorageProviderEventReceivedEventArgs { pub fn Json(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Json)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInstance(json: &windows_core::HSTRING) -> windows_core::Result { Self::ISysStorageProviderEventReceivedEventArgsFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(json), &mut result__).and_then(|| windows_core::Type::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 4688bc6574..88265c3df0 100644 --- a/crates/libs/windows/src/Windows/System/Inventory/mod.rs +++ b/crates/libs/windows/src/Windows/System/Inventory/mod.rs @@ -5,10 +5,10 @@ impl windows_core::RuntimeType for IInstalledDesktopApp { #[repr(C)] pub struct IInstalledDesktopApp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInstalledDesktopAppStatics, IInstalledDesktopAppStatics_Vtbl, 0x264cf74e_21cd_5f9b_6056_7866ad72489a); impl windows_core::RuntimeType for IInstalledDesktopAppStatics { @@ -31,42 +31,42 @@ impl InstalledDesktopApp { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Publisher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Publisher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn GetInventoryAsync() -> windows_core::Result>> { Self::IInstalledDesktopAppStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInventoryAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 c7ea870102..54b1f43df9 100644 --- a/crates/libs/windows/src/Windows/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/System/Power/mod.rs @@ -138,56 +138,56 @@ impl BackgroundEnergyManager { #[cfg(feature = "deprecated")] pub fn LowUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LowUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn NearMaxAcceptableUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NearMaxAcceptableUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn MaxAcceptableUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAcceptableUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn ExcessiveUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExcessiveUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn NearTerminationUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NearTerminationUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn TerminationUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TerminationUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn RecentEnergyUsage() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageLevel() -> windows_core::Result { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -197,7 +197,7 @@ impl BackgroundEnergyManager { P0: windows_core::Param>, { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsageIncreased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -211,7 +211,7 @@ impl BackgroundEnergyManager { P0: windows_core::Param>, { Self::IBackgroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsageReturnedToLow)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -237,42 +237,42 @@ impl ForegroundEnergyManager { #[cfg(feature = "deprecated")] pub fn LowUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LowUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn NearMaxAcceptableUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NearMaxAcceptableUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn MaxAcceptableUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAcceptableUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn ExcessiveUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExcessiveUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn RecentEnergyUsage() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn RecentEnergyUsageLevel() -> windows_core::Result { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -282,7 +282,7 @@ impl ForegroundEnergyManager { P0: windows_core::Param>, { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsageIncreased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -296,7 +296,7 @@ impl ForegroundEnergyManager { P0: windows_core::Param>, { Self::IForegroundEnergyManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecentEnergyUsageReturnedToLow)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -319,7 +319,7 @@ pub struct PowerManager; impl PowerManager { pub fn EnergySaverStatus() -> windows_core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnergySaverStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -328,7 +328,7 @@ impl PowerManager { P0: windows_core::Param>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnergySaverStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -337,7 +337,7 @@ impl PowerManager { } pub fn BatteryStatus() -> windows_core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BatteryStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -346,7 +346,7 @@ impl PowerManager { P0: windows_core::Param>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BatteryStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -355,7 +355,7 @@ impl PowerManager { } pub fn PowerSupplyStatus() -> windows_core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerSupplyStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -364,7 +364,7 @@ impl PowerManager { P0: windows_core::Param>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowerSupplyStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -373,7 +373,7 @@ impl PowerManager { } pub fn RemainingChargePercent() -> windows_core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingChargePercent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -382,7 +382,7 @@ impl PowerManager { P0: windows_core::Param>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingChargePercentChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -391,7 +391,7 @@ impl PowerManager { } pub fn RemainingDischargeTime() -> windows_core::Result { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingDischargeTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -400,7 +400,7 @@ impl PowerManager { P0: windows_core::Param>, { Self::IPowerManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemainingDischargeTimeChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| 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 281c127b74..0457d9a41e 100644 --- a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs @@ -7,7 +7,7 @@ pub struct IOemSupportInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SupportLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SupportAppLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SupportProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SupportProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISmbiosInformationStatics, ISmbiosInformationStatics_Vtbl, 0x080cca7c_637c_48c4_b728_f9273812db8e); impl windows_core::RuntimeType for ISmbiosInformationStatics { @@ -16,7 +16,7 @@ impl windows_core::RuntimeType for ISmbiosInformationStatics { #[repr(C)] pub struct ISmbiosInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemSupportDeviceInfo, ISystemSupportDeviceInfo_Vtbl, 0x05880b99_8247_441b_a996_a1784bab79a8); impl windows_core::RuntimeType for ISystemSupportDeviceInfo { @@ -25,13 +25,13 @@ impl windows_core::RuntimeType for ISystemSupportDeviceInfo { #[repr(C)] pub struct ISystemSupportDeviceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub OperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemProductName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemSku: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemHardwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SystemFirmwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemProductName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemSku: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemHardwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemFirmwareVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemSupportInfoStatics, ISystemSupportInfoStatics_Vtbl, 0xef750974_c422_45d7_a44d_5c1c0043a2b3); impl windows_core::RuntimeType for ISystemSupportInfoStatics { @@ -40,7 +40,7 @@ impl windows_core::RuntimeType for ISystemSupportInfoStatics { #[repr(C)] pub struct ISystemSupportInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LocalSystemEdition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalSystemEdition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OemSupportInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemSupportInfoStatics2, ISystemSupportInfoStatics2_Vtbl, 0x33f349a4_3fa1_4986_aa4b_057420455e6d); @@ -60,21 +60,21 @@ impl OemSupportInfo { pub fn SupportLink(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SupportAppLink(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportAppLink)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SupportProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -95,7 +95,7 @@ pub struct SmbiosInformation; impl SmbiosInformation { pub fn SerialNumber() -> windows_core::Result { Self::ISmbiosInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SerialNumber)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -116,49 +116,49 @@ impl SystemSupportDeviceInfo { pub fn OperatingSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OperatingSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FriendlyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FriendlyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemManufacturer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemManufacturer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemProductName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemProductName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemSku(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemSku)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemHardwareVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemHardwareVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemFirmwareVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemFirmwareVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -179,19 +179,19 @@ pub struct SystemSupportInfo; impl SystemSupportInfo { pub fn LocalSystemEdition() -> windows_core::Result { Self::ISystemSupportInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalSystemEdition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn OemSupportInfo() -> windows_core::Result { Self::ISystemSupportInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OemSupportInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LocalDeviceInfo() -> windows_core::Result { Self::ISystemSupportInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalDeviceInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 6164a92fe6..9df0a68baa 100644 --- a/crates/libs/windows/src/Windows/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/mod.rs @@ -8,7 +8,7 @@ impl windows_core::RuntimeType for IAnalyticsInfoStatics { pub struct IAnalyticsInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub VersionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeviceForm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceForm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAnalyticsInfoStatics2, IAnalyticsInfoStatics2_Vtbl, 0x101704ea_a7f9_46d2_ab94_016865afdb25); impl windows_core::RuntimeType for IAnalyticsInfoStatics2 { @@ -29,8 +29,8 @@ impl windows_core::RuntimeType for IAnalyticsVersionInfo { #[repr(C)] pub struct IAnalyticsVersionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceFamily: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceFamilyVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceFamily: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceFamilyVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAnalyticsVersionInfo2, IAnalyticsVersionInfo2_Vtbl, 0x76e915b1_ff36_407c_9f57_160d3e540747); impl windows_core::RuntimeType for IAnalyticsVersionInfo2 { @@ -39,7 +39,7 @@ impl windows_core::RuntimeType for IAnalyticsVersionInfo2 { #[repr(C)] pub struct IAnalyticsVersionInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ProductName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppApplicabilityStatics, IAppApplicabilityStatics_Vtbl, 0x1664a082_0f38_5c99_83e4_48995970861c); impl windows_core::RuntimeType for IAppApplicabilityStatics { @@ -101,28 +101,28 @@ impl windows_core::RuntimeType for IKnownRetailInfoPropertiesStatics { #[repr(C)] pub struct IKnownRetailInfoPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RetailAccessCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ManufacturerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Price: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsFeatured: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormFactor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ScreenSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Weight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BatteryLifeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProcessorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Memory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StorageDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GraphicsDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FrontCameraDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RearCameraDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HasNfc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HasSdSlot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HasOpticalDrive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsOfficeInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WindowsEdition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RetailAccessCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ManufacturerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Price: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsFeatured: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormFactor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ScreenSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Weight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BatteryLifeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProcessorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Memory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StorageDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GraphicsDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FrontCameraDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RearCameraDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HasNfc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HasSdSlot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HasOpticalDrive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsOfficeInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WindowsEdition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlatformDiagnosticsAndUsageDataSettingsStatics, IPlatformDiagnosticsAndUsageDataSettingsStatics_Vtbl, 0xb6e24c1b_7b1c_4b32_8c62_a66597ce723a); impl windows_core::RuntimeType for IPlatformDiagnosticsAndUsageDataSettingsStatics { @@ -219,7 +219,7 @@ impl windows_core::RuntimeType for IUnsupportedAppRequirement { #[repr(C)] pub struct IUnsupportedAppRequirement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Requirement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Requirement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Reasons: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UnsupportedAppRequirementReasons) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsIntegrityPolicyStatics, IWindowsIntegrityPolicyStatics_Vtbl, 0x7d1d81db_8d63_4789_9ea5_ddcf65a94f3c); @@ -240,13 +240,13 @@ pub struct AnalyticsInfo; impl AnalyticsInfo { pub fn VersionInfo() -> windows_core::Result { Self::IAnalyticsInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VersionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DeviceForm() -> windows_core::Result { Self::IAnalyticsInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceForm)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -256,7 +256,7 @@ impl AnalyticsInfo { P0: windows_core::Param>, { Self::IAnalyticsInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSystemPropertiesAsync)(windows_core::Interface::as_raw(this), attributenames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -282,21 +282,21 @@ impl AnalyticsVersionInfo { pub fn DeviceFamily(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceFamily)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeviceFamilyVersion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceFamilyVersion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProductName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProductName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -321,7 +321,7 @@ impl AppApplicability { P0: windows_core::Param>, { Self::IAppApplicabilityStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUnsupportedAppRequirements)(windows_core::Interface::as_raw(this), capabilities.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -338,7 +338,7 @@ pub struct EducationSettings; impl EducationSettings { pub fn IsEducationEnvironment() -> windows_core::Result { Self::IEducationSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEducationEnvironment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -359,7 +359,7 @@ impl HardwareIdentification { P0: windows_core::Param, { Self::IHardwareIdentificationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPackageSpecificToken)(windows_core::Interface::as_raw(this), nonce.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -381,7 +381,7 @@ impl HardwareToken { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -389,7 +389,7 @@ impl HardwareToken { pub fn Signature(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Signature)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -397,7 +397,7 @@ impl HardwareToken { pub fn Certificate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Certificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -418,133 +418,133 @@ pub struct KnownRetailInfoProperties; impl KnownRetailInfoProperties { pub fn RetailAccessCode() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetailAccessCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ManufacturerName() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManufacturerName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ModelName() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DisplayModelName() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayModelName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Price() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Price)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsFeatured() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFeatured)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FormFactor() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormFactor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ScreenSize() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenSize)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Weight() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Weight)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DisplayDescription() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BatteryLifeDescription() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BatteryLifeDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ProcessorDescription() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessorDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Memory() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Memory)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn StorageDescription() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StorageDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GraphicsDescription() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GraphicsDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FrontCameraDescription() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrontCameraDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RearCameraDescription() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RearCameraDescription)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HasNfc() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasNfc)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HasSdSlot() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasSdSlot)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HasOpticalDrive() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasOpticalDrive)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsOfficeInstalled() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOfficeInstalled)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn WindowsEdition() -> windows_core::Result { Self::IKnownRetailInfoPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowsEdition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -561,7 +561,7 @@ pub struct PlatformDiagnosticsAndUsageDataSettings; impl PlatformDiagnosticsAndUsageDataSettings { pub fn CollectionLevel() -> windows_core::Result { Self::IPlatformDiagnosticsAndUsageDataSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CollectionLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -570,7 +570,7 @@ impl PlatformDiagnosticsAndUsageDataSettings { P0: windows_core::Param>, { Self::IPlatformDiagnosticsAndUsageDataSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CollectionLevelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -579,7 +579,7 @@ impl PlatformDiagnosticsAndUsageDataSettings { } pub fn CanCollectDiagnostics(level: PlatformDataCollectionLevel) -> windows_core::Result { Self::IPlatformDiagnosticsAndUsageDataSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCollectDiagnostics)(windows_core::Interface::as_raw(this), level, &mut result__).map(|| result__) }) } @@ -596,14 +596,14 @@ pub struct RetailInfo; impl RetailInfo { pub fn IsDemoModeEnabled() -> windows_core::Result { Self::IRetailInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDemoModeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn Properties() -> windows_core::Result> { Self::IRetailInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -620,13 +620,13 @@ pub struct SharedModeSettings; impl SharedModeSettings { pub fn IsEnabled() -> windows_core::Result { Self::ISharedModeSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ShouldAvoidLocalStorage() -> windows_core::Result { Self::ISharedModeSettingsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldAvoidLocalStorage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -648,7 +648,7 @@ pub struct SmartAppControlPolicy; impl SmartAppControlPolicy { pub fn IsEnabled() -> windows_core::Result { Self::ISmartAppControlPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -657,7 +657,7 @@ impl SmartAppControlPolicy { P0: windows_core::Param>, { Self::ISmartAppControlPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -677,7 +677,7 @@ pub struct SystemIdentification; impl SystemIdentification { pub fn GetSystemIdForPublisher() -> windows_core::Result { Self::ISystemIdentificationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSystemIdForPublisher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -686,7 +686,7 @@ impl SystemIdentification { P0: windows_core::Param, { Self::ISystemIdentificationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSystemIdForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -708,14 +708,14 @@ impl SystemIdentificationInfo { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -736,7 +736,7 @@ pub struct SystemSetupInfo; impl SystemSetupInfo { pub fn OutOfBoxExperienceState() -> windows_core::Result { Self::ISystemSetupInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutOfBoxExperienceState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -745,7 +745,7 @@ impl SystemSetupInfo { P0: windows_core::Param>, { Self::ISystemSetupInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OutOfBoxExperienceStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -769,14 +769,14 @@ impl UnsupportedAppRequirement { pub fn Requirement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Requirement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Reasons(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reasons)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -797,25 +797,25 @@ pub struct WindowsIntegrityPolicy; impl WindowsIntegrityPolicy { pub fn IsEnabled() -> windows_core::Result { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsEnabledForTrial() -> windows_core::Result { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabledForTrial)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CanDisable() -> windows_core::Result { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanDisable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsDisableSupported() -> windows_core::Result { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDisableSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -824,7 +824,7 @@ impl WindowsIntegrityPolicy { P0: windows_core::Param>, { Self::IWindowsIntegrityPolicyStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PolicyChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| 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 3954987eab..6a0759b271 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs @@ -33,7 +33,7 @@ impl RemoteTextConnection { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -58,7 +58,7 @@ impl RemoteTextConnection { P0: windows_core::Param, { Self::IRemoteTextConnectionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), connectionid, pduforwarder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -89,7 +89,7 @@ impl RemoteTextConnectionDataHandler { pub fn Invoke(&self, pdudata: &[u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invoke)(windows_core::Interface::as_raw(this), pdudata.len().try_into().unwrap(), pdudata.as_ptr(), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs index 53d8ab3892..096d6813d7 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs @@ -59,8 +59,8 @@ impl windows_core::RuntimeType for IRemoteDesktopInfo { #[repr(C)] pub struct IRemoteDesktopInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteDesktopInfoFactory, IRemoteDesktopInfoFactory_Vtbl, 0xad0e8d58_b56f_5a8b_b419_8002ee0c5ee9); impl windows_core::RuntimeType for IRemoteDesktopInfoFactory { @@ -69,7 +69,7 @@ impl windows_core::RuntimeType for IRemoteDesktopInfoFactory { #[repr(C)] pub struct IRemoteDesktopInfoFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteDesktopRegistrarStatics, IRemoteDesktopRegistrarStatics_Vtbl, 0x687c2750_46d9_5de3_8dc3_84a9202cecfb); impl windows_core::RuntimeType for IRemoteDesktopRegistrarStatics { @@ -92,7 +92,7 @@ impl PerformLocalActionRequestedEventArgs { pub fn Action(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Action)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -128,7 +128,7 @@ impl RemoteDesktopConnectionInfo { P0: windows_core::Param, { Self::IRemoteDesktopConnectionInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForLaunchUri)(windows_core::Interface::as_raw(this), launchuri.param().abi(), windowid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -170,7 +170,7 @@ impl RemoteDesktopConnectionRemoteInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SwitchToLocalSessionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -184,7 +184,7 @@ impl RemoteDesktopConnectionRemoteInfo { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PerformLocalActionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -194,7 +194,7 @@ impl RemoteDesktopConnectionRemoteInfo { } pub fn IsSwitchSupported() -> windows_core::Result { Self::IRemoteDesktopConnectionRemoteInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSwitchSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -203,7 +203,7 @@ impl RemoteDesktopConnectionRemoteInfo { P0: windows_core::Param, { Self::IRemoteDesktopConnectionRemoteInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForLaunchUri)(windows_core::Interface::as_raw(this), launchuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -233,20 +233,20 @@ impl RemoteDesktopInfo { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInstance(id: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result { Self::IRemoteDesktopInfoFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -273,13 +273,13 @@ impl RemoteDesktopRegistrar { #[cfg(feature = "Foundation_Collections")] pub fn DesktopInfos() -> windows_core::Result> { Self::IRemoteDesktopRegistrarStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesktopInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSwitchToLocalSessionEnabled() -> windows_core::Result { Self::IRemoteDesktopRegistrarStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSwitchToLocalSessionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs index 4be829988a..6581c52eb2 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs @@ -15,7 +15,7 @@ pub struct InteractiveSession; impl InteractiveSession { pub fn IsRemote() -> windows_core::Result { Self::IInteractiveSessionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRemote)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs index 8c0dcbcb2c..27f8c73ce9 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs @@ -5,10 +5,10 @@ impl windows_core::RuntimeType for IKnownRemoteSystemCapabilitiesStatics { #[repr(C)] pub struct IKnownRemoteSystemCapabilitiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AppService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LaunchUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SpatialEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LaunchUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SpatialEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystem, IRemoteSystem_Vtbl, 0xed5838cd_1e10_4a8c_b4a6_4e5fd6f97721); impl windows_core::RuntimeType for IRemoteSystem { @@ -17,9 +17,9 @@ impl windows_core::RuntimeType for IRemoteSystem { #[repr(C)] pub struct IRemoteSystem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteSystemStatus) -> windows_core::HRESULT, pub IsAvailableByProximity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -31,7 +31,7 @@ impl windows_core::RuntimeType for IRemoteSystem2 { pub struct IRemoteSystem2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsAvailableBySpatialProximity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub GetCapabilitySupportedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCapabilitySupportedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystem3, IRemoteSystem3_Vtbl, 0x72b4b495_b7c6_40be_831b_73562f12ffa8); impl windows_core::RuntimeType for IRemoteSystem3 { @@ -40,8 +40,8 @@ impl windows_core::RuntimeType for IRemoteSystem3 { #[repr(C)] pub struct IRemoteSystem3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ManufacturerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModelDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ManufacturerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystem4, IRemoteSystem4_Vtbl, 0xf164ffe5_b987_4ca5_9926_fa0438be6273); impl windows_core::RuntimeType for IRemoteSystem4 { @@ -89,8 +89,8 @@ impl windows_core::RuntimeType for IRemoteSystemApp { #[repr(C)] pub struct IRemoteSystemApp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsAvailableByProximity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsAvailableBySpatialProximity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -106,7 +106,7 @@ impl windows_core::RuntimeType for IRemoteSystemApp2 { pub struct IRemoteSystemApp2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ConnectionToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectionToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemAppRegistration, IRemoteSystemAppRegistration_Vtbl, 0xb47947b5_7035_4a5a_b8df_962d8f8431f4); impl windows_core::RuntimeType for IRemoteSystemAppRegistration { @@ -196,7 +196,7 @@ impl windows_core::RuntimeType for IRemoteSystemConnectionRequest3 { #[repr(C)] pub struct IRemoteSystemConnectionRequest3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ConnectionToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectionToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemConnectionRequestFactory, IRemoteSystemConnectionRequestFactory_Vtbl, 0xaa0a0a20_baeb_4575_b530_810bb9786334); impl windows_core::RuntimeType for IRemoteSystemConnectionRequestFactory { @@ -223,8 +223,8 @@ impl windows_core::RuntimeType for IRemoteSystemConnectionRequestStatics2 { #[repr(C)] pub struct IRemoteSystemConnectionRequestStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromConnectionToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromConnectionTokenForUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromConnectionToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromConnectionTokenForUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemDiscoveryTypeFilter, IRemoteSystemDiscoveryTypeFilter_Vtbl, 0x42d9041f_ee5a_43da_ac6a_6fee25460741); impl windows_core::RuntimeType for IRemoteSystemDiscoveryTypeFilter { @@ -256,7 +256,7 @@ windows_core::imp::define_interface!(IRemoteSystemFilter, IRemoteSystemFilter_Vt impl std::ops::Deref for IRemoteSystemFilter { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRemoteSystemFilter, windows_core::IUnknown, windows_core::IInspectable); @@ -299,11 +299,11 @@ impl windows_core::RuntimeType for IRemoteSystemKindStatics { #[repr(C)] pub struct IRemoteSystemKindStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Phone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Hub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Holographic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Desktop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Xbox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Phone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Hub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Holographic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Desktop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Xbox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemKindStatics2, IRemoteSystemKindStatics2_Vtbl, 0xb9e3a3d0_0466_4749_91e8_65f9d19a96a5); impl windows_core::RuntimeType for IRemoteSystemKindStatics2 { @@ -312,9 +312,9 @@ impl windows_core::RuntimeType for IRemoteSystemKindStatics2 { #[repr(C)] pub struct IRemoteSystemKindStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Iot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tablet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Laptop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Iot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tablet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Laptop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemRemovedEventArgs, IRemoteSystemRemovedEventArgs_Vtbl, 0x8b3d16bb_7306_49ea_b7df_67d5714cb013); impl windows_core::RuntimeType for IRemoteSystemRemovedEventArgs { @@ -323,7 +323,7 @@ impl windows_core::RuntimeType for IRemoteSystemRemovedEventArgs { #[repr(C)] pub struct IRemoteSystemRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RemoteSystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteSystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemSession, IRemoteSystemSession_Vtbl, 0x69476a01_9ada_490f_9549_d31cb14c9e95); impl windows_core::RuntimeType for IRemoteSystemSession { @@ -332,9 +332,9 @@ impl windows_core::RuntimeType for IRemoteSystemSession { #[repr(C)] pub struct IRemoteSystemSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ControllerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ControllerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Disconnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDisconnected: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub CreateParticipantWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -368,8 +368,8 @@ impl windows_core::RuntimeType for IRemoteSystemSessionControllerFactory { #[repr(C)] pub struct IRemoteSystemSessionControllerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateController: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateControllerWithSessionOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateController: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateControllerWithSessionOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemSessionCreationResult, IRemoteSystemSessionCreationResult_Vtbl, 0xa79812c2_37de_448c_8b83_a30aa3c4ead6); impl windows_core::RuntimeType for IRemoteSystemSessionCreationResult { @@ -397,8 +397,8 @@ impl windows_core::RuntimeType for IRemoteSystemSessionInfo { #[repr(C)] pub struct IRemoteSystemSessionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ControllerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ControllerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub JoinAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemSessionInvitation, IRemoteSystemSessionInvitation_Vtbl, 0x3e32cc91_51d7_4766_a121_25516c3b8294); @@ -490,8 +490,8 @@ impl windows_core::RuntimeType for IRemoteSystemSessionMessageChannelFactory { #[repr(C)] pub struct IRemoteSystemSessionMessageChannelFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithReliability: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, RemoteSystemSessionMessageChannelReliability, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithReliability: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, RemoteSystemSessionMessageChannelReliability, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemSessionOptions, IRemoteSystemSessionOptions_Vtbl, 0x740ed755_8418_4f01_9353_e21c9ecc6cfc); impl windows_core::RuntimeType for IRemoteSystemSessionOptions { @@ -749,25 +749,25 @@ pub struct KnownRemoteSystemCapabilities; impl KnownRemoteSystemCapabilities { pub fn AppService() -> windows_core::Result { Self::IKnownRemoteSystemCapabilitiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppService)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LaunchUri() -> windows_core::Result { Self::IKnownRemoteSystemCapabilitiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RemoteSession() -> windows_core::Result { Self::IKnownRemoteSystemCapabilitiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SpatialEntity() -> windows_core::Result { Self::IKnownRemoteSystemCapabilitiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpatialEntity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -788,70 +788,70 @@ impl RemoteSystem { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAvailableByProximity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailableByProximity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAvailableBySpatialProximity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailableBySpatialProximity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetCapabilitySupportedAsync(&self, capabilityname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCapabilitySupportedAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(capabilityname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ManufacturerDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManufacturerDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ModelDisplayName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Platform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Platform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -859,14 +859,14 @@ impl RemoteSystem { pub fn Apps(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Apps)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -876,13 +876,13 @@ impl RemoteSystem { P0: windows_core::Param, { Self::IRemoteSystemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindByHostNameAsync)(windows_core::Interface::as_raw(this), hostname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWatcher() -> windows_core::Result { Self::IRemoteSystemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -892,19 +892,19 @@ impl RemoteSystem { P0: windows_core::Param>, { Self::IRemoteSystemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcherWithFilters)(windows_core::Interface::as_raw(this), filters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestAccessAsync() -> windows_core::Result> { Self::IRemoteSystemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsAuthorizationKindEnabled(kind: RemoteSystemAuthorizationKind) -> windows_core::Result { Self::IRemoteSystemStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAuthorizationKindEnabled)(windows_core::Interface::as_raw(this), kind, &mut result__).map(|| result__) }) } @@ -913,7 +913,7 @@ impl RemoteSystem { P0: windows_core::Param, { Self::IRemoteSystemStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcherForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -924,7 +924,7 @@ impl RemoteSystem { P1: windows_core::Param>, { Self::IRemoteSystemStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcherWithFiltersForUser)(windows_core::Interface::as_raw(this), user.param().abi(), filters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -964,7 +964,7 @@ impl RemoteSystemAddedEventArgs { pub fn RemoteSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -989,28 +989,28 @@ impl RemoteSystemApp { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsAvailableByProximity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailableByProximity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAvailableBySpatialProximity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAvailableBySpatialProximity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1018,21 +1018,21 @@ impl RemoteSystemApp { pub fn Attributes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionToken(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1057,7 +1057,7 @@ impl RemoteSystemAppRegistration { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1065,20 +1065,20 @@ impl RemoteSystemAppRegistration { pub fn Attributes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Attributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SaveAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IRemoteSystemAppRegistrationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1087,7 +1087,7 @@ impl RemoteSystemAppRegistration { P0: windows_core::Param, { Self::IRemoteSystemAppRegistrationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1118,13 +1118,13 @@ impl RemoteSystemAuthorizationKindFilter { pub fn RemoteSystemAuthorizationKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystemAuthorizationKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(remotesystemauthorizationkind: RemoteSystemAuthorizationKind) -> windows_core::Result { Self::IRemoteSystemAuthorizationKindFilterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), remotesystemauthorizationkind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1154,7 +1154,7 @@ impl RemoteSystemConnectionInfo { pub fn IsProximal(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsProximal)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1164,7 +1164,7 @@ impl RemoteSystemConnectionInfo { P0: windows_core::Param, { Self::IRemoteSystemConnectionInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateFromAppServiceConnection)(windows_core::Interface::as_raw(this), connection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1194,21 +1194,21 @@ impl RemoteSystemConnectionRequest { pub fn RemoteSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteSystemApp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystemApp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionToken(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionToken)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1217,7 +1217,7 @@ impl RemoteSystemConnectionRequest { P0: windows_core::Param, { Self::IRemoteSystemConnectionRequestFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), remotesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1226,13 +1226,13 @@ impl RemoteSystemConnectionRequest { P0: windows_core::Param, { Self::IRemoteSystemConnectionRequestStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForApp)(windows_core::Interface::as_raw(this), remotesystemapp.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromConnectionToken(connectiontoken: &windows_core::HSTRING) -> windows_core::Result { Self::IRemoteSystemConnectionRequestStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromConnectionToken)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(connectiontoken), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1241,7 +1241,7 @@ impl RemoteSystemConnectionRequest { P0: windows_core::Param, { Self::IRemoteSystemConnectionRequestStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromConnectionTokenForUser)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(connectiontoken), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1282,13 +1282,13 @@ impl RemoteSystemDiscoveryTypeFilter { pub fn RemoteSystemDiscoveryType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystemDiscoveryType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(discoverytype: RemoteSystemDiscoveryType) -> windows_core::Result { Self::IRemoteSystemDiscoveryTypeFilterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), discoverytype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1337,7 +1337,7 @@ impl RemoteSystemKindFilter { pub fn RemoteSystemKinds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystemKinds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1347,7 +1347,7 @@ impl RemoteSystemKindFilter { P0: windows_core::Param>, { Self::IRemoteSystemKindFilterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), remotesystemkinds.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1373,49 +1373,49 @@ pub struct RemoteSystemKinds; impl RemoteSystemKinds { pub fn Phone() -> windows_core::Result { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Phone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Hub() -> windows_core::Result { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hub)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Holographic() -> windows_core::Result { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Holographic)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Desktop() -> windows_core::Result { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Desktop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Xbox() -> windows_core::Result { Self::IRemoteSystemKindStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Xbox)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Iot() -> windows_core::Result { Self::IRemoteSystemKindStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Iot)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Tablet() -> windows_core::Result { Self::IRemoteSystemKindStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tablet)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Laptop() -> windows_core::Result { Self::IRemoteSystemKindStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Laptop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1441,7 +1441,7 @@ impl RemoteSystemRemovedEventArgs { pub fn RemoteSystemId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystemId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1471,21 +1471,21 @@ impl RemoteSystemSession { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ControllerDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControllerDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1495,7 +1495,7 @@ impl RemoteSystemSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Disconnected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1506,7 +1506,7 @@ impl RemoteSystemSession { pub fn CreateParticipantWatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateParticipantWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1516,13 +1516,13 @@ impl RemoteSystemSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendInvitationAsync)(windows_core::Interface::as_raw(this), invitee.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateWatcher() -> windows_core::Result { Self::IRemoteSystemSessionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1552,7 +1552,7 @@ impl RemoteSystemSessionAddedEventArgs { pub fn SessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1580,7 +1580,7 @@ impl RemoteSystemSessionController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JoinRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1594,20 +1594,20 @@ impl RemoteSystemSessionController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveParticipantAsync)(windows_core::Interface::as_raw(this), pparticipant.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSessionAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSessionAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateController(displayname: &windows_core::HSTRING) -> windows_core::Result { Self::IRemoteSystemSessionControllerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1616,7 +1616,7 @@ impl RemoteSystemSessionController { P0: windows_core::Param, { Self::IRemoteSystemSessionControllerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateControllerWithSessionOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displayname), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1646,14 +1646,14 @@ impl RemoteSystemSessionCreationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1678,7 +1678,7 @@ impl RemoteSystemSessionDisconnectedEventArgs { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1703,21 +1703,21 @@ impl RemoteSystemSessionInfo { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ControllerDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControllerDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn JoinAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JoinAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1742,14 +1742,14 @@ impl RemoteSystemSessionInvitation { pub fn Sender(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sender)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1784,7 +1784,7 @@ impl RemoteSystemSessionInvitationListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvitationReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1813,7 +1813,7 @@ impl RemoteSystemSessionInvitationReceivedEventArgs { pub fn Invitation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invitation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1838,7 +1838,7 @@ impl RemoteSystemSessionJoinRequest { pub fn Participant(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Participant)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1867,14 +1867,14 @@ impl RemoteSystemSessionJoinRequestedEventArgs { pub fn JoinRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).JoinRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1899,14 +1899,14 @@ impl RemoteSystemSessionJoinResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1931,7 +1931,7 @@ impl RemoteSystemSessionMessageChannel { pub fn Session(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Session)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1942,7 +1942,7 @@ impl RemoteSystemSessionMessageChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BroadcastValueSetAsync)(windows_core::Interface::as_raw(this), messagedata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1954,7 +1954,7 @@ impl RemoteSystemSessionMessageChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendValueSetAsync)(windows_core::Interface::as_raw(this), messagedata.param().abi(), participant.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1966,7 +1966,7 @@ impl RemoteSystemSessionMessageChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendValueSetToParticipantsAsync)(windows_core::Interface::as_raw(this), messagedata.param().abi(), participants.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1976,7 +1976,7 @@ impl RemoteSystemSessionMessageChannel { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ValueSetReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1989,7 +1989,7 @@ impl RemoteSystemSessionMessageChannel { P0: windows_core::Param, { Self::IRemoteSystemSessionMessageChannelFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), session.param().abi(), core::mem::transmute_copy(channelname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1998,7 +1998,7 @@ impl RemoteSystemSessionMessageChannel { P0: windows_core::Param, { Self::IRemoteSystemSessionMessageChannelFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithReliability)(windows_core::Interface::as_raw(this), session.param().abi(), core::mem::transmute_copy(channelname), reliability, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2035,7 +2035,7 @@ impl RemoteSystemSessionOptions { pub fn IsInviteOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInviteOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2064,7 +2064,7 @@ impl RemoteSystemSessionParticipant { pub fn RemoteSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2072,7 +2072,7 @@ impl RemoteSystemSessionParticipant { pub fn GetHostNames(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHostNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2097,7 +2097,7 @@ impl RemoteSystemSessionParticipantAddedEventArgs { pub fn Participant(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Participant)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2122,7 +2122,7 @@ impl RemoteSystemSessionParticipantRemovedEventArgs { pub fn Participant(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Participant)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2155,7 +2155,7 @@ impl RemoteSystemSessionParticipantWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2165,7 +2165,7 @@ impl RemoteSystemSessionParticipantWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2179,7 +2179,7 @@ impl RemoteSystemSessionParticipantWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2193,7 +2193,7 @@ impl RemoteSystemSessionParticipantWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2222,7 +2222,7 @@ impl RemoteSystemSessionRemovedEventArgs { pub fn SessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2247,7 +2247,7 @@ impl RemoteSystemSessionUpdatedEventArgs { pub fn SessionInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2272,7 +2272,7 @@ impl RemoteSystemSessionValueSetReceivedEventArgs { pub fn Sender(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sender)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2280,7 +2280,7 @@ impl RemoteSystemSessionValueSetReceivedEventArgs { pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2313,7 +2313,7 @@ impl RemoteSystemSessionWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2323,7 +2323,7 @@ impl RemoteSystemSessionWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2337,7 +2337,7 @@ impl RemoteSystemSessionWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2351,7 +2351,7 @@ impl RemoteSystemSessionWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2381,13 +2381,13 @@ impl RemoteSystemStatusTypeFilter { pub fn RemoteSystemStatusType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystemStatusType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(remotesystemstatustype: RemoteSystemStatusType) -> windows_core::Result { Self::IRemoteSystemStatusTypeFilterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), remotesystemstatustype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2417,7 +2417,7 @@ impl RemoteSystemUpdatedEventArgs { pub fn RemoteSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2453,7 +2453,7 @@ impl RemoteSystemWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystemAdded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2467,7 +2467,7 @@ impl RemoteSystemWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystemUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2481,7 +2481,7 @@ impl RemoteSystemWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteSystemRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2495,7 +2495,7 @@ impl RemoteSystemWatcher { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2509,7 +2509,7 @@ impl RemoteSystemWatcher { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorOccurred)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2520,7 +2520,7 @@ impl RemoteSystemWatcher { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2545,7 +2545,7 @@ impl RemoteSystemWatcherErrorOccurredEventArgs { pub fn Error(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Error)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2572,7 +2572,7 @@ impl RemoteSystemWebAccountFilter { pub fn Account(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Account)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2582,7 +2582,7 @@ impl RemoteSystemWebAccountFilter { P0: windows_core::Param, { Self::IRemoteSystemWebAccountFilterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), account.param().abi(), &mut result__).and_then(|| windows_core::Type::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 13df8e1434..ffc1fe073c 100644 --- a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs @@ -35,10 +35,10 @@ impl windows_core::RuntimeType for ISignalNotifierStatics { #[repr(C)] pub struct ISignalNotifierStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AttachToEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AttachToEventWithTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AttachToSemaphore: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AttachToSemaphoreWithTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, super::super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AttachToEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AttachToEventWithTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AttachToSemaphore: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AttachToSemaphoreWithTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, super::super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -48,7 +48,7 @@ impl PreallocatedWorkItem { pub fn RunAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -57,7 +57,7 @@ impl PreallocatedWorkItem { P0: windows_core::Param, { Self::IPreallocatedWorkItemFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWorkItem)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -66,7 +66,7 @@ impl PreallocatedWorkItem { P0: windows_core::Param, { Self::IPreallocatedWorkItemFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWorkItemWithPriority)(windows_core::Interface::as_raw(this), handler.param().abi(), priority, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -75,7 +75,7 @@ impl PreallocatedWorkItem { P0: windows_core::Param, { Self::IPreallocatedWorkItemFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWorkItemWithPriorityAndOptions)(windows_core::Interface::as_raw(this), handler.param().abi(), priority, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -115,7 +115,7 @@ impl SignalNotifier { P0: windows_core::Param, { Self::ISignalNotifierStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttachToEvent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -124,7 +124,7 @@ impl SignalNotifier { P0: windows_core::Param, { Self::ISignalNotifierStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttachToEventWithTimeout)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), handler.param().abi(), timeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -133,7 +133,7 @@ impl SignalNotifier { P0: windows_core::Param, { Self::ISignalNotifierStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttachToSemaphore)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -142,7 +142,7 @@ impl SignalNotifier { P0: windows_core::Param, { Self::ISignalNotifierStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttachToSemaphoreWithTimeout)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), handler.param().abi(), timeout, &mut result__).and_then(|| windows_core::Type::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 260764fde4..a96ae82579 100644 --- a/crates/libs/windows/src/Windows/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/mod.rs @@ -41,7 +41,7 @@ impl ThreadPool { P0: windows_core::Param, { Self::IThreadPoolStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunAsync)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -50,7 +50,7 @@ impl ThreadPool { P0: windows_core::Param, { Self::IThreadPoolStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunWithPriorityAsync)(windows_core::Interface::as_raw(this), handler.param().abi(), priority, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -59,7 +59,7 @@ impl ThreadPool { P0: windows_core::Param, { Self::IThreadPoolStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunWithPriorityAndOptionsAsync)(windows_core::Interface::as_raw(this), handler.param().abi(), priority, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -80,14 +80,14 @@ impl ThreadPoolTimer { pub fn Period(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Period)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Delay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -100,7 +100,7 @@ impl ThreadPoolTimer { P0: windows_core::Param, { Self::IThreadPoolTimerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePeriodicTimer)(windows_core::Interface::as_raw(this), handler.param().abi(), period, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -109,7 +109,7 @@ impl ThreadPoolTimer { P0: windows_core::Param, { Self::IThreadPoolTimerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTimer)(windows_core::Interface::as_raw(this), handler.param().abi(), delay, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -119,7 +119,7 @@ impl ThreadPoolTimer { P1: windows_core::Param, { Self::IThreadPoolTimerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePeriodicTimerWithCompletion)(windows_core::Interface::as_raw(this), handler.param().abi(), period, destroyed.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -129,7 +129,7 @@ impl ThreadPoolTimer { P1: windows_core::Param, { Self::IThreadPoolTimerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTimerWithCompletion)(windows_core::Interface::as_raw(this), handler.param().abi(), delay, destroyed.param().abi(), &mut result__).and_then(|| windows_core::Type::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 d7f405cffe..9d19ecf4d3 100644 --- a/crates/libs/windows/src/Windows/System/Update/mod.rs +++ b/crates/libs/windows/src/Windows/System/Update/mod.rs @@ -6,9 +6,9 @@ impl windows_core::RuntimeType for ISystemUpdateItem { pub struct ISystemUpdateItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemUpdateItemState) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Revision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub DownloadProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub InstallProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, @@ -49,16 +49,16 @@ pub struct ISystemUpdateManagerStatics_Vtbl { pub GetAutomaticRebootBlockIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetAutomaticRebootBlockIds: usize, - pub BlockAutomaticRebootAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub UnblockAutomaticRebootAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BlockAutomaticRebootAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UnblockAutomaticRebootAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetUpdateItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetUpdateItems: usize, pub AttentionRequiredReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemUpdateAttentionRequiredReason) -> windows_core::HRESULT, - pub SetFlightRing: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, - pub GetFlightRing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFlightRing: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub GetFlightRing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartInstall: unsafe extern "system" fn(*mut core::ffi::c_void, SystemUpdateStartInstallAction) -> windows_core::HRESULT, pub RebootToCompleteInstall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StartCancelUpdates: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -71,56 +71,56 @@ impl SystemUpdateItem { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Revision(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Revision)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DownloadProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InstallProgress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -145,21 +145,21 @@ impl SystemUpdateLastErrorInfo { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInteractive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInteractive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -180,13 +180,13 @@ pub struct SystemUpdateManager; impl SystemUpdateManager { pub fn IsSupported() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn State() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -195,7 +195,7 @@ impl SystemUpdateManager { P0: windows_core::Param>, { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -204,105 +204,105 @@ impl SystemUpdateManager { } pub fn DownloadProgress() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DownloadProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn InstallProgress() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstallProgress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UserActiveHoursStart() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserActiveHoursStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UserActiveHoursEnd() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserActiveHoursEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UserActiveHoursMax() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserActiveHoursMax)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TrySetUserActiveHours(start: super::super::Foundation::TimeSpan, end: super::super::Foundation::TimeSpan) -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetUserActiveHours)(windows_core::Interface::as_raw(this), start, end, &mut result__).map(|| result__) }) } pub fn LastUpdateCheckTime() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastUpdateCheckTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LastUpdateInstallTime() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastUpdateInstallTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LastErrorInfo() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastErrorInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetAutomaticRebootBlockIds() -> windows_core::Result> { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAutomaticRebootBlockIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BlockAutomaticRebootAsync(lockid: &windows_core::HSTRING) -> windows_core::Result> { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlockAutomaticRebootAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(lockid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UnblockAutomaticRebootAsync(lockid: &windows_core::HSTRING) -> windows_core::Result> { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnblockAutomaticRebootAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(lockid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ExtendedError() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetUpdateItems() -> windows_core::Result> { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUpdateItems)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AttentionRequiredReason() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttentionRequiredReason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SetFlightRing(flightring: &windows_core::HSTRING) -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetFlightRing)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(flightring), &mut result__).map(|| result__) }) } pub fn GetFlightRing() -> windows_core::Result { Self::ISystemUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFlightRing)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } diff --git a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs index e85a5d4112..1617cc51f2 100644 --- a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs +++ b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IAdvertisingManagerForUser { #[repr(C)] pub struct IAdvertisingManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AdvertisingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AdvertisingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdvertisingManagerStatics, IAdvertisingManagerStatics_Vtbl, 0xadd3468c_a273_48cb_b346_3544522d5581); @@ -15,7 +15,7 @@ impl windows_core::RuntimeType for IAdvertisingManagerStatics { #[repr(C)] pub struct IAdvertisingManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AdvertisingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AdvertisingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdvertisingManagerStatics2, IAdvertisingManagerStatics2_Vtbl, 0xdd0947af_1a6d_46b0_95bc_f3f9d6beb9fb); impl windows_core::RuntimeType for IAdvertisingManagerStatics2 { @@ -108,7 +108,7 @@ pub struct IGlobalizationPreferencesForUser_Vtbl { pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Languages: usize, - pub HomeGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HomeGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Globalization")] pub WeekStartsOn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Globalization::DayOfWeek) -> windows_core::HRESULT, #[cfg(not(feature = "Globalization"))] @@ -137,7 +137,7 @@ pub struct IGlobalizationPreferencesStatics_Vtbl { pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Languages: usize, - pub HomeGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HomeGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Globalization")] pub WeekStartsOn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Globalization::DayOfWeek) -> windows_core::HRESULT, #[cfg(not(feature = "Globalization"))] @@ -150,7 +150,7 @@ impl windows_core::RuntimeType for IGlobalizationPreferencesStatics2 { #[repr(C)] pub struct IGlobalizationPreferencesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TrySetHomeGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub TrySetHomeGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub TrySetLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -297,7 +297,7 @@ pub struct AdvertisingManager; impl AdvertisingManager { pub fn AdvertisingId() -> windows_core::Result { Self::IAdvertisingManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisingId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -306,7 +306,7 @@ impl AdvertisingManager { P0: windows_core::Param, { Self::IAdvertisingManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -332,14 +332,14 @@ impl AdvertisingManagerForUser { pub fn AdvertisingId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvertisingId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -364,27 +364,27 @@ impl AssignedAccessSettings { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsSingleAppKioskMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSingleAppKioskMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IAssignedAccessSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -393,7 +393,7 @@ impl AssignedAccessSettings { P0: windows_core::Param, { Self::IAssignedAccessSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -423,20 +423,20 @@ impl DiagnosticsSettings { pub fn CanUseDiagnosticsToTailorExperiences(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanUseDiagnosticsToTailorExperiences)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IDiagnosticsSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -445,7 +445,7 @@ impl DiagnosticsSettings { P0: windows_core::Param, { Self::IDiagnosticsSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -476,7 +476,7 @@ windows_core::imp::required_hierarchy!(FirstSignInSettings, super::super::Founda impl FirstSignInSettings { pub fn GetDefault() -> windows_core::Result { Self::IFirstSignInSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -484,7 +484,7 @@ impl FirstSignInSettings { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -492,7 +492,7 @@ impl FirstSignInSettings { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -500,7 +500,7 @@ impl FirstSignInSettings { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -508,7 +508,7 @@ impl FirstSignInSettings { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -556,47 +556,47 @@ impl GlobalizationPreferences { #[cfg(feature = "Foundation_Collections")] pub fn Calendars() -> windows_core::Result> { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Calendars)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Clocks() -> windows_core::Result> { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clocks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Currencies() -> windows_core::Result> { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Currencies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn Languages() -> windows_core::Result> { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HomeGeographicRegion() -> windows_core::Result { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HomeGeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Globalization")] pub fn WeekStartsOn() -> windows_core::Result { Self::IGlobalizationPreferencesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WeekStartsOn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TrySetHomeGeographicRegion(region: &windows_core::HSTRING) -> windows_core::Result { Self::IGlobalizationPreferencesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetHomeGeographicRegion)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(region), &mut result__).map(|| result__) }) } @@ -606,7 +606,7 @@ impl GlobalizationPreferences { P0: windows_core::Param>, { Self::IGlobalizationPreferencesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetLanguages)(windows_core::Interface::as_raw(this), languagetags.param().abi(), &mut result__).map(|| result__) }) } @@ -615,7 +615,7 @@ impl GlobalizationPreferences { P0: windows_core::Param, { Self::IGlobalizationPreferencesStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -646,7 +646,7 @@ impl GlobalizationPreferencesForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -654,7 +654,7 @@ impl GlobalizationPreferencesForUser { pub fn Calendars(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Calendars)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -662,7 +662,7 @@ impl GlobalizationPreferencesForUser { pub fn Clocks(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clocks)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -670,7 +670,7 @@ impl GlobalizationPreferencesForUser { pub fn Currencies(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Currencies)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -678,14 +678,14 @@ impl GlobalizationPreferencesForUser { pub fn Languages(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Languages)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HomeGeographicRegion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HomeGeographicRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -693,7 +693,7 @@ impl GlobalizationPreferencesForUser { pub fn WeekStartsOn(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WeekStartsOn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -717,26 +717,26 @@ impl LockScreen { P0: windows_core::Param, { Self::ILockScreenImageFeedStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSetImageFeedAsync)(windows_core::Interface::as_raw(this), syndicationfeeduri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryRemoveImageFeed() -> windows_core::Result { Self::ILockScreenImageFeedStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRemoveImageFeed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn OriginalImageFile() -> windows_core::Result { Self::ILockScreenStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OriginalImageFile)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn GetImageStream() -> windows_core::Result { Self::ILockScreenStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetImageStream)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -746,7 +746,7 @@ impl LockScreen { P0: windows_core::Param, { Self::ILockScreenStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetImageFileAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -756,7 +756,7 @@ impl LockScreen { P0: windows_core::Param, { Self::ILockScreenStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetImageStreamAsync)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -781,21 +781,21 @@ impl UserInformation { #[cfg(feature = "deprecated")] pub fn AccountPictureChangeEnabled() -> windows_core::Result { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountPictureChangeEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn NameAccessAllowed() -> windows_core::Result { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NameAccessAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(all(feature = "Storage", feature = "deprecated"))] pub fn GetAccountPicture(kind: AccountPictureKind) -> windows_core::Result { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAccountPicture)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -805,7 +805,7 @@ impl UserInformation { P0: windows_core::Param, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAccountPictureAsync)(windows_core::Interface::as_raw(this), image.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -817,7 +817,7 @@ impl UserInformation { P2: windows_core::Param, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAccountPicturesAsync)(windows_core::Interface::as_raw(this), smallimage.param().abi(), largeimage.param().abi(), video.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -827,7 +827,7 @@ impl UserInformation { P0: windows_core::Param, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAccountPictureFromStreamAsync)(windows_core::Interface::as_raw(this), image.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -839,7 +839,7 @@ impl UserInformation { P2: windows_core::Param, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAccountPicturesFromStreamsAsync)(windows_core::Interface::as_raw(this), smallimage.param().abi(), largeimage.param().abi(), video.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -849,7 +849,7 @@ impl UserInformation { P0: windows_core::Param>, { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountPictureChanged)(windows_core::Interface::as_raw(this), changehandler.param().abi(), &mut result__).map(|| result__) }) } @@ -860,42 +860,42 @@ impl UserInformation { #[cfg(feature = "deprecated")] pub fn GetDisplayNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDisplayNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn GetFirstNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFirstNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn GetLastNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetLastNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn GetPrincipalNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPrincipalNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn GetSessionInitiationProtocolUriAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSessionInitiationProtocolUriAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "deprecated")] pub fn GetDomainNameAsync() -> windows_core::Result> { Self::IUserInformationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDomainNameAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -922,7 +922,7 @@ impl UserProfilePersonalizationSettings { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetLockScreenImageAsync)(windows_core::Interface::as_raw(this), imagefile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -933,19 +933,19 @@ impl UserProfilePersonalizationSettings { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetWallpaperImageAsync)(windows_core::Interface::as_raw(this), imagefile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Current() -> windows_core::Result { Self::IUserProfilePersonalizationSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IUserProfilePersonalizationSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index 508096a90e..41ec1dbd49 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -86,7 +86,7 @@ pub struct IAppDiagnosticInfoStatics2_Vtbl { pub CreateWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] - pub RequestInfoForPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestInfoForPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RequestInfoForPackageAsync: usize, #[cfg(feature = "Foundation_Collections")] @@ -94,7 +94,7 @@ pub struct IAppDiagnosticInfoStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RequestInfoForAppAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub RequestInfoForAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestInfoForAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] RequestInfoForAppUserModelId: usize, } @@ -174,9 +174,9 @@ impl windows_core::RuntimeType for IAppResourceGroupBackgroundTaskReport { pub struct IAppResourceGroupBackgroundTaskReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TaskId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Trigger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EntryPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Trigger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EntryPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppResourceGroupInfo, IAppResourceGroupInfo_Vtbl, 0xb913f77a_e807_49f4_845e_7b8bdcfe8ee7); impl windows_core::RuntimeType for IAppResourceGroupInfo { @@ -285,8 +285,8 @@ impl windows_core::RuntimeType for IAppUriHandlerHost { #[repr(C)] pub struct IAppUriHandlerHost_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppUriHandlerHost2, IAppUriHandlerHost2_Vtbl, 0x3a0bee95_29e4_51bf_8095_a3c068e3c72a); impl windows_core::RuntimeType for IAppUriHandlerHost2 { @@ -305,7 +305,7 @@ impl windows_core::RuntimeType for IAppUriHandlerHostFactory { #[repr(C)] pub struct IAppUriHandlerHostFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppUriHandlerRegistration, IAppUriHandlerRegistration_Vtbl, 0x6f73aeb1_4569_5c3f_9ba0_99123eea32c3); impl windows_core::RuntimeType for IAppUriHandlerRegistration { @@ -314,7 +314,7 @@ impl windows_core::RuntimeType for IAppUriHandlerRegistration { #[repr(C)] pub struct IAppUriHandlerRegistration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetAppAddedHostsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -340,7 +340,7 @@ pub struct IAppUriHandlerRegistration2_Vtbl { pub UpdateHosts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] UpdateHosts: usize, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppUriHandlerRegistrationManager, IAppUriHandlerRegistrationManager_Vtbl, 0xe62c9a52_ac94_5750_ac1b_6cfb6f250263); impl windows_core::RuntimeType for IAppUriHandlerRegistrationManager { @@ -350,7 +350,7 @@ impl windows_core::RuntimeType for IAppUriHandlerRegistrationManager { pub struct IAppUriHandlerRegistrationManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryGetRegistration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryGetRegistration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppUriHandlerRegistrationManager2, IAppUriHandlerRegistrationManager2_Vtbl, 0xbddfcaf1_b51a_5e69_aefd_7088d9f2b123); impl windows_core::RuntimeType for IAppUriHandlerRegistrationManager2 { @@ -359,7 +359,7 @@ impl windows_core::RuntimeType for IAppUriHandlerRegistrationManager2 { #[repr(C)] pub struct IAppUriHandlerRegistrationManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppUriHandlerRegistrationManagerStatics, IAppUriHandlerRegistrationManagerStatics_Vtbl, 0xd5cedd9f_5729_5b76_a1d4_0285f295c124); impl windows_core::RuntimeType for IAppUriHandlerRegistrationManagerStatics { @@ -378,8 +378,8 @@ impl windows_core::RuntimeType for IAppUriHandlerRegistrationManagerStatics2 { #[repr(C)] pub struct IAppUriHandlerRegistrationManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetForPackage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetForPackageForUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetForPackage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetForPackageForUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDateTimeSettingsStatics, IDateTimeSettingsStatics_Vtbl, 0x5d2150d1_47ee_48ab_a52b_9f1954278d82); impl windows_core::RuntimeType for IDateTimeSettingsStatics { @@ -487,15 +487,15 @@ impl windows_core::RuntimeType for IKnownUserPropertiesStatics { #[repr(C)] pub struct IKnownUserPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GuestHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PrincipalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SessionInitiationProtocolUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GuestHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrincipalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SessionInitiationProtocolUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKnownUserPropertiesStatics2, IKnownUserPropertiesStatics2_Vtbl, 0x5b450782_f620_577e_b1b3_dd56644d79b1); impl windows_core::RuntimeType for IKnownUserPropertiesStatics2 { @@ -504,7 +504,7 @@ impl windows_core::RuntimeType for IKnownUserPropertiesStatics2 { #[repr(C)] pub struct IKnownUserPropertiesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AgeEnforcementRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AgeEnforcementRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILaunchUriResult, ILaunchUriResult_Vtbl, 0xec27a8df_f6d5_45ca_913a_70a40c5c8221); impl windows_core::RuntimeType for ILaunchUriResult { @@ -531,14 +531,14 @@ pub struct ILauncherOptions_Vtbl { pub DisplayApplicationPicker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetDisplayApplicationPicker: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub UI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PreferredApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPreferredApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PreferredApplicationDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPreferredApplicationDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PreferredApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPreferredApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PreferredApplicationDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPreferredApplicationDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub FallbackUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFallbackUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContentType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContentType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILauncherOptions2, ILauncherOptions2_Vtbl, 0x3ba08eb4_6e40_4dce_a1a3_2f53950afb49); impl windows_core::RuntimeType for ILauncherOptions2 { @@ -547,8 +547,8 @@ impl windows_core::RuntimeType for ILauncherOptions2 { #[repr(C)] pub struct ILauncherOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TargetApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTargetApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTargetApplicationPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Search")] pub NeighboringFilesQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Search"))] @@ -613,25 +613,25 @@ pub struct ILauncherStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] LaunchUriWithDataAsync: usize, pub QueryUriSupportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, LaunchQuerySupportType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub QueryUriSupportWithPackageFamilyNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, LaunchQuerySupportType, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryUriSupportWithPackageFamilyNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, LaunchQuerySupportType, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage")] pub QueryFileSupportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] QueryFileSupportAsync: usize, #[cfg(feature = "Storage")] - pub QueryFileSupportWithPackageFamilyNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryFileSupportWithPackageFamilyNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage"))] QueryFileSupportWithPackageFamilyNameAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindUriSchemeHandlersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindUriSchemeHandlersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindUriSchemeHandlersAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindUriSchemeHandlersWithLaunchUriTypeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, LaunchQuerySupportType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindUriSchemeHandlersWithLaunchUriTypeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, LaunchQuerySupportType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindUriSchemeHandlersWithLaunchUriTypeAsync: usize, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] - pub FindFileHandlersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindFileHandlersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindFileHandlersAsync: usize, } @@ -659,7 +659,7 @@ impl windows_core::RuntimeType for ILauncherStatics4 { pub struct ILauncherStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub QueryAppUriSupportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub QueryAppUriSupportWithPackageFamilyNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryAppUriSupportWithPackageFamilyNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub FindAppUriHandlersAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] @@ -683,10 +683,10 @@ impl windows_core::RuntimeType for ILauncherStatics5 { #[repr(C)] pub struct ILauncherStatics5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LaunchFolderPathAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchFolderPathWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchFolderPathForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchFolderPathWithOptionsForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFolderPathAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFolderPathWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFolderPathForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LaunchFolderPathWithOptionsForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILauncherUIOptions, ILauncherUIOptions_Vtbl, 0x1b25da6e_8aa6_41e9_8251_4165f5985f49); impl windows_core::RuntimeType for ILauncherUIOptions { @@ -712,7 +712,7 @@ windows_core::imp::define_interface!(ILauncherViewOptions, ILauncherViewOptions_ impl std::ops::Deref for ILauncherViewOptions { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILauncherViewOptions, windows_core::IUnknown, windows_core::IInspectable); @@ -721,7 +721,7 @@ impl ILauncherViewOptions { pub fn DesiredRemainingView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredRemainingView)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -822,8 +822,8 @@ pub struct IProcessLauncherOptions_Vtbl { pub SetStandardError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] SetStandardError: usize, - pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProcessLauncherResult, IProcessLauncherResult_Vtbl, 0x544c8934_86d8_4991_8e75_ece8a43b6b6d); impl windows_core::RuntimeType for IProcessLauncherResult { @@ -841,8 +841,8 @@ impl windows_core::RuntimeType for IProcessLauncherStatics { #[repr(C)] pub struct IProcessLauncherStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RunToCompletionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RunToCompletionAsyncWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RunToCompletionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RunToCompletionAsyncWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProcessMemoryReport, IProcessMemoryReport_Vtbl, 0x087305a8_9b70_4782_8741_3a982b6ce5e4); impl windows_core::RuntimeType for IProcessMemoryReport { @@ -928,13 +928,13 @@ impl windows_core::RuntimeType for ITimeZoneSettingsStatics { #[repr(C)] pub struct ITimeZoneSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CurrentTimeZoneDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentTimeZoneDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub SupportedTimeZoneDisplayNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] SupportedTimeZoneDisplayNames: usize, pub CanChangeTimeZone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub ChangeTimeZoneByDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangeTimeZoneByDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimeZoneSettingsStatics2, ITimeZoneSettingsStatics2_Vtbl, 0x555c0db8_39a8_49fa_b4f6_a2c7fc2842ec); impl windows_core::RuntimeType for ITimeZoneSettingsStatics2 { @@ -952,10 +952,10 @@ impl windows_core::RuntimeType for IUser { #[repr(C)] pub struct IUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub NonRoamableId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NonRoamableId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AuthenticationStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserAuthenticationStatus) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserType) -> windows_core::HRESULT, - pub GetPropertyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPropertyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub GetPropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -1023,7 +1023,7 @@ impl windows_core::RuntimeType for IUserDeviceAssociationChangedEventArgs { #[repr(C)] pub struct IUserDeviceAssociationChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NewUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OldUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1034,7 +1034,7 @@ impl windows_core::RuntimeType for IUserDeviceAssociationStatics { #[repr(C)] pub struct IUserDeviceAssociationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub FindUserFromDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindUserFromDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UserDeviceAssociationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveUserDeviceAssociationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -1080,7 +1080,7 @@ pub struct IUserStatics_Vtbl { pub FindAllAsyncByTypeAndStatus: unsafe extern "system" fn(*mut core::ffi::c_void, UserType, UserAuthenticationStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] FindAllAsyncByTypeAndStatus: usize, - pub GetFromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserStatics2, IUserStatics2_Vtbl, 0x74a37e11_2eb5_4487_b0d5_2c6790e013e9); impl windows_core::RuntimeType for IUserStatics2 { @@ -1124,14 +1124,14 @@ impl AppActivationResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppResourceGroupInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppResourceGroupInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1157,7 +1157,7 @@ impl AppDiagnosticInfo { pub fn AppInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1165,61 +1165,61 @@ impl AppDiagnosticInfo { pub fn GetResourceGroups(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResourceGroups)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateResourceGroupWatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResourceGroupWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LaunchAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoAsync() -> windows_core::Result>> { Self::IAppDiagnosticInfoStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestInfoAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWatcher() -> windows_core::Result { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestAccessAsync() -> windows_core::Result> { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoForPackageAsync(packagefamilyname: &windows_core::HSTRING) -> windows_core::Result>> { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestInfoForPackageAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoForAppAsync() -> windows_core::Result>> { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestInfoForAppAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn RequestInfoForAppUserModelId(appusermodelid: &windows_core::HSTRING) -> windows_core::Result>> { Self::IAppDiagnosticInfoStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestInfoForAppUserModelId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appusermodelid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1257,7 +1257,7 @@ impl AppDiagnosticInfoWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1271,7 +1271,7 @@ impl AppDiagnosticInfoWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1285,7 +1285,7 @@ impl AppDiagnosticInfoWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1299,7 +1299,7 @@ impl AppDiagnosticInfoWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1310,7 +1310,7 @@ impl AppDiagnosticInfoWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1343,7 +1343,7 @@ impl AppDiagnosticInfoWatcherEventArgs { pub fn AppDiagnosticInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDiagnosticInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1368,7 +1368,7 @@ impl AppExecutionStateChangeResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1393,35 +1393,35 @@ impl AppMemoryReport { pub fn PrivateCommitUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrivateCommitUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PeakPrivateCommitUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeakPrivateCommitUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalCommitUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalCommitUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalCommitLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalCommitLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExpectedTotalCommitLimit(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpectedTotalCommitLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1446,14 +1446,14 @@ impl AppMemoryUsageLimitChangingEventArgs { pub fn OldLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NewLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1478,28 +1478,28 @@ impl AppResourceGroupBackgroundTaskReport { pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Trigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Trigger)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EntryPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EntryPoint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1524,14 +1524,14 @@ impl AppResourceGroupInfo { pub fn InstanceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsShared(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsShared)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1539,14 +1539,14 @@ impl AppResourceGroupInfo { pub fn GetBackgroundTaskReports(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBackgroundTaskReports)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetMemoryReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMemoryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1554,35 +1554,35 @@ impl AppResourceGroupInfo { pub fn GetProcessDiagnosticInfos(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProcessDiagnosticInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetStateReport(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStateReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartSuspendAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartSuspendAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartResumeAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartResumeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StartTerminateAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartTerminateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1610,7 +1610,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1624,7 +1624,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1638,7 +1638,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1652,7 +1652,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1666,7 +1666,7 @@ impl AppResourceGroupInfoWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecutionStateChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1677,7 +1677,7 @@ impl AppResourceGroupInfoWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1711,14 +1711,14 @@ impl AppResourceGroupInfoWatcherEventArgs { pub fn AppDiagnosticInfos(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDiagnosticInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppResourceGroupInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppResourceGroupInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1744,14 +1744,14 @@ impl AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { pub fn AppDiagnosticInfos(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppDiagnosticInfos)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppResourceGroupInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppResourceGroupInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1776,28 +1776,28 @@ impl AppResourceGroupMemoryReport { pub fn CommitUsageLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitUsageLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CommitUsageLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PrivateCommitUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrivateCommitUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalCommitUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalCommitUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1822,14 +1822,14 @@ impl AppResourceGroupStateReport { pub fn ExecutionState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnergyQuotaState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnergyQuotaState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1861,7 +1861,7 @@ impl AppUriHandlerHost { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1872,7 +1872,7 @@ impl AppUriHandlerHost { pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1882,7 +1882,7 @@ impl AppUriHandlerHost { } pub fn CreateInstance(name: &windows_core::HSTRING) -> windows_core::Result { Self::IAppUriHandlerHostFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1912,14 +1912,14 @@ impl AppUriHandlerRegistration { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1927,7 +1927,7 @@ impl AppUriHandlerRegistration { pub fn GetAppAddedHostsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppAddedHostsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1938,7 +1938,7 @@ impl AppUriHandlerRegistration { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetAppAddedHostsAsync)(windows_core::Interface::as_raw(this), hosts.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1946,7 +1946,7 @@ impl AppUriHandlerRegistration { pub fn GetAllHosts(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAllHosts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1961,7 +1961,7 @@ impl AppUriHandlerRegistration { pub fn PackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1986,27 +1986,27 @@ impl AppUriHandlerRegistrationManager { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetRegistration(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetRegistration)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IAppUriHandlerRegistrationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2015,13 +2015,13 @@ impl AppUriHandlerRegistrationManager { P0: windows_core::Param, { Self::IAppUriHandlerRegistrationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForPackage(packagefamilyname: &windows_core::HSTRING) -> windows_core::Result { Self::IAppUriHandlerRegistrationManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForPackage)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2030,7 +2030,7 @@ impl AppUriHandlerRegistrationManager { P0: windows_core::Param, { Self::IAppUriHandlerRegistrationManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForPackageForUser)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(packagefamilyname), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2079,7 +2079,7 @@ impl DispatcherQueue { pub fn CreateTimer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTimer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2089,7 +2089,7 @@ impl DispatcherQueue { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryEnqueue)(windows_core::Interface::as_raw(this), callback.param().abi(), &mut result__).map(|| result__) } } @@ -2099,7 +2099,7 @@ impl DispatcherQueue { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryEnqueueWithPriority)(windows_core::Interface::as_raw(this), priority, callback.param().abi(), &mut result__).map(|| result__) } } @@ -2109,7 +2109,7 @@ impl DispatcherQueue { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShutdownStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2123,7 +2123,7 @@ impl DispatcherQueue { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShutdownCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2134,13 +2134,13 @@ impl DispatcherQueue { pub fn HasThreadAccess(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasThreadAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetForCurrentThread() -> windows_core::Result { Self::IDispatcherQueueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentThread)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2170,20 +2170,20 @@ impl DispatcherQueueController { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShutdownQueueAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShutdownQueueAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateOnDedicatedThread() -> windows_core::Result { Self::IDispatcherQueueControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateOnDedicatedThread)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2213,7 +2213,7 @@ impl DispatcherQueueShutdownStartingEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2238,7 +2238,7 @@ impl DispatcherQueueTimer { pub fn Interval(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Interval)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2249,14 +2249,14 @@ impl DispatcherQueueTimer { pub fn IsRunning(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRunning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRepeating(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRepeating)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2278,7 +2278,7 @@ impl DispatcherQueueTimer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tick)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2316,7 +2316,7 @@ impl FolderLauncherOptions { pub fn ItemsToSelect(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemsToSelect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2324,7 +2324,7 @@ impl FolderLauncherOptions { pub fn DesiredRemainingView(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredRemainingView)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2350,61 +2350,61 @@ pub struct KnownUserProperties; impl KnownUserProperties { pub fn DisplayName() -> windows_core::Result { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn FirstName() -> windows_core::Result { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LastName() -> windows_core::Result { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ProviderName() -> windows_core::Result { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProviderName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AccountName() -> windows_core::Result { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GuestHost() -> windows_core::Result { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GuestHost)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PrincipalName() -> windows_core::Result { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrincipalName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn DomainName() -> windows_core::Result { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DomainName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SessionInitiationProtocolUri() -> windows_core::Result { Self::IKnownUserPropertiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionInitiationProtocolUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AgeEnforcementRegion() -> windows_core::Result { Self::IKnownUserPropertiesStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AgeEnforcementRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2430,7 +2430,7 @@ impl LaunchUriResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2438,7 +2438,7 @@ impl LaunchUriResult { pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2463,7 +2463,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFileAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2474,7 +2474,7 @@ impl Launcher { P1: windows_core::Param, { Self::ILauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFileWithOptionsAsync)(windows_core::Interface::as_raw(this), file.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2483,7 +2483,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2493,7 +2493,7 @@ impl Launcher { P1: windows_core::Param, { Self::ILauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriWithOptionsAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2503,7 +2503,7 @@ impl Launcher { P1: windows_core::Param, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriForResultsAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2515,7 +2515,7 @@ impl Launcher { P2: windows_core::Param, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriForResultsWithDataAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), options.param().abi(), inputdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2527,7 +2527,7 @@ impl Launcher { P2: windows_core::Param, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriWithDataAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), options.param().abi(), inputdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2536,7 +2536,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryUriSupportAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), launchquerysupporttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2545,7 +2545,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryUriSupportWithPackageFamilyNameAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), launchquerysupporttype, core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2555,7 +2555,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryFileSupportAsync)(windows_core::Interface::as_raw(this), file.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2565,28 +2565,28 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryFileSupportWithPackageFamilyNameAsync)(windows_core::Interface::as_raw(this), file.param().abi(), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindUriSchemeHandlersAsync(scheme: &windows_core::HSTRING) -> windows_core::Result>> { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindUriSchemeHandlersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(scheme), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindUriSchemeHandlersWithLaunchUriTypeAsync(scheme: &windows_core::HSTRING, launchquerysupporttype: LaunchQuerySupportType) -> windows_core::Result>> { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindUriSchemeHandlersWithLaunchUriTypeAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(scheme), launchquerysupporttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "ApplicationModel", feature = "Foundation_Collections"))] pub fn FindFileHandlersAsync(extension: &windows_core::HSTRING) -> windows_core::Result>> { Self::ILauncherStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindFileHandlersAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(extension), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2596,7 +2596,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFolderAsync)(windows_core::Interface::as_raw(this), folder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2607,7 +2607,7 @@ impl Launcher { P1: windows_core::Param, { Self::ILauncherStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFolderWithOptionsAsync)(windows_core::Interface::as_raw(this), folder.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2616,7 +2616,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryAppUriSupportAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2625,7 +2625,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryAppUriSupportWithPackageFamilyNameAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), core::mem::transmute_copy(packagefamilyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2635,7 +2635,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAppUriHandlersAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2645,7 +2645,7 @@ impl Launcher { P1: windows_core::Param, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2656,7 +2656,7 @@ impl Launcher { P2: windows_core::Param, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriWithOptionsForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), uri.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2669,7 +2669,7 @@ impl Launcher { P3: windows_core::Param, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriWithDataForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), uri.param().abi(), options.param().abi(), inputdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2680,7 +2680,7 @@ impl Launcher { P2: windows_core::Param, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriForResultsForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), uri.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2693,13 +2693,13 @@ impl Launcher { P3: windows_core::Param, { Self::ILauncherStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriForResultsWithDataForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), uri.param().abi(), options.param().abi(), inputdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn LaunchFolderPathAsync(path: &windows_core::HSTRING) -> windows_core::Result> { Self::ILauncherStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFolderPathAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(path), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2708,7 +2708,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFolderPathWithOptionsAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(path), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2717,7 +2717,7 @@ impl Launcher { P0: windows_core::Param, { Self::ILauncherStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFolderPathForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(path), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2727,7 +2727,7 @@ impl Launcher { P1: windows_core::Param, { Self::ILauncherStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchFolderPathWithOptionsForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(path), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2776,7 +2776,7 @@ impl LauncherOptions { pub fn TreatAsUntrusted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TreatAsUntrusted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2787,7 +2787,7 @@ impl LauncherOptions { pub fn DisplayApplicationPicker(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayApplicationPicker)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2798,14 +2798,14 @@ impl LauncherOptions { pub fn UI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreferredApplicationPackageFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredApplicationPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2816,7 +2816,7 @@ impl LauncherOptions { pub fn PreferredApplicationDisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredApplicationDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2827,7 +2827,7 @@ impl LauncherOptions { pub fn FallbackUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2841,7 +2841,7 @@ impl LauncherOptions { pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2852,7 +2852,7 @@ impl LauncherOptions { pub fn TargetApplicationPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TargetApplicationPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2864,7 +2864,7 @@ impl LauncherOptions { pub fn NeighboringFilesQuery(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringFilesQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2879,7 +2879,7 @@ impl LauncherOptions { pub fn IgnoreAppUriHandlers(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnoreAppUriHandlers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2890,7 +2890,7 @@ impl LauncherOptions { pub fn LimitPickerToCurrentAppAndAppUriHandlers(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LimitPickerToCurrentAppAndAppUriHandlers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2902,7 +2902,7 @@ impl LauncherOptions { pub fn DesiredRemainingView(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredRemainingView)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2932,7 +2932,7 @@ impl LauncherUIOptions { pub fn InvocationPoint(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvocationPoint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2946,7 +2946,7 @@ impl LauncherUIOptions { pub fn SelectionRect(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectionRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2961,7 +2961,7 @@ impl LauncherUIOptions { pub fn PreferredPlacement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredPlacement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2987,19 +2987,19 @@ pub struct MemoryManager; impl MemoryManager { pub fn AppMemoryUsage() -> windows_core::Result { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppMemoryUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AppMemoryUsageLimit() -> windows_core::Result { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppMemoryUsageLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AppMemoryUsageLevel() -> windows_core::Result { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppMemoryUsageLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -3008,7 +3008,7 @@ impl MemoryManager { P0: windows_core::Param>, { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppMemoryUsageIncreased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -3020,7 +3020,7 @@ impl MemoryManager { P0: windows_core::Param>, { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppMemoryUsageDecreased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -3032,7 +3032,7 @@ impl MemoryManager { P0: windows_core::Param>, { Self::IMemoryManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppMemoryUsageLimitChanging)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -3041,25 +3041,25 @@ impl MemoryManager { } pub fn GetAppMemoryReport() -> windows_core::Result { Self::IMemoryManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAppMemoryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetProcessMemoryReport() -> windows_core::Result { Self::IMemoryManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetProcessMemoryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TrySetAppMemoryUsageLimit(value: u64) -> windows_core::Result { Self::IMemoryManagerStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetAppMemoryUsageLimit)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) }) } pub fn ExpectedAppMemoryUsageLimit() -> windows_core::Result { Self::IMemoryManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpectedAppMemoryUsageLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -3091,7 +3091,7 @@ pub struct ProcessLauncher; impl ProcessLauncher { pub fn RunToCompletionAsync(filename: &windows_core::HSTRING, args: &windows_core::HSTRING) -> windows_core::Result> { Self::IProcessLauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunToCompletionAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filename), core::mem::transmute_copy(args), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3100,7 +3100,7 @@ impl ProcessLauncher { P0: windows_core::Param, { Self::IProcessLauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunToCompletionAsyncWithOptions)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(filename), core::mem::transmute_copy(args), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3129,7 +3129,7 @@ impl ProcessLauncherOptions { pub fn StandardInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StandardInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3145,7 +3145,7 @@ impl ProcessLauncherOptions { pub fn StandardOutput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StandardOutput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3161,7 +3161,7 @@ impl ProcessLauncherOptions { pub fn StandardError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StandardError)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3176,7 +3176,7 @@ impl ProcessLauncherOptions { pub fn WorkingDirectory(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkingDirectory)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3205,7 +3205,7 @@ impl ProcessLauncherResult { pub fn ExitCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExitCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3230,14 +3230,14 @@ impl ProcessMemoryReport { pub fn PrivateWorkingSetUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrivateWorkingSetUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TotalWorkingSetUsage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TotalWorkingSetUsage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3289,7 +3289,7 @@ impl RemoteLauncher { P1: windows_core::Param, { Self::IRemoteLauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriAsync)(windows_core::Interface::as_raw(this), remotesystemconnectionrequest.param().abi(), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3301,7 +3301,7 @@ impl RemoteLauncher { P2: windows_core::Param, { Self::IRemoteLauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriWithOptionsAsync)(windows_core::Interface::as_raw(this), remotesystemconnectionrequest.param().abi(), uri.param().abi(), options.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3314,7 +3314,7 @@ impl RemoteLauncher { P3: windows_core::Param, { Self::IRemoteLauncherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchUriWithDataAsync)(windows_core::Interface::as_raw(this), remotesystemconnectionrequest.param().abi(), uri.param().abi(), options.param().abi(), inputdata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3342,7 +3342,7 @@ impl RemoteLauncherOptions { pub fn FallbackUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FallbackUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3357,7 +3357,7 @@ impl RemoteLauncherOptions { pub fn PreferredAppIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredAppIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3384,7 +3384,7 @@ impl ShutdownManager { } pub fn IsPowerStateSupported(powerstate: PowerState) -> windows_core::Result { Self::IShutdownManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPowerStateSupported)(windows_core::Interface::as_raw(this), powerstate, &mut result__).map(|| result__) }) } @@ -3412,20 +3412,20 @@ pub struct TimeZoneSettings; impl TimeZoneSettings { pub fn CurrentTimeZoneDisplayName() -> windows_core::Result { Self::ITimeZoneSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentTimeZoneDisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn SupportedTimeZoneDisplayNames() -> windows_core::Result> { Self::ITimeZoneSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedTimeZoneDisplayNames)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CanChangeTimeZone() -> windows_core::Result { Self::ITimeZoneSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanChangeTimeZone)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -3434,7 +3434,7 @@ impl TimeZoneSettings { } pub fn AutoUpdateTimeZoneAsync(timeout: super::Foundation::TimeSpan) -> windows_core::Result> { Self::ITimeZoneSettingsStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoUpdateTimeZoneAsync)(windows_core::Interface::as_raw(this), timeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3460,28 +3460,28 @@ impl User { pub fn NonRoamableId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NonRoamableId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AuthenticationStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetPropertyAsync(&self, value: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertyAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3492,7 +3492,7 @@ impl User { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPropertiesAsync)(windows_core::Interface::as_raw(this), values.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3500,53 +3500,53 @@ impl User { pub fn GetPictureAsync(&self, desiredsize: UserPictureSize) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPictureAsync)(windows_core::Interface::as_raw(this), desiredsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CheckUserAgeConsentGroupAsync(&self, consentgroup: UserAgeConsentGroup) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CheckUserAgeConsentGroupAsync)(windows_core::Interface::as_raw(this), consentgroup, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateWatcher() -> windows_core::Result { Self::IUserStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> windows_core::Result>> { Self::IUserStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] pub fn FindAllAsyncByType(r#type: UserType) -> windows_core::Result>> { Self::IUserStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsyncByType)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsyncByTypeAndStatus)(windows_core::Interface::as_raw(this), r#type, status, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetFromId(nonroamableid: &windows_core::HSTRING) -> windows_core::Result { Self::IUserStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFromId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(nonroamableid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDefault() -> windows_core::Result { Self::IUserStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3603,28 +3603,28 @@ impl UserAuthenticationStatusChangingEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NewStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CurrentStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3649,7 +3649,7 @@ impl UserChangedEventArgs { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3657,7 +3657,7 @@ impl UserChangedEventArgs { pub fn ChangedPropertyKinds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangedPropertyKinds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3678,7 +3678,7 @@ pub struct UserDeviceAssociation; impl UserDeviceAssociation { pub fn FindUserFromDeviceId(deviceid: &windows_core::HSTRING) -> windows_core::Result { Self::IUserDeviceAssociationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindUserFromDeviceId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(deviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3687,7 +3687,7 @@ impl UserDeviceAssociation { P0: windows_core::Param>, { Self::IUserDeviceAssociationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserDeviceAssociationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -3711,21 +3711,21 @@ impl UserDeviceAssociationChangedEventArgs { pub fn DeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NewUser(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewUser)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OldUser(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldUser)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3757,7 +3757,7 @@ impl UserPicker { pub fn AllowGuestAccounts(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowGuestAccounts)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3768,7 +3768,7 @@ impl UserPicker { pub fn SuggestedSelectedUser(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuggestedSelectedUser)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3782,13 +3782,13 @@ impl UserPicker { pub fn PickSingleUserAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PickSingleUserAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSupported() -> windows_core::Result { Self::IUserPickerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -3818,7 +3818,7 @@ impl UserWatcher { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3836,7 +3836,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Added)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3850,7 +3850,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Removed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3864,7 +3864,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Updated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3878,7 +3878,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationStatusChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3892,7 +3892,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AuthenticationStatusChanging)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3906,7 +3906,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnumerationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3920,7 +3920,7 @@ impl UserWatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stopped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs index 57f3afe1d2..37133b80df 100644 --- a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs @@ -27,14 +27,14 @@ impl ScreenReaderPositionChangedEventArgs { pub fn ScreenPositionInRawPixels(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenPositionInRawPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsReadingText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadingText)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -66,7 +66,7 @@ impl ScreenReaderService { pub fn CurrentScreenReaderPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentScreenReaderPosition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -76,7 +76,7 @@ impl ScreenReaderService { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenReaderPositionChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs index 5a2087a089..1dd19bfc7f 100644 --- a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs @@ -31,8 +31,8 @@ pub struct IAccountsSettingsPaneCommandsRequestedEventArgs_Vtbl { pub Commands: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Popups")))] Commands: usize, - pub HeaderText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHeaderText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HeaderText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHeaderText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccountsSettingsPaneCommandsRequestedEventArgs2, IAccountsSettingsPaneCommandsRequestedEventArgs2_Vtbl, 0x362f7bad_4e37_4967_8c40_e78ee7a1e5bb); @@ -129,7 +129,7 @@ impl windows_core::RuntimeType for ISettingsCommandFactory { pub struct ISettingsCommandFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "UI_Popups")] - pub CreateSettingsCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSettingsCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] CreateSettingsCommand: usize, } @@ -288,7 +288,7 @@ impl AccountsSettingsPane { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountCommandsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -298,7 +298,7 @@ impl AccountsSettingsPane { } pub fn GetForCurrentView() -> windows_core::Result { Self::IAccountsSettingsPaneStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -307,13 +307,13 @@ impl AccountsSettingsPane { } pub fn ShowManageAccountsAsync() -> windows_core::Result { Self::IAccountsSettingsPaneStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowManageAccountsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ShowAddAccountAsync() -> windows_core::Result { Self::IAccountsSettingsPaneStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAddAccountAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -323,7 +323,7 @@ impl AccountsSettingsPane { P0: windows_core::Param, { Self::IAccountsSettingsPaneStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowManageAccountsForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -333,7 +333,7 @@ impl AccountsSettingsPane { P0: windows_core::Param, { Self::IAccountsSettingsPaneStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAddAccountForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -372,7 +372,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn WebAccountProviderCommands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccountProviderCommands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -380,7 +380,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn WebAccountCommands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccountCommands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -388,7 +388,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn CredentialCommands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CredentialCommands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -396,14 +396,14 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn Commands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Commands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HeaderText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -414,7 +414,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -422,7 +422,7 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -466,14 +466,14 @@ impl CredentialCommand { pub fn PasswordCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasswordCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CredentialDeleted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CredentialDeleted)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -483,7 +483,7 @@ impl CredentialCommand { P0: windows_core::Param, { Self::ICredentialCommandFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCredentialCommand)(windows_core::Interface::as_raw(this), passwordcredential.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -494,7 +494,7 @@ impl CredentialCommand { P1: windows_core::Param, { Self::ICredentialCommandFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCredentialCommandWithHandler)(windows_core::Interface::as_raw(this), passwordcredential.param().abi(), deleted.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -531,14 +531,14 @@ impl SettingsCommand { P1: windows_core::Param, { Self::ISettingsCommandFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSettingsCommand)(windows_core::Interface::as_raw(this), settingscommandid.param().abi(), core::mem::transmute_copy(label), handler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "UI_Popups")] pub fn AccountsCommand() -> windows_core::Result { Self::ISettingsCommandStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccountsCommand)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -546,7 +546,7 @@ impl SettingsCommand { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -559,7 +559,7 @@ impl SettingsCommand { pub fn Invoked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invoked)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -575,7 +575,7 @@ impl SettingsCommand { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -626,7 +626,7 @@ impl SettingsPane { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -638,7 +638,7 @@ impl SettingsPane { #[cfg(feature = "deprecated")] pub fn GetForCurrentView() -> windows_core::Result { Self::ISettingsPaneStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -649,7 +649,7 @@ impl SettingsPane { #[cfg(feature = "deprecated")] pub fn Edge() -> windows_core::Result { Self::ISettingsPaneStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Edge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -685,7 +685,7 @@ impl SettingsPaneCommandsRequest { pub fn ApplicationCommands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationCommands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -715,7 +715,7 @@ impl SettingsPaneCommandsRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -742,21 +742,21 @@ impl WebAccountCommand { pub fn WebAccount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccount)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Invoked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invoked)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Actions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Actions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -767,7 +767,7 @@ impl WebAccountCommand { P1: windows_core::Param, { Self::IWebAccountCommandFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWebAccountCommand)(windows_core::Interface::as_raw(this), webaccount.param().abi(), invoked.param().abi(), actions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -795,7 +795,7 @@ impl WebAccountInvokedArgs { pub fn Action(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Action)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -819,14 +819,14 @@ impl WebAccountProviderCommand { pub fn WebAccountProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAccountProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Invoked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invoked)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -837,7 +837,7 @@ impl WebAccountProviderCommand { P1: windows_core::Param, { Self::IWebAccountProviderCommandFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWebAccountProviderCommand)(windows_core::Interface::as_raw(this), webaccountprovider.param().abi(), invoked.param().abi(), &mut result__).and_then(|| windows_core::Type::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 08a5c26f72..86c6967040 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs @@ -31,7 +31,7 @@ impl CompositorController { pub fn Compositor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -42,7 +42,7 @@ impl CompositorController { pub fn EnsurePreviousCommitCompletedAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnsurePreviousCommitCompletedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -52,7 +52,7 @@ impl CompositorController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommitNeeded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| 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 1b2669d9fb..9d44052720 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs @@ -27,7 +27,7 @@ impl DesktopWindowTarget { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -35,14 +35,14 @@ impl DesktopWindowTarget { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -60,7 +60,7 @@ impl DesktopWindowTarget { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -100,14 +100,14 @@ impl DesktopWindowTarget { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -122,7 +122,7 @@ impl DesktopWindowTarget { pub fn Root(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Root)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -136,7 +136,7 @@ impl DesktopWindowTarget { pub fn IsTopmost(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTopmost)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 931bb47c4a..8c7355ed9d 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs @@ -82,7 +82,7 @@ impl CompositionDebugSettings { pub fn HeatMaps(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeatMaps)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -91,7 +91,7 @@ impl CompositionDebugSettings { P0: windows_core::Param, { Self::ICompositionDebugSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetSettings)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::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 262bca0c5c..51d9c75919 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs @@ -50,7 +50,7 @@ impl SceneLightingEffect { pub fn Name(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -62,7 +62,7 @@ impl SceneLightingEffect { pub fn AmbientAmount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AmbientAmount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -73,7 +73,7 @@ impl SceneLightingEffect { pub fn DiffuseAmount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DiffuseAmount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -85,7 +85,7 @@ impl SceneLightingEffect { pub fn NormalMapSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalMapSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -100,7 +100,7 @@ impl SceneLightingEffect { pub fn SpecularAmount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpecularAmount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -111,7 +111,7 @@ impl SceneLightingEffect { pub fn SpecularShine(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpecularShine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -122,7 +122,7 @@ impl SceneLightingEffect { pub fn ReflectanceModel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReflectanceModel)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 87eb28bbd2..7fbeb05249 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs @@ -23,7 +23,7 @@ windows_core::imp::define_interface!(ICompositionInteractionSource, IComposition impl std::ops::Deref for ICompositionInteractionSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionInteractionSource, windows_core::IUnknown, windows_core::IInspectable); @@ -392,7 +392,7 @@ windows_core::imp::define_interface!(IInteractionTrackerOwner, IInteractionTrack impl std::ops::Deref for IInteractionTrackerOwner { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInteractionTrackerOwner, windows_core::IUnknown, windows_core::IInspectable); @@ -668,7 +668,7 @@ impl CompositionConditionalValue { pub fn Condition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Condition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -682,7 +682,7 @@ impl CompositionConditionalValue { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -698,14 +698,14 @@ impl CompositionConditionalValue { P0: windows_core::Param, { Self::ICompositionConditionalValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -713,14 +713,14 @@ impl CompositionConditionalValue { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -738,7 +738,7 @@ impl CompositionConditionalValue { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -749,7 +749,7 @@ impl CompositionConditionalValue { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -778,14 +778,14 @@ impl CompositionConditionalValue { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -836,7 +836,7 @@ impl CompositionInteractionSourceCollection { pub fn Count(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Count)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -861,7 +861,7 @@ impl CompositionInteractionSourceCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -869,14 +869,14 @@ impl CompositionInteractionSourceCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -894,7 +894,7 @@ impl CompositionInteractionSourceCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -905,7 +905,7 @@ impl CompositionInteractionSourceCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -934,14 +934,14 @@ impl CompositionInteractionSourceCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -957,7 +957,7 @@ impl CompositionInteractionSourceCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1010,7 +1010,7 @@ impl InteractionSourceConfiguration { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1018,14 +1018,14 @@ impl InteractionSourceConfiguration { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1043,7 +1043,7 @@ impl InteractionSourceConfiguration { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1054,7 +1054,7 @@ impl InteractionSourceConfiguration { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1083,14 +1083,14 @@ impl InteractionSourceConfiguration { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1105,7 +1105,7 @@ impl InteractionSourceConfiguration { pub fn PositionXSourceMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionXSourceMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1116,7 +1116,7 @@ impl InteractionSourceConfiguration { pub fn PositionYSourceMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionYSourceMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1127,7 +1127,7 @@ impl InteractionSourceConfiguration { pub fn ScaleSourceMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaleSourceMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1168,7 +1168,7 @@ impl InteractionTracker { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1176,14 +1176,14 @@ impl InteractionTracker { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1201,7 +1201,7 @@ impl InteractionTracker { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1212,7 +1212,7 @@ impl InteractionTracker { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1241,14 +1241,14 @@ impl InteractionTracker { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1263,14 +1263,14 @@ impl InteractionTracker { pub fn InteractionSources(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSources)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPositionRoundingSuggested(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPositionRoundingSuggested)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1278,7 +1278,7 @@ impl InteractionTracker { pub fn MaxPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1290,7 +1290,7 @@ impl InteractionTracker { pub fn MaxScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1302,7 +1302,7 @@ impl InteractionTracker { pub fn MinPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1314,7 +1314,7 @@ impl InteractionTracker { pub fn MinScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1326,21 +1326,21 @@ impl InteractionTracker { pub fn NaturalRestingPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalRestingPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NaturalRestingScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalRestingScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Owner(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Owner)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1348,7 +1348,7 @@ impl InteractionTracker { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1356,7 +1356,7 @@ impl InteractionTracker { pub fn PositionInertiaDecayRate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionInertiaDecayRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1372,21 +1372,21 @@ impl InteractionTracker { pub fn PositionVelocityInPixelsPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionVelocityInPixelsPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Scale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScaleInertiaDecayRate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaleInertiaDecayRate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1400,7 +1400,7 @@ impl InteractionTracker { pub fn ScaleVelocityInPercentPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaleVelocityInPercentPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1440,7 +1440,7 @@ impl InteractionTracker { pub fn TryUpdatePosition(&self, value: super::super::super::Foundation::Numerics::Vector3) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdatePosition)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -1448,7 +1448,7 @@ impl InteractionTracker { pub fn TryUpdatePositionBy(&self, amount: super::super::super::Foundation::Numerics::Vector3) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdatePositionBy)(windows_core::Interface::as_raw(this), amount, &mut result__).map(|| result__) } } @@ -1458,7 +1458,7 @@ impl InteractionTracker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdatePositionWithAnimation)(windows_core::Interface::as_raw(this), animation.param().abi(), &mut result__).map(|| result__) } } @@ -1466,7 +1466,7 @@ impl InteractionTracker { pub fn TryUpdatePositionWithAdditionalVelocity(&self, velocityinpixelspersecond: super::super::super::Foundation::Numerics::Vector3) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdatePositionWithAdditionalVelocity)(windows_core::Interface::as_raw(this), velocityinpixelspersecond, &mut result__).map(|| result__) } } @@ -1474,7 +1474,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdateScale)(windows_core::Interface::as_raw(this), value, centerpoint, &mut result__).map(|| result__) } } @@ -1485,7 +1485,7 @@ impl InteractionTracker { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdateScaleWithAnimation)(windows_core::Interface::as_raw(this), animation.param().abi(), centerpoint, &mut result__).map(|| result__) } } @@ -1493,7 +1493,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdateScaleWithAdditionalVelocity)(windows_core::Interface::as_raw(this), velocityinpercentpersecond, centerpoint, &mut result__).map(|| result__) } } @@ -1525,7 +1525,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdatePositionWithOption)(windows_core::Interface::as_raw(this), value, option, &mut result__).map(|| result__) } } @@ -1533,14 +1533,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdatePositionByWithOption)(windows_core::Interface::as_raw(this), amount, option, &mut result__).map(|| result__) } } pub fn IsInertiaFromImpulse(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInertiaFromImpulse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1548,7 +1548,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUpdatePositionWithOption)(windows_core::Interface::as_raw(this), value, option, posupdateoption, &mut result__).map(|| result__) } } @@ -1557,7 +1557,7 @@ impl InteractionTracker { P0: windows_core::Param, { Self::IInteractionTrackerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1567,7 +1567,7 @@ impl InteractionTracker { P1: windows_core::Param, { Self::IInteractionTrackerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithOwner)(windows_core::Interface::as_raw(this), compositor.param().abi(), owner.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1584,7 +1584,7 @@ impl InteractionTracker { P1: windows_core::Param, { Self::IInteractionTrackerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBindingMode)(windows_core::Interface::as_raw(this), boundtracker1.param().abi(), boundtracker2.param().abi(), &mut result__).map(|| result__) }) } @@ -1619,14 +1619,14 @@ impl InteractionTrackerCustomAnimationStateEnteredArgs { pub fn RequestId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsFromBinding(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFromBinding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1651,14 +1651,14 @@ impl InteractionTrackerIdleStateEnteredArgs { pub fn RequestId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsFromBinding(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFromBinding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1695,7 +1695,7 @@ impl InteractionTrackerInertiaModifier { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1703,14 +1703,14 @@ impl InteractionTrackerInertiaModifier { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1728,7 +1728,7 @@ impl InteractionTrackerInertiaModifier { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1739,7 +1739,7 @@ impl InteractionTrackerInertiaModifier { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1768,14 +1768,14 @@ impl InteractionTrackerInertiaModifier { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1820,7 +1820,7 @@ impl InteractionTrackerInertiaMotion { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1828,14 +1828,14 @@ impl InteractionTrackerInertiaMotion { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1853,7 +1853,7 @@ impl InteractionTrackerInertiaMotion { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1864,7 +1864,7 @@ impl InteractionTrackerInertiaMotion { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1893,14 +1893,14 @@ impl InteractionTrackerInertiaMotion { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1915,7 +1915,7 @@ impl InteractionTrackerInertiaMotion { pub fn Condition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Condition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1929,7 +1929,7 @@ impl InteractionTrackerInertiaMotion { pub fn Motion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Motion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1945,7 +1945,7 @@ impl InteractionTrackerInertiaMotion { P0: windows_core::Param, { Self::IInteractionTrackerInertiaMotionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1987,7 +1987,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1995,14 +1995,14 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2020,7 +2020,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2031,7 +2031,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2060,14 +2060,14 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2082,7 +2082,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn Condition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Condition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2096,7 +2096,7 @@ impl InteractionTrackerInertiaNaturalMotion { pub fn NaturalMotion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalMotion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2112,7 +2112,7 @@ impl InteractionTrackerInertiaNaturalMotion { P0: windows_core::Param, { Self::IInteractionTrackerInertiaNaturalMotionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2154,7 +2154,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2162,14 +2162,14 @@ impl InteractionTrackerInertiaRestingValue { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2187,7 +2187,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2198,7 +2198,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2227,14 +2227,14 @@ impl InteractionTrackerInertiaRestingValue { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2249,7 +2249,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn Condition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Condition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2263,7 +2263,7 @@ impl InteractionTrackerInertiaRestingValue { pub fn RestingValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RestingValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2279,7 +2279,7 @@ impl InteractionTrackerInertiaRestingValue { P0: windows_core::Param, { Self::IInteractionTrackerInertiaRestingValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2310,14 +2310,14 @@ impl InteractionTrackerInertiaStateEnteredArgs { pub fn ModifiedRestingPosition(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModifiedRestingPosition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ModifiedRestingScale(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModifiedRestingScale)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2325,14 +2325,14 @@ impl InteractionTrackerInertiaStateEnteredArgs { pub fn NaturalRestingPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalRestingPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NaturalRestingScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalRestingScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2340,35 +2340,35 @@ impl InteractionTrackerInertiaStateEnteredArgs { pub fn PositionVelocityInPixelsPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionVelocityInPixelsPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScaleVelocityInPercentPerSecond(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaleVelocityInPercentPerSecond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInertiaFromImpulse(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInertiaFromImpulse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsFromBinding(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFromBinding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2393,14 +2393,14 @@ impl InteractionTrackerInteractingStateEnteredArgs { pub fn RequestId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsFromBinding(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFromBinding)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2425,7 +2425,7 @@ impl InteractionTrackerRequestIgnoredArgs { pub fn RequestId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2451,21 +2451,21 @@ impl InteractionTrackerValuesChangedArgs { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Scale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2502,7 +2502,7 @@ impl InteractionTrackerVector2InertiaModifier { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2510,14 +2510,14 @@ impl InteractionTrackerVector2InertiaModifier { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2535,7 +2535,7 @@ impl InteractionTrackerVector2InertiaModifier { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2546,7 +2546,7 @@ impl InteractionTrackerVector2InertiaModifier { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2575,14 +2575,14 @@ impl InteractionTrackerVector2InertiaModifier { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2627,7 +2627,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2635,14 +2635,14 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2660,7 +2660,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2671,7 +2671,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2700,14 +2700,14 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2722,7 +2722,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn Condition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Condition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2736,7 +2736,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { pub fn NaturalMotion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NaturalMotion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2752,7 +2752,7 @@ impl InteractionTrackerVector2InertiaNaturalMotion { P0: windows_core::Param, { Self::IInteractionTrackerVector2InertiaNaturalMotionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2794,7 +2794,7 @@ impl VisualInteractionSource { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2802,14 +2802,14 @@ impl VisualInteractionSource { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2827,7 +2827,7 @@ impl VisualInteractionSource { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2838,7 +2838,7 @@ impl VisualInteractionSource { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2867,14 +2867,14 @@ impl VisualInteractionSource { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2889,7 +2889,7 @@ impl VisualInteractionSource { pub fn IsPositionXRailsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPositionXRailsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2900,7 +2900,7 @@ impl VisualInteractionSource { pub fn IsPositionYRailsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPositionYRailsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2911,7 +2911,7 @@ impl VisualInteractionSource { pub fn ManipulationRedirectionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationRedirectionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2922,7 +2922,7 @@ impl VisualInteractionSource { pub fn PositionXChainingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionXChainingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2933,7 +2933,7 @@ impl VisualInteractionSource { pub fn PositionXSourceMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionXSourceMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2944,7 +2944,7 @@ impl VisualInteractionSource { pub fn PositionYChainingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionYChainingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2955,7 +2955,7 @@ impl VisualInteractionSource { pub fn PositionYSourceMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionYSourceMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2966,7 +2966,7 @@ impl VisualInteractionSource { pub fn ScaleChainingMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaleChainingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2977,7 +2977,7 @@ impl VisualInteractionSource { pub fn ScaleSourceMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaleSourceMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2988,7 +2988,7 @@ impl VisualInteractionSource { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3004,14 +3004,14 @@ impl VisualInteractionSource { pub fn DeltaPosition(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeltaPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeltaScale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeltaScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3019,7 +3019,7 @@ impl VisualInteractionSource { pub fn Position(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3027,21 +3027,21 @@ impl VisualInteractionSource { pub fn PositionVelocity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScaleVelocity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScaleVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3088,7 +3088,7 @@ impl VisualInteractionSource { pub fn PointerWheelConfig(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerWheelConfig)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3097,7 +3097,7 @@ impl VisualInteractionSource { P0: windows_core::Param, { Self::IVisualInteractionSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3106,7 +3106,7 @@ impl VisualInteractionSource { P0: windows_core::Param, { Self::IVisualInteractionSourceStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIVisualElement)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::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 4d0aa70208..c9da9f67b5 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs @@ -392,7 +392,7 @@ impl SceneBoundingBox { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -400,14 +400,14 @@ impl SceneBoundingBox { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -425,7 +425,7 @@ impl SceneBoundingBox { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -436,7 +436,7 @@ impl SceneBoundingBox { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -465,14 +465,14 @@ impl SceneBoundingBox { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -488,7 +488,7 @@ impl SceneBoundingBox { pub fn Center(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Center)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -496,7 +496,7 @@ impl SceneBoundingBox { pub fn Extents(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Extents)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -504,7 +504,7 @@ impl SceneBoundingBox { pub fn Max(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Max)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -512,7 +512,7 @@ impl SceneBoundingBox { pub fn Min(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Min)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -520,7 +520,7 @@ impl SceneBoundingBox { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -557,7 +557,7 @@ impl SceneComponent { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -565,14 +565,14 @@ impl SceneComponent { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -590,7 +590,7 @@ impl SceneComponent { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -601,7 +601,7 @@ impl SceneComponent { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -630,14 +630,14 @@ impl SceneComponent { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -652,7 +652,7 @@ impl SceneComponent { pub fn ComponentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComponentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -693,7 +693,7 @@ impl SceneComponentCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -701,14 +701,14 @@ impl SceneComponentCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -726,7 +726,7 @@ impl SceneComponentCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -737,7 +737,7 @@ impl SceneComponentCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -766,14 +766,14 @@ impl SceneComponentCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -789,7 +789,7 @@ impl SceneComponentCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -797,7 +797,7 @@ impl SceneComponentCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -805,7 +805,7 @@ impl SceneComponentCollection { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -813,7 +813,7 @@ impl SceneComponentCollection { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -824,7 +824,7 @@ impl SceneComponentCollection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -871,7 +871,7 @@ impl SceneComponentCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -934,7 +934,7 @@ impl SceneMaterial { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -942,14 +942,14 @@ impl SceneMaterial { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -967,7 +967,7 @@ impl SceneMaterial { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -978,7 +978,7 @@ impl SceneMaterial { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1007,14 +1007,14 @@ impl SceneMaterial { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1059,7 +1059,7 @@ impl SceneMaterialInput { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1067,14 +1067,14 @@ impl SceneMaterialInput { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1092,7 +1092,7 @@ impl SceneMaterialInput { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1103,7 +1103,7 @@ impl SceneMaterialInput { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1132,14 +1132,14 @@ impl SceneMaterialInput { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1184,7 +1184,7 @@ impl SceneMesh { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1192,14 +1192,14 @@ impl SceneMesh { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1217,7 +1217,7 @@ impl SceneMesh { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1228,7 +1228,7 @@ impl SceneMesh { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1257,14 +1257,14 @@ impl SceneMesh { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1279,7 +1279,7 @@ impl SceneMesh { pub fn Bounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bounds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1287,7 +1287,7 @@ impl SceneMesh { pub fn PrimitiveTopology(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimitiveTopology)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1309,7 +1309,7 @@ impl SceneMesh { P0: windows_core::Param, { Self::ISceneMeshStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1352,7 +1352,7 @@ impl SceneMeshMaterialAttributeMap { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1360,14 +1360,14 @@ impl SceneMeshMaterialAttributeMap { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1385,7 +1385,7 @@ impl SceneMeshMaterialAttributeMap { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1396,7 +1396,7 @@ impl SceneMeshMaterialAttributeMap { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1425,14 +1425,14 @@ impl SceneMeshMaterialAttributeMap { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1448,7 +1448,7 @@ impl SceneMeshMaterialAttributeMap { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1456,7 +1456,7 @@ impl SceneMeshMaterialAttributeMap { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -1464,7 +1464,7 @@ impl SceneMeshMaterialAttributeMap { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1472,7 +1472,7 @@ impl SceneMeshMaterialAttributeMap { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -1480,7 +1480,7 @@ impl SceneMeshMaterialAttributeMap { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1488,7 +1488,7 @@ impl SceneMeshMaterialAttributeMap { pub fn Insert(&self, key: &windows_core::HSTRING, value: SceneAttributeSemantic) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value, &mut result__).map(|| result__) } } @@ -1551,7 +1551,7 @@ impl SceneMeshRendererComponent { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1559,14 +1559,14 @@ impl SceneMeshRendererComponent { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1584,7 +1584,7 @@ impl SceneMeshRendererComponent { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1595,7 +1595,7 @@ impl SceneMeshRendererComponent { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1624,14 +1624,14 @@ impl SceneMeshRendererComponent { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1646,14 +1646,14 @@ impl SceneMeshRendererComponent { pub fn ComponentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComponentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Material(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Material)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1667,7 +1667,7 @@ impl SceneMeshRendererComponent { pub fn Mesh(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mesh)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1681,7 +1681,7 @@ impl SceneMeshRendererComponent { pub fn UVMappings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UVMappings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1690,7 +1690,7 @@ impl SceneMeshRendererComponent { P0: windows_core::Param, { Self::ISceneMeshRendererComponentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1732,7 +1732,7 @@ impl SceneMetallicRoughnessMaterial { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1740,14 +1740,14 @@ impl SceneMetallicRoughnessMaterial { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1765,7 +1765,7 @@ impl SceneMetallicRoughnessMaterial { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1776,7 +1776,7 @@ impl SceneMetallicRoughnessMaterial { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1805,14 +1805,14 @@ impl SceneMetallicRoughnessMaterial { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1827,7 +1827,7 @@ impl SceneMetallicRoughnessMaterial { pub fn BaseColorInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseColorInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1842,7 +1842,7 @@ impl SceneMetallicRoughnessMaterial { pub fn BaseColorFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseColorFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1854,7 +1854,7 @@ impl SceneMetallicRoughnessMaterial { pub fn MetallicFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MetallicFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1865,7 +1865,7 @@ impl SceneMetallicRoughnessMaterial { pub fn MetallicRoughnessInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MetallicRoughnessInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1879,7 +1879,7 @@ impl SceneMetallicRoughnessMaterial { pub fn RoughnessFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoughnessFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1892,14 +1892,14 @@ impl SceneMetallicRoughnessMaterial { P0: windows_core::Param, { Self::ISceneMetallicRoughnessMaterialStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn AlphaCutoff(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlphaCutoff)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1910,7 +1910,7 @@ impl SceneMetallicRoughnessMaterial { pub fn AlphaMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1921,7 +1921,7 @@ impl SceneMetallicRoughnessMaterial { pub fn EmissiveInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmissiveInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1936,7 +1936,7 @@ impl SceneMetallicRoughnessMaterial { pub fn EmissiveFactor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmissiveFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1948,7 +1948,7 @@ impl SceneMetallicRoughnessMaterial { pub fn IsDoubleSided(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleSided)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1959,7 +1959,7 @@ impl SceneMetallicRoughnessMaterial { pub fn NormalInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1973,7 +1973,7 @@ impl SceneMetallicRoughnessMaterial { pub fn NormalScale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1984,7 +1984,7 @@ impl SceneMetallicRoughnessMaterial { pub fn OcclusionInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OcclusionInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1998,7 +1998,7 @@ impl SceneMetallicRoughnessMaterial { pub fn OcclusionStrength(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OcclusionStrength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2044,7 +2044,7 @@ impl SceneModelTransform { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2052,14 +2052,14 @@ impl SceneModelTransform { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2077,7 +2077,7 @@ impl SceneModelTransform { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2088,7 +2088,7 @@ impl SceneModelTransform { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2117,14 +2117,14 @@ impl SceneModelTransform { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2140,7 +2140,7 @@ impl SceneModelTransform { pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2152,7 +2152,7 @@ impl SceneModelTransform { pub fn RotationAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2163,7 +2163,7 @@ impl SceneModelTransform { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2175,7 +2175,7 @@ impl SceneModelTransform { pub fn RotationAxis(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAxis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2188,7 +2188,7 @@ impl SceneModelTransform { pub fn Scale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2201,7 +2201,7 @@ impl SceneModelTransform { pub fn Translation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Translation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2243,7 +2243,7 @@ impl SceneNode { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2251,14 +2251,14 @@ impl SceneNode { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2276,7 +2276,7 @@ impl SceneNode { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2287,7 +2287,7 @@ impl SceneNode { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2316,14 +2316,14 @@ impl SceneNode { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2339,7 +2339,7 @@ impl SceneNode { pub fn Children(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2347,28 +2347,28 @@ impl SceneNode { pub fn Components(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Components)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Transform(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Transform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FindFirstComponentOfType(&self, value: SceneComponentType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindFirstComponentOfType)(windows_core::Interface::as_raw(this), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2377,7 +2377,7 @@ impl SceneNode { P0: windows_core::Param, { Self::ISceneNodeStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2423,7 +2423,7 @@ impl SceneNodeCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2431,14 +2431,14 @@ impl SceneNodeCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2456,7 +2456,7 @@ impl SceneNodeCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2467,7 +2467,7 @@ impl SceneNodeCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2496,14 +2496,14 @@ impl SceneNodeCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2519,7 +2519,7 @@ impl SceneNodeCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2527,7 +2527,7 @@ impl SceneNodeCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2535,7 +2535,7 @@ impl SceneNodeCollection { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2543,7 +2543,7 @@ impl SceneNodeCollection { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2554,7 +2554,7 @@ impl SceneNodeCollection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -2601,7 +2601,7 @@ impl SceneNodeCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -2664,7 +2664,7 @@ impl SceneObject { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2672,14 +2672,14 @@ impl SceneObject { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2697,7 +2697,7 @@ impl SceneObject { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2708,7 +2708,7 @@ impl SceneObject { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2737,14 +2737,14 @@ impl SceneObject { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2789,7 +2789,7 @@ impl ScenePbrMaterial { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2797,14 +2797,14 @@ impl ScenePbrMaterial { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2822,7 +2822,7 @@ impl ScenePbrMaterial { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2833,7 +2833,7 @@ impl ScenePbrMaterial { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2862,14 +2862,14 @@ impl ScenePbrMaterial { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2884,7 +2884,7 @@ impl ScenePbrMaterial { pub fn AlphaCutoff(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlphaCutoff)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2895,7 +2895,7 @@ impl ScenePbrMaterial { pub fn AlphaMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2906,7 +2906,7 @@ impl ScenePbrMaterial { pub fn EmissiveInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmissiveInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2921,7 +2921,7 @@ impl ScenePbrMaterial { pub fn EmissiveFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EmissiveFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2933,7 +2933,7 @@ impl ScenePbrMaterial { pub fn IsDoubleSided(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDoubleSided)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2944,7 +2944,7 @@ impl ScenePbrMaterial { pub fn NormalInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2958,7 +2958,7 @@ impl ScenePbrMaterial { pub fn NormalScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2969,7 +2969,7 @@ impl ScenePbrMaterial { pub fn OcclusionInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OcclusionInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2983,7 +2983,7 @@ impl ScenePbrMaterial { pub fn OcclusionStrength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OcclusionStrength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3024,7 +3024,7 @@ impl SceneRendererComponent { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3032,14 +3032,14 @@ impl SceneRendererComponent { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3057,7 +3057,7 @@ impl SceneRendererComponent { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3068,7 +3068,7 @@ impl SceneRendererComponent { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3097,14 +3097,14 @@ impl SceneRendererComponent { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3119,7 +3119,7 @@ impl SceneRendererComponent { pub fn ComponentType(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ComponentType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3156,7 +3156,7 @@ impl SceneSurfaceMaterialInput { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3164,14 +3164,14 @@ impl SceneSurfaceMaterialInput { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3189,7 +3189,7 @@ impl SceneSurfaceMaterialInput { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3200,7 +3200,7 @@ impl SceneSurfaceMaterialInput { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3229,14 +3229,14 @@ impl SceneSurfaceMaterialInput { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3251,7 +3251,7 @@ impl SceneSurfaceMaterialInput { pub fn BitmapInterpolationMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapInterpolationMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3262,7 +3262,7 @@ impl SceneSurfaceMaterialInput { pub fn Surface(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Surface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3276,7 +3276,7 @@ impl SceneSurfaceMaterialInput { pub fn WrappingUMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WrappingUMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3287,7 +3287,7 @@ impl SceneSurfaceMaterialInput { pub fn WrappingVMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WrappingVMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3300,7 +3300,7 @@ impl SceneSurfaceMaterialInput { P0: windows_core::Param, { Self::ISceneSurfaceMaterialInputStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3342,7 +3342,7 @@ impl SceneVisual { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3350,14 +3350,14 @@ impl SceneVisual { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3375,7 +3375,7 @@ impl SceneVisual { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3386,7 +3386,7 @@ impl SceneVisual { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3415,14 +3415,14 @@ impl SceneVisual { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3437,14 +3437,14 @@ impl SceneVisual { pub fn Children(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Root(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Root)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3460,7 +3460,7 @@ impl SceneVisual { P0: windows_core::Param, { Self::ISceneVisualStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3468,7 +3468,7 @@ impl SceneVisual { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3480,7 +3480,7 @@ impl SceneVisual { pub fn BackfaceVisibility(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackfaceVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3491,7 +3491,7 @@ impl SceneVisual { pub fn BorderMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BorderMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3503,7 +3503,7 @@ impl SceneVisual { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3515,7 +3515,7 @@ impl SceneVisual { pub fn Clip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3529,7 +3529,7 @@ impl SceneVisual { pub fn CompositeMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositeMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3540,7 +3540,7 @@ impl SceneVisual { pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3552,7 +3552,7 @@ impl SceneVisual { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3564,7 +3564,7 @@ impl SceneVisual { pub fn Opacity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3576,7 +3576,7 @@ impl SceneVisual { pub fn Orientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3588,14 +3588,14 @@ impl SceneVisual { pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3606,7 +3606,7 @@ impl SceneVisual { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3618,7 +3618,7 @@ impl SceneVisual { pub fn RotationAxis(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAxis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3631,7 +3631,7 @@ impl SceneVisual { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3644,7 +3644,7 @@ impl SceneVisual { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3657,7 +3657,7 @@ impl SceneVisual { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3669,7 +3669,7 @@ impl SceneVisual { pub fn ParentForTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentForTransform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3684,7 +3684,7 @@ impl SceneVisual { pub fn RelativeOffsetAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeOffsetAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3697,7 +3697,7 @@ impl SceneVisual { pub fn RelativeSizeAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeSizeAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3709,7 +3709,7 @@ impl SceneVisual { pub fn IsHitTestVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHitTestVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3720,7 +3720,7 @@ impl SceneVisual { pub fn IsPixelSnappingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Composition/impl.rs b/crates/libs/windows/src/Windows/UI/Composition/impl.rs index f87ed6d1db..8f91f1d4a6 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/impl.rs @@ -6,7 +6,7 @@ impl windows_core::RuntimeName for IAnimationObject { } impl IAnimationObject_Vtbl { pub const fn new, Impl: IAnimationObject_Impl, const OFFSET: isize>() -> IAnimationObject_Vtbl { - unsafe extern "system" fn PopulatePropertyInfo, Impl: IAnimationObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, propertyinfo: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PopulatePropertyInfo, Impl: IAnimationObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, propertyinfo: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAnimationObject_Impl::PopulatePropertyInfo(this, core::mem::transmute(&propertyname), windows_core::from_raw_borrowed(&propertyinfo)).into() diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index d192468fb1..f4b5ecf06f 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -60,7 +60,7 @@ windows_core::imp::define_interface!(IAnimationObject, IAnimationObject_Vtbl, 0x impl std::ops::Deref for IAnimationObject { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAnimationObject, windows_core::IUnknown, windows_core::IInspectable); @@ -79,7 +79,7 @@ impl windows_core::RuntimeType for IAnimationObject { #[repr(C)] pub struct IAnimationObject_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PopulatePropertyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PopulatePropertyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAnimationPropertyInfo, IAnimationPropertyInfo_Vtbl, 0xf4716f05_ed77_4e3c_b328_5c3985b3738f); impl windows_core::RuntimeType for IAnimationPropertyInfo { @@ -99,7 +99,7 @@ impl windows_core::RuntimeType for IAnimationPropertyInfo2 { pub struct IAnimationPropertyInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetResolvedCompositionObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetResolvedCompositionObjectProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetResolvedCompositionObjectProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackEasingFunction, IBackEasingFunction_Vtbl, 0xb8560da4_5e3c_545d_b263_7987a2bd27cb); impl windows_core::RuntimeType for IBackEasingFunction { @@ -196,32 +196,32 @@ impl windows_core::RuntimeType for ICompositionAnimation { pub struct ICompositionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ClearAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ClearParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetColorParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Color) -> windows_core::HRESULT, + pub ClearParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetColorParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Color) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Numerics")] - pub SetMatrix3x2Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Matrix3x2) -> windows_core::HRESULT, + pub SetMatrix3x2Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Matrix3x2) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] SetMatrix3x2Parameter: usize, #[cfg(feature = "Foundation_Numerics")] - pub SetMatrix4x4Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Matrix4x4) -> windows_core::HRESULT, + pub SetMatrix4x4Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Matrix4x4) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] SetMatrix4x4Parameter: usize, #[cfg(feature = "Foundation_Numerics")] - pub SetQuaternionParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Quaternion) -> windows_core::HRESULT, + pub SetQuaternionParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Quaternion) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] SetQuaternionParameter: usize, - pub SetReferenceParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetScalarParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f32) -> windows_core::HRESULT, + pub SetReferenceParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetScalarParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f32) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Numerics")] - pub SetVector2Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Vector2) -> windows_core::HRESULT, + pub SetVector2Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Vector2) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] SetVector2Parameter: usize, #[cfg(feature = "Foundation_Numerics")] - pub SetVector3Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Vector3) -> windows_core::HRESULT, + pub SetVector3Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Vector3) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] SetVector3Parameter: usize, #[cfg(feature = "Foundation_Numerics")] - pub SetVector4Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Vector4) -> windows_core::HRESULT, + pub SetVector4Parameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Vector4) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] SetVector4Parameter: usize, } @@ -232,9 +232,9 @@ impl windows_core::RuntimeType for ICompositionAnimation2 { #[repr(C)] pub struct ICompositionAnimation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetBooleanParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool) -> windows_core::HRESULT, - pub Target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTarget: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBooleanParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool) -> windows_core::HRESULT, + pub Target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTarget: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionAnimation3, ICompositionAnimation3_Vtbl, 0xd51e030d_7da4_4bd7_bc2d_f4517529f43a); impl windows_core::RuntimeType for ICompositionAnimation3 { @@ -255,13 +255,13 @@ impl windows_core::RuntimeType for ICompositionAnimation4 { #[repr(C)] pub struct ICompositionAnimation4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetExpressionReferenceParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetExpressionReferenceParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionAnimationBase, ICompositionAnimationBase_Vtbl, 0x1c2c2999_e818_48d3_a6dd_d78c82f8ace9); impl std::ops::Deref for ICompositionAnimationBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionAnimationBase, windows_core::IUnknown, windows_core::IInspectable); @@ -570,8 +570,8 @@ impl windows_core::RuntimeType for ICompositionEffectBrush { #[repr(C)] pub struct ICompositionEffectBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetSourceParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetSourceParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSourceParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetSourceParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionEffectFactory, ICompositionEffectFactory_Vtbl, 0xbe5624af_ba7e_4510_9850_41c0b4ff74df); impl windows_core::RuntimeType for ICompositionEffectFactory { @@ -591,7 +591,7 @@ impl windows_core::RuntimeType for ICompositionEffectSourceParameter { #[repr(C)] pub struct ICompositionEffectSourceParameter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionEffectSourceParameterFactory, ICompositionEffectSourceParameterFactory_Vtbl, 0xb3d9f276_aba3_4724_acf3_d0397464db1c); impl windows_core::RuntimeType for ICompositionEffectSourceParameterFactory { @@ -600,7 +600,7 @@ impl windows_core::RuntimeType for ICompositionEffectSourceParameterFactory { #[repr(C)] pub struct ICompositionEffectSourceParameterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionEllipseGeometry, ICompositionEllipseGeometry_Vtbl, 0x4801f884_f6ad_4b93_afa9_897b64e57b1f); impl windows_core::RuntimeType for ICompositionEllipseGeometry { @@ -953,8 +953,8 @@ pub struct ICompositionObject_Vtbl { #[cfg(not(feature = "UI_Core"))] Dispatcher: usize, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub StartAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub StopAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StopAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionObject2, ICompositionObject2_Vtbl, 0xef874ea1_5cff_4b68_9e30_a1519d08ba03); impl windows_core::RuntimeType for ICompositionObject2 { @@ -963,8 +963,8 @@ impl windows_core::RuntimeType for ICompositionObject2 { #[repr(C)] pub struct ICompositionObject2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetComment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetComment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ImplicitAnimations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetImplicitAnimations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StartAnimationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -989,7 +989,7 @@ impl windows_core::RuntimeType for ICompositionObject4 { #[repr(C)] pub struct ICompositionObject4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub TryGetAnimationController: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryGetAnimationController: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionObject5, ICompositionObject5_Vtbl, 0x1d7f391b_a130_5265_a62b_60b8e668965a); impl windows_core::RuntimeType for ICompositionObject5 { @@ -998,7 +998,7 @@ impl windows_core::RuntimeType for ICompositionObject5 { #[repr(C)] pub struct ICompositionObject5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub StartAnimationWithController: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartAnimationWithController: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionObjectFactory, ICompositionObjectFactory_Vtbl, 0x51205c5e_558a_4f2a_8d39_37bfe1e20ddd); impl windows_core::RuntimeType for ICompositionObjectFactory { @@ -1015,7 +1015,7 @@ impl windows_core::RuntimeType for ICompositionObjectStatics { #[repr(C)] pub struct ICompositionObjectStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub StartAnimationWithIAnimationObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub StartAnimationWithIAnimationObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StartAnimationGroupWithIAnimationObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionPath, ICompositionPath_Vtbl, 0x66da1d5f_2e10_4f22_8a06_0a8151919e60); @@ -1131,56 +1131,56 @@ impl windows_core::RuntimeType for ICompositionPropertySet { #[repr(C)] pub struct ICompositionPropertySet_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub InsertColor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::Color) -> windows_core::HRESULT, + pub InsertColor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::Color) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Numerics")] - pub InsertMatrix3x2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Matrix3x2) -> windows_core::HRESULT, + pub InsertMatrix3x2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Matrix3x2) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] InsertMatrix3x2: usize, #[cfg(feature = "Foundation_Numerics")] - pub InsertMatrix4x4: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Matrix4x4) -> windows_core::HRESULT, + pub InsertMatrix4x4: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Matrix4x4) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] InsertMatrix4x4: usize, #[cfg(feature = "Foundation_Numerics")] - pub InsertQuaternion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Quaternion) -> windows_core::HRESULT, + pub InsertQuaternion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Quaternion) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] InsertQuaternion: usize, - pub InsertScalar: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f32) -> windows_core::HRESULT, + pub InsertScalar: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f32) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Numerics")] - pub InsertVector2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Vector2) -> windows_core::HRESULT, + pub InsertVector2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Vector2) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] InsertVector2: usize, #[cfg(feature = "Foundation_Numerics")] - pub InsertVector3: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Vector3) -> windows_core::HRESULT, + pub InsertVector3: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Vector3) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] InsertVector3: usize, #[cfg(feature = "Foundation_Numerics")] - pub InsertVector4: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::Numerics::Vector4) -> windows_core::HRESULT, + pub InsertVector4: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::Numerics::Vector4) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] InsertVector4: usize, - pub TryGetColor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::Color, *mut CompositionGetValueStatus) -> windows_core::HRESULT, + pub TryGetColor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::Color, *mut CompositionGetValueStatus) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Numerics")] - pub TryGetMatrix3x2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Matrix3x2, *mut CompositionGetValueStatus) -> windows_core::HRESULT, + pub TryGetMatrix3x2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Matrix3x2, *mut CompositionGetValueStatus) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] TryGetMatrix3x2: usize, #[cfg(feature = "Foundation_Numerics")] - pub TryGetMatrix4x4: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Matrix4x4, *mut CompositionGetValueStatus) -> windows_core::HRESULT, + pub TryGetMatrix4x4: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Matrix4x4, *mut CompositionGetValueStatus) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] TryGetMatrix4x4: usize, #[cfg(feature = "Foundation_Numerics")] - pub TryGetQuaternion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Quaternion, *mut CompositionGetValueStatus) -> windows_core::HRESULT, + pub TryGetQuaternion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Quaternion, *mut CompositionGetValueStatus) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] TryGetQuaternion: usize, - pub TryGetScalar: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut f32, *mut CompositionGetValueStatus) -> windows_core::HRESULT, + pub TryGetScalar: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut f32, *mut CompositionGetValueStatus) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Numerics")] - pub TryGetVector2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Vector2, *mut CompositionGetValueStatus) -> windows_core::HRESULT, + pub TryGetVector2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Vector2, *mut CompositionGetValueStatus) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] TryGetVector2: usize, #[cfg(feature = "Foundation_Numerics")] - pub TryGetVector3: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Vector3, *mut CompositionGetValueStatus) -> windows_core::HRESULT, + pub TryGetVector3: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Vector3, *mut CompositionGetValueStatus) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] TryGetVector3: usize, #[cfg(feature = "Foundation_Numerics")] - pub TryGetVector4: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Vector4, *mut CompositionGetValueStatus) -> windows_core::HRESULT, + pub TryGetVector4: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::Numerics::Vector4, *mut CompositionGetValueStatus) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Numerics"))] TryGetVector4: usize, } @@ -1191,8 +1191,8 @@ impl windows_core::RuntimeType for ICompositionPropertySet2 { #[repr(C)] pub struct ICompositionPropertySet2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub InsertBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, bool) -> windows_core::HRESULT, - pub TryGetBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool, *mut CompositionGetValueStatus) -> windows_core::HRESULT, + pub InsertBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool) -> windows_core::HRESULT, + pub TryGetBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool, *mut CompositionGetValueStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionRadialGradientBrush, ICompositionRadialGradientBrush_Vtbl, 0x3d3b50c5_e3fa_4ce2_b9fc_3ee12561788f); impl windows_core::RuntimeType for ICompositionRadialGradientBrush { @@ -1403,7 +1403,7 @@ windows_core::imp::define_interface!(ICompositionSupportsSystemBackdrop, ICompos impl std::ops::Deref for ICompositionSupportsSystemBackdrop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionSupportsSystemBackdrop, windows_core::IUnknown, windows_core::IInspectable); @@ -1411,7 +1411,7 @@ impl ICompositionSupportsSystemBackdrop { pub fn SystemBackdrop(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemBackdrop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1436,7 +1436,7 @@ windows_core::imp::define_interface!(ICompositionSurface, ICompositionSurface_Vt impl std::ops::Deref for ICompositionSurface { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionSurface, windows_core::IUnknown, windows_core::IInspectable); @@ -1532,7 +1532,7 @@ windows_core::imp::define_interface!(ICompositionSurfaceFacade, ICompositionSurf impl std::ops::Deref for ICompositionSurfaceFacade { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionSurfaceFacade, windows_core::IUnknown, windows_core::IInspectable); @@ -1540,7 +1540,7 @@ impl ICompositionSurfaceFacade { pub fn GetRealSurface(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRealSurface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1727,7 +1727,7 @@ pub struct ICompositor_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_Effects")))] CreateEffectFactoryWithProperties: usize, pub CreateExpressionAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateExpressionAnimationWithExpression: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateExpressionAnimationWithExpression: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInsetClip: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInsetClipWithInsets: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateLinearEasingFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1795,8 +1795,8 @@ impl windows_core::RuntimeType for ICompositor5 { #[repr(C)] pub struct ICompositor5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetComment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetComment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GlobalPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetGlobalPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub CreateBounceScalarAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2052,8 +2052,8 @@ impl windows_core::RuntimeType for IExpressionAnimation { #[repr(C)] pub struct IExpressionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Expression: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExpression: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Expression: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExpression: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImplicitAnimationCollection, IImplicitAnimationCollection_Vtbl, 0x0598a3ff_0a92_4c9d_a427_b25519250dbf); impl windows_core::RuntimeType for IImplicitAnimationCollection { @@ -2097,8 +2097,8 @@ pub struct IKeyFrameAnimation_Vtbl { pub KeyFrameCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub StopBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AnimationStopBehavior) -> windows_core::HRESULT, pub SetStopBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, AnimationStopBehavior) -> windows_core::HRESULT, - pub InsertExpressionKeyFrame: unsafe extern "system" fn(*mut core::ffi::c_void, f32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InsertExpressionKeyFrameWithEasingFunction: unsafe extern "system" fn(*mut core::ffi::c_void, f32, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InsertExpressionKeyFrame: unsafe extern "system" fn(*mut core::ffi::c_void, f32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InsertExpressionKeyFrameWithEasingFunction: unsafe extern "system" fn(*mut core::ffi::c_void, f32, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyFrameAnimation2, IKeyFrameAnimation2_Vtbl, 0xf4b488bb_2940_4ec0_a41a_eb6d801a2f18); impl windows_core::RuntimeType for IKeyFrameAnimation2 { @@ -2808,7 +2808,7 @@ windows_core::imp::define_interface!(IVisualElement, IVisualElement_Vtbl, 0x01e6 impl std::ops::Deref for IVisualElement { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVisualElement, windows_core::IUnknown, windows_core::IInspectable); @@ -2824,7 +2824,7 @@ windows_core::imp::define_interface!(IVisualElement2, IVisualElement2_Vtbl, 0x99 impl std::ops::Deref for IVisualElement2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVisualElement2, windows_core::IUnknown, windows_core::IInspectable); @@ -2832,7 +2832,7 @@ impl IVisualElement2 { pub fn GetVisualInternal(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetVisualInternal)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2874,7 +2874,7 @@ impl AmbientLight { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2885,7 +2885,7 @@ impl AmbientLight { pub fn Intensity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Intensity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2907,21 +2907,21 @@ impl AmbientLight { pub fn Targets(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Targets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExclusionsFromTargets(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExclusionsFromTargets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2932,7 +2932,7 @@ impl AmbientLight { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2940,14 +2940,14 @@ impl AmbientLight { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2965,7 +2965,7 @@ impl AmbientLight { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2976,7 +2976,7 @@ impl AmbientLight { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3005,14 +3005,14 @@ impl AmbientLight { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3046,7 +3046,7 @@ impl AnimationController { pub fn PlaybackRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3057,7 +3057,7 @@ impl AnimationController { pub fn Progress(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3068,7 +3068,7 @@ impl AnimationController { pub fn ProgressBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProgressBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3086,13 +3086,13 @@ impl AnimationController { } pub fn MaxPlaybackRate() -> windows_core::Result { Self::IAnimationControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxPlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MinPlaybackRate() -> windows_core::Result { Self::IAnimationControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinPlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -3110,7 +3110,7 @@ impl AnimationController { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3118,14 +3118,14 @@ impl AnimationController { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3143,7 +3143,7 @@ impl AnimationController { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3154,7 +3154,7 @@ impl AnimationController { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3183,14 +3183,14 @@ impl AnimationController { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3236,7 +3236,7 @@ impl AnimationPropertyInfo { pub fn AccessMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccessMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3247,14 +3247,14 @@ impl AnimationPropertyInfo { pub fn GetResolvedCompositionObject(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResolvedCompositionObject)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetResolvedCompositionObjectProperty(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetResolvedCompositionObjectProperty)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3265,7 +3265,7 @@ impl AnimationPropertyInfo { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3273,14 +3273,14 @@ impl AnimationPropertyInfo { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3298,7 +3298,7 @@ impl AnimationPropertyInfo { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3309,7 +3309,7 @@ impl AnimationPropertyInfo { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3338,14 +3338,14 @@ impl AnimationPropertyInfo { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3386,14 +3386,14 @@ impl BackEasingFunction { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Amplitude(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Amplitude)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3404,7 +3404,7 @@ impl BackEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3412,14 +3412,14 @@ impl BackEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3437,7 +3437,7 @@ impl BackEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3448,7 +3448,7 @@ impl BackEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3477,14 +3477,14 @@ impl BackEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3590,7 +3590,7 @@ impl BooleanKeyFrameAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3602,7 +3602,7 @@ impl BooleanKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3616,7 +3616,7 @@ impl BooleanKeyFrameAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3624,14 +3624,14 @@ impl BooleanKeyFrameAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3649,7 +3649,7 @@ impl BooleanKeyFrameAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3660,7 +3660,7 @@ impl BooleanKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3689,14 +3689,14 @@ impl BooleanKeyFrameAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3711,7 +3711,7 @@ impl BooleanKeyFrameAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3722,7 +3722,7 @@ impl BooleanKeyFrameAnimation { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3733,7 +3733,7 @@ impl BooleanKeyFrameAnimation { pub fn IterationBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3744,7 +3744,7 @@ impl BooleanKeyFrameAnimation { pub fn IterationCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3755,14 +3755,14 @@ impl BooleanKeyFrameAnimation { pub fn KeyFrameCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3784,7 +3784,7 @@ impl BooleanKeyFrameAnimation { pub fn Direction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3795,7 +3795,7 @@ impl BooleanKeyFrameAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3832,21 +3832,21 @@ impl BounceEasingFunction { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Bounces(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bounces)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Bounciness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bounciness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3857,7 +3857,7 @@ impl BounceEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3865,14 +3865,14 @@ impl BounceEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3890,7 +3890,7 @@ impl BounceEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3901,7 +3901,7 @@ impl BounceEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3930,14 +3930,14 @@ impl BounceEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3978,7 +3978,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Acceleration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Acceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3989,7 +3989,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Restitution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Restitution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4061,7 +4061,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4073,7 +4073,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4087,7 +4087,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4095,14 +4095,14 @@ impl BounceScalarNaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4120,7 +4120,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4131,7 +4131,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4160,14 +4160,14 @@ impl BounceScalarNaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4182,7 +4182,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4193,7 +4193,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4204,7 +4204,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4215,7 +4215,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn FinalValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4229,7 +4229,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn InitialValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4243,7 +4243,7 @@ impl BounceScalarNaturalMotionAnimation { pub fn InitialVelocity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4280,7 +4280,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Acceleration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Acceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4291,7 +4291,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Restitution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Restitution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4363,7 +4363,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4375,7 +4375,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4389,7 +4389,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4397,14 +4397,14 @@ impl BounceVector2NaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4422,7 +4422,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4433,7 +4433,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4462,14 +4462,14 @@ impl BounceVector2NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4484,7 +4484,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4495,7 +4495,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4506,7 +4506,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4518,7 +4518,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn FinalValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4534,7 +4534,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn InitialValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4550,7 +4550,7 @@ impl BounceVector2NaturalMotionAnimation { pub fn InitialVelocity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4588,7 +4588,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Acceleration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Acceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4599,7 +4599,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Restitution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Restitution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4671,7 +4671,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4683,7 +4683,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4697,7 +4697,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4705,14 +4705,14 @@ impl BounceVector3NaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4730,7 +4730,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4741,7 +4741,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4770,14 +4770,14 @@ impl BounceVector3NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4792,7 +4792,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4803,7 +4803,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4814,7 +4814,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4826,7 +4826,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn FinalValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4842,7 +4842,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn InitialValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4858,7 +4858,7 @@ impl BounceVector3NaturalMotionAnimation { pub fn InitialVelocity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4896,7 +4896,7 @@ impl CircleEasingFunction { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4907,7 +4907,7 @@ impl CircleEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4915,14 +4915,14 @@ impl CircleEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4940,7 +4940,7 @@ impl CircleEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4951,7 +4951,7 @@ impl CircleEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4980,14 +4980,14 @@ impl CircleEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5032,7 +5032,7 @@ impl ColorKeyFrameAnimation { pub fn InterpolationColorSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterpolationColorSpace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5111,7 +5111,7 @@ impl ColorKeyFrameAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5123,7 +5123,7 @@ impl ColorKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5137,7 +5137,7 @@ impl ColorKeyFrameAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5145,14 +5145,14 @@ impl ColorKeyFrameAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5170,7 +5170,7 @@ impl ColorKeyFrameAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5181,7 +5181,7 @@ impl ColorKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5210,14 +5210,14 @@ impl ColorKeyFrameAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5232,7 +5232,7 @@ impl ColorKeyFrameAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5243,7 +5243,7 @@ impl ColorKeyFrameAnimation { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5254,7 +5254,7 @@ impl ColorKeyFrameAnimation { pub fn IterationBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5265,7 +5265,7 @@ impl ColorKeyFrameAnimation { pub fn IterationCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5276,14 +5276,14 @@ impl ColorKeyFrameAnimation { pub fn KeyFrameCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5305,7 +5305,7 @@ impl ColorKeyFrameAnimation { pub fn Direction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5316,7 +5316,7 @@ impl ColorKeyFrameAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5414,7 +5414,7 @@ impl CompositionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5426,7 +5426,7 @@ impl CompositionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5440,7 +5440,7 @@ impl CompositionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5448,14 +5448,14 @@ impl CompositionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5473,7 +5473,7 @@ impl CompositionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5484,7 +5484,7 @@ impl CompositionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5513,14 +5513,14 @@ impl CompositionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5566,7 +5566,7 @@ impl CompositionAnimationGroup { pub fn Count(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Count)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5591,7 +5591,7 @@ impl CompositionAnimationGroup { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5599,14 +5599,14 @@ impl CompositionAnimationGroup { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5624,7 +5624,7 @@ impl CompositionAnimationGroup { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5635,7 +5635,7 @@ impl CompositionAnimationGroup { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5664,14 +5664,14 @@ impl CompositionAnimationGroup { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5687,7 +5687,7 @@ impl CompositionAnimationGroup { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5740,7 +5740,7 @@ impl CompositionBackdropBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5748,14 +5748,14 @@ impl CompositionBackdropBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5773,7 +5773,7 @@ impl CompositionBackdropBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5784,7 +5784,7 @@ impl CompositionBackdropBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5813,14 +5813,14 @@ impl CompositionBackdropBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5865,7 +5865,7 @@ impl CompositionBatchCompletedEventArgs { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5873,14 +5873,14 @@ impl CompositionBatchCompletedEventArgs { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5898,7 +5898,7 @@ impl CompositionBatchCompletedEventArgs { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5909,7 +5909,7 @@ impl CompositionBatchCompletedEventArgs { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5938,14 +5938,14 @@ impl CompositionBatchCompletedEventArgs { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5990,7 +5990,7 @@ impl CompositionBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5998,14 +5998,14 @@ impl CompositionBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6023,7 +6023,7 @@ impl CompositionBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6034,7 +6034,7 @@ impl CompositionBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6063,14 +6063,14 @@ impl CompositionBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6103,14 +6103,14 @@ impl CompositionCapabilities { pub fn AreEffectsSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreEffectsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AreEffectsFast(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreEffectsFast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6120,7 +6120,7 @@ impl CompositionCapabilities { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6130,7 +6130,7 @@ impl CompositionCapabilities { } pub fn GetForCurrentView() -> windows_core::Result { Self::ICompositionCapabilitiesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -6173,7 +6173,7 @@ impl CompositionClip { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6186,7 +6186,7 @@ impl CompositionClip { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6199,7 +6199,7 @@ impl CompositionClip { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6211,7 +6211,7 @@ impl CompositionClip { pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6222,7 +6222,7 @@ impl CompositionClip { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6234,7 +6234,7 @@ impl CompositionClip { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6247,7 +6247,7 @@ impl CompositionClip { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6259,7 +6259,7 @@ impl CompositionClip { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6267,14 +6267,14 @@ impl CompositionClip { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6292,7 +6292,7 @@ impl CompositionClip { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6303,7 +6303,7 @@ impl CompositionClip { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6332,14 +6332,14 @@ impl CompositionClip { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6384,7 +6384,7 @@ impl CompositionColorBrush { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6395,7 +6395,7 @@ impl CompositionColorBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6403,14 +6403,14 @@ impl CompositionColorBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6428,7 +6428,7 @@ impl CompositionColorBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6439,7 +6439,7 @@ impl CompositionColorBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6468,14 +6468,14 @@ impl CompositionColorBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6520,7 +6520,7 @@ impl CompositionColorGradientStop { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6531,7 +6531,7 @@ impl CompositionColorGradientStop { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6542,7 +6542,7 @@ impl CompositionColorGradientStop { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6550,14 +6550,14 @@ impl CompositionColorGradientStop { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6575,7 +6575,7 @@ impl CompositionColorGradientStop { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6586,7 +6586,7 @@ impl CompositionColorGradientStop { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6615,14 +6615,14 @@ impl CompositionColorGradientStop { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6658,7 +6658,7 @@ impl CompositionColorGradientStopCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6666,7 +6666,7 @@ impl CompositionColorGradientStopCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6674,7 +6674,7 @@ impl CompositionColorGradientStopCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6682,7 +6682,7 @@ impl CompositionColorGradientStopCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6693,7 +6693,7 @@ impl CompositionColorGradientStopCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -6740,7 +6740,7 @@ impl CompositionColorGradientStopCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -6798,14 +6798,14 @@ impl CompositionCommitBatch { pub fn IsActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEnded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -6815,7 +6815,7 @@ impl CompositionCommitBatch { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -6826,7 +6826,7 @@ impl CompositionCommitBatch { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6834,14 +6834,14 @@ impl CompositionCommitBatch { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6859,7 +6859,7 @@ impl CompositionCommitBatch { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6870,7 +6870,7 @@ impl CompositionCommitBatch { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6899,14 +6899,14 @@ impl CompositionCommitBatch { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6952,14 +6952,14 @@ impl CompositionContainerShape { pub fn Shapes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shapes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6967,14 +6967,14 @@ impl CompositionContainerShape { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6992,7 +6992,7 @@ impl CompositionContainerShape { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7003,7 +7003,7 @@ impl CompositionContainerShape { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7032,14 +7032,14 @@ impl CompositionContainerShape { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7055,7 +7055,7 @@ impl CompositionContainerShape { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7068,7 +7068,7 @@ impl CompositionContainerShape { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7080,7 +7080,7 @@ impl CompositionContainerShape { pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7091,7 +7091,7 @@ impl CompositionContainerShape { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7103,7 +7103,7 @@ impl CompositionContainerShape { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7116,7 +7116,7 @@ impl CompositionContainerShape { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7159,7 +7159,7 @@ impl CompositionDrawingSurface { pub fn AlphaMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7167,14 +7167,14 @@ impl CompositionDrawingSurface { pub fn PixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7182,7 +7182,7 @@ impl CompositionDrawingSurface { pub fn SizeInt32(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7214,7 +7214,7 @@ impl CompositionDrawingSurface { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7222,14 +7222,14 @@ impl CompositionDrawingSurface { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7247,7 +7247,7 @@ impl CompositionDrawingSurface { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7258,7 +7258,7 @@ impl CompositionDrawingSurface { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7287,14 +7287,14 @@ impl CompositionDrawingSurface { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7342,7 +7342,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCubicBezierEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), controlpoint1, controlpoint2, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7351,7 +7351,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLinearEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7360,7 +7360,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStepEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7369,7 +7369,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStepEasingFunctionWithStepCount)(windows_core::Interface::as_raw(this), owner.param().abi(), stepcount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7378,7 +7378,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBackEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), mode, amplitude, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7387,7 +7387,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBounceEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), mode, bounces, bounciness, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7396,7 +7396,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCircleEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7405,7 +7405,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateElasticEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), mode, oscillations, springiness, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7414,7 +7414,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateExponentialEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), mode, exponent, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7423,7 +7423,7 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePowerEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), mode, power, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7432,14 +7432,14 @@ impl CompositionEasingFunction { P0: windows_core::Param, { Self::ICompositionEasingFunctionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSineEasingFunction)(windows_core::Interface::as_raw(this), owner.param().abi(), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7447,14 +7447,14 @@ impl CompositionEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7472,7 +7472,7 @@ impl CompositionEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7483,7 +7483,7 @@ impl CompositionEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7512,14 +7512,14 @@ impl CompositionEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7569,7 +7569,7 @@ impl CompositionEffectBrush { pub fn GetSourceParameter(&self, name: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSourceParameter)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7583,7 +7583,7 @@ impl CompositionEffectBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7591,14 +7591,14 @@ impl CompositionEffectBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7616,7 +7616,7 @@ impl CompositionEffectBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7627,7 +7627,7 @@ impl CompositionEffectBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7656,14 +7656,14 @@ impl CompositionEffectBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7708,28 +7708,28 @@ impl CompositionEffectFactory { pub fn CreateBrush(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LoadStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7737,14 +7737,14 @@ impl CompositionEffectFactory { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7762,7 +7762,7 @@ impl CompositionEffectFactory { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7773,7 +7773,7 @@ impl CompositionEffectFactory { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7802,14 +7802,14 @@ impl CompositionEffectFactory { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7844,13 +7844,13 @@ impl CompositionEffectSourceParameter { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(name: &windows_core::HSTRING) -> windows_core::Result { Self::ICompositionEffectSourceParameterFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -7893,7 +7893,7 @@ impl CompositionEllipseGeometry { pub fn Center(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Center)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7906,7 +7906,7 @@ impl CompositionEllipseGeometry { pub fn Radius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Radius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7918,7 +7918,7 @@ impl CompositionEllipseGeometry { pub fn TrimEnd(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7929,7 +7929,7 @@ impl CompositionEllipseGeometry { pub fn TrimOffset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7940,7 +7940,7 @@ impl CompositionEllipseGeometry { pub fn TrimStart(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -7951,7 +7951,7 @@ impl CompositionEllipseGeometry { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7959,14 +7959,14 @@ impl CompositionEllipseGeometry { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7984,7 +7984,7 @@ impl CompositionEllipseGeometry { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7995,7 +7995,7 @@ impl CompositionEllipseGeometry { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8024,14 +8024,14 @@ impl CompositionEllipseGeometry { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8077,7 +8077,7 @@ impl CompositionGeometricClip { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8090,7 +8090,7 @@ impl CompositionGeometricClip { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8103,7 +8103,7 @@ impl CompositionGeometricClip { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8115,7 +8115,7 @@ impl CompositionGeometricClip { pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8126,7 +8126,7 @@ impl CompositionGeometricClip { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8138,7 +8138,7 @@ impl CompositionGeometricClip { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8151,7 +8151,7 @@ impl CompositionGeometricClip { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8163,7 +8163,7 @@ impl CompositionGeometricClip { pub fn Geometry(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Geometry)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8177,7 +8177,7 @@ impl CompositionGeometricClip { pub fn ViewBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewBox)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8191,7 +8191,7 @@ impl CompositionGeometricClip { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8199,14 +8199,14 @@ impl CompositionGeometricClip { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8224,7 +8224,7 @@ impl CompositionGeometricClip { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8235,7 +8235,7 @@ impl CompositionGeometricClip { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8264,14 +8264,14 @@ impl CompositionGeometricClip { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8316,7 +8316,7 @@ impl CompositionGeometry { pub fn TrimEnd(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8327,7 +8327,7 @@ impl CompositionGeometry { pub fn TrimOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8338,7 +8338,7 @@ impl CompositionGeometry { pub fn TrimStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8349,7 +8349,7 @@ impl CompositionGeometry { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8357,14 +8357,14 @@ impl CompositionGeometry { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8382,7 +8382,7 @@ impl CompositionGeometry { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8393,7 +8393,7 @@ impl CompositionGeometry { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8422,14 +8422,14 @@ impl CompositionGeometry { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8475,7 +8475,7 @@ impl CompositionGradientBrush { pub fn AnchorPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8488,7 +8488,7 @@ impl CompositionGradientBrush { pub fn CenterPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8500,14 +8500,14 @@ impl CompositionGradientBrush { pub fn ColorStops(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorStops)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8518,7 +8518,7 @@ impl CompositionGradientBrush { pub fn InterpolationSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterpolationSpace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8530,7 +8530,7 @@ impl CompositionGradientBrush { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8542,7 +8542,7 @@ impl CompositionGradientBrush { pub fn RotationAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8553,7 +8553,7 @@ impl CompositionGradientBrush { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8565,7 +8565,7 @@ impl CompositionGradientBrush { pub fn Scale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8578,7 +8578,7 @@ impl CompositionGradientBrush { pub fn TransformMatrix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8590,7 +8590,7 @@ impl CompositionGradientBrush { pub fn MappingMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MappingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8601,7 +8601,7 @@ impl CompositionGradientBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8609,14 +8609,14 @@ impl CompositionGradientBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8634,7 +8634,7 @@ impl CompositionGradientBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8645,7 +8645,7 @@ impl CompositionGradientBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8674,14 +8674,14 @@ impl CompositionGradientBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8727,7 +8727,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDrawingSurface)(windows_core::Interface::as_raw(this), sizepixels, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8737,7 +8737,7 @@ impl CompositionGraphicsDevice { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RenderingDeviceReplaced)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -8749,7 +8749,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDrawingSurface2)(windows_core::Interface::as_raw(this), sizepixels, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8757,7 +8757,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVirtualDrawingSurface)(windows_core::Interface::as_raw(this), sizepixels, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8765,7 +8765,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMipmapSurface)(windows_core::Interface::as_raw(this), sizepixels, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8780,14 +8780,14 @@ impl CompositionGraphicsDevice { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureAsync)(windows_core::Interface::as_raw(this), capturevisual.param().abi(), size, pixelformat, alphamode, sdrboost, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8795,14 +8795,14 @@ impl CompositionGraphicsDevice { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8820,7 +8820,7 @@ impl CompositionGraphicsDevice { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8831,7 +8831,7 @@ impl CompositionGraphicsDevice { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8860,14 +8860,14 @@ impl CompositionGraphicsDevice { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8912,21 +8912,21 @@ impl CompositionLight { pub fn Targets(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Targets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExclusionsFromTargets(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExclusionsFromTargets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -8937,7 +8937,7 @@ impl CompositionLight { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8945,14 +8945,14 @@ impl CompositionLight { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8970,7 +8970,7 @@ impl CompositionLight { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8981,7 +8981,7 @@ impl CompositionLight { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9010,14 +9010,14 @@ impl CompositionLight { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9062,7 +9062,7 @@ impl CompositionLineGeometry { pub fn TrimEnd(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9073,7 +9073,7 @@ impl CompositionLineGeometry { pub fn TrimOffset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9084,7 +9084,7 @@ impl CompositionLineGeometry { pub fn TrimStart(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9096,7 +9096,7 @@ impl CompositionLineGeometry { pub fn Start(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Start)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9109,7 +9109,7 @@ impl CompositionLineGeometry { pub fn End(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).End)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9121,7 +9121,7 @@ impl CompositionLineGeometry { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9129,14 +9129,14 @@ impl CompositionLineGeometry { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9154,7 +9154,7 @@ impl CompositionLineGeometry { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9165,7 +9165,7 @@ impl CompositionLineGeometry { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9194,14 +9194,14 @@ impl CompositionLineGeometry { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9247,7 +9247,7 @@ impl CompositionLinearGradientBrush { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9260,7 +9260,7 @@ impl CompositionLinearGradientBrush { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9272,14 +9272,14 @@ impl CompositionLinearGradientBrush { pub fn ColorStops(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorStops)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9290,7 +9290,7 @@ impl CompositionLinearGradientBrush { pub fn InterpolationSpace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterpolationSpace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9302,7 +9302,7 @@ impl CompositionLinearGradientBrush { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9314,7 +9314,7 @@ impl CompositionLinearGradientBrush { pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9325,7 +9325,7 @@ impl CompositionLinearGradientBrush { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9337,7 +9337,7 @@ impl CompositionLinearGradientBrush { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9350,7 +9350,7 @@ impl CompositionLinearGradientBrush { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9362,7 +9362,7 @@ impl CompositionLinearGradientBrush { pub fn MappingMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MappingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9374,7 +9374,7 @@ impl CompositionLinearGradientBrush { pub fn EndPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9387,7 +9387,7 @@ impl CompositionLinearGradientBrush { pub fn StartPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9399,7 +9399,7 @@ impl CompositionLinearGradientBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9407,14 +9407,14 @@ impl CompositionLinearGradientBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9432,7 +9432,7 @@ impl CompositionLinearGradientBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9443,7 +9443,7 @@ impl CompositionLinearGradientBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9472,14 +9472,14 @@ impl CompositionLinearGradientBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9524,7 +9524,7 @@ impl CompositionMaskBrush { pub fn Mask(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mask)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9538,7 +9538,7 @@ impl CompositionMaskBrush { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9552,7 +9552,7 @@ impl CompositionMaskBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9560,14 +9560,14 @@ impl CompositionMaskBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9585,7 +9585,7 @@ impl CompositionMaskBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9596,7 +9596,7 @@ impl CompositionMaskBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9625,14 +9625,14 @@ impl CompositionMaskBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9677,7 +9677,7 @@ impl CompositionMipmapSurface { pub fn LevelCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LevelCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9685,7 +9685,7 @@ impl CompositionMipmapSurface { pub fn AlphaMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9693,7 +9693,7 @@ impl CompositionMipmapSurface { pub fn PixelFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9701,21 +9701,21 @@ impl CompositionMipmapSurface { pub fn SizeInt32(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDrawingSurfaceForLevel(&self, level: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDrawingSurfaceForLevel)(windows_core::Interface::as_raw(this), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9723,14 +9723,14 @@ impl CompositionMipmapSurface { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9748,7 +9748,7 @@ impl CompositionMipmapSurface { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9759,7 +9759,7 @@ impl CompositionMipmapSurface { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9788,14 +9788,14 @@ impl CompositionMipmapSurface { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9840,7 +9840,7 @@ impl CompositionNineGridBrush { pub fn BottomInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BottomInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9851,7 +9851,7 @@ impl CompositionNineGridBrush { pub fn BottomInsetScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BottomInsetScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9862,7 +9862,7 @@ impl CompositionNineGridBrush { pub fn IsCenterHollow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCenterHollow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9873,7 +9873,7 @@ impl CompositionNineGridBrush { pub fn LeftInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeftInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9884,7 +9884,7 @@ impl CompositionNineGridBrush { pub fn LeftInsetScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeftInsetScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9895,7 +9895,7 @@ impl CompositionNineGridBrush { pub fn RightInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9906,7 +9906,7 @@ impl CompositionNineGridBrush { pub fn RightInsetScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightInsetScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9917,7 +9917,7 @@ impl CompositionNineGridBrush { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9931,7 +9931,7 @@ impl CompositionNineGridBrush { pub fn TopInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TopInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9942,7 +9942,7 @@ impl CompositionNineGridBrush { pub fn TopInsetScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TopInsetScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -9969,7 +9969,7 @@ impl CompositionNineGridBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9977,14 +9977,14 @@ impl CompositionNineGridBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10002,7 +10002,7 @@ impl CompositionNineGridBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10013,7 +10013,7 @@ impl CompositionNineGridBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10042,14 +10042,14 @@ impl CompositionNineGridBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10094,7 +10094,7 @@ impl CompositionObject { pub fn Compositor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10102,14 +10102,14 @@ impl CompositionObject { pub fn Dispatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10127,7 +10127,7 @@ impl CompositionObject { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10138,7 +10138,7 @@ impl CompositionObject { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10167,14 +10167,14 @@ impl CompositionObject { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10231,7 +10231,7 @@ impl CompositionPath { P0: windows_core::Param, { Self::ICompositionPathFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -10273,7 +10273,7 @@ impl CompositionPathGeometry { pub fn TrimEnd(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -10284,7 +10284,7 @@ impl CompositionPathGeometry { pub fn TrimOffset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -10295,7 +10295,7 @@ impl CompositionPathGeometry { pub fn TrimStart(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -10306,7 +10306,7 @@ impl CompositionPathGeometry { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10314,14 +10314,14 @@ impl CompositionPathGeometry { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10339,7 +10339,7 @@ impl CompositionPathGeometry { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10350,7 +10350,7 @@ impl CompositionPathGeometry { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10379,14 +10379,14 @@ impl CompositionPathGeometry { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10401,7 +10401,7 @@ impl CompositionPathGeometry { pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10445,7 +10445,7 @@ impl CompositionProjectedShadow { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10453,14 +10453,14 @@ impl CompositionProjectedShadow { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10478,7 +10478,7 @@ impl CompositionProjectedShadow { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10489,7 +10489,7 @@ impl CompositionProjectedShadow { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10518,14 +10518,14 @@ impl CompositionProjectedShadow { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10540,7 +10540,7 @@ impl CompositionProjectedShadow { pub fn BlurRadiusMultiplier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlurRadiusMultiplier)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -10551,14 +10551,14 @@ impl CompositionProjectedShadow { pub fn Casters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Casters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LightSource(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10572,7 +10572,7 @@ impl CompositionProjectedShadow { pub fn MaxBlurRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxBlurRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -10583,7 +10583,7 @@ impl CompositionProjectedShadow { pub fn MinBlurRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinBlurRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -10594,7 +10594,7 @@ impl CompositionProjectedShadow { pub fn Receivers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Receivers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10631,7 +10631,7 @@ impl CompositionProjectedShadowCaster { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10639,14 +10639,14 @@ impl CompositionProjectedShadowCaster { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10664,7 +10664,7 @@ impl CompositionProjectedShadowCaster { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10675,7 +10675,7 @@ impl CompositionProjectedShadowCaster { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10704,14 +10704,14 @@ impl CompositionProjectedShadowCaster { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10726,7 +10726,7 @@ impl CompositionProjectedShadowCaster { pub fn Brush(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Brush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10740,7 +10740,7 @@ impl CompositionProjectedShadowCaster { pub fn CastingVisual(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CastingVisual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10785,7 +10785,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10793,14 +10793,14 @@ impl CompositionProjectedShadowCasterCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10818,7 +10818,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10829,7 +10829,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10858,14 +10858,14 @@ impl CompositionProjectedShadowCasterCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10880,7 +10880,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn Count(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Count)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -10927,7 +10927,7 @@ impl CompositionProjectedShadowCasterCollection { } pub fn MaxRespectedCasters() -> windows_core::Result { Self::ICompositionProjectedShadowCasterCollectionStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxRespectedCasters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -10935,7 +10935,7 @@ impl CompositionProjectedShadowCasterCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10993,7 +10993,7 @@ impl CompositionProjectedShadowReceiver { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11001,14 +11001,14 @@ impl CompositionProjectedShadowReceiver { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11026,7 +11026,7 @@ impl CompositionProjectedShadowReceiver { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11037,7 +11037,7 @@ impl CompositionProjectedShadowReceiver { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11066,14 +11066,14 @@ impl CompositionProjectedShadowReceiver { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11088,7 +11088,7 @@ impl CompositionProjectedShadowReceiver { pub fn ReceivingVisual(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReceivingVisual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11133,7 +11133,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11141,14 +11141,14 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11166,7 +11166,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11177,7 +11177,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11206,14 +11206,14 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11235,7 +11235,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn Count(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Count)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11254,7 +11254,7 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11307,7 +11307,7 @@ impl CompositionPropertySet { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11315,14 +11315,14 @@ impl CompositionPropertySet { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11340,7 +11340,7 @@ impl CompositionPropertySet { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11351,7 +11351,7 @@ impl CompositionPropertySet { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11380,14 +11380,14 @@ impl CompositionPropertySet { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11440,7 +11440,7 @@ impl CompositionPropertySet { pub fn TryGetColor(&self, propertyname: &windows_core::HSTRING, value: &mut super::Color) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetColor)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), value, &mut result__).map(|| result__) } } @@ -11448,7 +11448,7 @@ impl CompositionPropertySet { pub fn TryGetMatrix3x2(&self, propertyname: &windows_core::HSTRING, value: &mut super::super::Foundation::Numerics::Matrix3x2) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetMatrix3x2)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), value, &mut result__).map(|| result__) } } @@ -11456,7 +11456,7 @@ impl CompositionPropertySet { pub fn TryGetMatrix4x4(&self, propertyname: &windows_core::HSTRING, value: &mut super::super::Foundation::Numerics::Matrix4x4) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetMatrix4x4)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), value, &mut result__).map(|| result__) } } @@ -11464,14 +11464,14 @@ impl CompositionPropertySet { pub fn TryGetQuaternion(&self, propertyname: &windows_core::HSTRING, value: &mut super::super::Foundation::Numerics::Quaternion) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetQuaternion)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), value, &mut result__).map(|| result__) } } pub fn TryGetScalar(&self, propertyname: &windows_core::HSTRING, value: &mut f32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetScalar)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), value, &mut result__).map(|| result__) } } @@ -11479,7 +11479,7 @@ impl CompositionPropertySet { pub fn TryGetVector2(&self, propertyname: &windows_core::HSTRING, value: &mut super::super::Foundation::Numerics::Vector2) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetVector2)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), value, &mut result__).map(|| result__) } } @@ -11487,7 +11487,7 @@ impl CompositionPropertySet { pub fn TryGetVector3(&self, propertyname: &windows_core::HSTRING, value: &mut super::super::Foundation::Numerics::Vector3) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetVector3)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), value, &mut result__).map(|| result__) } } @@ -11495,7 +11495,7 @@ impl CompositionPropertySet { pub fn TryGetVector4(&self, propertyname: &windows_core::HSTRING, value: &mut super::super::Foundation::Numerics::Vector4) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetVector4)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), value, &mut result__).map(|| result__) } } @@ -11506,7 +11506,7 @@ impl CompositionPropertySet { pub fn TryGetBoolean(&self, propertyname: &windows_core::HSTRING, value: &mut bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBoolean)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), value, &mut result__).map(|| result__) } } @@ -11544,7 +11544,7 @@ impl CompositionRadialGradientBrush { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11557,7 +11557,7 @@ impl CompositionRadialGradientBrush { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11569,14 +11569,14 @@ impl CompositionRadialGradientBrush { pub fn ColorStops(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorStops)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExtendMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11587,7 +11587,7 @@ impl CompositionRadialGradientBrush { pub fn InterpolationSpace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InterpolationSpace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11599,7 +11599,7 @@ impl CompositionRadialGradientBrush { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11611,7 +11611,7 @@ impl CompositionRadialGradientBrush { pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11622,7 +11622,7 @@ impl CompositionRadialGradientBrush { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11634,7 +11634,7 @@ impl CompositionRadialGradientBrush { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11647,7 +11647,7 @@ impl CompositionRadialGradientBrush { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11659,7 +11659,7 @@ impl CompositionRadialGradientBrush { pub fn MappingMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MappingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11670,7 +11670,7 @@ impl CompositionRadialGradientBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11678,14 +11678,14 @@ impl CompositionRadialGradientBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11703,7 +11703,7 @@ impl CompositionRadialGradientBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11714,7 +11714,7 @@ impl CompositionRadialGradientBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11743,14 +11743,14 @@ impl CompositionRadialGradientBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11766,7 +11766,7 @@ impl CompositionRadialGradientBrush { pub fn EllipseCenter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EllipseCenter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11779,7 +11779,7 @@ impl CompositionRadialGradientBrush { pub fn EllipseRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EllipseRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11792,7 +11792,7 @@ impl CompositionRadialGradientBrush { pub fn GradientOriginOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GradientOriginOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11834,7 +11834,7 @@ impl CompositionRectangleGeometry { pub fn TrimEnd(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11845,7 +11845,7 @@ impl CompositionRectangleGeometry { pub fn TrimOffset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11856,7 +11856,7 @@ impl CompositionRectangleGeometry { pub fn TrimStart(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11867,7 +11867,7 @@ impl CompositionRectangleGeometry { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11875,14 +11875,14 @@ impl CompositionRectangleGeometry { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11900,7 +11900,7 @@ impl CompositionRectangleGeometry { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11911,7 +11911,7 @@ impl CompositionRectangleGeometry { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11940,14 +11940,14 @@ impl CompositionRectangleGeometry { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11963,7 +11963,7 @@ impl CompositionRectangleGeometry { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -11976,7 +11976,7 @@ impl CompositionRectangleGeometry { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12018,7 +12018,7 @@ impl CompositionRoundedRectangleGeometry { pub fn TrimEnd(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimEnd)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12029,7 +12029,7 @@ impl CompositionRoundedRectangleGeometry { pub fn TrimOffset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12040,7 +12040,7 @@ impl CompositionRoundedRectangleGeometry { pub fn TrimStart(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrimStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12051,7 +12051,7 @@ impl CompositionRoundedRectangleGeometry { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12059,14 +12059,14 @@ impl CompositionRoundedRectangleGeometry { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12084,7 +12084,7 @@ impl CompositionRoundedRectangleGeometry { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12095,7 +12095,7 @@ impl CompositionRoundedRectangleGeometry { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12124,14 +12124,14 @@ impl CompositionRoundedRectangleGeometry { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12147,7 +12147,7 @@ impl CompositionRoundedRectangleGeometry { pub fn CornerRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CornerRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12160,7 +12160,7 @@ impl CompositionRoundedRectangleGeometry { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12173,7 +12173,7 @@ impl CompositionRoundedRectangleGeometry { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12215,7 +12215,7 @@ impl CompositionScopedBatch { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12223,14 +12223,14 @@ impl CompositionScopedBatch { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12248,7 +12248,7 @@ impl CompositionScopedBatch { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12259,7 +12259,7 @@ impl CompositionScopedBatch { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12288,14 +12288,14 @@ impl CompositionScopedBatch { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12310,14 +12310,14 @@ impl CompositionScopedBatch { pub fn IsActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEnded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12339,7 +12339,7 @@ impl CompositionScopedBatch { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -12380,7 +12380,7 @@ impl CompositionShadow { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12388,14 +12388,14 @@ impl CompositionShadow { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12413,7 +12413,7 @@ impl CompositionShadow { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12424,7 +12424,7 @@ impl CompositionShadow { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12453,14 +12453,14 @@ impl CompositionShadow { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12505,7 +12505,7 @@ impl CompositionShape { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12513,14 +12513,14 @@ impl CompositionShape { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12538,7 +12538,7 @@ impl CompositionShape { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12549,7 +12549,7 @@ impl CompositionShape { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12578,14 +12578,14 @@ impl CompositionShape { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12601,7 +12601,7 @@ impl CompositionShape { pub fn CenterPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12614,7 +12614,7 @@ impl CompositionShape { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12626,7 +12626,7 @@ impl CompositionShape { pub fn RotationAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12637,7 +12637,7 @@ impl CompositionShape { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12649,7 +12649,7 @@ impl CompositionShape { pub fn Scale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12662,7 +12662,7 @@ impl CompositionShape { pub fn TransformMatrix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12708,7 +12708,7 @@ impl CompositionShapeCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12716,14 +12716,14 @@ impl CompositionShapeCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12741,7 +12741,7 @@ impl CompositionShapeCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12752,7 +12752,7 @@ impl CompositionShapeCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12781,14 +12781,14 @@ impl CompositionShapeCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12804,7 +12804,7 @@ impl CompositionShapeCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12812,7 +12812,7 @@ impl CompositionShapeCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12820,7 +12820,7 @@ impl CompositionShapeCollection { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -12828,7 +12828,7 @@ impl CompositionShapeCollection { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12839,7 +12839,7 @@ impl CompositionShapeCollection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -12886,7 +12886,7 @@ impl CompositionShapeCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -12949,7 +12949,7 @@ impl CompositionSpriteShape { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12957,14 +12957,14 @@ impl CompositionSpriteShape { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12982,7 +12982,7 @@ impl CompositionSpriteShape { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12993,7 +12993,7 @@ impl CompositionSpriteShape { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13022,14 +13022,14 @@ impl CompositionSpriteShape { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13045,7 +13045,7 @@ impl CompositionSpriteShape { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13058,7 +13058,7 @@ impl CompositionSpriteShape { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13070,7 +13070,7 @@ impl CompositionSpriteShape { pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13081,7 +13081,7 @@ impl CompositionSpriteShape { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13093,7 +13093,7 @@ impl CompositionSpriteShape { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13106,7 +13106,7 @@ impl CompositionSpriteShape { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13118,7 +13118,7 @@ impl CompositionSpriteShape { pub fn FillBrush(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FillBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13132,7 +13132,7 @@ impl CompositionSpriteShape { pub fn Geometry(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Geometry)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13146,7 +13146,7 @@ impl CompositionSpriteShape { pub fn IsStrokeNonScaling(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsStrokeNonScaling)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13157,7 +13157,7 @@ impl CompositionSpriteShape { pub fn StrokeBrush(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13172,14 +13172,14 @@ impl CompositionSpriteShape { pub fn StrokeDashArray(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeDashArray)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StrokeDashCap(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeDashCap)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13190,7 +13190,7 @@ impl CompositionSpriteShape { pub fn StrokeDashOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeDashOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13201,7 +13201,7 @@ impl CompositionSpriteShape { pub fn StrokeEndCap(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeEndCap)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13212,7 +13212,7 @@ impl CompositionSpriteShape { pub fn StrokeLineJoin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeLineJoin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13223,7 +13223,7 @@ impl CompositionSpriteShape { pub fn StrokeMiterLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeMiterLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13234,7 +13234,7 @@ impl CompositionSpriteShape { pub fn StrokeStartCap(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeStartCap)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13245,7 +13245,7 @@ impl CompositionSpriteShape { pub fn StrokeThickness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeThickness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13290,7 +13290,7 @@ impl CompositionStrokeDashArray { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13298,14 +13298,14 @@ impl CompositionStrokeDashArray { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13323,7 +13323,7 @@ impl CompositionStrokeDashArray { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13334,7 +13334,7 @@ impl CompositionStrokeDashArray { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13363,14 +13363,14 @@ impl CompositionStrokeDashArray { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13386,7 +13386,7 @@ impl CompositionStrokeDashArray { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13394,7 +13394,7 @@ impl CompositionStrokeDashArray { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).map(|| result__) } } @@ -13402,7 +13402,7 @@ impl CompositionStrokeDashArray { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13410,7 +13410,7 @@ impl CompositionStrokeDashArray { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13418,7 +13418,7 @@ impl CompositionStrokeDashArray { pub fn IndexOf(&self, value: f32, index: &mut u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value, index, &mut result__).map(|| result__) } } @@ -13456,7 +13456,7 @@ impl CompositionStrokeDashArray { pub fn GetMany(&self, startindex: u32, items: &mut [f32]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), items.as_mut_ptr(), &mut result__).map(|| result__) } } @@ -13519,7 +13519,7 @@ impl CompositionSurfaceBrush { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13527,14 +13527,14 @@ impl CompositionSurfaceBrush { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13552,7 +13552,7 @@ impl CompositionSurfaceBrush { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13563,7 +13563,7 @@ impl CompositionSurfaceBrush { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13592,14 +13592,14 @@ impl CompositionSurfaceBrush { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13614,7 +13614,7 @@ impl CompositionSurfaceBrush { pub fn BitmapInterpolationMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BitmapInterpolationMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13625,7 +13625,7 @@ impl CompositionSurfaceBrush { pub fn HorizontalAlignmentRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HorizontalAlignmentRatio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13636,7 +13636,7 @@ impl CompositionSurfaceBrush { pub fn Stretch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stretch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13647,7 +13647,7 @@ impl CompositionSurfaceBrush { pub fn Surface(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Surface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13661,7 +13661,7 @@ impl CompositionSurfaceBrush { pub fn VerticalAlignmentRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerticalAlignmentRatio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13673,7 +13673,7 @@ impl CompositionSurfaceBrush { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13686,7 +13686,7 @@ impl CompositionSurfaceBrush { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13699,7 +13699,7 @@ impl CompositionSurfaceBrush { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13711,7 +13711,7 @@ impl CompositionSurfaceBrush { pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13722,7 +13722,7 @@ impl CompositionSurfaceBrush { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13734,7 +13734,7 @@ impl CompositionSurfaceBrush { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13747,7 +13747,7 @@ impl CompositionSurfaceBrush { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13759,7 +13759,7 @@ impl CompositionSurfaceBrush { pub fn SnapToPixels(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SnapToPixels)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -13800,7 +13800,7 @@ impl CompositionTarget { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13808,14 +13808,14 @@ impl CompositionTarget { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13833,7 +13833,7 @@ impl CompositionTarget { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13844,7 +13844,7 @@ impl CompositionTarget { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13873,14 +13873,14 @@ impl CompositionTarget { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13895,7 +13895,7 @@ impl CompositionTarget { pub fn Root(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Root)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13939,7 +13939,7 @@ impl CompositionTexture { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13947,14 +13947,14 @@ impl CompositionTexture { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13972,7 +13972,7 @@ impl CompositionTexture { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13983,7 +13983,7 @@ impl CompositionTexture { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14012,14 +14012,14 @@ impl CompositionTexture { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14035,7 +14035,7 @@ impl CompositionTexture { pub fn SourceRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14048,7 +14048,7 @@ impl CompositionTexture { pub fn AlphaMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14061,7 +14061,7 @@ impl CompositionTexture { pub fn ColorSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorSpace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14103,7 +14103,7 @@ impl CompositionTransform { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14111,14 +14111,14 @@ impl CompositionTransform { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14136,7 +14136,7 @@ impl CompositionTransform { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14147,7 +14147,7 @@ impl CompositionTransform { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14176,14 +14176,14 @@ impl CompositionTransform { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14228,7 +14228,7 @@ impl CompositionViewBox { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14236,14 +14236,14 @@ impl CompositionViewBox { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14261,7 +14261,7 @@ impl CompositionViewBox { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14272,7 +14272,7 @@ impl CompositionViewBox { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14301,14 +14301,14 @@ impl CompositionViewBox { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14323,7 +14323,7 @@ impl CompositionViewBox { pub fn HorizontalAlignmentRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HorizontalAlignmentRatio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14335,7 +14335,7 @@ impl CompositionViewBox { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14348,7 +14348,7 @@ impl CompositionViewBox { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14360,7 +14360,7 @@ impl CompositionViewBox { pub fn Stretch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Stretch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14371,7 +14371,7 @@ impl CompositionViewBox { pub fn VerticalAlignmentRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VerticalAlignmentRatio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14413,7 +14413,7 @@ impl CompositionVirtualDrawingSurface { pub fn AlphaMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlphaMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14421,14 +14421,14 @@ impl CompositionVirtualDrawingSurface { pub fn PixelFormat(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PixelFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14436,7 +14436,7 @@ impl CompositionVirtualDrawingSurface { pub fn SizeInt32(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeInt32)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14468,7 +14468,7 @@ impl CompositionVirtualDrawingSurface { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14476,14 +14476,14 @@ impl CompositionVirtualDrawingSurface { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14501,7 +14501,7 @@ impl CompositionVirtualDrawingSurface { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14512,7 +14512,7 @@ impl CompositionVirtualDrawingSurface { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14541,14 +14541,14 @@ impl CompositionVirtualDrawingSurface { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14598,7 +14598,7 @@ impl CompositionVisualSurface { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14606,14 +14606,14 @@ impl CompositionVisualSurface { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14631,7 +14631,7 @@ impl CompositionVisualSurface { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14642,7 +14642,7 @@ impl CompositionVisualSurface { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14671,14 +14671,14 @@ impl CompositionVisualSurface { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14693,7 +14693,7 @@ impl CompositionVisualSurface { pub fn SourceVisual(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceVisual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14708,7 +14708,7 @@ impl CompositionVisualSurface { pub fn SourceOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14721,7 +14721,7 @@ impl CompositionVisualSurface { pub fn SourceSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -14763,28 +14763,28 @@ impl Compositor { pub fn CreateColorKeyFrameAnimation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateColorKeyFrameAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateColorBrush(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateColorBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateColorBrushWithColor(&self, color: super::Color) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateColorBrushWithColor)(windows_core::Interface::as_raw(this), color, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateContainerVisual(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContainerVisual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14792,7 +14792,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCubicBezierEasingFunction)(windows_core::Interface::as_raw(this), controlpoint1, controlpoint2, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14803,7 +14803,7 @@ impl Compositor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEffectFactory)(windows_core::Interface::as_raw(this), graphicseffect.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14815,84 +14815,84 @@ impl Compositor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEffectFactoryWithProperties)(windows_core::Interface::as_raw(this), graphicseffect.param().abi(), animatableproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateExpressionAnimation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateExpressionAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateExpressionAnimationWithExpression(&self, expression: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateExpressionAnimationWithExpression)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(expression), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateInsetClip(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInsetClip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInsetClipWithInsets)(windows_core::Interface::as_raw(this), leftinset, topinset, rightinset, bottominset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLinearEasingFunction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLinearEasingFunction)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreatePropertySet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePropertySet)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateQuaternionKeyFrameAnimation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateQuaternionKeyFrameAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateScalarKeyFrameAnimation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateScalarKeyFrameAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateScopedBatch(&self, batchtype: CompositionBatchTypes) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateScopedBatch)(windows_core::Interface::as_raw(this), batchtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSpriteVisual(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSpriteVisual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSurfaceBrush(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSurfaceBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14902,189 +14902,189 @@ impl Compositor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSurfaceBrushWithSurface)(windows_core::Interface::as_raw(this), surface.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateTargetForCurrentView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTargetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateVector2KeyFrameAnimation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVector2KeyFrameAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateVector3KeyFrameAnimation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVector3KeyFrameAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateVector4KeyFrameAnimation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVector4KeyFrameAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCommitBatch(&self, batchtype: CompositionBatchTypes) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCommitBatch)(windows_core::Interface::as_raw(this), batchtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAmbientLight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAmbientLight)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAnimationGroup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAnimationGroup)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateBackdropBrush(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBackdropBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateDistantLight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDistantLight)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateDropShadow(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDropShadow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateImplicitAnimationCollection(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateImplicitAnimationCollection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLayerVisual(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLayerVisual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateMaskBrush(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMaskBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateNineGridBrush(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNineGridBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreatePointLight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePointLight)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSpotLight(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSpotLight)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateStepEasingFunction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStepEasingFunction)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateStepEasingFunctionWithStepCount(&self, stepcount: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStepEasingFunctionWithStepCount)(windows_core::Interface::as_raw(this), stepcount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateHostBackdropBrush(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateHostBackdropBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateColorGradientStop(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateColorGradientStop)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateColorGradientStopWithOffsetAndColor)(windows_core::Interface::as_raw(this), offset, color, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLinearGradientBrush(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLinearGradientBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSpringScalarAnimation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSpringScalarAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSpringVector2Animation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSpringVector2Animation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSpringVector3Animation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSpringVector3Animation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15095,7 +15095,7 @@ impl Compositor { pub fn GlobalPlaybackRate(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GlobalPlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15106,49 +15106,49 @@ impl Compositor { pub fn CreateBounceScalarAnimation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBounceScalarAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateBounceVector2Animation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBounceVector2Animation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateBounceVector3Animation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBounceVector3Animation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateContainerShape(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateContainerShape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateEllipseGeometry(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEllipseGeometry)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateLineGeometry(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateLineGeometry)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreatePathGeometry(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePathGeometry)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15158,42 +15158,42 @@ impl Compositor { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePathGeometryWithPath)(windows_core::Interface::as_raw(this), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreatePathKeyFrameAnimation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreatePathKeyFrameAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateRectangleGeometry(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRectangleGeometry)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateRoundedRectangleGeometry(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRoundedRectangleGeometry)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateShapeVisual(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateShapeVisual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSpriteShape(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSpriteShape)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15203,28 +15203,28 @@ impl Compositor { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSpriteShapeWithGeometry)(windows_core::Interface::as_raw(this), geometry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateViewBox(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateViewBox)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestCommitAsync(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCommitAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateGeometricClip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateGeometricClip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15234,14 +15234,14 @@ impl Compositor { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateGeometricClipWithGeometry)(windows_core::Interface::as_raw(this), geometry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateRedirectVisual(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRedirectVisual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15251,14 +15251,14 @@ impl Compositor { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRedirectVisualWithSourceVisual)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateBooleanKeyFrameAnimation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBooleanKeyFrameAnimation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15266,28 +15266,28 @@ impl Compositor { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAnimationPropertyInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAnimationPropertyInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateRectangleClip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRectangleClip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRectangleClipWithSides)(windows_core::Interface::as_raw(this), left, top, right, bottom, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15295,68 +15295,68 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRectangleClipWithSidesAndRadius)(windows_core::Interface::as_raw(this), left, top, right, bottom, topleftradius, toprightradius, bottomrightradius, bottomleftradius, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateAnimationController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAnimationController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxGlobalPlaybackRate() -> windows_core::Result { Self::ICompositorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxGlobalPlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MinGlobalPlaybackRate() -> windows_core::Result { Self::ICompositorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinGlobalPlaybackRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TryCreateBlurredWallpaperBackdropBrush(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateBlurredWallpaperBackdropBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateProjectedShadowCaster(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateProjectedShadowCaster)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateProjectedShadow(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateProjectedShadow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateProjectedShadowReceiver(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateProjectedShadowReceiver)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateRadialGradientBrush(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateRadialGradientBrush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateVisualSurface(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateVisualSurface)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15398,7 +15398,7 @@ impl ContainerVisual { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15406,14 +15406,14 @@ impl ContainerVisual { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15431,7 +15431,7 @@ impl ContainerVisual { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15442,7 +15442,7 @@ impl ContainerVisual { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15471,14 +15471,14 @@ impl ContainerVisual { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15493,7 +15493,7 @@ impl ContainerVisual { pub fn Children(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15501,7 +15501,7 @@ impl ContainerVisual { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15513,7 +15513,7 @@ impl ContainerVisual { pub fn BackfaceVisibility(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackfaceVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15524,7 +15524,7 @@ impl ContainerVisual { pub fn BorderMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BorderMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15536,7 +15536,7 @@ impl ContainerVisual { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15548,7 +15548,7 @@ impl ContainerVisual { pub fn Clip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15562,7 +15562,7 @@ impl ContainerVisual { pub fn CompositeMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositeMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15573,7 +15573,7 @@ impl ContainerVisual { pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15585,7 +15585,7 @@ impl ContainerVisual { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15597,7 +15597,7 @@ impl ContainerVisual { pub fn Opacity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15609,7 +15609,7 @@ impl ContainerVisual { pub fn Orientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15621,14 +15621,14 @@ impl ContainerVisual { pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15639,7 +15639,7 @@ impl ContainerVisual { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15651,7 +15651,7 @@ impl ContainerVisual { pub fn RotationAxis(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAxis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15664,7 +15664,7 @@ impl ContainerVisual { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15677,7 +15677,7 @@ impl ContainerVisual { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15690,7 +15690,7 @@ impl ContainerVisual { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15702,7 +15702,7 @@ impl ContainerVisual { pub fn ParentForTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentForTransform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15717,7 +15717,7 @@ impl ContainerVisual { pub fn RelativeOffsetAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeOffsetAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15730,7 +15730,7 @@ impl ContainerVisual { pub fn RelativeSizeAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeSizeAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15742,7 +15742,7 @@ impl ContainerVisual { pub fn IsHitTestVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHitTestVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15753,7 +15753,7 @@ impl ContainerVisual { pub fn IsPixelSnappingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15794,7 +15794,7 @@ impl CubicBezierEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15802,14 +15802,14 @@ impl CubicBezierEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15827,7 +15827,7 @@ impl CubicBezierEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15838,7 +15838,7 @@ impl CubicBezierEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15867,14 +15867,14 @@ impl CubicBezierEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15890,7 +15890,7 @@ impl CubicBezierEasingFunction { pub fn ControlPoint1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlPoint1)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15898,7 +15898,7 @@ impl CubicBezierEasingFunction { pub fn ControlPoint2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlPoint2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -15935,7 +15935,7 @@ impl DelegatedInkTrailVisual { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15943,14 +15943,14 @@ impl DelegatedInkTrailVisual { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15968,7 +15968,7 @@ impl DelegatedInkTrailVisual { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15979,7 +15979,7 @@ impl DelegatedInkTrailVisual { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16008,14 +16008,14 @@ impl DelegatedInkTrailVisual { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16030,14 +16030,14 @@ impl DelegatedInkTrailVisual { pub fn AddTrailPoints(&self, inkpoints: &[InkTrailPoint]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddTrailPoints)(windows_core::Interface::as_raw(this), inkpoints.len().try_into().unwrap(), inkpoints.as_ptr(), &mut result__).map(|| result__) } } pub fn AddTrailPointsWithPrediction(&self, inkpoints: &[InkTrailPoint], predictedinkpoints: &[InkTrailPoint]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddTrailPointsWithPrediction)(windows_core::Interface::as_raw(this), inkpoints.len().try_into().unwrap(), inkpoints.as_ptr(), predictedinkpoints.len().try_into().unwrap(), predictedinkpoints.as_ptr(), &mut result__).map(|| result__) } } @@ -16054,7 +16054,7 @@ impl DelegatedInkTrailVisual { P0: windows_core::Param, { Self::IDelegatedInkTrailVisualStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), compositor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -16064,7 +16064,7 @@ impl DelegatedInkTrailVisual { P1: windows_core::Param, { Self::IDelegatedInkTrailVisualStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForSwapChain)(windows_core::Interface::as_raw(this), compositor.param().abi(), swapchain.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -16072,7 +16072,7 @@ impl DelegatedInkTrailVisual { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16084,7 +16084,7 @@ impl DelegatedInkTrailVisual { pub fn BackfaceVisibility(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackfaceVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16095,7 +16095,7 @@ impl DelegatedInkTrailVisual { pub fn BorderMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BorderMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16107,7 +16107,7 @@ impl DelegatedInkTrailVisual { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16119,7 +16119,7 @@ impl DelegatedInkTrailVisual { pub fn Clip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16133,7 +16133,7 @@ impl DelegatedInkTrailVisual { pub fn CompositeMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositeMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16144,7 +16144,7 @@ impl DelegatedInkTrailVisual { pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16156,7 +16156,7 @@ impl DelegatedInkTrailVisual { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16168,7 +16168,7 @@ impl DelegatedInkTrailVisual { pub fn Opacity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16180,7 +16180,7 @@ impl DelegatedInkTrailVisual { pub fn Orientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16192,14 +16192,14 @@ impl DelegatedInkTrailVisual { pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16210,7 +16210,7 @@ impl DelegatedInkTrailVisual { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16222,7 +16222,7 @@ impl DelegatedInkTrailVisual { pub fn RotationAxis(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAxis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16235,7 +16235,7 @@ impl DelegatedInkTrailVisual { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16248,7 +16248,7 @@ impl DelegatedInkTrailVisual { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16261,7 +16261,7 @@ impl DelegatedInkTrailVisual { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16273,7 +16273,7 @@ impl DelegatedInkTrailVisual { pub fn ParentForTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentForTransform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16288,7 +16288,7 @@ impl DelegatedInkTrailVisual { pub fn RelativeOffsetAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeOffsetAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16301,7 +16301,7 @@ impl DelegatedInkTrailVisual { pub fn RelativeSizeAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeSizeAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16313,7 +16313,7 @@ impl DelegatedInkTrailVisual { pub fn IsHitTestVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHitTestVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16324,7 +16324,7 @@ impl DelegatedInkTrailVisual { pub fn IsPixelSnappingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16370,21 +16370,21 @@ impl DistantLight { pub fn Targets(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Targets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExclusionsFromTargets(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExclusionsFromTargets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16395,7 +16395,7 @@ impl DistantLight { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16403,14 +16403,14 @@ impl DistantLight { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16428,7 +16428,7 @@ impl DistantLight { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16439,7 +16439,7 @@ impl DistantLight { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16468,14 +16468,14 @@ impl DistantLight { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16490,7 +16490,7 @@ impl DistantLight { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16501,7 +16501,7 @@ impl DistantLight { pub fn CoordinateSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSpace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16516,7 +16516,7 @@ impl DistantLight { pub fn Direction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16528,7 +16528,7 @@ impl DistantLight { pub fn Intensity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Intensity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16569,7 +16569,7 @@ impl DropShadow { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16577,14 +16577,14 @@ impl DropShadow { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16602,7 +16602,7 @@ impl DropShadow { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16613,7 +16613,7 @@ impl DropShadow { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16642,14 +16642,14 @@ impl DropShadow { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16664,7 +16664,7 @@ impl DropShadow { pub fn BlurRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlurRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16675,7 +16675,7 @@ impl DropShadow { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16686,7 +16686,7 @@ impl DropShadow { pub fn Mask(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mask)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16701,7 +16701,7 @@ impl DropShadow { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16713,7 +16713,7 @@ impl DropShadow { pub fn Opacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16724,7 +16724,7 @@ impl DropShadow { pub fn SourcePolicy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourcePolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16765,7 +16765,7 @@ impl ElasticEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16773,14 +16773,14 @@ impl ElasticEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16798,7 +16798,7 @@ impl ElasticEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16809,7 +16809,7 @@ impl ElasticEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16838,14 +16838,14 @@ impl ElasticEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16860,21 +16860,21 @@ impl ElasticEasingFunction { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Oscillations(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Oscillations)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Springiness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Springiness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -16911,7 +16911,7 @@ impl ExponentialEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16919,14 +16919,14 @@ impl ExponentialEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16944,7 +16944,7 @@ impl ExponentialEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16955,7 +16955,7 @@ impl ExponentialEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16984,14 +16984,14 @@ impl ExponentialEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17006,14 +17006,14 @@ impl ExponentialEasingFunction { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Exponent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exponent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17107,7 +17107,7 @@ impl ExpressionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17119,7 +17119,7 @@ impl ExpressionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17133,7 +17133,7 @@ impl ExpressionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17141,14 +17141,14 @@ impl ExpressionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17166,7 +17166,7 @@ impl ExpressionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17177,7 +17177,7 @@ impl ExpressionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17206,14 +17206,14 @@ impl ExpressionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17228,7 +17228,7 @@ impl ExpressionAnimation { pub fn Expression(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Expression)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17270,7 +17270,7 @@ impl ImplicitAnimationCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17278,14 +17278,14 @@ impl ImplicitAnimationCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17303,7 +17303,7 @@ impl ImplicitAnimationCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17314,7 +17314,7 @@ impl ImplicitAnimationCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17343,14 +17343,14 @@ impl ImplicitAnimationCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17366,7 +17366,7 @@ impl ImplicitAnimationCollection { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17374,7 +17374,7 @@ impl ImplicitAnimationCollection { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17382,7 +17382,7 @@ impl ImplicitAnimationCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17390,7 +17390,7 @@ impl ImplicitAnimationCollection { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -17398,7 +17398,7 @@ impl ImplicitAnimationCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17409,7 +17409,7 @@ impl ImplicitAnimationCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), value.param().abi(), &mut result__).map(|| result__) } } @@ -17476,7 +17476,7 @@ impl InitialValueExpressionCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17484,14 +17484,14 @@ impl InitialValueExpressionCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17509,7 +17509,7 @@ impl InitialValueExpressionCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17520,7 +17520,7 @@ impl InitialValueExpressionCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17549,14 +17549,14 @@ impl InitialValueExpressionCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17572,7 +17572,7 @@ impl InitialValueExpressionCollection { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17580,7 +17580,7 @@ impl InitialValueExpressionCollection { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17588,7 +17588,7 @@ impl InitialValueExpressionCollection { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17596,7 +17596,7 @@ impl InitialValueExpressionCollection { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -17604,7 +17604,7 @@ impl InitialValueExpressionCollection { pub fn GetView(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17612,7 +17612,7 @@ impl InitialValueExpressionCollection { pub fn Insert(&self, key: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -17681,7 +17681,7 @@ impl InsetClip { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17694,7 +17694,7 @@ impl InsetClip { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17707,7 +17707,7 @@ impl InsetClip { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17719,7 +17719,7 @@ impl InsetClip { pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17730,7 +17730,7 @@ impl InsetClip { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17742,7 +17742,7 @@ impl InsetClip { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17755,7 +17755,7 @@ impl InsetClip { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17767,7 +17767,7 @@ impl InsetClip { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17775,14 +17775,14 @@ impl InsetClip { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17800,7 +17800,7 @@ impl InsetClip { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17811,7 +17811,7 @@ impl InsetClip { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17840,14 +17840,14 @@ impl InsetClip { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17862,7 +17862,7 @@ impl InsetClip { pub fn BottomInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BottomInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17873,7 +17873,7 @@ impl InsetClip { pub fn LeftInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeftInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17884,7 +17884,7 @@ impl InsetClip { pub fn RightInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17895,7 +17895,7 @@ impl InsetClip { pub fn TopInset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TopInset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -17993,7 +17993,7 @@ impl KeyFrameAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18005,7 +18005,7 @@ impl KeyFrameAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18019,7 +18019,7 @@ impl KeyFrameAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18027,14 +18027,14 @@ impl KeyFrameAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18052,7 +18052,7 @@ impl KeyFrameAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18063,7 +18063,7 @@ impl KeyFrameAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18092,14 +18092,14 @@ impl KeyFrameAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18114,7 +18114,7 @@ impl KeyFrameAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18125,7 +18125,7 @@ impl KeyFrameAnimation { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18136,7 +18136,7 @@ impl KeyFrameAnimation { pub fn IterationBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18147,7 +18147,7 @@ impl KeyFrameAnimation { pub fn IterationCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18158,14 +18158,14 @@ impl KeyFrameAnimation { pub fn KeyFrameCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18187,7 +18187,7 @@ impl KeyFrameAnimation { pub fn Direction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18198,7 +18198,7 @@ impl KeyFrameAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18239,7 +18239,7 @@ impl LayerVisual { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18247,14 +18247,14 @@ impl LayerVisual { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18272,7 +18272,7 @@ impl LayerVisual { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18283,7 +18283,7 @@ impl LayerVisual { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18312,14 +18312,14 @@ impl LayerVisual { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18334,14 +18334,14 @@ impl LayerVisual { pub fn Children(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Effect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Effect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18355,7 +18355,7 @@ impl LayerVisual { pub fn Shadow(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shadow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18370,7 +18370,7 @@ impl LayerVisual { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18382,7 +18382,7 @@ impl LayerVisual { pub fn BackfaceVisibility(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackfaceVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18393,7 +18393,7 @@ impl LayerVisual { pub fn BorderMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BorderMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18405,7 +18405,7 @@ impl LayerVisual { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18417,7 +18417,7 @@ impl LayerVisual { pub fn Clip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18431,7 +18431,7 @@ impl LayerVisual { pub fn CompositeMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositeMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18442,7 +18442,7 @@ impl LayerVisual { pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18454,7 +18454,7 @@ impl LayerVisual { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18466,7 +18466,7 @@ impl LayerVisual { pub fn Opacity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18478,7 +18478,7 @@ impl LayerVisual { pub fn Orientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18490,14 +18490,14 @@ impl LayerVisual { pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18508,7 +18508,7 @@ impl LayerVisual { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18520,7 +18520,7 @@ impl LayerVisual { pub fn RotationAxis(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAxis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18533,7 +18533,7 @@ impl LayerVisual { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18546,7 +18546,7 @@ impl LayerVisual { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18559,7 +18559,7 @@ impl LayerVisual { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18571,7 +18571,7 @@ impl LayerVisual { pub fn ParentForTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentForTransform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18586,7 +18586,7 @@ impl LayerVisual { pub fn RelativeOffsetAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeOffsetAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18599,7 +18599,7 @@ impl LayerVisual { pub fn RelativeSizeAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeSizeAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18611,7 +18611,7 @@ impl LayerVisual { pub fn IsHitTestVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHitTestVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18622,7 +18622,7 @@ impl LayerVisual { pub fn IsPixelSnappingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18663,7 +18663,7 @@ impl LinearEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18671,14 +18671,14 @@ impl LinearEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18696,7 +18696,7 @@ impl LinearEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18707,7 +18707,7 @@ impl LinearEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18736,14 +18736,14 @@ impl LinearEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18845,7 +18845,7 @@ impl NaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18857,7 +18857,7 @@ impl NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18871,7 +18871,7 @@ impl NaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18879,14 +18879,14 @@ impl NaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18904,7 +18904,7 @@ impl NaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18915,7 +18915,7 @@ impl NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18944,14 +18944,14 @@ impl NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18966,7 +18966,7 @@ impl NaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18977,7 +18977,7 @@ impl NaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -18988,7 +18988,7 @@ impl NaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19086,7 +19086,7 @@ impl PathKeyFrameAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19098,7 +19098,7 @@ impl PathKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19112,7 +19112,7 @@ impl PathKeyFrameAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19120,14 +19120,14 @@ impl PathKeyFrameAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19145,7 +19145,7 @@ impl PathKeyFrameAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19156,7 +19156,7 @@ impl PathKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19185,14 +19185,14 @@ impl PathKeyFrameAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19207,7 +19207,7 @@ impl PathKeyFrameAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19218,7 +19218,7 @@ impl PathKeyFrameAnimation { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19229,7 +19229,7 @@ impl PathKeyFrameAnimation { pub fn IterationBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19240,7 +19240,7 @@ impl PathKeyFrameAnimation { pub fn IterationCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19251,14 +19251,14 @@ impl PathKeyFrameAnimation { pub fn KeyFrameCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19280,7 +19280,7 @@ impl PathKeyFrameAnimation { pub fn Direction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19291,7 +19291,7 @@ impl PathKeyFrameAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19347,21 +19347,21 @@ impl PointLight { pub fn Targets(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Targets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExclusionsFromTargets(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExclusionsFromTargets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19372,7 +19372,7 @@ impl PointLight { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19380,14 +19380,14 @@ impl PointLight { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19405,7 +19405,7 @@ impl PointLight { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19416,7 +19416,7 @@ impl PointLight { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19445,14 +19445,14 @@ impl PointLight { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19467,7 +19467,7 @@ impl PointLight { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19478,7 +19478,7 @@ impl PointLight { pub fn ConstantAttenuation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConstantAttenuation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19489,7 +19489,7 @@ impl PointLight { pub fn CoordinateSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSpace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19503,7 +19503,7 @@ impl PointLight { pub fn LinearAttenuation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinearAttenuation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19515,7 +19515,7 @@ impl PointLight { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19527,7 +19527,7 @@ impl PointLight { pub fn QuadraticAttenuation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuadraticAttenuation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19538,7 +19538,7 @@ impl PointLight { pub fn Intensity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Intensity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19549,7 +19549,7 @@ impl PointLight { pub fn MinAttenuationCutoff(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinAttenuationCutoff)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19560,7 +19560,7 @@ impl PointLight { pub fn MaxAttenuationCutoff(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAttenuationCutoff)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19601,7 +19601,7 @@ impl PowerEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19609,14 +19609,14 @@ impl PowerEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19634,7 +19634,7 @@ impl PowerEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19645,7 +19645,7 @@ impl PowerEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19674,14 +19674,14 @@ impl PowerEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19696,14 +19696,14 @@ impl PowerEasingFunction { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Power(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Power)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19797,7 +19797,7 @@ impl QuaternionKeyFrameAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19809,7 +19809,7 @@ impl QuaternionKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19823,7 +19823,7 @@ impl QuaternionKeyFrameAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19831,14 +19831,14 @@ impl QuaternionKeyFrameAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19856,7 +19856,7 @@ impl QuaternionKeyFrameAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19867,7 +19867,7 @@ impl QuaternionKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19896,14 +19896,14 @@ impl QuaternionKeyFrameAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19918,7 +19918,7 @@ impl QuaternionKeyFrameAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19929,7 +19929,7 @@ impl QuaternionKeyFrameAnimation { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19940,7 +19940,7 @@ impl QuaternionKeyFrameAnimation { pub fn IterationBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19951,7 +19951,7 @@ impl QuaternionKeyFrameAnimation { pub fn IterationCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19962,14 +19962,14 @@ impl QuaternionKeyFrameAnimation { pub fn KeyFrameCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -19991,7 +19991,7 @@ impl QuaternionKeyFrameAnimation { pub fn Direction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20002,7 +20002,7 @@ impl QuaternionKeyFrameAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20057,7 +20057,7 @@ impl RectangleClip { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20070,7 +20070,7 @@ impl RectangleClip { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20083,7 +20083,7 @@ impl RectangleClip { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20095,7 +20095,7 @@ impl RectangleClip { pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20106,7 +20106,7 @@ impl RectangleClip { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20118,7 +20118,7 @@ impl RectangleClip { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20131,7 +20131,7 @@ impl RectangleClip { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20143,7 +20143,7 @@ impl RectangleClip { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20151,14 +20151,14 @@ impl RectangleClip { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20176,7 +20176,7 @@ impl RectangleClip { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20187,7 +20187,7 @@ impl RectangleClip { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20216,14 +20216,14 @@ impl RectangleClip { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20238,7 +20238,7 @@ impl RectangleClip { pub fn Bottom(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bottom)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20250,7 +20250,7 @@ impl RectangleClip { pub fn BottomLeftRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BottomLeftRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20263,7 +20263,7 @@ impl RectangleClip { pub fn BottomRightRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BottomRightRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20275,7 +20275,7 @@ impl RectangleClip { pub fn Left(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Left)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20286,7 +20286,7 @@ impl RectangleClip { pub fn Right(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Right)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20297,7 +20297,7 @@ impl RectangleClip { pub fn Top(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Top)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20309,7 +20309,7 @@ impl RectangleClip { pub fn TopLeftRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TopLeftRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20322,7 +20322,7 @@ impl RectangleClip { pub fn TopRightRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TopRightRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20364,7 +20364,7 @@ impl RedirectVisual { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20372,14 +20372,14 @@ impl RedirectVisual { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20397,7 +20397,7 @@ impl RedirectVisual { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20408,7 +20408,7 @@ impl RedirectVisual { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20437,14 +20437,14 @@ impl RedirectVisual { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20459,14 +20459,14 @@ impl RedirectVisual { pub fn Children(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20481,7 +20481,7 @@ impl RedirectVisual { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20493,7 +20493,7 @@ impl RedirectVisual { pub fn BackfaceVisibility(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackfaceVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20504,7 +20504,7 @@ impl RedirectVisual { pub fn BorderMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BorderMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20516,7 +20516,7 @@ impl RedirectVisual { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20528,7 +20528,7 @@ impl RedirectVisual { pub fn Clip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20542,7 +20542,7 @@ impl RedirectVisual { pub fn CompositeMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositeMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20553,7 +20553,7 @@ impl RedirectVisual { pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20565,7 +20565,7 @@ impl RedirectVisual { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20577,7 +20577,7 @@ impl RedirectVisual { pub fn Opacity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20589,7 +20589,7 @@ impl RedirectVisual { pub fn Orientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20601,14 +20601,14 @@ impl RedirectVisual { pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20619,7 +20619,7 @@ impl RedirectVisual { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20631,7 +20631,7 @@ impl RedirectVisual { pub fn RotationAxis(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAxis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20644,7 +20644,7 @@ impl RedirectVisual { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20657,7 +20657,7 @@ impl RedirectVisual { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20670,7 +20670,7 @@ impl RedirectVisual { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20682,7 +20682,7 @@ impl RedirectVisual { pub fn ParentForTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentForTransform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20697,7 +20697,7 @@ impl RedirectVisual { pub fn RelativeOffsetAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeOffsetAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20710,7 +20710,7 @@ impl RedirectVisual { pub fn RelativeSizeAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeSizeAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20722,7 +20722,7 @@ impl RedirectVisual { pub fn IsHitTestVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHitTestVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20733,7 +20733,7 @@ impl RedirectVisual { pub fn IsPixelSnappingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -20774,7 +20774,7 @@ impl RenderingDeviceReplacedEventArgs { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20782,14 +20782,14 @@ impl RenderingDeviceReplacedEventArgs { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20807,7 +20807,7 @@ impl RenderingDeviceReplacedEventArgs { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20818,7 +20818,7 @@ impl RenderingDeviceReplacedEventArgs { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20847,14 +20847,14 @@ impl RenderingDeviceReplacedEventArgs { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20869,7 +20869,7 @@ impl RenderingDeviceReplacedEventArgs { pub fn GraphicsDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GraphicsDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20963,7 +20963,7 @@ impl ScalarKeyFrameAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20975,7 +20975,7 @@ impl ScalarKeyFrameAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20989,7 +20989,7 @@ impl ScalarKeyFrameAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20997,14 +20997,14 @@ impl ScalarKeyFrameAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21022,7 +21022,7 @@ impl ScalarKeyFrameAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21033,7 +21033,7 @@ impl ScalarKeyFrameAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21062,14 +21062,14 @@ impl ScalarKeyFrameAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21084,7 +21084,7 @@ impl ScalarKeyFrameAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21095,7 +21095,7 @@ impl ScalarKeyFrameAnimation { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21106,7 +21106,7 @@ impl ScalarKeyFrameAnimation { pub fn IterationBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21117,7 +21117,7 @@ impl ScalarKeyFrameAnimation { pub fn IterationCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21128,14 +21128,14 @@ impl ScalarKeyFrameAnimation { pub fn KeyFrameCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21157,7 +21157,7 @@ impl ScalarKeyFrameAnimation { pub fn Direction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21168,7 +21168,7 @@ impl ScalarKeyFrameAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21277,7 +21277,7 @@ impl ScalarNaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21289,7 +21289,7 @@ impl ScalarNaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21303,7 +21303,7 @@ impl ScalarNaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21311,14 +21311,14 @@ impl ScalarNaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21336,7 +21336,7 @@ impl ScalarNaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21347,7 +21347,7 @@ impl ScalarNaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21376,14 +21376,14 @@ impl ScalarNaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21398,7 +21398,7 @@ impl ScalarNaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21409,7 +21409,7 @@ impl ScalarNaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21420,7 +21420,7 @@ impl ScalarNaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21431,7 +21431,7 @@ impl ScalarNaturalMotionAnimation { pub fn FinalValue(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21445,7 +21445,7 @@ impl ScalarNaturalMotionAnimation { pub fn InitialValue(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21459,7 +21459,7 @@ impl ScalarNaturalMotionAnimation { pub fn InitialVelocity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21500,7 +21500,7 @@ impl ShapeVisual { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21508,14 +21508,14 @@ impl ShapeVisual { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21533,7 +21533,7 @@ impl ShapeVisual { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21544,7 +21544,7 @@ impl ShapeVisual { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21573,14 +21573,14 @@ impl ShapeVisual { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21595,7 +21595,7 @@ impl ShapeVisual { pub fn Children(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21603,14 +21603,14 @@ impl ShapeVisual { pub fn Shapes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shapes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ViewBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewBox)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21625,7 +21625,7 @@ impl ShapeVisual { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21637,7 +21637,7 @@ impl ShapeVisual { pub fn BackfaceVisibility(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackfaceVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21648,7 +21648,7 @@ impl ShapeVisual { pub fn BorderMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BorderMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21660,7 +21660,7 @@ impl ShapeVisual { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21672,7 +21672,7 @@ impl ShapeVisual { pub fn Clip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21686,7 +21686,7 @@ impl ShapeVisual { pub fn CompositeMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositeMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21697,7 +21697,7 @@ impl ShapeVisual { pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21709,7 +21709,7 @@ impl ShapeVisual { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21721,7 +21721,7 @@ impl ShapeVisual { pub fn Opacity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21733,7 +21733,7 @@ impl ShapeVisual { pub fn Orientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21745,14 +21745,14 @@ impl ShapeVisual { pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21763,7 +21763,7 @@ impl ShapeVisual { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21775,7 +21775,7 @@ impl ShapeVisual { pub fn RotationAxis(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAxis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21788,7 +21788,7 @@ impl ShapeVisual { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21801,7 +21801,7 @@ impl ShapeVisual { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21814,7 +21814,7 @@ impl ShapeVisual { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21826,7 +21826,7 @@ impl ShapeVisual { pub fn ParentForTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentForTransform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21841,7 +21841,7 @@ impl ShapeVisual { pub fn RelativeOffsetAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeOffsetAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21854,7 +21854,7 @@ impl ShapeVisual { pub fn RelativeSizeAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeSizeAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21866,7 +21866,7 @@ impl ShapeVisual { pub fn IsHitTestVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHitTestVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21877,7 +21877,7 @@ impl ShapeVisual { pub fn IsPixelSnappingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -21918,7 +21918,7 @@ impl SineEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21926,14 +21926,14 @@ impl SineEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21951,7 +21951,7 @@ impl SineEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21962,7 +21962,7 @@ impl SineEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21991,14 +21991,14 @@ impl SineEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22013,7 +22013,7 @@ impl SineEasingFunction { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22050,21 +22050,21 @@ impl SpotLight { pub fn Targets(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Targets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExclusionsFromTargets(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExclusionsFromTargets)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22075,7 +22075,7 @@ impl SpotLight { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22083,14 +22083,14 @@ impl SpotLight { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22108,7 +22108,7 @@ impl SpotLight { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22119,7 +22119,7 @@ impl SpotLight { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22148,14 +22148,14 @@ impl SpotLight { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22170,7 +22170,7 @@ impl SpotLight { pub fn ConstantAttenuation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConstantAttenuation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22181,7 +22181,7 @@ impl SpotLight { pub fn CoordinateSpace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CoordinateSpace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22196,7 +22196,7 @@ impl SpotLight { pub fn Direction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22208,7 +22208,7 @@ impl SpotLight { pub fn InnerConeAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerConeAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22219,7 +22219,7 @@ impl SpotLight { pub fn InnerConeAngleInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerConeAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22230,7 +22230,7 @@ impl SpotLight { pub fn InnerConeColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerConeColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22241,7 +22241,7 @@ impl SpotLight { pub fn LinearAttenuation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinearAttenuation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22253,7 +22253,7 @@ impl SpotLight { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22265,7 +22265,7 @@ impl SpotLight { pub fn OuterConeAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OuterConeAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22276,7 +22276,7 @@ impl SpotLight { pub fn OuterConeAngleInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OuterConeAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22287,7 +22287,7 @@ impl SpotLight { pub fn OuterConeColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OuterConeColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22298,7 +22298,7 @@ impl SpotLight { pub fn QuadraticAttenuation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QuadraticAttenuation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22309,7 +22309,7 @@ impl SpotLight { pub fn InnerConeIntensity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InnerConeIntensity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22320,7 +22320,7 @@ impl SpotLight { pub fn OuterConeIntensity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OuterConeIntensity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22331,7 +22331,7 @@ impl SpotLight { pub fn MinAttenuationCutoff(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinAttenuationCutoff)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22342,7 +22342,7 @@ impl SpotLight { pub fn MaxAttenuationCutoff(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAttenuationCutoff)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22440,7 +22440,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22452,7 +22452,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22466,7 +22466,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22474,14 +22474,14 @@ impl SpringScalarNaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22499,7 +22499,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22510,7 +22510,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22539,14 +22539,14 @@ impl SpringScalarNaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22561,7 +22561,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22572,7 +22572,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22583,7 +22583,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22594,7 +22594,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn FinalValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22608,7 +22608,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn InitialValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22622,7 +22622,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn InitialVelocity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22633,7 +22633,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn DampingRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DampingRatio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22644,7 +22644,7 @@ impl SpringScalarNaturalMotionAnimation { pub fn Period(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Period)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22742,7 +22742,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22754,7 +22754,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22768,7 +22768,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22776,14 +22776,14 @@ impl SpringVector2NaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22801,7 +22801,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22812,7 +22812,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22841,14 +22841,14 @@ impl SpringVector2NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22863,7 +22863,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22874,7 +22874,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22885,7 +22885,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22896,7 +22896,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn DampingRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DampingRatio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22907,7 +22907,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn Period(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Period)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22919,7 +22919,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn FinalValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22935,7 +22935,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn InitialValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22951,7 +22951,7 @@ impl SpringVector2NaturalMotionAnimation { pub fn InitialVelocity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23050,7 +23050,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23062,7 +23062,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23076,7 +23076,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23084,14 +23084,14 @@ impl SpringVector3NaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23109,7 +23109,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23120,7 +23120,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23149,14 +23149,14 @@ impl SpringVector3NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23171,7 +23171,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23182,7 +23182,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23193,7 +23193,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23204,7 +23204,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn DampingRatio(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DampingRatio)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23215,7 +23215,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn Period(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Period)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23227,7 +23227,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn FinalValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23243,7 +23243,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn InitialValue(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23259,7 +23259,7 @@ impl SpringVector3NaturalMotionAnimation { pub fn InitialVelocity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23301,7 +23301,7 @@ impl SpriteVisual { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23309,14 +23309,14 @@ impl SpriteVisual { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23334,7 +23334,7 @@ impl SpriteVisual { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23345,7 +23345,7 @@ impl SpriteVisual { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23374,14 +23374,14 @@ impl SpriteVisual { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23396,14 +23396,14 @@ impl SpriteVisual { pub fn Children(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Brush(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Brush)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23417,7 +23417,7 @@ impl SpriteVisual { pub fn Shadow(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Shadow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23432,7 +23432,7 @@ impl SpriteVisual { pub fn AnchorPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23444,7 +23444,7 @@ impl SpriteVisual { pub fn BackfaceVisibility(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackfaceVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23455,7 +23455,7 @@ impl SpriteVisual { pub fn BorderMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BorderMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23467,7 +23467,7 @@ impl SpriteVisual { pub fn CenterPoint(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23479,7 +23479,7 @@ impl SpriteVisual { pub fn Clip(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23493,7 +23493,7 @@ impl SpriteVisual { pub fn CompositeMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositeMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23504,7 +23504,7 @@ impl SpriteVisual { pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23516,7 +23516,7 @@ impl SpriteVisual { pub fn Offset(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23528,7 +23528,7 @@ impl SpriteVisual { pub fn Opacity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23540,7 +23540,7 @@ impl SpriteVisual { pub fn Orientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23552,14 +23552,14 @@ impl SpriteVisual { pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RotationAngle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23570,7 +23570,7 @@ impl SpriteVisual { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23582,7 +23582,7 @@ impl SpriteVisual { pub fn RotationAxis(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAxis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23595,7 +23595,7 @@ impl SpriteVisual { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23608,7 +23608,7 @@ impl SpriteVisual { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23621,7 +23621,7 @@ impl SpriteVisual { pub fn TransformMatrix(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23633,7 +23633,7 @@ impl SpriteVisual { pub fn ParentForTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentForTransform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23648,7 +23648,7 @@ impl SpriteVisual { pub fn RelativeOffsetAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeOffsetAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23661,7 +23661,7 @@ impl SpriteVisual { pub fn RelativeSizeAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeSizeAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23673,7 +23673,7 @@ impl SpriteVisual { pub fn IsHitTestVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHitTestVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23684,7 +23684,7 @@ impl SpriteVisual { pub fn IsPixelSnappingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23725,7 +23725,7 @@ impl StepEasingFunction { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23733,14 +23733,14 @@ impl StepEasingFunction { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23758,7 +23758,7 @@ impl StepEasingFunction { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23769,7 +23769,7 @@ impl StepEasingFunction { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23798,14 +23798,14 @@ impl StepEasingFunction { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23820,7 +23820,7 @@ impl StepEasingFunction { pub fn FinalStep(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalStep)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23831,7 +23831,7 @@ impl StepEasingFunction { pub fn InitialStep(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialStep)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23842,7 +23842,7 @@ impl StepEasingFunction { pub fn IsFinalStepSingleFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFinalStepSingleFrame)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23853,7 +23853,7 @@ impl StepEasingFunction { pub fn IsInitialStepSingleFrame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInitialStepSingleFrame)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23864,7 +23864,7 @@ impl StepEasingFunction { pub fn StepCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StepCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -23962,7 +23962,7 @@ impl Vector2KeyFrameAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23974,7 +23974,7 @@ impl Vector2KeyFrameAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23988,7 +23988,7 @@ impl Vector2KeyFrameAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23996,14 +23996,14 @@ impl Vector2KeyFrameAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24021,7 +24021,7 @@ impl Vector2KeyFrameAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24032,7 +24032,7 @@ impl Vector2KeyFrameAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24061,14 +24061,14 @@ impl Vector2KeyFrameAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24083,7 +24083,7 @@ impl Vector2KeyFrameAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24094,7 +24094,7 @@ impl Vector2KeyFrameAnimation { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24105,7 +24105,7 @@ impl Vector2KeyFrameAnimation { pub fn IterationBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24116,7 +24116,7 @@ impl Vector2KeyFrameAnimation { pub fn IterationCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24127,14 +24127,14 @@ impl Vector2KeyFrameAnimation { pub fn KeyFrameCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24156,7 +24156,7 @@ impl Vector2KeyFrameAnimation { pub fn Direction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24167,7 +24167,7 @@ impl Vector2KeyFrameAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24278,7 +24278,7 @@ impl Vector2NaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24290,7 +24290,7 @@ impl Vector2NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24304,7 +24304,7 @@ impl Vector2NaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24312,14 +24312,14 @@ impl Vector2NaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24337,7 +24337,7 @@ impl Vector2NaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24348,7 +24348,7 @@ impl Vector2NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24377,14 +24377,14 @@ impl Vector2NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24399,7 +24399,7 @@ impl Vector2NaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24410,7 +24410,7 @@ impl Vector2NaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24421,7 +24421,7 @@ impl Vector2NaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24433,7 +24433,7 @@ impl Vector2NaturalMotionAnimation { pub fn FinalValue(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24449,7 +24449,7 @@ impl Vector2NaturalMotionAnimation { pub fn InitialValue(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24465,7 +24465,7 @@ impl Vector2NaturalMotionAnimation { pub fn InitialVelocity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24564,7 +24564,7 @@ impl Vector3KeyFrameAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24576,7 +24576,7 @@ impl Vector3KeyFrameAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24590,7 +24590,7 @@ impl Vector3KeyFrameAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24598,14 +24598,14 @@ impl Vector3KeyFrameAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24623,7 +24623,7 @@ impl Vector3KeyFrameAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24634,7 +24634,7 @@ impl Vector3KeyFrameAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24663,14 +24663,14 @@ impl Vector3KeyFrameAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24685,7 +24685,7 @@ impl Vector3KeyFrameAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24696,7 +24696,7 @@ impl Vector3KeyFrameAnimation { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24707,7 +24707,7 @@ impl Vector3KeyFrameAnimation { pub fn IterationBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24718,7 +24718,7 @@ impl Vector3KeyFrameAnimation { pub fn IterationCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24729,14 +24729,14 @@ impl Vector3KeyFrameAnimation { pub fn KeyFrameCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24758,7 +24758,7 @@ impl Vector3KeyFrameAnimation { pub fn Direction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24769,7 +24769,7 @@ impl Vector3KeyFrameAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -24880,7 +24880,7 @@ impl Vector3NaturalMotionAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24892,7 +24892,7 @@ impl Vector3NaturalMotionAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24906,7 +24906,7 @@ impl Vector3NaturalMotionAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24914,14 +24914,14 @@ impl Vector3NaturalMotionAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24939,7 +24939,7 @@ impl Vector3NaturalMotionAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24950,7 +24950,7 @@ impl Vector3NaturalMotionAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24979,14 +24979,14 @@ impl Vector3NaturalMotionAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25001,7 +25001,7 @@ impl Vector3NaturalMotionAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25012,7 +25012,7 @@ impl Vector3NaturalMotionAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25023,7 +25023,7 @@ impl Vector3NaturalMotionAnimation { pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25035,7 +25035,7 @@ impl Vector3NaturalMotionAnimation { pub fn FinalValue(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25051,7 +25051,7 @@ impl Vector3NaturalMotionAnimation { pub fn InitialValue(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25067,7 +25067,7 @@ impl Vector3NaturalMotionAnimation { pub fn InitialVelocity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialVelocity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25166,7 +25166,7 @@ impl Vector4KeyFrameAnimation { pub fn Target(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Target)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25178,7 +25178,7 @@ impl Vector4KeyFrameAnimation { pub fn InitialValueExpressions(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialValueExpressions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25192,7 +25192,7 @@ impl Vector4KeyFrameAnimation { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25200,14 +25200,14 @@ impl Vector4KeyFrameAnimation { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25225,7 +25225,7 @@ impl Vector4KeyFrameAnimation { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25236,7 +25236,7 @@ impl Vector4KeyFrameAnimation { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25265,14 +25265,14 @@ impl Vector4KeyFrameAnimation { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25287,7 +25287,7 @@ impl Vector4KeyFrameAnimation { pub fn DelayTime(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25298,7 +25298,7 @@ impl Vector4KeyFrameAnimation { pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25309,7 +25309,7 @@ impl Vector4KeyFrameAnimation { pub fn IterationBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25320,7 +25320,7 @@ impl Vector4KeyFrameAnimation { pub fn IterationCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IterationCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25331,14 +25331,14 @@ impl Vector4KeyFrameAnimation { pub fn KeyFrameCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyFrameCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25360,7 +25360,7 @@ impl Vector4KeyFrameAnimation { pub fn Direction(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25371,7 +25371,7 @@ impl Vector4KeyFrameAnimation { pub fn DelayBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25425,7 +25425,7 @@ impl Visual { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25433,14 +25433,14 @@ impl Visual { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25458,7 +25458,7 @@ impl Visual { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25469,7 +25469,7 @@ impl Visual { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25498,14 +25498,14 @@ impl Visual { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25521,7 +25521,7 @@ impl Visual { pub fn AnchorPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnchorPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25533,7 +25533,7 @@ impl Visual { pub fn BackfaceVisibility(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackfaceVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25544,7 +25544,7 @@ impl Visual { pub fn BorderMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BorderMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25556,7 +25556,7 @@ impl Visual { pub fn CenterPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CenterPoint)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25568,7 +25568,7 @@ impl Visual { pub fn Clip(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clip)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25582,7 +25582,7 @@ impl Visual { pub fn CompositeMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositeMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25593,7 +25593,7 @@ impl Visual { pub fn IsVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25605,7 +25605,7 @@ impl Visual { pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25617,7 +25617,7 @@ impl Visual { pub fn Opacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25629,7 +25629,7 @@ impl Visual { pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25641,14 +25641,14 @@ impl Visual { pub fn Parent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RotationAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25659,7 +25659,7 @@ impl Visual { pub fn RotationAngleInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAngleInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25671,7 +25671,7 @@ impl Visual { pub fn RotationAxis(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationAxis)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25684,7 +25684,7 @@ impl Visual { pub fn Scale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25697,7 +25697,7 @@ impl Visual { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25710,7 +25710,7 @@ impl Visual { pub fn TransformMatrix(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformMatrix)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25722,7 +25722,7 @@ impl Visual { pub fn ParentForTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParentForTransform)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25737,7 +25737,7 @@ impl Visual { pub fn RelativeOffsetAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeOffsetAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25750,7 +25750,7 @@ impl Visual { pub fn RelativeSizeAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RelativeSizeAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25762,7 +25762,7 @@ impl Visual { pub fn IsHitTestVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHitTestVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25773,7 +25773,7 @@ impl Visual { pub fn IsPixelSnappingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPixelSnappingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -25815,7 +25815,7 @@ impl VisualCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25823,14 +25823,14 @@ impl VisualCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25848,7 +25848,7 @@ impl VisualCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25859,7 +25859,7 @@ impl VisualCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25888,14 +25888,14 @@ impl VisualCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -25911,14 +25911,14 @@ impl VisualCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Count(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Count)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -26013,7 +26013,7 @@ impl VisualUnorderedCollection { pub fn Compositor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Compositor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -26021,14 +26021,14 @@ impl VisualUnorderedCollection { pub fn Dispatcher(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -26046,7 +26046,7 @@ impl VisualUnorderedCollection { pub fn Comment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -26057,7 +26057,7 @@ impl VisualUnorderedCollection { pub fn ImplicitAnimations(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImplicitAnimations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -26086,14 +26086,14 @@ impl VisualUnorderedCollection { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryGetAnimationController(&self, propertyname: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAnimationController)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(propertyname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -26109,14 +26109,14 @@ impl VisualUnorderedCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Count(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Count)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 edbbc55b97..c9089a18e1 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs @@ -37,7 +37,7 @@ windows_core::imp::define_interface!(IPropertyAnimation, IPropertyAnimation_Vtbl impl std::ops::Deref for IPropertyAnimation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyAnimation, windows_core::IUnknown, windows_core::IInspectable); @@ -45,35 +45,35 @@ impl IPropertyAnimation { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Delay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control1)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -112,41 +112,41 @@ impl AnimationDescription { pub fn Animations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Animations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StaggerDelay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StaggerDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StaggerDelayFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StaggerDelayFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DelayLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DelayLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ZOrder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZOrder)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateInstance(effect: AnimationEffect, target: AnimationEffectTarget) -> windows_core::Result { Self::IAnimationDescriptionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), effect, target, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -177,49 +177,49 @@ impl OpacityAnimation { pub fn InitialOpacity(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialOpacity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FinalOpacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalOpacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Delay(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control1(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control1)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control2(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -245,35 +245,35 @@ impl PropertyAnimation { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Delay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control1)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -299,70 +299,70 @@ impl ScaleAnimation { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Delay(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control1(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control1)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control2(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn InitialScaleX(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialScaleX)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InitialScaleY(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InitialScaleY)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FinalScaleX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalScaleX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FinalScaleY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FinalScaleY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NormalizedOrigin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalizedOrigin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -388,35 +388,35 @@ impl TranslationAnimation { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Delay(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control1)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Control2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Control2)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 e0e609629b..4fd23a1c59 100644 --- a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs @@ -59,7 +59,7 @@ impl CoreAppWindowPreview { P0: windows_core::Param, { Self::ICoreAppWindowPreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIdFromWindow)(windows_core::Interface::as_raw(this), window.param().abi(), &mut result__).map(|| result__) }) } @@ -89,7 +89,7 @@ impl SystemNavigationCloseRequestedPreviewEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -100,7 +100,7 @@ impl SystemNavigationCloseRequestedPreviewEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -128,7 +128,7 @@ impl SystemNavigationManagerPreview { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloseRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -138,7 +138,7 @@ impl SystemNavigationManagerPreview { } pub fn GetForCurrentView() -> windows_core::Result { Self::ISystemNavigationManagerPreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 e9ccc9dcf2..ddbd378a20 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -23,7 +23,7 @@ impl windows_core::RuntimeType for IAcceleratorKeyEventArgs2 { #[repr(C)] pub struct IAcceleratorKeyEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAutomationProviderRequestedEventArgs, IAutomationProviderRequestedEventArgs_Vtbl, 0x961ff258_21bf_4b42_a298_fa479d4c52e2); impl windows_core::RuntimeType for IAutomationProviderRequestedEventArgs { @@ -71,7 +71,7 @@ windows_core::imp::define_interface!(ICoreAcceleratorKeys, ICoreAcceleratorKeys_ impl std::ops::Deref for ICoreAcceleratorKeys { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreAcceleratorKeys, windows_core::IUnknown, windows_core::IInspectable); @@ -82,7 +82,7 @@ impl ICoreAcceleratorKeys { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceleratorKeyActivated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -212,7 +212,7 @@ windows_core::imp::define_interface!(ICoreInputSourceBase, ICoreInputSourceBase_ impl std::ops::Deref for ICoreInputSourceBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreInputSourceBase, windows_core::IUnknown, windows_core::IInspectable); @@ -220,14 +220,14 @@ impl ICoreInputSourceBase { pub fn Dispatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsInputEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInputEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -241,7 +241,7 @@ impl ICoreInputSourceBase { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputEnabled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -287,13 +287,13 @@ impl windows_core::RuntimeType for ICoreKeyboardInputSource2 { #[repr(C)] pub struct ICoreKeyboardInputSource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetCurrentKeyEventDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCurrentKeyEventDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorePointerInputSource, ICorePointerInputSource_Vtbl, 0xbbf1bb18_e47a_48eb_8807_f8f8d3ea4551); impl std::ops::Deref for ICorePointerInputSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorePointerInputSource, windows_core::IUnknown, windows_core::IInspectable); @@ -309,21 +309,21 @@ impl ICorePointerInputSource { pub fn HasCapture(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCapture)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerCursor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCursor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -340,7 +340,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCaptureLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -354,7 +354,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerEntered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -368,7 +368,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -382,7 +382,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerMoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -396,7 +396,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -410,7 +410,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -424,7 +424,7 @@ impl ICorePointerInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerWheelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -464,7 +464,7 @@ windows_core::imp::define_interface!(ICorePointerInputSource2, ICorePointerInput impl std::ops::Deref for ICorePointerInputSource2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorePointerInputSource2, windows_core::IUnknown, windows_core::IInspectable); @@ -474,7 +474,7 @@ impl ICorePointerInputSource2 { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -489,21 +489,21 @@ impl ICorePointerInputSource2 { pub fn HasCapture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCapture)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerPosition(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerCursor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCursor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -520,7 +520,7 @@ impl ICorePointerInputSource2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCaptureLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -534,7 +534,7 @@ impl ICorePointerInputSource2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerEntered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -548,7 +548,7 @@ impl ICorePointerInputSource2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -562,7 +562,7 @@ impl ICorePointerInputSource2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerMoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -576,7 +576,7 @@ impl ICorePointerInputSource2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -590,7 +590,7 @@ impl ICorePointerInputSource2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -604,7 +604,7 @@ impl ICorePointerInputSource2 { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerWheelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -628,7 +628,7 @@ windows_core::imp::define_interface!(ICorePointerRedirector, ICorePointerRedirec impl std::ops::Deref for ICorePointerRedirector { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorePointerRedirector, windows_core::IUnknown, windows_core::IInspectable); @@ -639,7 +639,7 @@ impl ICorePointerRedirector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerRoutedAway)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -653,7 +653,7 @@ impl ICorePointerRedirector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerRoutedTo)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -667,7 +667,7 @@ impl ICorePointerRedirector { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerRoutedReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -703,7 +703,7 @@ windows_core::imp::define_interface!(ICoreWindow, ICoreWindow_Vtbl, 0x79b9d5f2_8 impl std::ops::Deref for ICoreWindow { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreWindow, windows_core::IUnknown, windows_core::IInspectable); @@ -711,14 +711,14 @@ impl ICoreWindow { pub fn AutomationHostProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomationHostProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Bounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -726,21 +726,21 @@ impl ICoreWindow { pub fn CustomProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Dispatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlowDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlowDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -751,7 +751,7 @@ impl ICoreWindow { pub fn IsInputEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInputEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -762,7 +762,7 @@ impl ICoreWindow { pub fn PointerCursor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCursor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -776,14 +776,14 @@ impl ICoreWindow { pub fn PointerPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Visible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -799,7 +799,7 @@ impl ICoreWindow { pub fn GetAsyncKeyState(&self, virtualkey: super::super::System::VirtualKey) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsyncKeyState)(windows_core::Interface::as_raw(this), virtualkey, &mut result__).map(|| result__) } } @@ -807,7 +807,7 @@ impl ICoreWindow { pub fn GetKeyState(&self, virtualkey: super::super::System::VirtualKey) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetKeyState)(windows_core::Interface::as_raw(this), virtualkey, &mut result__).map(|| result__) } } @@ -825,7 +825,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Activated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -839,7 +839,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomationProviderRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -853,7 +853,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -867,7 +867,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -881,7 +881,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputEnabled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -895,7 +895,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyDown)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -909,7 +909,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyUp)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -923,7 +923,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCaptureLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -937,7 +937,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerEntered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -951,7 +951,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -965,7 +965,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerMoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -979,7 +979,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -993,7 +993,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1007,7 +1007,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TouchHitTesting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1021,7 +1021,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerWheelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1035,7 +1035,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1049,7 +1049,7 @@ impl ICoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisibilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1144,7 +1144,7 @@ pub struct ICoreWindow3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ClosestInteractiveBoundsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveClosestInteractiveBoundsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, - pub GetCurrentKeyEventDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCurrentKeyEventDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreWindow4, ICoreWindow4_Vtbl, 0x35caf0d0_47f0_436c_af97_0dd88f6f5f02); impl windows_core::RuntimeType for ICoreWindow4 { @@ -1182,8 +1182,8 @@ pub struct ICoreWindowDialog_Vtbl { pub RemoveShowing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub MaxSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, pub MinSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsInteractionDelayed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetIsInteractionDelayed: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "UI_Popups"))] @@ -1214,13 +1214,13 @@ impl windows_core::RuntimeType for ICoreWindowDialogFactory { #[repr(C)] pub struct ICoreWindowDialogFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreWindowEventArgs, ICoreWindowEventArgs_Vtbl, 0x272b1ef3_c633_4da5_a26c_c6d0f56b29da); impl std::ops::Deref for ICoreWindowEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreWindowEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -1228,7 +1228,7 @@ impl ICoreWindowEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1257,8 +1257,8 @@ pub struct ICoreWindowFlyout_Vtbl { pub RemoveShowing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub MaxSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, pub MinSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsInteractionDelayed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetIsInteractionDelayed: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(all(feature = "Foundation_Collections", feature = "UI_Popups"))] @@ -1288,7 +1288,7 @@ impl windows_core::RuntimeType for ICoreWindowFlyoutFactory { pub struct ICoreWindowFlyoutFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithTitle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTitle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreWindowPopupShowingEventArgs, ICoreWindowPopupShowingEventArgs_Vtbl, 0x26155fa2_5ba5_4ea4_a3b4_2dc7d63c8e26); impl windows_core::RuntimeType for ICoreWindowPopupShowingEventArgs { @@ -1358,7 +1358,7 @@ windows_core::imp::define_interface!(IInitializeWithCoreWindow, IInitializeWithC impl std::ops::Deref for IInitializeWithCoreWindow { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeWithCoreWindow, windows_core::IUnknown, windows_core::IInspectable); @@ -1408,7 +1408,7 @@ impl windows_core::RuntimeType for IKeyEventArgs2 { #[repr(C)] pub struct IKeyEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPointerEventArgs, IPointerEventArgs_Vtbl, 0x920d9cb1_a5fc_4a21_8c09_49dfe6ffe25f); impl windows_core::RuntimeType for IPointerEventArgs { @@ -1509,7 +1509,7 @@ impl AcceleratorKeyEventArgs { pub fn EventType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EventType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1517,28 +1517,28 @@ impl AcceleratorKeyEventArgs { pub fn VirtualKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VirtualKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn KeyStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1568,7 +1568,7 @@ impl AutomationProviderRequestedEventArgs { pub fn AutomationProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomationProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1582,7 +1582,7 @@ impl AutomationProviderRequestedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1609,7 +1609,7 @@ impl BackRequestedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1639,21 +1639,21 @@ impl CharacterReceivedEventArgs { pub fn KeyCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn KeyStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1680,21 +1680,21 @@ impl ClosestInteractiveBoundsRequestedEventArgs { pub fn PointerPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SearchBounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SearchBounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ClosestInteractiveBounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClosestInteractiveBounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1725,7 +1725,7 @@ impl CoreAcceleratorKeys { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceleratorKeyActivated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1758,7 +1758,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClosestInteractiveBoundsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1769,7 +1769,7 @@ impl CoreComponentInputSource { pub fn HasFocus(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasFocus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1779,7 +1779,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GotFocus)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1793,7 +1793,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LostFocus)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1804,14 +1804,14 @@ impl CoreComponentInputSource { pub fn Dispatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsInputEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInputEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1825,7 +1825,7 @@ impl CoreComponentInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputEnabled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1837,7 +1837,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentKeyState)(windows_core::Interface::as_raw(this), virtualkey, &mut result__).map(|| result__) } } @@ -1847,7 +1847,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1861,7 +1861,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyDown)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1875,7 +1875,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyUp)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1886,7 +1886,7 @@ impl CoreComponentInputSource { pub fn GetCurrentKeyEventDeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentKeyEventDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1901,21 +1901,21 @@ impl CoreComponentInputSource { pub fn HasCapture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCapture)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerPosition(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerCursor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCursor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1932,7 +1932,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCaptureLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1946,7 +1946,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerEntered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1960,7 +1960,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1974,7 +1974,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerMoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1988,7 +1988,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2002,7 +2002,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2016,7 +2016,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerWheelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2028,7 +2028,7 @@ impl CoreComponentInputSource { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2038,7 +2038,7 @@ impl CoreComponentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TouchHitTesting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2067,20 +2067,20 @@ impl CoreCursor { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateCursor(r#type: CoreCursorType, id: u32) -> windows_core::Result { Self::ICoreCursorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateCursor)(windows_core::Interface::as_raw(this), r#type, id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2114,7 +2114,7 @@ impl CoreDispatcher { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceleratorKeyActivated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2125,7 +2125,7 @@ impl CoreDispatcher { pub fn HasThreadAccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasThreadAccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2139,7 +2139,7 @@ impl CoreDispatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunAsync)(windows_core::Interface::as_raw(this), priority, agilecallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2149,7 +2149,7 @@ impl CoreDispatcher { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RunIdleAsync)(windows_core::Interface::as_raw(this), agilecallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2159,7 +2159,7 @@ impl CoreDispatcher { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRunAsync)(windows_core::Interface::as_raw(this), priority, agilecallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2169,14 +2169,14 @@ impl CoreDispatcher { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRunIdleAsync)(windows_core::Interface::as_raw(this), agilecallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CurrentPriority(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentPriority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2187,14 +2187,14 @@ impl CoreDispatcher { pub fn ShouldYield(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldYield)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ShouldYieldToPriority(&self, priority: CoreDispatcherPriority) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldYieldToPriority)(windows_core::Interface::as_raw(this), priority, &mut result__).map(|| result__) } } @@ -2224,14 +2224,14 @@ impl CoreIndependentInputSource { pub fn Dispatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsInputEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInputEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2245,7 +2245,7 @@ impl CoreIndependentInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputEnabled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2264,21 +2264,21 @@ impl CoreIndependentInputSource { pub fn HasCapture(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasCapture)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerPosition(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerCursor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCursor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2295,7 +2295,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCaptureLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2309,7 +2309,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerEntered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2323,7 +2323,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2337,7 +2337,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerMoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2351,7 +2351,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2365,7 +2365,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2379,7 +2379,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerWheelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2391,7 +2391,7 @@ impl CoreIndependentInputSource { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2401,7 +2401,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerRoutedAway)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2415,7 +2415,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerRoutedTo)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2429,7 +2429,7 @@ impl CoreIndependentInputSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerRoutedReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2463,7 +2463,7 @@ impl CoreIndependentInputSourceController { pub fn IsTransparentForUncontrolledInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTransparentForUncontrolledInput)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2474,7 +2474,7 @@ impl CoreIndependentInputSourceController { pub fn IsPalmRejectionEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPalmRejectionEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2485,7 +2485,7 @@ impl CoreIndependentInputSourceController { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2503,7 +2503,7 @@ impl CoreIndependentInputSourceController { P0: windows_core::Param, { Self::ICoreIndependentInputSourceControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForVisual)(windows_core::Interface::as_raw(this), visual.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2513,7 +2513,7 @@ impl CoreIndependentInputSourceController { P0: windows_core::Param, { Self::ICoreIndependentInputSourceControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForIVisualElement)(windows_core::Interface::as_raw(this), visualelement.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2547,7 +2547,7 @@ impl CoreWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerRoutedAway)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2561,7 +2561,7 @@ impl CoreWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerRoutedTo)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2575,7 +2575,7 @@ impl CoreWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerRoutedReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2586,14 +2586,14 @@ impl CoreWindow { pub fn AutomationHostProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomationHostProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Bounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2601,21 +2601,21 @@ impl CoreWindow { pub fn CustomProperties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Dispatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FlowDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FlowDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2626,7 +2626,7 @@ impl CoreWindow { pub fn IsInputEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInputEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2637,7 +2637,7 @@ impl CoreWindow { pub fn PointerCursor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCursor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2651,14 +2651,14 @@ impl CoreWindow { pub fn PointerPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Visible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2674,7 +2674,7 @@ impl CoreWindow { pub fn GetAsyncKeyState(&self, virtualkey: super::super::System::VirtualKey) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsyncKeyState)(windows_core::Interface::as_raw(this), virtualkey, &mut result__).map(|| result__) } } @@ -2682,7 +2682,7 @@ impl CoreWindow { pub fn GetKeyState(&self, virtualkey: super::super::System::VirtualKey) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetKeyState)(windows_core::Interface::as_raw(this), virtualkey, &mut result__).map(|| result__) } } @@ -2700,7 +2700,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Activated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2714,7 +2714,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomationProviderRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2728,7 +2728,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2742,7 +2742,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2756,7 +2756,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputEnabled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2770,7 +2770,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyDown)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2784,7 +2784,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyUp)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2798,7 +2798,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCaptureLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2812,7 +2812,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerEntered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2826,7 +2826,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2840,7 +2840,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerMoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2854,7 +2854,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2868,7 +2868,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2882,7 +2882,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TouchHitTesting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2896,7 +2896,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerWheelChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2910,7 +2910,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2924,7 +2924,7 @@ impl CoreWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisibilityChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2942,7 +2942,7 @@ impl CoreWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClosestInteractiveBoundsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2953,7 +2953,7 @@ impl CoreWindow { pub fn GetCurrentKeyEventDeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentKeyEventDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2963,7 +2963,7 @@ impl CoreWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResizeStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2977,7 +2977,7 @@ impl CoreWindow { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResizeCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2989,27 +2989,27 @@ impl CoreWindow { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivationMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivationMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetForCurrentThread() -> windows_core::Result { Self::ICoreWindowStatic(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentThread)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn UIContext(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UIContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3047,7 +3047,7 @@ impl CoreWindowDialog { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Showing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3058,21 +3058,21 @@ impl CoreWindowDialog { pub fn MaxSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3083,7 +3083,7 @@ impl CoreWindowDialog { pub fn IsInteractionDelayed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInteractionDelayed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3095,14 +3095,14 @@ impl CoreWindowDialog { pub fn Commands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Commands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultCommandIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultCommandIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3113,7 +3113,7 @@ impl CoreWindowDialog { pub fn CancelCommandIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CancelCommandIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3125,7 +3125,7 @@ impl CoreWindowDialog { pub fn BackButtonCommand(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackButtonCommand)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3141,13 +3141,13 @@ impl CoreWindowDialog { pub fn ShowAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateWithTitle(title: &windows_core::HSTRING) -> windows_core::Result { Self::ICoreWindowDialogFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTitle)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3176,7 +3176,7 @@ impl CoreWindowEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3206,7 +3206,7 @@ impl CoreWindowFlyout { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Showing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3217,21 +3217,21 @@ impl CoreWindowFlyout { pub fn MaxSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MinSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3242,7 +3242,7 @@ impl CoreWindowFlyout { pub fn IsInteractionDelayed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInteractionDelayed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3254,14 +3254,14 @@ impl CoreWindowFlyout { pub fn Commands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Commands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultCommandIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultCommandIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3273,7 +3273,7 @@ impl CoreWindowFlyout { pub fn BackButtonCommand(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackButtonCommand)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3289,19 +3289,19 @@ impl CoreWindowFlyout { pub fn ShowAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(position: super::super::Foundation::Point) -> windows_core::Result { Self::ICoreWindowFlyoutFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), position, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithTitle(position: super::super::Foundation::Point, title: &windows_core::HSTRING) -> windows_core::Result { Self::ICoreWindowFlyoutFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTitle)(windows_core::Interface::as_raw(this), position, core::mem::transmute_copy(title), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3357,13 +3357,13 @@ impl CoreWindowResizeManager { pub fn ShouldWaitForLayoutCompletion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShouldWaitForLayoutCompletion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetForCurrentView() -> windows_core::Result { Self::ICoreWindowResizeManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3393,7 +3393,7 @@ impl IdleDispatchedHandlerArgs { pub fn IsDispatcherIdle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsDispatcherIdle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3417,7 +3417,7 @@ impl InputEnabledEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3428,7 +3428,7 @@ impl InputEnabledEventArgs { pub fn InputEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3452,7 +3452,7 @@ impl KeyEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3464,21 +3464,21 @@ impl KeyEventArgs { pub fn VirtualKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VirtualKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn KeyStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DeviceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3502,7 +3502,7 @@ impl PointerEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3514,7 +3514,7 @@ impl PointerEventArgs { pub fn CurrentPoint(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentPoint)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3522,7 +3522,7 @@ impl PointerEventArgs { pub fn KeyModifiers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyModifiers)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3530,7 +3530,7 @@ impl PointerEventArgs { pub fn GetIntermediatePoints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIntermediatePoints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3556,7 +3556,7 @@ impl SystemNavigationManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3567,7 +3567,7 @@ impl SystemNavigationManager { pub fn AppViewBackButtonVisibility(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppViewBackButtonVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3577,7 +3577,7 @@ impl SystemNavigationManager { } pub fn GetForCurrentView() -> windows_core::Result { Self::ISystemNavigationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3608,7 +3608,7 @@ impl TouchHitTestingEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3619,7 +3619,7 @@ impl TouchHitTestingEventArgs { pub fn ProximityEvaluation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProximityEvaluation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3630,28 +3630,28 @@ impl TouchHitTestingEventArgs { pub fn Point(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Point)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingBox(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingBox)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EvaluateProximityToRect(&self, controlboundingbox: super::super::Foundation::Rect) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EvaluateProximityToRect)(windows_core::Interface::as_raw(this), controlboundingbox, &mut result__).map(|| result__) } } pub fn EvaluateProximityToPolygon(&self, controlvertices: &[super::super::Foundation::Point]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EvaluateProximityToPolygon)(windows_core::Interface::as_raw(this), controlvertices.len().try_into().unwrap(), controlvertices.as_ptr(), &mut result__).map(|| result__) } } @@ -3675,7 +3675,7 @@ impl VisibilityChangedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3686,7 +3686,7 @@ impl VisibilityChangedEventArgs { pub fn Visible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3710,7 +3710,7 @@ impl WindowActivatedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3721,7 +3721,7 @@ impl WindowActivatedEventArgs { pub fn WindowActivationState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowActivationState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3745,7 +3745,7 @@ impl WindowSizeChangedEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3756,7 +3756,7 @@ impl WindowSizeChangedEventArgs { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 81f2b8f45b..b11375ea18 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs @@ -43,7 +43,7 @@ impl RadialControllerIndependentInputSource { pub fn Controller(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Controller)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -51,7 +51,7 @@ impl RadialControllerIndependentInputSource { pub fn Dispatcher(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dispatcher)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -59,7 +59,7 @@ impl RadialControllerIndependentInputSource { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -69,7 +69,7 @@ impl RadialControllerIndependentInputSource { P0: windows_core::Param, { Self::IRadialControllerIndependentInputSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForView)(windows_core::Interface::as_raw(this), view.param().abi(), &mut result__).and_then(|| windows_core::Type::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 8f87194447..0b7c52cc43 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 @@ -5,7 +5,7 @@ impl windows_core::RuntimeType for IInkAnalysisInkBullet { #[repr(C)] pub struct IInkAnalysisInkBullet_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkAnalysisInkDrawing, IInkAnalysisInkDrawing_Vtbl, 0x6a85ed1f_1fe4_4e15_898c_8e112377e021); impl windows_core::RuntimeType for IInkAnalysisInkDrawing { @@ -28,7 +28,7 @@ impl windows_core::RuntimeType for IInkAnalysisInkWord { #[repr(C)] pub struct IInkAnalysisInkWord_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub TextAlternates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -41,7 +41,7 @@ impl windows_core::RuntimeType for IInkAnalysisLine { #[repr(C)] pub struct IInkAnalysisLine_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IndentLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkAnalysisListItem, IInkAnalysisListItem_Vtbl, 0xb4e3c23f_c4c3_4c3a_a1a6_9d85547ee586); @@ -51,13 +51,13 @@ impl windows_core::RuntimeType for IInkAnalysisListItem { #[repr(C)] pub struct IInkAnalysisListItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkAnalysisNode, IInkAnalysisNode_Vtbl, 0x30831f05_5f64_4a2c_ba37_4f4887879574); impl std::ops::Deref for IInkAnalysisNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkAnalysisNode, windows_core::IUnknown, windows_core::IInspectable); @@ -65,21 +65,21 @@ impl IInkAnalysisNode { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -87,7 +87,7 @@ impl IInkAnalysisNode { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -95,14 +95,14 @@ impl IInkAnalysisNode { pub fn Children(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -110,7 +110,7 @@ impl IInkAnalysisNode { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -145,7 +145,7 @@ impl windows_core::RuntimeType for IInkAnalysisParagraph { #[repr(C)] pub struct IInkAnalysisParagraph_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkAnalysisResult, IInkAnalysisResult_Vtbl, 0x8948ba79_a243_4aa3_a294_1f98bd0ff580); impl windows_core::RuntimeType for IInkAnalysisResult { @@ -163,7 +163,7 @@ impl windows_core::RuntimeType for IInkAnalysisRoot { #[repr(C)] pub struct IInkAnalysisRoot_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindNodes: unsafe extern "system" fn(*mut core::ffi::c_void, InkAnalysisNodeKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -176,7 +176,7 @@ impl windows_core::RuntimeType for IInkAnalysisWritingRegion { #[repr(C)] pub struct IInkAnalysisWritingRegion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkAnalyzer, IInkAnalyzer_Vtbl, 0xf12b8f95_0866_4dc5_8c77_f88614dfe38c); impl windows_core::RuntimeType for IInkAnalyzer { @@ -206,7 +206,7 @@ windows_core::imp::define_interface!(IInkAnalyzerFactory, IInkAnalyzerFactory_Vt impl std::ops::Deref for IInkAnalyzerFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkAnalyzerFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -214,7 +214,7 @@ impl IInkAnalyzerFactory { pub fn CreateAnalyzer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAnalyzer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -236,28 +236,28 @@ impl InkAnalysisInkBullet { pub fn RecognizedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -265,7 +265,7 @@ impl InkAnalysisInkBullet { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -273,14 +273,14 @@ impl InkAnalysisInkBullet { pub fn Children(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -288,7 +288,7 @@ impl InkAnalysisInkBullet { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -314,14 +314,14 @@ impl InkAnalysisInkDrawing { pub fn DrawingKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DrawingKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Center(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Center)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -329,28 +329,28 @@ impl InkAnalysisInkDrawing { pub fn Points(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Points)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -358,7 +358,7 @@ impl InkAnalysisInkDrawing { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -366,14 +366,14 @@ impl InkAnalysisInkDrawing { pub fn Children(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -381,7 +381,7 @@ impl InkAnalysisInkDrawing { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -407,7 +407,7 @@ impl InkAnalysisInkWord { pub fn RecognizedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -415,28 +415,28 @@ impl InkAnalysisInkWord { pub fn TextAlternates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextAlternates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -444,7 +444,7 @@ impl InkAnalysisInkWord { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -452,14 +452,14 @@ impl InkAnalysisInkWord { pub fn Children(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -467,7 +467,7 @@ impl InkAnalysisInkWord { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -493,35 +493,35 @@ impl InkAnalysisLine { pub fn RecognizedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IndentLevel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndentLevel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -529,7 +529,7 @@ impl InkAnalysisLine { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -537,14 +537,14 @@ impl InkAnalysisLine { pub fn Children(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -552,7 +552,7 @@ impl InkAnalysisLine { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -578,28 +578,28 @@ impl InkAnalysisListItem { pub fn RecognizedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -607,7 +607,7 @@ impl InkAnalysisListItem { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -615,14 +615,14 @@ impl InkAnalysisListItem { pub fn Children(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -630,7 +630,7 @@ impl InkAnalysisListItem { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -656,21 +656,21 @@ impl InkAnalysisNode { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -678,7 +678,7 @@ impl InkAnalysisNode { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -686,14 +686,14 @@ impl InkAnalysisNode { pub fn Children(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -701,7 +701,7 @@ impl InkAnalysisNode { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -727,21 +727,21 @@ impl InkAnalysisParagraph { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -749,7 +749,7 @@ impl InkAnalysisParagraph { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -757,14 +757,14 @@ impl InkAnalysisParagraph { pub fn Children(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -772,14 +772,14 @@ impl InkAnalysisParagraph { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RecognizedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -804,7 +804,7 @@ impl InkAnalysisResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -830,21 +830,21 @@ impl InkAnalysisRoot { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -852,7 +852,7 @@ impl InkAnalysisRoot { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -860,14 +860,14 @@ impl InkAnalysisRoot { pub fn Children(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -875,14 +875,14 @@ impl InkAnalysisRoot { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RecognizedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -890,7 +890,7 @@ impl InkAnalysisRoot { pub fn FindNodes(&self, nodekind: InkAnalysisNodeKind) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindNodes)(windows_core::Interface::as_raw(this), nodekind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -916,21 +916,21 @@ impl InkAnalysisWritingRegion { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -938,7 +938,7 @@ impl InkAnalysisWritingRegion { pub fn RotatedBoundingRect(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotatedBoundingRect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -946,14 +946,14 @@ impl InkAnalysisWritingRegion { pub fn Children(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Children)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parent(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -961,14 +961,14 @@ impl InkAnalysisWritingRegion { pub fn GetStrokeIds(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RecognizedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1000,14 +1000,14 @@ impl InkAnalyzer { pub fn AnalysisRoot(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnalysisRoot)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsAnalyzing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAnalyzing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1056,7 +1056,7 @@ impl InkAnalyzer { pub fn AnalyzeAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnalyzeAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 f615721a7e..02c9a4ebe2 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 @@ -170,21 +170,21 @@ impl CoreIncrementalInkStroke { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendInkPoints)(windows_core::Interface::as_raw(this), inkpoints.param().abi(), &mut result__).map(|| result__) } } pub fn CreateInkStroke(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInkStroke)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DrawingAttributes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DrawingAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -192,14 +192,14 @@ impl CoreIncrementalInkStroke { pub fn PointTransform(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -209,7 +209,7 @@ impl CoreIncrementalInkStroke { P0: windows_core::Param, { Self::ICoreIncrementalInkStrokeFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), drawingattributes.param().abi(), pointtransform, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -243,7 +243,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerEntering)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -258,7 +258,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerHovering)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -273,7 +273,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerExiting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -288,7 +288,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPressing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -303,7 +303,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerMoving)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -318,7 +318,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerReleasing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -333,7 +333,7 @@ impl CoreInkIndependentInputSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -344,7 +344,7 @@ impl CoreInkIndependentInputSource { pub fn InkPresenter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InkPresenter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -352,7 +352,7 @@ impl CoreInkIndependentInputSource { pub fn PointerCursor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerCursor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -369,7 +369,7 @@ impl CoreInkIndependentInputSource { P0: windows_core::Param, { Self::ICoreInkIndependentInputSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), inkpresenter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -406,7 +406,7 @@ impl CoreInkPresenterHost { pub fn InkPresenter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InkPresenter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -414,7 +414,7 @@ impl CoreInkPresenterHost { pub fn RootVisual(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RootVisual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -448,21 +448,21 @@ impl CoreWetStrokeUpdateEventArgs { pub fn NewInkPoints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewInkPoints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PointerId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Disposition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Disposition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -494,7 +494,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WetStrokeStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -508,7 +508,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WetStrokeContinuing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -522,7 +522,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WetStrokeStopping)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -536,7 +536,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WetStrokeCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -550,7 +550,7 @@ impl CoreWetStrokeUpdateSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WetStrokeCanceled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -561,7 +561,7 @@ impl CoreWetStrokeUpdateSource { pub fn InkPresenter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InkPresenter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -570,7 +570,7 @@ impl CoreWetStrokeUpdateSource { P0: windows_core::Param, { Self::ICoreWetStrokeUpdateSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), inkpresenter.param().abi(), &mut result__).and_then(|| windows_core::Type::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 23c5760219..165eff7c5b 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 @@ -38,7 +38,7 @@ impl PalmRejectionDelayZonePreview { P0: windows_core::Param, { Self::IPalmRejectionDelayZonePreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForVisual)(windows_core::Interface::as_raw(this), inputpanelvisual.param().abi(), inputpanelrect, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -49,7 +49,7 @@ impl PalmRejectionDelayZonePreview { P1: windows_core::Param, { Self::IPalmRejectionDelayZonePreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForVisualWithViewportClip)(windows_core::Interface::as_raw(this), inputpanelvisual.param().abi(), inputpanelrect, viewportvisual.param().abi(), viewportrect, &mut result__).and_then(|| windows_core::Type::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 a13308366b..c55165e643 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -187,7 +187,7 @@ windows_core::imp::define_interface!(IInkPointFactory, IInkPointFactory_Vtbl, 0x impl std::ops::Deref for IInkPointFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkPointFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -195,7 +195,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInkPoint)(windows_core::Interface::as_raw(this), position, pressure, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -326,7 +326,7 @@ windows_core::imp::define_interface!(IInkPresenterRulerFactory, IInkPresenterRul impl std::ops::Deref for IInkPresenterRulerFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkPresenterRulerFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -337,7 +337,7 @@ impl IInkPresenterRulerFactory { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), inkpresenter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -354,7 +354,7 @@ windows_core::imp::define_interface!(IInkPresenterStencil, IInkPresenterStencil_ impl std::ops::Deref for IInkPresenterStencil { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkPresenterStencil, windows_core::IUnknown, windows_core::IInspectable); @@ -362,14 +362,14 @@ impl IInkPresenterStencil { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -380,7 +380,7 @@ impl IInkPresenterStencil { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -391,7 +391,7 @@ impl IInkPresenterStencil { pub fn ForegroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -403,7 +403,7 @@ impl IInkPresenterStencil { pub fn Transform(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Transform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -459,13 +459,13 @@ impl windows_core::RuntimeType for IInkRecognizer { #[repr(C)] pub struct IInkRecognizer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkRecognizerContainer, IInkRecognizerContainer_Vtbl, 0xa74d9a31_8047_4698_a912_f82a5085012f); impl std::ops::Deref for IInkRecognizerContainer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkRecognizerContainer, windows_core::IUnknown, windows_core::IInspectable); @@ -484,7 +484,7 @@ impl IInkRecognizerContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizeAsync)(windows_core::Interface::as_raw(this), strokecollection.param().abi(), recognitiontarget, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -492,7 +492,7 @@ impl IInkRecognizerContainer { pub fn GetRecognizers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecognizers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -618,7 +618,7 @@ windows_core::imp::define_interface!(IInkStrokeContainer, IInkStrokeContainer_Vt impl std::ops::Deref for IInkStrokeContainer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkStrokeContainer, windows_core::IUnknown, windows_core::IInspectable); @@ -626,7 +626,7 @@ impl IInkStrokeContainer { pub fn BoundingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -640,14 +640,14 @@ impl IInkStrokeContainer { pub fn DeleteSelected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MoveSelected(&self, translation: super::super::super::Foundation::Point) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveSelected)(windows_core::Interface::as_raw(this), translation, &mut result__).map(|| result__) } } @@ -658,14 +658,14 @@ impl IInkStrokeContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectWithPolyLine)(windows_core::Interface::as_raw(this), polyline.param().abi(), &mut result__).map(|| result__) } } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectWithLine)(windows_core::Interface::as_raw(this), from, to, &mut result__).map(|| result__) } } @@ -676,14 +676,14 @@ impl IInkStrokeContainer { pub fn PasteFromClipboard(&self, position: super::super::super::Foundation::Point) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasteFromClipboard)(windows_core::Interface::as_raw(this), position, &mut result__).map(|| result__) } } pub fn CanPasteFromClipboard(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPasteFromClipboard)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -694,7 +694,7 @@ impl IInkStrokeContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -705,7 +705,7 @@ impl IInkStrokeContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -721,7 +721,7 @@ impl IInkStrokeContainer { pub fn GetStrokes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -729,7 +729,7 @@ impl IInkStrokeContainer { pub fn GetRecognitionResults(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecognitionResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -934,7 +934,7 @@ pub struct IPenAndInkSettings_Vtbl { pub IsHandwritingDirectlyIntoTextFieldEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub PenHandedness: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PenHandedness) -> windows_core::HRESULT, pub HandwritingLineHeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HandwritingLineHeight) -> windows_core::HRESULT, - pub FontFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FontFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub UserConsentsToHandwritingTelemetryCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsTouchHandwritingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -971,7 +971,7 @@ impl InkDrawingAttributes { pub fn Color(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Color)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -982,7 +982,7 @@ impl InkDrawingAttributes { pub fn PenTip(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PenTip)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -993,7 +993,7 @@ impl InkDrawingAttributes { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1004,7 +1004,7 @@ impl InkDrawingAttributes { pub fn IgnorePressure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnorePressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1015,7 +1015,7 @@ impl InkDrawingAttributes { pub fn FitToCurve(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FitToCurve)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1027,7 +1027,7 @@ impl InkDrawingAttributes { pub fn PenTipTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PenTipTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1039,7 +1039,7 @@ impl InkDrawingAttributes { pub fn DrawAsHighlighter(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DrawAsHighlighter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1050,21 +1050,21 @@ impl InkDrawingAttributes { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PencilProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PencilProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IgnoreTilt(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnoreTilt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1075,13 +1075,13 @@ impl InkDrawingAttributes { pub fn ModelerAttributes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ModelerAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateForPencil() -> windows_core::Result { Self::IInkDrawingAttributesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForPencil)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1111,7 +1111,7 @@ impl InkDrawingAttributesPencilProperties { pub fn Opacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1140,7 +1140,7 @@ impl InkInputConfiguration { pub fn IsPrimaryBarrelButtonInputEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrimaryBarrelButtonInputEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1151,7 +1151,7 @@ impl InkInputConfiguration { pub fn IsEraserInputEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEraserInputEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1162,7 +1162,7 @@ impl InkInputConfiguration { pub fn IsPenHapticFeedbackEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPenHapticFeedbackEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1191,7 +1191,7 @@ impl InkInputProcessingConfiguration { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1202,7 +1202,7 @@ impl InkInputProcessingConfiguration { pub fn RightDragAction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightDragAction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1239,7 +1239,7 @@ impl InkManager { pub fn Mode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Mode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1260,7 +1260,7 @@ impl InkManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessPointerUpdate)(windows_core::Interface::as_raw(this), pointerpoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1270,7 +1270,7 @@ impl InkManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessPointerUp)(windows_core::Interface::as_raw(this), pointerpoint.param().abi(), &mut result__).map(|| result__) } } @@ -1285,7 +1285,7 @@ impl InkManager { pub fn RecognizeAsync2(&self, recognitiontarget: InkRecognitionTarget) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizeAsync2)(windows_core::Interface::as_raw(this), recognitiontarget, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1303,7 +1303,7 @@ impl InkManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizeAsync)(windows_core::Interface::as_raw(this), strokecollection.param().abi(), recognitiontarget, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1311,14 +1311,14 @@ impl InkManager { pub fn GetRecognizers(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecognizers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BoundingRect(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1332,14 +1332,14 @@ impl InkManager { pub fn DeleteSelected(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MoveSelected(&self, translation: super::super::super::Foundation::Point) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveSelected)(windows_core::Interface::as_raw(this), translation, &mut result__).map(|| result__) } } @@ -1350,14 +1350,14 @@ impl InkManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectWithPolyLine)(windows_core::Interface::as_raw(this), polyline.param().abi(), &mut result__).map(|| result__) } } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectWithLine)(windows_core::Interface::as_raw(this), from, to, &mut result__).map(|| result__) } } @@ -1368,14 +1368,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasteFromClipboard)(windows_core::Interface::as_raw(this), position, &mut result__).map(|| result__) } } pub fn CanPasteFromClipboard(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPasteFromClipboard)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1386,7 +1386,7 @@ impl InkManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1397,7 +1397,7 @@ impl InkManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1413,7 +1413,7 @@ impl InkManager { pub fn GetStrokes(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1421,7 +1421,7 @@ impl InkManager { pub fn GetRecognitionResults(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecognitionResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1444,7 +1444,7 @@ impl InkModelerAttributes { pub fn PredictionTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PredictionTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1455,7 +1455,7 @@ impl InkModelerAttributes { pub fn ScalingFactor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScalingFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1466,7 +1466,7 @@ impl InkModelerAttributes { pub fn UseVelocityBasedPressure(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UseVelocityBasedPressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1495,47 +1495,47 @@ impl InkPoint { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pressure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TiltX(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TiltX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TiltY(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TiltY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Timestamp(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateInkPoint(position: super::super::super::Foundation::Point, pressure: f32) -> windows_core::Result { Self::IInkPointFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInkPoint)(windows_core::Interface::as_raw(this), position, pressure, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInkPointWithTiltAndTimestamp)(windows_core::Interface::as_raw(this), position, pressure, tiltx, tilty, timestamp, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1570,7 +1570,7 @@ impl InkPresenter { pub fn IsInputEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInputEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1582,7 +1582,7 @@ impl InkPresenter { pub fn InputDeviceTypes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputDeviceTypes)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1594,28 +1594,28 @@ impl InkPresenter { pub fn UnprocessedInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnprocessedInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StrokeInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InputProcessingConfiguration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputProcessingConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn StrokeContainer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeContainer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1629,7 +1629,7 @@ impl InkPresenter { pub fn CopyDefaultDrawingAttributes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CopyDefaultDrawingAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1643,7 +1643,7 @@ impl InkPresenter { pub fn ActivateCustomDrying(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivateCustomDrying)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1657,7 +1657,7 @@ impl InkPresenter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokesCollected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1671,7 +1671,7 @@ impl InkPresenter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokesErased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1682,7 +1682,7 @@ impl InkPresenter { pub fn HighContrastAdjustment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighContrastAdjustment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1693,7 +1693,7 @@ impl InkPresenter { pub fn InputConfiguration(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1719,7 +1719,7 @@ impl InkPresenterProtractor { pub fn AreTickMarksVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreTickMarksVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1730,7 +1730,7 @@ impl InkPresenterProtractor { pub fn AreRaysVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreRaysVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1741,7 +1741,7 @@ impl InkPresenterProtractor { pub fn IsCenterMarkerVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCenterMarkerVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1752,7 +1752,7 @@ impl InkPresenterProtractor { pub fn IsAngleReadoutVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAngleReadoutVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1763,7 +1763,7 @@ impl InkPresenterProtractor { pub fn IsResizable(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsResizable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1774,7 +1774,7 @@ impl InkPresenterProtractor { pub fn Radius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Radius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1785,7 +1785,7 @@ impl InkPresenterProtractor { pub fn AccentColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AccentColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1798,21 +1798,21 @@ impl InkPresenterProtractor { P0: windows_core::Param, { Self::IInkPresenterProtractorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), inkpresenter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1823,7 +1823,7 @@ impl InkPresenterProtractor { pub fn BackgroundColor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1834,7 +1834,7 @@ impl InkPresenterProtractor { pub fn ForegroundColor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1846,7 +1846,7 @@ impl InkPresenterProtractor { pub fn Transform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Transform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1882,7 +1882,7 @@ impl InkPresenterRuler { pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1893,7 +1893,7 @@ impl InkPresenterRuler { pub fn Width(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Width)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1904,7 +1904,7 @@ impl InkPresenterRuler { pub fn AreTickMarksVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AreTickMarksVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1915,7 +1915,7 @@ impl InkPresenterRuler { pub fn IsCompassVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCompassVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1928,21 +1928,21 @@ impl InkPresenterRuler { P0: windows_core::Param, { Self::IInkPresenterRulerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), inkpresenter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1953,7 +1953,7 @@ impl InkPresenterRuler { pub fn BackgroundColor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1964,7 +1964,7 @@ impl InkPresenterRuler { pub fn ForegroundColor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1976,7 +1976,7 @@ impl InkPresenterRuler { pub fn Transform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Transform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2011,7 +2011,7 @@ impl InkRecognitionResult { pub fn BoundingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2019,7 +2019,7 @@ impl InkRecognitionResult { pub fn GetTextCandidates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTextCandidates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2027,7 +2027,7 @@ impl InkRecognitionResult { pub fn GetStrokes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2052,7 +2052,7 @@ impl InkRecognizer { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2094,7 +2094,7 @@ impl InkRecognizerContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognizeAsync)(windows_core::Interface::as_raw(this), strokecollection.param().abi(), recognitiontarget, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2102,7 +2102,7 @@ impl InkRecognizerContainer { pub fn GetRecognizers(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecognizers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2125,7 +2125,7 @@ impl InkStroke { pub fn DrawingAttributes(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DrawingAttributes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2139,14 +2139,14 @@ impl InkStroke { pub fn BoundingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Selected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Selected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2157,7 +2157,7 @@ impl InkStroke { pub fn Recognized(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Recognized)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2165,14 +2165,14 @@ impl InkStroke { pub fn GetRenderingSegments(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRenderingSegments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Clone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Clone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2180,7 +2180,7 @@ impl InkStroke { pub fn PointTransform(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointTransform)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2193,21 +2193,21 @@ impl InkStroke { pub fn GetInkPoints(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInkPoints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StrokeStartedTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeStartedTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2221,7 +2221,7 @@ impl InkStroke { pub fn StrokeDuration(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeDuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2235,7 +2235,7 @@ impl InkStroke { pub fn PointerId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2277,7 +2277,7 @@ impl InkStrokeBuilder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppendToStroke)(windows_core::Interface::as_raw(this), pointerpoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2287,7 +2287,7 @@ impl InkStrokeBuilder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndStroke)(windows_core::Interface::as_raw(this), pointerpoint.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2298,7 +2298,7 @@ impl InkStrokeBuilder { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStroke)(windows_core::Interface::as_raw(this), points.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2316,7 +2316,7 @@ impl InkStrokeBuilder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStrokeFromInkPoints)(windows_core::Interface::as_raw(this), inkpoints.param().abi(), transform, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2329,7 +2329,7 @@ impl InkStrokeBuilder { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateStrokeFromInkPoints)(windows_core::Interface::as_raw(this), inkpoints.param().abi(), transform, strokestartedtime.param().abi(), strokeduration.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2360,7 +2360,7 @@ impl InkStrokeContainer { pub fn BoundingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2374,14 +2374,14 @@ impl InkStrokeContainer { pub fn DeleteSelected(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteSelected)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MoveSelected(&self, translation: super::super::super::Foundation::Point) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveSelected)(windows_core::Interface::as_raw(this), translation, &mut result__).map(|| result__) } } @@ -2392,14 +2392,14 @@ impl InkStrokeContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectWithPolyLine)(windows_core::Interface::as_raw(this), polyline.param().abi(), &mut result__).map(|| result__) } } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectWithLine)(windows_core::Interface::as_raw(this), from, to, &mut result__).map(|| result__) } } @@ -2410,14 +2410,14 @@ impl InkStrokeContainer { pub fn PasteFromClipboard(&self, position: super::super::super::Foundation::Point) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PasteFromClipboard)(windows_core::Interface::as_raw(this), position, &mut result__).map(|| result__) } } pub fn CanPasteFromClipboard(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPasteFromClipboard)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2428,7 +2428,7 @@ impl InkStrokeContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadAsync)(windows_core::Interface::as_raw(this), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2439,7 +2439,7 @@ impl InkStrokeContainer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2455,7 +2455,7 @@ impl InkStrokeContainer { pub fn GetStrokes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2463,7 +2463,7 @@ impl InkStrokeContainer { pub fn GetRecognitionResults(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRecognitionResults)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2486,14 +2486,14 @@ impl InkStrokeContainer { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveWithFormatAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), inkpersistenceformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetStrokeById(&self, id: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStrokeById)(windows_core::Interface::as_raw(this), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2520,7 +2520,7 @@ impl InkStrokeInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2535,7 +2535,7 @@ impl InkStrokeInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeContinued)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2550,7 +2550,7 @@ impl InkStrokeInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeEnded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2565,7 +2565,7 @@ impl InkStrokeInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StrokeCanceled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2576,7 +2576,7 @@ impl InkStrokeInput { pub fn InkPresenter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InkPresenter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2601,49 +2601,49 @@ impl InkStrokeRenderingSegment { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BezierControlPoint1(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BezierControlPoint1)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BezierControlPoint2(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BezierControlPoint2)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Pressure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TiltX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TiltX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TiltY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TiltY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Twist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Twist)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2669,7 +2669,7 @@ impl InkStrokesCollectedEventArgs { pub fn Strokes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Strokes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2693,7 +2693,7 @@ impl InkStrokesErasedEventArgs { pub fn Strokes(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Strokes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2717,7 +2717,7 @@ impl InkSynchronizer { pub fn BeginDry(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BeginDry)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2748,7 +2748,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerEntered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2763,7 +2763,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerHovered)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2778,7 +2778,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2793,7 +2793,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2808,7 +2808,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerMoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2823,7 +2823,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2838,7 +2838,7 @@ impl InkUnprocessedInput { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2849,7 +2849,7 @@ impl InkUnprocessedInput { pub fn InkPresenter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InkPresenter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2874,42 +2874,42 @@ impl PenAndInkSettings { pub fn IsHandwritingDirectlyIntoTextFieldEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHandwritingDirectlyIntoTextFieldEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PenHandedness(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PenHandedness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HandwritingLineHeight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HandwritingLineHeight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FontFamilyName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserConsentsToHandwritingTelemetryCollection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserConsentsToHandwritingTelemetryCollection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTouchHandwritingEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTouchHandwritingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2919,7 +2919,7 @@ impl PenAndInkSettings { } pub fn GetDefault() -> windows_core::Result { Self::IPenAndInkSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 864e91092a..bf740ded05 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 @@ -181,7 +181,7 @@ impl InjectedInputGamepadInfo { pub fn Buttons(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Buttons)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -193,7 +193,7 @@ impl InjectedInputGamepadInfo { pub fn LeftThumbstickX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeftThumbstickX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -204,7 +204,7 @@ impl InjectedInputGamepadInfo { pub fn LeftThumbstickY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeftThumbstickY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -215,7 +215,7 @@ impl InjectedInputGamepadInfo { pub fn LeftTrigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeftTrigger)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -226,7 +226,7 @@ impl InjectedInputGamepadInfo { pub fn RightThumbstickX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightThumbstickX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -237,7 +237,7 @@ impl InjectedInputGamepadInfo { pub fn RightThumbstickY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightThumbstickY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -248,7 +248,7 @@ impl InjectedInputGamepadInfo { pub fn RightTrigger(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightTrigger)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -259,7 +259,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstanceFromGamepadReading)(windows_core::Interface::as_raw(this), reading, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -294,7 +294,7 @@ impl InjectedInputKeyboardInfo { pub fn KeyOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -305,7 +305,7 @@ impl InjectedInputKeyboardInfo { pub fn ScanCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScanCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -316,7 +316,7 @@ impl InjectedInputKeyboardInfo { pub fn VirtualKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VirtualKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -350,7 +350,7 @@ impl InjectedInputMouseInfo { pub fn MouseOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MouseOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -361,7 +361,7 @@ impl InjectedInputMouseInfo { pub fn MouseData(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MouseData)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -372,7 +372,7 @@ impl InjectedInputMouseInfo { pub fn DeltaY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeltaY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -383,7 +383,7 @@ impl InjectedInputMouseInfo { pub fn DeltaX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeltaX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -394,7 +394,7 @@ impl InjectedInputMouseInfo { pub fn TimeOffsetInMilliseconds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeOffsetInMilliseconds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -428,7 +428,7 @@ impl InjectedInputPenInfo { pub fn PointerInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -439,7 +439,7 @@ impl InjectedInputPenInfo { pub fn PenButtons(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PenButtons)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -450,7 +450,7 @@ impl InjectedInputPenInfo { pub fn PenParameters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PenParameters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -461,7 +461,7 @@ impl InjectedInputPenInfo { pub fn Pressure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -472,7 +472,7 @@ impl InjectedInputPenInfo { pub fn Rotation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rotation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -483,7 +483,7 @@ impl InjectedInputPenInfo { pub fn TiltX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TiltX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -494,7 +494,7 @@ impl InjectedInputPenInfo { pub fn TiltY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TiltY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -528,7 +528,7 @@ impl InjectedInputTouchInfo { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -539,7 +539,7 @@ impl InjectedInputTouchInfo { pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -550,7 +550,7 @@ impl InjectedInputTouchInfo { pub fn PointerInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerInfo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -561,7 +561,7 @@ impl InjectedInputTouchInfo { pub fn Pressure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -572,7 +572,7 @@ impl InjectedInputTouchInfo { pub fn TouchParameters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TouchParameters)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -664,13 +664,13 @@ impl InputInjector { } pub fn TryCreate() -> windows_core::Result { Self::IInputInjectorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryCreateForAppBroadcastOnly() -> windows_core::Result { Self::IInputInjectorStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateForAppBroadcastOnly)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 228d7a665c..e1e398cf1b 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs @@ -20,7 +20,7 @@ impl InputActivationListenerPreview { P0: windows_core::Param, { Self::IInputActivationListenerPreviewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForApplicationWindow)(windows_core::Interface::as_raw(this), window.param().abi(), &mut result__).and_then(|| windows_core::Type::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 248b430faa..17e80c57f1 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs @@ -622,7 +622,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognitionStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -636,7 +636,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RecognitionEnded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -650,7 +650,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tapped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -664,7 +664,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -678,7 +678,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -692,7 +692,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldCanceled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -706,7 +706,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -720,7 +720,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -734,7 +734,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -748,7 +748,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationCanceled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -762,7 +762,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -776,7 +776,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -790,7 +790,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -804,7 +804,7 @@ impl SpatialGestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationCanceled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -826,20 +826,20 @@ impl SpatialGestureRecognizer { pub fn TrySetGestureSettings(&self, settings: SpatialGestureSettings) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetGestureSettings)(windows_core::Interface::as_raw(this), settings, &mut result__).map(|| result__) } } pub fn GestureSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GestureSettings)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Create(settings: SpatialGestureSettings) -> windows_core::Result { Self::ISpatialGestureRecognizerFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), settings, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -869,7 +869,7 @@ impl SpatialHoldCanceledEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -894,7 +894,7 @@ impl SpatialHoldCompletedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -919,7 +919,7 @@ impl SpatialHoldStartedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -930,7 +930,7 @@ impl SpatialHoldStartedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetPointerPose)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -955,7 +955,7 @@ impl SpatialInteraction { pub fn SourceState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceState)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -980,14 +980,14 @@ impl SpatialInteractionController { pub fn HasTouchpad(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasTouchpad)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasThumbstick(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasThumbstick)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -995,28 +995,28 @@ impl SpatialInteractionController { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VendorId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VendorId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ProductId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProductId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1024,7 +1024,7 @@ impl SpatialInteractionController { pub fn TryGetRenderableModelAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetRenderableModelAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1032,7 +1032,7 @@ impl SpatialInteractionController { pub fn TryGetBatteryReport(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBatteryReport)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1057,49 +1057,49 @@ impl SpatialInteractionControllerProperties { pub fn IsTouchpadTouched(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTouchpadTouched)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsTouchpadPressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTouchpadPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsThumbstickPressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsThumbstickPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ThumbstickX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThumbstickX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ThumbstickY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThumbstickY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TouchpadX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TouchpadX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TouchpadY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TouchpadY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1124,7 +1124,7 @@ impl SpatialInteractionDetectedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1135,21 +1135,21 @@ impl SpatialInteractionDetectedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetPointerPose)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Interaction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Interaction)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn InteractionSource(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSource)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1177,7 +1177,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceDetected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1191,7 +1191,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1205,7 +1205,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1219,7 +1219,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourcePressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1233,7 +1233,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1247,7 +1247,7 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionDetected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1262,19 +1262,19 @@ impl SpatialInteractionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDetectedSourcesAtTimestamp)(windows_core::Interface::as_raw(this), timestamp.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetForCurrentView() -> windows_core::Result { Self::ISpatialInteractionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSourceKindSupported(kind: SpatialInteractionSourceKind) -> windows_core::Result { Self::ISpatialInteractionManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSourceKindSupported)(windows_core::Interface::as_raw(this), kind, &mut result__).map(|| result__) }) } @@ -1309,42 +1309,42 @@ impl SpatialInteractionSource { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPointingSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPointingSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMenuSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMenuSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGraspSupported(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGraspSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Controller(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Controller)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1355,14 +1355,14 @@ impl SpatialInteractionSource { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetStateAtTimestamp)(windows_core::Interface::as_raw(this), timestamp.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Handedness(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handedness)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1370,7 +1370,7 @@ impl SpatialInteractionSource { pub fn TryCreateHandMeshObserver(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateHandMeshObserver)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1378,7 +1378,7 @@ impl SpatialInteractionSource { pub fn TryCreateHandMeshObserverAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateHandMeshObserverAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1403,14 +1403,14 @@ impl SpatialInteractionSourceEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PressKind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PressKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1436,7 +1436,7 @@ impl SpatialInteractionSourceLocation { pub fn Position(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1444,7 +1444,7 @@ impl SpatialInteractionSourceLocation { pub fn Velocity(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Velocity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1452,14 +1452,14 @@ impl SpatialInteractionSourceLocation { pub fn Orientation(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PositionAccuracy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionAccuracy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1467,14 +1467,14 @@ impl SpatialInteractionSourceLocation { pub fn AngularVelocity(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AngularVelocity)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourcePointerPose(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourcePointerPose)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1503,14 +1503,14 @@ impl SpatialInteractionSourceProperties { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetSourceLossMitigationDirection)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceLossRisk(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceLossRisk)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1521,7 +1521,7 @@ impl SpatialInteractionSourceProperties { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetLocation)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1546,21 +1546,21 @@ impl SpatialInteractionSourceState { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1568,7 +1568,7 @@ impl SpatialInteractionSourceState { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1579,42 +1579,42 @@ impl SpatialInteractionSourceState { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetPointerPose)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSelectPressed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSelectPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMenuPressed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMenuPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsGrasped(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGrasped)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SelectPressedValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectPressedValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ControllerProperties(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControllerProperties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1622,7 +1622,7 @@ impl SpatialInteractionSourceState { pub fn TryGetHandPose(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetHandPose)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1647,7 +1647,7 @@ impl SpatialManipulationCanceledEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1672,7 +1672,7 @@ impl SpatialManipulationCompletedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1683,7 +1683,7 @@ impl SpatialManipulationCompletedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetCumulativeDelta)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1709,7 +1709,7 @@ impl SpatialManipulationDelta { pub fn Translation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Translation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1734,7 +1734,7 @@ impl SpatialManipulationStartedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1745,7 +1745,7 @@ impl SpatialManipulationStartedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetPointerPose)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1770,7 +1770,7 @@ impl SpatialManipulationUpdatedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1781,7 +1781,7 @@ impl SpatialManipulationUpdatedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetCumulativeDelta)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1806,7 +1806,7 @@ impl SpatialNavigationCanceledEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1831,7 +1831,7 @@ impl SpatialNavigationCompletedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1839,7 +1839,7 @@ impl SpatialNavigationCompletedEventArgs { pub fn NormalizedOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalizedOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1864,7 +1864,7 @@ impl SpatialNavigationStartedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1875,28 +1875,28 @@ impl SpatialNavigationStartedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetPointerPose)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsNavigatingX(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNavigatingX)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsNavigatingY(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNavigatingY)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsNavigatingZ(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsNavigatingZ)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1921,7 +1921,7 @@ impl SpatialNavigationUpdatedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1929,7 +1929,7 @@ impl SpatialNavigationUpdatedEventArgs { pub fn NormalizedOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NormalizedOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1955,7 +1955,7 @@ impl SpatialPointerInteractionSourcePose { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1963,7 +1963,7 @@ impl SpatialPointerInteractionSourcePose { pub fn ForwardDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForwardDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1971,7 +1971,7 @@ impl SpatialPointerInteractionSourcePose { pub fn UpDirection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpDirection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1979,14 +1979,14 @@ impl SpatialPointerInteractionSourcePose { pub fn Orientation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PositionAccuracy(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PositionAccuracy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2012,7 +2012,7 @@ impl SpatialPointerPose { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2020,7 +2020,7 @@ impl SpatialPointerPose { pub fn Head(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Head)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2030,7 +2030,7 @@ impl SpatialPointerPose { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetInteractionSourcePose)(windows_core::Interface::as_raw(this), source.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2038,14 +2038,14 @@ impl SpatialPointerPose { pub fn Eyes(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Eyes)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsHeadCapturedBySystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHeadCapturedBySystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2056,7 +2056,7 @@ impl SpatialPointerPose { P1: windows_core::Param, { Self::ISpatialPointerPoseStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAtTimestamp)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), timestamp.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2086,7 +2086,7 @@ impl SpatialRecognitionEndedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2111,7 +2111,7 @@ impl SpatialRecognitionStartedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2122,14 +2122,14 @@ impl SpatialRecognitionStartedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetPointerPose)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsGesturePossible(&self, gesture: SpatialGestureSettings) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsGesturePossible)(windows_core::Interface::as_raw(this), gesture, &mut result__).map(|| result__) } } @@ -2154,7 +2154,7 @@ impl SpatialTappedEventArgs { pub fn InteractionSourceKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InteractionSourceKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2165,14 +2165,14 @@ impl SpatialTappedEventArgs { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetPointerPose)(windows_core::Interface::as_raw(this), coordinatesystem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TapCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TapCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Input/mod.rs b/crates/libs/windows/src/Windows/UI/Input/mod.rs index 992dae5e55..b9cdaf884a 100644 --- a/crates/libs/windows/src/Windows/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/mod.rs @@ -463,7 +463,7 @@ windows_core::imp::define_interface!(IPointerPointTransform, IPointerPointTransf impl std::ops::Deref for IPointerPointTransform { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPointerPointTransform, windows_core::IUnknown, windows_core::IInspectable); @@ -471,21 +471,21 @@ impl IPointerPointTransform { pub fn Inverse(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Inverse)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryTransform)(windows_core::Interface::as_raw(this), inpoint, outpoint, &mut result__).map(|| result__) } } pub fn TransformBounds(&self, rect: super::super::Foundation::Rect) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransformBounds)(windows_core::Interface::as_raw(this), rect, &mut result__).map(|| result__) } } @@ -715,7 +715,7 @@ impl windows_core::RuntimeType for IRadialControllerMenuItem { #[repr(C)] pub struct IRadialControllerMenuItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Invoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -729,10 +729,10 @@ impl windows_core::RuntimeType for IRadialControllerMenuItemStatics { pub struct IRadialControllerMenuItemStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "Storage_Streams")] - pub CreateFromIcon: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromIcon: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateFromIcon: usize, - pub CreateFromKnownIcon: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, RadialControllerMenuKnownIcon, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromKnownIcon: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, RadialControllerMenuKnownIcon, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRadialControllerMenuItemStatics2, IRadialControllerMenuItemStatics2_Vtbl, 0x0cbb70be_7e3e_48bd_be04_2c7fcaa9c1ff); impl windows_core::RuntimeType for IRadialControllerMenuItemStatics2 { @@ -741,8 +741,8 @@ impl windows_core::RuntimeType for IRadialControllerMenuItemStatics2 { #[repr(C)] pub struct IRadialControllerMenuItemStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromFontGlyph: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromFontGlyphWithUri: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromFontGlyph: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromFontGlyphWithUri: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRadialControllerRotationChangedEventArgs, IRadialControllerRotationChangedEventArgs_Vtbl, 0x206aa435_e651_11e5_bf62_2c27d7404e85); impl windows_core::RuntimeType for IRadialControllerRotationChangedEventArgs { @@ -984,28 +984,28 @@ impl CrossSlidingEventArgs { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CrossSlidingState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CrossSlidingState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1029,28 +1029,28 @@ impl DraggingEventArgs { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DraggingState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DraggingState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1076,7 +1076,7 @@ impl EdgeGesture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Starting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1090,7 +1090,7 @@ impl EdgeGesture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Completed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1104,7 +1104,7 @@ impl EdgeGesture { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Canceled)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1114,7 +1114,7 @@ impl EdgeGesture { } pub fn GetForCurrentView() -> windows_core::Result { Self::IEdgeGestureStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1142,7 +1142,7 @@ impl EdgeGestureEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1172,7 +1172,7 @@ impl GestureRecognizer { pub fn GestureSettings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GestureSettings)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1183,21 +1183,21 @@ impl GestureRecognizer { pub fn IsInertial(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInertial)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ShowGestureFeedback(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowGestureFeedback)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1208,7 +1208,7 @@ impl GestureRecognizer { pub fn PivotCenter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PivotCenter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1219,7 +1219,7 @@ impl GestureRecognizer { pub fn PivotRadius(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PivotRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1230,7 +1230,7 @@ impl GestureRecognizer { pub fn InertiaTranslationDeceleration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InertiaTranslationDeceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1241,7 +1241,7 @@ impl GestureRecognizer { pub fn InertiaRotationDeceleration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InertiaRotationDeceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1252,7 +1252,7 @@ impl GestureRecognizer { pub fn InertiaExpansionDeceleration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InertiaExpansionDeceleration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1263,7 +1263,7 @@ impl GestureRecognizer { pub fn InertiaTranslationDisplacement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InertiaTranslationDisplacement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1274,7 +1274,7 @@ impl GestureRecognizer { pub fn InertiaRotationAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InertiaRotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1285,7 +1285,7 @@ impl GestureRecognizer { pub fn InertiaExpansion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InertiaExpansion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1296,7 +1296,7 @@ impl GestureRecognizer { pub fn ManipulationExact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationExact)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1307,7 +1307,7 @@ impl GestureRecognizer { pub fn CrossSlideThresholds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CrossSlideThresholds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1318,7 +1318,7 @@ impl GestureRecognizer { pub fn CrossSlideHorizontally(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CrossSlideHorizontally)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1329,7 +1329,7 @@ impl GestureRecognizer { pub fn CrossSlideExact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CrossSlideExact)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1340,7 +1340,7 @@ impl GestureRecognizer { pub fn AutoProcessInertia(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoProcessInertia)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1351,7 +1351,7 @@ impl GestureRecognizer { pub fn MouseWheelParameters(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MouseWheelParameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1361,7 +1361,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanBeDoubleTap)(windows_core::Interface::as_raw(this), value.param().abi(), &mut result__).map(|| result__) } } @@ -1408,7 +1408,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tapped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1422,7 +1422,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightTapped)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1436,7 +1436,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Holding)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1450,7 +1450,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dragging)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1464,7 +1464,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1478,7 +1478,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationUpdated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1492,7 +1492,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationInertiaStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1506,7 +1506,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ManipulationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1520,7 +1520,7 @@ impl GestureRecognizer { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CrossSliding)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1531,7 +1531,7 @@ impl GestureRecognizer { pub fn TapMinContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TapMinContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1542,7 +1542,7 @@ impl GestureRecognizer { pub fn TapMaxContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TapMaxContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1553,7 +1553,7 @@ impl GestureRecognizer { pub fn HoldMinContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldMinContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1564,7 +1564,7 @@ impl GestureRecognizer { pub fn HoldMaxContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldMaxContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1575,7 +1575,7 @@ impl GestureRecognizer { pub fn HoldRadius(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldRadius)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1586,7 +1586,7 @@ impl GestureRecognizer { pub fn HoldStartDelay(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldStartDelay)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1597,7 +1597,7 @@ impl GestureRecognizer { pub fn TranslationMinContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TranslationMinContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1608,7 +1608,7 @@ impl GestureRecognizer { pub fn TranslationMaxContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TranslationMaxContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1636,35 +1636,35 @@ impl HoldingEventArgs { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HoldingState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HoldingState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CurrentContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1692,7 +1692,7 @@ impl InputActivationListener { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1702,7 +1702,7 @@ impl InputActivationListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputActivationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1731,7 +1731,7 @@ impl InputActivationListenerActivationChangedEventArgs { pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1756,7 +1756,7 @@ impl KeyboardDeliveryInterceptor { pub fn IsInterceptionEnabledWhenInForeground(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInterceptionEnabledWhenInForeground)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1771,7 +1771,7 @@ impl KeyboardDeliveryInterceptor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyDown)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1786,7 +1786,7 @@ impl KeyboardDeliveryInterceptor { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyUp)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1796,7 +1796,7 @@ impl KeyboardDeliveryInterceptor { } pub fn GetForCurrentView() -> windows_core::Result { Self::IKeyboardDeliveryInterceptorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1827,42 +1827,42 @@ impl ManipulationCompletedEventArgs { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Cumulative(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cumulative)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Velocities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Velocities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CurrentContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1886,42 +1886,42 @@ impl ManipulationInertiaStartingEventArgs { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Delta(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delta)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Cumulative(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cumulative)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Velocities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Velocities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1945,28 +1945,28 @@ impl ManipulationStartedEventArgs { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Cumulative(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cumulative)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1990,49 +1990,49 @@ impl ManipulationUpdatedEventArgs { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Delta(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delta)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Cumulative(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cumulative)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Velocities(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Velocities)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CurrentContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2055,7 +2055,7 @@ impl MouseWheelParameters { pub fn CharTranslation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharTranslation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2066,7 +2066,7 @@ impl MouseWheelParameters { pub fn DeltaScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeltaScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2077,7 +2077,7 @@ impl MouseWheelParameters { pub fn DeltaRotationAngle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeltaRotationAngle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2088,7 +2088,7 @@ impl MouseWheelParameters { pub fn PageTranslation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageTranslation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2116,69 +2116,69 @@ impl PointerPoint { pub fn PointerDevice(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDevice)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RawPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RawPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn FrameId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInContact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInContact)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Properties(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetCurrentPoint(pointerid: u32) -> windows_core::Result { Self::IPointerPointStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentPoint)(windows_core::Interface::as_raw(this), pointerid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn GetIntermediatePoints(pointerid: u32) -> windows_core::Result> { Self::IPointerPointStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIntermediatePoints)(windows_core::Interface::as_raw(this), pointerid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2187,7 +2187,7 @@ impl PointerPoint { P0: windows_core::Param, { Self::IPointerPointStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCurrentPointTransformed)(windows_core::Interface::as_raw(this), pointerid, transform.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2197,7 +2197,7 @@ impl PointerPoint { P0: windows_core::Param, { Self::IPointerPointStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIntermediatePointsTransformed)(windows_core::Interface::as_raw(this), pointerid, transform.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2225,175 +2225,175 @@ impl PointerPointProperties { pub fn Pressure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pressure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInverted(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInverted)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsEraser(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEraser)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn XTilt(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XTilt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn YTilt(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YTilt)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Twist(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Twist)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactRectRaw(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactRectRaw)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TouchConfidence(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TouchConfidence)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLeftButtonPressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLeftButtonPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsRightButtonPressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRightButtonPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsMiddleButtonPressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMiddleButtonPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MouseWheelDelta(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MouseWheelDelta)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsHorizontalMouseWheel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsHorizontalMouseWheel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPrimary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrimary)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsInRange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsInRange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsBarrelButtonPressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBarrelButtonPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsXButton1Pressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsXButton1Pressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsXButton2Pressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsXButton2Pressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PointerUpdateKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerUpdateKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasUsage(&self, usagepage: u32, usageid: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasUsage)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).map(|| result__) } } pub fn GetUsageValue(&self, usagepage: u32, usageid: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetUsageValue)(windows_core::Interface::as_raw(this), usagepage, usageid, &mut result__).map(|| result__) } } pub fn ZDistance(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ZDistance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2420,7 +2420,7 @@ impl PointerVisualizationSettings { pub fn IsContactFeedbackEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsContactFeedbackEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2431,13 +2431,13 @@ impl PointerVisualizationSettings { pub fn IsBarrelButtonFeedbackEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsBarrelButtonFeedbackEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetForCurrentView() -> windows_core::Result { Self::IPointerVisualizationSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2467,14 +2467,14 @@ impl RadialController { pub fn Menu(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Menu)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RotationResolutionInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationResolutionInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2485,7 +2485,7 @@ impl RadialController { pub fn UseAutomaticHapticFeedback(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UseAutomaticHapticFeedback)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2499,7 +2499,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenContactStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2513,7 +2513,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenContactEnded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2527,7 +2527,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScreenContactContinued)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2541,7 +2541,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlLost)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2555,7 +2555,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2569,7 +2569,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonClicked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2583,7 +2583,7 @@ impl RadialController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlAcquired)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2597,7 +2597,7 @@ impl RadialController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2611,7 +2611,7 @@ impl RadialController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonHolding)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2625,7 +2625,7 @@ impl RadialController { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2635,13 +2635,13 @@ impl RadialController { } pub fn IsSupported() -> windows_core::Result { Self::IRadialControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CreateForCurrentView() -> windows_core::Result { Self::IRadialControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2671,7 +2671,7 @@ impl RadialControllerButtonClickedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2679,7 +2679,7 @@ impl RadialControllerButtonClickedEventArgs { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2704,7 +2704,7 @@ impl RadialControllerButtonHoldingEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2712,7 +2712,7 @@ impl RadialControllerButtonHoldingEventArgs { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2737,7 +2737,7 @@ impl RadialControllerButtonPressedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2745,7 +2745,7 @@ impl RadialControllerButtonPressedEventArgs { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2770,7 +2770,7 @@ impl RadialControllerButtonReleasedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2778,7 +2778,7 @@ impl RadialControllerButtonReleasedEventArgs { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2815,7 +2815,7 @@ impl RadialControllerConfiguration { pub fn TrySelectDefaultMenuItem(&self, r#type: RadialControllerSystemMenuItemKind) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySelectDefaultMenuItem)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } @@ -2829,7 +2829,7 @@ impl RadialControllerConfiguration { pub fn ActiveControllerWhenMenuIsSuppressed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActiveControllerWhenMenuIsSuppressed)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2840,13 +2840,13 @@ impl RadialControllerConfiguration { pub fn IsMenuSuppressed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsMenuSuppressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetForCurrentView() -> windows_core::Result { Self::IRadialControllerConfigurationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2858,7 +2858,7 @@ impl RadialControllerConfiguration { } pub fn AppController() -> windows_core::Result { Self::IRadialControllerConfigurationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2867,7 +2867,7 @@ impl RadialControllerConfiguration { } pub fn IsAppControllerEnabled() -> windows_core::Result { Self::IRadialControllerConfigurationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAppControllerEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -2902,14 +2902,14 @@ impl RadialControllerControlAcquiredEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsButtonPressed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsButtonPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2917,7 +2917,7 @@ impl RadialControllerControlAcquiredEventArgs { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2943,14 +2943,14 @@ impl RadialControllerMenu { pub fn Items(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2961,7 +2961,7 @@ impl RadialControllerMenu { pub fn GetSelectedMenuItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSelectedMenuItem)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2975,7 +2975,7 @@ impl RadialControllerMenu { pub fn TrySelectPreviouslySelectedMenuItem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySelectPreviouslySelectedMenuItem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3000,14 +3000,14 @@ impl RadialControllerMenuItem { pub fn DisplayText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3024,7 +3024,7 @@ impl RadialControllerMenuItem { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invoked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3038,19 +3038,19 @@ impl RadialControllerMenuItem { P0: windows_core::Param, { Self::IRadialControllerMenuItemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromIcon)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displaytext), icon.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromKnownIcon(displaytext: &windows_core::HSTRING, value: RadialControllerMenuKnownIcon) -> windows_core::Result { Self::IRadialControllerMenuItemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromKnownIcon)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displaytext), value, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromFontGlyph(displaytext: &windows_core::HSTRING, glyph: &windows_core::HSTRING, fontfamily: &windows_core::HSTRING) -> windows_core::Result { Self::IRadialControllerMenuItemStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromFontGlyph)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displaytext), core::mem::transmute_copy(glyph), core::mem::transmute_copy(fontfamily), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3059,7 +3059,7 @@ impl RadialControllerMenuItem { P0: windows_core::Param, { Self::IRadialControllerMenuItemStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromFontGlyphWithUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(displaytext), core::mem::transmute_copy(glyph), core::mem::transmute_copy(fontfamily), fonturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3094,21 +3094,21 @@ impl RadialControllerRotationChangedEventArgs { pub fn RotationDeltaInDegrees(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RotationDeltaInDegrees)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsButtonPressed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsButtonPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3116,7 +3116,7 @@ impl RadialControllerRotationChangedEventArgs { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3141,14 +3141,14 @@ impl RadialControllerScreenContact { pub fn Bounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3173,14 +3173,14 @@ impl RadialControllerScreenContactContinuedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsButtonPressed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsButtonPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3188,7 +3188,7 @@ impl RadialControllerScreenContactContinuedEventArgs { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3213,7 +3213,7 @@ impl RadialControllerScreenContactEndedEventArgs { pub fn IsButtonPressed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsButtonPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3221,7 +3221,7 @@ impl RadialControllerScreenContactEndedEventArgs { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3246,14 +3246,14 @@ impl RadialControllerScreenContactStartedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsButtonPressed(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsButtonPressed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3261,7 +3261,7 @@ impl RadialControllerScreenContactStartedEventArgs { pub fn SimpleHapticsController(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SimpleHapticsController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3287,21 +3287,21 @@ impl RightTappedEventArgs { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3332,7 +3332,7 @@ impl SystemButtonEventController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemFunctionButtonPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3346,7 +3346,7 @@ impl SystemButtonEventController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemFunctionButtonReleased)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3360,7 +3360,7 @@ impl SystemButtonEventController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemFunctionLockChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3374,7 +3374,7 @@ impl SystemButtonEventController { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemFunctionLockIndicatorChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3388,7 +3388,7 @@ impl SystemButtonEventController { P0: windows_core::Param, { Self::ISystemButtonEventControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForDispatcherQueue)(windows_core::Interface::as_raw(this), queue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -3418,14 +3418,14 @@ impl SystemFunctionButtonEventArgs { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3454,21 +3454,21 @@ impl SystemFunctionLockChangedEventArgs { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsLocked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsLocked)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3497,21 +3497,21 @@ impl SystemFunctionLockIndicatorChangedEventArgs { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsIndicatorOn(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIndicatorOn)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3541,28 +3541,28 @@ impl TappedEventArgs { pub fn PointerDeviceType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PointerDeviceType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TapCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TapCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContactCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 4884f1f541..fab142424f 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs @@ -34,14 +34,14 @@ impl UserNotificationListener { pub fn RequestAccessAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAccessAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetAccessStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAccessStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -51,7 +51,7 @@ impl UserNotificationListener { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotificationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -63,14 +63,14 @@ impl UserNotificationListener { pub fn GetNotificationsAsync(&self, kinds: super::NotificationKinds) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNotificationsAsync)(windows_core::Interface::as_raw(this), kinds, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetNotification(&self, notificationid: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetNotification)(windows_core::Interface::as_raw(this), notificationid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -84,7 +84,7 @@ impl UserNotificationListener { } pub fn Current() -> windows_core::Result { Self::IUserNotificationListenerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 4db9f22e32..4bce044223 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs @@ -6,7 +6,7 @@ windows_core::imp::define_interface!(IAdaptiveNotificationContent, IAdaptiveNoti impl std::ops::Deref for IAdaptiveNotificationContent { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdaptiveNotificationContent, windows_core::IUnknown, windows_core::IInspectable); @@ -14,7 +14,7 @@ impl IAdaptiveNotificationContent { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -22,7 +22,7 @@ impl IAdaptiveNotificationContent { pub fn Hints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -46,10 +46,10 @@ impl windows_core::RuntimeType for IAdaptiveNotificationText { #[repr(C)] pub struct IAdaptiveNotificationText_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBadgeNotification, IBadgeNotification_Vtbl, 0x075cb4ca_d08a_4e2f_9233_7e289c1f7722); impl windows_core::RuntimeType for IBadgeNotification { @@ -85,8 +85,8 @@ impl windows_core::RuntimeType for IBadgeUpdateManagerForUser { pub struct IBadgeUpdateManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateBadgeUpdaterForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateBadgeUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateBadgeUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateBadgeUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateBadgeUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] @@ -100,8 +100,8 @@ impl windows_core::RuntimeType for IBadgeUpdateManagerStatics { pub struct IBadgeUpdateManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateBadgeUpdaterForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateBadgeUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateBadgeUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateBadgeUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateBadgeUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub GetTemplateContent: unsafe extern "system" fn(*mut core::ffi::c_void, BadgeTemplateType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -139,12 +139,12 @@ impl windows_core::RuntimeType for IKnownAdaptiveNotificationHintsStatics { #[repr(C)] pub struct IKnownAdaptiveNotificationHintsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Style: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Wrap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MaxLines: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MinLines: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TextStacking: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Align: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Style: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Wrap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MaxLines: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MinLines: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TextStacking: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Align: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKnownAdaptiveNotificationTextStylesStatics, IKnownAdaptiveNotificationTextStylesStatics_Vtbl, 0x202192d7_8996_45aa_8ba1_d461d72c2a1b); impl windows_core::RuntimeType for IKnownAdaptiveNotificationTextStylesStatics { @@ -153,25 +153,25 @@ impl windows_core::RuntimeType for IKnownAdaptiveNotificationTextStylesStatics { #[repr(C)] pub struct IKnownAdaptiveNotificationTextStylesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Base: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subheader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Header: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TitleNumeral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SubheaderNumeral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HeaderNumeral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CaptionSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BodySubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BaseSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SubtitleSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TitleSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SubheaderSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SubheaderNumeralSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HeaderSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HeaderNumeralSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Base: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subheader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Header: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TitleNumeral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubheaderNumeral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HeaderNumeral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CaptionSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BodySubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BaseSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubtitleSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TitleSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubheaderSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubheaderNumeralSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HeaderSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HeaderNumeralSubtle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKnownNotificationBindingsStatics, IKnownNotificationBindingsStatics_Vtbl, 0x79427bae_a8b7_4d58_89ea_76a7b7bccded); impl windows_core::RuntimeType for IKnownNotificationBindingsStatics { @@ -180,7 +180,7 @@ impl windows_core::RuntimeType for IKnownNotificationBindingsStatics { #[repr(C)] pub struct IKnownNotificationBindingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ToastGeneric: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToastGeneric: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INotification, INotification_Vtbl, 0x108037fe_eb76_4f82_97bc_da07530a2e20); impl windows_core::RuntimeType for INotification { @@ -201,10 +201,10 @@ impl windows_core::RuntimeType for INotificationBinding { #[repr(C)] pub struct INotificationBinding_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Template: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Template: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Hints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -251,13 +251,13 @@ impl windows_core::RuntimeType for INotificationVisual { #[repr(C)] pub struct INotificationVisual_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Bindings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Bindings: usize, - pub GetBinding: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetBinding: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScheduledTileNotification, IScheduledTileNotification_Vtbl, 0x0abca6d5_99dc_4c78_a11c_c9e7f86d7ef7); impl windows_core::RuntimeType for IScheduledTileNotification { @@ -273,10 +273,10 @@ pub struct IScheduledTileNotification_Vtbl { pub DeliveryTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SetExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScheduledTileNotificationFactory, IScheduledTileNotificationFactory_Vtbl, 0x3383138a_98c0_4c3b_bbd6_4a633c7cfc29); impl windows_core::RuntimeType for IScheduledTileNotificationFactory { @@ -304,8 +304,8 @@ pub struct IScheduledToastNotification_Vtbl { pub DeliveryTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SnoozeInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MaximumSnoozeCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScheduledToastNotification2, IScheduledToastNotification2_Vtbl, 0xa66ea09c_31b4_43b0_b5dd_7a40e85363b1); impl windows_core::RuntimeType for IScheduledToastNotification2 { @@ -314,10 +314,10 @@ impl windows_core::RuntimeType for IScheduledToastNotification2 { #[repr(C)] pub struct IScheduledToastNotification2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetSuppressPopup: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SuppressPopup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -330,8 +330,8 @@ pub struct IScheduledToastNotification3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NotificationMirroring: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NotificationMirroring) -> windows_core::HRESULT, pub SetNotificationMirroring: unsafe extern "system" fn(*mut core::ffi::c_void, NotificationMirroring) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScheduledToastNotification4, IScheduledToastNotification4_Vtbl, 0x1d4761fd_bdef_4e4a_96be_0101369b58d2); impl windows_core::RuntimeType for IScheduledToastNotification4 { @@ -378,7 +378,7 @@ impl windows_core::RuntimeType for IShownTileNotification { #[repr(C)] pub struct IShownTileNotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITileFlyoutNotification, ITileFlyoutNotification_Vtbl, 0x9a53b261_c70c_42be_b2f3_f42aa97d34e5); impl windows_core::RuntimeType for ITileFlyoutNotification { @@ -414,8 +414,8 @@ impl windows_core::RuntimeType for ITileFlyoutUpdateManagerStatics { pub struct ITileFlyoutUpdateManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateTileFlyoutUpdaterForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTileFlyoutUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTileFlyoutUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTileFlyoutUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTileFlyoutUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub GetTemplateContent: unsafe extern "system" fn(*mut core::ffi::c_void, TileFlyoutTemplateType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -448,8 +448,8 @@ pub struct ITileNotification_Vtbl { Content: usize, pub SetExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITileNotificationFactory, ITileNotificationFactory_Vtbl, 0xc6abdd6e_4928_46c8_bdbf_81a047dea0d4); impl windows_core::RuntimeType for ITileNotificationFactory { @@ -471,8 +471,8 @@ impl windows_core::RuntimeType for ITileUpdateManagerForUser { pub struct ITileUpdateManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateTileUpdaterForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTileUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTileUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTileUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTileUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] @@ -486,8 +486,8 @@ impl windows_core::RuntimeType for ITileUpdateManagerStatics { pub struct ITileUpdateManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateTileUpdaterForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTileUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTileUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTileUpdaterForApplicationWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTileUpdaterForSecondaryTile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub GetTemplateContent: unsafe extern "system" fn(*mut core::ffi::c_void, TileTemplateType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -552,7 +552,7 @@ impl windows_core::RuntimeType for IToastActivatedEventArgs { #[repr(C)] pub struct IToastActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastActivatedEventArgs2, IToastActivatedEventArgs2_Vtbl, 0xab7da512_cc61_568e_81be_304ac31038fa); impl windows_core::RuntimeType for IToastActivatedEventArgs2 { @@ -573,11 +573,11 @@ impl windows_core::RuntimeType for IToastCollection { #[repr(C)] pub struct IToastCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LaunchArgs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLaunchArgs: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LaunchArgs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLaunchArgs: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Icon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -588,7 +588,7 @@ impl windows_core::RuntimeType for IToastCollectionFactory { #[repr(C)] pub struct IToastCollectionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastCollectionManager, IToastCollectionManager_Vtbl, 0x2a1821fe_179d_49bc_b79d_a527920d3665); impl windows_core::RuntimeType for IToastCollectionManager { @@ -602,14 +602,14 @@ pub struct IToastCollectionManager_Vtbl { pub FindAllToastCollectionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllToastCollectionsAsync: usize, - pub GetToastCollectionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveToastCollectionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetToastCollectionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemoveToastCollectionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAllToastCollectionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "System"))] User: usize, - pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastDismissedEventArgs, IToastDismissedEventArgs_Vtbl, 0x3f89d935_d9cb_4538_a0f0_ffe7659938f8); impl windows_core::RuntimeType for IToastDismissedEventArgs { @@ -656,10 +656,10 @@ impl windows_core::RuntimeType for IToastNotification2 { #[repr(C)] pub struct IToastNotification2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetSuppressPopup: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SuppressPopup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } @@ -672,8 +672,8 @@ pub struct IToastNotification3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NotificationMirroring: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NotificationMirroring) -> windows_core::HRESULT, pub SetNotificationMirroring: unsafe extern "system" fn(*mut core::ffi::c_void, NotificationMirroring) -> windows_core::HRESULT, - pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastNotification4, IToastNotification4_Vtbl, 0x15154935_28ea_4727_88e9_c58680e2d118); impl windows_core::RuntimeType for IToastNotification4 { @@ -704,7 +704,7 @@ impl windows_core::RuntimeType for IToastNotificationActionTriggerDetail { #[repr(C)] pub struct IToastNotificationActionTriggerDetail_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Argument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Argument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub UserInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -729,13 +729,13 @@ impl windows_core::RuntimeType for IToastNotificationHistory { #[repr(C)] pub struct IToastNotificationHistory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RemoveGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveGroupWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveGroupedTagWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveGroupedTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveGroupWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveGroupedTagWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveGroupedTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ClearWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClearWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastNotificationHistory2, IToastNotificationHistory2_Vtbl, 0x3bc3d253_2f31_4092_9129_8ad5abf067da); impl windows_core::RuntimeType for IToastNotificationHistory2 { @@ -749,7 +749,7 @@ pub struct IToastNotificationHistory2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetHistory: usize, #[cfg(feature = "Foundation_Collections")] - pub GetHistoryWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetHistoryWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] GetHistoryWithId: usize, } @@ -769,7 +769,7 @@ impl windows_core::RuntimeType for IToastNotificationHistoryChangedTriggerDetail #[repr(C)] pub struct IToastNotificationHistoryChangedTriggerDetail2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CollectionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CollectionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastNotificationManagerForUser, IToastNotificationManagerForUser_Vtbl, 0x79ab57f6_43fe_487b_8a7f_99567200ae94); impl windows_core::RuntimeType for IToastNotificationManagerForUser { @@ -779,7 +779,7 @@ impl windows_core::RuntimeType for IToastNotificationManagerForUser { pub struct IToastNotificationManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateToastNotifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateToastNotifierWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateToastNotifierWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub History: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "System")] pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -793,10 +793,10 @@ impl windows_core::RuntimeType for IToastNotificationManagerForUser2 { #[repr(C)] pub struct IToastNotificationManagerForUser2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub GetToastNotifierForToastCollectionIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetHistoryForToastCollectionIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetToastNotifierForToastCollectionIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetHistoryForToastCollectionIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetToastCollectionManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetToastCollectionManagerWithAppId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetToastCollectionManagerWithAppId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastNotificationManagerForUser3, IToastNotificationManagerForUser3_Vtbl, 0x3efcb176_6cc1_56dc_973b_251f7aacb1c5); impl windows_core::RuntimeType for IToastNotificationManagerForUser3 { @@ -817,7 +817,7 @@ impl windows_core::RuntimeType for IToastNotificationManagerStatics { pub struct IToastNotificationManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateToastNotifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateToastNotifierWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateToastNotifierWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub GetTemplateContent: unsafe extern "system" fn(*mut core::ffi::c_void, ToastTemplateType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -878,8 +878,8 @@ impl windows_core::RuntimeType for IToastNotifier2 { #[repr(C)] pub struct IToastNotifier2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub UpdateWithTagAndGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut NotificationUpdateResult) -> windows_core::HRESULT, - pub UpdateWithTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut NotificationUpdateResult) -> windows_core::HRESULT, + pub UpdateWithTagAndGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut NotificationUpdateResult) -> windows_core::HRESULT, + pub UpdateWithTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut NotificationUpdateResult) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToastNotifier3, IToastNotifier3_Vtbl, 0xae75a04a_3b0c_51ad_b7e8_b08ab6052549); impl windows_core::RuntimeType for IToastNotifier3 { @@ -932,7 +932,7 @@ impl AdaptiveNotificationText { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -940,14 +940,14 @@ impl AdaptiveNotificationText { pub fn Hints(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -958,7 +958,7 @@ impl AdaptiveNotificationText { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -988,7 +988,7 @@ impl BadgeNotification { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1002,7 +1002,7 @@ impl BadgeNotification { pub fn ExpirationTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1012,7 +1012,7 @@ impl BadgeNotification { P0: windows_core::Param, { Self::IBadgeNotificationFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBadgeNotification)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1038,26 +1038,26 @@ pub struct BadgeUpdateManager; impl BadgeUpdateManager { pub fn CreateBadgeUpdaterForApplication() -> windows_core::Result { Self::IBadgeUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBadgeUpdaterForApplication)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateBadgeUpdaterForApplicationWithId(applicationid: &windows_core::HSTRING) -> windows_core::Result { Self::IBadgeUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBadgeUpdaterForApplicationWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateBadgeUpdaterForSecondaryTile(tileid: &windows_core::HSTRING) -> windows_core::Result { Self::IBadgeUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBadgeUpdaterForSecondaryTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Data_Xml_Dom")] pub fn GetTemplateContent(r#type: BadgeTemplateType) -> windows_core::Result { Self::IBadgeUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTemplateContent)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1067,7 +1067,7 @@ impl BadgeUpdateManager { P0: windows_core::Param, { Self::IBadgeUpdateManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1093,21 +1093,21 @@ impl BadgeUpdateManagerForUser { pub fn CreateBadgeUpdaterForApplication(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBadgeUpdaterForApplication)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateBadgeUpdaterForApplicationWithId(&self, applicationid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBadgeUpdaterForApplicationWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateBadgeUpdaterForSecondaryTile(&self, tileid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateBadgeUpdaterForSecondaryTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1115,7 +1115,7 @@ impl BadgeUpdateManagerForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1183,37 +1183,37 @@ pub struct KnownAdaptiveNotificationHints; impl KnownAdaptiveNotificationHints { pub fn Style() -> windows_core::Result { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Style)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Wrap() -> windows_core::Result { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wrap)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MaxLines() -> windows_core::Result { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxLines)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn MinLines() -> windows_core::Result { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinLines)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TextStacking() -> windows_core::Result { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextStacking)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Align() -> windows_core::Result { Self::IKnownAdaptiveNotificationHintsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Align)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1230,115 +1230,115 @@ pub struct KnownAdaptiveNotificationTextStyles; impl KnownAdaptiveNotificationTextStyles { pub fn Caption() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Caption)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Body() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Body)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Base() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Base)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Subtitle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Title() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Subheader() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subheader)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Header() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Header)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TitleNumeral() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TitleNumeral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SubheaderNumeral() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubheaderNumeral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HeaderNumeral() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderNumeral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CaptionSubtle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptionSubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BodySubtle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BodySubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn BaseSubtle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseSubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SubtitleSubtle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubtitleSubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TitleSubtle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TitleSubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SubheaderSubtle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubheaderSubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SubheaderNumeralSubtle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SubheaderNumeralSubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HeaderSubtle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderSubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn HeaderNumeralSubtle() -> windows_core::Result { Self::IKnownAdaptiveNotificationTextStylesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HeaderNumeralSubtle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1355,7 +1355,7 @@ pub struct KnownNotificationBindings; impl KnownNotificationBindings { pub fn ToastGeneric() -> windows_core::Result { Self::IKnownNotificationBindingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToastGeneric)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1383,7 +1383,7 @@ impl Notification { pub fn ExpirationTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1397,7 +1397,7 @@ impl Notification { pub fn Visual(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visual)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1429,7 +1429,7 @@ impl NotificationBinding { pub fn Template(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Template)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1440,7 +1440,7 @@ impl NotificationBinding { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1452,7 +1452,7 @@ impl NotificationBinding { pub fn Hints(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hints)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1460,7 +1460,7 @@ impl NotificationBinding { pub fn GetTextElements(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTextElements)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1493,14 +1493,14 @@ impl NotificationData { pub fn Values(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Values)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SequenceNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SequenceNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1514,7 +1514,7 @@ impl NotificationData { P0: windows_core::Param>>, { Self::INotificationDataFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNotificationDataWithValuesAndSequenceNumber)(windows_core::Interface::as_raw(this), initialvalues.param().abi(), sequencenumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1524,7 +1524,7 @@ impl NotificationData { P0: windows_core::Param>>, { Self::INotificationDataFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateNotificationDataWithValues)(windows_core::Interface::as_raw(this), initialvalues.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1554,7 +1554,7 @@ impl NotificationVisual { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1566,14 +1566,14 @@ impl NotificationVisual { pub fn Bindings(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bindings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetBinding(&self, templatename: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBinding)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(templatename), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1599,14 +1599,14 @@ impl ScheduledTileNotification { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeliveryTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeliveryTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1620,7 +1620,7 @@ impl ScheduledTileNotification { pub fn ExpirationTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1631,7 +1631,7 @@ impl ScheduledTileNotification { pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1642,7 +1642,7 @@ impl ScheduledTileNotification { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1652,7 +1652,7 @@ impl ScheduledTileNotification { P0: windows_core::Param, { Self::IScheduledTileNotificationFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateScheduledTileNotification)(windows_core::Interface::as_raw(this), content.param().abi(), deliverytime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1683,28 +1683,28 @@ impl ScheduledToastNotification { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DeliveryTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeliveryTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn SnoozeInterval(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SnoozeInterval)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaximumSnoozeCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaximumSnoozeCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1715,7 +1715,7 @@ impl ScheduledToastNotification { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1726,7 +1726,7 @@ impl ScheduledToastNotification { pub fn Tag(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1737,7 +1737,7 @@ impl ScheduledToastNotification { pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1748,14 +1748,14 @@ impl ScheduledToastNotification { pub fn SuppressPopup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuppressPopup)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NotificationMirroring(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotificationMirroring)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1766,7 +1766,7 @@ impl ScheduledToastNotification { pub fn RemoteId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1777,7 +1777,7 @@ impl ScheduledToastNotification { pub fn ExpirationTime(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1794,7 +1794,7 @@ impl ScheduledToastNotification { P0: windows_core::Param, { Self::IScheduledToastNotificationFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateScheduledToastNotification)(windows_core::Interface::as_raw(this), content.param().abi(), deliverytime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1804,7 +1804,7 @@ impl ScheduledToastNotification { P0: windows_core::Param, { Self::IScheduledToastNotificationFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateScheduledToastNotificationRecurring)(windows_core::Interface::as_raw(this), content.param().abi(), deliverytime, snoozeinterval, maximumsnoozecount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1834,7 +1834,7 @@ impl ScheduledToastNotificationShowingEventArgs { pub fn Cancel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cancel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1845,14 +1845,14 @@ impl ScheduledToastNotificationShowingEventArgs { pub fn ScheduledToastNotification(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScheduledToastNotification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1877,7 +1877,7 @@ impl ShownTileNotification { pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1903,7 +1903,7 @@ impl TileFlyoutNotification { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1917,7 +1917,7 @@ impl TileFlyoutNotification { pub fn ExpirationTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1927,7 +1927,7 @@ impl TileFlyoutNotification { P0: windows_core::Param, { Self::ITileFlyoutNotificationFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileFlyoutNotification)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1953,26 +1953,26 @@ pub struct TileFlyoutUpdateManager; impl TileFlyoutUpdateManager { pub fn CreateTileFlyoutUpdaterForApplication() -> windows_core::Result { Self::ITileFlyoutUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileFlyoutUpdaterForApplication)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateTileFlyoutUpdaterForApplicationWithId(applicationid: &windows_core::HSTRING) -> windows_core::Result { Self::ITileFlyoutUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileFlyoutUpdaterForApplicationWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateTileFlyoutUpdaterForSecondaryTile(tileid: &windows_core::HSTRING) -> windows_core::Result { Self::ITileFlyoutUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileFlyoutUpdaterForSecondaryTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Data_Xml_Dom")] pub fn GetTemplateContent(r#type: TileFlyoutTemplateType) -> windows_core::Result { Self::ITileFlyoutUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTemplateContent)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2022,7 +2022,7 @@ impl TileFlyoutUpdater { pub fn Setting(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Setting)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2046,7 +2046,7 @@ impl TileNotification { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2060,7 +2060,7 @@ impl TileNotification { pub fn ExpirationTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2071,7 +2071,7 @@ impl TileNotification { pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2081,7 +2081,7 @@ impl TileNotification { P0: windows_core::Param, { Self::ITileNotificationFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileNotification)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2107,26 +2107,26 @@ pub struct TileUpdateManager; impl TileUpdateManager { pub fn CreateTileUpdaterForApplication() -> windows_core::Result { Self::ITileUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileUpdaterForApplication)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateTileUpdaterForApplicationWithId(applicationid: &windows_core::HSTRING) -> windows_core::Result { Self::ITileUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileUpdaterForApplicationWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateTileUpdaterForSecondaryTile(tileid: &windows_core::HSTRING) -> windows_core::Result { Self::ITileUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileUpdaterForSecondaryTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Data_Xml_Dom")] pub fn GetTemplateContent(r#type: TileTemplateType) -> windows_core::Result { Self::ITileUpdateManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTemplateContent)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2136,7 +2136,7 @@ impl TileUpdateManager { P0: windows_core::Param, { Self::ITileUpdateManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2162,21 +2162,21 @@ impl TileUpdateManagerForUser { pub fn CreateTileUpdaterForApplication(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileUpdaterForApplication)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateTileUpdaterForApplicationWithId(&self, applicationid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileUpdaterForApplicationWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateTileUpdaterForSecondaryTile(&self, tileid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTileUpdaterForSecondaryTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2184,7 +2184,7 @@ impl TileUpdateManagerForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2224,7 +2224,7 @@ impl TileUpdater { pub fn Setting(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Setting)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2246,7 +2246,7 @@ impl TileUpdater { pub fn GetScheduledTileNotifications(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScheduledTileNotifications)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2317,7 +2317,7 @@ impl ToastActivatedEventArgs { pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2325,7 +2325,7 @@ impl ToastActivatedEventArgs { pub fn UserInput(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2348,14 +2348,14 @@ impl ToastCollection { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2366,7 +2366,7 @@ impl ToastCollection { pub fn LaunchArgs(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LaunchArgs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2377,7 +2377,7 @@ impl ToastCollection { pub fn Icon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Icon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2393,7 +2393,7 @@ impl ToastCollection { P0: windows_core::Param, { Self::IToastCollectionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(collectionid), core::mem::transmute_copy(displayname), core::mem::transmute_copy(launchargs), iconuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2426,7 +2426,7 @@ impl ToastCollectionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveToastCollectionAsync)(windows_core::Interface::as_raw(this), collection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2434,28 +2434,28 @@ impl ToastCollectionManager { pub fn FindAllToastCollectionsAsync(&self) -> windows_core::Result>> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllToastCollectionsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetToastCollectionAsync(&self, collectionid: &windows_core::HSTRING) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetToastCollectionAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(collectionid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoveToastCollectionAsync(&self, collectionid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveToastCollectionAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(collectionid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoveAllToastCollectionsAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveAllToastCollectionsAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2463,14 +2463,14 @@ impl ToastCollectionManager { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AppId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2495,7 +2495,7 @@ impl ToastDismissedEventArgs { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2520,7 +2520,7 @@ impl ToastFailedEventArgs { pub fn ErrorCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2546,7 +2546,7 @@ impl ToastNotification { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2560,7 +2560,7 @@ impl ToastNotification { pub fn ExpirationTime(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpirationTime)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2570,7 +2570,7 @@ impl ToastNotification { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Dismissed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2584,7 +2584,7 @@ impl ToastNotification { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Activated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2598,7 +2598,7 @@ impl ToastNotification { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Failed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2613,7 +2613,7 @@ impl ToastNotification { pub fn Tag(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2624,7 +2624,7 @@ impl ToastNotification { pub fn Group(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2635,14 +2635,14 @@ impl ToastNotification { pub fn SuppressPopup(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuppressPopup)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn NotificationMirroring(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotificationMirroring)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2653,7 +2653,7 @@ impl ToastNotification { pub fn RemoteId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2664,7 +2664,7 @@ impl ToastNotification { pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2678,7 +2678,7 @@ impl ToastNotification { pub fn Priority(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Priority)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2689,7 +2689,7 @@ impl ToastNotification { pub fn ExpiresOnReboot(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExpiresOnReboot)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2703,7 +2703,7 @@ impl ToastNotification { P0: windows_core::Param, { Self::IToastNotificationFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateToastNotification)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2733,7 +2733,7 @@ impl ToastNotificationActionTriggerDetail { pub fn Argument(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Argument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2741,7 +2741,7 @@ impl ToastNotificationActionTriggerDetail { pub fn UserInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2793,7 +2793,7 @@ impl ToastNotificationHistory { pub fn GetHistory(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHistory)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2801,7 +2801,7 @@ impl ToastNotificationHistory { pub fn GetHistoryWithId(&self, applicationid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHistoryWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2824,14 +2824,14 @@ impl ToastNotificationHistoryChangedTriggerDetail { pub fn ChangeType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CollectionId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CollectionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2850,26 +2850,26 @@ pub struct ToastNotificationManager; impl ToastNotificationManager { pub fn CreateToastNotifier() -> windows_core::Result { Self::IToastNotificationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateToastNotifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateToastNotifierWithId(applicationid: &windows_core::HSTRING) -> windows_core::Result { Self::IToastNotificationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateToastNotifierWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Data_Xml_Dom")] pub fn GetTemplateContent(r#type: ToastTemplateType) -> windows_core::Result { Self::IToastNotificationManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTemplateContent)(windows_core::Interface::as_raw(this), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn History() -> windows_core::Result { Self::IToastNotificationManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).History)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2879,7 +2879,7 @@ impl ToastNotificationManager { P0: windows_core::Param, { Self::IToastNotificationManagerStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2888,7 +2888,7 @@ impl ToastNotificationManager { } pub fn GetDefault() -> windows_core::Result { Self::IToastNotificationManagerStatics5(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2924,21 +2924,21 @@ impl ToastNotificationManagerForUser { pub fn CreateToastNotifier(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateToastNotifier)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateToastNotifierWithId(&self, applicationid: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateToastNotifierWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn History(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).History)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2946,42 +2946,42 @@ impl ToastNotificationManagerForUser { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetToastNotifierForToastCollectionIdAsync(&self, collectionid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetToastNotifierForToastCollectionIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(collectionid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetHistoryForToastCollectionIdAsync(&self, collectionid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetHistoryForToastCollectionIdAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(collectionid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetToastCollectionManager(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetToastCollectionManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetToastCollectionManagerWithAppId(&self, appid: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetToastCollectionManagerWithAppId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(appid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NotificationMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotificationMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2991,7 +2991,7 @@ impl ToastNotificationManagerForUser { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotificationModeChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3034,7 +3034,7 @@ impl ToastNotifier { pub fn Setting(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Setting)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3056,7 +3056,7 @@ impl ToastNotifier { pub fn GetScheduledToastNotifications(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetScheduledToastNotifications)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3066,7 +3066,7 @@ impl ToastNotifier { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateWithTagAndGroup)(windows_core::Interface::as_raw(this), data.param().abi(), core::mem::transmute_copy(tag), core::mem::transmute_copy(group), &mut result__).map(|| result__) } } @@ -3076,7 +3076,7 @@ impl ToastNotifier { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateWithTag)(windows_core::Interface::as_raw(this), data.param().abi(), core::mem::transmute_copy(tag), &mut result__).map(|| result__) } } @@ -3086,7 +3086,7 @@ impl ToastNotifier { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScheduledToastNotificationShowing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -3115,7 +3115,7 @@ impl UserNotification { pub fn Notification(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Notification)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3123,21 +3123,21 @@ impl UserNotification { pub fn AppInfo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreationTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreationTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3162,14 +3162,14 @@ impl UserNotificationChangedEventArgs { pub fn ChangeKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ChangeKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UserNotificationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserNotificationId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/UI/Popups/impl.rs b/crates/libs/windows/src/Windows/UI/Popups/impl.rs index 2be8baa502..536910df4b 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/impl.rs @@ -11,7 +11,7 @@ impl windows_core::RuntimeName for IUICommand { } impl IUICommand_Vtbl { pub const fn new, Impl: IUICommand_Impl, const OFFSET: isize>() -> IUICommand_Vtbl { - unsafe extern "system" fn Label, Impl: IUICommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IUICommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUICommand_Impl::Label(this) { @@ -23,7 +23,7 @@ impl IUICommand_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IUICommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IUICommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUICommand_Impl::SetLabel(this, core::mem::transmute(&value)).into() diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index 0e5dc43092..b0a86383ad 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -5,8 +5,8 @@ impl windows_core::RuntimeType for IMessageDialog { #[repr(C)] pub struct IMessageDialog_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Commands: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -15,8 +15,8 @@ pub struct IMessageDialog_Vtbl { pub SetDefaultCommandIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CancelCommandIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCancelCommandIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ShowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MessageDialogOptions) -> windows_core::HRESULT, pub SetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, MessageDialogOptions) -> windows_core::HRESULT, @@ -28,8 +28,8 @@ impl windows_core::RuntimeType for IMessageDialogFactory { #[repr(C)] pub struct IMessageDialogFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPopupMenu, IPopupMenu_Vtbl, 0x4e9bc6dc_880d_47fc_a0a1_72b639e62559); impl windows_core::RuntimeType for IPopupMenu { @@ -50,7 +50,7 @@ windows_core::imp::define_interface!(IUICommand, IUICommand_Vtbl, 0x4ff93a75_414 impl std::ops::Deref for IUICommand { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUICommand, windows_core::IUnknown, windows_core::IInspectable); @@ -58,7 +58,7 @@ impl IUICommand { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -69,7 +69,7 @@ impl IUICommand { pub fn Invoked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invoked)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -83,7 +83,7 @@ impl IUICommand { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -101,8 +101,8 @@ impl windows_core::RuntimeType for IUICommand { #[repr(C)] pub struct IUICommand_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Invoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetInvoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -115,9 +115,9 @@ impl windows_core::RuntimeType for IUICommandFactory { #[repr(C)] pub struct IUICommandFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithHandler: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithHandlerAndId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithHandler: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithHandlerAndId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -127,7 +127,7 @@ impl MessageDialog { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -139,14 +139,14 @@ impl MessageDialog { pub fn Commands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Commands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultCommandIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultCommandIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -157,7 +157,7 @@ impl MessageDialog { pub fn CancelCommandIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CancelCommandIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -168,7 +168,7 @@ impl MessageDialog { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -179,14 +179,14 @@ impl MessageDialog { pub fn ShowAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Options(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -196,13 +196,13 @@ impl MessageDialog { } pub fn Create(content: &windows_core::HSTRING) -> windows_core::Result { Self::IMessageDialogFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(content), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithTitle(content: &windows_core::HSTRING, title: &windows_core::HSTRING) -> windows_core::Result { Self::IMessageDialogFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithTitle)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(content), core::mem::transmute_copy(title), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -238,28 +238,28 @@ impl PopupMenu { pub fn Commands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Commands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowAsync(&self, invocationpoint: super::super::Foundation::Point) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsync)(windows_core::Interface::as_raw(this), invocationpoint, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowAsyncWithRect(&self, selection: super::super::Foundation::Rect) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsyncWithRect)(windows_core::Interface::as_raw(this), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowAsyncWithRectAndPlacement(&self, selection: super::super::Foundation::Rect, preferredplacement: Placement) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsyncWithRectAndPlacement)(windows_core::Interface::as_raw(this), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -290,7 +290,7 @@ impl UICommand { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -301,7 +301,7 @@ impl UICommand { pub fn Invoked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invoked)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -315,7 +315,7 @@ impl UICommand { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -328,7 +328,7 @@ impl UICommand { } pub fn Create(label: &windows_core::HSTRING) -> windows_core::Result { Self::IUICommandFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -337,7 +337,7 @@ impl UICommand { P0: windows_core::Param, { Self::IUICommandFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithHandler)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), action.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -347,7 +347,7 @@ impl UICommand { P1: windows_core::Param, { Self::IUICommandFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithHandlerAndId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(label), action.param().abi(), commandid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -385,7 +385,7 @@ impl UICommandSeparator { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -396,7 +396,7 @@ impl UICommandSeparator { pub fn Invoked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Invoked)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -410,7 +410,7 @@ impl UICommandSeparator { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/UI/Shell/impl.rs index 5d0142878f..6c55c96541 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/impl.rs @@ -6,7 +6,7 @@ impl windows_core::RuntimeName for IAdaptiveCard { } impl IAdaptiveCard_Vtbl { pub const fn new, Impl: IAdaptiveCard_Impl, const OFFSET: isize>() -> IAdaptiveCard_Vtbl { - unsafe extern "system" fn ToJson, Impl: IAdaptiveCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ToJson, Impl: IAdaptiveCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAdaptiveCard_Impl::ToJson(this) { @@ -32,7 +32,7 @@ impl windows_core::RuntimeName for IAdaptiveCardBuilderStatics { } impl IAdaptiveCardBuilderStatics_Vtbl { pub const fn new, Impl: IAdaptiveCardBuilderStatics_Impl, const OFFSET: isize>() -> IAdaptiveCardBuilderStatics_Vtbl { - unsafe extern "system" fn CreateAdaptiveCardFromJson, Impl: IAdaptiveCardBuilderStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateAdaptiveCardFromJson, Impl: IAdaptiveCardBuilderStatics_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAdaptiveCardBuilderStatics_Impl::CreateAdaptiveCardFromJson(this, core::mem::transmute(&value)) { diff --git a/crates/libs/windows/src/Windows/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/UI/Shell/mod.rs index f8ab947964..10adfc9dd6 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IAdaptiveCard, IAdaptiveCard_Vtbl, 0x72d056 impl std::ops::Deref for IAdaptiveCard { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdaptiveCard, windows_core::IUnknown, windows_core::IInspectable); @@ -10,7 +10,7 @@ impl IAdaptiveCard { pub fn ToJson(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToJson)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21,13 +21,13 @@ impl windows_core::RuntimeType for IAdaptiveCard { #[repr(C)] pub struct IAdaptiveCard_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ToJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdaptiveCardBuilderStatics, IAdaptiveCardBuilderStatics_Vtbl, 0x766d8f08_d3fe_4347_a0bc_b9ea9a6dc28e); impl std::ops::Deref for IAdaptiveCardBuilderStatics { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdaptiveCardBuilderStatics, windows_core::IUnknown, windows_core::IInspectable); @@ -35,7 +35,7 @@ impl IAdaptiveCardBuilderStatics { pub fn CreateAdaptiveCardFromJson(&self, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAdaptiveCardFromJson)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -46,7 +46,7 @@ impl windows_core::RuntimeType for IAdaptiveCardBuilderStatics { #[repr(C)] pub struct IAdaptiveCardBuilderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateAdaptiveCardFromJson: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAdaptiveCardFromJson: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFocusSession, IFocusSession_Vtbl, 0x069fbab8_0e84_5f2f_8614_9b6544326277); impl windows_core::RuntimeType for IFocusSession { @@ -55,7 +55,7 @@ impl windows_core::RuntimeType for IFocusSession { #[repr(C)] pub struct IFocusSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFocusSessionManager, IFocusSessionManager_Vtbl, 0xe7ffbaa9_d8be_5dbf_bac6_49364842e37e); @@ -66,7 +66,7 @@ impl windows_core::RuntimeType for IFocusSessionManager { pub struct IFocusSessionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsFocusActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub GetSession: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSession: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryStartFocusSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryStartFocusSession2: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeactivateFocus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -90,7 +90,7 @@ impl windows_core::RuntimeType for ISecurityAppManager { #[repr(C)] pub struct ISecurityAppManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, SecurityAppKind, std::mem::MaybeUninit, *mut core::ffi::c_void, bool, *mut windows_core::GUID) -> windows_core::HRESULT, + pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, SecurityAppKind, core::mem::MaybeUninit, *mut core::ffi::c_void, bool, *mut windows_core::GUID) -> windows_core::HRESULT, pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, SecurityAppKind, windows_core::GUID) -> windows_core::HRESULT, pub UpdateState: unsafe extern "system" fn(*mut core::ffi::c_void, SecurityAppKind, windows_core::GUID, SecurityAppState, SecurityAppSubstatus, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -156,12 +156,12 @@ impl windows_core::RuntimeType for ITaskbarManager2 { #[repr(C)] pub struct ITaskbarManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub IsSecondaryTilePinnedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsSecondaryTilePinnedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "UI_StartScreen")] pub RequestPinSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_StartScreen"))] RequestPinSecondaryTileAsync: usize, - pub TryUnpinSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryUnpinSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskbarManagerDesktopAppSupportStatics, ITaskbarManagerDesktopAppSupportStatics_Vtbl, 0xcdfefd63_e879_4134_b9a7_8283f05f9480); impl windows_core::RuntimeType for ITaskbarManagerDesktopAppSupportStatics { @@ -189,12 +189,12 @@ pub struct IWindowTab_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Icon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TreatAsSecondaryTileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTreatAsSecondaryTileId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TreatAsSecondaryTileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTreatAsSecondaryTileId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportThumbnailAvailable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -224,8 +224,8 @@ impl windows_core::RuntimeType for IWindowTabGroup { #[repr(C)] pub struct IWindowTabGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Icon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -244,8 +244,8 @@ impl windows_core::RuntimeType for IWindowTabIconStatics { #[repr(C)] pub struct IWindowTabIconStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromFontGlyph: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromFontGlyphWithUri: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromFontGlyph: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromFontGlyphWithUri: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub CreateFromImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -328,7 +328,7 @@ pub struct AdaptiveCardBuilder; impl AdaptiveCardBuilder { pub fn CreateAdaptiveCardFromJson(value: &windows_core::HSTRING) -> windows_core::Result { Self::IAdaptiveCardBuilderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAdaptiveCardFromJson)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -349,7 +349,7 @@ impl FocusSession { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -378,28 +378,28 @@ impl FocusSessionManager { pub fn IsFocusActive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFocusActive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetSession(&self, id: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetSession)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryStartFocusSession(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryStartFocusSession)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryStartFocusSession2(&self, endtime: super::super::Foundation::DateTime) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryStartFocusSession2)(windows_core::Interface::as_raw(this), endtime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -413,7 +413,7 @@ impl FocusSessionManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFocusActiveChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -423,13 +423,13 @@ impl FocusSessionManager { } pub fn GetDefault() -> windows_core::Result { Self::IFocusSessionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IFocusSessionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -469,7 +469,7 @@ impl SecurityAppManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Register)(windows_core::Interface::as_raw(this), kind, core::mem::transmute_copy(displayname), detailsuri.param().abi(), registerperuser, &mut result__).map(|| result__) } } @@ -505,14 +505,14 @@ impl ShareWindowCommandEventArgs { pub fn WindowId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Command(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Command)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -556,7 +556,7 @@ impl ShareWindowCommandSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -570,7 +570,7 @@ impl ShareWindowCommandSource { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommandInvoked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -580,7 +580,7 @@ impl ShareWindowCommandSource { } pub fn GetForCurrentView() -> windows_core::Result { Self::IShareWindowCommandSourceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -610,21 +610,21 @@ impl TaskbarManager { pub fn IsSupported(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsPinningAllowed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPinningAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsCurrentAppPinnedAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCurrentAppPinnedAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -635,14 +635,14 @@ impl TaskbarManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAppListEntryPinnedAsync)(windows_core::Interface::as_raw(this), applistentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestPinCurrentAppAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPinCurrentAppAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -653,14 +653,14 @@ impl TaskbarManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPinAppListEntryAsync)(windows_core::Interface::as_raw(this), applistentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSecondaryTilePinnedAsync(&self, tileid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSecondaryTilePinnedAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -671,20 +671,20 @@ impl TaskbarManager { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPinSecondaryTileAsync)(windows_core::Interface::as_raw(this), secondarytile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryUnpinSecondaryTileAsync(&self, tileid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUnpinSecondaryTileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::ITaskbarManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -721,7 +721,7 @@ impl WindowTab { pub fn Tag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -735,7 +735,7 @@ impl WindowTab { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -746,7 +746,7 @@ impl WindowTab { pub fn Icon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Icon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -760,7 +760,7 @@ impl WindowTab { pub fn TreatAsSecondaryTileId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TreatAsSecondaryTileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -771,7 +771,7 @@ impl WindowTab { pub fn Group(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Group)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -807,7 +807,7 @@ impl WindowTabCloseRequestedEventArgs { pub fn Tab(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tab)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -835,7 +835,7 @@ impl WindowTabCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -843,7 +843,7 @@ impl WindowTabCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -851,7 +851,7 @@ impl WindowTabCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -859,7 +859,7 @@ impl WindowTabCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -870,7 +870,7 @@ impl WindowTabCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -917,7 +917,7 @@ impl WindowTabCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -977,7 +977,7 @@ impl WindowTabGroup { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -988,7 +988,7 @@ impl WindowTabGroup { pub fn Icon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Icon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1019,7 +1019,7 @@ windows_core::imp::interface_hierarchy!(WindowTabIcon, windows_core::IUnknown, w impl WindowTabIcon { pub fn CreateFromFontGlyph(glyph: &windows_core::HSTRING, fontfamily: &windows_core::HSTRING) -> windows_core::Result { Self::IWindowTabIconStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromFontGlyph)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(glyph), core::mem::transmute_copy(fontfamily), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1028,7 +1028,7 @@ impl WindowTabIcon { P0: windows_core::Param, { Self::IWindowTabIconStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromFontGlyphWithUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(glyph), core::mem::transmute_copy(fontfamily), fonturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1038,7 +1038,7 @@ impl WindowTabIcon { P0: windows_core::Param, { Self::IWindowTabIconStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromImage)(windows_core::Interface::as_raw(this), image.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1068,7 +1068,7 @@ impl WindowTabManager { pub fn Tabs(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tabs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1085,7 +1085,7 @@ impl WindowTabManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TabSwitchRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1099,7 +1099,7 @@ impl WindowTabManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TabCloseRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1113,7 +1113,7 @@ impl WindowTabManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TabTearOutRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1127,7 +1127,7 @@ impl WindowTabManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TabThumbnailRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1137,19 +1137,19 @@ impl WindowTabManager { } pub fn GetForWindow(id: super::WindowId) -> windows_core::Result { Self::IWindowTabManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForWindow)(windows_core::Interface::as_raw(this), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IWindowTabManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IsTabTearOutSupported() -> windows_core::Result { Self::IWindowTabManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsTabTearOutSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1179,7 +1179,7 @@ impl WindowTabSwitchRequestedEventArgs { pub fn Tab(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tab)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1204,14 +1204,14 @@ impl WindowTabTearOutRequestedEventArgs { pub fn Tab(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tab)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WindowId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1222,7 +1222,7 @@ impl WindowTabTearOutRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1247,7 +1247,7 @@ impl WindowTabThumbnailRequestedEventArgs { pub fn Tab(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tab)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1255,7 +1255,7 @@ impl WindowTabThumbnailRequestedEventArgs { pub fn RequestedSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1263,7 +1263,7 @@ impl WindowTabThumbnailRequestedEventArgs { pub fn Image(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Image)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1278,14 +1278,14 @@ impl WindowTabThumbnailRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsCompositedOnWindow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCompositedOnWindow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs index 01e6db2556..2113ca44c5 100644 --- a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs @@ -21,14 +21,14 @@ impl windows_core::RuntimeType for IJumpListItem { pub struct IJumpListItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut JumpListItemKind) -> windows_core::HRESULT, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemovedByUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -39,7 +39,7 @@ impl windows_core::RuntimeType for IJumpListItemStatics { #[repr(C)] pub struct IJumpListItemStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSeparator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJumpListStatics, IJumpListStatics_Vtbl, 0xa7e0c681_e67e_4b74_8250_3f322c4d92c3); @@ -59,20 +59,20 @@ impl windows_core::RuntimeType for ISecondaryTile { #[repr(C)] pub struct ISecondaryTile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetTileId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTileId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] - pub SetShortName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetShortName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] SetShortName: usize, #[cfg(feature = "deprecated")] - pub ShortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] ShortName: usize, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "deprecated")] pub SetLogo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] @@ -148,8 +148,8 @@ impl windows_core::RuntimeType for ISecondaryTile2 { #[repr(C)] pub struct ISecondaryTile2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetPhoneticName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PhoneticName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPhoneticName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneticName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub VisualElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRoamingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub RoamingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -164,14 +164,14 @@ impl windows_core::RuntimeType for ISecondaryTileFactory { pub struct ISecondaryTileFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "deprecated")] - pub CreateTile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, TileOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, TileOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateTile: usize, #[cfg(feature = "deprecated")] - pub CreateWideTile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, TileOptions, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWideTile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, TileOptions, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "deprecated"))] CreateWideTile: usize, - pub CreateWithId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISecondaryTileFactory2, ISecondaryTileFactory2_Vtbl, 0x274b8a3b_522d_448e_9eb2_d0672ab345c8); impl windows_core::RuntimeType for ISecondaryTileFactory2 { @@ -180,7 +180,7 @@ impl windows_core::RuntimeType for ISecondaryTileFactory2 { #[repr(C)] pub struct ISecondaryTileFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateMinimalTile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, TileSize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateMinimalTile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, TileSize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISecondaryTileStatics, ISecondaryTileStatics_Vtbl, 0x99908dae_d051_4676_87fe_9ec242d83c74); impl windows_core::RuntimeType for ISecondaryTileStatics { @@ -189,13 +189,13 @@ impl windows_core::RuntimeType for ISecondaryTileStatics { #[repr(C)] pub struct ISecondaryTileStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Exists: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub Exists: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub FindAllAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, #[cfg(feature = "Foundation_Collections")] - pub FindAllForApplicationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindAllForApplicationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] FindAllForApplicationAsync: usize, #[cfg(feature = "Foundation_Collections")] @@ -303,8 +303,8 @@ impl windows_core::RuntimeType for IStartScreenManager2 { #[repr(C)] pub struct IStartScreenManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContainsSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryRemoveSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ContainsSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryRemoveSecondaryTileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStartScreenManagerStatics, IStartScreenManagerStatics_Vtbl, 0x7865ef0f_b585_464e_8993_34e8f8738d48); impl windows_core::RuntimeType for IStartScreenManagerStatics { @@ -389,14 +389,14 @@ impl JumpList { pub fn Items(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SystemGroupKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SystemGroupKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -407,19 +407,19 @@ impl JumpList { pub fn SaveAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaveAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LoadCurrentAsync() -> windows_core::Result> { Self::IJumpListStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LoadCurrentAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn IsSupported() -> windows_core::Result { Self::IJumpListStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSupported)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -449,28 +449,28 @@ impl JumpListItem { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemovedByUser(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemovedByUser)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Description(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Description)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -481,7 +481,7 @@ impl JumpListItem { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -492,7 +492,7 @@ impl JumpListItem { pub fn GroupName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GroupName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -503,7 +503,7 @@ impl JumpListItem { pub fn Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -516,13 +516,13 @@ impl JumpListItem { } pub fn CreateWithArguments(arguments: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result { Self::IJumpListItemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithArguments)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(arguments), core::mem::transmute_copy(displayname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSeparator() -> windows_core::Result { Self::IJumpListItemStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSeparator)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -563,7 +563,7 @@ impl SecondaryTile { pub fn TileId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -574,7 +574,7 @@ impl SecondaryTile { pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -587,7 +587,7 @@ impl SecondaryTile { pub fn ShortName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShortName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -598,7 +598,7 @@ impl SecondaryTile { pub fn DisplayName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -614,7 +614,7 @@ impl SecondaryTile { pub fn Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -630,7 +630,7 @@ impl SecondaryTile { pub fn SmallLogo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmallLogo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -646,7 +646,7 @@ impl SecondaryTile { pub fn WideLogo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WideLogo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -660,7 +660,7 @@ impl SecondaryTile { pub fn LockScreenBadgeLogo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockScreenBadgeLogo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -671,7 +671,7 @@ impl SecondaryTile { pub fn LockScreenDisplayBadgeAndTileText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LockScreenDisplayBadgeAndTileText)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -684,7 +684,7 @@ impl SecondaryTile { pub fn TileOptions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileOptions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -697,7 +697,7 @@ impl SecondaryTile { pub fn ForegroundText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundText)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -710,28 +710,28 @@ impl SecondaryTile { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestCreateAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCreateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestCreateAsyncWithPoint(&self, invocationpoint: super::super::Foundation::Point) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCreateAsyncWithPoint)(windows_core::Interface::as_raw(this), invocationpoint, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestCreateAsyncWithRect(&self, selection: super::super::Foundation::Rect) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCreateAsyncWithRect)(windows_core::Interface::as_raw(this), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -739,28 +739,28 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCreateAsyncWithRectAndPlacement)(windows_core::Interface::as_raw(this), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestDeleteAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDeleteAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestDeleteAsyncWithPoint(&self, invocationpoint: super::super::Foundation::Point) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDeleteAsyncWithPoint)(windows_core::Interface::as_raw(this), invocationpoint, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestDeleteAsyncWithRect(&self, selection: super::super::Foundation::Rect) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDeleteAsyncWithRect)(windows_core::Interface::as_raw(this), selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -768,14 +768,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDeleteAsyncWithRectAndPlacement)(windows_core::Interface::as_raw(this), selection, preferredplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UpdateAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -786,14 +786,14 @@ impl SecondaryTile { pub fn PhoneticName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PhoneticName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn VisualElements(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisualElements)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -804,7 +804,7 @@ impl SecondaryTile { pub fn RoamingEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -814,7 +814,7 @@ impl SecondaryTile { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisualElementsRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -828,7 +828,7 @@ impl SecondaryTile { P0: windows_core::Param, { Self::ISecondaryTileFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), core::mem::transmute_copy(shortname), core::mem::transmute_copy(displayname), core::mem::transmute_copy(arguments), tileoptions, logoreference.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -839,13 +839,13 @@ impl SecondaryTile { P1: windows_core::Param, { Self::ISecondaryTileFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWideTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), core::mem::transmute_copy(shortname), core::mem::transmute_copy(displayname), core::mem::transmute_copy(arguments), tileoptions, logoreference.param().abi(), widelogoreference.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithId(tileid: &windows_core::HSTRING) -> windows_core::Result { Self::ISecondaryTileFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithId)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -854,34 +854,34 @@ impl SecondaryTile { P0: windows_core::Param, { Self::ISecondaryTileFactory2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMinimalTile)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), core::mem::transmute_copy(displayname), core::mem::transmute_copy(arguments), square150x150logo.param().abi(), desiredsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Exists(tileid: &windows_core::HSTRING) -> windows_core::Result { Self::ISecondaryTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Exists)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).map(|| result__) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllAsync() -> windows_core::Result>> { Self::ISecondaryTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllForApplicationAsync(applicationid: &windows_core::HSTRING) -> windows_core::Result>> { Self::ISecondaryTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllForApplicationAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(applicationid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllForPackageAsync() -> windows_core::Result>> { Self::ISecondaryTileStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllForPackageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -930,7 +930,7 @@ impl SecondaryTileVisualElements { pub fn Square30x30Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Square30x30Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -946,7 +946,7 @@ impl SecondaryTileVisualElements { pub fn Square70x70Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Square70x70Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -960,7 +960,7 @@ impl SecondaryTileVisualElements { pub fn Square150x150Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Square150x150Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -974,7 +974,7 @@ impl SecondaryTileVisualElements { pub fn Wide310x150Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wide310x150Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -988,7 +988,7 @@ impl SecondaryTileVisualElements { pub fn Square310x310Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Square310x310Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -999,7 +999,7 @@ impl SecondaryTileVisualElements { pub fn ForegroundText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundText)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1010,7 +1010,7 @@ impl SecondaryTileVisualElements { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1021,7 +1021,7 @@ impl SecondaryTileVisualElements { pub fn ShowNameOnSquare150x150Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowNameOnSquare150x150Logo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1032,7 +1032,7 @@ impl SecondaryTileVisualElements { pub fn ShowNameOnWide310x150Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowNameOnWide310x150Logo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1043,7 +1043,7 @@ impl SecondaryTileVisualElements { pub fn ShowNameOnSquare310x310Logo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowNameOnSquare310x310Logo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1057,7 +1057,7 @@ impl SecondaryTileVisualElements { pub fn Square71x71Logo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Square71x71Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1071,14 +1071,14 @@ impl SecondaryTileVisualElements { pub fn Square44x44Logo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Square44x44Logo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MixedRealityModel(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MixedRealityModel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1104,7 +1104,7 @@ impl StartScreenManager { pub fn User(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1115,7 +1115,7 @@ impl StartScreenManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportsAppListEntry)(windows_core::Interface::as_raw(this), applistentry.param().abi(), &mut result__).map(|| result__) } } @@ -1126,7 +1126,7 @@ impl StartScreenManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsAppListEntryAsync)(windows_core::Interface::as_raw(this), applistentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1137,27 +1137,27 @@ impl StartScreenManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestAddAppListEntryAsync)(windows_core::Interface::as_raw(this), applistentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContainsSecondaryTileAsync(&self, tileid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsSecondaryTileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryRemoveSecondaryTileAsync(&self, tileid: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryRemoveSecondaryTileAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(tileid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefault() -> windows_core::Result { Self::IStartScreenManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefault)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1167,7 +1167,7 @@ impl StartScreenManager { P0: windows_core::Param, { Self::IStartScreenManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1204,7 +1204,7 @@ impl TileMixedRealityModel { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1220,7 +1220,7 @@ impl TileMixedRealityModel { pub fn BoundingBox(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BoundingBox)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1231,7 +1231,7 @@ impl TileMixedRealityModel { pub fn ActivationBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivationBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1256,7 +1256,7 @@ impl VisualElementsRequest { pub fn VisualElements(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisualElements)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1264,21 +1264,21 @@ impl VisualElementsRequest { pub fn AlternateVisualElements(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlternateVisualElements)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1325,7 +1325,7 @@ impl VisualElementsRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 2e6cd9e6e0..417c235a4c 100644 --- a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs @@ -19,7 +19,7 @@ impl windows_core::RuntimeType for ICoreTextCompositionSegment { #[repr(C)] pub struct ICoreTextCompositionSegment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PreconversionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PreconversionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Range: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreTextRange) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreTextCompositionStartedEventArgs, ICoreTextCompositionStartedEventArgs_Vtbl, 0x276b16a9_64e7_4ab0_bc4b_a02d73835bfb); @@ -39,8 +39,8 @@ impl windows_core::RuntimeType for ICoreTextEditContext { #[repr(C)] pub struct ICoreTextEditContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub InputScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreTextInputScope) -> windows_core::HRESULT, pub SetInputScope: unsafe extern "system" fn(*mut core::ffi::c_void, CoreTextInputScope) -> windows_core::HRESULT, pub IsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -225,8 +225,8 @@ impl windows_core::RuntimeType for ICoreTextTextRequest { pub struct ICoreTextTextRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Range: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreTextRange) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCanceled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -247,7 +247,7 @@ impl windows_core::RuntimeType for ICoreTextTextUpdatingEventArgs { pub struct ICoreTextTextUpdatingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Range: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreTextRange) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NewSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreTextRange) -> windows_core::HRESULT, #[cfg(feature = "Globalization")] pub InputLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -266,7 +266,7 @@ impl CoreTextCompositionCompletedEventArgs { pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -274,14 +274,14 @@ impl CoreTextCompositionCompletedEventArgs { pub fn CompositionSegments(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositionSegments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -306,14 +306,14 @@ impl CoreTextCompositionSegment { pub fn PreconversionString(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreconversionString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Range(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Range)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -338,14 +338,14 @@ impl CoreTextCompositionStartedEventArgs { pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -370,7 +370,7 @@ impl CoreTextEditContext { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -381,7 +381,7 @@ impl CoreTextEditContext { pub fn InputScope(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputScope)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -392,7 +392,7 @@ impl CoreTextEditContext { pub fn IsReadOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsReadOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -403,7 +403,7 @@ impl CoreTextEditContext { pub fn InputPaneDisplayPolicy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputPaneDisplayPolicy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -417,7 +417,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -431,7 +431,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -445,7 +445,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LayoutRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -459,7 +459,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextUpdating)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -473,7 +473,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SelectionUpdating)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -487,7 +487,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormatUpdating)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -501,7 +501,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositionStarted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -515,7 +515,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CompositionCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -529,7 +529,7 @@ impl CoreTextEditContext { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FocusRemoved)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -563,7 +563,7 @@ impl CoreTextEditContext { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NotifyFocusLeaveCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -592,7 +592,7 @@ impl CoreTextFormatUpdatingEventArgs { pub fn Range(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Range)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -600,7 +600,7 @@ impl CoreTextFormatUpdatingEventArgs { pub fn TextColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -608,7 +608,7 @@ impl CoreTextFormatUpdatingEventArgs { pub fn BackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -616,28 +616,28 @@ impl CoreTextFormatUpdatingEventArgs { pub fn UnderlineColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnderlineColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnderlineType(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnderlineType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -648,14 +648,14 @@ impl CoreTextFormatUpdatingEventArgs { pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -680,7 +680,7 @@ impl CoreTextLayoutBounds { pub fn TextBounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextBounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -691,7 +691,7 @@ impl CoreTextLayoutBounds { pub fn ControlBounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ControlBounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -720,35 +720,35 @@ impl CoreTextLayoutRequest { pub fn Range(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Range)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LayoutBounds(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LayoutBounds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LayoutBoundsVisualPixels(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LayoutBoundsVisualPixels)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -773,7 +773,7 @@ impl CoreTextLayoutRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -798,7 +798,7 @@ impl CoreTextSelectionRequest { pub fn Selection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Selection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -809,14 +809,14 @@ impl CoreTextSelectionRequest { pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -841,7 +841,7 @@ impl CoreTextSelectionRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -866,14 +866,14 @@ impl CoreTextSelectionUpdatingEventArgs { pub fn Selection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Selection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -884,14 +884,14 @@ impl CoreTextSelectionUpdatingEventArgs { pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -912,7 +912,7 @@ pub struct CoreTextServicesConstants; impl CoreTextServicesConstants { pub fn HiddenCharacter() -> windows_core::Result { Self::ICoreTextServicesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HiddenCharacter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -934,7 +934,7 @@ impl CoreTextServicesManager { pub fn InputLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -944,7 +944,7 @@ impl CoreTextServicesManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputLanguageChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -955,13 +955,13 @@ impl CoreTextServicesManager { pub fn CreateEditContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateEditContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetForCurrentView() -> windows_core::Result { Self::ICoreTextServicesManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -991,14 +991,14 @@ impl CoreTextTextRequest { pub fn Range(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Range)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1009,14 +1009,14 @@ impl CoreTextTextRequest { pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1041,7 +1041,7 @@ impl CoreTextTextRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1066,21 +1066,21 @@ impl CoreTextTextUpdatingEventArgs { pub fn Range(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Range)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NewSelection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewSelection)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1088,14 +1088,14 @@ impl CoreTextTextUpdatingEventArgs { pub fn InputLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InputLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1106,14 +1106,14 @@ impl CoreTextTextUpdatingEventArgs { pub fn IsCanceled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsCanceled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/UI/Text/impl.rs b/crates/libs/windows/src/Windows/UI/Text/impl.rs index 65edf839f3..62610e808a 100644 --- a/crates/libs/windows/src/Windows/UI/Text/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Text/impl.rs @@ -199,7 +199,7 @@ impl ITextCharacterFormat_Vtbl { let this = (*this).get_impl(); ITextCharacterFormat_Impl::SetKerning(this, value).into() } - unsafe extern "system" fn LanguageTag, Impl: ITextCharacterFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LanguageTag, Impl: ITextCharacterFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextCharacterFormat_Impl::LanguageTag(this) { @@ -211,7 +211,7 @@ impl ITextCharacterFormat_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLanguageTag, Impl: ITextCharacterFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLanguageTag, Impl: ITextCharacterFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextCharacterFormat_Impl::SetLanguageTag(this, core::mem::transmute(&value)).into() @@ -227,7 +227,7 @@ impl ITextCharacterFormat_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ITextCharacterFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITextCharacterFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextCharacterFormat_Impl::Name(this) { @@ -239,7 +239,7 @@ impl ITextCharacterFormat_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: ITextCharacterFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: ITextCharacterFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextCharacterFormat_Impl::SetName(this, core::mem::transmute(&value)).into() @@ -743,7 +743,7 @@ impl ITextDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetText, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: TextGetOptions, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: TextGetOptions, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextDocument_Impl::GetText(this, options, core::mem::transmute_copy(&value)).into() @@ -773,7 +773,7 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); ITextDocument_Impl::SetDefaultParagraphFormat(this, windows_core::from_raw_borrowed(&value)).into() } - unsafe extern "system" fn SetText, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: TextSetOptions, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetText, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: TextSetOptions, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextDocument_Impl::SetText(this, options, core::mem::transmute(&value)).into() @@ -1469,7 +1469,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Link, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Link, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::Link(this) { @@ -1481,7 +1481,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLink, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLink, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange_Impl::SetLink(this, core::mem::transmute(&value)).into() @@ -1530,7 +1530,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Text, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Text, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::Text(this) { @@ -1542,7 +1542,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange_Impl::SetText(this, core::mem::transmute(&value)).into() @@ -1611,7 +1611,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit, scanlength: i32, options: FindOptions, result__: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn FindText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit, scanlength: i32, options: FindOptions, result__: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::FindText(this, core::mem::transmute(&value), scanlength, options) { @@ -1660,7 +1660,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); ITextRange_Impl::GetRect(this, options, core::mem::transmute_copy(&rect), core::mem::transmute_copy(&hit)).into() } - unsafe extern "system" fn GetText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: TextGetOptions, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: TextGetOptions, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange_Impl::GetText(this, options, core::mem::transmute_copy(&value)).into() @@ -1681,7 +1681,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InsertImage, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, width: i32, height: i32, ascent: i32, verticalalign: VerticalCharacterAlignment, alternatetext: std::mem::MaybeUninit, value: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InsertImage, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, width: i32, height: i32, ascent: i32, verticalalign: VerticalCharacterAlignment, alternatetext: core::mem::MaybeUninit, value: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange_Impl::InsertImage(this, width, height, ascent, verticalalign, core::mem::transmute(&alternatetext), windows_core::from_raw_borrowed(&value)).into() @@ -1771,7 +1771,7 @@ impl ITextRange_Vtbl { let this = (*this).get_impl(); ITextRange_Impl::SetRange(this, startposition, endposition).into() } - unsafe extern "system" fn SetText2, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: TextSetOptions, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetText2, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: TextSetOptions, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange_Impl::SetText2(this, options, core::mem::transmute(&value)).into() @@ -1965,7 +1965,7 @@ impl ITextSelection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TypeText, Impl: ITextSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TypeText, Impl: ITextSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextSelection_Impl::TypeText(this, core::mem::transmute(&value)).into() diff --git a/crates/libs/windows/src/Windows/UI/Text/mod.rs b/crates/libs/windows/src/Windows/UI/Text/mod.rs index f129d30536..6f606ae2eb 100644 --- a/crates/libs/windows/src/Windows/UI/Text/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/mod.rs @@ -9,14 +9,14 @@ pub struct IContentLinkInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecondaryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecondaryText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecondaryText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecondaryText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub LinkContentKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLinkContentKind: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LinkContentKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLinkContentKind: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFontWeights, IFontWeights_Vtbl, 0x7880a444_01ab_4997_8517_df822a0c45f1); impl windows_core::RuntimeType for IFontWeights { @@ -59,7 +59,7 @@ windows_core::imp::define_interface!(ITextCharacterFormat, ITextCharacterFormat_ impl std::ops::Deref for ITextCharacterFormat { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextCharacterFormat, windows_core::IUnknown, windows_core::IInspectable); @@ -67,7 +67,7 @@ impl ITextCharacterFormat { pub fn AllCaps(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllCaps)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -78,7 +78,7 @@ impl ITextCharacterFormat { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -89,7 +89,7 @@ impl ITextCharacterFormat { pub fn Bold(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bold)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -100,7 +100,7 @@ impl ITextCharacterFormat { pub fn FontStretch(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontStretch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -111,7 +111,7 @@ impl ITextCharacterFormat { pub fn FontStyle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FontStyle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -122,7 +122,7 @@ impl ITextCharacterFormat { pub fn ForegroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -133,7 +133,7 @@ impl ITextCharacterFormat { pub fn Hidden(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hidden)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -144,7 +144,7 @@ impl ITextCharacterFormat { pub fn Italic(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Italic)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -155,7 +155,7 @@ impl ITextCharacterFormat { pub fn Kerning(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kerning)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -166,7 +166,7 @@ impl ITextCharacterFormat { pub fn LanguageTag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LanguageTag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -177,14 +177,14 @@ impl ITextCharacterFormat { pub fn LinkType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinkType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -195,7 +195,7 @@ impl ITextCharacterFormat { pub fn Outline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Outline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -206,7 +206,7 @@ impl ITextCharacterFormat { pub fn Position(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Position)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -217,7 +217,7 @@ impl ITextCharacterFormat { pub fn ProtectedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtectedText)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -228,7 +228,7 @@ impl ITextCharacterFormat { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -239,7 +239,7 @@ impl ITextCharacterFormat { pub fn SmallCaps(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SmallCaps)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -250,7 +250,7 @@ impl ITextCharacterFormat { pub fn Spacing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Spacing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -261,7 +261,7 @@ impl ITextCharacterFormat { pub fn Strikethrough(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Strikethrough)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -272,7 +272,7 @@ impl ITextCharacterFormat { pub fn Subscript(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subscript)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -283,7 +283,7 @@ impl ITextCharacterFormat { pub fn Superscript(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Superscript)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -294,7 +294,7 @@ impl ITextCharacterFormat { pub fn TextScript(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextScript)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -305,7 +305,7 @@ impl ITextCharacterFormat { pub fn Underline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Underline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -316,7 +316,7 @@ impl ITextCharacterFormat { pub fn Weight(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Weight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -334,7 +334,7 @@ impl ITextCharacterFormat { pub fn GetClone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetClone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -344,7 +344,7 @@ impl ITextCharacterFormat { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), format.param().abi(), &mut result__).map(|| result__) } } @@ -373,11 +373,11 @@ pub struct ITextCharacterFormat_Vtbl { pub SetItalic: unsafe extern "system" fn(*mut core::ffi::c_void, FormatEffect) -> windows_core::HRESULT, pub Kerning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetKerning: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, - pub LanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguageTag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub LinkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LinkType) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Outline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FormatEffect) -> windows_core::HRESULT, pub SetOutline: unsafe extern "system" fn(*mut core::ffi::c_void, FormatEffect) -> windows_core::HRESULT, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, @@ -426,7 +426,7 @@ windows_core::imp::define_interface!(ITextDocument, ITextDocument_Vtbl, 0xbeee4d impl std::ops::Deref for ITextDocument { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextDocument, windows_core::IUnknown, windows_core::IInspectable); @@ -434,7 +434,7 @@ impl ITextDocument { pub fn CaretType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaretType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -445,7 +445,7 @@ impl ITextDocument { pub fn DefaultTabStop(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultTabStop)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -456,14 +456,14 @@ impl ITextDocument { pub fn Selection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Selection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UndoLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UndoLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -474,42 +474,42 @@ impl ITextDocument { pub fn CanCopy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCopy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanPaste(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPaste)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanRedo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRedo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanUndo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanUndo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ApplyDisplayUpdates(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplyDisplayUpdates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BatchDisplayUpdates(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BatchDisplayUpdates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -524,28 +524,28 @@ impl ITextDocument { pub fn GetDefaultCharacterFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultCharacterFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefaultParagraphFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultParagraphFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetRange(&self, startposition: i32, endposition: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRange)(windows_core::Interface::as_raw(this), startposition, endposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetRangeFromPoint(&self, point: super::super::Foundation::Point, options: PointOptions) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRangeFromPoint)(windows_core::Interface::as_raw(this), point, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -621,7 +621,7 @@ pub struct ITextDocument_Vtbl { pub GetDefaultParagraphFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRangeFromPoint: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point, PointOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, TextGetOptions, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, TextGetOptions, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub LoadFromStream: unsafe extern "system" fn(*mut core::ffi::c_void, TextSetOptions, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -633,7 +633,7 @@ pub struct ITextDocument_Vtbl { SaveToStream: usize, pub SetDefaultCharacterFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDefaultParagraphFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, TextSetOptions, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, TextSetOptions, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Undo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextDocument2, ITextDocument2_Vtbl, 0xf2311112_8c89_49c9_9118_f057cbb814ee); @@ -664,15 +664,15 @@ impl windows_core::RuntimeType for ITextDocument4 { #[repr(C)] pub struct ITextDocument4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetMath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetMath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetMathMode: unsafe extern "system" fn(*mut core::ffi::c_void, RichEditMathMode) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextParagraphFormat, ITextParagraphFormat_Vtbl, 0x2cf8cfa6_4676_498a_93f5_bbdbfc0bd883); impl std::ops::Deref for ITextParagraphFormat { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextParagraphFormat, windows_core::IUnknown, windows_core::IInspectable); @@ -680,7 +680,7 @@ impl ITextParagraphFormat { pub fn Alignment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Alignment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -691,14 +691,14 @@ impl ITextParagraphFormat { pub fn FirstLineIndent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstLineIndent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn KeepTogether(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeepTogether)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -709,7 +709,7 @@ impl ITextParagraphFormat { pub fn KeepWithNext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeepWithNext)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -720,28 +720,28 @@ impl ITextParagraphFormat { pub fn LeftIndent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeftIndent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LineSpacing(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineSpacing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn LineSpacingRule(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineSpacingRule)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ListAlignment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ListAlignment)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -752,7 +752,7 @@ impl ITextParagraphFormat { pub fn ListLevelIndex(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ListLevelIndex)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -763,7 +763,7 @@ impl ITextParagraphFormat { pub fn ListStart(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ListStart)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -774,7 +774,7 @@ impl ITextParagraphFormat { pub fn ListStyle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ListStyle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -785,7 +785,7 @@ impl ITextParagraphFormat { pub fn ListTab(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ListTab)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -796,7 +796,7 @@ impl ITextParagraphFormat { pub fn ListType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ListType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -807,7 +807,7 @@ impl ITextParagraphFormat { pub fn NoLineNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NoLineNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -818,7 +818,7 @@ impl ITextParagraphFormat { pub fn PageBreakBefore(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageBreakBefore)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -829,7 +829,7 @@ impl ITextParagraphFormat { pub fn RightIndent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightIndent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -840,7 +840,7 @@ impl ITextParagraphFormat { pub fn RightToLeft(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightToLeft)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -851,7 +851,7 @@ impl ITextParagraphFormat { pub fn Style(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Style)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -862,7 +862,7 @@ impl ITextParagraphFormat { pub fn SpaceAfter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpaceAfter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -873,7 +873,7 @@ impl ITextParagraphFormat { pub fn SpaceBefore(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpaceBefore)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -884,7 +884,7 @@ impl ITextParagraphFormat { pub fn WidowControl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WidowControl)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -895,7 +895,7 @@ impl ITextParagraphFormat { pub fn TabCount(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TabCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -914,7 +914,7 @@ impl ITextParagraphFormat { pub fn GetClone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetClone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -928,7 +928,7 @@ impl ITextParagraphFormat { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), format.param().abi(), &mut result__).map(|| result__) } } @@ -1007,7 +1007,7 @@ windows_core::imp::define_interface!(ITextRange, ITextRange_Vtbl, 0x5b9e4e57_c07 impl std::ops::Deref for ITextRange { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextRange, windows_core::IUnknown, windows_core::IInspectable); @@ -1015,7 +1015,7 @@ impl ITextRange { pub fn Character(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Character)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1026,7 +1026,7 @@ impl ITextRange { pub fn CharacterFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1040,7 +1040,7 @@ impl ITextRange { pub fn FormattedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormattedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1054,7 +1054,7 @@ impl ITextRange { pub fn EndPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1065,7 +1065,7 @@ impl ITextRange { pub fn Gravity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gravity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1076,14 +1076,14 @@ impl ITextRange { pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Link(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Link)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1094,7 +1094,7 @@ impl ITextRange { pub fn ParagraphFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParagraphFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1108,7 +1108,7 @@ impl ITextRange { pub fn StartPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1119,14 +1119,14 @@ impl ITextRange { pub fn StoryLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoryLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1137,7 +1137,7 @@ impl ITextRange { pub fn CanPaste(&self, format: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPaste)(windows_core::Interface::as_raw(this), format, &mut result__).map(|| result__) } } @@ -1160,28 +1160,28 @@ impl ITextRange { pub fn Delete(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delete)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } pub fn EndOf(&self, unit: TextRangeUnit, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndOf)(windows_core::Interface::as_raw(this), unit, extend, &mut result__).map(|| result__) } } pub fn Expand(&self, unit: TextRangeUnit) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Expand)(windows_core::Interface::as_raw(this), unit, &mut result__).map(|| result__) } } pub fn FindText(&self, value: &windows_core::HSTRING, scanlength: i32, options: FindOptions) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), scanlength, options, &mut result__).map(|| result__) } } @@ -1192,14 +1192,14 @@ impl ITextRange { pub fn GetClone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetClone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIndex(&self, unit: TextRangeUnit) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIndex)(windows_core::Interface::as_raw(this), unit, &mut result__).map(|| result__) } } @@ -1229,7 +1229,7 @@ impl ITextRange { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InRange)(windows_core::Interface::as_raw(this), range.param().abi(), &mut result__).map(|| result__) } } @@ -1247,7 +1247,7 @@ impl ITextRange { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InStory)(windows_core::Interface::as_raw(this), range.param().abi(), &mut result__).map(|| result__) } } @@ -1257,28 +1257,28 @@ impl ITextRange { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), range.param().abi(), &mut result__).map(|| result__) } } pub fn Move(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Move)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } pub fn MoveEnd(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveEnd)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } pub fn MoveStart(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveStart)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } @@ -1321,7 +1321,7 @@ impl ITextRange { pub fn StartOf(&self, unit: TextRangeUnit, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartOf)(windows_core::Interface::as_raw(this), unit, extend, &mut result__).map(|| result__) } } @@ -1343,15 +1343,15 @@ pub struct ITextRange_Vtbl { pub Gravity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RangeGravity) -> windows_core::HRESULT, pub SetGravity: unsafe extern "system" fn(*mut core::ffi::c_void, RangeGravity) -> windows_core::HRESULT, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Link: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLink: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Link: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLink: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ParagraphFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetParagraphFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StartPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetStartPosition: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub StoryLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CanPaste: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut bool) -> windows_core::HRESULT, pub ChangeCase: unsafe extern "system" fn(*mut core::ffi::c_void, LetterCase) -> windows_core::HRESULT, pub Collapse: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, @@ -1360,20 +1360,20 @@ pub struct ITextRange_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, i32, *mut i32) -> windows_core::HRESULT, pub EndOf: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, bool, *mut i32) -> windows_core::HRESULT, pub Expand: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, *mut i32) -> windows_core::HRESULT, - pub FindText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, FindOptions, *mut i32) -> windows_core::HRESULT, + pub FindText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, FindOptions, *mut i32) -> windows_core::HRESULT, pub GetCharacterUtf32: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, i32) -> windows_core::HRESULT, pub GetClone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetIndex: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, *mut i32) -> windows_core::HRESULT, pub GetPoint: unsafe extern "system" fn(*mut core::ffi::c_void, HorizontalCharacterAlignment, VerticalCharacterAlignment, PointOptions, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub GetRect: unsafe extern "system" fn(*mut core::ffi::c_void, PointOptions, *mut super::super::Foundation::Rect, *mut i32) -> windows_core::HRESULT, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, TextGetOptions, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, TextGetOptions, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub GetTextViaStream: unsafe extern "system" fn(*mut core::ffi::c_void, TextGetOptions, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] GetTextViaStream: usize, pub InRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub InsertImage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, VerticalCharacterAlignment, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InsertImage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, VerticalCharacterAlignment, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] InsertImage: usize, pub InStory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -1387,7 +1387,7 @@ pub struct ITextRange_Vtbl { pub SetIndex: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, i32, bool) -> windows_core::HRESULT, pub SetPoint: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point, PointOptions, bool) -> windows_core::HRESULT, pub SetRange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, - pub SetText2: unsafe extern "system" fn(*mut core::ffi::c_void, TextSetOptions, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText2: unsafe extern "system" fn(*mut core::ffi::c_void, TextSetOptions, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] pub SetTextViaStream: unsafe extern "system" fn(*mut core::ffi::c_void, TextSetOptions, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] @@ -1398,7 +1398,7 @@ windows_core::imp::define_interface!(ITextSelection, ITextSelection_Vtbl, 0xa6d3 impl std::ops::Deref for ITextSelection { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextSelection, windows_core::IUnknown, windows_core::IInspectable); @@ -1407,7 +1407,7 @@ impl ITextSelection { pub fn Options(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1418,49 +1418,49 @@ impl ITextSelection { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EndKey(&self, unit: TextRangeUnit, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndKey)(windows_core::Interface::as_raw(this), unit, extend, &mut result__).map(|| result__) } } pub fn HomeKey(&self, unit: TextRangeUnit, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HomeKey)(windows_core::Interface::as_raw(this), unit, extend, &mut result__).map(|| result__) } } pub fn MoveDown(&self, unit: TextRangeUnit, count: i32, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveDown)(windows_core::Interface::as_raw(this), unit, count, extend, &mut result__).map(|| result__) } } pub fn MoveLeft(&self, unit: TextRangeUnit, count: i32, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveLeft)(windows_core::Interface::as_raw(this), unit, count, extend, &mut result__).map(|| result__) } } pub fn MoveRight(&self, unit: TextRangeUnit, count: i32, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveRight)(windows_core::Interface::as_raw(this), unit, count, extend, &mut result__).map(|| result__) } } pub fn MoveUp(&self, unit: TextRangeUnit, count: i32, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveUp)(windows_core::Interface::as_raw(this), unit, count, extend, &mut result__).map(|| result__) } } @@ -1471,7 +1471,7 @@ impl ITextSelection { pub fn Character(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Character)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1482,7 +1482,7 @@ impl ITextSelection { pub fn CharacterFormat(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1496,7 +1496,7 @@ impl ITextSelection { pub fn FormattedText(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormattedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1510,7 +1510,7 @@ impl ITextSelection { pub fn EndPosition(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1521,7 +1521,7 @@ impl ITextSelection { pub fn Gravity(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gravity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1532,14 +1532,14 @@ impl ITextSelection { pub fn Length(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Link(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Link)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1550,7 +1550,7 @@ impl ITextSelection { pub fn ParagraphFormat(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParagraphFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1564,7 +1564,7 @@ impl ITextSelection { pub fn StartPosition(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1575,14 +1575,14 @@ impl ITextSelection { pub fn StoryLength(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoryLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1593,7 +1593,7 @@ impl ITextSelection { pub fn CanPaste(&self, format: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPaste)(windows_core::Interface::as_raw(this), format, &mut result__).map(|| result__) } } @@ -1616,28 +1616,28 @@ impl ITextSelection { pub fn Delete(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delete)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } pub fn EndOf(&self, unit: TextRangeUnit, extend: bool) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndOf)(windows_core::Interface::as_raw(this), unit, extend, &mut result__).map(|| result__) } } pub fn Expand(&self, unit: TextRangeUnit) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Expand)(windows_core::Interface::as_raw(this), unit, &mut result__).map(|| result__) } } pub fn FindText(&self, value: &windows_core::HSTRING, scanlength: i32, options: FindOptions) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), scanlength, options, &mut result__).map(|| result__) } } @@ -1648,14 +1648,14 @@ impl ITextSelection { pub fn GetClone(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetClone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIndex(&self, unit: TextRangeUnit) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIndex)(windows_core::Interface::as_raw(this), unit, &mut result__).map(|| result__) } } @@ -1685,7 +1685,7 @@ impl ITextSelection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InRange)(windows_core::Interface::as_raw(this), range.param().abi(), &mut result__).map(|| result__) } } @@ -1703,7 +1703,7 @@ impl ITextSelection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InStory)(windows_core::Interface::as_raw(this), range.param().abi(), &mut result__).map(|| result__) } } @@ -1713,28 +1713,28 @@ impl ITextSelection { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), range.param().abi(), &mut result__).map(|| result__) } } pub fn Move(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Move)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } pub fn MoveEnd(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveEnd)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } pub fn MoveStart(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveStart)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } @@ -1777,7 +1777,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartOf)(windows_core::Interface::as_raw(this), unit, extend, &mut result__).map(|| result__) } } @@ -1797,7 +1797,7 @@ pub struct ITextSelection_Vtbl { pub MoveLeft: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, i32, bool, *mut i32) -> windows_core::HRESULT, pub MoveRight: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, i32, bool, *mut i32) -> windows_core::HRESULT, pub MoveUp: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, i32, bool, *mut i32) -> windows_core::HRESULT, - pub TypeText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TypeText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -1814,7 +1814,7 @@ impl ContentLinkInfo { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1825,7 +1825,7 @@ impl ContentLinkInfo { pub fn DisplayText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1836,7 +1836,7 @@ impl ContentLinkInfo { pub fn SecondaryText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecondaryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1847,7 +1847,7 @@ impl ContentLinkInfo { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1861,7 +1861,7 @@ impl ContentLinkInfo { pub fn LinkContentKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinkContentKind)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1889,67 +1889,67 @@ windows_core::imp::interface_hierarchy!(FontWeights, windows_core::IUnknown, win impl FontWeights { pub fn Black() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Black)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Bold() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bold)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ExtraBlack() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtraBlack)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ExtraBold() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtraBold)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ExtraLight() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtraLight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Light() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Light)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Medium() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Medium)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Normal() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Normal)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SemiBold() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SemiBold)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SemiLight() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SemiLight)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Thin() -> windows_core::Result { Self::IFontWeightsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1980,7 +1980,7 @@ impl RichEditTextDocument { pub fn CaretType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaretType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1991,7 +1991,7 @@ impl RichEditTextDocument { pub fn DefaultTabStop(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultTabStop)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2002,14 +2002,14 @@ impl RichEditTextDocument { pub fn Selection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Selection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UndoLimit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UndoLimit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2020,42 +2020,42 @@ impl RichEditTextDocument { pub fn CanCopy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanCopy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanPaste(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPaste)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanRedo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanRedo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanUndo(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanUndo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ApplyDisplayUpdates(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplyDisplayUpdates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn BatchDisplayUpdates(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BatchDisplayUpdates)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2070,28 +2070,28 @@ impl RichEditTextDocument { pub fn GetDefaultCharacterFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultCharacterFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetDefaultParagraphFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDefaultParagraphFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetRange(&self, startposition: i32, endposition: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRange)(windows_core::Interface::as_raw(this), startposition, endposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetRangeFromPoint(&self, point: super::super::Foundation::Point, options: PointOptions) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetRangeFromPoint)(windows_core::Interface::as_raw(this), point, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2144,7 +2144,7 @@ impl RichEditTextDocument { pub fn AlignmentIncludesTrailingWhitespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AlignmentIncludesTrailingWhitespace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2155,7 +2155,7 @@ impl RichEditTextDocument { pub fn IgnoreTrailingCharacterSpacing(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnoreTrailingCharacterSpacing)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2201,7 +2201,7 @@ impl RichEditTextRange { pub fn ContentLinkInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentLinkInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2215,7 +2215,7 @@ impl RichEditTextRange { pub fn Character(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Character)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2226,7 +2226,7 @@ impl RichEditTextRange { pub fn CharacterFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharacterFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2240,7 +2240,7 @@ impl RichEditTextRange { pub fn FormattedText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FormattedText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2254,7 +2254,7 @@ impl RichEditTextRange { pub fn EndPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2265,7 +2265,7 @@ impl RichEditTextRange { pub fn Gravity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gravity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2276,14 +2276,14 @@ impl RichEditTextRange { pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Link(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Link)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2294,7 +2294,7 @@ impl RichEditTextRange { pub fn ParagraphFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ParagraphFormat)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2308,7 +2308,7 @@ impl RichEditTextRange { pub fn StartPosition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartPosition)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2319,14 +2319,14 @@ impl RichEditTextRange { pub fn StoryLength(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StoryLength)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2337,7 +2337,7 @@ impl RichEditTextRange { pub fn CanPaste(&self, format: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanPaste)(windows_core::Interface::as_raw(this), format, &mut result__).map(|| result__) } } @@ -2360,28 +2360,28 @@ impl RichEditTextRange { pub fn Delete(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delete)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } pub fn EndOf(&self, unit: TextRangeUnit, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EndOf)(windows_core::Interface::as_raw(this), unit, extend, &mut result__).map(|| result__) } } pub fn Expand(&self, unit: TextRangeUnit) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Expand)(windows_core::Interface::as_raw(this), unit, &mut result__).map(|| result__) } } pub fn FindText(&self, value: &windows_core::HSTRING, scanlength: i32, options: FindOptions) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(value), scanlength, options, &mut result__).map(|| result__) } } @@ -2392,14 +2392,14 @@ impl RichEditTextRange { pub fn GetClone(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetClone)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetIndex(&self, unit: TextRangeUnit) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetIndex)(windows_core::Interface::as_raw(this), unit, &mut result__).map(|| result__) } } @@ -2429,7 +2429,7 @@ impl RichEditTextRange { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InRange)(windows_core::Interface::as_raw(this), range.param().abi(), &mut result__).map(|| result__) } } @@ -2447,7 +2447,7 @@ impl RichEditTextRange { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InStory)(windows_core::Interface::as_raw(this), range.param().abi(), &mut result__).map(|| result__) } } @@ -2457,28 +2457,28 @@ impl RichEditTextRange { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEqual)(windows_core::Interface::as_raw(this), range.param().abi(), &mut result__).map(|| result__) } } pub fn Move(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Move)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } pub fn MoveEnd(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveEnd)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } pub fn MoveStart(&self, unit: TextRangeUnit, count: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveStart)(windows_core::Interface::as_raw(this), unit, count, &mut result__).map(|| result__) } } @@ -2521,7 +2521,7 @@ impl RichEditTextRange { pub fn StartOf(&self, unit: TextRangeUnit, extend: bool) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartOf)(windows_core::Interface::as_raw(this), unit, extend, &mut result__).map(|| result__) } } @@ -2542,49 +2542,49 @@ pub struct TextConstants; impl TextConstants { pub fn AutoColor() -> windows_core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MinUnitCount() -> windows_core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinUnitCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MaxUnitCount() -> windows_core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxUnitCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UndefinedColor() -> windows_core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UndefinedColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UndefinedFloatValue() -> windows_core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UndefinedFloatValue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UndefinedInt32Value() -> windows_core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UndefinedInt32Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UndefinedFontStretch() -> windows_core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UndefinedFontStretch)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn UndefinedFontStyle() -> windows_core::Result { Self::ITextConstantsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UndefinedFontStyle)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 3e7e8292ae..05270268fb 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs @@ -15,7 +15,7 @@ windows_core::imp::define_interface!(ICoreAutomationConnectionBoundObjectProvide impl std::ops::Deref for ICoreAutomationConnectionBoundObjectProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreAutomationConnectionBoundObjectProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -23,7 +23,7 @@ impl ICoreAutomationConnectionBoundObjectProvider { pub fn IsComThreadingRequired(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsComThreadingRequired)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -83,7 +83,7 @@ windows_core::imp::define_interface!(ICoreAutomationRemoteOperationExtensionProv impl std::ops::Deref for ICoreAutomationRemoteOperationExtensionProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreAutomationRemoteOperationExtensionProvider, windows_core::IUnknown, windows_core::IInspectable); @@ -98,7 +98,7 @@ impl ICoreAutomationRemoteOperationExtensionProvider { pub fn IsExtensionSupported(&self, extensionid: windows_core::GUID) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsExtensionSupported)(windows_core::Interface::as_raw(this), extensionid, &mut result__).map(|| result__) } } @@ -135,8 +135,8 @@ impl windows_core::RuntimeType for IRemoteAutomationClientSessionFactory { #[repr(C)] pub struct IRemoteAutomationClientSessionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateInstance2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteAutomationConnectionRequestedEventArgs, IRemoteAutomationConnectionRequestedEventArgs_Vtbl, 0xea3319a8_e3a8_5dc6_adf8_044e46b14af5); impl windows_core::RuntimeType for IRemoteAutomationConnectionRequestedEventArgs { @@ -145,7 +145,7 @@ impl windows_core::RuntimeType for IRemoteAutomationConnectionRequestedEventArgs #[repr(C)] pub struct IRemoteAutomationConnectionRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LocalPipeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalPipeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoteProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteAutomationDisconnectedEventArgs, IRemoteAutomationDisconnectedEventArgs_Vtbl, 0xbbb33a3d_5d90_5c38_9eb2_dd9dcc1b2e3f); @@ -155,7 +155,7 @@ impl windows_core::RuntimeType for IRemoteAutomationDisconnectedEventArgs { #[repr(C)] pub struct IRemoteAutomationDisconnectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LocalPipeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalPipeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteAutomationServerStatics, IRemoteAutomationServerStatics_Vtbl, 0xe6e8945e_0c11_5028_9ae3_c2771288b6b7); impl windows_core::RuntimeType for IRemoteAutomationServerStatics { @@ -184,35 +184,35 @@ impl AutomationRemoteOperationResult { pub fn Status(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Status)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ErrorLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ErrorLocation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HasOperand(&self, operandid: AutomationRemoteOperationOperandId) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasOperand)(windows_core::Interface::as_raw(this), operandid, &mut result__).map(|| result__) } } pub fn GetOperand(&self, operandid: AutomationRemoteOperationOperandId) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOperand)(windows_core::Interface::as_raw(this), operandid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -233,7 +233,7 @@ pub struct CoreAutomationRegistrar; impl CoreAutomationRegistrar { pub fn RegisterAnnotationType(guid: windows_core::GUID) -> windows_core::Result { Self::ICoreAutomationRegistrarStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RegisterAnnotationType)(windows_core::Interface::as_raw(this), guid, &mut result__).map(|| result__) }) } @@ -264,7 +264,7 @@ impl CoreAutomationRemoteOperation { pub fn IsOpcodeSupported(&self, opcode: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOpcodeSupported)(windows_core::Interface::as_raw(this), opcode, &mut result__).map(|| result__) } } @@ -289,7 +289,7 @@ impl CoreAutomationRemoteOperation { pub fn Execute(&self, bytecodebuffer: &[u8]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Execute)(windows_core::Interface::as_raw(this), bytecodebuffer.len().try_into().unwrap(), bytecodebuffer.as_ptr(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -321,7 +321,7 @@ impl CoreAutomationRemoteOperationContext { pub fn GetOperand(&self, id: AutomationRemoteOperationOperandId) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetOperand)(windows_core::Interface::as_raw(this), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -371,14 +371,14 @@ impl RemoteAutomationClientSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWindowAsync)(windows_core::Interface::as_raw(this), remotewindowid, remoteprocessid, parentautomationelement.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SessionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SessionId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -388,7 +388,7 @@ impl RemoteAutomationClientSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -402,7 +402,7 @@ impl RemoteAutomationClientSession { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Disconnected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -412,13 +412,13 @@ impl RemoteAutomationClientSession { } pub fn CreateInstance(name: &windows_core::HSTRING) -> windows_core::Result { Self::IRemoteAutomationClientSessionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateInstance2(name: &windows_core::HSTRING, sessionid: windows_core::GUID) -> windows_core::Result { Self::IRemoteAutomationClientSessionFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateInstance2)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), sessionid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -448,14 +448,14 @@ impl RemoteAutomationConnectionRequestedEventArgs { pub fn LocalPipeName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalPipeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RemoteProcessId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoteProcessId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -480,7 +480,7 @@ impl RemoteAutomationDisconnectedEventArgs { pub fn LocalPipeName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalPipeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -519,14 +519,14 @@ impl RemoteAutomationWindow { pub fn AutomationProvider(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomationProvider)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UnregisterAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnregisterAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 fb6b7e8bf1..c2f3cef80f 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs @@ -8,8 +8,8 @@ impl windows_core::RuntimeType for IAutomationConnection { pub struct IAutomationConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsRemoteSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExecutableFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecutableFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAutomationConnectionBoundObject, IAutomationConnectionBoundObject_Vtbl, 0x5e8558fb_ca52_5b65_9830_dd2905816093); impl windows_core::RuntimeType for IAutomationConnectionBoundObject { @@ -28,8 +28,8 @@ impl windows_core::RuntimeType for IAutomationElement { pub struct IAutomationElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsRemoteSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExecutableFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecutableFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAutomationTextRange, IAutomationTextRange_Vtbl, 0x7e101b65_40d3_5994_85a9_0a0cb9a4ec98); impl windows_core::RuntimeType for IAutomationTextRange { @@ -47,21 +47,21 @@ impl AutomationConnection { pub fn IsRemoteSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRemoteSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppUserModelId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppUserModelId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExecutableFileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecutableFileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -86,7 +86,7 @@ impl AutomationConnectionBoundObject { pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -111,21 +111,21 @@ impl AutomationElement { pub fn IsRemoteSystem(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsRemoteSystem)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AppUserModelId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppUserModelId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ExecutableFileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecutableFileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(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 18da1673b6..cd8f687ae8 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs @@ -234,7 +234,7 @@ impl CoreFrameworkInputView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryViewAnimationStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -248,7 +248,7 @@ impl CoreFrameworkInputView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OcclusionsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -261,13 +261,13 @@ impl CoreFrameworkInputView { P0: windows_core::Param, { Self::ICoreFrameworkInputViewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUIContext)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetForCurrentView() -> windows_core::Result { Self::ICoreFrameworkInputViewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -298,21 +298,21 @@ impl CoreFrameworkInputViewAnimationStartingEventArgs { pub fn Occlusions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Occlusions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FrameworkAnimationRecommended(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameworkAnimationRecommended)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AnimationDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnimationDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -338,14 +338,14 @@ impl CoreFrameworkInputViewOcclusionsChangedEventArgs { pub fn Occlusions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Occlusions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -373,7 +373,7 @@ impl CoreInputView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OcclusionsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -385,21 +385,21 @@ impl CoreInputView { pub fn GetCoreInputViewOcclusions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCoreInputViewOcclusions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryShowPrimaryView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShowPrimaryView)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryHidePrimaryView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryHidePrimaryView)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -409,7 +409,7 @@ impl CoreInputView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XYFocusTransferringFromPrimaryView)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -423,7 +423,7 @@ impl CoreInputView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).XYFocusTransferredToPrimaryView)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -434,28 +434,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryTransferXYFocusToPrimaryView)(windows_core::Interface::as_raw(this), origin, direction, &mut result__).map(|| result__) } } pub fn TryShow(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryShowWithKind(&self, r#type: CoreInputViewKind) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShowWithKind)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } pub fn TryHide(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryHide)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -465,7 +465,7 @@ impl CoreInputView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryViewShowing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -479,7 +479,7 @@ impl CoreInputView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryViewHiding)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -490,7 +490,7 @@ impl CoreInputView { pub fn IsKindSupported(&self, r#type: CoreInputViewKind) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsKindSupported)(windows_core::Interface::as_raw(this), r#type, &mut result__).map(|| result__) } } @@ -500,7 +500,7 @@ impl CoreInputView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SupportedKindsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -514,7 +514,7 @@ impl CoreInputView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryViewAnimationStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -524,7 +524,7 @@ impl CoreInputView { } pub fn GetForCurrentView() -> windows_core::Result { Self::ICoreInputViewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -533,7 +533,7 @@ impl CoreInputView { P0: windows_core::Param, { Self::ICoreInputViewStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUIContext)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -569,14 +569,14 @@ impl CoreInputViewAnimationStartingEventArgs { pub fn Occlusions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Occlusions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -587,7 +587,7 @@ impl CoreInputViewAnimationStartingEventArgs { pub fn AnimationDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnimationDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -612,7 +612,7 @@ impl CoreInputViewHidingEventArgs { pub fn TryCancel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCancel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -637,14 +637,14 @@ impl CoreInputViewOcclusion { pub fn OccludingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OccludingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn OcclusionKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OcclusionKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -670,14 +670,14 @@ impl CoreInputViewOcclusionsChangedEventArgs { pub fn Occlusions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Occlusions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -706,7 +706,7 @@ impl CoreInputViewShowingEventArgs { pub fn TryCancel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCancel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -731,14 +731,14 @@ impl CoreInputViewTransferringXYFocusEventArgs { pub fn Origin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Origin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Direction(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Direction)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -749,7 +749,7 @@ impl CoreInputViewTransferringXYFocusEventArgs { pub fn TransferHandled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransferHandled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -760,7 +760,7 @@ impl CoreInputViewTransferringXYFocusEventArgs { pub fn KeepPrimaryViewVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeepPrimaryViewVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -804,7 +804,7 @@ impl UISettingsController { } pub fn RequestDefaultAsync() -> windows_core::Result> { Self::IUISettingsControllerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestDefaultAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 b41aa65a13..3eb4770d32 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs @@ -8,7 +8,7 @@ impl windows_core::RuntimeType for IAccessibilitySettings { pub struct IAccessibilitySettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HighContrast: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub HighContrastScheme: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HighContrastScheme: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HighContrastChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveHighContrastChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -40,8 +40,8 @@ pub struct IApplicationView_Vtbl { pub IsOnLockScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsScreenCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsScreenCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Consolidated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveConsolidated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -104,8 +104,8 @@ impl windows_core::RuntimeType for IApplicationView7 { #[repr(C)] pub struct IApplicationView7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PersistedStateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPersistedStateId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PersistedStateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPersistedStateId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationView9, IApplicationView9_Vtbl, 0x9c6516f9_021a_5f01_93e5_9bdad2647574); impl windows_core::RuntimeType for IApplicationView9 { @@ -236,7 +236,7 @@ impl windows_core::RuntimeType for IApplicationViewStatics4 { pub struct IApplicationViewStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ClearAllPersistedState: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ClearPersistedState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClearPersistedState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationViewSwitcherStatics, IApplicationViewSwitcherStatics_Vtbl, 0x975f2f1e_e656_4c5e_a0a1_717c6ffa7d64); impl windows_core::RuntimeType for IApplicationViewSwitcherStatics { @@ -322,7 +322,7 @@ impl windows_core::RuntimeType for IApplicationViewTransferContextStatics { #[repr(C)] pub struct IApplicationViewTransferContextStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DataPackageFormatId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DataPackageFormatId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationViewWithContext, IApplicationViewWithContext_Vtbl, 0xbd55d512_9dc1_44fc_8501_666625df60dc); impl windows_core::RuntimeType for IApplicationViewWithContext { @@ -425,7 +425,7 @@ pub struct IProjectionManagerStatics2_Vtbl { pub RequestStartProjectingWithPlacementAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::Rect, super::Popups::Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "UI_Popups"))] RequestStartProjectingWithPlacementAsync: usize, - pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStatusBar, IStatusBar_Vtbl, 0x0ffcc5bf_98d0_4864_b1e8_b3f4020be8b4); impl windows_core::RuntimeType for IStatusBar { @@ -458,8 +458,8 @@ pub struct IStatusBarProgressIndicator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub HideAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProgressValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetProgressValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -627,14 +627,14 @@ impl AccessibilitySettings { pub fn HighContrast(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighContrast)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn HighContrastScheme(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighContrastScheme)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -644,7 +644,7 @@ impl AccessibilitySettings { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HighContrastChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -673,21 +673,21 @@ impl ActivationViewSwitcher { pub fn ShowAsStandaloneAsync(&self, viewid: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsStandaloneAsync)(windows_core::Interface::as_raw(this), viewid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ShowAsStandaloneWithSizePreferenceAsync(&self, viewid: i32, sizepreference: ViewSizePreference) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsStandaloneWithSizePreferenceAsync)(windows_core::Interface::as_raw(this), viewid, sizepreference, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsViewPresentedOnActivationVirtualDesktop(&self, viewid: i32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsViewPresentedOnActivationVirtualDesktop)(windows_core::Interface::as_raw(this), viewid, &mut result__).map(|| result__) } } @@ -712,21 +712,21 @@ impl ApplicationView { pub fn Orientation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orientation)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AdjacentToLeftDisplayEdge(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdjacentToLeftDisplayEdge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AdjacentToRightDisplayEdge(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdjacentToRightDisplayEdge)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -734,21 +734,21 @@ impl ApplicationView { pub fn IsFullScreen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFullScreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsOnLockScreen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOnLockScreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsScreenCaptureEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScreenCaptureEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -763,14 +763,14 @@ impl ApplicationView { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -780,7 +780,7 @@ impl ApplicationView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Consolidated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -792,7 +792,7 @@ impl ApplicationView { pub fn SuppressSystemOverlays(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuppressSystemOverlays)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -804,7 +804,7 @@ impl ApplicationView { pub fn VisibleBounds(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisibleBounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -814,7 +814,7 @@ impl ApplicationView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VisibleBoundsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -825,28 +825,28 @@ impl ApplicationView { pub fn SetDesiredBoundsMode(&self, boundsmode: ApplicationViewBoundsMode) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetDesiredBoundsMode)(windows_core::Interface::as_raw(this), boundsmode, &mut result__).map(|| result__) } } pub fn DesiredBoundsMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DesiredBoundsMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TitleBar(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TitleBar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn FullScreenSystemOverlayMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FullScreenSystemOverlayMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -857,14 +857,14 @@ impl ApplicationView { pub fn IsFullScreenMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsFullScreenMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryEnterFullScreenMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryEnterFullScreenMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -879,7 +879,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryResizeView)(windows_core::Interface::as_raw(this), value, &mut result__).map(|| result__) } } @@ -890,21 +890,21 @@ impl ApplicationView { pub fn ViewMode(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsViewModeSupported(&self, viewmode: ApplicationViewMode) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsViewModeSupported)(windows_core::Interface::as_raw(this), viewmode, &mut result__).map(|| result__) } } pub fn TryEnterViewModeAsync(&self, viewmode: ApplicationViewMode) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryEnterViewModeAsync)(windows_core::Interface::as_raw(this), viewmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -914,21 +914,21 @@ impl ApplicationView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryEnterViewModeWithPreferencesAsync)(windows_core::Interface::as_raw(this), viewmode, viewmodepreferences.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryConsolidateAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryConsolidateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PersistedStateId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PersistedStateId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -940,7 +940,7 @@ impl ApplicationView { pub fn WindowingEnvironment(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowingEnvironment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -948,14 +948,14 @@ impl ApplicationView { pub fn GetDisplayRegions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDisplayRegions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[cfg(feature = "deprecated")] pub fn TryUnsnapToFullscreen() -> windows_core::Result { Self::IApplicationViewFullscreenStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUnsnapToFullscreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -965,33 +965,33 @@ impl ApplicationView { P0: windows_core::Param, { Self::IApplicationViewInteropStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetApplicationViewIdForWindow)(windows_core::Interface::as_raw(this), window.param().abi(), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn Value() -> windows_core::Result { Self::IApplicationViewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } #[cfg(feature = "deprecated")] pub fn TryUnsnap() -> windows_core::Result { Self::IApplicationViewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryUnsnap)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GetForCurrentView() -> windows_core::Result { Self::IApplicationViewStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TerminateAppOnFinalViewClose() -> windows_core::Result { Self::IApplicationViewStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TerminateAppOnFinalViewClose)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1000,7 +1000,7 @@ impl ApplicationView { } pub fn PreferredLaunchWindowingMode() -> windows_core::Result { Self::IApplicationViewStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredLaunchWindowingMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1009,7 +1009,7 @@ impl ApplicationView { } pub fn PreferredLaunchViewSize() -> windows_core::Result { Self::IApplicationViewStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreferredLaunchViewSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1025,7 +1025,7 @@ impl ApplicationView { pub fn UIContext(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UIContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1082,14 +1082,14 @@ impl ApplicationViewConsolidatedEventArgs { pub fn IsUserInitiated(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsUserInitiated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsAppInitiated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsAppInitiated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1113,13 +1113,13 @@ windows_core::imp::interface_hierarchy!(ApplicationViewScaling, windows_core::IU impl ApplicationViewScaling { pub fn DisableLayoutScaling() -> windows_core::Result { Self::IApplicationViewScalingStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisableLayoutScaling)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn TrySetDisableLayoutScaling(disablelayoutscaling: bool) -> windows_core::Result { Self::IApplicationViewScalingStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetDisableLayoutScaling)(windows_core::Interface::as_raw(this), disablelayoutscaling, &mut result__).map(|| result__) }) } @@ -1146,43 +1146,43 @@ impl ApplicationViewSwitcher { } pub fn TryShowAsStandaloneAsync(viewid: i32) -> windows_core::Result> { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShowAsStandaloneAsync)(windows_core::Interface::as_raw(this), viewid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryShowAsStandaloneWithSizePreferenceAsync(viewid: i32, sizepreference: ViewSizePreference) -> windows_core::Result> { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShowAsStandaloneWithSizePreferenceAsync)(windows_core::Interface::as_raw(this), viewid, sizepreference, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryShowAsStandaloneWithAnchorViewAndSizePreferenceAsync(viewid: i32, sizepreference: ViewSizePreference, anchorviewid: i32, anchorsizepreference: ViewSizePreference) -> windows_core::Result> { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShowAsStandaloneWithAnchorViewAndSizePreferenceAsync)(windows_core::Interface::as_raw(this), viewid, sizepreference, anchorviewid, anchorsizepreference, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SwitchAsync(viewid: i32) -> windows_core::Result { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SwitchAsync)(windows_core::Interface::as_raw(this), viewid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SwitchFromViewAsync(toviewid: i32, fromviewid: i32) -> windows_core::Result { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SwitchFromViewAsync)(windows_core::Interface::as_raw(this), toviewid, fromviewid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SwitchFromViewWithOptionsAsync(toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions) -> windows_core::Result { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SwitchFromViewWithOptionsAsync)(windows_core::Interface::as_raw(this), toviewid, fromviewid, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn PrepareForCustomAnimatedSwitchAsync(toviewid: i32, fromviewid: i32, options: ApplicationViewSwitchingOptions) -> windows_core::Result> { Self::IApplicationViewSwitcherStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrepareForCustomAnimatedSwitchAsync)(windows_core::Interface::as_raw(this), toviewid, fromviewid, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1191,7 +1191,7 @@ impl ApplicationViewSwitcher { } pub fn TryShowAsViewModeAsync(viewid: i32, viewmode: ApplicationViewMode) -> windows_core::Result> { Self::IApplicationViewSwitcherStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShowAsViewModeAsync)(windows_core::Interface::as_raw(this), viewid, viewmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1200,7 +1200,7 @@ impl ApplicationViewSwitcher { P0: windows_core::Param, { Self::IApplicationViewSwitcherStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShowAsViewModeWithPreferencesAsync)(windows_core::Interface::as_raw(this), viewid, viewmode, viewmodepreferences.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1238,7 +1238,7 @@ impl ApplicationViewTitleBar { pub fn ForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1252,7 +1252,7 @@ impl ApplicationViewTitleBar { pub fn BackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1266,7 +1266,7 @@ impl ApplicationViewTitleBar { pub fn ButtonForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1280,7 +1280,7 @@ impl ApplicationViewTitleBar { pub fn ButtonBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1294,7 +1294,7 @@ impl ApplicationViewTitleBar { pub fn ButtonHoverForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonHoverForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1308,7 +1308,7 @@ impl ApplicationViewTitleBar { pub fn ButtonHoverBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonHoverBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1322,7 +1322,7 @@ impl ApplicationViewTitleBar { pub fn ButtonPressedForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonPressedForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1336,7 +1336,7 @@ impl ApplicationViewTitleBar { pub fn ButtonPressedBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonPressedBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1350,7 +1350,7 @@ impl ApplicationViewTitleBar { pub fn InactiveForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InactiveForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1364,7 +1364,7 @@ impl ApplicationViewTitleBar { pub fn InactiveBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InactiveBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1378,7 +1378,7 @@ impl ApplicationViewTitleBar { pub fn ButtonInactiveForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonInactiveForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1392,7 +1392,7 @@ impl ApplicationViewTitleBar { pub fn ButtonInactiveBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonInactiveBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1424,7 +1424,7 @@ impl ApplicationViewTransferContext { pub fn ViewId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1434,7 +1434,7 @@ impl ApplicationViewTransferContext { } pub fn DataPackageFormatId() -> windows_core::Result { Self::IApplicationViewTransferContextStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DataPackageFormatId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1465,7 +1465,7 @@ impl InputPane { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Showing)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1479,7 +1479,7 @@ impl InputPane { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hiding)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1490,28 +1490,28 @@ impl InputPane { pub fn OccludedRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OccludedRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryShow(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn TryHide(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryHide)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Visible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1521,7 +1521,7 @@ impl InputPane { } pub fn GetForCurrentView() -> windows_core::Result { Self::IInputPaneStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1530,7 +1530,7 @@ impl InputPane { P0: windows_core::Param, { Self::IInputPaneStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForUIContext)(windows_core::Interface::as_raw(this), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1563,7 +1563,7 @@ impl InputPaneVisibilityEventArgs { pub fn OccludedRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OccludedRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1574,7 +1574,7 @@ impl InputPaneVisibilityEventArgs { pub fn EnsuredFocusedElementInView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnsuredFocusedElementInView)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1593,25 +1593,25 @@ pub struct ProjectionManager; impl ProjectionManager { pub fn StartProjectingAsync(projectionviewid: i32, anchorviewid: i32) -> windows_core::Result { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartProjectingAsync)(windows_core::Interface::as_raw(this), projectionviewid, anchorviewid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn SwapDisplaysForViewsAsync(projectionviewid: i32, anchorviewid: i32) -> windows_core::Result { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SwapDisplaysForViewsAsync)(windows_core::Interface::as_raw(this), projectionviewid, anchorviewid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn StopProjectingAsync(projectionviewid: i32, anchorviewid: i32) -> windows_core::Result { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopProjectingAsync)(windows_core::Interface::as_raw(this), projectionviewid, anchorviewid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ProjectionDisplayAvailable() -> windows_core::Result { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProjectionDisplayAvailable)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1620,7 +1620,7 @@ impl ProjectionManager { P0: windows_core::Param>, { Self::IProjectionManagerStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProjectionDisplayAvailableChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -1633,26 +1633,26 @@ impl ProjectionManager { P0: windows_core::Param, { Self::IProjectionManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StartProjectingWithDeviceInfoAsync)(windows_core::Interface::as_raw(this), projectionviewid, anchorviewid, displaydeviceinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn RequestStartProjectingAsync(projectionviewid: i32, anchorviewid: i32, selection: super::super::Foundation::Rect) -> windows_core::Result> { Self::IProjectionManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStartProjectingAsync)(windows_core::Interface::as_raw(this), projectionviewid, anchorviewid, selection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestStartProjectingWithPlacementAsync)(windows_core::Interface::as_raw(this), projectionviewid, anchorviewid, selection, prefferedplacement, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn GetDeviceSelector() -> windows_core::Result { Self::IProjectionManagerStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeviceSelector)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1678,21 +1678,21 @@ impl StatusBar { pub fn ShowAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HideAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HideAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BackgroundOpacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundOpacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1703,7 +1703,7 @@ impl StatusBar { pub fn ForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1717,7 +1717,7 @@ impl StatusBar { pub fn BackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1731,14 +1731,14 @@ impl StatusBar { pub fn ProgressIndicator(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProgressIndicator)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn OccludedRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OccludedRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1748,7 +1748,7 @@ impl StatusBar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Showing)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1762,7 +1762,7 @@ impl StatusBar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Hiding)(windows_core::Interface::as_raw(this), eventhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1772,7 +1772,7 @@ impl StatusBar { } pub fn GetForCurrentView() -> windows_core::Result { Self::IStatusBarStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1802,21 +1802,21 @@ impl StatusBarProgressIndicator { pub fn ShowAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShowAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HideAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HideAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1827,7 +1827,7 @@ impl StatusBarProgressIndicator { pub fn ProgressValue(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProgressValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1866,98 +1866,98 @@ impl UISettings { pub fn HandPreference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HandPreference)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CursorSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CursorSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScrollBarSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScrollBarSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScrollBarArrowSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScrollBarArrowSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ScrollBarThumbBoxSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScrollBarThumbBoxSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MessageDuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageDuration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn AnimationsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnimationsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CaretBrowsingEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaretBrowsingEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CaretBlinkRate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaretBlinkRate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CaretWidth(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaretWidth)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DoubleClickTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DoubleClickTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn MouseHoverTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MouseHoverTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn UIElementColor(&self, desiredelement: UIElementType) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UIElementColor)(windows_core::Interface::as_raw(this), desiredelement, &mut result__).map(|| result__) } } pub fn TextScaleFactor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextScaleFactor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1967,7 +1967,7 @@ impl UISettings { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TextScaleFactorChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1978,7 +1978,7 @@ impl UISettings { pub fn GetColorValue(&self, desiredcolor: UIColorType) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetColorValue)(windows_core::Interface::as_raw(this), desiredcolor, &mut result__).map(|| result__) } } @@ -1988,7 +1988,7 @@ impl UISettings { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColorValuesChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1999,7 +1999,7 @@ impl UISettings { pub fn AdvancedEffectsEnabled(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvancedEffectsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2009,7 +2009,7 @@ impl UISettings { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AdvancedEffectsEnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2020,7 +2020,7 @@ impl UISettings { pub fn AutoHideScrollBars(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoHideScrollBars)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2030,7 +2030,7 @@ impl UISettings { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutoHideScrollBarsChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2044,7 +2044,7 @@ impl UISettings { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AnimationsEnabledChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2058,7 +2058,7 @@ impl UISettings { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MessageDurationChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -2138,13 +2138,13 @@ impl UIViewSettings { pub fn UserInteractionMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserInteractionMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetForCurrentView() -> windows_core::Result { Self::IUIViewSettingsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2174,7 +2174,7 @@ impl ViewModePreferences { pub fn ViewSizePreference(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ViewSizePreference)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2185,7 +2185,7 @@ impl ViewModePreferences { pub fn CustomSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CustomSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2195,7 +2195,7 @@ impl ViewModePreferences { } pub fn CreateDefault(mode: ApplicationViewMode) -> windows_core::Result { Self::IViewModePreferencesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateDefault)(windows_core::Interface::as_raw(this), mode, &mut result__).and_then(|| windows_core::Type::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 f99a685555..b15051be2e 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs @@ -59,8 +59,8 @@ impl windows_core::RuntimeType for IWebUICommandBarConfirmationButton { #[repr(C)] pub struct IWebUICommandBarConfirmationButton_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ItemInvoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveItemInvoked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } @@ -68,7 +68,7 @@ windows_core::imp::define_interface!(IWebUICommandBarElement, IWebUICommandBarEl impl std::ops::Deref for IWebUICommandBarElement { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebUICommandBarElement, windows_core::IUnknown, windows_core::IInspectable); @@ -84,7 +84,7 @@ windows_core::imp::define_interface!(IWebUICommandBarIcon, IWebUICommandBarIcon_ impl std::ops::Deref for IWebUICommandBarIcon { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebUICommandBarIcon, windows_core::IUnknown, windows_core::IInspectable); @@ -105,8 +105,8 @@ pub struct IWebUICommandBarIconButton_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsToggleButton: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsToggleButton: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsChecked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, @@ -150,8 +150,8 @@ impl windows_core::RuntimeType for IWebUICommandBarSymbolIcon { #[repr(C)] pub struct IWebUICommandBarSymbolIcon_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Symbol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSymbol: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Symbol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSymbol: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebUICommandBarSymbolIconFactory, IWebUICommandBarSymbolIconFactory_Vtbl, 0x51be1a1f_3730_429e_b622_14e2b7bf6a07); impl windows_core::RuntimeType for IWebUICommandBarSymbolIconFactory { @@ -160,7 +160,7 @@ impl windows_core::RuntimeType for IWebUICommandBarSymbolIconFactory { #[repr(C)] pub struct IWebUICommandBarSymbolIconFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -170,7 +170,7 @@ impl WebUICommandBar { pub fn Visible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Visible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -181,7 +181,7 @@ impl WebUICommandBar { pub fn Opacity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Opacity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -192,7 +192,7 @@ impl WebUICommandBar { pub fn ForegroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -203,7 +203,7 @@ impl WebUICommandBar { pub fn BackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -214,7 +214,7 @@ impl WebUICommandBar { pub fn ClosedDisplayMode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClosedDisplayMode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -225,7 +225,7 @@ impl WebUICommandBar { pub fn IsOpen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsOpen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -236,7 +236,7 @@ impl WebUICommandBar { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -244,7 +244,7 @@ impl WebUICommandBar { pub fn PrimaryCommands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrimaryCommands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -252,7 +252,7 @@ impl WebUICommandBar { pub fn SecondaryCommands(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SecondaryCommands)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -262,7 +262,7 @@ impl WebUICommandBar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MenuOpened)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -276,7 +276,7 @@ impl WebUICommandBar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MenuClosed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -290,7 +290,7 @@ impl WebUICommandBar { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SizeChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -300,7 +300,7 @@ impl WebUICommandBar { } pub fn GetForCurrentView() -> windows_core::Result { Self::IWebUICommandBarStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetForCurrentView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -338,7 +338,7 @@ impl WebUICommandBarBitmapIcon { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -354,7 +354,7 @@ impl WebUICommandBarBitmapIcon { P0: windows_core::Param, { Self::IWebUICommandBarBitmapIconFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -392,7 +392,7 @@ impl WebUICommandBarConfirmationButton { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -406,7 +406,7 @@ impl WebUICommandBarConfirmationButton { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemInvoked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -443,7 +443,7 @@ impl WebUICommandBarIconButton { pub fn Enabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Enabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -454,7 +454,7 @@ impl WebUICommandBarIconButton { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -465,7 +465,7 @@ impl WebUICommandBarIconButton { pub fn IsToggleButton(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsToggleButton)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -476,7 +476,7 @@ impl WebUICommandBarIconButton { pub fn IsChecked(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsChecked)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -487,7 +487,7 @@ impl WebUICommandBarIconButton { pub fn Icon(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Icon)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -504,7 +504,7 @@ impl WebUICommandBarIconButton { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemInvoked)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -533,7 +533,7 @@ impl WebUICommandBarItemInvokedEventArgs { pub fn IsPrimaryCommand(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrimaryCommand)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -558,7 +558,7 @@ impl WebUICommandBarSizeChangedEventArgs { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -591,7 +591,7 @@ impl WebUICommandBarSymbolIcon { pub fn Symbol(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Symbol)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -601,7 +601,7 @@ impl WebUICommandBarSymbolIcon { } pub fn Create(symbol: &windows_core::HSTRING) -> windows_core::Result { Self::IWebUICommandBarSymbolIconFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(symbol), &mut result__).and_then(|| windows_core::Type::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 6d0b8f3160..4b057e3299 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -13,7 +13,7 @@ windows_core::imp::define_interface!(IActivatedEventArgsDeferral, IActivatedEven impl std::ops::Deref for IActivatedEventArgsDeferral { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActivatedEventArgsDeferral, windows_core::IUnknown, windows_core::IInspectable); @@ -21,7 +21,7 @@ impl IActivatedEventArgsDeferral { pub fn ActivatedOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -66,8 +66,8 @@ pub struct IHtmlPrintDocumentSource_Vtbl { pub SetShrinkToFit: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub PercentScale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetPercentScale: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, - pub PageRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TrySetPageRange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub PageRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrySetPageRange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INewWebUIViewCreatedEventArgs, INewWebUIViewCreatedEventArgs_Vtbl, 0xe8e1b216_be2b_4c9e_85e7_083143ec4be7); impl windows_core::RuntimeType for INewWebUIViewCreatedEventArgs { @@ -133,11 +133,11 @@ impl windows_core::RuntimeType for IWebUIActivationStatics3 { pub struct IWebUIActivationStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, #[cfg(feature = "ApplicationModel_Core")] - pub RequestRestartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestRestartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_Core"))] RequestRestartAsync: usize, #[cfg(all(feature = "ApplicationModel_Core", feature = "System"))] - pub RequestRestartForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestRestartForUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "ApplicationModel_Core", feature = "System")))] RequestRestartForUserAsync: usize, } @@ -160,7 +160,7 @@ windows_core::imp::define_interface!(IWebUIBackgroundTaskInstance, IWebUIBackgro impl std::ops::Deref for IWebUIBackgroundTaskInstance { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebUIBackgroundTaskInstance, windows_core::IUnknown, windows_core::IInspectable); @@ -168,7 +168,7 @@ impl IWebUIBackgroundTaskInstance { pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -208,7 +208,7 @@ windows_core::imp::define_interface!(IWebUINavigatedEventArgs, IWebUINavigatedEv impl std::ops::Deref for IWebUINavigatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebUINavigatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); @@ -216,7 +216,7 @@ impl IWebUINavigatedEventArgs { pub fn NavigatedOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -294,7 +294,7 @@ impl ActivatedOperation { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -323,7 +323,7 @@ impl BackgroundActivatedEventArgs { pub fn TaskInstance(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskInstance)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -359,7 +359,7 @@ impl EnteredBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -395,7 +395,7 @@ impl HtmlPrintDocumentSource { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -406,7 +406,7 @@ impl HtmlPrintDocumentSource { pub fn LeftMargin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeftMargin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -417,7 +417,7 @@ impl HtmlPrintDocumentSource { pub fn TopMargin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TopMargin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -428,7 +428,7 @@ impl HtmlPrintDocumentSource { pub fn RightMargin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RightMargin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -439,7 +439,7 @@ impl HtmlPrintDocumentSource { pub fn BottomMargin(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BottomMargin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -450,7 +450,7 @@ impl HtmlPrintDocumentSource { pub fn EnableHeaderFooter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnableHeaderFooter)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -461,7 +461,7 @@ impl HtmlPrintDocumentSource { pub fn ShrinkToFit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShrinkToFit)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -472,7 +472,7 @@ impl HtmlPrintDocumentSource { pub fn PercentScale(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PercentScale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -483,14 +483,14 @@ impl HtmlPrintDocumentSource { pub fn PageRange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PageRange)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TrySetPageRange(&self, strpagerange: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySetPageRange)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(strpagerange), &mut result__).map(|| result__) } } @@ -521,7 +521,7 @@ impl LeavingBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -551,7 +551,7 @@ impl NewWebUIViewCreatedEventArgs { pub fn WebUIView(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebUIView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -559,21 +559,21 @@ impl NewWebUIViewCreatedEventArgs { pub fn ActivatedEventArgs(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedEventArgs)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn HasPendingNavigate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasPendingNavigate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -631,7 +631,7 @@ impl SuspendingEventArgs { pub fn SuspendingOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuspendingOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -663,7 +663,7 @@ impl SuspendingOperation { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -671,7 +671,7 @@ impl SuspendingOperation { pub fn Deadline(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Deadline)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -697,7 +697,7 @@ impl WebUIApplication { P0: windows_core::Param, { Self::IWebUIActivationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Activated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -710,7 +710,7 @@ impl WebUIApplication { P0: windows_core::Param, { Self::IWebUIActivationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Suspending)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -722,7 +722,7 @@ impl WebUIApplication { P0: windows_core::Param, { Self::IWebUIActivationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Resuming)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -734,7 +734,7 @@ impl WebUIApplication { P0: windows_core::Param, { Self::IWebUIActivationStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Navigated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -747,7 +747,7 @@ impl WebUIApplication { P0: windows_core::Param, { Self::IWebUIActivationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LeavingBackground)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -760,7 +760,7 @@ impl WebUIApplication { P0: windows_core::Param, { Self::IWebUIActivationStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnteredBackground)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -773,7 +773,7 @@ impl WebUIApplication { #[cfg(feature = "ApplicationModel_Core")] pub fn RequestRestartAsync(launcharguments: &windows_core::HSTRING) -> windows_core::Result> { Self::IWebUIActivationStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestRestartAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(launcharguments), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -783,7 +783,7 @@ impl WebUIApplication { P0: windows_core::Param, { Self::IWebUIActivationStatics3(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestRestartForUserAsync)(windows_core::Interface::as_raw(this), user.param().abi(), core::mem::transmute_copy(launcharguments), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -792,7 +792,7 @@ impl WebUIApplication { P0: windows_core::Param>, { Self::IWebUIActivationStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewWebUIViewCreated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -805,7 +805,7 @@ impl WebUIApplication { P0: windows_core::Param, { Self::IWebUIActivationStatics4(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundActivated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) }) } @@ -850,7 +850,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -858,7 +858,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -866,14 +866,14 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -881,7 +881,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -889,7 +889,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -897,7 +897,7 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { pub fn AddAppointmentOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AddAppointmentOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -929,7 +929,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -937,7 +937,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -945,14 +945,14 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -960,7 +960,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -968,7 +968,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -976,7 +976,7 @@ impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn RemoveAppointmentOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RemoveAppointmentOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1008,7 +1008,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1016,7 +1016,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1024,14 +1024,14 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1039,7 +1039,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1047,7 +1047,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1055,7 +1055,7 @@ impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn ReplaceAppointmentOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReplaceAppointmentOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1087,7 +1087,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1095,7 +1095,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1103,14 +1103,14 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1118,7 +1118,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1126,7 +1126,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1134,7 +1134,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn InstanceStartDate(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceStartDate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1142,7 +1142,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn LocalId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LocalId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1150,7 +1150,7 @@ impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn RoamingId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoamingId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1182,7 +1182,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1190,7 +1190,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1198,14 +1198,14 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1213,7 +1213,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1221,7 +1221,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1229,7 +1229,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn TimeToShow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TimeToShow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1237,7 +1237,7 @@ impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Duration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Duration)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1259,7 +1259,7 @@ pub struct WebUIBackgroundTaskInstance; impl WebUIBackgroundTaskInstance { pub fn Current() -> windows_core::Result { Self::IWebUIBackgroundTaskInstanceStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Current)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1283,7 +1283,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn InstanceId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InstanceId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1291,7 +1291,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn Task(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Task)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1299,7 +1299,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn Progress(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Progress)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1312,7 +1312,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn TriggerDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TriggerDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1323,7 +1323,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Canceled)(windows_core::Interface::as_raw(this), cancelhandler.param().abi(), &mut result__).map(|| result__) } } @@ -1336,7 +1336,7 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn SuspendedCount(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SuspendedCount)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1344,14 +1344,14 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { pub fn GetDeferral(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1384,7 +1384,7 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1392,7 +1392,7 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1400,14 +1400,14 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1415,7 +1415,7 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1423,7 +1423,7 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { pub fn ConnectionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1459,7 +1459,7 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1467,7 +1467,7 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1475,14 +1475,14 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1490,7 +1490,7 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1498,7 +1498,7 @@ impl WebUICachedFileUpdaterActivatedEventArgs { pub fn CachedFileUpdaterUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CachedFileUpdaterUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1530,7 +1530,7 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1538,7 +1538,7 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1546,14 +1546,14 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1561,7 +1561,7 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn VideoDeviceController(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceController)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1569,7 +1569,7 @@ impl WebUICameraSettingsActivatedEventArgs { pub fn VideoDeviceExtension(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VideoDeviceExtension)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1601,7 +1601,7 @@ impl WebUICommandLineActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1609,7 +1609,7 @@ impl WebUICommandLineActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1617,14 +1617,14 @@ impl WebUICommandLineActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1632,7 +1632,7 @@ impl WebUICommandLineActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1640,7 +1640,7 @@ impl WebUICommandLineActivatedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1676,7 +1676,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1684,7 +1684,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1692,14 +1692,14 @@ impl WebUIContactCallActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1707,7 +1707,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1715,7 +1715,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1723,7 +1723,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1731,7 +1731,7 @@ impl WebUIContactCallActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1763,7 +1763,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1771,7 +1771,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1779,14 +1779,14 @@ impl WebUIContactMapActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1794,7 +1794,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1802,7 +1802,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn Address(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Address)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1810,7 +1810,7 @@ impl WebUIContactMapActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1842,7 +1842,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1850,7 +1850,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1858,14 +1858,14 @@ impl WebUIContactMessageActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1873,7 +1873,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1881,7 +1881,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1889,7 +1889,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1897,7 +1897,7 @@ impl WebUIContactMessageActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1929,7 +1929,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1937,7 +1937,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1945,14 +1945,14 @@ impl WebUIContactPanelActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1960,7 +1960,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1968,7 +1968,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn ContactPanel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactPanel)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1976,7 +1976,7 @@ impl WebUIContactPanelActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2012,7 +2012,7 @@ impl WebUIContactPickerActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2020,7 +2020,7 @@ impl WebUIContactPickerActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2028,14 +2028,14 @@ impl WebUIContactPickerActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2043,7 +2043,7 @@ impl WebUIContactPickerActivatedEventArgs { pub fn ContactPickerUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContactPickerUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2075,7 +2075,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2083,7 +2083,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2091,14 +2091,14 @@ impl WebUIContactPostActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2106,7 +2106,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2114,7 +2114,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2122,7 +2122,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2130,7 +2130,7 @@ impl WebUIContactPostActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2162,7 +2162,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2170,7 +2170,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2178,14 +2178,14 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2193,7 +2193,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2201,7 +2201,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn ServiceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2209,7 +2209,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn ServiceUserId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServiceUserId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2217,7 +2217,7 @@ impl WebUIContactVideoCallActivatedEventArgs { pub fn Contact(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contact)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2249,7 +2249,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2257,7 +2257,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2265,14 +2265,14 @@ impl WebUIDeviceActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2280,7 +2280,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2288,7 +2288,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2296,7 +2296,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn DeviceInformationId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformationId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2304,7 +2304,7 @@ impl WebUIDeviceActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2336,7 +2336,7 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2344,7 +2344,7 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2352,14 +2352,14 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2367,7 +2367,7 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2375,7 +2375,7 @@ impl WebUIDevicePairingActivatedEventArgs { pub fn DeviceInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeviceInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2407,7 +2407,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2415,7 +2415,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2423,14 +2423,14 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2438,7 +2438,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2446,7 +2446,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2454,7 +2454,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn AppName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AppName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2462,7 +2462,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn Arguments(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2470,7 +2470,7 @@ impl WebUIDialReceiverActivatedEventArgs { pub fn TileId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2502,7 +2502,7 @@ impl WebUIFileActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2510,7 +2510,7 @@ impl WebUIFileActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2518,14 +2518,14 @@ impl WebUIFileActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2533,7 +2533,7 @@ impl WebUIFileActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2541,7 +2541,7 @@ impl WebUIFileActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2549,7 +2549,7 @@ impl WebUIFileActivatedEventArgs { pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2557,7 +2557,7 @@ impl WebUIFileActivatedEventArgs { pub fn Verb(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Verb)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2565,7 +2565,7 @@ impl WebUIFileActivatedEventArgs { pub fn NeighboringFilesQuery(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NeighboringFilesQuery)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2597,7 +2597,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2605,7 +2605,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2613,14 +2613,14 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2628,7 +2628,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2636,7 +2636,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn FileOpenPickerUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileOpenPickerUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2644,7 +2644,7 @@ impl WebUIFileOpenPickerActivatedEventArgs { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2676,7 +2676,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2684,7 +2684,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2692,14 +2692,14 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2707,7 +2707,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2715,7 +2715,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2723,7 +2723,7 @@ impl WebUIFileOpenPickerContinuationEventArgs { pub fn Files(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Files)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2755,7 +2755,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2763,7 +2763,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2771,14 +2771,14 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2786,7 +2786,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2794,7 +2794,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn FileSavePickerUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileSavePickerUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2802,7 +2802,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2810,7 +2810,7 @@ impl WebUIFileSavePickerActivatedEventArgs { pub fn EnterpriseId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterpriseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2842,7 +2842,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2850,7 +2850,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2858,14 +2858,14 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2873,7 +2873,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2881,7 +2881,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2889,7 +2889,7 @@ impl WebUIFileSavePickerContinuationEventArgs { pub fn File(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).File)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2921,7 +2921,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2929,7 +2929,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2937,14 +2937,14 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2952,7 +2952,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2960,7 +2960,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2968,7 +2968,7 @@ impl WebUIFolderPickerContinuationEventArgs { pub fn Folder(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Folder)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3009,7 +3009,7 @@ impl WebUILaunchActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3017,7 +3017,7 @@ impl WebUILaunchActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3025,14 +3025,14 @@ impl WebUILaunchActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3040,7 +3040,7 @@ impl WebUILaunchActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3048,7 +3048,7 @@ impl WebUILaunchActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3056,7 +3056,7 @@ impl WebUILaunchActivatedEventArgs { pub fn Arguments(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3064,7 +3064,7 @@ impl WebUILaunchActivatedEventArgs { pub fn TileId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3072,7 +3072,7 @@ impl WebUILaunchActivatedEventArgs { pub fn TileActivatedInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileActivatedInfo)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3080,7 +3080,7 @@ impl WebUILaunchActivatedEventArgs { pub fn PrelaunchActivated(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrelaunchActivated)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3112,7 +3112,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3120,7 +3120,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3128,14 +3128,14 @@ impl WebUILockScreenActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3143,7 +3143,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3151,7 +3151,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3159,7 +3159,7 @@ impl WebUILockScreenActivatedEventArgs { pub fn Info(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Info)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3191,7 +3191,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3199,7 +3199,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3207,14 +3207,14 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3222,7 +3222,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3230,7 +3230,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn Arguments(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Arguments)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3238,7 +3238,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn TileId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TileId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3246,7 +3246,7 @@ impl WebUILockScreenCallActivatedEventArgs { pub fn CallUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallUI)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3278,7 +3278,7 @@ impl WebUILockScreenComponentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3286,7 +3286,7 @@ impl WebUILockScreenComponentActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3294,14 +3294,14 @@ impl WebUILockScreenComponentActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3348,7 +3348,7 @@ impl WebUINavigatedEventArgs { pub fn NavigatedOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3371,7 +3371,7 @@ impl WebUINavigatedOperation { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3400,7 +3400,7 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3408,7 +3408,7 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3416,14 +3416,14 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3431,7 +3431,7 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3439,7 +3439,7 @@ impl WebUIPhoneCallActivatedEventArgs { pub fn LineId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3475,7 +3475,7 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3483,7 +3483,7 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3491,14 +3491,14 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3506,7 +3506,7 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { pub fn Workflow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Workflow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3538,7 +3538,7 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3546,7 +3546,7 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3554,14 +3554,14 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3569,7 +3569,7 @@ impl WebUIPrintTaskSettingsActivatedEventArgs { pub fn Configuration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Configuration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3601,7 +3601,7 @@ impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3609,7 +3609,7 @@ impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3617,14 +3617,14 @@ impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3656,7 +3656,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3664,7 +3664,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3672,14 +3672,14 @@ impl WebUIProtocolActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3687,7 +3687,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3695,7 +3695,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3703,7 +3703,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3711,7 +3711,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3719,7 +3719,7 @@ impl WebUIProtocolActivatedEventArgs { pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3760,7 +3760,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3768,7 +3768,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3776,14 +3776,14 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3791,7 +3791,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3799,7 +3799,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3807,7 +3807,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3815,7 +3815,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CallerPackageFamilyName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3823,7 +3823,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Data)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3831,7 +3831,7 @@ impl WebUIProtocolForResultsActivatedEventArgs { pub fn ProtocolForResultsOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProtocolForResultsOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3863,7 +3863,7 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3871,7 +3871,7 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3879,14 +3879,14 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3894,7 +3894,7 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3902,7 +3902,7 @@ impl WebUIRestrictedLaunchActivatedEventArgs { pub fn SharedContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharedContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3934,7 +3934,7 @@ impl WebUISearchActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3942,7 +3942,7 @@ impl WebUISearchActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3950,14 +3950,14 @@ impl WebUISearchActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3965,7 +3965,7 @@ impl WebUISearchActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CurrentlyShownApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3973,7 +3973,7 @@ impl WebUISearchActivatedEventArgs { pub fn QueryText(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).QueryText)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3981,7 +3981,7 @@ impl WebUISearchActivatedEventArgs { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3989,7 +3989,7 @@ impl WebUISearchActivatedEventArgs { pub fn LinguisticDetails(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LinguisticDetails)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4021,7 +4021,7 @@ impl WebUIShareTargetActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4029,7 +4029,7 @@ impl WebUIShareTargetActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4037,14 +4037,14 @@ impl WebUIShareTargetActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4052,7 +4052,7 @@ impl WebUIShareTargetActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4060,7 +4060,7 @@ impl WebUIShareTargetActivatedEventArgs { pub fn ShareOperation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ShareOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4092,7 +4092,7 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4100,7 +4100,7 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4108,14 +4108,14 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4123,7 +4123,7 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4131,7 +4131,7 @@ impl WebUIStartupTaskActivatedEventArgs { pub fn TaskId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TaskId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4167,7 +4167,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4175,7 +4175,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4183,14 +4183,14 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4198,7 +4198,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4206,7 +4206,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn Argument(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Argument)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4214,7 +4214,7 @@ impl WebUIToastNotificationActivatedEventArgs { pub fn UserInput(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserInput)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4246,7 +4246,7 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4254,7 +4254,7 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4262,14 +4262,14 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4277,7 +4277,7 @@ impl WebUIUserDataAccountProviderActivatedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4305,7 +4305,7 @@ impl WebUIView { pub fn ApplicationViewId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ApplicationViewId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4315,7 +4315,7 @@ impl WebUIView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4330,7 +4330,7 @@ impl WebUIView { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Activated)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4341,7 +4341,7 @@ impl WebUIView { pub fn IgnoreApplicationContentUriRulesNavigationRestrictions(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnoreApplicationContentUriRulesNavigationRestrictions)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4351,7 +4351,7 @@ impl WebUIView { } pub fn CreateAsync() -> windows_core::Result> { Self::IWebUIViewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4360,7 +4360,7 @@ impl WebUIView { P0: windows_core::Param, { Self::IWebUIViewStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithUriAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -4368,7 +4368,7 @@ impl WebUIView { pub fn Source(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4384,7 +4384,7 @@ impl WebUIView { pub fn DocumentTitle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4392,7 +4392,7 @@ impl WebUIView { pub fn CanGoBack(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanGoBack)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4400,7 +4400,7 @@ impl WebUIView { pub fn CanGoForward(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanGoForward)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4413,7 +4413,7 @@ impl WebUIView { pub fn DefaultBackgroundColor(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4421,7 +4421,7 @@ impl WebUIView { pub fn ContainsFullScreenElement(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsFullScreenElement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4429,7 +4429,7 @@ impl WebUIView { pub fn Settings(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Settings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4437,7 +4437,7 @@ impl WebUIView { pub fn DeferredPermissionRequests(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeferredPermissionRequests)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4498,7 +4498,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvokeScriptAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(scriptname), arguments.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4509,7 +4509,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapturePreviewToStreamAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4517,7 +4517,7 @@ impl WebUIView { pub fn CaptureSelectedContentToDataPackageAsync(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureSelectedContentToDataPackageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4525,7 +4525,7 @@ impl WebUIView { pub fn BuildLocalStreamUri(&self, contentidentifier: &windows_core::HSTRING, relativepath: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildLocalStreamUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentidentifier), core::mem::transmute_copy(relativepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4541,7 +4541,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4557,7 +4557,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentLoading)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4573,7 +4573,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DOMContentLoaded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4589,7 +4589,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4605,7 +4605,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameNavigationStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4621,7 +4621,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameContentLoading)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4637,7 +4637,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameDOMContentLoaded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4653,7 +4653,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameNavigationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4669,7 +4669,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScriptNotify)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4685,7 +4685,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LongRunningScriptDetected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4701,7 +4701,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnsafeContentWarningDisplaying)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4717,7 +4717,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnviewableContentIdentified)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4733,7 +4733,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PermissionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4749,7 +4749,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnsupportedUriSchemeIdentified)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4765,7 +4765,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewWindowRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4781,7 +4781,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsFullScreenElementChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4797,7 +4797,7 @@ impl WebUIView { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebResourceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -4841,7 +4841,7 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4849,7 +4849,7 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4857,14 +4857,14 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4872,7 +4872,7 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4880,7 +4880,7 @@ impl WebUIVoiceCommandActivatedEventArgs { pub fn Result(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Result)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4912,7 +4912,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4920,7 +4920,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4928,14 +4928,14 @@ impl WebUIWalletActionActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4943,7 +4943,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn ItemId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4951,7 +4951,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn ActionKind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionKind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4959,7 +4959,7 @@ impl WebUIWalletActionActivatedEventArgs { pub fn ActionId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActionId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4991,7 +4991,7 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4999,7 +4999,7 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5007,14 +5007,14 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5022,7 +5022,7 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5030,7 +5030,7 @@ impl WebUIWebAccountProviderActivatedEventArgs { pub fn Operation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Operation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5062,7 +5062,7 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5070,7 +5070,7 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn PreviousExecutionState(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousExecutionState)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -5078,14 +5078,14 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn SplashScreen(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SplashScreen)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ActivatedOperation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivatedOperation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5093,7 +5093,7 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn ContinuationData(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContinuationData)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5101,7 +5101,7 @@ impl WebUIWebAuthenticationBrokerContinuationEventArgs { pub fn WebAuthenticationResult(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebAuthenticationResult)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 f480ab805f..4eac59f04a 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs @@ -14,11 +14,11 @@ pub struct IAppWindow_Vtbl { DispatcherQueue: usize, pub Frame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub PersistedStateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPersistedStateId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PersistedStateId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPersistedStateId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Presenter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub TitleBar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UIContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub WindowingEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -150,7 +150,7 @@ pub struct IAppWindowStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryCreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ClearAllPersistedState: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ClearPersistedState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClearPersistedState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppWindowTitleBar, IAppWindowTitleBar_Vtbl, 0x6e932c84_f644_541d_a2d7_0c262437842d); impl windows_core::RuntimeType for IAppWindowTitleBar { @@ -233,7 +233,7 @@ impl windows_core::RuntimeType for IDisplayRegion { #[repr(C)] pub struct IDisplayRegion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DisplayMonitorDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayMonitorDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub WorkAreaOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub WorkAreaSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, @@ -329,7 +329,7 @@ impl AppWindow { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -337,28 +337,28 @@ impl AppWindow { pub fn DispatcherQueue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispatcherQueue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Frame(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Frame)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn PersistedStateId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PersistedStateId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -369,14 +369,14 @@ impl AppWindow { pub fn Presenter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Presenter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -387,35 +387,35 @@ impl AppWindow { pub fn TitleBar(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TitleBar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UIContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UIContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WindowingEnvironment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowingEnvironment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CloseAsync(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloseAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPlacement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPlacement)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -423,7 +423,7 @@ impl AppWindow { pub fn GetDisplayRegions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDisplayRegions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -470,7 +470,7 @@ impl AppWindow { pub fn TryShowAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryShowAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -480,7 +480,7 @@ impl AppWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -494,7 +494,7 @@ impl AppWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Closed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -508,7 +508,7 @@ impl AppWindow { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CloseRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -518,7 +518,7 @@ impl AppWindow { } pub fn TryCreateAsync() -> windows_core::Result> { Self::IAppWindowStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryCreateAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -554,56 +554,56 @@ impl AppWindowChangedEventArgs { pub fn DidAvailableWindowPresentationsChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DidAvailableWindowPresentationsChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DidDisplayRegionsChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DidDisplayRegionsChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DidFrameChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DidFrameChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DidSizeChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DidSizeChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DidTitleBarChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DidTitleBarChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DidVisibilityChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DidVisibilityChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DidWindowingEnvironmentChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DidWindowingEnvironmentChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn DidWindowPresentationChange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DidWindowPresentationChange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -628,7 +628,7 @@ impl AppWindowCloseRequestedEventArgs { pub fn Cancel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cancel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -639,7 +639,7 @@ impl AppWindowCloseRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -664,7 +664,7 @@ impl AppWindowClosedEventArgs { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -690,14 +690,14 @@ impl AppWindowFrame { pub fn DragRegionVisuals(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DragRegionVisuals)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetFrameStyle(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetFrameStyle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -726,21 +726,21 @@ impl AppWindowPlacement { pub fn DisplayRegion(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayRegion)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Offset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Offset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -765,7 +765,7 @@ impl AppWindowPresentationConfiguration { pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -790,14 +790,14 @@ impl AppWindowPresenter { pub fn GetConfiguration(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetConfiguration)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPresentationSupported(&self, presentationkind: AppWindowPresentationKind) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPresentationSupported)(windows_core::Interface::as_raw(this), presentationkind, &mut result__).map(|| result__) } } @@ -807,14 +807,14 @@ impl AppWindowPresenter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPresentation)(windows_core::Interface::as_raw(this), configuration.param().abi(), &mut result__).map(|| result__) } } pub fn RequestPresentationByKind(&self, presentationkind: AppWindowPresentationKind) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestPresentationByKind)(windows_core::Interface::as_raw(this), presentationkind, &mut result__).map(|| result__) } } @@ -839,7 +839,7 @@ impl AppWindowTitleBar { pub fn BackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -853,7 +853,7 @@ impl AppWindowTitleBar { pub fn ButtonBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -867,7 +867,7 @@ impl AppWindowTitleBar { pub fn ButtonForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -881,7 +881,7 @@ impl AppWindowTitleBar { pub fn ButtonHoverBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonHoverBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -895,7 +895,7 @@ impl AppWindowTitleBar { pub fn ButtonHoverForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonHoverForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -909,7 +909,7 @@ impl AppWindowTitleBar { pub fn ButtonInactiveBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonInactiveBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -923,7 +923,7 @@ impl AppWindowTitleBar { pub fn ButtonInactiveForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonInactiveForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -937,7 +937,7 @@ impl AppWindowTitleBar { pub fn ButtonPressedBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonPressedBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -951,7 +951,7 @@ impl AppWindowTitleBar { pub fn ButtonPressedForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ButtonPressedForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -965,7 +965,7 @@ impl AppWindowTitleBar { pub fn ExtendsContentIntoTitleBar(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendsContentIntoTitleBar)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -976,7 +976,7 @@ impl AppWindowTitleBar { pub fn ForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -990,7 +990,7 @@ impl AppWindowTitleBar { pub fn InactiveBackgroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InactiveBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1004,7 +1004,7 @@ impl AppWindowTitleBar { pub fn InactiveForegroundColor(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InactiveForegroundColor)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1018,7 +1018,7 @@ impl AppWindowTitleBar { pub fn IsVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1026,14 +1026,14 @@ impl AppWindowTitleBar { pub fn GetTitleBarOcclusions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetTitleBarOcclusions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn GetPreferredVisibility(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetPreferredVisibility)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1062,7 +1062,7 @@ impl AppWindowTitleBarOcclusion { pub fn OccludingRect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OccludingRect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1095,7 +1095,7 @@ impl CompactOverlayPresentationConfiguration { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1128,7 +1128,7 @@ impl DefaultPresentationConfiguration { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1153,35 +1153,35 @@ impl DisplayRegion { pub fn DisplayMonitorDeviceId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DisplayMonitorDeviceId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsVisible(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WorkAreaOffset(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkAreaOffset)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WorkAreaSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WorkAreaSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WindowingEnvironment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowingEnvironment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1191,7 +1191,7 @@ impl DisplayRegion { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1228,14 +1228,14 @@ impl FullScreenPresentationConfiguration { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn IsExclusive(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsExclusive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1261,7 +1261,7 @@ impl WindowServices { #[cfg(feature = "Foundation_Collections")] pub fn FindAllTopLevelWindowIds() -> windows_core::Result> { Self::IWindowServicesStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllTopLevelWindowIds)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1282,14 +1282,14 @@ impl WindowingEnvironment { pub fn IsEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Kind(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Kind)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1297,7 +1297,7 @@ impl WindowingEnvironment { pub fn GetDisplayRegions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDisplayRegions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1307,7 +1307,7 @@ impl WindowingEnvironment { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Changed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -1318,14 +1318,14 @@ impl WindowingEnvironment { #[cfg(feature = "Foundation_Collections")] pub fn FindAll() -> windows_core::Result> { Self::IWindowingEnvironmentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAll)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Foundation_Collections")] pub fn FindAllWithKind(kind: WindowingEnvironmentKind) -> windows_core::Result> { Self::IWindowingEnvironmentStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FindAllWithKind)(windows_core::Interface::as_raw(this), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1355,7 +1355,7 @@ impl WindowingEnvironmentAddedEventArgs { pub fn WindowingEnvironment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowingEnvironment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1397,7 +1397,7 @@ impl WindowingEnvironmentRemovedEventArgs { pub fn WindowingEnvironment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WindowingEnvironment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/UI/mod.rs b/crates/libs/windows/src/Windows/UI/mod.rs index 0a6a92cd70..7b9a858bd4 100644 --- a/crates/libs/windows/src/Windows/UI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/mod.rs @@ -50,7 +50,7 @@ impl windows_core::RuntimeType for IColorHelperStatics2 { #[repr(C)] pub struct IColorHelperStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ToDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, Color, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, Color, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IColors, IColors_Vtbl, 0x9b8c9326_4ca6_4ce5_8994_9eff65cabdcc); impl windows_core::RuntimeType for IColors { @@ -233,13 +233,13 @@ windows_core::imp::interface_hierarchy!(ColorHelper, windows_core::IUnknown, win impl ColorHelper { pub fn FromArgb(a: u8, r: u8, g: u8, b: u8) -> windows_core::Result { Self::IColorHelperStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FromArgb)(windows_core::Interface::as_raw(this), a, r, g, b, &mut result__).map(|| result__) }) } pub fn ToDisplayName(color: Color) -> windows_core::Result { Self::IColorHelperStatics2(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToDisplayName)(windows_core::Interface::as_raw(this), color, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -273,847 +273,847 @@ windows_core::imp::interface_hierarchy!(Colors, windows_core::IUnknown, windows_ impl Colors { pub fn AliceBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AliceBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn AntiqueWhite() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AntiqueWhite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Aqua() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Aqua)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Aquamarine() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Aquamarine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Azure() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Azure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Beige() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Beige)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Bisque() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bisque)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Black() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Black)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BlanchedAlmond() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlanchedAlmond)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Blue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Blue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BlueViolet() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BlueViolet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Brown() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Brown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn BurlyWood() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BurlyWood)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CadetBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CadetBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Chartreuse() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Chartreuse)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Chocolate() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Chocolate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Coral() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Coral)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn CornflowerBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CornflowerBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Cornsilk() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cornsilk)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Crimson() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Crimson)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Cyan() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cyan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkCyan() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkCyan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkGoldenrod() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkGoldenrod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkGray() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkGray)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkKhaki() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkKhaki)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkMagenta() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkMagenta)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkOliveGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkOliveGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkOrange() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkOrange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkOrchid() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkOrchid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkRed() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkRed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkSalmon() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkSalmon)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkSeaGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkSeaGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkSlateBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkSlateBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkSlateGray() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkSlateGray)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkTurquoise() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkTurquoise)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DarkViolet() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DarkViolet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DeepPink() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeepPink)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DeepSkyBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeepSkyBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DimGray() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DimGray)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn DodgerBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DodgerBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Firebrick() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Firebrick)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn FloralWhite() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FloralWhite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn ForestGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ForestGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Fuchsia() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Fuchsia)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Gainsboro() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gainsboro)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GhostWhite() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GhostWhite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Gold() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gold)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Goldenrod() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Goldenrod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Gray() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Gray)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Green() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Green)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn GreenYellow() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GreenYellow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Honeydew() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Honeydew)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn HotPink() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HotPink)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn IndianRed() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndianRed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Indigo() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Indigo)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Ivory() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Ivory)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Khaki() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Khaki)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Lavender() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lavender)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LavenderBlush() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LavenderBlush)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LawnGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LawnGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LemonChiffon() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LemonChiffon)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightCoral() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightCoral)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightCyan() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightCyan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightGoldenrodYellow() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightGoldenrodYellow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightGray() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightGray)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightPink() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightPink)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightSalmon() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightSalmon)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightSeaGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightSeaGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightSkyBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightSkyBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightSlateGray() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightSlateGray)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightSteelBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightSteelBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LightYellow() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LightYellow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Lime() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn LimeGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LimeGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Linen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Linen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Magenta() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Magenta)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Maroon() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Maroon)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediumAquamarine() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediumAquamarine)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediumBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediumBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediumOrchid() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediumOrchid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediumPurple() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediumPurple)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediumSeaGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediumSeaGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediumSlateBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediumSlateBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediumSpringGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediumSpringGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediumTurquoise() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediumTurquoise)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MediumVioletRed() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediumVioletRed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MidnightBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MidnightBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MintCream() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MintCream)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn MistyRose() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MistyRose)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Moccasin() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Moccasin)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn NavajoWhite() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavajoWhite)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Navy() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Navy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn OldLace() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OldLace)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Olive() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Olive)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn OliveDrab() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OliveDrab)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Orange() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orange)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn OrangeRed() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).OrangeRed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Orchid() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Orchid)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PaleGoldenrod() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PaleGoldenrod)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PaleGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PaleGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PaleTurquoise() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PaleTurquoise)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PaleVioletRed() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PaleVioletRed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PapayaWhip() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PapayaWhip)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PeachPuff() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PeachPuff)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Peru() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Peru)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Pink() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Pink)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Plum() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Plum)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn PowderBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PowderBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Purple() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Purple)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Red() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Red)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RosyBrown() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RosyBrown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn RoyalBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoyalBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SaddleBrown() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SaddleBrown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Salmon() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Salmon)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SandyBrown() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SandyBrown)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SeaGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SeaGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SeaShell() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SeaShell)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Sienna() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Sienna)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Silver() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Silver)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SkyBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SkyBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SlateBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SlateBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SlateGray() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SlateGray)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Snow() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Snow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SpringGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SpringGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn SteelBlue() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SteelBlue)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Tan() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tan)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Teal() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Teal)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Thistle() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Thistle)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Tomato() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Tomato)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Transparent() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Transparent)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Turquoise() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Turquoise)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Violet() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Violet)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Wheat() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Wheat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn White() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).White)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn WhiteSmoke() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WhiteSmoke)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn Yellow() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Yellow)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } pub fn YellowGreen() -> windows_core::Result { Self::IColorsStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).YellowGreen)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) }) } @@ -1143,7 +1143,7 @@ impl UIContentRoot { pub fn UIContext(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UIContext)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs b/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs index 6c33e06cf7..f4b71ffd31 100644 --- a/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs @@ -6494,7 +6494,7 @@ impl Default for D3DHAL_CONTEXTCREATEDATA_0 { #[repr(C)] #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] pub union D3DHAL_CONTEXTCREATEDATA_1 { - pub lpDDS: std::mem::ManuallyDrop>, + pub lpDDS: core::mem::ManuallyDrop>, pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL, } #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -6516,7 +6516,7 @@ impl Default for D3DHAL_CONTEXTCREATEDATA_1 { #[repr(C)] #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] pub union D3DHAL_CONTEXTCREATEDATA_2 { - pub lpDDSZ: std::mem::ManuallyDrop>, + pub lpDDSZ: core::mem::ManuallyDrop>, pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL, } #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -7977,9 +7977,9 @@ pub struct D3DHAL_RENDERPRIMITIVEDATA { pub dwhContext: usize, pub dwOffset: u32, pub dwStatus: u32, - pub lpExeBuf: std::mem::ManuallyDrop>, + pub lpExeBuf: core::mem::ManuallyDrop>, pub dwTLOffset: u32, - pub lpTLBuf: std::mem::ManuallyDrop>, + pub lpTLBuf: core::mem::ManuallyDrop>, pub diInstruction: super::super::super::Win32::Graphics::Direct3D9::D3DINSTRUCTION, pub ddrval: windows_core::HRESULT, } @@ -8006,7 +8006,7 @@ pub struct D3DHAL_RENDERSTATEDATA { pub dwhContext: usize, pub dwOffset: u32, pub dwCount: u32, - pub lpExeBuf: std::mem::ManuallyDrop>, + pub lpExeBuf: core::mem::ManuallyDrop>, pub ddrval: windows_core::HRESULT, } #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -8067,7 +8067,7 @@ impl Default for D3DHAL_SETRENDERTARGETDATA { #[repr(C)] #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] pub union D3DHAL_SETRENDERTARGETDATA_0 { - pub lpDDS: std::mem::ManuallyDrop>, + pub lpDDS: core::mem::ManuallyDrop>, pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL, } #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -8089,7 +8089,7 @@ impl Default for D3DHAL_SETRENDERTARGETDATA_0 { #[repr(C)] #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] pub union D3DHAL_SETRENDERTARGETDATA_1 { - pub lpDDSZ: std::mem::ManuallyDrop>, + pub lpDDSZ: core::mem::ManuallyDrop>, pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL, } #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -8113,7 +8113,7 @@ impl Default for D3DHAL_SETRENDERTARGETDATA_1 { #[derive(Debug, Eq, PartialEq)] pub struct D3DHAL_TEXTURECREATEDATA { pub dwhContext: usize, - pub lpDDS: std::mem::ManuallyDrop>, + pub lpDDS: core::mem::ManuallyDrop>, pub dwHandle: u32, pub ddrval: windows_core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs index aa0349728d..734d0a3c13 100644 --- a/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs @@ -15,7 +15,7 @@ pub unsafe fn NdisAllocateMemoryWithTag(virtualaddress: *mut *mut core::ffi::c_v #[inline] pub unsafe fn NdisCancelTimer(timer: *const NDIS_TIMER) -> super::super::super::Win32::Foundation::BOOLEAN { windows_targets::link!("ndis.sys" "system" fn NdisCancelTimer(timer : *const NDIS_TIMER, timercancelled : *mut super::super::super::Win32::Foundation:: BOOLEAN)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NdisCancelTimer(timer, &mut result__); result__ } @@ -217,7 +217,7 @@ pub unsafe fn NdisGetCurrentProcessorCounts(pidlecount: *mut u32, pkernelanduser #[inline] pub unsafe fn NdisGetCurrentProcessorCpuUsage() -> u32 { windows_targets::link!("ndis.sys" "system" fn NdisGetCurrentProcessorCpuUsage(pcpuusage : *mut u32)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NdisGetCurrentProcessorCpuUsage(&mut result__); result__ } @@ -265,7 +265,7 @@ pub unsafe fn NdisIMInitializeDeviceInstanceEx(driverhandle: *const core::ffi::c #[inline] pub unsafe fn NdisInitializeEvent() -> NDIS_EVENT { windows_targets::link!("ndis.sys" "system" fn NdisInitializeEvent(event : *mut NDIS_EVENT)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NdisInitializeEvent(&mut result__); result__ } @@ -305,7 +305,7 @@ where #[inline] pub unsafe fn NdisMCancelTimer(timer: *const NDIS_MINIPORT_TIMER) -> super::super::super::Win32::Foundation::BOOLEAN { windows_targets::link!("ndis.sys" "system" fn NdisMCancelTimer(timer : *const NDIS_MINIPORT_TIMER, timercancelled : *mut super::super::super::Win32::Foundation:: BOOLEAN)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NdisMCancelTimer(timer, &mut result__); result__ } diff --git a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs index c6241f5efb..8357a79e05 100644 --- a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs @@ -1174,7 +1174,7 @@ pub unsafe fn FltInitializeOplock(oplock: *mut *mut core::ffi::c_void) { #[inline] pub unsafe fn FltInitializePushLock() -> usize { windows_targets::link!("fltmgr.sys" "system" fn FltInitializePushLock(pushlock : *mut usize)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FltInitializePushLock(&mut result__); result__ } diff --git a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs index ab54a55eff..775ee4ea34 100644 --- a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs @@ -353,7 +353,7 @@ where P0: windows_core::Param, { windows_targets::link!("ntoskrnl.exe" "system" fn CcUnpinRepinnedBcb(bcb : *const core::ffi::c_void, writethrough : super::super::super::Win32::Foundation:: BOOLEAN, iostatus : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CcUnpinRepinnedBcb(bcb, writethrough.param().abi(), &mut result__); result__ } @@ -1211,7 +1211,7 @@ where #[inline] pub unsafe fn FsRtlNotifyInitializeSync() -> super::super::Foundation::PNOTIFY_SYNC { windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlNotifyInitializeSync(notifysync : *mut super::super::Foundation:: PNOTIFY_SYNC)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FsRtlNotifyInitializeSync(&mut result__); result__ } @@ -1464,7 +1464,7 @@ pub unsafe fn FsRtlRemovePerStreamContext(streamcontext: *const FSRTL_ADVANCED_F #[inline] pub unsafe fn FsRtlResetBaseMcb() -> BASE_MCB { windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlResetBaseMcb(mcb : *mut BASE_MCB)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FsRtlResetBaseMcb(&mut result__); result__ } @@ -1593,7 +1593,7 @@ pub unsafe fn GetSecurityUserInfo(logonid: Option<*const super::super::super::Wi #[inline] pub unsafe fn IoAcquireVpbSpinLock() -> u8 { windows_targets::link!("ntoskrnl.exe" "system" fn IoAcquireVpbSpinLock(irql : *mut u8)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IoAcquireVpbSpinLock(&mut result__); result__ } @@ -2692,7 +2692,7 @@ pub unsafe fn PfxFindPrefix(prefixtable: *const PREFIX_TABLE, fullname: *const s #[inline] pub unsafe fn PfxInitialize() -> PREFIX_TABLE { windows_targets::link!("ntdll.dll" "system" fn PfxInitialize(prefixtable : *mut PREFIX_TABLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PfxInitialize(&mut result__); result__ } @@ -3223,7 +3223,7 @@ pub unsafe fn RtlInitializeSidEx(sid: super::super::super::Win32::Foundation::PS #[inline] pub unsafe fn RtlInitializeUnicodePrefix() -> UNICODE_PREFIX_TABLE { windows_targets::link!("ntoskrnl.exe" "system" fn RtlInitializeUnicodePrefix(prefixtable : *mut UNICODE_PREFIX_TABLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtlInitializeUnicodePrefix(&mut result__); result__ } @@ -3414,14 +3414,14 @@ pub unsafe fn RtlReserveChunk(compressionformat: u16, compressedbuffer: *mut *mu #[inline] pub unsafe fn RtlSecondsSince1970ToTime(elapsedseconds: u32) -> i64 { windows_targets::link!("ntdll.dll" "system" fn RtlSecondsSince1970ToTime(elapsedseconds : u32, time : *mut i64)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtlSecondsSince1970ToTime(elapsedseconds, &mut result__); result__ } #[inline] pub unsafe fn RtlSecondsSince1980ToTime(elapsedseconds: u32) -> i64 { windows_targets::link!("ntdll.dll" "system" fn RtlSecondsSince1980ToTime(elapsedseconds : u32, time : *mut i64)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtlSecondsSince1980ToTime(elapsedseconds, &mut result__); result__ } @@ -3739,7 +3739,7 @@ where P1: windows_core::Param, { windows_targets::link!("ntoskrnl.exe" "system" fn SeCaptureSubjectContextEx(thread : super::super::Foundation:: PETHREAD, process : super::super::Foundation:: PEPROCESS, subjectcontext : *mut super::super::Foundation:: SECURITY_SUBJECT_CONTEXT)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SeCaptureSubjectContextEx(thread.param().abi(), process.param().abi(), &mut result__); result__ } @@ -3751,7 +3751,7 @@ where P1: windows_core::Param, { windows_targets::link!("ntoskrnl.exe" "system" fn SeCheckForCriticalAceRemoval(currentdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, newdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, subjectsecuritycontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT, aceremoved : *mut super::super::super::Win32::Foundation:: BOOLEAN)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SeCheckForCriticalAceRemoval(currentdescriptor.param().abi(), newdescriptor.param().abi(), subjectsecuritycontext, &mut result__); result__ } @@ -3867,7 +3867,7 @@ where P2: windows_core::Param, { windows_targets::link!("ntoskrnl.exe" "system" fn SeOpenObjectAuditAlarm(objecttypename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, object : *const core::ffi::c_void, absoluteobjectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, accessstate : *const super::super::Foundation:: ACCESS_STATE, objectcreated : super::super::super::Win32::Foundation:: BOOLEAN, accessgranted : super::super::super::Win32::Foundation:: BOOLEAN, accessmode : i8, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SeOpenObjectAuditAlarm(objecttypename, core::mem::transmute(object.unwrap_or(std::ptr::null())), core::mem::transmute(absoluteobjectname.unwrap_or(std::ptr::null())), securitydescriptor.param().abi(), accessstate, objectcreated.param().abi(), accessgranted.param().abi(), accessmode, &mut result__); result__ } @@ -3880,7 +3880,7 @@ where P2: windows_core::Param, { windows_targets::link!("ntoskrnl.exe" "system" fn SeOpenObjectAuditAlarmWithTransaction(objecttypename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, object : *const core::ffi::c_void, absoluteobjectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, accessstate : *const super::super::Foundation:: ACCESS_STATE, objectcreated : super::super::super::Win32::Foundation:: BOOLEAN, accessgranted : super::super::super::Win32::Foundation:: BOOLEAN, accessmode : i8, transactionid : *const windows_core::GUID, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SeOpenObjectAuditAlarmWithTransaction(objecttypename, core::mem::transmute(object.unwrap_or(std::ptr::null())), core::mem::transmute(absoluteobjectname.unwrap_or(std::ptr::null())), securitydescriptor.param().abi(), accessstate, objectcreated.param().abi(), accessgranted.param().abi(), accessmode, core::mem::transmute(transactionid.unwrap_or(std::ptr::null())), &mut result__); result__ } @@ -3893,7 +3893,7 @@ where P2: windows_core::Param, { windows_targets::link!("ntoskrnl.exe" "system" fn SeOpenObjectForDeleteAuditAlarm(objecttypename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, object : *const core::ffi::c_void, absoluteobjectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, accessstate : *const super::super::Foundation:: ACCESS_STATE, objectcreated : super::super::super::Win32::Foundation:: BOOLEAN, accessgranted : super::super::super::Win32::Foundation:: BOOLEAN, accessmode : i8, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SeOpenObjectForDeleteAuditAlarm(objecttypename, core::mem::transmute(object.unwrap_or(std::ptr::null())), core::mem::transmute(absoluteobjectname.unwrap_or(std::ptr::null())), securitydescriptor.param().abi(), accessstate, objectcreated.param().abi(), accessgranted.param().abi(), accessmode, &mut result__); result__ } @@ -3906,7 +3906,7 @@ where P2: windows_core::Param, { windows_targets::link!("ntoskrnl.exe" "system" fn SeOpenObjectForDeleteAuditAlarmWithTransaction(objecttypename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, object : *const core::ffi::c_void, absoluteobjectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, accessstate : *const super::super::Foundation:: ACCESS_STATE, objectcreated : super::super::super::Win32::Foundation:: BOOLEAN, accessgranted : super::super::super::Win32::Foundation:: BOOLEAN, accessmode : i8, transactionid : *const windows_core::GUID, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SeOpenObjectForDeleteAuditAlarmWithTransaction(objecttypename, core::mem::transmute(object.unwrap_or(std::ptr::null())), core::mem::transmute(absoluteobjectname.unwrap_or(std::ptr::null())), securitydescriptor.param().abi(), accessstate, objectcreated.param().abi(), accessgranted.param().abi(), accessmode, core::mem::transmute(transactionid.unwrap_or(std::ptr::null())), &mut result__); result__ } @@ -4186,7 +4186,7 @@ pub unsafe fn SspiSetAsyncNotifyCallback(context: *const super::super::Foundatio #[inline] pub unsafe fn VerifySignature(phcontext: *const SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32) -> windows_core::Result { windows_targets::link!("secur32.dll" "system" fn VerifySignature(phcontext : *const SecHandle, pmessage : *const SecBufferDesc, messageseqno : u32, pfqop : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VerifySignature(phcontext, pmessage, messageseqno, &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs b/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs index 0a6caa2762..9793dc7250 100644 --- a/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs @@ -840,7 +840,7 @@ pub unsafe fn ExGetSystemFirmwareTable(firmwaretableprovidersignature: u32, firm #[inline] pub unsafe fn ExInitializePushLock() -> usize { windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializePushLock(pushlock : *mut usize)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ExInitializePushLock(&mut result__); result__ } @@ -853,7 +853,7 @@ pub unsafe fn ExInitializeResourceLite(resource: *mut super::super::Foundation:: #[inline] pub unsafe fn ExInitializeRundownProtection() -> EX_RUNDOWN_REF { windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializeRundownProtection(runref : *mut EX_RUNDOWN_REF)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ExInitializeRundownProtection(&mut result__); result__ } @@ -922,7 +922,7 @@ pub unsafe fn ExIsSoftBoot() -> super::super::super::Win32::Foundation::BOOLEAN #[inline] pub unsafe fn ExLocalTimeToSystemTime(localtime: *const i64) -> i64 { windows_targets::link!("ntoskrnl.exe" "system" fn ExLocalTimeToSystemTime(localtime : *const i64, systemtime : *mut i64)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ExLocalTimeToSystemTime(localtime, &mut result__); result__ } @@ -1080,7 +1080,7 @@ pub unsafe fn ExReleaseSpinLockSharedFromDpcLevel(spinlock: *mut i32) { #[inline] pub unsafe fn ExRundownCompleted() -> EX_RUNDOWN_REF { windows_targets::link!("ntoskrnl.exe" "system" fn ExRundownCompleted(runref : *mut EX_RUNDOWN_REF)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ExRundownCompleted(&mut result__); result__ } @@ -1151,7 +1151,7 @@ pub unsafe fn ExSizeOfRundownProtectionCacheAware() -> usize { #[inline] pub unsafe fn ExSystemTimeToLocalTime(systemtime: *const i64) -> i64 { windows_targets::link!("ntoskrnl.exe" "system" fn ExSystemTimeToLocalTime(systemtime : *const i64, localtime : *mut i64)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ExSystemTimeToLocalTime(systemtime, &mut result__); result__ } @@ -1353,7 +1353,7 @@ pub unsafe fn HvlUnregisterWheaErrorNotification(callback: PHVL_WHEA_ERROR_NOTIF #[inline] pub unsafe fn IoAcquireCancelSpinLock() -> u8 { windows_targets::link!("ntoskrnl.exe" "system" fn IoAcquireCancelSpinLock(irql : *mut u8)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IoAcquireCancelSpinLock(&mut result__); result__ } @@ -3127,7 +3127,7 @@ pub unsafe fn KeInitializeSemaphore(semaphore: *mut KSEMAPHORE, count: i32, limi #[inline] pub unsafe fn KeInitializeSpinLock() -> usize { windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeSpinLock(spinlock : *mut usize)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); KeInitializeSpinLock(&mut result__); result__ } @@ -3331,7 +3331,7 @@ where #[inline] pub unsafe fn KeQuerySystemTimePrecise() -> i64 { windows_targets::link!("ntoskrnl.exe" "system" fn KeQuerySystemTimePrecise(currenttime : *mut i64)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); KeQuerySystemTimePrecise(&mut result__); result__ } @@ -6288,7 +6288,7 @@ pub unsafe fn RtlRunOnceExecuteOnce(runonce: *mut super::super::super::Win32::Sy #[inline] pub unsafe fn RtlRunOnceInitialize() -> super::super::super::Win32::System::Threading::INIT_ONCE { windows_targets::link!("ntdll.dll" "system" fn RtlRunOnceInitialize(runonce : *mut super::super::super::Win32::System::Threading:: INIT_ONCE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtlRunOnceInitialize(&mut result__); result__ } @@ -6373,7 +6373,7 @@ pub unsafe fn RtlTimeFieldsToTime(timefields: *const TIME_FIELDS, time: *mut i64 #[inline] pub unsafe fn RtlTimeToTimeFields(time: *const i64) -> TIME_FIELDS { windows_targets::link!("ntdll.dll" "system" fn RtlTimeToTimeFields(time : *const i64, timefields : *mut TIME_FIELDS)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtlTimeToTimeFields(time, &mut result__); result__ } @@ -6535,7 +6535,7 @@ where #[inline] pub unsafe fn SeCaptureSubjectContext() -> super::super::Foundation::SECURITY_SUBJECT_CONTEXT { windows_targets::link!("ntoskrnl.exe" "system" fn SeCaptureSubjectContext(subjectcontext : *mut super::super::Foundation:: SECURITY_SUBJECT_CONTEXT)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SeCaptureSubjectContext(&mut result__); result__ } @@ -6660,7 +6660,7 @@ pub unsafe fn TmEnableCallbacks(resourcemanager: *const super::super::Foundation #[inline] pub unsafe fn TmGetTransactionId(transaction: *const super::super::Foundation::KTRANSACTION) -> windows_core::GUID { windows_targets::link!("ntoskrnl.exe" "system" fn TmGetTransactionId(transaction : *const super::super::Foundation:: KTRANSACTION, transactionid : *mut windows_core::GUID)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); TmGetTransactionId(transaction, &mut result__); result__ } diff --git a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs index 9c907ac734..f764dd9810 100644 --- a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs +++ b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs @@ -18,15 +18,15 @@ pub struct IAtomPubClient_Vtbl { #[cfg(not(feature = "Web_Syndication"))] RetrieveResourceAsync: usize, #[cfg(feature = "Web_Syndication")] - pub CreateResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Web_Syndication"))] CreateResourceAsync: usize, #[cfg(all(feature = "Storage_Streams", feature = "Web_Syndication"))] - pub CreateMediaResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateMediaResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Storage_Streams", feature = "Web_Syndication")))] CreateMediaResourceAsync: usize, #[cfg(all(feature = "Storage_Streams", feature = "Web_Syndication"))] - pub UpdateMediaResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UpdateMediaResourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Storage_Streams", feature = "Web_Syndication")))] UpdateMediaResourceAsync: usize, #[cfg(feature = "Web_Syndication")] @@ -129,7 +129,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveServiceDocumentAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -140,7 +140,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveMediaResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -151,7 +151,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -163,7 +163,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), core::mem::transmute_copy(description), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -175,7 +175,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateMediaResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), core::mem::transmute_copy(mediatype), core::mem::transmute_copy(description), mediastream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -187,7 +187,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateMediaResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), core::mem::transmute_copy(mediatype), mediastream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -199,7 +199,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -210,7 +210,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UpdateResourceItemAsync)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -221,7 +221,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteResourceAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -232,7 +232,7 @@ impl AtomPubClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteResourceItemAsync)(windows_core::Interface::as_raw(this), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -246,7 +246,7 @@ impl AtomPubClient { P0: windows_core::Param, { Self::IAtomPubClientFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateAtomPubClientWithCredentials)(windows_core::Interface::as_raw(this), servercredential.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -254,7 +254,7 @@ impl AtomPubClient { pub fn ServerCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -270,7 +270,7 @@ impl AtomPubClient { pub fn ProxyCredential(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -286,7 +286,7 @@ impl AtomPubClient { pub fn MaxResponseBufferSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxResponseBufferSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -299,7 +299,7 @@ impl AtomPubClient { pub fn Timeout(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -312,7 +312,7 @@ impl AtomPubClient { pub fn BypassCacheOnRetrieve(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BypassCacheOnRetrieve)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -333,7 +333,7 @@ impl AtomPubClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveFeedAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -366,14 +366,14 @@ impl ResourceCollection { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -381,7 +381,7 @@ impl ResourceCollection { pub fn Categories(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Categories)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -389,7 +389,7 @@ impl ResourceCollection { pub fn Accepts(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Accepts)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -397,7 +397,7 @@ impl ResourceCollection { pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -410,7 +410,7 @@ impl ResourceCollection { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -423,7 +423,7 @@ impl ResourceCollection { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -436,7 +436,7 @@ impl ResourceCollection { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -449,7 +449,7 @@ impl ResourceCollection { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -465,7 +465,7 @@ impl ResourceCollection { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -473,7 +473,7 @@ impl ResourceCollection { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -481,7 +481,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -509,7 +509,7 @@ impl ServiceDocument { pub fn Workspaces(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Workspaces)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -517,7 +517,7 @@ impl ServiceDocument { pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -530,7 +530,7 @@ impl ServiceDocument { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -543,7 +543,7 @@ impl ServiceDocument { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -556,7 +556,7 @@ impl ServiceDocument { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -569,7 +569,7 @@ impl ServiceDocument { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -585,7 +585,7 @@ impl ServiceDocument { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -593,7 +593,7 @@ impl ServiceDocument { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -601,7 +601,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -629,7 +629,7 @@ impl Workspace { pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -642,7 +642,7 @@ impl Workspace { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -655,7 +655,7 @@ impl Workspace { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -668,7 +668,7 @@ impl Workspace { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -681,7 +681,7 @@ impl Workspace { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -697,7 +697,7 @@ impl Workspace { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -705,7 +705,7 @@ impl Workspace { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -713,7 +713,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -721,7 +721,7 @@ impl Workspace { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -729,7 +729,7 @@ impl Workspace { pub fn Collections(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Collections)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 d3be646452..95e8a154a5 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs @@ -120,7 +120,7 @@ impl HttpDiagnosticProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSent)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -134,7 +134,7 @@ impl HttpDiagnosticProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseReceived)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -148,7 +148,7 @@ impl HttpDiagnosticProvider { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestResponseCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -162,7 +162,7 @@ impl HttpDiagnosticProvider { P0: windows_core::Param, { Self::IHttpDiagnosticProviderStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromProcessDiagnosticInfo)(windows_core::Interface::as_raw(this), processdiagnosticinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -192,42 +192,42 @@ impl HttpDiagnosticProviderRequestResponseCompletedEventArgs { pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Timestamps(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamps)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestedUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestedUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ThreadId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThreadId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Initiator(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Initiator)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -235,7 +235,7 @@ impl HttpDiagnosticProviderRequestResponseCompletedEventArgs { pub fn SourceLocations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceLocations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -260,63 +260,63 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { pub fn CacheCheckedTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CacheCheckedTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionInitiatedTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionInitiatedTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NameResolvedTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NameResolvedTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SslNegotiatedTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SslNegotiatedTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ConnectionCompletedTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ConnectionCompletedTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestSentTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestSentTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestCompletedTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestCompletedTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResponseReceivedTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseReceivedTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResponseCompletedTimestamp(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseCompletedTimestamp)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -341,42 +341,42 @@ impl HttpDiagnosticProviderRequestSentEventArgs { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ProcessId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ThreadId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ThreadId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Initiator(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Initiator)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -384,7 +384,7 @@ impl HttpDiagnosticProviderRequestSentEventArgs { pub fn SourceLocations(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceLocations)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -409,21 +409,21 @@ impl HttpDiagnosticProviderResponseReceivedEventArgs { pub fn Timestamp(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timestamp)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ActivityId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ActivityId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Message(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Message)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -448,21 +448,21 @@ impl HttpDiagnosticSourceLocation { pub fn SourceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LineNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LineNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ColumnNumber(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ColumnNumber)(windows_core::Interface::as_raw(this), &mut result__).map(|| 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 20269e4f97..e73928a460 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs @@ -117,7 +117,7 @@ windows_core::imp::define_interface!(IHttpFilter, IHttpFilter_Vtbl, 0xa4cb6dd5_0 impl std::ops::Deref for IHttpFilter { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHttpFilter, windows_core::IUnknown, windows_core::IInspectable); @@ -129,7 +129,7 @@ impl IHttpFilter { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendRequestAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -193,7 +193,7 @@ impl HttpBaseProtocolFilter { pub fn AllowAutoRedirect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowAutoRedirect)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -204,7 +204,7 @@ impl HttpBaseProtocolFilter { pub fn AllowUI(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AllowUI)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -215,7 +215,7 @@ impl HttpBaseProtocolFilter { pub fn AutomaticDecompression(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AutomaticDecompression)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -226,14 +226,14 @@ impl HttpBaseProtocolFilter { pub fn CacheControl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CacheControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CookieManager(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CookieManager)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -241,7 +241,7 @@ impl HttpBaseProtocolFilter { pub fn ClientCertificate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ClientCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -257,14 +257,14 @@ impl HttpBaseProtocolFilter { pub fn IgnorableServerCertificateErrors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IgnorableServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MaxConnectionsPerServer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxConnectionsPerServer)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -276,7 +276,7 @@ impl HttpBaseProtocolFilter { pub fn ProxyCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -292,7 +292,7 @@ impl HttpBaseProtocolFilter { pub fn ServerCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -307,7 +307,7 @@ impl HttpBaseProtocolFilter { pub fn UseProxy(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UseProxy)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -318,7 +318,7 @@ impl HttpBaseProtocolFilter { pub fn MaxVersion(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxVersion)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -329,7 +329,7 @@ impl HttpBaseProtocolFilter { pub fn CookieUsageBehavior(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CookieUsageBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -343,7 +343,7 @@ impl HttpBaseProtocolFilter { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCustomValidationRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -359,7 +359,7 @@ impl HttpBaseProtocolFilter { pub fn User(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).User)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -369,7 +369,7 @@ impl HttpBaseProtocolFilter { P0: windows_core::Param, { Self::IHttpBaseProtocolFilterStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateForUser)(windows_core::Interface::as_raw(this), user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -379,7 +379,7 @@ impl HttpBaseProtocolFilter { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendRequestAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -409,7 +409,7 @@ impl HttpCacheControl { pub fn ReadBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -420,7 +420,7 @@ impl HttpCacheControl { pub fn WriteBehavior(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteBehavior)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -449,7 +449,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn RequestMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -457,7 +457,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn ServerCertificate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -465,7 +465,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn ServerCertificateErrorSeverity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrorSeverity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -473,7 +473,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn ServerCertificateErrors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -481,7 +481,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn ServerIntermediateCertificates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerIntermediateCertificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -492,7 +492,7 @@ impl HttpServerCustomValidationRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::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 d1caeb4d5f..bb76c4d33a 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs @@ -13,8 +13,8 @@ pub struct IHttpCacheDirectiveHeaderValueCollection_Vtbl { pub SetMinFresh: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SharedMaxAge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSharedMaxAge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpChallengeHeaderValue, IHttpChallengeHeaderValue_Vtbl, 0x393361af_0f7d_4820_9fdd_a2b956eeaeab); impl windows_core::RuntimeType for IHttpChallengeHeaderValue { @@ -27,8 +27,8 @@ pub struct IHttpChallengeHeaderValue_Vtbl { pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Parameters: usize, - pub Scheme: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Scheme: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpChallengeHeaderValueCollection, IHttpChallengeHeaderValueCollection_Vtbl, 0xca9e5f81_aee0_4353_a10b_e625babd64c2); impl windows_core::RuntimeType for IHttpChallengeHeaderValueCollection { @@ -37,8 +37,8 @@ impl windows_core::RuntimeType for IHttpChallengeHeaderValueCollection { #[repr(C)] pub struct IHttpChallengeHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpChallengeHeaderValueFactory, IHttpChallengeHeaderValueFactory_Vtbl, 0xc452c451_d99c_40aa_9399_90eeb98fc613); impl windows_core::RuntimeType for IHttpChallengeHeaderValueFactory { @@ -47,8 +47,8 @@ impl windows_core::RuntimeType for IHttpChallengeHeaderValueFactory { #[repr(C)] pub struct IHttpChallengeHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromScheme: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromSchemeWithToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromScheme: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromSchemeWithToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpChallengeHeaderValueStatics, IHttpChallengeHeaderValueStatics_Vtbl, 0xf3d38a72_fc01_4d01_a008_fcb7c459d635); impl windows_core::RuntimeType for IHttpChallengeHeaderValueStatics { @@ -57,8 +57,8 @@ impl windows_core::RuntimeType for IHttpChallengeHeaderValueStatics { #[repr(C)] pub struct IHttpChallengeHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpConnectionOptionHeaderValue, IHttpConnectionOptionHeaderValue_Vtbl, 0xcb4af27a_4e90_45eb_8dcd_fd1408f4c44f); impl windows_core::RuntimeType for IHttpConnectionOptionHeaderValue { @@ -67,7 +67,7 @@ impl windows_core::RuntimeType for IHttpConnectionOptionHeaderValue { #[repr(C)] pub struct IHttpConnectionOptionHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpConnectionOptionHeaderValueCollection, IHttpConnectionOptionHeaderValueCollection_Vtbl, 0xe4f56c1d_5142_4e00_8e0f_019509337629); impl windows_core::RuntimeType for IHttpConnectionOptionHeaderValueCollection { @@ -76,8 +76,8 @@ impl windows_core::RuntimeType for IHttpConnectionOptionHeaderValueCollection { #[repr(C)] pub struct IHttpConnectionOptionHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpConnectionOptionHeaderValueFactory, IHttpConnectionOptionHeaderValueFactory_Vtbl, 0xd93ccc1e_0b7d_4c3f_a58d_a2a1bdeabc0a); impl windows_core::RuntimeType for IHttpConnectionOptionHeaderValueFactory { @@ -86,7 +86,7 @@ impl windows_core::RuntimeType for IHttpConnectionOptionHeaderValueFactory { #[repr(C)] pub struct IHttpConnectionOptionHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpConnectionOptionHeaderValueStatics, IHttpConnectionOptionHeaderValueStatics_Vtbl, 0xaaa75d37_a946_4b1f_85af_48b68b3c50bd); impl windows_core::RuntimeType for IHttpConnectionOptionHeaderValueStatics { @@ -95,8 +95,8 @@ impl windows_core::RuntimeType for IHttpConnectionOptionHeaderValueStatics { #[repr(C)] pub struct IHttpConnectionOptionHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentCodingHeaderValue, IHttpContentCodingHeaderValue_Vtbl, 0xbcf7f92a_9376_4d85_bccc_9f4f9acab434); impl windows_core::RuntimeType for IHttpContentCodingHeaderValue { @@ -105,7 +105,7 @@ impl windows_core::RuntimeType for IHttpContentCodingHeaderValue { #[repr(C)] pub struct IHttpContentCodingHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContentCoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentCoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentCodingHeaderValueCollection, IHttpContentCodingHeaderValueCollection_Vtbl, 0x7d221721_a6db_436e_8e83_91596192819c); impl windows_core::RuntimeType for IHttpContentCodingHeaderValueCollection { @@ -114,8 +114,8 @@ impl windows_core::RuntimeType for IHttpContentCodingHeaderValueCollection { #[repr(C)] pub struct IHttpContentCodingHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentCodingHeaderValueFactory, IHttpContentCodingHeaderValueFactory_Vtbl, 0xc53d2bd7_332b_4350_8510_2e67a2289a5a); impl windows_core::RuntimeType for IHttpContentCodingHeaderValueFactory { @@ -124,7 +124,7 @@ impl windows_core::RuntimeType for IHttpContentCodingHeaderValueFactory { #[repr(C)] pub struct IHttpContentCodingHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentCodingHeaderValueStatics, IHttpContentCodingHeaderValueStatics_Vtbl, 0x94d8602e_f9bf_42f7_aa46_ed272a41e212); impl windows_core::RuntimeType for IHttpContentCodingHeaderValueStatics { @@ -133,8 +133,8 @@ impl windows_core::RuntimeType for IHttpContentCodingHeaderValueStatics { #[repr(C)] pub struct IHttpContentCodingHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentCodingWithQualityHeaderValue, IHttpContentCodingWithQualityHeaderValue_Vtbl, 0x94531cd5_8b13_4d73_8651_f76b38f88495); impl windows_core::RuntimeType for IHttpContentCodingWithQualityHeaderValue { @@ -143,7 +143,7 @@ impl windows_core::RuntimeType for IHttpContentCodingWithQualityHeaderValue { #[repr(C)] pub struct IHttpContentCodingWithQualityHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ContentCoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentCoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Quality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentCodingWithQualityHeaderValueCollection, IHttpContentCodingWithQualityHeaderValueCollection_Vtbl, 0x7c0d753e_e899_4378_b5c8_412d820711cc); @@ -153,8 +153,8 @@ impl windows_core::RuntimeType for IHttpContentCodingWithQualityHeaderValueColle #[repr(C)] pub struct IHttpContentCodingWithQualityHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentCodingWithQualityHeaderValueFactory, IHttpContentCodingWithQualityHeaderValueFactory_Vtbl, 0xc45eee1a_c553_46fc_ade2_d75c1d53df7b); impl windows_core::RuntimeType for IHttpContentCodingWithQualityHeaderValueFactory { @@ -163,8 +163,8 @@ impl windows_core::RuntimeType for IHttpContentCodingWithQualityHeaderValueFacto #[repr(C)] pub struct IHttpContentCodingWithQualityHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromValueWithQuality: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromValueWithQuality: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentCodingWithQualityHeaderValueStatics, IHttpContentCodingWithQualityHeaderValueStatics_Vtbl, 0xe8c9357c_8f89_4801_8e75_4c9abfc3de71); impl windows_core::RuntimeType for IHttpContentCodingWithQualityHeaderValueStatics { @@ -173,8 +173,8 @@ impl windows_core::RuntimeType for IHttpContentCodingWithQualityHeaderValueStati #[repr(C)] pub struct IHttpContentCodingWithQualityHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentDispositionHeaderValue, IHttpContentDispositionHeaderValue_Vtbl, 0xf2a2eedc_2629_4b49_9908_96a168e9365e); impl windows_core::RuntimeType for IHttpContentDispositionHeaderValue { @@ -183,14 +183,14 @@ impl windows_core::RuntimeType for IHttpContentDispositionHeaderValue { #[repr(C)] pub struct IHttpContentDispositionHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DispositionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDispositionType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FileNameStar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFileNameStar: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DispositionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDispositionType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileNameStar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileNameStar: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -205,7 +205,7 @@ impl windows_core::RuntimeType for IHttpContentDispositionHeaderValueFactory { #[repr(C)] pub struct IHttpContentDispositionHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentDispositionHeaderValueStatics, IHttpContentDispositionHeaderValueStatics_Vtbl, 0x29c56067_5a37_46e4_b074_c5177d69ca66); impl windows_core::RuntimeType for IHttpContentDispositionHeaderValueStatics { @@ -214,8 +214,8 @@ impl windows_core::RuntimeType for IHttpContentDispositionHeaderValueStatics { #[repr(C)] pub struct IHttpContentDispositionHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentHeaderCollection, IHttpContentHeaderCollection_Vtbl, 0x40612a44_47ae_4b7e_9124_69628b64aa18); impl windows_core::RuntimeType for IHttpContentHeaderCollection { @@ -248,8 +248,8 @@ pub struct IHttpContentHeaderCollection_Vtbl { pub SetExpires: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LastModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetLastModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryAppendWithoutValidation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryAppendWithoutValidation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentRangeHeaderValue, IHttpContentRangeHeaderValue_Vtbl, 0x04d967d3_a4f6_495c_9530_8579fcba8aa9); impl windows_core::RuntimeType for IHttpContentRangeHeaderValue { @@ -261,8 +261,8 @@ pub struct IHttpContentRangeHeaderValue_Vtbl { pub FirstBytePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LastBytePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Unit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUnit: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Unit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUnit: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpContentRangeHeaderValueFactory, IHttpContentRangeHeaderValueFactory_Vtbl, 0x3f5bd691_a03c_4456_9a6f_ef27ecd03cae); impl windows_core::RuntimeType for IHttpContentRangeHeaderValueFactory { @@ -282,8 +282,8 @@ impl windows_core::RuntimeType for IHttpContentRangeHeaderValueStatics { #[repr(C)] pub struct IHttpContentRangeHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpCookiePairHeaderValue, IHttpCookiePairHeaderValue_Vtbl, 0xcbd46217_4b29_412b_bd90_b3d814ab8e1b); impl windows_core::RuntimeType for IHttpCookiePairHeaderValue { @@ -292,9 +292,9 @@ impl windows_core::RuntimeType for IHttpCookiePairHeaderValue { #[repr(C)] pub struct IHttpCookiePairHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpCookiePairHeaderValueCollection, IHttpCookiePairHeaderValueCollection_Vtbl, 0xf3f44350_581e_4ecc_9f59_e507d04f06e6); impl windows_core::RuntimeType for IHttpCookiePairHeaderValueCollection { @@ -303,8 +303,8 @@ impl windows_core::RuntimeType for IHttpCookiePairHeaderValueCollection { #[repr(C)] pub struct IHttpCookiePairHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpCookiePairHeaderValueFactory, IHttpCookiePairHeaderValueFactory_Vtbl, 0x635e326f_146f_4f56_aa21_2cb7d6d58b1e); impl windows_core::RuntimeType for IHttpCookiePairHeaderValueFactory { @@ -313,8 +313,8 @@ impl windows_core::RuntimeType for IHttpCookiePairHeaderValueFactory { #[repr(C)] pub struct IHttpCookiePairHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromNameWithValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromNameWithValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpCookiePairHeaderValueStatics, IHttpCookiePairHeaderValueStatics_Vtbl, 0x6e866d48_06af_4462_8158_99388d5dca81); impl windows_core::RuntimeType for IHttpCookiePairHeaderValueStatics { @@ -323,8 +323,8 @@ impl windows_core::RuntimeType for IHttpCookiePairHeaderValueStatics { #[repr(C)] pub struct IHttpCookiePairHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpCredentialsHeaderValue, IHttpCredentialsHeaderValue_Vtbl, 0xc34cc3cb_542e_4177_a6c7_b674ce193fbf); impl windows_core::RuntimeType for IHttpCredentialsHeaderValue { @@ -337,8 +337,8 @@ pub struct IHttpCredentialsHeaderValue_Vtbl { pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Parameters: usize, - pub Scheme: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Scheme: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Token: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpCredentialsHeaderValueFactory, IHttpCredentialsHeaderValueFactory_Vtbl, 0xf21d9e91_4d1c_4182_bfd1_34470a62f950); impl windows_core::RuntimeType for IHttpCredentialsHeaderValueFactory { @@ -347,8 +347,8 @@ impl windows_core::RuntimeType for IHttpCredentialsHeaderValueFactory { #[repr(C)] pub struct IHttpCredentialsHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromScheme: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromSchemeWithToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromScheme: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromSchemeWithToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpCredentialsHeaderValueStatics, IHttpCredentialsHeaderValueStatics_Vtbl, 0xa69b2be6_ce8c_4443_a35a_1b727b131036); impl windows_core::RuntimeType for IHttpCredentialsHeaderValueStatics { @@ -357,8 +357,8 @@ impl windows_core::RuntimeType for IHttpCredentialsHeaderValueStatics { #[repr(C)] pub struct IHttpCredentialsHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpDateOrDeltaHeaderValue, IHttpDateOrDeltaHeaderValue_Vtbl, 0xeafcaa6a_c4dc_49e2_a27d_043adf5867a3); impl windows_core::RuntimeType for IHttpDateOrDeltaHeaderValue { @@ -377,8 +377,8 @@ impl windows_core::RuntimeType for IHttpDateOrDeltaHeaderValueStatics { #[repr(C)] pub struct IHttpDateOrDeltaHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpExpectationHeaderValue, IHttpExpectationHeaderValue_Vtbl, 0x4ce585cd_3a99_43af_a2e6_ec232fea9658); impl windows_core::RuntimeType for IHttpExpectationHeaderValue { @@ -387,9 +387,9 @@ impl windows_core::RuntimeType for IHttpExpectationHeaderValue { #[repr(C)] pub struct IHttpExpectationHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -402,8 +402,8 @@ impl windows_core::RuntimeType for IHttpExpectationHeaderValueCollection { #[repr(C)] pub struct IHttpExpectationHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpExpectationHeaderValueFactory, IHttpExpectationHeaderValueFactory_Vtbl, 0x4ea275cb_d53e_4868_8856_1e21a5030dc0); impl windows_core::RuntimeType for IHttpExpectationHeaderValueFactory { @@ -412,8 +412,8 @@ impl windows_core::RuntimeType for IHttpExpectationHeaderValueFactory { #[repr(C)] pub struct IHttpExpectationHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromNameWithValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromNameWithValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpExpectationHeaderValueStatics, IHttpExpectationHeaderValueStatics_Vtbl, 0x3019abe2_cfe5_473b_a57f_fba5b14eb257); impl windows_core::RuntimeType for IHttpExpectationHeaderValueStatics { @@ -422,8 +422,8 @@ impl windows_core::RuntimeType for IHttpExpectationHeaderValueStatics { #[repr(C)] pub struct IHttpExpectationHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpLanguageHeaderValueCollection, IHttpLanguageHeaderValueCollection_Vtbl, 0x9ebd7ca3_8219_44f6_9902_8c56dfd3340c); impl windows_core::RuntimeType for IHttpLanguageHeaderValueCollection { @@ -432,8 +432,8 @@ impl windows_core::RuntimeType for IHttpLanguageHeaderValueCollection { #[repr(C)] pub struct IHttpLanguageHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpLanguageRangeWithQualityHeaderValue, IHttpLanguageRangeWithQualityHeaderValue_Vtbl, 0x7256e102_0080_4db4_a083_7de7b2e5ba4c); impl windows_core::RuntimeType for IHttpLanguageRangeWithQualityHeaderValue { @@ -442,7 +442,7 @@ impl windows_core::RuntimeType for IHttpLanguageRangeWithQualityHeaderValue { #[repr(C)] pub struct IHttpLanguageRangeWithQualityHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LanguageRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LanguageRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Quality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpLanguageRangeWithQualityHeaderValueCollection, IHttpLanguageRangeWithQualityHeaderValueCollection_Vtbl, 0x885d5abd_4b4f_480a_89ce_8aedcee6e3a0); @@ -452,8 +452,8 @@ impl windows_core::RuntimeType for IHttpLanguageRangeWithQualityHeaderValueColle #[repr(C)] pub struct IHttpLanguageRangeWithQualityHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpLanguageRangeWithQualityHeaderValueFactory, IHttpLanguageRangeWithQualityHeaderValueFactory_Vtbl, 0x7bb83970_780f_4c83_9fe4_dc3087f6bd55); impl windows_core::RuntimeType for IHttpLanguageRangeWithQualityHeaderValueFactory { @@ -462,8 +462,8 @@ impl windows_core::RuntimeType for IHttpLanguageRangeWithQualityHeaderValueFacto #[repr(C)] pub struct IHttpLanguageRangeWithQualityHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromLanguageRange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromLanguageRangeWithQuality: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromLanguageRange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromLanguageRangeWithQuality: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpLanguageRangeWithQualityHeaderValueStatics, IHttpLanguageRangeWithQualityHeaderValueStatics_Vtbl, 0x2541e146_f308_46f5_b695_42f54024ec68); impl windows_core::RuntimeType for IHttpLanguageRangeWithQualityHeaderValueStatics { @@ -472,8 +472,8 @@ impl windows_core::RuntimeType for IHttpLanguageRangeWithQualityHeaderValueStati #[repr(C)] pub struct IHttpLanguageRangeWithQualityHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMediaTypeHeaderValue, IHttpMediaTypeHeaderValue_Vtbl, 0x16b28533_e728_4fcb_bdb0_08a431a14844); impl windows_core::RuntimeType for IHttpMediaTypeHeaderValue { @@ -482,10 +482,10 @@ impl windows_core::RuntimeType for IHttpMediaTypeHeaderValue { #[repr(C)] pub struct IHttpMediaTypeHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CharSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCharSet: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CharSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCharSet: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -498,7 +498,7 @@ impl windows_core::RuntimeType for IHttpMediaTypeHeaderValueFactory { #[repr(C)] pub struct IHttpMediaTypeHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMediaTypeHeaderValueStatics, IHttpMediaTypeHeaderValueStatics_Vtbl, 0xe04d83df_1d41_4d8c_a2de_6fd2ed87399b); impl windows_core::RuntimeType for IHttpMediaTypeHeaderValueStatics { @@ -507,8 +507,8 @@ impl windows_core::RuntimeType for IHttpMediaTypeHeaderValueStatics { #[repr(C)] pub struct IHttpMediaTypeHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMediaTypeWithQualityHeaderValue, IHttpMediaTypeWithQualityHeaderValue_Vtbl, 0x188d5e32_76be_44a0_b1cd_2074bded2dde); impl windows_core::RuntimeType for IHttpMediaTypeWithQualityHeaderValue { @@ -517,10 +517,10 @@ impl windows_core::RuntimeType for IHttpMediaTypeWithQualityHeaderValue { #[repr(C)] pub struct IHttpMediaTypeWithQualityHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CharSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCharSet: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CharSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCharSet: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -535,8 +535,8 @@ impl windows_core::RuntimeType for IHttpMediaTypeWithQualityHeaderValueCollectio #[repr(C)] pub struct IHttpMediaTypeWithQualityHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMediaTypeWithQualityHeaderValueFactory, IHttpMediaTypeWithQualityHeaderValueFactory_Vtbl, 0x4c6d20f4_9457_44e6_a323_d122b958780b); impl windows_core::RuntimeType for IHttpMediaTypeWithQualityHeaderValueFactory { @@ -545,8 +545,8 @@ impl windows_core::RuntimeType for IHttpMediaTypeWithQualityHeaderValueFactory { #[repr(C)] pub struct IHttpMediaTypeWithQualityHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromMediaTypeWithQuality: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromMediaTypeWithQuality: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMediaTypeWithQualityHeaderValueStatics, IHttpMediaTypeWithQualityHeaderValueStatics_Vtbl, 0x5b070cd9_b560_4fc8_9835_7e6c0a657b24); impl windows_core::RuntimeType for IHttpMediaTypeWithQualityHeaderValueStatics { @@ -555,8 +555,8 @@ impl windows_core::RuntimeType for IHttpMediaTypeWithQualityHeaderValueStatics { #[repr(C)] pub struct IHttpMediaTypeWithQualityHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMethodHeaderValueCollection, IHttpMethodHeaderValueCollection_Vtbl, 0x43bc3ff4_6119_4adf_938c_34bfffcf92ed); impl windows_core::RuntimeType for IHttpMethodHeaderValueCollection { @@ -565,8 +565,8 @@ impl windows_core::RuntimeType for IHttpMethodHeaderValueCollection { #[repr(C)] pub struct IHttpMethodHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpNameValueHeaderValue, IHttpNameValueHeaderValue_Vtbl, 0xd8ba7463_5b9a_4d1b_93f9_aa5b44ecfddf); impl windows_core::RuntimeType for IHttpNameValueHeaderValue { @@ -575,9 +575,9 @@ impl windows_core::RuntimeType for IHttpNameValueHeaderValue { #[repr(C)] pub struct IHttpNameValueHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpNameValueHeaderValueFactory, IHttpNameValueHeaderValueFactory_Vtbl, 0x770e2267_cbf8_4736_a925_93fbe10c7ca8); impl windows_core::RuntimeType for IHttpNameValueHeaderValueFactory { @@ -586,8 +586,8 @@ impl windows_core::RuntimeType for IHttpNameValueHeaderValueFactory { #[repr(C)] pub struct IHttpNameValueHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromNameWithValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromNameWithValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpNameValueHeaderValueStatics, IHttpNameValueHeaderValueStatics_Vtbl, 0xffd4030f_1130_4152_8659_256909a9d115); impl windows_core::RuntimeType for IHttpNameValueHeaderValueStatics { @@ -596,8 +596,8 @@ impl windows_core::RuntimeType for IHttpNameValueHeaderValueStatics { #[repr(C)] pub struct IHttpNameValueHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpProductHeaderValue, IHttpProductHeaderValue_Vtbl, 0xf4feee03_ebd4_4160_b9ff_807c5183b6e6); impl windows_core::RuntimeType for IHttpProductHeaderValue { @@ -606,8 +606,8 @@ impl windows_core::RuntimeType for IHttpProductHeaderValue { #[repr(C)] pub struct IHttpProductHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpProductHeaderValueFactory, IHttpProductHeaderValueFactory_Vtbl, 0x611aa4f5_82bc_42fb_977b_dc00536e5e86); impl windows_core::RuntimeType for IHttpProductHeaderValueFactory { @@ -616,8 +616,8 @@ impl windows_core::RuntimeType for IHttpProductHeaderValueFactory { #[repr(C)] pub struct IHttpProductHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromNameWithVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromNameWithVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpProductHeaderValueStatics, IHttpProductHeaderValueStatics_Vtbl, 0x90c33e29_befc_4337_be62_49f097975f53); impl windows_core::RuntimeType for IHttpProductHeaderValueStatics { @@ -626,8 +626,8 @@ impl windows_core::RuntimeType for IHttpProductHeaderValueStatics { #[repr(C)] pub struct IHttpProductHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpProductInfoHeaderValue, IHttpProductInfoHeaderValue_Vtbl, 0x1b1a8732_4c35_486a_966f_646489198e4d); impl windows_core::RuntimeType for IHttpProductInfoHeaderValue { @@ -637,7 +637,7 @@ impl windows_core::RuntimeType for IHttpProductInfoHeaderValue { pub struct IHttpProductInfoHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Product: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpProductInfoHeaderValueCollection, IHttpProductInfoHeaderValueCollection_Vtbl, 0x877df74a_d69b_44f8_ad4f_453af9c42ed0); impl windows_core::RuntimeType for IHttpProductInfoHeaderValueCollection { @@ -646,8 +646,8 @@ impl windows_core::RuntimeType for IHttpProductInfoHeaderValueCollection { #[repr(C)] pub struct IHttpProductInfoHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpProductInfoHeaderValueFactory, IHttpProductInfoHeaderValueFactory_Vtbl, 0x24220fbe_eabe_4464_b460_ec010b7c41e2); impl windows_core::RuntimeType for IHttpProductInfoHeaderValueFactory { @@ -656,8 +656,8 @@ impl windows_core::RuntimeType for IHttpProductInfoHeaderValueFactory { #[repr(C)] pub struct IHttpProductInfoHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromComment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateFromNameWithVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromComment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromNameWithVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpProductInfoHeaderValueStatics, IHttpProductInfoHeaderValueStatics_Vtbl, 0xdb7fd857_327a_4e73_81e5_7059a302b042); impl windows_core::RuntimeType for IHttpProductInfoHeaderValueStatics { @@ -666,8 +666,8 @@ impl windows_core::RuntimeType for IHttpProductInfoHeaderValueStatics { #[repr(C)] pub struct IHttpProductInfoHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpRequestHeaderCollection, IHttpRequestHeaderCollection_Vtbl, 0xaf40329b_b544_469b_86b9_ac3d466fea36); impl windows_core::RuntimeType for IHttpRequestHeaderCollection { @@ -687,8 +687,8 @@ pub struct IHttpRequestHeaderCollection_Vtbl { pub Date: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Expect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Networking")] pub Host: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Networking"))] @@ -709,8 +709,8 @@ pub struct IHttpRequestHeaderCollection_Vtbl { pub SetReferer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub TransferEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UserAgent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryAppendWithoutValidation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryAppendWithoutValidation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpResponseHeaderCollection, IHttpResponseHeaderCollection_Vtbl, 0x7a990969_fa3f_41ed_aac6_bf957975c16b); impl windows_core::RuntimeType for IHttpResponseHeaderCollection { @@ -733,8 +733,8 @@ pub struct IHttpResponseHeaderCollection_Vtbl { pub SetRetryAfter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub TransferEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub WwwAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryAppendWithoutValidation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryAppendWithoutValidation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpTransferCodingHeaderValue, IHttpTransferCodingHeaderValue_Vtbl, 0x436f32f9_3ded_42bd_b38a_5496a2511ce6); impl windows_core::RuntimeType for IHttpTransferCodingHeaderValue { @@ -747,7 +747,7 @@ pub struct IHttpTransferCodingHeaderValue_Vtbl { pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] Parameters: usize, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpTransferCodingHeaderValueCollection, IHttpTransferCodingHeaderValueCollection_Vtbl, 0x202c8c34_2c03_49b8_9665_73e27cb2fc79); impl windows_core::RuntimeType for IHttpTransferCodingHeaderValueCollection { @@ -756,8 +756,8 @@ impl windows_core::RuntimeType for IHttpTransferCodingHeaderValueCollection { #[repr(C)] pub struct IHttpTransferCodingHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub ParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TryParseAdd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpTransferCodingHeaderValueFactory, IHttpTransferCodingHeaderValueFactory_Vtbl, 0xbb62dffc_e361_4f08_8e4f_c9e723de703b); impl windows_core::RuntimeType for IHttpTransferCodingHeaderValueFactory { @@ -766,7 +766,7 @@ impl windows_core::RuntimeType for IHttpTransferCodingHeaderValueFactory { #[repr(C)] pub struct IHttpTransferCodingHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpTransferCodingHeaderValueStatics, IHttpTransferCodingHeaderValueStatics_Vtbl, 0x6ab8892a_1a98_4d32_a906_7470a9875ce5); impl windows_core::RuntimeType for IHttpTransferCodingHeaderValueStatics { @@ -775,8 +775,8 @@ impl windows_core::RuntimeType for IHttpTransferCodingHeaderValueStatics { #[repr(C)] pub struct IHttpTransferCodingHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, + pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -788,7 +788,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn MaxAge(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxAge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -802,7 +802,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn MaxStale(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxStale)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -816,7 +816,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn MinFresh(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MinFresh)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -830,7 +830,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn SharedMaxAge(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SharedMaxAge)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -848,7 +848,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -856,14 +856,14 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -871,7 +871,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -879,7 +879,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -887,7 +887,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -898,7 +898,7 @@ impl HttpCacheDirectiveHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -945,7 +945,7 @@ impl HttpCacheDirectiveHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -993,52 +993,52 @@ impl HttpChallengeHeaderValue { pub fn Parameters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Scheme(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scheme)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Token(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Token)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromScheme(scheme: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpChallengeHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromScheme)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(scheme), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromSchemeWithToken(scheme: &windows_core::HSTRING, token: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpChallengeHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromSchemeWithToken)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(scheme), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpChallengeHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, challengeheadervalue: &mut Option) -> windows_core::Result { Self::IHttpChallengeHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), challengeheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1079,7 +1079,7 @@ impl HttpChallengeHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -1087,14 +1087,14 @@ impl HttpChallengeHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1102,7 +1102,7 @@ impl HttpChallengeHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1110,7 +1110,7 @@ impl HttpChallengeHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1118,7 +1118,7 @@ impl HttpChallengeHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1129,7 +1129,7 @@ impl HttpChallengeHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -1176,7 +1176,7 @@ impl HttpChallengeHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -1223,32 +1223,32 @@ impl HttpConnectionOptionHeaderValue { pub fn Token(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Token)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(token: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpConnectionOptionHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpConnectionOptionHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, connectionoptionheadervalue: &mut Option) -> windows_core::Result { Self::IHttpConnectionOptionHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), connectionoptionheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1289,7 +1289,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -1297,14 +1297,14 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1312,7 +1312,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1320,7 +1320,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1328,7 +1328,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1339,7 +1339,7 @@ impl HttpConnectionOptionHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -1386,7 +1386,7 @@ impl HttpConnectionOptionHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -1433,32 +1433,32 @@ impl HttpContentCodingHeaderValue { pub fn ContentCoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentCoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(contentcoding: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpContentCodingHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentcoding), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpContentCodingHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, contentcodingheadervalue: &mut Option) -> windows_core::Result { Self::IHttpContentCodingHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), contentcodingheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1499,7 +1499,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -1507,14 +1507,14 @@ impl HttpContentCodingHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1522,7 +1522,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1530,7 +1530,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1538,7 +1538,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1549,7 +1549,7 @@ impl HttpContentCodingHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -1596,7 +1596,7 @@ impl HttpContentCodingHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -1643,45 +1643,45 @@ impl HttpContentCodingWithQualityHeaderValue { pub fn ContentCoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentCoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Quality(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Quality)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromValue(contentcoding: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpContentCodingWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentcoding), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromValueWithQuality(contentcoding: &windows_core::HSTRING, quality: f64) -> windows_core::Result { Self::IHttpContentCodingWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromValueWithQuality)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentcoding), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpContentCodingWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, contentcodingwithqualityheadervalue: &mut Option) -> windows_core::Result { Self::IHttpContentCodingWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), contentcodingwithqualityheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1722,7 +1722,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -1730,14 +1730,14 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1745,7 +1745,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1753,7 +1753,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1761,7 +1761,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1772,7 +1772,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -1819,7 +1819,7 @@ impl HttpContentCodingWithQualityHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -1866,7 +1866,7 @@ impl HttpContentDispositionHeaderValue { pub fn DispositionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DispositionType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1877,7 +1877,7 @@ impl HttpContentDispositionHeaderValue { pub fn FileName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1888,7 +1888,7 @@ impl HttpContentDispositionHeaderValue { pub fn FileNameStar(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FileNameStar)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1899,7 +1899,7 @@ impl HttpContentDispositionHeaderValue { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1911,14 +1911,14 @@ impl HttpContentDispositionHeaderValue { pub fn Parameters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Size(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1931,26 +1931,26 @@ impl HttpContentDispositionHeaderValue { } pub fn Create(dispositiontype: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpContentDispositionHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(dispositiontype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpContentDispositionHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, contentdispositionheadervalue: &mut Option) -> windows_core::Result { Self::IHttpContentDispositionHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), contentdispositionheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1994,7 +1994,7 @@ impl HttpContentHeaderCollection { pub fn ContentDisposition(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentDisposition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2008,21 +2008,21 @@ impl HttpContentHeaderCollection { pub fn ContentEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentEncoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ContentLength(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentLength)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2036,7 +2036,7 @@ impl HttpContentHeaderCollection { pub fn ContentLocation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentLocation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2051,7 +2051,7 @@ impl HttpContentHeaderCollection { pub fn ContentMD5(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentMD5)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2066,7 +2066,7 @@ impl HttpContentHeaderCollection { pub fn ContentRange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentRange)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2080,7 +2080,7 @@ impl HttpContentHeaderCollection { pub fn ContentType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2094,7 +2094,7 @@ impl HttpContentHeaderCollection { pub fn Expires(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Expires)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2108,7 +2108,7 @@ impl HttpContentHeaderCollection { pub fn LastModified(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastModified)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2126,7 +2126,7 @@ impl HttpContentHeaderCollection { pub fn TryAppendWithoutValidation(&self, name: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAppendWithoutValidation)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -2134,7 +2134,7 @@ impl HttpContentHeaderCollection { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2142,7 +2142,7 @@ impl HttpContentHeaderCollection { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2150,7 +2150,7 @@ impl HttpContentHeaderCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2158,7 +2158,7 @@ impl HttpContentHeaderCollection { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -2166,7 +2166,7 @@ impl HttpContentHeaderCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2174,7 +2174,7 @@ impl HttpContentHeaderCollection { pub fn Insert(&self, key: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -2191,7 +2191,7 @@ impl HttpContentHeaderCollection { pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2233,28 +2233,28 @@ impl HttpContentRangeHeaderValue { pub fn FirstBytePosition(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstBytePosition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastBytePosition(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastBytePosition)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Length(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Unit(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Unit)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2264,38 +2264,38 @@ impl HttpContentRangeHeaderValue { } pub fn CreateFromLength(length: u64) -> windows_core::Result { Self::IHttpContentRangeHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromLength)(windows_core::Interface::as_raw(this), length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromRange(from: u64, to: u64) -> windows_core::Result { Self::IHttpContentRangeHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromRange)(windows_core::Interface::as_raw(this), from, to, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromRangeWithLength(from: u64, to: u64, length: u64) -> windows_core::Result { Self::IHttpContentRangeHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromRangeWithLength)(windows_core::Interface::as_raw(this), from, to, length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpContentRangeHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, contentrangeheadervalue: &mut Option) -> windows_core::Result { Self::IHttpContentRangeHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), contentrangeheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2331,14 +2331,14 @@ impl HttpCookiePairHeaderValue { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2348,32 +2348,32 @@ impl HttpCookiePairHeaderValue { } pub fn CreateFromName(name: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpCookiePairHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromNameWithValue(name: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpCookiePairHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNameWithValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpCookiePairHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, cookiepairheadervalue: &mut Option) -> windows_core::Result { Self::IHttpCookiePairHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), cookiepairheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2414,7 +2414,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -2422,14 +2422,14 @@ impl HttpCookiePairHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2437,7 +2437,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2445,7 +2445,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2453,7 +2453,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2464,7 +2464,7 @@ impl HttpCookiePairHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -2511,7 +2511,7 @@ impl HttpCookiePairHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -2559,52 +2559,52 @@ impl HttpCredentialsHeaderValue { pub fn Parameters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Scheme(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scheme)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Token(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Token)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromScheme(scheme: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpCredentialsHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromScheme)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(scheme), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromSchemeWithToken(scheme: &windows_core::HSTRING, token: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpCredentialsHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromSchemeWithToken)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(scheme), core::mem::transmute_copy(token), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpCredentialsHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, credentialsheadervalue: &mut Option) -> windows_core::Result { Self::IHttpCredentialsHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), credentialsheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2640,33 +2640,33 @@ impl HttpDateOrDeltaHeaderValue { pub fn Date(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Date)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Delta(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delta)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpDateOrDeltaHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, dateordeltaheadervalue: &mut Option) -> windows_core::Result { Self::IHttpDateOrDeltaHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), dateordeltaheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2697,14 +2697,14 @@ impl HttpExpectationHeaderValue { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2716,38 +2716,38 @@ impl HttpExpectationHeaderValue { pub fn Parameters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromName(name: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpExpectationHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromNameWithValue(name: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpExpectationHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNameWithValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpExpectationHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, expectationheadervalue: &mut Option) -> windows_core::Result { Self::IHttpExpectationHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), expectationheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2788,7 +2788,7 @@ impl HttpExpectationHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -2796,14 +2796,14 @@ impl HttpExpectationHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2811,7 +2811,7 @@ impl HttpExpectationHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2819,7 +2819,7 @@ impl HttpExpectationHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2827,7 +2827,7 @@ impl HttpExpectationHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2838,7 +2838,7 @@ impl HttpExpectationHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -2885,7 +2885,7 @@ impl HttpExpectationHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -2937,7 +2937,7 @@ impl HttpLanguageHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -2945,14 +2945,14 @@ impl HttpLanguageHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2960,7 +2960,7 @@ impl HttpLanguageHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2968,7 +2968,7 @@ impl HttpLanguageHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2976,7 +2976,7 @@ impl HttpLanguageHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2987,7 +2987,7 @@ impl HttpLanguageHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -3034,7 +3034,7 @@ impl HttpLanguageHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -3081,45 +3081,45 @@ impl HttpLanguageRangeWithQualityHeaderValue { pub fn LanguageRange(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LanguageRange)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Quality(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Quality)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromLanguageRange(languagerange: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpLanguageRangeWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromLanguageRange)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagerange), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromLanguageRangeWithQuality(languagerange: &windows_core::HSTRING, quality: f64) -> windows_core::Result { Self::IHttpLanguageRangeWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromLanguageRangeWithQuality)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(languagerange), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpLanguageRangeWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, languagerangewithqualityheadervalue: &mut Option) -> windows_core::Result { Self::IHttpLanguageRangeWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), languagerangewithqualityheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3160,7 +3160,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -3168,14 +3168,14 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3183,7 +3183,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3191,7 +3191,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3199,7 +3199,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3210,7 +3210,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -3257,7 +3257,7 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -3304,7 +3304,7 @@ impl HttpMediaTypeHeaderValue { pub fn CharSet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharSet)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3315,7 +3315,7 @@ impl HttpMediaTypeHeaderValue { pub fn MediaType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3327,32 +3327,32 @@ impl HttpMediaTypeHeaderValue { pub fn Parameters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(mediatype: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpMediaTypeHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(mediatype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpMediaTypeHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, mediatypeheadervalue: &mut Option) -> windows_core::Result { Self::IHttpMediaTypeHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), mediatypeheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3388,7 +3388,7 @@ impl HttpMediaTypeWithQualityHeaderValue { pub fn CharSet(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CharSet)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3399,7 +3399,7 @@ impl HttpMediaTypeWithQualityHeaderValue { pub fn MediaType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3411,14 +3411,14 @@ impl HttpMediaTypeWithQualityHeaderValue { pub fn Parameters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Quality(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Quality)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3431,32 +3431,32 @@ impl HttpMediaTypeWithQualityHeaderValue { } pub fn CreateFromMediaType(mediatype: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpMediaTypeWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromMediaType)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(mediatype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromMediaTypeWithQuality(mediatype: &windows_core::HSTRING, quality: f64) -> windows_core::Result { Self::IHttpMediaTypeWithQualityHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromMediaTypeWithQuality)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(mediatype), quality, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpMediaTypeWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, mediatypewithqualityheadervalue: &mut Option) -> windows_core::Result { Self::IHttpMediaTypeWithQualityHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), mediatypewithqualityheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3497,7 +3497,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -3505,14 +3505,14 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3520,7 +3520,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3528,7 +3528,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3536,7 +3536,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3547,7 +3547,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -3594,7 +3594,7 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -3646,7 +3646,7 @@ impl HttpMethodHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -3654,14 +3654,14 @@ impl HttpMethodHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3669,7 +3669,7 @@ impl HttpMethodHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3677,7 +3677,7 @@ impl HttpMethodHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -3685,7 +3685,7 @@ impl HttpMethodHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3696,7 +3696,7 @@ impl HttpMethodHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -3743,7 +3743,7 @@ impl HttpMethodHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -3790,14 +3790,14 @@ impl HttpNameValueHeaderValue { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3807,32 +3807,32 @@ impl HttpNameValueHeaderValue { } pub fn CreateFromName(name: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpNameValueHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromNameWithValue(name: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpNameValueHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNameWithValue)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpNameValueHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, namevalueheadervalue: &mut Option) -> windows_core::Result { Self::IHttpNameValueHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), namevalueheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3868,45 +3868,45 @@ impl HttpProductHeaderValue { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromName(productname: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpProductHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromName)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(productname), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromNameWithVersion(productname: &windows_core::HSTRING, productversion: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpProductHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNameWithVersion)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(productname), core::mem::transmute_copy(productversion), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpProductHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, productheadervalue: &mut Option) -> windows_core::Result { Self::IHttpProductHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), productheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3942,45 +3942,45 @@ impl HttpProductInfoHeaderValue { pub fn Product(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Product)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Comment(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Comment)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromComment(productcomment: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpProductInfoHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromComment)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(productcomment), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateFromNameWithVersion(productname: &windows_core::HSTRING, productversion: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpProductInfoHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromNameWithVersion)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(productname), core::mem::transmute_copy(productversion), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpProductInfoHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, productinfoheadervalue: &mut Option) -> windows_core::Result { Self::IHttpProductInfoHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), productinfoheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4021,7 +4021,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -4029,14 +4029,14 @@ impl HttpProductInfoHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4044,7 +4044,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4052,7 +4052,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4060,7 +4060,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4071,7 +4071,7 @@ impl HttpProductInfoHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -4118,7 +4118,7 @@ impl HttpProductInfoHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -4166,28 +4166,28 @@ impl HttpRequestHeaderCollection { pub fn Accept(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Accept)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AcceptEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptEncoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn AcceptLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceptLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Authorization(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Authorization)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4201,28 +4201,28 @@ impl HttpRequestHeaderCollection { pub fn CacheControl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CacheControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Cookie(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cookie)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Date(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Date)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4236,14 +4236,14 @@ impl HttpRequestHeaderCollection { pub fn Expect(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Expect)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn From(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).From)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4255,7 +4255,7 @@ impl HttpRequestHeaderCollection { pub fn Host(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Host)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4270,7 +4270,7 @@ impl HttpRequestHeaderCollection { pub fn IfModifiedSince(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IfModifiedSince)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4284,7 +4284,7 @@ impl HttpRequestHeaderCollection { pub fn IfUnmodifiedSince(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IfUnmodifiedSince)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4298,7 +4298,7 @@ impl HttpRequestHeaderCollection { pub fn MaxForwards(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxForwards)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4312,7 +4312,7 @@ impl HttpRequestHeaderCollection { pub fn ProxyAuthorization(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyAuthorization)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4326,7 +4326,7 @@ impl HttpRequestHeaderCollection { pub fn Referer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Referer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4340,14 +4340,14 @@ impl HttpRequestHeaderCollection { pub fn TransferEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransferEncoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn UserAgent(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UserAgent)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4358,7 +4358,7 @@ impl HttpRequestHeaderCollection { pub fn TryAppendWithoutValidation(&self, name: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAppendWithoutValidation)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -4366,7 +4366,7 @@ impl HttpRequestHeaderCollection { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4374,7 +4374,7 @@ impl HttpRequestHeaderCollection { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4382,7 +4382,7 @@ impl HttpRequestHeaderCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4390,7 +4390,7 @@ impl HttpRequestHeaderCollection { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -4398,7 +4398,7 @@ impl HttpRequestHeaderCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4406,7 +4406,7 @@ impl HttpRequestHeaderCollection { pub fn Insert(&self, key: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -4423,7 +4423,7 @@ impl HttpRequestHeaderCollection { pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4466,7 +4466,7 @@ impl HttpResponseHeaderCollection { pub fn Age(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Age)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4480,28 +4480,28 @@ impl HttpResponseHeaderCollection { pub fn Allow(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Allow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CacheControl(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CacheControl)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Connection(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Connection)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Date(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Date)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4515,7 +4515,7 @@ impl HttpResponseHeaderCollection { pub fn Location(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Location)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4529,14 +4529,14 @@ impl HttpResponseHeaderCollection { pub fn ProxyAuthenticate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyAuthenticate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RetryAfter(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetryAfter)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4550,14 +4550,14 @@ impl HttpResponseHeaderCollection { pub fn TransferEncoding(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransferEncoding)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn WwwAuthenticate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WwwAuthenticate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4568,7 +4568,7 @@ impl HttpResponseHeaderCollection { pub fn TryAppendWithoutValidation(&self, name: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryAppendWithoutValidation)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -4576,7 +4576,7 @@ impl HttpResponseHeaderCollection { pub fn First(&self) -> windows_core::Result>> { let this = &windows_core::Interface::cast::>>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4584,7 +4584,7 @@ impl HttpResponseHeaderCollection { pub fn Lookup(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Lookup)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4592,7 +4592,7 @@ impl HttpResponseHeaderCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4600,7 +4600,7 @@ impl HttpResponseHeaderCollection { pub fn HasKey(&self, key: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HasKey)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), &mut result__).map(|| result__) } } @@ -4608,7 +4608,7 @@ impl HttpResponseHeaderCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4616,7 +4616,7 @@ impl HttpResponseHeaderCollection { pub fn Insert(&self, key: &windows_core::HSTRING, value: &windows_core::HSTRING) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Insert)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(key), core::mem::transmute_copy(value), &mut result__).map(|| result__) } } @@ -4633,7 +4633,7 @@ impl HttpResponseHeaderCollection { pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4676,39 +4676,39 @@ impl HttpTransferCodingHeaderValue { pub fn Parameters(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parameters)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpTransferCodingHeaderValueFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Parse(input: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpTransferCodingHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Parse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn TryParse(input: &windows_core::HSTRING, transfercodingheadervalue: &mut Option) -> windows_core::Result { Self::IHttpTransferCodingHeaderValueStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParse)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), transfercodingheadervalue as *mut _ as _, &mut result__).map(|| result__) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4749,7 +4749,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn TryParseAdd(&self, input: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryParseAdd)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(input), &mut result__).map(|| result__) } } @@ -4757,14 +4757,14 @@ impl HttpTransferCodingHeaderValueCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4772,7 +4772,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4780,7 +4780,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn Size(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -4788,7 +4788,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn GetView(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetView)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4799,7 +4799,7 @@ impl HttpTransferCodingHeaderValueCollection { { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -4846,7 +4846,7 @@ impl HttpTransferCodingHeaderValueCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index ae92a5eb3e..f160fe27ce 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -73,8 +73,8 @@ impl windows_core::RuntimeType for IHttpClient3 { #[repr(C)] pub struct IHttpClient3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub DefaultPrivacyAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDefaultPrivacyAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultPrivacyAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultPrivacyAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpClientFactory, IHttpClientFactory_Vtbl, 0xc30c4eca_e3fa_4f99_afb4_63cc65009462); impl windows_core::RuntimeType for IHttpClientFactory { @@ -92,7 +92,7 @@ windows_core::imp::define_interface!(IHttpContent, IHttpContent_Vtbl, 0x6b14a441 impl std::ops::Deref for IHttpContent { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHttpContent, windows_core::IUnknown, windows_core::IInspectable); @@ -102,14 +102,14 @@ impl IHttpContent { pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BufferAllAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -117,7 +117,7 @@ impl IHttpContent { pub fn ReadAsBufferAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsBufferAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -125,21 +125,21 @@ impl IHttpContent { pub fn ReadAsInputStreamAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsInputStreamAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadAsStringAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsStringAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryComputeLength(&self, length: &mut u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeLength)(windows_core::Interface::as_raw(this), length, &mut result__).map(|| result__) } } @@ -150,7 +150,7 @@ impl IHttpContent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteToStreamAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -192,17 +192,17 @@ impl windows_core::RuntimeType for IHttpCookie { #[repr(C)] pub struct IHttpCookie_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Expires: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetExpires: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub HttpOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHttpOnly: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Secure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetSecure: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpCookieFactory, IHttpCookieFactory_Vtbl, 0x6a0585a9_931c_4cd1_a96d_c21701785c5f); impl windows_core::RuntimeType for IHttpCookieFactory { @@ -211,7 +211,7 @@ impl windows_core::RuntimeType for IHttpCookieFactory { #[repr(C)] pub struct IHttpCookieFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpCookieManager, IHttpCookieManager_Vtbl, 0x7a431780_cd4f_4e57_a84a_5b0a53d6bb96); impl windows_core::RuntimeType for IHttpCookieManager { @@ -283,7 +283,7 @@ pub struct IHttpGetStringResult_Vtbl { pub RequestMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ResponseMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Succeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMethod, IHttpMethod_Vtbl, 0x728d4022_700d_4fe0_afa5_40299c58dbfd); impl windows_core::RuntimeType for IHttpMethod { @@ -292,7 +292,7 @@ impl windows_core::RuntimeType for IHttpMethod { #[repr(C)] pub struct IHttpMethod_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Method: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Method: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMethodFactory, IHttpMethodFactory_Vtbl, 0x3c51d10d_36d7_40f8_a86d_e759caf2f83f); impl windows_core::RuntimeType for IHttpMethodFactory { @@ -301,7 +301,7 @@ impl windows_core::RuntimeType for IHttpMethodFactory { #[repr(C)] pub struct IHttpMethodFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMethodStatics, IHttpMethodStatics_Vtbl, 0x64d171f0_d99a_4153_8dc6_d68cc4cce317); impl windows_core::RuntimeType for IHttpMethodStatics { @@ -334,8 +334,8 @@ impl windows_core::RuntimeType for IHttpMultipartContentFactory { #[repr(C)] pub struct IHttpMultipartContentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithSubtype: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateWithSubtypeAndBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithSubtype: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithSubtypeAndBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMultipartFormDataContent, IHttpMultipartFormDataContent_Vtbl, 0x64d337e2_e967_4624_b6d1_cf74604a4a42); impl windows_core::RuntimeType for IHttpMultipartFormDataContent { @@ -345,8 +345,8 @@ impl windows_core::RuntimeType for IHttpMultipartFormDataContent { pub struct IHttpMultipartFormDataContent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddWithName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddWithNameAndFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddWithName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddWithNameAndFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpMultipartFormDataContentFactory, IHttpMultipartFormDataContentFactory_Vtbl, 0xa04d7311_5017_4622_93a8_49b24a4fcbfc); impl windows_core::RuntimeType for IHttpMultipartFormDataContentFactory { @@ -355,7 +355,7 @@ impl windows_core::RuntimeType for IHttpMultipartFormDataContentFactory { #[repr(C)] pub struct IHttpMultipartFormDataContentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateWithBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateWithBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpRequestMessage, IHttpRequestMessage_Vtbl, 0xf5762b3c_74d4_4811_b5dc_9f8b4e2f9abf); impl windows_core::RuntimeType for IHttpRequestMessage { @@ -387,8 +387,8 @@ impl windows_core::RuntimeType for IHttpRequestMessage2 { #[repr(C)] pub struct IHttpRequestMessage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub PrivacyAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPrivacyAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrivacyAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPrivacyAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpRequestMessageFactory, IHttpRequestMessageFactory_Vtbl, 0x5bac994e_3886_412e_aec3_52ec7f25616f); impl windows_core::RuntimeType for IHttpRequestMessageFactory { @@ -425,8 +425,8 @@ pub struct IHttpResponseMessage_Vtbl { #[cfg(not(feature = "Web_Http_Headers"))] Headers: usize, pub IsSuccessStatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub ReasonPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReasonPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReasonPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReasonPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRequestMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HttpResponseMessageSource) -> windows_core::HRESULT, @@ -465,13 +465,13 @@ impl windows_core::RuntimeType for IHttpStringContentFactory { #[repr(C)] pub struct IHttpStringContentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateFromString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Storage_Streams")] - pub CreateFromStringWithEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Storage::Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromStringWithEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Storage::Streams::UnicodeEncoding, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateFromStringWithEncoding: usize, #[cfg(feature = "Storage_Streams")] - pub CreateFromStringWithEncodingAndMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Storage::Streams::UnicodeEncoding, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFromStringWithEncodingAndMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Storage::Streams::UnicodeEncoding, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Storage_Streams"))] CreateFromStringWithEncodingAndMediaType: usize, } @@ -515,7 +515,7 @@ impl HttpBufferContent { P0: windows_core::Param, { Self::IHttpBufferContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBuffer)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -525,7 +525,7 @@ impl HttpBufferContent { P0: windows_core::Param, { Self::IHttpBufferContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromBufferWithOffset)(windows_core::Interface::as_raw(this), content.param().abi(), offset, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -533,14 +533,14 @@ impl HttpBufferContent { pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BufferAllAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -548,7 +548,7 @@ impl HttpBufferContent { pub fn ReadAsBufferAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsBufferAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -556,21 +556,21 @@ impl HttpBufferContent { pub fn ReadAsInputStreamAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsInputStreamAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadAsStringAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsStringAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryComputeLength(&self, length: &mut u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeLength)(windows_core::Interface::as_raw(this), length, &mut result__).map(|| result__) } } @@ -581,14 +581,14 @@ impl HttpBufferContent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteToStreamAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -633,7 +633,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeleteAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -643,7 +643,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -653,7 +653,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWithOptionAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), completionoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -664,7 +664,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetBufferAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -675,7 +675,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetInputStreamAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -685,7 +685,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStringAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -696,7 +696,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PostAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -707,7 +707,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PutAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -717,7 +717,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendRequestAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -727,7 +727,7 @@ impl HttpClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SendRequestWithOptionAsync)(windows_core::Interface::as_raw(this), request.param().abi(), completionoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -735,7 +735,7 @@ impl HttpClient { pub fn DefaultRequestHeaders(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultRequestHeaders)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -745,7 +745,7 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryDeleteAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -755,7 +755,7 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -765,7 +765,7 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetAsync2)(windows_core::Interface::as_raw(this), uri.param().abi(), completionoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -775,7 +775,7 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetBufferAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -785,7 +785,7 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetInputStreamAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -795,7 +795,7 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryGetStringAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -806,7 +806,7 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryPostAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -817,7 +817,7 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryPutAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -827,7 +827,7 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySendRequestAsync)(windows_core::Interface::as_raw(this), request.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -837,14 +837,14 @@ impl HttpClient { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TrySendRequestAsync2)(windows_core::Interface::as_raw(this), request.param().abi(), completionoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn DefaultPrivacyAnnotation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultPrivacyAnnotation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -858,14 +858,14 @@ impl HttpClient { P0: windows_core::Param, { Self::IHttpClientFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), filter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -896,28 +896,28 @@ impl HttpCookie { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Domain(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Domain)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Path(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Path)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Expires(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Expires)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -931,7 +931,7 @@ impl HttpCookie { pub fn HttpOnly(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).HttpOnly)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -942,7 +942,7 @@ impl HttpCookie { pub fn Secure(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Secure)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -953,7 +953,7 @@ impl HttpCookie { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -963,14 +963,14 @@ impl HttpCookie { } pub fn Create(name: &windows_core::HSTRING, domain: &windows_core::HSTRING, path: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpCookieFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(domain), core::mem::transmute_copy(path), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1006,7 +1006,7 @@ impl HttpCookieCollection { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1014,7 +1014,7 @@ impl HttpCookieCollection { pub fn GetAt(&self, index: u32) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetAt)(windows_core::Interface::as_raw(this), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1022,7 +1022,7 @@ impl HttpCookieCollection { pub fn Size(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Size)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1033,7 +1033,7 @@ impl HttpCookieCollection { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IndexOf)(windows_core::Interface::as_raw(this), value.param().abi(), index, &mut result__).map(|| result__) } } @@ -1041,7 +1041,7 @@ impl HttpCookieCollection { pub fn GetMany(&self, startindex: u32, items: &mut [Option]) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetMany)(windows_core::Interface::as_raw(this), startindex, items.len().try_into().unwrap(), core::mem::transmute_copy(&items), &mut result__).map(|| result__) } } @@ -1090,7 +1090,7 @@ impl HttpCookieManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetCookie)(windows_core::Interface::as_raw(this), cookie.param().abi(), &mut result__).map(|| result__) } } @@ -1100,7 +1100,7 @@ impl HttpCookieManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SetCookieWithThirdParty)(windows_core::Interface::as_raw(this), cookie.param().abi(), thirdparty, &mut result__).map(|| result__) } } @@ -1118,7 +1118,7 @@ impl HttpCookieManager { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetCookies)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1149,14 +1149,14 @@ impl HttpFormUrlEncodedContent { pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BufferAllAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1164,7 +1164,7 @@ impl HttpFormUrlEncodedContent { pub fn ReadAsBufferAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsBufferAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1172,21 +1172,21 @@ impl HttpFormUrlEncodedContent { pub fn ReadAsInputStreamAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsInputStreamAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadAsStringAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsStringAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryComputeLength(&self, length: &mut u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeLength)(windows_core::Interface::as_raw(this), length, &mut result__).map(|| result__) } } @@ -1197,7 +1197,7 @@ impl HttpFormUrlEncodedContent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteToStreamAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1207,14 +1207,14 @@ impl HttpFormUrlEncodedContent { P0: windows_core::Param>>, { Self::IHttpFormUrlEncodedContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1249,28 +1249,28 @@ impl HttpGetBufferResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResponseMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1278,14 +1278,14 @@ impl HttpGetBufferResult { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1315,28 +1315,28 @@ impl HttpGetInputStreamResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResponseMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1344,14 +1344,14 @@ impl HttpGetInputStreamResult { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1381,42 +1381,42 @@ impl HttpGetStringResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResponseMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1442,62 +1442,62 @@ impl HttpMethod { pub fn Method(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(method: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpMethodFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(method), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Delete() -> windows_core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Delete)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Get() -> windows_core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Get)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Head() -> windows_core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Head)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Options() -> windows_core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Options)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Patch() -> windows_core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Patch)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Post() -> windows_core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Post)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn Put() -> windows_core::Result { Self::IHttpMethodStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Put)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1546,14 +1546,14 @@ impl HttpMultipartContent { pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BufferAllAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1561,7 +1561,7 @@ impl HttpMultipartContent { pub fn ReadAsBufferAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsBufferAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1569,21 +1569,21 @@ impl HttpMultipartContent { pub fn ReadAsInputStreamAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsInputStreamAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadAsStringAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsStringAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryComputeLength(&self, length: &mut u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeLength)(windows_core::Interface::as_raw(this), length, &mut result__).map(|| result__) } } @@ -1594,7 +1594,7 @@ impl HttpMultipartContent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteToStreamAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1607,13 +1607,13 @@ impl HttpMultipartContent { } pub fn CreateWithSubtype(subtype: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpMultipartContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithSubtype)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subtype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateWithSubtypeAndBoundary(subtype: &windows_core::HSTRING, boundary: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpMultipartContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithSubtypeAndBoundary)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(subtype), core::mem::transmute_copy(boundary), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1621,14 +1621,14 @@ impl HttpMultipartContent { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1688,14 +1688,14 @@ impl HttpMultipartFormDataContent { pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BufferAllAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1703,7 +1703,7 @@ impl HttpMultipartFormDataContent { pub fn ReadAsBufferAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsBufferAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1711,21 +1711,21 @@ impl HttpMultipartFormDataContent { pub fn ReadAsInputStreamAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsInputStreamAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadAsStringAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsStringAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryComputeLength(&self, length: &mut u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeLength)(windows_core::Interface::as_raw(this), length, &mut result__).map(|| result__) } } @@ -1736,7 +1736,7 @@ impl HttpMultipartFormDataContent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteToStreamAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1763,7 +1763,7 @@ impl HttpMultipartFormDataContent { } pub fn CreateWithBoundary(boundary: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpMultipartFormDataContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithBoundary)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(boundary), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1771,14 +1771,14 @@ impl HttpMultipartFormDataContent { pub fn First(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::>(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).First)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1836,7 +1836,7 @@ impl HttpRequestMessage { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1851,14 +1851,14 @@ impl HttpRequestMessage { pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Method(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Method)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1873,14 +1873,14 @@ impl HttpRequestMessage { pub fn Properties(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Properties)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn RequestUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1894,14 +1894,14 @@ impl HttpRequestMessage { pub fn TransportInformation(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TransportInformation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PrivacyAnnotation(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrivacyAnnotation)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1915,14 +1915,14 @@ impl HttpRequestMessage { P1: windows_core::Param, { Self::IHttpRequestMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), method.param().abi(), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1957,35 +1957,35 @@ impl HttpRequestResult { pub fn ExtendedError(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExtendedError)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RequestMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ResponseMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResponseMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Succeeded(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Succeeded)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2022,7 +2022,7 @@ impl HttpResponseMessage { pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2037,21 +2037,21 @@ impl HttpResponseMessage { pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSuccessStatusCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSuccessStatusCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ReasonPhrase(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReasonPhrase)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2062,7 +2062,7 @@ impl HttpResponseMessage { pub fn RequestMessage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RequestMessage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2076,7 +2076,7 @@ impl HttpResponseMessage { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2087,7 +2087,7 @@ impl HttpResponseMessage { pub fn StatusCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StatusCode)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2098,7 +2098,7 @@ impl HttpResponseMessage { pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2109,20 +2109,20 @@ impl HttpResponseMessage { pub fn EnsureSuccessStatusCode(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnsureSuccessStatusCode)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Create(statuscode: HttpStatusCode) -> windows_core::Result { Self::IHttpResponseMessageFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Create)(windows_core::Interface::as_raw(this), statuscode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2158,14 +2158,14 @@ impl HttpStreamContent { pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BufferAllAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2173,7 +2173,7 @@ impl HttpStreamContent { pub fn ReadAsBufferAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsBufferAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2181,21 +2181,21 @@ impl HttpStreamContent { pub fn ReadAsInputStreamAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsInputStreamAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadAsStringAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsStringAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryComputeLength(&self, length: &mut u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeLength)(windows_core::Interface::as_raw(this), length, &mut result__).map(|| result__) } } @@ -2206,7 +2206,7 @@ impl HttpStreamContent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteToStreamAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2216,14 +2216,14 @@ impl HttpStreamContent { P0: windows_core::Param, { Self::IHttpStreamContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromInputStream)(windows_core::Interface::as_raw(this), content.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2259,14 +2259,14 @@ impl HttpStringContent { pub fn Headers(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Headers)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BufferAllAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BufferAllAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2274,7 +2274,7 @@ impl HttpStringContent { pub fn ReadAsBufferAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsBufferAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2282,21 +2282,21 @@ impl HttpStringContent { pub fn ReadAsInputStreamAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsInputStreamAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ReadAsStringAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ReadAsStringAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn TryComputeLength(&self, length: &mut u64) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).TryComputeLength)(windows_core::Interface::as_raw(this), length, &mut result__).map(|| result__) } } @@ -2307,34 +2307,34 @@ impl HttpStringContent { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WriteToStreamAsync)(windows_core::Interface::as_raw(this), outputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateFromString(content: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpStringContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromString)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(content), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn CreateFromStringWithEncoding(content: &windows_core::HSTRING, encoding: super::super::Storage::Streams::UnicodeEncoding) -> windows_core::Result { Self::IHttpStringContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStringWithEncoding)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(content), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } #[cfg(feature = "Storage_Streams")] pub fn CreateFromStringWithEncodingAndMediaType(content: &windows_core::HSTRING, encoding: super::super::Storage::Streams::UnicodeEncoding, mediatype: &windows_core::HSTRING) -> windows_core::Result { Self::IHttpStringContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateFromStringWithEncodingAndMediaType)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(content), encoding, core::mem::transmute_copy(mediatype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2366,7 +2366,7 @@ impl HttpTransportInformation { pub fn ServerCertificate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificate)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2374,7 +2374,7 @@ impl HttpTransportInformation { pub fn ServerCertificateErrorSeverity(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrorSeverity)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2382,7 +2382,7 @@ impl HttpTransportInformation { pub fn ServerCertificateErrors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCertificateErrors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2390,14 +2390,14 @@ impl HttpTransportInformation { pub fn ServerIntermediateCertificates(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerIntermediateCertificates)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ToString(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ToString)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs index 1d981763c5..ea3e25b962 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs @@ -102,7 +102,7 @@ impl ISyndicationClient_Vtbl { let this = (*this).get_impl(); ISyndicationClient_Impl::SetBypassCacheOnRetrieve(this, value).into() } - unsafe extern "system" fn SetRequestHeader, Impl: ISyndicationClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRequestHeader, Impl: ISyndicationClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISyndicationClient_Impl::SetRequestHeader(this, core::mem::transmute(&name), core::mem::transmute(&value)).into() @@ -162,7 +162,7 @@ impl windows_core::RuntimeName for ISyndicationNode { #[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation_Collections"))] impl ISyndicationNode_Vtbl { pub const fn new, Impl: ISyndicationNode_Impl, const OFFSET: isize>() -> ISyndicationNode_Vtbl { - unsafe extern "system" fn NodeName, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NodeName, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISyndicationNode_Impl::NodeName(this) { @@ -174,12 +174,12 @@ impl ISyndicationNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNodeName, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNodeName, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISyndicationNode_Impl::SetNodeName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn NodeNamespace, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NodeNamespace, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISyndicationNode_Impl::NodeNamespace(this) { @@ -191,12 +191,12 @@ impl ISyndicationNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNodeNamespace, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNodeNamespace, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISyndicationNode_Impl::SetNodeNamespace(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn NodeValue, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NodeValue, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISyndicationNode_Impl::NodeValue(this) { @@ -208,12 +208,12 @@ impl ISyndicationNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNodeValue, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNodeValue, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISyndicationNode_Impl::SetNodeValue(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Language, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Language, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISyndicationNode_Impl::Language(this) { @@ -225,7 +225,7 @@ impl ISyndicationNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLanguage, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLanguage, Impl: ISyndicationNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISyndicationNode_Impl::SetLanguage(this, core::mem::transmute(&value)).into() @@ -320,7 +320,7 @@ impl windows_core::RuntimeName for ISyndicationText { #[cfg(all(feature = "Data_Xml_Dom", feature = "Foundation_Collections"))] impl ISyndicationText_Vtbl { pub const fn new, Impl: ISyndicationText_Impl, const OFFSET: isize>() -> ISyndicationText_Vtbl { - unsafe extern "system" fn Text, Impl: ISyndicationText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Text, Impl: ISyndicationText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISyndicationText_Impl::Text(this) { @@ -332,12 +332,12 @@ impl ISyndicationText_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetText, Impl: ISyndicationText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetText, Impl: ISyndicationText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISyndicationText_Impl::SetText(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Type, Impl: ISyndicationText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Type, Impl: ISyndicationText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISyndicationText_Impl::Type(this) { @@ -349,7 +349,7 @@ impl ISyndicationText_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetType, Impl: ISyndicationText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetType, Impl: ISyndicationText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISyndicationText_Impl::SetType(this, core::mem::transmute(&value)).into() diff --git a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs index 52132d477b..5c67cbb455 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs @@ -5,12 +5,12 @@ impl windows_core::RuntimeType for ISyndicationAttribute { #[repr(C)] pub struct ISyndicationAttribute_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Namespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Namespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationAttributeFactory, ISyndicationAttributeFactory_Vtbl, 0x624f1599_ed3e_420f_be86_640414886e4b); impl windows_core::RuntimeType for ISyndicationAttributeFactory { @@ -19,7 +19,7 @@ impl windows_core::RuntimeType for ISyndicationAttributeFactory { #[repr(C)] pub struct ISyndicationAttributeFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateSyndicationAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationCategory, ISyndicationCategory_Vtbl, 0x8715626f_0cba_4a7f_89ff_ecb5281423b6); impl windows_core::RuntimeType for ISyndicationCategory { @@ -28,12 +28,12 @@ impl windows_core::RuntimeType for ISyndicationCategory { #[repr(C)] pub struct ISyndicationCategory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Scheme: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetScheme: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Term: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTerm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Scheme: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetScheme: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Term: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTerm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationCategoryFactory, ISyndicationCategoryFactory_Vtbl, 0xab42802f_49e0_4525_8ab2_ab45c02528ff); impl windows_core::RuntimeType for ISyndicationCategoryFactory { @@ -42,14 +42,14 @@ impl windows_core::RuntimeType for ISyndicationCategoryFactory { #[repr(C)] pub struct ISyndicationCategoryFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateSyndicationCategory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateSyndicationCategoryEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationCategory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationCategoryEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationClient, ISyndicationClient_Vtbl, 0x9e18a9b7_7249_4b45_b229_7df895a5a1f5); impl std::ops::Deref for ISyndicationClient { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyndicationClient, windows_core::IUnknown, windows_core::IInspectable); @@ -58,7 +58,7 @@ impl ISyndicationClient { pub fn ServerCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -74,7 +74,7 @@ impl ISyndicationClient { pub fn ProxyCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -89,7 +89,7 @@ impl ISyndicationClient { pub fn MaxResponseBufferSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxResponseBufferSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -100,7 +100,7 @@ impl ISyndicationClient { pub fn Timeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -111,7 +111,7 @@ impl ISyndicationClient { pub fn BypassCacheOnRetrieve(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BypassCacheOnRetrieve)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -129,7 +129,7 @@ impl ISyndicationClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveFeedAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -162,7 +162,7 @@ pub struct ISyndicationClient_Vtbl { pub SetTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub BypassCacheOnRetrieve: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetBypassCacheOnRetrieve: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, - pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RetrieveFeedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationClientFactory, ISyndicationClientFactory_Vtbl, 0x2ec4b32c_a79b_4114_b29a_05dffbafb9a4); @@ -194,7 +194,7 @@ impl windows_core::RuntimeType for ISyndicationContentFactory { #[repr(C)] pub struct ISyndicationContentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateSyndicationContent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SyndicationTextType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationContent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SyndicationTextType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSyndicationContentWithSourceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationErrorStatics, ISyndicationErrorStatics_Vtbl, 0x1fbb2361_45c7_4833_8aa0_be5f3b58a7f4); @@ -229,8 +229,8 @@ pub struct ISyndicationFeed_Vtbl { pub SetGenerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IconUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetIconUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] pub Items: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] @@ -254,7 +254,7 @@ pub struct ISyndicationFeed_Vtbl { pub NextUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PreviousUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SourceFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SyndicationFormat) -> windows_core::HRESULT, - pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub LoadFromXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -267,7 +267,7 @@ impl windows_core::RuntimeType for ISyndicationFeedFactory { #[repr(C)] pub struct ISyndicationFeedFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateSyndicationFeed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationFeed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationGenerator, ISyndicationGenerator_Vtbl, 0x9768b379_fb2b_4f6d_b41c_088a5868825c); impl windows_core::RuntimeType for ISyndicationGenerator { @@ -276,12 +276,12 @@ impl windows_core::RuntimeType for ISyndicationGenerator { #[repr(C)] pub struct ISyndicationGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationGeneratorFactory, ISyndicationGeneratorFactory_Vtbl, 0xa34083e3_1e26_4dbc_ba9d_1ab84beff97b); impl windows_core::RuntimeType for ISyndicationGeneratorFactory { @@ -290,7 +290,7 @@ impl windows_core::RuntimeType for ISyndicationGeneratorFactory { #[repr(C)] pub struct ISyndicationGeneratorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateSyndicationGenerator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationGenerator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationItem, ISyndicationItem_Vtbl, 0x548db883_c384_45c1_8ae8_a378c4ec486c); impl windows_core::RuntimeType for ISyndicationItem { @@ -313,8 +313,8 @@ pub struct ISyndicationItem_Vtbl { Contributors: usize, pub Content: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub LastUpdatedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SetLastUpdatedTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -335,9 +335,9 @@ pub struct ISyndicationItem_Vtbl { pub SetCommentsUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EditUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EditMediaUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ETag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ETag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ItemUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub LoadFromXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -350,7 +350,7 @@ impl windows_core::RuntimeType for ISyndicationItemFactory { #[repr(C)] pub struct ISyndicationItemFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateSyndicationItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationLink, ISyndicationLink_Vtbl, 0x27553abd_a10e_41b5_86bd_9759086eb0c5); impl windows_core::RuntimeType for ISyndicationLink { @@ -361,16 +361,16 @@ pub struct ISyndicationLink_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetLength: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Relationship: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRelationship: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Relationship: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRelationship: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ResourceLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetResourceLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResourceLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetResourceLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationLinkFactory, ISyndicationLinkFactory_Vtbl, 0x5ed863d4_5535_48ac_98d4_c190995080b3); impl windows_core::RuntimeType for ISyndicationLinkFactory { @@ -380,13 +380,13 @@ impl windows_core::RuntimeType for ISyndicationLinkFactory { pub struct ISyndicationLinkFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateSyndicationLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateSyndicationLinkEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationLinkEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationNode, ISyndicationNode_Vtbl, 0x753cef78_51f8_45c0_a9f5_f1719dec3fb2); impl std::ops::Deref for ISyndicationNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyndicationNode, windows_core::IUnknown, windows_core::IInspectable); @@ -394,7 +394,7 @@ impl ISyndicationNode { pub fn NodeName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -405,7 +405,7 @@ impl ISyndicationNode { pub fn NodeNamespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -416,7 +416,7 @@ impl ISyndicationNode { pub fn NodeValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -427,7 +427,7 @@ impl ISyndicationNode { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -438,7 +438,7 @@ impl ISyndicationNode { pub fn BaseUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -453,7 +453,7 @@ impl ISyndicationNode { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -461,7 +461,7 @@ impl ISyndicationNode { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -469,7 +469,7 @@ impl ISyndicationNode { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -480,14 +480,14 @@ impl windows_core::RuntimeType for ISyndicationNode { #[repr(C)] pub struct ISyndicationNode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub NodeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNodeName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NodeNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNodeNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NodeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNodeName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NodeNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNodeNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub BaseUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBaseUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -510,7 +510,7 @@ impl windows_core::RuntimeType for ISyndicationNodeFactory { #[repr(C)] pub struct ISyndicationNodeFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateSyndicationNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationPerson, ISyndicationPerson_Vtbl, 0xfa1ee5da_a7c6_4517_a096_0143faf29327); impl windows_core::RuntimeType for ISyndicationPerson { @@ -519,10 +519,10 @@ impl windows_core::RuntimeType for ISyndicationPerson { #[repr(C)] pub struct ISyndicationPerson_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Email: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEmail: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Email: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEmail: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -533,14 +533,14 @@ impl windows_core::RuntimeType for ISyndicationPersonFactory { #[repr(C)] pub struct ISyndicationPersonFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateSyndicationPerson: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateSyndicationPersonEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationPerson: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationPersonEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationText, ISyndicationText_Vtbl, 0xb9cc5e80_313a_4091_a2a6_243e0ee923f9); impl std::ops::Deref for ISyndicationText { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyndicationText, windows_core::IUnknown, windows_core::IInspectable); @@ -549,7 +549,7 @@ impl ISyndicationText { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -560,7 +560,7 @@ impl ISyndicationText { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -572,7 +572,7 @@ impl ISyndicationText { pub fn Xml(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Xml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -587,7 +587,7 @@ impl ISyndicationText { pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -598,7 +598,7 @@ impl ISyndicationText { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -609,7 +609,7 @@ impl ISyndicationText { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -620,7 +620,7 @@ impl ISyndicationText { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -631,7 +631,7 @@ impl ISyndicationText { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -646,7 +646,7 @@ impl ISyndicationText { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -654,7 +654,7 @@ impl ISyndicationText { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -662,7 +662,7 @@ impl ISyndicationText { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -673,10 +673,10 @@ impl windows_core::RuntimeType for ISyndicationText { #[repr(C)] pub struct ISyndicationText_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Data_Xml_Dom")] pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Data_Xml_Dom"))] @@ -693,8 +693,8 @@ impl windows_core::RuntimeType for ISyndicationTextFactory { #[repr(C)] pub struct ISyndicationTextFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub CreateSyndicationText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateSyndicationTextEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SyndicationTextType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSyndicationTextEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SyndicationTextType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[repr(transparent)] #[derive(PartialEq, Eq, core::fmt::Debug, Clone)] @@ -711,7 +711,7 @@ impl SyndicationAttribute { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -722,7 +722,7 @@ impl SyndicationAttribute { pub fn Namespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Namespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -733,7 +733,7 @@ impl SyndicationAttribute { pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -743,7 +743,7 @@ impl SyndicationAttribute { } pub fn CreateSyndicationAttribute(attributename: &windows_core::HSTRING, attributenamespace: &windows_core::HSTRING, attributevalue: &windows_core::HSTRING) -> windows_core::Result { Self::ISyndicationAttributeFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationAttribute)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(attributename), core::mem::transmute_copy(attributenamespace), core::mem::transmute_copy(attributevalue), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -781,7 +781,7 @@ impl SyndicationCategory { pub fn Label(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Label)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -792,7 +792,7 @@ impl SyndicationCategory { pub fn Scheme(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scheme)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -803,7 +803,7 @@ impl SyndicationCategory { pub fn Term(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Term)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -813,20 +813,20 @@ impl SyndicationCategory { } pub fn CreateSyndicationCategory(term: &windows_core::HSTRING) -> windows_core::Result { Self::ISyndicationCategoryFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationCategory)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(term), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSyndicationCategoryEx(term: &windows_core::HSTRING, scheme: &windows_core::HSTRING, label: &windows_core::HSTRING) -> windows_core::Result { Self::ISyndicationCategoryFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationCategoryEx)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(term), core::mem::transmute_copy(scheme), core::mem::transmute_copy(label), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -837,7 +837,7 @@ impl SyndicationCategory { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -848,7 +848,7 @@ impl SyndicationCategory { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -859,7 +859,7 @@ impl SyndicationCategory { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -870,7 +870,7 @@ impl SyndicationCategory { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -885,7 +885,7 @@ impl SyndicationCategory { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -893,7 +893,7 @@ impl SyndicationCategory { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -901,7 +901,7 @@ impl SyndicationCategory { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -940,7 +940,7 @@ impl SyndicationClient { pub fn ServerCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ServerCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -956,7 +956,7 @@ impl SyndicationClient { pub fn ProxyCredential(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProxyCredential)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -971,7 +971,7 @@ impl SyndicationClient { pub fn MaxResponseBufferSize(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MaxResponseBufferSize)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -982,7 +982,7 @@ impl SyndicationClient { pub fn Timeout(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Timeout)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -993,7 +993,7 @@ impl SyndicationClient { pub fn BypassCacheOnRetrieve(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BypassCacheOnRetrieve)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1011,7 +1011,7 @@ impl SyndicationClient { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RetrieveFeedAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1021,7 +1021,7 @@ impl SyndicationClient { P0: windows_core::Param, { Self::ISyndicationClientFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationClient)(windows_core::Interface::as_raw(this), servercredential.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1059,7 +1059,7 @@ impl SyndicationContent { pub fn SourceUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1072,7 +1072,7 @@ impl SyndicationContent { } pub fn CreateSyndicationContent(text: &windows_core::HSTRING, r#type: SyndicationTextType) -> windows_core::Result { Self::ISyndicationContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationContent)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -1081,14 +1081,14 @@ impl SyndicationContent { P0: windows_core::Param, { Self::ISyndicationContentFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationContentWithSourceUri)(windows_core::Interface::as_raw(this), sourceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1099,7 +1099,7 @@ impl SyndicationContent { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1110,7 +1110,7 @@ impl SyndicationContent { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1121,7 +1121,7 @@ impl SyndicationContent { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1132,7 +1132,7 @@ impl SyndicationContent { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1147,7 +1147,7 @@ impl SyndicationContent { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1155,7 +1155,7 @@ impl SyndicationContent { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1163,14 +1163,14 @@ impl SyndicationContent { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1181,7 +1181,7 @@ impl SyndicationContent { pub fn Type(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1193,7 +1193,7 @@ impl SyndicationContent { pub fn Xml(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Xml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1227,7 +1227,7 @@ pub struct SyndicationError; impl SyndicationError { pub fn GetStatus(hresult: i32) -> windows_core::Result { Self::ISyndicationErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } @@ -1257,7 +1257,7 @@ impl SyndicationFeed { pub fn Authors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Authors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1265,7 +1265,7 @@ impl SyndicationFeed { pub fn Categories(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Categories)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1273,14 +1273,14 @@ impl SyndicationFeed { pub fn Contributors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contributors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Generator(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Generator)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1294,7 +1294,7 @@ impl SyndicationFeed { pub fn IconUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IconUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1308,7 +1308,7 @@ impl SyndicationFeed { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1320,14 +1320,14 @@ impl SyndicationFeed { pub fn Items(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Items)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastUpdatedTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastUpdatedTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1339,14 +1339,14 @@ impl SyndicationFeed { pub fn Links(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Links)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ImageUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ImageUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1360,7 +1360,7 @@ impl SyndicationFeed { pub fn Rights(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rights)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1374,7 +1374,7 @@ impl SyndicationFeed { pub fn Subtitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Subtitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1388,7 +1388,7 @@ impl SyndicationFeed { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1402,35 +1402,35 @@ impl SyndicationFeed { pub fn FirstUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FirstUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn LastUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn NextUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NextUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PreviousUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PreviousUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn SourceFormat(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).SourceFormat)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1451,14 +1451,14 @@ impl SyndicationFeed { P0: windows_core::Param, { Self::ISyndicationFeedFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationFeed)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), core::mem::transmute_copy(subtitle), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1469,7 +1469,7 @@ impl SyndicationFeed { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1480,7 +1480,7 @@ impl SyndicationFeed { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1491,7 +1491,7 @@ impl SyndicationFeed { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1502,7 +1502,7 @@ impl SyndicationFeed { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1517,7 +1517,7 @@ impl SyndicationFeed { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1525,7 +1525,7 @@ impl SyndicationFeed { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1533,7 +1533,7 @@ impl SyndicationFeed { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1571,7 +1571,7 @@ impl SyndicationGenerator { pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1582,7 +1582,7 @@ impl SyndicationGenerator { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1596,7 +1596,7 @@ impl SyndicationGenerator { pub fn Version(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Version)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1606,14 +1606,14 @@ impl SyndicationGenerator { } pub fn CreateSyndicationGenerator(text: &windows_core::HSTRING) -> windows_core::Result { Self::ISyndicationGeneratorFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationGenerator)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1624,7 +1624,7 @@ impl SyndicationGenerator { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1635,7 +1635,7 @@ impl SyndicationGenerator { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1646,7 +1646,7 @@ impl SyndicationGenerator { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1657,7 +1657,7 @@ impl SyndicationGenerator { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1672,7 +1672,7 @@ impl SyndicationGenerator { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1680,7 +1680,7 @@ impl SyndicationGenerator { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1688,7 +1688,7 @@ impl SyndicationGenerator { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1727,7 +1727,7 @@ impl SyndicationItem { pub fn Authors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Authors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1735,7 +1735,7 @@ impl SyndicationItem { pub fn Categories(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Categories)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1743,14 +1743,14 @@ impl SyndicationItem { pub fn Contributors(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Contributors)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Content(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Content)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1764,7 +1764,7 @@ impl SyndicationItem { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1775,7 +1775,7 @@ impl SyndicationItem { pub fn LastUpdatedTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LastUpdatedTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1787,14 +1787,14 @@ impl SyndicationItem { pub fn Links(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Links)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PublishedDate(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PublishedDate)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1805,7 +1805,7 @@ impl SyndicationItem { pub fn Rights(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Rights)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1819,7 +1819,7 @@ impl SyndicationItem { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1833,7 +1833,7 @@ impl SyndicationItem { pub fn Summary(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Summary)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1847,7 +1847,7 @@ impl SyndicationItem { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1861,7 +1861,7 @@ impl SyndicationItem { pub fn CommentsUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CommentsUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1875,28 +1875,28 @@ impl SyndicationItem { pub fn EditUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EditUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn EditMediaUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EditMediaUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ETag(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ETag)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn ItemUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ItemUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1918,14 +1918,14 @@ impl SyndicationItem { P1: windows_core::Param, { Self::ISyndicationItemFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationItem)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(title), content.param().abi(), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1936,7 +1936,7 @@ impl SyndicationItem { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1947,7 +1947,7 @@ impl SyndicationItem { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1958,7 +1958,7 @@ impl SyndicationItem { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1969,7 +1969,7 @@ impl SyndicationItem { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1984,7 +1984,7 @@ impl SyndicationItem { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1992,7 +1992,7 @@ impl SyndicationItem { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2000,7 +2000,7 @@ impl SyndicationItem { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2038,7 +2038,7 @@ impl SyndicationLink { pub fn Length(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Length)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -2049,7 +2049,7 @@ impl SyndicationLink { pub fn MediaType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2060,7 +2060,7 @@ impl SyndicationLink { pub fn Relationship(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Relationship)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2071,7 +2071,7 @@ impl SyndicationLink { pub fn Title(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Title)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2082,7 +2082,7 @@ impl SyndicationLink { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2096,7 +2096,7 @@ impl SyndicationLink { pub fn ResourceLanguage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ResourceLanguage)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2109,7 +2109,7 @@ impl SyndicationLink { P0: windows_core::Param, { Self::ISyndicationLinkFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationLink)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2118,14 +2118,14 @@ impl SyndicationLink { P0: windows_core::Param, { Self::ISyndicationLinkFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationLinkEx)(windows_core::Interface::as_raw(this), uri.param().abi(), core::mem::transmute_copy(relationship), core::mem::transmute_copy(title), core::mem::transmute_copy(mediatype), length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2136,7 +2136,7 @@ impl SyndicationLink { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2147,7 +2147,7 @@ impl SyndicationLink { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2158,7 +2158,7 @@ impl SyndicationLink { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2169,7 +2169,7 @@ impl SyndicationLink { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2184,7 +2184,7 @@ impl SyndicationLink { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2192,7 +2192,7 @@ impl SyndicationLink { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2200,7 +2200,7 @@ impl SyndicationLink { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2238,7 +2238,7 @@ impl SyndicationNode { pub fn NodeName(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2249,7 +2249,7 @@ impl SyndicationNode { pub fn NodeNamespace(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2260,7 +2260,7 @@ impl SyndicationNode { pub fn NodeValue(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2271,7 +2271,7 @@ impl SyndicationNode { pub fn Language(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2282,7 +2282,7 @@ impl SyndicationNode { pub fn BaseUri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2297,7 +2297,7 @@ impl SyndicationNode { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2305,7 +2305,7 @@ impl SyndicationNode { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2313,13 +2313,13 @@ impl SyndicationNode { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CreateSyndicationNode(nodename: &windows_core::HSTRING, nodenamespace: &windows_core::HSTRING, nodevalue: &windows_core::HSTRING) -> windows_core::Result { Self::ISyndicationNodeFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationNode)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(nodename), core::mem::transmute_copy(nodenamespace), core::mem::transmute_copy(nodevalue), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2357,7 +2357,7 @@ impl SyndicationPerson { pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2368,7 +2368,7 @@ impl SyndicationPerson { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2379,7 +2379,7 @@ impl SyndicationPerson { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2390,7 +2390,7 @@ impl SyndicationPerson { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2401,7 +2401,7 @@ impl SyndicationPerson { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2416,7 +2416,7 @@ impl SyndicationPerson { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2424,7 +2424,7 @@ impl SyndicationPerson { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2432,14 +2432,14 @@ impl SyndicationPerson { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Email(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Email)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2450,7 +2450,7 @@ impl SyndicationPerson { pub fn Name(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Name)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2461,7 +2461,7 @@ impl SyndicationPerson { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2474,7 +2474,7 @@ impl SyndicationPerson { } pub fn CreateSyndicationPerson(name: &windows_core::HSTRING) -> windows_core::Result { Self::ISyndicationPersonFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationPerson)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2483,7 +2483,7 @@ impl SyndicationPerson { P0: windows_core::Param, { Self::ISyndicationPersonFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationPersonEx)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(name), core::mem::transmute_copy(email), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -2521,7 +2521,7 @@ impl SyndicationText { pub fn NodeName(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeName)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2532,7 +2532,7 @@ impl SyndicationText { pub fn NodeNamespace(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeNamespace)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2543,7 +2543,7 @@ impl SyndicationText { pub fn NodeValue(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NodeValue)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2554,7 +2554,7 @@ impl SyndicationText { pub fn Language(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Language)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2565,7 +2565,7 @@ impl SyndicationText { pub fn BaseUri(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BaseUri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2580,7 +2580,7 @@ impl SyndicationText { pub fn AttributeExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AttributeExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2588,7 +2588,7 @@ impl SyndicationText { pub fn ElementExtensions(&self) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ElementExtensions)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2596,14 +2596,14 @@ impl SyndicationText { pub fn GetXmlDocument(&self, format: SyndicationFormat) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetXmlDocument)(windows_core::Interface::as_raw(this), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Text(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Text)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2614,7 +2614,7 @@ impl SyndicationText { pub fn Type(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Type)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2626,7 +2626,7 @@ impl SyndicationText { pub fn Xml(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Xml)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2640,13 +2640,13 @@ impl SyndicationText { } pub fn CreateSyndicationText(text: &windows_core::HSTRING) -> windows_core::Result { Self::ISyndicationTextFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationText)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } pub fn CreateSyndicationTextEx(text: &windows_core::HSTRING, r#type: SyndicationTextType) -> windows_core::Result { Self::ISyndicationTextFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateSyndicationTextEx)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(text), r#type, &mut result__).and_then(|| windows_core::Type::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 ae705e1490..0d1090ac8c 100644 --- a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs @@ -38,7 +38,7 @@ impl windows_core::RuntimeType for IWebViewControlProcess { pub struct IWebViewControlProcess_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsPrivateNetworkClientServerCapabilityEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CreateWebViewControlAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i64, super::super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Foundation_Collections")] @@ -65,8 +65,8 @@ impl windows_core::RuntimeType for IWebViewControlProcessOptions { #[repr(C)] pub struct IWebViewControlProcessOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetEnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetPrivateNetworkClientServerCapability: unsafe extern "system" fn(*mut core::ffi::c_void, WebViewControlProcessCapabilityState) -> windows_core::HRESULT, pub PrivateNetworkClientServerCapability: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WebViewControlProcessCapabilityState) -> windows_core::HRESULT, } @@ -112,7 +112,7 @@ impl WebViewControl { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -126,21 +126,21 @@ impl WebViewControl { pub fn DocumentTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanGoBack(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanGoBack)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanGoForward(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanGoForward)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -153,21 +153,21 @@ impl WebViewControl { pub fn DefaultBackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContainsFullScreenElement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsFullScreenElement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Settings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Settings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -175,7 +175,7 @@ impl WebViewControl { pub fn DeferredPermissionRequests(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeferredPermissionRequests)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -229,7 +229,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvokeScriptAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(scriptname), arguments.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -240,7 +240,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapturePreviewToStreamAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -248,14 +248,14 @@ impl WebViewControl { pub fn CaptureSelectedContentToDataPackageAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureSelectedContentToDataPackageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BuildLocalStreamUri(&self, contentidentifier: &windows_core::HSTRING, relativepath: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildLocalStreamUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentidentifier), core::mem::transmute_copy(relativepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -269,7 +269,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -283,7 +283,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentLoading)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -297,7 +297,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DOMContentLoaded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -311,7 +311,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -325,7 +325,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameNavigationStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -339,7 +339,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameContentLoading)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -353,7 +353,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameDOMContentLoaded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -367,7 +367,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameNavigationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -381,7 +381,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScriptNotify)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -395,7 +395,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LongRunningScriptDetected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -409,7 +409,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnsafeContentWarningDisplaying)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -423,7 +423,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnviewableContentIdentified)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -437,7 +437,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PermissionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -451,7 +451,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnsupportedUriSchemeIdentified)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -465,7 +465,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewWindowRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -479,7 +479,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsFullScreenElementChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -493,7 +493,7 @@ impl WebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebResourceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -508,7 +508,7 @@ impl WebViewControl { pub fn Process(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Process)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -519,7 +519,7 @@ impl WebViewControl { pub fn Scale(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Scale)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -530,7 +530,7 @@ impl WebViewControl { pub fn Bounds(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Bounds)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -541,7 +541,7 @@ impl WebViewControl { pub fn IsVisible(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsVisible)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -559,7 +559,7 @@ impl WebViewControl { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MoveFocusRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -573,7 +573,7 @@ impl WebViewControl { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).AcceleratorKeyPressed)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -587,7 +587,7 @@ impl WebViewControl { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GotFocus)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -601,7 +601,7 @@ impl WebViewControl { { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LostFocus)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -629,7 +629,7 @@ impl WebViewControlAcceleratorKeyPressedEventArgs { pub fn EventType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EventType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -637,7 +637,7 @@ impl WebViewControlAcceleratorKeyPressedEventArgs { pub fn VirtualKey(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).VirtualKey)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -645,21 +645,21 @@ impl WebViewControlAcceleratorKeyPressedEventArgs { pub fn KeyStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).KeyStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn RoutingStage(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).RoutingStage)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -686,7 +686,7 @@ impl WebViewControlMoveFocusRequestedEventArgs { pub fn Reason(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Reason)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -716,28 +716,28 @@ impl WebViewControlProcess { pub fn ProcessId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessId)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn EnterpriseId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterpriseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsPrivateNetworkClientServerCapabilityEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsPrivateNetworkClientServerCapabilityEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CreateWebViewControlAsync(&self, hostwindowhandle: i64, bounds: super::super::super::Foundation::Rect) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWebViewControlAsync)(windows_core::Interface::as_raw(this), hostwindowhandle, bounds, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -745,7 +745,7 @@ impl WebViewControlProcess { pub fn GetWebViewControls(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetWebViewControls)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -759,7 +759,7 @@ impl WebViewControlProcess { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ProcessExited)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -772,7 +772,7 @@ impl WebViewControlProcess { P0: windows_core::Param, { Self::IWebViewControlProcessFactory(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CreateWithOptions)(windows_core::Interface::as_raw(this), processoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) }) } @@ -811,7 +811,7 @@ impl WebViewControlProcessOptions { pub fn EnterpriseId(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).EnterpriseId)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -822,7 +822,7 @@ impl WebViewControlProcessOptions { pub fn PrivateNetworkClientServerCapability(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PrivateNetworkClientServerCapability)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Web/UI/impl.rs b/crates/libs/windows/src/Windows/Web/UI/impl.rs index 198a551b36..f60f0259c9 100644 --- a/crates/libs/windows/src/Windows/Web/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Web/UI/impl.rs @@ -82,7 +82,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); IWebViewControl_Impl::SetSource(this, windows_core::from_raw_borrowed(&source)).into() } - unsafe extern "system" fn DocumentTitle, Impl: IWebViewControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DocumentTitle, Impl: IWebViewControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, result__: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebViewControl_Impl::DocumentTitle(this) { @@ -192,7 +192,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); IWebViewControl_Impl::Navigate(this, windows_core::from_raw_borrowed(&source)).into() } - unsafe extern "system" fn NavigateToString, Impl: IWebViewControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NavigateToString, Impl: IWebViewControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebViewControl_Impl::NavigateToString(this, core::mem::transmute(&text)).into() @@ -207,7 +207,7 @@ impl IWebViewControl_Vtbl { let this = (*this).get_impl(); IWebViewControl_Impl::NavigateWithHttpRequestMessage(this, windows_core::from_raw_borrowed(&requestmessage)).into() } - unsafe extern "system" fn InvokeScriptAsync, Impl: IWebViewControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scriptname: std::mem::MaybeUninit, arguments: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeScriptAsync, Impl: IWebViewControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scriptname: core::mem::MaybeUninit, arguments: *mut core::ffi::c_void, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebViewControl_Impl::InvokeScriptAsync(this, core::mem::transmute(&scriptname), windows_core::from_raw_borrowed(&arguments)) { @@ -243,7 +243,7 @@ impl IWebViewControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BuildLocalStreamUri, Impl: IWebViewControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contentidentifier: std::mem::MaybeUninit, relativepath: std::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn BuildLocalStreamUri, Impl: IWebViewControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contentidentifier: core::mem::MaybeUninit, relativepath: core::mem::MaybeUninit, result__: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebViewControl_Impl::BuildLocalStreamUri(this, core::mem::transmute(&contentidentifier), core::mem::transmute(&relativepath)) { @@ -605,7 +605,7 @@ impl windows_core::RuntimeName for IWebViewControl2 { } impl IWebViewControl2_Vtbl { pub const fn new, Impl: IWebViewControl2_Impl, const OFFSET: isize>() -> IWebViewControl2_Vtbl { - unsafe extern "system" fn AddInitializeScript, Impl: IWebViewControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, script: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddInitializeScript, Impl: IWebViewControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, script: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebViewControl2_Impl::AddInitializeScript(this, core::mem::transmute(&script)).into() diff --git a/crates/libs/windows/src/Windows/Web/UI/mod.rs b/crates/libs/windows/src/Windows/Web/UI/mod.rs index 872f61f9a3..4e602a3627 100644 --- a/crates/libs/windows/src/Windows/Web/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IWebViewControl, IWebViewControl_Vtbl, 0x3f impl std::ops::Deref for IWebViewControl { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebViewControl, windows_core::IUnknown, windows_core::IInspectable); @@ -12,7 +12,7 @@ impl IWebViewControl { pub fn Source(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Source)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -26,21 +26,21 @@ impl IWebViewControl { pub fn DocumentTitle(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DocumentTitle)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn CanGoBack(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanGoBack)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn CanGoForward(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CanGoForward)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -53,21 +53,21 @@ impl IWebViewControl { pub fn DefaultBackgroundColor(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DefaultBackgroundColor)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn ContainsFullScreenElement(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsFullScreenElement)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Settings(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Settings)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -75,7 +75,7 @@ impl IWebViewControl { pub fn DeferredPermissionRequests(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DeferredPermissionRequests)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -129,7 +129,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).InvokeScriptAsync)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(scriptname), arguments.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -140,7 +140,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CapturePreviewToStreamAsync)(windows_core::Interface::as_raw(this), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -148,14 +148,14 @@ impl IWebViewControl { pub fn CaptureSelectedContentToDataPackageAsync(&self) -> windows_core::Result> { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).CaptureSelectedContentToDataPackageAsync)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn BuildLocalStreamUri(&self, contentidentifier: &windows_core::HSTRING, relativepath: &windows_core::HSTRING) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).BuildLocalStreamUri)(windows_core::Interface::as_raw(this), core::mem::transmute_copy(contentidentifier), core::mem::transmute_copy(relativepath), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -169,7 +169,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -183,7 +183,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContentLoading)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -197,7 +197,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).DOMContentLoaded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -211,7 +211,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NavigationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -225,7 +225,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameNavigationStarting)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -239,7 +239,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameContentLoading)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -253,7 +253,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameDOMContentLoaded)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -267,7 +267,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).FrameNavigationCompleted)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -281,7 +281,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ScriptNotify)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -295,7 +295,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).LongRunningScriptDetected)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -309,7 +309,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnsafeContentWarningDisplaying)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -323,7 +323,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnviewableContentIdentified)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -337,7 +337,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PermissionRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -351,7 +351,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UnsupportedUriSchemeIdentified)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -365,7 +365,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewWindowRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -379,7 +379,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ContainsFullScreenElementChanged)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -393,7 +393,7 @@ impl IWebViewControl { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebResourceRequested)(windows_core::Interface::as_raw(this), handler.param().abi(), &mut result__).map(|| result__) } } @@ -410,7 +410,7 @@ pub struct IWebViewControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DocumentTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DocumentTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CanGoBack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CanGoForward: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, #[cfg(feature = "UI")] @@ -432,14 +432,14 @@ pub struct IWebViewControl_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Navigate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub NavigateToString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NavigateToString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub NavigateToLocalStreamUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Web_Http")] pub NavigateWithHttpRequestMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Web_Http"))] NavigateWithHttpRequestMessage: usize, #[cfg(feature = "Foundation_Collections")] - pub InvokeScriptAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InvokeScriptAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Foundation_Collections"))] InvokeScriptAsync: usize, #[cfg(feature = "Storage_Streams")] @@ -450,7 +450,7 @@ pub struct IWebViewControl_Vtbl { pub CaptureSelectedContentToDataPackageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "ApplicationModel_DataTransfer"))] CaptureSelectedContentToDataPackageAsync: usize, - pub BuildLocalStreamUri: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BuildLocalStreamUri: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDeferredPermissionRequestById: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NavigationStarting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveNavigationStarting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, @@ -491,7 +491,7 @@ windows_core::imp::define_interface!(IWebViewControl2, IWebViewControl2_Vtbl, 0x impl std::ops::Deref for IWebViewControl2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebViewControl2, windows_core::IUnknown, windows_core::IInspectable); @@ -507,7 +507,7 @@ impl windows_core::RuntimeType for IWebViewControl2 { #[repr(C)] pub struct IWebViewControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddInitializeScript: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddInitializeScript: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebViewControlContentLoadingEventArgs, IWebViewControlContentLoadingEventArgs_Vtbl, 0x9a3fccb2_b9bb_404b_a22b_66dccd1250c6); impl windows_core::RuntimeType for IWebViewControlContentLoadingEventArgs { @@ -628,7 +628,7 @@ impl windows_core::RuntimeType for IWebViewControlScriptNotifyEventArgs { pub struct IWebViewControlScriptNotifyEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebViewControlSettings, IWebViewControlSettings_Vtbl, 0xc9967fbf_5e98_4cfd_8cce_27b0911e3de8); impl windows_core::RuntimeType for IWebViewControlSettings { @@ -664,7 +664,7 @@ pub struct IWebViewControlUnviewableContentIdentifiedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Referrer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebViewControlWebResourceRequestedEventArgs, IWebViewControlWebResourceRequestedEventArgs_Vtbl, 0x44d6524d_55a4_4d8b_891c_931d8e25d42e); impl windows_core::RuntimeType for IWebViewControlWebResourceRequestedEventArgs { @@ -695,7 +695,7 @@ impl WebViewControlContentLoadingEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -718,7 +718,7 @@ impl WebViewControlDOMContentLoadedEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -741,21 +741,21 @@ impl WebViewControlDeferredPermissionRequest { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PermissionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PermissionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -786,14 +786,14 @@ impl WebViewControlLongRunningScriptDetectedEventArgs { pub fn ExecutionTime(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).ExecutionTime)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn StopPageScriptExecution(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).StopPageScriptExecution)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -820,21 +820,21 @@ impl WebViewControlNavigationCompletedEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn IsSuccess(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsSuccess)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn WebErrorStatus(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).WebErrorStatus)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -857,14 +857,14 @@ impl WebViewControlNavigationStartingEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Cancel(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Cancel)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -891,21 +891,21 @@ impl WebViewControlNewWindowRequestedEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Referrer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Referrer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -916,7 +916,7 @@ impl WebViewControlNewWindowRequestedEventArgs { pub fn NewWindow(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).NewWindow)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -930,7 +930,7 @@ impl WebViewControlNewWindowRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -953,28 +953,28 @@ impl WebViewControlPermissionRequest { pub fn Id(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Id)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn PermissionType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PermissionType)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } pub fn State(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).State)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1009,7 +1009,7 @@ impl WebViewControlPermissionRequestedEventArgs { pub fn PermissionRequest(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).PermissionRequest)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1032,14 +1032,14 @@ impl WebViewControlScriptNotifyEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Value(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Value)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1066,7 +1066,7 @@ impl WebViewControlSettings { pub fn IsJavaScriptEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsJavaScriptEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1077,7 +1077,7 @@ impl WebViewControlSettings { pub fn IsIndexedDBEnabled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsIndexedDBEnabled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1088,7 +1088,7 @@ impl WebViewControlSettings { pub fn IsScriptNotifyAllowed(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).IsScriptNotifyAllowed)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1111,14 +1111,14 @@ impl WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Handled(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Handled)(windows_core::Interface::as_raw(this), &mut result__).map(|| result__) } } @@ -1145,21 +1145,21 @@ impl WebViewControlUnviewableContentIdentifiedEventArgs { pub fn Uri(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Uri)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn Referrer(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Referrer)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } pub fn MediaType(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).MediaType)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1182,7 +1182,7 @@ impl WebViewControlWebResourceRequestedEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetDeferral)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1190,7 +1190,7 @@ impl WebViewControlWebResourceRequestedEventArgs { pub fn Request(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Request)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1206,7 +1206,7 @@ impl WebViewControlWebResourceRequestedEventArgs { pub fn Response(&self) -> windows_core::Result { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).Response)(windows_core::Interface::as_raw(this), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Web/mod.rs b/crates/libs/windows/src/Windows/Web/mod.rs index 3a3f692412..4de0d034ef 100644 --- a/crates/libs/windows/src/Windows/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Web/mod.rs @@ -10,7 +10,7 @@ windows_core::imp::define_interface!(IUriToStreamResolver, IUriToStreamResolver_ impl std::ops::Deref for IUriToStreamResolver { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUriToStreamResolver, windows_core::IUnknown, windows_core::IInspectable); @@ -22,7 +22,7 @@ impl IUriToStreamResolver { { let this = self; unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).UriToStreamAsync)(windows_core::Interface::as_raw(this), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -51,7 +51,7 @@ pub struct WebError; impl WebError { pub fn GetStatus(hresult: i32) -> windows_core::Result { Self::IWebErrorStatics(|this| unsafe { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(this).GetStatus)(windows_core::Interface::as_raw(this), hresult, &mut result__).map(|| result__) }) } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs index 41efb9eb02..c977aa3abe 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs @@ -22,7 +22,7 @@ windows_core::imp::define_interface!(IDMLBindingTable, IDMLBindingTable_Vtbl, 0x impl std::ops::Deref for IDMLBindingTable { type Target = IDMLDeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLBindingTable, windows_core::IUnknown, IDMLObject, IDMLDeviceChild); @@ -60,7 +60,7 @@ windows_core::imp::define_interface!(IDMLCommandRecorder, IDMLCommandRecorder_Vt impl std::ops::Deref for IDMLCommandRecorder { type Target = IDMLDeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLCommandRecorder, windows_core::IUnknown, IDMLObject, IDMLDeviceChild); @@ -87,7 +87,7 @@ windows_core::imp::define_interface!(IDMLCompiledOperator, IDMLCompiledOperator_ impl std::ops::Deref for IDMLCompiledOperator { type Target = IDMLDispatchable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLCompiledOperator, windows_core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); @@ -100,7 +100,7 @@ windows_core::imp::define_interface!(IDMLDebugDevice, IDMLDebugDevice_Vtbl, 0x7d impl std::ops::Deref for IDMLDebugDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLDebugDevice, windows_core::IUnknown); @@ -121,7 +121,7 @@ windows_core::imp::define_interface!(IDMLDevice, IDMLDevice_Vtbl, 0x6dbd6437_96f impl std::ops::Deref for IDMLDevice { type Target = IDMLObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLDevice, windows_core::IUnknown, IDMLObject); @@ -202,7 +202,7 @@ windows_core::imp::define_interface!(IDMLDevice1, IDMLDevice1_Vtbl, 0xa0884f9a_d impl std::ops::Deref for IDMLDevice1 { type Target = IDMLDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLDevice1, windows_core::IUnknown, IDMLObject, IDMLDevice); @@ -223,7 +223,7 @@ windows_core::imp::define_interface!(IDMLDeviceChild, IDMLDeviceChild_Vtbl, 0x27 impl std::ops::Deref for IDMLDeviceChild { type Target = IDMLObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLDeviceChild, windows_core::IUnknown, IDMLObject); @@ -245,7 +245,7 @@ windows_core::imp::define_interface!(IDMLDispatchable, IDMLDispatchable_Vtbl, 0x impl std::ops::Deref for IDMLDispatchable { type Target = IDMLPageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLDispatchable, windows_core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable); @@ -265,7 +265,7 @@ windows_core::imp::define_interface!(IDMLObject, IDMLObject_Vtbl, 0xc8263aac_9e0 impl std::ops::Deref for IDMLObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLObject, windows_core::IUnknown); @@ -301,7 +301,7 @@ windows_core::imp::define_interface!(IDMLOperator, IDMLOperator_Vtbl, 0x26caae7a impl std::ops::Deref for IDMLOperator { type Target = IDMLDeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLOperator, windows_core::IUnknown, IDMLObject, IDMLDeviceChild); @@ -314,7 +314,7 @@ windows_core::imp::define_interface!(IDMLOperatorInitializer, IDMLOperatorInitia impl std::ops::Deref for IDMLOperatorInitializer { type Target = IDMLDispatchable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLOperatorInitializer, windows_core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); @@ -332,7 +332,7 @@ windows_core::imp::define_interface!(IDMLPageable, IDMLPageable_Vtbl, 0xb1ab0825 impl std::ops::Deref for IDMLPageable { type Target = IDMLDeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMLPageable, windows_core::IUnknown, IDMLObject, IDMLDeviceChild); @@ -1415,7 +1415,7 @@ impl Default for DML_BINDING_PROPERTIES { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct DML_BINDING_TABLE_DESC { - pub Dispatchable: std::mem::ManuallyDrop>, + pub Dispatchable: core::mem::ManuallyDrop>, pub CPUDescriptorHandle: super::super::super::Graphics::Direct3D12::D3D12_CPU_DESCRIPTOR_HANDLE, pub GPUDescriptorHandle: super::super::super::Graphics::Direct3D12::D3D12_GPU_DESCRIPTOR_HANDLE, pub SizeInDescriptors: u32, @@ -1457,7 +1457,7 @@ impl Default for DML_BUFFER_ARRAY_BINDING { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct DML_BUFFER_BINDING { - pub Buffer: std::mem::ManuallyDrop>, + pub Buffer: core::mem::ManuallyDrop>, pub Offset: u64, pub SizeInBytes: u64, } @@ -3200,7 +3200,7 @@ impl Default for DML_OPERATOR_DESC { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct DML_OPERATOR_GRAPH_NODE_DESC { - pub Operator: std::mem::ManuallyDrop>, + pub Operator: core::mem::ManuallyDrop>, pub Name: windows_core::PCSTR, } impl Clone for DML_OPERATOR_GRAPH_NODE_DESC { 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 cb336fb7dd..e785dcb3e1 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 @@ -1,20 +1,20 @@ #[inline] pub unsafe fn MLCreateOperatorRegistry() -> windows_core::Result { windows_targets::link!("windows.ai.machinelearning.dll" "system" fn MLCreateOperatorRegistry(registry : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MLCreateOperatorRegistry(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WinMLCreateRuntime() -> windows_core::Result { windows_targets::link!("winml.dll" "system" fn WinMLCreateRuntime(runtime : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WinMLCreateRuntime(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IMLOperatorAttributes, IMLOperatorAttributes_Vtbl, 0x4b1b1759_ec40_466c_aab4_beb5347fd24c); impl std::ops::Deref for IMLOperatorAttributes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorAttributes, windows_core::IUnknown); @@ -23,7 +23,7 @@ impl IMLOperatorAttributes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeElementCount)(windows_core::Interface::as_raw(self), name.param().abi(), r#type, &mut result__).map(|| result__) } pub unsafe fn GetAttribute(&self, name: P0, r#type: MLOperatorAttributeType, elementcount: u32, elementbytesize: usize, value: *mut core::ffi::c_void) -> windows_core::Result<()> @@ -36,7 +36,7 @@ impl IMLOperatorAttributes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringAttributeElementLength)(windows_core::Interface::as_raw(self), name.param().abi(), elementindex, &mut result__).map(|| result__) } pub unsafe fn GetStringAttributeElement(&self, name: P0, elementindex: u32, attributeelement: &mut [u8]) -> windows_core::Result<()> @@ -58,7 +58,7 @@ windows_core::imp::define_interface!(IMLOperatorKernel, IMLOperatorKernel_Vtbl, impl std::ops::Deref for IMLOperatorKernel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorKernel, windows_core::IUnknown); @@ -79,29 +79,29 @@ windows_core::imp::define_interface!(IMLOperatorKernelContext, IMLOperatorKernel impl std::ops::Deref for IMLOperatorKernelContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorKernelContext, windows_core::IUnknown); impl IMLOperatorKernelContext { pub unsafe fn GetInputTensor(&self, inputindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputTensor)(windows_core::Interface::as_raw(self), inputindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputTensor(&self, outputindex: u32, dimensionsizes: &[u32]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputTensor)(windows_core::Interface::as_raw(self), outputindex, dimensionsizes.len().try_into().unwrap(), core::mem::transmute(dimensionsizes.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputTensor2(&self, outputindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputTensor2)(windows_core::Interface::as_raw(self), outputindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AllocateTemporaryData(&self, size: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocateTemporaryData)(windows_core::Interface::as_raw(self), size, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetExecutionInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionInterface)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -119,7 +119,7 @@ windows_core::imp::define_interface!(IMLOperatorKernelCreationContext, IMLOperat impl std::ops::Deref for IMLOperatorKernelCreationContext { type Target = IMLOperatorAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorKernelCreationContext, windows_core::IUnknown, IMLOperatorAttributes); @@ -137,22 +137,22 @@ impl IMLOperatorKernelCreationContext { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputEdgeDescription)(windows_core::Interface::as_raw(self), inputindex, &mut result__).map(|| result__) } pub unsafe fn GetOutputEdgeDescription(&self, outputindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputEdgeDescription)(windows_core::Interface::as_raw(self), outputindex, &mut result__).map(|| result__) } pub unsafe fn HasTensorShapeDescription(&self) -> bool { (windows_core::Interface::vtable(self).HasTensorShapeDescription)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetTensorShapeDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTensorShapeDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetExecutionInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionInterface)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -174,7 +174,7 @@ windows_core::imp::define_interface!(IMLOperatorKernelFactory, IMLOperatorKernel impl std::ops::Deref for IMLOperatorKernelFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorKernelFactory, windows_core::IUnknown); @@ -183,7 +183,7 @@ impl IMLOperatorKernelFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateKernel)(windows_core::Interface::as_raw(self), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -196,7 +196,7 @@ windows_core::imp::define_interface!(IMLOperatorRegistry, IMLOperatorRegistry_Vt impl std::ops::Deref for IMLOperatorRegistry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorRegistry, windows_core::IUnknown); @@ -226,7 +226,7 @@ windows_core::imp::define_interface!(IMLOperatorShapeInferenceContext, IMLOperat impl std::ops::Deref for IMLOperatorShapeInferenceContext { type Target = IMLOperatorAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorShapeInferenceContext, windows_core::IUnknown, IMLOperatorAttributes); @@ -244,11 +244,11 @@ impl IMLOperatorShapeInferenceContext { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputEdgeDescription)(windows_core::Interface::as_raw(self), inputindex, &mut result__).map(|| result__) } pub unsafe fn GetInputTensorDimensionCount(&self, inputindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputTensorDimensionCount)(windows_core::Interface::as_raw(self), inputindex, &mut result__).map(|| result__) } pub unsafe fn GetInputTensorShape(&self, inputindex: u32, dimensions: &mut [u32]) -> windows_core::Result<()> { @@ -274,7 +274,7 @@ windows_core::imp::define_interface!(IMLOperatorShapeInferrer, IMLOperatorShapeI impl std::ops::Deref for IMLOperatorShapeInferrer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorShapeInferrer, windows_core::IUnknown); @@ -295,7 +295,7 @@ windows_core::imp::define_interface!(IMLOperatorTensor, IMLOperatorTensor_Vtbl, impl std::ops::Deref for IMLOperatorTensor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorTensor, windows_core::IUnknown); @@ -319,7 +319,7 @@ impl IMLOperatorTensor { (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetDataInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataInterface)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -339,13 +339,13 @@ windows_core::imp::define_interface!(IMLOperatorTensorShapeDescription, IMLOpera impl std::ops::Deref for IMLOperatorTensorShapeDescription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorTensorShapeDescription, windows_core::IUnknown); impl IMLOperatorTensorShapeDescription { pub unsafe fn GetInputTensorDimensionCount(&self, inputindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputTensorDimensionCount)(windows_core::Interface::as_raw(self), inputindex, &mut result__).map(|| result__) } pub unsafe fn GetInputTensorShape(&self, inputindex: u32, dimensions: &mut [u32]) -> windows_core::Result<()> { @@ -355,7 +355,7 @@ impl IMLOperatorTensorShapeDescription { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputTensorDimensionCount)(windows_core::Interface::as_raw(self), outputindex, &mut result__).map(|| result__) } pub unsafe fn GetOutputTensorShape(&self, outputindex: u32, dimensions: &mut [u32]) -> windows_core::Result<()> { @@ -375,7 +375,7 @@ windows_core::imp::define_interface!(IMLOperatorTypeInferenceContext, IMLOperato impl std::ops::Deref for IMLOperatorTypeInferenceContext { type Target = IMLOperatorAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorTypeInferenceContext, windows_core::IUnknown, IMLOperatorAttributes); @@ -393,7 +393,7 @@ impl IMLOperatorTypeInferenceContext { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputEdgeDescription)(windows_core::Interface::as_raw(self), inputindex, &mut result__).map(|| result__) } pub unsafe fn SetOutputEdgeDescription(&self, outputindex: u32, edgedescription: *const MLOperatorEdgeDescription) -> windows_core::Result<()> { @@ -414,7 +414,7 @@ windows_core::imp::define_interface!(IMLOperatorTypeInferrer, IMLOperatorTypeInf impl std::ops::Deref for IMLOperatorTypeInferrer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLOperatorTypeInferrer, windows_core::IUnknown); @@ -435,7 +435,7 @@ windows_core::imp::define_interface!(IWinMLEvaluationContext, IWinMLEvaluationCo impl std::ops::Deref for IWinMLEvaluationContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinMLEvaluationContext, windows_core::IUnknown); @@ -449,7 +449,7 @@ impl IWinMLEvaluationContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValueByName)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Clear(&self) -> windows_core::Result<()> { @@ -473,24 +473,24 @@ windows_core::imp::define_interface!(IWinMLModel, IWinMLModel_Vtbl, 0xe2eeb6a9_f impl std::ops::Deref for IWinMLModel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinMLModel, windows_core::IUnknown); impl IWinMLModel { pub unsafe fn GetDescription(&self) -> windows_core::Result<*mut WINML_MODEL_DESC> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerateMetadata(&self, index: u32, pkey: *mut windows_core::PCWSTR, pvalue: *mut windows_core::PCWSTR) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).EnumerateMetadata)(windows_core::Interface::as_raw(self), index, pkey, pvalue).ok() } pub unsafe fn EnumerateModelInputs(&self, index: u32) -> windows_core::Result<*mut WINML_VARIABLE_DESC> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateModelInputs)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn EnumerateModelOutputs(&self, index: u32) -> windows_core::Result<*mut WINML_VARIABLE_DESC> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateModelOutputs)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } } @@ -506,7 +506,7 @@ windows_core::imp::define_interface!(IWinMLRuntime, IWinMLRuntime_Vtbl, 0xa04253 impl std::ops::Deref for IWinMLRuntime { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinMLRuntime, windows_core::IUnknown); @@ -515,7 +515,7 @@ impl IWinMLRuntime { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadModel)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -523,7 +523,7 @@ impl IWinMLRuntime { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEvaluationContext)(windows_core::Interface::as_raw(self), device.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EvaluateModel(&self, pcontext: P0) -> windows_core::Result<()> @@ -547,13 +547,13 @@ windows_core::imp::define_interface!(IWinMLRuntimeFactory, IWinMLRuntimeFactory_ impl std::ops::Deref for IWinMLRuntimeFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinMLRuntimeFactory, windows_core::IUnknown); impl IWinMLRuntimeFactory { pub unsafe fn CreateRuntime(&self, runtimetype: WINML_RUNTIME_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRuntime)(windows_core::Interface::as_raw(self), runtimetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1037,7 +1037,7 @@ pub union WINML_BINDING_DESC_0 { pub Sequence: WINML_SEQUENCE_BINDING_DESC, pub Map: WINML_MAP_BINDING_DESC, pub Image: WINML_IMAGE_BINDING_DESC, - pub Resource: std::mem::ManuallyDrop, + pub Resource: core::mem::ManuallyDrop, } #[cfg(feature = "Win32_Graphics_Direct3D12")] impl Clone for WINML_BINDING_DESC_0 { @@ -1172,7 +1172,7 @@ pub struct WINML_RESOURCE_BINDING_DESC { pub ElementType: WINML_TENSOR_DATA_TYPE, pub NumDimensions: u32, pub pShape: *mut i64, - pub pResource: std::mem::ManuallyDrop>, + pub pResource: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_Graphics_Direct3D12")] impl Clone for WINML_RESOURCE_BINDING_DESC { 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 83bfe9a8d8..17931c130f 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs @@ -20,7 +20,7 @@ windows_core::imp::define_interface!(IITDatabase, IITDatabase_Vtbl, 0x8fa0d5a2_d impl std::ops::Deref for IITDatabase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IITDatabase, windows_core::IUnknown); @@ -64,7 +64,7 @@ windows_core::imp::define_interface!(IITPropList, IITPropList_Vtbl, 0x1f403bb1_9 impl std::ops::Deref for IITPropList { type Target = super::super::System::Com::IPersistStreamInit; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -169,7 +169,7 @@ windows_core::imp::define_interface!(IITResultSet, IITResultSet_Vtbl, 0x3bb91d41 impl std::ops::Deref for IITResultSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IITResultSet, windows_core::IUnknown); @@ -318,7 +318,7 @@ windows_core::imp::define_interface!(IStemSink, IStemSink_Vtbl, 0xfe77c330_7f42_ impl std::ops::Deref for IStemSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStemSink, windows_core::IUnknown); @@ -346,7 +346,7 @@ windows_core::imp::define_interface!(IStemmerConfig, IStemmerConfig_Vtbl, 0x8fa0 impl std::ops::Deref for IStemmerConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStemmerConfig, windows_core::IUnknown); @@ -387,7 +387,7 @@ windows_core::imp::define_interface!(IWordBreakerConfig, IWordBreakerConfig_Vtbl impl std::ops::Deref for IWordBreakerConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWordBreakerConfig, windows_core::IUnknown); @@ -426,7 +426,7 @@ impl IWordBreakerConfig { } #[cfg(feature = "Win32_System_Search")] pub unsafe fn GetWordStemmer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWordStemmer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -931,7 +931,7 @@ impl Default for HH_FTS_QUERY { #[derive(Debug, Eq, PartialEq)] pub struct HH_GLOBAL_PROPERTY { pub id: HH_GPROPID, - pub var: std::mem::ManuallyDrop, + pub var: core::mem::ManuallyDrop, } impl Clone for HH_GLOBAL_PROPERTY { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs index 36fc634c4b..268ea8e718 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs @@ -17,12 +17,12 @@ impl windows_core::RuntimeName for IMXAttributes {} #[cfg(feature = "Win32_System_Com")] impl IMXAttributes_Vtbl { pub const fn new, Impl: IMXAttributes_Impl, const OFFSET: isize>() -> IMXAttributes_Vtbl { - unsafe extern "system" fn addAttribute, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, struri: std::mem::MaybeUninit, strlocalname: std::mem::MaybeUninit, strqname: std::mem::MaybeUninit, strtype: std::mem::MaybeUninit, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addAttribute, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, struri: core::mem::MaybeUninit, strlocalname: core::mem::MaybeUninit, strqname: core::mem::MaybeUninit, strtype: core::mem::MaybeUninit, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXAttributes_Impl::addAttribute(this, core::mem::transmute(&struri), core::mem::transmute(&strlocalname), core::mem::transmute(&strqname), core::mem::transmute(&strtype), core::mem::transmute(&strvalue)).into() } - unsafe extern "system" fn addAttributeFromIndex, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varatts: std::mem::MaybeUninit, nindex: i32) -> windows_core::HRESULT { + unsafe extern "system" fn addAttributeFromIndex, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varatts: core::mem::MaybeUninit, nindex: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXAttributes_Impl::addAttributeFromIndex(this, core::mem::transmute(&varatts), core::mem::transmute_copy(&nindex)).into() @@ -37,37 +37,37 @@ impl IMXAttributes_Vtbl { let this = (*this).get_impl(); IMXAttributes_Impl::removeAttribute(this, core::mem::transmute_copy(&nindex)).into() } - unsafe extern "system" fn setAttribute, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, struri: std::mem::MaybeUninit, strlocalname: std::mem::MaybeUninit, strqname: std::mem::MaybeUninit, strtype: std::mem::MaybeUninit, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setAttribute, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, struri: core::mem::MaybeUninit, strlocalname: core::mem::MaybeUninit, strqname: core::mem::MaybeUninit, strtype: core::mem::MaybeUninit, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXAttributes_Impl::setAttribute(this, core::mem::transmute_copy(&nindex), core::mem::transmute(&struri), core::mem::transmute(&strlocalname), core::mem::transmute(&strqname), core::mem::transmute(&strtype), core::mem::transmute(&strvalue)).into() } - unsafe extern "system" fn setAttributes, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varatts: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setAttributes, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varatts: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXAttributes_Impl::setAttributes(this, core::mem::transmute(&varatts)).into() } - unsafe extern "system" fn setLocalName, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strlocalname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setLocalName, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strlocalname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXAttributes_Impl::setLocalName(this, core::mem::transmute_copy(&nindex), core::mem::transmute(&strlocalname)).into() } - unsafe extern "system" fn setQName, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strqname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setQName, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strqname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXAttributes_Impl::setQName(this, core::mem::transmute_copy(&nindex), core::mem::transmute(&strqname)).into() } - unsafe extern "system" fn setType, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strtype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setType, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strtype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXAttributes_Impl::setType(this, core::mem::transmute_copy(&nindex), core::mem::transmute(&strtype)).into() } - unsafe extern "system" fn setURI, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, struri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setURI, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, struri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXAttributes_Impl::setURI(this, core::mem::transmute_copy(&nindex), core::mem::transmute(&struri)).into() } - unsafe extern "system" fn setValue, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setValue, Impl: IMXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXAttributes_Impl::setValue(this, core::mem::transmute_copy(&nindex), core::mem::transmute(&strvalue)).into() @@ -194,7 +194,7 @@ impl windows_core::RuntimeName for IMXNamespacePrefixes {} #[cfg(feature = "Win32_System_Com")] impl IMXNamespacePrefixes_Vtbl { pub const fn new, Impl: IMXNamespacePrefixes_Impl, const OFFSET: isize>() -> IMXNamespacePrefixes_Vtbl { - unsafe extern "system" fn get_item, Impl: IMXNamespacePrefixes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, prefix: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_item, Impl: IMXNamespacePrefixes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, prefix: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMXNamespacePrefixes_Impl::get_item(this, core::mem::transmute_copy(&index)) { @@ -323,12 +323,12 @@ impl windows_core::RuntimeName for IMXWriter {} #[cfg(feature = "Win32_System_Com")] impl IMXWriter_Vtbl { pub const fn new, Impl: IMXWriter_Impl, const OFFSET: isize>() -> IMXWriter_Vtbl { - unsafe extern "system" fn Setoutput, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestination: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setoutput, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestination: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXWriter_Impl::Setoutput(this, core::mem::transmute(&vardestination)).into() } - unsafe extern "system" fn output, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestination: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn output, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestination: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMXWriter_Impl::output(this) { @@ -339,12 +339,12 @@ impl IMXWriter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Setencoding, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencoding: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setencoding, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencoding: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXWriter_Impl::Setencoding(this, core::mem::transmute(&strencoding)).into() } - unsafe extern "system" fn encoding, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencoding: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn encoding, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencoding: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMXWriter_Impl::encoding(this) { @@ -419,12 +419,12 @@ impl IMXWriter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Setversion, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strversion: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setversion, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strversion: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXWriter_Impl::Setversion(this, core::mem::transmute(&strversion)).into() } - unsafe extern "system" fn version, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strversion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn version, Impl: IMXWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strversion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMXWriter_Impl::version(this) { @@ -501,7 +501,7 @@ impl windows_core::RuntimeName for IMXXMLFilter {} #[cfg(feature = "Win32_System_Com")] impl IMXXMLFilter_Vtbl { pub const fn new, Impl: IMXXMLFilter_Impl, const OFFSET: isize>() -> IMXXMLFilter_Vtbl { - unsafe extern "system" fn getFeature, Impl: IMXXMLFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, fvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn getFeature, Impl: IMXXMLFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, fvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMXXMLFilter_Impl::getFeature(this, core::mem::transmute(&strname)) { @@ -512,12 +512,12 @@ impl IMXXMLFilter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn putFeature, Impl: IMXXMLFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, fvalue: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn putFeature, Impl: IMXXMLFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, fvalue: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXXMLFilter_Impl::putFeature(this, core::mem::transmute(&strname), core::mem::transmute_copy(&fvalue)).into() } - unsafe extern "system" fn getProperty, Impl: IMXXMLFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, varvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getProperty, Impl: IMXXMLFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, varvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMXXMLFilter_Impl::getProperty(this, core::mem::transmute(&strname)) { @@ -528,7 +528,7 @@ impl IMXXMLFilter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn putProperty, Impl: IMXXMLFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, varvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn putProperty, Impl: IMXXMLFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, varvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMXXMLFilter_Impl::putProperty(this, core::mem::transmute(&strname), core::mem::transmute(&varvalue)).into() @@ -903,7 +903,7 @@ pub trait ISAXEntityResolver_Impl: Sized { impl windows_core::RuntimeName for ISAXEntityResolver {} impl ISAXEntityResolver_Vtbl { pub const fn new, Impl: ISAXEntityResolver_Impl, const OFFSET: isize>() -> ISAXEntityResolver_Vtbl { - unsafe extern "system" fn resolveEntity, Impl: ISAXEntityResolver_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwchpublicid: windows_core::PCWSTR, pwchsystemid: windows_core::PCWSTR, pvarinput: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn resolveEntity, Impl: ISAXEntityResolver_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwchpublicid: windows_core::PCWSTR, pwchsystemid: windows_core::PCWSTR, pvarinput: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISAXEntityResolver_Impl::resolveEntity(this, core::mem::transmute(&pwchpublicid), core::mem::transmute(&pwchsystemid)) { @@ -1153,7 +1153,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); ISAXXMLReader_Impl::putFeature(this, core::mem::transmute(&pwchname), core::mem::transmute_copy(&vfvalue)).into() } - unsafe extern "system" fn getProperty, Impl: ISAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwchname: windows_core::PCWSTR, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getProperty, Impl: ISAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwchname: windows_core::PCWSTR, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISAXXMLReader_Impl::getProperty(this, core::mem::transmute(&pwchname)) { @@ -1164,7 +1164,7 @@ impl ISAXXMLReader_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn putProperty, Impl: ISAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwchname: windows_core::PCWSTR, varvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn putProperty, Impl: ISAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwchname: windows_core::PCWSTR, varvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISAXXMLReader_Impl::putProperty(this, core::mem::transmute(&pwchname), core::mem::transmute(&varvalue)).into() @@ -1265,7 +1265,7 @@ impl ISAXXMLReader_Vtbl { let this = (*this).get_impl(); ISAXXMLReader_Impl::putSecureBaseURL(this, core::mem::transmute(&pwchsecurebaseurl)).into() } - unsafe extern "system" fn parse, Impl: ISAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varinput: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn parse, Impl: ISAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varinput: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISAXXMLReader_Impl::parse(this, core::mem::transmute(&varinput)).into() @@ -1318,7 +1318,7 @@ impl windows_core::RuntimeName for ISchema {} #[cfg(feature = "Win32_System_Com")] impl ISchema_Vtbl { pub const fn new, Impl: ISchema_Impl, const OFFSET: isize>() -> ISchema_Vtbl { - unsafe extern "system" fn targetNamespace, Impl: ISchema_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetnamespace: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn targetNamespace, Impl: ISchema_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetnamespace: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchema_Impl::targetNamespace(this) { @@ -1329,7 +1329,7 @@ impl ISchema_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn version, Impl: ISchema_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn version, Impl: ISchema_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchema_Impl::version(this) { @@ -1512,7 +1512,7 @@ impl ISchemaAttribute_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn defaultValue, Impl: ISchemaAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, defaultvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn defaultValue, Impl: ISchemaAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, defaultvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaAttribute_Impl::defaultValue(this) { @@ -1523,7 +1523,7 @@ impl ISchemaAttribute_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn fixedValue, Impl: ISchemaAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fixedvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn fixedValue, Impl: ISchemaAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fixedvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaAttribute_Impl::fixedValue(this) { @@ -1747,7 +1747,7 @@ impl ISchemaElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn defaultValue, Impl: ISchemaElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, defaultvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn defaultValue, Impl: ISchemaElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, defaultvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaElement_Impl::defaultValue(this) { @@ -1758,7 +1758,7 @@ impl ISchemaElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn fixedValue, Impl: ISchemaElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fixedvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn fixedValue, Impl: ISchemaElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fixedvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaElement_Impl::fixedValue(this) { @@ -1876,7 +1876,7 @@ impl windows_core::RuntimeName for ISchemaIdentityConstraint {} #[cfg(feature = "Win32_System_Com")] impl ISchemaIdentityConstraint_Vtbl { pub const fn new, Impl: ISchemaIdentityConstraint_Impl, const OFFSET: isize>() -> ISchemaIdentityConstraint_Vtbl { - unsafe extern "system" fn selector, Impl: ISchemaIdentityConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, selector: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn selector, Impl: ISchemaIdentityConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, selector: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaIdentityConstraint_Impl::selector(this) { @@ -1935,7 +1935,7 @@ impl windows_core::RuntimeName for ISchemaItem {} #[cfg(feature = "Win32_System_Com")] impl ISchemaItem_Vtbl { pub const fn new, Impl: ISchemaItem_Impl, const OFFSET: isize>() -> ISchemaItem_Vtbl { - unsafe extern "system" fn name, Impl: ISchemaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn name, Impl: ISchemaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaItem_Impl::name(this) { @@ -1946,7 +1946,7 @@ impl ISchemaItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn namespaceURI, Impl: ISchemaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn namespaceURI, Impl: ISchemaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaItem_Impl::namespaceURI(this) { @@ -1968,7 +1968,7 @@ impl ISchemaItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn id, Impl: ISchemaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn id, Impl: ISchemaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaItem_Impl::id(this) { @@ -2051,7 +2051,7 @@ impl ISchemaItemCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn itemByName, Impl: ISchemaItemCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn itemByName, Impl: ISchemaItemCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaItemCollection_Impl::itemByName(this, core::mem::transmute(&name)) { @@ -2062,7 +2062,7 @@ impl ISchemaItemCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn itemByQName, Impl: ISchemaItemCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, namespaceuri: std::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn itemByQName, Impl: ISchemaItemCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, namespaceuri: core::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaItemCollection_Impl::itemByQName(this, core::mem::transmute(&name), core::mem::transmute(&namespaceuri)) { @@ -2144,7 +2144,7 @@ impl windows_core::RuntimeName for ISchemaNotation {} #[cfg(feature = "Win32_System_Com")] impl ISchemaNotation_Vtbl { pub const fn new, Impl: ISchemaNotation_Impl, const OFFSET: isize>() -> ISchemaNotation_Vtbl { - unsafe extern "system" fn systemIdentifier, Impl: ISchemaNotation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn systemIdentifier, Impl: ISchemaNotation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaNotation_Impl::systemIdentifier(this) { @@ -2155,7 +2155,7 @@ impl ISchemaNotation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn publicIdentifier, Impl: ISchemaNotation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn publicIdentifier, Impl: ISchemaNotation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaNotation_Impl::publicIdentifier(this) { @@ -2186,7 +2186,7 @@ impl windows_core::RuntimeName for ISchemaParticle {} #[cfg(feature = "Win32_System_Com")] impl ISchemaParticle_Vtbl { pub const fn new, Impl: ISchemaParticle_Impl, const OFFSET: isize>() -> ISchemaParticle_Vtbl { - unsafe extern "system" fn minOccurs, Impl: ISchemaParticle_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, minoccurs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn minOccurs, Impl: ISchemaParticle_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, minoccurs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaParticle_Impl::minOccurs(this) { @@ -2197,7 +2197,7 @@ impl ISchemaParticle_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn maxOccurs, Impl: ISchemaParticle_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxoccurs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn maxOccurs, Impl: ISchemaParticle_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxoccurs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaParticle_Impl::maxOccurs(this) { @@ -2229,7 +2229,7 @@ impl windows_core::RuntimeName for ISchemaStringCollection {} #[cfg(feature = "Win32_System_Com")] impl ISchemaStringCollection_Vtbl { pub const fn new, Impl: ISchemaStringCollection_Impl, const OFFSET: isize>() -> ISchemaStringCollection_Vtbl { - unsafe extern "system" fn get_item, Impl: ISchemaStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, bstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_item, Impl: ISchemaStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, bstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaStringCollection_Impl::get_item(this, core::mem::transmute_copy(&index)) { @@ -2342,7 +2342,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn isValid, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit, valid: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn isValid, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit, valid: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::isValid(this, core::mem::transmute(&data)) { @@ -2353,7 +2353,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn minExclusive, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, minexclusive: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn minExclusive, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, minexclusive: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::minExclusive(this) { @@ -2364,7 +2364,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn minInclusive, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mininclusive: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn minInclusive, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mininclusive: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::minInclusive(this) { @@ -2375,7 +2375,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn maxExclusive, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxexclusive: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn maxExclusive, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxexclusive: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::maxExclusive(this) { @@ -2386,7 +2386,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn maxInclusive, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxinclusive: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn maxInclusive, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxinclusive: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::maxInclusive(this) { @@ -2397,7 +2397,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn totalDigits, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, totaldigits: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn totalDigits, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, totaldigits: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::totalDigits(this) { @@ -2408,7 +2408,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn fractionDigits, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fractiondigits: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn fractionDigits, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fractiondigits: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::fractionDigits(this) { @@ -2419,7 +2419,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn length, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, length: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn length, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, length: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::length(this) { @@ -2430,7 +2430,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn minLength, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, minlength: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn minLength, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, minlength: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::minLength(this) { @@ -2441,7 +2441,7 @@ impl ISchemaType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn maxLength, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxlength: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn maxLength, Impl: ISchemaType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxlength: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchemaType_Impl::maxLength(this) { @@ -2527,7 +2527,7 @@ impl IServerXMLHTTPRequest_Vtbl { let this = (*this).get_impl(); IServerXMLHTTPRequest_Impl::setTimeouts(this, core::mem::transmute_copy(&resolvetimeout), core::mem::transmute_copy(&connecttimeout), core::mem::transmute_copy(&sendtimeout), core::mem::transmute_copy(&receivetimeout)).into() } - unsafe extern "system" fn waitForResponse, Impl: IServerXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timeoutinseconds: std::mem::MaybeUninit, issuccessful: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn waitForResponse, Impl: IServerXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timeoutinseconds: core::mem::MaybeUninit, issuccessful: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IServerXMLHTTPRequest_Impl::waitForResponse(this, core::mem::transmute(&timeoutinseconds)) { @@ -2538,7 +2538,7 @@ impl IServerXMLHTTPRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getOption, Impl: IServerXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: SERVERXMLHTTP_OPTION, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getOption, Impl: IServerXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: SERVERXMLHTTP_OPTION, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IServerXMLHTTPRequest_Impl::getOption(this, core::mem::transmute_copy(&option)) { @@ -2549,7 +2549,7 @@ impl IServerXMLHTTPRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setOption, Impl: IServerXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: SERVERXMLHTTP_OPTION, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setOption, Impl: IServerXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: SERVERXMLHTTP_OPTION, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IServerXMLHTTPRequest_Impl::setOption(this, core::mem::transmute_copy(&option), core::mem::transmute(&value)).into() @@ -2576,12 +2576,12 @@ impl windows_core::RuntimeName for IServerXMLHTTPRequest2 {} #[cfg(feature = "Win32_System_Com")] impl IServerXMLHTTPRequest2_Vtbl { pub const fn new, Impl: IServerXMLHTTPRequest2_Impl, const OFFSET: isize>() -> IServerXMLHTTPRequest2_Vtbl { - unsafe extern "system" fn setProxy, Impl: IServerXMLHTTPRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, proxysetting: SXH_PROXY_SETTING, varproxyserver: std::mem::MaybeUninit, varbypasslist: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setProxy, Impl: IServerXMLHTTPRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, proxysetting: SXH_PROXY_SETTING, varproxyserver: core::mem::MaybeUninit, varbypasslist: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IServerXMLHTTPRequest2_Impl::setProxy(this, core::mem::transmute_copy(&proxysetting), core::mem::transmute(&varproxyserver), core::mem::transmute(&varbypasslist)).into() } - unsafe extern "system" fn setProxyCredentials, Impl: IServerXMLHTTPRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setProxyCredentials, Impl: IServerXMLHTTPRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IServerXMLHTTPRequest2_Impl::setProxyCredentials(this, core::mem::transmute(&bstrusername), core::mem::transmute(&bstrpassword)).into() @@ -2651,7 +2651,7 @@ impl IVBMXNamespaceManager_Vtbl { let this = (*this).get_impl(); IVBMXNamespaceManager_Impl::popContext(this).into() } - unsafe extern "system" fn declarePrefix, Impl: IVBMXNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: std::mem::MaybeUninit, namespaceuri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn declarePrefix, Impl: IVBMXNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: core::mem::MaybeUninit, namespaceuri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBMXNamespaceManager_Impl::declarePrefix(this, core::mem::transmute(&prefix), core::mem::transmute(&namespaceuri)).into() @@ -2667,7 +2667,7 @@ impl IVBMXNamespaceManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getPrefixes, Impl: IVBMXNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: std::mem::MaybeUninit, prefixes: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getPrefixes, Impl: IVBMXNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: core::mem::MaybeUninit, prefixes: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBMXNamespaceManager_Impl::getPrefixes(this, core::mem::transmute(&namespaceuri)) { @@ -2678,7 +2678,7 @@ impl IVBMXNamespaceManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getURI, Impl: IVBMXNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: std::mem::MaybeUninit, uri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getURI, Impl: IVBMXNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: core::mem::MaybeUninit, uri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBMXNamespaceManager_Impl::getURI(this, core::mem::transmute(&prefix)) { @@ -2689,7 +2689,7 @@ impl IVBMXNamespaceManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getURIFromNode, Impl: IVBMXNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprefix: std::mem::MaybeUninit, contextnode: *mut core::ffi::c_void, uri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getURIFromNode, Impl: IVBMXNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprefix: core::mem::MaybeUninit, contextnode: *mut core::ffi::c_void, uri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBMXNamespaceManager_Impl::getURIFromNode(this, core::mem::transmute(&strprefix), windows_core::from_raw_borrowed(&contextnode)) { @@ -2750,7 +2750,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getURI, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, struri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getURI, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, struri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getURI(this, core::mem::transmute_copy(&nindex)) { @@ -2761,7 +2761,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getLocalName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strlocalname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getLocalName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strlocalname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getLocalName(this, core::mem::transmute_copy(&nindex)) { @@ -2772,7 +2772,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getQName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strqname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getQName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strqname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getQName(this, core::mem::transmute_copy(&nindex)) { @@ -2783,7 +2783,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getIndexFromName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, struri: std::mem::MaybeUninit, strlocalname: std::mem::MaybeUninit, nindex: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn getIndexFromName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, struri: core::mem::MaybeUninit, strlocalname: core::mem::MaybeUninit, nindex: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getIndexFromName(this, core::mem::transmute(&struri), core::mem::transmute(&strlocalname)) { @@ -2794,7 +2794,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getIndexFromQName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strqname: std::mem::MaybeUninit, nindex: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn getIndexFromQName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strqname: core::mem::MaybeUninit, nindex: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getIndexFromQName(this, core::mem::transmute(&strqname)) { @@ -2805,7 +2805,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getType, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getType, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getType(this, core::mem::transmute_copy(&nindex)) { @@ -2816,7 +2816,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getTypeFromName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, struri: std::mem::MaybeUninit, strlocalname: std::mem::MaybeUninit, strtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getTypeFromName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, struri: core::mem::MaybeUninit, strlocalname: core::mem::MaybeUninit, strtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getTypeFromName(this, core::mem::transmute(&struri), core::mem::transmute(&strlocalname)) { @@ -2827,7 +2827,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getTypeFromQName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strqname: std::mem::MaybeUninit, strtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getTypeFromQName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strqname: core::mem::MaybeUninit, strtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getTypeFromQName(this, core::mem::transmute(&strqname)) { @@ -2838,7 +2838,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getValue, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getValue, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, strvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getValue(this, core::mem::transmute_copy(&nindex)) { @@ -2849,7 +2849,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getValueFromName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, struri: std::mem::MaybeUninit, strlocalname: std::mem::MaybeUninit, strvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getValueFromName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, struri: core::mem::MaybeUninit, strlocalname: core::mem::MaybeUninit, strvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getValueFromName(this, core::mem::transmute(&struri), core::mem::transmute(&strlocalname)) { @@ -2860,7 +2860,7 @@ impl IVBSAXAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getValueFromQName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strqname: std::mem::MaybeUninit, strvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getValueFromQName, Impl: IVBSAXAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strqname: core::mem::MaybeUninit, strvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXAttributes_Impl::getValueFromQName(this, core::mem::transmute(&strqname)) { @@ -2925,42 +2925,42 @@ impl IVBSAXContentHandler_Vtbl { let this = (*this).get_impl(); IVBSAXContentHandler_Impl::endDocument(this).into() } - unsafe extern "system" fn startPrefixMapping, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprefix: *mut std::mem::MaybeUninit, struri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn startPrefixMapping, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprefix: *mut core::mem::MaybeUninit, struri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXContentHandler_Impl::startPrefixMapping(this, core::mem::transmute_copy(&strprefix), core::mem::transmute_copy(&struri)).into() } - unsafe extern "system" fn endPrefixMapping, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprefix: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn endPrefixMapping, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprefix: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXContentHandler_Impl::endPrefixMapping(this, core::mem::transmute_copy(&strprefix)).into() } - unsafe extern "system" fn startElement, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespaceuri: *mut std::mem::MaybeUninit, strlocalname: *mut std::mem::MaybeUninit, strqname: *mut std::mem::MaybeUninit, oattributes: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn startElement, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespaceuri: *mut core::mem::MaybeUninit, strlocalname: *mut core::mem::MaybeUninit, strqname: *mut core::mem::MaybeUninit, oattributes: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXContentHandler_Impl::startElement(this, core::mem::transmute_copy(&strnamespaceuri), core::mem::transmute_copy(&strlocalname), core::mem::transmute_copy(&strqname), windows_core::from_raw_borrowed(&oattributes)).into() } - unsafe extern "system" fn endElement, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespaceuri: *mut std::mem::MaybeUninit, strlocalname: *mut std::mem::MaybeUninit, strqname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn endElement, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespaceuri: *mut core::mem::MaybeUninit, strlocalname: *mut core::mem::MaybeUninit, strqname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXContentHandler_Impl::endElement(this, core::mem::transmute_copy(&strnamespaceuri), core::mem::transmute_copy(&strlocalname), core::mem::transmute_copy(&strqname)).into() } - unsafe extern "system" fn characters, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strchars: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn characters, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strchars: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXContentHandler_Impl::characters(this, core::mem::transmute_copy(&strchars)).into() } - unsafe extern "system" fn ignorableWhitespace, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strchars: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ignorableWhitespace, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strchars: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXContentHandler_Impl::ignorableWhitespace(this, core::mem::transmute_copy(&strchars)).into() } - unsafe extern "system" fn processingInstruction, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtarget: *mut std::mem::MaybeUninit, strdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn processingInstruction, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtarget: *mut core::mem::MaybeUninit, strdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXContentHandler_Impl::processingInstruction(this, core::mem::transmute_copy(&strtarget), core::mem::transmute_copy(&strdata)).into() } - unsafe extern "system" fn skippedEntity, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn skippedEntity, Impl: IVBSAXContentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXContentHandler_Impl::skippedEntity(this, core::mem::transmute_copy(&strname)).into() @@ -2994,12 +2994,12 @@ impl windows_core::RuntimeName for IVBSAXDTDHandler {} #[cfg(feature = "Win32_System_Com")] impl IVBSAXDTDHandler_Vtbl { pub const fn new, Impl: IVBSAXDTDHandler_Impl, const OFFSET: isize>() -> IVBSAXDTDHandler_Vtbl { - unsafe extern "system" fn notationDecl, Impl: IVBSAXDTDHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit, strpublicid: *mut std::mem::MaybeUninit, strsystemid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn notationDecl, Impl: IVBSAXDTDHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit, strpublicid: *mut core::mem::MaybeUninit, strsystemid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXDTDHandler_Impl::notationDecl(this, core::mem::transmute_copy(&strname), core::mem::transmute_copy(&strpublicid), core::mem::transmute_copy(&strsystemid)).into() } - unsafe extern "system" fn unparsedEntityDecl, Impl: IVBSAXDTDHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit, strpublicid: *mut std::mem::MaybeUninit, strsystemid: *mut std::mem::MaybeUninit, strnotationname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn unparsedEntityDecl, Impl: IVBSAXDTDHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit, strpublicid: *mut core::mem::MaybeUninit, strsystemid: *mut core::mem::MaybeUninit, strnotationname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXDTDHandler_Impl::unparsedEntityDecl(this, core::mem::transmute_copy(&strname), core::mem::transmute_copy(&strpublicid), core::mem::transmute_copy(&strsystemid), core::mem::transmute_copy(&strnotationname)).into() @@ -3026,22 +3026,22 @@ impl windows_core::RuntimeName for IVBSAXDeclHandler {} #[cfg(feature = "Win32_System_Com")] impl IVBSAXDeclHandler_Vtbl { pub const fn new, Impl: IVBSAXDeclHandler_Impl, const OFFSET: isize>() -> IVBSAXDeclHandler_Vtbl { - unsafe extern "system" fn elementDecl, Impl: IVBSAXDeclHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit, strmodel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn elementDecl, Impl: IVBSAXDeclHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit, strmodel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXDeclHandler_Impl::elementDecl(this, core::mem::transmute_copy(&strname), core::mem::transmute_copy(&strmodel)).into() } - unsafe extern "system" fn attributeDecl, Impl: IVBSAXDeclHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strelementname: *mut std::mem::MaybeUninit, strattributename: *mut std::mem::MaybeUninit, strtype: *mut std::mem::MaybeUninit, strvaluedefault: *mut std::mem::MaybeUninit, strvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn attributeDecl, Impl: IVBSAXDeclHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strelementname: *mut core::mem::MaybeUninit, strattributename: *mut core::mem::MaybeUninit, strtype: *mut core::mem::MaybeUninit, strvaluedefault: *mut core::mem::MaybeUninit, strvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXDeclHandler_Impl::attributeDecl(this, core::mem::transmute_copy(&strelementname), core::mem::transmute_copy(&strattributename), core::mem::transmute_copy(&strtype), core::mem::transmute_copy(&strvaluedefault), core::mem::transmute_copy(&strvalue)).into() } - unsafe extern "system" fn internalEntityDecl, Impl: IVBSAXDeclHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit, strvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn internalEntityDecl, Impl: IVBSAXDeclHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit, strvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXDeclHandler_Impl::internalEntityDecl(this, core::mem::transmute_copy(&strname), core::mem::transmute_copy(&strvalue)).into() } - unsafe extern "system" fn externalEntityDecl, Impl: IVBSAXDeclHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit, strpublicid: *mut std::mem::MaybeUninit, strsystemid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn externalEntityDecl, Impl: IVBSAXDeclHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit, strpublicid: *mut core::mem::MaybeUninit, strsystemid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXDeclHandler_Impl::externalEntityDecl(this, core::mem::transmute_copy(&strname), core::mem::transmute_copy(&strpublicid), core::mem::transmute_copy(&strsystemid)).into() @@ -3067,7 +3067,7 @@ impl windows_core::RuntimeName for IVBSAXEntityResolver {} #[cfg(feature = "Win32_System_Com")] impl IVBSAXEntityResolver_Vtbl { pub const fn new, Impl: IVBSAXEntityResolver_Impl, const OFFSET: isize>() -> IVBSAXEntityResolver_Vtbl { - unsafe extern "system" fn resolveEntity, Impl: IVBSAXEntityResolver_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpublicid: *mut std::mem::MaybeUninit, strsystemid: *mut std::mem::MaybeUninit, varinput: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn resolveEntity, Impl: IVBSAXEntityResolver_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpublicid: *mut core::mem::MaybeUninit, strsystemid: *mut core::mem::MaybeUninit, varinput: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXEntityResolver_Impl::resolveEntity(this, core::mem::transmute_copy(&strpublicid), core::mem::transmute_copy(&strsystemid)) { @@ -3098,17 +3098,17 @@ impl windows_core::RuntimeName for IVBSAXErrorHandler {} #[cfg(feature = "Win32_System_Com")] impl IVBSAXErrorHandler_Vtbl { pub const fn new, Impl: IVBSAXErrorHandler_Impl, const OFFSET: isize>() -> IVBSAXErrorHandler_Vtbl { - unsafe extern "system" fn error, Impl: IVBSAXErrorHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, olocator: *mut core::ffi::c_void, strerrormessage: *mut std::mem::MaybeUninit, nerrorcode: i32) -> windows_core::HRESULT { + unsafe extern "system" fn error, Impl: IVBSAXErrorHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, olocator: *mut core::ffi::c_void, strerrormessage: *mut core::mem::MaybeUninit, nerrorcode: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXErrorHandler_Impl::error(this, windows_core::from_raw_borrowed(&olocator), core::mem::transmute_copy(&strerrormessage), core::mem::transmute_copy(&nerrorcode)).into() } - unsafe extern "system" fn fatalError, Impl: IVBSAXErrorHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, olocator: *mut core::ffi::c_void, strerrormessage: *mut std::mem::MaybeUninit, nerrorcode: i32) -> windows_core::HRESULT { + unsafe extern "system" fn fatalError, Impl: IVBSAXErrorHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, olocator: *mut core::ffi::c_void, strerrormessage: *mut core::mem::MaybeUninit, nerrorcode: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXErrorHandler_Impl::fatalError(this, windows_core::from_raw_borrowed(&olocator), core::mem::transmute_copy(&strerrormessage), core::mem::transmute_copy(&nerrorcode)).into() } - unsafe extern "system" fn ignorableWarning, Impl: IVBSAXErrorHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, olocator: *mut core::ffi::c_void, strerrormessage: *mut std::mem::MaybeUninit, nerrorcode: i32) -> windows_core::HRESULT { + unsafe extern "system" fn ignorableWarning, Impl: IVBSAXErrorHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, olocator: *mut core::ffi::c_void, strerrormessage: *mut core::mem::MaybeUninit, nerrorcode: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXErrorHandler_Impl::ignorableWarning(this, windows_core::from_raw_borrowed(&olocator), core::mem::transmute_copy(&strerrormessage), core::mem::transmute_copy(&nerrorcode)).into() @@ -3139,7 +3139,7 @@ impl windows_core::RuntimeName for IVBSAXLexicalHandler {} #[cfg(feature = "Win32_System_Com")] impl IVBSAXLexicalHandler_Vtbl { pub const fn new, Impl: IVBSAXLexicalHandler_Impl, const OFFSET: isize>() -> IVBSAXLexicalHandler_Vtbl { - unsafe extern "system" fn startDTD, Impl: IVBSAXLexicalHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit, strpublicid: *mut std::mem::MaybeUninit, strsystemid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn startDTD, Impl: IVBSAXLexicalHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit, strpublicid: *mut core::mem::MaybeUninit, strsystemid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXLexicalHandler_Impl::startDTD(this, core::mem::transmute_copy(&strname), core::mem::transmute_copy(&strpublicid), core::mem::transmute_copy(&strsystemid)).into() @@ -3149,12 +3149,12 @@ impl IVBSAXLexicalHandler_Vtbl { let this = (*this).get_impl(); IVBSAXLexicalHandler_Impl::endDTD(this).into() } - unsafe extern "system" fn startEntity, Impl: IVBSAXLexicalHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn startEntity, Impl: IVBSAXLexicalHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXLexicalHandler_Impl::startEntity(this, core::mem::transmute_copy(&strname)).into() } - unsafe extern "system" fn endEntity, Impl: IVBSAXLexicalHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn endEntity, Impl: IVBSAXLexicalHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXLexicalHandler_Impl::endEntity(this, core::mem::transmute_copy(&strname)).into() @@ -3169,7 +3169,7 @@ impl IVBSAXLexicalHandler_Vtbl { let this = (*this).get_impl(); IVBSAXLexicalHandler_Impl::endCDATA(this).into() } - unsafe extern "system" fn comment, Impl: IVBSAXLexicalHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strchars: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn comment, Impl: IVBSAXLexicalHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strchars: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXLexicalHandler_Impl::comment(this, core::mem::transmute_copy(&strchars)).into() @@ -3223,7 +3223,7 @@ impl IVBSAXLocator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn publicId, Impl: IVBSAXLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpublicid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn publicId, Impl: IVBSAXLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpublicid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXLocator_Impl::publicId(this) { @@ -3234,7 +3234,7 @@ impl IVBSAXLocator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn systemId, Impl: IVBSAXLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsystemid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn systemId, Impl: IVBSAXLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsystemid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXLocator_Impl::systemId(this) { @@ -3319,7 +3319,7 @@ impl windows_core::RuntimeName for IVBSAXXMLReader {} #[cfg(feature = "Win32_System_Com")] impl IVBSAXXMLReader_Vtbl { pub const fn new, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>() -> IVBSAXXMLReader_Vtbl { - unsafe extern "system" fn getFeature, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, fvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn getFeature, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, fvalue: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::getFeature(this, core::mem::transmute(&strname)) { @@ -3330,12 +3330,12 @@ impl IVBSAXXMLReader_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn putFeature, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, fvalue: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn putFeature, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, fvalue: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXXMLReader_Impl::putFeature(this, core::mem::transmute(&strname), core::mem::transmute_copy(&fvalue)).into() } - unsafe extern "system" fn getProperty, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, varvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getProperty, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, varvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::getProperty(this, core::mem::transmute(&strname)) { @@ -3346,7 +3346,7 @@ impl IVBSAXXMLReader_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn putProperty, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, varvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn putProperty, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, varvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXXMLReader_Impl::putProperty(this, core::mem::transmute(&strname), core::mem::transmute(&varvalue)).into() @@ -3415,7 +3415,7 @@ impl IVBSAXXMLReader_Vtbl { let this = (*this).get_impl(); IVBSAXXMLReader_Impl::putref_errorHandler(this, windows_core::from_raw_borrowed(&ohandler)).into() } - unsafe extern "system" fn baseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbaseurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn baseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbaseurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::baseURL(this) { @@ -3426,12 +3426,12 @@ impl IVBSAXXMLReader_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetbaseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbaseurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetbaseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbaseurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXXMLReader_Impl::SetbaseURL(this, core::mem::transmute(&strbaseurl)).into() } - unsafe extern "system" fn secureBaseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsecurebaseurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn secureBaseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsecurebaseurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVBSAXXMLReader_Impl::secureBaseURL(this) { @@ -3442,17 +3442,17 @@ impl IVBSAXXMLReader_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetsecureBaseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsecurebaseurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetsecureBaseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsecurebaseurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXXMLReader_Impl::SetsecureBaseURL(this, core::mem::transmute(&strsecurebaseurl)).into() } - unsafe extern "system" fn parse, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varinput: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn parse, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varinput: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXXMLReader_Impl::parse(this, core::mem::transmute(&varinput)).into() } - unsafe extern "system" fn parseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn parseURL, Impl: IVBSAXXMLReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBSAXXMLReader_Impl::parseURL(this, core::mem::transmute(&strurl)).into() @@ -3493,7 +3493,7 @@ impl windows_core::RuntimeName for IXMLAttribute {} #[cfg(feature = "Win32_System_Com")] impl IXMLAttribute_Vtbl { pub const fn new, Impl: IXMLAttribute_Impl, const OFFSET: isize>() -> IXMLAttribute_Vtbl { - unsafe extern "system" fn name, Impl: IXMLAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, n: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn name, Impl: IXMLAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, n: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLAttribute_Impl::name(this) { @@ -3504,7 +3504,7 @@ impl IXMLAttribute_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn value, Impl: IXMLAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn value, Impl: IXMLAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLAttribute_Impl::value(this) { @@ -3536,7 +3536,7 @@ impl windows_core::RuntimeName for IXMLDOMAttribute {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMAttribute_Vtbl { pub const fn new, Impl: IXMLDOMAttribute_Impl, const OFFSET: isize>() -> IXMLDOMAttribute_Vtbl { - unsafe extern "system" fn name, Impl: IXMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn name, Impl: IXMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMAttribute_Impl::name(this) { @@ -3547,7 +3547,7 @@ impl IXMLDOMAttribute_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn value, Impl: IXMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributevalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn value, Impl: IXMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributevalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMAttribute_Impl::value(this) { @@ -3558,7 +3558,7 @@ impl IXMLDOMAttribute_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Setvalue, Impl: IXMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributevalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setvalue, Impl: IXMLDOMAttribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributevalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMAttribute_Impl::Setvalue(this, core::mem::transmute(&attributevalue)).into() @@ -3603,7 +3603,7 @@ impl windows_core::RuntimeName for IXMLDOMCharacterData {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMCharacterData_Vtbl { pub const fn new, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>() -> IXMLDOMCharacterData_Vtbl { - unsafe extern "system" fn data, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn data, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMCharacterData_Impl::data(this) { @@ -3614,7 +3614,7 @@ impl IXMLDOMCharacterData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Setdata, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setdata, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMCharacterData_Impl::Setdata(this, core::mem::transmute(&data)).into() @@ -3630,7 +3630,7 @@ impl IXMLDOMCharacterData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn substringData, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: i32, count: i32, data: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn substringData, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: i32, count: i32, data: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMCharacterData_Impl::substringData(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&count)) { @@ -3641,12 +3641,12 @@ impl IXMLDOMCharacterData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn appendData, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn appendData, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMCharacterData_Impl::appendData(this, core::mem::transmute(&data)).into() } - unsafe extern "system" fn insertData, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: i32, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn insertData, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: i32, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMCharacterData_Impl::insertData(this, core::mem::transmute_copy(&offset), core::mem::transmute(&data)).into() @@ -3656,7 +3656,7 @@ impl IXMLDOMCharacterData_Vtbl { let this = (*this).get_impl(); IXMLDOMCharacterData_Impl::deleteData(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&count)).into() } - unsafe extern "system" fn replaceData, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: i32, count: i32, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn replaceData, Impl: IXMLDOMCharacterData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offset: i32, count: i32, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMCharacterData_Impl::replaceData(this, core::mem::transmute_copy(&offset), core::mem::transmute_copy(&count), core::mem::transmute(&data)).into() @@ -3769,7 +3769,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); IXMLDOMDocument_Impl::putref_documentElement(this, windows_core::from_raw_borrowed(&domelement)).into() } - unsafe extern "system" fn createElement, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tagname: std::mem::MaybeUninit, element: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createElement, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tagname: core::mem::MaybeUninit, element: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createElement(this, core::mem::transmute(&tagname)) { @@ -3791,7 +3791,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createTextNode, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit, text: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createTextNode, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit, text: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createTextNode(this, core::mem::transmute(&data)) { @@ -3802,7 +3802,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createComment, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit, comment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createComment, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit, comment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createComment(this, core::mem::transmute(&data)) { @@ -3813,7 +3813,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createCDATASection, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit, cdata: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createCDATASection, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit, cdata: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createCDATASection(this, core::mem::transmute(&data)) { @@ -3824,7 +3824,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createProcessingInstruction, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, target: std::mem::MaybeUninit, data: std::mem::MaybeUninit, pi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createProcessingInstruction, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, target: core::mem::MaybeUninit, data: core::mem::MaybeUninit, pi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createProcessingInstruction(this, core::mem::transmute(&target), core::mem::transmute(&data)) { @@ -3835,7 +3835,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createAttribute, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, attribute: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createAttribute, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, attribute: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createAttribute(this, core::mem::transmute(&name)) { @@ -3846,7 +3846,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createEntityReference, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, entityref: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createEntityReference, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, entityref: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createEntityReference(this, core::mem::transmute(&name)) { @@ -3857,7 +3857,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getElementsByTagName, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tagname: std::mem::MaybeUninit, resultlist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getElementsByTagName, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tagname: core::mem::MaybeUninit, resultlist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::getElementsByTagName(this, core::mem::transmute(&tagname)) { @@ -3868,7 +3868,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createNode, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: std::mem::MaybeUninit, name: std::mem::MaybeUninit, namespaceuri: std::mem::MaybeUninit, node: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createNode, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: core::mem::MaybeUninit, name: core::mem::MaybeUninit, namespaceuri: core::mem::MaybeUninit, node: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::createNode(this, core::mem::transmute(&r#type), core::mem::transmute(&name), core::mem::transmute(&namespaceuri)) { @@ -3879,7 +3879,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn nodeFromID, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idstring: std::mem::MaybeUninit, node: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn nodeFromID, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idstring: core::mem::MaybeUninit, node: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::nodeFromID(this, core::mem::transmute(&idstring)) { @@ -3890,7 +3890,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn load, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xmlsource: std::mem::MaybeUninit, issuccessful: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn load, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xmlsource: core::mem::MaybeUninit, issuccessful: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::load(this, core::mem::transmute(&xmlsource)) { @@ -3923,7 +3923,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn url, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, urlstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn url, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, urlstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::url(this) { @@ -3955,7 +3955,7 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); IXMLDOMDocument_Impl::abort(this).into() } - unsafe extern "system" fn loadXML, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: std::mem::MaybeUninit, issuccessful: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn loadXML, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: core::mem::MaybeUninit, issuccessful: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument_Impl::loadXML(this, core::mem::transmute(&bstrxml)) { @@ -3966,7 +3966,7 @@ impl IXMLDOMDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn save, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destination: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn save, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destination: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMDocument_Impl::save(this, core::mem::transmute(&destination)).into() @@ -4019,17 +4019,17 @@ impl IXMLDOMDocument_Vtbl { let this = (*this).get_impl(); IXMLDOMDocument_Impl::SetpreserveWhiteSpace(this, core::mem::transmute_copy(&ispreserving)).into() } - unsafe extern "system" fn Setonreadystatechange, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, readystatechangesink: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setonreadystatechange, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, readystatechangesink: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMDocument_Impl::Setonreadystatechange(this, core::mem::transmute(&readystatechangesink)).into() } - unsafe extern "system" fn Setondataavailable, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ondataavailablesink: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setondataavailable, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ondataavailablesink: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMDocument_Impl::Setondataavailable(this, core::mem::transmute(&ondataavailablesink)).into() } - unsafe extern "system" fn Setontransformnode, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ontransformnodesink: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setontransformnode, Impl: IXMLDOMDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ontransformnodesink: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMDocument_Impl::Setontransformnode(this, core::mem::transmute(&ontransformnodesink)).into() @@ -4100,7 +4100,7 @@ impl IXMLDOMDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn schemas, Impl: IXMLDOMDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, othercollection: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn schemas, Impl: IXMLDOMDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, othercollection: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument2_Impl::schemas(this) { @@ -4111,7 +4111,7 @@ impl IXMLDOMDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn putref_schemas, Impl: IXMLDOMDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, othercollection: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn putref_schemas, Impl: IXMLDOMDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, othercollection: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMDocument2_Impl::putref_schemas(this, core::mem::transmute(&othercollection)).into() @@ -4127,12 +4127,12 @@ impl IXMLDOMDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setProperty, Impl: IXMLDOMDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setProperty, Impl: IXMLDOMDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMDocument2_Impl::setProperty(this, core::mem::transmute(&name), core::mem::transmute(&value)).into() } - unsafe extern "system" fn getProperty, Impl: IXMLDOMDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getProperty, Impl: IXMLDOMDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocument2_Impl::getProperty(this, core::mem::transmute(&name)) { @@ -4223,7 +4223,7 @@ impl windows_core::RuntimeName for IXMLDOMDocumentType {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMDocumentType_Vtbl { pub const fn new, Impl: IXMLDOMDocumentType_Impl, const OFFSET: isize>() -> IXMLDOMDocumentType_Vtbl { - unsafe extern "system" fn name, Impl: IXMLDOMDocumentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rootname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn name, Impl: IXMLDOMDocumentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rootname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMDocumentType_Impl::name(this) { @@ -4284,7 +4284,7 @@ impl windows_core::RuntimeName for IXMLDOMElement {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMElement_Vtbl { pub const fn new, Impl: IXMLDOMElement_Impl, const OFFSET: isize>() -> IXMLDOMElement_Vtbl { - unsafe extern "system" fn tagName, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tagname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn tagName, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tagname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMElement_Impl::tagName(this) { @@ -4295,7 +4295,7 @@ impl IXMLDOMElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getAttribute, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getAttribute, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMElement_Impl::getAttribute(this, core::mem::transmute(&name)) { @@ -4306,17 +4306,17 @@ impl IXMLDOMElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setAttribute, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setAttribute, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMElement_Impl::setAttribute(this, core::mem::transmute(&name), core::mem::transmute(&value)).into() } - unsafe extern "system" fn removeAttribute, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn removeAttribute, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMElement_Impl::removeAttribute(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn getAttributeNode, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, attributenode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getAttributeNode, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, attributenode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMElement_Impl::getAttributeNode(this, core::mem::transmute(&name)) { @@ -4349,7 +4349,7 @@ impl IXMLDOMElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getElementsByTagName, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tagname: std::mem::MaybeUninit, resultlist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getElementsByTagName, Impl: IXMLDOMElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tagname: core::mem::MaybeUninit, resultlist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMElement_Impl::getElementsByTagName(this, core::mem::transmute(&tagname)) { @@ -4393,7 +4393,7 @@ impl windows_core::RuntimeName for IXMLDOMEntity {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMEntity_Vtbl { pub const fn new, Impl: IXMLDOMEntity_Impl, const OFFSET: isize>() -> IXMLDOMEntity_Vtbl { - unsafe extern "system" fn publicId, Impl: IXMLDOMEntity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, publicid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn publicId, Impl: IXMLDOMEntity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, publicid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMEntity_Impl::publicId(this) { @@ -4404,7 +4404,7 @@ impl IXMLDOMEntity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn systemId, Impl: IXMLDOMEntity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, systemid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn systemId, Impl: IXMLDOMEntity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, systemid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMEntity_Impl::systemId(this) { @@ -4415,7 +4415,7 @@ impl IXMLDOMEntity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn notationName, Impl: IXMLDOMEntity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn notationName, Impl: IXMLDOMEntity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMEntity_Impl::notationName(this) { @@ -4459,7 +4459,7 @@ impl windows_core::RuntimeName for IXMLDOMImplementation {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMImplementation_Vtbl { pub const fn new, Impl: IXMLDOMImplementation_Impl, const OFFSET: isize>() -> IXMLDOMImplementation_Vtbl { - unsafe extern "system" fn hasFeature, Impl: IXMLDOMImplementation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feature: std::mem::MaybeUninit, version: std::mem::MaybeUninit, hasfeature: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn hasFeature, Impl: IXMLDOMImplementation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feature: core::mem::MaybeUninit, version: core::mem::MaybeUninit, hasfeature: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMImplementation_Impl::hasFeature(this, core::mem::transmute(&feature), core::mem::transmute(&version)) { @@ -4494,7 +4494,7 @@ impl windows_core::RuntimeName for IXMLDOMNamedNodeMap {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNamedNodeMap_Vtbl { pub const fn new, Impl: IXMLDOMNamedNodeMap_Impl, const OFFSET: isize>() -> IXMLDOMNamedNodeMap_Vtbl { - unsafe extern "system" fn getNamedItem, Impl: IXMLDOMNamedNodeMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, nameditem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getNamedItem, Impl: IXMLDOMNamedNodeMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, nameditem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::getNamedItem(this, core::mem::transmute(&name)) { @@ -4516,7 +4516,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn removeNamedItem, Impl: IXMLDOMNamedNodeMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, nameditem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn removeNamedItem, Impl: IXMLDOMNamedNodeMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, nameditem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::removeNamedItem(this, core::mem::transmute(&name)) { @@ -4549,7 +4549,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getQualifiedItem, Impl: IXMLDOMNamedNodeMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, basename: std::mem::MaybeUninit, namespaceuri: std::mem::MaybeUninit, qualifieditem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getQualifiedItem, Impl: IXMLDOMNamedNodeMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, basename: core::mem::MaybeUninit, namespaceuri: core::mem::MaybeUninit, qualifieditem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::getQualifiedItem(this, core::mem::transmute(&basename), core::mem::transmute(&namespaceuri)) { @@ -4560,7 +4560,7 @@ impl IXMLDOMNamedNodeMap_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn removeQualifiedItem, Impl: IXMLDOMNamedNodeMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, basename: std::mem::MaybeUninit, namespaceuri: std::mem::MaybeUninit, qualifieditem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn removeQualifiedItem, Impl: IXMLDOMNamedNodeMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, basename: core::mem::MaybeUninit, namespaceuri: core::mem::MaybeUninit, qualifieditem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNamedNodeMap_Impl::removeQualifiedItem(this, core::mem::transmute(&basename), core::mem::transmute(&namespaceuri)) { @@ -4660,7 +4660,7 @@ impl windows_core::RuntimeName for IXMLDOMNode {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNode_Vtbl { pub const fn new, Impl: IXMLDOMNode_Impl, const OFFSET: isize>() -> IXMLDOMNode_Vtbl { - unsafe extern "system" fn nodeName, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn nodeName, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::nodeName(this) { @@ -4671,7 +4671,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn nodeValue, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn nodeValue, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::nodeValue(this) { @@ -4682,7 +4682,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetnodeValue, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetnodeValue, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMNode_Impl::SetnodeValue(this, core::mem::transmute(&value)).into() @@ -4775,7 +4775,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn insertBefore, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newchild: *mut core::ffi::c_void, refchild: std::mem::MaybeUninit, outnewchild: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn insertBefore, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newchild: *mut core::ffi::c_void, refchild: core::mem::MaybeUninit, outnewchild: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::insertBefore(this, windows_core::from_raw_borrowed(&newchild), core::mem::transmute(&refchild)) { @@ -4852,7 +4852,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn nodeTypeString, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nodetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn nodeTypeString, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nodetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::nodeTypeString(this) { @@ -4863,7 +4863,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn text, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn text, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::text(this) { @@ -4874,7 +4874,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Settext, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Settext, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMNode_Impl::Settext(this, core::mem::transmute(&text)).into() @@ -4901,7 +4901,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn nodeTypedValue, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typedvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn nodeTypedValue, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typedvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::nodeTypedValue(this) { @@ -4912,12 +4912,12 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetnodeTypedValue, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typedvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetnodeTypedValue, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typedvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMNode_Impl::SetnodeTypedValue(this, core::mem::transmute(&typedvalue)).into() } - unsafe extern "system" fn dataType, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, datatypename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn dataType, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, datatypename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::dataType(this) { @@ -4928,12 +4928,12 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetdataType, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, datatypename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetdataType, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, datatypename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMNode_Impl::SetdataType(this, core::mem::transmute(&datatypename)).into() } - unsafe extern "system" fn xml, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xmlstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn xml, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xmlstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::xml(this) { @@ -4944,7 +4944,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn transformNode, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, stylesheet: *mut core::ffi::c_void, xmlstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn transformNode, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, stylesheet: *mut core::ffi::c_void, xmlstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::transformNode(this, windows_core::from_raw_borrowed(&stylesheet)) { @@ -4955,7 +4955,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn selectNodes, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, querystring: std::mem::MaybeUninit, resultlist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn selectNodes, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, querystring: core::mem::MaybeUninit, resultlist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::selectNodes(this, core::mem::transmute(&querystring)) { @@ -4966,7 +4966,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn selectSingleNode, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, querystring: std::mem::MaybeUninit, resultnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn selectSingleNode, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, querystring: core::mem::MaybeUninit, resultnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::selectSingleNode(this, core::mem::transmute(&querystring)) { @@ -4988,7 +4988,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn namespaceURI, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn namespaceURI, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::namespaceURI(this) { @@ -4999,7 +4999,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn prefix, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefixstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn prefix, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefixstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::prefix(this) { @@ -5010,7 +5010,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn baseName, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namestring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn baseName, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namestring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNode_Impl::baseName(this) { @@ -5021,7 +5021,7 @@ impl IXMLDOMNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn transformNodeToObject, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, stylesheet: *mut core::ffi::c_void, outputobject: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn transformNodeToObject, Impl: IXMLDOMNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, stylesheet: *mut core::ffi::c_void, outputobject: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMNode_Impl::transformNodeToObject(this, windows_core::from_raw_borrowed(&stylesheet), core::mem::transmute(&outputobject)).into() @@ -5155,7 +5155,7 @@ impl windows_core::RuntimeName for IXMLDOMNotation {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNotation_Vtbl { pub const fn new, Impl: IXMLDOMNotation_Impl, const OFFSET: isize>() -> IXMLDOMNotation_Vtbl { - unsafe extern "system" fn publicId, Impl: IXMLDOMNotation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, publicid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn publicId, Impl: IXMLDOMNotation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, publicid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNotation_Impl::publicId(this) { @@ -5166,7 +5166,7 @@ impl IXMLDOMNotation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn systemId, Impl: IXMLDOMNotation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, systemid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn systemId, Impl: IXMLDOMNotation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, systemid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMNotation_Impl::systemId(this) { @@ -5213,7 +5213,7 @@ impl IXMLDOMParseError_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn url, Impl: IXMLDOMParseError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, urlstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn url, Impl: IXMLDOMParseError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, urlstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMParseError_Impl::url(this) { @@ -5224,7 +5224,7 @@ impl IXMLDOMParseError_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn reason, Impl: IXMLDOMParseError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reasonstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn reason, Impl: IXMLDOMParseError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reasonstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMParseError_Impl::reason(this) { @@ -5235,7 +5235,7 @@ impl IXMLDOMParseError_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn srcText, Impl: IXMLDOMParseError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcestring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn srcText, Impl: IXMLDOMParseError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcestring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMParseError_Impl::srcText(this) { @@ -5306,7 +5306,7 @@ impl windows_core::RuntimeName for IXMLDOMParseError2 {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMParseError2_Vtbl { pub const fn new, Impl: IXMLDOMParseError2_Impl, const OFFSET: isize>() -> IXMLDOMParseError2_Vtbl { - unsafe extern "system" fn errorXPath, Impl: IXMLDOMParseError2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpathexpr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn errorXPath, Impl: IXMLDOMParseError2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpathexpr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMParseError2_Impl::errorXPath(this) { @@ -5328,7 +5328,7 @@ impl IXMLDOMParseError2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn errorParameters, Impl: IXMLDOMParseError2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, param1: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn errorParameters, Impl: IXMLDOMParseError2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, param1: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMParseError2_Impl::errorParameters(this, core::mem::transmute_copy(&index)) { @@ -5448,7 +5448,7 @@ impl windows_core::RuntimeName for IXMLDOMProcessingInstruction {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMProcessingInstruction_Vtbl { pub const fn new, Impl: IXMLDOMProcessingInstruction_Impl, const OFFSET: isize>() -> IXMLDOMProcessingInstruction_Vtbl { - unsafe extern "system" fn target, Impl: IXMLDOMProcessingInstruction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn target, Impl: IXMLDOMProcessingInstruction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMProcessingInstruction_Impl::target(this) { @@ -5459,7 +5459,7 @@ impl IXMLDOMProcessingInstruction_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn data, Impl: IXMLDOMProcessingInstruction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn data, Impl: IXMLDOMProcessingInstruction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMProcessingInstruction_Impl::data(this) { @@ -5470,7 +5470,7 @@ impl IXMLDOMProcessingInstruction_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Setdata, Impl: IXMLDOMProcessingInstruction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setdata, Impl: IXMLDOMProcessingInstruction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMProcessingInstruction_Impl::Setdata(this, core::mem::transmute(&value)).into() @@ -5501,12 +5501,12 @@ impl windows_core::RuntimeName for IXMLDOMSchemaCollection {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMSchemaCollection_Vtbl { pub const fn new, Impl: IXMLDOMSchemaCollection_Impl, const OFFSET: isize>() -> IXMLDOMSchemaCollection_Vtbl { - unsafe extern "system" fn add, Impl: IXMLDOMSchemaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: std::mem::MaybeUninit, var: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn add, Impl: IXMLDOMSchemaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: core::mem::MaybeUninit, var: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMSchemaCollection_Impl::add(this, core::mem::transmute(&namespaceuri), core::mem::transmute(&var)).into() } - unsafe extern "system" fn get, Impl: IXMLDOMSchemaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: std::mem::MaybeUninit, schemanode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get, Impl: IXMLDOMSchemaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: core::mem::MaybeUninit, schemanode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMSchemaCollection_Impl::get(this, core::mem::transmute(&namespaceuri)) { @@ -5517,7 +5517,7 @@ impl IXMLDOMSchemaCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn remove, Impl: IXMLDOMSchemaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn remove, Impl: IXMLDOMSchemaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMSchemaCollection_Impl::remove(this, core::mem::transmute(&namespaceuri)).into() @@ -5533,7 +5533,7 @@ impl IXMLDOMSchemaCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_namespaceURI, Impl: IXMLDOMSchemaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, length: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_namespaceURI, Impl: IXMLDOMSchemaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, length: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMSchemaCollection_Impl::get_namespaceURI(this, core::mem::transmute_copy(&index)) { @@ -5609,7 +5609,7 @@ impl IXMLDOMSchemaCollection2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getSchema, Impl: IXMLDOMSchemaCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: std::mem::MaybeUninit, schema: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getSchema, Impl: IXMLDOMSchemaCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: core::mem::MaybeUninit, schema: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMSchemaCollection2_Impl::getSchema(this, core::mem::transmute(&namespaceuri)) { @@ -5663,7 +5663,7 @@ impl windows_core::RuntimeName for IXMLDOMSelection {} #[cfg(feature = "Win32_System_Com")] impl IXMLDOMSelection_Vtbl { pub const fn new, Impl: IXMLDOMSelection_Impl, const OFFSET: isize>() -> IXMLDOMSelection_Vtbl { - unsafe extern "system" fn expr, Impl: IXMLDOMSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expression: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn expr, Impl: IXMLDOMSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expression: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMSelection_Impl::expr(this) { @@ -5674,7 +5674,7 @@ impl IXMLDOMSelection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Setexpr, Impl: IXMLDOMSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expression: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setexpr, Impl: IXMLDOMSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expression: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMSelection_Impl::Setexpr(this, core::mem::transmute(&expression)).into() @@ -5744,7 +5744,7 @@ impl IXMLDOMSelection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getProperty, Impl: IXMLDOMSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getProperty, Impl: IXMLDOMSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDOMSelection_Impl::getProperty(this, core::mem::transmute(&name)) { @@ -5755,7 +5755,7 @@ impl IXMLDOMSelection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setProperty, Impl: IXMLDOMSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setProperty, Impl: IXMLDOMSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDOMSelection_Impl::setProperty(this, core::mem::transmute(&name), core::mem::transmute(&value)).into() @@ -5907,7 +5907,7 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn fileSize, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn fileSize, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::fileSize(this) { @@ -5918,7 +5918,7 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn fileModifiedDate, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn fileModifiedDate, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::fileModifiedDate(this) { @@ -5929,7 +5929,7 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn fileUpdatedDate, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn fileUpdatedDate, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::fileUpdatedDate(this) { @@ -5940,7 +5940,7 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn URL, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn URL, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::URL(this) { @@ -5951,12 +5951,12 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetURL, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetURL, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDocument_Impl::SetURL(this, core::mem::transmute(&p)).into() } - unsafe extern "system" fn mimeType, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn mimeType, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::mimeType(this) { @@ -5978,7 +5978,7 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn charset, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn charset, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::charset(this) { @@ -5989,12 +5989,12 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Setcharset, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setcharset, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDocument_Impl::Setcharset(this, core::mem::transmute(&p)).into() } - unsafe extern "system" fn version, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn version, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::version(this) { @@ -6005,7 +6005,7 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn doctype, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn doctype, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::doctype(this) { @@ -6016,7 +6016,7 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn dtdURL, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn dtdURL, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::dtdURL(this) { @@ -6027,7 +6027,7 @@ impl IXMLDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createElement, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtype: std::mem::MaybeUninit, var1: std::mem::MaybeUninit, ppelem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createElement, Impl: IXMLDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtype: core::mem::MaybeUninit, var1: core::mem::MaybeUninit, ppelem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument_Impl::createElement(this, core::mem::transmute(&vtype), core::mem::transmute(&var1)) { @@ -6095,7 +6095,7 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn fileSize, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn fileSize, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::fileSize(this) { @@ -6106,7 +6106,7 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn fileModifiedDate, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn fileModifiedDate, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::fileModifiedDate(this) { @@ -6117,7 +6117,7 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn fileUpdatedDate, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn fileUpdatedDate, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::fileUpdatedDate(this) { @@ -6128,7 +6128,7 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn URL, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn URL, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::URL(this) { @@ -6139,12 +6139,12 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetURL, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetURL, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDocument2_Impl::SetURL(this, core::mem::transmute(&p)).into() } - unsafe extern "system" fn mimeType, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn mimeType, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::mimeType(this) { @@ -6166,7 +6166,7 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn charset, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn charset, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::charset(this) { @@ -6177,12 +6177,12 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Setcharset, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setcharset, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLDocument2_Impl::Setcharset(this, core::mem::transmute(&p)).into() } - unsafe extern "system" fn version, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn version, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::version(this) { @@ -6193,7 +6193,7 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn doctype, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn doctype, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::doctype(this) { @@ -6204,7 +6204,7 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn dtdURL, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn dtdURL, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::dtdURL(this) { @@ -6215,7 +6215,7 @@ impl IXMLDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createElement, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtype: std::mem::MaybeUninit, var1: std::mem::MaybeUninit, ppelem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn createElement, Impl: IXMLDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtype: core::mem::MaybeUninit, var1: core::mem::MaybeUninit, ppelem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLDocument2_Impl::createElement(this, core::mem::transmute(&vtype), core::mem::transmute(&var1)) { @@ -6286,7 +6286,7 @@ impl windows_core::RuntimeName for IXMLElement {} #[cfg(feature = "Win32_System_Com")] impl IXMLElement_Vtbl { pub const fn new, Impl: IXMLElement_Impl, const OFFSET: isize>() -> IXMLElement_Vtbl { - unsafe extern "system" fn tagName, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn tagName, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLElement_Impl::tagName(this) { @@ -6297,7 +6297,7 @@ impl IXMLElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SettagName, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SettagName, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLElement_Impl::SettagName(this, core::mem::transmute(&p)).into() @@ -6313,12 +6313,12 @@ impl IXMLElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setAttribute, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit, propertyvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setAttribute, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit, propertyvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLElement_Impl::setAttribute(this, core::mem::transmute(&strpropertyname), core::mem::transmute(&propertyvalue)).into() } - unsafe extern "system" fn getAttribute, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getAttribute, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLElement_Impl::getAttribute(this, core::mem::transmute(&strpropertyname)) { @@ -6329,7 +6329,7 @@ impl IXMLElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn removeAttribute, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn removeAttribute, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLElement_Impl::removeAttribute(this, core::mem::transmute(&strpropertyname)).into() @@ -6356,7 +6356,7 @@ impl IXMLElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn text, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn text, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLElement_Impl::text(this) { @@ -6367,7 +6367,7 @@ impl IXMLElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Settext, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Settext, Impl: IXMLElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLElement_Impl::Settext(this, core::mem::transmute(&p)).into() @@ -6423,7 +6423,7 @@ impl windows_core::RuntimeName for IXMLElement2 {} #[cfg(feature = "Win32_System_Com")] impl IXMLElement2_Vtbl { pub const fn new, Impl: IXMLElement2_Impl, const OFFSET: isize>() -> IXMLElement2_Vtbl { - unsafe extern "system" fn tagName, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn tagName, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLElement2_Impl::tagName(this) { @@ -6434,7 +6434,7 @@ impl IXMLElement2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SettagName, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SettagName, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLElement2_Impl::SettagName(this, core::mem::transmute(&p)).into() @@ -6450,12 +6450,12 @@ impl IXMLElement2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setAttribute, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit, propertyvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setAttribute, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit, propertyvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLElement2_Impl::setAttribute(this, core::mem::transmute(&strpropertyname), core::mem::transmute(&propertyvalue)).into() } - unsafe extern "system" fn getAttribute, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getAttribute, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLElement2_Impl::getAttribute(this, core::mem::transmute(&strpropertyname)) { @@ -6466,7 +6466,7 @@ impl IXMLElement2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn removeAttribute, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn removeAttribute, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLElement2_Impl::removeAttribute(this, core::mem::transmute(&strpropertyname)).into() @@ -6493,7 +6493,7 @@ impl IXMLElement2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn text, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn text, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLElement2_Impl::text(this) { @@ -6504,7 +6504,7 @@ impl IXMLElement2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Settext, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Settext, Impl: IXMLElement2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLElement2_Impl::Settext(this, core::mem::transmute(&p)).into() @@ -6590,7 +6590,7 @@ impl IXMLElementCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn item, Impl: IXMLElementCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var1: std::mem::MaybeUninit, var2: std::mem::MaybeUninit, ppdisp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn item, Impl: IXMLElementCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var1: core::mem::MaybeUninit, var2: core::mem::MaybeUninit, ppdisp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLElementCollection_Impl::item(this, core::mem::transmute(&var1), core::mem::transmute(&var2)) { @@ -6652,17 +6652,17 @@ impl windows_core::RuntimeName for IXMLHTTPRequest {} #[cfg(feature = "Win32_System_Com")] impl IXMLHTTPRequest_Vtbl { pub const fn new, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>() -> IXMLHTTPRequest_Vtbl { - unsafe extern "system" fn open, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmethod: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, varasync: std::mem::MaybeUninit, bstruser: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn open, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmethod: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, varasync: core::mem::MaybeUninit, bstruser: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLHTTPRequest_Impl::open(this, core::mem::transmute(&bstrmethod), core::mem::transmute(&bstrurl), core::mem::transmute(&varasync), core::mem::transmute(&bstruser), core::mem::transmute(&bstrpassword)).into() } - unsafe extern "system" fn setRequestHeader, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrheader: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setRequestHeader, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrheader: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLHTTPRequest_Impl::setRequestHeader(this, core::mem::transmute(&bstrheader), core::mem::transmute(&bstrvalue)).into() } - unsafe extern "system" fn getResponseHeader, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrheader: std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getResponseHeader, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrheader: core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::getResponseHeader(this, core::mem::transmute(&bstrheader)) { @@ -6673,7 +6673,7 @@ impl IXMLHTTPRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getAllResponseHeaders, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrheaders: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getAllResponseHeaders, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrheaders: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::getAllResponseHeaders(this) { @@ -6684,7 +6684,7 @@ impl IXMLHTTPRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn send, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn send, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLHTTPRequest_Impl::send(this, core::mem::transmute(&varbody)).into() @@ -6705,7 +6705,7 @@ impl IXMLHTTPRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn statusText, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatus: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn statusText, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatus: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::statusText(this) { @@ -6727,7 +6727,7 @@ impl IXMLHTTPRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn responseText, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn responseText, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::responseText(this) { @@ -6738,7 +6738,7 @@ impl IXMLHTTPRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn responseBody, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn responseBody, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::responseBody(this) { @@ -6749,7 +6749,7 @@ impl IXMLHTTPRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn responseStream, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn responseStream, Impl: IXMLHTTPRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXMLHTTPRequest_Impl::responseStream(this) { @@ -7025,12 +7025,12 @@ impl windows_core::RuntimeName for IXSLProcessor {} #[cfg(feature = "Win32_System_Com")] impl IXSLProcessor_Vtbl { pub const fn new, Impl: IXSLProcessor_Impl, const OFFSET: isize>() -> IXSLProcessor_Vtbl { - unsafe extern "system" fn Setinput, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setinput, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXSLProcessor_Impl::Setinput(this, core::mem::transmute(&var)).into() } - unsafe extern "system" fn input, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn input, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXSLProcessor_Impl::input(this) { @@ -7052,12 +7052,12 @@ impl IXSLProcessor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setStartMode, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mode: std::mem::MaybeUninit, namespaceuri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setStartMode, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mode: core::mem::MaybeUninit, namespaceuri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXSLProcessor_Impl::setStartMode(this, core::mem::transmute(&mode), core::mem::transmute(&namespaceuri)).into() } - unsafe extern "system" fn startMode, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn startMode, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXSLProcessor_Impl::startMode(this) { @@ -7068,7 +7068,7 @@ impl IXSLProcessor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn startModeURI, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn startModeURI, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespaceuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXSLProcessor_Impl::startModeURI(this) { @@ -7079,12 +7079,12 @@ impl IXSLProcessor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Setoutput, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, output: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setoutput, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, output: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXSLProcessor_Impl::Setoutput(this, core::mem::transmute(&output)).into() } - unsafe extern "system" fn output, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poutput: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn output, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poutput: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXSLProcessor_Impl::output(this) { @@ -7122,12 +7122,12 @@ impl IXSLProcessor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn addParameter, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, basename: std::mem::MaybeUninit, parameter: std::mem::MaybeUninit, namespaceuri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addParameter, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, basename: core::mem::MaybeUninit, parameter: core::mem::MaybeUninit, namespaceuri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXSLProcessor_Impl::addParameter(this, core::mem::transmute(&basename), core::mem::transmute(¶meter), core::mem::transmute(&namespaceuri)).into() } - unsafe extern "system" fn addObject, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, obj: *mut core::ffi::c_void, namespaceuri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addObject, Impl: IXSLProcessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, obj: *mut core::ffi::c_void, namespaceuri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXSLProcessor_Impl::addObject(this, windows_core::from_raw_borrowed(&obj), core::mem::transmute(&namespaceuri)).into() @@ -7264,7 +7264,7 @@ impl IXTLRuntime_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ancestorChildNumber, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnodename: std::mem::MaybeUninit, pnode: *mut core::ffi::c_void, pnumber: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn ancestorChildNumber, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnodename: core::mem::MaybeUninit, pnode: *mut core::ffi::c_void, pnumber: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXTLRuntime_Impl::ancestorChildNumber(this, core::mem::transmute(&bstrnodename), windows_core::from_raw_borrowed(&pnode)) { @@ -7286,7 +7286,7 @@ impl IXTLRuntime_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn formatIndex, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, bstrformat: std::mem::MaybeUninit, pbstrformattedstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn formatIndex, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, bstrformat: core::mem::MaybeUninit, pbstrformattedstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXTLRuntime_Impl::formatIndex(this, core::mem::transmute_copy(&lindex), core::mem::transmute(&bstrformat)) { @@ -7297,7 +7297,7 @@ impl IXTLRuntime_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn formatNumber, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dblnumber: f64, bstrformat: std::mem::MaybeUninit, pbstrformattedstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn formatNumber, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dblnumber: f64, bstrformat: core::mem::MaybeUninit, pbstrformattedstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXTLRuntime_Impl::formatNumber(this, core::mem::transmute_copy(&dblnumber), core::mem::transmute(&bstrformat)) { @@ -7308,7 +7308,7 @@ impl IXTLRuntime_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn formatDate, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardate: std::mem::MaybeUninit, bstrformat: std::mem::MaybeUninit, vardestlocale: std::mem::MaybeUninit, pbstrformattedstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn formatDate, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardate: core::mem::MaybeUninit, bstrformat: core::mem::MaybeUninit, vardestlocale: core::mem::MaybeUninit, pbstrformattedstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXTLRuntime_Impl::formatDate(this, core::mem::transmute(&vardate), core::mem::transmute(&bstrformat), core::mem::transmute(&vardestlocale)) { @@ -7319,7 +7319,7 @@ impl IXTLRuntime_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn formatTime, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartime: std::mem::MaybeUninit, bstrformat: std::mem::MaybeUninit, vardestlocale: std::mem::MaybeUninit, pbstrformattedstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn formatTime, Impl: IXTLRuntime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartime: core::mem::MaybeUninit, bstrformat: core::mem::MaybeUninit, vardestlocale: core::mem::MaybeUninit, pbstrformattedstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IXTLRuntime_Impl::formatTime(this, core::mem::transmute(&vartime), core::mem::transmute(&bstrformat), core::mem::transmute(&vardestlocale)) { 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 ea9f1e942c..ff913e2ede 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 @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IMXAttributes, IMXAttributes_Vtbl, 0xf10d27 impl std::ops::Deref for IMXAttributes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -84,23 +84,23 @@ impl IMXAttributes { #[repr(C)] pub struct IMXAttributes_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub addAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub addAttributeFromIndex: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub addAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub addAttributeFromIndex: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setQName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setURI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setQName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setURI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMXNamespaceManager, IMXNamespaceManager_Vtbl, 0xc90352f6_643c_4fbc_bb23_e996eb2d51fd); impl std::ops::Deref for IMXNamespaceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMXNamespaceManager, windows_core::IUnknown); @@ -112,7 +112,7 @@ impl IMXNamespaceManager { (windows_core::Interface::vtable(self).putAllowOverride)(windows_core::Interface::as_raw(self), foverride.param().abi()).ok() } pub unsafe fn getAllowOverride(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAllowOverride)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn reset(&self) -> windows_core::Result<()> { @@ -183,7 +183,7 @@ windows_core::imp::define_interface!(IMXNamespacePrefixes, IMXNamespacePrefixes_ impl std::ops::Deref for IMXNamespacePrefixes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -191,15 +191,15 @@ windows_core::imp::interface_hierarchy!(IMXNamespacePrefixes, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IMXNamespacePrefixes { pub unsafe fn get_item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _newEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._newEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -207,7 +207,7 @@ impl IMXNamespacePrefixes { #[repr(C)] pub struct IMXNamespacePrefixes_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub get_item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _newEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -217,7 +217,7 @@ windows_core::imp::define_interface!(IMXReaderControl, IMXReaderControl_Vtbl, 0x impl std::ops::Deref for IMXReaderControl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -248,7 +248,7 @@ windows_core::imp::define_interface!(IMXSchemaDeclHandler, IMXSchemaDeclHandler_ impl std::ops::Deref for IMXSchemaDeclHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -278,7 +278,7 @@ windows_core::imp::define_interface!(IMXWriter, IMXWriter_Vtbl, 0x4d7ff4ba_1565_ impl std::ops::Deref for IMXWriter { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -292,7 +292,7 @@ impl IMXWriter { (windows_core::Interface::vtable(self).Setoutput)(windows_core::Interface::as_raw(self), vardestination.param().abi()).ok() } pub unsafe fn output(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).output)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Setencoding(&self, strencoding: P0) -> windows_core::Result<()> @@ -302,7 +302,7 @@ impl IMXWriter { (windows_core::Interface::vtable(self).Setencoding)(windows_core::Interface::as_raw(self), strencoding.param().abi()).ok() } pub unsafe fn encoding(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).encoding)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetbyteOrderMark(&self, fwritebyteordermark: P0) -> windows_core::Result<()> @@ -312,7 +312,7 @@ impl IMXWriter { (windows_core::Interface::vtable(self).SetbyteOrderMark)(windows_core::Interface::as_raw(self), fwritebyteordermark.param().abi()).ok() } pub unsafe fn byteOrderMark(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).byteOrderMark)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Setindent(&self, findentmode: P0) -> windows_core::Result<()> @@ -322,7 +322,7 @@ impl IMXWriter { (windows_core::Interface::vtable(self).Setindent)(windows_core::Interface::as_raw(self), findentmode.param().abi()).ok() } pub unsafe fn indent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).indent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Setstandalone(&self, fvalue: P0) -> windows_core::Result<()> @@ -332,7 +332,7 @@ impl IMXWriter { (windows_core::Interface::vtable(self).Setstandalone)(windows_core::Interface::as_raw(self), fvalue.param().abi()).ok() } pub unsafe fn standalone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).standalone)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetomitXMLDeclaration(&self, fvalue: P0) -> windows_core::Result<()> @@ -342,7 +342,7 @@ impl IMXWriter { (windows_core::Interface::vtable(self).SetomitXMLDeclaration)(windows_core::Interface::as_raw(self), fvalue.param().abi()).ok() } pub unsafe fn omitXMLDeclaration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).omitXMLDeclaration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Setversion(&self, strversion: P0) -> windows_core::Result<()> @@ -352,7 +352,7 @@ impl IMXWriter { (windows_core::Interface::vtable(self).Setversion)(windows_core::Interface::as_raw(self), strversion.param().abi()).ok() } pub unsafe fn version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetdisableOutputEscaping(&self, fvalue: P0) -> windows_core::Result<()> @@ -362,7 +362,7 @@ impl IMXWriter { (windows_core::Interface::vtable(self).SetdisableOutputEscaping)(windows_core::Interface::as_raw(self), fvalue.param().abi()).ok() } pub unsafe fn disableOutputEscaping(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).disableOutputEscaping)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn flush(&self) -> windows_core::Result<()> { @@ -373,10 +373,10 @@ impl IMXWriter { #[repr(C)] pub struct IMXWriter_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Setoutput: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub output: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setencoding: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub encoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setoutput: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub output: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setencoding: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub encoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetbyteOrderMark: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub byteOrderMark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Setindent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -385,8 +385,8 @@ pub struct IMXWriter_Vtbl { pub standalone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetomitXMLDeclaration: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub omitXMLDeclaration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Setversion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setversion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetdisableOutputEscaping: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub disableOutputEscaping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -397,7 +397,7 @@ windows_core::imp::define_interface!(IMXXMLFilter, IMXXMLFilter_Vtbl, 0xc90352f7 impl std::ops::Deref for IMXXMLFilter { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -408,7 +408,7 @@ impl IMXXMLFilter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getFeature)(windows_core::Interface::as_raw(self), strname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn putFeature(&self, strname: P0, fvalue: P1) -> windows_core::Result<()> @@ -422,7 +422,7 @@ impl IMXXMLFilter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getProperty)(windows_core::Interface::as_raw(self), strname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putProperty(&self, strname: P0, varvalue: P1) -> windows_core::Result<()> @@ -433,7 +433,7 @@ impl IMXXMLFilter { (windows_core::Interface::vtable(self).putProperty)(windows_core::Interface::as_raw(self), strname.param().abi(), varvalue.param().abi()).ok() } pub unsafe fn entityResolver(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).entityResolver)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putref_entityResolver(&self, oresolver: P0) -> windows_core::Result<()> @@ -443,7 +443,7 @@ impl IMXXMLFilter { (windows_core::Interface::vtable(self).putref_entityResolver)(windows_core::Interface::as_raw(self), oresolver.param().abi()).ok() } pub unsafe fn contentHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).contentHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putref_contentHandler(&self, ohandler: P0) -> windows_core::Result<()> @@ -453,7 +453,7 @@ impl IMXXMLFilter { (windows_core::Interface::vtable(self).putref_contentHandler)(windows_core::Interface::as_raw(self), ohandler.param().abi()).ok() } pub unsafe fn dtdHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).dtdHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putref_dtdHandler(&self, ohandler: P0) -> windows_core::Result<()> @@ -463,7 +463,7 @@ impl IMXXMLFilter { (windows_core::Interface::vtable(self).putref_dtdHandler)(windows_core::Interface::as_raw(self), ohandler.param().abi()).ok() } pub unsafe fn errorHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).errorHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putref_errorHandler(&self, ohandler: P0) -> windows_core::Result<()> @@ -477,10 +477,10 @@ impl IMXXMLFilter { #[repr(C)] pub struct IMXXMLFilter_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub getFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub putFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub putProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub putFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub putProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub entityResolver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_entityResolver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub contentHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -494,13 +494,13 @@ windows_core::imp::define_interface!(ISAXAttributes, ISAXAttributes_Vtbl, 0xf078 impl std::ops::Deref for ISAXAttributes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXAttributes, windows_core::IUnknown); impl ISAXAttributes { pub unsafe fn getLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getURI(&self, nindex: i32, ppwchuri: *mut *mut u16, pcchuri: *mut i32) -> windows_core::Result<()> { @@ -520,14 +520,14 @@ impl ISAXAttributes { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getIndexFromName)(windows_core::Interface::as_raw(self), pwchuri.param().abi(), cchuri, pwchlocalname.param().abi(), cchlocalname, &mut result__).map(|| result__) } pub unsafe fn getIndexFromQName(&self, pwchqname: P0, cchqname: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getIndexFromQName)(windows_core::Interface::as_raw(self), pwchqname.param().abi(), cchqname, &mut result__).map(|| result__) } pub unsafe fn getType(&self, nindex: i32, ppwchtype: *mut *mut u16, pcchtype: *mut i32) -> windows_core::Result<()> { @@ -584,7 +584,7 @@ windows_core::imp::define_interface!(ISAXContentHandler, ISAXContentHandler_Vtbl impl std::ops::Deref for ISAXContentHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXContentHandler, windows_core::IUnknown); @@ -676,7 +676,7 @@ windows_core::imp::define_interface!(ISAXDTDHandler, ISAXDTDHandler_Vtbl, 0xe15c impl std::ops::Deref for ISAXDTDHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXDTDHandler, windows_core::IUnknown); @@ -709,7 +709,7 @@ windows_core::imp::define_interface!(ISAXDeclHandler, ISAXDeclHandler_Vtbl, 0x86 impl std::ops::Deref for ISAXDeclHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXDeclHandler, windows_core::IUnknown); @@ -759,7 +759,7 @@ windows_core::imp::define_interface!(ISAXEntityResolver, ISAXEntityResolver_Vtbl impl std::ops::Deref for ISAXEntityResolver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXEntityResolver, windows_core::IUnknown); @@ -769,20 +769,20 @@ impl ISAXEntityResolver { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).resolveEntity)(windows_core::Interface::as_raw(self), pwchpublicid.param().abi(), pwchsystemid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ISAXEntityResolver_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub resolveEntity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub resolveEntity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXErrorHandler, ISAXErrorHandler_Vtbl, 0xa60511c4_ccf5_479e_98a3_dc8dc545b7d0); impl std::ops::Deref for ISAXErrorHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXErrorHandler, windows_core::IUnknown); @@ -820,7 +820,7 @@ windows_core::imp::define_interface!(ISAXLexicalHandler, ISAXLexicalHandler_Vtbl impl std::ops::Deref for ISAXLexicalHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXLexicalHandler, windows_core::IUnknown); @@ -876,25 +876,25 @@ windows_core::imp::define_interface!(ISAXLocator, ISAXLocator_Vtbl, 0x9b7e472a_0 impl std::ops::Deref for ISAXLocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXLocator, windows_core::IUnknown); impl ISAXLocator { pub unsafe fn getColumnNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getColumnNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getLineNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getLineNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getPublicId(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getPublicId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getSystemId(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -910,13 +910,13 @@ windows_core::imp::define_interface!(ISAXXMLFilter, ISAXXMLFilter_Vtbl, 0x704092 impl std::ops::Deref for ISAXXMLFilter { type Target = ISAXXMLReader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXXMLFilter, windows_core::IUnknown, ISAXXMLReader); impl ISAXXMLFilter { pub unsafe fn getParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putParent(&self, preader: P0) -> windows_core::Result<()> @@ -936,7 +936,7 @@ windows_core::imp::define_interface!(ISAXXMLReader, ISAXXMLReader_Vtbl, 0xa4f96e impl std::ops::Deref for ISAXXMLReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISAXXMLReader, windows_core::IUnknown); @@ -945,7 +945,7 @@ impl ISAXXMLReader { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getFeature)(windows_core::Interface::as_raw(self), pwchname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn putFeature(&self, pwchname: P0, vfvalue: P1) -> windows_core::Result<()> @@ -959,7 +959,7 @@ impl ISAXXMLReader { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getProperty)(windows_core::Interface::as_raw(self), pwchname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putProperty(&self, pwchname: P0, varvalue: P1) -> windows_core::Result<()> @@ -970,7 +970,7 @@ impl ISAXXMLReader { (windows_core::Interface::vtable(self).putProperty)(windows_core::Interface::as_raw(self), pwchname.param().abi(), varvalue.param().abi()).ok() } pub unsafe fn getEntityResolver(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getEntityResolver)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putEntityResolver(&self, presolver: P0) -> windows_core::Result<()> @@ -980,7 +980,7 @@ impl ISAXXMLReader { (windows_core::Interface::vtable(self).putEntityResolver)(windows_core::Interface::as_raw(self), presolver.param().abi()).ok() } pub unsafe fn getContentHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getContentHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putContentHandler(&self, phandler: P0) -> windows_core::Result<()> @@ -990,7 +990,7 @@ impl ISAXXMLReader { (windows_core::Interface::vtable(self).putContentHandler)(windows_core::Interface::as_raw(self), phandler.param().abi()).ok() } pub unsafe fn getDTDHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getDTDHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putDTDHandler(&self, phandler: P0) -> windows_core::Result<()> @@ -1000,7 +1000,7 @@ impl ISAXXMLReader { (windows_core::Interface::vtable(self).putDTDHandler)(windows_core::Interface::as_raw(self), phandler.param().abi()).ok() } pub unsafe fn getErrorHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getErrorHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putErrorHandler(&self, phandler: P0) -> windows_core::Result<()> @@ -1010,7 +1010,7 @@ impl ISAXXMLReader { (windows_core::Interface::vtable(self).putErrorHandler)(windows_core::Interface::as_raw(self), phandler.param().abi()).ok() } pub unsafe fn getBaseURL(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getBaseURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn putBaseURL(&self, pwchbaseurl: P0) -> windows_core::Result<()> @@ -1020,7 +1020,7 @@ impl ISAXXMLReader { (windows_core::Interface::vtable(self).putBaseURL)(windows_core::Interface::as_raw(self), pwchbaseurl.param().abi()).ok() } pub unsafe fn getSecureBaseURL(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getSecureBaseURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn putSecureBaseURL(&self, pwchsecurebaseurl: P0) -> windows_core::Result<()> @@ -1047,8 +1047,8 @@ pub struct ISAXXMLReader_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub getFeature: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub putFeature: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub putProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub putProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, core::mem::MaybeUninit) -> windows_core::HRESULT, pub getEntityResolver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putEntityResolver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub getContentHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1061,7 +1061,7 @@ pub struct ISAXXMLReader_Vtbl { pub putBaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub getSecureBaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16) -> windows_core::HRESULT, pub putSecureBaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub parseURL: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -1070,7 +1070,7 @@ windows_core::imp::define_interface!(ISchema, ISchema_Vtbl, 0x50ea08b4_dd1b_4664 impl std::ops::Deref for ISchema { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1078,46 +1078,46 @@ windows_core::imp::interface_hierarchy!(ISchema, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl ISchema { pub unsafe fn targetNamespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).targetNamespace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn types(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).types)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn elements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).elements)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).attributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributeGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).attributeGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn modelGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).modelGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn notations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).notations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn schemaLocations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).schemaLocations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1125,8 +1125,8 @@ impl ISchema { #[repr(C)] pub struct ISchema_Vtbl { pub base__: ISchemaItem_Vtbl, - pub targetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub targetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub types: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1162,7 +1162,7 @@ windows_core::imp::define_interface!(ISchemaAny, ISchemaAny_Vtbl, 0x50ea08bc_dd1 impl std::ops::Deref for ISchemaAny { type Target = ISchemaParticle; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1171,11 +1171,11 @@ windows_core::imp::interface_hierarchy!(ISchemaAny, windows_core::IUnknown, supe impl ISchemaAny { #[cfg(feature = "Win32_System_Com")] pub unsafe fn namespaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).namespaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn processContents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).processContents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1195,7 +1195,7 @@ windows_core::imp::define_interface!(ISchemaAttribute, ISchemaAttribute_Vtbl, 0x impl std::ops::Deref for ISchemaAttribute { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1204,28 +1204,28 @@ windows_core::imp::interface_hierarchy!(ISchemaAttribute, windows_core::IUnknown impl ISchemaAttribute { #[cfg(feature = "Win32_System_Com")] pub unsafe fn r#type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).r#type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn scope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).scope)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn defaultValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).defaultValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn fixedValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fixedValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn r#use(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).r#use)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn isReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).isReference)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1241,8 +1241,8 @@ pub struct ISchemaAttribute_Vtbl { pub scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] scope: usize, - pub defaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub fixedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub defaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub fixedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub r#use: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCHEMAUSE) -> windows_core::HRESULT, pub isReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -1252,7 +1252,7 @@ windows_core::imp::define_interface!(ISchemaAttributeGroup, ISchemaAttributeGrou impl std::ops::Deref for ISchemaAttributeGroup { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1261,12 +1261,12 @@ windows_core::imp::interface_hierarchy!(ISchemaAttributeGroup, windows_core::IUn impl ISchemaAttributeGroup { #[cfg(feature = "Win32_System_Com")] pub unsafe fn anyAttribute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).anyAttribute)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).attributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1289,7 +1289,7 @@ windows_core::imp::define_interface!(ISchemaComplexType, ISchemaComplexType_Vtbl impl std::ops::Deref for ISchemaComplexType { type Target = ISchemaType; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1297,30 +1297,30 @@ windows_core::imp::interface_hierarchy!(ISchemaComplexType, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISchemaComplexType { pub unsafe fn isAbstract(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).isAbstract)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn anyAttribute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).anyAttribute)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).attributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn contentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).contentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentModel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).contentModel)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn prohibitedSubstitutions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).prohibitedSubstitutions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1350,7 +1350,7 @@ windows_core::imp::define_interface!(ISchemaElement, ISchemaElement_Vtbl, 0x50ea impl std::ops::Deref for ISchemaElement { type Target = ISchemaParticle; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1359,50 +1359,50 @@ windows_core::imp::interface_hierarchy!(ISchemaElement, windows_core::IUnknown, impl ISchemaElement { #[cfg(feature = "Win32_System_Com")] pub unsafe fn r#type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).r#type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn scope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).scope)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn defaultValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).defaultValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn fixedValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fixedValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn isNillable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).isNillable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn identityConstraints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).identityConstraints)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn substitutionGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).substitutionGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn substitutionGroupExclusions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).substitutionGroupExclusions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn disallowedSubstitutions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).disallowedSubstitutions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn isAbstract(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).isAbstract)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn isReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).isReference)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1418,8 +1418,8 @@ pub struct ISchemaElement_Vtbl { pub scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] scope: usize, - pub defaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub fixedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub defaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub fixedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub isNillable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub identityConstraints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1440,7 +1440,7 @@ windows_core::imp::define_interface!(ISchemaIdentityConstraint, ISchemaIdentityC impl std::ops::Deref for ISchemaIdentityConstraint { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1448,17 +1448,17 @@ windows_core::imp::interface_hierarchy!(ISchemaIdentityConstraint, windows_core: #[cfg(feature = "Win32_System_Com")] impl ISchemaIdentityConstraint { pub unsafe fn selector(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).selector)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn fields(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fields)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn referencedKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).referencedKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1466,7 +1466,7 @@ impl ISchemaIdentityConstraint { #[repr(C)] pub struct ISchemaIdentityConstraint_Vtbl { pub base__: ISchemaItem_Vtbl, - pub selector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub selector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub fields: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1482,7 +1482,7 @@ windows_core::imp::define_interface!(ISchemaItem, ISchemaItem_Vtbl, 0x50ea08b3_d impl std::ops::Deref for ISchemaItem { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1490,36 +1490,36 @@ windows_core::imp::interface_hierarchy!(ISchemaItem, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ISchemaItem { pub unsafe fn name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn namespaceURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).namespaceURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn schema(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).schema)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn itemType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).itemType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn unhandledAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).unhandledAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn writeAnnotation(&self, annotationsink: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).writeAnnotation)(windows_core::Interface::as_raw(self), annotationsink.param().abi(), &mut result__).map(|| result__) } } @@ -1527,13 +1527,13 @@ impl ISchemaItem { #[repr(C)] pub struct ISchemaItem_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub namespaceURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub namespaceURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub schema: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] schema: usize, - pub id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub itemType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SOMITEMTYPE) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub unhandledAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1547,7 +1547,7 @@ windows_core::imp::define_interface!(ISchemaItemCollection, ISchemaItemCollectio impl std::ops::Deref for ISchemaItemCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1556,7 +1556,7 @@ windows_core::imp::interface_hierarchy!(ISchemaItemCollection, windows_core::IUn impl ISchemaItemCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1564,7 +1564,7 @@ impl ISchemaItemCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).itemByName)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1573,15 +1573,15 @@ impl ISchemaItemCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).itemByQName)(windows_core::Interface::as_raw(self), name.param().abi(), namespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _newEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._newEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1594,11 +1594,11 @@ pub struct ISchemaItemCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] get_item: usize, #[cfg(feature = "Win32_System_Com")] - pub itemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub itemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] itemByName: usize, #[cfg(feature = "Win32_System_Com")] - pub itemByQName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub itemByQName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] itemByQName: usize, pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1610,7 +1610,7 @@ windows_core::imp::define_interface!(ISchemaModelGroup, ISchemaModelGroup_Vtbl, impl std::ops::Deref for ISchemaModelGroup { type Target = ISchemaParticle; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1619,7 +1619,7 @@ windows_core::imp::interface_hierarchy!(ISchemaModelGroup, windows_core::IUnknow impl ISchemaModelGroup { #[cfg(feature = "Win32_System_Com")] pub unsafe fn particles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).particles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1638,7 +1638,7 @@ windows_core::imp::define_interface!(ISchemaNotation, ISchemaNotation_Vtbl, 0x50 impl std::ops::Deref for ISchemaNotation { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1646,11 +1646,11 @@ windows_core::imp::interface_hierarchy!(ISchemaNotation, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISchemaNotation { pub unsafe fn systemIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).systemIdentifier)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn publicIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).publicIdentifier)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1658,8 +1658,8 @@ impl ISchemaNotation { #[repr(C)] pub struct ISchemaNotation_Vtbl { pub base__: ISchemaItem_Vtbl, - pub systemIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub publicIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub systemIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub publicIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaParticle, ISchemaParticle_Vtbl, 0x50ea08b5_dd1b_4664_9a50_c2f40f4bd79a); @@ -1667,7 +1667,7 @@ windows_core::imp::define_interface!(ISchemaParticle, ISchemaParticle_Vtbl, 0x50 impl std::ops::Deref for ISchemaParticle { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1675,11 +1675,11 @@ windows_core::imp::interface_hierarchy!(ISchemaParticle, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISchemaParticle { pub unsafe fn minOccurs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).minOccurs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn maxOccurs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).maxOccurs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1687,8 +1687,8 @@ impl ISchemaParticle { #[repr(C)] pub struct ISchemaParticle_Vtbl { pub base__: ISchemaItem_Vtbl, - pub minOccurs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub maxOccurs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub minOccurs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub maxOccurs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaStringCollection, ISchemaStringCollection_Vtbl, 0x50ea08b1_dd1b_4664_9a50_c2f40f4bd79a); @@ -1696,7 +1696,7 @@ windows_core::imp::define_interface!(ISchemaStringCollection, ISchemaStringColle impl std::ops::Deref for ISchemaStringCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1704,15 +1704,15 @@ windows_core::imp::interface_hierarchy!(ISchemaStringCollection, windows_core::I #[cfg(feature = "Win32_System_Com")] impl ISchemaStringCollection { pub unsafe fn get_item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _newEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._newEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1720,7 +1720,7 @@ impl ISchemaStringCollection { #[repr(C)] pub struct ISchemaStringCollection_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub get_item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _newEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1730,7 +1730,7 @@ windows_core::imp::define_interface!(ISchemaType, ISchemaType_Vtbl, 0x50ea08b8_d impl std::ops::Deref for ISchemaType { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1739,76 +1739,76 @@ windows_core::imp::interface_hierarchy!(ISchemaType, windows_core::IUnknown, sup impl ISchemaType { #[cfg(feature = "Win32_System_Com")] pub unsafe fn baseTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).baseTypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn r#final(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).r#final)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn variety(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).variety)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn derivedBy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).derivedBy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn isValid(&self, data: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).isValid)(windows_core::Interface::as_raw(self), data.param().abi(), &mut result__).map(|| result__) } pub unsafe fn minExclusive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).minExclusive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn minInclusive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).minInclusive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn maxExclusive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).maxExclusive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn maxInclusive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).maxInclusive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn totalDigits(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).totalDigits)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn fractionDigits(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fractionDigits)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn minLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).minLength)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn maxLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).maxLength)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn enumeration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).enumeration)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn whitespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).whitespace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn patterns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).patterns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1823,16 +1823,16 @@ pub struct ISchemaType_Vtbl { pub r#final: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCHEMADERIVATIONMETHOD) -> windows_core::HRESULT, pub variety: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCHEMATYPEVARIETY) -> windows_core::HRESULT, pub derivedBy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCHEMADERIVATIONMETHOD) -> windows_core::HRESULT, - pub isValid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub minExclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub minInclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub maxExclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub maxInclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub totalDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub fractionDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub minLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub maxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub isValid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub minExclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub minInclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub maxExclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub maxInclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub totalDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub fractionDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub minLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub maxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub enumeration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1849,7 +1849,7 @@ windows_core::imp::define_interface!(IServerXMLHTTPRequest, IServerXMLHTTPReques impl std::ops::Deref for IServerXMLHTTPRequest { type Target = IXMLHTTPRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1863,11 +1863,11 @@ impl IServerXMLHTTPRequest { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).waitForResponse)(windows_core::Interface::as_raw(self), timeoutinseconds.param().abi(), &mut result__).map(|| result__) } pub unsafe fn getOption(&self, option: SERVERXMLHTTP_OPTION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getOption)(windows_core::Interface::as_raw(self), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setOption(&self, option: SERVERXMLHTTP_OPTION, value: P0) -> windows_core::Result<()> @@ -1882,9 +1882,9 @@ impl IServerXMLHTTPRequest { pub struct IServerXMLHTTPRequest_Vtbl { pub base__: IXMLHTTPRequest_Vtbl, pub setTimeouts: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32) -> windows_core::HRESULT, - pub waitForResponse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub getOption: unsafe extern "system" fn(*mut core::ffi::c_void, SERVERXMLHTTP_OPTION, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setOption: unsafe extern "system" fn(*mut core::ffi::c_void, SERVERXMLHTTP_OPTION, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub waitForResponse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub getOption: unsafe extern "system" fn(*mut core::ffi::c_void, SERVERXMLHTTP_OPTION, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setOption: unsafe extern "system" fn(*mut core::ffi::c_void, SERVERXMLHTTP_OPTION, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IServerXMLHTTPRequest2, IServerXMLHTTPRequest2_Vtbl, 0x2e01311b_c322_4b0a_bd77_b90cfdc8dce7); @@ -1892,7 +1892,7 @@ windows_core::imp::define_interface!(IServerXMLHTTPRequest2, IServerXMLHTTPReque impl std::ops::Deref for IServerXMLHTTPRequest2 { type Target = IServerXMLHTTPRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1918,8 +1918,8 @@ impl IServerXMLHTTPRequest2 { #[repr(C)] pub struct IServerXMLHTTPRequest2_Vtbl { pub base__: IServerXMLHTTPRequest_Vtbl, - pub setProxy: unsafe extern "system" fn(*mut core::ffi::c_void, SXH_PROXY_SETTING, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setProxyCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub setProxy: unsafe extern "system" fn(*mut core::ffi::c_void, SXH_PROXY_SETTING, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setProxyCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBMXNamespaceManager, IVBMXNamespaceManager_Vtbl, 0xc90352f5_643c_4fbc_bb23_e996eb2d51fd); @@ -1927,7 +1927,7 @@ windows_core::imp::define_interface!(IVBMXNamespaceManager, IVBMXNamespaceManage impl std::ops::Deref for IVBMXNamespaceManager { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1941,7 +1941,7 @@ impl IVBMXNamespaceManager { (windows_core::Interface::vtable(self).SetallowOverride)(windows_core::Interface::as_raw(self), foverride.param().abi()).ok() } pub unsafe fn allowOverride(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).allowOverride)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn reset(&self) -> windows_core::Result<()> { @@ -1970,7 +1970,7 @@ impl IVBMXNamespaceManager { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn getDeclaredPrefixes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getDeclaredPrefixes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1978,14 +1978,14 @@ impl IVBMXNamespaceManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getPrefixes)(windows_core::Interface::as_raw(self), namespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getURI(&self, prefix: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getURI)(windows_core::Interface::as_raw(self), prefix.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1994,7 +1994,7 @@ impl IVBMXNamespaceManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getURIFromNode)(windows_core::Interface::as_raw(self), strprefix.param().abi(), contextnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2011,18 +2011,18 @@ pub struct IVBMXNamespaceManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] pushNodeContext: usize, pub popContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub declarePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub declarePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub getDeclaredPrefixes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getDeclaredPrefixes: usize, #[cfg(feature = "Win32_System_Com")] - pub getPrefixes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getPrefixes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getPrefixes: usize, - pub getURI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getURI: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub getURIFromNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getURIFromNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getURIFromNode: usize, } @@ -2032,7 +2032,7 @@ windows_core::imp::define_interface!(IVBSAXAttributes, IVBSAXAttributes_Vtbl, 0x impl std::ops::Deref for IVBSAXAttributes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2040,19 +2040,19 @@ windows_core::imp::interface_hierarchy!(IVBSAXAttributes, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IVBSAXAttributes { pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getURI(&self, nindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getURI)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getLocalName(&self, nindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getLocalName)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getQName(&self, nindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getQName)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getIndexFromName(&self, struri: P0, strlocalname: P1) -> windows_core::Result @@ -2060,18 +2060,18 @@ impl IVBSAXAttributes { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getIndexFromName)(windows_core::Interface::as_raw(self), struri.param().abi(), strlocalname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn getIndexFromQName(&self, strqname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getIndexFromQName)(windows_core::Interface::as_raw(self), strqname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn getType(&self, nindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getType)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getTypeFromName(&self, struri: P0, strlocalname: P1) -> windows_core::Result @@ -2079,18 +2079,18 @@ impl IVBSAXAttributes { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getTypeFromName)(windows_core::Interface::as_raw(self), struri.param().abi(), strlocalname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getTypeFromQName(&self, strqname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getTypeFromQName)(windows_core::Interface::as_raw(self), strqname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getValue(&self, nindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getValue)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getValueFromName(&self, struri: P0, strlocalname: P1) -> windows_core::Result @@ -2098,14 +2098,14 @@ impl IVBSAXAttributes { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getValueFromName)(windows_core::Interface::as_raw(self), struri.param().abi(), strlocalname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getValueFromQName(&self, strqname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getValueFromQName)(windows_core::Interface::as_raw(self), strqname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2114,17 +2114,17 @@ impl IVBSAXAttributes { pub struct IVBSAXAttributes_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub getURI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getQName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getIndexFromName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub getIndexFromQName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub getType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getTypeFromName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getTypeFromQName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getValueFromName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getValueFromQName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getURI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getQName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getIndexFromName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub getIndexFromQName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub getType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getTypeFromName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getTypeFromQName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getValueFromName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getValueFromQName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXContentHandler, IVBSAXContentHandler_Vtbl, 0x2ed7290a_4dd5_4b46_bb26_4e4155e77faa); @@ -2132,7 +2132,7 @@ windows_core::imp::define_interface!(IVBSAXContentHandler, IVBSAXContentHandler_ impl std::ops::Deref for IVBSAXContentHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2191,17 +2191,17 @@ pub struct IVBSAXContentHandler_Vtbl { putref_documentLocator: usize, pub startDocument: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub endDocument: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub startPrefixMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub endPrefixMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub startPrefixMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub endPrefixMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub startElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub startElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] startElement: usize, - pub endElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub characters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ignorableWhitespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub processingInstruction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub skippedEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub endElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub characters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ignorableWhitespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub processingInstruction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub skippedEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXDTDHandler, IVBSAXDTDHandler_Vtbl, 0x24fb3297_302d_4620_ba39_3a732d850558); @@ -2209,7 +2209,7 @@ windows_core::imp::define_interface!(IVBSAXDTDHandler, IVBSAXDTDHandler_Vtbl, 0x impl std::ops::Deref for IVBSAXDTDHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2227,8 +2227,8 @@ impl IVBSAXDTDHandler { #[repr(C)] pub struct IVBSAXDTDHandler_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub notationDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub unparsedEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub notationDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub unparsedEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXDeclHandler, IVBSAXDeclHandler_Vtbl, 0xe8917260_7579_4be1_b5dd_7afbfa6f077b); @@ -2236,7 +2236,7 @@ windows_core::imp::define_interface!(IVBSAXDeclHandler, IVBSAXDeclHandler_Vtbl, impl std::ops::Deref for IVBSAXDeclHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2260,10 +2260,10 @@ impl IVBSAXDeclHandler { #[repr(C)] pub struct IVBSAXDeclHandler_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub elementDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub attributeDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub internalEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub externalEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub elementDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub attributeDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub internalEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub externalEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXEntityResolver, IVBSAXEntityResolver_Vtbl, 0x0c05d096_f45b_4aca_ad1a_aa0bc25518dc); @@ -2271,7 +2271,7 @@ windows_core::imp::define_interface!(IVBSAXEntityResolver, IVBSAXEntityResolver_ impl std::ops::Deref for IVBSAXEntityResolver { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2279,7 +2279,7 @@ windows_core::imp::interface_hierarchy!(IVBSAXEntityResolver, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IVBSAXEntityResolver { pub unsafe fn resolveEntity(&self, strpublicid: *mut windows_core::BSTR, strsystemid: *mut windows_core::BSTR) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).resolveEntity)(windows_core::Interface::as_raw(self), core::mem::transmute(strpublicid), core::mem::transmute(strsystemid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2287,7 +2287,7 @@ impl IVBSAXEntityResolver { #[repr(C)] pub struct IVBSAXEntityResolver_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub resolveEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub resolveEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXErrorHandler, IVBSAXErrorHandler_Vtbl, 0xd963d3fe_173c_4862_9095_b92f66995f52); @@ -2295,7 +2295,7 @@ windows_core::imp::define_interface!(IVBSAXErrorHandler, IVBSAXErrorHandler_Vtbl impl std::ops::Deref for IVBSAXErrorHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2329,15 +2329,15 @@ impl IVBSAXErrorHandler { pub struct IVBSAXErrorHandler_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] error: usize, #[cfg(feature = "Win32_System_Com")] - pub fatalError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub fatalError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] fatalError: usize, #[cfg(feature = "Win32_System_Com")] - pub ignorableWarning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub ignorableWarning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ignorableWarning: usize, } @@ -2347,7 +2347,7 @@ windows_core::imp::define_interface!(IVBSAXLexicalHandler, IVBSAXLexicalHandler_ impl std::ops::Deref for IVBSAXLexicalHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2380,13 +2380,13 @@ impl IVBSAXLexicalHandler { #[repr(C)] pub struct IVBSAXLexicalHandler_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub startDTD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub startDTD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub endDTD: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub startEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub endEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub startEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub endEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub startCDATA: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub endCDATA: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXLocator, IVBSAXLocator_Vtbl, 0x796e7ac5_5aa2_4eff_acad_3faaf01a3288); @@ -2394,7 +2394,7 @@ windows_core::imp::define_interface!(IVBSAXLocator, IVBSAXLocator_Vtbl, 0x796e7a impl std::ops::Deref for IVBSAXLocator { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2402,19 +2402,19 @@ windows_core::imp::interface_hierarchy!(IVBSAXLocator, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IVBSAXLocator { pub unsafe fn columnNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).columnNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn lineNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).lineNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn publicId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).publicId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn systemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).systemId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2424,8 +2424,8 @@ pub struct IVBSAXLocator_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub columnNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub lineNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub publicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub publicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXXMLFilter, IVBSAXXMLFilter_Vtbl, 0x1299eb1b_5b88_433e_82de_82ca75ad4e04); @@ -2433,7 +2433,7 @@ windows_core::imp::define_interface!(IVBSAXXMLFilter, IVBSAXXMLFilter_Vtbl, 0x12 impl std::ops::Deref for IVBSAXXMLFilter { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2442,7 +2442,7 @@ windows_core::imp::interface_hierarchy!(IVBSAXXMLFilter, windows_core::IUnknown, impl IVBSAXXMLFilter { #[cfg(feature = "Win32_System_Com")] pub unsafe fn parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2472,7 +2472,7 @@ windows_core::imp::define_interface!(IVBSAXXMLReader, IVBSAXXMLReader_Vtbl, 0x8c impl std::ops::Deref for IVBSAXXMLReader { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2483,7 +2483,7 @@ impl IVBSAXXMLReader { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getFeature)(windows_core::Interface::as_raw(self), strname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn putFeature(&self, strname: P0, fvalue: P1) -> windows_core::Result<()> @@ -2497,7 +2497,7 @@ impl IVBSAXXMLReader { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getProperty)(windows_core::Interface::as_raw(self), strname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putProperty(&self, strname: P0, varvalue: P1) -> windows_core::Result<()> @@ -2509,7 +2509,7 @@ impl IVBSAXXMLReader { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn entityResolver(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).entityResolver)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2521,7 +2521,7 @@ impl IVBSAXXMLReader { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).contentHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2533,7 +2533,7 @@ impl IVBSAXXMLReader { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn dtdHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).dtdHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2545,7 +2545,7 @@ impl IVBSAXXMLReader { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn errorHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).errorHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2556,7 +2556,7 @@ impl IVBSAXXMLReader { (windows_core::Interface::vtable(self).putref_errorHandler)(windows_core::Interface::as_raw(self), ohandler.param().abi()).ok() } pub unsafe fn baseURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).baseURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetbaseURL(&self, strbaseurl: P0) -> windows_core::Result<()> @@ -2566,7 +2566,7 @@ impl IVBSAXXMLReader { (windows_core::Interface::vtable(self).SetbaseURL)(windows_core::Interface::as_raw(self), strbaseurl.param().abi()).ok() } pub unsafe fn secureBaseURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).secureBaseURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetsecureBaseURL(&self, strsecurebaseurl: P0) -> windows_core::Result<()> @@ -2592,10 +2592,10 @@ impl IVBSAXXMLReader { #[repr(C)] pub struct IVBSAXXMLReader_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub getFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub putFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub putProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub putFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub putProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub entityResolver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2628,12 +2628,12 @@ pub struct IVBSAXXMLReader_Vtbl { pub putref_errorHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_errorHandler: usize, - pub baseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetbaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub secureBaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetsecureBaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub parse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub parseURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub baseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetbaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub secureBaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetsecureBaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub parse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub parseURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLAttribute, IXMLAttribute_Vtbl, 0xd4d4a0fc_3b73_11d1_b2b4_00c04fb92596); @@ -2641,7 +2641,7 @@ windows_core::imp::define_interface!(IXMLAttribute, IXMLAttribute_Vtbl, 0xd4d4a0 impl std::ops::Deref for IXMLAttribute { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2649,11 +2649,11 @@ windows_core::imp::interface_hierarchy!(IXMLAttribute, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IXMLAttribute { pub unsafe fn name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2661,8 +2661,8 @@ impl IXMLAttribute { #[repr(C)] pub struct IXMLAttribute_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMAttribute, IXMLDOMAttribute_Vtbl, 0x2933bf85_7b36_11d2_b20e_00c04f983e60); @@ -2670,7 +2670,7 @@ windows_core::imp::define_interface!(IXMLDOMAttribute, IXMLDOMAttribute_Vtbl, 0x impl std::ops::Deref for IXMLDOMAttribute { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2678,11 +2678,11 @@ windows_core::imp::interface_hierarchy!(IXMLDOMAttribute, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IXMLDOMAttribute { pub unsafe fn name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Setvalue(&self, attributevalue: P0) -> windows_core::Result<()> @@ -2696,9 +2696,9 @@ impl IXMLDOMAttribute { #[repr(C)] pub struct IXMLDOMAttribute_Vtbl { pub base__: IXMLDOMNode_Vtbl, - pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setvalue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setvalue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMCDATASection, IXMLDOMCDATASection_Vtbl, 0x2933bf8a_7b36_11d2_b20e_00c04f983e60); @@ -2706,7 +2706,7 @@ windows_core::imp::define_interface!(IXMLDOMCDATASection, IXMLDOMCDATASection_Vt impl std::ops::Deref for IXMLDOMCDATASection { type Target = IXMLDOMText; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2724,7 +2724,7 @@ windows_core::imp::define_interface!(IXMLDOMCharacterData, IXMLDOMCharacterData_ impl std::ops::Deref for IXMLDOMCharacterData { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2732,7 +2732,7 @@ windows_core::imp::interface_hierarchy!(IXMLDOMCharacterData, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IXMLDOMCharacterData { pub unsafe fn data(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).data)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Setdata(&self, data: P0) -> windows_core::Result<()> @@ -2742,11 +2742,11 @@ impl IXMLDOMCharacterData { (windows_core::Interface::vtable(self).Setdata)(windows_core::Interface::as_raw(self), data.param().abi()).ok() } pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn substringData(&self, offset: i32, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).substringData)(windows_core::Interface::as_raw(self), offset, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn appendData(&self, data: P0) -> windows_core::Result<()> @@ -2775,14 +2775,14 @@ impl IXMLDOMCharacterData { #[repr(C)] pub struct IXMLDOMCharacterData_Vtbl { pub base__: IXMLDOMNode_Vtbl, - pub data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setdata: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setdata: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub substringData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub appendData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub insertData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub substringData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub appendData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub insertData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub deleteData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, - pub replaceData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub replaceData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMComment, IXMLDOMComment_Vtbl, 0x2933bf88_7b36_11d2_b20e_00c04f983e60); @@ -2790,7 +2790,7 @@ windows_core::imp::define_interface!(IXMLDOMComment, IXMLDOMComment_Vtbl, 0x2933 impl std::ops::Deref for IXMLDOMComment { type Target = IXMLDOMCharacterData; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2808,7 +2808,7 @@ windows_core::imp::define_interface!(IXMLDOMDocument, IXMLDOMDocument_Vtbl, 0x29 impl std::ops::Deref for IXMLDOMDocument { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2817,17 +2817,17 @@ windows_core::imp::interface_hierarchy!(IXMLDOMDocument, windows_core::IUnknown, impl IXMLDOMDocument { #[cfg(feature = "Win32_System_Com")] pub unsafe fn doctype(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).doctype)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn implementation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).implementation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn documentElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).documentElement)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2842,12 +2842,12 @@ impl IXMLDOMDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createElement)(windows_core::Interface::as_raw(self), tagname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn createDocumentFragment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createDocumentFragment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2855,7 +2855,7 @@ impl IXMLDOMDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createTextNode)(windows_core::Interface::as_raw(self), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2863,7 +2863,7 @@ impl IXMLDOMDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createComment)(windows_core::Interface::as_raw(self), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2871,7 +2871,7 @@ impl IXMLDOMDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createCDATASection)(windows_core::Interface::as_raw(self), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2880,7 +2880,7 @@ impl IXMLDOMDocument { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createProcessingInstruction)(windows_core::Interface::as_raw(self), target.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2888,7 +2888,7 @@ impl IXMLDOMDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createAttribute)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2896,7 +2896,7 @@ impl IXMLDOMDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createEntityReference)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2904,7 +2904,7 @@ impl IXMLDOMDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getElementsByTagName)(windows_core::Interface::as_raw(self), tagname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2914,7 +2914,7 @@ impl IXMLDOMDocument { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createNode)(windows_core::Interface::as_raw(self), r#type.param().abi(), name.param().abi(), namespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2922,31 +2922,31 @@ impl IXMLDOMDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nodeFromID)(windows_core::Interface::as_raw(self), idstring.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn load(&self, xmlsource: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).load)(windows_core::Interface::as_raw(self), xmlsource.param().abi(), &mut result__).map(|| result__) } pub unsafe fn readyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).readyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn parseError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).parseError)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn url(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).url)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn r#async(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).r#async)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Setasync(&self, isasync: P0) -> windows_core::Result<()> @@ -2962,7 +2962,7 @@ impl IXMLDOMDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).loadXML)(windows_core::Interface::as_raw(self), bstrxml.param().abi(), &mut result__).map(|| result__) } pub unsafe fn save(&self, destination: P0) -> windows_core::Result<()> @@ -2972,7 +2972,7 @@ impl IXMLDOMDocument { (windows_core::Interface::vtable(self).save)(windows_core::Interface::as_raw(self), destination.param().abi()).ok() } pub unsafe fn validateOnParse(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).validateOnParse)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetvalidateOnParse(&self, isvalidating: P0) -> windows_core::Result<()> @@ -2982,7 +2982,7 @@ impl IXMLDOMDocument { (windows_core::Interface::vtable(self).SetvalidateOnParse)(windows_core::Interface::as_raw(self), isvalidating.param().abi()).ok() } pub unsafe fn resolveExternals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).resolveExternals)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetresolveExternals(&self, isresolving: P0) -> windows_core::Result<()> @@ -2992,7 +2992,7 @@ impl IXMLDOMDocument { (windows_core::Interface::vtable(self).SetresolveExternals)(windows_core::Interface::as_raw(self), isresolving.param().abi()).ok() } pub unsafe fn preserveWhiteSpace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).preserveWhiteSpace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetpreserveWhiteSpace(&self, ispreserving: P0) -> windows_core::Result<()> @@ -3041,7 +3041,7 @@ pub struct IXMLDOMDocument_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] putref_documentElement: usize, #[cfg(feature = "Win32_System_Com")] - pub createElement: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createElement: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createElement: usize, #[cfg(feature = "Win32_System_Com")] @@ -3049,62 +3049,62 @@ pub struct IXMLDOMDocument_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] createDocumentFragment: usize, #[cfg(feature = "Win32_System_Com")] - pub createTextNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createTextNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createTextNode: usize, #[cfg(feature = "Win32_System_Com")] - pub createComment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createComment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createComment: usize, #[cfg(feature = "Win32_System_Com")] - pub createCDATASection: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createCDATASection: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createCDATASection: usize, #[cfg(feature = "Win32_System_Com")] - pub createProcessingInstruction: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createProcessingInstruction: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createProcessingInstruction: usize, #[cfg(feature = "Win32_System_Com")] - pub createAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createAttribute: usize, #[cfg(feature = "Win32_System_Com")] - pub createEntityReference: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createEntityReference: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createEntityReference: usize, #[cfg(feature = "Win32_System_Com")] - pub getElementsByTagName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getElementsByTagName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getElementsByTagName: usize, #[cfg(feature = "Win32_System_Com")] - pub createNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createNode: usize, #[cfg(feature = "Win32_System_Com")] - pub nodeFromID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub nodeFromID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] nodeFromID: usize, - pub load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub readyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub parseError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] parseError: usize, - pub url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub r#async: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Setasync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub loadXML: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub save: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub loadXML: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub save: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub validateOnParse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetvalidateOnParse: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub resolveExternals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetresolveExternals: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub preserveWhiteSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetpreserveWhiteSpace: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Setonreadystatechange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setondataavailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setontransformnode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setonreadystatechange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setondataavailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setontransformnode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMDocument2, IXMLDOMDocument2_Vtbl, 0x2933bf95_7b36_11d2_b20e_00c04f983e60); @@ -3112,7 +3112,7 @@ windows_core::imp::define_interface!(IXMLDOMDocument2, IXMLDOMDocument2_Vtbl, 0x impl std::ops::Deref for IXMLDOMDocument2 { type Target = IXMLDOMDocument; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3121,11 +3121,11 @@ windows_core::imp::interface_hierarchy!(IXMLDOMDocument2, windows_core::IUnknown impl IXMLDOMDocument2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn namespaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).namespaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn schemas(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).schemas)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putref_schemas(&self, othercollection: P0) -> windows_core::Result<()> @@ -3136,7 +3136,7 @@ impl IXMLDOMDocument2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn validate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).validate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setProperty(&self, name: P0, value: P1) -> windows_core::Result<()> @@ -3150,7 +3150,7 @@ impl IXMLDOMDocument2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getProperty)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3162,14 +3162,14 @@ pub struct IXMLDOMDocument2_Vtbl { pub namespaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] namespaces: usize, - pub schemas: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub putref_schemas: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub schemas: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub putref_schemas: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub validate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] validate: usize, - pub setProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub setProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMDocument3, IXMLDOMDocument3_Vtbl, 0x2933bf96_7b36_11d2_b20e_00c04f983e60); @@ -3177,7 +3177,7 @@ windows_core::imp::define_interface!(IXMLDOMDocument3, IXMLDOMDocument3_Vtbl, 0x impl std::ops::Deref for IXMLDOMDocument3 { type Target = IXMLDOMDocument2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3189,7 +3189,7 @@ impl IXMLDOMDocument3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).validateNode)(windows_core::Interface::as_raw(self), node.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3198,7 +3198,7 @@ impl IXMLDOMDocument3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).importNode)(windows_core::Interface::as_raw(self), node.param().abi(), deep.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3221,7 +3221,7 @@ windows_core::imp::define_interface!(IXMLDOMDocumentFragment, IXMLDOMDocumentFra impl std::ops::Deref for IXMLDOMDocumentFragment { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3239,7 +3239,7 @@ windows_core::imp::define_interface!(IXMLDOMDocumentType, IXMLDOMDocumentType_Vt impl std::ops::Deref for IXMLDOMDocumentType { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3247,17 +3247,17 @@ windows_core::imp::interface_hierarchy!(IXMLDOMDocumentType, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IXMLDOMDocumentType { pub unsafe fn name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn entities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).entities)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn notations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).notations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3265,7 +3265,7 @@ impl IXMLDOMDocumentType { #[repr(C)] pub struct IXMLDOMDocumentType_Vtbl { pub base__: IXMLDOMNode_Vtbl, - pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub entities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3281,7 +3281,7 @@ windows_core::imp::define_interface!(IXMLDOMElement, IXMLDOMElement_Vtbl, 0x2933 impl std::ops::Deref for IXMLDOMElement { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3289,14 +3289,14 @@ windows_core::imp::interface_hierarchy!(IXMLDOMElement, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IXMLDOMElement { pub unsafe fn tagName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).tagName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getAttribute(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttribute)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setAttribute(&self, name: P0, value: P1) -> windows_core::Result<()> @@ -3317,7 +3317,7 @@ impl IXMLDOMElement { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttributeNode)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3325,7 +3325,7 @@ impl IXMLDOMElement { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).setAttributeNode)(windows_core::Interface::as_raw(self), domattribute.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3333,7 +3333,7 @@ impl IXMLDOMElement { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).removeAttributeNode)(windows_core::Interface::as_raw(self), domattribute.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3341,7 +3341,7 @@ impl IXMLDOMElement { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getElementsByTagName)(windows_core::Interface::as_raw(self), tagname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn normalize(&self) -> windows_core::Result<()> { @@ -3352,12 +3352,12 @@ impl IXMLDOMElement { #[repr(C)] pub struct IXMLDOMElement_Vtbl { pub base__: IXMLDOMNode_Vtbl, - pub tagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub tagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub getAttributeNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getAttributeNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getAttributeNode: usize, #[cfg(feature = "Win32_System_Com")] @@ -3369,7 +3369,7 @@ pub struct IXMLDOMElement_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] removeAttributeNode: usize, #[cfg(feature = "Win32_System_Com")] - pub getElementsByTagName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getElementsByTagName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getElementsByTagName: usize, pub normalize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3380,7 +3380,7 @@ windows_core::imp::define_interface!(IXMLDOMEntity, IXMLDOMEntity_Vtbl, 0x2933bf impl std::ops::Deref for IXMLDOMEntity { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3388,15 +3388,15 @@ windows_core::imp::interface_hierarchy!(IXMLDOMEntity, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IXMLDOMEntity { pub unsafe fn publicId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).publicId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn systemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).systemId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn notationName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).notationName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3404,9 +3404,9 @@ impl IXMLDOMEntity { #[repr(C)] pub struct IXMLDOMEntity_Vtbl { pub base__: IXMLDOMNode_Vtbl, - pub publicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub notationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub publicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub notationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMEntityReference, IXMLDOMEntityReference_Vtbl, 0x2933bf8e_7b36_11d2_b20e_00c04f983e60); @@ -3414,7 +3414,7 @@ windows_core::imp::define_interface!(IXMLDOMEntityReference, IXMLDOMEntityRefere impl std::ops::Deref for IXMLDOMEntityReference { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3432,7 +3432,7 @@ windows_core::imp::define_interface!(IXMLDOMImplementation, IXMLDOMImplementatio impl std::ops::Deref for IXMLDOMImplementation { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3444,7 +3444,7 @@ impl IXMLDOMImplementation { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).hasFeature)(windows_core::Interface::as_raw(self), feature.param().abi(), version.param().abi(), &mut result__).map(|| result__) } } @@ -3452,7 +3452,7 @@ impl IXMLDOMImplementation { #[repr(C)] pub struct IXMLDOMImplementation_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub hasFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub hasFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMNamedNodeMap, IXMLDOMNamedNodeMap_Vtbl, 0x2933bf83_7b36_11d2_b20e_00c04f983e60); @@ -3460,7 +3460,7 @@ windows_core::imp::define_interface!(IXMLDOMNamedNodeMap, IXMLDOMNamedNodeMap_Vt impl std::ops::Deref for IXMLDOMNamedNodeMap { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3472,7 +3472,7 @@ impl IXMLDOMNamedNodeMap { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getNamedItem)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3480,7 +3480,7 @@ impl IXMLDOMNamedNodeMap { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).setNamedItem)(windows_core::Interface::as_raw(self), newitem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3488,16 +3488,16 @@ impl IXMLDOMNamedNodeMap { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).removeNamedItem)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3506,7 +3506,7 @@ impl IXMLDOMNamedNodeMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getQualifiedItem)(windows_core::Interface::as_raw(self), basename.param().abi(), namespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3515,19 +3515,19 @@ impl IXMLDOMNamedNodeMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).removeQualifiedItem)(windows_core::Interface::as_raw(self), basename.param().abi(), namespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nextNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._newEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3536,7 +3536,7 @@ impl IXMLDOMNamedNodeMap { pub struct IXMLDOMNamedNodeMap_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub getNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getNamedItem: usize, #[cfg(feature = "Win32_System_Com")] @@ -3544,7 +3544,7 @@ pub struct IXMLDOMNamedNodeMap_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] setNamedItem: usize, #[cfg(feature = "Win32_System_Com")] - pub removeNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub removeNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] removeNamedItem: usize, #[cfg(feature = "Win32_System_Com")] @@ -3553,11 +3553,11 @@ pub struct IXMLDOMNamedNodeMap_Vtbl { get_item: usize, pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub getQualifiedItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getQualifiedItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getQualifiedItem: usize, #[cfg(feature = "Win32_System_Com")] - pub removeQualifiedItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub removeQualifiedItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] removeQualifiedItem: usize, #[cfg(feature = "Win32_System_Com")] @@ -3573,7 +3573,7 @@ windows_core::imp::define_interface!(IXMLDOMNode, IXMLDOMNode_Vtbl, 0x2933bf80_7 impl std::ops::Deref for IXMLDOMNode { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3581,11 +3581,11 @@ windows_core::imp::interface_hierarchy!(IXMLDOMNode, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNode { pub unsafe fn nodeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nodeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn nodeValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nodeValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetnodeValue(&self, value: P0) -> windows_core::Result<()> @@ -3595,42 +3595,42 @@ impl IXMLDOMNode { (windows_core::Interface::vtable(self).SetnodeValue)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn nodeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nodeType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn parentNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).parentNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn childNodes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).childNodes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn firstChild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).firstChild)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn lastChild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).lastChild)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn previousSibling(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).previousSibling)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextSibling(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nextSibling)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).attributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3639,7 +3639,7 @@ impl IXMLDOMNode { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).insertBefore)(windows_core::Interface::as_raw(self), newchild.param().abi(), refchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3648,7 +3648,7 @@ impl IXMLDOMNode { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).replaceChild)(windows_core::Interface::as_raw(self), newchild.param().abi(), oldchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3656,7 +3656,7 @@ impl IXMLDOMNode { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).removeChild)(windows_core::Interface::as_raw(self), childnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3664,16 +3664,16 @@ impl IXMLDOMNode { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).appendChild)(windows_core::Interface::as_raw(self), newchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn hasChildNodes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).hasChildNodes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ownerDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3681,15 +3681,15 @@ impl IXMLDOMNode { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).cloneNode)(windows_core::Interface::as_raw(self), deep.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn nodeTypeString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nodeTypeString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn text(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).text)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Settext(&self, text: P0) -> windows_core::Result<()> @@ -3699,16 +3699,16 @@ impl IXMLDOMNode { (windows_core::Interface::vtable(self).Settext)(windows_core::Interface::as_raw(self), text.param().abi()).ok() } pub unsafe fn specified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).specified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn definition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).definition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn nodeTypedValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nodeTypedValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetnodeTypedValue(&self, typedvalue: P0) -> windows_core::Result<()> @@ -3718,7 +3718,7 @@ impl IXMLDOMNode { (windows_core::Interface::vtable(self).SetnodeTypedValue)(windows_core::Interface::as_raw(self), typedvalue.param().abi()).ok() } pub unsafe fn dataType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).dataType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetdataType(&self, datatypename: P0) -> windows_core::Result<()> @@ -3728,7 +3728,7 @@ impl IXMLDOMNode { (windows_core::Interface::vtable(self).SetdataType)(windows_core::Interface::as_raw(self), datatypename.param().abi()).ok() } pub unsafe fn xml(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).xml)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3736,7 +3736,7 @@ impl IXMLDOMNode { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).transformNode)(windows_core::Interface::as_raw(self), stylesheet.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3744,7 +3744,7 @@ impl IXMLDOMNode { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).selectNodes)(windows_core::Interface::as_raw(self), querystring.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3752,23 +3752,23 @@ impl IXMLDOMNode { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).selectSingleNode)(windows_core::Interface::as_raw(self), querystring.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn parsed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).parsed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn namespaceURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).namespaceURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn prefix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).prefix)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn baseName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).baseName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3784,9 +3784,9 @@ impl IXMLDOMNode { #[repr(C)] pub struct IXMLDOMNode_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub nodeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub nodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetnodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub nodeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub nodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetnodeValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub nodeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DOMNodeType) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub parentNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3817,7 +3817,7 @@ pub struct IXMLDOMNode_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] attributes: usize, #[cfg(feature = "Win32_System_Com")] - pub insertBefore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub insertBefore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] insertBefore: usize, #[cfg(feature = "Win32_System_Com")] @@ -3841,37 +3841,37 @@ pub struct IXMLDOMNode_Vtbl { pub cloneNode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] cloneNode: usize, - pub nodeTypeString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Settext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub nodeTypeString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Settext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub specified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub definition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] definition: usize, - pub nodeTypedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetnodeTypedValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub dataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetdataType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub nodeTypedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetnodeTypedValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub dataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetdataType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub transformNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub transformNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] transformNode: usize, #[cfg(feature = "Win32_System_Com")] - pub selectNodes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub selectNodes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] selectNodes: usize, #[cfg(feature = "Win32_System_Com")] - pub selectSingleNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub selectSingleNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] selectSingleNode: usize, pub parsed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub namespaceURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub prefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub baseName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub namespaceURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub prefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub baseName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub transformNodeToObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub transformNodeToObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] transformNodeToObject: usize, } @@ -3881,7 +3881,7 @@ windows_core::imp::define_interface!(IXMLDOMNodeList, IXMLDOMNodeList_Vtbl, 0x29 impl std::ops::Deref for IXMLDOMNodeList { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3890,23 +3890,23 @@ windows_core::imp::interface_hierarchy!(IXMLDOMNodeList, windows_core::IUnknown, impl IXMLDOMNodeList { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nextNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._newEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3932,7 +3932,7 @@ windows_core::imp::define_interface!(IXMLDOMNotation, IXMLDOMNotation_Vtbl, 0x29 impl std::ops::Deref for IXMLDOMNotation { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3940,11 +3940,11 @@ windows_core::imp::interface_hierarchy!(IXMLDOMNotation, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNotation { pub unsafe fn publicId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).publicId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn systemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).systemId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3952,8 +3952,8 @@ impl IXMLDOMNotation { #[repr(C)] pub struct IXMLDOMNotation_Vtbl { pub base__: IXMLDOMNode_Vtbl, - pub publicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub publicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMParseError, IXMLDOMParseError_Vtbl, 0x3efaa426_272f_11d2_836f_0000f87a7782); @@ -3961,7 +3961,7 @@ windows_core::imp::define_interface!(IXMLDOMParseError, IXMLDOMParseError_Vtbl, impl std::ops::Deref for IXMLDOMParseError { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3969,31 +3969,31 @@ windows_core::imp::interface_hierarchy!(IXMLDOMParseError, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IXMLDOMParseError { pub unsafe fn errorCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).errorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn url(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).url)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn reason(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).reason)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn srcText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).srcText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn line(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).line)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn linepos(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).linepos)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn filepos(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).filepos)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4002,9 +4002,9 @@ impl IXMLDOMParseError { pub struct IXMLDOMParseError_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub errorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub srcText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub srcText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub line: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub linepos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub filepos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -4015,7 +4015,7 @@ windows_core::imp::define_interface!(IXMLDOMParseError2, IXMLDOMParseError2_Vtbl impl std::ops::Deref for IXMLDOMParseError2 { type Target = IXMLDOMParseError; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4023,20 +4023,20 @@ windows_core::imp::interface_hierarchy!(IXMLDOMParseError2, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IXMLDOMParseError2 { pub unsafe fn errorXPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).errorXPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn allErrors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).allErrors)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn errorParameters(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).errorParameters)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn errorParametersCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).errorParametersCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4044,12 +4044,12 @@ impl IXMLDOMParseError2 { #[repr(C)] pub struct IXMLDOMParseError2_Vtbl { pub base__: IXMLDOMParseError_Vtbl, - pub errorXPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub errorXPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub allErrors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] allErrors: usize, - pub errorParameters: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub errorParameters: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub errorParametersCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -4058,7 +4058,7 @@ windows_core::imp::define_interface!(IXMLDOMParseErrorCollection, IXMLDOMParseEr impl std::ops::Deref for IXMLDOMParseErrorCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4067,23 +4067,23 @@ windows_core::imp::interface_hierarchy!(IXMLDOMParseErrorCollection, windows_cor impl IXMLDOMParseErrorCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._newEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4109,7 +4109,7 @@ windows_core::imp::define_interface!(IXMLDOMProcessingInstruction, IXMLDOMProces impl std::ops::Deref for IXMLDOMProcessingInstruction { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4117,11 +4117,11 @@ windows_core::imp::interface_hierarchy!(IXMLDOMProcessingInstruction, windows_co #[cfg(feature = "Win32_System_Com")] impl IXMLDOMProcessingInstruction { pub unsafe fn target(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).target)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn data(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).data)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Setdata(&self, value: P0) -> windows_core::Result<()> @@ -4135,9 +4135,9 @@ impl IXMLDOMProcessingInstruction { #[repr(C)] pub struct IXMLDOMProcessingInstruction_Vtbl { pub base__: IXMLDOMNode_Vtbl, - pub target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setdata: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setdata: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMSchemaCollection, IXMLDOMSchemaCollection_Vtbl, 0x373984c8_b845_449b_91e7_45ac83036ade); @@ -4145,7 +4145,7 @@ windows_core::imp::define_interface!(IXMLDOMSchemaCollection, IXMLDOMSchemaColle impl std::ops::Deref for IXMLDOMSchemaCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4164,7 +4164,7 @@ impl IXMLDOMSchemaCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get)(windows_core::Interface::as_raw(self), namespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn remove(&self, namespaceuri: P0) -> windows_core::Result<()> @@ -4174,11 +4174,11 @@ impl IXMLDOMSchemaCollection { (windows_core::Interface::vtable(self).remove)(windows_core::Interface::as_raw(self), namespaceuri.param().abi()).ok() } pub unsafe fn length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_namespaceURI(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_namespaceURI)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4189,7 +4189,7 @@ impl IXMLDOMSchemaCollection { (windows_core::Interface::vtable(self).addCollection)(windows_core::Interface::as_raw(self), othercollection.param().abi()).ok() } pub unsafe fn _newEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._newEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4197,14 +4197,14 @@ impl IXMLDOMSchemaCollection { #[repr(C)] pub struct IXMLDOMSchemaCollection_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get: usize, - pub remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_namespaceURI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_namespaceURI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub addCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4217,7 +4217,7 @@ windows_core::imp::define_interface!(IXMLDOMSchemaCollection2, IXMLDOMSchemaColl impl std::ops::Deref for IXMLDOMSchemaCollection2 { type Target = IXMLDOMSchemaCollection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4234,7 +4234,7 @@ impl IXMLDOMSchemaCollection2 { (windows_core::Interface::vtable(self).SetvalidateOnLoad)(windows_core::Interface::as_raw(self), validateonload.param().abi()).ok() } pub unsafe fn validateOnLoad(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).validateOnLoad)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -4242,7 +4242,7 @@ impl IXMLDOMSchemaCollection2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getSchema)(windows_core::Interface::as_raw(self), namespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4250,7 +4250,7 @@ impl IXMLDOMSchemaCollection2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getDeclaration)(windows_core::Interface::as_raw(self), node.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4262,7 +4262,7 @@ pub struct IXMLDOMSchemaCollection2_Vtbl { pub SetvalidateOnLoad: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub validateOnLoad: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub getSchema: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getSchema: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getSchema: usize, #[cfg(feature = "Win32_System_Com")] @@ -4276,7 +4276,7 @@ windows_core::imp::define_interface!(IXMLDOMSelection, IXMLDOMSelection_Vtbl, 0x impl std::ops::Deref for IXMLDOMSelection { type Target = IXMLDOMNodeList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4284,7 +4284,7 @@ windows_core::imp::interface_hierarchy!(IXMLDOMSelection, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IXMLDOMSelection { pub unsafe fn expr(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).expr)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Setexpr(&self, expression: P0) -> windows_core::Result<()> @@ -4295,7 +4295,7 @@ impl IXMLDOMSelection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn context(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).context)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4307,7 +4307,7 @@ impl IXMLDOMSelection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn peekNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).peekNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4315,12 +4315,12 @@ impl IXMLDOMSelection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).matches)(windows_core::Interface::as_raw(self), pnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn removeNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).removeNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn removeAll(&self) -> windows_core::Result<()> { @@ -4328,14 +4328,14 @@ impl IXMLDOMSelection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getProperty(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getProperty)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setProperty(&self, name: P0, value: P1) -> windows_core::Result<()> @@ -4350,8 +4350,8 @@ impl IXMLDOMSelection { #[repr(C)] pub struct IXMLDOMSelection_Vtbl { pub base__: IXMLDOMNodeList_Vtbl, - pub expr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setexpr: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub expr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setexpr: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4377,8 +4377,8 @@ pub struct IXMLDOMSelection_Vtbl { pub clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] clone: usize, - pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMText, IXMLDOMText_Vtbl, 0x2933bf87_7b36_11d2_b20e_00c04f983e60); @@ -4386,7 +4386,7 @@ windows_core::imp::define_interface!(IXMLDOMText, IXMLDOMText_Vtbl, 0x2933bf87_7 impl std::ops::Deref for IXMLDOMText { type Target = IXMLDOMCharacterData; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4395,7 +4395,7 @@ windows_core::imp::interface_hierarchy!(IXMLDOMText, windows_core::IUnknown, sup impl IXMLDOMText { #[cfg(feature = "Win32_System_Com")] pub unsafe fn splitText(&self, offset: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).splitText)(windows_core::Interface::as_raw(self), offset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4414,7 +4414,7 @@ windows_core::imp::define_interface!(IXMLDSOControl, IXMLDSOControl_Vtbl, 0x310a impl std::ops::Deref for IXMLDSOControl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4423,7 +4423,7 @@ windows_core::imp::interface_hierarchy!(IXMLDSOControl, windows_core::IUnknown, impl IXMLDSOControl { #[cfg(feature = "Win32_System_Com")] pub unsafe fn XMLDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).XMLDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4434,7 +4434,7 @@ impl IXMLDSOControl { (windows_core::Interface::vtable(self).SetXMLDocument)(windows_core::Interface::as_raw(self), ppdoc.param().abi()).ok() } pub unsafe fn JavaDSOCompatible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JavaDSOCompatible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetJavaDSOCompatible(&self, fjavadsocompatible: P0) -> windows_core::Result<()> @@ -4444,7 +4444,7 @@ impl IXMLDSOControl { (windows_core::Interface::vtable(self).SetJavaDSOCompatible)(windows_core::Interface::as_raw(self), fjavadsocompatible.param().abi()).ok() } pub unsafe fn readyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).readyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4470,7 +4470,7 @@ windows_core::imp::define_interface!(IXMLDocument, IXMLDocument_Vtbl, 0xf52e2b61 impl std::ops::Deref for IXMLDocument { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4479,23 +4479,23 @@ windows_core::imp::interface_hierarchy!(IXMLDocument, windows_core::IUnknown, su impl IXMLDocument { #[cfg(feature = "Win32_System_Com")] pub unsafe fn root(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).root)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn fileSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fileSize)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn fileModifiedDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fileModifiedDate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn fileUpdatedDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fileUpdatedDate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn URL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).URL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetURL(&self, p: P0) -> windows_core::Result<()> @@ -4505,15 +4505,15 @@ impl IXMLDocument { (windows_core::Interface::vtable(self).SetURL)(windows_core::Interface::as_raw(self), p.param().abi()).ok() } pub unsafe fn mimeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).mimeType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn readyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).readyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn charset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).charset)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Setcharset(&self, p: P0) -> windows_core::Result<()> @@ -4523,15 +4523,15 @@ impl IXMLDocument { (windows_core::Interface::vtable(self).Setcharset)(windows_core::Interface::as_raw(self), p.param().abi()).ok() } pub unsafe fn version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn doctype(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).doctype)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn dtdURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).dtdURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4540,7 +4540,7 @@ impl IXMLDocument { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createElement)(windows_core::Interface::as_raw(self), vtype.param().abi(), var1.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4552,20 +4552,20 @@ pub struct IXMLDocument_Vtbl { pub root: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] root: usize, - pub fileSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub fileModifiedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub fileUpdatedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub mimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub fileSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub fileModifiedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub fileUpdatedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub mimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub readyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub charset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setcharset: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub doctype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub dtdURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub charset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setcharset: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub doctype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub dtdURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub createElement: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createElement: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createElement: usize, } @@ -4575,7 +4575,7 @@ windows_core::imp::define_interface!(IXMLDocument2, IXMLDocument2_Vtbl, 0x2b8de2 impl std::ops::Deref for IXMLDocument2 { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4584,23 +4584,23 @@ windows_core::imp::interface_hierarchy!(IXMLDocument2, windows_core::IUnknown, s impl IXMLDocument2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn root(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).root)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn fileSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fileSize)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn fileModifiedDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fileModifiedDate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn fileUpdatedDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).fileUpdatedDate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn URL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).URL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetURL(&self, p: P0) -> windows_core::Result<()> @@ -4610,15 +4610,15 @@ impl IXMLDocument2 { (windows_core::Interface::vtable(self).SetURL)(windows_core::Interface::as_raw(self), p.param().abi()).ok() } pub unsafe fn mimeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).mimeType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn readyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).readyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn charset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).charset)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Setcharset(&self, p: P0) -> windows_core::Result<()> @@ -4628,15 +4628,15 @@ impl IXMLDocument2 { (windows_core::Interface::vtable(self).Setcharset)(windows_core::Interface::as_raw(self), p.param().abi()).ok() } pub unsafe fn version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn doctype(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).doctype)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn dtdURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).dtdURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4645,11 +4645,11 @@ impl IXMLDocument2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createElement)(windows_core::Interface::as_raw(self), vtype.param().abi(), var1.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn r#async(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).r#async)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Setasync(&self, f: P0) -> windows_core::Result<()> @@ -4667,20 +4667,20 @@ pub struct IXMLDocument2_Vtbl { pub root: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] root: usize, - pub fileSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub fileModifiedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub fileUpdatedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub mimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub fileSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub fileModifiedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub fileUpdatedDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub mimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub readyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub charset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setcharset: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub doctype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub dtdURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub charset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setcharset: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub doctype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub dtdURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub createElement: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub createElement: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] createElement: usize, pub r#async: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4692,7 +4692,7 @@ windows_core::imp::define_interface!(IXMLElement, IXMLElement_Vtbl, 0x3f7f31ac_e impl std::ops::Deref for IXMLElement { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4700,7 +4700,7 @@ windows_core::imp::interface_hierarchy!(IXMLElement, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IXMLElement { pub unsafe fn tagName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).tagName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SettagName(&self, p: P0) -> windows_core::Result<()> @@ -4711,7 +4711,7 @@ impl IXMLElement { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setAttribute(&self, strpropertyname: P0, propertyvalue: P1) -> windows_core::Result<()> @@ -4725,7 +4725,7 @@ impl IXMLElement { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttribute)(windows_core::Interface::as_raw(self), strpropertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn removeAttribute(&self, strpropertyname: P0) -> windows_core::Result<()> @@ -4736,15 +4736,15 @@ impl IXMLElement { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn children(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).children)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn r#type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).r#type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn text(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).text)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Settext(&self, p: P0) -> windows_core::Result<()> @@ -4772,22 +4772,22 @@ impl IXMLElement { #[repr(C)] pub struct IXMLElement_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub tagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SettagName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub tagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettagName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] parent: usize, - pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub children: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] children: usize, pub r#type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Settext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Settext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub addChild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4803,7 +4803,7 @@ windows_core::imp::define_interface!(IXMLElement2, IXMLElement2_Vtbl, 0x2b8de2ff impl std::ops::Deref for IXMLElement2 { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4811,7 +4811,7 @@ windows_core::imp::interface_hierarchy!(IXMLElement2, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IXMLElement2 { pub unsafe fn tagName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).tagName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SettagName(&self, p: P0) -> windows_core::Result<()> @@ -4822,7 +4822,7 @@ impl IXMLElement2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setAttribute(&self, strpropertyname: P0, propertyvalue: P1) -> windows_core::Result<()> @@ -4836,7 +4836,7 @@ impl IXMLElement2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttribute)(windows_core::Interface::as_raw(self), strpropertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn removeAttribute(&self, strpropertyname: P0) -> windows_core::Result<()> @@ -4847,15 +4847,15 @@ impl IXMLElement2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn children(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).children)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn r#type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).r#type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn text(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).text)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Settext(&self, p: P0) -> windows_core::Result<()> @@ -4880,7 +4880,7 @@ impl IXMLElement2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).attributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4888,22 +4888,22 @@ impl IXMLElement2 { #[repr(C)] pub struct IXMLElement2_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub tagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SettagName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub tagName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettagName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] parent: usize, - pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub children: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] children: usize, pub r#type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Settext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Settext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub addChild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4923,7 +4923,7 @@ windows_core::imp::define_interface!(IXMLElementCollection, IXMLElementCollectio impl std::ops::Deref for IXMLElementCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4934,11 +4934,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _newEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._newEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4947,7 +4947,7 @@ impl IXMLElementCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).item)(windows_core::Interface::as_raw(self), var1.param().abi(), var2.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4959,7 +4959,7 @@ pub struct IXMLElementCollection_Vtbl { pub length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _newEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] item: usize, } @@ -4967,7 +4967,7 @@ windows_core::imp::define_interface!(IXMLError, IXMLError_Vtbl, 0x948c5ad3_c58d_ impl std::ops::Deref for IXMLError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXMLError, windows_core::IUnknown); @@ -4987,7 +4987,7 @@ windows_core::imp::define_interface!(IXMLHTTPRequest, IXMLHTTPRequest_Vtbl, 0xed impl std::ops::Deref for IXMLHTTPRequest { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5015,11 +5015,11 @@ impl IXMLHTTPRequest { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getResponseHeader)(windows_core::Interface::as_raw(self), bstrheader.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getAllResponseHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAllResponseHeaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn send(&self, varbody: P0) -> windows_core::Result<()> @@ -5032,32 +5032,32 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn statusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).statusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn responseXML(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).responseXML)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn responseText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).responseText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn responseBody(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).responseBody)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn responseStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).responseStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn readyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).readyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5072,21 +5072,21 @@ impl IXMLHTTPRequest { #[repr(C)] pub struct IXMLHTTPRequest_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub open: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getResponseHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getAllResponseHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub send: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub open: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getResponseHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAllResponseHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub send: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub statusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub statusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub responseXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] responseXML: usize, - pub responseText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub responseBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub responseStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub responseText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub responseBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub responseStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub readyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Setonreadystatechange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5097,7 +5097,7 @@ windows_core::imp::define_interface!(IXMLHTTPRequest2, IXMLHTTPRequest2_Vtbl, 0x impl std::ops::Deref for IXMLHTTPRequest2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXMLHTTPRequest2, windows_core::IUnknown); @@ -5125,7 +5125,7 @@ impl IXMLHTTPRequest2 { (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn SetCookie(&self, pcookie: *const XHR_COOKIE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetCookie)(windows_core::Interface::as_raw(self), pcookie, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5146,7 +5146,7 @@ impl IXMLHTTPRequest2 { (windows_core::Interface::vtable(self).SetRequestHeader)(windows_core::Interface::as_raw(self), pwszheader.param().abi(), pwszvalue.param().abi()).ok() } pub unsafe fn GetAllResponseHeaders(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllResponseHeaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCookie(&self, pwszurl: P0, pwszname: P1, dwflags: u32, pccookies: *mut u32, ppcookies: *mut *mut XHR_COOKIE) -> windows_core::Result<()> @@ -5160,7 +5160,7 @@ impl IXMLHTTPRequest2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResponseHeader)(windows_core::Interface::as_raw(self), pwszheader.param().abi(), &mut result__).map(|| result__) } } @@ -5188,7 +5188,7 @@ windows_core::imp::define_interface!(IXMLHTTPRequest2Callback, IXMLHTTPRequest2C impl std::ops::Deref for IXMLHTTPRequest2Callback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXMLHTTPRequest2Callback, windows_core::IUnknown); @@ -5249,7 +5249,7 @@ windows_core::imp::define_interface!(IXMLHTTPRequest3, IXMLHTTPRequest3_Vtbl, 0x impl std::ops::Deref for IXMLHTTPRequest3 { type Target = IXMLHTTPRequest2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXMLHTTPRequest3, windows_core::IUnknown, IXMLHTTPRequest2); @@ -5270,7 +5270,7 @@ windows_core::imp::define_interface!(IXMLHTTPRequest3Callback, IXMLHTTPRequest3C impl std::ops::Deref for IXMLHTTPRequest3Callback { type Target = IXMLHTTPRequest2Callback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXMLHTTPRequest3Callback, windows_core::IUnknown, IXMLHTTPRequest2Callback); @@ -5300,7 +5300,7 @@ windows_core::imp::define_interface!(IXSLProcessor, IXSLProcessor_Vtbl, 0x2933bf impl std::ops::Deref for IXSLProcessor { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5314,12 +5314,12 @@ impl IXSLProcessor { (windows_core::Interface::vtable(self).Setinput)(windows_core::Interface::as_raw(self), var.param().abi()).ok() } pub unsafe fn input(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).input)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ownerTemplate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ownerTemplate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setStartMode(&self, mode: P0, namespaceuri: P1) -> windows_core::Result<()> @@ -5330,11 +5330,11 @@ impl IXSLProcessor { (windows_core::Interface::vtable(self).setStartMode)(windows_core::Interface::as_raw(self), mode.param().abi(), namespaceuri.param().abi()).ok() } pub unsafe fn startMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).startMode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn startModeURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).startModeURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Setoutput(&self, output: P0) -> windows_core::Result<()> @@ -5344,18 +5344,18 @@ impl IXSLProcessor { (windows_core::Interface::vtable(self).Setoutput)(windows_core::Interface::as_raw(self), output.param().abi()).ok() } pub unsafe fn output(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).output)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn transform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).transform)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).readyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn addParameter(&self, basename: P0, parameter: P1, namespaceuri: P2) -> windows_core::Result<()> @@ -5376,7 +5376,7 @@ impl IXSLProcessor { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn stylesheet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).stylesheet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5384,23 +5384,23 @@ impl IXSLProcessor { #[repr(C)] pub struct IXSLProcessor_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Setinput: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub input: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setinput: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub input: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ownerTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ownerTemplate: usize, - pub setStartMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub startMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub startModeURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setoutput: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub output: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub setStartMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub startMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub startModeURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setoutput: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub output: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub transform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub readyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub addParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub addParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub addObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub addObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] addObject: usize, #[cfg(feature = "Win32_System_Com")] @@ -5414,7 +5414,7 @@ windows_core::imp::define_interface!(IXSLTemplate, IXSLTemplate_Vtbl, 0x2933bf93 impl std::ops::Deref for IXSLTemplate { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5430,12 +5430,12 @@ impl IXSLTemplate { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn stylesheet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).stylesheet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn createProcessor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createProcessor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5462,7 +5462,7 @@ windows_core::imp::define_interface!(IXTLRuntime, IXTLRuntime_Vtbl, 0x3efaa425_2 impl std::ops::Deref for IXTLRuntime { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5474,7 +5474,7 @@ impl IXTLRuntime { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).uniqueID)(windows_core::Interface::as_raw(self), pnode.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5482,7 +5482,7 @@ impl IXTLRuntime { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).depth)(windows_core::Interface::as_raw(self), pnode.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5490,7 +5490,7 @@ impl IXTLRuntime { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).childNumber)(windows_core::Interface::as_raw(self), pnode.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5499,7 +5499,7 @@ impl IXTLRuntime { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ancestorChildNumber)(windows_core::Interface::as_raw(self), bstrnodename.param().abi(), pnode.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5507,21 +5507,21 @@ impl IXTLRuntime { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).absoluteChildNumber)(windows_core::Interface::as_raw(self), pnode.param().abi(), &mut result__).map(|| result__) } pub unsafe fn formatIndex(&self, lindex: i32, bstrformat: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).formatIndex)(windows_core::Interface::as_raw(self), lindex, bstrformat.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn formatNumber(&self, dblnumber: f64, bstrformat: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).formatNumber)(windows_core::Interface::as_raw(self), dblnumber, bstrformat.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn formatDate(&self, vardate: P0, bstrformat: P1, vardestlocale: P2) -> windows_core::Result @@ -5530,7 +5530,7 @@ impl IXTLRuntime { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).formatDate)(windows_core::Interface::as_raw(self), vardate.param().abi(), bstrformat.param().abi(), vardestlocale.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn formatTime(&self, vartime: P0, bstrformat: P1, vardestlocale: P2) -> windows_core::Result @@ -5539,7 +5539,7 @@ impl IXTLRuntime { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).formatTime)(windows_core::Interface::as_raw(self), vartime.param().abi(), bstrformat.param().abi(), vardestlocale.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5560,17 +5560,17 @@ pub struct IXTLRuntime_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] childNumber: usize, #[cfg(feature = "Win32_System_Com")] - pub ancestorChildNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, + pub ancestorChildNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ancestorChildNumber: usize, #[cfg(feature = "Win32_System_Com")] pub absoluteChildNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] absoluteChildNumber: usize, - pub formatIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub formatNumber: unsafe extern "system" fn(*mut core::ffi::c_void, f64, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub formatDate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub formatTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub formatIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub formatNumber: unsafe extern "system" fn(*mut core::ffi::c_void, f64, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub formatDate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub formatTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(XMLDOMDocumentEvents, XMLDOMDocumentEvents_Vtbl, 0x3efaa427_272f_11d2_836f_0000f87a7782); @@ -5578,7 +5578,7 @@ windows_core::imp::define_interface!(XMLDOMDocumentEvents, XMLDOMDocumentEvents_ impl std::ops::Deref for XMLDOMDocumentEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6583,11 +6583,11 @@ pub const XMLSchemaCache60: windows_core::GUID = windows_core::GUID::from_u128(0 #[derive(Debug, Eq, PartialEq)] pub struct XML_ERROR { pub _nLine: u32, - pub _pchBuf: std::mem::ManuallyDrop, + pub _pchBuf: core::mem::ManuallyDrop, pub _cchBuf: u32, pub _ich: u32, - pub _pszFound: std::mem::ManuallyDrop, - pub _pszExpected: std::mem::ManuallyDrop, + pub _pszFound: core::mem::ManuallyDrop, + pub _pszExpected: core::mem::ManuallyDrop, pub _reserved1: u32, pub _reserved2: u32, } 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 c8d405de2b..ea01474223 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 @@ -17,7 +17,7 @@ where P3: windows_core::Param, { windows_targets::link!("xmllite.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateXmlReaderInputWithEncodingCodePage(pinputstream.param().abi(), pmalloc.param().abi(), nencodingcodepage, fencodinghint.param().abi(), pwszbaseuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -31,7 +31,7 @@ where P4: windows_core::Param, { windows_targets::link!("xmllite.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateXmlReaderInputWithEncodingName(pinputstream.param().abi(), pmalloc.param().abi(), pwszencodingname.param().abi(), fencodinghint.param().abi(), pwszbaseuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -51,7 +51,7 @@ where P1: windows_core::Param, { windows_targets::link!("xmllite.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateXmlWriterOutputWithEncodingCodePage(poutputstream.param().abi(), pmalloc.param().abi(), nencodingcodepage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -63,14 +63,14 @@ where P2: windows_core::Param, { windows_targets::link!("xmllite.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateXmlWriterOutputWithEncodingName(poutputstream.param().abi(), pmalloc.param().abi(), pwszencodingname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IXmlReader, IXmlReader_Vtbl, 0x7279fc81_709d_4095_b63d_69fe4b0d9030); impl std::ops::Deref for IXmlReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXmlReader, windows_core::IUnknown); @@ -82,7 +82,7 @@ impl IXmlReader { (windows_core::Interface::vtable(self).SetInput)(windows_core::Interface::as_raw(self), pinput.param().abi()).ok() } pub unsafe fn GetProperty(&self, nproperty: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), nproperty, &mut result__).map(|| result__) } pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> windows_core::Result<()> { @@ -92,7 +92,7 @@ impl IXmlReader { (windows_core::Interface::vtable(self).Read)(windows_core::Interface::as_raw(self), core::mem::transmute(pnodetype.unwrap_or(std::ptr::null_mut()))) } pub unsafe fn GetNodeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNodeType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveToFirstAttribute(&self) -> windows_core::HRESULT { @@ -139,19 +139,19 @@ impl IXmlReader { (windows_core::Interface::vtable(self).IsEmptyElement)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetLineNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLineNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLinePosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLinePosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAttributeCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDepth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDepth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsEOF(&self) -> super::super::super::Foundation::BOOL { @@ -189,7 +189,7 @@ windows_core::imp::define_interface!(IXmlResolver, IXmlResolver_Vtbl, 0x7279fc82 impl std::ops::Deref for IXmlResolver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXmlResolver, windows_core::IUnknown); @@ -200,7 +200,7 @@ impl IXmlResolver { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResolveUri)(windows_core::Interface::as_raw(self), pwszbaseuri.param().abi(), pwszpublicidentifier.param().abi(), pwszsystemidentifier.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -213,7 +213,7 @@ windows_core::imp::define_interface!(IXmlWriter, IXmlWriter_Vtbl, 0x7279fc88_709 impl std::ops::Deref for IXmlWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXmlWriter, windows_core::IUnknown); @@ -225,7 +225,7 @@ impl IXmlWriter { (windows_core::Interface::vtable(self).SetOutput)(windows_core::Interface::as_raw(self), poutput.param().abi()).ok() } pub unsafe fn GetProperty(&self, nproperty: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), nproperty, &mut result__).map(|| result__) } pub unsafe fn SetProperty(&self, nproperty: u32, pvalue: isize) -> windows_core::Result<()> { @@ -414,7 +414,7 @@ windows_core::imp::define_interface!(IXmlWriterLite, IXmlWriterLite_Vtbl, 0x8624 impl std::ops::Deref for IXmlWriterLite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXmlWriterLite, windows_core::IUnknown); @@ -426,7 +426,7 @@ impl IXmlWriterLite { (windows_core::Interface::vtable(self).SetOutput)(windows_core::Interface::as_raw(self), poutput.param().abi()).ok() } pub unsafe fn GetProperty(&self, nproperty: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), nproperty, &mut result__).map(|| 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 4eb29e3007..f6c8cfa501 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs @@ -154,7 +154,7 @@ pub unsafe fn WinBioFree(address: *const core::ffi::c_void) -> windows_core::Res #[inline] pub unsafe fn WinBioGetCredentialState(identity: WINBIO_IDENTITY, r#type: WINBIO_CREDENTIAL_TYPE) -> windows_core::Result { windows_targets::link!("winbio.dll" "system" fn WinBioGetCredentialState(identity : WINBIO_IDENTITY, r#type : WINBIO_CREDENTIAL_TYPE, credentialstate : *mut WINBIO_CREDENTIAL_STATE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WinBioGetCredentialState(core::mem::transmute(identity), r#type, &mut result__).map(|| result__) } #[inline] @@ -170,7 +170,7 @@ pub unsafe fn WinBioGetEnabledSetting(value: *mut u8, source: *mut WINBIO_SETTIN #[inline] pub unsafe fn WinBioGetEnrolledFactors(accountowner: *const WINBIO_IDENTITY) -> windows_core::Result { windows_targets::link!("winbio.dll" "system" fn WinBioGetEnrolledFactors(accountowner : *const WINBIO_IDENTITY, enrolledfactors : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WinBioGetEnrolledFactors(accountowner, &mut result__).map(|| result__) } #[inline] @@ -231,7 +231,7 @@ pub unsafe fn WinBioMonitorPresence(sessionhandle: u32, unitid: u32) -> windows_ #[inline] pub unsafe fn WinBioOpenSession(factor: u32, pooltype: WINBIO_POOL, flags: u32, unitarray: Option<&[u32]>, databaseid: Option<*const windows_core::GUID>) -> windows_core::Result { windows_targets::link!("winbio.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WinBioOpenSession(factor, pooltype, flags, core::mem::transmute(unitarray.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), unitarray.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(databaseid.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] 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 aa2c200f14..948ab93fde 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs @@ -4,14 +4,14 @@ where P0: windows_core::Param, { windows_targets::link!("deviceaccess.dll" "system" fn CreateDeviceAccessInstance(deviceinterfacepath : windows_core::PCWSTR, desiredaccess : u32, createasync : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateDeviceAccessInstance(deviceinterfacepath.param().abi(), desiredaccess, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(ICreateDeviceAccessAsync, ICreateDeviceAccessAsync_Vtbl, 0x3474628f_683d_42d2_abcb_db018c6503bc); impl std::ops::Deref for ICreateDeviceAccessAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateDeviceAccessAsync, windows_core::IUnknown); @@ -45,7 +45,7 @@ windows_core::imp::define_interface!(IDeviceIoControl, IDeviceIoControl_Vtbl, 0x impl std::ops::Deref for IDeviceIoControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDeviceIoControl, windows_core::IUnknown); @@ -84,7 +84,7 @@ windows_core::imp::define_interface!(IDeviceRequestCompletionCallback, IDeviceRe impl std::ops::Deref for IDeviceRequestCompletionCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDeviceRequestCompletionCallback, windows_core::IUnknown); 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 7582d54b8a..e0fb167f64 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceQuery/mod.rs @@ -10,14 +10,14 @@ where #[inline] pub unsafe fn DevCreateObjectQuery(objecttype: DEV_OBJECT_TYPE, queryflags: u32, prequestedproperties: Option<&[super::Properties::DEVPROPCOMPKEY]>, pfilter: Option<&[DEVPROP_FILTER_EXPRESSION]>, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: Option<*const core::ffi::c_void>) -> windows_core::Result { windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" fn DevCreateObjectQuery(objecttype : DEV_OBJECT_TYPE, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cfilterexpressioncount : u32, pfilter : *const DEVPROP_FILTER_EXPRESSION, pcallback : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DevCreateObjectQuery(objecttype, queryflags, prequestedproperties.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(prequestedproperties.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pfilter.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(pfilter.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pcallback, core::mem::transmute(pcontext.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn DevCreateObjectQueryEx(objecttype: DEV_OBJECT_TYPE, queryflags: u32, prequestedproperties: Option<&[super::Properties::DEVPROPCOMPKEY]>, pfilter: Option<&[DEVPROP_FILTER_EXPRESSION]>, pextendedparameters: Option<&[DEV_QUERY_PARAMETER]>, pcallback: PDEV_QUERY_RESULT_CALLBACK, pcontext: Option<*const core::ffi::c_void>) -> windows_core::Result { windows_targets::link!("api-ms-win-devices-query-l1-1-1.dll" "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 : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DevCreateObjectQueryEx( objecttype, queryflags, @@ -40,7 +40,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "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 : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DevCreateObjectQueryFromId( objecttype, pszobjectid.param().abi(), @@ -62,7 +62,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-devices-query-l1-1-1.dll" "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 : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DevCreateObjectQueryFromIdEx( objecttype, pszobjectid.param().abi(), @@ -86,7 +86,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "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 : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DevCreateObjectQueryFromIds( objecttype, pszzobjectids.param().abi(), @@ -108,7 +108,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-devices-query-l1-1-1.dll" "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 : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DevCreateObjectQueryFromIdsEx( objecttype, pszzobjectids.param().abi(), 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 354964b084..3edf664fd8 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs @@ -307,7 +307,7 @@ where #[inline] pub unsafe fn EngQueryLocalTime() -> ENG_TIME_FIELDS { windows_targets::link!("gdi32.dll" "system" fn EngQueryLocalTime(param0 : *mut ENG_TIME_FIELDS)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); EngQueryLocalTime(&mut result__); result__ } @@ -524,7 +524,7 @@ where P0: windows_core::Param, { windows_targets::link!("dxva2.dll" "system" fn GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9 : * mut core::ffi::c_void, pdwnumberofphysicalmonitors : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(pdirect3ddevice9.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -771,7 +771,7 @@ windows_core::imp::define_interface!(ICloneViewHelper, ICloneViewHelper_Vtbl, 0x impl std::ops::Deref for ICloneViewHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICloneViewHelper, windows_core::IUnknown); @@ -813,7 +813,7 @@ windows_core::imp::define_interface!(IViewHelper, IViewHelper_Vtbl, 0xe85ccef5_a impl std::ops::Deref for IViewHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewHelper, windows_core::IUnknown); @@ -844,7 +844,7 @@ impl IViewHelper { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetConfiguration)(windows_core::Interface::as_raw(self), pistream.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetProceedOnNewConfiguration(&self) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs index bdb93e36e1..d8b06f1fc2 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs @@ -74,12 +74,12 @@ impl IUPnPDescriptionDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Load, Impl: IUPnPDescriptionDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Load, Impl: IUPnPDescriptionDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPDescriptionDocument_Impl::Load(this, core::mem::transmute(&bstrurl)).into() } - unsafe extern "system" fn LoadAsync, Impl: IUPnPDescriptionDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, punkcallback: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn LoadAsync, Impl: IUPnPDescriptionDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, punkcallback: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPDescriptionDocument_Impl::LoadAsync(this, core::mem::transmute(&bstrurl), windows_core::from_raw_borrowed(&punkcallback)).into() @@ -111,7 +111,7 @@ impl IUPnPDescriptionDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceByUDN, Impl: IUPnPDescriptionDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrudn: std::mem::MaybeUninit, ppuddevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceByUDN, Impl: IUPnPDescriptionDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrudn: core::mem::MaybeUninit, ppuddevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDescriptionDocument_Impl::DeviceByUDN(this, core::mem::transmute(&bstrudn)) { @@ -236,7 +236,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UniqueDeviceName, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UniqueDeviceName, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::UniqueDeviceName(this) { @@ -247,7 +247,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FriendlyName, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::FriendlyName(this) { @@ -258,7 +258,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Type, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Type, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::Type(this) { @@ -269,7 +269,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PresentationURL, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PresentationURL, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::PresentationURL(this) { @@ -280,7 +280,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ManufacturerName, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ManufacturerName, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::ManufacturerName(this) { @@ -291,7 +291,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ManufacturerURL, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ManufacturerURL, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::ManufacturerURL(this) { @@ -302,7 +302,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModelName, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModelName, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::ModelName(this) { @@ -313,7 +313,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModelNumber, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModelNumber, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::ModelNumber(this) { @@ -324,7 +324,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::Description(this) { @@ -335,7 +335,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModelURL, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModelURL, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::ModelURL(this) { @@ -346,7 +346,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UPC, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UPC, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::UPC(this) { @@ -357,7 +357,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SerialNumber, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SerialNumber, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::SerialNumber(this) { @@ -368,7 +368,7 @@ impl IUPnPDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IconURL, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrencodingformat: std::mem::MaybeUninit, lsizex: i32, lsizey: i32, lbitdepth: i32, pbstriconurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IconURL, Impl: IUPnPDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrencodingformat: core::mem::MaybeUninit, lsizex: i32, lsizey: i32, lbitdepth: i32, pbstriconurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevice_Impl::IconURL(this, core::mem::transmute(&bstrencodingformat), core::mem::transmute_copy(&lsizex), core::mem::transmute_copy(&lsizey), core::mem::transmute_copy(&lbitdepth)) { @@ -427,12 +427,12 @@ impl windows_core::RuntimeName for IUPnPDeviceControl {} #[cfg(feature = "Win32_System_Com")] impl IUPnPDeviceControl_Vtbl { pub const fn new, Impl: IUPnPDeviceControl_Impl, const OFFSET: isize>() -> IUPnPDeviceControl_Vtbl { - unsafe extern "system" fn Initialize, Impl: IUPnPDeviceControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxmldesc: std::mem::MaybeUninit, bstrdeviceidentifier: std::mem::MaybeUninit, bstrinitstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IUPnPDeviceControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxmldesc: core::mem::MaybeUninit, bstrdeviceidentifier: core::mem::MaybeUninit, bstrinitstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPDeviceControl_Impl::Initialize(this, core::mem::transmute(&bstrxmldesc), core::mem::transmute(&bstrdeviceidentifier), core::mem::transmute(&bstrinitstring)).into() } - unsafe extern "system" fn GetServiceObject, Impl: IUPnPDeviceControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrudn: std::mem::MaybeUninit, bstrserviceid: std::mem::MaybeUninit, ppdispservice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetServiceObject, Impl: IUPnPDeviceControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrudn: core::mem::MaybeUninit, bstrserviceid: core::mem::MaybeUninit, ppdispservice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDeviceControl_Impl::GetServiceObject(this, core::mem::transmute(&bstrudn), core::mem::transmute(&bstrserviceid)) { @@ -459,7 +459,7 @@ pub trait IUPnPDeviceControlHttpHeaders_Impl: Sized { impl windows_core::RuntimeName for IUPnPDeviceControlHttpHeaders {} impl IUPnPDeviceControlHttpHeaders_Vtbl { pub const fn new, Impl: IUPnPDeviceControlHttpHeaders_Impl, const OFFSET: isize>() -> IUPnPDeviceControlHttpHeaders_Vtbl { - unsafe extern "system" fn GetAdditionalResponseHeaders, Impl: IUPnPDeviceControlHttpHeaders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhttpresponseheaders: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAdditionalResponseHeaders, Impl: IUPnPDeviceControlHttpHeaders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhttpresponseheaders: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDeviceControlHttpHeaders_Impl::GetAdditionalResponseHeaders(this) { @@ -485,7 +485,7 @@ pub trait IUPnPDeviceDocumentAccess_Impl: Sized { impl windows_core::RuntimeName for IUPnPDeviceDocumentAccess {} impl IUPnPDeviceDocumentAccess_Vtbl { pub const fn new, Impl: IUPnPDeviceDocumentAccess_Impl, const OFFSET: isize>() -> IUPnPDeviceDocumentAccess_Vtbl { - unsafe extern "system" fn GetDocumentURL, Impl: IUPnPDeviceDocumentAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocument: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocumentURL, Impl: IUPnPDeviceDocumentAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocument: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDeviceDocumentAccess_Impl::GetDocumentURL(this) { @@ -508,7 +508,7 @@ pub trait IUPnPDeviceDocumentAccessEx_Impl: Sized { impl windows_core::RuntimeName for IUPnPDeviceDocumentAccessEx {} impl IUPnPDeviceDocumentAccessEx_Vtbl { pub const fn new, Impl: IUPnPDeviceDocumentAccessEx_Impl, const OFFSET: isize>() -> IUPnPDeviceDocumentAccessEx_Vtbl { - unsafe extern "system" fn GetDocument, Impl: IUPnPDeviceDocumentAccessEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocument: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocument, Impl: IUPnPDeviceDocumentAccessEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocument: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDeviceDocumentAccessEx_Impl::GetDocument(this) { @@ -538,7 +538,7 @@ impl windows_core::RuntimeName for IUPnPDeviceFinder {} #[cfg(feature = "Win32_System_Com")] impl IUPnPDeviceFinder_Vtbl { pub const fn new, Impl: IUPnPDeviceFinder_Impl, const OFFSET: isize>() -> IUPnPDeviceFinder_Vtbl { - unsafe extern "system" fn FindByType, Impl: IUPnPDeviceFinder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtypeuri: std::mem::MaybeUninit, dwflags: u32, pdevices: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindByType, Impl: IUPnPDeviceFinder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtypeuri: core::mem::MaybeUninit, dwflags: u32, pdevices: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDeviceFinder_Impl::FindByType(this, core::mem::transmute(&bstrtypeuri), core::mem::transmute_copy(&dwflags)) { @@ -549,7 +549,7 @@ impl IUPnPDeviceFinder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateAsyncFind, Impl: IUPnPDeviceFinder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtypeuri: std::mem::MaybeUninit, dwflags: u32, punkdevicefindercallback: *mut core::ffi::c_void, plfinddata: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn CreateAsyncFind, Impl: IUPnPDeviceFinder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtypeuri: core::mem::MaybeUninit, dwflags: u32, punkdevicefindercallback: *mut core::ffi::c_void, plfinddata: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDeviceFinder_Impl::CreateAsyncFind(this, core::mem::transmute(&bstrtypeuri), core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&punkdevicefindercallback)) { @@ -570,7 +570,7 @@ impl IUPnPDeviceFinder_Vtbl { let this = (*this).get_impl(); IUPnPDeviceFinder_Impl::CancelAsyncFind(this, core::mem::transmute_copy(&lfinddata)).into() } - unsafe extern "system" fn FindByUDN, Impl: IUPnPDeviceFinder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrudn: std::mem::MaybeUninit, pdevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindByUDN, Impl: IUPnPDeviceFinder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrudn: core::mem::MaybeUninit, pdevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDeviceFinder_Impl::FindByUDN(this, core::mem::transmute(&bstrudn)) { @@ -630,7 +630,7 @@ impl IUPnPDeviceFinderCallback_Vtbl { let this = (*this).get_impl(); IUPnPDeviceFinderCallback_Impl::DeviceAdded(this, core::mem::transmute_copy(&lfinddata), windows_core::from_raw_borrowed(&pdevice)).into() } - unsafe extern "system" fn DeviceRemoved, Impl: IUPnPDeviceFinderCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lfinddata: i32, bstrudn: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceRemoved, Impl: IUPnPDeviceFinderCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lfinddata: i32, bstrudn: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPDeviceFinderCallback_Impl::DeviceRemoved(this, core::mem::transmute_copy(&lfinddata), core::mem::transmute(&bstrudn)).into() @@ -658,7 +658,7 @@ pub trait IUPnPDeviceProvider_Impl: Sized { impl windows_core::RuntimeName for IUPnPDeviceProvider {} impl IUPnPDeviceProvider_Vtbl { pub const fn new, Impl: IUPnPDeviceProvider_Impl, const OFFSET: isize>() -> IUPnPDeviceProvider_Vtbl { - unsafe extern "system" fn Start, Impl: IUPnPDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinitstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Start, Impl: IUPnPDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinitstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPDeviceProvider_Impl::Start(this, core::mem::transmute(&bstrinitstring)).into() @@ -707,7 +707,7 @@ impl IUPnPDevices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IUPnPDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrudn: std::mem::MaybeUninit, ppdevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IUPnPDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrudn: core::mem::MaybeUninit, ppdevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPDevices_Impl::get_Item(this, core::mem::transmute(&bstrudn)) { @@ -741,7 +741,7 @@ impl IUPnPEventSink_Vtbl { let this = (*this).get_impl(); IUPnPEventSink_Impl::OnStateChanged(this, core::mem::transmute_copy(&cchanges), core::mem::transmute_copy(&rgdispidchanges)).into() } - unsafe extern "system" fn OnStateChangedSafe, Impl: IUPnPEventSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsadispidchanges: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnStateChangedSafe, Impl: IUPnPEventSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsadispidchanges: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPEventSink_Impl::OnStateChangedSafe(this, core::mem::transmute(&varsadispidchanges)).into() @@ -789,7 +789,7 @@ pub trait IUPnPHttpHeaderControl_Impl: Sized { impl windows_core::RuntimeName for IUPnPHttpHeaderControl {} impl IUPnPHttpHeaderControl_Vtbl { pub const fn new, Impl: IUPnPHttpHeaderControl_Impl, const OFFSET: isize>() -> IUPnPHttpHeaderControl_Vtbl { - unsafe extern "system" fn AddRequestHeaders, Impl: IUPnPHttpHeaderControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhttpheaders: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddRequestHeaders, Impl: IUPnPHttpHeaderControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhttpheaders: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPHttpHeaderControl_Impl::AddRequestHeaders(this, core::mem::transmute(&bstrhttpheaders)).into() @@ -811,7 +811,7 @@ pub trait IUPnPRegistrar_Impl: Sized { impl windows_core::RuntimeName for IUPnPRegistrar {} impl IUPnPRegistrar_Vtbl { pub const fn new, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>() -> IUPnPRegistrar_Vtbl { - unsafe extern "system" fn RegisterDevice, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxmldesc: std::mem::MaybeUninit, bstrprogiddevicecontrolclass: std::mem::MaybeUninit, bstrinitstring: std::mem::MaybeUninit, bstrcontainerid: std::mem::MaybeUninit, bstrresourcepath: std::mem::MaybeUninit, nlifetime: i32, pbstrdeviceidentifier: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterDevice, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxmldesc: core::mem::MaybeUninit, bstrprogiddevicecontrolclass: core::mem::MaybeUninit, bstrinitstring: core::mem::MaybeUninit, bstrcontainerid: core::mem::MaybeUninit, bstrresourcepath: core::mem::MaybeUninit, nlifetime: i32, pbstrdeviceidentifier: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPRegistrar_Impl::RegisterDevice(this, core::mem::transmute(&bstrxmldesc), core::mem::transmute(&bstrprogiddevicecontrolclass), core::mem::transmute(&bstrinitstring), core::mem::transmute(&bstrcontainerid), core::mem::transmute(&bstrresourcepath), core::mem::transmute_copy(&nlifetime)) { @@ -822,7 +822,7 @@ impl IUPnPRegistrar_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterRunningDevice, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxmldesc: std::mem::MaybeUninit, punkdevicecontrol: *mut core::ffi::c_void, bstrinitstring: std::mem::MaybeUninit, bstrresourcepath: std::mem::MaybeUninit, nlifetime: i32, pbstrdeviceidentifier: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterRunningDevice, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxmldesc: core::mem::MaybeUninit, punkdevicecontrol: *mut core::ffi::c_void, bstrinitstring: core::mem::MaybeUninit, bstrresourcepath: core::mem::MaybeUninit, nlifetime: i32, pbstrdeviceidentifier: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPRegistrar_Impl::RegisterRunningDevice(this, core::mem::transmute(&bstrxmldesc), windows_core::from_raw_borrowed(&punkdevicecontrol), core::mem::transmute(&bstrinitstring), core::mem::transmute(&bstrresourcepath), core::mem::transmute_copy(&nlifetime)) { @@ -833,12 +833,12 @@ impl IUPnPRegistrar_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterDeviceProvider, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: std::mem::MaybeUninit, bstrprogidproviderclass: std::mem::MaybeUninit, bstrinitstring: std::mem::MaybeUninit, bstrcontainerid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterDeviceProvider, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: core::mem::MaybeUninit, bstrprogidproviderclass: core::mem::MaybeUninit, bstrinitstring: core::mem::MaybeUninit, bstrcontainerid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPRegistrar_Impl::RegisterDeviceProvider(this, core::mem::transmute(&bstrprovidername), core::mem::transmute(&bstrprogidproviderclass), core::mem::transmute(&bstrinitstring), core::mem::transmute(&bstrcontainerid)).into() } - unsafe extern "system" fn GetUniqueDeviceName, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceidentifier: std::mem::MaybeUninit, bstrtemplateudn: std::mem::MaybeUninit, pbstrudn: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUniqueDeviceName, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceidentifier: core::mem::MaybeUninit, bstrtemplateudn: core::mem::MaybeUninit, pbstrudn: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPRegistrar_Impl::GetUniqueDeviceName(this, core::mem::transmute(&bstrdeviceidentifier), core::mem::transmute(&bstrtemplateudn)) { @@ -849,12 +849,12 @@ impl IUPnPRegistrar_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UnregisterDevice, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceidentifier: std::mem::MaybeUninit, fpermanent: super::super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn UnregisterDevice, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceidentifier: core::mem::MaybeUninit, fpermanent: super::super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPRegistrar_Impl::UnregisterDevice(this, core::mem::transmute(&bstrdeviceidentifier), core::mem::transmute_copy(&fpermanent)).into() } - unsafe extern "system" fn UnregisterDeviceProvider, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UnregisterDeviceProvider, Impl: IUPnPRegistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPRegistrar_Impl::UnregisterDeviceProvider(this, core::mem::transmute(&bstrprovidername)).into() @@ -881,7 +881,7 @@ pub trait IUPnPRemoteEndpointInfo_Impl: Sized { impl windows_core::RuntimeName for IUPnPRemoteEndpointInfo {} impl IUPnPRemoteEndpointInfo_Vtbl { pub const fn new, Impl: IUPnPRemoteEndpointInfo_Impl, const OFFSET: isize>() -> IUPnPRemoteEndpointInfo_Vtbl { - unsafe extern "system" fn GetDwordValue, Impl: IUPnPRemoteEndpointInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluename: std::mem::MaybeUninit, pdwvalue: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetDwordValue, Impl: IUPnPRemoteEndpointInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluename: core::mem::MaybeUninit, pdwvalue: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPRemoteEndpointInfo_Impl::GetDwordValue(this, core::mem::transmute(&bstrvaluename)) { @@ -892,7 +892,7 @@ impl IUPnPRemoteEndpointInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStringValue, Impl: IUPnPRemoteEndpointInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluename: std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStringValue, Impl: IUPnPRemoteEndpointInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluename: core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPRemoteEndpointInfo_Impl::GetStringValue(this, core::mem::transmute(&bstrvaluename)) { @@ -903,7 +903,7 @@ impl IUPnPRemoteEndpointInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetGuidValue, Impl: IUPnPRemoteEndpointInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluename: std::mem::MaybeUninit, pguidvalue: *mut windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn GetGuidValue, Impl: IUPnPRemoteEndpointInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluename: core::mem::MaybeUninit, pguidvalue: *mut windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPRemoteEndpointInfo_Impl::GetGuidValue(this, core::mem::transmute(&bstrvaluename)) { @@ -932,12 +932,12 @@ pub trait IUPnPReregistrar_Impl: Sized { impl windows_core::RuntimeName for IUPnPReregistrar {} impl IUPnPReregistrar_Vtbl { pub const fn new, Impl: IUPnPReregistrar_Impl, const OFFSET: isize>() -> IUPnPReregistrar_Vtbl { - unsafe extern "system" fn ReregisterDevice, Impl: IUPnPReregistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceidentifier: std::mem::MaybeUninit, bstrxmldesc: std::mem::MaybeUninit, bstrprogiddevicecontrolclass: std::mem::MaybeUninit, bstrinitstring: std::mem::MaybeUninit, bstrcontainerid: std::mem::MaybeUninit, bstrresourcepath: std::mem::MaybeUninit, nlifetime: i32) -> windows_core::HRESULT { + unsafe extern "system" fn ReregisterDevice, Impl: IUPnPReregistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceidentifier: core::mem::MaybeUninit, bstrxmldesc: core::mem::MaybeUninit, bstrprogiddevicecontrolclass: core::mem::MaybeUninit, bstrinitstring: core::mem::MaybeUninit, bstrcontainerid: core::mem::MaybeUninit, bstrresourcepath: core::mem::MaybeUninit, nlifetime: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPReregistrar_Impl::ReregisterDevice(this, core::mem::transmute(&bstrdeviceidentifier), core::mem::transmute(&bstrxmldesc), core::mem::transmute(&bstrprogiddevicecontrolclass), core::mem::transmute(&bstrinitstring), core::mem::transmute(&bstrcontainerid), core::mem::transmute(&bstrresourcepath), core::mem::transmute_copy(&nlifetime)).into() } - unsafe extern "system" fn ReregisterRunningDevice, Impl: IUPnPReregistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceidentifier: std::mem::MaybeUninit, bstrxmldesc: std::mem::MaybeUninit, punkdevicecontrol: *mut core::ffi::c_void, bstrinitstring: std::mem::MaybeUninit, bstrresourcepath: std::mem::MaybeUninit, nlifetime: i32) -> windows_core::HRESULT { + unsafe extern "system" fn ReregisterRunningDevice, Impl: IUPnPReregistrar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceidentifier: core::mem::MaybeUninit, bstrxmldesc: core::mem::MaybeUninit, punkdevicecontrol: *mut core::ffi::c_void, bstrinitstring: core::mem::MaybeUninit, bstrresourcepath: core::mem::MaybeUninit, nlifetime: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPReregistrar_Impl::ReregisterRunningDevice(this, core::mem::transmute(&bstrdeviceidentifier), core::mem::transmute(&bstrxmldesc), windows_core::from_raw_borrowed(&punkdevicecontrol), core::mem::transmute(&bstrinitstring), core::mem::transmute(&bstrresourcepath), core::mem::transmute_copy(&nlifetime)).into() @@ -966,7 +966,7 @@ impl windows_core::RuntimeName for IUPnPService {} #[cfg(feature = "Win32_System_Com")] impl IUPnPService_Vtbl { pub const fn new, Impl: IUPnPService_Impl, const OFFSET: isize>() -> IUPnPService_Vtbl { - unsafe extern "system" fn QueryStateVariable, Impl: IUPnPService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvariablename: std::mem::MaybeUninit, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueryStateVariable, Impl: IUPnPService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvariablename: core::mem::MaybeUninit, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPService_Impl::QueryStateVariable(this, core::mem::transmute(&bstrvariablename)) { @@ -977,7 +977,7 @@ impl IUPnPService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InvokeAction, Impl: IUPnPService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstractionname: std::mem::MaybeUninit, vinactionargs: std::mem::MaybeUninit, pvoutactionargs: *mut std::mem::MaybeUninit, pvretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeAction, Impl: IUPnPService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstractionname: core::mem::MaybeUninit, vinactionargs: core::mem::MaybeUninit, pvoutactionargs: *mut core::mem::MaybeUninit, pvretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPService_Impl::InvokeAction(this, core::mem::transmute(&bstractionname), core::mem::transmute(&vinactionargs), core::mem::transmute_copy(&pvoutactionargs)) { @@ -988,7 +988,7 @@ impl IUPnPService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceTypeIdentifier, Impl: IUPnPService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceTypeIdentifier, Impl: IUPnPService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPService_Impl::ServiceTypeIdentifier(this) { @@ -1004,7 +1004,7 @@ impl IUPnPService_Vtbl { let this = (*this).get_impl(); IUPnPService_Impl::AddCallback(this, windows_core::from_raw_borrowed(&punkcallback)).into() } - unsafe extern "system" fn Id, Impl: IUPnPService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IUPnPService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPService_Impl::Id(this) { @@ -1054,7 +1054,7 @@ pub trait IUPnPServiceAsync_Impl: Sized { impl windows_core::RuntimeName for IUPnPServiceAsync {} impl IUPnPServiceAsync_Vtbl { pub const fn new, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>() -> IUPnPServiceAsync_Vtbl { - unsafe extern "system" fn BeginInvokeAction, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstractionname: std::mem::MaybeUninit, vinactionargs: std::mem::MaybeUninit, pasyncresult: *mut core::ffi::c_void, pullrequestid: *mut u64) -> windows_core::HRESULT { + unsafe extern "system" fn BeginInvokeAction, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstractionname: core::mem::MaybeUninit, vinactionargs: core::mem::MaybeUninit, pasyncresult: *mut core::ffi::c_void, pullrequestid: *mut u64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPServiceAsync_Impl::BeginInvokeAction(this, core::mem::transmute(&bstractionname), core::mem::transmute(&vinactionargs), windows_core::from_raw_borrowed(&pasyncresult)) { @@ -1065,12 +1065,12 @@ impl IUPnPServiceAsync_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EndInvokeAction, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ullrequestid: u64, pvoutactionargs: *mut std::mem::MaybeUninit, pvretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EndInvokeAction, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ullrequestid: u64, pvoutactionargs: *mut core::mem::MaybeUninit, pvretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPServiceAsync_Impl::EndInvokeAction(this, core::mem::transmute_copy(&ullrequestid), core::mem::transmute_copy(&pvoutactionargs), core::mem::transmute_copy(&pvretval)).into() } - unsafe extern "system" fn BeginQueryStateVariable, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvariablename: std::mem::MaybeUninit, pasyncresult: *mut core::ffi::c_void, pullrequestid: *mut u64) -> windows_core::HRESULT { + unsafe extern "system" fn BeginQueryStateVariable, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvariablename: core::mem::MaybeUninit, pasyncresult: *mut core::ffi::c_void, pullrequestid: *mut u64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPServiceAsync_Impl::BeginQueryStateVariable(this, core::mem::transmute(&bstrvariablename), windows_core::from_raw_borrowed(&pasyncresult)) { @@ -1081,7 +1081,7 @@ impl IUPnPServiceAsync_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EndQueryStateVariable, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ullrequestid: u64, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EndQueryStateVariable, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ullrequestid: u64, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPServiceAsync_Impl::EndQueryStateVariable(this, core::mem::transmute_copy(&ullrequestid), core::mem::transmute_copy(&pvalue)).into() @@ -1113,7 +1113,7 @@ impl IUPnPServiceAsync_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EndSCPDDownload, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ullrequestid: u64, pbstrscpddoc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EndSCPDDownload, Impl: IUPnPServiceAsync_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ullrequestid: u64, pbstrscpddoc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPServiceAsync_Impl::EndSCPDDownload(this, core::mem::transmute_copy(&ullrequestid)) { @@ -1156,7 +1156,7 @@ impl windows_core::RuntimeName for IUPnPServiceCallback {} #[cfg(feature = "Win32_System_Com")] impl IUPnPServiceCallback_Vtbl { pub const fn new, Impl: IUPnPServiceCallback_Impl, const OFFSET: isize>() -> IUPnPServiceCallback_Vtbl { - unsafe extern "system" fn StateVariableChanged, Impl: IUPnPServiceCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pus: *mut core::ffi::c_void, pcwszstatevarname: windows_core::PCWSTR, vavalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StateVariableChanged, Impl: IUPnPServiceCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pus: *mut core::ffi::c_void, pcwszstatevarname: windows_core::PCWSTR, vavalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUPnPServiceCallback_Impl::StateVariableChanged(this, windows_core::from_raw_borrowed(&pus), core::mem::transmute(&pcwszstatevarname), core::mem::transmute(&vavalue)).into() @@ -1183,7 +1183,7 @@ pub trait IUPnPServiceDocumentAccess_Impl: Sized { impl windows_core::RuntimeName for IUPnPServiceDocumentAccess {} impl IUPnPServiceDocumentAccess_Vtbl { pub const fn new, Impl: IUPnPServiceDocumentAccess_Impl, const OFFSET: isize>() -> IUPnPServiceDocumentAccess_Vtbl { - unsafe extern "system" fn GetDocumentURL, Impl: IUPnPServiceDocumentAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocumentURL, Impl: IUPnPServiceDocumentAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPServiceDocumentAccess_Impl::GetDocumentURL(this) { @@ -1194,7 +1194,7 @@ impl IUPnPServiceDocumentAccess_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDocument, Impl: IUPnPServiceDocumentAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdoc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocument, Impl: IUPnPServiceDocumentAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdoc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPServiceDocumentAccess_Impl::GetDocument(this) { @@ -1265,7 +1265,7 @@ impl IUPnPServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IUPnPServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserviceid: std::mem::MaybeUninit, ppservice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IUPnPServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserviceid: core::mem::MaybeUninit, ppservice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUPnPServices_Impl::get_Item(this, core::mem::transmute(&bstrserviceid)) { 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 479a0afa2c..4fd4dd918b 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 @@ -14,7 +14,7 @@ where P1: windows_core::Param, { windows_targets::link!("cfgmgr32.dll" "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 : SW_DEVICE_CREATE_CALLBACK, pcontext : *const core::ffi::c_void, phswdevice : *mut HSWDEVICE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SwDeviceCreate(pszenumeratorname.param().abi(), pszparentdeviceinstance.param().abi(), pcreateinfo, pproperties.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(pproperties.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pcallback, core::mem::transmute(pcontext.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -23,7 +23,7 @@ where P0: windows_core::Param, { windows_targets::link!("cfgmgr32.dll" "system" fn SwDeviceGetLifetime(hswdevice : HSWDEVICE, plifetime : *mut SW_DEVICE_LIFETIME) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SwDeviceGetLifetime(hswdevice.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Devices_Properties")] @@ -45,7 +45,7 @@ where P2: windows_core::Param, { windows_targets::link!("cfgmgr32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SwDeviceInterfaceRegister(hswdevice.param().abi(), pinterfaceclassguid, pszreferencestring.param().abi(), pproperties.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(pproperties.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), fenabled.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -84,7 +84,7 @@ windows_core::imp::define_interface!(IUPnPAddressFamilyControl, IUPnPAddressFami impl std::ops::Deref for IUPnPAddressFamilyControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPAddressFamilyControl, windows_core::IUnknown); @@ -93,7 +93,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAddressFamily)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -107,7 +107,7 @@ windows_core::imp::define_interface!(IUPnPAsyncResult, IUPnPAsyncResult_Vtbl, 0x impl std::ops::Deref for IUPnPAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPAsyncResult, windows_core::IUnknown); @@ -127,7 +127,7 @@ windows_core::imp::define_interface!(IUPnPDescriptionDocument, IUPnPDescriptionD impl std::ops::Deref for IUPnPDescriptionDocument { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -135,7 +135,7 @@ windows_core::imp::interface_hierarchy!(IUPnPDescriptionDocument, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IUPnPDescriptionDocument { pub unsafe fn ReadyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Load(&self, bstrurl: P0) -> windows_core::Result<()> @@ -152,7 +152,7 @@ impl IUPnPDescriptionDocument { (windows_core::Interface::vtable(self).LoadAsync)(windows_core::Interface::as_raw(self), bstrurl.param().abi(), punkcallback.param().abi()).ok() } pub unsafe fn LoadResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Abort(&self) -> windows_core::Result<()> { @@ -160,7 +160,7 @@ impl IUPnPDescriptionDocument { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -168,7 +168,7 @@ impl IUPnPDescriptionDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceByUDN)(windows_core::Interface::as_raw(self), bstrudn.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -177,8 +177,8 @@ impl IUPnPDescriptionDocument { pub struct IUPnPDescriptionDocument_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub ReadyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LoadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LoadResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -186,7 +186,7 @@ pub struct IUPnPDescriptionDocument_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] RootDevice: usize, #[cfg(feature = "Win32_System_Com")] - pub DeviceByUDN: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeviceByUDN: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DeviceByUDN: usize, } @@ -194,7 +194,7 @@ windows_core::imp::define_interface!(IUPnPDescriptionDocumentCallback, IUPnPDesc impl std::ops::Deref for IUPnPDescriptionDocumentCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPDescriptionDocumentCallback, windows_core::IUnknown); @@ -214,7 +214,7 @@ windows_core::imp::define_interface!(IUPnPDevice, IUPnPDevice_Vtbl, 0x3d44d0d1_9 impl std::ops::Deref for IUPnPDevice { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -222,86 +222,86 @@ windows_core::imp::interface_hierarchy!(IUPnPDevice, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IUPnPDevice { pub unsafe fn IsRootDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRootDevice)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ParentDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HasChildren(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasChildren)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Children(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Children)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UniqueDeviceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UniqueDeviceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PresentationURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PresentationURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ManufacturerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ManufacturerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ManufacturerURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ManufacturerURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModelName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModelName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModelNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModelNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModelURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModelURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UPC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UPC)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SerialNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SerialNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IconURL(&self, bstrencodingformat: P0, lsizex: i32, lsizey: i32, lbitdepth: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IconURL)(windows_core::Interface::as_raw(self), bstrencodingformat.param().abi(), lsizex, lsizey, lbitdepth, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Services(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Services)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -323,19 +323,19 @@ pub struct IUPnPDevice_Vtbl { pub Children: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Children: usize, - pub UniqueDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PresentationURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ManufacturerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ManufacturerURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModelURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UPC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IconURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UniqueDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PresentationURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ManufacturerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ManufacturerURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModelURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UPC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IconURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Services: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -345,7 +345,7 @@ windows_core::imp::define_interface!(IUPnPDeviceControl, IUPnPDeviceControl_Vtbl impl std::ops::Deref for IUPnPDeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPDeviceControl, windows_core::IUnknown); @@ -364,16 +364,16 @@ impl IUPnPDeviceControl { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceObject)(windows_core::Interface::as_raw(self), bstrudn.param().abi(), bstrserviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IUPnPDeviceControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetServiceObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetServiceObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetServiceObject: usize, } @@ -381,58 +381,58 @@ windows_core::imp::define_interface!(IUPnPDeviceControlHttpHeaders, IUPnPDeviceC impl std::ops::Deref for IUPnPDeviceControlHttpHeaders { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPDeviceControlHttpHeaders, windows_core::IUnknown); impl IUPnPDeviceControlHttpHeaders { pub unsafe fn GetAdditionalResponseHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdditionalResponseHeaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IUPnPDeviceControlHttpHeaders_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetAdditionalResponseHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAdditionalResponseHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPDeviceDocumentAccess, IUPnPDeviceDocumentAccess_Vtbl, 0xe7772804_3287_418e_9072_cf2b47238981); impl std::ops::Deref for IUPnPDeviceDocumentAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPDeviceDocumentAccess, windows_core::IUnknown); impl IUPnPDeviceDocumentAccess { pub unsafe fn GetDocumentURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IUPnPDeviceDocumentAccess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDocumentURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDocumentURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPDeviceDocumentAccessEx, IUPnPDeviceDocumentAccessEx_Vtbl, 0xc4bc4050_6178_4bd1_a4b8_6398321f3247); impl std::ops::Deref for IUPnPDeviceDocumentAccessEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPDeviceDocumentAccessEx, windows_core::IUnknown); impl IUPnPDeviceDocumentAccessEx { pub unsafe fn GetDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IUPnPDeviceDocumentAccessEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUPnPDeviceFinder, IUPnPDeviceFinder_Vtbl, 0xadda3d55_6f72_4319_bff9_18600a539b10); @@ -440,7 +440,7 @@ windows_core::imp::define_interface!(IUPnPDeviceFinder, IUPnPDeviceFinder_Vtbl, impl std::ops::Deref for IUPnPDeviceFinder { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -452,7 +452,7 @@ impl IUPnPDeviceFinder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindByType)(windows_core::Interface::as_raw(self), bstrtypeuri.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAsyncFind(&self, bstrtypeuri: P0, dwflags: u32, punkdevicefindercallback: P1) -> windows_core::Result @@ -460,7 +460,7 @@ impl IUPnPDeviceFinder { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAsyncFind)(windows_core::Interface::as_raw(self), bstrtypeuri.param().abi(), dwflags, punkdevicefindercallback.param().abi(), &mut result__).map(|| result__) } pub unsafe fn StartAsyncFind(&self, lfinddata: i32) -> windows_core::Result<()> { @@ -474,7 +474,7 @@ impl IUPnPDeviceFinder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindByUDN)(windows_core::Interface::as_raw(self), bstrudn.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -483,14 +483,14 @@ impl IUPnPDeviceFinder { pub struct IUPnPDeviceFinder_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub FindByType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindByType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FindByType: usize, - pub CreateAsyncFind: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, + pub CreateAsyncFind: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub StartAsyncFind: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CancelAsyncFind: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub FindByUDN: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindByUDN: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FindByUDN: usize, } @@ -498,7 +498,7 @@ windows_core::imp::define_interface!(IUPnPDeviceFinderAddCallbackWithInterface, impl std::ops::Deref for IUPnPDeviceFinderAddCallbackWithInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPDeviceFinderAddCallbackWithInterface, windows_core::IUnknown); @@ -523,7 +523,7 @@ windows_core::imp::define_interface!(IUPnPDeviceFinderCallback, IUPnPDeviceFinde impl std::ops::Deref for IUPnPDeviceFinderCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPDeviceFinderCallback, windows_core::IUnknown); @@ -552,14 +552,14 @@ pub struct IUPnPDeviceFinderCallback_Vtbl { pub DeviceAdded: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DeviceAdded: usize, - pub DeviceRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SearchComplete: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPDeviceProvider, IUPnPDeviceProvider_Vtbl, 0x204810b8_73b2_11d4_bf42_00b0d0118b56); impl std::ops::Deref for IUPnPDeviceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPDeviceProvider, windows_core::IUnknown); @@ -577,7 +577,7 @@ impl IUPnPDeviceProvider { #[repr(C)] pub struct IUPnPDeviceProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -586,7 +586,7 @@ windows_core::imp::define_interface!(IUPnPDevices, IUPnPDevices_Vtbl, 0xfdbc0c73 impl std::ops::Deref for IUPnPDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -594,11 +594,11 @@ windows_core::imp::interface_hierarchy!(IUPnPDevices, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IUPnPDevices { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -606,7 +606,7 @@ impl IUPnPDevices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), bstrudn.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -617,7 +617,7 @@ pub struct IUPnPDevices_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } @@ -625,7 +625,7 @@ windows_core::imp::define_interface!(IUPnPEventSink, IUPnPEventSink_Vtbl, 0x2048 impl std::ops::Deref for IUPnPEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPEventSink, windows_core::IUnknown); @@ -644,13 +644,13 @@ impl IUPnPEventSink { pub struct IUPnPEventSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const i32) -> windows_core::HRESULT, - pub OnStateChangedSafe: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnStateChangedSafe: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPEventSource, IUPnPEventSource_Vtbl, 0x204810b5_73b2_11d4_bf42_00b0d0118b56); impl std::ops::Deref for IUPnPEventSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPEventSource, windows_core::IUnknown); @@ -678,7 +678,7 @@ windows_core::imp::define_interface!(IUPnPHttpHeaderControl, IUPnPHttpHeaderCont impl std::ops::Deref for IUPnPHttpHeaderControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPHttpHeaderControl, windows_core::IUnknown); @@ -693,13 +693,13 @@ impl IUPnPHttpHeaderControl { #[repr(C)] pub struct IUPnPHttpHeaderControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub AddRequestHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddRequestHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPRegistrar, IUPnPRegistrar_Vtbl, 0x204810b6_73b2_11d4_bf42_00b0d0118b56); impl std::ops::Deref for IUPnPRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPRegistrar, windows_core::IUnknown); @@ -712,7 +712,7 @@ impl IUPnPRegistrar { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterDevice)(windows_core::Interface::as_raw(self), bstrxmldesc.param().abi(), bstrprogiddevicecontrolclass.param().abi(), bstrinitstring.param().abi(), bstrcontainerid.param().abi(), bstrresourcepath.param().abi(), nlifetime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterRunningDevice(&self, bstrxmldesc: P0, punkdevicecontrol: P1, bstrinitstring: P2, bstrresourcepath: P3, nlifetime: i32) -> windows_core::Result @@ -722,7 +722,7 @@ impl IUPnPRegistrar { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterRunningDevice)(windows_core::Interface::as_raw(self), bstrxmldesc.param().abi(), punkdevicecontrol.param().abi(), bstrinitstring.param().abi(), bstrresourcepath.param().abi(), nlifetime, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterDeviceProvider(&self, bstrprovidername: P0, bstrprogidproviderclass: P1, bstrinitstring: P2, bstrcontainerid: P3) -> windows_core::Result<()> @@ -739,7 +739,7 @@ impl IUPnPRegistrar { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUniqueDeviceName)(windows_core::Interface::as_raw(self), bstrdeviceidentifier.param().abi(), bstrtemplateudn.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnregisterDevice(&self, bstrdeviceidentifier: P0, fpermanent: P1) -> windows_core::Result<()> @@ -759,18 +759,18 @@ impl IUPnPRegistrar { #[repr(C)] pub struct IUPnPRegistrar_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub RegisterDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RegisterRunningDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RegisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetUniqueDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UnregisterDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub UnregisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterRunningDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUniqueDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnregisterDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub UnregisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPRemoteEndpointInfo, IUPnPRemoteEndpointInfo_Vtbl, 0xc92eb863_0269_4aff_9c72_75321bba2952); impl std::ops::Deref for IUPnPRemoteEndpointInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPRemoteEndpointInfo, windows_core::IUnknown); @@ -779,36 +779,36 @@ impl IUPnPRemoteEndpointInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDwordValue)(windows_core::Interface::as_raw(self), bstrvaluename.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetStringValue(&self, bstrvaluename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringValue)(windows_core::Interface::as_raw(self), bstrvaluename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetGuidValue(&self, bstrvaluename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuidValue)(windows_core::Interface::as_raw(self), bstrvaluename.param().abi(), &mut result__).map(|| result__) } } #[repr(C)] pub struct IUPnPRemoteEndpointInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDwordValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, - pub GetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetGuidValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, + pub GetDwordValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub GetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetGuidValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPReregistrar, IUPnPReregistrar_Vtbl, 0x204810b7_73b2_11d4_bf42_00b0d0118b56); impl std::ops::Deref for IUPnPReregistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPReregistrar, windows_core::IUnknown); @@ -838,8 +838,8 @@ impl IUPnPReregistrar { #[repr(C)] pub struct IUPnPReregistrar_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ReregisterDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub ReregisterRunningDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub ReregisterDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub ReregisterRunningDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUPnPService, IUPnPService_Vtbl, 0xa295019c_dc65_47dd_90dc_7fe918a1ab44); @@ -847,7 +847,7 @@ windows_core::imp::define_interface!(IUPnPService, IUPnPService_Vtbl, 0xa295019c impl std::ops::Deref for IUPnPService { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -858,7 +858,7 @@ impl IUPnPService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryStateVariable)(windows_core::Interface::as_raw(self), bstrvariablename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InvokeAction(&self, bstractionname: P0, vinactionargs: P1, pvoutactionargs: *mut windows_core::VARIANT) -> windows_core::Result @@ -866,11 +866,11 @@ impl IUPnPService { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InvokeAction)(windows_core::Interface::as_raw(self), bstractionname.param().abi(), vinactionargs.param().abi(), core::mem::transmute(pvoutactionargs), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceTypeIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceTypeIdentifier)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddCallback(&self, punkcallback: P0) -> windows_core::Result<()> @@ -880,11 +880,11 @@ impl IUPnPService { (windows_core::Interface::vtable(self).AddCallback)(windows_core::Interface::as_raw(self), punkcallback.param().abi()).ok() } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastTransportStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastTransportStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -892,18 +892,18 @@ impl IUPnPService { #[repr(C)] pub struct IUPnPService_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub QueryStateVariable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InvokeAction: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceTypeIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryStateVariable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InvokeAction: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceTypeIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LastTransportStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPServiceAsync, IUPnPServiceAsync_Vtbl, 0x098bdaf5_5ec1_49e7_a260_b3a11dd8680c); impl std::ops::Deref for IUPnPServiceAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPServiceAsync, windows_core::IUnknown); @@ -914,7 +914,7 @@ impl IUPnPServiceAsync { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginInvokeAction)(windows_core::Interface::as_raw(self), bstractionname.param().abi(), vinactionargs.param().abi(), pasyncresult.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EndInvokeAction(&self, ullrequestid: u64, pvoutactionargs: *mut windows_core::VARIANT, pvretval: *mut windows_core::VARIANT) -> windows_core::Result<()> { @@ -925,7 +925,7 @@ impl IUPnPServiceAsync { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginQueryStateVariable)(windows_core::Interface::as_raw(self), bstrvariablename.param().abi(), pasyncresult.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EndQueryStateVariable(&self, ullrequestid: u64, pvalue: *mut windows_core::VARIANT) -> windows_core::Result<()> { @@ -936,7 +936,7 @@ impl IUPnPServiceAsync { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginSubscribeToEvents)(windows_core::Interface::as_raw(self), punkcallback.param().abi(), pasyncresult.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EndSubscribeToEvents(&self, ullrequestid: u64) -> windows_core::Result<()> { @@ -946,11 +946,11 @@ impl IUPnPServiceAsync { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginSCPDDownload)(windows_core::Interface::as_raw(self), pasyncresult.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EndSCPDDownload(&self, ullrequestid: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndSCPDDownload)(windows_core::Interface::as_raw(self), ullrequestid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CancelAsyncOperation(&self, ullrequestid: u64) -> windows_core::Result<()> { @@ -960,21 +960,21 @@ impl IUPnPServiceAsync { #[repr(C)] pub struct IUPnPServiceAsync_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub BeginInvokeAction: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub EndInvokeAction: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BeginQueryStateVariable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub EndQueryStateVariable: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BeginInvokeAction: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub EndInvokeAction: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BeginQueryStateVariable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub EndQueryStateVariable: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BeginSubscribeToEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub EndSubscribeToEvents: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub BeginSCPDDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub EndSCPDDownload: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EndSCPDDownload: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CancelAsyncOperation: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPServiceCallback, IUPnPServiceCallback_Vtbl, 0x31fadca9_ab73_464b_b67d_5c1d0f83c8b8); impl std::ops::Deref for IUPnPServiceCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPServiceCallback, windows_core::IUnknown); @@ -1000,7 +1000,7 @@ impl IUPnPServiceCallback { pub struct IUPnPServiceCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub StateVariableChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StateVariableChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] StateVariableChanged: usize, #[cfg(feature = "Win32_System_Com")] @@ -1012,31 +1012,31 @@ windows_core::imp::define_interface!(IUPnPServiceDocumentAccess, IUPnPServiceDoc impl std::ops::Deref for IUPnPServiceDocumentAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPServiceDocumentAccess, windows_core::IUnknown); impl IUPnPServiceDocumentAccess { pub unsafe fn GetDocumentURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IUPnPServiceDocumentAccess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDocumentURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDocumentURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPServiceEnumProperty, IUPnPServiceEnumProperty_Vtbl, 0x38873b37_91bb_49f4_b249_2e8efbb8a816); impl std::ops::Deref for IUPnPServiceEnumProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUPnPServiceEnumProperty, windows_core::IUnknown); @@ -1056,7 +1056,7 @@ windows_core::imp::define_interface!(IUPnPServices, IUPnPServices_Vtbl, 0x3f8c8e impl std::ops::Deref for IUPnPServices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1064,11 +1064,11 @@ windows_core::imp::interface_hierarchy!(IUPnPServices, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IUPnPServices { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1076,7 +1076,7 @@ impl IUPnPServices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), bstrserviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1087,7 +1087,7 @@ pub struct IUPnPServices_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs index a5d1d4060f..e3821649e4 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs @@ -10,7 +10,7 @@ impl windows_core::RuntimeName for IFaxAccount {} #[cfg(feature = "Win32_System_Com")] impl IFaxAccount_Vtbl { pub const fn new, Impl: IFaxAccount_Impl, const OFFSET: isize>() -> IFaxAccount_Vtbl { - unsafe extern "system" fn AccountName, Impl: IFaxAccount_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstraccountname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AccountName, Impl: IFaxAccount_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstraccountname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxAccount_Impl::AccountName(this) { @@ -179,7 +179,7 @@ impl IFaxAccountIncomingArchive_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMessage, Impl: IFaxAccountIncomingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit, pfaxincomingmessage: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetMessage, Impl: IFaxAccountIncomingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit, pfaxincomingmessage: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxAccountIncomingArchive_Impl::GetMessage(this, core::mem::transmute(&bstrmessageid)) { @@ -224,7 +224,7 @@ impl IFaxAccountIncomingQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetJob, Impl: IFaxAccountIncomingQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit, pfaxincomingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetJob, Impl: IFaxAccountIncomingQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit, pfaxincomingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxAccountIncomingQueue_Impl::GetJob(this, core::mem::transmute(&bstrjobid)) { @@ -264,52 +264,52 @@ impl windows_core::RuntimeName for IFaxAccountNotify {} #[cfg(feature = "Win32_System_Com")] impl IFaxAccountNotify_Vtbl { pub const fn new, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>() -> IFaxAccountNotify_Vtbl { - unsafe extern "system" fn OnIncomingJobAdded, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingJobAdded, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnIncomingJobAdded(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrjobid)).into() } - unsafe extern "system" fn OnIncomingJobRemoved, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingJobRemoved, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnIncomingJobRemoved(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrjobid)).into() } - unsafe extern "system" fn OnIncomingJobChanged, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit, pjobstatus: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingJobChanged, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit, pjobstatus: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnIncomingJobChanged(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrjobid), windows_core::from_raw_borrowed(&pjobstatus)).into() } - unsafe extern "system" fn OnOutgoingJobAdded, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingJobAdded, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnOutgoingJobAdded(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrjobid)).into() } - unsafe extern "system" fn OnOutgoingJobRemoved, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingJobRemoved, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnOutgoingJobRemoved(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrjobid)).into() } - unsafe extern "system" fn OnOutgoingJobChanged, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit, pjobstatus: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingJobChanged, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit, pjobstatus: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnOutgoingJobChanged(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrjobid), windows_core::from_raw_borrowed(&pjobstatus)).into() } - unsafe extern "system" fn OnIncomingMessageAdded, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit, faddedtoreceivefolder: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingMessageAdded, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit, faddedtoreceivefolder: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnIncomingMessageAdded(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrmessageid), core::mem::transmute_copy(&faddedtoreceivefolder)).into() } - unsafe extern "system" fn OnIncomingMessageRemoved, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit, fremovedfromreceivefolder: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingMessageRemoved, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit, fremovedfromreceivefolder: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnIncomingMessageRemoved(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrmessageid), core::mem::transmute_copy(&fremovedfromreceivefolder)).into() } - unsafe extern "system" fn OnOutgoingMessageAdded, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingMessageAdded, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnOutgoingMessageAdded(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrmessageid)).into() } - unsafe extern "system" fn OnOutgoingMessageRemoved, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingMessageRemoved, Impl: IFaxAccountNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxaccount: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountNotify_Impl::OnOutgoingMessageRemoved(this, windows_core::from_raw_borrowed(&pfaxaccount), core::mem::transmute(&bstrmessageid)).into() @@ -389,7 +389,7 @@ impl IFaxAccountOutgoingArchive_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMessage, Impl: IFaxAccountOutgoingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit, pfaxoutgoingmessage: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetMessage, Impl: IFaxAccountOutgoingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit, pfaxoutgoingmessage: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxAccountOutgoingArchive_Impl::GetMessage(this, core::mem::transmute(&bstrmessageid)) { @@ -434,7 +434,7 @@ impl IFaxAccountOutgoingQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetJob, Impl: IFaxAccountOutgoingQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit, pfaxoutgoingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetJob, Impl: IFaxAccountOutgoingQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit, pfaxoutgoingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxAccountOutgoingQueue_Impl::GetJob(this, core::mem::transmute(&bstrjobid)) { @@ -478,7 +478,7 @@ impl IFaxAccountSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAccount, Impl: IFaxAccountSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraccountname: std::mem::MaybeUninit, pfaxaccount: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetAccount, Impl: IFaxAccountSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraccountname: core::mem::MaybeUninit, pfaxaccount: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxAccountSet_Impl::GetAccount(this, core::mem::transmute(&bstraccountname)) { @@ -489,7 +489,7 @@ impl IFaxAccountSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddAccount, Impl: IFaxAccountSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraccountname: std::mem::MaybeUninit, pfaxaccount: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddAccount, Impl: IFaxAccountSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraccountname: core::mem::MaybeUninit, pfaxaccount: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxAccountSet_Impl::AddAccount(this, core::mem::transmute(&bstraccountname)) { @@ -500,7 +500,7 @@ impl IFaxAccountSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoveAccount, Impl: IFaxAccountSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraccountname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveAccount, Impl: IFaxAccountSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraccountname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxAccountSet_Impl::RemoveAccount(this, core::mem::transmute(&bstraccountname)).into() @@ -539,7 +539,7 @@ impl IFaxAccounts_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFaxAccounts_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: std::mem::MaybeUninit, pfaxaccount: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFaxAccounts_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: core::mem::MaybeUninit, pfaxaccount: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxAccounts_Impl::get_Item(this, core::mem::transmute(&vindex)) { @@ -695,7 +695,7 @@ impl IFaxActivityLogging_Vtbl { let this = (*this).get_impl(); IFaxActivityLogging_Impl::SetLogOutgoing(this, core::mem::transmute_copy(&blogoutgoing)).into() } - unsafe extern "system" fn DatabasePath, Impl: IFaxActivityLogging_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdatabasepath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DatabasePath, Impl: IFaxActivityLogging_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdatabasepath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxActivityLogging_Impl::DatabasePath(this) { @@ -706,7 +706,7 @@ impl IFaxActivityLogging_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDatabasePath, Impl: IFaxActivityLogging_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdatabasepath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDatabasePath, Impl: IFaxActivityLogging_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdatabasepath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxActivityLogging_Impl::SetDatabasePath(this, core::mem::transmute(&bstrdatabasepath)).into() @@ -803,7 +803,7 @@ impl IFaxConfiguration_Vtbl { let this = (*this).get_impl(); IFaxConfiguration_Impl::SetUseArchive(this, core::mem::transmute_copy(&busearchive)).into() } - unsafe extern "system" fn ArchiveLocation, Impl: IFaxConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrarchivelocation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ArchiveLocation, Impl: IFaxConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrarchivelocation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxConfiguration_Impl::ArchiveLocation(this) { @@ -814,7 +814,7 @@ impl IFaxConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetArchiveLocation, Impl: IFaxConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrarchivelocation: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetArchiveLocation, Impl: IFaxConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrarchivelocation: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxConfiguration_Impl::SetArchiveLocation(this, core::mem::transmute(&bstrarchivelocation)).into() @@ -1218,7 +1218,7 @@ impl IFaxDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceName, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceName, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDevice_Impl::DeviceName(this) { @@ -1229,7 +1229,7 @@ impl IFaxDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProviderUniqueName, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprovideruniquename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderUniqueName, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprovideruniquename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDevice_Impl::ProviderUniqueName(this) { @@ -1273,7 +1273,7 @@ impl IFaxDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UsedRoutingMethods, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvusedroutingmethods: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UsedRoutingMethods, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvusedroutingmethods: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDevice_Impl::UsedRoutingMethods(this) { @@ -1284,7 +1284,7 @@ impl IFaxDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDevice_Impl::Description(this) { @@ -1295,7 +1295,7 @@ impl IFaxDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDevice_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() @@ -1348,7 +1348,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); IFaxDevice_Impl::SetRingsBeforeAnswer(this, core::mem::transmute_copy(&lringsbeforeanswer)).into() } - unsafe extern "system" fn CSID, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CSID, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDevice_Impl::CSID(this) { @@ -1359,12 +1359,12 @@ impl IFaxDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCSID, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCSID, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDevice_Impl::SetCSID(this, core::mem::transmute(&bstrcsid)).into() } - unsafe extern "system" fn TSID, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TSID, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDevice_Impl::TSID(this) { @@ -1375,7 +1375,7 @@ impl IFaxDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTSID, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTSID, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDevice_Impl::SetTSID(this, core::mem::transmute(&bstrtsid)).into() @@ -1390,7 +1390,7 @@ impl IFaxDevice_Vtbl { let this = (*this).get_impl(); IFaxDevice_Impl::Save(this).into() } - unsafe extern "system" fn GetExtensionProperty, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: std::mem::MaybeUninit, pvproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetExtensionProperty, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: core::mem::MaybeUninit, pvproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDevice_Impl::GetExtensionProperty(this, core::mem::transmute(&bstrguid)) { @@ -1401,12 +1401,12 @@ impl IFaxDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExtensionProperty, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: std::mem::MaybeUninit, vproperty: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExtensionProperty, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: core::mem::MaybeUninit, vproperty: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDevice_Impl::SetExtensionProperty(this, core::mem::transmute(&bstrguid), core::mem::transmute(&vproperty)).into() } - unsafe extern "system" fn UseRoutingMethod, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmethodguid: std::mem::MaybeUninit, buse: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn UseRoutingMethod, Impl: IFaxDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmethodguid: core::mem::MaybeUninit, buse: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDevice_Impl::UseRoutingMethod(this, core::mem::transmute(&bstrmethodguid), core::mem::transmute_copy(&buse)).into() @@ -1557,7 +1557,7 @@ impl windows_core::RuntimeName for IFaxDeviceProvider {} #[cfg(feature = "Win32_System_Com")] impl IFaxDeviceProvider_Vtbl { pub const fn new, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>() -> IFaxDeviceProvider_Vtbl { - unsafe extern "system" fn FriendlyName, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfriendlyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfriendlyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::FriendlyName(this) { @@ -1568,7 +1568,7 @@ impl IFaxDeviceProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ImageName, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrimagename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImageName, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrimagename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::ImageName(this) { @@ -1579,7 +1579,7 @@ impl IFaxDeviceProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UniqueName, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruniquename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UniqueName, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruniquename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::UniqueName(this) { @@ -1590,7 +1590,7 @@ impl IFaxDeviceProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TapiProviderName, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtapiprovidername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TapiProviderName, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtapiprovidername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::TapiProviderName(this) { @@ -1678,7 +1678,7 @@ impl IFaxDeviceProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceIds, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdeviceids: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceIds, Impl: IFaxDeviceProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdeviceids: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDeviceProvider_Impl::DeviceIds(this) { @@ -1731,7 +1731,7 @@ impl IFaxDeviceProviders_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFaxDeviceProviders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: std::mem::MaybeUninit, pfaxdeviceprovider: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFaxDeviceProviders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: core::mem::MaybeUninit, pfaxdeviceprovider: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDeviceProviders_Impl::get_Item(this, core::mem::transmute(&vindex)) { @@ -1787,7 +1787,7 @@ impl IFaxDevices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFaxDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: std::mem::MaybeUninit, pfaxdevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFaxDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: core::mem::MaybeUninit, pfaxdevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDevices_Impl::get_Item(this, core::mem::transmute(&vindex)) { @@ -1874,7 +1874,7 @@ impl windows_core::RuntimeName for IFaxDocument {} #[cfg(feature = "Win32_System_Com")] impl IFaxDocument_Vtbl { pub const fn new, Impl: IFaxDocument_Impl, const OFFSET: isize>() -> IFaxDocument_Vtbl { - unsafe extern "system" fn Body, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Body, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument_Impl::Body(this) { @@ -1885,7 +1885,7 @@ impl IFaxDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBody, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbody: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBody, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbody: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDocument_Impl::SetBody(this, core::mem::transmute(&bstrbody)).into() @@ -1912,7 +1912,7 @@ impl IFaxDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CoverPage, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcoverpage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CoverPage, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcoverpage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument_Impl::CoverPage(this) { @@ -1923,12 +1923,12 @@ impl IFaxDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCoverPage, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcoverpage: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCoverPage, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcoverpage: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDocument_Impl::SetCoverPage(this, core::mem::transmute(&bstrcoverpage)).into() } - unsafe extern "system" fn Subject, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubject: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Subject, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubject: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument_Impl::Subject(this) { @@ -1939,12 +1939,12 @@ impl IFaxDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSubject, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubject: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubject, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubject: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDocument_Impl::SetSubject(this, core::mem::transmute(&bstrsubject)).into() } - unsafe extern "system" fn Note, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnote: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Note, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnote: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument_Impl::Note(this) { @@ -1955,7 +1955,7 @@ impl IFaxDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNote, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnote: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNote, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnote: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDocument_Impl::SetNote(this, core::mem::transmute(&bstrnote)).into() @@ -1976,7 +1976,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); IFaxDocument_Impl::SetScheduleTime(this, core::mem::transmute_copy(&datescheduletime)).into() } - unsafe extern "system" fn ReceiptAddress, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreceiptaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiptAddress, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreceiptaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument_Impl::ReceiptAddress(this) { @@ -1987,12 +1987,12 @@ impl IFaxDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetReceiptAddress, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreceiptaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetReceiptAddress, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreceiptaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDocument_Impl::SetReceiptAddress(this, core::mem::transmute(&bstrreceiptaddress)).into() } - unsafe extern "system" fn DocumentName, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocumentname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DocumentName, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocumentname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument_Impl::DocumentName(this) { @@ -2003,7 +2003,7 @@ impl IFaxDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDocumentName, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdocumentname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDocumentName, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdocumentname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDocument_Impl::SetDocumentName(this, core::mem::transmute(&bstrdocumentname)).into() @@ -2120,7 +2120,7 @@ impl IFaxDocument_Vtbl { let this = (*this).get_impl(); IFaxDocument_Impl::putref_TapiConnection(this, windows_core::from_raw_borrowed(&ptapiconnection)).into() } - unsafe extern "system" fn Submit, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxservername: std::mem::MaybeUninit, pvfaxoutgoingjobids: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Submit, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxservername: core::mem::MaybeUninit, pvfaxoutgoingjobids: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument_Impl::Submit(this, core::mem::transmute(&bstrfaxservername)) { @@ -2131,7 +2131,7 @@ impl IFaxDocument_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ConnectedSubmit, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, pvfaxoutgoingjobids: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectedSubmit, Impl: IFaxDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, pvfaxoutgoingjobids: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument_Impl::ConnectedSubmit(this, windows_core::from_raw_borrowed(&pfaxserver)) { @@ -2213,7 +2213,7 @@ impl windows_core::RuntimeName for IFaxDocument2 {} #[cfg(feature = "Win32_System_Com")] impl IFaxDocument2_Vtbl { pub const fn new, Impl: IFaxDocument2_Impl, const OFFSET: isize>() -> IFaxDocument2_Vtbl { - unsafe extern "system" fn SubmissionId, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubmissionid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubmissionId, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubmissionid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument2_Impl::SubmissionId(this) { @@ -2224,7 +2224,7 @@ impl IFaxDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Bodies, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvbodies: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Bodies, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvbodies: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxDocument2_Impl::Bodies(this) { @@ -2235,17 +2235,17 @@ impl IFaxDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBodies, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vbodies: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBodies, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vbodies: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDocument2_Impl::SetBodies(this, core::mem::transmute(&vbodies)).into() } - unsafe extern "system" fn Submit2, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxservername: std::mem::MaybeUninit, pvfaxoutgoingjobids: *mut std::mem::MaybeUninit, plerrorbodyfile: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Submit2, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxservername: core::mem::MaybeUninit, pvfaxoutgoingjobids: *mut core::mem::MaybeUninit, plerrorbodyfile: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDocument2_Impl::Submit2(this, core::mem::transmute(&bstrfaxservername), core::mem::transmute_copy(&pvfaxoutgoingjobids), core::mem::transmute_copy(&plerrorbodyfile)).into() } - unsafe extern "system" fn ConnectedSubmit2, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, pvfaxoutgoingjobids: *mut std::mem::MaybeUninit, plerrorbodyfile: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectedSubmit2, Impl: IFaxDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, pvfaxoutgoingjobids: *mut core::mem::MaybeUninit, plerrorbodyfile: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxDocument2_Impl::ConnectedSubmit2(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute_copy(&pvfaxoutgoingjobids), core::mem::transmute_copy(&plerrorbodyfile)).into() @@ -2502,7 +2502,7 @@ impl windows_core::RuntimeName for IFaxInboundRoutingExtension {} #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingExtension_Vtbl { pub const fn new, Impl: IFaxInboundRoutingExtension_Impl, const OFFSET: isize>() -> IFaxInboundRoutingExtension_Vtbl { - unsafe extern "system" fn FriendlyName, Impl: IFaxInboundRoutingExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfriendlyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: IFaxInboundRoutingExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfriendlyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::FriendlyName(this) { @@ -2513,7 +2513,7 @@ impl IFaxInboundRoutingExtension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ImageName, Impl: IFaxInboundRoutingExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrimagename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImageName, Impl: IFaxInboundRoutingExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrimagename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::ImageName(this) { @@ -2524,7 +2524,7 @@ impl IFaxInboundRoutingExtension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UniqueName, Impl: IFaxInboundRoutingExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruniquename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UniqueName, Impl: IFaxInboundRoutingExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruniquename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::UniqueName(this) { @@ -2612,7 +2612,7 @@ impl IFaxInboundRoutingExtension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Methods, Impl: IFaxInboundRoutingExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvmethods: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Methods, Impl: IFaxInboundRoutingExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvmethods: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingExtension_Impl::Methods(this) { @@ -2664,7 +2664,7 @@ impl IFaxInboundRoutingExtensions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFaxInboundRoutingExtensions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: std::mem::MaybeUninit, pfaxinboundroutingextension: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFaxInboundRoutingExtensions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: core::mem::MaybeUninit, pfaxinboundroutingextension: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingExtensions_Impl::get_Item(this, core::mem::transmute(&vindex)) { @@ -2714,7 +2714,7 @@ impl windows_core::RuntimeName for IFaxInboundRoutingMethod {} #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingMethod_Vtbl { pub const fn new, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>() -> IFaxInboundRoutingMethod_Vtbl { - unsafe extern "system" fn Name, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::Name(this) { @@ -2725,7 +2725,7 @@ impl IFaxInboundRoutingMethod_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GUID, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GUID, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::GUID(this) { @@ -2736,7 +2736,7 @@ impl IFaxInboundRoutingMethod_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FunctionName, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfunctionname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FunctionName, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfunctionname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::FunctionName(this) { @@ -2747,7 +2747,7 @@ impl IFaxInboundRoutingMethod_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExtensionFriendlyName, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextensionfriendlyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtensionFriendlyName, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextensionfriendlyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::ExtensionFriendlyName(this) { @@ -2758,7 +2758,7 @@ impl IFaxInboundRoutingMethod_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExtensionImageName, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextensionimagename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtensionImageName, Impl: IFaxInboundRoutingMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextensionimagename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingMethod_Impl::ExtensionImageName(this) { @@ -2834,7 +2834,7 @@ impl IFaxInboundRoutingMethods_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFaxInboundRoutingMethods_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: std::mem::MaybeUninit, pfaxinboundroutingmethod: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFaxInboundRoutingMethods_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: core::mem::MaybeUninit, pfaxinboundroutingmethod: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxInboundRoutingMethods_Impl::get_Item(this, core::mem::transmute(&vindex)) { @@ -2909,7 +2909,7 @@ impl IFaxIncomingArchive_Vtbl { let this = (*this).get_impl(); IFaxIncomingArchive_Impl::SetUseArchive(this, core::mem::transmute_copy(&busearchive)).into() } - unsafe extern "system" fn ArchiveFolder, Impl: IFaxIncomingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrarchivefolder: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ArchiveFolder, Impl: IFaxIncomingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrarchivefolder: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::ArchiveFolder(this) { @@ -2920,7 +2920,7 @@ impl IFaxIncomingArchive_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetArchiveFolder, Impl: IFaxIncomingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrarchivefolder: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetArchiveFolder, Impl: IFaxIncomingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrarchivefolder: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxIncomingArchive_Impl::SetArchiveFolder(this, core::mem::transmute(&bstrarchivefolder)).into() @@ -3032,7 +3032,7 @@ impl IFaxIncomingArchive_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMessage, Impl: IFaxIncomingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit, pfaxincomingmessage: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetMessage, Impl: IFaxIncomingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit, pfaxincomingmessage: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingArchive_Impl::GetMessage(this, core::mem::transmute(&bstrmessageid)) { @@ -3107,7 +3107,7 @@ impl IFaxIncomingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Id, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingJob_Impl::Id(this) { @@ -3162,7 +3162,7 @@ impl IFaxIncomingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExtendedStatus, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextendedstatus: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtendedStatus, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextendedstatus: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingJob_Impl::ExtendedStatus(this) { @@ -3217,7 +3217,7 @@ impl IFaxIncomingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CSID, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CSID, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingJob_Impl::CSID(this) { @@ -3228,7 +3228,7 @@ impl IFaxIncomingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TSID, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TSID, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingJob_Impl::TSID(this) { @@ -3239,7 +3239,7 @@ impl IFaxIncomingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CallerId, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcallerid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallerId, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcallerid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingJob_Impl::CallerId(this) { @@ -3250,7 +3250,7 @@ impl IFaxIncomingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RoutingInformation, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrroutinginformation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RoutingInformation, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrroutinginformation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingJob_Impl::RoutingInformation(this) { @@ -3282,7 +3282,7 @@ impl IFaxIncomingJob_Vtbl { let this = (*this).get_impl(); IFaxIncomingJob_Impl::Refresh(this).into() } - unsafe extern "system" fn CopyTiff, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtiffpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyTiff, Impl: IFaxIncomingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtiffpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxIncomingJob_Impl::CopyTiff(this, core::mem::transmute(&bstrtiffpath)).into() @@ -3336,7 +3336,7 @@ impl IFaxIncomingJobs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFaxIncomingJobs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: std::mem::MaybeUninit, pfaxincomingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFaxIncomingJobs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: core::mem::MaybeUninit, pfaxincomingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingJobs_Impl::get_Item(this, core::mem::transmute(&vindex)) { @@ -3390,7 +3390,7 @@ impl windows_core::RuntimeName for IFaxIncomingMessage {} #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingMessage_Vtbl { pub const fn new, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>() -> IFaxIncomingMessage_Vtbl { - unsafe extern "system" fn Id, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::Id(this) { @@ -3423,7 +3423,7 @@ impl IFaxIncomingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceName, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceName, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::DeviceName(this) { @@ -3467,7 +3467,7 @@ impl IFaxIncomingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CSID, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CSID, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::CSID(this) { @@ -3478,7 +3478,7 @@ impl IFaxIncomingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TSID, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TSID, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::TSID(this) { @@ -3489,7 +3489,7 @@ impl IFaxIncomingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CallerId, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcallerid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallerId, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcallerid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::CallerId(this) { @@ -3500,7 +3500,7 @@ impl IFaxIncomingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RoutingInformation, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrroutinginformation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RoutingInformation, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrroutinginformation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage_Impl::RoutingInformation(this) { @@ -3511,7 +3511,7 @@ impl IFaxIncomingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CopyTiff, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtiffpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyTiff, Impl: IFaxIncomingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtiffpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxIncomingMessage_Impl::CopyTiff(this, core::mem::transmute(&bstrtiffpath)).into() @@ -3566,7 +3566,7 @@ impl windows_core::RuntimeName for IFaxIncomingMessage2 {} #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingMessage2_Vtbl { pub const fn new, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>() -> IFaxIncomingMessage2_Vtbl { - unsafe extern "system" fn Subject, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubject: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Subject, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubject: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::Subject(this) { @@ -3577,12 +3577,12 @@ impl IFaxIncomingMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSubject, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubject: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubject, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubject: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxIncomingMessage2_Impl::SetSubject(this, core::mem::transmute(&bstrsubject)).into() } - unsafe extern "system" fn SenderName, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsendername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderName, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsendername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::SenderName(this) { @@ -3593,12 +3593,12 @@ impl IFaxIncomingMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSenderName, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsendername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSenderName, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsendername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxIncomingMessage2_Impl::SetSenderName(this, core::mem::transmute(&bstrsendername)).into() } - unsafe extern "system" fn SenderFaxNumber, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsenderfaxnumber: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderFaxNumber, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsenderfaxnumber: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::SenderFaxNumber(this) { @@ -3609,7 +3609,7 @@ impl IFaxIncomingMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSenderFaxNumber, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsenderfaxnumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSenderFaxNumber, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsenderfaxnumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxIncomingMessage2_Impl::SetSenderFaxNumber(this, core::mem::transmute(&bstrsenderfaxnumber)).into() @@ -3630,7 +3630,7 @@ impl IFaxIncomingMessage2_Vtbl { let this = (*this).get_impl(); IFaxIncomingMessage2_Impl::SetHasCoverPage(this, core::mem::transmute_copy(&bhascoverpage)).into() } - unsafe extern "system" fn Recipients, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrecipients: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Recipients, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrecipients: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingMessage2_Impl::Recipients(this) { @@ -3641,7 +3641,7 @@ impl IFaxIncomingMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRecipients, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrecipients: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRecipients, Impl: IFaxIncomingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrecipients: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxIncomingMessage2_Impl::SetRecipients(this, core::mem::transmute(&bstrrecipients)).into() @@ -3839,7 +3839,7 @@ impl IFaxIncomingQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetJob, Impl: IFaxIncomingQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit, pfaxincomingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetJob, Impl: IFaxIncomingQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit, pfaxincomingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxIncomingQueue_Impl::GetJob(this, core::mem::transmute(&bstrjobid)) { @@ -3944,7 +3944,7 @@ impl IFaxJobStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CSID, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CSID, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxJobStatus_Impl::CSID(this) { @@ -3955,7 +3955,7 @@ impl IFaxJobStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TSID, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TSID, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxJobStatus_Impl::TSID(this) { @@ -3977,7 +3977,7 @@ impl IFaxJobStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExtendedStatus, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextendedstatus: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtendedStatus, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextendedstatus: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxJobStatus_Impl::ExtendedStatus(this) { @@ -4054,7 +4054,7 @@ impl IFaxJobStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CallerId, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcallerid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallerId, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcallerid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxJobStatus_Impl::CallerId(this) { @@ -4065,7 +4065,7 @@ impl IFaxJobStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RoutingInformation, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrroutinginformation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RoutingInformation, Impl: IFaxJobStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrroutinginformation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxJobStatus_Impl::RoutingInformation(this) { @@ -4196,7 +4196,7 @@ impl windows_core::RuntimeName for IFaxOutboundRoutingGroup {} #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingGroup_Vtbl { pub const fn new, Impl: IFaxOutboundRoutingGroup_Impl, const OFFSET: isize>() -> IFaxOutboundRoutingGroup_Vtbl { - unsafe extern "system" fn Name, Impl: IFaxOutboundRoutingGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFaxOutboundRoutingGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutboundRoutingGroup_Impl::Name(this) { @@ -4264,7 +4264,7 @@ impl IFaxOutboundRoutingGroups_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFaxOutboundRoutingGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: std::mem::MaybeUninit, pfaxoutboundroutinggroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFaxOutboundRoutingGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: core::mem::MaybeUninit, pfaxoutboundroutinggroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutboundRoutingGroups_Impl::get_Item(this, core::mem::transmute(&vindex)) { @@ -4286,7 +4286,7 @@ impl IFaxOutboundRoutingGroups_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IFaxOutboundRoutingGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pfaxoutboundroutinggroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IFaxOutboundRoutingGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pfaxoutboundroutinggroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutboundRoutingGroups_Impl::Add(this, core::mem::transmute(&bstrname)) { @@ -4297,7 +4297,7 @@ impl IFaxOutboundRoutingGroups_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IFaxOutboundRoutingGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IFaxOutboundRoutingGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxOutboundRoutingGroups_Impl::Remove(this, core::mem::transmute(&vindex)).into() @@ -4399,7 +4399,7 @@ impl IFaxOutboundRoutingRule_Vtbl { let this = (*this).get_impl(); IFaxOutboundRoutingRule_Impl::SetDeviceId(this, core::mem::transmute_copy(&deviceid)).into() } - unsafe extern "system" fn GroupName, Impl: IFaxOutboundRoutingRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrgroupname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GroupName, Impl: IFaxOutboundRoutingRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrgroupname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutboundRoutingRule_Impl::GroupName(this) { @@ -4410,7 +4410,7 @@ impl IFaxOutboundRoutingRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetGroupName, Impl: IFaxOutboundRoutingRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGroupName, Impl: IFaxOutboundRoutingRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxOutboundRoutingRule_Impl::SetGroupName(this, core::mem::transmute(&bstrgroupname)).into() @@ -4513,7 +4513,7 @@ impl IFaxOutboundRoutingRules_Vtbl { let this = (*this).get_impl(); IFaxOutboundRoutingRules_Impl::Remove(this, core::mem::transmute_copy(&lindex)).into() } - unsafe extern "system" fn Add, Impl: IFaxOutboundRoutingRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcountrycode: i32, lareacode: i32, busedevice: super::super::Foundation::VARIANT_BOOL, bstrgroupname: std::mem::MaybeUninit, ldeviceid: i32, pfaxoutboundroutingrule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IFaxOutboundRoutingRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcountrycode: i32, lareacode: i32, busedevice: super::super::Foundation::VARIANT_BOOL, bstrgroupname: core::mem::MaybeUninit, ldeviceid: i32, pfaxoutboundroutingrule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutboundRoutingRules_Impl::Add(this, core::mem::transmute_copy(&lcountrycode), core::mem::transmute_copy(&lareacode), core::mem::transmute_copy(&busedevice), core::mem::transmute(&bstrgroupname), core::mem::transmute_copy(&ldeviceid)) { @@ -4581,7 +4581,7 @@ impl IFaxOutgoingArchive_Vtbl { let this = (*this).get_impl(); IFaxOutgoingArchive_Impl::SetUseArchive(this, core::mem::transmute_copy(&busearchive)).into() } - unsafe extern "system" fn ArchiveFolder, Impl: IFaxOutgoingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrarchivefolder: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ArchiveFolder, Impl: IFaxOutgoingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrarchivefolder: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::ArchiveFolder(this) { @@ -4592,7 +4592,7 @@ impl IFaxOutgoingArchive_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetArchiveFolder, Impl: IFaxOutgoingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrarchivefolder: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetArchiveFolder, Impl: IFaxOutgoingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrarchivefolder: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxOutgoingArchive_Impl::SetArchiveFolder(this, core::mem::transmute(&bstrarchivefolder)).into() @@ -4704,7 +4704,7 @@ impl IFaxOutgoingArchive_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMessage, Impl: IFaxOutgoingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit, pfaxoutgoingmessage: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetMessage, Impl: IFaxOutgoingArchive_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit, pfaxoutgoingmessage: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingArchive_Impl::GetMessage(this, core::mem::transmute(&bstrmessageid)) { @@ -4780,7 +4780,7 @@ impl windows_core::RuntimeName for IFaxOutgoingJob {} #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingJob_Vtbl { pub const fn new, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>() -> IFaxOutgoingJob_Vtbl { - unsafe extern "system" fn Subject, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubject: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Subject, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubject: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Subject(this) { @@ -4791,7 +4791,7 @@ impl IFaxOutgoingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DocumentName, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocumentname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DocumentName, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocumentname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::DocumentName(this) { @@ -4824,7 +4824,7 @@ impl IFaxOutgoingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SubmissionId, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubmissionid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubmissionId, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubmissionid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::SubmissionId(this) { @@ -4835,7 +4835,7 @@ impl IFaxOutgoingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Id, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::Id(this) { @@ -4956,7 +4956,7 @@ impl IFaxOutgoingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExtendedStatus, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextendedstatus: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtendedStatus, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextendedstatus: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::ExtendedStatus(this) { @@ -5022,7 +5022,7 @@ impl IFaxOutgoingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CSID, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CSID, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::CSID(this) { @@ -5033,7 +5033,7 @@ impl IFaxOutgoingJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TSID, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TSID, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingJob_Impl::TSID(this) { @@ -5070,7 +5070,7 @@ impl IFaxOutgoingJob_Vtbl { let this = (*this).get_impl(); IFaxOutgoingJob_Impl::Restart(this).into() } - unsafe extern "system" fn CopyTiff, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtiffpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyTiff, Impl: IFaxOutgoingJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtiffpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxOutgoingJob_Impl::CopyTiff(this, core::mem::transmute(&bstrtiffpath)).into() @@ -5146,7 +5146,7 @@ impl IFaxOutgoingJob2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiptAddress, Impl: IFaxOutgoingJob2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreceiptaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiptAddress, Impl: IFaxOutgoingJob2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreceiptaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingJob2_Impl::ReceiptAddress(this) { @@ -5201,7 +5201,7 @@ impl IFaxOutgoingJobs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFaxOutgoingJobs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: std::mem::MaybeUninit, pfaxoutgoingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFaxOutgoingJobs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vindex: core::mem::MaybeUninit, pfaxoutgoingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingJobs_Impl::get_Item(this, core::mem::transmute(&vindex)) { @@ -5261,7 +5261,7 @@ impl windows_core::RuntimeName for IFaxOutgoingMessage {} #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingMessage_Vtbl { pub const fn new, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>() -> IFaxOutgoingMessage_Vtbl { - unsafe extern "system" fn SubmissionId, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubmissionid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubmissionId, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubmissionid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::SubmissionId(this) { @@ -5272,7 +5272,7 @@ impl IFaxOutgoingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Id, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Id(this) { @@ -5283,7 +5283,7 @@ impl IFaxOutgoingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Subject, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubject: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Subject, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubject: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::Subject(this) { @@ -5294,7 +5294,7 @@ impl IFaxOutgoingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DocumentName, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocumentname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DocumentName, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdocumentname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::DocumentName(this) { @@ -5393,7 +5393,7 @@ impl IFaxOutgoingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceName, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceName, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::DeviceName(this) { @@ -5426,7 +5426,7 @@ impl IFaxOutgoingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CSID, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CSID, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::CSID(this) { @@ -5437,7 +5437,7 @@ impl IFaxOutgoingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TSID, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TSID, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingMessage_Impl::TSID(this) { @@ -5448,7 +5448,7 @@ impl IFaxOutgoingMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CopyTiff, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtiffpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyTiff, Impl: IFaxOutgoingMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtiffpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxOutgoingMessage_Impl::CopyTiff(this, core::mem::transmute(&bstrtiffpath)).into() @@ -5522,7 +5522,7 @@ impl IFaxOutgoingMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiptAddress, Impl: IFaxOutgoingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreceiptaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiptAddress, Impl: IFaxOutgoingMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreceiptaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingMessage2_Impl::ReceiptAddress(this) { @@ -5863,7 +5863,7 @@ impl IFaxOutgoingQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetJob, Impl: IFaxOutgoingQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit, pfaxoutgoingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetJob, Impl: IFaxOutgoingQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit, pfaxoutgoingjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxOutgoingQueue_Impl::GetJob(this, core::mem::transmute(&bstrjobid)) { @@ -5948,7 +5948,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); IFaxReceiptOptions_Impl::SetAuthenticationType(this, core::mem::transmute_copy(&r#type)).into() } - unsafe extern "system" fn SMTPServer, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsmtpserver: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SMTPServer, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsmtpserver: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::SMTPServer(this) { @@ -5959,7 +5959,7 @@ impl IFaxReceiptOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSMTPServer, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsmtpserver: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSMTPServer, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsmtpserver: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxReceiptOptions_Impl::SetSMTPServer(this, core::mem::transmute(&bstrsmtpserver)).into() @@ -5980,7 +5980,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); IFaxReceiptOptions_Impl::SetSMTPPort(this, core::mem::transmute_copy(&lsmtpport)).into() } - unsafe extern "system" fn SMTPSender, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsmtpsender: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SMTPSender, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsmtpsender: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::SMTPSender(this) { @@ -5991,12 +5991,12 @@ impl IFaxReceiptOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSMTPSender, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsmtpsender: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSMTPSender, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsmtpsender: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxReceiptOptions_Impl::SetSMTPSender(this, core::mem::transmute(&bstrsmtpsender)).into() } - unsafe extern "system" fn SMTPUser, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsmtpuser: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SMTPUser, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsmtpuser: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::SMTPUser(this) { @@ -6007,7 +6007,7 @@ impl IFaxReceiptOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSMTPUser, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsmtpuser: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSMTPUser, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsmtpuser: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxReceiptOptions_Impl::SetSMTPUser(this, core::mem::transmute(&bstrsmtpuser)).into() @@ -6028,7 +6028,7 @@ impl IFaxReceiptOptions_Vtbl { let this = (*this).get_impl(); IFaxReceiptOptions_Impl::SetAllowedReceipts(this, core::mem::transmute_copy(&allowedreceipts)).into() } - unsafe extern "system" fn SMTPPassword, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsmtppassword: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SMTPPassword, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsmtppassword: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxReceiptOptions_Impl::SMTPPassword(this) { @@ -6039,7 +6039,7 @@ impl IFaxReceiptOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSMTPPassword, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsmtppassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSMTPPassword, Impl: IFaxReceiptOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsmtppassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxReceiptOptions_Impl::SetSMTPPassword(this, core::mem::transmute(&bstrsmtppassword)).into() @@ -6108,7 +6108,7 @@ impl windows_core::RuntimeName for IFaxRecipient {} #[cfg(feature = "Win32_System_Com")] impl IFaxRecipient_Vtbl { pub const fn new, Impl: IFaxRecipient_Impl, const OFFSET: isize>() -> IFaxRecipient_Vtbl { - unsafe extern "system" fn FaxNumber, Impl: IFaxRecipient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfaxnumber: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FaxNumber, Impl: IFaxRecipient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfaxnumber: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxRecipient_Impl::FaxNumber(this) { @@ -6119,12 +6119,12 @@ impl IFaxRecipient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFaxNumber, Impl: IFaxRecipient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFaxNumber, Impl: IFaxRecipient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxRecipient_Impl::SetFaxNumber(this, core::mem::transmute(&bstrfaxnumber)).into() } - unsafe extern "system" fn Name, Impl: IFaxRecipient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFaxRecipient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxRecipient_Impl::Name(this) { @@ -6135,7 +6135,7 @@ impl IFaxRecipient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFaxRecipient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFaxRecipient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxRecipient_Impl::SetName(this, core::mem::transmute(&bstrname)).into() @@ -6198,7 +6198,7 @@ impl IFaxRecipients_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IFaxRecipients_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: std::mem::MaybeUninit, bstrrecipientname: std::mem::MaybeUninit, ppfaxrecipient: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IFaxRecipients_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: core::mem::MaybeUninit, bstrrecipientname: core::mem::MaybeUninit, ppfaxrecipient: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxRecipients_Impl::Add(this, core::mem::transmute(&bstrfaxnumber), core::mem::transmute(&bstrrecipientname)) { @@ -6242,7 +6242,7 @@ impl windows_core::RuntimeName for IFaxSecurity {} #[cfg(feature = "Win32_System_Com")] impl IFaxSecurity_Vtbl { pub const fn new, Impl: IFaxSecurity_Impl, const OFFSET: isize>() -> IFaxSecurity_Vtbl { - unsafe extern "system" fn Descriptor, Impl: IFaxSecurity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdescriptor: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Descriptor, Impl: IFaxSecurity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdescriptor: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSecurity_Impl::Descriptor(this) { @@ -6253,7 +6253,7 @@ impl IFaxSecurity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescriptor, Impl: IFaxSecurity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdescriptor: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescriptor, Impl: IFaxSecurity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdescriptor: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSecurity_Impl::SetDescriptor(this, core::mem::transmute(&vdescriptor)).into() @@ -6325,7 +6325,7 @@ impl windows_core::RuntimeName for IFaxSecurity2 {} #[cfg(feature = "Win32_System_Com")] impl IFaxSecurity2_Vtbl { pub const fn new, Impl: IFaxSecurity2_Impl, const OFFSET: isize>() -> IFaxSecurity2_Vtbl { - unsafe extern "system" fn Descriptor, Impl: IFaxSecurity2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdescriptor: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Descriptor, Impl: IFaxSecurity2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdescriptor: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSecurity2_Impl::Descriptor(this) { @@ -6336,7 +6336,7 @@ impl IFaxSecurity2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescriptor, Impl: IFaxSecurity2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdescriptor: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescriptor, Impl: IFaxSecurity2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdescriptor: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSecurity2_Impl::SetDescriptor(this, core::mem::transmute(&vdescriptor)).into() @@ -6435,7 +6435,7 @@ impl windows_core::RuntimeName for IFaxSender {} #[cfg(feature = "Win32_System_Com")] impl IFaxSender_Vtbl { pub const fn new, Impl: IFaxSender_Impl, const OFFSET: isize>() -> IFaxSender_Vtbl { - unsafe extern "system" fn BillingCode, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbillingcode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BillingCode, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbillingcode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::BillingCode(this) { @@ -6446,12 +6446,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBillingCode, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbillingcode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBillingCode, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbillingcode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetBillingCode(this, core::mem::transmute(&bstrbillingcode)).into() } - unsafe extern "system" fn City, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcity: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn City, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcity: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::City(this) { @@ -6462,12 +6462,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCity, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcity: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCity, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcity: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetCity(this, core::mem::transmute(&bstrcity)).into() } - unsafe extern "system" fn Company, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcompany: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Company, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcompany: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::Company(this) { @@ -6478,12 +6478,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCompany, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcompany: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCompany, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcompany: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetCompany(this, core::mem::transmute(&bstrcompany)).into() } - unsafe extern "system" fn Country, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcountry: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Country, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcountry: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::Country(this) { @@ -6494,12 +6494,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCountry, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcountry: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCountry, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcountry: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetCountry(this, core::mem::transmute(&bstrcountry)).into() } - unsafe extern "system" fn Department, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdepartment: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Department, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdepartment: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::Department(this) { @@ -6510,12 +6510,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDepartment, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdepartment: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDepartment, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdepartment: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetDepartment(this, core::mem::transmute(&bstrdepartment)).into() } - unsafe extern "system" fn Email, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstremail: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Email, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstremail: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::Email(this) { @@ -6526,12 +6526,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEmail, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstremail: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEmail, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstremail: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetEmail(this, core::mem::transmute(&bstremail)).into() } - unsafe extern "system" fn FaxNumber, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfaxnumber: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FaxNumber, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfaxnumber: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::FaxNumber(this) { @@ -6542,12 +6542,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFaxNumber, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFaxNumber, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetFaxNumber(this, core::mem::transmute(&bstrfaxnumber)).into() } - unsafe extern "system" fn HomePhone, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhomephone: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HomePhone, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhomephone: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::HomePhone(this) { @@ -6558,12 +6558,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHomePhone, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhomephone: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHomePhone, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhomephone: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetHomePhone(this, core::mem::transmute(&bstrhomephone)).into() } - unsafe extern "system" fn Name, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::Name(this) { @@ -6574,12 +6574,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn TSID, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TSID, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::TSID(this) { @@ -6590,12 +6590,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTSID, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTSID, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetTSID(this, core::mem::transmute(&bstrtsid)).into() } - unsafe extern "system" fn OfficePhone, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrofficephone: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OfficePhone, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrofficephone: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::OfficePhone(this) { @@ -6606,12 +6606,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOfficePhone, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrofficephone: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOfficePhone, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrofficephone: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetOfficePhone(this, core::mem::transmute(&bstrofficephone)).into() } - unsafe extern "system" fn OfficeLocation, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrofficelocation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OfficeLocation, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrofficelocation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::OfficeLocation(this) { @@ -6622,12 +6622,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOfficeLocation, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrofficelocation: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOfficeLocation, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrofficelocation: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetOfficeLocation(this, core::mem::transmute(&bstrofficelocation)).into() } - unsafe extern "system" fn State, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn State, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::State(this) { @@ -6638,12 +6638,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetState, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetState, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetState(this, core::mem::transmute(&bstrstate)).into() } - unsafe extern "system" fn StreetAddress, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstreetaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StreetAddress, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstreetaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::StreetAddress(this) { @@ -6654,12 +6654,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStreetAddress, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstreetaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStreetAddress, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstreetaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetStreetAddress(this, core::mem::transmute(&bstrstreetaddress)).into() } - unsafe extern "system" fn Title, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::Title(this) { @@ -6670,12 +6670,12 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTitle, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtitle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTitle, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtitle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetTitle(this, core::mem::transmute(&bstrtitle)).into() } - unsafe extern "system" fn ZipCode, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrzipcode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ZipCode, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrzipcode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxSender_Impl::ZipCode(this) { @@ -6686,7 +6686,7 @@ impl IFaxSender_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetZipCode, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrzipcode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetZipCode, Impl: IFaxSender_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrzipcode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxSender_Impl::SetZipCode(this, core::mem::transmute(&bstrzipcode)).into() @@ -6777,12 +6777,12 @@ impl windows_core::RuntimeName for IFaxServer {} #[cfg(feature = "Win32_System_Com")] impl IFaxServer_Vtbl { pub const fn new, Impl: IFaxServer_Impl, const OFFSET: isize>() -> IFaxServer_Vtbl { - unsafe extern "system" fn Connect, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Connect, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServer_Impl::Connect(this, core::mem::transmute(&bstrservername)).into() } - unsafe extern "system" fn ServerName, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrservername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServerName, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrservername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxServer_Impl::ServerName(this) { @@ -6952,7 +6952,7 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); IFaxServer_Impl::Disconnect(this).into() } - unsafe extern "system" fn GetExtensionProperty, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: std::mem::MaybeUninit, pvproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetExtensionProperty, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: core::mem::MaybeUninit, pvproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFaxServer_Impl::GetExtensionProperty(this, core::mem::transmute(&bstrguid)) { @@ -6963,7 +6963,7 @@ impl IFaxServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExtensionProperty, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: std::mem::MaybeUninit, vproperty: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExtensionProperty, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: core::mem::MaybeUninit, vproperty: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServer_Impl::SetExtensionProperty(this, core::mem::transmute(&bstrguid), core::mem::transmute(&vproperty)).into() @@ -6973,22 +6973,22 @@ impl IFaxServer_Vtbl { let this = (*this).get_impl(); IFaxServer_Impl::ListenToServerEvents(this, core::mem::transmute_copy(&eventtypes)).into() } - unsafe extern "system" fn RegisterDeviceProvider, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: std::mem::MaybeUninit, bstrfriendlyname: std::mem::MaybeUninit, bstrimagename: std::mem::MaybeUninit, tspname: std::mem::MaybeUninit, lfspiversion: i32) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterDeviceProvider, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: core::mem::MaybeUninit, bstrfriendlyname: core::mem::MaybeUninit, bstrimagename: core::mem::MaybeUninit, tspname: core::mem::MaybeUninit, lfspiversion: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServer_Impl::RegisterDeviceProvider(this, core::mem::transmute(&bstrguid), core::mem::transmute(&bstrfriendlyname), core::mem::transmute(&bstrimagename), core::mem::transmute(&tspname), core::mem::transmute_copy(&lfspiversion)).into() } - unsafe extern "system" fn UnregisterDeviceProvider, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstruniquename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UnregisterDeviceProvider, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstruniquename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServer_Impl::UnregisterDeviceProvider(this, core::mem::transmute(&bstruniquename)).into() } - unsafe extern "system" fn RegisterInboundRoutingExtension, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrextensionname: std::mem::MaybeUninit, bstrfriendlyname: std::mem::MaybeUninit, bstrimagename: std::mem::MaybeUninit, vmethods: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterInboundRoutingExtension, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrextensionname: core::mem::MaybeUninit, bstrfriendlyname: core::mem::MaybeUninit, bstrimagename: core::mem::MaybeUninit, vmethods: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServer_Impl::RegisterInboundRoutingExtension(this, core::mem::transmute(&bstrextensionname), core::mem::transmute(&bstrfriendlyname), core::mem::transmute(&bstrimagename), core::mem::transmute(&vmethods)).into() } - unsafe extern "system" fn UnregisterInboundRoutingExtension, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrextensionuniquename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UnregisterInboundRoutingExtension, Impl: IFaxServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrextensionuniquename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServer_Impl::UnregisterInboundRoutingExtension(this, core::mem::transmute(&bstrextensionuniquename)).into() @@ -7164,52 +7164,52 @@ impl windows_core::RuntimeName for IFaxServerNotify2 {} #[cfg(feature = "Win32_System_Com")] impl IFaxServerNotify2_Vtbl { pub const fn new, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>() -> IFaxServerNotify2_Vtbl { - unsafe extern "system" fn OnIncomingJobAdded, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingJobAdded, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnIncomingJobAdded(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrjobid)).into() } - unsafe extern "system" fn OnIncomingJobRemoved, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingJobRemoved, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnIncomingJobRemoved(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrjobid)).into() } - unsafe extern "system" fn OnIncomingJobChanged, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit, pjobstatus: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingJobChanged, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit, pjobstatus: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnIncomingJobChanged(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrjobid), windows_core::from_raw_borrowed(&pjobstatus)).into() } - unsafe extern "system" fn OnOutgoingJobAdded, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingJobAdded, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnOutgoingJobAdded(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrjobid)).into() } - unsafe extern "system" fn OnOutgoingJobRemoved, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingJobRemoved, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnOutgoingJobRemoved(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrjobid)).into() } - unsafe extern "system" fn OnOutgoingJobChanged, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: std::mem::MaybeUninit, pjobstatus: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingJobChanged, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrjobid: core::mem::MaybeUninit, pjobstatus: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnOutgoingJobChanged(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrjobid), windows_core::from_raw_borrowed(&pjobstatus)).into() } - unsafe extern "system" fn OnIncomingMessageAdded, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingMessageAdded, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnIncomingMessageAdded(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrmessageid)).into() } - unsafe extern "system" fn OnIncomingMessageRemoved, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnIncomingMessageRemoved, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnIncomingMessageRemoved(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrmessageid)).into() } - unsafe extern "system" fn OnOutgoingMessageAdded, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingMessageAdded, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnOutgoingMessageAdded(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrmessageid)).into() } - unsafe extern "system" fn OnOutgoingMessageRemoved, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrmessageid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnOutgoingMessageRemoved, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, bstrmessageid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnOutgoingMessageRemoved(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute(&bstrmessageid)).into() @@ -7274,7 +7274,7 @@ impl IFaxServerNotify2_Vtbl { let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnQueuesStatusChange(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute_copy(&boutgoingqueueblocked), core::mem::transmute_copy(&boutgoingqueuepaused), core::mem::transmute_copy(&bincomingqueueblocked)).into() } - unsafe extern "system" fn OnNewCall, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, lcallid: i32, ldeviceid: i32, bstrcallerid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnNewCall, Impl: IFaxServerNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfaxserver: *mut core::ffi::c_void, lcallid: i32, ldeviceid: i32, bstrcallerid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFaxServerNotify2_Impl::OnNewCall(this, windows_core::from_raw_borrowed(&pfaxserver), core::mem::transmute_copy(&lcallid), core::mem::transmute_copy(&ldeviceid), core::mem::transmute(&bstrcallerid)).into() 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 d82e6485fd..63a58e7a57 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs @@ -483,7 +483,7 @@ windows_core::imp::define_interface!(IFaxAccount, IFaxAccount_Vtbl, 0x68535b33_5 impl std::ops::Deref for IFaxAccount { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -491,19 +491,19 @@ windows_core::imp::interface_hierarchy!(IFaxAccount, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IFaxAccount { pub unsafe fn AccountName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AccountName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Folders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Folders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisteredEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -511,7 +511,7 @@ impl IFaxAccount { #[repr(C)] pub struct IFaxAccount_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Folders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -525,7 +525,7 @@ windows_core::imp::define_interface!(IFaxAccountFolders, IFaxAccountFolders_Vtbl impl std::ops::Deref for IFaxAccountFolders { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -534,22 +534,22 @@ windows_core::imp::interface_hierarchy!(IFaxAccountFolders, windows_core::IUnkno impl IFaxAccountFolders { #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutgoingQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutgoingQueue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncomingQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncomingQueue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncomingArchive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncomingArchive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutgoingArchive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutgoingArchive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -580,7 +580,7 @@ windows_core::imp::define_interface!(IFaxAccountIncomingArchive, IFaxAccountInco impl std::ops::Deref for IFaxAccountIncomingArchive { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -588,11 +588,11 @@ windows_core::imp::interface_hierarchy!(IFaxAccountIncomingArchive, windows_core #[cfg(feature = "Win32_System_Com")] impl IFaxAccountIncomingArchive { pub unsafe fn SizeLow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeLow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SizeHigh(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeHigh)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -600,7 +600,7 @@ impl IFaxAccountIncomingArchive { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMessages(&self, lprefetchsize: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessages)(windows_core::Interface::as_raw(self), lprefetchsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -608,7 +608,7 @@ impl IFaxAccountIncomingArchive { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessage)(windows_core::Interface::as_raw(self), bstrmessageid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -624,7 +624,7 @@ pub struct IFaxAccountIncomingArchive_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetMessages: usize, #[cfg(feature = "Win32_System_Com")] - pub GetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetMessage: usize, } @@ -634,7 +634,7 @@ windows_core::imp::define_interface!(IFaxAccountIncomingQueue, IFaxAccountIncomi impl std::ops::Deref for IFaxAccountIncomingQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -643,7 +643,7 @@ windows_core::imp::interface_hierarchy!(IFaxAccountIncomingQueue, windows_core:: impl IFaxAccountIncomingQueue { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetJobs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJobs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -651,7 +651,7 @@ impl IFaxAccountIncomingQueue { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJob)(windows_core::Interface::as_raw(self), bstrjobid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -664,7 +664,7 @@ pub struct IFaxAccountIncomingQueue_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetJobs: usize, #[cfg(feature = "Win32_System_Com")] - pub GetJob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetJob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetJob: usize, } @@ -674,7 +674,7 @@ windows_core::imp::define_interface!(IFaxAccountNotify, IFaxAccountNotify_Vtbl, impl std::ops::Deref for IFaxAccountNotify { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -778,43 +778,43 @@ impl IFaxAccountNotify { pub struct IFaxAccountNotify_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingJobAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnIncomingJobAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingJobAdded: usize, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingJobRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnIncomingJobRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingJobRemoved: usize, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingJobChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OnIncomingJobChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingJobChanged: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingJobAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnOutgoingJobAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingJobAdded: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingJobRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnOutgoingJobRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingJobRemoved: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingJobChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OnOutgoingJobChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingJobChanged: usize, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingMessageAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub OnIncomingMessageAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingMessageAdded: usize, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingMessageRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub OnIncomingMessageRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingMessageRemoved: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingMessageAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnOutgoingMessageAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingMessageAdded: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingMessageRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnOutgoingMessageRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingMessageRemoved: usize, #[cfg(feature = "Win32_System_Com")] @@ -828,7 +828,7 @@ windows_core::imp::define_interface!(IFaxAccountOutgoingArchive, IFaxAccountOutg impl std::ops::Deref for IFaxAccountOutgoingArchive { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -836,11 +836,11 @@ windows_core::imp::interface_hierarchy!(IFaxAccountOutgoingArchive, windows_core #[cfg(feature = "Win32_System_Com")] impl IFaxAccountOutgoingArchive { pub unsafe fn SizeLow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeLow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SizeHigh(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeHigh)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -848,7 +848,7 @@ impl IFaxAccountOutgoingArchive { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMessages(&self, lprefetchsize: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessages)(windows_core::Interface::as_raw(self), lprefetchsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -856,7 +856,7 @@ impl IFaxAccountOutgoingArchive { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessage)(windows_core::Interface::as_raw(self), bstrmessageid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -872,7 +872,7 @@ pub struct IFaxAccountOutgoingArchive_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetMessages: usize, #[cfg(feature = "Win32_System_Com")] - pub GetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetMessage: usize, } @@ -882,7 +882,7 @@ windows_core::imp::define_interface!(IFaxAccountOutgoingQueue, IFaxAccountOutgoi impl std::ops::Deref for IFaxAccountOutgoingQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -891,7 +891,7 @@ windows_core::imp::interface_hierarchy!(IFaxAccountOutgoingQueue, windows_core:: impl IFaxAccountOutgoingQueue { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetJobs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJobs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -899,7 +899,7 @@ impl IFaxAccountOutgoingQueue { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJob)(windows_core::Interface::as_raw(self), bstrjobid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -912,7 +912,7 @@ pub struct IFaxAccountOutgoingQueue_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetJobs: usize, #[cfg(feature = "Win32_System_Com")] - pub GetJob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetJob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetJob: usize, } @@ -922,7 +922,7 @@ windows_core::imp::define_interface!(IFaxAccountSet, IFaxAccountSet_Vtbl, 0x7428 impl std::ops::Deref for IFaxAccountSet { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -931,7 +931,7 @@ windows_core::imp::interface_hierarchy!(IFaxAccountSet, windows_core::IUnknown, impl IFaxAccountSet { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAccounts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccounts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -939,7 +939,7 @@ impl IFaxAccountSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccount)(windows_core::Interface::as_raw(self), bstraccountname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -947,7 +947,7 @@ impl IFaxAccountSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddAccount)(windows_core::Interface::as_raw(self), bstraccountname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveAccount(&self, bstraccountname: P0) -> windows_core::Result<()> @@ -966,14 +966,14 @@ pub struct IFaxAccountSet_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetAccounts: usize, #[cfg(feature = "Win32_System_Com")] - pub GetAccount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAccount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetAccount: usize, #[cfg(feature = "Win32_System_Com")] - pub AddAccount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddAccount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddAccount: usize, - pub RemoveAccount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveAccount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccounts, IFaxAccounts_Vtbl, 0x93ea8162_8be7_42d1_ae7b_ec74e2d989da); @@ -981,7 +981,7 @@ windows_core::imp::define_interface!(IFaxAccounts, IFaxAccounts_Vtbl, 0x93ea8162 impl std::ops::Deref for IFaxAccounts { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -989,7 +989,7 @@ windows_core::imp::interface_hierarchy!(IFaxAccounts, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IFaxAccounts { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -997,11 +997,11 @@ impl IFaxAccounts { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), vindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1011,7 +1011,7 @@ pub struct IFaxAccounts_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1022,7 +1022,7 @@ windows_core::imp::define_interface!(IFaxActivity, IFaxActivity_Vtbl, 0x4b106f97 impl std::ops::Deref for IFaxActivity { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1030,19 +1030,19 @@ windows_core::imp::interface_hierarchy!(IFaxActivity, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IFaxActivity { pub unsafe fn IncomingMessages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncomingMessages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RoutingMessages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoutingMessages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutgoingMessages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutgoingMessages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueuedMessages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueuedMessages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -1065,7 +1065,7 @@ windows_core::imp::define_interface!(IFaxActivityLogging, IFaxActivityLogging_Vt impl std::ops::Deref for IFaxActivityLogging { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1073,7 +1073,7 @@ windows_core::imp::interface_hierarchy!(IFaxActivityLogging, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IFaxActivityLogging { pub unsafe fn LogIncoming(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogIncoming)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogIncoming(&self, blogincoming: P0) -> windows_core::Result<()> @@ -1083,7 +1083,7 @@ impl IFaxActivityLogging { (windows_core::Interface::vtable(self).SetLogIncoming)(windows_core::Interface::as_raw(self), blogincoming.param().abi()).ok() } pub unsafe fn LogOutgoing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogOutgoing)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogOutgoing(&self, blogoutgoing: P0) -> windows_core::Result<()> @@ -1093,7 +1093,7 @@ impl IFaxActivityLogging { (windows_core::Interface::vtable(self).SetLogOutgoing)(windows_core::Interface::as_raw(self), blogoutgoing.param().abi()).ok() } pub unsafe fn DatabasePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DatabasePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDatabasePath(&self, bstrdatabasepath: P0) -> windows_core::Result<()> @@ -1117,8 +1117,8 @@ pub struct IFaxActivityLogging_Vtbl { pub SetLogIncoming: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub LogOutgoing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetLogOutgoing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DatabasePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDatabasePath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DatabasePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDatabasePath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1128,7 +1128,7 @@ windows_core::imp::define_interface!(IFaxConfiguration, IFaxConfiguration_Vtbl, impl std::ops::Deref for IFaxConfiguration { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1136,7 +1136,7 @@ windows_core::imp::interface_hierarchy!(IFaxConfiguration, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IFaxConfiguration { pub unsafe fn UseArchive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseArchive)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseArchive(&self, busearchive: P0) -> windows_core::Result<()> @@ -1146,7 +1146,7 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetUseArchive)(windows_core::Interface::as_raw(self), busearchive.param().abi()).ok() } pub unsafe fn ArchiveLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArchiveLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetArchiveLocation(&self, bstrarchivelocation: P0) -> windows_core::Result<()> @@ -1156,7 +1156,7 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetArchiveLocation)(windows_core::Interface::as_raw(self), bstrarchivelocation.param().abi()).ok() } pub unsafe fn SizeQuotaWarning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeQuotaWarning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSizeQuotaWarning(&self, bsizequotawarning: P0) -> windows_core::Result<()> @@ -1166,36 +1166,36 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetSizeQuotaWarning)(windows_core::Interface::as_raw(self), bsizequotawarning.param().abi()).ok() } pub unsafe fn HighQuotaWaterMark(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HighQuotaWaterMark)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LowQuotaWaterMark)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArchiveAgeLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArchiveSizeLow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ArchiveSizeHigh(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArchiveSizeHigh)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutgoingQueueBlocked(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutgoingQueueBlocked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutgoingQueueBlocked(&self, boutgoingblocked: P0) -> windows_core::Result<()> @@ -1205,7 +1205,7 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetOutgoingQueueBlocked)(windows_core::Interface::as_raw(self), boutgoingblocked.param().abi()).ok() } pub unsafe fn OutgoingQueuePaused(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutgoingQueuePaused)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutgoingQueuePaused(&self, boutgoingpaused: P0) -> windows_core::Result<()> @@ -1215,7 +1215,7 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetOutgoingQueuePaused)(windows_core::Interface::as_raw(self), boutgoingpaused.param().abi()).ok() } pub unsafe fn AllowPersonalCoverPages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowPersonalCoverPages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowPersonalCoverPages(&self, ballowpersonalcoverpages: P0) -> windows_core::Result<()> @@ -1225,7 +1225,7 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetAllowPersonalCoverPages)(windows_core::Interface::as_raw(self), ballowpersonalcoverpages.param().abi()).ok() } pub unsafe fn UseDeviceTSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseDeviceTSID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseDeviceTSID(&self, busedevicetsid: P0) -> windows_core::Result<()> @@ -1235,42 +1235,42 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetUseDeviceTSID)(windows_core::Interface::as_raw(self), busedevicetsid.param().abi()).ok() } pub unsafe fn Retries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Retries)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetryDelay)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiscountRateStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiscountRateEnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutgoingQueueAgeLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Branding)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBranding(&self, bbranding: P0) -> windows_core::Result<()> @@ -1280,7 +1280,7 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetBranding)(windows_core::Interface::as_raw(self), bbranding.param().abi()).ok() } pub unsafe fn IncomingQueueBlocked(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncomingQueueBlocked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIncomingQueueBlocked(&self, bincomingblocked: P0) -> windows_core::Result<()> @@ -1290,7 +1290,7 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetIncomingQueueBlocked)(windows_core::Interface::as_raw(self), bincomingblocked.param().abi()).ok() } pub unsafe fn AutoCreateAccountOnConnect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoCreateAccountOnConnect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoCreateAccountOnConnect(&self, bautocreateaccountonconnect: P0) -> windows_core::Result<()> @@ -1300,7 +1300,7 @@ impl IFaxConfiguration { (windows_core::Interface::vtable(self).SetAutoCreateAccountOnConnect)(windows_core::Interface::as_raw(self), bautocreateaccountonconnect.param().abi()).ok() } pub unsafe fn IncomingFaxesArePublic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncomingFaxesArePublic)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIncomingFaxesArePublic(&self, bincomingfaxesarepublic: P0) -> windows_core::Result<()> @@ -1322,8 +1322,8 @@ pub struct IFaxConfiguration_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub UseArchive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetUseArchive: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ArchiveLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetArchiveLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ArchiveLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArchiveLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SizeQuotaWarning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetSizeQuotaWarning: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub HighQuotaWaterMark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1369,7 +1369,7 @@ windows_core::imp::define_interface!(IFaxDevice, IFaxDevice_Vtbl, 0x49306c59_b52 impl std::ops::Deref for IFaxDevice { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1377,35 +1377,35 @@ windows_core::imp::interface_hierarchy!(IFaxDevice, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IFaxDevice { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProviderUniqueName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderUniqueName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PoweredOff(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PoweredOff)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReceivingNow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceivingNow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SendingNow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendingNow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UsedRoutingMethods(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UsedRoutingMethods)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -1415,7 +1415,7 @@ impl IFaxDevice { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn SendEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSendEnabled(&self, bsendenabled: P0) -> windows_core::Result<()> @@ -1425,21 +1425,21 @@ impl IFaxDevice { (windows_core::Interface::vtable(self).SetSendEnabled)(windows_core::Interface::as_raw(self), bsendenabled.param().abi()).ok() } pub unsafe fn ReceiveMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RingsBeforeAnswer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRingsBeforeAnswer(&self, lringsbeforeanswer: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetRingsBeforeAnswer)(windows_core::Interface::as_raw(self), lringsbeforeanswer).ok() } pub unsafe fn CSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCSID(&self, bstrcsid: P0) -> windows_core::Result<()> @@ -1449,7 +1449,7 @@ impl IFaxDevice { (windows_core::Interface::vtable(self).SetCSID)(windows_core::Interface::as_raw(self), bstrcsid.param().abi()).ok() } pub unsafe fn TSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTSID(&self, bstrtsid: P0) -> windows_core::Result<()> @@ -1468,7 +1468,7 @@ impl IFaxDevice { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionProperty)(windows_core::Interface::as_raw(self), bstrguid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExtensionProperty(&self, bstrguid: P0, vproperty: P1) -> windows_core::Result<()> @@ -1486,7 +1486,7 @@ impl IFaxDevice { (windows_core::Interface::vtable(self).UseRoutingMethod)(windows_core::Interface::as_raw(self), bstrmethodguid.param().abi(), buse.param().abi()).ok() } pub unsafe fn RingingNow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RingingNow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AnswerCall(&self) -> windows_core::Result<()> { @@ -1498,29 +1498,29 @@ impl IFaxDevice { pub struct IFaxDevice_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProviderUniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderUniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PoweredOff: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ReceivingNow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SendingNow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub UsedRoutingMethods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UsedRoutingMethods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SendEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetSendEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ReceiveMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_DEVICE_RECEIVE_MODE_ENUM) -> windows_core::HRESULT, pub SetReceiveMode: unsafe extern "system" fn(*mut core::ffi::c_void, FAX_DEVICE_RECEIVE_MODE_ENUM) -> windows_core::HRESULT, pub RingsBeforeAnswer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetRingsBeforeAnswer: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UseRoutingMethod: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UseRoutingMethod: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub RingingNow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub AnswerCall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1530,7 +1530,7 @@ windows_core::imp::define_interface!(IFaxDeviceIds, IFaxDeviceIds_Vtbl, 0x2f0f81 impl std::ops::Deref for IFaxDeviceIds { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1538,15 +1538,15 @@ windows_core::imp::interface_hierarchy!(IFaxDeviceIds, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IFaxDeviceIds { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).map(|| result__) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Add(&self, ldeviceid: i32) -> windows_core::Result<()> { @@ -1576,7 +1576,7 @@ windows_core::imp::define_interface!(IFaxDeviceProvider, IFaxDeviceProvider_Vtbl impl std::ops::Deref for IFaxDeviceProvider { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1584,51 +1584,51 @@ windows_core::imp::interface_hierarchy!(IFaxDeviceProvider, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IFaxDeviceProvider { pub unsafe fn FriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ImageName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImageName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UniqueName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UniqueName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TapiProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TapiProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MajorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MajorBuild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorBuild)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinorBuild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorBuild)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Debug(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Debug)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InitErrorCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitErrorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceIds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceIds)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1636,10 +1636,10 @@ impl IFaxDeviceProvider { #[repr(C)] pub struct IFaxDeviceProvider_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TapiProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TapiProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MajorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MajorBuild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1647,7 +1647,7 @@ pub struct IFaxDeviceProvider_Vtbl { pub Debug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_PROVIDER_STATUS_ENUM) -> windows_core::HRESULT, pub InitErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DeviceIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxDeviceProviders, IFaxDeviceProviders_Vtbl, 0x9fb76f62_4c7e_43a5_b6fd_502893f7e13e); @@ -1655,7 +1655,7 @@ windows_core::imp::define_interface!(IFaxDeviceProviders, IFaxDeviceProviders_Vt impl std::ops::Deref for IFaxDeviceProviders { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1663,7 +1663,7 @@ windows_core::imp::interface_hierarchy!(IFaxDeviceProviders, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IFaxDeviceProviders { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1671,11 +1671,11 @@ impl IFaxDeviceProviders { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), vindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1685,7 +1685,7 @@ pub struct IFaxDeviceProviders_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1696,7 +1696,7 @@ windows_core::imp::define_interface!(IFaxDevices, IFaxDevices_Vtbl, 0x9e46783e_f impl std::ops::Deref for IFaxDevices { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1704,7 +1704,7 @@ windows_core::imp::interface_hierarchy!(IFaxDevices, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IFaxDevices { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1712,16 +1712,16 @@ impl IFaxDevices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), vindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemById(&self, lid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemById)(windows_core::Interface::as_raw(self), lid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1731,7 +1731,7 @@ pub struct IFaxDevices_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1746,7 +1746,7 @@ windows_core::imp::define_interface!(IFaxDocument, IFaxDocument_Vtbl, 0xb207a246 impl std::ops::Deref for IFaxDocument { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1754,7 +1754,7 @@ windows_core::imp::interface_hierarchy!(IFaxDocument, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IFaxDocument { pub unsafe fn Body(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Body)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBody(&self, bstrbody: P0) -> windows_core::Result<()> @@ -1765,16 +1765,16 @@ impl IFaxDocument { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sender(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Sender)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recipients(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recipients)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CoverPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CoverPage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCoverPage(&self, bstrcoverpage: P0) -> windows_core::Result<()> @@ -1784,7 +1784,7 @@ impl IFaxDocument { (windows_core::Interface::vtable(self).SetCoverPage)(windows_core::Interface::as_raw(self), bstrcoverpage.param().abi()).ok() } pub unsafe fn Subject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubject(&self, bstrsubject: P0) -> windows_core::Result<()> @@ -1794,7 +1794,7 @@ impl IFaxDocument { (windows_core::Interface::vtable(self).SetSubject)(windows_core::Interface::as_raw(self), bstrsubject.param().abi()).ok() } pub unsafe fn Note(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Note)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNote(&self, bstrnote: P0) -> windows_core::Result<()> @@ -1804,14 +1804,14 @@ impl IFaxDocument { (windows_core::Interface::vtable(self).SetNote)(windows_core::Interface::as_raw(self), bstrnote.param().abi()).ok() } pub unsafe fn ScheduleTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScheduleTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScheduleTime(&self, datescheduletime: f64) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetScheduleTime)(windows_core::Interface::as_raw(self), datescheduletime).ok() } pub unsafe fn ReceiptAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiptAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetReceiptAddress(&self, bstrreceiptaddress: P0) -> windows_core::Result<()> @@ -1821,7 +1821,7 @@ impl IFaxDocument { (windows_core::Interface::vtable(self).SetReceiptAddress)(windows_core::Interface::as_raw(self), bstrreceiptaddress.param().abi()).ok() } pub unsafe fn DocumentName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DocumentName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDocumentName(&self, bstrdocumentname: P0) -> windows_core::Result<()> @@ -1831,35 +1831,35 @@ impl IFaxDocument { (windows_core::Interface::vtable(self).SetDocumentName)(windows_core::Interface::as_raw(self), bstrdocumentname.param().abi()).ok() } pub unsafe fn CallHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CoverPageType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScheduleType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiptType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GroupBroadcastReceipts)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGroupBroadcastReceipts(&self, busegrouping: P0) -> windows_core::Result<()> @@ -1869,7 +1869,7 @@ impl IFaxDocument { (windows_core::Interface::vtable(self).SetGroupBroadcastReceipts)(windows_core::Interface::as_raw(self), busegrouping.param().abi()).ok() } pub unsafe fn Priority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPriority(&self, priority: FAX_PRIORITY_TYPE_ENUM) -> windows_core::Result<()> { @@ -1877,7 +1877,7 @@ impl IFaxDocument { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TapiConnection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TapiConnection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1891,7 +1891,7 @@ impl IFaxDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), bstrfaxservername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1899,11 +1899,11 @@ impl IFaxDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectedSubmit)(windows_core::Interface::as_raw(self), pfaxserver.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AttachFaxToReceipt(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttachFaxToReceipt)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAttachFaxToReceipt(&self, battachfax: P0) -> windows_core::Result<()> @@ -1917,8 +1917,8 @@ impl IFaxDocument { #[repr(C)] pub struct IFaxDocument_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Sender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1927,18 +1927,18 @@ pub struct IFaxDocument_Vtbl { pub Recipients: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Recipients: usize, - pub CoverPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCoverPage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Note: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNote: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CoverPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCoverPage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Note: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNote: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ScheduleTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetScheduleTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, - pub ReceiptAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReceiptAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DocumentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDocumentName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReceiptAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReceiptAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DocumentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDocumentName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CallHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCallHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CoverPageType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_COVERPAGE_TYPE_ENUM) -> windows_core::HRESULT, @@ -1959,9 +1959,9 @@ pub struct IFaxDocument_Vtbl { pub putref_TapiConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_TapiConnection: usize, - pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ConnectedSubmit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectedSubmit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ConnectedSubmit: usize, pub AttachFaxToReceipt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1973,7 +1973,7 @@ windows_core::imp::define_interface!(IFaxDocument2, IFaxDocument2_Vtbl, 0xe13476 impl std::ops::Deref for IFaxDocument2 { type Target = IFaxDocument; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1981,11 +1981,11 @@ windows_core::imp::interface_hierarchy!(IFaxDocument2, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IFaxDocument2 { pub unsafe fn SubmissionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubmissionId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Bodies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bodies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBodies(&self, vbodies: P0) -> windows_core::Result<()> @@ -2012,12 +2012,12 @@ impl IFaxDocument2 { #[repr(C)] pub struct IFaxDocument2_Vtbl { pub base__: IFaxDocument_Vtbl, - pub SubmissionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Bodies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBodies: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Submit2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub SubmissionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bodies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBodies: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Submit2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ConnectedSubmit2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub ConnectedSubmit2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ConnectedSubmit2: usize, } @@ -2027,7 +2027,7 @@ windows_core::imp::define_interface!(IFaxEventLogging, IFaxEventLogging_Vtbl, 0x impl std::ops::Deref for IFaxEventLogging { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2035,28 +2035,28 @@ windows_core::imp::interface_hierarchy!(IFaxEventLogging, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IFaxEventLogging { pub unsafe fn InitEventsLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitEventsLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InboundEventsLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutboundEventsLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GeneralEventsLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGeneralEventsLevel(&self, generaleventlevel: FAX_LOG_LEVEL_ENUM) -> windows_core::Result<()> { @@ -2090,7 +2090,7 @@ windows_core::imp::define_interface!(IFaxFolders, IFaxFolders_Vtbl, 0xdce3b2a8_a impl std::ops::Deref for IFaxFolders { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2099,22 +2099,22 @@ windows_core::imp::interface_hierarchy!(IFaxFolders, windows_core::IUnknown, sup impl IFaxFolders { #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutgoingQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutgoingQueue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncomingQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncomingQueue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncomingArchive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncomingArchive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutgoingArchive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutgoingArchive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2145,7 +2145,7 @@ windows_core::imp::define_interface!(IFaxInboundRouting, IFaxInboundRouting_Vtbl impl std::ops::Deref for IFaxInboundRouting { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2154,12 +2154,12 @@ windows_core::imp::interface_hierarchy!(IFaxInboundRouting, windows_core::IUnkno impl IFaxInboundRouting { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMethods(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMethods)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2182,7 +2182,7 @@ windows_core::imp::define_interface!(IFaxInboundRoutingExtension, IFaxInboundRou impl std::ops::Deref for IFaxInboundRoutingExtension { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2190,47 +2190,47 @@ windows_core::imp::interface_hierarchy!(IFaxInboundRoutingExtension, windows_cor #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingExtension { pub unsafe fn FriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ImageName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImageName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UniqueName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UniqueName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MajorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MajorBuild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorBuild)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinorBuild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorBuild)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Debug(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Debug)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InitErrorCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitErrorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Methods(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Methods)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2238,9 +2238,9 @@ impl IFaxInboundRoutingExtension { #[repr(C)] pub struct IFaxInboundRoutingExtension_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MajorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MajorBuild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -2248,7 +2248,7 @@ pub struct IFaxInboundRoutingExtension_Vtbl { pub Debug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_PROVIDER_STATUS_ENUM) -> windows_core::HRESULT, pub InitErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Methods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Methods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxInboundRoutingExtensions, IFaxInboundRoutingExtensions_Vtbl, 0x2f6c9673_7b26_42de_8eb0_915dcd2a4f4c); @@ -2256,7 +2256,7 @@ windows_core::imp::define_interface!(IFaxInboundRoutingExtensions, IFaxInboundRo impl std::ops::Deref for IFaxInboundRoutingExtensions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2264,7 +2264,7 @@ windows_core::imp::interface_hierarchy!(IFaxInboundRoutingExtensions, windows_co #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingExtensions { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2272,11 +2272,11 @@ impl IFaxInboundRoutingExtensions { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), vindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2286,7 +2286,7 @@ pub struct IFaxInboundRoutingExtensions_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -2297,7 +2297,7 @@ windows_core::imp::define_interface!(IFaxInboundRoutingMethod, IFaxInboundRoutin impl std::ops::Deref for IFaxInboundRoutingMethod { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2305,27 +2305,27 @@ windows_core::imp::interface_hierarchy!(IFaxInboundRoutingMethod, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingMethod { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GUID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FunctionName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FunctionName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExtensionFriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtensionFriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExtensionImageName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtensionImageName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Priority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPriority(&self, lpriority: i32) -> windows_core::Result<()> { @@ -2342,11 +2342,11 @@ impl IFaxInboundRoutingMethod { #[repr(C)] pub struct IFaxInboundRoutingMethod_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GUID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FunctionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExtensionFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExtensionImageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GUID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FunctionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtensionFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtensionImageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2358,7 +2358,7 @@ windows_core::imp::define_interface!(IFaxInboundRoutingMethods, IFaxInboundRouti impl std::ops::Deref for IFaxInboundRoutingMethods { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2366,7 +2366,7 @@ windows_core::imp::interface_hierarchy!(IFaxInboundRoutingMethods, windows_core: #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingMethods { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2374,11 +2374,11 @@ impl IFaxInboundRoutingMethods { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), vindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2388,7 +2388,7 @@ pub struct IFaxInboundRoutingMethods_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -2399,7 +2399,7 @@ windows_core::imp::define_interface!(IFaxIncomingArchive, IFaxIncomingArchive_Vt impl std::ops::Deref for IFaxIncomingArchive { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2407,7 +2407,7 @@ windows_core::imp::interface_hierarchy!(IFaxIncomingArchive, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingArchive { pub unsafe fn UseArchive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseArchive)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseArchive(&self, busearchive: P0) -> windows_core::Result<()> @@ -2417,7 +2417,7 @@ impl IFaxIncomingArchive { (windows_core::Interface::vtable(self).SetUseArchive)(windows_core::Interface::as_raw(self), busearchive.param().abi()).ok() } pub unsafe fn ArchiveFolder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArchiveFolder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetArchiveFolder(&self, bstrarchivefolder: P0) -> windows_core::Result<()> @@ -2427,7 +2427,7 @@ impl IFaxIncomingArchive { (windows_core::Interface::vtable(self).SetArchiveFolder)(windows_core::Interface::as_raw(self), bstrarchivefolder.param().abi()).ok() } pub unsafe fn SizeQuotaWarning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeQuotaWarning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSizeQuotaWarning(&self, bsizequotawarning: P0) -> windows_core::Result<()> @@ -2437,32 +2437,32 @@ impl IFaxIncomingArchive { (windows_core::Interface::vtable(self).SetSizeQuotaWarning)(windows_core::Interface::as_raw(self), bsizequotawarning.param().abi()).ok() } pub unsafe fn HighQuotaWaterMark(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HighQuotaWaterMark)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LowQuotaWaterMark)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AgeLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeLow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SizeHigh(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeHigh)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -2473,7 +2473,7 @@ impl IFaxIncomingArchive { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMessages(&self, lprefetchsize: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessages)(windows_core::Interface::as_raw(self), lprefetchsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2481,7 +2481,7 @@ impl IFaxIncomingArchive { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessage)(windows_core::Interface::as_raw(self), bstrmessageid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2491,8 +2491,8 @@ pub struct IFaxIncomingArchive_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub UseArchive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetUseArchive: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ArchiveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetArchiveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ArchiveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArchiveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SizeQuotaWarning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetSizeQuotaWarning: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub HighQuotaWaterMark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -2510,7 +2510,7 @@ pub struct IFaxIncomingArchive_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetMessages: usize, #[cfg(feature = "Win32_System_Com")] - pub GetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetMessage: usize, } @@ -2520,7 +2520,7 @@ windows_core::imp::define_interface!(IFaxIncomingJob, IFaxIncomingJob_Vtbl, 0x20 impl std::ops::Deref for IFaxIncomingJob { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2528,67 +2528,67 @@ windows_core::imp::interface_hierarchy!(IFaxIncomingJob, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingJob { pub unsafe fn Size(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExtendedStatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedStatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExtendedStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedStatus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AvailableOperations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvailableOperations)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Retries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Retries)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionStart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionEnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionEnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CallerId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallerId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RoutingInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoutingInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn JobType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JobType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -2609,24 +2609,24 @@ impl IFaxIncomingJob { pub struct IFaxIncomingJob_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_STATUS_ENUM) -> windows_core::HRESULT, pub ExtendedStatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_EXTENDED_STATUS_ENUM) -> windows_core::HRESULT, - pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AvailableOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_OPERATIONS_ENUM) -> windows_core::HRESULT, pub Retries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TransmissionStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TransmissionEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CallerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RoutingInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoutingInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub JobType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_TYPE_ENUM) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub CopyTiff: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyTiff: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxIncomingJobs, IFaxIncomingJobs_Vtbl, 0x011f04e9_4fd6_4c23_9513_b6b66bb26be9); @@ -2634,7 +2634,7 @@ windows_core::imp::define_interface!(IFaxIncomingJobs, IFaxIncomingJobs_Vtbl, 0x impl std::ops::Deref for IFaxIncomingJobs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2642,7 +2642,7 @@ windows_core::imp::interface_hierarchy!(IFaxIncomingJobs, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingJobs { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2650,11 +2650,11 @@ impl IFaxIncomingJobs { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), vindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2664,7 +2664,7 @@ pub struct IFaxIncomingJobs_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -2675,7 +2675,7 @@ windows_core::imp::define_interface!(IFaxIncomingMessage, IFaxIncomingMessage_Vt impl std::ops::Deref for IFaxIncomingMessage { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2683,47 +2683,47 @@ windows_core::imp::interface_hierarchy!(IFaxIncomingMessage, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingMessage { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Pages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Size(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Retries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Retries)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionStart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionEnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionEnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CallerId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallerId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RoutingInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoutingInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CopyTiff(&self, bstrtiffpath: P0) -> windows_core::Result<()> @@ -2740,18 +2740,18 @@ impl IFaxIncomingMessage { #[repr(C)] pub struct IFaxIncomingMessage_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Pages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Retries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TransmissionStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TransmissionEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CallerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RoutingInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CopyTiff: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoutingInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyTiff: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2760,7 +2760,7 @@ windows_core::imp::define_interface!(IFaxIncomingMessage2, IFaxIncomingMessage2_ impl std::ops::Deref for IFaxIncomingMessage2 { type Target = IFaxIncomingMessage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2768,7 +2768,7 @@ windows_core::imp::interface_hierarchy!(IFaxIncomingMessage2, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingMessage2 { pub unsafe fn Subject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubject(&self, bstrsubject: P0) -> windows_core::Result<()> @@ -2778,7 +2778,7 @@ impl IFaxIncomingMessage2 { (windows_core::Interface::vtable(self).SetSubject)(windows_core::Interface::as_raw(self), bstrsubject.param().abi()).ok() } pub unsafe fn SenderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSenderName(&self, bstrsendername: P0) -> windows_core::Result<()> @@ -2788,7 +2788,7 @@ impl IFaxIncomingMessage2 { (windows_core::Interface::vtable(self).SetSenderName)(windows_core::Interface::as_raw(self), bstrsendername.param().abi()).ok() } pub unsafe fn SenderFaxNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderFaxNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSenderFaxNumber(&self, bstrsenderfaxnumber: P0) -> windows_core::Result<()> @@ -2798,7 +2798,7 @@ impl IFaxIncomingMessage2 { (windows_core::Interface::vtable(self).SetSenderFaxNumber)(windows_core::Interface::as_raw(self), bstrsenderfaxnumber.param().abi()).ok() } pub unsafe fn HasCoverPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasCoverPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHasCoverPage(&self, bhascoverpage: P0) -> windows_core::Result<()> @@ -2808,7 +2808,7 @@ impl IFaxIncomingMessage2 { (windows_core::Interface::vtable(self).SetHasCoverPage)(windows_core::Interface::as_raw(self), bhascoverpage.param().abi()).ok() } pub unsafe fn Recipients(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recipients)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRecipients(&self, bstrrecipients: P0) -> windows_core::Result<()> @@ -2818,11 +2818,11 @@ impl IFaxIncomingMessage2 { (windows_core::Interface::vtable(self).SetRecipients)(windows_core::Interface::as_raw(self), bstrrecipients.param().abi()).ok() } pub unsafe fn WasReAssigned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WasReAssigned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Read(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Read)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRead(&self, bread: P0) -> windows_core::Result<()> @@ -2845,16 +2845,16 @@ impl IFaxIncomingMessage2 { #[repr(C)] pub struct IFaxIncomingMessage2_Vtbl { pub base__: IFaxIncomingMessage_Vtbl, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SenderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSenderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SenderFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSenderFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSenderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSenderFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub HasCoverPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetHasCoverPage: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Recipients: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRecipients: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Recipients: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRecipients: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub WasReAssigned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetRead: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -2868,7 +2868,7 @@ windows_core::imp::define_interface!(IFaxIncomingMessageIterator, IFaxIncomingMe impl std::ops::Deref for IFaxIncomingMessageIterator { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2877,18 +2877,18 @@ windows_core::imp::interface_hierarchy!(IFaxIncomingMessageIterator, windows_cor impl IFaxIncomingMessageIterator { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Message(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Message)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PrefetchSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrefetchSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AtEOF)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveFirst(&self) -> windows_core::Result<()> { @@ -2918,7 +2918,7 @@ windows_core::imp::define_interface!(IFaxIncomingQueue, IFaxIncomingQueue_Vtbl, impl std::ops::Deref for IFaxIncomingQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2926,7 +2926,7 @@ windows_core::imp::interface_hierarchy!(IFaxIncomingQueue, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingQueue { pub unsafe fn Blocked(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Blocked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBlocked(&self, bblocked: P0) -> windows_core::Result<()> @@ -2943,7 +2943,7 @@ impl IFaxIncomingQueue { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetJobs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJobs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2951,7 +2951,7 @@ impl IFaxIncomingQueue { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJob)(windows_core::Interface::as_raw(self), bstrjobid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2968,7 +2968,7 @@ pub struct IFaxIncomingQueue_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetJobs: usize, #[cfg(feature = "Win32_System_Com")] - pub GetJob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetJob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetJob: usize, } @@ -2978,7 +2978,7 @@ windows_core::imp::define_interface!(IFaxJobStatus, IFaxJobStatus_Vtbl, 0x8b86f4 impl std::ops::Deref for IFaxJobStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2986,71 +2986,71 @@ windows_core::imp::interface_hierarchy!(IFaxJobStatus, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IFaxJobStatus { pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Pages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Size(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExtendedStatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedStatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExtendedStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedStatus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AvailableOperations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvailableOperations)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Retries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Retries)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn JobType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JobType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ScheduledTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScheduledTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionStart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionEnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionEnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CallerId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallerId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RoutingInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoutingInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3063,18 +3063,18 @@ pub struct IFaxJobStatus_Vtbl { pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ExtendedStatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_EXTENDED_STATUS_ENUM) -> windows_core::HRESULT, - pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AvailableOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_OPERATIONS_ENUM) -> windows_core::HRESULT, pub Retries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub JobType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_TYPE_ENUM) -> windows_core::HRESULT, pub ScheduledTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TransmissionStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TransmissionEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub CallerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RoutingInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoutingInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxLoggingOptions, IFaxLoggingOptions_Vtbl, 0x34e64fb9_6b31_4d32_8b27_d286c0c33606); @@ -3082,7 +3082,7 @@ windows_core::imp::define_interface!(IFaxLoggingOptions, IFaxLoggingOptions_Vtbl impl std::ops::Deref for IFaxLoggingOptions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3091,12 +3091,12 @@ windows_core::imp::interface_hierarchy!(IFaxLoggingOptions, windows_core::IUnkno impl IFaxLoggingOptions { #[cfg(feature = "Win32_System_Com")] pub unsafe fn EventLogging(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventLogging)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActivityLogging(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivityLogging)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3119,7 +3119,7 @@ windows_core::imp::define_interface!(IFaxOutboundRouting, IFaxOutboundRouting_Vt impl std::ops::Deref for IFaxOutboundRouting { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3128,12 +3128,12 @@ windows_core::imp::interface_hierarchy!(IFaxOutboundRouting, windows_core::IUnkn impl IFaxOutboundRouting { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRules)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3156,7 +3156,7 @@ windows_core::imp::define_interface!(IFaxOutboundRoutingGroup, IFaxOutboundRouti impl std::ops::Deref for IFaxOutboundRoutingGroup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3164,16 +3164,16 @@ windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingGroup, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingGroup { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DeviceIds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceIds)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3181,7 +3181,7 @@ impl IFaxOutboundRoutingGroup { #[repr(C)] pub struct IFaxOutboundRoutingGroup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_GROUP_STATUS_ENUM) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DeviceIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3194,7 +3194,7 @@ windows_core::imp::define_interface!(IFaxOutboundRoutingGroups, IFaxOutboundRout impl std::ops::Deref for IFaxOutboundRoutingGroups { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3202,7 +3202,7 @@ windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingGroups, windows_core: #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingGroups { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3210,11 +3210,11 @@ impl IFaxOutboundRoutingGroups { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), vindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3222,7 +3222,7 @@ impl IFaxOutboundRoutingGroups { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, vindex: P0) -> windows_core::Result<()> @@ -3238,15 +3238,15 @@ pub struct IFaxOutboundRoutingGroups_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutboundRoutingRule, IFaxOutboundRoutingRule_Vtbl, 0xe1f795d5_07c2_469f_b027_acacc23219da); @@ -3254,7 +3254,7 @@ windows_core::imp::define_interface!(IFaxOutboundRoutingRule, IFaxOutboundRoutin impl std::ops::Deref for IFaxOutboundRoutingRule { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3262,19 +3262,19 @@ windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingRule, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingRule { pub unsafe fn CountryCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AreaCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AreaCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UseDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseDevice)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseDevice(&self, busedevice: P0) -> windows_core::Result<()> @@ -3284,14 +3284,14 @@ impl IFaxOutboundRoutingRule { (windows_core::Interface::vtable(self).SetUseDevice)(windows_core::Interface::as_raw(self), busedevice.param().abi()).ok() } pub unsafe fn DeviceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 GroupName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GroupName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetGroupName(&self, bstrgroupname: P0) -> windows_core::Result<()> @@ -3318,8 +3318,8 @@ pub struct IFaxOutboundRoutingRule_Vtbl { pub SetUseDevice: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub GroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3329,7 +3329,7 @@ windows_core::imp::define_interface!(IFaxOutboundRoutingRules, IFaxOutboundRouti impl std::ops::Deref for IFaxOutboundRoutingRules { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3337,21 +3337,21 @@ windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingRules, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingRules { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ItemByCountryAndArea(&self, lcountrycode: i32, lareacode: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemByCountryAndArea)(windows_core::Interface::as_raw(self), lcountrycode, lareacode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveByCountryAndArea(&self, lcountrycode: i32, lareacode: i32) -> windows_core::Result<()> { @@ -3366,7 +3366,7 @@ impl IFaxOutboundRoutingRules { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), lcountrycode, lareacode, busedevice.param().abi(), bstrgroupname.param().abi(), ldeviceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3387,7 +3387,7 @@ pub struct IFaxOutboundRoutingRules_Vtbl { pub RemoveByCountryAndArea: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, } @@ -3397,7 +3397,7 @@ windows_core::imp::define_interface!(IFaxOutgoingArchive, IFaxOutgoingArchive_Vt impl std::ops::Deref for IFaxOutgoingArchive { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3405,7 +3405,7 @@ windows_core::imp::interface_hierarchy!(IFaxOutgoingArchive, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingArchive { pub unsafe fn UseArchive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseArchive)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseArchive(&self, busearchive: P0) -> windows_core::Result<()> @@ -3415,7 +3415,7 @@ impl IFaxOutgoingArchive { (windows_core::Interface::vtable(self).SetUseArchive)(windows_core::Interface::as_raw(self), busearchive.param().abi()).ok() } pub unsafe fn ArchiveFolder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArchiveFolder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetArchiveFolder(&self, bstrarchivefolder: P0) -> windows_core::Result<()> @@ -3425,7 +3425,7 @@ impl IFaxOutgoingArchive { (windows_core::Interface::vtable(self).SetArchiveFolder)(windows_core::Interface::as_raw(self), bstrarchivefolder.param().abi()).ok() } pub unsafe fn SizeQuotaWarning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeQuotaWarning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSizeQuotaWarning(&self, bsizequotawarning: P0) -> windows_core::Result<()> @@ -3435,32 +3435,32 @@ impl IFaxOutgoingArchive { (windows_core::Interface::vtable(self).SetSizeQuotaWarning)(windows_core::Interface::as_raw(self), bsizequotawarning.param().abi()).ok() } pub unsafe fn HighQuotaWaterMark(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HighQuotaWaterMark)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LowQuotaWaterMark)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AgeLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeLow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SizeHigh(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeHigh)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -3471,7 +3471,7 @@ impl IFaxOutgoingArchive { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMessages(&self, lprefetchsize: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessages)(windows_core::Interface::as_raw(self), lprefetchsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3479,7 +3479,7 @@ impl IFaxOutgoingArchive { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessage)(windows_core::Interface::as_raw(self), bstrmessageid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3489,8 +3489,8 @@ pub struct IFaxOutgoingArchive_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub UseArchive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetUseArchive: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ArchiveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetArchiveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ArchiveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArchiveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SizeQuotaWarning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetSizeQuotaWarning: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub HighQuotaWaterMark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3508,7 +3508,7 @@ pub struct IFaxOutgoingArchive_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetMessages: usize, #[cfg(feature = "Win32_System_Com")] - pub GetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetMessage: usize, } @@ -3518,7 +3518,7 @@ windows_core::imp::define_interface!(IFaxOutgoingJob, IFaxOutgoingJob_Vtbl, 0x63 impl std::ops::Deref for IFaxOutgoingJob { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3526,105 +3526,105 @@ windows_core::imp::interface_hierarchy!(IFaxOutgoingJob, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingJob { pub unsafe fn Subject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DocumentName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DocumentName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Pages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Size(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SubmissionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubmissionId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OriginalScheduledTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OriginalScheduledTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SubmissionTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubmissionTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReceiptType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiptType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Priority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sender(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Sender)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recipient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recipient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExtendedStatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedStatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExtendedStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedStatus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AvailableOperations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvailableOperations)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Retries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Retries)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ScheduledTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScheduledTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionStart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionEnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionEnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GroupBroadcastReceipts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GroupBroadcastReceipts)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Pause(&self) -> windows_core::Result<()> { @@ -3653,12 +3653,12 @@ impl IFaxOutgoingJob { #[repr(C)] pub struct IFaxOutgoingJob_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DocumentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DocumentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Pages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub SubmissionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubmissionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OriginalScheduledTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SubmissionTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub ReceiptType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_RECEIPT_TYPE_ENUM) -> windows_core::HRESULT, @@ -3675,19 +3675,19 @@ pub struct IFaxOutgoingJob_Vtbl { pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_STATUS_ENUM) -> windows_core::HRESULT, pub ExtendedStatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_EXTENDED_STATUS_ENUM) -> windows_core::HRESULT, - pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AvailableOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_JOB_OPERATIONS_ENUM) -> windows_core::HRESULT, pub Retries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ScheduledTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TransmissionStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TransmissionEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GroupBroadcastReceipts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Restart: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub CopyTiff: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyTiff: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3697,7 +3697,7 @@ windows_core::imp::define_interface!(IFaxOutgoingJob2, IFaxOutgoingJob2_Vtbl, 0x impl std::ops::Deref for IFaxOutgoingJob2 { type Target = IFaxOutgoingJob; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3705,15 +3705,15 @@ windows_core::imp::interface_hierarchy!(IFaxOutgoingJob2, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingJob2 { pub unsafe fn HasCoverPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasCoverPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReceiptAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiptAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ScheduleType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScheduleType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3722,7 +3722,7 @@ impl IFaxOutgoingJob2 { pub struct IFaxOutgoingJob2_Vtbl { pub base__: IFaxOutgoingJob_Vtbl, pub HasCoverPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ReceiptAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReceiptAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ScheduleType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_SCHEDULE_TYPE_ENUM) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -3731,7 +3731,7 @@ windows_core::imp::define_interface!(IFaxOutgoingJobs, IFaxOutgoingJobs_Vtbl, 0x impl std::ops::Deref for IFaxOutgoingJobs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3739,7 +3739,7 @@ windows_core::imp::interface_hierarchy!(IFaxOutgoingJobs, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingJobs { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3747,11 +3747,11 @@ impl IFaxOutgoingJobs { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), vindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3761,7 +3761,7 @@ pub struct IFaxOutgoingJobs_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3772,7 +3772,7 @@ windows_core::imp::define_interface!(IFaxOutgoingMessage, IFaxOutgoingMessage_Vt impl std::ops::Deref for IFaxOutgoingMessage { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3780,73 +3780,73 @@ windows_core::imp::interface_hierarchy!(IFaxOutgoingMessage, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingMessage { pub unsafe fn SubmissionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubmissionId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Subject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DocumentName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DocumentName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Retries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Retries)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Pages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Size(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OriginalScheduledTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OriginalScheduledTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SubmissionTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubmissionTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Priority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sender(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Sender)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recipient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recipient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeviceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TransmissionStart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionEnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionEnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CopyTiff(&self, bstrtiffpath: P0) -> windows_core::Result<()> @@ -3863,10 +3863,10 @@ impl IFaxOutgoingMessage { #[repr(C)] pub struct IFaxOutgoingMessage_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SubmissionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DocumentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubmissionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DocumentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Retries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Pages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3881,12 +3881,12 @@ pub struct IFaxOutgoingMessage_Vtbl { pub Recipient: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Recipient: usize, - pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TransmissionStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TransmissionEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CopyTiff: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyTiff: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -3895,7 +3895,7 @@ windows_core::imp::define_interface!(IFaxOutgoingMessage2, IFaxOutgoingMessage2_ impl std::ops::Deref for IFaxOutgoingMessage2 { type Target = IFaxOutgoingMessage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3903,19 +3903,19 @@ windows_core::imp::interface_hierarchy!(IFaxOutgoingMessage2, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingMessage2 { pub unsafe fn HasCoverPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasCoverPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReceiptType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiptType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReceiptAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiptAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Read(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Read)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRead(&self, bread: P0) -> windows_core::Result<()> @@ -3937,7 +3937,7 @@ pub struct IFaxOutgoingMessage2_Vtbl { pub base__: IFaxOutgoingMessage_Vtbl, pub HasCoverPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ReceiptType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_RECEIPT_TYPE_ENUM) -> windows_core::HRESULT, - pub ReceiptAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReceiptAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetRead: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3949,7 +3949,7 @@ windows_core::imp::define_interface!(IFaxOutgoingMessageIterator, IFaxOutgoingMe impl std::ops::Deref for IFaxOutgoingMessageIterator { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3958,15 +3958,15 @@ windows_core::imp::interface_hierarchy!(IFaxOutgoingMessageIterator, windows_cor impl IFaxOutgoingMessageIterator { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Message(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Message)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AtEOF(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AtEOF)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrefetchSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrefetchSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPrefetchSize(&self, lprefetchsize: i32) -> windows_core::Result<()> { @@ -3999,7 +3999,7 @@ windows_core::imp::define_interface!(IFaxOutgoingQueue, IFaxOutgoingQueue_Vtbl, impl std::ops::Deref for IFaxOutgoingQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4007,7 +4007,7 @@ windows_core::imp::interface_hierarchy!(IFaxOutgoingQueue, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingQueue { pub unsafe fn Blocked(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Blocked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBlocked(&self, bblocked: P0) -> windows_core::Result<()> @@ -4017,7 +4017,7 @@ impl IFaxOutgoingQueue { (windows_core::Interface::vtable(self).SetBlocked)(windows_core::Interface::as_raw(self), bblocked.param().abi()).ok() } pub unsafe fn Paused(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Paused)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPaused(&self, bpaused: P0) -> windows_core::Result<()> @@ -4027,7 +4027,7 @@ impl IFaxOutgoingQueue { (windows_core::Interface::vtable(self).SetPaused)(windows_core::Interface::as_raw(self), bpaused.param().abi()).ok() } pub unsafe fn AllowPersonalCoverPages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowPersonalCoverPages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowPersonalCoverPages(&self, ballowpersonalcoverpages: P0) -> windows_core::Result<()> @@ -4037,7 +4037,7 @@ impl IFaxOutgoingQueue { (windows_core::Interface::vtable(self).SetAllowPersonalCoverPages)(windows_core::Interface::as_raw(self), ballowpersonalcoverpages.param().abi()).ok() } pub unsafe fn UseDeviceTSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseDeviceTSID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseDeviceTSID(&self, busedevicetsid: P0) -> windows_core::Result<()> @@ -4047,42 +4047,42 @@ impl IFaxOutgoingQueue { (windows_core::Interface::vtable(self).SetUseDeviceTSID)(windows_core::Interface::as_raw(self), busedevicetsid.param().abi()).ok() } pub unsafe fn Retries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Retries)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetryDelay)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiscountRateStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiscountRateEnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AgeLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Branding)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBranding(&self, bbranding: P0) -> windows_core::Result<()> @@ -4099,7 +4099,7 @@ impl IFaxOutgoingQueue { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetJobs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJobs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4107,7 +4107,7 @@ impl IFaxOutgoingQueue { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJob)(windows_core::Interface::as_raw(self), bstrjobid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4142,7 +4142,7 @@ pub struct IFaxOutgoingQueue_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetJobs: usize, #[cfg(feature = "Win32_System_Com")] - pub GetJob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetJob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetJob: usize, } @@ -4152,7 +4152,7 @@ windows_core::imp::define_interface!(IFaxReceiptOptions, IFaxReceiptOptions_Vtbl impl std::ops::Deref for IFaxReceiptOptions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4160,14 +4160,14 @@ windows_core::imp::interface_hierarchy!(IFaxReceiptOptions, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IFaxReceiptOptions { pub unsafe fn AuthenticationType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthenticationType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAuthenticationType(&self, r#type: FAX_SMTP_AUTHENTICATION_TYPE_ENUM) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAuthenticationType)(windows_core::Interface::as_raw(self), r#type).ok() } pub unsafe fn SMTPServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SMTPServer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSMTPServer(&self, bstrsmtpserver: P0) -> windows_core::Result<()> @@ -4177,14 +4177,14 @@ impl IFaxReceiptOptions { (windows_core::Interface::vtable(self).SetSMTPServer)(windows_core::Interface::as_raw(self), bstrsmtpserver.param().abi()).ok() } pub unsafe fn SMTPPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SMTPPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSMTPPort(&self, lsmtpport: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetSMTPPort)(windows_core::Interface::as_raw(self), lsmtpport).ok() } pub unsafe fn SMTPSender(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SMTPSender)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSMTPSender(&self, bstrsmtpsender: P0) -> windows_core::Result<()> @@ -4194,7 +4194,7 @@ impl IFaxReceiptOptions { (windows_core::Interface::vtable(self).SetSMTPSender)(windows_core::Interface::as_raw(self), bstrsmtpsender.param().abi()).ok() } pub unsafe fn SMTPUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SMTPUser)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSMTPUser(&self, bstrsmtpuser: P0) -> windows_core::Result<()> @@ -4204,14 +4204,14 @@ impl IFaxReceiptOptions { (windows_core::Interface::vtable(self).SetSMTPUser)(windows_core::Interface::as_raw(self), bstrsmtpuser.param().abi()).ok() } pub unsafe fn AllowedReceipts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowedReceipts)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowedReceipts(&self, allowedreceipts: FAX_RECEIPT_TYPE_ENUM) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAllowedReceipts)(windows_core::Interface::as_raw(self), allowedreceipts).ok() } pub unsafe fn SMTPPassword(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SMTPPassword)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSMTPPassword(&self, bstrsmtppassword: P0) -> windows_core::Result<()> @@ -4227,7 +4227,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseForInboundRouting)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseForInboundRouting(&self, buseforinboundrouting: P0) -> windows_core::Result<()> @@ -4243,18 +4243,18 @@ pub struct IFaxReceiptOptions_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub AuthenticationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_SMTP_AUTHENTICATION_TYPE_ENUM) -> windows_core::HRESULT, pub SetAuthenticationType: unsafe extern "system" fn(*mut core::ffi::c_void, FAX_SMTP_AUTHENTICATION_TYPE_ENUM) -> windows_core::HRESULT, - pub SMTPServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSMTPServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SMTPServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSMTPServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SMTPPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSMTPPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SMTPSender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSMTPSender: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SMTPUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSMTPUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SMTPSender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSMTPSender: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SMTPUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSMTPUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AllowedReceipts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_RECEIPT_TYPE_ENUM) -> windows_core::HRESULT, pub SetAllowedReceipts: unsafe extern "system" fn(*mut core::ffi::c_void, FAX_RECEIPT_TYPE_ENUM) -> windows_core::HRESULT, - pub SMTPPassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSMTPPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SMTPPassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSMTPPassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub UseForInboundRouting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4266,7 +4266,7 @@ windows_core::imp::define_interface!(IFaxRecipient, IFaxRecipient_Vtbl, 0x9a3da3 impl std::ops::Deref for IFaxRecipient { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4274,7 +4274,7 @@ windows_core::imp::interface_hierarchy!(IFaxRecipient, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IFaxRecipient { pub unsafe fn FaxNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FaxNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFaxNumber(&self, bstrfaxnumber: P0) -> windows_core::Result<()> @@ -4284,7 +4284,7 @@ impl IFaxRecipient { (windows_core::Interface::vtable(self).SetFaxNumber)(windows_core::Interface::as_raw(self), bstrfaxnumber.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -4298,10 +4298,10 @@ impl IFaxRecipient { #[repr(C)] pub struct IFaxRecipient_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxRecipients, IFaxRecipients_Vtbl, 0xb9c9de5a_894e_4492_9fa3_08c627c11d5d); @@ -4309,7 +4309,7 @@ windows_core::imp::define_interface!(IFaxRecipients, IFaxRecipients_Vtbl, 0xb9c9 impl std::ops::Deref for IFaxRecipients { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4317,16 +4317,16 @@ windows_core::imp::interface_hierarchy!(IFaxRecipients, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IFaxRecipients { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -4335,7 +4335,7 @@ impl IFaxRecipients { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), bstrfaxnumber.param().abi(), bstrrecipientname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, lindex: i32) -> windows_core::Result<()> { @@ -4353,7 +4353,7 @@ pub struct IFaxRecipients_Vtbl { get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -4364,7 +4364,7 @@ windows_core::imp::define_interface!(IFaxSecurity, IFaxSecurity_Vtbl, 0x77b508c1 impl std::ops::Deref for IFaxSecurity { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4372,7 +4372,7 @@ windows_core::imp::interface_hierarchy!(IFaxSecurity, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IFaxSecurity { pub unsafe fn Descriptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Descriptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescriptor(&self, vdescriptor: P0) -> windows_core::Result<()> @@ -4382,7 +4382,7 @@ impl IFaxSecurity { (windows_core::Interface::vtable(self).SetDescriptor)(windows_core::Interface::as_raw(self), vdescriptor.param().abi()).ok() } pub unsafe fn GrantedRights(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GrantedRights)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4392,7 +4392,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InformationType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInformationType(&self, linformationtype: i32) -> windows_core::Result<()> { @@ -4403,8 +4403,8 @@ impl IFaxSecurity { #[repr(C)] pub struct IFaxSecurity_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Descriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Descriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GrantedRights: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_ACCESS_RIGHTS_ENUM) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4417,7 +4417,7 @@ windows_core::imp::define_interface!(IFaxSecurity2, IFaxSecurity2_Vtbl, 0x17d851 impl std::ops::Deref for IFaxSecurity2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4425,7 +4425,7 @@ windows_core::imp::interface_hierarchy!(IFaxSecurity2, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IFaxSecurity2 { pub unsafe fn Descriptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Descriptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescriptor(&self, vdescriptor: P0) -> windows_core::Result<()> @@ -4435,7 +4435,7 @@ impl IFaxSecurity2 { (windows_core::Interface::vtable(self).SetDescriptor)(windows_core::Interface::as_raw(self), vdescriptor.param().abi()).ok() } pub unsafe fn GrantedRights(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GrantedRights)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4445,7 +4445,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InformationType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInformationType(&self, linformationtype: i32) -> windows_core::Result<()> { @@ -4456,8 +4456,8 @@ impl IFaxSecurity2 { #[repr(C)] pub struct IFaxSecurity2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Descriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Descriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GrantedRights: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_ACCESS_RIGHTS_ENUM_2) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4470,7 +4470,7 @@ windows_core::imp::define_interface!(IFaxSender, IFaxSender_Vtbl, 0x0d879d7d_f57 impl std::ops::Deref for IFaxSender { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4478,7 +4478,7 @@ windows_core::imp::interface_hierarchy!(IFaxSender, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IFaxSender { pub unsafe fn BillingCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BillingCode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBillingCode(&self, bstrbillingcode: P0) -> windows_core::Result<()> @@ -4488,7 +4488,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetBillingCode)(windows_core::Interface::as_raw(self), bstrbillingcode.param().abi()).ok() } pub unsafe fn City(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).City)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCity(&self, bstrcity: P0) -> windows_core::Result<()> @@ -4498,7 +4498,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetCity)(windows_core::Interface::as_raw(self), bstrcity.param().abi()).ok() } pub unsafe fn Company(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Company)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCompany(&self, bstrcompany: P0) -> windows_core::Result<()> @@ -4508,7 +4508,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetCompany)(windows_core::Interface::as_raw(self), bstrcompany.param().abi()).ok() } pub unsafe fn Country(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Country)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCountry(&self, bstrcountry: P0) -> windows_core::Result<()> @@ -4518,7 +4518,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetCountry)(windows_core::Interface::as_raw(self), bstrcountry.param().abi()).ok() } pub unsafe fn Department(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Department)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDepartment(&self, bstrdepartment: P0) -> windows_core::Result<()> @@ -4528,7 +4528,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetDepartment)(windows_core::Interface::as_raw(self), bstrdepartment.param().abi()).ok() } pub unsafe fn Email(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Email)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEmail(&self, bstremail: P0) -> windows_core::Result<()> @@ -4538,7 +4538,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetEmail)(windows_core::Interface::as_raw(self), bstremail.param().abi()).ok() } pub unsafe fn FaxNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FaxNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFaxNumber(&self, bstrfaxnumber: P0) -> windows_core::Result<()> @@ -4548,7 +4548,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetFaxNumber)(windows_core::Interface::as_raw(self), bstrfaxnumber.param().abi()).ok() } pub unsafe fn HomePhone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HomePhone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHomePhone(&self, bstrhomephone: P0) -> windows_core::Result<()> @@ -4558,7 +4558,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetHomePhone)(windows_core::Interface::as_raw(self), bstrhomephone.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -4568,7 +4568,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn TSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTSID(&self, bstrtsid: P0) -> windows_core::Result<()> @@ -4578,7 +4578,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetTSID)(windows_core::Interface::as_raw(self), bstrtsid.param().abi()).ok() } pub unsafe fn OfficePhone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OfficePhone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOfficePhone(&self, bstrofficephone: P0) -> windows_core::Result<()> @@ -4588,7 +4588,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetOfficePhone)(windows_core::Interface::as_raw(self), bstrofficephone.param().abi()).ok() } pub unsafe fn OfficeLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OfficeLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOfficeLocation(&self, bstrofficelocation: P0) -> windows_core::Result<()> @@ -4598,7 +4598,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetOfficeLocation)(windows_core::Interface::as_raw(self), bstrofficelocation.param().abi()).ok() } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetState(&self, bstrstate: P0) -> windows_core::Result<()> @@ -4608,7 +4608,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetState)(windows_core::Interface::as_raw(self), bstrstate.param().abi()).ok() } pub unsafe fn StreetAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StreetAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStreetAddress(&self, bstrstreetaddress: P0) -> windows_core::Result<()> @@ -4618,7 +4618,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetStreetAddress)(windows_core::Interface::as_raw(self), bstrstreetaddress.param().abi()).ok() } pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTitle(&self, bstrtitle: P0) -> windows_core::Result<()> @@ -4628,7 +4628,7 @@ impl IFaxSender { (windows_core::Interface::vtable(self).SetTitle)(windows_core::Interface::as_raw(self), bstrtitle.param().abi()).ok() } pub unsafe fn ZipCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ZipCode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetZipCode(&self, bstrzipcode: P0) -> windows_core::Result<()> @@ -4648,38 +4648,38 @@ impl IFaxSender { #[repr(C)] pub struct IFaxSender_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub BillingCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBillingCode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Company: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCompany: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCountry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Department: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDepartment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Email: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEmail: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HomePhone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHomePhone: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OfficePhone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOfficePhone: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OfficeLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOfficeLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ZipCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetZipCode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BillingCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBillingCode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Company: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCompany: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Country: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCountry: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Department: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDepartment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Email: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEmail: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HomePhone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHomePhone: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OfficePhone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOfficePhone: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OfficeLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOfficeLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStreetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ZipCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetZipCode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub LoadDefaultSender: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveDefaultSender: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -4689,7 +4689,7 @@ windows_core::imp::define_interface!(IFaxServer, IFaxServer_Vtbl, 0x475b6469_90a impl std::ops::Deref for IFaxServer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4703,72 +4703,72 @@ impl IFaxServer { (windows_core::Interface::vtable(self).Connect)(windows_core::Interface::as_raw(self), bstrservername.param().abi()).ok() } pub unsafe fn ServerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDeviceProviders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceProviders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDevices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn InboundRouting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InboundRouting)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Folders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Folders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn LoggingOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoggingOptions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MajorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MajorBuild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorBuild)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinorBuild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorBuild)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Debug(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Debug)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Activity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Activity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutboundRouting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutboundRouting)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiptOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiptOptions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Disconnect(&self) -> windows_core::Result<()> { @@ -4778,7 +4778,7 @@ impl IFaxServer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionProperty)(windows_core::Interface::as_raw(self), bstrguid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExtensionProperty(&self, bstrguid: P0, vproperty: P1) -> windows_core::Result<()> @@ -4822,11 +4822,11 @@ impl IFaxServer { (windows_core::Interface::vtable(self).UnregisterInboundRoutingExtension)(windows_core::Interface::as_raw(self), bstrextensionuniquename.param().abi()).ok() } pub unsafe fn RegisteredEvents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisteredEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn APIVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).APIVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4834,8 +4834,8 @@ impl IFaxServer { #[repr(C)] pub struct IFaxServer_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetDeviceProviders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4878,13 +4878,13 @@ pub struct IFaxServer_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Security: usize, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExtensionProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ListenToServerEvents: unsafe extern "system" fn(*mut core::ffi::c_void, FAX_SERVER_EVENTS_TYPE_ENUM) -> windows_core::HRESULT, - pub RegisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub UnregisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RegisterInboundRoutingExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UnregisterInboundRoutingExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub UnregisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterInboundRoutingExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnregisterInboundRoutingExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RegisteredEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_SERVER_EVENTS_TYPE_ENUM) -> windows_core::HRESULT, pub APIVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_SERVER_APIVERSION_ENUM) -> windows_core::HRESULT, } @@ -4894,7 +4894,7 @@ windows_core::imp::define_interface!(IFaxServer2, IFaxServer2_Vtbl, 0x571ced0f_5 impl std::ops::Deref for IFaxServer2 { type Target = IFaxServer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4903,22 +4903,22 @@ windows_core::imp::interface_hierarchy!(IFaxServer2, windows_core::IUnknown, sup impl IFaxServer2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Configuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Configuration)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentAccount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAccount)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FaxAccountSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FaxAccountSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4949,7 +4949,7 @@ windows_core::imp::define_interface!(IFaxServerNotify, IFaxServerNotify_Vtbl, 0x impl std::ops::Deref for IFaxServerNotify { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4967,7 +4967,7 @@ windows_core::imp::define_interface!(IFaxServerNotify2, IFaxServerNotify2_Vtbl, impl std::ops::Deref for IFaxServerNotify2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5182,43 +5182,43 @@ impl IFaxServerNotify2 { pub struct IFaxServerNotify2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingJobAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnIncomingJobAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingJobAdded: usize, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingJobRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnIncomingJobRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingJobRemoved: usize, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingJobChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OnIncomingJobChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingJobChanged: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingJobAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnOutgoingJobAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingJobAdded: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingJobRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnOutgoingJobRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingJobRemoved: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingJobChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OnOutgoingJobChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingJobChanged: usize, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingMessageAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnIncomingMessageAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingMessageAdded: usize, #[cfg(feature = "Win32_System_Com")] - pub OnIncomingMessageRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnIncomingMessageRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnIncomingMessageRemoved: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingMessageAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnOutgoingMessageAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingMessageAdded: usize, #[cfg(feature = "Win32_System_Com")] - pub OnOutgoingMessageRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnOutgoingMessageRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnOutgoingMessageRemoved: usize, #[cfg(feature = "Win32_System_Com")] @@ -5270,7 +5270,7 @@ pub struct IFaxServerNotify2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnQueuesStatusChange: usize, #[cfg(feature = "Win32_System_Com")] - pub OnNewCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnNewCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnNewCall: usize, #[cfg(feature = "Win32_System_Com")] @@ -5290,7 +5290,7 @@ windows_core::imp::define_interface!(IStiDevice, IStiDevice_Vtbl, 0x6cfa5a80_2dc impl std::ops::Deref for IStiDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStiDevice, windows_core::IUnknown); @@ -5318,7 +5318,7 @@ impl IStiDevice { (windows_core::Interface::vtable(self).Escape)(windows_core::Interface::as_raw(self), escapefunction, lpindata, cbindatasize, poutdata, dwoutdatasize, pdwactualdata).ok() } pub unsafe fn GetLastError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LockDevice(&self, dwtimeout: u32) -> windows_core::Result<()> { @@ -5393,7 +5393,7 @@ windows_core::imp::define_interface!(IStiDeviceControl, IStiDeviceControl_Vtbl, impl std::ops::Deref for IStiDeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStiDeviceControl, windows_core::IUnknown); @@ -5473,7 +5473,7 @@ windows_core::imp::define_interface!(IStiUSD, IStiUSD_Vtbl, 0x0c9bb460_51ac_11d0 impl std::ops::Deref for IStiUSD { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStiUSD, windows_core::IUnknown); @@ -5487,7 +5487,7 @@ impl IStiUSD { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pheldcb.param().abi(), dwstiversion, hparameterskey.param().abi()).ok() } pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self, pdevstatus: *mut STI_DEVICE_STATUS) -> windows_core::Result<()> { @@ -5503,7 +5503,7 @@ impl IStiUSD { (windows_core::Interface::vtable(self).Escape)(windows_core::Interface::as_raw(self), escapefunction, lpindata, cbindatasize, poutdata, cboutdatasize, pdwactualdata).ok() } pub unsafe fn GetLastError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LockDevice(&self) -> windows_core::Result<()> { @@ -5580,7 +5580,7 @@ windows_core::imp::define_interface!(IStillImageW, IStillImageW_Vtbl, 0x641bd880 impl std::ops::Deref for IStillImageW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStillImageW, windows_core::IUnknown); @@ -5648,7 +5648,7 @@ impl IStillImageW { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHwNotificationState)(windows_core::Interface::as_raw(self), pwszdevicename.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RefreshDeviceBus(&self, pwszdevicename: P0) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs index 88acbebed1..39e648f611 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs @@ -514,7 +514,7 @@ impl IFunctionInstanceCollectionQuery_Vtbl { let this = (*this).get_impl(); IFunctionInstanceCollectionQuery_Impl::AddQueryConstraint(this, core::mem::transmute(&pszconstraintname), core::mem::transmute(&pszconstraintvalue)).into() } - unsafe extern "system" fn AddPropertyConstraint, Impl: IFunctionInstanceCollectionQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *const std::mem::MaybeUninit, enumpropertyconstraint: PropertyConstraint) -> windows_core::HRESULT { + unsafe extern "system" fn AddPropertyConstraint, Impl: IFunctionInstanceCollectionQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *const core::mem::MaybeUninit, enumpropertyconstraint: PropertyConstraint) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFunctionInstanceCollectionQuery_Impl::AddPropertyConstraint(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&pv), core::mem::transmute_copy(&enumpropertyconstraint)).into() @@ -752,7 +752,7 @@ impl IProviderProperties_Vtbl { let this = (*this).get_impl(); IProviderProperties_Impl::GetAt(this, windows_core::from_raw_borrowed(&pifunctioninstance), core::mem::transmute_copy(&iproviderinstancecontext), core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&pkey)).into() } - unsafe extern "system" fn GetValue, Impl: IProviderProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pifunctioninstance: *mut core::ffi::c_void, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IProviderProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pifunctioninstance: *mut core::ffi::c_void, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IProviderProperties_Impl::GetValue(this, windows_core::from_raw_borrowed(&pifunctioninstance), core::mem::transmute_copy(&iproviderinstancecontext), core::mem::transmute_copy(&key)) { @@ -763,7 +763,7 @@ impl IProviderProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IProviderProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pifunctioninstance: *mut core::ffi::c_void, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IProviderProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pifunctioninstance: *mut core::ffi::c_void, iproviderinstancecontext: isize, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProviderProperties_Impl::SetValue(this, windows_core::from_raw_borrowed(&pifunctioninstance), core::mem::transmute_copy(&iproviderinstancecontext), core::mem::transmute_copy(&key), core::mem::transmute_copy(&ppropvar)).into() @@ -805,17 +805,17 @@ impl IProviderPropertyConstraintCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Get, Impl: IProviderPropertyConstraintCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut std::mem::MaybeUninit, pdwpropertyconstraint: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Get, Impl: IProviderPropertyConstraintCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut core::mem::MaybeUninit, pdwpropertyconstraint: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProviderPropertyConstraintCollection_Impl::Get(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&ppropvar), core::mem::transmute_copy(&pdwpropertyconstraint)).into() } - unsafe extern "system" fn Item, Impl: IProviderPropertyConstraintCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut std::mem::MaybeUninit, pdwpropertyconstraint: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: IProviderPropertyConstraintCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut core::mem::MaybeUninit, pdwpropertyconstraint: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProviderPropertyConstraintCollection_Impl::Item(this, core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&pkey), core::mem::transmute_copy(&ppropvar), core::mem::transmute_copy(&pdwpropertyconstraint)).into() } - unsafe extern "system" fn Next, Impl: IProviderPropertyConstraintCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut std::mem::MaybeUninit, pdwpropertyconstraint: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IProviderPropertyConstraintCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, ppropvar: *mut core::mem::MaybeUninit, pdwpropertyconstraint: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProviderPropertyConstraintCollection_Impl::Next(this, core::mem::transmute_copy(&pkey), core::mem::transmute_copy(&ppropvar), core::mem::transmute_copy(&pdwpropertyconstraint)).into() 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 89848aafff..4e3afa200d 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IFunctionDiscovery, IFunctionDiscovery_Vtbl impl std::ops::Deref for IFunctionDiscovery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFunctionDiscovery, windows_core::IUnknown); @@ -13,7 +13,7 @@ impl IFunctionDiscovery { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstanceCollection)(windows_core::Interface::as_raw(self), pszcategory.param().abi(), pszsubcategory.param().abi(), fincludeallsubcategories.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -21,7 +21,7 @@ impl IFunctionDiscovery { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstance)(windows_core::Interface::as_raw(self), pszfunctioninstanceidentity.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInstanceCollectionQuery(&self, pszcategory: P0, pszsubcategory: P1, fincludeallsubcategories: P2, pifunctiondiscoverynotification: P3, pfdqcquerycontext: *mut u64) -> windows_core::Result @@ -31,7 +31,7 @@ impl IFunctionDiscovery { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstanceCollectionQuery)(windows_core::Interface::as_raw(self), pszcategory.param().abi(), pszsubcategory.param().abi(), fincludeallsubcategories.param().abi(), pifunctiondiscoverynotification.param().abi(), pfdqcquerycontext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInstanceQuery(&self, pszfunctioninstanceidentity: P0, pifunctiondiscoverynotification: P1, pfdqcquerycontext: *mut u64) -> windows_core::Result @@ -39,7 +39,7 @@ impl IFunctionDiscovery { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstanceQuery)(windows_core::Interface::as_raw(self), pszfunctioninstanceidentity.param().abi(), pifunctiondiscoverynotification.param().abi(), pfdqcquerycontext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -49,7 +49,7 @@ impl IFunctionDiscovery { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddInstance)(windows_core::Interface::as_raw(self), enumsystemvisibility, pszcategory.param().abi(), pszsubcategory.param().abi(), pszcategoryidentity.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveInstance(&self, enumsystemvisibility: SystemVisibilityFlags, pszcategory: P0, pszsubcategory: P1, pszcategoryidentity: P2) -> windows_core::Result<()> @@ -81,7 +81,7 @@ windows_core::imp::define_interface!(IFunctionDiscoveryNotification, IFunctionDi impl std::ops::Deref for IFunctionDiscoveryNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFunctionDiscoveryNotification, windows_core::IUnknown); @@ -120,7 +120,7 @@ windows_core::imp::define_interface!(IFunctionDiscoveryProvider, IFunctionDiscov impl std::ops::Deref for IFunctionDiscoveryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFunctionDiscoveryProvider, windows_core::IUnknown); @@ -130,14 +130,14 @@ impl IFunctionDiscoveryProvider { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pifunctiondiscoveryproviderfactory.param().abi(), pifunctiondiscoverynotification.param().abi(), lciduserdefault, &mut result__).map(|| result__) } pub unsafe fn Query(&self, pifunctiondiscoveryproviderquery: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Query)(windows_core::Interface::as_raw(self), pifunctiondiscoveryproviderquery.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EndQuery(&self) -> windows_core::Result<()> { @@ -155,7 +155,7 @@ impl IFunctionDiscoveryProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstancePropertyStoreOpen)(windows_core::Interface::as_raw(self), pifunctioninstance.param().abi(), iproviderinstancecontext, dwstgaccess, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -170,7 +170,7 @@ impl IFunctionDiscoveryProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstanceQueryService)(windows_core::Interface::as_raw(self), pifunctioninstance.param().abi(), iproviderinstancecontext, guidservice, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -212,14 +212,14 @@ windows_core::imp::define_interface!(IFunctionDiscoveryProviderFactory, IFunctio impl std::ops::Deref for IFunctionDiscoveryProviderFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFunctionDiscoveryProviderFactory, windows_core::IUnknown); impl IFunctionDiscoveryProviderFactory { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn CreatePropertyStore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePropertyStore)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -230,11 +230,11 @@ impl IFunctionDiscoveryProviderFactory { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), pszsubcategory.param().abi(), pszproviderinstanceidentity.param().abi(), iproviderinstancecontext, pipropertystore.param().abi(), pifunctiondiscoveryprovider.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFunctionInstanceCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFunctionInstanceCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -255,7 +255,7 @@ windows_core::imp::define_interface!(IFunctionDiscoveryProviderQuery, IFunctionD impl std::ops::Deref for IFunctionDiscoveryProviderQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFunctionDiscoveryProviderQuery, windows_core::IUnknown); @@ -267,11 +267,11 @@ impl IFunctionDiscoveryProviderQuery { (windows_core::Interface::vtable(self).IsSubcategoryQuery)(windows_core::Interface::as_raw(self), pissubcategoryquery, ppszconstraintvalue).ok() } pub unsafe fn GetQueryConstraints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQueryConstraints)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyConstraints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyConstraints)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -287,7 +287,7 @@ windows_core::imp::define_interface!(IFunctionDiscoveryServiceProvider, IFunctio impl std::ops::Deref for IFunctionDiscoveryServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFunctionDiscoveryServiceProvider, windows_core::IUnknown); @@ -316,7 +316,7 @@ windows_core::imp::define_interface!(IFunctionInstance, IFunctionInstance_Vtbl, impl std::ops::Deref for IFunctionInstance { type Target = super::super::System::Com::IServiceProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -324,16 +324,16 @@ windows_core::imp::interface_hierarchy!(IFunctionInstance, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IFunctionInstance { pub unsafe fn GetID(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProviderInstanceID(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderInstanceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn OpenPropertyStore(&self, dwstgaccess: super::super::System::Com::STGM) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenPropertyStore)(windows_core::Interface::as_raw(self), dwstgaccess, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCategory(&self, ppszcomemcategory: *mut *mut u16, ppszcomemsubcategory: *mut *mut u16) -> windows_core::Result<()> { @@ -356,13 +356,13 @@ windows_core::imp::define_interface!(IFunctionInstanceCollection, IFunctionInsta impl std::ops::Deref for IFunctionInstanceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFunctionInstanceCollection, windows_core::IUnknown); impl IFunctionInstanceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -370,12 +370,12 @@ impl IFunctionInstanceCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), pszinstanceidentity.param().abi(), pdwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -387,7 +387,7 @@ impl IFunctionInstanceCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Remove(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, dwindex: u32) -> windows_core::Result<()> { @@ -424,7 +424,7 @@ windows_core::imp::define_interface!(IFunctionInstanceCollectionQuery, IFunction impl std::ops::Deref for IFunctionInstanceCollectionQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFunctionInstanceCollectionQuery, windows_core::IUnknown); @@ -441,7 +441,7 @@ impl IFunctionInstanceCollectionQuery { (windows_core::Interface::vtable(self).AddPropertyConstraint)(windows_core::Interface::as_raw(self), key, core::mem::transmute(pv), enumpropertyconstraint).ok() } pub unsafe fn Execute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Execute)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -450,7 +450,7 @@ pub struct IFunctionInstanceCollectionQuery_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddQueryConstraint: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub AddPropertyConstraint: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit, PropertyConstraint) -> windows_core::HRESULT, + pub AddPropertyConstraint: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit, PropertyConstraint) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] AddPropertyConstraint: usize, pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -459,14 +459,14 @@ windows_core::imp::define_interface!(IFunctionInstanceQuery, IFunctionInstanceQu impl std::ops::Deref for IFunctionInstanceQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFunctionInstanceQuery, windows_core::IUnknown); impl IFunctionInstanceQuery { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Execute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Execute)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -482,7 +482,7 @@ windows_core::imp::define_interface!(IPNPXAssociation, IPNPXAssociation_Vtbl, 0x impl std::ops::Deref for IPNPXAssociation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPNPXAssociation, windows_core::IUnknown); @@ -517,7 +517,7 @@ windows_core::imp::define_interface!(IPNPXDeviceAssociation, IPNPXDeviceAssociat impl std::ops::Deref for IPNPXDeviceAssociation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPNPXDeviceAssociation, windows_core::IUnknown); @@ -555,13 +555,13 @@ windows_core::imp::define_interface!(IPropertyStoreCollection, IPropertyStoreCol impl std::ops::Deref for IPropertyStoreCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyStoreCollection, windows_core::IUnknown); impl IPropertyStoreCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -569,12 +569,12 @@ impl IPropertyStoreCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), pszinstanceidentity.param().abi(), pdwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Item(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -586,7 +586,7 @@ impl IPropertyStoreCollection { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Remove(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, dwindex: u32) -> windows_core::Result<()> { @@ -623,7 +623,7 @@ windows_core::imp::define_interface!(IProviderProperties, IProviderProperties_Vt impl std::ops::Deref for IProviderProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProviderProperties, windows_core::IUnknown); @@ -633,7 +633,7 @@ impl IProviderProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), pifunctioninstance.param().abi(), iproviderinstancecontext, &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -648,7 +648,7 @@ impl IProviderProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), pifunctioninstance.param().abi(), iproviderinstancecontext, key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -671,11 +671,11 @@ pub struct IProviderProperties_Vtbl { #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem")))] GetAt: usize, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, isize, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, isize, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem")))] GetValue: usize, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, isize, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, isize, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem")))] SetValue: usize, } @@ -683,13 +683,13 @@ windows_core::imp::define_interface!(IProviderPropertyConstraintCollection, IPro impl std::ops::Deref for IProviderPropertyConstraintCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProviderPropertyConstraintCollection, windows_core::IUnknown); impl IProviderPropertyConstraintCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -716,15 +716,15 @@ pub struct IProviderPropertyConstraintCollection_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Get: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Item: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Next: usize, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -734,7 +734,7 @@ windows_core::imp::define_interface!(IProviderPublishing, IProviderPublishing_Vt impl std::ops::Deref for IProviderPublishing { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProviderPublishing, windows_core::IUnknown); @@ -745,7 +745,7 @@ impl IProviderPublishing { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), enumvisibilityflags, pszsubcategory.param().abi(), pszproviderinstanceidentity.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveInstance(&self, enumvisibilityflags: SystemVisibilityFlags, pszsubcategory: P0, pszproviderinstanceidentity: P1) -> windows_core::Result<()> @@ -769,20 +769,20 @@ windows_core::imp::define_interface!(IProviderQueryConstraintCollection, IProvid impl std::ops::Deref for IProviderQueryConstraintCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProviderQueryConstraintCollection, windows_core::IUnknown); impl IProviderQueryConstraintCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Get(&self, pszconstraintname: P0) -> windows_core::Result<*mut u16> where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), pszconstraintname.param().abi(), &mut result__).map(|| 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/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs index d3cfcb42b6..d8c1a24b3f 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs @@ -13,7 +13,7 @@ impl windows_core::RuntimeName for ICivicAddressReport {} #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl ICivicAddressReport_Vtbl { pub const fn new, Impl: ICivicAddressReport_Impl, const OFFSET: isize>() -> ICivicAddressReport_Vtbl { - unsafe extern "system" fn GetAddressLine1, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstraddress1: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAddressLine1, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstraddress1: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetAddressLine1(this) { @@ -24,7 +24,7 @@ impl ICivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAddressLine2, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstraddress2: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAddressLine2, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstraddress2: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetAddressLine2(this) { @@ -35,7 +35,7 @@ impl ICivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCity, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcity: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCity, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcity: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetCity(this) { @@ -46,7 +46,7 @@ impl ICivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStateProvince, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstateprovince: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStateProvince, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstateprovince: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetStateProvince(this) { @@ -57,7 +57,7 @@ impl ICivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPostalCode, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpostalcode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPostalCode, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpostalcode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetPostalCode(this) { @@ -68,7 +68,7 @@ impl ICivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCountryRegion, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcountryregion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCountryRegion, Impl: ICivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcountryregion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICivicAddressReport_Impl::GetCountryRegion(this) { @@ -180,7 +180,7 @@ impl windows_core::RuntimeName for IDispCivicAddressReport {} #[cfg(feature = "Win32_System_Com")] impl IDispCivicAddressReport_Vtbl { pub const fn new, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>() -> IDispCivicAddressReport_Vtbl { - unsafe extern "system" fn AddressLine1, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddress1: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddressLine1, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddress1: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::AddressLine1(this) { @@ -191,7 +191,7 @@ impl IDispCivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddressLine2, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddress2: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddressLine2, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddress2: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::AddressLine2(this) { @@ -202,7 +202,7 @@ impl IDispCivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn City, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcity: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn City, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcity: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::City(this) { @@ -213,7 +213,7 @@ impl IDispCivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StateProvince, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstateprovince: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StateProvince, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstateprovince: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::StateProvince(this) { @@ -224,7 +224,7 @@ impl IDispCivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PostalCode, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppostalcode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PostalCode, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppostalcode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::PostalCode(this) { @@ -235,7 +235,7 @@ impl IDispCivicAddressReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CountryRegion, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcountryregion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CountryRegion, Impl: IDispCivicAddressReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcountryregion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispCivicAddressReport_Impl::CountryRegion(this) { @@ -675,7 +675,7 @@ impl ILocationReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: ILocationReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: ILocationReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILocationReport_Impl::GetValue(this, core::mem::transmute_copy(&pkey)) { 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 2e05559c88..548c0e576c 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs @@ -2,49 +2,49 @@ windows_core::imp::define_interface!(ICivicAddressReport, ICivicAddressReport_Vt impl std::ops::Deref for ICivicAddressReport { type Target = ILocationReport; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICivicAddressReport, windows_core::IUnknown, ILocationReport); impl ICivicAddressReport { pub unsafe fn GetAddressLine1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAddressLine1)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAddressLine2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAddressLine2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStateProvince(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStateProvince)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPostalCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPostalCode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCountryRegion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountryRegion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDetailLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDetailLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct ICivicAddressReport_Vtbl { pub base__: ILocationReport_Vtbl, - pub GetAddressLine1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAddressLine2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetStateProvince: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCountryRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAddressLine1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAddressLine2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStateProvince: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCountryRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDetailLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -53,7 +53,7 @@ windows_core::imp::define_interface!(ICivicAddressReportFactory, ICivicAddressRe impl std::ops::Deref for ICivicAddressReportFactory { type Target = ILocationReportFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -62,7 +62,7 @@ windows_core::imp::interface_hierarchy!(ICivicAddressReportFactory, windows_core impl ICivicAddressReportFactory { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CivicAddressReport(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CivicAddressReport)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -79,7 +79,7 @@ windows_core::imp::define_interface!(IDefaultLocation, IDefaultLocation_Vtbl, 0x impl std::ops::Deref for IDefaultLocation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDefaultLocation, windows_core::IUnknown); @@ -91,7 +91,7 @@ impl IDefaultLocation { (windows_core::Interface::vtable(self).SetReport)(windows_core::Interface::as_raw(self), reporttype, plocationreport.param().abi()).ok() } pub unsafe fn GetReport(&self, reporttype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReport)(windows_core::Interface::as_raw(self), reporttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -107,7 +107,7 @@ windows_core::imp::define_interface!(IDispCivicAddressReport, IDispCivicAddressR impl std::ops::Deref for IDispCivicAddressReport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -115,35 +115,35 @@ windows_core::imp::interface_hierarchy!(IDispCivicAddressReport, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IDispCivicAddressReport { pub unsafe fn AddressLine1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddressLine1)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddressLine2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddressLine2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn City(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).City)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StateProvince(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StateProvince)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PostalCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalCode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CountryRegion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryRegion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DetailLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DetailLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Timestamp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Timestamp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -151,12 +151,12 @@ impl IDispCivicAddressReport { #[repr(C)] pub struct IDispCivicAddressReport_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub AddressLine1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddressLine2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StateProvince: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CountryRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddressLine1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddressLine2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub City: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StateProvince: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CountryRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DetailLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } @@ -166,7 +166,7 @@ windows_core::imp::define_interface!(IDispLatLongReport, IDispLatLongReport_Vtbl impl std::ops::Deref for IDispLatLongReport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -174,27 +174,27 @@ windows_core::imp::interface_hierarchy!(IDispLatLongReport, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IDispLatLongReport { pub unsafe fn Latitude(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Latitude)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Longitude(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Longitude)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ErrorRadius(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ErrorRadius)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Altitude(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Altitude)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AltitudeError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AltitudeError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Timestamp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Timestamp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -213,29 +213,29 @@ windows_core::imp::define_interface!(ILatLongReport, ILatLongReport_Vtbl, 0x7fed impl std::ops::Deref for ILatLongReport { type Target = ILocationReport; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILatLongReport, windows_core::IUnknown, ILocationReport); impl ILatLongReport { pub unsafe fn GetLatitude(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLatitude)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLongitude(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLongitude)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetErrorRadius(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorRadius)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAltitude(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAltitude)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAltitudeError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAltitudeError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -254,7 +254,7 @@ windows_core::imp::define_interface!(ILatLongReportFactory, ILatLongReportFactor impl std::ops::Deref for ILatLongReportFactory { type Target = ILocationReportFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -263,7 +263,7 @@ windows_core::imp::interface_hierarchy!(ILatLongReportFactory, windows_core::IUn impl ILatLongReportFactory { #[cfg(feature = "Win32_System_Com")] pub unsafe fn LatLongReport(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LatLongReport)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -280,7 +280,7 @@ windows_core::imp::define_interface!(ILocation, ILocation_Vtbl, 0xab2ece69_56d9_ impl std::ops::Deref for ILocation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILocation, windows_core::IUnknown); @@ -295,15 +295,15 @@ impl ILocation { (windows_core::Interface::vtable(self).UnregisterForReport)(windows_core::Interface::as_raw(self), reporttype).ok() } pub unsafe fn GetReport(&self, reporttype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReport)(windows_core::Interface::as_raw(self), reporttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetReportStatus(&self, reporttype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReportStatus)(windows_core::Interface::as_raw(self), reporttype, &mut result__).map(|| result__) } pub unsafe fn GetReportInterval(&self, reporttype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReportInterval)(windows_core::Interface::as_raw(self), reporttype, &mut result__).map(|| result__) } pub unsafe fn SetReportInterval(&self, reporttype: *const windows_core::GUID, millisecondsrequested: u32) -> windows_core::Result<()> { @@ -311,7 +311,7 @@ impl ILocation { } #[cfg(feature = "Win32_Devices_Sensors")] pub unsafe fn GetDesiredAccuracy(&self, reporttype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesiredAccuracy)(windows_core::Interface::as_raw(self), reporttype, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Devices_Sensors")] @@ -349,7 +349,7 @@ windows_core::imp::define_interface!(ILocationEvents, ILocationEvents_Vtbl, 0xca impl std::ops::Deref for ILocationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILocationEvents, windows_core::IUnknown); @@ -374,7 +374,7 @@ windows_core::imp::define_interface!(ILocationPower, ILocationPower_Vtbl, 0x193e impl std::ops::Deref for ILocationPower { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILocationPower, windows_core::IUnknown); @@ -396,22 +396,22 @@ windows_core::imp::define_interface!(ILocationReport, ILocationReport_Vtbl, 0xc8 impl std::ops::Deref for ILocationReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILocationReport, windows_core::IUnknown); impl ILocationReport { pub unsafe fn GetSensorID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTimestamp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimestamp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), pkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -421,7 +421,7 @@ pub struct ILocationReport_Vtbl { pub GetSensorID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetValue: usize, } @@ -431,7 +431,7 @@ windows_core::imp::define_interface!(ILocationReportFactory, ILocationReportFact impl std::ops::Deref for ILocationReportFactory { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -445,18 +445,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReportInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredAccuracy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDesiredAccuracy(&self, desiredaccuracy: u32) -> windows_core::Result<()> { @@ -485,7 +485,7 @@ windows_core::imp::define_interface!(_ICivicAddressReportFactoryEvents, _ICivicA impl std::ops::Deref for _ICivicAddressReportFactoryEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -503,7 +503,7 @@ windows_core::imp::define_interface!(_ILatLongReportFactoryEvents, _ILatLongRepo impl std::ops::Deref for _ILatLongReportFactoryEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs index 1eb4115a0c..f033f327b5 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs @@ -50,7 +50,7 @@ where #[inline] pub unsafe fn HidD_GetHidGuid() -> windows_core::GUID { windows_targets::link!("hid.dll" "system" fn HidD_GetHidGuid(hidguid : *mut windows_core::GUID)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HidD_GetHidGuid(&mut result__); result__ } @@ -369,7 +369,7 @@ windows_core::imp::define_interface!(IDirectInput2A, IDirectInput2A_Vtbl, 0x5944 impl std::ops::Deref for IDirectInput2A { type Target = IDirectInputA; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInput2A, windows_core::IUnknown, IDirectInputA); @@ -390,7 +390,7 @@ windows_core::imp::define_interface!(IDirectInput2W, IDirectInput2W_Vtbl, 0x5944 impl std::ops::Deref for IDirectInput2W { type Target = IDirectInputW; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInput2W, windows_core::IUnknown, IDirectInputW); @@ -411,7 +411,7 @@ windows_core::imp::define_interface!(IDirectInput7A, IDirectInput7A_Vtbl, 0x9a4c impl std::ops::Deref for IDirectInput7A { type Target = IDirectInput2A; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInput7A, windows_core::IUnknown, IDirectInputA, IDirectInput2A); @@ -432,7 +432,7 @@ windows_core::imp::define_interface!(IDirectInput7W, IDirectInput7W_Vtbl, 0x9a4c impl std::ops::Deref for IDirectInput7W { type Target = IDirectInput2W; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInput7W, windows_core::IUnknown, IDirectInputW, IDirectInput2W); @@ -453,7 +453,7 @@ windows_core::imp::define_interface!(IDirectInput8A, IDirectInput8A_Vtbl, 0xbf79 impl std::ops::Deref for IDirectInput8A { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInput8A, windows_core::IUnknown); @@ -514,7 +514,7 @@ windows_core::imp::define_interface!(IDirectInput8W, IDirectInput8W_Vtbl, 0xbf79 impl std::ops::Deref for IDirectInput8W { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInput8W, windows_core::IUnknown); @@ -575,7 +575,7 @@ windows_core::imp::define_interface!(IDirectInputA, IDirectInputA_Vtbl, 0x895213 impl std::ops::Deref for IDirectInputA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputA, windows_core::IUnknown); @@ -618,7 +618,7 @@ windows_core::imp::define_interface!(IDirectInputDevice2A, IDirectInputDevice2A_ impl std::ops::Deref for IDirectInputDevice2A { type Target = IDirectInputDeviceA; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputDevice2A, windows_core::IUnknown, IDirectInputDeviceA); @@ -671,7 +671,7 @@ windows_core::imp::define_interface!(IDirectInputDevice2W, IDirectInputDevice2W_ impl std::ops::Deref for IDirectInputDevice2W { type Target = IDirectInputDeviceW; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputDevice2W, windows_core::IUnknown, IDirectInputDeviceW); @@ -724,7 +724,7 @@ windows_core::imp::define_interface!(IDirectInputDevice7A, IDirectInputDevice7A_ impl std::ops::Deref for IDirectInputDevice7A { type Target = IDirectInputDevice2A; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputDevice7A, windows_core::IUnknown, IDirectInputDeviceA, IDirectInputDevice2A); @@ -752,7 +752,7 @@ windows_core::imp::define_interface!(IDirectInputDevice7W, IDirectInputDevice7W_ impl std::ops::Deref for IDirectInputDevice7W { type Target = IDirectInputDevice2W; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputDevice7W, windows_core::IUnknown, IDirectInputDeviceW, IDirectInputDevice2W); @@ -780,7 +780,7 @@ windows_core::imp::define_interface!(IDirectInputDevice8A, IDirectInputDevice8A_ impl std::ops::Deref for IDirectInputDevice8A { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputDevice8A, windows_core::IUnknown); @@ -937,7 +937,7 @@ windows_core::imp::define_interface!(IDirectInputDevice8W, IDirectInputDevice8W_ impl std::ops::Deref for IDirectInputDevice8W { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputDevice8W, windows_core::IUnknown); @@ -1094,7 +1094,7 @@ windows_core::imp::define_interface!(IDirectInputDeviceA, IDirectInputDeviceA_Vt impl std::ops::Deref for IDirectInputDeviceA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputDeviceA, windows_core::IUnknown); @@ -1180,7 +1180,7 @@ windows_core::imp::define_interface!(IDirectInputDeviceW, IDirectInputDeviceW_Vt impl std::ops::Deref for IDirectInputDeviceW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputDeviceW, windows_core::IUnknown); @@ -1266,7 +1266,7 @@ windows_core::imp::define_interface!(IDirectInputEffect, IDirectInputEffect_Vtbl impl std::ops::Deref for IDirectInputEffect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputEffect, windows_core::IUnknown); @@ -1323,7 +1323,7 @@ windows_core::imp::define_interface!(IDirectInputEffectDriver, IDirectInputEffec impl std::ops::Deref for IDirectInputEffectDriver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputEffectDriver, windows_core::IUnknown); @@ -1381,7 +1381,7 @@ windows_core::imp::define_interface!(IDirectInputJoyConfig, IDirectInputJoyConfi impl std::ops::Deref for IDirectInputJoyConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputJoyConfig, windows_core::IUnknown); @@ -1485,7 +1485,7 @@ windows_core::imp::define_interface!(IDirectInputJoyConfig8, IDirectInputJoyConf impl std::ops::Deref for IDirectInputJoyConfig8 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputJoyConfig8, windows_core::IUnknown); @@ -1590,7 +1590,7 @@ windows_core::imp::define_interface!(IDirectInputW, IDirectInputW_Vtbl, 0x895213 impl std::ops::Deref for IDirectInputW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectInputW, windows_core::IUnknown); @@ -4357,7 +4357,7 @@ pub struct DICONFIGUREDEVICESPARAMSA { pub lprgFormats: *mut DIACTIONFORMATA, pub hwnd: super::super::Foundation::HWND, pub dics: DICOLORSET, - pub lpUnkDDSTarget: std::mem::ManuallyDrop>, + pub lpUnkDDSTarget: core::mem::ManuallyDrop>, } impl Clone for DICONFIGUREDEVICESPARAMSA { fn clone(&self) -> Self { @@ -4382,7 +4382,7 @@ pub struct DICONFIGUREDEVICESPARAMSW { pub lprgFormats: *mut DIACTIONFORMATW, pub hwnd: super::super::Foundation::HWND, pub dics: DICOLORSET, - pub lpUnkDDSTarget: std::mem::ManuallyDrop>, + pub lpUnkDDSTarget: core::mem::ManuallyDrop>, } impl Clone for DICONFIGUREDEVICESPARAMSW { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs index a1443f0fae..07b51b158f 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs @@ -430,7 +430,7 @@ impl IWiaDevMgr_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateDevice, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceid: std::mem::MaybeUninit, ppwiaitemroot: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateDevice, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceid: core::mem::MaybeUninit, ppwiaitemroot: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaDevMgr_Impl::CreateDevice(this, core::mem::transmute(&bstrdeviceid)) { @@ -441,27 +441,27 @@ impl IWiaDevMgr_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SelectDeviceDlg, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut std::mem::MaybeUninit, ppitemroot: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SelectDeviceDlg, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut core::mem::MaybeUninit, ppitemroot: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr_Impl::SelectDeviceDlg(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&ldevicetype), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pbstrdeviceid), core::mem::transmute_copy(&ppitemroot)).into() } - unsafe extern "system" fn SelectDeviceDlgID, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelectDeviceDlgID, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr_Impl::SelectDeviceDlgID(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&ldevicetype), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pbstrdeviceid)).into() } - unsafe extern "system" fn GetImageDlg, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, lintent: i32, pitemroot: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit, pguidformat: *mut windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn GetImageDlg, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, lintent: i32, pitemroot: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit, pguidformat: *mut windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr_Impl::GetImageDlg(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&ldevicetype), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&lintent), windows_core::from_raw_borrowed(&pitemroot), core::mem::transmute(&bstrfilename), core::mem::transmute_copy(&pguidformat)).into() } - unsafe extern "system" fn RegisterEventCallbackProgram, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: std::mem::MaybeUninit, peventguid: *const windows_core::GUID, bstrcommandline: std::mem::MaybeUninit, bstrname: std::mem::MaybeUninit, bstrdescription: std::mem::MaybeUninit, bstricon: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterEventCallbackProgram, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: core::mem::MaybeUninit, peventguid: *const windows_core::GUID, bstrcommandline: core::mem::MaybeUninit, bstrname: core::mem::MaybeUninit, bstrdescription: core::mem::MaybeUninit, bstricon: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr_Impl::RegisterEventCallbackProgram(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&peventguid), core::mem::transmute(&bstrcommandline), core::mem::transmute(&bstrname), core::mem::transmute(&bstrdescription), core::mem::transmute(&bstricon)).into() } - unsafe extern "system" fn RegisterEventCallbackInterface, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: std::mem::MaybeUninit, peventguid: *const windows_core::GUID, piwiaeventcallback: *mut core::ffi::c_void, peventobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterEventCallbackInterface, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: core::mem::MaybeUninit, peventguid: *const windows_core::GUID, piwiaeventcallback: *mut core::ffi::c_void, peventobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaDevMgr_Impl::RegisterEventCallbackInterface(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&peventguid), windows_core::from_raw_borrowed(&piwiaeventcallback)) { @@ -472,7 +472,7 @@ impl IWiaDevMgr_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterEventCallbackCLSID, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: std::mem::MaybeUninit, peventguid: *const windows_core::GUID, pclsid: *const windows_core::GUID, bstrname: std::mem::MaybeUninit, bstrdescription: std::mem::MaybeUninit, bstricon: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterEventCallbackCLSID, Impl: IWiaDevMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: core::mem::MaybeUninit, peventguid: *const windows_core::GUID, pclsid: *const windows_core::GUID, bstrname: core::mem::MaybeUninit, bstrdescription: core::mem::MaybeUninit, bstricon: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr_Impl::RegisterEventCallbackCLSID(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&peventguid), core::mem::transmute_copy(&pclsid), core::mem::transmute(&bstrname), core::mem::transmute(&bstrdescription), core::mem::transmute(&bstricon)).into() @@ -523,7 +523,7 @@ impl IWiaDevMgr2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateDevice, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: std::mem::MaybeUninit, ppwiaitem2root: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateDevice, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: core::mem::MaybeUninit, ppwiaitem2root: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaDevMgr2_Impl::CreateDevice(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid)) { @@ -534,17 +534,17 @@ impl IWiaDevMgr2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SelectDeviceDlg, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut std::mem::MaybeUninit, ppitemroot: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SelectDeviceDlg, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut core::mem::MaybeUninit, ppitemroot: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr2_Impl::SelectDeviceDlg(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&ldevicetype), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pbstrdeviceid), core::mem::transmute_copy(&ppitemroot)).into() } - unsafe extern "system" fn SelectDeviceDlgID, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelectDeviceDlgID, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr2_Impl::SelectDeviceDlgID(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&ldevicetype), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pbstrdeviceid)).into() } - unsafe extern "system" fn RegisterEventCallbackInterface, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: std::mem::MaybeUninit, peventguid: *const windows_core::GUID, piwiaeventcallback: *mut core::ffi::c_void, peventobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterEventCallbackInterface, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: core::mem::MaybeUninit, peventguid: *const windows_core::GUID, piwiaeventcallback: *mut core::ffi::c_void, peventobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaDevMgr2_Impl::RegisterEventCallbackInterface(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&peventguid), windows_core::from_raw_borrowed(&piwiaeventcallback)) { @@ -555,17 +555,17 @@ impl IWiaDevMgr2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterEventCallbackProgram, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: std::mem::MaybeUninit, peventguid: *const windows_core::GUID, bstrfullappname: std::mem::MaybeUninit, bstrcommandlinearg: std::mem::MaybeUninit, bstrname: std::mem::MaybeUninit, bstrdescription: std::mem::MaybeUninit, bstricon: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterEventCallbackProgram, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: core::mem::MaybeUninit, peventguid: *const windows_core::GUID, bstrfullappname: core::mem::MaybeUninit, bstrcommandlinearg: core::mem::MaybeUninit, bstrname: core::mem::MaybeUninit, bstrdescription: core::mem::MaybeUninit, bstricon: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr2_Impl::RegisterEventCallbackProgram(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&peventguid), core::mem::transmute(&bstrfullappname), core::mem::transmute(&bstrcommandlinearg), core::mem::transmute(&bstrname), core::mem::transmute(&bstrdescription), core::mem::transmute(&bstricon)).into() } - unsafe extern "system" fn RegisterEventCallbackCLSID, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: std::mem::MaybeUninit, peventguid: *const windows_core::GUID, pclsid: *const windows_core::GUID, bstrname: std::mem::MaybeUninit, bstrdescription: std::mem::MaybeUninit, bstricon: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterEventCallbackCLSID, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: core::mem::MaybeUninit, peventguid: *const windows_core::GUID, pclsid: *const windows_core::GUID, bstrname: core::mem::MaybeUninit, bstrdescription: core::mem::MaybeUninit, bstricon: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr2_Impl::RegisterEventCallbackCLSID(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&peventguid), core::mem::transmute_copy(&pclsid), core::mem::transmute(&bstrname), core::mem::transmute(&bstrdescription), core::mem::transmute(&bstricon)).into() } - unsafe extern "system" fn GetImageDlg, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: std::mem::MaybeUninit, hwndparent: super::super::Foundation::HWND, bstrfoldername: std::mem::MaybeUninit, bstrfilename: std::mem::MaybeUninit, plnumfiles: *mut i32, ppbstrfilepaths: *mut *mut windows_core::BSTR, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetImageDlg, Impl: IWiaDevMgr2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrdeviceid: core::mem::MaybeUninit, hwndparent: super::super::Foundation::HWND, bstrfoldername: core::mem::MaybeUninit, bstrfilename: core::mem::MaybeUninit, plnumfiles: *mut i32, ppbstrfilepaths: *mut *mut windows_core::BSTR, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaDevMgr2_Impl::GetImageDlg(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&hwndparent), core::mem::transmute(&bstrfoldername), core::mem::transmute(&bstrfilename), core::mem::transmute_copy(&plnumfiles), core::mem::transmute_copy(&ppbstrfilepaths), core::mem::transmute_copy(&ppitem)).into() @@ -626,7 +626,7 @@ impl IWiaDrvItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFullItemName, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0002: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFullItemName, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0002: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaDrvItem_Impl::GetFullItemName(this) { @@ -637,7 +637,7 @@ impl IWiaDrvItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetItemName, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0003: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemName, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0003: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaDrvItem_Impl::GetItemName(this) { @@ -663,7 +663,7 @@ impl IWiaDrvItem_Vtbl { let this = (*this).get_impl(); IWiaDrvItem_Impl::RemoveItemFromFolder(this, core::mem::transmute_copy(&__midl__iwiadrvitem0006)).into() } - unsafe extern "system" fn FindItemByName, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0007: i32, __midl__iwiadrvitem0008: std::mem::MaybeUninit, __midl__iwiadrvitem0009: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindItemByName, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0007: i32, __midl__iwiadrvitem0008: core::mem::MaybeUninit, __midl__iwiadrvitem0009: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaDrvItem_Impl::FindItemByName(this, core::mem::transmute_copy(&__midl__iwiadrvitem0007), core::mem::transmute(&__midl__iwiadrvitem0008)) { @@ -674,7 +674,7 @@ impl IWiaDrvItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindChildItemByName, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0010: std::mem::MaybeUninit, __midl__iwiadrvitem0011: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindChildItemByName, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0010: core::mem::MaybeUninit, __midl__iwiadrvitem0011: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaDrvItem_Impl::FindChildItemByName(this, core::mem::transmute(&__midl__iwiadrvitem0010)) { @@ -718,7 +718,7 @@ impl IWiaDrvItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DumpItemData, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0015: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DumpItemData, Impl: IWiaDrvItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiadrvitem0015: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaDrvItem_Impl::DumpItemData(this) { @@ -762,7 +762,7 @@ impl IWiaErrorHandler_Vtbl { let this = (*this).get_impl(); IWiaErrorHandler_Impl::ReportStatus(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&hwndparent), windows_core::from_raw_borrowed(&pwiaitem2), core::mem::transmute_copy(&hrstatus), core::mem::transmute_copy(&lpercentcomplete)).into() } - unsafe extern "system" fn GetStatusDescription, Impl: IWiaErrorHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pwiaitem2: *mut core::ffi::c_void, hrstatus: windows_core::HRESULT, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStatusDescription, Impl: IWiaErrorHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pwiaitem2: *mut core::ffi::c_void, hrstatus: windows_core::HRESULT, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaErrorHandler_Impl::GetStatusDescription(this, core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pwiaitem2), core::mem::transmute_copy(&hrstatus)) { @@ -789,7 +789,7 @@ pub trait IWiaEventCallback_Impl: Sized { impl windows_core::RuntimeName for IWiaEventCallback {} impl IWiaEventCallback_Vtbl { pub const fn new, Impl: IWiaEventCallback_Impl, const OFFSET: isize>() -> IWiaEventCallback_Vtbl { - unsafe extern "system" fn ImageEventCallback, Impl: IWiaEventCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peventguid: *const windows_core::GUID, bstreventdescription: std::mem::MaybeUninit, bstrdeviceid: std::mem::MaybeUninit, bstrdevicedescription: std::mem::MaybeUninit, dwdevicetype: u32, bstrfullitemname: std::mem::MaybeUninit, puleventtype: *mut u32, ulreserved: u32) -> windows_core::HRESULT { + unsafe extern "system" fn ImageEventCallback, Impl: IWiaEventCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peventguid: *const windows_core::GUID, bstreventdescription: core::mem::MaybeUninit, bstrdeviceid: core::mem::MaybeUninit, bstrdevicedescription: core::mem::MaybeUninit, dwdevicetype: u32, bstrfullitemname: core::mem::MaybeUninit, puleventtype: *mut u32, ulreserved: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaEventCallback_Impl::ImageEventCallback(this, core::mem::transmute_copy(&peventguid), core::mem::transmute(&bstreventdescription), core::mem::transmute(&bstrdeviceid), core::mem::transmute(&bstrdevicedescription), core::mem::transmute_copy(&dwdevicetype), core::mem::transmute(&bstrfullitemname), core::mem::transmute_copy(&puleventtype), core::mem::transmute_copy(&ulreserved)).into() @@ -896,7 +896,7 @@ impl IWiaItem_Vtbl { let this = (*this).get_impl(); IWiaItem_Impl::DeleteItem(this, core::mem::transmute_copy(&lflags)).into() } - unsafe extern "system" fn CreateChildItem, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstritemname: std::mem::MaybeUninit, bstrfullitemname: std::mem::MaybeUninit, ppiwiaitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateChildItem, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstritemname: core::mem::MaybeUninit, bstrfullitemname: core::mem::MaybeUninit, ppiwiaitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaItem_Impl::CreateChildItem(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstritemname), core::mem::transmute(&bstrfullitemname)) { @@ -918,7 +918,7 @@ impl IWiaItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindItemByName, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrfullitemname: std::mem::MaybeUninit, ppiwiaitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindItemByName, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrfullitemname: core::mem::MaybeUninit, ppiwiaitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaItem_Impl::FindItemByName(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrfullitemname)) { @@ -961,7 +961,7 @@ impl IWiaItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DumpItemData, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DumpItemData, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaItem_Impl::DumpItemData(this) { @@ -972,7 +972,7 @@ impl IWiaItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DumpDrvItemData, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DumpDrvItemData, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaItem_Impl::DumpDrvItemData(this) { @@ -983,7 +983,7 @@ impl IWiaItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DumpTreeItemData, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DumpTreeItemData, Impl: IWiaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaItem_Impl::DumpTreeItemData(this) { @@ -1043,7 +1043,7 @@ pub trait IWiaItem2_Impl: Sized { impl windows_core::RuntimeName for IWiaItem2 {} impl IWiaItem2_Vtbl { pub const fn new, Impl: IWiaItem2_Impl, const OFFSET: isize>() -> IWiaItem2_Vtbl { - unsafe extern "system" fn CreateChildItem, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, litemflags: i32, lcreationflags: i32, bstritemname: std::mem::MaybeUninit, ppiwiaitem2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateChildItem, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, litemflags: i32, lcreationflags: i32, bstritemname: core::mem::MaybeUninit, ppiwiaitem2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaItem2_Impl::CreateChildItem(this, core::mem::transmute_copy(&litemflags), core::mem::transmute_copy(&lcreationflags), core::mem::transmute(&bstritemname)) { @@ -1070,7 +1070,7 @@ impl IWiaItem2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindItemByName, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrfullitemname: std::mem::MaybeUninit, ppiwiaitem2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindItemByName, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrfullitemname: core::mem::MaybeUninit, ppiwiaitem2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaItem2_Impl::FindItemByName(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrfullitemname)) { @@ -1103,7 +1103,7 @@ impl IWiaItem2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceDlg, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, hwndparent: super::super::Foundation::HWND, bstrfoldername: std::mem::MaybeUninit, bstrfilename: std::mem::MaybeUninit, plnumfiles: *mut i32, ppbstrfilepaths: *mut *mut windows_core::BSTR, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceDlg, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, hwndparent: super::super::Foundation::HWND, bstrfoldername: core::mem::MaybeUninit, bstrfilename: core::mem::MaybeUninit, plnumfiles: *mut i32, ppbstrfilepaths: *mut *mut windows_core::BSTR, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaItem2_Impl::DeviceDlg(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&hwndparent), core::mem::transmute(&bstrfoldername), core::mem::transmute(&bstrfilename), core::mem::transmute_copy(&plnumfiles), core::mem::transmute_copy(&ppbstrfilepaths), core::mem::transmute_copy(&ppitem)).into() @@ -1124,12 +1124,12 @@ impl IWiaItem2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CheckExtension, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrname: std::mem::MaybeUninit, riidextensioninterface: *const windows_core::GUID, pbextensionexists: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn CheckExtension, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrname: core::mem::MaybeUninit, riidextensioninterface: *const windows_core::GUID, pbextensionexists: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaItem2_Impl::CheckExtension(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrname), core::mem::transmute_copy(&riidextensioninterface), core::mem::transmute_copy(&pbextensionexists)).into() } - unsafe extern "system" fn GetExtension, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrname: std::mem::MaybeUninit, riidextensioninterface: *const windows_core::GUID, ppout: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetExtension, Impl: IWiaItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstrname: core::mem::MaybeUninit, riidextensioninterface: *const windows_core::GUID, ppout: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaItem2_Impl::GetExtension(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrname), core::mem::transmute_copy(&riidextensioninterface), core::mem::transmute_copy(&ppout)).into() @@ -1215,7 +1215,7 @@ pub trait IWiaItemExtras_Impl: Sized { impl windows_core::RuntimeName for IWiaItemExtras {} impl IWiaItemExtras_Vtbl { pub const fn new, Impl: IWiaItemExtras_Impl, const OFFSET: isize>() -> IWiaItemExtras_Vtbl { - unsafe extern "system" fn GetExtendedErrorInfo, Impl: IWiaItemExtras_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrerrortext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetExtendedErrorInfo, Impl: IWiaItemExtras_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrerrortext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaItemExtras_Impl::GetExtendedErrorInfo(this) { @@ -1265,7 +1265,7 @@ impl IWiaLog_Vtbl { let this = (*this).get_impl(); IWiaLog_Impl::hResult(this, core::mem::transmute_copy(&hresult)).into() } - unsafe extern "system" fn Log, Impl: IWiaLog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, lresid: i32, ldetail: i32, bstrtext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Log, Impl: IWiaLog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, lresid: i32, ldetail: i32, bstrtext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaLog_Impl::Log(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&lresid), core::mem::transmute_copy(&ldetail), core::mem::transmute(&bstrtext)).into() @@ -1301,7 +1301,7 @@ impl IWiaLogEx_Vtbl { let this = (*this).get_impl(); IWiaLogEx_Impl::hResult(this, core::mem::transmute_copy(&hresult)).into() } - unsafe extern "system" fn Log, Impl: IWiaLogEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, lresid: i32, ldetail: i32, bstrtext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Log, Impl: IWiaLogEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, lresid: i32, ldetail: i32, bstrtext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaLogEx_Impl::Log(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&lresid), core::mem::transmute_copy(&ldetail), core::mem::transmute(&bstrtext)).into() @@ -1311,7 +1311,7 @@ impl IWiaLogEx_Vtbl { let this = (*this).get_impl(); IWiaLogEx_Impl::hResultEx(this, core::mem::transmute_copy(&lmethodid), core::mem::transmute_copy(&hresult)).into() } - unsafe extern "system" fn LogEx, Impl: IWiaLogEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lmethodid: i32, lflags: i32, lresid: i32, ldetail: i32, bstrtext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LogEx, Impl: IWiaLogEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lmethodid: i32, lflags: i32, lresid: i32, ldetail: i32, bstrtext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaLogEx_Impl::LogEx(this, core::mem::transmute_copy(&lmethodid), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&lresid), core::mem::transmute_copy(&ldetail), core::mem::transmute(&bstrtext)).into() @@ -1354,7 +1354,7 @@ impl windows_core::RuntimeName for IWiaMiniDrv {} #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl IWiaMiniDrv_Vtbl { pub const fn new, Impl: IWiaMiniDrv_Impl, const OFFSET: isize>() -> IWiaMiniDrv_Vtbl { - unsafe extern "system" fn drvInitializeWia, Impl: IWiaMiniDrv_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiaminidrv0000: *const u8, __midl__iwiaminidrv0001: i32, __midl__iwiaminidrv0002: std::mem::MaybeUninit, __midl__iwiaminidrv0003: std::mem::MaybeUninit, __midl__iwiaminidrv0004: *mut core::ffi::c_void, __midl__iwiaminidrv0005: *mut core::ffi::c_void, __midl__iwiaminidrv0006: *mut *mut core::ffi::c_void, __midl__iwiaminidrv0007: *mut *mut core::ffi::c_void, __midl__iwiaminidrv0008: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn drvInitializeWia, Impl: IWiaMiniDrv_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__iwiaminidrv0000: *const u8, __midl__iwiaminidrv0001: i32, __midl__iwiaminidrv0002: core::mem::MaybeUninit, __midl__iwiaminidrv0003: core::mem::MaybeUninit, __midl__iwiaminidrv0004: *mut core::ffi::c_void, __midl__iwiaminidrv0005: *mut core::ffi::c_void, __midl__iwiaminidrv0006: *mut *mut core::ffi::c_void, __midl__iwiaminidrv0007: *mut *mut core::ffi::c_void, __midl__iwiaminidrv0008: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaMiniDrv_Impl::drvInitializeWia( @@ -1489,7 +1489,7 @@ impl IWiaMiniDrv_Vtbl { let this = (*this).get_impl(); IWiaMiniDrv_Impl::drvGetWiaFormatInfo(this, core::mem::transmute_copy(&__midl__iwiaminidrv0059), core::mem::transmute_copy(&__midl__iwiaminidrv0060), core::mem::transmute_copy(&__midl__iwiaminidrv0061), core::mem::transmute_copy(&__midl__iwiaminidrv0062), core::mem::transmute_copy(&__midl__iwiaminidrv0063)).into() } - unsafe extern "system" fn drvNotifyPnpEvent, Impl: IWiaMiniDrv_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peventguid: *const windows_core::GUID, bstrdeviceid: std::mem::MaybeUninit, ulreserved: u32) -> windows_core::HRESULT { + unsafe extern "system" fn drvNotifyPnpEvent, Impl: IWiaMiniDrv_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peventguid: *const windows_core::GUID, bstrdeviceid: core::mem::MaybeUninit, ulreserved: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaMiniDrv_Impl::drvNotifyPnpEvent(this, core::mem::transmute_copy(&peventguid), core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&ulreserved)).into() @@ -1551,7 +1551,7 @@ impl windows_core::RuntimeName for IWiaMiniDrvTransferCallback {} #[cfg(feature = "Win32_System_Com")] impl IWiaMiniDrvTransferCallback_Vtbl { pub const fn new, Impl: IWiaMiniDrvTransferCallback_Impl, const OFFSET: isize>() -> IWiaMiniDrvTransferCallback_Vtbl { - unsafe extern "system" fn GetNextStream, Impl: IWiaMiniDrvTransferCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstritemname: std::mem::MaybeUninit, bstrfullitemname: std::mem::MaybeUninit, ppistream: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetNextStream, Impl: IWiaMiniDrvTransferCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstritemname: core::mem::MaybeUninit, bstrfullitemname: core::mem::MaybeUninit, ppistream: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaMiniDrvTransferCallback_Impl::GetNextStream(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstritemname), core::mem::transmute(&bstrfullitemname)) { @@ -1659,12 +1659,12 @@ impl windows_core::RuntimeName for IWiaPropertyStorage {} #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl IWiaPropertyStorage_Vtbl { pub const fn new, Impl: IWiaPropertyStorage_Impl, const OFFSET: isize>() -> IWiaPropertyStorage_Vtbl { - unsafe extern "system" fn ReadMultiple, Impl: IWiaPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadMultiple, Impl: IWiaPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaPropertyStorage_Impl::ReadMultiple(this, core::mem::transmute_copy(&cpspec), core::mem::transmute_copy(&rgpspec), core::mem::transmute_copy(&rgpropvar)).into() } - unsafe extern "system" fn WriteMultiple, Impl: IWiaPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *const std::mem::MaybeUninit, propidnamefirst: u32) -> windows_core::HRESULT { + unsafe extern "system" fn WriteMultiple, Impl: IWiaPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgpropvar: *const core::mem::MaybeUninit, propidnamefirst: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaPropertyStorage_Impl::WriteMultiple(this, core::mem::transmute_copy(&cpspec), core::mem::transmute_copy(&rgpspec), core::mem::transmute_copy(&rgpropvar), core::mem::transmute_copy(&propidnamefirst)).into() @@ -1725,7 +1725,7 @@ impl IWiaPropertyStorage_Vtbl { let this = (*this).get_impl(); IWiaPropertyStorage_Impl::Stat(this, core::mem::transmute_copy(&pstatpsstg)).into() } - unsafe extern "system" fn GetPropertyAttributes, Impl: IWiaPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgflags: *mut u32, rgpropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyAttributes, Impl: IWiaPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const super::super::System::Com::StructuredStorage::PROPSPEC, rgflags: *mut u32, rgpropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaPropertyStorage_Impl::GetPropertyAttributes(this, core::mem::transmute_copy(&cpspec), core::mem::transmute_copy(&rgpspec), core::mem::transmute_copy(&rgflags), core::mem::transmute_copy(&rgpropvar)).into() @@ -1860,7 +1860,7 @@ impl IWiaTransferCallback_Vtbl { let this = (*this).get_impl(); IWiaTransferCallback_Impl::TransferCallback(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pwiatransferparams)).into() } - unsafe extern "system" fn GetNextStream, Impl: IWiaTransferCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstritemname: std::mem::MaybeUninit, bstrfullitemname: std::mem::MaybeUninit, ppdestination: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetNextStream, Impl: IWiaTransferCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, bstritemname: core::mem::MaybeUninit, bstrfullitemname: core::mem::MaybeUninit, ppdestination: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaTransferCallback_Impl::GetNextStream(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstritemname), core::mem::transmute(&bstrfullitemname)) { @@ -1897,12 +1897,12 @@ impl IWiaUIExtension_Vtbl { let this = (*this).get_impl(); IWiaUIExtension_Impl::DeviceDialog(this, core::mem::transmute_copy(&pdevicedialogdata)).into() } - unsafe extern "system" fn GetDeviceIcon, Impl: IWiaUIExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceid: std::mem::MaybeUninit, phicon: *mut super::super::UI::WindowsAndMessaging::HICON, nsize: u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceIcon, Impl: IWiaUIExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceid: core::mem::MaybeUninit, phicon: *mut super::super::UI::WindowsAndMessaging::HICON, nsize: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaUIExtension_Impl::GetDeviceIcon(this, core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&phicon), core::mem::transmute_copy(&nsize)).into() } - unsafe extern "system" fn GetDeviceBitmapLogo, Impl: IWiaUIExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceid: std::mem::MaybeUninit, phbitmap: *mut super::super::Graphics::Gdi::HBITMAP, nmaxwidth: u32, nmaxheight: u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceBitmapLogo, Impl: IWiaUIExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceid: core::mem::MaybeUninit, phbitmap: *mut super::super::Graphics::Gdi::HBITMAP, nmaxwidth: u32, nmaxheight: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaUIExtension_Impl::GetDeviceBitmapLogo(this, core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&phbitmap), core::mem::transmute_copy(&nmaxwidth), core::mem::transmute_copy(&nmaxheight)).into() @@ -1933,7 +1933,7 @@ impl IWiaUIExtension2_Vtbl { let this = (*this).get_impl(); IWiaUIExtension2_Impl::DeviceDialog(this, core::mem::transmute_copy(&pdevicedialogdata)).into() } - unsafe extern "system" fn GetDeviceIcon, Impl: IWiaUIExtension2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceid: std::mem::MaybeUninit, phicon: *mut super::super::UI::WindowsAndMessaging::HICON, nsize: u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceIcon, Impl: IWiaUIExtension2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceid: core::mem::MaybeUninit, phicon: *mut super::super::UI::WindowsAndMessaging::HICON, nsize: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaUIExtension2_Impl::GetDeviceIcon(this, core::mem::transmute(&bstrdeviceid), core::mem::transmute_copy(&phicon), core::mem::transmute_copy(&nsize)).into() @@ -1982,7 +1982,7 @@ impl IWiaVideo_Vtbl { let this = (*this).get_impl(); IWiaVideo_Impl::SetPreviewVisible(this, core::mem::transmute_copy(&bpreviewvisible)).into() } - unsafe extern "system" fn ImagesDirectory, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrimagedirectory: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImagesDirectory, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrimagedirectory: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaVideo_Impl::ImagesDirectory(this) { @@ -1993,12 +1993,12 @@ impl IWiaVideo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetImagesDirectory, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrimagedirectory: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetImagesDirectory, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrimagedirectory: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaVideo_Impl::SetImagesDirectory(this, core::mem::transmute(&bstrimagedirectory)).into() } - unsafe extern "system" fn CreateVideoByWiaDevID, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrwiadeviceid: std::mem::MaybeUninit, hwndparent: super::super::Foundation::HWND, bstretchtofitparent: super::super::Foundation::BOOL, bautobeginplayback: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn CreateVideoByWiaDevID, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrwiadeviceid: core::mem::MaybeUninit, hwndparent: super::super::Foundation::HWND, bstretchtofitparent: super::super::Foundation::BOOL, bautobeginplayback: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaVideo_Impl::CreateVideoByWiaDevID(this, core::mem::transmute(&bstrwiadeviceid), core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&bstretchtofitparent), core::mem::transmute_copy(&bautobeginplayback)).into() @@ -2008,7 +2008,7 @@ impl IWiaVideo_Vtbl { let this = (*this).get_impl(); IWiaVideo_Impl::CreateVideoByDevNum(this, core::mem::transmute_copy(&uidevicenumber), core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&bstretchtofitparent), core::mem::transmute_copy(&bautobeginplayback)).into() } - unsafe extern "system" fn CreateVideoByName, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfriendlyname: std::mem::MaybeUninit, hwndparent: super::super::Foundation::HWND, bstretchtofitparent: super::super::Foundation::BOOL, bautobeginplayback: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn CreateVideoByName, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfriendlyname: core::mem::MaybeUninit, hwndparent: super::super::Foundation::HWND, bstretchtofitparent: super::super::Foundation::BOOL, bautobeginplayback: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWiaVideo_Impl::CreateVideoByName(this, core::mem::transmute(&bstrfriendlyname), core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&bstretchtofitparent), core::mem::transmute_copy(&bautobeginplayback)).into() @@ -2028,7 +2028,7 @@ impl IWiaVideo_Vtbl { let this = (*this).get_impl(); IWiaVideo_Impl::Pause(this).into() } - unsafe extern "system" fn TakePicture, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnewimagefilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TakePicture, Impl: IWiaVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnewimagefilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWiaVideo_Impl::TakePicture(this) { 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 5259da8c8a..980adc757b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IEnumWIA_DEV_CAPS, IEnumWIA_DEV_CAPS_Vtbl, impl std::ops::Deref for IEnumWIA_DEV_CAPS { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumWIA_DEV_CAPS, windows_core::IUnknown); @@ -17,11 +17,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -38,7 +38,7 @@ windows_core::imp::define_interface!(IEnumWIA_DEV_INFO, IEnumWIA_DEV_INFO_Vtbl, impl std::ops::Deref for IEnumWIA_DEV_INFO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumWIA_DEV_INFO, windows_core::IUnknown); @@ -53,11 +53,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -74,7 +74,7 @@ windows_core::imp::define_interface!(IEnumWIA_FORMAT_INFO, IEnumWIA_FORMAT_INFO_ impl std::ops::Deref for IEnumWIA_FORMAT_INFO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumWIA_FORMAT_INFO, windows_core::IUnknown); @@ -89,11 +89,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -110,7 +110,7 @@ windows_core::imp::define_interface!(IEnumWiaItem, IEnumWiaItem_Vtbl, 0x5e8383fc impl std::ops::Deref for IEnumWiaItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumWiaItem, windows_core::IUnknown); @@ -125,11 +125,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -146,7 +146,7 @@ windows_core::imp::define_interface!(IEnumWiaItem2, IEnumWiaItem2_Vtbl, 0x59970a impl std::ops::Deref for IEnumWiaItem2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumWiaItem2, windows_core::IUnknown); @@ -161,11 +161,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -182,13 +182,13 @@ windows_core::imp::define_interface!(IWiaAppErrorHandler, IWiaAppErrorHandler_Vt impl std::ops::Deref for IWiaAppErrorHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaAppErrorHandler, windows_core::IUnknown); impl IWiaAppErrorHandler { pub unsafe fn GetWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReportStatus(&self, lflags: i32, pwiaitem2: P0, hrstatus: windows_core::HRESULT, lpercentcomplete: i32) -> windows_core::Result<()> @@ -208,7 +208,7 @@ windows_core::imp::define_interface!(IWiaDataCallback, IWiaDataCallback_Vtbl, 0x impl std::ops::Deref for IWiaDataCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaDataCallback, windows_core::IUnknown); @@ -226,7 +226,7 @@ windows_core::imp::define_interface!(IWiaDataTransfer, IWiaDataTransfer_Vtbl, 0x impl std::ops::Deref for IWiaDataTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaDataTransfer, windows_core::IUnknown); @@ -248,7 +248,7 @@ impl IWiaDataTransfer { (windows_core::Interface::vtable(self).idtQueryGetData)(windows_core::Interface::as_raw(self), core::mem::transmute(pfe.unwrap_or(std::ptr::null()))).ok() } pub unsafe fn idtEnumWIA_FORMAT_INFO(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).idtEnumWIA_FORMAT_INFO)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn idtGetExtendedTransferInfo(&self, pextendedtransferinfo: *mut WIA_EXTENDED_TRANSFER_INFO) -> windows_core::Result<()> { @@ -271,20 +271,20 @@ windows_core::imp::define_interface!(IWiaDevMgr, IWiaDevMgr_Vtbl, 0x5eb2502a_8cf impl std::ops::Deref for IWiaDevMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaDevMgr, windows_core::IUnknown); impl IWiaDevMgr { pub unsafe fn EnumDeviceInfo(&self, lflag: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDeviceInfo)(windows_core::Interface::as_raw(self), lflag, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDevice(&self, bstrdeviceid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), bstrdeviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectDeviceDlg(&self, hwndparent: P0, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut windows_core::BSTR, ppitemroot: *mut Option) -> windows_core::Result<()> @@ -322,7 +322,7 @@ impl IWiaDevMgr { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterEventCallbackInterface)(windows_core::Interface::as_raw(self), lflags, bstrdeviceid.param().abi(), peventguid, piwiaeventcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterEventCallbackCLSID(&self, lflags: i32, bstrdeviceid: P0, peventguid: *const windows_core::GUID, pclsid: *const windows_core::GUID, bstrname: P1, bstrdescription: P2, bstricon: P3) -> windows_core::Result<()> @@ -345,33 +345,33 @@ impl IWiaDevMgr { pub struct IWiaDevMgr_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EnumDeviceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SelectDeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SelectDeviceDlgID: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetImageDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, i32, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, - pub RegisterEventCallbackProgram: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *const windows_core::GUID, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RegisterEventCallbackInterface: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *const windows_core::GUID, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RegisterEventCallbackCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *const windows_core::GUID, *const windows_core::GUID, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SelectDeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SelectDeviceDlgID: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetImageDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, i32, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, + pub RegisterEventCallbackProgram: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *const windows_core::GUID, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterEventCallbackInterface: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *const windows_core::GUID, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterEventCallbackCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *const windows_core::GUID, *const windows_core::GUID, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddDeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaDevMgr2, IWiaDevMgr2_Vtbl, 0x79c07cf1_cbdd_41ee_8ec3_f00080cada7a); impl std::ops::Deref for IWiaDevMgr2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaDevMgr2, windows_core::IUnknown); impl IWiaDevMgr2 { pub unsafe fn EnumDeviceInfo(&self, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDeviceInfo)(windows_core::Interface::as_raw(self), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDevice(&self, lflags: i32, bstrdeviceid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), lflags, bstrdeviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectDeviceDlg(&self, hwndparent: P0, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut windows_core::BSTR, ppitemroot: *mut Option) -> windows_core::Result<()> @@ -391,7 +391,7 @@ impl IWiaDevMgr2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterEventCallbackInterface)(windows_core::Interface::as_raw(self), lflags, bstrdeviceid.param().abi(), peventguid, piwiaeventcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterEventCallbackProgram(&self, lflags: i32, bstrdeviceid: P0, peventguid: *const windows_core::GUID, bstrfullappname: P1, bstrcommandlinearg: P2, bstrname: P3, bstrdescription: P4, bstricon: P5) -> windows_core::Result<()> @@ -428,37 +428,37 @@ impl IWiaDevMgr2 { pub struct IWiaDevMgr2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EnumDeviceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SelectDeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SelectDeviceDlgID: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RegisterEventCallbackInterface: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *const windows_core::GUID, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RegisterEventCallbackProgram: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *const windows_core::GUID, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RegisterEventCallbackCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *const windows_core::GUID, *const windows_core::GUID, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetImageDlg: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32, *mut *mut windows_core::BSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SelectDeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SelectDeviceDlgID: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterEventCallbackInterface: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *const windows_core::GUID, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterEventCallbackProgram: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *const windows_core::GUID, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterEventCallbackCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *const windows_core::GUID, *const windows_core::GUID, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetImageDlg: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32, *mut *mut windows_core::BSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaDrvItem, IWiaDrvItem_Vtbl, 0x1f02b5c5_b00c_11d2_a094_00c04f72dc3c); impl std::ops::Deref for IWiaDrvItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaDrvItem, windows_core::IUnknown); impl IWiaDrvItem { pub unsafe fn GetItemFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceSpecContext(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceSpecContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFullItemName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFullItemName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetItemName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddItemToFolder(&self, __midl__iwiadrvitem0004: P0) -> windows_core::Result<()> @@ -477,30 +477,30 @@ impl IWiaDrvItem { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindItemByName)(windows_core::Interface::as_raw(self), __midl__iwiadrvitem0007, __midl__iwiadrvitem0008.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindChildItemByName(&self, __midl__iwiadrvitem0010: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindChildItemByName)(windows_core::Interface::as_raw(self), __midl__iwiadrvitem0010.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParentItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFirstChildItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstChildItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNextSiblingItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextSiblingItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DumpItemData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DumpItemData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -509,23 +509,23 @@ pub struct IWiaDrvItem_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetItemFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetDeviceSpecContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, - pub GetFullItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFullItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddItemToFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnlinkItemTree: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub RemoveItemFromFolder: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub FindItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FindChildItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindChildItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetParentItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFirstChildItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetNextSiblingItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DumpItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DumpItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaErrorHandler, IWiaErrorHandler_Vtbl, 0x0e4a51b1_bc1f_443d_a835_72e890759ef3); impl std::ops::Deref for IWiaErrorHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaErrorHandler, windows_core::IUnknown); @@ -541,7 +541,7 @@ impl IWiaErrorHandler { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatusDescription)(windows_core::Interface::as_raw(self), lflags, pwiaitem2.param().abi(), hrstatus, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -549,13 +549,13 @@ impl IWiaErrorHandler { pub struct IWiaErrorHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ReportStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::HWND, *mut core::ffi::c_void, windows_core::HRESULT, i32) -> windows_core::HRESULT, - pub GetStatusDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, windows_core::HRESULT, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStatusDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, windows_core::HRESULT, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaEventCallback, IWiaEventCallback_Vtbl, 0xae6287b0_0084_11d2_973b_00a0c9068f2e); impl std::ops::Deref for IWiaEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaEventCallback, windows_core::IUnknown); @@ -573,13 +573,13 @@ impl IWiaEventCallback { #[repr(C)] pub struct IWiaEventCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ImageEventCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, std::mem::MaybeUninit, *mut u32, u32) -> windows_core::HRESULT, + pub ImageEventCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, core::mem::MaybeUninit, *mut u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaImageFilter, IWiaImageFilter_Vtbl, 0xa8a79ffa_450b_41f1_8f87_849ccd94ebf6); impl std::ops::Deref for IWiaImageFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaImageFilter, windows_core::IUnknown); @@ -627,20 +627,20 @@ windows_core::imp::define_interface!(IWiaItem, IWiaItem_Vtbl, 0x4db1ad10_3391_11 impl std::ops::Deref for IWiaItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaItem, windows_core::IUnknown); impl IWiaItem { pub unsafe fn GetItemType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumChildItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteItem(&self, lflags: i32) -> windows_core::Result<()> { @@ -651,18 +651,18 @@ impl IWiaItem { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateChildItem)(windows_core::Interface::as_raw(self), lflags, bstritemname.param().abi(), bstrfullitemname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumRegisterEventInfo(&self, lflags: i32, peventguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRegisterEventInfo)(windows_core::Interface::as_raw(self), lflags, peventguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindItemByName(&self, lflags: i32, bstrfullitemname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindItemByName)(windows_core::Interface::as_raw(self), lflags, bstrfullitemname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeviceDlg(&self, hwndparent: P0, lflags: i32, lintent: i32, plitemcount: *mut i32, ppiwiaitem: *mut *mut Option) -> windows_core::Result<()> @@ -675,23 +675,23 @@ impl IWiaItem { (windows_core::Interface::vtable(self).DeviceCommand)(windows_core::Interface::as_raw(self), lflags, pcmdguid, core::mem::transmute(piwiaitem)).ok() } pub unsafe fn GetRootItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumDeviceCapabilities(&self, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDeviceCapabilities)(windows_core::Interface::as_raw(self), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DumpItemData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DumpItemData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DumpDrvItemData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DumpDrvItemData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DumpTreeItemData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DumpTreeItemData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Diagnostic(&self, pbuffer: &[u8]) -> windows_core::Result<()> { @@ -705,23 +705,23 @@ pub struct IWiaItem_Vtbl { pub AnalyzeItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EnumChildItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CreateChildItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateChildItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumRegisterEventInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FindItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut i32, *mut *mut Option) -> windows_core::HRESULT, pub DeviceCommand: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRootItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumDeviceCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DumpItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DumpDrvItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DumpTreeItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DumpItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DumpDrvItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DumpTreeItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Diagnostic: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaItem2, IWiaItem2_Vtbl, 0x6cba0075_1287_407d_9b77_cf0e030435cc); impl std::ops::Deref for IWiaItem2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaItem2, windows_core::IUnknown); @@ -730,29 +730,29 @@ impl IWiaItem2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateChildItem)(windows_core::Interface::as_raw(self), litemflags, lcreationflags, bstritemname.param().abi(), &mut result__).and_then(|| windows_core::Type::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: Option<*const windows_core::GUID>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumChildItems)(windows_core::Interface::as_raw(self), core::mem::transmute(pcategoryguid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindItemByName(&self, lflags: i32, bstrfullitemname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindItemByName)(windows_core::Interface::as_raw(self), lflags, bstrfullitemname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetItemCategory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemCategory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceDlg(&self, lflags: i32, hwndparent: P0, bstrfoldername: P1, bstrfilename: P2, plnumfiles: *mut i32, ppbstrfilepaths: *mut *mut windows_core::BSTR, ppitem: Option<*mut Option>) -> windows_core::Result<()> @@ -767,7 +767,7 @@ impl IWiaItem2 { (windows_core::Interface::vtable(self).DeviceCommand)(windows_core::Interface::as_raw(self), lflags, pcmdguid, core::mem::transmute(ppiwiaitem2)).ok() } pub unsafe fn EnumDeviceCapabilities(&self, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDeviceCapabilities)(windows_core::Interface::as_raw(self), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CheckExtension(&self, lflags: i32, bstrname: P0, riidextensioninterface: *const windows_core::GUID, pbextensionexists: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -783,19 +783,19 @@ impl IWiaItem2 { (windows_core::Interface::vtable(self).GetExtension)(windows_core::Interface::as_raw(self), lflags, bstrname.param().abi(), riidextensioninterface, ppout).ok() } pub unsafe fn GetParentItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRootItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPreviewComponent(&self, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviewComponent)(windows_core::Interface::as_raw(self), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumRegisterEventInfo(&self, lflags: i32, peventguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRegisterEventInfo)(windows_core::Interface::as_raw(self), lflags, peventguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Diagnostic(&self, pbuffer: &[u8]) -> windows_core::Result<()> { @@ -805,17 +805,17 @@ impl IWiaItem2 { #[repr(C)] pub struct IWiaItem2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateChildItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateChildItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EnumChildItems: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FindItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetItemCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetItemType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32, *mut *mut windows_core::BSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32, *mut *mut windows_core::BSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeviceCommand: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumDeviceCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CheckExtension: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CheckExtension: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetParentItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRootItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPreviewComponent: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -826,13 +826,13 @@ windows_core::imp::define_interface!(IWiaItemExtras, IWiaItemExtras_Vtbl, 0x6291 impl std::ops::Deref for IWiaItemExtras { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaItemExtras, windows_core::IUnknown); impl IWiaItemExtras { pub unsafe fn GetExtendedErrorInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtendedErrorInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Escape(&self, dwescapecode: u32, lpindata: &[u8], poutdata: &mut [u8], pdwactualdatasize: *mut u32) -> windows_core::Result<()> { @@ -845,7 +845,7 @@ impl IWiaItemExtras { #[repr(C)] pub struct IWiaItemExtras_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetExtendedErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetExtendedErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Escape: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8, u32, *mut u32) -> windows_core::HRESULT, pub CancelPendingIO: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -853,7 +853,7 @@ windows_core::imp::define_interface!(IWiaLog, IWiaLog_Vtbl, 0xa00c10b6_82a1_452f impl std::ops::Deref for IWiaLog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaLog, windows_core::IUnknown); @@ -876,13 +876,13 @@ pub struct IWiaLog_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InitializeLog: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub hResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, - pub Log: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Log: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaLogEx, IWiaLogEx_Vtbl, 0xaf1f22ac_7a40_4787_b421_aeb47a1fbd0b); impl std::ops::Deref for IWiaLogEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaLogEx, windows_core::IUnknown); @@ -914,15 +914,15 @@ pub struct IWiaLogEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InitializeLogEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8) -> windows_core::HRESULT, pub hResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, - pub Log: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Log: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub hResultEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, windows_core::HRESULT) -> windows_core::HRESULT, - pub LogEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaMiniDrv, IWiaMiniDrv_Vtbl, 0xd8cdee14_3c6c_11d2_9a35_00c04fa36145); impl std::ops::Deref for IWiaMiniDrv { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaMiniDrv, windows_core::IUnknown); @@ -940,29 +940,29 @@ impl IWiaMiniDrv { (windows_core::Interface::vtable(self).drvAcquireItemData)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0009, __midl__iwiaminidrv0010, __midl__iwiaminidrv0011, __midl__iwiaminidrv0012).ok() } pub unsafe fn drvInitItemProperties(&self, __midl__iwiaminidrv0013: *const u8, __midl__iwiaminidrv0014: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).drvInitItemProperties)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0013, __midl__iwiaminidrv0014, &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).drvValidateItemProperties)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0016, __midl__iwiaminidrv0017, __midl__iwiaminidrv0018, __midl__iwiaminidrv0019, &mut result__).map(|| result__) } pub unsafe fn drvWriteItemProperties(&self, __midl__iwiaminidrv0021: *const u8, __midl__iwiaminidrv0022: i32, __midl__iwiaminidrv0023: *const MINIDRV_TRANSFER_CONTEXT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).drvWriteItemProperties)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0021, __midl__iwiaminidrv0022, __midl__iwiaminidrv0023, &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).drvReadItemProperties)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0025, __midl__iwiaminidrv0026, __midl__iwiaminidrv0027, __midl__iwiaminidrv0028, &mut result__).map(|| result__) } pub unsafe fn drvLockWiaDevice(&self, __midl__iwiaminidrv0030: *const u8, __midl__iwiaminidrv0031: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).drvLockWiaDevice)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0030, __midl__iwiaminidrv0031, &mut result__).map(|| result__) } pub unsafe fn drvUnLockWiaDevice(&self, __midl__iwiaminidrv0033: *const u8, __midl__iwiaminidrv0034: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).drvUnLockWiaDevice)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0033, __midl__iwiaminidrv0034, &mut result__).map(|| result__) } pub unsafe fn drvAnalyzeItem(&self, __midl__iwiaminidrv0036: *const u8, __midl__iwiaminidrv0037: i32, __midl__iwiaminidrv0038: *const i32) -> windows_core::Result<()> { @@ -978,11 +978,11 @@ impl IWiaMiniDrv { (windows_core::Interface::vtable(self).drvGetCapabilities)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0048, __midl__iwiaminidrv0049, __midl__iwiaminidrv0050, __midl__iwiaminidrv0051, __midl__iwiaminidrv0052).ok() } pub unsafe fn drvDeleteItem(&self, __midl__iwiaminidrv0053: *const u8, __midl__iwiaminidrv0054: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).drvDeleteItem)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0053, __midl__iwiaminidrv0054, &mut result__).map(|| result__) } pub unsafe fn drvFreeDrvItemContext(&self, __midl__iwiaminidrv0056: i32, __midl__iwiaminidrv0057: *const u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).drvFreeDrvItemContext)(windows_core::Interface::as_raw(self), __midl__iwiaminidrv0056, __midl__iwiaminidrv0057, &mut result__).map(|| 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<()> { @@ -1001,7 +1001,7 @@ impl IWiaMiniDrv { #[repr(C)] pub struct IWiaMiniDrv_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub drvInitializeWia: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, + pub drvInitializeWia: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub drvAcquireItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, i32, *mut MINIDRV_TRANSFER_CONTEXT, *mut i32) -> windows_core::HRESULT, pub drvInitItemProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, i32, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1022,14 +1022,14 @@ pub struct IWiaMiniDrv_Vtbl { pub drvDeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, i32, *mut i32) -> windows_core::HRESULT, pub drvFreeDrvItemContext: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const u8, *mut i32) -> windows_core::HRESULT, pub drvGetWiaFormatInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, i32, *mut i32, *mut *mut WIA_FORMAT_INFO, *mut i32) -> windows_core::HRESULT, - pub drvNotifyPnpEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub drvNotifyPnpEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, pub drvUnInitializeWia: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaMiniDrvCallBack, IWiaMiniDrvCallBack_Vtbl, 0x33a57d5a_3de8_11d2_9a36_00c04fa36145); impl std::ops::Deref for IWiaMiniDrvCallBack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaMiniDrvCallBack, windows_core::IUnknown); @@ -1047,7 +1047,7 @@ windows_core::imp::define_interface!(IWiaMiniDrvTransferCallback, IWiaMiniDrvTra impl std::ops::Deref for IWiaMiniDrvTransferCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaMiniDrvTransferCallback, windows_core::IUnknown); @@ -1058,7 +1058,7 @@ impl IWiaMiniDrvTransferCallback { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextStream)(windows_core::Interface::as_raw(self), lflags, bstritemname.param().abi(), bstrfullitemname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SendMessage(&self, lflags: i32, pwiatransferparams: *const WiaTransferParams) -> windows_core::Result<()> { @@ -1069,7 +1069,7 @@ impl IWiaMiniDrvTransferCallback { pub struct IWiaMiniDrvTransferCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetNextStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNextStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetNextStream: usize, pub SendMessage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const WiaTransferParams) -> windows_core::HRESULT, @@ -1078,7 +1078,7 @@ windows_core::imp::define_interface!(IWiaNotifyDevMgr, IWiaNotifyDevMgr_Vtbl, 0x impl std::ops::Deref for IWiaNotifyDevMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaNotifyDevMgr, windows_core::IUnknown); @@ -1096,7 +1096,7 @@ windows_core::imp::define_interface!(IWiaPreview, IWiaPreview_Vtbl, 0x95c2b4fd_3 impl std::ops::Deref for IWiaPreview { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaPreview, windows_core::IUnknown); @@ -1134,7 +1134,7 @@ windows_core::imp::define_interface!(IWiaPropertyStorage, IWiaPropertyStorage_Vt impl std::ops::Deref for IWiaPropertyStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaPropertyStorage, windows_core::IUnknown); @@ -1168,7 +1168,7 @@ impl IWiaPropertyStorage { } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn Enum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTimes(&self, pctime: *const super::super::Foundation::FILETIME, patime: *const super::super::Foundation::FILETIME, pmtime: *const super::super::Foundation::FILETIME) -> windows_core::Result<()> { @@ -1186,7 +1186,7 @@ impl IWiaPropertyStorage { (windows_core::Interface::vtable(self).GetPropertyAttributes)(windows_core::Interface::as_raw(self), cpspec, rgpspec, rgflags, core::mem::transmute(rgpropvar)).ok() } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1205,11 +1205,11 @@ impl IWiaPropertyStorage { pub struct IWiaPropertyStorage_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com_StructuredStorage")] - pub ReadMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::System::Com::StructuredStorage::PROPSPEC, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::System::Com::StructuredStorage::PROPSPEC, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] ReadMultiple: usize, #[cfg(feature = "Win32_System_Com_StructuredStorage")] - pub WriteMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::System::Com::StructuredStorage::PROPSPEC, *const std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub WriteMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::System::Com::StructuredStorage::PROPSPEC, *const core::mem::MaybeUninit, u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] WriteMultiple: usize, #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1232,7 +1232,7 @@ pub struct IWiaPropertyStorage_Vtbl { #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] Stat: usize, #[cfg(feature = "Win32_System_Com_StructuredStorage")] - pub GetPropertyAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::System::Com::StructuredStorage::PROPSPEC, *mut u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPropertyAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::System::Com::StructuredStorage::PROPSPEC, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] GetPropertyAttributes: usize, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -1249,7 +1249,7 @@ windows_core::imp::define_interface!(IWiaSegmentationFilter, IWiaSegmentationFil impl std::ops::Deref for IWiaSegmentationFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaSegmentationFilter, windows_core::IUnknown); @@ -1275,7 +1275,7 @@ windows_core::imp::define_interface!(IWiaTransfer, IWiaTransfer_Vtbl, 0xc39d6942 impl std::ops::Deref for IWiaTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaTransfer, windows_core::IUnknown); @@ -1298,7 +1298,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumWIA_FORMAT_INFO)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1317,7 +1317,7 @@ windows_core::imp::define_interface!(IWiaTransferCallback, IWiaTransferCallback_ impl std::ops::Deref for IWiaTransferCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaTransferCallback, windows_core::IUnknown); @@ -1331,7 +1331,7 @@ impl IWiaTransferCallback { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextStream)(windows_core::Interface::as_raw(self), lflags, bstritemname.param().abi(), bstrfullitemname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1340,7 +1340,7 @@ pub struct IWiaTransferCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub TransferCallback: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const WiaTransferParams) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetNextStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNextStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetNextStream: usize, } @@ -1348,7 +1348,7 @@ windows_core::imp::define_interface!(IWiaUIExtension, IWiaUIExtension_Vtbl, 0xda impl std::ops::Deref for IWiaUIExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaUIExtension, windows_core::IUnknown); @@ -1376,11 +1376,11 @@ pub struct IWiaUIExtension_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DeviceDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *const DEVICEDIALOGDATA) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_WindowsAndMessaging")] - pub GetDeviceIcon: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::UI::WindowsAndMessaging::HICON, u32) -> windows_core::HRESULT, + pub GetDeviceIcon: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::UI::WindowsAndMessaging::HICON, u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] GetDeviceIcon: usize, #[cfg(feature = "Win32_Graphics_Gdi")] - pub GetDeviceBitmapLogo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Graphics::Gdi::HBITMAP, u32, u32) -> windows_core::HRESULT, + pub GetDeviceBitmapLogo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Graphics::Gdi::HBITMAP, u32, u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetDeviceBitmapLogo: usize, } @@ -1388,7 +1388,7 @@ windows_core::imp::define_interface!(IWiaUIExtension2, IWiaUIExtension2_Vtbl, 0x impl std::ops::Deref for IWiaUIExtension2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaUIExtension2, windows_core::IUnknown); @@ -1409,7 +1409,7 @@ pub struct IWiaUIExtension2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DeviceDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *const DEVICEDIALOGDATA2) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_WindowsAndMessaging")] - pub GetDeviceIcon: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::UI::WindowsAndMessaging::HICON, u32) -> windows_core::HRESULT, + pub GetDeviceIcon: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::UI::WindowsAndMessaging::HICON, u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] GetDeviceIcon: usize, } @@ -1417,13 +1417,13 @@ windows_core::imp::define_interface!(IWiaVideo, IWiaVideo_Vtbl, 0xd52920aa_db88_ impl std::ops::Deref for IWiaVideo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWiaVideo, windows_core::IUnknown); impl IWiaVideo { pub unsafe fn PreviewVisible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreviewVisible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPreviewVisible(&self, bpreviewvisible: P0) -> windows_core::Result<()> @@ -1433,7 +1433,7 @@ impl IWiaVideo { (windows_core::Interface::vtable(self).SetPreviewVisible)(windows_core::Interface::as_raw(self), bpreviewvisible.param().abi()).ok() } pub unsafe fn ImagesDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImagesDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetImagesDirectory(&self, bstrimagedirectory: P0) -> windows_core::Result<()> @@ -1478,7 +1478,7 @@ impl IWiaVideo { (windows_core::Interface::vtable(self).Pause)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn TakePicture(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TakePicture)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ResizeVideo(&self, bstretchtofitparent: P0) -> windows_core::Result<()> @@ -1488,7 +1488,7 @@ impl IWiaVideo { (windows_core::Interface::vtable(self).ResizeVideo)(windows_core::Interface::as_raw(self), bstretchtofitparent.param().abi()).ok() } pub unsafe fn GetCurrentState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1497,15 +1497,15 @@ pub struct IWiaVideo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PreviewVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetPreviewVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub ImagesDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetImagesDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateVideoByWiaDevID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::HWND, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub ImagesDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetImagesDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateVideoByWiaDevID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::HWND, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CreateVideoByDevNum: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HWND, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub CreateVideoByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::HWND, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub CreateVideoByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::HWND, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub DestroyVideo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Play: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub TakePicture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TakePicture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ResizeVideo: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetCurrentState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WIAVIDEO_STATE) -> windows_core::HRESULT, } @@ -2773,7 +2773,7 @@ impl core::fmt::Debug for WIAVIDEO_STATE { pub struct DEVICEDIALOGDATA { pub cbSize: u32, pub hwndParent: super::super::Foundation::HWND, - pub pIWiaItemRoot: std::mem::ManuallyDrop>, + pub pIWiaItemRoot: core::mem::ManuallyDrop>, pub dwFlags: u32, pub lIntent: i32, pub lItemCount: i32, @@ -2796,14 +2796,14 @@ impl Default for DEVICEDIALOGDATA { #[derive(Debug, Eq, PartialEq)] pub struct DEVICEDIALOGDATA2 { pub cbSize: u32, - pub pIWiaItemRoot: std::mem::ManuallyDrop>, + pub pIWiaItemRoot: core::mem::ManuallyDrop>, pub dwFlags: u32, pub hwndParent: super::super::Foundation::HWND, - pub bstrFolderName: std::mem::ManuallyDrop, - pub bstrFilename: std::mem::ManuallyDrop, + pub bstrFolderName: core::mem::ManuallyDrop, + pub bstrFilename: core::mem::ManuallyDrop, pub lNumFiles: i32, pub pbstrFilePaths: *mut windows_core::BSTR, - pub pWiaItem: std::mem::ManuallyDrop>, + pub pWiaItem: core::mem::ManuallyDrop>, } impl Clone for DEVICEDIALOGDATA2 { fn clone(&self) -> Self { @@ -2840,7 +2840,7 @@ pub struct MINIDRV_TRANSFER_CONTEXT { pub bTransferDataCB: super::super::Foundation::BOOL, pub bClassDrvAllocBuf: super::super::Foundation::BOOL, pub lClientAddress: isize, - pub pIWiaMiniDrvCallBack: std::mem::ManuallyDrop>, + pub pIWiaMiniDrvCallBack: core::mem::ManuallyDrop>, pub lImageSize: i32, pub lHeaderSize: i32, pub lItemSize: i32, @@ -3006,7 +3006,7 @@ impl Default for WIAS_CHANGED_VALUE_INFO { pub union WIAS_CHANGED_VALUE_INFO_0 { pub lVal: i32, pub fltVal: f32, - pub bstrVal: std::mem::ManuallyDrop, + pub bstrVal: core::mem::ManuallyDrop, pub guidVal: windows_core::GUID, } impl Clone for WIAS_CHANGED_VALUE_INFO_0 { @@ -3026,7 +3026,7 @@ impl Default for WIAS_CHANGED_VALUE_INFO_0 { pub union WIAS_CHANGED_VALUE_INFO_1 { pub lVal: i32, pub fltVal: f32, - pub bstrVal: std::mem::ManuallyDrop, + pub bstrVal: core::mem::ManuallyDrop, pub guidVal: windows_core::GUID, } impl Clone for WIAS_CHANGED_VALUE_INFO_1 { @@ -3173,10 +3173,10 @@ impl Default for WIA_DATA_TRANSFER_INFO { pub struct WIA_DEV_CAP { pub guid: windows_core::GUID, pub ulFlags: u32, - pub bstrName: std::mem::ManuallyDrop, - pub bstrDescription: std::mem::ManuallyDrop, - pub bstrIcon: std::mem::ManuallyDrop, - pub bstrCommandline: std::mem::ManuallyDrop, + pub bstrName: core::mem::ManuallyDrop, + pub bstrDescription: core::mem::ManuallyDrop, + pub bstrIcon: core::mem::ManuallyDrop, + pub bstrCommandline: core::mem::ManuallyDrop, } impl Clone for WIA_DEV_CAP { fn clone(&self) -> Self { @@ -3212,7 +3212,7 @@ impl Default for WIA_DEV_CAP_DRV { #[derive(Debug, Eq, PartialEq)] pub struct WIA_DITHER_PATTERN_DATA { pub lSize: i32, - pub bstrPatternName: std::mem::ManuallyDrop, + pub bstrPatternName: core::mem::ManuallyDrop, pub lPatternWidth: i32, pub lPatternLength: i32, pub cbPattern: i32, @@ -3373,7 +3373,7 @@ pub union WIA_PROPERTY_INFO_0 { pub List: WIA_PROPERTY_INFO_0_4, pub ListFloat: WIA_PROPERTY_INFO_0_2, pub ListGuid: WIA_PROPERTY_INFO_0_3, - pub ListBStr: std::mem::ManuallyDrop, + pub ListBStr: core::mem::ManuallyDrop, pub Flag: WIA_PROPERTY_INFO_0_0, pub None: WIA_PROPERTY_INFO_0_5, } @@ -3415,7 +3415,7 @@ impl Default for WIA_PROPERTY_INFO_0_0 { #[derive(Debug, Eq, PartialEq)] pub struct WIA_PROPERTY_INFO_0_1 { pub cNumList: i32, - pub Nom: std::mem::ManuallyDrop, + pub Nom: core::mem::ManuallyDrop, pub pList: *mut windows_core::BSTR, } #[cfg(feature = "Win32_System_Variant")] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs index 7814531be3..16c9354905 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs @@ -162,12 +162,12 @@ impl IMediaRadioManagerNotifySink_Vtbl { let this = (*this).get_impl(); IMediaRadioManagerNotifySink_Impl::OnInstanceAdd(this, windows_core::from_raw_borrowed(&pradioinstance)).into() } - unsafe extern "system" fn OnInstanceRemove, Impl: IMediaRadioManagerNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrradioinstanceid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnInstanceRemove, Impl: IMediaRadioManagerNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrradioinstanceid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaRadioManagerNotifySink_Impl::OnInstanceRemove(this, core::mem::transmute(&bstrradioinstanceid)).into() } - unsafe extern "system" fn OnInstanceRadioChange, Impl: IMediaRadioManagerNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrradioinstanceid: std::mem::MaybeUninit, radiostate: DEVICE_RADIO_STATE) -> windows_core::HRESULT { + unsafe extern "system" fn OnInstanceRadioChange, Impl: IMediaRadioManagerNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrradioinstanceid: core::mem::MaybeUninit, radiostate: DEVICE_RADIO_STATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaRadioManagerNotifySink_Impl::OnInstanceRadioChange(this, core::mem::transmute(&bstrradioinstanceid), core::mem::transmute_copy(&radiostate)).into() @@ -848,12 +848,12 @@ impl IPortableDevicePropVariantCollection_Vtbl { let this = (*this).get_impl(); IPortableDevicePropVariantCollection_Impl::GetCount(this, core::mem::transmute_copy(&pcelems)).into() } - unsafe extern "system" fn GetAt, Impl: IPortableDevicePropVariantCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: u32, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAt, Impl: IPortableDevicePropVariantCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: u32, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPortableDevicePropVariantCollection_Impl::GetAt(this, core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&pvalue)).into() } - unsafe extern "system" fn Add, Impl: IPortableDevicePropVariantCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IPortableDevicePropVariantCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPortableDevicePropVariantCollection_Impl::Add(this, core::mem::transmute_copy(&pvalue)).into() @@ -1709,17 +1709,17 @@ impl IPortableDeviceValues_Vtbl { let this = (*this).get_impl(); IPortableDeviceValues_Impl::GetCount(this, core::mem::transmute_copy(&pcelt)).into() } - unsafe extern "system" fn GetAt, Impl: IPortableDeviceValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAt, Impl: IPortableDeviceValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPortableDeviceValues_Impl::GetAt(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&pkey), core::mem::transmute_copy(&pvalue)).into() } - unsafe extern "system" fn SetValue, Impl: IPortableDeviceValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IPortableDeviceValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPortableDeviceValues_Impl::SetValue(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&pvalue)).into() } - unsafe extern "system" fn GetValue, Impl: IPortableDeviceValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IPortableDeviceValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPortableDeviceValues_Impl::GetValue(this, core::mem::transmute_copy(&key)) { @@ -2106,7 +2106,7 @@ impl windows_core::RuntimeName for IPortableDeviceWebControl {} #[cfg(feature = "Win32_System_Com")] impl IPortableDeviceWebControl_Vtbl { pub const fn new, Impl: IPortableDeviceWebControl_Impl, const OFFSET: isize>() -> IPortableDeviceWebControl_Vtbl { - unsafe extern "system" fn GetDeviceFromId, Impl: IPortableDeviceWebControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: std::mem::MaybeUninit, ppdevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceFromId, Impl: IPortableDeviceWebControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: core::mem::MaybeUninit, ppdevice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPortableDeviceWebControl_Impl::GetDeviceFromId(this, core::mem::transmute(&deviceid)) { @@ -2117,7 +2117,7 @@ impl IPortableDeviceWebControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDeviceFromIdAsync, Impl: IPortableDeviceWebControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: std::mem::MaybeUninit, pcompletionhandler: *mut core::ffi::c_void, perrorhandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceFromIdAsync, Impl: IPortableDeviceWebControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: core::mem::MaybeUninit, pcompletionhandler: *mut core::ffi::c_void, perrorhandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPortableDeviceWebControl_Impl::GetDeviceFromIdAsync(this, core::mem::transmute(&deviceid), windows_core::from_raw_borrowed(&pcompletionhandler), windows_core::from_raw_borrowed(&perrorhandler)).into() @@ -2155,7 +2155,7 @@ impl IRadioInstance_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetInstanceSignature, Impl: IRadioInstance_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetInstanceSignature, Impl: IRadioInstance_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRadioInstance_Impl::GetInstanceSignature(this) { @@ -2166,7 +2166,7 @@ impl IRadioInstance_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFriendlyName, Impl: IRadioInstance_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcid: u32, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFriendlyName, Impl: IRadioInstance_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcid: u32, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRadioInstance_Impl::GetFriendlyName(this, core::mem::transmute_copy(&lcid)) { 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 0e35c71969..73fe6585cd 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs @@ -3,15 +3,15 @@ pub unsafe fn DMProcessConfigXMLFiltered(pszxmlin: P0, rgszallowedcspnodes: where P0: windows_core::Param, { - windows_targets::link!("dmprocessxmlfiltered.dll" "system" fn DMProcessConfigXMLFiltered(pszxmlin : windows_core::PCWSTR, rgszallowedcspnodes : *const windows_core::PCWSTR, dwnumallowedcspnodes : u32, pbstrxmlout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("dmprocessxmlfiltered.dll" "system" fn DMProcessConfigXMLFiltered(pszxmlin : windows_core::PCWSTR, rgszallowedcspnodes : *const windows_core::PCWSTR, dwnumallowedcspnodes : u32, pbstrxmlout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); DMProcessConfigXMLFiltered(pszxmlin.param().abi(), core::mem::transmute(rgszallowedcspnodes.as_ptr()), rgszallowedcspnodes.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IConnectionRequestCallback, IConnectionRequestCallback_Vtbl, 0x272c9ae0_7161_4ae0_91bd_9f448ee9c427); impl std::ops::Deref for IConnectionRequestCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConnectionRequestCallback, windows_core::IUnknown); @@ -29,7 +29,7 @@ windows_core::imp::define_interface!(IEnumPortableDeviceConnectors, IEnumPortabl impl std::ops::Deref for IEnumPortableDeviceConnectors { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumPortableDeviceConnectors, windows_core::IUnknown); @@ -44,7 +44,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -60,7 +60,7 @@ windows_core::imp::define_interface!(IEnumPortableDeviceObjectIDs, IEnumPortable impl std::ops::Deref for IEnumPortableDeviceObjectIDs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumPortableDeviceObjectIDs, windows_core::IUnknown); @@ -75,7 +75,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -95,13 +95,13 @@ windows_core::imp::define_interface!(IMediaRadioManager, IMediaRadioManager_Vtbl impl std::ops::Deref for IMediaRadioManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaRadioManager, windows_core::IUnknown); impl IMediaRadioManager { pub unsafe fn GetRadioInstances(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadioInstances)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnSystemRadioStateChange(&self, sysradiostate: SYSTEM_RADIO_STATE, utimeoutsec: u32) -> windows_core::Result<()> { @@ -118,7 +118,7 @@ windows_core::imp::define_interface!(IMediaRadioManagerNotifySink, IMediaRadioMa impl std::ops::Deref for IMediaRadioManagerNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaRadioManagerNotifySink, windows_core::IUnknown); @@ -146,14 +146,14 @@ impl IMediaRadioManagerNotifySink { pub struct IMediaRadioManagerNotifySink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnInstanceAdd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub OnInstanceRemove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OnInstanceRadioChange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, DEVICE_RADIO_STATE) -> windows_core::HRESULT, + pub OnInstanceRemove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnInstanceRadioChange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, DEVICE_RADIO_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDevice, IPortableDevice_Vtbl, 0x625e2df8_6392_4cf0_9ad1_3cfa5f17775c); impl std::ops::Deref for IPortableDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDevice, windows_core::IUnknown); @@ -169,15 +169,15 @@ impl IPortableDevice { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendCommand)(windows_core::Interface::as_raw(self), dwflags, pparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Content(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Content)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Capabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Capabilities)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -191,7 +191,7 @@ impl IPortableDevice { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), dwflags, pcallback.param().abi(), pparameters.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, pszcookie: P0) -> windows_core::Result<()> @@ -201,7 +201,7 @@ impl IPortableDevice { (windows_core::Interface::vtable(self).Unadvise)(windows_core::Interface::as_raw(self), pszcookie.param().abi()).ok() } pub unsafe fn GetPnPDeviceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPnPDeviceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -222,54 +222,54 @@ windows_core::imp::define_interface!(IPortableDeviceCapabilities, IPortableDevic impl std::ops::Deref for IPortableDeviceCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceCapabilities, windows_core::IUnknown); impl IPortableDeviceCapabilities { pub unsafe fn GetSupportedCommands(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedCommands)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCommandOptions)(windows_core::Interface::as_raw(self), command, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFunctionalCategories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionalCategories)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFunctionalObjects(&self, category: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionalObjects)(windows_core::Interface::as_raw(self), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSupportedContentTypes(&self, category: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedContentTypes)(windows_core::Interface::as_raw(self), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSupportedFormats(&self, contenttype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedFormats)(windows_core::Interface::as_raw(self), contenttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSupportedFormatProperties(&self, format: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedFormatProperties)(windows_core::Interface::as_raw(self), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFixedPropertyAttributes)(windows_core::Interface::as_raw(self), format, key, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedEvents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEventOptions(&self, event: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventOptions)(windows_core::Interface::as_raw(self), event, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -298,7 +298,7 @@ windows_core::imp::define_interface!(IPortableDeviceConnector, IPortableDeviceCo impl std::ops::Deref for IPortableDeviceConnector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceConnector, windows_core::IUnknown); @@ -330,7 +330,7 @@ impl IPortableDeviceConnector { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), ppropertykey, propertytype, core::mem::transmute(pdata.as_ptr()), pdata.len().try_into().unwrap()).ok() } pub unsafe fn GetPnPID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPnPID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -354,7 +354,7 @@ windows_core::imp::define_interface!(IPortableDeviceContent, IPortableDeviceCont impl std::ops::Deref for IPortableDeviceContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceContent, windows_core::IUnknown); @@ -364,15 +364,15 @@ impl IPortableDeviceContent { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumObjects)(windows_core::Interface::as_raw(self), dwflags, pszparentobjectid.param().abi(), pfilter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Transfer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Transfer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateObjectWithPropertiesOnly(&self, pvalues: P0, ppszobjectid: *mut windows_core::PWSTR) -> windows_core::Result<()> @@ -398,7 +398,7 @@ impl IPortableDeviceContent { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectIDsFromPersistentUniqueIDs)(windows_core::Interface::as_raw(self), ppersistentuniqueids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -440,7 +440,7 @@ windows_core::imp::define_interface!(IPortableDeviceContent2, IPortableDeviceCon impl std::ops::Deref for IPortableDeviceContent2 { type Target = IPortableDeviceContent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceContent2, windows_core::IUnknown, IPortableDeviceContent); @@ -468,7 +468,7 @@ windows_core::imp::define_interface!(IPortableDeviceDataStream, IPortableDeviceD impl std::ops::Deref for IPortableDeviceDataStream { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -476,7 +476,7 @@ windows_core::imp::interface_hierarchy!(IPortableDeviceDataStream, windows_core: #[cfg(feature = "Win32_System_Com")] impl IPortableDeviceDataStream { pub unsafe fn GetObjectID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -494,7 +494,7 @@ windows_core::imp::define_interface!(IPortableDeviceDispatchFactory, IPortableDe impl std::ops::Deref for IPortableDeviceDispatchFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceDispatchFactory, windows_core::IUnknown); @@ -504,7 +504,7 @@ impl IPortableDeviceDispatchFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceDispatch)(windows_core::Interface::as_raw(self), pszpnpdeviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -520,7 +520,7 @@ windows_core::imp::define_interface!(IPortableDeviceEventCallback, IPortableDevi impl std::ops::Deref for IPortableDeviceEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceEventCallback, windows_core::IUnknown); @@ -541,7 +541,7 @@ windows_core::imp::define_interface!(IPortableDeviceKeyCollection, IPortableDevi impl std::ops::Deref for IPortableDeviceKeyCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceKeyCollection, windows_core::IUnknown); @@ -583,7 +583,7 @@ windows_core::imp::define_interface!(IPortableDeviceManager, IPortableDeviceMana impl std::ops::Deref for IPortableDeviceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceManager, windows_core::IUnknown); @@ -638,7 +638,7 @@ windows_core::imp::define_interface!(IPortableDevicePropVariantCollection, IPort impl std::ops::Deref for IPortableDevicePropVariantCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDevicePropVariantCollection, windows_core::IUnknown); @@ -653,7 +653,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ChangeType(&self, vt: u16) -> windows_core::Result<()> { @@ -670,8 +670,8 @@ impl IPortableDevicePropVariantCollection { pub struct IPortableDevicePropVariantCollection_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32) -> windows_core::HRESULT, - pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -681,7 +681,7 @@ windows_core::imp::define_interface!(IPortableDeviceProperties, IPortableDeviceP impl std::ops::Deref for IPortableDeviceProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceProperties, windows_core::IUnknown); @@ -690,7 +690,7 @@ impl IPortableDeviceProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedProperties)(windows_core::Interface::as_raw(self), pszobjectid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -698,7 +698,7 @@ impl IPortableDeviceProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyAttributes)(windows_core::Interface::as_raw(self), pszobjectid.param().abi(), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetValues(&self, pszobjectid: P0, pkeys: P1) -> windows_core::Result @@ -706,7 +706,7 @@ impl IPortableDeviceProperties { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValues)(windows_core::Interface::as_raw(self), pszobjectid.param().abi(), pkeys.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValues(&self, pszobjectid: P0, pvalues: P1) -> windows_core::Result @@ -714,7 +714,7 @@ impl IPortableDeviceProperties { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetValues)(windows_core::Interface::as_raw(self), pszobjectid.param().abi(), pvalues.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, pszobjectid: P0, pkeys: P1) -> windows_core::Result<()> @@ -745,7 +745,7 @@ windows_core::imp::define_interface!(IPortableDevicePropertiesBulk, IPortableDev impl std::ops::Deref for IPortableDevicePropertiesBulk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDevicePropertiesBulk, windows_core::IUnknown); @@ -756,7 +756,7 @@ impl IPortableDevicePropertiesBulk { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueGetValuesByObjectList)(windows_core::Interface::as_raw(self), pobjectids.param().abi(), pkeys.param().abi(), pcallback.param().abi(), &mut result__).map(|| result__) } pub unsafe fn QueueGetValuesByObjectFormat(&self, pguidobjectformat: *const windows_core::GUID, pszparentobjectid: P0, dwdepth: u32, pkeys: P1, pcallback: P2) -> windows_core::Result @@ -765,7 +765,7 @@ impl IPortableDevicePropertiesBulk { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueGetValuesByObjectFormat)(windows_core::Interface::as_raw(self), pguidobjectformat, pszparentobjectid.param().abi(), dwdepth, pkeys.param().abi(), pcallback.param().abi(), &mut result__).map(|| result__) } pub unsafe fn QueueSetValuesByObjectList(&self, pobjectvalues: P0, pcallback: P1) -> windows_core::Result @@ -773,7 +773,7 @@ impl IPortableDevicePropertiesBulk { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueSetValuesByObjectList)(windows_core::Interface::as_raw(self), pobjectvalues.param().abi(), pcallback.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Start(&self, pcontext: *const windows_core::GUID) -> windows_core::Result<()> { @@ -796,7 +796,7 @@ windows_core::imp::define_interface!(IPortableDevicePropertiesBulkCallback, IPor impl std::ops::Deref for IPortableDevicePropertiesBulkCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDevicePropertiesBulkCallback, windows_core::IUnknown); @@ -825,7 +825,7 @@ windows_core::imp::define_interface!(IPortableDeviceResources, IPortableDeviceRe impl std::ops::Deref for IPortableDeviceResources { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceResources, windows_core::IUnknown); @@ -834,7 +834,7 @@ impl IPortableDeviceResources { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedResources)(windows_core::Interface::as_raw(self), pszobjectid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -842,7 +842,7 @@ impl IPortableDeviceResources { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourceAttributes)(windows_core::Interface::as_raw(self), pszobjectid.param().abi(), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -893,7 +893,7 @@ windows_core::imp::define_interface!(IPortableDeviceService, IPortableDeviceServ impl std::ops::Deref for IPortableDeviceService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceService, windows_core::IUnknown); @@ -906,15 +906,15 @@ impl IPortableDeviceService { (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), pszpnpserviceid.param().abi(), pclientinfo.param().abi()).ok() } pub unsafe fn Capabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Capabilities)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Content(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Content)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Methods(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Methods)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -924,11 +924,11 @@ impl IPortableDeviceService { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetServiceObjectID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceObjectID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPnPServiceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPnPServiceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Advise(&self, dwflags: u32, pcallback: P0, pparameters: P1) -> windows_core::Result @@ -936,7 +936,7 @@ impl IPortableDeviceService { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), dwflags, pcallback.param().abi(), pparameters.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, pszcookie: P0) -> windows_core::Result<()> @@ -949,7 +949,7 @@ impl IPortableDeviceService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendCommand)(windows_core::Interface::as_raw(self), dwflags, pparameters.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -972,7 +972,7 @@ windows_core::imp::define_interface!(IPortableDeviceServiceActivation, IPortable impl std::ops::Deref for IPortableDeviceServiceActivation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceServiceActivation, windows_core::IUnknown); @@ -999,73 +999,73 @@ windows_core::imp::define_interface!(IPortableDeviceServiceCapabilities, IPortab impl std::ops::Deref for IPortableDeviceServiceCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceServiceCapabilities, windows_core::IUnknown); impl IPortableDeviceServiceCapabilities { pub unsafe fn GetSupportedMethods(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedMethods)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSupportedMethodsByFormat(&self, format: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedMethodsByFormat)(windows_core::Interface::as_raw(self), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMethodAttributes(&self, method: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMethodAttributes)(windows_core::Interface::as_raw(self), method, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMethodParameterAttributes)(windows_core::Interface::as_raw(self), method, parameter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSupportedFormats(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedFormats)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFormatAttributes(&self, format: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormatAttributes)(windows_core::Interface::as_raw(self), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSupportedFormatProperties(&self, format: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedFormatProperties)(windows_core::Interface::as_raw(self), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormatPropertyAttributes)(windows_core::Interface::as_raw(self), format, property, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSupportedEvents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedEvents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEventAttributes(&self, event: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventAttributes)(windows_core::Interface::as_raw(self), event, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventParameterAttributes)(windows_core::Interface::as_raw(self), event, parameter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInheritedServices(&self, dwinheritancetype: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInheritedServices)(windows_core::Interface::as_raw(self), dwinheritancetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFormatRenderingProfiles(&self, format: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormatRenderingProfiles)(windows_core::Interface::as_raw(self), format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSupportedCommands(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedCommands)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCommandOptions)(windows_core::Interface::as_raw(self), command, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -1108,7 +1108,7 @@ windows_core::imp::define_interface!(IPortableDeviceServiceManager, IPortableDev impl std::ops::Deref for IPortableDeviceServiceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceServiceManager, windows_core::IUnknown); @@ -1123,7 +1123,7 @@ impl IPortableDeviceServiceManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceForService)(windows_core::Interface::as_raw(self), pszpnpserviceid.param().abi(), &mut result__).map(|| result__) } } @@ -1137,7 +1137,7 @@ windows_core::imp::define_interface!(IPortableDeviceServiceMethodCallback, IPort impl std::ops::Deref for IPortableDeviceServiceMethodCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceServiceMethodCallback, windows_core::IUnknown); @@ -1158,7 +1158,7 @@ windows_core::imp::define_interface!(IPortableDeviceServiceMethods, IPortableDev impl std::ops::Deref for IPortableDeviceServiceMethods { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceServiceMethods, windows_core::IUnknown); @@ -1194,7 +1194,7 @@ windows_core::imp::define_interface!(IPortableDeviceServiceOpenCallback, IPortab impl std::ops::Deref for IPortableDeviceServiceOpenCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceServiceOpenCallback, windows_core::IUnknown); @@ -1212,7 +1212,7 @@ windows_core::imp::define_interface!(IPortableDeviceUnitsStream, IPortableDevice impl std::ops::Deref for IPortableDeviceUnitsStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceUnitsStream, windows_core::IUnknown); @@ -1234,7 +1234,7 @@ windows_core::imp::define_interface!(IPortableDeviceValues, IPortableDeviceValue impl std::ops::Deref for IPortableDeviceValues { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceValues, windows_core::IUnknown); @@ -1252,7 +1252,7 @@ impl IPortableDeviceValues { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1264,7 +1264,7 @@ impl IPortableDeviceValues { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetStringValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1273,7 +1273,7 @@ impl IPortableDeviceValues { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnsignedIntegerValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1282,7 +1282,7 @@ impl IPortableDeviceValues { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignedIntegerValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1291,7 +1291,7 @@ impl IPortableDeviceValues { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnsignedLargeIntegerValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1300,7 +1300,7 @@ impl IPortableDeviceValues { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignedLargeIntegerValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1309,7 +1309,7 @@ impl IPortableDeviceValues { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFloatValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1318,7 +1318,7 @@ impl IPortableDeviceValues { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetErrorValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1338,7 +1338,7 @@ impl IPortableDeviceValues { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetBoolValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoolValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1350,7 +1350,7 @@ impl IPortableDeviceValues { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetIUnknownValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIUnknownValue)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1359,7 +1359,7 @@ impl IPortableDeviceValues { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetGuidValue(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuidValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1379,7 +1379,7 @@ impl IPortableDeviceValues { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIPortableDeviceValuesValue)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1391,7 +1391,7 @@ impl IPortableDeviceValues { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIPortableDevicePropVariantCollectionValue)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1403,7 +1403,7 @@ impl IPortableDeviceValues { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIPortableDeviceKeyCollectionValue)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1415,7 +1415,7 @@ impl IPortableDeviceValues { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIPortableDeviceValuesCollectionValue)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1445,15 +1445,15 @@ pub struct IPortableDeviceValues_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetAt: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] SetValue: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetValue: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1602,7 +1602,7 @@ windows_core::imp::define_interface!(IPortableDeviceValuesCollection, IPortableD impl std::ops::Deref for IPortableDeviceValuesCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPortableDeviceValuesCollection, windows_core::IUnknown); @@ -1611,7 +1611,7 @@ impl IPortableDeviceValuesCollection { (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), pcelems).ok() } pub unsafe fn GetAt(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Add(&self, pvalues: P0) -> windows_core::Result<()> @@ -1642,7 +1642,7 @@ windows_core::imp::define_interface!(IPortableDeviceWebControl, IPortableDeviceW impl std::ops::Deref for IPortableDeviceWebControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1654,7 +1654,7 @@ impl IPortableDeviceWebControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceFromId)(windows_core::Interface::as_raw(self), deviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1672,11 +1672,11 @@ impl IPortableDeviceWebControl { pub struct IPortableDeviceWebControl_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetDeviceFromId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceFromId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetDeviceFromId: usize, #[cfg(feature = "Win32_System_Com")] - pub GetDeviceFromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceFromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetDeviceFromIdAsync: usize, } @@ -1684,25 +1684,25 @@ windows_core::imp::define_interface!(IRadioInstance, IRadioInstance_Vtbl, 0x70aa impl std::ops::Deref for IRadioInstance { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRadioInstance, windows_core::IUnknown); impl IRadioInstance { pub unsafe fn GetRadioManagerSignature(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadioManagerSignature)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInstanceSignature(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstanceSignature)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFriendlyName(&self, lcid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFriendlyName)(windows_core::Interface::as_raw(self), lcid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRadioState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadioState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRadioState(&self, radiostate: DEVICE_RADIO_STATE, utimeoutsec: u32) -> windows_core::Result<()> { @@ -1719,8 +1719,8 @@ impl IRadioInstance { pub struct IRadioInstance_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetRadioManagerSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetInstanceSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetInstanceSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetRadioState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEVICE_RADIO_STATE) -> windows_core::HRESULT, pub SetRadioState: unsafe extern "system" fn(*mut core::ffi::c_void, DEVICE_RADIO_STATE, u32) -> windows_core::HRESULT, pub IsMultiComm: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, @@ -1730,17 +1730,17 @@ windows_core::imp::define_interface!(IRadioInstanceCollection, IRadioInstanceCol impl std::ops::Deref for IRadioInstanceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRadioInstanceCollection, windows_core::IUnknown); impl IRadioInstanceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, uindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), uindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1754,13 +1754,13 @@ windows_core::imp::define_interface!(IWpdSerializer, IWpdSerializer_Vtbl, 0xb32f impl std::ops::Deref for IWpdSerializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWpdSerializer, windows_core::IUnknown); impl IWpdSerializer { pub unsafe fn GetIPortableDeviceValuesFromBuffer(&self, pbuffer: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIPortableDeviceValuesFromBuffer)(windows_core::Interface::as_raw(self), core::mem::transmute(pbuffer.as_ptr()), pbuffer.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn WriteIPortableDeviceValuesToBuffer(&self, presults: P0, pbuffer: &mut [u8], pdwbyteswritten: *mut u32) -> windows_core::Result<()> @@ -1779,7 +1779,7 @@ impl IWpdSerializer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSerializedSize)(windows_core::Interface::as_raw(self), psource.param().abi(), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs index 73f0d51047..4c8fedfd22 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs @@ -87,7 +87,7 @@ impl ISensor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFriendlyName, Impl: ISensor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfriendlyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFriendlyName, Impl: ISensor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfriendlyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISensor_Impl::GetFriendlyName(this) { @@ -98,7 +98,7 @@ impl ISensor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: ISensor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: ISensor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISensor_Impl::GetProperty(this, core::mem::transmute_copy(&key)) { @@ -313,7 +313,7 @@ impl ISensorDataReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSensorValue, Impl: ISensorDataReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSensorValue, Impl: ISensorDataReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISensorDataReport_Impl::GetSensorValue(this, core::mem::transmute_copy(&pkey)) { 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 4f3e00ad46..53dad183d2 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs @@ -76,14 +76,14 @@ pub unsafe fn GetPerformanceTime(timems: *mut u32) -> super::super::Foundation:: } #[inline] pub unsafe fn InitPropVariantFromCLSIDArray(members: &[windows_core::GUID]) -> windows_core::Result { - windows_targets::link!("sensorsutilsv2.dll" "system" fn InitPropVariantFromCLSIDArray(members : *const windows_core::GUID, size : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("sensorsutilsv2.dll" "system" fn InitPropVariantFromCLSIDArray(members : *const windows_core::GUID, size : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromCLSIDArray(core::mem::transmute(members.as_ptr()), members.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromFloat(fltval: f32) -> windows_core::Result { - windows_targets::link!("sensorsutilsv2.dll" "system" fn InitPropVariantFromFloat(fltval : f32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("sensorsutilsv2.dll" "system" fn InitPropVariantFromFloat(fltval : f32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromFloat(fltval, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -181,7 +181,7 @@ pub unsafe fn PropKeyFindKeyGetPropVariant(plist: *const SENSOR_COLLECTION_L where P0: windows_core::Param, { - windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetPropVariant(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, typecheck : super::super::Foundation:: BOOLEAN, pvalue : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> super::super::Foundation:: NTSTATUS); + windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetPropVariant(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, typecheck : super::super::Foundation:: BOOLEAN, pvalue : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> super::super::Foundation:: NTSTATUS); PropKeyFindKeyGetPropVariant(plist, pkey, typecheck.param().abi(), core::mem::transmute(pvalue)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -202,13 +202,13 @@ pub unsafe fn PropKeyFindKeySetPropVariant(plist: *mut SENSOR_COLLECTION_LIS where P0: windows_core::Param, { - windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeySetPropVariant(plist : *mut SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, typecheck : super::super::Foundation:: BOOLEAN, pvalue : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> super::super::Foundation:: NTSTATUS); + windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeySetPropVariant(plist : *mut SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, typecheck : super::super::Foundation:: BOOLEAN, pvalue : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> super::super::Foundation:: NTSTATUS); PropKeyFindKeySetPropVariant(plist, pkey, typecheck.param().abi(), core::mem::transmute(pvalue)) } #[cfg(feature = "Win32_Devices_Properties")] #[inline] pub unsafe fn PropVariantGetInformation(propvariantvalue: *const windows_core::PROPVARIANT, propvariantoffset: Option<*mut u32>, propvariantsize: Option<*mut u32>, propvariantpointer: Option<*mut *mut core::ffi::c_void>, remappedtype: Option<*mut super::Properties::DEVPROPTYPE>) -> super::super::Foundation::NTSTATUS { - windows_targets::link!("sensorsutilsv2.dll" "system" fn PropVariantGetInformation(propvariantvalue : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, propvariantoffset : *mut u32, propvariantsize : *mut u32, propvariantpointer : *mut *mut core::ffi::c_void, remappedtype : *mut super::Properties:: DEVPROPTYPE) -> super::super::Foundation:: NTSTATUS); + windows_targets::link!("sensorsutilsv2.dll" "system" fn PropVariantGetInformation(propvariantvalue : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, propvariantoffset : *mut u32, propvariantsize : *mut u32, propvariantpointer : *mut *mut core::ffi::c_void, remappedtype : *mut super::Properties:: DEVPROPTYPE) -> super::super::Foundation:: NTSTATUS); PropVariantGetInformation(core::mem::transmute(propvariantvalue), core::mem::transmute(propvariantoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(propvariantsize.unwrap_or(std::ptr::null_mut())), core::mem::transmute(propvariantpointer.unwrap_or(std::ptr::null_mut())), core::mem::transmute(remappedtype.unwrap_or(std::ptr::null_mut()))) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -225,7 +225,7 @@ pub unsafe fn PropertiesListGetFillableCount(buffersizebytes: u32) -> u32 { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] #[inline] pub unsafe fn SensorCollectionGetAt(index: u32, psensorslist: *const SENSOR_COLLECTION_LIST, pkey: Option<*mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY>, pvalue: Option<*mut windows_core::PROPVARIANT>) -> super::super::Foundation::NTSTATUS { - windows_targets::link!("sensorsutilsv2.dll" "system" fn SensorCollectionGetAt(index : u32, psensorslist : *const SENSOR_COLLECTION_LIST, pkey : *mut super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pvalue : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> super::super::Foundation:: NTSTATUS); + windows_targets::link!("sensorsutilsv2.dll" "system" fn SensorCollectionGetAt(index : u32, psensorslist : *const SENSOR_COLLECTION_LIST, pkey : *mut super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pvalue : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> super::super::Foundation:: NTSTATUS); SensorCollectionGetAt(index, psensorslist, core::mem::transmute(pkey.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pvalue.unwrap_or(std::ptr::null_mut()))) } #[inline] @@ -242,13 +242,13 @@ windows_core::imp::define_interface!(ILocationPermissions, ILocationPermissions_ impl std::ops::Deref for ILocationPermissions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILocationPermissions, windows_core::IUnknown); impl ILocationPermissions { pub unsafe fn GetGlobalLocationPermission(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlobalLocationPermission)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CheckLocationCapability(&self, dwclientthreadid: u32) -> windows_core::Result<()> { @@ -265,30 +265,30 @@ windows_core::imp::define_interface!(ISensor, ISensor_Vtbl, 0x5fa08f80_2657_458e impl std::ops::Deref for ISensor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISensor, windows_core::IUnknown); impl ISensor { pub unsafe fn GetID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCategory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Devices_PortableDevices")] @@ -296,12 +296,12 @@ impl ISensor { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pkeys.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Devices_PortableDevices")] pub unsafe fn GetSupportedDataFields(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedDataFields)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Devices_PortableDevices")] @@ -309,24 +309,24 @@ impl ISensor { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetProperties)(windows_core::Interface::as_raw(self), pproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportsDataField)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportsEvent(&self, eventguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportsEvent)(windows_core::Interface::as_raw(self), eventguid, &mut result__).map(|| result__) } pub unsafe fn GetEventInterest(&self, ppvalues: *mut *mut windows_core::GUID, pcount: *mut u32) -> windows_core::Result<()> { @@ -348,9 +348,9 @@ pub struct ISensor_Vtbl { pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetProperty: usize, #[cfg(feature = "Win32_Devices_PortableDevices")] @@ -380,17 +380,17 @@ windows_core::imp::define_interface!(ISensorCollection, ISensorCollection_Vtbl, impl std::ops::Deref for ISensorCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISensorCollection, windows_core::IUnknown); impl ISensorCollection { pub unsafe fn GetAt(&self, ulindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), ulindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Add(&self, psensor: P0) -> windows_core::Result<()> @@ -426,18 +426,18 @@ windows_core::imp::define_interface!(ISensorDataReport, ISensorDataReport_Vtbl, impl std::ops::Deref for ISensorDataReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISensorDataReport, windows_core::IUnknown); impl ISensorDataReport { pub unsafe fn GetTimestamp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimestamp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetSensorValue(&self, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorValue)(windows_core::Interface::as_raw(self), pkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Devices_PortableDevices")] @@ -445,7 +445,7 @@ impl ISensorDataReport { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorValues)(windows_core::Interface::as_raw(self), pkeys.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -454,7 +454,7 @@ pub struct ISensorDataReport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetSensorValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSensorValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetSensorValue: usize, #[cfg(feature = "Win32_Devices_PortableDevices")] @@ -466,7 +466,7 @@ windows_core::imp::define_interface!(ISensorEvents, ISensorEvents_Vtbl, 0x5d8dcc impl std::ops::Deref for ISensorEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISensorEvents, windows_core::IUnknown); @@ -511,21 +511,21 @@ windows_core::imp::define_interface!(ISensorManager, ISensorManager_Vtbl, 0xbd77 impl std::ops::Deref for ISensorManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISensorManager, windows_core::IUnknown); impl ISensorManager { pub unsafe fn GetSensorsByCategory(&self, sensorcategory: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorsByCategory)(windows_core::Interface::as_raw(self), sensorcategory, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSensorsByType(&self, sensortype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorsByType)(windows_core::Interface::as_raw(self), sensortype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSensorByID(&self, sensorid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorByID)(windows_core::Interface::as_raw(self), sensorid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventSink(&self, pevents: P0) -> windows_core::Result<()> @@ -556,7 +556,7 @@ windows_core::imp::define_interface!(ISensorManagerEvents, ISensorManagerEvents_ impl std::ops::Deref for ISensorManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISensorManagerEvents, windows_core::IUnknown); @@ -1439,7 +1439,7 @@ impl Default for SENSOR_PROPERTY_LIST { #[derive(Debug, Eq, PartialEq)] pub struct SENSOR_VALUE_PAIR { pub Key: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, - pub Value: std::mem::ManuallyDrop, + pub Value: core::mem::ManuallyDrop, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for SENSOR_VALUE_PAIR { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs index 9018f49845..6285a25a44 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs @@ -257,7 +257,7 @@ pub trait IEnumBstr_Impl: Sized { impl windows_core::RuntimeName for IEnumBstr {} impl IEnumBstr_Vtbl { pub const fn new, Impl: IEnumBstr_Impl, const OFFSET: isize>() -> IEnumBstr_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumBstr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, ppstrings: *mut std::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IEnumBstr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, ppstrings: *mut core::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumBstr_Impl::Next(this, core::mem::transmute_copy(&celt), core::mem::transmute_copy(&ppstrings), core::mem::transmute_copy(&pceltfetched)).into() @@ -454,7 +454,7 @@ pub trait IEnumDialableAddrs_Impl: Sized { impl windows_core::RuntimeName for IEnumDialableAddrs {} impl IEnumDialableAddrs_Vtbl { pub const fn new, Impl: IEnumDialableAddrs_Impl, const OFFSET: isize>() -> IEnumDialableAddrs_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumDialableAddrs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, ppelements: *mut std::mem::MaybeUninit, pcfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IEnumDialableAddrs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, ppelements: *mut core::mem::MaybeUninit, pcfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumDialableAddrs_Impl::Next(this, core::mem::transmute_copy(&celt), core::mem::transmute_copy(&ppelements), core::mem::transmute_copy(&pcfetched)).into() @@ -1104,7 +1104,7 @@ impl windows_core::RuntimeName for IMcastAddressAllocation {} #[cfg(feature = "Win32_System_Com")] impl IMcastAddressAllocation_Vtbl { pub const fn new, Impl: IMcastAddressAllocation_Impl, const OFFSET: isize>() -> IMcastAddressAllocation_Vtbl { - unsafe extern "system" fn Scopes, Impl: IMcastAddressAllocation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Scopes, Impl: IMcastAddressAllocation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMcastAddressAllocation_Impl::Scopes(this) { @@ -1164,7 +1164,7 @@ impl IMcastAddressAllocation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateLeaseInfoFromVariant, Impl: IMcastAddressAllocation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, leasestarttime: f64, leasestoptime: f64, vaddresses: std::mem::MaybeUninit, prequestid: std::mem::MaybeUninit, pserveraddress: std::mem::MaybeUninit, ppreleaserequest: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateLeaseInfoFromVariant, Impl: IMcastAddressAllocation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, leasestarttime: f64, leasestoptime: f64, vaddresses: core::mem::MaybeUninit, prequestid: core::mem::MaybeUninit, pserveraddress: core::mem::MaybeUninit, ppreleaserequest: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMcastAddressAllocation_Impl::CreateLeaseInfoFromVariant(this, core::mem::transmute_copy(&leasestarttime), core::mem::transmute_copy(&leasestoptime), core::mem::transmute(&vaddresses), core::mem::transmute(&prequestid), core::mem::transmute(&pserveraddress)) { @@ -1208,7 +1208,7 @@ impl windows_core::RuntimeName for IMcastLeaseInfo {} #[cfg(feature = "Win32_System_Com")] impl IMcastLeaseInfo_Vtbl { pub const fn new, Impl: IMcastLeaseInfo_Impl, const OFFSET: isize>() -> IMcastLeaseInfo_Vtbl { - unsafe extern "system" fn RequestID, Impl: IMcastLeaseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprequestid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequestID, Impl: IMcastLeaseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprequestid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::RequestID(this) { @@ -1262,7 +1262,7 @@ impl IMcastLeaseInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServerAddress, Impl: IMcastLeaseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServerAddress, Impl: IMcastLeaseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::ServerAddress(this) { @@ -1284,7 +1284,7 @@ impl IMcastLeaseInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Addresses, Impl: IMcastLeaseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Addresses, Impl: IMcastLeaseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMcastLeaseInfo_Impl::Addresses(this) { @@ -1370,7 +1370,7 @@ impl IMcastScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ScopeDescription, Impl: IMcastScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ScopeDescription, Impl: IMcastScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMcastScope_Impl::ScopeDescription(this) { @@ -1416,7 +1416,7 @@ impl windows_core::RuntimeName for ITACDGroup {} #[cfg(feature = "Win32_System_Com")] impl ITACDGroup_Vtbl { pub const fn new, Impl: ITACDGroup_Impl, const OFFSET: isize>() -> ITACDGroup_Vtbl { - unsafe extern "system" fn Name, Impl: ITACDGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITACDGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITACDGroup_Impl::Name(this) { @@ -1438,7 +1438,7 @@ impl ITACDGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Queues, Impl: ITACDGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Queues, Impl: ITACDGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITACDGroup_Impl::Queues(this) { @@ -1627,7 +1627,7 @@ impl ITAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddressName, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddressName, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddress_Impl::AddressName(this) { @@ -1638,7 +1638,7 @@ impl ITAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceProviderName, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceProviderName, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddress_Impl::ServiceProviderName(this) { @@ -1660,7 +1660,7 @@ impl ITAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateCall, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdestaddress: std::mem::MaybeUninit, laddresstype: i32, lmediatypes: i32, ppcall: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateCall, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdestaddress: core::mem::MaybeUninit, laddresstype: i32, lmediatypes: i32, ppcall: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddress_Impl::CreateCall(this, core::mem::transmute(&pdestaddress), core::mem::transmute_copy(&laddresstype), core::mem::transmute_copy(&lmediatypes)) { @@ -1671,7 +1671,7 @@ impl ITAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Calls, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Calls, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddress_Impl::Calls(this) { @@ -1693,7 +1693,7 @@ impl ITAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DialableAddress, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdialableaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DialableAddress, Impl: ITAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdialableaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddress_Impl::DialableAddress(this) { @@ -1804,7 +1804,7 @@ impl windows_core::RuntimeName for ITAddress2 {} #[cfg(feature = "Win32_System_Com")] impl ITAddress2_Vtbl { pub const fn new, Impl: ITAddress2_Impl, const OFFSET: isize>() -> ITAddress2_Vtbl { - unsafe extern "system" fn Phones, Impl: ITAddress2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pphones: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Phones, Impl: ITAddress2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pphones: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddress2_Impl::Phones(this) { @@ -1837,7 +1837,7 @@ impl ITAddress2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PreferredPhones, Impl: ITAddress2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pphones: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PreferredPhones, Impl: ITAddress2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pphones: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddress2_Impl::PreferredPhones(this) { @@ -1880,7 +1880,7 @@ impl ITAddress2_Vtbl { let this = (*this).get_impl(); ITAddress2_Impl::DeviceSpecific(this, windows_core::from_raw_borrowed(&pcall), core::mem::transmute_copy(&pparams), core::mem::transmute_copy(&dwsize)).into() } - unsafe extern "system" fn DeviceSpecificVariant, Impl: ITAddress2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcall: *mut core::ffi::c_void, vardevspecificbytearray: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceSpecificVariant, Impl: ITAddress2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcall: *mut core::ffi::c_void, vardevspecificbytearray: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITAddress2_Impl::DeviceSpecificVariant(this, windows_core::from_raw_borrowed(&pcall), core::mem::transmute(&vardevspecificbytearray)).into() @@ -1941,7 +1941,7 @@ impl ITAddressCapabilities_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_AddressCapabilityString, Impl: ITAddressCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresscapstring: ADDRESS_CAPABILITY_STRING, ppcapabilitystring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_AddressCapabilityString, Impl: ITAddressCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresscapstring: ADDRESS_CAPABILITY_STRING, ppcapabilitystring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddressCapabilities_Impl::get_AddressCapabilityString(this, core::mem::transmute_copy(&addresscapstring)) { @@ -1952,7 +1952,7 @@ impl ITAddressCapabilities_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CallTreatments, Impl: ITAddressCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallTreatments, Impl: ITAddressCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddressCapabilities_Impl::CallTreatments(this) { @@ -1974,7 +1974,7 @@ impl ITAddressCapabilities_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CompletionMessages, Impl: ITAddressCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CompletionMessages, Impl: ITAddressCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddressCapabilities_Impl::CompletionMessages(this) { @@ -1996,7 +1996,7 @@ impl ITAddressCapabilities_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceClasses, Impl: ITAddressCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceClasses, Impl: ITAddressCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddressCapabilities_Impl::DeviceClasses(this) { @@ -2184,7 +2184,7 @@ impl windows_core::RuntimeName for ITAddressTranslation {} #[cfg(feature = "Win32_System_Com")] impl ITAddressTranslation_Vtbl { pub const fn new, Impl: ITAddressTranslation_Impl, const OFFSET: isize>() -> ITAddressTranslation_Vtbl { - unsafe extern "system" fn TranslateAddress, Impl: ITAddressTranslation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddresstotranslate: std::mem::MaybeUninit, lcard: i32, ltranslateoptions: i32, pptranslated: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn TranslateAddress, Impl: ITAddressTranslation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddresstotranslate: core::mem::MaybeUninit, lcard: i32, ltranslateoptions: i32, pptranslated: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddressTranslation_Impl::TranslateAddress(this, core::mem::transmute(&paddresstotranslate), core::mem::transmute_copy(&lcard), core::mem::transmute_copy(<ranslateoptions)) { @@ -2195,7 +2195,7 @@ impl ITAddressTranslation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TranslateDialog, Impl: ITAddressTranslation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndowner: isize, paddressin: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TranslateDialog, Impl: ITAddressTranslation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndowner: isize, paddressin: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITAddressTranslation_Impl::TranslateDialog(this, core::mem::transmute_copy(&hwndowner), core::mem::transmute(&paddressin)).into() @@ -2211,7 +2211,7 @@ impl ITAddressTranslation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Locations, Impl: ITAddressTranslation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Locations, Impl: ITAddressTranslation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddressTranslation_Impl::Locations(this) { @@ -2233,7 +2233,7 @@ impl ITAddressTranslation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CallingCards, Impl: ITAddressTranslation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallingCards, Impl: ITAddressTranslation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddressTranslation_Impl::CallingCards(this) { @@ -2271,7 +2271,7 @@ impl windows_core::RuntimeName for ITAddressTranslationInfo {} #[cfg(feature = "Win32_System_Com")] impl ITAddressTranslationInfo_Vtbl { pub const fn new, Impl: ITAddressTranslationInfo_Impl, const OFFSET: isize>() -> ITAddressTranslationInfo_Vtbl { - unsafe extern "system" fn DialableString, Impl: ITAddressTranslationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdialablestring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DialableString, Impl: ITAddressTranslationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdialablestring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddressTranslationInfo_Impl::DialableString(this) { @@ -2282,7 +2282,7 @@ impl ITAddressTranslationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayableString, Impl: ITAddressTranslationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdisplayablestring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayableString, Impl: ITAddressTranslationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdisplayablestring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAddressTranslationInfo_Impl::DisplayableString(this) { @@ -2386,7 +2386,7 @@ impl ITAgent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateSessionWithPIN, Impl: ITAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pacdgroup: *mut core::ffi::c_void, paddress: *mut core::ffi::c_void, ppin: std::mem::MaybeUninit, ppagentsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateSessionWithPIN, Impl: ITAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pacdgroup: *mut core::ffi::c_void, paddress: *mut core::ffi::c_void, ppin: core::mem::MaybeUninit, ppagentsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAgent_Impl::CreateSessionWithPIN(this, windows_core::from_raw_borrowed(&pacdgroup), windows_core::from_raw_borrowed(&paddress), core::mem::transmute(&ppin)) { @@ -2397,7 +2397,7 @@ impl ITAgent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ID, Impl: ITAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ID, Impl: ITAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAgent_Impl::ID(this) { @@ -2408,7 +2408,7 @@ impl ITAgent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn User, Impl: ITAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppuser: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn User, Impl: ITAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppuser: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAgent_Impl::User(this) { @@ -2528,7 +2528,7 @@ impl ITAgent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AgentSessions, Impl: ITAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AgentSessions, Impl: ITAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAgent_Impl::AgentSessions(this) { @@ -2621,7 +2621,7 @@ impl windows_core::RuntimeName for ITAgentHandler {} #[cfg(feature = "Win32_System_Com")] impl ITAgentHandler_Vtbl { pub const fn new, Impl: ITAgentHandler_Impl, const OFFSET: isize>() -> ITAgentHandler_Vtbl { - unsafe extern "system" fn Name, Impl: ITAgentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITAgentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAgentHandler_Impl::Name(this) { @@ -2643,7 +2643,7 @@ impl ITAgentHandler_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateAgentWithID, Impl: ITAgentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: std::mem::MaybeUninit, ppin: std::mem::MaybeUninit, ppagent: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateAgentWithID, Impl: ITAgentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: core::mem::MaybeUninit, ppin: core::mem::MaybeUninit, ppagent: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAgentHandler_Impl::CreateAgentWithID(this, core::mem::transmute(&pid), core::mem::transmute(&ppin)) { @@ -2676,7 +2676,7 @@ impl ITAgentHandler_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ACDGroups, Impl: ITAgentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ACDGroups, Impl: ITAgentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAgentHandler_Impl::ACDGroups(this) { @@ -2687,7 +2687,7 @@ impl ITAgentHandler_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UsableAddresses, Impl: ITAgentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UsableAddresses, Impl: ITAgentHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAgentHandler_Impl::UsableAddresses(this) { @@ -3383,7 +3383,7 @@ impl ITAutomatedPhoneControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SelectedCalls, Impl: ITAutomatedPhoneControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelectedCalls, Impl: ITAutomatedPhoneControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITAutomatedPhoneControl_Impl::SelectedCalls(this) { @@ -3536,7 +3536,7 @@ impl ITBasicCallControl_Vtbl { let this = (*this).get_impl(); ITBasicCallControl_Impl::Hold(this, core::mem::transmute_copy(&fhold)).into() } - unsafe extern "system" fn HandoffDirect, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, papplicationname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HandoffDirect, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, papplicationname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITBasicCallControl_Impl::HandoffDirect(this, core::mem::transmute(&papplicationname)).into() @@ -3556,7 +3556,7 @@ impl ITBasicCallControl_Vtbl { let this = (*this).get_impl(); ITBasicCallControl_Impl::Transfer(this, windows_core::from_raw_borrowed(&pcall), core::mem::transmute_copy(&fsync)).into() } - unsafe extern "system" fn BlindTransfer, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdestaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BlindTransfer, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdestaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITBasicCallControl_Impl::BlindTransfer(this, core::mem::transmute(&pdestaddress)).into() @@ -3566,12 +3566,12 @@ impl ITBasicCallControl_Vtbl { let this = (*this).get_impl(); ITBasicCallControl_Impl::SwapHold(this, windows_core::from_raw_borrowed(&pcall)).into() } - unsafe extern "system" fn ParkDirect, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pparkaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ParkDirect, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pparkaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITBasicCallControl_Impl::ParkDirect(this, core::mem::transmute(&pparkaddress)).into() } - unsafe extern "system" fn ParkIndirect, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppnondiraddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ParkIndirect, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppnondiraddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITBasicCallControl_Impl::ParkIndirect(this) { @@ -3592,12 +3592,12 @@ impl ITBasicCallControl_Vtbl { let this = (*this).get_impl(); ITBasicCallControl_Impl::SetQOS(this, core::mem::transmute_copy(&lmediatype), core::mem::transmute_copy(&servicelevel)).into() } - unsafe extern "system" fn Pickup, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pgroupid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Pickup, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pgroupid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITBasicCallControl_Impl::Pickup(this, core::mem::transmute(&pgroupid)).into() } - unsafe extern "system" fn Dial, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdestaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Dial, Impl: ITBasicCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdestaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITBasicCallControl_Impl::Dial(this, core::mem::transmute(&pdestaddress)).into() @@ -3649,7 +3649,7 @@ impl windows_core::RuntimeName for ITBasicCallControl2 {} #[cfg(feature = "Win32_System_Com")] impl ITBasicCallControl2_Vtbl { pub const fn new, Impl: ITBasicCallControl2_Impl, const OFFSET: isize>() -> ITBasicCallControl2_Vtbl { - unsafe extern "system" fn RequestTerminal, Impl: ITBasicCallControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrterminalclassguid: std::mem::MaybeUninit, lmediatype: i32, direction: TERMINAL_DIRECTION, ppterminal: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestTerminal, Impl: ITBasicCallControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrterminalclassguid: core::mem::MaybeUninit, lmediatype: i32, direction: TERMINAL_DIRECTION, ppterminal: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITBasicCallControl2_Impl::RequestTerminal(this, core::mem::transmute(&bstrterminalclassguid), core::mem::transmute_copy(&lmediatype), core::mem::transmute_copy(&direction)) { @@ -3710,7 +3710,7 @@ impl ITCallHub_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Calls, Impl: ITCallHub_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcalls: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Calls, Impl: ITCallHub_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcalls: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITCallHub_Impl::Calls(this) { @@ -3892,7 +3892,7 @@ impl ITCallInfo_Vtbl { let this = (*this).get_impl(); ITCallInfo_Impl::put_CallInfoLong(this, core::mem::transmute_copy(&callinfolong), core::mem::transmute_copy(&lcallinfolongval)).into() } - unsafe extern "system" fn get_CallInfoString, Impl: ITCallInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, callinfostring: CALLINFO_STRING, ppcallinfostring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_CallInfoString, Impl: ITCallInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, callinfostring: CALLINFO_STRING, ppcallinfostring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITCallInfo_Impl::get_CallInfoString(this, core::mem::transmute_copy(&callinfostring)) { @@ -3903,12 +3903,12 @@ impl ITCallInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_CallInfoString, Impl: ITCallInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, callinfostring: CALLINFO_STRING, pcallinfostring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_CallInfoString, Impl: ITCallInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, callinfostring: CALLINFO_STRING, pcallinfostring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITCallInfo_Impl::put_CallInfoString(this, core::mem::transmute_copy(&callinfostring), core::mem::transmute(&pcallinfostring)).into() } - unsafe extern "system" fn get_CallInfoBuffer, Impl: ITCallInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, callinfobuffer: CALLINFO_BUFFER, ppcallinfobuffer: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_CallInfoBuffer, Impl: ITCallInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, callinfobuffer: CALLINFO_BUFFER, ppcallinfobuffer: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITCallInfo_Impl::get_CallInfoBuffer(this, core::mem::transmute_copy(&callinfobuffer)) { @@ -3919,7 +3919,7 @@ impl ITCallInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_CallInfoBuffer, Impl: ITCallInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, callinfobuffer: CALLINFO_BUFFER, pcallinfobuffer: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_CallInfoBuffer, Impl: ITCallInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, callinfobuffer: CALLINFO_BUFFER, pcallinfobuffer: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITCallInfo_Impl::put_CallInfoBuffer(this, core::mem::transmute_copy(&callinfobuffer), core::mem::transmute(&pcallinfobuffer)).into() @@ -4316,7 +4316,7 @@ impl ITCallingCard_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CardName, Impl: ITCallingCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcardname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CardName, Impl: ITCallingCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcardname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITCallingCard_Impl::CardName(this) { @@ -4327,7 +4327,7 @@ impl ITCallingCard_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SameAreaDialingRule, Impl: ITCallingCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprule: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SameAreaDialingRule, Impl: ITCallingCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprule: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITCallingCard_Impl::SameAreaDialingRule(this) { @@ -4338,7 +4338,7 @@ impl ITCallingCard_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LongDistanceDialingRule, Impl: ITCallingCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprule: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LongDistanceDialingRule, Impl: ITCallingCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprule: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITCallingCard_Impl::LongDistanceDialingRule(this) { @@ -4349,7 +4349,7 @@ impl ITCallingCard_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InternationalDialingRule, Impl: ITCallingCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprule: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InternationalDialingRule, Impl: ITCallingCard_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprule: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITCallingCard_Impl::InternationalDialingRule(this) { @@ -4397,7 +4397,7 @@ impl ITCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ITCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ITCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -4440,7 +4440,7 @@ impl windows_core::RuntimeName for ITCollection2 {} #[cfg(feature = "Win32_System_Com")] impl ITCollection2_Vtbl { pub const fn new, Impl: ITCollection2_Impl, const OFFSET: isize>() -> ITCollection2_Vtbl { - unsafe extern "system" fn Add, Impl: ITCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvariant: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ITCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvariant: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITCollection2_Impl::Add(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&pvariant)).into() @@ -4801,7 +4801,7 @@ impl ITDigitsGatheredEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Digits, Impl: ITDigitsGatheredEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdigits: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Digits, Impl: ITDigitsGatheredEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdigits: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDigitsGatheredEvent_Impl::Digits(this) { @@ -4891,7 +4891,7 @@ impl ITDirectory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: ITDirectory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: ITDirectory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectory_Impl::DisplayName(this) { @@ -4939,7 +4939,7 @@ impl ITDirectory_Vtbl { let this = (*this).get_impl(); ITDirectory_Impl::Connect(this, core::mem::transmute_copy(&fsecure)).into() } - unsafe extern "system" fn Bind, Impl: ITDirectory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdomainname: std::mem::MaybeUninit, pusername: std::mem::MaybeUninit, ppassword: std::mem::MaybeUninit, lflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Bind, Impl: ITDirectory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdomainname: core::mem::MaybeUninit, pusername: core::mem::MaybeUninit, ppassword: core::mem::MaybeUninit, lflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITDirectory_Impl::Bind(this, core::mem::transmute(&pdomainname), core::mem::transmute(&pusername), core::mem::transmute(&ppassword), core::mem::transmute_copy(&lflags)).into() @@ -4964,7 +4964,7 @@ impl ITDirectory_Vtbl { let this = (*this).get_impl(); ITDirectory_Impl::DeleteDirectoryObject(this, windows_core::from_raw_borrowed(&pdirectoryobject)).into() } - unsafe extern "system" fn get_DirectoryObjects, Impl: ITDirectory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, directoryobjecttype: DIRECTORY_OBJECT_TYPE, pname: std::mem::MaybeUninit, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_DirectoryObjects, Impl: ITDirectory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, directoryobjecttype: DIRECTORY_OBJECT_TYPE, pname: core::mem::MaybeUninit, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectory_Impl::get_DirectoryObjects(this, core::mem::transmute_copy(&directoryobjecttype), core::mem::transmute(&pname)) { @@ -4975,7 +4975,7 @@ impl ITDirectory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumerateDirectoryObjects, Impl: ITDirectory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, directoryobjecttype: DIRECTORY_OBJECT_TYPE, pname: std::mem::MaybeUninit, ppenumobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateDirectoryObjects, Impl: ITDirectory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, directoryobjecttype: DIRECTORY_OBJECT_TYPE, pname: core::mem::MaybeUninit, ppenumobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectory_Impl::EnumerateDirectoryObjects(this, core::mem::transmute_copy(&directoryobjecttype), core::mem::transmute(&pname)) { @@ -5034,7 +5034,7 @@ impl ITDirectoryObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ITDirectoryObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITDirectoryObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectoryObject_Impl::Name(this) { @@ -5045,12 +5045,12 @@ impl ITDirectoryObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: ITDirectoryObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: ITDirectoryObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITDirectoryObject_Impl::SetName(this, core::mem::transmute(&pname)).into() } - unsafe extern "system" fn get_DialableAddrs, Impl: ITDirectoryObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwaddresstype: i32, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_DialableAddrs, Impl: ITDirectoryObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwaddresstype: i32, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectoryObject_Impl::get_DialableAddrs(this, core::mem::transmute_copy(&dwaddresstype)) { @@ -5126,7 +5126,7 @@ impl windows_core::RuntimeName for ITDirectoryObjectConference {} #[cfg(feature = "Win32_System_Com")] impl ITDirectoryObjectConference_Vtbl { pub const fn new, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>() -> ITDirectoryObjectConference_Vtbl { - unsafe extern "system" fn Protocol, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppprotocol: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Protocol, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppprotocol: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::Protocol(this) { @@ -5137,7 +5137,7 @@ impl ITDirectoryObjectConference_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Originator, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pporiginator: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Originator, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pporiginator: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::Originator(this) { @@ -5148,7 +5148,7 @@ impl ITDirectoryObjectConference_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOriginator, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poriginator: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOriginator, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poriginator: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITDirectoryObjectConference_Impl::SetOriginator(this, core::mem::transmute(&poriginator)).into() @@ -5169,7 +5169,7 @@ impl ITDirectoryObjectConference_Vtbl { let this = (*this).get_impl(); ITDirectoryObjectConference_Impl::SetAdvertisingScope(this, core::mem::transmute_copy(&advertisingscope)).into() } - unsafe extern "system" fn Url, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Url, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::Url(this) { @@ -5180,12 +5180,12 @@ impl ITDirectoryObjectConference_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUrl, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUrl, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITDirectoryObjectConference_Impl::SetUrl(this, core::mem::transmute(&purl)).into() } - unsafe extern "system" fn Description, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectoryObjectConference_Impl::Description(this) { @@ -5196,7 +5196,7 @@ impl ITDirectoryObjectConference_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: ITDirectoryObjectConference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITDirectoryObjectConference_Impl::SetDescription(this, core::mem::transmute(&pdescription)).into() @@ -5282,7 +5282,7 @@ impl windows_core::RuntimeName for ITDirectoryObjectUser {} #[cfg(feature = "Win32_System_Com")] impl ITDirectoryObjectUser_Vtbl { pub const fn new, Impl: ITDirectoryObjectUser_Impl, const OFFSET: isize>() -> ITDirectoryObjectUser_Vtbl { - unsafe extern "system" fn IPPhonePrimary, Impl: ITDirectoryObjectUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IPPhonePrimary, Impl: ITDirectoryObjectUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDirectoryObjectUser_Impl::IPPhonePrimary(this) { @@ -5293,7 +5293,7 @@ impl ITDirectoryObjectUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetIPPhonePrimary, Impl: ITDirectoryObjectUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetIPPhonePrimary, Impl: ITDirectoryObjectUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITDirectoryObjectUser_Impl::SetIPPhonePrimary(this, core::mem::transmute(&pname)).into() @@ -5317,7 +5317,7 @@ impl windows_core::RuntimeName for ITDispatchMapper {} #[cfg(feature = "Win32_System_Com")] impl ITDispatchMapper_Vtbl { pub const fn new, Impl: ITDispatchMapper_Impl, const OFFSET: isize>() -> ITDispatchMapper_Vtbl { - unsafe extern "system" fn QueryDispatchInterface, Impl: ITDispatchMapper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, piid: std::mem::MaybeUninit, pinterfacetomap: *mut core::ffi::c_void, ppreturnedinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QueryDispatchInterface, Impl: ITDispatchMapper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, piid: core::mem::MaybeUninit, pinterfacetomap: *mut core::ffi::c_void, ppreturnedinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITDispatchMapper_Impl::QueryDispatchInterface(this, core::mem::transmute(&piid), windows_core::from_raw_borrowed(&pinterfacetomap)) { @@ -5544,12 +5544,12 @@ impl ITForwardInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetForwardType, Impl: ITForwardInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, pdestaddress: std::mem::MaybeUninit, pcalleraddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetForwardType, Impl: ITForwardInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, pdestaddress: core::mem::MaybeUninit, pcalleraddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITForwardInformation_Impl::SetForwardType(this, core::mem::transmute_copy(&forwardtype), core::mem::transmute(&pdestaddress), core::mem::transmute(&pcalleraddress)).into() } - unsafe extern "system" fn get_ForwardTypeDestination, Impl: ITForwardInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, ppdestaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_ForwardTypeDestination, Impl: ITForwardInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, ppdestaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITForwardInformation_Impl::get_ForwardTypeDestination(this, core::mem::transmute_copy(&forwardtype)) { @@ -5560,7 +5560,7 @@ impl ITForwardInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_ForwardTypeCaller, Impl: ITForwardInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, ppcalleraddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_ForwardTypeCaller, Impl: ITForwardInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, ppcalleraddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITForwardInformation_Impl::get_ForwardTypeCaller(this, core::mem::transmute_copy(&forwardtype)) { @@ -5571,7 +5571,7 @@ impl ITForwardInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetForwardType, Impl: ITForwardInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, ppdestinationaddress: *mut std::mem::MaybeUninit, ppcalleraddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetForwardType, Impl: ITForwardInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, ppdestinationaddress: *mut core::mem::MaybeUninit, ppcalleraddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITForwardInformation_Impl::GetForwardType(this, core::mem::transmute_copy(&forwardtype), core::mem::transmute_copy(&ppdestinationaddress), core::mem::transmute_copy(&ppcalleraddress)).into() @@ -5608,12 +5608,12 @@ impl windows_core::RuntimeName for ITForwardInformation2 {} #[cfg(feature = "Win32_System_Com")] impl ITForwardInformation2_Vtbl { pub const fn new, Impl: ITForwardInformation2_Impl, const OFFSET: isize>() -> ITForwardInformation2_Vtbl { - unsafe extern "system" fn SetForwardType2, Impl: ITForwardInformation2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, pdestaddress: std::mem::MaybeUninit, destaddresstype: i32, pcalleraddress: std::mem::MaybeUninit, calleraddresstype: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetForwardType2, Impl: ITForwardInformation2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, pdestaddress: core::mem::MaybeUninit, destaddresstype: i32, pcalleraddress: core::mem::MaybeUninit, calleraddresstype: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITForwardInformation2_Impl::SetForwardType2(this, core::mem::transmute_copy(&forwardtype), core::mem::transmute(&pdestaddress), core::mem::transmute_copy(&destaddresstype), core::mem::transmute(&pcalleraddress), core::mem::transmute_copy(&calleraddresstype)).into() } - unsafe extern "system" fn GetForwardType2, Impl: ITForwardInformation2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, ppdestinationaddress: *mut std::mem::MaybeUninit, pdestaddresstype: *mut i32, ppcalleraddress: *mut std::mem::MaybeUninit, pcalleraddresstype: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetForwardType2, Impl: ITForwardInformation2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, forwardtype: i32, ppdestinationaddress: *mut core::mem::MaybeUninit, pdestaddresstype: *mut i32, ppcalleraddress: *mut core::mem::MaybeUninit, pcalleraddresstype: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITForwardInformation2_Impl::GetForwardType2(this, core::mem::transmute_copy(&forwardtype), core::mem::transmute_copy(&ppdestinationaddress), core::mem::transmute_copy(&pdestaddresstype), core::mem::transmute_copy(&ppcalleraddress), core::mem::transmute_copy(&pcalleraddresstype)).into() @@ -5696,17 +5696,17 @@ pub trait ITLegacyAddressMediaControl_Impl: Sized { impl windows_core::RuntimeName for ITLegacyAddressMediaControl {} impl ITLegacyAddressMediaControl_Vtbl { pub const fn new, Impl: ITLegacyAddressMediaControl_Impl, const OFFSET: isize>() -> ITLegacyAddressMediaControl_Vtbl { - unsafe extern "system" fn GetID, Impl: ITLegacyAddressMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdeviceclass: std::mem::MaybeUninit, pdwsize: *mut u32, ppdeviceid: *mut *mut u8) -> windows_core::HRESULT { + unsafe extern "system" fn GetID, Impl: ITLegacyAddressMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdeviceclass: core::mem::MaybeUninit, pdwsize: *mut u32, ppdeviceid: *mut *mut u8) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITLegacyAddressMediaControl_Impl::GetID(this, core::mem::transmute(&pdeviceclass), core::mem::transmute_copy(&pdwsize), core::mem::transmute_copy(&ppdeviceid)).into() } - unsafe extern "system" fn GetDevConfig, Impl: ITLegacyAddressMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdeviceclass: std::mem::MaybeUninit, pdwsize: *mut u32, ppdeviceconfig: *mut *mut u8) -> windows_core::HRESULT { + unsafe extern "system" fn GetDevConfig, Impl: ITLegacyAddressMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdeviceclass: core::mem::MaybeUninit, pdwsize: *mut u32, ppdeviceconfig: *mut *mut u8) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITLegacyAddressMediaControl_Impl::GetDevConfig(this, core::mem::transmute(&pdeviceclass), core::mem::transmute_copy(&pdwsize), core::mem::transmute_copy(&ppdeviceconfig)).into() } - unsafe extern "system" fn SetDevConfig, Impl: ITLegacyAddressMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdeviceclass: std::mem::MaybeUninit, dwsize: u32, pdeviceconfig: *const u8) -> windows_core::HRESULT { + unsafe extern "system" fn SetDevConfig, Impl: ITLegacyAddressMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdeviceclass: core::mem::MaybeUninit, dwsize: u32, pdeviceconfig: *const u8) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITLegacyAddressMediaControl_Impl::SetDevConfig(this, core::mem::transmute(&pdeviceclass), core::mem::transmute_copy(&dwsize), core::mem::transmute_copy(&pdeviceconfig)).into() @@ -5729,12 +5729,12 @@ pub trait ITLegacyAddressMediaControl2_Impl: Sized + ITLegacyAddressMediaControl impl windows_core::RuntimeName for ITLegacyAddressMediaControl2 {} impl ITLegacyAddressMediaControl2_Vtbl { pub const fn new, Impl: ITLegacyAddressMediaControl2_Impl, const OFFSET: isize>() -> ITLegacyAddressMediaControl2_Vtbl { - unsafe extern "system" fn ConfigDialog, Impl: ITLegacyAddressMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndowner: super::super::Foundation::HWND, pdeviceclass: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConfigDialog, Impl: ITLegacyAddressMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndowner: super::super::Foundation::HWND, pdeviceclass: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITLegacyAddressMediaControl2_Impl::ConfigDialog(this, core::mem::transmute_copy(&hwndowner), core::mem::transmute(&pdeviceclass)).into() } - unsafe extern "system" fn ConfigDialogEdit, Impl: ITLegacyAddressMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndowner: super::super::Foundation::HWND, pdeviceclass: std::mem::MaybeUninit, dwsizein: u32, pdeviceconfigin: *const u8, pdwsizeout: *mut u32, ppdeviceconfigout: *mut *mut u8) -> windows_core::HRESULT { + unsafe extern "system" fn ConfigDialogEdit, Impl: ITLegacyAddressMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndowner: super::super::Foundation::HWND, pdeviceclass: core::mem::MaybeUninit, dwsizein: u32, pdeviceconfigin: *const u8, pdwsizeout: *mut u32, ppdeviceconfigout: *mut *mut u8) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITLegacyAddressMediaControl2_Impl::ConfigDialogEdit(this, core::mem::transmute_copy(&hwndowner), core::mem::transmute(&pdeviceclass), core::mem::transmute_copy(&dwsizein), core::mem::transmute_copy(&pdeviceconfigin), core::mem::transmute_copy(&pdwsizeout), core::mem::transmute_copy(&ppdeviceconfigout)).into() @@ -5767,12 +5767,12 @@ impl ITLegacyCallMediaControl_Vtbl { let this = (*this).get_impl(); ITLegacyCallMediaControl_Impl::DetectDigits(this, core::mem::transmute_copy(&digitmode)).into() } - unsafe extern "system" fn GenerateDigits, Impl: ITLegacyCallMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdigits: std::mem::MaybeUninit, digitmode: i32) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateDigits, Impl: ITLegacyCallMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdigits: core::mem::MaybeUninit, digitmode: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITLegacyCallMediaControl_Impl::GenerateDigits(this, core::mem::transmute(&pdigits), core::mem::transmute_copy(&digitmode)).into() } - unsafe extern "system" fn GetID, Impl: ITLegacyCallMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdeviceclass: std::mem::MaybeUninit, pdwsize: *mut u32, ppdeviceid: *mut *mut u8) -> windows_core::HRESULT { + unsafe extern "system" fn GetID, Impl: ITLegacyCallMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdeviceclass: core::mem::MaybeUninit, pdwsize: *mut u32, ppdeviceid: *mut *mut u8) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITLegacyCallMediaControl_Impl::GetID(this, core::mem::transmute(&pdeviceclass), core::mem::transmute_copy(&pdwsize), core::mem::transmute_copy(&ppdeviceid)).into() @@ -5818,12 +5818,12 @@ impl windows_core::RuntimeName for ITLegacyCallMediaControl2 {} #[cfg(feature = "Win32_System_Com")] impl ITLegacyCallMediaControl2_Vtbl { pub const fn new, Impl: ITLegacyCallMediaControl2_Impl, const OFFSET: isize>() -> ITLegacyCallMediaControl2_Vtbl { - unsafe extern "system" fn GenerateDigits2, Impl: ITLegacyCallMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdigits: std::mem::MaybeUninit, digitmode: i32, lduration: i32) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateDigits2, Impl: ITLegacyCallMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdigits: core::mem::MaybeUninit, digitmode: i32, lduration: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITLegacyCallMediaControl2_Impl::GenerateDigits2(this, core::mem::transmute(&pdigits), core::mem::transmute_copy(&digitmode), core::mem::transmute_copy(&lduration)).into() } - unsafe extern "system" fn GatherDigits, Impl: ITLegacyCallMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, digitmode: i32, lnumdigits: i32, pterminationdigits: std::mem::MaybeUninit, lfirstdigittimeout: i32, linterdigittimeout: i32) -> windows_core::HRESULT { + unsafe extern "system" fn GatherDigits, Impl: ITLegacyCallMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, digitmode: i32, lnumdigits: i32, pterminationdigits: core::mem::MaybeUninit, lfirstdigittimeout: i32, linterdigittimeout: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITLegacyCallMediaControl2_Impl::GatherDigits(this, core::mem::transmute_copy(&digitmode), core::mem::transmute_copy(&lnumdigits), core::mem::transmute(&pterminationdigits), core::mem::transmute_copy(&lfirstdigittimeout), core::mem::transmute_copy(&linterdigittimeout)).into() @@ -5875,7 +5875,7 @@ impl ITLegacyCallMediaControl2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetIDAsVariant, Impl: ITLegacyCallMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceclass: std::mem::MaybeUninit, pvardeviceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetIDAsVariant, Impl: ITLegacyCallMediaControl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdeviceclass: core::mem::MaybeUninit, pvardeviceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITLegacyCallMediaControl2_Impl::GetIDAsVariant(this, core::mem::transmute(&bstrdeviceclass)) { @@ -6004,7 +6004,7 @@ impl ITLocationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LocationName, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pplocationname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocationName, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pplocationname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITLocationInfo_Impl::LocationName(this) { @@ -6015,7 +6015,7 @@ impl ITLocationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CityCode, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CityCode, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITLocationInfo_Impl::CityCode(this) { @@ -6026,7 +6026,7 @@ impl ITLocationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LocalAccessCode, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalAccessCode, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITLocationInfo_Impl::LocalAccessCode(this) { @@ -6037,7 +6037,7 @@ impl ITLocationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LongDistanceAccessCode, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LongDistanceAccessCode, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITLocationInfo_Impl::LongDistanceAccessCode(this) { @@ -6048,7 +6048,7 @@ impl ITLocationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TollPrefixList, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pptolllist: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TollPrefixList, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pptolllist: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITLocationInfo_Impl::TollPrefixList(this) { @@ -6059,7 +6059,7 @@ impl ITLocationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CancelCallWaitingCode, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CancelCallWaitingCode, Impl: ITLocationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITLocationInfo_Impl::CancelCallWaitingCode(this) { @@ -6210,12 +6210,12 @@ impl windows_core::RuntimeName for ITMediaPlayback {} #[cfg(feature = "Win32_System_Com")] impl ITMediaPlayback_Vtbl { pub const fn new, Impl: ITMediaPlayback_Impl, const OFFSET: isize>() -> ITMediaPlayback_Vtbl { - unsafe extern "system" fn SetPlayList, Impl: ITMediaPlayback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, playlistvariant: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlayList, Impl: ITMediaPlayback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, playlistvariant: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITMediaPlayback_Impl::SetPlayList(this, core::mem::transmute(&playlistvariant)).into() } - unsafe extern "system" fn PlayList, Impl: ITMediaPlayback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pplaylistvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlayList, Impl: ITMediaPlayback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pplaylistvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITMediaPlayback_Impl::PlayList(this) { @@ -6246,12 +6246,12 @@ impl windows_core::RuntimeName for ITMediaRecord {} #[cfg(feature = "Win32_System_Com")] impl ITMediaRecord_Vtbl { pub const fn new, Impl: ITMediaRecord_Impl, const OFFSET: isize>() -> ITMediaRecord_Vtbl { - unsafe extern "system" fn SetFileName, Impl: ITMediaRecord_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFileName, Impl: ITMediaRecord_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITMediaRecord_Impl::SetFileName(this, core::mem::transmute(&bstrfilename)).into() } - unsafe extern "system" fn FileName, Impl: ITMediaRecord_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileName, Impl: ITMediaRecord_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITMediaRecord_Impl::FileName(this) { @@ -6328,7 +6328,7 @@ impl windows_core::RuntimeName for ITMultiTrackTerminal {} #[cfg(feature = "Win32_System_Com")] impl ITMultiTrackTerminal_Vtbl { pub const fn new, Impl: ITMultiTrackTerminal_Impl, const OFFSET: isize>() -> ITMultiTrackTerminal_Vtbl { - unsafe extern "system" fn TrackTerminals, Impl: ITMultiTrackTerminal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TrackTerminals, Impl: ITMultiTrackTerminal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITMultiTrackTerminal_Impl::TrackTerminals(this) { @@ -6453,7 +6453,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); ITPhone_Impl::Close(this).into() } - unsafe extern "system" fn Addresses, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddresses: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Addresses, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddresses: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPhone_Impl::Addresses(this) { @@ -6486,7 +6486,7 @@ impl ITPhone_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_PhoneCapsString, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcscap: PHONECAPS_STRING, ppcapability: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_PhoneCapsString, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcscap: PHONECAPS_STRING, ppcapability: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPhone_Impl::get_PhoneCapsString(this, core::mem::transmute_copy(&pcscap)) { @@ -6497,7 +6497,7 @@ impl ITPhone_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Terminals, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddress: *mut core::ffi::c_void, pterminals: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Terminals, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddress: *mut core::ffi::c_void, pterminals: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPhone_Impl::get_Terminals(this, windows_core::from_raw_borrowed(&paddress)) { @@ -6551,7 +6551,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); ITPhone_Impl::put_ButtonFunction(this, core::mem::transmute_copy(&lbuttonid), core::mem::transmute_copy(&buttonfunction)).into() } - unsafe extern "system" fn get_ButtonText, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lbuttonid: i32, ppbuttontext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_ButtonText, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lbuttonid: i32, ppbuttontext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPhone_Impl::get_ButtonText(this, core::mem::transmute_copy(&lbuttonid)) { @@ -6562,7 +6562,7 @@ impl ITPhone_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_ButtonText, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lbuttonid: i32, bstrbuttontext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_ButtonText, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lbuttonid: i32, bstrbuttontext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITPhone_Impl::put_ButtonText(this, core::mem::transmute_copy(&lbuttonid), core::mem::transmute(&bstrbuttontext)).into() @@ -6642,7 +6642,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); ITPhone_Impl::GetPhoneCapsBuffer(this, core::mem::transmute_copy(&pcbcaps), core::mem::transmute_copy(&pdwsize), core::mem::transmute_copy(&ppphonecapsbuffer)).into() } - unsafe extern "system" fn get_PhoneCapsBuffer, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcbcaps: PHONECAPS_BUFFER, pvarbuffer: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_PhoneCapsBuffer, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcbcaps: PHONECAPS_BUFFER, pvarbuffer: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPhone_Impl::get_PhoneCapsBuffer(this, core::mem::transmute_copy(&pcbcaps)) { @@ -6669,7 +6669,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); ITPhone_Impl::put_LampMode(this, core::mem::transmute_copy(&llampid), core::mem::transmute_copy(&lampmode)).into() } - unsafe extern "system" fn Display, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Display, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPhone_Impl::Display(this) { @@ -6680,12 +6680,12 @@ impl ITPhone_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplay, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lrow: i32, lcolumn: i32, bstrdisplay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplay, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lrow: i32, lcolumn: i32, bstrdisplay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITPhone_Impl::SetDisplay(this, core::mem::transmute_copy(&lrow), core::mem::transmute_copy(&lcolumn), core::mem::transmute(&bstrdisplay)).into() } - unsafe extern "system" fn PreferredAddresses, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddresses: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PreferredAddresses, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddresses: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPhone_Impl::PreferredAddresses(this) { @@ -6712,7 +6712,7 @@ impl ITPhone_Vtbl { let this = (*this).get_impl(); ITPhone_Impl::DeviceSpecific(this, core::mem::transmute_copy(&pparams), core::mem::transmute_copy(&dwsize)).into() } - unsafe extern "system" fn DeviceSpecificVariant, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardevspecificbytearray: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceSpecificVariant, Impl: ITPhone_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardevspecificbytearray: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITPhone_Impl::DeviceSpecificVariant(this, core::mem::transmute(&vardevspecificbytearray)).into() @@ -6931,7 +6931,7 @@ impl ITPhoneEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NumberGathered, Impl: ITPhoneEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppnumber: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NumberGathered, Impl: ITPhoneEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppnumber: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPhoneEvent_Impl::NumberGathered(this) { @@ -6985,7 +6985,7 @@ impl windows_core::RuntimeName for ITPluggableTerminalClassInfo {} #[cfg(feature = "Win32_System_Com")] impl ITPluggableTerminalClassInfo_Vtbl { pub const fn new, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>() -> ITPluggableTerminalClassInfo_Vtbl { - unsafe extern "system" fn Name, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::Name(this) { @@ -6996,7 +6996,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Company, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcompany: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Company, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcompany: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::Company(this) { @@ -7007,7 +7007,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Version, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pversion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Version, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pversion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::Version(this) { @@ -7018,7 +7018,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TerminalClass, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pterminalclass: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TerminalClass, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pterminalclass: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::TerminalClass(this) { @@ -7029,7 +7029,7 @@ impl ITPluggableTerminalClassInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CLSID, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CLSID, Impl: ITPluggableTerminalClassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPluggableTerminalClassInfo_Impl::CLSID(this) { @@ -7134,7 +7134,7 @@ impl windows_core::RuntimeName for ITPluggableTerminalSuperclassInfo {} #[cfg(feature = "Win32_System_Com")] impl ITPluggableTerminalSuperclassInfo_Vtbl { pub const fn new, Impl: ITPluggableTerminalSuperclassInfo_Impl, const OFFSET: isize>() -> ITPluggableTerminalSuperclassInfo_Vtbl { - unsafe extern "system" fn Name, Impl: ITPluggableTerminalSuperclassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITPluggableTerminalSuperclassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPluggableTerminalSuperclassInfo_Impl::Name(this) { @@ -7145,7 +7145,7 @@ impl ITPluggableTerminalSuperclassInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CLSID, Impl: ITPluggableTerminalSuperclassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CLSID, Impl: ITPluggableTerminalSuperclassInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITPluggableTerminalSuperclassInfo_Impl::CLSID(this) { @@ -7437,7 +7437,7 @@ impl ITQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ITQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITQueue_Impl::Name(this) { @@ -7522,7 +7522,7 @@ impl windows_core::RuntimeName for ITRendezvous {} #[cfg(feature = "Win32_System_Com")] impl ITRendezvous_Vtbl { pub const fn new, Impl: ITRendezvous_Impl, const OFFSET: isize>() -> ITRendezvous_Vtbl { - unsafe extern "system" fn DefaultDirectories, Impl: ITRendezvous_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DefaultDirectories, Impl: ITRendezvous_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITRendezvous_Impl::DefaultDirectories(this) { @@ -7544,7 +7544,7 @@ impl ITRendezvous_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateDirectory, Impl: ITRendezvous_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, directorytype: DIRECTORY_TYPE, pname: std::mem::MaybeUninit, ppdir: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateDirectory, Impl: ITRendezvous_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, directorytype: DIRECTORY_TYPE, pname: core::mem::MaybeUninit, ppdir: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITRendezvous_Impl::CreateDirectory(this, core::mem::transmute_copy(&directorytype), core::mem::transmute(&pname)) { @@ -7555,7 +7555,7 @@ impl ITRendezvous_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateDirectoryObject, Impl: ITRendezvous_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, directoryobjecttype: DIRECTORY_OBJECT_TYPE, pname: std::mem::MaybeUninit, ppdirectoryobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateDirectoryObject, Impl: ITRendezvous_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, directoryobjecttype: DIRECTORY_OBJECT_TYPE, pname: core::mem::MaybeUninit, ppdirectoryobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITRendezvous_Impl::CreateDirectoryObject(this, core::mem::transmute_copy(&directoryobjecttype), core::mem::transmute(&pname)) { @@ -7587,7 +7587,7 @@ impl windows_core::RuntimeName for ITRequest {} #[cfg(feature = "Win32_System_Com")] impl ITRequest_Vtbl { pub const fn new, Impl: ITRequest_Impl, const OFFSET: isize>() -> ITRequest_Vtbl { - unsafe extern "system" fn MakeCall, Impl: ITRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdestaddress: std::mem::MaybeUninit, pappname: std::mem::MaybeUninit, pcalledparty: std::mem::MaybeUninit, pcomment: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MakeCall, Impl: ITRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdestaddress: core::mem::MaybeUninit, pappname: core::mem::MaybeUninit, pcalledparty: core::mem::MaybeUninit, pcomment: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITRequest_Impl::MakeCall(this, core::mem::transmute(&pdestaddress), core::mem::transmute(&pappname), core::mem::transmute(&pcalledparty), core::mem::transmute(&pcomment)).into() @@ -7634,7 +7634,7 @@ impl ITRequestEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DestAddress, Impl: ITRequestEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdestaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DestAddress, Impl: ITRequestEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppdestaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITRequestEvent_Impl::DestAddress(this) { @@ -7645,7 +7645,7 @@ impl ITRequestEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AppName, Impl: ITRequestEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppappname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppName, Impl: ITRequestEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppappname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITRequestEvent_Impl::AppName(this) { @@ -7656,7 +7656,7 @@ impl ITRequestEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CalledParty, Impl: ITRequestEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcalledparty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CalledParty, Impl: ITRequestEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcalledparty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITRequestEvent_Impl::CalledParty(this) { @@ -7667,7 +7667,7 @@ impl ITRequestEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Comment, Impl: ITRequestEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcomment: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Comment, Impl: ITRequestEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppcomment: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITRequestEvent_Impl::Comment(this) { @@ -7894,7 +7894,7 @@ impl ITStream_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ITStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITStream_Impl::Name(this) { @@ -7941,7 +7941,7 @@ impl ITStream_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Terminals, Impl: ITStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pterminals: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Terminals, Impl: ITStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pterminals: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITStream_Impl::Terminals(this) { @@ -8009,7 +8009,7 @@ impl ITStreamControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Streams, Impl: ITStreamControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Streams, Impl: ITStreamControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITStreamControl_Impl::Streams(this) { @@ -8084,7 +8084,7 @@ impl ITSubStream_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Terminals, Impl: ITSubStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pterminals: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Terminals, Impl: ITSubStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pterminals: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITSubStream_Impl::Terminals(this) { @@ -8161,7 +8161,7 @@ impl ITSubStreamControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SubStreams, Impl: ITSubStreamControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubStreams, Impl: ITSubStreamControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITSubStreamControl_Impl::SubStreams(this) { @@ -8218,7 +8218,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); ITTAPI_Impl::Shutdown(this).into() } - unsafe extern "system" fn Addresses, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Addresses, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTAPI_Impl::Addresses(this) { @@ -8256,7 +8256,7 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); ITTAPI_Impl::UnregisterNotifications(this, core::mem::transmute_copy(&lregister)).into() } - unsafe extern "system" fn CallHubs, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CallHubs, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTAPI_Impl::CallHubs(this) { @@ -8278,7 +8278,7 @@ impl ITTAPI_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCallHubTracking, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddresses: std::mem::MaybeUninit, btracking: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetCallHubTracking, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paddresses: core::mem::MaybeUninit, btracking: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITTAPI_Impl::SetCallHubTracking(this, core::mem::transmute(&paddresses), core::mem::transmute_copy(&btracking)).into() @@ -8294,7 +8294,7 @@ impl ITTAPI_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PrivateTAPIObjects, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrivateTAPIObjects, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTAPI_Impl::PrivateTAPIObjects(this) { @@ -8310,12 +8310,12 @@ impl ITTAPI_Vtbl { let this = (*this).get_impl(); ITTAPI_Impl::RegisterRequestRecipient(this, core::mem::transmute_copy(&lregistrationinstance), core::mem::transmute_copy(&lrequestmode), core::mem::transmute_copy(&fenable)).into() } - unsafe extern "system" fn SetAssistedTelephonyPriority, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pappfilename: std::mem::MaybeUninit, fpriority: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetAssistedTelephonyPriority, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pappfilename: core::mem::MaybeUninit, fpriority: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITTAPI_Impl::SetAssistedTelephonyPriority(this, core::mem::transmute(&pappfilename), core::mem::transmute_copy(&fpriority)).into() } - unsafe extern "system" fn SetApplicationPriority, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pappfilename: std::mem::MaybeUninit, lmediatype: i32, fpriority: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetApplicationPriority, Impl: ITTAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pappfilename: core::mem::MaybeUninit, lmediatype: i32, fpriority: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITTAPI_Impl::SetApplicationPriority(this, core::mem::transmute(&pappfilename), core::mem::transmute_copy(&lmediatype), core::mem::transmute_copy(&fpriority)).into() @@ -8371,7 +8371,7 @@ impl windows_core::RuntimeName for ITTAPI2 {} #[cfg(feature = "Win32_System_Com")] impl ITTAPI2_Vtbl { pub const fn new, Impl: ITTAPI2_Impl, const OFFSET: isize>() -> ITTAPI2_Vtbl { - unsafe extern "system" fn Phones, Impl: ITTAPI2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pphones: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Phones, Impl: ITTAPI2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pphones: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTAPI2_Impl::Phones(this) { @@ -8436,7 +8436,7 @@ impl ITTAPICallCenter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AgentHandlers, Impl: ITTAPICallCenter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AgentHandlers, Impl: ITTAPICallCenter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTAPICallCenter_Impl::AgentHandlers(this) { @@ -8653,7 +8653,7 @@ impl windows_core::RuntimeName for ITTerminal {} #[cfg(feature = "Win32_System_Com")] impl ITTerminal_Vtbl { pub const fn new, Impl: ITTerminal_Impl, const OFFSET: isize>() -> ITTerminal_Vtbl { - unsafe extern "system" fn Name, Impl: ITTerminal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITTerminal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTerminal_Impl::Name(this) { @@ -8686,7 +8686,7 @@ impl ITTerminal_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TerminalClass, Impl: ITTerminal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppterminalclass: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TerminalClass, Impl: ITTerminal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppterminalclass: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTerminal_Impl::TerminalClass(this) { @@ -8747,7 +8747,7 @@ impl windows_core::RuntimeName for ITTerminalSupport {} #[cfg(feature = "Win32_System_Com")] impl ITTerminalSupport_Vtbl { pub const fn new, Impl: ITTerminalSupport_Impl, const OFFSET: isize>() -> ITTerminalSupport_Vtbl { - unsafe extern "system" fn StaticTerminals, Impl: ITTerminalSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StaticTerminals, Impl: ITTerminalSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTerminalSupport_Impl::StaticTerminals(this) { @@ -8769,7 +8769,7 @@ impl ITTerminalSupport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DynamicTerminalClasses, Impl: ITTerminalSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DynamicTerminalClasses, Impl: ITTerminalSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTerminalSupport_Impl::DynamicTerminalClasses(this) { @@ -8791,7 +8791,7 @@ impl ITTerminalSupport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateTerminal, Impl: ITTerminalSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pterminalclass: std::mem::MaybeUninit, lmediatype: i32, direction: TERMINAL_DIRECTION, ppterminal: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTerminal, Impl: ITTerminalSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pterminalclass: core::mem::MaybeUninit, lmediatype: i32, direction: TERMINAL_DIRECTION, ppterminal: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTerminalSupport_Impl::CreateTerminal(this, core::mem::transmute(&pterminalclass), core::mem::transmute_copy(&lmediatype), core::mem::transmute_copy(&direction)) { @@ -8839,7 +8839,7 @@ impl windows_core::RuntimeName for ITTerminalSupport2 {} #[cfg(feature = "Win32_System_Com")] impl ITTerminalSupport2_Vtbl { pub const fn new, Impl: ITTerminalSupport2_Impl, const OFFSET: isize>() -> ITTerminalSupport2_Vtbl { - unsafe extern "system" fn PluggableSuperclasses, Impl: ITTerminalSupport2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PluggableSuperclasses, Impl: ITTerminalSupport2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTerminalSupport2_Impl::PluggableSuperclasses(this) { @@ -8861,7 +8861,7 @@ impl ITTerminalSupport2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_PluggableTerminalClasses, Impl: ITTerminalSupport2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrterminalsuperclass: std::mem::MaybeUninit, lmediatype: i32, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_PluggableTerminalClasses, Impl: ITTerminalSupport2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrterminalsuperclass: core::mem::MaybeUninit, lmediatype: i32, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITTerminalSupport2_Impl::get_PluggableTerminalClasses(this, core::mem::transmute(&bstrterminalsuperclass), core::mem::transmute_copy(&lmediatype)) { 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 189b5a695e..6cb1fdc28b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs @@ -1652,7 +1652,7 @@ windows_core::imp::define_interface!(IEnumACDGroup, IEnumACDGroup_Vtbl, 0x5afc31 impl std::ops::Deref for IEnumACDGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumACDGroup, windows_core::IUnknown); @@ -1668,7 +1668,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1687,7 +1687,7 @@ windows_core::imp::define_interface!(IEnumAddress, IEnumAddress_Vtbl, 0x1666fca1 impl std::ops::Deref for IEnumAddress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumAddress, windows_core::IUnknown); @@ -1703,7 +1703,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1722,7 +1722,7 @@ windows_core::imp::define_interface!(IEnumAgent, IEnumAgent_Vtbl, 0x5afc314d_4bc impl std::ops::Deref for IEnumAgent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumAgent, windows_core::IUnknown); @@ -1738,7 +1738,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1757,7 +1757,7 @@ windows_core::imp::define_interface!(IEnumAgentHandler, IEnumAgentHandler_Vtbl, impl std::ops::Deref for IEnumAgentHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumAgentHandler, windows_core::IUnknown); @@ -1773,7 +1773,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1792,7 +1792,7 @@ windows_core::imp::define_interface!(IEnumAgentSession, IEnumAgentSession_Vtbl, impl std::ops::Deref for IEnumAgentSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumAgentSession, windows_core::IUnknown); @@ -1808,7 +1808,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1827,7 +1827,7 @@ windows_core::imp::define_interface!(IEnumBstr, IEnumBstr_Vtbl, 0x35372049_0bc6_ impl std::ops::Deref for IEnumBstr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumBstr, windows_core::IUnknown); @@ -1842,14 +1842,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEnumBstr_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1858,7 +1858,7 @@ windows_core::imp::define_interface!(IEnumCall, IEnumCall_Vtbl, 0xae269cf6_935e_ impl std::ops::Deref for IEnumCall { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumCall, windows_core::IUnknown); @@ -1874,7 +1874,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1893,7 +1893,7 @@ windows_core::imp::define_interface!(IEnumCallHub, IEnumCallHub_Vtbl, 0xa3c15450 impl std::ops::Deref for IEnumCallHub { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumCallHub, windows_core::IUnknown); @@ -1909,7 +1909,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1928,7 +1928,7 @@ windows_core::imp::define_interface!(IEnumCallingCard, IEnumCallingCard_Vtbl, 0x impl std::ops::Deref for IEnumCallingCard { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumCallingCard, windows_core::IUnknown); @@ -1944,7 +1944,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1963,7 +1963,7 @@ windows_core::imp::define_interface!(IEnumDialableAddrs, IEnumDialableAddrs_Vtbl impl std::ops::Deref for IEnumDialableAddrs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDialableAddrs, windows_core::IUnknown); @@ -1978,14 +1978,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEnumDialableAddrs_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1994,7 +1994,7 @@ windows_core::imp::define_interface!(IEnumDirectory, IEnumDirectory_Vtbl, 0x3462 impl std::ops::Deref for IEnumDirectory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDirectory, windows_core::IUnknown); @@ -2010,7 +2010,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2029,7 +2029,7 @@ windows_core::imp::define_interface!(IEnumDirectoryObject, IEnumDirectoryObject_ impl std::ops::Deref for IEnumDirectoryObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDirectoryObject, windows_core::IUnknown); @@ -2045,7 +2045,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2064,7 +2064,7 @@ windows_core::imp::define_interface!(IEnumLocation, IEnumLocation_Vtbl, 0x0c4d8f impl std::ops::Deref for IEnumLocation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumLocation, windows_core::IUnknown); @@ -2080,7 +2080,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2099,7 +2099,7 @@ windows_core::imp::define_interface!(IEnumMcastScope, IEnumMcastScope_Vtbl, 0xdf impl std::ops::Deref for IEnumMcastScope { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumMcastScope, windows_core::IUnknown); @@ -2115,7 +2115,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2134,7 +2134,7 @@ windows_core::imp::define_interface!(IEnumPhone, IEnumPhone_Vtbl, 0xf15b7669_478 impl std::ops::Deref for IEnumPhone { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumPhone, windows_core::IUnknown); @@ -2150,7 +2150,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2169,7 +2169,7 @@ windows_core::imp::define_interface!(IEnumPluggableSuperclassInfo, IEnumPluggabl impl std::ops::Deref for IEnumPluggableSuperclassInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumPluggableSuperclassInfo, windows_core::IUnknown); @@ -2185,7 +2185,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2204,7 +2204,7 @@ windows_core::imp::define_interface!(IEnumPluggableTerminalClassInfo, IEnumPlugg impl std::ops::Deref for IEnumPluggableTerminalClassInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumPluggableTerminalClassInfo, windows_core::IUnknown); @@ -2220,7 +2220,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2239,7 +2239,7 @@ windows_core::imp::define_interface!(IEnumQueue, IEnumQueue_Vtbl, 0x5afc3158_4bc impl std::ops::Deref for IEnumQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumQueue, windows_core::IUnknown); @@ -2255,7 +2255,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2274,7 +2274,7 @@ windows_core::imp::define_interface!(IEnumStream, IEnumStream_Vtbl, 0xee3bd606_3 impl std::ops::Deref for IEnumStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumStream, windows_core::IUnknown); @@ -2290,7 +2290,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2309,7 +2309,7 @@ windows_core::imp::define_interface!(IEnumSubStream, IEnumSubStream_Vtbl, 0xee3b impl std::ops::Deref for IEnumSubStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSubStream, windows_core::IUnknown); @@ -2325,7 +2325,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2344,7 +2344,7 @@ windows_core::imp::define_interface!(IEnumTerminal, IEnumTerminal_Vtbl, 0xae269c impl std::ops::Deref for IEnumTerminal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTerminal, windows_core::IUnknown); @@ -2360,7 +2360,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2379,7 +2379,7 @@ windows_core::imp::define_interface!(IEnumTerminalClass, IEnumTerminalClass_Vtbl impl std::ops::Deref for IEnumTerminalClass { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTerminalClass, windows_core::IUnknown); @@ -2394,7 +2394,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2412,7 +2412,7 @@ windows_core::imp::define_interface!(IMcastAddressAllocation, IMcastAddressAlloc impl std::ops::Deref for IMcastAddressAllocation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2420,11 +2420,11 @@ windows_core::imp::interface_hierarchy!(IMcastAddressAllocation, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IMcastAddressAllocation { pub unsafe fn Scopes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scopes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateScopes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateScopes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2432,7 +2432,7 @@ impl IMcastAddressAllocation { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestAddress)(windows_core::Interface::as_raw(self), pscope.param().abi(), leasestarttime, leasestoptime, numaddresses, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2440,7 +2440,7 @@ impl IMcastAddressAllocation { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RenewAddress)(windows_core::Interface::as_raw(self), lreserved, prenewrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2456,7 +2456,7 @@ impl IMcastAddressAllocation { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLeaseInfo)(windows_core::Interface::as_raw(self), leasestarttime, leasestoptime, dwnumaddresses, ppaddresses, prequestid.param().abi(), pserveraddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2466,7 +2466,7 @@ impl IMcastAddressAllocation { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLeaseInfoFromVariant)(windows_core::Interface::as_raw(self), leasestarttime, leasestoptime, vaddresses.param().abi(), prequestid.param().abi(), pserveraddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2474,7 +2474,7 @@ impl IMcastAddressAllocation { #[repr(C)] pub struct IMcastAddressAllocation_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Scopes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Scopes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateScopes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RequestAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f64, f64, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2493,7 +2493,7 @@ pub struct IMcastAddressAllocation_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateLeaseInfo: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateLeaseInfoFromVariant: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLeaseInfoFromVariant: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateLeaseInfoFromVariant: usize, } @@ -2503,7 +2503,7 @@ windows_core::imp::define_interface!(IMcastLeaseInfo, IMcastLeaseInfo_Vtbl, 0xdf impl std::ops::Deref for IMcastLeaseInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2511,41 +2511,41 @@ windows_core::imp::interface_hierarchy!(IMcastLeaseInfo, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMcastLeaseInfo { pub unsafe fn RequestID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LeaseStartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LeaseStartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LeaseStopTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddressCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ServerAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TTL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TTL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Addresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Addresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2553,15 +2553,15 @@ impl IMcastLeaseInfo { #[repr(C)] pub struct IMcastLeaseInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub RequestID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LeaseStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetLeaseStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub LeaseStopTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetLeaseStopTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub AddressCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServerAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TTL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Addresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Addresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2570,7 +2570,7 @@ windows_core::imp::define_interface!(IMcastScope, IMcastScope_Vtbl, 0xdf0daef4_a impl std::ops::Deref for IMcastScope { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2578,23 +2578,23 @@ windows_core::imp::interface_hierarchy!(IMcastScope, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IMcastScope { pub unsafe fn ScopeID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScopeID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ServerID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InterfaceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InterfaceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ScopeDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScopeDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TTL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TTL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2605,7 +2605,7 @@ pub struct IMcastScope_Vtbl { pub ScopeID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ServerID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub InterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ScopeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ScopeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TTL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2614,7 +2614,7 @@ windows_core::imp::define_interface!(ITACDGroup, ITACDGroup_Vtbl, 0x5afc3148_4bc impl std::ops::Deref for ITACDGroup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2622,15 +2622,15 @@ windows_core::imp::interface_hierarchy!(ITACDGroup, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl ITACDGroup { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateQueues(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateQueues)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Queues(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Queues)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2638,9 +2638,9 @@ impl ITACDGroup { #[repr(C)] pub struct ITACDGroup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Queues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Queues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITACDGroupEvent, ITACDGroupEvent_Vtbl, 0x297f3032_bd11_11d1_a0a7_00805fc147d3); @@ -2648,7 +2648,7 @@ windows_core::imp::define_interface!(ITACDGroupEvent, ITACDGroupEvent_Vtbl, 0x29 impl std::ops::Deref for ITACDGroupEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2657,11 +2657,11 @@ windows_core::imp::interface_hierarchy!(ITACDGroupEvent, windows_core::IUnknown, impl ITACDGroupEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Group(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Group)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2679,14 +2679,14 @@ windows_core::imp::define_interface!(ITAMMediaFormat, ITAMMediaFormat_Vtbl, 0x03 impl std::ops::Deref for ITAMMediaFormat { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITAMMediaFormat, windows_core::IUnknown); impl ITAMMediaFormat { #[cfg(feature = "Win32_Media_MediaFoundation")] pub unsafe fn MediaFormat(&self) -> windows_core::Result<*mut super::super::Media::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -2712,7 +2712,7 @@ windows_core::imp::define_interface!(ITASRTerminalEvent, ITASRTerminalEvent_Vtbl impl std::ops::Deref for ITASRTerminalEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2721,16 +2721,16 @@ windows_core::imp::interface_hierarchy!(ITASRTerminalEvent, windows_core::IUnkno impl ITASRTerminalEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Terminal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2754,7 +2754,7 @@ windows_core::imp::define_interface!(ITAddress, ITAddress_Vtbl, 0xb1efc386_9355_ impl std::ops::Deref for ITAddress { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2762,20 +2762,20 @@ windows_core::imp::interface_hierarchy!(ITAddress, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl ITAddress { pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddressName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddressName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TAPIObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TAPIObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2783,24 +2783,24 @@ impl ITAddress { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCall)(windows_core::Interface::as_raw(self), pdestaddress.param().abi(), laddresstype, lmediatypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Calls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Calls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateCalls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateCalls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DialableAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DialableAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateForwardInfoObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateForwardInfoObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2813,7 +2813,7 @@ impl ITAddress { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentForwardInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentForwardInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMessageWaiting(&self, fmessagewaiting: P0) -> windows_core::Result<()> @@ -2823,7 +2823,7 @@ impl ITAddress { (windows_core::Interface::vtable(self).SetMessageWaiting)(windows_core::Interface::as_raw(self), fmessagewaiting.param().abi()).ok() } pub unsafe fn MessageWaiting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MessageWaiting)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDoNotDisturb(&self, fdonotdisturb: P0) -> windows_core::Result<()> @@ -2833,7 +2833,7 @@ impl ITAddress { (windows_core::Interface::vtable(self).SetDoNotDisturb)(windows_core::Interface::as_raw(self), fdonotdisturb.param().abi()).ok() } pub unsafe fn DoNotDisturb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoNotDisturb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2842,19 +2842,19 @@ impl ITAddress { pub struct ITAddress_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ADDRESS_STATE) -> windows_core::HRESULT, - pub AddressName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddressName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub TAPIObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] TAPIObject: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateCall: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCall: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateCall: usize, - pub Calls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Calls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DialableAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DialableAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateForwardInfoObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2878,7 +2878,7 @@ windows_core::imp::define_interface!(ITAddress2, ITAddress2_Vtbl, 0xb0ae5d9b_be5 impl std::ops::Deref for ITAddress2 { type Target = ITAddress; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2886,11 +2886,11 @@ windows_core::imp::interface_hierarchy!(ITAddress2, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl ITAddress2 { pub unsafe fn Phones(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Phones)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumeratePhones(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumeratePhones)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2898,19 +2898,19 @@ impl ITAddress2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPhoneFromTerminal)(windows_core::Interface::as_raw(self), pterminal.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PreferredPhones(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredPhones)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumeratePreferredPhones(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumeratePreferredPhones)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_EventFilter(&self, tapievent: TAPI_EVENT, lsubevent: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EventFilter)(windows_core::Interface::as_raw(self), tapievent, lsubevent, &mut result__).map(|| result__) } pub unsafe fn put_EventFilter(&self, tapievent: TAPI_EVENT, lsubevent: i32, benable: P0) -> windows_core::Result<()> @@ -2935,7 +2935,7 @@ impl ITAddress2 { (windows_core::Interface::vtable(self).DeviceSpecificVariant)(windows_core::Interface::as_raw(self), pcall.param().abi(), vardevspecificbytearray.param().abi()).ok() } pub unsafe fn NegotiateExtVersion(&self, llowversion: i32, lhighversion: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NegotiateExtVersion)(windows_core::Interface::as_raw(self), llowversion, lhighversion, &mut result__).map(|| result__) } } @@ -2943,13 +2943,13 @@ impl ITAddress2 { #[repr(C)] pub struct ITAddress2_Vtbl { pub base__: ITAddress_Vtbl, - pub Phones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Phones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumeratePhones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetPhoneFromTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetPhoneFromTerminal: usize, - pub PreferredPhones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PreferredPhones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumeratePreferredPhones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_EventFilter: unsafe extern "system" fn(*mut core::ffi::c_void, TAPI_EVENT, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub put_EventFilter: unsafe extern "system" fn(*mut core::ffi::c_void, TAPI_EVENT, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -2958,7 +2958,7 @@ pub struct ITAddress2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] DeviceSpecific: usize, #[cfg(feature = "Win32_System_Com")] - pub DeviceSpecificVariant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceSpecificVariant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DeviceSpecificVariant: usize, pub NegotiateExtVersion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, @@ -2969,7 +2969,7 @@ windows_core::imp::define_interface!(ITAddressCapabilities, ITAddressCapabilitie impl std::ops::Deref for ITAddressCapabilities { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2977,35 +2977,35 @@ windows_core::imp::interface_hierarchy!(ITAddressCapabilities, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ITAddressCapabilities { pub unsafe fn get_AddressCapability(&self, addresscap: ADDRESS_CAPABILITY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AddressCapability)(windows_core::Interface::as_raw(self), addresscap, &mut result__).map(|| result__) } pub unsafe fn get_AddressCapabilityString(&self, addresscapstring: ADDRESS_CAPABILITY_STRING) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AddressCapabilityString)(windows_core::Interface::as_raw(self), addresscapstring, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CallTreatments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallTreatments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateCallTreatments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateCallTreatments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CompletionMessages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompletionMessages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateCompletionMessages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateCompletionMessages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeviceClasses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceClasses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateDeviceClasses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateDeviceClasses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3014,12 +3014,12 @@ impl ITAddressCapabilities { pub struct ITAddressCapabilities_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub get_AddressCapability: unsafe extern "system" fn(*mut core::ffi::c_void, ADDRESS_CAPABILITY, *mut i32) -> windows_core::HRESULT, - pub get_AddressCapabilityString: unsafe extern "system" fn(*mut core::ffi::c_void, ADDRESS_CAPABILITY_STRING, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CallTreatments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_AddressCapabilityString: unsafe extern "system" fn(*mut core::ffi::c_void, ADDRESS_CAPABILITY_STRING, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallTreatments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateCallTreatments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CompletionMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CompletionMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateCompletionMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeviceClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateDeviceClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -3028,7 +3028,7 @@ windows_core::imp::define_interface!(ITAddressDeviceSpecificEvent, ITAddressDevi impl std::ops::Deref for ITAddressDeviceSpecificEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3037,24 +3037,24 @@ windows_core::imp::interface_hierarchy!(ITAddressDeviceSpecificEvent, windows_co impl ITAddressDeviceSpecificEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn lParam1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).lParam1)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn lParam2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).lParam2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn lParam3(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).lParam3)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3080,7 +3080,7 @@ windows_core::imp::define_interface!(ITAddressEvent, ITAddressEvent_Vtbl, 0x831c impl std::ops::Deref for ITAddressEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3089,16 +3089,16 @@ windows_core::imp::interface_hierarchy!(ITAddressEvent, windows_core::IUnknown, impl ITAddressEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Terminal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3122,7 +3122,7 @@ windows_core::imp::define_interface!(ITAddressTranslation, ITAddressTranslation_ impl std::ops::Deref for ITAddressTranslation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3134,7 +3134,7 @@ impl ITAddressTranslation { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TranslateAddress)(windows_core::Interface::as_raw(self), paddresstotranslate.param().abi(), lcard, ltranslateoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TranslateDialog(&self, hwndowner: isize, paddressin: P0) -> windows_core::Result<()> @@ -3144,19 +3144,19 @@ impl ITAddressTranslation { (windows_core::Interface::vtable(self).TranslateDialog)(windows_core::Interface::as_raw(self), hwndowner, paddressin.param().abi()).ok() } pub unsafe fn EnumerateLocations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateLocations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Locations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Locations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateCallingCards(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateCallingCards)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CallingCards(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallingCards)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3165,14 +3165,14 @@ impl ITAddressTranslation { pub struct ITAddressTranslation_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub TranslateAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TranslateAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] TranslateAddress: usize, - pub TranslateDialog: unsafe extern "system" fn(*mut core::ffi::c_void, isize, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TranslateDialog: unsafe extern "system" fn(*mut core::ffi::c_void, isize, core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateLocations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Locations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Locations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateCallingCards: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CallingCards: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallingCards: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAddressTranslationInfo, ITAddressTranslationInfo_Vtbl, 0xafc15945_8d40_11d1_a09e_00805fc147d3); @@ -3180,7 +3180,7 @@ windows_core::imp::define_interface!(ITAddressTranslationInfo, ITAddressTranslat impl std::ops::Deref for ITAddressTranslationInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3188,23 +3188,23 @@ windows_core::imp::interface_hierarchy!(ITAddressTranslationInfo, windows_core:: #[cfg(feature = "Win32_System_Com")] impl ITAddressTranslationInfo { pub unsafe fn DialableString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DialableString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayableString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayableString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentCountryCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DestinationCountryCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationCountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TranslationResults(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TranslationResults)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3212,8 +3212,8 @@ impl ITAddressTranslationInfo { #[repr(C)] pub struct ITAddressTranslationInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub DialableString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayableString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DialableString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayableString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentCountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DestinationCountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TranslationResults: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3224,7 +3224,7 @@ windows_core::imp::define_interface!(ITAgent, ITAgent_Vtbl, 0x5770ece5_4b27_11d1 impl std::ops::Deref for ITAgent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3232,7 +3232,7 @@ windows_core::imp::interface_hierarchy!(ITAgent, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl ITAgent { pub unsafe fn EnumerateAgentSessions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateAgentSessions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3241,7 +3241,7 @@ impl ITAgent { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSession)(windows_core::Interface::as_raw(self), pacdgroup.param().abi(), paddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3251,62 +3251,62 @@ impl ITAgent { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSessionWithPIN)(windows_core::Interface::as_raw(self), pacdgroup.param().abi(), paddress.param().abi(), ppin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn User(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).User)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MeasurementPeriod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OverallCallRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OverallCallRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfACDCalls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfACDCalls)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfIncomingCalls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfIncomingCalls)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfOutgoingCalls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfOutgoingCalls)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalACDTalkTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalACDTalkTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalACDCallTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalACDCallTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalWrapUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalWrapUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AgentSessions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AgentSessions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3320,11 +3320,11 @@ pub struct ITAgent_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateSession: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateSessionWithPIN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSessionWithPIN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateSessionWithPIN: usize, - pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, AGENT_STATE) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AGENT_STATE) -> windows_core::HRESULT, pub SetMeasurementPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -3339,7 +3339,7 @@ pub struct ITAgent_Vtbl { pub TotalACDTalkTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TotalACDCallTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TotalWrapUpTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub AgentSessions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AgentSessions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAgentEvent, ITAgentEvent_Vtbl, 0x5afc314a_4bcc_11d1_bf80_00805fc147d3); @@ -3347,7 +3347,7 @@ windows_core::imp::define_interface!(ITAgentEvent, ITAgentEvent_Vtbl, 0x5afc314a impl std::ops::Deref for ITAgentEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3356,11 +3356,11 @@ windows_core::imp::interface_hierarchy!(ITAgentEvent, windows_core::IUnknown, su impl ITAgentEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Agent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Agent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3380,7 +3380,7 @@ windows_core::imp::define_interface!(ITAgentHandler, ITAgentHandler_Vtbl, 0x587e impl std::ops::Deref for ITAgentHandler { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3388,12 +3388,12 @@ windows_core::imp::interface_hierarchy!(ITAgentHandler, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ITAgentHandler { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAgent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAgent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3402,23 +3402,23 @@ impl ITAgentHandler { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAgentWithID)(windows_core::Interface::as_raw(self), pid.param().abi(), ppin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateACDGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateACDGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateUsableAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateUsableAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ACDGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ACDGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UsableAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UsableAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3426,19 +3426,19 @@ impl ITAgentHandler { #[repr(C)] pub struct ITAgentHandler_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateAgent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateAgent: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateAgentWithID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAgentWithID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateAgentWithID: usize, pub EnumerateACDGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateUsableAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ACDGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UsableAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ACDGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UsableAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAgentHandlerEvent, ITAgentHandlerEvent_Vtbl, 0x297f3034_bd11_11d1_a0a7_00805fc147d3); @@ -3446,7 +3446,7 @@ windows_core::imp::define_interface!(ITAgentHandlerEvent, ITAgentHandlerEvent_Vt impl std::ops::Deref for ITAgentHandlerEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3455,11 +3455,11 @@ windows_core::imp::interface_hierarchy!(ITAgentHandlerEvent, windows_core::IUnkn impl ITAgentHandlerEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn AgentHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AgentHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3479,7 +3479,7 @@ windows_core::imp::define_interface!(ITAgentSession, ITAgentSession_Vtbl, 0x5afc impl std::ops::Deref for ITAgentSession { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3488,73 +3488,73 @@ windows_core::imp::interface_hierarchy!(ITAgentSession, windows_core::IUnknown, impl ITAgentSession { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Agent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Agent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ACDGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ACDGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionStartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionStartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfCalls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfCalls)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalTalkTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalTalkTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AverageTalkTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AverageTalkTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalCallTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalCallTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AverageCallTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AverageCallTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalWrapUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalWrapUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AverageWrapUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AverageWrapUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ACDCallRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ACDCallRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LongestTimeToAnswer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LongestTimeToAnswer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AverageTimeToAnswer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AverageTimeToAnswer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3598,7 +3598,7 @@ windows_core::imp::define_interface!(ITAgentSessionEvent, ITAgentSessionEvent_Vt impl std::ops::Deref for ITAgentSessionEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3607,11 +3607,11 @@ windows_core::imp::interface_hierarchy!(ITAgentSessionEvent, windows_core::IUnkn impl ITAgentSessionEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3629,7 +3629,7 @@ windows_core::imp::define_interface!(ITAllocatorProperties, ITAllocatorPropertie impl std::ops::Deref for ITAllocatorProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITAllocatorProperties, windows_core::IUnknown); @@ -3640,7 +3640,7 @@ impl ITAllocatorProperties { } #[cfg(feature = "Win32_Media_DirectShow")] pub unsafe fn GetAllocatorProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocatorProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllocateBuffers(&self, ballocbuffers: P0) -> windows_core::Result<()> @@ -3650,14 +3650,14 @@ impl ITAllocatorProperties { (windows_core::Interface::vtable(self).SetAllocateBuffers)(windows_core::Interface::as_raw(self), ballocbuffers.param().abi()).ok() } pub unsafe fn GetAllocateBuffers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocateBuffers)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBufferSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3683,7 +3683,7 @@ windows_core::imp::define_interface!(ITAutomatedPhoneControl, ITAutomatedPhoneCo impl std::ops::Deref for ITAutomatedPhoneControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3697,7 +3697,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tone)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StartRinger(&self, lringmode: i32, lduration: i32) -> windows_core::Result<()> { @@ -3707,7 +3707,7 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ringer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPhoneHandlingEnabled(&self, fenabled: P0) -> windows_core::Result<()> @@ -3717,14 +3717,14 @@ impl ITAutomatedPhoneControl { (windows_core::Interface::vtable(self).SetPhoneHandlingEnabled)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn PhoneHandlingEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhoneHandlingEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoEndOfNumberTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoDialtone(&self, fenabled: P0) -> windows_core::Result<()> @@ -3734,7 +3734,7 @@ impl ITAutomatedPhoneControl { (windows_core::Interface::vtable(self).SetAutoDialtone)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn AutoDialtone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoDialtone)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoStopTonesOnOnHook(&self, fenabled: P0) -> windows_core::Result<()> @@ -3744,7 +3744,7 @@ impl ITAutomatedPhoneControl { (windows_core::Interface::vtable(self).SetAutoStopTonesOnOnHook)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn AutoStopTonesOnOnHook(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoStopTonesOnOnHook)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoStopRingOnOffHook(&self, fenabled: P0) -> windows_core::Result<()> @@ -3754,7 +3754,7 @@ impl ITAutomatedPhoneControl { (windows_core::Interface::vtable(self).SetAutoStopRingOnOffHook)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn AutoStopRingOnOffHook(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoStopRingOnOffHook)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoKeypadTones(&self, fenabled: P0) -> windows_core::Result<()> @@ -3764,14 +3764,14 @@ impl ITAutomatedPhoneControl { (windows_core::Interface::vtable(self).SetAutoKeypadTones)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn AutoKeypadTones(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoKeypadTones)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoKeypadTonesMinimumDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoVolumeControl(&self, fenabled: P0) -> windows_core::Result<()> @@ -3781,28 +3781,28 @@ impl ITAutomatedPhoneControl { (windows_core::Interface::vtable(self).SetAutoVolumeControl)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn AutoVolumeControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoVolumeControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoVolumeControlStep)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoVolumeControlRepeatDelay)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoVolumeControlRepeatPeriod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3821,11 +3821,11 @@ impl ITAutomatedPhoneControl { (windows_core::Interface::vtable(self).UnselectCall)(windows_core::Interface::as_raw(self), pcall.param().abi()).ok() } pub unsafe fn EnumerateSelectedCalls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateSelectedCalls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectedCalls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectedCalls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3870,7 +3870,7 @@ pub struct ITAutomatedPhoneControl_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] UnselectCall: usize, pub EnumerateSelectedCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SelectedCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelectedCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITBasicAudioTerminal, ITBasicAudioTerminal_Vtbl, 0xb1efc38d_9355_11d0_835c_00aa003ccabd); @@ -3878,7 +3878,7 @@ windows_core::imp::define_interface!(ITBasicAudioTerminal, ITBasicAudioTerminal_ impl std::ops::Deref for ITBasicAudioTerminal { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3889,14 +3889,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Volume)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Balance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3915,7 +3915,7 @@ windows_core::imp::define_interface!(ITBasicCallControl, ITBasicCallControl_Vtbl impl std::ops::Deref for ITBasicCallControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3985,7 +3985,7 @@ impl ITBasicCallControl { (windows_core::Interface::vtable(self).ParkDirect)(windows_core::Interface::as_raw(self), pparkaddress.param().abi()).ok() } pub unsafe fn ParkIndirect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParkIndirect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Unpark(&self) -> windows_core::Result<()> { @@ -4021,7 +4021,7 @@ pub struct ITBasicCallControl_Vtbl { pub Answer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void, DISCONNECT_CODE) -> windows_core::HRESULT, pub Hold: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub HandoffDirect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HandoffDirect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub HandoffIndirect: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Conference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4031,17 +4031,17 @@ pub struct ITBasicCallControl_Vtbl { pub Transfer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Transfer: usize, - pub BlindTransfer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BlindTransfer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SwapHold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SwapHold: usize, - pub ParkDirect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ParkIndirect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParkDirect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParkIndirect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Unpark: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetQOS: unsafe extern "system" fn(*mut core::ffi::c_void, i32, QOS_SERVICE_LEVEL) -> windows_core::HRESULT, - pub Pickup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Dial: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pickup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Dial: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Finish: unsafe extern "system" fn(*mut core::ffi::c_void, FINISH_MODE) -> windows_core::HRESULT, pub RemoveFromConference: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -4051,7 +4051,7 @@ windows_core::imp::define_interface!(ITBasicCallControl2, ITBasicCallControl2_Vt impl std::ops::Deref for ITBasicCallControl2 { type Target = ITBasicCallControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4063,7 +4063,7 @@ impl ITBasicCallControl2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestTerminal)(windows_core::Interface::as_raw(self), bstrterminalclassguid.param().abi(), lmediatype, direction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4086,7 +4086,7 @@ impl ITBasicCallControl2 { pub struct ITBasicCallControl2_Vtbl { pub base__: ITBasicCallControl_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub RequestTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, TERMINAL_DIRECTION, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, TERMINAL_DIRECTION, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RequestTerminal: usize, #[cfg(feature = "Win32_System_Com")] @@ -4104,7 +4104,7 @@ windows_core::imp::define_interface!(ITCallHub, ITCallHub_Vtbl, 0xa3c1544e_5b92_ impl std::ops::Deref for ITCallHub { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4115,19 +4115,19 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateCalls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Calls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Calls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NumCalls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumCalls)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4137,7 +4137,7 @@ pub struct ITCallHub_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Calls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Calls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NumCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CALLHUB_STATE) -> windows_core::HRESULT, } @@ -4147,7 +4147,7 @@ windows_core::imp::define_interface!(ITCallHubEvent, ITCallHubEvent_Vtbl, 0xa3c1 impl std::ops::Deref for ITCallHubEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4155,17 +4155,17 @@ windows_core::imp::interface_hierarchy!(ITCallHubEvent, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ITCallHubEvent { pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CallHub(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallHub)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4189,7 +4189,7 @@ windows_core::imp::define_interface!(ITCallInfo, ITCallInfo_Vtbl, 0x350f85d1_122 impl std::ops::Deref for ITCallInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4198,31 +4198,31 @@ windows_core::imp::interface_hierarchy!(ITCallInfo, windows_core::IUnknown, supe impl ITCallInfo { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CallState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Privilege(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Privilege)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CallHub(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallHub)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_CallInfoLong(&self, callinfolong: CALLINFO_LONG) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_CallInfoLong)(windows_core::Interface::as_raw(self), callinfolong, &mut result__).map(|| result__) } pub unsafe fn put_CallInfoLong(&self, callinfolong: CALLINFO_LONG, lcallinfolongval: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).put_CallInfoLong)(windows_core::Interface::as_raw(self), callinfolong, lcallinfolongval).ok() } pub unsafe fn get_CallInfoString(&self, callinfostring: CALLINFO_STRING) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_CallInfoString)(windows_core::Interface::as_raw(self), callinfostring, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_CallInfoString(&self, callinfostring: CALLINFO_STRING, pcallinfostring: P0) -> windows_core::Result<()> @@ -4232,7 +4232,7 @@ impl ITCallInfo { (windows_core::Interface::vtable(self).put_CallInfoString)(windows_core::Interface::as_raw(self), callinfostring, pcallinfostring.param().abi()).ok() } pub unsafe fn get_CallInfoBuffer(&self, callinfobuffer: CALLINFO_BUFFER) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_CallInfoBuffer)(windows_core::Interface::as_raw(self), callinfobuffer, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_CallInfoBuffer(&self, callinfobuffer: CALLINFO_BUFFER, pcallinfobuffer: P0) -> windows_core::Result<()> @@ -4267,10 +4267,10 @@ pub struct ITCallInfo_Vtbl { CallHub: usize, pub get_CallInfoLong: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_LONG, *mut i32) -> windows_core::HRESULT, pub put_CallInfoLong: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_LONG, i32) -> windows_core::HRESULT, - pub get_CallInfoString: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_STRING, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_CallInfoString: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_STRING, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_CallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_CallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_CallInfoString: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_STRING, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_CallInfoString: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_STRING, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_CallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_CallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetCallInfoBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, CALLINFO_BUFFER, u32, *const u8) -> windows_core::HRESULT, pub ReleaseUserUserInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4281,7 +4281,7 @@ windows_core::imp::define_interface!(ITCallInfo2, ITCallInfo2_Vtbl, 0x94d70ca6_7 impl std::ops::Deref for ITCallInfo2 { type Target = ITCallInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4289,7 +4289,7 @@ windows_core::imp::interface_hierarchy!(ITCallInfo2, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ITCallInfo2 { pub unsafe fn get_EventFilter(&self, tapievent: TAPI_EVENT, lsubevent: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EventFilter)(windows_core::Interface::as_raw(self), tapievent, lsubevent, &mut result__).map(|| result__) } pub unsafe fn put_EventFilter(&self, tapievent: TAPI_EVENT, lsubevent: i32, benable: P0) -> windows_core::Result<()> @@ -4312,7 +4312,7 @@ windows_core::imp::define_interface!(ITCallInfoChangeEvent, ITCallInfoChangeEven impl std::ops::Deref for ITCallInfoChangeEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4321,15 +4321,15 @@ windows_core::imp::interface_hierarchy!(ITCallInfoChangeEvent, windows_core::IUn impl ITCallInfoChangeEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cause(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cause)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CallbackInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallbackInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4350,7 +4350,7 @@ windows_core::imp::define_interface!(ITCallMediaEvent, ITCallMediaEvent_Vtbl, 0x impl std::ops::Deref for ITCallMediaEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4359,29 +4359,29 @@ windows_core::imp::interface_hierarchy!(ITCallMediaEvent, windows_core::IUnknown impl ITCallMediaEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Terminal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Stream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Stream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cause(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cause)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4411,7 +4411,7 @@ windows_core::imp::define_interface!(ITCallNotificationEvent, ITCallNotification impl std::ops::Deref for ITCallNotificationEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4420,15 +4420,15 @@ windows_core::imp::interface_hierarchy!(ITCallNotificationEvent, windows_core::I impl ITCallNotificationEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CallbackInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallbackInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4449,7 +4449,7 @@ windows_core::imp::define_interface!(ITCallStateEvent, ITCallStateEvent_Vtbl, 0x impl std::ops::Deref for ITCallStateEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4458,19 +4458,19 @@ windows_core::imp::interface_hierarchy!(ITCallStateEvent, windows_core::IUnknown impl ITCallStateEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Cause(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cause)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CallbackInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallbackInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4492,7 +4492,7 @@ windows_core::imp::define_interface!(ITCallingCard, ITCallingCard_Vtbl, 0x0c4d8f impl std::ops::Deref for ITCallingCard { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4500,31 +4500,31 @@ windows_core::imp::interface_hierarchy!(ITCallingCard, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl ITCallingCard { pub unsafe fn PermanentCardID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermanentCardID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfDigits(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfDigits)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Options(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Options)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CardName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CardName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SameAreaDialingRule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SameAreaDialingRule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LongDistanceDialingRule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LongDistanceDialingRule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InternationalDialingRule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InternationalDialingRule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4535,10 +4535,10 @@ pub struct ITCallingCard_Vtbl { pub PermanentCardID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CardName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SameAreaDialingRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LongDistanceDialingRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InternationalDialingRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CardName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SameAreaDialingRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LongDistanceDialingRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InternationalDialingRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCollection, ITCollection_Vtbl, 0x5ec5acf2_9c02_11d0_8362_00aa003ccabd); @@ -4546,7 +4546,7 @@ windows_core::imp::define_interface!(ITCollection, ITCollection_Vtbl, 0x5ec5acf2 impl std::ops::Deref for ITCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4554,15 +4554,15 @@ windows_core::imp::interface_hierarchy!(ITCollection, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl ITCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4571,7 +4571,7 @@ impl ITCollection { pub struct ITCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -4580,7 +4580,7 @@ windows_core::imp::define_interface!(ITCollection2, ITCollection2_Vtbl, 0xe6dddd impl std::ops::Deref for ITCollection2 { type Target = ITCollection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4598,7 +4598,7 @@ impl ITCollection2 { #[repr(C)] pub struct ITCollection2_Vtbl { pub base__: ITCollection_Vtbl, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -4607,7 +4607,7 @@ windows_core::imp::define_interface!(ITCustomTone, ITCustomTone_Vtbl, 0x357ad764 impl std::ops::Deref for ITCustomTone { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4615,28 +4615,28 @@ windows_core::imp::interface_hierarchy!(ITCustomTone, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl ITCustomTone { pub unsafe fn Frequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Frequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CadenceOn)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CadenceOff)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Volume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVolume(&self, lvolume: i32) -> windows_core::Result<()> { @@ -4662,7 +4662,7 @@ windows_core::imp::define_interface!(ITDetectTone, ITDetectTone_Vtbl, 0x961f79bd impl std::ops::Deref for ITDetectTone { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4670,21 +4670,21 @@ windows_core::imp::interface_hierarchy!(ITDetectTone, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl ITDetectTone { pub unsafe fn AppSpecific(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppSpecific)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Duration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Frequency)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn put_Frequency(&self, index: i32, lfrequency: i32) -> windows_core::Result<()> { @@ -4708,7 +4708,7 @@ windows_core::imp::define_interface!(ITDigitDetectionEvent, ITDigitDetectionEven impl std::ops::Deref for ITDigitDetectionEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4717,23 +4717,23 @@ windows_core::imp::interface_hierarchy!(ITDigitDetectionEvent, windows_core::IUn impl ITDigitDetectionEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Digit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Digit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DigitMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DigitMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TickCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TickCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CallbackInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallbackInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4756,7 +4756,7 @@ windows_core::imp::define_interface!(ITDigitGenerationEvent, ITDigitGenerationEv impl std::ops::Deref for ITDigitGenerationEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4765,19 +4765,19 @@ windows_core::imp::interface_hierarchy!(ITDigitGenerationEvent, windows_core::IU impl ITDigitGenerationEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GenerationTermination(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerationTermination)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TickCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TickCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CallbackInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallbackInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4799,7 +4799,7 @@ windows_core::imp::define_interface!(ITDigitsGatheredEvent, ITDigitsGatheredEven impl std::ops::Deref for ITDigitsGatheredEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4808,23 +4808,23 @@ windows_core::imp::interface_hierarchy!(ITDigitsGatheredEvent, windows_core::IUn impl ITDigitsGatheredEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Digits(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Digits)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GatherTermination(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GatherTermination)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TickCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TickCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CallbackInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallbackInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4836,7 +4836,7 @@ pub struct ITDigitsGatheredEvent_Vtbl { pub Call: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Call: usize, - pub Digits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Digits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GatherTermination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TAPI_GATHERTERM) -> windows_core::HRESULT, pub TickCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CallbackInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -4847,7 +4847,7 @@ windows_core::imp::define_interface!(ITDirectory, ITDirectory_Vtbl, 0x34621d6c_6 impl std::ops::Deref for ITDirectory { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4855,19 +4855,19 @@ windows_core::imp::interface_hierarchy!(ITDirectory, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ITDirectory { pub unsafe fn DirectoryType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DirectoryType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsDynamic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDynamic)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultObjectTTL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultObjectTTL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefaultObjectTTL(&self, ttl: i32) -> windows_core::Result<()> { @@ -4925,14 +4925,14 @@ impl ITDirectory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_DirectoryObjects)(windows_core::Interface::as_raw(self), directoryobjecttype, pname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateDirectoryObjects(&self, directoryobjecttype: DIRECTORY_OBJECT_TYPE, pname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateDirectoryObjects)(windows_core::Interface::as_raw(self), directoryobjecttype, pname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4941,13 +4941,13 @@ impl ITDirectory { pub struct ITDirectory_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub DirectoryType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIRECTORY_TYPE) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsDynamic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DefaultObjectTTL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDefaultObjectTTL: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EnableAutoRefresh: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Bind: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Bind: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddDirectoryObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4964,8 +4964,8 @@ pub struct ITDirectory_Vtbl { pub DeleteDirectoryObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DeleteDirectoryObject: usize, - pub get_DirectoryObjects: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_OBJECT_TYPE, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EnumerateDirectoryObjects: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_OBJECT_TYPE, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_DirectoryObjects: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_OBJECT_TYPE, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumerateDirectoryObjects: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_OBJECT_TYPE, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDirectoryObject, ITDirectoryObject_Vtbl, 0x34621d6e_6cff_11d1_aff7_00c04fc31fee); @@ -4973,7 +4973,7 @@ windows_core::imp::define_interface!(ITDirectoryObject, ITDirectoryObject_Vtbl, impl std::ops::Deref for ITDirectoryObject { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4981,11 +4981,11 @@ windows_core::imp::interface_hierarchy!(ITDirectoryObject, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl ITDirectoryObject { pub unsafe fn ObjectType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, pname: P0) -> windows_core::Result<()> @@ -4995,16 +4995,16 @@ impl ITDirectoryObject { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), pname.param().abi()).ok() } pub unsafe fn get_DialableAddrs(&self, dwaddresstype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_DialableAddrs)(windows_core::Interface::as_raw(self), dwaddresstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateDialableAddrs(&self, dwaddresstype: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateDialableAddrs)(windows_core::Interface::as_raw(self), dwaddresstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityDescriptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SecurityDescriptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5020,9 +5020,9 @@ impl ITDirectoryObject { pub struct ITDirectoryObject_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub ObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIRECTORY_OBJECT_TYPE) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_DialableAddrs: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_DialableAddrs: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateDialableAddrs: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5039,7 +5039,7 @@ windows_core::imp::define_interface!(ITDirectoryObjectConference, ITDirectoryObj impl std::ops::Deref for ITDirectoryObjectConference { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5047,11 +5047,11 @@ windows_core::imp::interface_hierarchy!(ITDirectoryObjectConference, windows_cor #[cfg(feature = "Win32_System_Com")] impl ITDirectoryObjectConference { pub unsafe fn Protocol(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Protocol)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Originator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Originator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOriginator(&self, poriginator: P0) -> windows_core::Result<()> @@ -5061,14 +5061,14 @@ impl ITDirectoryObjectConference { (windows_core::Interface::vtable(self).SetOriginator)(windows_core::Interface::as_raw(self), poriginator.param().abi()).ok() } pub unsafe fn AdvertisingScope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdvertisingScope)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAdvertisingScope(&self, advertisingscope: RND_ADVERTISING_SCOPE) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAdvertisingScope)(windows_core::Interface::as_raw(self), advertisingscope).ok() } pub unsafe fn Url(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Url)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUrl(&self, purl: P0) -> windows_core::Result<()> @@ -5078,7 +5078,7 @@ impl ITDirectoryObjectConference { (windows_core::Interface::vtable(self).SetUrl)(windows_core::Interface::as_raw(self), purl.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, pdescription: P0) -> windows_core::Result<()> @@ -5088,7 +5088,7 @@ impl ITDirectoryObjectConference { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), pdescription.param().abi()).ok() } pub unsafe fn IsEncrypted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEncrypted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsEncrypted(&self, fencrypted: P0) -> windows_core::Result<()> @@ -5098,14 +5098,14 @@ impl ITDirectoryObjectConference { (windows_core::Interface::vtable(self).SetIsEncrypted)(windows_core::Interface::as_raw(self), fencrypted.param().abi()).ok() } pub unsafe fn StartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StopTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStopTime(&self, date: f64) -> windows_core::Result<()> { @@ -5116,15 +5116,15 @@ impl ITDirectoryObjectConference { #[repr(C)] pub struct ITDirectoryObjectConference_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Originator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOriginator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Originator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOriginator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AdvertisingScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RND_ADVERTISING_SCOPE) -> windows_core::HRESULT, pub SetAdvertisingScope: unsafe extern "system" fn(*mut core::ffi::c_void, RND_ADVERTISING_SCOPE) -> windows_core::HRESULT, - pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsEncrypted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIsEncrypted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, @@ -5138,7 +5138,7 @@ windows_core::imp::define_interface!(ITDirectoryObjectUser, ITDirectoryObjectUse impl std::ops::Deref for ITDirectoryObjectUser { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5146,7 +5146,7 @@ windows_core::imp::interface_hierarchy!(ITDirectoryObjectUser, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ITDirectoryObjectUser { pub unsafe fn IPPhonePrimary(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IPPhonePrimary)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetIPPhonePrimary(&self, pname: P0) -> windows_core::Result<()> @@ -5160,8 +5160,8 @@ impl ITDirectoryObjectUser { #[repr(C)] pub struct ITDirectoryObjectUser_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub IPPhonePrimary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIPPhonePrimary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IPPhonePrimary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIPPhonePrimary: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDispatchMapper, ITDispatchMapper_Vtbl, 0xe9225295_c759_11d1_a02b_00c04fb6809f); @@ -5169,7 +5169,7 @@ windows_core::imp::define_interface!(ITDispatchMapper, ITDispatchMapper_Vtbl, 0x impl std::ops::Deref for ITDispatchMapper { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5182,7 +5182,7 @@ impl ITDispatchMapper { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDispatchInterface)(windows_core::Interface::as_raw(self), piid.param().abi(), pinterfacetomap.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5191,7 +5191,7 @@ impl ITDispatchMapper { pub struct ITDispatchMapper_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub QueryDispatchInterface: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryDispatchInterface: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] QueryDispatchInterface: usize, } @@ -5201,7 +5201,7 @@ windows_core::imp::define_interface!(ITFileTerminalEvent, ITFileTerminalEvent_Vt impl std::ops::Deref for ITFileTerminalEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5210,29 +5210,29 @@ windows_core::imp::interface_hierarchy!(ITFileTerminalEvent, windows_core::IUnkn impl ITFileTerminalEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Terminal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Track(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Track)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Cause(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cause)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5262,7 +5262,7 @@ windows_core::imp::define_interface!(ITFileTrack, ITFileTrack_Vtbl, 0x31ca6ea9_c impl std::ops::Deref for ITFileTrack { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5271,7 +5271,7 @@ windows_core::imp::interface_hierarchy!(ITFileTrack, windows_core::IUnknown, sup impl ITFileTrack { #[cfg(feature = "Win32_Media_MediaFoundation")] pub unsafe fn Format(&self) -> windows_core::Result<*mut super::super::Media::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Format)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -5280,12 +5280,12 @@ impl ITFileTrack { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ControllingTerminal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ControllingTerminal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioFormatForScripting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioFormatForScripting)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5297,7 +5297,7 @@ impl ITFileTrack { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EmptyAudioFormatForScripting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EmptyAudioFormatForScripting)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5336,7 +5336,7 @@ windows_core::imp::define_interface!(ITForwardInformation, ITForwardInformation_ impl std::ops::Deref for ITForwardInformation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5347,7 +5347,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumRingsNoAnswer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetForwardType(&self, forwardtype: i32, pdestaddress: P0, pcalleraddress: P1) -> windows_core::Result<()> @@ -5358,11 +5358,11 @@ impl ITForwardInformation { (windows_core::Interface::vtable(self).SetForwardType)(windows_core::Interface::as_raw(self), forwardtype, pdestaddress.param().abi(), pcalleraddress.param().abi()).ok() } pub unsafe fn get_ForwardTypeDestination(&self, forwardtype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ForwardTypeDestination)(windows_core::Interface::as_raw(self), forwardtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_ForwardTypeCaller(&self, forwardtype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ForwardTypeCaller)(windows_core::Interface::as_raw(self), forwardtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetForwardType(&self, forwardtype: i32, ppdestinationaddress: *mut windows_core::BSTR, ppcalleraddress: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -5378,10 +5378,10 @@ pub struct ITForwardInformation_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub SetNumRingsNoAnswer: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub NumRingsNoAnswer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub SetForwardType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_ForwardTypeDestination: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_ForwardTypeCaller: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetForwardType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetForwardType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ForwardTypeDestination: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ForwardTypeCaller: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetForwardType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -5390,7 +5390,7 @@ windows_core::imp::define_interface!(ITForwardInformation2, ITForwardInformation impl std::ops::Deref for ITForwardInformation2 { type Target = ITForwardInformation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5408,11 +5408,11 @@ impl ITForwardInformation2 { (windows_core::Interface::vtable(self).GetForwardType2)(windows_core::Interface::as_raw(self), forwardtype, core::mem::transmute(ppdestinationaddress), pdestaddresstype, core::mem::transmute(ppcalleraddress), pcalleraddresstype).ok() } pub unsafe fn get_ForwardTypeDestinationAddressType(&self, forwardtype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ForwardTypeDestinationAddressType)(windows_core::Interface::as_raw(self), forwardtype, &mut result__).map(|| result__) } pub unsafe fn get_ForwardTypeCallerAddressType(&self, forwardtype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ForwardTypeCallerAddressType)(windows_core::Interface::as_raw(self), forwardtype, &mut result__).map(|| result__) } } @@ -5420,8 +5420,8 @@ impl ITForwardInformation2 { #[repr(C)] pub struct ITForwardInformation2_Vtbl { pub base__: ITForwardInformation_Vtbl, - pub SetForwardType2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub GetForwardType2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut i32, *mut std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub SetForwardType2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub GetForwardType2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut i32, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub get_ForwardTypeDestinationAddressType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub get_ForwardTypeCallerAddressType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } @@ -5431,7 +5431,7 @@ windows_core::imp::define_interface!(ITILSConfig, ITILSConfig_Vtbl, 0x34621d72_6 impl std::ops::Deref for ITILSConfig { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5439,7 +5439,7 @@ windows_core::imp::interface_hierarchy!(ITILSConfig, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ITILSConfig { pub unsafe fn Port(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Port)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPort(&self, port: i32) -> windows_core::Result<()> { @@ -5457,7 +5457,7 @@ windows_core::imp::define_interface!(ITLegacyAddressMediaControl, ITLegacyAddres impl std::ops::Deref for ITLegacyAddressMediaControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITLegacyAddressMediaControl, windows_core::IUnknown); @@ -5484,15 +5484,15 @@ impl ITLegacyAddressMediaControl { #[repr(C)] pub struct ITLegacyAddressMediaControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - pub GetDevConfig: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - pub SetDevConfig: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u8) -> windows_core::HRESULT, + pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, + pub GetDevConfig: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, + pub SetDevConfig: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITLegacyAddressMediaControl2, ITLegacyAddressMediaControl2_Vtbl, 0xb0ee512b_a531_409e_9dd9_4099fe86c738); impl std::ops::Deref for ITLegacyAddressMediaControl2 { type Target = ITLegacyAddressMediaControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITLegacyAddressMediaControl2, windows_core::IUnknown, ITLegacyAddressMediaControl); @@ -5515,8 +5515,8 @@ impl ITLegacyAddressMediaControl2 { #[repr(C)] pub struct ITLegacyAddressMediaControl2_Vtbl { pub base__: ITLegacyAddressMediaControl_Vtbl, - pub ConfigDialog: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConfigDialogEdit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, u32, *const u8, *mut u32, *mut *mut u8) -> windows_core::HRESULT, + pub ConfigDialog: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConfigDialogEdit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, u32, *const u8, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITLegacyCallMediaControl, ITLegacyCallMediaControl_Vtbl, 0xd624582f_cc23_4436_b8a5_47c625c8045d); @@ -5524,7 +5524,7 @@ windows_core::imp::define_interface!(ITLegacyCallMediaControl, ITLegacyCallMedia impl std::ops::Deref for ITLegacyCallMediaControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5558,8 +5558,8 @@ impl ITLegacyCallMediaControl { pub struct ITLegacyCallMediaControl_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub DetectDigits: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub GenerateDigits: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, + pub GenerateDigits: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MonitorMedia: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -5569,7 +5569,7 @@ windows_core::imp::define_interface!(ITLegacyCallMediaControl2, ITLegacyCallMedi impl std::ops::Deref for ITLegacyCallMediaControl2 { type Target = ITLegacyCallMediaControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5613,19 +5613,19 @@ impl ITLegacyCallMediaControl2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateDetectToneObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDetectToneObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateCustomToneObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCustomToneObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIDAsVariant(&self, bstrdeviceclass: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIDAsVariant)(windows_core::Interface::as_raw(self), bstrdeviceclass.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5633,8 +5633,8 @@ impl ITLegacyCallMediaControl2 { #[repr(C)] pub struct ITLegacyCallMediaControl2_Vtbl { pub base__: ITLegacyCallMediaControl_Vtbl, - pub GenerateDigits2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, - pub GatherDigits: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, + pub GenerateDigits2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, + pub GatherDigits: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, pub DetectTones: unsafe extern "system" fn(*mut core::ffi::c_void, *const TAPI_DETECTTONE, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DetectTonesByCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5654,7 +5654,7 @@ pub struct ITLegacyCallMediaControl2_Vtbl { pub CreateCustomToneObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateCustomToneObject: usize, - pub GetIDAsVariant: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetIDAsVariant: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITLegacyWaveSupport, ITLegacyWaveSupport_Vtbl, 0x207823ea_e252_11d2_b77e_0080c7135381); @@ -5662,7 +5662,7 @@ windows_core::imp::define_interface!(ITLegacyWaveSupport, ITLegacyWaveSupport_Vt impl std::ops::Deref for ITLegacyWaveSupport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5670,7 +5670,7 @@ windows_core::imp::interface_hierarchy!(ITLegacyWaveSupport, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ITLegacyWaveSupport { pub unsafe fn IsFullDuplex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFullDuplex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5686,7 +5686,7 @@ windows_core::imp::define_interface!(ITLocationInfo, ITLocationInfo_Vtbl, 0x0c4d impl std::ops::Deref for ITLocationInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5694,47 +5694,47 @@ windows_core::imp::interface_hierarchy!(ITLocationInfo, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ITLocationInfo { pub unsafe fn PermanentLocationID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermanentLocationID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CountryCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CountryID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Options(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Options)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PreferredCardID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredCardID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocationName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocationName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CityCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CityCode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LocalAccessCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalAccessCode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LongDistanceAccessCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LongDistanceAccessCode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TollPrefixList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TollPrefixList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CancelCallWaitingCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CancelCallWaitingCode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5747,18 +5747,18 @@ pub struct ITLocationInfo_Vtbl { pub CountryID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub PreferredCardID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub LocationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CityCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalAccessCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LongDistanceAccessCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TollPrefixList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CancelCallWaitingCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CityCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalAccessCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LongDistanceAccessCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TollPrefixList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CancelCallWaitingCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITMSPAddress, ITMSPAddress_Vtbl, 0xee3bd600_3868_11d2_a045_00c04fb6809f); impl std::ops::Deref for ITMSPAddress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITMSPAddress, windows_core::IUnknown); @@ -5773,7 +5773,7 @@ impl ITMSPAddress { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMSPCall)(windows_core::Interface::as_raw(self), hcall, dwreserved, dwmediatype, pouterunknown.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShutdownMSPCall(&self, pstreamcontrol: P0) -> windows_core::Result<()> @@ -5808,7 +5808,7 @@ windows_core::imp::define_interface!(ITMediaControl, ITMediaControl_Vtbl, 0xc445 impl std::ops::Deref for ITMediaControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5825,7 +5825,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5844,7 +5844,7 @@ windows_core::imp::define_interface!(ITMediaPlayback, ITMediaPlayback_Vtbl, 0x62 impl std::ops::Deref for ITMediaPlayback { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5858,7 +5858,7 @@ impl ITMediaPlayback { (windows_core::Interface::vtable(self).SetPlayList)(windows_core::Interface::as_raw(self), playlistvariant.param().abi()).ok() } pub unsafe fn PlayList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5866,8 +5866,8 @@ impl ITMediaPlayback { #[repr(C)] pub struct ITMediaPlayback_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetPlayList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlayList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlayList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlayList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITMediaRecord, ITMediaRecord_Vtbl, 0xf5dd4592_5476_4cc1_9d4d_fad3eefe7db2); @@ -5875,7 +5875,7 @@ windows_core::imp::define_interface!(ITMediaRecord, ITMediaRecord_Vtbl, 0xf5dd45 impl std::ops::Deref for ITMediaRecord { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5889,7 +5889,7 @@ impl ITMediaRecord { (windows_core::Interface::vtable(self).SetFileName)(windows_core::Interface::as_raw(self), bstrfilename.param().abi()).ok() } pub unsafe fn FileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5897,8 +5897,8 @@ impl ITMediaRecord { #[repr(C)] pub struct ITMediaRecord_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITMediaSupport, ITMediaSupport_Vtbl, 0xb1efc384_9355_11d0_835c_00aa003ccabd); @@ -5906,7 +5906,7 @@ windows_core::imp::define_interface!(ITMediaSupport, ITMediaSupport_Vtbl, 0xb1ef impl std::ops::Deref for ITMediaSupport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5914,11 +5914,11 @@ windows_core::imp::interface_hierarchy!(ITMediaSupport, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ITMediaSupport { pub unsafe fn MediaTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueryMediaType(&self, lmediatype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryMediaType)(windows_core::Interface::as_raw(self), lmediatype, &mut result__).map(|| result__) } } @@ -5935,7 +5935,7 @@ windows_core::imp::define_interface!(ITMultiTrackTerminal, ITMultiTrackTerminal_ impl std::ops::Deref for ITMultiTrackTerminal { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5943,24 +5943,24 @@ windows_core::imp::interface_hierarchy!(ITMultiTrackTerminal, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl ITMultiTrackTerminal { pub unsafe fn TrackTerminals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrackTerminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateTrackTerminals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateTrackTerminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTrackTerminal(&self, mediatype: i32, terminaldirection: TERMINAL_DIRECTION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTrackTerminal)(windows_core::Interface::as_raw(self), mediatype, terminaldirection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MediaTypesInUse(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaTypesInUse)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DirectionsInUse(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DirectionsInUse)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5975,7 +5975,7 @@ impl ITMultiTrackTerminal { #[repr(C)] pub struct ITMultiTrackTerminal_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub TrackTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrackTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateTrackTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateTrackTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, i32, TERMINAL_DIRECTION, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5994,7 +5994,7 @@ windows_core::imp::define_interface!(ITPhone, ITPhone_Vtbl, 0x09d48db4_10cc_4388 impl std::ops::Deref for ITPhone { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6008,19 +6008,19 @@ impl ITPhone { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Addresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Addresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_PhoneCapsLong(&self, pclcap: PHONECAPS_LONG) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PhoneCapsLong)(windows_core::Interface::as_raw(self), pclcap, &mut result__).map(|| result__) } pub unsafe fn get_PhoneCapsString(&self, pcscap: PHONECAPS_STRING) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PhoneCapsString)(windows_core::Interface::as_raw(self), pcscap, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6028,7 +6028,7 @@ impl ITPhone { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Terminals)(windows_core::Interface::as_raw(self), paddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6036,25 +6036,25 @@ impl ITPhone { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateTerminals)(windows_core::Interface::as_raw(self), paddress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_ButtonMode(&self, lbuttonid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ButtonMode)(windows_core::Interface::as_raw(self), lbuttonid, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ButtonFunction)(windows_core::Interface::as_raw(self), lbuttonid, &mut result__).map(|| result__) } pub unsafe fn put_ButtonFunction(&self, lbuttonid: i32, buttonfunction: PHONE_BUTTON_FUNCTION) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).put_ButtonFunction)(windows_core::Interface::as_raw(self), lbuttonid, buttonfunction).ok() } pub unsafe fn get_ButtonText(&self, lbuttonid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ButtonText)(windows_core::Interface::as_raw(self), lbuttonid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_ButtonText(&self, lbuttonid: i32, bstrbuttontext: P0) -> windows_core::Result<()> @@ -6064,11 +6064,11 @@ impl ITPhone { (windows_core::Interface::vtable(self).put_ButtonText)(windows_core::Interface::as_raw(self), lbuttonid, bstrbuttontext.param().abi()).ok() } pub unsafe fn get_ButtonState(&self, lbuttonid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ButtonState)(windows_core::Interface::as_raw(self), lbuttonid, &mut result__).map(|| result__) } pub unsafe fn get_HookSwitchState(&self, hookswitchdevice: PHONE_HOOK_SWITCH_DEVICE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_HookSwitchState)(windows_core::Interface::as_raw(self), hookswitchdevice, &mut result__).map(|| result__) } pub unsafe fn put_HookSwitchState(&self, hookswitchdevice: PHONE_HOOK_SWITCH_DEVICE, hookswitchstate: PHONE_HOOK_SWITCH_STATE) -> windows_core::Result<()> { @@ -6078,36 +6078,36 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RingVolume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Privilege(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Privilege)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPhoneCapsBuffer(&self, pcbcaps: PHONECAPS_BUFFER, pdwsize: *mut u32, ppphonecapsbuffer: *mut *mut u8) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetPhoneCapsBuffer)(windows_core::Interface::as_raw(self), pcbcaps, pdwsize, ppphonecapsbuffer).ok() } pub unsafe fn get_PhoneCapsBuffer(&self, pcbcaps: PHONECAPS_BUFFER) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PhoneCapsBuffer)(windows_core::Interface::as_raw(self), pcbcaps, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_LampMode(&self, llampid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_LampMode)(windows_core::Interface::as_raw(self), llampid, &mut result__).map(|| result__) } pub unsafe fn put_LampMode(&self, llampid: i32, lampmode: PHONE_LAMP_MODE) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).put_LampMode)(windows_core::Interface::as_raw(self), llampid, lampmode).ok() } pub unsafe fn Display(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Display)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDisplay(&self, lrow: i32, lcolumn: i32, bstrdisplay: P0) -> windows_core::Result<()> @@ -6117,11 +6117,11 @@ impl ITPhone { (windows_core::Interface::vtable(self).SetDisplay)(windows_core::Interface::as_raw(self), lrow, lcolumn, bstrdisplay.param().abi()).ok() } pub unsafe fn PreferredAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumeratePreferredAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumeratePreferredAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeviceSpecific(&self, pparams: *const u8, dwsize: u32) -> windows_core::Result<()> { @@ -6134,7 +6134,7 @@ impl ITPhone { (windows_core::Interface::vtable(self).DeviceSpecificVariant)(windows_core::Interface::as_raw(self), vardevspecificbytearray.param().abi()).ok() } pub unsafe fn NegotiateExtVersion(&self, llowversion: i32, lhighversion: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NegotiateExtVersion)(windows_core::Interface::as_raw(self), llowversion, lhighversion, &mut result__).map(|| result__) } } @@ -6144,12 +6144,12 @@ pub struct ITPhone_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, PHONE_PRIVILEGE) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Addresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Addresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_PhoneCapsLong: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_LONG, *mut i32) -> windows_core::HRESULT, - pub get_PhoneCapsString: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_STRING, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_PhoneCapsString: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_STRING, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Terminals: usize, #[cfg(feature = "Win32_System_Com")] @@ -6160,8 +6160,8 @@ pub struct ITPhone_Vtbl { pub put_ButtonMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, PHONE_BUTTON_MODE) -> windows_core::HRESULT, pub get_ButtonFunction: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut PHONE_BUTTON_FUNCTION) -> windows_core::HRESULT, pub put_ButtonFunction: unsafe extern "system" fn(*mut core::ffi::c_void, i32, PHONE_BUTTON_FUNCTION) -> windows_core::HRESULT, - pub get_ButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_ButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_ButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub get_ButtonState: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut PHONE_BUTTON_STATE) -> windows_core::HRESULT, pub get_HookSwitchState: unsafe extern "system" fn(*mut core::ffi::c_void, PHONE_HOOK_SWITCH_DEVICE, *mut PHONE_HOOK_SWITCH_STATE) -> windows_core::HRESULT, pub put_HookSwitchState: unsafe extern "system" fn(*mut core::ffi::c_void, PHONE_HOOK_SWITCH_DEVICE, PHONE_HOOK_SWITCH_STATE) -> windows_core::HRESULT, @@ -6171,15 +6171,15 @@ pub struct ITPhone_Vtbl { pub RingVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Privilege: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PHONE_PRIVILEGE) -> windows_core::HRESULT, pub GetPhoneCapsBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_BUFFER, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - pub get_PhoneCapsBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_BUFFER, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_PhoneCapsBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, PHONECAPS_BUFFER, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub get_LampMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut PHONE_LAMP_MODE) -> windows_core::HRESULT, pub put_LampMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, PHONE_LAMP_MODE) -> windows_core::HRESULT, - pub Display: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PreferredAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Display: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PreferredAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumeratePreferredAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeviceSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, - pub DeviceSpecificVariant: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceSpecificVariant: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub NegotiateExtVersion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -6188,7 +6188,7 @@ windows_core::imp::define_interface!(ITPhoneDeviceSpecificEvent, ITPhoneDeviceSp impl std::ops::Deref for ITPhoneDeviceSpecificEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6197,19 +6197,19 @@ windows_core::imp::interface_hierarchy!(ITPhoneDeviceSpecificEvent, windows_core impl ITPhoneDeviceSpecificEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Phone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Phone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn lParam1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).lParam1)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn lParam2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).lParam2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn lParam3(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).lParam3)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6231,7 +6231,7 @@ windows_core::imp::define_interface!(ITPhoneEvent, ITPhoneEvent_Vtbl, 0x8f942dd8 impl std::ops::Deref for ITPhoneEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6240,40 +6240,40 @@ windows_core::imp::interface_hierarchy!(ITPhoneEvent, windows_core::IUnknown, su impl ITPhoneEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Phone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Phone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ButtonState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ButtonState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HookSwitchState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HookSwitchState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HookSwitchDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HookSwitchDevice)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RingMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ButtonLampId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ButtonLampId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberGathered(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberGathered)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6291,7 +6291,7 @@ pub struct ITPhoneEvent_Vtbl { pub HookSwitchDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PHONE_HOOK_SWITCH_DEVICE) -> windows_core::HRESULT, pub RingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ButtonLampId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub NumberGathered: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumberGathered: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Call: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6303,7 +6303,7 @@ windows_core::imp::define_interface!(ITPluggableTerminalClassInfo, ITPluggableTe impl std::ops::Deref for ITPluggableTerminalClassInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6311,31 +6311,31 @@ windows_core::imp::interface_hierarchy!(ITPluggableTerminalClassInfo, windows_co #[cfg(feature = "Win32_System_Com")] impl ITPluggableTerminalClassInfo { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Company(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Company)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TerminalClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TerminalClass)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Direction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Direction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MediaTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6343,11 +6343,11 @@ impl ITPluggableTerminalClassInfo { #[repr(C)] pub struct ITPluggableTerminalClassInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Company: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TerminalClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Company: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TerminalClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Direction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TERMINAL_DIRECTION) -> windows_core::HRESULT, pub MediaTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -6355,7 +6355,7 @@ windows_core::imp::define_interface!(ITPluggableTerminalEventSink, ITPluggableTe impl std::ops::Deref for ITPluggableTerminalEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITPluggableTerminalEventSink, windows_core::IUnknown); @@ -6377,7 +6377,7 @@ windows_core::imp::define_interface!(ITPluggableTerminalEventSinkRegistration, I impl std::ops::Deref for ITPluggableTerminalEventSinkRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITPluggableTerminalEventSinkRegistration, windows_core::IUnknown); @@ -6404,7 +6404,7 @@ windows_core::imp::define_interface!(ITPluggableTerminalSuperclassInfo, ITPlugga impl std::ops::Deref for ITPluggableTerminalSuperclassInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6412,11 +6412,11 @@ windows_core::imp::interface_hierarchy!(ITPluggableTerminalSuperclassInfo, windo #[cfg(feature = "Win32_System_Com")] impl ITPluggableTerminalSuperclassInfo { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6424,8 +6424,8 @@ impl ITPluggableTerminalSuperclassInfo { #[repr(C)] pub struct ITPluggableTerminalSuperclassInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITPrivateEvent, ITPrivateEvent_Vtbl, 0x0e269cd0_10d4_4121_9c22_9c85d625650d); @@ -6433,7 +6433,7 @@ windows_core::imp::define_interface!(ITPrivateEvent, ITPrivateEvent_Vtbl, 0x0e26 impl std::ops::Deref for ITPrivateEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6442,26 +6442,26 @@ windows_core::imp::interface_hierarchy!(ITPrivateEvent, windows_core::IUnknown, impl ITPrivateEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CallHub(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallHub)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EventCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EventInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6493,7 +6493,7 @@ windows_core::imp::define_interface!(ITQOSEvent, ITQOSEvent_Vtbl, 0xcfa3357c_ad7 impl std::ops::Deref for ITQOSEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6502,15 +6502,15 @@ windows_core::imp::interface_hierarchy!(ITQOSEvent, windows_core::IUnknown, supe impl ITQOSEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6531,7 +6531,7 @@ windows_core::imp::define_interface!(ITQueue, ITQueue_Vtbl, 0x5afc3149_4bcc_11d1 impl std::ops::Deref for ITQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6542,47 +6542,47 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MeasurementPeriod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalCallsQueued(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalCallsQueued)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentCallsQueued(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCallsQueued)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalCallsAbandoned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalCallsAbandoned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalCallsFlowedIn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalCallsFlowedIn)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalCallsFlowedOut(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalCallsFlowedOut)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LongestEverWaitTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LongestEverWaitTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentLongestWaitTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentLongestWaitTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AverageWaitTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AverageWaitTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FinalDisposition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FinalDisposition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6601,7 +6601,7 @@ pub struct ITQueue_Vtbl { pub CurrentLongestWaitTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub AverageWaitTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub FinalDisposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITQueueEvent, ITQueueEvent_Vtbl, 0x297f3033_bd11_11d1_a0a7_00805fc147d3); @@ -6609,7 +6609,7 @@ windows_core::imp::define_interface!(ITQueueEvent, ITQueueEvent_Vtbl, 0x297f3033 impl std::ops::Deref for ITQueueEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6618,11 +6618,11 @@ windows_core::imp::interface_hierarchy!(ITQueueEvent, windows_core::IUnknown, su impl ITQueueEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Queue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Queue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6642,7 +6642,7 @@ windows_core::imp::define_interface!(ITRendezvous, ITRendezvous_Vtbl, 0x34621d6b impl std::ops::Deref for ITRendezvous { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6650,11 +6650,11 @@ windows_core::imp::interface_hierarchy!(ITRendezvous, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl ITRendezvous { pub unsafe fn DefaultDirectories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultDirectories)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateDefaultDirectories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateDefaultDirectories)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6662,7 +6662,7 @@ impl ITRendezvous { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDirectory)(windows_core::Interface::as_raw(self), directorytype, pname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6670,7 +6670,7 @@ impl ITRendezvous { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDirectoryObject)(windows_core::Interface::as_raw(self), directoryobjecttype, pname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6678,14 +6678,14 @@ impl ITRendezvous { #[repr(C)] pub struct ITRendezvous_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub DefaultDirectories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultDirectories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateDefaultDirectories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub CreateDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_TYPE, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_TYPE, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateDirectory: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateDirectoryObject: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_OBJECT_TYPE, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDirectoryObject: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTORY_OBJECT_TYPE, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateDirectoryObject: usize, } @@ -6695,7 +6695,7 @@ windows_core::imp::define_interface!(ITRequest, ITRequest_Vtbl, 0xac48ffdf_f8c4_ impl std::ops::Deref for ITRequest { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6716,7 +6716,7 @@ impl ITRequest { #[repr(C)] pub struct ITRequest_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub MakeCall: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MakeCall: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITRequestEvent, ITRequestEvent_Vtbl, 0xac48ffde_f8c4_11d1_a030_00c04fb6809f); @@ -6724,7 +6724,7 @@ windows_core::imp::define_interface!(ITRequestEvent, ITRequestEvent_Vtbl, 0xac48 impl std::ops::Deref for ITRequestEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6732,27 +6732,27 @@ windows_core::imp::interface_hierarchy!(ITRequestEvent, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ITRequestEvent { pub unsafe fn RegistrationInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegistrationInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequestMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DestAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AppName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CalledParty(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CalledParty)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Comment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Comment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6762,10 +6762,10 @@ pub struct ITRequestEvent_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub RegistrationInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RequestMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DestAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CalledParty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DestAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CalledParty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITScriptableAudioFormat, ITScriptableAudioFormat_Vtbl, 0xb87658bd_3c59_4f64_be74_aede3e86a81e); @@ -6773,7 +6773,7 @@ windows_core::imp::define_interface!(ITScriptableAudioFormat, ITScriptableAudioF impl std::ops::Deref for ITScriptableAudioFormat { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6781,42 +6781,42 @@ windows_core::imp::interface_hierarchy!(ITScriptableAudioFormat, windows_core::I #[cfg(feature = "Win32_System_Com")] impl ITScriptableAudioFormat { pub unsafe fn Channels(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Channels)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SamplesPerSec)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvgBytesPerSec)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockAlign)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BitsPerSample)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFormatTag(&self, nnewval: i32) -> windows_core::Result<()> { @@ -6846,7 +6846,7 @@ windows_core::imp::define_interface!(ITStaticAudioTerminal, ITStaticAudioTermina impl std::ops::Deref for ITStaticAudioTerminal { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6854,7 +6854,7 @@ windows_core::imp::interface_hierarchy!(ITStaticAudioTerminal, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ITStaticAudioTerminal { pub unsafe fn WaveId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaveId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6870,7 +6870,7 @@ windows_core::imp::define_interface!(ITStream, ITStream_Vtbl, 0xee3bd605_3868_11 impl std::ops::Deref for ITStream { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6878,15 +6878,15 @@ windows_core::imp::interface_hierarchy!(ITStream, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl ITStream { pub unsafe fn MediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Direction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Direction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartStream(&self) -> windows_core::Result<()> { @@ -6913,11 +6913,11 @@ impl ITStream { (windows_core::Interface::vtable(self).UnselectTerminal)(windows_core::Interface::as_raw(self), pterminal.param().abi()).ok() } pub unsafe fn EnumerateTerminals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateTerminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Terminals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Terminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6927,7 +6927,7 @@ pub struct ITStream_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Direction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TERMINAL_DIRECTION) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartStream: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PauseStream: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StopStream: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6940,7 +6940,7 @@ pub struct ITStream_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] UnselectTerminal: usize, pub EnumerateTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITStreamControl, ITStreamControl_Vtbl, 0xee3bd604_3868_11d2_a045_00c04fb6809f); @@ -6948,7 +6948,7 @@ windows_core::imp::define_interface!(ITStreamControl, ITStreamControl_Vtbl, 0xee impl std::ops::Deref for ITStreamControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6957,7 +6957,7 @@ windows_core::imp::interface_hierarchy!(ITStreamControl, windows_core::IUnknown, impl ITStreamControl { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateStream(&self, lmediatype: i32, td: TERMINAL_DIRECTION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStream)(windows_core::Interface::as_raw(self), lmediatype, td, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6968,11 +6968,11 @@ impl ITStreamControl { (windows_core::Interface::vtable(self).RemoveStream)(windows_core::Interface::as_raw(self), pstream.param().abi()).ok() } pub unsafe fn EnumerateStreams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateStreams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Streams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Streams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6989,7 +6989,7 @@ pub struct ITStreamControl_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] RemoveStream: usize, pub EnumerateStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Streams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Streams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITSubStream, ITSubStream_Vtbl, 0xee3bd608_3868_11d2_a045_00c04fb6809f); @@ -6997,7 +6997,7 @@ windows_core::imp::define_interface!(ITSubStream, ITSubStream_Vtbl, 0xee3bd608_3 impl std::ops::Deref for ITSubStream { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7028,16 +7028,16 @@ impl ITSubStream { (windows_core::Interface::vtable(self).UnselectTerminal)(windows_core::Interface::as_raw(self), pterminal.param().abi()).ok() } pub unsafe fn EnumerateTerminals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateTerminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Terminals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Terminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Stream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Stream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7057,7 +7057,7 @@ pub struct ITSubStream_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] UnselectTerminal: usize, pub EnumerateTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Stream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -7069,7 +7069,7 @@ windows_core::imp::define_interface!(ITSubStreamControl, ITSubStreamControl_Vtbl impl std::ops::Deref for ITSubStreamControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7078,7 +7078,7 @@ windows_core::imp::interface_hierarchy!(ITSubStreamControl, windows_core::IUnkno impl ITSubStreamControl { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateSubStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSubStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7089,11 +7089,11 @@ impl ITSubStreamControl { (windows_core::Interface::vtable(self).RemoveSubStream)(windows_core::Interface::as_raw(self), psubstream.param().abi()).ok() } pub unsafe fn EnumerateSubStreams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateSubStreams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SubStreams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubStreams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7110,7 +7110,7 @@ pub struct ITSubStreamControl_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] RemoveSubStream: usize, pub EnumerateSubStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SubStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTAPI, ITTAPI_Vtbl, 0xb1efc382_9355_11d0_835c_00aa003ccabd); @@ -7118,7 +7118,7 @@ windows_core::imp::define_interface!(ITTAPI, ITTAPI_Vtbl, 0xb1efc382_9355_11d0_8 impl std::ops::Deref for ITTAPI { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7132,11 +7132,11 @@ impl ITTAPI { (windows_core::Interface::vtable(self).Shutdown)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Addresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Addresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7146,18 +7146,18 @@ impl ITTAPI { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterCallNotifications)(windows_core::Interface::as_raw(self), paddress.param().abi(), fmonitor.param().abi(), fowner.param().abi(), lmediatypes, lcallbackinstance, &mut result__).map(|| result__) } pub unsafe fn UnregisterNotifications(&self, lregister: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).UnregisterNotifications)(windows_core::Interface::as_raw(self), lregister).ok() } pub unsafe fn CallHubs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallHubs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateCallHubs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateCallHubs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCallHubTracking(&self, paddresses: P0, btracking: P1) -> windows_core::Result<()> @@ -7169,11 +7169,11 @@ impl ITTAPI { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumeratePrivateTAPIObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumeratePrivateTAPIObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PrivateTAPIObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateTAPIObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterRequestRecipient(&self, lregistrationinstance: i32, lrequestmode: i32, fenable: P0) -> windows_core::Result<()> @@ -7200,7 +7200,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventFilter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7210,24 +7210,24 @@ pub struct ITTAPI_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Addresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Addresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RegisterCallNotifications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, i32, i32, *mut i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RegisterCallNotifications: usize, pub UnregisterNotifications: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CallHubs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CallHubs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateCallHubs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetCallHubTracking: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetCallHubTracking: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EnumeratePrivateTAPIObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumeratePrivateTAPIObjects: usize, - pub PrivateTAPIObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrivateTAPIObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RegisterRequestRecipient: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetAssistedTelephonyPriority: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetApplicationPriority: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetAssistedTelephonyPriority: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetApplicationPriority: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEventFilter: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EventFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -7237,7 +7237,7 @@ windows_core::imp::define_interface!(ITTAPI2, ITTAPI2_Vtbl, 0x54fbdc8c_d90f_4dad impl std::ops::Deref for ITTAPI2 { type Target = ITTAPI; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7245,16 +7245,16 @@ windows_core::imp::interface_hierarchy!(ITTAPI2, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl ITTAPI2 { pub unsafe fn Phones(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Phones)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumeratePhones(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumeratePhones)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateEmptyCollectionObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEmptyCollectionObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7262,7 +7262,7 @@ impl ITTAPI2 { #[repr(C)] pub struct ITTAPI2_Vtbl { pub base__: ITTAPI_Vtbl, - pub Phones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Phones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumeratePhones: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateEmptyCollectionObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7275,7 +7275,7 @@ windows_core::imp::define_interface!(ITTAPICallCenter, ITTAPICallCenter_Vtbl, 0x impl std::ops::Deref for ITTAPICallCenter { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7283,11 +7283,11 @@ windows_core::imp::interface_hierarchy!(ITTAPICallCenter, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl ITTAPICallCenter { pub unsafe fn EnumerateAgentHandlers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateAgentHandlers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AgentHandlers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AgentHandlers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7296,7 +7296,7 @@ impl ITTAPICallCenter { pub struct ITTAPICallCenter_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub EnumerateAgentHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AgentHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AgentHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTAPIDispatchEventNotification, ITTAPIDispatchEventNotification_Vtbl, 0x9f34325b_7e62_11d2_9457_00c04f8ec888); @@ -7304,7 +7304,7 @@ windows_core::imp::define_interface!(ITTAPIDispatchEventNotification, ITTAPIDisp impl std::ops::Deref for ITTAPIDispatchEventNotification { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7320,7 +7320,7 @@ windows_core::imp::define_interface!(ITTAPIEventNotification, ITTAPIEventNotific impl std::ops::Deref for ITTAPIEventNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITTAPIEventNotification, windows_core::IUnknown); @@ -7347,7 +7347,7 @@ windows_core::imp::define_interface!(ITTAPIObjectEvent, ITTAPIObjectEvent_Vtbl, impl std::ops::Deref for ITTAPIObjectEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7356,20 +7356,20 @@ windows_core::imp::interface_hierarchy!(ITTAPIObjectEvent, windows_core::IUnknow impl ITTAPIObjectEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn TAPIObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TAPIObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CallbackInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallbackInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7394,7 +7394,7 @@ windows_core::imp::define_interface!(ITTAPIObjectEvent2, ITTAPIObjectEvent2_Vtbl impl std::ops::Deref for ITTAPIObjectEvent2 { type Target = ITTAPIObjectEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7403,7 +7403,7 @@ windows_core::imp::interface_hierarchy!(ITTAPIObjectEvent2, windows_core::IUnkno impl ITTAPIObjectEvent2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Phone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Phone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7422,7 +7422,7 @@ windows_core::imp::define_interface!(ITTTSTerminalEvent, ITTTSTerminalEvent_Vtbl impl std::ops::Deref for ITTTSTerminalEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7431,16 +7431,16 @@ windows_core::imp::interface_hierarchy!(ITTTSTerminalEvent, windows_core::IUnkno impl ITTTSTerminalEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Terminal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7464,7 +7464,7 @@ windows_core::imp::define_interface!(ITTerminal, ITTerminal_Vtbl, 0xb1efc38a_935 impl std::ops::Deref for ITTerminal { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7472,27 +7472,27 @@ windows_core::imp::interface_hierarchy!(ITTerminal, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl ITTerminal { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TerminalType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TerminalType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TerminalClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TerminalClass)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Direction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Direction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7500,10 +7500,10 @@ impl ITTerminal { #[repr(C)] pub struct ITTerminal_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TERMINAL_STATE) -> windows_core::HRESULT, pub TerminalType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TERMINAL_TYPE) -> windows_core::HRESULT, - pub TerminalClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TerminalClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Direction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TERMINAL_DIRECTION) -> windows_core::HRESULT, } @@ -7513,7 +7513,7 @@ windows_core::imp::define_interface!(ITTerminalSupport, ITTerminalSupport_Vtbl, impl std::ops::Deref for ITTerminalSupport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7521,19 +7521,19 @@ windows_core::imp::interface_hierarchy!(ITTerminalSupport, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl ITTerminalSupport { pub unsafe fn StaticTerminals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StaticTerminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateStaticTerminals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateStaticTerminals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DynamicTerminalClasses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DynamicTerminalClasses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateDynamicTerminalClasses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateDynamicTerminalClasses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7541,12 +7541,12 @@ impl ITTerminalSupport { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTerminal)(windows_core::Interface::as_raw(self), pterminalclass.param().abi(), lmediatype, direction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDefaultStaticTerminal(&self, lmediatype: i32, direction: TERMINAL_DIRECTION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultStaticTerminal)(windows_core::Interface::as_raw(self), lmediatype, direction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7554,12 +7554,12 @@ impl ITTerminalSupport { #[repr(C)] pub struct ITTerminalSupport_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub StaticTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StaticTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateStaticTerminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DynamicTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DynamicTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateDynamicTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub CreateTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, TERMINAL_DIRECTION, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTerminal: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, TERMINAL_DIRECTION, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateTerminal: usize, #[cfg(feature = "Win32_System_Com")] @@ -7573,7 +7573,7 @@ windows_core::imp::define_interface!(ITTerminalSupport2, ITTerminalSupport2_Vtbl impl std::ops::Deref for ITTerminalSupport2 { type Target = ITTerminalSupport; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7581,22 +7581,22 @@ windows_core::imp::interface_hierarchy!(ITTerminalSupport2, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ITTerminalSupport2 { pub unsafe fn PluggableSuperclasses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PluggableSuperclasses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumeratePluggableSuperclasses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumeratePluggableSuperclasses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_PluggableTerminalClasses(&self, bstrterminalsuperclass: P0, lmediatype: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PluggableTerminalClasses)(windows_core::Interface::as_raw(self), bstrterminalsuperclass.param().abi(), lmediatype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumeratePluggableTerminalClasses(&self, iidterminalsuperclass: windows_core::GUID, lmediatype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumeratePluggableTerminalClasses)(windows_core::Interface::as_raw(self), core::mem::transmute(iidterminalsuperclass), lmediatype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7604,9 +7604,9 @@ impl ITTerminalSupport2 { #[repr(C)] pub struct ITTerminalSupport2_Vtbl { pub base__: ITTerminalSupport_Vtbl, - pub PluggableSuperclasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PluggableSuperclasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumeratePluggableSuperclasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_PluggableTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_PluggableTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumeratePluggableTerminalClasses: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -7615,7 +7615,7 @@ windows_core::imp::define_interface!(ITToneDetectionEvent, ITToneDetectionEvent_ impl std::ops::Deref for ITToneDetectionEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7624,19 +7624,19 @@ windows_core::imp::interface_hierarchy!(ITToneDetectionEvent, windows_core::IUnk impl ITToneDetectionEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AppSpecific(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppSpecific)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TickCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TickCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CallbackInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallbackInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7658,7 +7658,7 @@ windows_core::imp::define_interface!(ITToneTerminalEvent, ITToneTerminalEvent_Vt impl std::ops::Deref for ITToneTerminalEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7667,16 +7667,16 @@ windows_core::imp::interface_hierarchy!(ITToneTerminalEvent, windows_core::IUnkn impl ITToneTerminalEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Terminal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Terminal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Call(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Call)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7698,7 +7698,7 @@ windows_core::imp::define_interface!(ITnef, ITnef_Vtbl, 0); impl std::ops::Deref for ITnef { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITnef, windows_core::IUnknown); @@ -7719,7 +7719,7 @@ impl ITnef { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenTaggedBody)(windows_core::Interface::as_raw(self), lpmessage.param().abi(), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_AddressBook", feature = "Win32_System_Com"))] @@ -11776,14 +11776,14 @@ impl Default for MSP_EVENT_INFO { #[repr(C)] #[cfg(feature = "Win32_System_Com")] pub union MSP_EVENT_INFO_0 { - pub MSP_ADDRESS_EVENT_INFO: std::mem::ManuallyDrop, - pub MSP_CALL_EVENT_INFO: std::mem::ManuallyDrop, + pub MSP_ADDRESS_EVENT_INFO: core::mem::ManuallyDrop, + pub MSP_CALL_EVENT_INFO: core::mem::ManuallyDrop, pub MSP_TSP_DATA: MSP_EVENT_INFO_0_6, - pub MSP_PRIVATE_EVENT_INFO: std::mem::ManuallyDrop, - pub MSP_FILE_TERMINAL_EVENT_INFO: std::mem::ManuallyDrop, - pub MSP_ASR_TERMINAL_EVENT_INFO: std::mem::ManuallyDrop, - pub MSP_TTS_TERMINAL_EVENT_INFO: std::mem::ManuallyDrop, - pub MSP_TONE_TERMINAL_EVENT_INFO: std::mem::ManuallyDrop, + pub MSP_PRIVATE_EVENT_INFO: core::mem::ManuallyDrop, + pub MSP_FILE_TERMINAL_EVENT_INFO: core::mem::ManuallyDrop, + pub MSP_ASR_TERMINAL_EVENT_INFO: core::mem::ManuallyDrop, + pub MSP_TTS_TERMINAL_EVENT_INFO: core::mem::ManuallyDrop, + pub MSP_TONE_TERMINAL_EVENT_INFO: core::mem::ManuallyDrop, } #[cfg(feature = "Win32_System_Com")] impl Clone for MSP_EVENT_INFO_0 { @@ -11806,7 +11806,7 @@ impl Default for MSP_EVENT_INFO_0 { #[derive(Debug, Eq, PartialEq)] pub struct MSP_EVENT_INFO_0_0 { pub Type: MSP_ADDRESS_EVENT, - pub pTerminal: std::mem::ManuallyDrop>, + pub pTerminal: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_System_Com")] impl Clone for MSP_EVENT_INFO_0_0 { @@ -11828,7 +11828,7 @@ impl Default for MSP_EVENT_INFO_0_0 { #[cfg(feature = "Win32_System_Com")] #[derive(Debug, Eq, PartialEq)] pub struct MSP_EVENT_INFO_0_1 { - pub pASRTerminal: std::mem::ManuallyDrop>, + pub pASRTerminal: core::mem::ManuallyDrop>, pub hrErrorCode: windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -11853,8 +11853,8 @@ impl Default for MSP_EVENT_INFO_0_1 { pub struct MSP_EVENT_INFO_0_2 { pub Type: MSP_CALL_EVENT, pub Cause: MSP_CALL_EVENT_CAUSE, - pub pStream: std::mem::ManuallyDrop>, - pub pTerminal: std::mem::ManuallyDrop>, + pub pStream: core::mem::ManuallyDrop>, + pub pTerminal: core::mem::ManuallyDrop>, pub hrError: windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -11877,8 +11877,8 @@ impl Default for MSP_EVENT_INFO_0_2 { #[cfg(feature = "Win32_System_Com")] #[derive(Debug, Eq, PartialEq)] pub struct MSP_EVENT_INFO_0_3 { - pub pParentFileTerminal: std::mem::ManuallyDrop>, - pub pFileTrack: std::mem::ManuallyDrop>, + pub pParentFileTerminal: core::mem::ManuallyDrop>, + pub pFileTrack: core::mem::ManuallyDrop>, pub TerminalMediaState: TERMINAL_MEDIA_STATE, pub ftecEventCause: FT_STATE_EVENT_CAUSE, pub hrErrorCode: windows_core::HRESULT, @@ -11903,7 +11903,7 @@ impl Default for MSP_EVENT_INFO_0_3 { #[cfg(feature = "Win32_System_Com")] #[derive(Debug, Eq, PartialEq)] pub struct MSP_EVENT_INFO_0_4 { - pub pEvent: std::mem::ManuallyDrop>, + pub pEvent: core::mem::ManuallyDrop>, pub lEventCode: i32, } #[cfg(feature = "Win32_System_Com")] @@ -11926,7 +11926,7 @@ impl Default for MSP_EVENT_INFO_0_4 { #[cfg(feature = "Win32_System_Com")] #[derive(Debug, Eq, PartialEq)] pub struct MSP_EVENT_INFO_0_5 { - pub pToneTerminal: std::mem::ManuallyDrop>, + pub pToneTerminal: core::mem::ManuallyDrop>, pub hrErrorCode: windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -11966,7 +11966,7 @@ impl Default for MSP_EVENT_INFO_0_6 { #[cfg(feature = "Win32_System_Com")] #[derive(Debug, Eq, PartialEq)] pub struct MSP_EVENT_INFO_0_7 { - pub pTTSTerminal: std::mem::ManuallyDrop>, + pub pTTSTerminal: core::mem::ManuallyDrop>, pub hrErrorCode: windows_core::HRESULT, } #[cfg(feature = "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 1c5511973c..444f8245ac 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs @@ -15,7 +15,7 @@ where P1: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDeviceHost(pszlocalid.param().abi(), pcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -25,7 +25,7 @@ where P1: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDeviceHost2(pszlocalid.param().abi(), pcontext.param().abi(), core::mem::transmute(pconfigparams.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pconfigparams.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -35,7 +35,7 @@ where P1: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDeviceHostAdvanced(pszlocalid.param().abi(), pcontext.param().abi(), core::mem::transmute(pphostaddresses.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pphostaddresses.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -46,7 +46,7 @@ where P2: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDeviceProxy(pszdeviceid.param().abi(), pszlocalid.param().abi(), pcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -57,7 +57,7 @@ where P2: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDeviceProxy2(pszdeviceid.param().abi(), pszlocalid.param().abi(), pcontext.param().abi(), core::mem::transmute(pconfigparams.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pconfigparams.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -69,7 +69,7 @@ where P3: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDeviceProxyAdvanced(pszdeviceid.param().abi(), pdeviceaddress.param().abi(), pszlocalid.param().abi(), pcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -78,7 +78,7 @@ where P0: windows_core::Param, { windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryProvider(pcontext : * mut core::ffi::c_void, ppprovider : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDiscoveryProvider(pcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -87,7 +87,7 @@ where P0: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDiscoveryProvider2(pcontext.param().abi(), core::mem::transmute(pconfigparams.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pconfigparams.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -96,7 +96,7 @@ where P0: windows_core::Param, { windows_targets::link!("wsdapi.dll" "system" fn WSDCreateDiscoveryPublisher(pcontext : * mut core::ffi::c_void, pppublisher : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDiscoveryPublisher(pcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -105,37 +105,37 @@ where P0: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateDiscoveryPublisher2(pcontext.param().abi(), core::mem::transmute(pconfigparams.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pconfigparams.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WSDCreateHttpAddress() -> windows_core::Result { windows_targets::link!("wsdapi.dll" "system" fn WSDCreateHttpAddress(ppaddress : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateHttpAddress(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WSDCreateHttpMessageParameters() -> windows_core::Result { windows_targets::link!("wsdapi.dll" "system" fn WSDCreateHttpMessageParameters(pptxparams : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateHttpMessageParameters(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WSDCreateOutboundAttachment() -> windows_core::Result { windows_targets::link!("wsdapi.dll" "system" fn WSDCreateOutboundAttachment(ppattachment : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateOutboundAttachment(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WSDCreateUdpAddress() -> windows_core::Result { windows_targets::link!("wsdapi.dll" "system" fn WSDCreateUdpAddress(ppaddress : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateUdpAddress(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WSDCreateUdpMessageParameters() -> windows_core::Result { windows_targets::link!("wsdapi.dll" "system" fn WSDCreateUdpMessageParameters(pptxparams : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDCreateUdpMessageParameters(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -158,7 +158,7 @@ where P4: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDGenerateFault(pszcode.param().abi(), pszsubcode.param().abi(), pszreason.param().abi(), pszdetail.param().abi(), pcontext.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -167,7 +167,7 @@ where P0: windows_core::Param, { windows_targets::link!("wsdapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDGenerateFaultEx(pcode, core::mem::transmute(psubcode.unwrap_or(std::ptr::null())), preasons, pszdetail.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -216,7 +216,7 @@ pub unsafe fn WSDXMLCleanupElement(pany: *mut WSDXML_ELEMENT) -> windows_core::R #[inline] pub unsafe fn WSDXMLCreateContext() -> windows_core::Result { windows_targets::link!("wsdapi.dll" "system" fn WSDXMLCreateContext(ppcontext : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDXMLCreateContext(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -226,7 +226,7 @@ where P1: windows_core::Param, { windows_targets::link!("wsdapi.dll" "system" fn WSDXMLGetNameFromBuiltinNamespace(psznamespace : windows_core::PCWSTR, pszname : windows_core::PCWSTR, ppname : *mut *mut WSDXML_NAME) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSDXMLGetNameFromBuiltinNamespace(psznamespace.param().abi(), pszname.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -242,7 +242,7 @@ windows_core::imp::define_interface!(IWSDAddress, IWSDAddress_Vtbl, 0xb9574c6c_1 impl std::ops::Deref for IWSDAddress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDAddress, windows_core::IUnknown); @@ -270,7 +270,7 @@ windows_core::imp::define_interface!(IWSDAsyncCallback, IWSDAsyncCallback_Vtbl, impl std::ops::Deref for IWSDAsyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDAsyncCallback, windows_core::IUnknown); @@ -292,7 +292,7 @@ windows_core::imp::define_interface!(IWSDAsyncResult, IWSDAsyncResult_Vtbl, 0x11 impl std::ops::Deref for IWSDAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDAsyncResult, windows_core::IUnknown); @@ -314,7 +314,7 @@ impl IWSDAsyncResult { (windows_core::Interface::vtable(self).HasCompleted)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetAsyncState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAsyncState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Abort(&self) -> windows_core::Result<()> { @@ -324,7 +324,7 @@ impl IWSDAsyncResult { (windows_core::Interface::vtable(self).GetEvent)(windows_core::Interface::as_raw(self), pevent).ok() } pub unsafe fn GetEndpointProxy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEndpointProxy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -343,7 +343,7 @@ windows_core::imp::define_interface!(IWSDAttachment, IWSDAttachment_Vtbl, 0x5d55 impl std::ops::Deref for IWSDAttachment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDAttachment, windows_core::IUnknown); @@ -356,7 +356,7 @@ windows_core::imp::define_interface!(IWSDDeviceHost, IWSDDeviceHost_Vtbl, 0x917f impl std::ops::Deref for IWSDDeviceHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDDeviceHost, windows_core::IUnknown); @@ -447,7 +447,7 @@ windows_core::imp::define_interface!(IWSDDeviceHostNotify, IWSDDeviceHostNotify_ impl std::ops::Deref for IWSDDeviceHostNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDDeviceHostNotify, windows_core::IUnknown); @@ -456,7 +456,7 @@ impl IWSDDeviceHostNotify { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetService)(windows_core::Interface::as_raw(self), pszserviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -469,7 +469,7 @@ windows_core::imp::define_interface!(IWSDDeviceProxy, IWSDDeviceProxy_Vtbl, 0xee impl std::ops::Deref for IWSDDeviceProxy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDDeviceProxy, windows_core::IUnknown); @@ -485,7 +485,7 @@ impl IWSDDeviceProxy { (windows_core::Interface::vtable(self).Init)(windows_core::Interface::as_raw(self), pszdeviceid.param().abi(), pdeviceaddress.param().abi(), pszlocalid.param().abi(), pcontext.param().abi(), psponsor.param().abi()).ok() } pub unsafe fn BeginGetMetadata(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginGetMetadata)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EndGetMetadata(&self, presult: P0) -> windows_core::Result<()> @@ -495,34 +495,34 @@ impl IWSDDeviceProxy { (windows_core::Interface::vtable(self).EndGetMetadata)(windows_core::Interface::as_raw(self), presult.param().abi()).ok() } pub unsafe fn GetHostMetadata(&self) -> windows_core::Result<*mut WSD_HOST_METADATA> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHostMetadata)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThisModelMetadata(&self) -> windows_core::Result<*mut WSD_THIS_MODEL_METADATA> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThisModelMetadata)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThisDeviceMetadata(&self) -> windows_core::Result<*mut WSD_THIS_DEVICE_METADATA> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThisDeviceMetadata)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAllMetadata(&self) -> windows_core::Result<*mut WSD_METADATA_SECTION_LIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllMetadata)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceProxyById(&self, pszserviceid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceProxyById)(windows_core::Interface::as_raw(self), pszserviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetServiceProxyByType(&self, ptype: *const WSDXML_NAME) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceProxyByType)(windows_core::Interface::as_raw(self), ptype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEndpointProxy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEndpointProxy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -544,7 +544,7 @@ windows_core::imp::define_interface!(IWSDEndpointProxy, IWSDEndpointProxy_Vtbl, impl std::ops::Deref for IWSDEndpointProxy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDEndpointProxy, windows_core::IUnknown); @@ -560,7 +560,7 @@ impl IWSDEndpointProxy { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendTwoWayRequestAsync)(windows_core::Interface::as_raw(self), pbody, poperation, pasyncstate.param().abi(), pcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AbortAsyncOperation(&self, pasyncresult: P0) -> windows_core::Result<()> @@ -573,11 +573,11 @@ impl IWSDEndpointProxy { (windows_core::Interface::vtable(self).ProcessFault)(windows_core::Interface::as_raw(self), pfault).ok() } pub unsafe fn GetErrorInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFaultInfo(&self) -> windows_core::Result<*mut WSD_SOAP_FAULT> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFaultInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -596,7 +596,7 @@ windows_core::imp::define_interface!(IWSDEventingStatus, IWSDEventingStatus_Vtbl impl std::ops::Deref for IWSDEventingStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDEventingStatus, windows_core::IUnknown); @@ -631,7 +631,7 @@ windows_core::imp::define_interface!(IWSDHttpAddress, IWSDHttpAddress_Vtbl, 0xd0 impl std::ops::Deref for IWSDHttpAddress { type Target = IWSDTransportAddress; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDHttpAddress, windows_core::IUnknown, IWSDAddress, IWSDTransportAddress); @@ -646,7 +646,7 @@ impl IWSDHttpAddress { (windows_core::Interface::vtable(self).SetSecure)(windows_core::Interface::as_raw(self), fsecure.param().abi()).ok() } pub unsafe fn GetPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPath)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPath(&self, pszpath: P0) -> windows_core::Result<()> @@ -668,17 +668,17 @@ windows_core::imp::define_interface!(IWSDHttpAuthParameters, IWSDHttpAuthParamet impl std::ops::Deref for IWSDHttpAuthParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDHttpAuthParameters, windows_core::IUnknown); impl IWSDHttpAuthParameters { pub unsafe fn GetClientAccessToken(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClientAccessToken)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAuthType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAuthType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -692,7 +692,7 @@ windows_core::imp::define_interface!(IWSDHttpMessageParameters, IWSDHttpMessageP impl std::ops::Deref for IWSDHttpMessageParameters { type Target = IWSDMessageParameters; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDHttpMessageParameters, windows_core::IUnknown, IWSDMessageParameters); @@ -704,7 +704,7 @@ impl IWSDHttpMessageParameters { (windows_core::Interface::vtable(self).SetInboundHttpHeaders)(windows_core::Interface::as_raw(self), pszheaders.param().abi()).ok() } pub unsafe fn GetInboundHttpHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInboundHttpHeaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutboundHttpHeaders(&self, pszheaders: P0) -> windows_core::Result<()> @@ -714,7 +714,7 @@ impl IWSDHttpMessageParameters { (windows_core::Interface::vtable(self).SetOutboundHttpHeaders)(windows_core::Interface::as_raw(self), pszheaders.param().abi()).ok() } pub unsafe fn GetOutboundHttpHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutboundHttpHeaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetID(&self, pszid: P0) -> windows_core::Result<()> @@ -724,7 +724,7 @@ impl IWSDHttpMessageParameters { (windows_core::Interface::vtable(self).SetID)(windows_core::Interface::as_raw(self), pszid.param().abi()).ok() } pub unsafe fn GetID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetContext(&self, pcontext: P0) -> windows_core::Result<()> @@ -734,7 +734,7 @@ impl IWSDHttpMessageParameters { (windows_core::Interface::vtable(self).SetContext)(windows_core::Interface::as_raw(self), pcontext.param().abi()).ok() } pub unsafe fn GetContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clear(&self) -> windows_core::Result<()> { @@ -758,7 +758,7 @@ windows_core::imp::define_interface!(IWSDInboundAttachment, IWSDInboundAttachmen impl std::ops::Deref for IWSDInboundAttachment { type Target = IWSDAttachment; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDInboundAttachment, windows_core::IUnknown, IWSDAttachment); @@ -780,13 +780,13 @@ windows_core::imp::define_interface!(IWSDMessageParameters, IWSDMessageParameter impl std::ops::Deref for IWSDMessageParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDMessageParameters, windows_core::IUnknown); impl IWSDMessageParameters { pub unsafe fn GetLocalAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalAddress(&self, paddress: P0) -> windows_core::Result<()> @@ -796,7 +796,7 @@ impl IWSDMessageParameters { (windows_core::Interface::vtable(self).SetLocalAddress)(windows_core::Interface::as_raw(self), paddress.param().abi()).ok() } pub unsafe fn GetRemoteAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRemoteAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRemoteAddress(&self, paddress: P0) -> windows_core::Result<()> @@ -806,7 +806,7 @@ impl IWSDMessageParameters { (windows_core::Interface::vtable(self).SetRemoteAddress)(windows_core::Interface::as_raw(self), paddress.param().abi()).ok() } pub unsafe fn GetLowerParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLowerParameters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -823,13 +823,13 @@ windows_core::imp::define_interface!(IWSDMetadataExchange, IWSDMetadataExchange_ impl std::ops::Deref for IWSDMetadataExchange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDMetadataExchange, windows_core::IUnknown); impl IWSDMetadataExchange { pub unsafe fn GetMetadata(&self) -> windows_core::Result<*mut WSD_METADATA_SECTION_LIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadata)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -842,13 +842,13 @@ windows_core::imp::define_interface!(IWSDOutboundAttachment, IWSDOutboundAttachm impl std::ops::Deref for IWSDOutboundAttachment { type Target = IWSDAttachment; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDOutboundAttachment, windows_core::IUnknown, IWSDAttachment); impl IWSDOutboundAttachment { pub unsafe fn Write(&self, pbuffer: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Write)(windows_core::Interface::as_raw(self), core::mem::transmute(pbuffer.as_ptr()), pbuffer.len().try_into().unwrap(), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -869,18 +869,18 @@ windows_core::imp::define_interface!(IWSDSSLClientCertificate, IWSDSSLClientCert impl std::ops::Deref for IWSDSSLClientCertificate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDSSLClientCertificate, windows_core::IUnknown); impl IWSDSSLClientCertificate { #[cfg(feature = "Win32_Security_Cryptography")] pub unsafe fn GetClientCertificate(&self) -> windows_core::Result<*mut super::super::Security::Cryptography::CERT_CONTEXT> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClientCertificate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMappedAccessToken(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMappedAccessToken)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -897,13 +897,13 @@ windows_core::imp::define_interface!(IWSDScopeMatchingRule, IWSDScopeMatchingRul impl std::ops::Deref for IWSDScopeMatchingRule { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDScopeMatchingRule, windows_core::IUnknown); impl IWSDScopeMatchingRule { pub unsafe fn GetScopeRule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeRule)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MatchScopes(&self, pszscope1: P0, pszscope2: P1) -> windows_core::Result @@ -911,7 +911,7 @@ impl IWSDScopeMatchingRule { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MatchScopes)(windows_core::Interface::as_raw(self), pszscope1.param().abi(), pszscope2.param().abi(), &mut result__).map(|| result__) } } @@ -925,7 +925,7 @@ windows_core::imp::define_interface!(IWSDServiceMessaging, IWSDServiceMessaging_ impl std::ops::Deref for IWSDServiceMessaging { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDServiceMessaging, windows_core::IUnknown); @@ -953,24 +953,24 @@ windows_core::imp::define_interface!(IWSDServiceProxy, IWSDServiceProxy_Vtbl, 0x impl std::ops::Deref for IWSDServiceProxy { type Target = IWSDMetadataExchange; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDServiceProxy, windows_core::IUnknown, IWSDMetadataExchange); impl IWSDServiceProxy { pub unsafe fn BeginGetMetadata(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginGetMetadata)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EndGetMetadata(&self, presult: P0) -> windows_core::Result<*mut WSD_METADATA_SECTION_LIST> where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndGetMetadata)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetServiceMetadata(&self) -> windows_core::Result<*mut WSD_SERVICE_METADATA> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceMetadata)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SubscribeToOperation(&self, poperation: *const WSD_OPERATION, punknown: P0, pany: *const WSDXML_ELEMENT, ppany: Option<*mut *mut WSDXML_ELEMENT>) -> windows_core::Result<()> @@ -989,7 +989,7 @@ impl IWSDServiceProxy { (windows_core::Interface::vtable(self).SetEventingStatusCallback)(windows_core::Interface::as_raw(self), pstatus.param().abi()).ok() } pub unsafe fn GetEndpointProxy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEndpointProxy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1008,7 +1008,7 @@ windows_core::imp::define_interface!(IWSDServiceProxyEventing, IWSDServiceProxyE impl std::ops::Deref for IWSDServiceProxyEventing { type Target = IWSDServiceProxy; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDServiceProxyEventing, windows_core::IUnknown, IWSDMetadataExchange, IWSDServiceProxy); @@ -1025,7 +1025,7 @@ impl IWSDServiceProxyEventing { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginSubscribeToMultipleOperations)(windows_core::Interface::as_raw(self), core::mem::transmute(poperations.as_ptr()), poperations.len().try_into().unwrap(), punknown.param().abi(), core::mem::transmute(pexpires.unwrap_or(std::ptr::null())), core::mem::transmute(pany.unwrap_or(std::ptr::null())), pasyncstate.param().abi(), pasynccallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EndSubscribeToMultipleOperations(&self, poperations: &[WSD_OPERATION], presult: P0, ppexpires: Option<*mut *mut WSD_EVENTING_EXPIRES>, ppany: Option<*mut *mut WSDXML_ELEMENT>) -> windows_core::Result<()> @@ -1042,7 +1042,7 @@ impl IWSDServiceProxyEventing { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginUnsubscribeToMultipleOperations)(windows_core::Interface::as_raw(self), core::mem::transmute(poperations.as_ptr()), poperations.len().try_into().unwrap(), core::mem::transmute(pany.unwrap_or(std::ptr::null())), pasyncstate.param().abi(), pasynccallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EndUnsubscribeToMultipleOperations(&self, poperations: &[WSD_OPERATION], presult: P0) -> windows_core::Result<()> @@ -1059,7 +1059,7 @@ impl IWSDServiceProxyEventing { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginRenewMultipleOperations)(windows_core::Interface::as_raw(self), core::mem::transmute(poperations.as_ptr()), poperations.len().try_into().unwrap(), core::mem::transmute(pexpires.unwrap_or(std::ptr::null())), core::mem::transmute(pany.unwrap_or(std::ptr::null())), pasyncstate.param().abi(), pasynccallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EndRenewMultipleOperations(&self, poperations: &[WSD_OPERATION], presult: P0, ppexpires: Option<*mut *mut WSD_EVENTING_EXPIRES>, ppany: Option<*mut *mut WSDXML_ELEMENT>) -> windows_core::Result<()> @@ -1076,7 +1076,7 @@ impl IWSDServiceProxyEventing { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginGetStatusForMultipleOperations)(windows_core::Interface::as_raw(self), core::mem::transmute(poperations.as_ptr()), poperations.len().try_into().unwrap(), core::mem::transmute(pany.unwrap_or(std::ptr::null())), pasyncstate.param().abi(), pasynccallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EndGetStatusForMultipleOperations(&self, poperations: &[WSD_OPERATION], presult: P0, ppexpires: Option<*mut *mut WSD_EVENTING_EXPIRES>, ppany: Option<*mut *mut WSDXML_ELEMENT>) -> windows_core::Result<()> @@ -1106,17 +1106,17 @@ windows_core::imp::define_interface!(IWSDSignatureProperty, IWSDSignaturePropert impl std::ops::Deref for IWSDSignatureProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDSignatureProperty, windows_core::IUnknown); impl IWSDSignatureProperty { pub unsafe fn IsMessageSigned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMessageSigned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsMessageSignatureTrusted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMessageSignatureTrusted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetKeyInfo(&self, pbkeyinfo: Option<*mut u8>, pdwkeyinfosize: *mut u32) -> windows_core::Result<()> { @@ -1142,27 +1142,27 @@ windows_core::imp::define_interface!(IWSDTransportAddress, IWSDTransportAddress_ impl std::ops::Deref for IWSDTransportAddress { type Target = IWSDAddress; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDTransportAddress, windows_core::IUnknown, IWSDAddress); impl IWSDTransportAddress { pub unsafe fn GetPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportAddress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransportAddressEx(&self, fsafe: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportAddressEx)(windows_core::Interface::as_raw(self), fsafe.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetTransportAddress(&self, pszaddress: P0) -> windows_core::Result<()> @@ -1185,7 +1185,7 @@ windows_core::imp::define_interface!(IWSDUdpAddress, IWSDUdpAddress_Vtbl, 0x74d6 impl std::ops::Deref for IWSDUdpAddress { type Target = IWSDTransportAddress; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDUdpAddress, windows_core::IUnknown, IWSDAddress, IWSDTransportAddress); @@ -1211,21 +1211,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessageType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTTL)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), palias).ok() } pub unsafe fn GetAlias(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlias)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1253,7 +1253,7 @@ windows_core::imp::define_interface!(IWSDUdpMessageParameters, IWSDUdpMessagePar impl std::ops::Deref for IWSDUdpMessageParameters { type Target = IWSDMessageParameters; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDUdpMessageParameters, windows_core::IUnknown, IWSDMessageParameters); @@ -1275,7 +1275,7 @@ windows_core::imp::define_interface!(IWSDXMLContext, IWSDXMLContext_Vtbl, 0x75d8 impl std::ops::Deref for IWSDXMLContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDXMLContext, windows_core::IUnknown); @@ -1313,52 +1313,52 @@ windows_core::imp::define_interface!(IWSDiscoveredService, IWSDiscoveredService_ impl std::ops::Deref for IWSDiscoveredService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDiscoveredService, windows_core::IUnknown); impl IWSDiscoveredService { pub unsafe fn GetEndpointReference(&self) -> windows_core::Result<*mut WSD_ENDPOINT_REFERENCE> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEndpointReference)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypes(&self) -> windows_core::Result<*mut WSD_NAME_LIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetScopes(&self) -> windows_core::Result<*mut WSD_URI_LIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetXAddrs(&self) -> windows_core::Result<*mut WSD_URI_LIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXAddrs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMetadataVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), ppheaderany, ppbodyany).ok() } pub unsafe fn GetProbeResolveTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProbeResolveTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRemoteTransportAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRemoteTransportAddress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocalTransportAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalTransportAddress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocalInterfaceGUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalInterfaceGUID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInstanceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstanceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1381,7 +1381,7 @@ windows_core::imp::define_interface!(IWSDiscoveryProvider, IWSDiscoveryProvider_ impl std::ops::Deref for IWSDiscoveryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDiscoveryProvider, windows_core::IUnknown); @@ -1420,7 +1420,7 @@ impl IWSDiscoveryProvider { (windows_core::Interface::vtable(self).SearchByType)(windows_core::Interface::as_raw(self), core::mem::transmute(ptypeslist.unwrap_or(std::ptr::null())), core::mem::transmute(pscopeslist.unwrap_or(std::ptr::null())), pszmatchby.param().abi(), psztag.param().abi()).ok() } pub unsafe fn GetXMLContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXMLContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1439,7 +1439,7 @@ windows_core::imp::define_interface!(IWSDiscoveryProviderNotify, IWSDiscoveryPro impl std::ops::Deref for IWSDiscoveryProviderNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDiscoveryProviderNotify, windows_core::IUnknown); @@ -1481,7 +1481,7 @@ windows_core::imp::define_interface!(IWSDiscoveryPublisher, IWSDiscoveryPublishe impl std::ops::Deref for IWSDiscoveryPublisher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDiscoveryPublisher, windows_core::IUnknown); @@ -1619,7 +1619,7 @@ impl IWSDiscoveryPublisher { (windows_core::Interface::vtable(self).UnRegisterScopeMatchingRule)(windows_core::Interface::as_raw(self), pscopematchingrule.param().abi()).ok() } pub unsafe fn GetXMLContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXMLContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1644,7 +1644,7 @@ windows_core::imp::define_interface!(IWSDiscoveryPublisherNotify, IWSDiscoveryPu impl std::ops::Deref for IWSDiscoveryPublisherNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSDiscoveryPublisherNotify, windows_core::IUnknown); @@ -2256,7 +2256,7 @@ pub struct WSD_EVENT { pub HandlerContext: WSD_HANDLER_CONTEXT, pub Soap: *mut WSD_SOAP_MESSAGE, pub Operation: *mut WSD_OPERATION, - pub MessageParameters: std::mem::ManuallyDrop>, + pub MessageParameters: core::mem::ManuallyDrop>, } impl Clone for WSD_EVENT { fn clone(&self) -> Self { @@ -2346,7 +2346,7 @@ impl Default for WSD_EVENTING_FILTER_ACTION { pub struct WSD_HANDLER_CONTEXT { pub Handler: PWSD_SOAP_MESSAGE_HANDLER, pub PVoid: *mut core::ffi::c_void, - pub Unknown: std::mem::ManuallyDrop>, + pub Unknown: core::mem::ManuallyDrop>, } impl Clone for WSD_HANDLER_CONTEXT { fn clone(&self) -> Self { @@ -2865,7 +2865,7 @@ impl Default for WSD_SOAP_MESSAGE { pub struct WSD_SYNCHRONOUS_RESPONSE_CONTEXT { pub hr: windows_core::HRESULT, pub eventHandle: super::super::Foundation::HANDLE, - pub messageParameters: std::mem::ManuallyDrop>, + pub messageParameters: core::mem::ManuallyDrop>, pub results: *mut core::ffi::c_void, } impl Clone for WSD_SYNCHRONOUS_RESPONSE_CONTEXT { diff --git a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs index 86c6498ee8..236dbdf461 100644 --- a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs @@ -95,7 +95,7 @@ pub unsafe fn SysAddRefString(bstrstring: P0) -> windows_core::Result<()> where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn SysAddRefString(bstrstring : std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn SysAddRefString(bstrstring : core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); SysAddRefString(bstrstring.param().abi()).ok() } #[inline] @@ -121,7 +121,7 @@ pub unsafe fn SysFreeString(bstrstring: P0) where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn SysFreeString(bstrstring : std::mem::MaybeUninit < windows_core::BSTR >)); + windows_targets::link!("oleaut32.dll" "system" fn SysFreeString(bstrstring : core::mem::MaybeUninit < windows_core::BSTR >)); SysFreeString(bstrstring.param().abi()) } #[inline] @@ -129,7 +129,7 @@ pub unsafe fn SysReAllocString(pbstr: *mut windows_core::BSTR, psz: P0) -> i where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn SysReAllocString(pbstr : *mut std::mem::MaybeUninit < windows_core::BSTR >, psz : windows_core::PCWSTR) -> i32); + windows_targets::link!("oleaut32.dll" "system" fn SysReAllocString(pbstr : *mut core::mem::MaybeUninit < windows_core::BSTR >, psz : windows_core::PCWSTR) -> i32); SysReAllocString(core::mem::transmute(pbstr), psz.param().abi()) } #[inline] @@ -137,7 +137,7 @@ pub unsafe fn SysReAllocStringLen(pbstr: *mut windows_core::BSTR, psz: P0, l where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn SysReAllocStringLen(pbstr : *mut std::mem::MaybeUninit < windows_core::BSTR >, psz : windows_core::PCWSTR, len : u32) -> i32); + windows_targets::link!("oleaut32.dll" "system" fn SysReAllocStringLen(pbstr : *mut core::mem::MaybeUninit < windows_core::BSTR >, psz : windows_core::PCWSTR, len : u32) -> i32); SysReAllocStringLen(core::mem::transmute(pbstr), psz.param().abi(), len) } #[inline] @@ -145,7 +145,7 @@ pub unsafe fn SysReleaseString(bstrstring: P0) where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn SysReleaseString(bstrstring : std::mem::MaybeUninit < windows_core::BSTR >)); + windows_targets::link!("oleaut32.dll" "system" fn SysReleaseString(bstrstring : core::mem::MaybeUninit < windows_core::BSTR >)); SysReleaseString(bstrstring.param().abi()) } #[inline] @@ -153,7 +153,7 @@ pub unsafe fn SysStringByteLen(bstr: P0) -> u32 where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn SysStringByteLen(bstr : std::mem::MaybeUninit < windows_core::BSTR >) -> u32); + windows_targets::link!("oleaut32.dll" "system" fn SysStringByteLen(bstr : core::mem::MaybeUninit < windows_core::BSTR >) -> u32); SysStringByteLen(bstr.param().abi()) } #[inline] @@ -161,7 +161,7 @@ pub unsafe fn SysStringLen(pbstr: P0) -> u32 where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn SysStringLen(pbstr : std::mem::MaybeUninit < windows_core::BSTR >) -> u32); + windows_targets::link!("oleaut32.dll" "system" fn SysStringLen(pbstr : core::mem::MaybeUninit < windows_core::BSTR >) -> u32); SysStringLen(pbstr.param().abi()) } pub const APPMODEL_ERROR_DYNAMIC_PROPERTY_INVALID: WIN32_ERROR = WIN32_ERROR(15705u32); diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs index ba36e8ef18..adb784890d 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs @@ -7,7 +7,7 @@ pub trait IGameExplorer_Impl: Sized { impl windows_core::RuntimeName for IGameExplorer {} impl IGameExplorer_Vtbl { pub const fn new, Impl: IGameExplorer_Impl, const OFFSET: isize>() -> IGameExplorer_Vtbl { - unsafe extern "system" fn AddGame, Impl: IGameExplorer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgdfbinarypath: std::mem::MaybeUninit, bstrgameinstalldirectory: std::mem::MaybeUninit, installscope: GAME_INSTALL_SCOPE, pguidinstanceid: *mut windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn AddGame, Impl: IGameExplorer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgdfbinarypath: core::mem::MaybeUninit, bstrgameinstalldirectory: core::mem::MaybeUninit, installscope: GAME_INSTALL_SCOPE, pguidinstanceid: *mut windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGameExplorer_Impl::AddGame(this, core::mem::transmute(&bstrgdfbinarypath), core::mem::transmute(&bstrgameinstalldirectory), core::mem::transmute_copy(&installscope), core::mem::transmute_copy(&pguidinstanceid)).into() @@ -22,7 +22,7 @@ impl IGameExplorer_Vtbl { let this = (*this).get_impl(); IGameExplorer_Impl::UpdateGame(this, core::mem::transmute(&guidinstanceid)).into() } - unsafe extern "system" fn VerifyAccess, Impl: IGameExplorer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgdfbinarypath: std::mem::MaybeUninit, pfhasaccess: *mut super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn VerifyAccess, Impl: IGameExplorer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgdfbinarypath: core::mem::MaybeUninit, pfhasaccess: *mut super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGameExplorer_Impl::VerifyAccess(this, core::mem::transmute(&bstrgdfbinarypath)) { diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs index e3d362d2f1..6a109dc5f6 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs @@ -1,7 +1,7 @@ #[inline] pub unsafe fn CheckGamingPrivilegeSilently(privilegeid: u32, scope: &windows_core::HSTRING, policy: &windows_core::HSTRING) -> windows_core::Result { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-1.dll" "system" fn CheckGamingPrivilegeSilently(privilegeid : u32, scope : std::mem::MaybeUninit < windows_core::HSTRING >, policy : std::mem::MaybeUninit < windows_core::HSTRING >, hasprivilege : *mut super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-1.dll" "system" fn CheckGamingPrivilegeSilently(privilegeid : u32, scope : core::mem::MaybeUninit < windows_core::HSTRING >, policy : core::mem::MaybeUninit < windows_core::HSTRING >, hasprivilege : *mut super::Foundation:: BOOL) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); CheckGamingPrivilegeSilently(privilegeid, core::mem::transmute_copy(scope), core::mem::transmute_copy(policy), &mut result__).map(|| result__) } #[inline] @@ -9,13 +9,13 @@ pub unsafe fn CheckGamingPrivilegeSilentlyForUser(user: P0, privilegeid: u32 where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn CheckGamingPrivilegeSilentlyForUser(user : * mut core::ffi::c_void, privilegeid : u32, scope : std::mem::MaybeUninit < windows_core::HSTRING >, policy : std::mem::MaybeUninit < windows_core::HSTRING >, hasprivilege : *mut super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn CheckGamingPrivilegeSilentlyForUser(user : * mut core::ffi::c_void, privilegeid : u32, scope : core::mem::MaybeUninit < windows_core::HSTRING >, policy : core::mem::MaybeUninit < windows_core::HSTRING >, hasprivilege : *mut super::Foundation:: BOOL) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); CheckGamingPrivilegeSilentlyForUser(user.param().abi(), privilegeid, core::mem::transmute_copy(scope), core::mem::transmute_copy(policy), &mut result__).map(|| result__) } #[inline] pub unsafe fn CheckGamingPrivilegeWithUI(privilegeid: u32, scope: &windows_core::HSTRING, policy: &windows_core::HSTRING, friendlymessage: &windows_core::HSTRING, completionroutine: GameUICompletionRoutine, context: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-1.dll" "system" fn CheckGamingPrivilegeWithUI(privilegeid : u32, scope : std::mem::MaybeUninit < windows_core::HSTRING >, policy : std::mem::MaybeUninit < windows_core::HSTRING >, friendlymessage : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-1.dll" "system" fn CheckGamingPrivilegeWithUI(privilegeid : u32, scope : core::mem::MaybeUninit < windows_core::HSTRING >, policy : core::mem::MaybeUninit < windows_core::HSTRING >, friendlymessage : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); CheckGamingPrivilegeWithUI(privilegeid, core::mem::transmute_copy(scope), core::mem::transmute_copy(policy), core::mem::transmute_copy(friendlymessage), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] @@ -23,25 +23,25 @@ pub unsafe fn CheckGamingPrivilegeWithUIForUser(user: P0, privilegeid: u32, where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn CheckGamingPrivilegeWithUIForUser(user : * mut core::ffi::c_void, privilegeid : u32, scope : std::mem::MaybeUninit < windows_core::HSTRING >, policy : std::mem::MaybeUninit < windows_core::HSTRING >, friendlymessage : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn CheckGamingPrivilegeWithUIForUser(user : * mut core::ffi::c_void, privilegeid : u32, scope : core::mem::MaybeUninit < windows_core::HSTRING >, policy : core::mem::MaybeUninit < windows_core::HSTRING >, friendlymessage : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); CheckGamingPrivilegeWithUIForUser(user.param().abi(), privilegeid, core::mem::transmute_copy(scope), core::mem::transmute_copy(policy), core::mem::transmute_copy(friendlymessage), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] pub unsafe fn GetExpandedResourceExclusiveCpuCount() -> windows_core::Result { windows_targets::link!("api-ms-win-gaming-expandedresources-l1-1-0.dll" "system" fn GetExpandedResourceExclusiveCpuCount(exclusivecpucount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetExpandedResourceExclusiveCpuCount(&mut result__).map(|| result__) } #[inline] pub unsafe fn GetGamingDeviceModelInformation() -> windows_core::Result { windows_targets::link!("api-ms-win-gaming-deviceinformation-l1-1-0.dll" "system" fn GetGamingDeviceModelInformation(information : *mut GAMING_DEVICE_MODEL_INFORMATION) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetGamingDeviceModelInformation(&mut result__).map(|| result__) } #[inline] pub unsafe fn HasExpandedResources() -> windows_core::Result { windows_targets::link!("api-ms-win-gaming-expandedresources-l1-1-0.dll" "system" fn HasExpandedResources(hasexpandedresources : *mut super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HasExpandedResources(&mut result__).map(|| result__) } #[inline] @@ -59,7 +59,7 @@ pub unsafe fn ReleaseExclusiveCpuSets() -> windows_core::Result<()> { } #[inline] pub unsafe fn ShowChangeFriendRelationshipUI(targetuserxuid: &windows_core::HSTRING, completionroutine: GameUICompletionRoutine, context: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowChangeFriendRelationshipUI(targetuserxuid : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowChangeFriendRelationshipUI(targetuserxuid : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowChangeFriendRelationshipUI(core::mem::transmute_copy(targetuserxuid), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] @@ -67,7 +67,7 @@ pub unsafe fn ShowChangeFriendRelationshipUIForUser(user: P0, targetuserxuid where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowChangeFriendRelationshipUIForUser(user : * mut core::ffi::c_void, targetuserxuid : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowChangeFriendRelationshipUIForUser(user : * mut core::ffi::c_void, targetuserxuid : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowChangeFriendRelationshipUIForUser(user.param().abi(), core::mem::transmute_copy(targetuserxuid), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] @@ -111,7 +111,7 @@ where } #[inline] pub unsafe fn ShowGameInviteUI(serviceconfigurationid: &windows_core::HSTRING, sessiontemplatename: &windows_core::HSTRING, sessionid: &windows_core::HSTRING, invitationdisplaytext: &windows_core::HSTRING, completionroutine: GameUICompletionRoutine, context: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowGameInviteUI(serviceconfigurationid : std::mem::MaybeUninit < windows_core::HSTRING >, sessiontemplatename : std::mem::MaybeUninit < windows_core::HSTRING >, sessionid : std::mem::MaybeUninit < windows_core::HSTRING >, invitationdisplaytext : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowGameInviteUI(serviceconfigurationid : core::mem::MaybeUninit < windows_core::HSTRING >, sessiontemplatename : core::mem::MaybeUninit < windows_core::HSTRING >, sessionid : core::mem::MaybeUninit < windows_core::HSTRING >, invitationdisplaytext : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowGameInviteUI(core::mem::transmute_copy(serviceconfigurationid), core::mem::transmute_copy(sessiontemplatename), core::mem::transmute_copy(sessionid), core::mem::transmute_copy(invitationdisplaytext), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] @@ -119,12 +119,12 @@ pub unsafe fn ShowGameInviteUIForUser(user: P0, serviceconfigurationid: &win where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowGameInviteUIForUser(user : * mut core::ffi::c_void, serviceconfigurationid : std::mem::MaybeUninit < windows_core::HSTRING >, sessiontemplatename : std::mem::MaybeUninit < windows_core::HSTRING >, sessionid : std::mem::MaybeUninit < windows_core::HSTRING >, invitationdisplaytext : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowGameInviteUIForUser(user : * mut core::ffi::c_void, serviceconfigurationid : core::mem::MaybeUninit < windows_core::HSTRING >, sessiontemplatename : core::mem::MaybeUninit < windows_core::HSTRING >, sessionid : core::mem::MaybeUninit < windows_core::HSTRING >, invitationdisplaytext : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowGameInviteUIForUser(user.param().abi(), core::mem::transmute_copy(serviceconfigurationid), core::mem::transmute_copy(sessiontemplatename), core::mem::transmute_copy(sessionid), core::mem::transmute_copy(invitationdisplaytext), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] pub unsafe fn ShowGameInviteUIWithContext(serviceconfigurationid: &windows_core::HSTRING, sessiontemplatename: &windows_core::HSTRING, sessionid: &windows_core::HSTRING, invitationdisplaytext: &windows_core::HSTRING, customactivationcontext: &windows_core::HSTRING, completionroutine: GameUICompletionRoutine, context: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-3.dll" "system" fn ShowGameInviteUIWithContext(serviceconfigurationid : std::mem::MaybeUninit < windows_core::HSTRING >, sessiontemplatename : std::mem::MaybeUninit < windows_core::HSTRING >, sessionid : std::mem::MaybeUninit < windows_core::HSTRING >, invitationdisplaytext : std::mem::MaybeUninit < windows_core::HSTRING >, customactivationcontext : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-3.dll" "system" fn ShowGameInviteUIWithContext(serviceconfigurationid : core::mem::MaybeUninit < windows_core::HSTRING >, sessiontemplatename : core::mem::MaybeUninit < windows_core::HSTRING >, sessionid : core::mem::MaybeUninit < windows_core::HSTRING >, invitationdisplaytext : core::mem::MaybeUninit < windows_core::HSTRING >, customactivationcontext : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowGameInviteUIWithContext(core::mem::transmute_copy(serviceconfigurationid), core::mem::transmute_copy(sessiontemplatename), core::mem::transmute_copy(sessionid), core::mem::transmute_copy(invitationdisplaytext), core::mem::transmute_copy(customactivationcontext), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] @@ -132,12 +132,12 @@ pub unsafe fn ShowGameInviteUIWithContextForUser(user: P0, serviceconfigurat where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-3.dll" "system" fn ShowGameInviteUIWithContextForUser(user : * mut core::ffi::c_void, serviceconfigurationid : std::mem::MaybeUninit < windows_core::HSTRING >, sessiontemplatename : std::mem::MaybeUninit < windows_core::HSTRING >, sessionid : std::mem::MaybeUninit < windows_core::HSTRING >, invitationdisplaytext : std::mem::MaybeUninit < windows_core::HSTRING >, customactivationcontext : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-3.dll" "system" fn ShowGameInviteUIWithContextForUser(user : * mut core::ffi::c_void, serviceconfigurationid : core::mem::MaybeUninit < windows_core::HSTRING >, sessiontemplatename : core::mem::MaybeUninit < windows_core::HSTRING >, sessionid : core::mem::MaybeUninit < windows_core::HSTRING >, invitationdisplaytext : core::mem::MaybeUninit < windows_core::HSTRING >, customactivationcontext : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowGameInviteUIWithContextForUser(user.param().abi(), core::mem::transmute_copy(serviceconfigurationid), core::mem::transmute_copy(sessiontemplatename), core::mem::transmute_copy(sessionid), core::mem::transmute_copy(invitationdisplaytext), core::mem::transmute_copy(customactivationcontext), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] pub unsafe fn ShowPlayerPickerUI(promptdisplaytext: &windows_core::HSTRING, xuids: &[windows_core::HSTRING], preselectedxuids: Option<&[windows_core::HSTRING]>, minselectioncount: usize, maxselectioncount: usize, completionroutine: PlayerPickerUICompletionRoutine, context: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowPlayerPickerUI(promptdisplaytext : std::mem::MaybeUninit < windows_core::HSTRING >, xuids : *const std::mem::MaybeUninit < windows_core::HSTRING >, xuidscount : usize, preselectedxuids : *const std::mem::MaybeUninit < windows_core::HSTRING >, preselectedxuidscount : usize, minselectioncount : usize, maxselectioncount : usize, completionroutine : PlayerPickerUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowPlayerPickerUI(promptdisplaytext : core::mem::MaybeUninit < windows_core::HSTRING >, xuids : *const core::mem::MaybeUninit < windows_core::HSTRING >, xuidscount : usize, preselectedxuids : *const core::mem::MaybeUninit < windows_core::HSTRING >, preselectedxuidscount : usize, minselectioncount : usize, maxselectioncount : usize, completionroutine : PlayerPickerUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowPlayerPickerUI(core::mem::transmute_copy(promptdisplaytext), core::mem::transmute(xuids.as_ptr()), xuids.len().try_into().unwrap(), core::mem::transmute(preselectedxuids.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), preselectedxuids.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), minselectioncount, maxselectioncount, completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] @@ -145,12 +145,12 @@ pub unsafe fn ShowPlayerPickerUIForUser(user: P0, promptdisplaytext: &window where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowPlayerPickerUIForUser(user : * mut core::ffi::c_void, promptdisplaytext : std::mem::MaybeUninit < windows_core::HSTRING >, xuids : *const std::mem::MaybeUninit < windows_core::HSTRING >, xuidscount : usize, preselectedxuids : *const std::mem::MaybeUninit < windows_core::HSTRING >, preselectedxuidscount : usize, minselectioncount : usize, maxselectioncount : usize, completionroutine : PlayerPickerUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowPlayerPickerUIForUser(user : * mut core::ffi::c_void, promptdisplaytext : core::mem::MaybeUninit < windows_core::HSTRING >, xuids : *const core::mem::MaybeUninit < windows_core::HSTRING >, xuidscount : usize, preselectedxuids : *const core::mem::MaybeUninit < windows_core::HSTRING >, preselectedxuidscount : usize, minselectioncount : usize, maxselectioncount : usize, completionroutine : PlayerPickerUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowPlayerPickerUIForUser(user.param().abi(), core::mem::transmute_copy(promptdisplaytext), core::mem::transmute(xuids.as_ptr()), xuids.len().try_into().unwrap(), core::mem::transmute(preselectedxuids.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), preselectedxuids.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), minselectioncount, maxselectioncount, completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] pub unsafe fn ShowProfileCardUI(targetuserxuid: &windows_core::HSTRING, completionroutine: GameUICompletionRoutine, context: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowProfileCardUI(targetuserxuid : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowProfileCardUI(targetuserxuid : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowProfileCardUI(core::mem::transmute_copy(targetuserxuid), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] @@ -158,7 +158,7 @@ pub unsafe fn ShowProfileCardUIForUser(user: P0, targetuserxuid: &windows_co where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowProfileCardUIForUser(user : * mut core::ffi::c_void, targetuserxuid : std::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowProfileCardUIForUser(user : * mut core::ffi::c_void, targetuserxuid : core::mem::MaybeUninit < windows_core::HSTRING >, completionroutine : GameUICompletionRoutine, context : *const core::ffi::c_void) -> windows_core::HRESULT); ShowProfileCardUIForUser(user.param().abi(), core::mem::transmute_copy(targetuserxuid), completionroutine, core::mem::transmute(context.unwrap_or(std::ptr::null()))).ok() } #[inline] @@ -196,7 +196,7 @@ windows_core::imp::define_interface!(IGameExplorer, IGameExplorer_Vtbl, 0xe7b2fb impl std::ops::Deref for IGameExplorer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGameExplorer, windows_core::IUnknown); @@ -218,23 +218,23 @@ impl IGameExplorer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VerifyAccess)(windows_core::Interface::as_raw(self), bstrgdfbinarypath.param().abi(), &mut result__).map(|| result__) } } #[repr(C)] pub struct IGameExplorer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub AddGame: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, GAME_INSTALL_SCOPE, *mut windows_core::GUID) -> windows_core::HRESULT, + pub AddGame: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, GAME_INSTALL_SCOPE, *mut windows_core::GUID) -> windows_core::HRESULT, pub RemoveGame: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub UpdateGame: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, - pub VerifyAccess: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::Foundation::BOOL) -> windows_core::HRESULT, + pub VerifyAccess: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameExplorer2, IGameExplorer2_Vtbl, 0x86874aa7_a1ed_450d_a7eb_b89e20b2fff3); impl std::ops::Deref for IGameExplorer2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGameExplorer2, windows_core::IUnknown); @@ -256,7 +256,7 @@ impl IGameExplorer2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckAccess)(windows_core::Interface::as_raw(self), binarygdfpath.param().abi(), &mut result__).map(|| result__) } } @@ -271,29 +271,29 @@ windows_core::imp::define_interface!(IGameStatistics, IGameStatistics_Vtbl, 0x38 impl std::ops::Deref for IGameStatistics { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGameStatistics, windows_core::IUnknown); impl IGameStatistics { pub unsafe fn GetMaxCategoryLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxCategoryLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxNameLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxNameLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxValueLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxValueLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxCategories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxCategories)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxStatsPerCategory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxStatsPerCategory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCategoryTitle(&self, categoryindex: u16, title: P0) -> windows_core::Result<()> @@ -303,7 +303,7 @@ impl IGameStatistics { (windows_core::Interface::vtable(self).SetCategoryTitle)(windows_core::Interface::as_raw(self), categoryindex, title.param().abi()).ok() } pub unsafe fn GetCategoryTitle(&self, categoryindex: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategoryTitle)(windows_core::Interface::as_raw(self), categoryindex, &mut result__).map(|| result__) } pub unsafe fn GetStatistic(&self, categoryindex: u16, statindex: u16, pname: Option<*mut windows_core::PWSTR>, pvalue: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -326,7 +326,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastPlayedCategory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -350,7 +350,7 @@ windows_core::imp::define_interface!(IGameStatisticsMgr, IGameStatisticsMgr_Vtbl impl std::ops::Deref for IGameStatisticsMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGameStatisticsMgr, windows_core::IUnknown); @@ -378,7 +378,7 @@ windows_core::imp::define_interface!(IXblIdpAuthManager, IXblIdpAuthManager_Vtbl impl std::ops::Deref for IXblIdpAuthManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXblIdpAuthManager, windows_core::IUnknown); @@ -401,11 +401,11 @@ impl IXblIdpAuthManager { (windows_core::Interface::vtable(self).SetAppViewInitialized)(windows_core::Interface::as_raw(self), appsid.param().abi(), msaaccountid.param().abi()).ok() } pub unsafe fn GetEnvironment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnvironment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSandbox(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSandbox)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTokenAndSignatureWithTokenResult(&self, msaaccountid: P0, appsid: P1, msatarget: P2, msapolicy: P3, httpmethod: P4, uri: P5, headers: P6, body: &[u8], forcerefresh: P7) -> windows_core::Result @@ -419,7 +419,7 @@ impl IXblIdpAuthManager { P6: windows_core::Param, P7: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTokenAndSignatureWithTokenResult)(windows_core::Interface::as_raw(self), msaaccountid.param().abi(), appsid.param().abi(), msatarget.param().abi(), msapolicy.param().abi(), httpmethod.param().abi(), uri.param().abi(), headers.param().abi(), core::mem::transmute(body.as_ptr()), body.len().try_into().unwrap(), forcerefresh.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -437,7 +437,7 @@ windows_core::imp::define_interface!(IXblIdpAuthManager2, IXblIdpAuthManager2_Vt impl std::ops::Deref for IXblIdpAuthManager2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXblIdpAuthManager2, windows_core::IUnknown); @@ -452,7 +452,7 @@ impl IXblIdpAuthManager2 { P5: windows_core::Param, P6: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserlessTokenAndSignatureWithTokenResult)(windows_core::Interface::as_raw(self), appsid.param().abi(), msatarget.param().abi(), msapolicy.param().abi(), httpmethod.param().abi(), uri.param().abi(), headers.param().abi(), core::mem::transmute(body.as_ptr()), body.len().try_into().unwrap(), forcerefresh.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -465,89 +465,89 @@ windows_core::imp::define_interface!(IXblIdpAuthTokenResult, IXblIdpAuthTokenRes impl std::ops::Deref for IXblIdpAuthTokenResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXblIdpAuthTokenResult, windows_core::IUnknown); impl IXblIdpAuthTokenResult { pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetErrorCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetToken(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetToken)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSignature(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignature)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSandbox(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSandbox)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEnvironment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnvironment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMsaAccountId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMsaAccountId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetXuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGamertag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGamertag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAgeGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAgeGroup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPrivileges(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrivileges)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMsaTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMsaTarget)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMsaPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMsaPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMsaAppId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMsaAppId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRedirect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRedirect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMessage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHelpId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHelpId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEnforcementBans(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnforcementBans)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRestrictions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestrictions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTitleRestrictions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTitleRestrictions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -579,21 +579,21 @@ windows_core::imp::define_interface!(IXblIdpAuthTokenResult2, IXblIdpAuthTokenRe impl std::ops::Deref for IXblIdpAuthTokenResult2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXblIdpAuthTokenResult2, windows_core::IUnknown); impl IXblIdpAuthTokenResult2 { pub unsafe fn GetModernGamertag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModernGamertag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetModernGamertagSuffix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModernGamertagSuffix)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUniqueModernGamertag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUniqueModernGamertag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs index 52c9d7fda9..2dd9660128 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs @@ -782,7 +782,7 @@ impl IMultiLanguage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCharsetInfo, Impl: IMultiLanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, charset: std::mem::MaybeUninit, pcharsetinfo: *mut MIMECSETINFO) -> windows_core::HRESULT { + unsafe extern "system" fn GetCharsetInfo, Impl: IMultiLanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, charset: core::mem::MaybeUninit, pcharsetinfo: *mut MIMECSETINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMultiLanguage_Impl::GetCharsetInfo(this, core::mem::transmute(&charset), core::mem::transmute_copy(&pcharsetinfo)).into() @@ -812,7 +812,7 @@ impl IMultiLanguage_Vtbl { let this = (*this).get_impl(); IMultiLanguage_Impl::ConvertStringReset(this).into() } - unsafe extern "system" fn GetRfc1766FromLcid, Impl: IMultiLanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locale: u32, pbstrrfc1766: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRfc1766FromLcid, Impl: IMultiLanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locale: u32, pbstrrfc1766: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMultiLanguage_Impl::GetRfc1766FromLcid(this, core::mem::transmute_copy(&locale)) { @@ -823,7 +823,7 @@ impl IMultiLanguage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLcidFromRfc1766, Impl: IMultiLanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plocale: *mut u32, bstrrfc1766: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLcidFromRfc1766, Impl: IMultiLanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plocale: *mut u32, bstrrfc1766: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMultiLanguage_Impl::GetLcidFromRfc1766(this, core::mem::transmute_copy(&plocale), core::mem::transmute(&bstrrfc1766)).into() @@ -951,7 +951,7 @@ impl IMultiLanguage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCharsetInfo, Impl: IMultiLanguage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, charset: std::mem::MaybeUninit, pcharsetinfo: *mut MIMECSETINFO) -> windows_core::HRESULT { + unsafe extern "system" fn GetCharsetInfo, Impl: IMultiLanguage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, charset: core::mem::MaybeUninit, pcharsetinfo: *mut MIMECSETINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMultiLanguage2_Impl::GetCharsetInfo(this, core::mem::transmute(&charset), core::mem::transmute_copy(&pcharsetinfo)).into() @@ -981,7 +981,7 @@ impl IMultiLanguage2_Vtbl { let this = (*this).get_impl(); IMultiLanguage2_Impl::ConvertStringReset(this).into() } - unsafe extern "system" fn GetRfc1766FromLcid, Impl: IMultiLanguage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locale: u32, pbstrrfc1766: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRfc1766FromLcid, Impl: IMultiLanguage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locale: u32, pbstrrfc1766: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMultiLanguage2_Impl::GetRfc1766FromLcid(this, core::mem::transmute_copy(&locale)) { @@ -992,7 +992,7 @@ impl IMultiLanguage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLcidFromRfc1766, Impl: IMultiLanguage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plocale: *mut u32, bstrrfc1766: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLcidFromRfc1766, Impl: IMultiLanguage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plocale: *mut u32, bstrrfc1766: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMultiLanguage2_Impl::GetLcidFromRfc1766(this, core::mem::transmute_copy(&plocale), core::mem::transmute(&bstrrfc1766)).into() diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index a4b9acedb9..8d00061f33 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -337,7 +337,7 @@ where P1: windows_core::Param, { windows_targets::link!("bcp47mrm.dll" "system" fn GetDistanceOfClosestLanguageInList(pszlanguage : windows_core::PCWSTR, pszlanguageslist : windows_core::PCWSTR, wchlistdelimiter : u16, pclosestdistance : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetDistanceOfClosestLanguageInList(pszlanguage.param().abi(), pszlanguageslist.param().abi(), wchlistdelimiter, &mut result__).map(|| result__) } #[inline] @@ -967,7 +967,7 @@ where #[inline] pub unsafe fn ScriptRecordDigitSubstitution(locale: u32) -> windows_core::Result { windows_targets::link!("usp10.dll" "system" fn ScriptRecordDigitSubstitution(locale : u32, psds : *mut SCRIPT_DIGITSUBSTITUTE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ScriptRecordDigitSubstitution(locale, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1005,7 +1005,7 @@ where P0: windows_core::Param, { windows_targets::link!("usp10.dll" "system" fn ScriptStringCPtoX(ssa : *const core::ffi::c_void, icp : i32, ftrailing : super::Foundation:: BOOL, px : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ScriptStringCPtoX(ssa, icp, ftrailing.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -7058,7 +7058,7 @@ windows_core::imp::define_interface!(IComprehensiveSpellCheckProvider, IComprehe impl std::ops::Deref for IComprehensiveSpellCheckProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComprehensiveSpellCheckProvider, windows_core::IUnknown); @@ -7067,7 +7067,7 @@ impl IComprehensiveSpellCheckProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComprehensiveCheck)(windows_core::Interface::as_raw(self), text.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7080,7 +7080,7 @@ windows_core::imp::define_interface!(IEnumCodePage, IEnumCodePage_Vtbl, 0x275c23 impl std::ops::Deref for IEnumCodePage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumCodePage, windows_core::IUnknown); @@ -7110,7 +7110,7 @@ windows_core::imp::define_interface!(IEnumRfc1766, IEnumRfc1766_Vtbl, 0x3dc39d1d impl std::ops::Deref for IEnumRfc1766 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumRfc1766, windows_core::IUnknown); @@ -7140,7 +7140,7 @@ windows_core::imp::define_interface!(IEnumScript, IEnumScript_Vtbl, 0xae5f1430_3 impl std::ops::Deref for IEnumScript { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumScript, windows_core::IUnknown); @@ -7170,7 +7170,7 @@ windows_core::imp::define_interface!(IEnumSpellingError, IEnumSpellingError_Vtbl impl std::ops::Deref for IEnumSpellingError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSpellingError, windows_core::IUnknown); @@ -7188,24 +7188,24 @@ windows_core::imp::define_interface!(IMLangCodePages, IMLangCodePages_Vtbl, 0x35 impl std::ops::Deref for IMLangCodePages { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangCodePages, windows_core::IUnknown); impl IMLangCodePages { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCharCodePages)(windows_core::Interface::as_raw(self), chsrc, &mut result__).map(|| result__) } pub unsafe fn GetStrCodePages(&self, pszsrc: &[u16], dwprioritycodepages: u32, pdwcodepages: Option<*mut u32>, pcchcodepages: Option<*mut i32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStrCodePages)(windows_core::Interface::as_raw(self), core::mem::transmute(pszsrc.as_ptr()), pszsrc.len().try_into().unwrap(), dwprioritycodepages, core::mem::transmute(pdwcodepages.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pcchcodepages.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn CodePageToCodePages(&self, ucodepage: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CodePageToCodePages)(windows_core::Interface::as_raw(self), ucodepage, &mut result__).map(|| result__) } pub unsafe fn CodePagesToCodePage(&self, dwcodepages: u32, udefaultcodepage: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CodePagesToCodePage)(windows_core::Interface::as_raw(self), dwcodepages, udefaultcodepage, &mut result__).map(|| result__) } } @@ -7221,7 +7221,7 @@ windows_core::imp::define_interface!(IMLangConvertCharset, IMLangConvertCharset_ impl std::ops::Deref for IMLangConvertCharset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangConvertCharset, windows_core::IUnknown); @@ -7230,15 +7230,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceCodePage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDestinationCodePage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDestinationCodePage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DoConversion(&self, psrcstr: *const u8, pcsrcsize: Option<*mut u32>, pdststr: *mut u8, pcdstsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -7272,7 +7272,7 @@ windows_core::imp::define_interface!(IMLangFontLink, IMLangFontLink_Vtbl, 0x359f impl std::ops::Deref for IMLangFontLink { type Target = IMLangCodePages; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangFontLink, windows_core::IUnknown, IMLangCodePages); @@ -7325,7 +7325,7 @@ windows_core::imp::define_interface!(IMLangFontLink2, IMLangFontLink2_Vtbl, 0xdc impl std::ops::Deref for IMLangFontLink2 { type Target = IMLangCodePages; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangFontLink2, windows_core::IUnknown, IMLangCodePages); @@ -7366,7 +7366,7 @@ impl IMLangFontLink2 { (windows_core::Interface::vtable(self).GetScriptFontInfo)(windows_core::Interface::as_raw(self), sid, dwflags, puifonts, core::mem::transmute(pscriptfont.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn CodePageToScriptID(&self, uicodepage: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CodePageToScriptID)(windows_core::Interface::as_raw(self), uicodepage, &mut result__).map(|| result__) } } @@ -7397,7 +7397,7 @@ windows_core::imp::define_interface!(IMLangLineBreakConsole, IMLangLineBreakCons impl std::ops::Deref for IMLangLineBreakConsole { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangLineBreakConsole, windows_core::IUnknown); @@ -7426,7 +7426,7 @@ windows_core::imp::define_interface!(IMLangString, IMLangString_Vtbl, 0xc04d65ce impl std::ops::Deref for IMLangString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangString, windows_core::IUnknown); @@ -7465,7 +7465,7 @@ windows_core::imp::define_interface!(IMLangStringAStr, IMLangStringAStr_Vtbl, 0x impl std::ops::Deref for IMLangStringAStr { type Target = IMLangString; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangStringAStr, windows_core::IUnknown, IMLangString); @@ -7514,7 +7514,7 @@ windows_core::imp::define_interface!(IMLangStringBufA, IMLangStringBufA_Vtbl, 0x impl std::ops::Deref for IMLangStringBufA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangStringBufA, windows_core::IUnknown); @@ -7551,7 +7551,7 @@ windows_core::imp::define_interface!(IMLangStringBufW, IMLangStringBufW_Vtbl, 0x impl std::ops::Deref for IMLangStringBufW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangStringBufW, windows_core::IUnknown); @@ -7588,7 +7588,7 @@ windows_core::imp::define_interface!(IMLangStringWStr, IMLangStringWStr_Vtbl, 0x impl std::ops::Deref for IMLangStringWStr { type Target = IMLangString; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMLangStringWStr, windows_core::IUnknown, IMLangString); @@ -7637,24 +7637,24 @@ windows_core::imp::define_interface!(IMultiLanguage, IMultiLanguage_Vtbl, 0x275c impl std::ops::Deref for IMultiLanguage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMultiLanguage, windows_core::IUnknown); impl IMultiLanguage { pub unsafe fn GetNumberOfCodePageInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfCodePageInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCodePageInfo(&self, uicodepage: u32, pcodepageinfo: *mut MIMECPINFO) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCodePageInfo)(windows_core::Interface::as_raw(self), uicodepage, pcodepageinfo).ok() } pub unsafe fn GetFamilyCodePage(&self, uicodepage: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFamilyCodePage)(windows_core::Interface::as_raw(self), uicodepage, &mut result__).map(|| result__) } pub unsafe fn EnumCodePages(&self, grfflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCodePages)(windows_core::Interface::as_raw(self), grfflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCharsetInfo(&self, charset: P0, pcharsetinfo: *mut MIMECSETINFO) -> windows_core::Result<()> @@ -7685,7 +7685,7 @@ impl IMultiLanguage { (windows_core::Interface::vtable(self).ConvertStringReset)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetRfc1766FromLcid(&self, locale: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRfc1766FromLcid)(windows_core::Interface::as_raw(self), locale, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLcidFromRfc1766(&self, plocale: *mut u32, bstrrfc1766: P0) -> windows_core::Result<()> @@ -7695,14 +7695,14 @@ impl IMultiLanguage { (windows_core::Interface::vtable(self).GetLcidFromRfc1766)(windows_core::Interface::as_raw(self), plocale, bstrrfc1766.param().abi()).ok() } pub unsafe fn EnumRfc1766(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRfc1766)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRfc1766Info(&self, locale: u32, prfc1766info: *mut RFC1766INFO) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetRfc1766Info)(windows_core::Interface::as_raw(self), locale, prfc1766info).ok() } pub unsafe fn CreateConvertCharset(&self, uisrccodepage: u32, uidstcodepage: u32, dwproperty: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateConvertCharset)(windows_core::Interface::as_raw(self), uisrccodepage, uidstcodepage, dwproperty, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7713,14 +7713,14 @@ pub struct IMultiLanguage_Vtbl { pub GetCodePageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MIMECPINFO) -> windows_core::HRESULT, pub GetFamilyCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub EnumCodePages: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCharsetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut MIMECSETINFO) -> windows_core::HRESULT, + pub GetCharsetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut MIMECSETINFO) -> windows_core::HRESULT, pub IsConvertible: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub ConvertString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, u32, *const u8, *mut u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub ConvertStringToUnicode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, windows_core::PCSTR, *mut u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, pub ConvertStringFromUnicode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, windows_core::PCWSTR, *mut u32, windows_core::PSTR, *mut u32) -> windows_core::HRESULT, pub ConvertStringReset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetRfc1766FromLcid: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetLcidFromRfc1766: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRfc1766FromLcid: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLcidFromRfc1766: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumRfc1766: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRfc1766Info: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut RFC1766INFO) -> windows_core::HRESULT, pub CreateConvertCharset: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7729,24 +7729,24 @@ windows_core::imp::define_interface!(IMultiLanguage2, IMultiLanguage2_Vtbl, 0xdc impl std::ops::Deref for IMultiLanguage2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMultiLanguage2, windows_core::IUnknown); impl IMultiLanguage2 { pub unsafe fn GetNumberOfCodePageInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfCodePageInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCodePageInfo(&self, uicodepage: u32, langid: u16, pcodepageinfo: *mut MIMECPINFO) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCodePageInfo)(windows_core::Interface::as_raw(self), uicodepage, langid, pcodepageinfo).ok() } pub unsafe fn GetFamilyCodePage(&self, uicodepage: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFamilyCodePage)(windows_core::Interface::as_raw(self), uicodepage, &mut result__).map(|| result__) } pub unsafe fn EnumCodePages(&self, grfflags: u32, langid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCodePages)(windows_core::Interface::as_raw(self), grfflags, langid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCharsetInfo(&self, charset: P0, pcharsetinfo: *mut MIMECSETINFO) -> windows_core::Result<()> @@ -7777,7 +7777,7 @@ impl IMultiLanguage2 { (windows_core::Interface::vtable(self).ConvertStringReset)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetRfc1766FromLcid(&self, locale: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRfc1766FromLcid)(windows_core::Interface::as_raw(self), locale, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLcidFromRfc1766(&self, plocale: *mut u32, bstrrfc1766: P0) -> windows_core::Result<()> @@ -7787,14 +7787,14 @@ impl IMultiLanguage2 { (windows_core::Interface::vtable(self).GetLcidFromRfc1766)(windows_core::Interface::as_raw(self), plocale, bstrrfc1766.param().abi()).ok() } pub unsafe fn EnumRfc1766(&self, langid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRfc1766)(windows_core::Interface::as_raw(self), langid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRfc1766Info(&self, locale: u32, langid: u16, prfc1766info: *mut RFC1766INFO) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetRfc1766Info)(windows_core::Interface::as_raw(self), locale, langid, prfc1766info).ok() } pub unsafe fn CreateConvertCharset(&self, uisrccodepage: u32, uidstcodepage: u32, dwproperty: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateConvertCharset)(windows_core::Interface::as_raw(self), uisrccodepage, uidstcodepage, dwproperty, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7849,11 +7849,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfScripts)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumScripts(&self, dwflags: u32, langid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumScripts)(windows_core::Interface::as_raw(self), dwflags, langid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ValidateCodePageEx(&self, uicodepage: u32, hwnd: P0, dwfiodcontrol: u32) -> windows_core::Result<()> @@ -7870,14 +7870,14 @@ pub struct IMultiLanguage2_Vtbl { pub GetCodePageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u16, *mut MIMECPINFO) -> windows_core::HRESULT, pub GetFamilyCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub EnumCodePages: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCharsetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut MIMECSETINFO) -> windows_core::HRESULT, + pub GetCharsetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut MIMECSETINFO) -> windows_core::HRESULT, pub IsConvertible: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub ConvertString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, u32, *const u8, *mut u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub ConvertStringToUnicode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, windows_core::PCSTR, *mut u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, pub ConvertStringFromUnicode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, windows_core::PCWSTR, *mut u32, windows_core::PSTR, *mut u32) -> windows_core::HRESULT, pub ConvertStringReset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetRfc1766FromLcid: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetLcidFromRfc1766: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRfc1766FromLcid: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLcidFromRfc1766: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumRfc1766: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRfc1766Info: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u16, *mut RFC1766INFO) -> windows_core::HRESULT, pub CreateConvertCharset: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -7904,7 +7904,7 @@ windows_core::imp::define_interface!(IMultiLanguage3, IMultiLanguage3_Vtbl, 0x4e impl std::ops::Deref for IMultiLanguage3 { type Target = IMultiLanguage2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMultiLanguage3, windows_core::IUnknown, IMultiLanguage2); @@ -7937,26 +7937,26 @@ windows_core::imp::define_interface!(IOptionDescription, IOptionDescription_Vtbl impl std::ops::Deref for IOptionDescription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOptionDescription, windows_core::IUnknown); impl IOptionDescription { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Heading(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Heading)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Labels(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Labels)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7975,20 +7975,20 @@ windows_core::imp::define_interface!(ISpellCheckProvider, ISpellCheckProvider_Vt impl std::ops::Deref for ISpellCheckProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpellCheckProvider, windows_core::IUnknown); impl ISpellCheckProvider { pub unsafe fn LanguageTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LanguageTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Check(&self, text: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Check)(windows_core::Interface::as_raw(self), text.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7996,14 +7996,14 @@ impl ISpellCheckProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Suggest)(windows_core::Interface::as_raw(self), word.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOptionValue(&self, optionid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionValue)(windows_core::Interface::as_raw(self), optionid.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOptionValue(&self, optionid: P0, value: u8) -> windows_core::Result<()> @@ -8014,22 +8014,22 @@ impl ISpellCheckProvider { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OptionIds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OptionIds)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalizedName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalizedName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOptionDescription(&self, optionid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionDescription)(windows_core::Interface::as_raw(self), optionid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8067,28 +8067,28 @@ windows_core::imp::define_interface!(ISpellCheckProviderFactory, ISpellCheckProv impl std::ops::Deref for ISpellCheckProviderFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpellCheckProviderFactory, windows_core::IUnknown); impl ISpellCheckProviderFactory { #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedLanguages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedLanguages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsSupported(&self, languagetag: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSupported)(windows_core::Interface::as_raw(self), languagetag.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CreateSpellCheckProvider(&self, languagetag: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSpellCheckProvider)(windows_core::Interface::as_raw(self), languagetag.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8106,20 +8106,20 @@ windows_core::imp::define_interface!(ISpellChecker, ISpellChecker_Vtbl, 0xb6fd0b impl std::ops::Deref for ISpellChecker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpellChecker, windows_core::IUnknown); impl ISpellChecker { pub unsafe fn LanguageTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LanguageTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Check(&self, text: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Check)(windows_core::Interface::as_raw(self), text.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8127,7 +8127,7 @@ impl ISpellChecker { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Suggest)(windows_core::Interface::as_raw(self), word.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Add(&self, word: P0) -> windows_core::Result<()> @@ -8153,27 +8153,27 @@ impl ISpellChecker { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionValue)(windows_core::Interface::as_raw(self), optionid.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OptionIds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OptionIds)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalizedName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalizedName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn add_SpellCheckerChanged(&self, handler: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).add_SpellCheckerChanged)(windows_core::Interface::as_raw(self), handler.param().abi(), &mut result__).map(|| result__) } pub unsafe fn remove_SpellCheckerChanged(&self, eventcookie: u32) -> windows_core::Result<()> { @@ -8183,14 +8183,14 @@ impl ISpellChecker { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionDescription)(windows_core::Interface::as_raw(self), optionid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ComprehensiveCheck(&self, text: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComprehensiveCheck)(windows_core::Interface::as_raw(self), text.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8222,7 +8222,7 @@ windows_core::imp::define_interface!(ISpellChecker2, ISpellChecker2_Vtbl, 0xe7ed impl std::ops::Deref for ISpellChecker2 { type Target = ISpellChecker; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpellChecker2, windows_core::IUnknown, ISpellChecker); @@ -8243,7 +8243,7 @@ windows_core::imp::define_interface!(ISpellCheckerChangedEventHandler, ISpellChe impl std::ops::Deref for ISpellCheckerChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpellCheckerChangedEventHandler, windows_core::IUnknown); @@ -8264,28 +8264,28 @@ windows_core::imp::define_interface!(ISpellCheckerFactory, ISpellCheckerFactory_ impl std::ops::Deref for ISpellCheckerFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpellCheckerFactory, windows_core::IUnknown); impl ISpellCheckerFactory { #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedLanguages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedLanguages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsSupported(&self, languagetag: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSupported)(windows_core::Interface::as_raw(self), languagetag.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CreateSpellChecker(&self, languagetag: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSpellChecker)(windows_core::Interface::as_raw(self), languagetag.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8303,25 +8303,25 @@ windows_core::imp::define_interface!(ISpellingError, ISpellingError_Vtbl, 0xb7c8 impl std::ops::Deref for ISpellingError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpellingError, windows_core::IUnknown); impl ISpellingError { pub unsafe fn StartIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CorrectiveAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrectiveAction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Replacement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Replacement)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8337,7 +8337,7 @@ windows_core::imp::define_interface!(IUserDictionariesRegistrar, IUserDictionari impl std::ops::Deref for IUserDictionariesRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserDictionariesRegistrar, windows_core::IUnknown); 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 715d878c58..fe57ec7fe6 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs @@ -10,7 +10,7 @@ windows_core::imp::define_interface!(ICompositionFramePresentStatistics, ICompos impl std::ops::Deref for ICompositionFramePresentStatistics { type Target = IPresentStatistics; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionFramePresentStatistics, windows_core::IUnknown, IPresentStatistics); @@ -40,7 +40,7 @@ windows_core::imp::define_interface!(IIndependentFlipFramePresentStatistics, IIn impl std::ops::Deref for IIndependentFlipFramePresentStatistics { type Target = IPresentStatistics; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIndependentFlipFramePresentStatistics, windows_core::IUnknown, IPresentStatistics); @@ -80,7 +80,7 @@ windows_core::imp::define_interface!(IPresentStatistics, IPresentStatistics_Vtbl impl std::ops::Deref for IPresentStatistics { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPresentStatistics, windows_core::IUnknown); @@ -102,7 +102,7 @@ windows_core::imp::define_interface!(IPresentStatusPresentStatistics, IPresentSt impl std::ops::Deref for IPresentStatusPresentStatistics { type Target = IPresentStatistics; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPresentStatusPresentStatistics, windows_core::IUnknown, IPresentStatistics); @@ -124,17 +124,17 @@ windows_core::imp::define_interface!(IPresentationBuffer, IPresentationBuffer_Vt impl std::ops::Deref for IPresentationBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPresentationBuffer, windows_core::IUnknown); impl IPresentationBuffer { pub unsafe fn GetAvailableEvent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableEvent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -148,7 +148,7 @@ windows_core::imp::define_interface!(IPresentationContent, IPresentationContent_ impl std::ops::Deref for IPresentationContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPresentationContent, windows_core::IUnknown); @@ -166,7 +166,7 @@ windows_core::imp::define_interface!(IPresentationFactory, IPresentationFactory_ impl std::ops::Deref for IPresentationFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPresentationFactory, windows_core::IUnknown); @@ -178,7 +178,7 @@ impl IPresentationFactory { (windows_core::Interface::vtable(self).IsPresentationSupportedWithIndependentFlip)(windows_core::Interface::as_raw(self)) } pub unsafe fn CreatePresentationManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePresentationManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -193,7 +193,7 @@ windows_core::imp::define_interface!(IPresentationManager, IPresentationManager_ impl std::ops::Deref for IPresentationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPresentationManager, windows_core::IUnknown); @@ -202,14 +202,14 @@ impl IPresentationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBufferFromResource)(windows_core::Interface::as_raw(self), resource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePresentationSurface(&self, compositionsurfacehandle: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePresentationSurface)(windows_core::Interface::as_raw(self), compositionsurfacehandle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNextPresentId(&self) -> u64 { @@ -228,25 +228,25 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPresentRetiringFence)(windows_core::Interface::as_raw(self), riid, &mut result__).map(|| result__) } pub unsafe fn CancelPresentsFrom(&self, presentidtocancelfrom: u64) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).CancelPresentsFrom)(windows_core::Interface::as_raw(self), presentidtocancelfrom).ok() } pub unsafe fn GetLostEvent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLostEvent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPresentStatisticsAvailableEvent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPresentStatisticsAvailableEvent)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextPresentStatistics)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -271,7 +271,7 @@ windows_core::imp::define_interface!(IPresentationSurface, IPresentationSurface_ impl std::ops::Deref for IPresentationSurface { type Target = IPresentationContent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPresentationSurface, windows_core::IUnknown, IPresentationContent); 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 bf368461e1..8d547084ae 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs @@ -11,7 +11,7 @@ windows_core::imp::define_interface!(IDXCoreAdapter, IDXCoreAdapter_Vtbl, 0xf0db impl std::ops::Deref for IDXCoreAdapter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXCoreAdapter, windows_core::IUnknown); @@ -29,7 +29,7 @@ impl IDXCoreAdapter { (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), property, buffersize, propertydata).ok() } pub unsafe fn GetPropertySize(&self, property: DXCoreAdapterProperty) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertySize)(windows_core::Interface::as_raw(self), property, &mut result__).map(|| result__) } pub unsafe fn IsQueryStateSupported(&self, property: DXCoreAdapterState) -> bool { @@ -70,7 +70,7 @@ windows_core::imp::define_interface!(IDXCoreAdapterFactory, IDXCoreAdapterFactor impl std::ops::Deref for IDXCoreAdapterFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXCoreAdapterFactory, windows_core::IUnknown); @@ -96,7 +96,7 @@ impl IDXCoreAdapterFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterEventNotification)(windows_core::Interface::as_raw(self), dxcoreobject.param().abi(), notificationtype, callbackfunction, core::mem::transmute(callbackcontext.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } pub unsafe fn UnregisterEventNotification(&self, eventcookie: u32) -> windows_core::Result<()> { @@ -116,7 +116,7 @@ windows_core::imp::define_interface!(IDXCoreAdapterList, IDXCoreAdapterList_Vtbl impl std::ops::Deref for IDXCoreAdapterList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXCoreAdapterList, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs index 341f28b4aa..25ffcf654b 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ID2D1SimplifiedGeometrySink, ID2D1Simplifie impl std::ops::Deref for ID2D1SimplifiedGeometrySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SimplifiedGeometrySink, windows_core::IUnknown); 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 cd055061d4..e5eedc9f4f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -19,7 +19,7 @@ where P0: windows_core::Param, { windows_targets::link!("d2d1.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D2D1CreateDevice(dxgidevice.param().abi(), core::mem::transmute(creationproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi")] @@ -29,7 +29,7 @@ where P0: windows_core::Param, { windows_targets::link!("d2d1.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D2D1CreateDeviceContext(dxgisurface.param().abi(), core::mem::transmute(creationproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -90,7 +90,7 @@ windows_core::imp::define_interface!(ID2D1AnalysisTransform, ID2D1AnalysisTransf impl std::ops::Deref for ID2D1AnalysisTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1AnalysisTransform, windows_core::IUnknown); @@ -110,7 +110,7 @@ windows_core::imp::define_interface!(ID2D1Bitmap, ID2D1Bitmap_Vtbl, 0xa2296057_e impl std::ops::Deref for ID2D1Bitmap { type Target = ID2D1Image; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Bitmap, windows_core::IUnknown, ID2D1Resource, ID2D1Image); @@ -190,13 +190,13 @@ windows_core::imp::define_interface!(ID2D1Bitmap1, ID2D1Bitmap1_Vtbl, 0xa898a84c impl std::ops::Deref for ID2D1Bitmap1 { type Target = ID2D1Bitmap; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Bitmap1, windows_core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1Bitmap); impl ID2D1Bitmap1 { pub unsafe fn GetColorContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColorContext)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -205,11 +205,11 @@ impl ID2D1Bitmap1 { } #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetSurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Map(&self, options: D2D1_MAP_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Map)(windows_core::Interface::as_raw(self), options, &mut result__).map(|| result__) } pub unsafe fn Unmap(&self) -> windows_core::Result<()> { @@ -234,7 +234,7 @@ windows_core::imp::define_interface!(ID2D1BitmapBrush, ID2D1BitmapBrush_Vtbl, 0x impl std::ops::Deref for ID2D1BitmapBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1BitmapBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); @@ -264,7 +264,7 @@ impl ID2D1BitmapBrush { (windows_core::Interface::vtable(self).GetInterpolationMode)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetBitmap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitmap)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -287,7 +287,7 @@ windows_core::imp::define_interface!(ID2D1BitmapBrush1, ID2D1BitmapBrush1_Vtbl, impl std::ops::Deref for ID2D1BitmapBrush1 { type Target = ID2D1BitmapBrush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1BitmapBrush1, windows_core::IUnknown, ID2D1Resource, ID2D1Brush, ID2D1BitmapBrush); @@ -311,13 +311,13 @@ windows_core::imp::define_interface!(ID2D1BitmapRenderTarget, ID2D1BitmapRenderT impl std::ops::Deref for ID2D1BitmapRenderTarget { type Target = ID2D1RenderTarget; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1BitmapRenderTarget, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ID2D1BitmapRenderTarget { pub unsafe fn GetBitmap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitmap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -332,7 +332,7 @@ windows_core::imp::define_interface!(ID2D1BlendTransform, ID2D1BlendTransform_Vt impl std::ops::Deref for ID2D1BlendTransform { type Target = ID2D1ConcreteTransform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1BlendTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); @@ -356,7 +356,7 @@ windows_core::imp::define_interface!(ID2D1BorderTransform, ID2D1BorderTransform_ impl std::ops::Deref for ID2D1BorderTransform { type Target = ID2D1ConcreteTransform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1BorderTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); @@ -388,7 +388,7 @@ windows_core::imp::define_interface!(ID2D1BoundsAdjustmentTransform, ID2D1Bounds impl std::ops::Deref for ID2D1BoundsAdjustmentTransform { type Target = ID2D1TransformNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1BoundsAdjustmentTransform, windows_core::IUnknown, ID2D1TransformNode); @@ -397,7 +397,7 @@ impl ID2D1BoundsAdjustmentTransform { (windows_core::Interface::vtable(self).SetOutputBounds)(windows_core::Interface::as_raw(self), outputbounds) } pub unsafe fn GetOutputBounds(&self) -> super::super::Foundation::RECT { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputBounds)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -414,7 +414,7 @@ windows_core::imp::define_interface!(ID2D1Brush, ID2D1Brush_Vtbl, 0x2cd906a8_12e impl std::ops::Deref for ID2D1Brush { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Brush, windows_core::IUnknown, ID2D1Resource); @@ -454,7 +454,7 @@ windows_core::imp::define_interface!(ID2D1ColorContext, ID2D1ColorContext_Vtbl, impl std::ops::Deref for ID2D1ColorContext { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1ColorContext, windows_core::IUnknown, ID2D1Resource); @@ -482,7 +482,7 @@ windows_core::imp::define_interface!(ID2D1ColorContext1, ID2D1ColorContext1_Vtbl impl std::ops::Deref for ID2D1ColorContext1 { type Target = ID2D1ColorContext; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1ColorContext1, windows_core::IUnknown, ID2D1Resource, ID2D1ColorContext); @@ -518,7 +518,7 @@ windows_core::imp::define_interface!(ID2D1CommandList, ID2D1CommandList_Vtbl, 0x impl std::ops::Deref for ID2D1CommandList { type Target = ID2D1Image; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1CommandList, windows_core::IUnknown, ID2D1Resource, ID2D1Image); @@ -545,7 +545,7 @@ windows_core::imp::define_interface!(ID2D1CommandSink, ID2D1CommandSink_Vtbl, 0x impl std::ops::Deref for ID2D1CommandSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1CommandSink, windows_core::IUnknown); @@ -760,7 +760,7 @@ windows_core::imp::define_interface!(ID2D1CommandSink1, ID2D1CommandSink1_Vtbl, impl std::ops::Deref for ID2D1CommandSink1 { type Target = ID2D1CommandSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1CommandSink1, windows_core::IUnknown, ID2D1CommandSink); @@ -780,7 +780,7 @@ windows_core::imp::define_interface!(ID2D1CommandSink2, ID2D1CommandSink2_Vtbl, impl std::ops::Deref for ID2D1CommandSink2 { type Target = ID2D1CommandSink1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1CommandSink2, windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1); @@ -823,7 +823,7 @@ windows_core::imp::define_interface!(ID2D1CommandSink3, ID2D1CommandSink3_Vtbl, impl std::ops::Deref for ID2D1CommandSink3 { type Target = ID2D1CommandSink2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1CommandSink3, windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2); @@ -847,7 +847,7 @@ windows_core::imp::define_interface!(ID2D1CommandSink4, ID2D1CommandSink4_Vtbl, impl std::ops::Deref for ID2D1CommandSink4 { type Target = ID2D1CommandSink3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1CommandSink4, windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3); @@ -867,7 +867,7 @@ windows_core::imp::define_interface!(ID2D1CommandSink5, ID2D1CommandSink5_Vtbl, impl std::ops::Deref for ID2D1CommandSink5 { type Target = ID2D1CommandSink4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1CommandSink5, windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3, ID2D1CommandSink4); @@ -894,7 +894,7 @@ windows_core::imp::define_interface!(ID2D1ComputeInfo, ID2D1ComputeInfo_Vtbl, 0x impl std::ops::Deref for ID2D1ComputeInfo { type Target = ID2D1RenderInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1ComputeInfo, windows_core::IUnknown, ID2D1RenderInfo); @@ -925,7 +925,7 @@ windows_core::imp::define_interface!(ID2D1ComputeTransform, ID2D1ComputeTransfor impl std::ops::Deref for ID2D1ComputeTransform { type Target = ID2D1Transform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1ComputeTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1Transform); @@ -952,7 +952,7 @@ windows_core::imp::define_interface!(ID2D1ConcreteTransform, ID2D1ConcreteTransf impl std::ops::Deref for ID2D1ConcreteTransform { type Target = ID2D1TransformNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1ConcreteTransform, windows_core::IUnknown, ID2D1TransformNode); @@ -979,7 +979,7 @@ windows_core::imp::define_interface!(ID2D1DCRenderTarget, ID2D1DCRenderTarget_Vt impl std::ops::Deref for ID2D1DCRenderTarget { type Target = ID2D1RenderTarget; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DCRenderTarget, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); @@ -1006,13 +1006,13 @@ windows_core::imp::define_interface!(ID2D1Device, ID2D1Device_Vtbl, 0x47dd575d_a impl std::ops::Deref for ID2D1Device { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Device, windows_core::IUnknown, ID2D1Resource); impl ID2D1Device { pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDeviceContext)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Imaging", feature = "Win32_Storage_Xps_Printing"))] @@ -1021,7 +1021,7 @@ impl ID2D1Device { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePrintControl)(windows_core::Interface::as_raw(self), wicfactory.param().abi(), documenttarget.param().abi(), core::mem::transmute(printcontrolproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMaximumTextureMemory(&self, maximuminbytes: u64) { @@ -1052,7 +1052,7 @@ windows_core::imp::define_interface!(ID2D1Device1, ID2D1Device1_Vtbl, 0xd21768e1 impl std::ops::Deref for ID2D1Device1 { type Target = ID2D1Device; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Device1, windows_core::IUnknown, ID2D1Resource, ID2D1Device); @@ -1064,7 +1064,7 @@ impl ID2D1Device1 { (windows_core::Interface::vtable(self).SetRenderingPriority)(windows_core::Interface::as_raw(self), renderingpriority) } pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDeviceContext)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1081,13 +1081,13 @@ windows_core::imp::define_interface!(ID2D1Device2, ID2D1Device2_Vtbl, 0xa44472e1 impl std::ops::Deref for ID2D1Device2 { type Target = ID2D1Device1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Device2, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1); impl ID2D1Device2 { pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDeviceContext)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FlushDeviceContexts(&self, bitmap: P0) @@ -1098,7 +1098,7 @@ impl ID2D1Device2 { } #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetDxgiDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDxgiDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1118,13 +1118,13 @@ windows_core::imp::define_interface!(ID2D1Device3, ID2D1Device3_Vtbl, 0x852f2087 impl std::ops::Deref for ID2D1Device3 { type Target = ID2D1Device2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Device3, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2); impl ID2D1Device3 { pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDeviceContext)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1139,13 +1139,13 @@ windows_core::imp::define_interface!(ID2D1Device4, ID2D1Device4_Vtbl, 0xd7bdb159 impl std::ops::Deref for ID2D1Device4 { type Target = ID2D1Device3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Device4, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3); impl ID2D1Device4 { pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDeviceContext)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMaximumColorGlyphCacheMemory(&self, maximuminbytes: u64) { @@ -1168,13 +1168,13 @@ windows_core::imp::define_interface!(ID2D1Device5, ID2D1Device5_Vtbl, 0xd55ba0a4 impl std::ops::Deref for ID2D1Device5 { type Target = ID2D1Device4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Device5, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4); impl ID2D1Device5 { pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDeviceContext)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1189,13 +1189,13 @@ windows_core::imp::define_interface!(ID2D1Device6, ID2D1Device6_Vtbl, 0x7bfef914 impl std::ops::Deref for ID2D1Device6 { type Target = ID2D1Device5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Device6, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4, ID2D1Device5); impl ID2D1Device6 { pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDeviceContext)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1210,13 +1210,13 @@ windows_core::imp::define_interface!(ID2D1Device7, ID2D1Device7_Vtbl, 0xf07c8968 impl std::ops::Deref for ID2D1Device7 { type Target = ID2D1Device6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Device7, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4, ID2D1Device5, ID2D1Device6); impl ID2D1Device7 { pub unsafe fn CreateDeviceContext(&self, options: D2D1_DEVICE_CONTEXT_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDeviceContext)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1231,14 +1231,14 @@ windows_core::imp::define_interface!(ID2D1DeviceContext, ID2D1DeviceContext_Vtbl impl std::ops::Deref for ID2D1DeviceContext { type Target = ID2D1RenderTarget; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DeviceContext, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ID2D1DeviceContext { #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, sourcedata: Option<*const core::ffi::c_void>, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES1) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmap)(windows_core::Interface::as_raw(self), core::mem::transmute(size), core::mem::transmute(sourcedata.unwrap_or(std::ptr::null())), pitch, bitmapproperties, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] @@ -1246,18 +1246,18 @@ impl ID2D1DeviceContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapFromWicBitmap)(windows_core::Interface::as_raw(self), wicbitmapsource.param().abi(), core::mem::transmute(bitmapproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: Option<&[u8]>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContext)(windows_core::Interface::as_raw(self), space, core::mem::transmute(profile.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), profile.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateColorContextFromFilename(&self, filename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContextFromFilename)(windows_core::Interface::as_raw(self), filename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Imaging")] @@ -1265,7 +1265,7 @@ impl ID2D1DeviceContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContextFromWicColorContext)(windows_core::Interface::as_raw(self), wiccolorcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] @@ -1273,16 +1273,16 @@ impl ID2D1DeviceContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapFromDxgiSurface)(windows_core::Interface::as_raw(self), surface.param().abi(), core::mem::transmute(bitmapproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateEffect(&self, effectid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEffect)(windows_core::Interface::as_raw(self), effectid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, straightalphagradientstops: &[Common::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGradientStopCollection)(windows_core::Interface::as_raw(self), core::mem::transmute(straightalphagradientstops.as_ptr()), straightalphagradientstops.len().try_into().unwrap(), preinterpolationspace, postinterpolationspace, bufferprecision, extendmode, colorinterpolationmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] @@ -1290,7 +1290,7 @@ impl ID2D1DeviceContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateImageBrush)(windows_core::Interface::as_raw(self), image.param().abi(), imagebrushproperties, core::mem::transmute(brushproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Foundation_Numerics")] @@ -1298,11 +1298,11 @@ impl ID2D1DeviceContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapBrush)(windows_core::Interface::as_raw(self), bitmap.param().abi(), core::mem::transmute(bitmapbrushproperties.unwrap_or(std::ptr::null())), core::mem::transmute(brushproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCommandList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCommandList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1317,7 +1317,7 @@ impl ID2D1DeviceContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageLocalBounds)(windows_core::Interface::as_raw(self), image.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -1325,16 +1325,16 @@ impl ID2D1DeviceContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageWorldBounds)(windows_core::Interface::as_raw(self), image.param().abi(), &mut result__).map(|| result__) } #[cfg(all(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlyphRunWorldBounds)(windows_core::Interface::as_raw(self), core::mem::transmute(baselineorigin), glyphrun, measuringmode, &mut result__).map(|| result__) } pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -1345,7 +1345,7 @@ impl ID2D1DeviceContext { (windows_core::Interface::vtable(self).SetTarget)(windows_core::Interface::as_raw(self), image.param().abi()) } pub unsafe fn GetTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTarget)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -1355,7 +1355,7 @@ impl ID2D1DeviceContext { } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetRenderingControls(&self) -> D2D1_RENDERING_CONTROLS { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderingControls)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -1417,7 +1417,7 @@ impl ID2D1DeviceContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectInvalidRectangleCount)(windows_core::Interface::as_raw(self), effect.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -1554,7 +1554,7 @@ windows_core::imp::define_interface!(ID2D1DeviceContext1, ID2D1DeviceContext1_Vt impl std::ops::Deref for ID2D1DeviceContext1 { type Target = ID2D1DeviceContext; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DeviceContext1, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext); @@ -1563,7 +1563,7 @@ impl ID2D1DeviceContext1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFilledGeometryRealization)(windows_core::Interface::as_raw(self), geometry.param().abi(), flatteningtolerance, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateStrokedGeometryRealization(&self, geometry: P0, flatteningtolerance: f32, strokewidth: f32, strokestyle: P1) -> windows_core::Result @@ -1571,7 +1571,7 @@ impl ID2D1DeviceContext1 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStrokedGeometryRealization)(windows_core::Interface::as_raw(self), geometry.param().abi(), flatteningtolerance, strokewidth, strokestyle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DrawGeometryRealization(&self, geometryrealization: P0, brush: P1) @@ -1595,23 +1595,23 @@ windows_core::imp::define_interface!(ID2D1DeviceContext2, ID2D1DeviceContext2_Vt impl std::ops::Deref for ID2D1DeviceContext2 { type Target = ID2D1DeviceContext1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DeviceContext2, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1); impl ID2D1DeviceContext2 { pub unsafe fn CreateInk(&self, startpoint: *const D2D1_INK_POINT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInk)(windows_core::Interface::as_raw(self), startpoint, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Foundation_Numerics")] pub unsafe fn CreateInkStyle(&self, inkstyleproperties: Option<*const D2D1_INK_STYLE_PROPERTIES>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInkStyle)(windows_core::Interface::as_raw(self), core::mem::transmute(inkstyleproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientMesh(&self, patches: &[D2D1_GRADIENT_MESH_PATCH]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGradientMesh)(windows_core::Interface::as_raw(self), core::mem::transmute(patches.as_ptr()), patches.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Imaging"))] @@ -1619,16 +1619,16 @@ impl ID2D1DeviceContext2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateImageSourceFromWic)(windows_core::Interface::as_raw(self), wicbitmapsource.param().abi(), loadingoptions, alphamode, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLookupTable3D)(windows_core::Interface::as_raw(self), precision, core::mem::transmute(extents.as_ptr()), core::mem::transmute(data.as_ptr()), data.len().try_into().unwrap(), core::mem::transmute(strides.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[Option], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateImageSourceFromDxgi)(windows_core::Interface::as_raw(self), core::mem::transmute(surfaces.as_ptr()), surfaces.len().try_into().unwrap(), colorspace, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -1636,7 +1636,7 @@ impl ID2D1DeviceContext2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGradientMeshWorldBounds)(windows_core::Interface::as_raw(self), gradientmesh.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DrawInk(&self, ink: P0, brush: P1, inkstyle: P2) @@ -1664,7 +1664,7 @@ impl ID2D1DeviceContext2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransformedImageSource)(windows_core::Interface::as_raw(self), imagesource.param().abi(), properties, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1707,13 +1707,13 @@ windows_core::imp::define_interface!(ID2D1DeviceContext3, ID2D1DeviceContext3_Vt impl std::ops::Deref for ID2D1DeviceContext3 { type Target = ID2D1DeviceContext2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DeviceContext3, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2); impl ID2D1DeviceContext3 { pub unsafe fn CreateSpriteBatch(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSpriteBatch)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DrawSpriteBatch(&self, spritebatch: P0, startindex: u32, spritecount: u32, bitmap: P1, interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE, spriteoptions: D2D1_SPRITE_OPTIONS) @@ -1736,13 +1736,13 @@ windows_core::imp::define_interface!(ID2D1DeviceContext4, ID2D1DeviceContext4_Vt impl std::ops::Deref for ID2D1DeviceContext4 { type Target = ID2D1DeviceContext3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DeviceContext4, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3); impl ID2D1DeviceContext4 { pub unsafe fn CreateSvgGlyphStyle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSvgGlyphStyle)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite"))] @@ -1829,7 +1829,7 @@ windows_core::imp::define_interface!(ID2D1DeviceContext5, ID2D1DeviceContext5_Vt impl std::ops::Deref for ID2D1DeviceContext5 { type Target = ID2D1DeviceContext4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DeviceContext5, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4); @@ -1839,7 +1839,7 @@ impl ID2D1DeviceContext5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSvgDocument)(windows_core::Interface::as_raw(self), inputxmlstream.param().abi(), core::mem::transmute(viewportsize), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DrawSvgDocument(&self, svgdocument: P0) @@ -1850,12 +1850,12 @@ impl ID2D1DeviceContext5 { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContextFromDxgiColorSpace)(windows_core::Interface::as_raw(self), colorspace, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateColorContextFromSimpleColorProfile(&self, simpleprofile: *const D2D1_SIMPLE_COLOR_PROFILE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContextFromSimpleColorProfile)(windows_core::Interface::as_raw(self), simpleprofile, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1882,7 +1882,7 @@ windows_core::imp::define_interface!(ID2D1DeviceContext6, ID2D1DeviceContext6_Vt impl std::ops::Deref for ID2D1DeviceContext6 { type Target = ID2D1DeviceContext5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DeviceContext6, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4, ID2D1DeviceContext5); @@ -1909,7 +1909,7 @@ windows_core::imp::define_interface!(ID2D1DeviceContext7, ID2D1DeviceContext7_Vt impl std::ops::Deref for ID2D1DeviceContext7 { type Target = ID2D1DeviceContext6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DeviceContext7, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4, ID2D1DeviceContext5, ID2D1DeviceContext6); @@ -1952,7 +1952,7 @@ windows_core::imp::define_interface!(ID2D1DrawInfo, ID2D1DrawInfo_Vtbl, 0x693ce6 impl std::ops::Deref for ID2D1DrawInfo { type Target = ID2D1RenderInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DrawInfo, windows_core::IUnknown, ID2D1RenderInfo); @@ -1994,7 +1994,7 @@ windows_core::imp::define_interface!(ID2D1DrawTransform, ID2D1DrawTransform_Vtbl impl std::ops::Deref for ID2D1DrawTransform { type Target = ID2D1Transform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DrawTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1Transform); @@ -2017,7 +2017,7 @@ windows_core::imp::define_interface!(ID2D1DrawingStateBlock, ID2D1DrawingStateBl impl std::ops::Deref for ID2D1DrawingStateBlock { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DrawingStateBlock, windows_core::IUnknown, ID2D1Resource); @@ -2039,7 +2039,7 @@ impl ID2D1DrawingStateBlock { } #[cfg(feature = "Win32_Graphics_DirectWrite")] pub unsafe fn GetTextRenderingParams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextRenderingParams)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -2070,7 +2070,7 @@ windows_core::imp::define_interface!(ID2D1DrawingStateBlock1, ID2D1DrawingStateB impl std::ops::Deref for ID2D1DrawingStateBlock1 { type Target = ID2D1DrawingStateBlock; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1DrawingStateBlock1, windows_core::IUnknown, ID2D1Resource, ID2D1DrawingStateBlock); @@ -2102,7 +2102,7 @@ windows_core::imp::define_interface!(ID2D1Effect, ID2D1Effect_Vtbl, 0x28211a43_7 impl std::ops::Deref for ID2D1Effect { type Target = ID2D1Properties; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Effect, windows_core::IUnknown, ID2D1Properties); @@ -2118,7 +2118,7 @@ impl ID2D1Effect { (windows_core::Interface::vtable(self).SetInputCount)(windows_core::Interface::as_raw(self), inputcount).ok() } pub unsafe fn GetInput(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInput)(windows_core::Interface::as_raw(self), index, &mut result__); windows_core::Type::from_abi(result__) } @@ -2126,7 +2126,7 @@ impl ID2D1Effect { (windows_core::Interface::vtable(self).GetInputCount)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetOutput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutput)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -2146,7 +2146,7 @@ windows_core::imp::define_interface!(ID2D1EffectContext, ID2D1EffectContext_Vtbl impl std::ops::Deref for ID2D1EffectContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1EffectContext, windows_core::IUnknown); @@ -2155,35 +2155,35 @@ impl ID2D1EffectContext { (windows_core::Interface::vtable(self).GetDpi)(windows_core::Interface::as_raw(self), dpix, dpiy) } pub unsafe fn CreateEffect(&self, effectid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEffect)(windows_core::Interface::as_raw(self), effectid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetMaximumSupportedFeatureLevel(&self, featurelevels: &[super::Direct3D::D3D_FEATURE_LEVEL]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumSupportedFeatureLevel)(windows_core::Interface::as_raw(self), core::mem::transmute(featurelevels.as_ptr()), featurelevels.len().try_into().unwrap(), &mut result__).map(|| result__) } pub unsafe fn CreateTransformNodeFromEffect(&self, effect: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransformNodeFromEffect)(windows_core::Interface::as_raw(self), effect.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBlendTransform(&self, numinputs: u32, blenddescription: *const D2D1_BLEND_DESCRIPTION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlendTransform)(windows_core::Interface::as_raw(self), numinputs, blenddescription, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBorderTransform(&self, extendmodex: D2D1_EXTEND_MODE, extendmodey: D2D1_EXTEND_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBorderTransform)(windows_core::Interface::as_raw(self), extendmodex, extendmodey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateOffsetTransform(&self, offset: super::super::Foundation::POINT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateOffsetTransform)(windows_core::Interface::as_raw(self), core::mem::transmute(offset), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBoundsAdjustmentTransform(&self, outputrectangle: *const super::super::Foundation::RECT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBoundsAdjustmentTransform)(windows_core::Interface::as_raw(self), outputrectangle, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoadPixelShader(&self, shaderid: *const windows_core::GUID, shaderbuffer: &[u8]) -> windows_core::Result<()> { @@ -2199,31 +2199,31 @@ impl ID2D1EffectContext { (windows_core::Interface::vtable(self).IsShaderLoaded)(windows_core::Interface::as_raw(self), shaderid) } pub unsafe fn CreateResourceTexture(&self, resourceid: Option<*const windows_core::GUID>, resourcetextureproperties: *const D2D1_RESOURCE_TEXTURE_PROPERTIES, data: Option<&[u8]>, strides: Option<*const u32>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateResourceTexture)(windows_core::Interface::as_raw(self), core::mem::transmute(resourceid.unwrap_or(std::ptr::null())), resourcetextureproperties, core::mem::transmute(data.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), core::mem::transmute(strides.unwrap_or(std::ptr::null())), data.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindResourceTexture(&self, resourceid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindResourceTexture)(windows_core::Interface::as_raw(self), resourceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVertexBuffer(&self, vertexbufferproperties: *const D2D1_VERTEX_BUFFER_PROPERTIES, resourceid: Option<*const windows_core::GUID>, customvertexbufferproperties: Option<*const D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVertexBuffer)(windows_core::Interface::as_raw(self), vertexbufferproperties, core::mem::transmute(resourceid.unwrap_or(std::ptr::null())), core::mem::transmute(customvertexbufferproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindVertexBuffer(&self, resourceid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindVertexBuffer)(windows_core::Interface::as_raw(self), resourceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateColorContext(&self, space: D2D1_COLOR_SPACE, profile: Option<&[u8]>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContext)(windows_core::Interface::as_raw(self), space, core::mem::transmute(profile.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), profile.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateColorContextFromFilename(&self, filename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContextFromFilename)(windows_core::Interface::as_raw(self), filename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Imaging")] @@ -2231,7 +2231,7 @@ impl ID2D1EffectContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContextFromWicColorContext)(windows_core::Interface::as_raw(self), wiccolorcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CheckFeatureSupport(&self, feature: D2D1_FEATURE, featuresupportdata: *mut core::ffi::c_void, featuresupportdatasize: u32) -> windows_core::Result<()> { @@ -2281,13 +2281,13 @@ windows_core::imp::define_interface!(ID2D1EffectContext1, ID2D1EffectContext1_Vt impl std::ops::Deref for ID2D1EffectContext1 { type Target = ID2D1EffectContext; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1EffectContext1, windows_core::IUnknown, ID2D1EffectContext); impl ID2D1EffectContext1 { pub unsafe fn CreateLookupTable3D(&self, precision: D2D1_BUFFER_PRECISION, extents: &[u32; 3], data: &[u8], strides: &[u32; 2]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLookupTable3D)(windows_core::Interface::as_raw(self), precision, core::mem::transmute(extents.as_ptr()), core::mem::transmute(data.as_ptr()), data.len().try_into().unwrap(), core::mem::transmute(strides.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2302,19 +2302,19 @@ windows_core::imp::define_interface!(ID2D1EffectContext2, ID2D1EffectContext2_Vt impl std::ops::Deref for ID2D1EffectContext2 { type Target = ID2D1EffectContext1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1EffectContext2, windows_core::IUnknown, ID2D1EffectContext, ID2D1EffectContext1); impl ID2D1EffectContext2 { #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContextFromDxgiColorSpace)(windows_core::Interface::as_raw(self), colorspace, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateColorContextFromSimpleColorProfile(&self, simpleprofile: *const D2D1_SIMPLE_COLOR_PROFILE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContextFromSimpleColorProfile)(windows_core::Interface::as_raw(self), simpleprofile, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2336,7 +2336,7 @@ windows_core::imp::define_interface!(ID2D1EffectImpl, ID2D1EffectImpl_Vtbl, 0xa2 impl std::ops::Deref for ID2D1EffectImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1EffectImpl, windows_core::IUnknown); @@ -2371,14 +2371,14 @@ windows_core::imp::define_interface!(ID2D1EllipseGeometry, ID2D1EllipseGeometry_ impl std::ops::Deref for ID2D1EllipseGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1EllipseGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1EllipseGeometry { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetEllipse(&self) -> D2D1_ELLIPSE { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEllipse)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -2397,7 +2397,7 @@ windows_core::imp::define_interface!(ID2D1Factory, ID2D1Factory_Vtbl, 0x06152247 impl std::ops::Deref for ID2D1Factory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Factory, windows_core::IUnknown); @@ -2410,22 +2410,22 @@ impl ID2D1Factory { } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRectangleGeometry(&self, rectangle: *const Common::D2D_RECT_F) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRectangleGeometry)(windows_core::Interface::as_raw(self), rectangle, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateRoundedRectangleGeometry(&self, roundedrectangle: *const D2D1_ROUNDED_RECT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRoundedRectangleGeometry)(windows_core::Interface::as_raw(self), roundedrectangle, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateEllipseGeometry(&self, ellipse: *const D2D1_ELLIPSE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEllipseGeometry)(windows_core::Interface::as_raw(self), ellipse, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGeometryGroup)(windows_core::Interface::as_raw(self), fillmode, core::mem::transmute(geometries.as_ptr()), geometries.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Foundation_Numerics")] @@ -2433,15 +2433,15 @@ impl ID2D1Factory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransformedGeometry)(windows_core::Interface::as_raw(self), sourcegeometry.param().abi(), transform, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePathGeometry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePathGeometry)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES, dashes: Option<&[f32]>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStrokeStyle)(windows_core::Interface::as_raw(self), strokestyleproperties, core::mem::transmute(dashes.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), dashes.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_DirectWrite"))] @@ -2449,7 +2449,7 @@ impl ID2D1Factory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDrawingStateBlock)(windows_core::Interface::as_raw(self), core::mem::transmute(drawingstatedescription.unwrap_or(std::ptr::null())), textrenderingparams.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] @@ -2457,12 +2457,12 @@ impl ID2D1Factory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateWicBitmapRenderTarget)(windows_core::Interface::as_raw(self), target.param().abi(), rendertargetproperties, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateHwndRenderTarget)(windows_core::Interface::as_raw(self), rendertargetproperties, hwndrendertargetproperties, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] @@ -2470,12 +2470,12 @@ impl ID2D1Factory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDxgiSurfaceRenderTarget)(windows_core::Interface::as_raw(self), dxgisurface.param().abi(), rendertargetproperties, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDCRenderTarget)(windows_core::Interface::as_raw(self), rendertargetproperties, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2533,7 +2533,7 @@ windows_core::imp::define_interface!(ID2D1Factory1, ID2D1Factory1_Vtbl, 0xbb12d3 impl std::ops::Deref for ID2D1Factory1 { type Target = ID2D1Factory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Factory1, windows_core::IUnknown, ID2D1Factory); @@ -2543,15 +2543,15 @@ impl ID2D1Factory1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), dxgidevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateStrokeStyle(&self, strokestyleproperties: *const D2D1_STROKE_STYLE_PROPERTIES1, dashes: Option<&[f32]>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStrokeStyle)(windows_core::Interface::as_raw(self), strokestyleproperties, core::mem::transmute(dashes.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), dashes.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePathGeometry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePathGeometry)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_DirectWrite"))] @@ -2559,7 +2559,7 @@ impl ID2D1Factory1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDrawingStateBlock)(windows_core::Interface::as_raw(self), core::mem::transmute(drawingstatedescription.unwrap_or(std::ptr::null())), textrenderingparams.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2567,7 +2567,7 @@ impl ID2D1Factory1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGdiMetafile)(windows_core::Interface::as_raw(self), metafilestream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2590,7 +2590,7 @@ impl ID2D1Factory1 { (windows_core::Interface::vtable(self).GetRegisteredEffects)(windows_core::Interface::as_raw(self), core::mem::transmute(effects.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), effects.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(effectsreturned.unwrap_or(std::ptr::null_mut())), core::mem::transmute(effectsregistered.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetEffectProperties(&self, effectid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectProperties)(windows_core::Interface::as_raw(self), effectid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2626,7 +2626,7 @@ windows_core::imp::define_interface!(ID2D1Factory2, ID2D1Factory2_Vtbl, 0x94f81a impl std::ops::Deref for ID2D1Factory2 { type Target = ID2D1Factory1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Factory2, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1); @@ -2636,7 +2636,7 @@ impl ID2D1Factory2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), dxgidevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2654,7 +2654,7 @@ windows_core::imp::define_interface!(ID2D1Factory3, ID2D1Factory3_Vtbl, 0x086975 impl std::ops::Deref for ID2D1Factory3 { type Target = ID2D1Factory2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Factory3, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2); @@ -2664,7 +2664,7 @@ impl ID2D1Factory3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), dxgidevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2682,7 +2682,7 @@ windows_core::imp::define_interface!(ID2D1Factory4, ID2D1Factory4_Vtbl, 0xbd4ec2 impl std::ops::Deref for ID2D1Factory4 { type Target = ID2D1Factory3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Factory4, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3); @@ -2692,7 +2692,7 @@ impl ID2D1Factory4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), dxgidevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2710,7 +2710,7 @@ windows_core::imp::define_interface!(ID2D1Factory5, ID2D1Factory5_Vtbl, 0xc43499 impl std::ops::Deref for ID2D1Factory5 { type Target = ID2D1Factory4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Factory5, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4); @@ -2720,7 +2720,7 @@ impl ID2D1Factory5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), dxgidevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2738,7 +2738,7 @@ windows_core::imp::define_interface!(ID2D1Factory6, ID2D1Factory6_Vtbl, 0xf9976f impl std::ops::Deref for ID2D1Factory6 { type Target = ID2D1Factory5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Factory6, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5); @@ -2748,7 +2748,7 @@ impl ID2D1Factory6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), dxgidevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2766,7 +2766,7 @@ windows_core::imp::define_interface!(ID2D1Factory7, ID2D1Factory7_Vtbl, 0xbdc2bd impl std::ops::Deref for ID2D1Factory7 { type Target = ID2D1Factory6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Factory7, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5, ID2D1Factory6); @@ -2776,7 +2776,7 @@ impl ID2D1Factory7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), dxgidevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2794,7 +2794,7 @@ windows_core::imp::define_interface!(ID2D1Factory8, ID2D1Factory8_Vtbl, 0x677c93 impl std::ops::Deref for ID2D1Factory8 { type Target = ID2D1Factory7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Factory8, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5, ID2D1Factory6, ID2D1Factory7); @@ -2804,7 +2804,7 @@ impl ID2D1Factory8 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDevice)(windows_core::Interface::as_raw(self), dxgidevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2822,14 +2822,14 @@ windows_core::imp::define_interface!(ID2D1GdiInteropRenderTarget, ID2D1GdiIntero impl std::ops::Deref for ID2D1GdiInteropRenderTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GdiInteropRenderTarget, windows_core::IUnknown); impl ID2D1GdiInteropRenderTarget { #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetDC(&self, mode: D2D1_DC_INITIALIZE_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDC)(windows_core::Interface::as_raw(self), mode, &mut result__).map(|| result__) } pub unsafe fn ReleaseDC(&self, update: Option<*const super::super::Foundation::RECT>) -> windows_core::Result<()> { @@ -2851,7 +2851,7 @@ windows_core::imp::define_interface!(ID2D1GdiMetafile, ID2D1GdiMetafile_Vtbl, 0x impl std::ops::Deref for ID2D1GdiMetafile { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GdiMetafile, windows_core::IUnknown, ID2D1Resource); @@ -2864,7 +2864,7 @@ impl ID2D1GdiMetafile { } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetBounds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBounds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2883,7 +2883,7 @@ windows_core::imp::define_interface!(ID2D1GdiMetafile1, ID2D1GdiMetafile1_Vtbl, impl std::ops::Deref for ID2D1GdiMetafile1 { type Target = ID2D1GdiMetafile; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GdiMetafile1, windows_core::IUnknown, ID2D1Resource, ID2D1GdiMetafile); @@ -2893,7 +2893,7 @@ impl ID2D1GdiMetafile1 { } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetSourceBounds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceBounds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2912,7 +2912,7 @@ windows_core::imp::define_interface!(ID2D1GdiMetafileSink, ID2D1GdiMetafileSink_ impl std::ops::Deref for ID2D1GdiMetafileSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GdiMetafileSink, windows_core::IUnknown); @@ -2932,7 +2932,7 @@ windows_core::imp::define_interface!(ID2D1GdiMetafileSink1, ID2D1GdiMetafileSink impl std::ops::Deref for ID2D1GdiMetafileSink1 { type Target = ID2D1GdiMetafileSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GdiMetafileSink1, windows_core::IUnknown, ID2D1GdiMetafileSink); @@ -2952,14 +2952,14 @@ windows_core::imp::define_interface!(ID2D1Geometry, ID2D1Geometry_Vtbl, 0x2cd906 impl std::ops::Deref for ID2D1Geometry { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Geometry, windows_core::IUnknown, ID2D1Resource); impl ID2D1Geometry { #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn GetBounds(&self, worldtransform: Option<*const super::super::super::Foundation::Numerics::Matrix3x2>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBounds)(windows_core::Interface::as_raw(self), core::mem::transmute(worldtransform.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] @@ -2967,7 +2967,7 @@ impl ID2D1Geometry { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWidenedBounds)(windows_core::Interface::as_raw(self), strokewidth, strokestyle.param().abi(), core::mem::transmute(worldtransform.unwrap_or(std::ptr::null())), flatteningtolerance, &mut result__).map(|| result__) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] @@ -2975,12 +2975,12 @@ impl ID2D1Geometry { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrokeContainsPoint)(windows_core::Interface::as_raw(self), core::mem::transmute(point), strokewidth, strokestyle.param().abi(), core::mem::transmute(worldtransform.unwrap_or(std::ptr::null())), flatteningtolerance, &mut result__).map(|| result__) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn FillContainsPoint(&self, point: Common::D2D_POINT_2F, worldtransform: Option<*const super::super::super::Foundation::Numerics::Matrix3x2>, flatteningtolerance: f32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FillContainsPoint)(windows_core::Interface::as_raw(self), core::mem::transmute(point), core::mem::transmute(worldtransform.unwrap_or(std::ptr::null())), flatteningtolerance, &mut result__).map(|| result__) } #[cfg(feature = "Foundation_Numerics")] @@ -2988,7 +2988,7 @@ impl ID2D1Geometry { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareWithGeometry)(windows_core::Interface::as_raw(self), inputgeometry.param().abi(), core::mem::transmute(inputgeometrytransform.unwrap_or(std::ptr::null())), flatteningtolerance, &mut result__).map(|| result__) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] @@ -3022,12 +3022,12 @@ impl ID2D1Geometry { } #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeArea(&self, worldtransform: Option<*const super::super::super::Foundation::Numerics::Matrix3x2>, flatteningtolerance: f32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputeArea)(windows_core::Interface::as_raw(self), core::mem::transmute(worldtransform.unwrap_or(std::ptr::null())), flatteningtolerance, &mut result__).map(|| result__) } #[cfg(feature = "Foundation_Numerics")] pub unsafe fn ComputeLength(&self, worldtransform: Option<*const super::super::super::Foundation::Numerics::Matrix3x2>, flatteningtolerance: f32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputeLength)(windows_core::Interface::as_raw(self), core::mem::transmute(worldtransform.unwrap_or(std::ptr::null())), flatteningtolerance, &mut result__).map(|| result__) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] @@ -3105,7 +3105,7 @@ windows_core::imp::define_interface!(ID2D1GeometryGroup, ID2D1GeometryGroup_Vtbl impl std::ops::Deref for ID2D1GeometryGroup { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GeometryGroup, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); @@ -3137,7 +3137,7 @@ windows_core::imp::define_interface!(ID2D1GeometryRealization, ID2D1GeometryReal impl std::ops::Deref for ID2D1GeometryRealization { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GeometryRealization, windows_core::IUnknown, ID2D1Resource); @@ -3154,7 +3154,7 @@ windows_core::imp::define_interface!(ID2D1GeometrySink, ID2D1GeometrySink_Vtbl, impl std::ops::Deref for ID2D1GeometrySink { type Target = Common::ID2D1SimplifiedGeometrySink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -3215,7 +3215,7 @@ windows_core::imp::define_interface!(ID2D1GradientMesh, ID2D1GradientMesh_Vtbl, impl std::ops::Deref for ID2D1GradientMesh { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GradientMesh, windows_core::IUnknown, ID2D1Resource); @@ -3243,7 +3243,7 @@ windows_core::imp::define_interface!(ID2D1GradientStopCollection, ID2D1GradientS impl std::ops::Deref for ID2D1GradientStopCollection { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GradientStopCollection, windows_core::IUnknown, ID2D1Resource); @@ -3279,7 +3279,7 @@ windows_core::imp::define_interface!(ID2D1GradientStopCollection1, ID2D1Gradient impl std::ops::Deref for ID2D1GradientStopCollection1 { type Target = ID2D1GradientStopCollection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1GradientStopCollection1, windows_core::IUnknown, ID2D1Resource, ID2D1GradientStopCollection); @@ -3319,7 +3319,7 @@ windows_core::imp::define_interface!(ID2D1HwndRenderTarget, ID2D1HwndRenderTarge impl std::ops::Deref for ID2D1HwndRenderTarget { type Target = ID2D1RenderTarget; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1HwndRenderTarget, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); @@ -3351,7 +3351,7 @@ windows_core::imp::define_interface!(ID2D1Image, ID2D1Image_Vtbl, 0x65019f75_8da impl std::ops::Deref for ID2D1Image { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Image, windows_core::IUnknown, ID2D1Resource); @@ -3366,7 +3366,7 @@ windows_core::imp::define_interface!(ID2D1ImageBrush, ID2D1ImageBrush_Vtbl, 0xfe impl std::ops::Deref for ID2D1ImageBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1ImageBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); @@ -3391,7 +3391,7 @@ impl ID2D1ImageBrush { (windows_core::Interface::vtable(self).SetSourceRectangle)(windows_core::Interface::as_raw(self), sourcerectangle) } pub unsafe fn GetImage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImage)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -3406,7 +3406,7 @@ impl ID2D1ImageBrush { } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetSourceRectangle(&self) -> Common::D2D_RECT_F { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceRectangle)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -3437,7 +3437,7 @@ windows_core::imp::define_interface!(ID2D1ImageSource, ID2D1ImageSource_Vtbl, 0x impl std::ops::Deref for ID2D1ImageSource { type Target = ID2D1Image; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1ImageSource, windows_core::IUnknown, ID2D1Resource, ID2D1Image); @@ -3446,7 +3446,7 @@ impl ID2D1ImageSource { (windows_core::Interface::vtable(self).OfferResources)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn TryReclaimResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TryReclaimResources)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3462,7 +3462,7 @@ windows_core::imp::define_interface!(ID2D1ImageSourceFromWic, ID2D1ImageSourceFr impl std::ops::Deref for ID2D1ImageSourceFromWic { type Target = ID2D1ImageSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1ImageSourceFromWic, windows_core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1ImageSource); @@ -3477,7 +3477,7 @@ impl ID2D1ImageSourceFromWic { } #[cfg(feature = "Win32_Graphics_Imaging")] pub unsafe fn GetSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSource)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -3504,7 +3504,7 @@ windows_core::imp::define_interface!(ID2D1Ink, ID2D1Ink_Vtbl, 0xb499923b_7029_47 impl std::ops::Deref for ID2D1Ink { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Ink, windows_core::IUnknown, ID2D1Resource); @@ -3548,7 +3548,7 @@ impl ID2D1Ink { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBounds)(windows_core::Interface::as_raw(self), inkstyle.param().abi(), core::mem::transmute(worldtransform.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } } @@ -3578,7 +3578,7 @@ windows_core::imp::define_interface!(ID2D1InkStyle, ID2D1InkStyle_Vtbl, 0xbae8b3 impl std::ops::Deref for ID2D1InkStyle { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1InkStyle, windows_core::IUnknown, ID2D1Resource); @@ -3618,7 +3618,7 @@ windows_core::imp::define_interface!(ID2D1Layer, ID2D1Layer_Vtbl, 0x2cd9069b_12e impl std::ops::Deref for ID2D1Layer { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Layer, windows_core::IUnknown, ID2D1Resource); @@ -3644,7 +3644,7 @@ windows_core::imp::define_interface!(ID2D1LinearGradientBrush, ID2D1LinearGradie impl std::ops::Deref for ID2D1LinearGradientBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1LinearGradientBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); @@ -3670,7 +3670,7 @@ impl ID2D1LinearGradientBrush { result__ } pub unsafe fn GetGradientStopCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGradientStopCollection)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -3702,7 +3702,7 @@ windows_core::imp::define_interface!(ID2D1LookupTable3D, ID2D1LookupTable3D_Vtbl impl std::ops::Deref for ID2D1LookupTable3D { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1LookupTable3D, windows_core::IUnknown, ID2D1Resource); @@ -3717,13 +3717,13 @@ windows_core::imp::define_interface!(ID2D1Mesh, ID2D1Mesh_Vtbl, 0x2cd906c2_12e2_ impl std::ops::Deref for ID2D1Mesh { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Mesh, windows_core::IUnknown, ID2D1Resource); impl ID2D1Mesh { pub unsafe fn Open(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3738,7 +3738,7 @@ windows_core::imp::define_interface!(ID2D1Multithread, ID2D1Multithread_Vtbl, 0x impl std::ops::Deref for ID2D1Multithread { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Multithread, windows_core::IUnknown); @@ -3766,7 +3766,7 @@ windows_core::imp::define_interface!(ID2D1OffsetTransform, ID2D1OffsetTransform_ impl std::ops::Deref for ID2D1OffsetTransform { type Target = ID2D1TransformNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1OffsetTransform, windows_core::IUnknown, ID2D1TransformNode); @@ -3792,14 +3792,14 @@ windows_core::imp::define_interface!(ID2D1PathGeometry, ID2D1PathGeometry_Vtbl, impl std::ops::Deref for ID2D1PathGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1PathGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1PathGeometry { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn Open(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -3810,11 +3810,11 @@ impl ID2D1PathGeometry { (windows_core::Interface::vtable(self).Stream)(windows_core::Interface::as_raw(self), geometrysink.param().abi()).ok() } pub unsafe fn GetSegmentCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSegmentCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFigureCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFigureCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3838,7 +3838,7 @@ windows_core::imp::define_interface!(ID2D1PathGeometry1, ID2D1PathGeometry1_Vtbl impl std::ops::Deref for ID2D1PathGeometry1 { type Target = ID2D1PathGeometry; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1PathGeometry1, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry, ID2D1PathGeometry); @@ -3862,7 +3862,7 @@ windows_core::imp::define_interface!(ID2D1PrintControl, ID2D1PrintControl_Vtbl, impl std::ops::Deref for ID2D1PrintControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1PrintControl, windows_core::IUnknown); @@ -3894,7 +3894,7 @@ windows_core::imp::define_interface!(ID2D1Properties, ID2D1Properties_Vtbl, 0x48 impl std::ops::Deref for ID2D1Properties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Properties, windows_core::IUnknown); @@ -3939,7 +3939,7 @@ impl ID2D1Properties { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubProperties)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3964,7 +3964,7 @@ windows_core::imp::define_interface!(ID2D1RadialGradientBrush, ID2D1RadialGradie impl std::ops::Deref for ID2D1RadialGradientBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1RadialGradientBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); @@ -4002,7 +4002,7 @@ impl ID2D1RadialGradientBrush { (windows_core::Interface::vtable(self).GetRadiusY)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetGradientStopCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGradientStopCollection)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -4038,14 +4038,14 @@ windows_core::imp::define_interface!(ID2D1RectangleGeometry, ID2D1RectangleGeome impl std::ops::Deref for ID2D1RectangleGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1RectangleGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1RectangleGeometry { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetRect(&self) -> Common::D2D_RECT_F { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRect)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -4064,7 +4064,7 @@ windows_core::imp::define_interface!(ID2D1RenderInfo, ID2D1RenderInfo_Vtbl, 0x51 impl std::ops::Deref for ID2D1RenderInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1RenderInfo, windows_core::IUnknown); @@ -4099,14 +4099,14 @@ windows_core::imp::define_interface!(ID2D1RenderTarget, ID2D1RenderTarget_Vtbl, impl std::ops::Deref for ID2D1RenderTarget { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1RenderTarget, windows_core::IUnknown, ID2D1Resource); impl ID2D1RenderTarget { #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateBitmap(&self, size: Common::D2D_SIZE_U, srcdata: Option<*const core::ffi::c_void>, pitch: u32, bitmapproperties: *const D2D1_BITMAP_PROPERTIES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmap)(windows_core::Interface::as_raw(self), core::mem::transmute(size), core::mem::transmute(srcdata.unwrap_or(std::ptr::null())), pitch, bitmapproperties, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Graphics_Imaging"))] @@ -4114,7 +4114,7 @@ impl ID2D1RenderTarget { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapFromWicBitmap)(windows_core::Interface::as_raw(self), wicbitmapsource.param().abi(), core::mem::transmute(bitmapproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] @@ -4126,17 +4126,17 @@ impl ID2D1RenderTarget { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapBrush)(windows_core::Interface::as_raw(self), bitmap.param().abi(), core::mem::transmute(bitmapbrushproperties.unwrap_or(std::ptr::null())), core::mem::transmute(brushproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] pub unsafe fn CreateSolidColorBrush(&self, color: *const Common::D2D1_COLOR_F, brushproperties: Option<*const D2D1_BRUSH_PROPERTIES>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSolidColorBrush)(windows_core::Interface::as_raw(self), color, core::mem::transmute(brushproperties.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateGradientStopCollection(&self, gradientstops: &[Common::D2D1_GRADIENT_STOP], colorinterpolationgamma: D2D1_GAMMA, extendmode: D2D1_EXTEND_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGradientStopCollection)(windows_core::Interface::as_raw(self), core::mem::transmute(gradientstops.as_ptr()), gradientstops.len().try_into().unwrap(), colorinterpolationgamma, extendmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] @@ -4144,7 +4144,7 @@ impl ID2D1RenderTarget { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLinearGradientBrush)(windows_core::Interface::as_raw(self), lineargradientbrushproperties, core::mem::transmute(brushproperties.unwrap_or(std::ptr::null())), gradientstopcollection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] @@ -4152,21 +4152,21 @@ impl ID2D1RenderTarget { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRadialGradientBrush)(windows_core::Interface::as_raw(self), radialgradientbrushproperties, core::mem::transmute(brushproperties.unwrap_or(std::ptr::null())), gradientstopcollection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] pub unsafe fn CreateCompatibleRenderTarget(&self, desiredsize: Option<*const Common::D2D_SIZE_F>, desiredpixelsize: Option<*const Common::D2D_SIZE_U>, desiredformat: Option<*const Common::D2D1_PIXEL_FORMAT>, options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCompatibleRenderTarget)(windows_core::Interface::as_raw(self), core::mem::transmute(desiredsize.unwrap_or(std::ptr::null())), core::mem::transmute(desiredpixelsize.unwrap_or(std::ptr::null())), core::mem::transmute(desiredformat.unwrap_or(std::ptr::null())), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreateLayer(&self, size: Option<*const Common::D2D_SIZE_F>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLayer)(windows_core::Interface::as_raw(self), core::mem::transmute(size.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateMesh(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMesh)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -4312,7 +4312,7 @@ impl ID2D1RenderTarget { } #[cfg(feature = "Win32_Graphics_DirectWrite")] pub unsafe fn GetTextRenderingParams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextRenderingParams)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -4558,13 +4558,13 @@ windows_core::imp::define_interface!(ID2D1Resource, ID2D1Resource_Vtbl, 0x2cd906 impl std::ops::Deref for ID2D1Resource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Resource, windows_core::IUnknown); impl ID2D1Resource { pub unsafe fn GetFactory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFactory)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -4580,7 +4580,7 @@ windows_core::imp::define_interface!(ID2D1ResourceTexture, ID2D1ResourceTexture_ impl std::ops::Deref for ID2D1ResourceTexture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1ResourceTexture, windows_core::IUnknown); @@ -4600,7 +4600,7 @@ windows_core::imp::define_interface!(ID2D1RoundedRectangleGeometry, ID2D1Rounded impl std::ops::Deref for ID2D1RoundedRectangleGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1RoundedRectangleGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); @@ -4624,7 +4624,7 @@ windows_core::imp::define_interface!(ID2D1SolidColorBrush, ID2D1SolidColorBrush_ impl std::ops::Deref for ID2D1SolidColorBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SolidColorBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); @@ -4658,7 +4658,7 @@ windows_core::imp::define_interface!(ID2D1SourceTransform, ID2D1SourceTransform_ impl std::ops::Deref for ID2D1SourceTransform { type Target = ID2D1Transform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SourceTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1Transform); @@ -4692,7 +4692,7 @@ windows_core::imp::define_interface!(ID2D1SpriteBatch, ID2D1SpriteBatch_Vtbl, 0x impl std::ops::Deref for ID2D1SpriteBatch { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SpriteBatch, windows_core::IUnknown, ID2D1Resource); @@ -4740,7 +4740,7 @@ windows_core::imp::define_interface!(ID2D1StrokeStyle, ID2D1StrokeStyle_Vtbl, 0x impl std::ops::Deref for ID2D1StrokeStyle { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1StrokeStyle, windows_core::IUnknown, ID2D1Resource); @@ -4792,7 +4792,7 @@ windows_core::imp::define_interface!(ID2D1StrokeStyle1, ID2D1StrokeStyle1_Vtbl, impl std::ops::Deref for ID2D1StrokeStyle1 { type Target = ID2D1StrokeStyle; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1StrokeStyle1, windows_core::IUnknown, ID2D1Resource, ID2D1StrokeStyle); @@ -4812,18 +4812,18 @@ windows_core::imp::define_interface!(ID2D1SvgAttribute, ID2D1SvgAttribute_Vtbl, impl std::ops::Deref for ID2D1SvgAttribute { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SvgAttribute, windows_core::IUnknown, ID2D1Resource); impl ID2D1SvgAttribute { pub unsafe fn GetElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElement)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4839,7 +4839,7 @@ windows_core::imp::define_interface!(ID2D1SvgDocument, ID2D1SvgDocument_Vtbl, 0x impl std::ops::Deref for ID2D1SvgDocument { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SvgDocument, windows_core::IUnknown, ID2D1Resource); @@ -4861,7 +4861,7 @@ impl ID2D1SvgDocument { (windows_core::Interface::vtable(self).SetRoot)(windows_core::Interface::as_raw(self), root.param().abi()).ok() } pub unsafe fn GetRoot(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRoot)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -4869,7 +4869,7 @@ impl ID2D1SvgDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindElementById)(windows_core::Interface::as_raw(self), id.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4885,7 +4885,7 @@ impl ID2D1SvgDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Deserialize)(windows_core::Interface::as_raw(self), inputxmlstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -4893,20 +4893,20 @@ impl ID2D1SvgDocument { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePaint)(windows_core::Interface::as_raw(self), painttype, core::mem::transmute(color.unwrap_or(std::ptr::null())), id.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateStrokeDashArray(&self, dashes: Option<&[D2D1_SVG_LENGTH]>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStrokeDashArray)(windows_core::Interface::as_raw(self), core::mem::transmute(dashes.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), dashes.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreatePointCollection(&self, points: Option<&[Common::D2D_POINT_2F]>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePointCollection)(windows_core::Interface::as_raw(self), core::mem::transmute(points.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), points.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePathData(&self, segmentdata: Option<&[f32]>, commands: Option<&[D2D1_SVG_PATH_COMMAND]>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePathData)(windows_core::Interface::as_raw(self), core::mem::transmute(segmentdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), segmentdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(commands.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), commands.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4949,13 +4949,13 @@ windows_core::imp::define_interface!(ID2D1SvgElement, ID2D1SvgElement_Vtbl, 0xac impl std::ops::Deref for ID2D1SvgElement { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SvgElement, windows_core::IUnknown, ID2D1Resource); impl ID2D1SvgElement { pub unsafe fn GetDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocument)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -4969,7 +4969,7 @@ impl ID2D1SvgElement { (windows_core::Interface::vtable(self).IsTextContent)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParent)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -4977,12 +4977,12 @@ impl ID2D1SvgElement { (windows_core::Interface::vtable(self).HasChildren)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetFirstChild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstChild)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } pub unsafe fn GetLastChild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastChild)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -4990,14 +4990,14 @@ impl ID2D1SvgElement { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousChild)(windows_core::Interface::as_raw(self), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNextChild(&self, referencechild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextChild)(windows_core::Interface::as_raw(self), referencechild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertChildBefore(&self, newchild: P0, referencechild: P1) -> windows_core::Result<()> @@ -5030,7 +5030,7 @@ impl ID2D1SvgElement { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateChild)(windows_core::Interface::as_raw(self), tagname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsAttributeSpecified(&self, name: P0, inherited: Option<*mut super::super::Foundation::BOOL>) -> super::super::Foundation::BOOL @@ -5107,7 +5107,7 @@ impl ID2D1SvgElement { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeValueLength)(windows_core::Interface::as_raw(self), name.param().abi(), r#type, &mut result__).map(|| result__) } } @@ -5151,7 +5151,7 @@ windows_core::imp::define_interface!(ID2D1SvgGlyphStyle, ID2D1SvgGlyphStyle_Vtbl impl std::ops::Deref for ID2D1SvgGlyphStyle { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SvgGlyphStyle, windows_core::IUnknown, ID2D1Resource); @@ -5163,7 +5163,7 @@ impl ID2D1SvgGlyphStyle { (windows_core::Interface::vtable(self).SetFill)(windows_core::Interface::as_raw(self), brush.param().abi()).ok() } pub unsafe fn GetFill(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFill)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -5195,7 +5195,7 @@ windows_core::imp::define_interface!(ID2D1SvgPaint, ID2D1SvgPaint_Vtbl, 0xd59bab impl std::ops::Deref for ID2D1SvgPaint { type Target = ID2D1SvgAttribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SvgPaint, windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); @@ -5212,7 +5212,7 @@ impl ID2D1SvgPaint { } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn GetColor(&self) -> Common::D2D1_COLOR_F { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColor)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -5252,7 +5252,7 @@ windows_core::imp::define_interface!(ID2D1SvgPathData, ID2D1SvgPathData_Vtbl, 0x impl std::ops::Deref for ID2D1SvgPathData { type Target = ID2D1SvgAttribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SvgPathData, windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); @@ -5283,7 +5283,7 @@ impl ID2D1SvgPathData { } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn CreatePathGeometry(&self, fillmode: Common::D2D1_FILL_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePathGeometry)(windows_core::Interface::as_raw(self), fillmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5309,7 +5309,7 @@ windows_core::imp::define_interface!(ID2D1SvgPointCollection, ID2D1SvgPointColle impl std::ops::Deref for ID2D1SvgPointCollection { type Target = ID2D1SvgAttribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SvgPointCollection, windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); @@ -5349,7 +5349,7 @@ windows_core::imp::define_interface!(ID2D1SvgStrokeDashArray, ID2D1SvgStrokeDash impl std::ops::Deref for ID2D1SvgStrokeDashArray { type Target = ID2D1SvgAttribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1SvgStrokeDashArray, windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); @@ -5389,7 +5389,7 @@ windows_core::imp::define_interface!(ID2D1TessellationSink, ID2D1TessellationSin impl std::ops::Deref for ID2D1TessellationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1TessellationSink, windows_core::IUnknown); @@ -5417,7 +5417,7 @@ windows_core::imp::define_interface!(ID2D1Transform, ID2D1Transform_Vtbl, 0xef1a impl std::ops::Deref for ID2D1Transform { type Target = ID2D1TransformNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1Transform, windows_core::IUnknown, ID2D1TransformNode); @@ -5429,7 +5429,7 @@ impl ID2D1Transform { (windows_core::Interface::vtable(self).MapInputRectsToOutputRect)(windows_core::Interface::as_raw(self), inputrects, inputopaquesubrects, inputrectcount, outputrect, outputopaquesubrect).ok() } pub unsafe fn MapInvalidRect(&self, inputindex: u32, invalidinputrect: super::super::Foundation::RECT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MapInvalidRect)(windows_core::Interface::as_raw(self), inputindex, core::mem::transmute(invalidinputrect), &mut result__).map(|| result__) } } @@ -5446,7 +5446,7 @@ windows_core::imp::define_interface!(ID2D1TransformGraph, ID2D1TransformGraph_Vt impl std::ops::Deref for ID2D1TransformGraph { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1TransformGraph, windows_core::IUnknown); @@ -5517,7 +5517,7 @@ windows_core::imp::define_interface!(ID2D1TransformNode, ID2D1TransformNode_Vtbl impl std::ops::Deref for ID2D1TransformNode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1TransformNode, windows_core::IUnknown); @@ -5537,13 +5537,13 @@ windows_core::imp::define_interface!(ID2D1TransformedGeometry, ID2D1TransformedG impl std::ops::Deref for ID2D1TransformedGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1TransformedGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1TransformedGeometry { pub unsafe fn GetSourceGeometry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceGeometry)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -5567,13 +5567,13 @@ windows_core::imp::define_interface!(ID2D1TransformedImageSource, ID2D1Transform impl std::ops::Deref for ID2D1TransformedImageSource { type Target = ID2D1Image; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1TransformedImageSource, windows_core::IUnknown, ID2D1Resource, ID2D1Image); impl ID2D1TransformedImageSource { pub unsafe fn GetSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSource)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -5593,7 +5593,7 @@ windows_core::imp::define_interface!(ID2D1VertexBuffer, ID2D1VertexBuffer_Vtbl, impl std::ops::Deref for ID2D1VertexBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID2D1VertexBuffer, windows_core::IUnknown); @@ -8826,7 +8826,7 @@ pub struct D2D1_BITMAP_PROPERTIES1 { pub dpiX: f32, pub dpiY: f32, pub bitmapOptions: D2D1_BITMAP_OPTIONS, - pub colorContext: std::mem::ManuallyDrop>, + pub colorContext: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] impl Clone for D2D1_BITMAP_PROPERTIES1 { @@ -8961,7 +8961,7 @@ impl Default for D2D1_DRAWING_STATE_DESCRIPTION1 { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] #[derive(Debug, PartialEq)] pub struct D2D1_EFFECT_INPUT_DESCRIPTION { - pub effect: std::mem::ManuallyDrop>, + pub effect: core::mem::ManuallyDrop>, pub inputIndex: u32, pub inputRectangle: Common::D2D_RECT_F, } @@ -9200,11 +9200,11 @@ impl Default for D2D1_INPUT_ELEMENT_DESC { #[derive(Debug, PartialEq)] pub struct D2D1_LAYER_PARAMETERS { pub contentBounds: Common::D2D_RECT_F, - pub geometricMask: std::mem::ManuallyDrop>, + pub geometricMask: core::mem::ManuallyDrop>, pub maskAntialiasMode: D2D1_ANTIALIAS_MODE, pub maskTransform: super::super::super::Foundation::Numerics::Matrix3x2, pub opacity: f32, - pub opacityBrush: std::mem::ManuallyDrop>, + pub opacityBrush: core::mem::ManuallyDrop>, pub layerOptions: D2D1_LAYER_OPTIONS, } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] @@ -9228,11 +9228,11 @@ impl Default for D2D1_LAYER_PARAMETERS { #[derive(Debug, PartialEq)] pub struct D2D1_LAYER_PARAMETERS1 { pub contentBounds: Common::D2D_RECT_F, - pub geometricMask: std::mem::ManuallyDrop>, + pub geometricMask: core::mem::ManuallyDrop>, pub maskAntialiasMode: D2D1_ANTIALIAS_MODE, pub maskTransform: super::super::super::Foundation::Numerics::Matrix3x2, pub opacity: f32, - pub opacityBrush: std::mem::ManuallyDrop>, + pub opacityBrush: core::mem::ManuallyDrop>, pub layerOptions: D2D1_LAYER_OPTIONS1, } #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common"))] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs index ebf6868a7b..9bae11e6ca 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs @@ -859,7 +859,7 @@ impl IDxcPdbUtils_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSourceName, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSourceName, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetSourceName(this, core::mem::transmute_copy(&uindex)) { @@ -881,7 +881,7 @@ impl IDxcPdbUtils_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFlag, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFlag, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetFlag(this, core::mem::transmute_copy(&uindex)) { @@ -903,7 +903,7 @@ impl IDxcPdbUtils_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetArg, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetArg, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetArg(this, core::mem::transmute_copy(&uindex)) { @@ -925,7 +925,7 @@ impl IDxcPdbUtils_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetArgPair, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, pname: *mut std::mem::MaybeUninit, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetArgPair, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, pname: *mut core::mem::MaybeUninit, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDxcPdbUtils_Impl::GetArgPair(this, core::mem::transmute_copy(&uindex), core::mem::transmute_copy(&pname), core::mem::transmute_copy(&pvalue)).into() @@ -941,7 +941,7 @@ impl IDxcPdbUtils_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDefine, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDefine, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetDefine(this, core::mem::transmute_copy(&uindex)) { @@ -952,7 +952,7 @@ impl IDxcPdbUtils_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetTargetProfile, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTargetProfile, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetTargetProfile(this) { @@ -963,7 +963,7 @@ impl IDxcPdbUtils_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetEntryPoint, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEntryPoint, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetEntryPoint(this) { @@ -974,7 +974,7 @@ impl IDxcPdbUtils_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMainFileName, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMainFileName, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetMainFileName(this) { @@ -996,7 +996,7 @@ impl IDxcPdbUtils_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetName, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IDxcPdbUtils_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDxcPdbUtils_Impl::GetName(this) { 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 fc44ebed7e..c3a2d8c127 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 @@ -22,7 +22,7 @@ windows_core::imp::define_interface!(IDxcAssembler, IDxcAssembler_Vtbl, 0x091f7a impl std::ops::Deref for IDxcAssembler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcAssembler, windows_core::IUnknown); @@ -31,7 +31,7 @@ impl IDxcAssembler { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssembleToContainer)(windows_core::Interface::as_raw(self), pshader.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -44,7 +44,7 @@ windows_core::imp::define_interface!(IDxcBlob, IDxcBlob_Vtbl, 0x8ba5fb08_5195_40 impl std::ops::Deref for IDxcBlob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcBlob, windows_core::IUnknown); @@ -66,7 +66,7 @@ windows_core::imp::define_interface!(IDxcBlobEncoding, IDxcBlobEncoding_Vtbl, 0x impl std::ops::Deref for IDxcBlobEncoding { type Target = IDxcBlob; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcBlobEncoding, windows_core::IUnknown, IDxcBlob); @@ -84,7 +84,7 @@ windows_core::imp::define_interface!(IDxcBlobUtf16, IDxcBlobUtf16_Vtbl, 0xa3f84e impl std::ops::Deref for IDxcBlobUtf16 { type Target = IDxcBlobEncoding; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcBlobUtf16, windows_core::IUnknown, IDxcBlob, IDxcBlobEncoding); @@ -106,7 +106,7 @@ windows_core::imp::define_interface!(IDxcBlobUtf8, IDxcBlobUtf8_Vtbl, 0x3da636c9 impl std::ops::Deref for IDxcBlobUtf8 { type Target = IDxcBlobEncoding; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcBlobUtf8, windows_core::IUnknown, IDxcBlob, IDxcBlobEncoding); @@ -128,7 +128,7 @@ windows_core::imp::define_interface!(IDxcCompiler, IDxcCompiler_Vtbl, 0x8c210bf3 impl std::ops::Deref for IDxcCompiler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcCompiler, windows_core::IUnknown); @@ -141,7 +141,7 @@ impl IDxcCompiler { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Compile)(windows_core::Interface::as_raw(self), psource.param().abi(), psourcename.param().abi(), pentrypoint.param().abi(), ptargetprofile.param().abi(), core::mem::transmute(parguments.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), parguments.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(pdefines.as_ptr()), pdefines.len().try_into().unwrap(), pincludehandler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Preprocess(&self, psource: P0, psourcename: P1, parguments: Option<&[windows_core::PCWSTR]>, pdefines: &[DxcDefine], pincludehandler: P2) -> windows_core::Result @@ -150,14 +150,14 @@ impl IDxcCompiler { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Preprocess)(windows_core::Interface::as_raw(self), psource.param().abi(), psourcename.param().abi(), core::mem::transmute(parguments.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), parguments.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(pdefines.as_ptr()), pdefines.len().try_into().unwrap(), pincludehandler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Disassemble(&self, psource: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Disassemble)(windows_core::Interface::as_raw(self), psource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -172,7 +172,7 @@ windows_core::imp::define_interface!(IDxcCompiler2, IDxcCompiler2_Vtbl, 0xa005a9 impl std::ops::Deref for IDxcCompiler2 { type Target = IDxcCompiler; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcCompiler2, windows_core::IUnknown, IDxcCompiler); @@ -212,7 +212,7 @@ windows_core::imp::define_interface!(IDxcCompiler3, IDxcCompiler3_Vtbl, 0x228b46 impl std::ops::Deref for IDxcCompiler3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcCompiler3, windows_core::IUnknown); @@ -243,7 +243,7 @@ windows_core::imp::define_interface!(IDxcCompilerArgs, IDxcCompilerArgs_Vtbl, 0x impl std::ops::Deref for IDxcCompilerArgs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcCompilerArgs, windows_core::IUnknown); @@ -277,7 +277,7 @@ windows_core::imp::define_interface!(IDxcContainerBuilder, IDxcContainerBuilder_ impl std::ops::Deref for IDxcContainerBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcContainerBuilder, windows_core::IUnknown); @@ -298,7 +298,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SerializeContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -314,7 +314,7 @@ windows_core::imp::define_interface!(IDxcContainerReflection, IDxcContainerRefle impl std::ops::Deref for IDxcContainerReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcContainerReflection, windows_core::IUnknown); @@ -326,19 +326,19 @@ impl IDxcContainerReflection { (windows_core::Interface::vtable(self).Load)(windows_core::Interface::as_raw(self), pcontainer.param().abi()).ok() } pub unsafe fn GetPartCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPartKind(&self, idx: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartKind)(windows_core::Interface::as_raw(self), idx, &mut result__).map(|| result__) } pub unsafe fn GetPartContent(&self, idx: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartContent)(windows_core::Interface::as_raw(self), idx, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstPartKind(&self, kind: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstPartKind)(windows_core::Interface::as_raw(self), kind, &mut result__).map(|| result__) } pub unsafe fn GetPartReflection(&self, idx: u32, iid: *const windows_core::GUID, ppvobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -359,7 +359,7 @@ windows_core::imp::define_interface!(IDxcExtraOutputs, IDxcExtraOutputs_Vtbl, 0x impl std::ops::Deref for IDxcExtraOutputs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcExtraOutputs, windows_core::IUnknown); @@ -384,7 +384,7 @@ windows_core::imp::define_interface!(IDxcIncludeHandler, IDxcIncludeHandler_Vtbl impl std::ops::Deref for IDxcIncludeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcIncludeHandler, windows_core::IUnknown); @@ -393,7 +393,7 @@ impl IDxcIncludeHandler { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadSource)(windows_core::Interface::as_raw(self), pfilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -406,7 +406,7 @@ windows_core::imp::define_interface!(IDxcLibrary, IDxcLibrary_Vtbl, 0xe5204dc7_d impl std::ops::Deref for IDxcLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcLibrary, windows_core::IUnknown); @@ -422,22 +422,22 @@ impl IDxcLibrary { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlobFromBlob)(windows_core::Interface::as_raw(self), pblob.param().abi(), offset, length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBlobFromFile(&self, pfilename: P0, codepage: Option<*const DXC_CP>) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlobFromFile)(windows_core::Interface::as_raw(self), pfilename.param().abi(), core::mem::transmute(codepage.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlobWithEncodingFromPinned)(windows_core::Interface::as_raw(self), ptext, size, codepage, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlobWithEncodingOnHeapCopy)(windows_core::Interface::as_raw(self), ptext, size, codepage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -445,11 +445,11 @@ impl IDxcLibrary { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlobWithEncodingOnMalloc)(windows_core::Interface::as_raw(self), ptext, pimalloc.param().abi(), size, codepage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateIncludeHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateIncludeHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -457,21 +457,21 @@ impl IDxcLibrary { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStreamFromBlobReadOnly)(windows_core::Interface::as_raw(self), pblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBlobAsUtf8(&self, pblob: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBlobAsUtf8)(windows_core::Interface::as_raw(self), pblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBlobAsUtf16(&self, pblob: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBlobAsUtf16)(windows_core::Interface::as_raw(self), pblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -502,7 +502,7 @@ windows_core::imp::define_interface!(IDxcLinker, IDxcLinker_Vtbl, 0xf1b5be2a_62d impl std::ops::Deref for IDxcLinker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcLinker, windows_core::IUnknown); @@ -519,7 +519,7 @@ impl IDxcLinker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Link)(windows_core::Interface::as_raw(self), pentryname.param().abi(), ptargetprofile.param().abi(), core::mem::transmute(plibnames.as_ptr()), plibnames.len().try_into().unwrap(), core::mem::transmute(parguments.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), parguments.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -533,21 +533,21 @@ windows_core::imp::define_interface!(IDxcOperationResult, IDxcOperationResult_Vt impl std::ops::Deref for IDxcOperationResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcOperationResult, windows_core::IUnknown); impl IDxcOperationResult { pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResult)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetErrorBuffer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorBuffer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -562,17 +562,17 @@ windows_core::imp::define_interface!(IDxcOptimizer, IDxcOptimizer_Vtbl, 0x25740e impl std::ops::Deref for IDxcOptimizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcOptimizer, windows_core::IUnknown); impl IDxcOptimizer { pub unsafe fn GetAvailablePassCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailablePassCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAvailablePass(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailablePass)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RunOptimizer(&self, pblob: P0, ppoptions: &[windows_core::PCWSTR], poutputmodule: *mut Option, ppoutputtext: Option<*mut Option>) -> windows_core::Result<()> @@ -593,29 +593,29 @@ windows_core::imp::define_interface!(IDxcOptimizerPass, IDxcOptimizerPass_Vtbl, impl std::ops::Deref for IDxcOptimizerPass { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcOptimizerPass, windows_core::IUnknown); impl IDxcOptimizerPass { pub unsafe fn GetOptionName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOptionArgCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionArgCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOptionArgName(&self, argindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionArgName)(windows_core::Interface::as_raw(self), argindex, &mut result__).map(|| result__) } pub unsafe fn GetOptionArgDescription(&self, argindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionArgDescription)(windows_core::Interface::as_raw(self), argindex, &mut result__).map(|| result__) } } @@ -632,7 +632,7 @@ windows_core::imp::define_interface!(IDxcPdbUtils, IDxcPdbUtils_Vtbl, 0xe6c9647e impl std::ops::Deref for IDxcPdbUtils { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcPdbUtils, windows_core::IUnknown); @@ -644,77 +644,77 @@ impl IDxcPdbUtils { (windows_core::Interface::vtable(self).Load)(windows_core::Interface::as_raw(self), ppdbordxil.param().abi()).ok() } pub unsafe fn GetSourceCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSource(&self, uindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSource)(windows_core::Interface::as_raw(self), uindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceName(&self, uindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceName)(windows_core::Interface::as_raw(self), uindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFlagCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlagCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFlag(&self, uindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlag)(windows_core::Interface::as_raw(self), uindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetArgCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetArgCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetArg(&self, uindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetArg)(windows_core::Interface::as_raw(self), uindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetArgPairCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetArgPairCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetArgPair(&self, uindex: u32, pname: *mut windows_core::BSTR, pvalue: *mut windows_core::BSTR) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefineCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDefine(&self, uindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefine)(windows_core::Interface::as_raw(self), uindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTargetProfile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetProfile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEntryPoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntryPoint)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMainFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMainFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHash(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHash)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsFullPDB(&self) -> super::super::super::Foundation::BOOL { (windows_core::Interface::vtable(self).IsFullPDB)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetFullPDB(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFullPDB)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVersionInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCompiler(&self, pcompiler: P0) -> windows_core::Result<()> @@ -724,7 +724,7 @@ impl IDxcPdbUtils { (windows_core::Interface::vtable(self).SetCompiler)(windows_core::Interface::as_raw(self), pcompiler.param().abi()).ok() } pub unsafe fn CompileForFullPDB(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompileForFullPDB)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OverrideArgs(&self, pargpairs: *const DxcArgPair, unumargpairs: u32) -> windows_core::Result<()> { @@ -743,20 +743,20 @@ pub struct IDxcPdbUtils_Vtbl { pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSourceCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetFlagCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetFlag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFlag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetArgCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetArg: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetArg: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetArgPairCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetArgPair: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetArgPair: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDefineCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetDefine: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetTargetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetEntryPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetMainFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefine: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTargetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEntryPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMainFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsFullPDB: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::super::Foundation::BOOL, pub GetFullPDB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -769,7 +769,7 @@ windows_core::imp::define_interface!(IDxcResult, IDxcResult_Vtbl, 0x58346cda_dde impl std::ops::Deref for IDxcResult { type Target = IDxcOperationResult; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcResult, windows_core::IUnknown, IDxcOperationResult); @@ -806,7 +806,7 @@ windows_core::imp::define_interface!(IDxcUtils, IDxcUtils_Vtbl, 0x4605c4cb_2019_ impl std::ops::Deref for IDxcUtils { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcUtils, windows_core::IUnknown); @@ -815,11 +815,11 @@ impl IDxcUtils { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlobFromBlob)(windows_core::Interface::as_raw(self), pblob.param().abi(), offset, length, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlobFromPinned)(windows_core::Interface::as_raw(self), pdata, size, codepage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -827,18 +827,18 @@ impl IDxcUtils { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveToBlob)(windows_core::Interface::as_raw(self), pdata, pimalloc.param().abi(), size, codepage, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlob)(windows_core::Interface::as_raw(self), pdata, size, codepage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoadFile(&self, pfilename: P0, pcodepage: Option<*const DXC_CP>) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadFile)(windows_core::Interface::as_raw(self), pfilename.param().abi(), core::mem::transmute(pcodepage.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -846,25 +846,25 @@ impl IDxcUtils { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateReadOnlyStreamFromBlob)(windows_core::Interface::as_raw(self), pblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDefaultIncludeHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDefaultIncludeHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBlobAsUtf8(&self, pblob: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBlobAsUtf8)(windows_core::Interface::as_raw(self), pblob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBlobAsUtf16(&self, pblob: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBlobAsUtf16)(windows_core::Interface::as_raw(self), pblob.param().abi(), &mut result__).and_then(|| windows_core::Type::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<()> { @@ -879,7 +879,7 @@ impl IDxcUtils { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BuildArguments)(windows_core::Interface::as_raw(self), psourcename.param().abi(), pentrypoint.param().abi(), ptargetprofile.param().abi(), core::mem::transmute(parguments.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), parguments.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(pdefines.as_ptr()), pdefines.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPDBContents(&self, ppdbblob: P0, pphash: *mut Option, ppcontainer: *mut Option) -> windows_core::Result<()> @@ -916,7 +916,7 @@ windows_core::imp::define_interface!(IDxcValidator, IDxcValidator_Vtbl, 0xa6e82b impl std::ops::Deref for IDxcValidator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcValidator, windows_core::IUnknown); @@ -925,7 +925,7 @@ impl IDxcValidator { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Validate)(windows_core::Interface::as_raw(self), pshader.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -938,7 +938,7 @@ windows_core::imp::define_interface!(IDxcValidator2, IDxcValidator2_Vtbl, 0x458e impl std::ops::Deref for IDxcValidator2 { type Target = IDxcValidator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcValidator2, windows_core::IUnknown, IDxcValidator); @@ -947,7 +947,7 @@ impl IDxcValidator2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValidateWithDebug)(windows_core::Interface::as_raw(self), pshader.param().abi(), flags, core::mem::transmute(poptdebugbitcode.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -960,7 +960,7 @@ windows_core::imp::define_interface!(IDxcVersionInfo, IDxcVersionInfo_Vtbl, 0xb0 impl std::ops::Deref for IDxcVersionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcVersionInfo, windows_core::IUnknown); @@ -969,7 +969,7 @@ impl IDxcVersionInfo { (windows_core::Interface::vtable(self).GetVersion)(windows_core::Interface::as_raw(self), pmajor, pminor).ok() } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -983,7 +983,7 @@ windows_core::imp::define_interface!(IDxcVersionInfo2, IDxcVersionInfo2_Vtbl, 0x impl std::ops::Deref for IDxcVersionInfo2 { type Target = IDxcVersionInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcVersionInfo2, windows_core::IUnknown, IDxcVersionInfo); @@ -1001,13 +1001,13 @@ windows_core::imp::define_interface!(IDxcVersionInfo3, IDxcVersionInfo3_Vtbl, 0x impl std::ops::Deref for IDxcVersionInfo3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDxcVersionInfo3, windows_core::IUnknown); impl IDxcVersionInfo3 { pub unsafe fn GetCustomVersionString(&self) -> windows_core::Result<*mut i8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomVersionString)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 b2ace81f42..70625a954c 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 @@ -34,27 +34,27 @@ where #[inline] pub unsafe fn D3DCompressShaders(pshaderdata: &[D3D_SHADER_DATA], uflags: u32) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DCompressShaders(pshaderdata.len().try_into().unwrap(), core::mem::transmute(pshaderdata.as_ptr()), uflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn D3DCreateBlob(size: usize) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DCreateBlob(size : usize, ppblob : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DCreateBlob(size, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D11")] #[inline] pub unsafe fn D3DCreateFunctionLinkingGraph(uflags: u32) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DCreateFunctionLinkingGraph(uflags : u32, ppfunctionlinkinggraph : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DCreateFunctionLinkingGraph(uflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D11")] #[inline] pub unsafe fn D3DCreateLinker() -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DCreateLinker(pplinker : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DCreateLinker(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -68,7 +68,7 @@ where P0: windows_core::Param, { windows_targets::link!("d3dcompiler_47.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DDisassemble(psrcdata, srcdatasize, flags, szcomments.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D10")] @@ -78,7 +78,7 @@ where P0: windows_core::Param, { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DDisassemble10Effect(peffect : * mut core::ffi::c_void, flags : u32, ppdisassembly : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DDisassemble10Effect(peffect.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -92,31 +92,31 @@ where #[inline] pub unsafe fn D3DGetBlobPart(psrcdata: *const core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DGetBlobPart(psrcdata, srcdatasize, part, flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn D3DGetDebugInfo(psrcdata: *const core::ffi::c_void, srcdatasize: usize) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DGetDebugInfo(psrcdata : *const core::ffi::c_void, srcdatasize : usize, ppdebuginfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DGetDebugInfo(psrcdata, srcdatasize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn D3DGetInputAndOutputSignatureBlob(psrcdata: *const core::ffi::c_void, srcdatasize: usize) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DGetInputAndOutputSignatureBlob(psrcdata : *const core::ffi::c_void, srcdatasize : usize, ppsignatureblob : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DGetInputAndOutputSignatureBlob(psrcdata, srcdatasize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn D3DGetInputSignatureBlob(psrcdata: *const core::ffi::c_void, srcdatasize: usize) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DGetInputSignatureBlob(psrcdata : *const core::ffi::c_void, srcdatasize : usize, ppsignatureblob : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DGetInputSignatureBlob(psrcdata, srcdatasize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn D3DGetOutputSignatureBlob(psrcdata: *const core::ffi::c_void, srcdatasize: usize) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DGetOutputSignatureBlob(psrcdata : *const core::ffi::c_void, srcdatasize : usize, ppsignatureblob : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DGetOutputSignatureBlob(psrcdata, srcdatasize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -128,7 +128,7 @@ pub unsafe fn D3DGetTraceInstructionOffsets(psrcdata: *const core::ffi::c_void, #[inline] pub unsafe fn D3DLoadModule(psrcdata: *const core::ffi::c_void, cbsrcdatasize: usize) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DLoadModule(psrcdata : *const core::ffi::c_void, cbsrcdatasize : usize, ppmodule : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DLoadModule(psrcdata, cbsrcdatasize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -146,7 +146,7 @@ where P0: windows_core::Param, { windows_targets::link!("d3dcompiler_47.dll" "system" fn D3DReadFileToBlob(pfilename : windows_core::PCWSTR, ppcontents : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DReadFileToBlob(pfilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -162,13 +162,13 @@ pub unsafe fn D3DReflectLibrary(psrcdata: *const core::ffi::c_void, srcdatasize: #[inline] pub unsafe fn D3DSetBlobPart(psrcdata: *const core::ffi::c_void, srcdatasize: usize, part: D3D_BLOB_PART, flags: u32, ppart: *const core::ffi::c_void, partsize: usize) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DSetBlobPart(psrcdata, srcdatasize, part, flags, ppart, partsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn D3DStripShader(pshaderbytecode: *const core::ffi::c_void, bytecodelength: usize, ustripflags: u32) -> windows_core::Result { windows_targets::link!("d3dcompiler_47.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DStripShader(pshaderbytecode, bytecodelength, ustripflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs index f2d7b4c858..80e36ea5e0 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs @@ -85,7 +85,7 @@ impl ID3DInclude_ImplVtbl { impl ID3DInclude { pub fn new<'a, T: ID3DInclude_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3DInclude_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } 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 f397facfb0..dec38e40fb 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs @@ -6,7 +6,7 @@ windows_core::imp::define_interface!(ID3DBlob, ID3DBlob_Vtbl, 0x8ba5fb08_5195_40 impl std::ops::Deref for ID3DBlob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3DBlob, windows_core::IUnknown); @@ -30,13 +30,13 @@ windows_core::imp::define_interface!(ID3DDestructionNotifier, ID3DDestructionNot impl std::ops::Deref for ID3DDestructionNotifier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterDestructionCallback)(windows_core::Interface::as_raw(self), callbackfn, pdata, &mut result__).map(|| result__) } pub unsafe fn UnregisterDestructionCallback(&self, callbackid: u32) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs index 5860cf9455..6bbbf52586 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs @@ -1164,8 +1164,8 @@ impl ID3D10EffectBlendVariable_ImplVtbl { impl ID3D10EffectBlendVariable { pub fn new<'a, T: ID3D10EffectBlendVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectBlendVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectConstantBuffer_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1225,8 +1225,8 @@ impl ID3D10EffectConstantBuffer_ImplVtbl impl ID3D10EffectConstantBuffer { pub fn new<'a, T: ID3D10EffectConstantBuffer_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectConstantBuffer_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectDepthStencilVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1262,8 +1262,8 @@ impl ID3D10EffectDepthStencilVariable_ impl ID3D10EffectDepthStencilVariable { pub fn new<'a, T: ID3D10EffectDepthStencilVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectDepthStencilVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectDepthStencilViewVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1317,8 +1317,8 @@ impl ID3D10EffectDepthStencilViewV impl ID3D10EffectDepthStencilViewVariable { pub fn new<'a, T: ID3D10EffectDepthStencilViewVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectDepthStencilViewVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectMatrixVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1394,8 +1394,8 @@ impl ID3D10EffectMatrixVariable_ImplVtbl impl ID3D10EffectMatrixVariable { pub fn new<'a, T: ID3D10EffectMatrixVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectMatrixVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectPass_Impl: Sized { @@ -1477,8 +1477,8 @@ impl ID3D10EffectPass_ImplVtbl { impl ID3D10EffectPass { pub fn new<'a, T: ID3D10EffectPass_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectPass_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectPool_Impl: Sized { @@ -1531,8 +1531,8 @@ impl ID3D10EffectRasterizerVariable_Impl impl ID3D10EffectRasterizerVariable { pub fn new<'a, T: ID3D10EffectRasterizerVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectRasterizerVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectRenderTargetViewVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1586,8 +1586,8 @@ impl ID3D10EffectRenderTargetViewV impl ID3D10EffectRenderTargetViewVariable { pub fn new<'a, T: ID3D10EffectRenderTargetViewVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectRenderTargetViewVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectSamplerVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1623,8 +1623,8 @@ impl ID3D10EffectSamplerVariable_ImplVtbl(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectSamplerVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectScalarVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1746,8 +1746,8 @@ impl ID3D10EffectScalarVariable_ImplVtbl impl ID3D10EffectScalarVariable { pub fn new<'a, T: ID3D10EffectScalarVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectScalarVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectShaderResourceVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1801,8 +1801,8 @@ impl ID3D10EffectShaderResourceVaria impl ID3D10EffectShaderResourceVariable { pub fn new<'a, T: ID3D10EffectShaderResourceVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectShaderResourceVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -1887,8 +1887,8 @@ impl ID3D10EffectShaderVariable_ImplVtbl impl ID3D10EffectShaderVariable { pub fn new<'a, T: ID3D10EffectShaderVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectShaderVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectStringVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1924,8 +1924,8 @@ impl ID3D10EffectStringVariable_ImplVtbl impl ID3D10EffectStringVariable { pub fn new<'a, T: ID3D10EffectStringVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectStringVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectTechnique_Impl: Sized { @@ -1993,8 +1993,8 @@ impl ID3D10EffectTechnique_ImplVtbl { impl ID3D10EffectTechnique { pub fn new<'a, T: ID3D10EffectTechnique_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectTechnique_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -2067,8 +2067,8 @@ impl ID3D10EffectType_ImplVtbl { impl ID3D10EffectType { pub fn new<'a, T: ID3D10EffectType_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectType_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectVariable_Impl: Sized { @@ -2262,8 +2262,8 @@ impl ID3D10EffectVariable_ImplVtbl { impl ID3D10EffectVariable { pub fn new<'a, T: ID3D10EffectVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10EffectVectorVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -2367,8 +2367,8 @@ impl ID3D10EffectVectorVariable_ImplVtbl impl ID3D10EffectVectorVariable { pub fn new<'a, T: ID3D10EffectVectorVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10EffectVectorVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10GeometryShader_Impl: Sized + ID3D10DeviceChild_Impl {} @@ -3074,8 +3074,8 @@ impl ID3D10ShaderReflectionConstan impl ID3D10ShaderReflectionConstantBuffer { pub fn new<'a, T: ID3D10ShaderReflectionConstantBuffer_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10ShaderReflectionConstantBuffer_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -3127,8 +3127,8 @@ impl ID3D10ShaderReflectionType_ImplVtbl impl ID3D10ShaderReflectionType { pub fn new<'a, T: ID3D10ShaderReflectionType_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10ShaderReflectionType_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D10ShaderReflectionVariable_Impl: Sized { @@ -3158,8 +3158,8 @@ impl ID3D10ShaderReflectionVariable_Impl impl ID3D10ShaderReflectionVariable { pub fn new<'a, T: ID3D10ShaderReflectionVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D10ShaderReflectionVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] 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 8e7537bf30..78962a6e5b 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs @@ -24,7 +24,7 @@ where #[inline] pub unsafe fn D3D10CreateBlob(numbytes: usize) -> windows_core::Result { windows_targets::link!("d3d10.dll" "system" fn D3D10CreateBlob(numbytes : usize, ppbuffer : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10CreateBlob(numbytes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi")] @@ -74,7 +74,7 @@ where P1: windows_core::Param, { windows_targets::link!("d3d10.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10CreateEffectFromMemory(pdata, datalength, fxflags, pdevice.param().abi(), peffectpool.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -83,7 +83,7 @@ where P0: windows_core::Param, { windows_targets::link!("d3d10.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10CreateEffectPoolFromMemory(pdata, datalength, fxflags, pdevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -92,7 +92,7 @@ where P0: windows_core::Param, { windows_targets::link!("d3d10.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10CreateStateBlock(pdevice.param().abi(), pstateblockmask, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -103,7 +103,7 @@ where P1: windows_core::Param, { windows_targets::link!("d3d10.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10DisassembleEffect(peffect.param().abi(), enablecolorcode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -114,7 +114,7 @@ where P1: windows_core::Param, { windows_targets::link!("d3d10.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10DisassembleShader(pshader, bytecodelength, enablecolorcode.param().abi(), pcomments.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -129,21 +129,21 @@ where #[inline] pub unsafe fn D3D10GetInputAndOutputSignatureBlob(pshaderbytecode: *const core::ffi::c_void, bytecodelength: usize) -> windows_core::Result { windows_targets::link!("d3d10.dll" "system" fn D3D10GetInputAndOutputSignatureBlob(pshaderbytecode : *const core::ffi::c_void, bytecodelength : usize, ppsignatureblob : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10GetInputAndOutputSignatureBlob(pshaderbytecode, bytecodelength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D")] #[inline] pub unsafe fn D3D10GetInputSignatureBlob(pshaderbytecode: *const core::ffi::c_void, bytecodelength: usize) -> windows_core::Result { windows_targets::link!("d3d10.dll" "system" fn D3D10GetInputSignatureBlob(pshaderbytecode : *const core::ffi::c_void, bytecodelength : usize, ppsignatureblob : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10GetInputSignatureBlob(pshaderbytecode, bytecodelength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D")] #[inline] pub unsafe fn D3D10GetOutputSignatureBlob(pshaderbytecode: *const core::ffi::c_void, bytecodelength: usize) -> windows_core::Result { windows_targets::link!("d3d10.dll" "system" fn D3D10GetOutputSignatureBlob(pshaderbytecode : *const core::ffi::c_void, bytecodelength : usize, ppsignatureblob : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10GetOutputSignatureBlob(pshaderbytecode, bytecodelength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -158,7 +158,7 @@ where #[inline] pub unsafe fn D3D10GetShaderDebugInfo(pshaderbytecode: *const core::ffi::c_void, bytecodelength: usize) -> windows_core::Result { windows_targets::link!("d3d10.dll" "system" fn D3D10GetShaderDebugInfo(pshaderbytecode : *const core::ffi::c_void, bytecodelength : usize, ppdebuginfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10GetShaderDebugInfo(pshaderbytecode, bytecodelength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -182,7 +182,7 @@ where #[inline] pub unsafe fn D3D10ReflectShader(pshaderbytecode: *const core::ffi::c_void, bytecodelength: usize) -> windows_core::Result { windows_targets::link!("d3d10.dll" "system" fn D3D10ReflectShader(pshaderbytecode : *const core::ffi::c_void, bytecodelength : usize, ppreflector : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3D10ReflectShader(pshaderbytecode, bytecodelength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -229,7 +229,7 @@ windows_core::imp::define_interface!(ID3D10Asynchronous, ID3D10Asynchronous_Vtbl impl std::ops::Deref for ID3D10Asynchronous { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Asynchronous, windows_core::IUnknown, ID3D10DeviceChild); @@ -261,7 +261,7 @@ windows_core::imp::define_interface!(ID3D10BlendState, ID3D10BlendState_Vtbl, 0x impl std::ops::Deref for ID3D10BlendState { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10BlendState, windows_core::IUnknown, ID3D10DeviceChild); @@ -281,7 +281,7 @@ windows_core::imp::define_interface!(ID3D10BlendState1, ID3D10BlendState1_Vtbl, impl std::ops::Deref for ID3D10BlendState1 { type Target = ID3D10BlendState; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10BlendState1, windows_core::IUnknown, ID3D10DeviceChild, ID3D10BlendState); @@ -301,7 +301,7 @@ windows_core::imp::define_interface!(ID3D10Buffer, ID3D10Buffer_Vtbl, 0x9b7e4c02 impl std::ops::Deref for ID3D10Buffer { type Target = ID3D10Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Buffer, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); @@ -329,13 +329,13 @@ windows_core::imp::define_interface!(ID3D10Counter, ID3D10Counter_Vtbl, 0x9b7e4c impl std::ops::Deref for ID3D10Counter { type Target = ID3D10Asynchronous; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Counter, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); impl ID3D10Counter { pub unsafe fn GetDesc(&self) -> D3D10_COUNTER_DESC { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -351,7 +351,7 @@ windows_core::imp::define_interface!(ID3D10Debug, ID3D10Debug_Vtbl, 0x9b7e4e01_3 impl std::ops::Deref for ID3D10Debug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Debug, windows_core::IUnknown); @@ -377,7 +377,7 @@ impl ID3D10Debug { } #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetSwapChain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSwapChain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Validate(&self) -> windows_core::Result<()> { @@ -407,7 +407,7 @@ windows_core::imp::define_interface!(ID3D10DepthStencilState, ID3D10DepthStencil impl std::ops::Deref for ID3D10DepthStencilState { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10DepthStencilState, windows_core::IUnknown, ID3D10DeviceChild); @@ -427,7 +427,7 @@ windows_core::imp::define_interface!(ID3D10DepthStencilView, ID3D10DepthStencilV impl std::ops::Deref for ID3D10DepthStencilView { type Target = ID3D10View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10DepthStencilView, windows_core::IUnknown, ID3D10DeviceChild, ID3D10View); @@ -451,7 +451,7 @@ windows_core::imp::define_interface!(ID3D10Device, ID3D10Device_Vtbl, 0x9b7e4c0f impl std::ops::Deref for ID3D10Device { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Device, windows_core::IUnknown); @@ -629,7 +629,7 @@ impl ID3D10Device { (windows_core::Interface::vtable(self).PSGetShaderResources)(windows_core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(ppshaderresourceviews.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))) } pub unsafe fn PSGetShader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PSGetShader)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -637,7 +637,7 @@ impl ID3D10Device { (windows_core::Interface::vtable(self).PSGetSamplers)(windows_core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(ppsamplers.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))) } pub unsafe fn VSGetShader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VSGetShader)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -645,7 +645,7 @@ impl ID3D10Device { (windows_core::Interface::vtable(self).PSGetConstantBuffers)(windows_core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(ppconstantbuffers.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))) } pub unsafe fn IAGetInputLayout(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IAGetInputLayout)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -660,13 +660,13 @@ impl ID3D10Device { (windows_core::Interface::vtable(self).GSGetConstantBuffers)(windows_core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(ppconstantbuffers.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))) } pub unsafe fn GSGetShader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GSGetShader)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn IAGetPrimitiveTopology(&self) -> super::Direct3D::D3D_PRIMITIVE_TOPOLOGY { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IAGetPrimitiveTopology)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -698,7 +698,7 @@ impl ID3D10Device { (windows_core::Interface::vtable(self).SOGetTargets)(windows_core::Interface::as_raw(self), numbuffers, core::mem::transmute(ppsotargets.unwrap_or(std::ptr::null_mut())), core::mem::transmute(poffsets.unwrap_or(std::ptr::null_mut()))) } pub unsafe fn RSGetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RSGetState)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -740,17 +740,17 @@ impl ID3D10Device { } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D10_TEXTURE1D_DESC, pinitialdata: Option<*const D3D10_SUBRESOURCE_DATA>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTexture1D)(windows_core::Interface::as_raw(self), pdesc, core::mem::transmute(pinitialdata.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D10_TEXTURE2D_DESC, pinitialdata: Option<*const D3D10_SUBRESOURCE_DATA>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTexture2D)(windows_core::Interface::as_raw(self), pdesc, core::mem::transmute(pinitialdata.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D10_TEXTURE3D_DESC, pinitialdata: Option<*const D3D10_SUBRESOURCE_DATA>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTexture3D)(windows_core::Interface::as_raw(self), pdesc, core::mem::transmute(pinitialdata.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] @@ -813,16 +813,16 @@ impl ID3D10Device { } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckFormatSupport)(windows_core::Interface::as_raw(self), format, &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckMultisampleQualityLevels)(windows_core::Interface::as_raw(self), format, samplecount, &mut result__).map(|| result__) } pub unsafe fn CheckCounterInfo(&self) -> D3D10_COUNTER_INFO { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckCounterInfo)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -992,7 +992,7 @@ windows_core::imp::define_interface!(ID3D10Device1, ID3D10Device1_Vtbl, 0x9b7e4c impl std::ops::Deref for ID3D10Device1 { type Target = ID3D10Device; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Device1, windows_core::IUnknown, ID3D10Device); @@ -1027,13 +1027,13 @@ windows_core::imp::define_interface!(ID3D10DeviceChild, ID3D10DeviceChild_Vtbl, impl std::ops::Deref for ID3D10DeviceChild { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10DeviceChild, windows_core::IUnknown); impl ID3D10DeviceChild { pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -1064,7 +1064,7 @@ windows_core::imp::define_interface!(ID3D10Effect, ID3D10Effect_Vtbl, 0x51b0ca8b impl std::ops::Deref for ID3D10Effect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Effect, windows_core::IUnknown); @@ -1076,7 +1076,7 @@ impl ID3D10Effect { (windows_core::Interface::vtable(self).IsPool)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDesc(&self, pdesc: *mut D3D10_EFFECT_DESC) -> windows_core::Result<()> { @@ -1145,13 +1145,13 @@ windows_core::imp::define_interface!(ID3D10EffectBlendVariable, ID3D10EffectBlen impl std::ops::Deref for ID3D10EffectBlendVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectBlendVariable, ID3D10EffectVariable); impl ID3D10EffectBlendVariable { pub unsafe fn GetBlendState(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBlendState)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBackingStore(&self, index: u32, pblenddesc: *mut D3D10_BLEND_DESC) -> windows_core::Result<()> { @@ -1170,7 +1170,7 @@ windows_core::imp::define_interface!(ID3D10EffectConstantBuffer, ID3D10EffectCon impl std::ops::Deref for ID3D10EffectConstantBuffer { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectConstantBuffer, ID3D10EffectVariable); @@ -1182,7 +1182,7 @@ impl ID3D10EffectConstantBuffer { (windows_core::Interface::vtable(self).SetConstantBuffer)(windows_core::Interface::as_raw(self), pconstantbuffer.param().abi()).ok() } pub unsafe fn GetConstantBuffer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConstantBuffer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTextureBuffer(&self, ptexturebuffer: P0) -> windows_core::Result<()> @@ -1192,7 +1192,7 @@ impl ID3D10EffectConstantBuffer { (windows_core::Interface::vtable(self).SetTextureBuffer)(windows_core::Interface::as_raw(self), ptexturebuffer.param().abi()).ok() } pub unsafe fn GetTextureBuffer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextureBuffer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1210,13 +1210,13 @@ windows_core::imp::define_interface!(ID3D10EffectDepthStencilVariable, ID3D10Eff impl std::ops::Deref for ID3D10EffectDepthStencilVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectDepthStencilVariable, ID3D10EffectVariable); impl ID3D10EffectDepthStencilVariable { pub unsafe fn GetDepthStencilState(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDepthStencilState)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBackingStore(&self, index: u32, pdepthstencildesc: *mut D3D10_DEPTH_STENCIL_DESC) -> windows_core::Result<()> { @@ -1235,7 +1235,7 @@ windows_core::imp::define_interface!(ID3D10EffectDepthStencilViewVariable, ID3D1 impl std::ops::Deref for ID3D10EffectDepthStencilViewVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectDepthStencilViewVariable, ID3D10EffectVariable); @@ -1247,7 +1247,7 @@ impl ID3D10EffectDepthStencilViewVariable { (windows_core::Interface::vtable(self).SetDepthStencil)(windows_core::Interface::as_raw(self), presource.param().abi()).ok() } pub unsafe fn GetDepthStencil(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDepthStencil)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDepthStencilArray(&self, ppresources: &[Option], offset: u32) -> windows_core::Result<()> { @@ -1271,7 +1271,7 @@ windows_core::imp::define_interface!(ID3D10EffectMatrixVariable, ID3D10EffectMat impl std::ops::Deref for ID3D10EffectMatrixVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectMatrixVariable, ID3D10EffectVariable); @@ -1366,7 +1366,7 @@ windows_core::imp::define_interface!(ID3D10EffectPool, ID3D10EffectPool_Vtbl, 0x impl std::ops::Deref for ID3D10EffectPool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectPool, windows_core::IUnknown); @@ -1386,13 +1386,13 @@ windows_core::imp::define_interface!(ID3D10EffectRasterizerVariable, ID3D10Effec impl std::ops::Deref for ID3D10EffectRasterizerVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectRasterizerVariable, ID3D10EffectVariable); impl ID3D10EffectRasterizerVariable { pub unsafe fn GetRasterizerState(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRasterizerState)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBackingStore(&self, index: u32, prasterizerdesc: *mut D3D10_RASTERIZER_DESC) -> windows_core::Result<()> { @@ -1411,7 +1411,7 @@ windows_core::imp::define_interface!(ID3D10EffectRenderTargetViewVariable, ID3D1 impl std::ops::Deref for ID3D10EffectRenderTargetViewVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectRenderTargetViewVariable, ID3D10EffectVariable); @@ -1423,7 +1423,7 @@ impl ID3D10EffectRenderTargetViewVariable { (windows_core::Interface::vtable(self).SetRenderTarget)(windows_core::Interface::as_raw(self), presource.param().abi()).ok() } pub unsafe fn GetRenderTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRenderTargetArray(&self, ppresources: &[Option], offset: u32) -> windows_core::Result<()> { @@ -1447,13 +1447,13 @@ windows_core::imp::define_interface!(ID3D10EffectSamplerVariable, ID3D10EffectSa impl std::ops::Deref for ID3D10EffectSamplerVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectSamplerVariable, ID3D10EffectVariable); impl ID3D10EffectSamplerVariable { pub unsafe fn GetSampler(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSampler)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBackingStore(&self, index: u32, psamplerdesc: *mut D3D10_SAMPLER_DESC) -> windows_core::Result<()> { @@ -1472,7 +1472,7 @@ windows_core::imp::define_interface!(ID3D10EffectScalarVariable, ID3D10EffectSca impl std::ops::Deref for ID3D10EffectScalarVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectScalarVariable, ID3D10EffectVariable); @@ -1481,7 +1481,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFloat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFloatArray(&self, pdata: &[f32], offset: u32) -> windows_core::Result<()> { @@ -1494,7 +1494,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInt)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIntArray(&self, pdata: &[i32], offset: u32) -> windows_core::Result<()> { @@ -1510,7 +1510,7 @@ impl ID3D10EffectScalarVariable { (windows_core::Interface::vtable(self).SetBool)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn GetBool(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBool)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBoolArray(&self, pdata: &[super::super::Foundation::BOOL], offset: u32) -> windows_core::Result<()> { @@ -1542,7 +1542,7 @@ windows_core::imp::define_interface!(ID3D10EffectShaderResourceVariable, ID3D10E impl std::ops::Deref for ID3D10EffectShaderResourceVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectShaderResourceVariable, ID3D10EffectVariable); @@ -1554,7 +1554,7 @@ impl ID3D10EffectShaderResourceVariable { (windows_core::Interface::vtable(self).SetResource)(windows_core::Interface::as_raw(self), presource.param().abi()).ok() } pub unsafe fn GetResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetResourceArray(&self, ppresources: &[Option], offset: u32) -> windows_core::Result<()> { @@ -1578,7 +1578,7 @@ windows_core::imp::define_interface!(ID3D10EffectShaderVariable, ID3D10EffectSha impl std::ops::Deref for ID3D10EffectShaderVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectShaderVariable, ID3D10EffectVariable); @@ -1587,15 +1587,15 @@ impl ID3D10EffectShaderVariable { (windows_core::Interface::vtable(self).GetShaderDesc)(windows_core::Interface::as_raw(self), shaderindex, pdesc).ok() } pub unsafe fn GetVertexShader(&self, shaderindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVertexShader)(windows_core::Interface::as_raw(self), shaderindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetGeometryShader(&self, shaderindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGeometryShader)(windows_core::Interface::as_raw(self), shaderindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPixelShader(&self, shaderindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPixelShader)(windows_core::Interface::as_raw(self), shaderindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -1629,13 +1629,13 @@ windows_core::imp::define_interface!(ID3D10EffectStringVariable, ID3D10EffectStr impl std::ops::Deref for ID3D10EffectStringVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectStringVariable, ID3D10EffectVariable); impl ID3D10EffectStringVariable { pub unsafe fn GetString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetString)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStringArray(&self, ppstrings: &mut [windows_core::PCSTR], offset: u32) -> windows_core::Result<()> { @@ -1859,7 +1859,7 @@ windows_core::imp::define_interface!(ID3D10EffectVectorVariable, ID3D10EffectVec impl std::ops::Deref for ID3D10EffectVectorVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10EffectVectorVariable, ID3D10EffectVariable); @@ -1923,7 +1923,7 @@ windows_core::imp::define_interface!(ID3D10GeometryShader, ID3D10GeometryShader_ impl std::ops::Deref for ID3D10GeometryShader { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10GeometryShader, windows_core::IUnknown, ID3D10DeviceChild); @@ -1938,7 +1938,7 @@ windows_core::imp::define_interface!(ID3D10InfoQueue, ID3D10InfoQueue_Vtbl, 0x1b impl std::ops::Deref for ID3D10InfoQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10InfoQueue, windows_core::IUnknown); @@ -2112,7 +2112,7 @@ windows_core::imp::define_interface!(ID3D10InputLayout, ID3D10InputLayout_Vtbl, impl std::ops::Deref for ID3D10InputLayout { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10InputLayout, windows_core::IUnknown, ID3D10DeviceChild); @@ -2127,7 +2127,7 @@ windows_core::imp::define_interface!(ID3D10Multithread, ID3D10Multithread_Vtbl, impl std::ops::Deref for ID3D10Multithread { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Multithread, windows_core::IUnknown); @@ -2162,7 +2162,7 @@ windows_core::imp::define_interface!(ID3D10PixelShader, ID3D10PixelShader_Vtbl, impl std::ops::Deref for ID3D10PixelShader { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10PixelShader, windows_core::IUnknown, ID3D10DeviceChild); @@ -2177,7 +2177,7 @@ windows_core::imp::define_interface!(ID3D10Predicate, ID3D10Predicate_Vtbl, 0x9b impl std::ops::Deref for ID3D10Predicate { type Target = ID3D10Query; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Predicate, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous, ID3D10Query); @@ -2192,13 +2192,13 @@ windows_core::imp::define_interface!(ID3D10Query, ID3D10Query_Vtbl, 0x9b7e4c0e_3 impl std::ops::Deref for ID3D10Query { type Target = ID3D10Asynchronous; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Query, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); impl ID3D10Query { pub unsafe fn GetDesc(&self) -> D3D10_QUERY_DESC { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -2214,7 +2214,7 @@ windows_core::imp::define_interface!(ID3D10RasterizerState, ID3D10RasterizerStat impl std::ops::Deref for ID3D10RasterizerState { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10RasterizerState, windows_core::IUnknown, ID3D10DeviceChild); @@ -2234,7 +2234,7 @@ windows_core::imp::define_interface!(ID3D10RenderTargetView, ID3D10RenderTargetV impl std::ops::Deref for ID3D10RenderTargetView { type Target = ID3D10View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10RenderTargetView, windows_core::IUnknown, ID3D10DeviceChild, ID3D10View); @@ -2258,13 +2258,13 @@ windows_core::imp::define_interface!(ID3D10Resource, ID3D10Resource_Vtbl, 0x9b7e impl std::ops::Deref for ID3D10Resource { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Resource, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10Resource { pub unsafe fn GetType(&self) -> D3D10_RESOURCE_DIMENSION { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -2288,7 +2288,7 @@ windows_core::imp::define_interface!(ID3D10SamplerState, ID3D10SamplerState_Vtbl impl std::ops::Deref for ID3D10SamplerState { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10SamplerState, windows_core::IUnknown, ID3D10DeviceChild); @@ -2308,7 +2308,7 @@ windows_core::imp::define_interface!(ID3D10ShaderReflection, ID3D10ShaderReflect impl std::ops::Deref for ID3D10ShaderReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10ShaderReflection, windows_core::IUnknown); @@ -2367,7 +2367,7 @@ windows_core::imp::define_interface!(ID3D10ShaderReflection1, ID3D10ShaderReflec impl std::ops::Deref for ID3D10ShaderReflection1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10ShaderReflection1, windows_core::IUnknown); @@ -2411,32 +2411,32 @@ impl ID3D10ShaderReflection1 { (windows_core::Interface::vtable(self).GetResourceBindingDescByName)(windows_core::Interface::as_raw(self), name.param().abi(), pdesc).ok() } pub unsafe fn GetMovInstructionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMovInstructionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMovcInstructionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMovcInstructionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConversionInstructionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConversionInstructionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBitwiseInstructionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitwiseInstructionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetGSInputPrimitive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGSInputPrimitive)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLevel9Shader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLevel9Shader)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSampleFrequencyShader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSampleFrequencyShader)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2557,7 +2557,7 @@ windows_core::imp::define_interface!(ID3D10ShaderResourceView, ID3D10ShaderResou impl std::ops::Deref for ID3D10ShaderResourceView { type Target = ID3D10View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10ShaderResourceView, windows_core::IUnknown, ID3D10DeviceChild, ID3D10View); @@ -2581,7 +2581,7 @@ windows_core::imp::define_interface!(ID3D10ShaderResourceView1, ID3D10ShaderReso impl std::ops::Deref for ID3D10ShaderResourceView1 { type Target = ID3D10ShaderResourceView; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10ShaderResourceView1, windows_core::IUnknown, ID3D10DeviceChild, ID3D10View, ID3D10ShaderResourceView); @@ -2605,7 +2605,7 @@ windows_core::imp::define_interface!(ID3D10StateBlock, ID3D10StateBlock_Vtbl, 0x impl std::ops::Deref for ID3D10StateBlock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10StateBlock, windows_core::IUnknown); @@ -2620,7 +2620,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2638,7 +2638,7 @@ windows_core::imp::define_interface!(ID3D10SwitchToRef, ID3D10SwitchToRef_Vtbl, impl std::ops::Deref for ID3D10SwitchToRef { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10SwitchToRef, windows_core::IUnknown); @@ -2665,7 +2665,7 @@ windows_core::imp::define_interface!(ID3D10Texture1D, ID3D10Texture1D_Vtbl, 0x9b impl std::ops::Deref for ID3D10Texture1D { type Target = ID3D10Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Texture1D, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); @@ -2697,13 +2697,13 @@ windows_core::imp::define_interface!(ID3D10Texture2D, ID3D10Texture2D_Vtbl, 0x9b impl std::ops::Deref for ID3D10Texture2D { type Target = ID3D10Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Texture2D, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ID3D10Texture2D { pub unsafe fn Map(&self, subresource: u32, maptype: D3D10_MAP, mapflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Map)(windows_core::Interface::as_raw(self), subresource, maptype, mapflags, &mut result__).map(|| result__) } pub unsafe fn Unmap(&self, subresource: u32) { @@ -2730,13 +2730,13 @@ windows_core::imp::define_interface!(ID3D10Texture3D, ID3D10Texture3D_Vtbl, 0x9b impl std::ops::Deref for ID3D10Texture3D { type Target = ID3D10Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10Texture3D, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ID3D10Texture3D { pub unsafe fn Map(&self, subresource: u32, maptype: D3D10_MAP, mapflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Map)(windows_core::Interface::as_raw(self), subresource, maptype, mapflags, &mut result__).map(|| result__) } pub unsafe fn Unmap(&self, subresource: u32) { @@ -2763,7 +2763,7 @@ windows_core::imp::define_interface!(ID3D10VertexShader, ID3D10VertexShader_Vtbl impl std::ops::Deref for ID3D10VertexShader { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10VertexShader, windows_core::IUnknown, ID3D10DeviceChild); @@ -2778,13 +2778,13 @@ windows_core::imp::define_interface!(ID3D10View, ID3D10View_Vtbl, 0xc902b03f_60a impl std::ops::Deref for ID3D10View { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D10View, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10View { pub unsafe fn GetResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResource)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -4790,7 +4790,7 @@ impl Default for D3D10_PASS_DESC { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct D3D10_PASS_SHADER_DESC { - pub pShaderVariable: std::mem::ManuallyDrop>, + pub pShaderVariable: core::mem::ManuallyDrop>, pub ShaderIndex: u32, } impl Clone for D3D10_PASS_SHADER_DESC { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs index 65fdb0197c..6587e828fc 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs @@ -2297,8 +2297,8 @@ impl ID3D11FunctionParameterReflectio impl ID3D11FunctionParameterReflection { pub fn new<'a, T: ID3D11FunctionParameterReflection_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D11FunctionParameterReflection_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -2371,8 +2371,8 @@ impl ID3D11FunctionReflection_ImplVtbl { impl ID3D11FunctionReflection { pub fn new<'a, T: ID3D11FunctionReflection_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D11FunctionReflection_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D11GeometryShader_Impl: Sized + ID3D11DeviceChild_Impl {} @@ -3313,8 +3313,8 @@ impl ID3D11ShaderReflectionConstan impl ID3D11ShaderReflectionConstantBuffer { pub fn new<'a, T: ID3D11ShaderReflectionConstantBuffer_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D11ShaderReflectionConstantBuffer_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -3415,8 +3415,8 @@ impl ID3D11ShaderReflectionType_ImplVtbl impl ID3D11ShaderReflectionType { pub fn new<'a, T: ID3D11ShaderReflectionType_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D11ShaderReflectionType_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D11ShaderReflectionVariable_Impl: Sized { @@ -3458,8 +3458,8 @@ impl ID3D11ShaderReflectionVariable_Impl impl ID3D11ShaderReflectionVariable { pub fn new<'a, T: ID3D11ShaderReflectionVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D11ShaderReflectionVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] 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 ea7a6bd4ef..2abde74d34 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -39,7 +39,7 @@ where P0: windows_core::Param, { windows_targets::link!("d3dcompiler_47.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DDisassemble11Trace(psrcdata, srcdatasize, ptrace.param().abi(), startstep, numsteps, flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -104,7 +104,7 @@ where P0: windows_core::Param, { windows_targets::link!("d3dcsx.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DX11CreateScan(pdevicecontext.param().abi(), maxelementscansize, maxscancount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -113,14 +113,14 @@ where P0: windows_core::Param, { windows_targets::link!("d3dcsx.dll" "system" fn D3DX11CreateSegmentedScan(pdevicecontext : * mut core::ffi::c_void, maxelementscansize : u32, ppscan : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); D3DX11CreateSegmentedScan(pdevicecontext.param().abi(), maxelementscansize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(ID3D11Asynchronous, ID3D11Asynchronous_Vtbl, 0x4b35d0cd_1e15_4258_9c98_1b1333f6dd3b); impl std::ops::Deref for ID3D11Asynchronous { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Asynchronous, windows_core::IUnknown, ID3D11DeviceChild); @@ -140,20 +140,20 @@ windows_core::imp::define_interface!(ID3D11AuthenticatedChannel, ID3D11Authentic impl std::ops::Deref for ID3D11AuthenticatedChannel { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11AuthenticatedChannel, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11AuthenticatedChannel { pub unsafe fn GetCertificateSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCertificate(&self, pcertificate: &mut [u8]) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCertificate)(windows_core::Interface::as_raw(self), pcertificate.len().try_into().unwrap(), core::mem::transmute(pcertificate.as_ptr())).ok() } pub unsafe fn GetChannelHandle(&self) -> super::super::Foundation::HANDLE { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelHandle)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -171,7 +171,7 @@ windows_core::imp::define_interface!(ID3D11BlendState, ID3D11BlendState_Vtbl, 0x impl std::ops::Deref for ID3D11BlendState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11BlendState, windows_core::IUnknown, ID3D11DeviceChild); @@ -191,7 +191,7 @@ windows_core::imp::define_interface!(ID3D11BlendState1, ID3D11BlendState1_Vtbl, impl std::ops::Deref for ID3D11BlendState1 { type Target = ID3D11BlendState; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11BlendState1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11BlendState); @@ -211,7 +211,7 @@ windows_core::imp::define_interface!(ID3D11Buffer, ID3D11Buffer_Vtbl, 0x48570b85 impl std::ops::Deref for ID3D11Buffer { type Target = ID3D11Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Buffer, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); @@ -231,13 +231,13 @@ windows_core::imp::define_interface!(ID3D11ClassInstance, ID3D11ClassInstance_Vt impl std::ops::Deref for ID3D11ClassInstance { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11ClassInstance, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11ClassInstance { pub unsafe fn GetClassLinkage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClassLinkage)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -265,7 +265,7 @@ windows_core::imp::define_interface!(ID3D11ClassLinkage, ID3D11ClassLinkage_Vtbl impl std::ops::Deref for ID3D11ClassLinkage { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11ClassLinkage, windows_core::IUnknown, ID3D11DeviceChild); @@ -274,14 +274,14 @@ impl ID3D11ClassLinkage { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClassInstance)(windows_core::Interface::as_raw(self), pclassinstancename.param().abi(), instanceindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateClassInstance(&self, pclasstypename: P0, constantbufferoffset: u32, constantvectoroffset: u32, textureoffset: u32, sampleroffset: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClassInstance)(windows_core::Interface::as_raw(self), pclasstypename.param().abi(), constantbufferoffset, constantvectoroffset, textureoffset, sampleroffset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -297,7 +297,7 @@ windows_core::imp::define_interface!(ID3D11CommandList, ID3D11CommandList_Vtbl, impl std::ops::Deref for ID3D11CommandList { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11CommandList, windows_core::IUnknown, ID3D11DeviceChild); @@ -317,7 +317,7 @@ windows_core::imp::define_interface!(ID3D11ComputeShader, ID3D11ComputeShader_Vt impl std::ops::Deref for ID3D11ComputeShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11ComputeShader, windows_core::IUnknown, ID3D11DeviceChild); @@ -332,13 +332,13 @@ windows_core::imp::define_interface!(ID3D11Counter, ID3D11Counter_Vtbl, 0x6e8c49 impl std::ops::Deref for ID3D11Counter { type Target = ID3D11Asynchronous; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Counter, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); impl ID3D11Counter { pub unsafe fn GetDesc(&self) -> D3D11_COUNTER_DESC { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -354,30 +354,30 @@ windows_core::imp::define_interface!(ID3D11CryptoSession, ID3D11CryptoSession_Vt impl std::ops::Deref for ID3D11CryptoSession { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11CryptoSession, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11CryptoSession { pub unsafe fn GetCryptoType(&self) -> windows_core::GUID { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCryptoType)(windows_core::Interface::as_raw(self), &mut result__); result__ } pub unsafe fn GetDecoderProfile(&self) -> windows_core::GUID { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDecoderProfile)(windows_core::Interface::as_raw(self), &mut result__); result__ } pub unsafe fn GetCertificateSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCertificate(&self, pcertificate: &mut [u8]) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCertificate)(windows_core::Interface::as_raw(self), pcertificate.len().try_into().unwrap(), core::mem::transmute(pcertificate.as_ptr())).ok() } pub unsafe fn GetCryptoSessionHandle(&self) -> super::super::Foundation::HANDLE { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCryptoSessionHandle)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -397,7 +397,7 @@ windows_core::imp::define_interface!(ID3D11Debug, ID3D11Debug_Vtbl, 0x79cf2233_7 impl std::ops::Deref for ID3D11Debug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Debug, windows_core::IUnknown); @@ -423,7 +423,7 @@ impl ID3D11Debug { } #[cfg(feature = "Win32_Graphics_Dxgi")] pub unsafe fn GetSwapChain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSwapChain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ValidateContext(&self, pcontext: P0) -> windows_core::Result<()> @@ -467,7 +467,7 @@ windows_core::imp::define_interface!(ID3D11DepthStencilState, ID3D11DepthStencil impl std::ops::Deref for ID3D11DepthStencilState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11DepthStencilState, windows_core::IUnknown, ID3D11DeviceChild); @@ -487,7 +487,7 @@ windows_core::imp::define_interface!(ID3D11DepthStencilView, ID3D11DepthStencilV impl std::ops::Deref for ID3D11DepthStencilView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11DepthStencilView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); @@ -511,7 +511,7 @@ windows_core::imp::define_interface!(ID3D11Device, ID3D11Device_Vtbl, 0xdb6f6ddb impl std::ops::Deref for ID3D11Device { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Device, windows_core::IUnknown); @@ -618,7 +618,7 @@ impl ID3D11Device { (windows_core::Interface::vtable(self).CreateComputeShader)(windows_core::Interface::as_raw(self), core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len().try_into().unwrap(), pclasslinkage.param().abi(), core::mem::transmute(ppcomputeshader.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn CreateClassLinkage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClassLinkage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC, ppblendstate: Option<*mut Option>) -> windows_core::Result<()> { @@ -654,16 +654,16 @@ impl ID3D11Device { } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckFormatSupport)(windows_core::Interface::as_raw(self), format, &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckMultisampleQualityLevels)(windows_core::Interface::as_raw(self), format, samplecount, &mut result__).map(|| result__) } pub unsafe fn CheckCounterInfo(&self) -> D3D11_COUNTER_INFO { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckCounterInfo)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -696,7 +696,7 @@ impl ID3D11Device { (windows_core::Interface::vtable(self).GetDeviceRemovedReason)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetImmediateContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImmediateContext)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -790,13 +790,13 @@ windows_core::imp::define_interface!(ID3D11Device1, ID3D11Device1_Vtbl, 0xa04bfb impl std::ops::Deref for ID3D11Device1 { type Target = ID3D11Device; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Device1, windows_core::IUnknown, ID3D11Device); impl ID3D11Device1 { pub unsafe fn GetImmediateContext1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImmediateContext1)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -850,13 +850,13 @@ windows_core::imp::define_interface!(ID3D11Device2, ID3D11Device2_Vtbl, 0x9d06df impl std::ops::Deref for ID3D11Device2 { type Target = ID3D11Device1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Device2, windows_core::IUnknown, ID3D11Device, ID3D11Device1); impl ID3D11Device2 { pub unsafe fn GetImmediateContext2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImmediateContext2)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -871,7 +871,7 @@ impl ID3D11Device2 { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckMultisampleQualityLevels1)(windows_core::Interface::as_raw(self), format, samplecount, flags, &mut result__).map(|| result__) } } @@ -892,7 +892,7 @@ windows_core::imp::define_interface!(ID3D11Device3, ID3D11Device3_Vtbl, 0xa05c8c impl std::ops::Deref for ID3D11Device3 { type Target = ID3D11Device2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Device3, windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2); @@ -933,7 +933,7 @@ impl ID3D11Device3 { (windows_core::Interface::vtable(self).CreateQuery1)(windows_core::Interface::as_raw(self), pquerydesc1, core::mem::transmute(ppquery1.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetImmediateContext3(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImmediateContext3)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -989,7 +989,7 @@ windows_core::imp::define_interface!(ID3D11Device4, ID3D11Device4_Vtbl, 0x8992ab impl std::ops::Deref for ID3D11Device4 { type Target = ID3D11Device3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Device4, windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3); @@ -998,7 +998,7 @@ impl ID3D11Device4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterDeviceRemovedEvent)(windows_core::Interface::as_raw(self), hevent.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnregisterDeviceRemoved(&self, dwcookie: u32) { @@ -1017,7 +1017,7 @@ windows_core::imp::define_interface!(ID3D11Device5, ID3D11Device5_Vtbl, 0x8ffde2 impl std::ops::Deref for ID3D11Device5 { type Target = ID3D11Device4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Device5, windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3, ID3D11Device4); @@ -1048,13 +1048,13 @@ windows_core::imp::define_interface!(ID3D11DeviceChild, ID3D11DeviceChild_Vtbl, impl std::ops::Deref for ID3D11DeviceChild { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11DeviceChild, windows_core::IUnknown); impl ID3D11DeviceChild { pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -1085,7 +1085,7 @@ windows_core::imp::define_interface!(ID3D11DeviceContext, ID3D11DeviceContext_Vt impl std::ops::Deref for ID3D11DeviceContext { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11DeviceContext, windows_core::IUnknown, ID3D11DeviceChild); @@ -1418,7 +1418,7 @@ impl ID3D11DeviceContext { (windows_core::Interface::vtable(self).PSGetConstantBuffers)(windows_core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(ppconstantbuffers.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))) } pub unsafe fn IAGetInputLayout(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IAGetInputLayout)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -1437,7 +1437,7 @@ impl ID3D11DeviceContext { } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn IAGetPrimitiveTopology(&self) -> super::Direct3D::D3D_PRIMITIVE_TOPOLOGY { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IAGetPrimitiveTopology)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -1480,7 +1480,7 @@ impl ID3D11DeviceContext { (windows_core::Interface::vtable(self).SOGetTargets)(windows_core::Interface::as_raw(self), ppsotargets.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(ppsotargets.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))) } pub unsafe fn RSGetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RSGetState)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -1681,7 +1681,7 @@ windows_core::imp::define_interface!(ID3D11DeviceContext1, ID3D11DeviceContext1_ impl std::ops::Deref for ID3D11DeviceContext1 { type Target = ID3D11DeviceContext; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11DeviceContext1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext); @@ -1795,7 +1795,7 @@ windows_core::imp::define_interface!(ID3D11DeviceContext2, ID3D11DeviceContext2_ impl std::ops::Deref for ID3D11DeviceContext2 { type Target = ID3D11DeviceContext1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11DeviceContext2, windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1); @@ -1892,7 +1892,7 @@ windows_core::imp::define_interface!(ID3D11DeviceContext3, ID3D11DeviceContext3_ impl std::ops::Deref for ID3D11DeviceContext3 { type Target = ID3D11DeviceContext2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11DeviceContext3, windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2); @@ -1910,7 +1910,7 @@ impl ID3D11DeviceContext3 { (windows_core::Interface::vtable(self).SetHardwareProtectionState)(windows_core::Interface::as_raw(self), hwprotectionenable.param().abi()) } pub unsafe fn GetHardwareProtectionState(&self) -> super::super::Foundation::BOOL { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHardwareProtectionState)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -1928,7 +1928,7 @@ windows_core::imp::define_interface!(ID3D11DeviceContext4, ID3D11DeviceContext4_ impl std::ops::Deref for ID3D11DeviceContext4 { type Target = ID3D11DeviceContext3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11DeviceContext4, windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2, ID3D11DeviceContext3); @@ -1958,7 +1958,7 @@ windows_core::imp::define_interface!(ID3D11DomainShader, ID3D11DomainShader_Vtbl impl std::ops::Deref for ID3D11DomainShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11DomainShader, windows_core::IUnknown, ID3D11DeviceChild); @@ -1973,7 +1973,7 @@ windows_core::imp::define_interface!(ID3D11Fence, ID3D11Fence_Vtbl, 0xaffde9d1_1 impl std::ops::Deref for ID3D11Fence { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Fence, windows_core::IUnknown, ID3D11DeviceChild); @@ -1983,7 +1983,7 @@ impl ID3D11Fence { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSharedHandle)(windows_core::Interface::as_raw(self), core::mem::transmute(pattributes.unwrap_or(std::ptr::null())), dwaccess, lpname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetCompletedValue(&self) -> u64 { @@ -2012,7 +2012,7 @@ windows_core::imp::define_interface!(ID3D11FunctionLinkingGraph, ID3D11FunctionL impl std::ops::Deref for ID3D11FunctionLinkingGraph { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11FunctionLinkingGraph, windows_core::IUnknown); @@ -2023,12 +2023,12 @@ impl ID3D11FunctionLinkingGraph { } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn SetInputSignature(&self, pinputparameters: &[D3D11_PARAMETER_DESC]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetInputSignature)(windows_core::Interface::as_raw(self), core::mem::transmute(pinputparameters.as_ptr()), pinputparameters.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn SetOutputSignature(&self, poutputparameters: &[D3D11_PARAMETER_DESC]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetOutputSignature)(windows_core::Interface::as_raw(self), core::mem::transmute(poutputparameters.as_ptr()), poutputparameters.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CallFunction(&self, pmoduleinstancenamespace: P0, pmodulewithfunctionprototype: P1, pfunctionname: P2) -> windows_core::Result @@ -2037,7 +2037,7 @@ impl ID3D11FunctionLinkingGraph { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallFunction)(windows_core::Interface::as_raw(self), pmoduleinstancenamespace.param().abi(), pmodulewithfunctionprototype.param().abi(), pfunctionname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PassValue(&self, psrcnode: P0, srcparameterindex: i32, pdstnode: P1, dstparameterindex: i32) -> windows_core::Result<()> @@ -2062,7 +2062,7 @@ impl ID3D11FunctionLinkingGraph { } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GenerateHlsl(&self, uflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateHlsl)(windows_core::Interface::as_raw(self), uflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2172,7 +2172,7 @@ windows_core::imp::define_interface!(ID3D11GeometryShader, ID3D11GeometryShader_ impl std::ops::Deref for ID3D11GeometryShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11GeometryShader, windows_core::IUnknown, ID3D11DeviceChild); @@ -2187,7 +2187,7 @@ windows_core::imp::define_interface!(ID3D11HullShader, ID3D11HullShader_Vtbl, 0x impl std::ops::Deref for ID3D11HullShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11HullShader, windows_core::IUnknown, ID3D11DeviceChild); @@ -2202,7 +2202,7 @@ windows_core::imp::define_interface!(ID3D11InfoQueue, ID3D11InfoQueue_Vtbl, 0x65 impl std::ops::Deref for ID3D11InfoQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11InfoQueue, windows_core::IUnknown); @@ -2376,7 +2376,7 @@ windows_core::imp::define_interface!(ID3D11InputLayout, ID3D11InputLayout_Vtbl, impl std::ops::Deref for ID3D11InputLayout { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11InputLayout, windows_core::IUnknown, ID3D11DeviceChild); @@ -2391,13 +2391,13 @@ windows_core::imp::define_interface!(ID3D11LibraryReflection, ID3D11LibraryRefle impl std::ops::Deref for ID3D11LibraryReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11LibraryReflection, windows_core::IUnknown); impl ID3D11LibraryReflection { pub unsafe fn GetDesc(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFunctionByIndex(&self, functionindex: i32) -> Option { @@ -2416,7 +2416,7 @@ windows_core::imp::define_interface!(ID3D11Linker, ID3D11Linker_Vtbl, 0x59a6cd0e impl std::ops::Deref for ID3D11Linker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Linker, windows_core::IUnknown); @@ -2456,7 +2456,7 @@ windows_core::imp::define_interface!(ID3D11LinkingNode, ID3D11LinkingNode_Vtbl, impl std::ops::Deref for ID3D11LinkingNode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11LinkingNode, windows_core::IUnknown); @@ -2471,7 +2471,7 @@ windows_core::imp::define_interface!(ID3D11Module, ID3D11Module_Vtbl, 0xcac701ee impl std::ops::Deref for ID3D11Module { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Module, windows_core::IUnknown); @@ -2480,7 +2480,7 @@ impl ID3D11Module { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), pnamespace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2495,7 +2495,7 @@ windows_core::imp::define_interface!(ID3D11ModuleInstance, ID3D11ModuleInstance_ impl std::ops::Deref for ID3D11ModuleInstance { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11ModuleInstance, windows_core::IUnknown); @@ -2566,7 +2566,7 @@ windows_core::imp::define_interface!(ID3D11Multithread, ID3D11Multithread_Vtbl, impl std::ops::Deref for ID3D11Multithread { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Multithread, windows_core::IUnknown); @@ -2601,7 +2601,7 @@ windows_core::imp::define_interface!(ID3D11PixelShader, ID3D11PixelShader_Vtbl, impl std::ops::Deref for ID3D11PixelShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11PixelShader, windows_core::IUnknown, ID3D11DeviceChild); @@ -2616,7 +2616,7 @@ windows_core::imp::define_interface!(ID3D11Predicate, ID3D11Predicate_Vtbl, 0x9e impl std::ops::Deref for ID3D11Predicate { type Target = ID3D11Query; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Predicate, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); @@ -2631,13 +2631,13 @@ windows_core::imp::define_interface!(ID3D11Query, ID3D11Query_Vtbl, 0xd6c00747_8 impl std::ops::Deref for ID3D11Query { type Target = ID3D11Asynchronous; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Query, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); impl ID3D11Query { pub unsafe fn GetDesc(&self) -> D3D11_QUERY_DESC { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -2653,13 +2653,13 @@ windows_core::imp::define_interface!(ID3D11Query1, ID3D11Query1_Vtbl, 0x631b4766 impl std::ops::Deref for ID3D11Query1 { type Target = ID3D11Query; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Query1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); impl ID3D11Query1 { pub unsafe fn GetDesc1(&self) -> D3D11_QUERY_DESC1 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesc1)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -2675,7 +2675,7 @@ windows_core::imp::define_interface!(ID3D11RasterizerState, ID3D11RasterizerStat impl std::ops::Deref for ID3D11RasterizerState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11RasterizerState, windows_core::IUnknown, ID3D11DeviceChild); @@ -2695,7 +2695,7 @@ windows_core::imp::define_interface!(ID3D11RasterizerState1, ID3D11RasterizerSta impl std::ops::Deref for ID3D11RasterizerState1 { type Target = ID3D11RasterizerState; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11RasterizerState1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState); @@ -2715,7 +2715,7 @@ windows_core::imp::define_interface!(ID3D11RasterizerState2, ID3D11RasterizerSta impl std::ops::Deref for ID3D11RasterizerState2 { type Target = ID3D11RasterizerState1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11RasterizerState2, windows_core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState, ID3D11RasterizerState1); @@ -2735,7 +2735,7 @@ windows_core::imp::define_interface!(ID3D11RefDefaultTrackingOptions, ID3D11RefD impl std::ops::Deref for ID3D11RefDefaultTrackingOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11RefDefaultTrackingOptions, windows_core::IUnknown); @@ -2755,7 +2755,7 @@ windows_core::imp::define_interface!(ID3D11RefTrackingOptions, ID3D11RefTracking impl std::ops::Deref for ID3D11RefTrackingOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11RefTrackingOptions, windows_core::IUnknown); @@ -2775,7 +2775,7 @@ windows_core::imp::define_interface!(ID3D11RenderTargetView, ID3D11RenderTargetV impl std::ops::Deref for ID3D11RenderTargetView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11RenderTargetView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); @@ -2799,7 +2799,7 @@ windows_core::imp::define_interface!(ID3D11RenderTargetView1, ID3D11RenderTarget impl std::ops::Deref for ID3D11RenderTargetView1 { type Target = ID3D11RenderTargetView; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11RenderTargetView1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11RenderTargetView); @@ -2823,13 +2823,13 @@ windows_core::imp::define_interface!(ID3D11Resource, ID3D11Resource_Vtbl, 0xdc8e impl std::ops::Deref for ID3D11Resource { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Resource, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11Resource { pub unsafe fn GetType(&self) -> D3D11_RESOURCE_DIMENSION { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -2853,7 +2853,7 @@ windows_core::imp::define_interface!(ID3D11SamplerState, ID3D11SamplerState_Vtbl impl std::ops::Deref for ID3D11SamplerState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11SamplerState, windows_core::IUnknown, ID3D11DeviceChild); @@ -2873,7 +2873,7 @@ windows_core::imp::define_interface!(ID3D11ShaderReflection, ID3D11ShaderReflect impl std::ops::Deref for ID3D11ShaderReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11ShaderReflection, windows_core::IUnknown); @@ -2944,7 +2944,7 @@ impl ID3D11ShaderReflection { } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetMinFeatureLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinFeatureLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadGroupSize(&self, psizex: Option<*mut u32>, psizey: Option<*mut u32>, psizez: Option<*mut u32>) -> u32 { @@ -3126,7 +3126,7 @@ windows_core::imp::define_interface!(ID3D11ShaderResourceView, ID3D11ShaderResou impl std::ops::Deref for ID3D11ShaderResourceView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11ShaderResourceView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); @@ -3150,7 +3150,7 @@ windows_core::imp::define_interface!(ID3D11ShaderResourceView1, ID3D11ShaderReso impl std::ops::Deref for ID3D11ShaderResourceView1 { type Target = ID3D11ShaderResourceView; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11ShaderResourceView1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11ShaderResourceView); @@ -3174,7 +3174,7 @@ windows_core::imp::define_interface!(ID3D11ShaderTrace, ID3D11ShaderTrace_Vtbl, impl std::ops::Deref for ID3D11ShaderTrace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11ShaderTrace, windows_core::IUnknown); @@ -3222,7 +3222,7 @@ windows_core::imp::define_interface!(ID3D11ShaderTraceFactory, ID3D11ShaderTrace impl std::ops::Deref for ID3D11ShaderTraceFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11ShaderTraceFactory, windows_core::IUnknown); @@ -3231,7 +3231,7 @@ impl ID3D11ShaderTraceFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateShaderTrace)(windows_core::Interface::as_raw(self), pshader.param().abi(), ptracedesc, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3246,7 +3246,7 @@ windows_core::imp::define_interface!(ID3D11SwitchToRef, ID3D11SwitchToRef_Vtbl, impl std::ops::Deref for ID3D11SwitchToRef { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11SwitchToRef, windows_core::IUnknown); @@ -3273,7 +3273,7 @@ windows_core::imp::define_interface!(ID3D11Texture1D, ID3D11Texture1D_Vtbl, 0xf8 impl std::ops::Deref for ID3D11Texture1D { type Target = ID3D11Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Texture1D, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); @@ -3297,7 +3297,7 @@ windows_core::imp::define_interface!(ID3D11Texture2D, ID3D11Texture2D_Vtbl, 0x6f impl std::ops::Deref for ID3D11Texture2D { type Target = ID3D11Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Texture2D, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); @@ -3321,7 +3321,7 @@ windows_core::imp::define_interface!(ID3D11Texture2D1, ID3D11Texture2D1_Vtbl, 0x impl std::ops::Deref for ID3D11Texture2D1 { type Target = ID3D11Texture2D; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Texture2D1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture2D); @@ -3345,7 +3345,7 @@ windows_core::imp::define_interface!(ID3D11Texture3D, ID3D11Texture3D_Vtbl, 0x03 impl std::ops::Deref for ID3D11Texture3D { type Target = ID3D11Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Texture3D, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); @@ -3369,7 +3369,7 @@ windows_core::imp::define_interface!(ID3D11Texture3D1, ID3D11Texture3D1_Vtbl, 0x impl std::ops::Deref for ID3D11Texture3D1 { type Target = ID3D11Texture3D; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11Texture3D1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture3D); @@ -3393,7 +3393,7 @@ windows_core::imp::define_interface!(ID3D11TracingDevice, ID3D11TracingDevice_Vt impl std::ops::Deref for ID3D11TracingDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11TracingDevice, windows_core::IUnknown); @@ -3420,7 +3420,7 @@ windows_core::imp::define_interface!(ID3D11UnorderedAccessView, ID3D11UnorderedA impl std::ops::Deref for ID3D11UnorderedAccessView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11UnorderedAccessView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); @@ -3444,7 +3444,7 @@ windows_core::imp::define_interface!(ID3D11UnorderedAccessView1, ID3D11Unordered impl std::ops::Deref for ID3D11UnorderedAccessView1 { type Target = ID3D11UnorderedAccessView; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11UnorderedAccessView1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11UnorderedAccessView); @@ -3468,7 +3468,7 @@ windows_core::imp::define_interface!(ID3D11VertexShader, ID3D11VertexShader_Vtbl impl std::ops::Deref for ID3D11VertexShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VertexShader, windows_core::IUnknown, ID3D11DeviceChild); @@ -3483,7 +3483,7 @@ windows_core::imp::define_interface!(ID3D11VideoContext, ID3D11VideoContext_Vtbl impl std::ops::Deref for ID3D11VideoContext { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoContext, windows_core::IUnknown, ID3D11DeviceChild); @@ -3587,7 +3587,7 @@ impl ID3D11VideoContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoProcessorGetOutputColorSpace)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), &mut result__); result__ } @@ -3607,7 +3607,7 @@ impl ID3D11VideoContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoProcessorGetOutputStereoMode)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), &mut result__); result__ } @@ -3712,7 +3712,7 @@ impl ID3D11VideoContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoProcessorGetStreamFrameFormat)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), streamindex, &mut result__); result__ } @@ -3720,7 +3720,7 @@ impl ID3D11VideoContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoProcessorGetStreamColorSpace)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), streamindex, &mut result__); result__ } @@ -3778,7 +3778,7 @@ impl ID3D11VideoContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoProcessorGetStreamAutoProcessingMode)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), streamindex, &mut result__); result__ } @@ -3953,7 +3953,7 @@ windows_core::imp::define_interface!(ID3D11VideoContext1, ID3D11VideoContext1_Vt impl std::ops::Deref for ID3D11VideoContext1 { type Target = ID3D11VideoContext; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoContext1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext); @@ -3968,14 +3968,14 @@ impl ID3D11VideoContext1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataForNewHardwareKey)(windows_core::Interface::as_raw(self), pcryptosession.param().abi(), pprivatinputdata.len().try_into().unwrap(), core::mem::transmute(pprivatinputdata.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn CheckCryptoSessionStatus(&self, pcryptosession: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckCryptoSessionStatus)(windows_core::Interface::as_raw(self), pcryptosession.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4011,7 +4011,7 @@ impl ID3D11VideoContext1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoProcessorGetOutputColorSpace1)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), &mut result__); result__ } @@ -4019,7 +4019,7 @@ impl ID3D11VideoContext1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoProcessorGetOutputShaderUsage)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), &mut result__); result__ } @@ -4044,7 +4044,7 @@ impl ID3D11VideoContext1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoProcessorGetStreamColorSpace1)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), streamindex, &mut result__); result__ } @@ -4059,7 +4059,7 @@ impl ID3D11VideoContext1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoProcessorGetBehaviorHints)(windows_core::Interface::as_raw(self), pvideoprocessor.param().abi(), outputwidth, outputheight, outputformat, pstreams.len().try_into().unwrap(), core::mem::transmute(pstreams.as_ptr()), &mut result__).map(|| result__) } } @@ -4108,7 +4108,7 @@ windows_core::imp::define_interface!(ID3D11VideoContext2, ID3D11VideoContext2_Vt impl std::ops::Deref for ID3D11VideoContext2 { type Target = ID3D11VideoContext1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoContext2, windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1); @@ -4168,7 +4168,7 @@ windows_core::imp::define_interface!(ID3D11VideoContext3, ID3D11VideoContext3_Vt impl std::ops::Deref for ID3D11VideoContext3 { type Target = ID3D11VideoContext2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoContext3, windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1, ID3D11VideoContext2); @@ -4199,7 +4199,7 @@ windows_core::imp::define_interface!(ID3D11VideoDecoder, ID3D11VideoDecoder_Vtbl impl std::ops::Deref for ID3D11VideoDecoder { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoDecoder, windows_core::IUnknown, ID3D11DeviceChild); @@ -4209,7 +4209,7 @@ impl ID3D11VideoDecoder { (windows_core::Interface::vtable(self).GetCreationParameters)(windows_core::Interface::as_raw(self), pvideodesc, pconfig).ok() } pub unsafe fn GetDriverHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDriverHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4228,7 +4228,7 @@ windows_core::imp::define_interface!(ID3D11VideoDecoderOutputView, ID3D11VideoDe impl std::ops::Deref for ID3D11VideoDecoderOutputView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoDecoderOutputView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); @@ -4248,29 +4248,29 @@ windows_core::imp::define_interface!(ID3D11VideoDevice, ID3D11VideoDevice_Vtbl, impl std::ops::Deref for ID3D11VideoDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoDevice, windows_core::IUnknown); impl ID3D11VideoDevice { #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVideoDecoder)(windows_core::Interface::as_raw(self), pvideodesc, pconfig, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateVideoProcessor(&self, penum: P0, rateconversionindex: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVideoProcessor)(windows_core::Interface::as_raw(self), penum.param().abi(), rateconversionindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAuthenticatedChannel(&self, channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAuthenticatedChannel)(windows_core::Interface::as_raw(self), channeltype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCryptoSession(&self, pcryptotype: *const windows_core::GUID, pdecoderprofile: Option<*const windows_core::GUID>, pkeyexchangetype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCryptoSession)(windows_core::Interface::as_raw(self), pcryptotype, core::mem::transmute(pdecoderprofile.unwrap_or(std::ptr::null())), pkeyexchangetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateVideoDecoderOutputView(&self, presource: P0, pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC, ppvdovview: Option<*mut Option>) -> windows_core::Result<()> @@ -4295,24 +4295,24 @@ impl ID3D11VideoDevice { } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CreateVideoProcessorEnumerator(&self, pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVideoProcessorEnumerator)(windows_core::Interface::as_raw(self), pdesc, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVideoDecoderProfileCount(&self) -> u32 { (windows_core::Interface::vtable(self).GetVideoDecoderProfileCount)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetVideoDecoderProfile(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoDecoderProfile)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckVideoDecoderFormat)(windows_core::Interface::as_raw(self), pdecoderprofile, format, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetVideoDecoderConfigCount(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoDecoderConfigCount)(windows_core::Interface::as_raw(self), pdesc, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4323,7 +4323,7 @@ impl ID3D11VideoDevice { (windows_core::Interface::vtable(self).GetContentProtectionCaps)(windows_core::Interface::as_raw(self), core::mem::transmute(pcryptotype.unwrap_or(std::ptr::null())), core::mem::transmute(pdecoderprofile.unwrap_or(std::ptr::null())), pcaps).ok() } pub unsafe fn CheckCryptoKeyExchange(&self, pcryptotype: *const windows_core::GUID, pdecoderprofile: Option<*const windows_core::GUID>, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckCryptoKeyExchange)(windows_core::Interface::as_raw(self), pcryptotype, core::mem::transmute(pdecoderprofile.unwrap_or(std::ptr::null())), index, &mut result__).map(|| result__) } pub unsafe fn SetPrivateData(&self, guid: *const windows_core::GUID, datasize: u32, pdata: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { @@ -4378,7 +4378,7 @@ windows_core::imp::define_interface!(ID3D11VideoDevice1, ID3D11VideoDevice1_Vtbl impl std::ops::Deref for ID3D11VideoDevice1 { type Target = ID3D11VideoDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoDevice1, windows_core::IUnknown, ID3D11VideoDevice); @@ -4388,7 +4388,7 @@ impl ID3D11VideoDevice1 { } #[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: Option<*const windows_core::GUID>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoDecoderCaps)(windows_core::Interface::as_raw(self), pdecoderprofile, samplewidth, sampleheight, pframerate, bitrate, core::mem::transmute(pcryptotype.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -4397,7 +4397,7 @@ impl ID3D11VideoDevice1 { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecommendVideoDecoderDownsampleParameters)(windows_core::Interface::as_raw(self), pinputdesc, inputcolorspace, pinputconfig, pframerate, &mut result__).map(|| result__) } } @@ -4424,7 +4424,7 @@ windows_core::imp::define_interface!(ID3D11VideoDevice2, ID3D11VideoDevice2_Vtbl impl std::ops::Deref for ID3D11VideoDevice2 { type Target = ID3D11VideoDevice1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoDevice2, windows_core::IUnknown, ID3D11VideoDevice, ID3D11VideoDevice1); @@ -4451,7 +4451,7 @@ windows_core::imp::define_interface!(ID3D11VideoProcessor, ID3D11VideoProcessor_ impl std::ops::Deref for ID3D11VideoProcessor { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoProcessor, windows_core::IUnknown, ID3D11DeviceChild); @@ -4479,7 +4479,7 @@ windows_core::imp::define_interface!(ID3D11VideoProcessorEnumerator, ID3D11Video impl std::ops::Deref for ID3D11VideoProcessorEnumerator { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator, windows_core::IUnknown, ID3D11DeviceChild); @@ -4490,7 +4490,7 @@ impl ID3D11VideoProcessorEnumerator { } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckVideoProcessorFormat(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckVideoProcessorFormat)(windows_core::Interface::as_raw(self), format, &mut result__).map(|| result__) } pub unsafe fn GetVideoProcessorCaps(&self, pcaps: *mut D3D11_VIDEO_PROCESSOR_CAPS) -> windows_core::Result<()> { @@ -4504,7 +4504,7 @@ impl ID3D11VideoProcessorEnumerator { (windows_core::Interface::vtable(self).GetVideoProcessorCustomRate)(windows_core::Interface::as_raw(self), typeindex, customrateindex, prate).ok() } pub unsafe fn GetVideoProcessorFilterRange(&self, filter: D3D11_VIDEO_PROCESSOR_FILTER) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoProcessorFilterRange)(windows_core::Interface::as_raw(self), filter, &mut result__).map(|| result__) } } @@ -4533,14 +4533,14 @@ windows_core::imp::define_interface!(ID3D11VideoProcessorEnumerator1, ID3D11Vide impl std::ops::Deref for ID3D11VideoProcessorEnumerator1 { type Target = ID3D11VideoProcessorEnumerator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoProcessorEnumerator); impl ID3D11VideoProcessorEnumerator1 { #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckVideoProcessorFormatConversion)(windows_core::Interface::as_raw(self), inputformat, inputcolorspace, outputformat, outputcolorspace, &mut result__).map(|| result__) } } @@ -4558,13 +4558,13 @@ windows_core::imp::define_interface!(ID3D11VideoProcessorInputView, ID3D11VideoP impl std::ops::Deref for ID3D11VideoProcessorInputView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorInputView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ID3D11VideoProcessorInputView { pub unsafe fn GetDesc(&self) -> D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -4580,13 +4580,13 @@ windows_core::imp::define_interface!(ID3D11VideoProcessorOutputView, ID3D11Video impl std::ops::Deref for ID3D11VideoProcessorOutputView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorOutputView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ID3D11VideoProcessorOutputView { pub unsafe fn GetDesc(&self) -> D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -4602,13 +4602,13 @@ windows_core::imp::define_interface!(ID3D11View, ID3D11View_Vtbl, 0x839d1216_bb2 impl std::ops::Deref for ID3D11View { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11View, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11View { pub unsafe fn GetResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResource)(windows_core::Interface::as_raw(self), &mut result__); windows_core::Type::from_abi(result__) } @@ -4624,7 +4624,7 @@ windows_core::imp::define_interface!(ID3DDeviceContextState, ID3DDeviceContextSt impl std::ops::Deref for ID3DDeviceContextState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3DDeviceContextState, windows_core::IUnknown, ID3D11DeviceChild); @@ -4639,7 +4639,7 @@ windows_core::imp::define_interface!(ID3DUserDefinedAnnotation, ID3DUserDefinedA impl std::ops::Deref for ID3DUserDefinedAnnotation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3DUserDefinedAnnotation, windows_core::IUnknown); @@ -4677,7 +4677,7 @@ windows_core::imp::define_interface!(ID3DX11FFT, ID3DX11FFT_Vtbl, 0xb3f7a938_4c9 impl std::ops::Deref for ID3DX11FFT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3DX11FFT, windows_core::IUnknown); @@ -4727,7 +4727,7 @@ windows_core::imp::define_interface!(ID3DX11Scan, ID3DX11Scan_Vtbl, 0x5089b68f_e impl std::ops::Deref for ID3DX11Scan { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3DX11Scan, windows_core::IUnknown); @@ -4763,7 +4763,7 @@ windows_core::imp::define_interface!(ID3DX11SegmentedScan, ID3DX11SegmentedScan_ impl std::ops::Deref for ID3DX11SegmentedScan { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3DX11SegmentedScan, windows_core::IUnknown); @@ -11767,7 +11767,7 @@ impl Default for D3D11_VIDEO_CONTENT_PROTECTION_CAPS { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION { - pub pCryptoSession: std::mem::ManuallyDrop>, + pub pCryptoSession: core::mem::ManuallyDrop>, pub BlobSize: u32, pub pBlob: *mut core::ffi::c_void, pub pKeyInfoId: *mut windows_core::GUID, @@ -12136,10 +12136,10 @@ pub struct D3D11_VIDEO_PROCESSOR_STREAM { pub PastFrames: u32, pub FutureFrames: u32, pub ppPastSurfaces: *mut Option, - pub pInputSurface: std::mem::ManuallyDrop>, + pub pInputSurface: core::mem::ManuallyDrop>, pub ppFutureSurfaces: *mut Option, pub ppPastSurfacesRight: *mut Option, - pub pInputSurfaceRight: std::mem::ManuallyDrop>, + pub pInputSurfaceRight: core::mem::ManuallyDrop>, pub ppFutureSurfacesRight: *mut Option, } impl Clone for D3D11_VIDEO_PROCESSOR_STREAM { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs index e360bbce7d..7c98c13e4c 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs @@ -23,7 +23,7 @@ windows_core::imp::define_interface!(ID3D11On12Device, ID3D11On12Device_Vtbl, 0x impl std::ops::Deref for ID3D11On12Device { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11On12Device, windows_core::IUnknown); @@ -67,7 +67,7 @@ windows_core::imp::define_interface!(ID3D11On12Device1, ID3D11On12Device1_Vtbl, impl std::ops::Deref for ID3D11On12Device1 { type Target = ID3D11On12Device; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11On12Device1, windows_core::IUnknown, ID3D11On12Device); @@ -91,7 +91,7 @@ windows_core::imp::define_interface!(ID3D11On12Device2, ID3D11On12Device2_Vtbl, impl std::ops::Deref for ID3D11On12Device2 { type Target = ID3D11On12Device1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D11On12Device2, windows_core::IUnknown, ID3D11On12Device, ID3D11On12Device1); diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs index eaa39ec5ec..43b507b30a 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs @@ -1747,8 +1747,8 @@ impl ID3D12FunctionParameterReflectio impl ID3D12FunctionParameterReflection { pub fn new<'a, T: ID3D12FunctionParameterReflection_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D12FunctionParameterReflection_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -1821,8 +1821,8 @@ impl ID3D12FunctionReflection_ImplVtbl { impl ID3D12FunctionReflection { pub fn new<'a, T: ID3D12FunctionReflection_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D12FunctionReflection_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] @@ -3576,8 +3576,8 @@ impl ID3D12ShaderReflectionConstan impl ID3D12ShaderReflectionConstantBuffer { pub fn new<'a, T: ID3D12ShaderReflectionConstantBuffer_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D12ShaderReflectionConstantBuffer_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -3678,8 +3678,8 @@ impl ID3D12ShaderReflectionType_ImplVtbl impl ID3D12ShaderReflectionType { pub fn new<'a, T: ID3D12ShaderReflectionType_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D12ShaderReflectionType_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D12ShaderReflectionVariable_Impl: Sized { @@ -3721,8 +3721,8 @@ impl ID3D12ShaderReflectionVariable_Impl impl ID3D12ShaderReflectionVariable { pub fn new<'a, T: ID3D12ShaderReflectionVariable_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ID3D12ShaderReflectionVariable_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ID3D12SharingContract_Impl: Sized { 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 d8203bac80..f01b431897 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs @@ -55,7 +55,7 @@ windows_core::imp::define_interface!(ID3D12CommandAllocator, ID3D12CommandAlloca impl std::ops::Deref for ID3D12CommandAllocator { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12CommandAllocator, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -75,7 +75,7 @@ windows_core::imp::define_interface!(ID3D12CommandList, ID3D12CommandList_Vtbl, impl std::ops::Deref for ID3D12CommandList { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12CommandList, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); @@ -95,7 +95,7 @@ windows_core::imp::define_interface!(ID3D12CommandQueue, ID3D12CommandQueue_Vtbl impl std::ops::Deref for ID3D12CommandQueue { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12CommandQueue, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -151,7 +151,7 @@ impl ID3D12CommandQueue { (windows_core::Interface::vtable(self).Wait)(windows_core::Interface::as_raw(self), pfence.param().abi(), value).ok() } pub unsafe fn GetTimestampFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimestampFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetClockCalibration(&self, pgputimestamp: *mut u64, pcputimestamp: *mut u64) -> windows_core::Result<()> { @@ -184,7 +184,7 @@ windows_core::imp::define_interface!(ID3D12CommandSignature, ID3D12CommandSignat impl std::ops::Deref for ID3D12CommandSignature { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12CommandSignature, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -199,7 +199,7 @@ windows_core::imp::define_interface!(ID3D12Debug, ID3D12Debug_Vtbl, 0x344488b7_6 impl std::ops::Deref for ID3D12Debug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Debug, windows_core::IUnknown); @@ -219,7 +219,7 @@ windows_core::imp::define_interface!(ID3D12Debug1, ID3D12Debug1_Vtbl, 0xaffaa4ca impl std::ops::Deref for ID3D12Debug1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Debug1, windows_core::IUnknown); @@ -253,7 +253,7 @@ windows_core::imp::define_interface!(ID3D12Debug2, ID3D12Debug2_Vtbl, 0x93a665c4 impl std::ops::Deref for ID3D12Debug2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Debug2, windows_core::IUnknown); @@ -273,7 +273,7 @@ windows_core::imp::define_interface!(ID3D12Debug3, ID3D12Debug3_Vtbl, 0x5cf4e58f impl std::ops::Deref for ID3D12Debug3 { type Target = ID3D12Debug; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Debug3, windows_core::IUnknown, ID3D12Debug); @@ -307,7 +307,7 @@ windows_core::imp::define_interface!(ID3D12Debug4, ID3D12Debug4_Vtbl, 0x014b816e impl std::ops::Deref for ID3D12Debug4 { type Target = ID3D12Debug3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Debug4, windows_core::IUnknown, ID3D12Debug, ID3D12Debug3); @@ -327,7 +327,7 @@ windows_core::imp::define_interface!(ID3D12Debug5, ID3D12Debug5_Vtbl, 0x548d6b12 impl std::ops::Deref for ID3D12Debug5 { type Target = ID3D12Debug4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Debug5, windows_core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4); @@ -350,7 +350,7 @@ windows_core::imp::define_interface!(ID3D12Debug6, ID3D12Debug6_Vtbl, 0x82a816d6 impl std::ops::Deref for ID3D12Debug6 { type Target = ID3D12Debug5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Debug6, windows_core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4, ID3D12Debug5); @@ -373,7 +373,7 @@ windows_core::imp::define_interface!(ID3D12DebugCommandList, ID3D12DebugCommandL impl std::ops::Deref for ID3D12DebugCommandList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList, windows_core::IUnknown); @@ -404,7 +404,7 @@ windows_core::imp::define_interface!(ID3D12DebugCommandList1, ID3D12DebugCommand impl std::ops::Deref for ID3D12DebugCommandList1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList1, windows_core::IUnknown); @@ -435,7 +435,7 @@ windows_core::imp::define_interface!(ID3D12DebugCommandList2, ID3D12DebugCommand impl std::ops::Deref for ID3D12DebugCommandList2 { type Target = ID3D12DebugCommandList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList2, windows_core::IUnknown, ID3D12DebugCommandList); @@ -459,7 +459,7 @@ windows_core::imp::define_interface!(ID3D12DebugCommandList3, ID3D12DebugCommand impl std::ops::Deref for ID3D12DebugCommandList3 { type Target = ID3D12DebugCommandList2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList3, windows_core::IUnknown, ID3D12DebugCommandList, ID3D12DebugCommandList2); @@ -489,7 +489,7 @@ windows_core::imp::define_interface!(ID3D12DebugCommandQueue, ID3D12DebugCommand impl std::ops::Deref for ID3D12DebugCommandQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DebugCommandQueue, windows_core::IUnknown); @@ -512,7 +512,7 @@ windows_core::imp::define_interface!(ID3D12DebugCommandQueue1, ID3D12DebugComman impl std::ops::Deref for ID3D12DebugCommandQueue1 { type Target = ID3D12DebugCommandQueue; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DebugCommandQueue1, windows_core::IUnknown, ID3D12DebugCommandQueue); @@ -542,7 +542,7 @@ windows_core::imp::define_interface!(ID3D12DebugDevice, ID3D12DebugDevice_Vtbl, impl std::ops::Deref for ID3D12DebugDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DebugDevice, windows_core::IUnknown); @@ -570,7 +570,7 @@ windows_core::imp::define_interface!(ID3D12DebugDevice1, ID3D12DebugDevice1_Vtbl impl std::ops::Deref for ID3D12DebugDevice1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DebugDevice1, windows_core::IUnknown); @@ -598,7 +598,7 @@ windows_core::imp::define_interface!(ID3D12DebugDevice2, ID3D12DebugDevice2_Vtbl impl std::ops::Deref for ID3D12DebugDevice2 { type Target = ID3D12DebugDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DebugDevice2, windows_core::IUnknown, ID3D12DebugDevice); @@ -622,7 +622,7 @@ windows_core::imp::define_interface!(ID3D12DescriptorHeap, ID3D12DescriptorHeap_ impl std::ops::Deref for ID3D12DescriptorHeap { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DescriptorHeap, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -656,7 +656,7 @@ windows_core::imp::define_interface!(ID3D12Device, ID3D12Device_Vtbl, 0x189819f1 impl std::ops::Deref for ID3D12Device { type Target = ID3D12Object; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device, windows_core::IUnknown, ID3D12Object); @@ -808,7 +808,7 @@ impl ID3D12Device { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSharedHandle)(windows_core::Interface::as_raw(self), pobject.param().abi(), core::mem::transmute(pattributes.unwrap_or(std::ptr::null())), access, name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OpenSharedHandle(&self, nthandle: P0, result__: *mut Option) -> windows_core::Result<()> @@ -822,7 +822,7 @@ impl ID3D12Device { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenSharedHandleByName)(windows_core::Interface::as_raw(self), name.param().abi(), access, &mut result__).map(|| result__) } pub unsafe fn MakeResident(&self, ppobjects: &[Option]) -> windows_core::Result<()> { @@ -956,7 +956,7 @@ windows_core::imp::define_interface!(ID3D12Device1, ID3D12Device1_Vtbl, 0x77acce impl std::ops::Deref for ID3D12Device1 { type Target = ID3D12Device; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device1, windows_core::IUnknown, ID3D12Object, ID3D12Device); @@ -991,7 +991,7 @@ windows_core::imp::define_interface!(ID3D12Device10, ID3D12Device10_Vtbl, 0x517f impl std::ops::Deref for ID3D12Device10 { type Target = ID3D12Device9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device10, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9); @@ -1043,7 +1043,7 @@ windows_core::imp::define_interface!(ID3D12Device11, ID3D12Device11_Vtbl, 0x5405 impl std::ops::Deref for ID3D12Device11 { type Target = ID3D12Device10; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device11, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10); @@ -1063,7 +1063,7 @@ windows_core::imp::define_interface!(ID3D12Device12, ID3D12Device12_Vtbl, 0x5af5 impl std::ops::Deref for ID3D12Device12 { type Target = ID3D12Device11; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device12, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10, ID3D12Device11); @@ -1089,7 +1089,7 @@ windows_core::imp::define_interface!(ID3D12Device13, ID3D12Device13_Vtbl, 0x14ee impl std::ops::Deref for ID3D12Device13 { type Target = ID3D12Device12; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device13, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10, ID3D12Device11, ID3D12Device12); @@ -1113,7 +1113,7 @@ windows_core::imp::define_interface!(ID3D12Device2, ID3D12Device2_Vtbl, 0x30baa4 impl std::ops::Deref for ID3D12Device2 { type Target = ID3D12Device1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device2, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1); @@ -1137,7 +1137,7 @@ windows_core::imp::define_interface!(ID3D12Device3, ID3D12Device3_Vtbl, 0x81dadc impl std::ops::Deref for ID3D12Device3 { type Target = ID3D12Device2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device3, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2); @@ -1177,7 +1177,7 @@ windows_core::imp::define_interface!(ID3D12Device4, ID3D12Device4_Vtbl, 0xe865df impl std::ops::Deref for ID3D12Device4 { type Target = ID3D12Device3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device4, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3); @@ -1251,7 +1251,7 @@ windows_core::imp::define_interface!(ID3D12Device5, ID3D12Device5_Vtbl, 0x8b4f17 impl std::ops::Deref for ID3D12Device5 { type Target = ID3D12Device4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device5, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4); @@ -1316,7 +1316,7 @@ windows_core::imp::define_interface!(ID3D12Device6, ID3D12Device6_Vtbl, 0xc70b22 impl std::ops::Deref for ID3D12Device6 { type Target = ID3D12Device5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device6, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5); @@ -1339,7 +1339,7 @@ windows_core::imp::define_interface!(ID3D12Device7, ID3D12Device7_Vtbl, 0x5c014b impl std::ops::Deref for ID3D12Device7 { type Target = ID3D12Device6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device7, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6); @@ -1372,7 +1372,7 @@ windows_core::imp::define_interface!(ID3D12Device8, ID3D12Device8_Vtbl, 0x9218e6 impl std::ops::Deref for ID3D12Device8 { type Target = ID3D12Device7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device8, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7); @@ -1438,7 +1438,7 @@ windows_core::imp::define_interface!(ID3D12Device9, ID3D12Device9_Vtbl, 0x4c80e9 impl std::ops::Deref for ID3D12Device9 { type Target = ID3D12Device8; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Device9, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8); @@ -1473,7 +1473,7 @@ windows_core::imp::define_interface!(ID3D12DeviceChild, ID3D12DeviceChild_Vtbl, impl std::ops::Deref for ID3D12DeviceChild { type Target = ID3D12Object; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DeviceChild, windows_core::IUnknown, ID3D12Object); @@ -1496,7 +1496,7 @@ windows_core::imp::define_interface!(ID3D12DeviceConfiguration, ID3D12DeviceConf impl std::ops::Deref for ID3D12DeviceConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DeviceConfiguration, windows_core::IUnknown); @@ -1538,7 +1538,7 @@ windows_core::imp::define_interface!(ID3D12DeviceFactory, ID3D12DeviceFactory_Vt impl std::ops::Deref for ID3D12DeviceFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DeviceFactory, windows_core::IUnknown); @@ -1594,17 +1594,17 @@ windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedData, ID3D12Devi impl std::ops::Deref for ID3D12DeviceRemovedExtendedData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData, windows_core::IUnknown); impl ID3D12DeviceRemovedExtendedData { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutoBreadcrumbsOutput)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPageFaultAllocationOutput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageFaultAllocationOutput)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1620,17 +1620,17 @@ windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedData1, ID3D12Dev impl std::ops::Deref for ID3D12DeviceRemovedExtendedData1 { type Target = ID3D12DeviceRemovedExtendedData; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData1, windows_core::IUnknown, ID3D12DeviceRemovedExtendedData); impl ID3D12DeviceRemovedExtendedData1 { pub unsafe fn GetAutoBreadcrumbsOutput1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutoBreadcrumbsOutput1)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPageFaultAllocationOutput1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageFaultAllocationOutput1)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1646,7 +1646,7 @@ windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedData2, ID3D12Dev impl std::ops::Deref for ID3D12DeviceRemovedExtendedData2 { type Target = ID3D12DeviceRemovedExtendedData1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData2, windows_core::IUnknown, ID3D12DeviceRemovedExtendedData, ID3D12DeviceRemovedExtendedData1); @@ -1670,7 +1670,7 @@ windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedDataSettings, ID impl std::ops::Deref for ID3D12DeviceRemovedExtendedDataSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings, windows_core::IUnknown); @@ -1698,7 +1698,7 @@ windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedDataSettings1, I impl std::ops::Deref for ID3D12DeviceRemovedExtendedDataSettings1 { type Target = ID3D12DeviceRemovedExtendedDataSettings; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings1, windows_core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings); @@ -1718,7 +1718,7 @@ windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedDataSettings2, I impl std::ops::Deref for ID3D12DeviceRemovedExtendedDataSettings2 { type Target = ID3D12DeviceRemovedExtendedDataSettings1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings2, windows_core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings, ID3D12DeviceRemovedExtendedDataSettings1); @@ -1741,7 +1741,7 @@ windows_core::imp::define_interface!(ID3D12Fence, ID3D12Fence_Vtbl, 0x0a753dcf_c impl std::ops::Deref for ID3D12Fence { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Fence, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -1772,7 +1772,7 @@ windows_core::imp::define_interface!(ID3D12Fence1, ID3D12Fence1_Vtbl, 0x433685fe impl std::ops::Deref for ID3D12Fence1 { type Target = ID3D12Fence; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Fence1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Fence); @@ -1865,7 +1865,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList, ID3D12GraphicsCo impl std::ops::Deref for ID3D12GraphicsCommandList { type Target = ID3D12CommandList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList); @@ -2166,7 +2166,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList1, ID3D12GraphicsC impl std::ops::Deref for ID3D12GraphicsCommandList1 { type Target = ID3D12GraphicsCommandList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList); @@ -2222,7 +2222,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList2, ID3D12GraphicsC impl std::ops::Deref for ID3D12GraphicsCommandList2 { type Target = ID3D12GraphicsCommandList1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList2, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1); @@ -2242,7 +2242,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList3, ID3D12GraphicsC impl std::ops::Deref for ID3D12GraphicsCommandList3 { type Target = ID3D12GraphicsCommandList2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList3, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2); @@ -2265,7 +2265,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList4, ID3D12GraphicsC impl std::ops::Deref for ID3D12GraphicsCommandList4 { type Target = ID3D12GraphicsCommandList3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList4, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3); @@ -2334,7 +2334,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList5, ID3D12GraphicsC impl std::ops::Deref for ID3D12GraphicsCommandList5 { type Target = ID3D12GraphicsCommandList4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList5, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4); @@ -2361,7 +2361,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList6, ID3D12GraphicsC impl std::ops::Deref for ID3D12GraphicsCommandList6 { type Target = ID3D12GraphicsCommandList5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList6, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5); @@ -2381,7 +2381,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList7, ID3D12GraphicsC impl std::ops::Deref for ID3D12GraphicsCommandList7 { type Target = ID3D12GraphicsCommandList6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList7, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6); @@ -2401,7 +2401,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList8, ID3D12GraphicsC impl std::ops::Deref for ID3D12GraphicsCommandList8 { type Target = ID3D12GraphicsCommandList7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList8, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7); @@ -2421,7 +2421,7 @@ windows_core::imp::define_interface!(ID3D12GraphicsCommandList9, ID3D12GraphicsC impl std::ops::Deref for ID3D12GraphicsCommandList9 { type Target = ID3D12GraphicsCommandList8; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList9, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7, ID3D12GraphicsCommandList8); @@ -2445,7 +2445,7 @@ windows_core::imp::define_interface!(ID3D12Heap, ID3D12Heap_Vtbl, 0x6b3b2502_6e5 impl std::ops::Deref for ID3D12Heap { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Heap, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -2467,7 +2467,7 @@ windows_core::imp::define_interface!(ID3D12Heap1, ID3D12Heap1_Vtbl, 0x572f7389_2 impl std::ops::Deref for ID3D12Heap1 { type Target = ID3D12Heap; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Heap1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Heap); @@ -2490,7 +2490,7 @@ windows_core::imp::define_interface!(ID3D12InfoQueue, ID3D12InfoQueue_Vtbl, 0x07 impl std::ops::Deref for ID3D12InfoQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12InfoQueue, windows_core::IUnknown); @@ -2664,7 +2664,7 @@ windows_core::imp::define_interface!(ID3D12InfoQueue1, ID3D12InfoQueue1_Vtbl, 0x impl std::ops::Deref for ID3D12InfoQueue1 { type Target = ID3D12InfoQueue; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12InfoQueue1, windows_core::IUnknown, ID3D12InfoQueue); @@ -2688,13 +2688,13 @@ windows_core::imp::define_interface!(ID3D12LibraryReflection, ID3D12LibraryRefle impl std::ops::Deref for ID3D12LibraryReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12LibraryReflection, windows_core::IUnknown); impl ID3D12LibraryReflection { pub unsafe fn GetDesc(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFunctionByIndex(&self, functionindex: i32) -> Option { @@ -2713,7 +2713,7 @@ windows_core::imp::define_interface!(ID3D12LifetimeOwner, ID3D12LifetimeOwner_Vt impl std::ops::Deref for ID3D12LifetimeOwner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12LifetimeOwner, windows_core::IUnknown); @@ -2733,7 +2733,7 @@ windows_core::imp::define_interface!(ID3D12LifetimeTracker, ID3D12LifetimeTracke impl std::ops::Deref for ID3D12LifetimeTracker { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12LifetimeTracker, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); @@ -2756,7 +2756,7 @@ windows_core::imp::define_interface!(ID3D12ManualWriteTrackingResource, ID3D12Ma impl std::ops::Deref for ID3D12ManualWriteTrackingResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12ManualWriteTrackingResource, windows_core::IUnknown); @@ -2776,7 +2776,7 @@ windows_core::imp::define_interface!(ID3D12MetaCommand, ID3D12MetaCommand_Vtbl, impl std::ops::Deref for ID3D12MetaCommand { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12MetaCommand, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -2796,7 +2796,7 @@ windows_core::imp::define_interface!(ID3D12Object, ID3D12Object_Vtbl, 0xc4fec28f impl std::ops::Deref for ID3D12Object { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Object, windows_core::IUnknown); @@ -2834,7 +2834,7 @@ windows_core::imp::define_interface!(ID3D12Pageable, ID3D12Pageable_Vtbl, 0x63ee impl std::ops::Deref for ID3D12Pageable { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Pageable, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); @@ -2849,7 +2849,7 @@ windows_core::imp::define_interface!(ID3D12PipelineLibrary, ID3D12PipelineLibrar impl std::ops::Deref for ID3D12PipelineLibrary { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12PipelineLibrary, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); @@ -2903,7 +2903,7 @@ windows_core::imp::define_interface!(ID3D12PipelineLibrary1, ID3D12PipelineLibra impl std::ops::Deref for ID3D12PipelineLibrary1 { type Target = ID3D12PipelineLibrary; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12PipelineLibrary1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12PipelineLibrary); @@ -2928,14 +2928,14 @@ windows_core::imp::define_interface!(ID3D12PipelineState, ID3D12PipelineState_Vt impl std::ops::Deref for ID3D12PipelineState { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12PipelineState, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12PipelineState { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetCachedBlob(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedBlob)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2953,7 +2953,7 @@ windows_core::imp::define_interface!(ID3D12ProtectedResourceSession, ID3D12Prote impl std::ops::Deref for ID3D12ProtectedResourceSession { type Target = ID3D12ProtectedSession; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12ProtectedResourceSession, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession); @@ -2975,7 +2975,7 @@ windows_core::imp::define_interface!(ID3D12ProtectedResourceSession1, ID3D12Prot impl std::ops::Deref for ID3D12ProtectedResourceSession1 { type Target = ID3D12ProtectedResourceSession; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12ProtectedResourceSession1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession, ID3D12ProtectedResourceSession); @@ -2997,7 +2997,7 @@ windows_core::imp::define_interface!(ID3D12ProtectedSession, ID3D12ProtectedSess impl std::ops::Deref for ID3D12ProtectedSession { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12ProtectedSession, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); @@ -3024,7 +3024,7 @@ windows_core::imp::define_interface!(ID3D12QueryHeap, ID3D12QueryHeap_Vtbl, 0x0d impl std::ops::Deref for ID3D12QueryHeap { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12QueryHeap, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -3039,7 +3039,7 @@ windows_core::imp::define_interface!(ID3D12Resource, ID3D12Resource_Vtbl, 0x6964 impl std::ops::Deref for ID3D12Resource { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Resource, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -3089,7 +3089,7 @@ windows_core::imp::define_interface!(ID3D12Resource1, ID3D12Resource1_Vtbl, 0x9d impl std::ops::Deref for ID3D12Resource1 { type Target = ID3D12Resource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Resource1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource); @@ -3112,7 +3112,7 @@ windows_core::imp::define_interface!(ID3D12Resource2, ID3D12Resource2_Vtbl, 0xbe impl std::ops::Deref for ID3D12Resource2 { type Target = ID3D12Resource1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Resource2, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource, ID3D12Resource1); @@ -3138,7 +3138,7 @@ windows_core::imp::define_interface!(ID3D12RootSignature, ID3D12RootSignature_Vt impl std::ops::Deref for ID3D12RootSignature { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12RootSignature, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); @@ -3153,7 +3153,7 @@ windows_core::imp::define_interface!(ID3D12RootSignatureDeserializer, ID3D12Root impl std::ops::Deref for ID3D12RootSignatureDeserializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12RootSignatureDeserializer, windows_core::IUnknown); @@ -3173,7 +3173,7 @@ windows_core::imp::define_interface!(ID3D12SDKConfiguration, ID3D12SDKConfigurat impl std::ops::Deref for ID3D12SDKConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12SDKConfiguration, windows_core::IUnknown); @@ -3196,7 +3196,7 @@ windows_core::imp::define_interface!(ID3D12SDKConfiguration1, ID3D12SDKConfigura impl std::ops::Deref for ID3D12SDKConfiguration1 { type Target = ID3D12SDKConfiguration; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12SDKConfiguration1, windows_core::IUnknown, ID3D12SDKConfiguration); @@ -3225,7 +3225,7 @@ windows_core::imp::define_interface!(ID3D12ShaderCacheSession, ID3D12ShaderCache impl std::ops::Deref for ID3D12ShaderCacheSession { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12ShaderCacheSession, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); @@ -3259,7 +3259,7 @@ windows_core::imp::define_interface!(ID3D12ShaderReflection, ID3D12ShaderReflect impl std::ops::Deref for ID3D12ShaderReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12ShaderReflection, windows_core::IUnknown); @@ -3330,7 +3330,7 @@ impl ID3D12ShaderReflection { } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetMinFeatureLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinFeatureLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadGroupSize(&self, psizex: Option<*mut u32>, psizey: Option<*mut u32>, psizez: Option<*mut u32>) -> u32 { @@ -3512,7 +3512,7 @@ windows_core::imp::define_interface!(ID3D12SharingContract, ID3D12SharingContrac impl std::ops::Deref for ID3D12SharingContract { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12SharingContract, windows_core::IUnknown); @@ -3551,7 +3551,7 @@ windows_core::imp::define_interface!(ID3D12StateObject, ID3D12StateObject_Vtbl, impl std::ops::Deref for ID3D12StateObject { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12StateObject, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); @@ -3566,7 +3566,7 @@ windows_core::imp::define_interface!(ID3D12StateObjectProperties, ID3D12StateObj impl std::ops::Deref for ID3D12StateObjectProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12StateObjectProperties, windows_core::IUnknown); @@ -3604,7 +3604,7 @@ windows_core::imp::define_interface!(ID3D12SwapChainAssistant, ID3D12SwapChainAs impl std::ops::Deref for ID3D12SwapChainAssistant { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12SwapChainAssistant, windows_core::IUnknown); @@ -3646,7 +3646,7 @@ windows_core::imp::define_interface!(ID3D12Tools, ID3D12Tools_Vtbl, 0x7071e1f0_e impl std::ops::Deref for ID3D12Tools { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12Tools, windows_core::IUnknown); @@ -3673,13 +3673,13 @@ windows_core::imp::define_interface!(ID3D12VersionedRootSignatureDeserializer, I impl std::ops::Deref for ID3D12VersionedRootSignatureDeserializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootSignatureDescAtVersion)(windows_core::Interface::as_raw(self), converttoversion, &mut result__).map(|| result__) } pub unsafe fn GetUnconvertedRootSignatureDesc(&self) -> *mut D3D12_VERSIONED_ROOT_SIGNATURE_DESC { @@ -3698,7 +3698,7 @@ windows_core::imp::define_interface!(ID3D12VirtualizationGuestDevice, ID3D12Virt impl std::ops::Deref for ID3D12VirtualizationGuestDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12VirtualizationGuestDevice, windows_core::IUnknown); @@ -3707,14 +3707,14 @@ impl ID3D12VirtualizationGuestDevice { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShareWithHost)(windows_core::Interface::as_raw(self), pobject.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CreateFenceFd(&self, pfence: P0, fencevalue: u64) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFenceFd)(windows_core::Interface::as_raw(self), pfence.param().abi(), fencevalue, &mut result__).map(|| result__) } } @@ -9836,8 +9836,8 @@ pub struct D3D12_AUTO_BREADCRUMB_NODE { pub pCommandListDebugNameW: windows_core::PCWSTR, pub pCommandQueueDebugNameA: *const u8, pub pCommandQueueDebugNameW: windows_core::PCWSTR, - pub pCommandList: std::mem::ManuallyDrop>, - pub pCommandQueue: std::mem::ManuallyDrop>, + pub pCommandList: core::mem::ManuallyDrop>, + pub pCommandQueue: core::mem::ManuallyDrop>, pub BreadcrumbCount: u32, pub pLastBreadcrumbValue: *const u32, pub pCommandHistory: *const D3D12_AUTO_BREADCRUMB_OP, @@ -9863,8 +9863,8 @@ pub struct D3D12_AUTO_BREADCRUMB_NODE1 { pub pCommandListDebugNameW: windows_core::PCWSTR, pub pCommandQueueDebugNameA: *const u8, pub pCommandQueueDebugNameW: windows_core::PCWSTR, - pub pCommandList: std::mem::ManuallyDrop>, - pub pCommandQueue: std::mem::ManuallyDrop>, + pub pCommandList: core::mem::ManuallyDrop>, + pub pCommandQueue: core::mem::ManuallyDrop>, pub BreadcrumbCount: u32, pub pLastBreadcrumbValue: *const u32, pub pCommandHistory: *const D3D12_AUTO_BREADCRUMB_OP, @@ -9973,7 +9973,7 @@ pub struct D3D12_BUFFER_BARRIER { pub SyncAfter: D3D12_BARRIER_SYNC, pub AccessBefore: D3D12_BARRIER_ACCESS, pub AccessAfter: D3D12_BARRIER_ACCESS, - pub pResource: std::mem::ManuallyDrop>, + pub pResource: core::mem::ManuallyDrop>, pub Offset: u64, pub Size: u64, } @@ -10191,7 +10191,7 @@ impl Default for D3D12_COMMAND_SIGNATURE_DESC { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_COMPUTE_PIPELINE_STATE_DESC { - pub pRootSignature: std::mem::ManuallyDrop>, + pub pRootSignature: core::mem::ManuallyDrop>, pub CS: D3D12_SHADER_BYTECODE, pub NodeMask: u32, pub CachedPSO: D3D12_CACHED_PIPELINE_STATE, @@ -10674,7 +10674,7 @@ pub struct D3D12_DRED_ALLOCATION_NODE1 { pub ObjectNameW: windows_core::PCWSTR, pub AllocationType: D3D12_DRED_ALLOCATION_TYPE, pub pNext: *const D3D12_DRED_ALLOCATION_NODE1, - pub pObject: std::mem::ManuallyDrop>, + pub pObject: core::mem::ManuallyDrop>, } impl Clone for D3D12_DRED_ALLOCATION_NODE1 { fn clone(&self) -> Self { @@ -10808,7 +10808,7 @@ impl Default for D3D12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_EXISTING_COLLECTION_DESC { - pub pExistingCollection: std::mem::ManuallyDrop>, + pub pExistingCollection: core::mem::ManuallyDrop>, pub NumExports: u32, pub pExports: *const D3D12_EXPORT_DESC, } @@ -11575,7 +11575,7 @@ impl Default for D3D12_GLOBAL_BARRIER { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_GLOBAL_ROOT_SIGNATURE { - pub pGlobalRootSignature: std::mem::ManuallyDrop>, + pub pGlobalRootSignature: core::mem::ManuallyDrop>, } impl Clone for D3D12_GLOBAL_ROOT_SIGNATURE { fn clone(&self) -> Self { @@ -11650,7 +11650,7 @@ impl Default for D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] #[derive(Debug, PartialEq)] pub struct D3D12_GRAPHICS_PIPELINE_STATE_DESC { - pub pRootSignature: std::mem::ManuallyDrop>, + pub pRootSignature: core::mem::ManuallyDrop>, pub VS: D3D12_SHADER_BYTECODE, pub PS: D3D12_SHADER_BYTECODE, pub DS: D3D12_SHADER_BYTECODE, @@ -11943,7 +11943,7 @@ impl Default for D3D12_LIBRARY_DESC { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_LOCAL_ROOT_SIGNATURE { - pub pLocalRootSignature: std::mem::ManuallyDrop>, + pub pLocalRootSignature: core::mem::ManuallyDrop>, } impl Clone for D3D12_LOCAL_ROOT_SIGNATURE { fn clone(&self) -> Self { @@ -12683,7 +12683,7 @@ impl Default for D3D12_RENDER_PASS_ENDING_ACCESS { #[repr(C)] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub union D3D12_RENDER_PASS_ENDING_ACCESS_0 { - pub Resolve: std::mem::ManuallyDrop, + pub Resolve: core::mem::ManuallyDrop, pub PreserveLocal: D3D12_RENDER_PASS_ENDING_ACCESS_PRESERVE_LOCAL_PARAMETERS, } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -12720,8 +12720,8 @@ impl Default for D3D12_RENDER_PASS_ENDING_ACCESS_PRESERVE_LOCAL_PARAMETERS { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_PARAMETERS { - pub pSrcResource: std::mem::ManuallyDrop>, - pub pDstResource: std::mem::ManuallyDrop>, + pub pSrcResource: core::mem::ManuallyDrop>, + pub pDstResource: core::mem::ManuallyDrop>, pub SubresourceCount: u32, pub pSubresourceParameters: *const D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_SUBRESOURCE_PARAMETERS, pub Format: super::Dxgi::Common::DXGI_FORMAT, @@ -12850,8 +12850,8 @@ impl Default for D3D12_RENDER_TARGET_VIEW_DESC_0 { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_RESOURCE_ALIASING_BARRIER { - pub pResourceBefore: std::mem::ManuallyDrop>, - pub pResourceAfter: std::mem::ManuallyDrop>, + pub pResourceBefore: core::mem::ManuallyDrop>, + pub pResourceAfter: core::mem::ManuallyDrop>, } impl Clone for D3D12_RESOURCE_ALIASING_BARRIER { fn clone(&self) -> Self { @@ -12916,9 +12916,9 @@ impl Default for D3D12_RESOURCE_BARRIER { } #[repr(C)] pub union D3D12_RESOURCE_BARRIER_0 { - pub Transition: std::mem::ManuallyDrop, - pub Aliasing: std::mem::ManuallyDrop, - pub UAV: std::mem::ManuallyDrop, + pub Transition: core::mem::ManuallyDrop, + pub Aliasing: core::mem::ManuallyDrop, + pub UAV: core::mem::ManuallyDrop, } impl Clone for D3D12_RESOURCE_BARRIER_0 { fn clone(&self) -> Self { @@ -12987,7 +12987,7 @@ impl Default for D3D12_RESOURCE_DESC1 { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_RESOURCE_TRANSITION_BARRIER { - pub pResource: std::mem::ManuallyDrop>, + pub pResource: core::mem::ManuallyDrop>, pub Subresource: u32, pub StateBefore: D3D12_RESOURCE_STATES, pub StateAfter: D3D12_RESOURCE_STATES, @@ -13008,7 +13008,7 @@ impl Default for D3D12_RESOURCE_TRANSITION_BARRIER { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_RESOURCE_UAV_BARRIER { - pub pResource: std::mem::ManuallyDrop>, + pub pResource: core::mem::ManuallyDrop>, } impl Clone for D3D12_RESOURCE_UAV_BARRIER { fn clone(&self) -> Self { @@ -14240,7 +14240,7 @@ pub struct D3D12_TEXTURE_BARRIER { pub AccessAfter: D3D12_BARRIER_ACCESS, pub LayoutBefore: D3D12_BARRIER_LAYOUT, pub LayoutAfter: D3D12_BARRIER_LAYOUT, - pub pResource: std::mem::ManuallyDrop>, + pub pResource: core::mem::ManuallyDrop>, pub Subresources: D3D12_BARRIER_SUBRESOURCE_RANGE, pub Flags: D3D12_TEXTURE_BARRIER_FLAGS, } @@ -14260,7 +14260,7 @@ impl Default for D3D12_TEXTURE_BARRIER { #[repr(C)] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub struct D3D12_TEXTURE_COPY_LOCATION { - pub pResource: std::mem::ManuallyDrop>, + pub pResource: core::mem::ManuallyDrop>, pub Type: D3D12_TEXTURE_COPY_TYPE, pub Anonymous: D3D12_TEXTURE_COPY_LOCATION_0, } 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 d42fea8b08..5f0ce6dbe9 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs @@ -50,14 +50,14 @@ pub unsafe fn Direct3DCreate9(sdkversion: u32) -> Option { #[inline] pub unsafe fn Direct3DCreate9Ex(sdkversion: u32) -> windows_core::Result { windows_targets::link!("d3d9.dll" "system" fn Direct3DCreate9Ex(sdkversion : u32, param1 : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); Direct3DCreate9Ex(sdkversion, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IDirect3D9, IDirect3D9_Vtbl, 0x81bdcbca_64d4_426d_ae8d_ad0147f4275c); impl std::ops::Deref for IDirect3D9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3D9, windows_core::IUnknown); @@ -140,7 +140,7 @@ windows_core::imp::define_interface!(IDirect3D9Ex, IDirect3D9Ex_Vtbl, 0x02177241 impl std::ops::Deref for IDirect3D9Ex { type Target = IDirect3D9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3D9Ex, windows_core::IUnknown, IDirect3D9); @@ -177,7 +177,7 @@ windows_core::imp::define_interface!(IDirect3DBaseTexture9, IDirect3DBaseTexture impl std::ops::Deref for IDirect3DBaseTexture9 { type Target = IDirect3DResource9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DBaseTexture9, windows_core::IUnknown, IDirect3DResource9); @@ -215,7 +215,7 @@ windows_core::imp::define_interface!(IDirect3DCubeTexture9, IDirect3DCubeTexture impl std::ops::Deref for IDirect3DCubeTexture9 { type Target = IDirect3DBaseTexture9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DCubeTexture9, windows_core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); @@ -224,7 +224,7 @@ impl IDirect3DCubeTexture9 { (windows_core::Interface::vtable(self).GetLevelDesc)(windows_core::Interface::as_raw(self), level, pdesc).ok() } pub unsafe fn GetCubeMapSurface(&self, facetype: D3DCUBEMAP_FACES, level: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCubeMapSurface)(windows_core::Interface::as_raw(self), facetype, level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LockRect(&self, facetype: D3DCUBEMAP_FACES, level: u32, plockedrect: *mut D3DLOCKED_RECT, prect: *const super::super::Foundation::RECT, flags: u32) -> windows_core::Result<()> { @@ -250,7 +250,7 @@ windows_core::imp::define_interface!(IDirect3DDevice9, IDirect3DDevice9_Vtbl, 0x impl std::ops::Deref for IDirect3DDevice9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DDevice9, windows_core::IUnknown); @@ -265,7 +265,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDirect3D)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDeviceCaps(&self, pcaps: *mut D3DCAPS9) -> windows_core::Result<()> { @@ -296,7 +296,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).CreateAdditionalSwapChain)(windows_core::Interface::as_raw(self), ppresentationparameters, core::mem::transmute(pswapchain)).ok() } pub unsafe fn GetSwapChain(&self, iswapchain: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSwapChain)(windows_core::Interface::as_raw(self), iswapchain, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNumberOfSwapChains(&self) -> u32 { @@ -313,7 +313,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).Present)(windows_core::Interface::as_raw(self), psourcerect, pdestrect, hdestwindowoverride.param().abi(), pdirtyregion).ok() } pub unsafe fn GetBackBuffer(&self, iswapchain: u32, ibackbuffer: u32, r#type: D3DBACKBUFFER_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackBuffer)(windows_core::Interface::as_raw(self), iswapchain, ibackbuffer, r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRasterStatus(&self, iswapchain: u32, prasterstatus: *mut D3DRASTER_STATUS) -> windows_core::Result<()> { @@ -408,7 +408,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).SetRenderTarget)(windows_core::Interface::as_raw(self), rendertargetindex, prendertarget.param().abi()).ok() } pub unsafe fn GetRenderTarget(&self, rendertargetindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderTarget)(windows_core::Interface::as_raw(self), rendertargetindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDepthStencilSurface(&self, pnewzstencil: P0) -> windows_core::Result<()> @@ -418,7 +418,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).SetDepthStencilSurface)(windows_core::Interface::as_raw(self), pnewzstencil.param().abi()).ok() } pub unsafe fn GetDepthStencilSurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDepthStencilSurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BeginScene(&self) -> windows_core::Result<()> { @@ -484,14 +484,14 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).GetRenderState)(windows_core::Interface::as_raw(self), state, pvalue).ok() } pub unsafe fn CreateStateBlock(&self, r#type: D3DSTATEBLOCKTYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStateBlock)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndStateBlock)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClipStatus(&self, pclipstatus: *const D3DCLIPSTATUS9) -> windows_core::Result<()> { @@ -501,7 +501,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).GetClipStatus)(windows_core::Interface::as_raw(self), pclipstatus).ok() } pub unsafe fn GetTexture(&self, stage: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTexture)(windows_core::Interface::as_raw(self), stage, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTexture(&self, stage: u32, ptexture: P0) -> windows_core::Result<()> @@ -580,7 +580,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).ProcessVertices)(windows_core::Interface::as_raw(self), srcstartindex, destindex, vertexcount, pdestbuffer.param().abi(), pvertexdecl.param().abi(), flags).ok() } pub unsafe fn CreateVertexDeclaration(&self, pvertexelements: *const D3DVERTEXELEMENT9) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVertexDeclaration)(windows_core::Interface::as_raw(self), pvertexelements, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVertexDeclaration(&self, pdecl: P0) -> windows_core::Result<()> @@ -590,7 +590,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).SetVertexDeclaration)(windows_core::Interface::as_raw(self), pdecl.param().abi()).ok() } pub unsafe fn GetVertexDeclaration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVertexDeclaration)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFVF(&self, fvf: u32) -> windows_core::Result<()> { @@ -600,7 +600,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).GetFVF)(windows_core::Interface::as_raw(self), pfvf).ok() } pub unsafe fn CreateVertexShader(&self, pfunction: *const u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVertexShader)(windows_core::Interface::as_raw(self), pfunction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVertexShader(&self, pshader: P0) -> windows_core::Result<()> @@ -610,7 +610,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).SetVertexShader)(windows_core::Interface::as_raw(self), pshader.param().abi()).ok() } pub unsafe fn GetVertexShader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVertexShader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVertexShaderConstantF(&self, startregister: u32, pconstantdata: *const f32, vector4fcount: u32) -> windows_core::Result<()> { @@ -653,11 +653,11 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).SetIndices)(windows_core::Interface::as_raw(self), pindexdata.param().abi()).ok() } pub unsafe fn GetIndices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePixelShader(&self, pfunction: *const u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePixelShader)(windows_core::Interface::as_raw(self), pfunction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPixelShader(&self, pshader: P0) -> windows_core::Result<()> @@ -667,7 +667,7 @@ impl IDirect3DDevice9 { (windows_core::Interface::vtable(self).SetPixelShader)(windows_core::Interface::as_raw(self), pshader.param().abi()).ok() } pub unsafe fn GetPixelShader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPixelShader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPixelShaderConstantF(&self, startregister: u32, pconstantdata: *const f32, vector4fcount: u32) -> windows_core::Result<()> { @@ -698,7 +698,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateQuery)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -850,7 +850,7 @@ windows_core::imp::define_interface!(IDirect3DDevice9Ex, IDirect3DDevice9Ex_Vtbl impl std::ops::Deref for IDirect3DDevice9Ex { type Target = IDirect3DDevice9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DDevice9Ex, windows_core::IUnknown, IDirect3DDevice9); @@ -946,7 +946,7 @@ windows_core::imp::define_interface!(IDirect3DIndexBuffer9, IDirect3DIndexBuffer impl std::ops::Deref for IDirect3DIndexBuffer9 { type Target = IDirect3DResource9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DIndexBuffer9, windows_core::IUnknown, IDirect3DResource9); @@ -972,13 +972,13 @@ windows_core::imp::define_interface!(IDirect3DPixelShader9, IDirect3DPixelShader impl std::ops::Deref for IDirect3DPixelShader9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DPixelShader9, windows_core::IUnknown); impl IDirect3DPixelShader9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFunction(&self, param0: *mut core::ffi::c_void, psizeofdata: *mut u32) -> windows_core::Result<()> { @@ -995,13 +995,13 @@ windows_core::imp::define_interface!(IDirect3DQuery9, IDirect3DQuery9_Vtbl, 0xd9 impl std::ops::Deref for IDirect3DQuery9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DQuery9, windows_core::IUnknown); impl IDirect3DQuery9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetType(&self) -> D3DQUERYTYPE { @@ -1030,13 +1030,13 @@ windows_core::imp::define_interface!(IDirect3DResource9, IDirect3DResource9_Vtbl impl std::ops::Deref for IDirect3DResource9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DResource9, windows_core::IUnknown); impl IDirect3DResource9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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<()> { @@ -1077,13 +1077,13 @@ windows_core::imp::define_interface!(IDirect3DStateBlock9, IDirect3DStateBlock9_ impl std::ops::Deref for IDirect3DStateBlock9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DStateBlock9, windows_core::IUnknown); impl IDirect3DStateBlock9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Capture(&self) -> windows_core::Result<()> { @@ -1104,7 +1104,7 @@ windows_core::imp::define_interface!(IDirect3DSurface9, IDirect3DSurface9_Vtbl, impl std::ops::Deref for IDirect3DSurface9 { type Target = IDirect3DResource9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DSurface9, windows_core::IUnknown, IDirect3DResource9); @@ -1153,7 +1153,7 @@ windows_core::imp::define_interface!(IDirect3DSwapChain9, IDirect3DSwapChain9_Vt impl std::ops::Deref for IDirect3DSwapChain9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DSwapChain9, windows_core::IUnknown); @@ -1172,7 +1172,7 @@ impl IDirect3DSwapChain9 { (windows_core::Interface::vtable(self).GetFrontBufferData)(windows_core::Interface::as_raw(self), pdestsurface.param().abi()).ok() } pub unsafe fn GetBackBuffer(&self, ibackbuffer: u32, r#type: D3DBACKBUFFER_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackBuffer)(windows_core::Interface::as_raw(self), ibackbuffer, r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRasterStatus(&self, prasterstatus: *mut D3DRASTER_STATUS) -> windows_core::Result<()> { @@ -1182,7 +1182,7 @@ impl IDirect3DSwapChain9 { (windows_core::Interface::vtable(self).GetDisplayMode)(windows_core::Interface::as_raw(self), pmode).ok() } pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPresentParameters(&self, ppresentationparameters: *mut D3DPRESENT_PARAMETERS) -> windows_core::Result<()> { @@ -1207,7 +1207,7 @@ windows_core::imp::define_interface!(IDirect3DSwapChain9Ex, IDirect3DSwapChain9E impl std::ops::Deref for IDirect3DSwapChain9Ex { type Target = IDirect3DSwapChain9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DSwapChain9Ex, windows_core::IUnknown, IDirect3DSwapChain9); @@ -1233,7 +1233,7 @@ windows_core::imp::define_interface!(IDirect3DTexture9, IDirect3DTexture9_Vtbl, impl std::ops::Deref for IDirect3DTexture9 { type Target = IDirect3DBaseTexture9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DTexture9, windows_core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); @@ -1242,7 +1242,7 @@ impl IDirect3DTexture9 { (windows_core::Interface::vtable(self).GetLevelDesc)(windows_core::Interface::as_raw(self), level, pdesc).ok() } pub unsafe fn GetSurfaceLevel(&self, level: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurfaceLevel)(windows_core::Interface::as_raw(self), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LockRect(&self, level: u32, plockedrect: *mut D3DLOCKED_RECT, prect: *const super::super::Foundation::RECT, flags: u32) -> windows_core::Result<()> { @@ -1268,7 +1268,7 @@ windows_core::imp::define_interface!(IDirect3DVertexBuffer9, IDirect3DVertexBuff impl std::ops::Deref for IDirect3DVertexBuffer9 { type Target = IDirect3DResource9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DVertexBuffer9, windows_core::IUnknown, IDirect3DResource9); @@ -1294,13 +1294,13 @@ windows_core::imp::define_interface!(IDirect3DVertexDeclaration9, IDirect3DVerte impl std::ops::Deref for IDirect3DVertexDeclaration9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DVertexDeclaration9, windows_core::IUnknown); impl IDirect3DVertexDeclaration9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDeclaration(&self, pelement: *mut D3DVERTEXELEMENT9, pnumelements: *mut u32) -> windows_core::Result<()> { @@ -1317,13 +1317,13 @@ windows_core::imp::define_interface!(IDirect3DVertexShader9, IDirect3DVertexShad impl std::ops::Deref for IDirect3DVertexShader9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DVertexShader9, windows_core::IUnknown); impl IDirect3DVertexShader9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFunction(&self, param0: *mut core::ffi::c_void, psizeofdata: *mut u32) -> windows_core::Result<()> { @@ -1340,13 +1340,13 @@ windows_core::imp::define_interface!(IDirect3DVolume9, IDirect3DVolume9_Vtbl, 0x impl std::ops::Deref for IDirect3DVolume9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DVolume9, windows_core::IUnknown); impl IDirect3DVolume9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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<()> { @@ -1387,7 +1387,7 @@ windows_core::imp::define_interface!(IDirect3DVolumeTexture9, IDirect3DVolumeTex impl std::ops::Deref for IDirect3DVolumeTexture9 { type Target = IDirect3DBaseTexture9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DVolumeTexture9, windows_core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); @@ -1396,7 +1396,7 @@ impl IDirect3DVolumeTexture9 { (windows_core::Interface::vtable(self).GetLevelDesc)(windows_core::Interface::as_raw(self), level, pdesc).ok() } pub unsafe fn GetVolumeLevel(&self, level: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVolumeLevel)(windows_core::Interface::as_raw(self), level, &mut result__).and_then(|| windows_core::Type::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/Direct3D9on12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs index 35d7c38abe..4925c44060 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs @@ -14,7 +14,7 @@ windows_core::imp::define_interface!(IDirect3DDevice9On12, IDirect3DDevice9On12_ impl std::ops::Deref for IDirect3DDevice9On12 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DDevice9On12, windows_core::IUnknown); @@ -56,8 +56,8 @@ pub const MAX_D3D9ON12_QUEUES: u32 = 2u32; #[derive(Debug, Eq, PartialEq)] pub struct D3D9ON12_ARGS { pub Enable9On12: super::super::Foundation::BOOL, - pub pD3D12Device: std::mem::ManuallyDrop>, - pub ppD3D12Queues: [std::mem::ManuallyDrop>; 2usize], + pub pD3D12Device: core::mem::ManuallyDrop>, + pub ppD3D12Queues: [core::mem::ManuallyDrop>; 2usize], pub NumQueues: u32, pub NodeMask: u32, } 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 5989ca3d11..359f7ac734 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs @@ -61,13 +61,13 @@ where #[inline] pub unsafe fn DCompositionCreateSurfaceHandle(desiredaccess: u32, securityattributes: Option<*const super::super::Security::SECURITY_ATTRIBUTES>) -> windows_core::Result { windows_targets::link!("dcomp.dll" "system" fn DCompositionCreateSurfaceHandle(desiredaccess : u32, securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, surfacehandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DCompositionCreateSurfaceHandle(desiredaccess, core::mem::transmute(securityattributes.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] pub unsafe fn DCompositionGetFrameId(frameidtype: COMPOSITION_FRAME_ID_TYPE) -> windows_core::Result { windows_targets::link!("dcomp.dll" "system" fn DCompositionGetFrameId(frameidtype : COMPOSITION_FRAME_ID_TYPE, frameid : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DCompositionGetFrameId(frameidtype, &mut result__).map(|| result__) } #[inline] @@ -89,7 +89,7 @@ windows_core::imp::define_interface!(IDCompositionAffineTransform2DEffect, IDCom impl std::ops::Deref for IDCompositionAffineTransform2DEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionAffineTransform2DEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -149,7 +149,7 @@ windows_core::imp::define_interface!(IDCompositionAnimation, IDCompositionAnimat impl std::ops::Deref for IDCompositionAnimation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionAnimation, windows_core::IUnknown); @@ -187,7 +187,7 @@ windows_core::imp::define_interface!(IDCompositionArithmeticCompositeEffect, IDC impl std::ops::Deref for IDCompositionArithmeticCompositeEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionArithmeticCompositeEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -260,7 +260,7 @@ windows_core::imp::define_interface!(IDCompositionBlendEffect, IDCompositionBlen impl std::ops::Deref for IDCompositionBlendEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionBlendEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -282,7 +282,7 @@ windows_core::imp::define_interface!(IDCompositionBrightnessEffect, IDCompositio impl std::ops::Deref for IDCompositionBrightnessEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionBrightnessEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -356,7 +356,7 @@ windows_core::imp::define_interface!(IDCompositionClip, IDCompositionClip_Vtbl, impl std::ops::Deref for IDCompositionClip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionClip, windows_core::IUnknown); @@ -369,7 +369,7 @@ windows_core::imp::define_interface!(IDCompositionColorMatrixEffect, IDCompositi impl std::ops::Deref for IDCompositionColorMatrixEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionColorMatrixEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -417,7 +417,7 @@ windows_core::imp::define_interface!(IDCompositionCompositeEffect, IDComposition impl std::ops::Deref for IDCompositionCompositeEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionCompositeEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -439,17 +439,17 @@ windows_core::imp::define_interface!(IDCompositionDelegatedInkTrail, IDCompositi impl std::ops::Deref for IDCompositionDelegatedInkTrail { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionDelegatedInkTrail, windows_core::IUnknown); impl IDCompositionDelegatedInkTrail { pub unsafe fn AddTrailPoints(&self, inkpoints: &[DCompositionInkTrailPoint]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddTrailPoints)(windows_core::Interface::as_raw(self), core::mem::transmute(inkpoints.as_ptr()), inkpoints.len().try_into().unwrap(), &mut result__).map(|| result__) } pub unsafe fn AddTrailPointsWithPrediction(&self, inkpoints: &[DCompositionInkTrailPoint], predictedinkpoints: &[DCompositionInkTrailPoint]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddTrailPointsWithPrediction)(windows_core::Interface::as_raw(self), core::mem::transmute(inkpoints.as_ptr()), inkpoints.len().try_into().unwrap(), core::mem::transmute(predictedinkpoints.as_ptr()), predictedinkpoints.len().try_into().unwrap(), &mut result__).map(|| result__) } pub unsafe fn RemoveTrailPoints(&self, generationid: u32) -> windows_core::Result<()> { @@ -475,7 +475,7 @@ windows_core::imp::define_interface!(IDCompositionDesktopDevice, IDCompositionDe impl std::ops::Deref for IDCompositionDesktopDevice { type Target = IDCompositionDevice2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionDesktopDevice, windows_core::IUnknown, IDCompositionDevice2); @@ -485,21 +485,21 @@ impl IDCompositionDesktopDevice { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTargetForHwnd)(windows_core::Interface::as_raw(self), hwnd.param().abi(), topmost.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSurfaceFromHandle(&self, handle: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSurfaceFromHandle)(windows_core::Interface::as_raw(self), handle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSurfaceFromHwnd(&self, hwnd: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSurfaceFromHwnd)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -514,7 +514,7 @@ windows_core::imp::define_interface!(IDCompositionDevice, IDCompositionDevice_Vt impl std::ops::Deref for IDCompositionDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionDevice, windows_core::IUnknown); @@ -534,95 +534,95 @@ impl IDCompositionDevice { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTargetForHwnd)(windows_core::Interface::as_raw(self), hwnd.param().abi(), topmost.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateVisual(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVisual)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSurface)(windows_core::Interface::as_raw(self), width, height, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVirtualSurface)(windows_core::Interface::as_raw(self), initialwidth, initialheight, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSurfaceFromHandle(&self, handle: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSurfaceFromHandle)(windows_core::Interface::as_raw(self), handle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSurfaceFromHwnd(&self, hwnd: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSurfaceFromHwnd)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTranslateTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTranslateTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateScaleTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateScaleTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRotateTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRotateTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSkewTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSkewTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateMatrixTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMatrixTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTransformGroup(&self, transforms: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransformGroup)(windows_core::Interface::as_raw(self), core::mem::transmute(transforms.as_ptr()), transforms.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTranslateTransform3D(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTranslateTransform3D)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateScaleTransform3D(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateScaleTransform3D)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRotateTransform3D(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRotateTransform3D)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateMatrixTransform3D(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMatrixTransform3D)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTransform3DGroup(&self, transforms3d: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransform3DGroup)(windows_core::Interface::as_raw(self), core::mem::transmute(transforms3d.as_ptr()), transforms3d.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateEffectGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEffectGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRectangleClip(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRectangleClip)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAnimation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAnimation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CheckDeviceState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckDeviceState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -667,7 +667,7 @@ windows_core::imp::define_interface!(IDCompositionDevice2, IDCompositionDevice2_ impl std::ops::Deref for IDCompositionDevice2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionDevice2, windows_core::IUnknown); @@ -683,80 +683,80 @@ impl IDCompositionDevice2 { (windows_core::Interface::vtable(self).GetFrameStatistics)(windows_core::Interface::as_raw(self), statistics).ok() } pub unsafe fn CreateVisual(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVisual)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSurfaceFactory(&self, renderingdevice: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSurfaceFactory)(windows_core::Interface::as_raw(self), renderingdevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSurface)(windows_core::Interface::as_raw(self), width, height, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVirtualSurface)(windows_core::Interface::as_raw(self), initialwidth, initialheight, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTranslateTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTranslateTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateScaleTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateScaleTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRotateTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRotateTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSkewTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSkewTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateMatrixTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMatrixTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTransformGroup(&self, transforms: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransformGroup)(windows_core::Interface::as_raw(self), core::mem::transmute(transforms.as_ptr()), transforms.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTranslateTransform3D(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTranslateTransform3D)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateScaleTransform3D(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateScaleTransform3D)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRotateTransform3D(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRotateTransform3D)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateMatrixTransform3D(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMatrixTransform3D)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTransform3DGroup(&self, transforms3d: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransform3DGroup)(windows_core::Interface::as_raw(self), core::mem::transmute(transforms3d.as_ptr()), transforms3d.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateEffectGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEffectGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRectangleClip(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRectangleClip)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAnimation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAnimation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -798,61 +798,61 @@ windows_core::imp::define_interface!(IDCompositionDevice3, IDCompositionDevice3_ impl std::ops::Deref for IDCompositionDevice3 { type Target = IDCompositionDevice2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionDevice3, windows_core::IUnknown, IDCompositionDevice2); impl IDCompositionDevice3 { pub unsafe fn CreateGaussianBlurEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGaussianBlurEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBrightnessEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBrightnessEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateColorMatrixEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorMatrixEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateShadowEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateShadowEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateHueRotationEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateHueRotationEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSaturationEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSaturationEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTurbulenceEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTurbulenceEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLinearTransferEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLinearTransferEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTableTransferEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTableTransferEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCompositeEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCompositeEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBlendEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlendEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateArithmeticCompositeEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateArithmeticCompositeEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAffineTransform2DEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAffineTransform2DEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -877,7 +877,7 @@ windows_core::imp::define_interface!(IDCompositionDevice4, IDCompositionDevice4_ impl std::ops::Deref for IDCompositionDevice4 { type Target = IDCompositionDevice3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionDevice4, windows_core::IUnknown, IDCompositionDevice2, IDCompositionDevice3); @@ -886,14 +886,14 @@ impl IDCompositionDevice4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckCompositionTextureSupport)(windows_core::Interface::as_raw(self), renderingdevice.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CreateCompositionTexture(&self, d3dtexture: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCompositionTexture)(windows_core::Interface::as_raw(self), d3dtexture.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -907,7 +907,7 @@ windows_core::imp::define_interface!(IDCompositionDeviceDebug, IDCompositionDevi impl std::ops::Deref for IDCompositionDeviceDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionDeviceDebug, windows_core::IUnknown); @@ -929,7 +929,7 @@ windows_core::imp::define_interface!(IDCompositionEffect, IDCompositionEffect_Vt impl std::ops::Deref for IDCompositionEffect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionEffect, windows_core::IUnknown); @@ -942,7 +942,7 @@ windows_core::imp::define_interface!(IDCompositionEffectGroup, IDCompositionEffe impl std::ops::Deref for IDCompositionEffectGroup { type Target = IDCompositionEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionEffectGroup, windows_core::IUnknown, IDCompositionEffect); @@ -974,7 +974,7 @@ windows_core::imp::define_interface!(IDCompositionFilterEffect, IDCompositionFil impl std::ops::Deref for IDCompositionFilterEffect { type Target = IDCompositionEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionFilterEffect, windows_core::IUnknown, IDCompositionEffect); @@ -995,7 +995,7 @@ windows_core::imp::define_interface!(IDCompositionGaussianBlurEffect, IDComposit impl std::ops::Deref for IDCompositionGaussianBlurEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionGaussianBlurEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -1028,7 +1028,7 @@ windows_core::imp::define_interface!(IDCompositionHueRotationEffect, IDCompositi impl std::ops::Deref for IDCompositionHueRotationEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionHueRotationEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -1053,20 +1053,20 @@ windows_core::imp::define_interface!(IDCompositionInkTrailDevice, IDCompositionI impl std::ops::Deref for IDCompositionInkTrailDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionInkTrailDevice, windows_core::IUnknown); impl IDCompositionInkTrailDevice { pub unsafe fn CreateDelegatedInkTrail(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDelegatedInkTrail)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDelegatedInkTrailForSwapChain(&self, swapchain: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDelegatedInkTrailForSwapChain)(windows_core::Interface::as_raw(self), swapchain.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1080,7 +1080,7 @@ windows_core::imp::define_interface!(IDCompositionLinearTransferEffect, IDCompos impl std::ops::Deref for IDCompositionLinearTransferEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionLinearTransferEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -1217,7 +1217,7 @@ windows_core::imp::define_interface!(IDCompositionMatrixTransform, IDComposition impl std::ops::Deref for IDCompositionMatrixTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionMatrixTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); @@ -1250,7 +1250,7 @@ windows_core::imp::define_interface!(IDCompositionMatrixTransform3D, IDCompositi impl std::ops::Deref for IDCompositionMatrixTransform3D { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionMatrixTransform3D, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); @@ -1283,7 +1283,7 @@ windows_core::imp::define_interface!(IDCompositionRectangleClip, IDCompositionRe impl std::ops::Deref for IDCompositionRectangleClip { type Target = IDCompositionClip; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionRectangleClip, windows_core::IUnknown, IDCompositionClip); @@ -1429,7 +1429,7 @@ windows_core::imp::define_interface!(IDCompositionRotateTransform, IDComposition impl std::ops::Deref for IDCompositionRotateTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionRotateTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); @@ -1476,7 +1476,7 @@ windows_core::imp::define_interface!(IDCompositionRotateTransform3D, IDCompositi impl std::ops::Deref for IDCompositionRotateTransform3D { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionRotateTransform3D, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); @@ -1567,7 +1567,7 @@ windows_core::imp::define_interface!(IDCompositionSaturationEffect, IDCompositio impl std::ops::Deref for IDCompositionSaturationEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionSaturationEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -1592,7 +1592,7 @@ windows_core::imp::define_interface!(IDCompositionScaleTransform, IDCompositionS impl std::ops::Deref for IDCompositionScaleTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionScaleTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); @@ -1650,7 +1650,7 @@ windows_core::imp::define_interface!(IDCompositionScaleTransform3D, IDCompositio impl std::ops::Deref for IDCompositionScaleTransform3D { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionScaleTransform3D, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); @@ -1730,7 +1730,7 @@ windows_core::imp::define_interface!(IDCompositionShadowEffect, IDCompositionSha impl std::ops::Deref for IDCompositionShadowEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionShadowEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -1807,7 +1807,7 @@ windows_core::imp::define_interface!(IDCompositionSkewTransform, IDCompositionSk impl std::ops::Deref for IDCompositionSkewTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionSkewTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); @@ -1865,7 +1865,7 @@ windows_core::imp::define_interface!(IDCompositionSurface, IDCompositionSurface_ impl std::ops::Deref for IDCompositionSurface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionSurface, windows_core::IUnknown); @@ -1903,19 +1903,19 @@ windows_core::imp::define_interface!(IDCompositionSurfaceFactory, IDCompositionS impl std::ops::Deref for IDCompositionSurfaceFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionSurfaceFactory, windows_core::IUnknown); impl IDCompositionSurfaceFactory { #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSurface)(windows_core::Interface::as_raw(self), width, height, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVirtualSurface)(windows_core::Interface::as_raw(self), initialwidth, initialheight, pixelformat, alphamode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1935,7 +1935,7 @@ windows_core::imp::define_interface!(IDCompositionTableTransferEffect, IDComposi impl std::ops::Deref for IDCompositionTableTransferEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionTableTransferEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -2044,7 +2044,7 @@ windows_core::imp::define_interface!(IDCompositionTarget, IDCompositionTarget_Vt impl std::ops::Deref for IDCompositionTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionTarget, windows_core::IUnknown); @@ -2065,7 +2065,7 @@ windows_core::imp::define_interface!(IDCompositionTexture, IDCompositionTexture_ impl std::ops::Deref for IDCompositionTexture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionTexture, windows_core::IUnknown); @@ -2107,7 +2107,7 @@ windows_core::imp::define_interface!(IDCompositionTransform, IDCompositionTransf impl std::ops::Deref for IDCompositionTransform { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); @@ -2120,7 +2120,7 @@ windows_core::imp::define_interface!(IDCompositionTransform3D, IDCompositionTran impl std::ops::Deref for IDCompositionTransform3D { type Target = IDCompositionEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionTransform3D, windows_core::IUnknown, IDCompositionEffect); @@ -2133,7 +2133,7 @@ windows_core::imp::define_interface!(IDCompositionTranslateTransform, IDComposit impl std::ops::Deref for IDCompositionTranslateTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionTranslateTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); @@ -2169,7 +2169,7 @@ windows_core::imp::define_interface!(IDCompositionTranslateTransform3D, IDCompos impl std::ops::Deref for IDCompositionTranslateTransform3D { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionTranslateTransform3D, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); @@ -2216,7 +2216,7 @@ windows_core::imp::define_interface!(IDCompositionTurbulenceEffect, IDCompositio impl std::ops::Deref for IDCompositionTurbulenceEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionTurbulenceEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); @@ -2277,7 +2277,7 @@ windows_core::imp::define_interface!(IDCompositionVirtualSurface, IDCompositionV impl std::ops::Deref for IDCompositionVirtualSurface { type Target = IDCompositionSurface; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionVirtualSurface, windows_core::IUnknown, IDCompositionSurface); @@ -2299,7 +2299,7 @@ windows_core::imp::define_interface!(IDCompositionVisual, IDCompositionVisual_Vt impl std::ops::Deref for IDCompositionVisual { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionVisual, windows_core::IUnknown); @@ -2418,7 +2418,7 @@ windows_core::imp::define_interface!(IDCompositionVisual2, IDCompositionVisual2_ impl std::ops::Deref for IDCompositionVisual2 { type Target = IDCompositionVisual; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionVisual2, windows_core::IUnknown, IDCompositionVisual); @@ -2440,7 +2440,7 @@ windows_core::imp::define_interface!(IDCompositionVisual3, IDCompositionVisual3_ impl std::ops::Deref for IDCompositionVisual3 { type Target = IDCompositionVisualDebug; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionVisual3, windows_core::IUnknown, IDCompositionVisual, IDCompositionVisual2, IDCompositionVisualDebug); @@ -2502,7 +2502,7 @@ windows_core::imp::define_interface!(IDCompositionVisualDebug, IDCompositionVisu impl std::ops::Deref for IDCompositionVisualDebug { type Target = IDCompositionVisual2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCompositionVisualDebug, windows_core::IUnknown, IDCompositionVisual, IDCompositionVisual2); 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 7bc0f071fe..255ef95513 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -48,7 +48,7 @@ windows_core::imp::define_interface!(IDDVideoPortContainer, IDDVideoPortContaine impl std::ops::Deref for IDDVideoPortContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDDVideoPortContainer, windows_core::IUnknown); @@ -81,7 +81,7 @@ windows_core::imp::define_interface!(IDirectDraw, IDirectDraw_Vtbl, 0x6c14db80_a impl std::ops::Deref for IDirectDraw { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDraw, windows_core::IUnknown); @@ -112,7 +112,7 @@ impl IDirectDraw { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DuplicateSurface)(windows_core::Interface::as_raw(self), param0.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumDisplayModes(&self, param0: u32, param1: *mut DDSURFACEDESC, param2: *mut core::ffi::c_void, param3: LPDDENUMMODESCALLBACK) -> windows_core::Result<()> { @@ -134,7 +134,7 @@ impl IDirectDraw { (windows_core::Interface::vtable(self).GetFourCCCodes)(windows_core::Interface::as_raw(self), param0, param1).ok() } pub unsafe fn GetGDISurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGDISurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMonitorFrequency(&self, param0: *mut u32) -> windows_core::Result<()> { @@ -199,7 +199,7 @@ windows_core::imp::define_interface!(IDirectDraw2, IDirectDraw2_Vtbl, 0xb3a6f3e0 impl std::ops::Deref for IDirectDraw2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDraw2, windows_core::IUnknown); @@ -230,7 +230,7 @@ impl IDirectDraw2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DuplicateSurface)(windows_core::Interface::as_raw(self), param0.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumDisplayModes(&self, param0: u32, param1: *mut DDSURFACEDESC, param2: *mut core::ffi::c_void, param3: LPDDENUMMODESCALLBACK) -> windows_core::Result<()> { @@ -252,7 +252,7 @@ impl IDirectDraw2 { (windows_core::Interface::vtable(self).GetFourCCCodes)(windows_core::Interface::as_raw(self), param0, param1).ok() } pub unsafe fn GetGDISurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGDISurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMonitorFrequency(&self, param0: *mut u32) -> windows_core::Result<()> { @@ -321,7 +321,7 @@ windows_core::imp::define_interface!(IDirectDraw4, IDirectDraw4_Vtbl, 0x9c59509a impl std::ops::Deref for IDirectDraw4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDraw4, windows_core::IUnknown); @@ -352,7 +352,7 @@ impl IDirectDraw4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DuplicateSurface)(windows_core::Interface::as_raw(self), param0.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumDisplayModes(&self, param0: u32, param1: *mut DDSURFACEDESC2, param2: *mut core::ffi::c_void, param3: LPDDENUMMODESCALLBACK2) -> windows_core::Result<()> { @@ -374,7 +374,7 @@ impl IDirectDraw4 { (windows_core::Interface::vtable(self).GetFourCCCodes)(windows_core::Interface::as_raw(self), param0, param1).ok() } pub unsafe fn GetGDISurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGDISurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMonitorFrequency(&self, param0: *mut u32) -> windows_core::Result<()> { @@ -415,7 +415,7 @@ impl IDirectDraw4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurfaceFromDC)(windows_core::Interface::as_raw(self), param0.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RestoreAllSurfaces(&self) -> windows_core::Result<()> { @@ -467,7 +467,7 @@ windows_core::imp::define_interface!(IDirectDraw7, IDirectDraw7_Vtbl, 0x15e65ec0 impl std::ops::Deref for IDirectDraw7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDraw7, windows_core::IUnknown); @@ -498,7 +498,7 @@ impl IDirectDraw7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DuplicateSurface)(windows_core::Interface::as_raw(self), param0.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumDisplayModes(&self, param0: u32, param1: *mut DDSURFACEDESC2, param2: *mut core::ffi::c_void, param3: LPDDENUMMODESCALLBACK2) -> windows_core::Result<()> { @@ -520,7 +520,7 @@ impl IDirectDraw7 { (windows_core::Interface::vtable(self).GetFourCCCodes)(windows_core::Interface::as_raw(self), param0, param1).ok() } pub unsafe fn GetGDISurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGDISurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMonitorFrequency(&self, param0: *mut u32) -> windows_core::Result<()> { @@ -561,7 +561,7 @@ impl IDirectDraw7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurfaceFromDC)(windows_core::Interface::as_raw(self), param0.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RestoreAllSurfaces(&self) -> windows_core::Result<()> { @@ -621,7 +621,7 @@ windows_core::imp::define_interface!(IDirectDrawClipper, IDirectDrawClipper_Vtbl impl std::ops::Deref for IDirectDrawClipper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawClipper, windows_core::IUnknown); @@ -673,7 +673,7 @@ windows_core::imp::define_interface!(IDirectDrawColorControl, IDirectDrawColorCo impl std::ops::Deref for IDirectDrawColorControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawColorControl, windows_core::IUnknown); @@ -695,7 +695,7 @@ windows_core::imp::define_interface!(IDirectDrawGammaControl, IDirectDrawGammaCo impl std::ops::Deref for IDirectDrawGammaControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawGammaControl, windows_core::IUnknown); @@ -717,7 +717,7 @@ windows_core::imp::define_interface!(IDirectDrawKernel, IDirectDrawKernel_Vtbl, impl std::ops::Deref for IDirectDrawKernel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawKernel, windows_core::IUnknown); @@ -743,7 +743,7 @@ windows_core::imp::define_interface!(IDirectDrawPalette, IDirectDrawPalette_Vtbl impl std::ops::Deref for IDirectDrawPalette { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawPalette, windows_core::IUnknown); @@ -788,7 +788,7 @@ windows_core::imp::define_interface!(IDirectDrawSurface, IDirectDrawSurface_Vtbl impl std::ops::Deref for IDirectDrawSurface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawSurface, windows_core::IUnknown); @@ -845,7 +845,7 @@ impl IDirectDrawSurface { (windows_core::Interface::vtable(self).GetCaps)(windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn GetClipper(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipper)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> windows_core::Result<()> { @@ -862,7 +862,7 @@ impl IDirectDrawSurface { (windows_core::Interface::vtable(self).GetOverlayPosition)(windows_core::Interface::as_raw(self), param0, param1).ok() } pub unsafe fn GetPalette(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPalette)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> windows_core::Result<()> { @@ -980,7 +980,7 @@ windows_core::imp::define_interface!(IDirectDrawSurface2, IDirectDrawSurface2_Vt impl std::ops::Deref for IDirectDrawSurface2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawSurface2, windows_core::IUnknown); @@ -1037,7 +1037,7 @@ impl IDirectDrawSurface2 { (windows_core::Interface::vtable(self).GetCaps)(windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn GetClipper(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipper)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> windows_core::Result<()> { @@ -1054,7 +1054,7 @@ impl IDirectDrawSurface2 { (windows_core::Interface::vtable(self).GetOverlayPosition)(windows_core::Interface::as_raw(self), param0, param1).ok() } pub unsafe fn GetPalette(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPalette)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> windows_core::Result<()> { @@ -1184,7 +1184,7 @@ windows_core::imp::define_interface!(IDirectDrawSurface3, IDirectDrawSurface3_Vt impl std::ops::Deref for IDirectDrawSurface3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawSurface3, windows_core::IUnknown); @@ -1241,7 +1241,7 @@ impl IDirectDrawSurface3 { (windows_core::Interface::vtable(self).GetCaps)(windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn GetClipper(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipper)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> windows_core::Result<()> { @@ -1258,7 +1258,7 @@ impl IDirectDrawSurface3 { (windows_core::Interface::vtable(self).GetOverlayPosition)(windows_core::Interface::as_raw(self), param0, param1).ok() } pub unsafe fn GetPalette(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPalette)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> windows_core::Result<()> { @@ -1392,7 +1392,7 @@ windows_core::imp::define_interface!(IDirectDrawSurface4, IDirectDrawSurface4_Vt impl std::ops::Deref for IDirectDrawSurface4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawSurface4, windows_core::IUnknown); @@ -1449,7 +1449,7 @@ impl IDirectDrawSurface4 { (windows_core::Interface::vtable(self).GetCaps)(windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn GetClipper(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipper)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> windows_core::Result<()> { @@ -1466,7 +1466,7 @@ impl IDirectDrawSurface4 { (windows_core::Interface::vtable(self).GetOverlayPosition)(windows_core::Interface::as_raw(self), param0, param1).ok() } pub unsafe fn GetPalette(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPalette)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> windows_core::Result<()> { @@ -1620,7 +1620,7 @@ windows_core::imp::define_interface!(IDirectDrawSurface7, IDirectDrawSurface7_Vt impl std::ops::Deref for IDirectDrawSurface7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawSurface7, windows_core::IUnknown); @@ -1677,7 +1677,7 @@ impl IDirectDrawSurface7 { (windows_core::Interface::vtable(self).GetCaps)(windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn GetClipper(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipper)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColorKey(&self, param0: u32, param1: *mut DDCOLORKEY) -> windows_core::Result<()> { @@ -1694,7 +1694,7 @@ impl IDirectDrawSurface7 { (windows_core::Interface::vtable(self).GetOverlayPosition)(windows_core::Interface::as_raw(self), param0, param1).ok() } pub unsafe fn GetPalette(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPalette)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPixelFormat(&self, param0: *mut DDPIXELFORMAT) -> windows_core::Result<()> { @@ -1864,7 +1864,7 @@ windows_core::imp::define_interface!(IDirectDrawSurfaceKernel, IDirectDrawSurfac impl std::ops::Deref for IDirectDrawSurfaceKernel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawSurfaceKernel, windows_core::IUnknown); @@ -1886,7 +1886,7 @@ windows_core::imp::define_interface!(IDirectDrawVideoPort, IDirectDrawVideoPort_ impl std::ops::Deref for IDirectDrawVideoPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawVideoPort, windows_core::IUnknown); @@ -1962,7 +1962,7 @@ windows_core::imp::define_interface!(IDirectDrawVideoPortNotify, IDirectDrawVide impl std::ops::Deref for IDirectDrawVideoPortNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawVideoPortNotify, windows_core::IUnknown); @@ -3015,7 +3015,7 @@ impl Default for DDARGB { #[derive(Debug, Eq, PartialEq)] pub struct DDBLTBATCH { pub lprDest: *mut super::super::Foundation::RECT, - pub lpDDSSrc: std::mem::ManuallyDrop>, + pub lpDDSSrc: core::mem::ManuallyDrop>, pub lprSrc: *mut super::super::Foundation::RECT, pub dwFlags: u32, pub lpDDBltFx: *mut DDBLTFX, @@ -3075,7 +3075,7 @@ impl Default for DDBLTFX { #[repr(C)] pub union DDBLTFX_0 { pub dwZDestConst: u32, - pub lpDDSZBufferDest: std::mem::ManuallyDrop>, + pub lpDDSZBufferDest: core::mem::ManuallyDrop>, } impl Clone for DDBLTFX_0 { fn clone(&self) -> Self { @@ -3093,7 +3093,7 @@ impl Default for DDBLTFX_0 { #[repr(C)] pub union DDBLTFX_1 { pub dwZSrcConst: u32, - pub lpDDSZBufferSrc: std::mem::ManuallyDrop>, + pub lpDDSZBufferSrc: core::mem::ManuallyDrop>, } impl Clone for DDBLTFX_1 { fn clone(&self) -> Self { @@ -3111,7 +3111,7 @@ impl Default for DDBLTFX_1 { #[repr(C)] pub union DDBLTFX_2 { pub dwAlphaDestConst: u32, - pub lpDDSAlphaDest: std::mem::ManuallyDrop>, + pub lpDDSAlphaDest: core::mem::ManuallyDrop>, } impl Clone for DDBLTFX_2 { fn clone(&self) -> Self { @@ -3129,7 +3129,7 @@ impl Default for DDBLTFX_2 { #[repr(C)] pub union DDBLTFX_3 { pub dwAlphaSrcConst: u32, - pub lpDDSAlphaSrc: std::mem::ManuallyDrop>, + pub lpDDSAlphaSrc: core::mem::ManuallyDrop>, } impl Clone for DDBLTFX_3 { fn clone(&self) -> Self { @@ -3149,7 +3149,7 @@ pub union DDBLTFX_4 { pub dwFillColor: u32, pub dwFillDepth: u32, pub dwFillPixel: u32, - pub lpDDSPattern: std::mem::ManuallyDrop>, + pub lpDDSPattern: core::mem::ManuallyDrop>, } impl Clone for DDBLTFX_4 { fn clone(&self) -> Self { @@ -5780,7 +5780,7 @@ impl Default for DDOVERLAYFX { #[repr(C)] pub union DDOVERLAYFX_0 { pub dwAlphaDestConst: u32, - pub lpDDSAlphaDest: std::mem::ManuallyDrop>, + pub lpDDSAlphaDest: core::mem::ManuallyDrop>, } impl Clone for DDOVERLAYFX_0 { fn clone(&self) -> Self { @@ -5798,7 +5798,7 @@ impl Default for DDOVERLAYFX_0 { #[repr(C)] pub union DDOVERLAYFX_1 { pub dwAlphaSrcConst: u32, - pub lpDDSAlphaSrc: std::mem::ManuallyDrop>, + pub lpDDSAlphaSrc: core::mem::ManuallyDrop>, } impl Clone for DDOVERLAYFX_1 { fn clone(&self) -> Self { @@ -6032,10 +6032,10 @@ pub struct DDRAWI_DDRAWCLIPPER_LCL { pub lpGbl: *mut DDRAWI_DDRAWCLIPPER_GBL, pub lpDD_lcl: *mut DDRAWI_DIRECTDRAW_LCL, pub dwLocalRefCnt: u32, - pub pUnkOuter: std::mem::ManuallyDrop>, + pub pUnkOuter: core::mem::ManuallyDrop>, pub lpDD_int: *mut DDRAWI_DIRECTDRAW_INT, pub dwReserved1: usize, - pub pAddrefedThisOwner: std::mem::ManuallyDrop>, + pub pAddrefedThisOwner: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_Graphics_Gdi")] impl Clone for DDRAWI_DDRAWCLIPPER_LCL { @@ -6122,7 +6122,7 @@ pub struct DDRAWI_DDRAWPALETTE_LCL { pub lpGbl: *mut DDRAWI_DDRAWPALETTE_GBL, pub dwUnused0: usize, pub dwLocalRefCnt: u32, - pub pUnkOuter: std::mem::ManuallyDrop>, + pub pUnkOuter: core::mem::ManuallyDrop>, pub lpDD_lcl: *mut DDRAWI_DIRECTDRAW_LCL, pub dwReserved1: usize, pub dwDDRAWReserved1: usize, @@ -6598,7 +6598,7 @@ pub struct DDRAWI_DIRECTDRAW_LCL { pub dwLocalFlags: u32, pub dwLocalRefCnt: u32, pub dwProcessId: u32, - pub pUnkOuter: std::mem::ManuallyDrop>, + pub pUnkOuter: core::mem::ManuallyDrop>, pub dwObsolete1: u32, pub hWnd: usize, pub hDC: usize, @@ -6607,7 +6607,7 @@ pub struct DDRAWI_DIRECTDRAW_LCL { pub lpCB: *mut DDRAWI_DDRAWSURFACE_INT, pub dwPreferredMode: u32, pub hD3DInstance: super::super::Foundation::HINSTANCE, - pub pD3DIUnknown: std::mem::ManuallyDrop>, + pub pD3DIUnknown: core::mem::ManuallyDrop>, pub lpDDCB: *mut DDHAL_CALLBACKS, pub hDDVxd: usize, pub dwAppHackFlags: u32, @@ -9064,7 +9064,7 @@ impl Default for HEAPALIGNMENT { pub struct IUNKNOWN_LIST { pub lpLink: *mut IUNKNOWN_LIST, pub lpGuid: *mut windows_core::GUID, - pub lpIUnknown: std::mem::ManuallyDrop>, + pub lpIUnknown: core::mem::ManuallyDrop>, } impl Clone for IUNKNOWN_LIST { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs index 7ee4a2b722..8b62262160 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IDirectManipulationAutoScrollBehavior, IDir impl std::ops::Deref for IDirectManipulationAutoScrollBehavior { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationAutoScrollBehavior, windows_core::IUnknown); @@ -20,7 +20,7 @@ windows_core::imp::define_interface!(IDirectManipulationCompositor, IDirectManip impl std::ops::Deref for IDirectManipulationCompositor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationCompositor, windows_core::IUnknown); @@ -62,7 +62,7 @@ windows_core::imp::define_interface!(IDirectManipulationCompositor2, IDirectMani impl std::ops::Deref for IDirectManipulationCompositor2 { type Target = IDirectManipulationCompositor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationCompositor2, windows_core::IUnknown, IDirectManipulationCompositor); @@ -86,13 +86,13 @@ windows_core::imp::define_interface!(IDirectManipulationContent, IDirectManipula impl std::ops::Deref for IDirectManipulationContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationContent, windows_core::IUnknown); impl IDirectManipulationContent { pub unsafe fn GetContentRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentRect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetContentRect(&self, contentsize: *const super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -143,7 +143,7 @@ windows_core::imp::define_interface!(IDirectManipulationDeferContactService, IDi impl std::ops::Deref for IDirectManipulationDeferContactService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationDeferContactService, windows_core::IUnknown); @@ -169,7 +169,7 @@ windows_core::imp::define_interface!(IDirectManipulationDragDropBehavior, IDirec impl std::ops::Deref for IDirectManipulationDragDropBehavior { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationDragDropBehavior, windows_core::IUnknown); @@ -178,7 +178,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -192,7 +192,7 @@ windows_core::imp::define_interface!(IDirectManipulationDragDropEventHandler, ID impl std::ops::Deref for IDirectManipulationDragDropEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationDragDropEventHandler, windows_core::IUnknown); @@ -213,7 +213,7 @@ windows_core::imp::define_interface!(IDirectManipulationFrameInfoProvider, IDire impl std::ops::Deref for IDirectManipulationFrameInfoProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationFrameInfoProvider, windows_core::IUnknown); @@ -231,7 +231,7 @@ windows_core::imp::define_interface!(IDirectManipulationInteractionEventHandler, impl std::ops::Deref for IDirectManipulationInteractionEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationInteractionEventHandler, windows_core::IUnknown); @@ -252,7 +252,7 @@ windows_core::imp::define_interface!(IDirectManipulationManager, IDirectManipula impl std::ops::Deref for IDirectManipulationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationManager, windows_core::IUnknown); @@ -278,7 +278,7 @@ impl IDirectManipulationManager { } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn ProcessInput(&self, message: *const super::super::UI::WindowsAndMessaging::MSG) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProcessInput)(windows_core::Interface::as_raw(self), message, &mut result__).map(|| result__) } pub unsafe fn GetUpdateManager(&self) -> windows_core::Result @@ -324,7 +324,7 @@ windows_core::imp::define_interface!(IDirectManipulationManager2, IDirectManipul impl std::ops::Deref for IDirectManipulationManager2 { type Target = IDirectManipulationManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationManager2, windows_core::IUnknown, IDirectManipulationManager); @@ -346,7 +346,7 @@ windows_core::imp::define_interface!(IDirectManipulationManager3, IDirectManipul impl std::ops::Deref for IDirectManipulationManager3 { type Target = IDirectManipulationManager2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationManager3, windows_core::IUnknown, IDirectManipulationManager, IDirectManipulationManager2); @@ -368,7 +368,7 @@ windows_core::imp::define_interface!(IDirectManipulationPrimaryContent, IDirectM impl std::ops::Deref for IDirectManipulationPrimaryContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationPrimaryContent, windows_core::IUnknown); @@ -418,7 +418,7 @@ windows_core::imp::define_interface!(IDirectManipulationUpdateHandler, IDirectMa impl std::ops::Deref for IDirectManipulationUpdateHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationUpdateHandler, windows_core::IUnknown); @@ -436,7 +436,7 @@ windows_core::imp::define_interface!(IDirectManipulationUpdateManager, IDirectMa impl std::ops::Deref for IDirectManipulationUpdateManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationUpdateManager, windows_core::IUnknown); @@ -446,7 +446,7 @@ impl IDirectManipulationUpdateManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterWaitHandleCallback)(windows_core::Interface::as_raw(self), handle.param().abi(), eventhandler.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnregisterWaitHandleCallback(&self, cookie: u32) -> windows_core::Result<()> { @@ -470,7 +470,7 @@ windows_core::imp::define_interface!(IDirectManipulationViewport, IDirectManipul impl std::ops::Deref for IDirectManipulationViewport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationViewport, windows_core::IUnknown); @@ -491,7 +491,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTag(&self, id: Option<*mut u32>, result__: *mut Option) -> windows_core::Result<()> @@ -507,7 +507,7 @@ impl IDirectManipulationViewport { (windows_core::Interface::vtable(self).SetTag)(windows_core::Interface::as_raw(self), object.param().abi(), id).ok() } pub unsafe fn GetViewportRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewportRect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetViewportRect(&self, viewport: *const super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -567,7 +567,7 @@ impl IDirectManipulationViewport { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddEventHandler)(windows_core::Interface::as_raw(self), window.param().abi(), eventhandler.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveEventHandler(&self, cookie: u32) -> windows_core::Result<()> { @@ -622,7 +622,7 @@ windows_core::imp::define_interface!(IDirectManipulationViewport2, IDirectManipu impl std::ops::Deref for IDirectManipulationViewport2 { type Target = IDirectManipulationViewport; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationViewport2, windows_core::IUnknown, IDirectManipulationViewport); @@ -631,7 +631,7 @@ impl IDirectManipulationViewport2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBehavior)(windows_core::Interface::as_raw(self), behavior.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveBehavior(&self, cookie: u32) -> windows_core::Result<()> { @@ -652,7 +652,7 @@ windows_core::imp::define_interface!(IDirectManipulationViewportEventHandler, ID impl std::ops::Deref for IDirectManipulationViewportEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectManipulationViewportEventHandler, windows_core::IUnknown); 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 dc22c11362..bdcf1afa52 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs @@ -11,7 +11,7 @@ windows_core::imp::define_interface!(IDWriteAsyncResult, IDWriteAsyncResult_Vtbl impl std::ops::Deref for IDWriteAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteAsyncResult, windows_core::IUnknown); @@ -35,7 +35,7 @@ windows_core::imp::define_interface!(IDWriteBitmapRenderTarget, IDWriteBitmapRen impl std::ops::Deref for IDWriteBitmapRenderTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget, windows_core::IUnknown); @@ -64,7 +64,7 @@ impl IDWriteBitmapRenderTarget { (windows_core::Interface::vtable(self).SetCurrentTransform)(windows_core::Interface::as_raw(self), core::mem::transmute(transform.unwrap_or(std::ptr::null()))).ok() } pub unsafe fn GetSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Resize(&self, width: u32, height: u32) -> windows_core::Result<()> { @@ -92,7 +92,7 @@ windows_core::imp::define_interface!(IDWriteBitmapRenderTarget1, IDWriteBitmapRe impl std::ops::Deref for IDWriteBitmapRenderTarget1 { type Target = IDWriteBitmapRenderTarget; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget1, windows_core::IUnknown, IDWriteBitmapRenderTarget); @@ -116,13 +116,13 @@ windows_core::imp::define_interface!(IDWriteBitmapRenderTarget2, IDWriteBitmapRe impl std::ops::Deref for IDWriteBitmapRenderTarget2 { type Target = IDWriteBitmapRenderTarget1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget2, windows_core::IUnknown, IDWriteBitmapRenderTarget, IDWriteBitmapRenderTarget1); impl IDWriteBitmapRenderTarget2 { pub unsafe fn GetBitmapData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitmapData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -137,7 +137,7 @@ windows_core::imp::define_interface!(IDWriteBitmapRenderTarget3, IDWriteBitmapRe impl std::ops::Deref for IDWriteBitmapRenderTarget3 { type Target = IDWriteBitmapRenderTarget2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget3, windows_core::IUnknown, IDWriteBitmapRenderTarget, IDWriteBitmapRenderTarget1, IDWriteBitmapRenderTarget2); @@ -172,17 +172,17 @@ windows_core::imp::define_interface!(IDWriteColorGlyphRunEnumerator, IDWriteColo impl std::ops::Deref for IDWriteColorGlyphRunEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteColorGlyphRunEnumerator, windows_core::IUnknown); impl IDWriteColorGlyphRunEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentRun(&self) -> windows_core::Result<*mut DWRITE_COLOR_GLYPH_RUN> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentRun)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -198,13 +198,13 @@ windows_core::imp::define_interface!(IDWriteColorGlyphRunEnumerator1, IDWriteCol impl std::ops::Deref for IDWriteColorGlyphRunEnumerator1 { type Target = IDWriteColorGlyphRunEnumerator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteColorGlyphRunEnumerator1, windows_core::IUnknown, IDWriteColorGlyphRunEnumerator); impl IDWriteColorGlyphRunEnumerator1 { pub unsafe fn GetCurrentRun(&self) -> windows_core::Result<*mut DWRITE_COLOR_GLYPH_RUN1> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentRun)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -219,7 +219,7 @@ windows_core::imp::define_interface!(IDWriteFactory, IDWriteFactory_Vtbl, 0xb859 impl std::ops::Deref for IDWriteFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFactory, windows_core::IUnknown); @@ -234,7 +234,7 @@ impl IDWriteFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCustomFontCollection)(windows_core::Interface::as_raw(self), collectionloader.param().abi(), collectionkey, collectionkeysize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterFontCollectionLoader(&self, fontcollectionloader: P0) -> windows_core::Result<()> @@ -253,22 +253,22 @@ impl IDWriteFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFileReference)(windows_core::Interface::as_raw(self), filepath.param().abi(), core::mem::transmute(lastwritetime.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCustomFontFileReference(&self, fontfilereferencekey: *const core::ffi::c_void, fontfilereferencekeysize: u32, fontfileloader: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCustomFontFileReference)(windows_core::Interface::as_raw(self), fontfilereferencekey, fontfilereferencekeysize, fontfileloader.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontFace(&self, fontfacetype: DWRITE_FONT_FACE_TYPE, fontfiles: &[Option], faceindex: u32, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFace)(windows_core::Interface::as_raw(self), fontfacetype, fontfiles.len().try_into().unwrap(), core::mem::transmute(fontfiles.as_ptr()), faceindex, fontfacesimulationflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRenderingParams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRenderingParams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -276,11 +276,11 @@ impl IDWriteFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMonitorRenderingParams)(windows_core::Interface::as_raw(self), monitor.param().abi(), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCustomRenderingParams)(windows_core::Interface::as_raw(self), gamma, enhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterFontFileLoader(&self, fontfileloader: P0) -> windows_core::Result<()> @@ -301,22 +301,22 @@ impl IDWriteFactory { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTextFormat)(windows_core::Interface::as_raw(self), fontfamilyname.param().abi(), fontcollection.param().abi(), fontweight, fontstyle, fontstretch, fontsize, localename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTypography(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTypography)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetGdiInterop(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGdiInterop)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTextLayout(&self, string: &[u16], textformat: P0, maxwidth: f32, maxheight: f32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTextLayout)(windows_core::Interface::as_raw(self), core::mem::transmute(string.as_ptr()), string.len().try_into().unwrap(), textformat.param().abi(), maxwidth, maxheight, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateGdiCompatibleTextLayout(&self, string: &[u16], textformat: P0, layoutwidth: f32, layoutheight: f32, pixelsperdip: f32, transform: Option<*const DWRITE_MATRIX>, usegdinatural: P1) -> windows_core::Result @@ -324,18 +324,18 @@ impl IDWriteFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGdiCompatibleTextLayout)(windows_core::Interface::as_raw(self), core::mem::transmute(string.as_ptr()), string.len().try_into().unwrap(), textformat.param().abi(), layoutwidth, layoutheight, pixelsperdip, core::mem::transmute(transform.unwrap_or(std::ptr::null())), usegdinatural.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateEllipsisTrimmingSign(&self, textformat: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEllipsisTrimmingSign)(windows_core::Interface::as_raw(self), textformat.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTextAnalyzer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTextAnalyzer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateNumberSubstitution(&self, substitutionmethod: DWRITE_NUMBER_SUBSTITUTION_METHOD, localename: P0, ignoreuseroverride: P1) -> windows_core::Result @@ -343,11 +343,11 @@ impl IDWriteFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNumberSubstitution)(windows_core::Interface::as_raw(self), substitutionmethod, localename.param().abi(), ignoreuseroverride.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, pixelsperdip: f32, transform: Option<*const DWRITE_MATRIX>, renderingmode: DWRITE_RENDERING_MODE, measuringmode: DWRITE_MEASURING_MODE, baselineoriginx: f32, baselineoriginy: f32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGlyphRunAnalysis)(windows_core::Interface::as_raw(self), glyphrun, pixelsperdip, core::mem::transmute(transform.unwrap_or(std::ptr::null())), renderingmode, measuringmode, baselineoriginx, baselineoriginy, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -385,7 +385,7 @@ windows_core::imp::define_interface!(IDWriteFactory1, IDWriteFactory1_Vtbl, 0x30 impl std::ops::Deref for IDWriteFactory1 { type Target = IDWriteFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFactory1, windows_core::IUnknown, IDWriteFactory); @@ -397,7 +397,7 @@ impl IDWriteFactory1 { (windows_core::Interface::vtable(self).GetEudcFontCollection)(windows_core::Interface::as_raw(self), core::mem::transmute(fontcollection), checkforupdates.param().abi()).ok() } pub unsafe fn CreateCustomRenderingParams(&self, gamma: f32, enhancedcontrast: f32, enhancedcontrastgrayscale: f32, cleartypelevel: f32, pixelgeometry: DWRITE_PIXEL_GEOMETRY, renderingmode: DWRITE_RENDERING_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCustomRenderingParams)(windows_core::Interface::as_raw(self), gamma, enhancedcontrast, enhancedcontrastgrayscale, cleartypelevel, pixelgeometry, renderingmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -413,29 +413,29 @@ windows_core::imp::define_interface!(IDWriteFactory2, IDWriteFactory2_Vtbl, 0x04 impl std::ops::Deref for IDWriteFactory2 { type Target = IDWriteFactory1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFactory2, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1); impl IDWriteFactory2 { pub unsafe fn GetSystemFontFallback(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemFontFallback)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontFallbackBuilder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFallbackBuilder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TranslateColorGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: Option<*const DWRITE_GLYPH_RUN_DESCRIPTION>, measuringmode: DWRITE_MEASURING_MODE, worldtodevicetransform: Option<*const DWRITE_MATRIX>, colorpaletteindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TranslateColorGlyphRun)(windows_core::Interface::as_raw(self), baselineoriginx, baselineoriginy, glyphrun, core::mem::transmute(glyphrundescription.unwrap_or(std::ptr::null())), measuringmode, core::mem::transmute(worldtodevicetransform.unwrap_or(std::ptr::null())), colorpaletteindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCustomRenderingParams(&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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCustomRenderingParams)(windows_core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: Option<*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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGlyphRunAnalysis)(windows_core::Interface::as_raw(self), glyphrun, core::mem::transmute(transform.unwrap_or(std::ptr::null())), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -454,46 +454,46 @@ windows_core::imp::define_interface!(IDWriteFactory3, IDWriteFactory3_Vtbl, 0x9a impl std::ops::Deref for IDWriteFactory3 { type Target = IDWriteFactory2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFactory3, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2); impl IDWriteFactory3 { pub unsafe fn CreateGlyphRunAnalysis(&self, glyphrun: *const DWRITE_GLYPH_RUN, transform: Option<*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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGlyphRunAnalysis)(windows_core::Interface::as_raw(self), glyphrun, core::mem::transmute(transform.unwrap_or(std::ptr::null())), renderingmode, measuringmode, gridfitmode, antialiasmode, baselineoriginx, baselineoriginy, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCustomRenderingParams(&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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCustomRenderingParams)(windows_core::Interface::as_raw(self), gamma, enhancedcontrast, grayscaleenhancedcontrast, cleartypelevel, pixelgeometry, renderingmode, gridfitmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontFaceReference(&self, fontfile: P0, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFaceReference)(windows_core::Interface::as_raw(self), fontfile.param().abi(), faceindex, fontsimulations, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontFaceReference2(&self, filepath: P0, lastwritetime: Option<*const super::super::Foundation::FILETIME>, faceindex: u32, fontsimulations: DWRITE_FONT_SIMULATIONS) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFaceReference2)(windows_core::Interface::as_raw(self), filepath.param().abi(), core::mem::transmute(lastwritetime.unwrap_or(std::ptr::null())), faceindex, fontsimulations, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSystemFontSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemFontSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontSetBuilder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontSetBuilder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontCollectionFromFontSet(&self, fontset: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontCollectionFromFontSet)(windows_core::Interface::as_raw(self), fontset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSystemFontCollection(&self, includedownloadablefonts: P0, fontcollection: *mut Option, checkforupdates: P1) -> windows_core::Result<()> @@ -504,7 +504,7 @@ impl IDWriteFactory3 { (windows_core::Interface::vtable(self).GetSystemFontCollection)(windows_core::Interface::as_raw(self), includedownloadablefonts.param().abi(), core::mem::transmute(fontcollection), checkforupdates.param().abi()).ok() } pub unsafe fn GetFontDownloadQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontDownloadQueue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -527,24 +527,24 @@ windows_core::imp::define_interface!(IDWriteFactory4, IDWriteFactory4_Vtbl, 0x4b impl std::ops::Deref for IDWriteFactory4 { type Target = IDWriteFactory3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFactory4, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3); impl IDWriteFactory4 { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn TranslateColorGlyphRun(&self, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: Option<*const DWRITE_GLYPH_RUN_DESCRIPTION>, desiredglyphimageformats: DWRITE_GLYPH_IMAGE_FORMATS, measuringmode: DWRITE_MEASURING_MODE, worldanddpitransform: Option<*const DWRITE_MATRIX>, colorpaletteindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TranslateColorGlyphRun)(windows_core::Interface::as_raw(self), core::mem::transmute(baselineorigin), glyphrun, core::mem::transmute(glyphrundescription.unwrap_or(std::ptr::null())), desiredglyphimageformats, measuringmode, core::mem::transmute(worldanddpitransform.unwrap_or(std::ptr::null())), colorpaletteindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputeGlyphOrigins)(windows_core::Interface::as_raw(self), glyphrun, core::mem::transmute(baselineorigin), &mut result__).map(|| result__) } #[cfg(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: Option<*const DWRITE_MATRIX>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputeGlyphOrigins2)(windows_core::Interface::as_raw(self), glyphrun, measuringmode, core::mem::transmute(baselineorigin), core::mem::transmute(worldanddpitransform.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } } @@ -570,17 +570,17 @@ windows_core::imp::define_interface!(IDWriteFactory5, IDWriteFactory5_Vtbl, 0x95 impl std::ops::Deref for IDWriteFactory5 { type Target = IDWriteFactory4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFactory5, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4); impl IDWriteFactory5 { pub unsafe fn CreateFontSetBuilder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontSetBuilder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInMemoryFontFileLoader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInMemoryFontFileLoader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateHttpFontFileLoader(&self, referrerurl: P0, extraheaders: P1) -> windows_core::Result @@ -588,14 +588,14 @@ impl IDWriteFactory5 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateHttpFontFileLoader)(windows_core::Interface::as_raw(self), referrerurl.param().abi(), extraheaders.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AnalyzeContainerType(&self, filedata: *const core::ffi::c_void, filedatasize: u32) -> DWRITE_CONTAINER_TYPE { (windows_core::Interface::vtable(self).AnalyzeContainerType)(windows_core::Interface::as_raw(self), 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UnpackFontFile)(windows_core::Interface::as_raw(self), containertype, filedata, filedatasize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -614,7 +614,7 @@ windows_core::imp::define_interface!(IDWriteFactory6, IDWriteFactory6_Vtbl, 0xf3 impl std::ops::Deref for IDWriteFactory6 { type Target = IDWriteFactory5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFactory6, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5); @@ -623,39 +623,39 @@ impl IDWriteFactory6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFaceReference)(windows_core::Interface::as_raw(self), fontfile.param().abi(), faceindex, fontsimulations, core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontResource(&self, fontfile: P0, faceindex: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontResource)(windows_core::Interface::as_raw(self), fontfile.param().abi(), faceindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSystemFontSet(&self, includedownloadablefonts: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemFontSet)(windows_core::Interface::as_raw(self), includedownloadablefonts.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSystemFontCollection(&self, includedownloadablefonts: P0, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemFontCollection)(windows_core::Interface::as_raw(self), includedownloadablefonts.param().abi(), fontfamilymodel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontCollectionFromFontSet(&self, fontset: P0, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontCollectionFromFontSet)(windows_core::Interface::as_raw(self), fontset.param().abi(), fontfamilymodel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontSetBuilder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontSetBuilder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTextFormat(&self, fontfamilyname: P0, fontcollection: P1, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE], fontsize: f32, localename: P2) -> windows_core::Result @@ -664,7 +664,7 @@ impl IDWriteFactory6 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTextFormat)(windows_core::Interface::as_raw(self), fontfamilyname.param().abi(), fontcollection.param().abi(), core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len().try_into().unwrap(), fontsize, localename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -685,7 +685,7 @@ windows_core::imp::define_interface!(IDWriteFactory7, IDWriteFactory7_Vtbl, 0x35 impl std::ops::Deref for IDWriteFactory7 { type Target = IDWriteFactory6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFactory7, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5, IDWriteFactory6); @@ -694,14 +694,14 @@ impl IDWriteFactory7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemFontSet)(windows_core::Interface::as_raw(self), includedownloadablefonts.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSystemFontCollection(&self, includedownloadablefonts: P0, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemFontCollection)(windows_core::Interface::as_raw(self), includedownloadablefonts.param().abi(), fontfamilymodel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -717,14 +717,14 @@ windows_core::imp::define_interface!(IDWriteFactory8, IDWriteFactory8_Vtbl, 0xee impl std::ops::Deref for IDWriteFactory8 { type Target = IDWriteFactory7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFactory8, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5, IDWriteFactory6, IDWriteFactory7); impl IDWriteFactory8 { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] pub unsafe fn TranslateColorGlyphRun(&self, baselineorigin: super::Direct2D::Common::D2D_POINT_2F, glyphrun: *const DWRITE_GLYPH_RUN, glyphrundescription: Option<*const DWRITE_GLYPH_RUN_DESCRIPTION>, desiredglyphimageformats: DWRITE_GLYPH_IMAGE_FORMATS, paintfeaturelevel: DWRITE_PAINT_FEATURE_LEVEL, measuringmode: DWRITE_MEASURING_MODE, worldanddpitransform: Option<*const DWRITE_MATRIX>, colorpaletteindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TranslateColorGlyphRun)(windows_core::Interface::as_raw(self), core::mem::transmute(baselineorigin), glyphrun, core::mem::transmute(glyphrundescription.unwrap_or(std::ptr::null())), desiredglyphimageformats, paintfeaturelevel, measuringmode, core::mem::transmute(worldanddpitransform.unwrap_or(std::ptr::null())), colorpaletteindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -742,13 +742,13 @@ windows_core::imp::define_interface!(IDWriteFont, IDWriteFont_Vtbl, 0xacd16696_8 impl std::ops::Deref for IDWriteFont { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFont, windows_core::IUnknown); impl IDWriteFont { pub unsafe fn GetFontFamily(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFamily)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetWeight(&self) -> DWRITE_FONT_WEIGHT { @@ -764,7 +764,7 @@ impl IDWriteFont { (windows_core::Interface::vtable(self).IsSymbolFont)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetFaceNames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFaceNames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInformationalStrings(&self, informationalstringid: DWRITE_INFORMATIONAL_STRING_ID, informationalstrings: *mut Option, exists: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -777,11 +777,11 @@ impl IDWriteFont { (windows_core::Interface::vtable(self).GetMetrics)(windows_core::Interface::as_raw(self), fontmetrics) } pub unsafe fn HasCharacter(&self, unicodevalue: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasCharacter)(windows_core::Interface::as_raw(self), unicodevalue, &mut result__).map(|| result__) } pub unsafe fn CreateFontFace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -806,7 +806,7 @@ windows_core::imp::define_interface!(IDWriteFont1, IDWriteFont1_Vtbl, 0xacd16696 impl std::ops::Deref for IDWriteFont1 { type Target = IDWriteFont; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFont1, windows_core::IUnknown, IDWriteFont); @@ -815,7 +815,7 @@ impl IDWriteFont1 { (windows_core::Interface::vtable(self).GetMetrics)(windows_core::Interface::as_raw(self), fontmetrics) } pub unsafe fn GetPanose(&self) -> DWRITE_PANOSE { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPanose)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -840,7 +840,7 @@ windows_core::imp::define_interface!(IDWriteFont2, IDWriteFont2_Vtbl, 0x29748ed6 impl std::ops::Deref for IDWriteFont2 { type Target = IDWriteFont1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFont2, windows_core::IUnknown, IDWriteFont, IDWriteFont1); @@ -860,13 +860,13 @@ windows_core::imp::define_interface!(IDWriteFont3, IDWriteFont3_Vtbl, 0x29748ed6 impl std::ops::Deref for IDWriteFont3 { type Target = IDWriteFont2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFont3, windows_core::IUnknown, IDWriteFont, IDWriteFont1, IDWriteFont2); impl IDWriteFont3 { pub unsafe fn CreateFontFace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Equals(&self, font: P0) -> super::super::Foundation::BOOL @@ -876,7 +876,7 @@ impl IDWriteFont3 { (windows_core::Interface::vtable(self).Equals)(windows_core::Interface::as_raw(self), font.param().abi()) } pub unsafe fn GetFontFaceReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFaceReference)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HasCharacter(&self, unicodevalue: u32) -> super::super::Foundation::BOOL { @@ -901,7 +901,7 @@ windows_core::imp::define_interface!(IDWriteFontCollection, IDWriteFontCollectio impl std::ops::Deref for IDWriteFontCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontCollection, windows_core::IUnknown); @@ -910,7 +910,7 @@ impl IDWriteFontCollection { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFamily)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFamilyName(&self, familyname: P0, index: *mut u32, exists: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -923,7 +923,7 @@ impl IDWriteFontCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFromFontFace)(windows_core::Interface::as_raw(self), fontface.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -941,17 +941,17 @@ windows_core::imp::define_interface!(IDWriteFontCollection1, IDWriteFontCollecti impl std::ops::Deref for IDWriteFontCollection1 { type Target = IDWriteFontCollection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontCollection1, windows_core::IUnknown, IDWriteFontCollection); impl IDWriteFontCollection1 { pub unsafe fn GetFontSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontFamily(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFamily)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -967,27 +967,27 @@ windows_core::imp::define_interface!(IDWriteFontCollection2, IDWriteFontCollecti impl std::ops::Deref for IDWriteFontCollection2 { type Target = IDWriteFontCollection1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontCollection2, windows_core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1); impl IDWriteFontCollection2 { pub unsafe fn GetFontFamily(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFamily)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMatchingFonts(&self, familyname: P0, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingFonts)(windows_core::Interface::as_raw(self), familyname.param().abi(), core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontFamilyModel(&self) -> DWRITE_FONT_FAMILY_MODEL { (windows_core::Interface::vtable(self).GetFontFamilyModel)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetFontSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1005,7 +1005,7 @@ windows_core::imp::define_interface!(IDWriteFontCollection3, IDWriteFontCollecti impl std::ops::Deref for IDWriteFontCollection3 { type Target = IDWriteFontCollection2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontCollection3, windows_core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1, IDWriteFontCollection2); @@ -1025,7 +1025,7 @@ windows_core::imp::define_interface!(IDWriteFontCollectionLoader, IDWriteFontCol impl std::ops::Deref for IDWriteFontCollectionLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontCollectionLoader, windows_core::IUnknown); @@ -1034,7 +1034,7 @@ impl IDWriteFontCollectionLoader { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEnumeratorFromKey)(windows_core::Interface::as_raw(self), factory.param().abi(), collectionkey, collectionkeysize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1049,7 +1049,7 @@ windows_core::imp::define_interface!(IDWriteFontDownloadListener, IDWriteFontDow impl std::ops::Deref for IDWriteFontDownloadListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontDownloadListener, windows_core::IUnknown); @@ -1073,7 +1073,7 @@ windows_core::imp::define_interface!(IDWriteFontDownloadQueue, IDWriteFontDownlo impl std::ops::Deref for IDWriteFontDownloadQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontDownloadQueue, windows_core::IUnknown); @@ -1082,7 +1082,7 @@ impl IDWriteFontDownloadQueue { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddListener)(windows_core::Interface::as_raw(self), listener.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveListener(&self, token: u32) -> windows_core::Result<()> { @@ -1120,7 +1120,7 @@ windows_core::imp::define_interface!(IDWriteFontFace, IDWriteFontFace_Vtbl, 0x5f impl std::ops::Deref for IDWriteFontFace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFace, windows_core::IUnknown); @@ -1174,7 +1174,7 @@ impl IDWriteFontFace { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecommendedRenderingMode)(windows_core::Interface::as_raw(self), emsize, pixelsperdip, measuringmode, renderingparams.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetGdiCompatibleMetrics(&self, emsize: f32, pixelsperdip: f32, transform: Option<*const DWRITE_MATRIX>, fontfacemetrics: *mut DWRITE_FONT_METRICS) -> windows_core::Result<()> { @@ -1216,7 +1216,7 @@ windows_core::imp::define_interface!(IDWriteFontFace1, IDWriteFontFace1_Vtbl, 0x impl std::ops::Deref for IDWriteFontFace1 { type Target = IDWriteFontFace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFace1, windows_core::IUnknown, IDWriteFontFace); @@ -1228,7 +1228,7 @@ impl IDWriteFontFace1 { (windows_core::Interface::vtable(self).GetGdiCompatibleMetrics)(windows_core::Interface::as_raw(self), emsize, pixelsperdip, core::mem::transmute(transform.unwrap_or(std::ptr::null())), fontmetrics).ok() } pub unsafe fn GetCaretMetrics(&self) -> DWRITE_CARET_METRICS { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaretMetrics)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -1261,7 +1261,7 @@ impl IDWriteFontFace1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecommendedRenderingMode)(windows_core::Interface::as_raw(self), fontemsize, dpix, dpiy, core::mem::transmute(transform.unwrap_or(std::ptr::null())), issideways.param().abi(), outlinethreshold, measuringmode, &mut result__).map(|| result__) } pub unsafe fn GetVerticalGlyphVariants(&self, glyphcount: u32, nominalglyphindices: *const u16, verticalglyphindices: *mut u16) -> windows_core::Result<()> { @@ -1293,7 +1293,7 @@ windows_core::imp::define_interface!(IDWriteFontFace2, IDWriteFontFace2_Vtbl, 0x impl std::ops::Deref for IDWriteFontFace2 { type Target = IDWriteFontFace1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFace2, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1); @@ -1333,17 +1333,17 @@ windows_core::imp::define_interface!(IDWriteFontFace3, IDWriteFontFace3_Vtbl, 0x impl std::ops::Deref for IDWriteFontFace3 { type Target = IDWriteFontFace2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFace3, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2); impl IDWriteFontFace3 { pub unsafe fn GetFontFaceReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFaceReference)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPanose(&self) -> DWRITE_PANOSE { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPanose)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -1357,11 +1357,11 @@ impl IDWriteFontFace3 { (windows_core::Interface::vtable(self).GetStyle)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetFamilyNames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFamilyNames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFaceNames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFaceNames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInformationalStrings(&self, informationalstringid: DWRITE_INFORMATIONAL_STRING_ID, informationalstrings: *mut Option, exists: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -1387,14 +1387,14 @@ impl IDWriteFontFace3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AreCharactersLocal)(windows_core::Interface::as_raw(self), core::mem::transmute(characters.as_ptr()), characters.len().try_into().unwrap(), enqueueifnotlocal.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AreGlyphsLocal(&self, glyphindices: &[u16], enqueueifnotlocal: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AreGlyphsLocal)(windows_core::Interface::as_raw(self), core::mem::transmute(glyphindices.as_ptr()), glyphindices.len().try_into().unwrap(), enqueueifnotlocal.param().abi(), &mut result__).map(|| result__) } } @@ -1422,13 +1422,13 @@ windows_core::imp::define_interface!(IDWriteFontFace4, IDWriteFontFace4_Vtbl, 0x impl std::ops::Deref for IDWriteFontFace4 { type Target = IDWriteFontFace3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFace4, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3); impl IDWriteFontFace4 { pub unsafe fn GetGlyphImageFormats(&self, glyphid: u16, pixelsperemfirst: u32, pixelsperemlast: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlyphImageFormats)(windows_core::Interface::as_raw(self), glyphid, pixelsperemfirst, pixelsperemlast, &mut result__).map(|| result__) } pub unsafe fn GetGlyphImageFormats2(&self) -> DWRITE_GLYPH_IMAGE_FORMATS { @@ -1459,7 +1459,7 @@ windows_core::imp::define_interface!(IDWriteFontFace5, IDWriteFontFace5_Vtbl, 0x impl std::ops::Deref for IDWriteFontFace5 { type Target = IDWriteFontFace4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFace5, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4); @@ -1474,7 +1474,7 @@ impl IDWriteFontFace5 { (windows_core::Interface::vtable(self).HasVariations)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetFontResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Equals(&self, fontface: P0) -> super::super::Foundation::BOOL @@ -1499,17 +1499,17 @@ windows_core::imp::define_interface!(IDWriteFontFace6, IDWriteFontFace6_Vtbl, 0x impl std::ops::Deref for IDWriteFontFace6 { type Target = IDWriteFontFace5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFace6, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4, IDWriteFontFace5); impl IDWriteFontFace6 { pub unsafe fn GetFamilyNames(&self, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFamilyNames)(windows_core::Interface::as_raw(self), fontfamilymodel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFaceNames(&self, fontfamilymodel: DWRITE_FONT_FAMILY_MODEL) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFaceNames)(windows_core::Interface::as_raw(self), fontfamilymodel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1525,7 +1525,7 @@ windows_core::imp::define_interface!(IDWriteFontFace7, IDWriteFontFace7_Vtbl, 0x impl std::ops::Deref for IDWriteFontFace7 { type Target = IDWriteFontFace6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFace7, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4, IDWriteFontFace5, IDWriteFontFace6); @@ -1534,7 +1534,7 @@ impl IDWriteFontFace7 { (windows_core::Interface::vtable(self).GetPaintFeatureLevel)(windows_core::Interface::as_raw(self), glyphimageformat) } pub unsafe fn CreatePaintReader(&self, glyphimageformat: DWRITE_GLYPH_IMAGE_FORMATS, paintfeaturelevel: DWRITE_PAINT_FEATURE_LEVEL) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePaintReader)(windows_core::Interface::as_raw(self), glyphimageformat, paintfeaturelevel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1550,17 +1550,17 @@ windows_core::imp::define_interface!(IDWriteFontFaceReference, IDWriteFontFaceRe impl std::ops::Deref for IDWriteFontFaceReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFaceReference, windows_core::IUnknown); impl IDWriteFontFaceReference { pub unsafe fn CreateFontFace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontFaceWithSimulations(&self, fontfacesimulationflags: DWRITE_FONT_SIMULATIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFaceWithSimulations)(windows_core::Interface::as_raw(self), fontfacesimulationflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Equals(&self, fontfacereference: P0) -> super::super::Foundation::BOOL @@ -1576,7 +1576,7 @@ impl IDWriteFontFaceReference { (windows_core::Interface::vtable(self).GetSimulations)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetFontFile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLocalFileSize(&self) -> u64 { @@ -1586,7 +1586,7 @@ impl IDWriteFontFaceReference { (windows_core::Interface::vtable(self).GetFileSize)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetFileTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocality(&self) -> DWRITE_LOCALITY { @@ -1629,13 +1629,13 @@ windows_core::imp::define_interface!(IDWriteFontFaceReference1, IDWriteFontFaceR impl std::ops::Deref for IDWriteFontFaceReference1 { type Target = IDWriteFontFaceReference; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFaceReference1, windows_core::IUnknown, IDWriteFontFaceReference); impl IDWriteFontFaceReference1 { pub unsafe fn CreateFontFace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontAxisValueCount(&self) -> u32 { @@ -1658,7 +1658,7 @@ windows_core::imp::define_interface!(IDWriteFontFallback, IDWriteFontFallback_Vt impl std::ops::Deref for IDWriteFontFallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFallback, windows_core::IUnknown); @@ -1683,7 +1683,7 @@ windows_core::imp::define_interface!(IDWriteFontFallback1, IDWriteFontFallback1_ impl std::ops::Deref for IDWriteFontFallback1 { type Target = IDWriteFontFallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFallback1, windows_core::IUnknown, IDWriteFontFallback); @@ -1708,7 +1708,7 @@ windows_core::imp::define_interface!(IDWriteFontFallbackBuilder, IDWriteFontFall impl std::ops::Deref for IDWriteFontFallbackBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFallbackBuilder, windows_core::IUnknown); @@ -1728,7 +1728,7 @@ impl IDWriteFontFallbackBuilder { (windows_core::Interface::vtable(self).AddMappings)(windows_core::Interface::as_raw(self), fontfallback.param().abi()).ok() } pub unsafe fn CreateFontFallback(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFallback)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1745,21 +1745,21 @@ windows_core::imp::define_interface!(IDWriteFontFamily, IDWriteFontFamily_Vtbl, impl std::ops::Deref for IDWriteFontFamily { type Target = IDWriteFontList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFamily, windows_core::IUnknown, IDWriteFontList); impl IDWriteFontFamily { pub unsafe fn GetFamilyNames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFamilyNames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstMatchingFont)(windows_core::Interface::as_raw(self), weight, stretch, style, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingFonts)(windows_core::Interface::as_raw(self), weight, stretch, style, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1776,7 +1776,7 @@ windows_core::imp::define_interface!(IDWriteFontFamily1, IDWriteFontFamily1_Vtbl impl std::ops::Deref for IDWriteFontFamily1 { type Target = IDWriteFontFamily; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFamily1, windows_core::IUnknown, IDWriteFontList, IDWriteFontFamily); @@ -1785,11 +1785,11 @@ impl IDWriteFontFamily1 { (windows_core::Interface::vtable(self).GetFontLocality)(windows_core::Interface::as_raw(self), listindex) } pub unsafe fn GetFont(&self, listindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFont)(windows_core::Interface::as_raw(self), listindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFaceReference)(windows_core::Interface::as_raw(self), listindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1806,17 +1806,17 @@ windows_core::imp::define_interface!(IDWriteFontFamily2, IDWriteFontFamily2_Vtbl impl std::ops::Deref for IDWriteFontFamily2 { type Target = IDWriteFontFamily1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFamily2, windows_core::IUnknown, IDWriteFontList, IDWriteFontFamily, IDWriteFontFamily1); impl IDWriteFontFamily2 { pub unsafe fn GetMatchingFonts(&self, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingFonts)(windows_core::Interface::as_raw(self), core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1832,7 +1832,7 @@ windows_core::imp::define_interface!(IDWriteFontFile, IDWriteFontFile_Vtbl, 0x73 impl std::ops::Deref for IDWriteFontFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFile, windows_core::IUnknown); @@ -1841,7 +1841,7 @@ impl IDWriteFontFile { (windows_core::Interface::vtable(self).GetReferenceKey)(windows_core::Interface::as_raw(self), fontfilereferencekey, fontfilereferencekeysize).ok() } pub unsafe fn GetLoader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLoader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Analyze(&self, issupportedfonttype: *mut super::super::Foundation::BOOL, fontfiletype: *mut DWRITE_FONT_FILE_TYPE, fontfacetype: Option<*mut DWRITE_FONT_FACE_TYPE>, numberoffaces: *mut u32) -> windows_core::Result<()> { @@ -1861,17 +1861,17 @@ windows_core::imp::define_interface!(IDWriteFontFileEnumerator, IDWriteFontFileE impl std::ops::Deref for IDWriteFontFileEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFileEnumerator, windows_core::IUnknown); impl IDWriteFontFileEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentFontFile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentFontFile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1887,13 +1887,13 @@ windows_core::imp::define_interface!(IDWriteFontFileLoader, IDWriteFontFileLoade impl std::ops::Deref for IDWriteFontFileLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStreamFromKey)(windows_core::Interface::as_raw(self), fontfilereferencekey, fontfilereferencekeysize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1908,7 +1908,7 @@ windows_core::imp::define_interface!(IDWriteFontFileStream, IDWriteFontFileStrea impl std::ops::Deref for IDWriteFontFileStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontFileStream, windows_core::IUnknown); @@ -1920,11 +1920,11 @@ impl IDWriteFontFileStream { (windows_core::Interface::vtable(self).ReleaseFileFragment)(windows_core::Interface::as_raw(self), fragmentcontext) } pub unsafe fn GetFileSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastWriteTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastWriteTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1942,20 +1942,20 @@ windows_core::imp::define_interface!(IDWriteFontList, IDWriteFontList_Vtbl, 0x1a impl std::ops::Deref for IDWriteFontList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontList, windows_core::IUnknown); impl IDWriteFontList { pub unsafe fn GetFontCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontCount(&self) -> u32 { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFont)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1972,7 +1972,7 @@ windows_core::imp::define_interface!(IDWriteFontList1, IDWriteFontList1_Vtbl, 0x impl std::ops::Deref for IDWriteFontList1 { type Target = IDWriteFontList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontList1, windows_core::IUnknown, IDWriteFontList); @@ -1981,11 +1981,11 @@ impl IDWriteFontList1 { (windows_core::Interface::vtable(self).GetFontLocality)(windows_core::Interface::as_raw(self), listindex) } pub unsafe fn GetFont(&self, listindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFont)(windows_core::Interface::as_raw(self), listindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFaceReference)(windows_core::Interface::as_raw(self), listindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2002,13 +2002,13 @@ windows_core::imp::define_interface!(IDWriteFontList2, IDWriteFontList2_Vtbl, 0x impl std::ops::Deref for IDWriteFontList2 { type Target = IDWriteFontList1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontList2, windows_core::IUnknown, IDWriteFontList, IDWriteFontList1); impl IDWriteFontList2 { pub unsafe fn GetFontSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2023,13 +2023,13 @@ windows_core::imp::define_interface!(IDWriteFontResource, IDWriteFontResource_Vt impl std::ops::Deref for IDWriteFontResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontResource, windows_core::IUnknown); impl IDWriteFontResource { pub unsafe fn GetFontFile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontFaceIndex(&self) -> u32 { @@ -2048,7 +2048,7 @@ impl IDWriteFontResource { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAxisNames)(windows_core::Interface::as_raw(self), axisindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAxisValueNameCount(&self, axisindex: u32) -> u32 { @@ -2061,11 +2061,11 @@ impl IDWriteFontResource { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFace)(windows_core::Interface::as_raw(self), fontsimulations, core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontFaceReference(&self, fontsimulations: DWRITE_FONT_SIMULATIONS, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFaceReference)(windows_core::Interface::as_raw(self), fontsimulations, core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2091,7 +2091,7 @@ windows_core::imp::define_interface!(IDWriteFontSet, IDWriteFontSet_Vtbl, 0x5358 impl std::ops::Deref for IDWriteFontSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontSet, windows_core::IUnknown); @@ -2100,7 +2100,7 @@ impl IDWriteFontSet { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFaceReference)(windows_core::Interface::as_raw(self), listindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFontFaceReference(&self, fontfacereference: P0, listindex: *mut u32, exists: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -2116,32 +2116,32 @@ impl IDWriteFontSet { (windows_core::Interface::vtable(self).FindFontFace)(windows_core::Interface::as_raw(self), fontface.param().abi(), listindex, exists).ok() } pub unsafe fn GetPropertyValues(&self, propertyid: DWRITE_FONT_PROPERTY_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyValues)(windows_core::Interface::as_raw(self), propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyValues2(&self, propertyid: DWRITE_FONT_PROPERTY_ID, preferredlocalenames: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyValues2)(windows_core::Interface::as_raw(self), propertyid, preferredlocalenames.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyValues3(&self, listindex: u32, propertyid: DWRITE_FONT_PROPERTY_ID, exists: *mut super::super::Foundation::BOOL, values: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetPropertyValues3)(windows_core::Interface::as_raw(self), listindex, propertyid, exists, core::mem::transmute(values)).ok() } pub unsafe fn GetPropertyOccurrenceCount(&self, property: *const DWRITE_FONT_PROPERTY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyOccurrenceCount)(windows_core::Interface::as_raw(self), property, &mut result__).map(|| result__) } pub unsafe fn GetMatchingFonts(&self, familyname: P0, fontweight: DWRITE_FONT_WEIGHT, fontstretch: DWRITE_FONT_STRETCH, fontstyle: DWRITE_FONT_STYLE) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingFonts)(windows_core::Interface::as_raw(self), familyname.param().abi(), fontweight, fontstretch, fontstyle, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMatchingFonts2(&self, properties: &[DWRITE_FONT_PROPERTY]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingFonts2)(windows_core::Interface::as_raw(self), core::mem::transmute(properties.as_ptr()), properties.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2165,35 +2165,35 @@ windows_core::imp::define_interface!(IDWriteFontSet1, IDWriteFontSet1_Vtbl, 0x7e impl std::ops::Deref for IDWriteFontSet1 { type Target = IDWriteFontSet; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontSet1, windows_core::IUnknown, IDWriteFontSet); impl IDWriteFontSet1 { pub unsafe fn GetMatchingFonts(&self, fontproperty: Option<*const DWRITE_FONT_PROPERTY>, fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingFonts)(windows_core::Interface::as_raw(self), core::mem::transmute(fontproperty.unwrap_or(std::ptr::null())), core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFirstFontResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstFontResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilteredFonts(&self, indices: &[u32]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteredFonts)(windows_core::Interface::as_raw(self), core::mem::transmute(indices.as_ptr()), indices.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilteredFonts2(&self, fontaxisranges: &[DWRITE_FONT_AXIS_RANGE], selectanyrange: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteredFonts2)(windows_core::Interface::as_raw(self), core::mem::transmute(fontaxisranges.as_ptr()), fontaxisranges.len().try_into().unwrap(), selectanyrange.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilteredFonts3(&self, properties: Option<&[DWRITE_FONT_PROPERTY]>, selectanyproperty: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteredFonts3)(windows_core::Interface::as_raw(self), core::mem::transmute(properties.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), selectanyproperty.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilteredFontIndices(&self, fontaxisranges: &[DWRITE_FONT_AXIS_RANGE], selectanyrange: P0, indices: &mut [u32], actualindexcount: *mut u32) -> windows_core::Result<()> @@ -2215,15 +2215,15 @@ impl IDWriteFontSet1 { (windows_core::Interface::vtable(self).GetFontAxisRanges2)(windows_core::Interface::as_raw(self), core::mem::transmute(fontaxisranges.as_ptr()), fontaxisranges.len().try_into().unwrap(), actualfontaxisrangecount).ok() } pub unsafe fn GetFontFaceReference(&self, listindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFaceReference)(windows_core::Interface::as_raw(self), listindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontResource(&self, listindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontResource)(windows_core::Interface::as_raw(self), listindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFontFace(&self, listindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFace)(windows_core::Interface::as_raw(self), listindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontLocality(&self, listindex: u32) -> DWRITE_LOCALITY { @@ -2253,7 +2253,7 @@ windows_core::imp::define_interface!(IDWriteFontSet2, IDWriteFontSet2_Vtbl, 0xdc impl std::ops::Deref for IDWriteFontSet2 { type Target = IDWriteFontSet1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontSet2, windows_core::IUnknown, IDWriteFontSet, IDWriteFontSet1); @@ -2273,7 +2273,7 @@ windows_core::imp::define_interface!(IDWriteFontSet3, IDWriteFontSet3_Vtbl, 0x7c impl std::ops::Deref for IDWriteFontSet3 { type Target = IDWriteFontSet2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontSet3, windows_core::IUnknown, IDWriteFontSet, IDWriteFontSet1, IDWriteFontSet2); @@ -2301,7 +2301,7 @@ windows_core::imp::define_interface!(IDWriteFontSet4, IDWriteFontSet4_Vtbl, 0xee impl std::ops::Deref for IDWriteFontSet4 { type Target = IDWriteFontSet3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontSet4, windows_core::IUnknown, IDWriteFontSet, IDWriteFontSet1, IDWriteFontSet2, IDWriteFontSet3); @@ -2313,7 +2313,7 @@ impl IDWriteFontSet4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingFonts)(windows_core::Interface::as_raw(self), familyname.param().abi(), core::mem::transmute(fontaxisvalues.as_ptr()), fontaxisvalues.len().try_into().unwrap(), allowedsimulations, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2329,7 +2329,7 @@ windows_core::imp::define_interface!(IDWriteFontSetBuilder, IDWriteFontSetBuilde impl std::ops::Deref for IDWriteFontSetBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontSetBuilder, windows_core::IUnknown); @@ -2353,7 +2353,7 @@ impl IDWriteFontSetBuilder { (windows_core::Interface::vtable(self).AddFontSet)(windows_core::Interface::as_raw(self), fontset.param().abi()).ok() } pub unsafe fn CreateFontSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2371,7 +2371,7 @@ windows_core::imp::define_interface!(IDWriteFontSetBuilder1, IDWriteFontSetBuild impl std::ops::Deref for IDWriteFontSetBuilder1 { type Target = IDWriteFontSetBuilder; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontSetBuilder1, windows_core::IUnknown, IDWriteFontSetBuilder); @@ -2394,7 +2394,7 @@ windows_core::imp::define_interface!(IDWriteFontSetBuilder2, IDWriteFontSetBuild impl std::ops::Deref for IDWriteFontSetBuilder2 { type Target = IDWriteFontSetBuilder1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteFontSetBuilder2, windows_core::IUnknown, IDWriteFontSetBuilder, IDWriteFontSetBuilder1); @@ -2424,14 +2424,14 @@ windows_core::imp::define_interface!(IDWriteGdiInterop, IDWriteGdiInterop_Vtbl, impl std::ops::Deref for IDWriteGdiInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteGdiInterop, windows_core::IUnknown); impl IDWriteGdiInterop { #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn CreateFontFromLOGFONT(&self, logfont: *const super::Gdi::LOGFONTW) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFromLOGFONT)(windows_core::Interface::as_raw(self), logfont, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -2453,7 +2453,7 @@ impl IDWriteGdiInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFaceFromHdc)(windows_core::Interface::as_raw(self), hdc.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -2461,7 +2461,7 @@ impl IDWriteGdiInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapRenderTarget)(windows_core::Interface::as_raw(self), hdc.param().abi(), width, height, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2495,7 +2495,7 @@ windows_core::imp::define_interface!(IDWriteGdiInterop1, IDWriteGdiInterop1_Vtbl impl std::ops::Deref for IDWriteGdiInterop1 { type Target = IDWriteGdiInterop; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteGdiInterop1, windows_core::IUnknown, IDWriteGdiInterop); @@ -2505,7 +2505,7 @@ impl IDWriteGdiInterop1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFromLOGFONT)(windows_core::Interface::as_raw(self), logfont, fontcollection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Globalization")] @@ -2527,7 +2527,7 @@ impl IDWriteGdiInterop1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingFontsByLOGFONT)(windows_core::Interface::as_raw(self), logfont, fontset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2557,13 +2557,13 @@ windows_core::imp::define_interface!(IDWriteGlyphRunAnalysis, IDWriteGlyphRunAna impl std::ops::Deref for IDWriteGlyphRunAnalysis { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteGlyphRunAnalysis, windows_core::IUnknown); impl IDWriteGlyphRunAnalysis { pub unsafe fn GetAlphaTextureBounds(&self, texturetype: DWRITE_TEXTURE_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlphaTextureBounds)(windows_core::Interface::as_raw(self), texturetype, &mut result__).map(|| result__) } pub unsafe fn CreateAlphaTexture(&self, texturetype: DWRITE_TEXTURE_TYPE, texturebounds: *const super::super::Foundation::RECT, alphavalues: &mut [u8]) -> windows_core::Result<()> { @@ -2589,7 +2589,7 @@ windows_core::imp::define_interface!(IDWriteInMemoryFontFileLoader, IDWriteInMem impl std::ops::Deref for IDWriteInMemoryFontFileLoader { type Target = IDWriteFontFileLoader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteInMemoryFontFileLoader, windows_core::IUnknown, IDWriteFontFileLoader); @@ -2599,7 +2599,7 @@ impl IDWriteInMemoryFontFileLoader { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInMemoryFontFileReference)(windows_core::Interface::as_raw(self), factory.param().abi(), fontdata, fontdatasize, ownerobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFileCount(&self) -> u32 { @@ -2618,7 +2618,7 @@ windows_core::imp::define_interface!(IDWriteInlineObject, IDWriteInlineObject_Vt impl std::ops::Deref for IDWriteInlineObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteInlineObject, windows_core::IUnknown); @@ -2633,11 +2633,11 @@ impl IDWriteInlineObject { (windows_core::Interface::vtable(self).Draw)(windows_core::Interface::as_raw(self), core::mem::transmute(clientdrawingcontext.unwrap_or(std::ptr::null())), renderer.param().abi(), originx, originy, issideways.param().abi(), isrighttoleft.param().abi(), clientdrawingeffect.param().abi()).ok() } pub unsafe fn GetMetrics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetrics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOverhangMetrics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOverhangMetrics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBreakConditions(&self, breakconditionbefore: *mut DWRITE_BREAK_CONDITION, breakconditionafter: *mut DWRITE_BREAK_CONDITION) -> windows_core::Result<()> { @@ -2658,20 +2658,20 @@ windows_core::imp::define_interface!(IDWriteLocalFontFileLoader, IDWriteLocalFon impl std::ops::Deref for IDWriteLocalFontFileLoader { type Target = IDWriteFontFileLoader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteLocalFontFileLoader, windows_core::IUnknown, IDWriteFontFileLoader); impl IDWriteLocalFontFileLoader { pub unsafe fn GetFilePathLengthFromKey(&self, fontfilereferencekey: *const core::ffi::c_void, fontfilereferencekeysize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilePathLengthFromKey)(windows_core::Interface::as_raw(self), fontfilereferencekey, fontfilereferencekeysize, &mut result__).map(|| result__) } pub unsafe fn GetFilePathFromKey(&self, fontfilereferencekey: *const core::ffi::c_void, fontfilereferencekeysize: u32, filepath: &mut [u16]) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetFilePathFromKey)(windows_core::Interface::as_raw(self), fontfilereferencekey, fontfilereferencekeysize, core::mem::transmute(filepath.as_ptr()), filepath.len().try_into().unwrap()).ok() } pub unsafe fn GetLastWriteTimeFromKey(&self, fontfilereferencekey: *const core::ffi::c_void, fontfilereferencekeysize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastWriteTimeFromKey)(windows_core::Interface::as_raw(self), fontfilereferencekey, fontfilereferencekeysize, &mut result__).map(|| result__) } } @@ -2688,7 +2688,7 @@ windows_core::imp::define_interface!(IDWriteLocalizedStrings, IDWriteLocalizedSt impl std::ops::Deref for IDWriteLocalizedStrings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteLocalizedStrings, windows_core::IUnknown); @@ -2703,14 +2703,14 @@ impl IDWriteLocalizedStrings { (windows_core::Interface::vtable(self).FindLocaleName)(windows_core::Interface::as_raw(self), localename.param().abi(), index, exists).ok() } pub unsafe fn GetLocaleNameLength(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocaleNameLength)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| 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(localename.as_ptr()), localename.len().try_into().unwrap()).ok() } pub unsafe fn GetStringLength(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringLength)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetString(&self, index: u32, stringbuffer: &mut [u16]) -> windows_core::Result<()> { @@ -2733,7 +2733,7 @@ windows_core::imp::define_interface!(IDWriteNumberSubstitution, IDWriteNumberSub impl std::ops::Deref for IDWriteNumberSubstitution { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteNumberSubstitution, windows_core::IUnknown); @@ -2748,7 +2748,7 @@ windows_core::imp::define_interface!(IDWritePaintReader, IDWritePaintReader_Vtbl impl std::ops::Deref for IDWritePaintReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWritePaintReader, windows_core::IUnknown); @@ -2816,20 +2816,20 @@ windows_core::imp::define_interface!(IDWritePixelSnapping, IDWritePixelSnapping_ impl std::ops::Deref for IDWritePixelSnapping { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWritePixelSnapping, windows_core::IUnknown); impl IDWritePixelSnapping { pub unsafe fn IsPixelSnappingDisabled(&self, clientdrawingcontext: Option<*const core::ffi::c_void>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPixelSnappingDisabled)(windows_core::Interface::as_raw(self), core::mem::transmute(clientdrawingcontext.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } pub unsafe fn GetCurrentTransform(&self, clientdrawingcontext: Option<*const core::ffi::c_void>, transform: *mut DWRITE_MATRIX) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCurrentTransform)(windows_core::Interface::as_raw(self), core::mem::transmute(clientdrawingcontext.unwrap_or(std::ptr::null())), transform).ok() } pub unsafe fn GetPixelsPerDip(&self, clientdrawingcontext: Option<*const core::ffi::c_void>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPixelsPerDip)(windows_core::Interface::as_raw(self), core::mem::transmute(clientdrawingcontext.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } } @@ -2846,17 +2846,17 @@ windows_core::imp::define_interface!(IDWriteRemoteFontFileLoader, IDWriteRemoteF impl std::ops::Deref for IDWriteRemoteFontFileLoader { type Target = IDWriteFontFileLoader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteRemoteFontFileLoader, windows_core::IUnknown, IDWriteFontFileLoader); impl IDWriteRemoteFontFileLoader { pub unsafe fn CreateRemoteStreamFromKey(&self, fontfilereferencekey: *const core::ffi::c_void, fontfilereferencekeysize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRemoteStreamFromKey)(windows_core::Interface::as_raw(self), fontfilereferencekey, fontfilereferencekeysize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLocalityFromKey(&self, fontfilereferencekey: *const core::ffi::c_void, fontfilereferencekeysize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalityFromKey)(windows_core::Interface::as_raw(self), fontfilereferencekey, fontfilereferencekeysize, &mut result__).map(|| result__) } pub unsafe fn CreateFontFileReferenceFromUrl(&self, factory: P0, baseurl: P1, fontfileurl: P2) -> windows_core::Result @@ -2865,7 +2865,7 @@ impl IDWriteRemoteFontFileLoader { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontFileReferenceFromUrl)(windows_core::Interface::as_raw(self), factory.param().abi(), baseurl.param().abi(), fontfileurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2882,13 +2882,13 @@ windows_core::imp::define_interface!(IDWriteRemoteFontFileStream, IDWriteRemoteF impl std::ops::Deref for IDWriteRemoteFontFileStream { type Target = IDWriteFontFileStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteRemoteFontFileStream, windows_core::IUnknown, IDWriteFontFileStream); impl IDWriteRemoteFontFileStream { pub unsafe fn GetLocalFileSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalFileSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFileFragmentLocality(&self, fileoffset: u64, fragmentsize: u64, islocal: *mut super::super::Foundation::BOOL, partialsize: *mut u64) -> windows_core::Result<()> { @@ -2898,7 +2898,7 @@ impl IDWriteRemoteFontFileStream { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginDownload)(windows_core::Interface::as_raw(self), downloadoperationid, core::mem::transmute(filefragments.as_ptr()), filefragments.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2916,7 +2916,7 @@ windows_core::imp::define_interface!(IDWriteRenderingParams, IDWriteRenderingPar impl std::ops::Deref for IDWriteRenderingParams { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteRenderingParams, windows_core::IUnknown); @@ -2952,7 +2952,7 @@ windows_core::imp::define_interface!(IDWriteRenderingParams1, IDWriteRenderingPa impl std::ops::Deref for IDWriteRenderingParams1 { type Target = IDWriteRenderingParams; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteRenderingParams1, windows_core::IUnknown, IDWriteRenderingParams); @@ -2972,7 +2972,7 @@ windows_core::imp::define_interface!(IDWriteRenderingParams2, IDWriteRenderingPa impl std::ops::Deref for IDWriteRenderingParams2 { type Target = IDWriteRenderingParams1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteRenderingParams2, windows_core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1); @@ -2992,7 +2992,7 @@ windows_core::imp::define_interface!(IDWriteRenderingParams3, IDWriteRenderingPa impl std::ops::Deref for IDWriteRenderingParams3 { type Target = IDWriteRenderingParams2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteRenderingParams3, windows_core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1, IDWriteRenderingParams2); @@ -3012,7 +3012,7 @@ windows_core::imp::define_interface!(IDWriteStringList, IDWriteStringList_Vtbl, impl std::ops::Deref for IDWriteStringList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteStringList, windows_core::IUnknown); @@ -3021,14 +3021,14 @@ impl IDWriteStringList { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocaleNameLength)(windows_core::Interface::as_raw(self), listindex, &mut result__).map(|| 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(localename.as_ptr()), localename.len().try_into().unwrap()).ok() } pub unsafe fn GetStringLength(&self, listindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringLength)(windows_core::Interface::as_raw(self), listindex, &mut result__).map(|| result__) } pub unsafe fn GetString(&self, listindex: u32, stringbuffer: &mut [u16]) -> windows_core::Result<()> { @@ -3050,7 +3050,7 @@ windows_core::imp::define_interface!(IDWriteTextAnalysisSink, IDWriteTextAnalysi impl std::ops::Deref for IDWriteTextAnalysisSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSink, windows_core::IUnknown); @@ -3085,7 +3085,7 @@ windows_core::imp::define_interface!(IDWriteTextAnalysisSink1, IDWriteTextAnalys impl std::ops::Deref for IDWriteTextAnalysisSink1 { type Target = IDWriteTextAnalysisSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSink1, windows_core::IUnknown, IDWriteTextAnalysisSink); @@ -3109,7 +3109,7 @@ windows_core::imp::define_interface!(IDWriteTextAnalysisSource, IDWriteTextAnaly impl std::ops::Deref for IDWriteTextAnalysisSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSource, windows_core::IUnknown); @@ -3145,7 +3145,7 @@ windows_core::imp::define_interface!(IDWriteTextAnalysisSource1, IDWriteTextAnal impl std::ops::Deref for IDWriteTextAnalysisSource1 { type Target = IDWriteTextAnalysisSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSource1, windows_core::IUnknown, IDWriteTextAnalysisSource); @@ -3165,7 +3165,7 @@ windows_core::imp::define_interface!(IDWriteTextAnalyzer, IDWriteTextAnalyzer_Vt impl std::ops::Deref for IDWriteTextAnalyzer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextAnalyzer, windows_core::IUnknown); @@ -3272,7 +3272,7 @@ windows_core::imp::define_interface!(IDWriteTextAnalyzer1, IDWriteTextAnalyzer1_ impl std::ops::Deref for IDWriteTextAnalyzer1 { type Target = IDWriteTextAnalyzer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextAnalyzer1, windows_core::IUnknown, IDWriteTextAnalyzer); @@ -3348,7 +3348,7 @@ windows_core::imp::define_interface!(IDWriteTextAnalyzer2, IDWriteTextAnalyzer2_ impl std::ops::Deref for IDWriteTextAnalyzer2 { type Target = IDWriteTextAnalyzer1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextAnalyzer2, windows_core::IUnknown, IDWriteTextAnalyzer, IDWriteTextAnalyzer1); @@ -3387,7 +3387,7 @@ windows_core::imp::define_interface!(IDWriteTextFormat, IDWriteTextFormat_Vtbl, impl std::ops::Deref for IDWriteTextFormat { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextFormat, windows_core::IUnknown); @@ -3444,7 +3444,7 @@ impl IDWriteTextFormat { (windows_core::Interface::vtable(self).GetLineSpacing)(windows_core::Interface::as_raw(self), linespacingmethod, linespacing, baseline).ok() } pub unsafe fn GetFontCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFontFamilyNameLength(&self) -> u32 { @@ -3507,7 +3507,7 @@ windows_core::imp::define_interface!(IDWriteTextFormat1, IDWriteTextFormat1_Vtbl impl std::ops::Deref for IDWriteTextFormat1 { type Target = IDWriteTextFormat; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextFormat1, windows_core::IUnknown, IDWriteTextFormat); @@ -3540,7 +3540,7 @@ impl IDWriteTextFormat1 { (windows_core::Interface::vtable(self).SetFontFallback)(windows_core::Interface::as_raw(self), fontfallback.param().abi()).ok() } pub unsafe fn GetFontFallback(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFallback)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3562,7 +3562,7 @@ windows_core::imp::define_interface!(IDWriteTextFormat2, IDWriteTextFormat2_Vtbl impl std::ops::Deref for IDWriteTextFormat2 { type Target = IDWriteTextFormat1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextFormat2, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1); @@ -3586,7 +3586,7 @@ windows_core::imp::define_interface!(IDWriteTextFormat3, IDWriteTextFormat3_Vtbl impl std::ops::Deref for IDWriteTextFormat3 { type Target = IDWriteTextFormat2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextFormat3, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1, IDWriteTextFormat2); @@ -3622,7 +3622,7 @@ windows_core::imp::define_interface!(IDWriteTextLayout, IDWriteTextLayout_Vtbl, impl std::ops::Deref for IDWriteTextLayout { type Target = IDWriteTextFormat; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextLayout, windows_core::IUnknown, IDWriteTextFormat); @@ -3754,14 +3754,14 @@ impl IDWriteTextLayout { (windows_core::Interface::vtable(self).GetMetrics)(windows_core::Interface::as_raw(self), textmetrics).ok() } pub unsafe fn GetOverhangMetrics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOverhangMetrics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetClusterMetrics(&self, clustermetrics: Option<&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(clustermetrics.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), clustermetrics.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), actualclustercount).ok() } pub unsafe fn DetermineMinWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DetermineMinWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HitTestPoint(&self, pointx: f32, pointy: f32, istrailinghit: *mut super::super::Foundation::BOOL, isinside: *mut super::super::Foundation::BOOL, hittestmetrics: *mut DWRITE_HIT_TEST_METRICS) -> windows_core::Result<()> { @@ -3826,7 +3826,7 @@ windows_core::imp::define_interface!(IDWriteTextLayout1, IDWriteTextLayout1_Vtbl impl std::ops::Deref for IDWriteTextLayout1 { type Target = IDWriteTextLayout; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextLayout1, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout); @@ -3861,7 +3861,7 @@ windows_core::imp::define_interface!(IDWriteTextLayout2, IDWriteTextLayout2_Vtbl impl std::ops::Deref for IDWriteTextLayout2 { type Target = IDWriteTextLayout1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextLayout2, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1); @@ -3897,7 +3897,7 @@ impl IDWriteTextLayout2 { (windows_core::Interface::vtable(self).SetFontFallback)(windows_core::Interface::as_raw(self), fontfallback.param().abi()).ok() } pub unsafe fn GetFontFallback(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFallback)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3920,7 +3920,7 @@ windows_core::imp::define_interface!(IDWriteTextLayout3, IDWriteTextLayout3_Vtbl impl std::ops::Deref for IDWriteTextLayout3 { type Target = IDWriteTextLayout2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextLayout3, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2); @@ -3952,7 +3952,7 @@ windows_core::imp::define_interface!(IDWriteTextLayout4, IDWriteTextLayout4_Vtbl impl std::ops::Deref for IDWriteTextLayout4 { type Target = IDWriteTextLayout3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextLayout4, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2, IDWriteTextLayout3); @@ -3988,7 +3988,7 @@ windows_core::imp::define_interface!(IDWriteTextRenderer, IDWriteTextRenderer_Vt impl std::ops::Deref for IDWriteTextRenderer { type Target = IDWritePixelSnapping; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextRenderer, windows_core::IUnknown, IDWritePixelSnapping); @@ -4035,7 +4035,7 @@ windows_core::imp::define_interface!(IDWriteTextRenderer1, IDWriteTextRenderer1_ impl std::ops::Deref for IDWriteTextRenderer1 { type Target = IDWriteTextRenderer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTextRenderer1, windows_core::IUnknown, IDWritePixelSnapping, IDWriteTextRenderer); @@ -4082,7 +4082,7 @@ windows_core::imp::define_interface!(IDWriteTypography, IDWriteTypography_Vtbl, impl std::ops::Deref for IDWriteTypography { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDWriteTypography, windows_core::IUnknown); @@ -4094,7 +4094,7 @@ impl IDWriteTypography { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFeature)(windows_core::Interface::as_raw(self), fontfeatureindex, &mut result__).map(|| result__) } } @@ -6001,7 +6001,7 @@ impl Default for DWRITE_GLYPH_OFFSET { #[repr(C)] #[derive(Debug, PartialEq)] pub struct DWRITE_GLYPH_RUN { - pub fontFace: std::mem::ManuallyDrop>, + pub fontFace: core::mem::ManuallyDrop>, pub fontEmSize: f32, pub glyphCount: u32, pub glyphIndices: *const u16, 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 6e423a7b80..702310e4a1 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dwm/mod.rs @@ -76,7 +76,7 @@ where #[inline] pub unsafe fn DwmGetGraphicsStreamClient(uindex: u32) -> windows_core::Result { windows_targets::link!("dwmapi.dll" "system" fn DwmGetGraphicsStreamClient(uindex : u32, pclientuuid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DwmGetGraphicsStreamClient(uindex, &mut result__).map(|| result__) } #[inline] @@ -95,7 +95,7 @@ where P0: windows_core::Param, { windows_targets::link!("dwmapi.dll" "system" fn DwmGetUnmetTabRequirements(appwindow : super::super::Foundation:: HWND, value : *mut DWM_TAB_WINDOW_REQUIREMENTS) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DwmGetUnmetTabRequirements(appwindow.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -117,7 +117,7 @@ where #[inline] pub unsafe fn DwmIsCompositionEnabled() -> windows_core::Result { windows_targets::link!("dwmapi.dll" "system" fn DwmIsCompositionEnabled(pfenabled : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DwmIsCompositionEnabled(&mut result__).map(|| result__) } #[inline] @@ -132,7 +132,7 @@ where #[inline] pub unsafe fn DwmQueryThumbnailSourceSize(hthumbnail: isize) -> windows_core::Result { windows_targets::link!("dwmapi.dll" "system" fn DwmQueryThumbnailSourceSize(hthumbnail : isize, psize : *mut super::super::Foundation:: SIZE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DwmQueryThumbnailSourceSize(hthumbnail, &mut result__).map(|| result__) } #[inline] @@ -142,7 +142,7 @@ where P1: windows_core::Param, { windows_targets::link!("dwmapi.dll" "system" fn DwmRegisterThumbnail(hwnddestination : super::super::Foundation:: HWND, hwndsource : super::super::Foundation:: HWND, phthumbnailid : *mut isize) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DwmRegisterThumbnail(hwnddestination.param().abi(), hwndsource.param().abi(), &mut result__).map(|| result__) } #[inline] 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 91648878ec..4a3ba38e5c 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs @@ -50,20 +50,20 @@ windows_core::imp::define_interface!(IDXGIAdapter, IDXGIAdapter_Vtbl, 0x2411e7e1 impl std::ops::Deref for IDXGIAdapter { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIAdapter, windows_core::IUnknown, IDXGIObject); impl IDXGIAdapter { pub unsafe fn EnumOutputs(&self, output: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumOutputs)(windows_core::Interface::as_raw(self), output, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDesc(&self, pdesc: *mut DXGI_ADAPTER_DESC) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), pdesc).ok() } pub unsafe fn CheckInterfaceSupport(&self, interfacename: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckInterfaceSupport)(windows_core::Interface::as_raw(self), interfacename, &mut result__).map(|| result__) } } @@ -80,7 +80,7 @@ windows_core::imp::define_interface!(IDXGIAdapter1, IDXGIAdapter1_Vtbl, 0x29038f impl std::ops::Deref for IDXGIAdapter1 { type Target = IDXGIAdapter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIAdapter1, windows_core::IUnknown, IDXGIObject, IDXGIAdapter); @@ -100,7 +100,7 @@ windows_core::imp::define_interface!(IDXGIAdapter2, IDXGIAdapter2_Vtbl, 0x0aa1ae impl std::ops::Deref for IDXGIAdapter2 { type Target = IDXGIAdapter1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIAdapter2, windows_core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1); @@ -120,7 +120,7 @@ windows_core::imp::define_interface!(IDXGIAdapter3, IDXGIAdapter3_Vtbl, 0x645967 impl std::ops::Deref for IDXGIAdapter3 { type Target = IDXGIAdapter2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIAdapter3, windows_core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2); @@ -129,7 +129,7 @@ impl IDXGIAdapter3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterHardwareContentProtectionTeardownStatusEvent)(windows_core::Interface::as_raw(self), hevent.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnregisterHardwareContentProtectionTeardownStatus(&self, dwcookie: u32) { @@ -145,7 +145,7 @@ impl IDXGIAdapter3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterVideoMemoryBudgetChangeNotificationEvent)(windows_core::Interface::as_raw(self), hevent.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnregisterVideoMemoryBudgetChangeNotification(&self, dwcookie: u32) { @@ -168,7 +168,7 @@ windows_core::imp::define_interface!(IDXGIAdapter4, IDXGIAdapter4_Vtbl, 0x3c8d99 impl std::ops::Deref for IDXGIAdapter4 { type Target = IDXGIAdapter3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIAdapter4, windows_core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2, IDXGIAdapter3); @@ -188,7 +188,7 @@ windows_core::imp::define_interface!(IDXGIDebug, IDXGIDebug_Vtbl, 0x119e7452_de9 impl std::ops::Deref for IDXGIDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDebug, windows_core::IUnknown); @@ -208,7 +208,7 @@ windows_core::imp::define_interface!(IDXGIDebug1, IDXGIDebug1_Vtbl, 0xc5a05f0c_1 impl std::ops::Deref for IDXGIDebug1 { type Target = IDXGIDebug; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDebug1, windows_core::IUnknown, IDXGIDebug); @@ -236,7 +236,7 @@ windows_core::imp::define_interface!(IDXGIDecodeSwapChain, IDXGIDecodeSwapChain_ impl std::ops::Deref for IDXGIDecodeSwapChain { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDecodeSwapChain, windows_core::IUnknown); @@ -254,11 +254,11 @@ impl IDXGIDecodeSwapChain { (windows_core::Interface::vtable(self).SetDestSize)(windows_core::Interface::as_raw(self), width, height).ok() } pub unsafe fn GetSourceRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceRect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTargetRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetRect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDestSize(&self, pwidth: *mut u32, pheight: *mut u32) -> windows_core::Result<()> { @@ -290,13 +290,13 @@ windows_core::imp::define_interface!(IDXGIDevice, IDXGIDevice_Vtbl, 0x54ec77fa_1 impl std::ops::Deref for IDXGIDevice { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDevice, windows_core::IUnknown, IDXGIObject); impl IDXGIDevice { pub unsafe fn GetAdapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdapter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -310,7 +310,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGPUThreadPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -332,7 +332,7 @@ windows_core::imp::define_interface!(IDXGIDevice1, IDXGIDevice1_Vtbl, 0x77db970f impl std::ops::Deref for IDXGIDevice1 { type Target = IDXGIDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDevice1, windows_core::IUnknown, IDXGIObject, IDXGIDevice); @@ -341,7 +341,7 @@ impl IDXGIDevice1 { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumFrameLatency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -357,7 +357,7 @@ windows_core::imp::define_interface!(IDXGIDevice2, IDXGIDevice2_Vtbl, 0x05008617 impl std::ops::Deref for IDXGIDevice2 { type Target = IDXGIDevice1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDevice2, windows_core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1); @@ -388,7 +388,7 @@ windows_core::imp::define_interface!(IDXGIDevice3, IDXGIDevice3_Vtbl, 0x6007896c impl std::ops::Deref for IDXGIDevice3 { type Target = IDXGIDevice2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDevice3, windows_core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2); @@ -408,7 +408,7 @@ windows_core::imp::define_interface!(IDXGIDevice4, IDXGIDevice4_Vtbl, 0x95b4f95f impl std::ops::Deref for IDXGIDevice4 { type Target = IDXGIDevice3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDevice4, windows_core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2, IDXGIDevice3); @@ -432,7 +432,7 @@ windows_core::imp::define_interface!(IDXGIDeviceSubObject, IDXGIDeviceSubObject_ impl std::ops::Deref for IDXGIDeviceSubObject { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDeviceSubObject, windows_core::IUnknown, IDXGIObject); @@ -456,7 +456,7 @@ windows_core::imp::define_interface!(IDXGIDisplayControl, IDXGIDisplayControl_Vt impl std::ops::Deref for IDXGIDisplayControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIDisplayControl, windows_core::IUnknown); @@ -483,13 +483,13 @@ windows_core::imp::define_interface!(IDXGIFactory, IDXGIFactory_Vtbl, 0x7b7166ec impl std::ops::Deref for IDXGIFactory { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIFactory, windows_core::IUnknown, IDXGIObject); impl IDXGIFactory { pub unsafe fn EnumAdapters(&self, adapter: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAdapters)(windows_core::Interface::as_raw(self), adapter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MakeWindowAssociation(&self, windowhandle: P0, flags: u32) -> windows_core::Result<()> @@ -499,7 +499,7 @@ impl IDXGIFactory { (windows_core::Interface::vtable(self).MakeWindowAssociation)(windows_core::Interface::as_raw(self), windowhandle.param().abi(), flags).ok() } pub unsafe fn GetWindowAssociation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindowAssociation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -513,7 +513,7 @@ impl IDXGIFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSoftwareAdapter)(windows_core::Interface::as_raw(self), module.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -535,13 +535,13 @@ windows_core::imp::define_interface!(IDXGIFactory1, IDXGIFactory1_Vtbl, 0x770aae impl std::ops::Deref for IDXGIFactory1 { type Target = IDXGIFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIFactory1, windows_core::IUnknown, IDXGIObject, IDXGIFactory); impl IDXGIFactory1 { pub unsafe fn EnumAdapters1(&self, adapter: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAdapters1)(windows_core::Interface::as_raw(self), adapter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsCurrent(&self) -> super::super::Foundation::BOOL { @@ -560,7 +560,7 @@ windows_core::imp::define_interface!(IDXGIFactory2, IDXGIFactory2_Vtbl, 0x50c83a impl std::ops::Deref for IDXGIFactory2 { type Target = IDXGIFactory1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIFactory2, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1); @@ -575,7 +575,7 @@ impl IDXGIFactory2 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSwapChainForHwnd)(windows_core::Interface::as_raw(self), pdevice.param().abi(), hwnd.param().abi(), pdesc, core::mem::transmute(pfullscreendesc.unwrap_or(std::ptr::null())), prestricttooutput.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -585,28 +585,28 @@ impl IDXGIFactory2 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSwapChainForCoreWindow)(windows_core::Interface::as_raw(self), pdevice.param().abi(), pwindow.param().abi(), pdesc, prestricttooutput.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSharedResourceAdapterLuid(&self, hresource: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSharedResourceAdapterLuid)(windows_core::Interface::as_raw(self), hresource.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RegisterStereoStatusWindow(&self, windowhandle: P0, wmsg: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterStereoStatusWindow)(windows_core::Interface::as_raw(self), windowhandle.param().abi(), wmsg, &mut result__).map(|| result__) } pub unsafe fn RegisterStereoStatusEvent(&self, hevent: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterStereoStatusEvent)(windows_core::Interface::as_raw(self), hevent.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnregisterStereoStatus(&self, dwcookie: u32) { @@ -616,14 +616,14 @@ impl IDXGIFactory2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterOcclusionStatusWindow)(windows_core::Interface::as_raw(self), windowhandle.param().abi(), wmsg, &mut result__).map(|| result__) } pub unsafe fn RegisterOcclusionStatusEvent(&self, hevent: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterOcclusionStatusEvent)(windows_core::Interface::as_raw(self), hevent.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnregisterOcclusionStatus(&self, dwcookie: u32) { @@ -635,7 +635,7 @@ impl IDXGIFactory2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSwapChainForComposition)(windows_core::Interface::as_raw(self), pdevice.param().abi(), pdesc, prestricttooutput.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -669,7 +669,7 @@ windows_core::imp::define_interface!(IDXGIFactory3, IDXGIFactory3_Vtbl, 0x254838 impl std::ops::Deref for IDXGIFactory3 { type Target = IDXGIFactory2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIFactory3, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2); @@ -689,7 +689,7 @@ windows_core::imp::define_interface!(IDXGIFactory4, IDXGIFactory4_Vtbl, 0x1bc6ea impl std::ops::Deref for IDXGIFactory4 { type Target = IDXGIFactory3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIFactory4, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3); @@ -721,7 +721,7 @@ windows_core::imp::define_interface!(IDXGIFactory5, IDXGIFactory5_Vtbl, 0x7632e1 impl std::ops::Deref for IDXGIFactory5 { type Target = IDXGIFactory4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIFactory5, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4); @@ -741,7 +741,7 @@ windows_core::imp::define_interface!(IDXGIFactory6, IDXGIFactory6_Vtbl, 0xc1b669 impl std::ops::Deref for IDXGIFactory6 { type Target = IDXGIFactory5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIFactory6, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5); @@ -765,7 +765,7 @@ windows_core::imp::define_interface!(IDXGIFactory7, IDXGIFactory7_Vtbl, 0xa4966e impl std::ops::Deref for IDXGIFactory7 { type Target = IDXGIFactory6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIFactory7, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5, IDXGIFactory6); @@ -774,7 +774,7 @@ impl IDXGIFactory7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterAdaptersChangedEvent)(windows_core::Interface::as_raw(self), hevent.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnregisterAdaptersChangedEvent(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -793,7 +793,7 @@ windows_core::imp::define_interface!(IDXGIFactoryMedia, IDXGIFactoryMedia_Vtbl, impl std::ops::Deref for IDXGIFactoryMedia { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIFactoryMedia, windows_core::IUnknown); @@ -805,7 +805,7 @@ impl IDXGIFactoryMedia { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSwapChainForCompositionSurfaceHandle)(windows_core::Interface::as_raw(self), pdevice.param().abi(), hsurface.param().abi(), pdesc, prestricttooutput.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDecodeSwapChainForCompositionSurfaceHandle(&self, pdevice: P0, hsurface: P1, pdesc: *const DXGI_DECODE_SWAP_CHAIN_DESC, pyuvdecodebuffers: P2, prestricttooutput: P3) -> windows_core::Result @@ -815,7 +815,7 @@ impl IDXGIFactoryMedia { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDecodeSwapChainForCompositionSurfaceHandle)(windows_core::Interface::as_raw(self), pdevice.param().abi(), hsurface.param().abi(), pdesc, pyuvdecodebuffers.param().abi(), prestricttooutput.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -834,7 +834,7 @@ windows_core::imp::define_interface!(IDXGIInfoQueue, IDXGIInfoQueue_Vtbl, 0xd674 impl std::ops::Deref for IDXGIInfoQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIInfoQueue, windows_core::IUnknown); @@ -1016,7 +1016,7 @@ windows_core::imp::define_interface!(IDXGIKeyedMutex, IDXGIKeyedMutex_Vtbl, 0x9d impl std::ops::Deref for IDXGIKeyedMutex { type Target = IDXGIDeviceSubObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIKeyedMutex, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); @@ -1040,7 +1040,7 @@ windows_core::imp::define_interface!(IDXGIObject, IDXGIObject_Vtbl, 0xaec22fb8_7 impl std::ops::Deref for IDXGIObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIObject, windows_core::IUnknown); @@ -1079,7 +1079,7 @@ windows_core::imp::define_interface!(IDXGIOutput, IDXGIOutput_Vtbl, 0xae02eedb_c impl std::ops::Deref for IDXGIOutput { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIOutput, windows_core::IUnknown, IDXGIObject); @@ -1180,7 +1180,7 @@ windows_core::imp::define_interface!(IDXGIOutput1, IDXGIOutput1_Vtbl, 0x00cddea8 impl std::ops::Deref for IDXGIOutput1 { type Target = IDXGIOutput; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIOutput1, windows_core::IUnknown, IDXGIObject, IDXGIOutput); @@ -1206,7 +1206,7 @@ impl IDXGIOutput1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DuplicateOutput)(windows_core::Interface::as_raw(self), pdevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1230,7 +1230,7 @@ windows_core::imp::define_interface!(IDXGIOutput2, IDXGIOutput2_Vtbl, 0x595e39d1 impl std::ops::Deref for IDXGIOutput2 { type Target = IDXGIOutput1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIOutput2, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1); @@ -1250,7 +1250,7 @@ windows_core::imp::define_interface!(IDXGIOutput3, IDXGIOutput3_Vtbl, 0x8a6bb301 impl std::ops::Deref for IDXGIOutput3 { type Target = IDXGIOutput2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIOutput3, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2); @@ -1260,7 +1260,7 @@ impl IDXGIOutput3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckOverlaySupport)(windows_core::Interface::as_raw(self), enumformat, pconcerneddevice.param().abi(), &mut result__).map(|| result__) } } @@ -1278,7 +1278,7 @@ windows_core::imp::define_interface!(IDXGIOutput4, IDXGIOutput4_Vtbl, 0xdc7dca35 impl std::ops::Deref for IDXGIOutput4 { type Target = IDXGIOutput3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIOutput4, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3); @@ -1288,7 +1288,7 @@ impl IDXGIOutput4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckOverlayColorSpaceSupport)(windows_core::Interface::as_raw(self), format, colorspace, pconcerneddevice.param().abi(), &mut result__).map(|| result__) } } @@ -1306,7 +1306,7 @@ windows_core::imp::define_interface!(IDXGIOutput5, IDXGIOutput5_Vtbl, 0x80a07424 impl std::ops::Deref for IDXGIOutput5 { type Target = IDXGIOutput4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIOutput5, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4); @@ -1316,7 +1316,7 @@ impl IDXGIOutput5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DuplicateOutput1)(windows_core::Interface::as_raw(self), pdevice.param().abi(), flags, psupportedformats.len().try_into().unwrap(), core::mem::transmute(psupportedformats.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1334,7 +1334,7 @@ windows_core::imp::define_interface!(IDXGIOutput6, IDXGIOutput6_Vtbl, 0x068346e8 impl std::ops::Deref for IDXGIOutput6 { type Target = IDXGIOutput5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIOutput6, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4, IDXGIOutput5); @@ -1344,7 +1344,7 @@ impl IDXGIOutput6 { (windows_core::Interface::vtable(self).GetDesc1)(windows_core::Interface::as_raw(self), pdesc).ok() } pub unsafe fn CheckHardwareCompositionSupport(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckHardwareCompositionSupport)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1363,7 +1363,7 @@ windows_core::imp::define_interface!(IDXGIOutputDuplication, IDXGIOutputDuplicat impl std::ops::Deref for IDXGIOutputDuplication { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIOutputDuplication, windows_core::IUnknown, IDXGIObject); @@ -1385,7 +1385,7 @@ impl IDXGIOutputDuplication { (windows_core::Interface::vtable(self).GetFramePointerShape)(windows_core::Interface::as_raw(self), pointershapebuffersize, ppointershapebuffer, ppointershapebuffersizerequired, ppointershapeinfo).ok() } pub unsafe fn MapDesktopSurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MapDesktopSurface)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UnMapDesktopSurface(&self) -> windows_core::Result<()> { @@ -1416,24 +1416,24 @@ windows_core::imp::define_interface!(IDXGIResource, IDXGIResource_Vtbl, 0x035f3a impl std::ops::Deref for IDXGIResource { type Target = IDXGIDeviceSubObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIResource, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); impl IDXGIResource { pub unsafe fn GetSharedHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSharedHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUsage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUsage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEvictionPriority(&self, evictionpriority: u32) -> 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEvictionPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1451,13 +1451,13 @@ windows_core::imp::define_interface!(IDXGIResource1, IDXGIResource1_Vtbl, 0x3096 impl std::ops::Deref for IDXGIResource1 { type Target = IDXGIResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGIResource1, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGIResource); impl IDXGIResource1 { pub unsafe fn CreateSubresourceSurface(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSubresourceSurface)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Security")] @@ -1465,7 +1465,7 @@ impl IDXGIResource1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSharedHandle)(windows_core::Interface::as_raw(self), core::mem::transmute(pattributes.unwrap_or(std::ptr::null())), dwaccess, lpname.param().abi(), &mut result__).map(|| result__) } } @@ -1484,7 +1484,7 @@ windows_core::imp::define_interface!(IDXGISurface, IDXGISurface_Vtbl, 0xcafcb56c impl std::ops::Deref for IDXGISurface { type Target = IDXGIDeviceSubObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGISurface, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); @@ -1516,7 +1516,7 @@ windows_core::imp::define_interface!(IDXGISurface1, IDXGISurface1_Vtbl, 0x4ae630 impl std::ops::Deref for IDXGISurface1 { type Target = IDXGISurface; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGISurface1, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface); @@ -1526,7 +1526,7 @@ impl IDXGISurface1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDC)(windows_core::Interface::as_raw(self), discard.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ReleaseDC(&self, pdirtyrect: Option<*const super::super::Foundation::RECT>) -> windows_core::Result<()> { @@ -1548,7 +1548,7 @@ windows_core::imp::define_interface!(IDXGISurface2, IDXGISurface2_Vtbl, 0xaba496 impl std::ops::Deref for IDXGISurface2 { type Target = IDXGISurface1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGISurface2, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface, IDXGISurface1); @@ -1572,7 +1572,7 @@ windows_core::imp::define_interface!(IDXGISwapChain, IDXGISwapChain_Vtbl, 0x310d impl std::ops::Deref for IDXGISwapChain { type Target = IDXGIDeviceSubObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGISwapChain, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); @@ -1610,14 +1610,14 @@ impl IDXGISwapChain { (windows_core::Interface::vtable(self).ResizeTarget)(windows_core::Interface::as_raw(self), pnewtargetparameters).ok() } pub unsafe fn GetContainingOutput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainingOutput)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFrameStatistics(&self, pstats: *mut DXGI_FRAME_STATISTICS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetFrameStatistics)(windows_core::Interface::as_raw(self), pstats).ok() } pub unsafe fn GetLastPresentCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastPresentCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1650,7 +1650,7 @@ windows_core::imp::define_interface!(IDXGISwapChain1, IDXGISwapChain1_Vtbl, 0x79 impl std::ops::Deref for IDXGISwapChain1 { type Target = IDXGISwapChain; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGISwapChain1, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain); @@ -1664,7 +1664,7 @@ impl IDXGISwapChain1 { (windows_core::Interface::vtable(self).GetFullscreenDesc)(windows_core::Interface::as_raw(self), pdesc).ok() } pub unsafe fn GetHwnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHwnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCoreWindow(&self) -> windows_core::Result @@ -1681,14 +1681,14 @@ impl IDXGISwapChain1 { (windows_core::Interface::vtable(self).IsTemporaryMonoSupported)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetRestrictToOutput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestrictToOutput)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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), pcolor).ok() } pub unsafe fn GetBackgroundColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackgroundColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1697,7 +1697,7 @@ impl IDXGISwapChain1 { } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetRotation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRotation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1734,7 +1734,7 @@ windows_core::imp::define_interface!(IDXGISwapChain2, IDXGISwapChain2_Vtbl, 0xa8 impl std::ops::Deref for IDXGISwapChain2 { type Target = IDXGISwapChain1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGISwapChain2, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1); @@ -1749,7 +1749,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumFrameLatency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFrameLatencyWaitableObject(&self) -> super::super::Foundation::HANDLE { @@ -1779,7 +1779,7 @@ windows_core::imp::define_interface!(IDXGISwapChain3, IDXGISwapChain3_Vtbl, 0x94 impl std::ops::Deref for IDXGISwapChain3 { type Target = IDXGISwapChain2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGISwapChain3, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2); @@ -1789,7 +1789,7 @@ impl IDXGISwapChain3 { } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn CheckColorSpaceSupport(&self, colorspace: Common::DXGI_COLOR_SPACE_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckColorSpaceSupport)(windows_core::Interface::as_raw(self), colorspace, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1824,7 +1824,7 @@ windows_core::imp::define_interface!(IDXGISwapChain4, IDXGISwapChain4_Vtbl, 0x3d impl std::ops::Deref for IDXGISwapChain4 { type Target = IDXGISwapChain3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGISwapChain4, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2, IDXGISwapChain3); @@ -1844,7 +1844,7 @@ windows_core::imp::define_interface!(IDXGISwapChainMedia, IDXGISwapChainMedia_Vt impl std::ops::Deref for IDXGISwapChainMedia { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGISwapChainMedia, windows_core::IUnknown); @@ -1872,7 +1872,7 @@ windows_core::imp::define_interface!(IDXGraphicsAnalysis, IDXGraphicsAnalysis_Vt impl std::ops::Deref for IDXGraphicsAnalysis { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXGraphicsAnalysis, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs index b979b68767..d86c03eb86 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs @@ -19,8 +19,8 @@ impl GdiplusAbort_ImplVtbl { impl GdiplusAbort { pub fn new<'a, T: GdiplusAbort_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &GdiplusAbort_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IImageBytes_Impl: Sized { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs index 63b58e125c..224ac4b1eb 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs @@ -3436,7 +3436,7 @@ windows_core::imp::define_interface!(IImageBytes, IImageBytes_Vtbl, 0x025d1823_6 impl std::ops::Deref for IImageBytes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImageBytes, windows_core::IUnknown); 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 254ebb6b10..cdec96a9f8 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IWICImageEncoder, IWICImageEncoder_Vtbl, 0x impl std::ops::Deref for IWICImageEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICImageEncoder, windows_core::IUnknown); @@ -52,7 +52,7 @@ windows_core::imp::define_interface!(IWICImagingFactory2, IWICImagingFactory2_Vt impl std::ops::Deref for IWICImagingFactory2 { type Target = super::IWICImagingFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICImagingFactory2, windows_core::IUnknown, super::IWICImagingFactory); @@ -62,7 +62,7 @@ impl IWICImagingFactory2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateImageEncoder)(windows_core::Interface::as_raw(self), pd2ddevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs index 7de20d4edb..72641476c7 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs @@ -1596,7 +1596,7 @@ pub trait IWICEnumMetadataItem_Impl: Sized { impl windows_core::RuntimeName for IWICEnumMetadataItem {} impl IWICEnumMetadataItem_Vtbl { pub const fn new, Impl: IWICEnumMetadataItem_Impl, const OFFSET: isize>() -> IWICEnumMetadataItem_Vtbl { - unsafe extern "system" fn Next, Impl: IWICEnumMetadataItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgeltschema: *mut std::mem::MaybeUninit, rgeltid: *mut std::mem::MaybeUninit, rgeltvalue: *mut std::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IWICEnumMetadataItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgeltschema: *mut core::mem::MaybeUninit, rgeltid: *mut core::mem::MaybeUninit, rgeltvalue: *mut core::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWICEnumMetadataItem_Impl::Next(this, core::mem::transmute_copy(&celt), core::mem::transmute_copy(&rgeltschema), core::mem::transmute_copy(&rgeltid), core::mem::transmute_copy(&rgeltvalue), core::mem::transmute_copy(&pceltfetched)).into() @@ -2449,7 +2449,7 @@ impl IWICMetadataQueryReader_Vtbl { let this = (*this).get_impl(); IWICMetadataQueryReader_Impl::GetLocation(this, core::mem::transmute_copy(&cchmaxlength), core::mem::transmute(&wznamespace), core::mem::transmute_copy(&pcchactuallength)).into() } - unsafe extern "system" fn GetMetadataByName, Impl: IWICMetadataQueryReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wzname: windows_core::PCWSTR, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMetadataByName, Impl: IWICMetadataQueryReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wzname: windows_core::PCWSTR, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWICMetadataQueryReader_Impl::GetMetadataByName(this, core::mem::transmute(&wzname), core::mem::transmute_copy(&pvarvalue)).into() @@ -2487,7 +2487,7 @@ impl windows_core::RuntimeName for IWICMetadataQueryWriter {} #[cfg(feature = "Win32_System_Com")] impl IWICMetadataQueryWriter_Vtbl { pub const fn new, Impl: IWICMetadataQueryWriter_Impl, const OFFSET: isize>() -> IWICMetadataQueryWriter_Vtbl { - unsafe extern "system" fn SetMetadataByName, Impl: IWICMetadataQueryWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wzname: windows_core::PCWSTR, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMetadataByName, Impl: IWICMetadataQueryWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wzname: windows_core::PCWSTR, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWICMetadataQueryWriter_Impl::SetMetadataByName(this, core::mem::transmute(&wzname), core::mem::transmute_copy(&pvarvalue)).into() @@ -2551,12 +2551,12 @@ impl IWICMetadataReader_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValueByIndex, Impl: IWICMetadataReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pvarschema: *mut std::mem::MaybeUninit, pvarid: *mut std::mem::MaybeUninit, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValueByIndex, Impl: IWICMetadataReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pvarschema: *mut core::mem::MaybeUninit, pvarid: *mut core::mem::MaybeUninit, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWICMetadataReader_Impl::GetValueByIndex(this, core::mem::transmute_copy(&nindex), core::mem::transmute_copy(&pvarschema), core::mem::transmute_copy(&pvarid), core::mem::transmute_copy(&pvarvalue)).into() } - unsafe extern "system" fn GetValue, Impl: IWICMetadataReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarschema: *const std::mem::MaybeUninit, pvarid: *const std::mem::MaybeUninit, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IWICMetadataReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarschema: *const core::mem::MaybeUninit, pvarid: *const core::mem::MaybeUninit, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWICMetadataReader_Impl::GetValue(this, core::mem::transmute_copy(&pvarschema), core::mem::transmute_copy(&pvarid), core::mem::transmute_copy(&pvarvalue)).into() @@ -2644,17 +2644,17 @@ pub trait IWICMetadataWriter_Impl: Sized + IWICMetadataReader_Impl { impl windows_core::RuntimeName for IWICMetadataWriter {} impl IWICMetadataWriter_Vtbl { pub const fn new, Impl: IWICMetadataWriter_Impl, const OFFSET: isize>() -> IWICMetadataWriter_Vtbl { - unsafe extern "system" fn SetValue, Impl: IWICMetadataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarschema: *const std::mem::MaybeUninit, pvarid: *const std::mem::MaybeUninit, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IWICMetadataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarschema: *const core::mem::MaybeUninit, pvarid: *const core::mem::MaybeUninit, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWICMetadataWriter_Impl::SetValue(this, core::mem::transmute_copy(&pvarschema), core::mem::transmute_copy(&pvarid), core::mem::transmute_copy(&pvarvalue)).into() } - unsafe extern "system" fn SetValueByIndex, Impl: IWICMetadataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pvarschema: *const std::mem::MaybeUninit, pvarid: *const std::mem::MaybeUninit, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValueByIndex, Impl: IWICMetadataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pvarschema: *const core::mem::MaybeUninit, pvarid: *const core::mem::MaybeUninit, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWICMetadataWriter_Impl::SetValueByIndex(this, core::mem::transmute_copy(&nindex), core::mem::transmute_copy(&pvarschema), core::mem::transmute_copy(&pvarid), core::mem::transmute_copy(&pvarvalue)).into() } - unsafe extern "system" fn RemoveValue, Impl: IWICMetadataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarschema: *const std::mem::MaybeUninit, pvarid: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveValue, Impl: IWICMetadataWriter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarschema: *const core::mem::MaybeUninit, pvarid: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWICMetadataWriter_Impl::RemoveValue(this, core::mem::transmute_copy(&pvarschema), core::mem::transmute_copy(&pvarid)).into() 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 82449e2e58..c30c8cd4a1 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -6,7 +6,7 @@ where P0: windows_core::Param, { windows_targets::link!("windowscodecs.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WICConvertBitmapSource(dstformat, pisrc.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -15,7 +15,7 @@ where P0: windows_core::Param, { windows_targets::link!("windowscodecs.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WICCreateBitmapFromSection(width, height, pixelformat, hsection.param().abi(), stride, offset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -24,7 +24,7 @@ where P0: windows_core::Param, { windows_targets::link!("windowscodecs.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WICCreateBitmapFromSectionEx(width, height, pixelformat, hsection.param().abi(), stride, offset, desiredaccesslevel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -33,7 +33,7 @@ where P0: windows_core::Param, { windows_targets::link!("windowscodecs.dll" "system" fn WICGetMetadataContentSize(guidcontainerformat : *const windows_core::GUID, piwriter : * mut core::ffi::c_void, pcbsize : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WICGetMetadataContentSize(guidcontainerformat, piwriter.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -55,7 +55,7 @@ where P0: windows_core::Param, { windows_targets::link!("windowscodecs.dll" "system" fn WICMapShortNameToGuid(wzname : windows_core::PCWSTR, pguid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WICMapShortNameToGuid(wzname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -65,7 +65,7 @@ where P0: windows_core::Param, { windows_targets::link!("windowscodecs.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WICMatchMetadataContent(guidcontainerformat, core::mem::transmute(pguidvendor.unwrap_or(std::ptr::null())), pistream.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -82,13 +82,13 @@ windows_core::imp::define_interface!(IWICBitmap, IWICBitmap_Vtbl, 0x00000121_a8f impl std::ops::Deref for IWICBitmap { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmap, windows_core::IUnknown, IWICBitmapSource); impl IWICBitmap { pub unsafe fn Lock(&self, prclock: *const WICRect, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Lock)(windows_core::Interface::as_raw(self), prclock, flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPalette(&self, pipalette: P0) -> windows_core::Result<()> @@ -112,7 +112,7 @@ windows_core::imp::define_interface!(IWICBitmapClipper, IWICBitmapClipper_Vtbl, impl std::ops::Deref for IWICBitmapClipper { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapClipper, windows_core::IUnknown, IWICBitmapSource); @@ -133,13 +133,13 @@ windows_core::imp::define_interface!(IWICBitmapCodecInfo, IWICBitmapCodecInfo_Vt impl std::ops::Deref for IWICBitmapCodecInfo { type Target = IWICComponentInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapCodecInfo, windows_core::IUnknown, IWICComponentInfo); impl IWICBitmapCodecInfo { pub unsafe fn GetContainerFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainerFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPixelFormats(&self, pguidpixelformats: &mut [windows_core::GUID], pcactual: *mut u32) -> windows_core::Result<()> { @@ -161,26 +161,26 @@ impl IWICBitmapCodecInfo { (windows_core::Interface::vtable(self).GetFileExtensions)(windows_core::Interface::as_raw(self), wzfileextensions.len().try_into().unwrap(), core::mem::transmute(wzfileextensions.as_ptr()), pcchactual).ok() } pub unsafe fn DoesSupportAnimation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesSupportAnimation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DoesSupportChromakey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesSupportChromakey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DoesSupportLossless(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesSupportLossless)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DoesSupportMultiframe(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesSupportMultiframe)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MatchesMimeType(&self, wzmimetype: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MatchesMimeType)(windows_core::Interface::as_raw(self), wzmimetype.param().abi(), &mut result__).map(|| result__) } } @@ -204,7 +204,7 @@ windows_core::imp::define_interface!(IWICBitmapCodecProgressNotification, IWICBi impl std::ops::Deref for IWICBitmapCodecProgressNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapCodecProgressNotification, windows_core::IUnknown); @@ -222,7 +222,7 @@ windows_core::imp::define_interface!(IWICBitmapDecoder, IWICBitmapDecoder_Vtbl, impl std::ops::Deref for IWICBitmapDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapDecoder, windows_core::IUnknown); @@ -232,7 +232,7 @@ impl IWICBitmapDecoder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryCapability)(windows_core::Interface::as_raw(self), pistream.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -243,11 +243,11 @@ impl IWICBitmapDecoder { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pistream.param().abi(), cacheoptions).ok() } pub unsafe fn GetContainerFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainerFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDecoderInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDecoderInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CopyPalette(&self, pipalette: P0) -> windows_core::Result<()> @@ -257,26 +257,26 @@ impl IWICBitmapDecoder { (windows_core::Interface::vtable(self).CopyPalette)(windows_core::Interface::as_raw(self), pipalette.param().abi()).ok() } pub unsafe fn GetMetadataQueryReader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataQueryReader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPreview(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreview)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColorContexts(&self, ppicolorcontexts: &mut [Option], pcactualcount: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetColorContexts)(windows_core::Interface::as_raw(self), ppicolorcontexts.len().try_into().unwrap(), core::mem::transmute(ppicolorcontexts.as_ptr()), pcactualcount).ok() } pub unsafe fn GetThumbnail(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThumbnail)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFrameCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFrame(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrame)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -305,7 +305,7 @@ windows_core::imp::define_interface!(IWICBitmapDecoderInfo, IWICBitmapDecoderInf impl std::ops::Deref for IWICBitmapDecoderInfo { type Target = IWICBitmapCodecInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapDecoderInfo, windows_core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); @@ -318,11 +318,11 @@ impl IWICBitmapDecoderInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MatchesPattern)(windows_core::Interface::as_raw(self), pistream.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CreateInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -340,7 +340,7 @@ windows_core::imp::define_interface!(IWICBitmapEncoder, IWICBitmapEncoder_Vtbl, impl std::ops::Deref for IWICBitmapEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapEncoder, windows_core::IUnknown); @@ -353,11 +353,11 @@ impl IWICBitmapEncoder { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pistream.param().abi(), cacheoption).ok() } pub unsafe fn GetContainerFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainerFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEncoderInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEncoderInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetColorContexts(&self, ppicolorcontext: &[Option]) -> windows_core::Result<()> { @@ -389,7 +389,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataQueryWriter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -417,13 +417,13 @@ windows_core::imp::define_interface!(IWICBitmapEncoderInfo, IWICBitmapEncoderInf impl std::ops::Deref for IWICBitmapEncoderInfo { type Target = IWICBitmapCodecInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapEncoderInfo, windows_core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); impl IWICBitmapEncoderInfo { pub unsafe fn CreateInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -436,7 +436,7 @@ windows_core::imp::define_interface!(IWICBitmapFlipRotator, IWICBitmapFlipRotato impl std::ops::Deref for IWICBitmapFlipRotator { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapFlipRotator, windows_core::IUnknown, IWICBitmapSource); @@ -457,20 +457,20 @@ windows_core::imp::define_interface!(IWICBitmapFrameDecode, IWICBitmapFrameDecod impl std::ops::Deref for IWICBitmapFrameDecode { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapFrameDecode, windows_core::IUnknown, IWICBitmapSource); impl IWICBitmapFrameDecode { pub unsafe fn GetMetadataQueryReader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataQueryReader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColorContexts(&self, ppicolorcontexts: &mut [Option], pcactualcount: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetColorContexts)(windows_core::Interface::as_raw(self), ppicolorcontexts.len().try_into().unwrap(), core::mem::transmute(ppicolorcontexts.as_ptr()), pcactualcount).ok() } pub unsafe fn GetThumbnail(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThumbnail)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -485,7 +485,7 @@ windows_core::imp::define_interface!(IWICBitmapFrameEncode, IWICBitmapFrameEncod impl std::ops::Deref for IWICBitmapFrameEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapFrameEncode, windows_core::IUnknown); @@ -534,7 +534,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataQueryWriter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -560,7 +560,7 @@ windows_core::imp::define_interface!(IWICBitmapLock, IWICBitmapLock_Vtbl, 0x0000 impl std::ops::Deref for IWICBitmapLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapLock, windows_core::IUnknown); @@ -569,14 +569,14 @@ impl IWICBitmapLock { (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), puiwidth, puiheight).ok() } pub unsafe fn GetStride(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStride)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pcbbuffersize, ppbdata).ok() } pub unsafe fn GetPixelFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPixelFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -592,7 +592,7 @@ windows_core::imp::define_interface!(IWICBitmapScaler, IWICBitmapScaler_Vtbl, 0x impl std::ops::Deref for IWICBitmapScaler { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapScaler, windows_core::IUnknown, IWICBitmapSource); @@ -613,7 +613,7 @@ windows_core::imp::define_interface!(IWICBitmapSource, IWICBitmapSource_Vtbl, 0x impl std::ops::Deref for IWICBitmapSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapSource, windows_core::IUnknown); @@ -622,7 +622,7 @@ impl IWICBitmapSource { (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), puiwidth, puiheight).ok() } pub unsafe fn GetPixelFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPixelFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> windows_core::Result<()> { @@ -651,7 +651,7 @@ windows_core::imp::define_interface!(IWICBitmapSourceTransform, IWICBitmapSource impl std::ops::Deref for IWICBitmapSourceTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICBitmapSourceTransform, windows_core::IUnknown); @@ -666,7 +666,7 @@ impl IWICBitmapSourceTransform { (windows_core::Interface::vtable(self).GetClosestPixelFormat)(windows_core::Interface::as_raw(self), pguiddstformat).ok() } pub unsafe fn DoesSupportTransform(&self, dsttransform: WICBitmapTransformOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesSupportTransform)(windows_core::Interface::as_raw(self), dsttransform, &mut result__).map(|| result__) } } @@ -682,7 +682,7 @@ windows_core::imp::define_interface!(IWICColorContext, IWICColorContext_Vtbl, 0x impl std::ops::Deref for IWICColorContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICColorContext, windows_core::IUnknown); @@ -700,14 +700,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(pbbuffer.as_ptr()), pcbactual).ok() } pub unsafe fn GetExifColorSpace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExifColorSpace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -725,7 +725,7 @@ windows_core::imp::define_interface!(IWICColorTransform, IWICColorTransform_Vtbl impl std::ops::Deref for IWICColorTransform { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICColorTransform, windows_core::IUnknown, IWICBitmapSource); @@ -748,7 +748,7 @@ windows_core::imp::define_interface!(IWICComponentFactory, IWICComponentFactory_ impl std::ops::Deref for IWICComponentFactory { type Target = IWICImagingFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICComponentFactory, windows_core::IUnknown, IWICImagingFactory); @@ -758,7 +758,7 @@ impl IWICComponentFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMetadataReader)(windows_core::Interface::as_raw(self), guidmetadataformat, pguidvendor, dwoptions, pistream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -766,37 +766,37 @@ impl IWICComponentFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMetadataReaderFromContainer)(windows_core::Interface::as_raw(self), guidcontainerformat, pguidvendor, dwoptions, pistream.param().abi(), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMetadataWriter)(windows_core::Interface::as_raw(self), guidmetadataformat, pguidvendor, dwmetadataoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateMetadataWriterFromReader(&self, pireader: P0, pguidvendor: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMetadataWriterFromReader)(windows_core::Interface::as_raw(self), pireader.param().abi(), pguidvendor, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateQueryReaderFromBlockReader(&self, piblockreader: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateQueryReaderFromBlockReader)(windows_core::Interface::as_raw(self), piblockreader.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateQueryWriterFromBlockWriter(&self, piblockwriter: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateQueryWriterFromBlockWriter)(windows_core::Interface::as_raw(self), piblockwriter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] pub unsafe fn CreateEncoderPropertyBag(&self, ppropoptions: &[super::super::System::Com::StructuredStorage::PROPBAG2]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncoderPropertyBag)(windows_core::Interface::as_raw(self), core::mem::transmute(ppropoptions.as_ptr()), ppropoptions.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -824,28 +824,28 @@ windows_core::imp::define_interface!(IWICComponentInfo, IWICComponentInfo_Vtbl, impl std::ops::Deref for IWICComponentInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICComponentInfo, windows_core::IUnknown); impl IWICComponentInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCLSID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSigningStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSigningStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(wzauthor.as_ptr()), pcchactual).ok() } pub unsafe fn GetVendorGUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVendorGUID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersion(&self, wzversion: &mut [u16], pcchactual: *mut u32) -> windows_core::Result<()> { @@ -874,7 +874,7 @@ windows_core::imp::define_interface!(IWICDdsDecoder, IWICDdsDecoder_Vtbl, 0x409c impl std::ops::Deref for IWICDdsDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICDdsDecoder, windows_core::IUnknown); @@ -884,7 +884,7 @@ impl IWICDdsDecoder { (windows_core::Interface::vtable(self).GetParameters)(windows_core::Interface::as_raw(self), pparameters).ok() } pub unsafe fn GetFrame(&self, arrayindex: u32, miplevel: u32, sliceindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrame)(windows_core::Interface::as_raw(self), arrayindex, miplevel, sliceindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -901,7 +901,7 @@ windows_core::imp::define_interface!(IWICDdsEncoder, IWICDdsEncoder_Vtbl, 0x5cac impl std::ops::Deref for IWICDdsEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICDdsEncoder, windows_core::IUnknown); @@ -935,7 +935,7 @@ windows_core::imp::define_interface!(IWICDdsFrameDecode, IWICDdsFrameDecode_Vtbl impl std::ops::Deref for IWICDdsFrameDecode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICDdsFrameDecode, windows_core::IUnknown); @@ -945,7 +945,7 @@ impl IWICDdsFrameDecode { } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetFormatInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormatInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CopyBlocks(&self, prcboundsinblocks: *const WICRect, cbstride: u32, pbbuffer: &mut [u8]) -> windows_core::Result<()> { @@ -966,7 +966,7 @@ windows_core::imp::define_interface!(IWICDevelopRaw, IWICDevelopRaw_Vtbl, 0xfbec impl std::ops::Deref for IWICDevelopRaw { type Target = IWICBitmapFrameDecode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICDevelopRaw, windows_core::IUnknown, IWICBitmapSource, IWICBitmapFrameDecode); @@ -979,14 +979,14 @@ impl IWICDevelopRaw { } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetCurrentParameterSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentParameterSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExposureCompensation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWhitePointRGB(&self, red: u32, green: u32, blue: u32) -> windows_core::Result<()> { @@ -999,14 +999,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamedWhitePoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWhitePointKelvin)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetKelvinRangeInfo(&self, pminkelvintemp: *mut u32, pmaxkelvintemp: *mut u32, pkelvintempstepvalue: *mut u32) -> windows_core::Result<()> { @@ -1016,42 +1016,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContrast)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGamma)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSharpness)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSaturation)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTint)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNoiseReduction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDestinationColorContext(&self, pcolorcontext: P0) -> windows_core::Result<()> @@ -1070,14 +1070,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRotation)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotificationCallback(&self, pcallback: P0) -> windows_core::Result<()> @@ -1130,7 +1130,7 @@ windows_core::imp::define_interface!(IWICDevelopRawNotificationCallback, IWICDev impl std::ops::Deref for IWICDevelopRawNotificationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICDevelopRawNotificationCallback, windows_core::IUnknown); @@ -1148,7 +1148,7 @@ windows_core::imp::define_interface!(IWICEnumMetadataItem, IWICEnumMetadataItem_ impl std::ops::Deref for IWICEnumMetadataItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICEnumMetadataItem, windows_core::IUnknown); @@ -1163,14 +1163,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IWICEnumMetadataItem_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1179,7 +1179,7 @@ windows_core::imp::define_interface!(IWICFastMetadataEncoder, IWICFastMetadataEn impl std::ops::Deref for IWICFastMetadataEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICFastMetadataEncoder, windows_core::IUnknown); @@ -1188,7 +1188,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataQueryWriter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1202,7 +1202,7 @@ windows_core::imp::define_interface!(IWICFormatConverter, IWICFormatConverter_Vt impl std::ops::Deref for IWICFormatConverter { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICFormatConverter, windows_core::IUnknown, IWICBitmapSource); @@ -1215,7 +1215,7 @@ impl IWICFormatConverter { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pisource.param().abi(), dstformat, dither, pipalette.param().abi(), alphathresholdpercent, palettetranslate).ok() } pub unsafe fn CanConvert(&self, srcpixelformat: *const windows_core::GUID, dstpixelformat: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanConvert)(windows_core::Interface::as_raw(self), srcpixelformat, dstpixelformat, &mut result__).map(|| result__) } } @@ -1229,7 +1229,7 @@ windows_core::imp::define_interface!(IWICFormatConverterInfo, IWICFormatConverte impl std::ops::Deref for IWICFormatConverterInfo { type Target = IWICComponentInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICFormatConverterInfo, windows_core::IUnknown, IWICComponentInfo); @@ -1238,7 +1238,7 @@ impl IWICFormatConverterInfo { (windows_core::Interface::vtable(self).GetPixelFormats)(windows_core::Interface::as_raw(self), ppixelformatguids.len().try_into().unwrap(), core::mem::transmute(ppixelformatguids.as_ptr()), pcactual).ok() } pub unsafe fn CreateInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1252,7 +1252,7 @@ windows_core::imp::define_interface!(IWICImagingFactory, IWICImagingFactory_Vtbl impl std::ops::Deref for IWICImagingFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICImagingFactory, windows_core::IUnknown); @@ -1261,7 +1261,7 @@ impl IWICImagingFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDecoderFromFilename)(windows_core::Interface::as_raw(self), wzfilename.param().abi(), core::mem::transmute(pguidvendor.unwrap_or(std::ptr::null())), dwdesiredaccess, metadataoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1269,78 +1269,78 @@ impl IWICImagingFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDecoderFromStream)(windows_core::Interface::as_raw(self), pistream.param().abi(), pguidvendor, metadataoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDecoderFromFileHandle(&self, hfile: usize, pguidvendor: *const windows_core::GUID, metadataoptions: WICDecodeOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDecoderFromFileHandle)(windows_core::Interface::as_raw(self), hfile, pguidvendor, metadataoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateComponentInfo(&self, clsidcomponent: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateComponentInfo)(windows_core::Interface::as_raw(self), clsidcomponent, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDecoder(&self, guidcontainerformat: *const windows_core::GUID, pguidvendor: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDecoder)(windows_core::Interface::as_raw(self), guidcontainerformat, pguidvendor, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateEncoder(&self, guidcontainerformat: *const windows_core::GUID, pguidvendor: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncoder)(windows_core::Interface::as_raw(self), guidcontainerformat, pguidvendor, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePalette(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePalette)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFormatConverter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFormatConverter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBitmapScaler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapScaler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBitmapClipper(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapClipper)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBitmapFlipRotator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapFlipRotator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateColorContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateColorTransformer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorTransformer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmap)(windows_core::Interface::as_raw(self), uiwidth, uiheight, pixelformat, option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBitmapFromSource(&self, pibitmapsource: P0, option: WICBitmapCreateCacheOption) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapFromSource)(windows_core::Interface::as_raw(self), pibitmapsource.param().abi(), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBitmapFromSourceRect(&self, pibitmapsource: P0, x: u32, y: u32, width: u32, height: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapFromSourceRect)(windows_core::Interface::as_raw(self), pibitmapsource.param().abi(), x, y, width, height, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapFromMemory)(windows_core::Interface::as_raw(self), uiwidth, uiheight, pixelformat, cbstride, pbbuffer.len().try_into().unwrap(), core::mem::transmute(pbbuffer.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1349,7 +1349,7 @@ impl IWICImagingFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapFromHBITMAP)(windows_core::Interface::as_raw(self), hbitmap.param().abi(), hpalette.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -1357,37 +1357,37 @@ impl IWICImagingFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBitmapFromHICON)(windows_core::Interface::as_raw(self), hicon.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateComponentEnumerator(&self, componenttypes: u32, options: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateComponentEnumerator)(windows_core::Interface::as_raw(self), componenttypes, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFastMetadataEncoderFromDecoder(&self, pidecoder: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFastMetadataEncoderFromDecoder)(windows_core::Interface::as_raw(self), pidecoder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFastMetadataEncoderFromFrameDecode(&self, piframedecoder: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFastMetadataEncoderFromFrameDecode)(windows_core::Interface::as_raw(self), piframedecoder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateQueryWriter(&self, guidmetadataformat: *const windows_core::GUID, pguidvendor: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateQueryWriter)(windows_core::Interface::as_raw(self), guidmetadataformat, pguidvendor, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateQueryWriterFromReader(&self, piqueryreader: P0, pguidvendor: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateQueryWriterFromReader)(windows_core::Interface::as_raw(self), piqueryreader.param().abi(), pguidvendor, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1439,13 +1439,13 @@ windows_core::imp::define_interface!(IWICJpegFrameDecode, IWICJpegFrameDecode_Vt impl std::ops::Deref for IWICJpegFrameDecode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICJpegFrameDecode, windows_core::IUnknown); impl IWICJpegFrameDecode { pub unsafe fn DoesSupportIndexing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesSupportIndexing)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIndexing(&self, options: WICJpegIndexingOptions, horizontalintervalsize: u32) -> windows_core::Result<()> { @@ -1506,7 +1506,7 @@ windows_core::imp::define_interface!(IWICJpegFrameEncode, IWICJpegFrameEncode_Vt impl std::ops::Deref for IWICJpegFrameEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICJpegFrameEncode, windows_core::IUnknown); @@ -1548,26 +1548,26 @@ windows_core::imp::define_interface!(IWICMetadataBlockReader, IWICMetadataBlockR impl std::ops::Deref for IWICMetadataBlockReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICMetadataBlockReader, windows_core::IUnknown); impl IWICMetadataBlockReader { pub unsafe fn GetContainerFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainerFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetReaderByIndex(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReaderByIndex)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1586,7 +1586,7 @@ windows_core::imp::define_interface!(IWICMetadataBlockWriter, IWICMetadataBlockW impl std::ops::Deref for IWICMetadataBlockWriter { type Target = IWICMetadataBlockReader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICMetadataBlockWriter, windows_core::IUnknown, IWICMetadataBlockReader); @@ -1598,7 +1598,7 @@ impl IWICMetadataBlockWriter { (windows_core::Interface::vtable(self).InitializeFromBlockReader)(windows_core::Interface::as_raw(self), pimdblockreader.param().abi()).ok() } pub unsafe fn GetWriterByIndex(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWriterByIndex)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddWriter(&self, pimetadatawriter: P0) -> windows_core::Result<()> @@ -1630,13 +1630,13 @@ windows_core::imp::define_interface!(IWICMetadataHandlerInfo, IWICMetadataHandle impl std::ops::Deref for IWICMetadataHandlerInfo { type Target = IWICComponentInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICMetadataHandlerInfo, windows_core::IUnknown, IWICComponentInfo); impl IWICMetadataHandlerInfo { pub unsafe fn GetMetadataFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContainerFormats(&self, pguidcontainerformats: &mut [windows_core::GUID], pcchactual: *mut u32) -> windows_core::Result<()> { @@ -1649,15 +1649,15 @@ impl IWICMetadataHandlerInfo { (windows_core::Interface::vtable(self).GetDeviceModels)(windows_core::Interface::as_raw(self), wzdevicemodels.len().try_into().unwrap(), core::mem::transmute(wzdevicemodels.as_ptr()), pcchactual).ok() } pub unsafe fn DoesRequireFullStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesRequireFullStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DoesSupportPadding(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesSupportPadding)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DoesRequireFixedSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesRequireFixedSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1676,13 +1676,13 @@ windows_core::imp::define_interface!(IWICMetadataQueryReader, IWICMetadataQueryR impl std::ops::Deref for IWICMetadataQueryReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICMetadataQueryReader, windows_core::IUnknown); impl IWICMetadataQueryReader { pub unsafe fn GetContainerFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainerFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocation(&self, wznamespace: &mut [u16], pcchactuallength: *mut u32) -> windows_core::Result<()> { @@ -1696,7 +1696,7 @@ impl IWICMetadataQueryReader { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1705,7 +1705,7 @@ pub struct IWICMetadataQueryReader_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetContainerFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, - pub GetMetadataByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMetadataByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1715,7 +1715,7 @@ windows_core::imp::define_interface!(IWICMetadataQueryWriter, IWICMetadataQueryW impl std::ops::Deref for IWICMetadataQueryWriter { type Target = IWICMetadataQueryReader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICMetadataQueryWriter, windows_core::IUnknown, IWICMetadataQueryReader); @@ -1736,28 +1736,28 @@ impl IWICMetadataQueryWriter { #[repr(C)] pub struct IWICMetadataQueryWriter_Vtbl { pub base__: IWICMetadataQueryReader_Vtbl, - pub SetMetadataByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMetadataByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveMetadataByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataReader, IWICMetadataReader_Vtbl, 0x9204fe99_d8fc_4fd5_a001_9536b067a899); impl std::ops::Deref for IWICMetadataReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICMetadataReader, windows_core::IUnknown); impl IWICMetadataReader { pub unsafe fn GetMetadataFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMetadataHandlerInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataHandlerInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValueByIndex(&self, nindex: u32, pvarschema: *mut windows_core::PROPVARIANT, pvarid: *mut windows_core::PROPVARIANT, pvarvalue: *mut windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -1767,7 +1767,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1777,15 +1777,15 @@ pub struct IWICMetadataReader_Vtbl { pub GetMetadataFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetMetadataHandlerInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetValueByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValueByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataReaderInfo, IWICMetadataReaderInfo_Vtbl, 0xeebf1f5b_07c1_4447_a3ab_22acaf78a804); impl std::ops::Deref for IWICMetadataReaderInfo { type Target = IWICMetadataHandlerInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICMetadataReaderInfo, windows_core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); @@ -1798,11 +1798,11 @@ impl IWICMetadataReaderInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MatchesPattern)(windows_core::Interface::as_raw(self), guidcontainerformat, pistream.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CreateInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1820,7 +1820,7 @@ windows_core::imp::define_interface!(IWICMetadataWriter, IWICMetadataWriter_Vtbl impl std::ops::Deref for IWICMetadataWriter { type Target = IWICMetadataReader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICMetadataWriter, windows_core::IUnknown, IWICMetadataReader); @@ -1841,16 +1841,16 @@ impl IWICMetadataWriter { #[repr(C)] pub struct IWICMetadataWriter_Vtbl { pub base__: IWICMetadataReader_Vtbl, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValueByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValueByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveValueByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataWriterInfo, IWICMetadataWriterInfo_Vtbl, 0xb22e3fba_3925_4323_b5c1_9ebfc430f236); impl std::ops::Deref for IWICMetadataWriterInfo { type Target = IWICMetadataHandlerInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICMetadataWriterInfo, windows_core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); @@ -1859,7 +1859,7 @@ impl IWICMetadataWriterInfo { (windows_core::Interface::vtable(self).GetHeader)(windows_core::Interface::as_raw(self), guidcontainerformat, cbsize, core::mem::transmute(pheader.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pcbactual.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn CreateInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1873,7 +1873,7 @@ windows_core::imp::define_interface!(IWICPalette, IWICPalette_Vtbl, 0x00000040_a impl std::ops::Deref for IWICPalette { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICPalette, windows_core::IUnknown); @@ -1901,26 +1901,26 @@ impl IWICPalette { (windows_core::Interface::vtable(self).InitializeFromPalette)(windows_core::Interface::as_raw(self), pipalette.param().abi()).ok() } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetColorCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColorCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetColors(&self, pcolors: &mut [u32], pcactualcolors: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetColors)(windows_core::Interface::as_raw(self), pcolors.len().try_into().unwrap(), core::mem::transmute(pcolors.as_ptr()), pcactualcolors).ok() } pub unsafe fn IsBlackWhite(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsBlackWhite)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsGrayscale(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsGrayscale)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HasAlpha(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasAlpha)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1944,7 +1944,7 @@ windows_core::imp::define_interface!(IWICPersistStream, IWICPersistStream_Vtbl, impl std::ops::Deref for IWICPersistStream { type Target = super::super::System::Com::IPersistStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1984,25 +1984,25 @@ windows_core::imp::define_interface!(IWICPixelFormatInfo, IWICPixelFormatInfo_Vt impl std::ops::Deref for IWICPixelFormatInfo { type Target = IWICComponentInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICPixelFormatInfo, windows_core::IUnknown, IWICComponentInfo); impl IWICPixelFormatInfo { pub unsafe fn GetFormatGUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormatGUID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetColorContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColorContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBitsPerPixel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitsPerPixel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetChannelMask(&self, uichannelindex: u32, pbmaskbuffer: &mut [u8], pcbactual: *mut u32) -> windows_core::Result<()> { @@ -2022,17 +2022,17 @@ windows_core::imp::define_interface!(IWICPixelFormatInfo2, IWICPixelFormatInfo2_ impl std::ops::Deref for IWICPixelFormatInfo2 { type Target = IWICPixelFormatInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICPixelFormatInfo2, windows_core::IUnknown, IWICComponentInfo, IWICPixelFormatInfo); impl IWICPixelFormatInfo2 { pub unsafe fn SupportsTransparency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportsTransparency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumericRepresentation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumericRepresentation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2046,7 +2046,7 @@ windows_core::imp::define_interface!(IWICPlanarBitmapFrameEncode, IWICPlanarBitm impl std::ops::Deref for IWICPlanarBitmapFrameEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICPlanarBitmapFrameEncode, windows_core::IUnknown); @@ -2068,7 +2068,7 @@ windows_core::imp::define_interface!(IWICPlanarBitmapSourceTransform, IWICPlanar impl std::ops::Deref for IWICPlanarBitmapSourceTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICPlanarBitmapSourceTransform, windows_core::IUnknown); @@ -2090,7 +2090,7 @@ windows_core::imp::define_interface!(IWICPlanarFormatConverter, IWICPlanarFormat impl std::ops::Deref for IWICPlanarFormatConverter { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICPlanarFormatConverter, windows_core::IUnknown, IWICBitmapSource); @@ -2102,7 +2102,7 @@ impl IWICPlanarFormatConverter { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), core::mem::transmute(ppplanes.as_ptr()), ppplanes.len().try_into().unwrap(), dstformat, dither, pipalette.param().abi(), alphathresholdpercent, palettetranslate).ok() } pub unsafe fn CanConvert(&self, psrcpixelformats: &[windows_core::GUID], dstpixelformat: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanConvert)(windows_core::Interface::as_raw(self), core::mem::transmute(psrcpixelformats.as_ptr()), psrcpixelformats.len().try_into().unwrap(), dstpixelformat, &mut result__).map(|| result__) } } @@ -2116,7 +2116,7 @@ windows_core::imp::define_interface!(IWICProgressCallback, IWICProgressCallback_ impl std::ops::Deref for IWICProgressCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICProgressCallback, windows_core::IUnknown); @@ -2134,17 +2134,17 @@ windows_core::imp::define_interface!(IWICProgressiveLevelControl, IWICProgressiv impl std::ops::Deref for IWICProgressiveLevelControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICProgressiveLevelControl, windows_core::IUnknown); impl IWICProgressiveLevelControl { pub unsafe fn GetLevelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLevelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCurrentLevel(&self, nlevel: u32) -> windows_core::Result<()> { @@ -2164,7 +2164,7 @@ windows_core::imp::define_interface!(IWICStream, IWICStream_Vtbl, 0x135ff860_22b impl std::ops::Deref for IWICStream { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2214,22 +2214,22 @@ windows_core::imp::define_interface!(IWICStreamProvider, IWICStreamProvider_Vtbl impl std::ops::Deref for IWICStreamProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWICStreamProvider, windows_core::IUnknown); impl IWICStreamProvider { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPersistOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPersistOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPreferredVendorGUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreferredVendorGUID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RefreshStream(&self) -> windows_core::Result<()> { 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 e2bf7a4249..4246492f3f 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 @@ -24,7 +24,7 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("prntvpt.dll" "system" fn PTConvertPrintTicketToDevMode(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : * mut core::ffi::c_void, basedevmodetype : EDefaultDevmodeType, scope : EPrintTicketScope, pcbdevmode : *mut u32, ppdevmode : *mut *mut super::super::Gdi:: DEVMODEA, pbstrerrormessage : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("prntvpt.dll" "system" fn PTConvertPrintTicketToDevMode(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : * mut core::ffi::c_void, basedevmodetype : EDefaultDevmodeType, scope : EPrintTicketScope, pcbdevmode : *mut u32, ppdevmode : *mut *mut super::super::Gdi:: DEVMODEA, pbstrerrormessage : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); PTConvertPrintTicketToDevMode(hprovider.param().abi(), pprintticket.param().abi(), basedevmodetype, scope, pcbdevmode, ppdevmode, core::mem::transmute(pbstrerrormessage.unwrap_or(std::ptr::null_mut()))).ok() } #[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] @@ -35,7 +35,7 @@ where P1: windows_core::Param, P2: windows_core::Param, { - windows_targets::link!("prntvpt.dll" "system" fn PTGetPrintCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : * mut core::ffi::c_void, pcapabilities : * mut core::ffi::c_void, pbstrerrormessage : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("prntvpt.dll" "system" fn PTGetPrintCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : * mut core::ffi::c_void, pcapabilities : * mut core::ffi::c_void, pbstrerrormessage : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); PTGetPrintCapabilities(hprovider.param().abi(), pprintticket.param().abi(), pcapabilities.param().abi(), core::mem::transmute(pbstrerrormessage.unwrap_or(std::ptr::null_mut()))).ok() } #[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] @@ -46,7 +46,7 @@ where P1: windows_core::Param, P2: windows_core::Param, { - windows_targets::link!("prntvpt.dll" "system" fn PTGetPrintDeviceCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : * mut core::ffi::c_void, pdevicecapabilities : * mut core::ffi::c_void, pbstrerrormessage : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("prntvpt.dll" "system" fn PTGetPrintDeviceCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : * mut core::ffi::c_void, pdevicecapabilities : * mut core::ffi::c_void, pbstrerrormessage : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); PTGetPrintDeviceCapabilities(hprovider.param().abi(), pprintticket.param().abi(), pdevicecapabilities.param().abi(), core::mem::transmute(pbstrerrormessage.unwrap_or(std::ptr::null_mut()))).ok() } #[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] @@ -58,7 +58,7 @@ where P2: windows_core::Param, P3: windows_core::Param, { - windows_targets::link!("prntvpt.dll" "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 std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("prntvpt.dll" "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 core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); PTGetPrintDeviceResources(hprovider.param().abi(), pszlocalename.param().abi(), pprintticket.param().abi(), pdeviceresources.param().abi(), core::mem::transmute(pbstrerrormessage.unwrap_or(std::ptr::null_mut()))).ok() } #[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))] @@ -70,7 +70,7 @@ where P2: windows_core::Param, P3: windows_core::Param, { - windows_targets::link!("prntvpt.dll" "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 std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("prntvpt.dll" "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 core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); PTMergeAndValidatePrintTicket(hprovider.param().abi(), pbaseticket.param().abi(), pdeltaticket.param().abi(), scope, presultticket.param().abi(), core::mem::transmute(pbstrerrormessage.unwrap_or(std::ptr::null_mut()))).ok() } #[cfg(feature = "Win32_Storage_Xps")] @@ -80,7 +80,7 @@ where P0: windows_core::Param, { windows_targets::link!("prntvpt.dll" "system" fn PTOpenProvider(pszprintername : windows_core::PCWSTR, dwversion : u32, phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PTOpenProvider(pszprintername.param().abi(), dwversion, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Storage_Xps")] @@ -98,7 +98,7 @@ where P0: windows_core::Param, { windows_targets::link!("prntvpt.dll" "system" fn PTQuerySchemaVersionSupport(pszprintername : windows_core::PCWSTR, pmaxversion : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PTQuerySchemaVersionSupport(pszprintername.param().abi(), &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs index 9ad68286dd..72c54c7056 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs @@ -269,7 +269,7 @@ impl IBidiSpl2_Vtbl { let this = (*this).get_impl(); IBidiSpl2_Impl::UnbindDevice(this).into() } - unsafe extern "system" fn SendRecvXMLString, Impl: IBidiSpl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrequest: std::mem::MaybeUninit, pbstrresponse: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SendRecvXMLString, Impl: IBidiSpl2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrequest: core::mem::MaybeUninit, pbstrresponse: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBidiSpl2_Impl::SendRecvXMLString(this, core::mem::transmute(&bstrrequest)) { @@ -311,7 +311,7 @@ pub trait IFixedDocument_Impl: Sized { impl windows_core::RuntimeName for IFixedDocument {} impl IFixedDocument_Vtbl { pub const fn new, Impl: IFixedDocument_Impl, const OFFSET: isize>() -> IFixedDocument_Vtbl { - unsafe extern "system" fn GetUri, Impl: IFixedDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUri, Impl: IFixedDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFixedDocument_Impl::GetUri(this) { @@ -357,7 +357,7 @@ pub trait IFixedDocumentSequence_Impl: Sized { impl windows_core::RuntimeName for IFixedDocumentSequence {} impl IFixedDocumentSequence_Vtbl { pub const fn new, Impl: IFixedDocumentSequence_Impl, const OFFSET: isize>() -> IFixedDocumentSequence_Vtbl { - unsafe extern "system" fn GetUri, Impl: IFixedDocumentSequence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUri, Impl: IFixedDocumentSequence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFixedDocumentSequence_Impl::GetUri(this) { @@ -519,7 +519,7 @@ impl windows_core::RuntimeName for IImgErrorInfo {} #[cfg(feature = "Win32_System_Com")] impl IImgErrorInfo_Vtbl { pub const fn new, Impl: IImgErrorInfo_Impl, const OFFSET: isize>() -> IImgErrorInfo_Vtbl { - unsafe extern "system" fn GetDeveloperDescription, Impl: IImgErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeveloperDescription, Impl: IImgErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IImgErrorInfo_Impl::GetDeveloperDescription(this) { @@ -552,7 +552,7 @@ impl IImgErrorInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetUserParameter, Impl: IImgErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cparam: u32, pbstrparam: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUserParameter, Impl: IImgErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cparam: u32, pbstrparam: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IImgErrorInfo_Impl::GetUserParameter(this, core::mem::transmute_copy(&cparam)) { @@ -563,7 +563,7 @@ impl IImgErrorInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetUserFallback, Impl: IImgErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfallback: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUserFallback, Impl: IImgErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfallback: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IImgErrorInfo_Impl::GetUserFallback(this) { @@ -641,7 +641,7 @@ pub trait IPartBase_Impl: Sized { impl windows_core::RuntimeName for IPartBase {} impl IPartBase_Vtbl { pub const fn new, Impl: IPartBase_Impl, const OFFSET: isize>() -> IPartBase_Vtbl { - unsafe extern "system" fn GetUri, Impl: IPartBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUri, Impl: IPartBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPartBase_Impl::GetUri(this) { @@ -707,7 +707,7 @@ pub trait IPartDiscardControl_Impl: Sized { impl windows_core::RuntimeName for IPartDiscardControl {} impl IPartDiscardControl_Vtbl { pub const fn new, Impl: IPartDiscardControl_Impl, const OFFSET: isize>() -> IPartDiscardControl_Vtbl { - unsafe extern "system" fn GetDiscardProperties, Impl: IPartDiscardControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, urisentinelpage: *mut std::mem::MaybeUninit, uriparttodiscard: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDiscardProperties, Impl: IPartDiscardControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, urisentinelpage: *mut core::mem::MaybeUninit, uriparttodiscard: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPartDiscardControl_Impl::GetDiscardProperties(this, core::mem::transmute_copy(&urisentinelpage), core::mem::transmute_copy(&uriparttodiscard)).into() @@ -726,7 +726,7 @@ pub trait IPartFont_Impl: Sized + IPartBase_Impl { impl windows_core::RuntimeName for IPartFont {} impl IPartFont_Vtbl { pub const fn new, Impl: IPartFont_Impl, const OFFSET: isize>() -> IPartFont_Vtbl { - unsafe extern "system" fn GetFontProperties, Impl: IPartFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontenttype: *mut std::mem::MaybeUninit, pfontoptions: *mut EXpsFontOptions) -> windows_core::HRESULT { + unsafe extern "system" fn GetFontProperties, Impl: IPartFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontenttype: *mut core::mem::MaybeUninit, pfontoptions: *mut EXpsFontOptions) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPartFont_Impl::GetFontProperties(this, core::mem::transmute_copy(&pcontenttype), core::mem::transmute_copy(&pfontoptions)).into() @@ -782,7 +782,7 @@ pub trait IPartImage_Impl: Sized + IPartBase_Impl { impl windows_core::RuntimeName for IPartImage {} impl IPartImage_Vtbl { pub const fn new, Impl: IPartImage_Impl, const OFFSET: isize>() -> IPartImage_Vtbl { - unsafe extern "system" fn GetImageProperties, Impl: IPartImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontenttype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetImageProperties, Impl: IPartImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontenttype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPartImage_Impl::GetImageProperties(this) { @@ -835,7 +835,7 @@ pub trait IPartThumbnail_Impl: Sized + IPartBase_Impl { impl windows_core::RuntimeName for IPartThumbnail {} impl IPartThumbnail_Vtbl { pub const fn new, Impl: IPartThumbnail_Impl, const OFFSET: isize>() -> IPartThumbnail_Vtbl { - unsafe extern "system" fn GetThumbnailProperties, Impl: IPartThumbnail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontenttype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetThumbnailProperties, Impl: IPartThumbnail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontenttype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPartThumbnail_Impl::GetThumbnailProperties(this) { @@ -1405,7 +1405,7 @@ pub trait IPrintJob_Impl: Sized { impl windows_core::RuntimeName for IPrintJob {} impl IPrintJob_Vtbl { pub const fn new, Impl: IPrintJob_Impl, const OFFSET: isize>() -> IPrintJob_Vtbl { - unsafe extern "system" fn Name, Impl: IPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintJob_Impl::Name(this) { @@ -1873,12 +1873,12 @@ pub trait IPrintPipelinePropertyBag_Impl: Sized { impl windows_core::RuntimeName for IPrintPipelinePropertyBag {} impl IPrintPipelinePropertyBag_Vtbl { pub const fn new, Impl: IPrintPipelinePropertyBag_Impl, const OFFSET: isize>() -> IPrintPipelinePropertyBag_Vtbl { - unsafe extern "system" fn AddProperty, Impl: IPrintPipelinePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, pvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddProperty, Impl: IPrintPipelinePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, pvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrintPipelinePropertyBag_Impl::AddProperty(this, core::mem::transmute(&pszname), core::mem::transmute_copy(&pvar)).into() } - unsafe extern "system" fn GetProperty, Impl: IPrintPipelinePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IPrintPipelinePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintPipelinePropertyBag_Impl::GetProperty(this, core::mem::transmute(&pszname)) { @@ -2057,7 +2057,7 @@ impl windows_core::RuntimeName for IPrintSchemaCapabilities {} #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaCapabilities_Vtbl { pub const fn new, Impl: IPrintSchemaCapabilities_Impl, const OFFSET: isize>() -> IPrintSchemaCapabilities_Vtbl { - unsafe extern "system" fn GetFeatureByKeyName, Impl: IPrintSchemaCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrkeyname: std::mem::MaybeUninit, ppfeature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFeatureByKeyName, Impl: IPrintSchemaCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrkeyname: core::mem::MaybeUninit, ppfeature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaCapabilities_Impl::GetFeatureByKeyName(this, core::mem::transmute(&bstrkeyname)) { @@ -2068,7 +2068,7 @@ impl IPrintSchemaCapabilities_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFeature, Impl: IPrintSchemaCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrnamespaceuri: std::mem::MaybeUninit, ppfeature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFeature, Impl: IPrintSchemaCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrnamespaceuri: core::mem::MaybeUninit, ppfeature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaCapabilities_Impl::GetFeature(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { @@ -2158,7 +2158,7 @@ impl windows_core::RuntimeName for IPrintSchemaCapabilities2 {} #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaCapabilities2_Vtbl { pub const fn new, Impl: IPrintSchemaCapabilities2_Impl, const OFFSET: isize>() -> IPrintSchemaCapabilities2_Vtbl { - unsafe extern "system" fn GetParameterDefinition, Impl: IPrintSchemaCapabilities2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrnamespaceuri: std::mem::MaybeUninit, ppparameterdefinition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetParameterDefinition, Impl: IPrintSchemaCapabilities2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrnamespaceuri: core::mem::MaybeUninit, ppparameterdefinition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaCapabilities2_Impl::GetParameterDefinition(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { @@ -2184,7 +2184,7 @@ impl windows_core::RuntimeName for IPrintSchemaDisplayableElement {} #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaDisplayableElement_Vtbl { pub const fn new, Impl: IPrintSchemaDisplayableElement_Impl, const OFFSET: isize>() -> IPrintSchemaDisplayableElement_Vtbl { - unsafe extern "system" fn DisplayName, Impl: IPrintSchemaDisplayableElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IPrintSchemaDisplayableElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaDisplayableElement_Impl::DisplayName(this) { @@ -2223,7 +2223,7 @@ impl IPrintSchemaElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IPrintSchemaElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IPrintSchemaElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaElement_Impl::Name(this) { @@ -2234,7 +2234,7 @@ impl IPrintSchemaElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NamespaceUri, Impl: IPrintSchemaElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnamespaceuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NamespaceUri, Impl: IPrintSchemaElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnamespaceuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaElement_Impl::NamespaceUri(this) { @@ -2296,7 +2296,7 @@ impl IPrintSchemaFeature_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetOption, Impl: IPrintSchemaFeature_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrnamespaceuri: std::mem::MaybeUninit, ppoption: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetOption, Impl: IPrintSchemaFeature_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrnamespaceuri: core::mem::MaybeUninit, ppoption: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaFeature_Impl::GetOption(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { @@ -2390,7 +2390,7 @@ impl IPrintSchemaOption_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPropertyValue, Impl: IPrintSchemaOption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrnamespaceuri: std::mem::MaybeUninit, ppxmlvaluenode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyValue, Impl: IPrintSchemaOption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrnamespaceuri: core::mem::MaybeUninit, ppxmlvaluenode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaOption_Impl::GetPropertyValue(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { @@ -2627,7 +2627,7 @@ impl IPrintSchemaParameterDefinition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UnitType, Impl: IPrintSchemaParameterDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrunittype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UnitType, Impl: IPrintSchemaParameterDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrunittype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaParameterDefinition_Impl::UnitType(this) { @@ -2694,7 +2694,7 @@ impl windows_core::RuntimeName for IPrintSchemaParameterInitializer {} #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaParameterInitializer_Vtbl { pub const fn new, Impl: IPrintSchemaParameterInitializer_Impl, const OFFSET: isize>() -> IPrintSchemaParameterInitializer_Vtbl { - unsafe extern "system" fn Value, Impl: IPrintSchemaParameterInitializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IPrintSchemaParameterInitializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaParameterInitializer_Impl::Value(this) { @@ -2705,7 +2705,7 @@ impl IPrintSchemaParameterInitializer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IPrintSchemaParameterInitializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IPrintSchemaParameterInitializer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrintSchemaParameterInitializer_Impl::SetValue(this, core::mem::transmute_copy(&pvar)).into() @@ -2736,7 +2736,7 @@ impl windows_core::RuntimeName for IPrintSchemaTicket {} #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaTicket_Vtbl { pub const fn new, Impl: IPrintSchemaTicket_Impl, const OFFSET: isize>() -> IPrintSchemaTicket_Vtbl { - unsafe extern "system" fn GetFeatureByKeyName, Impl: IPrintSchemaTicket_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrkeyname: std::mem::MaybeUninit, ppfeature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFeatureByKeyName, Impl: IPrintSchemaTicket_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrkeyname: core::mem::MaybeUninit, ppfeature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaTicket_Impl::GetFeatureByKeyName(this, core::mem::transmute(&bstrkeyname)) { @@ -2747,7 +2747,7 @@ impl IPrintSchemaTicket_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFeature, Impl: IPrintSchemaTicket_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrnamespaceuri: std::mem::MaybeUninit, ppfeature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFeature, Impl: IPrintSchemaTicket_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrnamespaceuri: core::mem::MaybeUninit, ppfeature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaTicket_Impl::GetFeature(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { @@ -2837,7 +2837,7 @@ impl windows_core::RuntimeName for IPrintSchemaTicket2 {} #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaTicket2_Vtbl { pub const fn new, Impl: IPrintSchemaTicket2_Impl, const OFFSET: isize>() -> IPrintSchemaTicket2_Vtbl { - unsafe extern "system" fn GetParameterInitializer, Impl: IPrintSchemaTicket2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrnamespaceuri: std::mem::MaybeUninit, ppparameterinitializer: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetParameterInitializer, Impl: IPrintSchemaTicket2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrnamespaceuri: core::mem::MaybeUninit, ppparameterinitializer: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrintSchemaTicket2_Impl::GetParameterInitializer(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrnamespaceuri)) { @@ -2879,7 +2879,7 @@ impl IPrintTicketProvider_Vtbl { let this = (*this).get_impl(); IPrintTicketProvider_Impl::BindPrinter(this, core::mem::transmute_copy(&hprinter), core::mem::transmute_copy(&version), core::mem::transmute_copy(&poptions), core::mem::transmute_copy(&pdevmodeflags), core::mem::transmute_copy(&cnamespaces), core::mem::transmute_copy(&ppnamespaces)).into() } - unsafe extern "system" fn QueryDeviceNamespace, Impl: IPrintTicketProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdefaultnamespace: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueryDeviceNamespace, Impl: IPrintTicketProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdefaultnamespace: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrintTicketProvider_Impl::QueryDeviceNamespace(this, core::mem::transmute_copy(&pdefaultnamespace)).into() @@ -3043,7 +3043,7 @@ pub trait IPrinterBidiSetRequestCallback_Impl: Sized { impl windows_core::RuntimeName for IPrinterBidiSetRequestCallback {} impl IPrinterBidiSetRequestCallback_Vtbl { pub const fn new, Impl: IPrinterBidiSetRequestCallback_Impl, const OFFSET: isize>() -> IPrinterBidiSetRequestCallback_Vtbl { - unsafe extern "system" fn Completed, Impl: IPrinterBidiSetRequestCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresponse: std::mem::MaybeUninit, hrstatus: windows_core::HRESULT) -> windows_core::HRESULT { + unsafe extern "system" fn Completed, Impl: IPrinterBidiSetRequestCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresponse: core::mem::MaybeUninit, hrstatus: windows_core::HRESULT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterBidiSetRequestCallback_Impl::Completed(this, core::mem::transmute(&bstrresponse), core::mem::transmute_copy(&hrstatus)).into() @@ -3239,7 +3239,7 @@ impl windows_core::RuntimeName for IPrinterExtensionEventArgs {} #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionEventArgs_Vtbl { pub const fn new, Impl: IPrinterExtensionEventArgs_Impl, const OFFSET: isize>() -> IPrinterExtensionEventArgs_Vtbl { - unsafe extern "system" fn BidiNotification, Impl: IPrinterExtensionEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbidinotification: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BidiNotification, Impl: IPrinterExtensionEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbidinotification: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterExtensionEventArgs_Impl::BidiNotification(this) { @@ -3272,7 +3272,7 @@ impl IPrinterExtensionEventArgs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SourceApplication, Impl: IPrinterExtensionEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplication: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SourceApplication, Impl: IPrinterExtensionEventArgs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplication: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterExtensionEventArgs_Impl::SourceApplication(this) { @@ -3368,7 +3368,7 @@ impl windows_core::RuntimeName for IPrinterExtensionRequest {} #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionRequest_Vtbl { pub const fn new, Impl: IPrinterExtensionRequest_Impl, const OFFSET: isize>() -> IPrinterExtensionRequest_Vtbl { - unsafe extern "system" fn Cancel, Impl: IPrinterExtensionRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrstatus: windows_core::HRESULT, bstrlogmessage: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Cancel, Impl: IPrinterExtensionRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrstatus: windows_core::HRESULT, bstrlogmessage: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterExtensionRequest_Impl::Cancel(this, core::mem::transmute_copy(&hrstatus), core::mem::transmute(&bstrlogmessage)).into() @@ -3406,7 +3406,7 @@ impl windows_core::RuntimeName for IPrinterPropertyBag {} #[cfg(feature = "Win32_System_Com")] impl IPrinterPropertyBag_Vtbl { pub const fn new, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>() -> IPrinterPropertyBag_Vtbl { - unsafe extern "system" fn GetBool, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pbvalue: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetBool, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pbvalue: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetBool(this, core::mem::transmute(&bstrname)) { @@ -3417,12 +3417,12 @@ impl IPrinterPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBool, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bvalue: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetBool, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bvalue: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterPropertyBag_Impl::SetBool(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&bvalue)).into() } - unsafe extern "system" fn GetInt32, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pnvalue: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetInt32, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pnvalue: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetInt32(this, core::mem::transmute(&bstrname)) { @@ -3433,12 +3433,12 @@ impl IPrinterPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInt32, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, nvalue: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetInt32, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, nvalue: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterPropertyBag_Impl::SetInt32(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&nvalue)).into() } - unsafe extern "system" fn GetString, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetString, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetString(this, core::mem::transmute(&bstrname)) { @@ -3449,22 +3449,22 @@ impl IPrinterPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetString, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetString, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterPropertyBag_Impl::SetString(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrvalue)).into() } - unsafe extern "system" fn GetBytes, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pcbvalue: *mut u32, ppvalue: *mut *mut u8) -> windows_core::HRESULT { + unsafe extern "system" fn GetBytes, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pcbvalue: *mut u32, ppvalue: *mut *mut u8) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterPropertyBag_Impl::GetBytes(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&pcbvalue), core::mem::transmute_copy(&ppvalue)).into() } - unsafe extern "system" fn SetBytes, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, cbvalue: u32, pvalue: *const u8) -> windows_core::HRESULT { + unsafe extern "system" fn SetBytes, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, cbvalue: u32, pvalue: *const u8) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterPropertyBag_Impl::SetBytes(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&cbvalue), core::mem::transmute_copy(&pvalue)).into() } - unsafe extern "system" fn GetReadStream, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetReadStream, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetReadStream(this, core::mem::transmute(&bstrname)) { @@ -3475,7 +3475,7 @@ impl IPrinterPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetWriteStream, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetWriteStream, Impl: IPrinterPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterPropertyBag_Impl::GetWriteStream(this, core::mem::transmute(&bstrname)) { @@ -3527,7 +3527,7 @@ impl IPrinterQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IPrinterQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IPrinterQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterQueue_Impl::Name(this) { @@ -3538,7 +3538,7 @@ impl IPrinterQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SendBidiQuery, Impl: IPrinterQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbidiquery: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SendBidiQuery, Impl: IPrinterQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbidiquery: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterQueue_Impl::SendBidiQuery(this, core::mem::transmute(&bstrbidiquery)).into() @@ -3576,7 +3576,7 @@ impl windows_core::RuntimeName for IPrinterQueue2 {} #[cfg(feature = "Win32_System_Com")] impl IPrinterQueue2_Vtbl { pub const fn new, Impl: IPrinterQueue2_Impl, const OFFSET: isize>() -> IPrinterQueue2_Vtbl { - unsafe extern "system" fn SendBidiSetRequestAsync, Impl: IPrinterQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbidirequest: std::mem::MaybeUninit, pcallback: *mut core::ffi::c_void, ppasyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SendBidiSetRequestAsync, Impl: IPrinterQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbidirequest: core::mem::MaybeUninit, pcallback: *mut core::ffi::c_void, ppasyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterQueue2_Impl::SendBidiSetRequestAsync(this, core::mem::transmute(&bstrbidirequest), windows_core::from_raw_borrowed(&pcallback)) { @@ -3617,7 +3617,7 @@ impl windows_core::RuntimeName for IPrinterQueueEvent {} #[cfg(feature = "Win32_System_Com")] impl IPrinterQueueEvent_Vtbl { pub const fn new, Impl: IPrinterQueueEvent_Impl, const OFFSET: isize>() -> IPrinterQueueEvent_Vtbl { - unsafe extern "system" fn OnBidiResponseReceived, Impl: IPrinterQueueEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresponse: std::mem::MaybeUninit, hrstatus: windows_core::HRESULT) -> windows_core::HRESULT { + unsafe extern "system" fn OnBidiResponseReceived, Impl: IPrinterQueueEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresponse: core::mem::MaybeUninit, hrstatus: windows_core::HRESULT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterQueueEvent_Impl::OnBidiResponseReceived(this, core::mem::transmute(&bstrresponse), core::mem::transmute_copy(&hrstatus)).into() @@ -3744,7 +3744,7 @@ impl windows_core::RuntimeName for IPrinterScriptablePropertyBag {} #[cfg(feature = "Win32_System_Com")] impl IPrinterScriptablePropertyBag_Vtbl { pub const fn new, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>() -> IPrinterScriptablePropertyBag_Vtbl { - unsafe extern "system" fn GetBool, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pbvalue: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetBool, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pbvalue: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetBool(this, core::mem::transmute(&bstrname)) { @@ -3755,12 +3755,12 @@ impl IPrinterScriptablePropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBool, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bvalue: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetBool, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bvalue: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterScriptablePropertyBag_Impl::SetBool(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&bvalue)).into() } - unsafe extern "system" fn GetInt32, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pnvalue: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetInt32, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pnvalue: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetInt32(this, core::mem::transmute(&bstrname)) { @@ -3771,12 +3771,12 @@ impl IPrinterScriptablePropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInt32, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, nvalue: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetInt32, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, nvalue: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterScriptablePropertyBag_Impl::SetInt32(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&nvalue)).into() } - unsafe extern "system" fn GetString, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetString, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetString(this, core::mem::transmute(&bstrname)) { @@ -3787,12 +3787,12 @@ impl IPrinterScriptablePropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetString, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetString, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterScriptablePropertyBag_Impl::SetString(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrvalue)).into() } - unsafe extern "system" fn GetBytes, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pparray: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetBytes, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pparray: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetBytes(this, core::mem::transmute(&bstrname)) { @@ -3803,12 +3803,12 @@ impl IPrinterScriptablePropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBytes, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, parray: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SetBytes, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, parray: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrinterScriptablePropertyBag_Impl::SetBytes(this, core::mem::transmute(&bstrname), windows_core::from_raw_borrowed(&parray)).into() } - unsafe extern "system" fn GetReadStream, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppstream: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetReadStream, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppstream: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetReadStream(this, core::mem::transmute(&bstrname)) { @@ -3819,7 +3819,7 @@ impl IPrinterScriptablePropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetWriteStream, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppstream: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetWriteStream, Impl: IPrinterScriptablePropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppstream: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterScriptablePropertyBag_Impl::GetWriteStream(this, core::mem::transmute(&bstrname)) { @@ -3857,7 +3857,7 @@ impl windows_core::RuntimeName for IPrinterScriptablePropertyBag2 {} #[cfg(feature = "Win32_System_Com")] impl IPrinterScriptablePropertyBag2_Vtbl { pub const fn new, Impl: IPrinterScriptablePropertyBag2_Impl, const OFFSET: isize>() -> IPrinterScriptablePropertyBag2_Vtbl { - unsafe extern "system" fn GetReadStreamAsXML, Impl: IPrinterScriptablePropertyBag2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppxmlnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetReadStreamAsXML, Impl: IPrinterScriptablePropertyBag2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppxmlnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPrinterScriptablePropertyBag2_Impl::GetReadStreamAsXML(this, core::mem::transmute(&bstrname)) { @@ -4091,7 +4091,7 @@ impl IXpsPartIterator_Vtbl { let this = (*this).get_impl(); IXpsPartIterator_Impl::Reset(this) } - unsafe extern "system" fn Current, Impl: IXpsPartIterator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puri: *mut std::mem::MaybeUninit, ppxpspart: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Current, Impl: IXpsPartIterator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puri: *mut core::mem::MaybeUninit, ppxpspart: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXpsPartIterator_Impl::Current(this, core::mem::transmute_copy(&puri), core::mem::transmute_copy(&ppxpspart)).into() 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 4d94f886ed..91a08a5d08 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -82,7 +82,7 @@ where P0: windows_core::Param, { windows_targets::link!("spoolss.dll" "system" fn AddPrintDeviceObject(hprinter : super::super::Foundation:: HANDLE, phdeviceobject : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AddPrintDeviceObject(hprinter.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -322,7 +322,7 @@ where P1: windows_core::Param, { windows_targets::link!("winspool.drv" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CorePrinterDriverInstalledA(pszserver.param().abi(), pszenvironment.param().abi(), core::mem::transmute(coredriverguid), core::mem::transmute(ftdriverdate), dwldriverversion, &mut result__).map(|| result__) } #[inline] @@ -332,7 +332,7 @@ where P1: windows_core::Param, { windows_targets::link!("winspool.drv" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CorePrinterDriverInstalledW(pszserver.param().abi(), pszenvironment.param().abi(), core::mem::transmute(coredriverguid), core::mem::transmute(ftdriverdate), dwldriverversion, &mut result__).map(|| result__) } #[inline] @@ -342,7 +342,7 @@ where P1: windows_core::Param, { windows_targets::link!("winspool.drv" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreatePrintAsyncNotifyChannel(pszname.param().abi(), pnotificationtype, euserfilter, econversationstyle, pcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1457,7 +1457,7 @@ where P1: windows_core::Param, { windows_targets::link!("winspool.drv" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RegisterForPrintAsyncNotifications(pszname.param().abi(), pnotificationtype, euserfilter, econversationstyle, pcallback.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1845,7 +1845,7 @@ windows_core::imp::define_interface!(IAsyncGetSendNotificationCookie, IAsyncGetS impl std::ops::Deref for IAsyncGetSendNotificationCookie { type Target = IPrintAsyncCookie; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAsyncGetSendNotificationCookie, windows_core::IUnknown, IPrintAsyncCookie); @@ -1867,7 +1867,7 @@ windows_core::imp::define_interface!(IAsyncGetSrvReferralCookie, IAsyncGetSrvRef impl std::ops::Deref for IAsyncGetSrvReferralCookie { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAsyncGetSrvReferralCookie, windows_core::IUnknown); @@ -1896,7 +1896,7 @@ windows_core::imp::define_interface!(IBidiAsyncNotifyChannel, IBidiAsyncNotifyCh impl std::ops::Deref for IBidiAsyncNotifyChannel { type Target = IPrintAsyncNotifyChannel; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBidiAsyncNotifyChannel, windows_core::IUnknown, IPrintAsyncNotifyChannel); @@ -1938,7 +1938,7 @@ windows_core::imp::define_interface!(IBidiRequest, IBidiRequest_Vtbl, 0x8f348bd7 impl std::ops::Deref for IBidiRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBidiRequest, windows_core::IUnknown); @@ -1953,14 +1953,14 @@ impl IBidiRequest { (windows_core::Interface::vtable(self).SetInputData)(windows_core::Interface::as_raw(self), dwtype, pdata, usize).ok() } pub unsafe fn GetResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, ppszschema, pdwtype, ppdata, usize).ok() } pub unsafe fn GetEnumCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1977,7 +1977,7 @@ windows_core::imp::define_interface!(IBidiRequestContainer, IBidiRequestContaine impl std::ops::Deref for IBidiRequestContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBidiRequestContainer, windows_core::IUnknown); @@ -1990,11 +1990,11 @@ impl IBidiRequestContainer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEnumObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRequestCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2012,7 +2012,7 @@ windows_core::imp::define_interface!(IBidiSpl, IBidiSpl_Vtbl, 0xd580dc0e_de39_46 impl std::ops::Deref for IBidiSpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBidiSpl, windows_core::IUnknown); @@ -2053,7 +2053,7 @@ windows_core::imp::define_interface!(IBidiSpl2, IBidiSpl2_Vtbl, 0x0e8f51b8_8273_ impl std::ops::Deref for IBidiSpl2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBidiSpl2, windows_core::IUnknown); @@ -2071,7 +2071,7 @@ impl IBidiSpl2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendRecvXMLString)(windows_core::Interface::as_raw(self), bstrrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2079,7 +2079,7 @@ impl IBidiSpl2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendRecvXMLStream)(windows_core::Interface::as_raw(self), psrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2088,7 +2088,7 @@ pub struct IBidiSpl2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub BindDevice: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub UnbindDevice: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SendRecvXMLString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SendRecvXMLString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SendRecvXMLStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2098,17 +2098,17 @@ windows_core::imp::define_interface!(IFixedDocument, IFixedDocument_Vtbl, 0xf222 impl std::ops::Deref for IFixedDocument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFixedDocument, windows_core::IUnknown); impl IFixedDocument { pub unsafe fn GetUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPrintTicket(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrintTicket)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrintTicket(&self, pprintticket: P0) -> windows_core::Result<()> @@ -2121,7 +2121,7 @@ impl IFixedDocument { #[repr(C)] pub struct IFixedDocument_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetPrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -2129,17 +2129,17 @@ windows_core::imp::define_interface!(IFixedDocumentSequence, IFixedDocumentSeque impl std::ops::Deref for IFixedDocumentSequence { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFixedDocumentSequence, windows_core::IUnknown); impl IFixedDocumentSequence { pub unsafe fn GetUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPrintTicket(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrintTicket)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrintTicket(&self, pprintticket: P0) -> windows_core::Result<()> @@ -2152,7 +2152,7 @@ impl IFixedDocumentSequence { #[repr(C)] pub struct IFixedDocumentSequence_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetPrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -2160,24 +2160,24 @@ windows_core::imp::define_interface!(IFixedPage, IFixedPage_Vtbl, 0x3d9f6448_7e9 impl std::ops::Deref for IFixedPage { type Target = IPartBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFixedPage, windows_core::IUnknown, IPartBase); impl IFixedPage { pub unsafe fn GetPrintTicket(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrintTicket)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPagePart(&self, uri: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPagePart)(windows_core::Interface::as_raw(self), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetWriteStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWriteStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrintTicket(&self, ppprintticket: P0) -> windows_core::Result<()> @@ -2199,7 +2199,7 @@ impl IFixedPage { (windows_core::Interface::vtable(self).DeleteResource)(windows_core::Interface::as_raw(self), uri.param().abi()).ok() } pub unsafe fn GetXpsPartIterator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXpsPartIterator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2220,7 +2220,7 @@ windows_core::imp::define_interface!(IImgCreateErrorInfo, IImgCreateErrorInfo_Vt impl std::ops::Deref for IImgCreateErrorInfo { type Target = super::super::System::Ole::ICreateErrorInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -2243,7 +2243,7 @@ windows_core::imp::define_interface!(IImgErrorInfo, IImgErrorInfo_Vtbl, 0x2bce4e impl std::ops::Deref for IImgErrorInfo { type Target = super::super::System::Com::IErrorInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2251,27 +2251,27 @@ windows_core::imp::interface_hierarchy!(IImgErrorInfo, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IImgErrorInfo { pub unsafe fn GetDeveloperDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeveloperDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUserErrorId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserErrorId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUserParameterCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserParameterCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUserParameter(&self, cparam: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserParameter)(windows_core::Interface::as_raw(self), cparam, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUserFallback(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserFallback)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetExceptionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExceptionId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DetachErrorInfo(&self, perrorinfo: *mut ImgErrorInfo) -> windows_core::Result<()> { @@ -2282,11 +2282,11 @@ impl IImgErrorInfo { #[repr(C)] pub struct IImgErrorInfo_Vtbl { pub base__: super::super::System::Com::IErrorInfo_Vtbl, - pub GetDeveloperDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeveloperDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetUserErrorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetUserParameterCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetUserParameter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetUserFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUserParameter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUserFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetExceptionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub DetachErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ImgErrorInfo) -> windows_core::HRESULT, } @@ -2294,7 +2294,7 @@ windows_core::imp::define_interface!(IInterFilterCommunicator, IInterFilterCommu impl std::ops::Deref for IInterFilterCommunicator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInterFilterCommunicator, windows_core::IUnknown); @@ -2316,21 +2316,21 @@ windows_core::imp::define_interface!(IPartBase, IPartBase_Vtbl, 0x36d51e28_369e_ impl std::ops::Deref for IPartBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartBase, windows_core::IUnknown); impl IPartBase { pub unsafe fn GetUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPartCompression(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartCompression)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPartCompression(&self, compression: EXpsCompressionOptions) -> windows_core::Result<()> { @@ -2340,7 +2340,7 @@ impl IPartBase { #[repr(C)] pub struct IPartBase_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPartCompression: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EXpsCompressionOptions) -> windows_core::HRESULT, pub SetPartCompression: unsafe extern "system" fn(*mut core::ffi::c_void, EXpsCompressionOptions) -> windows_core::HRESULT, @@ -2349,7 +2349,7 @@ windows_core::imp::define_interface!(IPartColorProfile, IPartColorProfile_Vtbl, impl std::ops::Deref for IPartColorProfile { type Target = IPartBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartColorProfile, windows_core::IUnknown, IPartBase); @@ -2362,7 +2362,7 @@ windows_core::imp::define_interface!(IPartDiscardControl, IPartDiscardControl_Vt impl std::ops::Deref for IPartDiscardControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartDiscardControl, windows_core::IUnknown); @@ -2374,13 +2374,13 @@ impl IPartDiscardControl { #[repr(C)] pub struct IPartDiscardControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDiscardProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDiscardProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPartFont, IPartFont_Vtbl, 0xe07fe0ab_1124_43d0_a865_e8ffb6a3ea82); impl std::ops::Deref for IPartFont { type Target = IPartBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartFont, windows_core::IUnknown, IPartBase); @@ -2401,7 +2401,7 @@ impl IPartFont { #[repr(C)] pub struct IPartFont_Vtbl { pub base__: IPartBase_Vtbl, - pub GetFontProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut EXpsFontOptions) -> windows_core::HRESULT, + pub GetFontProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut EXpsFontOptions) -> windows_core::HRESULT, pub SetFontContent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetFontOptions: unsafe extern "system" fn(*mut core::ffi::c_void, EXpsFontOptions) -> windows_core::HRESULT, } @@ -2409,13 +2409,13 @@ windows_core::imp::define_interface!(IPartFont2, IPartFont2_Vtbl, 0x511e025f_d6c impl std::ops::Deref for IPartFont2 { type Target = IPartFont; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartFont2, windows_core::IUnknown, IPartBase, IPartFont); impl IPartFont2 { pub unsafe fn GetFontRestriction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontRestriction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2428,13 +2428,13 @@ windows_core::imp::define_interface!(IPartImage, IPartImage_Vtbl, 0x725f2e3c_401 impl std::ops::Deref for IPartImage { type Target = IPartBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartImage, windows_core::IUnknown, IPartBase); impl IPartImage { pub unsafe fn GetImageProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetImageContent(&self, pcontenttype: P0) -> windows_core::Result<()> @@ -2447,14 +2447,14 @@ impl IPartImage { #[repr(C)] pub struct IPartImage_Vtbl { pub base__: IPartBase_Vtbl, - pub GetImageProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetImageProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetImageContent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPartPrintTicket, IPartPrintTicket_Vtbl, 0x4a0f50f6_f9a2_41f0_99e7_5ae955be8e9e); impl std::ops::Deref for IPartPrintTicket { type Target = IPartBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartPrintTicket, windows_core::IUnknown, IPartBase); @@ -2467,7 +2467,7 @@ windows_core::imp::define_interface!(IPartResourceDictionary, IPartResourceDicti impl std::ops::Deref for IPartResourceDictionary { type Target = IPartBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartResourceDictionary, windows_core::IUnknown, IPartBase); @@ -2480,13 +2480,13 @@ windows_core::imp::define_interface!(IPartThumbnail, IPartThumbnail_Vtbl, 0x027e impl std::ops::Deref for IPartThumbnail { type Target = IPartBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartThumbnail, windows_core::IUnknown, IPartBase); impl IPartThumbnail { pub unsafe fn GetThumbnailProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThumbnailProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetThumbnailContent(&self, pcontenttype: P0) -> windows_core::Result<()> @@ -2499,14 +2499,14 @@ impl IPartThumbnail { #[repr(C)] pub struct IPartThumbnail_Vtbl { pub base__: IPartBase_Vtbl, - pub GetThumbnailProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetThumbnailProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetThumbnailContent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintAsyncCookie, IPrintAsyncCookie_Vtbl, 0); impl std::ops::Deref for IPrintAsyncCookie { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintAsyncCookie, windows_core::IUnknown); @@ -2528,7 +2528,7 @@ windows_core::imp::define_interface!(IPrintAsyncNewChannelCookie, IPrintAsyncNew impl std::ops::Deref for IPrintAsyncNewChannelCookie { type Target = IPrintAsyncCookie; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintAsyncNewChannelCookie, windows_core::IUnknown, IPrintAsyncCookie); @@ -2546,7 +2546,7 @@ windows_core::imp::define_interface!(IPrintAsyncNotify, IPrintAsyncNotify_Vtbl, impl std::ops::Deref for IPrintAsyncNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintAsyncNotify, windows_core::IUnknown); @@ -2555,14 +2555,14 @@ impl IPrintAsyncNotify { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePrintAsyncNotifyChannel)(windows_core::Interface::as_raw(self), param0, param1, param2, param3, param4.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePrintAsyncNotifyRegistration(&self, param0: *const windows_core::GUID, param1: PrintAsyncNotifyUserFilter, param2: PrintAsyncNotifyConversationStyle, param3: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePrintAsyncNotifyRegistration)(windows_core::Interface::as_raw(self), param0, param1, param2, param3.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2576,7 +2576,7 @@ windows_core::imp::define_interface!(IPrintAsyncNotifyCallback, IPrintAsyncNotif impl std::ops::Deref for IPrintAsyncNotifyCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyCallback, windows_core::IUnknown); @@ -2606,7 +2606,7 @@ windows_core::imp::define_interface!(IPrintAsyncNotifyChannel, IPrintAsyncNotify impl std::ops::Deref for IPrintAsyncNotifyChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyChannel, windows_core::IUnknown); @@ -2634,7 +2634,7 @@ windows_core::imp::define_interface!(IPrintAsyncNotifyDataObject, IPrintAsyncNot impl std::ops::Deref for IPrintAsyncNotifyDataObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyDataObject, windows_core::IUnknown); @@ -2656,7 +2656,7 @@ windows_core::imp::define_interface!(IPrintAsyncNotifyRegistration, IPrintAsyncN impl std::ops::Deref for IPrintAsyncNotifyRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyRegistration, windows_core::IUnknown); @@ -2678,13 +2678,13 @@ windows_core::imp::define_interface!(IPrintAsyncNotifyServerReferral, IPrintAsyn impl std::ops::Deref for IPrintAsyncNotifyServerReferral { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyServerReferral, windows_core::IUnknown); impl IPrintAsyncNotifyServerReferral { pub unsafe fn GetServerReferral(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServerReferral)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AsyncGetServerReferral(&self, param0: P0) -> windows_core::Result<()> @@ -2711,7 +2711,7 @@ windows_core::imp::define_interface!(IPrintBidiAsyncNotifyRegistration, IPrintBi impl std::ops::Deref for IPrintBidiAsyncNotifyRegistration { type Target = IPrintAsyncNotifyRegistration; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintBidiAsyncNotifyRegistration, windows_core::IUnknown, IPrintAsyncNotifyRegistration); @@ -2732,7 +2732,7 @@ windows_core::imp::define_interface!(IPrintClassObjectFactory, IPrintClassObject impl std::ops::Deref for IPrintClassObjectFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintClassObjectFactory, windows_core::IUnknown); @@ -2753,7 +2753,7 @@ windows_core::imp::define_interface!(IPrintCoreHelper, IPrintCoreHelper_Vtbl, 0x impl std::ops::Deref for IPrintCoreHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintCoreHelper, windows_core::IUnknown); @@ -2763,7 +2763,7 @@ impl IPrintCoreHelper { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOption)(windows_core::Interface::as_raw(self), core::mem::transmute(pdevmode.unwrap_or(std::ptr::null())), cbsize, pszfeaturerequested.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -2846,7 +2846,7 @@ windows_core::imp::define_interface!(IPrintCoreHelperPS, IPrintCoreHelperPS_Vtbl impl std::ops::Deref for IPrintCoreHelperPS { type Target = IPrintCoreHelper; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintCoreHelperPS, windows_core::IUnknown, IPrintCoreHelper); @@ -2884,7 +2884,7 @@ windows_core::imp::define_interface!(IPrintCoreHelperUni, IPrintCoreHelperUni_Vt impl std::ops::Deref for IPrintCoreHelperUni { type Target = IPrintCoreHelper; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintCoreHelperUni, windows_core::IUnknown, IPrintCoreHelper); @@ -2895,7 +2895,7 @@ impl IPrintCoreHelperUni { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateDefaultGDLSnapshot(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDefaultGDLSnapshot)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2915,7 +2915,7 @@ windows_core::imp::define_interface!(IPrintCoreHelperUni2, IPrintCoreHelperUni2_ impl std::ops::Deref for IPrintCoreHelperUni2 { type Target = IPrintCoreHelperUni; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintCoreHelperUni2, windows_core::IUnknown, IPrintCoreHelper, IPrintCoreHelperUni); @@ -2940,7 +2940,7 @@ windows_core::imp::define_interface!(IPrintCoreUI2, IPrintCoreUI2_Vtbl, 0x085ccf impl std::ops::Deref for IPrintCoreUI2 { type Target = IPrintOemDriverUI; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintCoreUI2, windows_core::IUnknown, IPrintOemDriverUI); @@ -2949,7 +2949,7 @@ impl IPrintCoreUI2 { (windows_core::Interface::vtable(self).GetOptions)(windows_core::Interface::as_raw(self), poemuiobj, dwflags, core::mem::transmute(pmszfeaturesrequested.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pmszfeaturesrequested.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(pmszfeatureoptionbuf.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pmszfeatureoptionbuf.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), pcbneeded).ok() } pub unsafe fn SetOptions(&self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pmszfeatureoptionbuf: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetOptions)(windows_core::Interface::as_raw(self), poemuiobj, dwflags, core::mem::transmute(pmszfeatureoptionbuf.as_ptr()), pmszfeatureoptionbuf.len().try_into().unwrap(), &mut result__).map(|| result__) } pub unsafe fn EnumConstrainedOptions(&self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pszfeaturekeyword: P0, pmszconstrainedoptionlist: Option<&mut [u8]>, pcbneeded: *mut u32) -> windows_core::Result<()> @@ -3020,33 +3020,33 @@ windows_core::imp::define_interface!(IPrintJob, IPrintJob_Vtbl, 0xb771dab8_1282_ impl std::ops::Deref for IPrintJob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintJob, windows_core::IUnknown); impl IPrintJob { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrintedPages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrintedPages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalPages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalPages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SubmissionTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubmissionTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequestCancel(&self) -> windows_core::Result<()> { @@ -3056,7 +3056,7 @@ impl IPrintJob { #[repr(C)] pub struct IPrintJob_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub PrintedPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub TotalPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -3070,7 +3070,7 @@ windows_core::imp::define_interface!(IPrintJobCollection, IPrintJobCollection_Vt impl std::ops::Deref for IPrintJobCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3078,15 +3078,15 @@ windows_core::imp::interface_hierarchy!(IPrintJobCollection, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IPrintJobCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, ulindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), ulindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3102,7 +3102,7 @@ windows_core::imp::define_interface!(IPrintOemCommon, IPrintOemCommon_Vtbl, 0x7f impl std::ops::Deref for IPrintOemCommon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintOemCommon, windows_core::IUnknown); @@ -3128,7 +3128,7 @@ windows_core::imp::define_interface!(IPrintOemDriverUI, IPrintOemDriverUI_Vtbl, impl std::ops::Deref for IPrintOemDriverUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintOemDriverUI, windows_core::IUnknown); @@ -3162,7 +3162,7 @@ windows_core::imp::define_interface!(IPrintOemUI, IPrintOemUI_Vtbl, 0xc6a7a9d0_7 impl std::ops::Deref for IPrintOemUI { type Target = IPrintOemCommon; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintOemUI, windows_core::IUnknown, IPrintOemCommon); @@ -3273,7 +3273,7 @@ windows_core::imp::define_interface!(IPrintOemUI2, IPrintOemUI2_Vtbl, 0x292515f9 impl std::ops::Deref for IPrintOemUI2 { type Target = IPrintOemUI; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintOemUI2, windows_core::IUnknown, IPrintOemCommon, IPrintOemUI); @@ -3314,7 +3314,7 @@ windows_core::imp::define_interface!(IPrintOemUIMXDC, IPrintOemUIMXDC_Vtbl, 0x73 impl std::ops::Deref for IPrintOemUIMXDC { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintOemUIMXDC, windows_core::IUnknown); @@ -3361,7 +3361,7 @@ windows_core::imp::define_interface!(IPrintPipelineFilter, IPrintPipelineFilter_ impl std::ops::Deref for IPrintPipelineFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintPipelineFilter, windows_core::IUnknown); @@ -3392,7 +3392,7 @@ windows_core::imp::define_interface!(IPrintPipelineManagerControl, IPrintPipelin impl std::ops::Deref for IPrintPipelineManagerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintPipelineManagerControl, windows_core::IUnknown); @@ -3421,7 +3421,7 @@ windows_core::imp::define_interface!(IPrintPipelineProgressReport, IPrintPipelin impl std::ops::Deref for IPrintPipelineProgressReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintPipelineProgressReport, windows_core::IUnknown); @@ -3439,7 +3439,7 @@ windows_core::imp::define_interface!(IPrintPipelinePropertyBag, IPrintPipelinePr impl std::ops::Deref for IPrintPipelinePropertyBag { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintPipelinePropertyBag, windows_core::IUnknown); @@ -3454,7 +3454,7 @@ impl IPrintPipelinePropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), pszname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteProperty(&self, pszname: P0) -> super::super::Foundation::BOOL @@ -3467,15 +3467,15 @@ impl IPrintPipelinePropertyBag { #[repr(C)] pub struct IPrintPipelinePropertyBag_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub AddProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeleteProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IPrintPreviewDxgiPackageTarget, IPrintPreviewDxgiPackageTarget_Vtbl, 0x1a6dd0ad_1e2a_4e99_a5ba_91f17818290e); impl std::ops::Deref for IPrintPreviewDxgiPackageTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintPreviewDxgiPackageTarget, windows_core::IUnknown); @@ -3508,7 +3508,7 @@ windows_core::imp::define_interface!(IPrintReadStream, IPrintReadStream_Vtbl, 0x impl std::ops::Deref for IPrintReadStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintReadStream, windows_core::IUnknown); @@ -3530,13 +3530,13 @@ windows_core::imp::define_interface!(IPrintReadStreamFactory, IPrintReadStreamFa impl std::ops::Deref for IPrintReadStreamFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintReadStreamFactory, windows_core::IUnknown); impl IPrintReadStreamFactory { pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3551,7 +3551,7 @@ windows_core::imp::define_interface!(IPrintSchemaAsyncOperation, IPrintSchemaAsy impl std::ops::Deref for IPrintSchemaAsyncOperation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3578,7 +3578,7 @@ windows_core::imp::define_interface!(IPrintSchemaAsyncOperationEvent, IPrintSche impl std::ops::Deref for IPrintSchemaAsyncOperationEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3608,7 +3608,7 @@ windows_core::imp::define_interface!(IPrintSchemaCapabilities, IPrintSchemaCapab impl std::ops::Deref for IPrintSchemaCapabilities { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3620,7 +3620,7 @@ impl IPrintSchemaCapabilities { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFeatureByKeyName)(windows_core::Interface::as_raw(self), bstrkeyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3629,20 +3629,20 @@ impl IPrintSchemaCapabilities { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFeature)(windows_core::Interface::as_raw(self), bstrname.param().abi(), bstrnamespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PageImageableSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PageImageableSize)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn JobCopiesAllDocumentsMinValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JobCopiesAllDocumentsMinValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn JobCopiesAllDocumentsMaxValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JobCopiesAllDocumentsMaxValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3650,7 +3650,7 @@ impl IPrintSchemaCapabilities { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectedOptionInPrintTicket)(windows_core::Interface::as_raw(self), pfeature.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3658,7 +3658,7 @@ impl IPrintSchemaCapabilities { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptions)(windows_core::Interface::as_raw(self), pfeature.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3667,11 +3667,11 @@ impl IPrintSchemaCapabilities { pub struct IPrintSchemaCapabilities_Vtbl { pub base__: IPrintSchemaElement_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetFeatureByKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFeatureByKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFeatureByKeyName: usize, #[cfg(feature = "Win32_System_Com")] - pub GetFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFeature: usize, #[cfg(feature = "Win32_System_Com")] @@ -3695,7 +3695,7 @@ windows_core::imp::define_interface!(IPrintSchemaCapabilities2, IPrintSchemaCapa impl std::ops::Deref for IPrintSchemaCapabilities2 { type Target = IPrintSchemaCapabilities; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3708,7 +3708,7 @@ impl IPrintSchemaCapabilities2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParameterDefinition)(windows_core::Interface::as_raw(self), bstrname.param().abi(), bstrnamespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3717,7 +3717,7 @@ impl IPrintSchemaCapabilities2 { pub struct IPrintSchemaCapabilities2_Vtbl { pub base__: IPrintSchemaCapabilities_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetParameterDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetParameterDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetParameterDefinition: usize, } @@ -3727,7 +3727,7 @@ windows_core::imp::define_interface!(IPrintSchemaDisplayableElement, IPrintSchem impl std::ops::Deref for IPrintSchemaDisplayableElement { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3735,7 +3735,7 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaDisplayableElement, windows_ #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaDisplayableElement { pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3743,7 +3743,7 @@ impl IPrintSchemaDisplayableElement { #[repr(C)] pub struct IPrintSchemaDisplayableElement_Vtbl { pub base__: IPrintSchemaElement_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaElement, IPrintSchemaElement_Vtbl, 0x724c1646_e64b_4bbf_8eb4_d45e4fd580da); @@ -3751,7 +3751,7 @@ windows_core::imp::define_interface!(IPrintSchemaElement, IPrintSchemaElement_Vt impl std::ops::Deref for IPrintSchemaElement { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3759,15 +3759,15 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaElement, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaElement { pub unsafe fn XmlNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).XmlNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NamespaceUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamespaceUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3776,8 +3776,8 @@ impl IPrintSchemaElement { pub struct IPrintSchemaElement_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub XmlNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NamespaceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NamespaceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaFeature, IPrintSchemaFeature_Vtbl, 0xef189461_5d62_4626_8e57_ff83583c4826); @@ -3785,7 +3785,7 @@ windows_core::imp::define_interface!(IPrintSchemaFeature, IPrintSchemaFeature_Vt impl std::ops::Deref for IPrintSchemaFeature { type Target = IPrintSchemaDisplayableElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3794,7 +3794,7 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaFeature, windows_core::IUnkn impl IPrintSchemaFeature { #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedOption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectedOption)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3805,7 +3805,7 @@ impl IPrintSchemaFeature { (windows_core::Interface::vtable(self).SetSelectedOption)(windows_core::Interface::as_raw(self), poption.param().abi()).ok() } pub unsafe fn SelectionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3814,11 +3814,11 @@ impl IPrintSchemaFeature { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOption)(windows_core::Interface::as_raw(self), bstrname.param().abi(), bstrnamespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayUI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayUI)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3836,7 +3836,7 @@ pub struct IPrintSchemaFeature_Vtbl { SetSelectedOption: usize, pub SelectionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintSchemaSelectionType) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetOption: usize, pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -3847,7 +3847,7 @@ windows_core::imp::define_interface!(IPrintSchemaNUpOption, IPrintSchemaNUpOptio impl std::ops::Deref for IPrintSchemaNUpOption { type Target = IPrintSchemaOption; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3855,7 +3855,7 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaNUpOption, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaNUpOption { pub unsafe fn PagesPerSheet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PagesPerSheet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3871,7 +3871,7 @@ windows_core::imp::define_interface!(IPrintSchemaOption, IPrintSchemaOption_Vtbl impl std::ops::Deref for IPrintSchemaOption { type Target = IPrintSchemaDisplayableElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3879,11 +3879,11 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaOption, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaOption { pub unsafe fn Selected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Selected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Constrained(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Constrained)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPropertyValue(&self, bstrname: P0, bstrnamespaceuri: P1) -> windows_core::Result @@ -3891,7 +3891,7 @@ impl IPrintSchemaOption { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyValue)(windows_core::Interface::as_raw(self), bstrname.param().abi(), bstrnamespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3901,7 +3901,7 @@ pub struct IPrintSchemaOption_Vtbl { pub base__: IPrintSchemaDisplayableElement_Vtbl, pub Selected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Constrained: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintSchemaConstrainedSetting) -> windows_core::HRESULT, - pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaOptionCollection, IPrintSchemaOptionCollection_Vtbl, 0xbaecb0bd_a946_4771_bc30_e8b24f8d45c1); @@ -3909,7 +3909,7 @@ windows_core::imp::define_interface!(IPrintSchemaOptionCollection, IPrintSchemaO impl std::ops::Deref for IPrintSchemaOptionCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3917,16 +3917,16 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaOptionCollection, windows_co #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaOptionCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAt(&self, ulindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), ulindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3947,7 +3947,7 @@ windows_core::imp::define_interface!(IPrintSchemaPageImageableSize, IPrintSchema impl std::ops::Deref for IPrintSchemaPageImageableSize { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3955,27 +3955,27 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaPageImageableSize, windows_c #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaPageImageableSize { pub unsafe fn ImageableSizeWidthInMicrons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImageableSizeWidthInMicrons)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ImageableSizeHeightInMicrons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImageableSizeHeightInMicrons)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OriginWidthInMicrons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OriginWidthInMicrons)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OriginHeightInMicrons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OriginHeightInMicrons)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExtentWidthInMicrons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtentWidthInMicrons)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExtentHeightInMicrons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtentHeightInMicrons)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3996,7 +3996,7 @@ windows_core::imp::define_interface!(IPrintSchemaPageMediaSizeOption, IPrintSche impl std::ops::Deref for IPrintSchemaPageMediaSizeOption { type Target = IPrintSchemaOption; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4004,11 +4004,11 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaPageMediaSizeOption, windows #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaPageMediaSizeOption { pub unsafe fn WidthInMicrons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WidthInMicrons)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HeightInMicrons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HeightInMicrons)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4025,7 +4025,7 @@ windows_core::imp::define_interface!(IPrintSchemaParameterDefinition, IPrintSche impl std::ops::Deref for IPrintSchemaParameterDefinition { type Target = IPrintSchemaDisplayableElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4033,23 +4033,23 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaParameterDefinition, windows #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaParameterDefinition { pub unsafe fn UserInputRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserInputRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UnitType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UnitType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DataType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RangeMin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeMin)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RangeMax(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeMax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4058,7 +4058,7 @@ impl IPrintSchemaParameterDefinition { pub struct IPrintSchemaParameterDefinition_Vtbl { pub base__: IPrintSchemaDisplayableElement_Vtbl, pub UserInputRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub UnitType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnitType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintSchemaParameterDataType) -> windows_core::HRESULT, pub RangeMin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RangeMax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -4069,7 +4069,7 @@ windows_core::imp::define_interface!(IPrintSchemaParameterInitializer, IPrintSch impl std::ops::Deref for IPrintSchemaParameterInitializer { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4077,7 +4077,7 @@ windows_core::imp::interface_hierarchy!(IPrintSchemaParameterInitializer, window #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaParameterInitializer { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, pvar: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -4088,8 +4088,8 @@ impl IPrintSchemaParameterInitializer { #[repr(C)] pub struct IPrintSchemaParameterInitializer_Vtbl { pub base__: IPrintSchemaElement_Vtbl, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaTicket, IPrintSchemaTicket_Vtbl, 0xe480b861_4708_4e6d_a5b4_a2b4eeb9baa4); @@ -4097,7 +4097,7 @@ windows_core::imp::define_interface!(IPrintSchemaTicket, IPrintSchemaTicket_Vtbl impl std::ops::Deref for IPrintSchemaTicket { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4109,7 +4109,7 @@ impl IPrintSchemaTicket { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFeatureByKeyName)(windows_core::Interface::as_raw(self), bstrkeyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4118,12 +4118,12 @@ impl IPrintSchemaTicket { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFeature)(windows_core::Interface::as_raw(self), bstrname.param().abi(), bstrnamespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValidateAsync(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValidateAsync)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4131,7 +4131,7 @@ impl IPrintSchemaTicket { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitAsync)(windows_core::Interface::as_raw(self), pprintticketcommit.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NotifyXmlChanged(&self) -> windows_core::Result<()> { @@ -4139,11 +4139,11 @@ impl IPrintSchemaTicket { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn JobCopiesAllDocuments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JobCopiesAllDocuments)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetJobCopiesAllDocuments(&self, uljobcopiesalldocuments: u32) -> windows_core::Result<()> { @@ -4155,11 +4155,11 @@ impl IPrintSchemaTicket { pub struct IPrintSchemaTicket_Vtbl { pub base__: IPrintSchemaElement_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetFeatureByKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFeatureByKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFeatureByKeyName: usize, #[cfg(feature = "Win32_System_Com")] - pub GetFeature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFeature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFeature: usize, #[cfg(feature = "Win32_System_Com")] @@ -4184,7 +4184,7 @@ windows_core::imp::define_interface!(IPrintSchemaTicket2, IPrintSchemaTicket2_Vt impl std::ops::Deref for IPrintSchemaTicket2 { type Target = IPrintSchemaTicket; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4197,7 +4197,7 @@ impl IPrintSchemaTicket2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParameterInitializer)(windows_core::Interface::as_raw(self), bstrname.param().abi(), bstrnamespaceuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4206,7 +4206,7 @@ impl IPrintSchemaTicket2 { pub struct IPrintSchemaTicket2_Vtbl { pub base__: IPrintSchemaTicket_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetParameterInitializer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetParameterInitializer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetParameterInitializer: usize, } @@ -4214,7 +4214,7 @@ windows_core::imp::define_interface!(IPrintTicketProvider, IPrintTicketProvider_ impl std::ops::Deref for IPrintTicketProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintTicketProvider, windows_core::IUnknown); @@ -4253,7 +4253,7 @@ impl IPrintTicketProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrintCapabilities)(windows_core::Interface::as_raw(self), pprintticket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] @@ -4269,7 +4269,7 @@ pub struct IPrintTicketProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSupportedVersions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *mut *mut i32, *mut i32) -> windows_core::HRESULT, pub BindPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, i32, *mut SHIMOPTS, *mut u32, *mut i32, *mut *mut windows_core::BSTR) -> windows_core::HRESULT, - pub QueryDeviceNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryDeviceNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub ConvertPrintTicketToDevMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut super::Gdi::DEVMODEA, *mut u32, *mut *mut super::Gdi::DEVMODEA) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] @@ -4291,7 +4291,7 @@ windows_core::imp::define_interface!(IPrintTicketProvider2, IPrintTicketProvider impl std::ops::Deref for IPrintTicketProvider2 { type Target = IPrintTicketProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintTicketProvider2, windows_core::IUnknown, IPrintTicketProvider); @@ -4301,7 +4301,7 @@ impl IPrintTicketProvider2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrintDeviceCapabilities)(windows_core::Interface::as_raw(self), pprintticket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] @@ -4310,7 +4310,7 @@ impl IPrintTicketProvider2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrintDeviceResources)(windows_core::Interface::as_raw(self), pszlocalename.param().abi(), pprintticket.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4330,7 +4330,7 @@ windows_core::imp::define_interface!(IPrintUnidiAsyncNotifyRegistration, IPrintU impl std::ops::Deref for IPrintUnidiAsyncNotifyRegistration { type Target = IPrintAsyncNotifyRegistration; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintUnidiAsyncNotifyRegistration, windows_core::IUnknown, IPrintAsyncNotifyRegistration); @@ -4351,13 +4351,13 @@ windows_core::imp::define_interface!(IPrintWriteStream, IPrintWriteStream_Vtbl, impl std::ops::Deref for IPrintWriteStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteBytes)(windows_core::Interface::as_raw(self), pvbuffer, cbbuffer, &mut result__).map(|| result__) } pub unsafe fn Close(&self) { @@ -4374,7 +4374,7 @@ windows_core::imp::define_interface!(IPrintWriteStreamFlush, IPrintWriteStreamFl impl std::ops::Deref for IPrintWriteStreamFlush { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintWriteStreamFlush, windows_core::IUnknown); @@ -4392,7 +4392,7 @@ windows_core::imp::define_interface!(IPrinterBidiSetRequestCallback, IPrinterBid impl std::ops::Deref for IPrinterBidiSetRequestCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrinterBidiSetRequestCallback, windows_core::IUnknown); @@ -4407,13 +4407,13 @@ impl IPrinterBidiSetRequestCallback { #[repr(C)] pub struct IPrinterBidiSetRequestCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Completed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, + pub Completed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrinterExtensionAsyncOperation, IPrinterExtensionAsyncOperation_Vtbl, 0x108d6a23_6a4b_4552_9448_68b427186acd); impl std::ops::Deref for IPrinterExtensionAsyncOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrinterExtensionAsyncOperation, windows_core::IUnknown); @@ -4433,7 +4433,7 @@ windows_core::imp::define_interface!(IPrinterExtensionContext, IPrinterExtension impl std::ops::Deref for IPrinterExtensionContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4442,22 +4442,22 @@ windows_core::imp::interface_hierarchy!(IPrinterExtensionContext, windows_core:: impl IPrinterExtensionContext { #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrinterQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrinterQueue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrintSchemaTicket(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrintSchemaTicket)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DriverProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn UserProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4488,7 +4488,7 @@ windows_core::imp::define_interface!(IPrinterExtensionContextCollection, IPrinte impl std::ops::Deref for IPrinterExtensionContextCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4496,16 +4496,16 @@ windows_core::imp::interface_hierarchy!(IPrinterExtensionContextCollection, wind #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionContextCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAt(&self, ulindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), ulindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4526,7 +4526,7 @@ windows_core::imp::define_interface!(IPrinterExtensionEvent, IPrinterExtensionEv impl std::ops::Deref for IPrinterExtensionEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4567,7 +4567,7 @@ windows_core::imp::define_interface!(IPrinterExtensionEventArgs, IPrinterExtensi impl std::ops::Deref for IPrinterExtensionEventArgs { type Target = IPrinterExtensionContext; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4575,32 +4575,32 @@ windows_core::imp::interface_hierarchy!(IPrinterExtensionEventArgs, windows_core #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionEventArgs { pub unsafe fn BidiNotification(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BidiNotification)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReasonId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReasonId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Request(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Request)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SourceApplication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceApplication)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DetailedReasonId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DetailedReasonId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WindowModal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowModal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WindowParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowParent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4608,13 +4608,13 @@ impl IPrinterExtensionEventArgs { #[repr(C)] pub struct IPrinterExtensionEventArgs_Vtbl { pub base__: IPrinterExtensionContext_Vtbl, - pub BidiNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BidiNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReasonId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Request: usize, - pub SourceApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DetailedReasonId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub WindowModal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub WindowParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, @@ -4623,7 +4623,7 @@ windows_core::imp::define_interface!(IPrinterExtensionManager, IPrinterExtension impl std::ops::Deref for IPrinterExtensionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrinterExtensionManager, windows_core::IUnknown); @@ -4647,7 +4647,7 @@ windows_core::imp::define_interface!(IPrinterExtensionRequest, IPrinterExtension impl std::ops::Deref for IPrinterExtensionRequest { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4668,7 +4668,7 @@ impl IPrinterExtensionRequest { #[repr(C)] pub struct IPrinterExtensionRequest_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -4677,7 +4677,7 @@ windows_core::imp::define_interface!(IPrinterPropertyBag, IPrinterPropertyBag_Vt impl std::ops::Deref for IPrinterPropertyBag { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4688,7 +4688,7 @@ impl IPrinterPropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBool)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetBool(&self, bstrname: P0, bvalue: P1) -> windows_core::Result<()> @@ -4702,7 +4702,7 @@ impl IPrinterPropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInt32)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetInt32(&self, bstrname: P0, nvalue: i32) -> windows_core::Result<()> @@ -4715,7 +4715,7 @@ impl IPrinterPropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetString)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetString(&self, bstrname: P0, bstrvalue: P1) -> windows_core::Result<()> @@ -4742,7 +4742,7 @@ impl IPrinterPropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReadStream)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4750,7 +4750,7 @@ impl IPrinterPropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWriteStream)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4758,20 +4758,20 @@ impl IPrinterPropertyBag { #[repr(C)] pub struct IPrinterPropertyBag_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub GetBool: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub SetBool: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetInt32: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub SetInt32: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - pub SetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u8) -> windows_core::HRESULT, + pub GetBool: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub SetBool: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetInt32: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub SetInt32: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32, *mut *mut u8) -> windows_core::HRESULT, + pub SetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetReadStream: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetReadStream: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetReadStream: usize, #[cfg(feature = "Win32_System_Com")] - pub GetWriteStream: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetWriteStream: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetWriteStream: usize, } @@ -4781,7 +4781,7 @@ windows_core::imp::define_interface!(IPrinterQueue, IPrinterQueue_Vtbl, 0x3580a8 impl std::ops::Deref for IPrinterQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4789,11 +4789,11 @@ windows_core::imp::interface_hierarchy!(IPrinterQueue, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IPrinterQueue { pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SendBidiQuery(&self, bstrbidiquery: P0) -> windows_core::Result<()> @@ -4804,7 +4804,7 @@ impl IPrinterQueue { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4813,8 +4813,8 @@ impl IPrinterQueue { pub struct IPrinterQueue_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SendBidiQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SendBidiQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4826,7 +4826,7 @@ windows_core::imp::define_interface!(IPrinterQueue2, IPrinterQueue2_Vtbl, 0x8cd4 impl std::ops::Deref for IPrinterQueue2 { type Target = IPrinterQueue; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4838,12 +4838,12 @@ impl IPrinterQueue2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendBidiSetRequestAsync)(windows_core::Interface::as_raw(self), bstrbidirequest.param().abi(), pcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPrinterQueueView(&self, ulviewoffset: u32, ulviewsize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrinterQueueView)(windows_core::Interface::as_raw(self), ulviewoffset, ulviewsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4851,7 +4851,7 @@ impl IPrinterQueue2 { #[repr(C)] pub struct IPrinterQueue2_Vtbl { pub base__: IPrinterQueue_Vtbl, - pub SendBidiSetRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SendBidiSetRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetPrinterQueueView: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4863,7 +4863,7 @@ windows_core::imp::define_interface!(IPrinterQueueEvent, IPrinterQueueEvent_Vtbl impl std::ops::Deref for IPrinterQueueEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4881,7 +4881,7 @@ impl IPrinterQueueEvent { #[repr(C)] pub struct IPrinterQueueEvent_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub OnBidiResponseReceived: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, + pub OnBidiResponseReceived: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterQueueView, IPrinterQueueView_Vtbl, 0x476e2969_3b2b_4b3f_8277_cff6056042aa); @@ -4889,7 +4889,7 @@ windows_core::imp::define_interface!(IPrinterQueueView, IPrinterQueueView_Vtbl, impl std::ops::Deref for IPrinterQueueView { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4912,7 +4912,7 @@ windows_core::imp::define_interface!(IPrinterQueueViewEvent, IPrinterQueueViewEv impl std::ops::Deref for IPrinterQueueViewEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4942,7 +4942,7 @@ windows_core::imp::define_interface!(IPrinterScriptContext, IPrinterScriptContex impl std::ops::Deref for IPrinterScriptContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4951,17 +4951,17 @@ windows_core::imp::interface_hierarchy!(IPrinterScriptContext, windows_core::IUn impl IPrinterScriptContext { #[cfg(feature = "Win32_System_Com")] pub unsafe fn DriverProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn UserProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4988,7 +4988,7 @@ windows_core::imp::define_interface!(IPrinterScriptablePropertyBag, IPrinterScri impl std::ops::Deref for IPrinterScriptablePropertyBag { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4999,7 +4999,7 @@ impl IPrinterScriptablePropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBool)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetBool(&self, bstrname: P0, bvalue: P1) -> windows_core::Result<()> @@ -5013,7 +5013,7 @@ impl IPrinterScriptablePropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInt32)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetInt32(&self, bstrname: P0, nvalue: i32) -> windows_core::Result<()> @@ -5026,7 +5026,7 @@ impl IPrinterScriptablePropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetString)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetString(&self, bstrname: P0, bstrvalue: P1) -> windows_core::Result<()> @@ -5041,7 +5041,7 @@ impl IPrinterScriptablePropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBytes)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5057,7 +5057,7 @@ impl IPrinterScriptablePropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReadStream)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5065,7 +5065,7 @@ impl IPrinterScriptablePropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWriteStream)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5073,26 +5073,26 @@ impl IPrinterScriptablePropertyBag { #[repr(C)] pub struct IPrinterScriptablePropertyBag_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub GetBool: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub SetBool: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetInt32: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub SetInt32: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBool: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub SetBool: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetInt32: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub SetInt32: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetBytes: usize, #[cfg(feature = "Win32_System_Com")] - pub SetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetBytes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetBytes: usize, #[cfg(feature = "Win32_System_Com")] - pub GetReadStream: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetReadStream: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetReadStream: usize, #[cfg(feature = "Win32_System_Com")] - pub GetWriteStream: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetWriteStream: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetWriteStream: usize, } @@ -5102,7 +5102,7 @@ windows_core::imp::define_interface!(IPrinterScriptablePropertyBag2, IPrinterScr impl std::ops::Deref for IPrinterScriptablePropertyBag2 { type Target = IPrinterScriptablePropertyBag; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5113,7 +5113,7 @@ impl IPrinterScriptablePropertyBag2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReadStreamAsXML)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5121,7 +5121,7 @@ impl IPrinterScriptablePropertyBag2 { #[repr(C)] pub struct IPrinterScriptablePropertyBag2_Vtbl { pub base__: IPrinterScriptablePropertyBag_Vtbl, - pub GetReadStreamAsXML: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetReadStreamAsXML: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterScriptableSequentialStream, IPrinterScriptableSequentialStream_Vtbl, 0x2072838a_316f_467a_a949_27f68c44a854); @@ -5129,7 +5129,7 @@ windows_core::imp::define_interface!(IPrinterScriptableSequentialStream, IPrinte impl std::ops::Deref for IPrinterScriptableSequentialStream { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5138,7 +5138,7 @@ windows_core::imp::interface_hierarchy!(IPrinterScriptableSequentialStream, wind impl IPrinterScriptableSequentialStream { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Read(&self, cbread: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Read)(windows_core::Interface::as_raw(self), cbread, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5146,7 +5146,7 @@ impl IPrinterScriptableSequentialStream { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Write)(windows_core::Interface::as_raw(self), parray.param().abi(), &mut result__).map(|| result__) } } @@ -5169,7 +5169,7 @@ windows_core::imp::define_interface!(IPrinterScriptableStream, IPrinterScriptabl impl std::ops::Deref for IPrinterScriptableStream { type Target = IPrinterScriptableSequentialStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5181,7 +5181,7 @@ impl IPrinterScriptableStream { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Seek)(windows_core::Interface::as_raw(self), loffset, streamseek, &mut result__).map(|| result__) } pub unsafe fn SetSize(&self, lsize: i32) -> windows_core::Result<()> { @@ -5203,13 +5203,13 @@ windows_core::imp::define_interface!(IXpsDocument, IXpsDocument_Vtbl, 0xe8d907db impl std::ops::Deref for IXpsDocument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsDocument, windows_core::IUnknown); impl IXpsDocument { pub unsafe fn GetThumbnail(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThumbnail)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetThumbnail(&self, pthumbnail: P0) -> windows_core::Result<()> @@ -5229,7 +5229,7 @@ windows_core::imp::define_interface!(IXpsDocumentConsumer, IXpsDocumentConsumer_ impl std::ops::Deref for IXpsDocumentConsumer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsDocumentConsumer, windows_core::IUnknown); @@ -5289,13 +5289,13 @@ windows_core::imp::define_interface!(IXpsDocumentProvider, IXpsDocumentProvider_ impl std::ops::Deref for IXpsDocumentProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsDocumentProvider, windows_core::IUnknown); impl IXpsDocumentProvider { pub unsafe fn GetXpsPart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXpsPart)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5308,7 +5308,7 @@ windows_core::imp::define_interface!(IXpsPartIterator, IXpsPartIterator_Vtbl, 0x impl std::ops::Deref for IXpsPartIterator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsPartIterator, windows_core::IUnknown); @@ -5330,7 +5330,7 @@ impl IXpsPartIterator { pub struct IXpsPartIterator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void), - pub Current: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Current: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsDone: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void), } @@ -5338,7 +5338,7 @@ windows_core::imp::define_interface!(IXpsRasterizationFactory, IXpsRasterization impl std::ops::Deref for IXpsRasterizationFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsRasterizationFactory, windows_core::IUnknown); @@ -5348,7 +5348,7 @@ impl IXpsRasterizationFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRasterizer)(windows_core::Interface::as_raw(self), xpspage.param().abi(), dpi, nontextrenderingmode, textrenderingmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5364,7 +5364,7 @@ windows_core::imp::define_interface!(IXpsRasterizationFactory1, IXpsRasterizatio impl std::ops::Deref for IXpsRasterizationFactory1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsRasterizationFactory1, windows_core::IUnknown); @@ -5374,7 +5374,7 @@ impl IXpsRasterizationFactory1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRasterizer)(windows_core::Interface::as_raw(self), xpspage.param().abi(), dpi, nontextrenderingmode, textrenderingmode, pixelformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5390,7 +5390,7 @@ windows_core::imp::define_interface!(IXpsRasterizationFactory2, IXpsRasterizatio impl std::ops::Deref for IXpsRasterizationFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsRasterizationFactory2, windows_core::IUnknown); @@ -5400,7 +5400,7 @@ impl IXpsRasterizationFactory2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRasterizer)(windows_core::Interface::as_raw(self), xpspage.param().abi(), dpix, dpiy, nontextrenderingmode, textrenderingmode, pixelformat, backgroundcolor, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5416,7 +5416,7 @@ windows_core::imp::define_interface!(IXpsRasterizer, IXpsRasterizer_Vtbl, 0x7567 impl std::ops::Deref for IXpsRasterizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsRasterizer, windows_core::IUnknown); @@ -5426,7 +5426,7 @@ impl IXpsRasterizer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RasterizeRect)(windows_core::Interface::as_raw(self), x, y, width, height, notificationcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMinimalLineWidth(&self, width: i32) -> windows_core::Result<()> { @@ -5446,7 +5446,7 @@ windows_core::imp::define_interface!(IXpsRasterizerNotificationCallback, IXpsRas impl std::ops::Deref for IXpsRasterizerNotificationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsRasterizerNotificationCallback, windows_core::IUnknown); @@ -8847,16 +8847,16 @@ impl Default for INVOC { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct ImgErrorInfo { - pub description: std::mem::ManuallyDrop, + pub description: core::mem::ManuallyDrop, pub guid: windows_core::GUID, pub helpContext: u32, - pub helpFile: std::mem::ManuallyDrop, - pub source: std::mem::ManuallyDrop, - pub devDescription: std::mem::ManuallyDrop, + pub helpFile: core::mem::ManuallyDrop, + pub source: core::mem::ManuallyDrop, + pub devDescription: core::mem::ManuallyDrop, pub errorID: windows_core::GUID, pub cUserParameters: u32, pub aUserParameters: *mut windows_core::BSTR, - pub userFallback: std::mem::ManuallyDrop, + pub userFallback: core::mem::ManuallyDrop, pub exceptionID: u32, } impl Clone for ImgErrorInfo { 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 3aba825a95..c3e7ab6bb5 100644 --- a/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs @@ -12,7 +12,7 @@ where P0: windows_core::Param, { windows_targets::link!("mdmregistration.dll" "system" fn DiscoverManagementService(pszupn : windows_core::PCWSTR, ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DiscoverManagementService(pszupn.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -22,7 +22,7 @@ where P1: windows_core::Param, { windows_targets::link!("mdmregistration.dll" "system" fn DiscoverManagementServiceEx(pszupn : windows_core::PCWSTR, pszdiscoveryservicecandidate : windows_core::PCWSTR, ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DiscoverManagementServiceEx(pszupn.param().abi(), pszdiscoveryservicecandidate.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -51,13 +51,13 @@ pub unsafe fn IsDeviceRegisteredWithManagement(pfisdeviceregisteredwithmanagemen #[inline] pub unsafe fn IsManagementRegistrationAllowed() -> windows_core::Result { windows_targets::link!("mdmregistration.dll" "system" fn IsManagementRegistrationAllowed(pfismanagementregistrationallowed : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IsManagementRegistrationAllowed(&mut result__).map(|| result__) } #[inline] pub unsafe fn IsMdmUxWithoutAadAllowed() -> windows_core::Result { windows_targets::link!("mdmregistration.dll" "system" fn IsMdmUxWithoutAadAllowed(isenrollmentallowed : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IsMdmUxWithoutAadAllowed(&mut result__).map(|| result__) } #[inline] 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 c63ef1be65..42be8b38b1 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IApoAcousticEchoCancellation, IApoAcousticE impl std::ops::Deref for IApoAcousticEchoCancellation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApoAcousticEchoCancellation, windows_core::IUnknown); @@ -15,7 +15,7 @@ windows_core::imp::define_interface!(IApoAuxiliaryInputConfiguration, IApoAuxili impl std::ops::Deref for IApoAuxiliaryInputConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApoAuxiliaryInputConfiguration, windows_core::IUnknown); @@ -30,7 +30,7 @@ impl IApoAuxiliaryInputConfiguration { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInputFormatSupported)(windows_core::Interface::as_raw(self), prequestedinputformat.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -45,7 +45,7 @@ windows_core::imp::define_interface!(IApoAuxiliaryInputRT, IApoAuxiliaryInputRT_ impl std::ops::Deref for IApoAuxiliaryInputRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApoAuxiliaryInputRT, windows_core::IUnknown); @@ -63,7 +63,7 @@ windows_core::imp::define_interface!(IAudioDeviceModulesClient, IAudioDeviceModu impl std::ops::Deref for IAudioDeviceModulesClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioDeviceModulesClient, windows_core::IUnknown); @@ -84,20 +84,20 @@ windows_core::imp::define_interface!(IAudioMediaType, IAudioMediaType_Vtbl, 0x4e impl std::ops::Deref for IAudioMediaType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioMediaType, windows_core::IUnknown); impl IAudioMediaType { pub unsafe fn IsCompressedFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCompressedFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsEqual(&self, piaudiotype: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), piaudiotype.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetAudioFormat(&self) -> *mut super::WAVEFORMATEX { @@ -119,7 +119,7 @@ windows_core::imp::define_interface!(IAudioProcessingObject, IAudioProcessingObj impl std::ops::Deref for IAudioProcessingObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioProcessingObject, windows_core::IUnknown); @@ -128,11 +128,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLatency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRegistrationProperties(&self) -> windows_core::Result<*mut APO_REG_PROPERTIES> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegistrationProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Initialize(&self, pbydata: &[u8]) -> windows_core::Result<()> { @@ -143,7 +143,7 @@ impl IAudioProcessingObject { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInputFormatSupported)(windows_core::Interface::as_raw(self), poppositeformat.param().abi(), prequestedinputformat.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsOutputFormatSupported(&self, poppositeformat: P0, prequestedoutputformat: P1) -> windows_core::Result @@ -151,11 +151,11 @@ impl IAudioProcessingObject { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOutputFormatSupported)(windows_core::Interface::as_raw(self), poppositeformat.param().abi(), prequestedoutputformat.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -174,7 +174,7 @@ windows_core::imp::define_interface!(IAudioProcessingObjectConfiguration, IAudio impl std::ops::Deref for IAudioProcessingObjectConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioProcessingObjectConfiguration, windows_core::IUnknown); @@ -196,7 +196,7 @@ windows_core::imp::define_interface!(IAudioProcessingObjectLoggingService, IAudi impl std::ops::Deref for IAudioProcessingObjectLoggingService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioProcessingObjectLoggingService, windows_core::IUnknown); @@ -217,7 +217,7 @@ windows_core::imp::define_interface!(IAudioProcessingObjectNotifications, IAudio impl std::ops::Deref for IAudioProcessingObjectNotifications { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioProcessingObjectNotifications, windows_core::IUnknown); @@ -243,7 +243,7 @@ windows_core::imp::define_interface!(IAudioProcessingObjectNotifications2, IAudi impl std::ops::Deref for IAudioProcessingObjectNotifications2 { type Target = IAudioProcessingObjectNotifications; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioProcessingObjectNotifications2, windows_core::IUnknown, IAudioProcessingObjectNotifications); @@ -261,7 +261,7 @@ windows_core::imp::define_interface!(IAudioProcessingObjectRT, IAudioProcessingO impl std::ops::Deref for IAudioProcessingObjectRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioProcessingObjectRT, windows_core::IUnknown); @@ -287,13 +287,13 @@ windows_core::imp::define_interface!(IAudioProcessingObjectRTQueueService, IAudi impl std::ops::Deref for IAudioProcessingObjectRTQueueService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioProcessingObjectRTQueueService, windows_core::IUnknown); impl IAudioProcessingObjectRTQueueService { pub unsafe fn GetRealTimeWorkQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRealTimeWorkQueue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -306,17 +306,17 @@ windows_core::imp::define_interface!(IAudioProcessingObjectVBR, IAudioProcessing impl std::ops::Deref for IAudioProcessingObjectVBR { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioProcessingObjectVBR, windows_core::IUnknown); impl IAudioProcessingObjectVBR { pub unsafe fn CalcMaxInputFrames(&self, u32maxoutputframecount: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CalcMaxInputFrames)(windows_core::Interface::as_raw(self), u32maxoutputframecount, &mut result__).map(|| result__) } pub unsafe fn CalcMaxOutputFrames(&self, u32maxinputframecount: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CalcMaxOutputFrames)(windows_core::Interface::as_raw(self), u32maxinputframecount, &mut result__).map(|| result__) } } @@ -330,7 +330,7 @@ windows_core::imp::define_interface!(IAudioSystemEffects, IAudioSystemEffects_Vt impl std::ops::Deref for IAudioSystemEffects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSystemEffects, windows_core::IUnknown); @@ -343,7 +343,7 @@ windows_core::imp::define_interface!(IAudioSystemEffects2, IAudioSystemEffects2_ impl std::ops::Deref for IAudioSystemEffects2 { type Target = IAudioSystemEffects; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSystemEffects2, windows_core::IUnknown, IAudioSystemEffects); @@ -364,7 +364,7 @@ windows_core::imp::define_interface!(IAudioSystemEffects3, IAudioSystemEffects3_ impl std::ops::Deref for IAudioSystemEffects3 { type Target = IAudioSystemEffects2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSystemEffects3, windows_core::IUnknown, IAudioSystemEffects, IAudioSystemEffects2); @@ -389,21 +389,21 @@ windows_core::imp::define_interface!(IAudioSystemEffectsCustomFormats, IAudioSys impl std::ops::Deref for IAudioSystemEffectsCustomFormats { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSystemEffectsCustomFormats, windows_core::IUnknown); impl IAudioSystemEffectsCustomFormats { pub unsafe fn GetFormatCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormatCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFormat(&self, nformat: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormat)(windows_core::Interface::as_raw(self), nformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFormatRepresentation(&self, nformat: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormatRepresentation)(windows_core::Interface::as_raw(self), nformat, &mut result__).map(|| result__) } } @@ -681,10 +681,10 @@ impl Default for APOInitBaseStruct { #[derive(Debug, Eq, PartialEq)] pub struct APOInitSystemEffects { pub APOInit: APOInitBaseStruct, - pub pAPOEndpointProperties: std::mem::ManuallyDrop>, - pub pAPOSystemEffectsProperties: std::mem::ManuallyDrop>, + pub pAPOEndpointProperties: core::mem::ManuallyDrop>, + pub pAPOSystemEffectsProperties: core::mem::ManuallyDrop>, pub pReserved: *mut core::ffi::c_void, - pub pDeviceCollection: std::mem::ManuallyDrop>, + pub pDeviceCollection: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for APOInitSystemEffects { @@ -707,10 +707,10 @@ impl Default for APOInitSystemEffects { #[derive(Debug, Eq, PartialEq)] pub struct APOInitSystemEffects2 { pub APOInit: APOInitBaseStruct, - pub pAPOEndpointProperties: std::mem::ManuallyDrop>, - pub pAPOSystemEffectsProperties: std::mem::ManuallyDrop>, + pub pAPOEndpointProperties: core::mem::ManuallyDrop>, + pub pAPOSystemEffectsProperties: core::mem::ManuallyDrop>, pub pReserved: *mut core::ffi::c_void, - pub pDeviceCollection: std::mem::ManuallyDrop>, + pub pDeviceCollection: core::mem::ManuallyDrop>, pub nSoftwareIoDeviceInCollection: u32, pub nSoftwareIoConnectorIndex: u32, pub AudioProcessingMode: windows_core::GUID, @@ -737,9 +737,9 @@ impl Default for APOInitSystemEffects2 { #[derive(Debug, Eq, PartialEq)] pub struct APOInitSystemEffects3 { pub APOInit: APOInitBaseStruct, - pub pAPOEndpointProperties: std::mem::ManuallyDrop>, - pub pServiceProvider: std::mem::ManuallyDrop>, - pub pDeviceCollection: std::mem::ManuallyDrop>, + pub pAPOEndpointProperties: core::mem::ManuallyDrop>, + pub pServiceProvider: core::mem::ManuallyDrop>, + pub pDeviceCollection: core::mem::ManuallyDrop>, pub nSoftwareIoDeviceInCollection: u32, pub nSoftwareIoConnectorIndex: u32, pub AudioProcessingMode: windows_core::GUID, @@ -767,7 +767,7 @@ pub struct APO_CONNECTION_DESCRIPTOR { pub Type: APO_CONNECTION_BUFFER_TYPE, pub pBuffer: usize, pub u32MaxFrameCount: u32, - pub pFormat: std::mem::ManuallyDrop>, + pub pFormat: core::mem::ManuallyDrop>, pub u32Signature: u32, } impl Clone for APO_CONNECTION_DESCRIPTOR { @@ -838,12 +838,12 @@ impl Default for APO_NOTIFICATION { #[repr(C)] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub union APO_NOTIFICATION_0 { - pub audioEndpointVolumeChange: std::mem::ManuallyDrop, - pub audioEndpointPropertyChange: std::mem::ManuallyDrop, - pub audioSystemEffectsPropertyChange: std::mem::ManuallyDrop, - pub audioEndpointVolumeChange2: std::mem::ManuallyDrop, + pub audioEndpointVolumeChange: core::mem::ManuallyDrop, + pub audioEndpointPropertyChange: core::mem::ManuallyDrop, + pub audioSystemEffectsPropertyChange: core::mem::ManuallyDrop, + pub audioEndpointVolumeChange2: core::mem::ManuallyDrop, pub deviceOrientation: DEVICE_ORIENTATION_TYPE, - pub audioMicrophoneBoostChange: std::mem::ManuallyDrop, + pub audioMicrophoneBoostChange: core::mem::ManuallyDrop, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for APO_NOTIFICATION_0 { @@ -881,10 +881,10 @@ impl Default for APO_NOTIFICATION_DESCRIPTOR { } #[repr(C)] pub union APO_NOTIFICATION_DESCRIPTOR_0 { - pub audioEndpointVolume: std::mem::ManuallyDrop, - pub audioEndpointPropertyChange: std::mem::ManuallyDrop, - pub audioSystemEffectsPropertyChange: std::mem::ManuallyDrop, - pub audioMicrophoneBoost: std::mem::ManuallyDrop, + pub audioEndpointVolume: core::mem::ManuallyDrop, + pub audioEndpointPropertyChange: core::mem::ManuallyDrop, + pub audioSystemEffectsPropertyChange: core::mem::ManuallyDrop, + pub audioMicrophoneBoost: core::mem::ManuallyDrop, } impl Clone for APO_NOTIFICATION_DESCRIPTOR_0 { fn clone(&self) -> Self { @@ -927,7 +927,7 @@ impl Default for APO_REG_PROPERTIES { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct AUDIO_ENDPOINT_PROPERTY_CHANGE_APO_NOTIFICATION_DESCRIPTOR { - pub device: std::mem::ManuallyDrop>, + pub device: core::mem::ManuallyDrop>, } impl Clone for AUDIO_ENDPOINT_PROPERTY_CHANGE_APO_NOTIFICATION_DESCRIPTOR { fn clone(&self) -> Self { @@ -946,8 +946,8 @@ impl Default for AUDIO_ENDPOINT_PROPERTY_CHANGE_APO_NOTIFICATION_DESCRIPTOR { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] #[derive(Debug, Eq, PartialEq)] pub struct AUDIO_ENDPOINT_PROPERTY_CHANGE_NOTIFICATION { - pub endpoint: std::mem::ManuallyDrop>, - pub propertyStore: std::mem::ManuallyDrop>, + pub endpoint: core::mem::ManuallyDrop>, + pub propertyStore: core::mem::ManuallyDrop>, pub propertyKey: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -969,7 +969,7 @@ impl Default for AUDIO_ENDPOINT_PROPERTY_CHANGE_NOTIFICATION { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct AUDIO_ENDPOINT_VOLUME_APO_NOTIFICATION_DESCRIPTOR { - pub device: std::mem::ManuallyDrop>, + pub device: core::mem::ManuallyDrop>, } impl Clone for AUDIO_ENDPOINT_VOLUME_APO_NOTIFICATION_DESCRIPTOR { fn clone(&self) -> Self { @@ -987,7 +987,7 @@ impl Default for AUDIO_ENDPOINT_VOLUME_APO_NOTIFICATION_DESCRIPTOR { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION { - pub endpoint: std::mem::ManuallyDrop>, + pub endpoint: core::mem::ManuallyDrop>, pub volume: *mut super::AUDIO_VOLUME_NOTIFICATION_DATA, } impl Clone for AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION { @@ -1006,7 +1006,7 @@ impl Default for AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION2 { - pub endpoint: std::mem::ManuallyDrop>, + pub endpoint: core::mem::ManuallyDrop>, pub volume: *mut AUDIO_VOLUME_NOTIFICATION_DATA2, } impl Clone for AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION2 { @@ -1025,7 +1025,7 @@ impl Default for AUDIO_ENDPOINT_VOLUME_CHANGE_NOTIFICATION2 { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct AUDIO_MICROPHONE_BOOST_APO_NOTIFICATION_DESCRIPTOR { - pub device: std::mem::ManuallyDrop>, + pub device: core::mem::ManuallyDrop>, } impl Clone for AUDIO_MICROPHONE_BOOST_APO_NOTIFICATION_DESCRIPTOR { fn clone(&self) -> Self { @@ -1043,7 +1043,7 @@ impl Default for AUDIO_MICROPHONE_BOOST_APO_NOTIFICATION_DESCRIPTOR { #[repr(C)] #[derive(Debug, PartialEq)] pub struct AUDIO_MICROPHONE_BOOST_NOTIFICATION { - pub endpoint: std::mem::ManuallyDrop>, + pub endpoint: core::mem::ManuallyDrop>, pub eventContext: windows_core::GUID, pub microphoneBoostEnabled: super::super::super::Foundation::BOOL, pub levelInDb: f32, @@ -1084,7 +1084,7 @@ impl Default for AUDIO_SYSTEMEFFECT { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_APO_NOTIFICATION_DESCRIPTOR { - pub device: std::mem::ManuallyDrop>, + pub device: core::mem::ManuallyDrop>, pub propertyStoreContext: windows_core::GUID, } impl Clone for AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_APO_NOTIFICATION_DESCRIPTOR { @@ -1104,10 +1104,10 @@ impl Default for AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_APO_NOTIFICATION_DESCRIPTOR #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] #[derive(Debug, Eq, PartialEq)] pub struct AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_NOTIFICATION { - pub endpoint: std::mem::ManuallyDrop>, + pub endpoint: core::mem::ManuallyDrop>, pub propertyStoreContext: windows_core::GUID, pub propertyStoreType: super::AUDIO_SYSTEMEFFECTS_PROPERTYSTORE_TYPE, - pub propertyStore: std::mem::ManuallyDrop>, + pub propertyStore: core::mem::ManuallyDrop>, pub propertyKey: super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1152,7 +1152,7 @@ impl Default for AUDIO_VOLUME_NOTIFICATION_DATA2 { pub struct AudioFXExtensionParams { pub AddPageParam: super::super::super::Foundation::LPARAM, pub pwstrEndpointID: windows_core::PWSTR, - pub pFxProperties: std::mem::ManuallyDrop>, + pub pFxProperties: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for AudioFXExtensionParams { 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 aad38a9adc..5d3ed50b43 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IDirectMusic, IDirectMusic_Vtbl, 0x6536115a impl std::ops::Deref for IDirectMusic { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusic, windows_core::IUnknown); @@ -69,7 +69,7 @@ windows_core::imp::define_interface!(IDirectMusic8, IDirectMusic8_Vtbl, 0x2d3629 impl std::ops::Deref for IDirectMusic8 { type Target = IDirectMusic; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusic8, windows_core::IUnknown, IDirectMusic); @@ -90,7 +90,7 @@ windows_core::imp::define_interface!(IDirectMusicBuffer, IDirectMusicBuffer_Vtbl impl std::ops::Deref for IDirectMusicBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicBuffer, windows_core::IUnknown); @@ -156,13 +156,13 @@ windows_core::imp::define_interface!(IDirectMusicCollection, IDirectMusicCollect impl std::ops::Deref for IDirectMusicCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicCollection, windows_core::IUnknown); impl IDirectMusicCollection { pub unsafe fn GetInstrument(&self, dwpatch: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstrument)(windows_core::Interface::as_raw(self), dwpatch, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumInstrument(&self, dwindex: u32, pdwpatch: *mut u32, pwszname: P0, dwnamelen: u32) -> windows_core::Result<()> @@ -182,7 +182,7 @@ windows_core::imp::define_interface!(IDirectMusicDownload, IDirectMusicDownload_ impl std::ops::Deref for IDirectMusicDownload { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicDownload, windows_core::IUnknown); @@ -200,7 +200,7 @@ windows_core::imp::define_interface!(IDirectMusicDownloadedInstrument, IDirectMu impl std::ops::Deref for IDirectMusicDownloadedInstrument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicDownloadedInstrument, windows_core::IUnknown); @@ -213,7 +213,7 @@ windows_core::imp::define_interface!(IDirectMusicInstrument, IDirectMusicInstrum impl std::ops::Deref for IDirectMusicInstrument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicInstrument, windows_core::IUnknown); @@ -235,7 +235,7 @@ windows_core::imp::define_interface!(IDirectMusicPort, IDirectMusicPort_Vtbl, 0x impl std::ops::Deref for IDirectMusicPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicPort, windows_core::IUnknown); @@ -271,7 +271,7 @@ impl IDirectMusicPort { (windows_core::Interface::vtable(self).UnloadInstrument)(windows_core::Interface::as_raw(self), pdownloadedinstrument.param().abi()).ok() } pub unsafe fn GetLatencyClock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLatencyClock)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRunningStats(&self, pstats: *mut DMUS_SYNTHSTATS) -> windows_core::Result<()> { @@ -348,17 +348,17 @@ windows_core::imp::define_interface!(IDirectMusicPortDownload, IDirectMusicPortD impl std::ops::Deref for IDirectMusicPortDownload { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicPortDownload, windows_core::IUnknown); impl IDirectMusicPortDownload { pub unsafe fn GetBuffer(&self, dwdlid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBuffer)(windows_core::Interface::as_raw(self), dwdlid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AllocateBuffer(&self, dwsize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocateBuffer)(windows_core::Interface::as_raw(self), dwsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDLId(&self, pdwstartdlid: *mut u32, dwcount: u32) -> windows_core::Result<()> { @@ -394,7 +394,7 @@ windows_core::imp::define_interface!(IDirectMusicSynth, IDirectMusicSynth_Vtbl, impl std::ops::Deref for IDirectMusicSynth { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicSynth, windows_core::IUnknown); @@ -434,7 +434,7 @@ impl IDirectMusicSynth { (windows_core::Interface::vtable(self).SetMasterClock)(windows_core::Interface::as_raw(self), pclock.param().abi()).ok() } pub unsafe fn GetLatencyClock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLatencyClock)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Activate(&self, fenable: P0) -> windows_core::Result<()> @@ -490,7 +490,7 @@ windows_core::imp::define_interface!(IDirectMusicSynth8, IDirectMusicSynth8_Vtbl impl std::ops::Deref for IDirectMusicSynth8 { type Target = IDirectMusicSynth; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicSynth8, windows_core::IUnknown, IDirectMusicSynth); @@ -524,7 +524,7 @@ windows_core::imp::define_interface!(IDirectMusicSynthSink, IDirectMusicSynthSin impl std::ops::Deref for IDirectMusicSynthSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicSynthSink, windows_core::IUnknown); @@ -542,7 +542,7 @@ impl IDirectMusicSynthSink { (windows_core::Interface::vtable(self).SetMasterClock)(windows_core::Interface::as_raw(self), pclock.param().abi()).ok() } pub unsafe fn GetLatencyClock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLatencyClock)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Activate(&self, fenable: P0) -> windows_core::Result<()> @@ -588,7 +588,7 @@ windows_core::imp::define_interface!(IDirectMusicThru, IDirectMusicThru_Vtbl, 0x impl std::ops::Deref for IDirectMusicThru { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectMusicThru, windows_core::IUnknown); 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 fd62d018ff..f7a4615f46 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 @@ -62,14 +62,14 @@ where #[inline] pub unsafe fn GetDeviceID(pguidsrc: Option<*const windows_core::GUID>) -> windows_core::Result { windows_targets::link!("dsound.dll" "system" fn GetDeviceID(pguidsrc : *const windows_core::GUID, pguiddest : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetDeviceID(core::mem::transmute(pguidsrc.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } windows_core::imp::define_interface!(IDirectSound, IDirectSound_Vtbl, 0x279afa83_4981_11ce_a521_0020af0be560); impl std::ops::Deref for IDirectSound { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSound, windows_core::IUnknown); @@ -87,7 +87,7 @@ impl IDirectSound { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DuplicateSoundBuffer)(windows_core::Interface::as_raw(self), pdsbufferoriginal.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCooperativeLevel(&self, hwnd: P0, dwlevel: u32) -> windows_core::Result<()> @@ -100,7 +100,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpeakerConfig)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSpeakerConfig(&self, dwspeakerconfig: u32) -> windows_core::Result<()> { @@ -126,7 +126,7 @@ windows_core::imp::define_interface!(IDirectSound3DBuffer, IDirectSound3DBuffer_ impl std::ops::Deref for IDirectSound3DBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSound3DBuffer, windows_core::IUnknown); @@ -140,33 +140,33 @@ impl IDirectSound3DBuffer { } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetConeOrientation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConeOrientation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConeOutsideVolume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConeOutsideVolume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxDistance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxDistance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMinDistance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinDistance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetVelocity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVelocity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -239,7 +239,7 @@ windows_core::imp::define_interface!(IDirectSound3DListener, IDirectSound3DListe impl std::ops::Deref for IDirectSound3DListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSound3DListener, windows_core::IUnknown); @@ -249,11 +249,11 @@ impl IDirectSound3DListener { (windows_core::Interface::vtable(self).GetAllParameters)(windows_core::Interface::as_raw(self), plistener).ok() } pub unsafe fn GetDistanceFactor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDistanceFactor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDopplerFactor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDopplerFactor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -262,16 +262,16 @@ impl IDirectSound3DListener { } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRolloffFactor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRolloffFactor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetVelocity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVelocity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -338,13 +338,13 @@ windows_core::imp::define_interface!(IDirectSound8, IDirectSound8_Vtbl, 0xc50a7e impl std::ops::Deref for IDirectSound8 { type Target = IDirectSound; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSound8, windows_core::IUnknown, IDirectSound); impl IDirectSound8 { pub unsafe fn VerifyCertification(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VerifyCertification)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -357,7 +357,7 @@ windows_core::imp::define_interface!(IDirectSoundBuffer, IDirectSoundBuffer_Vtbl impl std::ops::Deref for IDirectSoundBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundBuffer, windows_core::IUnknown); @@ -372,19 +372,19 @@ impl IDirectSoundBuffer { (windows_core::Interface::vtable(self).GetFormat)(windows_core::Interface::as_raw(self), core::mem::transmute(pwfxformat.unwrap_or(std::ptr::null_mut())), dwsizeallocated, core::mem::transmute(pdwsizewritten.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetVolume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVolume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPan(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Initialize(&self, pdirectsound: P0, pcdsbufferdesc: *const DSBUFFERDESC) -> windows_core::Result<()> @@ -450,7 +450,7 @@ windows_core::imp::define_interface!(IDirectSoundBuffer8, IDirectSoundBuffer8_Vt impl std::ops::Deref for IDirectSoundBuffer8 { type Target = IDirectSoundBuffer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundBuffer8, windows_core::IUnknown, IDirectSoundBuffer); @@ -476,7 +476,7 @@ windows_core::imp::define_interface!(IDirectSoundCapture, IDirectSoundCapture_Vt impl std::ops::Deref for IDirectSoundCapture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundCapture, windows_core::IUnknown); @@ -488,7 +488,7 @@ impl IDirectSoundCapture { (windows_core::Interface::vtable(self).CreateCaptureBuffer)(windows_core::Interface::as_raw(self), pcdscbufferdesc, core::mem::transmute(ppdscbuffer), punkouter.param().abi()).ok() } pub unsafe fn GetCaps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaps)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Initialize(&self, pcguiddevice: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -506,13 +506,13 @@ windows_core::imp::define_interface!(IDirectSoundCaptureBuffer, IDirectSoundCapt impl std::ops::Deref for IDirectSoundCaptureBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundCaptureBuffer, windows_core::IUnknown); impl IDirectSoundCaptureBuffer { pub unsafe fn GetCaps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaps)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentPosition(&self, pdwcaptureposition: Option<*mut u32>, pdwreadposition: Option<*mut u32>) -> windows_core::Result<()> { @@ -522,7 +522,7 @@ impl IDirectSoundCaptureBuffer { (windows_core::Interface::vtable(self).GetFormat)(windows_core::Interface::as_raw(self), core::mem::transmute(pwfxformat.unwrap_or(std::ptr::null_mut())), dwsizeallocated, core::mem::transmute(pdwsizewritten.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Initialize(&self, pdirectsoundcapture: P0, pcdscbufferdesc: *const DSCBUFFERDESC) -> windows_core::Result<()> @@ -561,7 +561,7 @@ windows_core::imp::define_interface!(IDirectSoundCaptureBuffer8, IDirectSoundCap impl std::ops::Deref for IDirectSoundCaptureBuffer8 { type Target = IDirectSoundCaptureBuffer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundCaptureBuffer8, windows_core::IUnknown, IDirectSoundCaptureBuffer); @@ -583,7 +583,7 @@ windows_core::imp::define_interface!(IDirectSoundCaptureFXAec, IDirectSoundCaptu impl std::ops::Deref for IDirectSoundCaptureFXAec { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundCaptureFXAec, windows_core::IUnknown); @@ -592,11 +592,11 @@ impl IDirectSoundCaptureFXAec { (windows_core::Interface::vtable(self).SetAllParameters)(windows_core::Interface::as_raw(self), pdscfxaec).ok() } pub unsafe fn GetAllParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllParameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -615,7 +615,7 @@ windows_core::imp::define_interface!(IDirectSoundCaptureFXNoiseSuppress, IDirect impl std::ops::Deref for IDirectSoundCaptureFXNoiseSuppress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundCaptureFXNoiseSuppress, windows_core::IUnknown); @@ -624,7 +624,7 @@ impl IDirectSoundCaptureFXNoiseSuppress { (windows_core::Interface::vtable(self).SetAllParameters)(windows_core::Interface::as_raw(self), pcdscfxnoisesuppress).ok() } pub unsafe fn GetAllParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllParameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -642,7 +642,7 @@ windows_core::imp::define_interface!(IDirectSoundFXChorus, IDirectSoundFXChorus_ impl std::ops::Deref for IDirectSoundFXChorus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFXChorus, windows_core::IUnknown); @@ -664,7 +664,7 @@ windows_core::imp::define_interface!(IDirectSoundFXCompressor, IDirectSoundFXCom impl std::ops::Deref for IDirectSoundFXCompressor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFXCompressor, windows_core::IUnknown); @@ -686,7 +686,7 @@ windows_core::imp::define_interface!(IDirectSoundFXDistortion, IDirectSoundFXDis impl std::ops::Deref for IDirectSoundFXDistortion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFXDistortion, windows_core::IUnknown); @@ -708,7 +708,7 @@ windows_core::imp::define_interface!(IDirectSoundFXEcho, IDirectSoundFXEcho_Vtbl impl std::ops::Deref for IDirectSoundFXEcho { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFXEcho, windows_core::IUnknown); @@ -730,7 +730,7 @@ windows_core::imp::define_interface!(IDirectSoundFXFlanger, IDirectSoundFXFlange impl std::ops::Deref for IDirectSoundFXFlanger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFXFlanger, windows_core::IUnknown); @@ -752,7 +752,7 @@ windows_core::imp::define_interface!(IDirectSoundFXGargle, IDirectSoundFXGargle_ impl std::ops::Deref for IDirectSoundFXGargle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFXGargle, windows_core::IUnknown); @@ -761,7 +761,7 @@ impl IDirectSoundFXGargle { (windows_core::Interface::vtable(self).SetAllParameters)(windows_core::Interface::as_raw(self), pcdsfxgargle).ok() } pub unsafe fn GetAllParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllParameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -775,7 +775,7 @@ windows_core::imp::define_interface!(IDirectSoundFXI3DL2Reverb, IDirectSoundFXI3 impl std::ops::Deref for IDirectSoundFXI3DL2Reverb { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFXI3DL2Reverb, windows_core::IUnknown); @@ -790,14 +790,14 @@ impl IDirectSoundFXI3DL2Reverb { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQuality)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -815,7 +815,7 @@ windows_core::imp::define_interface!(IDirectSoundFXParamEq, IDirectSoundFXParamE impl std::ops::Deref for IDirectSoundFXParamEq { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFXParamEq, windows_core::IUnknown); @@ -824,7 +824,7 @@ impl IDirectSoundFXParamEq { (windows_core::Interface::vtable(self).SetAllParameters)(windows_core::Interface::as_raw(self), pcdsfxparameq).ok() } pub unsafe fn GetAllParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllParameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -838,7 +838,7 @@ windows_core::imp::define_interface!(IDirectSoundFXWavesReverb, IDirectSoundFXWa impl std::ops::Deref for IDirectSoundFXWavesReverb { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFXWavesReverb, windows_core::IUnknown); @@ -847,7 +847,7 @@ impl IDirectSoundFXWavesReverb { (windows_core::Interface::vtable(self).SetAllParameters)(windows_core::Interface::as_raw(self), pcdsfxwavesreverb).ok() } pub unsafe fn GetAllParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllParameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -861,7 +861,7 @@ windows_core::imp::define_interface!(IDirectSoundFullDuplex, IDirectSoundFullDup impl std::ops::Deref for IDirectSoundFullDuplex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundFullDuplex, windows_core::IUnknown); @@ -882,7 +882,7 @@ windows_core::imp::define_interface!(IDirectSoundNotify, IDirectSoundNotify_Vtbl impl std::ops::Deref for IDirectSoundNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectSoundNotify, windows_core::IUnknown); 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 01ad449f2e..78e9241e4c 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IAudioEndpointFormatControl, IAudioEndpoint impl std::ops::Deref for IAudioEndpointFormatControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointFormatControl, windows_core::IUnknown); @@ -20,7 +20,7 @@ windows_core::imp::define_interface!(IAudioEndpointLastBufferControl, IAudioEndp impl std::ops::Deref for IAudioEndpointLastBufferControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointLastBufferControl, windows_core::IUnknown); @@ -46,17 +46,17 @@ windows_core::imp::define_interface!(IAudioEndpointOffloadStreamMeter, IAudioEnd impl std::ops::Deref for IAudioEndpointOffloadStreamMeter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointOffloadStreamMeter, windows_core::IUnknown); impl IAudioEndpointOffloadStreamMeter { pub unsafe fn GetMeterChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMeterChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMeteringData(&self, u32channelcount: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMeteringData)(windows_core::Interface::as_raw(self), u32channelcount, &mut result__).map(|| result__) } } @@ -70,7 +70,7 @@ windows_core::imp::define_interface!(IAudioEndpointOffloadStreamMute, IAudioEndp impl std::ops::Deref for IAudioEndpointOffloadStreamMute { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointOffloadStreamMute, windows_core::IUnknown); @@ -79,7 +79,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMute)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -93,13 +93,13 @@ windows_core::imp::define_interface!(IAudioEndpointOffloadStreamVolume, IAudioEn impl std::ops::Deref for IAudioEndpointOffloadStreamVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointOffloadStreamVolume, windows_core::IUnknown); impl IAudioEndpointOffloadStreamVolume { pub unsafe fn GetVolumeChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVolumeChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_KernelStreaming")] @@ -107,7 +107,7 @@ impl IAudioEndpointOffloadStreamVolume { (windows_core::Interface::vtable(self).SetChannelVolumes)(windows_core::Interface::as_raw(self), u32channelcount, pf32volumes, u32curvetype, pcurveduration).ok() } pub unsafe fn GetChannelVolumes(&self, u32channelcount: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelVolumes)(windows_core::Interface::as_raw(self), u32channelcount, &mut result__).map(|| result__) } } @@ -125,7 +125,7 @@ windows_core::imp::define_interface!(IAudioEndpointVolume, IAudioEndpointVolume_ impl std::ops::Deref for IAudioEndpointVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointVolume, windows_core::IUnknown); @@ -143,7 +143,7 @@ impl IAudioEndpointVolume { (windows_core::Interface::vtable(self).UnregisterControlChangeNotify)(windows_core::Interface::as_raw(self), pnotify.param().abi()).ok() } pub unsafe fn GetChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMasterVolumeLevel(&self, fleveldb: f32, pguideventcontext: *const windows_core::GUID) -> windows_core::Result<()> { @@ -153,11 +153,11 @@ impl IAudioEndpointVolume { (windows_core::Interface::vtable(self).SetMasterVolumeLevelScalar)(windows_core::Interface::as_raw(self), flevel, pguideventcontext).ok() } pub unsafe fn GetMasterVolumeLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMasterVolumeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMasterVolumeLevelScalar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMasterVolumeLevelScalar)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetChannelVolumeLevel(&self, nchannel: u32, fleveldb: f32, pguideventcontext: *const windows_core::GUID) -> windows_core::Result<()> { @@ -167,11 +167,11 @@ impl IAudioEndpointVolume { (windows_core::Interface::vtable(self).SetChannelVolumeLevelScalar)(windows_core::Interface::as_raw(self), nchannel, flevel, pguideventcontext).ok() } pub unsafe fn GetChannelVolumeLevel(&self, nchannel: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelVolumeLevel)(windows_core::Interface::as_raw(self), nchannel, &mut result__).map(|| result__) } pub unsafe fn GetChannelVolumeLevelScalar(&self, nchannel: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelVolumeLevelScalar)(windows_core::Interface::as_raw(self), nchannel, &mut result__).map(|| result__) } pub unsafe fn SetMute(&self, bmute: P0, pguideventcontext: *const windows_core::GUID) -> windows_core::Result<()> @@ -181,7 +181,7 @@ impl IAudioEndpointVolume { (windows_core::Interface::vtable(self).SetMute)(windows_core::Interface::as_raw(self), bmute.param().abi(), pguideventcontext).ok() } pub unsafe fn GetMute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMute)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVolumeStepInfo(&self, pnstep: *mut u32, pnstepcount: *mut u32) -> windows_core::Result<()> { @@ -194,7 +194,7 @@ impl IAudioEndpointVolume { (windows_core::Interface::vtable(self).VolumeStepDown)(windows_core::Interface::as_raw(self), pguideventcontext).ok() } pub unsafe fn QueryHardwareSupport(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryHardwareSupport)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVolumeRange(&self, pflvolumemindb: *mut f32, pflvolumemaxdb: *mut f32, pflvolumeincrementdb: *mut f32) -> windows_core::Result<()> { @@ -227,7 +227,7 @@ windows_core::imp::define_interface!(IAudioEndpointVolumeCallback, IAudioEndpoin impl std::ops::Deref for IAudioEndpointVolumeCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointVolumeCallback, windows_core::IUnknown); @@ -245,7 +245,7 @@ windows_core::imp::define_interface!(IAudioEndpointVolumeEx, IAudioEndpointVolum impl std::ops::Deref for IAudioEndpointVolumeEx { type Target = IAudioEndpointVolume; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointVolumeEx, windows_core::IUnknown, IAudioEndpointVolume); @@ -263,7 +263,7 @@ windows_core::imp::define_interface!(IAudioLfxControl, IAudioLfxControl_Vtbl, 0x impl std::ops::Deref for IAudioLfxControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioLfxControl, windows_core::IUnknown); @@ -275,7 +275,7 @@ impl IAudioLfxControl { (windows_core::Interface::vtable(self).SetLocalEffectsState)(windows_core::Interface::as_raw(self), benabled.param().abi()).ok() } pub unsafe fn GetLocalEffectsState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalEffectsState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -289,24 +289,24 @@ windows_core::imp::define_interface!(IAudioMeterInformation, IAudioMeterInformat impl std::ops::Deref for IAudioMeterInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioMeterInformation, windows_core::IUnknown); impl IAudioMeterInformation { pub unsafe fn GetPeakValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPeakValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMeteringChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMeteringChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(afpeakvalues.as_ptr())).ok() } pub unsafe fn QueryHardwareSupport(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryHardwareSupport)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -322,7 +322,7 @@ windows_core::imp::define_interface!(IHardwareAudioEngineBase, IHardwareAudioEng impl std::ops::Deref for IHardwareAudioEngineBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHardwareAudioEngineBase, windows_core::IUnknown); @@ -331,7 +331,7 @@ impl IHardwareAudioEngineBase { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableOffloadConnectorCount)(windows_core::Interface::as_raw(self), _pwstrdeviceid.param().abi(), _uconnectorid, &mut result__).map(|| result__) } pub unsafe fn GetEngineFormat(&self, pdevice: P0, _brequestdeviceformat: P1, _ppwfxformat: *mut *mut super::WAVEFORMATEX) -> windows_core::Result<()> @@ -358,7 +358,7 @@ impl IHardwareAudioEngineBase { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGfxState)(windows_core::Interface::as_raw(self), pdevice.param().abi(), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs index a9095c1c9d..622ae25d6b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs @@ -271,8 +271,8 @@ impl IXAudio2EngineCallback_ImplVtbl { impl IXAudio2EngineCallback { pub fn new<'a, T: IXAudio2EngineCallback_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IXAudio2EngineCallback_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IXAudio2Extension_Impl: Sized { @@ -329,8 +329,8 @@ impl IXAudio2MasteringVoice_ImplVtbl { impl IXAudio2MasteringVoice { pub fn new<'a, T: IXAudio2MasteringVoice_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IXAudio2MasteringVoice_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IXAudio2SourceVoice_Impl: Sized + IXAudio2Voice_Impl { @@ -420,8 +420,8 @@ impl IXAudio2SourceVoice_ImplVtbl { impl IXAudio2SourceVoice { pub fn new<'a, T: IXAudio2SourceVoice_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IXAudio2SourceVoice_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IXAudio2SubmixVoice_Impl: Sized + IXAudio2Voice_Impl {} @@ -438,8 +438,8 @@ impl IXAudio2SubmixVoice_ImplVtbl { impl IXAudio2SubmixVoice { pub fn new<'a, T: IXAudio2SubmixVoice_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IXAudio2SubmixVoice_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IXAudio2Voice_Impl: Sized { @@ -591,8 +591,8 @@ impl IXAudio2Voice_ImplVtbl { impl IXAudio2Voice { pub fn new<'a, T: IXAudio2Voice_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IXAudio2Voice_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IXAudio2VoiceCallback_Impl: Sized { @@ -660,7 +660,7 @@ impl IXAudio2VoiceCallback_ImplVtbl { impl IXAudio2VoiceCallback { pub fn new<'a, T: IXAudio2VoiceCallback_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IXAudio2VoiceCallback_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } 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 2a15d9c07b..452e140e1a 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 @@ -1,13 +1,13 @@ #[inline] pub unsafe fn CreateAudioReverb() -> windows_core::Result { windows_targets::link!("xaudio2_8.dll" "system" fn CreateAudioReverb(ppapo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateAudioReverb(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateAudioVolumeMeter() -> windows_core::Result { windows_targets::link!("xaudio2_8.dll" "system" fn CreateAudioVolumeMeter(ppapo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateAudioVolumeMeter(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -18,7 +18,7 @@ pub unsafe fn CreateFX(clsid: *const windows_core::GUID, peffect: *mut Option windows_core::Result { windows_targets::link!("hrtfapo.dll" "system" fn CreateHrtfApo(init : *const HrtfApoInit, xapo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateHrtfApo(init, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -30,13 +30,13 @@ windows_core::imp::define_interface!(IXAPO, IXAPO_Vtbl, 0xa410b984_9839_4819_a0b impl std::ops::Deref for IXAPO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAPO, windows_core::IUnknown); impl IXAPO { pub unsafe fn GetRegistrationProperties(&self) -> windows_core::Result<*mut XAPO_REGISTRATION_PROPERTIES> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegistrationProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsInputFormatSupported(&self, poutputformat: *const super::WAVEFORMATEX, prequestedinputformat: *const super::WAVEFORMATEX, ppsupportedinputformat: Option<*mut *mut super::WAVEFORMATEX>) -> windows_core::Result<()> { @@ -88,7 +88,7 @@ windows_core::imp::define_interface!(IXAPOHrtfParameters, IXAPOHrtfParameters_Vt impl std::ops::Deref for IXAPOHrtfParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAPOHrtfParameters, windows_core::IUnknown); @@ -118,7 +118,7 @@ windows_core::imp::define_interface!(IXAPOParameters, IXAPOParameters_Vtbl, 0x26 impl std::ops::Deref for IXAPOParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAPOParameters, windows_core::IUnknown); @@ -140,7 +140,7 @@ windows_core::imp::define_interface!(IXAudio2, IXAudio2_Vtbl, 0x2b02e3cf_2e0b_4e impl std::ops::Deref for IXAudio2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAudio2, windows_core::IUnknown); @@ -224,7 +224,7 @@ windows_core::imp::define_interface!(IXAudio2Extension, IXAudio2Extension_Vtbl, impl std::ops::Deref for IXAudio2Extension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAudio2Extension, windows_core::IUnknown); @@ -246,13 +246,13 @@ windows_core::imp::define_interface!(IXAudio2MasteringVoice, IXAudio2MasteringVo impl std::ops::Deref for IXAudio2MasteringVoice { type Target = IXAudio2Voice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAudio2MasteringVoice, IXAudio2Voice); impl IXAudio2MasteringVoice { pub unsafe fn GetChannelMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -265,7 +265,7 @@ windows_core::imp::define_interface!(IXAudio2SourceVoice, IXAudio2SourceVoice_Vt impl std::ops::Deref for IXAudio2SourceVoice { type Target = IXAudio2Voice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAudio2SourceVoice, IXAudio2Voice); @@ -295,7 +295,7 @@ impl IXAudio2SourceVoice { (windows_core::Interface::vtable(self).SetFrequencyRatio)(windows_core::Interface::as_raw(self), ratio, operationset).ok() } pub unsafe fn GetFrequencyRatio(&self) -> f32 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrequencyRatio)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -321,7 +321,7 @@ windows_core::imp::define_interface!(IXAudio2SubmixVoice, IXAudio2SubmixVoice_Vt impl std::ops::Deref for IXAudio2SubmixVoice { type Target = IXAudio2Voice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAudio2SubmixVoice, IXAudio2Voice); @@ -333,7 +333,7 @@ pub struct IXAudio2SubmixVoice_Vtbl { windows_core::imp::define_interface!(IXAudio2Voice, IXAudio2Voice_Vtbl); impl IXAudio2Voice { pub unsafe fn GetVoiceDetails(&self) -> XAUDIO2_VOICE_DETAILS { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVoiceDetails)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -350,7 +350,7 @@ impl IXAudio2Voice { (windows_core::Interface::vtable(self).DisableEffect)(windows_core::Interface::as_raw(self), effectindex, operationset).ok() } pub unsafe fn GetEffectState(&self, effectindex: u32) -> super::super::super::Foundation::BOOL { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectState)(windows_core::Interface::as_raw(self), effectindex, &mut result__); result__ } @@ -364,7 +364,7 @@ impl IXAudio2Voice { (windows_core::Interface::vtable(self).SetFilterParameters)(windows_core::Interface::as_raw(self), pparameters, operationset).ok() } pub unsafe fn GetFilterParameters(&self) -> XAUDIO2_FILTER_PARAMETERS { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterParameters)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -378,7 +378,7 @@ impl IXAudio2Voice { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputFilterParameters)(windows_core::Interface::as_raw(self), pdestinationvoice.param().abi(), &mut result__); result__ } @@ -386,7 +386,7 @@ impl IXAudio2Voice { (windows_core::Interface::vtable(self).SetVolume)(windows_core::Interface::as_raw(self), volume, operationset).ok() } pub unsafe fn GetVolume(&self) -> f32 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVolume)(windows_core::Interface::as_raw(self), &mut result__); result__ } @@ -406,7 +406,7 @@ impl IXAudio2Voice { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMatrix)(windows_core::Interface::as_raw(self), pdestinationvoice.param().abi(), sourcechannels, destinationchannels, &mut result__); result__ } @@ -1150,7 +1150,7 @@ impl Default for XAUDIO2_EFFECT_CHAIN { } #[repr(C, packed(1))] pub struct XAUDIO2_EFFECT_DESCRIPTOR { - pub pEffect: std::mem::ManuallyDrop>, + pub pEffect: core::mem::ManuallyDrop>, pub InitialState: super::super::super::Foundation::BOOL, pub OutputChannels: u32, } @@ -1206,7 +1206,7 @@ impl Default for XAUDIO2_PERFORMANCE_DATA { #[repr(C, packed(1))] pub struct XAUDIO2_SEND_DESCRIPTOR { pub Flags: u32, - pub pOutputVoice: std::mem::ManuallyDrop>, + pub pOutputVoice: core::mem::ManuallyDrop>, } impl windows_core::TypeKind for XAUDIO2_SEND_DESCRIPTOR { type TypeKind = windows_core::CopyType; diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs index 6454a40d90..b6898dc5ed 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs @@ -1849,7 +1849,7 @@ impl windows_core::RuntimeName for IMMDevice {} #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IMMDevice_Vtbl { pub const fn new, Impl: IMMDevice_Impl, const OFFSET: isize>() -> IMMDevice_Vtbl { - unsafe extern "system" fn Activate, Impl: IMMDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iid: *const windows_core::GUID, dwclsctx: super::super::System::Com::CLSCTX, pactivationparams: *const std::mem::MaybeUninit, ppinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Activate, Impl: IMMDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iid: *const windows_core::GUID, dwclsctx: super::super::System::Com::CLSCTX, pactivationparams: *const core::mem::MaybeUninit, ppinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMMDevice_Impl::Activate(this, core::mem::transmute_copy(&iid), core::mem::transmute_copy(&dwclsctx), core::mem::transmute_copy(&pactivationparams), core::mem::transmute_copy(&ppinterface)).into() @@ -1899,7 +1899,7 @@ pub trait IMMDeviceActivator_Impl: Sized { impl windows_core::RuntimeName for IMMDeviceActivator {} impl IMMDeviceActivator_Vtbl { pub const fn new, Impl: IMMDeviceActivator_Impl, const OFFSET: isize>() -> IMMDeviceActivator_Vtbl { - unsafe extern "system" fn Activate, Impl: IMMDeviceActivator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iid: *const windows_core::GUID, pdevice: *mut core::ffi::c_void, pactivationparams: *const std::mem::MaybeUninit, ppinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Activate, Impl: IMMDeviceActivator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iid: *const windows_core::GUID, pdevice: *mut core::ffi::c_void, pactivationparams: *const core::mem::MaybeUninit, ppinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMMDeviceActivator_Impl::Activate(this, core::mem::transmute_copy(&iid), windows_core::from_raw_borrowed(&pdevice), core::mem::transmute_copy(&pactivationparams), core::mem::transmute_copy(&ppinterface)).into() @@ -2516,12 +2516,12 @@ impl ISpatialAudioClient_Vtbl { let this = (*this).get_impl(); ISpatialAudioClient_Impl::IsAudioObjectFormatSupported(this, core::mem::transmute_copy(&objectformat)).into() } - unsafe extern "system" fn IsSpatialAudioStreamAvailable, Impl: ISpatialAudioClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, streamuuid: *const windows_core::GUID, auxiliaryinfo: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IsSpatialAudioStreamAvailable, Impl: ISpatialAudioClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, streamuuid: *const windows_core::GUID, auxiliaryinfo: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpatialAudioClient_Impl::IsSpatialAudioStreamAvailable(this, core::mem::transmute_copy(&streamuuid), core::mem::transmute_copy(&auxiliaryinfo)).into() } - unsafe extern "system" fn ActivateSpatialAudioStream, Impl: ISpatialAudioClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, activationparams: *const std::mem::MaybeUninit, riid: *const windows_core::GUID, stream: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ActivateSpatialAudioStream, Impl: ISpatialAudioClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, activationparams: *const core::mem::MaybeUninit, riid: *const windows_core::GUID, stream: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpatialAudioClient_Impl::ActivateSpatialAudioStream(this, core::mem::transmute_copy(&activationparams), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&stream)).into() 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 d7d35fb3a1..e28e558ba6 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -14,8 +14,8 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("mmdevapi.dll" "system" fn ActivateAudioInterfaceAsync(deviceinterfacepath : windows_core::PCWSTR, riid : *const windows_core::GUID, activationparams : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, completionhandler : * mut core::ffi::c_void, activationoperation : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("mmdevapi.dll" "system" fn ActivateAudioInterfaceAsync(deviceinterfacepath : windows_core::PCWSTR, riid : *const windows_core::GUID, activationparams : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, completionhandler : * mut core::ffi::c_void, activationoperation : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); ActivateAudioInterfaceAsync(deviceinterfacepath.param().abi(), riid, core::mem::transmute(activationparams.unwrap_or(std::ptr::null())), completionhandler.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -29,13 +29,13 @@ where #[inline] pub unsafe fn CreateCaptureAudioStateMonitor() -> windows_core::Result { windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitor(audiostatemonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateCaptureAudioStateMonitor(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateCaptureAudioStateMonitorForCategory(category: AUDIO_STREAM_CATEGORY) -> windows_core::Result { windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitorForCategory(category : AUDIO_STREAM_CATEGORY, audiostatemonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateCaptureAudioStateMonitorForCategory(category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -44,25 +44,25 @@ where P0: windows_core::Param, { windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceId(category : AUDIO_STREAM_CATEGORY, deviceid : windows_core::PCWSTR, audiostatemonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateCaptureAudioStateMonitorForCategoryAndDeviceId(category, deviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category: AUDIO_STREAM_CATEGORY, role: ERole) -> windows_core::Result { windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category : AUDIO_STREAM_CATEGORY, role : ERole, audiostatemonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateCaptureAudioStateMonitorForCategoryAndDeviceRole(category, role, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateRenderAudioStateMonitor() -> windows_core::Result { windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitor(audiostatemonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateRenderAudioStateMonitor(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateRenderAudioStateMonitorForCategory(category: AUDIO_STREAM_CATEGORY) -> windows_core::Result { windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitorForCategory(category : AUDIO_STREAM_CATEGORY, audiostatemonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateRenderAudioStateMonitorForCategory(category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -71,13 +71,13 @@ where P0: windows_core::Param, { windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceId(category : AUDIO_STREAM_CATEGORY, deviceid : windows_core::PCWSTR, audiostatemonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateRenderAudioStateMonitorForCategoryAndDeviceId(category, deviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category: AUDIO_STREAM_CATEGORY, role: ERole) -> windows_core::Result { windows_targets::link!("windows.media.mediacontrol.dll" "system" fn CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category : AUDIO_STREAM_CATEGORY, role : ERole, audiostatemonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateRenderAudioStateMonitorForCategoryAndDeviceRole(category, role, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1157,7 +1157,7 @@ windows_core::imp::define_interface!(IAcousticEchoCancellationControl, IAcoustic impl std::ops::Deref for IAcousticEchoCancellationControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAcousticEchoCancellationControl, windows_core::IUnknown); @@ -1178,7 +1178,7 @@ windows_core::imp::define_interface!(IActivateAudioInterfaceAsyncOperation, IAct impl std::ops::Deref for IActivateAudioInterfaceAsyncOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActivateAudioInterfaceAsyncOperation, windows_core::IUnknown); @@ -1196,7 +1196,7 @@ windows_core::imp::define_interface!(IActivateAudioInterfaceCompletionHandler, I impl std::ops::Deref for IActivateAudioInterfaceCompletionHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActivateAudioInterfaceCompletionHandler, windows_core::IUnknown); @@ -1217,7 +1217,7 @@ windows_core::imp::define_interface!(IAudioAmbisonicsControl, IAudioAmbisonicsCo impl std::ops::Deref for IAudioAmbisonicsControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioAmbisonicsControl, windows_core::IUnknown); @@ -1232,7 +1232,7 @@ impl IAudioAmbisonicsControl { (windows_core::Interface::vtable(self).SetHeadTracking)(windows_core::Interface::as_raw(self), benableheadtracking.param().abi()).ok() } pub unsafe fn GetHeadTracking(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHeadTracking)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRotation(&self, x: f32, y: f32, z: f32, w: f32) -> windows_core::Result<()> { @@ -1251,13 +1251,13 @@ windows_core::imp::define_interface!(IAudioAutoGainControl, IAudioAutoGainContro impl std::ops::Deref for IAudioAutoGainControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioAutoGainControl, windows_core::IUnknown); impl IAudioAutoGainControl { pub unsafe fn GetEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, benable: P0, pguideventcontext: Option<*const windows_core::GUID>) -> windows_core::Result<()> @@ -1277,7 +1277,7 @@ windows_core::imp::define_interface!(IAudioBass, IAudioBass_Vtbl, 0xa2b1a1d9_4db impl std::ops::Deref for IAudioBass { type Target = IPerChannelDbLevel; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioBass, windows_core::IUnknown, IPerChannelDbLevel); @@ -1290,7 +1290,7 @@ windows_core::imp::define_interface!(IAudioCaptureClient, IAudioCaptureClient_Vt impl std::ops::Deref for IAudioCaptureClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioCaptureClient, windows_core::IUnknown); @@ -1302,7 +1302,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextPacketSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1317,7 +1317,7 @@ windows_core::imp::define_interface!(IAudioChannelConfig, IAudioChannelConfig_Vt impl std::ops::Deref for IAudioChannelConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioChannelConfig, windows_core::IUnknown); @@ -1326,7 +1326,7 @@ impl IAudioChannelConfig { (windows_core::Interface::vtable(self).SetChannelConfig)(windows_core::Interface::as_raw(self), dwconfig, core::mem::transmute(pguideventcontext.unwrap_or(std::ptr::null()))).ok() } pub unsafe fn GetChannelConfig(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelConfig)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1340,7 +1340,7 @@ windows_core::imp::define_interface!(IAudioClient, IAudioClient_Vtbl, 0x1cb9ad4c impl std::ops::Deref for IAudioClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioClient, windows_core::IUnknown); @@ -1349,22 +1349,22 @@ impl IAudioClient { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), sharemode, streamflags, hnsbufferduration, hnsperiodicity, pformat, core::mem::transmute(audiosessionguid.unwrap_or(std::ptr::null()))).ok() } pub unsafe fn GetBufferSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBufferSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamLatency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamLatency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentPadding(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPadding)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsFormatSupported(&self, sharemode: AUDCLNT_SHAREMODE, pformat: *const WAVEFORMATEX, ppclosestmatch: Option<*mut *mut WAVEFORMATEX>) -> windows_core::HRESULT { (windows_core::Interface::vtable(self).IsFormatSupported)(windows_core::Interface::as_raw(self), sharemode, pformat, core::mem::transmute(ppclosestmatch.unwrap_or(std::ptr::null_mut()))) } pub unsafe fn GetMixFormat(&self) -> windows_core::Result<*mut WAVEFORMATEX> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMixFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDevicePeriod(&self, phnsdefaultdeviceperiod: Option<*mut i64>, phnsminimumdeviceperiod: Option<*mut i64>) -> windows_core::Result<()> { @@ -1413,13 +1413,13 @@ windows_core::imp::define_interface!(IAudioClient2, IAudioClient2_Vtbl, 0x726778 impl std::ops::Deref for IAudioClient2 { type Target = IAudioClient; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioClient2, windows_core::IUnknown, IAudioClient); impl IAudioClient2 { pub unsafe fn IsOffloadCapable(&self, category: AUDIO_STREAM_CATEGORY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOffloadCapable)(windows_core::Interface::as_raw(self), category, &mut result__).map(|| result__) } pub unsafe fn SetClientProperties(&self, pproperties: *const AudioClientProperties) -> windows_core::Result<()> { @@ -1443,7 +1443,7 @@ windows_core::imp::define_interface!(IAudioClient3, IAudioClient3_Vtbl, 0x7ed4ee impl std::ops::Deref for IAudioClient3 { type Target = IAudioClient2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioClient3, windows_core::IUnknown, IAudioClient, IAudioClient2); @@ -1469,7 +1469,7 @@ windows_core::imp::define_interface!(IAudioClientDuckingControl, IAudioClientDuc impl std::ops::Deref for IAudioClientDuckingControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioClientDuckingControl, windows_core::IUnknown); @@ -1487,20 +1487,20 @@ windows_core::imp::define_interface!(IAudioClock, IAudioClock_Vtbl, 0xcd63314f_3 impl std::ops::Deref for IAudioClock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioClock, windows_core::IUnknown); impl IAudioClock { pub unsafe fn GetFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPosition(&self, pu64position: *mut u64, pu64qpcposition: Option<*mut u64>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetPosition)(windows_core::Interface::as_raw(self), pu64position, core::mem::transmute(pu64qpcposition.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCharacteristics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCharacteristics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1515,7 +1515,7 @@ windows_core::imp::define_interface!(IAudioClock2, IAudioClock2_Vtbl, 0x6f49ff73 impl std::ops::Deref for IAudioClock2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioClock2, windows_core::IUnknown); @@ -1533,7 +1533,7 @@ windows_core::imp::define_interface!(IAudioClockAdjustment, IAudioClockAdjustmen impl std::ops::Deref for IAudioClockAdjustment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioClockAdjustment, windows_core::IUnknown); @@ -1551,7 +1551,7 @@ windows_core::imp::define_interface!(IAudioEffectsChangedNotificationClient, IAu impl std::ops::Deref for IAudioEffectsChangedNotificationClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEffectsChangedNotificationClient, windows_core::IUnknown); @@ -1569,7 +1569,7 @@ windows_core::imp::define_interface!(IAudioEffectsManager, IAudioEffectsManager_ impl std::ops::Deref for IAudioEffectsManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEffectsManager, windows_core::IUnknown); @@ -1605,17 +1605,17 @@ windows_core::imp::define_interface!(IAudioFormatEnumerator, IAudioFormatEnumera impl std::ops::Deref for IAudioFormatEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioFormatEnumerator, windows_core::IUnknown); impl IAudioFormatEnumerator { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFormat(&self, index: u32) -> windows_core::Result<*mut WAVEFORMATEX> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormat)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } } @@ -1629,13 +1629,13 @@ windows_core::imp::define_interface!(IAudioInputSelector, IAudioInputSelector_Vt impl std::ops::Deref for IAudioInputSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioInputSelector, windows_core::IUnknown); impl IAudioInputSelector { pub unsafe fn GetSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSelection(&self, nidselect: u32, pguideventcontext: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -1652,13 +1652,13 @@ windows_core::imp::define_interface!(IAudioLoudness, IAudioLoudness_Vtbl, 0x7d8b impl std::ops::Deref for IAudioLoudness { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioLoudness, windows_core::IUnknown); impl IAudioLoudness { pub unsafe fn GetEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, benable: P0, pguideventcontext: Option<*const windows_core::GUID>) -> windows_core::Result<()> @@ -1678,7 +1678,7 @@ windows_core::imp::define_interface!(IAudioMidrange, IAudioMidrange_Vtbl, 0x5e54 impl std::ops::Deref for IAudioMidrange { type Target = IPerChannelDbLevel; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioMidrange, windows_core::IUnknown, IPerChannelDbLevel); @@ -1691,7 +1691,7 @@ windows_core::imp::define_interface!(IAudioMute, IAudioMute_Vtbl, 0xdf45aeea_b74 impl std::ops::Deref for IAudioMute { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioMute, windows_core::IUnknown); @@ -1703,7 +1703,7 @@ impl IAudioMute { (windows_core::Interface::vtable(self).SetMute)(windows_core::Interface::as_raw(self), bmuted.param().abi(), core::mem::transmute(pguideventcontext.unwrap_or(std::ptr::null()))).ok() } pub unsafe fn GetMute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMute)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1717,13 +1717,13 @@ windows_core::imp::define_interface!(IAudioOutputSelector, IAudioOutputSelector_ impl std::ops::Deref for IAudioOutputSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioOutputSelector, windows_core::IUnknown); impl IAudioOutputSelector { pub unsafe fn GetSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSelection(&self, nidselect: u32, pguideventcontext: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -1740,17 +1740,17 @@ windows_core::imp::define_interface!(IAudioPeakMeter, IAudioPeakMeter_Vtbl, 0xdd impl std::ops::Deref for IAudioPeakMeter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioPeakMeter, windows_core::IUnknown); impl IAudioPeakMeter { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLevel(&self, nchannel: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLevel)(windows_core::Interface::as_raw(self), nchannel, &mut result__).map(|| result__) } } @@ -1764,13 +1764,13 @@ windows_core::imp::define_interface!(IAudioRenderClient, IAudioRenderClient_Vtbl impl std::ops::Deref for IAudioRenderClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioRenderClient, windows_core::IUnknown); impl IAudioRenderClient { pub unsafe fn GetBuffer(&self, numframesrequested: u32) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBuffer)(windows_core::Interface::as_raw(self), numframesrequested, &mut result__).map(|| result__) } pub unsafe fn ReleaseBuffer(&self, numframeswritten: u32, dwflags: u32) -> windows_core::Result<()> { @@ -1787,17 +1787,17 @@ windows_core::imp::define_interface!(IAudioSessionControl, IAudioSessionControl_ impl std::ops::Deref for IAudioSessionControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSessionControl, windows_core::IUnknown); impl IAudioSessionControl { pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDisplayName(&self, value: P0, eventcontext: *const windows_core::GUID) -> windows_core::Result<()> @@ -1807,7 +1807,7 @@ impl IAudioSessionControl { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), value.param().abi(), eventcontext).ok() } pub unsafe fn GetIconPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIconPath)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIconPath(&self, value: P0, eventcontext: *const windows_core::GUID) -> windows_core::Result<()> @@ -1817,7 +1817,7 @@ impl IAudioSessionControl { (windows_core::Interface::vtable(self).SetIconPath)(windows_core::Interface::as_raw(self), value.param().abi(), eventcontext).ok() } pub unsafe fn GetGroupingParam(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroupingParam)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGroupingParam(&self, r#override: *const windows_core::GUID, eventcontext: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1853,21 +1853,21 @@ windows_core::imp::define_interface!(IAudioSessionControl2, IAudioSessionControl impl std::ops::Deref for IAudioSessionControl2 { type Target = IAudioSessionControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSessionControl2, windows_core::IUnknown, IAudioSessionControl); impl IAudioSessionControl2 { pub unsafe fn GetSessionIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSessionIdentifier)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSessionInstanceIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSessionInstanceIdentifier)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSystemSoundsSession(&self) -> windows_core::HRESULT { @@ -1893,17 +1893,17 @@ windows_core::imp::define_interface!(IAudioSessionEnumerator, IAudioSessionEnume impl std::ops::Deref for IAudioSessionEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSessionEnumerator, windows_core::IUnknown); impl IAudioSessionEnumerator { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSession(&self, sessioncount: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSession)(windows_core::Interface::as_raw(self), sessioncount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1917,7 +1917,7 @@ windows_core::imp::define_interface!(IAudioSessionEvents, IAudioSessionEvents_Vt impl std::ops::Deref for IAudioSessionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSessionEvents, windows_core::IUnknown); @@ -1968,17 +1968,17 @@ windows_core::imp::define_interface!(IAudioSessionManager, IAudioSessionManager_ impl std::ops::Deref for IAudioSessionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSessionManager, windows_core::IUnknown); impl IAudioSessionManager { pub unsafe fn GetAudioSessionControl(&self, audiosessionguid: Option<*const windows_core::GUID>, streamflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioSessionControl)(windows_core::Interface::as_raw(self), core::mem::transmute(audiosessionguid.unwrap_or(std::ptr::null())), streamflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSimpleAudioVolume(&self, audiosessionguid: Option<*const windows_core::GUID>, streamflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSimpleAudioVolume)(windows_core::Interface::as_raw(self), core::mem::transmute(audiosessionguid.unwrap_or(std::ptr::null())), streamflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1992,13 +1992,13 @@ windows_core::imp::define_interface!(IAudioSessionManager2, IAudioSessionManager impl std::ops::Deref for IAudioSessionManager2 { type Target = IAudioSessionManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSessionManager2, windows_core::IUnknown, IAudioSessionManager); impl IAudioSessionManager2 { pub unsafe fn GetSessionEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSessionEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterSessionNotification(&self, sessionnotification: P0) -> windows_core::Result<()> @@ -2040,7 +2040,7 @@ windows_core::imp::define_interface!(IAudioSessionNotification, IAudioSessionNot impl std::ops::Deref for IAudioSessionNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSessionNotification, windows_core::IUnknown); @@ -2061,13 +2061,13 @@ windows_core::imp::define_interface!(IAudioStateMonitor, IAudioStateMonitor_Vtbl impl std::ops::Deref for IAudioStateMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioStateMonitor, windows_core::IUnknown); impl IAudioStateMonitor { pub unsafe fn RegisterCallback(&self, callback: PAudioStateMonitorCallback, context: Option<*const core::ffi::c_void>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterCallback)(windows_core::Interface::as_raw(self), callback, core::mem::transmute(context.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } pub unsafe fn UnregisterCallback(&self, registration: i64) { @@ -2088,20 +2088,20 @@ windows_core::imp::define_interface!(IAudioStreamVolume, IAudioStreamVolume_Vtbl impl std::ops::Deref for IAudioStreamVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioStreamVolume, windows_core::IUnknown); impl IAudioStreamVolume { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelVolume)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| result__) } pub unsafe fn SetAllVolumes(&self, pfvolumes: &[f32]) -> windows_core::Result<()> { @@ -2124,7 +2124,7 @@ windows_core::imp::define_interface!(IAudioSystemEffectsPropertyChangeNotificati impl std::ops::Deref for IAudioSystemEffectsPropertyChangeNotificationClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSystemEffectsPropertyChangeNotificationClient, windows_core::IUnknown); @@ -2146,24 +2146,24 @@ windows_core::imp::define_interface!(IAudioSystemEffectsPropertyStore, IAudioSys impl std::ops::Deref for IAudioSystemEffectsPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSystemEffectsPropertyStore, windows_core::IUnknown); impl IAudioSystemEffectsPropertyStore { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn OpenDefaultPropertyStore(&self, stgmaccess: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenDefaultPropertyStore)(windows_core::Interface::as_raw(self), stgmaccess, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn OpenUserPropertyStore(&self, stgmaccess: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenUserPropertyStore)(windows_core::Interface::as_raw(self), stgmaccess, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn OpenVolatilePropertyStore(&self, stgmaccess: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenVolatilePropertyStore)(windows_core::Interface::as_raw(self), stgmaccess, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ResetUserPropertyStore(&self) -> windows_core::Result<()> { @@ -2209,7 +2209,7 @@ windows_core::imp::define_interface!(IAudioTreble, IAudioTreble_Vtbl, 0x0a717812 impl std::ops::Deref for IAudioTreble { type Target = IPerChannelDbLevel; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioTreble, windows_core::IUnknown, IPerChannelDbLevel); @@ -2222,7 +2222,7 @@ windows_core::imp::define_interface!(IAudioViewManagerService, IAudioViewManager impl std::ops::Deref for IAudioViewManagerService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioViewManagerService, windows_core::IUnknown); @@ -2243,7 +2243,7 @@ windows_core::imp::define_interface!(IAudioVolumeDuckNotification, IAudioVolumeD impl std::ops::Deref for IAudioVolumeDuckNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioVolumeDuckNotification, windows_core::IUnknown); @@ -2271,7 +2271,7 @@ windows_core::imp::define_interface!(IAudioVolumeLevel, IAudioVolumeLevel_Vtbl, impl std::ops::Deref for IAudioVolumeLevel { type Target = IPerChannelDbLevel; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioVolumeLevel, windows_core::IUnknown, IPerChannelDbLevel); @@ -2284,20 +2284,20 @@ windows_core::imp::define_interface!(IChannelAudioVolume, IChannelAudioVolume_Vt impl std::ops::Deref for IChannelAudioVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IChannelAudioVolume, windows_core::IUnknown); impl IChannelAudioVolume { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, eventcontext).ok() } pub unsafe fn GetChannelVolume(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelVolume)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| result__) } pub unsafe fn SetAllVolumes(&self, pfvolumes: &[f32], eventcontext: *const windows_core::GUID) -> windows_core::Result<()> { @@ -2320,17 +2320,17 @@ windows_core::imp::define_interface!(IConnector, IConnector_Vtbl, 0x9c2c4058_23f impl std::ops::Deref for IConnector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConnector, windows_core::IUnknown); impl IConnector { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataFlow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataFlow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ConnectTo(&self, pconnectto: P0) -> windows_core::Result<()> @@ -2343,19 +2343,19 @@ impl IConnector { (windows_core::Interface::vtable(self).Disconnect)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsConnected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnectedTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectedTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConnectorIdConnectedTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectorIdConnectedTo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceIdConnectedTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceIdConnectedTo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2375,7 +2375,7 @@ windows_core::imp::define_interface!(IControlChangeNotify, IControlChangeNotify_ impl std::ops::Deref for IControlChangeNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IControlChangeNotify, windows_core::IUnknown); @@ -2393,17 +2393,17 @@ windows_core::imp::define_interface!(IControlInterface, IControlInterface_Vtbl, impl std::ops::Deref for IControlInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IControlInterface, windows_core::IUnknown); impl IControlInterface { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2417,13 +2417,13 @@ windows_core::imp::define_interface!(IDeviceSpecificProperty, IDeviceSpecificPro impl std::ops::Deref for IDeviceSpecificProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDeviceSpecificProperty, windows_core::IUnknown); impl IDeviceSpecificProperty { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self, pvvalue: *mut core::ffi::c_void, pcbvalue: *mut u32) -> windows_core::Result<()> { @@ -2448,33 +2448,33 @@ windows_core::imp::define_interface!(IDeviceTopology, IDeviceTopology_Vtbl, 0x2a impl std::ops::Deref for IDeviceTopology { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDeviceTopology, windows_core::IUnknown); impl IDeviceTopology { pub unsafe fn GetConnectorCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectorCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnector(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnector)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSubunitCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubunitCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSubunit(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubunit)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPartById(&self, nid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartById)(windows_core::Interface::as_raw(self), nid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDeviceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSignalPath(&self, pipartfrom: P0, pipartto: P1, brejectmixedpaths: P2) -> windows_core::Result @@ -2483,7 +2483,7 @@ impl IDeviceTopology { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignalPath)(windows_core::Interface::as_raw(self), pipartfrom.param().abi(), pipartto.param().abi(), brejectmixedpaths.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2502,7 +2502,7 @@ windows_core::imp::define_interface!(IMMDevice, IMMDevice_Vtbl, 0xd666063f_1587_ impl std::ops::Deref for IMMDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMMDevice, windows_core::IUnknown); @@ -2517,11 +2517,11 @@ impl IMMDevice { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn OpenPropertyStore(&self, stgmaccess: super::super::System::Com::STGM) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenPropertyStore)(windows_core::Interface::as_raw(self), stgmaccess, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetState(&self, pdwstate: *mut u32) -> DEVICE_STATE { @@ -2532,7 +2532,7 @@ impl IMMDevice { pub struct IMMDevice_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Activate: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, super::super::System::Com::CLSCTX, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Activate: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, super::super::System::Com::CLSCTX, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Activate: usize, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2546,7 +2546,7 @@ windows_core::imp::define_interface!(IMMDeviceActivator, IMMDeviceActivator_Vtbl impl std::ops::Deref for IMMDeviceActivator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMMDeviceActivator, windows_core::IUnknown); @@ -2561,23 +2561,23 @@ impl IMMDeviceActivator { #[repr(C)] pub struct IMMDeviceActivator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Activate: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Activate: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMMDeviceCollection, IMMDeviceCollection_Vtbl, 0x0bd7a1be_7a1a_44db_8397_cc5392387b5e); impl std::ops::Deref for IMMDeviceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMMDeviceCollection, windows_core::IUnknown); impl IMMDeviceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Item(&self, ndevice: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), ndevice, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2591,24 +2591,24 @@ windows_core::imp::define_interface!(IMMDeviceEnumerator, IMMDeviceEnumerator_Vt impl std::ops::Deref for IMMDeviceEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMMDeviceEnumerator, windows_core::IUnknown); impl IMMDeviceEnumerator { pub unsafe fn EnumAudioEndpoints(&self, dataflow: EDataFlow, dwstatemask: DEVICE_STATE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAudioEndpoints)(windows_core::Interface::as_raw(self), dataflow, dwstatemask, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultAudioEndpoint(&self, dataflow: EDataFlow, role: ERole) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultAudioEndpoint)(windows_core::Interface::as_raw(self), dataflow, role, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDevice(&self, pwstrid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), pwstrid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterEndpointNotificationCallback(&self, pclient: P0) -> windows_core::Result<()> @@ -2637,13 +2637,13 @@ windows_core::imp::define_interface!(IMMEndpoint, IMMEndpoint_Vtbl, 0x1be09788_6 impl std::ops::Deref for IMMEndpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMMEndpoint, windows_core::IUnknown); impl IMMEndpoint { pub unsafe fn GetDataFlow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataFlow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2656,7 +2656,7 @@ windows_core::imp::define_interface!(IMMNotificationClient, IMMNotificationClien impl std::ops::Deref for IMMNotificationClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMMNotificationClient, windows_core::IUnknown); @@ -2709,7 +2709,7 @@ windows_core::imp::define_interface!(IMessageFilter, IMessageFilter_Vtbl, 0x0000 impl std::ops::Deref for IMessageFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMessageFilter, windows_core::IUnknown); @@ -2748,49 +2748,49 @@ windows_core::imp::define_interface!(IPart, IPart_Vtbl, 0xae2de0e4_5bca_4f2d_aa4 impl std::ops::Deref for IPart { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPart, windows_core::IUnknown); impl IPart { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocalId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGlobalId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlobalId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPartType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSubType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetControlInterfaceCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetControlInterfaceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetControlInterface(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetControlInterface)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumPartsIncoming(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumPartsIncoming)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumPartsOutgoing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumPartsOutgoing)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTopologyObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTopologyObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Activate(&self, dwclscontext: u32, refiid: *const windows_core::GUID, ppvobject: Option<*mut *mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -2830,17 +2830,17 @@ windows_core::imp::define_interface!(IPartsList, IPartsList_Vtbl, 0x6daa848c_5eb impl std::ops::Deref for IPartsList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPartsList, windows_core::IUnknown); impl IPartsList { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPart(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPart)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2854,20 +2854,20 @@ windows_core::imp::define_interface!(IPerChannelDbLevel, IPerChannelDbLevel_Vtbl impl std::ops::Deref for IPerChannelDbLevel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPerChannelDbLevel, windows_core::IUnknown); impl IPerChannelDbLevel { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, pfminleveldb, pfmaxleveldb, pfstepping).ok() } pub unsafe fn GetLevel(&self, nchannel: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLevel)(windows_core::Interface::as_raw(self), nchannel, &mut result__).map(|| result__) } pub unsafe fn SetLevel(&self, nchannel: u32, fleveldb: f32, pguideventcontext: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -2894,7 +2894,7 @@ windows_core::imp::define_interface!(ISimpleAudioVolume, ISimpleAudioVolume_Vtbl impl std::ops::Deref for ISimpleAudioVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimpleAudioVolume, windows_core::IUnknown); @@ -2903,7 +2903,7 @@ impl ISimpleAudioVolume { (windows_core::Interface::vtable(self).SetMasterVolume)(windows_core::Interface::as_raw(self), flevel, eventcontext).ok() } pub unsafe fn GetMasterVolume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMasterVolume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMute(&self, bmute: P0, eventcontext: *const windows_core::GUID) -> windows_core::Result<()> @@ -2913,7 +2913,7 @@ impl ISimpleAudioVolume { (windows_core::Interface::vtable(self).SetMute)(windows_core::Interface::as_raw(self), bmute.param().abi(), eventcontext).ok() } pub unsafe fn GetMute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMute)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2929,7 +2929,7 @@ windows_core::imp::define_interface!(ISpatialAudioClient, ISpatialAudioClient_Vt impl std::ops::Deref for ISpatialAudioClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioClient, windows_core::IUnknown); @@ -2938,19 +2938,19 @@ impl ISpatialAudioClient { (windows_core::Interface::vtable(self).GetStaticObjectPosition)(windows_core::Interface::as_raw(self), r#type, x, y, z).ok() } pub unsafe fn GetNativeStaticObjectTypeMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNativeStaticObjectTypeMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxDynamicObjectCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxDynamicObjectCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedAudioObjectFormatEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedAudioObjectFormatEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMaxFrameCount(&self, objectformat: *const WAVEFORMATEX) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxFrameCount)(windows_core::Interface::as_raw(self), objectformat, &mut result__).map(|| result__) } pub unsafe fn IsAudioObjectFormatSupported(&self, objectformat: *const WAVEFORMATEX) -> windows_core::Result<()> { @@ -2976,27 +2976,27 @@ pub struct ISpatialAudioClient_Vtbl { pub GetSupportedAudioObjectFormatEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMaxFrameCount: unsafe extern "system" fn(*mut core::ffi::c_void, *const WAVEFORMATEX, *mut u32) -> windows_core::HRESULT, pub IsAudioObjectFormatSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *const WAVEFORMATEX) -> windows_core::HRESULT, - pub IsSpatialAudioStreamAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ActivateSpatialAudioStream: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsSpatialAudioStreamAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActivateSpatialAudioStream: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioClient2, ISpatialAudioClient2_Vtbl, 0xcaabe452_a66a_4bee_a93e_e320463f6a53); impl std::ops::Deref for ISpatialAudioClient2 { type Target = ISpatialAudioClient; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioClient2, windows_core::IUnknown, ISpatialAudioClient); impl ISpatialAudioClient2 { pub unsafe fn IsOffloadCapable(&self, category: AUDIO_STREAM_CATEGORY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOffloadCapable)(windows_core::Interface::as_raw(self), category, &mut result__).map(|| result__) } pub unsafe fn GetMaxFrameCountForCategory(&self, category: AUDIO_STREAM_CATEGORY, offloadenabled: P0, objectformat: *const WAVEFORMATEX) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxFrameCountForCategory)(windows_core::Interface::as_raw(self), category, offloadenabled.param().abi(), objectformat, &mut result__).map(|| result__) } } @@ -3010,7 +3010,7 @@ windows_core::imp::define_interface!(ISpatialAudioMetadataClient, ISpatialAudioM impl std::ops::Deref for ISpatialAudioMetadataClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataClient, windows_core::IUnknown); @@ -3019,19 +3019,19 @@ impl ISpatialAudioMetadataClient { (windows_core::Interface::vtable(self).ActivateSpatialAudioMetadataItems)(windows_core::Interface::as_raw(self), maxitemcount, framecount, core::mem::transmute(metadataitemsbuffer.unwrap_or(std::ptr::null_mut())), core::mem::transmute(metadataitems)).ok() } pub unsafe fn GetSpatialAudioMetadataItemsBufferLength(&self, maxitemcount: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpatialAudioMetadataItemsBufferLength)(windows_core::Interface::as_raw(self), maxitemcount, &mut result__).map(|| result__) } pub unsafe fn ActivateSpatialAudioMetadataWriter(&self, overflowmode: SpatialAudioMetadataWriterOverflowMode) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateSpatialAudioMetadataWriter)(windows_core::Interface::as_raw(self), overflowmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ActivateSpatialAudioMetadataCopier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateSpatialAudioMetadataCopier)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ActivateSpatialAudioMetadataReader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateSpatialAudioMetadataReader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3048,7 +3048,7 @@ windows_core::imp::define_interface!(ISpatialAudioMetadataCopier, ISpatialAudioM impl std::ops::Deref for ISpatialAudioMetadataCopier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataCopier, windows_core::IUnknown); @@ -3063,7 +3063,7 @@ impl ISpatialAudioMetadataCopier { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyMetadataForFrames)(windows_core::Interface::as_raw(self), copyframecount, copymode, dstmetadataitems.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -3081,29 +3081,29 @@ windows_core::imp::define_interface!(ISpatialAudioMetadataItems, ISpatialAudioMe impl std::ops::Deref for ISpatialAudioMetadataItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataItems, windows_core::IUnknown); impl ISpatialAudioMetadataItems { pub unsafe fn GetFrameCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxValueBufferLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxValueBufferLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3120,7 +3120,7 @@ windows_core::imp::define_interface!(ISpatialAudioMetadataItemsBuffer, ISpatialA impl std::ops::Deref for ISpatialAudioMetadataItemsBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataItemsBuffer, windows_core::IUnknown); @@ -3146,7 +3146,7 @@ windows_core::imp::define_interface!(ISpatialAudioMetadataReader, ISpatialAudioM impl std::ops::Deref for ISpatialAudioMetadataReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataReader, windows_core::IUnknown); @@ -3179,7 +3179,7 @@ windows_core::imp::define_interface!(ISpatialAudioMetadataWriter, ISpatialAudioM impl std::ops::Deref for ISpatialAudioMetadataWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataWriter, windows_core::IUnknown); @@ -3212,7 +3212,7 @@ windows_core::imp::define_interface!(ISpatialAudioObject, ISpatialAudioObject_Vt impl std::ops::Deref for ISpatialAudioObject { type Target = ISpatialAudioObjectBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObject, windows_core::IUnknown, ISpatialAudioObjectBase); @@ -3234,7 +3234,7 @@ windows_core::imp::define_interface!(ISpatialAudioObjectBase, ISpatialAudioObjec impl std::ops::Deref for ISpatialAudioObjectBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObjectBase, windows_core::IUnknown); @@ -3246,11 +3246,11 @@ impl ISpatialAudioObjectBase { (windows_core::Interface::vtable(self).SetEndOfStream)(windows_core::Interface::as_raw(self), framecount).ok() } pub unsafe fn IsActive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsActive)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAudioObjectType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioObjectType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3266,7 +3266,7 @@ windows_core::imp::define_interface!(ISpatialAudioObjectForHrtf, ISpatialAudioOb impl std::ops::Deref for ISpatialAudioObjectForHrtf { type Target = ISpatialAudioObjectBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObjectForHrtf, windows_core::IUnknown, ISpatialAudioObjectBase); @@ -3304,7 +3304,7 @@ windows_core::imp::define_interface!(ISpatialAudioObjectForMetadataCommands, ISp impl std::ops::Deref for ISpatialAudioObjectForMetadataCommands { type Target = ISpatialAudioObjectBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObjectForMetadataCommands, windows_core::IUnknown, ISpatialAudioObjectBase); @@ -3322,13 +3322,13 @@ windows_core::imp::define_interface!(ISpatialAudioObjectForMetadataItems, ISpati impl std::ops::Deref for ISpatialAudioObjectForMetadataItems { type Target = ISpatialAudioObjectBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObjectForMetadataItems, windows_core::IUnknown, ISpatialAudioObjectBase); impl ISpatialAudioObjectForMetadataItems { pub unsafe fn GetSpatialAudioMetadataItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpatialAudioMetadataItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3341,13 +3341,13 @@ windows_core::imp::define_interface!(ISpatialAudioObjectRenderStream, ISpatialAu impl std::ops::Deref for ISpatialAudioObjectRenderStream { type Target = ISpatialAudioObjectRenderStreamBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStream, windows_core::IUnknown, ISpatialAudioObjectRenderStreamBase); impl ISpatialAudioObjectRenderStream { pub unsafe fn ActivateSpatialAudioObject(&self, r#type: AudioObjectType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateSpatialAudioObject)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3360,13 +3360,13 @@ windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamBase, ISpati impl std::ops::Deref for ISpatialAudioObjectRenderStreamBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamBase, windows_core::IUnknown); impl ISpatialAudioObjectRenderStreamBase { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableDynamicObjectCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetService(&self) -> windows_core::Result @@ -3407,13 +3407,13 @@ windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamForHrtf, ISp impl std::ops::Deref for ISpatialAudioObjectRenderStreamForHrtf { type Target = ISpatialAudioObjectRenderStreamBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamForHrtf, windows_core::IUnknown, ISpatialAudioObjectRenderStreamBase); impl ISpatialAudioObjectRenderStreamForHrtf { pub unsafe fn ActivateSpatialAudioObjectForHrtf(&self, r#type: AudioObjectType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateSpatialAudioObjectForHrtf)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3426,17 +3426,17 @@ windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamForMetadata, impl std::ops::Deref for ISpatialAudioObjectRenderStreamForMetadata { type Target = ISpatialAudioObjectRenderStreamBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamForMetadata, windows_core::IUnknown, ISpatialAudioObjectRenderStreamBase); impl ISpatialAudioObjectRenderStreamForMetadata { pub unsafe fn ActivateSpatialAudioObjectForMetadataCommands(&self, r#type: AudioObjectType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateSpatialAudioObjectForMetadataCommands)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ActivateSpatialAudioObjectForMetadataItems(&self, r#type: AudioObjectType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateSpatialAudioObjectForMetadataItems)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3450,7 +3450,7 @@ windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamNotify, ISpa impl std::ops::Deref for ISpatialAudioObjectRenderStreamNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamNotify, windows_core::IUnknown); @@ -3471,7 +3471,7 @@ windows_core::imp::define_interface!(ISubunit, ISubunit_Vtbl, 0x82149a85_dba6_44 impl std::ops::Deref for ISubunit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISubunit, windows_core::IUnknown); @@ -5392,9 +5392,9 @@ impl Default for AudioClientProperties { #[derive(Debug, Eq, PartialEq)] pub struct AudioExtensionParams { pub AddPageParam: super::super::Foundation::LPARAM, - pub pEndpoint: std::mem::ManuallyDrop>, - pub pPnpInterface: std::mem::ManuallyDrop>, - pub pPnpDevnode: std::mem::ManuallyDrop>, + pub pEndpoint: core::mem::ManuallyDrop>, + pub pPnpInterface: core::mem::ManuallyDrop>, + pub pPnpDevnode: core::mem::ManuallyDrop>, } impl Clone for AudioExtensionParams { fn clone(&self) -> Self { @@ -6420,7 +6420,7 @@ pub struct SpatialAudioHrtfActivationParams { pub MaxDynamicObjectCount: u32, pub Category: AUDIO_STREAM_CATEGORY, pub EventHandle: super::super::Foundation::HANDLE, - pub NotifyObject: std::mem::ManuallyDrop>, + pub NotifyObject: core::mem::ManuallyDrop>, pub DistanceDecay: *mut SpatialAudioHrtfDistanceDecay, pub Directivity: *mut SpatialAudioHrtfDirectivityUnion, pub Environment: *mut SpatialAudioHrtfEnvironmentType, @@ -6442,7 +6442,7 @@ pub struct SpatialAudioHrtfActivationParams2 { pub MaxDynamicObjectCount: u32, pub Category: AUDIO_STREAM_CATEGORY, pub EventHandle: super::super::Foundation::HANDLE, - pub NotifyObject: std::mem::ManuallyDrop>, + pub NotifyObject: core::mem::ManuallyDrop>, pub DistanceDecay: *mut SpatialAudioHrtfDistanceDecay, pub Directivity: *mut SpatialAudioHrtfDirectivityUnion, pub Environment: *mut SpatialAudioHrtfEnvironmentType, @@ -6556,7 +6556,7 @@ pub struct SpatialAudioObjectRenderStreamActivationParams { pub MaxDynamicObjectCount: u32, pub Category: AUDIO_STREAM_CATEGORY, pub EventHandle: super::super::Foundation::HANDLE, - pub NotifyObject: std::mem::ManuallyDrop>, + pub NotifyObject: core::mem::ManuallyDrop>, } impl windows_core::TypeKind for SpatialAudioObjectRenderStreamActivationParams { type TypeKind = windows_core::CopyType; @@ -6574,7 +6574,7 @@ pub struct SpatialAudioObjectRenderStreamActivationParams2 { pub MaxDynamicObjectCount: u32, pub Category: AUDIO_STREAM_CATEGORY, pub EventHandle: super::super::Foundation::HANDLE, - pub NotifyObject: std::mem::ManuallyDrop>, + pub NotifyObject: core::mem::ManuallyDrop>, pub Options: SPATIAL_AUDIO_STREAM_OPTIONS, } impl windows_core::TypeKind for SpatialAudioObjectRenderStreamActivationParams2 { @@ -6596,7 +6596,7 @@ pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams { pub MetadataFormatId: windows_core::GUID, pub MaxMetadataItemCount: u16, pub MetadataActivationParams: *const windows_core::PROPVARIANT, - pub NotifyObject: std::mem::ManuallyDrop>, + pub NotifyObject: core::mem::ManuallyDrop>, } impl windows_core::TypeKind for SpatialAudioObjectRenderStreamForMetadataActivationParams { type TypeKind = windows_core::CopyType; @@ -6617,7 +6617,7 @@ pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams2 { pub MetadataFormatId: windows_core::GUID, pub MaxMetadataItemCount: u32, pub MetadataActivationParams: *const windows_core::PROPVARIANT, - pub NotifyObject: std::mem::ManuallyDrop>, + pub NotifyObject: core::mem::ManuallyDrop>, pub Options: SPATIAL_AUDIO_STREAM_OPTIONS, } impl windows_core::TypeKind for SpatialAudioObjectRenderStreamForMetadataActivationParams2 { diff --git a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs index f2539c0b90..e6680fbf52 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs @@ -211,7 +211,7 @@ impl windows_core::RuntimeName for IMDSPDevice3 {} #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation", feature = "Win32_System_Ole"))] impl IMDSPDevice3_Vtbl { pub const fn new, Impl: IMDSPDevice3_Impl, const OFFSET: isize>() -> IMDSPDevice3_Vtbl { - unsafe extern "system" fn GetProperty, Impl: IMDSPDevice3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszpropname: windows_core::PCWSTR, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IMDSPDevice3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszpropname: windows_core::PCWSTR, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMDSPDevice3_Impl::GetProperty(this, core::mem::transmute(&pwszpropname)) { @@ -222,7 +222,7 @@ impl IMDSPDevice3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IMDSPDevice3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszpropname: windows_core::PCWSTR, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IMDSPDevice3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszpropname: windows_core::PCWSTR, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMDSPDevice3_Impl::SetProperty(this, core::mem::transmute(&pwszpropname), core::mem::transmute_copy(&pvalue)).into() @@ -1620,7 +1620,7 @@ impl windows_core::RuntimeName for IWMDMDevice3 {} #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation", feature = "Win32_System_Ole"))] impl IWMDMDevice3_Vtbl { pub const fn new, Impl: IWMDMDevice3_Impl, const OFFSET: isize>() -> IWMDMDevice3_Vtbl { - unsafe extern "system" fn GetProperty, Impl: IWMDMDevice3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszpropname: windows_core::PCWSTR, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IWMDMDevice3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszpropname: windows_core::PCWSTR, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMDMDevice3_Impl::GetProperty(this, core::mem::transmute(&pwszpropname)) { @@ -1631,7 +1631,7 @@ impl IWMDMDevice3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IWMDMDevice3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszpropname: windows_core::PCWSTR, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IWMDMDevice3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszpropname: windows_core::PCWSTR, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMDMDevice3_Impl::SetProperty(this, core::mem::transmute(&pwszpropname), core::mem::transmute_copy(&pvalue)).into() 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 7b424e76a4..c30473760e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IComponentAuthenticate, IComponentAuthentic impl std::ops::Deref for IComponentAuthenticate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComponentAuthenticate, windows_core::IUnknown); @@ -24,7 +24,7 @@ windows_core::imp::define_interface!(IMDSPDevice, IMDSPDevice_Vtbl, 0x1dcb3a12_3 impl std::ops::Deref for IMDSPDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPDevice, windows_core::IUnknown); @@ -36,11 +36,11 @@ impl IMDSPDevice { (windows_core::Interface::vtable(self).GetManufacturer)(windows_core::Interface::as_raw(self), core::mem::transmute(pwszname.as_ptr()), pwszname.len().try_into().unwrap()).ok() } pub unsafe fn GetVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSerialNumber(&self, pserialnumber: *mut WMDMID, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -50,15 +50,15 @@ impl IMDSPDevice { (windows_core::Interface::vtable(self).GetPowerSource)(windows_core::Interface::as_raw(self), pdwpowersource, pdwpercentremaining).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceIcon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceIcon)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumStorage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStorage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio")] @@ -91,7 +91,7 @@ windows_core::imp::define_interface!(IMDSPDevice2, IMDSPDevice2_Vtbl, 0x420d16ad impl std::ops::Deref for IMDSPDevice2 { type Target = IMDSPDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPDevice2, windows_core::IUnknown, IMDSPDevice); @@ -100,7 +100,7 @@ impl IMDSPDevice2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStorage)(windows_core::Interface::as_raw(self), pszstoragename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation"))] @@ -133,7 +133,7 @@ windows_core::imp::define_interface!(IMDSPDevice3, IMDSPDevice3_Vtbl, 0x1a839845 impl std::ops::Deref for IMDSPDevice3 { type Target = IMDSPDevice2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPDevice3, windows_core::IUnknown, IMDSPDevice, IMDSPDevice2); @@ -142,7 +142,7 @@ impl IMDSPDevice3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), pwszpropname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, pwszpropname: P0, pvalue: *const windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -152,7 +152,7 @@ impl IMDSPDevice3 { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), pwszpropname.param().abi(), core::mem::transmute(pvalue)).ok() } pub unsafe fn GetFormatCapability(&self, format: WMDM_FORMATCODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormatCapability)(windows_core::Interface::as_raw(self), format, &mut result__).map(|| result__) } pub unsafe fn DeviceIoControl(&self, dwiocontrolcode: u32, lpinbuffer: &[u8], lpoutbuffer: *mut u8, pnoutbuffersize: *mut u32) -> windows_core::Result<()> { @@ -162,15 +162,15 @@ impl IMDSPDevice3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindStorage)(windows_core::Interface::as_raw(self), findscope, pwszuniqueid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMDSPDevice3_Vtbl { pub base__: IMDSPDevice2_Vtbl, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetFormatCapability: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_FORMATCODE, *mut WMDM_FORMAT_CAPABILITY) -> windows_core::HRESULT, pub DeviceIoControl: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub FindStorage: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_FIND_SCOPE, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -179,17 +179,17 @@ windows_core::imp::define_interface!(IMDSPDeviceControl, IMDSPDeviceControl_Vtbl impl std::ops::Deref for IMDSPDeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPDeviceControl, windows_core::IUnknown); impl IMDSPDeviceControl { pub unsafe fn GetDCStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDCStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Play(&self) -> windows_core::Result<()> { @@ -231,7 +231,7 @@ windows_core::imp::define_interface!(IMDSPDirectTransfer, IMDSPDirectTransfer_Vt impl std::ops::Deref for IMDSPDirectTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPDirectTransfer, windows_core::IUnknown); @@ -244,7 +244,7 @@ impl IMDSPDirectTransfer { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransferToDevice)(windows_core::Interface::as_raw(self), pwszsourcefilepath.param().abi(), psourceoperation.param().abi(), fuflags, pwszdestinationname.param().abi(), psourcemetadata.param().abi(), ptransferprogress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -257,7 +257,7 @@ windows_core::imp::define_interface!(IMDSPEnumDevice, IMDSPEnumDevice_Vtbl, 0x1d impl std::ops::Deref for IMDSPEnumDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPEnumDevice, windows_core::IUnknown); @@ -266,14 +266,14 @@ impl IMDSPEnumDevice { (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), ppdevice.len().try_into().unwrap(), core::mem::transmute(ppdevice.as_ptr()), pceltfetched).ok() } pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Skip)(windows_core::Interface::as_raw(self), celt, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -289,7 +289,7 @@ windows_core::imp::define_interface!(IMDSPEnumStorage, IMDSPEnumStorage_Vtbl, 0x impl std::ops::Deref for IMDSPEnumStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPEnumStorage, windows_core::IUnknown); @@ -298,14 +298,14 @@ impl IMDSPEnumStorage { (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), ppstorage.len().try_into().unwrap(), core::mem::transmute(ppstorage.as_ptr()), pceltfetched).ok() } pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Skip)(windows_core::Interface::as_raw(self), celt, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -321,7 +321,7 @@ windows_core::imp::define_interface!(IMDSPObject, IMDSPObject_Vtbl, 0x1dcb3a18_3 impl std::ops::Deref for IMDSPObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPObject, windows_core::IUnknown); @@ -378,7 +378,7 @@ windows_core::imp::define_interface!(IMDSPObject2, IMDSPObject2_Vtbl, 0x3f34cd3e impl std::ops::Deref for IMDSPObject2 { type Target = IMDSPObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPObject2, windows_core::IUnknown, IMDSPObject); @@ -400,35 +400,35 @@ windows_core::imp::define_interface!(IMDSPObjectInfo, IMDSPObjectInfo_Vtbl, 0x1d impl std::ops::Deref for IMDSPObjectInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPObjectInfo, windows_core::IUnknown); impl IMDSPObjectInfo { pub unsafe fn GetPlayLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPlayLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPlayOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTotalLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastPlayPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastPlayPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLongestPlayPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLongestPlayPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -447,7 +447,7 @@ windows_core::imp::define_interface!(IMDSPRevoked, IMDSPRevoked_Vtbl, 0xa4e8f2d4 impl std::ops::Deref for IMDSPRevoked { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPRevoked, windows_core::IUnknown); @@ -465,7 +465,7 @@ windows_core::imp::define_interface!(IMDSPStorage, IMDSPStorage_Vtbl, 0x1dcb3a16 impl std::ops::Deref for IMDSPStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPStorage, windows_core::IUnknown); @@ -475,7 +475,7 @@ impl IMDSPStorage { (windows_core::Interface::vtable(self).SetAttributes)(windows_core::Interface::as_raw(self), dwattributes, core::mem::transmute(pformat.unwrap_or(std::ptr::null()))).ok() } pub unsafe fn GetStorageGlobals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStorageGlobals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio")] @@ -486,7 +486,7 @@ impl IMDSPStorage { (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), core::mem::transmute(pwszname.as_ptr()), pwszname.len().try_into().unwrap()).ok() } pub unsafe fn GetDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> windows_core::Result<()> { @@ -500,11 +500,11 @@ impl IMDSPStorage { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStorage)(windows_core::Interface::as_raw(self), dwattributes, core::mem::transmute(pformat.unwrap_or(std::ptr::null())), pwszname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumStorage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStorage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> windows_core::Result<()> { @@ -538,7 +538,7 @@ windows_core::imp::define_interface!(IMDSPStorage2, IMDSPStorage2_Vtbl, 0x0a5e07 impl std::ops::Deref for IMDSPStorage2 { type Target = IMDSPStorage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPStorage2, windows_core::IUnknown, IMDSPStorage); @@ -547,7 +547,7 @@ impl IMDSPStorage2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStorage)(windows_core::Interface::as_raw(self), pszstoragename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation"))] @@ -555,7 +555,7 @@ impl IMDSPStorage2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStorage2)(windows_core::Interface::as_raw(self), dwattributes, dwattributesex, core::mem::transmute(paudioformat.unwrap_or(std::ptr::null())), core::mem::transmute(pvideoformat.unwrap_or(std::ptr::null())), pwszname.param().abi(), qwfilesize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation"))] @@ -588,7 +588,7 @@ windows_core::imp::define_interface!(IMDSPStorage3, IMDSPStorage3_Vtbl, 0x6c6698 impl std::ops::Deref for IMDSPStorage3 { type Target = IMDSPStorage2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPStorage3, windows_core::IUnknown, IMDSPStorage, IMDSPStorage2); @@ -616,7 +616,7 @@ windows_core::imp::define_interface!(IMDSPStorage4, IMDSPStorage4_Vtbl, 0x3133b2 impl std::ops::Deref for IMDSPStorage4 { type Target = IMDSPStorage3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPStorage4, windows_core::IUnknown, IMDSPStorage, IMDSPStorage2, IMDSPStorage3); @@ -632,7 +632,7 @@ impl IMDSPStorage4 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStorageWithMetadata)(windows_core::Interface::as_raw(self), dwattributes, pwszname.param().abi(), pmetadata.param().abi(), qwfilesize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSpecifiedMetadata(&self, ppwszpropnames: &[windows_core::PCWSTR], pmetadata: P0) -> windows_core::Result<()> @@ -645,11 +645,11 @@ impl IMDSPStorage4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindStorage)(windows_core::Interface::as_raw(self), findscope, pwszuniqueid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -667,13 +667,13 @@ windows_core::imp::define_interface!(IMDSPStorageGlobals, IMDSPStorageGlobals_Vt impl std::ops::Deref for IMDSPStorageGlobals { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDSPStorageGlobals, windows_core::IUnknown); impl IMDSPStorageGlobals { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSerialNumber(&self, pserialnum: *mut WMDMID, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -689,7 +689,7 @@ impl IMDSPStorageGlobals { (windows_core::Interface::vtable(self).GetTotalBad)(windows_core::Interface::as_raw(self), pdwbadlow, pdwbadhigh).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Initialize(&self, fumode: u32, pprogress: P0) -> windows_core::Result<()> @@ -699,11 +699,11 @@ impl IMDSPStorageGlobals { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), fumode, pprogress.param().abi()).ok() } pub unsafe fn GetDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRootStorage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootStorage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -724,17 +724,17 @@ windows_core::imp::define_interface!(IMDServiceProvider, IMDServiceProvider_Vtbl impl std::ops::Deref for IMDServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDServiceProvider, windows_core::IUnknown); impl IMDServiceProvider { pub unsafe fn GetDeviceCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumDevices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDevices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -748,7 +748,7 @@ windows_core::imp::define_interface!(IMDServiceProvider2, IMDServiceProvider2_Vt impl std::ops::Deref for IMDServiceProvider2 { type Target = IMDServiceProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDServiceProvider2, windows_core::IUnknown, IMDServiceProvider); @@ -769,7 +769,7 @@ windows_core::imp::define_interface!(IMDServiceProvider3, IMDServiceProvider3_Vt impl std::ops::Deref for IMDServiceProvider3 { type Target = IMDServiceProvider2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDServiceProvider3, windows_core::IUnknown, IMDServiceProvider, IMDServiceProvider2); @@ -787,13 +787,13 @@ windows_core::imp::define_interface!(ISCPSecureAuthenticate, ISCPSecureAuthentic impl std::ops::Deref for ISCPSecureAuthenticate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCPSecureAuthenticate, windows_core::IUnknown); impl ISCPSecureAuthenticate { pub unsafe fn GetSecureQuery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecureQuery)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -806,13 +806,13 @@ windows_core::imp::define_interface!(ISCPSecureAuthenticate2, ISCPSecureAuthenti impl std::ops::Deref for ISCPSecureAuthenticate2 { type Target = ISCPSecureAuthenticate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCPSecureAuthenticate2, windows_core::IUnknown, ISCPSecureAuthenticate); impl ISCPSecureAuthenticate2 { pub unsafe fn GetSCPSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSCPSession)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -825,7 +825,7 @@ windows_core::imp::define_interface!(ISCPSecureExchange, ISCPSecureExchange_Vtbl impl std::ops::Deref for ISCPSecureExchange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCPSecureExchange, windows_core::IUnknown); @@ -851,7 +851,7 @@ windows_core::imp::define_interface!(ISCPSecureExchange2, ISCPSecureExchange2_Vt impl std::ops::Deref for ISCPSecureExchange2 { type Target = ISCPSecureExchange; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCPSecureExchange2, windows_core::IUnknown, ISCPSecureExchange); @@ -872,7 +872,7 @@ windows_core::imp::define_interface!(ISCPSecureExchange3, ISCPSecureExchange3_Vt impl std::ops::Deref for ISCPSecureExchange3 { type Target = ISCPSecureExchange2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCPSecureExchange3, windows_core::IUnknown, ISCPSecureExchange, ISCPSecureExchange2); @@ -882,7 +882,7 @@ impl ISCPSecureExchange3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransferContainerDataOnClearChannel)(windows_core::Interface::as_raw(self), pdevice.param().abi(), core::mem::transmute(pdata.as_ptr()), pdata.len().try_into().unwrap(), pprogresscallback.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetObjectDataOnClearChannel(&self, pdevice: P0, pdata: *mut u8, pdwsize: *mut u32) -> windows_core::Result<()> @@ -909,7 +909,7 @@ windows_core::imp::define_interface!(ISCPSecureQuery, ISCPSecureQuery_Vtbl, 0x1d impl std::ops::Deref for ISCPSecureQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCPSecureQuery, windows_core::IUnknown); @@ -948,7 +948,7 @@ windows_core::imp::define_interface!(ISCPSecureQuery2, ISCPSecureQuery2_Vtbl, 0x impl std::ops::Deref for ISCPSecureQuery2 { type Target = ISCPSecureQuery; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCPSecureQuery2, windows_core::IUnknown, ISCPSecureQuery); @@ -991,7 +991,7 @@ windows_core::imp::define_interface!(ISCPSecureQuery3, ISCPSecureQuery3_Vtbl, 0x impl std::ops::Deref for ISCPSecureQuery3 { type Target = ISCPSecureQuery2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCPSecureQuery3, windows_core::IUnknown, ISCPSecureQuery, ISCPSecureQuery2); @@ -1043,7 +1043,7 @@ windows_core::imp::define_interface!(ISCPSession, ISCPSession_Vtbl, 0x88a3e6ed_e impl std::ops::Deref for ISCPSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCPSession, windows_core::IUnknown); @@ -1058,7 +1058,7 @@ impl ISCPSession { (windows_core::Interface::vtable(self).EndSession)(windows_core::Interface::as_raw(self), core::mem::transmute(pctx.as_ptr()), pctx.len().try_into().unwrap()).ok() } pub unsafe fn GetSecureQuery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecureQuery)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1073,7 +1073,7 @@ windows_core::imp::define_interface!(IWMDMDevice, IWMDMDevice_Vtbl, 0x1dcb3a02_3 impl std::ops::Deref for IWMDMDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMDevice, windows_core::IUnknown); @@ -1085,11 +1085,11 @@ impl IWMDMDevice { (windows_core::Interface::vtable(self).GetManufacturer)(windows_core::Interface::as_raw(self), core::mem::transmute(pwszname.as_ptr()), pwszname.len().try_into().unwrap()).ok() } pub unsafe fn GetVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSerialNumber(&self, pserialnumber: *mut WMDMID, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -1099,15 +1099,15 @@ impl IWMDMDevice { (windows_core::Interface::vtable(self).GetPowerSource)(windows_core::Interface::as_raw(self), pdwpowersource, pdwpercentremaining).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceIcon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceIcon)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumStorage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStorage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio")] @@ -1140,7 +1140,7 @@ windows_core::imp::define_interface!(IWMDMDevice2, IWMDMDevice2_Vtbl, 0xe34f3d37 impl std::ops::Deref for IWMDMDevice2 { type Target = IWMDMDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMDevice2, windows_core::IUnknown, IWMDMDevice); @@ -1149,7 +1149,7 @@ impl IWMDMDevice2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStorage)(windows_core::Interface::as_raw(self), pszstoragename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation"))] @@ -1182,7 +1182,7 @@ windows_core::imp::define_interface!(IWMDMDevice3, IWMDMDevice3_Vtbl, 0x6c03e4fe impl std::ops::Deref for IWMDMDevice3 { type Target = IWMDMDevice2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMDevice3, windows_core::IUnknown, IWMDMDevice, IWMDMDevice2); @@ -1191,7 +1191,7 @@ impl IWMDMDevice3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), pwszpropname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, pwszpropname: P0, pvalue: *const windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -1201,7 +1201,7 @@ impl IWMDMDevice3 { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), pwszpropname.param().abi(), core::mem::transmute(pvalue)).ok() } pub unsafe fn GetFormatCapability(&self, format: WMDM_FORMATCODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormatCapability)(windows_core::Interface::as_raw(self), format, &mut result__).map(|| result__) } pub unsafe fn DeviceIoControl(&self, dwiocontrolcode: u32, lpinbuffer: &[u8], lpoutbuffer: *mut u8, pnoutbuffersize: *mut u32) -> windows_core::Result<()> { @@ -1211,15 +1211,15 @@ impl IWMDMDevice3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindStorage)(windows_core::Interface::as_raw(self), findscope, pwszuniqueid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IWMDMDevice3_Vtbl { pub base__: IWMDMDevice2_Vtbl, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetFormatCapability: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_FORMATCODE, *mut WMDM_FORMAT_CAPABILITY) -> windows_core::HRESULT, pub DeviceIoControl: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub FindStorage: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_FIND_SCOPE, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1228,17 +1228,17 @@ windows_core::imp::define_interface!(IWMDMDeviceControl, IWMDMDeviceControl_Vtbl impl std::ops::Deref for IWMDMDeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMDeviceControl, windows_core::IUnknown); impl IWMDMDeviceControl { pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Play(&self) -> windows_core::Result<()> { @@ -1280,7 +1280,7 @@ windows_core::imp::define_interface!(IWMDMDeviceSession, IWMDMDeviceSession_Vtbl impl std::ops::Deref for IWMDMDeviceSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMDeviceSession, windows_core::IUnknown); @@ -1302,7 +1302,7 @@ windows_core::imp::define_interface!(IWMDMEnumDevice, IWMDMEnumDevice_Vtbl, 0x1d impl std::ops::Deref for IWMDMEnumDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMEnumDevice, windows_core::IUnknown); @@ -1311,14 +1311,14 @@ impl IWMDMEnumDevice { (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), ppdevice.len().try_into().unwrap(), core::mem::transmute(ppdevice.as_ptr()), pceltfetched).ok() } pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Skip)(windows_core::Interface::as_raw(self), celt, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1334,7 +1334,7 @@ windows_core::imp::define_interface!(IWMDMEnumStorage, IWMDMEnumStorage_Vtbl, 0x impl std::ops::Deref for IWMDMEnumStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMEnumStorage, windows_core::IUnknown); @@ -1343,14 +1343,14 @@ impl IWMDMEnumStorage { (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), ppstorage.len().try_into().unwrap(), core::mem::transmute(ppstorage.as_ptr()), pceltfetched).ok() } pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Skip)(windows_core::Interface::as_raw(self), celt, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1366,13 +1366,13 @@ windows_core::imp::define_interface!(IWMDMLogger, IWMDMLogger_Vtbl, 0x110a3200_5 impl std::ops::Deref for IWMDMLogger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMLogger, windows_core::IUnknown); impl IWMDMLogger { pub unsafe fn IsEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Enable(&self, fenable: P0) -> windows_core::Result<()> @@ -1431,7 +1431,7 @@ windows_core::imp::define_interface!(IWMDMMetaData, IWMDMMetaData_Vtbl, 0xec3b06 impl std::ops::Deref for IWMDMMetaData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMMetaData, windows_core::IUnknown); @@ -1452,7 +1452,7 @@ impl IWMDMMetaData { (windows_core::Interface::vtable(self).QueryByIndex)(windows_core::Interface::as_raw(self), iindex, ppwszname, ptype, ppvalue, pcblength).ok() } pub unsafe fn GetItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1468,7 +1468,7 @@ windows_core::imp::define_interface!(IWMDMNotification, IWMDMNotification_Vtbl, impl std::ops::Deref for IWMDMNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMNotification, windows_core::IUnknown); @@ -1489,35 +1489,35 @@ windows_core::imp::define_interface!(IWMDMObjectInfo, IWMDMObjectInfo_Vtbl, 0x1d impl std::ops::Deref for IWMDMObjectInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMObjectInfo, windows_core::IUnknown); impl IWMDMObjectInfo { pub unsafe fn GetPlayLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPlayLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPlayOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTotalLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastPlayPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastPlayPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLongestPlayPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLongestPlayPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1536,7 +1536,7 @@ windows_core::imp::define_interface!(IWMDMOperation, IWMDMOperation_Vtbl, 0x1dcb impl std::ops::Deref for IWMDMOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMOperation, windows_core::IUnknown); @@ -1601,7 +1601,7 @@ windows_core::imp::define_interface!(IWMDMOperation2, IWMDMOperation2_Vtbl, 0x33 impl std::ops::Deref for IWMDMOperation2 { type Target = IWMDMOperation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMOperation2, windows_core::IUnknown, IWMDMOperation); @@ -1631,7 +1631,7 @@ windows_core::imp::define_interface!(IWMDMOperation3, IWMDMOperation3_Vtbl, 0xd1 impl std::ops::Deref for IWMDMOperation3 { type Target = IWMDMOperation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMOperation3, windows_core::IUnknown, IWMDMOperation); @@ -1649,7 +1649,7 @@ windows_core::imp::define_interface!(IWMDMProgress, IWMDMProgress_Vtbl, 0x1dcb3a impl std::ops::Deref for IWMDMProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMProgress, windows_core::IUnknown); @@ -1675,7 +1675,7 @@ windows_core::imp::define_interface!(IWMDMProgress2, IWMDMProgress2_Vtbl, 0x3a43 impl std::ops::Deref for IWMDMProgress2 { type Target = IWMDMProgress; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMProgress2, windows_core::IUnknown, IWMDMProgress); @@ -1693,7 +1693,7 @@ windows_core::imp::define_interface!(IWMDMProgress3, IWMDMProgress3_Vtbl, 0x21de impl std::ops::Deref for IWMDMProgress3 { type Target = IWMDMProgress2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMProgress3, windows_core::IUnknown, IWMDMProgress, IWMDMProgress2); @@ -1719,7 +1719,7 @@ windows_core::imp::define_interface!(IWMDMRevoked, IWMDMRevoked_Vtbl, 0xebeccedb impl std::ops::Deref for IWMDMRevoked { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMRevoked, windows_core::IUnknown); @@ -1737,7 +1737,7 @@ windows_core::imp::define_interface!(IWMDMStorage, IWMDMStorage_Vtbl, 0x1dcb3a06 impl std::ops::Deref for IWMDMStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMStorage, windows_core::IUnknown); @@ -1747,7 +1747,7 @@ impl IWMDMStorage { (windows_core::Interface::vtable(self).SetAttributes)(windows_core::Interface::as_raw(self), dwattributes, core::mem::transmute(pformat.unwrap_or(std::ptr::null()))).ok() } pub unsafe fn GetStorageGlobals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStorageGlobals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio")] @@ -1758,7 +1758,7 @@ impl IWMDMStorage { (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), core::mem::transmute(pwszname.as_ptr()), pwszname.len().try_into().unwrap()).ok() } pub unsafe fn GetDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSize(&self, pdwsizelow: *mut u32, pdwsizehigh: *mut u32) -> windows_core::Result<()> { @@ -1768,7 +1768,7 @@ impl IWMDMStorage { (windows_core::Interface::vtable(self).GetRights)(windows_core::Interface::as_raw(self), pprights, pnrightscount, core::mem::transmute(abmac.as_ptr())).ok() } pub unsafe fn EnumStorage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStorage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> windows_core::Result<()> { @@ -1798,7 +1798,7 @@ windows_core::imp::define_interface!(IWMDMStorage2, IWMDMStorage2_Vtbl, 0x1ed5a1 impl std::ops::Deref for IWMDMStorage2 { type Target = IWMDMStorage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMStorage2, windows_core::IUnknown, IWMDMStorage); @@ -1807,7 +1807,7 @@ impl IWMDMStorage2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStorage)(windows_core::Interface::as_raw(self), pszstoragename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation"))] @@ -1836,13 +1836,13 @@ windows_core::imp::define_interface!(IWMDMStorage3, IWMDMStorage3_Vtbl, 0x97717e impl std::ops::Deref for IWMDMStorage3 { type Target = IWMDMStorage2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMStorage3, windows_core::IUnknown, IWMDMStorage, IWMDMStorage2); impl IWMDMStorage3 { pub unsafe fn GetMetadata(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadata)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMetadata(&self, pmetadata: P0) -> windows_core::Result<()> @@ -1852,7 +1852,7 @@ impl IWMDMStorage3 { (windows_core::Interface::vtable(self).SetMetadata)(windows_core::Interface::as_raw(self), pmetadata.param().abi()).ok() } pub unsafe fn CreateEmptyMetadataObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEmptyMetadataObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEnumPreference(&self, pmode: *mut WMDM_STORAGE_ENUM_MODE, pviews: Option<&[WMDMMetadataView]>) -> windows_core::Result<()> { @@ -1871,7 +1871,7 @@ windows_core::imp::define_interface!(IWMDMStorage4, IWMDMStorage4_Vtbl, 0xc225ba impl std::ops::Deref for IWMDMStorage4 { type Target = IWMDMStorage3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMStorage4, windows_core::IUnknown, IWMDMStorage, IWMDMStorage2, IWMDMStorage3); @@ -1889,18 +1889,18 @@ impl IWMDMStorage4 { (windows_core::Interface::vtable(self).GetRightsWithProgress)(windows_core::Interface::as_raw(self), piprogresscallback.param().abi(), pprights, pnrightscount).ok() } pub unsafe fn GetSpecifiedMetadata(&self, ppwszpropnames: &[windows_core::PCWSTR]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpecifiedMetadata)(windows_core::Interface::as_raw(self), ppwszpropnames.len().try_into().unwrap(), core::mem::transmute(ppwszpropnames.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindStorage(&self, findscope: WMDM_FIND_SCOPE, pwszuniqueid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindStorage)(windows_core::Interface::as_raw(self), findscope, pwszuniqueid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1918,7 +1918,7 @@ windows_core::imp::define_interface!(IWMDMStorageControl, IWMDMStorageControl_Vt impl std::ops::Deref for IWMDMStorageControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMStorageControl, windows_core::IUnknown); @@ -1929,7 +1929,7 @@ impl IWMDMStorageControl { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Insert)(windows_core::Interface::as_raw(self), fumode, pwszfile.param().abi(), poperation.param().abi(), pprogress.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, fumode: u32, pprogress: P0) -> windows_core::Result<()> @@ -1974,7 +1974,7 @@ windows_core::imp::define_interface!(IWMDMStorageControl2, IWMDMStorageControl2_ impl std::ops::Deref for IWMDMStorageControl2 { type Target = IWMDMStorageControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMStorageControl2, windows_core::IUnknown, IWMDMStorageControl); @@ -1999,7 +1999,7 @@ windows_core::imp::define_interface!(IWMDMStorageControl3, IWMDMStorageControl3_ impl std::ops::Deref for IWMDMStorageControl3 { type Target = IWMDMStorageControl2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMStorageControl3, windows_core::IUnknown, IWMDMStorageControl, IWMDMStorageControl2); @@ -2025,13 +2025,13 @@ windows_core::imp::define_interface!(IWMDMStorageGlobals, IWMDMStorageGlobals_Vt impl std::ops::Deref for IWMDMStorageGlobals { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDMStorageGlobals, windows_core::IUnknown); impl IWMDMStorageGlobals { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSerialNumber(&self, pserialnum: *mut WMDMID, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -2047,7 +2047,7 @@ impl IWMDMStorageGlobals { (windows_core::Interface::vtable(self).GetTotalBad)(windows_core::Interface::as_raw(self), pdwbadlow, pdwbadhigh).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Initialize(&self, fumode: u32, pprogress: P0) -> windows_core::Result<()> @@ -2072,21 +2072,21 @@ windows_core::imp::define_interface!(IWMDeviceManager, IWMDeviceManager_Vtbl, 0x impl std::ops::Deref for IWMDeviceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDeviceManager, windows_core::IUnknown); impl IWMDeviceManager { pub unsafe fn GetRevision(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRevision)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumDevices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDevices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2101,7 +2101,7 @@ windows_core::imp::define_interface!(IWMDeviceManager2, IWMDeviceManager2_Vtbl, impl std::ops::Deref for IWMDeviceManager2 { type Target = IWMDeviceManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDeviceManager2, windows_core::IUnknown, IWMDeviceManager); @@ -2110,11 +2110,11 @@ impl IWMDeviceManager2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceFromCanonicalName)(windows_core::Interface::as_raw(self), pwszcanonicalname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumDevices2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDevices2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reinitialize(&self) -> windows_core::Result<()> { @@ -2132,7 +2132,7 @@ windows_core::imp::define_interface!(IWMDeviceManager3, IWMDeviceManager3_Vtbl, impl std::ops::Deref for IWMDeviceManager3 { type Target = IWMDeviceManager2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDeviceManager3, windows_core::IUnknown, IWMDeviceManager, IWMDeviceManager2); @@ -2905,7 +2905,7 @@ impl Default for WMDM_PROP_DESC { } #[repr(C)] pub union WMDM_PROP_DESC_0 { - pub ValidValuesRange: std::mem::ManuallyDrop, + pub ValidValuesRange: core::mem::ManuallyDrop, pub EnumeratedValidValues: WMDM_PROP_VALUES_ENUM, } impl Clone for WMDM_PROP_DESC_0 { @@ -2938,9 +2938,9 @@ impl Default for WMDM_PROP_VALUES_ENUM { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct WMDM_PROP_VALUES_RANGE { - pub rangeMin: std::mem::ManuallyDrop, - pub rangeMax: std::mem::ManuallyDrop, - pub rangeStep: std::mem::ManuallyDrop, + pub rangeMin: core::mem::ManuallyDrop, + pub rangeMax: core::mem::ManuallyDrop, + pub rangeStep: core::mem::ManuallyDrop, } impl Clone for WMDM_PROP_VALUES_RANGE { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs index b159284628..b68438d64b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs @@ -2067,7 +2067,7 @@ impl windows_core::RuntimeName for IChannelIDTuneRequest {} #[cfg(feature = "Win32_System_Com")] impl IChannelIDTuneRequest_Vtbl { pub const fn new, Impl: IChannelIDTuneRequest_Impl, const OFFSET: isize>() -> IChannelIDTuneRequest_Vtbl { - unsafe extern "system" fn ChannelID, Impl: IChannelIDTuneRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, channelid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChannelID, Impl: IChannelIDTuneRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, channelid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IChannelIDTuneRequest_Impl::ChannelID(this) { @@ -2078,7 +2078,7 @@ impl IChannelIDTuneRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetChannelID, Impl: IChannelIDTuneRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, channelid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetChannelID, Impl: IChannelIDTuneRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, channelid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelIDTuneRequest_Impl::SetChannelID(this, core::mem::transmute(&channelid)).into() @@ -2194,7 +2194,7 @@ impl IComponent_Vtbl { let this = (*this).get_impl(); IComponent_Impl::SetStatus(this, core::mem::transmute_copy(&status)).into() } - unsafe extern "system" fn Description, Impl: IComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponent_Impl::Description(this) { @@ -2205,7 +2205,7 @@ impl IComponent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponent_Impl::SetDescription(this, core::mem::transmute(&description)).into() @@ -2279,7 +2279,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); IComponentType_Impl::SetCategory(this, core::mem::transmute_copy(&category)).into() } - unsafe extern "system" fn MediaMajorType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediamajortype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MediaMajorType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediamajortype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponentType_Impl::MediaMajorType(this) { @@ -2290,7 +2290,7 @@ impl IComponentType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMediaMajorType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediamajortype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMediaMajorType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediamajortype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentType_Impl::SetMediaMajorType(this, core::mem::transmute(&mediamajortype)).into() @@ -2311,7 +2311,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); IComponentType_Impl::Set_MediaMajorType(this, core::mem::transmute_copy(&mediamajortypeguid)).into() } - unsafe extern "system" fn MediaSubType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediasubtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MediaSubType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediasubtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponentType_Impl::MediaSubType(this) { @@ -2322,7 +2322,7 @@ impl IComponentType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMediaSubType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediasubtype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMediaSubType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediasubtype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentType_Impl::SetMediaSubType(this, core::mem::transmute(&mediasubtype)).into() @@ -2343,7 +2343,7 @@ impl IComponentType_Vtbl { let this = (*this).get_impl(); IComponentType_Impl::Set_MediaSubType(this, core::mem::transmute_copy(&mediasubtypeguid)).into() } - unsafe extern "system" fn MediaFormatType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediaformattype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MediaFormatType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediaformattype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponentType_Impl::MediaFormatType(this) { @@ -2354,7 +2354,7 @@ impl IComponentType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMediaFormatType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediaformattype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMediaFormatType, Impl: IComponentType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mediaformattype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentType_Impl::SetMediaFormatType(this, core::mem::transmute(&mediaformattype)).into() @@ -2476,7 +2476,7 @@ impl IComponentTypes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IComponentTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, componenttype: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IComponentTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, componenttype: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponentTypes_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -2487,12 +2487,12 @@ impl IComponentTypes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Item, Impl: IComponentTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, componenttype: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn put_Item, Impl: IComponentTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, componenttype: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentTypes_Impl::put_Item(this, core::mem::transmute(&index), windows_core::from_raw_borrowed(&componenttype)).into() } - unsafe extern "system" fn Add, Impl: IComponentTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, componenttype: *mut core::ffi::c_void, newindex: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IComponentTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, componenttype: *mut core::ffi::c_void, newindex: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponentTypes_Impl::Add(this, windows_core::from_raw_borrowed(&componenttype)) { @@ -2503,7 +2503,7 @@ impl IComponentTypes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IComponentTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IComponentTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentTypes_Impl::Remove(this, core::mem::transmute(&index)).into() @@ -2584,7 +2584,7 @@ impl IComponents_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IComponents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppcomponent: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IComponents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppcomponent: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponents_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -2595,7 +2595,7 @@ impl IComponents_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IComponents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, component: *mut core::ffi::c_void, newindex: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IComponents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, component: *mut core::ffi::c_void, newindex: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponents_Impl::Add(this, windows_core::from_raw_borrowed(&component)) { @@ -2606,7 +2606,7 @@ impl IComponents_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IComponents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IComponents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponents_Impl::Remove(this, core::mem::transmute(&index)).into() @@ -2622,7 +2622,7 @@ impl IComponents_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Item, Impl: IComponents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppcomponent: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn put_Item, Impl: IComponents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppcomponent: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponents_Impl::put_Item(this, core::mem::transmute(&index), windows_core::from_raw_borrowed(&ppcomponent)).into() @@ -2691,7 +2691,7 @@ impl IComponentsOld_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IComponentsOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppcomponent: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IComponentsOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppcomponent: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponentsOld_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -2702,7 +2702,7 @@ impl IComponentsOld_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IComponentsOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, component: *mut core::ffi::c_void, newindex: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IComponentsOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, component: *mut core::ffi::c_void, newindex: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComponentsOld_Impl::Add(this, windows_core::from_raw_borrowed(&component)) { @@ -2713,7 +2713,7 @@ impl IComponentsOld_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IComponentsOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IComponentsOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentsOld_Impl::Remove(this, core::mem::transmute(&index)).into() @@ -2865,7 +2865,7 @@ pub trait IDTFilter2_Impl: Sized + IDTFilter_Impl { impl windows_core::RuntimeName for IDTFilter2 {} impl IDTFilter2_Vtbl { pub const fn new, Impl: IDTFilter2_Impl, const OFFSET: isize>() -> IDTFilter2_Vtbl { - unsafe extern "system" fn ChallengeUrl, Impl: IDTFilter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrchallengeurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChallengeUrl, Impl: IDTFilter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrchallengeurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDTFilter2_Impl::ChallengeUrl(this) { @@ -2933,7 +2933,7 @@ impl IDTFilter3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRights, Impl: IDTFilter3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrights: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRights, Impl: IDTFilter3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrights: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDTFilter3_Impl::SetRights(this, core::mem::transmute(&bstrrights)).into() @@ -3353,7 +3353,7 @@ impl IDVBSTuningSpace_Vtbl { let this = (*this).get_impl(); IDVBSTuningSpace_Impl::SetLNBSwitch(this, core::mem::transmute_copy(&lnbswitch)).into() } - unsafe extern "system" fn InputRange, Impl: IDVBSTuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, inputrange: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InputRange, Impl: IDVBSTuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, inputrange: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDVBSTuningSpace_Impl::InputRange(this) { @@ -3364,7 +3364,7 @@ impl IDVBSTuningSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInputRange, Impl: IDVBSTuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, inputrange: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInputRange, Impl: IDVBSTuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, inputrange: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDVBSTuningSpace_Impl::SetInputRange(this, core::mem::transmute(&inputrange)).into() @@ -5428,7 +5428,7 @@ impl IDvbComponentDescriptor_Vtbl { let this = (*this).get_impl(); IDvbComponentDescriptor_Impl::GetLanguageCode(this, core::mem::transmute_copy(&pszcode)).into() } - unsafe extern "system" fn GetTextW, Impl: IDvbComponentDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTextW, Impl: IDvbComponentDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbComponentDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { @@ -5878,17 +5878,17 @@ impl IDvbExtendedEventDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRecordItemW, Impl: IDvbExtendedEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, brecordindex: u8, convmode: DVB_STRCONV_MODE, pbstrdesc: *mut std::mem::MaybeUninit, pbstritem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRecordItemW, Impl: IDvbExtendedEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, brecordindex: u8, convmode: DVB_STRCONV_MODE, pbstrdesc: *mut core::mem::MaybeUninit, pbstritem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDvbExtendedEventDescriptor_Impl::GetRecordItemW(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&convmode), core::mem::transmute_copy(&pbstrdesc), core::mem::transmute_copy(&pbstritem)).into() } - unsafe extern "system" fn GetConcatenatedItemW, Impl: IDvbExtendedEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfollowingdescriptor: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrdesc: *mut std::mem::MaybeUninit, pbstritem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetConcatenatedItemW, Impl: IDvbExtendedEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfollowingdescriptor: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrdesc: *mut core::mem::MaybeUninit, pbstritem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDvbExtendedEventDescriptor_Impl::GetConcatenatedItemW(this, windows_core::from_raw_borrowed(&pfollowingdescriptor), core::mem::transmute_copy(&convmode), core::mem::transmute_copy(&pbstrdesc), core::mem::transmute_copy(&pbstritem)).into() } - unsafe extern "system" fn GetTextW, Impl: IDvbExtendedEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTextW, Impl: IDvbExtendedEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbExtendedEventDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { @@ -5899,7 +5899,7 @@ impl IDvbExtendedEventDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetConcatenatedTextW, Impl: IDvbExtendedEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, followingdescriptor: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetConcatenatedTextW, Impl: IDvbExtendedEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, followingdescriptor: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbExtendedEventDescriptor_Impl::GetConcatenatedTextW(this, windows_core::from_raw_borrowed(&followingdescriptor), core::mem::transmute_copy(&convmode)) { @@ -6168,7 +6168,7 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetListNameW, Impl: IDvbLogicalChannel2Descriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, blistindex: u8, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetListNameW, Impl: IDvbLogicalChannel2Descriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, blistindex: u8, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbLogicalChannel2Descriptor_Impl::GetListNameW(this, core::mem::transmute_copy(&blistindex), core::mem::transmute_copy(&convmode)) { @@ -6403,7 +6403,7 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRecordServiceProviderNameW, Impl: IDvbMultilingualServiceNameDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, brecordindex: u8, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRecordServiceProviderNameW, Impl: IDvbMultilingualServiceNameDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, brecordindex: u8, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbMultilingualServiceNameDescriptor_Impl::GetRecordServiceProviderNameW(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&convmode)) { @@ -6414,7 +6414,7 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRecordServiceNameW, Impl: IDvbMultilingualServiceNameDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, brecordindex: u8, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRecordServiceNameW, Impl: IDvbMultilingualServiceNameDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, brecordindex: u8, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbMultilingualServiceNameDescriptor_Impl::GetRecordServiceNameW(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&convmode)) { @@ -6481,7 +6481,7 @@ impl IDvbNetworkNameDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetNetworkNameW, Impl: IDvbNetworkNameDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetNetworkNameW, Impl: IDvbNetworkNameDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbNetworkNameDescriptor_Impl::GetNetworkNameW(this, core::mem::transmute_copy(&convmode)) { @@ -6893,7 +6893,7 @@ impl IDvbServiceDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetServiceProviderNameW, Impl: IDvbServiceDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetServiceProviderNameW, Impl: IDvbServiceDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetServiceProviderNameW(this) { @@ -6915,7 +6915,7 @@ impl IDvbServiceDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProcessedServiceName, Impl: IDvbServiceDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProcessedServiceName, Impl: IDvbServiceDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetProcessedServiceName(this) { @@ -6926,7 +6926,7 @@ impl IDvbServiceDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetServiceNameEmphasized, Impl: IDvbServiceDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetServiceNameEmphasized, Impl: IDvbServiceDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbServiceDescriptor_Impl::GetServiceNameEmphasized(this) { @@ -6960,7 +6960,7 @@ pub trait IDvbServiceDescriptor2_Impl: Sized + IDvbServiceDescriptor_Impl { impl windows_core::RuntimeName for IDvbServiceDescriptor2 {} impl IDvbServiceDescriptor2_Vtbl { pub const fn new, Impl: IDvbServiceDescriptor2_Impl, const OFFSET: isize>() -> IDvbServiceDescriptor2_Vtbl { - unsafe extern "system" fn GetServiceProviderNameW, Impl: IDvbServiceDescriptor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetServiceProviderNameW, Impl: IDvbServiceDescriptor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbServiceDescriptor2_Impl::GetServiceProviderNameW(this, core::mem::transmute_copy(&convmode)) { @@ -6971,7 +6971,7 @@ impl IDvbServiceDescriptor2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetServiceNameW, Impl: IDvbServiceDescriptor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetServiceNameW, Impl: IDvbServiceDescriptor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbServiceDescriptor2_Impl::GetServiceNameW(this, core::mem::transmute_copy(&convmode)) { @@ -7107,7 +7107,7 @@ impl IDvbShortEventDescriptor_Vtbl { let this = (*this).get_impl(); IDvbShortEventDescriptor_Impl::GetLanguageCode(this, core::mem::transmute_copy(&pszcode)).into() } - unsafe extern "system" fn GetEventNameW, Impl: IDvbShortEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEventNameW, Impl: IDvbShortEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbShortEventDescriptor_Impl::GetEventNameW(this, core::mem::transmute_copy(&convmode)) { @@ -7118,7 +7118,7 @@ impl IDvbShortEventDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetTextW, Impl: IDvbShortEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTextW, Impl: IDvbShortEventDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDvbShortEventDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { @@ -7945,7 +7945,7 @@ pub trait IESEventFactory_Impl: Sized { impl windows_core::RuntimeName for IESEventFactory {} impl IESEventFactory_Vtbl { pub const fn new, Impl: IESEventFactory_Impl, const OFFSET: isize>() -> IESEventFactory_Vtbl { - unsafe extern "system" fn CreateESEvent, Impl: IESEventFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pserviceprovider: *mut core::ffi::c_void, dweventid: u32, guideventtype: windows_core::GUID, dweventdatalength: u32, peventdata: *const u8, bstrbaseurl: std::mem::MaybeUninit, pinitcontext: *mut core::ffi::c_void, ppesevent: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateESEvent, Impl: IESEventFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pserviceprovider: *mut core::ffi::c_void, dweventid: u32, guideventtype: windows_core::GUID, dweventdatalength: u32, peventdata: *const u8, bstrbaseurl: core::mem::MaybeUninit, pinitcontext: *mut core::ffi::c_void, ppesevent: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IESEventFactory_Impl::CreateESEvent(this, windows_core::from_raw_borrowed(&pserviceprovider), core::mem::transmute_copy(&dweventid), core::mem::transmute(&guideventtype), core::mem::transmute_copy(&dweventdatalength), core::mem::transmute_copy(&peventdata), core::mem::transmute(&bstrbaseurl), windows_core::from_raw_borrowed(&pinitcontext)) { @@ -8226,7 +8226,7 @@ impl IESLicenseRenewalResultEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileName, Impl: IESLicenseRenewalResultEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileName, Impl: IESLicenseRenewalResultEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IESLicenseRenewalResultEvent_Impl::GetFileName(this) { @@ -8400,7 +8400,7 @@ impl IESOpenMmiEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDialogStringData, Impl: IESOpenMmiEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbaseurl: *mut std::mem::MaybeUninit, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDialogStringData, Impl: IESOpenMmiEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbaseurl: *mut core::mem::MaybeUninit, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IESOpenMmiEvent_Impl::GetDialogStringData(this, core::mem::transmute_copy(&pbstrbaseurl)) { @@ -9135,7 +9135,7 @@ pub trait IGpnvsCommonBase_Impl: Sized { impl windows_core::RuntimeName for IGpnvsCommonBase {} impl IGpnvsCommonBase_Vtbl { pub const fn new, Impl: IGpnvsCommonBase_Impl, const OFFSET: isize>() -> IGpnvsCommonBase_Vtbl { - unsafe extern "system" fn GetValueUpdateName, Impl: IGpnvsCommonBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValueUpdateName, Impl: IGpnvsCommonBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGpnvsCommonBase_Impl::GetValueUpdateName(this) { @@ -9199,7 +9199,7 @@ impl IGuideData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProgramProperties, Impl: IGuideData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varprogramdescriptionid: std::mem::MaybeUninit, ppenumproperties: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetProgramProperties, Impl: IGuideData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varprogramdescriptionid: core::mem::MaybeUninit, ppenumproperties: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGuideData_Impl::GetProgramProperties(this, core::mem::transmute(&varprogramdescriptionid)) { @@ -9221,7 +9221,7 @@ impl IGuideData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetScheduleEntryProperties, Impl: IGuideData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varscheduleentrydescriptionid: std::mem::MaybeUninit, ppenumproperties: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetScheduleEntryProperties, Impl: IGuideData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varscheduleentrydescriptionid: core::mem::MaybeUninit, ppenumproperties: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGuideData_Impl::GetScheduleEntryProperties(this, core::mem::transmute(&varscheduleentrydescriptionid)) { @@ -9263,32 +9263,32 @@ impl IGuideDataEvent_Vtbl { let this = (*this).get_impl(); IGuideDataEvent_Impl::GuideDataAcquired(this).into() } - unsafe extern "system" fn ProgramChanged, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varprogramdescriptionid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProgramChanged, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varprogramdescriptionid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGuideDataEvent_Impl::ProgramChanged(this, core::mem::transmute(&varprogramdescriptionid)).into() } - unsafe extern "system" fn ServiceChanged, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varservicedescriptionid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceChanged, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varservicedescriptionid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGuideDataEvent_Impl::ServiceChanged(this, core::mem::transmute(&varservicedescriptionid)).into() } - unsafe extern "system" fn ScheduleEntryChanged, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varscheduleentrydescriptionid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ScheduleEntryChanged, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varscheduleentrydescriptionid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGuideDataEvent_Impl::ScheduleEntryChanged(this, core::mem::transmute(&varscheduleentrydescriptionid)).into() } - unsafe extern "system" fn ProgramDeleted, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varprogramdescriptionid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProgramDeleted, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varprogramdescriptionid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGuideDataEvent_Impl::ProgramDeleted(this, core::mem::transmute(&varprogramdescriptionid)).into() } - unsafe extern "system" fn ServiceDeleted, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varservicedescriptionid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceDeleted, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varservicedescriptionid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGuideDataEvent_Impl::ServiceDeleted(this, core::mem::transmute(&varservicedescriptionid)).into() } - unsafe extern "system" fn ScheduleDeleted, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varscheduleentrydescriptionid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ScheduleDeleted, Impl: IGuideDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varscheduleentrydescriptionid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGuideDataEvent_Impl::ScheduleDeleted(this, core::mem::transmute(&varscheduleentrydescriptionid)).into() @@ -9343,7 +9343,7 @@ pub trait IGuideDataProperty_Impl: Sized { impl windows_core::RuntimeName for IGuideDataProperty {} impl IGuideDataProperty_Vtbl { pub const fn new, Impl: IGuideDataProperty_Impl, const OFFSET: isize>() -> IGuideDataProperty_Vtbl { - unsafe extern "system" fn Name, Impl: IGuideDataProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IGuideDataProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGuideDataProperty_Impl::Name(this) { @@ -9365,7 +9365,7 @@ impl IGuideDataProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: IGuideDataProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IGuideDataProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGuideDataProperty_Impl::Value(this) { @@ -10575,7 +10575,7 @@ impl IIsdbAudioComponentDescriptor_Vtbl { let this = (*this).get_impl(); IIsdbAudioComponentDescriptor_Impl::GetLanguageCode2(this, core::mem::transmute_copy(&pszcode)).into() } - unsafe extern "system" fn GetTextW, Impl: IIsdbAudioComponentDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTextW, Impl: IIsdbAudioComponentDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIsdbAudioComponentDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { @@ -10710,7 +10710,7 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFeeNameW, Impl: IIsdbCAContractInformationDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFeeNameW, Impl: IIsdbCAContractInformationDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIsdbCAContractInformationDescriptor_Impl::GetFeeNameW(this, core::mem::transmute_copy(&convmode)) { @@ -11034,7 +11034,7 @@ impl IIsdbComponentGroupDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRecordTextW, Impl: IIsdbComponentGroupDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, brecordindex: u8, convmode: DVB_STRCONV_MODE, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRecordTextW, Impl: IIsdbComponentGroupDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, brecordindex: u8, convmode: DVB_STRCONV_MODE, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIsdbComponentGroupDescriptor_Impl::GetRecordTextW(this, core::mem::transmute_copy(&brecordindex), core::mem::transmute_copy(&convmode)) { @@ -11172,7 +11172,7 @@ impl IIsdbDataContentDescriptor_Vtbl { let this = (*this).get_impl(); IIsdbDataContentDescriptor_Impl::GetLanguageCode(this, core::mem::transmute_copy(&pszcode)).into() } - unsafe extern "system" fn GetTextW, Impl: IIsdbDataContentDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTextW, Impl: IIsdbDataContentDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIsdbDataContentDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { @@ -11453,7 +11453,7 @@ impl IIsdbDownloadContentDescriptor_Vtbl { let this = (*this).get_impl(); IIsdbDownloadContentDescriptor_Impl::GetTextLanguageCode(this, core::mem::transmute_copy(&szcode)).into() } - unsafe extern "system" fn GetTextW, Impl: IIsdbDownloadContentDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTextW, Impl: IIsdbDownloadContentDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIsdbDownloadContentDescriptor_Impl::GetTextW(this, core::mem::transmute_copy(&convmode)) { @@ -11848,7 +11848,7 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLogoCharW, Impl: IIsdbLogoTransmissionDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrchar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLogoCharW, Impl: IIsdbLogoTransmissionDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrchar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIsdbLogoTransmissionDescriptor_Impl::GetLogoCharW(this, core::mem::transmute_copy(&convmode)) { @@ -12081,7 +12081,7 @@ impl IIsdbSeriesDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSeriesNameW, Impl: IIsdbSeriesDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSeriesNameW, Impl: IIsdbSeriesDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIsdbSeriesDescriptor_Impl::GetSeriesNameW(this, core::mem::transmute_copy(&convmode)) { @@ -12259,7 +12259,7 @@ impl IIsdbTSInformationDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetTSNameW, Impl: IIsdbTSInformationDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTSNameW, Impl: IIsdbTSInformationDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, convmode: DVB_STRCONV_MODE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIsdbTSInformationDescriptor_Impl::GetTSNameW(this, core::mem::transmute_copy(&convmode)) { @@ -12917,7 +12917,7 @@ impl windows_core::RuntimeName for IMSEventBinder {} #[cfg(feature = "Win32_System_Com")] impl IMSEventBinder_Vtbl { pub const fn new, Impl: IMSEventBinder_Impl, const OFFSET: isize>() -> IMSEventBinder_Vtbl { - unsafe extern "system" fn Bind, Impl: IMSEventBinder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peventobject: *mut core::ffi::c_void, eventname: std::mem::MaybeUninit, eventhandler: std::mem::MaybeUninit, cancelid: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Bind, Impl: IMSEventBinder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peventobject: *mut core::ffi::c_void, eventname: core::mem::MaybeUninit, eventhandler: core::mem::MaybeUninit, cancelid: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSEventBinder_Impl::Bind(this, windows_core::from_raw_borrowed(&peventobject), core::mem::transmute(&eventname), core::mem::transmute(&eventhandler)) { @@ -13217,7 +13217,7 @@ impl IMSVidAudioRendererDevices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IMSVidAudioRendererDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IMSVidAudioRendererDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidAudioRendererDevices_Impl::get_Item(this, core::mem::transmute(&v)) { @@ -13233,7 +13233,7 @@ impl IMSVidAudioRendererDevices_Vtbl { let this = (*this).get_impl(); IMSVidAudioRendererDevices_Impl::Add(this, windows_core::from_raw_borrowed(&pdb)).into() } - unsafe extern "system" fn Remove, Impl: IMSVidAudioRendererDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IMSVidAudioRendererDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidAudioRendererDevices_Impl::Remove(this, core::mem::transmute(&v)).into() @@ -13662,7 +13662,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); IMSVidCtl_Impl::SetColorKey(this, core::mem::transmute_copy(&newvalue)).into() } - unsafe extern "system" fn get_InputsAvailable, Impl: IMSVidCtl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, categoryguid: std::mem::MaybeUninit, pval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_InputsAvailable, Impl: IMSVidCtl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, categoryguid: core::mem::MaybeUninit, pval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidCtl_Impl::get_InputsAvailable(this, core::mem::transmute(&categoryguid)) { @@ -13673,7 +13673,7 @@ impl IMSVidCtl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_OutputsAvailable, Impl: IMSVidCtl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, categoryguid: std::mem::MaybeUninit, pval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_OutputsAvailable, Impl: IMSVidCtl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, categoryguid: core::mem::MaybeUninit, pval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidCtl_Impl::get_OutputsAvailable(this, core::mem::transmute(&categoryguid)) { @@ -13830,7 +13830,7 @@ impl IMSVidCtl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn View, Impl: IMSVidCtl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn View, Impl: IMSVidCtl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidCtl_Impl::View(this, core::mem::transmute_copy(&v)).into() @@ -13870,7 +13870,7 @@ impl IMSVidCtl_Vtbl { let this = (*this).get_impl(); IMSVidCtl_Impl::DisableAudio(this).into() } - unsafe extern "system" fn ViewNext, Impl: IMSVidCtl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ViewNext, Impl: IMSVidCtl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidCtl_Impl::ViewNext(this, core::mem::transmute_copy(&v)).into() @@ -13969,7 +13969,7 @@ impl windows_core::RuntimeName for IMSVidDevice {} #[cfg(feature = "Win32_System_Com")] impl IMSVidDevice_Vtbl { pub const fn new, Impl: IMSVidDevice_Impl, const OFFSET: isize>() -> IMSVidDevice_Vtbl { - unsafe extern "system" fn Name, Impl: IMSVidDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IMSVidDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidDevice_Impl::Name(this) { @@ -14007,7 +14007,7 @@ impl IMSVidDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Category, Impl: IMSVidDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Category, Impl: IMSVidDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidDevice_Impl::Category(this) { @@ -14018,7 +14018,7 @@ impl IMSVidDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClassID, Impl: IMSVidDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClassID, Impl: IMSVidDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidDevice_Impl::ClassID(this) { @@ -14085,7 +14085,7 @@ pub trait IMSVidDevice2_Impl: Sized { impl windows_core::RuntimeName for IMSVidDevice2 {} impl IMSVidDevice2_Vtbl { pub const fn new, Impl: IMSVidDevice2_Impl, const OFFSET: isize>() -> IMSVidDevice2_Vtbl { - unsafe extern "system" fn DevicePath, Impl: IMSVidDevice2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, devpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DevicePath, Impl: IMSVidDevice2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, devpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidDevice2_Impl::DevicePath(this) { @@ -14301,7 +14301,7 @@ impl IMSVidFeatures_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IMSVidFeatures_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IMSVidFeatures_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidFeatures_Impl::get_Item(this, core::mem::transmute(&v)) { @@ -14317,7 +14317,7 @@ impl IMSVidFeatures_Vtbl { let this = (*this).get_impl(); IMSVidFeatures_Impl::Add(this, windows_core::from_raw_borrowed(&pdb)).into() } - unsafe extern "system" fn Remove, Impl: IMSVidFeatures_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IMSVidFeatures_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidFeatures_Impl::Remove(this, core::mem::transmute(&v)).into() @@ -14345,7 +14345,7 @@ impl windows_core::RuntimeName for IMSVidFilePlayback {} #[cfg(feature = "Win32_System_Com")] impl IMSVidFilePlayback_Vtbl { pub const fn new, Impl: IMSVidFilePlayback_Impl, const OFFSET: isize>() -> IMSVidFilePlayback_Vtbl { - unsafe extern "system" fn FileName, Impl: IMSVidFilePlayback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileName, Impl: IMSVidFilePlayback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidFilePlayback_Impl::FileName(this) { @@ -14356,7 +14356,7 @@ impl IMSVidFilePlayback_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFileName, Impl: IMSVidFilePlayback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFileName, Impl: IMSVidFilePlayback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidFilePlayback_Impl::SetFileName(this, core::mem::transmute(&filename)).into() @@ -14381,7 +14381,7 @@ impl windows_core::RuntimeName for IMSVidFilePlayback2 {} #[cfg(feature = "Win32_System_Com")] impl IMSVidFilePlayback2_Vtbl { pub const fn new, Impl: IMSVidFilePlayback2_Impl, const OFFSET: isize>() -> IMSVidFilePlayback2_Vtbl { - unsafe extern "system" fn Set_SourceFilter, Impl: IMSVidFilePlayback2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Set_SourceFilter, Impl: IMSVidFilePlayback2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidFilePlayback2_Impl::Set_SourceFilter(this, core::mem::transmute(&filename)).into() @@ -14425,7 +14425,7 @@ impl windows_core::RuntimeName for IMSVidGenericSink {} #[cfg(feature = "Win32_System_Com")] impl IMSVidGenericSink_Vtbl { pub const fn new, Impl: IMSVidGenericSink_Impl, const OFFSET: isize>() -> IMSVidGenericSink_Vtbl { - unsafe extern "system" fn SetSinkFilter, Impl: IMSVidGenericSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSinkFilter, Impl: IMSVidGenericSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidGenericSink_Impl::SetSinkFilter(this, core::mem::transmute(&bstrname)).into() @@ -14467,7 +14467,7 @@ impl windows_core::RuntimeName for IMSVidGenericSink2 {} #[cfg(feature = "Win32_System_Com")] impl IMSVidGenericSink2_Vtbl { pub const fn new, Impl: IMSVidGenericSink2_Impl, const OFFSET: isize>() -> IMSVidGenericSink2_Vtbl { - unsafe extern "system" fn AddFilter, Impl: IMSVidGenericSink2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddFilter, Impl: IMSVidGenericSink2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidGenericSink2_Impl::AddFilter(this, core::mem::transmute(&bstrname)).into() @@ -14858,7 +14858,7 @@ impl windows_core::RuntimeName for IMSVidInputDevice {} #[cfg(feature = "Win32_System_Com")] impl IMSVidInputDevice_Vtbl { pub const fn new, Impl: IMSVidInputDevice_Impl, const OFFSET: isize>() -> IMSVidInputDevice_Vtbl { - unsafe extern "system" fn IsViewable, Impl: IMSVidInputDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *const std::mem::MaybeUninit, pfviewable: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsViewable, Impl: IMSVidInputDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *const core::mem::MaybeUninit, pfviewable: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidInputDevice_Impl::IsViewable(this, core::mem::transmute_copy(&v)) { @@ -14869,7 +14869,7 @@ impl IMSVidInputDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn View, Impl: IMSVidInputDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn View, Impl: IMSVidInputDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidInputDevice_Impl::View(this, core::mem::transmute_copy(&v)).into() @@ -14932,7 +14932,7 @@ impl IMSVidInputDevices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IMSVidInputDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IMSVidInputDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidInputDevices_Impl::get_Item(this, core::mem::transmute(&v)) { @@ -14948,7 +14948,7 @@ impl IMSVidInputDevices_Vtbl { let this = (*this).get_impl(); IMSVidInputDevices_Impl::Add(this, windows_core::from_raw_borrowed(&pdb)).into() } - unsafe extern "system" fn Remove, Impl: IMSVidInputDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IMSVidInputDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidInputDevices_Impl::Remove(this, core::mem::transmute(&v)).into() @@ -15027,7 +15027,7 @@ impl IMSVidOutputDevices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IMSVidOutputDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IMSVidOutputDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidOutputDevices_Impl::get_Item(this, core::mem::transmute(&v)) { @@ -15043,7 +15043,7 @@ impl IMSVidOutputDevices_Vtbl { let this = (*this).get_impl(); IMSVidOutputDevices_Impl::Add(this, windows_core::from_raw_borrowed(&pdb)).into() } - unsafe extern "system" fn Remove, Impl: IMSVidOutputDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IMSVidOutputDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidOutputDevices_Impl::Remove(this, core::mem::transmute(&v)).into() @@ -15476,7 +15476,7 @@ impl windows_core::RuntimeName for IMSVidStreamBufferSink {} #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSink_Vtbl { pub const fn new, Impl: IMSVidStreamBufferSink_Impl, const OFFSET: isize>() -> IMSVidStreamBufferSink_Vtbl { - unsafe extern "system" fn get_ContentRecorder, Impl: IMSVidStreamBufferSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszfilename: std::mem::MaybeUninit, precordingiunknown: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ContentRecorder, Impl: IMSVidStreamBufferSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszfilename: core::mem::MaybeUninit, precordingiunknown: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidStreamBufferSink_Impl::get_ContentRecorder(this, core::mem::transmute(&pszfilename)) { @@ -15487,7 +15487,7 @@ impl IMSVidStreamBufferSink_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_ReferenceRecorder, Impl: IMSVidStreamBufferSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszfilename: std::mem::MaybeUninit, precordingiunknown: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ReferenceRecorder, Impl: IMSVidStreamBufferSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszfilename: core::mem::MaybeUninit, precordingiunknown: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidStreamBufferSink_Impl::get_ReferenceRecorder(this, core::mem::transmute(&pszfilename)) { @@ -15498,7 +15498,7 @@ impl IMSVidStreamBufferSink_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SinkName, Impl: IMSVidStreamBufferSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SinkName, Impl: IMSVidStreamBufferSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidStreamBufferSink_Impl::SinkName(this) { @@ -15509,7 +15509,7 @@ impl IMSVidStreamBufferSink_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSinkName, Impl: IMSVidStreamBufferSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSinkName, Impl: IMSVidStreamBufferSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidStreamBufferSink_Impl::SetSinkName(this, core::mem::transmute(&name)).into() @@ -15645,12 +15645,12 @@ impl IMSVidStreamBufferSink3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAudioAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAudioAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidStreamBufferSink3_Impl::SetAudioAnalysisFilter(this, core::mem::transmute(&szclsid)).into() } - unsafe extern "system" fn AudioAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AudioAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::AudioAnalysisFilter(this) { @@ -15677,12 +15677,12 @@ impl IMSVidStreamBufferSink3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetVideoAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetVideoAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidStreamBufferSink3_Impl::SetVideoAnalysisFilter(this, core::mem::transmute(&szclsid)).into() } - unsafe extern "system" fn VideoAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VideoAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::VideoAnalysisFilter(this) { @@ -15709,12 +15709,12 @@ impl IMSVidStreamBufferSink3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDataAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDataAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidStreamBufferSink3_Impl::SetDataAnalysisFilter(this, core::mem::transmute(&szclsid)).into() } - unsafe extern "system" fn DataAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DataAnalysisFilter, Impl: IMSVidStreamBufferSink3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidStreamBufferSink3_Impl::DataAnalysisFilter(this) { @@ -16155,12 +16155,12 @@ impl windows_core::RuntimeName for IMSVidStreamBufferSourceEvent3 {} #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSourceEvent3_Vtbl { pub const fn new, Impl: IMSVidStreamBufferSourceEvent3_Impl, const OFFSET: isize>() -> IMSVidStreamBufferSourceEvent3_Vtbl { - unsafe extern "system" fn BroadcastEvent, Impl: IMSVidStreamBufferSourceEvent3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BroadcastEvent, Impl: IMSVidStreamBufferSourceEvent3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidStreamBufferSourceEvent3_Impl::BroadcastEvent(this, core::mem::transmute(&guid)).into() } - unsafe extern "system" fn BroadcastEventEx, Impl: IMSVidStreamBufferSourceEvent3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: std::mem::MaybeUninit, param1: u32, param2: u32, param3: u32, param4: u32) -> windows_core::HRESULT { + unsafe extern "system" fn BroadcastEventEx, Impl: IMSVidStreamBufferSourceEvent3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: core::mem::MaybeUninit, param1: u32, param2: u32, param3: u32, param4: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidStreamBufferSourceEvent3_Impl::BroadcastEventEx(this, core::mem::transmute(&guid), core::mem::transmute_copy(¶m1), core::mem::transmute_copy(¶m2), core::mem::transmute_copy(¶m3), core::mem::transmute_copy(¶m4)).into() @@ -16240,12 +16240,12 @@ impl IMSVidStreamBufferV2SourceEvent_Vtbl { let this = (*this).get_impl(); IMSVidStreamBufferV2SourceEvent_Impl::RateChange(this, core::mem::transmute_copy(&qwnewrate), core::mem::transmute_copy(&qwoldrate)).into() } - unsafe extern "system" fn BroadcastEvent, Impl: IMSVidStreamBufferV2SourceEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BroadcastEvent, Impl: IMSVidStreamBufferV2SourceEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidStreamBufferV2SourceEvent_Impl::BroadcastEvent(this, core::mem::transmute(&guid)).into() } - unsafe extern "system" fn BroadcastEventEx, Impl: IMSVidStreamBufferV2SourceEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: std::mem::MaybeUninit, param1: u32, param2: u32, param3: u32, param4: u32) -> windows_core::HRESULT { + unsafe extern "system" fn BroadcastEventEx, Impl: IMSVidStreamBufferV2SourceEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: core::mem::MaybeUninit, param1: u32, param2: u32, param3: u32, param4: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidStreamBufferV2SourceEvent_Impl::BroadcastEventEx(this, core::mem::transmute(&guid), core::mem::transmute_copy(¶m1), core::mem::transmute_copy(¶m2), core::mem::transmute_copy(¶m3), core::mem::transmute_copy(¶m4)).into() @@ -16679,7 +16679,7 @@ impl windows_core::RuntimeName for IMSVidVideoRenderer {} #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] impl IMSVidVideoRenderer_Vtbl { pub const fn new, Impl: IMSVidVideoRenderer_Impl, const OFFSET: isize>() -> IMSVidVideoRenderer_Vtbl { - unsafe extern "system" fn CustomCompositorClass, Impl: IMSVidVideoRenderer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, compositorclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CustomCompositorClass, Impl: IMSVidVideoRenderer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, compositorclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidVideoRenderer_Impl::CustomCompositorClass(this) { @@ -16690,7 +16690,7 @@ impl IMSVidVideoRenderer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCustomCompositorClass, Impl: IMSVidVideoRenderer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, compositorclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCustomCompositorClass, Impl: IMSVidVideoRenderer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, compositorclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidVideoRenderer_Impl::SetCustomCompositorClass(this, core::mem::transmute(&compositorclsid)).into() @@ -17093,7 +17093,7 @@ impl IMSVidVideoRendererDevices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IMSVidVideoRendererDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IMSVidVideoRendererDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit, pdb: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidVideoRendererDevices_Impl::get_Item(this, core::mem::transmute(&v)) { @@ -17109,7 +17109,7 @@ impl IMSVidVideoRendererDevices_Vtbl { let this = (*this).get_impl(); IMSVidVideoRendererDevices_Impl::Add(this, windows_core::from_raw_borrowed(&pdb)).into() } - unsafe extern "system" fn Remove, Impl: IMSVidVideoRendererDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IMSVidVideoRendererDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidVideoRendererDevices_Impl::Remove(this, core::mem::transmute(&v)).into() @@ -17295,17 +17295,17 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); IMSVidWebDVD_Impl::PlayChaptersAutoStop(this, core::mem::transmute_copy(<itle), core::mem::transmute_copy(&lstrchapter), core::mem::transmute_copy(&lchaptercount)).into() } - unsafe extern "system" fn PlayAtTime, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtime: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlayAtTime, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtime: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVD_Impl::PlayAtTime(this, core::mem::transmute(&strtime)).into() } - unsafe extern "system" fn PlayAtTimeInTitle, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ltitle: i32, strtime: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlayAtTimeInTitle, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ltitle: i32, strtime: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVD_Impl::PlayAtTimeInTitle(this, core::mem::transmute_copy(<itle), core::mem::transmute(&strtime)).into() } - unsafe extern "system" fn PlayPeriodInTitleAutoStop, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ltitle: i32, strstarttime: std::mem::MaybeUninit, strendtime: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlayPeriodInTitleAutoStop, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ltitle: i32, strstarttime: core::mem::MaybeUninit, strendtime: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVD_Impl::PlayPeriodInTitleAutoStop(this, core::mem::transmute_copy(<itle), core::mem::transmute(&strstarttime), core::mem::transmute(&strendtime)).into() @@ -17330,7 +17330,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); IMSVidWebDVD_Impl::StillOff(this).into() } - unsafe extern "system" fn get_AudioLanguage, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lstream: i32, fformat: super::super::super::Foundation::VARIANT_BOOL, straudiolang: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_AudioLanguage, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lstream: i32, fformat: super::super::super::Foundation::VARIANT_BOOL, straudiolang: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_AudioLanguage(this, core::mem::transmute_copy(&lstream), core::mem::transmute_copy(&fformat)) { @@ -17440,7 +17440,7 @@ impl IMSVidWebDVD_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TotalTitleTime, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TotalTitleTime, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVD_Impl::TotalTitleTime(this) { @@ -17528,7 +17528,7 @@ impl IMSVidWebDVD_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentTime, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentTime, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVD_Impl::CurrentTime(this) { @@ -17539,7 +17539,7 @@ impl IMSVidWebDVD_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DVDTimeCode2bstr, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timecode: i32, ptimestr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DVDTimeCode2bstr, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timecode: i32, ptimestr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DVDTimeCode2bstr(this, core::mem::transmute_copy(&timecode)) { @@ -17550,7 +17550,7 @@ impl IMSVidWebDVD_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DVDDirectory, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DVDDirectory, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DVDDirectory(this) { @@ -17561,7 +17561,7 @@ impl IMSVidWebDVD_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDVDDirectory, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDVDDirectory, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVD_Impl::SetDVDDirectory(this, core::mem::transmute(&newval)).into() @@ -17604,7 +17604,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); IMSVidWebDVD_Impl::SetCurrentSubpictureStream(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn get_SubpictureLanguage, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lstream: i32, strlanguage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_SubpictureLanguage, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lstream: i32, strlanguage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_SubpictureLanguage(this, core::mem::transmute_copy(&lstream)) { @@ -17696,7 +17696,7 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); IMSVidWebDVD_Impl::SetSubpictureOn(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn DVDUniqueID, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DVDUniqueID, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVD_Impl::DVDUniqueID(this) { @@ -17707,7 +17707,7 @@ impl IMSVidWebDVD_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AcceptParentalLevelChange, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, faccept: super::super::super::Foundation::VARIANT_BOOL, strusername: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AcceptParentalLevelChange, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, faccept: super::super::super::Foundation::VARIANT_BOOL, strusername: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVD_Impl::AcceptParentalLevelChange(this, core::mem::transmute_copy(&faccept), core::mem::transmute(&strusername), core::mem::transmute(&strpassword)).into() @@ -17717,12 +17717,12 @@ impl IMSVidWebDVD_Vtbl { let this = (*this).get_impl(); IMSVidWebDVD_Impl::NotifyParentalLevelChange(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn SelectParentalCountry, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcountry: i32, strusername: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelectParentalCountry, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcountry: i32, strusername: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVD_Impl::SelectParentalCountry(this, core::mem::transmute_copy(&lcountry), core::mem::transmute(&strusername), core::mem::transmute(&strpassword)).into() } - unsafe extern "system" fn SelectParentalLevel, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lparentallevel: i32, strusername: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelectParentalLevel, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lparentallevel: i32, strusername: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVD_Impl::SelectParentalLevel(this, core::mem::transmute_copy(&lparentallevel), core::mem::transmute(&strusername), core::mem::transmute(&strpassword)).into() @@ -17814,7 +17814,7 @@ impl IMSVidWebDVD_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_DVDTextString, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, llangindex: i32, lstringindex: i32, pstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_DVDTextString, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, llangindex: i32, lstringindex: i32, pstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_DVDTextString(this, core::mem::transmute_copy(&llangindex), core::mem::transmute_copy(&lstringindex)) { @@ -17970,7 +17970,7 @@ impl IMSVidWebDVD_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_LanguageFromLCID, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcid: i32, lang: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_LanguageFromLCID, Impl: IMSVidWebDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcid: i32, lang: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVD_Impl::get_LanguageFromLCID(this, core::mem::transmute_copy(&lcid)) { @@ -18206,22 +18206,22 @@ impl windows_core::RuntimeName for IMSVidWebDVDAdm {} #[cfg(feature = "Win32_System_Com")] impl IMSVidWebDVDAdm_Vtbl { pub const fn new, Impl: IMSVidWebDVDAdm_Impl, const OFFSET: isize>() -> IMSVidWebDVDAdm_Vtbl { - unsafe extern "system" fn ChangePassword, Impl: IMSVidWebDVDAdm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strusername: std::mem::MaybeUninit, strold: std::mem::MaybeUninit, strnew: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChangePassword, Impl: IMSVidWebDVDAdm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strusername: core::mem::MaybeUninit, strold: core::mem::MaybeUninit, strnew: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVDAdm_Impl::ChangePassword(this, core::mem::transmute(&strusername), core::mem::transmute(&strold), core::mem::transmute(&strnew)).into() } - unsafe extern "system" fn SaveParentalLevel, Impl: IMSVidWebDVDAdm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, level: i32, strusername: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveParentalLevel, Impl: IMSVidWebDVDAdm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, level: i32, strusername: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVDAdm_Impl::SaveParentalLevel(this, core::mem::transmute_copy(&level), core::mem::transmute(&strusername), core::mem::transmute(&strpassword)).into() } - unsafe extern "system" fn SaveParentalCountry, Impl: IMSVidWebDVDAdm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, country: i32, strusername: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveParentalCountry, Impl: IMSVidWebDVDAdm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, country: i32, strusername: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVDAdm_Impl::SaveParentalCountry(this, core::mem::transmute_copy(&country), core::mem::transmute(&strusername), core::mem::transmute(&strpassword)).into() } - unsafe extern "system" fn ConfirmPassword, Impl: IMSVidWebDVDAdm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strusername: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit, pval: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn ConfirmPassword, Impl: IMSVidWebDVDAdm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strusername: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit, pval: *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSVidWebDVDAdm_Impl::ConfirmPassword(this, core::mem::transmute(&strusername), core::mem::transmute(&strpassword)) { @@ -18371,7 +18371,7 @@ impl windows_core::RuntimeName for IMSVidWebDVDEvent {} #[cfg(feature = "Win32_System_Com")] impl IMSVidWebDVDEvent_Vtbl { pub const fn new, Impl: IMSVidWebDVDEvent_Impl, const OFFSET: isize>() -> IMSVidWebDVDEvent_Vtbl { - unsafe extern "system" fn DVDNotify, Impl: IMSVidWebDVDEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, leventcode: i32, lparam1: std::mem::MaybeUninit, lparam2: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DVDNotify, Impl: IMSVidWebDVDEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, leventcode: i32, lparam1: core::mem::MaybeUninit, lparam2: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSVidWebDVDEvent_Impl::DVDNotify(this, core::mem::transmute_copy(&leventcode), core::mem::transmute(&lparam1), core::mem::transmute(&lparam2)).into() @@ -19452,12 +19452,12 @@ impl IPersistTuneXml_Vtbl { let this = (*this).get_impl(); IPersistTuneXml_Impl::InitNew(this).into() } - unsafe extern "system" fn Load, Impl: IPersistTuneXml_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Load, Impl: IPersistTuneXml_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPersistTuneXml_Impl::Load(this, core::mem::transmute(&varvalue)).into() } - unsafe extern "system" fn Save, Impl: IPersistTuneXml_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarfragment: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Save, Impl: IPersistTuneXml_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarfragment: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPersistTuneXml_Impl::Save(this) { @@ -19485,7 +19485,7 @@ pub trait IPersistTuneXmlUtility_Impl: Sized { impl windows_core::RuntimeName for IPersistTuneXmlUtility {} impl IPersistTuneXmlUtility_Vtbl { pub const fn new, Impl: IPersistTuneXmlUtility_Impl, const OFFSET: isize>() -> IPersistTuneXmlUtility_Vtbl { - unsafe extern "system" fn Deserialize, Impl: IPersistTuneXmlUtility_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: std::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Deserialize, Impl: IPersistTuneXmlUtility_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: core::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPersistTuneXmlUtility_Impl::Deserialize(this, core::mem::transmute(&varvalue)) { @@ -19511,7 +19511,7 @@ impl windows_core::RuntimeName for IPersistTuneXmlUtility2 {} #[cfg(feature = "Win32_System_Com")] impl IPersistTuneXmlUtility2_Vtbl { pub const fn new, Impl: IPersistTuneXmlUtility2_Impl, const OFFSET: isize>() -> IPersistTuneXmlUtility2_Vtbl { - unsafe extern "system" fn Serialize, Impl: IPersistTuneXmlUtility2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pitunerequest: *mut core::ffi::c_void, pstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Serialize, Impl: IPersistTuneXmlUtility2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pitunerequest: *mut core::ffi::c_void, pstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPersistTuneXmlUtility2_Impl::Serialize(this, windows_core::from_raw_borrowed(&pitunerequest)) { @@ -19957,7 +19957,7 @@ impl ISCTE_EAS_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetNatureOfActivationText, Impl: ISCTE_EAS_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstris0639code: std::mem::MaybeUninit, pbstrstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetNatureOfActivationText, Impl: ISCTE_EAS_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstris0639code: core::mem::MaybeUninit, pbstrstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetNatureOfActivationText(this, core::mem::transmute(&bstris0639code)) { @@ -20056,7 +20056,7 @@ impl ISCTE_EAS_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAlertText, Impl: ISCTE_EAS_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstris0639code: std::mem::MaybeUninit, pbstrstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAlertText, Impl: ISCTE_EAS_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstris0639code: core::mem::MaybeUninit, pbstrstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISCTE_EAS_Impl::GetAlertText(this, core::mem::transmute(&bstris0639code)) { @@ -21498,7 +21498,7 @@ impl windows_core::RuntimeName for ITuningSpace {} #[cfg(feature = "Win32_System_Com")] impl ITuningSpace_Vtbl { pub const fn new, Impl: ITuningSpace_Impl, const OFFSET: isize>() -> ITuningSpace_Vtbl { - unsafe extern "system" fn UniqueName, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UniqueName, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpace_Impl::UniqueName(this) { @@ -21509,12 +21509,12 @@ impl ITuningSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUniqueName, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUniqueName, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITuningSpace_Impl::SetUniqueName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn FriendlyName, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpace_Impl::FriendlyName(this) { @@ -21525,12 +21525,12 @@ impl ITuningSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFriendlyName, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFriendlyName, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITuningSpace_Impl::SetFriendlyName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn CLSID, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, spaceclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CLSID, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, spaceclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpace_Impl::CLSID(this) { @@ -21541,7 +21541,7 @@ impl ITuningSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NetworkType, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, networktypeguid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NetworkType, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, networktypeguid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpace_Impl::NetworkType(this) { @@ -21552,7 +21552,7 @@ impl ITuningSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNetworkType, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, networktypeguid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNetworkType, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, networktypeguid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITuningSpace_Impl::SetNetworkType(this, core::mem::transmute(&networktypeguid)).into() @@ -21622,7 +21622,7 @@ impl ITuningSpace_Vtbl { let this = (*this).get_impl(); ITuningSpace_Impl::SetDefaultPreferredComponentTypes(this, windows_core::from_raw_borrowed(&newcomponenttypes)).into() } - unsafe extern "system" fn FrequencyMapping, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pmapping: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FrequencyMapping, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pmapping: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpace_Impl::FrequencyMapping(this) { @@ -21633,7 +21633,7 @@ impl ITuningSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFrequencyMapping, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mapping: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFrequencyMapping, Impl: ITuningSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mapping: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITuningSpace_Impl::SetFrequencyMapping(this, core::mem::transmute(&mapping)).into() @@ -21735,7 +21735,7 @@ impl ITuningSpaceContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, tuningspace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, tuningspace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -21746,12 +21746,12 @@ impl ITuningSpaceContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Item, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, tuningspace: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn put_Item, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, tuningspace: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITuningSpaceContainer_Impl::put_Item(this, core::mem::transmute(&varindex), windows_core::from_raw_borrowed(&tuningspace)).into() } - unsafe extern "system" fn TuningSpacesForCLSID, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, spaceclsid: std::mem::MaybeUninit, newcoll: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn TuningSpacesForCLSID, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, spaceclsid: core::mem::MaybeUninit, newcoll: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::TuningSpacesForCLSID(this, core::mem::transmute(&spaceclsid)) { @@ -21773,7 +21773,7 @@ impl ITuningSpaceContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TuningSpacesForName, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, newcoll: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn TuningSpacesForName, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, newcoll: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::TuningSpacesForName(this, core::mem::transmute(&name)) { @@ -21795,7 +21795,7 @@ impl ITuningSpaceContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tuningspace: *mut core::ffi::c_void, newindex: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tuningspace: *mut core::ffi::c_void, newindex: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpaceContainer_Impl::Add(this, windows_core::from_raw_borrowed(&tuningspace)) { @@ -21817,7 +21817,7 @@ impl ITuningSpaceContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: ITuningSpaceContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITuningSpaceContainer_Impl::Remove(this, core::mem::transmute(&index)).into() @@ -21893,7 +21893,7 @@ impl ITuningSpaces_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ITuningSpaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, tuningspace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ITuningSpaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, tuningspace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITuningSpaces_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -21971,7 +21971,7 @@ impl IXDSCodec_Vtbl { let this = (*this).get_impl(); IXDSCodec_Impl::GetContentAdvisoryRating(this, core::mem::transmute_copy(&prat), core::mem::transmute_copy(&ppktseqid), core::mem::transmute_copy(&pcallseqid), core::mem::transmute_copy(&ptimestart), core::mem::transmute_copy(&ptimeend)).into() } - unsafe extern "system" fn GetXDSPacket, Impl: IXDSCodec_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pxdsclasspkt: *mut i32, pxdstypepkt: *mut i32, pbstrxdspkt: *mut std::mem::MaybeUninit, ppktseqid: *mut i32, pcallseqid: *mut i32, ptimestart: *mut i64, ptimeend: *mut i64) -> windows_core::HRESULT { + unsafe extern "system" fn GetXDSPacket, Impl: IXDSCodec_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pxdsclasspkt: *mut i32, pxdstypepkt: *mut i32, pbstrxdspkt: *mut core::mem::MaybeUninit, ppktseqid: *mut i32, pcallseqid: *mut i32, ptimestart: *mut i64, ptimeend: *mut i64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXDSCodec_Impl::GetXDSPacket(this, core::mem::transmute_copy(&pxdsclasspkt), core::mem::transmute_copy(&pxdstypepkt), core::mem::transmute_copy(&pbstrxdspkt), core::mem::transmute_copy(&ppktseqid), core::mem::transmute_copy(&pcallseqid), core::mem::transmute_copy(&ptimestart), core::mem::transmute_copy(&ptimeend)).into() diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs index 734da9878b..fb15912057 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IATSCChannelTuneRequest, IATSCChannelTuneRe impl std::ops::Deref for IATSCChannelTuneRequest { type Target = IChannelTuneRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -12,7 +12,7 @@ windows_core::imp::interface_hierarchy!(IATSCChannelTuneRequest, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IATSCChannelTuneRequest { pub unsafe fn MinorChannel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMinorChannel(&self, minorchannel: i32) -> windows_core::Result<()> { @@ -32,7 +32,7 @@ windows_core::imp::define_interface!(IATSCComponentType, IATSCComponentType_Vtbl impl std::ops::Deref for IATSCComponentType { type Target = IMPEG2ComponentType; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -40,7 +40,7 @@ windows_core::imp::interface_hierarchy!(IATSCComponentType, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IATSCComponentType { pub unsafe fn Flags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFlags(&self, flags: i32) -> windows_core::Result<()> { @@ -60,7 +60,7 @@ windows_core::imp::define_interface!(IATSCLocator, IATSCLocator_Vtbl, 0xbf8d986f impl std::ops::Deref for IATSCLocator { type Target = IDigitalLocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -68,14 +68,14 @@ windows_core::imp::interface_hierarchy!(IATSCLocator, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IATSCLocator { pub unsafe fn PhysicalChannel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhysicalChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTSID(&self, tsid: i32) -> windows_core::Result<()> { @@ -97,7 +97,7 @@ windows_core::imp::define_interface!(IATSCLocator2, IATSCLocator2_Vtbl, 0x612aa8 impl std::ops::Deref for IATSCLocator2 { type Target = IATSCLocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -105,7 +105,7 @@ windows_core::imp::interface_hierarchy!(IATSCLocator2, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IATSCLocator2 { pub unsafe fn ProgramNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProgramNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProgramNumber(&self, programnumber: i32) -> windows_core::Result<()> { @@ -125,7 +125,7 @@ windows_core::imp::define_interface!(IATSCTuningSpace, IATSCTuningSpace_Vtbl, 0x impl std::ops::Deref for IATSCTuningSpace { type Target = IAnalogTVTuningSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -133,28 +133,28 @@ windows_core::imp::interface_hierarchy!(IATSCTuningSpace, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IATSCTuningSpace { pub unsafe fn MinMinorChannel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinMinorChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxMinorChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinPhysicalChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxPhysicalChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxPhysicalChannel(&self, newmaxphysicalchannelval: i32) -> windows_core::Result<()> { @@ -178,7 +178,7 @@ windows_core::imp::define_interface!(IATSC_EIT, IATSC_EIT_Vtbl, 0xd7c212d7_76a2_ impl std::ops::Deref for IATSC_EIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IATSC_EIT, windows_core::IUnknown); @@ -191,46 +191,46 @@ impl IATSC_EIT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSourceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProtocolVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtocolVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordEventId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordEventId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordStartTime(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordStartTime)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordEtmLocation(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordEtmLocation)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDuration(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDuration)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| 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, pdwlength, pptext).ok() } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -258,7 +258,7 @@ windows_core::imp::define_interface!(IATSC_ETT, IATSC_ETT_Vtbl, 0x5a142cc9_b8cf_ impl std::ops::Deref for IATSC_ETT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IATSC_ETT, windows_core::IUnknown); @@ -271,15 +271,15 @@ impl IATSC_ETT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProtocolVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtocolVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEtmId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEtmId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExtendedMessageText(&self, pdwlength: *mut u32, pptext: *mut *mut u8) -> windows_core::Result<()> { @@ -299,7 +299,7 @@ windows_core::imp::define_interface!(IATSC_MGT, IATSC_MGT_Vtbl, 0x8877dabd_c137_ impl std::ops::Deref for IATSC_MGT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IATSC_MGT, windows_core::IUnknown); @@ -312,35 +312,35 @@ impl IATSC_MGT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProtocolVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtocolVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordType(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordType)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordTypePid(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTypePid)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordVersionNumber(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordVersionNumber)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -350,7 +350,7 @@ impl IATSC_MGT { (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), pdwval).ok() } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -378,7 +378,7 @@ windows_core::imp::define_interface!(IATSC_STT, IATSC_STT_Vtbl, 0x6bf42423_217d_ impl std::ops::Deref for IATSC_STT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IATSC_STT, windows_core::IUnknown); @@ -391,27 +391,27 @@ impl IATSC_STT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetProtocolVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtocolVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGpsUtcOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGpsUtcOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDaylightSavings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDaylightSavings)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -434,7 +434,7 @@ windows_core::imp::define_interface!(IATSC_VCT, IATSC_VCT_Vtbl, 0x26879a18_32f9_ impl std::ops::Deref for IATSC_VCT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IATSC_VCT, windows_core::IUnknown); @@ -447,87 +447,87 @@ impl IATSC_VCT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransportStreamId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportStreamId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProtocolVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtocolVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordName(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordName)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordMajorChannelNumber(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordMajorChannelNumber)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordMinorChannelNumber(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordMinorChannelNumber)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordModulationMode(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordModulationMode)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCarrierFrequency(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCarrierFrequency)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordTransportStreamId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTransportStreamId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordProgramNumber(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordProgramNumber)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordEtmLocation(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordEtmLocation)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordIsAccessControlledBitSet(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordIsAccessControlledBitSet)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordIsHiddenBitSet(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordIsHiddenBitSet)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordIsPathSelectBitSet(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordIsPathSelectBitSet)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordIsOutOfBandBitSet(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordIsOutOfBandBitSet)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordIsHideGuideBitSet(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordIsHideGuideBitSet)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceType(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceType)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordSourceId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordSourceId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -537,7 +537,7 @@ impl IATSC_VCT { (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), pdwval).ok() } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -580,7 +580,7 @@ windows_core::imp::define_interface!(IAnalogAudioComponentType, IAnalogAudioComp impl std::ops::Deref for IAnalogAudioComponentType { type Target = IComponentType; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -588,7 +588,7 @@ windows_core::imp::interface_hierarchy!(IAnalogAudioComponentType, windows_core: #[cfg(feature = "Win32_System_Com")] impl IAnalogAudioComponentType { pub unsafe fn AnalogAudioMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AnalogAudioMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAnalogAudioMode(&self, mode: super::TVAudioMode) -> windows_core::Result<()> { @@ -608,7 +608,7 @@ windows_core::imp::define_interface!(IAnalogLocator, IAnalogLocator_Vtbl, 0x34d1 impl std::ops::Deref for IAnalogLocator { type Target = ILocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -616,7 +616,7 @@ windows_core::imp::interface_hierarchy!(IAnalogLocator, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IAnalogLocator { pub unsafe fn VideoStandard(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoStandard)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVideoStandard(&self, avs: super::AnalogVideoStandard) -> windows_core::Result<()> { @@ -636,7 +636,7 @@ windows_core::imp::define_interface!(IAnalogRadioTuningSpace, IAnalogRadioTuning impl std::ops::Deref for IAnalogRadioTuningSpace { type Target = ITuningSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -644,21 +644,21 @@ windows_core::imp::interface_hierarchy!(IAnalogRadioTuningSpace, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IAnalogRadioTuningSpace { pub unsafe fn MinFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Step)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStep(&self, newstepval: i32) -> windows_core::Result<()> { @@ -682,7 +682,7 @@ windows_core::imp::define_interface!(IAnalogRadioTuningSpace2, IAnalogRadioTunin impl std::ops::Deref for IAnalogRadioTuningSpace2 { type Target = IAnalogRadioTuningSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -690,7 +690,7 @@ windows_core::imp::interface_hierarchy!(IAnalogRadioTuningSpace2, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IAnalogRadioTuningSpace2 { pub unsafe fn CountryCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCountryCode(&self, newcountrycodeval: i32) -> windows_core::Result<()> { @@ -710,7 +710,7 @@ windows_core::imp::define_interface!(IAnalogTVTuningSpace, IAnalogTVTuningSpace_ impl std::ops::Deref for IAnalogTVTuningSpace { type Target = ITuningSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -718,28 +718,28 @@ windows_core::imp::interface_hierarchy!(IAnalogTVTuningSpace, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IAnalogTVTuningSpace { pub unsafe fn MinChannel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InputType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInputType(&self, newinputtypeval: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCountryCode(&self, newcountrycodeval: i32) -> windows_core::Result<()> { @@ -763,37 +763,37 @@ windows_core::imp::define_interface!(IAtscContentAdvisoryDescriptor, IAtscConten impl std::ops::Deref for IAtscContentAdvisoryDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAtscContentAdvisoryDescriptor, windows_core::IUnknown); impl IAtscContentAdvisoryDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRatingRegionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRatingRegionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordRatingRegion(&self, bindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordRatingRegion)(windows_core::Interface::as_raw(self), bindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordRatedDimensions(&self, bindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordRatedDimensions)(windows_core::Interface::as_raw(self), bindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordRatingDimension(&self, bindexouter: u8, bindexinner: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordRatingDimension)(windows_core::Interface::as_raw(self), bindexouter, bindexinner, &mut result__).map(|| result__) } pub unsafe fn GetRecordRatingValue(&self, bindexouter: u8, bindexinner: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordRatingValue)(windows_core::Interface::as_raw(self), bindexouter, bindexinner, &mut result__).map(|| result__) } pub unsafe fn GetRecordRatingDescriptionText(&self, bindex: u8, pblength: *mut u8, pptext: *mut *mut u8) -> windows_core::Result<()> { @@ -816,7 +816,7 @@ windows_core::imp::define_interface!(IAtscPsipParser, IAtscPsipParser_Vtbl, 0xb2 impl std::ops::Deref for IAtscPsipParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAtscPsipParser, windows_core::IUnknown); @@ -828,46 +828,46 @@ impl IAtscPsipParser { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), punkmpeg2data.param().abi()).ok() } pub unsafe fn GetPAT(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPAT)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCAT(&self, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAT)(windows_core::Interface::as_raw(self), dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPMT(&self, pid: u16, pwprogramnumber: *const u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPMT)(windows_core::Interface::as_raw(self), pid, pwprogramnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTSDT(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTSDT)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMGT(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMGT)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVCT(&self, tableid: u8, fgetnexttable: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVCT)(windows_core::Interface::as_raw(self), tableid, fgetnexttable.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEIT(&self, pid: u16, pwsourceid: *const u16, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEIT)(windows_core::Interface::as_raw(self), pid, pwsourceid, dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetETT(&self, pid: u16, wsourceid: *const u16, pweventid: *const u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetETT)(windows_core::Interface::as_raw(self), pid, wsourceid, pweventid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSTT(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSTT)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEAS(&self, pid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEAS)(windows_core::Interface::as_raw(self), pid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -890,13 +890,13 @@ windows_core::imp::define_interface!(IAttributeGet, IAttributeGet_Vtbl, 0x52dbd1 impl std::ops::Deref for IAttributeGet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAttributeGet, windows_core::IUnknown); impl IAttributeGet { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAttribIndexed(&self, lindex: i32, pguidattribute: *mut windows_core::GUID, pbattribute: *mut u8, pdwattributelength: *mut u32) -> windows_core::Result<()> { @@ -917,7 +917,7 @@ windows_core::imp::define_interface!(IAttributeSet, IAttributeSet_Vtbl, 0x583ec3 impl std::ops::Deref for IAttributeSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAttributeSet, windows_core::IUnknown); @@ -937,7 +937,7 @@ windows_core::imp::define_interface!(IAuxInTuningSpace, IAuxInTuningSpace_Vtbl, impl std::ops::Deref for IAuxInTuningSpace { type Target = ITuningSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -955,7 +955,7 @@ windows_core::imp::define_interface!(IAuxInTuningSpace2, IAuxInTuningSpace2_Vtbl impl std::ops::Deref for IAuxInTuningSpace2 { type Target = IAuxInTuningSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -963,7 +963,7 @@ windows_core::imp::interface_hierarchy!(IAuxInTuningSpace2, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IAuxInTuningSpace2 { pub unsafe fn CountryCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCountryCode(&self, newcountrycodeval: i32) -> windows_core::Result<()> { @@ -981,7 +981,7 @@ windows_core::imp::define_interface!(IBDAComparable, IBDAComparable_Vtbl, 0xb345 impl std::ops::Deref for IBDAComparable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDAComparable, windows_core::IUnknown); @@ -991,7 +991,7 @@ impl IBDAComparable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareExact)(windows_core::Interface::as_raw(self), compareto.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -999,23 +999,23 @@ impl IBDAComparable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareEquivalent)(windows_core::Interface::as_raw(self), compareto.param().abi(), dwflags, &mut result__).map(|| result__) } pub unsafe fn HashExact(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashExact)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HashExactIncremental(&self, partialresult: i64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashExactIncremental)(windows_core::Interface::as_raw(self), partialresult, &mut result__).map(|| result__) } pub unsafe fn HashEquivalent(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashEquivalent)(windows_core::Interface::as_raw(self), dwflags, &mut result__).map(|| result__) } pub unsafe fn HashEquivalentIncremental(&self, partialresult: i64, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashEquivalentIncremental)(windows_core::Interface::as_raw(self), partialresult, dwflags, &mut result__).map(|| result__) } } @@ -1039,14 +1039,14 @@ windows_core::imp::define_interface!(IBDACreateTuneRequestEx, IBDACreateTuneRequ impl std::ops::Deref for IBDACreateTuneRequestEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDACreateTuneRequestEx, windows_core::IUnknown); impl IBDACreateTuneRequestEx { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequestEx(&self, tunerequestiid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTuneRequestEx)(windows_core::Interface::as_raw(self), tunerequestiid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1062,7 +1062,7 @@ windows_core::imp::define_interface!(IBDA_TIF_REGISTRATION, IBDA_TIF_REGISTRATIO impl std::ops::Deref for IBDA_TIF_REGISTRATION { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_TIF_REGISTRATION, windows_core::IUnknown); @@ -1087,7 +1087,7 @@ windows_core::imp::define_interface!(ICAT, ICAT_Vtbl, 0x7c6995fb_2a31_4bd7_953e_ impl std::ops::Deref for ICAT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICAT, windows_core::IUnknown); @@ -1100,15 +1100,15 @@ impl ICAT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -1121,7 +1121,7 @@ impl ICAT { (windows_core::Interface::vtable(self).RegisterForNextTable)(windows_core::Interface::as_raw(self), hnexttableavailable.param().abi()).ok() } pub unsafe fn GetNextTable(&self, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextTable)(windows_core::Interface::as_raw(self), dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForWhenCurrent(&self, hnexttableiscurrent: P0) -> windows_core::Result<()> @@ -1151,32 +1151,32 @@ windows_core::imp::define_interface!(ICaptionServiceDescriptor, ICaptionServiceD impl std::ops::Deref for ICaptionServiceDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICaptionServiceDescriptor, windows_core::IUnknown); impl ICaptionServiceDescriptor { pub unsafe fn GetNumberOfServices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfServices)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(langcode.as_ptr())).ok() } pub unsafe fn GetCaptionServiceNumber(&self, bindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaptionServiceNumber)(windows_core::Interface::as_raw(self), bindex, &mut result__).map(|| result__) } pub unsafe fn GetCCType(&self, bindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCCType)(windows_core::Interface::as_raw(self), bindex, &mut result__).map(|| result__) } pub unsafe fn GetEasyReader(&self, bindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEasyReader)(windows_core::Interface::as_raw(self), bindex, &mut result__).map(|| result__) } pub unsafe fn GetWideAspectRatio(&self, bindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWideAspectRatio)(windows_core::Interface::as_raw(self), bindex, &mut result__).map(|| result__) } } @@ -1196,7 +1196,7 @@ windows_core::imp::define_interface!(IChannelIDTuneRequest, IChannelIDTuneReques impl std::ops::Deref for IChannelIDTuneRequest { type Target = ITuneRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1204,7 +1204,7 @@ windows_core::imp::interface_hierarchy!(IChannelIDTuneRequest, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IChannelIDTuneRequest { pub unsafe fn ChannelID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChannelID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetChannelID(&self, channelid: P0) -> windows_core::Result<()> @@ -1218,8 +1218,8 @@ impl IChannelIDTuneRequest { #[repr(C)] pub struct IChannelIDTuneRequest_Vtbl { pub base__: ITuneRequest_Vtbl, - pub ChannelID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetChannelID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChannelID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetChannelID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IChannelTuneRequest, IChannelTuneRequest_Vtbl, 0x0369b4e0_45b6_11d3_b650_00c04f79498e); @@ -1227,7 +1227,7 @@ windows_core::imp::define_interface!(IChannelTuneRequest, IChannelTuneRequest_Vt impl std::ops::Deref for IChannelTuneRequest { type Target = ITuneRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1235,7 +1235,7 @@ windows_core::imp::interface_hierarchy!(IChannelTuneRequest, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IChannelTuneRequest { pub unsafe fn Channel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Channel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetChannel(&self, channel: i32) -> windows_core::Result<()> { @@ -1255,7 +1255,7 @@ windows_core::imp::define_interface!(IComponent, IComponent_Vtbl, 0x1a5576fc_0e1 impl std::ops::Deref for IComponent { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1264,7 +1264,7 @@ windows_core::imp::interface_hierarchy!(IComponent, windows_core::IUnknown, supe impl IComponent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1275,21 +1275,21 @@ impl IComponent { (windows_core::Interface::vtable(self).SetType)(windows_core::Interface::as_raw(self), ct.param().abi()).ok() } pub unsafe fn DescLangID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DescLangID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStatus(&self, status: super::ComponentStatus) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetStatus)(windows_core::Interface::as_raw(self), status).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, description: P0) -> windows_core::Result<()> @@ -1300,7 +1300,7 @@ impl IComponent { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1320,8 +1320,8 @@ pub struct IComponent_Vtbl { pub SetDescLangID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::ComponentStatus) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, super::ComponentStatus) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1333,7 +1333,7 @@ windows_core::imp::define_interface!(IComponentType, IComponentType_Vtbl, 0x6a34 impl std::ops::Deref for IComponentType { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1341,14 +1341,14 @@ windows_core::imp::interface_hierarchy!(IComponentType, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IComponentType { pub unsafe fn Category(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Category)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCategory(&self, category: super::ComponentCategory) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetCategory)(windows_core::Interface::as_raw(self), category).ok() } pub unsafe fn MediaMajorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaMajorType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMediaMajorType(&self, mediamajortype: P0) -> windows_core::Result<()> @@ -1358,14 +1358,14 @@ impl IComponentType { (windows_core::Interface::vtable(self).SetMediaMajorType)(windows_core::Interface::as_raw(self), mediamajortype.param().abi()).ok() } pub unsafe fn _MediaMajorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._MediaMajorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Set_MediaMajorType(&self, mediamajortypeguid: *const windows_core::GUID) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Set_MediaMajorType)(windows_core::Interface::as_raw(self), mediamajortypeguid).ok() } pub unsafe fn MediaSubType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaSubType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMediaSubType(&self, mediasubtype: P0) -> windows_core::Result<()> @@ -1375,14 +1375,14 @@ impl IComponentType { (windows_core::Interface::vtable(self).SetMediaSubType)(windows_core::Interface::as_raw(self), mediasubtype.param().abi()).ok() } pub unsafe fn _MediaSubType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._MediaSubType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Set_MediaSubType(&self, mediasubtypeguid: *const windows_core::GUID) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Set_MediaSubType)(windows_core::Interface::as_raw(self), mediasubtypeguid).ok() } pub unsafe fn MediaFormatType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaFormatType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMediaFormatType(&self, mediaformattype: P0) -> windows_core::Result<()> @@ -1392,7 +1392,7 @@ impl IComponentType { (windows_core::Interface::vtable(self).SetMediaFormatType)(windows_core::Interface::as_raw(self), mediaformattype.param().abi()).ok() } pub unsafe fn _MediaFormatType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._MediaFormatType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Set_MediaFormatType(&self, mediaformattypeguid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1400,7 +1400,7 @@ impl IComponentType { } #[cfg(feature = "Win32_Media_MediaFoundation")] pub unsafe fn MediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -1409,7 +1409,7 @@ impl IComponentType { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1419,16 +1419,16 @@ pub struct IComponentType_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::ComponentCategory) -> windows_core::HRESULT, pub SetCategory: unsafe extern "system" fn(*mut core::ffi::c_void, super::ComponentCategory) -> windows_core::HRESULT, - pub MediaMajorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMediaMajorType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaMajorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMediaMajorType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub _MediaMajorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Set_MediaMajorType: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, - pub MediaSubType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMediaSubType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaSubType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMediaSubType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub _MediaSubType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Set_MediaSubType: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, - pub MediaFormatType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMediaFormatType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaFormatType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMediaFormatType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub _MediaFormatType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Set_MediaFormatType: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -1450,7 +1450,7 @@ windows_core::imp::define_interface!(IComponentTypes, IComponentTypes_Vtbl, 0x0d impl std::ops::Deref for IComponentTypes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1458,16 +1458,16 @@ windows_core::imp::interface_hierarchy!(IComponentTypes, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IComponentTypes { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumComponentTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumComponentTypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1475,7 +1475,7 @@ impl IComponentTypes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1491,7 +1491,7 @@ impl IComponentTypes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), componenttype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, index: P0) -> windows_core::Result<()> @@ -1502,7 +1502,7 @@ impl IComponentTypes { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1517,18 +1517,18 @@ pub struct IComponentTypes_Vtbl { _NewEnum: usize, pub EnumComponentTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] put_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1540,7 +1540,7 @@ windows_core::imp::define_interface!(IComponents, IComponents_Vtbl, 0x39a48091_f impl std::ops::Deref for IComponents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1548,16 +1548,16 @@ windows_core::imp::interface_hierarchy!(IComponents, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IComponents { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumComponents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumComponents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1565,7 +1565,7 @@ impl IComponents { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1573,7 +1573,7 @@ impl IComponents { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), component.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, index: P0) -> windows_core::Result<()> @@ -1584,7 +1584,7 @@ impl IComponents { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1607,20 +1607,20 @@ pub struct IComponents_Vtbl { _NewEnum: usize, pub EnumComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Clone: usize, #[cfg(feature = "Win32_System_Com")] - pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] put_Item: usize, } @@ -1630,7 +1630,7 @@ windows_core::imp::define_interface!(IComponentsOld, IComponentsOld_Vtbl, 0xfcd0 impl std::ops::Deref for IComponentsOld { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1638,16 +1638,16 @@ windows_core::imp::interface_hierarchy!(IComponentsOld, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IComponentsOld { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumComponents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumComponents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1655,7 +1655,7 @@ impl IComponentsOld { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1663,7 +1663,7 @@ impl IComponentsOld { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), component.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, index: P0) -> windows_core::Result<()> @@ -1674,7 +1674,7 @@ impl IComponentsOld { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1689,14 +1689,14 @@ pub struct IComponentsOld_Vtbl { _NewEnum: usize, pub EnumComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1706,7 +1706,7 @@ windows_core::imp::define_interface!(ICreatePropBagOnRegKey, ICreatePropBagOnReg impl std::ops::Deref for ICreatePropBagOnRegKey { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreatePropBagOnRegKey, windows_core::IUnknown); @@ -1732,27 +1732,27 @@ windows_core::imp::define_interface!(IDTFilter, IDTFilter_Vtbl, 0xc4c4c4b2_0049_ impl std::ops::Deref for IDTFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDTFilter, windows_core::IUnknown); impl IDTFilter { pub unsafe fn EvalRatObjOK(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EvalRatObjOK)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pensystem, penrating, plbfenattr).ok() } pub unsafe fn get_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_BlockedRatingAttributes)(windows_core::Interface::as_raw(self), ensystem, enlevel, &mut result__).map(|| result__) } pub unsafe fn put_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel, lbfattrs: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).put_BlockedRatingAttributes)(windows_core::Interface::as_raw(self), ensystem, enlevel, lbfattrs).ok() } pub unsafe fn BlockUnRated(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockUnRated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBlockUnRated(&self, fblockunratedshows: P0) -> windows_core::Result<()> @@ -1762,7 +1762,7 @@ impl IDTFilter { (windows_core::Interface::vtable(self).SetBlockUnRated)(windows_core::Interface::as_raw(self), fblockunratedshows.param().abi()).ok() } pub unsafe fn BlockUnRatedDelay(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockUnRatedDelay)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBlockUnRatedDelay(&self, msecsdelaybeforeblock: i32) -> windows_core::Result<()> { @@ -1785,17 +1785,17 @@ windows_core::imp::define_interface!(IDTFilter2, IDTFilter2_Vtbl, 0xc4c4c4b4_004 impl std::ops::Deref for IDTFilter2 { type Target = IDTFilter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDTFilter2, windows_core::IUnknown, IDTFilter); impl IDTFilter2 { pub unsafe fn ChallengeUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChallengeUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrLicenseExpDate(&self, prottype: *const ProtType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrLicenseExpDate)(windows_core::Interface::as_raw(self), prottype, &mut result__).map(|| result__) } pub unsafe fn GetLastErrorCode(&self) -> windows_core::Result<()> { @@ -1805,7 +1805,7 @@ impl IDTFilter2 { #[repr(C)] pub struct IDTFilter2_Vtbl { pub base__: IDTFilter_Vtbl, - pub ChallengeUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChallengeUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCurrLicenseExpDate: unsafe extern "system" fn(*mut core::ffi::c_void, *const ProtType, *mut i32) -> windows_core::HRESULT, pub GetLastErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1813,17 +1813,17 @@ windows_core::imp::define_interface!(IDTFilter3, IDTFilter3_Vtbl, 0x513998cc_e92 impl std::ops::Deref for IDTFilter3 { type Target = IDTFilter2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDTFilter3, windows_core::IUnknown, IDTFilter, IDTFilter2); impl IDTFilter3 { pub unsafe fn GetProtectionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtectionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LicenseHasExpirationDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LicenseHasExpirationDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRights(&self, bstrrights: P0) -> windows_core::Result<()> @@ -1838,19 +1838,19 @@ pub struct IDTFilter3_Vtbl { pub base__: IDTFilter2_Vtbl, pub GetProtectionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ProtType) -> windows_core::HRESULT, pub LicenseHasExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub SetRights: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRights: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDTFilterConfig, IDTFilterConfig_Vtbl, 0xc4c4c4d2_0049_4e2b_98fb_9537f6ce516d); impl std::ops::Deref for IDTFilterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDTFilterConfig, windows_core::IUnknown); impl IDTFilterConfig { pub unsafe fn GetSecureChannelObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecureChannelObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1865,7 +1865,7 @@ windows_core::imp::define_interface!(IDTFilterEvents, IDTFilterEvents_Vtbl, 0xc4 impl std::ops::Deref for IDTFilterEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1881,7 +1881,7 @@ windows_core::imp::define_interface!(IDTFilterLicenseRenewal, IDTFilterLicenseRe impl std::ops::Deref for IDTFilterLicenseRenewal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDTFilterLicenseRenewal, windows_core::IUnknown); @@ -1901,7 +1901,7 @@ windows_core::imp::define_interface!(IDVBCLocator, IDVBCLocator_Vtbl, 0x6e42f36e impl std::ops::Deref for IDVBCLocator { type Target = IDigitalLocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1919,7 +1919,7 @@ windows_core::imp::define_interface!(IDVBSLocator, IDVBSLocator_Vtbl, 0x3d7c353c impl std::ops::Deref for IDVBSLocator { type Target = IDigitalLocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1927,14 +1927,14 @@ windows_core::imp::interface_hierarchy!(IDVBSLocator, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IDVBSLocator { pub unsafe fn SignalPolarisation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignalPolarisation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSignalPolarisation(&self, polarisationval: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WestPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWestPosition(&self, westlongitude: P0) -> windows_core::Result<()> @@ -1944,21 +1944,21 @@ impl IDVBSLocator { (windows_core::Interface::vtable(self).SetWestPosition)(windows_core::Interface::as_raw(self), westlongitude.param().abi()).ok() } pub unsafe fn OrbitalPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OrbitalPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Azimuth)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Elevation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetElevation(&self, elevation: i32) -> windows_core::Result<()> { @@ -1986,7 +1986,7 @@ windows_core::imp::define_interface!(IDVBSLocator2, IDVBSLocator2_Vtbl, 0x604463 impl std::ops::Deref for IDVBSLocator2 { type Target = IDVBSLocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1994,49 +1994,49 @@ windows_core::imp::interface_hierarchy!(IDVBSLocator2, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IDVBSLocator2 { pub unsafe fn DiseqLNBSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiseqLNBSource)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDiseqLNBSource(&self, diseqlnbsourceval: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalOscillatorOverrideLow)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalOscillatorOverrideHigh)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalLNBSwitchOverride)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalSpectralInversionOverride)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLocalSpectralInversionOverride(&self, localspectralinversionoverrideval: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignalRollOff)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSignalRollOff(&self, rolloffval: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignalPilot)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSignalPilot(&self, pilotval: super::Pilot) -> windows_core::Result<()> { @@ -2068,7 +2068,7 @@ windows_core::imp::define_interface!(IDVBSTuningSpace, IDVBSTuningSpace_Vtbl, 0x impl std::ops::Deref for IDVBSTuningSpace { type Target = IDVBTuningSpace2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2076,28 +2076,28 @@ windows_core::imp::interface_hierarchy!(IDVBSTuningSpace, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IDVBSTuningSpace { pub unsafe fn LowOscillator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LowOscillator)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HighOscillator)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LNBSwitch)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLNBSwitch(&self, lnbswitch: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetLNBSwitch)(windows_core::Interface::as_raw(self), lnbswitch).ok() } pub unsafe fn InputRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InputRange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputRange(&self, inputrange: P0) -> windows_core::Result<()> @@ -2107,7 +2107,7 @@ impl IDVBSTuningSpace { (windows_core::Interface::vtable(self).SetInputRange)(windows_core::Interface::as_raw(self), inputrange.param().abi()).ok() } pub unsafe fn SpectralInversion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SpectralInversion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSpectralInversion(&self, spectralinversionval: super::SpectralInversion) -> windows_core::Result<()> { @@ -2124,8 +2124,8 @@ pub struct IDVBSTuningSpace_Vtbl { pub SetHighOscillator: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub LNBSwitch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLNBSwitch: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub InputRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInputRange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InputRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInputRange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SpectralInversion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::SpectralInversion) -> windows_core::HRESULT, pub SetSpectralInversion: unsafe extern "system" fn(*mut core::ffi::c_void, super::SpectralInversion) -> windows_core::HRESULT, } @@ -2135,7 +2135,7 @@ windows_core::imp::define_interface!(IDVBTLocator, IDVBTLocator_Vtbl, 0x8664da16 impl std::ops::Deref for IDVBTLocator { type Target = IDigitalLocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2143,49 +2143,49 @@ windows_core::imp::interface_hierarchy!(IDVBTLocator, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IDVBTLocator { pub unsafe fn Bandwidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bandwidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LPInnerFEC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLPInnerFEC(&self, fec: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LPInnerFECRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLPInnerFECRate(&self, fec: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HAlpha)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHAlpha(&self, alpha: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Guard)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGuard(&self, gi: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Mode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMode(&self, mode: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OtherFrequencyInUse)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOtherFrequencyInUse(&self, otherfrequencyinuseval: P0) -> windows_core::Result<()> @@ -2220,7 +2220,7 @@ windows_core::imp::define_interface!(IDVBTLocator2, IDVBTLocator2_Vtbl, 0x448a2e impl std::ops::Deref for IDVBTLocator2 { type Target = IDVBTLocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2228,7 +2228,7 @@ windows_core::imp::interface_hierarchy!(IDVBTLocator2, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IDVBTLocator2 { pub unsafe fn PhysicalLayerPipeId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhysicalLayerPipeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPhysicalLayerPipeId(&self, physicallayerpipeidval: i32) -> windows_core::Result<()> { @@ -2248,7 +2248,7 @@ windows_core::imp::define_interface!(IDVBTuneRequest, IDVBTuneRequest_Vtbl, 0x0d impl std::ops::Deref for IDVBTuneRequest { type Target = ITuneRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2256,21 +2256,21 @@ windows_core::imp::interface_hierarchy!(IDVBTuneRequest, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IDVBTuneRequest { pub unsafe fn ONID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ONID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSID(&self, sid: i32) -> windows_core::Result<()> { @@ -2294,7 +2294,7 @@ windows_core::imp::define_interface!(IDVBTuningSpace, IDVBTuningSpace_Vtbl, 0xad impl std::ops::Deref for IDVBTuningSpace { type Target = ITuningSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2302,7 +2302,7 @@ windows_core::imp::interface_hierarchy!(IDVBTuningSpace, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IDVBTuningSpace { pub unsafe fn SystemType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SystemType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSystemType(&self, systype: super::DVBSystemType) -> windows_core::Result<()> { @@ -2322,7 +2322,7 @@ windows_core::imp::define_interface!(IDVBTuningSpace2, IDVBTuningSpace2_Vtbl, 0x impl std::ops::Deref for IDVBTuningSpace2 { type Target = IDVBTuningSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2330,7 +2330,7 @@ windows_core::imp::interface_hierarchy!(IDVBTuningSpace2, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IDVBTuningSpace2 { pub unsafe fn NetworkID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNetworkID(&self, networkid: i32) -> windows_core::Result<()> { @@ -2348,7 +2348,7 @@ windows_core::imp::define_interface!(IDVB_BAT, IDVB_BAT_Vtbl, 0xece9bb0c_43b6_45 impl std::ops::Deref for IDVB_BAT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_BAT, windows_core::IUnknown); @@ -2361,15 +2361,15 @@ impl IDVB_BAT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBouquetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBouquetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32, ppdescriptor: *const Option) -> windows_core::Result<()> { @@ -2379,23 +2379,23 @@ impl IDVB_BAT { (windows_core::Interface::vtable(self).GetTableDescriptorByTag)(windows_core::Interface::as_raw(self), btag, core::mem::transmute(pdwcookie.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordTransportStreamId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTransportStreamId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordOriginalNetworkId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordOriginalNetworkId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -2408,7 +2408,7 @@ impl IDVB_BAT { (windows_core::Interface::vtable(self).RegisterForNextTable)(windows_core::Interface::as_raw(self), hnexttableavailable.param().abi()).ok() } pub unsafe fn GetNextTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForWhenCurrent(&self, hnexttableiscurrent: P0) -> windows_core::Result<()> @@ -2445,7 +2445,7 @@ windows_core::imp::define_interface!(IDVB_DIT, IDVB_DIT_Vtbl, 0x91bffdf9_9432_41 impl std::ops::Deref for IDVB_DIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_DIT, windows_core::IUnknown); @@ -2457,7 +2457,7 @@ impl IDVB_DIT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi()).ok() } pub unsafe fn GetTransitionFlag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransitionFlag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2471,7 +2471,7 @@ windows_core::imp::define_interface!(IDVB_EIT, IDVB_EIT_Vtbl, 0x442db029_02cb_44 impl std::ops::Deref for IDVB_EIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_EIT, windows_core::IUnknown); @@ -2484,59 +2484,59 @@ impl IDVB_EIT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransportStreamId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportStreamId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginalNetworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalNetworkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSegmentLastSectionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSegmentLastSectionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastTableId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastTableId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordEventId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordEventId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordStartTime(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordStartTime)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDuration(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDuration)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordRunningStatus)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordFreeCAMode(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordFreeCAMode)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -2549,7 +2549,7 @@ impl IDVB_EIT { (windows_core::Interface::vtable(self).RegisterForNextTable)(windows_core::Interface::as_raw(self), hnexttableavailable.param().abi()).ok() } pub unsafe fn GetNextTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForWhenCurrent(&self, hnexttableiscurrent: P0) -> windows_core::Result<()> @@ -2562,7 +2562,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2595,7 +2595,7 @@ windows_core::imp::define_interface!(IDVB_EIT2, IDVB_EIT2_Vtbl, 0x61a389e0_9b9e_ impl std::ops::Deref for IDVB_EIT2 { type Target = IDVB_EIT; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_EIT2, windows_core::IUnknown, IDVB_EIT); @@ -2604,7 +2604,7 @@ impl IDVB_EIT2 { (windows_core::Interface::vtable(self).GetSegmentInfo)(windows_core::Interface::as_raw(self), pbtid, pbsegment).ok() } pub unsafe fn GetRecordSection(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordSection)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } } @@ -2618,7 +2618,7 @@ windows_core::imp::define_interface!(IDVB_NIT, IDVB_NIT_Vtbl, 0xc64935f4_29e4_4e impl std::ops::Deref for IDVB_NIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_NIT, windows_core::IUnknown); @@ -2631,42 +2631,42 @@ impl IDVB_NIT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNetworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTableDescriptorByTag)(windows_core::Interface::as_raw(self), btag, core::mem::transmute(pdwcookie.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordTransportStreamId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTransportStreamId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordOriginalNetworkId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordOriginalNetworkId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -2679,7 +2679,7 @@ impl IDVB_NIT { (windows_core::Interface::vtable(self).RegisterForNextTable)(windows_core::Interface::as_raw(self), hnexttableavailable.param().abi()).ok() } pub unsafe fn GetNextTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForWhenCurrent(&self, hnexttableiscurrent: P0) -> windows_core::Result<()> @@ -2692,7 +2692,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2721,7 +2721,7 @@ windows_core::imp::define_interface!(IDVB_RST, IDVB_RST_Vtbl, 0xf47dcd04_1e23_4f impl std::ops::Deref for IDVB_RST { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_RST, windows_core::IUnknown); @@ -2733,27 +2733,27 @@ impl IDVB_RST { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi()).ok() } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordTransportStreamId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTransportStreamId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordOriginalNetworkId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordOriginalNetworkId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordEventId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordEventId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordRunningStatus)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } } @@ -2772,7 +2772,7 @@ windows_core::imp::define_interface!(IDVB_SDT, IDVB_SDT_Vtbl, 0x02cad8d3_fe43_48 impl std::ops::Deref for IDVB_SDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_SDT, windows_core::IUnknown); @@ -2785,47 +2785,47 @@ impl IDVB_SDT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransportStreamId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportStreamId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginalNetworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalNetworkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordEITScheduleFlag(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordEITScheduleFlag)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordEITPresentFollowingFlag(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordEITPresentFollowingFlag)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordRunningStatus)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordFreeCAMode(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordFreeCAMode)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -2838,7 +2838,7 @@ impl IDVB_SDT { (windows_core::Interface::vtable(self).RegisterForNextTable)(windows_core::Interface::as_raw(self), hnexttableavailable.param().abi()).ok() } pub unsafe fn GetNextTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForWhenCurrent(&self, hnexttableiscurrent: P0) -> windows_core::Result<()> @@ -2851,7 +2851,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2881,7 +2881,7 @@ windows_core::imp::define_interface!(IDVB_SIT, IDVB_SIT_Vtbl, 0x68cdce53_8bea_45 impl std::ops::Deref for IDVB_SIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_SIT, windows_core::IUnknown); @@ -2894,38 +2894,38 @@ impl IDVB_SIT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTableDescriptorByTag)(windows_core::Interface::as_raw(self), btag, core::mem::transmute(pdwcookie.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordRunningStatus(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordRunningStatus)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -2938,7 +2938,7 @@ impl IDVB_SIT { (windows_core::Interface::vtable(self).RegisterForNextTable)(windows_core::Interface::as_raw(self), hnexttableavailable.param().abi()).ok() } pub unsafe fn GetNextTable(&self, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextTable)(windows_core::Interface::as_raw(self), dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForWhenCurrent(&self, hnexttableiscurrent: P0) -> windows_core::Result<()> @@ -2974,7 +2974,7 @@ windows_core::imp::define_interface!(IDVB_ST, IDVB_ST_Vtbl, 0x4d5b9f23_2a02_45de impl std::ops::Deref for IDVB_ST { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_ST, windows_core::IUnknown); @@ -2986,11 +2986,11 @@ impl IDVB_ST { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi()).ok() } pub unsafe fn GetDataLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetData(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3005,7 +3005,7 @@ windows_core::imp::define_interface!(IDVB_TDT, IDVB_TDT_Vtbl, 0x0780dc7d_d55c_4a impl std::ops::Deref for IDVB_TDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_TDT, windows_core::IUnknown); @@ -3017,7 +3017,7 @@ impl IDVB_TDT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi()).ok() } pub unsafe fn GetUTCTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUTCTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3031,7 +3031,7 @@ windows_core::imp::define_interface!(IDVB_TOT, IDVB_TOT_Vtbl, 0x83295d6a_faba_4e impl std::ops::Deref for IDVB_TOT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVB_TOT, windows_core::IUnknown); @@ -3043,15 +3043,15 @@ impl IDVB_TOT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi()).ok() } pub unsafe fn GetUTCTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUTCTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -3073,7 +3073,7 @@ windows_core::imp::define_interface!(IDigitalCableLocator, IDigitalCableLocator_ impl std::ops::Deref for IDigitalCableLocator { type Target = IATSCLocator2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3091,7 +3091,7 @@ windows_core::imp::define_interface!(IDigitalCableTuneRequest, IDigitalCableTune impl std::ops::Deref for IDigitalCableTuneRequest { type Target = IATSCChannelTuneRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3099,14 +3099,14 @@ windows_core::imp::interface_hierarchy!(IDigitalCableTuneRequest, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IDigitalCableTuneRequest { pub unsafe fn MajorChannel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSourceID(&self, sourceid: i32) -> windows_core::Result<()> { @@ -3128,7 +3128,7 @@ windows_core::imp::define_interface!(IDigitalCableTuningSpace, IDigitalCableTuni impl std::ops::Deref for IDigitalCableTuningSpace { type Target = IATSCTuningSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3136,28 +3136,28 @@ windows_core::imp::interface_hierarchy!(IDigitalCableTuningSpace, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IDigitalCableTuningSpace { pub unsafe fn MinMajorChannel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinMajorChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxMajorChannel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinSourceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxSourceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxSourceID(&self, newmaxsourceidval: i32) -> windows_core::Result<()> { @@ -3183,7 +3183,7 @@ windows_core::imp::define_interface!(IDigitalLocator, IDigitalLocator_Vtbl, 0x19 impl std::ops::Deref for IDigitalLocator { type Target = ILocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3199,37 +3199,37 @@ windows_core::imp::define_interface!(IDvbCableDeliverySystemDescriptor, IDvbCabl impl std::ops::Deref for IDvbCableDeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbCableDeliverySystemDescriptor, windows_core::IUnknown); impl IDvbCableDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFECOuter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFECOuter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetModulation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModulation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSymbolRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFECInner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFECInner)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3248,36 +3248,36 @@ windows_core::imp::define_interface!(IDvbComponentDescriptor, IDvbComponentDescr impl std::ops::Deref for IDvbComponentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbComponentDescriptor, windows_core::IUnknown); impl IDvbComponentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamContent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetComponentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetComponentTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(pszcode.as_ptr())).ok() } pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3290,27 +3290,27 @@ pub struct IDvbComponentDescriptor_Vtbl { pub GetComponentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetComponentTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbContentDescriptor, IDvbContentDescriptor_Vtbl, 0x2e883881_a467_412a_9d63_6f2b6da05bf0); impl std::ops::Deref for IDvbContentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbContentDescriptor, windows_core::IUnknown); impl IDvbContentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordContentNibbles(&self, brecordindex: u8, pbvallevel1: *mut u8, pbvallevel2: *mut u8) -> windows_core::Result<()> { @@ -3333,21 +3333,21 @@ windows_core::imp::define_interface!(IDvbContentIdentifierDescriptor, IDvbConten impl std::ops::Deref for IDvbContentIdentifierDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbContentIdentifierDescriptor, windows_core::IUnknown); impl IDvbContentIdentifierDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordCrid(&self, brecordindex: u8, pbtype: *mut u8, pblocation: *mut u8, pblength: *mut u8, ppbbytes: *mut *mut u8) -> windows_core::Result<()> { @@ -3366,40 +3366,40 @@ windows_core::imp::define_interface!(IDvbDataBroadcastDescriptor, IDvbDataBroadc impl std::ops::Deref for IDvbDataBroadcastDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbDataBroadcastDescriptor, windows_core::IUnknown); impl IDvbDataBroadcastDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataBroadcastID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataBroadcastID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetComponentTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSelectorLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectorLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pblen, pbval).ok() } pub unsafe fn GetLangID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLangID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetText(&self, pblen: *mut u8, pbval: *mut u8) -> windows_core::Result<()> { @@ -3423,21 +3423,21 @@ windows_core::imp::define_interface!(IDvbDataBroadcastIDDescriptor, IDvbDataBroa impl std::ops::Deref for IDvbDataBroadcastIDDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbDataBroadcastIDDescriptor, windows_core::IUnknown); impl IDvbDataBroadcastIDDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataBroadcastID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataBroadcastID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIDSelectorBytes(&self, pblen: *mut u8, pbval: *mut u8) -> windows_core::Result<()> { @@ -3456,17 +3456,17 @@ windows_core::imp::define_interface!(IDvbDefaultAuthorityDescriptor, IDvbDefault impl std::ops::Deref for IDvbDefaultAuthorityDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbDefaultAuthorityDescriptor, windows_core::IUnknown); impl IDvbDefaultAuthorityDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDefaultAuthority(&self, pblength: *mut u8, ppbbytes: *mut *mut u8) -> windows_core::Result<()> { @@ -3484,32 +3484,32 @@ windows_core::imp::define_interface!(IDvbExtendedEventDescriptor, IDvbExtendedEv impl std::ops::Deref for IDvbExtendedEventDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbExtendedEventDescriptor, windows_core::IUnknown); impl IDvbExtendedEventDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescriptorNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescriptorNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastDescriptorNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastDescriptorNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(pszcode.as_ptr())).ok() } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordItemW(&self, brecordindex: u8, convmode: DVB_STRCONV_MODE, pbstrdesc: *mut windows_core::BSTR, pbstritem: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -3522,14 +3522,14 @@ impl IDvbExtendedEventDescriptor { (windows_core::Interface::vtable(self).GetConcatenatedItemW)(windows_core::Interface::as_raw(self), pfollowingdescriptor.param().abi(), convmode, core::mem::transmute(pbstrdesc), core::mem::transmute(pbstritem)).ok() } pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConcatenatedTextW(&self, followingdescriptor: P0, convmode: DVB_STRCONV_MODE) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConcatenatedTextW)(windows_core::Interface::as_raw(self), followingdescriptor.param().abi(), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordItemRawBytes(&self, brecordindex: u8, ppbrawitem: *mut *mut u8, pbitemlength: *mut u8) -> windows_core::Result<()> { @@ -3545,39 +3545,39 @@ pub struct IDvbExtendedEventDescriptor_Vtbl { pub GetLastDescriptorNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub GetRecordItemW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetConcatenatedItemW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetConcatenatedTextW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRecordItemW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConcatenatedItemW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConcatenatedTextW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetRecordItemRawBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbFrequencyListDescriptor, IDvbFrequencyListDescriptor_Vtbl, 0x1cadb613_e1dd_4512_afa8_bb7a007ef8b1); impl std::ops::Deref for IDvbFrequencyListDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbFrequencyListDescriptor, windows_core::IUnknown); impl IDvbFrequencyListDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCodingType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodingType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordCentreFrequency(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCentreFrequency)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } } @@ -3594,7 +3594,7 @@ windows_core::imp::define_interface!(IDvbHDSimulcastLogicalChannelDescriptor, ID impl std::ops::Deref for IDvbHDSimulcastLogicalChannelDescriptor { type Target = IDvbLogicalChannelDescriptor2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbHDSimulcastLogicalChannelDescriptor, windows_core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); @@ -3607,37 +3607,37 @@ windows_core::imp::define_interface!(IDvbLinkageDescriptor, IDvbLinkageDescripto impl std::ops::Deref for IDvbLinkageDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbLinkageDescriptor, windows_core::IUnknown); impl IDvbLinkageDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTSId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTSId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetONId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetONId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLinkageType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLinkageType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPrivateDataLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrivateDataLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPrivateData(&self, pblen: *mut u8, pbdata: *mut u8) -> windows_core::Result<()> { @@ -3660,40 +3660,40 @@ windows_core::imp::define_interface!(IDvbLogicalChannel2Descriptor, IDvbLogicalC impl std::ops::Deref for IDvbLogicalChannel2Descriptor { type Target = IDvbLogicalChannelDescriptor2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbLogicalChannel2Descriptor, windows_core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); impl IDvbLogicalChannel2Descriptor { pub unsafe fn GetCountOfLists(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfLists)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetListId(&self, blistindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListId)(windows_core::Interface::as_raw(self), blistindex, &mut result__).map(|| result__) } pub unsafe fn GetListNameW(&self, blistindex: u8, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListNameW)(windows_core::Interface::as_raw(self), blistindex, convmode, &mut result__).and_then(|| windows_core::Type::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(pszcode.as_ptr())).ok() } pub unsafe fn GetListCountOfRecords(&self, bchannellistindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListCountOfRecords)(windows_core::Interface::as_raw(self), bchannellistindex, &mut result__).map(|| result__) } pub unsafe fn GetListRecordServiceId(&self, blistindex: u8, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListRecordServiceId)(windows_core::Interface::as_raw(self), blistindex, brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetListRecordLogicalChannelNumber(&self, blistindex: u8, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListRecordLogicalChannelNumber)(windows_core::Interface::as_raw(self), blistindex, brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetListRecordLogicalChannelAndVisibility(&self, blistindex: u8, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListRecordLogicalChannelAndVisibility)(windows_core::Interface::as_raw(self), blistindex, brecordindex, &mut result__).map(|| result__) } } @@ -3702,7 +3702,7 @@ pub struct IDvbLogicalChannel2Descriptor_Vtbl { pub base__: IDvbLogicalChannelDescriptor2_Vtbl, pub GetCountOfLists: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetListId: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, - pub GetListNameW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetListNameW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetListCountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, pub GetListCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, pub GetListRecordServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut u16) -> windows_core::HRESULT, @@ -3713,29 +3713,29 @@ windows_core::imp::define_interface!(IDvbLogicalChannelDescriptor, IDvbLogicalCh impl std::ops::Deref for IDvbLogicalChannelDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbLogicalChannelDescriptor, windows_core::IUnknown); impl IDvbLogicalChannelDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceId(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceId)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordLogicalChannelNumber(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordLogicalChannelNumber)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } } @@ -3752,13 +3752,13 @@ windows_core::imp::define_interface!(IDvbLogicalChannelDescriptor2, IDvbLogicalC impl std::ops::Deref for IDvbLogicalChannelDescriptor2 { type Target = IDvbLogicalChannelDescriptor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbLogicalChannelDescriptor2, windows_core::IUnknown, IDvbLogicalChannelDescriptor); impl IDvbLogicalChannelDescriptor2 { pub unsafe fn GetRecordLogicalChannelAndVisibility(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordLogicalChannelAndVisibility)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } } @@ -3771,33 +3771,33 @@ windows_core::imp::define_interface!(IDvbMultilingualServiceNameDescriptor, IDvb impl std::ops::Deref for IDvbMultilingualServiceNameDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbMultilingualServiceNameDescriptor, windows_core::IUnknown); impl IDvbMultilingualServiceNameDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordLangId(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordLangId)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceProviderNameW(&self, brecordindex: u8, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceProviderNameW)(windows_core::Interface::as_raw(self), brecordindex, convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordServiceNameW(&self, brecordindex: u8, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceNameW)(windows_core::Interface::as_raw(self), brecordindex, convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3808,32 +3808,32 @@ pub struct IDvbMultilingualServiceNameDescriptor_Vtbl { pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRecordLangId: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32) -> windows_core::HRESULT, - pub GetRecordServiceProviderNameW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRecordServiceNameW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRecordServiceProviderNameW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRecordServiceNameW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbNetworkNameDescriptor, IDvbNetworkNameDescriptor_Vtbl, 0x5b2a80cf_35b9_446c_b3e4_048b761dbc51); impl std::ops::Deref for IDvbNetworkNameDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbNetworkNameDescriptor, windows_core::IUnknown); impl IDvbNetworkNameDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNetworkName(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNetworkNameW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkNameW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3843,27 +3843,27 @@ pub struct IDvbNetworkNameDescriptor_Vtbl { pub GetTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetNetworkName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, - pub GetNetworkNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNetworkNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbParentalRatingDescriptor, IDvbParentalRatingDescriptor_Vtbl, 0x3ad9dde1_fb1b_4186_937f_22e6b5a72a10); impl std::ops::Deref for IDvbParentalRatingDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbParentalRatingDescriptor, windows_core::IUnknown); impl IDvbParentalRatingDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordRating(&self, brecordindex: u8, pszcountrycode: &mut [u8; 4], pbval: *mut u8) -> windows_core::Result<()> { @@ -3882,21 +3882,21 @@ windows_core::imp::define_interface!(IDvbPrivateDataSpecifierDescriptor, IDvbPri impl std::ops::Deref for IDvbPrivateDataSpecifierDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbPrivateDataSpecifierDescriptor, windows_core::IUnknown); impl IDvbPrivateDataSpecifierDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPrivateDataSpecifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrivateDataSpecifier)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3911,45 +3911,45 @@ windows_core::imp::define_interface!(IDvbSatelliteDeliverySystemDescriptor, IDvb impl std::ops::Deref for IDvbSatelliteDeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbSatelliteDeliverySystemDescriptor, windows_core::IUnknown); impl IDvbSatelliteDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOrbitalPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOrbitalPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWestEastFlag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWestEastFlag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPolarization(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolarization)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetModulation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModulation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSymbolRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFECInner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFECInner)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3970,33 +3970,33 @@ windows_core::imp::define_interface!(IDvbServiceAttributeDescriptor, IDvbService impl std::ops::Deref for IDvbServiceAttributeDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbServiceAttributeDescriptor, windows_core::IUnknown); impl IDvbServiceAttributeDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceId(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceId)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordNumericSelectionFlag(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordNumericSelectionFlag)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordVisibleServiceFlag(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordVisibleServiceFlag)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } } @@ -4014,41 +4014,41 @@ windows_core::imp::define_interface!(IDvbServiceDescriptor, IDvbServiceDescripto impl std::ops::Deref for IDvbServiceDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbServiceDescriptor, windows_core::IUnknown); impl IDvbServiceDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceProviderName(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceProviderName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceProviderNameW(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceProviderNameW)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetServiceName(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessedServiceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessedServiceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetServiceNameEmphasized(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceNameEmphasized)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4059,62 +4059,62 @@ pub struct IDvbServiceDescriptor_Vtbl { pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetServiceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetServiceProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, - pub GetServiceProviderNameW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetServiceProviderNameW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, - pub GetProcessedServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetServiceNameEmphasized: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProcessedServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetServiceNameEmphasized: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbServiceDescriptor2, IDvbServiceDescriptor2_Vtbl, 0xd6c76506_85ab_487c_9b2b_36416511e4a2); impl std::ops::Deref for IDvbServiceDescriptor2 { type Target = IDvbServiceDescriptor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbServiceDescriptor2, windows_core::IUnknown, IDvbServiceDescriptor); impl IDvbServiceDescriptor2 { pub unsafe fn GetServiceProviderNameW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceProviderNameW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetServiceNameW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceNameW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDvbServiceDescriptor2_Vtbl { pub base__: IDvbServiceDescriptor_Vtbl, - pub GetServiceProviderNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetServiceNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetServiceProviderNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetServiceNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbServiceListDescriptor, IDvbServiceListDescriptor_Vtbl, 0x05db0d8f_6008_491a_acd3_7090952707d0); impl std::ops::Deref for IDvbServiceListDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbServiceListDescriptor, windows_core::IUnknown); impl IDvbServiceListDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceId(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceId)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceType(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceType)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } } @@ -4131,28 +4131,28 @@ windows_core::imp::define_interface!(IDvbShortEventDescriptor, IDvbShortEventDes impl std::ops::Deref for IDvbShortEventDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbShortEventDescriptor, windows_core::IUnknown); impl IDvbShortEventDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(pszcode.as_ptr())).ok() } pub unsafe fn GetEventNameW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventNameW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4162,14 +4162,14 @@ pub struct IDvbShortEventDescriptor_Vtbl { pub GetTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub GetEventNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEventNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbSiParser, IDvbSiParser_Vtbl, 0xb758a7bd_14dc_449d_b828_35909acb3b1e); impl std::ops::Deref for IDvbSiParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbSiParser, windows_core::IUnknown); @@ -4181,59 +4181,59 @@ impl IDvbSiParser { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), punkmpeg2data.param().abi()).ok() } pub unsafe fn GetPAT(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPAT)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCAT(&self, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAT)(windows_core::Interface::as_raw(self), dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPMT(&self, pid: u16, pwprogramnumber: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPMT)(windows_core::Interface::as_raw(self), pid, core::mem::transmute(pwprogramnumber.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTSDT(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTSDT)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNIT(&self, tableid: u8, pwnetworkid: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNIT)(windows_core::Interface::as_raw(self), tableid, core::mem::transmute(pwnetworkid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSDT(&self, tableid: u8, pwtransportstreamid: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSDT)(windows_core::Interface::as_raw(self), tableid, core::mem::transmute(pwtransportstreamid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEIT(&self, tableid: u8, pwserviceid: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEIT)(windows_core::Interface::as_raw(self), tableid, core::mem::transmute(pwserviceid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBAT(&self, pwbouquetid: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBAT)(windows_core::Interface::as_raw(self), core::mem::transmute(pwbouquetid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRST(&self, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRST)(windows_core::Interface::as_raw(self), dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetST(&self, pid: u16, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetST)(windows_core::Interface::as_raw(self), pid, dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTDT(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTDT)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTOT(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTOT)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDIT(&self, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDIT)(windows_core::Interface::as_raw(self), dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSIT(&self, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSIT)(windows_core::Interface::as_raw(self), dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4260,13 +4260,13 @@ windows_core::imp::define_interface!(IDvbSiParser2, IDvbSiParser2_Vtbl, 0x0ac552 impl std::ops::Deref for IDvbSiParser2 { type Target = IDvbSiParser; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbSiParser2, windows_core::IUnknown, IDvbSiParser); impl IDvbSiParser2 { pub unsafe fn GetEIT2(&self, tableid: u8, pwserviceid: Option<*const u16>, pbsegment: Option<*const u8>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEIT2)(windows_core::Interface::as_raw(self), tableid, core::mem::transmute(pwserviceid.unwrap_or(std::ptr::null())), core::mem::transmute(pbsegment.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4279,37 +4279,37 @@ windows_core::imp::define_interface!(IDvbSubtitlingDescriptor, IDvbSubtitlingDes impl std::ops::Deref for IDvbSubtitlingDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbSubtitlingDescriptor, windows_core::IUnknown); impl IDvbSubtitlingDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordLangId(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordLangId)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordSubtitlingType(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordSubtitlingType)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCompositionPageID(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCompositionPageID)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordAncillaryPageID(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordAncillaryPageID)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } } @@ -4328,37 +4328,37 @@ windows_core::imp::define_interface!(IDvbTeletextDescriptor, IDvbTeletextDescrip impl std::ops::Deref for IDvbTeletextDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbTeletextDescriptor, windows_core::IUnknown); impl IDvbTeletextDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordLangId(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordLangId)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordTeletextType(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTeletextType)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordMagazineNumber(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordMagazineNumber)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordPageNumber(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordPageNumber)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } } @@ -4377,61 +4377,61 @@ windows_core::imp::define_interface!(IDvbTerrestrial2DeliverySystemDescriptor, I impl std::ops::Deref for IDvbTerrestrial2DeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbTerrestrial2DeliverySystemDescriptor, windows_core::IUnknown); impl IDvbTerrestrial2DeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTagExtension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTagExtension)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCentreFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCentreFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPLPId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPLPId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetT2SystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetT2SystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMultipleInputMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMultipleInputMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBandwidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBandwidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGuardInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuardInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransmissionMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransmissionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCellId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOtherFrequencyFlag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherFrequencyFlag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTFSFlag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTFSFlag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4456,53 +4456,53 @@ windows_core::imp::define_interface!(IDvbTerrestrialDeliverySystemDescriptor, ID impl std::ops::Deref for IDvbTerrestrialDeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvbTerrestrialDeliverySystemDescriptor, windows_core::IUnknown); impl IDvbTerrestrialDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCentreFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCentreFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBandwidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBandwidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConstellation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConstellation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHierarchyInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHierarchyInformation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCodeRateHPStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeRateHPStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCodeRateLPStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeRateLPStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGuardInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuardInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransmissionMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransmissionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOtherFrequencyFlag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherFrequencyFlag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4525,13 +4525,13 @@ windows_core::imp::define_interface!(IESCloseMmiEvent, IESCloseMmiEvent_Vtbl, 0x impl std::ops::Deref for IESCloseMmiEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESCloseMmiEvent, windows_core::IUnknown, super::IESEvent); impl IESCloseMmiEvent { pub unsafe fn GetDialogNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDialogNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4544,7 +4544,7 @@ windows_core::imp::define_interface!(IESEventFactory, IESEventFactory_Vtbl, 0x50 impl std::ops::Deref for IESEventFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESEventFactory, windows_core::IUnknown); @@ -4555,20 +4555,20 @@ impl IESEventFactory { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateESEvent)(windows_core::Interface::as_raw(self), pserviceprovider.param().abi(), dweventid, core::mem::transmute(guideventtype), peventdata.len().try_into().unwrap(), core::mem::transmute(peventdata.as_ptr()), bstrbaseurl.param().abi(), pinitcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IESEventFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateESEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::GUID, u32, *const u8, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateESEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::GUID, u32, *const u8, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESEventService, IESEventService_Vtbl, 0xed89a619_4c06_4b2f_99eb_c7669b13047c); impl std::ops::Deref for IESEventService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESEventService, windows_core::IUnknown); @@ -4589,7 +4589,7 @@ windows_core::imp::define_interface!(IESEventServiceConfiguration, IESEventServi impl std::ops::Deref for IESEventServiceConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESEventServiceConfiguration, windows_core::IUnknown); @@ -4639,33 +4639,33 @@ windows_core::imp::define_interface!(IESFileExpiryDateEvent, IESFileExpiryDateEv impl std::ops::Deref for IESFileExpiryDateEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESFileExpiryDateEvent, windows_core::IUnknown, super::IESEvent); impl IESFileExpiryDateEvent { pub unsafe fn GetTunerId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTunerId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpiryDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpiryDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFinalExpiryDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFinalExpiryDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxRenewalCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxRenewalCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsEntitlementTokenPresent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEntitlementTokenPresent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DoesExpireAfterFirstUse(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesExpireAfterFirstUse)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4683,26 +4683,26 @@ windows_core::imp::define_interface!(IESIsdbCasResponseEvent, IESIsdbCasResponse impl std::ops::Deref for IESIsdbCasResponseEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESIsdbCasResponseEvent, windows_core::IUnknown, super::IESEvent); impl IESIsdbCasResponseEvent { pub unsafe fn GetRequestId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetResponseData(&self) -> windows_core::Result<*mut super::super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResponseData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4721,54 +4721,54 @@ windows_core::imp::define_interface!(IESLicenseRenewalResultEvent, IESLicenseRen impl std::ops::Deref for IESLicenseRenewalResultEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESLicenseRenewalResultEvent, windows_core::IUnknown, super::IESEvent); impl IESLicenseRenewalResultEvent { pub unsafe fn GetCallersId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCallersId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsRenewalSuccessful(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRenewalSuccessful)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsCheckEntitlementCallRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCheckEntitlementCallRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescrambledStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescrambledStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRenewalResultCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenewalResultCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCASFailureCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCASFailureCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRenewalHResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenewalHResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEntitlementTokenLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntitlementTokenLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEntitlementToken(&self) -> windows_core::Result<*mut super::super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntitlementToken)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpiryDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpiryDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4776,7 +4776,7 @@ impl IESLicenseRenewalResultEvent { pub struct IESLicenseRenewalResultEvent_Vtbl { pub base__: super::IESEvent_Vtbl, pub GetCallersId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsRenewalSuccessful: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsCheckEntitlementCallRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetDescrambledStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -4794,26 +4794,26 @@ windows_core::imp::define_interface!(IESOpenMmiEvent, IESOpenMmiEvent_Vtbl, 0xba impl std::ops::Deref for IESOpenMmiEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESOpenMmiEvent, windows_core::IUnknown, super::IESEvent); impl IESOpenMmiEvent { pub unsafe fn GetDialogNumber(&self, pdialogrequest: *mut u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDialogNumber)(windows_core::Interface::as_raw(self), pdialogrequest, &mut result__).map(|| result__) } pub unsafe fn GetDialogType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDialogType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDialogData(&self) -> windows_core::Result<*mut super::super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDialogData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDialogStringData(&self, pbstrbaseurl: *mut windows_core::BSTR) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDialogStringData)(windows_core::Interface::as_raw(self), core::mem::transmute(pbstrbaseurl), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4826,31 +4826,31 @@ pub struct IESOpenMmiEvent_Vtbl { pub GetDialogData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetDialogData: usize, - pub GetDialogStringData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDialogStringData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESRequestTunerEvent, IESRequestTunerEvent_Vtbl, 0x54c7a5e8_c3bb_4f51_af14_e0e2c0e34c6d); impl std::ops::Deref for IESRequestTunerEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESRequestTunerEvent, windows_core::IUnknown, super::IESEvent); impl IESRequestTunerEvent { pub unsafe fn GetPriority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetReason(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReason)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConsequences(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConsequences)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEstimatedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEstimatedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4866,14 +4866,14 @@ windows_core::imp::define_interface!(IESValueUpdatedEvent, IESValueUpdatedEvent_ impl std::ops::Deref for IESValueUpdatedEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESValueUpdatedEvent, windows_core::IUnknown, super::IESEvent); impl IESValueUpdatedEvent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetValueNames(&self) -> windows_core::Result<*mut super::super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValueNames)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4889,20 +4889,20 @@ windows_core::imp::define_interface!(IETFilter, IETFilter_Vtbl, 0xc4c4c4b1_0049_ impl std::ops::Deref for IETFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IETFilter, windows_core::IUnknown); impl IETFilter { pub unsafe fn EvalRatObjOK(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EvalRatObjOK)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pensystem, penrating, plbfenattr).ok() } pub unsafe fn GetCurrLicenseExpDate(&self, prottype: *const ProtType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrLicenseExpDate)(windows_core::Interface::as_raw(self), prottype, &mut result__).map(|| result__) } pub unsafe fn GetLastErrorCode(&self) -> windows_core::Result<()> { @@ -4928,7 +4928,7 @@ windows_core::imp::define_interface!(IETFilterConfig, IETFilterConfig_Vtbl, 0xc4 impl std::ops::Deref for IETFilterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IETFilterConfig, windows_core::IUnknown); @@ -4937,7 +4937,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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecureChannelObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4953,7 +4953,7 @@ windows_core::imp::define_interface!(IETFilterEvents, IETFilterEvents_Vtbl, 0xc4 impl std::ops::Deref for IETFilterEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4969,7 +4969,7 @@ windows_core::imp::define_interface!(IEnumComponentTypes, IEnumComponentTypes_Vt impl std::ops::Deref for IEnumComponentTypes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumComponentTypes, windows_core::IUnknown); @@ -4985,7 +4985,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5004,7 +5004,7 @@ windows_core::imp::define_interface!(IEnumComponents, IEnumComponents_Vtbl, 0x2a impl std::ops::Deref for IEnumComponents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumComponents, windows_core::IUnknown); @@ -5020,7 +5020,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5039,7 +5039,7 @@ windows_core::imp::define_interface!(IEnumGuideDataProperties, IEnumGuideDataPro impl std::ops::Deref for IEnumGuideDataProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumGuideDataProperties, windows_core::IUnknown); @@ -5054,7 +5054,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5070,7 +5070,7 @@ windows_core::imp::define_interface!(IEnumMSVidGraphSegment, IEnumMSVidGraphSegm impl std::ops::Deref for IEnumMSVidGraphSegment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumMSVidGraphSegment, windows_core::IUnknown); @@ -5086,7 +5086,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5105,7 +5105,7 @@ windows_core::imp::define_interface!(IEnumStreamBufferRecordingAttrib, IEnumStre impl std::ops::Deref for IEnumStreamBufferRecordingAttrib { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumStreamBufferRecordingAttrib, windows_core::IUnknown); @@ -5120,7 +5120,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5136,7 +5136,7 @@ windows_core::imp::define_interface!(IEnumTuneRequests, IEnumTuneRequests_Vtbl, impl std::ops::Deref for IEnumTuneRequests { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTuneRequests, windows_core::IUnknown); @@ -5152,7 +5152,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5171,7 +5171,7 @@ windows_core::imp::define_interface!(IEnumTuningSpaces, IEnumTuningSpaces_Vtbl, impl std::ops::Deref for IEnumTuningSpaces { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTuningSpaces, windows_core::IUnknown); @@ -5187,7 +5187,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5208,7 +5208,7 @@ windows_core::imp::define_interface!(IEvalRat, IEvalRat_Vtbl, 0xc5c5c5b1_3abc_11 impl std::ops::Deref for IEvalRat { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5216,14 +5216,14 @@ windows_core::imp::interface_hierarchy!(IEvalRat, windows_core::IUnknown, super: #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_BlockedRatingAttributes)(windows_core::Interface::as_raw(self), ensystem, enlevel, &mut result__).map(|| result__) } pub unsafe fn put_BlockedRatingAttributes(&self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel, lbfattrs: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).put_BlockedRatingAttributes)(windows_core::Interface::as_raw(self), ensystem, enlevel, lbfattrs).ok() } pub unsafe fn BlockUnRated(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockUnRated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBlockUnRated(&self, fblockunratedshows: P0) -> windows_core::Result<()> @@ -5254,7 +5254,7 @@ windows_core::imp::define_interface!(IGenericDescriptor, IGenericDescriptor_Vtbl impl std::ops::Deref for IGenericDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGenericDescriptor, windows_core::IUnknown); @@ -5263,15 +5263,15 @@ impl IGenericDescriptor { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pbdesc, bcount).ok() } pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBody(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBody)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5287,7 +5287,7 @@ windows_core::imp::define_interface!(IGenericDescriptor2, IGenericDescriptor2_Vt impl std::ops::Deref for IGenericDescriptor2 { type Target = IGenericDescriptor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGenericDescriptor2, windows_core::IUnknown, IGenericDescriptor); @@ -5296,7 +5296,7 @@ impl IGenericDescriptor2 { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pbdesc, wcount).ok() } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5310,32 +5310,32 @@ windows_core::imp::define_interface!(IGpnvsCommonBase, IGpnvsCommonBase_Vtbl, 0x impl std::ops::Deref for IGpnvsCommonBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGpnvsCommonBase, windows_core::IUnknown); impl IGpnvsCommonBase { pub unsafe fn GetValueUpdateName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValueUpdateName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IGpnvsCommonBase_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetValueUpdateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValueUpdateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuideData, IGuideData_Vtbl, 0x61571138_5b01_43cd_aeaf_60b784a0bf93); impl std::ops::Deref for IGuideData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGuideData, windows_core::IUnknown); impl IGuideData { pub unsafe fn GetServices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5343,31 +5343,31 @@ impl IGuideData { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceProperties)(windows_core::Interface::as_raw(self), ptunerequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetGuideProgramIDs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuideProgramIDs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProgramProperties(&self, varprogramdescriptionid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgramProperties)(windows_core::Interface::as_raw(self), varprogramdescriptionid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetScheduleEntryIDs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScheduleEntryIDs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetScheduleEntryProperties(&self, varscheduleentrydescriptionid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScheduleEntryProperties)(windows_core::Interface::as_raw(self), varscheduleentrydescriptionid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5383,18 +5383,18 @@ pub struct IGuideData_Vtbl { pub GetGuideProgramIDs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] GetGuideProgramIDs: usize, - pub GetProgramProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetProgramProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub GetScheduleEntryIDs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] GetScheduleEntryIDs: usize, - pub GetScheduleEntryProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetScheduleEntryProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuideDataEvent, IGuideDataEvent_Vtbl, 0xefda0c80_f395_42c3_9b3c_56b37dec7bb7); impl std::ops::Deref for IGuideDataEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGuideDataEvent, windows_core::IUnknown); @@ -5443,18 +5443,18 @@ impl IGuideDataEvent { pub struct IGuideDataEvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GuideDataAcquired: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ProgramChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ScheduleEntryChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProgramDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ScheduleDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProgramChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ScheduleEntryChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProgramDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ScheduleDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuideDataLoader, IGuideDataLoader_Vtbl, 0x4764ff7c_fa95_4525_af4d_d32236db9e38); impl std::ops::Deref for IGuideDataLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGuideDataLoader, windows_core::IUnknown); @@ -5479,30 +5479,30 @@ windows_core::imp::define_interface!(IGuideDataProperty, IGuideDataProperty_Vtbl impl std::ops::Deref for IGuideDataProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGuideDataProperty, windows_core::IUnknown); impl IGuideDataProperty { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Language(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Language)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IGuideDataProperty_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IISDBSLocator, IISDBSLocator_Vtbl, 0xc9897087_e29c_473f_9e4b_7072123dea14); @@ -5510,7 +5510,7 @@ windows_core::imp::define_interface!(IISDBSLocator, IISDBSLocator_Vtbl, 0xc98970 impl std::ops::Deref for IISDBSLocator { type Target = IDVBSLocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5526,7 +5526,7 @@ windows_core::imp::define_interface!(IISDB_BIT, IISDB_BIT_Vtbl, 0x537cd71e_0e46_ impl std::ops::Deref for IISDB_BIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IISDB_BIT, windows_core::IUnknown); @@ -5539,49 +5539,49 @@ impl IISDB_BIT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginalNetworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalNetworkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBroadcastViewPropriety(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBroadcastViewPropriety)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTableDescriptorByTag)(windows_core::Interface::as_raw(self), btag, core::mem::transmute(pdwcookie.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordBroadcasterId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordBroadcasterId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetRecordDescriptorByTag)(windows_core::Interface::as_raw(self), dwrecordindex, btag, core::mem::transmute(pdwcookie.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetVersionHash(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5606,7 +5606,7 @@ windows_core::imp::define_interface!(IISDB_CDT, IISDB_CDT_Vtbl, 0x25fa92c2_8b80_ impl std::ops::Deref for IISDB_CDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IISDB_CDT, windows_core::IUnknown); @@ -5619,46 +5619,46 @@ impl IISDB_CDT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi(), bsectionnumber).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDownloadDataId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDownloadDataId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSectionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSectionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginalNetworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalNetworkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTableDescriptorByTag)(windows_core::Interface::as_raw(self), btag, core::mem::transmute(pdwcookie.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetSizeOfDataModule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSizeOfDataModule)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataModule(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataModule)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersionHash(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5682,7 +5682,7 @@ windows_core::imp::define_interface!(IISDB_EMM, IISDB_EMM_Vtbl, 0x0edb556d_43ad_ impl std::ops::Deref for IISDB_EMM { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IISDB_EMM, windows_core::IUnknown); @@ -5695,11 +5695,11 @@ impl IISDB_EMM { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableIdExtension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableIdExtension)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataBytes(&self, pwbufferlength: *mut u16, pbbuffer: *mut u8) -> windows_core::Result<()> { @@ -5715,7 +5715,7 @@ impl IISDB_EMM { (windows_core::Interface::vtable(self).GetIndividualEmmMessage)(windows_core::Interface::as_raw(self), punknown.param().abi(), pwlength, ppbmessage).ok() } pub unsafe fn GetVersionHash(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5734,7 +5734,7 @@ windows_core::imp::define_interface!(IISDB_LDT, IISDB_LDT_Vtbl, 0x141a546b_02ff_ impl std::ops::Deref for IISDB_LDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IISDB_LDT, windows_core::IUnknown); @@ -5747,42 +5747,42 @@ impl IISDB_LDT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginalServiceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalServiceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransportStreamId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportStreamId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginalNetworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalNetworkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptionId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptionId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetRecordDescriptorByTag)(windows_core::Interface::as_raw(self), dwrecordindex, btag, core::mem::transmute(pdwcookie.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetVersionHash(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5805,7 +5805,7 @@ windows_core::imp::define_interface!(IISDB_NBIT, IISDB_NBIT_Vtbl, 0x1b1863ef_08f impl std::ops::Deref for IISDB_NBIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IISDB_NBIT, windows_core::IUnknown); @@ -5818,58 +5818,58 @@ impl IISDB_NBIT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginalNetworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalNetworkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordInformationId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordInformationId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordInformationType(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordInformationType)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptionBodyLocation(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptionBodyLocation)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordMessageSectionNumber(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordMessageSectionNumber)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordUserDefined(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordUserDefined)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordNumberOfKeys(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordNumberOfKeys)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordKeys(&self, dwrecordindex: u32) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordKeys)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetRecordDescriptorByTag)(windows_core::Interface::as_raw(self), dwrecordindex, btag, core::mem::transmute(pdwcookie.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetVersionHash(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5896,13 +5896,13 @@ windows_core::imp::define_interface!(IISDB_SDT, IISDB_SDT_Vtbl, 0x3f3dc9a2_bb32_ impl std::ops::Deref for IISDB_SDT { type Target = IDVB_SDT; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IISDB_SDT, windows_core::IUnknown, IDVB_SDT); impl IISDB_SDT { pub unsafe fn GetRecordEITUserDefinedFlags(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordEITUserDefinedFlags)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } } @@ -5915,7 +5915,7 @@ windows_core::imp::define_interface!(IISDB_SDTT, IISDB_SDTT_Vtbl, 0xee60ef2d_813 impl std::ops::Deref for IISDB_SDTT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IISDB_SDTT, windows_core::IUnknown); @@ -5928,78 +5928,78 @@ impl IISDB_SDTT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableIdExt(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableIdExt)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransportStreamId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportStreamId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginalNetworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalNetworkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordGroup(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordGroup)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordTargetVersion(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTargetVersion)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordNewVersion(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordNewVersion)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDownloadLevel(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDownloadLevel)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordVersionIndicator(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordVersionIndicator)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordScheduleTimeShiftInformation(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordScheduleTimeShiftInformation)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfSchedules(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfSchedules)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordStartTimeByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordStartTimeByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDurationByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDurationByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: Option<*mut u32>, ppdescriptor: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetRecordDescriptorByTag)(windows_core::Interface::as_raw(self), dwrecordindex, btag, core::mem::transmute(pdwcookie.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetVersionHash(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6031,53 +6031,53 @@ windows_core::imp::define_interface!(IIsdbAudioComponentDescriptor, IIsdbAudioCo impl std::ops::Deref for IIsdbAudioComponentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbAudioComponentDescriptor, windows_core::IUnknown); impl IIsdbAudioComponentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamContent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetComponentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetComponentTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSimulcastGroupTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSimulcastGroupTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetESMultiLingualFlag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetESMultiLingualFlag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMainComponentFlag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMainComponentFlag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetQualityIndicator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQualityIndicator)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSamplingRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSamplingRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLanguageCode(&self, pszcode: &mut [u8; 4]) -> windows_core::Result<()> { @@ -6087,7 +6087,7 @@ impl IIsdbAudioComponentDescriptor { (windows_core::Interface::vtable(self).GetLanguageCode2)(windows_core::Interface::as_raw(self), core::mem::transmute(pszcode.as_ptr())).ok() } pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6107,51 +6107,51 @@ pub struct IIsdbAudioComponentDescriptor_Vtbl { pub GetSamplingRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetLanguageCode2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbCAContractInformationDescriptor, IIsdbCAContractInformationDescriptor_Vtbl, 0x08e18b25_a28f_4e92_821e_4fced5cc2291); impl std::ops::Deref for IIsdbCAContractInformationDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbCAContractInformationDescriptor, windows_core::IUnknown); impl IIsdbCAContractInformationDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCASystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCASystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCAUnitId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAUnitId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordComponentTag(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordComponentTag)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetContractVerificationInfoLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContractVerificationInfoLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContractVerificationInfo(&self, bbuflength: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContractVerificationInfo)(windows_core::Interface::as_raw(self), bbuflength, &mut result__).map(|| result__) } pub unsafe fn GetFeeNameW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFeeNameW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6166,35 +6166,35 @@ pub struct IIsdbCAContractInformationDescriptor_Vtbl { pub GetRecordComponentTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, pub GetContractVerificationInfoLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetContractVerificationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, - pub GetFeeNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFeeNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbCADescriptor, IIsdbCADescriptor_Vtbl, 0x0570aa47_52bc_42ae_8ca5_969f41e81aea); impl std::ops::Deref for IIsdbCADescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbCADescriptor, windows_core::IUnknown); impl IIsdbCADescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCASystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCASystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetReservedBits(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReservedBits)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCAPID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAPID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPrivateDataBytes(&self, pbbufferlength: *mut u8, pbbuffer: *mut u8) -> windows_core::Result<()> { @@ -6215,29 +6215,29 @@ windows_core::imp::define_interface!(IIsdbCAServiceDescriptor, IIsdbCAServiceDes impl std::ops::Deref for IIsdbCAServiceDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbCAServiceDescriptor, windows_core::IUnknown); impl IIsdbCAServiceDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCASystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCASystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCABroadcasterGroupId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCABroadcasterGroupId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMessageControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessageControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceIds(&self, pbnumserviceids: *mut u8, pwserviceids: *mut u16) -> windows_core::Result<()> { @@ -6258,53 +6258,53 @@ windows_core::imp::define_interface!(IIsdbComponentGroupDescriptor, IIsdbCompone impl std::ops::Deref for IIsdbComponentGroupDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbComponentGroupDescriptor, windows_core::IUnknown); impl IIsdbComponentGroupDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetComponentGroupType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentGroupType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordGroupId(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordGroupId)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordNumberOfCAUnit(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordNumberOfCAUnit)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCAUnitCAUnitId(&self, brecordindex: u8, bcaunitindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCAUnitCAUnitId)(windows_core::Interface::as_raw(self), brecordindex, bcaunitindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCAUnitNumberOfComponents(&self, brecordindex: u8, bcaunitindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCAUnitNumberOfComponents)(windows_core::Interface::as_raw(self), brecordindex, bcaunitindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCAUnitComponentTag(&self, brecordindex: u8, bcaunitindex: u8, bcomponentindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCAUnitComponentTag)(windows_core::Interface::as_raw(self), brecordindex, bcaunitindex, bcomponentindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordTotalBitRate(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTotalBitRate)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordTextW(&self, brecordindex: u8, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTextW)(windows_core::Interface::as_raw(self), brecordindex, convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6321,54 +6321,54 @@ pub struct IIsdbComponentGroupDescriptor_Vtbl { pub GetRecordCAUnitNumberOfComponents: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut u8) -> windows_core::HRESULT, pub GetRecordCAUnitComponentTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, u8, *mut u8) -> windows_core::HRESULT, pub GetRecordTotalBitRate: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, - pub GetRecordTextW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRecordTextW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbDataContentDescriptor, IIsdbDataContentDescriptor_Vtbl, 0xa428100a_e646_4bd6_aa14_6087bdc08cd5); impl std::ops::Deref for IIsdbDataContentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbDataContentDescriptor, windows_core::IUnknown); impl IIsdbDataContentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataComponentId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataComponentId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEntryComponent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntryComponent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSelectorLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectorLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSelectorBytes(&self, bbuflength: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectorBytes)(windows_core::Interface::as_raw(self), bbuflength, &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordComponentRef(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordComponentRef)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| 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(pszcode.as_ptr())).ok() } pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6384,30 +6384,30 @@ pub struct IIsdbDataContentDescriptor_Vtbl { pub GetCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRecordComponentRef: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, pub GetLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbDigitalCopyControlDescriptor, IIsdbDigitalCopyControlDescriptor_Vtbl, 0x1a28417e_266a_4bb8_a4bd_d782bcfb8161); impl std::ops::Deref for IIsdbDigitalCopyControlDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbDigitalCopyControlDescriptor, windows_core::IUnknown); impl IIsdbDigitalCopyControlDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pbdigitalrecordingcontroldata, pbcopycontroltype, pbapscontroldata, pbmaximumbitrate).ok() } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -6427,75 +6427,75 @@ windows_core::imp::define_interface!(IIsdbDownloadContentDescriptor, IIsdbDownlo impl std::ops::Deref for IIsdbDownloadContentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbDownloadContentDescriptor, windows_core::IUnknown); impl IIsdbDownloadContentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFlags(&self, pfreboot: *mut super::super::super::Foundation::BOOL, pfaddon: *mut super::super::super::Foundation::BOOL, pfcompatibility: *mut super::super::super::Foundation::BOOL, pfmoduleinfo: *mut super::super::super::Foundation::BOOL, pftextinfo: *mut super::super::super::Foundation::BOOL) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), pfreboot, pfaddon, pfcompatibility, pfmoduleinfo, pftextinfo).ok() } pub unsafe fn GetComponentSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDownloadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDownloadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTimeOutValueDII(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimeOutValueDII)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLeakRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLeakRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetComponentTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCompatiblityDescriptorLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCompatiblityDescriptorLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCompatiblityDescriptor(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCompatiblityDescriptor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordModuleId(&self, wrecordindex: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordModuleId)(windows_core::Interface::as_raw(self), wrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordModuleSize(&self, wrecordindex: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordModuleSize)(windows_core::Interface::as_raw(self), wrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordModuleInfoLength(&self, wrecordindex: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordModuleInfoLength)(windows_core::Interface::as_raw(self), wrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordModuleInfo(&self, wrecordindex: u16) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordModuleInfo)(windows_core::Interface::as_raw(self), wrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetTextLanguageCode(&self, szcode: &mut [u8; 4]) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTextLanguageCode)(windows_core::Interface::as_raw(self), core::mem::transmute(szcode.as_ptr())).ok() } pub unsafe fn GetTextW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6518,39 +6518,39 @@ pub struct IIsdbDownloadContentDescriptor_Vtbl { pub GetRecordModuleInfoLength: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut u8) -> windows_core::HRESULT, pub GetRecordModuleInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut u8) -> windows_core::HRESULT, pub GetTextLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbEmergencyInformationDescriptor, IIsdbEmergencyInformationDescriptor_Vtbl, 0xba6fa681_b973_4da1_9207_ac3e7f0341eb); impl std::ops::Deref for IIsdbEmergencyInformationDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbEmergencyInformationDescriptor, windows_core::IUnknown); impl IIsdbEmergencyInformationDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceId(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceId)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetStartEndFlag(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStartEndFlag)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetSignalLevel(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignalLevel)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetAreaCode(&self, brecordindex: u8, ppwval: *mut *mut u16, pbnumareacodes: *mut u8) -> windows_core::Result<()> { @@ -6572,32 +6572,32 @@ windows_core::imp::define_interface!(IIsdbEventGroupDescriptor, IIsdbEventGroupD impl std::ops::Deref for IIsdbEventGroupDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbEventGroupDescriptor, windows_core::IUnknown); impl IIsdbEventGroupDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGroupType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroupType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, pwserviceid, pweventid).ok() } pub unsafe fn GetCountOfRefRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRefRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRefRecordEvent(&self, brecordindex: u8, pworiginalnetworkid: *mut u16, pwtransportstreamid: *mut u16, pwserviceid: *mut u16, pweventid: *mut u16) -> windows_core::Result<()> { @@ -6619,33 +6619,33 @@ windows_core::imp::define_interface!(IIsdbHierarchicalTransmissionDescriptor, II impl std::ops::Deref for IIsdbHierarchicalTransmissionDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbHierarchicalTransmissionDescriptor, windows_core::IUnknown); impl IIsdbHierarchicalTransmissionDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFutureUse1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFutureUse1)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetQualityLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQualityLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFutureUse2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFutureUse2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetReferencePid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReferencePid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6663,37 +6663,37 @@ windows_core::imp::define_interface!(IIsdbLogoTransmissionDescriptor, IIsdbLogoT impl std::ops::Deref for IIsdbLogoTransmissionDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbLogoTransmissionDescriptor, windows_core::IUnknown); impl IIsdbLogoTransmissionDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLogoTransmissionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogoTransmissionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLogoId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogoId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLogoVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogoVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDownloadDataId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDownloadDataId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLogoCharW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogoCharW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6706,43 +6706,43 @@ pub struct IIsdbLogoTransmissionDescriptor_Vtbl { pub GetLogoId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetLogoVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetDownloadDataId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, - pub GetLogoCharW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLogoCharW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbSIParameterDescriptor, IIsdbSIParameterDescriptor_Vtbl, 0xf837dc36_867c_426a_9111_f62093951a45); impl std::ops::Deref for IIsdbSIParameterDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbSIParameterDescriptor, windows_core::IUnknown); impl IIsdbSIParameterDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetParameterVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParameterVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUpdateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUpdateTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordNumberOfTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordNumberOfTable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableId(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableId)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptionLength(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptionLength)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptionBytes(&self, brecordindex: u8, pbbufferlength: *mut u8, pbbuffer: *mut u8) -> windows_core::Result<()> { @@ -6765,44 +6765,44 @@ windows_core::imp::define_interface!(IIsdbSeriesDescriptor, IIsdbSeriesDescripto impl std::ops::Deref for IIsdbSeriesDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbSeriesDescriptor, windows_core::IUnknown); impl IIsdbSeriesDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSeriesId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSeriesId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRepeatLabel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRepeatLabel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProgramPattern(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgramPattern)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpireDate(&self, pfvalid: *mut super::super::super::Foundation::BOOL, pmdtval: *mut MPEG_DATE_AND_TIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetExpireDate)(windows_core::Interface::as_raw(self), pfvalid, pmdtval).ok() } pub unsafe fn GetEpisodeNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEpisodeNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastEpisodeNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastEpisodeNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSeriesNameW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSeriesNameW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6817,43 +6817,43 @@ pub struct IIsdbSeriesDescriptor_Vtbl { pub GetExpireDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL, *mut MPEG_DATE_AND_TIME) -> windows_core::HRESULT, pub GetEpisodeNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetLastEpisodeNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, - pub GetSeriesNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSeriesNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbSiParser2, IIsdbSiParser2_Vtbl, 0x900e4bb7_18cd_453f_98be_3be6aa211772); impl std::ops::Deref for IIsdbSiParser2 { type Target = IDvbSiParser2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbSiParser2, windows_core::IUnknown, IDvbSiParser, IDvbSiParser2); impl IIsdbSiParser2 { pub unsafe fn GetSDT(&self, tableid: u8, pwtransportstreamid: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSDT)(windows_core::Interface::as_raw(self), tableid, core::mem::transmute(pwtransportstreamid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBIT(&self, tableid: u8, pworiginalnetworkid: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBIT)(windows_core::Interface::as_raw(self), tableid, core::mem::transmute(pworiginalnetworkid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNBIT(&self, tableid: u8, pworiginalnetworkid: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNBIT)(windows_core::Interface::as_raw(self), tableid, core::mem::transmute(pworiginalnetworkid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLDT(&self, tableid: u8, pworiginalserviceid: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLDT)(windows_core::Interface::as_raw(self), tableid, core::mem::transmute(pworiginalserviceid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSDTT(&self, tableid: u8, pwtableidext: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSDTT)(windows_core::Interface::as_raw(self), tableid, core::mem::transmute(pwtableidext.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCDT(&self, tableid: u8, bsectionnumber: u8, pwdownloaddataid: Option<*const u16>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCDT)(windows_core::Interface::as_raw(self), tableid, bsectionnumber, core::mem::transmute(pwdownloaddataid.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEMM(&self, pid: u16, wtableidext: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEMM)(windows_core::Interface::as_raw(self), pid, wtableidext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6872,41 +6872,41 @@ windows_core::imp::define_interface!(IIsdbTSInformationDescriptor, IIsdbTSInform impl std::ops::Deref for IIsdbTSInformationDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbTSInformationDescriptor, windows_core::IUnknown); impl IIsdbTSInformationDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRemoteControlKeyId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRemoteControlKeyId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTSNameW(&self, convmode: DVB_STRCONV_MODE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTSNameW)(windows_core::Interface::as_raw(self), convmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordTransmissionTypeInfo(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordTransmissionTypeInfo)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordNumberOfServices(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordNumberOfServices)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordServiceIdByIndex(&self, brecordindex: u8, bserviceindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordServiceIdByIndex)(windows_core::Interface::as_raw(self), brecordindex, bserviceindex, &mut result__).map(|| result__) } } @@ -6916,7 +6916,7 @@ pub struct IIsdbTSInformationDescriptor_Vtbl { pub GetTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRemoteControlKeyId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub GetTSNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTSNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRecordTransmissionTypeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, pub GetRecordNumberOfServices: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, @@ -6926,37 +6926,37 @@ windows_core::imp::define_interface!(IIsdbTerrestrialDeliverySystemDescriptor, I impl std::ops::Deref for IIsdbTerrestrialDeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsdbTerrestrialDeliverySystemDescriptor, windows_core::IUnknown); impl IIsdbTerrestrialDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAreaCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAreaCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGuardInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuardInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransmissionMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransmissionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordFrequency(&self, brecordindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordFrequency)(windows_core::Interface::as_raw(self), brecordindex, &mut result__).map(|| result__) } } @@ -6977,7 +6977,7 @@ windows_core::imp::define_interface!(ILanguageComponentType, ILanguageComponentT impl std::ops::Deref for ILanguageComponentType { type Target = IComponentType; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6985,7 +6985,7 @@ windows_core::imp::interface_hierarchy!(ILanguageComponentType, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl ILanguageComponentType { pub unsafe fn LangID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LangID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLangID(&self, langid: i32) -> windows_core::Result<()> { @@ -7005,7 +7005,7 @@ windows_core::imp::define_interface!(ILocator, ILocator_Vtbl, 0x286d7f89_760c_4f impl std::ops::Deref for ILocator { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7013,49 +7013,49 @@ windows_core::imp::interface_hierarchy!(ILocator, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl ILocator { pub unsafe fn CarrierFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CarrierFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InnerFEC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInnerFEC(&self, fec: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InnerFECRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInnerFECRate(&self, fec: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OuterFEC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOuterFEC(&self, fec: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OuterFECRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOuterFECRate(&self, fec: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Modulation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetModulation(&self, modulation: super::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SymbolRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSymbolRate(&self, rate: i32) -> windows_core::Result<()> { @@ -7063,7 +7063,7 @@ impl ILocator { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7096,7 +7096,7 @@ windows_core::imp::define_interface!(IMPEG2Component, IMPEG2Component_Vtbl, 0x14 impl std::ops::Deref for IMPEG2Component { type Target = IComponent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7104,21 +7104,21 @@ windows_core::imp::interface_hierarchy!(IMPEG2Component, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMPEG2Component { pub unsafe fn PID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PCRPID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProgramNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProgramNumber(&self, programnumber: i32) -> windows_core::Result<()> { @@ -7142,7 +7142,7 @@ windows_core::imp::define_interface!(IMPEG2ComponentType, IMPEG2ComponentType_Vt impl std::ops::Deref for IMPEG2ComponentType { type Target = ILanguageComponentType; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7150,7 +7150,7 @@ windows_core::imp::interface_hierarchy!(IMPEG2ComponentType, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IMPEG2ComponentType { pub unsafe fn StreamType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StreamType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStreamType(&self, mp2streamtype: super::MPEG2StreamType) -> windows_core::Result<()> { @@ -7170,7 +7170,7 @@ windows_core::imp::define_interface!(IMPEG2TuneRequest, IMPEG2TuneRequest_Vtbl, impl std::ops::Deref for IMPEG2TuneRequest { type Target = ITuneRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7178,14 +7178,14 @@ windows_core::imp::interface_hierarchy!(IMPEG2TuneRequest, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IMPEG2TuneRequest { pub unsafe fn TSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TSID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProgNo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProgNo(&self, progno: i32) -> windows_core::Result<()> { @@ -7207,7 +7207,7 @@ windows_core::imp::define_interface!(IMPEG2TuneRequestFactory, IMPEG2TuneRequest impl std::ops::Deref for IMPEG2TuneRequestFactory { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7219,7 +7219,7 @@ impl IMPEG2TuneRequestFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTuneRequest)(windows_core::Interface::as_raw(self), tuningspace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7236,7 +7236,7 @@ windows_core::imp::define_interface!(IMPEG2TuneRequestSupport, IMPEG2TuneRequest impl std::ops::Deref for IMPEG2TuneRequestSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMPEG2TuneRequestSupport, windows_core::IUnknown); @@ -7249,7 +7249,7 @@ windows_core::imp::define_interface!(IMPEG2_TIF_CONTROL, IMPEG2_TIF_CONTROL_Vtbl impl std::ops::Deref for IMPEG2_TIF_CONTROL { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMPEG2_TIF_CONTROL, windows_core::IUnknown); @@ -7270,7 +7270,7 @@ impl IMPEG2_TIF_CONTROL { (windows_core::Interface::vtable(self).DeletePIDs)(windows_core::Interface::as_raw(self), ulcpids, pulpids).ok() } pub unsafe fn GetPIDCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPIDCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPIDs(&self, pulcpids: *mut u32, pulpids: *mut u32) -> windows_core::Result<()> { @@ -7293,7 +7293,7 @@ windows_core::imp::define_interface!(IMSEventBinder, IMSEventBinder_Vtbl, 0xc3a9 impl std::ops::Deref for IMSEventBinder { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7307,7 +7307,7 @@ impl IMSEventBinder { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bind)(windows_core::Interface::as_raw(self), peventobject.param().abi(), eventname.param().abi(), eventhandler.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unbind(&self, cancelcookie: u32) -> windows_core::Result<()> { @@ -7319,7 +7319,7 @@ impl IMSEventBinder { pub struct IMSEventBinder_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Bind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub Bind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Bind: usize, pub Unbind: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, @@ -7330,7 +7330,7 @@ windows_core::imp::define_interface!(IMSVidAnalogTuner, IMSVidAnalogTuner_Vtbl, impl std::ops::Deref for IMSVidAnalogTuner { type Target = IMSVidTuner; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7338,29 +7338,29 @@ windows_core::imp::interface_hierarchy!(IMSVidAnalogTuner, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IMSVidAnalogTuner { pub unsafe fn Channel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Channel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AudioFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CountryCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SAP)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSAP(&self, fsapon: P0) -> windows_core::Result<()> @@ -7370,7 +7370,7 @@ impl IMSVidAnalogTuner { (windows_core::Interface::vtable(self).SetSAP)(windows_core::Interface::as_raw(self), fsapon.param().abi()).ok() } pub unsafe fn ChannelAvailable(&self, nchannel: i32, signalstrength: *mut i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChannelAvailable)(windows_core::Interface::as_raw(self), nchannel, signalstrength, &mut result__).map(|| result__) } } @@ -7394,7 +7394,7 @@ windows_core::imp::define_interface!(IMSVidAnalogTuner2, IMSVidAnalogTuner2_Vtbl impl std::ops::Deref for IMSVidAnalogTuner2 { type Target = IMSVidAnalogTuner; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7402,15 +7402,15 @@ windows_core::imp::interface_hierarchy!(IMSVidAnalogTuner2, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IMSVidAnalogTuner2 { pub unsafe fn TVFormats(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TVFormats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TunerModes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TunerModes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumAuxInputs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumAuxInputs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7428,7 +7428,7 @@ windows_core::imp::define_interface!(IMSVidAnalogTunerEvent, IMSVidAnalogTunerEv impl std::ops::Deref for IMSVidAnalogTunerEvent { type Target = IMSVidTunerEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7446,7 +7446,7 @@ windows_core::imp::define_interface!(IMSVidAudioRenderer, IMSVidAudioRenderer_Vt impl std::ops::Deref for IMSVidAudioRenderer { type Target = IMSVidOutputDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7457,14 +7457,14 @@ impl IMSVidAudioRenderer { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Volume)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Balance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7483,7 +7483,7 @@ windows_core::imp::define_interface!(IMSVidAudioRendererDevices, IMSVidAudioRend impl std::ops::Deref for IMSVidAudioRendererDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7491,12 +7491,12 @@ windows_core::imp::interface_hierarchy!(IMSVidAudioRendererDevices, windows_core #[cfg(feature = "Win32_System_Com")] impl IMSVidAudioRendererDevices { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7504,7 +7504,7 @@ impl IMSVidAudioRendererDevices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), v.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7531,14 +7531,14 @@ pub struct IMSVidAudioRendererDevices_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidAudioRendererEvent, IMSVidAudioRendererEvent_Vtbl, 0x37b03541_a4c8_11d2_b634_00c04f79498e); @@ -7546,7 +7546,7 @@ windows_core::imp::define_interface!(IMSVidAudioRendererEvent, IMSVidAudioRender impl std::ops::Deref for IMSVidAudioRendererEvent { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7564,7 +7564,7 @@ windows_core::imp::define_interface!(IMSVidAudioRendererEvent2, IMSVidAudioRende impl std::ops::Deref for IMSVidAudioRendererEvent2 { type Target = IMSVidAudioRendererEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7615,7 +7615,7 @@ windows_core::imp::define_interface!(IMSVidClosedCaptioning, IMSVidClosedCaption impl std::ops::Deref for IMSVidClosedCaptioning { type Target = IMSVidFeature; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7623,7 +7623,7 @@ windows_core::imp::interface_hierarchy!(IMSVidClosedCaptioning, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IMSVidClosedCaptioning { pub unsafe fn Enable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnable(&self, on: P0) -> windows_core::Result<()> @@ -7646,7 +7646,7 @@ windows_core::imp::define_interface!(IMSVidClosedCaptioning2, IMSVidClosedCaptio impl std::ops::Deref for IMSVidClosedCaptioning2 { type Target = IMSVidClosedCaptioning; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7654,7 +7654,7 @@ windows_core::imp::interface_hierarchy!(IMSVidClosedCaptioning2, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IMSVidClosedCaptioning2 { pub unsafe fn Service(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Service)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetService(&self, on: MSVidCCService) -> windows_core::Result<()> { @@ -7674,7 +7674,7 @@ windows_core::imp::define_interface!(IMSVidClosedCaptioning3, IMSVidClosedCaptio impl std::ops::Deref for IMSVidClosedCaptioning3 { type Target = IMSVidClosedCaptioning2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7682,7 +7682,7 @@ windows_core::imp::interface_hierarchy!(IMSVidClosedCaptioning3, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IMSVidClosedCaptioning3 { pub unsafe fn TeleTextFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TeleTextFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7698,7 +7698,7 @@ windows_core::imp::define_interface!(IMSVidCompositionSegment, IMSVidComposition impl std::ops::Deref for IMSVidCompositionSegment { type Target = IMSVidGraphSegment; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7715,12 +7715,12 @@ impl IMSVidCompositionSegment { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Up(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Up)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Down(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Down)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7747,7 +7747,7 @@ windows_core::imp::define_interface!(IMSVidCtl, IMSVidCtl_Vtbl, 0xb0edf162_910a_ impl std::ops::Deref for IMSVidCtl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7755,7 +7755,7 @@ windows_core::imp::interface_hierarchy!(IMSVidCtl, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IMSVidCtl { pub unsafe fn AutoSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoSize(&self, vbool: P0) -> windows_core::Result<()> @@ -7765,14 +7765,14 @@ impl IMSVidCtl { (windows_core::Interface::vtable(self).SetAutoSize)(windows_core::Interface::as_raw(self), vbool.param().abi()).ok() } pub unsafe fn BackColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, vbool: P0) -> windows_core::Result<()> @@ -7782,7 +7782,7 @@ impl IMSVidCtl { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), vbool.param().abi()).ok() } pub unsafe fn TabStop(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TabStop)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTabStop(&self, vbool: P0) -> windows_core::Result<()> @@ -7792,21 +7792,21 @@ impl IMSVidCtl { (windows_core::Interface::vtable(self).SetTabStop)(windows_core::Interface::as_raw(self), vbool.param().abi()).ok() } pub unsafe fn Window(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Window)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplaySize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaintainAspectRatio)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaintainAspectRatio(&self, newvalue: P0) -> windows_core::Result<()> @@ -7816,7 +7816,7 @@ impl IMSVidCtl { (windows_core::Interface::vtable(self).SetMaintainAspectRatio)(windows_core::Interface::as_raw(self), newvalue.param().abi()).ok() } pub unsafe fn ColorKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ColorKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetColorKey(&self, newvalue: u32) -> windows_core::Result<()> { @@ -7827,7 +7827,7 @@ impl IMSVidCtl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_InputsAvailable)(windows_core::Interface::as_raw(self), categoryguid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7835,37 +7835,37 @@ impl IMSVidCtl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_OutputsAvailable)(windows_core::Interface::as_raw(self), categoryguid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get__InputsAvailable(&self, categoryguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get__InputsAvailable)(windows_core::Interface::as_raw(self), categoryguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get__OutputsAvailable(&self, categoryguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get__OutputsAvailable)(windows_core::Interface::as_raw(self), categoryguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn VideoRenderersAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoRenderersAvailable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioRenderersAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioRenderersAvailable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FeaturesAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FeaturesAvailable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn InputActive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InputActive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7877,7 +7877,7 @@ impl IMSVidCtl { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutputsActive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputsActive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7889,7 +7889,7 @@ impl IMSVidCtl { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn VideoRendererActive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoRendererActive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7901,7 +7901,7 @@ impl IMSVidCtl { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioRendererActive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioRendererActive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7913,7 +7913,7 @@ impl IMSVidCtl { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FeaturesActive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FeaturesActive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7924,7 +7924,7 @@ impl IMSVidCtl { (windows_core::Interface::vtable(self).SetFeaturesActive)(windows_core::Interface::as_raw(self), pval.param().abi()).ok() } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn View(&self, v: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -7976,11 +7976,11 @@ pub struct IMSVidCtl_Vtbl { pub ColorKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetColorKey: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_InputsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_InputsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_InputsAvailable: usize, #[cfg(feature = "Win32_System_Com")] - pub get_OutputsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_OutputsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_OutputsAvailable: usize, #[cfg(feature = "Win32_System_Com")] @@ -8044,7 +8044,7 @@ pub struct IMSVidCtl_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetFeaturesActive: usize, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MSVidCtlStateList) -> windows_core::HRESULT, - pub View: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub View: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Build: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Run: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8052,7 +8052,7 @@ pub struct IMSVidCtl_Vtbl { pub Decompose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableVideo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableAudio: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ViewNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ViewNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidDataServices, IMSVidDataServices_Vtbl, 0x334125c1_77e5_11d3_b653_00c04f79498e); @@ -8060,7 +8060,7 @@ windows_core::imp::define_interface!(IMSVidDataServices, IMSVidDataServices_Vtbl impl std::ops::Deref for IMSVidDataServices { type Target = IMSVidFeature; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8078,7 +8078,7 @@ windows_core::imp::define_interface!(IMSVidDataServicesEvent, IMSVidDataServices impl std::ops::Deref for IMSVidDataServicesEvent { type Target = IMSVidDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8096,7 +8096,7 @@ windows_core::imp::define_interface!(IMSVidDevice, IMSVidDevice_Vtbl, 0x1c15d47c impl std::ops::Deref for IMSVidDevice { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8104,11 +8104,11 @@ windows_core::imp::interface_hierarchy!(IMSVidDevice, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IMSVidDevice { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPower(&self, power: P0) -> windows_core::Result<()> @@ -8118,23 +8118,23 @@ impl IMSVidDevice { (windows_core::Interface::vtable(self).SetPower)(windows_core::Interface::as_raw(self), power.param().abi()).ok() } pub unsafe fn Power(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Power)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Category(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Category)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClassID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _Category(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._Category)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _ClassID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._ClassID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -8142,7 +8142,7 @@ impl IMSVidDevice { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqualDevice)(windows_core::Interface::as_raw(self), device.param().abi(), &mut result__).map(|| result__) } } @@ -8150,12 +8150,12 @@ impl IMSVidDevice { #[repr(C)] pub struct IMSVidDevice_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPower: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Power: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub _Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub _ClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -8167,20 +8167,20 @@ windows_core::imp::define_interface!(IMSVidDevice2, IMSVidDevice2_Vtbl, 0x87bd27 impl std::ops::Deref for IMSVidDevice2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMSVidDevice2, windows_core::IUnknown); impl IMSVidDevice2 { pub unsafe fn DevicePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DevicePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMSVidDevice2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub DevicePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DevicePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidDeviceEvent, IMSVidDeviceEvent_Vtbl, 0x1c15d480_911d_11d2_b632_00c04f79498e); @@ -8188,7 +8188,7 @@ windows_core::imp::define_interface!(IMSVidDeviceEvent, IMSVidDeviceEvent_Vtbl, impl std::ops::Deref for IMSVidDeviceEvent { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8218,7 +8218,7 @@ windows_core::imp::define_interface!(IMSVidEVR, IMSVidEVR_Vtbl, 0x15e496ae_82a8_ impl std::ops::Deref for IMSVidEVR { type Target = IMSVidVideoRenderer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8227,7 +8227,7 @@ windows_core::imp::interface_hierarchy!(IMSVidEVR, windows_core::IUnknown, super impl IMSVidEVR { #[cfg(feature = "Win32_Media_MediaFoundation")] pub unsafe fn Presenter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Presenter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -8244,7 +8244,7 @@ impl IMSVidEVR { (windows_core::Interface::vtable(self).SetSuppressEffects)(windows_core::Interface::as_raw(self), bsuppress.param().abi()).ok() } pub unsafe fn SuppressEffects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SuppressEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8269,7 +8269,7 @@ windows_core::imp::define_interface!(IMSVidEVREvent, IMSVidEVREvent_Vtbl, 0x349a impl std::ops::Deref for IMSVidEVREvent { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8292,7 +8292,7 @@ windows_core::imp::define_interface!(IMSVidEncoder, IMSVidEncoder_Vtbl, 0xc0020f impl std::ops::Deref for IMSVidEncoder { type Target = IMSVidFeature; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8300,11 +8300,11 @@ windows_core::imp::interface_hierarchy!(IMSVidEncoder, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IMSVidEncoder { pub unsafe fn VideoEncoderInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoEncoderInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AudioEncoderInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioEncoderInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8321,7 +8321,7 @@ windows_core::imp::define_interface!(IMSVidFeature, IMSVidFeature_Vtbl, 0x37b035 impl std::ops::Deref for IMSVidFeature { type Target = IMSVidDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8339,7 +8339,7 @@ windows_core::imp::define_interface!(IMSVidFeatureEvent, IMSVidFeatureEvent_Vtbl impl std::ops::Deref for IMSVidFeatureEvent { type Target = IMSVidDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8357,7 +8357,7 @@ windows_core::imp::define_interface!(IMSVidFeatures, IMSVidFeatures_Vtbl, 0xc570 impl std::ops::Deref for IMSVidFeatures { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8365,12 +8365,12 @@ windows_core::imp::interface_hierarchy!(IMSVidFeatures, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMSVidFeatures { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8378,7 +8378,7 @@ impl IMSVidFeatures { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), v.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8405,14 +8405,14 @@ pub struct IMSVidFeatures_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidFilePlayback, IMSVidFilePlayback_Vtbl, 0x37b03539_a4c8_11d2_b634_00c04f79498e); @@ -8420,7 +8420,7 @@ windows_core::imp::define_interface!(IMSVidFilePlayback, IMSVidFilePlayback_Vtbl impl std::ops::Deref for IMSVidFilePlayback { type Target = IMSVidPlayback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8428,7 +8428,7 @@ windows_core::imp::interface_hierarchy!(IMSVidFilePlayback, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IMSVidFilePlayback { pub unsafe fn FileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFileName(&self, filename: P0) -> windows_core::Result<()> @@ -8442,8 +8442,8 @@ impl IMSVidFilePlayback { #[repr(C)] pub struct IMSVidFilePlayback_Vtbl { pub base__: IMSVidPlayback_Vtbl, - pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidFilePlayback2, IMSVidFilePlayback2_Vtbl, 0x2f7e44af_6e52_4660_bc08_d8d542587d72); @@ -8451,7 +8451,7 @@ windows_core::imp::define_interface!(IMSVidFilePlayback2, IMSVidFilePlayback2_Vt impl std::ops::Deref for IMSVidFilePlayback2 { type Target = IMSVidFilePlayback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8472,7 +8472,7 @@ impl IMSVidFilePlayback2 { #[repr(C)] pub struct IMSVidFilePlayback2_Vtbl { pub base__: IMSVidFilePlayback_Vtbl, - pub Set_SourceFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Set_SourceFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Set__SourceFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -8481,7 +8481,7 @@ windows_core::imp::define_interface!(IMSVidFilePlaybackEvent, IMSVidFilePlayback impl std::ops::Deref for IMSVidFilePlaybackEvent { type Target = IMSVidPlaybackEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8499,7 +8499,7 @@ windows_core::imp::define_interface!(IMSVidGenericSink, IMSVidGenericSink_Vtbl, impl std::ops::Deref for IMSVidGenericSink { type Target = IMSVidOutputDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8513,7 +8513,7 @@ impl IMSVidGenericSink { (windows_core::Interface::vtable(self).SetSinkFilter)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn SinkStreams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SinkStreams)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSinkStreams(&self, streams: MSVidSinkStreams) -> windows_core::Result<()> { @@ -8524,7 +8524,7 @@ impl IMSVidGenericSink { #[repr(C)] pub struct IMSVidGenericSink_Vtbl { pub base__: IMSVidOutputDevice_Vtbl, - pub SetSinkFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSinkFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SinkStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MSVidSinkStreams) -> windows_core::HRESULT, pub SetSinkStreams: unsafe extern "system" fn(*mut core::ffi::c_void, MSVidSinkStreams) -> windows_core::HRESULT, } @@ -8534,7 +8534,7 @@ windows_core::imp::define_interface!(IMSVidGenericSink2, IMSVidGenericSink2_Vtbl impl std::ops::Deref for IMSVidGenericSink2 { type Target = IMSVidGenericSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8555,7 +8555,7 @@ impl IMSVidGenericSink2 { #[repr(C)] pub struct IMSVidGenericSink2_Vtbl { pub base__: IMSVidGenericSink_Vtbl, - pub AddFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ResetFilterList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -8564,7 +8564,7 @@ windows_core::imp::define_interface!(IMSVidGraphSegment, IMSVidGraphSegment_Vtbl impl std::ops::Deref for IMSVidGraphSegment { type Target = super::super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8572,7 +8572,7 @@ windows_core::imp::interface_hierarchy!(IMSVidGraphSegment, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IMSVidGraphSegment { pub unsafe fn Init(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Init)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInit(&self, pinit: P0) -> windows_core::Result<()> @@ -8582,11 +8582,11 @@ impl IMSVidGraphSegment { (windows_core::Interface::vtable(self).SetInit)(windows_core::Interface::as_raw(self), pinit.param().abi()).ok() } pub unsafe fn EnumFilters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFilters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Container(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Container)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContainer(&self, pctl: P0) -> windows_core::Result<()> @@ -8596,11 +8596,11 @@ impl IMSVidGraphSegment { (windows_core::Interface::vtable(self).SetContainer)(windows_core::Interface::as_raw(self), pctl.param().abi()).ok() } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Category(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Category)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Build(&self) -> windows_core::Result<()> { @@ -8652,44 +8652,44 @@ windows_core::imp::define_interface!(IMSVidGraphSegmentContainer, IMSVidGraphSeg impl std::ops::Deref for IMSVidGraphSegmentContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMSVidGraphSegmentContainer, windows_core::IUnknown); impl IMSVidGraphSegmentContainer { pub unsafe fn Graph(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Graph)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Input(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Input)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Outputs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Outputs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn VideoRenderer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoRenderer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioRenderer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioRenderer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Features(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Features)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Composites(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Composites)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ParentContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8737,7 +8737,7 @@ windows_core::imp::define_interface!(IMSVidGraphSegmentUserInput, IMSVidGraphSeg impl std::ops::Deref for IMSVidGraphSegmentUserInput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMSVidGraphSegmentUserInput, windows_core::IUnknown); @@ -8785,7 +8785,7 @@ windows_core::imp::define_interface!(IMSVidInputDevice, IMSVidInputDevice_Vtbl, impl std::ops::Deref for IMSVidInputDevice { type Target = IMSVidDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8793,7 +8793,7 @@ windows_core::imp::interface_hierarchy!(IMSVidInputDevice, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IMSVidInputDevice { pub unsafe fn IsViewable(&self, v: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsViewable)(windows_core::Interface::as_raw(self), core::mem::transmute(v), &mut result__).map(|| result__) } pub unsafe fn View(&self, v: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -8804,8 +8804,8 @@ impl IMSVidInputDevice { #[repr(C)] pub struct IMSVidInputDevice_Vtbl { pub base__: IMSVidDevice_Vtbl, - pub IsViewable: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub View: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsViewable: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub View: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidInputDeviceEvent, IMSVidInputDeviceEvent_Vtbl, 0x37b0353e_a4c8_11d2_b634_00c04f79498e); @@ -8813,7 +8813,7 @@ windows_core::imp::define_interface!(IMSVidInputDeviceEvent, IMSVidInputDeviceEv impl std::ops::Deref for IMSVidInputDeviceEvent { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8831,7 +8831,7 @@ windows_core::imp::define_interface!(IMSVidInputDevices, IMSVidInputDevices_Vtbl impl std::ops::Deref for IMSVidInputDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8839,12 +8839,12 @@ windows_core::imp::interface_hierarchy!(IMSVidInputDevices, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IMSVidInputDevices { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8852,7 +8852,7 @@ impl IMSVidInputDevices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), v.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8879,14 +8879,14 @@ pub struct IMSVidInputDevices_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidOutputDevice, IMSVidOutputDevice_Vtbl, 0x37b03546_a4c8_11d2_b634_00c04f79498e); @@ -8894,7 +8894,7 @@ windows_core::imp::define_interface!(IMSVidOutputDevice, IMSVidOutputDevice_Vtbl impl std::ops::Deref for IMSVidOutputDevice { type Target = IMSVidDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8912,7 +8912,7 @@ windows_core::imp::define_interface!(IMSVidOutputDeviceEvent, IMSVidOutputDevice impl std::ops::Deref for IMSVidOutputDeviceEvent { type Target = IMSVidDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8930,7 +8930,7 @@ windows_core::imp::define_interface!(IMSVidOutputDevices, IMSVidOutputDevices_Vt impl std::ops::Deref for IMSVidOutputDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8938,12 +8938,12 @@ windows_core::imp::interface_hierarchy!(IMSVidOutputDevices, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IMSVidOutputDevices { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8951,7 +8951,7 @@ impl IMSVidOutputDevices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), v.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8978,14 +8978,14 @@ pub struct IMSVidOutputDevices_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidPlayback, IMSVidPlayback_Vtbl, 0x37b03538_a4c8_11d2_b634_00c04f79498e); @@ -8993,7 +8993,7 @@ windows_core::imp::define_interface!(IMSVidPlayback, IMSVidPlayback_Vtbl, 0x37b0 impl std::ops::Deref for IMSVidPlayback { type Target = IMSVidInputDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9001,7 +9001,7 @@ windows_core::imp::interface_hierarchy!(IMSVidPlayback, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMSVidPlayback { pub unsafe fn EnableResetOnStop(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableResetOnStop)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableResetOnStop(&self, newval: P0) -> windows_core::Result<()> @@ -9023,7 +9023,7 @@ impl IMSVidPlayback { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_CanStep)(windows_core::Interface::as_raw(self), fbackwards.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Step(&self, lstep: i32) -> windows_core::Result<()> { @@ -9033,25 +9033,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PositionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9080,7 +9080,7 @@ windows_core::imp::define_interface!(IMSVidPlaybackEvent, IMSVidPlaybackEvent_Vt impl std::ops::Deref for IMSVidPlaybackEvent { type Target = IMSVidInputDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9110,7 +9110,7 @@ windows_core::imp::define_interface!(IMSVidRect, IMSVidRect_Vtbl, 0x7f5000a6_a44 impl std::ops::Deref for IMSVidRect { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9118,35 +9118,35 @@ windows_core::imp::interface_hierarchy!(IMSVidRect, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IMSVidRect { pub unsafe fn Top(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Top)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Left)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Height)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHeight(&self, heightval: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetHeight)(windows_core::Interface::as_raw(self), heightval).ok() } pub unsafe fn HWnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HWnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHWnd(&self, hwndval: P0) -> windows_core::Result<()> @@ -9188,7 +9188,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferRecordingControl, IMSVidS impl std::ops::Deref for IMSVidStreamBufferRecordingControl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9196,33 +9196,33 @@ windows_core::imp::interface_hierarchy!(IMSVidStreamBufferRecordingControl, wind #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferRecordingControl { pub unsafe fn StartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StopTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecordingStopped)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RecordingStarted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecordingStarted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RecordingType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecordingType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RecordingAttribute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecordingAttribute)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9245,7 +9245,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSink, IMSVidStreamBufferS impl std::ops::Deref for IMSVidStreamBufferSink { type Target = IMSVidOutputDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9257,7 +9257,7 @@ impl IMSVidStreamBufferSink { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ContentRecorder)(windows_core::Interface::as_raw(self), pszfilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9265,11 +9265,11 @@ impl IMSVidStreamBufferSink { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ReferenceRecorder)(windows_core::Interface::as_raw(self), pszfilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SinkName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SinkName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSinkName(&self, name: P0) -> windows_core::Result<()> @@ -9282,7 +9282,7 @@ impl IMSVidStreamBufferSink { (windows_core::Interface::vtable(self).NameSetLock)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn SBESink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SBESink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9291,15 +9291,15 @@ impl IMSVidStreamBufferSink { pub struct IMSVidStreamBufferSink_Vtbl { pub base__: IMSVidOutputDevice_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub get_ContentRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ContentRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ContentRecorder: usize, #[cfg(feature = "Win32_System_Com")] - pub get_ReferenceRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ReferenceRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ReferenceRecorder: usize, - pub SinkName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSinkName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SinkName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSinkName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub NameSetLock: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SBESink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -9309,7 +9309,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSink2, IMSVidStreamBuffer impl std::ops::Deref for IMSVidStreamBufferSink2 { type Target = IMSVidStreamBufferSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9332,7 +9332,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSink3, IMSVidStreamBuffer impl std::ops::Deref for IMSVidStreamBufferSink3 { type Target = IMSVidStreamBufferSink2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9340,23 +9340,23 @@ windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSink3, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSink3 { pub unsafe fn SetMinSeek(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetMinSeek)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AudioCounter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioCounter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VideoCounter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoCounter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CCCounter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CCCounter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn WSTCounter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WSTCounter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAudioAnalysisFilter(&self, szclsid: P0) -> windows_core::Result<()> @@ -9366,14 +9366,14 @@ impl IMSVidStreamBufferSink3 { (windows_core::Interface::vtable(self).SetAudioAnalysisFilter)(windows_core::Interface::as_raw(self), szclsid.param().abi()).ok() } pub unsafe fn AudioAnalysisFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioAnalysisFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._AudioAnalysisFilter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVideoAnalysisFilter(&self, szclsid: P0) -> windows_core::Result<()> @@ -9383,14 +9383,14 @@ impl IMSVidStreamBufferSink3 { (windows_core::Interface::vtable(self).SetVideoAnalysisFilter)(windows_core::Interface::as_raw(self), szclsid.param().abi()).ok() } pub unsafe fn VideoAnalysisFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoAnalysisFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._VideoAnalysisFilter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDataAnalysisFilter(&self, szclsid: P0) -> windows_core::Result<()> @@ -9400,18 +9400,18 @@ impl IMSVidStreamBufferSink3 { (windows_core::Interface::vtable(self).SetDataAnalysisFilter)(windows_core::Interface::as_raw(self), szclsid.param().abi()).ok() } pub unsafe fn DataAnalysisFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataAnalysisFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._DataAnalysisFilter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LicenseErrorCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LicenseErrorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9424,16 +9424,16 @@ pub struct IMSVidStreamBufferSink3_Vtbl { pub VideoCounter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CCCounter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub WSTCounter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetAudioAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAudioAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Set_AudioAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub _AudioAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub SetVideoAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VideoAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVideoAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VideoAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Set_VideoAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub _VideoAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub SetDataAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DataAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDataAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DataAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Set_DataAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub _DataAnalysisFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub LicenseErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, @@ -9444,7 +9444,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent, IMSVidStreamBu impl std::ops::Deref for IMSVidStreamBufferSinkEvent { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9475,7 +9475,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent2, IMSVidStreamB impl std::ops::Deref for IMSVidStreamBufferSinkEvent2 { type Target = IMSVidStreamBufferSinkEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9502,7 +9502,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent3, IMSVidStreamB impl std::ops::Deref for IMSVidStreamBufferSinkEvent3 { type Target = IMSVidStreamBufferSinkEvent2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9525,7 +9525,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent4, IMSVidStreamB impl std::ops::Deref for IMSVidStreamBufferSinkEvent4 { type Target = IMSVidStreamBufferSinkEvent3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9548,7 +9548,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSource, IMSVidStreamBuffe impl std::ops::Deref for IMSVidStreamBufferSource { type Target = IMSVidFilePlayback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9556,11 +9556,11 @@ windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSource, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSource { pub unsafe fn Start(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Start)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RecordingAttribute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecordingAttribute)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentRatings(&self, pensystem: *mut EnTvRat_System, penrating: *mut EnTvRat_GenericLevel, pbfenattr: *mut i32) -> windows_core::Result<()> { @@ -9579,7 +9579,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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SBESource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9601,7 +9601,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSource2, IMSVidStreamBuff impl std::ops::Deref for IMSVidStreamBufferSource2 { type Target = IMSVidStreamBufferSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9612,19 +9612,19 @@ impl IMSVidStreamBufferSource2 { (windows_core::Interface::vtable(self).put_RateEx)(windows_core::Interface::as_raw(self), dwrate, dwframespersecond).ok() } pub unsafe fn AudioCounter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioCounter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VideoCounter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoCounter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CCCounter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CCCounter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn WSTCounter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WSTCounter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9644,7 +9644,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSourceEvent, IMSVidStream impl std::ops::Deref for IMSVidStreamBufferSourceEvent { type Target = IMSVidFilePlaybackEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9699,7 +9699,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSourceEvent2, IMSVidStrea impl std::ops::Deref for IMSVidStreamBufferSourceEvent2 { type Target = IMSVidStreamBufferSourceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9722,7 +9722,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferSourceEvent3, IMSVidStrea impl std::ops::Deref for IMSVidStreamBufferSourceEvent3 { type Target = IMSVidStreamBufferSourceEvent2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9755,8 +9755,8 @@ impl IMSVidStreamBufferSourceEvent3 { #[repr(C)] pub struct IMSVidStreamBufferSourceEvent3_Vtbl { pub base__: IMSVidStreamBufferSourceEvent2_Vtbl, - pub BroadcastEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BroadcastEventEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, u32, u32, u32) -> windows_core::HRESULT, + pub BroadcastEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BroadcastEventEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, u32, u32, u32) -> windows_core::HRESULT, pub COPPBlocked: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub COPPUnblocked: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ContentPrimarilyAudio: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9767,7 +9767,7 @@ windows_core::imp::define_interface!(IMSVidStreamBufferV2SourceEvent, IMSVidStre impl std::ops::Deref for IMSVidStreamBufferV2SourceEvent { type Target = IMSVidFilePlaybackEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9818,8 +9818,8 @@ pub struct IMSVidStreamBufferV2SourceEvent_Vtbl { pub ContentBecomingStale: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StaleFileDeleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RateChange: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, - pub BroadcastEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BroadcastEventEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, u32, u32, u32) -> windows_core::HRESULT, + pub BroadcastEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BroadcastEventEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, u32, u32, u32) -> windows_core::HRESULT, pub ContentPrimarilyAudio: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -9828,7 +9828,7 @@ windows_core::imp::define_interface!(IMSVidTuner, IMSVidTuner_Vtbl, 0x1c15d47d_9 impl std::ops::Deref for IMSVidTuner { type Target = IMSVidVideoInputDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9837,7 +9837,7 @@ windows_core::imp::interface_hierarchy!(IMSVidTuner, windows_core::IUnknown, sup impl IMSVidTuner { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tune(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tune)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9849,7 +9849,7 @@ impl IMSVidTuner { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TuningSpace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9887,7 +9887,7 @@ windows_core::imp::define_interface!(IMSVidTunerEvent, IMSVidTunerEvent_Vtbl, 0x impl std::ops::Deref for IMSVidTunerEvent { type Target = IMSVidInputDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9917,7 +9917,7 @@ windows_core::imp::define_interface!(IMSVidVMR9, IMSVidVMR9_Vtbl, 0xd58b0015_ebe impl std::ops::Deref for IMSVidVMR9 { type Target = IMSVidVideoRenderer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9925,7 +9925,7 @@ windows_core::imp::interface_hierarchy!(IMSVidVMR9, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IMSVidVMR9 { pub unsafe fn Allocator_ID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Allocator_ID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllocator(&self, allocpresent: P0, id: i32) -> windows_core::Result<()> @@ -9941,11 +9941,11 @@ impl IMSVidVMR9 { (windows_core::Interface::vtable(self).SetSuppressEffects)(windows_core::Interface::as_raw(self), bsuppress.param().abi()).ok() } pub unsafe fn SuppressEffects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SuppressEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Allocator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Allocator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9965,7 +9965,7 @@ windows_core::imp::define_interface!(IMSVidVRGraphSegment, IMSVidVRGraphSegment_ impl std::ops::Deref for IMSVidVRGraphSegment { type Target = IMSVidGraphSegment; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9982,11 +9982,11 @@ impl IMSVidVRGraphSegment { (windows_core::Interface::vtable(self).SetOwner)(windows_core::Interface::as_raw(self), window.param().abi()).ok() } pub unsafe fn Owner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Owner)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UseOverlay(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseOverlay)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseOverlay(&self, useoverlayval: P0) -> windows_core::Result<()> @@ -9996,7 +9996,7 @@ impl IMSVidVRGraphSegment { (windows_core::Interface::vtable(self).SetUseOverlay)(windows_core::Interface::as_raw(self), useoverlayval.param().abi()).ok() } pub unsafe fn Visible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Visible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVisible(&self, visible: P0) -> windows_core::Result<()> @@ -10006,21 +10006,21 @@ impl IMSVidVRGraphSegment { (windows_core::Interface::vtable(self).SetVisible)(windows_core::Interface::as_raw(self), visible.param().abi()).ok() } pub unsafe fn ColorKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ColorKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetColorKey(&self, colorkey: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetColorKey)(windows_core::Interface::as_raw(self), colorkey).ok() } pub unsafe fn Source(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Source)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSource(&self, r: super::super::super::Foundation::RECT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetSource)(windows_core::Interface::as_raw(self), core::mem::transmute(r)).ok() } pub unsafe fn Destination(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Destination)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDestination(&self, r: super::super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -10030,14 +10030,14 @@ impl IMSVidVRGraphSegment { (windows_core::Interface::vtable(self).get_NativeSize)(windows_core::Interface::as_raw(self), sizeval, aspectratio).ok() } pub unsafe fn BorderColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BorderColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaintainAspectRatio)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaintainAspectRatio(&self, fmaintain: P0) -> windows_core::Result<()> @@ -10095,7 +10095,7 @@ windows_core::imp::define_interface!(IMSVidVideoInputDevice, IMSVidVideoInputDev impl std::ops::Deref for IMSVidVideoInputDevice { type Target = IMSVidInputDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10113,7 +10113,7 @@ windows_core::imp::define_interface!(IMSVidVideoRenderer, IMSVidVideoRenderer_Vt impl std::ops::Deref for IMSVidVideoRenderer { type Target = IMSVidOutputDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10121,7 +10121,7 @@ windows_core::imp::interface_hierarchy!(IMSVidVideoRenderer, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoRenderer { pub unsafe fn CustomCompositorClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CustomCompositorClass)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCustomCompositorClass(&self, compositorclsid: P0) -> windows_core::Result<()> @@ -10131,14 +10131,14 @@ impl IMSVidVideoRenderer { (windows_core::Interface::vtable(self).SetCustomCompositorClass)(windows_core::Interface::as_raw(self), compositorclsid.param().abi()).ok() } pub unsafe fn _CustomCompositorClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._CustomCompositorClass)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), compositorclsid).ok() } pub unsafe fn _CustomCompositor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._CustomCompositor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Set_CustomCompositor(&self, compositor: P0) -> windows_core::Result<()> @@ -10149,11 +10149,11 @@ impl IMSVidVideoRenderer { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MixerBitmap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MixerBitmap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _MixerBitmap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._MixerBitmap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -10169,7 +10169,7 @@ impl IMSVidVideoRenderer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn MixerBitmapPositionRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MixerBitmapPositionRect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -10180,7 +10180,7 @@ impl IMSVidVideoRenderer { (windows_core::Interface::vtable(self).SetMixerBitmapPositionRect)(windows_core::Interface::as_raw(self), rdest.param().abi()).ok() } pub unsafe fn MixerBitmapOpacity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MixerBitmapOpacity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMixerBitmapOpacity(&self, opacity: i32) -> windows_core::Result<()> { @@ -10195,14 +10195,14 @@ impl IMSVidVideoRenderer { (windows_core::Interface::vtable(self).SetupMixerBitmap)(windows_core::Interface::as_raw(self), mixerpicturedisp.param().abi(), opacity, rdest.param().abi()).ok() } pub unsafe fn SourceSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OverScan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOverScan(&self, lpercent: i32) -> windows_core::Result<()> { @@ -10210,22 +10210,22 @@ impl IMSVidVideoRenderer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AvailableSourceRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvailableSourceRect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn MaxVidRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxVidRect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn MinVidRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinVidRect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClippedSourceRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClippedSourceRect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -10236,7 +10236,7 @@ impl IMSVidVideoRenderer { (windows_core::Interface::vtable(self).SetClippedSourceRect)(windows_core::Interface::as_raw(self), prect.param().abi()).ok() } pub unsafe fn UsingOverlay(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UsingOverlay)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUsingOverlay(&self, useoverlayval: P0) -> windows_core::Result<()> @@ -10247,15 +10247,15 @@ impl IMSVidVideoRenderer { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Capture(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Capture)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FramesPerSecond(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FramesPerSecond)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DecimateInput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DecimateInput)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDecimateInput(&self, pdeci: P0) -> windows_core::Result<()> @@ -10269,8 +10269,8 @@ impl IMSVidVideoRenderer { #[repr(C)] pub struct IMSVidVideoRenderer_Vtbl { pub base__: IMSVidOutputDevice_Vtbl, - pub CustomCompositorClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCustomCompositorClass: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomCompositorClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCustomCompositorClass: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub _CustomCompositorClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Set_CustomCompositorClass: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub _CustomCompositor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -10342,7 +10342,7 @@ windows_core::imp::define_interface!(IMSVidVideoRenderer2, IMSVidVideoRenderer2_ impl std::ops::Deref for IMSVidVideoRenderer2 { type Target = IMSVidVideoRenderer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10350,15 +10350,15 @@ windows_core::imp::interface_hierarchy!(IMSVidVideoRenderer2, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoRenderer2 { pub unsafe fn Allocator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Allocator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _Allocator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._Allocator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Allocator_ID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Allocator_ID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllocator(&self, allocpresent: P0, id: i32) -> windows_core::Result<()> @@ -10380,7 +10380,7 @@ impl IMSVidVideoRenderer2 { (windows_core::Interface::vtable(self).SetSuppressEffects)(windows_core::Interface::as_raw(self), bsuppress.param().abi()).ok() } pub unsafe fn SuppressEffects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SuppressEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10402,7 +10402,7 @@ windows_core::imp::define_interface!(IMSVidVideoRendererDevices, IMSVidVideoRend impl std::ops::Deref for IMSVidVideoRendererDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10410,12 +10410,12 @@ windows_core::imp::interface_hierarchy!(IMSVidVideoRendererDevices, windows_core #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoRendererDevices { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -10423,7 +10423,7 @@ impl IMSVidVideoRendererDevices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), v.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -10450,14 +10450,14 @@ pub struct IMSVidVideoRendererDevices_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidVideoRendererEvent, IMSVidVideoRendererEvent_Vtbl, 0x37b03545_a4c8_11d2_b634_00c04f79498e); @@ -10465,7 +10465,7 @@ windows_core::imp::define_interface!(IMSVidVideoRendererEvent, IMSVidVideoRender impl std::ops::Deref for IMSVidVideoRendererEvent { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10488,7 +10488,7 @@ windows_core::imp::define_interface!(IMSVidVideoRendererEvent2, IMSVidVideoRende impl std::ops::Deref for IMSVidVideoRendererEvent2 { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10511,7 +10511,7 @@ windows_core::imp::define_interface!(IMSVidWebDVD, IMSVidWebDVD_Vtbl, 0xcf45f88b impl std::ops::Deref for IMSVidWebDVD { type Target = IMSVidPlayback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10568,7 +10568,7 @@ impl IMSVidWebDVD { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AudioLanguage)(windows_core::Interface::as_raw(self), lstream, fformat.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowMenu(&self, menuid: DVDMenuIDConstants) -> windows_core::Result<()> { @@ -10581,11 +10581,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ButtonsAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentButton(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentButton)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SelectAndActivateButton(&self, lbutton: i32) -> windows_core::Result<()> { @@ -10613,55 +10613,55 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ButtonAtPosition)(windows_core::Interface::as_raw(self), xpos, ypos, &mut result__).map(|| result__) } pub unsafe fn get_NumberOfChapters(&self, ltitle: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_NumberOfChapters)(windows_core::Interface::as_raw(self), ltitle, &mut result__).map(|| result__) } pub unsafe fn TotalTitleTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalTitleTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TitlesAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TitlesAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VolumesAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumesAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentVolume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentVolume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentDiscSide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDiscSide)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDomain)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentChapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentChapter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentTitle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentTitle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DVDTimeCode2bstr(&self, timecode: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DVDTimeCode2bstr)(windows_core::Interface::as_raw(self), timecode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DVDDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DVDDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDVDDirectory(&self, newval: P0) -> windows_core::Result<()> @@ -10671,52 +10671,52 @@ impl IMSVidWebDVD { (windows_core::Interface::vtable(self).SetDVDDirectory)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn IsSubpictureStreamEnabled(&self, lstream: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSubpictureStreamEnabled)(windows_core::Interface::as_raw(self), lstream, &mut result__).map(|| result__) } pub unsafe fn IsAudioStreamEnabled(&self, lstream: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAudioStreamEnabled)(windows_core::Interface::as_raw(self), lstream, &mut result__).map(|| result__) } pub unsafe fn CurrentSubpictureStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentSubpictureStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCurrentSubpictureStream(&self, newval: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetCurrentSubpictureStream)(windows_core::Interface::as_raw(self), newval).ok() } pub unsafe fn get_SubpictureLanguage(&self, lstream: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SubpictureLanguage)(windows_core::Interface::as_raw(self), lstream, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentAudioStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAudioStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioStreamsAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AnglesAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AnglesAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentAngle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAngle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubpictureStreamsAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SubpictureOn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubpictureOn)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSubpictureOn(&self, newval: P0) -> windows_core::Result<()> @@ -10726,7 +10726,7 @@ impl IMSVidWebDVD { (windows_core::Interface::vtable(self).SetSubpictureOn)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn DVDUniqueID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DVDUniqueID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AcceptParentalLevelChange(&self, faccept: P0, strusername: P1, strpassword: P2) -> windows_core::Result<()> @@ -10758,53 +10758,53 @@ impl IMSVidWebDVD { (windows_core::Interface::vtable(self).SelectParentalLevel)(windows_core::Interface::as_raw(self), lparentallevel, strusername.param().abi(), strpassword.param().abi()).ok() } pub unsafe fn get_TitleParentalLevels(&self, ltitle: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_TitleParentalLevels)(windows_core::Interface::as_raw(self), ltitle, &mut result__).map(|| result__) } pub unsafe fn PlayerParentalCountry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayerParentalCountry)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PlayerParentalLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayerParentalLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UOPValid)(windows_core::Interface::as_raw(self), luop, &mut result__).map(|| result__) } pub unsafe fn get_SPRM(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SPRM)(windows_core::Interface::as_raw(self), lindex, &mut result__).map(|| result__) } pub unsafe fn get_GPRM(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_GPRM)(windows_core::Interface::as_raw(self), lindex, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_DVDTextStringType)(windows_core::Interface::as_raw(self), llangindex, lstringindex, &mut result__).map(|| result__) } pub unsafe fn get_DVDTextString(&self, llangindex: i32, lstringindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_DVDTextString)(windows_core::Interface::as_raw(self), llangindex, lstringindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_DVDTextNumberOfStrings(&self, llangindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_DVDTextNumberOfStrings)(windows_core::Interface::as_raw(self), llangindex, &mut result__).map(|| result__) } pub unsafe fn DVDTextNumberOfLanguages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DVDTextNumberOfLanguages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_DVDTextLanguageLCID(&self, llangindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_DVDTextLanguageLCID)(windows_core::Interface::as_raw(self), llangindex, &mut result__).map(|| result__) } pub unsafe fn RegionChange(&self) -> windows_core::Result<()> { @@ -10812,7 +10812,7 @@ impl IMSVidWebDVD { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DVDAdm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DVDAdm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteBookmark(&self) -> windows_core::Result<()> { @@ -10831,49 +10831,49 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredSubpictureStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultMenuLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultMenuLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultSubpictureLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultAudioLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultAudioLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultSubpictureLanguageExt(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultSubpictureLanguageExt)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultAudioLanguageExt(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultAudioLanguageExt)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_LanguageFromLCID(&self, lcid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_LanguageFromLCID)(windows_core::Interface::as_raw(self), lcid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn KaraokeAudioPresentationMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KaraokeAudioPresentationMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_KaraokeChannelContent)(windows_core::Interface::as_raw(self), lstream, lchan, &mut result__).map(|| result__) } pub unsafe fn get_KaraokeChannelAssignment(&self, lstream: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_KaraokeChannelAssignment)(windows_core::Interface::as_raw(self), lstream, &mut result__).map(|| result__) } pub unsafe fn RestorePreferredSettings(&self) -> windows_core::Result<()> { @@ -10881,12 +10881,12 @@ impl IMSVidWebDVD { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ButtonRect(&self, lbutton: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ButtonRect)(windows_core::Interface::as_raw(self), lbutton, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DVDScreenInMouseCoordinates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DVDScreenInMouseCoordinates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -10906,14 +10906,14 @@ pub struct IMSVidWebDVD_Vtbl { pub PlayChapterInTitle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub PlayChapter: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub PlayChaptersAutoStop: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32) -> windows_core::HRESULT, - pub PlayAtTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlayAtTimeInTitle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlayPeriodInTitleAutoStop: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlayAtTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlayAtTimeInTitle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlayPeriodInTitleAutoStop: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReplayChapter: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PlayPrevChapter: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PlayNextChapter: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StillOff: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_AudioLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_AudioLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::super::Foundation::VARIANT_BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ShowMenu: unsafe extern "system" fn(*mut core::ffi::c_void, DVDMenuIDConstants) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReturnFromSubmenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -10929,7 +10929,7 @@ pub struct IMSVidWebDVD_Vtbl { pub SelectAtPosition: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub get_ButtonAtPosition: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, pub get_NumberOfChapters: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, - pub TotalTitleTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TotalTitleTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TitlesAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub VolumesAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -10937,15 +10937,15 @@ pub struct IMSVidWebDVD_Vtbl { pub CurrentDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentChapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CurrentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DVDTimeCode2bstr: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DVDDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDVDDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DVDTimeCode2bstr: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DVDDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDVDDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsSubpictureStreamEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsAudioStreamEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CurrentSubpictureStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCurrentSubpictureStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub get_SubpictureLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_SubpictureLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentAudioStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCurrentAudioStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AudioStreamsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -10955,11 +10955,11 @@ pub struct IMSVidWebDVD_Vtbl { pub SubpictureStreamsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SubpictureOn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetSubpictureOn: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DVDUniqueID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AcceptParentalLevelChange: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DVDUniqueID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AcceptParentalLevelChange: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub NotifyParentalLevelChange: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SelectParentalCountry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelectParentalLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelectParentalCountry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelectParentalLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub get_TitleParentalLevels: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub PlayerParentalCountry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub PlayerParentalLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -10969,7 +10969,7 @@ pub struct IMSVidWebDVD_Vtbl { pub get_GPRM: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i16) -> windows_core::HRESULT, pub put_GPRM: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i16) -> windows_core::HRESULT, pub get_DVDTextStringType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut DVDTextStringType) -> windows_core::HRESULT, - pub get_DVDTextString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_DVDTextString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub get_DVDTextNumberOfStrings: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub DVDTextNumberOfLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub get_DVDTextLanguageLCID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, @@ -10990,7 +10990,7 @@ pub struct IMSVidWebDVD_Vtbl { pub DefaultAudioLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DefaultSubpictureLanguageExt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DVDSPExt) -> windows_core::HRESULT, pub DefaultAudioLanguageExt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_LanguageFromLCID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_LanguageFromLCID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub KaraokeAudioPresentationMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetKaraokeAudioPresentationMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub get_KaraokeChannelContent: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, @@ -11015,7 +11015,7 @@ windows_core::imp::define_interface!(IMSVidWebDVD2, IMSVidWebDVD2_Vtbl, 0x702721 impl std::ops::Deref for IMSVidWebDVD2 { type Target = IMSVidWebDVD; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -11042,7 +11042,7 @@ windows_core::imp::define_interface!(IMSVidWebDVDAdm, IMSVidWebDVDAdm_Vtbl, 0xb8 impl std::ops::Deref for IMSVidWebDVDAdm { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -11076,40 +11076,40 @@ impl IMSVidWebDVDAdm { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConfirmPassword)(windows_core::Interface::as_raw(self), strusername.param().abi(), strpassword.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetParentalLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentalLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetParentalCountry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentalCountry)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultAudioLCID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultAudioLCID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultSubpictureLCID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultMenuLCID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BookmarkOnStop)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBookmarkOnStop(&self, newval: P0) -> windows_core::Result<()> @@ -11123,10 +11123,10 @@ impl IMSVidWebDVDAdm { #[repr(C)] pub struct IMSVidWebDVDAdm_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub ChangePassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SaveParentalLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SaveParentalCountry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConfirmPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub ChangePassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveParentalLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveParentalCountry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConfirmPassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetParentalLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetParentalCountry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DefaultAudioLCID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -11144,7 +11144,7 @@ windows_core::imp::define_interface!(IMSVidWebDVDEvent, IMSVidWebDVDEvent_Vtbl, impl std::ops::Deref for IMSVidWebDVDEvent { type Target = IMSVidPlaybackEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -11295,7 +11295,7 @@ impl IMSVidWebDVDEvent { #[repr(C)] pub struct IMSVidWebDVDEvent_Vtbl { pub base__: IMSVidPlaybackEvent_Vtbl, - pub DVDNotify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DVDNotify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PlayForwards: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub PlayBackwards: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ShowMenu: unsafe extern "system" fn(*mut core::ffi::c_void, DVDMenuIDConstants, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -11325,7 +11325,7 @@ windows_core::imp::define_interface!(IMSVidXDS, IMSVidXDS_Vtbl, 0x11ebc158_e712_ impl std::ops::Deref for IMSVidXDS { type Target = IMSVidFeature; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -11333,7 +11333,7 @@ windows_core::imp::interface_hierarchy!(IMSVidXDS, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IMSVidXDS { pub unsafe fn ChannelChangeInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChannelChangeInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11349,7 +11349,7 @@ windows_core::imp::define_interface!(IMSVidXDSEvent, IMSVidXDSEvent_Vtbl, 0x6db2 impl std::ops::Deref for IMSVidXDSEvent { type Target = IMSVidFeatureEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -11370,7 +11370,7 @@ windows_core::imp::define_interface!(IMceBurnerControl, IMceBurnerControl_Vtbl, impl std::ops::Deref for IMceBurnerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMceBurnerControl, windows_core::IUnknown); @@ -11388,24 +11388,24 @@ windows_core::imp::define_interface!(IMpeg2Data, IMpeg2Data_Vtbl, 0x9b396d40_f38 impl std::ops::Deref for IMpeg2Data { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMpeg2Data, windows_core::IUnknown); impl IMpeg2Data { pub unsafe fn GetSection(&self, pid: u16, tid: u8, pfilter: *const MPEG2_FILTER, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSection)(windows_core::Interface::as_raw(self), pid, tid, pfilter, dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTable(&self, pid: u16, tid: u8, pfilter: *const MPEG2_FILTER, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTable)(windows_core::Interface::as_raw(self), pid, tid, pfilter, dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamOfSections(&self, pid: u16, tid: u8, pfilter: *const MPEG2_FILTER, hdatareadyevent: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamOfSections)(windows_core::Interface::as_raw(self), pid, tid, pfilter, hdatareadyevent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11420,7 +11420,7 @@ windows_core::imp::define_interface!(IMpeg2Stream, IMpeg2Stream_Vtbl, 0x400cc286 impl std::ops::Deref for IMpeg2Stream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMpeg2Stream, windows_core::IUnknown); @@ -11446,7 +11446,7 @@ windows_core::imp::define_interface!(IMpeg2TableFilter, IMpeg2TableFilter_Vtbl, impl std::ops::Deref for IMpeg2TableFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMpeg2TableFilter, windows_core::IUnknown); @@ -11484,7 +11484,7 @@ windows_core::imp::define_interface!(IPAT, IPAT_Vtbl, 0x6623b511_4b5f_43c3_9a01_ impl std::ops::Deref for IPAT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPAT, windows_core::IUnknown); @@ -11497,27 +11497,27 @@ impl IPAT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetTransportStreamId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportStreamId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordProgramNumber(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordProgramNumber)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordProgramMapPid(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordProgramMapPid)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| result__) } pub unsafe fn FindRecordProgramMapPid(&self, wprogramnumber: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindRecordProgramMapPid)(windows_core::Interface::as_raw(self), wprogramnumber, &mut result__).map(|| result__) } pub unsafe fn RegisterForNextTable(&self, hnexttableavailable: P0) -> windows_core::Result<()> @@ -11527,7 +11527,7 @@ impl IPAT { (windows_core::Interface::vtable(self).RegisterForNextTable)(windows_core::Interface::as_raw(self), hnexttableavailable.param().abi()).ok() } pub unsafe fn GetNextTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForWhenCurrent(&self, hnexttableiscurrent: P0) -> windows_core::Result<()> @@ -11559,17 +11559,17 @@ windows_core::imp::define_interface!(IPBDAAttributesDescriptor, IPBDAAttributesD impl std::ops::Deref for IPBDAAttributesDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPBDAAttributesDescriptor, windows_core::IUnknown); impl IPBDAAttributesDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAttributePayload(&self, ppbattributebuffer: *mut *mut u8, pdwattributelength: *mut u32) -> windows_core::Result<()> { @@ -11587,17 +11587,17 @@ windows_core::imp::define_interface!(IPBDAEntitlementDescriptor, IPBDAEntitlemen impl std::ops::Deref for IPBDAEntitlementDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPBDAEntitlementDescriptor, windows_core::IUnknown); impl IPBDAEntitlementDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetToken(&self, ppbtokenbuffer: *mut *mut u8, pdwtokenlength: *mut u32) -> windows_core::Result<()> { @@ -11615,7 +11615,7 @@ windows_core::imp::define_interface!(IPBDASiParser, IPBDASiParser_Vtbl, 0x9de49a impl std::ops::Deref for IPBDASiParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPBDASiParser, windows_core::IUnknown); @@ -11627,11 +11627,11 @@ impl IPBDASiParser { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), punk.param().abi()).ok() } pub unsafe fn GetEIT(&self, dwsize: u32, pbuffer: *const u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEIT)(windows_core::Interface::as_raw(self), dwsize, pbuffer, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetServices(&self, dwsize: u32, pbuffer: *const u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServices)(windows_core::Interface::as_raw(self), dwsize, pbuffer, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11646,7 +11646,7 @@ windows_core::imp::define_interface!(IPBDA_EIT, IPBDA_EIT_Vtbl, 0xa35f2dea_098f_ impl std::ops::Deref for IPBDA_EIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPBDA_EIT, windows_core::IUnknown); @@ -11655,39 +11655,39 @@ impl IPBDA_EIT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pbuffer.len().try_into().unwrap(), core::mem::transmute(pbuffer.as_ptr())).ok() } pub unsafe fn GetTableId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetServiceIdx(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceIdx)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordEventId(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordEventId)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordStartTime(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordStartTime)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDuration(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDuration)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -11713,7 +11713,7 @@ windows_core::imp::define_interface!(IPBDA_Services, IPBDA_Services_Vtbl, 0x944e impl std::ops::Deref for IPBDA_Services { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPBDA_Services, windows_core::IUnknown); @@ -11722,11 +11722,11 @@ impl IPBDA_Services { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pbuffer.len().try_into().unwrap(), core::mem::transmute(pbuffer.as_ptr())).ok() } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordByIndex(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } } @@ -11741,7 +11741,7 @@ windows_core::imp::define_interface!(IPMT, IPMT_Vtbl, 0x01f3b398_9527_4736_94db_ impl std::ops::Deref for IPMT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMT, windows_core::IUnknown); @@ -11754,46 +11754,46 @@ impl IPMT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetProgramNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgramNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPcrPid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPcrPid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTableDescriptorByTag)(windows_core::Interface::as_raw(self), btag, pdwcookie, core::mem::transmute(ppdescriptor)).ok() } pub unsafe fn GetCountOfRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRecordStreamType(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordStreamType)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordElementaryPid(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordElementaryPid)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordCountOfDescriptors(&self, dwrecordindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCountOfDescriptors)(windows_core::Interface::as_raw(self), dwrecordindex, &mut result__).map(|| result__) } pub unsafe fn GetRecordDescriptorByIndex(&self, dwrecordindex: u32, dwdescindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordDescriptorByIndex)(windows_core::Interface::as_raw(self), dwrecordindex, dwdescindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -11812,7 +11812,7 @@ impl IPMT { (windows_core::Interface::vtable(self).RegisterForNextTable)(windows_core::Interface::as_raw(self), hnexttableavailable.param().abi()).ok() } pub unsafe fn GetNextTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForWhenCurrent(&self, hnexttableiscurrent: P0) -> windows_core::Result<()> @@ -11852,13 +11852,13 @@ windows_core::imp::define_interface!(IPSITables, IPSITables_Vtbl, 0x919f24c5_7b1 impl std::ops::Deref for IPSITables { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPSITables, windows_core::IUnknown); impl IPSITables { pub unsafe fn GetTable(&self, dwtsid: u32, dwtid_pid: u32, dwhashedver: u32, dwpara4: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTable)(windows_core::Interface::as_raw(self), dwtsid, dwtid_pid, dwhashedver, dwpara4, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11871,7 +11871,7 @@ windows_core::imp::define_interface!(IPTFilterLicenseRenewal, IPTFilterLicenseRe impl std::ops::Deref for IPTFilterLicenseRenewal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPTFilterLicenseRenewal, windows_core::IUnknown); @@ -11900,7 +11900,7 @@ windows_core::imp::define_interface!(IPersistTuneXml, IPersistTuneXml_Vtbl, 0x07 impl std::ops::Deref for IPersistTuneXml { type Target = super::super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -11917,7 +11917,7 @@ impl IPersistTuneXml { (windows_core::Interface::vtable(self).Load)(windows_core::Interface::as_raw(self), varvalue.param().abi()).ok() } pub unsafe fn Save(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11926,14 +11926,14 @@ impl IPersistTuneXml { pub struct IPersistTuneXml_Vtbl { pub base__: super::super::super::System::Com::IPersist_Vtbl, pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistTuneXmlUtility, IPersistTuneXmlUtility_Vtbl, 0x990237ae_ac11_4614_be8f_dd217a4cb4cb); impl std::ops::Deref for IPersistTuneXmlUtility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistTuneXmlUtility, windows_core::IUnknown); @@ -11942,20 +11942,20 @@ impl IPersistTuneXmlUtility { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Deserialize)(windows_core::Interface::as_raw(self), varvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IPersistTuneXmlUtility_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Deserialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Deserialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistTuneXmlUtility2, IPersistTuneXmlUtility2_Vtbl, 0x992e165f_ea24_4b2f_9a1d_009d92120451); impl std::ops::Deref for IPersistTuneXmlUtility2 { type Target = IPersistTuneXmlUtility; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistTuneXmlUtility2, windows_core::IUnknown, IPersistTuneXmlUtility); @@ -11965,7 +11965,7 @@ impl IPersistTuneXmlUtility2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Serialize)(windows_core::Interface::as_raw(self), pitunerequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11973,7 +11973,7 @@ impl IPersistTuneXmlUtility2 { pub struct IPersistTuneXmlUtility2_Vtbl { pub base__: IPersistTuneXmlUtility_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Serialize: usize, } @@ -11981,7 +11981,7 @@ windows_core::imp::define_interface!(IRegisterTuner, IRegisterTuner_Vtbl, 0x359b impl std::ops::Deref for IRegisterTuner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRegisterTuner, windows_core::IUnknown); @@ -12007,7 +12007,7 @@ windows_core::imp::define_interface!(ISBE2Crossbar, ISBE2Crossbar_Vtbl, 0x547b6d impl std::ops::Deref for ISBE2Crossbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISBE2Crossbar, windows_core::IUnknown); @@ -12016,7 +12016,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInitialProfile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputProfile(&self, pprofile: P0, pcoutputpins: *mut u32, ppoutputpins: *mut Option) -> windows_core::Result<()> @@ -12026,7 +12026,7 @@ impl ISBE2Crossbar { (windows_core::Interface::vtable(self).SetOutputProfile)(windows_core::Interface::as_raw(self), pprofile.param().abi(), pcoutputpins, core::mem::transmute(ppoutputpins)).ok() } pub unsafe fn EnumStreams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStreams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12042,7 +12042,7 @@ windows_core::imp::define_interface!(ISBE2EnumStream, ISBE2EnumStream_Vtbl, 0xf7 impl std::ops::Deref for ISBE2EnumStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISBE2EnumStream, windows_core::IUnknown); @@ -12057,7 +12057,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12073,7 +12073,7 @@ windows_core::imp::define_interface!(ISBE2FileScan, ISBE2FileScan_Vtbl, 0x3e2bf5 impl std::ops::Deref for ISBE2FileScan { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISBE2FileScan, windows_core::IUnknown); @@ -12094,7 +12094,7 @@ windows_core::imp::define_interface!(ISBE2GlobalEvent, ISBE2GlobalEvent_Vtbl, 0x impl std::ops::Deref for ISBE2GlobalEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISBE2GlobalEvent, windows_core::IUnknown); @@ -12112,7 +12112,7 @@ windows_core::imp::define_interface!(ISBE2GlobalEvent2, ISBE2GlobalEvent2_Vtbl, impl std::ops::Deref for ISBE2GlobalEvent2 { type Target = ISBE2GlobalEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISBE2GlobalEvent2, windows_core::IUnknown, ISBE2GlobalEvent); @@ -12130,18 +12130,18 @@ windows_core::imp::define_interface!(ISBE2MediaTypeProfile, ISBE2MediaTypeProfil impl std::ops::Deref for ISBE2MediaTypeProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISBE2MediaTypeProfile, windows_core::IUnknown); impl ISBE2MediaTypeProfile { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] pub unsafe fn GetStream(&self, index: u32) -> windows_core::Result<*mut super::super::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -12170,7 +12170,7 @@ windows_core::imp::define_interface!(ISBE2SpanningEvent, ISBE2SpanningEvent_Vtbl impl std::ops::Deref for ISBE2SpanningEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISBE2SpanningEvent, windows_core::IUnknown); @@ -12188,7 +12188,7 @@ windows_core::imp::define_interface!(ISBE2StreamMap, ISBE2StreamMap_Vtbl, 0x667c impl std::ops::Deref for ISBE2StreamMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISBE2StreamMap, windows_core::IUnknown); @@ -12200,7 +12200,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumMappedStreams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12215,7 +12215,7 @@ windows_core::imp::define_interface!(ISCTE_EAS, ISCTE_EAS_Vtbl, 0x1ff544d6_161d_ impl std::ops::Deref for ISCTE_EAS { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISCTE_EAS, windows_core::IUnknown); @@ -12228,115 +12228,115 @@ impl ISCTE_EAS { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSequencyNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSequencyNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProtocolVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtocolVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEASEventID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEASEventID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginatorCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginatorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEASEventCodeLen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEASEventCodeLen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEASEventCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEASEventCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRawNatureOfActivationTextLen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRawNatureOfActivationTextLen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRawNatureOfActivationText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRawNatureOfActivationText)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNatureOfActivationText(&self, bstris0639code: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNatureOfActivationText)(windows_core::Interface::as_raw(self), bstris0639code.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTimeRemaining(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimeRemaining)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAlertPriority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlertPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDetailsOOBSourceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDetailsOOBSourceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDetailsMajor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDetailsMajor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDetailsMinor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDetailsMinor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDetailsAudioOOBSourceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDetailsAudioOOBSourceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAlertText(&self, bstris0639code: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlertText)(windows_core::Interface::as_raw(self), bstris0639code.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRawAlertTextLen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRawAlertTextLen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRawAlertText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRawAlertText)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocationCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocationCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, pbstate, pbcountysubdivision, pwcounty).ok() } pub unsafe fn GetExceptionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExceptionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, pbibref, pwfirst, pwsecond).ok() } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -12356,7 +12356,7 @@ pub struct ISCTE_EAS_Vtbl { pub GetEASEventCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRawNatureOfActivationTextLen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRawNatureOfActivationText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub GetNatureOfActivationText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNatureOfActivationText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetTimeRemaining: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, @@ -12365,7 +12365,7 @@ pub struct ISCTE_EAS_Vtbl { pub GetDetailsMajor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetDetailsMinor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetDetailsAudioOOBSourceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, - pub GetAlertText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAlertText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetRawAlertTextLen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetRawAlertText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetLocationCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, @@ -12380,7 +12380,7 @@ windows_core::imp::define_interface!(ISIInbandEPG, ISIInbandEPG_Vtbl, 0xf90ad9d0 impl std::ops::Deref for ISIInbandEPG { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISIInbandEPG, windows_core::IUnknown); @@ -12392,7 +12392,7 @@ impl ISIInbandEPG { (windows_core::Interface::vtable(self).StopSIEPGScan)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsSIEPGScanRunning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSIEPGScanRunning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12407,7 +12407,7 @@ windows_core::imp::define_interface!(ISIInbandEPGEvent, ISIInbandEPGEvent_Vtbl, impl std::ops::Deref for ISIInbandEPGEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISIInbandEPGEvent, windows_core::IUnknown); @@ -12428,7 +12428,7 @@ windows_core::imp::define_interface!(IScanningTuner, IScanningTuner_Vtbl, 0x1dfd impl std::ops::Deref for IScanningTuner { type Target = ITuner; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScanningTuner, windows_core::IUnknown, ITuner); @@ -12462,7 +12462,7 @@ windows_core::imp::define_interface!(IScanningTunerEx, IScanningTunerEx_Vtbl, 0x impl std::ops::Deref for IScanningTunerEx { type Target = IScanningTuner; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScanningTunerEx, windows_core::IUnknown, ITuner, IScanningTuner); @@ -12478,7 +12478,7 @@ impl IScanningTunerEx { (windows_core::Interface::vtable(self).PerformExhaustiveScan)(windows_core::Interface::as_raw(self), dwlowerfreq, dwhigherfreq, bfinetune.param().abi(), hevent).ok() } pub unsafe fn TerminateCurrentScan(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TerminateCurrentScan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResumeCurrentScan(&self, hevent: usize) -> windows_core::Result<()> { @@ -12516,7 +12516,7 @@ windows_core::imp::define_interface!(ISectionList, ISectionList_Vtbl, 0xafec1eb5 impl std::ops::Deref for ISectionList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISectionList, windows_core::IUnknown); @@ -12535,7 +12535,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfSections)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSectionData(&self, sectionnumber: u16, pdwrawpacketlength: *mut u32, ppsection: *mut *mut SECTION) -> windows_core::Result<()> { @@ -12563,25 +12563,25 @@ windows_core::imp::define_interface!(IServiceLocationDescriptor, IServiceLocatio impl std::ops::Deref for IServiceLocationDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceLocationDescriptor, windows_core::IUnknown); impl IServiceLocationDescriptor { pub unsafe fn GetPCR_PID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPCR_PID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberOfElements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfElements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetElementStreamType(&self, bindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElementStreamType)(windows_core::Interface::as_raw(self), bindex, &mut result__).map(|| result__) } pub unsafe fn GetElementPID(&self, bindex: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElementPID)(windows_core::Interface::as_raw(self), bindex, &mut result__).map(|| result__) } pub unsafe fn GetElementLanguageCode(&self, bindex: u8, langcode: &mut [u8; 3]) -> windows_core::Result<()> { @@ -12601,7 +12601,7 @@ windows_core::imp::define_interface!(IStreamBufferConfigure, IStreamBufferConfig impl std::ops::Deref for IStreamBufferConfigure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferConfigure, windows_core::IUnknown); @@ -12613,7 +12613,7 @@ impl IStreamBufferConfigure { (windows_core::Interface::vtable(self).SetDirectory)(windows_core::Interface::as_raw(self), pszdirectoryname.param().abi()).ok() } pub unsafe fn GetDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDirectory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBackingFileCount(&self, dwmin: u32, dwmax: u32) -> windows_core::Result<()> { @@ -12626,7 +12626,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackingFileDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12644,7 +12644,7 @@ windows_core::imp::define_interface!(IStreamBufferConfigure2, IStreamBufferConfi impl std::ops::Deref for IStreamBufferConfigure2 { type Target = IStreamBufferConfigure; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferConfigure2, windows_core::IUnknown, IStreamBufferConfigure); @@ -12653,7 +12653,7 @@ impl IStreamBufferConfigure2 { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMultiplexedPacketSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFFTransitionRates(&self, dwmaxfullframerate: u32, dwmaxnonskippingrate: u32) -> windows_core::Result<()> { @@ -12675,7 +12675,7 @@ windows_core::imp::define_interface!(IStreamBufferConfigure3, IStreamBufferConfi impl std::ops::Deref for IStreamBufferConfigure3 { type Target = IStreamBufferConfigure2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferConfigure3, windows_core::IUnknown, IStreamBufferConfigure, IStreamBufferConfigure2); @@ -12687,7 +12687,7 @@ impl IStreamBufferConfigure3 { (windows_core::Interface::vtable(self).SetStartRecConfig)(windows_core::Interface::as_raw(self), fstartstopscur.param().abi()).ok() } pub unsafe fn GetStartRecConfig(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStartRecConfig)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNamespace(&self, psznamespace: P0) -> windows_core::Result<()> @@ -12697,7 +12697,7 @@ impl IStreamBufferConfigure3 { (windows_core::Interface::vtable(self).SetNamespace)(windows_core::Interface::as_raw(self), psznamespace.param().abi()).ok() } pub unsafe fn GetNamespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamespace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12713,7 +12713,7 @@ windows_core::imp::define_interface!(IStreamBufferDataCounters, IStreamBufferDat impl std::ops::Deref for IStreamBufferDataCounters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferDataCounters, windows_core::IUnknown); @@ -12735,7 +12735,7 @@ windows_core::imp::define_interface!(IStreamBufferInitialize, IStreamBufferIniti impl std::ops::Deref for IStreamBufferInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferInitialize, windows_core::IUnknown); @@ -12764,7 +12764,7 @@ windows_core::imp::define_interface!(IStreamBufferMediaSeeking, IStreamBufferMed impl std::ops::Deref for IStreamBufferMediaSeeking { type Target = super::IMediaSeeking; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferMediaSeeking, windows_core::IUnknown, super::IMediaSeeking); @@ -12777,7 +12777,7 @@ windows_core::imp::define_interface!(IStreamBufferMediaSeeking2, IStreamBufferMe impl std::ops::Deref for IStreamBufferMediaSeeking2 { type Target = IStreamBufferMediaSeeking; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferMediaSeeking2, windows_core::IUnknown, super::IMediaSeeking, IStreamBufferMediaSeeking); @@ -12795,7 +12795,7 @@ windows_core::imp::define_interface!(IStreamBufferRecComp, IStreamBufferRecComp_ impl std::ops::Deref for IStreamBufferRecComp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferRecComp, windows_core::IUnknown); @@ -12820,7 +12820,7 @@ impl IStreamBufferRecComp { (windows_core::Interface::vtable(self).AppendEx)(windows_core::Interface::as_raw(self), pszsbrecording.param().abi(), rtstart, rtstop).ok() } pub unsafe fn GetCurrentLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -12844,7 +12844,7 @@ windows_core::imp::define_interface!(IStreamBufferRecordControl, IStreamBufferRe impl std::ops::Deref for IStreamBufferRecordControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferRecordControl, windows_core::IUnknown); @@ -12870,7 +12870,7 @@ windows_core::imp::define_interface!(IStreamBufferRecordingAttribute, IStreamBuf impl std::ops::Deref for IStreamBufferRecordingAttribute { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferRecordingAttribute, windows_core::IUnknown); @@ -12882,7 +12882,7 @@ impl IStreamBufferRecordingAttribute { (windows_core::Interface::vtable(self).SetAttribute)(windows_core::Interface::as_raw(self), ulreserved, pszattributename.param().abi(), streambufferattributetype, core::mem::transmute(pbattribute.as_ptr()), pbattribute.len().try_into().unwrap()).ok() } pub unsafe fn GetAttributeCount(&self, ulreserved: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeCount)(windows_core::Interface::as_raw(self), ulreserved, &mut result__).map(|| result__) } pub unsafe fn GetAttributeByName(&self, pszattributename: P0, pulreserved: *const u32, pstreambufferattributetype: *mut STREAMBUFFER_ATTR_DATATYPE, pbattribute: *mut u8, pcblength: *mut u16) -> windows_core::Result<()> @@ -12895,7 +12895,7 @@ impl IStreamBufferRecordingAttribute { (windows_core::Interface::vtable(self).GetAttributeByIndex)(windows_core::Interface::as_raw(self), windex, pulreserved, core::mem::transmute(pszattributename), pcchnamelength, pstreambufferattributetype, pbattribute, pcblength).ok() } pub unsafe fn EnumAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12912,7 +12912,7 @@ windows_core::imp::define_interface!(IStreamBufferSink, IStreamBufferSink_Vtbl, impl std::ops::Deref for IStreamBufferSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferSink, windows_core::IUnknown); @@ -12927,7 +12927,7 @@ impl IStreamBufferSink { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRecorder)(windows_core::Interface::as_raw(self), pszfilename.param().abi(), dwrecordtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsProfileLocked(&self) -> windows_core::Result<()> { @@ -12945,7 +12945,7 @@ windows_core::imp::define_interface!(IStreamBufferSink2, IStreamBufferSink2_Vtbl impl std::ops::Deref for IStreamBufferSink2 { type Target = IStreamBufferSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferSink2, windows_core::IUnknown, IStreamBufferSink); @@ -12963,7 +12963,7 @@ windows_core::imp::define_interface!(IStreamBufferSink3, IStreamBufferSink3_Vtbl impl std::ops::Deref for IStreamBufferSink3 { type Target = IStreamBufferSink2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferSink3, windows_core::IUnknown, IStreamBufferSink, IStreamBufferSink2); @@ -12981,7 +12981,7 @@ windows_core::imp::define_interface!(IStreamBufferSource, IStreamBufferSource_Vt impl std::ops::Deref for IStreamBufferSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBufferSource, windows_core::IUnknown); @@ -13002,7 +13002,7 @@ windows_core::imp::define_interface!(ITSDT, ITSDT_Vtbl, 0xd19bdb43_405b_4a7c_a79 impl std::ops::Deref for ITSDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITSDT, windows_core::IUnknown); @@ -13015,15 +13015,15 @@ impl ITSDT { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psectionlist.param().abi(), pmpegdata.param().abi()).ok() } pub unsafe fn GetVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCountOfTableDescriptors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCountOfTableDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTableDescriptorByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTableDescriptorByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTableDescriptorByTag(&self, btag: u8, pdwcookie: *mut u32, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -13036,7 +13036,7 @@ impl ITSDT { (windows_core::Interface::vtable(self).RegisterForNextTable)(windows_core::Interface::as_raw(self), hnexttableavailable.param().abi()).ok() } pub unsafe fn GetNextTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForWhenCurrent(&self, hnexttableiscurrent: P0) -> windows_core::Result<()> @@ -13068,7 +13068,7 @@ windows_core::imp::define_interface!(ITuneRequest, ITuneRequest_Vtbl, 0x07ddc146 impl std::ops::Deref for ITuneRequest { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -13077,22 +13077,22 @@ windows_core::imp::interface_hierarchy!(ITuneRequest, windows_core::IUnknown, su impl ITuneRequest { #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TuningSpace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Components(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Components)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Locator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Locator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13132,7 +13132,7 @@ windows_core::imp::define_interface!(ITuneRequestInfo, ITuneRequestInfo_Vtbl, 0x impl std::ops::Deref for ITuneRequestInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITuneRequestInfo, windows_core::IUnknown); @@ -13163,7 +13163,7 @@ impl ITuneRequestInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextProgram)(windows_core::Interface::as_raw(self), currentrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13171,7 +13171,7 @@ impl ITuneRequestInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousProgram)(windows_core::Interface::as_raw(self), currentrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13179,7 +13179,7 @@ impl ITuneRequestInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextLocator)(windows_core::Interface::as_raw(self), currentrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13187,7 +13187,7 @@ impl ITuneRequestInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousLocator)(windows_core::Interface::as_raw(self), currentrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13227,7 +13227,7 @@ windows_core::imp::define_interface!(ITuneRequestInfoEx, ITuneRequestInfoEx_Vtbl impl std::ops::Deref for ITuneRequestInfoEx { type Target = ITuneRequestInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITuneRequestInfoEx, windows_core::IUnknown, ITuneRequestInfo); @@ -13237,7 +13237,7 @@ impl ITuneRequestInfoEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateComponentListEx)(windows_core::Interface::as_raw(self), currentrequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13253,14 +13253,14 @@ windows_core::imp::define_interface!(ITuner, ITuner_Vtbl, 0x28c52640_018a_11d3_9 impl std::ops::Deref for ITuner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITuner, windows_core::IUnknown); impl ITuner { #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuningSpace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TuningSpace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13271,12 +13271,12 @@ impl ITuner { (windows_core::Interface::vtable(self).SetTuningSpace)(windows_core::Interface::as_raw(self), tuningspace.param().abi()).ok() } pub unsafe fn EnumTuningSpaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumTuningSpaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TuneRequest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TuneRequest)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13295,7 +13295,7 @@ impl ITuner { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PreferredComponentTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredComponentTypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13306,7 +13306,7 @@ impl ITuner { (windows_core::Interface::vtable(self).SetPreferredComponentTypes)(windows_core::Interface::as_raw(self), componenttypes.param().abi()).ok() } pub unsafe fn SignalStrength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignalStrength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TriggerSignalEvents(&self, interval: i32) -> windows_core::Result<()> { @@ -13352,7 +13352,7 @@ windows_core::imp::define_interface!(ITunerCap, ITunerCap_Vtbl, 0xe60dfa45_8d56_ impl std::ops::Deref for ITunerCap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITunerCap, windows_core::IUnknown); @@ -13378,13 +13378,13 @@ windows_core::imp::define_interface!(ITunerCapEx, ITunerCapEx_Vtbl, 0xed3e0c66_1 impl std::ops::Deref for ITunerCapEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITunerCapEx, windows_core::IUnknown); impl ITunerCapEx { pub unsafe fn Has608_708Caption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Has608_708Caption)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -13399,7 +13399,7 @@ windows_core::imp::define_interface!(ITuningSpace, ITuningSpace_Vtbl, 0x061c6e30 impl std::ops::Deref for ITuningSpace { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -13407,7 +13407,7 @@ windows_core::imp::interface_hierarchy!(ITuningSpace, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl ITuningSpace { pub unsafe fn UniqueName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UniqueName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUniqueName(&self, name: P0) -> windows_core::Result<()> @@ -13417,7 +13417,7 @@ impl ITuningSpace { (windows_core::Interface::vtable(self).SetUniqueName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn FriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFriendlyName(&self, name: P0) -> windows_core::Result<()> @@ -13427,11 +13427,11 @@ impl ITuningSpace { (windows_core::Interface::vtable(self).SetFriendlyName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn CLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NetworkType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNetworkType(&self, networktypeguid: P0) -> windows_core::Result<()> @@ -13441,7 +13441,7 @@ impl ITuningSpace { (windows_core::Interface::vtable(self).SetNetworkType)(windows_core::Interface::as_raw(self), networktypeguid.param().abi()).ok() } pub unsafe fn _NetworkType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NetworkType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Set_NetworkType(&self, networktypeguid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -13449,22 +13449,22 @@ impl ITuningSpace { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTuneRequest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTuneRequest)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoryGUIDs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCategoryGUIDs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumDeviceMonikers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDeviceMonikers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultPreferredComponentTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultPreferredComponentTypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13475,7 +13475,7 @@ impl ITuningSpace { (windows_core::Interface::vtable(self).SetDefaultPreferredComponentTypes)(windows_core::Interface::as_raw(self), newcomponenttypes.param().abi()).ok() } pub unsafe fn FrequencyMapping(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FrequencyMapping)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFrequencyMapping(&self, mapping: P0) -> windows_core::Result<()> @@ -13486,7 +13486,7 @@ impl ITuningSpace { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultLocator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultLocator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13498,7 +13498,7 @@ impl ITuningSpace { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13506,13 +13506,13 @@ impl ITuningSpace { #[repr(C)] pub struct ITuningSpace_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub UniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NetworkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNetworkType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUniqueName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNetworkType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub _NetworkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Set_NetworkType: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -13535,8 +13535,8 @@ pub struct ITuningSpace_Vtbl { pub SetDefaultPreferredComponentTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetDefaultPreferredComponentTypes: usize, - pub FrequencyMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFrequencyMapping: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FrequencyMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFrequencyMapping: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DefaultLocator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -13556,7 +13556,7 @@ windows_core::imp::define_interface!(ITuningSpaceContainer, ITuningSpaceContaine impl std::ops::Deref for ITuningSpaceContainer { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -13564,12 +13564,12 @@ windows_core::imp::interface_hierarchy!(ITuningSpaceContainer, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ITuningSpaceContainer { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13577,7 +13577,7 @@ impl ITuningSpaceContainer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13593,12 +13593,12 @@ impl ITuningSpaceContainer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TuningSpacesForCLSID)(windows_core::Interface::as_raw(self), spaceclsid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn _TuningSpacesForCLSID2(&self, spaceclsid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._TuningSpacesForCLSID2)(windows_core::Interface::as_raw(self), spaceclsid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13606,7 +13606,7 @@ impl ITuningSpaceContainer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TuningSpacesForName)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13614,7 +13614,7 @@ impl ITuningSpaceContainer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindID)(windows_core::Interface::as_raw(self), tuningspace.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -13622,11 +13622,11 @@ impl ITuningSpaceContainer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), tuningspace.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumTuningSpaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumTuningSpaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, index: P0) -> windows_core::Result<()> @@ -13636,7 +13636,7 @@ impl ITuningSpaceContainer { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), index.param().abi()).ok() } pub unsafe fn MaxCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxCount(&self, maxcount: i32) -> windows_core::Result<()> { @@ -13653,15 +13653,15 @@ pub struct ITuningSpaceContainer_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] put_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub TuningSpacesForCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TuningSpacesForCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] TuningSpacesForCLSID: usize, #[cfg(feature = "Win32_System_Com")] @@ -13669,7 +13669,7 @@ pub struct ITuningSpaceContainer_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] _TuningSpacesForCLSID2: usize, #[cfg(feature = "Win32_System_Com")] - pub TuningSpacesForName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub TuningSpacesForName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] TuningSpacesForName: usize, #[cfg(feature = "Win32_System_Com")] @@ -13677,11 +13677,11 @@ pub struct ITuningSpaceContainer_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] FindID: usize, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, pub EnumTuningSpaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -13691,7 +13691,7 @@ windows_core::imp::define_interface!(ITuningSpaces, ITuningSpaces_Vtbl, 0x901284 impl std::ops::Deref for ITuningSpaces { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -13699,12 +13699,12 @@ windows_core::imp::interface_hierarchy!(ITuningSpaces, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl ITuningSpaces { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13712,11 +13712,11 @@ impl ITuningSpaces { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumTuningSpaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumTuningSpaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13730,7 +13730,7 @@ pub struct ITuningSpaces_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub EnumTuningSpaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -13739,20 +13739,20 @@ windows_core::imp::define_interface!(IXDSCodec, IXDSCodec_Vtbl, 0xc4c4c4b3_0049_ impl std::ops::Deref for IXDSCodec { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXDSCodec, windows_core::IUnknown); impl IXDSCodec { pub unsafe fn XDSToRatObjOK(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).XDSToRatObjOK)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CCSubstreamService)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContentAdvisoryRating(&self, prat: *mut i32, ppktseqid: *mut i32, pcallseqid: *mut i32, ptimestart: *mut i64, ptimeend: *mut i64) -> windows_core::Result<()> { @@ -13762,7 +13762,7 @@ impl IXDSCodec { (windows_core::Interface::vtable(self).GetXDSPacket)(windows_core::Interface::as_raw(self), pxdsclasspkt, pxdstypepkt, core::mem::transmute(pbstrxdspkt), ppktseqid, pcallseqid, ptimestart, ptimeend).ok() } pub unsafe fn GetCurrLicenseExpDate(&self, prottype: *const ProtType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrLicenseExpDate)(windows_core::Interface::as_raw(self), prottype, &mut result__).map(|| result__) } pub unsafe fn GetLastErrorCode(&self) -> windows_core::Result<()> { @@ -13776,7 +13776,7 @@ pub struct IXDSCodec_Vtbl { pub SetCCSubstreamService: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CCSubstreamService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetContentAdvisoryRating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, *mut i64, *mut i64) -> windows_core::HRESULT, - pub GetXDSPacket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut std::mem::MaybeUninit, *mut i32, *mut i32, *mut i64, *mut i64) -> windows_core::HRESULT, + pub GetXDSPacket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut core::mem::MaybeUninit, *mut i32, *mut i32, *mut i64, *mut i64) -> windows_core::HRESULT, pub GetCurrLicenseExpDate: unsafe extern "system" fn(*mut core::ffi::c_void, *const ProtType, *mut i32) -> windows_core::HRESULT, pub GetLastErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -13784,13 +13784,13 @@ windows_core::imp::define_interface!(IXDSCodecConfig, IXDSCodecConfig_Vtbl, 0xc4 impl std::ops::Deref for IXDSCodecConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXDSCodecConfig, windows_core::IUnknown); impl IXDSCodecConfig { pub unsafe fn GetSecureChannelObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecureChannelObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPauseBufferTime(&self, dwpausebuffertime: u32) -> windows_core::Result<()> { @@ -13809,7 +13809,7 @@ windows_core::imp::define_interface!(IXDSCodecEvents, IXDSCodecEvents_Vtbl, 0xc4 impl std::ops::Deref for IXDSCodecEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -13827,7 +13827,7 @@ windows_core::imp::define_interface!(IXDSToRat, IXDSToRat_Vtbl, 0xc5c5c5b0_3abc_ impl std::ops::Deref for IXDSToRat { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -13854,7 +13854,7 @@ windows_core::imp::define_interface!(_IMSVidCtlEvents, _IMSVidCtlEvents_Vtbl, 0x impl std::ops::Deref for _IMSVidCtlEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs index 0bbb5201bb..55a10ce668 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs @@ -14,7 +14,7 @@ impl IXMLGraphBuilder_Vtbl { let this = (*this).get_impl(); IXMLGraphBuilder_Impl::BuildFromXML(this, windows_core::from_raw_borrowed(&pgraph), windows_core::from_raw_borrowed(&pxml)).into() } - unsafe extern "system" fn SaveToXML, Impl: IXMLGraphBuilder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pgraph: *mut core::ffi::c_void, pbstrxml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveToXML, Impl: IXMLGraphBuilder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pgraph: *mut core::ffi::c_void, pbstrxml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IXMLGraphBuilder_Impl::SaveToXML(this, windows_core::from_raw_borrowed(&pgraph), core::mem::transmute_copy(&pbstrxml)).into() diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs index 54ce246b98..803fb93971 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IXMLGraphBuilder, IXMLGraphBuilder_Vtbl, 0x impl std::ops::Deref for IXMLGraphBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXMLGraphBuilder, windows_core::IUnknown); @@ -37,7 +37,7 @@ pub struct IXMLGraphBuilder_Vtbl { pub BuildFromXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] BuildFromXML: usize, - pub SaveToXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveToXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BuildFromXMLFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } pub const CLSID_XMLGraphBuilder: windows_core::GUID = windows_core::GUID::from_u128(0x1bb05961_5fbf_11d2_a521_44df07c10000); diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs index 8a266c53f5..05e3d26e81 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs @@ -547,32 +547,32 @@ impl windows_core::RuntimeName for IAMChannelInfo {} #[cfg(feature = "Win32_System_Com")] impl IAMChannelInfo_Vtbl { pub const fn new, Impl: IAMChannelInfo_Impl, const OFFSET: isize>() -> IAMChannelInfo_Vtbl { - unsafe extern "system" fn ChannelName, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrchannelname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChannelName, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrchannelname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMChannelInfo_Impl::ChannelName(this, core::mem::transmute_copy(&pbstrchannelname)).into() } - unsafe extern "system" fn ChannelDescription, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrchanneldescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChannelDescription, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrchanneldescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMChannelInfo_Impl::ChannelDescription(this, core::mem::transmute_copy(&pbstrchanneldescription)).into() } - unsafe extern "system" fn ChannelURL, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrchannelurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChannelURL, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrchannelurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMChannelInfo_Impl::ChannelURL(this, core::mem::transmute_copy(&pbstrchannelurl)).into() } - unsafe extern "system" fn ContactAddress, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontactaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContactAddress, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontactaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMChannelInfo_Impl::ContactAddress(this, core::mem::transmute_copy(&pbstrcontactaddress)).into() } - unsafe extern "system" fn ContactPhone, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontactphone: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContactPhone, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontactphone: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMChannelInfo_Impl::ContactPhone(this, core::mem::transmute_copy(&pbstrcontactphone)).into() } - unsafe extern "system" fn ContactEmail, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontactemail: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContactEmail, Impl: IAMChannelInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontactemail: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMChannelInfo_Impl::ContactEmail(this, core::mem::transmute_copy(&pbstrcontactemail)).into() @@ -1451,7 +1451,7 @@ impl IAMExtendedErrorInfo_Vtbl { let this = (*this).get_impl(); IAMExtendedErrorInfo_Impl::HasError(this, core::mem::transmute_copy(&phaserror)).into() } - unsafe extern "system" fn ErrorDescription, Impl: IAMExtendedErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrerrordescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ErrorDescription, Impl: IAMExtendedErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrerrordescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMExtendedErrorInfo_Impl::ErrorDescription(this, core::mem::transmute_copy(&pbstrerrordescription)).into() @@ -1507,7 +1507,7 @@ impl IAMExtendedSeeking_Vtbl { let this = (*this).get_impl(); IAMExtendedSeeking_Impl::GetMarkerTime(this, core::mem::transmute_copy(&markernum), core::mem::transmute_copy(&pmarkertime)).into() } - unsafe extern "system" fn GetMarkerName, Impl: IAMExtendedSeeking_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, markernum: i32, pbstrmarkername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMarkerName, Impl: IAMExtendedSeeking_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, markernum: i32, pbstrmarkername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMExtendedSeeking_Impl::GetMarkerName(this, core::mem::transmute_copy(&markernum), core::mem::transmute_copy(&pbstrmarkername)).into() @@ -1786,67 +1786,67 @@ impl windows_core::RuntimeName for IAMMediaContent {} #[cfg(feature = "Win32_System_Com")] impl IAMMediaContent_Vtbl { pub const fn new, Impl: IAMMediaContent_Impl, const OFFSET: isize>() -> IAMMediaContent_Vtbl { - unsafe extern "system" fn AuthorName, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthorname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AuthorName, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthorname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::AuthorName(this, core::mem::transmute_copy(&pbstrauthorname)).into() } - unsafe extern "system" fn Title, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::Title(this, core::mem::transmute_copy(&pbstrtitle)).into() } - unsafe extern "system" fn Rating, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrating: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Rating, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrating: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::Rating(this, core::mem::transmute_copy(&pbstrrating)).into() } - unsafe extern "system" fn Description, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::Description(this, core::mem::transmute_copy(&pbstrdescription)).into() } - unsafe extern "system" fn Copyright, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcopyright: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Copyright, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcopyright: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::Copyright(this, core::mem::transmute_copy(&pbstrcopyright)).into() } - unsafe extern "system" fn BaseURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbaseurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BaseURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbaseurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::BaseURL(this, core::mem::transmute_copy(&pbstrbaseurl)).into() } - unsafe extern "system" fn LogoURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlogourl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LogoURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlogourl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::LogoURL(this, core::mem::transmute_copy(&pbstrlogourl)).into() } - unsafe extern "system" fn LogoIconURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlogourl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LogoIconURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlogourl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::LogoIconURL(this, core::mem::transmute_copy(&pbstrlogourl)).into() } - unsafe extern "system" fn WatermarkURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrwatermarkurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WatermarkURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrwatermarkurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::WatermarkURL(this, core::mem::transmute_copy(&pbstrwatermarkurl)).into() } - unsafe extern "system" fn MoreInfoURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmoreinfourl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MoreInfoURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmoreinfourl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::MoreInfoURL(this, core::mem::transmute_copy(&pbstrmoreinfourl)).into() } - unsafe extern "system" fn MoreInfoBannerImage, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmoreinfobannerimage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MoreInfoBannerImage, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmoreinfobannerimage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::MoreInfoBannerImage(this, core::mem::transmute_copy(&pbstrmoreinfobannerimage)).into() } - unsafe extern "system" fn MoreInfoBannerURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmoreinfobannerurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MoreInfoBannerURL, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmoreinfobannerurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::MoreInfoBannerURL(this, core::mem::transmute_copy(&pbstrmoreinfobannerurl)).into() } - unsafe extern "system" fn MoreInfoText, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmoreinfotext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MoreInfoText, Impl: IAMMediaContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmoreinfotext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent_Impl::MoreInfoText(this, core::mem::transmute_copy(&pbstrmoreinfotext)).into() @@ -1883,12 +1883,12 @@ impl windows_core::RuntimeName for IAMMediaContent2 {} #[cfg(feature = "Win32_System_Com")] impl IAMMediaContent2_Vtbl { pub const fn new, Impl: IAMMediaContent2_Impl, const OFFSET: isize>() -> IAMMediaContent2_Vtbl { - unsafe extern "system" fn get_MediaParameter, Impl: IAMMediaContent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entrynum: i32, bstrname: std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_MediaParameter, Impl: IAMMediaContent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entrynum: i32, bstrname: core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent2_Impl::get_MediaParameter(this, core::mem::transmute_copy(&entrynum), core::mem::transmute(&bstrname), core::mem::transmute_copy(&pbstrvalue)).into() } - unsafe extern "system" fn get_MediaParameterName, Impl: IAMMediaContent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entrynum: i32, index: i32, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_MediaParameterName, Impl: IAMMediaContent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entrynum: i32, index: i32, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMMediaContent2_Impl::get_MediaParameterName(this, core::mem::transmute_copy(&entrynum), core::mem::transmute_copy(&index), core::mem::transmute_copy(&pbstrname)).into() @@ -2333,12 +2333,12 @@ impl IAMNetShowConfig_Vtbl { let this = (*this).get_impl(); IAMNetShowConfig_Impl::SetEnableAutoProxy(this, core::mem::transmute_copy(&enableautoproxy)).into() } - unsafe extern "system" fn HTTPProxyHost, Impl: IAMNetShowConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhttpproxyhost: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HTTPProxyHost, Impl: IAMNetShowConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhttpproxyhost: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMNetShowConfig_Impl::HTTPProxyHost(this, core::mem::transmute_copy(&pbstrhttpproxyhost)).into() } - unsafe extern "system" fn SetHTTPProxyHost, Impl: IAMNetShowConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhttpproxyhost: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHTTPProxyHost, Impl: IAMNetShowConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhttpproxyhost: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMNetShowConfig_Impl::SetHTTPProxyHost(this, core::mem::transmute(&bstrhttpproxyhost)).into() @@ -2450,7 +2450,7 @@ impl IAMNetShowExProps_Vtbl { let this = (*this).get_impl(); IAMNetShowExProps_Impl::Bandwidth(this, core::mem::transmute_copy(&pbandwidth)).into() } - unsafe extern "system" fn ErrorCorrection, Impl: IAMNetShowExProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrerrorcorrection: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ErrorCorrection, Impl: IAMNetShowExProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrerrorcorrection: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMNetShowExProps_Impl::ErrorCorrection(this, core::mem::transmute_copy(&pbstrerrorcorrection)).into() @@ -2465,12 +2465,12 @@ impl IAMNetShowExProps_Vtbl { let this = (*this).get_impl(); IAMNetShowExProps_Impl::GetCodecInstalled(this, core::mem::transmute_copy(&codecnum), core::mem::transmute_copy(&pcodecinstalled)).into() } - unsafe extern "system" fn GetCodecDescription, Impl: IAMNetShowExProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, codecnum: i32, pbstrcodecdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCodecDescription, Impl: IAMNetShowExProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, codecnum: i32, pbstrcodecdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMNetShowExProps_Impl::GetCodecDescription(this, core::mem::transmute_copy(&codecnum), core::mem::transmute_copy(&pbstrcodecdescription)).into() } - unsafe extern "system" fn GetCodecURL, Impl: IAMNetShowExProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, codecnum: i32, pbstrcodecurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCodecURL, Impl: IAMNetShowExProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, codecnum: i32, pbstrcodecurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMNetShowExProps_Impl::GetCodecURL(this, core::mem::transmute_copy(&codecnum), core::mem::transmute_copy(&pbstrcodecurl)).into() @@ -2480,7 +2480,7 @@ impl IAMNetShowExProps_Vtbl { let this = (*this).get_impl(); IAMNetShowExProps_Impl::CreationDate(this, core::mem::transmute_copy(&pcreationdate)).into() } - unsafe extern "system" fn SourceLink, Impl: IAMNetShowExProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsourcelink: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SourceLink, Impl: IAMNetShowExProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsourcelink: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMNetShowExProps_Impl::SourceLink(this, core::mem::transmute_copy(&pbstrsourcelink)).into() @@ -2831,7 +2831,7 @@ impl IAMPlayListItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSourceURL, Impl: IAMPlayListItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwsourceindex: u32, pbstrurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSourceURL, Impl: IAMPlayListItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwsourceindex: u32, pbstrurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceURL(this, core::mem::transmute_copy(&dwsourceindex)) { @@ -2886,7 +2886,7 @@ impl IAMPlayListItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSourceStartMarkerName, Impl: IAMPlayListItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwsourceindex: u32, pbstrstartmarker: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSourceStartMarkerName, Impl: IAMPlayListItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwsourceindex: u32, pbstrstartmarker: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceStartMarkerName(this, core::mem::transmute_copy(&dwsourceindex)) { @@ -2897,7 +2897,7 @@ impl IAMPlayListItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSourceEndMarkerName, Impl: IAMPlayListItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwsourceindex: u32, pbstrendmarker: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSourceEndMarkerName, Impl: IAMPlayListItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwsourceindex: u32, pbstrendmarker: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetSourceEndMarkerName(this, core::mem::transmute_copy(&dwsourceindex)) { @@ -2908,7 +2908,7 @@ impl IAMPlayListItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLinkURL, Impl: IAMPlayListItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLinkURL, Impl: IAMPlayListItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAMPlayListItem_Impl::GetLinkURL(this) { @@ -3160,17 +3160,17 @@ impl IAMStats_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValueByIndex, Impl: IAMStats_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, szname: *mut std::mem::MaybeUninit, lcount: *mut i32, dlast: *mut f64, daverage: *mut f64, dstddev: *mut f64, dmin: *mut f64, dmax: *mut f64) -> windows_core::HRESULT { + unsafe extern "system" fn GetValueByIndex, Impl: IAMStats_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, szname: *mut core::mem::MaybeUninit, lcount: *mut i32, dlast: *mut f64, daverage: *mut f64, dstddev: *mut f64, dmin: *mut f64, dmax: *mut f64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMStats_Impl::GetValueByIndex(this, core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&szname), core::mem::transmute_copy(&lcount), core::mem::transmute_copy(&dlast), core::mem::transmute_copy(&daverage), core::mem::transmute_copy(&dstddev), core::mem::transmute_copy(&dmin), core::mem::transmute_copy(&dmax)).into() } - unsafe extern "system" fn GetValueByName, Impl: IAMStats_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szname: std::mem::MaybeUninit, lindex: *mut i32, lcount: *mut i32, dlast: *mut f64, daverage: *mut f64, dstddev: *mut f64, dmin: *mut f64, dmax: *mut f64) -> windows_core::HRESULT { + unsafe extern "system" fn GetValueByName, Impl: IAMStats_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szname: core::mem::MaybeUninit, lindex: *mut i32, lcount: *mut i32, dlast: *mut f64, daverage: *mut f64, dstddev: *mut f64, dmin: *mut f64, dmax: *mut f64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAMStats_Impl::GetValueByName(this, core::mem::transmute(&szname), core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&lcount), core::mem::transmute_copy(&dlast), core::mem::transmute_copy(&daverage), core::mem::transmute_copy(&dstddev), core::mem::transmute_copy(&dmin), core::mem::transmute_copy(&dmax)).into() } - unsafe extern "system" fn GetIndex, Impl: IAMStats_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szname: std::mem::MaybeUninit, lcreate: i32, plindex: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetIndex, Impl: IAMStats_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szname: core::mem::MaybeUninit, lcreate: i32, plindex: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAMStats_Impl::GetIndex(this, core::mem::transmute(&szname), core::mem::transmute_copy(&lcreate)) { @@ -4848,12 +4848,12 @@ pub trait IBDA_ConditionalAccess_Impl: Sized { impl windows_core::RuntimeName for IBDA_ConditionalAccess {} impl IBDA_ConditionalAccess_Vtbl { pub const fn new, Impl: IBDA_ConditionalAccess_Impl, const OFFSET: isize>() -> IBDA_ConditionalAccess_Vtbl { - unsafe extern "system" fn get_SmartCardStatus, Impl: IBDA_ConditionalAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcardstatus: *mut SmartCardStatusType, pcardassociation: *mut SmartCardAssociationType, pbstrcarderror: *mut std::mem::MaybeUninit, pfooblocked: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn get_SmartCardStatus, Impl: IBDA_ConditionalAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcardstatus: *mut SmartCardStatusType, pcardassociation: *mut SmartCardAssociationType, pbstrcarderror: *mut core::mem::MaybeUninit, pfooblocked: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_ConditionalAccess_Impl::get_SmartCardStatus(this, core::mem::transmute_copy(&pcardstatus), core::mem::transmute_copy(&pcardassociation), core::mem::transmute_copy(&pbstrcarderror), core::mem::transmute_copy(&pfooblocked)).into() } - unsafe extern "system" fn get_SmartCardInfo, Impl: IBDA_ConditionalAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcardname: *mut std::mem::MaybeUninit, pbstrcardmanufacturer: *mut std::mem::MaybeUninit, pfdaylightsavings: *mut super::super::Foundation::VARIANT_BOOL, pbyratingregion: *mut u8, pltimezoneoffsetminutes: *mut i32, pbstrlanguage: *mut std::mem::MaybeUninit, pealocationcode: *mut EALocationCodeType) -> windows_core::HRESULT { + unsafe extern "system" fn get_SmartCardInfo, Impl: IBDA_ConditionalAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcardname: *mut core::mem::MaybeUninit, pbstrcardmanufacturer: *mut core::mem::MaybeUninit, pfdaylightsavings: *mut super::super::Foundation::VARIANT_BOOL, pbyratingregion: *mut u8, pltimezoneoffsetminutes: *mut i32, pbstrlanguage: *mut core::mem::MaybeUninit, pealocationcode: *mut EALocationCodeType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_ConditionalAccess_Impl::get_SmartCardInfo(this, core::mem::transmute_copy(&pbstrcardname), core::mem::transmute_copy(&pbstrcardmanufacturer), core::mem::transmute_copy(&pfdaylightsavings), core::mem::transmute_copy(&pbyratingregion), core::mem::transmute_copy(&pltimezoneoffsetminutes), core::mem::transmute_copy(&pbstrlanguage), core::mem::transmute_copy(&pealocationcode)).into() @@ -4894,7 +4894,7 @@ impl IBDA_ConditionalAccess_Vtbl { let this = (*this).get_impl(); IBDA_ConditionalAccess_Impl::RemoveProgram(this, core::mem::transmute_copy(&usprogramnumber)).into() } - unsafe extern "system" fn GetModuleUI, Impl: IBDA_ConditionalAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bydialognumber: u8, pbstrurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetModuleUI, Impl: IBDA_ConditionalAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bydialognumber: u8, pbstrurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_ConditionalAccess_Impl::GetModuleUI(this, core::mem::transmute_copy(&bydialognumber)) { @@ -4938,7 +4938,7 @@ pub trait IBDA_ConditionalAccessEx_Impl: Sized { impl windows_core::RuntimeName for IBDA_ConditionalAccessEx {} impl IBDA_ConditionalAccessEx_Vtbl { pub const fn new, Impl: IBDA_ConditionalAccessEx_Impl, const OFFSET: isize>() -> IBDA_ConditionalAccessEx_Vtbl { - unsafe extern "system" fn CheckEntitlementToken, Impl: IBDA_ConditionalAccessEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: std::mem::MaybeUninit, requesttype: BDA_CONDITIONALACCESS_REQUESTTYPE, ulcbentitlementtokenlen: u32, pbentitlementtoken: *const u8, puldescramblestatus: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn CheckEntitlementToken, Impl: IBDA_ConditionalAccessEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: core::mem::MaybeUninit, requesttype: BDA_CONDITIONALACCESS_REQUESTTYPE, ulcbentitlementtokenlen: u32, pbentitlementtoken: *const u8, puldescramblestatus: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_ConditionalAccessEx_Impl::CheckEntitlementToken(this, core::mem::transmute_copy(&uldialogrequest), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&requesttype), core::mem::transmute_copy(&ulcbentitlementtokenlen), core::mem::transmute_copy(&pbentitlementtoken)) { @@ -4954,12 +4954,12 @@ impl IBDA_ConditionalAccessEx_Vtbl { let this = (*this).get_impl(); IBDA_ConditionalAccessEx_Impl::SetCaptureToken(this, core::mem::transmute_copy(&ulcbcapturetokenlen), core::mem::transmute_copy(&pbcapturetoken)).into() } - unsafe extern "system" fn OpenBroadcastMmi, Impl: IBDA_ConditionalAccessEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: std::mem::MaybeUninit, eventid: u32) -> windows_core::HRESULT { + unsafe extern "system" fn OpenBroadcastMmi, Impl: IBDA_ConditionalAccessEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: core::mem::MaybeUninit, eventid: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_ConditionalAccessEx_Impl::OpenBroadcastMmi(this, core::mem::transmute_copy(&uldialogrequest), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&eventid)).into() } - unsafe extern "system" fn CloseMmiDialog, Impl: IBDA_ConditionalAccessEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: std::mem::MaybeUninit, uldialognumber: u32, reasoncode: BDA_CONDITIONALACCESS_MMICLOSEREASON, pulsessionresult: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn CloseMmiDialog, Impl: IBDA_ConditionalAccessEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: core::mem::MaybeUninit, uldialognumber: u32, reasoncode: BDA_CONDITIONALACCESS_MMICLOSEREASON, pulsessionresult: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_ConditionalAccessEx_Impl::CloseMmiDialog(this, core::mem::transmute_copy(&uldialogrequest), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&uldialognumber), core::mem::transmute_copy(&reasoncode)) { @@ -5002,12 +5002,12 @@ pub trait IBDA_DRIDRMService_Impl: Sized { impl windows_core::RuntimeName for IBDA_DRIDRMService {} impl IBDA_DRIDRMService_Vtbl { pub const fn new, Impl: IBDA_DRIDRMService_Impl, const OFFSET: isize>() -> IBDA_DRIDRMService_Vtbl { - unsafe extern "system" fn SetDRM, Impl: IBDA_DRIDRMService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnewdrm: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDRM, Impl: IBDA_DRIDRMService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnewdrm: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_DRIDRMService_Impl::SetDRM(this, core::mem::transmute(&bstrnewdrm)).into() } - unsafe extern "system" fn GetDRMStatus, Impl: IBDA_DRIDRMService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdrmuuidlist: *mut std::mem::MaybeUninit, drmuuid: *mut windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn GetDRMStatus, Impl: IBDA_DRIDRMService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdrmuuidlist: *mut core::mem::MaybeUninit, drmuuid: *mut windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_DRIDRMService_Impl::GetDRMStatus(this, core::mem::transmute_copy(&pbstrdrmuuidlist), core::mem::transmute_copy(&drmuuid)).into() @@ -5129,7 +5129,7 @@ impl IBDA_DRMService_Vtbl { let this = (*this).get_impl(); IBDA_DRMService_Impl::SetDRM(this, core::mem::transmute_copy(&puuidnewdrm)).into() } - unsafe extern "system" fn GetDRMStatus, Impl: IBDA_DRMService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdrmuuidlist: *mut std::mem::MaybeUninit, drmuuid: *mut windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn GetDRMStatus, Impl: IBDA_DRMService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdrmuuidlist: *mut core::mem::MaybeUninit, drmuuid: *mut windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_DRMService_Impl::GetDRMStatus(this, core::mem::transmute_copy(&pbstrdrmuuidlist), core::mem::transmute_copy(&drmuuid)).into() @@ -5644,17 +5644,17 @@ pub trait IBDA_FDC_Impl: Sized { impl windows_core::RuntimeName for IBDA_FDC {} impl IBDA_FDC_Vtbl { pub const fn new, Impl: IBDA_FDC_Impl, const OFFSET: isize>() -> IBDA_FDC_Vtbl { - unsafe extern "system" fn GetStatus, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, currentbitrate: *mut u32, carrierlock: *mut super::super::Foundation::BOOL, currentfrequency: *mut u32, currentspectruminversion: *mut super::super::Foundation::BOOL, currentpidlist: *mut std::mem::MaybeUninit, currenttidlist: *mut std::mem::MaybeUninit, overflow: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetStatus, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, currentbitrate: *mut u32, carrierlock: *mut super::super::Foundation::BOOL, currentfrequency: *mut u32, currentspectruminversion: *mut super::super::Foundation::BOOL, currentpidlist: *mut core::mem::MaybeUninit, currenttidlist: *mut core::mem::MaybeUninit, overflow: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_FDC_Impl::GetStatus(this, core::mem::transmute_copy(¤tbitrate), core::mem::transmute_copy(&carrierlock), core::mem::transmute_copy(¤tfrequency), core::mem::transmute_copy(¤tspectruminversion), core::mem::transmute_copy(¤tpidlist), core::mem::transmute_copy(¤ttidlist), core::mem::transmute_copy(&overflow)).into() } - unsafe extern "system" fn RequestTables, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tableids: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequestTables, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tableids: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_FDC_Impl::RequestTables(this, core::mem::transmute(&tableids)).into() } - unsafe extern "system" fn AddPid, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidstoadd: std::mem::MaybeUninit, remainingfilterentries: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn AddPid, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidstoadd: core::mem::MaybeUninit, remainingfilterentries: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_FDC_Impl::AddPid(this, core::mem::transmute(&pidstoadd)) { @@ -5665,12 +5665,12 @@ impl IBDA_FDC_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemovePid, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidstoremove: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemovePid, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidstoremove: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_FDC_Impl::RemovePid(this, core::mem::transmute(&pidstoremove)).into() } - unsafe extern "system" fn AddTid, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tidstoadd: std::mem::MaybeUninit, currenttidlist: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddTid, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tidstoadd: core::mem::MaybeUninit, currenttidlist: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_FDC_Impl::AddTid(this, core::mem::transmute(&tidstoadd)) { @@ -5681,7 +5681,7 @@ impl IBDA_FDC_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoveTid, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tidstoremove: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveTid, Impl: IBDA_FDC_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tidstoremove: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_FDC_Impl::RemoveTid(this, core::mem::transmute(&tidstoremove)).into() @@ -5835,7 +5835,7 @@ impl IBDA_GuideDataDeliveryService_Vtbl { let this = (*this).get_impl(); IBDA_GuideDataDeliveryService_Impl::RequestGuideDataUpdate(this).into() } - unsafe extern "system" fn GetTuneXmlFromServiceIdx, Impl: IBDA_GuideDataDeliveryService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ul64serviceidx: u64, pbstrtunexml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTuneXmlFromServiceIdx, Impl: IBDA_GuideDataDeliveryService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ul64serviceidx: u64, pbstrtunexml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_GuideDataDeliveryService_Impl::GetTuneXmlFromServiceIdx(this, core::mem::transmute_copy(&ul64serviceidx)) { @@ -5851,7 +5851,7 @@ impl IBDA_GuideDataDeliveryService_Vtbl { let this = (*this).get_impl(); IBDA_GuideDataDeliveryService_Impl::GetServices(this, core::mem::transmute_copy(&pulcbbufferlen), core::mem::transmute_copy(&pbbuffer)).into() } - unsafe extern "system" fn GetServiceInfoFromTuneXml, Impl: IBDA_GuideDataDeliveryService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtunexml: std::mem::MaybeUninit, pbstrservicedescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetServiceInfoFromTuneXml, Impl: IBDA_GuideDataDeliveryService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtunexml: core::mem::MaybeUninit, pbstrservicedescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_GuideDataDeliveryService_Impl::GetServiceInfoFromTuneXml(this, core::mem::transmute(&bstrtunexml)) { @@ -5916,7 +5916,7 @@ impl IBDA_IPSinkInfo_Vtbl { let this = (*this).get_impl(); IBDA_IPSinkInfo_Impl::get_MulticastList(this, core::mem::transmute_copy(&pulcbaddresses), core::mem::transmute_copy(&ppbaddresslist)).into() } - unsafe extern "system" fn AdapterIPAddress, Impl: IBDA_IPSinkInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbuffer: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AdapterIPAddress, Impl: IBDA_IPSinkInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbuffer: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_IPSinkInfo_Impl::AdapterIPAddress(this) { @@ -5927,7 +5927,7 @@ impl IBDA_IPSinkInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AdapterDescription, Impl: IBDA_IPSinkInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbuffer: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AdapterDescription, Impl: IBDA_IPSinkInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbuffer: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_IPSinkInfo_Impl::AdapterDescription(this) { @@ -6164,7 +6164,7 @@ pub trait IBDA_NameValueService_Impl: Sized { impl windows_core::RuntimeName for IBDA_NameValueService {} impl IBDA_NameValueService_Vtbl { pub const fn new, Impl: IBDA_NameValueService_Impl, const OFFSET: isize>() -> IBDA_NameValueService_Vtbl { - unsafe extern "system" fn GetValueNameByIndex, Impl: IBDA_NameValueService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ulindex: u32, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValueNameByIndex, Impl: IBDA_NameValueService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ulindex: u32, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_NameValueService_Impl::GetValueNameByIndex(this, core::mem::transmute_copy(&ulindex)) { @@ -6175,7 +6175,7 @@ impl IBDA_NameValueService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: IBDA_NameValueService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrlanguage: std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IBDA_NameValueService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrlanguage: core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBDA_NameValueService_Impl::GetValue(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrlanguage)) { @@ -6186,7 +6186,7 @@ impl IBDA_NameValueService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IBDA_NameValueService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: std::mem::MaybeUninit, bstrname: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit, ulreserved: u32) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IBDA_NameValueService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: core::mem::MaybeUninit, bstrname: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit, ulreserved: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_NameValueService_Impl::SetValue(this, core::mem::transmute_copy(&uldialogrequest), core::mem::transmute(&bstrlanguage), core::mem::transmute(&bstrname), core::mem::transmute(&bstrvalue), core::mem::transmute_copy(&ulreserved)).into() @@ -6745,7 +6745,7 @@ pub trait IBDA_WMDRMTuner_Impl: Sized { impl windows_core::RuntimeName for IBDA_WMDRMTuner {} impl IBDA_WMDRMTuner_Vtbl { pub const fn new, Impl: IBDA_WMDRMTuner_Impl, const OFFSET: isize>() -> IBDA_WMDRMTuner_Vtbl { - unsafe extern "system" fn PurchaseEntitlement, Impl: IBDA_WMDRMTuner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: std::mem::MaybeUninit, ulpurchasetokenlen: u32, pbpurchasetoken: *const u8, puldescramblestatus: *mut u32, pulcapturetokenlen: *mut u32, pbcapturetoken: *mut u8) -> windows_core::HRESULT { + unsafe extern "system" fn PurchaseEntitlement, Impl: IBDA_WMDRMTuner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uldialogrequest: u32, bstrlanguage: core::mem::MaybeUninit, ulpurchasetokenlen: u32, pbpurchasetoken: *const u8, puldescramblestatus: *mut u32, pulcapturetokenlen: *mut u32, pbcapturetoken: *mut u8) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBDA_WMDRMTuner_Impl::PurchaseEntitlement(this, core::mem::transmute_copy(&uldialogrequest), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&ulpurchasetokenlen), core::mem::transmute_copy(&pbpurchasetoken), core::mem::transmute_copy(&puldescramblestatus), core::mem::transmute_copy(&pulcapturetokenlen), core::mem::transmute_copy(&pbcapturetoken)).into() @@ -8400,12 +8400,12 @@ pub trait IDShowPlugin_Impl: Sized { impl windows_core::RuntimeName for IDShowPlugin {} impl IDShowPlugin_Vtbl { pub const fn new, Impl: IDShowPlugin_Impl, const OFFSET: isize>() -> IDShowPlugin_Vtbl { - unsafe extern "system" fn URL, Impl: IDShowPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn URL, Impl: IDShowPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDShowPlugin_Impl::URL(this, core::mem::transmute_copy(&purl)).into() } - unsafe extern "system" fn UserAgent, Impl: IDShowPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puseragent: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserAgent, Impl: IDShowPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puseragent: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDShowPlugin_Impl::UserAgent(this, core::mem::transmute_copy(&puseragent)).into() @@ -10461,7 +10461,7 @@ impl IESEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStringData, Impl: IESEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStringData, Impl: IESEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IESEvent_Impl::GetStringData(this) { @@ -10524,7 +10524,7 @@ impl IEncoderAPI_Vtbl { let this = (*this).get_impl(); IEncoderAPI_Impl::IsAvailable(this, core::mem::transmute_copy(&api)).into() } - unsafe extern "system" fn GetParameterRange, Impl: IEncoderAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, valuemin: *mut std::mem::MaybeUninit, valuemax: *mut std::mem::MaybeUninit, steppingdelta: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetParameterRange, Impl: IEncoderAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, valuemin: *mut core::mem::MaybeUninit, valuemax: *mut core::mem::MaybeUninit, steppingdelta: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEncoderAPI_Impl::GetParameterRange(this, core::mem::transmute_copy(&api), core::mem::transmute_copy(&valuemin), core::mem::transmute_copy(&valuemax), core::mem::transmute_copy(&steppingdelta)).into() @@ -10534,7 +10534,7 @@ impl IEncoderAPI_Vtbl { let this = (*this).get_impl(); IEncoderAPI_Impl::GetParameterValues(this, core::mem::transmute_copy(&api), core::mem::transmute_copy(&values), core::mem::transmute_copy(&valuescount)).into() } - unsafe extern "system" fn GetDefaultValue, Impl: IEncoderAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDefaultValue, Impl: IEncoderAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEncoderAPI_Impl::GetDefaultValue(this, core::mem::transmute_copy(&api)) { @@ -10545,7 +10545,7 @@ impl IEncoderAPI_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: IEncoderAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IEncoderAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEncoderAPI_Impl::GetValue(this, core::mem::transmute_copy(&api)) { @@ -10556,7 +10556,7 @@ impl IEncoderAPI_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IEncoderAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IEncoderAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEncoderAPI_Impl::SetValue(this, core::mem::transmute_copy(&api), core::mem::transmute_copy(&value)).into() @@ -11167,7 +11167,7 @@ impl windows_core::RuntimeName for IFilterInfo {} #[cfg(feature = "Win32_System_Com")] impl IFilterInfo_Vtbl { pub const fn new, Impl: IFilterInfo_Impl, const OFFSET: isize>() -> IFilterInfo_Vtbl { - unsafe extern "system" fn FindPin, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpinid: std::mem::MaybeUninit, ppunk: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindPin, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpinid: core::mem::MaybeUninit, ppunk: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFilterInfo_Impl::FindPin(this, core::mem::transmute(&strpinid)) { @@ -11178,7 +11178,7 @@ impl IFilterInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFilterInfo_Impl::Name(this) { @@ -11189,7 +11189,7 @@ impl IFilterInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VendorInfo, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvendorinfo: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VendorInfo, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvendorinfo: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFilterInfo_Impl::VendorInfo(this) { @@ -11233,7 +11233,7 @@ impl IFilterInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Filename, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrfilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Filename, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrfilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFilterInfo_Impl::Filename(this) { @@ -11244,7 +11244,7 @@ impl IFilterInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFilename, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFilename, Impl: IFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFilterInfo_Impl::SetFilename(this, core::mem::transmute(&strfilename)).into() @@ -11611,12 +11611,12 @@ impl IFullScreenVideo_Vtbl { let this = (*this).get_impl(); IFullScreenVideo_Impl::IsHideOnDeactivate(this).into() } - unsafe extern "system" fn SetCaption, Impl: IFullScreenVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcaption: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCaption, Impl: IFullScreenVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcaption: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFullScreenVideo_Impl::SetCaption(this, core::mem::transmute(&strcaption)).into() } - unsafe extern "system" fn GetCaption, Impl: IFullScreenVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrcaption: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCaption, Impl: IFullScreenVideo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrcaption: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFullScreenVideo_Impl::GetCaption(this) { @@ -12104,12 +12104,12 @@ impl IMediaControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RenderFile, Impl: IMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RenderFile, Impl: IMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaControl_Impl::RenderFile(this, core::mem::transmute(&strfilename)).into() } - unsafe extern "system" fn AddSourceFilter, Impl: IMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilename: std::mem::MaybeUninit, ppunk: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddSourceFilter, Impl: IMediaControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilename: core::mem::MaybeUninit, ppunk: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaControl_Impl::AddSourceFilter(this, core::mem::transmute(&strfilename)) { @@ -12641,7 +12641,7 @@ impl windows_core::RuntimeName for IMediaPropertyBag {} #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl IMediaPropertyBag_Vtbl { pub const fn new, Impl: IMediaPropertyBag_Impl, const OFFSET: isize>() -> IMediaPropertyBag_Vtbl { - unsafe extern "system" fn EnumProperty, Impl: IMediaPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iproperty: u32, pvarpropertyname: *mut std::mem::MaybeUninit, pvarpropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumProperty, Impl: IMediaPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iproperty: u32, pvarpropertyname: *mut core::mem::MaybeUninit, pvarpropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMediaPropertyBag_Impl::EnumProperty(this, core::mem::transmute_copy(&iproperty), core::mem::transmute_copy(&pvarpropertyname), core::mem::transmute_copy(&pvarpropertyvalue)).into() @@ -13208,7 +13208,7 @@ impl windows_core::RuntimeName for IMediaTypeInfo {} #[cfg(feature = "Win32_System_Com")] impl IMediaTypeInfo_Vtbl { pub const fn new, Impl: IMediaTypeInfo_Impl, const OFFSET: isize>() -> IMediaTypeInfo_Vtbl { - unsafe extern "system" fn Type, Impl: IMediaTypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Type, Impl: IMediaTypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaTypeInfo_Impl::Type(this) { @@ -13219,7 +13219,7 @@ impl IMediaTypeInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Subtype, Impl: IMediaTypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Subtype, Impl: IMediaTypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMediaTypeInfo_Impl::Subtype(this) { @@ -14471,7 +14471,7 @@ impl IPinInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IPinInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppunk: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IPinInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppunk: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPinInfo_Impl::Name(this) { @@ -14493,7 +14493,7 @@ impl IPinInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PinID, Impl: IPinInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpinid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PinID, Impl: IPinInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpinid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPinInfo_Impl::PinID(this) { @@ -14689,12 +14689,12 @@ pub trait IQueueCommand_Impl: Sized { impl windows_core::RuntimeName for IQueueCommand {} impl IQueueCommand_Vtbl { pub const fn new, Impl: IQueueCommand_Impl, const OFFSET: isize>() -> IQueueCommand_Vtbl { - unsafe extern "system" fn InvokeAtStreamTime, Impl: IQueueCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcmd: *mut *mut core::ffi::c_void, time: f64, iid: *const windows_core::GUID, dispidmethod: i32, wflags: i16, cargs: i32, pdispparams: *const std::mem::MaybeUninit, pvarresult: *mut std::mem::MaybeUninit, puargerr: *mut i16) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeAtStreamTime, Impl: IQueueCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcmd: *mut *mut core::ffi::c_void, time: f64, iid: *const windows_core::GUID, dispidmethod: i32, wflags: i16, cargs: i32, pdispparams: *const core::mem::MaybeUninit, pvarresult: *mut core::mem::MaybeUninit, puargerr: *mut i16) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IQueueCommand_Impl::InvokeAtStreamTime(this, core::mem::transmute_copy(&pcmd), core::mem::transmute_copy(&time), core::mem::transmute_copy(&iid), core::mem::transmute_copy(&dispidmethod), core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&cargs), core::mem::transmute_copy(&pdispparams), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&puargerr)).into() } - unsafe extern "system" fn InvokeAtPresentationTime, Impl: IQueueCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcmd: *mut *mut core::ffi::c_void, time: f64, iid: *const windows_core::GUID, dispidmethod: i32, wflags: i16, cargs: i32, pdispparams: *const std::mem::MaybeUninit, pvarresult: *mut std::mem::MaybeUninit, puargerr: *mut i16) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeAtPresentationTime, Impl: IQueueCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcmd: *mut *mut core::ffi::c_void, time: f64, iid: *const windows_core::GUID, dispidmethod: i32, wflags: i16, cargs: i32, pdispparams: *const core::mem::MaybeUninit, pvarresult: *mut core::mem::MaybeUninit, puargerr: *mut i16) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IQueueCommand_Impl::InvokeAtPresentationTime(this, core::mem::transmute_copy(&pcmd), core::mem::transmute_copy(&time), core::mem::transmute_copy(&iid), core::mem::transmute_copy(&dispidmethod), core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&cargs), core::mem::transmute_copy(&pdispparams), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&puargerr)).into() @@ -14719,7 +14719,7 @@ impl windows_core::RuntimeName for IRegFilterInfo {} #[cfg(feature = "Win32_System_Com")] impl IRegFilterInfo_Vtbl { pub const fn new, Impl: IRegFilterInfo_Impl, const OFFSET: isize>() -> IRegFilterInfo_Vtbl { - unsafe extern "system" fn Name, Impl: IRegFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRegFilterInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRegFilterInfo_Impl::Name(this) { @@ -17448,12 +17448,12 @@ impl windows_core::RuntimeName for IVideoWindow {} #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_WindowsAndMessaging"))] impl IVideoWindow_Vtbl { pub const fn new, Impl: IVideoWindow_Impl, const OFFSET: isize>() -> IVideoWindow_Vtbl { - unsafe extern "system" fn SetCaption, Impl: IVideoWindow_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcaption: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCaption, Impl: IVideoWindow_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcaption: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVideoWindow_Impl::SetCaption(this, core::mem::transmute(&strcaption)).into() } - unsafe extern "system" fn Caption, Impl: IVideoWindow_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcaption: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Caption, Impl: IVideoWindow_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcaption: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVideoWindow_Impl::Caption(this) { 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 1a065055af..27c9fad3ec 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs @@ -16,42 +16,42 @@ windows_core::imp::define_interface!(IAMAnalogVideoDecoder, IAMAnalogVideoDecode impl std::ops::Deref for IAMAnalogVideoDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMAnalogVideoDecoder, windows_core::IUnknown); impl IAMAnalogVideoDecoder { pub unsafe fn AvailableTVFormats(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvailableTVFormats)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TVFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HorizontalLocked(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HorizontalLocked)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VCRHorizontalLocking)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfLines(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfLines)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputEnable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -72,34 +72,34 @@ windows_core::imp::define_interface!(IAMAnalogVideoEncoder, IAMAnalogVideoEncode impl std::ops::Deref for IAMAnalogVideoEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMAnalogVideoEncoder, windows_core::IUnknown); impl IAMAnalogVideoEncoder { pub unsafe fn AvailableTVFormats(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvailableTVFormats)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TVFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyProtection)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CCEnable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -118,13 +118,13 @@ windows_core::imp::define_interface!(IAMAsyncReaderTimestampScaling, IAMAsyncRea impl std::ops::Deref for IAMAsyncReaderTimestampScaling { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMAsyncReaderTimestampScaling, windows_core::IUnknown); impl IAMAsyncReaderTimestampScaling { pub unsafe fn GetTimestampMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimestampMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTimestampMode(&self, fraw: P0) -> windows_core::Result<()> @@ -144,7 +144,7 @@ windows_core::imp::define_interface!(IAMAudioInputMixer, IAMAudioInputMixer_Vtbl impl std::ops::Deref for IAMAudioInputMixer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMAudioInputMixer, windows_core::IUnknown); @@ -156,7 +156,7 @@ impl IAMAudioInputMixer { (windows_core::Interface::vtable(self).SetEnable)(windows_core::Interface::as_raw(self), fenable.param().abi()).ok() } pub unsafe fn Enable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMono(&self, fmono: P0) -> windows_core::Result<()> @@ -166,21 +166,21 @@ impl IAMAudioInputMixer { (windows_core::Interface::vtable(self).SetMono)(windows_core::Interface::as_raw(self), fmono.param().abi()).ok() } pub unsafe fn Mono(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Mono)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MixLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLoudness(&self, floudness: P0) -> windows_core::Result<()> @@ -190,29 +190,29 @@ impl IAMAudioInputMixer { (windows_core::Interface::vtable(self).SetLoudness)(windows_core::Interface::as_raw(self), floudness.param().abi()).ok() } pub unsafe fn Loudness(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Loudness)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Treble)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TrebleRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrebleRange)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BassRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BassRange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -240,7 +240,7 @@ windows_core::imp::define_interface!(IAMAudioRendererStats, IAMAudioRendererStat impl std::ops::Deref for IAMAudioRendererStats { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMAudioRendererStats, windows_core::IUnknown); @@ -258,7 +258,7 @@ windows_core::imp::define_interface!(IAMBufferNegotiation, IAMBufferNegotiation_ impl std::ops::Deref for IAMBufferNegotiation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMBufferNegotiation, windows_core::IUnknown); @@ -267,7 +267,7 @@ impl IAMBufferNegotiation { (windows_core::Interface::vtable(self).SuggestAllocatorProperties)(windows_core::Interface::as_raw(self), pprop).ok() } pub unsafe fn GetAllocatorProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocatorProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -281,7 +281,7 @@ windows_core::imp::define_interface!(IAMCameraControl, IAMCameraControl_Vtbl, 0x impl std::ops::Deref for IAMCameraControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMCameraControl, windows_core::IUnknown); @@ -307,7 +307,7 @@ windows_core::imp::define_interface!(IAMCertifiedOutputProtection, IAMCertifiedO impl std::ops::Deref for IAMCertifiedOutputProtection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMCertifiedOutputProtection, windows_core::IUnknown); @@ -339,7 +339,7 @@ windows_core::imp::define_interface!(IAMChannelInfo, IAMChannelInfo_Vtbl, 0xfa2a impl std::ops::Deref for IAMChannelInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -369,18 +369,18 @@ impl IAMChannelInfo { #[repr(C)] pub struct IAMChannelInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ChannelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChannelDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChannelURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContactAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContactPhone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContactEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChannelName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChannelDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChannelURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactPhone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContactEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMClockAdjust, IAMClockAdjust_Vtbl, 0x4d5466b0_a49c_11d1_abe8_00a0c905f375); impl std::ops::Deref for IAMClockAdjust { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMClockAdjust, windows_core::IUnknown); @@ -398,7 +398,7 @@ windows_core::imp::define_interface!(IAMClockSlave, IAMClockSlave_Vtbl, 0x9fd527 impl std::ops::Deref for IAMClockSlave { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMClockSlave, windows_core::IUnknown); @@ -407,7 +407,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorTolerance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -423,7 +423,7 @@ windows_core::imp::define_interface!(IAMCollection, IAMCollection_Vtbl, 0x56a868 impl std::ops::Deref for IAMCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -431,15 +431,15 @@ windows_core::imp::interface_hierarchy!(IAMCollection, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IAMCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Item(&self, litem: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), litem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -455,7 +455,7 @@ windows_core::imp::define_interface!(IAMCopyCaptureFileProgress, IAMCopyCaptureF impl std::ops::Deref for IAMCopyCaptureFileProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMCopyCaptureFileProgress, windows_core::IUnknown); @@ -473,7 +473,7 @@ windows_core::imp::define_interface!(IAMCrossbar, IAMCrossbar_Vtbl, 0xc6e13380_3 impl std::ops::Deref for IAMCrossbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMCrossbar, windows_core::IUnknown); @@ -488,7 +488,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_IsRoutedTo)(windows_core::Interface::as_raw(self), outputpinindex, &mut result__).map(|| result__) } pub unsafe fn get_CrossbarPinInfo(&self, isinputpin: P0, pinindex: i32, pinindexrelated: *mut i32, physicaltype: *mut i32) -> windows_core::Result<()> @@ -511,13 +511,13 @@ windows_core::imp::define_interface!(IAMDecoderCaps, IAMDecoderCaps_Vtbl, 0xc0df impl std::ops::Deref for IAMDecoderCaps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMDecoderCaps, windows_core::IUnknown); impl IAMDecoderCaps { pub unsafe fn GetDecoderCaps(&self, dwcapindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDecoderCaps)(windows_core::Interface::as_raw(self), dwcapindex, &mut result__).map(|| result__) } } @@ -530,7 +530,7 @@ windows_core::imp::define_interface!(IAMDevMemoryAllocator, IAMDevMemoryAllocato impl std::ops::Deref for IAMDevMemoryAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMDevMemoryAllocator, windows_core::IUnknown); @@ -567,7 +567,7 @@ windows_core::imp::define_interface!(IAMDevMemoryControl, IAMDevMemoryControl_Vt impl std::ops::Deref for IAMDevMemoryControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMDevMemoryControl, windows_core::IUnknown); @@ -579,7 +579,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -594,7 +594,7 @@ windows_core::imp::define_interface!(IAMDeviceRemoval, IAMDeviceRemoval_Vtbl, 0x impl std::ops::Deref for IAMDeviceRemoval { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMDeviceRemoval, windows_core::IUnknown); @@ -620,24 +620,24 @@ windows_core::imp::define_interface!(IAMDirectSound, IAMDirectSound_Vtbl, 0x546f impl std::ops::Deref for IAMDirectSound { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMDirectSound, windows_core::IUnknown); impl IAMDirectSound { #[cfg(feature = "Win32_Media_Audio_DirectSound")] pub unsafe fn GetDirectSoundInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDirectSoundInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio_DirectSound")] pub unsafe fn GetPrimaryBufferInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrimaryBufferInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio_DirectSound")] pub unsafe fn GetSecondaryBufferInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecondaryBufferInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio_DirectSound")] @@ -706,24 +706,24 @@ windows_core::imp::define_interface!(IAMDroppedFrames, IAMDroppedFrames_Vtbl, 0x impl std::ops::Deref for IAMDroppedFrames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMDroppedFrames, windows_core::IUnknown); impl IAMDroppedFrames { pub unsafe fn GetNumDropped(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumDropped)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumNotDropped(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumNotDropped)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, plarray, plnumcopied).ok() } pub unsafe fn GetAverageFrameSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAverageFrameSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -739,7 +739,7 @@ windows_core::imp::define_interface!(IAMExtDevice, IAMExtDevice_Vtbl, 0xb5730a90 impl std::ops::Deref for IAMExtDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMExtDevice, windows_core::IUnknown); @@ -748,29 +748,29 @@ impl IAMExtDevice { (windows_core::Interface::vtable(self).GetCapability)(windows_core::Interface::as_raw(self), capability, pvalue, pdblvalue).ok() } pub unsafe fn ExternalDeviceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExternalDeviceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExternalDeviceVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExternalDeviceVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DevicePower)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Calibrate(&self, hevent: usize, mode: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Calibrate)(windows_core::Interface::as_raw(self), hevent, mode, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DevicePort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -790,7 +790,7 @@ windows_core::imp::define_interface!(IAMExtTransport, IAMExtTransport_Vtbl, 0xa0 impl std::ops::Deref for IAMExtTransport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMExtTransport, windows_core::IUnknown); @@ -802,18 +802,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaState)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self, statusitem: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), statusitem, &mut result__).map(|| result__) } pub unsafe fn GetTransportBasicParameters(&self, param: i32, pvalue: *mut i32, ppszdata: *mut windows_core::PWSTR) -> windows_core::Result<()> { @@ -826,14 +826,14 @@ impl IAMExtTransport { (windows_core::Interface::vtable(self).SetTransportBasicParameters)(windows_core::Interface::as_raw(self), param, value, pszdata.param().abi()).ok() } pub unsafe fn GetTransportVideoParameters(&self, param: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportVideoParameters)(windows_core::Interface::as_raw(self), param, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportAudioParameters)(windows_core::Interface::as_raw(self), param, &mut result__).map(|| result__) } pub unsafe fn SetTransportAudioParameters(&self, param: i32, value: i32) -> windows_core::Result<()> { @@ -843,14 +843,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Mode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetChase(&self, penabled: *mut i32, poffset: *mut i32, phevent: *mut usize) -> windows_core::Result<()> { @@ -866,28 +866,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AntiClogControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEditPropertySet)(windows_core::Interface::as_raw(self), editid, &mut result__).map(|| 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), peditid, state).ok() } pub unsafe fn GetEditProperty(&self, editid: i32, param: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEditProperty)(windows_core::Interface::as_raw(self), editid, param, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EditStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEditStart(&self, value: i32) -> windows_core::Result<()> { @@ -932,7 +932,7 @@ windows_core::imp::define_interface!(IAMExtendedErrorInfo, IAMExtendedErrorInfo_ impl std::ops::Deref for IAMExtendedErrorInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -954,7 +954,7 @@ impl IAMExtendedErrorInfo { pub struct IAMExtendedErrorInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub HasError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -963,7 +963,7 @@ windows_core::imp::define_interface!(IAMExtendedSeeking, IAMExtendedSeeking_Vtbl impl std::ops::Deref for IAMExtendedSeeking { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1000,7 +1000,7 @@ pub struct IAMExtendedSeeking_Vtbl { pub MarkerCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentMarker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetMarkerTime: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut f64) -> windows_core::HRESULT, - pub GetMarkerName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMarkerName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetPlaybackSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub PlaybackSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } @@ -1008,7 +1008,7 @@ windows_core::imp::define_interface!(IAMFilterGraphCallback, IAMFilterGraphCallb impl std::ops::Deref for IAMFilterGraphCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMFilterGraphCallback, windows_core::IUnknown); @@ -1029,7 +1029,7 @@ windows_core::imp::define_interface!(IAMFilterMiscFlags, IAMFilterMiscFlags_Vtbl impl std::ops::Deref for IAMFilterMiscFlags { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMFilterMiscFlags, windows_core::IUnknown); @@ -1047,7 +1047,7 @@ windows_core::imp::define_interface!(IAMGraphBuilderCallback, IAMGraphBuilderCal impl std::ops::Deref for IAMGraphBuilderCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMGraphBuilderCallback, windows_core::IUnknown); @@ -1083,7 +1083,7 @@ windows_core::imp::define_interface!(IAMGraphStreams, IAMGraphStreams_Vtbl, 0x63 impl std::ops::Deref for IAMGraphStreams { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMGraphStreams, windows_core::IUnknown); @@ -1115,13 +1115,13 @@ windows_core::imp::define_interface!(IAMLatency, IAMLatency_Vtbl, 0x62ea93ba_ec6 impl std::ops::Deref for IAMLatency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMLatency, windows_core::IUnknown); impl IAMLatency { pub unsafe fn GetLatency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLatency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1134,7 +1134,7 @@ windows_core::imp::define_interface!(IAMLine21Decoder, IAMLine21Decoder_Vtbl, 0x impl std::ops::Deref for IAMLine21Decoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMLine21Decoder, windows_core::IUnknown); @@ -1213,7 +1213,7 @@ windows_core::imp::define_interface!(IAMMediaContent, IAMMediaContent_Vtbl, 0xfa impl std::ops::Deref for IAMMediaContent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1264,19 +1264,19 @@ impl IAMMediaContent { #[repr(C)] pub struct IAMMediaContent_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub AuthorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Copyright: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LogoURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LogoIconURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WatermarkURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MoreInfoURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MoreInfoBannerImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MoreInfoBannerURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MoreInfoText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AuthorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Copyright: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogoURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogoIconURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WatermarkURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MoreInfoURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MoreInfoBannerImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MoreInfoBannerURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MoreInfoText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMMediaContent2, IAMMediaContent2_Vtbl, 0xce8f78c1_74d9_11d2_b09d_00a0c9a81117); @@ -1284,7 +1284,7 @@ windows_core::imp::define_interface!(IAMMediaContent2, IAMMediaContent2_Vtbl, 0x impl std::ops::Deref for IAMMediaContent2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1308,15 +1308,15 @@ impl IAMMediaContent2 { #[repr(C)] pub struct IAMMediaContent2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_MediaParameter: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_MediaParameterName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_MediaParameter: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_MediaParameterName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PlaylistCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMMediaStream, IAMMediaStream_Vtbl, 0xbebe595d_9a6f_11d0_8fde_00c04fd9189d); impl std::ops::Deref for IAMMediaStream { type Target = IMediaStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMMediaStream, windows_core::IUnknown, IMediaStream); @@ -1366,7 +1366,7 @@ windows_core::imp::define_interface!(IAMMediaTypeSample, IAMMediaTypeSample_Vtbl impl std::ops::Deref for IAMMediaTypeSample { type Target = IStreamSample; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMMediaTypeSample, windows_core::IUnknown, IStreamSample); @@ -1375,7 +1375,7 @@ impl IAMMediaTypeSample { (windows_core::Interface::vtable(self).SetPointer)(windows_core::Interface::as_raw(self), core::mem::transmute(pbuffer.as_ptr()), pbuffer.len().try_into().unwrap()).ok() } pub unsafe fn GetPointer(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPointer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSize(&self) -> i32 { @@ -1413,7 +1413,7 @@ impl IAMMediaTypeSample { } #[cfg(feature = "Win32_Media_MediaFoundation")] pub unsafe fn GetMediaType(&self) -> windows_core::Result<*mut super::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -1467,7 +1467,7 @@ windows_core::imp::define_interface!(IAMMediaTypeStream, IAMMediaTypeStream_Vtbl impl std::ops::Deref for IAMMediaTypeStream { type Target = IMediaStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMMediaTypeStream, windows_core::IUnknown, IMediaStream); @@ -1484,11 +1484,11 @@ impl IAMMediaTypeStream { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSample)(windows_core::Interface::as_raw(self), lsamplesize, pbbuffer, dwflags, punkouter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamAllocatorRequirements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamAllocatorRequirements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStreamAllocatorRequirements(&self, pprops: *const ALLOCATOR_PROPERTIES) -> windows_core::Result<()> { @@ -1514,7 +1514,7 @@ windows_core::imp::define_interface!(IAMMultiMediaStream, IAMMultiMediaStream_Vt impl std::ops::Deref for IAMMultiMediaStream { type Target = IMultiMediaStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMMultiMediaStream, windows_core::IUnknown, IMultiMediaStream); @@ -1526,19 +1526,19 @@ impl IAMMultiMediaStream { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), streamtype, dwflags.0 as _, pfiltergraph.param().abi()).ok() } pub unsafe fn GetFilterGraph(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterGraph)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddMediaStream(&self, pstreamobject: P0, purposeid: *const windows_core::GUID, dwflags: AMMSF_MS_FLAGS) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddMediaStream)(windows_core::Interface::as_raw(self), pstreamobject.param().abi(), purposeid, dwflags.0 as _, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenFile(&self, pszfilename: P0, dwflags: u32) -> windows_core::Result<()> @@ -1582,7 +1582,7 @@ windows_core::imp::define_interface!(IAMNetShowConfig, IAMNetShowConfig_Vtbl, 0x impl std::ops::Deref for IAMNetShowConfig { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1694,8 +1694,8 @@ pub struct IAMNetShowConfig_Vtbl { pub SetUseHTTPProxy: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub EnableAutoProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnableAutoProxy: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub HTTPProxyHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHTTPProxyHost: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HTTPProxyHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHTTPProxyHost: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub HTTPProxyPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetHTTPProxyPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EnableMulticast: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1713,7 +1713,7 @@ windows_core::imp::define_interface!(IAMNetShowExProps, IAMNetShowExProps_Vtbl, impl std::ops::Deref for IAMNetShowExProps { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1754,13 +1754,13 @@ pub struct IAMNetShowExProps_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub SourceProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Bandwidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ErrorCorrection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorCorrection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CodecCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetCodecInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetCodecDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCodecURL: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCodecDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCodecURL: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub SourceLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMNetShowPreroll, IAMNetShowPreroll_Vtbl, 0xaae7e4e2_6388_11d1_8d93_006097c9a2b2); @@ -1768,7 +1768,7 @@ windows_core::imp::define_interface!(IAMNetShowPreroll, IAMNetShowPreroll_Vtbl, impl std::ops::Deref for IAMNetShowPreroll { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1798,7 +1798,7 @@ windows_core::imp::define_interface!(IAMNetworkStatus, IAMNetworkStatus_Vtbl, 0x impl std::ops::Deref for IAMNetworkStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1843,7 +1843,7 @@ windows_core::imp::define_interface!(IAMOpenProgress, IAMOpenProgress_Vtbl, 0x8e impl std::ops::Deref for IAMOpenProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMOpenProgress, windows_core::IUnknown); @@ -1865,20 +1865,20 @@ windows_core::imp::define_interface!(IAMOverlayFX, IAMOverlayFX_Vtbl, 0x62fae250 impl std::ops::Deref for IAMOverlayFX { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMOverlayFX, windows_core::IUnknown); impl IAMOverlayFX { pub unsafe fn QueryOverlayFXCaps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryOverlayFXCaps)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOverlayFX)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1893,13 +1893,13 @@ windows_core::imp::define_interface!(IAMParse, IAMParse_Vtbl, 0xc47a3420_005c_11 impl std::ops::Deref for IAMParse { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMParse, windows_core::IUnknown); impl IAMParse { pub unsafe fn GetParseTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParseTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetParseTime(&self, rtcurrent: i64) -> windows_core::Result<()> { @@ -1920,7 +1920,7 @@ windows_core::imp::define_interface!(IAMPhysicalPinInfo, IAMPhysicalPinInfo_Vtbl impl std::ops::Deref for IAMPhysicalPinInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMPhysicalPinInfo, windows_core::IUnknown); @@ -1938,21 +1938,21 @@ windows_core::imp::define_interface!(IAMPlayList, IAMPlayList_Vtbl, 0x56a868fe_0 impl std::ops::Deref for IAMPlayList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMPlayList, windows_core::IUnknown); impl IAMPlayList { pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItem(&self, dwitemindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), dwitemindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNamedEvent(&self, pwszeventname: P0, dwitemindex: u32, ppitem: *mut Option, pdwflags: *mut u32) -> windows_core::Result<()> @@ -1978,53 +1978,53 @@ windows_core::imp::define_interface!(IAMPlayListItem, IAMPlayListItem_Vtbl, 0x56 impl std::ops::Deref for IAMPlayListItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMPlayListItem, windows_core::IUnknown); impl IAMPlayListItem { pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSourceCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSourceURL(&self, dwsourceindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceURL)(windows_core::Interface::as_raw(self), dwsourceindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceStart(&self, dwsourceindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceStart)(windows_core::Interface::as_raw(self), dwsourceindex, &mut result__).map(|| result__) } pub unsafe fn GetSourceDuration(&self, dwsourceindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceDuration)(windows_core::Interface::as_raw(self), dwsourceindex, &mut result__).map(|| result__) } pub unsafe fn GetSourceStartMarker(&self, dwsourceindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceStartMarker)(windows_core::Interface::as_raw(self), dwsourceindex, &mut result__).map(|| result__) } pub unsafe fn GetSourceEndMarker(&self, dwsourceindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceEndMarker)(windows_core::Interface::as_raw(self), dwsourceindex, &mut result__).map(|| result__) } pub unsafe fn GetSourceStartMarkerName(&self, dwsourceindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceStartMarkerName)(windows_core::Interface::as_raw(self), dwsourceindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceEndMarkerName(&self, dwsourceindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceEndMarkerName)(windows_core::Interface::as_raw(self), dwsourceindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLinkURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLinkURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetScanDuration(&self, dwsourceindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScanDuration)(windows_core::Interface::as_raw(self), dwsourceindex, &mut result__).map(|| result__) } } @@ -2033,27 +2033,27 @@ pub struct IAMPlayListItem_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetSourceCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetSourceURL: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSourceURL: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSourceStart: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut i64) -> windows_core::HRESULT, pub GetSourceDuration: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut i64) -> windows_core::HRESULT, pub GetSourceStartMarker: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetSourceEndMarker: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, - pub GetSourceStartMarkerName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSourceEndMarkerName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetLinkURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSourceStartMarkerName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSourceEndMarkerName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLinkURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetScanDuration: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMPluginControl, IAMPluginControl_Vtbl, 0x0e26a181_f40c_4635_8786_976284b52981); impl std::ops::Deref for IAMPluginControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMPluginControl, windows_core::IUnknown); impl IAMPluginControl { pub unsafe fn GetPreferredClsid(&self, subtype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreferredClsid)(windows_core::Interface::as_raw(self), subtype, &mut result__).map(|| result__) } pub unsafe fn GetPreferredClsidByIndex(&self, index: u32, subtype: *mut windows_core::GUID, clsid: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -2066,7 +2066,7 @@ impl IAMPluginControl { (windows_core::Interface::vtable(self).IsDisabled)(windows_core::Interface::as_raw(self), clsid).ok() } pub unsafe fn GetDisabledByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisabledByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn SetDisabled(&self, clsid: *const windows_core::GUID, disabled: P0) -> windows_core::Result<()> @@ -2097,13 +2097,13 @@ windows_core::imp::define_interface!(IAMPushSource, IAMPushSource_Vtbl, 0xf185fe impl std::ops::Deref for IAMPushSource { type Target = IAMLatency; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMPushSource, windows_core::IUnknown, IAMLatency); impl IAMPushSource { pub unsafe fn GetPushSourceFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPushSourceFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPushSourceFlags(&self, flags: u32) -> windows_core::Result<()> { @@ -2113,11 +2113,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxStreamOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxStreamOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxStreamOffset(&self, rtmaxoffset: i64) -> windows_core::Result<()> { @@ -2138,7 +2138,7 @@ windows_core::imp::define_interface!(IAMRebuild, IAMRebuild_Vtbl, 0x02ef04dd_758 impl std::ops::Deref for IAMRebuild { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMRebuild, windows_core::IUnknown); @@ -2156,7 +2156,7 @@ windows_core::imp::define_interface!(IAMResourceControl, IAMResourceControl_Vtbl impl std::ops::Deref for IAMResourceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMResourceControl, windows_core::IUnknown); @@ -2176,7 +2176,7 @@ windows_core::imp::define_interface!(IAMStats, IAMStats_Vtbl, 0xbc9bcf80_dcd2_11 impl std::ops::Deref for IAMStats { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2187,7 +2187,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValueByIndex(&self, lindex: i32, szname: *mut windows_core::BSTR, lcount: *mut i32, dlast: *mut f64, daverage: *mut f64, dstddev: *mut f64, dmin: *mut f64, dmax: *mut f64) -> windows_core::Result<()> { @@ -2203,7 +2203,7 @@ impl IAMStats { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndex)(windows_core::Interface::as_raw(self), szname.param().abi(), lcreate, &mut result__).map(|| result__) } pub unsafe fn AddValue(&self, lindex: i32, dvalue: f64) -> windows_core::Result<()> { @@ -2216,16 +2216,16 @@ pub struct IAMStats_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetValueByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut i32, *mut f64, *mut f64, *mut f64, *mut f64, *mut f64) -> windows_core::HRESULT, - pub GetValueByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32, *mut i32, *mut f64, *mut f64, *mut f64, *mut f64, *mut f64) -> windows_core::HRESULT, - pub GetIndex: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub GetValueByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut i32, *mut f64, *mut f64, *mut f64, *mut f64, *mut f64) -> windows_core::HRESULT, + pub GetValueByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32, *mut i32, *mut f64, *mut f64, *mut f64, *mut f64, *mut f64) -> windows_core::HRESULT, + pub GetIndex: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, pub AddValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMStreamConfig, IAMStreamConfig_Vtbl, 0xc6e13340_30ac_11d0_a18c_00a0c9118956); impl std::ops::Deref for IAMStreamConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMStreamConfig, windows_core::IUnknown); @@ -2236,7 +2236,7 @@ impl IAMStreamConfig { } #[cfg(feature = "Win32_Media_MediaFoundation")] pub unsafe fn GetFormat(&self) -> windows_core::Result<*mut super::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberOfCapabilities(&self, picount: *mut i32, pisize: *mut i32) -> windows_core::Result<()> { @@ -2268,7 +2268,7 @@ windows_core::imp::define_interface!(IAMStreamControl, IAMStreamControl_Vtbl, 0x impl std::ops::Deref for IAMStreamControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMStreamControl, windows_core::IUnknown); @@ -2297,13 +2297,13 @@ windows_core::imp::define_interface!(IAMStreamSelect, IAMStreamSelect_Vtbl, 0xc1 impl std::ops::Deref for IAMStreamSelect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMStreamSelect, windows_core::IUnknown); impl IAMStreamSelect { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -2339,21 +2339,21 @@ windows_core::imp::define_interface!(IAMTVAudio, IAMTVAudio_Vtbl, 0x83ec1c30_23d impl std::ops::Deref for IAMTVAudio { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMTVAudio, windows_core::IUnknown); impl IAMTVAudio { pub unsafe fn GetHardwareSupportedTVAudioModes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHardwareSupportedTVAudioModes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAvailableTVAudioModes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableTVAudioModes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TVAudioMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TVAudioMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTVAudioMode(&self, lmode: i32) -> windows_core::Result<()> { @@ -2386,7 +2386,7 @@ windows_core::imp::define_interface!(IAMTVAudioNotification, IAMTVAudioNotificat impl std::ops::Deref for IAMTVAudioNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMTVAudioNotification, windows_core::IUnknown); @@ -2404,50 +2404,50 @@ windows_core::imp::define_interface!(IAMTVTuner, IAMTVTuner_Vtbl, 0x211a8766_03a impl std::ops::Deref for IAMTVTuner { type Target = IAMTuner; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMTVTuner, windows_core::IUnknown, IAMTuner); impl IAMTVTuner { pub unsafe fn AvailableTVFormats(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvailableTVFormats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TVFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TVFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AutoTune(&self, lchannel: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoTune)(windows_core::Interface::as_raw(self), lchannel, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumInputConnections)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_InputType)(windows_core::Interface::as_raw(self), lindex, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectInput)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VideoFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AudioFrequency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioFrequency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2470,20 +2470,20 @@ windows_core::imp::define_interface!(IAMTimecodeDisplay, IAMTimecodeDisplay_Vtbl impl std::ops::Deref for IAMTimecodeDisplay { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMTimecodeDisplay, windows_core::IUnknown); impl IAMTimecodeDisplay { pub unsafe fn GetTCDisplayEnable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTCDisplayEnable)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTCDisplay)(windows_core::Interface::as_raw(self), param, &mut result__).map(|| result__) } pub unsafe fn SetTCDisplay(&self, param: i32, value: i32) -> windows_core::Result<()> { @@ -2502,13 +2502,13 @@ windows_core::imp::define_interface!(IAMTimecodeGenerator, IAMTimecodeGenerator_ impl std::ops::Deref for IAMTimecodeGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMTimecodeGenerator, windows_core::IUnknown); impl IAMTimecodeGenerator { pub unsafe fn GetTCGMode(&self, param: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTCGMode)(windows_core::Interface::as_raw(self), param, &mut result__).map(|| result__) } pub unsafe fn SetTCGMode(&self, param: i32, value: i32) -> windows_core::Result<()> { @@ -2518,7 +2518,7 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VITCLine)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTimecode(&self, ptimecodesample: *const super::TIMECODE_SAMPLE) -> windows_core::Result<()> { @@ -2542,13 +2542,13 @@ windows_core::imp::define_interface!(IAMTimecodeReader, IAMTimecodeReader_Vtbl, impl std::ops::Deref for IAMTimecodeReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMTimecodeReader, windows_core::IUnknown); impl IAMTimecodeReader { pub unsafe fn GetTCRMode(&self, param: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTCRMode)(windows_core::Interface::as_raw(self), param, &mut result__).map(|| result__) } pub unsafe fn SetTCRMode(&self, param: i32, value: i32) -> windows_core::Result<()> { @@ -2558,7 +2558,7 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VITCLine)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTimecode(&self, ptimecodesample: *mut super::TIMECODE_SAMPLE) -> windows_core::Result<()> { @@ -2578,7 +2578,7 @@ windows_core::imp::define_interface!(IAMTuner, IAMTuner_Vtbl, 0x211a8761_03ac_11 impl std::ops::Deref for IAMTuner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMTuner, windows_core::IUnknown); @@ -2596,14 +2596,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TuningSpace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Logon(&self, hcurrentuser: P0) -> windows_core::Result<()> @@ -2616,18 +2616,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignalPresent)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Mode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAvailableModes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableModes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RegisterNotificationCallBack(&self, pnotify: P0, levents: i32) -> windows_core::Result<()> @@ -2666,7 +2666,7 @@ windows_core::imp::define_interface!(IAMTunerNotification, IAMTunerNotification_ impl std::ops::Deref for IAMTunerNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMTunerNotification, windows_core::IUnknown); @@ -2684,7 +2684,7 @@ windows_core::imp::define_interface!(IAMVfwCaptureDialogs, IAMVfwCaptureDialogs_ impl std::ops::Deref for IAMVfwCaptureDialogs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMVfwCaptureDialogs, windows_core::IUnknown); @@ -2713,7 +2713,7 @@ windows_core::imp::define_interface!(IAMVfwCompressDialogs, IAMVfwCompressDialog impl std::ops::Deref for IAMVfwCompressDialogs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMVfwCompressDialogs, windows_core::IUnknown); @@ -2746,7 +2746,7 @@ windows_core::imp::define_interface!(IAMVideoAccelerator, IAMVideoAccelerator_Vt impl std::ops::Deref for IAMVideoAccelerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMVideoAccelerator, windows_core::IUnknown); @@ -2830,7 +2830,7 @@ windows_core::imp::define_interface!(IAMVideoAcceleratorNotify, IAMVideoAccelera impl std::ops::Deref for IAMVideoAcceleratorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMVideoAcceleratorNotify, windows_core::IUnknown); @@ -2860,7 +2860,7 @@ windows_core::imp::define_interface!(IAMVideoCompression, IAMVideoCompression_Vt impl std::ops::Deref for IAMVideoCompression { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMVideoCompression, windows_core::IUnknown); @@ -2869,28 +2869,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeyFrameRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PFramesPerKeyFrame)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Quality)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInfo(&self, pszversion: windows_core::PWSTR, pcbversion: Option<*mut i32>, pszdescription: windows_core::PWSTR, pcbdescription: Option<*mut i32>, pdefaultkeyframerate: Option<*mut i32>, pdefaultpframesperkey: Option<*mut i32>, pdefaultquality: Option<*mut f64>, pcapabilities: Option<*mut i32>) -> windows_core::Result<()> { @@ -2933,7 +2933,7 @@ windows_core::imp::define_interface!(IAMVideoControl, IAMVideoControl_Vtbl, 0x6a impl std::ops::Deref for IAMVideoControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMVideoControl, windows_core::IUnknown); @@ -2942,7 +2942,7 @@ impl IAMVideoControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaps)(windows_core::Interface::as_raw(self), ppin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetMode(&self, ppin: P0, mode: i32) -> windows_core::Result<()> @@ -2955,21 +2955,21 @@ impl IAMVideoControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMode)(windows_core::Interface::as_raw(self), ppin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetCurrentActualFrameRate(&self, ppin: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentActualFrameRate)(windows_core::Interface::as_raw(self), ppin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetMaxAvailableFrameRate(&self, ppin: P0, iindex: i32, dimensions: super::super::Foundation::SIZE) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxAvailableFrameRate)(windows_core::Interface::as_raw(self), ppin.param().abi(), iindex, core::mem::transmute(dimensions), &mut result__).map(|| result__) } pub unsafe fn GetFrameRateList(&self, ppin: P0, iindex: i32, dimensions: super::super::Foundation::SIZE, listsize: *mut i32, framerates: *mut *mut i64) -> windows_core::Result<()> @@ -2993,13 +2993,13 @@ windows_core::imp::define_interface!(IAMVideoDecimationProperties, IAMVideoDecim impl std::ops::Deref for IAMVideoDecimationProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMVideoDecimationProperties, windows_core::IUnknown); impl IAMVideoDecimationProperties { pub unsafe fn QueryDecimationUsage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDecimationUsage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDecimationUsage(&self, usage: DECIMATION_USAGE) -> windows_core::Result<()> { @@ -3016,7 +3016,7 @@ windows_core::imp::define_interface!(IAMVideoProcAmp, IAMVideoProcAmp_Vtbl, 0xc6 impl std::ops::Deref for IAMVideoProcAmp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMVideoProcAmp, windows_core::IUnknown); @@ -3042,7 +3042,7 @@ windows_core::imp::define_interface!(IAMWMBufferPass, IAMWMBufferPass_Vtbl, 0x6d impl std::ops::Deref for IAMWMBufferPass { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMWMBufferPass, windows_core::IUnknown); @@ -3063,7 +3063,7 @@ windows_core::imp::define_interface!(IAMWMBufferPassCallback, IAMWMBufferPassCal impl std::ops::Deref for IAMWMBufferPassCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMWMBufferPassCallback, windows_core::IUnknown); @@ -3089,7 +3089,7 @@ windows_core::imp::define_interface!(IAMWstDecoder, IAMWstDecoder_Vtbl, 0xc056de impl std::ops::Deref for IAMWstDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMWstDecoder, windows_core::IUnknown); @@ -3192,7 +3192,7 @@ windows_core::imp::define_interface!(IAMovieSetup, IAMovieSetup_Vtbl, 0xa3d8cec0 impl std::ops::Deref for IAMovieSetup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAMovieSetup, windows_core::IUnknown); @@ -3214,7 +3214,7 @@ windows_core::imp::define_interface!(IAsyncReader, IAsyncReader_Vtbl, 0x56a868aa impl std::ops::Deref for IAsyncReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAsyncReader, windows_core::IUnknown); @@ -3223,7 +3223,7 @@ impl IAsyncReader { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestAllocator)(windows_core::Interface::as_raw(self), ppreferred.param().abi(), pprops, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Request(&self, psample: P0, dwuser: usize) -> windows_core::Result<()> @@ -3270,7 +3270,7 @@ windows_core::imp::define_interface!(IAudioData, IAudioData_Vtbl, 0x54c719c0_af6 impl std::ops::Deref for IAudioData { type Target = IMemoryData; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioData, windows_core::IUnknown, IMemoryData); @@ -3300,7 +3300,7 @@ windows_core::imp::define_interface!(IAudioMediaStream, IAudioMediaStream_Vtbl, impl std::ops::Deref for IAudioMediaStream { type Target = IMediaStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioMediaStream, windows_core::IUnknown, IMediaStream); @@ -3317,7 +3317,7 @@ impl IAudioMediaStream { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSample)(windows_core::Interface::as_raw(self), paudiodata.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3338,13 +3338,13 @@ windows_core::imp::define_interface!(IAudioStreamSample, IAudioStreamSample_Vtbl impl std::ops::Deref for IAudioStreamSample { type Target = IStreamSample; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioStreamSample, windows_core::IUnknown, IStreamSample); impl IAudioStreamSample { pub unsafe fn GetAudioData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3357,13 +3357,13 @@ windows_core::imp::define_interface!(IBDA_AUX, IBDA_AUX_Vtbl, 0x7def4c09_6e66_45 impl std::ops::Deref for IBDA_AUX { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_AUX, windows_core::IUnknown); impl IBDA_AUX { pub unsafe fn QueryCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -3380,7 +3380,7 @@ windows_core::imp::define_interface!(IBDA_AutoDemodulate, IBDA_AutoDemodulate_Vt impl std::ops::Deref for IBDA_AutoDemodulate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_AutoDemodulate, windows_core::IUnknown); @@ -3398,7 +3398,7 @@ windows_core::imp::define_interface!(IBDA_AutoDemodulateEx, IBDA_AutoDemodulateE impl std::ops::Deref for IBDA_AutoDemodulateEx { type Target = IBDA_AutoDemodulate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_AutoDemodulateEx, windows_core::IUnknown, IBDA_AutoDemodulate); @@ -3424,7 +3424,7 @@ windows_core::imp::define_interface!(IBDA_ConditionalAccess, IBDA_ConditionalAcc impl std::ops::Deref for IBDA_ConditionalAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_ConditionalAccess, windows_core::IUnknown); @@ -3439,7 +3439,7 @@ impl IBDA_ConditionalAccess { (windows_core::Interface::vtable(self).get_SmartCardApplications)(windows_core::Interface::as_raw(self), pulcapplications, rgapplications.len().try_into().unwrap(), core::mem::transmute(rgapplications.as_ptr())).ok() } pub unsafe fn get_Entitlement(&self, usvirtualchannel: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Entitlement)(windows_core::Interface::as_raw(self), usvirtualchannel, &mut result__).map(|| result__) } pub unsafe fn TuneByChannel(&self, usvirtualchannel: u16) -> windows_core::Result<()> { @@ -3455,7 +3455,7 @@ impl IBDA_ConditionalAccess { (windows_core::Interface::vtable(self).RemoveProgram)(windows_core::Interface::as_raw(self), usprogramnumber).ok() } pub unsafe fn GetModuleUI(&self, bydialognumber: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModuleUI)(windows_core::Interface::as_raw(self), bydialognumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InformUIClosed(&self, bydialognumber: u8, closereason: UICloseReasonType) -> windows_core::Result<()> { @@ -3465,22 +3465,22 @@ impl IBDA_ConditionalAccess { #[repr(C)] pub struct IBDA_ConditionalAccess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub get_SmartCardStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardStatusType, *mut SmartCardAssociationType, *mut std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub get_SmartCardInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, *mut u8, *mut i32, *mut std::mem::MaybeUninit, *mut EALocationCodeType) -> windows_core::HRESULT, + pub get_SmartCardStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardStatusType, *mut SmartCardAssociationType, *mut core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub get_SmartCardInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, *mut u8, *mut i32, *mut core::mem::MaybeUninit, *mut EALocationCodeType) -> windows_core::HRESULT, pub get_SmartCardApplications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, *mut SmartCardApplication) -> windows_core::HRESULT, pub get_Entitlement: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut EntitlementType) -> windows_core::HRESULT, pub TuneByChannel: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, pub SetProgram: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, pub AddProgram: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, pub RemoveProgram: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, - pub GetModuleUI: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetModuleUI: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InformUIClosed: unsafe extern "system" fn(*mut core::ffi::c_void, u8, UICloseReasonType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_ConditionalAccessEx, IBDA_ConditionalAccessEx_Vtbl, 0x497c3418_23cb_44ba_bb62_769f506fcea7); impl std::ops::Deref for IBDA_ConditionalAccessEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_ConditionalAccessEx, windows_core::IUnknown); @@ -3489,7 +3489,7 @@ impl IBDA_ConditionalAccessEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckEntitlementToken)(windows_core::Interface::as_raw(self), uldialogrequest, bstrlanguage.param().abi(), requesttype, pbentitlementtoken.len().try_into().unwrap(), core::mem::transmute(pbentitlementtoken.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn SetCaptureToken(&self, pbcapturetoken: &[u8]) -> windows_core::Result<()> { @@ -3505,28 +3505,28 @@ impl IBDA_ConditionalAccessEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CloseMmiDialog)(windows_core::Interface::as_raw(self), uldialogrequest, bstrlanguage.param().abi(), uldialognumber, reasoncode, &mut result__).map(|| result__) } pub unsafe fn CreateDialogRequestNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDialogRequestNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IBDA_ConditionalAccessEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CheckEntitlementToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, BDA_CONDITIONALACCESS_REQUESTTYPE, u32, *const u8, *mut u32) -> windows_core::HRESULT, + pub CheckEntitlementToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, BDA_CONDITIONALACCESS_REQUESTTYPE, u32, *const u8, *mut u32) -> windows_core::HRESULT, pub SetCaptureToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, - pub OpenBroadcastMmi: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, - pub CloseMmiDialog: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, u32, BDA_CONDITIONALACCESS_MMICLOSEREASON, *mut u32) -> windows_core::HRESULT, + pub OpenBroadcastMmi: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub CloseMmiDialog: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, u32, BDA_CONDITIONALACCESS_MMICLOSEREASON, *mut u32) -> windows_core::HRESULT, pub CreateDialogRequestNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DRIDRMService, IBDA_DRIDRMService_Vtbl, 0x1f9bc2a5_44a3_4c52_aab1_0bbce5a1381d); impl std::ops::Deref for IBDA_DRIDRMService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_DRIDRMService, windows_core::IUnknown); @@ -3547,15 +3547,15 @@ impl IBDA_DRIDRMService { #[repr(C)] pub struct IBDA_DRIDRMService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub SetDRM: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDRMStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, + pub SetDRM: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDRMStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetPairingStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BDA_DrmPairingError) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DRIWMDRMSession, IBDA_DRIWMDRMSession_Vtbl, 0x05c690f8_56db_4bb2_b053_79c12098bb26); impl std::ops::Deref for IBDA_DRIWMDRMSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_DRIWMDRMSession, windows_core::IUnknown); @@ -3597,7 +3597,7 @@ windows_core::imp::define_interface!(IBDA_DRM, IBDA_DRM_Vtbl, 0xf98d88b0_1992_4c impl std::ops::Deref for IBDA_DRM { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_DRM, windows_core::IUnknown); @@ -3622,7 +3622,7 @@ windows_core::imp::define_interface!(IBDA_DRMService, IBDA_DRMService_Vtbl, 0xbf impl std::ops::Deref for IBDA_DRMService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_DRMService, windows_core::IUnknown); @@ -3638,13 +3638,13 @@ impl IBDA_DRMService { pub struct IBDA_DRMService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetDRM: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, - pub GetDRMStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, + pub GetDRMStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DeviceControl, IBDA_DeviceControl_Vtbl, 0xfd0a5af3_b41d_11d2_9c95_00c04f7971e0); impl std::ops::Deref for IBDA_DeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_DeviceControl, windows_core::IUnknown); @@ -3676,7 +3676,7 @@ windows_core::imp::define_interface!(IBDA_DiagnosticProperties, IBDA_DiagnosticP impl std::ops::Deref for IBDA_DiagnosticProperties { type Target = super::super::System::Com::StructuredStorage::IPropertyBag; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -3692,7 +3692,7 @@ windows_core::imp::define_interface!(IBDA_DigitalDemodulator, IBDA_DigitalDemodu impl std::ops::Deref for IBDA_DigitalDemodulator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_DigitalDemodulator, windows_core::IUnknown); @@ -3762,7 +3762,7 @@ windows_core::imp::define_interface!(IBDA_DigitalDemodulator2, IBDA_DigitalDemod impl std::ops::Deref for IBDA_DigitalDemodulator2 { type Target = IBDA_DigitalDemodulator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_DigitalDemodulator2, windows_core::IUnknown, IBDA_DigitalDemodulator); @@ -3808,7 +3808,7 @@ windows_core::imp::define_interface!(IBDA_DigitalDemodulator3, IBDA_DigitalDemod impl std::ops::Deref for IBDA_DigitalDemodulator3 { type Target = IBDA_DigitalDemodulator2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_DigitalDemodulator3, windows_core::IUnknown, IBDA_DigitalDemodulator, IBDA_DigitalDemodulator2); @@ -3838,7 +3838,7 @@ windows_core::imp::define_interface!(IBDA_DiseqCommand, IBDA_DiseqCommand_Vtbl, impl std::ops::Deref for IBDA_DiseqCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_DiseqCommand, windows_core::IUnknown); @@ -3882,7 +3882,7 @@ windows_core::imp::define_interface!(IBDA_EasMessage, IBDA_EasMessage_Vtbl, 0xd8 impl std::ops::Deref for IBDA_EasMessage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_EasMessage, windows_core::IUnknown); @@ -3900,7 +3900,7 @@ windows_core::imp::define_interface!(IBDA_Encoder, IBDA_Encoder_Vtbl, 0x3a8bad59 impl std::ops::Deref for IBDA_Encoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_Encoder, windows_core::IUnknown); @@ -3934,7 +3934,7 @@ windows_core::imp::define_interface!(IBDA_EthernetFilter, IBDA_EthernetFilter_Vt impl std::ops::Deref for IBDA_EthernetFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_EthernetFilter, windows_core::IUnknown); @@ -3952,7 +3952,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMulticastMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3969,7 +3969,7 @@ windows_core::imp::define_interface!(IBDA_EventingService, IBDA_EventingService_ impl std::ops::Deref for IBDA_EventingService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_EventingService, windows_core::IUnknown); @@ -3987,7 +3987,7 @@ windows_core::imp::define_interface!(IBDA_FDC, IBDA_FDC_Vtbl, 0x138adc7e_58ae_43 impl std::ops::Deref for IBDA_FDC { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_FDC, windows_core::IUnknown); @@ -4005,7 +4005,7 @@ impl IBDA_FDC { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddPid)(windows_core::Interface::as_raw(self), pidstoadd.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemovePid(&self, pidstoremove: P0) -> windows_core::Result<()> @@ -4018,7 +4018,7 @@ impl IBDA_FDC { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddTid)(windows_core::Interface::as_raw(self), tidstoadd.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveTid(&self, tidstoremove: P0) -> windows_core::Result<()> @@ -4034,19 +4034,19 @@ impl IBDA_FDC { #[repr(C)] pub struct IBDA_FDC_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut super::super::Foundation::BOOL, *mut u32, *mut super::super::Foundation::BOOL, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub RequestTables: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, - pub RemovePid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddTid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveTid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut super::super::Foundation::BOOL, *mut u32, *mut super::super::Foundation::BOOL, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub RequestTables: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub RemovePid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddTid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveTid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetTableSection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_FrequencyFilter, IBDA_FrequencyFilter_Vtbl, 0x71985f47_1ca1_11d3_9cc8_00c04f7971e0); impl std::ops::Deref for IBDA_FrequencyFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_FrequencyFilter, windows_core::IUnknown); @@ -4108,13 +4108,13 @@ windows_core::imp::define_interface!(IBDA_GuideDataDeliveryService, IBDA_GuideDa impl std::ops::Deref for IBDA_GuideDataDeliveryService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_GuideDataDeliveryService, windows_core::IUnknown); impl IBDA_GuideDataDeliveryService { pub unsafe fn GetGuideDataType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuideDataType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGuideData(&self, pulcbbufferlen: *mut u32, pbbuffer: *mut u8, pulguidedatapercentageprogress: *mut u32) -> windows_core::Result<()> { @@ -4124,7 +4124,7 @@ impl IBDA_GuideDataDeliveryService { (windows_core::Interface::vtable(self).RequestGuideDataUpdate)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetTuneXmlFromServiceIdx(&self, ul64serviceidx: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTuneXmlFromServiceIdx)(windows_core::Interface::as_raw(self), ul64serviceidx, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetServices(&self, pulcbbufferlen: *mut u32, pbbuffer: *mut u8) -> windows_core::Result<()> { @@ -4134,7 +4134,7 @@ impl IBDA_GuideDataDeliveryService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceInfoFromTuneXml)(windows_core::Interface::as_raw(self), bstrtunexml.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4144,15 +4144,15 @@ pub struct IBDA_GuideDataDeliveryService_Vtbl { pub GetGuideDataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetGuideData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub RequestGuideDataUpdate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetTuneXmlFromServiceIdx: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTuneXmlFromServiceIdx: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, - pub GetServiceInfoFromTuneXml: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetServiceInfoFromTuneXml: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_IPSinkControl, IBDA_IPSinkControl_Vtbl, 0x3f4dc8e2_4050_11d3_8f4b_00c04f7971e2); impl std::ops::Deref for IBDA_IPSinkControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_IPSinkControl, windows_core::IUnknown); @@ -4174,7 +4174,7 @@ windows_core::imp::define_interface!(IBDA_IPSinkInfo, IBDA_IPSinkInfo_Vtbl, 0xa7 impl std::ops::Deref for IBDA_IPSinkInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_IPSinkInfo, windows_core::IUnknown); @@ -4183,11 +4183,11 @@ impl IBDA_IPSinkInfo { (windows_core::Interface::vtable(self).get_MulticastList)(windows_core::Interface::as_raw(self), pulcbaddresses, ppbaddresslist).ok() } pub unsafe fn AdapterIPAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdapterIPAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AdapterDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdapterDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4195,14 +4195,14 @@ impl IBDA_IPSinkInfo { pub struct IBDA_IPSinkInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub get_MulticastList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, - pub AdapterIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AdapterDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AdapterIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AdapterDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_IPV4Filter, IBDA_IPV4Filter_Vtbl, 0x71985f44_1ca1_11d3_9cc8_00c04f7971e0); impl std::ops::Deref for IBDA_IPV4Filter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_IPV4Filter, windows_core::IUnknown); @@ -4220,7 +4220,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMulticastMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4237,7 +4237,7 @@ windows_core::imp::define_interface!(IBDA_IPV6Filter, IBDA_IPV6Filter_Vtbl, 0xe1 impl std::ops::Deref for IBDA_IPV6Filter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_IPV6Filter, windows_core::IUnknown); @@ -4255,7 +4255,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMulticastMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4272,7 +4272,7 @@ windows_core::imp::define_interface!(IBDA_ISDBConditionalAccess, IBDA_ISDBCondit impl std::ops::Deref for IBDA_ISDBConditionalAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_ISDBConditionalAccess, windows_core::IUnknown); @@ -4290,7 +4290,7 @@ windows_core::imp::define_interface!(IBDA_LNBInfo, IBDA_LNBInfo_Vtbl, 0x992cf102 impl std::ops::Deref for IBDA_LNBInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_LNBInfo, windows_core::IUnknown); @@ -4328,7 +4328,7 @@ windows_core::imp::define_interface!(IBDA_MUX, IBDA_MUX_Vtbl, 0x942aafec_4c05_4c impl std::ops::Deref for IBDA_MUX { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_MUX, windows_core::IUnknown); @@ -4350,13 +4350,13 @@ windows_core::imp::define_interface!(IBDA_NameValueService, IBDA_NameValueServic impl std::ops::Deref for IBDA_NameValueService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_NameValueService, windows_core::IUnknown); impl IBDA_NameValueService { pub unsafe fn GetValueNameByIndex(&self, ulindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValueNameByIndex)(windows_core::Interface::as_raw(self), ulindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetValue(&self, bstrname: P0, bstrlanguage: P1) -> windows_core::Result @@ -4364,7 +4364,7 @@ impl IBDA_NameValueService { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), bstrname.param().abi(), bstrlanguage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, uldialogrequest: u32, bstrlanguage: P0, bstrname: P1, bstrvalue: P2, ulreserved: u32) -> windows_core::Result<()> @@ -4379,15 +4379,15 @@ impl IBDA_NameValueService { #[repr(C)] pub struct IBDA_NameValueService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetValueNameByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub GetValueNameByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_NetworkProvider, IBDA_NetworkProvider_Vtbl, 0xfd501041_8ebe_11ce_8183_00aa00577da2); impl std::ops::Deref for IBDA_NetworkProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_NetworkProvider, windows_core::IUnknown); @@ -4432,7 +4432,7 @@ windows_core::imp::define_interface!(IBDA_NullTransform, IBDA_NullTransform_Vtbl impl std::ops::Deref for IBDA_NullTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_NullTransform, windows_core::IUnknown); @@ -4454,7 +4454,7 @@ windows_core::imp::define_interface!(IBDA_PinControl, IBDA_PinControl_Vtbl, 0x0d impl std::ops::Deref for IBDA_PinControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_PinControl, windows_core::IUnknown); @@ -4480,7 +4480,7 @@ windows_core::imp::define_interface!(IBDA_SignalProperties, IBDA_SignalPropertie impl std::ops::Deref for IBDA_SignalProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_SignalProperties, windows_core::IUnknown); @@ -4518,7 +4518,7 @@ windows_core::imp::define_interface!(IBDA_SignalStatistics, IBDA_SignalStatistic impl std::ops::Deref for IBDA_SignalStatistics { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_SignalStatistics, windows_core::IUnknown); @@ -4578,7 +4578,7 @@ windows_core::imp::define_interface!(IBDA_Topology, IBDA_Topology_Vtbl, 0x79b568 impl std::ops::Deref for IBDA_Topology { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_Topology, windows_core::IUnknown); @@ -4640,13 +4640,13 @@ windows_core::imp::define_interface!(IBDA_TransportStreamInfo, IBDA_TransportStr impl std::ops::Deref for IBDA_TransportStreamInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_TransportStreamInfo, windows_core::IUnknown); impl IBDA_TransportStreamInfo { pub unsafe fn PatTableTickCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PatTableTickCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4659,7 +4659,7 @@ windows_core::imp::define_interface!(IBDA_TransportStreamSelector, IBDA_Transpor impl std::ops::Deref for IBDA_TransportStreamSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_TransportStreamSelector, windows_core::IUnknown); @@ -4681,7 +4681,7 @@ windows_core::imp::define_interface!(IBDA_UserActivityService, IBDA_UserActivity impl std::ops::Deref for IBDA_UserActivityService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_UserActivityService, windows_core::IUnknown); @@ -4690,7 +4690,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserActivityInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UserActivityDetected(&self) -> windows_core::Result<()> { @@ -4708,7 +4708,7 @@ windows_core::imp::define_interface!(IBDA_VoidTransform, IBDA_VoidTransform_Vtbl impl std::ops::Deref for IBDA_VoidTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_VoidTransform, windows_core::IUnknown); @@ -4730,7 +4730,7 @@ windows_core::imp::define_interface!(IBDA_WMDRMSession, IBDA_WMDRMSession_Vtbl, impl std::ops::Deref for IBDA_WMDRMSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_WMDRMSession, windows_core::IUnknown); @@ -4776,7 +4776,7 @@ windows_core::imp::define_interface!(IBDA_WMDRMTuner, IBDA_WMDRMTuner_Vtbl, 0x86 impl std::ops::Deref for IBDA_WMDRMTuner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBDA_WMDRMTuner, windows_core::IUnknown); @@ -4794,7 +4794,7 @@ impl IBDA_WMDRMTuner { (windows_core::Interface::vtable(self).SetPidProtection)(windows_core::Interface::as_raw(self), ulpid, uuidkey).ok() } pub unsafe fn GetPidProtection(&self, pulpid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPidProtection)(windows_core::Interface::as_raw(self), pulpid, &mut result__).map(|| result__) } pub unsafe fn SetSyncValue(&self, ulsyncvalue: u32) -> windows_core::Result<()> { @@ -4807,7 +4807,7 @@ impl IBDA_WMDRMTuner { #[repr(C)] pub struct IBDA_WMDRMTuner_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub PurchaseEntitlement: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, u32, *const u8, *mut u32, *mut u32, *mut u8) -> windows_core::HRESULT, + pub PurchaseEntitlement: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, u32, *const u8, *mut u32, *mut u32, *mut u8) -> windows_core::HRESULT, pub CancelCaptureToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub SetPidProtection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, pub GetPidProtection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, @@ -4818,7 +4818,7 @@ windows_core::imp::define_interface!(IBPCSatelliteTuner, IBPCSatelliteTuner_Vtbl impl std::ops::Deref for IBPCSatelliteTuner { type Target = IAMTuner; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBPCSatelliteTuner, windows_core::IUnknown, IAMTuner); @@ -4846,7 +4846,7 @@ windows_core::imp::define_interface!(IBaseFilter, IBaseFilter_Vtbl, 0x56a86895_0 impl std::ops::Deref for IBaseFilter { type Target = IMediaFilter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4854,14 +4854,14 @@ windows_core::imp::interface_hierarchy!(IBaseFilter, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IBaseFilter { pub unsafe fn EnumPins(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumPins)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindPin(&self, id: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindPin)(windows_core::Interface::as_raw(self), id.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryFilterInfo(&self, pinfo: *mut FILTER_INFO) -> windows_core::Result<()> { @@ -4875,7 +4875,7 @@ impl IBaseFilter { (windows_core::Interface::vtable(self).JoinFilterGraph)(windows_core::Interface::as_raw(self), pgraph.param().abi(), pname.param().abi()).ok() } pub unsafe fn QueryVendorInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryVendorInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4893,7 +4893,7 @@ windows_core::imp::define_interface!(IBaseVideoMixer, IBaseVideoMixer_Vtbl, 0x61 impl std::ops::Deref for IBaseVideoMixer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBaseVideoMixer, windows_core::IUnknown); @@ -4902,22 +4902,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLeadPin)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInputPinCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputPinCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsUsingClock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUsingClock)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClockPeriod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClockPeriod(&self, bvalue: i32) -> windows_core::Result<()> { @@ -4941,7 +4941,7 @@ windows_core::imp::define_interface!(IBasicAudio, IBasicAudio_Vtbl, 0x56a868b3_0 impl std::ops::Deref for IBasicAudio { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4952,14 +4952,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Volume)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Balance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4978,7 +4978,7 @@ windows_core::imp::define_interface!(IBasicVideo, IBasicVideo_Vtbl, 0x56a868b5_0 impl std::ops::Deref for IBasicVideo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4986,79 +4986,79 @@ windows_core::imp::interface_hierarchy!(IBasicVideo, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IBasicVideo { pub unsafe fn AvgTimePerFrame(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvgTimePerFrame)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BitRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BitRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BitErrorRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BitErrorRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VideoWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VideoHeight(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VideoHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceLeft)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceTop)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationLeft)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationTop)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSourcePosition(&self, left: i32, top: i32, width: i32, height: i32) -> windows_core::Result<()> { @@ -5138,7 +5138,7 @@ windows_core::imp::define_interface!(IBasicVideo2, IBasicVideo2_Vtbl, 0x329bb360 impl std::ops::Deref for IBasicVideo2 { type Target = IBasicVideo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5159,7 +5159,7 @@ windows_core::imp::define_interface!(IBroadcastEvent, IBroadcastEvent_Vtbl, 0x3b impl std::ops::Deref for IBroadcastEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBroadcastEvent, windows_core::IUnknown); @@ -5177,7 +5177,7 @@ windows_core::imp::define_interface!(IBroadcastEventEx, IBroadcastEventEx_Vtbl, impl std::ops::Deref for IBroadcastEventEx { type Target = IBroadcastEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBroadcastEventEx, windows_core::IUnknown, IBroadcastEvent); @@ -5195,7 +5195,7 @@ windows_core::imp::define_interface!(IBufferingTime, IBufferingTime_Vtbl, 0x1e00 impl std::ops::Deref for IBufferingTime { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBufferingTime, windows_core::IUnknown); @@ -5217,13 +5217,13 @@ windows_core::imp::define_interface!(ICCSubStreamFiltering, ICCSubStreamFilterin impl std::ops::Deref for ICCSubStreamFiltering { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICCSubStreamFiltering, windows_core::IUnknown); impl ICCSubStreamFiltering { pub unsafe fn SubstreamTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubstreamTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSubstreamTypes(&self, types: i32) -> windows_core::Result<()> { @@ -5240,7 +5240,7 @@ windows_core::imp::define_interface!(ICameraControl, ICameraControl_Vtbl, 0x2ba1 impl std::ops::Deref for ICameraControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICameraControl, windows_core::IUnknown); @@ -5458,7 +5458,7 @@ windows_core::imp::define_interface!(ICaptureGraphBuilder, ICaptureGraphBuilder_ impl std::ops::Deref for ICaptureGraphBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICaptureGraphBuilder, windows_core::IUnknown); @@ -5470,7 +5470,7 @@ impl ICaptureGraphBuilder { (windows_core::Interface::vtable(self).SetFiltergraph)(windows_core::Interface::as_raw(self), pfg.param().abi()).ok() } pub unsafe fn GetFiltergraph(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFiltergraph)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5546,7 +5546,7 @@ windows_core::imp::define_interface!(ICaptureGraphBuilder2, ICaptureGraphBuilder impl std::ops::Deref for ICaptureGraphBuilder2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICaptureGraphBuilder2, windows_core::IUnknown); @@ -5558,7 +5558,7 @@ impl ICaptureGraphBuilder2 { (windows_core::Interface::vtable(self).SetFiltergraph)(windows_core::Interface::as_raw(self), pfg.param().abi()).ok() } pub unsafe fn GetFiltergraph(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFiltergraph)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5610,7 +5610,7 @@ impl ICaptureGraphBuilder2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindPin)(windows_core::Interface::as_raw(self), psource.param().abi(), pindir, core::mem::transmute(pcategory.unwrap_or(std::ptr::null())), core::mem::transmute(ptype.unwrap_or(std::ptr::null())), funconnected.param().abi(), num, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5643,7 +5643,7 @@ windows_core::imp::define_interface!(IConfigAsfWriter, IConfigAsfWriter_Vtbl, 0x impl std::ops::Deref for IConfigAsfWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConfigAsfWriter, windows_core::IUnknown); @@ -5652,14 +5652,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProfileId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), guidprofile).ok() } pub unsafe fn GetCurrentProfileGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProfileGuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_WindowsMediaFormat")] @@ -5671,7 +5671,7 @@ impl IConfigAsfWriter { } #[cfg(feature = "Win32_Media_WindowsMediaFormat")] pub unsafe fn GetCurrentProfile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProfile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetIndexMode(&self, bindexfile: P0) -> windows_core::Result<()> @@ -5681,7 +5681,7 @@ impl IConfigAsfWriter { (windows_core::Interface::vtable(self).SetIndexMode)(windows_core::Interface::as_raw(self), bindexfile.param().abi()).ok() } pub unsafe fn GetIndexMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndexMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5707,7 +5707,7 @@ windows_core::imp::define_interface!(IConfigAsfWriter2, IConfigAsfWriter2_Vtbl, impl std::ops::Deref for IConfigAsfWriter2 { type Target = IConfigAsfWriter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConfigAsfWriter2, windows_core::IUnknown, IConfigAsfWriter); @@ -5716,7 +5716,7 @@ impl IConfigAsfWriter2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StreamNumFromPin)(windows_core::Interface::as_raw(self), ppin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetParam(&self, dwparam: u32, dwparam1: u32, dwparam2: u32) -> windows_core::Result<()> { @@ -5741,7 +5741,7 @@ windows_core::imp::define_interface!(IConfigAviMux, IConfigAviMux_Vtbl, 0x5acd6a impl std::ops::Deref for IConfigAviMux { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConfigAviMux, windows_core::IUnknown); @@ -5750,7 +5750,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMasterStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputCompatibilityIndex(&self, foldindex: P0) -> windows_core::Result<()> @@ -5760,7 +5760,7 @@ impl IConfigAviMux { (windows_core::Interface::vtable(self).SetOutputCompatibilityIndex)(windows_core::Interface::as_raw(self), foldindex.param().abi()).ok() } pub unsafe fn GetOutputCompatibilityIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCompatibilityIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5776,7 +5776,7 @@ windows_core::imp::define_interface!(IConfigInterleaving, IConfigInterleaving_Vt impl std::ops::Deref for IConfigInterleaving { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConfigInterleaving, windows_core::IUnknown); @@ -5785,7 +5785,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Mode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn put_Interleaving(&self, prtinterleave: *const i64, prtpreroll: *const i64) -> windows_core::Result<()> { @@ -5807,7 +5807,7 @@ windows_core::imp::define_interface!(ICreateDevEnum, ICreateDevEnum_Vtbl, 0x2984 impl std::ops::Deref for ICreateDevEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateDevEnum, windows_core::IUnknown); @@ -5829,7 +5829,7 @@ windows_core::imp::define_interface!(IDDrawExclModeVideo, IDDrawExclModeVideo_Vt impl std::ops::Deref for IDDrawExclModeVideo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDDrawExclModeVideo, windows_core::IUnknown); @@ -5896,7 +5896,7 @@ windows_core::imp::define_interface!(IDDrawExclModeVideoCallback, IDDrawExclMode impl std::ops::Deref for IDDrawExclModeVideoCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDDrawExclModeVideoCallback, windows_core::IUnknown); @@ -5927,7 +5927,7 @@ windows_core::imp::define_interface!(IDMOWrapperFilter, IDMOWrapperFilter_Vtbl, impl std::ops::Deref for IDMOWrapperFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMOWrapperFilter, windows_core::IUnknown); @@ -5945,7 +5945,7 @@ windows_core::imp::define_interface!(IDShowPlugin, IDShowPlugin_Vtbl, 0x4746b7c8 impl std::ops::Deref for IDShowPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDShowPlugin, windows_core::IUnknown); @@ -5960,14 +5960,14 @@ impl IDShowPlugin { #[repr(C)] pub struct IDShowPlugin_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserAgent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserAgent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVEnc, IDVEnc_Vtbl, 0xd18e17a0_aacb_11d0_afb0_00aa00b67a42); impl std::ops::Deref for IDVEnc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVEnc, windows_core::IUnknown); @@ -5989,7 +5989,7 @@ windows_core::imp::define_interface!(IDVRGB219, IDVRGB219_Vtbl, 0x58473a19_2bc8_ impl std::ops::Deref for IDVRGB219 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVRGB219, windows_core::IUnknown); @@ -6010,7 +6010,7 @@ windows_core::imp::define_interface!(IDVSplitter, IDVSplitter_Vtbl, 0x92a3a302_d impl std::ops::Deref for IDVSplitter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDVSplitter, windows_core::IUnknown); @@ -6028,7 +6028,7 @@ windows_core::imp::define_interface!(IDecimateVideoImage, IDecimateVideoImage_Vt impl std::ops::Deref for IDecimateVideoImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDecimateVideoImage, windows_core::IUnknown); @@ -6050,7 +6050,7 @@ windows_core::imp::define_interface!(IDeferredCommand, IDeferredCommand_Vtbl, 0x impl std::ops::Deref for IDeferredCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDeferredCommand, windows_core::IUnknown); @@ -6059,14 +6059,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Confidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6082,7 +6082,7 @@ windows_core::imp::define_interface!(IDirectDrawMediaSample, IDirectDrawMediaSam impl std::ops::Deref for IDirectDrawMediaSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawMediaSample, windows_core::IUnknown); @@ -6108,14 +6108,14 @@ windows_core::imp::define_interface!(IDirectDrawMediaSampleAllocator, IDirectDra impl std::ops::Deref for IDirectDrawMediaSampleAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawMediaSampleAllocator, windows_core::IUnknown); impl IDirectDrawMediaSampleAllocator { #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetDirectDraw(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDirectDraw)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6131,7 +6131,7 @@ windows_core::imp::define_interface!(IDirectDrawMediaStream, IDirectDrawMediaStr impl std::ops::Deref for IDirectDrawMediaStream { type Target = IMediaStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawMediaStream, windows_core::IUnknown, IMediaStream); @@ -6149,7 +6149,7 @@ impl IDirectDrawMediaStream { } #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetDirectDraw(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDirectDraw)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -6164,11 +6164,11 @@ impl IDirectDrawMediaStream { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSample)(windows_core::Interface::as_raw(self), psurface.param().abi(), prect, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTimePerFrame(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimePerFrame)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6201,7 +6201,7 @@ windows_core::imp::define_interface!(IDirectDrawStreamSample, IDirectDrawStreamS impl std::ops::Deref for IDirectDrawStreamSample { type Target = IStreamSample; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawStreamSample, windows_core::IUnknown, IStreamSample); @@ -6227,13 +6227,13 @@ windows_core::imp::define_interface!(IDirectDrawVideo, IDirectDrawVideo_Vtbl, 0x impl std::ops::Deref for IDirectDrawVideo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectDrawVideo, windows_core::IUnknown); impl IDirectDrawVideo { pub unsafe fn GetSwitches(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSwitches)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSwitches(&self, switches: u32) -> windows_core::Result<()> { @@ -6263,11 +6263,11 @@ impl IDirectDrawVideo { } #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetDirectDraw(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDirectDraw)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSurfaceType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurfaceType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefault(&self) -> windows_core::Result<()> { @@ -6277,21 +6277,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanUseScanLine)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanUseOverlayStretch)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WillUseFullScreen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6334,7 +6334,7 @@ windows_core::imp::define_interface!(IDistributorNotify, IDistributorNotify_Vtbl impl std::ops::Deref for IDistributorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDistributorNotify, windows_core::IUnknown); @@ -6371,7 +6371,7 @@ windows_core::imp::define_interface!(IDrawVideoImage, IDrawVideoImage_Vtbl, 0x48 impl std::ops::Deref for IDrawVideoImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDrawVideoImage, windows_core::IUnknown); @@ -6404,7 +6404,7 @@ windows_core::imp::define_interface!(IDvdCmd, IDvdCmd_Vtbl, 0x5a4a97e4_94ee_4a55 impl std::ops::Deref for IDvdCmd { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvdCmd, windows_core::IUnknown); @@ -6426,7 +6426,7 @@ windows_core::imp::define_interface!(IDvdControl, IDvdControl_Vtbl, 0xa70efe61_e impl std::ops::Deref for IDvdControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvdControl, windows_core::IUnknown); @@ -6586,64 +6586,64 @@ windows_core::imp::define_interface!(IDvdControl2, IDvdControl2_Vtbl, 0x33bc7430 impl std::ops::Deref for IDvdControl2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvdControl2, windows_core::IUnknown); impl IDvdControl2 { pub unsafe fn PlayTitle(&self, ultitle: u32, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayTitle)(windows_core::Interface::as_raw(self), ultitle, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlayChapterInTitle(&self, ultitle: u32, ulchapter: u32, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayChapterInTitle)(windows_core::Interface::as_raw(self), ultitle, ulchapter, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlayAtTimeInTitle(&self, ultitle: u32, pstarttime: *const DVD_HMSF_TIMECODE, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayAtTimeInTitle)(windows_core::Interface::as_raw(self), ultitle, pstarttime, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Stop(&self) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReturnFromSubmenu)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlayAtTime(&self, ptime: *const DVD_HMSF_TIMECODE, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayAtTime)(windows_core::Interface::as_raw(self), ptime, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlayChapter(&self, ulchapter: u32, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayChapter)(windows_core::Interface::as_raw(self), ulchapter, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlayPrevChapter(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayPrevChapter)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReplayChapter(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReplayChapter)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlayNextChapter(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayNextChapter)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlayForwards(&self, dspeed: f64, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayForwards)(windows_core::Interface::as_raw(self), dspeed, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlayBackwards(&self, dspeed: f64, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayBackwards)(windows_core::Interface::as_raw(self), dspeed, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowMenu(&self, menuid: DVD_MENU_ID, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowMenu)(windows_core::Interface::as_raw(self), menuid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Resume(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Resume)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectRelativeButton(&self, buttondir: DVD_RELATIVE_BUTTON) -> windows_core::Result<()> { @@ -6668,22 +6668,22 @@ impl IDvdControl2 { (windows_core::Interface::vtable(self).Pause)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn SelectAudioStream(&self, ulaudio: u32, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectAudioStream)(windows_core::Interface::as_raw(self), ulaudio, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectSubpictureStream(&self, ulsubpicture: u32, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectSubpictureStream)(windows_core::Interface::as_raw(self), ulsubpicture, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubpictureState(&self, bstate: P0, dwflags: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetSubpictureState)(windows_core::Interface::as_raw(self), bstate.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectAngle(&self, ulangle: u32, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectAngle)(windows_core::Interface::as_raw(self), ulangle, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectParentalLevel(&self, ulparentallevel: u32) -> windows_core::Result<()> { @@ -6711,7 +6711,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayChaptersAutoStop)(windows_core::Interface::as_raw(self), ultitle, ulchapter, ulchapterstoplay, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AcceptParentalLevelChange(&self, baccept: P0) -> windows_core::Result<()> @@ -6730,15 +6730,15 @@ impl IDvdControl2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetState)(windows_core::Interface::as_raw(self), pstate.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlayPeriodInTitleAutoStop(&self, ultitle: u32, pstarttime: *const DVD_HMSF_TIMECODE, pendtime: *const DVD_HMSF_TIMECODE, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlayPeriodInTitleAutoStop)(windows_core::Interface::as_raw(self), ultitle, pstarttime, pendtime, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetGPRM(&self, ulindex: u32, wvalue: u16, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetGPRM)(windows_core::Interface::as_raw(self), ulindex, wvalue, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectDefaultMenuLanguage(&self, language: u32) -> windows_core::Result<()> { @@ -6799,13 +6799,13 @@ windows_core::imp::define_interface!(IDvdGraphBuilder, IDvdGraphBuilder_Vtbl, 0x impl std::ops::Deref for IDvdGraphBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvdGraphBuilder, windows_core::IUnknown); impl IDvdGraphBuilder { pub unsafe fn GetFiltergraph(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFiltergraph)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDvdInterface(&self, riid: *const windows_core::GUID, ppvif: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -6829,21 +6829,21 @@ windows_core::imp::define_interface!(IDvdInfo, IDvdInfo_Vtbl, 0xa70efe60_e2a3_11 impl std::ops::Deref for IDvdInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvdInfo, windows_core::IUnknown); impl IDvdInfo { pub unsafe fn GetCurrentDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentDomain)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentLocation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTotalTitleTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTotalTitleTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentButton(&self, pulbuttonsavailable: *mut u32, pulcurrentbutton: *mut u32) -> windows_core::Result<()> { @@ -6859,23 +6859,23 @@ impl IDvdInfo { (windows_core::Interface::vtable(self).GetCurrentSubpicture)(windows_core::Interface::as_raw(self), pulstreamsavailable, pulcurrentstream, pisdisabled).ok() } pub unsafe fn GetCurrentUOPS(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentUOPS)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAllSPRMs(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllSPRMs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAllGPRMs(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllGPRMs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAudioLanguage(&self, ulstream: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioLanguage)(windows_core::Interface::as_raw(self), ulstream, &mut result__).map(|| result__) } pub unsafe fn GetSubpictureLanguage(&self, ulstream: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubpictureLanguage)(windows_core::Interface::as_raw(self), ulstream, &mut result__).map(|| result__) } pub unsafe fn GetTitleAttributes(&self, ultitle: u32, patr: *mut DVD_ATR) -> windows_core::Result<()> { @@ -6885,15 +6885,15 @@ impl IDvdInfo { (windows_core::Interface::vtable(self).GetVMGAttributes)(windows_core::Interface::as_raw(self), patr).ok() } pub unsafe fn GetCurrentVideoAttributes(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentVideoAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentAudioAttributes(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentAudioAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentSubpictureAttributes(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSubpictureAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentVolumeInfo(&self, pulnumofvol: *mut u32, pulthisvolnum: *mut u32, pside: *mut DVD_DISC_SIDE, pulnumoftitles: *mut u32) -> windows_core::Result<()> { @@ -6906,11 +6906,11 @@ impl IDvdInfo { (windows_core::Interface::vtable(self).GetPlayerParentalLevel)(windows_core::Interface::as_raw(self), pulparentallevel, pulcountrycode).ok() } pub unsafe fn GetNumberOfChapters(&self, ultitle: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfChapters)(windows_core::Interface::as_raw(self), ultitle, &mut result__).map(|| result__) } pub unsafe fn GetTitleParentalLevels(&self, ultitle: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTitleParentalLevels)(windows_core::Interface::as_raw(self), ultitle, &mut result__).map(|| result__) } pub unsafe fn GetRoot(&self, proot: &mut [u8], pulactualsize: *mut u32) -> windows_core::Result<()> { @@ -6948,17 +6948,17 @@ windows_core::imp::define_interface!(IDvdInfo2, IDvdInfo2_Vtbl, 0x34151510_eec0_ impl std::ops::Deref for IDvdInfo2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvdInfo2, windows_core::IUnknown); impl IDvdInfo2 { pub unsafe fn GetCurrentDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentDomain)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentLocation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTotalTitleTime(&self, ptotaltime: *mut DVD_HMSF_TIMECODE, ultimecodeflags: *mut u32) -> windows_core::Result<()> { @@ -6977,23 +6977,23 @@ impl IDvdInfo2 { (windows_core::Interface::vtable(self).GetCurrentSubpicture)(windows_core::Interface::as_raw(self), pulstreamsavailable, pulcurrentstream, pbisdisabled).ok() } pub unsafe fn GetCurrentUOPS(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentUOPS)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAllSPRMs(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllSPRMs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAllGPRMs(&self) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllGPRMs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAudioLanguage(&self, ulstream: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioLanguage)(windows_core::Interface::as_raw(self), ulstream, &mut result__).map(|| result__) } pub unsafe fn GetSubpictureLanguage(&self, ulstream: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubpictureLanguage)(windows_core::Interface::as_raw(self), ulstream, &mut result__).map(|| result__) } pub unsafe fn GetTitleAttributes(&self, ultitle: u32, pmenu: *mut DVD_MenuAttributes, ptitle: *mut DVD_TitleAttributes) -> windows_core::Result<()> { @@ -7012,14 +7012,14 @@ impl IDvdInfo2 { (windows_core::Interface::vtable(self).GetKaraokeAttributes)(windows_core::Interface::as_raw(self), ulstream, pattributes).ok() } pub unsafe fn GetSubpictureAttributes(&self, ulstream: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubpictureAttributes)(windows_core::Interface::as_raw(self), ulstream, &mut result__).map(|| 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), pulnumofvolumes, pulvolume, pside, pulnumoftitles).ok() } pub unsafe fn GetDVDTextNumberOfLanguages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDVDTextNumberOfLanguages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDVDTextLanguageInfo(&self, ullangindex: u32, pulnumofstrings: *mut u32, plangcode: *mut u32, pbcharacterset: *mut DVD_TextCharSet) -> windows_core::Result<()> { @@ -7035,44 +7035,44 @@ impl IDvdInfo2 { (windows_core::Interface::vtable(self).GetPlayerParentalLevel)(windows_core::Interface::as_raw(self), pulparentallevel, core::mem::transmute(pbcountrycode.as_ptr())).ok() } pub unsafe fn GetNumberOfChapters(&self, ultitle: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfChapters)(windows_core::Interface::as_raw(self), ultitle, &mut result__).map(|| result__) } pub unsafe fn GetTitleParentalLevels(&self, ultitle: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTitleParentalLevels)(windows_core::Interface::as_raw(self), ultitle, &mut result__).map(|| result__) } pub unsafe fn GetDVDDirectory(&self, pszwpath: &mut [u16], pulactualsize: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetDVDDirectory)(windows_core::Interface::as_raw(self), core::mem::transmute(pszwpath.as_ptr()), pszwpath.len().try_into().unwrap(), pulactualsize).ok() } pub unsafe fn IsAudioStreamEnabled(&self, ulstreamnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAudioStreamEnabled)(windows_core::Interface::as_raw(self), ulstreamnum, &mut result__).map(|| result__) } pub unsafe fn GetDiscID(&self, pszwpath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDiscID)(windows_core::Interface::as_raw(self), pszwpath.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMenuLanguages(&self, planguages: *mut u32, ulmaxlanguages: u32, pulactuallanguages: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetMenuLanguages)(windows_core::Interface::as_raw(self), planguages, ulmaxlanguages, pulactuallanguages).ok() } pub unsafe fn GetButtonAtPosition(&self, point: super::super::Foundation::POINT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetButtonAtPosition)(windows_core::Interface::as_raw(self), core::mem::transmute(point), &mut result__).map(|| result__) } pub unsafe fn GetCmdFromEvent(&self, lparam1: isize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCmdFromEvent)(windows_core::Interface::as_raw(self), lparam1, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultMenuLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultMenuLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDefaultAudioLanguage(&self, planguage: *mut u32, paudioextension: *mut DVD_AUDIO_LANG_EXT) -> windows_core::Result<()> { @@ -7085,11 +7085,11 @@ impl IDvdInfo2 { (windows_core::Interface::vtable(self).GetDecoderCaps)(windows_core::Interface::as_raw(self), pcaps).ok() } pub unsafe fn GetButtonRect(&self, ulbutton: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetButtonRect)(windows_core::Interface::as_raw(self), ulbutton, &mut result__).map(|| result__) } pub unsafe fn IsSubpictureStreamEnabled(&self, ulstreamnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSubpictureStreamEnabled)(windows_core::Interface::as_raw(self), ulstreamnum, &mut result__).map(|| result__) } } @@ -7140,17 +7140,17 @@ windows_core::imp::define_interface!(IDvdState, IDvdState_Vtbl, 0x86303d6d_1c4a_ impl std::ops::Deref for IDvdState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDvdState, windows_core::IUnknown); impl IDvdState { pub unsafe fn GetDiscID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDiscID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetParentalLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentalLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7164,17 +7164,17 @@ windows_core::imp::define_interface!(IESEvent, IESEvent_Vtbl, 0x1f0e5357_af43_44 impl std::ops::Deref for IESEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESEvent, windows_core::IUnknown); impl IESEvent { pub unsafe fn GetEventId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCompletionStatus(&self, dwresult: u32) -> windows_core::Result<()> { @@ -7182,11 +7182,11 @@ impl IESEvent { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetData(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStringData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7200,13 +7200,13 @@ pub struct IESEvent_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetData: usize, - pub GetStringData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESEvents, IESEvents_Vtbl, 0xabd414bf_cfe5_4e5e_af5b_4b4e49c5bfeb); impl std::ops::Deref for IESEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IESEvents, windows_core::IUnknown); @@ -7227,7 +7227,7 @@ windows_core::imp::define_interface!(IEncoderAPI, IEncoderAPI_Vtbl, 0x70423839_6 impl std::ops::Deref for IEncoderAPI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEncoderAPI, windows_core::IUnknown); @@ -7245,11 +7245,11 @@ impl IEncoderAPI { (windows_core::Interface::vtable(self).GetParameterValues)(windows_core::Interface::as_raw(self), api, values, valuescount).ok() } pub unsafe fn GetDefaultValue(&self, api: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultValue)(windows_core::Interface::as_raw(self), api, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetValue(&self, api: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), api, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, api: *const windows_core::GUID, value: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -7261,17 +7261,17 @@ pub struct IEncoderAPI_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub IsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, - pub GetParameterRange: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetParameterRange: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetParameterValues: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut windows_core::VARIANT, *mut u32) -> windows_core::HRESULT, - pub GetDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumFilters, IEnumFilters_Vtbl, 0x56a86893_0ad4_11ce_b03a_0020af0ba770); impl std::ops::Deref for IEnumFilters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumFilters, windows_core::IUnknown); @@ -7287,7 +7287,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7306,7 +7306,7 @@ windows_core::imp::define_interface!(IEnumMediaTypes, IEnumMediaTypes_Vtbl, 0x89 impl std::ops::Deref for IEnumMediaTypes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumMediaTypes, windows_core::IUnknown); @@ -7322,7 +7322,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7341,7 +7341,7 @@ windows_core::imp::define_interface!(IEnumPIDMap, IEnumPIDMap_Vtbl, 0xafb6c2a2_2 impl std::ops::Deref for IEnumPIDMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumPIDMap, windows_core::IUnknown); @@ -7356,7 +7356,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7372,7 +7372,7 @@ windows_core::imp::define_interface!(IEnumPins, IEnumPins_Vtbl, 0x56a86892_0ad4_ impl std::ops::Deref for IEnumPins { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumPins, windows_core::IUnknown); @@ -7387,7 +7387,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7403,7 +7403,7 @@ windows_core::imp::define_interface!(IEnumRegFilters, IEnumRegFilters_Vtbl, 0x56 impl std::ops::Deref for IEnumRegFilters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumRegFilters, windows_core::IUnknown); @@ -7418,7 +7418,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7434,7 +7434,7 @@ windows_core::imp::define_interface!(IEnumStreamIdMap, IEnumStreamIdMap_Vtbl, 0x impl std::ops::Deref for IEnumStreamIdMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumStreamIdMap, windows_core::IUnknown); @@ -7449,7 +7449,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7465,7 +7465,7 @@ windows_core::imp::define_interface!(IFileSinkFilter, IFileSinkFilter_Vtbl, 0xa2 impl std::ops::Deref for IFileSinkFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileSinkFilter, windows_core::IUnknown); @@ -7498,7 +7498,7 @@ windows_core::imp::define_interface!(IFileSinkFilter2, IFileSinkFilter2_Vtbl, 0x impl std::ops::Deref for IFileSinkFilter2 { type Target = IFileSinkFilter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileSinkFilter2, windows_core::IUnknown, IFileSinkFilter); @@ -7507,7 +7507,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7521,7 +7521,7 @@ windows_core::imp::define_interface!(IFileSourceFilter, IFileSourceFilter_Vtbl, impl std::ops::Deref for IFileSourceFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileSourceFilter, windows_core::IUnknown); @@ -7554,7 +7554,7 @@ windows_core::imp::define_interface!(IFilterChain, IFilterChain_Vtbl, 0xdcfbdcf6 impl std::ops::Deref for IFilterChain { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterChain, windows_core::IUnknown); @@ -7616,7 +7616,7 @@ windows_core::imp::define_interface!(IFilterGraph, IFilterGraph_Vtbl, 0x56a8689f impl std::ops::Deref for IFilterGraph { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterGraph, windows_core::IUnknown); @@ -7637,7 +7637,7 @@ impl IFilterGraph { (windows_core::Interface::vtable(self).RemoveFilter)(windows_core::Interface::as_raw(self), pfilter.param().abi()).ok() } pub unsafe fn EnumFilters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFilters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7645,7 +7645,7 @@ impl IFilterGraph { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFilterByName)(windows_core::Interface::as_raw(self), pname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -7700,7 +7700,7 @@ windows_core::imp::define_interface!(IFilterGraph2, IFilterGraph2_Vtbl, 0x36b738 impl std::ops::Deref for IFilterGraph2 { type Target = IGraphBuilder; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterGraph2, windows_core::IUnknown, IFilterGraph, IGraphBuilder); @@ -7712,7 +7712,7 @@ impl IFilterGraph2 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddSourceFilterForMoniker)(windows_core::Interface::as_raw(self), pmoniker.param().abi(), pctx.param().abi(), lpcwstrfiltername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -7746,7 +7746,7 @@ windows_core::imp::define_interface!(IFilterGraph3, IFilterGraph3_Vtbl, 0xaaf381 impl std::ops::Deref for IFilterGraph3 { type Target = IFilterGraph2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterGraph3, windows_core::IUnknown, IFilterGraph, IGraphBuilder, IFilterGraph2); @@ -7775,7 +7775,7 @@ windows_core::imp::define_interface!(IFilterInfo, IFilterInfo_Vtbl, 0x56a868ba_0 impl std::ops::Deref for IFilterInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7787,32 +7787,32 @@ impl IFilterInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindPin)(windows_core::Interface::as_raw(self), strpinid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VendorInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VendorInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Filter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Filter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Pins(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pins)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsFileSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFileSource)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Filename(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Filename)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFilename(&self, strfilename: P0) -> windows_core::Result<()> @@ -7827,25 +7827,25 @@ impl IFilterInfo { pub struct IFilterInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub FindPin: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindPin: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FindPin: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VendorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VendorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Pins: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Pins: usize, pub IsFileSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Filename: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFilename: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Filename: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFilename: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterMapper, IFilterMapper_Vtbl, 0x56a868a3_0ad4_11ce_b03a_0020af0ba770); impl std::ops::Deref for IFilterMapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterMapper, windows_core::IUnknown); @@ -7860,7 +7860,7 @@ impl IFilterMapper { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterFilterInstance)(windows_core::Interface::as_raw(self), core::mem::transmute(clsid), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RegisterPin(&self, filter: windows_core::GUID, name: P0, brendered: P1, boutput: P2, bzero: P3, bmany: P4, connectstofilter: windows_core::GUID, connectstopin: P5) -> windows_core::Result<()> @@ -7917,7 +7917,7 @@ windows_core::imp::define_interface!(IFilterMapper2, IFilterMapper2_Vtbl, 0xb79b impl std::ops::Deref for IFilterMapper2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterMapper2, windows_core::IUnknown); @@ -7989,13 +7989,13 @@ windows_core::imp::define_interface!(IFilterMapper3, IFilterMapper3_Vtbl, 0xb79b impl std::ops::Deref for IFilterMapper3 { type Target = IFilterMapper2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterMapper3, windows_core::IUnknown, IFilterMapper2); impl IFilterMapper3 { pub unsafe fn GetICreateDevEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetICreateDevEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8008,7 +8008,7 @@ windows_core::imp::define_interface!(IFrequencyMap, IFrequencyMap_Vtbl, 0x06fb45 impl std::ops::Deref for IFrequencyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFrequencyMap, windows_core::IUnknown); @@ -8020,7 +8020,7 @@ impl IFrequencyMap { (windows_core::Interface::vtable(self).put_FrequencyMapping)(windows_core::Interface::as_raw(self), plist.len().try_into().unwrap(), core::mem::transmute(plist.as_ptr())).ok() } pub unsafe fn CountryCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountryCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCountryCode(&self, ulcountrycode: u32) -> windows_core::Result<()> { @@ -8047,20 +8047,20 @@ windows_core::imp::define_interface!(IFullScreenVideo, IFullScreenVideo_Vtbl, 0x impl std::ops::Deref for IFullScreenVideo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFullScreenVideo, windows_core::IUnknown); impl IFullScreenVideo { pub unsafe fn CountModes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountModes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, pwidth, pheight, pdepth).ok() } pub unsafe fn GetCurrentMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsModeAvailable(&self, mode: i32) -> windows_core::Result<()> { @@ -8073,7 +8073,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipFactor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClipFactor(&self, clipfactor: i32) -> windows_core::Result<()> { @@ -8086,14 +8086,14 @@ impl IFullScreenVideo { (windows_core::Interface::vtable(self).SetMessageDrain)(windows_core::Interface::as_raw(self), hwnd.param().abi()).ok() } pub unsafe fn GetMessageDrain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessageDrain)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMonitor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HideOnDeactivate(&self, hide: i32) -> windows_core::Result<()> { @@ -8109,7 +8109,7 @@ impl IFullScreenVideo { (windows_core::Interface::vtable(self).SetCaption)(windows_core::Interface::as_raw(self), strcaption.param().abi()).ok() } pub unsafe fn GetCaption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaption)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefault(&self) -> windows_core::Result<()> { @@ -8133,15 +8133,15 @@ pub struct IFullScreenVideo_Vtbl { pub GetMonitor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub HideOnDeactivate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsHideOnDeactivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetDefault: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFullScreenVideoEx, IFullScreenVideoEx_Vtbl, 0x53479470_f1dd_11cf_bc42_00aa00ac74f6); impl std::ops::Deref for IFullScreenVideoEx { type Target = IFullScreenVideo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFullScreenVideoEx, windows_core::IUnknown, IFullScreenVideo); @@ -8162,7 +8162,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsKeepPixelAspectRatio)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8184,14 +8184,14 @@ windows_core::imp::define_interface!(IGetCapabilitiesKey, IGetCapabilitiesKey_Vt impl std::ops::Deref for IGetCapabilitiesKey { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetCapabilitiesKey, windows_core::IUnknown); impl IGetCapabilitiesKey { #[cfg(feature = "Win32_System_Registry")] pub unsafe fn GetCapabilitiesKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilitiesKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8207,7 +8207,7 @@ windows_core::imp::define_interface!(IGraphBuilder, IGraphBuilder_Vtbl, 0x56a868 impl std::ops::Deref for IGraphBuilder { type Target = IFilterGraph; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGraphBuilder, windows_core::IUnknown, IFilterGraph); @@ -8238,7 +8238,7 @@ impl IGraphBuilder { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddSourceFilter)(windows_core::Interface::as_raw(self), lpcwstrfilename.param().abi(), lpcwstrfiltername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLogFile(&self, hfile: usize) -> windows_core::Result<()> { @@ -8269,7 +8269,7 @@ windows_core::imp::define_interface!(IGraphConfig, IGraphConfig_Vtbl, 0x03a1eb8e impl std::ops::Deref for IGraphConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGraphConfig, windows_core::IUnknown); @@ -8299,7 +8299,7 @@ impl IGraphConfig { (windows_core::Interface::vtable(self).AddFilterToCache)(windows_core::Interface::as_raw(self), pfilter.param().abi()).ok() } pub unsafe fn EnumCacheFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCacheFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8310,7 +8310,7 @@ impl IGraphConfig { (windows_core::Interface::vtable(self).RemoveFilterFromCache)(windows_core::Interface::as_raw(self), pfilter.param().abi()).ok() } pub unsafe fn GetStartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PushThroughData(&self, poutputpin: P0, pconnection: P1, heventabort: P2) -> windows_core::Result<()> @@ -8333,7 +8333,7 @@ impl IGraphConfig { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterFlags)(windows_core::Interface::as_raw(self), pfilter.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -8380,7 +8380,7 @@ windows_core::imp::define_interface!(IGraphConfigCallback, IGraphConfigCallback_ impl std::ops::Deref for IGraphConfigCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGraphConfigCallback, windows_core::IUnknown); @@ -8398,13 +8398,13 @@ windows_core::imp::define_interface!(IGraphVersion, IGraphVersion_Vtbl, 0x56a868 impl std::ops::Deref for IGraphVersion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGraphVersion, windows_core::IUnknown); impl IGraphVersion { pub unsafe fn QueryVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8417,13 +8417,13 @@ windows_core::imp::define_interface!(IIPDVDec, IIPDVDec_Vtbl, 0xb8e8bd60_0bfe_11 impl std::ops::Deref for IIPDVDec { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIPDVDec, windows_core::IUnknown); impl IIPDVDec { pub unsafe fn IPDisplay(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IPDisplay)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIPDisplay(&self, displaypix: i32) -> windows_core::Result<()> { @@ -8440,7 +8440,7 @@ windows_core::imp::define_interface!(IMPEG2PIDMap, IMPEG2PIDMap_Vtbl, 0xafb6c2a1 impl std::ops::Deref for IMPEG2PIDMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMPEG2PIDMap, windows_core::IUnknown); @@ -8452,7 +8452,7 @@ impl IMPEG2PIDMap { (windows_core::Interface::vtable(self).UnmapPID)(windows_core::Interface::as_raw(self), culpid, pulpid).ok() } pub unsafe fn EnumPIDMap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumPIDMap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8467,7 +8467,7 @@ windows_core::imp::define_interface!(IMPEG2StreamIdMap, IMPEG2StreamIdMap_Vtbl, impl std::ops::Deref for IMPEG2StreamIdMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMPEG2StreamIdMap, windows_core::IUnknown); @@ -8479,7 +8479,7 @@ impl IMPEG2StreamIdMap { (windows_core::Interface::vtable(self).UnmapStreamId)(windows_core::Interface::as_raw(self), pulstreamid.len().try_into().unwrap(), core::mem::transmute(pulstreamid.as_ptr())).ok() } pub unsafe fn EnumStreamIdMap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStreamIdMap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8496,7 +8496,7 @@ windows_core::imp::define_interface!(IMediaControl, IMediaControl_Vtbl, 0x56a868 impl std::ops::Deref for IMediaControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8513,7 +8513,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), mstimeout, &mut result__).map(|| result__) } pub unsafe fn RenderFile(&self, strfilename: P0) -> windows_core::Result<()> @@ -8527,17 +8527,17 @@ impl IMediaControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddSourceFilter)(windows_core::Interface::as_raw(self), strfilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilterCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FilterCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RegFilterCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegFilterCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StopWhenReady(&self) -> windows_core::Result<()> { @@ -8552,9 +8552,9 @@ pub struct IMediaControl_Vtbl { pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, - pub RenderFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RenderFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub AddSourceFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddSourceFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddSourceFilter: usize, #[cfg(feature = "Win32_System_Com")] @@ -8573,7 +8573,7 @@ windows_core::imp::define_interface!(IMediaEvent, IMediaEvent_Vtbl, 0x56a868b6_0 impl std::ops::Deref for IMediaEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8581,14 +8581,14 @@ windows_core::imp::interface_hierarchy!(IMediaEvent, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IMediaEvent { pub unsafe fn GetEventHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), leventcode, lparam1, lparam2, mstimeout).ok() } pub unsafe fn WaitForCompletion(&self, mstimeout: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitForCompletion)(windows_core::Interface::as_raw(self), mstimeout, &mut result__).map(|| result__) } pub unsafe fn CancelDefaultHandling(&self, levcode: i32) -> windows_core::Result<()> { @@ -8618,7 +8618,7 @@ windows_core::imp::define_interface!(IMediaEventEx, IMediaEventEx_Vtbl, 0x56a868 impl std::ops::Deref for IMediaEventEx { type Target = IMediaEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8632,7 +8632,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8648,7 +8648,7 @@ windows_core::imp::define_interface!(IMediaEventSink, IMediaEventSink_Vtbl, 0x56 impl std::ops::Deref for IMediaEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaEventSink, windows_core::IUnknown); @@ -8668,7 +8668,7 @@ windows_core::imp::define_interface!(IMediaFilter, IMediaFilter_Vtbl, 0x56a86899 impl std::ops::Deref for IMediaFilter { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8685,7 +8685,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), dwmillisecstimeout, &mut result__).map(|| result__) } pub unsafe fn SetSyncSource(&self, pclock: P0) -> windows_core::Result<()> @@ -8695,7 +8695,7 @@ impl IMediaFilter { (windows_core::Interface::vtable(self).SetSyncSource)(windows_core::Interface::as_raw(self), pclock.param().abi()).ok() } pub unsafe fn GetSyncSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8714,28 +8714,28 @@ windows_core::imp::define_interface!(IMediaParamInfo, IMediaParamInfo_Vtbl, 0x6d impl std::ops::Deref for IMediaParamInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaParamInfo, windows_core::IUnknown); impl IMediaParamInfo { pub unsafe fn GetParamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetParamInfo(&self, dwparamindex: u32, pinfo: *mut MP_PARAMINFO) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetParamInfo)(windows_core::Interface::as_raw(self), dwparamindex, pinfo).ok() } pub unsafe fn GetParamText(&self, dwparamindex: u32) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParamText)(windows_core::Interface::as_raw(self), dwparamindex, &mut result__).map(|| result__) } pub unsafe fn GetNumTimeFormats(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumTimeFormats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedTimeFormat(&self, dwformatindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedTimeFormat)(windows_core::Interface::as_raw(self), dwformatindex, &mut result__).map(|| result__) } pub unsafe fn GetCurrentTimeFormat(&self, pguidtimeformat: *mut windows_core::GUID, ptimedata: *mut u32) -> windows_core::Result<()> { @@ -8756,13 +8756,13 @@ windows_core::imp::define_interface!(IMediaParams, IMediaParams_Vtbl, 0x6d6cbb61 impl std::ops::Deref for IMediaParams { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaParams, windows_core::IUnknown); impl IMediaParams { pub unsafe fn GetParam(&self, dwparamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParam)(windows_core::Interface::as_raw(self), dwparamindex, &mut result__).map(|| result__) } pub unsafe fn SetParam(&self, dwparamindex: u32, value: f32) -> windows_core::Result<()> { @@ -8793,7 +8793,7 @@ windows_core::imp::define_interface!(IMediaPosition, IMediaPosition_Vtbl, 0x56a8 impl std::ops::Deref for IMediaPosition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8801,25 +8801,25 @@ windows_core::imp::interface_hierarchy!(IMediaPosition, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMediaPosition { pub unsafe fn Duration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Duration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StopTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StopTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrerollTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPrerollTime(&self, lltime: f64) -> windows_core::Result<()> { @@ -8829,15 +8829,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanSeekForward(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanSeekForward)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanSeekBackward(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanSeekBackward)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8863,7 +8863,7 @@ windows_core::imp::define_interface!(IMediaPropertyBag, IMediaPropertyBag_Vtbl, impl std::ops::Deref for IMediaPropertyBag { type Target = super::super::System::Com::StructuredStorage::IPropertyBag; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -8878,19 +8878,19 @@ impl IMediaPropertyBag { #[repr(C)] pub struct IMediaPropertyBag_Vtbl { pub base__: super::super::System::Com::StructuredStorage::IPropertyBag_Vtbl, - pub EnumProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaSample, IMediaSample_Vtbl, 0x56a8689a_0ad4_11ce_b03a_0020af0ba770); impl std::ops::Deref for IMediaSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaSample, windows_core::IUnknown); impl IMediaSample { pub unsafe fn GetPointer(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPointer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSize(&self) -> i32 { @@ -8928,7 +8928,7 @@ impl IMediaSample { } #[cfg(feature = "Win32_Media_MediaFoundation")] pub unsafe fn GetMediaType(&self) -> windows_core::Result<*mut super::MediaFoundation::AM_MEDIA_TYPE> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -8981,7 +8981,7 @@ windows_core::imp::define_interface!(IMediaSample2, IMediaSample2_Vtbl, 0x36b738 impl std::ops::Deref for IMediaSample2 { type Target = IMediaSample; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaSample2, windows_core::IUnknown, IMediaSample); @@ -9003,13 +9003,13 @@ windows_core::imp::define_interface!(IMediaSample2Config, IMediaSample2Config_Vt impl std::ops::Deref for IMediaSample2Config { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaSample2Config, windows_core::IUnknown); impl IMediaSample2Config { pub unsafe fn GetSurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9022,13 +9022,13 @@ windows_core::imp::define_interface!(IMediaSeeking, IMediaSeeking_Vtbl, 0x36b738 impl std::ops::Deref for IMediaSeeking { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaSeeking, windows_core::IUnknown); impl IMediaSeeking { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CheckCapabilities(&self, pcapabilities: *mut u32) -> windows_core::Result<()> { @@ -9038,11 +9038,11 @@ impl IMediaSeeking { (windows_core::Interface::vtable(self).IsFormatSupported)(windows_core::Interface::as_raw(self), pformat).ok() } pub unsafe fn QueryPreferredFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryPreferredFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTimeFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimeFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsUsingTimeFormat(&self, pformat: *const windows_core::GUID) -> windows_core::Result<()> { @@ -9052,15 +9052,15 @@ impl IMediaSeeking { (windows_core::Interface::vtable(self).SetTimeFormat)(windows_core::Interface::as_raw(self), pformat).ok() } pub unsafe fn GetDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStopPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStopPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ConvertTimeFormat(&self, ptarget: *mut i64, ptargetformat: Option<*const windows_core::GUID>, source: i64, psourceformat: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -9079,11 +9079,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPreroll(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreroll)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9112,13 +9112,13 @@ windows_core::imp::define_interface!(IMediaStream, IMediaStream_Vtbl, 0xb502d1bd impl std::ops::Deref for IMediaStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaStream, windows_core::IUnknown); impl IMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMultiMediaStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInformation(&self, ppurposeid: *mut windows_core::GUID, ptype: *mut STREAM_TYPE) -> windows_core::Result<()> { @@ -9131,14 +9131,14 @@ impl IMediaStream { (windows_core::Interface::vtable(self).SetSameFormat)(windows_core::Interface::as_raw(self), pstreamthathasdesiredformat.param().abi(), dwflags).ok() } pub unsafe fn AllocateSample(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocateSample)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSharedSample(&self, pexistingsample: P0, dwflags: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSharedSample)(windows_core::Interface::as_raw(self), pexistingsample.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SendEndOfStream(&self, dwflags: u32) -> windows_core::Result<()> { @@ -9161,7 +9161,7 @@ windows_core::imp::define_interface!(IMediaStreamFilter, IMediaStreamFilter_Vtbl impl std::ops::Deref for IMediaStreamFilter { type Target = IBaseFilter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9175,11 +9175,11 @@ impl IMediaStreamFilter { (windows_core::Interface::vtable(self).AddMediaStream)(windows_core::Interface::as_raw(self), pammediastream.param().abi()).ok() } pub unsafe fn GetMediaStream(&self, idpurpose: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaStream)(windows_core::Interface::as_raw(self), idpurpose, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumMediaStreams(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumMediaStreams)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportSeeking(&self, brenderer: P0) -> windows_core::Result<()> @@ -9192,7 +9192,7 @@ impl IMediaStreamFilter { (windows_core::Interface::vtable(self).ReferenceTimeToStreamTime)(windows_core::Interface::as_raw(self), ptime).ok() } pub unsafe fn GetCurrentStreamTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentStreamTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WaitUntil(&self, waitstreamtime: i64) -> windows_core::Result<()> { @@ -9228,7 +9228,7 @@ windows_core::imp::define_interface!(IMediaTypeInfo, IMediaTypeInfo_Vtbl, 0x56a8 impl std::ops::Deref for IMediaTypeInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9236,11 +9236,11 @@ windows_core::imp::interface_hierarchy!(IMediaTypeInfo, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMediaTypeInfo { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Subtype(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subtype)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9248,24 +9248,24 @@ impl IMediaTypeInfo { #[repr(C)] pub struct IMediaTypeInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMemAllocator, IMemAllocator_Vtbl, 0x56a8689c_0ad4_11ce_b03a_0020af0ba770); impl std::ops::Deref for IMemAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMemAllocator, windows_core::IUnknown); impl IMemAllocator { pub unsafe fn SetProperties(&self, prequest: *const ALLOCATOR_PROPERTIES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetProperties)(windows_core::Interface::as_raw(self), prequest, &mut result__).map(|| result__) } pub unsafe fn GetProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -9298,7 +9298,7 @@ windows_core::imp::define_interface!(IMemAllocatorCallbackTemp, IMemAllocatorCal impl std::ops::Deref for IMemAllocatorCallbackTemp { type Target = IMemAllocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMemAllocatorCallbackTemp, windows_core::IUnknown, IMemAllocator); @@ -9310,7 +9310,7 @@ impl IMemAllocatorCallbackTemp { (windows_core::Interface::vtable(self).SetNotify)(windows_core::Interface::as_raw(self), pnotify.param().abi()).ok() } pub unsafe fn GetFreeCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFreeCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9324,7 +9324,7 @@ windows_core::imp::define_interface!(IMemAllocatorNotifyCallbackTemp, IMemAlloca impl std::ops::Deref for IMemAllocatorNotifyCallbackTemp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMemAllocatorNotifyCallbackTemp, windows_core::IUnknown); @@ -9342,13 +9342,13 @@ windows_core::imp::define_interface!(IMemInputPin, IMemInputPin_Vtbl, 0x56a8689d impl std::ops::Deref for IMemInputPin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMemInputPin, windows_core::IUnknown); impl IMemInputPin { pub unsafe fn GetAllocator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NotifyAllocator(&self, pallocator: P0, breadonly: P1) -> windows_core::Result<()> @@ -9359,7 +9359,7 @@ impl IMemInputPin { (windows_core::Interface::vtable(self).NotifyAllocator)(windows_core::Interface::as_raw(self), pallocator.param().abi(), breadonly.param().abi()).ok() } pub unsafe fn GetAllocatorRequirements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocatorRequirements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Receive(&self, psample: P0) -> windows_core::Result<()> @@ -9369,7 +9369,7 @@ impl IMemInputPin { (windows_core::Interface::vtable(self).Receive)(windows_core::Interface::as_raw(self), psample.param().abi()).ok() } pub unsafe fn ReceiveMultiple(&self, psamples: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveMultiple)(windows_core::Interface::as_raw(self), core::mem::transmute(psamples.as_ptr()), psamples.len().try_into().unwrap(), &mut result__).map(|| result__) } pub unsafe fn ReceiveCanBlock(&self) -> windows_core::Result<()> { @@ -9390,7 +9390,7 @@ windows_core::imp::define_interface!(IMemoryData, IMemoryData_Vtbl, 0x327fc560_a impl std::ops::Deref for IMemoryData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMemoryData, windows_core::IUnknown); @@ -9416,7 +9416,7 @@ windows_core::imp::define_interface!(IMixerOCX, IMixerOCX_Vtbl, 0x81a3bd32_dee1_ impl std::ops::Deref for IMixerOCX { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMixerOCX, windows_core::IUnknown); @@ -9431,7 +9431,7 @@ impl IMixerOCX { (windows_core::Interface::vtable(self).GetVideoSize)(windows_core::Interface::as_raw(self), pdwvideowidth, pdwvideoheight).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result<*mut u32> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -9473,7 +9473,7 @@ windows_core::imp::define_interface!(IMixerOCXNotify, IMixerOCXNotify_Vtbl, 0x81 impl std::ops::Deref for IMixerOCXNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMixerOCXNotify, windows_core::IUnknown); @@ -9499,7 +9499,7 @@ windows_core::imp::define_interface!(IMixerPinConfig, IMixerPinConfig_Vtbl, 0x59 impl std::ops::Deref for IMixerPinConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMixerPinConfig, windows_core::IUnknown); @@ -9564,7 +9564,7 @@ windows_core::imp::define_interface!(IMixerPinConfig2, IMixerPinConfig2_Vtbl, 0x impl std::ops::Deref for IMixerPinConfig2 { type Target = IMixerPinConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMixerPinConfig2, windows_core::IUnknown, IMixerPinConfig); @@ -9594,7 +9594,7 @@ windows_core::imp::define_interface!(IMpeg2Demultiplexer, IMpeg2Demultiplexer_Vt impl std::ops::Deref for IMpeg2Demultiplexer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMpeg2Demultiplexer, windows_core::IUnknown); @@ -9604,7 +9604,7 @@ impl IMpeg2Demultiplexer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateOutputPin)(windows_core::Interface::as_raw(self), pmediatype, pszpinname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -9638,41 +9638,41 @@ windows_core::imp::define_interface!(IMpegAudioDecoder, IMpegAudioDecoder_Vtbl, impl std::ops::Deref for IMpegAudioDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMpegAudioDecoder, windows_core::IUnknown); impl IMpegAudioDecoder { pub unsafe fn FrequencyDivider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FrequencyDivider)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DecoderAccuracy)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Stereo)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DecoderWordSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IntegerDecode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIntegerDecode(&self, intdecode: u32) -> windows_core::Result<()> { @@ -9713,7 +9713,7 @@ windows_core::imp::define_interface!(IMultiMediaStream, IMultiMediaStream_Vtbl, impl std::ops::Deref for IMultiMediaStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMultiMediaStream, windows_core::IUnknown); @@ -9722,33 +9722,33 @@ impl IMultiMediaStream { (windows_core::Interface::vtable(self).GetInformation)(windows_core::Interface::as_raw(self), pdwflags, pstreamtype).ok() } pub unsafe fn GetMediaStream(&self, idpurpose: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaStream)(windows_core::Interface::as_raw(self), idpurpose, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumMediaStreams(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumMediaStreams)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Seek(&self, seektime: i64) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Seek)(windows_core::Interface::as_raw(self), seektime).ok() } pub unsafe fn GetEndOfStreamEventHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEndOfStreamEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9769,7 +9769,7 @@ windows_core::imp::define_interface!(IOverlay, IOverlay_Vtbl, 0x56a868a1_0ad4_11 impl std::ops::Deref for IOverlay { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOverlay, windows_core::IUnknown); @@ -9783,18 +9783,18 @@ impl IOverlay { (windows_core::Interface::vtable(self).SetPalette)(windows_core::Interface::as_raw(self), ppalette.len().try_into().unwrap(), core::mem::transmute(ppalette.as_ptr())).ok() } pub unsafe fn GetDefaultColorKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultColorKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetColorKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColorKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetColorKey(&self, pcolorkey: *mut COLORKEY) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetColorKey)(windows_core::Interface::as_raw(self), pcolorkey).ok() } pub unsafe fn GetWindowHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindowHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -9841,7 +9841,7 @@ windows_core::imp::define_interface!(IOverlayNotify, IOverlayNotify_Vtbl, 0x56a8 impl std::ops::Deref for IOverlayNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOverlayNotify, windows_core::IUnknown); @@ -9879,7 +9879,7 @@ windows_core::imp::define_interface!(IOverlayNotify2, IOverlayNotify2_Vtbl, 0x68 impl std::ops::Deref for IOverlayNotify2 { type Target = IOverlayNotify; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOverlayNotify2, windows_core::IUnknown, IOverlayNotify); @@ -9906,7 +9906,7 @@ windows_core::imp::define_interface!(IPersistMediaPropertyBag, IPersistMediaProp impl std::ops::Deref for IPersistMediaPropertyBag { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9952,7 +9952,7 @@ windows_core::imp::define_interface!(IPin, IPin_Vtbl, 0x56a86891_0ad4_11ce_b03a_ impl std::ops::Deref for IPin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPin, windows_core::IUnknown); @@ -9975,7 +9975,7 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectedTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -9987,11 +9987,11 @@ impl IPin { (windows_core::Interface::vtable(self).QueryPinInfo)(windows_core::Interface::as_raw(self), pinfo).ok() } pub unsafe fn QueryDirection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDirection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueryId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -9999,7 +9999,7 @@ impl IPin { (windows_core::Interface::vtable(self).QueryAccept)(windows_core::Interface::as_raw(self), pmt) } pub unsafe fn EnumMediaTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumMediaTypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryInternalConnections(&self, appin: Option<*mut Option>, npin: *mut u32) -> windows_core::Result<()> { @@ -10056,7 +10056,7 @@ windows_core::imp::define_interface!(IPinConnection, IPinConnection_Vtbl, 0x4a9a impl std::ops::Deref for IPinConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPinConnection, windows_core::IUnknown); @@ -10093,7 +10093,7 @@ windows_core::imp::define_interface!(IPinFlowControl, IPinFlowControl_Vtbl, 0xc5 impl std::ops::Deref for IPinFlowControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPinFlowControl, windows_core::IUnknown); @@ -10116,7 +10116,7 @@ windows_core::imp::define_interface!(IPinInfo, IPinInfo_Vtbl, 0x56a868bd_0ad4_11 impl std::ops::Deref for IPinInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10124,39 +10124,39 @@ windows_core::imp::interface_hierarchy!(IPinInfo, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IPinInfo { pub unsafe fn Pin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pin)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ConnectedTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectedTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ConnectionMediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectionMediaType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilterInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FilterInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Direction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Direction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PinID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PinID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn MediaTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaTypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Connect(&self, ppin: P0) -> windows_core::Result<()> @@ -10203,9 +10203,9 @@ pub struct IPinInfo_Vtbl { pub FilterInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FilterInfo: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Direction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub PinID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PinID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub MediaTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -10223,33 +10223,33 @@ windows_core::imp::define_interface!(IQualProp, IQualProp_Vtbl, 0x1bd0ecb0_f8e2_ impl std::ops::Deref for IQualProp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQualProp, windows_core::IUnknown); impl IQualProp { pub unsafe fn FramesDroppedInRenderer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FramesDroppedInRenderer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FramesDrawn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FramesDrawn)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AvgFrameRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvgFrameRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Jitter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Jitter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AvgSyncOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvgSyncOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DevSyncOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DevSyncOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10267,7 +10267,7 @@ windows_core::imp::define_interface!(IQualityControl, IQualityControl_Vtbl, 0x56 impl std::ops::Deref for IQualityControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQualityControl, windows_core::IUnknown); @@ -10299,7 +10299,7 @@ windows_core::imp::define_interface!(IQueueCommand, IQueueCommand_Vtbl, 0x56a868 impl std::ops::Deref for IQueueCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueueCommand, windows_core::IUnknown); @@ -10314,8 +10314,8 @@ impl IQueueCommand { #[repr(C)] pub struct IQueueCommand_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub InvokeAtStreamTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, f64, *const windows_core::GUID, i32, i16, i32, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut i16) -> windows_core::HRESULT, - pub InvokeAtPresentationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, f64, *const windows_core::GUID, i32, i16, i32, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut i16) -> windows_core::HRESULT, + pub InvokeAtStreamTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, f64, *const windows_core::GUID, i32, i16, i32, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut i16) -> windows_core::HRESULT, + pub InvokeAtPresentationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, f64, *const windows_core::GUID, i32, i16, i32, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut i16) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRegFilterInfo, IRegFilterInfo_Vtbl, 0x56a868bb_0ad4_11ce_b03a_0020af0ba770); @@ -10323,7 +10323,7 @@ windows_core::imp::define_interface!(IRegFilterInfo, IRegFilterInfo_Vtbl, 0x56a8 impl std::ops::Deref for IRegFilterInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10331,12 +10331,12 @@ windows_core::imp::interface_hierarchy!(IRegFilterInfo, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IRegFilterInfo { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Filter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Filter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10344,7 +10344,7 @@ impl IRegFilterInfo { #[repr(C)] pub struct IRegFilterInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -10354,7 +10354,7 @@ windows_core::imp::define_interface!(IRegisterServiceProvider, IRegisterServiceP impl std::ops::Deref for IRegisterServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRegisterServiceProvider, windows_core::IUnknown); @@ -10375,7 +10375,7 @@ windows_core::imp::define_interface!(IResourceConsumer, IResourceConsumer_Vtbl, impl std::ops::Deref for IResourceConsumer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResourceConsumer, windows_core::IUnknown); @@ -10397,7 +10397,7 @@ windows_core::imp::define_interface!(IResourceManager, IResourceManager_Vtbl, 0x impl std::ops::Deref for IResourceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResourceManager, windows_core::IUnknown); @@ -10406,14 +10406,14 @@ impl IResourceManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Register)(windows_core::Interface::as_raw(self), pname.param().abi(), cresource, &mut result__).map(|| result__) } pub unsafe fn RegisterGroup(&self, pname: P0, paltokens: &[i32]) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterGroup)(windows_core::Interface::as_raw(self), pname.param().abi(), paltokens.len().try_into().unwrap(), core::mem::transmute(paltokens.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn RequestResource(&self, idresource: i32, pfocusobject: P0, pconsumer: P1) -> windows_core::Result<()> @@ -10471,7 +10471,7 @@ windows_core::imp::define_interface!(ISeekingPassThru, ISeekingPassThru_Vtbl, 0x impl std::ops::Deref for ISeekingPassThru { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISeekingPassThru, windows_core::IUnknown); @@ -10493,17 +10493,17 @@ windows_core::imp::define_interface!(ISelector, ISelector_Vtbl, 0x1abdaeca_68b6_ impl std::ops::Deref for ISelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISelector, windows_core::IUnknown); impl ISelector { pub unsafe fn NumSources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumSources)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SourceNodeId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceNodeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSourceNodeId(&self, dwpinid: u32) -> windows_core::Result<()> { @@ -10521,14 +10521,14 @@ windows_core::imp::define_interface!(ISpecifyParticularPages, ISpecifyParticular impl std::ops::Deref for ISpecifyParticularPages { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpecifyParticularPages, windows_core::IUnknown); impl ISpecifyParticularPages { #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetPages(&self, guidwhatpages: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPages)(windows_core::Interface::as_raw(self), guidwhatpages, &mut result__).map(|| result__) } } @@ -10544,7 +10544,7 @@ windows_core::imp::define_interface!(IStreamBuilder, IStreamBuilder_Vtbl, 0x56a8 impl std::ops::Deref for IStreamBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamBuilder, windows_core::IUnknown); @@ -10574,7 +10574,7 @@ windows_core::imp::define_interface!(IStreamSample, IStreamSample_Vtbl, 0xb502d1 impl std::ops::Deref for IStreamSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamSample, windows_core::IUnknown); @@ -10611,13 +10611,13 @@ windows_core::imp::define_interface!(IVMRAspectRatioControl, IVMRAspectRatioCont impl std::ops::Deref for IVMRAspectRatioControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRAspectRatioControl, windows_core::IUnknown); impl IVMRAspectRatioControl { pub unsafe fn GetAspectRatioMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAspectRatioMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAspectRatioMode(&self, dwarmode: u32) -> windows_core::Result<()> { @@ -10634,13 +10634,13 @@ windows_core::imp::define_interface!(IVMRAspectRatioControl9, IVMRAspectRatioCon impl std::ops::Deref for IVMRAspectRatioControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRAspectRatioControl9, windows_core::IUnknown); impl IVMRAspectRatioControl9 { pub unsafe fn GetAspectRatioMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAspectRatioMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAspectRatioMode(&self, dwarmode: u32) -> windows_core::Result<()> { @@ -10657,7 +10657,7 @@ windows_core::imp::define_interface!(IVMRDeinterlaceControl, IVMRDeinterlaceCont impl std::ops::Deref for IVMRDeinterlaceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRDeinterlaceControl, windows_core::IUnknown); @@ -10669,21 +10669,21 @@ impl IVMRDeinterlaceControl { (windows_core::Interface::vtable(self).GetDeinterlaceModeCaps)(windows_core::Interface::as_raw(self), lpdeinterlacemode, lpvideodescription, lpdeinterlacecaps).ok() } pub unsafe fn GetDeinterlaceMode(&self, dwstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeinterlaceMode)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| 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, lpdeinterlacemode).ok() } pub unsafe fn GetDeinterlacePrefs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeinterlacePrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActualDeinterlaceMode)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| result__) } } @@ -10702,7 +10702,7 @@ windows_core::imp::define_interface!(IVMRDeinterlaceControl9, IVMRDeinterlaceCon impl std::ops::Deref for IVMRDeinterlaceControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRDeinterlaceControl9, windows_core::IUnknown); @@ -10714,21 +10714,21 @@ impl IVMRDeinterlaceControl9 { (windows_core::Interface::vtable(self).GetDeinterlaceModeCaps)(windows_core::Interface::as_raw(self), lpdeinterlacemode, lpvideodescription, lpdeinterlacecaps).ok() } pub unsafe fn GetDeinterlaceMode(&self, dwstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeinterlaceMode)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| 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, lpdeinterlacemode).ok() } pub unsafe fn GetDeinterlacePrefs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeinterlacePrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActualDeinterlaceMode)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| result__) } } @@ -10747,7 +10747,7 @@ windows_core::imp::define_interface!(IVMRFilterConfig, IVMRFilterConfig_Vtbl, 0x impl std::ops::Deref for IVMRFilterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRFilterConfig, windows_core::IUnknown); @@ -10762,21 +10762,21 @@ impl IVMRFilterConfig { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfStreams)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderingPrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10795,7 +10795,7 @@ windows_core::imp::define_interface!(IVMRFilterConfig9, IVMRFilterConfig9_Vtbl, impl std::ops::Deref for IVMRFilterConfig9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRFilterConfig9, windows_core::IUnknown); @@ -10810,21 +10810,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfStreams)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderingPrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10843,7 +10843,7 @@ windows_core::imp::define_interface!(IVMRImageCompositor, IVMRImageCompositor_Vt impl std::ops::Deref for IVMRImageCompositor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRImageCompositor, windows_core::IUnknown); @@ -10904,7 +10904,7 @@ windows_core::imp::define_interface!(IVMRImageCompositor9, IVMRImageCompositor9_ impl std::ops::Deref for IVMRImageCompositor9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRImageCompositor9, windows_core::IUnknown); @@ -10955,7 +10955,7 @@ windows_core::imp::define_interface!(IVMRImagePresenter, IVMRImagePresenter_Vtbl impl std::ops::Deref for IVMRImagePresenter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRImagePresenter, windows_core::IUnknown); @@ -10985,7 +10985,7 @@ windows_core::imp::define_interface!(IVMRImagePresenter9, IVMRImagePresenter9_Vt impl std::ops::Deref for IVMRImagePresenter9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRImagePresenter9, windows_core::IUnknown); @@ -11015,7 +11015,7 @@ windows_core::imp::define_interface!(IVMRImagePresenterConfig, IVMRImagePresente impl std::ops::Deref for IVMRImagePresenterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRImagePresenterConfig, windows_core::IUnknown); @@ -11024,7 +11024,7 @@ impl IVMRImagePresenterConfig { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderingPrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11038,7 +11038,7 @@ windows_core::imp::define_interface!(IVMRImagePresenterConfig9, IVMRImagePresent impl std::ops::Deref for IVMRImagePresenterConfig9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRImagePresenterConfig9, windows_core::IUnknown); @@ -11047,7 +11047,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderingPrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11061,7 +11061,7 @@ windows_core::imp::define_interface!(IVMRImagePresenterExclModeConfig, IVMRImage impl std::ops::Deref for IVMRImagePresenterExclModeConfig { type Target = IVMRImagePresenterConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRImagePresenterExclModeConfig, windows_core::IUnknown, IVMRImagePresenterConfig); @@ -11095,7 +11095,7 @@ windows_core::imp::define_interface!(IVMRMixerBitmap, IVMRMixerBitmap_Vtbl, 0x1e impl std::ops::Deref for IVMRMixerBitmap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRMixerBitmap, windows_core::IUnknown); @@ -11133,7 +11133,7 @@ windows_core::imp::define_interface!(IVMRMixerBitmap9, IVMRMixerBitmap9_Vtbl, 0x impl std::ops::Deref for IVMRMixerBitmap9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRMixerBitmap9, windows_core::IUnknown); @@ -11171,7 +11171,7 @@ windows_core::imp::define_interface!(IVMRMixerControl, IVMRMixerControl_Vtbl, 0x impl std::ops::Deref for IVMRMixerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRMixerControl, windows_core::IUnknown); @@ -11180,21 +11180,21 @@ impl IVMRMixerControl { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlpha)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetZOrder)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| result__) } pub unsafe fn SetOutputRect(&self, dwstreamid: u32, prect: *const NORMALIZEDRECT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetOutputRect)(windows_core::Interface::as_raw(self), dwstreamid, prect).ok() } pub unsafe fn GetOutputRect(&self, dwstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputRect)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| result__) } pub unsafe fn SetBackgroundClr(&self, clrbkg: P0) -> windows_core::Result<()> @@ -11210,7 +11210,7 @@ impl IVMRMixerControl { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMixingPrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11232,7 +11232,7 @@ windows_core::imp::define_interface!(IVMRMixerControl9, IVMRMixerControl9_Vtbl, impl std::ops::Deref for IVMRMixerControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRMixerControl9, windows_core::IUnknown); @@ -11241,21 +11241,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlpha)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetZOrder)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| 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, prect).ok() } pub unsafe fn GetOutputRect(&self, dwstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputRect)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| result__) } pub unsafe fn SetBackgroundClr(&self, clrbkg: P0) -> windows_core::Result<()> @@ -11271,7 +11271,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMixingPrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProcAmpControl(&self, dwstreamid: u32, lpclrcontrol: *const VMR9ProcAmpControl) -> windows_core::Result<()> { @@ -11305,7 +11305,7 @@ windows_core::imp::define_interface!(IVMRMonitorConfig, IVMRMonitorConfig_Vtbl, impl std::ops::Deref for IVMRMonitorConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRMonitorConfig, windows_core::IUnknown); @@ -11343,7 +11343,7 @@ windows_core::imp::define_interface!(IVMRMonitorConfig9, IVMRMonitorConfig9_Vtbl impl std::ops::Deref for IVMRMonitorConfig9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRMonitorConfig9, windows_core::IUnknown); @@ -11352,14 +11352,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMonitor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultMonitor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -11383,7 +11383,7 @@ windows_core::imp::define_interface!(IVMRSurface, IVMRSurface_Vtbl, 0xa9849bbe_9 impl std::ops::Deref for IVMRSurface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRSurface, windows_core::IUnknown); @@ -11392,7 +11392,7 @@ impl IVMRSurface { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LockSurface)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UnlockSurface(&self) -> windows_core::Result<()> { @@ -11400,7 +11400,7 @@ impl IVMRSurface { } #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetSurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11419,7 +11419,7 @@ windows_core::imp::define_interface!(IVMRSurface9, IVMRSurface9_Vtbl, 0xdfc581a1 impl std::ops::Deref for IVMRSurface9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRSurface9, windows_core::IUnknown); @@ -11428,7 +11428,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LockSurface)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UnlockSurface(&self) -> windows_core::Result<()> { @@ -11436,7 +11436,7 @@ impl IVMRSurface9 { } #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetSurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11455,7 +11455,7 @@ windows_core::imp::define_interface!(IVMRSurfaceAllocator, IVMRSurfaceAllocator_ impl std::ops::Deref for IVMRSurfaceAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocator, windows_core::IUnknown); @@ -11499,7 +11499,7 @@ windows_core::imp::define_interface!(IVMRSurfaceAllocator9, IVMRSurfaceAllocator impl std::ops::Deref for IVMRSurfaceAllocator9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocator9, windows_core::IUnknown); @@ -11513,7 +11513,7 @@ impl IVMRSurfaceAllocator9 { } #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn GetSurface(&self, dwuserid: usize, surfaceindex: u32, surfaceflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurface)(windows_core::Interface::as_raw(self), dwuserid, surfaceindex, surfaceflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AdviseNotify(&self, lpivmrsurfallocnotify: P0) -> windows_core::Result<()> @@ -11541,7 +11541,7 @@ windows_core::imp::define_interface!(IVMRSurfaceAllocatorEx9, IVMRSurfaceAllocat impl std::ops::Deref for IVMRSurfaceAllocatorEx9 { type Target = IVMRSurfaceAllocator9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocatorEx9, windows_core::IUnknown, IVMRSurfaceAllocator9); @@ -11563,7 +11563,7 @@ windows_core::imp::define_interface!(IVMRSurfaceAllocatorNotify, IVMRSurfaceAllo impl std::ops::Deref for IVMRSurfaceAllocatorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocatorNotify, windows_core::IUnknown); @@ -11623,7 +11623,7 @@ windows_core::imp::define_interface!(IVMRSurfaceAllocatorNotify9, IVMRSurfaceAll impl std::ops::Deref for IVMRSurfaceAllocatorNotify9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocatorNotify9, windows_core::IUnknown); @@ -11680,7 +11680,7 @@ windows_core::imp::define_interface!(IVMRVideoStreamControl, IVMRVideoStreamCont impl std::ops::Deref for IVMRVideoStreamControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRVideoStreamControl, windows_core::IUnknown); @@ -11691,7 +11691,7 @@ impl IVMRVideoStreamControl { } #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetColorKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColorKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStreamActiveState(&self, factive: P0) -> windows_core::Result<()> @@ -11701,7 +11701,7 @@ impl IVMRVideoStreamControl { (windows_core::Interface::vtable(self).SetStreamActiveState)(windows_core::Interface::as_raw(self), factive.param().abi()).ok() } pub unsafe fn GetStreamActiveState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamActiveState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11723,7 +11723,7 @@ windows_core::imp::define_interface!(IVMRVideoStreamControl9, IVMRVideoStreamCon impl std::ops::Deref for IVMRVideoStreamControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRVideoStreamControl9, windows_core::IUnknown); @@ -11735,7 +11735,7 @@ impl IVMRVideoStreamControl9 { (windows_core::Interface::vtable(self).SetStreamActiveState)(windows_core::Interface::as_raw(self), factive.param().abi()).ok() } pub unsafe fn GetStreamActiveState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamActiveState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11749,7 +11749,7 @@ windows_core::imp::define_interface!(IVMRWindowlessControl, IVMRWindowlessContro impl std::ops::Deref for IVMRWindowlessControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRWindowlessControl, windows_core::IUnknown); @@ -11770,7 +11770,7 @@ impl IVMRWindowlessControl { (windows_core::Interface::vtable(self).GetVideoPosition)(windows_core::Interface::as_raw(self), lpsrcrect, lpdstrect).ok() } pub unsafe fn GetAspectRatioMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAspectRatioMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAspectRatioMode(&self, aspectratiomode: u32) -> windows_core::Result<()> { @@ -11794,7 +11794,7 @@ impl IVMRWindowlessControl { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentImage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBorderColor(&self, clr: P0) -> windows_core::Result<()> @@ -11804,7 +11804,7 @@ impl IVMRWindowlessControl { (windows_core::Interface::vtable(self).SetBorderColor)(windows_core::Interface::as_raw(self), clr.param().abi()).ok() } pub unsafe fn GetBorderColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBorderColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetColorKey(&self, clr: P0) -> windows_core::Result<()> @@ -11814,7 +11814,7 @@ impl IVMRWindowlessControl { (windows_core::Interface::vtable(self).SetColorKey)(windows_core::Interface::as_raw(self), clr.param().abi()).ok() } pub unsafe fn GetColorKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColorKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11844,7 +11844,7 @@ windows_core::imp::define_interface!(IVMRWindowlessControl9, IVMRWindowlessContr impl std::ops::Deref for IVMRWindowlessControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVMRWindowlessControl9, windows_core::IUnknown); @@ -11865,7 +11865,7 @@ impl IVMRWindowlessControl9 { (windows_core::Interface::vtable(self).GetVideoPosition)(windows_core::Interface::as_raw(self), lpsrcrect, lpdstrect).ok() } pub unsafe fn GetAspectRatioMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAspectRatioMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAspectRatioMode(&self, aspectratiomode: u32) -> windows_core::Result<()> { @@ -11889,7 +11889,7 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentImage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBorderColor(&self, clr: P0) -> windows_core::Result<()> @@ -11899,7 +11899,7 @@ impl IVMRWindowlessControl9 { (windows_core::Interface::vtable(self).SetBorderColor)(windows_core::Interface::as_raw(self), clr.param().abi()).ok() } pub unsafe fn GetBorderColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBorderColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11927,7 +11927,7 @@ windows_core::imp::define_interface!(IVPBaseConfig, IVPBaseConfig_Vtbl, 0); impl std::ops::Deref for IVPBaseConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVPBaseConfig, windows_core::IUnknown); @@ -11961,7 +11961,7 @@ impl IVPBaseConfig { } #[cfg(feature = "Win32_Graphics_DirectDraw")] pub unsafe fn GetOverlaySurface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOverlaySurface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDirectDrawKernelHandle(&self, dwddkernelhandle: usize) -> windows_core::Result<()> { @@ -12010,7 +12010,7 @@ windows_core::imp::define_interface!(IVPBaseNotify, IVPBaseNotify_Vtbl, 0); impl std::ops::Deref for IVPBaseNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVPBaseNotify, windows_core::IUnknown); @@ -12028,7 +12028,7 @@ windows_core::imp::define_interface!(IVPConfig, IVPConfig_Vtbl, 0xbc29a660_30e3_ impl std::ops::Deref for IVPConfig { type Target = IVPBaseConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVPConfig, windows_core::IUnknown, IVPBaseConfig); @@ -12050,7 +12050,7 @@ windows_core::imp::define_interface!(IVPManager, IVPManager_Vtbl, 0xaac18c18_e18 impl std::ops::Deref for IVPManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVPManager, windows_core::IUnknown); @@ -12059,7 +12059,7 @@ impl IVPManager { (windows_core::Interface::vtable(self).SetVideoPortIndex)(windows_core::Interface::as_raw(self), dwvideoportindex).ok() } pub unsafe fn GetVideoPortIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoPortIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12073,7 +12073,7 @@ windows_core::imp::define_interface!(IVPNotify, IVPNotify_Vtbl, 0xc76794a1_d6c5_ impl std::ops::Deref for IVPNotify { type Target = IVPBaseNotify; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVPNotify, windows_core::IUnknown, IVPBaseNotify); @@ -12095,7 +12095,7 @@ windows_core::imp::define_interface!(IVPNotify2, IVPNotify2_Vtbl, 0xebf47183_876 impl std::ops::Deref for IVPNotify2 { type Target = IVPNotify; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVPNotify2, windows_core::IUnknown, IVPBaseNotify, IVPNotify); @@ -12120,7 +12120,7 @@ windows_core::imp::define_interface!(IVPVBIConfig, IVPVBIConfig_Vtbl, 0xec529b00 impl std::ops::Deref for IVPVBIConfig { type Target = IVPBaseConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVPVBIConfig, windows_core::IUnknown, IVPBaseConfig); @@ -12133,7 +12133,7 @@ windows_core::imp::define_interface!(IVPVBINotify, IVPVBINotify_Vtbl, 0xec529b01 impl std::ops::Deref for IVPVBINotify { type Target = IVPBaseNotify; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVPVBINotify, windows_core::IUnknown, IVPBaseNotify); @@ -12146,7 +12146,7 @@ windows_core::imp::define_interface!(IVideoEncoder, IVideoEncoder_Vtbl, 0x02997c impl std::ops::Deref for IVideoEncoder { type Target = IEncoderAPI; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVideoEncoder, windows_core::IUnknown, IEncoderAPI); @@ -12159,7 +12159,7 @@ windows_core::imp::define_interface!(IVideoFrameStep, IVideoFrameStep_Vtbl, 0xe4 impl std::ops::Deref for IVideoFrameStep { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVideoFrameStep, windows_core::IUnknown); @@ -12191,7 +12191,7 @@ windows_core::imp::define_interface!(IVideoProcAmp, IVideoProcAmp_Vtbl, 0x405056 impl std::ops::Deref for IVideoProcAmp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVideoProcAmp, windows_core::IUnknown); @@ -12363,7 +12363,7 @@ windows_core::imp::define_interface!(IVideoWindow, IVideoWindow_Vtbl, 0x56a868b4 impl std::ops::Deref for IVideoWindow { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -12377,28 +12377,28 @@ impl IVideoWindow { (windows_core::Interface::vtable(self).SetCaption)(windows_core::Interface::as_raw(self), strcaption.param().abi()).ok() } pub unsafe fn Caption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Caption)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowStyleEx)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoShow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWindowState(&self, windowstate: i32) -> windows_core::Result<()> { @@ -12406,74 +12406,74 @@ impl IVideoWindow { } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn WindowState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowState)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackgroundPalette)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Visible)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Left)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Top)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Height)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Owner)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MessageDrain)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BorderColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BorderColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FullScreenMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFullScreenMode(&self, fullscreenmode: i32) -> windows_core::Result<()> { @@ -12504,7 +12504,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCursorHidden)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12512,8 +12512,8 @@ impl IVideoWindow { #[repr(C)] pub struct IVideoWindow_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetWindowStyle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub WindowStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetWindowStyleEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -12559,7 +12559,7 @@ windows_core::imp::define_interface!(IWMCodecAMVideoAccelerator, IWMCodecAMVideo impl std::ops::Deref for IWMCodecAMVideoAccelerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecAMVideoAccelerator, windows_core::IUnknown); @@ -12599,7 +12599,7 @@ windows_core::imp::define_interface!(IWMCodecVideoAccelerator, IWMCodecVideoAcce impl std::ops::Deref for IWMCodecVideoAccelerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecVideoAccelerator, windows_core::IUnknown); @@ -19729,7 +19729,7 @@ impl Default for EALocationCodeType { #[derive(Debug, Eq, PartialEq)] pub struct FILTER_INFO { pub achName: [u16; 128], - pub pGraph: std::mem::ManuallyDrop>, + pub pGraph: core::mem::ManuallyDrop>, } impl Clone for FILTER_INFO { fn clone(&self) -> Self { @@ -19955,7 +19955,7 @@ impl Default for PID_MAP { #[cfg(feature = "Win32_System_Com")] #[derive(Debug, Eq, PartialEq)] pub struct PIN_INFO { - pub pFilter: std::mem::ManuallyDrop>, + pub pFilter: core::mem::ManuallyDrop>, pub dir: PIN_DIRECTION, pub achName: [u16; 128], } @@ -20181,8 +20181,8 @@ impl Default for STREAM_ID_MAP { pub struct SmartCardApplication { pub ApplicationType: ApplicationTypeType, pub ApplicationVersion: u16, - pub pbstrApplicationName: std::mem::ManuallyDrop, - pub pbstrApplicationURL: std::mem::ManuallyDrop, + pub pbstrApplicationName: core::mem::ManuallyDrop, + pub pbstrApplicationURL: core::mem::ManuallyDrop, } impl Clone for SmartCardApplication { fn clone(&self) -> Self { @@ -20345,7 +20345,7 @@ impl Default for VMR9AllocationInfo { pub struct VMR9AlphaBitmap { pub dwFlags: u32, pub hdc: super::super::Graphics::Gdi::HDC, - pub pDDS: std::mem::ManuallyDrop>, + pub pDDS: core::mem::ManuallyDrop>, pub rSrc: super::super::Foundation::RECT, pub rDest: VMR9NormalizedRect, pub fAlpha: f32, @@ -20446,7 +20446,7 @@ impl Default for VMR9NormalizedRect { #[derive(Debug, Eq, PartialEq)] pub struct VMR9PresentationInfo { pub dwFlags: u32, - pub lpSurf: std::mem::ManuallyDrop>, + pub lpSurf: core::mem::ManuallyDrop>, pub rtStart: i64, pub rtEnd: i64, pub szAspectRatio: super::super::Foundation::SIZE, @@ -20530,7 +20530,7 @@ impl Default for VMR9VideoDesc { #[cfg(feature = "Win32_Graphics_Direct3D9")] #[derive(Debug, PartialEq)] pub struct VMR9VideoStreamInfo { - pub pddsVideoSurface: std::mem::ManuallyDrop>, + pub pddsVideoSurface: core::mem::ManuallyDrop>, pub dwWidth: u32, pub dwHeight: u32, pub dwStrmID: u32, @@ -20585,7 +20585,7 @@ impl Default for VMRALLOCATIONINFO { pub struct VMRALPHABITMAP { pub dwFlags: u32, pub hdc: super::super::Graphics::Gdi::HDC, - pub pDDS: std::mem::ManuallyDrop>, + pub pDDS: core::mem::ManuallyDrop>, pub rSrc: super::super::Foundation::RECT, pub rDest: NORMALIZEDRECT, pub fAlpha: f32, @@ -20683,7 +20683,7 @@ impl Default for VMRMONITORINFO { #[derive(Debug, Eq, PartialEq)] pub struct VMRPRESENTATIONINFO { pub dwFlags: u32, - pub lpSurf: std::mem::ManuallyDrop>, + pub lpSurf: core::mem::ManuallyDrop>, pub rtStart: i64, pub rtEnd: i64, pub szAspectRatio: super::super::Foundation::SIZE, @@ -20712,7 +20712,7 @@ impl Default for VMRPRESENTATIONINFO { #[cfg(feature = "Win32_Graphics_DirectDraw")] #[derive(Debug, PartialEq)] pub struct VMRVIDEOSTREAMINFO { - pub pddsVideoSurface: std::mem::ManuallyDrop>, + pub pddsVideoSurface: core::mem::ManuallyDrop>, pub dwWidth: u32, pub dwHeight: u32, pub dwStrmID: u32, 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 0ba386e22d..4a31915109 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs @@ -1,7 +1,7 @@ #[inline] pub unsafe fn DMOEnum(guidcategory: *const windows_core::GUID, dwflags: u32, cintypes: u32, pintypes: *const DMO_PARTIAL_MEDIATYPE, couttypes: u32, pouttypes: *const DMO_PARTIAL_MEDIATYPE) -> windows_core::Result { windows_targets::link!("msdmo.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DMOEnum(guidcategory, dwflags, cintypes, pintypes, couttypes, pouttypes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -61,7 +61,7 @@ windows_core::imp::define_interface!(IDMOQualityControl, IDMOQualityControl_Vtbl impl std::ops::Deref for IDMOQualityControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMOQualityControl, windows_core::IUnknown); @@ -73,7 +73,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -88,24 +88,24 @@ windows_core::imp::define_interface!(IDMOVideoOutputOptimizations, IDMOVideoOutp impl std::ops::Deref for IDMOVideoOutputOptimizations { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDMOVideoOutputOptimizations, windows_core::IUnknown); impl IDMOVideoOutputOptimizations { pub unsafe fn QueryOperationModePreferences(&self, uloutputstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryOperationModePreferences)(windows_core::Interface::as_raw(self), uloutputstreamindex, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentOperationMode)(windows_core::Interface::as_raw(self), uloutputstreamindex, &mut result__).map(|| result__) } pub unsafe fn GetCurrentSampleRequirements(&self, uloutputstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSampleRequirements)(windows_core::Interface::as_raw(self), uloutputstreamindex, &mut result__).map(|| result__) } } @@ -121,7 +121,7 @@ windows_core::imp::define_interface!(IEnumDMO, IEnumDMO_Vtbl, 0x2c3cd98a_2bfa_4a impl std::ops::Deref for IEnumDMO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDMO, windows_core::IUnknown); @@ -136,7 +136,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -152,7 +152,7 @@ windows_core::imp::define_interface!(IMediaBuffer, IMediaBuffer_Vtbl, 0x59eff8b9 impl std::ops::Deref for IMediaBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaBuffer, windows_core::IUnknown); @@ -161,7 +161,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBufferAndLength(&self, ppbuffer: Option<*mut *mut u8>, pcblength: Option<*mut u32>) -> windows_core::Result<()> { @@ -179,7 +179,7 @@ windows_core::imp::define_interface!(IMediaObject, IMediaObject_Vtbl, 0xd8ad0f58 impl std::ops::Deref for IMediaObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaObject, windows_core::IUnknown); @@ -188,11 +188,11 @@ impl IMediaObject { (windows_core::Interface::vtable(self).GetStreamCount)(windows_core::Interface::as_raw(self), pcinputstreams, pcoutputstreams).ok() } pub unsafe fn GetInputStreamInfo(&self, dwinputstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputStreamInfo)(windows_core::Interface::as_raw(self), dwinputstreamindex, &mut result__).map(|| result__) } pub unsafe fn GetOutputStreamInfo(&self, dwoutputstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputStreamInfo)(windows_core::Interface::as_raw(self), dwoutputstreamindex, &mut result__).map(|| result__) } pub unsafe fn GetInputType(&self, dwinputstreamindex: u32, dwtypeindex: u32, pmt: Option<*mut DMO_MEDIA_TYPE>) -> windows_core::Result<()> { @@ -220,7 +220,7 @@ impl IMediaObject { (windows_core::Interface::vtable(self).GetOutputSizeInfo)(windows_core::Interface::as_raw(self), dwoutputstreamindex, pcbsize, pcbalignment).ok() } pub unsafe fn GetInputMaxLatency(&self, dwinputstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputMaxLatency)(windows_core::Interface::as_raw(self), dwinputstreamindex, &mut result__).map(|| result__) } pub unsafe fn SetInputMaxLatency(&self, dwinputstreamindex: u32, rtmaxlatency: i64) -> windows_core::Result<()> { @@ -239,7 +239,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputStatus)(windows_core::Interface::as_raw(self), dwinputstreamindex, &mut result__).map(|| result__) } pub unsafe fn ProcessInput(&self, dwinputstreamindex: u32, pbuffer: P0, dwflags: u32, rttimestamp: i64, rttimelength: i64) -> windows_core::Result<()> @@ -284,7 +284,7 @@ windows_core::imp::define_interface!(IMediaObjectInPlace, IMediaObjectInPlace_Vt impl std::ops::Deref for IMediaObjectInPlace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaObjectInPlace, windows_core::IUnknown); @@ -293,11 +293,11 @@ impl IMediaObjectInPlace { (windows_core::Interface::vtable(self).Process)(windows_core::Interface::as_raw(self), pdata.len().try_into().unwrap(), core::mem::transmute(pdata.as_ptr()), reftimestart, dwflags).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLatency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLatency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -493,7 +493,7 @@ pub struct DMO_MEDIA_TYPE { pub bTemporalCompression: super::super::Foundation::BOOL, pub lSampleSize: u32, pub formattype: windows_core::GUID, - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, pub cbFormat: u32, pub pbFormat: *mut u8, } @@ -513,7 +513,7 @@ impl Default for DMO_MEDIA_TYPE { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct DMO_OUTPUT_DATA_BUFFER { - pub pBuffer: std::mem::ManuallyDrop>, + pub pBuffer: core::mem::ManuallyDrop>, pub dwStatus: u32, pub rtTimestamp: i64, pub rtTimelength: i64, 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 df492fbf8a..f0d674d022 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -12,7 +12,7 @@ where P0: windows_core::Param, { windows_targets::link!("ksuser.dll" "system" fn KsCreateAllocator2(connectionhandle : super::super::Foundation:: HANDLE, allocatorframing : *const KSALLOCATOR_FRAMING, allocatorhandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); KsCreateAllocator2(connectionhandle.param().abi(), allocatorframing, &mut result__).map(|| result__) } #[inline] @@ -29,7 +29,7 @@ where P0: windows_core::Param, { windows_targets::link!("ksuser.dll" "system" fn KsCreateClock2(connectionhandle : super::super::Foundation:: HANDLE, clockcreate : *const KSCLOCK_CREATE, clockhandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); KsCreateClock2(connectionhandle.param().abi(), clockcreate, &mut result__).map(|| result__) } #[inline] @@ -46,7 +46,7 @@ where P0: windows_core::Param, { windows_targets::link!("ksuser.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); KsCreatePin2(filterhandle.param().abi(), connect, desiredaccess, &mut result__).map(|| result__) } #[inline] @@ -63,7 +63,7 @@ where P0: windows_core::Param, { windows_targets::link!("ksuser.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); KsCreateTopologyNode2(parenthandle.param().abi(), nodecreate, desiredaccess, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -81,7 +81,7 @@ where P0: windows_core::Param, { windows_targets::link!("ksproxy.ax" "system" fn KsGetMediaTypeCount(filterhandle : super::super::Foundation:: HANDLE, pinfactoryid : u32, mediatypecount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); KsGetMediaTypeCount(filterhandle.param().abi(), pinfactoryid, &mut result__).map(|| result__) } #[inline] @@ -95,7 +95,7 @@ where #[inline] pub unsafe fn KsOpenDefaultDevice(category: *const windows_core::GUID, access: u32) -> windows_core::Result { windows_targets::link!("ksproxy.ax" "system" fn KsOpenDefaultDevice(category : *const windows_core::GUID, access : u32, devicehandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); KsOpenDefaultDevice(category, access, &mut result__).map(|| result__) } #[inline] @@ -115,7 +115,7 @@ windows_core::imp::define_interface!(IKsAggregateControl, IKsAggregateControl_Vt impl std::ops::Deref for IKsAggregateControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsAggregateControl, windows_core::IUnknown); @@ -137,7 +137,7 @@ windows_core::imp::define_interface!(IKsAllocator, IKsAllocator_Vtbl, 0x8da64899 impl std::ops::Deref for IKsAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsAllocator, windows_core::IUnknown); @@ -167,7 +167,7 @@ windows_core::imp::define_interface!(IKsAllocatorEx, IKsAllocatorEx_Vtbl, 0x091b impl std::ops::Deref for IKsAllocatorEx { type Target = IKsAllocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsAllocatorEx, windows_core::IUnknown, IKsAllocator); @@ -203,45 +203,45 @@ windows_core::imp::define_interface!(IKsClockPropertySet, IKsClockPropertySet_Vt impl std::ops::Deref for IKsClockPropertySet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsClockPropertySet, windows_core::IUnknown); impl IKsClockPropertySet { pub unsafe fn KsGetTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsGetTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KsSetTime(&self, time: i64) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).KsSetTime)(windows_core::Interface::as_raw(self), time).ok() } pub unsafe fn KsGetPhysicalTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsGetPhysicalTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KsSetPhysicalTime(&self, time: i64) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).KsSetPhysicalTime)(windows_core::Interface::as_raw(self), time).ok() } pub unsafe fn KsGetCorrelatedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsGetCorrelatedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KsSetCorrelatedTime(&self, correlatedtime: *const KSCORRELATED_TIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).KsSetCorrelatedTime)(windows_core::Interface::as_raw(self), correlatedtime).ok() } pub unsafe fn KsGetCorrelatedPhysicalTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsGetCorrelatedPhysicalTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KsSetCorrelatedPhysicalTime(&self, correlatedtime: *const KSCORRELATED_TIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).KsSetCorrelatedPhysicalTime)(windows_core::Interface::as_raw(self), correlatedtime).ok() } pub unsafe fn KsGetResolution(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsGetResolution)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KsGetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsGetState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -263,7 +263,7 @@ windows_core::imp::define_interface!(IKsControl, IKsControl_Vtbl, 0x28f54685_06f impl std::ops::Deref for IKsControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsControl, windows_core::IUnknown); @@ -289,7 +289,7 @@ windows_core::imp::define_interface!(IKsDataTypeCompletion, IKsDataTypeCompletio impl std::ops::Deref for IKsDataTypeCompletion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsDataTypeCompletion, windows_core::IUnknown); @@ -314,7 +314,7 @@ windows_core::imp::define_interface!(IKsDataTypeHandler, IKsDataTypeHandler_Vtbl impl std::ops::Deref for IKsDataTypeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsDataTypeHandler, windows_core::IUnknown); @@ -338,7 +338,7 @@ impl IKsDataTypeHandler { (windows_core::Interface::vtable(self).KsPrepareIoOperation)(windows_core::Interface::as_raw(self), sample.param().abi(), streamheader, iooperation).ok() } pub unsafe fn KsQueryExtendedSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsQueryExtendedSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -368,7 +368,7 @@ windows_core::imp::define_interface!(IKsFormatSupport, IKsFormatSupport_Vtbl, 0x impl std::ops::Deref for IKsFormatSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsFormatSupport, windows_core::IUnknown); @@ -377,7 +377,7 @@ impl IKsFormatSupport { (windows_core::Interface::vtable(self).IsFormatSupported)(windows_core::Interface::as_raw(self), pksformat, cbformat, pbsupported).ok() } pub unsafe fn GetDevicePreferredFormat(&self) -> windows_core::Result<*mut KSDATAFORMAT> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevicePreferredFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -391,7 +391,7 @@ windows_core::imp::define_interface!(IKsInterfaceHandler, IKsInterfaceHandler_Vt impl std::ops::Deref for IKsInterfaceHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsInterfaceHandler, windows_core::IUnknown); @@ -427,13 +427,13 @@ windows_core::imp::define_interface!(IKsJackContainerId, IKsJackContainerId_Vtbl impl std::ops::Deref for IKsJackContainerId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsJackContainerId, windows_core::IUnknown); impl IKsJackContainerId { pub unsafe fn GetJackContainerId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJackContainerId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -446,13 +446,13 @@ windows_core::imp::define_interface!(IKsJackDescription, IKsJackDescription_Vtbl impl std::ops::Deref for IKsJackDescription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsJackDescription, windows_core::IUnknown); impl IKsJackDescription { pub unsafe fn GetJackCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJackCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetJackDescription(&self, njack: u32, pdescription: *mut KSJACK_DESCRIPTION) -> windows_core::Result<()> { @@ -469,17 +469,17 @@ windows_core::imp::define_interface!(IKsJackDescription2, IKsJackDescription2_Vt impl std::ops::Deref for IKsJackDescription2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsJackDescription2, windows_core::IUnknown); impl IKsJackDescription2 { pub unsafe fn GetJackCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJackCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetJackDescription2(&self, njack: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJackDescription2)(windows_core::Interface::as_raw(self), njack, &mut result__).map(|| result__) } } @@ -493,17 +493,17 @@ windows_core::imp::define_interface!(IKsJackDescription3, IKsJackDescription3_Vt impl std::ops::Deref for IKsJackDescription3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsJackDescription3, windows_core::IUnknown); impl IKsJackDescription3 { pub unsafe fn GetJackCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJackCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetJackDescription3(&self, njack: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJackDescription3)(windows_core::Interface::as_raw(self), njack, &mut result__).map(|| result__) } } @@ -517,7 +517,7 @@ windows_core::imp::define_interface!(IKsJackSinkInformation, IKsJackSinkInformat impl std::ops::Deref for IKsJackSinkInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsJackSinkInformation, windows_core::IUnknown); @@ -535,7 +535,7 @@ windows_core::imp::define_interface!(IKsNodeControl, IKsNodeControl_Vtbl, 0x1173 impl std::ops::Deref for IKsNodeControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsNodeControl, windows_core::IUnknown); @@ -557,7 +557,7 @@ windows_core::imp::define_interface!(IKsNotifyEvent, IKsNotifyEvent_Vtbl, 0x412b impl std::ops::Deref for IKsNotifyEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsNotifyEvent, windows_core::IUnknown); @@ -575,7 +575,7 @@ windows_core::imp::define_interface!(IKsObject, IKsObject_Vtbl, 0x423c13a2_2070_ impl std::ops::Deref for IKsObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsObject, windows_core::IUnknown); @@ -593,17 +593,17 @@ windows_core::imp::define_interface!(IKsPin, IKsPin_Vtbl, 0xb61178d1_a2d9_11cf_9 impl std::ops::Deref for IKsPin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsPin, windows_core::IUnknown); impl IKsPin { pub unsafe fn KsQueryMediums(&self) -> windows_core::Result<*mut KSMULTIPLE_ITEM> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsQueryMediums)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KsQueryInterfaces(&self) -> windows_core::Result<*mut KSMULTIPLE_ITEM> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsQueryInterfaces)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KsCreateSinkPinHandle(&self, interface: *const KSIDENTIFIER, medium: *const KSIDENTIFIER) -> windows_core::Result<()> { @@ -679,7 +679,7 @@ windows_core::imp::define_interface!(IKsPinEx, IKsPinEx_Vtbl, 0x7bb38260_d19c_11 impl std::ops::Deref for IKsPinEx { type Target = IKsPin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsPinEx, windows_core::IUnknown, IKsPin); @@ -704,13 +704,13 @@ windows_core::imp::define_interface!(IKsPinFactory, IKsPinFactory_Vtbl, 0xcd5ebe impl std::ops::Deref for IKsPinFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsPinFactory, windows_core::IUnknown); impl IKsPinFactory { pub unsafe fn KsPinFactory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KsPinFactory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -723,7 +723,7 @@ windows_core::imp::define_interface!(IKsPinPipe, IKsPinPipe_Vtbl, 0xe539cd90_a8b impl std::ops::Deref for IKsPinPipe { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsPinPipe, windows_core::IUnknown); @@ -790,7 +790,7 @@ windows_core::imp::define_interface!(IKsPropertySet, IKsPropertySet_Vtbl, 0x31ef impl std::ops::Deref for IKsPropertySet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsPropertySet, windows_core::IUnknown); @@ -802,7 +802,7 @@ impl IKsPropertySet { (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), guidpropset, dwpropid, pinstancedata, cbinstancedata, ppropdata, cbpropdata, pcbreturned).ok() } pub unsafe fn QuerySupported(&self, guidpropset: *const windows_core::GUID, dwpropid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuerySupported)(windows_core::Interface::as_raw(self), guidpropset, dwpropid, &mut result__).map(|| result__) } } @@ -817,7 +817,7 @@ windows_core::imp::define_interface!(IKsQualityForwarder, IKsQualityForwarder_Vt impl std::ops::Deref for IKsQualityForwarder { type Target = IKsObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsQualityForwarder, windows_core::IUnknown, IKsObject); @@ -838,7 +838,7 @@ windows_core::imp::define_interface!(IKsTopology, IKsTopology_Vtbl, 0x28f54683_0 impl std::ops::Deref for IKsTopology { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsTopology, windows_core::IUnknown); @@ -859,36 +859,36 @@ windows_core::imp::define_interface!(IKsTopologyInfo, IKsTopologyInfo_Vtbl, 0x72 impl std::ops::Deref for IKsTopologyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKsTopologyInfo, windows_core::IUnknown); impl IKsTopologyInfo { pub unsafe fn NumCategories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumCategories)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Category(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Category)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| result__) } pub unsafe fn NumConnections(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumConnections)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_ConnectionInfo(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ConnectionInfo)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| 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, pdwnamelen).ok() } pub unsafe fn NumNodes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumNodes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_NodeType(&self, dwnodeid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_NodeType)(windows_core::Interface::as_raw(self), dwnodeid, &mut result__).map(|| result__) } pub unsafe fn CreateNodeInstance(&self, dwnodeid: u32, iid: *const windows_core::GUID, ppvobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -4188,7 +4188,7 @@ pub struct ALLOCATOR_PROPERTIES_EX { pub AllocatorPlace: PIPE_ALLOCATOR_PLACE, pub Dimensions: PIPE_DIMENSIONS, pub PhysicalRange: KS_FRAMING_RANGE, - pub PrevSegment: std::mem::ManuallyDrop>, + pub PrevSegment: core::mem::ManuallyDrop>, pub CountNextSegments: u32, pub NextSegments: *mut Option, pub InsideFactors: u32, @@ -8976,8 +8976,8 @@ impl Default for KSSTREAM_METADATA_INFO { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct KSSTREAM_SEGMENT { - pub KsInterfaceHandler: std::mem::ManuallyDrop>, - pub KsDataTypeHandler: std::mem::ManuallyDrop>, + pub KsInterfaceHandler: core::mem::ManuallyDrop>, + pub KsDataTypeHandler: core::mem::ManuallyDrop>, pub IoOperation: KSIOOPERATION, pub CompletionEvent: super::super::Foundation::HANDLE, } diff --git a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs index 07dd7e71bc..24de76668a 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs @@ -10,7 +10,7 @@ impl windows_core::RuntimeName for IWindowsMediaLibrarySharingDevice {} #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingDevice_Vtbl { pub const fn new, Impl: IWindowsMediaLibrarySharingDevice_Impl, const OFFSET: isize>() -> IWindowsMediaLibrarySharingDevice_Vtbl { - unsafe extern "system" fn DeviceID, Impl: IWindowsMediaLibrarySharingDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceID, Impl: IWindowsMediaLibrarySharingDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDevice_Impl::DeviceID(this) { @@ -93,7 +93,7 @@ impl IWindowsMediaLibrarySharingDeviceProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IWindowsMediaLibrarySharingDeviceProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, property: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IWindowsMediaLibrarySharingDeviceProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, property: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDeviceProperties_Impl::GetProperty(this, core::mem::transmute(&name)) { @@ -125,7 +125,7 @@ impl windows_core::RuntimeName for IWindowsMediaLibrarySharingDeviceProperty {} #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingDeviceProperty_Vtbl { pub const fn new, Impl: IWindowsMediaLibrarySharingDeviceProperty_Impl, const OFFSET: isize>() -> IWindowsMediaLibrarySharingDeviceProperty_Vtbl { - unsafe extern "system" fn Name, Impl: IWindowsMediaLibrarySharingDeviceProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IWindowsMediaLibrarySharingDeviceProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDeviceProperty_Impl::Name(this) { @@ -136,7 +136,7 @@ impl IWindowsMediaLibrarySharingDeviceProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: IWindowsMediaLibrarySharingDeviceProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IWindowsMediaLibrarySharingDeviceProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDeviceProperty_Impl::Value(this) { @@ -190,7 +190,7 @@ impl IWindowsMediaLibrarySharingDevices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDevice, Impl: IWindowsMediaLibrarySharingDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: std::mem::MaybeUninit, device: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetDevice, Impl: IWindowsMediaLibrarySharingDevices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceid: core::mem::MaybeUninit, device: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsMediaLibrarySharingDevices_Impl::GetDevice(this, core::mem::transmute(&deviceid)) { @@ -239,7 +239,7 @@ impl windows_core::RuntimeName for IWindowsMediaLibrarySharingServices {} #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingServices_Vtbl { pub const fn new, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>() -> IWindowsMediaLibrarySharingServices_Vtbl { - unsafe extern "system" fn showShareMediaCPL, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, device: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn showShareMediaCPL, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, device: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWindowsMediaLibrarySharingServices_Impl::showShareMediaCPL(this, core::mem::transmute(&device)).into() @@ -260,7 +260,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); IWindowsMediaLibrarySharingServices_Impl::SetuserHomeMediaSharingState(this, core::mem::transmute_copy(&sharingenabled)).into() } - unsafe extern "system" fn userHomeMediaSharingLibraryName, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, libraryname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn userHomeMediaSharingLibraryName, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, libraryname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::userHomeMediaSharingLibraryName(this) { @@ -271,7 +271,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetuserHomeMediaSharingLibraryName, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, libraryname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetuserHomeMediaSharingLibraryName, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, libraryname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWindowsMediaLibrarySharingServices_Impl::SetuserHomeMediaSharingLibraryName(this, core::mem::transmute(&libraryname)).into() @@ -324,7 +324,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); IWindowsMediaLibrarySharingServices_Impl::SetcomputerInternetMediaSharingAllowedState(this, core::mem::transmute_copy(&sharingallowed)).into() } - unsafe extern "system" fn internetMediaSharingSecurityGroup, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securitygroup: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn internetMediaSharingSecurityGroup, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securitygroup: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsMediaLibrarySharingServices_Impl::internetMediaSharingSecurityGroup(this) { @@ -335,7 +335,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetinternetMediaSharingSecurityGroup, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securitygroup: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetinternetMediaSharingSecurityGroup, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securitygroup: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWindowsMediaLibrarySharingServices_Impl::SetinternetMediaSharingSecurityGroup(this, core::mem::transmute(&securitygroup)).into() @@ -356,12 +356,12 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { let this = (*this).get_impl(); IWindowsMediaLibrarySharingServices_Impl::SetallowSharingToAllDevices(this, core::mem::transmute_copy(&sharingenabled)).into() } - unsafe extern "system" fn setDefaultAuthorization, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, macaddresses: std::mem::MaybeUninit, friendlyname: std::mem::MaybeUninit, authorization: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn setDefaultAuthorization, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, macaddresses: core::mem::MaybeUninit, friendlyname: core::mem::MaybeUninit, authorization: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWindowsMediaLibrarySharingServices_Impl::setDefaultAuthorization(this, core::mem::transmute(&macaddresses), core::mem::transmute(&friendlyname), core::mem::transmute_copy(&authorization)).into() } - unsafe extern "system" fn setAuthorizationState, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, macaddress: std::mem::MaybeUninit, authorizationstate: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn setAuthorizationState, Impl: IWindowsMediaLibrarySharingServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, macaddress: core::mem::MaybeUninit, authorizationstate: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWindowsMediaLibrarySharingServices_Impl::setAuthorizationState(this, core::mem::transmute(&macaddress), core::mem::transmute_copy(&authorizationstate)).into() 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 c46b0a5b51..e92691d1d1 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDevice, IWindows impl std::ops::Deref for IWindowsMediaLibrarySharingDevice { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -12,11 +12,11 @@ windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevice, windo #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingDevice { pub unsafe fn DeviceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Authorization(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Authorization)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAuthorization(&self, authorization: WindowsMediaLibrarySharingDeviceAuthorizationStatus) -> windows_core::Result<()> { @@ -24,7 +24,7 @@ impl IWindowsMediaLibrarySharingDevice { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -32,7 +32,7 @@ impl IWindowsMediaLibrarySharingDevice { #[repr(C)] pub struct IWindowsMediaLibrarySharingDevice_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub DeviceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Authorization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WindowsMediaLibrarySharingDeviceAuthorizationStatus) -> windows_core::HRESULT, pub SetAuthorization: unsafe extern "system" fn(*mut core::ffi::c_void, WindowsMediaLibrarySharingDeviceAuthorizationStatus) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -46,7 +46,7 @@ windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDeviceProperties impl std::ops::Deref for IWindowsMediaLibrarySharingDeviceProperties { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -55,11 +55,11 @@ windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevicePropert impl IWindowsMediaLibrarySharingDeviceProperties { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -67,7 +67,7 @@ impl IWindowsMediaLibrarySharingDeviceProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -81,7 +81,7 @@ pub struct IWindowsMediaLibrarySharingDeviceProperties_Vtbl { get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetProperty: usize, } @@ -91,7 +91,7 @@ windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDeviceProperty, impl std::ops::Deref for IWindowsMediaLibrarySharingDeviceProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -99,11 +99,11 @@ windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevicePropert #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingDeviceProperty { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -111,8 +111,8 @@ impl IWindowsMediaLibrarySharingDeviceProperty { #[repr(C)] pub struct IWindowsMediaLibrarySharingDeviceProperty_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDevices, IWindowsMediaLibrarySharingDevices_Vtbl, 0x1803f9d6_fe6d_4546_bf5b_992fe8ec12d1); @@ -120,7 +120,7 @@ windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDevices, IWindow impl std::ops::Deref for IWindowsMediaLibrarySharingDevices { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -129,11 +129,11 @@ windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevices, wind impl IWindowsMediaLibrarySharingDevices { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -141,7 +141,7 @@ impl IWindowsMediaLibrarySharingDevices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), deviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -155,7 +155,7 @@ pub struct IWindowsMediaLibrarySharingDevices_Vtbl { get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetDevice: usize, } @@ -165,7 +165,7 @@ windows_core::imp::define_interface!(IWindowsMediaLibrarySharingServices, IWindo impl std::ops::Deref for IWindowsMediaLibrarySharingServices { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -179,7 +179,7 @@ impl IWindowsMediaLibrarySharingServices { (windows_core::Interface::vtable(self).showShareMediaCPL)(windows_core::Interface::as_raw(self), device.param().abi()).ok() } pub unsafe fn userHomeMediaSharingState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).userHomeMediaSharingState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetuserHomeMediaSharingState(&self, sharingenabled: P0) -> windows_core::Result<()> @@ -189,7 +189,7 @@ impl IWindowsMediaLibrarySharingServices { (windows_core::Interface::vtable(self).SetuserHomeMediaSharingState)(windows_core::Interface::as_raw(self), sharingenabled.param().abi()).ok() } pub unsafe fn userHomeMediaSharingLibraryName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).userHomeMediaSharingLibraryName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetuserHomeMediaSharingLibraryName(&self, libraryname: P0) -> windows_core::Result<()> @@ -199,7 +199,7 @@ impl IWindowsMediaLibrarySharingServices { (windows_core::Interface::vtable(self).SetuserHomeMediaSharingLibraryName)(windows_core::Interface::as_raw(self), libraryname.param().abi()).ok() } pub unsafe fn computerHomeMediaSharingAllowedState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).computerHomeMediaSharingAllowedState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetcomputerHomeMediaSharingAllowedState(&self, sharingallowed: P0) -> windows_core::Result<()> @@ -209,7 +209,7 @@ impl IWindowsMediaLibrarySharingServices { (windows_core::Interface::vtable(self).SetcomputerHomeMediaSharingAllowedState)(windows_core::Interface::as_raw(self), sharingallowed.param().abi()).ok() } pub unsafe fn userInternetMediaSharingState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).userInternetMediaSharingState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetuserInternetMediaSharingState(&self, sharingenabled: P0) -> windows_core::Result<()> @@ -219,7 +219,7 @@ impl IWindowsMediaLibrarySharingServices { (windows_core::Interface::vtable(self).SetuserInternetMediaSharingState)(windows_core::Interface::as_raw(self), sharingenabled.param().abi()).ok() } pub unsafe fn computerInternetMediaSharingAllowedState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).computerInternetMediaSharingAllowedState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetcomputerInternetMediaSharingAllowedState(&self, sharingallowed: P0) -> windows_core::Result<()> @@ -229,7 +229,7 @@ impl IWindowsMediaLibrarySharingServices { (windows_core::Interface::vtable(self).SetcomputerInternetMediaSharingAllowedState)(windows_core::Interface::as_raw(self), sharingallowed.param().abi()).ok() } pub unsafe fn internetMediaSharingSecurityGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).internetMediaSharingSecurityGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetinternetMediaSharingSecurityGroup(&self, securitygroup: P0) -> windows_core::Result<()> @@ -239,7 +239,7 @@ impl IWindowsMediaLibrarySharingServices { (windows_core::Interface::vtable(self).SetinternetMediaSharingSecurityGroup)(windows_core::Interface::as_raw(self), securitygroup.param().abi()).ok() } pub unsafe fn allowSharingToAllDevices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).allowSharingToAllDevices)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetallowSharingToAllDevices(&self, sharingenabled: P0) -> windows_core::Result<()> @@ -265,11 +265,11 @@ impl IWindowsMediaLibrarySharingServices { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn getAllDevices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAllDevices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn customSettingsApplied(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).customSettingsApplied)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -277,23 +277,23 @@ impl IWindowsMediaLibrarySharingServices { #[repr(C)] pub struct IWindowsMediaLibrarySharingServices_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub showShareMediaCPL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub showShareMediaCPL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub userHomeMediaSharingState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetuserHomeMediaSharingState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub userHomeMediaSharingLibraryName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetuserHomeMediaSharingLibraryName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub userHomeMediaSharingLibraryName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetuserHomeMediaSharingLibraryName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub computerHomeMediaSharingAllowedState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetcomputerHomeMediaSharingAllowedState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub userInternetMediaSharingState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetuserInternetMediaSharingState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub computerInternetMediaSharingAllowedState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetcomputerInternetMediaSharingAllowedState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub internetMediaSharingSecurityGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetinternetMediaSharingSecurityGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub internetMediaSharingSecurityGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetinternetMediaSharingSecurityGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub allowSharingToAllDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetallowSharingToAllDevices: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub setDefaultAuthorization: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub setAuthorizationState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub setDefaultAuthorization: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub setAuthorizationState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub getAllDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs index 2ed3a0554a..26af69af2f 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs @@ -147,7 +147,7 @@ impl ICodecAPI_Vtbl { let this = (*this).get_impl(); ICodecAPI_Impl::IsModifiable(this, core::mem::transmute_copy(&api)) } - unsafe extern "system" fn GetParameterRange, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, valuemin: *mut std::mem::MaybeUninit, valuemax: *mut std::mem::MaybeUninit, steppingdelta: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetParameterRange, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, valuemin: *mut core::mem::MaybeUninit, valuemax: *mut core::mem::MaybeUninit, steppingdelta: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICodecAPI_Impl::GetParameterRange(this, core::mem::transmute_copy(&api), core::mem::transmute_copy(&valuemin), core::mem::transmute_copy(&valuemax), core::mem::transmute_copy(&steppingdelta)).into() @@ -157,7 +157,7 @@ impl ICodecAPI_Vtbl { let this = (*this).get_impl(); ICodecAPI_Impl::GetParameterValues(this, core::mem::transmute_copy(&api), core::mem::transmute_copy(&values), core::mem::transmute_copy(&valuescount)).into() } - unsafe extern "system" fn GetDefaultValue, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDefaultValue, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICodecAPI_Impl::GetDefaultValue(this, core::mem::transmute_copy(&api)) { @@ -168,7 +168,7 @@ impl ICodecAPI_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICodecAPI_Impl::GetValue(this, core::mem::transmute_copy(&api)) { @@ -179,7 +179,7 @@ impl ICodecAPI_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICodecAPI_Impl::SetValue(this, core::mem::transmute_copy(&api), core::mem::transmute_copy(&value)).into() @@ -199,7 +199,7 @@ impl ICodecAPI_Vtbl { let this = (*this).get_impl(); ICodecAPI_Impl::SetAllDefaults(this).into() } - unsafe extern "system" fn SetValueWithNotify, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *const std::mem::MaybeUninit, changedparam: *mut *mut windows_core::GUID, changedparamcount: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn SetValueWithNotify, Impl: ICodecAPI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, api: *const windows_core::GUID, value: *const core::mem::MaybeUninit, changedparam: *mut *mut windows_core::GUID, changedparamcount: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICodecAPI_Impl::SetValueWithNotify(this, core::mem::transmute_copy(&api), core::mem::transmute_copy(&value), core::mem::transmute_copy(&changedparam), core::mem::transmute_copy(&changedparamcount)).into() @@ -2639,7 +2639,7 @@ impl IMFASFIndexer_Vtbl { let this = (*this).get_impl(); IMFASFIndexer_Impl::SetIndexStatus(this, core::mem::transmute_copy(&pbindexdescriptor), core::mem::transmute_copy(&cbindexdescriptor), core::mem::transmute_copy(&fgenerateindex)).into() } - unsafe extern "system" fn GetSeekPositionForValue, Impl: IMFASFIndexer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *const std::mem::MaybeUninit, pindexidentifier: *const ASF_INDEX_IDENTIFIER, pcboffsetwithindata: *mut u64, phnsapproxtime: *mut i64, pdwpayloadnumberofstreamwithinpacket: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetSeekPositionForValue, Impl: IMFASFIndexer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *const core::mem::MaybeUninit, pindexidentifier: *const ASF_INDEX_IDENTIFIER, pcboffsetwithindata: *mut u64, phnsapproxtime: *mut i64, pdwpayloadnumberofstreamwithinpacket: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFASFIndexer_Impl::GetSeekPositionForValue(this, core::mem::transmute_copy(&pvarvalue), core::mem::transmute_copy(&pindexidentifier), core::mem::transmute_copy(&pcboffsetwithindata), core::mem::transmute_copy(&phnsapproxtime), core::mem::transmute_copy(&pdwpayloadnumberofstreamwithinpacket)).into() @@ -3667,7 +3667,7 @@ pub trait IMFAttributes_Impl: Sized { impl windows_core::RuntimeName for IMFAttributes {} impl IMFAttributes_Vtbl { pub const fn new, Impl: IMFAttributes_Impl, const OFFSET: isize>() -> IMFAttributes_Vtbl { - unsafe extern "system" fn GetItem, Impl: IMFAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidkey: *const windows_core::GUID, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetItem, Impl: IMFAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidkey: *const windows_core::GUID, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFAttributes_Impl::GetItem(this, core::mem::transmute_copy(&guidkey), core::mem::transmute_copy(&pvalue)).into() @@ -3683,7 +3683,7 @@ impl IMFAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CompareItem, Impl: IMFAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidkey: *const windows_core::GUID, value: *const std::mem::MaybeUninit, pbresult: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn CompareItem, Impl: IMFAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidkey: *const windows_core::GUID, value: *const core::mem::MaybeUninit, pbresult: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFAttributes_Impl::CompareItem(this, core::mem::transmute_copy(&guidkey), core::mem::transmute_copy(&value)) { @@ -3796,7 +3796,7 @@ impl IMFAttributes_Vtbl { let this = (*this).get_impl(); IMFAttributes_Impl::GetUnknown(this, core::mem::transmute_copy(&guidkey), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppv)).into() } - unsafe extern "system" fn SetItem, Impl: IMFAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidkey: *const windows_core::GUID, value: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetItem, Impl: IMFAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidkey: *const windows_core::GUID, value: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFAttributes_Impl::SetItem(this, core::mem::transmute_copy(&guidkey), core::mem::transmute_copy(&value)).into() @@ -3867,7 +3867,7 @@ impl IMFAttributes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetItemByIndex, Impl: IMFAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unindex: u32, pguidkey: *mut windows_core::GUID, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemByIndex, Impl: IMFAttributes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unindex: u32, pguidkey: *mut windows_core::GUID, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFAttributes_Impl::GetItemByIndex(this, core::mem::transmute_copy(&unindex), core::mem::transmute_copy(&pguidkey), core::mem::transmute_copy(&pvalue)).into() @@ -6150,7 +6150,7 @@ pub trait IMFDRMNetHelper_Impl: Sized { impl windows_core::RuntimeName for IMFDRMNetHelper {} impl IMFDRMNetHelper_Vtbl { pub const fn new, Impl: IMFDRMNetHelper_Impl, const OFFSET: isize>() -> IMFDRMNetHelper_Vtbl { - unsafe extern "system" fn ProcessLicenseRequest, Impl: IMFDRMNetHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plicenserequest: *const u8, cblicenserequest: u32, pplicenseresponse: *mut *mut u8, pcblicenseresponse: *mut u32, pbstrkid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProcessLicenseRequest, Impl: IMFDRMNetHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plicenserequest: *const u8, cblicenserequest: u32, pplicenseresponse: *mut *mut u8, pcblicenseresponse: *mut u32, pbstrkid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFDRMNetHelper_Impl::ProcessLicenseRequest(this, core::mem::transmute_copy(&plicenserequest), core::mem::transmute_copy(&cblicenserequest), core::mem::transmute_copy(&pplicenseresponse), core::mem::transmute_copy(&pcblicenseresponse), core::mem::transmute_copy(&pbstrkid)).into() @@ -6811,7 +6811,7 @@ pub trait IMFExtendedDRMTypeSupport_Impl: Sized { impl windows_core::RuntimeName for IMFExtendedDRMTypeSupport {} impl IMFExtendedDRMTypeSupport_Vtbl { pub const fn new, Impl: IMFExtendedDRMTypeSupport_Impl, const OFFSET: isize>() -> IMFExtendedDRMTypeSupport_Vtbl { - unsafe extern "system" fn IsTypeSupportedEx, Impl: IMFExtendedDRMTypeSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: std::mem::MaybeUninit, keysystem: std::mem::MaybeUninit, panswer: *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT { + unsafe extern "system" fn IsTypeSupportedEx, Impl: IMFExtendedDRMTypeSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: core::mem::MaybeUninit, keysystem: core::mem::MaybeUninit, panswer: *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFExtendedDRMTypeSupport_Impl::IsTypeSupportedEx(this, core::mem::transmute(&r#type), core::mem::transmute(&keysystem)) { @@ -7182,7 +7182,7 @@ pub trait IMFImageSharingEngineClassFactory_Impl: Sized { impl windows_core::RuntimeName for IMFImageSharingEngineClassFactory {} impl IMFImageSharingEngineClassFactory_Vtbl { pub const fn new, Impl: IMFImageSharingEngineClassFactory_Impl, const OFFSET: isize>() -> IMFImageSharingEngineClassFactory_Vtbl { - unsafe extern "system" fn CreateInstanceFromUDN, Impl: IMFImageSharingEngineClassFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puniquedevicename: std::mem::MaybeUninit, ppengine: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstanceFromUDN, Impl: IMFImageSharingEngineClassFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puniquedevicename: core::mem::MaybeUninit, ppengine: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFImageSharingEngineClassFactory_Impl::CreateInstanceFromUDN(this, core::mem::transmute(&puniquedevicename)) { @@ -7411,12 +7411,12 @@ impl IMFMediaEngine_Vtbl { let this = (*this).get_impl(); IMFMediaEngine_Impl::SetSourceElements(this, windows_core::from_raw_borrowed(&psrcelements)).into() } - unsafe extern "system" fn SetSource, Impl: IMFMediaEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSource, Impl: IMFMediaEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaEngine_Impl::SetSource(this, core::mem::transmute(&purl)).into() } - unsafe extern "system" fn GetCurrentSource, Impl: IMFMediaEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCurrentSource, Impl: IMFMediaEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngine_Impl::GetCurrentSource(this) { @@ -7458,7 +7458,7 @@ impl IMFMediaEngine_Vtbl { let this = (*this).get_impl(); IMFMediaEngine_Impl::Load(this).into() } - unsafe extern "system" fn CanPlayType, Impl: IMFMediaEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: std::mem::MaybeUninit, panswer: *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT { + unsafe extern "system" fn CanPlayType, Impl: IMFMediaEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: core::mem::MaybeUninit, panswer: *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngine_Impl::CanPlayType(this, core::mem::transmute(&r#type)) { @@ -7783,7 +7783,7 @@ pub trait IMFMediaEngineClassFactory2_Impl: Sized { impl windows_core::RuntimeName for IMFMediaEngineClassFactory2 {} impl IMFMediaEngineClassFactory2_Vtbl { pub const fn new, Impl: IMFMediaEngineClassFactory2_Impl, const OFFSET: isize>() -> IMFMediaEngineClassFactory2_Vtbl { - unsafe extern "system" fn CreateMediaKeys2, Impl: IMFMediaEngineClassFactory2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: std::mem::MaybeUninit, defaultcdmstorepath: std::mem::MaybeUninit, inprivatecdmstorepath: std::mem::MaybeUninit, ppkeys: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateMediaKeys2, Impl: IMFMediaEngineClassFactory2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: core::mem::MaybeUninit, defaultcdmstorepath: core::mem::MaybeUninit, inprivatecdmstorepath: core::mem::MaybeUninit, ppkeys: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineClassFactory2_Impl::CreateMediaKeys2(this, core::mem::transmute(&keysystem), core::mem::transmute(&defaultcdmstorepath), core::mem::transmute(&inprivatecdmstorepath)) { @@ -7809,7 +7809,7 @@ impl windows_core::RuntimeName for IMFMediaEngineClassFactory3 {} #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl IMFMediaEngineClassFactory3_Vtbl { pub const fn new, Impl: IMFMediaEngineClassFactory3_Impl, const OFFSET: isize>() -> IMFMediaEngineClassFactory3_Vtbl { - unsafe extern "system" fn CreateMediaKeySystemAccess, Impl: IMFMediaEngineClassFactory3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: std::mem::MaybeUninit, ppsupportedconfigurationsarray: *const *mut core::ffi::c_void, usize: u32, ppkeyaccess: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateMediaKeySystemAccess, Impl: IMFMediaEngineClassFactory3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: core::mem::MaybeUninit, ppsupportedconfigurationsarray: *const *mut core::ffi::c_void, usize: u32, ppkeyaccess: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineClassFactory3_Impl::CreateMediaKeySystemAccess(this, core::mem::transmute(&keysystem), core::mem::transmute_copy(&ppsupportedconfigurationsarray), core::mem::transmute_copy(&usize)) { @@ -7865,7 +7865,7 @@ impl IMFMediaEngineClassFactoryEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateMediaKeys, Impl: IMFMediaEngineClassFactoryEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: std::mem::MaybeUninit, cdmstorepath: std::mem::MaybeUninit, ppkeys: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateMediaKeys, Impl: IMFMediaEngineClassFactoryEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: core::mem::MaybeUninit, cdmstorepath: core::mem::MaybeUninit, ppkeys: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineClassFactoryEx_Impl::CreateMediaKeys(this, core::mem::transmute(&keysystem), core::mem::transmute(&cdmstorepath)) { @@ -7876,7 +7876,7 @@ impl IMFMediaEngineClassFactoryEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsTypeSupported, Impl: IMFMediaEngineClassFactoryEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: std::mem::MaybeUninit, keysystem: std::mem::MaybeUninit, issupported: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsTypeSupported, Impl: IMFMediaEngineClassFactoryEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: core::mem::MaybeUninit, keysystem: core::mem::MaybeUninit, issupported: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineClassFactoryEx_Impl::IsTypeSupported(this, core::mem::transmute(&r#type), core::mem::transmute(&keysystem)) { @@ -7938,7 +7938,7 @@ pub trait IMFMediaEngineEMENotify_Impl: Sized { impl windows_core::RuntimeName for IMFMediaEngineEMENotify {} impl IMFMediaEngineEMENotify_Vtbl { pub const fn new, Impl: IMFMediaEngineEMENotify_Impl, const OFFSET: isize>() -> IMFMediaEngineEMENotify_Vtbl { - unsafe extern "system" fn Encrypted, Impl: IMFMediaEngineEMENotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbinitdata: *const u8, cb: u32, bstrinitdatatype: std::mem::MaybeUninit) { + unsafe extern "system" fn Encrypted, Impl: IMFMediaEngineEMENotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbinitdata: *const u8, cb: u32, bstrinitdatatype: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaEngineEMENotify_Impl::Encrypted(this, core::mem::transmute_copy(&pbinitdata), core::mem::transmute_copy(&cb), core::mem::transmute(&bstrinitdatatype)) @@ -8000,12 +8000,12 @@ pub trait IMFMediaEngineEx_Impl: Sized + IMFMediaEngine_Impl { impl windows_core::RuntimeName for IMFMediaEngineEx {} impl IMFMediaEngineEx_Vtbl { pub const fn new, Impl: IMFMediaEngineEx_Impl, const OFFSET: isize>() -> IMFMediaEngineEx_Vtbl { - unsafe extern "system" fn SetSourceFromByteStream, Impl: IMFMediaEngineEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbytestream: *mut core::ffi::c_void, purl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSourceFromByteStream, Impl: IMFMediaEngineEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbytestream: *mut core::ffi::c_void, purl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaEngineEx_Impl::SetSourceFromByteStream(this, windows_core::from_raw_borrowed(&pbytestream), core::mem::transmute(&purl)).into() } - unsafe extern "system" fn GetStatistics, Impl: IMFMediaEngineEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, statisticid: MF_MEDIA_ENGINE_STATISTIC, pstatistic: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStatistics, Impl: IMFMediaEngineEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, statisticid: MF_MEDIA_ENGINE_STATISTIC, pstatistic: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetStatistics(this, core::mem::transmute_copy(&statisticid)) { @@ -8052,7 +8052,7 @@ impl IMFMediaEngineEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPresentationAttribute, Impl: IMFMediaEngineEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidmfattribute: *const windows_core::GUID, pvvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPresentationAttribute, Impl: IMFMediaEngineEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidmfattribute: *const windows_core::GUID, pvvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetPresentationAttribute(this, core::mem::transmute_copy(&guidmfattribute)) { @@ -8074,7 +8074,7 @@ impl IMFMediaEngineEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStreamAttribute, Impl: IMFMediaEngineEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwstreamindex: u32, guidmfattribute: *const windows_core::GUID, pvvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStreamAttribute, Impl: IMFMediaEngineEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwstreamindex: u32, guidmfattribute: *const windows_core::GUID, pvvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineEx_Impl::GetStreamAttribute(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&guidmfattribute)) { @@ -8323,7 +8323,7 @@ pub trait IMFMediaEngineExtension_Impl: Sized { impl windows_core::RuntimeName for IMFMediaEngineExtension {} impl IMFMediaEngineExtension_Vtbl { pub const fn new, Impl: IMFMediaEngineExtension_Impl, const OFFSET: isize>() -> IMFMediaEngineExtension_Vtbl { - unsafe extern "system" fn CanPlayType, Impl: IMFMediaEngineExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, audioonly: super::super::Foundation::BOOL, mimetype: std::mem::MaybeUninit, panswer: *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT { + unsafe extern "system" fn CanPlayType, Impl: IMFMediaEngineExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, audioonly: super::super::Foundation::BOOL, mimetype: core::mem::MaybeUninit, panswer: *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineExtension_Impl::CanPlayType(this, core::mem::transmute_copy(&audioonly), core::mem::transmute(&mimetype)) { @@ -8334,7 +8334,7 @@ impl IMFMediaEngineExtension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BeginCreateObject, Impl: IMFMediaEngineExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, pbytestream: *mut core::ffi::c_void, r#type: MF_OBJECT_TYPE, ppiunknowncancelcookie: *mut *mut core::ffi::c_void, pcallback: *mut core::ffi::c_void, punkstate: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn BeginCreateObject, Impl: IMFMediaEngineExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, pbytestream: *mut core::ffi::c_void, r#type: MF_OBJECT_TYPE, ppiunknowncancelcookie: *mut *mut core::ffi::c_void, pcallback: *mut core::ffi::c_void, punkstate: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaEngineExtension_Impl::BeginCreateObject(this, core::mem::transmute(&bstrurl), windows_core::from_raw_borrowed(&pbytestream), core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&ppiunknowncancelcookie), windows_core::from_raw_borrowed(&pcallback), windows_core::from_raw_borrowed(&punkstate)).into() @@ -8501,7 +8501,7 @@ impl IMFMediaEngineSrcElements_Vtbl { let this = (*this).get_impl(); IMFMediaEngineSrcElements_Impl::GetLength(this) } - unsafe extern "system" fn GetURL, Impl: IMFMediaEngineSrcElements_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, purl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetURL, Impl: IMFMediaEngineSrcElements_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, purl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineSrcElements_Impl::GetURL(this, core::mem::transmute_copy(&index)) { @@ -8512,7 +8512,7 @@ impl IMFMediaEngineSrcElements_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetType, Impl: IMFMediaEngineSrcElements_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, ptype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetType, Impl: IMFMediaEngineSrcElements_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, ptype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineSrcElements_Impl::GetType(this, core::mem::transmute_copy(&index)) { @@ -8523,7 +8523,7 @@ impl IMFMediaEngineSrcElements_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMedia, Impl: IMFMediaEngineSrcElements_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, pmedia: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMedia, Impl: IMFMediaEngineSrcElements_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, pmedia: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineSrcElements_Impl::GetMedia(this, core::mem::transmute_copy(&index)) { @@ -8534,7 +8534,7 @@ impl IMFMediaEngineSrcElements_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddElement, Impl: IMFMediaEngineSrcElements_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: std::mem::MaybeUninit, ptype: std::mem::MaybeUninit, pmedia: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddElement, Impl: IMFMediaEngineSrcElements_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: core::mem::MaybeUninit, ptype: core::mem::MaybeUninit, pmedia: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaEngineSrcElements_Impl::AddElement(this, core::mem::transmute(&purl), core::mem::transmute(&ptype), core::mem::transmute(&pmedia)).into() @@ -8565,12 +8565,12 @@ pub trait IMFMediaEngineSrcElementsEx_Impl: Sized + IMFMediaEngineSrcElements_Im impl windows_core::RuntimeName for IMFMediaEngineSrcElementsEx {} impl IMFMediaEngineSrcElementsEx_Vtbl { pub const fn new, Impl: IMFMediaEngineSrcElementsEx_Impl, const OFFSET: isize>() -> IMFMediaEngineSrcElementsEx_Vtbl { - unsafe extern "system" fn AddElementEx, Impl: IMFMediaEngineSrcElementsEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: std::mem::MaybeUninit, ptype: std::mem::MaybeUninit, pmedia: std::mem::MaybeUninit, keysystem: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddElementEx, Impl: IMFMediaEngineSrcElementsEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: core::mem::MaybeUninit, ptype: core::mem::MaybeUninit, pmedia: core::mem::MaybeUninit, keysystem: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaEngineSrcElementsEx_Impl::AddElementEx(this, core::mem::transmute(&purl), core::mem::transmute(&ptype), core::mem::transmute(&pmedia), core::mem::transmute(&keysystem)).into() } - unsafe extern "system" fn GetKeySystem, Impl: IMFMediaEngineSrcElementsEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, ptype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetKeySystem, Impl: IMFMediaEngineSrcElementsEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, ptype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEngineSrcElementsEx_Impl::GetKeySystem(this, core::mem::transmute_copy(&index)) { @@ -8774,7 +8774,7 @@ impl IMFMediaEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: IMFMediaEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IMFMediaEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaEvent_Impl::GetValue(this) { @@ -8833,7 +8833,7 @@ impl IMFMediaEventGenerator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn QueueEvent, Impl: IMFMediaEventGenerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, met: u32, guidextendedtype: *const windows_core::GUID, hrstatus: windows_core::HRESULT, pvvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueueEvent, Impl: IMFMediaEventGenerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, met: u32, guidextendedtype: *const windows_core::GUID, hrstatus: windows_core::HRESULT, pvvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaEventGenerator_Impl::QueueEvent(this, core::mem::transmute_copy(&met), core::mem::transmute_copy(&guidextendedtype), core::mem::transmute_copy(&hrstatus), core::mem::transmute_copy(&pvvalue)).into() @@ -8894,7 +8894,7 @@ impl IMFMediaEventQueue_Vtbl { let this = (*this).get_impl(); IMFMediaEventQueue_Impl::QueueEvent(this, windows_core::from_raw_borrowed(&pevent)).into() } - unsafe extern "system" fn QueueEventParamVar, Impl: IMFMediaEventQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, met: u32, guidextendedtype: *const windows_core::GUID, hrstatus: windows_core::HRESULT, pvvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueueEventParamVar, Impl: IMFMediaEventQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, met: u32, guidextendedtype: *const windows_core::GUID, hrstatus: windows_core::HRESULT, pvvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaEventQueue_Impl::QueueEventParamVar(this, core::mem::transmute_copy(&met), core::mem::transmute_copy(&guidextendedtype), core::mem::transmute_copy(&hrstatus), core::mem::transmute_copy(&pvvalue)).into() @@ -8939,7 +8939,7 @@ impl IMFMediaKeySession_Vtbl { let this = (*this).get_impl(); IMFMediaKeySession_Impl::GetError(this, core::mem::transmute_copy(&code), core::mem::transmute_copy(&systemcode)).into() } - unsafe extern "system" fn KeySystem, Impl: IMFMediaKeySession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn KeySystem, Impl: IMFMediaKeySession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaKeySession_Impl::KeySystem(this) { @@ -8950,7 +8950,7 @@ impl IMFMediaKeySession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SessionId, Impl: IMFMediaKeySession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sessionid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SessionId, Impl: IMFMediaKeySession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sessionid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaKeySession_Impl::SessionId(this) { @@ -9000,7 +9000,7 @@ impl IMFMediaKeySession2_Vtbl { let this = (*this).get_impl(); IMFMediaKeySession2_Impl::get_KeyStatuses(this, core::mem::transmute_copy(&pkeystatusesarray), core::mem::transmute_copy(&pusize)).into() } - unsafe extern "system" fn Load, Impl: IMFMediaKeySession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsessionid: std::mem::MaybeUninit, pfloaded: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn Load, Impl: IMFMediaKeySession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsessionid: core::mem::MaybeUninit, pfloaded: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaKeySession2_Impl::Load(this, core::mem::transmute(&bstrsessionid)) { @@ -9011,7 +9011,7 @@ impl IMFMediaKeySession2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GenerateRequest, Impl: IMFMediaKeySession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, initdatatype: std::mem::MaybeUninit, pbinitdata: *const u8, cb: u32) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateRequest, Impl: IMFMediaKeySession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, initdatatype: core::mem::MaybeUninit, pbinitdata: *const u8, cb: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaKeySession2_Impl::GenerateRequest(this, core::mem::transmute(&initdatatype), core::mem::transmute_copy(&pbinitdata), core::mem::transmute_copy(&cb)).into() @@ -9059,7 +9059,7 @@ pub trait IMFMediaKeySessionNotify_Impl: Sized { impl windows_core::RuntimeName for IMFMediaKeySessionNotify {} impl IMFMediaKeySessionNotify_Vtbl { pub const fn new, Impl: IMFMediaKeySessionNotify_Impl, const OFFSET: isize>() -> IMFMediaKeySessionNotify_Vtbl { - unsafe extern "system" fn KeyMessage, Impl: IMFMediaKeySessionNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationurl: std::mem::MaybeUninit, message: *const u8, cb: u32) { + unsafe extern "system" fn KeyMessage, Impl: IMFMediaKeySessionNotify_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationurl: core::mem::MaybeUninit, message: *const u8, cb: u32) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaKeySessionNotify_Impl::KeyMessage(this, core::mem::transmute(&destinationurl), core::mem::transmute_copy(&message), core::mem::transmute_copy(&cb)) @@ -9092,7 +9092,7 @@ pub trait IMFMediaKeySessionNotify2_Impl: Sized + IMFMediaKeySessionNotify_Impl impl windows_core::RuntimeName for IMFMediaKeySessionNotify2 {} impl IMFMediaKeySessionNotify2_Vtbl { pub const fn new, Impl: IMFMediaKeySessionNotify2_Impl, const OFFSET: isize>() -> IMFMediaKeySessionNotify2_Vtbl { - unsafe extern "system" fn KeyMessage2, Impl: IMFMediaKeySessionNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, emessagetype: MF_MEDIAKEYSESSION_MESSAGETYPE, destinationurl: std::mem::MaybeUninit, pbmessage: *const u8, cbmessage: u32) { + unsafe extern "system" fn KeyMessage2, Impl: IMFMediaKeySessionNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, emessagetype: MF_MEDIAKEYSESSION_MESSAGETYPE, destinationurl: core::mem::MaybeUninit, pbmessage: *const u8, cbmessage: u32) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaKeySessionNotify2_Impl::KeyMessage2(this, core::mem::transmute_copy(&emessagetype), core::mem::transmute(&destinationurl), core::mem::transmute_copy(&pbmessage), core::mem::transmute_copy(&cbmessage)) @@ -9145,7 +9145,7 @@ impl IMFMediaKeySystemAccess_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn KeySystem, Impl: IMFMediaKeySystemAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkeysystem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn KeySystem, Impl: IMFMediaKeySystemAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkeysystem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaKeySystemAccess_Impl::KeySystem(this) { @@ -9176,7 +9176,7 @@ pub trait IMFMediaKeys_Impl: Sized { impl windows_core::RuntimeName for IMFMediaKeys {} impl IMFMediaKeys_Vtbl { pub const fn new, Impl: IMFMediaKeys_Impl, const OFFSET: isize>() -> IMFMediaKeys_Vtbl { - unsafe extern "system" fn CreateSession, Impl: IMFMediaKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mimetype: std::mem::MaybeUninit, initdata: *const u8, cb: u32, customdata: *const u8, cbcustomdata: u32, notify: *mut core::ffi::c_void, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateSession, Impl: IMFMediaKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mimetype: core::mem::MaybeUninit, initdata: *const u8, cb: u32, customdata: *const u8, cbcustomdata: u32, notify: *mut core::ffi::c_void, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaKeys_Impl::CreateSession(this, core::mem::transmute(&mimetype), core::mem::transmute_copy(&initdata), core::mem::transmute_copy(&cb), core::mem::transmute_copy(&customdata), core::mem::transmute_copy(&cbcustomdata), windows_core::from_raw_borrowed(¬ify)) { @@ -9187,7 +9187,7 @@ impl IMFMediaKeys_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn KeySystem, Impl: IMFMediaKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn KeySystem, Impl: IMFMediaKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keysystem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaKeys_Impl::KeySystem(this) { @@ -9297,7 +9297,7 @@ impl IMFMediaSession_Vtbl { let this = (*this).get_impl(); IMFMediaSession_Impl::ClearTopologies(this).into() } - unsafe extern "system" fn Start, Impl: IMFMediaSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidtimeformat: *const windows_core::GUID, pvarstartposition: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Start, Impl: IMFMediaSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidtimeformat: *const windows_core::GUID, pvarstartposition: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaSession_Impl::Start(this, core::mem::transmute_copy(&pguidtimeformat), core::mem::transmute_copy(&pvarstartposition)).into() @@ -9575,7 +9575,7 @@ impl IMFMediaSource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Start, Impl: IMFMediaSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppresentationdescriptor: *mut core::ffi::c_void, pguidtimeformat: *const windows_core::GUID, pvarstartposition: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Start, Impl: IMFMediaSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppresentationdescriptor: *mut core::ffi::c_void, pguidtimeformat: *const windows_core::GUID, pvarstartposition: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaSource_Impl::Start(this, windows_core::from_raw_borrowed(&ppresentationdescriptor), core::mem::transmute_copy(&pguidtimeformat), core::mem::transmute_copy(&pvarstartposition)).into() @@ -9712,7 +9712,7 @@ impl IMFMediaSourceExtension_Vtbl { let this = (*this).get_impl(); IMFMediaSourceExtension_Impl::SetDuration(this, core::mem::transmute_copy(&duration)).into() } - unsafe extern "system" fn AddSourceBuffer, Impl: IMFMediaSourceExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: std::mem::MaybeUninit, pnotify: *mut core::ffi::c_void, ppsourcebuffer: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddSourceBuffer, Impl: IMFMediaSourceExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: core::mem::MaybeUninit, pnotify: *mut core::ffi::c_void, ppsourcebuffer: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMediaSourceExtension_Impl::AddSourceBuffer(this, core::mem::transmute(&r#type), windows_core::from_raw_borrowed(&pnotify)) { @@ -9733,7 +9733,7 @@ impl IMFMediaSourceExtension_Vtbl { let this = (*this).get_impl(); IMFMediaSourceExtension_Impl::SetEndOfStream(this, core::mem::transmute_copy(&error)).into() } - unsafe extern "system" fn IsTypeSupported, Impl: IMFMediaSourceExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: std::mem::MaybeUninit) -> super::super::Foundation::BOOL { + unsafe extern "system" fn IsTypeSupported, Impl: IMFMediaSourceExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: core::mem::MaybeUninit) -> super::super::Foundation::BOOL { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMediaSourceExtension_Impl::IsTypeSupported(this, core::mem::transmute(&r#type)) @@ -10198,7 +10198,7 @@ impl IMFMetadata_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAllLanguages, Impl: IMFMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppvlanguages: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAllLanguages, Impl: IMFMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppvlanguages: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMetadata_Impl::GetAllLanguages(this) { @@ -10209,12 +10209,12 @@ impl IMFMetadata_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IMFMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszname: windows_core::PCWSTR, ppvvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IMFMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszname: windows_core::PCWSTR, ppvvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFMetadata_Impl::SetProperty(this, core::mem::transmute(&pwszname), core::mem::transmute_copy(&ppvvalue)).into() } - unsafe extern "system" fn GetProperty, Impl: IMFMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszname: windows_core::PCWSTR, ppvvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IMFMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszname: windows_core::PCWSTR, ppvvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMetadata_Impl::GetProperty(this, core::mem::transmute(&pwszname)) { @@ -10230,7 +10230,7 @@ impl IMFMetadata_Vtbl { let this = (*this).get_impl(); IMFMetadata_Impl::DeleteProperty(this, core::mem::transmute(&pwszname)).into() } - unsafe extern "system" fn GetAllPropertyNames, Impl: IMFMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppvnames: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAllPropertyNames, Impl: IMFMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppvnames: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFMetadata_Impl::GetAllPropertyNames(this) { @@ -11161,12 +11161,12 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); IMFPMediaItem_Impl::SetUserData(this, core::mem::transmute_copy(&dwuserdata)).into() } - unsafe extern "system" fn GetStartStopPosition, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidstartpositiontype: *mut windows_core::GUID, pvstartvalue: *mut std::mem::MaybeUninit, pguidstoppositiontype: *mut windows_core::GUID, pvstopvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStartStopPosition, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidstartpositiontype: *mut windows_core::GUID, pvstartvalue: *mut core::mem::MaybeUninit, pguidstoppositiontype: *mut windows_core::GUID, pvstopvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFPMediaItem_Impl::GetStartStopPosition(this, core::mem::transmute_copy(&pguidstartpositiontype), core::mem::transmute_copy(&pvstartvalue), core::mem::transmute_copy(&pguidstoppositiontype), core::mem::transmute_copy(&pvstopvalue)).into() } - unsafe extern "system" fn SetStartStopPosition, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidstartpositiontype: *const windows_core::GUID, pvstartvalue: *const std::mem::MaybeUninit, pguidstoppositiontype: *const windows_core::GUID, pvstopvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStartStopPosition, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidstartpositiontype: *const windows_core::GUID, pvstartvalue: *const core::mem::MaybeUninit, pguidstoppositiontype: *const windows_core::GUID, pvstopvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFPMediaItem_Impl::SetStartStopPosition(this, core::mem::transmute_copy(&pguidstartpositiontype), core::mem::transmute_copy(&pvstartvalue), core::mem::transmute_copy(&pguidstoppositiontype), core::mem::transmute_copy(&pvstopvalue)).into() @@ -11192,7 +11192,7 @@ impl IMFPMediaItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDuration, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidpositiontype: *const windows_core::GUID, pvdurationvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDuration, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidpositiontype: *const windows_core::GUID, pvdurationvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetDuration(this, core::mem::transmute_copy(&guidpositiontype)) { @@ -11230,7 +11230,7 @@ impl IMFPMediaItem_Vtbl { let this = (*this).get_impl(); IMFPMediaItem_Impl::SetStreamSelection(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&fenabled)).into() } - unsafe extern "system" fn GetStreamAttribute, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwstreamindex: u32, guidmfattribute: *const windows_core::GUID, pvvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStreamAttribute, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwstreamindex: u32, guidmfattribute: *const windows_core::GUID, pvvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetStreamAttribute(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&guidmfattribute)) { @@ -11241,7 +11241,7 @@ impl IMFPMediaItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPresentationAttribute, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidmfattribute: *const windows_core::GUID, pvvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPresentationAttribute, Impl: IMFPMediaItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidmfattribute: *const windows_core::GUID, pvvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFPMediaItem_Impl::GetPresentationAttribute(this, core::mem::transmute_copy(&guidmfattribute)) { @@ -11367,12 +11367,12 @@ impl IMFPMediaPlayer_Vtbl { let this = (*this).get_impl(); IMFPMediaPlayer_Impl::FrameStep(this).into() } - unsafe extern "system" fn SetPosition, Impl: IMFPMediaPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidpositiontype: *const windows_core::GUID, pvpositionvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPosition, Impl: IMFPMediaPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidpositiontype: *const windows_core::GUID, pvpositionvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFPMediaPlayer_Impl::SetPosition(this, core::mem::transmute_copy(&guidpositiontype), core::mem::transmute_copy(&pvpositionvalue)).into() } - unsafe extern "system" fn GetPosition, Impl: IMFPMediaPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidpositiontype: *const windows_core::GUID, pvpositionvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPosition, Impl: IMFPMediaPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidpositiontype: *const windows_core::GUID, pvpositionvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetPosition(this, core::mem::transmute_copy(&guidpositiontype)) { @@ -11383,7 +11383,7 @@ impl IMFPMediaPlayer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDuration, Impl: IMFPMediaPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidpositiontype: *const windows_core::GUID, pvdurationvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDuration, Impl: IMFPMediaPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidpositiontype: *const windows_core::GUID, pvdurationvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFPMediaPlayer_Impl::GetDuration(this, core::mem::transmute_copy(&guidpositiontype)) { @@ -12429,7 +12429,7 @@ impl IMFSAMIStyle_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStyles, Impl: IMFSAMIStyle_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvarstylearray: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStyles, Impl: IMFSAMIStyle_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvarstylearray: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFSAMIStyle_Impl::GetStyles(this) { @@ -12987,7 +12987,7 @@ pub trait IMFSeekInfo_Impl: Sized { impl windows_core::RuntimeName for IMFSeekInfo {} impl IMFSeekInfo_Vtbl { pub const fn new, Impl: IMFSeekInfo_Impl, const OFFSET: isize>() -> IMFSeekInfo_Vtbl { - unsafe extern "system" fn GetNearestKeyFrames, Impl: IMFSeekInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidtimeformat: *const windows_core::GUID, pvarstartposition: *const std::mem::MaybeUninit, pvarpreviouskeyframe: *mut std::mem::MaybeUninit, pvarnextkeyframe: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetNearestKeyFrames, Impl: IMFSeekInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidtimeformat: *const windows_core::GUID, pvarstartposition: *const core::mem::MaybeUninit, pvarpreviouskeyframe: *mut core::mem::MaybeUninit, pvarnextkeyframe: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFSeekInfo_Impl::GetNearestKeyFrames(this, core::mem::transmute_copy(&pguidtimeformat), core::mem::transmute_copy(&pvarstartposition), core::mem::transmute_copy(&pvarpreviouskeyframe), core::mem::transmute_copy(&pvarnextkeyframe)).into() @@ -14317,7 +14317,7 @@ impl IMFSourceReader_Vtbl { let this = (*this).get_impl(); IMFSourceReader_Impl::SetCurrentMediaType(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&pdwreserved), windows_core::from_raw_borrowed(&pmediatype)).into() } - unsafe extern "system" fn SetCurrentPosition, Impl: IMFSourceReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidtimeformat: *const windows_core::GUID, varposition: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCurrentPosition, Impl: IMFSourceReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guidtimeformat: *const windows_core::GUID, varposition: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFSourceReader_Impl::SetCurrentPosition(this, core::mem::transmute_copy(&guidtimeformat), core::mem::transmute_copy(&varposition)).into() @@ -14337,7 +14337,7 @@ impl IMFSourceReader_Vtbl { let this = (*this).get_impl(); IMFSourceReader_Impl::GetServiceForStream(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&guidservice), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppvobject)).into() } - unsafe extern "system" fn GetPresentationAttribute, Impl: IMFSourceReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwstreamindex: u32, guidattribute: *const windows_core::GUID, pvarattribute: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPresentationAttribute, Impl: IMFSourceReader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwstreamindex: u32, guidattribute: *const windows_core::GUID, pvarattribute: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFSourceReader_Impl::GetPresentationAttribute(this, core::mem::transmute_copy(&dwstreamindex), core::mem::transmute_copy(&guidattribute)) { @@ -14742,7 +14742,7 @@ impl IMFStreamSink_Vtbl { let this = (*this).get_impl(); IMFStreamSink_Impl::ProcessSample(this, windows_core::from_raw_borrowed(&psample)).into() } - unsafe extern "system" fn PlaceMarker, Impl: IMFStreamSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, emarkertype: MFSTREAMSINK_MARKER_TYPE, pvarmarkervalue: *const std::mem::MaybeUninit, pvarcontextvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlaceMarker, Impl: IMFStreamSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, emarkertype: MFSTREAMSINK_MARKER_TYPE, pvarmarkervalue: *const core::mem::MaybeUninit, pvarcontextvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFStreamSink_Impl::PlaceMarker(this, core::mem::transmute_copy(&emarkertype), core::mem::transmute_copy(&pvarmarkervalue), core::mem::transmute_copy(&pvarcontextvalue)).into() @@ -14819,7 +14819,7 @@ pub trait IMFTimecodeTranslate_Impl: Sized { impl windows_core::RuntimeName for IMFTimecodeTranslate {} impl IMFTimecodeTranslate_Vtbl { pub const fn new, Impl: IMFTimecodeTranslate_Impl, const OFFSET: isize>() -> IMFTimecodeTranslate_Vtbl { - unsafe extern "system" fn BeginConvertTimecodeToHNS, Impl: IMFTimecodeTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvartimecode: *const std::mem::MaybeUninit, pcallback: *mut core::ffi::c_void, punkstate: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn BeginConvertTimecodeToHNS, Impl: IMFTimecodeTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvartimecode: *const core::mem::MaybeUninit, pcallback: *mut core::ffi::c_void, punkstate: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMFTimecodeTranslate_Impl::BeginConvertTimecodeToHNS(this, core::mem::transmute_copy(&ppropvartimecode), windows_core::from_raw_borrowed(&pcallback), windows_core::from_raw_borrowed(&punkstate)).into() @@ -14840,7 +14840,7 @@ impl IMFTimecodeTranslate_Vtbl { let this = (*this).get_impl(); IMFTimecodeTranslate_Impl::BeginConvertHNSToTimecode(this, core::mem::transmute_copy(&hnstime), windows_core::from_raw_borrowed(&pcallback), windows_core::from_raw_borrowed(&punkstate)).into() } - unsafe extern "system" fn EndConvertHNSToTimecode, Impl: IMFTimecodeTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut core::ffi::c_void, ppropvartimecode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EndConvertHNSToTimecode, Impl: IMFTimecodeTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presult: *mut core::ffi::c_void, ppropvartimecode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMFTimecodeTranslate_Impl::EndConvertHNSToTimecode(this, windows_core::from_raw_borrowed(&presult)) { 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 dde6490d6e..95485c65c2 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -2,14 +2,14 @@ #[inline] pub unsafe fn CreateNamedPropertyStore() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn CreateNamedPropertyStore(ppstore : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateNamedPropertyStore(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] #[inline] pub unsafe fn CreatePropertyStore() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn CreatePropertyStore(ppstore : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreatePropertyStore(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -33,7 +33,7 @@ where P0: windows_core::Param, { windows_targets::link!("dxva2.dll" "system" fn DXVAHD_CreateDevice(pd3ddevice : * mut core::ffi::c_void, pcontentdesc : *const DXVAHD_CONTENT_DESC, usage : DXVAHD_DEVICE_USAGE, pplugin : PDXVAHDSW_Plugin, ppdevice : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DXVAHD_CreateDevice(pd3ddevice.param().abi(), pcontentdesc, usage, pplugin, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -47,19 +47,19 @@ where #[inline] pub unsafe fn MFAllocateSerialWorkQueue(dwworkqueue: u32) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFAllocateSerialWorkQueue(dwworkqueue : u32, pdwworkqueue : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFAllocateSerialWorkQueue(dwworkqueue, &mut result__).map(|| result__) } #[inline] pub unsafe fn MFAllocateWorkQueue() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFAllocateWorkQueue(pdwworkqueue : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFAllocateWorkQueue(&mut result__).map(|| result__) } #[inline] pub unsafe fn MFAllocateWorkQueueEx(workqueuetype: MFASYNC_WORKQUEUE_TYPE) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFAllocateWorkQueueEx(workqueuetype : MFASYNC_WORKQUEUE_TYPE, pdwworkqueue : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFAllocateWorkQueueEx(workqueuetype, &mut result__).map(|| result__) } #[inline] @@ -75,7 +75,7 @@ where P2: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFBeginCreateFile(accessmode, openmode, fflags, pwszfilepath.param().abi(), pcallback.param().abi(), pstate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -116,7 +116,7 @@ pub unsafe fn MFCalculateBitmapImageSize(pbmih: *const super::super::Graphics::G #[inline] pub unsafe fn MFCalculateImageSize(guidsubtype: *const windows_core::GUID, unwidth: u32, unheight: u32) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCalculateImageSize(guidsubtype : *const windows_core::GUID, unwidth : u32, unheight : u32, pcbimagesize : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCalculateImageSize(guidsubtype, unwidth, unheight, &mut result__).map(|| result__) } #[inline] @@ -139,7 +139,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCombineSamples(psample.param().abi(), psampletoadd.param().abi(), dwmaxmergeddurationinms, &mut result__).map(|| result__) } #[inline] @@ -182,7 +182,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreate2DMediaBuffer(dwwidth, dwheight, dwfourcc, fbottomup.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -193,7 +193,7 @@ where P2: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreate3GPMediaSink(pibytestream.param().abi(), pvideomediatype.param().abi(), paudiomediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -203,7 +203,7 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateAC3MediaSink(ptargetbytestream.param().abi(), paudiomediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -213,7 +213,7 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateADTSMediaSink(ptargetbytestream.param().abi(), paudiomediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -227,13 +227,13 @@ where #[inline] pub unsafe fn MFCreateASFContentInfo() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateASFContentInfo(ppicontentinfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFContentInfo(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateASFIndexer() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateASFIndexer(ppiindexer : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFIndexer(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -242,7 +242,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateASFIndexerByteStream(picontentbytestream : * mut core::ffi::c_void, cbindexstartoffset : u64, piindexbytestream : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFIndexerByteStream(picontentbytestream.param().abi(), cbindexstartoffset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -251,7 +251,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateASFMediaSink(pibytestream : * mut core::ffi::c_void, ppimediasink : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFMediaSink(pibytestream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -261,19 +261,19 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFMediaSinkActivate(pwszfilename.param().abi(), pcontentinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateASFMultiplexer() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateASFMultiplexer(ppimultiplexer : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFMultiplexer(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateASFProfile() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateASFProfile(ppiprofile : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFProfile(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -282,13 +282,13 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateASFProfileFromPresentationDescriptor(pipd : * mut core::ffi::c_void, ppiprofile : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFProfileFromPresentationDescriptor(pipd.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateASFSplitter() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateASFSplitter(ppisplitter : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFSplitter(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -297,7 +297,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateASFStreamSelector(piasfprofile : * mut core::ffi::c_void, ppselector : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFStreamSelector(piasfprofile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -306,7 +306,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateASFStreamingMediaSink(pibytestream : * mut core::ffi::c_void, ppimediasink : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFStreamingMediaSink(pibytestream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -316,7 +316,7 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateASFStreamingMediaSinkActivate(pbytestreamactivate.param().abi(), pcontentinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -327,7 +327,7 @@ where P2: windows_core::Param, { windows_targets::link!("mfsrcsnk.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateAVIMediaSink(pibytestream.param().abi(), pvideomediatype.param().abi(), paudiomediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -336,13 +336,13 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateAggregateSource(psourcecollection : * mut core::ffi::c_void, ppaggsource : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateAggregateSource(psourcecollection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateAlignedMemoryBuffer(cbmaxlength: u32, cbaligment: u32) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateAlignedMemoryBuffer(cbmaxlength : u32, cbaligment : u32, ppbuffer : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateAlignedMemoryBuffer(cbmaxlength, cbaligment, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -353,7 +353,7 @@ where P2: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateAsyncResult(punkobject.param().abi(), pcallback.param().abi(), punkstate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -365,7 +365,7 @@ pub unsafe fn MFCreateAttributes(ppmfattributes: *mut Option, cin #[inline] pub unsafe fn MFCreateAudioMediaType(paudioformat: *const super::Audio::WAVEFORMATEX) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateAudioMediaType(paudioformat : *const super::Audio:: WAVEFORMATEX, ppiaudiomediatype : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateAudioMediaType(paudioformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -374,13 +374,13 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateAudioRenderer(paudioattributes : * mut core::ffi::c_void, ppsink : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateAudioRenderer(paudioattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateAudioRendererActivate() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateAudioRendererActivate(ppactivate : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateAudioRendererActivate(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -390,7 +390,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfsensorgroup.dll" "system" fn MFCreateCameraControlMonitor(symboliclink : windows_core::PCWSTR, callback : * mut core::ffi::c_void, ppcameracontrolmonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateCameraControlMonitor(symboliclink.param().abi(), callback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -400,13 +400,13 @@ where P1: windows_core::Param, { windows_targets::link!("mfsensorgroup.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateCameraOcclusionStateMonitor(symboliclink.param().abi(), callback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateCollection() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateCollection(ppimfcollection : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateCollection(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -416,19 +416,19 @@ where P1: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateContentDecryptorContext(guidmediaprotectionsystemid, pd3dmanager.param().abi(), pcontentprotectiondevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateContentProtectionDevice(protectionsystemid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateContentProtectionDevice(protectionsystemid : *const windows_core::GUID, contentprotectiondevice : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateContentProtectionDevice(protectionsystemid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateCredentialCache() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateCredentialCache(ppcache : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateCredentialCache(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -452,7 +452,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateDXGISurfaceBuffer(riid, punksurface.param().abi(), usubresourceindex, fbottomupwhenlinear.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -462,7 +462,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateDXSurfaceBuffer(riid, punksurface.param().abi(), fbottomupwhenlinear.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -471,7 +471,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateDeviceSource(pattributes : * mut core::ffi::c_void, ppsource : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateDeviceSource(pattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -480,7 +480,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateDeviceSourceActivate(pattributes : * mut core::ffi::c_void, ppactivate : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateDeviceSourceActivate(pattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -492,25 +492,25 @@ where P2: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateEncryptedMediaExtensionsStoreActivate(pmphost.param().abi(), objectstream.param().abi(), classid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateEventQueue() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateEventQueue(ppmediaeventqueue : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateEventQueue(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateExtendedCameraIntrinsicModel(distortionmodeltype: MFCameraIntrinsic_DistortionModelType) -> windows_core::Result { windows_targets::link!("mfcore.dll" "system" fn MFCreateExtendedCameraIntrinsicModel(distortionmodeltype : MFCameraIntrinsic_DistortionModelType, ppextendedcameraintrinsicmodel : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateExtendedCameraIntrinsicModel(distortionmodeltype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateExtendedCameraIntrinsics() -> windows_core::Result { windows_targets::link!("mfcore.dll" "system" fn MFCreateExtendedCameraIntrinsics(ppextendedcameraintrinsics : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateExtendedCameraIntrinsics(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -521,7 +521,7 @@ where P2: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateFMPEG4MediaSink(pibytestream.param().abi(), pvideomediatype.param().abi(), paudiomediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -530,7 +530,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateFile(accessmode, openmode, fflags, pwszfileurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_DxMediaObjects")] @@ -541,7 +541,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateLegacyMediaBufferOnMFMediaBuffer(psample.param().abi(), pmfmediabuffer.param().abi(), cboffset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -551,7 +551,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFCreateMFByteStreamOnStream(pstream : * mut core::ffi::c_void, ppbytestream : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMFByteStreamOnStream(pstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -560,7 +560,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFCreateMFByteStreamOnStreamEx(punkstream : * mut core::ffi::c_void, ppbytestream : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMFByteStreamOnStreamEx(punkstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -569,7 +569,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFCreateMFByteStreamWrapper(pstream : * mut core::ffi::c_void, ppstreamwrapper : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMFByteStreamWrapper(pstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -586,7 +586,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateMP3MediaSink(ptargetbytestream : * mut core::ffi::c_void, ppmediasink : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMP3MediaSink(ptargetbytestream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -597,7 +597,7 @@ where P2: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMPEG4MediaSink(pibytestream.param().abi(), pvideomediatype.param().abi(), paudiomediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -606,7 +606,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMediaBufferFromMediaType(pmediatype.param().abi(), llduration, dwminlength, dwminalignment, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -615,13 +615,13 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMediaBufferWrapper(pbuffer.param().abi(), cboffset, dwlength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateMediaEvent(met: u32, guidextendedtype: *const windows_core::GUID, hrstatus: windows_core::HRESULT, pvvalue: Option<*const windows_core::PROPVARIANT>) -> windows_core::Result { - windows_targets::link!("mfplat.dll" "system" fn MFCreateMediaEvent(met : u32, guidextendedtype : *const windows_core::GUID, hrstatus : windows_core::HRESULT, pvvalue : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ppevent : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("mfplat.dll" "system" fn MFCreateMediaEvent(met : u32, guidextendedtype : *const windows_core::GUID, hrstatus : windows_core::HRESULT, pvvalue : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ppevent : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); MFCreateMediaEvent(met, guidextendedtype, hrstatus, core::mem::transmute(pvvalue.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -639,13 +639,13 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateMediaSession(pconfiguration : * mut core::ffi::c_void, ppmediasession : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMediaSession(pconfiguration.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateMediaType() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateMediaType(ppmftype : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMediaType(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -654,19 +654,19 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFCreateMediaTypeFromProperties(punkstream : * mut core::ffi::c_void, ppmediatype : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMediaTypeFromProperties(punkstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateMediaTypeFromRepresentation(guidrepresentation: windows_core::GUID, pvrepresentation: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMediaTypeFromRepresentation(core::mem::transmute(guidrepresentation), pvrepresentation, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateMemoryBuffer(cbmaxlength: u32) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateMemoryBuffer(cbmaxlength : u32, ppbuffer : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMemoryBuffer(cbmaxlength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -676,7 +676,7 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMuxSink(core::mem::transmute(guidoutputsubtype), poutputattributes.param().abi(), poutputbytestream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -685,7 +685,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFCreateMuxStreamAttributes(pattributestomux : * mut core::ffi::c_void, ppmuxattribs : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMuxStreamAttributes(pattributestomux.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -694,7 +694,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFCreateMuxStreamMediaType(pmediatypestomux : * mut core::ffi::c_void, ppmuxmediatype : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMuxStreamMediaType(pmediatypestomux.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -703,7 +703,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFCreateMuxStreamSample(psamplestomux : * mut core::ffi::c_void, ppmuxsample : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateMuxStreamSample(psamplestomux.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -722,19 +722,19 @@ where #[inline] pub unsafe fn MFCreatePMPServer(dwcreationflags: u32) -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreatePMPServer(dwcreationflags : u32, pppmpserver : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreatePMPServer(dwcreationflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreatePresentationClock() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreatePresentationClock(pppresentationclock : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreatePresentationClock(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreatePresentationDescriptor(apstreamdescriptors: Option<&[Option]>) -> windows_core::Result { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreatePresentationDescriptor(apstreamdescriptors.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(apstreamdescriptors.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -743,7 +743,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreatePresentationDescriptorFromASFProfile(piprofile : * mut core::ffi::c_void, ppipd : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreatePresentationDescriptorFromASFProfile(piprofile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -757,7 +757,7 @@ where #[inline] pub unsafe fn MFCreateProtectedEnvironmentAccess() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateProtectedEnvironmentAccess(ppaccess : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateProtectedEnvironmentAccess(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -768,7 +768,7 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateProxyLocator(pszprotocol.param().abi(), pproxyconfig.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -778,25 +778,25 @@ where P1: windows_core::Param, { windows_targets::link!("mfsensorgroup.dll" "system" fn MFCreateRelativePanelWatcher(videodeviceid : windows_core::PCWSTR, displaymonitordeviceid : windows_core::PCWSTR, pprelativepanelwatcher : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateRelativePanelWatcher(videodeviceid.param().abi(), displaymonitordeviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateRemoteDesktopPlugin() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateRemoteDesktopPlugin(ppplugin : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateRemoteDesktopPlugin(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateSample() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateSample(ppimfsample : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSample(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateSampleCopierMFT() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateSampleCopierMFT(ppcopiermft : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSampleCopierMFT(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -806,7 +806,7 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSampleGrabberSinkActivate(pimfmediatype.param().abi(), pimfsamplegrabbersinkcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -815,7 +815,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfsensorgroup.dll" "system" fn MFCreateSensorActivityMonitor(pcallback : * mut core::ffi::c_void, ppactivitymonitor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSensorActivityMonitor(pcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -824,7 +824,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfsensorgroup.dll" "system" fn MFCreateSensorGroup(sensorgroupsymboliclink : windows_core::PCWSTR, ppsensorgroup : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSensorGroup(sensorgroupsymboliclink.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -833,13 +833,13 @@ where P0: windows_core::Param, { windows_targets::link!("mfsensorgroup.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSensorProfile(profiletype, profileindex, constraints.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateSensorProfileCollection() -> windows_core::Result { windows_targets::link!("mfsensorgroup.dll" "system" fn MFCreateSensorProfileCollection(ppsensorprofile : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSensorProfileCollection(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -849,13 +849,13 @@ where P1: windows_core::Param, { windows_targets::link!("mfsensorgroup.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSensorStream(streamid, pattributes.param().abi(), pmediatypecollection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateSequencerSegmentOffset(dwid: u32, hnsoffset: i64) -> windows_core::Result { - windows_targets::link!("mf.dll" "system" fn MFCreateSequencerSegmentOffset(dwid : u32, hnsoffset : i64, pvarsegmentoffset : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("mf.dll" "system" fn MFCreateSequencerSegmentOffset(dwid : u32, hnsoffset : i64, pvarsegmentoffset : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); MFCreateSequencerSegmentOffset(dwid, hnsoffset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -864,13 +864,13 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateSequencerSource(preserved : * mut core::ffi::c_void, ppsequencersource : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSequencerSource(preserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateSimpleTypeHandler() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateSimpleTypeHandler(pphandler : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSimpleTypeHandler(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -880,7 +880,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfreadwrite.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSinkWriterFromMediaSink(pmediasink.param().abi(), pattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -891,7 +891,7 @@ where P2: windows_core::Param, { windows_targets::link!("mfreadwrite.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSinkWriterFromURL(pwszoutputurl.param().abi(), pbytestream.param().abi(), pattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -901,7 +901,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfreadwrite.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSourceReaderFromByteStream(pbytestream.param().abi(), pattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -911,7 +911,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfreadwrite.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSourceReaderFromMediaSource(pmediasource.param().abi(), pattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -921,25 +921,25 @@ where P1: windows_core::Param, { windows_targets::link!("mfreadwrite.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSourceReaderFromURL(pwszurl.param().abi(), pattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateSourceResolver() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateSourceResolver(ppisourceresolver : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSourceResolver(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateStandardQualityManager() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateStandardQualityManager(ppqualitymanager : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateStandardQualityManager(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateStreamDescriptor(dwstreamidentifier: u32, apmediatypes: &[Option]) -> windows_core::Result { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateStreamDescriptor(dwstreamidentifier, apmediatypes.len().try_into().unwrap(), core::mem::transmute(apmediatypes.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -949,7 +949,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFCreateStreamOnMFByteStream(pbytestream : * mut core::ffi::c_void, ppstream : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateStreamOnMFByteStream(pbytestream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -963,49 +963,49 @@ where #[inline] pub unsafe fn MFCreateSystemTimeSource() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateSystemTimeSource(ppsystemtimesource : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateSystemTimeSource(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateTempFile(accessmode: MF_FILE_ACCESSMODE, openmode: MF_FILE_OPENMODE, fflags: MF_FILE_FLAGS) -> windows_core::Result { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTempFile(accessmode, openmode, fflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateTopoLoader() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateTopoLoader(ppobj : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTopoLoader(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateTopology() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateTopology(pptopo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTopology(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateTopologyNode(nodetype: MF_TOPOLOGY_TYPE) -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateTopologyNode(nodetype : MF_TOPOLOGY_TYPE, ppnode : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTopologyNode(nodetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateTrackedSample() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateTrackedSample(ppmfsample : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTrackedSample(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateTranscodeProfile() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateTranscodeProfile(pptranscodeprofile : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTranscodeProfile(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateTranscodeSinkActivate() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFCreateTranscodeSinkActivate(ppactivate : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTranscodeSinkActivate(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1016,7 +1016,7 @@ where P2: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTranscodeTopology(psrc.param().abi(), pwszoutputfilepath.param().abi(), pprofile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1027,39 +1027,39 @@ where P2: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTranscodeTopologyFromByteStream(psrc.param().abi(), poutputstream.param().abi(), pprofile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateTransformActivate() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateTransformActivate(ppactivate : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateTransformActivate(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateVideoMediaType(pvideoformat: *const MFVIDEOFORMAT) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateVideoMediaType(pvideoformat : *const MFVIDEOFORMAT, ppivideomediatype : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateVideoMediaType(pvideoformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe fn MFCreateVideoMediaTypeFromBitMapInfoHeader(pbmihbitmapinfoheader: *const super::super::Graphics::Gdi::BITMAPINFOHEADER, dwpixelaspectratiox: u32, dwpixelaspectratioy: u32, interlacemode: MFVideoInterlaceMode, videoflags: u64, qwframespersecondnumerator: u64, qwframesperseconddenominator: u64, dwmaxbitrate: u32) -> windows_core::Result { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateVideoMediaTypeFromBitMapInfoHeader(pbmihbitmapinfoheader, dwpixelaspectratiox, dwpixelaspectratioy, interlacemode, videoflags, qwframespersecondnumerator, qwframesperseconddenominator, dwmaxbitrate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] #[inline] pub unsafe 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) -> windows_core::Result { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateVideoMediaTypeFromBitMapInfoHeaderEx(pbmihbitmapinfoheader, cbbitmapinfoheader, dwpixelaspectratiox, dwpixelaspectratioy, interlacemode, videoflags, dwframespersecondnumerator, dwframesperseconddenominator, dwmaxbitrate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFCreateVideoMediaTypeFromSubtype(pamsubtype: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFCreateVideoMediaTypeFromSubtype(pamsubtype : *const windows_core::GUID, ppivideomediatype : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateVideoMediaTypeFromSubtype(pamsubtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1098,7 +1098,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFCreateVideoRendererActivate(hwndvideo : super::super::Foundation:: HWND, ppactivate : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateVideoRendererActivate(hwndvideo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1117,7 +1117,7 @@ where P0: windows_core::Param, { windows_targets::link!("evr.dll" "system" fn MFCreateVideoSampleFromSurface(punksurface : * mut core::ffi::c_void, ppsample : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateVideoSampleFromSurface(punksurface.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1127,7 +1127,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfsensorgroup.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateVirtualCamera(r#type, lifetime, access, friendlyname.param().abi(), sourceid.param().abi(), core::mem::transmute(categories.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), categories.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1137,7 +1137,7 @@ where P1: windows_core::Param, { windows_targets::link!("mfsrcsnk.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateWAVEMediaSink(ptargetbytestream.param().abi(), paudiomediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1146,7 +1146,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateWICBitmapBuffer(riid, punksurface.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1157,7 +1157,7 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateWMAEncoderActivate(pmediatype.param().abi(), pencodingconfigurationproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1168,7 +1168,7 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFCreateWMVEncoderActivate(pmediatype.param().abi(), pencodingconfigurationproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio")] @@ -1193,7 +1193,7 @@ where #[inline] pub unsafe fn MFDeserializePresentationDescriptor(pbdata: &[u8]) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFDeserializePresentationDescriptor(cbdata : u32, pbdata : *const u8, pppd : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFDeserializePresentationDescriptor(pbdata.len().try_into().unwrap(), core::mem::transmute(pbdata.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1202,7 +1202,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFEndCreateFile(presult : * mut core::ffi::c_void, ppfile : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFEndCreateFile(presult.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1211,7 +1211,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFEndRegisterWorkQueueWithMMCSS(presult : * mut core::ffi::c_void, pdwtaskid : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFEndRegisterWorkQueueWithMMCSS(presult.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1233,7 +1233,7 @@ where #[inline] pub unsafe fn MFFrameRateToAverageTimePerFrame(unnumerator: u32, undenominator: u32) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFFrameRateToAverageTimePerFrame(unnumerator : u32, undenominator : u32, punaveragetimeperframe : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFFrameRateToAverageTimePerFrame(unnumerator, undenominator, &mut result__).map(|| result__) } #[inline] @@ -1250,19 +1250,19 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFGetAttributesAsBlobSize(pattributes : * mut core::ffi::c_void, pcbbufsize : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetAttributesAsBlobSize(pattributes.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn MFGetContentProtectionSystemCLSID(guidprotectionsystemid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFGetContentProtectionSystemCLSID(guidprotectionsystemid : *const windows_core::GUID, pclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetContentProtectionSystemCLSID(guidprotectionsystemid, &mut result__).map(|| result__) } #[inline] pub unsafe fn MFGetLocalId(verifier: &[u8]) -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFGetLocalId(verifier : *const u8, size : u32, id : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetLocalId(core::mem::transmute(verifier.as_ptr()), verifier.len().try_into().unwrap(), &mut result__).map(|| result__) } #[inline] @@ -1271,19 +1271,19 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFGetMFTMerit(pmft : * mut core::ffi::c_void, cbverifier : u32, verifier : *const u8, merit : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetMFTMerit(pmft.param().abi(), verifier.len().try_into().unwrap(), core::mem::transmute(verifier.as_ptr()), &mut result__).map(|| result__) } #[inline] pub unsafe fn MFGetPlaneSize(format: u32, dwwidth: u32, dwheight: u32) -> windows_core::Result { windows_targets::link!("evr.dll" "system" fn MFGetPlaneSize(format : u32, dwwidth : u32, dwheight : u32, pdwplanesize : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetPlaneSize(format, dwwidth, dwheight, &mut result__).map(|| result__) } #[inline] pub unsafe fn MFGetPluginControl() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFGetPluginControl(ppplugincontrol : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetPluginControl(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1297,25 +1297,25 @@ where #[inline] pub unsafe fn MFGetStrideForBitmapInfoHeader(format: u32, dwwidth: u32) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFGetStrideForBitmapInfoHeader(format : u32, dwwidth : u32, pstride : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetStrideForBitmapInfoHeader(format, dwwidth, &mut result__).map(|| result__) } #[inline] pub unsafe fn MFGetSupportedMimeTypes() -> windows_core::Result { - windows_targets::link!("mfplat.dll" "system" fn MFGetSupportedMimeTypes(ppropvarmimetypearray : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("mfplat.dll" "system" fn MFGetSupportedMimeTypes(ppropvarmimetypearray : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); MFGetSupportedMimeTypes(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFGetSupportedSchemes() -> windows_core::Result { - windows_targets::link!("mfplat.dll" "system" fn MFGetSupportedSchemes(ppropvarschemearray : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("mfplat.dll" "system" fn MFGetSupportedSchemes(ppropvarschemearray : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); MFGetSupportedSchemes(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn MFGetSystemId() -> windows_core::Result { windows_targets::link!("mf.dll" "system" fn MFGetSystemId(ppid : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetSystemId(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1326,7 +1326,7 @@ pub unsafe fn MFGetSystemTime() -> i64 { #[inline] pub unsafe fn MFGetTimerPeriodicity() -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFGetTimerPeriodicity(periodicity : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetTimerPeriodicity(&mut result__).map(|| result__) } #[inline] @@ -1336,7 +1336,7 @@ where P1: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetTopoNodeCurrentType(pnode.param().abi(), dwstreamindex, foutput.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1352,13 +1352,13 @@ pub unsafe fn MFGetWorkQueueMMCSSClass(dwworkqueueid: u32, pwszclass: windows_co #[inline] pub unsafe fn MFGetWorkQueueMMCSSPriority(dwworkqueueid: u32) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFGetWorkQueueMMCSSPriority(dwworkqueueid : u32, lpriority : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetWorkQueueMMCSSPriority(dwworkqueueid, &mut result__).map(|| result__) } #[inline] pub unsafe fn MFGetWorkQueueMMCSSTaskId(dwworkqueueid: u32) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFGetWorkQueueMMCSSTaskId(dwworkqueueid : u32, pdwtaskid : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFGetWorkQueueMMCSSTaskId(dwworkqueueid, &mut result__).map(|| result__) } #[inline] @@ -1472,7 +1472,7 @@ where #[inline] pub unsafe fn MFIsContentProtectionDeviceSupported(protectionsystemid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("mfplat.dll" "system" fn MFIsContentProtectionDeviceSupported(protectionsystemid : *const windows_core::GUID, issupported : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFIsContentProtectionDeviceSupported(protectionsystemid, &mut result__).map(|| result__) } #[inline] @@ -1483,7 +1483,7 @@ pub unsafe fn MFIsFormatYUV(format: u32) -> super::super::Foundation::BOOL { #[inline] pub unsafe fn MFIsVirtualCameraTypeSupported(r#type: MFVirtualCameraType) -> windows_core::Result { windows_targets::link!("mfsensorgroup.dll" "system" fn MFIsVirtualCameraTypeSupported(r#type : MFVirtualCameraType, supported : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFIsVirtualCameraTypeSupported(r#type, &mut result__).map(|| result__) } #[inline] @@ -1492,7 +1492,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "system" fn MFLoadSignedLibrary(pszname : windows_core::PCWSTR, pplib : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFLoadSignedLibrary(pszname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1763,7 +1763,7 @@ where P0: windows_core::Param, { windows_targets::link!("mf.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFTranscodeGetAudioOutputAvailableTypes(guidsubtype, dwmftflags, pcodecconfig.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1792,7 +1792,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "system" fn MFUnwrapMediaType(pwrap : * mut core::ffi::c_void, pporig : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFUnwrapMediaType(pwrap.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1806,7 +1806,7 @@ where P0: windows_core::Param, { windows_targets::link!("mfplat.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MFWrapMediaType(porig.param().abi(), majortype, subtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1817,7 +1817,7 @@ pub unsafe fn MFllMulDiv(a: i64, b: i64, c: i64, d: i64) -> i64 { #[inline] pub unsafe fn OPMGetVideoOutputForTarget(padapterluid: *const super::super::Foundation::LUID, vidpntarget: u32, vos: OPM_VIDEO_OUTPUT_SEMANTICS) -> windows_core::Result { windows_targets::link!("dxva2.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OPMGetVideoOutputForTarget(padapterluid, vidpntarget, vos, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1857,13 +1857,13 @@ windows_core::imp::define_interface!(IAdvancedMediaCapture, IAdvancedMediaCaptur impl std::ops::Deref for IAdvancedMediaCapture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdvancedMediaCapture, windows_core::IUnknown); impl IAdvancedMediaCapture { pub unsafe fn GetAdvancedMediaCaptureSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdvancedMediaCaptureSettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1876,7 +1876,7 @@ windows_core::imp::define_interface!(IAdvancedMediaCaptureInitializationSettings impl std::ops::Deref for IAdvancedMediaCaptureInitializationSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdvancedMediaCaptureInitializationSettings, windows_core::IUnknown); @@ -1897,13 +1897,13 @@ windows_core::imp::define_interface!(IAdvancedMediaCaptureSettings, IAdvancedMed impl std::ops::Deref for IAdvancedMediaCaptureSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdvancedMediaCaptureSettings, windows_core::IUnknown); impl IAdvancedMediaCaptureSettings { pub unsafe fn GetDirectxDeviceManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDirectxDeviceManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1916,7 +1916,7 @@ windows_core::imp::define_interface!(IAudioSourceProvider, IAudioSourceProvider_ impl std::ops::Deref for IAudioSourceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSourceProvider, windows_core::IUnknown); @@ -1934,7 +1934,7 @@ windows_core::imp::define_interface!(IClusterDetector, IClusterDetector_Vtbl, 0x impl std::ops::Deref for IClusterDetector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IClusterDetector, windows_core::IUnknown); @@ -1946,7 +1946,7 @@ impl IClusterDetector { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Detect)(windows_core::Interface::as_raw(self), dwmaxnumclusters, fminclusterduration, fmaxclusterduration, psrctoc.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1960,7 +1960,7 @@ windows_core::imp::define_interface!(ICodecAPI, ICodecAPI_Vtbl, 0x901db4c7_31ce_ impl std::ops::Deref for ICodecAPI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICodecAPI, windows_core::IUnknown); @@ -1978,11 +1978,11 @@ impl ICodecAPI { (windows_core::Interface::vtable(self).GetParameterValues)(windows_core::Interface::as_raw(self), api, values, valuescount).ok() } pub unsafe fn GetDefaultValue(&self, api: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultValue)(windows_core::Interface::as_raw(self), api, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetValue(&self, api: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), api, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, api: *const windows_core::GUID, value: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -2030,15 +2030,15 @@ pub struct ICodecAPI_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub IsModifiable: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, - pub GetParameterRange: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetParameterRange: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetParameterValues: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut windows_core::VARIANT, *mut u32) -> windows_core::HRESULT, - pub GetDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub RegisterForEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, isize) -> windows_core::HRESULT, pub UnregisterForEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub SetAllDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetValueWithNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit, *mut *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, + pub SetValueWithNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit, *mut *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, pub SetAllDefaultsWithNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetAllSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2059,7 +2059,7 @@ windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList, ID3D12VideoDe impl std::ops::Deref for ID3D12VideoDecodeCommandList { type Target = super::super::Graphics::Direct3D12::ID3D12CommandList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2196,7 +2196,7 @@ windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList1, ID3D12VideoD impl std::ops::Deref for ID3D12VideoDecodeCommandList1 { type Target = ID3D12VideoDecodeCommandList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2230,7 +2230,7 @@ windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList2, ID3D12VideoD impl std::ops::Deref for ID3D12VideoDecodeCommandList2 { type Target = ID3D12VideoDecodeCommandList1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2286,7 +2286,7 @@ windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList3, ID3D12VideoD impl std::ops::Deref for ID3D12VideoDecodeCommandList3 { type Target = ID3D12VideoDecodeCommandList2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2317,7 +2317,7 @@ windows_core::imp::define_interface!(ID3D12VideoDecoder, ID3D12VideoDecoder_Vtbl impl std::ops::Deref for ID3D12VideoDecoder { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2346,7 +2346,7 @@ windows_core::imp::define_interface!(ID3D12VideoDecoder1, ID3D12VideoDecoder1_Vt impl std::ops::Deref for ID3D12VideoDecoder1 { type Target = ID3D12VideoDecoder; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2376,7 +2376,7 @@ windows_core::imp::define_interface!(ID3D12VideoDecoderHeap, ID3D12VideoDecoderH impl std::ops::Deref for ID3D12VideoDecoderHeap { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2409,7 +2409,7 @@ windows_core::imp::define_interface!(ID3D12VideoDecoderHeap1, ID3D12VideoDecoder impl std::ops::Deref for ID3D12VideoDecoderHeap1 { type Target = ID3D12VideoDecoderHeap; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2437,7 +2437,7 @@ windows_core::imp::define_interface!(ID3D12VideoDevice, ID3D12VideoDevice_Vtbl, impl std::ops::Deref for ID3D12VideoDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12VideoDevice, windows_core::IUnknown); @@ -2489,7 +2489,7 @@ windows_core::imp::define_interface!(ID3D12VideoDevice1, ID3D12VideoDevice1_Vtbl impl std::ops::Deref for ID3D12VideoDevice1 { type Target = ID3D12VideoDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12VideoDevice1, windows_core::IUnknown, ID3D12VideoDevice); @@ -2531,7 +2531,7 @@ windows_core::imp::define_interface!(ID3D12VideoDevice2, ID3D12VideoDevice2_Vtbl impl std::ops::Deref for ID3D12VideoDevice2 { type Target = ID3D12VideoDevice1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12VideoDevice2, windows_core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1); @@ -2610,7 +2610,7 @@ windows_core::imp::define_interface!(ID3D12VideoDevice3, ID3D12VideoDevice3_Vtbl impl std::ops::Deref for ID3D12VideoDevice3 { type Target = ID3D12VideoDevice2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ID3D12VideoDevice3, windows_core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1, ID3D12VideoDevice2); @@ -2648,7 +2648,7 @@ windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList, ID3D12VideoEn impl std::ops::Deref for ID3D12VideoEncodeCommandList { type Target = super::super::Graphics::Direct3D12::ID3D12CommandList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2804,7 +2804,7 @@ windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList1, ID3D12VideoE impl std::ops::Deref for ID3D12VideoEncodeCommandList1 { type Target = ID3D12VideoEncodeCommandList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2849,7 +2849,7 @@ windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList2, ID3D12VideoE impl std::ops::Deref for ID3D12VideoEncodeCommandList2 { type Target = ID3D12VideoEncodeCommandList1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2892,7 +2892,7 @@ windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList3, ID3D12VideoE impl std::ops::Deref for ID3D12VideoEncodeCommandList3 { type Target = ID3D12VideoEncodeCommandList2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2923,7 +2923,7 @@ windows_core::imp::define_interface!(ID3D12VideoEncoder, ID3D12VideoEncoder_Vtbl impl std::ops::Deref for ID3D12VideoEncoder { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2978,7 +2978,7 @@ windows_core::imp::define_interface!(ID3D12VideoEncoderHeap, ID3D12VideoEncoderH impl std::ops::Deref for ID3D12VideoEncoderHeap { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3029,7 +3029,7 @@ windows_core::imp::define_interface!(ID3D12VideoExtensionCommand, ID3D12VideoExt impl std::ops::Deref for ID3D12VideoExtensionCommand { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3065,7 +3065,7 @@ windows_core::imp::define_interface!(ID3D12VideoMotionEstimator, ID3D12VideoMoti impl std::ops::Deref for ID3D12VideoMotionEstimator { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3105,7 +3105,7 @@ windows_core::imp::define_interface!(ID3D12VideoMotionVectorHeap, ID3D12VideoMot impl std::ops::Deref for ID3D12VideoMotionVectorHeap { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3145,7 +3145,7 @@ windows_core::imp::define_interface!(ID3D12VideoProcessCommandList, ID3D12VideoP impl std::ops::Deref for ID3D12VideoProcessCommandList { type Target = super::super::Graphics::Direct3D12::ID3D12CommandList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3282,7 +3282,7 @@ windows_core::imp::define_interface!(ID3D12VideoProcessCommandList1, ID3D12Video impl std::ops::Deref for ID3D12VideoProcessCommandList1 { type Target = ID3D12VideoProcessCommandList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3316,7 +3316,7 @@ windows_core::imp::define_interface!(ID3D12VideoProcessCommandList2, ID3D12Video impl std::ops::Deref for ID3D12VideoProcessCommandList2 { type Target = ID3D12VideoProcessCommandList1; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3372,7 +3372,7 @@ windows_core::imp::define_interface!(ID3D12VideoProcessCommandList3, ID3D12Video impl std::ops::Deref for ID3D12VideoProcessCommandList3 { type Target = ID3D12VideoProcessCommandList2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3403,7 +3403,7 @@ windows_core::imp::define_interface!(ID3D12VideoProcessor, ID3D12VideoProcessor_ impl std::ops::Deref for ID3D12VideoProcessor { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3452,7 +3452,7 @@ windows_core::imp::define_interface!(ID3D12VideoProcessor1, ID3D12VideoProcessor impl std::ops::Deref for ID3D12VideoProcessor1 { type Target = ID3D12VideoProcessor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3480,7 +3480,7 @@ windows_core::imp::define_interface!(IDXVAHD_Device, IDXVAHD_Device_Vtbl, 0x95f1 impl std::ops::Deref for IDXVAHD_Device { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXVAHD_Device, windows_core::IUnknown); @@ -3508,11 +3508,11 @@ impl IDXVAHD_Device { (windows_core::Interface::vtable(self).GetVideoProcessorCustomRates)(windows_core::Interface::as_raw(self), pvpguid, prates.len().try_into().unwrap(), core::mem::transmute(prates.as_ptr())).ok() } pub unsafe fn GetVideoProcessorFilterRange(&self, filter: DXVAHD_FILTER) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoProcessorFilterRange)(windows_core::Interface::as_raw(self), filter, &mut result__).map(|| result__) } pub unsafe fn CreateVideoProcessor(&self, pvpguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVideoProcessor)(windows_core::Interface::as_raw(self), pvpguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3544,7 +3544,7 @@ windows_core::imp::define_interface!(IDXVAHD_VideoProcessor, IDXVAHD_VideoProces impl std::ops::Deref for IDXVAHD_VideoProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDXVAHD_VideoProcessor, windows_core::IUnknown); @@ -3585,7 +3585,7 @@ windows_core::imp::define_interface!(IDirect3D9ExOverlayExtension, IDirect3D9ExO impl std::ops::Deref for IDirect3D9ExOverlayExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3D9ExOverlayExtension, windows_core::IUnknown); @@ -3607,7 +3607,7 @@ windows_core::imp::define_interface!(IDirect3DAuthenticatedChannel9, IDirect3DAu impl std::ops::Deref for IDirect3DAuthenticatedChannel9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DAuthenticatedChannel9, windows_core::IUnknown); @@ -3645,7 +3645,7 @@ windows_core::imp::define_interface!(IDirect3DCryptoSession9, IDirect3DCryptoSes impl std::ops::Deref for IDirect3DCryptoSession9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DCryptoSession9, windows_core::IUnknown); @@ -3718,7 +3718,7 @@ windows_core::imp::define_interface!(IDirect3DDevice9Video, IDirect3DDevice9Vide impl std::ops::Deref for IDirect3DDevice9Video { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DDevice9Video, windows_core::IUnknown); @@ -3748,7 +3748,7 @@ windows_core::imp::define_interface!(IDirect3DDeviceManager9, IDirect3DDeviceMan impl std::ops::Deref for IDirect3DDeviceManager9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DDeviceManager9, windows_core::IUnknown); @@ -3761,7 +3761,7 @@ impl IDirect3DDeviceManager9 { (windows_core::Interface::vtable(self).ResetDevice)(windows_core::Interface::as_raw(self), pdevice.param().abi(), resettoken).ok() } pub unsafe fn OpenDeviceHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenDeviceHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CloseDeviceHandle(&self, hdevice: P0) -> windows_core::Result<()> @@ -3819,7 +3819,7 @@ windows_core::imp::define_interface!(IDirectXVideoAccelerationService, IDirectXV impl std::ops::Deref for IDirectXVideoAccelerationService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectXVideoAccelerationService, windows_core::IUnknown); @@ -3841,13 +3841,13 @@ windows_core::imp::define_interface!(IDirectXVideoDecoder, IDirectXVideoDecoder_ impl std::ops::Deref for IDirectXVideoDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectXVideoDecoder, windows_core::IUnknown); impl IDirectXVideoDecoder { pub unsafe fn GetVideoDecoderService(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoDecoderService)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -3895,7 +3895,7 @@ windows_core::imp::define_interface!(IDirectXVideoDecoderService, IDirectXVideoD impl std::ops::Deref for IDirectXVideoDecoderService { type Target = IDirectXVideoAccelerationService; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectXVideoDecoderService, windows_core::IUnknown, IDirectXVideoAccelerationService); @@ -3913,7 +3913,7 @@ impl IDirectXVideoDecoderService { } #[cfg(feature = "Win32_Graphics_Direct3D9")] pub unsafe fn CreateVideoDecoder(&self, guid: *const windows_core::GUID, pvideodesc: *const DXVA2_VideoDesc, pconfig: *const DXVA2_ConfigPictureDecode, ppdecoderrendertargets: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVideoDecoder)(windows_core::Interface::as_raw(self), guid, pvideodesc, pconfig, core::mem::transmute(ppdecoderrendertargets.as_ptr()), ppdecoderrendertargets.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3938,13 +3938,13 @@ windows_core::imp::define_interface!(IDirectXVideoMemoryConfiguration, IDirectXV impl std::ops::Deref for IDirectXVideoMemoryConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectXVideoMemoryConfiguration, windows_core::IUnknown); impl IDirectXVideoMemoryConfiguration { pub unsafe fn GetAvailableSurfaceTypeByIndex(&self, dwtypeindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableSurfaceTypeByIndex)(windows_core::Interface::as_raw(self), dwtypeindex, &mut result__).map(|| result__) } pub unsafe fn SetSurfaceType(&self, dwtype: DXVA2_SurfaceType) -> windows_core::Result<()> { @@ -3961,13 +3961,13 @@ windows_core::imp::define_interface!(IDirectXVideoProcessor, IDirectXVideoProces impl std::ops::Deref for IDirectXVideoProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectXVideoProcessor, windows_core::IUnknown); impl IDirectXVideoProcessor { pub unsafe fn GetVideoProcessorService(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoProcessorService)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -3979,11 +3979,11 @@ impl IDirectXVideoProcessor { (windows_core::Interface::vtable(self).GetVideoProcessorCaps)(windows_core::Interface::as_raw(self), pcaps).ok() } pub unsafe fn GetProcAmpRange(&self, procampcap: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcAmpRange)(windows_core::Interface::as_raw(self), procampcap, &mut result__).map(|| result__) } pub unsafe fn GetFilterPropertyRange(&self, filtersetting: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterPropertyRange)(windows_core::Interface::as_raw(self), filtersetting, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -4017,7 +4017,7 @@ windows_core::imp::define_interface!(IDirectXVideoProcessorService, IDirectXVide impl std::ops::Deref for IDirectXVideoProcessorService { type Target = IDirectXVideoAccelerationService; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectXVideoProcessorService, windows_core::IUnknown, IDirectXVideoAccelerationService); @@ -4043,17 +4043,17 @@ impl IDirectXVideoProcessorService { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcAmpRange)(windows_core::Interface::as_raw(self), videoprocdeviceguid, pvideodesc, rendertargetformat, procampcap, &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterPropertyRange)(windows_core::Interface::as_raw(self), videoprocdeviceguid, pvideodesc, rendertargetformat, filtersetting, &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVideoProcessor)(windows_core::Interface::as_raw(self), videoprocdeviceguid, pvideodesc, rendertargetformat, maxnumsubstreams, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4094,7 +4094,7 @@ windows_core::imp::define_interface!(IEVRFilterConfig, IEVRFilterConfig_Vtbl, 0x impl std::ops::Deref for IEVRFilterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEVRFilterConfig, windows_core::IUnknown); @@ -4103,7 +4103,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfStreams)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4117,7 +4117,7 @@ windows_core::imp::define_interface!(IEVRFilterConfigEx, IEVRFilterConfigEx_Vtbl impl std::ops::Deref for IEVRFilterConfigEx { type Target = IEVRFilterConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEVRFilterConfigEx, windows_core::IUnknown, IEVRFilterConfig); @@ -4126,7 +4126,7 @@ impl IEVRFilterConfigEx { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfigPrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4140,17 +4140,17 @@ windows_core::imp::define_interface!(IEVRTrustedVideoPlugin, IEVRTrustedVideoPlu impl std::ops::Deref for IEVRTrustedVideoPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEVRTrustedVideoPlugin, windows_core::IUnknown); impl IEVRTrustedVideoPlugin { pub unsafe fn IsInTrustedVideoMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInTrustedVideoMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanConstrict(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanConstrict)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetConstriction(&self, dwkpix: u32) -> windows_core::Result<()> { @@ -4175,7 +4175,7 @@ windows_core::imp::define_interface!(IEVRVideoStreamControl, IEVRVideoStreamCont impl std::ops::Deref for IEVRVideoStreamControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEVRVideoStreamControl, windows_core::IUnknown); @@ -4187,7 +4187,7 @@ impl IEVRVideoStreamControl { (windows_core::Interface::vtable(self).SetStreamActiveState)(windows_core::Interface::as_raw(self), factive.param().abi()).ok() } pub unsafe fn GetStreamActiveState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamActiveState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4201,7 +4201,7 @@ windows_core::imp::define_interface!(IFileClient, IFileClient_Vtbl, 0xbfccd196_1 impl std::ops::Deref for IFileClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileClient, windows_core::IUnknown); @@ -4233,7 +4233,7 @@ windows_core::imp::define_interface!(IFileIo, IFileIo_Vtbl, 0x11993196_1244_4840 impl std::ops::Deref for IFileIo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileIo, windows_core::IUnknown); @@ -4290,7 +4290,7 @@ windows_core::imp::define_interface!(IMF2DBuffer, IMF2DBuffer_Vtbl, 0x7dc9d5f9_9 impl std::ops::Deref for IMF2DBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMF2DBuffer, windows_core::IUnknown); @@ -4305,11 +4305,11 @@ impl IMF2DBuffer { (windows_core::Interface::vtable(self).GetScanline0AndPitch)(windows_core::Interface::as_raw(self), pbscanline0, plpitch).ok() } pub unsafe fn IsContiguousFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsContiguousFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContiguousLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContiguousLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ContiguousCopyTo(&self, pbdestbuffer: &mut [u8]) -> windows_core::Result<()> { @@ -4334,7 +4334,7 @@ windows_core::imp::define_interface!(IMF2DBuffer2, IMF2DBuffer2_Vtbl, 0x33ae5ea6 impl std::ops::Deref for IMF2DBuffer2 { type Target = IMF2DBuffer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMF2DBuffer2, windows_core::IUnknown, IMF2DBuffer); @@ -4359,7 +4359,7 @@ windows_core::imp::define_interface!(IMFASFContentInfo, IMFASFContentInfo_Vtbl, impl std::ops::Deref for IMFASFContentInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFASFContentInfo, windows_core::IUnknown); @@ -4368,7 +4368,7 @@ impl IMFASFContentInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHeaderSize)(windows_core::Interface::as_raw(self), pistartofcontent.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ParseHeader(&self, piheaderbuffer: P0, cboffsetwithinheader: u64) -> windows_core::Result<()> @@ -4381,11 +4381,11 @@ impl IMFASFContentInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateHeader)(windows_core::Interface::as_raw(self), piheader.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetProfile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProfile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProfile(&self, piprofile: P0) -> windows_core::Result<()> @@ -4395,12 +4395,12 @@ impl IMFASFContentInfo { (windows_core::Interface::vtable(self).SetProfile)(windows_core::Interface::as_raw(self), piprofile.param().abi()).ok() } pub unsafe fn GeneratePresentationDescriptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GeneratePresentationDescriptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetEncodingConfigurationPropertyStore(&self, wstreamnumber: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEncodingConfigurationPropertyStore)(windows_core::Interface::as_raw(self), wstreamnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4422,7 +4422,7 @@ windows_core::imp::define_interface!(IMFASFIndexer, IMFASFIndexer_Vtbl, 0x53590f impl std::ops::Deref for IMFASFIndexer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFASFIndexer, windows_core::IUnknown); @@ -4431,7 +4431,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Initialize(&self, picontentinfo: P0) -> windows_core::Result<()> @@ -4444,14 +4444,14 @@ impl IMFASFIndexer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndexPosition)(windows_core::Interface::as_raw(self), picontentinfo.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetIndexByteStreams(&self, ppibytestreams: *const 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndexByteStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIndexStatus(&self, pindexidentifier: *const ASF_INDEX_IDENTIFIER, pfisindexed: *mut super::super::Foundation::BOOL, pbindexdescriptor: *mut u8, pcbindexdescriptor: *mut u32) -> windows_core::Result<()> { @@ -4479,7 +4479,7 @@ impl IMFASFIndexer { (windows_core::Interface::vtable(self).CommitIndex)(windows_core::Interface::as_raw(self), picontentinfo.param().abi()).ok() } pub unsafe fn GetIndexWriteSpace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndexWriteSpace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCompletedIndex(&self, piindexbuffer: P0, cboffsetwithinindex: u64) -> windows_core::Result<()> @@ -4500,7 +4500,7 @@ pub struct IMFASFIndexer_Vtbl { pub GetIndexByteStreamCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetIndexStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const ASF_INDEX_IDENTIFIER, *mut super::super::Foundation::BOOL, *mut u8, *mut u32) -> windows_core::HRESULT, pub SetIndexStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetSeekPositionForValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const ASF_INDEX_IDENTIFIER, *mut u64, *mut i64, *mut u32) -> windows_core::HRESULT, + pub GetSeekPositionForValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const ASF_INDEX_IDENTIFIER, *mut u64, *mut i64, *mut u32) -> windows_core::HRESULT, pub GenerateIndexEntries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CommitIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetIndexWriteSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, @@ -4510,7 +4510,7 @@ windows_core::imp::define_interface!(IMFASFMultiplexer, IMFASFMultiplexer_Vtbl, impl std::ops::Deref for IMFASFMultiplexer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFASFMultiplexer, windows_core::IUnknown); @@ -4525,7 +4525,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProcessSample(&self, wstreamnumber: u16, pisample: P0, hnstimestampadjust: i64) -> windows_core::Result<()> @@ -4547,7 +4547,7 @@ impl IMFASFMultiplexer { (windows_core::Interface::vtable(self).End)(windows_core::Interface::as_raw(self), picontentinfo.param().abi()).ok() } pub unsafe fn GetStatistics(&self, wstreamnumber: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatistics)(windows_core::Interface::as_raw(self), wstreamnumber, &mut result__).map(|| result__) } pub unsafe fn SetSyncTolerance(&self, mssynctolerance: u32) -> windows_core::Result<()> { @@ -4571,20 +4571,20 @@ windows_core::imp::define_interface!(IMFASFMutualExclusion, IMFASFMutualExclusio impl std::ops::Deref for IMFASFMutualExclusion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFASFMutualExclusion, windows_core::IUnknown); impl IMFASFMutualExclusion { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), guidtype).ok() } pub unsafe fn GetRecordCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamsForRecord(&self, dwrecordnumber: u32, pwstreamnumarray: *mut u16, pcstreams: *mut u32) -> windows_core::Result<()> { @@ -4600,11 +4600,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddRecord)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4625,20 +4625,20 @@ windows_core::imp::define_interface!(IMFASFProfile, IMFASFProfile_Vtbl, 0xd267bf impl std::ops::Deref for IMFASFProfile { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFASFProfile, windows_core::IUnknown, IMFAttributes); impl IMFASFProfile { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStream(&self, dwstreamindex: u32, pwstreamnumber: *mut u16, ppistream: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), dwstreamindex, pwstreamnumber, core::mem::transmute(ppistream)).ok() } pub unsafe fn GetStreamByNumber(&self, wstreamnumber: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamByNumber)(windows_core::Interface::as_raw(self), wstreamnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStream(&self, pistream: P0) -> windows_core::Result<()> @@ -4654,15 +4654,15 @@ impl IMFASFProfile { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStream)(windows_core::Interface::as_raw(self), pimediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMutualExclusionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMutualExclusionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMutualExclusion(&self, dwmutexindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMutualExclusion)(windows_core::Interface::as_raw(self), dwmutexindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddMutualExclusion(&self, pimutex: P0) -> windows_core::Result<()> @@ -4675,11 +4675,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMutualExclusion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamPrioritization(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamPrioritization)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddStreamPrioritization(&self, pistreamprioritization: P0) -> windows_core::Result<()> @@ -4692,11 +4692,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStreamPrioritization)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4724,7 +4724,7 @@ windows_core::imp::define_interface!(IMFASFSplitter, IMFASFSplitter_Vtbl, 0x1255 impl std::ops::Deref for IMFASFSplitter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFASFSplitter, windows_core::IUnknown); @@ -4739,7 +4739,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SelectStreams(&self, pwstreamnumbers: *const u16, wnumstreams: u16) -> windows_core::Result<()> { @@ -4761,7 +4761,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastSendTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4782,13 +4782,13 @@ windows_core::imp::define_interface!(IMFASFStreamConfig, IMFASFStreamConfig_Vtbl impl std::ops::Deref for IMFASFStreamConfig { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFASFStreamConfig, windows_core::IUnknown, IMFAttributes); impl IMFASFStreamConfig { pub unsafe fn GetStreamType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamNumber(&self) -> u16 { @@ -4798,7 +4798,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMediaType(&self, pimediatype: P0) -> windows_core::Result<()> @@ -4808,7 +4808,7 @@ impl IMFASFStreamConfig { (windows_core::Interface::vtable(self).SetMediaType)(windows_core::Interface::as_raw(self), pimediatype.param().abi()).ok() } pub unsafe fn GetPayloadExtensionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPayloadExtensionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -4821,7 +4821,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4843,13 +4843,13 @@ windows_core::imp::define_interface!(IMFASFStreamPrioritization, IMFASFStreamPri impl std::ops::Deref for IMFASFStreamPrioritization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFASFStreamPrioritization, windows_core::IUnknown); impl IMFASFStreamPrioritization { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStream(&self, dwstreamindex: u32, pwstreamnumber: *mut u16, pwstreamflags: *mut u16) -> windows_core::Result<()> { @@ -4862,7 +4862,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4879,58 +4879,58 @@ windows_core::imp::define_interface!(IMFASFStreamSelector, IMFASFStreamSelector_ impl std::ops::Deref for IMFASFStreamSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFASFStreamSelector, windows_core::IUnknown); impl IMFASFStreamSelector { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOutputCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOutputStreamCount(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputStreamCount)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).map(|| result__) } pub unsafe fn GetOutputStreamNumbers(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputStreamNumbers)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).map(|| result__) } pub unsafe fn GetOutputFromStream(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputFromStream)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| result__) } pub unsafe fn GetOutputOverride(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputOverride)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMutexCount)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).map(|| result__) } pub unsafe fn GetOutputMutex(&self, dwoutputnum: u32, dwmutexnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMutex)(windows_core::Interface::as_raw(self), dwoutputnum, dwmutexnum, &mut result__).and_then(|| windows_core::Type::from_abi(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBandwidthStepCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, pdwbitrate, rgwstreamnumbers, rgselections).ok() } pub unsafe fn BitrateToStepNumber(&self, dwbitrate: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BitrateToStepNumber)(windows_core::Interface::as_raw(self), dwbitrate, &mut result__).map(|| result__) } pub unsafe fn SetStreamSelectorFlags(&self, dwstreamselectorflags: u32) -> windows_core::Result<()> { @@ -4959,7 +4959,7 @@ windows_core::imp::define_interface!(IMFActivate, IMFActivate_Vtbl, 0x7fee9e9a_4 impl std::ops::Deref for IMFActivate { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFActivate, windows_core::IUnknown, IMFAttributes); @@ -4989,7 +4989,7 @@ windows_core::imp::define_interface!(IMFAsyncCallback, IMFAsyncCallback_Vtbl, 0x impl std::ops::Deref for IMFAsyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFAsyncCallback, windows_core::IUnknown); @@ -5014,7 +5014,7 @@ windows_core::imp::define_interface!(IMFAsyncCallbackLogging, IMFAsyncCallbackLo impl std::ops::Deref for IMFAsyncCallbackLogging { type Target = IMFAsyncCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFAsyncCallbackLogging, windows_core::IUnknown, IMFAsyncCallback); @@ -5036,13 +5036,13 @@ windows_core::imp::define_interface!(IMFAsyncResult, IMFAsyncResult_Vtbl, 0xac6b impl std::ops::Deref for IMFAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFAsyncResult, windows_core::IUnknown); impl IMFAsyncResult { pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStatus(&self) -> windows_core::Result<()> { @@ -5052,7 +5052,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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStateNoAddRef(&self) -> Option { @@ -5072,7 +5072,7 @@ windows_core::imp::define_interface!(IMFAttributes, IMFAttributes_Vtbl, 0x2cd2d9 impl std::ops::Deref for IMFAttributes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFAttributes, windows_core::IUnknown); @@ -5081,38 +5081,38 @@ impl IMFAttributes { (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), guidkey, core::mem::transmute(pvalue.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetItemType(&self, guidkey: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemType)(windows_core::Interface::as_raw(self), guidkey, &mut result__).map(|| result__) } pub unsafe fn CompareItem(&self, guidkey: *const windows_core::GUID, value: *const windows_core::PROPVARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareItem)(windows_core::Interface::as_raw(self), guidkey, core::mem::transmute(value), &mut result__).map(|| result__) } pub unsafe fn Compare(&self, ptheirs: P0, matchtype: MF_ATTRIBUTES_MATCH_TYPE) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Compare)(windows_core::Interface::as_raw(self), ptheirs.param().abi(), matchtype, &mut result__).map(|| result__) } pub unsafe fn GetUINT32(&self, guidkey: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUINT32)(windows_core::Interface::as_raw(self), guidkey, &mut result__).map(|| result__) } pub unsafe fn GetUINT64(&self, guidkey: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUINT64)(windows_core::Interface::as_raw(self), guidkey, &mut result__).map(|| result__) } pub unsafe fn GetDouble(&self, guidkey: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDouble)(windows_core::Interface::as_raw(self), guidkey, &mut result__).map(|| result__) } pub unsafe fn GetGUID(&self, guidkey: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGUID)(windows_core::Interface::as_raw(self), guidkey, &mut result__).map(|| result__) } pub unsafe fn GetStringLength(&self, guidkey: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringLength)(windows_core::Interface::as_raw(self), guidkey, &mut result__).map(|| result__) } pub unsafe fn GetString(&self, guidkey: *const windows_core::GUID, pwszvalue: &mut [u16], pcchlength: Option<*mut u32>) -> windows_core::Result<()> { @@ -5122,7 +5122,7 @@ impl IMFAttributes { (windows_core::Interface::vtable(self).GetAllocatedString)(windows_core::Interface::as_raw(self), guidkey, ppwszvalue, pcchlength).ok() } pub unsafe fn GetBlobSize(&self, guidkey: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBlobSize)(windows_core::Interface::as_raw(self), guidkey, &mut result__).map(|| result__) } pub unsafe fn GetBlob(&self, guidkey: *const windows_core::GUID, pbuf: &mut [u8], pcbblobsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -5181,7 +5181,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemByIndex(&self, unindex: u32, pguidkey: *mut windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -5197,9 +5197,9 @@ impl IMFAttributes { #[repr(C)] pub struct IMFAttributes_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetItemType: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut MF_ATTRIBUTE_TYPE) -> windows_core::HRESULT, - pub CompareItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub CompareItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, MF_ATTRIBUTES_MATCH_TYPE, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetUINT32: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, pub GetUINT64: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u64) -> windows_core::HRESULT, @@ -5212,7 +5212,7 @@ pub struct IMFAttributes_Vtbl { pub GetBlob: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u8, u32, *mut u32) -> windows_core::HRESULT, pub GetAllocatedBlob: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub GetUnknown: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub DeleteAllItems: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetUINT32: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, @@ -5225,14 +5225,14 @@ pub struct IMFAttributes_Vtbl { pub LockStore: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub UnlockStore: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetItemByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItemByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CopyAllItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFAudioMediaType, IMFAudioMediaType_Vtbl, 0x26a0adc3_ce26_4672_9304_69552edd3faf); impl std::ops::Deref for IMFAudioMediaType { type Target = IMFMediaType; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFAudioMediaType, windows_core::IUnknown, IMFAttributes, IMFMediaType); @@ -5254,7 +5254,7 @@ windows_core::imp::define_interface!(IMFAudioPolicy, IMFAudioPolicy_Vtbl, 0xa063 impl std::ops::Deref for IMFAudioPolicy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFAudioPolicy, windows_core::IUnknown); @@ -5263,7 +5263,7 @@ impl IMFAudioPolicy { (windows_core::Interface::vtable(self).SetGroupingParam)(windows_core::Interface::as_raw(self), rguidclass).ok() } pub unsafe fn GetGroupingParam(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroupingParam)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDisplayName(&self, pszname: P0) -> windows_core::Result<()> @@ -5273,7 +5273,7 @@ impl IMFAudioPolicy { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), pszname.param().abi()).ok() } pub unsafe fn GetDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIconPath(&self, pszpath: P0) -> windows_core::Result<()> @@ -5283,7 +5283,7 @@ impl IMFAudioPolicy { (windows_core::Interface::vtable(self).SetIconPath)(windows_core::Interface::as_raw(self), pszpath.param().abi()).ok() } pub unsafe fn GetIconPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIconPath)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5301,20 +5301,20 @@ windows_core::imp::define_interface!(IMFAudioStreamVolume, IMFAudioStreamVolume_ impl std::ops::Deref for IMFAudioStreamVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFAudioStreamVolume, windows_core::IUnknown); impl IMFAudioStreamVolume { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChannelVolume)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| result__) } pub unsafe fn SetAllVolumes(&self, pfvolumes: &[f32]) -> windows_core::Result<()> { @@ -5337,7 +5337,7 @@ windows_core::imp::define_interface!(IMFBufferListNotify, IMFBufferListNotify_Vt impl std::ops::Deref for IMFBufferListNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFBufferListNotify, windows_core::IUnknown); @@ -5359,31 +5359,31 @@ windows_core::imp::define_interface!(IMFByteStream, IMFByteStream_Vtbl, 0xad4c1b impl std::ops::Deref for IMFByteStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFByteStream, windows_core::IUnknown); impl IMFByteStream { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCurrentPosition(&self, qwposition: u64) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetCurrentPosition)(windows_core::Interface::as_raw(self), qwposition).ok() } pub unsafe fn IsEndOfStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEndOfStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Read(&self, pb: &mut [u8], pcbread: *mut u32) -> windows_core::Result<()> { @@ -5400,11 +5400,11 @@ impl IMFByteStream { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndRead)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Write(&self, pb: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Write)(windows_core::Interface::as_raw(self), core::mem::transmute(pb.as_ptr()), pb.len().try_into().unwrap(), &mut result__).map(|| result__) } pub unsafe fn BeginWrite(&self, pb: &[u8], pcallback: P0, punkstate: P1) -> windows_core::Result<()> @@ -5418,11 +5418,11 @@ impl IMFByteStream { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndWrite)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Seek(&self, seekorigin: MFBYTESTREAM_SEEK_ORIGIN, llseekoffset: i64, dwseekflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Seek)(windows_core::Interface::as_raw(self), seekorigin, llseekoffset, dwseekflags, &mut result__).map(|| result__) } pub unsafe fn Flush(&self) -> windows_core::Result<()> { @@ -5455,7 +5455,7 @@ windows_core::imp::define_interface!(IMFByteStreamBuffering, IMFByteStreamBuffer impl std::ops::Deref for IMFByteStreamBuffering { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFByteStreamBuffering, windows_core::IUnknown); @@ -5484,7 +5484,7 @@ windows_core::imp::define_interface!(IMFByteStreamCacheControl, IMFByteStreamCac impl std::ops::Deref for IMFByteStreamCacheControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFByteStreamCacheControl, windows_core::IUnknown); @@ -5502,7 +5502,7 @@ windows_core::imp::define_interface!(IMFByteStreamCacheControl2, IMFByteStreamCa impl std::ops::Deref for IMFByteStreamCacheControl2 { type Target = IMFByteStreamCacheControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFByteStreamCacheControl2, windows_core::IUnknown, IMFByteStreamCacheControl); @@ -5514,7 +5514,7 @@ impl IMFByteStreamCacheControl2 { (windows_core::Interface::vtable(self).SetCacheLimit)(windows_core::Interface::as_raw(self), qwbytes).ok() } pub unsafe fn IsBackgroundTransferActive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsBackgroundTransferActive)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5529,7 +5529,7 @@ windows_core::imp::define_interface!(IMFByteStreamHandler, IMFByteStreamHandler_ impl std::ops::Deref for IMFByteStreamHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFByteStreamHandler, windows_core::IUnknown); @@ -5558,7 +5558,7 @@ impl IMFByteStreamHandler { (windows_core::Interface::vtable(self).CancelObjectCreation)(windows_core::Interface::as_raw(self), piunknowncancelcookie.param().abi()).ok() } pub unsafe fn GetMaxNumberOfBytesRequiredForResolution(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxNumberOfBytesRequiredForResolution)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5577,7 +5577,7 @@ windows_core::imp::define_interface!(IMFByteStreamProxyClassFactory, IMFByteStre impl std::ops::Deref for IMFByteStreamProxyClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFByteStreamProxyClassFactory, windows_core::IUnknown); @@ -5601,13 +5601,13 @@ windows_core::imp::define_interface!(IMFByteStreamTimeSeek, IMFByteStreamTimeSee impl std::ops::Deref for IMFByteStreamTimeSeek { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFByteStreamTimeSeek, windows_core::IUnknown); impl IMFByteStreamTimeSeek { pub unsafe fn IsTimeSeekSupported(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTimeSeekSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TimeSeek(&self, qwtimeposition: u64) -> windows_core::Result<()> { @@ -5628,7 +5628,7 @@ windows_core::imp::define_interface!(IMFCameraConfigurationManager, IMFCameraCon impl std::ops::Deref for IMFCameraConfigurationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCameraConfigurationManager, windows_core::IUnknown); @@ -5637,7 +5637,7 @@ impl IMFCameraConfigurationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadDefaults)(windows_core::Interface::as_raw(self), cameraattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SaveDefaults(&self, configurations: P0) -> windows_core::Result<()> @@ -5661,7 +5661,7 @@ windows_core::imp::define_interface!(IMFCameraControlDefaults, IMFCameraControlD impl std::ops::Deref for IMFCameraControlDefaults { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCameraControlDefaults, windows_core::IUnknown); @@ -5670,7 +5670,7 @@ impl IMFCameraControlDefaults { (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetRangeInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRangeInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LockControlData(&self, control: *mut *mut core::ffi::c_void, controlsize: *mut u32, data: Option<*mut *mut core::ffi::c_void>, datasize: Option<*mut u32>) -> windows_core::Result<()> { @@ -5692,7 +5692,7 @@ windows_core::imp::define_interface!(IMFCameraControlDefaultsCollection, IMFCame impl std::ops::Deref for IMFCameraControlDefaultsCollection { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCameraControlDefaultsCollection, windows_core::IUnknown, IMFAttributes); @@ -5701,15 +5701,15 @@ impl IMFCameraControlDefaultsCollection { (windows_core::Interface::vtable(self).GetControlCount)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetControl(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetControl)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOrAddExtendedControl(&self, configtype: MF_CAMERA_CONTROL_CONFIGURATION_TYPE, constrolid: u32, streamid: u32, datasize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOrAddExtendedControl)(windows_core::Interface::as_raw(self), configtype, constrolid, streamid, datasize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOrAddControl(&self, configtype: MF_CAMERA_CONTROL_CONFIGURATION_TYPE, controlset: *const windows_core::GUID, constrolid: u32, controlsize: u32, datasize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOrAddControl)(windows_core::Interface::as_raw(self), configtype, controlset, constrolid, controlsize, datasize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveControl(&self, controlset: *const windows_core::GUID, constrolid: u32) -> windows_core::Result<()> { @@ -5733,7 +5733,7 @@ windows_core::imp::define_interface!(IMFCameraControlMonitor, IMFCameraControlMo impl std::ops::Deref for IMFCameraControlMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCameraControlMonitor, windows_core::IUnknown); @@ -5767,7 +5767,7 @@ windows_core::imp::define_interface!(IMFCameraControlNotify, IMFCameraControlNot impl std::ops::Deref for IMFCameraControlNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCameraControlNotify, windows_core::IUnknown); @@ -5789,7 +5789,7 @@ windows_core::imp::define_interface!(IMFCameraOcclusionStateMonitor, IMFCameraOc impl std::ops::Deref for IMFCameraOcclusionStateMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCameraOcclusionStateMonitor, windows_core::IUnknown); @@ -5815,13 +5815,13 @@ windows_core::imp::define_interface!(IMFCameraOcclusionStateReport, IMFCameraOcc impl std::ops::Deref for IMFCameraOcclusionStateReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCameraOcclusionStateReport, windows_core::IUnknown); impl IMFCameraOcclusionStateReport { pub unsafe fn GetOcclusionState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOcclusionState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5834,7 +5834,7 @@ windows_core::imp::define_interface!(IMFCameraOcclusionStateReportCallback, IMFC impl std::ops::Deref for IMFCameraOcclusionStateReportCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCameraOcclusionStateReportCallback, windows_core::IUnknown); @@ -5855,7 +5855,7 @@ windows_core::imp::define_interface!(IMFCameraSyncObject, IMFCameraSyncObject_Vt impl std::ops::Deref for IMFCameraSyncObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCameraSyncObject, windows_core::IUnknown); @@ -5877,7 +5877,7 @@ windows_core::imp::define_interface!(IMFCaptureEngine, IMFCaptureEngine_Vtbl, 0x impl std::ops::Deref for IMFCaptureEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCaptureEngine, windows_core::IUnknown); @@ -5911,11 +5911,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSink)(windows_core::Interface::as_raw(self), mfcaptureenginesinktype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5935,7 +5935,7 @@ windows_core::imp::define_interface!(IMFCaptureEngineClassFactory, IMFCaptureEng impl std::ops::Deref for IMFCaptureEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCaptureEngineClassFactory, windows_core::IUnknown); @@ -5957,7 +5957,7 @@ windows_core::imp::define_interface!(IMFCaptureEngineOnEventCallback, IMFCapture impl std::ops::Deref for IMFCaptureEngineOnEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCaptureEngineOnEventCallback, windows_core::IUnknown); @@ -5978,7 +5978,7 @@ windows_core::imp::define_interface!(IMFCaptureEngineOnSampleCallback, IMFCaptur impl std::ops::Deref for IMFCaptureEngineOnSampleCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCaptureEngineOnSampleCallback, windows_core::IUnknown); @@ -5999,7 +5999,7 @@ windows_core::imp::define_interface!(IMFCaptureEngineOnSampleCallback2, IMFCaptu impl std::ops::Deref for IMFCaptureEngineOnSampleCallback2 { type Target = IMFCaptureEngineOnSampleCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCaptureEngineOnSampleCallback2, windows_core::IUnknown, IMFCaptureEngineOnSampleCallback); @@ -6020,7 +6020,7 @@ windows_core::imp::define_interface!(IMFCapturePhotoConfirmation, IMFCapturePhot impl std::ops::Deref for IMFCapturePhotoConfirmation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCapturePhotoConfirmation, windows_core::IUnknown); @@ -6035,7 +6035,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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPixelFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6050,7 +6050,7 @@ windows_core::imp::define_interface!(IMFCapturePhotoSink, IMFCapturePhotoSink_Vt impl std::ops::Deref for IMFCapturePhotoSink { type Target = IMFCaptureSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCapturePhotoSink, windows_core::IUnknown, IMFCaptureSink); @@ -6085,7 +6085,7 @@ windows_core::imp::define_interface!(IMFCapturePreviewSink, IMFCapturePreviewSin impl std::ops::Deref for IMFCapturePreviewSink { type Target = IMFCaptureSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCapturePreviewSink, windows_core::IUnknown, IMFCaptureSink); @@ -6112,7 +6112,7 @@ impl IMFCapturePreviewSink { (windows_core::Interface::vtable(self).SetSampleCallback)(windows_core::Interface::as_raw(self), dwstreamsinkindex, pcallback.param().abi()).ok() } pub unsafe fn GetMirrorState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMirrorState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMirrorState(&self, fmirrorstate: P0) -> windows_core::Result<()> @@ -6122,7 +6122,7 @@ impl IMFCapturePreviewSink { (windows_core::Interface::vtable(self).SetMirrorState)(windows_core::Interface::as_raw(self), fmirrorstate.param().abi()).ok() } pub unsafe fn GetRotation(&self, dwstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRotation)(windows_core::Interface::as_raw(self), dwstreamindex, &mut result__).map(|| result__) } pub unsafe fn SetRotation(&self, dwstreamindex: u32, dwrotationvalue: u32) -> windows_core::Result<()> { @@ -6152,7 +6152,7 @@ windows_core::imp::define_interface!(IMFCaptureRecordSink, IMFCaptureRecordSink_ impl std::ops::Deref for IMFCaptureRecordSink { type Target = IMFCaptureSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCaptureRecordSink, windows_core::IUnknown, IMFCaptureSink); @@ -6182,7 +6182,7 @@ impl IMFCaptureRecordSink { (windows_core::Interface::vtable(self).SetCustomSink)(windows_core::Interface::as_raw(self), pmediasink.param().abi()).ok() } pub unsafe fn GetRotation(&self, dwstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRotation)(windows_core::Interface::as_raw(self), dwstreamindex, &mut result__).map(|| result__) } pub unsafe fn SetRotation(&self, dwstreamindex: u32, dwrotationvalue: u32) -> windows_core::Result<()> { @@ -6203,7 +6203,7 @@ windows_core::imp::define_interface!(IMFCaptureSink, IMFCaptureSink_Vtbl, 0x72d6 impl std::ops::Deref for IMFCaptureSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCaptureSink, windows_core::IUnknown); @@ -6241,7 +6241,7 @@ windows_core::imp::define_interface!(IMFCaptureSink2, IMFCaptureSink2_Vtbl, 0xf9 impl std::ops::Deref for IMFCaptureSink2 { type Target = IMFCaptureSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCaptureSink2, windows_core::IUnknown, IMFCaptureSink); @@ -6263,7 +6263,7 @@ windows_core::imp::define_interface!(IMFCaptureSource, IMFCaptureSource_Vtbl, 0x impl std::ops::Deref for IMFCaptureSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCaptureSource, windows_core::IUnknown); @@ -6302,19 +6302,19 @@ impl IMFCaptureSource { (windows_core::Interface::vtable(self).SetCurrentDeviceMediaType)(windows_core::Interface::as_raw(self), dwsourcestreamindex, pmediatype.param().abi()).ok() } pub unsafe fn GetCurrentDeviceMediaType(&self, dwsourcestreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentDeviceMediaType)(windows_core::Interface::as_raw(self), dwsourcestreamindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDeviceStreamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceStreamCategory(&self, dwsourcestreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceStreamCategory)(windows_core::Interface::as_raw(self), dwsourcestreamindex, &mut result__).map(|| result__) } pub unsafe fn GetMirrorState(&self, dwstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMirrorState)(windows_core::Interface::as_raw(self), dwstreamindex, &mut result__).map(|| result__) } pub unsafe fn SetMirrorState(&self, dwstreamindex: u32, fmirrorstate: P0) -> windows_core::Result<()> @@ -6324,7 +6324,7 @@ impl IMFCaptureSource { (windows_core::Interface::vtable(self).SetMirrorState)(windows_core::Interface::as_raw(self), dwstreamindex, fmirrorstate.param().abi()).ok() } pub unsafe fn GetStreamIndexFromFriendlyName(&self, uifriendlyname: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamIndexFromFriendlyName)(windows_core::Interface::as_raw(self), uifriendlyname, &mut result__).map(|| result__) } } @@ -6350,7 +6350,7 @@ windows_core::imp::define_interface!(IMFCdmSuspendNotify, IMFCdmSuspendNotify_Vt impl std::ops::Deref for IMFCdmSuspendNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCdmSuspendNotify, windows_core::IUnknown); @@ -6372,24 +6372,24 @@ windows_core::imp::define_interface!(IMFClock, IMFClock_Vtbl, 0x2eb1e945_18b8_41 impl std::ops::Deref for IMFClock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFClock, windows_core::IUnknown); impl IMFClock { pub unsafe fn GetClockCharacteristics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClockCharacteristics)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, pllclocktime, phnssystemtime).ok() } pub unsafe fn GetContinuityKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContinuityKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetState(&self, dwreserved: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), dwreserved, &mut result__).map(|| result__) } pub unsafe fn GetProperties(&self, pclockproperties: *mut MFCLOCK_PROPERTIES) -> windows_core::Result<()> { @@ -6409,7 +6409,7 @@ windows_core::imp::define_interface!(IMFClockConsumer, IMFClockConsumer_Vtbl, 0x impl std::ops::Deref for IMFClockConsumer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFClockConsumer, windows_core::IUnknown); @@ -6421,7 +6421,7 @@ impl IMFClockConsumer { (windows_core::Interface::vtable(self).SetPresentationClock)(windows_core::Interface::as_raw(self), ppresentationclock.param().abi()).ok() } pub unsafe fn GetPresentationClock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPresentationClock)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6435,7 +6435,7 @@ windows_core::imp::define_interface!(IMFClockStateSink, IMFClockStateSink_Vtbl, impl std::ops::Deref for IMFClockStateSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFClockStateSink, windows_core::IUnknown); @@ -6469,17 +6469,17 @@ windows_core::imp::define_interface!(IMFCollection, IMFCollection_Vtbl, 0x5bc8a7 impl std::ops::Deref for IMFCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFCollection, windows_core::IUnknown); impl IMFCollection { pub unsafe fn GetElementCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElementCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetElement(&self, dwelementindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElement)(windows_core::Interface::as_raw(self), dwelementindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddElement(&self, punkelement: P0) -> windows_core::Result<()> @@ -6489,7 +6489,7 @@ impl IMFCollection { (windows_core::Interface::vtable(self).AddElement)(windows_core::Interface::as_raw(self), punkelement.param().abi()).ok() } pub unsafe fn RemoveElement(&self, dwelementindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoveElement)(windows_core::Interface::as_raw(self), dwelementindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertElementAt(&self, dwindex: u32, punknown: P0) -> windows_core::Result<()> @@ -6516,7 +6516,7 @@ windows_core::imp::define_interface!(IMFContentDecryptionModule, IMFContentDecry impl std::ops::Deref for IMFContentDecryptionModule { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFContentDecryptionModule, windows_core::IUnknown); @@ -6529,7 +6529,7 @@ impl IMFContentDecryptionModule { (windows_core::Interface::vtable(self).SetContentEnabler)(windows_core::Interface::as_raw(self), contentenabler.param().abi(), result.param().abi()).ok() } pub unsafe fn GetSuspendNotify(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSuspendNotify)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPMPHostApp(&self, pmphostapp: P0) -> windows_core::Result<()> @@ -6542,14 +6542,14 @@ impl IMFContentDecryptionModule { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSession)(windows_core::Interface::as_raw(self), sessiontype, callbacks.param().abi(), &mut result__).and_then(|| windows_core::Type::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(certificate.as_ptr()), certificate.len().try_into().unwrap()).ok() } pub unsafe fn CreateTrustedInput(&self, contentinitdata: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTrustedInput)(windows_core::Interface::as_raw(self), core::mem::transmute(contentinitdata.as_ptr()), contentinitdata.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProtectionSystemIds(&self, systemids: *mut *mut windows_core::GUID, count: *mut u32) -> windows_core::Result<()> { @@ -6571,7 +6571,7 @@ windows_core::imp::define_interface!(IMFContentDecryptionModuleAccess, IMFConten impl std::ops::Deref for IMFContentDecryptionModuleAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleAccess, windows_core::IUnknown); @@ -6581,16 +6581,16 @@ impl IMFContentDecryptionModuleAccess { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateContentDecryptionModule)(windows_core::Interface::as_raw(self), contentdecryptionmoduleproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetConfiguration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfiguration)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetKeySystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeySystem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6611,7 +6611,7 @@ windows_core::imp::define_interface!(IMFContentDecryptionModuleFactory, IMFConte impl std::ops::Deref for IMFContentDecryptionModuleFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleFactory, windows_core::IUnknown); @@ -6628,7 +6628,7 @@ impl IMFContentDecryptionModuleFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateContentDecryptionModuleAccess)(windows_core::Interface::as_raw(self), keysystem.param().abi(), core::mem::transmute(configurations.as_ptr()), configurations.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6645,17 +6645,17 @@ windows_core::imp::define_interface!(IMFContentDecryptionModuleSession, IMFConte impl std::ops::Deref for IMFContentDecryptionModuleSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleSession, windows_core::IUnknown); impl IMFContentDecryptionModuleSession { pub unsafe fn GetSessionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSessionId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpiration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpiration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetKeyStatuses(&self, keystatuses: *mut *mut MFMediaKeyStatus, numkeystatuses: *mut u32) -> windows_core::Result<()> { @@ -6665,7 +6665,7 @@ impl IMFContentDecryptionModuleSession { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Load)(windows_core::Interface::as_raw(self), sessionid.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GenerateRequest(&self, initdatatype: P0, initdata: &[u8]) -> windows_core::Result<()> @@ -6700,7 +6700,7 @@ windows_core::imp::define_interface!(IMFContentDecryptionModuleSessionCallbacks, impl std::ops::Deref for IMFContentDecryptionModuleSessionCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleSessionCallbacks, windows_core::IUnknown); @@ -6725,13 +6725,13 @@ windows_core::imp::define_interface!(IMFContentDecryptorContext, IMFContentDecry impl std::ops::Deref for IMFContentDecryptorContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFContentDecryptorContext, windows_core::IUnknown); impl IMFContentDecryptorContext { pub unsafe fn InitializeHardwareKey(&self, inputprivatedata: Option<&[u8]>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeHardwareKey)(windows_core::Interface::as_raw(self), inputprivatedata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(inputprivatedata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &mut result__).map(|| result__) } } @@ -6744,13 +6744,13 @@ windows_core::imp::define_interface!(IMFContentEnabler, IMFContentEnabler_Vtbl, impl std::ops::Deref for IMFContentEnabler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFContentEnabler, windows_core::IUnknown); impl IMFContentEnabler { pub unsafe fn GetEnableType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnableType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEnableURL(&self, ppwszurl: *mut windows_core::PWSTR, pcchurl: *mut u32, ptruststatus: *mut MF_URL_TRUST_STATUS) -> windows_core::Result<()> { @@ -6760,7 +6760,7 @@ impl IMFContentEnabler { (windows_core::Interface::vtable(self).GetEnableData)(windows_core::Interface::as_raw(self), ppbdata, pcbdata).ok() } pub unsafe fn IsAutomaticSupported(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAutomaticSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AutomaticEnable(&self) -> windows_core::Result<()> { @@ -6788,7 +6788,7 @@ windows_core::imp::define_interface!(IMFContentProtectionDevice, IMFContentProte impl std::ops::Deref for IMFContentProtectionDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFContentProtectionDevice, windows_core::IUnknown); @@ -6810,7 +6810,7 @@ windows_core::imp::define_interface!(IMFContentProtectionManager, IMFContentProt impl std::ops::Deref for IMFContentProtectionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFContentProtectionManager, windows_core::IUnknown); @@ -6841,7 +6841,7 @@ windows_core::imp::define_interface!(IMFD3D12SynchronizationObject, IMFD3D12Sync impl std::ops::Deref for IMFD3D12SynchronizationObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFD3D12SynchronizationObject, windows_core::IUnknown); @@ -6866,7 +6866,7 @@ windows_core::imp::define_interface!(IMFD3D12SynchronizationObjectCommands, IMFD impl std::ops::Deref for IMFD3D12SynchronizationObjectCommands { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFD3D12SynchronizationObjectCommands, windows_core::IUnknown); @@ -6920,7 +6920,7 @@ windows_core::imp::define_interface!(IMFDLNASinkInit, IMFDLNASinkInit_Vtbl, 0x0c impl std::ops::Deref for IMFDLNASinkInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFDLNASinkInit, windows_core::IUnknown); @@ -6942,7 +6942,7 @@ windows_core::imp::define_interface!(IMFDRMNetHelper, IMFDRMNetHelper_Vtbl, 0x3d impl std::ops::Deref for IMFDRMNetHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFDRMNetHelper, windows_core::IUnknown); @@ -6957,14 +6957,14 @@ impl IMFDRMNetHelper { #[repr(C)] pub struct IMFDRMNetHelper_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ProcessLicenseRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut u8, *mut u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProcessLicenseRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut u8, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetChainedLicenseResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFDXGIBuffer, IMFDXGIBuffer_Vtbl, 0xe7174cfa_1c9e_48b1_8866_626226bfc258); impl std::ops::Deref for IMFDXGIBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFDXGIBuffer, windows_core::IUnknown); @@ -6973,7 +6973,7 @@ impl IMFDXGIBuffer { (windows_core::Interface::vtable(self).GetResource)(windows_core::Interface::as_raw(self), riid, ppvobject).ok() } pub unsafe fn GetSubresourceIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubresourceIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -6998,7 +6998,7 @@ windows_core::imp::define_interface!(IMFDXGIDeviceManager, IMFDXGIDeviceManager_ impl std::ops::Deref for IMFDXGIDeviceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFDXGIDeviceManager, windows_core::IUnknown); @@ -7023,7 +7023,7 @@ impl IMFDXGIDeviceManager { (windows_core::Interface::vtable(self).LockDevice)(windows_core::Interface::as_raw(self), hdevice.param().abi(), riid, ppunkdevice, fblock.param().abi()).ok() } pub unsafe fn OpenDeviceHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenDeviceHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResetDevice(&self, punkdevice: P0, resettoken: u32) -> windows_core::Result<()> @@ -7061,13 +7061,13 @@ windows_core::imp::define_interface!(IMFDXGIDeviceManagerSource, IMFDXGIDeviceMa impl std::ops::Deref for IMFDXGIDeviceManagerSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFDXGIDeviceManagerSource, windows_core::IUnknown); impl IMFDXGIDeviceManagerSource { pub unsafe fn GetManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7080,7 +7080,7 @@ windows_core::imp::define_interface!(IMFDesiredSample, IMFDesiredSample_Vtbl, 0x impl std::ops::Deref for IMFDesiredSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFDesiredSample, windows_core::IUnknown); @@ -7106,7 +7106,7 @@ windows_core::imp::define_interface!(IMFDeviceTransform, IMFDeviceTransform_Vtbl impl std::ops::Deref for IMFDeviceTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFDeviceTransform, windows_core::IUnknown); @@ -7118,27 +7118,27 @@ impl IMFDeviceTransform { (windows_core::Interface::vtable(self).InitializeTransform)(windows_core::Interface::as_raw(self), pattributes.param().abi()).ok() } pub unsafe fn GetInputAvailableType(&self, dwinputstreamid: u32, dwtypeindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputAvailableType)(windows_core::Interface::as_raw(self), dwinputstreamid, dwtypeindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputCurrentType(&self, dwinputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCurrentType)(windows_core::Interface::as_raw(self), dwinputstreamid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputStreamAttributes(&self, dwinputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputStreamAttributes)(windows_core::Interface::as_raw(self), dwinputstreamid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputAvailableType(&self, dwoutputstreamid: u32, dwtypeindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputAvailableType)(windows_core::Interface::as_raw(self), dwoutputstreamid, dwtypeindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputCurrentType(&self, dwoutputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCurrentType)(windows_core::Interface::as_raw(self), dwoutputstreamid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputStreamAttributes(&self, dwoutputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputStreamAttributes)(windows_core::Interface::as_raw(self), dwoutputstreamid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamCount(&self, pcinputstreams: *mut u32, pcoutputstreams: *mut u32) -> windows_core::Result<()> { @@ -7172,7 +7172,7 @@ impl IMFDeviceTransform { (windows_core::Interface::vtable(self).SetInputStreamState)(windows_core::Interface::as_raw(self), dwstreamid, pmediatype.param().abi(), value, dwflags).ok() } pub unsafe fn GetInputStreamState(&self, dwstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputStreamState)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| result__) } pub unsafe fn SetOutputStreamState(&self, dwstreamid: u32, pmediatype: P0, value: DeviceStreamState, dwflags: u32) -> windows_core::Result<()> @@ -7182,7 +7182,7 @@ impl IMFDeviceTransform { (windows_core::Interface::vtable(self).SetOutputStreamState)(windows_core::Interface::as_raw(self), dwstreamid, pmediatype.param().abi(), value, dwflags).ok() } pub unsafe fn GetOutputStreamState(&self, dwstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputStreamState)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| result__) } pub unsafe fn GetInputStreamPreferredState(&self, dwstreamid: u32, value: *mut DeviceStreamState, ppmediatype: *mut Option) -> windows_core::Result<()> { @@ -7223,7 +7223,7 @@ windows_core::imp::define_interface!(IMFDeviceTransformCallback, IMFDeviceTransf impl std::ops::Deref for IMFDeviceTransformCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFDeviceTransformCallback, windows_core::IUnknown); @@ -7244,7 +7244,7 @@ windows_core::imp::define_interface!(IMFExtendedCameraControl, IMFExtendedCamera impl std::ops::Deref for IMFExtendedCameraControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFExtendedCameraControl, windows_core::IUnknown); @@ -7282,13 +7282,13 @@ windows_core::imp::define_interface!(IMFExtendedCameraController, IMFExtendedCam impl std::ops::Deref for IMFExtendedCameraController { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFExtendedCameraController, windows_core::IUnknown); impl IMFExtendedCameraController { pub unsafe fn GetExtendedCameraControl(&self, dwstreamindex: u32, ulpropertyid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtendedCameraControl)(windows_core::Interface::as_raw(self), dwstreamindex, ulpropertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7301,7 +7301,7 @@ windows_core::imp::define_interface!(IMFExtendedCameraIntrinsicModel, IMFExtende impl std::ops::Deref for IMFExtendedCameraIntrinsicModel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicModel, windows_core::IUnknown); @@ -7313,7 +7313,7 @@ impl IMFExtendedCameraIntrinsicModel { (windows_core::Interface::vtable(self).SetModel)(windows_core::Interface::as_raw(self), pintrinsicmodel).ok() } pub unsafe fn GetDistortionModelType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDistortionModelType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7328,7 +7328,7 @@ windows_core::imp::define_interface!(IMFExtendedCameraIntrinsics, IMFExtendedCam impl std::ops::Deref for IMFExtendedCameraIntrinsics { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsics, windows_core::IUnknown); @@ -7337,18 +7337,18 @@ impl IMFExtendedCameraIntrinsics { (windows_core::Interface::vtable(self).InitializeFromBuffer)(windows_core::Interface::as_raw(self), core::mem::transmute(pbbuffer.as_ptr()), pbbuffer.len().try_into().unwrap()).ok() } pub unsafe fn GetBufferSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBufferSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pbbuffer, pdwbuffersize).ok() } pub unsafe fn GetIntrinsicModelCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIntrinsicModelCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIntrinsicModelByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIntrinsicModelByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddIntrinsicModel(&self, pintrinsicmodel: P0) -> windows_core::Result<()> @@ -7372,7 +7372,7 @@ windows_core::imp::define_interface!(IMFExtendedCameraIntrinsicsDistortionModel6 impl std::ops::Deref for IMFExtendedCameraIntrinsicsDistortionModel6KT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModel6KT, windows_core::IUnknown); @@ -7394,7 +7394,7 @@ windows_core::imp::define_interface!(IMFExtendedCameraIntrinsicsDistortionModelA impl std::ops::Deref for IMFExtendedCameraIntrinsicsDistortionModelArcTan { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModelArcTan, windows_core::IUnknown); @@ -7416,7 +7416,7 @@ windows_core::imp::define_interface!(IMFExtendedDRMTypeSupport, IMFExtendedDRMTy impl std::ops::Deref for IMFExtendedDRMTypeSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFExtendedDRMTypeSupport, windows_core::IUnknown); @@ -7426,20 +7426,20 @@ impl IMFExtendedDRMTypeSupport { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTypeSupportedEx)(windows_core::Interface::as_raw(self), r#type.param().abi(), keysystem.param().abi(), &mut result__).map(|| result__) } } #[repr(C)] pub struct IMFExtendedDRMTypeSupport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub IsTypeSupportedEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT, + pub IsTypeSupportedEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFFieldOfUseMFTUnlock, IMFFieldOfUseMFTUnlock_Vtbl, 0x508e71d3_ec66_4fc3_8775_b4b9ed6ba847); impl std::ops::Deref for IMFFieldOfUseMFTUnlock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFFieldOfUseMFTUnlock, windows_core::IUnknown); @@ -7460,7 +7460,7 @@ windows_core::imp::define_interface!(IMFFinalizableMediaSink, IMFFinalizableMedi impl std::ops::Deref for IMFFinalizableMediaSink { type Target = IMFMediaSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFFinalizableMediaSink, windows_core::IUnknown, IMFMediaSink); @@ -7489,7 +7489,7 @@ windows_core::imp::define_interface!(IMFGetService, IMFGetService_Vtbl, 0xfa9938 impl std::ops::Deref for IMFGetService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFGetService, windows_core::IUnknown); @@ -7511,7 +7511,7 @@ windows_core::imp::define_interface!(IMFHDCPStatus, IMFHDCPStatus_Vtbl, 0xde400f impl std::ops::Deref for IMFHDCPStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFHDCPStatus, windows_core::IUnknown); @@ -7533,7 +7533,7 @@ windows_core::imp::define_interface!(IMFHttpDownloadRequest, IMFHttpDownloadRequ impl std::ops::Deref for IMFHttpDownloadRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFHttpDownloadRequest, windows_core::IUnknown); @@ -7587,34 +7587,34 @@ impl IMFHttpDownloadRequest { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryHeader)(windows_core::Interface::as_raw(self), szheadername.param().abi(), dwindex, &mut result__).map(|| result__) } pub unsafe fn GetURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HasNullSourceOrigin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasNullSourceOrigin)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pqwstarttime, pqwstoptime, pqwduration).ok() } pub unsafe fn GetHttpStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHttpStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAtEndOfPayload(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAtEndOfPayload)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTotalLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTotalLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRangeEndOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRangeEndOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -7645,7 +7645,7 @@ windows_core::imp::define_interface!(IMFHttpDownloadSession, IMFHttpDownloadSess impl std::ops::Deref for IMFHttpDownloadSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFHttpDownloadSession, windows_core::IUnknown); @@ -7664,7 +7664,7 @@ impl IMFHttpDownloadSession { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRequest)(windows_core::Interface::as_raw(self), szobjectname.param().abi(), fbypassproxycache.param().abi(), fsecure.param().abi(), szverb.param().abi(), szreferrer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -7682,7 +7682,7 @@ windows_core::imp::define_interface!(IMFHttpDownloadSessionProvider, IMFHttpDown impl std::ops::Deref for IMFHttpDownloadSessionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFHttpDownloadSessionProvider, windows_core::IUnknown); @@ -7691,7 +7691,7 @@ impl IMFHttpDownloadSessionProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateHttpDownloadSession)(windows_core::Interface::as_raw(self), wszscheme.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7704,7 +7704,7 @@ windows_core::imp::define_interface!(IMFImageSharingEngine, IMFImageSharingEngin impl std::ops::Deref for IMFImageSharingEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFImageSharingEngine, windows_core::IUnknown); @@ -7733,7 +7733,7 @@ windows_core::imp::define_interface!(IMFImageSharingEngineClassFactory, IMFImage impl std::ops::Deref for IMFImageSharingEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFImageSharingEngineClassFactory, windows_core::IUnknown); @@ -7742,20 +7742,20 @@ impl IMFImageSharingEngineClassFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstanceFromUDN)(windows_core::Interface::as_raw(self), puniquedevicename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMFImageSharingEngineClassFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateInstanceFromUDN: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstanceFromUDN: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFInputTrustAuthority, IMFInputTrustAuthority_Vtbl, 0xd19f8e98_b126_4446_890c_5dcb7ad71453); impl std::ops::Deref for IMFInputTrustAuthority { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFInputTrustAuthority, windows_core::IUnknown); @@ -7764,11 +7764,11 @@ impl IMFInputTrustAuthority { (windows_core::Interface::vtable(self).GetDecrypter)(windows_core::Interface::as_raw(self), riid, ppv).ok() } pub unsafe fn RequestAccess(&self, action: MFPOLICYMANAGER_ACTION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestAccess)(windows_core::Interface::as_raw(self), action, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPolicy(&self, action: MFPOLICYMANAGER_ACTION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicy)(windows_core::Interface::as_raw(self), action, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BindAccess(&self, pparam: *const MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS) -> windows_core::Result<()> { @@ -7795,7 +7795,7 @@ windows_core::imp::define_interface!(IMFLocalMFTRegistration, IMFLocalMFTRegistr impl std::ops::Deref for IMFLocalMFTRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFLocalMFTRegistration, windows_core::IUnknown); @@ -7813,7 +7813,7 @@ windows_core::imp::define_interface!(IMFMediaBuffer, IMFMediaBuffer_Vtbl, 0x045f impl std::ops::Deref for IMFMediaBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaBuffer, windows_core::IUnknown); @@ -7825,14 +7825,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7849,13 +7849,13 @@ windows_core::imp::define_interface!(IMFMediaEngine, IMFMediaEngine_Vtbl, 0x98a1 impl std::ops::Deref for IMFMediaEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngine, windows_core::IUnknown); impl IMFMediaEngine { pub unsafe fn GetError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetError)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetErrorCode(&self, error: MF_MEDIA_ENGINE_ERR) -> windows_core::Result<()> { @@ -7874,7 +7874,7 @@ impl IMFMediaEngine { (windows_core::Interface::vtable(self).SetSource)(windows_core::Interface::as_raw(self), purl.param().abi()).ok() } pub unsafe fn GetCurrentSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNetworkState(&self) -> u16 { @@ -7887,7 +7887,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBuffered)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Load(&self) -> windows_core::Result<()> { @@ -7897,7 +7897,7 @@ impl IMFMediaEngine { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanPlayType)(windows_core::Interface::as_raw(self), r#type.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetReadyState(&self) -> u16 { @@ -7934,11 +7934,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPlayed)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSeekable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSeekable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsEnded(&self) -> super::super::Foundation::BOOL { @@ -8005,7 +8005,7 @@ impl IMFMediaEngine { (windows_core::Interface::vtable(self).TransferVideoFrame)(windows_core::Interface::as_raw(self), pdstsurf.param().abi(), core::mem::transmute(psrc.unwrap_or(std::ptr::null())), pdst, core::mem::transmute(pborderclr.unwrap_or(std::ptr::null()))).ok() } pub unsafe fn OnVideoStreamTick(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnVideoStreamTick)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8015,14 +8015,14 @@ pub struct IMFMediaEngine_Vtbl { pub GetError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MEDIA_ENGINE_ERR) -> windows_core::HRESULT, pub SetSourceElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCurrentSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCurrentSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNetworkState: unsafe extern "system" fn(*mut core::ffi::c_void) -> u16, pub GetPreload: unsafe extern "system" fn(*mut core::ffi::c_void) -> MF_MEDIA_ENGINE_PRELOAD, pub SetPreload: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MEDIA_ENGINE_PRELOAD) -> windows_core::HRESULT, pub GetBuffered: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Load: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub CanPlayType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT, + pub CanPlayType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT, pub GetReadyState: unsafe extern "system" fn(*mut core::ffi::c_void) -> u16, pub IsSeeking: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, pub GetCurrentTime: unsafe extern "system" fn(*mut core::ffi::c_void) -> f64, @@ -8059,7 +8059,7 @@ windows_core::imp::define_interface!(IMFMediaEngineAudioEndpointId, IMFMediaEngi impl std::ops::Deref for IMFMediaEngineAudioEndpointId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineAudioEndpointId, windows_core::IUnknown); @@ -8071,7 +8071,7 @@ impl IMFMediaEngineAudioEndpointId { (windows_core::Interface::vtable(self).SetAudioEndpointId)(windows_core::Interface::as_raw(self), pszendpointid.param().abi()).ok() } pub unsafe fn GetAudioEndpointId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioEndpointId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8085,7 +8085,7 @@ windows_core::imp::define_interface!(IMFMediaEngineClassFactory, IMFMediaEngineC impl std::ops::Deref for IMFMediaEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory, windows_core::IUnknown); @@ -8094,15 +8094,15 @@ impl IMFMediaEngineClassFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), dwflags, pattr.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTimeRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTimeRange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateError)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8117,7 +8117,7 @@ windows_core::imp::define_interface!(IMFMediaEngineClassFactory2, IMFMediaEngine impl std::ops::Deref for IMFMediaEngineClassFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory2, windows_core::IUnknown); @@ -8128,20 +8128,20 @@ impl IMFMediaEngineClassFactory2 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMediaKeys2)(windows_core::Interface::as_raw(self), keysystem.param().abi(), defaultcdmstorepath.param().abi(), inprivatecdmstorepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMFMediaEngineClassFactory2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateMediaKeys2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateMediaKeys2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineClassFactory3, IMFMediaEngineClassFactory3_Vtbl, 0x3787614f_65f7_4003_b673_ead8293a0e60); impl std::ops::Deref for IMFMediaEngineClassFactory3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory3, windows_core::IUnknown); @@ -8151,7 +8151,7 @@ impl IMFMediaEngineClassFactory3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMediaKeySystemAccess)(windows_core::Interface::as_raw(self), keysystem.param().abi(), core::mem::transmute(ppsupportedconfigurationsarray.as_ptr()), ppsupportedconfigurationsarray.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8159,7 +8159,7 @@ impl IMFMediaEngineClassFactory3 { pub struct IMFMediaEngineClassFactory3_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub CreateMediaKeySystemAccess: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateMediaKeySystemAccess: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] CreateMediaKeySystemAccess: usize, } @@ -8167,7 +8167,7 @@ windows_core::imp::define_interface!(IMFMediaEngineClassFactory4, IMFMediaEngine impl std::ops::Deref for IMFMediaEngineClassFactory4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory4, windows_core::IUnknown); @@ -8188,7 +8188,7 @@ windows_core::imp::define_interface!(IMFMediaEngineClassFactoryEx, IMFMediaEngin impl std::ops::Deref for IMFMediaEngineClassFactoryEx { type Target = IMFMediaEngineClassFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactoryEx, windows_core::IUnknown, IMFMediaEngineClassFactory); @@ -8197,7 +8197,7 @@ impl IMFMediaEngineClassFactoryEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMediaSourceExtension)(windows_core::Interface::as_raw(self), dwflags, pattr.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateMediaKeys(&self, keysystem: P0, cdmstorepath: P1) -> windows_core::Result @@ -8205,7 +8205,7 @@ impl IMFMediaEngineClassFactoryEx { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMediaKeys)(windows_core::Interface::as_raw(self), keysystem.param().abi(), cdmstorepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsTypeSupported(&self, r#type: P0, keysystem: P1) -> windows_core::Result @@ -8213,7 +8213,7 @@ impl IMFMediaEngineClassFactoryEx { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTypeSupported)(windows_core::Interface::as_raw(self), r#type.param().abi(), keysystem.param().abi(), &mut result__).map(|| result__) } } @@ -8221,20 +8221,20 @@ impl IMFMediaEngineClassFactoryEx { pub struct IMFMediaEngineClassFactoryEx_Vtbl { pub base__: IMFMediaEngineClassFactory_Vtbl, pub CreateMediaSourceExtension: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateMediaKeys: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub IsTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub CreateMediaKeys: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub IsTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineEME, IMFMediaEngineEME_Vtbl, 0x50dc93e4_ba4f_4275_ae66_83e836e57469); impl std::ops::Deref for IMFMediaEngineEME { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineEME, windows_core::IUnknown); impl IMFMediaEngineEME { pub unsafe fn Keys(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Keys)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMediaKeys(&self, keys: P0) -> windows_core::Result<()> @@ -8254,7 +8254,7 @@ windows_core::imp::define_interface!(IMFMediaEngineEMENotify, IMFMediaEngineEMEN impl std::ops::Deref for IMFMediaEngineEMENotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineEMENotify, windows_core::IUnknown); @@ -8272,14 +8272,14 @@ impl IMFMediaEngineEMENotify { #[repr(C)] pub struct IMFMediaEngineEMENotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Encrypted: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, std::mem::MaybeUninit), + pub Encrypted: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, core::mem::MaybeUninit), pub WaitingForKey: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFMediaEngineEx, IMFMediaEngineEx_Vtbl, 0x83015ead_b1e6_40d0_a98a_37145ffe1ad1); impl std::ops::Deref for IMFMediaEngineEx { type Target = IMFMediaEngine; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineEx, windows_core::IUnknown, IMFMediaEngine); @@ -8292,7 +8292,7 @@ impl IMFMediaEngineEx { (windows_core::Interface::vtable(self).SetSourceFromByteStream)(windows_core::Interface::as_raw(self), pbytestream.param().abi(), purl.param().abi()).ok() } pub unsafe fn GetStatistics(&self, statisticid: MF_MEDIA_ENGINE_STATISTIC) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatistics)(windows_core::Interface::as_raw(self), statisticid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UpdateVideoStream(&self, psrc: Option<*const MFVideoNormalizedRect>, pdst: Option<*const super::super::Foundation::RECT>, pborderclr: Option<*const MFARGB>) -> windows_core::Result<()> { @@ -8314,23 +8314,23 @@ impl IMFMediaEngineEx { (windows_core::Interface::vtable(self).FrameStep)(windows_core::Interface::as_raw(self), forward.param().abi()).ok() } pub unsafe fn GetResourceCharacteristics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourceCharacteristics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPresentationAttribute(&self, guidmfattribute: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPresentationAttribute)(windows_core::Interface::as_raw(self), guidmfattribute, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNumberOfStreams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfStreams)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamAttribute(&self, dwstreamindex: u32, guidmfattribute: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamAttribute)(windows_core::Interface::as_raw(self), dwstreamindex, guidmfattribute, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamSelection(&self, dwstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamSelection)(windows_core::Interface::as_raw(self), dwstreamindex, &mut result__).map(|| result__) } pub unsafe fn SetStreamSelection(&self, dwstreamindex: u32, enabled: P0) -> windows_core::Result<()> @@ -8343,7 +8343,7 @@ impl IMFMediaEngineEx { (windows_core::Interface::vtable(self).ApplyStreamSelections)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsProtected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsProtected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InsertVideoEffect(&self, peffect: P0, foptional: P1) -> windows_core::Result<()> @@ -8367,7 +8367,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimelineMarkerTimer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CancelTimelineMarkerTimer(&self) -> windows_core::Result<()> { @@ -8377,14 +8377,14 @@ impl IMFMediaEngineEx { (windows_core::Interface::vtable(self).IsStereo3D)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetStereo3DFramePackingMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStereo3DFramePackingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStereo3DRenderMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStereo3DRenderMode(&self, outputtype: MF3DVideoOutputType) -> windows_core::Result<()> { @@ -8397,7 +8397,7 @@ impl IMFMediaEngineEx { (windows_core::Interface::vtable(self).EnableWindowlessSwapchainMode)(windows_core::Interface::as_raw(self), fenable.param().abi()).ok() } pub unsafe fn GetVideoSwapchainHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoSwapchainHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnableHorizontalMirrorMode(&self, fenable: P0) -> windows_core::Result<()> @@ -8407,21 +8407,21 @@ impl IMFMediaEngineEx { (windows_core::Interface::vtable(self).EnableHorizontalMirrorMode)(windows_core::Interface::as_raw(self), fenable.param().abi()).ok() } pub unsafe fn GetAudioStreamCategory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioStreamCategory)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioEndpointRole)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAudioEndpointRole(&self, role: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAudioEndpointRole)(windows_core::Interface::as_raw(self), role).ok() } pub unsafe fn GetRealTimeMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRealTimeMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRealTimeMode(&self, fenable: P0) -> windows_core::Result<()> @@ -8443,17 +8443,17 @@ impl IMFMediaEngineEx { #[repr(C)] pub struct IMFMediaEngineEx_Vtbl { pub base__: IMFMediaEngine_Vtbl, - pub SetSourceFromByteStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MEDIA_ENGINE_STATISTIC, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSourceFromByteStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MEDIA_ENGINE_STATISTIC, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub UpdateVideoStream: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFVideoNormalizedRect, *const super::super::Foundation::RECT, *const MFARGB) -> windows_core::HRESULT, pub GetBalance: unsafe extern "system" fn(*mut core::ffi::c_void) -> f64, pub SetBalance: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub IsPlaybackRateSupported: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> super::super::Foundation::BOOL, pub FrameStep: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetResourceCharacteristics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetPresentationAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPresentationAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNumberOfStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetStreamAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStreamAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetStreamSelection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetStreamSelection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ApplyStreamSelections: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8485,7 +8485,7 @@ windows_core::imp::define_interface!(IMFMediaEngineExtension, IMFMediaEngineExte impl std::ops::Deref for IMFMediaEngineExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineExtension, windows_core::IUnknown); @@ -8495,7 +8495,7 @@ impl IMFMediaEngineExtension { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanPlayType)(windows_core::Interface::as_raw(self), audioonly.param().abi(), mimetype.param().abi(), &mut result__).map(|| result__) } pub unsafe fn BeginCreateObject(&self, bstrurl: P0, pbytestream: P1, r#type: MF_OBJECT_TYPE, ppiunknowncancelcookie: *mut Option, pcallback: P2, punkstate: P3) -> windows_core::Result<()> @@ -8517,15 +8517,15 @@ impl IMFMediaEngineExtension { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndCreateObject)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMFMediaEngineExtension_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CanPlayType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, std::mem::MaybeUninit, *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT, - pub BeginCreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, MF_OBJECT_TYPE, *mut *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CanPlayType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, core::mem::MaybeUninit, *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT, + pub BeginCreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, MF_OBJECT_TYPE, *mut *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelObjectCreation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndCreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -8533,7 +8533,7 @@ windows_core::imp::define_interface!(IMFMediaEngineNeedKeyNotify, IMFMediaEngine impl std::ops::Deref for IMFMediaEngineNeedKeyNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineNeedKeyNotify, windows_core::IUnknown); @@ -8551,7 +8551,7 @@ windows_core::imp::define_interface!(IMFMediaEngineNotify, IMFMediaEngineNotify_ impl std::ops::Deref for IMFMediaEngineNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineNotify, windows_core::IUnknown); @@ -8569,7 +8569,7 @@ windows_core::imp::define_interface!(IMFMediaEngineOPMInfo, IMFMediaEngineOPMInf impl std::ops::Deref for IMFMediaEngineOPMInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineOPMInfo, windows_core::IUnknown); @@ -8587,7 +8587,7 @@ windows_core::imp::define_interface!(IMFMediaEngineProtectedContent, IMFMediaEng impl std::ops::Deref for IMFMediaEngineProtectedContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineProtectedContent, windows_core::IUnknown); @@ -8599,7 +8599,7 @@ impl IMFMediaEngineProtectedContent { (windows_core::Interface::vtable(self).ShareResources)(windows_core::Interface::as_raw(self), punkdevicecontext.param().abi()).ok() } pub unsafe fn GetRequiredProtections(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequiredProtections)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOPMWindow(&self, hwnd: P0) -> windows_core::Result<()> @@ -8612,7 +8612,7 @@ impl IMFMediaEngineProtectedContent { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransferVideoFrame)(windows_core::Interface::as_raw(self), pdstsurf.param().abi(), core::mem::transmute(psrc.unwrap_or(std::ptr::null())), pdst, core::mem::transmute(pborderclr.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } pub unsafe fn SetContentProtectionManager(&self, pcpm: P0) -> windows_core::Result<()> @@ -8639,7 +8639,7 @@ windows_core::imp::define_interface!(IMFMediaEngineSrcElements, IMFMediaEngineSr impl std::ops::Deref for IMFMediaEngineSrcElements { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineSrcElements, windows_core::IUnknown); @@ -8648,15 +8648,15 @@ impl IMFMediaEngineSrcElements { (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetURL(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURL)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetType(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMedia(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMedia)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddElement(&self, purl: P0, ptype: P1, pmedia: P2) -> windows_core::Result<()> @@ -8675,17 +8675,17 @@ impl IMFMediaEngineSrcElements { pub struct IMFMediaEngineSrcElements_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, - pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetMedia: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddElement: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMedia: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddElement: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveAllElements: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineSrcElementsEx, IMFMediaEngineSrcElementsEx_Vtbl, 0x654a6bb3_e1a3_424a_9908_53a43a0dfda0); impl std::ops::Deref for IMFMediaEngineSrcElementsEx { type Target = IMFMediaEngineSrcElements; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineSrcElementsEx, windows_core::IUnknown, IMFMediaEngineSrcElements); @@ -8700,27 +8700,27 @@ impl IMFMediaEngineSrcElementsEx { (windows_core::Interface::vtable(self).AddElementEx)(windows_core::Interface::as_raw(self), purl.param().abi(), ptype.param().abi(), pmedia.param().abi(), keysystem.param().abi()).ok() } pub unsafe fn GetKeySystem(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeySystem)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMFMediaEngineSrcElementsEx_Vtbl { pub base__: IMFMediaEngineSrcElements_Vtbl, - pub AddElementEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetKeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddElementEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetKeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineSupportsSourceTransfer, IMFMediaEngineSupportsSourceTransfer_Vtbl, 0xa724b056_1b2e_4642_a6f3_db9420c52908); impl std::ops::Deref for IMFMediaEngineSupportsSourceTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineSupportsSourceTransfer, windows_core::IUnknown); impl IMFMediaEngineSupportsSourceTransfer { pub unsafe fn ShouldTransferSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShouldTransferSource)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DetachMediaSource(&self, ppbytestream: *mut Option, ppmediasource: *mut Option, ppmse: *mut Option) -> windows_core::Result<()> { @@ -8746,7 +8746,7 @@ windows_core::imp::define_interface!(IMFMediaEngineTransferSource, IMFMediaEngin impl std::ops::Deref for IMFMediaEngineTransferSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineTransferSource, windows_core::IUnknown); @@ -8767,7 +8767,7 @@ windows_core::imp::define_interface!(IMFMediaEngineWebSupport, IMFMediaEngineWeb impl std::ops::Deref for IMFMediaEngineWebSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEngineWebSupport, windows_core::IUnknown); @@ -8776,7 +8776,7 @@ impl IMFMediaEngineWebSupport { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectWebAudio)(windows_core::Interface::as_raw(self), dwsamplerate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisconnectWebAudio(&self) -> windows_core::Result<()> { @@ -8794,7 +8794,7 @@ windows_core::imp::define_interface!(IMFMediaError, IMFMediaError_Vtbl, 0xfc0e10 impl std::ops::Deref for IMFMediaError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaError, windows_core::IUnknown); @@ -8824,25 +8824,25 @@ windows_core::imp::define_interface!(IMFMediaEvent, IMFMediaEvent_Vtbl, 0xdf5989 impl std::ops::Deref for IMFMediaEvent { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEvent, windows_core::IUnknown, IMFAttributes); impl IMFMediaEvent { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExtendedType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtendedType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8852,19 +8852,19 @@ pub struct IMFMediaEvent_Vtbl { pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetExtendedType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEventGenerator, IMFMediaEventGenerator_Vtbl, 0x2cd0bd52_bcd5_4b89_b62c_eadc0c031e7d); impl std::ops::Deref for IMFMediaEventGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEventGenerator, windows_core::IUnknown); impl IMFMediaEventGenerator { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEvent)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BeginGetEvent(&self, pcallback: P0, punkstate: P1) -> windows_core::Result<()> @@ -8878,7 +8878,7 @@ impl IMFMediaEventGenerator { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndGetEvent)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueueEvent(&self, met: u32, guidextendedtype: *const windows_core::GUID, hrstatus: windows_core::HRESULT, pvvalue: *const windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -8891,19 +8891,19 @@ pub struct IMFMediaEventGenerator_Vtbl { pub GetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BeginGetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndGetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub QueueEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, windows_core::HRESULT, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueueEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, windows_core::HRESULT, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEventQueue, IMFMediaEventQueue_Vtbl, 0x36f846fc_2256_48b6_b58e_e2b638316581); impl std::ops::Deref for IMFMediaEventQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaEventQueue, windows_core::IUnknown); impl IMFMediaEventQueue { pub unsafe fn GetEvent(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEvent)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BeginGetEvent(&self, pcallback: P0, punkstate: P1) -> windows_core::Result<()> @@ -8917,7 +8917,7 @@ impl IMFMediaEventQueue { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndGetEvent)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueueEvent(&self, pevent: P0) -> windows_core::Result<()> @@ -8946,7 +8946,7 @@ pub struct IMFMediaEventQueue_Vtbl { pub BeginGetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndGetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub QueueEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub QueueEventParamVar: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, windows_core::HRESULT, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueueEventParamVar: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, windows_core::HRESULT, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub QueueEventParamUnk: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, windows_core::HRESULT, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -8954,7 +8954,7 @@ windows_core::imp::define_interface!(IMFMediaKeySession, IMFMediaKeySession_Vtbl impl std::ops::Deref for IMFMediaKeySession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaKeySession, windows_core::IUnknown); @@ -8963,11 +8963,11 @@ impl IMFMediaKeySession { (windows_core::Interface::vtable(self).GetError)(windows_core::Interface::as_raw(self), code, systemcode).ok() } pub unsafe fn KeySystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeySystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SessionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Update(&self, key: &[u8]) -> windows_core::Result<()> { @@ -8981,8 +8981,8 @@ impl IMFMediaKeySession { pub struct IMFMediaKeySession_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16, *mut u32) -> windows_core::HRESULT, - pub KeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -8990,7 +8990,7 @@ windows_core::imp::define_interface!(IMFMediaKeySession2, IMFMediaKeySession2_Vt impl std::ops::Deref for IMFMediaKeySession2 { type Target = IMFMediaKeySession; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaKeySession2, windows_core::IUnknown, IMFMediaKeySession); @@ -9002,7 +9002,7 @@ impl IMFMediaKeySession2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Load)(windows_core::Interface::as_raw(self), bstrsessionid.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GenerateRequest(&self, initdatatype: P0, pbinitdata: &[u8]) -> windows_core::Result<()> @@ -9012,7 +9012,7 @@ impl IMFMediaKeySession2 { (windows_core::Interface::vtable(self).GenerateRequest)(windows_core::Interface::as_raw(self), initdatatype.param().abi(), core::mem::transmute(pbinitdata.as_ptr()), pbinitdata.len().try_into().unwrap()).ok() } pub unsafe fn Expiration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Expiration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Remove(&self) -> windows_core::Result<()> { @@ -9026,8 +9026,8 @@ impl IMFMediaKeySession2 { pub struct IMFMediaKeySession2_Vtbl { pub base__: IMFMediaKeySession_Vtbl, pub get_KeyStatuses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut MFMediaKeyStatus, *mut u32) -> windows_core::HRESULT, - pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GenerateRequest: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const u8, u32) -> windows_core::HRESULT, + pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GenerateRequest: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const u8, u32) -> windows_core::HRESULT, pub Expiration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9036,7 +9036,7 @@ windows_core::imp::define_interface!(IMFMediaKeySessionNotify, IMFMediaKeySessio impl std::ops::Deref for IMFMediaKeySessionNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaKeySessionNotify, windows_core::IUnknown); @@ -9057,7 +9057,7 @@ impl IMFMediaKeySessionNotify { #[repr(C)] pub struct IMFMediaKeySessionNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub KeyMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const u8, u32), + pub KeyMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const u8, u32), pub KeyAdded: unsafe extern "system" fn(*mut core::ffi::c_void), pub KeyError: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u32), } @@ -9065,7 +9065,7 @@ windows_core::imp::define_interface!(IMFMediaKeySessionNotify2, IMFMediaKeySessi impl std::ops::Deref for IMFMediaKeySessionNotify2 { type Target = IMFMediaKeySessionNotify; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaKeySessionNotify2, windows_core::IUnknown, IMFMediaKeySessionNotify); @@ -9083,14 +9083,14 @@ impl IMFMediaKeySessionNotify2 { #[repr(C)] pub struct IMFMediaKeySessionNotify2_Vtbl { pub base__: IMFMediaKeySessionNotify_Vtbl, - pub KeyMessage2: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MEDIAKEYSESSION_MESSAGETYPE, std::mem::MaybeUninit, *const u8, u32), + pub KeyMessage2: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MEDIAKEYSESSION_MESSAGETYPE, core::mem::MaybeUninit, *const u8, u32), pub KeyStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFMediaKeySystemAccess, IMFMediaKeySystemAccess_Vtbl, 0xaec63fda_7a97_4944_b35c_6c6df8085cc3); impl std::ops::Deref for IMFMediaKeySystemAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaKeySystemAccess, windows_core::IUnknown); @@ -9100,16 +9100,16 @@ impl IMFMediaKeySystemAccess { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMediaKeys)(windows_core::Interface::as_raw(self), pcdmcustomconfig.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn SupportedConfiguration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedConfiguration)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn KeySystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeySystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9124,13 +9124,13 @@ pub struct IMFMediaKeySystemAccess_Vtbl { pub SupportedConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] SupportedConfiguration: usize, - pub KeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaKeys, IMFMediaKeys_Vtbl, 0x5cb31c05_61ff_418f_afda_caaf41421a38); impl std::ops::Deref for IMFMediaKeys { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaKeys, windows_core::IUnknown); @@ -9140,26 +9140,26 @@ impl IMFMediaKeys { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSession)(windows_core::Interface::as_raw(self), mimetype.param().abi(), core::mem::transmute(initdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), initdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(customdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), customdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), notify.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn KeySystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeySystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSuspendNotify)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMFMediaKeys_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const u8, u32, *const u8, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub KeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const u8, u32, *const u8, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub KeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSuspendNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -9167,7 +9167,7 @@ windows_core::imp::define_interface!(IMFMediaKeys2, IMFMediaKeys2_Vtbl, 0x458925 impl std::ops::Deref for IMFMediaKeys2 { type Target = IMFMediaKeys; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaKeys2, windows_core::IUnknown, IMFMediaKeys); @@ -9176,14 +9176,14 @@ impl IMFMediaKeys2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSession2)(windows_core::Interface::as_raw(self), esessiontype, pmfmediakeysessionnotify2.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServerCertificate(&self, pbservercertificate: Option<&[u8]>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetServerCertificate)(windows_core::Interface::as_raw(self), core::mem::transmute(pbservercertificate.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pbservercertificate.as_deref().map_or(0, |slice| slice.len().try_into().unwrap())).ok() } pub unsafe fn GetDOMException(&self, systemcode: windows_core::HRESULT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDOMException)(windows_core::Interface::as_raw(self), systemcode, &mut result__).map(|| result__) } } @@ -9198,7 +9198,7 @@ windows_core::imp::define_interface!(IMFMediaSession, IMFMediaSession_Vtbl, 0x90 impl std::ops::Deref for IMFMediaSession { type Target = IMFMediaEventGenerator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSession, windows_core::IUnknown, IMFMediaEventGenerator); @@ -9228,15 +9228,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClock)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSessionCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSessionCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFullTopology(&self, dwgetfulltopologyflags: u32, topoid: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFullTopology)(windows_core::Interface::as_raw(self), dwgetfulltopologyflags, topoid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9245,7 +9245,7 @@ pub struct IMFMediaSession_Vtbl { pub base__: IMFMediaEventGenerator_Vtbl, pub SetTopology: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ClearTopologies: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9258,7 +9258,7 @@ windows_core::imp::define_interface!(IMFMediaSharingEngine, IMFMediaSharingEngin impl std::ops::Deref for IMFMediaSharingEngine { type Target = IMFMediaEngine; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSharingEngine, windows_core::IUnknown, IMFMediaEngine); @@ -9276,7 +9276,7 @@ windows_core::imp::define_interface!(IMFMediaSharingEngineClassFactory, IMFMedia impl std::ops::Deref for IMFMediaSharingEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSharingEngineClassFactory, windows_core::IUnknown); @@ -9285,7 +9285,7 @@ impl IMFMediaSharingEngineClassFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), dwflags, pattr.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9298,35 +9298,35 @@ windows_core::imp::define_interface!(IMFMediaSink, IMFMediaSink_Vtbl, 0x6ef2a660 impl std::ops::Deref for IMFMediaSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSink, windows_core::IUnknown); impl IMFMediaSink { pub unsafe fn GetCharacteristics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCharacteristics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddStreamSink(&self, dwstreamsinkidentifier: u32, pmediatype: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddStreamSink)(windows_core::Interface::as_raw(self), dwstreamsinkidentifier, pmediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamSinkCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamSinkByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamSinkByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamSinkById(&self, dwstreamsinkidentifier: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamSinkById)(windows_core::Interface::as_raw(self), dwstreamsinkidentifier, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPresentationClock(&self, ppresentationclock: P0) -> windows_core::Result<()> @@ -9336,7 +9336,7 @@ impl IMFMediaSink { (windows_core::Interface::vtable(self).SetPresentationClock)(windows_core::Interface::as_raw(self), ppresentationclock.param().abi()).ok() } pub unsafe fn GetPresentationClock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPresentationClock)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Shutdown(&self) -> windows_core::Result<()> { @@ -9360,7 +9360,7 @@ windows_core::imp::define_interface!(IMFMediaSinkPreroll, IMFMediaSinkPreroll_Vt impl std::ops::Deref for IMFMediaSinkPreroll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSinkPreroll, windows_core::IUnknown); @@ -9378,17 +9378,17 @@ windows_core::imp::define_interface!(IMFMediaSource, IMFMediaSource_Vtbl, 0x279a impl std::ops::Deref for IMFMediaSource { type Target = IMFMediaEventGenerator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSource, windows_core::IUnknown, IMFMediaEventGenerator); impl IMFMediaSource { pub unsafe fn GetCharacteristics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCharacteristics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CreatePresentationDescriptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePresentationDescriptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Start(&self, ppresentationdescriptor: P0, pguidtimeformat: *const windows_core::GUID, pvarstartposition: *const windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -9412,7 +9412,7 @@ pub struct IMFMediaSource_Vtbl { pub base__: IMFMediaEventGenerator_Vtbl, pub GetCharacteristics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CreatePresentationDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -9421,7 +9421,7 @@ windows_core::imp::define_interface!(IMFMediaSource2, IMFMediaSource2_Vtbl, 0xfb impl std::ops::Deref for IMFMediaSource2 { type Target = IMFMediaSourceEx; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSource2, windows_core::IUnknown, IMFMediaEventGenerator, IMFMediaSource, IMFMediaSourceEx); @@ -9442,17 +9442,17 @@ windows_core::imp::define_interface!(IMFMediaSourceEx, IMFMediaSourceEx_Vtbl, 0x impl std::ops::Deref for IMFMediaSourceEx { type Target = IMFMediaSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSourceEx, windows_core::IUnknown, IMFMediaEventGenerator, IMFMediaSource); impl IMFMediaSourceEx { pub unsafe fn GetSourceAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamAttributes(&self, dwstreamidentifier: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamAttributes)(windows_core::Interface::as_raw(self), dwstreamidentifier, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetD3DManager(&self, pmanager: P0) -> windows_core::Result<()> @@ -9473,7 +9473,7 @@ windows_core::imp::define_interface!(IMFMediaSourceExtension, IMFMediaSourceExte impl std::ops::Deref for IMFMediaSourceExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSourceExtension, windows_core::IUnknown); @@ -9498,7 +9498,7 @@ impl IMFMediaSourceExtension { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddSourceBuffer)(windows_core::Interface::as_raw(self), r#type.param().abi(), pnotify.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveSourceBuffer(&self, psourcebuffer: P0) -> windows_core::Result<()> @@ -9528,17 +9528,17 @@ pub struct IMFMediaSourceExtension_Vtbl { pub GetReadyState: unsafe extern "system" fn(*mut core::ffi::c_void) -> MF_MSE_READY, pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void) -> f64, pub SetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, - pub AddSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetEndOfStream: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MSE_ERROR) -> windows_core::HRESULT, - pub IsTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> super::super::Foundation::BOOL, + pub IsTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> super::super::Foundation::BOOL, pub GetSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> Option, } windows_core::imp::define_interface!(IMFMediaSourceExtensionLiveSeekableRange, IMFMediaSourceExtensionLiveSeekableRange_Vtbl, 0x5d1abfd6_450a_4d92_9efc_d6b6cbc1f4da); impl std::ops::Deref for IMFMediaSourceExtensionLiveSeekableRange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSourceExtensionLiveSeekableRange, windows_core::IUnknown); @@ -9560,7 +9560,7 @@ windows_core::imp::define_interface!(IMFMediaSourceExtensionNotify, IMFMediaSour impl std::ops::Deref for IMFMediaSourceExtensionNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSourceExtensionNotify, windows_core::IUnknown); @@ -9586,7 +9586,7 @@ windows_core::imp::define_interface!(IMFMediaSourcePresentationProvider, IMFMedi impl std::ops::Deref for IMFMediaSourcePresentationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSourcePresentationProvider, windows_core::IUnknown); @@ -9607,7 +9607,7 @@ windows_core::imp::define_interface!(IMFMediaSourceTopologyProvider, IMFMediaSou impl std::ops::Deref for IMFMediaSourceTopologyProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaSourceTopologyProvider, windows_core::IUnknown); @@ -9616,7 +9616,7 @@ impl IMFMediaSourceTopologyProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaSourceTopology)(windows_core::Interface::as_raw(self), ppresentationdescriptor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9629,17 +9629,17 @@ windows_core::imp::define_interface!(IMFMediaStream, IMFMediaStream_Vtbl, 0xd182 impl std::ops::Deref for IMFMediaStream { type Target = IMFMediaEventGenerator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaStream, windows_core::IUnknown, IMFMediaEventGenerator); impl IMFMediaStream { pub unsafe fn GetMediaSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamDescriptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamDescriptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestSample(&self, ptoken: P0) -> windows_core::Result<()> @@ -9660,7 +9660,7 @@ windows_core::imp::define_interface!(IMFMediaStream2, IMFMediaStream2_Vtbl, 0xc5 impl std::ops::Deref for IMFMediaStream2 { type Target = IMFMediaStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaStream2, windows_core::IUnknown, IMFMediaEventGenerator, IMFMediaStream); @@ -9669,7 +9669,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9683,7 +9683,7 @@ windows_core::imp::define_interface!(IMFMediaStreamSourceSampleRequest, IMFMedia impl std::ops::Deref for IMFMediaStreamSourceSampleRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaStreamSourceSampleRequest, windows_core::IUnknown); @@ -9704,7 +9704,7 @@ windows_core::imp::define_interface!(IMFMediaTimeRange, IMFMediaTimeRange_Vtbl, impl std::ops::Deref for IMFMediaTimeRange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaTimeRange, windows_core::IUnknown); @@ -9713,11 +9713,11 @@ impl IMFMediaTimeRange { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStart)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetEnd(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnd)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn ContainsTime(&self, time: f64) -> super::super::Foundation::BOOL { @@ -9744,24 +9744,24 @@ windows_core::imp::define_interface!(IMFMediaType, IMFMediaType_Vtbl, 0x44ae0fa8 impl std::ops::Deref for IMFMediaType { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaType, windows_core::IUnknown, IMFAttributes); impl IMFMediaType { pub unsafe fn GetMajorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMajorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsCompressedFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCompressedFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsEqual(&self, pimediatype: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), pimediatype.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetRepresentation(&self, guidrepresentation: windows_core::GUID, ppvrepresentation: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -9784,7 +9784,7 @@ windows_core::imp::define_interface!(IMFMediaTypeHandler, IMFMediaTypeHandler_Vt impl std::ops::Deref for IMFMediaTypeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMediaTypeHandler, windows_core::IUnknown); @@ -9796,11 +9796,11 @@ impl IMFMediaTypeHandler { (windows_core::Interface::vtable(self).IsMediaTypeSupported)(windows_core::Interface::as_raw(self), pmediatype.param().abi(), core::mem::transmute(ppmediatype.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetMediaTypeCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaTypeCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMediaTypeByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaTypeByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCurrentMediaType(&self, pmediatype: P0) -> windows_core::Result<()> @@ -9810,11 +9810,11 @@ impl IMFMediaTypeHandler { (windows_core::Interface::vtable(self).SetCurrentMediaType)(windows_core::Interface::as_raw(self), pmediatype.param().abi()).ok() } pub unsafe fn GetCurrentMediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentMediaType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMajorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMajorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9832,7 +9832,7 @@ windows_core::imp::define_interface!(IMFMetadata, IMFMetadata_Vtbl, 0xf88cfb8c_e impl std::ops::Deref for IMFMetadata { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMetadata, windows_core::IUnknown); @@ -9844,11 +9844,11 @@ impl IMFMetadata { (windows_core::Interface::vtable(self).SetLanguage)(windows_core::Interface::as_raw(self), pwszrfc1766.param().abi()).ok() } pub unsafe fn GetLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAllLanguages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllLanguages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, pwszname: P0, ppvvalue: *const windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -9861,7 +9861,7 @@ impl IMFMetadata { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), pwszname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteProperty(&self, pwszname: P0) -> windows_core::Result<()> @@ -9871,7 +9871,7 @@ impl IMFMetadata { (windows_core::Interface::vtable(self).DeleteProperty)(windows_core::Interface::as_raw(self), pwszname.param().abi()).ok() } pub unsafe fn GetAllPropertyNames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllPropertyNames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9880,17 +9880,17 @@ pub struct IMFMetadata_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, - pub GetAllLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAllLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeleteProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetAllPropertyNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAllPropertyNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMetadataProvider, IMFMetadataProvider_Vtbl, 0x56181d2d_e221_4adb_b1c8_3cee6a53f76f); impl std::ops::Deref for IMFMetadataProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMetadataProvider, windows_core::IUnknown); @@ -9899,7 +9899,7 @@ impl IMFMetadataProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMFMetadata)(windows_core::Interface::as_raw(self), ppresentationdescriptor.param().abi(), dwstreamidentifier, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9912,17 +9912,17 @@ windows_core::imp::define_interface!(IMFMuxStreamAttributesManager, IMFMuxStream impl std::ops::Deref for IMFMuxStreamAttributesManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMuxStreamAttributesManager, windows_core::IUnknown); impl IMFMuxStreamAttributesManager { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAttributes(&self, dwmuxstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributes)(windows_core::Interface::as_raw(self), dwmuxstreamindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9936,21 +9936,21 @@ windows_core::imp::define_interface!(IMFMuxStreamMediaTypeManager, IMFMuxStreamM impl std::ops::Deref for IMFMuxStreamMediaTypeManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMuxStreamMediaTypeManager, windows_core::IUnknown); impl IMFMuxStreamMediaTypeManager { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMediaType(&self, dwmuxstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaType)(windows_core::Interface::as_raw(self), dwmuxstreamindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamConfigurationCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamConfigurationCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddStreamConfiguration(&self, ullstreammask: u64) -> windows_core::Result<()> { @@ -9960,7 +9960,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamConfiguration)(windows_core::Interface::as_raw(self), ulindex, &mut result__).map(|| result__) } } @@ -9978,17 +9978,17 @@ windows_core::imp::define_interface!(IMFMuxStreamSampleManager, IMFMuxStreamSamp impl std::ops::Deref for IMFMuxStreamSampleManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFMuxStreamSampleManager, windows_core::IUnknown); impl IMFMuxStreamSampleManager { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSample(&self, dwmuxstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSample)(windows_core::Interface::as_raw(self), dwmuxstreamindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamConfiguration(&self) -> u64 { @@ -10006,7 +10006,7 @@ windows_core::imp::define_interface!(IMFNetCredential, IMFNetCredential_Vtbl, 0x impl std::ops::Deref for IMFNetCredential { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFNetCredential, windows_core::IUnknown); @@ -10036,7 +10036,7 @@ impl IMFNetCredential { (windows_core::Interface::vtable(self).GetPassword)(windows_core::Interface::as_raw(self), core::mem::transmute(pbdata.unwrap_or(std::ptr::null_mut())), pcbdata, fencryptdata.param().abi()).ok() } pub unsafe fn LoggedOnUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoggedOnUser)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10053,7 +10053,7 @@ windows_core::imp::define_interface!(IMFNetCredentialCache, IMFNetCredentialCach impl std::ops::Deref for IMFNetCredentialCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFNetCredentialCache, windows_core::IUnknown); @@ -10090,7 +10090,7 @@ windows_core::imp::define_interface!(IMFNetCredentialManager, IMFNetCredentialMa impl std::ops::Deref for IMFNetCredentialManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFNetCredentialManager, windows_core::IUnknown); @@ -10106,7 +10106,7 @@ impl IMFNetCredentialManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndGetCredentials)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetGood(&self, pcred: P0, fgood: P1) -> windows_core::Result<()> @@ -10128,24 +10128,24 @@ windows_core::imp::define_interface!(IMFNetCrossOriginSupport, IMFNetCrossOrigin impl std::ops::Deref for IMFNetCrossOriginSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFNetCrossOriginSupport, windows_core::IUnknown); impl IMFNetCrossOriginSupport { pub unsafe fn GetCrossOriginPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCrossOriginPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSourceOrigin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceOrigin)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSameOrigin(&self, wszurl: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSameOrigin)(windows_core::Interface::as_raw(self), wszurl.param().abi(), &mut result__).map(|| result__) } } @@ -10160,7 +10160,7 @@ windows_core::imp::define_interface!(IMFNetProxyLocator, IMFNetProxyLocator_Vtbl impl std::ops::Deref for IMFNetProxyLocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFNetProxyLocator, windows_core::IUnknown); @@ -10183,7 +10183,7 @@ impl IMFNetProxyLocator { (windows_core::Interface::vtable(self).GetCurrentProxy)(windows_core::Interface::as_raw(self), core::mem::transmute(pszstr), pcchstr).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10200,7 +10200,7 @@ windows_core::imp::define_interface!(IMFNetProxyLocatorFactory, IMFNetProxyLocat impl std::ops::Deref for IMFNetProxyLocatorFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFNetProxyLocatorFactory, windows_core::IUnknown); @@ -10209,7 +10209,7 @@ impl IMFNetProxyLocatorFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateProxyLocator)(windows_core::Interface::as_raw(self), pszprotocol.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10222,7 +10222,7 @@ windows_core::imp::define_interface!(IMFNetResourceFilter, IMFNetResourceFilter_ impl std::ops::Deref for IMFNetResourceFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFNetResourceFilter, windows_core::IUnknown); @@ -10231,7 +10231,7 @@ impl IMFNetResourceFilter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnRedirect)(windows_core::Interface::as_raw(self), pszurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnSendingRequest(&self, pszurl: P0) -> windows_core::Result<()> @@ -10251,17 +10251,17 @@ windows_core::imp::define_interface!(IMFNetSchemeHandlerConfig, IMFNetSchemeHand impl std::ops::Deref for IMFNetSchemeHandlerConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFNetSchemeHandlerConfig, windows_core::IUnknown); impl IMFNetSchemeHandlerConfig { pub unsafe fn GetNumberOfSupportedProtocols(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfSupportedProtocols)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedProtocolType(&self, nprotocolindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedProtocolType)(windows_core::Interface::as_raw(self), nprotocolindex, &mut result__).map(|| result__) } pub unsafe fn ResetProtocolRolloverSettings(&self) -> windows_core::Result<()> { @@ -10279,7 +10279,7 @@ windows_core::imp::define_interface!(IMFObjectReferenceStream, IMFObjectReferenc impl std::ops::Deref for IMFObjectReferenceStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFObjectReferenceStream, windows_core::IUnknown); @@ -10304,21 +10304,21 @@ windows_core::imp::define_interface!(IMFOutputPolicy, IMFOutputPolicy_Vtbl, 0x7f impl std::ops::Deref for IMFOutputPolicy { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFOutputPolicy, windows_core::IUnknown, IMFAttributes); impl IMFOutputPolicy { pub unsafe fn GenerateRequiredSchemas(&self, dwattributes: u32, guidoutputsubtype: windows_core::GUID, rgguidprotectionschemassupported: *const windows_core::GUID, cprotectionschemassupported: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateRequiredSchemas)(windows_core::Interface::as_raw(self), dwattributes, core::mem::transmute(guidoutputsubtype), rgguidprotectionschemassupported, cprotectionschemassupported, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOriginatorID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginatorID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMinimumGRLVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinimumGRLVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10333,21 +10333,21 @@ windows_core::imp::define_interface!(IMFOutputSchema, IMFOutputSchema_Vtbl, 0x7b impl std::ops::Deref for IMFOutputSchema { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFOutputSchema, windows_core::IUnknown, IMFAttributes); impl IMFOutputSchema { pub unsafe fn GetSchemaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSchemaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConfigurationData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfigurationData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginatorID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginatorID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10362,13 +10362,13 @@ windows_core::imp::define_interface!(IMFOutputTrustAuthority, IMFOutputTrustAuth impl std::ops::Deref for IMFOutputTrustAuthority { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFOutputTrustAuthority, windows_core::IUnknown); impl IMFOutputTrustAuthority { pub unsafe fn GetAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPolicy(&self, pppolicy: Option<&[Option]>, ppbticket: Option<*mut *mut u8>, pcbticket: Option<*mut u32>) -> windows_core::Result<()> { @@ -10385,7 +10385,7 @@ windows_core::imp::define_interface!(IMFPMPClient, IMFPMPClient_Vtbl, 0x6c4e655d impl std::ops::Deref for IMFPMPClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPMPClient, windows_core::IUnknown); @@ -10406,7 +10406,7 @@ windows_core::imp::define_interface!(IMFPMPClientApp, IMFPMPClientApp_Vtbl, 0xc0 impl std::ops::Deref for IMFPMPClientApp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPMPClientApp, windows_core::IUnknown); @@ -10427,7 +10427,7 @@ windows_core::imp::define_interface!(IMFPMPHost, IMFPMPHost_Vtbl, 0xf70ca1a9_fdc impl std::ops::Deref for IMFPMPHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPMPHost, windows_core::IUnknown); @@ -10462,7 +10462,7 @@ windows_core::imp::define_interface!(IMFPMPHostApp, IMFPMPHostApp_Vtbl, 0x84d205 impl std::ops::Deref for IMFPMPHostApp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPMPHostApp, windows_core::IUnknown); @@ -10498,7 +10498,7 @@ windows_core::imp::define_interface!(IMFPMPServer, IMFPMPServer_Vtbl, 0x994e23af impl std::ops::Deref for IMFPMPServer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPMPServer, windows_core::IUnknown); @@ -10528,25 +10528,25 @@ windows_core::imp::define_interface!(IMFPMediaItem, IMFPMediaItem_Vtbl, 0x90eb3e impl std::ops::Deref for IMFPMediaItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPMediaItem, windows_core::IUnknown); impl IMFPMediaItem { pub unsafe fn GetMediaPlayer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaPlayer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUserData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUserData(&self, dwuserdata: usize) -> windows_core::Result<()> { @@ -10565,19 +10565,19 @@ impl IMFPMediaItem { (windows_core::Interface::vtable(self).HasAudio)(windows_core::Interface::as_raw(self), core::mem::transmute(pfhasaudio.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pfselected.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn IsProtected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsProtected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDuration(&self, guidpositiontype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), guidpositiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNumberOfStreams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfStreams)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamSelection(&self, dwstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamSelection)(windows_core::Interface::as_raw(self), dwstreamindex, &mut result__).map(|| result__) } pub unsafe fn SetStreamSelection(&self, dwstreamindex: u32, fenabled: P0) -> windows_core::Result<()> @@ -10587,15 +10587,15 @@ impl IMFPMediaItem { (windows_core::Interface::vtable(self).SetStreamSelection)(windows_core::Interface::as_raw(self), dwstreamindex, fenabled.param().abi()).ok() } pub unsafe fn GetStreamAttribute(&self, dwstreamindex: u32, guidmfattribute: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamAttribute)(windows_core::Interface::as_raw(self), dwstreamindex, guidmfattribute, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPresentationAttribute(&self, guidmfattribute: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPresentationAttribute)(windows_core::Interface::as_raw(self), guidmfattribute, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCharacteristics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCharacteristics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStreamSink(&self, dwstreamindex: u32, pmediasink: P0) -> windows_core::Result<()> @@ -10606,7 +10606,7 @@ impl IMFPMediaItem { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetMetadata(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadata)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10618,17 +10618,17 @@ pub struct IMFPMediaItem_Vtbl { pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetUserData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, pub SetUserData: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, - pub GetStartStopPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut std::mem::MaybeUninit, *mut windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStartStopPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStartStopPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut core::mem::MaybeUninit, *mut windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStartStopPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub HasVideo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub HasAudio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsProtected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNumberOfStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetStreamSelection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetStreamSelection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetStreamAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPresentationAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStreamAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPresentationAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCharacteristics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetStreamSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -10640,7 +10640,7 @@ windows_core::imp::define_interface!(IMFPMediaPlayer, IMFPMediaPlayer_Vtbl, 0xa7 impl std::ops::Deref for IMFPMediaPlayer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPMediaPlayer, windows_core::IUnknown); @@ -10661,18 +10661,18 @@ impl IMFPMediaPlayer { (windows_core::Interface::vtable(self).SetPosition)(windows_core::Interface::as_raw(self), guidpositiontype, core::mem::transmute(pvpositionvalue)).ok() } pub unsafe fn GetPosition(&self, guidpositiontype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPosition)(windows_core::Interface::as_raw(self), guidpositiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDuration(&self, guidpositiontype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), guidpositiontype, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedRates(&self, fforwarddirection: P0, pflslowestrate: *mut f32, pflfastestrate: *mut f32) -> windows_core::Result<()> @@ -10682,7 +10682,7 @@ impl IMFPMediaPlayer { (windows_core::Interface::vtable(self).GetSupportedRates)(windows_core::Interface::as_raw(self), fforwarddirection.param().abi(), pflslowestrate, pflfastestrate).ok() } pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CreateMediaItemFromURL(&self, pwszurl: P0, fsync: P1, dwuserdata: usize, ppmediaitem: Option<*mut Option>) -> windows_core::Result<()> @@ -10709,25 +10709,25 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVolume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVolume)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBalance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBalance(&self, flbalance: f32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetBalance)(windows_core::Interface::as_raw(self), flbalance).ok() } pub unsafe fn GetMute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMute)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMute(&self, fmute: P0) -> windows_core::Result<()> @@ -10746,18 +10746,18 @@ impl IMFPMediaPlayer { (windows_core::Interface::vtable(self).SetVideoSourceRect)(windows_core::Interface::as_raw(self), pnrcsource).ok() } pub unsafe fn GetVideoSourceRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoSourceRect)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAspectRatioMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVideoWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UpdateVideo(&self) -> windows_core::Result<()> { @@ -10770,7 +10770,7 @@ impl IMFPMediaPlayer { (windows_core::Interface::vtable(self).SetBorderColor)(windows_core::Interface::as_raw(self), clr.param().abi()).ok() } pub unsafe fn GetBorderColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBorderColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InsertEffect(&self, peffect: P0, foptional: P1) -> windows_core::Result<()> @@ -10800,9 +10800,9 @@ pub struct IMFPMediaPlayer_Vtbl { pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FrameStep: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetRate: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub GetRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub GetSupportedRates: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut f32, *mut f32) -> windows_core::HRESULT, @@ -10837,7 +10837,7 @@ windows_core::imp::define_interface!(IMFPMediaPlayerCallback, IMFPMediaPlayerCal impl std::ops::Deref for IMFPMediaPlayerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPMediaPlayerCallback, windows_core::IUnknown); @@ -10859,7 +10859,7 @@ windows_core::imp::define_interface!(IMFPluginControl, IMFPluginControl_Vtbl, 0x impl std::ops::Deref for IMFPluginControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPluginControl, windows_core::IUnknown); @@ -10868,7 +10868,7 @@ impl IMFPluginControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreferredClsid)(windows_core::Interface::as_raw(self), plugintype, selector.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetPreferredClsidByIndex(&self, plugintype: u32, index: u32, selector: *mut windows_core::PWSTR, clsid: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -10884,7 +10884,7 @@ impl IMFPluginControl { (windows_core::Interface::vtable(self).IsDisabled)(windows_core::Interface::as_raw(self), plugintype, clsid).ok() } pub unsafe fn GetDisabledByIndex(&self, plugintype: u32, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisabledByIndex)(windows_core::Interface::as_raw(self), plugintype, index, &mut result__).map(|| result__) } pub unsafe fn SetDisabled(&self, plugintype: u32, clsid: *const windows_core::GUID, disabled: P0) -> windows_core::Result<()> @@ -10908,7 +10908,7 @@ windows_core::imp::define_interface!(IMFPluginControl2, IMFPluginControl2_Vtbl, impl std::ops::Deref for IMFPluginControl2 { type Target = IMFPluginControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPluginControl2, windows_core::IUnknown, IMFPluginControl); @@ -10926,7 +10926,7 @@ windows_core::imp::define_interface!(IMFPresentationClock, IMFPresentationClock_ impl std::ops::Deref for IMFPresentationClock { type Target = IMFClock; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPresentationClock, windows_core::IUnknown, IMFClock); @@ -10938,11 +10938,11 @@ impl IMFPresentationClock { (windows_core::Interface::vtable(self).SetTimeSource)(windows_core::Interface::as_raw(self), ptimesource.param().abi()).ok() } pub unsafe fn GetTimeSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimeSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddClockStateSink(&self, pstatesink: P0) -> windows_core::Result<()> @@ -10983,13 +10983,13 @@ windows_core::imp::define_interface!(IMFPresentationDescriptor, IMFPresentationD impl std::ops::Deref for IMFPresentationDescriptor { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPresentationDescriptor, windows_core::IUnknown, IMFAttributes); impl IMFPresentationDescriptor { pub unsafe fn GetStreamDescriptorCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamDescriptorCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamDescriptorByIndex(&self, dwindex: u32, pfselected: *mut super::super::Foundation::BOOL, ppdescriptor: *mut Option) -> windows_core::Result<()> { @@ -11002,7 +11002,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11019,13 +11019,13 @@ windows_core::imp::define_interface!(IMFPresentationTimeSource, IMFPresentationT impl std::ops::Deref for IMFPresentationTimeSource { type Target = IMFClock; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFPresentationTimeSource, windows_core::IUnknown, IMFClock); impl IMFPresentationTimeSource { pub unsafe fn GetUnderlyingClock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnderlyingClock)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11038,7 +11038,7 @@ windows_core::imp::define_interface!(IMFProtectedEnvironmentAccess, IMFProtected impl std::ops::Deref for IMFProtectedEnvironmentAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFProtectedEnvironmentAccess, windows_core::IUnknown); @@ -11060,7 +11060,7 @@ windows_core::imp::define_interface!(IMFQualityAdvise, IMFQualityAdvise_Vtbl, 0x impl std::ops::Deref for IMFQualityAdvise { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFQualityAdvise, windows_core::IUnknown); @@ -11072,11 +11072,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDropMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetQualityLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQualityLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DropTime(&self, hnsamounttodrop: i64) -> windows_core::Result<()> { @@ -11096,7 +11096,7 @@ windows_core::imp::define_interface!(IMFQualityAdvise2, IMFQualityAdvise2_Vtbl, impl std::ops::Deref for IMFQualityAdvise2 { type Target = IMFQualityAdvise; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFQualityAdvise2, windows_core::IUnknown, IMFQualityAdvise); @@ -11105,7 +11105,7 @@ impl IMFQualityAdvise2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NotifyQualityEvent)(windows_core::Interface::as_raw(self), pevent.param().abi(), &mut result__).map(|| result__) } } @@ -11118,17 +11118,17 @@ windows_core::imp::define_interface!(IMFQualityAdviseLimits, IMFQualityAdviseLim impl std::ops::Deref for IMFQualityAdviseLimits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFQualityAdviseLimits, windows_core::IUnknown); impl IMFQualityAdviseLimits { pub unsafe fn GetMaximumDropMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumDropMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMinimumQualityLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinimumQualityLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11142,7 +11142,7 @@ windows_core::imp::define_interface!(IMFQualityManager, IMFQualityManager_Vtbl, impl std::ops::Deref for IMFQualityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFQualityManager, windows_core::IUnknown); @@ -11198,7 +11198,7 @@ windows_core::imp::define_interface!(IMFRateControl, IMFRateControl_Vtbl, 0x88dd impl std::ops::Deref for IMFRateControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFRateControl, windows_core::IUnknown); @@ -11223,7 +11223,7 @@ windows_core::imp::define_interface!(IMFRateSupport, IMFRateSupport_Vtbl, 0x0a9c impl std::ops::Deref for IMFRateSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFRateSupport, windows_core::IUnknown); @@ -11232,14 +11232,14 @@ impl IMFRateSupport { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSlowestRate)(windows_core::Interface::as_raw(self), edirection, fthin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetFastestRate(&self, edirection: MFRATE_DIRECTION, fthin: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFastestRate)(windows_core::Interface::as_raw(self), edirection, fthin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IsRateSupported(&self, fthin: P0, flrate: f32, pflnearestsupportedrate: *mut f32) -> windows_core::Result<()> @@ -11260,7 +11260,7 @@ windows_core::imp::define_interface!(IMFReadWriteClassFactory, IMFReadWriteClass impl std::ops::Deref for IMFReadWriteClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFReadWriteClassFactory, windows_core::IUnknown); @@ -11294,7 +11294,7 @@ windows_core::imp::define_interface!(IMFRealTimeClient, IMFRealTimeClient_Vtbl, impl std::ops::Deref for IMFRealTimeClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFRealTimeClient, windows_core::IUnknown); @@ -11323,7 +11323,7 @@ windows_core::imp::define_interface!(IMFRealTimeClientEx, IMFRealTimeClientEx_Vt impl std::ops::Deref for IMFRealTimeClientEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFRealTimeClientEx, windows_core::IUnknown); @@ -11352,13 +11352,13 @@ windows_core::imp::define_interface!(IMFRelativePanelReport, IMFRelativePanelRep impl std::ops::Deref for IMFRelativePanelReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFRelativePanelReport, windows_core::IUnknown); impl IMFRelativePanelReport { pub unsafe fn GetRelativePanel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelativePanel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11371,7 +11371,7 @@ windows_core::imp::define_interface!(IMFRelativePanelWatcher, IMFRelativePanelWa impl std::ops::Deref for IMFRelativePanelWatcher { type Target = IMFShutdown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFRelativePanelWatcher, windows_core::IUnknown, IMFShutdown); @@ -11387,11 +11387,11 @@ impl IMFRelativePanelWatcher { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndGetReport)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetReport(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReport)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11406,7 +11406,7 @@ windows_core::imp::define_interface!(IMFRemoteAsyncCallback, IMFRemoteAsyncCallb impl std::ops::Deref for IMFRemoteAsyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFRemoteAsyncCallback, windows_core::IUnknown); @@ -11427,7 +11427,7 @@ windows_core::imp::define_interface!(IMFRemoteDesktopPlugin, IMFRemoteDesktopPlu impl std::ops::Deref for IMFRemoteDesktopPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFRemoteDesktopPlugin, windows_core::IUnknown); @@ -11448,7 +11448,7 @@ windows_core::imp::define_interface!(IMFRemoteProxy, IMFRemoteProxy_Vtbl, 0x994e impl std::ops::Deref for IMFRemoteProxy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFRemoteProxy, windows_core::IUnknown); @@ -11470,17 +11470,17 @@ windows_core::imp::define_interface!(IMFSAMIStyle, IMFSAMIStyle_Vtbl, 0xa7e025dd impl std::ops::Deref for IMFSAMIStyle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSAMIStyle, windows_core::IUnknown); impl IMFSAMIStyle { pub unsafe fn GetStyleCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStyleCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStyles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStyles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelectedStyle(&self, pwszstyle: P0) -> windows_core::Result<()> @@ -11490,7 +11490,7 @@ impl IMFSAMIStyle { (windows_core::Interface::vtable(self).SetSelectedStyle)(windows_core::Interface::as_raw(self), pwszstyle.param().abi()).ok() } pub unsafe fn GetSelectedStyle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectedStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11498,7 +11498,7 @@ impl IMFSAMIStyle { pub struct IMFSAMIStyle_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetStyleCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetStyles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStyles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetSelectedStyle: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetSelectedStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } @@ -11506,7 +11506,7 @@ windows_core::imp::define_interface!(IMFSSLCertificateManager, IMFSSLCertificate impl std::ops::Deref for IMFSSLCertificateManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSSLCertificateManager, windows_core::IUnknown); @@ -11541,7 +11541,7 @@ impl IMFSSLCertificateManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnServerCertificate)(windows_core::Interface::as_raw(self), pszurl.param().abi(), core::mem::transmute(pbdata.as_ptr()), pbdata.len().try_into().unwrap(), &mut result__).map(|| result__) } } @@ -11558,42 +11558,42 @@ windows_core::imp::define_interface!(IMFSample, IMFSample_Vtbl, 0xc40a00f2_b93a_ impl std::ops::Deref for IMFSample { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSample, windows_core::IUnknown, IMFAttributes); impl IMFSample { pub unsafe fn GetSampleFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSampleFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSampleTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSampleDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBufferCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBufferByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBufferByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ConvertToContiguousBuffer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConvertToContiguousBuffer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddBuffer(&self, pbuffer: P0) -> windows_core::Result<()> @@ -11609,7 +11609,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTotalLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CopyToBuffer(&self, pbuffer: P0) -> windows_core::Result<()> @@ -11641,7 +11641,7 @@ windows_core::imp::define_interface!(IMFSampleAllocatorControl, IMFSampleAllocat impl std::ops::Deref for IMFSampleAllocatorControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSampleAllocatorControl, windows_core::IUnknown); @@ -11666,7 +11666,7 @@ windows_core::imp::define_interface!(IMFSampleGrabberSinkCallback, IMFSampleGrab impl std::ops::Deref for IMFSampleGrabberSinkCallback { type Target = IMFClockStateSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSampleGrabberSinkCallback, windows_core::IUnknown, IMFClockStateSink); @@ -11695,7 +11695,7 @@ windows_core::imp::define_interface!(IMFSampleGrabberSinkCallback2, IMFSampleGra impl std::ops::Deref for IMFSampleGrabberSinkCallback2 { type Target = IMFSampleGrabberSinkCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSampleGrabberSinkCallback2, windows_core::IUnknown, IMFClockStateSink, IMFSampleGrabberSinkCallback); @@ -11716,7 +11716,7 @@ windows_core::imp::define_interface!(IMFSampleOutputStream, IMFSampleOutputStrea impl std::ops::Deref for IMFSampleOutputStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSampleOutputStream, windows_core::IUnknown); @@ -11750,17 +11750,17 @@ windows_core::imp::define_interface!(IMFSampleProtection, IMFSampleProtection_Vt impl std::ops::Deref for IMFSampleProtection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSampleProtection, windows_core::IUnknown); impl IMFSampleProtection { pub unsafe fn GetInputProtectionVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputProtectionVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOutputProtectionVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputProtectionVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProtectionCertificate(&self, dwversion: u32, ppcert: *mut *mut u8, pcbcert: *mut u32) -> windows_core::Result<()> { @@ -11786,7 +11786,7 @@ windows_core::imp::define_interface!(IMFSaveJob, IMFSaveJob_Vtbl, 0xe9931663_80b impl std::ops::Deref for IMFSaveJob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSaveJob, windows_core::IUnknown); @@ -11809,7 +11809,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11825,7 +11825,7 @@ windows_core::imp::define_interface!(IMFSchemeHandler, IMFSchemeHandler_Vtbl, 0x impl std::ops::Deref for IMFSchemeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSchemeHandler, windows_core::IUnknown); @@ -11867,13 +11867,13 @@ windows_core::imp::define_interface!(IMFSecureBuffer, IMFSecureBuffer_Vtbl, 0xc1 impl std::ops::Deref for IMFSecureBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSecureBuffer, windows_core::IUnknown); impl IMFSecureBuffer { pub unsafe fn GetIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIdentifier)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11886,7 +11886,7 @@ windows_core::imp::define_interface!(IMFSecureChannel, IMFSecureChannel_Vtbl, 0x impl std::ops::Deref for IMFSecureChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSecureChannel, windows_core::IUnknown); @@ -11908,7 +11908,7 @@ windows_core::imp::define_interface!(IMFSeekInfo, IMFSeekInfo_Vtbl, 0x26afea53_d impl std::ops::Deref for IMFSeekInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSeekInfo, windows_core::IUnknown); @@ -11920,30 +11920,30 @@ impl IMFSeekInfo { #[repr(C)] pub struct IMFSeekInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetNearestKeyFrames: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNearestKeyFrames: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorActivitiesReport, IMFSensorActivitiesReport_Vtbl, 0x683f7a5e_4a19_43cd_b1a9_dbf4ab3f7777); impl std::ops::Deref for IMFSensorActivitiesReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorActivitiesReport, windows_core::IUnknown); impl IMFSensorActivitiesReport { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetActivityReport(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivityReport)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActivityReportByDeviceName(&self, symbolicname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivityReportByDeviceName)(windows_core::Interface::as_raw(self), symbolicname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11958,7 +11958,7 @@ windows_core::imp::define_interface!(IMFSensorActivitiesReportCallback, IMFSenso impl std::ops::Deref for IMFSensorActivitiesReportCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorActivitiesReportCallback, windows_core::IUnknown); @@ -11979,7 +11979,7 @@ windows_core::imp::define_interface!(IMFSensorActivityMonitor, IMFSensorActivity impl std::ops::Deref for IMFSensorActivityMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorActivityMonitor, windows_core::IUnknown); @@ -12001,7 +12001,7 @@ windows_core::imp::define_interface!(IMFSensorActivityReport, IMFSensorActivityR impl std::ops::Deref for IMFSensorActivityReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorActivityReport, windows_core::IUnknown); @@ -12013,11 +12013,11 @@ impl IMFSensorActivityReport { (windows_core::Interface::vtable(self).GetSymbolicLink)(windows_core::Interface::as_raw(self), core::mem::transmute(symboliclink.as_ptr()), symboliclink.len().try_into().unwrap(), pcchwritten).ok() } pub unsafe fn GetProcessCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessActivity(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessActivity)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12033,43 +12033,43 @@ windows_core::imp::define_interface!(IMFSensorDevice, IMFSensorDevice_Vtbl, 0xfb impl std::ops::Deref for IMFSensorDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorDevice, windows_core::IUnknown); impl IMFSensorDevice { pub unsafe fn GetDeviceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(symboliclink.as_ptr()), symboliclink.len().try_into().unwrap(), pcchwritten).ok() } pub unsafe fn GetDeviceAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamAttributesCount(&self, etype: MFSensorStreamType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamAttributesCount)(windows_core::Interface::as_raw(self), etype, &mut result__).map(|| result__) } pub unsafe fn GetStreamAttributes(&self, etype: MFSensorStreamType, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamAttributes)(windows_core::Interface::as_raw(self), etype, dwindex, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorDeviceMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12090,7 +12090,7 @@ windows_core::imp::define_interface!(IMFSensorGroup, IMFSensorGroup_Vtbl, 0x4110 impl std::ops::Deref for IMFSensorGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorGroup, windows_core::IUnknown); @@ -12099,30 +12099,30 @@ impl IMFSensorGroup { (windows_core::Interface::vtable(self).GetSymbolicLink)(windows_core::Interface::as_raw(self), core::mem::transmute(symboliclink.as_ptr()), symboliclink.len().try_into().unwrap(), pcchwritten).ok() } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSensorGroupAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorGroupAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSensorDeviceCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorDeviceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSensorDevice(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSensorDevice)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultSensorDeviceIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CreateMediaSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMediaSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12142,25 +12142,25 @@ windows_core::imp::define_interface!(IMFSensorProcessActivity, IMFSensorProcessA impl std::ops::Deref for IMFSensorProcessActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorProcessActivity, windows_core::IUnknown); impl IMFSensorProcessActivity { pub unsafe fn GetProcessId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamingState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamingState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamingMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetReportTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReportTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12176,7 +12176,7 @@ windows_core::imp::define_interface!(IMFSensorProfile, IMFSensorProfile_Vtbl, 0x impl std::ops::Deref for IMFSensorProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorProfile, windows_core::IUnknown); @@ -12194,7 +12194,7 @@ impl IMFSensorProfile { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMediaTypeSupported)(windows_core::Interface::as_raw(self), streamid, pmediatype.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AddBlockedControl(&self, wzblockedcontrol: P0) -> windows_core::Result<()> @@ -12216,7 +12216,7 @@ windows_core::imp::define_interface!(IMFSensorProfileCollection, IMFSensorProfil impl std::ops::Deref for IMFSensorProfileCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorProfileCollection, windows_core::IUnknown); @@ -12225,7 +12225,7 @@ impl IMFSensorProfileCollection { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProfile)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddProfile(&self, pprofile: P0) -> windows_core::Result<()> @@ -12235,7 +12235,7 @@ impl IMFSensorProfileCollection { (windows_core::Interface::vtable(self).AddProfile)(windows_core::Interface::as_raw(self), pprofile.param().abi()).ok() } pub unsafe fn FindProfile(&self, profileid: *const SENSORPROFILEID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindProfile)(windows_core::Interface::as_raw(self), profileid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveProfileByIndex(&self, index: u32) { @@ -12259,21 +12259,21 @@ windows_core::imp::define_interface!(IMFSensorStream, IMFSensorStream_Vtbl, 0xe9 impl std::ops::Deref for IMFSensorStream { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorStream, windows_core::IUnknown, IMFAttributes); impl IMFSensorStream { pub unsafe fn GetMediaTypeCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaTypeCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMediaType(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaType)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CloneSensorStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CloneSensorStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12288,13 +12288,13 @@ windows_core::imp::define_interface!(IMFSensorTransformFactory, IMFSensorTransfo impl std::ops::Deref for IMFSensorTransformFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSensorTransformFactory, windows_core::IUnknown); impl IMFSensorTransformFactory { pub unsafe fn GetFactoryAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFactoryAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializeFactory(&self, dwmaxtransformcount: u32, psensordevices: P0, pattributes: P1) -> windows_core::Result<()> @@ -12305,7 +12305,7 @@ impl IMFSensorTransformFactory { (windows_core::Interface::vtable(self).InitializeFactory)(windows_core::Interface::as_raw(self), dwmaxtransformcount, psensordevices.param().abi(), pattributes.param().abi()).ok() } pub unsafe fn GetTransformCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransformInformation(&self, transformindex: u32, pguidtransformid: *mut windows_core::GUID, ppattributes: *mut Option, ppstreaminformation: *mut Option) -> windows_core::Result<()> { @@ -12315,7 +12315,7 @@ impl IMFSensorTransformFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransform)(windows_core::Interface::as_raw(self), guidsensortransformid, pattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12332,7 +12332,7 @@ windows_core::imp::define_interface!(IMFSequencerSource, IMFSequencerSource_Vtbl impl std::ops::Deref for IMFSequencerSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSequencerSource, windows_core::IUnknown); @@ -12341,7 +12341,7 @@ impl IMFSequencerSource { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppendTopology)(windows_core::Interface::as_raw(self), ptopology.param().abi(), dwflags, &mut result__).map(|| result__) } pub unsafe fn DeleteTopology(&self, dwid: u32) -> windows_core::Result<()> { @@ -12376,7 +12376,7 @@ windows_core::imp::define_interface!(IMFSharingEngineClassFactory, IMFSharingEng impl std::ops::Deref for IMFSharingEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSharingEngineClassFactory, windows_core::IUnknown); @@ -12385,7 +12385,7 @@ impl IMFSharingEngineClassFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), dwflags, pattr.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12398,7 +12398,7 @@ windows_core::imp::define_interface!(IMFShutdown, IMFShutdown_Vtbl, 0x97ec2ea4_0 impl std::ops::Deref for IMFShutdown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFShutdown, windows_core::IUnknown); @@ -12407,7 +12407,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShutdownStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12421,7 +12421,7 @@ windows_core::imp::define_interface!(IMFSignedLibrary, IMFSignedLibrary_Vtbl, 0x impl std::ops::Deref for IMFSignedLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSignedLibrary, windows_core::IUnknown); @@ -12442,7 +12442,7 @@ windows_core::imp::define_interface!(IMFSimpleAudioVolume, IMFSimpleAudioVolume_ impl std::ops::Deref for IMFSimpleAudioVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSimpleAudioVolume, windows_core::IUnknown); @@ -12451,7 +12451,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMasterVolume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMute(&self, bmute: P0) -> windows_core::Result<()> @@ -12461,7 +12461,7 @@ impl IMFSimpleAudioVolume { (windows_core::Interface::vtable(self).SetMute)(windows_core::Interface::as_raw(self), bmute.param().abi()).ok() } pub unsafe fn GetMute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMute)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12477,7 +12477,7 @@ windows_core::imp::define_interface!(IMFSinkWriter, IMFSinkWriter_Vtbl, 0x3137f1 impl std::ops::Deref for IMFSinkWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSinkWriter, windows_core::IUnknown); @@ -12486,7 +12486,7 @@ impl IMFSinkWriter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddStream)(windows_core::Interface::as_raw(self), ptargetmediatype.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetInputMediaType(&self, dwstreamindex: u32, pinputmediatype: P0, pencodingparameters: P1) -> windows_core::Result<()> @@ -12546,7 +12546,7 @@ windows_core::imp::define_interface!(IMFSinkWriterCallback, IMFSinkWriterCallbac impl std::ops::Deref for IMFSinkWriterCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSinkWriterCallback, windows_core::IUnknown); @@ -12568,7 +12568,7 @@ windows_core::imp::define_interface!(IMFSinkWriterCallback2, IMFSinkWriterCallba impl std::ops::Deref for IMFSinkWriterCallback2 { type Target = IMFSinkWriterCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSinkWriterCallback2, windows_core::IUnknown, IMFSinkWriterCallback); @@ -12590,7 +12590,7 @@ windows_core::imp::define_interface!(IMFSinkWriterEncoderConfig, IMFSinkWriterEn impl std::ops::Deref for IMFSinkWriterEncoderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSinkWriterEncoderConfig, windows_core::IUnknown); @@ -12619,7 +12619,7 @@ windows_core::imp::define_interface!(IMFSinkWriterEx, IMFSinkWriterEx_Vtbl, 0x58 impl std::ops::Deref for IMFSinkWriterEx { type Target = IMFSinkWriter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSinkWriterEx, windows_core::IUnknown, IMFSinkWriter); @@ -12637,7 +12637,7 @@ windows_core::imp::define_interface!(IMFSourceBuffer, IMFSourceBuffer_Vtbl, 0xe2 impl std::ops::Deref for IMFSourceBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceBuffer, windows_core::IUnknown); @@ -12646,7 +12646,7 @@ impl IMFSourceBuffer { (windows_core::Interface::vtable(self).GetUpdating)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetBuffered(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBuffered)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTimeStampOffset(&self) -> f64 { @@ -12703,7 +12703,7 @@ windows_core::imp::define_interface!(IMFSourceBufferAppendMode, IMFSourceBufferA impl std::ops::Deref for IMFSourceBufferAppendMode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceBufferAppendMode, windows_core::IUnknown); @@ -12725,7 +12725,7 @@ windows_core::imp::define_interface!(IMFSourceBufferList, IMFSourceBufferList_Vt impl std::ops::Deref for IMFSourceBufferList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceBufferList, windows_core::IUnknown); @@ -12747,7 +12747,7 @@ windows_core::imp::define_interface!(IMFSourceBufferNotify, IMFSourceBufferNotif impl std::ops::Deref for IMFSourceBufferNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceBufferNotify, windows_core::IUnknown); @@ -12781,7 +12781,7 @@ windows_core::imp::define_interface!(IMFSourceOpenMonitor, IMFSourceOpenMonitor_ impl std::ops::Deref for IMFSourceOpenMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceOpenMonitor, windows_core::IUnknown); @@ -12802,13 +12802,13 @@ windows_core::imp::define_interface!(IMFSourceReader, IMFSourceReader_Vtbl, 0x70 impl std::ops::Deref for IMFSourceReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceReader, windows_core::IUnknown); impl IMFSourceReader { pub unsafe fn GetStreamSelection(&self, dwstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamSelection)(windows_core::Interface::as_raw(self), dwstreamindex, &mut result__).map(|| result__) } pub unsafe fn SetStreamSelection(&self, dwstreamindex: u32, fselected: P0) -> windows_core::Result<()> @@ -12818,11 +12818,11 @@ impl IMFSourceReader { (windows_core::Interface::vtable(self).SetStreamSelection)(windows_core::Interface::as_raw(self), dwstreamindex, fselected.param().abi()).ok() } pub unsafe fn GetNativeMediaType(&self, dwstreamindex: u32, dwmediatypeindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNativeMediaType)(windows_core::Interface::as_raw(self), dwstreamindex, dwmediatypeindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentMediaType(&self, dwstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentMediaType)(windows_core::Interface::as_raw(self), dwstreamindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCurrentMediaType(&self, dwstreamindex: u32, pdwreserved: Option<*const u32>, pmediatype: P0) -> windows_core::Result<()> @@ -12844,7 +12844,7 @@ impl IMFSourceReader { (windows_core::Interface::vtable(self).GetServiceForStream)(windows_core::Interface::as_raw(self), dwstreamindex, guidservice, riid, ppvobject).ok() } pub unsafe fn GetPresentationAttribute(&self, dwstreamindex: u32, guidattribute: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPresentationAttribute)(windows_core::Interface::as_raw(self), dwstreamindex, guidattribute, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12856,17 +12856,17 @@ pub struct IMFSourceReader_Vtbl { pub GetNativeMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurrentMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCurrentMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetCurrentPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCurrentPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReadSample: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32, *mut u32, *mut i64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetServiceForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetPresentationAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPresentationAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSourceReaderCallback, IMFSourceReaderCallback_Vtbl, 0xdeec8d99_fa1d_4d82_84c2_2c8969944867); impl std::ops::Deref for IMFSourceReaderCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceReaderCallback, windows_core::IUnknown); @@ -12898,7 +12898,7 @@ windows_core::imp::define_interface!(IMFSourceReaderCallback2, IMFSourceReaderCa impl std::ops::Deref for IMFSourceReaderCallback2 { type Target = IMFSourceReaderCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceReaderCallback2, windows_core::IUnknown, IMFSourceReaderCallback); @@ -12920,7 +12920,7 @@ windows_core::imp::define_interface!(IMFSourceReaderEx, IMFSourceReaderEx_Vtbl, impl std::ops::Deref for IMFSourceReaderEx { type Target = IMFSourceReader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceReaderEx, windows_core::IUnknown, IMFSourceReader); @@ -12929,7 +12929,7 @@ impl IMFSourceReaderEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetNativeMediaType)(windows_core::Interface::as_raw(self), dwstreamindex, pmediatype.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AddTransformForStream(&self, dwstreamindex: u32, ptransformoractivate: P0) -> windows_core::Result<()> @@ -12957,7 +12957,7 @@ windows_core::imp::define_interface!(IMFSourceResolver, IMFSourceResolver_Vtbl, impl std::ops::Deref for IMFSourceResolver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSourceResolver, windows_core::IUnknown); @@ -13046,7 +13046,7 @@ windows_core::imp::define_interface!(IMFSpatialAudioObjectBuffer, IMFSpatialAudi impl std::ops::Deref for IMFSpatialAudioObjectBuffer { type Target = IMFMediaBuffer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSpatialAudioObjectBuffer, windows_core::IUnknown, IMFMediaBuffer); @@ -13055,7 +13055,7 @@ impl IMFSpatialAudioObjectBuffer { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_Audio")] @@ -13064,12 +13064,12 @@ impl IMFSpatialAudioObjectBuffer { } #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetMetadataItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13095,13 +13095,13 @@ windows_core::imp::define_interface!(IMFSpatialAudioSample, IMFSpatialAudioSampl impl std::ops::Deref for IMFSpatialAudioSample { type Target = IMFSample; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSpatialAudioSample, windows_core::IUnknown, IMFAttributes, IMFSample); impl IMFSpatialAudioSample { pub unsafe fn GetObjectCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddSpatialAudioObject(&self, paudioobjbuffer: P0) -> windows_core::Result<()> @@ -13111,7 +13111,7 @@ impl IMFSpatialAudioSample { (windows_core::Interface::vtable(self).AddSpatialAudioObject)(windows_core::Interface::as_raw(self), paudioobjbuffer.param().abi()).ok() } pub unsafe fn GetSpatialAudioObjectByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpatialAudioObjectByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13126,17 +13126,17 @@ windows_core::imp::define_interface!(IMFStreamDescriptor, IMFStreamDescriptor_Vt impl std::ops::Deref for IMFStreamDescriptor { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFStreamDescriptor, windows_core::IUnknown, IMFAttributes); impl IMFStreamDescriptor { pub unsafe fn GetStreamIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamIdentifier)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMediaTypeHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaTypeHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13150,21 +13150,21 @@ windows_core::imp::define_interface!(IMFStreamSink, IMFStreamSink_Vtbl, 0x0a97b3 impl std::ops::Deref for IMFStreamSink { type Target = IMFMediaEventGenerator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFStreamSink, windows_core::IUnknown, IMFMediaEventGenerator); impl IMFStreamSink { pub unsafe fn GetMediaSink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaSink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIdentifier)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMediaTypeHandler(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaTypeHandler)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProcessSample(&self, psample: P0) -> windows_core::Result<()> @@ -13187,14 +13187,14 @@ pub struct IMFStreamSink_Vtbl { pub GetIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetMediaTypeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PlaceMarker: unsafe extern "system" fn(*mut core::ffi::c_void, MFSTREAMSINK_MARKER_TYPE, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlaceMarker: unsafe extern "system" fn(*mut core::ffi::c_void, MFSTREAMSINK_MARKER_TYPE, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFStreamingSinkConfig, IMFStreamingSinkConfig_Vtbl, 0x9db7aa41_3cc5_40d4_8509_555804ad34cc); impl std::ops::Deref for IMFStreamingSinkConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFStreamingSinkConfig, windows_core::IUnknown); @@ -13215,7 +13215,7 @@ windows_core::imp::define_interface!(IMFSystemId, IMFSystemId_Vtbl, 0xfff4af3a_1 impl std::ops::Deref for IMFSystemId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFSystemId, windows_core::IUnknown); @@ -13237,7 +13237,7 @@ windows_core::imp::define_interface!(IMFTimecodeTranslate, IMFTimecodeTranslate_ impl std::ops::Deref for IMFTimecodeTranslate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimecodeTranslate, windows_core::IUnknown); @@ -13253,7 +13253,7 @@ impl IMFTimecodeTranslate { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndConvertTimecodeToHNS)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).map(|| result__) } pub unsafe fn BeginConvertHNSToTimecode(&self, hnstime: i64, pcallback: P0, punkstate: P1) -> windows_core::Result<()> @@ -13267,23 +13267,23 @@ impl IMFTimecodeTranslate { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndConvertHNSToTimecode)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMFTimecodeTranslate_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub BeginConvertTimecodeToHNS: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BeginConvertTimecodeToHNS: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndConvertTimecodeToHNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub BeginConvertHNSToTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, i64, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub EndConvertHNSToTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EndConvertHNSToTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedText, IMFTimedText_Vtbl, 0x1f2a94c9_a3df_430d_9d0f_acd85ddc29af); impl std::ops::Deref for IMFTimedText { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedText, windows_core::IUnknown); @@ -13307,7 +13307,7 @@ impl IMFTimedText { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddDataSource)(windows_core::Interface::as_raw(self), bytestream.param().abi(), label.param().abi(), language.param().abi(), kind, isdefault.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AddDataSourceFromUrl(&self, url: P0, label: P1, language: P2, kind: MF_TIMED_TEXT_TRACK_KIND, isdefault: P3) -> windows_core::Result @@ -13317,7 +13317,7 @@ impl IMFTimedText { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddDataSourceFromUrl)(windows_core::Interface::as_raw(self), url.param().abi(), label.param().abi(), language.param().abi(), kind, isdefault.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AddTrack(&self, label: P0, language: P1, kind: MF_TIMED_TEXT_TRACK_KIND) -> windows_core::Result @@ -13325,7 +13325,7 @@ impl IMFTimedText { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddTrack)(windows_core::Interface::as_raw(self), label.param().abi(), language.param().abi(), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveTrack(&self, track: P0) -> windows_core::Result<()> @@ -13335,26 +13335,26 @@ impl IMFTimedText { (windows_core::Interface::vtable(self).RemoveTrack)(windows_core::Interface::as_raw(self), track.param().abi()).ok() } pub unsafe fn GetCueTimeOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCueTimeOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTracks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActiveTracks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveTracks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTextTracks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextTracks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMetadataTracks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataTracks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInBandEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -13389,7 +13389,7 @@ windows_core::imp::define_interface!(IMFTimedTextBinary, IMFTimedTextBinary_Vtbl impl std::ops::Deref for IMFTimedTextBinary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextBinary, windows_core::IUnknown); @@ -13407,21 +13407,21 @@ windows_core::imp::define_interface!(IMFTimedTextBouten, IMFTimedTextBouten_Vtbl impl std::ops::Deref for IMFTimedTextBouten { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextBouten, windows_core::IUnknown); impl IMFTimedTextBouten { pub unsafe fn GetBoutenType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoutenType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBoutenColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoutenColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBoutenPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoutenPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -13436,7 +13436,7 @@ windows_core::imp::define_interface!(IMFTimedTextCue, IMFTimedTextCue_Vtbl, 0x1e impl std::ops::Deref for IMFTimedTextCue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextCue, windows_core::IUnknown); @@ -13445,7 +13445,7 @@ impl IMFTimedTextCue { (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetOriginalId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCueKind(&self) -> MF_TIMED_TEXT_TRACK_KIND { @@ -13461,22 +13461,22 @@ impl IMFTimedTextCue { (windows_core::Interface::vtable(self).GetTrackId)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRegion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStyle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStyle)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLineCount(&self) -> u32 { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLine)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13499,7 +13499,7 @@ windows_core::imp::define_interface!(IMFTimedTextCueList, IMFTimedTextCueList_Vt impl std::ops::Deref for IMFTimedTextCueList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextCueList, windows_core::IUnknown); @@ -13508,18 +13508,18 @@ impl IMFTimedTextCueList { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCueByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCueById(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCueById)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCueByOriginalId(&self, originalid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCueByOriginalId)(windows_core::Interface::as_raw(self), originalid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddTextCue(&self, start: f64, duration: f64, text: P0, cue: Option<*mut Option>) -> windows_core::Result<()> @@ -13553,13 +13553,13 @@ windows_core::imp::define_interface!(IMFTimedTextFormattedText, IMFTimedTextForm impl std::ops::Deref for IMFTimedTextFormattedText { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextFormattedText, windows_core::IUnknown); impl IMFTimedTextFormattedText { pub unsafe fn GetText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSubformattingCount(&self) -> u32 { @@ -13580,7 +13580,7 @@ windows_core::imp::define_interface!(IMFTimedTextNotify, IMFTimedTextNotify_Vtbl impl std::ops::Deref for IMFTimedTextNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextNotify, windows_core::IUnknown); @@ -13628,13 +13628,13 @@ windows_core::imp::define_interface!(IMFTimedTextRegion, IMFTimedTextRegion_Vtbl impl std::ops::Deref for IMFTimedTextRegion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextRegion, windows_core::IUnknown); impl IMFTimedTextRegion { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPosition(&self, px: *mut f64, py: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE) -> windows_core::Result<()> { @@ -13644,37 +13644,37 @@ impl IMFTimedTextRegion { (windows_core::Interface::vtable(self).GetExtent)(windows_core::Interface::as_raw(self), pwidth, pheight, unittype).ok() } pub unsafe fn GetBackgroundColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackgroundColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWritingMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWritingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDisplayAlignment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayAlignment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLineHeight(&self, plineheight: *mut f64, unittype: *mut MF_TIMED_TEXT_UNIT_TYPE) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetLineHeight)(windows_core::Interface::as_raw(self), plineheight, unittype).ok() } pub unsafe fn GetClipOverflow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipOverflow)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { (windows_core::Interface::vtable(self).GetPadding)(windows_core::Interface::as_raw(self), before, start, after, end, unittype).ok() } pub unsafe fn GetWrap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWrap)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetZIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetZIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetScrollMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScrollMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -13698,25 +13698,25 @@ windows_core::imp::define_interface!(IMFTimedTextRuby, IMFTimedTextRuby_Vtbl, 0x impl std::ops::Deref for IMFTimedTextRuby { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextRuby, windows_core::IUnknown); impl IMFTimedTextRuby { pub unsafe fn GetRubyText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRubyText)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRubyPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRubyPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRubyAlign(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRubyAlign)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRubyReserve(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRubyReserve)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -13732,55 +13732,55 @@ windows_core::imp::define_interface!(IMFTimedTextStyle, IMFTimedTextStyle_Vtbl, impl std::ops::Deref for IMFTimedTextStyle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextStyle, windows_core::IUnknown); impl IMFTimedTextStyle { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsExternal(&self) -> super::super::Foundation::BOOL { (windows_core::Interface::vtable(self).IsExternal)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetFontFamily(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFamily)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), fontsize, unittype).ok() } pub unsafe fn GetColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBackgroundColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackgroundColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetShowBackgroundAlways(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShowBackgroundAlways)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFontStyle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBold(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBold)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRightToLeft(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRightToLeft)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextAlignment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextAlignment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextDecoration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextDecoration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -13808,25 +13808,25 @@ windows_core::imp::define_interface!(IMFTimedTextStyle2, IMFTimedTextStyle2_Vtbl impl std::ops::Deref for IMFTimedTextStyle2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextStyle2, windows_core::IUnknown); impl IMFTimedTextStyle2 { pub unsafe fn GetRuby(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRuby)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBouten(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBouten)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsTextCombined(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTextCombined)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFontAngleInDegrees(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontAngleInDegrees)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -13842,7 +13842,7 @@ windows_core::imp::define_interface!(IMFTimedTextTrack, IMFTimedTextTrack_Vtbl, impl std::ops::Deref for IMFTimedTextTrack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextTrack, windows_core::IUnknown); @@ -13851,7 +13851,7 @@ impl IMFTimedTextTrack { (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetLabel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLabel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLabel(&self, label: P0) -> windows_core::Result<()> @@ -13861,7 +13861,7 @@ impl IMFTimedTextTrack { (windows_core::Interface::vtable(self).SetLabel)(windows_core::Interface::as_raw(self), label.param().abi()).ok() } pub unsafe fn GetLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTrackKind(&self) -> MF_TIMED_TEXT_TRACK_KIND { @@ -13871,7 +13871,7 @@ impl IMFTimedTextTrack { (windows_core::Interface::vtable(self).IsInBand)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetInBandMetadataTrackDispatchType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInBandMetadataTrackDispatchType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsActive(&self) -> super::super::Foundation::BOOL { @@ -13884,14 +13884,14 @@ impl IMFTimedTextTrack { (windows_core::Interface::vtable(self).GetExtendedErrorCode)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetDataFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetReadyState(&self) -> MF_TIMED_TEXT_TRACK_READY_STATE { (windows_core::Interface::vtable(self).GetReadyState)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetCueList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCueList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13916,7 +13916,7 @@ windows_core::imp::define_interface!(IMFTimedTextTrackList, IMFTimedTextTrackLis impl std::ops::Deref for IMFTimedTextTrackList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimedTextTrackList, windows_core::IUnknown); @@ -13925,11 +13925,11 @@ impl IMFTimedTextTrackList { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTrack)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTrackById(&self, trackid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTrackById)(windows_core::Interface::as_raw(self), trackid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13944,7 +13944,7 @@ windows_core::imp::define_interface!(IMFTimer, IMFTimer_Vtbl, 0xe56e4cbd_8f70_49 impl std::ops::Deref for IMFTimer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTimer, windows_core::IUnknown); @@ -13954,7 +13954,7 @@ impl IMFTimer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetTimer)(windows_core::Interface::as_raw(self), dwflags, llclocktime, pcallback.param().abi(), punkstate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CancelTimer(&self, punkkey: P0) -> windows_core::Result<()> @@ -13974,7 +13974,7 @@ windows_core::imp::define_interface!(IMFTopoLoader, IMFTopoLoader_Vtbl, 0xde9a61 impl std::ops::Deref for IMFTopoLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTopoLoader, windows_core::IUnknown); @@ -13996,13 +13996,13 @@ windows_core::imp::define_interface!(IMFTopology, IMFTopology_Vtbl, 0x83cf873a_f impl std::ops::Deref for IMFTopology { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTopology, windows_core::IUnknown, IMFAttributes); impl IMFTopology { pub unsafe fn GetTopologyID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTopologyID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddNode(&self, pnode: P0) -> windows_core::Result<()> @@ -14018,11 +14018,11 @@ impl IMFTopology { (windows_core::Interface::vtable(self).RemoveNode)(windows_core::Interface::as_raw(self), pnode.param().abi()).ok() } pub unsafe fn GetNodeCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNodeCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNode(&self, windex: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNode)(windows_core::Interface::as_raw(self), windex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clear(&self) -> windows_core::Result<()> { @@ -14035,15 +14035,15 @@ impl IMFTopology { (windows_core::Interface::vtable(self).CloneFrom)(windows_core::Interface::as_raw(self), ptopology.param().abi()).ok() } pub unsafe fn GetNodeByID(&self, qwtoponodeid: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNodeByID)(windows_core::Interface::as_raw(self), qwtoponodeid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceNodeCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceNodeCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputNodeCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputNodeCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14065,7 +14065,7 @@ windows_core::imp::define_interface!(IMFTopologyNode, IMFTopologyNode_Vtbl, 0x83 impl std::ops::Deref for IMFTopologyNode { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTopologyNode, windows_core::IUnknown, IMFAttributes); @@ -14077,26 +14077,26 @@ impl IMFTopologyNode { (windows_core::Interface::vtable(self).SetObject)(windows_core::Interface::as_raw(self), pobject.param().abi()).ok() } pub unsafe fn GetObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNodeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNodeType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTopoNodeID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTopoNodeID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOutputCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ConnectOutput(&self, dwoutputindex: u32, pdownstreamnode: P0, dwinputindexondownstreamnode: u32) -> windows_core::Result<()> @@ -14121,7 +14121,7 @@ impl IMFTopologyNode { (windows_core::Interface::vtable(self).SetOutputPrefType)(windows_core::Interface::as_raw(self), dwoutputindex, ptype.param().abi()).ok() } pub unsafe fn GetOutputPrefType(&self, dwoutputindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputPrefType)(windows_core::Interface::as_raw(self), dwoutputindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputPrefType(&self, dwinputindex: u32, ptype: P0) -> windows_core::Result<()> @@ -14131,7 +14131,7 @@ impl IMFTopologyNode { (windows_core::Interface::vtable(self).SetInputPrefType)(windows_core::Interface::as_raw(self), dwinputindex, ptype.param().abi()).ok() } pub unsafe fn GetInputPrefType(&self, dwinputindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputPrefType)(windows_core::Interface::as_raw(self), dwinputindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CloneFrom(&self, pnode: P0) -> windows_core::Result<()> @@ -14165,7 +14165,7 @@ windows_core::imp::define_interface!(IMFTopologyNodeAttributeEditor, IMFTopology impl std::ops::Deref for IMFTopologyNodeAttributeEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTopologyNodeAttributeEditor, windows_core::IUnknown); @@ -14183,7 +14183,7 @@ windows_core::imp::define_interface!(IMFTopologyServiceLookup, IMFTopologyServic impl std::ops::Deref for IMFTopologyServiceLookup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTopologyServiceLookup, windows_core::IUnknown); @@ -14201,7 +14201,7 @@ windows_core::imp::define_interface!(IMFTopologyServiceLookupClient, IMFTopology impl std::ops::Deref for IMFTopologyServiceLookupClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTopologyServiceLookupClient, windows_core::IUnknown); @@ -14226,7 +14226,7 @@ windows_core::imp::define_interface!(IMFTrackedSample, IMFTrackedSample_Vtbl, 0x impl std::ops::Deref for IMFTrackedSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTrackedSample, windows_core::IUnknown); @@ -14248,7 +14248,7 @@ windows_core::imp::define_interface!(IMFTranscodeProfile, IMFTranscodeProfile_Vt impl std::ops::Deref for IMFTranscodeProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTranscodeProfile, windows_core::IUnknown); @@ -14260,7 +14260,7 @@ impl IMFTranscodeProfile { (windows_core::Interface::vtable(self).SetAudioAttributes)(windows_core::Interface::as_raw(self), pattrs.param().abi()).ok() } pub unsafe fn GetAudioAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVideoAttributes(&self, pattrs: P0) -> windows_core::Result<()> @@ -14270,7 +14270,7 @@ impl IMFTranscodeProfile { (windows_core::Interface::vtable(self).SetVideoAttributes)(windows_core::Interface::as_raw(self), pattrs.param().abi()).ok() } pub unsafe fn GetVideoAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContainerAttributes(&self, pattrs: P0) -> windows_core::Result<()> @@ -14280,7 +14280,7 @@ impl IMFTranscodeProfile { (windows_core::Interface::vtable(self).SetContainerAttributes)(windows_core::Interface::as_raw(self), pattrs.param().abi()).ok() } pub unsafe fn GetContainerAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainerAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14298,7 +14298,7 @@ windows_core::imp::define_interface!(IMFTranscodeSinkInfoProvider, IMFTranscodeS impl std::ops::Deref for IMFTranscodeSinkInfoProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTranscodeSinkInfoProvider, windows_core::IUnknown); @@ -14322,7 +14322,7 @@ impl IMFTranscodeSinkInfoProvider { (windows_core::Interface::vtable(self).SetProfile)(windows_core::Interface::as_raw(self), pprofile.param().abi()).ok() } pub unsafe fn GetSinkInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSinkInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14338,7 +14338,7 @@ windows_core::imp::define_interface!(IMFTransform, IMFTransform_Vtbl, 0xbf94c121 impl std::ops::Deref for IMFTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTransform, windows_core::IUnknown); @@ -14356,19 +14356,19 @@ impl IMFTransform { (windows_core::Interface::vtable(self).GetInputStreamInfo)(windows_core::Interface::as_raw(self), dwinputstreamid, pstreaminfo).ok() } pub unsafe fn GetOutputStreamInfo(&self, dwoutputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputStreamInfo)(windows_core::Interface::as_raw(self), dwoutputstreamid, &mut result__).map(|| result__) } pub unsafe fn GetAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputStreamAttributes(&self, dwinputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputStreamAttributes)(windows_core::Interface::as_raw(self), dwinputstreamid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputStreamAttributes(&self, dwoutputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputStreamAttributes)(windows_core::Interface::as_raw(self), dwoutputstreamid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteInputStream(&self, dwstreamid: u32) -> windows_core::Result<()> { @@ -14378,11 +14378,11 @@ impl IMFTransform { (windows_core::Interface::vtable(self).AddInputStreams)(windows_core::Interface::as_raw(self), cstreams, adwstreamids).ok() } pub unsafe fn GetInputAvailableType(&self, dwinputstreamid: u32, dwtypeindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputAvailableType)(windows_core::Interface::as_raw(self), dwinputstreamid, dwtypeindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputAvailableType(&self, dwoutputstreamid: u32, dwtypeindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputAvailableType)(windows_core::Interface::as_raw(self), dwoutputstreamid, dwtypeindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputType(&self, dwinputstreamid: u32, ptype: P0, dwflags: u32) -> windows_core::Result<()> @@ -14398,19 +14398,19 @@ impl IMFTransform { (windows_core::Interface::vtable(self).SetOutputType)(windows_core::Interface::as_raw(self), dwoutputstreamid, ptype.param().abi(), dwflags).ok() } pub unsafe fn GetInputCurrentType(&self, dwinputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCurrentType)(windows_core::Interface::as_raw(self), dwinputstreamid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputCurrentType(&self, dwoutputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCurrentType)(windows_core::Interface::as_raw(self), dwoutputstreamid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputStatus(&self, dwinputstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputStatus)(windows_core::Interface::as_raw(self), dwinputstreamid, &mut result__).map(|| result__) } pub unsafe fn GetOutputStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputBounds(&self, hnslowerbound: i64, hnsupperbound: i64) -> windows_core::Result<()> { @@ -14466,13 +14466,13 @@ windows_core::imp::define_interface!(IMFTrustedInput, IMFTrustedInput_Vtbl, 0x54 impl std::ops::Deref for IMFTrustedInput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTrustedInput, windows_core::IUnknown); impl IMFTrustedInput { pub unsafe fn GetInputTrustAuthority(&self, dwstreamid: u32, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputTrustAuthority)(windows_core::Interface::as_raw(self), dwstreamid, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14485,21 +14485,21 @@ windows_core::imp::define_interface!(IMFTrustedOutput, IMFTrustedOutput_Vtbl, 0x impl std::ops::Deref for IMFTrustedOutput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFTrustedOutput, windows_core::IUnknown); impl IMFTrustedOutput { pub unsafe fn GetOutputTrustAuthorityCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputTrustAuthorityCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOutputTrustAuthorityByIndex(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputTrustAuthorityByIndex)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsFinal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFinal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14514,7 +14514,7 @@ windows_core::imp::define_interface!(IMFVideoCaptureSampleAllocator, IMFVideoCap impl std::ops::Deref for IMFVideoCaptureSampleAllocator { type Target = IMFVideoSampleAllocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoCaptureSampleAllocator, windows_core::IUnknown, IMFVideoSampleAllocator); @@ -14536,13 +14536,13 @@ windows_core::imp::define_interface!(IMFVideoDeviceID, IMFVideoDeviceID_Vtbl, 0x impl std::ops::Deref for IMFVideoDeviceID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoDeviceID, windows_core::IUnknown); impl IMFVideoDeviceID { pub unsafe fn GetDeviceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14555,7 +14555,7 @@ windows_core::imp::define_interface!(IMFVideoDisplayControl, IMFVideoDisplayCont impl std::ops::Deref for IMFVideoDisplayControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoDisplayControl, windows_core::IUnknown); @@ -14576,7 +14576,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAspectRatioMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVideoWindow(&self, hwndvideo: P0) -> windows_core::Result<()> @@ -14586,7 +14586,7 @@ impl IMFVideoDisplayControl { (windows_core::Interface::vtable(self).SetVideoWindow)(windows_core::Interface::as_raw(self), hwndvideo.param().abi()).ok() } pub unsafe fn GetVideoWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RepaintVideo(&self) -> windows_core::Result<()> { @@ -14603,14 +14603,14 @@ impl IMFVideoDisplayControl { (windows_core::Interface::vtable(self).SetBorderColor)(windows_core::Interface::as_raw(self), clr.param().abi()).ok() } pub unsafe fn GetBorderColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBorderColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderingPrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFullscreen(&self, ffullscreen: P0) -> windows_core::Result<()> @@ -14620,7 +14620,7 @@ impl IMFVideoDisplayControl { (windows_core::Interface::vtable(self).SetFullscreen)(windows_core::Interface::as_raw(self), ffullscreen.param().abi()).ok() } pub unsafe fn GetFullscreen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFullscreen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14651,7 +14651,7 @@ windows_core::imp::define_interface!(IMFVideoMediaType, IMFVideoMediaType_Vtbl, impl std::ops::Deref for IMFVideoMediaType { type Target = IMFMediaType; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoMediaType, windows_core::IUnknown, IMFAttributes, IMFMediaType); @@ -14673,7 +14673,7 @@ windows_core::imp::define_interface!(IMFVideoMixerBitmap, IMFVideoMixerBitmap_Vt impl std::ops::Deref for IMFVideoMixerBitmap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoMixerBitmap, windows_core::IUnknown); @@ -14707,7 +14707,7 @@ windows_core::imp::define_interface!(IMFVideoMixerControl, IMFVideoMixerControl_ impl std::ops::Deref for IMFVideoMixerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoMixerControl, windows_core::IUnknown); @@ -14716,14 +14716,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamZOrder)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| 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, pnrcoutput).ok() } pub unsafe fn GetStreamOutputRect(&self, dwstreamid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamOutputRect)(windows_core::Interface::as_raw(self), dwstreamid, &mut result__).map(|| result__) } } @@ -14739,7 +14739,7 @@ windows_core::imp::define_interface!(IMFVideoMixerControl2, IMFVideoMixerControl impl std::ops::Deref for IMFVideoMixerControl2 { type Target = IMFVideoMixerControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoMixerControl2, windows_core::IUnknown, IMFVideoMixerControl); @@ -14748,7 +14748,7 @@ impl IMFVideoMixerControl2 { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMixingPrefs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14762,7 +14762,7 @@ windows_core::imp::define_interface!(IMFVideoPositionMapper, IMFVideoPositionMap impl std::ops::Deref for IMFVideoPositionMapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoPositionMapper, windows_core::IUnknown); @@ -14780,7 +14780,7 @@ windows_core::imp::define_interface!(IMFVideoPresenter, IMFVideoPresenter_Vtbl, impl std::ops::Deref for IMFVideoPresenter { type Target = IMFClockStateSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoPresenter, windows_core::IUnknown, IMFClockStateSink); @@ -14789,7 +14789,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentMediaType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -14803,7 +14803,7 @@ windows_core::imp::define_interface!(IMFVideoProcessor, IMFVideoProcessor_Vtbl, impl std::ops::Deref for IMFVideoProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoProcessor, windows_core::IUnknown); @@ -14816,36 +14816,36 @@ impl IMFVideoProcessor { (windows_core::Interface::vtable(self).GetVideoProcessorCaps)(windows_core::Interface::as_raw(self), lpvideoprocessormode, lpvideoprocessorcaps).ok() } pub unsafe fn GetVideoProcessorMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoProcessorMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), lpmode).ok() } pub unsafe fn GetProcAmpRange(&self, dwproperty: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcAmpRange)(windows_core::Interface::as_raw(self), dwproperty, &mut result__).map(|| result__) } pub unsafe fn GetProcAmpValues(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcAmpValues)(windows_core::Interface::as_raw(self), dwflags, &mut result__).map(|| 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, pvalues).ok() } pub unsafe fn GetFilteringRange(&self, dwproperty: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteringRange)(windows_core::Interface::as_raw(self), dwproperty, &mut result__).map(|| result__) } pub unsafe fn GetFilteringValue(&self, dwproperty: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteringValue)(windows_core::Interface::as_raw(self), dwproperty, &mut result__).map(|| 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, pvalue).ok() } pub unsafe fn GetBackgroundColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackgroundColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBackgroundColor(&self, clrbkg: P0) -> windows_core::Result<()> @@ -14878,7 +14878,7 @@ windows_core::imp::define_interface!(IMFVideoProcessorControl, IMFVideoProcessor impl std::ops::Deref for IMFVideoProcessorControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoProcessorControl, windows_core::IUnknown); @@ -14916,7 +14916,7 @@ windows_core::imp::define_interface!(IMFVideoProcessorControl2, IMFVideoProcesso impl std::ops::Deref for IMFVideoProcessorControl2 { type Target = IMFVideoProcessorControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoProcessorControl2, windows_core::IUnknown, IMFVideoProcessorControl); @@ -14931,7 +14931,7 @@ impl IMFVideoProcessorControl2 { (windows_core::Interface::vtable(self).EnableHardwareEffects)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn GetSupportedHardwareEffects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedHardwareEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14946,13 +14946,13 @@ windows_core::imp::define_interface!(IMFVideoProcessorControl3, IMFVideoProcesso impl std::ops::Deref for IMFVideoProcessorControl3 { type Target = IMFVideoProcessorControl2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoProcessorControl3, windows_core::IUnknown, IMFVideoProcessorControl, IMFVideoProcessorControl2); impl IMFVideoProcessorControl3 { pub unsafe fn GetNaturalOutputType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNaturalOutputType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnableSphericalVideoProcessing(&self, fenable: P0, eformat: MFVideoSphericalFormat, eprojectionmode: MFVideoSphericalProjectionMode) -> windows_core::Result<()> @@ -14983,7 +14983,7 @@ windows_core::imp::define_interface!(IMFVideoRenderer, IMFVideoRenderer_Vtbl, 0x impl std::ops::Deref for IMFVideoRenderer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoRenderer, windows_core::IUnknown); @@ -15005,7 +15005,7 @@ windows_core::imp::define_interface!(IMFVideoRendererEffectControl, IMFVideoRend impl std::ops::Deref for IMFVideoRendererEffectControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoRendererEffectControl, windows_core::IUnknown); @@ -15026,7 +15026,7 @@ windows_core::imp::define_interface!(IMFVideoSampleAllocator, IMFVideoSampleAllo impl std::ops::Deref for IMFVideoSampleAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocator, windows_core::IUnknown); @@ -15047,7 +15047,7 @@ impl IMFVideoSampleAllocator { (windows_core::Interface::vtable(self).InitializeSampleAllocator)(windows_core::Interface::as_raw(self), crequestedframes, pmediatype.param().abi()).ok() } pub unsafe fn AllocateSample(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocateSample)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15063,7 +15063,7 @@ windows_core::imp::define_interface!(IMFVideoSampleAllocatorCallback, IMFVideoSa impl std::ops::Deref for IMFVideoSampleAllocatorCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorCallback, windows_core::IUnknown); @@ -15075,7 +15075,7 @@ impl IMFVideoSampleAllocatorCallback { (windows_core::Interface::vtable(self).SetCallback)(windows_core::Interface::as_raw(self), pnotify.param().abi()).ok() } pub unsafe fn GetFreeSampleCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFreeSampleCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15089,7 +15089,7 @@ windows_core::imp::define_interface!(IMFVideoSampleAllocatorEx, IMFVideoSampleAl impl std::ops::Deref for IMFVideoSampleAllocatorEx { type Target = IMFVideoSampleAllocator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorEx, windows_core::IUnknown, IMFVideoSampleAllocator); @@ -15111,7 +15111,7 @@ windows_core::imp::define_interface!(IMFVideoSampleAllocatorNotify, IMFVideoSamp impl std::ops::Deref for IMFVideoSampleAllocatorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorNotify, windows_core::IUnknown); @@ -15129,7 +15129,7 @@ windows_core::imp::define_interface!(IMFVideoSampleAllocatorNotifyEx, IMFVideoSa impl std::ops::Deref for IMFVideoSampleAllocatorNotifyEx { type Target = IMFVideoSampleAllocatorNotify; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorNotifyEx, windows_core::IUnknown, IMFVideoSampleAllocatorNotify); @@ -15150,7 +15150,7 @@ windows_core::imp::define_interface!(IMFVirtualCamera, IMFVirtualCamera_Vtbl, 0x impl std::ops::Deref for IMFVirtualCamera { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFVirtualCamera, windows_core::IUnknown, IMFAttributes); @@ -15185,7 +15185,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMediaSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SendCameraProperty(&self, propertyset: *const windows_core::GUID, propertyid: u32, propertyflags: u32, propertypayload: Option<*mut core::ffi::c_void>, propertypayloadlength: u32, data: Option<*mut core::ffi::c_void>, datalength: u32, datawritten: *mut u32) -> windows_core::Result<()> { @@ -15195,14 +15195,14 @@ impl IMFVirtualCamera { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSyncEvent)(windows_core::Interface::as_raw(self), kseventset, kseventid, kseventflags, eventhandle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSyncSemaphore(&self, kseventset: *const windows_core::GUID, kseventid: u32, kseventflags: u32, semaphorehandle: P0, semaphoreadjustment: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSyncSemaphore)(windows_core::Interface::as_raw(self), kseventset, kseventid, kseventflags, semaphorehandle.param().abi(), semaphoreadjustment, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Shutdown(&self) -> windows_core::Result<()> { @@ -15231,7 +15231,7 @@ windows_core::imp::define_interface!(IMFWorkQueueServices, IMFWorkQueueServices_ impl std::ops::Deref for IMFWorkQueueServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFWorkQueueServices, windows_core::IUnknown); @@ -15266,7 +15266,7 @@ impl IMFWorkQueueServices { (windows_core::Interface::vtable(self).GetTopologyWorkQueueMMCSSClass)(windows_core::Interface::as_raw(self), dwtopologyworkqueueid, core::mem::transmute(pwszclass), pcchclass).ok() } pub unsafe fn GetTopologyWorkQueueMMCSSTaskId(&self, dwtopologyworkqueueid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTopologyWorkQueueMMCSSTaskId)(windows_core::Interface::as_raw(self), dwtopologyworkqueueid, &mut result__).map(|| result__) } pub unsafe fn BeginRegisterPlatformWorkQueueWithMMCSS(&self, dwplatformworkqueue: u32, wszclass: P0, dwtaskid: u32, pcallback: P1, pstate: P2) -> windows_core::Result<()> @@ -15281,7 +15281,7 @@ impl IMFWorkQueueServices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndRegisterPlatformWorkQueueWithMMCSS)(windows_core::Interface::as_raw(self), presult.param().abi(), &mut result__).map(|| result__) } pub unsafe fn BeginUnregisterPlatformWorkQueueWithMMCSS(&self, dwplatformworkqueue: u32, pcallback: P0, pstate: P1) -> windows_core::Result<()> @@ -15301,7 +15301,7 @@ impl IMFWorkQueueServices { (windows_core::Interface::vtable(self).GetPlaftormWorkQueueMMCSSClass)(windows_core::Interface::as_raw(self), dwplatformworkqueueid, core::mem::transmute(pwszclass), pcchclass).ok() } pub unsafe fn GetPlatformWorkQueueMMCSSTaskId(&self, dwplatformworkqueueid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPlatformWorkQueueMMCSSTaskId)(windows_core::Interface::as_raw(self), dwplatformworkqueueid, &mut result__).map(|| result__) } } @@ -15325,13 +15325,13 @@ windows_core::imp::define_interface!(IMFWorkQueueServicesEx, IMFWorkQueueService impl std::ops::Deref for IMFWorkQueueServicesEx { type Target = IMFWorkQueueServices; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMFWorkQueueServicesEx, windows_core::IUnknown, IMFWorkQueueServices); impl IMFWorkQueueServicesEx { pub unsafe fn GetTopologyWorkQueueMMCSSPriority(&self, dwtopologyworkqueueid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTopologyWorkQueueMMCSSPriority)(windows_core::Interface::as_raw(self), dwtopologyworkqueueid, &mut result__).map(|| result__) } pub unsafe fn BeginRegisterPlatformWorkQueueWithMMCSSEx(&self, dwplatformworkqueue: u32, wszclass: P0, dwtaskid: u32, lpriority: i32, pcallback: P1, pstate: P2) -> windows_core::Result<()> @@ -15343,7 +15343,7 @@ impl IMFWorkQueueServicesEx { (windows_core::Interface::vtable(self).BeginRegisterPlatformWorkQueueWithMMCSSEx)(windows_core::Interface::as_raw(self), dwplatformworkqueue, wszclass.param().abi(), dwtaskid, lpriority, pcallback.param().abi(), pstate.param().abi()).ok() } pub unsafe fn GetPlatformWorkQueueMMCSSPriority(&self, dwplatformworkqueueid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPlatformWorkQueueMMCSSPriority)(windows_core::Interface::as_raw(self), dwplatformworkqueueid, &mut result__).map(|| result__) } } @@ -15358,7 +15358,7 @@ windows_core::imp::define_interface!(IOPMVideoOutput, IOPMVideoOutput_Vtbl, 0x0a impl std::ops::Deref for IOPMVideoOutput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOPMVideoOutput, windows_core::IUnknown); @@ -15392,7 +15392,7 @@ windows_core::imp::define_interface!(IPlayToControl, IPlayToControl_Vtbl, 0x6075 impl std::ops::Deref for IPlayToControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayToControl, windows_core::IUnknown); @@ -15417,13 +15417,13 @@ windows_core::imp::define_interface!(IPlayToControlWithCapabilities, IPlayToCont impl std::ops::Deref for IPlayToControlWithCapabilities { type Target = IPlayToControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayToControlWithCapabilities, windows_core::IUnknown, IPlayToControl); impl IPlayToControlWithCapabilities { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15436,7 +15436,7 @@ windows_core::imp::define_interface!(IPlayToSourceClassFactory, IPlayToSourceCla impl std::ops::Deref for IPlayToSourceClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayToSourceClassFactory, windows_core::IUnknown); @@ -15445,7 +15445,7 @@ impl IPlayToSourceClassFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), dwflags, pcontrol.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15458,7 +15458,7 @@ windows_core::imp::define_interface!(IToc, IToc_Vtbl, 0xd6f05441_a919_423b_91a0_ impl std::ops::Deref for IToc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IToc, windows_core::IUnknown); @@ -15488,7 +15488,7 @@ impl IToc { (windows_core::Interface::vtable(self).GetEntryListCount)(windows_core::Interface::as_raw(self), pwcount).ok() } pub unsafe fn GetEntryListByIndex(&self, wentrylistindex: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntryListByIndex)(windows_core::Interface::as_raw(self), wentrylistindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddEntryList(&self, pentrylist: P0, pwentrylistindex: *mut u16) -> windows_core::Result<()> @@ -15526,7 +15526,7 @@ windows_core::imp::define_interface!(ITocCollection, ITocCollection_Vtbl, 0x23fe impl std::ops::Deref for ITocCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITocCollection, windows_core::IUnknown); @@ -15535,7 +15535,7 @@ impl ITocCollection { (windows_core::Interface::vtable(self).GetEntryCount)(windows_core::Interface::as_raw(self), pdwentrycount).ok() } pub unsafe fn GetEntryByIndex(&self, dwentryindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntryByIndex)(windows_core::Interface::as_raw(self), dwentryindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddEntry(&self, ptoc: P0, pdwentryindex: *mut u32) -> windows_core::Result<()> @@ -15567,7 +15567,7 @@ windows_core::imp::define_interface!(ITocEntry, ITocEntry_Vtbl, 0xf22f5e06_585c_ impl std::ops::Deref for ITocEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITocEntry, windows_core::IUnknown); @@ -15616,7 +15616,7 @@ windows_core::imp::define_interface!(ITocEntryList, ITocEntryList_Vtbl, 0x3a8ccc impl std::ops::Deref for ITocEntryList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITocEntryList, windows_core::IUnknown); @@ -15625,7 +15625,7 @@ impl ITocEntryList { (windows_core::Interface::vtable(self).GetEntryCount)(windows_core::Interface::as_raw(self), pdwentrycount).ok() } pub unsafe fn GetEntryByIndex(&self, dwentryindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntryByIndex)(windows_core::Interface::as_raw(self), dwentryindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddEntry(&self, pentry: P0, pdwentryindex: *mut u32) -> windows_core::Result<()> @@ -15657,7 +15657,7 @@ windows_core::imp::define_interface!(ITocParser, ITocParser_Vtbl, 0xecfb9a55_929 impl std::ops::Deref for ITocParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITocParser, windows_core::IUnknown); @@ -15672,11 +15672,11 @@ impl ITocParser { (windows_core::Interface::vtable(self).GetTocCount)(windows_core::Interface::as_raw(self), enumtocpostype, pdwtoccount).ok() } pub unsafe fn GetTocByIndex(&self, enumtocpostype: TOC_POS_TYPE, dwtocindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTocByIndex)(windows_core::Interface::as_raw(self), enumtocpostype, dwtocindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTocByType(&self, enumtocpostype: TOC_POS_TYPE, guidtoctype: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTocByType)(windows_core::Interface::as_raw(self), enumtocpostype, core::mem::transmute(guidtoctype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddToc(&self, enumtocpostype: TOC_POS_TYPE, ptoc: P0, pdwtocindex: *mut u32) -> windows_core::Result<()> @@ -15711,7 +15711,7 @@ windows_core::imp::define_interface!(IValidateBinding, IValidateBinding_Vtbl, 0x impl std::ops::Deref for IValidateBinding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IValidateBinding, windows_core::IUnknown); @@ -15729,7 +15729,7 @@ windows_core::imp::define_interface!(IWMCodecLeakyBucket, IWMCodecLeakyBucket_Vt impl std::ops::Deref for IWMCodecLeakyBucket { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecLeakyBucket, windows_core::IUnknown); @@ -15759,7 +15759,7 @@ windows_core::imp::define_interface!(IWMCodecOutputTimestamp, IWMCodecOutputTime impl std::ops::Deref for IWMCodecOutputTimestamp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecOutputTimestamp, windows_core::IUnknown); @@ -15777,7 +15777,7 @@ windows_core::imp::define_interface!(IWMCodecPrivateData, IWMCodecPrivateData_Vt impl std::ops::Deref for IWMCodecPrivateData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecPrivateData, windows_core::IUnknown); @@ -15803,7 +15803,7 @@ windows_core::imp::define_interface!(IWMCodecProps, IWMCodecProps_Vtbl, 0x2573e1 impl std::ops::Deref for IWMCodecProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecProps, windows_core::IUnknown); @@ -15835,7 +15835,7 @@ windows_core::imp::define_interface!(IWMCodecStrings, IWMCodecStrings_Vtbl, 0xa7 impl std::ops::Deref for IWMCodecStrings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecStrings, windows_core::IUnknown); @@ -15865,7 +15865,7 @@ windows_core::imp::define_interface!(IWMColorConvProps, IWMColorConvProps_Vtbl, impl std::ops::Deref for IWMColorConvProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMColorConvProps, windows_core::IUnknown); @@ -15887,7 +15887,7 @@ windows_core::imp::define_interface!(IWMColorLegalizerProps, IWMColorLegalizerPr impl std::ops::Deref for IWMColorLegalizerProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMColorLegalizerProps, windows_core::IUnknown); @@ -15905,7 +15905,7 @@ windows_core::imp::define_interface!(IWMFrameInterpProps, IWMFrameInterpProps_Vt impl std::ops::Deref for IWMFrameInterpProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMFrameInterpProps, windows_core::IUnknown); @@ -15938,7 +15938,7 @@ windows_core::imp::define_interface!(IWMInterlaceProps, IWMInterlaceProps_Vtbl, impl std::ops::Deref for IWMInterlaceProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMInterlaceProps, windows_core::IUnknown); @@ -15964,7 +15964,7 @@ windows_core::imp::define_interface!(IWMResamplerProps, IWMResamplerProps_Vtbl, impl std::ops::Deref for IWMResamplerProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMResamplerProps, windows_core::IUnknown); @@ -15986,7 +15986,7 @@ windows_core::imp::define_interface!(IWMResizerProps, IWMResizerProps_Vtbl, 0x57 impl std::ops::Deref for IWMResizerProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMResizerProps, windows_core::IUnknown); @@ -16020,7 +16020,7 @@ windows_core::imp::define_interface!(IWMSampleExtensionSupport, IWMSampleExtensi impl std::ops::Deref for IWMSampleExtensionSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMSampleExtensionSupport, windows_core::IUnknown); @@ -16041,7 +16041,7 @@ windows_core::imp::define_interface!(IWMValidate, IWMValidate_Vtbl, 0xcee3def2_3 impl std::ops::Deref for IWMValidate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMValidate, windows_core::IUnknown); @@ -16059,7 +16059,7 @@ windows_core::imp::define_interface!(IWMVideoDecoderHurryup, IWMVideoDecoderHurr impl std::ops::Deref for IWMVideoDecoderHurryup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMVideoDecoderHurryup, windows_core::IUnknown); @@ -16081,7 +16081,7 @@ windows_core::imp::define_interface!(IWMVideoDecoderReconBuffer, IWMVideoDecoder impl std::ops::Deref for IWMVideoDecoderReconBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMVideoDecoderReconBuffer, windows_core::IUnknown); @@ -16121,7 +16121,7 @@ windows_core::imp::define_interface!(IWMVideoForceKeyFrame, IWMVideoForceKeyFram impl std::ops::Deref for IWMVideoForceKeyFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMVideoForceKeyFrame, windows_core::IUnknown); @@ -16139,7 +16139,7 @@ windows_core::imp::define_interface!(MFASYNCRESULT, MFASYNCRESULT_Vtbl, 0); impl std::ops::Deref for MFASYNCRESULT { type Target = IMFAsyncResult; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(MFASYNCRESULT, windows_core::IUnknown, IMFAsyncResult); @@ -26786,7 +26786,7 @@ pub struct AM_MEDIA_TYPE { pub bTemporalCompression: super::super::Foundation::BOOL, pub lSampleSize: u32, pub formattype: windows_core::GUID, - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, pub cbFormat: u32, pub pbFormat: *mut u8, } @@ -28161,7 +28161,7 @@ impl Default for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { - pub pMotionVectorHeap: std::mem::ManuallyDrop>, + pub pMotionVectorHeap: core::mem::ManuallyDrop>, pub PixelWidth: u32, pub PixelHeight: u32, } @@ -28185,7 +28185,7 @@ impl Default for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { - pub pMotionVectorTexture2D: std::mem::ManuallyDrop>, + pub pMotionVectorTexture2D: core::mem::ManuallyDrop>, pub MotionVectorCoordinate: D3D12_RESOURCE_COORDINATE, } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -28261,7 +28261,7 @@ impl Default for D3D12_VIDEO_DECODER_HEAP_DESC { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { - pub pBuffer: std::mem::ManuallyDrop>, + pub pBuffer: core::mem::ManuallyDrop>, pub Offset: u64, pub Size: u64, } @@ -28301,7 +28301,7 @@ impl Default for D3D12_VIDEO_DECODE_CONFIGURATION { #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { pub Enable: super::super::Foundation::BOOL, - pub pReferenceTexture2D: std::mem::ManuallyDrop>, + pub pReferenceTexture2D: core::mem::ManuallyDrop>, pub ReferenceSubresource: u32, pub OutputColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pub DecodeColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, @@ -28327,7 +28327,7 @@ impl Default for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { pub Enable: super::super::Foundation::BOOL, - pub pReferenceTexture2D: std::mem::ManuallyDrop>, + pub pReferenceTexture2D: core::mem::ManuallyDrop>, pub ReferenceSubresource: u32, pub OutputColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pub DecodeColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, @@ -28373,7 +28373,7 @@ pub struct D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { pub FrameArguments: [D3D12_VIDEO_DECODE_FRAME_ARGUMENT; 10], pub ReferenceFrames: D3D12_VIDEO_DECODE_REFERENCE_FRAMES, pub CompressedBitstream: D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM, - pub pHeap: std::mem::ManuallyDrop>, + pub pHeap: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_Graphics_Direct3D12")] impl Clone for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { @@ -28396,7 +28396,7 @@ impl Default for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { pub Offset: u64, - pub pBuffer: std::mem::ManuallyDrop>, + pub pBuffer: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_Graphics_Direct3D12")] impl Clone for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { @@ -28418,7 +28418,7 @@ impl Default for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { - pub pOutputTexture2D: std::mem::ManuallyDrop>, + pub pOutputTexture2D: core::mem::ManuallyDrop>, pub OutputSubresource: u32, pub ConversionArguments: D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS, } @@ -28442,7 +28442,7 @@ impl Default for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { - pub pOutputTexture2D: std::mem::ManuallyDrop>, + pub pOutputTexture2D: core::mem::ManuallyDrop>, pub OutputSubresource: u32, pub ConversionArguments: D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1, pub Histograms: [D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM; 4], @@ -29035,7 +29035,7 @@ impl Default for D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_HEVC { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM { - pub pBuffer: std::mem::ManuallyDrop>, + pub pBuffer: core::mem::ManuallyDrop>, pub FrameStartOffset: u64, } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -29081,7 +29081,7 @@ impl Default for D3D12_VIDEO_ENCODER_DESC { pub struct D3D12_VIDEO_ENCODER_ENCODEFRAME_INPUT_ARGUMENTS { pub SequenceControlDesc: D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_DESC, pub PictureControlDesc: D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC, - pub pInputFrame: std::mem::ManuallyDrop>, + pub pInputFrame: core::mem::ManuallyDrop>, pub InputFrameSubresource: u32, pub CurrentFrameBitstreamMetadataSize: u32, } @@ -29129,7 +29129,7 @@ impl Default for D3D12_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_ARGUMENTS { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER { - pub pBuffer: std::mem::ManuallyDrop>, + pub pBuffer: core::mem::ManuallyDrop>, pub Offset: u64, } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -29781,7 +29781,7 @@ impl Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1 { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_ENCODER_RECONSTRUCTED_PICTURE { - pub pReconstructedPicture: std::mem::ManuallyDrop>, + pub pReconstructedPicture: core::mem::ManuallyDrop>, pub ReconstructedPictureSubresource: u32, } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -30071,11 +30071,11 @@ impl Default for D3D12_VIDEO_MOTION_ESTIMATOR_DESC { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_MOTION_ESTIMATOR_INPUT { - pub pInputTexture2D: std::mem::ManuallyDrop>, + pub pInputTexture2D: core::mem::ManuallyDrop>, pub InputSubresourceIndex: u32, - pub pReferenceTexture2D: std::mem::ManuallyDrop>, + pub pReferenceTexture2D: core::mem::ManuallyDrop>, pub ReferenceSubresourceIndex: u32, - pub pHintMotionVectorHeap: std::mem::ManuallyDrop>, + pub pHintMotionVectorHeap: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_Graphics_Direct3D12")] impl Clone for D3D12_VIDEO_MOTION_ESTIMATOR_INPUT { @@ -30097,7 +30097,7 @@ impl Default for D3D12_VIDEO_MOTION_ESTIMATOR_INPUT { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT { - pub pMotionVectorHeap: std::mem::ManuallyDrop>, + pub pMotionVectorHeap: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_Graphics_Direct3D12")] impl Clone for D3D12_VIDEO_MOTION_ESTIMATOR_OUTPUT { @@ -30169,7 +30169,7 @@ impl Default for D3D12_VIDEO_PROCESS_FILTER_RANGE { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_PROCESS_INPUT_STREAM { - pub pTexture2D: std::mem::ManuallyDrop>, + pub pTexture2D: core::mem::ManuallyDrop>, pub Subresource: u32, pub ReferenceSet: D3D12_VIDEO_PROCESS_REFERENCE_SET, } @@ -30309,7 +30309,7 @@ impl Default for D3D12_VIDEO_PROCESS_LUMA_KEY { #[cfg(feature = "Win32_Graphics_Direct3D12")] #[derive(Debug, Eq, PartialEq)] pub struct D3D12_VIDEO_PROCESS_OUTPUT_STREAM { - pub pTexture2D: std::mem::ManuallyDrop>, + pub pTexture2D: core::mem::ManuallyDrop>, pub Subresource: u32, } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -30515,11 +30515,11 @@ impl Default for D3DOVERLAYCAPS { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct DEVICE_INFO { - pub pFriendlyDeviceName: std::mem::ManuallyDrop, - pub pUniqueDeviceName: std::mem::ManuallyDrop, - pub pManufacturerName: std::mem::ManuallyDrop, - pub pModelName: std::mem::ManuallyDrop, - pub pIconURL: std::mem::ManuallyDrop, + pub pFriendlyDeviceName: core::mem::ManuallyDrop, + pub pUniqueDeviceName: core::mem::ManuallyDrop, + pub pManufacturerName: core::mem::ManuallyDrop, + pub pModelName: core::mem::ManuallyDrop, + pub pIconURL: core::mem::ManuallyDrop, } impl Clone for DEVICE_INFO { fn clone(&self) -> Self { @@ -30900,7 +30900,7 @@ pub struct DXVA2_VideoSample { pub Start: i64, pub End: i64, pub SampleFormat: DXVA2_ExtendedFormat, - pub SrcSurface: std::mem::ManuallyDrop>, + pub SrcSurface: core::mem::ManuallyDrop>, pub SrcRect: super::super::Foundation::RECT, pub DstRect: super::super::Foundation::RECT, pub Pal: [DXVA2_AYUVSample8; 16], @@ -31334,7 +31334,7 @@ pub struct DXVAHD_STREAM_DATA { pub PastFrames: u32, pub FutureFrames: u32, pub ppPastSurfaces: *mut Option, - pub pInputSurface: std::mem::ManuallyDrop>, + pub pInputSurface: core::mem::ManuallyDrop>, pub ppFutureSurfaces: *mut Option, } #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -32579,7 +32579,7 @@ pub struct MFP_ACQUIRE_USER_CREDENTIAL_EVENT { pub pwszPackage: windows_core::PCWSTR, pub nRetries: i32, pub flags: u32, - pub pCredential: std::mem::ManuallyDrop>, + pub pCredential: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_ACQUIRE_USER_CREDENTIAL_EVENT { @@ -32625,9 +32625,9 @@ impl Default for MFP_ERROR_EVENT { pub struct MFP_EVENT_HEADER { pub eEventType: MFP_EVENT_TYPE, pub hrEvent: windows_core::HRESULT, - pub pMediaPlayer: std::mem::ManuallyDrop>, + pub pMediaPlayer: core::mem::ManuallyDrop>, pub eState: MFP_MEDIAPLAYER_STATE, - pub pPropertyStore: std::mem::ManuallyDrop>, + pub pPropertyStore: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_EVENT_HEADER { @@ -32650,7 +32650,7 @@ impl Default for MFP_EVENT_HEADER { #[derive(Debug, Eq, PartialEq)] pub struct MFP_FRAME_STEP_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_FRAME_STEP_EVENT { @@ -32673,7 +32673,7 @@ impl Default for MFP_FRAME_STEP_EVENT { #[derive(Debug, Eq, PartialEq)] pub struct MFP_MEDIAITEM_CLEARED_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_MEDIAITEM_CLEARED_EVENT { @@ -32696,7 +32696,7 @@ impl Default for MFP_MEDIAITEM_CLEARED_EVENT { #[derive(Debug, Eq, PartialEq)] pub struct MFP_MEDIAITEM_CREATED_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, pub dwUserData: usize, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -32720,7 +32720,7 @@ impl Default for MFP_MEDIAITEM_CREATED_EVENT { #[derive(Debug, Eq, PartialEq)] pub struct MFP_MEDIAITEM_SET_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_MEDIAITEM_SET_EVENT { @@ -32744,8 +32744,8 @@ impl Default for MFP_MEDIAITEM_SET_EVENT { pub struct MFP_MF_EVENT { pub header: MFP_EVENT_HEADER, pub MFEventType: u32, - pub pMFMediaEvent: std::mem::ManuallyDrop>, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMFMediaEvent: core::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_MF_EVENT { @@ -32768,7 +32768,7 @@ impl Default for MFP_MF_EVENT { #[derive(Debug, Eq, PartialEq)] pub struct MFP_PAUSE_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_PAUSE_EVENT { @@ -32791,7 +32791,7 @@ impl Default for MFP_PAUSE_EVENT { #[derive(Debug, Eq, PartialEq)] pub struct MFP_PLAYBACK_ENDED_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_PLAYBACK_ENDED_EVENT { @@ -32814,7 +32814,7 @@ impl Default for MFP_PLAYBACK_ENDED_EVENT { #[derive(Debug, Eq, PartialEq)] pub struct MFP_PLAY_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_PLAY_EVENT { @@ -32837,7 +32837,7 @@ impl Default for MFP_PLAY_EVENT { #[derive(Debug, Eq, PartialEq)] pub struct MFP_POSITION_SET_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_POSITION_SET_EVENT { @@ -32860,7 +32860,7 @@ impl Default for MFP_POSITION_SET_EVENT { #[derive(Debug, PartialEq)] pub struct MFP_RATE_SET_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, pub flRate: f32, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -32884,7 +32884,7 @@ impl Default for MFP_RATE_SET_EVENT { #[derive(Debug, Eq, PartialEq)] pub struct MFP_STOP_EVENT { pub header: MFP_EVENT_HEADER, - pub pMediaItem: std::mem::ManuallyDrop>, + pub pMediaItem: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl Clone for MFP_STOP_EVENT { @@ -33043,9 +33043,9 @@ impl Default for MFT_INPUT_STREAM_INFO { #[derive(Debug, Eq, PartialEq)] pub struct MFT_OUTPUT_DATA_BUFFER { pub dwStreamID: u32, - pub pSample: std::mem::ManuallyDrop>, + pub pSample: core::mem::ManuallyDrop>, pub dwStatus: u32, - pub pEvents: std::mem::ManuallyDrop>, + pub pEvents: core::mem::ManuallyDrop>, } impl Clone for MFT_OUTPUT_DATA_BUFFER { fn clone(&self) -> Self { @@ -33167,7 +33167,7 @@ impl Default for MFVideoAlphaBitmap { #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_Gdi"))] pub union MFVideoAlphaBitmap_0 { pub hdc: super::super::Graphics::Gdi::HDC, - pub pDDS: std::mem::ManuallyDrop>, + pub pDDS: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_Gdi"))] impl Clone for MFVideoAlphaBitmap_0 { @@ -33412,9 +33412,9 @@ impl Default for MF_SINK_WRITER_STATISTICS { #[derive(Debug, Eq, PartialEq)] pub struct MF_TRANSCODE_SINK_INFO { pub dwVideoStreamID: u32, - pub pVideoMediaType: std::mem::ManuallyDrop>, + pub pVideoMediaType: core::mem::ManuallyDrop>, pub dwAudioStreamID: u32, - pub pAudioMediaType: std::mem::ManuallyDrop>, + pub pAudioMediaType: core::mem::ManuallyDrop>, } impl Clone for MF_TRANSCODE_SINK_INFO { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs index bdff623440..d7ce84460b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs @@ -50,7 +50,7 @@ impl windows_core::RuntimeName for IFeed {} #[cfg(feature = "Win32_System_Com")] impl IFeed_Vtbl { pub const fn new, Impl: IFeed_Impl, const OFFSET: isize>() -> IFeed_Vtbl { - unsafe extern "system" fn Xml, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS, xml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Xml, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS, xml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Xml(this, core::mem::transmute_copy(&count), core::mem::transmute_copy(&sortproperty), core::mem::transmute_copy(&sortorder), core::mem::transmute_copy(&filterflags), core::mem::transmute_copy(&includeflags)) { @@ -61,7 +61,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Name(this) { @@ -72,12 +72,12 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Rename, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Rename, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeed_Impl::Rename(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn Url, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Url, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Url(this) { @@ -88,12 +88,12 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUrl, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUrl, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeed_Impl::SetUrl(this, core::mem::transmute(&feedurl)).into() } - unsafe extern "system" fn LocalId, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedguid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalId, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedguid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::LocalId(this) { @@ -104,7 +104,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Path(this) { @@ -115,7 +115,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Move, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newparentpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Move, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newparentpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeed_Impl::Move(this, core::mem::transmute(&newparentpath)).into() @@ -205,7 +205,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LocalEnclosurePath, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalEnclosurePath, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::LocalEnclosurePath(this) { @@ -238,7 +238,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Title, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, title: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, title: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Title(this) { @@ -249,7 +249,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Description(this) { @@ -260,7 +260,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Link, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, homepage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Link, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, homepage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Link(this) { @@ -271,7 +271,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Image, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imageurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Image, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imageurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Image(this) { @@ -315,7 +315,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Language, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, language: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Language, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, language: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Language(this) { @@ -326,7 +326,7 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Copyright, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, copyright: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Copyright, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, copyright: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::Copyright(this) { @@ -391,12 +391,12 @@ impl IFeed_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Merge, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedxml: std::mem::MaybeUninit, feedurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Merge, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedxml: core::mem::MaybeUninit, feedurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeed_Impl::Merge(this, core::mem::transmute(&feedxml), core::mem::transmute(&feedurl)).into() } - unsafe extern "system" fn DownloadUrl, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DownloadUrl, Impl: IFeed_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed_Impl::DownloadUrl(this) { @@ -544,7 +544,7 @@ impl IFeed2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Username, Impl: IFeed2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Username, Impl: IFeed2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed2_Impl::Username(this) { @@ -555,7 +555,7 @@ impl IFeed2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Password, Impl: IFeed2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, password: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Password, Impl: IFeed2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, password: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeed2_Impl::Password(this) { @@ -566,7 +566,7 @@ impl IFeed2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCredentials, Impl: IFeed2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: std::mem::MaybeUninit, password: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCredentials, Impl: IFeed2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: core::mem::MaybeUninit, password: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeed2_Impl::SetCredentials(this, core::mem::transmute(&username), core::mem::transmute(&password)).into() @@ -611,7 +611,7 @@ impl windows_core::RuntimeName for IFeedEnclosure {} #[cfg(feature = "Win32_System_Com")] impl IFeedEnclosure_Vtbl { pub const fn new, Impl: IFeedEnclosure_Impl, const OFFSET: isize>() -> IFeedEnclosure_Vtbl { - unsafe extern "system" fn Url, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enclosureurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Url, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enclosureurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedEnclosure_Impl::Url(this) { @@ -622,7 +622,7 @@ impl IFeedEnclosure_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Type, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mimetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Type, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mimetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedEnclosure_Impl::Type(this) { @@ -676,7 +676,7 @@ impl IFeedEnclosure_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LocalPath, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalPath, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedEnclosure_Impl::LocalPath(this) { @@ -698,7 +698,7 @@ impl IFeedEnclosure_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DownloadUrl, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enclosureurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DownloadUrl, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enclosureurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedEnclosure_Impl::DownloadUrl(this) { @@ -709,7 +709,7 @@ impl IFeedEnclosure_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DownloadMimeType, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mimetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DownloadMimeType, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mimetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedEnclosure_Impl::DownloadMimeType(this) { @@ -725,7 +725,7 @@ impl IFeedEnclosure_Vtbl { let this = (*this).get_impl(); IFeedEnclosure_Impl::RemoveFile(this).into() } - unsafe extern "system" fn SetFile, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, downloadurl: std::mem::MaybeUninit, downloadfilepath: std::mem::MaybeUninit, downloadmimetype: std::mem::MaybeUninit, enclosurefilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFile, Impl: IFeedEnclosure_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, downloadurl: core::mem::MaybeUninit, downloadfilepath: core::mem::MaybeUninit, downloadmimetype: core::mem::MaybeUninit, enclosurefilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedEnclosure_Impl::SetFile(this, core::mem::transmute(&downloadurl), core::mem::transmute(&downloadfilepath), core::mem::transmute(&downloadmimetype), core::mem::transmute(&enclosurefilename)).into() @@ -772,37 +772,37 @@ impl IFeedEvents_Vtbl { let this = (*this).get_impl(); IFeedEvents_Impl::Error(this).into() } - unsafe extern "system" fn FeedDeleted, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedDeleted, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedEvents_Impl::FeedDeleted(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn FeedRenamed, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, oldpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedRenamed, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, oldpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedEvents_Impl::FeedRenamed(this, core::mem::transmute(&path), core::mem::transmute(&oldpath)).into() } - unsafe extern "system" fn FeedUrlChanged, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedUrlChanged, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedEvents_Impl::FeedUrlChanged(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn FeedMoved, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, oldpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedMoved, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, oldpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedEvents_Impl::FeedMoved(this, core::mem::transmute(&path), core::mem::transmute(&oldpath)).into() } - unsafe extern "system" fn FeedDownloading, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedDownloading, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedEvents_Impl::FeedDownloading(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn FeedDownloadCompleted, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, error: FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT { + unsafe extern "system" fn FeedDownloadCompleted, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, error: FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedEvents_Impl::FeedDownloadCompleted(this, core::mem::transmute(&path), core::mem::transmute_copy(&error)).into() } - unsafe extern "system" fn FeedItemCountChanged, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, itemcounttype: i32) -> windows_core::HRESULT { + unsafe extern "system" fn FeedItemCountChanged, Impl: IFeedEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, itemcounttype: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedEvents_Impl::FeedItemCountChanged(this, core::mem::transmute(&path), core::mem::transmute_copy(&itemcounttype)).into() @@ -871,7 +871,7 @@ impl IFeedFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateFeed, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedname: std::mem::MaybeUninit, feedurl: std::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFeed, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedname: core::mem::MaybeUninit, feedurl: core::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedFolder_Impl::CreateFeed(this, core::mem::transmute(&feedname), core::mem::transmute(&feedurl)) { @@ -882,7 +882,7 @@ impl IFeedFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateSubfolder, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: std::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateSubfolder, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: core::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedFolder_Impl::CreateSubfolder(this, core::mem::transmute(&foldername)) { @@ -893,7 +893,7 @@ impl IFeedFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExistsFeed, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedname: std::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn ExistsFeed, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedname: core::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedFolder_Impl::ExistsFeed(this, core::mem::transmute(&feedname)) { @@ -904,7 +904,7 @@ impl IFeedFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFeed, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedname: std::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFeed, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedname: core::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedFolder_Impl::GetFeed(this, core::mem::transmute(&feedname)) { @@ -915,7 +915,7 @@ impl IFeedFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExistsSubfolder, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: std::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn ExistsSubfolder, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: core::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedFolder_Impl::ExistsSubfolder(this, core::mem::transmute(&foldername)) { @@ -926,7 +926,7 @@ impl IFeedFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSubfolder, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: std::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetSubfolder, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: core::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedFolder_Impl::GetSubfolder(this, core::mem::transmute(&foldername)) { @@ -942,7 +942,7 @@ impl IFeedFolder_Vtbl { let this = (*this).get_impl(); IFeedFolder_Impl::Delete(this).into() } - unsafe extern "system" fn Name, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedFolder_Impl::Name(this) { @@ -953,12 +953,12 @@ impl IFeedFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Rename, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Rename, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, foldername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolder_Impl::Rename(this, core::mem::transmute(&foldername)).into() } - unsafe extern "system" fn Path, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folderpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folderpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedFolder_Impl::Path(this) { @@ -969,7 +969,7 @@ impl IFeedFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Move, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newparentpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Move, Impl: IFeedFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newparentpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolder_Impl::Move(this, core::mem::transmute(&newparentpath)).into() @@ -1084,77 +1084,77 @@ impl IFeedFolderEvents_Vtbl { let this = (*this).get_impl(); IFeedFolderEvents_Impl::Error(this).into() } - unsafe extern "system" fn FolderAdded, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FolderAdded, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FolderAdded(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn FolderDeleted, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FolderDeleted, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FolderDeleted(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn FolderRenamed, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, oldpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FolderRenamed, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, oldpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FolderRenamed(this, core::mem::transmute(&path), core::mem::transmute(&oldpath)).into() } - unsafe extern "system" fn FolderMovedFrom, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, oldpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FolderMovedFrom, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, oldpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FolderMovedFrom(this, core::mem::transmute(&path), core::mem::transmute(&oldpath)).into() } - unsafe extern "system" fn FolderMovedTo, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, oldpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FolderMovedTo, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, oldpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FolderMovedTo(this, core::mem::transmute(&path), core::mem::transmute(&oldpath)).into() } - unsafe extern "system" fn FolderItemCountChanged, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, itemcounttype: i32) -> windows_core::HRESULT { + unsafe extern "system" fn FolderItemCountChanged, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, itemcounttype: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FolderItemCountChanged(this, core::mem::transmute(&path), core::mem::transmute_copy(&itemcounttype)).into() } - unsafe extern "system" fn FeedAdded, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedAdded, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FeedAdded(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn FeedDeleted, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedDeleted, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FeedDeleted(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn FeedRenamed, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, oldpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedRenamed, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, oldpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FeedRenamed(this, core::mem::transmute(&path), core::mem::transmute(&oldpath)).into() } - unsafe extern "system" fn FeedUrlChanged, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedUrlChanged, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FeedUrlChanged(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn FeedMovedFrom, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, oldpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedMovedFrom, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, oldpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FeedMovedFrom(this, core::mem::transmute(&path), core::mem::transmute(&oldpath)).into() } - unsafe extern "system" fn FeedMovedTo, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, oldpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedMovedTo, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, oldpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FeedMovedTo(this, core::mem::transmute(&path), core::mem::transmute(&oldpath)).into() } - unsafe extern "system" fn FeedDownloading, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FeedDownloading, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FeedDownloading(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn FeedDownloadCompleted, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, error: FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT { + unsafe extern "system" fn FeedDownloadCompleted, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, error: FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FeedDownloadCompleted(this, core::mem::transmute(&path), core::mem::transmute_copy(&error)).into() } - unsafe extern "system" fn FeedItemCountChanged, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, itemcounttype: i32) -> windows_core::HRESULT { + unsafe extern "system" fn FeedItemCountChanged, Impl: IFeedFolderEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, itemcounttype: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedFolderEvents_Impl::FeedItemCountChanged(this, core::mem::transmute(&path), core::mem::transmute_copy(&itemcounttype)).into() @@ -1208,7 +1208,7 @@ impl windows_core::RuntimeName for IFeedItem {} #[cfg(feature = "Win32_System_Com")] impl IFeedItem_Vtbl { pub const fn new, Impl: IFeedItem_Impl, const OFFSET: isize>() -> IFeedItem_Vtbl { - unsafe extern "system" fn Xml, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, includeflags: FEEDS_XML_INCLUDE_FLAGS, xml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Xml, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, includeflags: FEEDS_XML_INCLUDE_FLAGS, xml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedItem_Impl::Xml(this, core::mem::transmute_copy(&includeflags)) { @@ -1219,7 +1219,7 @@ impl IFeedItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Title, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, title: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, title: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedItem_Impl::Title(this) { @@ -1230,7 +1230,7 @@ impl IFeedItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Link, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, linkurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Link, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, linkurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedItem_Impl::Link(this) { @@ -1241,7 +1241,7 @@ impl IFeedItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Guid, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemguid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Guid, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemguid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedItem_Impl::Guid(this) { @@ -1252,7 +1252,7 @@ impl IFeedItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedItem_Impl::Description(this) { @@ -1274,7 +1274,7 @@ impl IFeedItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Comments, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, comments: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Comments, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, comments: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedItem_Impl::Comments(this) { @@ -1285,7 +1285,7 @@ impl IFeedItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Author, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, author: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Author, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, author: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedItem_Impl::Author(this) { @@ -1350,7 +1350,7 @@ impl IFeedItem_Vtbl { let this = (*this).get_impl(); IFeedItem_Impl::Delete(this).into() } - unsafe extern "system" fn DownloadUrl, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DownloadUrl, Impl: IFeedItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedItem_Impl::DownloadUrl(this) { @@ -1524,7 +1524,7 @@ impl IFeedsManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsSubscribed, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: std::mem::MaybeUninit, subscribed: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsSubscribed, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: core::mem::MaybeUninit, subscribed: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedsManager_Impl::IsSubscribed(this, core::mem::transmute(&feedurl)) { @@ -1535,7 +1535,7 @@ impl IFeedsManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExistsFeed, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedpath: std::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn ExistsFeed, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedpath: core::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedsManager_Impl::ExistsFeed(this, core::mem::transmute(&feedpath)) { @@ -1546,7 +1546,7 @@ impl IFeedsManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFeed, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedpath: std::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFeed, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedpath: core::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedsManager_Impl::GetFeed(this, core::mem::transmute(&feedpath)) { @@ -1557,7 +1557,7 @@ impl IFeedsManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFeedByUrl, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: std::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFeedByUrl, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedurl: core::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedsManager_Impl::GetFeedByUrl(this, core::mem::transmute(&feedurl)) { @@ -1568,7 +1568,7 @@ impl IFeedsManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExistsFolder, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folderpath: std::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn ExistsFolder, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folderpath: core::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedsManager_Impl::ExistsFolder(this, core::mem::transmute(&folderpath)) { @@ -1579,7 +1579,7 @@ impl IFeedsManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFolder, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folderpath: std::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFolder, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folderpath: core::mem::MaybeUninit, disp: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedsManager_Impl::GetFolder(this, core::mem::transmute(&folderpath)) { @@ -1590,12 +1590,12 @@ impl IFeedsManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteFeed, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteFeed, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedsManager_Impl::DeleteFeed(this, core::mem::transmute(&feedpath)).into() } - unsafe extern "system" fn DeleteFolder, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folderpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteFolder, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folderpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFeedsManager_Impl::DeleteFolder(this, core::mem::transmute(&folderpath)).into() @@ -1637,7 +1637,7 @@ impl IFeedsManager_Vtbl { let this = (*this).get_impl(); IFeedsManager_Impl::AsyncSyncAll(this).into() } - unsafe extern "system" fn Normalize, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedxmlin: std::mem::MaybeUninit, feedxmlout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Normalize, Impl: IFeedsManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedxmlin: core::mem::MaybeUninit, feedxmlout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFeedsManager_Impl::Normalize(this, core::mem::transmute(&feedxmlin)) { @@ -1690,12 +1690,12 @@ pub trait IWMPAudioRenderConfig_Impl: Sized { impl windows_core::RuntimeName for IWMPAudioRenderConfig {} impl IWMPAudioRenderConfig_Vtbl { pub const fn new, Impl: IWMPAudioRenderConfig_Impl, const OFFSET: isize>() -> IWMPAudioRenderConfig_Vtbl { - unsafe extern "system" fn audioOutputDevice, Impl: IWMPAudioRenderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstroutputdevice: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn audioOutputDevice, Impl: IWMPAudioRenderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstroutputdevice: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPAudioRenderConfig_Impl::audioOutputDevice(this, core::mem::transmute_copy(&pbstroutputdevice)).into() } - unsafe extern "system" fn SetaudioOutputDevice, Impl: IWMPAudioRenderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroutputdevice: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetaudioOutputDevice, Impl: IWMPAudioRenderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroutputdevice: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPAudioRenderConfig_Impl::SetaudioOutputDevice(this, core::mem::transmute(&bstroutputdevice)).into() @@ -1721,7 +1721,7 @@ impl windows_core::RuntimeName for IWMPCdrom {} #[cfg(feature = "Win32_System_Com")] impl IWMPCdrom_Vtbl { pub const fn new, Impl: IWMPCdrom_Impl, const OFFSET: isize>() -> IWMPCdrom_Vtbl { - unsafe extern "system" fn driveSpecifier, Impl: IWMPCdrom_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdrive: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn driveSpecifier, Impl: IWMPCdrom_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdrive: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCdrom_Impl::driveSpecifier(this, core::mem::transmute_copy(&pbstrdrive)).into() @@ -1775,22 +1775,22 @@ impl windows_core::RuntimeName for IWMPCdromBurn {} #[cfg(feature = "Win32_System_Com")] impl IWMPCdromBurn_Vtbl { pub const fn new, Impl: IWMPCdromBurn_Impl, const OFFSET: isize>() -> IWMPCdromBurn_Vtbl { - unsafe extern "system" fn isAvailable, Impl: IWMPCdromBurn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: std::mem::MaybeUninit, pisavailable: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn isAvailable, Impl: IWMPCdromBurn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: core::mem::MaybeUninit, pisavailable: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCdromBurn_Impl::isAvailable(this, core::mem::transmute(&bstritem), core::mem::transmute_copy(&pisavailable)).into() } - unsafe extern "system" fn getItemInfo, Impl: IWMPCdromBurn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: std::mem::MaybeUninit, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfo, Impl: IWMPCdromBurn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: core::mem::MaybeUninit, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCdromBurn_Impl::getItemInfo(this, core::mem::transmute(&bstritem), core::mem::transmute_copy(&pbstrval)).into() } - unsafe extern "system" fn label, Impl: IWMPCdromBurn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn label, Impl: IWMPCdromBurn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCdromBurn_Impl::label(this, core::mem::transmute_copy(&pbstrlabel)).into() } - unsafe extern "system" fn Setlabel, Impl: IWMPCdromBurn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setlabel, Impl: IWMPCdromBurn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCdromBurn_Impl::Setlabel(this, core::mem::transmute(&bstrlabel)).into() @@ -1900,7 +1900,7 @@ impl IWMPCdromCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getByDriveSpecifier, Impl: IWMPCdromCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdrivespecifier: std::mem::MaybeUninit, ppcdrom: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getByDriveSpecifier, Impl: IWMPCdromCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdrivespecifier: core::mem::MaybeUninit, ppcdrom: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPCdromCollection_Impl::getByDriveSpecifier(this, core::mem::transmute(&bstrdrivespecifier)) { @@ -1979,42 +1979,42 @@ impl windows_core::RuntimeName for IWMPClosedCaption {} #[cfg(feature = "Win32_System_Com")] impl IWMPClosedCaption_Vtbl { pub const fn new, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>() -> IWMPClosedCaption_Vtbl { - unsafe extern "system" fn SAMIStyle, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsamistyle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SAMIStyle, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsamistyle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption_Impl::SAMIStyle(this, core::mem::transmute_copy(&pbstrsamistyle)).into() } - unsafe extern "system" fn SetSAMIStyle, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsamistyle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSAMIStyle, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsamistyle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption_Impl::SetSAMIStyle(this, core::mem::transmute(&bstrsamistyle)).into() } - unsafe extern "system" fn SAMILang, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsamilang: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SAMILang, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsamilang: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption_Impl::SAMILang(this, core::mem::transmute_copy(&pbstrsamilang)).into() } - unsafe extern "system" fn SetSAMILang, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsamilang: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSAMILang, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsamilang: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption_Impl::SetSAMILang(this, core::mem::transmute(&bstrsamilang)).into() } - unsafe extern "system" fn SAMIFileName, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsamifilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SAMIFileName, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsamifilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption_Impl::SAMIFileName(this, core::mem::transmute_copy(&pbstrsamifilename)).into() } - unsafe extern "system" fn SetSAMIFileName, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsamifilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSAMIFileName, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsamifilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption_Impl::SetSAMIFileName(this, core::mem::transmute(&bstrsamifilename)).into() } - unsafe extern "system" fn captioningId, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcaptioningid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn captioningId, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcaptioningid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption_Impl::captioningId(this, core::mem::transmute_copy(&pbstrcaptioningid)).into() } - unsafe extern "system" fn SetcaptioningId, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaptioningid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetcaptioningId, Impl: IWMPClosedCaption_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaptioningid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption_Impl::SetcaptioningId(this, core::mem::transmute(&bstrcaptioningid)).into() @@ -2053,7 +2053,7 @@ impl IWMPClosedCaption2_Vtbl { let this = (*this).get_impl(); IWMPClosedCaption2_Impl::SAMILangCount(this, core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn getSAMILangName, Impl: IWMPClosedCaption2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getSAMILangName, Impl: IWMPClosedCaption2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption2_Impl::getSAMILangName(this, core::mem::transmute_copy(&nindex), core::mem::transmute_copy(&pbstrname)).into() @@ -2068,7 +2068,7 @@ impl IWMPClosedCaption2_Vtbl { let this = (*this).get_impl(); IWMPClosedCaption2_Impl::SAMIStyleCount(this, core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn getSAMIStyleName, Impl: IWMPClosedCaption2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getSAMIStyleName, Impl: IWMPClosedCaption2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: i32, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPClosedCaption2_Impl::getSAMIStyleName(this, core::mem::transmute_copy(&nindex), core::mem::transmute_copy(&pbstrname)).into() @@ -2108,7 +2108,7 @@ impl IWMPContentContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPrice, Impl: IWMPContentContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprice: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPrice, Impl: IWMPContentContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprice: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPContentContainer_Impl::GetPrice(this) { @@ -2119,7 +2119,7 @@ impl IWMPContentContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetType, Impl: IWMPContentContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetType, Impl: IWMPContentContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPContentContainer_Impl::GetType(this) { @@ -2141,7 +2141,7 @@ impl IWMPContentContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetContentPrice, Impl: IWMPContentContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idxcontent: u32, pbstrprice: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetContentPrice, Impl: IWMPContentContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idxcontent: u32, pbstrprice: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPContentContainer_Impl::GetContentPrice(this, core::mem::transmute_copy(&idxcontent)) { @@ -2265,12 +2265,12 @@ impl IWMPContentPartner_Vtbl { let this = (*this).get_impl(); IWMPContentPartner_Impl::SetCallback(this, windows_core::from_raw_borrowed(&pcallback)).into() } - unsafe extern "system" fn Notify, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: WMPPartnerNotification, pcontext: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Notify, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: WMPPartnerNotification, pcontext: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::Notify(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&pcontext)).into() } - unsafe extern "system" fn GetItemInfo, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinfoname: std::mem::MaybeUninit, pcontext: *const std::mem::MaybeUninit, pdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemInfo, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinfoname: core::mem::MaybeUninit, pcontext: *const core::mem::MaybeUninit, pdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPContentPartner_Impl::GetItemInfo(this, core::mem::transmute(&bstrinfoname), core::mem::transmute_copy(&pcontext)) { @@ -2281,7 +2281,7 @@ impl IWMPContentPartner_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetContentPartnerInfo, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinfoname: std::mem::MaybeUninit, pdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetContentPartnerInfo, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinfoname: core::mem::MaybeUninit, pdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPContentPartner_Impl::GetContentPartnerInfo(this, core::mem::transmute(&bstrinfoname)) { @@ -2292,17 +2292,17 @@ impl IWMPContentPartner_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCommands, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, location: std::mem::MaybeUninit, plocationcontext: *const std::mem::MaybeUninit, itemlocation: std::mem::MaybeUninit, citemids: u32, prgitemids: *const u32, pcitemids: *mut u32, pprgitems: *mut *mut WMPContextMenuInfo) -> windows_core::HRESULT { + unsafe extern "system" fn GetCommands, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, location: core::mem::MaybeUninit, plocationcontext: *const core::mem::MaybeUninit, itemlocation: core::mem::MaybeUninit, citemids: u32, prgitemids: *const u32, pcitemids: *mut u32, pprgitems: *mut *mut WMPContextMenuInfo) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::GetCommands(this, core::mem::transmute(&location), core::mem::transmute_copy(&plocationcontext), core::mem::transmute(&itemlocation), core::mem::transmute_copy(&citemids), core::mem::transmute_copy(&prgitemids), core::mem::transmute_copy(&pcitemids), core::mem::transmute_copy(&pprgitems)).into() } - unsafe extern "system" fn InvokeCommand, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwcommandid: u32, location: std::mem::MaybeUninit, plocationcontext: *const std::mem::MaybeUninit, itemlocation: std::mem::MaybeUninit, citemids: u32, rgitemids: *const u32) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeCommand, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwcommandid: u32, location: core::mem::MaybeUninit, plocationcontext: *const core::mem::MaybeUninit, itemlocation: core::mem::MaybeUninit, citemids: u32, rgitemids: *const u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::InvokeCommand(this, core::mem::transmute_copy(&dwcommandid), core::mem::transmute(&location), core::mem::transmute_copy(&plocationcontext), core::mem::transmute(&itemlocation), core::mem::transmute_copy(&citemids), core::mem::transmute_copy(&rgitemids)).into() } - unsafe extern "system" fn CanBuySilent, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinfo: *mut core::ffi::c_void, pbstrtotalprice: *mut std::mem::MaybeUninit, psilentok: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn CanBuySilent, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinfo: *mut core::ffi::c_void, pbstrtotalprice: *mut core::mem::MaybeUninit, psilentok: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::CanBuySilent(this, windows_core::from_raw_borrowed(&pinfo), core::mem::transmute_copy(&pbstrtotalprice), core::mem::transmute_copy(&psilentok)).into() @@ -2312,7 +2312,7 @@ impl IWMPContentPartner_Vtbl { let this = (*this).get_impl(); IWMPContentPartner_Impl::Buy(this, windows_core::from_raw_borrowed(&pinfo), core::mem::transmute_copy(&cookie)).into() } - unsafe extern "system" fn GetStreamingURL, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, st: WMPStreamingType, pstreamcontext: *const std::mem::MaybeUninit, pbstrurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStreamingURL, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, st: WMPStreamingType, pstreamcontext: *const core::mem::MaybeUninit, pbstrurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPContentPartner_Impl::GetStreamingURL(this, core::mem::transmute_copy(&st), core::mem::transmute_copy(&pstreamcontext)) { @@ -2328,32 +2328,32 @@ impl IWMPContentPartner_Vtbl { let this = (*this).get_impl(); IWMPContentPartner_Impl::Download(this, windows_core::from_raw_borrowed(&pinfo), core::mem::transmute_copy(&cookie)).into() } - unsafe extern "system" fn DownloadTrackComplete, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrresult: windows_core::HRESULT, contentid: u32, downloadtrackparam: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DownloadTrackComplete, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrresult: windows_core::HRESULT, contentid: u32, downloadtrackparam: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::DownloadTrackComplete(this, core::mem::transmute_copy(&hrresult), core::mem::transmute_copy(&contentid), core::mem::transmute(&downloadtrackparam)).into() } - unsafe extern "system" fn RefreshLicense, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwcookie: u32, flocal: super::super::Foundation::VARIANT_BOOL, bstrurl: std::mem::MaybeUninit, r#type: WMPStreamingType, contentid: u32, bstrrefreshreason: std::mem::MaybeUninit, preasoncontext: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RefreshLicense, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwcookie: u32, flocal: super::super::Foundation::VARIANT_BOOL, bstrurl: core::mem::MaybeUninit, r#type: WMPStreamingType, contentid: u32, bstrrefreshreason: core::mem::MaybeUninit, preasoncontext: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::RefreshLicense(this, core::mem::transmute_copy(&dwcookie), core::mem::transmute_copy(&flocal), core::mem::transmute(&bstrurl), core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&contentid), core::mem::transmute(&bstrrefreshreason), core::mem::transmute_copy(&preasoncontext)).into() } - unsafe extern "system" fn GetCatalogURL, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwcatalogversion: u32, dwcatalogschemaversion: u32, cataloglcid: u32, pdwnewcatalogversion: *mut u32, pbstrcatalogurl: *mut std::mem::MaybeUninit, pexpirationdate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCatalogURL, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwcatalogversion: u32, dwcatalogschemaversion: u32, cataloglcid: u32, pdwnewcatalogversion: *mut u32, pbstrcatalogurl: *mut core::mem::MaybeUninit, pexpirationdate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::GetCatalogURL(this, core::mem::transmute_copy(&dwcatalogversion), core::mem::transmute_copy(&dwcatalogschemaversion), core::mem::transmute_copy(&cataloglcid), core::mem::transmute_copy(&pdwnewcatalogversion), core::mem::transmute_copy(&pbstrcatalogurl), core::mem::transmute_copy(&pexpirationdate)).into() } - unsafe extern "system" fn GetTemplate, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: WMPTaskType, location: std::mem::MaybeUninit, pcontext: *const std::mem::MaybeUninit, clicklocation: std::mem::MaybeUninit, pclickcontext: *const std::mem::MaybeUninit, bstrfilter: std::mem::MaybeUninit, bstrviewparams: std::mem::MaybeUninit, pbstrtemplateurl: *mut std::mem::MaybeUninit, ptemplatesize: *mut WMPTemplateSize) -> windows_core::HRESULT { + unsafe extern "system" fn GetTemplate, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: WMPTaskType, location: core::mem::MaybeUninit, pcontext: *const core::mem::MaybeUninit, clicklocation: core::mem::MaybeUninit, pclickcontext: *const core::mem::MaybeUninit, bstrfilter: core::mem::MaybeUninit, bstrviewparams: core::mem::MaybeUninit, pbstrtemplateurl: *mut core::mem::MaybeUninit, ptemplatesize: *mut WMPTemplateSize) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::GetTemplate(this, core::mem::transmute_copy(&task), core::mem::transmute(&location), core::mem::transmute_copy(&pcontext), core::mem::transmute(&clicklocation), core::mem::transmute_copy(&pclickcontext), core::mem::transmute(&bstrfilter), core::mem::transmute(&bstrviewparams), core::mem::transmute_copy(&pbstrtemplateurl), core::mem::transmute_copy(&ptemplatesize)).into() } - unsafe extern "system" fn UpdateDevice, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateDevice, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::UpdateDevice(this, core::mem::transmute(&bstrdevicename)).into() } - unsafe extern "system" fn GetListContents, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, location: std::mem::MaybeUninit, pcontext: *const std::mem::MaybeUninit, bstrlisttype: std::mem::MaybeUninit, bstrparams: std::mem::MaybeUninit, dwlistcookie: u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetListContents, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, location: core::mem::MaybeUninit, pcontext: *const core::mem::MaybeUninit, bstrlisttype: core::mem::MaybeUninit, bstrparams: core::mem::MaybeUninit, dwlistcookie: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::GetListContents(this, core::mem::transmute(&location), core::mem::transmute_copy(&pcontext), core::mem::transmute(&bstrlisttype), core::mem::transmute(&bstrparams), core::mem::transmute_copy(&dwlistcookie)).into() @@ -2373,12 +2373,12 @@ impl IWMPContentPartner_Vtbl { let this = (*this).get_impl(); IWMPContentPartner_Impl::Logout(this).into() } - unsafe extern "system" fn SendMessage, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmsg: std::mem::MaybeUninit, bstrparam: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SendMessage, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmsg: core::mem::MaybeUninit, bstrparam: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::SendMessage(this, core::mem::transmute(&bstrmsg), core::mem::transmute(&bstrparam)).into() } - unsafe extern "system" fn StationEvent, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstationeventtype: std::mem::MaybeUninit, stationid: u32, playlistindex: u32, trackid: u32, trackdata: std::mem::MaybeUninit, dwsecondsplayed: u32) -> windows_core::HRESULT { + unsafe extern "system" fn StationEvent, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstationeventtype: core::mem::MaybeUninit, stationid: u32, playlistindex: u32, trackid: u32, trackdata: core::mem::MaybeUninit, dwsecondsplayed: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::StationEvent(this, core::mem::transmute(&bstrstationeventtype), core::mem::transmute_copy(&stationid), core::mem::transmute_copy(&playlistindex), core::mem::transmute_copy(&trackid), core::mem::transmute(&trackdata), core::mem::transmute_copy(&dwsecondsplayed)).into() @@ -2394,7 +2394,7 @@ impl IWMPContentPartner_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VerifyPermission, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpermission: std::mem::MaybeUninit, pcontext: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VerifyPermission, Impl: IWMPContentPartner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpermission: core::mem::MaybeUninit, pcontext: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartner_Impl::VerifyPermission(this, core::mem::transmute(&bstrpermission), core::mem::transmute_copy(&pcontext)).into() @@ -2448,7 +2448,7 @@ pub trait IWMPContentPartnerCallback_Impl: Sized { impl windows_core::RuntimeName for IWMPContentPartnerCallback {} impl IWMPContentPartnerCallback_Vtbl { pub const fn new, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>() -> IWMPContentPartnerCallback_Vtbl { - unsafe extern "system" fn Notify, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: WMPCallbackNotification, pcontext: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Notify, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: WMPCallbackNotification, pcontext: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::Notify(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&pcontext)).into() @@ -2458,7 +2458,7 @@ impl IWMPContentPartnerCallback_Vtbl { let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::BuyComplete(this, core::mem::transmute_copy(&hrresult), core::mem::transmute_copy(&dwbuycookie)).into() } - unsafe extern "system" fn DownloadTrack, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cookie: u32, bstrtrackurl: std::mem::MaybeUninit, dwservicetrackid: u32, bstrdownloadparams: std::mem::MaybeUninit, hrdownload: windows_core::HRESULT) -> windows_core::HRESULT { + unsafe extern "system" fn DownloadTrack, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cookie: u32, bstrtrackurl: core::mem::MaybeUninit, dwservicetrackid: u32, bstrdownloadparams: core::mem::MaybeUninit, hrdownload: windows_core::HRESULT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::DownloadTrack(this, core::mem::transmute_copy(&cookie), core::mem::transmute(&bstrtrackurl), core::mem::transmute_copy(&dwservicetrackid), core::mem::transmute(&bstrdownloadparams), core::mem::transmute_copy(&hrdownload)).into() @@ -2468,12 +2468,12 @@ impl IWMPContentPartnerCallback_Vtbl { let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::GetCatalogVersion(this, core::mem::transmute_copy(&pdwversion), core::mem::transmute_copy(&pdwschemaversion), core::mem::transmute_copy(&plcid)).into() } - unsafe extern "system" fn UpdateDeviceComplete, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateDeviceComplete, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::UpdateDeviceComplete(this, core::mem::transmute(&bstrdevicename)).into() } - unsafe extern "system" fn ChangeView, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: std::mem::MaybeUninit, bstrid: std::mem::MaybeUninit, bstrfilter: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChangeView, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: core::mem::MaybeUninit, bstrid: core::mem::MaybeUninit, bstrfilter: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::ChangeView(this, core::mem::transmute(&bstrtype), core::mem::transmute(&bstrid), core::mem::transmute(&bstrfilter)).into() @@ -2488,7 +2488,7 @@ impl IWMPContentPartnerCallback_Vtbl { let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::ListContentsComplete(this, core::mem::transmute_copy(&dwlistcookie), core::mem::transmute_copy(&hrsuccess)).into() } - unsafe extern "system" fn SendMessageComplete, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmsg: std::mem::MaybeUninit, bstrparam: std::mem::MaybeUninit, bstrresult: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SendMessageComplete, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmsg: core::mem::MaybeUninit, bstrparam: core::mem::MaybeUninit, bstrresult: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::SendMessageComplete(this, core::mem::transmute(&bstrmsg), core::mem::transmute(&bstrparam), core::mem::transmute(&bstrresult)).into() @@ -2503,12 +2503,12 @@ impl IWMPContentPartnerCallback_Vtbl { let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::RefreshLicenseComplete(this, core::mem::transmute_copy(&dwcookie), core::mem::transmute_copy(&contentid), core::mem::transmute_copy(&hrrefresh)).into() } - unsafe extern "system" fn ShowPopup, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, bstrparameters: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShowPopup, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, bstrparameters: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::ShowPopup(this, core::mem::transmute_copy(&lindex), core::mem::transmute(&bstrparameters)).into() } - unsafe extern "system" fn VerifyPermissionComplete, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpermission: std::mem::MaybeUninit, pcontext: *const std::mem::MaybeUninit, hrpermission: windows_core::HRESULT) -> windows_core::HRESULT { + unsafe extern "system" fn VerifyPermissionComplete, Impl: IWMPContentPartnerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpermission: core::mem::MaybeUninit, pcontext: *const core::mem::MaybeUninit, hrpermission: windows_core::HRESULT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPContentPartnerCallback_Impl::VerifyPermissionComplete(this, core::mem::transmute(&bstrpermission), core::mem::transmute_copy(&pcontext), core::mem::transmute_copy(&hrpermission)).into() @@ -2558,7 +2558,7 @@ impl windows_core::RuntimeName for IWMPControls {} #[cfg(feature = "Win32_System_Com")] impl IWMPControls_Vtbl { pub const fn new, Impl: IWMPControls_Impl, const OFFSET: isize>() -> IWMPControls_Vtbl { - unsafe extern "system" fn get_isAvailable, Impl: IWMPControls_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: std::mem::MaybeUninit, pisavailable: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn get_isAvailable, Impl: IWMPControls_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: core::mem::MaybeUninit, pisavailable: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPControls_Impl::get_isAvailable(this, core::mem::transmute(&bstritem), core::mem::transmute_copy(&pisavailable)).into() @@ -2598,7 +2598,7 @@ impl IWMPControls_Vtbl { let this = (*this).get_impl(); IWMPControls_Impl::SetcurrentPosition(this, core::mem::transmute_copy(&dcurrentposition)).into() } - unsafe extern "system" fn currentPositionString, Impl: IWMPControls_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcurrentposition: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn currentPositionString, Impl: IWMPControls_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcurrentposition: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPControls_Impl::currentPositionString(this, core::mem::transmute_copy(&pbstrcurrentposition)).into() @@ -2716,7 +2716,7 @@ impl IWMPControls3_Vtbl { let this = (*this).get_impl(); IWMPControls3_Impl::getAudioLanguageID(this, core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&pllangid)).into() } - unsafe extern "system" fn getAudioLanguageDescription, Impl: IWMPControls3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstrlangdesc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getAudioLanguageDescription, Impl: IWMPControls3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstrlangdesc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPControls3_Impl::getAudioLanguageDescription(this, core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&pbstrlangdesc)).into() @@ -2741,17 +2741,17 @@ impl IWMPControls3_Vtbl { let this = (*this).get_impl(); IWMPControls3_Impl::SetcurrentAudioLanguageIndex(this, core::mem::transmute_copy(&lindex)).into() } - unsafe extern "system" fn getLanguageName, Impl: IWMPControls3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, llangid: i32, pbstrlangname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getLanguageName, Impl: IWMPControls3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, llangid: i32, pbstrlangname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPControls3_Impl::getLanguageName(this, core::mem::transmute_copy(&llangid), core::mem::transmute_copy(&pbstrlangname)).into() } - unsafe extern "system" fn currentPositionTimecode, Impl: IWMPControls3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtimecode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn currentPositionTimecode, Impl: IWMPControls3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtimecode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPControls3_Impl::currentPositionTimecode(this, core::mem::transmute_copy(&bstrtimecode)).into() } - unsafe extern "system" fn SetcurrentPositionTimecode, Impl: IWMPControls3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtimecode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetcurrentPositionTimecode, Impl: IWMPControls3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtimecode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPControls3_Impl::SetcurrentPositionTimecode(this, core::mem::transmute(&bstrtimecode)).into() @@ -2781,12 +2781,12 @@ pub trait IWMPConvert_Impl: Sized { impl windows_core::RuntimeName for IWMPConvert {} impl IWMPConvert_Vtbl { pub const fn new, Impl: IWMPConvert_Impl, const OFFSET: isize>() -> IWMPConvert_Vtbl { - unsafe extern "system" fn ConvertFile, Impl: IWMPConvert_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinputfile: std::mem::MaybeUninit, bstrdestinationfolder: std::mem::MaybeUninit, pbstroutputfile: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConvertFile, Impl: IWMPConvert_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinputfile: core::mem::MaybeUninit, bstrdestinationfolder: core::mem::MaybeUninit, pbstroutputfile: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPConvert_Impl::ConvertFile(this, core::mem::transmute(&bstrinputfile), core::mem::transmute(&bstrdestinationfolder), core::mem::transmute_copy(&pbstroutputfile)).into() } - unsafe extern "system" fn GetErrorURL, Impl: IWMPConvert_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetErrorURL, Impl: IWMPConvert_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPConvert_Impl::GetErrorURL(this, core::mem::transmute_copy(&pbstrurl)).into() @@ -2835,12 +2835,12 @@ impl IWMPCore_Vtbl { let this = (*this).get_impl(); IWMPCore_Impl::close(this).into() } - unsafe extern "system" fn URL, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn URL, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCore_Impl::URL(this, core::mem::transmute_copy(&pbstrurl)).into() } - unsafe extern "system" fn SetURL, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetURL, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCore_Impl::SetURL(this, core::mem::transmute(&bstrurl)).into() @@ -2915,12 +2915,12 @@ impl IWMPCore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn versionInfo, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrversioninfo: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn versionInfo, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrversioninfo: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCore_Impl::versionInfo(this, core::mem::transmute_copy(&pbstrversioninfo)).into() } - unsafe extern "system" fn launchURL, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn launchURL, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCore_Impl::launchURL(this, core::mem::transmute(&bstrurl)).into() @@ -2990,7 +2990,7 @@ impl IWMPCore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn status, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatus: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn status, Impl: IWMPCore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatus: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPCore_Impl::status(this, core::mem::transmute_copy(&pbstrstatus)).into() @@ -3060,7 +3060,7 @@ impl windows_core::RuntimeName for IWMPCore3 {} #[cfg(feature = "Win32_System_Com")] impl IWMPCore3_Vtbl { pub const fn new, Impl: IWMPCore3_Impl, const OFFSET: isize>() -> IWMPCore3_Vtbl { - unsafe extern "system" fn newPlaylist, Impl: IWMPCore3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, ppplaylist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn newPlaylist, Impl: IWMPCore3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, ppplaylist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPCore3_Impl::newPlaylist(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrurl)) { @@ -3071,7 +3071,7 @@ impl IWMPCore3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn newMedia, Impl: IWMPCore3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, ppmedia: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn newMedia, Impl: IWMPCore3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, ppmedia: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPCore3_Impl::newMedia(this, core::mem::transmute(&bstrurl)) { @@ -3106,12 +3106,12 @@ impl windows_core::RuntimeName for IWMPDVD {} #[cfg(feature = "Win32_System_Com")] impl IWMPDVD_Vtbl { pub const fn new, Impl: IWMPDVD_Impl, const OFFSET: isize>() -> IWMPDVD_Vtbl { - unsafe extern "system" fn get_isAvailable, Impl: IWMPDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: std::mem::MaybeUninit, pisavailable: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn get_isAvailable, Impl: IWMPDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: core::mem::MaybeUninit, pisavailable: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPDVD_Impl::get_isAvailable(this, core::mem::transmute(&bstritem), core::mem::transmute_copy(&pisavailable)).into() } - unsafe extern "system" fn domain, Impl: IWMPDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdomain: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn domain, Impl: IWMPDVD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdomain: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPDVD_Impl::domain(this, core::mem::transmute_copy(&strdomain)).into() @@ -3185,7 +3185,7 @@ impl IWMPDownloadCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn startDownload, Impl: IWMPDownloadCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsourceurl: std::mem::MaybeUninit, bstrtype: std::mem::MaybeUninit, ppdownload: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn startDownload, Impl: IWMPDownloadCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsourceurl: core::mem::MaybeUninit, bstrtype: core::mem::MaybeUninit, ppdownload: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPDownloadCollection_Impl::startDownload(this, core::mem::transmute(&bstrsourceurl), core::mem::transmute(&bstrtype)) { @@ -3236,7 +3236,7 @@ impl windows_core::RuntimeName for IWMPDownloadItem {} #[cfg(feature = "Win32_System_Com")] impl IWMPDownloadItem_Vtbl { pub const fn new, Impl: IWMPDownloadItem_Impl, const OFFSET: isize>() -> IWMPDownloadItem_Vtbl { - unsafe extern "system" fn sourceURL, Impl: IWMPDownloadItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn sourceURL, Impl: IWMPDownloadItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPDownloadItem_Impl::sourceURL(this, core::mem::transmute_copy(&pbstrurl)).into() @@ -3246,7 +3246,7 @@ impl IWMPDownloadItem_Vtbl { let this = (*this).get_impl(); IWMPDownloadItem_Impl::size(this, core::mem::transmute_copy(&plsize)).into() } - unsafe extern "system" fn r#type, Impl: IWMPDownloadItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn r#type, Impl: IWMPDownloadItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPDownloadItem_Impl::r#type(this, core::mem::transmute_copy(&pbstrtype)).into() @@ -3301,7 +3301,7 @@ impl windows_core::RuntimeName for IWMPDownloadItem2 {} #[cfg(feature = "Win32_System_Com")] impl IWMPDownloadItem2_Vtbl { pub const fn new, Impl: IWMPDownloadItem2_Impl, const OFFSET: isize>() -> IWMPDownloadItem2_Vtbl { - unsafe extern "system" fn getItemInfo, Impl: IWMPDownloadItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfo, Impl: IWMPDownloadItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPDownloadItem2_Impl::getItemInfo(this, core::mem::transmute(&bstritemname), core::mem::transmute_copy(&pbstrval)).into() @@ -3378,7 +3378,7 @@ impl IWMPEffects_Vtbl { let this = (*this).get_impl(); IWMPEffects_Impl::Render(this, core::mem::transmute_copy(&plevels), core::mem::transmute_copy(&hdc), core::mem::transmute_copy(&prc)).into() } - unsafe extern "system" fn MediaInfo, Impl: IWMPEffects_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lchannelcount: i32, lsamplerate: i32, bstrtitle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MediaInfo, Impl: IWMPEffects_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lchannelcount: i32, lsamplerate: i32, bstrtitle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEffects_Impl::MediaInfo(this, core::mem::transmute_copy(&lchannelcount), core::mem::transmute_copy(&lsamplerate), core::mem::transmute(&bstrtitle)).into() @@ -3388,12 +3388,12 @@ impl IWMPEffects_Vtbl { let this = (*this).get_impl(); IWMPEffects_Impl::GetCapabilities(this, core::mem::transmute_copy(&pdwcapabilities)).into() } - unsafe extern "system" fn GetTitle, Impl: IWMPEffects_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTitle, Impl: IWMPEffects_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEffects_Impl::GetTitle(this, core::mem::transmute_copy(&bstrtitle)).into() } - unsafe extern "system" fn GetPresetTitle, Impl: IWMPEffects_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, npreset: i32, bstrpresettitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPresetTitle, Impl: IWMPEffects_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, npreset: i32, bstrpresettitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEffects_Impl::GetPresetTitle(this, core::mem::transmute_copy(&npreset), core::mem::transmute_copy(&bstrpresettitle)).into() @@ -3573,12 +3573,12 @@ impl IWMPErrorItem_Vtbl { let this = (*this).get_impl(); IWMPErrorItem_Impl::errorCode(this, core::mem::transmute_copy(&phr)).into() } - unsafe extern "system" fn errorDescription, Impl: IWMPErrorItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn errorDescription, Impl: IWMPErrorItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPErrorItem_Impl::errorDescription(this, core::mem::transmute_copy(&pbstrdescription)).into() } - unsafe extern "system" fn errorContext, Impl: IWMPErrorItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcontext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn errorContext, Impl: IWMPErrorItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcontext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPErrorItem_Impl::errorContext(this, core::mem::transmute_copy(&pvarcontext)).into() @@ -3588,7 +3588,7 @@ impl IWMPErrorItem_Vtbl { let this = (*this).get_impl(); IWMPErrorItem_Impl::remedy(this, core::mem::transmute_copy(&plremedy)).into() } - unsafe extern "system" fn customUrl, Impl: IWMPErrorItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcustomurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn customUrl, Impl: IWMPErrorItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcustomurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPErrorItem_Impl::customUrl(this, core::mem::transmute_copy(&pbstrcustomurl)).into() @@ -3699,7 +3699,7 @@ impl IWMPEvents_Vtbl { let this = (*this).get_impl(); IWMPEvents_Impl::StatusChange(this) } - unsafe extern "system" fn ScriptCommand, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sctype: std::mem::MaybeUninit, param: std::mem::MaybeUninit) { + unsafe extern "system" fn ScriptCommand, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sctype: core::mem::MaybeUninit, param: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::ScriptCommand(this, core::mem::transmute(&sctype), core::mem::transmute(¶m)) @@ -3724,7 +3724,7 @@ impl IWMPEvents_Vtbl { let this = (*this).get_impl(); IWMPEvents_Impl::Error(this) } - unsafe extern "system" fn Warning, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, warningtype: i32, param: i32, description: std::mem::MaybeUninit) { + unsafe extern "system" fn Warning, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, warningtype: i32, param: i32, description: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::Warning(this, core::mem::transmute_copy(&warningtype), core::mem::transmute_copy(¶m), core::mem::transmute(&description)) @@ -3764,7 +3764,7 @@ impl IWMPEvents_Vtbl { let this = (*this).get_impl(); IWMPEvents_Impl::CurrentPlaylistChange(this, core::mem::transmute_copy(&change)) } - unsafe extern "system" fn CurrentPlaylistItemAvailable, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit) { + unsafe extern "system" fn CurrentPlaylistItemAvailable, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::CurrentPlaylistItemAvailable(this, core::mem::transmute(&bstritemname)) @@ -3774,7 +3774,7 @@ impl IWMPEvents_Vtbl { let this = (*this).get_impl(); IWMPEvents_Impl::MediaChange(this, windows_core::from_raw_borrowed(&item)) } - unsafe extern "system" fn CurrentMediaItemAvailable, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit) { + unsafe extern "system" fn CurrentMediaItemAvailable, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::CurrentMediaItemAvailable(this, core::mem::transmute(&bstritemname)) @@ -3789,17 +3789,17 @@ impl IWMPEvents_Vtbl { let this = (*this).get_impl(); IWMPEvents_Impl::MediaCollectionChange(this) } - unsafe extern "system" fn MediaCollectionAttributeStringAdded, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribname: std::mem::MaybeUninit, bstrattribval: std::mem::MaybeUninit) { + unsafe extern "system" fn MediaCollectionAttributeStringAdded, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribname: core::mem::MaybeUninit, bstrattribval: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::MediaCollectionAttributeStringAdded(this, core::mem::transmute(&bstrattribname), core::mem::transmute(&bstrattribval)) } - unsafe extern "system" fn MediaCollectionAttributeStringRemoved, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribname: std::mem::MaybeUninit, bstrattribval: std::mem::MaybeUninit) { + unsafe extern "system" fn MediaCollectionAttributeStringRemoved, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribname: core::mem::MaybeUninit, bstrattribval: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::MediaCollectionAttributeStringRemoved(this, core::mem::transmute(&bstrattribname), core::mem::transmute(&bstrattribval)) } - unsafe extern "system" fn MediaCollectionAttributeStringChanged, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribname: std::mem::MaybeUninit, bstroldattribval: std::mem::MaybeUninit, bstrnewattribval: std::mem::MaybeUninit) { + unsafe extern "system" fn MediaCollectionAttributeStringChanged, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribname: core::mem::MaybeUninit, bstroldattribval: core::mem::MaybeUninit, bstrnewattribval: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::MediaCollectionAttributeStringChanged(this, core::mem::transmute(&bstrattribname), core::mem::transmute(&bstroldattribval), core::mem::transmute(&bstrnewattribval)) @@ -3809,22 +3809,22 @@ impl IWMPEvents_Vtbl { let this = (*this).get_impl(); IWMPEvents_Impl::PlaylistCollectionChange(this) } - unsafe extern "system" fn PlaylistCollectionPlaylistAdded, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrplaylistname: std::mem::MaybeUninit) { + unsafe extern "system" fn PlaylistCollectionPlaylistAdded, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrplaylistname: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::PlaylistCollectionPlaylistAdded(this, core::mem::transmute(&bstrplaylistname)) } - unsafe extern "system" fn PlaylistCollectionPlaylistRemoved, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrplaylistname: std::mem::MaybeUninit) { + unsafe extern "system" fn PlaylistCollectionPlaylistRemoved, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrplaylistname: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::PlaylistCollectionPlaylistRemoved(this, core::mem::transmute(&bstrplaylistname)) } - unsafe extern "system" fn PlaylistCollectionPlaylistSetAsDeleted, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrplaylistname: std::mem::MaybeUninit, varfisdeleted: super::super::Foundation::VARIANT_BOOL) { + unsafe extern "system" fn PlaylistCollectionPlaylistSetAsDeleted, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrplaylistname: core::mem::MaybeUninit, varfisdeleted: super::super::Foundation::VARIANT_BOOL) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::PlaylistCollectionPlaylistSetAsDeleted(this, core::mem::transmute(&bstrplaylistname), core::mem::transmute_copy(&varfisdeleted)) } - unsafe extern "system" fn ModeChange, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, modename: std::mem::MaybeUninit, newvalue: super::super::Foundation::VARIANT_BOOL) { + unsafe extern "system" fn ModeChange, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, modename: core::mem::MaybeUninit, newvalue: super::super::Foundation::VARIANT_BOOL) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::ModeChange(this, core::mem::transmute(&modename), core::mem::transmute_copy(&newvalue)) @@ -3839,7 +3839,7 @@ impl IWMPEvents_Vtbl { let this = (*this).get_impl(); IWMPEvents_Impl::OpenPlaylistSwitch(this, windows_core::from_raw_borrowed(&pitem)) } - unsafe extern "system" fn DomainChange, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdomain: std::mem::MaybeUninit) { + unsafe extern "system" fn DomainChange, Impl: IWMPEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdomain: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPEvents_Impl::DomainChange(this, core::mem::transmute(&strdomain)) @@ -4149,12 +4149,12 @@ impl IWMPFolderMonitorServices_Vtbl { let this = (*this).get_impl(); IWMPFolderMonitorServices_Impl::count(this, core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn item, Impl: IWMPFolderMonitorServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstrfolder: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn item, Impl: IWMPFolderMonitorServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstrfolder: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPFolderMonitorServices_Impl::item(this, core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&pbstrfolder)).into() } - unsafe extern "system" fn add, Impl: IWMPFolderMonitorServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfolder: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn add, Impl: IWMPFolderMonitorServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfolder: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPFolderMonitorServices_Impl::add(this, core::mem::transmute(&bstrfolder)).into() @@ -4169,7 +4169,7 @@ impl IWMPFolderMonitorServices_Vtbl { let this = (*this).get_impl(); IWMPFolderMonitorServices_Impl::scanState(this, core::mem::transmute_copy(&pwmpfss)).into() } - unsafe extern "system" fn currentFolder, Impl: IWMPFolderMonitorServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfolder: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn currentFolder, Impl: IWMPFolderMonitorServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfolder: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPFolderMonitorServices_Impl::currentFolder(this, core::mem::transmute_copy(&pbstrfolder)).into() @@ -4264,7 +4264,7 @@ impl windows_core::RuntimeName for IWMPLibrary {} #[cfg(feature = "Win32_System_Com")] impl IWMPLibrary_Vtbl { pub const fn new, Impl: IWMPLibrary_Impl, const OFFSET: isize>() -> IWMPLibrary_Vtbl { - unsafe extern "system" fn name, Impl: IWMPLibrary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn name, Impl: IWMPLibrary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPLibrary_Impl::name(this, core::mem::transmute_copy(&pbstrname)).into() @@ -4311,7 +4311,7 @@ impl windows_core::RuntimeName for IWMPLibrary2 {} #[cfg(feature = "Win32_System_Com")] impl IWMPLibrary2_Vtbl { pub const fn new, Impl: IWMPLibrary2_Impl, const OFFSET: isize>() -> IWMPLibrary2_Vtbl { - unsafe extern "system" fn getItemInfo, Impl: IWMPLibrary2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfo, Impl: IWMPLibrary2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPLibrary2_Impl::getItemInfo(this, core::mem::transmute(&bstritemname), core::mem::transmute_copy(&pbstrval)).into() @@ -4420,17 +4420,17 @@ impl IWMPMedia_Vtbl { let this = (*this).get_impl(); IWMPMedia_Impl::get_isIdentical(this, windows_core::from_raw_borrowed(&piwmpmedia), core::mem::transmute_copy(&pvbool)).into() } - unsafe extern "system" fn sourceURL, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsourceurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn sourceURL, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsourceurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::sourceURL(this, core::mem::transmute_copy(&pbstrsourceurl)).into() } - unsafe extern "system" fn name, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn name, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::name(this, core::mem::transmute_copy(&pbstrname)).into() } - unsafe extern "system" fn Setname, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setname, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::Setname(this, core::mem::transmute(&bstrname)).into() @@ -4455,7 +4455,7 @@ impl IWMPMedia_Vtbl { let this = (*this).get_impl(); IWMPMedia_Impl::getMarkerTime(this, core::mem::transmute_copy(&markernum), core::mem::transmute_copy(&pmarkertime)).into() } - unsafe extern "system" fn getMarkerName, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, markernum: i32, pbstrmarkername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getMarkerName, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, markernum: i32, pbstrmarkername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::getMarkerName(this, core::mem::transmute_copy(&markernum), core::mem::transmute_copy(&pbstrmarkername)).into() @@ -4465,7 +4465,7 @@ impl IWMPMedia_Vtbl { let this = (*this).get_impl(); IWMPMedia_Impl::duration(this, core::mem::transmute_copy(&pduration)).into() } - unsafe extern "system" fn durationString, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrduration: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn durationString, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrduration: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::durationString(this, core::mem::transmute_copy(&pbstrduration)).into() @@ -4475,22 +4475,22 @@ impl IWMPMedia_Vtbl { let this = (*this).get_impl(); IWMPMedia_Impl::attributeCount(this, core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn getAttributeName, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstritemname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getAttributeName, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstritemname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::getAttributeName(this, core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&pbstritemname)).into() } - unsafe extern "system" fn getItemInfo, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfo, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::getItemInfo(this, core::mem::transmute(&bstritemname), core::mem::transmute_copy(&pbstrval)).into() } - unsafe extern "system" fn setItemInfo, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setItemInfo, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::setItemInfo(this, core::mem::transmute(&bstritemname), core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn getItemInfoByAtom, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, latom: i32, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfoByAtom, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, latom: i32, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::getItemInfoByAtom(this, core::mem::transmute_copy(&latom), core::mem::transmute_copy(&pbstrval)).into() @@ -4500,7 +4500,7 @@ impl IWMPMedia_Vtbl { let this = (*this).get_impl(); IWMPMedia_Impl::isMemberOf(this, windows_core::from_raw_borrowed(&pplaylist), core::mem::transmute_copy(&pvarfismemberof)).into() } - unsafe extern "system" fn isReadOnlyItem, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit, pvarfisreadonly: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn isReadOnlyItem, Impl: IWMPMedia_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit, pvarfisreadonly: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia_Impl::isReadOnlyItem(this, core::mem::transmute(&bstritemname), core::mem::transmute_copy(&pvarfisreadonly)).into() @@ -4567,12 +4567,12 @@ impl windows_core::RuntimeName for IWMPMedia3 {} #[cfg(feature = "Win32_System_Com")] impl IWMPMedia3_Vtbl { pub const fn new, Impl: IWMPMedia3_Impl, const OFFSET: isize>() -> IWMPMedia3_Vtbl { - unsafe extern "system" fn getAttributeCountByType, Impl: IWMPMedia3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: std::mem::MaybeUninit, bstrlanguage: std::mem::MaybeUninit, plcount: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn getAttributeCountByType, Impl: IWMPMedia3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: core::mem::MaybeUninit, bstrlanguage: core::mem::MaybeUninit, plcount: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia3_Impl::getAttributeCountByType(this, core::mem::transmute(&bstrtype), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn getItemInfoByType, Impl: IWMPMedia3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: std::mem::MaybeUninit, bstrlanguage: std::mem::MaybeUninit, lindex: i32, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfoByType, Impl: IWMPMedia3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: core::mem::MaybeUninit, bstrlanguage: core::mem::MaybeUninit, lindex: i32, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMedia3_Impl::getItemInfoByType(this, core::mem::transmute(&bstrtype), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&pvarvalue)).into() @@ -4607,7 +4607,7 @@ impl windows_core::RuntimeName for IWMPMediaCollection {} #[cfg(feature = "Win32_System_Com")] impl IWMPMediaCollection_Vtbl { pub const fn new, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>() -> IWMPMediaCollection_Vtbl { - unsafe extern "system" fn add, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn add, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection_Impl::add(this, core::mem::transmute(&bstrurl)) { @@ -4629,7 +4629,7 @@ impl IWMPMediaCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getByName, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getByName, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByName(this, core::mem::transmute(&bstrname)) { @@ -4640,7 +4640,7 @@ impl IWMPMediaCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getByGenre, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgenre: std::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getByGenre, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgenre: core::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByGenre(this, core::mem::transmute(&bstrgenre)) { @@ -4651,7 +4651,7 @@ impl IWMPMediaCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getByAuthor, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthor: std::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getByAuthor, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthor: core::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByAuthor(this, core::mem::transmute(&bstrauthor)) { @@ -4662,7 +4662,7 @@ impl IWMPMediaCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getByAlbum, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstralbum: std::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getByAlbum, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstralbum: core::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByAlbum(this, core::mem::transmute(&bstralbum)) { @@ -4673,7 +4673,7 @@ impl IWMPMediaCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getByAttribute, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getByAttribute, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getByAttribute(this, core::mem::transmute(&bstrattribute), core::mem::transmute(&bstrvalue)) { @@ -4689,7 +4689,7 @@ impl IWMPMediaCollection_Vtbl { let this = (*this).get_impl(); IWMPMediaCollection_Impl::remove(this, windows_core::from_raw_borrowed(&pitem), core::mem::transmute_copy(&varfdeletefile)).into() } - unsafe extern "system" fn getAttributeStringCollection, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: std::mem::MaybeUninit, bstrmediatype: std::mem::MaybeUninit, ppstringcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getAttributeStringCollection, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: core::mem::MaybeUninit, bstrmediatype: core::mem::MaybeUninit, ppstringcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection_Impl::getAttributeStringCollection(this, core::mem::transmute(&bstrattribute), core::mem::transmute(&bstrmediatype)) { @@ -4700,7 +4700,7 @@ impl IWMPMediaCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getMediaAtom, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit, platom: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn getMediaAtom, Impl: IWMPMediaCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit, platom: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMediaCollection_Impl::getMediaAtom(this, core::mem::transmute(&bstritemname), core::mem::transmute_copy(&platom)).into() @@ -4758,7 +4758,7 @@ impl IWMPMediaCollection2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getPlaylistByQuery, Impl: IWMPMediaCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pquery: *mut core::ffi::c_void, bstrmediatype: std::mem::MaybeUninit, bstrsortattribute: std::mem::MaybeUninit, fsortascending: super::super::Foundation::VARIANT_BOOL, ppplaylist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getPlaylistByQuery, Impl: IWMPMediaCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pquery: *mut core::ffi::c_void, bstrmediatype: core::mem::MaybeUninit, bstrsortattribute: core::mem::MaybeUninit, fsortascending: super::super::Foundation::VARIANT_BOOL, ppplaylist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection2_Impl::getPlaylistByQuery(this, windows_core::from_raw_borrowed(&pquery), core::mem::transmute(&bstrmediatype), core::mem::transmute(&bstrsortattribute), core::mem::transmute_copy(&fsortascending)) { @@ -4769,7 +4769,7 @@ impl IWMPMediaCollection2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getStringCollectionByQuery, Impl: IWMPMediaCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: std::mem::MaybeUninit, pquery: *mut core::ffi::c_void, bstrmediatype: std::mem::MaybeUninit, bstrsortattribute: std::mem::MaybeUninit, fsortascending: super::super::Foundation::VARIANT_BOOL, ppstringcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getStringCollectionByQuery, Impl: IWMPMediaCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: core::mem::MaybeUninit, pquery: *mut core::ffi::c_void, bstrmediatype: core::mem::MaybeUninit, bstrsortattribute: core::mem::MaybeUninit, fsortascending: super::super::Foundation::VARIANT_BOOL, ppstringcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection2_Impl::getStringCollectionByQuery(this, core::mem::transmute(&bstrattribute), windows_core::from_raw_borrowed(&pquery), core::mem::transmute(&bstrmediatype), core::mem::transmute(&bstrsortattribute), core::mem::transmute_copy(&fsortascending)) { @@ -4780,7 +4780,7 @@ impl IWMPMediaCollection2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getByAttributeAndMediaType, Impl: IWMPMediaCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit, bstrmediatype: std::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getByAttributeAndMediaType, Impl: IWMPMediaCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit, bstrmediatype: core::mem::MaybeUninit, ppmediaitems: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPMediaCollection2_Impl::getByAttributeAndMediaType(this, core::mem::transmute(&bstrattribute), core::mem::transmute(&bstrvalue), core::mem::transmute(&bstrmediatype)) { @@ -4842,22 +4842,22 @@ impl windows_core::RuntimeName for IWMPMetadataPicture {} #[cfg(feature = "Win32_System_Com")] impl IWMPMetadataPicture_Vtbl { pub const fn new, Impl: IWMPMetadataPicture_Impl, const OFFSET: isize>() -> IWMPMetadataPicture_Vtbl { - unsafe extern "system" fn mimeType, Impl: IWMPMetadataPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmimetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn mimeType, Impl: IWMPMetadataPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmimetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMetadataPicture_Impl::mimeType(this, core::mem::transmute_copy(&pbstrmimetype)).into() } - unsafe extern "system" fn pictureType, Impl: IWMPMetadataPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpicturetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn pictureType, Impl: IWMPMetadataPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpicturetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMetadataPicture_Impl::pictureType(this, core::mem::transmute_copy(&pbstrpicturetype)).into() } - unsafe extern "system" fn description, Impl: IWMPMetadataPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn description, Impl: IWMPMetadataPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMetadataPicture_Impl::description(this, core::mem::transmute_copy(&pbstrdescription)).into() } - unsafe extern "system" fn URL, Impl: IWMPMetadataPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn URL, Impl: IWMPMetadataPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMetadataPicture_Impl::URL(this, core::mem::transmute_copy(&pbstrurl)).into() @@ -4884,12 +4884,12 @@ impl windows_core::RuntimeName for IWMPMetadataText {} #[cfg(feature = "Win32_System_Com")] impl IWMPMetadataText_Vtbl { pub const fn new, Impl: IWMPMetadataText_Impl, const OFFSET: isize>() -> IWMPMetadataText_Vtbl { - unsafe extern "system" fn description, Impl: IWMPMetadataText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn description, Impl: IWMPMetadataText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMetadataText_Impl::description(this, core::mem::transmute_copy(&pbstrdescription)).into() } - unsafe extern "system" fn text, Impl: IWMPMetadataText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn text, Impl: IWMPMetadataText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPMetadataText_Impl::text(this, core::mem::transmute_copy(&pbstrtext)).into() @@ -4950,7 +4950,7 @@ impl IWMPNetwork_Vtbl { let this = (*this).get_impl(); IWMPNetwork_Impl::recoveredPackets(this, core::mem::transmute_copy(&plrecoveredpackets)).into() } - unsafe extern "system" fn sourceProtocol, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsourceprotocol: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn sourceProtocol, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsourceprotocol: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::sourceProtocol(this, core::mem::transmute_copy(&pbstrsourceprotocol)).into() @@ -5005,52 +5005,52 @@ impl IWMPNetwork_Vtbl { let this = (*this).get_impl(); IWMPNetwork_Impl::bitRate(this, core::mem::transmute_copy(&plbitrate)).into() } - unsafe extern "system" fn getProxySettings, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, plproxysetting: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn getProxySettings, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, plproxysetting: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::getProxySettings(this, core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&plproxysetting)).into() } - unsafe extern "system" fn setProxySettings, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, lproxysetting: i32) -> windows_core::HRESULT { + unsafe extern "system" fn setProxySettings, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, lproxysetting: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::setProxySettings(this, core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&lproxysetting)).into() } - unsafe extern "system" fn getProxyName, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, pbstrproxyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getProxyName, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, pbstrproxyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::getProxyName(this, core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&pbstrproxyname)).into() } - unsafe extern "system" fn setProxyName, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, bstrproxyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setProxyName, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, bstrproxyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::setProxyName(this, core::mem::transmute(&bstrprotocol), core::mem::transmute(&bstrproxyname)).into() } - unsafe extern "system" fn getProxyPort, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, lproxyport: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn getProxyPort, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, lproxyport: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::getProxyPort(this, core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&lproxyport)).into() } - unsafe extern "system" fn setProxyPort, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, lproxyport: i32) -> windows_core::HRESULT { + unsafe extern "system" fn setProxyPort, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, lproxyport: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::setProxyPort(this, core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&lproxyport)).into() } - unsafe extern "system" fn getProxyExceptionList, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, pbstrexceptionlist: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getProxyExceptionList, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, pbstrexceptionlist: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::getProxyExceptionList(this, core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&pbstrexceptionlist)).into() } - unsafe extern "system" fn setProxyExceptionList, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, pbstrexceptionlist: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setProxyExceptionList, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, pbstrexceptionlist: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::setProxyExceptionList(this, core::mem::transmute(&bstrprotocol), core::mem::transmute(&pbstrexceptionlist)).into() } - unsafe extern "system" fn getProxyBypassForLocal, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, pfbypassforlocal: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn getProxyBypassForLocal, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, pfbypassforlocal: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::getProxyBypassForLocal(this, core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&pfbypassforlocal)).into() } - unsafe extern "system" fn setProxyBypassForLocal, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, fbypassforlocal: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn setProxyBypassForLocal, Impl: IWMPNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, fbypassforlocal: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPNetwork_Impl::setProxyBypassForLocal(this, core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&fbypassforlocal)).into() @@ -5332,12 +5332,12 @@ impl IWMPPlayer_Vtbl { let this = (*this).get_impl(); IWMPPlayer_Impl::SetenableContextMenu(this, core::mem::transmute_copy(&benablecontextmenu)).into() } - unsafe extern "system" fn SetuiMode, Impl: IWMPPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetuiMode, Impl: IWMPPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayer_Impl::SetuiMode(this, core::mem::transmute(&bstrmode)).into() } - unsafe extern "system" fn uiMode, Impl: IWMPPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn uiMode, Impl: IWMPPlayer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayer_Impl::uiMode(this, core::mem::transmute_copy(&pbstrmode)).into() @@ -5408,12 +5408,12 @@ impl IWMPPlayer2_Vtbl { let this = (*this).get_impl(); IWMPPlayer2_Impl::SetenableContextMenu(this, core::mem::transmute_copy(&benablecontextmenu)).into() } - unsafe extern "system" fn SetuiMode, Impl: IWMPPlayer2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetuiMode, Impl: IWMPPlayer2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayer2_Impl::SetuiMode(this, core::mem::transmute(&bstrmode)).into() } - unsafe extern "system" fn uiMode, Impl: IWMPPlayer2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn uiMode, Impl: IWMPPlayer2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayer2_Impl::uiMode(this, core::mem::transmute_copy(&pbstrmode)).into() @@ -5508,12 +5508,12 @@ impl IWMPPlayer3_Vtbl { let this = (*this).get_impl(); IWMPPlayer3_Impl::SetenableContextMenu(this, core::mem::transmute_copy(&benablecontextmenu)).into() } - unsafe extern "system" fn SetuiMode, Impl: IWMPPlayer3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetuiMode, Impl: IWMPPlayer3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayer3_Impl::SetuiMode(this, core::mem::transmute(&bstrmode)).into() } - unsafe extern "system" fn uiMode, Impl: IWMPPlayer3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn uiMode, Impl: IWMPPlayer3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayer3_Impl::uiMode(this, core::mem::transmute_copy(&pbstrmode)).into() @@ -5611,12 +5611,12 @@ impl IWMPPlayer4_Vtbl { let this = (*this).get_impl(); IWMPPlayer4_Impl::SetenableContextMenu(this, core::mem::transmute_copy(&benablecontextmenu)).into() } - unsafe extern "system" fn SetuiMode, Impl: IWMPPlayer4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetuiMode, Impl: IWMPPlayer4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayer4_Impl::SetuiMode(this, core::mem::transmute(&bstrmode)).into() } - unsafe extern "system" fn uiMode, Impl: IWMPPlayer4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn uiMode, Impl: IWMPPlayer4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayer4_Impl::uiMode(this, core::mem::transmute_copy(&pbstrmode)).into() @@ -5657,7 +5657,7 @@ impl IWMPPlayer4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn openPlayer, Impl: IWMPPlayer4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn openPlayer, Impl: IWMPPlayer4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayer4_Impl::openPlayer(this, core::mem::transmute(&bstrurl)).into() @@ -5737,17 +5737,17 @@ pub trait IWMPPlayerServices_Impl: Sized { impl windows_core::RuntimeName for IWMPPlayerServices {} impl IWMPPlayerServices_Vtbl { pub const fn new, Impl: IWMPPlayerServices_Impl, const OFFSET: isize>() -> IWMPPlayerServices_Vtbl { - unsafe extern "system" fn activateUIPlugin, Impl: IWMPPlayerServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrplugin: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn activateUIPlugin, Impl: IWMPPlayerServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrplugin: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayerServices_Impl::activateUIPlugin(this, core::mem::transmute(&bstrplugin)).into() } - unsafe extern "system" fn setTaskPane, Impl: IWMPPlayerServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskpane: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setTaskPane, Impl: IWMPPlayerServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskpane: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayerServices_Impl::setTaskPane(this, core::mem::transmute(&bstrtaskpane)).into() } - unsafe extern "system" fn setTaskPaneURL, Impl: IWMPPlayerServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskpane: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, bstrfriendlyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setTaskPaneURL, Impl: IWMPPlayerServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskpane: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, bstrfriendlyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayerServices_Impl::setTaskPaneURL(this, core::mem::transmute(&bstrtaskpane), core::mem::transmute(&bstrurl), core::mem::transmute(&bstrfriendlyname)).into() @@ -5769,7 +5769,7 @@ pub trait IWMPPlayerServices2_Impl: Sized + IWMPPlayerServices_Impl { impl windows_core::RuntimeName for IWMPPlayerServices2 {} impl IWMPPlayerServices2_Vtbl { pub const fn new, Impl: IWMPPlayerServices2_Impl, const OFFSET: isize>() -> IWMPPlayerServices2_Vtbl { - unsafe extern "system" fn setBackgroundProcessingPriority, Impl: IWMPPlayerServices2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpriority: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setBackgroundProcessingPriority, Impl: IWMPPlayerServices2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpriority: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlayerServices2_Impl::setBackgroundProcessingPriority(this, core::mem::transmute(&bstrpriority)).into() @@ -5810,12 +5810,12 @@ impl IWMPPlaylist_Vtbl { let this = (*this).get_impl(); IWMPPlaylist_Impl::count(this, core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn name, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn name, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlaylist_Impl::name(this, core::mem::transmute_copy(&pbstrname)).into() } - unsafe extern "system" fn Setname, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setname, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlaylist_Impl::Setname(this, core::mem::transmute(&bstrname)).into() @@ -5825,7 +5825,7 @@ impl IWMPPlaylist_Vtbl { let this = (*this).get_impl(); IWMPPlaylist_Impl::attributeCount(this, core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn get_attributeName, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstrattributename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_attributeName, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstrattributename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlaylist_Impl::get_attributeName(this, core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&pbstrattributename)).into() @@ -5841,12 +5841,12 @@ impl IWMPPlaylist_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getItemInfo, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfo, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlaylist_Impl::getItemInfo(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&pbstrval)).into() } - unsafe extern "system" fn setItemInfo, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setItemInfo, Impl: IWMPPlaylist_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPlaylist_Impl::setItemInfo(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrvalue)).into() @@ -5954,7 +5954,7 @@ impl windows_core::RuntimeName for IWMPPlaylistCollection {} #[cfg(feature = "Win32_System_Com")] impl IWMPPlaylistCollection_Vtbl { pub const fn new, Impl: IWMPPlaylistCollection_Impl, const OFFSET: isize>() -> IWMPPlaylistCollection_Vtbl { - unsafe extern "system" fn newPlaylist, Impl: IWMPPlaylistCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn newPlaylist, Impl: IWMPPlaylistCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPPlaylistCollection_Impl::newPlaylist(this, core::mem::transmute(&bstrname)) { @@ -5976,7 +5976,7 @@ impl IWMPPlaylistCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getByName, Impl: IWMPPlaylistCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppplaylistarray: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn getByName, Impl: IWMPPlaylistCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppplaylistarray: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMPPlaylistCollection_Impl::getByName(this, core::mem::transmute(&bstrname)) { @@ -6145,12 +6145,12 @@ impl IWMPPluginUI_Vtbl { let this = (*this).get_impl(); IWMPPluginUI_Impl::DisplayPropertyPage(this, core::mem::transmute_copy(&hwndparent)).into() } - unsafe extern "system" fn GetProperty, Impl: IWMPPluginUI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszname: windows_core::PCWSTR, pvarproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IWMPPluginUI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszname: windows_core::PCWSTR, pvarproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPluginUI_Impl::GetProperty(this, core::mem::transmute(&pwszname), core::mem::transmute_copy(&pvarproperty)).into() } - unsafe extern "system" fn SetProperty, Impl: IWMPPluginUI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszname: windows_core::PCWSTR, pvarproperty: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IWMPPluginUI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwszname: windows_core::PCWSTR, pvarproperty: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPPluginUI_Impl::SetProperty(this, core::mem::transmute(&pwszname), core::mem::transmute_copy(&pvarproperty)).into() @@ -6185,7 +6185,7 @@ impl windows_core::RuntimeName for IWMPQuery {} #[cfg(feature = "Win32_System_Com")] impl IWMPQuery_Vtbl { pub const fn new, Impl: IWMPQuery_Impl, const OFFSET: isize>() -> IWMPQuery_Vtbl { - unsafe extern "system" fn addCondition, Impl: IWMPQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: std::mem::MaybeUninit, bstroperator: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addCondition, Impl: IWMPQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattribute: core::mem::MaybeUninit, bstroperator: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPQuery_Impl::addCondition(this, core::mem::transmute(&bstrattribute), core::mem::transmute(&bstroperator), core::mem::transmute(&bstrvalue)).into() @@ -6217,22 +6217,22 @@ impl windows_core::RuntimeName for IWMPRemoteMediaServices {} #[cfg(feature = "Win32_System_Com")] impl IWMPRemoteMediaServices_Vtbl { pub const fn new, Impl: IWMPRemoteMediaServices_Impl, const OFFSET: isize>() -> IWMPRemoteMediaServices_Vtbl { - unsafe extern "system" fn GetServiceType, Impl: IWMPRemoteMediaServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetServiceType, Impl: IWMPRemoteMediaServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPRemoteMediaServices_Impl::GetServiceType(this, core::mem::transmute_copy(&pbstrtype)).into() } - unsafe extern "system" fn GetApplicationName, Impl: IWMPRemoteMediaServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetApplicationName, Impl: IWMPRemoteMediaServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPRemoteMediaServices_Impl::GetApplicationName(this, core::mem::transmute_copy(&pbstrname)).into() } - unsafe extern "system" fn GetScriptableObject, Impl: IWMPRemoteMediaServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit, ppdispatch: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetScriptableObject, Impl: IWMPRemoteMediaServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit, ppdispatch: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPRemoteMediaServices_Impl::GetScriptableObject(this, core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&ppdispatch)).into() } - unsafe extern "system" fn GetCustomUIMode, Impl: IWMPRemoteMediaServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfile: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCustomUIMode, Impl: IWMPRemoteMediaServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfile: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPRemoteMediaServices_Impl::GetCustomUIMode(this, core::mem::transmute_copy(&pbstrfile)).into() @@ -6334,7 +6334,7 @@ impl windows_core::RuntimeName for IWMPSettings {} #[cfg(feature = "Win32_System_Com")] impl IWMPSettings_Vtbl { pub const fn new, Impl: IWMPSettings_Impl, const OFFSET: isize>() -> IWMPSettings_Vtbl { - unsafe extern "system" fn get_isAvailable, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: std::mem::MaybeUninit, pisavailable: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn get_isAvailable, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritem: core::mem::MaybeUninit, pisavailable: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSettings_Impl::get_isAvailable(this, core::mem::transmute(&bstritem), core::mem::transmute_copy(&pisavailable)).into() @@ -6349,22 +6349,22 @@ impl IWMPSettings_Vtbl { let this = (*this).get_impl(); IWMPSettings_Impl::SetautoStart(this, core::mem::transmute_copy(&fautostart)).into() } - unsafe extern "system" fn baseURL, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbaseurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn baseURL, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbaseurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSettings_Impl::baseURL(this, core::mem::transmute_copy(&pbstrbaseurl)).into() } - unsafe extern "system" fn SetbaseURL, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbaseurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetbaseURL, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbaseurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSettings_Impl::SetbaseURL(this, core::mem::transmute(&bstrbaseurl)).into() } - unsafe extern "system" fn defaultFrame, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdefaultframe: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn defaultFrame, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdefaultframe: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSettings_Impl::defaultFrame(this, core::mem::transmute_copy(&pbstrdefaultframe)).into() } - unsafe extern "system" fn SetdefaultFrame, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdefaultframe: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetdefaultFrame, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdefaultframe: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSettings_Impl::SetdefaultFrame(this, core::mem::transmute(&bstrdefaultframe)).into() @@ -6429,12 +6429,12 @@ impl IWMPSettings_Vtbl { let this = (*this).get_impl(); IWMPSettings_Impl::Setvolume(this, core::mem::transmute_copy(&lvolume)).into() } - unsafe extern "system" fn getMode, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: std::mem::MaybeUninit, pvarfmode: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn getMode, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: core::mem::MaybeUninit, pvarfmode: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSettings_Impl::getMode(this, core::mem::transmute(&bstrmode), core::mem::transmute_copy(&pvarfmode)).into() } - unsafe extern "system" fn setMode, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: std::mem::MaybeUninit, varfmode: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn setMode, Impl: IWMPSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmode: core::mem::MaybeUninit, varfmode: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSettings_Impl::setMode(this, core::mem::transmute(&bstrmode), core::mem::transmute_copy(&varfmode)).into() @@ -6496,12 +6496,12 @@ impl IWMPSettings2_Vtbl { let this = (*this).get_impl(); IWMPSettings2_Impl::defaultAudioLanguage(this, core::mem::transmute_copy(&pllangid)).into() } - unsafe extern "system" fn mediaAccessRights, Impl: IWMPSettings2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrights: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn mediaAccessRights, Impl: IWMPSettings2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrights: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSettings2_Impl::mediaAccessRights(this, core::mem::transmute_copy(&pbstrrights)).into() } - unsafe extern "system" fn requestMediaAccessRights, Impl: IWMPSettings2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdesiredaccess: std::mem::MaybeUninit, pvbaccepted: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn requestMediaAccessRights, Impl: IWMPSettings2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdesiredaccess: core::mem::MaybeUninit, pvbaccepted: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSettings2_Impl::requestMediaAccessRights(this, core::mem::transmute(&bstrdesiredaccess), core::mem::transmute_copy(&pvbaccepted)).into() @@ -6523,7 +6523,7 @@ pub trait IWMPSkinManager_Impl: Sized { impl windows_core::RuntimeName for IWMPSkinManager {} impl IWMPSkinManager_Vtbl { pub const fn new, Impl: IWMPSkinManager_Impl, const OFFSET: isize>() -> IWMPSkinManager_Vtbl { - unsafe extern "system" fn SetVisualStyle, Impl: IWMPSkinManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetVisualStyle, Impl: IWMPSkinManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSkinManager_Impl::SetVisualStyle(this, core::mem::transmute(&bstrpath)).into() @@ -6549,7 +6549,7 @@ impl IWMPStringCollection_Vtbl { let this = (*this).get_impl(); IWMPStringCollection_Impl::count(this, core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn item, Impl: IWMPStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstrstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn item, Impl: IWMPStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pbstrstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPStringCollection_Impl::item(this, core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&pbstrstring)).into() @@ -6581,17 +6581,17 @@ impl IWMPStringCollection2_Vtbl { let this = (*this).get_impl(); IWMPStringCollection2_Impl::isIdentical(this, windows_core::from_raw_borrowed(&piwmpstringcollection2), core::mem::transmute_copy(&pvbool)).into() } - unsafe extern "system" fn getItemInfo, Impl: IWMPStringCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcollectionindex: i32, bstritemname: std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfo, Impl: IWMPStringCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcollectionindex: i32, bstritemname: core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPStringCollection2_Impl::getItemInfo(this, core::mem::transmute_copy(&lcollectionindex), core::mem::transmute(&bstritemname), core::mem::transmute_copy(&pbstrvalue)).into() } - unsafe extern "system" fn getAttributeCountByType, Impl: IWMPStringCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcollectionindex: i32, bstrtype: std::mem::MaybeUninit, bstrlanguage: std::mem::MaybeUninit, plcount: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn getAttributeCountByType, Impl: IWMPStringCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcollectionindex: i32, bstrtype: core::mem::MaybeUninit, bstrlanguage: core::mem::MaybeUninit, plcount: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPStringCollection2_Impl::getAttributeCountByType(this, core::mem::transmute_copy(&lcollectionindex), core::mem::transmute(&bstrtype), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn getItemInfoByType, Impl: IWMPStringCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcollectionindex: i32, bstrtype: std::mem::MaybeUninit, bstrlanguage: std::mem::MaybeUninit, lattributeindex: i32, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfoByType, Impl: IWMPStringCollection2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcollectionindex: i32, bstrtype: core::mem::MaybeUninit, bstrlanguage: core::mem::MaybeUninit, lattributeindex: i32, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPStringCollection2_Impl::getItemInfoByType(this, core::mem::transmute_copy(&lcollectionindex), core::mem::transmute(&bstrtype), core::mem::transmute(&bstrlanguage), core::mem::transmute_copy(&lattributeindex), core::mem::transmute_copy(&pvarvalue)).into() @@ -6674,12 +6674,12 @@ impl IWMPSubscriptionService2_Vtbl { let this = (*this).get_impl(); IWMPSubscriptionService2_Impl::serviceEvent(this, core::mem::transmute_copy(&event)).into() } - unsafe extern "system" fn deviceAvailable, Impl: IWMPSubscriptionService2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicename: std::mem::MaybeUninit, pcb: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn deviceAvailable, Impl: IWMPSubscriptionService2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicename: core::mem::MaybeUninit, pcb: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSubscriptionService2_Impl::deviceAvailable(this, core::mem::transmute(&bstrdevicename), windows_core::from_raw_borrowed(&pcb)).into() } - unsafe extern "system" fn prepareForSync, Impl: IWMPSubscriptionService2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit, bstrdevicename: std::mem::MaybeUninit, pcb: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn prepareForSync, Impl: IWMPSubscriptionService2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit, bstrdevicename: core::mem::MaybeUninit, pcb: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSubscriptionService2_Impl::prepareForSync(this, core::mem::transmute(&bstrfilename), core::mem::transmute(&bstrdevicename), windows_core::from_raw_borrowed(&pcb)).into() @@ -6734,22 +6734,22 @@ pub trait IWMPSyncDevice_Impl: Sized { impl windows_core::RuntimeName for IWMPSyncDevice {} impl IWMPSyncDevice_Vtbl { pub const fn new, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>() -> IWMPSyncDevice_Vtbl { - unsafe extern "system" fn friendlyName, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn friendlyName, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSyncDevice_Impl::friendlyName(this, core::mem::transmute_copy(&pbstrname)).into() } - unsafe extern "system" fn SetfriendlyName, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetfriendlyName, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSyncDevice_Impl::SetfriendlyName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn deviceName, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn deviceName, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSyncDevice_Impl::deviceName(this, core::mem::transmute_copy(&pbstrname)).into() } - unsafe extern "system" fn deviceId, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdeviceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn deviceId, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdeviceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSyncDevice_Impl::deviceId(this, core::mem::transmute_copy(&pbstrdeviceid)).into() @@ -6779,7 +6779,7 @@ impl IWMPSyncDevice_Vtbl { let this = (*this).get_impl(); IWMPSyncDevice_Impl::progress(this, core::mem::transmute_copy(&plprogress)).into() } - unsafe extern "system" fn getItemInfo, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getItemInfo, Impl: IWMPSyncDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSyncDevice_Impl::getItemInfo(this, core::mem::transmute(&bstritemname), core::mem::transmute_copy(&pbstrval)).into() @@ -6844,7 +6844,7 @@ pub trait IWMPSyncDevice2_Impl: Sized + IWMPSyncDevice_Impl { impl windows_core::RuntimeName for IWMPSyncDevice2 {} impl IWMPSyncDevice2_Vtbl { pub const fn new, Impl: IWMPSyncDevice2_Impl, const OFFSET: isize>() -> IWMPSyncDevice2_Vtbl { - unsafe extern "system" fn setItemInfo, Impl: IWMPSyncDevice2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: std::mem::MaybeUninit, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setItemInfo, Impl: IWMPSyncDevice2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemname: core::mem::MaybeUninit, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMPSyncDevice2_Impl::setItemInfo(this, core::mem::transmute(&bstritemname), core::mem::transmute(&bstrval)).into() 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 c45c382024..780dbb1ac5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IFeed, IFeed_Vtbl, 0xf7f915d8_2ede_42bc_98e impl std::ops::Deref for IFeed { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -12,11 +12,11 @@ windows_core::imp::interface_hierarchy!(IFeed, windows_core::IUnknown, super::su #[cfg(feature = "Win32_System_Com")] impl IFeed { 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Xml)(windows_core::Interface::as_raw(self), count, sortproperty, sortorder, filterflags, includeflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Rename(&self, name: P0) -> windows_core::Result<()> @@ -26,7 +26,7 @@ impl IFeed { (windows_core::Interface::vtable(self).Rename)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn Url(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Url)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUrl(&self, feedurl: P0) -> windows_core::Result<()> @@ -36,11 +36,11 @@ impl IFeed { (windows_core::Interface::vtable(self).SetUrl)(windows_core::Interface::as_raw(self), feedurl.param().abi()).ok() } pub unsafe fn LocalId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Move(&self, newparentpath: P0) -> windows_core::Result<()> @@ -51,11 +51,11 @@ impl IFeed { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastWriteTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastWriteTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -71,82 +71,82 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SyncSetting)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Interval)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastDownloadTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalEnclosurePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalEnclosurePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Items(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Items)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetItem(&self, itemid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), itemid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Link(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Link)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Image(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Image)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastBuildDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastBuildDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PubDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PubDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Ttl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ttl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Language(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Language)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Copyright(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Copyright)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MaxItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadEnclosuresAutomatically)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDownloadEnclosuresAutomatically(&self, downloadenclosuresautomatically: P0) -> windows_core::Result<()> @@ -156,11 +156,11 @@ impl IFeed { (windows_core::Interface::vtable(self).SetDownloadEnclosuresAutomatically)(windows_core::Interface::as_raw(self), downloadenclosuresautomatically.param().abi()).ok() } pub unsafe fn DownloadStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastDownloadError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastDownloadError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Merge(&self, feedxml: P0, feedurl: P1) -> windows_core::Result<()> @@ -171,11 +171,11 @@ impl IFeed { (windows_core::Interface::vtable(self).Merge)(windows_core::Interface::as_raw(self), feedxml.param().abi(), feedurl.param().abi()).ok() } pub unsafe fn DownloadUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MarkAllItemsRead(&self) -> windows_core::Result<()> { @@ -183,15 +183,15 @@ impl IFeed { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWatcher)(windows_core::Interface::as_raw(self), scope, mask, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnreadItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UnreadItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -199,14 +199,14 @@ impl IFeed { #[repr(C)] pub struct IFeed_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, i32, FEEDS_XML_SORT_PROPERTY, FEEDS_XML_SORT_ORDER, FEEDS_XML_FILTER_FLAGS, FEEDS_XML_INCLUDE_FLAGS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rename: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, i32, FEEDS_XML_SORT_PROPERTY, FEEDS_XML_SORT_ORDER, FEEDS_XML_FILTER_FLAGS, FEEDS_XML_INCLUDE_FLAGS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rename: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -221,7 +221,7 @@ pub struct IFeed_Vtbl { pub Interval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetInterval: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub LastDownloadTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub LocalEnclosurePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalEnclosurePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Items: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -230,23 +230,23 @@ pub struct IFeed_Vtbl { pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetItem: usize, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Link: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Image: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Link: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Image: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LastBuildDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub PubDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub Ttl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Copyright: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Copyright: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DownloadEnclosuresAutomatically: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDownloadEnclosuresAutomatically: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DownloadStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FEEDS_DOWNLOAD_STATUS) -> windows_core::HRESULT, pub LastDownloadError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT, - pub Merge: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Merge: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub MarkAllItemsRead: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -262,7 +262,7 @@ windows_core::imp::define_interface!(IFeed2, IFeed2_Vtbl, 0x33f2ea09_1398_4ab9_b impl std::ops::Deref for IFeed2 { type Target = IFeed; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -271,19 +271,19 @@ windows_core::imp::interface_hierarchy!(IFeed2, windows_core::IUnknown, super::s impl IFeed2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetItemByEffectiveId(&self, itemeffectiveid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemByEffectiveId)(windows_core::Interface::as_raw(self), itemeffectiveid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastItemDownloadTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastItemDownloadTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Username(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Username)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Password(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Password)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCredentials(&self, username: P0, password: P1) -> windows_core::Result<()> @@ -306,9 +306,9 @@ pub struct IFeed2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetItemByEffectiveId: usize, pub LastItemDownloadTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub Username: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Username: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClearCredentials: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -317,7 +317,7 @@ windows_core::imp::define_interface!(IFeedEnclosure, IFeedEnclosure_Vtbl, 0x361c impl std::ops::Deref for IFeedEnclosure { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -325,15 +325,15 @@ windows_core::imp::interface_hierarchy!(IFeedEnclosure, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IFeedEnclosure { pub unsafe fn Url(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Url)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AsyncDownload(&self) -> windows_core::Result<()> { @@ -343,28 +343,28 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastDownloadError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastDownloadError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DownloadUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DownloadMimeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadMimeType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveFile(&self) -> windows_core::Result<()> { @@ -384,22 +384,22 @@ impl IFeedEnclosure { #[repr(C)] pub struct IFeedEnclosure_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub AsyncDownload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelAsyncDownload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DownloadStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FEEDS_DOWNLOAD_STATUS) -> windows_core::HRESULT, pub LastDownloadError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT, - pub LocalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Parent: usize, - pub DownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DownloadMimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DownloadMimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveFile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedEvents, IFeedEvents_Vtbl, 0xabf35c99_0681_47ea_9a8c_1436a375a99e); @@ -407,7 +407,7 @@ windows_core::imp::define_interface!(IFeedEvents, IFeedEvents_Vtbl, 0xabf35c99_0 impl std::ops::Deref for IFeedEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -467,13 +467,13 @@ impl IFeedEvents { pub struct IFeedEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub FeedDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedRenamed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedUrlChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedMoved: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedDownloading: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedDownloadCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT, - pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub FeedDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedRenamed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedUrlChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedMoved: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedDownloading: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedDownloadCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT, + pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedFolder, IFeedFolder_Vtbl, 0x81f04ad1_4194_4d7d_86d6_11813cec163c); @@ -481,7 +481,7 @@ windows_core::imp::define_interface!(IFeedFolder, IFeedFolder_Vtbl, 0x81f04ad1_4 impl std::ops::Deref for IFeedFolder { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -490,12 +490,12 @@ windows_core::imp::interface_hierarchy!(IFeedFolder, windows_core::IUnknown, sup impl IFeedFolder { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Feeds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Feeds)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Subfolders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subfolders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -504,7 +504,7 @@ impl IFeedFolder { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFeed)(windows_core::Interface::as_raw(self), feedname.param().abi(), feedurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -512,14 +512,14 @@ impl IFeedFolder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSubfolder)(windows_core::Interface::as_raw(self), foldername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExistsFeed(&self, feedname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExistsFeed)(windows_core::Interface::as_raw(self), feedname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -527,14 +527,14 @@ impl IFeedFolder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFeed)(windows_core::Interface::as_raw(self), feedname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExistsSubfolder(&self, foldername: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExistsSubfolder)(windows_core::Interface::as_raw(self), foldername.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -542,14 +542,14 @@ impl IFeedFolder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubfolder)(windows_core::Interface::as_raw(self), foldername.param().abi(), &mut result__).and_then(|| windows_core::Type::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 Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Rename(&self, foldername: P0) -> windows_core::Result<()> @@ -559,7 +559,7 @@ impl IFeedFolder { (windows_core::Interface::vtable(self).Rename)(windows_core::Interface::as_raw(self), foldername.param().abi()).ok() } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Move(&self, newparentpath: P0) -> windows_core::Result<()> @@ -570,24 +570,24 @@ impl IFeedFolder { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsRoot(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRoot)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalUnreadItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalUnreadItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWatcher)(windows_core::Interface::as_raw(self), scope, mask, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -604,28 +604,28 @@ pub struct IFeedFolder_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Subfolders: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateFeed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFeed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateFeed: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateSubfolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSubfolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateSubfolder: usize, - pub ExistsFeed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub ExistsFeed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetFeed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFeed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFeed: usize, - pub ExistsSubfolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub ExistsSubfolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetSubfolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSubfolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetSubfolder: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rename: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rename: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -644,7 +644,7 @@ windows_core::imp::define_interface!(IFeedFolderEvents, IFeedFolderEvents_Vtbl, impl std::ops::Deref for IFeedFolderEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -756,21 +756,21 @@ impl IFeedFolderEvents { pub struct IFeedFolderEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub FolderAdded: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FolderDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FolderRenamed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FolderMovedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FolderMovedTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FolderItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub FeedAdded: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedRenamed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedUrlChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedMovedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedMovedTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedDownloading: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FeedDownloadCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT, - pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub FolderAdded: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FolderDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FolderRenamed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FolderMovedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FolderMovedTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FolderItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub FeedAdded: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedRenamed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedUrlChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedMovedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedMovedTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedDownloading: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FeedDownloadCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT, + pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedItem, IFeedItem_Vtbl, 0x0a1e6cad_0a47_4da2_a13d_5baaa5c8bd4f); @@ -778,7 +778,7 @@ windows_core::imp::define_interface!(IFeedItem, IFeedItem_Vtbl, 0x0a1e6cad_0a47_ impl std::ops::Deref for IFeedItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -786,44 +786,44 @@ windows_core::imp::interface_hierarchy!(IFeedItem, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IFeedItem { pub unsafe fn Xml(&self, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Xml)(windows_core::Interface::as_raw(self), includeflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Link(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Link)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Guid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Guid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PubDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PubDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Comments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Comments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Author(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Author)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Enclosure(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enclosure)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsRead(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRead)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsRead(&self, isread: P0) -> windows_core::Result<()> @@ -833,27 +833,27 @@ impl IFeedItem { (windows_core::Interface::vtable(self).SetIsRead)(windows_core::Interface::as_raw(self), isread.param().abi()).ok() } pub unsafe fn LocalId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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 DownloadUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastDownloadTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastDownloadTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Modified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Modified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -861,14 +861,14 @@ impl IFeedItem { #[repr(C)] pub struct IFeedItem_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, FEEDS_XML_INCLUDE_FLAGS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Link: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, FEEDS_XML_INCLUDE_FLAGS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Link: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PubDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub Comments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Enclosure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -881,7 +881,7 @@ pub struct IFeedItem_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Parent: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub DownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LastDownloadTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } @@ -891,7 +891,7 @@ windows_core::imp::define_interface!(IFeedItem2, IFeedItem2_Vtbl, 0x79ac9ef4_f9c impl std::ops::Deref for IFeedItem2 { type Target = IFeedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -899,7 +899,7 @@ windows_core::imp::interface_hierarchy!(IFeedItem2, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IFeedItem2 { pub unsafe fn EffectiveId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EffectiveId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -915,7 +915,7 @@ windows_core::imp::define_interface!(IFeedsEnum, IFeedsEnum_Vtbl, 0xe3cd0028_2ee impl std::ops::Deref for IFeedsEnum { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -923,17 +923,17 @@ windows_core::imp::interface_hierarchy!(IFeedsEnum, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IFeedsEnum { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -957,7 +957,7 @@ windows_core::imp::define_interface!(IFeedsManager, IFeedsManager_Vtbl, 0xa74029 impl std::ops::Deref for IFeedsManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -966,21 +966,21 @@ windows_core::imp::interface_hierarchy!(IFeedsManager, windows_core::IUnknown, s impl IFeedsManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootFolder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootFolder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsSubscribed(&self, feedurl: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSubscribed)(windows_core::Interface::as_raw(self), feedurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ExistsFeed(&self, feedpath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExistsFeed)(windows_core::Interface::as_raw(self), feedpath.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -988,7 +988,7 @@ impl IFeedsManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFeed)(windows_core::Interface::as_raw(self), feedpath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -996,14 +996,14 @@ impl IFeedsManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFeedByUrl)(windows_core::Interface::as_raw(self), feedurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExistsFolder(&self, folderpath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExistsFolder)(windows_core::Interface::as_raw(self), folderpath.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1011,7 +1011,7 @@ impl IFeedsManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolder)(windows_core::Interface::as_raw(self), folderpath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteFeed(&self, feedpath: P0) -> windows_core::Result<()> @@ -1030,11 +1030,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackgroundSyncStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefaultInterval(&self, minutes: i32) -> windows_core::Result<()> { @@ -1047,11 +1047,11 @@ impl IFeedsManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Normalize)(windows_core::Interface::as_raw(self), feedxmlin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ItemCountLimit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemCountLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1063,36 +1063,36 @@ pub struct IFeedsManager_Vtbl { pub RootFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RootFolder: usize, - pub IsSubscribed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ExistsFeed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsSubscribed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub ExistsFeed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetFeed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFeed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFeed: usize, #[cfg(feature = "Win32_System_Com")] - pub GetFeedByUrl: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFeedByUrl: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFeedByUrl: usize, - pub ExistsFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub ExistsFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFolder: usize, - pub DeleteFeed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteFeed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub BackgroundSync: unsafe extern "system" fn(*mut core::ffi::c_void, FEEDS_BACKGROUNDSYNC_ACTION) -> windows_core::HRESULT, pub BackgroundSyncStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FEEDS_BACKGROUNDSYNC_STATUS) -> windows_core::HRESULT, pub DefaultInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDefaultInterval: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AsyncSyncAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Normalize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Normalize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ItemCountLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPAudioRenderConfig, IWMPAudioRenderConfig_Vtbl, 0xe79c6349_5997_4ce4_917c_22a3391ec564); impl std::ops::Deref for IWMPAudioRenderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPAudioRenderConfig, windows_core::IUnknown); @@ -1110,8 +1110,8 @@ impl IWMPAudioRenderConfig { #[repr(C)] pub struct IWMPAudioRenderConfig_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub audioOutputDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetaudioOutputDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub audioOutputDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetaudioOutputDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPCdrom, IWMPCdrom_Vtbl, 0xcfab6e98_8730_11d3_b388_00c04f68574b); @@ -1119,7 +1119,7 @@ windows_core::imp::define_interface!(IWMPCdrom, IWMPCdrom_Vtbl, 0xcfab6e98_8730_ impl std::ops::Deref for IWMPCdrom { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1131,7 +1131,7 @@ impl IWMPCdrom { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlist(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).playlist)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn eject(&self) -> windows_core::Result<()> { @@ -1142,7 +1142,7 @@ impl IWMPCdrom { #[repr(C)] pub struct IWMPCdrom_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub driveSpecifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub driveSpecifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub playlist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1153,7 +1153,7 @@ windows_core::imp::define_interface!(IWMPCdromBurn, IWMPCdromBurn_Vtbl, 0xbd94db impl std::ops::Deref for IWMPCdromBurn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPCdromBurn, windows_core::IUnknown); @@ -1187,7 +1187,7 @@ impl IWMPCdromBurn { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn burnPlaylist(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).burnPlaylist)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1219,10 +1219,10 @@ impl IWMPCdromBurn { #[repr(C)] pub struct IWMPCdromBurn_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub isAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setlabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub isAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setlabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub burnFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMPBurnFormat) -> windows_core::HRESULT, pub SetburnFormat: unsafe extern "system" fn(*mut core::ffi::c_void, WMPBurnFormat) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -1246,7 +1246,7 @@ windows_core::imp::define_interface!(IWMPCdromCollection, IWMPCdromCollection_Vt impl std::ops::Deref for IWMPCdromCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1258,7 +1258,7 @@ impl IWMPCdromCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1266,7 +1266,7 @@ impl IWMPCdromCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getByDriveSpecifier)(windows_core::Interface::as_raw(self), bstrdrivespecifier.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1280,7 +1280,7 @@ pub struct IWMPCdromCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] item: usize, #[cfg(feature = "Win32_System_Com")] - pub getByDriveSpecifier: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getByDriveSpecifier: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getByDriveSpecifier: usize, } @@ -1288,7 +1288,7 @@ windows_core::imp::define_interface!(IWMPCdromRip, IWMPCdromRip_Vtbl, 0x56e2294f impl std::ops::Deref for IWMPCdromRip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPCdromRip, windows_core::IUnknown); @@ -1320,7 +1320,7 @@ windows_core::imp::define_interface!(IWMPClosedCaption, IWMPClosedCaption_Vtbl, impl std::ops::Deref for IWMPClosedCaption { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1368,14 +1368,14 @@ impl IWMPClosedCaption { #[repr(C)] pub struct IWMPClosedCaption_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SAMIStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSAMIStyle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SAMILang: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSAMILang: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SAMIFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSAMIFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub captioningId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetcaptioningId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SAMIStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSAMIStyle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SAMILang: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSAMILang: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SAMIFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSAMIFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub captioningId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetcaptioningId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPClosedCaption2, IWMPClosedCaption2_Vtbl, 0x350ba78b_6bc8_4113_a5f5_312056934eb6); @@ -1383,7 +1383,7 @@ windows_core::imp::define_interface!(IWMPClosedCaption2, IWMPClosedCaption2_Vtbl impl std::ops::Deref for IWMPClosedCaption2 { type Target = IWMPClosedCaption; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1411,42 +1411,42 @@ impl IWMPClosedCaption2 { pub struct IWMPClosedCaption2_Vtbl { pub base__: IWMPClosedCaption_Vtbl, pub SAMILangCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub getSAMILangName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getSAMILangName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub getSAMILangID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub SAMIStyleCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub getSAMIStyleName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getSAMIStyleName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPContentContainer, IWMPContentContainer_Vtbl, 0xad7f4d9c_1a9f_4ed2_9815_ecc0b58cb616); impl std::ops::Deref for IWMPContentContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPContentContainer, windows_core::IUnknown); impl IWMPContentContainer { pub unsafe fn GetID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPrice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContentCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContentPrice(&self, idxcontent: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentPrice)(windows_core::Interface::as_raw(self), idxcontent, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContentID(&self, idxcontent: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentID)(windows_core::Interface::as_raw(self), idxcontent, &mut result__).map(|| result__) } } @@ -1454,31 +1454,31 @@ impl IWMPContentContainer { pub struct IWMPContentContainer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetPrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetContentCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetContentPrice: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetContentPrice: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetContentID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPContentContainerList, IWMPContentContainerList_Vtbl, 0xa9937f78_0802_4af8_8b8d_e3f045bc8ab5); impl std::ops::Deref for IWMPContentContainerList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPContentContainerList, windows_core::IUnknown); impl IWMPContentContainerList { pub unsafe fn GetTransactionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransactionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContainerCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainerCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContainer(&self, idxcontainer: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainer)(windows_core::Interface::as_raw(self), idxcontainer, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1493,7 +1493,7 @@ windows_core::imp::define_interface!(IWMPContentPartner, IWMPContentPartner_Vtbl impl std::ops::Deref for IWMPContentPartner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPContentPartner, windows_core::IUnknown); @@ -1511,14 +1511,14 @@ impl IWMPContentPartner { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemInfo)(windows_core::Interface::as_raw(self), bstrinfoname.param().abi(), core::mem::transmute(pcontext), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContentPartnerInfo(&self, bstrinfoname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentPartnerInfo)(windows_core::Interface::as_raw(self), bstrinfoname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCommands(&self, location: P0, plocationcontext: *const windows_core::VARIANT, itemlocation: P1, prgitemids: &[u32], pcitemids: *mut u32, pprgitems: *mut *mut WMPContextMenuInfo) -> windows_core::Result<()> @@ -1548,7 +1548,7 @@ impl IWMPContentPartner { (windows_core::Interface::vtable(self).Buy)(windows_core::Interface::as_raw(self), pinfo.param().abi(), cookie).ok() } pub unsafe fn GetStreamingURL(&self, st: WMPStreamingType, pstreamcontext: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamingURL)(windows_core::Interface::as_raw(self), st, core::mem::transmute(pstreamcontext), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Download(&self, pinfo: P0, cookie: u32) -> windows_core::Result<()> @@ -1631,7 +1631,7 @@ impl IWMPContentPartner { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareContainerListPrices)(windows_core::Interface::as_raw(self), plistbase.param().abi(), plistcompare.param().abi(), &mut result__).map(|| result__) } pub unsafe fn VerifyPermission(&self, bstrpermission: P0, pcontext: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -1645,21 +1645,21 @@ impl IWMPContentPartner { pub struct IWMPContentPartner_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, WMPPartnerNotification, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetContentPartnerInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCommands: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit, u32, *const u32, *mut u32, *mut *mut WMPContextMenuInfo) -> windows_core::HRESULT, - pub InvokeCommand: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit, u32, *const u32) -> windows_core::HRESULT, - pub CanBuySilent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, WMPPartnerNotification, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetContentPartnerInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCommands: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *const u32, *mut u32, *mut *mut WMPContextMenuInfo) -> windows_core::HRESULT, + pub InvokeCommand: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *const u32) -> windows_core::HRESULT, + pub CanBuySilent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Buy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub GetStreamingURL: unsafe extern "system" fn(*mut core::ffi::c_void, WMPStreamingType, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStreamingURL: unsafe extern "system" fn(*mut core::ffi::c_void, WMPStreamingType, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Download: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub DownloadTrackComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RefreshLicense: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, WMPStreamingType, u32, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCatalogURL: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, WMPTaskType, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut WMPTemplateSize) -> windows_core::HRESULT, - pub UpdateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetListContents: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub DownloadTrackComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RefreshLicense: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, WMPStreamingType, u32, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCatalogURL: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, WMPTaskType, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut WMPTemplateSize) -> windows_core::HRESULT, + pub UpdateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetListContents: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Login: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Com::BLOB, super::super::System::Com::BLOB, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1669,16 +1669,16 @@ pub struct IWMPContentPartner_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Authenticate: usize, pub Logout: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SendMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StationEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, u32, u32, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub SendMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StationEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, u32, u32, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, pub CompareContainerListPrices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub VerifyPermission: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VerifyPermission: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPContentPartnerCallback, IWMPContentPartnerCallback_Vtbl, 0x9e8f7da2_0695_403c_b697_da10fafaa676); impl std::ops::Deref for IWMPContentPartnerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPContentPartnerCallback, windows_core::IUnknown); @@ -1749,19 +1749,19 @@ impl IWMPContentPartnerCallback { #[repr(C)] pub struct IWMPContentPartnerCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, WMPCallbackNotification, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, WMPCallbackNotification, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub BuyComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32) -> windows_core::HRESULT, - pub DownloadTrack: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, u32, std::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, + pub DownloadTrack: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, u32, core::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, pub GetCatalogVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, - pub UpdateDeviceComplete: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChangeView: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdateDeviceComplete: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangeView: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddListContents: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u32) -> windows_core::HRESULT, pub ListContentsComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, - pub SendMessageComplete: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SendMessageComplete: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetContentIDsInLibrary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u32) -> windows_core::HRESULT, pub RefreshLicenseComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::HRESULT) -> windows_core::HRESULT, - pub ShowPopup: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VerifyPermissionComplete: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, + pub ShowPopup: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VerifyPermissionComplete: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPControls, IWMPControls_Vtbl, 0x74c09e02_f828_11d2_a74b_00a0c905f36e); @@ -1769,7 +1769,7 @@ windows_core::imp::define_interface!(IWMPControls, IWMPControls_Vtbl, 0x74c09e02 impl std::ops::Deref for IWMPControls { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1814,7 +1814,7 @@ impl IWMPControls { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).currentItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1842,7 +1842,7 @@ impl IWMPControls { #[repr(C)] pub struct IWMPControls_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_isAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub get_isAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub play: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1850,7 +1850,7 @@ pub struct IWMPControls_Vtbl { pub fastReverse: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub currentPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetcurrentPosition: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, - pub currentPositionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub currentPositionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub next: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub previous: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -1874,7 +1874,7 @@ windows_core::imp::define_interface!(IWMPControls2, IWMPControls2_Vtbl, 0x6f030d impl std::ops::Deref for IWMPControls2 { type Target = IWMPControls; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1897,7 +1897,7 @@ windows_core::imp::define_interface!(IWMPControls3, IWMPControls3_Vtbl, 0xa1d111 impl std::ops::Deref for IWMPControls3 { type Target = IWMPControls2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1944,20 +1944,20 @@ pub struct IWMPControls3_Vtbl { pub base__: IWMPControls2_Vtbl, pub audioLanguageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub getAudioLanguageID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, - pub getAudioLanguageDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAudioLanguageDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub currentAudioLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetcurrentAudioLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub currentAudioLanguageIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetcurrentAudioLanguageIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub getLanguageName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub currentPositionTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetcurrentPositionTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getLanguageName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub currentPositionTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetcurrentPositionTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPConvert, IWMPConvert_Vtbl, 0xd683162f_57d4_4108_8373_4a9676d1c2e9); impl std::ops::Deref for IWMPConvert { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPConvert, windows_core::IUnknown); @@ -1976,8 +1976,8 @@ impl IWMPConvert { #[repr(C)] pub struct IWMPConvert_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ConvertFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetErrorURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConvertFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetErrorURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPCore, IWMPCore_Vtbl, 0xd84cca99_cce2_11d2_9ecc_0000f8085981); @@ -1985,7 +1985,7 @@ windows_core::imp::define_interface!(IWMPCore, IWMPCore_Vtbl, 0xd84cca99_cce2_11 impl std::ops::Deref for IWMPCore { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2012,17 +2012,17 @@ impl IWMPCore { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn controls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).controls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn settings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).settings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).currentMedia)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2034,12 +2034,12 @@ impl IWMPCore { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).mediaCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn playlistCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).playlistCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn versionInfo(&self, pbstrversioninfo: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -2053,12 +2053,12 @@ impl IWMPCore { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn network(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).network)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn currentPlaylist(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).currentPlaylist)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2070,12 +2070,12 @@ impl IWMPCore { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn cdromCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).cdromCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn closedCaption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).closedCaption)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn isOnline(&self, pfonline: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { @@ -2083,7 +2083,7 @@ impl IWMPCore { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).error)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn status(&self, pbstrstatus: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -2095,8 +2095,8 @@ impl IWMPCore { pub struct IWMPCore_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub openState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMPOpenState) -> windows_core::HRESULT, pub playState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMPPlayState) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2123,8 +2123,8 @@ pub struct IWMPCore_Vtbl { pub playlistCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] playlistCollection: usize, - pub versionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub launchURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub versionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub launchURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub network: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2150,7 +2150,7 @@ pub struct IWMPCore_Vtbl { pub error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] error: usize, - pub status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPCore2, IWMPCore2_Vtbl, 0xbc17e5b7_7561_4c18_bb90_17d485775659); @@ -2158,7 +2158,7 @@ windows_core::imp::define_interface!(IWMPCore2, IWMPCore2_Vtbl, 0xbc17e5b7_7561_ impl std::ops::Deref for IWMPCore2 { type Target = IWMPCore; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2167,7 +2167,7 @@ windows_core::imp::interface_hierarchy!(IWMPCore2, windows_core::IUnknown, super impl IWMPCore2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn dvd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).dvd)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2186,7 +2186,7 @@ windows_core::imp::define_interface!(IWMPCore3, IWMPCore3_Vtbl, 0x7587c667_628f_ impl std::ops::Deref for IWMPCore3 { type Target = IWMPCore2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2199,7 +2199,7 @@ impl IWMPCore3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).newPlaylist)(windows_core::Interface::as_raw(self), bstrname.param().abi(), bstrurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2207,7 +2207,7 @@ impl IWMPCore3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).newMedia)(windows_core::Interface::as_raw(self), bstrurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2216,11 +2216,11 @@ impl IWMPCore3 { pub struct IWMPCore3_Vtbl { pub base__: IWMPCore2_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub newPlaylist: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub newPlaylist: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] newPlaylist: usize, #[cfg(feature = "Win32_System_Com")] - pub newMedia: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub newMedia: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] newMedia: usize, } @@ -2230,7 +2230,7 @@ windows_core::imp::define_interface!(IWMPDVD, IWMPDVD_Vtbl, 0x8da61686_4668_4a5c impl std::ops::Deref for IWMPDVD { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2263,8 +2263,8 @@ impl IWMPDVD { #[repr(C)] pub struct IWMPDVD_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_isAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_isAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub topMenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub titleMenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub back: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2276,7 +2276,7 @@ windows_core::imp::define_interface!(IWMPDownloadCollection, IWMPDownloadCollect impl std::ops::Deref for IWMPDownloadCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2291,7 +2291,7 @@ impl IWMPDownloadCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, litem: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).item)(windows_core::Interface::as_raw(self), litem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2300,7 +2300,7 @@ impl IWMPDownloadCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).startDownload)(windows_core::Interface::as_raw(self), bstrsourceurl.param().abi(), bstrtype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn removeItem(&self, litem: i32) -> windows_core::Result<()> { @@ -2321,7 +2321,7 @@ pub struct IWMPDownloadCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] item: usize, #[cfg(feature = "Win32_System_Com")] - pub startDownload: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub startDownload: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] startDownload: usize, pub removeItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -2333,7 +2333,7 @@ windows_core::imp::define_interface!(IWMPDownloadItem, IWMPDownloadItem_Vtbl, 0x impl std::ops::Deref for IWMPDownloadItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2369,9 +2369,9 @@ impl IWMPDownloadItem { #[repr(C)] pub struct IWMPDownloadItem_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub sourceURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub sourceURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub r#type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub r#type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub progress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub downloadState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMPSubscriptionDownloadState) -> windows_core::HRESULT, pub pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2384,7 +2384,7 @@ windows_core::imp::define_interface!(IWMPDownloadItem2, IWMPDownloadItem2_Vtbl, impl std::ops::Deref for IWMPDownloadItem2 { type Target = IWMPDownloadItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2402,7 +2402,7 @@ impl IWMPDownloadItem2 { #[repr(C)] pub struct IWMPDownloadItem2_Vtbl { pub base__: IWMPDownloadItem_Vtbl, - pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPDownloadManager, IWMPDownloadManager_Vtbl, 0xe15e9ad1_8f20_4cc4_9ec7_1a328ca86a0d); @@ -2410,7 +2410,7 @@ windows_core::imp::define_interface!(IWMPDownloadManager, IWMPDownloadManager_Vt impl std::ops::Deref for IWMPDownloadManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2419,12 +2419,12 @@ windows_core::imp::interface_hierarchy!(IWMPDownloadManager, windows_core::IUnkn impl IWMPDownloadManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn getDownloadCollection(&self, lcollectionid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getDownloadCollection)(windows_core::Interface::as_raw(self), lcollectionid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn createDownloadCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createDownloadCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2445,7 +2445,7 @@ windows_core::imp::define_interface!(IWMPEffects, IWMPEffects_Vtbl, 0xd3984c13_c impl std::ops::Deref for IWMPEffects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPEffects, windows_core::IUnknown); @@ -2504,10 +2504,10 @@ pub struct IWMPEffects_Vtbl { pub Render: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedLevel, super::super::Graphics::Gdi::HDC, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_Graphics_Gdi"))] Render: usize, - pub MediaInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPresetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPresetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetPresetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCurrentPreset: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetCurrentPreset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -2519,7 +2519,7 @@ windows_core::imp::define_interface!(IWMPEffects2, IWMPEffects2_Vtbl, 0x695386ec impl std::ops::Deref for IWMPEffects2 { type Target = IWMPEffects; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPEffects2, windows_core::IUnknown, IWMPEffects); @@ -2583,7 +2583,7 @@ windows_core::imp::define_interface!(IWMPError, IWMPError_Vtbl, 0xa12dcf7d_14ab_ impl std::ops::Deref for IWMPError { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2598,7 +2598,7 @@ impl IWMPError { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, dwindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_item)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn webHelp(&self) -> windows_core::Result<()> { @@ -2623,7 +2623,7 @@ windows_core::imp::define_interface!(IWMPErrorItem, IWMPErrorItem_Vtbl, 0x3614c6 impl std::ops::Deref for IWMPErrorItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2651,10 +2651,10 @@ impl IWMPErrorItem { pub struct IWMPErrorItem_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub errorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub errorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub errorContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub errorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub errorContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub remedy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub customUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub customUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPErrorItem2, IWMPErrorItem2_Vtbl, 0xf75ccec0_c67c_475c_931e_8719870bee7d); @@ -2662,7 +2662,7 @@ windows_core::imp::define_interface!(IWMPErrorItem2, IWMPErrorItem2_Vtbl, 0xf75c impl std::ops::Deref for IWMPErrorItem2 { type Target = IWMPErrorItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2683,7 +2683,7 @@ windows_core::imp::define_interface!(IWMPEvents, IWMPEvents_Vtbl, 0x19a6627b_da9 impl std::ops::Deref for IWMPEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPEvents, windows_core::IUnknown); @@ -2897,12 +2897,12 @@ pub struct IWMPEvents_Vtbl { pub PlayStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, i32), pub AudioLanguageChange: unsafe extern "system" fn(*mut core::ffi::c_void, i32), pub StatusChange: unsafe extern "system" fn(*mut core::ffi::c_void), - pub ScriptCommand: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit), + pub ScriptCommand: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit), pub NewStream: unsafe extern "system" fn(*mut core::ffi::c_void), pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void, i32), pub Buffering: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL), pub Error: unsafe extern "system" fn(*mut core::ffi::c_void), - pub Warning: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit), + pub Warning: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit), pub EndOfStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32), pub PositionChange: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64), pub MarkerHit: unsafe extern "system" fn(*mut core::ffi::c_void, i32), @@ -2913,25 +2913,25 @@ pub struct IWMPEvents_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] PlaylistChange: usize, pub CurrentPlaylistChange: unsafe extern "system" fn(*mut core::ffi::c_void, WMPPlaylistChangeEventType), - pub CurrentPlaylistItemAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit), + pub CurrentPlaylistItemAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit), #[cfg(feature = "Win32_System_Com")] pub MediaChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), #[cfg(not(feature = "Win32_System_Com"))] MediaChange: usize, - pub CurrentMediaItemAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit), + pub CurrentMediaItemAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit), #[cfg(feature = "Win32_System_Com")] pub CurrentItemChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), #[cfg(not(feature = "Win32_System_Com"))] CurrentItemChange: usize, pub MediaCollectionChange: unsafe extern "system" fn(*mut core::ffi::c_void), - pub MediaCollectionAttributeStringAdded: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit), - pub MediaCollectionAttributeStringRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit), - pub MediaCollectionAttributeStringChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit), + pub MediaCollectionAttributeStringAdded: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit), + pub MediaCollectionAttributeStringRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit), + pub MediaCollectionAttributeStringChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit), pub PlaylistCollectionChange: unsafe extern "system" fn(*mut core::ffi::c_void), - pub PlaylistCollectionPlaylistAdded: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit), - pub PlaylistCollectionPlaylistRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit), - pub PlaylistCollectionPlaylistSetAsDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL), - pub ModeChange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL), + pub PlaylistCollectionPlaylistAdded: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit), + pub PlaylistCollectionPlaylistRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit), + pub PlaylistCollectionPlaylistSetAsDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL), + pub ModeChange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL), #[cfg(feature = "Win32_System_Com")] pub MediaError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), #[cfg(not(feature = "Win32_System_Com"))] @@ -2940,7 +2940,7 @@ pub struct IWMPEvents_Vtbl { pub OpenPlaylistSwitch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), #[cfg(not(feature = "Win32_System_Com"))] OpenPlaylistSwitch: usize, - pub DomainChange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit), + pub DomainChange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit), pub SwitchedToPlayerApplication: unsafe extern "system" fn(*mut core::ffi::c_void), pub SwitchedToControl: unsafe extern "system" fn(*mut core::ffi::c_void), pub PlayerDockedStateChange: unsafe extern "system" fn(*mut core::ffi::c_void), @@ -2958,7 +2958,7 @@ windows_core::imp::define_interface!(IWMPEvents2, IWMPEvents2_Vtbl, 0x1e7601fa_4 impl std::ops::Deref for IWMPEvents2 { type Target = IWMPEvents; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPEvents2, windows_core::IUnknown, IWMPEvents); @@ -3019,7 +3019,7 @@ windows_core::imp::define_interface!(IWMPEvents3, IWMPEvents3_Vtbl, 0x1f504270_a impl std::ops::Deref for IWMPEvents3 { type Target = IWMPEvents2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPEvents3, windows_core::IUnknown, IWMPEvents, IWMPEvents2); @@ -3129,7 +3129,7 @@ windows_core::imp::define_interface!(IWMPEvents4, IWMPEvents4_Vtbl, 0x26dabcfa_3 impl std::ops::Deref for IWMPEvents4 { type Target = IWMPEvents3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPEvents4, windows_core::IUnknown, IWMPEvents, IWMPEvents2, IWMPEvents3); @@ -3150,7 +3150,7 @@ windows_core::imp::define_interface!(IWMPFolderMonitorServices, IWMPFolderMonito impl std::ops::Deref for IWMPFolderMonitorServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPFolderMonitorServices, windows_core::IUnknown); @@ -3196,11 +3196,11 @@ impl IWMPFolderMonitorServices { pub struct IWMPFolderMonitorServices_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub scanState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMPFolderScanState) -> windows_core::HRESULT, - pub currentFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub currentFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub scannedFilesCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub addedFilesCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub updateProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3211,7 +3211,7 @@ windows_core::imp::define_interface!(IWMPGraphCreation, IWMPGraphCreation_Vtbl, impl std::ops::Deref for IWMPGraphCreation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPGraphCreation, windows_core::IUnknown); @@ -3244,7 +3244,7 @@ windows_core::imp::define_interface!(IWMPLibrary, IWMPLibrary_Vtbl, 0x3df47861_7 impl std::ops::Deref for IWMPLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPLibrary, windows_core::IUnknown); @@ -3257,7 +3257,7 @@ impl IWMPLibrary { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn mediaCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).mediaCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn isIdentical(&self, piwmplibrary: P0, pvbool: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> @@ -3270,7 +3270,7 @@ impl IWMPLibrary { #[repr(C)] pub struct IWMPLibrary_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub r#type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMPLibraryType) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub mediaCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3282,7 +3282,7 @@ windows_core::imp::define_interface!(IWMPLibrary2, IWMPLibrary2_Vtbl, 0xdd578a4e impl std::ops::Deref for IWMPLibrary2 { type Target = IWMPLibrary; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPLibrary2, windows_core::IUnknown, IWMPLibrary); @@ -3297,13 +3297,13 @@ impl IWMPLibrary2 { #[repr(C)] pub struct IWMPLibrary2_Vtbl { pub base__: IWMPLibrary_Vtbl, - pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPLibraryServices, IWMPLibraryServices_Vtbl, 0x39c2f8d5_1cf2_4d5e_ae09_d73492cf9eaa); impl std::ops::Deref for IWMPLibraryServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPLibraryServices, windows_core::IUnknown); @@ -3312,7 +3312,7 @@ impl IWMPLibraryServices { (windows_core::Interface::vtable(self).getCountByType)(windows_core::Interface::as_raw(self), wmplt, plcount).ok() } pub unsafe fn getLibraryByType(&self, wmplt: WMPLibraryType, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getLibraryByType)(windows_core::Interface::as_raw(self), wmplt, lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3326,7 +3326,7 @@ windows_core::imp::define_interface!(IWMPLibrarySharingServices, IWMPLibraryShar impl std::ops::Deref for IWMPLibrarySharingServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPLibrarySharingServices, windows_core::IUnknown); @@ -3354,7 +3354,7 @@ windows_core::imp::define_interface!(IWMPMedia, IWMPMedia_Vtbl, 0x94d55e95_3fac_ impl std::ops::Deref for IWMPMedia { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3445,26 +3445,26 @@ pub struct IWMPMedia_Vtbl { pub get_isIdentical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_isIdentical: usize, - pub sourceURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setname: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub sourceURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setname: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub imageSourceWidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub imageSourceHeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub markerCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub getMarkerTime: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut f64) -> windows_core::HRESULT, - pub getMarkerName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getMarkerName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub durationString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub durationString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub attributeCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub getAttributeName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getItemInfoByAtom: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAttributeName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getItemInfoByAtom: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub isMemberOf: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] isMemberOf: usize, - pub isReadOnlyItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub isReadOnlyItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMedia2, IWMPMedia2_Vtbl, 0xab7c88bb_143e_4ea4_acc3_e4350b2106c3); @@ -3472,7 +3472,7 @@ windows_core::imp::define_interface!(IWMPMedia2, IWMPMedia2_Vtbl, 0xab7c88bb_143 impl std::ops::Deref for IWMPMedia2 { type Target = IWMPMedia; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3481,7 +3481,7 @@ windows_core::imp::interface_hierarchy!(IWMPMedia2, windows_core::IUnknown, supe impl IWMPMedia2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).error)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3500,7 +3500,7 @@ windows_core::imp::define_interface!(IWMPMedia3, IWMPMedia3_Vtbl, 0xf118efc7_f03 impl std::ops::Deref for IWMPMedia3 { type Target = IWMPMedia2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3526,8 +3526,8 @@ impl IWMPMedia3 { #[repr(C)] pub struct IWMPMedia3_Vtbl { pub base__: IWMPMedia2_Vtbl, - pub getAttributeCountByType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub getItemInfoByType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAttributeCountByType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub getItemInfoByType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMediaCollection, IWMPMediaCollection_Vtbl, 0x8363bc22_b4b4_4b19_989d_1cd765749dd1); @@ -3535,7 +3535,7 @@ windows_core::imp::define_interface!(IWMPMediaCollection, IWMPMediaCollection_Vt impl std::ops::Deref for IWMPMediaCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3547,12 +3547,12 @@ impl IWMPMediaCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).add)(windows_core::Interface::as_raw(self), bstrurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn getAll(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAll)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3560,7 +3560,7 @@ impl IWMPMediaCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getByName)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3568,7 +3568,7 @@ impl IWMPMediaCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getByGenre)(windows_core::Interface::as_raw(self), bstrgenre.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3576,7 +3576,7 @@ impl IWMPMediaCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getByAuthor)(windows_core::Interface::as_raw(self), bstrauthor.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3584,7 +3584,7 @@ impl IWMPMediaCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getByAlbum)(windows_core::Interface::as_raw(self), bstralbum.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3593,7 +3593,7 @@ impl IWMPMediaCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getByAttribute)(windows_core::Interface::as_raw(self), bstrattribute.param().abi(), bstrvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3610,7 +3610,7 @@ impl IWMPMediaCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttributeStringCollection)(windows_core::Interface::as_raw(self), bstrattribute.param().abi(), bstrmediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getMediaAtom(&self, bstritemname: P0, platom: *mut i32) -> windows_core::Result<()> @@ -3640,7 +3640,7 @@ impl IWMPMediaCollection { pub struct IWMPMediaCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] add: usize, #[cfg(feature = "Win32_System_Com")] @@ -3648,23 +3648,23 @@ pub struct IWMPMediaCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] getAll: usize, #[cfg(feature = "Win32_System_Com")] - pub getByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getByName: usize, #[cfg(feature = "Win32_System_Com")] - pub getByGenre: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getByGenre: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getByGenre: usize, #[cfg(feature = "Win32_System_Com")] - pub getByAuthor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getByAuthor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getByAuthor: usize, #[cfg(feature = "Win32_System_Com")] - pub getByAlbum: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getByAlbum: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getByAlbum: usize, #[cfg(feature = "Win32_System_Com")] - pub getByAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getByAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getByAttribute: usize, #[cfg(feature = "Win32_System_Com")] @@ -3672,10 +3672,10 @@ pub struct IWMPMediaCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] remove: usize, #[cfg(feature = "Win32_System_Com")] - pub getAttributeStringCollection: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getAttributeStringCollection: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getAttributeStringCollection: usize, - pub getMediaAtom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub getMediaAtom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub setDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3691,7 +3691,7 @@ windows_core::imp::define_interface!(IWMPMediaCollection2, IWMPMediaCollection2_ impl std::ops::Deref for IWMPMediaCollection2 { type Target = IWMPMediaCollection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3700,7 +3700,7 @@ windows_core::imp::interface_hierarchy!(IWMPMediaCollection2, windows_core::IUnk impl IWMPMediaCollection2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn createQuery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createQuery)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3711,7 +3711,7 @@ impl IWMPMediaCollection2 { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getPlaylistByQuery)(windows_core::Interface::as_raw(self), pquery.param().abi(), bstrmediatype.param().abi(), bstrsortattribute.param().abi(), fsortascending.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3723,7 +3723,7 @@ impl IWMPMediaCollection2 { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getStringCollectionByQuery)(windows_core::Interface::as_raw(self), bstrattribute.param().abi(), pquery.param().abi(), bstrmediatype.param().abi(), bstrsortattribute.param().abi(), fsortascending.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3733,7 +3733,7 @@ impl IWMPMediaCollection2 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getByAttributeAndMediaType)(windows_core::Interface::as_raw(self), bstrattribute.param().abi(), bstrvalue.param().abi(), bstrmediatype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3746,15 +3746,15 @@ pub struct IWMPMediaCollection2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] createQuery: usize, #[cfg(feature = "Win32_System_Com")] - pub getPlaylistByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getPlaylistByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getPlaylistByQuery: usize, #[cfg(feature = "Win32_System_Com")] - pub getStringCollectionByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getStringCollectionByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getStringCollectionByQuery: usize, #[cfg(feature = "Win32_System_Com")] - pub getByAttributeAndMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getByAttributeAndMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getByAttributeAndMediaType: usize, } @@ -3762,7 +3762,7 @@ windows_core::imp::define_interface!(IWMPMediaPluginRegistrar, IWMPMediaPluginRe impl std::ops::Deref for IWMPMediaPluginRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPMediaPluginRegistrar, windows_core::IUnknown); @@ -3791,7 +3791,7 @@ windows_core::imp::define_interface!(IWMPMetadataPicture, IWMPMetadataPicture_Vt impl std::ops::Deref for IWMPMetadataPicture { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3815,10 +3815,10 @@ impl IWMPMetadataPicture { #[repr(C)] pub struct IWMPMetadataPicture_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub mimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub pictureType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub mimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub pictureType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMetadataText, IWMPMetadataText_Vtbl, 0x769a72db_13d2_45e2_9c48_53ca9d5b7450); @@ -3826,7 +3826,7 @@ windows_core::imp::define_interface!(IWMPMetadataText, IWMPMetadataText_Vtbl, 0x impl std::ops::Deref for IWMPMetadataText { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3844,8 +3844,8 @@ impl IWMPMetadataText { #[repr(C)] pub struct IWMPMetadataText_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPNetwork, IWMPNetwork_Vtbl, 0xec21b779_edef_462d_bba4_ad9dde2b29a7); @@ -3853,7 +3853,7 @@ windows_core::imp::define_interface!(IWMPNetwork, IWMPNetwork_Vtbl, 0xec21b779_e impl std::ops::Deref for IWMPNetwork { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3984,7 +3984,7 @@ pub struct IWMPNetwork_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub bandWidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub recoveredPackets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub sourceProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub sourceProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub receivedPackets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub lostPackets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub receptionQuality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3995,16 +3995,16 @@ pub struct IWMPNetwork_Vtbl { pub frameRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub maxBitRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub bitRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub getProxySettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub setProxySettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub getProxyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setProxyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getProxyPort: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub setProxyPort: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub getProxyExceptionList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setProxyExceptionList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getProxyBypassForLocal: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub setProxyBypassForLocal: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub getProxySettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub setProxySettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub getProxyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setProxyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getProxyPort: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub setProxyPort: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub getProxyExceptionList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setProxyExceptionList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getProxyBypassForLocal: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub setProxyBypassForLocal: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub maxBandwidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetmaxBandwidth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub downloadProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -4015,7 +4015,7 @@ windows_core::imp::define_interface!(IWMPNodeRealEstate, IWMPNodeRealEstate_Vtbl impl std::ops::Deref for IWMPNodeRealEstate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPNodeRealEstate, windows_core::IUnknown); @@ -4063,7 +4063,7 @@ windows_core::imp::define_interface!(IWMPNodeRealEstateHost, IWMPNodeRealEstateH impl std::ops::Deref for IWMPNodeRealEstateHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPNodeRealEstateHost, windows_core::IUnknown); @@ -4088,7 +4088,7 @@ windows_core::imp::define_interface!(IWMPNodeWindowed, IWMPNodeWindowed_Vtbl, 0x impl std::ops::Deref for IWMPNodeWindowed { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPNodeWindowed, windows_core::IUnknown); @@ -4110,7 +4110,7 @@ windows_core::imp::define_interface!(IWMPNodeWindowedHost, IWMPNodeWindowedHost_ impl std::ops::Deref for IWMPNodeWindowedHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPNodeWindowedHost, windows_core::IUnknown); @@ -4132,7 +4132,7 @@ windows_core::imp::define_interface!(IWMPNodeWindowless, IWMPNodeWindowless_Vtbl impl std::ops::Deref for IWMPNodeWindowless { type Target = IWMPWindowMessageSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPNodeWindowless, windows_core::IUnknown, IWMPWindowMessageSink); @@ -4150,7 +4150,7 @@ windows_core::imp::define_interface!(IWMPNodeWindowlessHost, IWMPNodeWindowlessH impl std::ops::Deref for IWMPNodeWindowlessHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPNodeWindowlessHost, windows_core::IUnknown); @@ -4173,7 +4173,7 @@ windows_core::imp::define_interface!(IWMPPlayer, IWMPPlayer_Vtbl, 0x6bf52a4f_394 impl std::ops::Deref for IWMPPlayer { type Target = IWMPCore; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4227,8 +4227,8 @@ pub struct IWMPPlayer_Vtbl { pub SetfullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub enableContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetenableContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetuiMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub uiMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetuiMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub uiMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlayer2, IWMPPlayer2_Vtbl, 0x0e6b01d1_d407_4c85_bf5f_1c01f6150280); @@ -4236,7 +4236,7 @@ windows_core::imp::define_interface!(IWMPPlayer2, IWMPPlayer2_Vtbl, 0x0e6b01d1_d impl std::ops::Deref for IWMPPlayer2 { type Target = IWMPCore; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4308,8 +4308,8 @@ pub struct IWMPPlayer2_Vtbl { pub SetfullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub enableContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetenableContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetuiMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub uiMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetuiMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub uiMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub stretchToFit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetstretchToFit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub windowlessVideo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4321,7 +4321,7 @@ windows_core::imp::define_interface!(IWMPPlayer3, IWMPPlayer3_Vtbl, 0x54062b68_0 impl std::ops::Deref for IWMPPlayer3 { type Target = IWMPCore2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4393,8 +4393,8 @@ pub struct IWMPPlayer3_Vtbl { pub SetfullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub enableContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetenableContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetuiMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub uiMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetuiMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub uiMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub stretchToFit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetstretchToFit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub windowlessVideo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4406,7 +4406,7 @@ windows_core::imp::define_interface!(IWMPPlayer4, IWMPPlayer4_Vtbl, 0x6c497d62_8 impl std::ops::Deref for IWMPPlayer4 { type Target = IWMPCore3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4472,7 +4472,7 @@ impl IWMPPlayer4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn playerApplication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).playerApplication)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn openPlayer(&self, bstrurl: P0) -> windows_core::Result<()> @@ -4492,8 +4492,8 @@ pub struct IWMPPlayer4_Vtbl { pub SetfullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub enableContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetenableContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetuiMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub uiMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetuiMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub uiMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub stretchToFit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetstretchToFit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub windowlessVideo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4503,7 +4503,7 @@ pub struct IWMPPlayer4_Vtbl { pub playerApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] playerApplication: usize, - pub openPlayer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub openPlayer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlayerApplication, IWMPPlayerApplication_Vtbl, 0x40897764_ceab_47be_ad4a_8e28537f9bbf); @@ -4511,7 +4511,7 @@ windows_core::imp::define_interface!(IWMPPlayerApplication, IWMPPlayerApplicatio impl std::ops::Deref for IWMPPlayerApplication { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4544,7 +4544,7 @@ windows_core::imp::define_interface!(IWMPPlayerServices, IWMPPlayerServices_Vtbl impl std::ops::Deref for IWMPPlayerServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPPlayerServices, windows_core::IUnknown); @@ -4573,15 +4573,15 @@ impl IWMPPlayerServices { #[repr(C)] pub struct IWMPPlayerServices_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub activateUIPlugin: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setTaskPane: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setTaskPaneURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub activateUIPlugin: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setTaskPane: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setTaskPaneURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPPlayerServices2, IWMPPlayerServices2_Vtbl, 0x1bb1592f_f040_418a_9f71_17c7512b4d70); impl std::ops::Deref for IWMPPlayerServices2 { type Target = IWMPPlayerServices; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPPlayerServices2, windows_core::IUnknown, IWMPPlayerServices); @@ -4596,7 +4596,7 @@ impl IWMPPlayerServices2 { #[repr(C)] pub struct IWMPPlayerServices2_Vtbl { pub base__: IWMPPlayerServices_Vtbl, - pub setBackgroundProcessingPriority: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub setBackgroundProcessingPriority: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlaylist, IWMPPlaylist_Vtbl, 0xd5f0f4f1_130c_11d3_b14e_00c04f79faa6); @@ -4604,7 +4604,7 @@ windows_core::imp::define_interface!(IWMPPlaylist, IWMPPlaylist_Vtbl, 0xd5f0f4f1 impl std::ops::Deref for IWMPPlaylist { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4631,7 +4631,7 @@ impl IWMPPlaylist { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getItemInfo(&self, bstrname: P0, pbstrval: *mut windows_core::BSTR) -> windows_core::Result<()> @@ -4687,16 +4687,16 @@ impl IWMPPlaylist { pub struct IWMPPlaylist_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setname: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setname: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub attributeCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_attributeName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_attributeName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub get_item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_item: usize, - pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub get_isIdentical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4722,7 +4722,7 @@ windows_core::imp::define_interface!(IWMPPlaylistArray, IWMPPlaylistArray_Vtbl, impl std::ops::Deref for IWMPPlaylistArray { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4734,7 +4734,7 @@ impl IWMPPlaylistArray { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4754,7 +4754,7 @@ windows_core::imp::define_interface!(IWMPPlaylistCollection, IWMPPlaylistCollect impl std::ops::Deref for IWMPPlaylistCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4766,12 +4766,12 @@ impl IWMPPlaylistCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).newPlaylist)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn getAll(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAll)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4779,7 +4779,7 @@ impl IWMPPlaylistCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getByName)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4809,7 +4809,7 @@ impl IWMPPlaylistCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).importPlaylist)(windows_core::Interface::as_raw(self), pitem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4818,7 +4818,7 @@ impl IWMPPlaylistCollection { pub struct IWMPPlaylistCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub newPlaylist: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub newPlaylist: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] newPlaylist: usize, #[cfg(feature = "Win32_System_Com")] @@ -4826,7 +4826,7 @@ pub struct IWMPPlaylistCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] getAll: usize, #[cfg(feature = "Win32_System_Com")] - pub getByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub getByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] getByName: usize, #[cfg(feature = "Win32_System_Com")] @@ -4850,7 +4850,7 @@ windows_core::imp::define_interface!(IWMPPlugin, IWMPPlugin_Vtbl, 0xf1392a70_024 impl std::ops::Deref for IWMPPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPPlugin, windows_core::IUnknown); @@ -4891,7 +4891,7 @@ windows_core::imp::define_interface!(IWMPPluginEnable, IWMPPluginEnable_Vtbl, 0x impl std::ops::Deref for IWMPPluginEnable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPPluginEnable, windows_core::IUnknown); @@ -4916,7 +4916,7 @@ windows_core::imp::define_interface!(IWMPPluginUI, IWMPPluginUI_Vtbl, 0x4c5e8f9f impl std::ops::Deref for IWMPPluginUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPPluginUI, windows_core::IUnknown); @@ -4970,8 +4970,8 @@ pub struct IWMPPluginUI_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, pub Destroy: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisplayPropertyPage: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub TranslateAccelerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::WindowsAndMessaging::MSG) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] @@ -4983,7 +4983,7 @@ windows_core::imp::define_interface!(IWMPQuery, IWMPQuery_Vtbl, 0xa00918f3_a6b0_ impl std::ops::Deref for IWMPQuery { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5006,14 +5006,14 @@ impl IWMPQuery { #[repr(C)] pub struct IWMPQuery_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub addCondition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub addCondition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub beginNextGroup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPRemoteMediaServices, IWMPRemoteMediaServices_Vtbl, 0xcbb92747_741f_44fe_ab5b_f1a48f3b2a59); impl std::ops::Deref for IWMPRemoteMediaServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPRemoteMediaServices, windows_core::IUnknown); @@ -5035,19 +5035,19 @@ impl IWMPRemoteMediaServices { #[repr(C)] pub struct IWMPRemoteMediaServices_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetServiceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetServiceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetScriptableObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetScriptableObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetScriptableObject: usize, - pub GetCustomUIMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCustomUIMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPRenderConfig, IWMPRenderConfig_Vtbl, 0x959506c1_0314_4ec5_9e61_8528db5e5478); impl std::ops::Deref for IWMPRenderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPRenderConfig, windows_core::IUnknown); @@ -5072,7 +5072,7 @@ windows_core::imp::define_interface!(IWMPServices, IWMPServices_Vtbl, 0xafb6b76b impl std::ops::Deref for IWMPServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPServices, windows_core::IUnknown); @@ -5096,7 +5096,7 @@ windows_core::imp::define_interface!(IWMPSettings, IWMPSettings_Vtbl, 0x9104d1ab impl std::ops::Deref for IWMPSettings { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5205,13 +5205,13 @@ impl IWMPSettings { #[repr(C)] pub struct IWMPSettings_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_isAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub get_isAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub autoStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetautoStart: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub baseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetbaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub defaultFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetdefaultFrame: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub baseURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetbaseURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub defaultFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetdefaultFrame: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub invokeURLs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetinvokeURLs: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub mute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -5224,8 +5224,8 @@ pub struct IWMPSettings_Vtbl { pub Setbalance: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub volume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Setvolume: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub getMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub setMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub getMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub setMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub enableErrorDialogs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetenableErrorDialogs: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -5235,7 +5235,7 @@ windows_core::imp::define_interface!(IWMPSettings2, IWMPSettings2_Vtbl, 0xfda937 impl std::ops::Deref for IWMPSettings2 { type Target = IWMPSettings; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5260,14 +5260,14 @@ impl IWMPSettings2 { pub struct IWMPSettings2_Vtbl { pub base__: IWMPSettings_Vtbl, pub defaultAudioLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub mediaAccessRights: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub requestMediaAccessRights: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub mediaAccessRights: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub requestMediaAccessRights: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSkinManager, IWMPSkinManager_Vtbl, 0x076f2fa6_ed30_448b_8cc5_3f3ef3529c7a); impl std::ops::Deref for IWMPSkinManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPSkinManager, windows_core::IUnknown); @@ -5282,7 +5282,7 @@ impl IWMPSkinManager { #[repr(C)] pub struct IWMPSkinManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub SetVisualStyle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVisualStyle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPStringCollection, IWMPStringCollection_Vtbl, 0x4a976298_8c0d_11d3_b389_00c04f68574b); @@ -5290,7 +5290,7 @@ windows_core::imp::define_interface!(IWMPStringCollection, IWMPStringCollection_ impl std::ops::Deref for IWMPStringCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5309,7 +5309,7 @@ impl IWMPStringCollection { pub struct IWMPStringCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPStringCollection2, IWMPStringCollection2_Vtbl, 0x46ad648d_53f1_4a74_92e2_2a1b68d63fd4); @@ -5317,7 +5317,7 @@ windows_core::imp::define_interface!(IWMPStringCollection2, IWMPStringCollection impl std::ops::Deref for IWMPStringCollection2 { type Target = IWMPStringCollection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5360,15 +5360,15 @@ pub struct IWMPStringCollection2_Vtbl { pub isIdentical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] isIdentical: usize, - pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getAttributeCountByType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub getItemInfoByType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAttributeCountByType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub getItemInfoByType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSubscriptionService, IWMPSubscriptionService_Vtbl, 0x376055f8_2a59_4a73_9501_dca5273a7a10); impl std::ops::Deref for IWMPSubscriptionService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPSubscriptionService, windows_core::IUnknown); @@ -5425,7 +5425,7 @@ windows_core::imp::define_interface!(IWMPSubscriptionService2, IWMPSubscriptionS impl std::ops::Deref for IWMPSubscriptionService2 { type Target = IWMPSubscriptionService; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPSubscriptionService2, windows_core::IUnknown, IWMPSubscriptionService); @@ -5457,14 +5457,14 @@ pub struct IWMPSubscriptionService2_Vtbl { pub base__: IWMPSubscriptionService_Vtbl, pub stopBackgroundProcessing: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub serviceEvent: unsafe extern "system" fn(*mut core::ffi::c_void, WMPSubscriptionServiceEvent) -> windows_core::HRESULT, - pub deviceAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub prepareForSync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub deviceAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub prepareForSync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSubscriptionServiceCallback, IWMPSubscriptionServiceCallback_Vtbl, 0xdd01d127_2dc2_4c3a_876e_63312079f9b0); impl std::ops::Deref for IWMPSubscriptionServiceCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPSubscriptionServiceCallback, windows_core::IUnknown); @@ -5482,7 +5482,7 @@ windows_core::imp::define_interface!(IWMPSyncDevice, IWMPSyncDevice_Vtbl, 0x82a2 impl std::ops::Deref for IWMPSyncDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPSyncDevice, windows_core::IUnknown); @@ -5551,16 +5551,16 @@ impl IWMPSyncDevice { #[repr(C)] pub struct IWMPSyncDevice_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub friendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetfriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub deviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub deviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub friendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetfriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub deviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub deviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub partnershipIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub connected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMPDeviceStatus) -> windows_core::HRESULT, pub syncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMPSyncState) -> windows_core::HRESULT, pub progress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub createPartnership: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub deletePartnership: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5572,7 +5572,7 @@ windows_core::imp::define_interface!(IWMPSyncDevice2, IWMPSyncDevice2_Vtbl, 0x88 impl std::ops::Deref for IWMPSyncDevice2 { type Target = IWMPSyncDevice; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPSyncDevice2, windows_core::IUnknown, IWMPSyncDevice); @@ -5588,13 +5588,13 @@ impl IWMPSyncDevice2 { #[repr(C)] pub struct IWMPSyncDevice2_Vtbl { pub base__: IWMPSyncDevice_Vtbl, - pub setItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub setItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSyncDevice3, IWMPSyncDevice3_Vtbl, 0xb22c85f9_263c_4372_a0da_b518db9b4098); impl std::ops::Deref for IWMPSyncDevice3 { type Target = IWMPSyncDevice2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPSyncDevice3, windows_core::IUnknown, IWMPSyncDevice, IWMPSyncDevice2); @@ -5624,7 +5624,7 @@ windows_core::imp::define_interface!(IWMPSyncServices, IWMPSyncServices_Vtbl, 0x impl std::ops::Deref for IWMPSyncServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPSyncServices, windows_core::IUnknown); @@ -5633,7 +5633,7 @@ impl IWMPSyncServices { (windows_core::Interface::vtable(self).deviceCount)(windows_core::Interface::as_raw(self), plcount).ok() } pub unsafe fn getDevice(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getDevice)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5647,7 +5647,7 @@ windows_core::imp::define_interface!(IWMPTranscodePolicy, IWMPTranscodePolicy_Vt impl std::ops::Deref for IWMPTranscodePolicy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPTranscodePolicy, windows_core::IUnknown); @@ -5665,7 +5665,7 @@ windows_core::imp::define_interface!(IWMPUserEventSink, IWMPUserEventSink_Vtbl, impl std::ops::Deref for IWMPUserEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPUserEventSink, windows_core::IUnknown); @@ -5683,7 +5683,7 @@ windows_core::imp::define_interface!(IWMPVideoRenderConfig, IWMPVideoRenderConfi impl std::ops::Deref for IWMPVideoRenderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPVideoRenderConfig, windows_core::IUnknown); @@ -5708,7 +5708,7 @@ windows_core::imp::define_interface!(IWMPWindowMessageSink, IWMPWindowMessageSin impl std::ops::Deref for IWMPWindowMessageSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPWindowMessageSink, windows_core::IUnknown); @@ -5730,18 +5730,18 @@ windows_core::imp::define_interface!(IXFeed, IXFeed_Vtbl, 0xa44179a4_e0f6_403b_a impl std::ops::Deref for IXFeed { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeed, windows_core::IUnknown); impl IXFeed { #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Xml)(windows_core::Interface::as_raw(self), uiitemcount, sortproperty, sortorder, filterflags, includeflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Rename(&self, pszname: P0) -> windows_core::Result<()> @@ -5751,7 +5751,7 @@ impl IXFeed { (windows_core::Interface::vtable(self).Rename)(windows_core::Interface::as_raw(self), pszname.param().abi()).ok() } pub unsafe fn Url(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Url)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUrl(&self, pszurl: P0) -> windows_core::Result<()> @@ -5761,11 +5761,11 @@ impl IXFeed { (windows_core::Interface::vtable(self).SetUrl)(windows_core::Interface::as_raw(self), pszurl.param().abi()).ok() } pub unsafe fn LocalId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Move(&self, pszpath: P0) -> windows_core::Result<()> @@ -5782,7 +5782,7 @@ impl IXFeed { (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastWriteTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastWriteTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -5798,29 +5798,29 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SyncSetting)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Interval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInterval(&self, uiinterval: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetInterval)(windows_core::Interface::as_raw(self), uiinterval).ok() } pub unsafe fn LastDownloadTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastDownloadTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalEnclosurePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalEnclosurePath)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Items(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Items)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetItem(&self, uiid: u32) -> windows_core::Result @@ -5834,14 +5834,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxItemCount(&self, uimaxitemcount: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetMaxItemCount)(windows_core::Interface::as_raw(self), uimaxitemcount).ok() } pub unsafe fn DownloadEnclosuresAutomatically(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadEnclosuresAutomatically)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDownloadEnclosuresAutomatically(&self, bdownloadenclosuresautomatically: P0) -> windows_core::Result<()> @@ -5851,11 +5851,11 @@ impl IXFeed { (windows_core::Interface::vtable(self).SetDownloadEnclosuresAutomatically)(windows_core::Interface::as_raw(self), bdownloadenclosuresautomatically.param().abi()).ok() } pub unsafe fn DownloadStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastDownloadError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastDownloadError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5867,47 +5867,47 @@ impl IXFeed { (windows_core::Interface::vtable(self).Merge)(windows_core::Interface::as_raw(self), pstream.param().abi(), pszurl.param().abi()).ok() } pub unsafe fn DownloadUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadUrl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Link(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Link)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Image(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Image)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastBuildDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastBuildDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PubDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PubDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Ttl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ttl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Language(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Language)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Copyright(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Copyright)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> windows_core::Result @@ -5918,11 +5918,11 @@ impl IXFeed { (windows_core::Interface::vtable(self).GetWatcher)(windows_core::Interface::as_raw(self), scope, mask, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnreadItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UnreadItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5984,7 +5984,7 @@ windows_core::imp::define_interface!(IXFeed2, IXFeed2_Vtbl, 0xce528e77_3716_4eb7 impl std::ops::Deref for IXFeed2 { type Target = IXFeed; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeed2, windows_core::IUnknown, IXFeed); @@ -5997,15 +5997,15 @@ impl IXFeed2 { (windows_core::Interface::vtable(self).GetItemByEffectiveId)(windows_core::Interface::as_raw(self), uieffectiveid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastItemDownloadTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastItemDownloadTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Username(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Username)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Password(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Password)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCredentials(&self, pszusername: P0, pszpassword: P1) -> windows_core::Result<()> @@ -6033,21 +6033,21 @@ windows_core::imp::define_interface!(IXFeedEnclosure, IXFeedEnclosure_Vtbl, 0xbf impl std::ops::Deref for IXFeedEnclosure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeedEnclosure, windows_core::IUnknown); impl IXFeedEnclosure { pub unsafe fn Url(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Url)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AsyncDownload(&self) -> windows_core::Result<()> { @@ -6057,15 +6057,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastDownloadError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastDownloadError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalPath)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Parent(&self) -> windows_core::Result @@ -6076,11 +6076,11 @@ impl IXFeedEnclosure { (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DownloadUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadUrl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DownloadMimeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadMimeType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemoveFile(&self) -> windows_core::Result<()> { @@ -6117,7 +6117,7 @@ windows_core::imp::define_interface!(IXFeedEvents, IXFeedEvents_Vtbl, 0x1630852e impl std::ops::Deref for IXFeedEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeedEvents, windows_core::IUnknown); @@ -6186,17 +6186,17 @@ windows_core::imp::define_interface!(IXFeedFolder, IXFeedFolder_Vtbl, 0x4c963678 impl std::ops::Deref for IXFeedFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeedFolder, windows_core::IUnknown); impl IXFeedFolder { pub unsafe fn Feeds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Feeds)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Subfolders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subfolders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFeed(&self, pszname: P0, pszurl: P1) -> windows_core::Result @@ -6248,7 +6248,7 @@ impl IXFeedFolder { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Rename(&self, pszname: P0) -> windows_core::Result<()> @@ -6258,7 +6258,7 @@ impl IXFeedFolder { (windows_core::Interface::vtable(self).Rename)(windows_core::Interface::as_raw(self), pszname.param().abi()).ok() } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Move(&self, pszpath: P0) -> windows_core::Result<()> @@ -6275,7 +6275,7 @@ impl IXFeedFolder { (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsRoot(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRoot)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> windows_core::Result @@ -6286,11 +6286,11 @@ impl IXFeedFolder { (windows_core::Interface::vtable(self).GetWatcher)(windows_core::Interface::as_raw(self), scope, mask, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TotalUnreadItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalUnreadItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6320,7 +6320,7 @@ windows_core::imp::define_interface!(IXFeedFolderEvents, IXFeedFolderEvents_Vtbl impl std::ops::Deref for IXFeedFolderEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeedFolderEvents, windows_core::IUnknown); @@ -6449,42 +6449,42 @@ windows_core::imp::define_interface!(IXFeedItem, IXFeedItem_Vtbl, 0xe757b2f5_e73 impl std::ops::Deref for IXFeedItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeedItem, windows_core::IUnknown); impl IXFeedItem { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Xml(&self, fxif: FEEDS_XML_INCLUDE_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Xml)(windows_core::Interface::as_raw(self), fxif, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Link(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Link)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Guid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Guid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PubDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PubDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Comments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Comments)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Author(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Author)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Enclosure(&self) -> windows_core::Result @@ -6495,7 +6495,7 @@ impl IXFeedItem { (windows_core::Interface::vtable(self).Enclosure)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsRead(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRead)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsRead(&self, bisread: P0) -> windows_core::Result<()> @@ -6505,7 +6505,7 @@ impl IXFeedItem { (windows_core::Interface::vtable(self).SetIsRead)(windows_core::Interface::as_raw(self), bisread.param().abi()).ok() } pub unsafe fn LocalId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Parent(&self) -> windows_core::Result @@ -6519,15 +6519,15 @@ impl IXFeedItem { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn DownloadUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadUrl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastDownloadTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastDownloadTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Modified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Modified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6559,13 +6559,13 @@ windows_core::imp::define_interface!(IXFeedItem2, IXFeedItem2_Vtbl, 0x6cda2dc7_9 impl std::ops::Deref for IXFeedItem2 { type Target = IXFeedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeedItem2, windows_core::IUnknown, IXFeedItem); impl IXFeedItem2 { pub unsafe fn EffectiveId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EffectiveId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6578,13 +6578,13 @@ windows_core::imp::define_interface!(IXFeedsEnum, IXFeedsEnum_Vtbl, 0xdc43a9d5_5 impl std::ops::Deref for IXFeedsEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeedsEnum, windows_core::IUnknown); impl IXFeedsEnum { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Item(&self, uiindex: u32) -> windows_core::Result @@ -6605,7 +6605,7 @@ windows_core::imp::define_interface!(IXFeedsManager, IXFeedsManager_Vtbl, 0x5357 impl std::ops::Deref for IXFeedsManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXFeedsManager, windows_core::IUnknown); @@ -6621,14 +6621,14 @@ impl IXFeedsManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSubscribed)(windows_core::Interface::as_raw(self), pszurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ExistsFeed(&self, pszpath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExistsFeed)(windows_core::Interface::as_raw(self), pszpath.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetFeed(&self, pszpath: P0) -> windows_core::Result @@ -6651,7 +6651,7 @@ impl IXFeedsManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExistsFolder)(windows_core::Interface::as_raw(self), pszpath.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetFolder(&self, pszpath: P0) -> windows_core::Result @@ -6678,11 +6678,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackgroundSyncStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefaultInterval(&self, uiinterval: u32) -> windows_core::Result<()> { @@ -6696,11 +6696,11 @@ impl IXFeedsManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Normalize)(windows_core::Interface::as_raw(self), pstreamin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ItemCountLimit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemCountLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6733,7 +6733,7 @@ windows_core::imp::define_interface!(_WMPOCXEvents, _WMPOCXEvents_Vtbl, 0x6bf52a impl std::ops::Deref for _WMPOCXEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8047,8 +8047,8 @@ impl Default for TimedLevel { #[derive(Debug, Eq, PartialEq)] pub struct WMPContextMenuInfo { pub dwID: u32, - pub bstrMenuText: std::mem::ManuallyDrop, - pub bstrHelpText: std::mem::ManuallyDrop, + pub bstrMenuText: core::mem::ManuallyDrop, + pub bstrHelpText: core::mem::ManuallyDrop, } impl Clone for WMPContextMenuInfo { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs index fe14d30d98..5fa1f145c5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs @@ -128,7 +128,7 @@ where #[inline] pub unsafe fn AVIGetFromClipboard() -> windows_core::Result { windows_targets::link!("avifil32.dll" "system" fn AVIGetFromClipboard(lppf : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AVIGetFromClipboard(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -150,7 +150,7 @@ where P0: windows_core::Param, { windows_targets::link!("avifil32.dll" "system" fn AVIMakeStreamFromClipboard(cfformat : u32, hglobal : super::super::Foundation:: HANDLE, ppstream : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AVIMakeStreamFromClipboard(cfformat, hglobal.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -531,7 +531,7 @@ where P0: windows_core::Param, { windows_targets::link!("avifil32.dll" "system" fn EditStreamClone(pavi : * mut core::ffi::c_void, ppresult : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); EditStreamClone(pavi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1239,7 +1239,7 @@ windows_core::imp::define_interface!(IAVIEditStream, IAVIEditStream_Vtbl, 0x0002 impl std::ops::Deref for IAVIEditStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAVIEditStream, windows_core::IUnknown); @@ -1257,7 +1257,7 @@ impl IAVIEditStream { (windows_core::Interface::vtable(self).Paste)(windows_core::Interface::as_raw(self), plpos, pllength, pstream.param().abi(), lstart, lend).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInfo(&self, lpinfo: *const AVISTREAMINFOW, cbinfo: i32) -> windows_core::Result<()> { @@ -1277,7 +1277,7 @@ windows_core::imp::define_interface!(IAVIFile, IAVIFile_Vtbl, 0x00020020_0000_00 impl std::ops::Deref for IAVIFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAVIFile, windows_core::IUnknown); @@ -1321,7 +1321,7 @@ windows_core::imp::define_interface!(IAVIPersistFile, IAVIPersistFile_Vtbl, 0x00 impl std::ops::Deref for IAVIPersistFile { type Target = super::super::System::Com::IPersistFile; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1342,7 +1342,7 @@ windows_core::imp::define_interface!(IAVIStream, IAVIStream_Vtbl, 0x00020021_000 impl std::ops::Deref for IAVIStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAVIStream, windows_core::IUnknown); @@ -1404,7 +1404,7 @@ windows_core::imp::define_interface!(IAVIStreaming, IAVIStreaming_Vtbl, 0x000200 impl std::ops::Deref for IAVIStreaming { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAVIStreaming, windows_core::IUnknown); @@ -1426,7 +1426,7 @@ windows_core::imp::define_interface!(IGetFrame, IGetFrame_Vtbl, 0x00020023_0000_ impl std::ops::Deref for IGetFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetFrame, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs index b90504ab03..90a866e1e1 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs @@ -65,7 +65,7 @@ impl IPhotoAcquireDeviceSelectionDialog_Vtbl { let this = (*this).get_impl(); IPhotoAcquireDeviceSelectionDialog_Impl::SetSubmitButtonText(this, core::mem::transmute(&pszsubmitbuttontext)).into() } - unsafe extern "system" fn DoModal, Impl: IPhotoAcquireDeviceSelectionDialog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, dwdeviceflags: u32, pbstrdeviceid: *mut std::mem::MaybeUninit, pndevicetype: *mut DEVICE_SELECTION_DEVICE_TYPE) -> windows_core::HRESULT { + unsafe extern "system" fn DoModal, Impl: IPhotoAcquireDeviceSelectionDialog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, dwdeviceflags: u32, pbstrdeviceid: *mut core::mem::MaybeUninit, pndevicetype: *mut DEVICE_SELECTION_DEVICE_TYPE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPhotoAcquireDeviceSelectionDialog_Impl::DoModal(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&dwdeviceflags), core::mem::transmute_copy(&pbstrdeviceid), core::mem::transmute_copy(&pndevicetype)).into() @@ -98,7 +98,7 @@ impl windows_core::RuntimeName for IPhotoAcquireItem {} #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IPhotoAcquireItem_Vtbl { pub const fn new, Impl: IPhotoAcquireItem_Impl, const OFFSET: isize>() -> IPhotoAcquireItem_Vtbl { - unsafe extern "system" fn GetItemName, Impl: IPhotoAcquireItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstritemname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemName, Impl: IPhotoAcquireItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstritemname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPhotoAcquireItem_Impl::GetItemName(this) { @@ -120,7 +120,7 @@ impl IPhotoAcquireItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IPhotoAcquireItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IPhotoAcquireItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPhotoAcquireItem_Impl::GetProperty(this, core::mem::transmute_copy(&key)) { @@ -131,7 +131,7 @@ impl IPhotoAcquireItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IPhotoAcquireItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IPhotoAcquireItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pv: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPhotoAcquireItem_Impl::SetProperty(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&pv)).into() @@ -432,7 +432,7 @@ impl IPhotoAcquireProgressCB_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetUserInput, Impl: IPhotoAcquireProgressCB_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, riidtype: *const windows_core::GUID, punknown: *mut core::ffi::c_void, ppropvarresult: *mut std::mem::MaybeUninit, ppropvardefault: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUserInput, Impl: IPhotoAcquireProgressCB_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, riidtype: *const windows_core::GUID, punknown: *mut core::ffi::c_void, ppropvarresult: *mut core::mem::MaybeUninit, ppropvardefault: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPhotoAcquireProgressCB_Impl::GetUserInput(this, core::mem::transmute_copy(&riidtype), windows_core::from_raw_borrowed(&punknown), core::mem::transmute_copy(&ppropvarresult), core::mem::transmute_copy(&ppropvardefault)).into() @@ -528,7 +528,7 @@ impl IPhotoAcquireSettings_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetOutputFilenameTemplate, Impl: IPhotoAcquireSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtemplate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetOutputFilenameTemplate, Impl: IPhotoAcquireSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtemplate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPhotoAcquireSettings_Impl::GetOutputFilenameTemplate(this) { @@ -561,7 +561,7 @@ impl IPhotoAcquireSettings_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetGroupTag, Impl: IPhotoAcquireSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrgrouptag: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetGroupTag, Impl: IPhotoAcquireSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrgrouptag: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPhotoAcquireSettings_Impl::GetGroupTag(this) { @@ -620,7 +620,7 @@ impl windows_core::RuntimeName for IPhotoAcquireSource {} #[cfg(feature = "Win32_UI_WindowsAndMessaging")] impl IPhotoAcquireSource_Vtbl { pub const fn new, Impl: IPhotoAcquireSource_Impl, const OFFSET: isize>() -> IPhotoAcquireSource_Vtbl { - unsafe extern "system" fn GetFriendlyName, Impl: IPhotoAcquireSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfriendlyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFriendlyName, Impl: IPhotoAcquireSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfriendlyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPhotoAcquireSource_Impl::GetFriendlyName(this) { @@ -674,7 +674,7 @@ impl IPhotoAcquireSource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDeviceId, Impl: IPhotoAcquireSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdeviceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceId, Impl: IPhotoAcquireSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdeviceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPhotoAcquireSource_Impl::GetDeviceId(this) { @@ -852,7 +852,7 @@ impl IPhotoProgressDialog_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetUserInput, Impl: IPhotoProgressDialog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, riidtype: *const windows_core::GUID, punknown: *mut core::ffi::c_void, ppropvarresult: *mut std::mem::MaybeUninit, ppropvardefault: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUserInput, Impl: IPhotoProgressDialog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, riidtype: *const windows_core::GUID, punknown: *mut core::ffi::c_void, ppropvarresult: *mut core::mem::MaybeUninit, ppropvardefault: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPhotoProgressDialog_Impl::GetUserInput(this, core::mem::transmute_copy(&riidtype), windows_core::from_raw_borrowed(&punknown), core::mem::transmute_copy(&ppropvarresult), core::mem::transmute_copy(&ppropvardefault)).into() @@ -901,7 +901,7 @@ impl windows_core::RuntimeName for IUserInputString {} #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] impl IUserInputString_Vtbl { pub const fn new, Impl: IUserInputString_Impl, const OFFSET: isize>() -> IUserInputString_Vtbl { - unsafe extern "system" fn GetSubmitButtonText, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubmitbuttontext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSubmitButtonText, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubmitbuttontext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUserInputString_Impl::GetSubmitButtonText(this) { @@ -912,7 +912,7 @@ impl IUserInputString_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPrompt, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprompttitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPrompt, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprompttitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUserInputString_Impl::GetPrompt(this) { @@ -923,7 +923,7 @@ impl IUserInputString_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStringId, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstringid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStringId, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstringid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUserInputString_Impl::GetStringId(this) { @@ -945,7 +945,7 @@ impl IUserInputString_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetTooltipText, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtooltiptext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTooltipText, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtooltiptext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUserInputString_Impl::GetTooltipText(this) { @@ -967,7 +967,7 @@ impl IUserInputString_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDefault, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdefault: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDefault, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdefault: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUserInputString_Impl::GetDefault(this) { @@ -989,7 +989,7 @@ impl IUserInputString_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMruEntryAt, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pbstrmruentry: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMruEntryAt, Impl: IUserInputString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pbstrmruentry: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUserInputString_Impl::GetMruEntryAt(this, core::mem::transmute_copy(&nindex)) { 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 9ab8c111a9..ffa7af3e44 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IPhotoAcquire, IPhotoAcquire_Vtbl, 0x00f233 impl std::ops::Deref for IPhotoAcquire { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoAcquire, windows_core::IUnknown); @@ -11,7 +11,7 @@ impl IPhotoAcquire { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePhotoSource)(windows_core::Interface::as_raw(self), pszdevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Acquire(&self, pphotoacquiresource: P0, fshowprogress: P1, hwndparent: P2, pszapplicationname: P3, pphotoacquireprogresscb: P4) -> windows_core::Result<()> @@ -26,7 +26,7 @@ impl IPhotoAcquire { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumResults(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumResults)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -44,7 +44,7 @@ windows_core::imp::define_interface!(IPhotoAcquireDeviceSelectionDialog, IPhotoA impl std::ops::Deref for IPhotoAcquireDeviceSelectionDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoAcquireDeviceSelectionDialog, windows_core::IUnknown); @@ -73,29 +73,29 @@ pub struct IPhotoAcquireDeviceSelectionDialog_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetSubmitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub DoModal: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, *mut std::mem::MaybeUninit, *mut DEVICE_SELECTION_DEVICE_TYPE) -> windows_core::HRESULT, + pub DoModal: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, *mut core::mem::MaybeUninit, *mut DEVICE_SELECTION_DEVICE_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoAcquireItem, IPhotoAcquireItem_Vtbl, 0x00f21c97_28bf_4c02_b842_5e4e90139a30); impl std::ops::Deref for IPhotoAcquireItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoAcquireItem, windows_core::IUnknown); impl IPhotoAcquireItem { pub unsafe fn GetItemName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetThumbnail(&self, sizethumbnail: super::super::Foundation::SIZE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThumbnail)(windows_core::Interface::as_raw(self), core::mem::transmute(sizethumbnail), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -104,39 +104,39 @@ impl IPhotoAcquireItem { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CanDelete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanDelete)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSubItemAt(&self, nitemindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubItemAt)(windows_core::Interface::as_raw(self), nitemindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IPhotoAcquireItem_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_Graphics_Gdi")] pub GetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::SIZE, *mut super::super::Graphics::Gdi::HBITMAP) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetThumbnail: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetProperty: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] SetProperty: usize, #[cfg(feature = "Win32_System_Com")] @@ -152,7 +152,7 @@ windows_core::imp::define_interface!(IPhotoAcquireOptionsDialog, IPhotoAcquireOp impl std::ops::Deref for IPhotoAcquireOptionsDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoAcquireOptionsDialog, windows_core::IUnknown); @@ -167,7 +167,7 @@ impl IPhotoAcquireOptionsDialog { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), hwndparent.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Destroy(&self) -> windows_core::Result<()> { @@ -196,7 +196,7 @@ windows_core::imp::define_interface!(IPhotoAcquirePlugin, IPhotoAcquirePlugin_Vt impl std::ops::Deref for IPhotoAcquirePlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoAcquirePlugin, windows_core::IUnknown); @@ -243,13 +243,13 @@ windows_core::imp::define_interface!(IPhotoAcquireProgressCB, IPhotoAcquireProgr impl std::ops::Deref for IPhotoAcquireProgressCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoAcquireProgressCB, windows_core::IUnknown); impl IPhotoAcquireProgressCB { pub unsafe fn Cancelled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cancelled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StartEnumeration(&self, pphotoacquiresource: P0) -> windows_core::Result<()> @@ -328,14 +328,14 @@ impl IPhotoAcquireProgressCB { (windows_core::Interface::vtable(self).EndSession)(windows_core::Interface::as_raw(self), hr).ok() } pub unsafe fn GetDeleteAfterAcquire(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeleteAfterAcquire)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ErrorAdvise(&self, hr: windows_core::HRESULT, pszerrormessage: P0, nmessagetype: ERROR_ADVISE_MESSAGE_TYPE) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ErrorAdvise)(windows_core::Interface::as_raw(self), hr, pszerrormessage.param().abi(), nmessagetype, &mut result__).map(|| result__) } pub unsafe fn GetUserInput(&self, riidtype: *const windows_core::GUID, punknown: P0, ppropvarresult: *mut windows_core::PROPVARIANT, ppropvardefault: Option<*const windows_core::PROPVARIANT>) -> windows_core::Result<()> @@ -366,13 +366,13 @@ pub struct IPhotoAcquireProgressCB_Vtbl { pub EndSession: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub GetDeleteAfterAcquire: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ErrorAdvise: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, windows_core::PCWSTR, ERROR_ADVISE_MESSAGE_TYPE, *mut ERROR_ADVISE_RESULT) -> windows_core::HRESULT, - pub GetUserInput: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUserInput: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoAcquireSettings, IPhotoAcquireSettings_Vtbl, 0x00f2b868_dd67_487c_9553_049240767e91); impl std::ops::Deref for IPhotoAcquireSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoAcquireSettings, windows_core::IUnknown); @@ -411,27 +411,27 @@ impl IPhotoAcquireSettings { (windows_core::Interface::vtable(self).SetAcquisitionTime)(windows_core::Interface::as_raw(self), pftacquisitiontime).ok() } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOutputFilenameTemplate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputFilenameTemplate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSequencePaddingWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSequencePaddingWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSequenceZeroPadding(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSequenceZeroPadding)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGroupTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroupTag)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAcquisitionTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAcquisitionTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -446,23 +446,23 @@ pub struct IPhotoAcquireSettings_Vtbl { pub SetGroupTag: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetAcquisitionTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetOutputFilenameTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetOutputFilenameTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSequencePaddingWidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetSequenceZeroPadding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetGroupTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetGroupTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetAcquisitionTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoAcquireSource, IPhotoAcquireSource_Vtbl, 0x00f2c703_8613_4282_a53b_6ec59c5883ac); impl std::ops::Deref for IPhotoAcquireSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoAcquireSource, windows_core::IUnknown); impl IPhotoAcquireSource { pub unsafe fn GetFriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -477,19 +477,19 @@ impl IPhotoAcquireSource { (windows_core::Interface::vtable(self).InitializeItemList)(windows_core::Interface::as_raw(self), fforceenumeration.param().abi(), pphotoacquireprogresscb.param().abi(), core::mem::transmute(pnitemcount.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemAt(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemAt)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPhotoAcquireSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPhotoAcquireSettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDeviceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BindToObject(&self, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -499,7 +499,7 @@ impl IPhotoAcquireSource { #[repr(C)] pub struct IPhotoAcquireSource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub GetDeviceIcons: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::UI::WindowsAndMessaging::HICON, *mut super::super::UI::WindowsAndMessaging::HICON) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] @@ -508,14 +508,14 @@ pub struct IPhotoAcquireSource_Vtbl { pub GetItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetItemAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPhotoAcquireSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BindToObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoProgressActionCB, IPhotoProgressActionCB_Vtbl, 0x00f242d0_b206_4e7d_b4c1_4755bcbb9c9f); impl std::ops::Deref for IPhotoProgressActionCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoProgressActionCB, windows_core::IUnknown); @@ -536,7 +536,7 @@ windows_core::imp::define_interface!(IPhotoProgressDialog, IPhotoProgressDialog_ impl std::ops::Deref for IPhotoProgressDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhotoProgressDialog, windows_core::IUnknown); @@ -548,7 +548,7 @@ impl IPhotoProgressDialog { (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), hwndparent.param().abi()).ok() } pub unsafe fn GetWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Destroy(&self) -> windows_core::Result<()> { @@ -585,7 +585,7 @@ impl IPhotoProgressDialog { (windows_core::Interface::vtable(self).SetCheckboxTooltip)(windows_core::Interface::as_raw(self), ncheckboxid, pszcheckboxtooltiptext.param().abi()).ok() } pub unsafe fn IsCheckboxChecked(&self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCheckboxChecked)(windows_core::Interface::as_raw(self), ncheckboxid, &mut result__).map(|| result__) } pub unsafe fn SetCaption(&self, psztitle: P0) -> windows_core::Result<()> @@ -630,7 +630,7 @@ impl IPhotoProgressDialog { (windows_core::Interface::vtable(self).ShowActionLink)(windows_core::Interface::as_raw(self), fshow.param().abi()).ok() } pub unsafe fn IsCancelled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCancelled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUserInput(&self, riidtype: *const windows_core::GUID, punknown: P0, ppropvarresult: *mut windows_core::PROPVARIANT, ppropvardefault: Option<*const windows_core::PROPVARIANT>) -> windows_core::Result<()> @@ -663,51 +663,51 @@ pub struct IPhotoProgressDialog_Vtbl { pub SetActionLinkText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub ShowActionLink: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsCancelled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetUserInput: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUserInput: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserInputString, IUserInputString_Vtbl, 0x00f243a1_205b_45ba_ae26_abbc53aa7a6f); impl std::ops::Deref for IUserInputString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserInputString, windows_core::IUnknown); impl IUserInputString { pub unsafe fn GetSubmitButtonText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubmitButtonText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPrompt(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrompt)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStringId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStringType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTooltipText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTooltipText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMaxLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDefault(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefault)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMruCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMruCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMruEntryAt(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMruEntryAt)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] @@ -718,15 +718,15 @@ impl IUserInputString { #[repr(C)] pub struct IUserInputString_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetSubmitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPrompt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetStringId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSubmitButtonText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPrompt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetStringType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut USER_INPUT_STRING_TYPE) -> windows_core::HRESULT, - pub GetTooltipText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTooltipText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetMaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetMruCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetMruEntryAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMruEntryAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] pub GetImage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Graphics::Gdi::HBITMAP, *mut super::super::UI::WindowsAndMessaging::HICON) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging")))] diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs index 3a85d80aa4..4d2d3415d3 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs @@ -818,8 +818,8 @@ impl ISpNotifyCallback_ImplVtbl { impl ISpNotifyCallback { pub fn new<'a, T: ISpNotifyCallback_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ISpNotifyCallback_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ISpNotifySink_Impl: Sized { @@ -3386,8 +3386,8 @@ impl ISpTask_ImplVtbl { impl ISpTask { pub fn new<'a, T: ISpTask_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ISpTask_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ISpTaskManager_Impl: Sized { @@ -3585,8 +3585,8 @@ impl ISpThreadTask_ImplVtbl { impl ISpThreadTask { pub fn new<'a, T: ISpThreadTask_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &ISpThreadTask_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait ISpTokenUI_Impl: Sized { @@ -4115,7 +4115,7 @@ impl ISpeechAudioFormat_Vtbl { let this = (*this).get_impl(); ISpeechAudioFormat_Impl::SetType(this, core::mem::transmute_copy(&audioformat)).into() } - unsafe extern "system" fn Guid, Impl: ISpeechAudioFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Guid, Impl: ISpeechAudioFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechAudioFormat_Impl::Guid(this) { @@ -4126,7 +4126,7 @@ impl ISpeechAudioFormat_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetGuid, Impl: ISpeechAudioFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGuid, Impl: ISpeechAudioFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechAudioFormat_Impl::SetGuid(this, core::mem::transmute(&guid)).into() @@ -4207,7 +4207,7 @@ impl ISpeechAudioStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentSeekPosition, Impl: ISpeechAudioStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, currentseekposition: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentSeekPosition, Impl: ISpeechAudioStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, currentseekposition: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechAudioStatus_Impl::CurrentSeekPosition(this) { @@ -4218,7 +4218,7 @@ impl ISpeechAudioStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentDevicePosition, Impl: ISpeechAudioStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, currentdeviceposition: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentDevicePosition, Impl: ISpeechAudioStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, currentdeviceposition: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechAudioStatus_Impl::CurrentDevicePosition(this) { @@ -4271,12 +4271,12 @@ impl ISpeechBaseStream_Vtbl { let this = (*this).get_impl(); ISpeechBaseStream_Impl::putref_Format(this, windows_core::from_raw_borrowed(&audioformat)).into() } - unsafe extern "system" fn Read, Impl: ISpeechBaseStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, buffer: *mut std::mem::MaybeUninit, numberofbytes: i32, bytesread: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Read, Impl: ISpeechBaseStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, buffer: *mut core::mem::MaybeUninit, numberofbytes: i32, bytesread: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechBaseStream_Impl::Read(this, core::mem::transmute_copy(&buffer), core::mem::transmute_copy(&numberofbytes), core::mem::transmute_copy(&bytesread)).into() } - unsafe extern "system" fn Write, Impl: ISpeechBaseStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, buffer: std::mem::MaybeUninit, byteswritten: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Write, Impl: ISpeechBaseStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, buffer: core::mem::MaybeUninit, byteswritten: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechBaseStream_Impl::Write(this, core::mem::transmute(&buffer)) { @@ -4287,7 +4287,7 @@ impl ISpeechBaseStream_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Seek, Impl: ISpeechBaseStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, position: std::mem::MaybeUninit, origin: SpeechStreamSeekPositionType, newposition: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Seek, Impl: ISpeechBaseStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, position: core::mem::MaybeUninit, origin: SpeechStreamSeekPositionType, newposition: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechBaseStream_Impl::Seek(this, core::mem::transmute(&position), core::mem::transmute_copy(&origin)) { @@ -4367,12 +4367,12 @@ impl windows_core::RuntimeName for ISpeechDataKey {} #[cfg(feature = "Win32_System_Com")] impl ISpeechDataKey_Vtbl { pub const fn new, Impl: ISpeechDataKey_Impl, const OFFSET: isize>() -> ISpeechDataKey_Vtbl { - unsafe extern "system" fn SetBinaryValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBinaryValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechDataKey_Impl::SetBinaryValue(this, core::mem::transmute(&valuename), core::mem::transmute(&value)).into() } - unsafe extern "system" fn GetBinaryValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBinaryValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechDataKey_Impl::GetBinaryValue(this, core::mem::transmute(&valuename)) { @@ -4383,12 +4383,12 @@ impl ISpeechDataKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStringValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStringValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechDataKey_Impl::SetStringValue(this, core::mem::transmute(&valuename), core::mem::transmute(&value)).into() } - unsafe extern "system" fn GetStringValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStringValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechDataKey_Impl::GetStringValue(this, core::mem::transmute(&valuename)) { @@ -4399,12 +4399,12 @@ impl ISpeechDataKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLongValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: std::mem::MaybeUninit, value: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetLongValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: core::mem::MaybeUninit, value: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechDataKey_Impl::SetLongValue(this, core::mem::transmute(&valuename), core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn GetLongValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: std::mem::MaybeUninit, value: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetLongValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: core::mem::MaybeUninit, value: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechDataKey_Impl::GetLongValue(this, core::mem::transmute(&valuename)) { @@ -4415,7 +4415,7 @@ impl ISpeechDataKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenKey, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subkeyname: std::mem::MaybeUninit, subkey: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenKey, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subkeyname: core::mem::MaybeUninit, subkey: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechDataKey_Impl::OpenKey(this, core::mem::transmute(&subkeyname)) { @@ -4426,7 +4426,7 @@ impl ISpeechDataKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateKey, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subkeyname: std::mem::MaybeUninit, subkey: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateKey, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subkeyname: core::mem::MaybeUninit, subkey: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechDataKey_Impl::CreateKey(this, core::mem::transmute(&subkeyname)) { @@ -4437,17 +4437,17 @@ impl ISpeechDataKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteKey, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subkeyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteKey, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subkeyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechDataKey_Impl::DeleteKey(this, core::mem::transmute(&subkeyname)).into() } - unsafe extern "system" fn DeleteValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteValue, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, valuename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechDataKey_Impl::DeleteValue(this, core::mem::transmute(&valuename)).into() } - unsafe extern "system" fn EnumKeys, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, subkeyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumKeys, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, subkeyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechDataKey_Impl::EnumKeys(this, core::mem::transmute_copy(&index)) { @@ -4458,7 +4458,7 @@ impl ISpeechDataKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumValues, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, valuename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumValues, Impl: ISpeechDataKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, valuename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechDataKey_Impl::EnumValues(this, core::mem::transmute_copy(&index)) { @@ -4499,7 +4499,7 @@ impl windows_core::RuntimeName for ISpeechFileStream {} #[cfg(feature = "Win32_System_Com")] impl ISpeechFileStream_Vtbl { pub const fn new, Impl: ISpeechFileStream_Impl, const OFFSET: isize>() -> ISpeechFileStream_Vtbl { - unsafe extern "system" fn Open, Impl: ISpeechFileStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit, filemode: SpeechStreamFileMode, doevents: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn Open, Impl: ISpeechFileStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit, filemode: SpeechStreamFileMode, doevents: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechFileStream_Impl::Open(this, core::mem::transmute(&filename), core::mem::transmute_copy(&filemode), core::mem::transmute_copy(&doevents)).into() @@ -4552,7 +4552,7 @@ impl ISpeechGrammarRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ISpeechGrammarRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISpeechGrammarRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechGrammarRule_Impl::Name(this) { @@ -4579,7 +4579,7 @@ impl ISpeechGrammarRule_Vtbl { let this = (*this).get_impl(); ISpeechGrammarRule_Impl::Clear(this).into() } - unsafe extern "system" fn AddResource, Impl: ISpeechGrammarRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourcename: std::mem::MaybeUninit, resourcevalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddResource, Impl: ISpeechGrammarRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourcename: core::mem::MaybeUninit, resourcevalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechGrammarRule_Impl::AddResource(this, core::mem::transmute(&resourcename), core::mem::transmute(&resourcevalue)).into() @@ -4645,17 +4645,17 @@ impl ISpeechGrammarRuleState_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddWordTransition, Impl: ISpeechGrammarRuleState_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deststate: *mut core::ffi::c_void, words: std::mem::MaybeUninit, separators: std::mem::MaybeUninit, r#type: SpeechGrammarWordType, propertyname: std::mem::MaybeUninit, propertyid: i32, propertyvalue: *const std::mem::MaybeUninit, weight: f32) -> windows_core::HRESULT { + unsafe extern "system" fn AddWordTransition, Impl: ISpeechGrammarRuleState_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deststate: *mut core::ffi::c_void, words: core::mem::MaybeUninit, separators: core::mem::MaybeUninit, r#type: SpeechGrammarWordType, propertyname: core::mem::MaybeUninit, propertyid: i32, propertyvalue: *const core::mem::MaybeUninit, weight: f32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechGrammarRuleState_Impl::AddWordTransition(this, windows_core::from_raw_borrowed(&deststate), core::mem::transmute(&words), core::mem::transmute(&separators), core::mem::transmute_copy(&r#type), core::mem::transmute(&propertyname), core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&propertyvalue), core::mem::transmute_copy(&weight)).into() } - unsafe extern "system" fn AddRuleTransition, Impl: ISpeechGrammarRuleState_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationstate: *mut core::ffi::c_void, rule: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, propertyid: i32, propertyvalue: *const std::mem::MaybeUninit, weight: f32) -> windows_core::HRESULT { + unsafe extern "system" fn AddRuleTransition, Impl: ISpeechGrammarRuleState_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationstate: *mut core::ffi::c_void, rule: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, propertyid: i32, propertyvalue: *const core::mem::MaybeUninit, weight: f32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechGrammarRuleState_Impl::AddRuleTransition(this, windows_core::from_raw_borrowed(&destinationstate), windows_core::from_raw_borrowed(&rule), core::mem::transmute(&propertyname), core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&propertyvalue), core::mem::transmute_copy(&weight)).into() } - unsafe extern "system" fn AddSpecialTransition, Impl: ISpeechGrammarRuleState_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationstate: *mut core::ffi::c_void, r#type: SpeechSpecialTransitionType, propertyname: std::mem::MaybeUninit, propertyid: i32, propertyvalue: *const std::mem::MaybeUninit, weight: f32) -> windows_core::HRESULT { + unsafe extern "system" fn AddSpecialTransition, Impl: ISpeechGrammarRuleState_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationstate: *mut core::ffi::c_void, r#type: SpeechSpecialTransitionType, propertyname: core::mem::MaybeUninit, propertyid: i32, propertyvalue: *const core::mem::MaybeUninit, weight: f32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechGrammarRuleState_Impl::AddSpecialTransition(this, windows_core::from_raw_borrowed(&destinationstate), core::mem::transmute_copy(&r#type), core::mem::transmute(&propertyname), core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&propertyvalue), core::mem::transmute_copy(&weight)).into() @@ -4700,7 +4700,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Text, Impl: ISpeechGrammarRuleStateTransition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Text, Impl: ISpeechGrammarRuleStateTransition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::Text(this) { @@ -4722,7 +4722,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Weight, Impl: ISpeechGrammarRuleStateTransition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, weight: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Weight, Impl: ISpeechGrammarRuleStateTransition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, weight: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::Weight(this) { @@ -4733,7 +4733,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PropertyName, Impl: ISpeechGrammarRuleStateTransition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PropertyName, Impl: ISpeechGrammarRuleStateTransition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::PropertyName(this) { @@ -4755,7 +4755,7 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PropertyValue, Impl: ISpeechGrammarRuleStateTransition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PropertyValue, Impl: ISpeechGrammarRuleStateTransition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechGrammarRuleStateTransition_Impl::PropertyValue(this) { @@ -4875,7 +4875,7 @@ impl ISpeechGrammarRules_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindRule, Impl: ISpeechGrammarRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulenameorid: std::mem::MaybeUninit, rule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindRule, Impl: ISpeechGrammarRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulenameorid: core::mem::MaybeUninit, rule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechGrammarRules_Impl::FindRule(this, core::mem::transmute(&rulenameorid)) { @@ -4919,7 +4919,7 @@ impl ISpeechGrammarRules_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ISpeechGrammarRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulename: std::mem::MaybeUninit, attributes: SpeechRuleAttributes, ruleid: i32, rule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ISpeechGrammarRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulename: core::mem::MaybeUninit, attributes: SpeechRuleAttributes, ruleid: i32, rule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechGrammarRules_Impl::Add(this, core::mem::transmute(&rulename), core::mem::transmute_copy(&attributes), core::mem::transmute_copy(&ruleid)) { @@ -4935,7 +4935,7 @@ impl ISpeechGrammarRules_Vtbl { let this = (*this).get_impl(); ISpeechGrammarRules_Impl::Commit(this).into() } - unsafe extern "system" fn CommitAndSave, Impl: ISpeechGrammarRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errortext: *mut std::mem::MaybeUninit, savestream: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CommitAndSave, Impl: ISpeechGrammarRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errortext: *mut core::mem::MaybeUninit, savestream: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechGrammarRules_Impl::CommitAndSave(this, core::mem::transmute_copy(&errortext), core::mem::transmute_copy(&savestream)).into() @@ -4988,27 +4988,27 @@ impl ISpeechLexicon_Vtbl { let this = (*this).get_impl(); ISpeechLexicon_Impl::GetWords(this, core::mem::transmute_copy(&flags), core::mem::transmute_copy(&generationid), core::mem::transmute_copy(&words)).into() } - unsafe extern "system" fn AddPronunciation, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: std::mem::MaybeUninit, langid: i32, partofspeech: SpeechPartOfSpeech, bstrpronunciation: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPronunciation, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: core::mem::MaybeUninit, langid: i32, partofspeech: SpeechPartOfSpeech, bstrpronunciation: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechLexicon_Impl::AddPronunciation(this, core::mem::transmute(&bstrword), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&partofspeech), core::mem::transmute(&bstrpronunciation)).into() } - unsafe extern "system" fn AddPronunciationByPhoneIds, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: std::mem::MaybeUninit, langid: i32, partofspeech: SpeechPartOfSpeech, phoneids: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPronunciationByPhoneIds, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: core::mem::MaybeUninit, langid: i32, partofspeech: SpeechPartOfSpeech, phoneids: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechLexicon_Impl::AddPronunciationByPhoneIds(this, core::mem::transmute(&bstrword), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&partofspeech), core::mem::transmute_copy(&phoneids)).into() } - unsafe extern "system" fn RemovePronunciation, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: std::mem::MaybeUninit, langid: i32, partofspeech: SpeechPartOfSpeech, bstrpronunciation: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemovePronunciation, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: core::mem::MaybeUninit, langid: i32, partofspeech: SpeechPartOfSpeech, bstrpronunciation: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechLexicon_Impl::RemovePronunciation(this, core::mem::transmute(&bstrword), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&partofspeech), core::mem::transmute(&bstrpronunciation)).into() } - unsafe extern "system" fn RemovePronunciationByPhoneIds, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: std::mem::MaybeUninit, langid: i32, partofspeech: SpeechPartOfSpeech, phoneids: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemovePronunciationByPhoneIds, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: core::mem::MaybeUninit, langid: i32, partofspeech: SpeechPartOfSpeech, phoneids: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechLexicon_Impl::RemovePronunciationByPhoneIds(this, core::mem::transmute(&bstrword), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&partofspeech), core::mem::transmute_copy(&phoneids)).into() } - unsafe extern "system" fn GetPronunciations, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: std::mem::MaybeUninit, langid: i32, typeflags: SpeechLexiconType, pppronunciations: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetPronunciations, Impl: ISpeechLexicon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrword: core::mem::MaybeUninit, langid: i32, typeflags: SpeechLexiconType, pppronunciations: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechLexicon_Impl::GetPronunciations(this, core::mem::transmute(&bstrword), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&typeflags)) { @@ -5086,7 +5086,7 @@ impl ISpeechLexiconPronunciation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PhoneIds, Impl: ISpeechLexiconPronunciation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phoneids: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PhoneIds, Impl: ISpeechLexiconPronunciation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phoneids: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechLexiconPronunciation_Impl::PhoneIds(this) { @@ -5097,7 +5097,7 @@ impl ISpeechLexiconPronunciation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Symbolic, Impl: ISpeechLexiconPronunciation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, symbolic: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Symbolic, Impl: ISpeechLexiconPronunciation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, symbolic: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechLexiconPronunciation_Impl::Symbolic(this) { @@ -5210,7 +5210,7 @@ impl ISpeechLexiconWord_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Word, Impl: ISpeechLexiconWord_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, word: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Word, Impl: ISpeechLexiconWord_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, word: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechLexiconWord_Impl::Word(this) { @@ -5378,12 +5378,12 @@ impl windows_core::RuntimeName for ISpeechMemoryStream {} #[cfg(feature = "Win32_System_Com")] impl ISpeechMemoryStream_Vtbl { pub const fn new, Impl: ISpeechMemoryStream_Impl, const OFFSET: isize>() -> ISpeechMemoryStream_Vtbl { - unsafe extern "system" fn SetData, Impl: ISpeechMemoryStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetData, Impl: ISpeechMemoryStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechMemoryStream_Impl::SetData(this, core::mem::transmute(&data)).into() } - unsafe extern "system" fn GetData, Impl: ISpeechMemoryStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetData, Impl: ISpeechMemoryStream_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechMemoryStream_Impl::GetData(this) { @@ -5425,7 +5425,7 @@ impl windows_core::RuntimeName for ISpeechObjectToken {} #[cfg(feature = "Win32_System_Com")] impl ISpeechObjectToken_Vtbl { pub const fn new, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>() -> ISpeechObjectToken_Vtbl { - unsafe extern "system" fn Id, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechObjectToken_Impl::Id(this) { @@ -5458,7 +5458,7 @@ impl ISpeechObjectToken_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescription, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locale: i32, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locale: i32, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechObjectToken_Impl::GetDescription(this, core::mem::transmute_copy(&locale)) { @@ -5469,12 +5469,12 @@ impl ISpeechObjectToken_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetId, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: std::mem::MaybeUninit, categoryid: std::mem::MaybeUninit, createifnotexist: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetId, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: core::mem::MaybeUninit, categoryid: core::mem::MaybeUninit, createifnotexist: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechObjectToken_Impl::SetId(this, core::mem::transmute(&id), core::mem::transmute(&categoryid), core::mem::transmute_copy(&createifnotexist)).into() } - unsafe extern "system" fn GetAttribute, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributename: std::mem::MaybeUninit, attributevalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttribute, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributename: core::mem::MaybeUninit, attributevalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechObjectToken_Impl::GetAttribute(this, core::mem::transmute(&attributename)) { @@ -5496,12 +5496,12 @@ impl ISpeechObjectToken_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectstorageclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectstorageclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechObjectToken_Impl::Remove(this, core::mem::transmute(&objectstorageclsid)).into() } - unsafe extern "system" fn GetStorageFileName, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectstorageclsid: std::mem::MaybeUninit, keyname: std::mem::MaybeUninit, filename: std::mem::MaybeUninit, folder: SpeechTokenShellFolder, filepath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStorageFileName, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectstorageclsid: core::mem::MaybeUninit, keyname: core::mem::MaybeUninit, filename: core::mem::MaybeUninit, folder: SpeechTokenShellFolder, filepath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechObjectToken_Impl::GetStorageFileName(this, core::mem::transmute(&objectstorageclsid), core::mem::transmute(&keyname), core::mem::transmute(&filename), core::mem::transmute_copy(&folder)) { @@ -5512,12 +5512,12 @@ impl ISpeechObjectToken_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoveStorageFileName, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectstorageclsid: std::mem::MaybeUninit, keyname: std::mem::MaybeUninit, deletefile: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveStorageFileName, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectstorageclsid: core::mem::MaybeUninit, keyname: core::mem::MaybeUninit, deletefile: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechObjectToken_Impl::RemoveStorageFileName(this, core::mem::transmute(&objectstorageclsid), core::mem::transmute(&keyname), core::mem::transmute_copy(&deletefile)).into() } - unsafe extern "system" fn IsUISupported, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typeofui: std::mem::MaybeUninit, extradata: *const std::mem::MaybeUninit, object: *mut core::ffi::c_void, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsUISupported, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typeofui: core::mem::MaybeUninit, extradata: *const core::mem::MaybeUninit, object: *mut core::ffi::c_void, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechObjectToken_Impl::IsUISupported(this, core::mem::transmute(&typeofui), core::mem::transmute_copy(&extradata), windows_core::from_raw_borrowed(&object)) { @@ -5528,12 +5528,12 @@ impl ISpeechObjectToken_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayUI, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: i32, title: std::mem::MaybeUninit, typeofui: std::mem::MaybeUninit, extradata: *const std::mem::MaybeUninit, object: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayUI, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: i32, title: core::mem::MaybeUninit, typeofui: core::mem::MaybeUninit, extradata: *const core::mem::MaybeUninit, object: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechObjectToken_Impl::DisplayUI(this, core::mem::transmute_copy(&hwnd), core::mem::transmute(&title), core::mem::transmute(&typeofui), core::mem::transmute_copy(&extradata), windows_core::from_raw_borrowed(&object)).into() } - unsafe extern "system" fn MatchesAttributes, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributes: std::mem::MaybeUninit, matches: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn MatchesAttributes, Impl: ISpeechObjectToken_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributes: core::mem::MaybeUninit, matches: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechObjectToken_Impl::MatchesAttributes(this, core::mem::transmute(&attributes)) { @@ -5579,7 +5579,7 @@ impl windows_core::RuntimeName for ISpeechObjectTokenCategory {} #[cfg(feature = "Win32_System_Com")] impl ISpeechObjectTokenCategory_Vtbl { pub const fn new, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>() -> ISpeechObjectTokenCategory_Vtbl { - unsafe extern "system" fn Id, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechObjectTokenCategory_Impl::Id(this) { @@ -5590,12 +5590,12 @@ impl ISpeechObjectTokenCategory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDefault, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tokenid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDefault, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tokenid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechObjectTokenCategory_Impl::SetDefault(this, core::mem::transmute(&tokenid)).into() } - unsafe extern "system" fn Default, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tokenid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Default, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tokenid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechObjectTokenCategory_Impl::Default(this) { @@ -5606,7 +5606,7 @@ impl ISpeechObjectTokenCategory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetId, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: std::mem::MaybeUninit, createifnotexist: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetId, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: core::mem::MaybeUninit, createifnotexist: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechObjectTokenCategory_Impl::SetId(this, core::mem::transmute(&id), core::mem::transmute_copy(&createifnotexist)).into() @@ -5622,7 +5622,7 @@ impl ISpeechObjectTokenCategory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumerateTokens, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: std::mem::MaybeUninit, optionalattributes: std::mem::MaybeUninit, tokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateTokens, Impl: ISpeechObjectTokenCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: core::mem::MaybeUninit, optionalattributes: core::mem::MaybeUninit, tokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechObjectTokenCategory_Impl::EnumerateTokens(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { @@ -5730,7 +5730,7 @@ impl ISpeechPhoneConverter_Vtbl { let this = (*this).get_impl(); ISpeechPhoneConverter_Impl::SetLanguageId(this, core::mem::transmute_copy(&languageid)).into() } - unsafe extern "system" fn PhoneToId, Impl: ISpeechPhoneConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phonemes: std::mem::MaybeUninit, idarray: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PhoneToId, Impl: ISpeechPhoneConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phonemes: core::mem::MaybeUninit, idarray: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhoneConverter_Impl::PhoneToId(this, core::mem::transmute(&phonemes)) { @@ -5741,7 +5741,7 @@ impl ISpeechPhoneConverter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IdToPhone, Impl: ISpeechPhoneConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idarray: std::mem::MaybeUninit, phonemes: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IdToPhone, Impl: ISpeechPhoneConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idarray: core::mem::MaybeUninit, phonemes: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhoneConverter_Impl::IdToPhone(this, core::mem::transmute(&idarray)) { @@ -5981,7 +5981,7 @@ impl ISpeechPhraseElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayText, Impl: ISpeechPhraseElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displaytext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayText, Impl: ISpeechPhraseElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displaytext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::DisplayText(this) { @@ -5992,7 +5992,7 @@ impl ISpeechPhraseElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LexicalForm, Impl: ISpeechPhraseElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lexicalform: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LexicalForm, Impl: ISpeechPhraseElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lexicalform: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::LexicalForm(this) { @@ -6003,7 +6003,7 @@ impl ISpeechPhraseElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Pronunciation, Impl: ISpeechPhraseElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pronunciation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Pronunciation, Impl: ISpeechPhraseElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pronunciation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseElement_Impl::Pronunciation(this) { @@ -6169,7 +6169,7 @@ impl ISpeechPhraseInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GrammarId, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, grammarid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GrammarId, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, grammarid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::GrammarId(this) { @@ -6180,7 +6180,7 @@ impl ISpeechPhraseInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StartTime, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starttime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StartTime, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, starttime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::StartTime(this) { @@ -6191,7 +6191,7 @@ impl ISpeechPhraseInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AudioStreamPosition, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, audiostreamposition: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AudioStreamPosition, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, audiostreamposition: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::AudioStreamPosition(this) { @@ -6279,7 +6279,7 @@ impl ISpeechPhraseInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EngineId, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, engineidguid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EngineId, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, engineidguid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::EngineId(this) { @@ -6290,7 +6290,7 @@ impl ISpeechPhraseInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnginePrivateData, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, privatedata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnginePrivateData, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, privatedata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::EnginePrivateData(this) { @@ -6301,7 +6301,7 @@ impl ISpeechPhraseInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SaveToMemory, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phraseblock: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveToMemory, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phraseblock: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::SaveToMemory(this) { @@ -6312,7 +6312,7 @@ impl ISpeechPhraseInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetText, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, startelement: i32, elements: i32, usereplacements: super::super::Foundation::VARIANT_BOOL, text: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: ISpeechPhraseInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, startelement: i32, elements: i32, usereplacements: super::super::Foundation::VARIANT_BOOL, text: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseInfo_Impl::GetText(this, core::mem::transmute_copy(&startelement), core::mem::transmute_copy(&elements), core::mem::transmute_copy(&usereplacements)) { @@ -6367,7 +6367,7 @@ impl windows_core::RuntimeName for ISpeechPhraseInfoBuilder {} #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseInfoBuilder_Vtbl { pub const fn new, Impl: ISpeechPhraseInfoBuilder_Impl, const OFFSET: isize>() -> ISpeechPhraseInfoBuilder_Vtbl { - unsafe extern "system" fn RestorePhraseFromMemory, Impl: ISpeechPhraseInfoBuilder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phraseinmemory: *const std::mem::MaybeUninit, phraseinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RestorePhraseFromMemory, Impl: ISpeechPhraseInfoBuilder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phraseinmemory: *const core::mem::MaybeUninit, phraseinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseInfoBuilder_Impl::RestorePhraseFromMemory(this, core::mem::transmute_copy(&phraseinmemory)) { @@ -6459,7 +6459,7 @@ impl windows_core::RuntimeName for ISpeechPhraseProperty {} #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseProperty_Vtbl { pub const fn new, Impl: ISpeechPhraseProperty_Impl, const OFFSET: isize>() -> ISpeechPhraseProperty_Vtbl { - unsafe extern "system" fn Name, Impl: ISpeechPhraseProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISpeechPhraseProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::Name(this) { @@ -6481,7 +6481,7 @@ impl ISpeechPhraseProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: ISpeechPhraseProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ISpeechPhraseProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseProperty_Impl::Value(this) { @@ -6598,7 +6598,7 @@ impl ISpeechPhraseReplacement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Text, Impl: ISpeechPhraseReplacement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Text, Impl: ISpeechPhraseReplacement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseReplacement_Impl::Text(this) { @@ -6714,7 +6714,7 @@ impl windows_core::RuntimeName for ISpeechPhraseRule {} #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseRule_Vtbl { pub const fn new, Impl: ISpeechPhraseRule_Impl, const OFFSET: isize>() -> ISpeechPhraseRule_Vtbl { - unsafe extern "system" fn Name, Impl: ISpeechPhraseRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISpeechPhraseRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechPhraseRule_Impl::Name(this) { @@ -6928,7 +6928,7 @@ impl ISpeechRecoContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RequestedUIType, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uitype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequestedUIType, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uitype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoContext_Impl::RequestedUIType(this) { @@ -7077,7 +7077,7 @@ impl ISpeechRecoContext_Vtbl { let this = (*this).get_impl(); ISpeechRecoContext_Impl::Resume(this).into() } - unsafe extern "system" fn CreateGrammar, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, grammarid: std::mem::MaybeUninit, grammar: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateGrammar, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, grammarid: core::mem::MaybeUninit, grammar: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoContext_Impl::CreateGrammar(this, core::mem::transmute(&grammarid)) { @@ -7088,7 +7088,7 @@ impl ISpeechRecoContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateResultFromMemory, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resultblock: *const std::mem::MaybeUninit, result: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateResultFromMemory, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resultblock: *const core::mem::MaybeUninit, result: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoContext_Impl::CreateResultFromMemory(this, core::mem::transmute_copy(&resultblock)) { @@ -7099,12 +7099,12 @@ impl ISpeechRecoContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Bookmark, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: SpeechBookmarkOptions, streampos: std::mem::MaybeUninit, bookmarkid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Bookmark, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: SpeechBookmarkOptions, streampos: core::mem::MaybeUninit, bookmarkid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoContext_Impl::Bookmark(this, core::mem::transmute_copy(&options), core::mem::transmute(&streampos), core::mem::transmute(&bookmarkid)).into() } - unsafe extern "system" fn SetAdaptationData, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, adaptationstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAdaptationData, Impl: ISpeechRecoContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, adaptationstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoContext_Impl::SetAdaptationData(this, core::mem::transmute(&adaptationstring)).into() @@ -7169,7 +7169,7 @@ impl windows_core::RuntimeName for ISpeechRecoGrammar {} #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoGrammar_Vtbl { pub const fn new, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>() -> ISpeechRecoGrammar_Vtbl { - unsafe extern "system" fn Id, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoGrammar_Impl::Id(this) { @@ -7223,32 +7223,32 @@ impl ISpeechRecoGrammar_Vtbl { let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::Reset(this, core::mem::transmute_copy(&newlanguage)).into() } - unsafe extern "system" fn CmdLoadFromFile, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { + unsafe extern "system" fn CmdLoadFromFile, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::CmdLoadFromFile(this, core::mem::transmute(&filename), core::mem::transmute_copy(&loadoption)).into() } - unsafe extern "system" fn CmdLoadFromObject, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, classid: std::mem::MaybeUninit, grammarname: std::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { + unsafe extern "system" fn CmdLoadFromObject, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, classid: core::mem::MaybeUninit, grammarname: core::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::CmdLoadFromObject(this, core::mem::transmute(&classid), core::mem::transmute(&grammarname), core::mem::transmute_copy(&loadoption)).into() } - unsafe extern "system" fn CmdLoadFromResource, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hmodule: i32, resourcename: std::mem::MaybeUninit, resourcetype: std::mem::MaybeUninit, languageid: i32, loadoption: SpeechLoadOption) -> windows_core::HRESULT { + unsafe extern "system" fn CmdLoadFromResource, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hmodule: i32, resourcename: core::mem::MaybeUninit, resourcetype: core::mem::MaybeUninit, languageid: i32, loadoption: SpeechLoadOption) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::CmdLoadFromResource(this, core::mem::transmute_copy(&hmodule), core::mem::transmute(&resourcename), core::mem::transmute(&resourcetype), core::mem::transmute_copy(&languageid), core::mem::transmute_copy(&loadoption)).into() } - unsafe extern "system" fn CmdLoadFromMemory, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, grammardata: std::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { + unsafe extern "system" fn CmdLoadFromMemory, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, grammardata: core::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::CmdLoadFromMemory(this, core::mem::transmute(&grammardata), core::mem::transmute_copy(&loadoption)).into() } - unsafe extern "system" fn CmdLoadFromProprietaryGrammar, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, proprietaryguid: std::mem::MaybeUninit, proprietarystring: std::mem::MaybeUninit, proprietarydata: std::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { + unsafe extern "system" fn CmdLoadFromProprietaryGrammar, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, proprietaryguid: core::mem::MaybeUninit, proprietarystring: core::mem::MaybeUninit, proprietarydata: core::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::CmdLoadFromProprietaryGrammar(this, core::mem::transmute(&proprietaryguid), core::mem::transmute(&proprietarystring), core::mem::transmute(&proprietarydata), core::mem::transmute_copy(&loadoption)).into() } - unsafe extern "system" fn CmdSetRuleState, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, state: SpeechRuleState) -> windows_core::HRESULT { + unsafe extern "system" fn CmdSetRuleState, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, state: SpeechRuleState) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::CmdSetRuleState(this, core::mem::transmute(&name), core::mem::transmute_copy(&state)).into() @@ -7258,7 +7258,7 @@ impl ISpeechRecoGrammar_Vtbl { let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::CmdSetRuleIdState(this, core::mem::transmute_copy(&ruleid), core::mem::transmute_copy(&state)).into() } - unsafe extern "system" fn DictationLoad, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, topicname: std::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { + unsafe extern "system" fn DictationLoad, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, topicname: core::mem::MaybeUninit, loadoption: SpeechLoadOption) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::DictationLoad(this, core::mem::transmute(&topicname), core::mem::transmute_copy(&loadoption)).into() @@ -7273,7 +7273,7 @@ impl ISpeechRecoGrammar_Vtbl { let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::DictationSetState(this, core::mem::transmute_copy(&state)).into() } - unsafe extern "system" fn SetWordSequenceData, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit, textlength: i32, info: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SetWordSequenceData, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit, textlength: i32, info: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::SetWordSequenceData(this, core::mem::transmute(&text), core::mem::transmute_copy(&textlength), windows_core::from_raw_borrowed(&info)).into() @@ -7283,7 +7283,7 @@ impl ISpeechRecoGrammar_Vtbl { let this = (*this).get_impl(); ISpeechRecoGrammar_Impl::SetTextSelection(this, windows_core::from_raw_borrowed(&info)).into() } - unsafe extern "system" fn IsPronounceable, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, word: std::mem::MaybeUninit, wordpronounceable: *mut SpeechWordPronounceable) -> windows_core::HRESULT { + unsafe extern "system" fn IsPronounceable, Impl: ISpeechRecoGrammar_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, word: core::mem::MaybeUninit, wordpronounceable: *mut SpeechWordPronounceable) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoGrammar_Impl::IsPronounceable(this, core::mem::transmute(&word)) { @@ -7421,7 +7421,7 @@ impl ISpeechRecoResult_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SaveToMemory, Impl: ISpeechRecoResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resultblock: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveToMemory, Impl: ISpeechRecoResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resultblock: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoResult_Impl::SaveToMemory(this) { @@ -7464,7 +7464,7 @@ impl windows_core::RuntimeName for ISpeechRecoResult2 {} #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoResult2_Vtbl { pub const fn new, Impl: ISpeechRecoResult2_Impl, const OFFSET: isize>() -> ISpeechRecoResult2_Vtbl { - unsafe extern "system" fn SetTextFeedback, Impl: ISpeechRecoResult2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedback: std::mem::MaybeUninit, wassuccessful: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetTextFeedback, Impl: ISpeechRecoResult2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedback: core::mem::MaybeUninit, wassuccessful: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoResult2_Impl::SetTextFeedback(this, core::mem::transmute(&feedback), core::mem::transmute_copy(&wassuccessful)).into() @@ -7578,7 +7578,7 @@ impl ISpeechRecoResultDispatch_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SaveToMemory, Impl: ISpeechRecoResultDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resultblock: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveToMemory, Impl: ISpeechRecoResultDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resultblock: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::SaveToMemory(this) { @@ -7594,7 +7594,7 @@ impl ISpeechRecoResultDispatch_Vtbl { let this = (*this).get_impl(); ISpeechRecoResultDispatch_Impl::DiscardResultInfo(this, core::mem::transmute_copy(&valuetypes)).into() } - unsafe extern "system" fn GetXMLResult, Impl: ISpeechRecoResultDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: SPXMLRESULTOPTIONS, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetXMLResult, Impl: ISpeechRecoResultDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: SPXMLRESULTOPTIONS, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoResultDispatch_Impl::GetXMLResult(this, core::mem::transmute_copy(&options)) { @@ -7605,12 +7605,12 @@ impl ISpeechRecoResultDispatch_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetXMLErrorInfo, Impl: ISpeechRecoResultDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, linenumber: *mut i32, scriptline: *mut std::mem::MaybeUninit, source: *mut std::mem::MaybeUninit, description: *mut std::mem::MaybeUninit, resultcode: *mut windows_core::HRESULT, iserror: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetXMLErrorInfo, Impl: ISpeechRecoResultDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, linenumber: *mut i32, scriptline: *mut core::mem::MaybeUninit, source: *mut core::mem::MaybeUninit, description: *mut core::mem::MaybeUninit, resultcode: *mut windows_core::HRESULT, iserror: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoResultDispatch_Impl::GetXMLErrorInfo(this, core::mem::transmute_copy(&linenumber), core::mem::transmute_copy(&scriptline), core::mem::transmute_copy(&source), core::mem::transmute_copy(&description), core::mem::transmute_copy(&resultcode), core::mem::transmute_copy(&iserror)).into() } - unsafe extern "system" fn SetTextFeedback, Impl: ISpeechRecoResultDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedback: std::mem::MaybeUninit, wassuccessful: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetTextFeedback, Impl: ISpeechRecoResultDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feedback: core::mem::MaybeUninit, wassuccessful: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecoResultDispatch_Impl::SetTextFeedback(this, core::mem::transmute(&feedback), core::mem::transmute_copy(&wassuccessful)).into() @@ -7648,7 +7648,7 @@ impl windows_core::RuntimeName for ISpeechRecoResultTimes {} #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoResultTimes_Vtbl { pub const fn new, Impl: ISpeechRecoResultTimes_Impl, const OFFSET: isize>() -> ISpeechRecoResultTimes_Vtbl { - unsafe extern "system" fn StreamTime, Impl: ISpeechRecoResultTimes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, time: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StreamTime, Impl: ISpeechRecoResultTimes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, time: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoResultTimes_Impl::StreamTime(this) { @@ -7659,7 +7659,7 @@ impl ISpeechRecoResultTimes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Length, Impl: ISpeechRecoResultTimes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, length: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Length, Impl: ISpeechRecoResultTimes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, length: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoResultTimes_Impl::Length(this) { @@ -7681,7 +7681,7 @@ impl ISpeechRecoResultTimes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OffsetFromStart, Impl: ISpeechRecoResultTimes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offsetfromstart: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OffsetFromStart, Impl: ISpeechRecoResultTimes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offsetfromstart: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecoResultTimes_Impl::OffsetFromStart(this) { @@ -7856,7 +7856,7 @@ impl ISpeechRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EmulateRecognition, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, textelements: std::mem::MaybeUninit, elementdisplayattributes: *const std::mem::MaybeUninit, languageid: i32) -> windows_core::HRESULT { + unsafe extern "system" fn EmulateRecognition, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, textelements: core::mem::MaybeUninit, elementdisplayattributes: *const core::mem::MaybeUninit, languageid: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecognizer_Impl::EmulateRecognition(this, core::mem::transmute(&textelements), core::mem::transmute_copy(&elementdisplayattributes), core::mem::transmute_copy(&languageid)).into() @@ -7883,7 +7883,7 @@ impl ISpeechRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPropertyNumber, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: i32, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetPropertyNumber, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: i32, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognizer_Impl::SetPropertyNumber(this, core::mem::transmute(&name), core::mem::transmute_copy(&value)) { @@ -7894,12 +7894,12 @@ impl ISpeechRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPropertyNumber, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: *mut i32, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyNumber, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: *mut i32, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecognizer_Impl::GetPropertyNumber(this, core::mem::transmute(&name), core::mem::transmute_copy(&value), core::mem::transmute_copy(&supported)).into() } - unsafe extern "system" fn SetPropertyString, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetPropertyString, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognizer_Impl::SetPropertyString(this, core::mem::transmute(&name), core::mem::transmute(&value)) { @@ -7910,12 +7910,12 @@ impl ISpeechRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPropertyString, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyString, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecognizer_Impl::GetPropertyString(this, core::mem::transmute(&name), core::mem::transmute_copy(&value), core::mem::transmute_copy(&supported)).into() } - unsafe extern "system" fn IsUISupported, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typeofui: std::mem::MaybeUninit, extradata: *const std::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsUISupported, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typeofui: core::mem::MaybeUninit, extradata: *const core::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognizer_Impl::IsUISupported(this, core::mem::transmute(&typeofui), core::mem::transmute_copy(&extradata)) { @@ -7926,12 +7926,12 @@ impl ISpeechRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayUI, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: i32, title: std::mem::MaybeUninit, typeofui: std::mem::MaybeUninit, extradata: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayUI, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: i32, title: core::mem::MaybeUninit, typeofui: core::mem::MaybeUninit, extradata: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechRecognizer_Impl::DisplayUI(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute(&title), core::mem::transmute(&typeofui), core::mem::transmute_copy(&extradata)).into() } - unsafe extern "system" fn GetRecognizers, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: std::mem::MaybeUninit, optionalattributes: std::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetRecognizers, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: core::mem::MaybeUninit, optionalattributes: core::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognizer_Impl::GetRecognizers(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { @@ -7942,7 +7942,7 @@ impl ISpeechRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAudioInputs, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: std::mem::MaybeUninit, optionalattributes: std::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetAudioInputs, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: core::mem::MaybeUninit, optionalattributes: core::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognizer_Impl::GetAudioInputs(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { @@ -7953,7 +7953,7 @@ impl ISpeechRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProfiles, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: std::mem::MaybeUninit, optionalattributes: std::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetProfiles, Impl: ISpeechRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: core::mem::MaybeUninit, optionalattributes: core::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognizer_Impl::GetProfiles(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { @@ -8023,7 +8023,7 @@ impl ISpeechRecognizerStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentStreamPosition, Impl: ISpeechRecognizerStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcurrentstreampos: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentStreamPosition, Impl: ISpeechRecognizerStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcurrentstreampos: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognizerStatus_Impl::CurrentStreamPosition(this) { @@ -8056,7 +8056,7 @@ impl ISpeechRecognizerStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClsidEngine, Impl: ISpeechRecognizerStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clsidengine: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClsidEngine, Impl: ISpeechRecognizerStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clsidengine: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognizerStatus_Impl::ClsidEngine(this) { @@ -8067,7 +8067,7 @@ impl ISpeechRecognizerStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SupportedLanguages, Impl: ISpeechRecognizerStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, supportedlanguages: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SupportedLanguages, Impl: ISpeechRecognizerStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, supportedlanguages: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechRecognizerStatus_Impl::SupportedLanguages(this) { @@ -8103,17 +8103,17 @@ impl windows_core::RuntimeName for ISpeechResourceLoader {} #[cfg(feature = "Win32_System_Com")] impl ISpeechResourceLoader_Vtbl { pub const fn new, Impl: ISpeechResourceLoader_Impl, const OFFSET: isize>() -> ISpeechResourceLoader_Vtbl { - unsafe extern "system" fn LoadResource, Impl: ISpeechResourceLoader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourceuri: std::mem::MaybeUninit, falwaysreload: super::super::Foundation::VARIANT_BOOL, pstream: *mut *mut core::ffi::c_void, pbstrmimetype: *mut std::mem::MaybeUninit, pfmodified: *mut super::super::Foundation::VARIANT_BOOL, pbstrredirecturl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoadResource, Impl: ISpeechResourceLoader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourceuri: core::mem::MaybeUninit, falwaysreload: super::super::Foundation::VARIANT_BOOL, pstream: *mut *mut core::ffi::c_void, pbstrmimetype: *mut core::mem::MaybeUninit, pfmodified: *mut super::super::Foundation::VARIANT_BOOL, pbstrredirecturl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechResourceLoader_Impl::LoadResource(this, core::mem::transmute(&bstrresourceuri), core::mem::transmute_copy(&falwaysreload), core::mem::transmute_copy(&pstream), core::mem::transmute_copy(&pbstrmimetype), core::mem::transmute_copy(&pfmodified), core::mem::transmute_copy(&pbstrredirecturl)).into() } - unsafe extern "system" fn GetLocalCopy, Impl: ISpeechResourceLoader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourceuri: std::mem::MaybeUninit, pbstrlocalpath: *mut std::mem::MaybeUninit, pbstrmimetype: *mut std::mem::MaybeUninit, pbstrredirecturl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLocalCopy, Impl: ISpeechResourceLoader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourceuri: core::mem::MaybeUninit, pbstrlocalpath: *mut core::mem::MaybeUninit, pbstrmimetype: *mut core::mem::MaybeUninit, pbstrredirecturl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechResourceLoader_Impl::GetLocalCopy(this, core::mem::transmute(&bstrresourceuri), core::mem::transmute_copy(&pbstrlocalpath), core::mem::transmute_copy(&pbstrmimetype), core::mem::transmute_copy(&pbstrredirecturl)).into() } - unsafe extern "system" fn ReleaseLocalCopy, Impl: ISpeechResourceLoader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlocalpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReleaseLocalCopy, Impl: ISpeechResourceLoader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlocalpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechResourceLoader_Impl::ReleaseLocalCopy(this, core::mem::transmute(&pbstrlocalpath)).into() @@ -8436,7 +8436,7 @@ impl ISpeechVoice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Speak, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit, flags: SpeechVoiceSpeakFlags, streamnumber: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Speak, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit, flags: SpeechVoiceSpeakFlags, streamnumber: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechVoice_Impl::Speak(this, core::mem::transmute(&text), core::mem::transmute_copy(&flags)) { @@ -8468,7 +8468,7 @@ impl ISpeechVoice_Vtbl { let this = (*this).get_impl(); ISpeechVoice_Impl::Resume(this).into() } - unsafe extern "system" fn Skip, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: std::mem::MaybeUninit, numitems: i32, numskipped: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Skip, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: core::mem::MaybeUninit, numitems: i32, numskipped: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechVoice_Impl::Skip(this, core::mem::transmute(&r#type), core::mem::transmute_copy(&numitems)) { @@ -8479,7 +8479,7 @@ impl ISpeechVoice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetVoices, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: std::mem::MaybeUninit, optionalattributes: std::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetVoices, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: core::mem::MaybeUninit, optionalattributes: core::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechVoice_Impl::GetVoices(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { @@ -8490,7 +8490,7 @@ impl ISpeechVoice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAudioOutputs, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: std::mem::MaybeUninit, optionalattributes: std::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetAudioOutputs, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requiredattributes: core::mem::MaybeUninit, optionalattributes: core::mem::MaybeUninit, objecttokens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechVoice_Impl::GetAudioOutputs(this, core::mem::transmute(&requiredattributes), core::mem::transmute(&optionalattributes)) { @@ -8523,7 +8523,7 @@ impl ISpeechVoice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsUISupported, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typeofui: std::mem::MaybeUninit, extradata: *const std::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsUISupported, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, typeofui: core::mem::MaybeUninit, extradata: *const core::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechVoice_Impl::IsUISupported(this, core::mem::transmute(&typeofui), core::mem::transmute_copy(&extradata)) { @@ -8534,7 +8534,7 @@ impl ISpeechVoice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayUI, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: i32, title: std::mem::MaybeUninit, typeofui: std::mem::MaybeUninit, extradata: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayUI, Impl: ISpeechVoice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: i32, title: core::mem::MaybeUninit, typeofui: core::mem::MaybeUninit, extradata: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechVoice_Impl::DisplayUI(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute(&title), core::mem::transmute(&typeofui), core::mem::transmute_copy(&extradata)).into() @@ -8687,7 +8687,7 @@ impl ISpeechVoiceStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LastBookmark, Impl: ISpeechVoiceStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bookmark: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastBookmark, Impl: ISpeechVoiceStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bookmark: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechVoiceStatus_Impl::LastBookmark(this) { @@ -8869,7 +8869,7 @@ impl ISpeechWaveFormatEx_Vtbl { let this = (*this).get_impl(); ISpeechWaveFormatEx_Impl::SetBitsPerSample(this, core::mem::transmute_copy(&bitspersample)).into() } - unsafe extern "system" fn ExtraData, Impl: ISpeechWaveFormatEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, extradata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtraData, Impl: ISpeechWaveFormatEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, extradata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechWaveFormatEx_Impl::ExtraData(this) { @@ -8880,7 +8880,7 @@ impl ISpeechWaveFormatEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExtraData, Impl: ISpeechWaveFormatEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, extradata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExtraData, Impl: ISpeechWaveFormatEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, extradata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechWaveFormatEx_Impl::SetExtraData(this, core::mem::transmute(&extradata)).into() @@ -8917,7 +8917,7 @@ impl windows_core::RuntimeName for ISpeechXMLRecoResult {} #[cfg(feature = "Win32_System_Com")] impl ISpeechXMLRecoResult_Vtbl { pub const fn new, Impl: ISpeechXMLRecoResult_Impl, const OFFSET: isize>() -> ISpeechXMLRecoResult_Vtbl { - unsafe extern "system" fn GetXMLResult, Impl: ISpeechXMLRecoResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: SPXMLRESULTOPTIONS, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetXMLResult, Impl: ISpeechXMLRecoResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: SPXMLRESULTOPTIONS, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpeechXMLRecoResult_Impl::GetXMLResult(this, core::mem::transmute_copy(&options)) { @@ -8928,7 +8928,7 @@ impl ISpeechXMLRecoResult_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetXMLErrorInfo, Impl: ISpeechXMLRecoResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, linenumber: *mut i32, scriptline: *mut std::mem::MaybeUninit, source: *mut std::mem::MaybeUninit, description: *mut std::mem::MaybeUninit, resultcode: *mut i32, iserror: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetXMLErrorInfo, Impl: ISpeechXMLRecoResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, linenumber: *mut i32, scriptline: *mut core::mem::MaybeUninit, source: *mut core::mem::MaybeUninit, description: *mut core::mem::MaybeUninit, resultcode: *mut i32, iserror: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISpeechXMLRecoResult_Impl::GetXMLErrorInfo(this, core::mem::transmute_copy(&linenumber), core::mem::transmute_copy(&scriptline), core::mem::transmute_copy(&source), core::mem::transmute_copy(&description), core::mem::transmute_copy(&resultcode), core::mem::transmute_copy(&iserror)).into() 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 9806e832d2..e32142ea70 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IEnumSpObjectTokens, IEnumSpObjectTokens_Vt impl std::ops::Deref for IEnumSpObjectTokens { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSpObjectTokens, windows_core::IUnknown); @@ -17,11 +17,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Item(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self, pcount: *mut u32) -> windows_core::Result<()> { @@ -44,7 +44,7 @@ windows_core::imp::define_interface!(ISpAudio, ISpAudio_Vtbl, 0xc05c768f_fae8_4e impl std::ops::Deref for ISpAudio { type Target = ISpStreamFormat; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -113,7 +113,7 @@ windows_core::imp::define_interface!(ISpCFGInterpreter, ISpCFGInterpreter_Vtbl, impl std::ops::Deref for ISpCFGInterpreter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpCFGInterpreter, windows_core::IUnknown); @@ -142,7 +142,7 @@ windows_core::imp::define_interface!(ISpCFGInterpreterSite, ISpCFGInterpreterSit impl std::ops::Deref for ISpCFGInterpreterSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpCFGInterpreterSite, windows_core::IUnknown); @@ -157,7 +157,7 @@ impl ISpCFGInterpreterSite { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourceValue)(windows_core::Interface::as_raw(self), pszresourcename.param().abi(), &mut result__).map(|| result__) } } @@ -172,7 +172,7 @@ windows_core::imp::define_interface!(ISpContainerLexicon, ISpContainerLexicon_Vt impl std::ops::Deref for ISpContainerLexicon { type Target = ISpLexicon; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpContainerLexicon, windows_core::IUnknown, ISpLexicon); @@ -193,7 +193,7 @@ windows_core::imp::define_interface!(ISpDataKey, ISpDataKey_Vtbl, 0x14056581_e16 impl std::ops::Deref for ISpDataKey { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpDataKey, windows_core::IUnknown); @@ -221,7 +221,7 @@ impl ISpDataKey { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringValue)(windows_core::Interface::as_raw(self), pszvaluename.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetDWORD(&self, pszvaluename: P0, dwvalue: u32) -> windows_core::Result<()> @@ -240,14 +240,14 @@ impl ISpDataKey { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenKey)(windows_core::Interface::as_raw(self), pszsubkeyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateKey(&self, pszsubkey: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateKey)(windows_core::Interface::as_raw(self), pszsubkey.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteKey(&self, pszsubkey: P0) -> windows_core::Result<()> @@ -263,11 +263,11 @@ impl ISpDataKey { (windows_core::Interface::vtable(self).DeleteValue)(windows_core::Interface::as_raw(self), pszvaluename.param().abi()).ok() } pub unsafe fn EnumKeys(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumKeys)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn EnumValues(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumValues)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } } @@ -291,7 +291,7 @@ windows_core::imp::define_interface!(ISpDisplayAlternates, ISpDisplayAlternates_ impl std::ops::Deref for ISpDisplayAlternates { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpDisplayAlternates, windows_core::IUnknown); @@ -313,7 +313,7 @@ windows_core::imp::define_interface!(ISpEnginePronunciation, ISpEnginePronunciat impl std::ops::Deref for ISpEnginePronunciation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpEnginePronunciation, windows_core::IUnknown); @@ -345,7 +345,7 @@ windows_core::imp::define_interface!(ISpErrorLog, ISpErrorLog_Vtbl, 0xf4711347_e impl std::ops::Deref for ISpErrorLog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpErrorLog, windows_core::IUnknown); @@ -367,7 +367,7 @@ windows_core::imp::define_interface!(ISpEventSink, ISpEventSink_Vtbl, 0xbe7a9cc9 impl std::ops::Deref for ISpEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpEventSink, windows_core::IUnknown); @@ -389,7 +389,7 @@ windows_core::imp::define_interface!(ISpEventSource, ISpEventSource_Vtbl, 0xbe7a impl std::ops::Deref for ISpEventSource { type Target = ISpNotifySource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpEventSource, windows_core::IUnknown, ISpNotifySource); @@ -415,7 +415,7 @@ windows_core::imp::define_interface!(ISpEventSource2, ISpEventSource2_Vtbl, 0x23 impl std::ops::Deref for ISpEventSource2 { type Target = ISpEventSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpEventSource2, windows_core::IUnknown, ISpNotifySource, ISpEventSource); @@ -433,7 +433,7 @@ windows_core::imp::define_interface!(ISpGramCompBackend, ISpGramCompBackend_Vtbl impl std::ops::Deref for ISpGramCompBackend { type Target = ISpGrammarBuilder; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpGramCompBackend, windows_core::IUnknown, ISpGrammarBuilder); @@ -463,7 +463,7 @@ windows_core::imp::define_interface!(ISpGrammarBuilder, ISpGrammarBuilder_Vtbl, impl std::ops::Deref for ISpGrammarBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpGrammarBuilder, windows_core::IUnknown); @@ -535,7 +535,7 @@ windows_core::imp::define_interface!(ISpGrammarBuilder2, ISpGrammarBuilder2_Vtbl impl std::ops::Deref for ISpGrammarBuilder2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpGrammarBuilder2, windows_core::IUnknown); @@ -562,7 +562,7 @@ windows_core::imp::define_interface!(ISpGrammarCompiler, ISpGrammarCompiler_Vtbl impl std::ops::Deref for ISpGrammarCompiler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpGrammarCompiler, windows_core::IUnknown); @@ -591,7 +591,7 @@ windows_core::imp::define_interface!(ISpITNProcessor, ISpITNProcessor_Vtbl, 0x12 impl std::ops::Deref for ISpITNProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpITNProcessor, windows_core::IUnknown); @@ -619,7 +619,7 @@ windows_core::imp::define_interface!(ISpLexicon, ISpLexicon_Vtbl, 0xda41a7c2_538 impl std::ops::Deref for ISpLexicon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpLexicon, windows_core::IUnknown); @@ -668,7 +668,7 @@ windows_core::imp::define_interface!(ISpMMSysAudio, ISpMMSysAudio_Vtbl, 0x15806f impl std::ops::Deref for ISpMMSysAudio { type Target = ISpAudio; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -719,7 +719,7 @@ windows_core::imp::define_interface!(ISpNotifySink, ISpNotifySink_Vtbl, 0x259684 impl std::ops::Deref for ISpNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpNotifySink, windows_core::IUnknown); @@ -737,7 +737,7 @@ windows_core::imp::define_interface!(ISpNotifySource, ISpNotifySource_Vtbl, 0x5e impl std::ops::Deref for ISpNotifySource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpNotifySource, windows_core::IUnknown); @@ -796,7 +796,7 @@ windows_core::imp::define_interface!(ISpNotifyTranslator, ISpNotifyTranslator_Vt impl std::ops::Deref for ISpNotifyTranslator { type Target = ISpNotifySink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpNotifyTranslator, windows_core::IUnknown, ISpNotifySink); @@ -852,7 +852,7 @@ windows_core::imp::define_interface!(ISpObjectToken, ISpObjectToken_Vtbl, 0x1405 impl std::ops::Deref for ISpObjectToken { type Target = ISpDataKey; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpObjectToken, windows_core::IUnknown, ISpDataKey); @@ -866,11 +866,11 @@ impl ISpObjectToken { (windows_core::Interface::vtable(self).SetId)(windows_core::Interface::as_raw(self), pszcategoryid.param().abi(), psztokenid.param().abi(), fcreateifnotexist.param().abi()).ok() } pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCategory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInstance(&self, punkouter: P0, dwclscontext: u32, riid: *const windows_core::GUID, ppvobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -884,7 +884,7 @@ impl ISpObjectToken { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStorageFileName)(windows_core::Interface::as_raw(self), clsidcaller, pszvaluename.param().abi(), pszfilenamespecifier.param().abi(), nfolder, &mut result__).map(|| result__) } pub unsafe fn RemoveStorageFileName(&self, clsidcaller: *const windows_core::GUID, pszkeyname: P0, fdeletefile: P1) -> windows_core::Result<()> @@ -938,7 +938,7 @@ windows_core::imp::define_interface!(ISpObjectTokenCategory, ISpObjectTokenCateg impl std::ops::Deref for ISpObjectTokenCategory { type Target = ISpDataKey; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpObjectTokenCategory, windows_core::IUnknown, ISpDataKey); @@ -951,11 +951,11 @@ impl ISpObjectTokenCategory { (windows_core::Interface::vtable(self).SetId)(windows_core::Interface::as_raw(self), pszcategoryid.param().abi(), fcreateifnotexist.param().abi()).ok() } pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataKey(&self, spdkl: SPDATAKEYLOCATION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataKey)(windows_core::Interface::as_raw(self), spdkl, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumTokens(&self, pzsreqattribs: P0, pszoptattribs: P1) -> windows_core::Result @@ -963,7 +963,7 @@ impl ISpObjectTokenCategory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumTokens)(windows_core::Interface::as_raw(self), pzsreqattribs.param().abi(), pszoptattribs.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefaultTokenId(&self, psztokenid: P0) -> windows_core::Result<()> @@ -973,7 +973,7 @@ impl ISpObjectTokenCategory { (windows_core::Interface::vtable(self).SetDefaultTokenId)(windows_core::Interface::as_raw(self), psztokenid.param().abi()).ok() } pub unsafe fn GetDefaultTokenId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultTokenId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -991,7 +991,7 @@ windows_core::imp::define_interface!(ISpObjectTokenEnumBuilder, ISpObjectTokenEn impl std::ops::Deref for ISpObjectTokenEnumBuilder { type Target = IEnumSpObjectTokens; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpObjectTokenEnumBuilder, windows_core::IUnknown, IEnumSpObjectTokens); @@ -1040,7 +1040,7 @@ windows_core::imp::define_interface!(ISpObjectTokenInit, ISpObjectTokenInit_Vtbl impl std::ops::Deref for ISpObjectTokenInit { type Target = ISpObjectToken; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpObjectTokenInit, windows_core::IUnknown, ISpDataKey, ISpObjectToken); @@ -1063,7 +1063,7 @@ windows_core::imp::define_interface!(ISpObjectWithToken, ISpObjectWithToken_Vtbl impl std::ops::Deref for ISpObjectWithToken { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpObjectWithToken, windows_core::IUnknown); @@ -1075,7 +1075,7 @@ impl ISpObjectWithToken { (windows_core::Interface::vtable(self).SetObjectToken)(windows_core::Interface::as_raw(self), ptoken.param().abi()).ok() } pub unsafe fn GetObjectToken(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectToken)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1089,7 +1089,7 @@ windows_core::imp::define_interface!(ISpPhoneConverter, ISpPhoneConverter_Vtbl, impl std::ops::Deref for ISpPhoneConverter { type Target = ISpObjectWithToken; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpPhoneConverter, windows_core::IUnknown, ISpObjectWithToken); @@ -1098,7 +1098,7 @@ impl ISpPhoneConverter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhoneToId)(windows_core::Interface::as_raw(self), pszphone.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IdToPhone(&self, pid: *const u16, pszphone: windows_core::PWSTR) -> windows_core::Result<()> { @@ -1115,13 +1115,13 @@ windows_core::imp::define_interface!(ISpPhoneticAlphabetConverter, ISpPhoneticAl impl std::ops::Deref for ISpPhoneticAlphabetConverter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpPhoneticAlphabetConverter, windows_core::IUnknown); impl ISpPhoneticAlphabetConverter { pub unsafe fn GetLangId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLangId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLangId(&self, langid: u16) -> windows_core::Result<()> { @@ -1137,7 +1137,7 @@ impl ISpPhoneticAlphabetConverter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxConvertLength)(windows_core::Interface::as_raw(self), csrclength, bsapi2ups.param().abi(), &mut result__).map(|| result__) } } @@ -1154,13 +1154,13 @@ windows_core::imp::define_interface!(ISpPhoneticAlphabetSelection, ISpPhoneticAl impl std::ops::Deref for ISpPhoneticAlphabetSelection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpPhoneticAlphabetSelection, windows_core::IUnknown); impl ISpPhoneticAlphabetSelection { pub unsafe fn IsAlphabetUPS(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAlphabetUPS)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAlphabetToUPS(&self, fforceups: P0) -> windows_core::Result<()> @@ -1180,17 +1180,17 @@ windows_core::imp::define_interface!(ISpPhrase, ISpPhrase_Vtbl, 0x1a5c0354_b621_ impl std::ops::Deref for ISpPhrase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpPhrase, windows_core::IUnknown); impl ISpPhrase { pub unsafe fn GetPhrase(&self) -> windows_core::Result<*mut SPPHRASE> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPhrase)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSerializedPhrase(&self) -> windows_core::Result<*mut SPSERIALIZEDPHRASE> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSerializedPhrase)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetText(&self, ulstart: u32, ulcount: u32, fusetextreplacements: P0, ppszcomemtext: *mut windows_core::PWSTR, pbdisplayattributes: Option<*mut u8>) -> windows_core::Result<()> @@ -1215,7 +1215,7 @@ windows_core::imp::define_interface!(ISpPhrase2, ISpPhrase2_Vtbl, 0xf264da52_e45 impl std::ops::Deref for ISpPhrase2 { type Target = ISpPhrase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpPhrase2, windows_core::IUnknown, ISpPhrase); @@ -1228,7 +1228,7 @@ impl ISpPhrase2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAudio(&self, ulstartelement: u32, celements: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudio)(windows_core::Interface::as_raw(self), ulstartelement, celements, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1246,7 +1246,7 @@ windows_core::imp::define_interface!(ISpPhraseAlt, ISpPhraseAlt_Vtbl, 0x8fcebc98 impl std::ops::Deref for ISpPhraseAlt { type Target = ISpPhrase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpPhraseAlt, windows_core::IUnknown, ISpPhrase); @@ -1268,7 +1268,7 @@ windows_core::imp::define_interface!(ISpPhraseBuilder, ISpPhraseBuilder_Vtbl, 0x impl std::ops::Deref for ISpPhraseBuilder { type Target = ISpPhrase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpPhraseBuilder, windows_core::IUnknown, ISpPhrase); @@ -1286,14 +1286,14 @@ impl ISpPhraseBuilder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddRules)(windows_core::Interface::as_raw(self), hparent.param().abi(), prule, &mut result__).map(|| result__) } pub unsafe fn AddProperties(&self, hparent: P0, pproperty: *const SPPHRASEPROPERTY) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddProperties)(windows_core::Interface::as_raw(self), hparent.param().abi(), pproperty, &mut result__).map(|| result__) } pub unsafe fn AddReplacements(&self, creplacements: u32, preplacements: *const SPPHRASEREPLACEMENT) -> windows_core::Result<()> { @@ -1314,7 +1314,7 @@ windows_core::imp::define_interface!(ISpPrivateEngineCallEx, ISpPrivateEngineCal impl std::ops::Deref for ISpPrivateEngineCallEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpPrivateEngineCallEx, windows_core::IUnknown); @@ -1336,7 +1336,7 @@ windows_core::imp::define_interface!(ISpProperties, ISpProperties_Vtbl, 0x5b4fb9 impl std::ops::Deref for ISpProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpProperties, windows_core::IUnknown); @@ -1364,7 +1364,7 @@ impl ISpProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyString)(windows_core::Interface::as_raw(self), pname.param().abi(), &mut result__).map(|| result__) } } @@ -1380,17 +1380,17 @@ windows_core::imp::define_interface!(ISpRecoContext, ISpRecoContext_Vtbl, 0xf740 impl std::ops::Deref for ISpRecoContext { type Target = ISpEventSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpRecoContext, windows_core::IUnknown, ISpNotifySource, ISpEventSource); impl ISpRecoContext { pub unsafe fn GetRecognizer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecognizer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateGrammar(&self, ullgrammarid: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGrammar)(windows_core::Interface::as_raw(self), ullgrammarid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStatus(&self, pstatus: *mut SPRECOCONTEXTSTATUS) -> windows_core::Result<()> { @@ -1411,7 +1411,7 @@ impl ISpRecoContext { (windows_core::Interface::vtable(self).GetAudioOptions)(windows_core::Interface::as_raw(self), poptions, paudioformatid, ppcomemwfex).ok() } pub unsafe fn DeserializeResult(&self, pserializedresult: *const SPSERIALIZEDRESULT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeserializeResult)(windows_core::Interface::as_raw(self), pserializedresult, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Bookmark(&self, options: SPBOOKMARKOPTIONS, ullstreamposition: u64, lparamevent: P0) -> windows_core::Result<()> @@ -1440,7 +1440,7 @@ impl ISpRecoContext { (windows_core::Interface::vtable(self).SetVoice)(windows_core::Interface::as_raw(self), pvoice.param().abi(), fallowformatchanges.param().abi()).ok() } pub unsafe fn GetVoice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVoice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVoicePurgeEvent(&self, ulleventinterest: u64) -> windows_core::Result<()> { @@ -1488,7 +1488,7 @@ windows_core::imp::define_interface!(ISpRecoContext2, ISpRecoContext2_Vtbl, 0xbe impl std::ops::Deref for ISpRecoContext2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpRecoContext2, windows_core::IUnknown); @@ -1518,7 +1518,7 @@ windows_core::imp::define_interface!(ISpRecoGrammar, ISpRecoGrammar_Vtbl, 0x2177 impl std::ops::Deref for ISpRecoGrammar { type Target = ISpGrammarBuilder; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpRecoGrammar, windows_core::IUnknown, ISpGrammarBuilder); @@ -1527,7 +1527,7 @@ impl ISpRecoGrammar { (windows_core::Interface::vtable(self).GetGrammarId)(windows_core::Interface::as_raw(self), pullgrammarid).ok() } pub unsafe fn GetRecoContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecoContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoadCmdFromFile(&self, pszfilename: P0, options: SPLOADOPTIONS) -> windows_core::Result<()> @@ -1635,7 +1635,7 @@ windows_core::imp::define_interface!(ISpRecoGrammar2, ISpRecoGrammar2_Vtbl, 0x4b impl std::ops::Deref for ISpRecoGrammar2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpRecoGrammar2, windows_core::IUnknown); @@ -1710,7 +1710,7 @@ windows_core::imp::define_interface!(ISpRecoResult, ISpRecoResult_Vtbl, 0x20b053 impl std::ops::Deref for ISpRecoResult { type Target = ISpPhrase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpRecoResult, windows_core::IUnknown, ISpPhrase); @@ -1723,7 +1723,7 @@ impl ISpRecoResult { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAudio(&self, ulstartelement: u32, celements: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudio)(windows_core::Interface::as_raw(self), ulstartelement, celements, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SpeakAudio(&self, ulstartelement: u32, celements: u32, dwflags: u32, pulstreamnumber: *mut u32) -> windows_core::Result<()> { @@ -1737,7 +1737,7 @@ impl ISpRecoResult { (windows_core::Interface::vtable(self).ScaleAudio)(windows_core::Interface::as_raw(self), paudioformatid, pwaveformatex).ok() } pub unsafe fn GetRecoContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecoContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1762,7 +1762,7 @@ windows_core::imp::define_interface!(ISpRecoResult2, ISpRecoResult2_Vtbl, 0x27ca impl std::ops::Deref for ISpRecoResult2 { type Target = ISpRecoResult; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpRecoResult2, windows_core::IUnknown, ISpPhrase, ISpRecoResult); @@ -1771,7 +1771,7 @@ impl ISpRecoResult2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitAlternate)(windows_core::Interface::as_raw(self), pphrasealt.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CommitText(&self, ulstartelement: u32, celements: u32, pszcorrecteddata: P0, ecommitflags: u32) -> windows_core::Result<()> @@ -1799,7 +1799,7 @@ windows_core::imp::define_interface!(ISpRecognizer, ISpRecognizer_Vtbl, 0xc2b5f2 impl std::ops::Deref for ISpRecognizer { type Target = ISpProperties; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpRecognizer, windows_core::IUnknown, ISpProperties); @@ -1811,7 +1811,7 @@ impl ISpRecognizer { (windows_core::Interface::vtable(self).SetRecognizer)(windows_core::Interface::as_raw(self), precognizer.param().abi()).ok() } pub unsafe fn GetRecognizer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecognizer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInput(&self, punkinput: P0, fallowformatchanges: P1) -> windows_core::Result<()> @@ -1822,20 +1822,20 @@ impl ISpRecognizer { (windows_core::Interface::vtable(self).SetInput)(windows_core::Interface::as_raw(self), punkinput.param().abi(), fallowformatchanges.param().abi()).ok() } pub unsafe fn GetInputObjectToken(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputObjectToken)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInputStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRecoContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRecoContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecoProfile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecoProfile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRecoProfile(&self, ptoken: P0) -> windows_core::Result<()> @@ -1911,7 +1911,7 @@ windows_core::imp::define_interface!(ISpRecognizer2, ISpRecognizer2_Vtbl, 0x8fc6 impl std::ops::Deref for ISpRecognizer2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpRecognizer2, windows_core::IUnknown); @@ -1944,7 +1944,7 @@ windows_core::imp::define_interface!(ISpRegDataKey, ISpRegDataKey_Vtbl, 0x92a66e impl std::ops::Deref for ISpRegDataKey { type Target = ISpDataKey; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpRegDataKey, windows_core::IUnknown, ISpDataKey); @@ -1972,7 +1972,7 @@ windows_core::imp::define_interface!(ISpResourceManager, ISpResourceManager_Vtbl impl std::ops::Deref for ISpResourceManager { type Target = super::super::System::Com::IServiceProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2003,7 +2003,7 @@ windows_core::imp::define_interface!(ISpSRAlternates, ISpSRAlternates_Vtbl, 0xfe impl std::ops::Deref for ISpSRAlternates { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpSRAlternates, windows_core::IUnknown); @@ -2025,7 +2025,7 @@ windows_core::imp::define_interface!(ISpSRAlternates2, ISpSRAlternates2_Vtbl, 0x impl std::ops::Deref for ISpSRAlternates2 { type Target = ISpSRAlternates; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpSRAlternates2, windows_core::IUnknown, ISpSRAlternates); @@ -2046,7 +2046,7 @@ windows_core::imp::define_interface!(ISpSREngine, ISpSREngine_Vtbl, 0x2f472991_8 impl std::ops::Deref for ISpSREngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpSREngine, windows_core::IUnknown); @@ -2101,7 +2101,7 @@ impl ISpSREngine { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetProprietaryRuleState)(windows_core::Interface::as_raw(self), pvenginegrammar, pszname.param().abi(), preserved, newstate, &mut result__).map(|| result__) } pub unsafe fn SetProprietaryRuleIdState(&self, pvenginegrammar: *const core::ffi::c_void, dwruleid: u32, newstate: SPRULESTATE) -> windows_core::Result<()> { @@ -2129,7 +2129,7 @@ impl ISpSREngine { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPronounceable)(windows_core::Interface::as_raw(self), pvenginegrammar, pszword.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnCreateRecoContext(&self, hsapirecocontext: P0, ppvenginecontext: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -2157,7 +2157,7 @@ impl ISpSREngine { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyNum)(windows_core::Interface::as_raw(self), esrc, pvsrcobj, pname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetPropertyString(&self, esrc: SPPROPSRC, pvsrcobj: *const core::ffi::c_void, pname: P0, pvalue: P1) -> windows_core::Result<()> @@ -2171,7 +2171,7 @@ impl ISpSREngine { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyString)(windows_core::Interface::as_raw(self), esrc, pvsrcobj, pname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetGrammarState(&self, pvenginegrammar: *const core::ffi::c_void, egrammarstate: SPGRAMMARSTATE) -> windows_core::Result<()> { @@ -2233,7 +2233,7 @@ windows_core::imp::define_interface!(ISpSREngine2, ISpSREngine2_Vtbl, 0x7ba627d8 impl std::ops::Deref for ISpSREngine2 { type Target = ISpSREngine; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpSREngine2, windows_core::IUnknown, ISpSREngine); @@ -2311,24 +2311,24 @@ windows_core::imp::define_interface!(ISpSREngineSite, ISpSREngineSite_Vtbl, 0x3b impl std::ops::Deref for ISpSREngineSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpSREngineSite, windows_core::IUnknown); impl ISpSREngineSite { pub unsafe fn Read(&self, pv: *const core::ffi::c_void, cb: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Read)(windows_core::Interface::as_raw(self), pv, cb, &mut result__).map(|| result__) } pub unsafe fn DataAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBufferNotifySize(&self, cbsize: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetBufferNotifySize)(windows_core::Interface::as_raw(self), cbsize).ok() } pub unsafe fn ParseFromTransitions(&self, pparseinfo: *const SPPARSEINFO) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParseFromTransitions)(windows_core::Interface::as_raw(self), pparseinfo, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Recognition(&self, presultinfo: *const SPRECORESULTINFO) -> windows_core::Result<()> { @@ -2372,14 +2372,14 @@ impl ISpSREngineSite { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResource)(windows_core::Interface::as_raw(self), hrule.param().abi(), pszresourcename.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTransitionProperty(&self, id: P0) -> windows_core::Result<*mut SPTRANSITIONPROPERTY> where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransitionProperty)(windows_core::Interface::as_raw(self), id.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IsAlternate(&self, hrule: P0, haltrule: P1) -> windows_core::Result<()> @@ -2393,14 +2393,14 @@ impl ISpSREngineSite { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxAlternates)(windows_core::Interface::as_raw(self), hrule.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetContextMaxAlternates(&self, hcontext: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContextMaxAlternates)(windows_core::Interface::as_raw(self), hcontext.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UpdateRecoPos(&self, ullcurrentrecopos: u64) -> windows_core::Result<()> { @@ -2433,7 +2433,7 @@ windows_core::imp::define_interface!(ISpSREngineSite2, ISpSREngineSite2_Vtbl, 0x impl std::ops::Deref for ISpSREngineSite2 { type Target = ISpSREngineSite; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpSREngineSite2, windows_core::IUnknown, ISpSREngineSite); @@ -2466,7 +2466,7 @@ windows_core::imp::define_interface!(ISpSerializeState, ISpSerializeState_Vtbl, impl std::ops::Deref for ISpSerializeState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpSerializeState, windows_core::IUnknown); @@ -2488,7 +2488,7 @@ windows_core::imp::define_interface!(ISpShortcut, ISpShortcut_Vtbl, 0x3df681e2_e impl std::ops::Deref for ISpShortcut { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpShortcut, windows_core::IUnknown); @@ -2511,7 +2511,7 @@ impl ISpShortcut { (windows_core::Interface::vtable(self).GetShortcuts)(windows_core::Interface::as_raw(self), langid, pshortcutpairlist).ok() } pub unsafe fn GetGeneration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGeneration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWordsFromGenerationChange(&self, pdwgeneration: *mut u32, pwordlist: *mut SPWORDLIST) -> windows_core::Result<()> { @@ -2545,7 +2545,7 @@ windows_core::imp::define_interface!(ISpStream, ISpStream_Vtbl, 0x12e3cca9_7518_ impl std::ops::Deref for ISpStream { type Target = ISpStreamFormat; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2561,7 +2561,7 @@ impl ISpStream { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBaseStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBaseStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio")] @@ -2599,7 +2599,7 @@ windows_core::imp::define_interface!(ISpStreamFormat, ISpStreamFormat_Vtbl, 0xbe impl std::ops::Deref for ISpStreamFormat { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2608,7 +2608,7 @@ windows_core::imp::interface_hierarchy!(ISpStreamFormat, windows_core::IUnknown, impl ISpStreamFormat { #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormat)(windows_core::Interface::as_raw(self), pguidformatid, &mut result__).map(|| result__) } } @@ -2627,7 +2627,7 @@ windows_core::imp::define_interface!(ISpStreamFormatConverter, ISpStreamFormatCo impl std::ops::Deref for ISpStreamFormatConverter { type Target = ISpStreamFormat; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2645,7 +2645,7 @@ impl ISpStreamFormatConverter { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBaseStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBaseStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_Audio")] @@ -2656,11 +2656,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScaleConvertedToBaseOffset)(windows_core::Interface::as_raw(self), ulloffsetconvertedstream, &mut result__).map(|| result__) } pub unsafe fn ScaleBaseToConvertedOffset(&self, ulloffsetbasestream: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScaleBaseToConvertedOffset)(windows_core::Interface::as_raw(self), ulloffsetbasestream, &mut result__).map(|| result__) } } @@ -2688,7 +2688,7 @@ windows_core::imp::define_interface!(ISpTTSEngine, ISpTTSEngine_Vtbl, 0xa74d7c8e impl std::ops::Deref for ISpTTSEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpTTSEngine, windows_core::IUnknown); @@ -2721,7 +2721,7 @@ windows_core::imp::define_interface!(ISpTTSEngineSite, ISpTTSEngineSite_Vtbl, 0x impl std::ops::Deref for ISpTTSEngineSite { type Target = ISpEventSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpTTSEngineSite, windows_core::IUnknown, ISpEventSink); @@ -2730,15 +2730,15 @@ impl ISpTTSEngineSite { (windows_core::Interface::vtable(self).GetActions)(windows_core::Interface::as_raw(self)) } pub unsafe fn Write(&self, pbuff: *const core::ffi::c_void, cb: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Write)(windows_core::Interface::as_raw(self), pbuff, cb, &mut result__).map(|| result__) } pub unsafe fn GetRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVolume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVolume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSkipInfo(&self, petype: *mut SPVSKIPTYPE, plnumitems: *mut i32) -> windows_core::Result<()> { @@ -2772,7 +2772,7 @@ windows_core::imp::define_interface!(ISpTaskManager, ISpTaskManager_Vtbl, 0x2bae impl std::ops::Deref for ISpTaskManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpTaskManager, windows_core::IUnknown); @@ -2781,7 +2781,7 @@ impl ISpTaskManager { (windows_core::Interface::vtable(self).SetThreadPoolInfo)(windows_core::Interface::as_raw(self), ppoolinfo).ok() } pub unsafe fn GetThreadPoolInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadPoolInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueueTask(&self, ptask: P0, pvtaskdata: *const core::ffi::c_void, hcompevent: P1, pdwgroupid: *mut u32, ptaskid: *mut u32) -> windows_core::Result<()> @@ -2796,14 +2796,14 @@ impl ISpTaskManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateReoccurringTask)(windows_core::Interface::as_raw(self), ptask.param().abi(), pvtaskdata, hcompevent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateThreadControl(&self, ptask: P0, pvtaskdata: *const core::ffi::c_void, npriority: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateThreadControl)(windows_core::Interface::as_raw(self), ptask.param().abi(), pvtaskdata, npriority, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TerminateTask(&self, dwtaskid: u32, ulwaitperiod: u32) -> windows_core::Result<()> { @@ -2828,13 +2828,13 @@ windows_core::imp::define_interface!(ISpThreadControl, ISpThreadControl_Vtbl, 0x impl std::ops::Deref for ISpThreadControl { type Target = ISpNotifySink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpThreadControl, windows_core::IUnknown, ISpNotifySink); impl ISpThreadControl { pub unsafe fn StartThread(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartThread)(windows_core::Interface::as_raw(self), dwflags, &mut result__).map(|| result__) } pub unsafe fn WaitForThreadDone(&self, fforcestop: P0, phrthreadresult: *mut windows_core::HRESULT, mstimeout: u32) -> windows_core::Result<()> @@ -2913,7 +2913,7 @@ windows_core::imp::define_interface!(ISpTokenUI, ISpTokenUI_Vtbl, 0xf8e690f0_39c impl std::ops::Deref for ISpTokenUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpTokenUI, windows_core::IUnknown); @@ -2923,7 +2923,7 @@ impl ISpTokenUI { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUISupported)(windows_core::Interface::as_raw(self), psztypeofui.param().abi(), pvextradata, cbextradata, punkobject.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisplayUI(&self, hwndparent: P0, psztitle: P1, psztypeofui: P2, pvextradata: *const core::ffi::c_void, cbextradata: u32, ptoken: P3, punkobject: P4) -> windows_core::Result<()> @@ -2947,13 +2947,13 @@ windows_core::imp::define_interface!(ISpTranscript, ISpTranscript_Vtbl, 0x10f63b impl std::ops::Deref for ISpTranscript { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpTranscript, windows_core::IUnknown); impl ISpTranscript { pub unsafe fn GetTranscript(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTranscript)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AppendTranscript(&self, psztranscript: P0) -> windows_core::Result<()> @@ -2973,7 +2973,7 @@ windows_core::imp::define_interface!(ISpVoice, ISpVoice_Vtbl, 0x6c44df74_72b9_49 impl std::ops::Deref for ISpVoice { type Target = ISpEventSource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpVoice, windows_core::IUnknown, ISpNotifySource, ISpEventSource); @@ -2986,12 +2986,12 @@ impl ISpVoice { (windows_core::Interface::vtable(self).SetOutput)(windows_core::Interface::as_raw(self), punkoutput.param().abi(), fallowformatchanges.param().abi()).ok() } pub unsafe fn GetOutputObjectToken(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputObjectToken)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetOutputStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Pause(&self) -> windows_core::Result<()> { @@ -3007,7 +3007,7 @@ impl ISpVoice { (windows_core::Interface::vtable(self).SetVoice)(windows_core::Interface::as_raw(self), ptoken.param().abi()).ok() } pub unsafe fn GetVoice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVoice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Speak(&self, pwcs: P0, dwflags: u32, pulstreamnumber: Option<*mut u32>) -> windows_core::Result<()> @@ -3122,7 +3122,7 @@ windows_core::imp::define_interface!(ISpXMLRecoResult, ISpXMLRecoResult_Vtbl, 0x impl std::ops::Deref for ISpXMLRecoResult { type Target = ISpRecoResult; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpXMLRecoResult, windows_core::IUnknown, ISpPhrase, ISpRecoResult); @@ -3146,7 +3146,7 @@ windows_core::imp::define_interface!(ISpeechAudio, ISpeechAudio_Vtbl, 0xcff8e175 impl std::ops::Deref for ISpeechAudio { type Target = ISpeechBaseStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3155,35 +3155,35 @@ windows_core::imp::interface_hierarchy!(ISpeechAudio, windows_core::IUnknown, su impl ISpeechAudio { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn BufferInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BufferInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultFormat)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Volume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Volume)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BufferNotifySize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetState(&self, state: SpeechAudioState) -> windows_core::Result<()> { @@ -3219,7 +3219,7 @@ windows_core::imp::define_interface!(ISpeechAudioBufferInfo, ISpeechAudioBufferI impl std::ops::Deref for ISpeechAudioBufferInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3227,21 +3227,21 @@ windows_core::imp::interface_hierarchy!(ISpeechAudioBufferInfo, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl ISpeechAudioBufferInfo { pub unsafe fn MinNotification(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinNotification)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BufferSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventBias)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEventBias(&self, eventbias: i32) -> windows_core::Result<()> { @@ -3265,7 +3265,7 @@ windows_core::imp::define_interface!(ISpeechAudioFormat, ISpeechAudioFormat_Vtbl impl std::ops::Deref for ISpeechAudioFormat { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3273,14 +3273,14 @@ windows_core::imp::interface_hierarchy!(ISpeechAudioFormat, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISpeechAudioFormat { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetType(&self, audioformat: SpeechAudioFormatType) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetType)(windows_core::Interface::as_raw(self), audioformat).ok() } pub unsafe fn Guid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Guid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetGuid(&self, guid: P0) -> windows_core::Result<()> @@ -3291,7 +3291,7 @@ impl ISpeechAudioFormat { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWaveFormatEx(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWaveFormatEx)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3308,8 +3308,8 @@ pub struct ISpeechAudioFormat_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechAudioFormatType) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechAudioFormatType) -> windows_core::HRESULT, - pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetWaveFormatEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3325,7 +3325,7 @@ windows_core::imp::define_interface!(ISpeechAudioStatus, ISpeechAudioStatus_Vtbl impl std::ops::Deref for ISpeechAudioStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3333,23 +3333,23 @@ windows_core::imp::interface_hierarchy!(ISpeechAudioStatus, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISpeechAudioStatus { pub unsafe fn FreeBufferSpace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FreeBufferSpace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NonBlockingIO(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NonBlockingIO)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentSeekPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentSeekPosition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentDevicePosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDevicePosition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3360,8 +3360,8 @@ pub struct ISpeechAudioStatus_Vtbl { pub FreeBufferSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NonBlockingIO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechAudioState) -> windows_core::HRESULT, - pub CurrentSeekPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentDevicePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentSeekPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentDevicePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechBaseStream, ISpeechBaseStream_Vtbl, 0x6450336f_7d49_4ced_8097_49d6dee37294); @@ -3369,7 +3369,7 @@ windows_core::imp::define_interface!(ISpeechBaseStream, ISpeechBaseStream_Vtbl, impl std::ops::Deref for ISpeechBaseStream { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3378,7 +3378,7 @@ windows_core::imp::interface_hierarchy!(ISpeechBaseStream, windows_core::IUnknow impl ISpeechBaseStream { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Format(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Format)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3395,14 +3395,14 @@ impl ISpeechBaseStream { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Write)(windows_core::Interface::as_raw(self), buffer.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Seek(&self, position: P0, origin: SpeechStreamSeekPositionType) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Seek)(windows_core::Interface::as_raw(self), position.param().abi(), origin, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3418,9 +3418,9 @@ pub struct ISpeechBaseStream_Vtbl { pub putref_Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_Format: usize, - pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SpeechStreamSeekPositionType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SpeechStreamSeekPositionType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechCustomStream, ISpeechCustomStream_Vtbl, 0x1a9e9f4f_104f_4db8_a115_efd7fd0c97ae); @@ -3428,7 +3428,7 @@ windows_core::imp::define_interface!(ISpeechCustomStream, ISpeechCustomStream_Vt impl std::ops::Deref for ISpeechCustomStream { type Target = ISpeechBaseStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3436,7 +3436,7 @@ windows_core::imp::interface_hierarchy!(ISpeechCustomStream, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ISpeechCustomStream { pub unsafe fn BaseStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BaseStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putref_BaseStream(&self, punkstream: P0) -> windows_core::Result<()> @@ -3459,7 +3459,7 @@ windows_core::imp::define_interface!(ISpeechDataKey, ISpeechDataKey_Vtbl, 0xce17 impl std::ops::Deref for ISpeechDataKey { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3477,7 +3477,7 @@ impl ISpeechDataKey { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBinaryValue)(windows_core::Interface::as_raw(self), valuename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStringValue(&self, valuename: P0, value: P1) -> windows_core::Result<()> @@ -3491,7 +3491,7 @@ impl ISpeechDataKey { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringValue)(windows_core::Interface::as_raw(self), valuename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLongValue(&self, valuename: P0, value: i32) -> windows_core::Result<()> @@ -3504,7 +3504,7 @@ impl ISpeechDataKey { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLongValue)(windows_core::Interface::as_raw(self), valuename.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3512,7 +3512,7 @@ impl ISpeechDataKey { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenKey)(windows_core::Interface::as_raw(self), subkeyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3520,7 +3520,7 @@ impl ISpeechDataKey { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateKey)(windows_core::Interface::as_raw(self), subkeyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteKey(&self, subkeyname: P0) -> windows_core::Result<()> @@ -3536,11 +3536,11 @@ impl ISpeechDataKey { (windows_core::Interface::vtable(self).DeleteValue)(windows_core::Interface::as_raw(self), valuename.param().abi()).ok() } pub unsafe fn EnumKeys(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumKeys)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumValues(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumValues)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3548,24 +3548,24 @@ impl ISpeechDataKey { #[repr(C)] pub struct ISpeechDataKey_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetBinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetBinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLongValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub GetLongValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub OpenKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetBinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLongValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub GetLongValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + #[cfg(feature = "Win32_System_Com")] + pub OpenKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenKey: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateKey: usize, - pub DeleteKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EnumKeys: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EnumValues: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumKeys: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumValues: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechFileStream, ISpeechFileStream_Vtbl, 0xaf67f125_ab39_4e93_b4a2_cc2e66e182a7); @@ -3573,7 +3573,7 @@ windows_core::imp::define_interface!(ISpeechFileStream, ISpeechFileStream_Vtbl, impl std::ops::Deref for ISpeechFileStream { type Target = ISpeechBaseStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3595,7 +3595,7 @@ impl ISpeechFileStream { #[repr(C)] pub struct ISpeechFileStream_Vtbl { pub base__: ISpeechBaseStream_Vtbl, - pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SpeechStreamFileMode, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SpeechStreamFileMode, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -3604,7 +3604,7 @@ windows_core::imp::define_interface!(ISpeechGrammarRule, ISpeechGrammarRule_Vtbl impl std::ops::Deref for ISpeechGrammarRule { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3612,20 +3612,20 @@ windows_core::imp::interface_hierarchy!(ISpeechGrammarRule, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRule { pub unsafe fn Attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Attributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn InitialState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Clear(&self) -> windows_core::Result<()> { @@ -3640,7 +3640,7 @@ impl ISpeechGrammarRule { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AddState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3653,10 +3653,10 @@ pub struct ISpeechGrammarRule_Vtbl { pub InitialState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitialState: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3668,7 +3668,7 @@ windows_core::imp::define_interface!(ISpeechGrammarRuleState, ISpeechGrammarRule impl std::ops::Deref for ISpeechGrammarRuleState { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3677,12 +3677,12 @@ windows_core::imp::interface_hierarchy!(ISpeechGrammarRuleState, windows_core::I impl ISpeechGrammarRuleState { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Transitions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Transitions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3726,15 +3726,15 @@ pub struct ISpeechGrammarRuleState_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Transitions: usize, #[cfg(feature = "Win32_System_Com")] - pub AddWordTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, SpeechGrammarWordType, std::mem::MaybeUninit, i32, *const std::mem::MaybeUninit, f32) -> windows_core::HRESULT, + pub AddWordTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, SpeechGrammarWordType, core::mem::MaybeUninit, i32, *const core::mem::MaybeUninit, f32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddWordTransition: usize, #[cfg(feature = "Win32_System_Com")] - pub AddRuleTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32, *const std::mem::MaybeUninit, f32) -> windows_core::HRESULT, + pub AddRuleTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32, *const core::mem::MaybeUninit, f32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddRuleTransition: usize, #[cfg(feature = "Win32_System_Com")] - pub AddSpecialTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SpeechSpecialTransitionType, std::mem::MaybeUninit, i32, *const std::mem::MaybeUninit, f32) -> windows_core::HRESULT, + pub AddSpecialTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SpeechSpecialTransitionType, core::mem::MaybeUninit, i32, *const core::mem::MaybeUninit, f32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddSpecialTransition: usize, } @@ -3744,7 +3744,7 @@ windows_core::imp::define_interface!(ISpeechGrammarRuleStateTransition, ISpeechG impl std::ops::Deref for ISpeechGrammarRuleStateTransition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3752,37 +3752,37 @@ windows_core::imp::interface_hierarchy!(ISpeechGrammarRuleStateTransition, windo #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRuleStateTransition { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Text(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Text)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Weight(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Weight)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PropertyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PropertyId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PropertyValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NextState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3791,15 +3791,15 @@ impl ISpeechGrammarRuleStateTransition { pub struct ISpeechGrammarRuleStateTransition_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechGrammarRuleStateTransitionType) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Rule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Rule: usize, - pub Weight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Weight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PropertyId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub PropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub NextState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3811,7 +3811,7 @@ windows_core::imp::define_interface!(ISpeechGrammarRuleStateTransitions, ISpeech impl std::ops::Deref for ISpeechGrammarRuleStateTransitions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3819,16 +3819,16 @@ windows_core::imp::interface_hierarchy!(ISpeechGrammarRuleStateTransitions, wind #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRuleStateTransitions { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3849,7 +3849,7 @@ windows_core::imp::define_interface!(ISpeechGrammarRules, ISpeechGrammarRules_Vt impl std::ops::Deref for ISpeechGrammarRules { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3857,7 +3857,7 @@ windows_core::imp::interface_hierarchy!(ISpeechGrammarRules, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRules { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3865,20 +3865,20 @@ impl ISpeechGrammarRules { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindRule)(windows_core::Interface::as_raw(self), rulenameorid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Dynamic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Dynamic)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3886,7 +3886,7 @@ impl ISpeechGrammarRules { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), rulename.param().abi(), attributes, ruleid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -3902,7 +3902,7 @@ pub struct ISpeechGrammarRules_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub FindRule: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindRule: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FindRule: usize, #[cfg(feature = "Win32_System_Com")] @@ -3912,11 +3912,11 @@ pub struct ISpeechGrammarRules_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Dynamic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SpeechRuleAttributes, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SpeechRuleAttributes, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub CommitAndSave: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CommitAndSave: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechLexicon, ISpeechLexicon_Vtbl, 0x3da7627a_c7ae_4b23_8708_638c50362c25); @@ -3924,7 +3924,7 @@ windows_core::imp::define_interface!(ISpeechLexicon, ISpeechLexicon_Vtbl, 0x3da7 impl std::ops::Deref for ISpeechLexicon { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3932,7 +3932,7 @@ windows_core::imp::interface_hierarchy!(ISpeechLexicon, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISpeechLexicon { pub unsafe fn GenerationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerationId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3970,7 +3970,7 @@ impl ISpeechLexicon { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPronunciations)(windows_core::Interface::as_raw(self), bstrword.param().abi(), langid, typeflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3987,12 +3987,12 @@ pub struct ISpeechLexicon_Vtbl { pub GetWords: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechLexiconType, *mut i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetWords: usize, - pub AddPronunciation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, SpeechPartOfSpeech, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPronunciationByPhoneIds: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, SpeechPartOfSpeech, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemovePronunciation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, SpeechPartOfSpeech, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemovePronunciationByPhoneIds: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, SpeechPartOfSpeech, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPronunciation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, SpeechPartOfSpeech, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPronunciationByPhoneIds: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, SpeechPartOfSpeech, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemovePronunciation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, SpeechPartOfSpeech, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemovePronunciationByPhoneIds: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, SpeechPartOfSpeech, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetPronunciations: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, SpeechLexiconType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPronunciations: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, SpeechLexiconType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetPronunciations: usize, #[cfg(feature = "Win32_System_Com")] @@ -4006,7 +4006,7 @@ windows_core::imp::define_interface!(ISpeechLexiconPronunciation, ISpeechLexicon impl std::ops::Deref for ISpeechLexiconPronunciation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4014,23 +4014,23 @@ windows_core::imp::interface_hierarchy!(ISpeechLexiconPronunciation, windows_cor #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconPronunciation { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LangId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LangId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PartOfSpeech(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PartOfSpeech)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PhoneIds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhoneIds)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Symbolic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Symbolic)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4041,8 +4041,8 @@ pub struct ISpeechLexiconPronunciation_Vtbl { pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechLexiconType) -> windows_core::HRESULT, pub LangId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub PartOfSpeech: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechPartOfSpeech) -> windows_core::HRESULT, - pub PhoneIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Symbolic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Symbolic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechLexiconPronunciations, ISpeechLexiconPronunciations_Vtbl, 0x72829128_5682_4704_a0d4_3e2bb6f2ead3); @@ -4050,7 +4050,7 @@ windows_core::imp::define_interface!(ISpeechLexiconPronunciations, ISpeechLexico impl std::ops::Deref for ISpeechLexiconPronunciations { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4058,16 +4058,16 @@ windows_core::imp::interface_hierarchy!(ISpeechLexiconPronunciations, windows_co #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconPronunciations { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4088,7 +4088,7 @@ windows_core::imp::define_interface!(ISpeechLexiconWord, ISpeechLexiconWord_Vtbl impl std::ops::Deref for ISpeechLexiconWord { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4096,20 +4096,20 @@ windows_core::imp::interface_hierarchy!(ISpeechLexiconWord, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconWord { pub unsafe fn LangId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LangId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Word(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Word)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Pronunciations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pronunciations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4119,7 +4119,7 @@ pub struct ISpeechLexiconWord_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub LangId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechWordType) -> windows_core::HRESULT, - pub Word: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Word: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Pronunciations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4131,7 +4131,7 @@ windows_core::imp::define_interface!(ISpeechLexiconWords, ISpeechLexiconWords_Vt impl std::ops::Deref for ISpeechLexiconWords { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4139,16 +4139,16 @@ windows_core::imp::interface_hierarchy!(ISpeechLexiconWords, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconWords { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4169,7 +4169,7 @@ windows_core::imp::define_interface!(ISpeechMMSysAudio, ISpeechMMSysAudio_Vtbl, impl std::ops::Deref for ISpeechMMSysAudio { type Target = ISpeechAudio; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4177,21 +4177,21 @@ windows_core::imp::interface_hierarchy!(ISpeechMMSysAudio, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl ISpeechMMSysAudio { pub unsafe fn DeviceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LineId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MMHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4211,7 +4211,7 @@ windows_core::imp::define_interface!(ISpeechMemoryStream, ISpeechMemoryStream_Vt impl std::ops::Deref for ISpeechMemoryStream { type Target = ISpeechBaseStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4225,7 +4225,7 @@ impl ISpeechMemoryStream { (windows_core::Interface::vtable(self).SetData)(windows_core::Interface::as_raw(self), data.param().abi()).ok() } pub unsafe fn GetData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4233,8 +4233,8 @@ impl ISpeechMemoryStream { #[repr(C)] pub struct ISpeechMemoryStream_Vtbl { pub base__: ISpeechBaseStream_Vtbl, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechObjectToken, ISpeechObjectToken_Vtbl, 0xc74a3adc_b727_4500_a84a_b526721c8b8c); @@ -4242,7 +4242,7 @@ windows_core::imp::define_interface!(ISpeechObjectToken, ISpeechObjectToken_Vtbl impl std::ops::Deref for ISpeechObjectToken { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4250,21 +4250,21 @@ windows_core::imp::interface_hierarchy!(ISpeechObjectToken, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISpeechObjectToken { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Category(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Category)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDescription(&self, locale: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), locale, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetId(&self, id: P0, categoryid: P1, createifnotexist: P2) -> windows_core::Result<()> @@ -4279,14 +4279,14 @@ impl ISpeechObjectToken { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttribute)(windows_core::Interface::as_raw(self), attributename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInstance(&self, punkouter: P0, clscontext: SpeechTokenContext) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), punkouter.param().abi(), clscontext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, objectstorageclsid: P0) -> windows_core::Result<()> @@ -4301,7 +4301,7 @@ impl ISpeechObjectToken { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStorageFileName)(windows_core::Interface::as_raw(self), objectstorageclsid.param().abi(), keyname.param().abi(), filename.param().abi(), folder, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveStorageFileName(&self, objectstorageclsid: P0, keyname: P1, deletefile: P2) -> windows_core::Result<()> @@ -4317,7 +4317,7 @@ impl ISpeechObjectToken { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUISupported)(windows_core::Interface::as_raw(self), typeofui.param().abi(), core::mem::transmute(extradata), object.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisplayUI(&self, hwnd: i32, title: P0, typeofui: P1, extradata: *const windows_core::VARIANT, object: P2) -> windows_core::Result<()> @@ -4332,7 +4332,7 @@ impl ISpeechObjectToken { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MatchesAttributes)(windows_core::Interface::as_raw(self), attributes.param().abi(), &mut result__).map(|| result__) } } @@ -4340,7 +4340,7 @@ impl ISpeechObjectToken { #[repr(C)] pub struct ISpeechObjectToken_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DataKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4349,16 +4349,16 @@ pub struct ISpeechObjectToken_Vtbl { pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Category: usize, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SpeechTokenContext, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetStorageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, SpeechTokenShellFolder, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveStorageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub MatchesAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStorageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, SpeechTokenShellFolder, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveStorageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MatchesAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechObjectTokenCategory, ISpeechObjectTokenCategory_Vtbl, 0xca7eac50_2d01_4145_86d4_5ae7d70f4469); @@ -4366,7 +4366,7 @@ windows_core::imp::define_interface!(ISpeechObjectTokenCategory, ISpeechObjectTo impl std::ops::Deref for ISpeechObjectTokenCategory { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4374,7 +4374,7 @@ windows_core::imp::interface_hierarchy!(ISpeechObjectTokenCategory, windows_core #[cfg(feature = "Win32_System_Com")] impl ISpeechObjectTokenCategory { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefault(&self, tokenid: P0) -> windows_core::Result<()> @@ -4384,7 +4384,7 @@ impl ISpeechObjectTokenCategory { (windows_core::Interface::vtable(self).SetDefault)(windows_core::Interface::as_raw(self), tokenid.param().abi()).ok() } pub unsafe fn Default(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Default)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetId(&self, id: P0, createifnotexist: P1) -> windows_core::Result<()> @@ -4396,7 +4396,7 @@ impl ISpeechObjectTokenCategory { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDataKey(&self, location: SpeechDataKeyLocation) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataKey)(windows_core::Interface::as_raw(self), location, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4405,7 +4405,7 @@ impl ISpeechObjectTokenCategory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateTokens)(windows_core::Interface::as_raw(self), requiredattributes.param().abi(), optionalattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4413,16 +4413,16 @@ impl ISpeechObjectTokenCategory { #[repr(C)] pub struct ISpeechObjectTokenCategory_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Default: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Default: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetDataKey: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechDataKeyLocation, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetDataKey: usize, #[cfg(feature = "Win32_System_Com")] - pub EnumerateTokens: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnumerateTokens: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumerateTokens: usize, } @@ -4432,7 +4432,7 @@ windows_core::imp::define_interface!(ISpeechObjectTokens, ISpeechObjectTokens_Vt impl std::ops::Deref for ISpeechObjectTokens { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4440,16 +4440,16 @@ windows_core::imp::interface_hierarchy!(ISpeechObjectTokens, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ISpeechObjectTokens { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4470,7 +4470,7 @@ windows_core::imp::define_interface!(ISpeechPhoneConverter, ISpeechPhoneConverte impl std::ops::Deref for ISpeechPhoneConverter { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4478,7 +4478,7 @@ windows_core::imp::interface_hierarchy!(ISpeechPhoneConverter, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ISpeechPhoneConverter { pub unsafe fn LanguageId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LanguageId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLanguageId(&self, languageid: i32) -> windows_core::Result<()> { @@ -4488,14 +4488,14 @@ impl ISpeechPhoneConverter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhoneToId)(windows_core::Interface::as_raw(self), phonemes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IdToPhone(&self, idarray: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IdToPhone)(windows_core::Interface::as_raw(self), idarray.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4505,8 +4505,8 @@ pub struct ISpeechPhoneConverter_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub LanguageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLanguageId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub PhoneToId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IdToPhone: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PhoneToId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IdToPhone: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseAlternate, ISpeechPhraseAlternate_Vtbl, 0x27864a2a_2b9f_4cb8_92d3_0d2722fd1e73); @@ -4514,7 +4514,7 @@ windows_core::imp::define_interface!(ISpeechPhraseAlternate, ISpeechPhraseAltern impl std::ops::Deref for ISpeechPhraseAlternate { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4523,20 +4523,20 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseAlternate, windows_core::IU impl ISpeechPhraseAlternate { #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecoResult)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartElementInResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartElementInResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfElementsInResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfElementsInResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PhraseInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhraseInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -4565,7 +4565,7 @@ windows_core::imp::define_interface!(ISpeechPhraseAlternates, ISpeechPhraseAlter impl std::ops::Deref for ISpeechPhraseAlternates { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4573,16 +4573,16 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseAlternates, windows_core::I #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseAlternates { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4603,7 +4603,7 @@ windows_core::imp::define_interface!(ISpeechPhraseElement, ISpeechPhraseElement_ impl std::ops::Deref for ISpeechPhraseElement { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4611,55 +4611,55 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseElement, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseElement { pub unsafe fn AudioTimeOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioTimeOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AudioSizeTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioSizeTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AudioStreamOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioStreamOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AudioSizeBytes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioSizeBytes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RetainedStreamOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetainedStreamOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RetainedSizeBytes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetainedSizeBytes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DisplayText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LexicalForm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LexicalForm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Pronunciation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pronunciation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequiredConfidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequiredConfidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ActualConfidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActualConfidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EngineConfidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EngineConfidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4673,9 +4673,9 @@ pub struct ISpeechPhraseElement_Vtbl { pub AudioSizeBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RetainedStreamOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RetainedSizeBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LexicalForm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Pronunciation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LexicalForm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Pronunciation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DisplayAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechDisplayAttributes) -> windows_core::HRESULT, pub RequiredConfidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechEngineConfidence) -> windows_core::HRESULT, pub ActualConfidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechEngineConfidence) -> windows_core::HRESULT, @@ -4687,7 +4687,7 @@ windows_core::imp::define_interface!(ISpeechPhraseElements, ISpeechPhraseElement impl std::ops::Deref for ISpeechPhraseElements { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4695,16 +4695,16 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseElements, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseElements { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4725,7 +4725,7 @@ windows_core::imp::define_interface!(ISpeechPhraseInfo, ISpeechPhraseInfo_Vtbl, impl std::ops::Deref for ISpeechPhraseInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4733,77 +4733,77 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseInfo, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseInfo { pub unsafe fn LanguageId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LanguageId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GrammarId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GrammarId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AudioStreamPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioStreamPosition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AudioSizeBytes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioSizeBytes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RetainedSizeBytes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetainedSizeBytes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AudioSizeTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioSizeTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Elements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Elements)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Replacements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Replacements)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EngineId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EngineId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnginePrivateData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnginePrivateData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SaveToMemory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveToMemory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetText(&self, startelement: i32, elements: i32, usereplacements: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), startelement, elements, usereplacements.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayAttributes(&self, startelement: i32, elements: i32, usereplacements: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayAttributes)(windows_core::Interface::as_raw(self), startelement, elements, usereplacements.param().abi(), &mut result__).map(|| result__) } } @@ -4812,9 +4812,9 @@ impl ISpeechPhraseInfo { pub struct ISpeechPhraseInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub LanguageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GrammarId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AudioStreamPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GrammarId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AudioStreamPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AudioSizeBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RetainedSizeBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub AudioSizeTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -4834,10 +4834,10 @@ pub struct ISpeechPhraseInfo_Vtbl { pub Replacements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Replacements: usize, - pub EngineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EnginePrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SaveToMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EngineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnginePrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveToMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::VARIANT_BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDisplayAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::VARIANT_BOOL, *mut SpeechDisplayAttributes) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -4846,7 +4846,7 @@ windows_core::imp::define_interface!(ISpeechPhraseInfoBuilder, ISpeechPhraseInfo impl std::ops::Deref for ISpeechPhraseInfoBuilder { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4855,7 +4855,7 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseInfoBuilder, windows_core:: impl ISpeechPhraseInfoBuilder { #[cfg(feature = "Win32_System_Com")] pub unsafe fn RestorePhraseFromMemory(&self, phraseinmemory: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RestorePhraseFromMemory)(windows_core::Interface::as_raw(self), core::mem::transmute(phraseinmemory), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4864,7 +4864,7 @@ impl ISpeechPhraseInfoBuilder { pub struct ISpeechPhraseInfoBuilder_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub RestorePhraseFromMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RestorePhraseFromMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RestorePhraseFromMemory: usize, } @@ -4874,7 +4874,7 @@ windows_core::imp::define_interface!(ISpeechPhraseProperties, ISpeechPhrasePrope impl std::ops::Deref for ISpeechPhraseProperties { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4882,16 +4882,16 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseProperties, windows_core::I #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseProperties { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4912,7 +4912,7 @@ windows_core::imp::define_interface!(ISpeechPhraseProperty, ISpeechPhrasePropert impl std::ops::Deref for ISpeechPhraseProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4920,41 +4920,41 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseProperty, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseProperty { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FirstElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirstElement)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfElements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfElements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EngineConfidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EngineConfidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Confidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Confidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Children(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Children)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4962,9 +4962,9 @@ impl ISpeechPhraseProperty { #[repr(C)] pub struct ISpeechPhraseProperty_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FirstElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EngineConfidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, @@ -4984,7 +4984,7 @@ windows_core::imp::define_interface!(ISpeechPhraseReplacement, ISpeechPhraseRepl impl std::ops::Deref for ISpeechPhraseReplacement { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4992,19 +4992,19 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseReplacement, windows_core:: #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseReplacement { pub unsafe fn DisplayAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Text(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Text)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FirstElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirstElement)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfElements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfElements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5013,7 +5013,7 @@ impl ISpeechPhraseReplacement { pub struct ISpeechPhraseReplacement_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub DisplayAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechDisplayAttributes) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FirstElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -5023,7 +5023,7 @@ windows_core::imp::define_interface!(ISpeechPhraseReplacements, ISpeechPhraseRep impl std::ops::Deref for ISpeechPhraseReplacements { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5031,16 +5031,16 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseReplacements, windows_core: #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseReplacements { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5061,7 +5061,7 @@ windows_core::imp::define_interface!(ISpeechPhraseRule, ISpeechPhraseRule_Vtbl, impl std::ops::Deref for ISpeechPhraseRule { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5069,37 +5069,37 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseRule, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseRule { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FirstElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirstElement)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfElements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfElements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Children(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Children)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Confidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Confidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EngineConfidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EngineConfidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5107,7 +5107,7 @@ impl ISpeechPhraseRule { #[repr(C)] pub struct ISpeechPhraseRule_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub FirstElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -5128,7 +5128,7 @@ windows_core::imp::define_interface!(ISpeechPhraseRules, ISpeechPhraseRules_Vtbl impl std::ops::Deref for ISpeechPhraseRules { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5136,16 +5136,16 @@ windows_core::imp::interface_hierarchy!(ISpeechPhraseRules, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseRules { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5166,7 +5166,7 @@ windows_core::imp::define_interface!(ISpeechRecoContext, ISpeechRecoContext_Vtbl impl std::ops::Deref for ISpeechRecoContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5175,15 +5175,15 @@ windows_core::imp::interface_hierarchy!(ISpeechRecoContext, windows_core::IUnkno impl ISpeechRecoContext { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recognizer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recognizer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AudioInputInterferenceStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioInputInterferenceStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequestedUIType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestedUIType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5195,7 +5195,7 @@ impl ISpeechRecoContext { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Voice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Voice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAllowVoiceFormatMatchingOnNextSet(&self, allow: P0) -> windows_core::Result<()> @@ -5205,42 +5205,42 @@ impl ISpeechRecoContext { (windows_core::Interface::vtable(self).SetAllowVoiceFormatMatchingOnNextSet)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowVoiceFormatMatchingOnNextSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowVoiceFormatMatchingOnNextSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VoicePurgeEvent)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventInterests)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CmdMaxAlternates)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetainedAudio)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5252,7 +5252,7 @@ impl ISpeechRecoContext { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetainedAudioFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetainedAudioFormat)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Pause(&self) -> windows_core::Result<()> { @@ -5266,12 +5266,12 @@ impl ISpeechRecoContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGrammar)(windows_core::Interface::as_raw(self), grammarid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateResultFromMemory(&self, resultblock: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateResultFromMemory)(windows_core::Interface::as_raw(self), core::mem::transmute(resultblock), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Bookmark(&self, options: SpeechBookmarkOptions, streampos: P0, bookmarkid: P1) -> windows_core::Result<()> @@ -5297,7 +5297,7 @@ pub struct ISpeechRecoContext_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Recognizer: usize, pub AudioInputInterferenceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechInterference) -> windows_core::HRESULT, - pub RequestedUIType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestedUIType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub putref_Voice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -5329,15 +5329,15 @@ pub struct ISpeechRecoContext_Vtbl { pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub CreateGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateGrammar: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateResultFromMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateResultFromMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateResultFromMemory: usize, - pub Bookmark: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechBookmarkOptions, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAdaptationData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bookmark: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechBookmarkOptions, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAdaptationData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoGrammar, ISpeechRecoGrammar_Vtbl, 0xb6d6f79f_2158_4e50_b5bc_9a9ccd852a09); @@ -5345,7 +5345,7 @@ windows_core::imp::define_interface!(ISpeechRecoGrammar, ISpeechRecoGrammar_Vtbl impl std::ops::Deref for ISpeechRecoGrammar { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5353,24 +5353,24 @@ windows_core::imp::interface_hierarchy!(ISpeechRecoGrammar, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoGrammar { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecoContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rules)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reset(&self, newlanguage: i32) -> windows_core::Result<()> { @@ -5450,7 +5450,7 @@ impl ISpeechRecoGrammar { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPronounceable)(windows_core::Interface::as_raw(self), word.param().abi(), &mut result__).map(|| result__) } } @@ -5458,7 +5458,7 @@ impl ISpeechRecoGrammar { #[repr(C)] pub struct ISpeechRecoGrammar_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RecoContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -5470,25 +5470,25 @@ pub struct ISpeechRecoGrammar_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Rules: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CmdLoadFromFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, - pub CmdLoadFromObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, - pub CmdLoadFromResource: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, SpeechLoadOption) -> windows_core::HRESULT, - pub CmdLoadFromMemory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, - pub CmdLoadFromProprietaryGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, - pub CmdSetRuleState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SpeechRuleState) -> windows_core::HRESULT, + pub CmdLoadFromFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, + pub CmdLoadFromObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, + pub CmdLoadFromResource: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, SpeechLoadOption) -> windows_core::HRESULT, + pub CmdLoadFromMemory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, + pub CmdLoadFromProprietaryGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, + pub CmdSetRuleState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SpeechRuleState) -> windows_core::HRESULT, pub CmdSetRuleIdState: unsafe extern "system" fn(*mut core::ffi::c_void, i32, SpeechRuleState) -> windows_core::HRESULT, - pub DictationLoad: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, + pub DictationLoad: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SpeechLoadOption) -> windows_core::HRESULT, pub DictationUnload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DictationSetState: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechRuleState) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub SetWordSequenceData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetWordSequenceData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetWordSequenceData: usize, #[cfg(feature = "Win32_System_Com")] pub SetTextSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetTextSelection: usize, - pub IsPronounceable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut SpeechWordPronounceable) -> windows_core::HRESULT, + pub IsPronounceable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut SpeechWordPronounceable) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoResult, ISpeechRecoResult_Vtbl, 0xed2879cf_ced9_4ee6_a534_de0191d5468d); @@ -5496,7 +5496,7 @@ windows_core::imp::define_interface!(ISpeechRecoResult, ISpeechRecoResult_Vtbl, impl std::ops::Deref for ISpeechRecoResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5505,12 +5505,12 @@ windows_core::imp::interface_hierarchy!(ISpeechRecoResult, windows_core::IUnknow impl ISpeechRecoResult { #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecoContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Times(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Times)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5522,30 +5522,30 @@ impl ISpeechRecoResult { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioFormat)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PhraseInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhraseInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Alternates(&self, requestcount: i32, startelement: i32, elements: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Alternates)(windows_core::Interface::as_raw(self), requestcount, startelement, elements, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Audio(&self, startelement: i32, elements: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Audio)(windows_core::Interface::as_raw(self), startelement, elements, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SpeakAudio(&self, startelement: i32, elements: i32, flags: SpeechVoiceSpeakFlags) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SpeakAudio)(windows_core::Interface::as_raw(self), startelement, elements, flags, &mut result__).map(|| result__) } pub unsafe fn SaveToMemory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveToMemory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> windows_core::Result<()> { @@ -5585,7 +5585,7 @@ pub struct ISpeechRecoResult_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Audio: usize, pub SpeakAudio: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, SpeechVoiceSpeakFlags, *mut i32) -> windows_core::HRESULT, - pub SaveToMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveToMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DiscardResultInfo: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechDiscardType) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -5594,7 +5594,7 @@ windows_core::imp::define_interface!(ISpeechRecoResult2, ISpeechRecoResult2_Vtbl impl std::ops::Deref for ISpeechRecoResult2 { type Target = ISpeechRecoResult; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5613,7 +5613,7 @@ impl ISpeechRecoResult2 { #[repr(C)] pub struct ISpeechRecoResult2_Vtbl { pub base__: ISpeechRecoResult_Vtbl, - pub SetTextFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetTextFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoResultDispatch, ISpeechRecoResultDispatch_Vtbl, 0x6d60eb64_aced_40a6_bbf3_4e557f71dee2); @@ -5621,7 +5621,7 @@ windows_core::imp::define_interface!(ISpeechRecoResultDispatch, ISpeechRecoResul impl std::ops::Deref for ISpeechRecoResultDispatch { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5630,12 +5630,12 @@ windows_core::imp::interface_hierarchy!(ISpeechRecoResultDispatch, windows_core: impl ISpeechRecoResultDispatch { #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecoContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecoContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Times(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Times)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5647,37 +5647,37 @@ impl ISpeechRecoResultDispatch { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioFormat)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PhraseInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhraseInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Alternates(&self, requestcount: i32, startelement: i32, elements: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Alternates)(windows_core::Interface::as_raw(self), requestcount, startelement, elements, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Audio(&self, startelement: i32, elements: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Audio)(windows_core::Interface::as_raw(self), startelement, elements, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SpeakAudio(&self, startelement: i32, elements: i32, flags: SpeechVoiceSpeakFlags) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SpeakAudio)(windows_core::Interface::as_raw(self), startelement, elements, flags, &mut result__).map(|| result__) } pub unsafe fn SaveToMemory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveToMemory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DiscardResultInfo(&self, valuetypes: SpeechDiscardType) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).DiscardResultInfo)(windows_core::Interface::as_raw(self), valuetypes).ok() } pub unsafe fn GetXMLResult(&self, options: SPXMLRESULTOPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXMLResult)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetXMLErrorInfo(&self, linenumber: *mut i32, scriptline: *mut windows_core::BSTR, source: *mut windows_core::BSTR, description: *mut windows_core::BSTR, resultcode: *mut windows_core::HRESULT, iserror: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { @@ -5724,11 +5724,11 @@ pub struct ISpeechRecoResultDispatch_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Audio: usize, pub SpeakAudio: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, SpeechVoiceSpeakFlags, *mut i32) -> windows_core::HRESULT, - pub SaveToMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveToMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DiscardResultInfo: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechDiscardType) -> windows_core::HRESULT, - pub GetXMLResult: unsafe extern "system" fn(*mut core::ffi::c_void, SPXMLRESULTOPTIONS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetXMLErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut windows_core::HRESULT, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetTextFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetXMLResult: unsafe extern "system" fn(*mut core::ffi::c_void, SPXMLRESULTOPTIONS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetXMLErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut windows_core::HRESULT, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetTextFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoResultTimes, ISpeechRecoResultTimes_Vtbl, 0x62b3b8fb_f6e7_41be_bdcb_056b1c29efc0); @@ -5736,7 +5736,7 @@ windows_core::imp::define_interface!(ISpeechRecoResultTimes, ISpeechRecoResultTi impl std::ops::Deref for ISpeechRecoResultTimes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5744,19 +5744,19 @@ windows_core::imp::interface_hierarchy!(ISpeechRecoResultTimes, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoResultTimes { pub unsafe fn StreamTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StreamTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TickCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TickCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OffsetFromStart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OffsetFromStart)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5764,10 +5764,10 @@ impl ISpeechRecoResultTimes { #[repr(C)] pub struct ISpeechRecoResultTimes_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub StreamTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StreamTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TickCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub OffsetFromStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OffsetFromStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecognizer, ISpeechRecognizer_Vtbl, 0x2d5f1c0c_bd75_4b08_9478_3b11fea2586c); @@ -5775,7 +5775,7 @@ windows_core::imp::define_interface!(ISpeechRecognizer, ISpeechRecognizer_Vtbl, impl std::ops::Deref for ISpeechRecognizer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5791,7 +5791,7 @@ impl ISpeechRecognizer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recognizer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recognizer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAllowAudioInputFormatChangesOnNextSet(&self, allow: P0) -> windows_core::Result<()> @@ -5801,7 +5801,7 @@ impl ISpeechRecognizer { (windows_core::Interface::vtable(self).SetAllowAudioInputFormatChangesOnNextSet)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowAudioInputFormatChangesOnNextSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowAudioInputFormatChangesOnNextSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5813,7 +5813,7 @@ impl ISpeechRecognizer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioInput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioInput)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5825,23 +5825,23 @@ impl ISpeechRecognizer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioInputStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioInputStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsShared(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsShared)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5853,7 +5853,7 @@ impl ISpeechRecognizer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EmulateRecognition(&self, textelements: P0, elementdisplayattributes: *const windows_core::VARIANT, languageid: i32) -> windows_core::Result<()> @@ -5864,19 +5864,19 @@ impl ISpeechRecognizer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateRecoContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRecoContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormat(&self, r#type: SpeechFormatType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormat)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPropertyNumber(&self, name: P0, value: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetPropertyNumber)(windows_core::Interface::as_raw(self), name.param().abi(), value, &mut result__).map(|| result__) } pub unsafe fn GetPropertyNumber(&self, name: P0, value: *mut i32, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> @@ -5890,7 +5890,7 @@ impl ISpeechRecognizer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetPropertyString)(windows_core::Interface::as_raw(self), name.param().abi(), value.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetPropertyString(&self, name: P0, value: *mut windows_core::BSTR, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> @@ -5903,7 +5903,7 @@ impl ISpeechRecognizer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUISupported)(windows_core::Interface::as_raw(self), typeofui.param().abi(), core::mem::transmute(extradata), &mut result__).map(|| result__) } pub unsafe fn DisplayUI(&self, hwndparent: i32, title: P0, typeofui: P1, extradata: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -5919,7 +5919,7 @@ impl ISpeechRecognizer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecognizers)(windows_core::Interface::as_raw(self), requiredattributes.param().abi(), optionalattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5928,7 +5928,7 @@ impl ISpeechRecognizer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioInputs)(windows_core::Interface::as_raw(self), requiredattributes.param().abi(), optionalattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5937,7 +5937,7 @@ impl ISpeechRecognizer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProfiles)(windows_core::Interface::as_raw(self), requiredattributes.param().abi(), optionalattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5986,7 +5986,7 @@ pub struct ISpeechRecognizer_Vtbl { pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Profile: usize, - pub EmulateRecognition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub EmulateRecognition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateRecoContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -5995,22 +5995,22 @@ pub struct ISpeechRecognizer_Vtbl { pub GetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechFormatType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFormat: usize, - pub SetPropertyNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetPropertyNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetPropertyString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetPropertyString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub GetRecognizers: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetPropertyNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetPropertyNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetPropertyString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetPropertyString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + #[cfg(feature = "Win32_System_Com")] + pub GetRecognizers: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetRecognizers: usize, #[cfg(feature = "Win32_System_Com")] - pub GetAudioInputs: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAudioInputs: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetAudioInputs: usize, #[cfg(feature = "Win32_System_Com")] - pub GetProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetProfiles: usize, } @@ -6020,7 +6020,7 @@ windows_core::imp::define_interface!(ISpeechRecognizerStatus, ISpeechRecognizerS impl std::ops::Deref for ISpeechRecognizerStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6029,27 +6029,27 @@ windows_core::imp::interface_hierarchy!(ISpeechRecognizerStatus, windows_core::I impl ISpeechRecognizerStatus { #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioStatus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentStreamPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentStreamPosition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentStreamNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentStreamNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfActiveRules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfActiveRules)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ClsidEngine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClsidEngine)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportedLanguages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedLanguages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6061,11 +6061,11 @@ pub struct ISpeechRecognizerStatus_Vtbl { pub AudioStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AudioStatus: usize, - pub CurrentStreamPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentStreamPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentStreamNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfActiveRules: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ClsidEngine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SupportedLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClsidEngine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SupportedLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechResourceLoader, ISpeechResourceLoader_Vtbl, 0xb9ac5783_fcd0_4b21_b119_b4f8da8fd2c3); @@ -6073,7 +6073,7 @@ windows_core::imp::define_interface!(ISpeechResourceLoader, ISpeechResourceLoade impl std::ops::Deref for ISpeechResourceLoader { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6104,9 +6104,9 @@ impl ISpeechResourceLoader { #[repr(C)] pub struct ISpeechResourceLoader_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub LoadResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetLocalCopy: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReleaseLocalCopy: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoadResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLocalCopy: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReleaseLocalCopy: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechTextSelectionInformation, ISpeechTextSelectionInformation_Vtbl, 0x3b9c7e7a_6eee_4ded_9092_11657279adbe); @@ -6114,7 +6114,7 @@ windows_core::imp::define_interface!(ISpeechTextSelectionInformation, ISpeechTex impl std::ops::Deref for ISpeechTextSelectionInformation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6125,28 +6125,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActiveOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActiveLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectionOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectionLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6169,7 +6169,7 @@ windows_core::imp::define_interface!(ISpeechVoice, ISpeechVoice_Vtbl, 0x269316d8 impl std::ops::Deref for ISpeechVoice { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6178,12 +6178,12 @@ windows_core::imp::interface_hierarchy!(ISpeechVoice, windows_core::IUnknown, su impl ISpeechVoice { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Voice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Voice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6195,7 +6195,7 @@ impl ISpeechVoice { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioOutput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioOutput)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6207,7 +6207,7 @@ impl ISpeechVoice { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AudioOutputStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioOutputStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6218,14 +6218,14 @@ impl ISpeechVoice { (windows_core::Interface::vtable(self).putref_AudioOutputStream)(windows_core::Interface::as_raw(self), audiooutputstream.param().abi()).ok() } pub unsafe fn Rate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Volume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVolume(&self, volume: i32) -> windows_core::Result<()> { @@ -6238,11 +6238,11 @@ impl ISpeechVoice { (windows_core::Interface::vtable(self).SetAllowAudioOutputFormatChangesOnNextSet)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowAudioOutputFormatChangesOnNextSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowAudioOutputFormatChangesOnNextSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EventInterests(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventInterests)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEventInterests(&self, eventinterestflags: SpeechVoiceEvents) -> windows_core::Result<()> { @@ -6252,28 +6252,28 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlertBoundary)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SynchronousSpeakTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Speak(&self, text: P0, flags: SpeechVoiceSpeakFlags) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Speak)(windows_core::Interface::as_raw(self), text.param().abi(), flags, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -6281,7 +6281,7 @@ impl ISpeechVoice { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SpeakStream)(windows_core::Interface::as_raw(self), stream.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn Pause(&self) -> windows_core::Result<()> { @@ -6294,7 +6294,7 @@ impl ISpeechVoice { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Skip)(windows_core::Interface::as_raw(self), r#type.param().abi(), numitems, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -6303,7 +6303,7 @@ impl ISpeechVoice { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVoices)(windows_core::Interface::as_raw(self), requiredattributes.param().abi(), optionalattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6312,22 +6312,22 @@ impl ISpeechVoice { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioOutputs)(windows_core::Interface::as_raw(self), requiredattributes.param().abi(), optionalattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn WaitUntilDone(&self, mstimeout: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitUntilDone)(windows_core::Interface::as_raw(self), mstimeout, &mut result__).map(|| result__) } pub unsafe fn SpeakCompleteEvent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SpeakCompleteEvent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsUISupported(&self, typeofui: P0, extradata: *const windows_core::VARIANT) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUISupported)(windows_core::Interface::as_raw(self), typeofui.param().abi(), core::mem::transmute(extradata), &mut result__).map(|| result__) } pub unsafe fn DisplayUI(&self, hwndparent: i32, title: P0, typeofui: P1, extradata: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -6384,26 +6384,26 @@ pub struct ISpeechVoice_Vtbl { pub AlertBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechVoiceEvents) -> windows_core::HRESULT, pub SetSynchronousSpeakTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SynchronousSpeakTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Speak: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SpeechVoiceSpeakFlags, *mut i32) -> windows_core::HRESULT, + pub Speak: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SpeechVoiceSpeakFlags, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SpeakStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SpeechVoiceSpeakFlags, *mut i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SpeakStream: usize, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetVoices: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetVoices: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetVoices: usize, #[cfg(feature = "Win32_System_Com")] - pub GetAudioOutputs: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAudioOutputs: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetAudioOutputs: usize, pub WaitUntilDone: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SpeakCompleteEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechVoiceStatus, ISpeechVoiceStatus_Vtbl, 0x8be47b07_57f6_11d2_9eee_00c04f797396); @@ -6411,7 +6411,7 @@ windows_core::imp::define_interface!(ISpeechVoiceStatus, ISpeechVoiceStatus_Vtbl impl std::ops::Deref for ISpeechVoiceStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6419,51 +6419,51 @@ windows_core::imp::interface_hierarchy!(ISpeechVoiceStatus, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISpeechVoiceStatus { pub unsafe fn CurrentStreamNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentStreamNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastStreamNumberQueued(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastStreamNumberQueued)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastHResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastHResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RunningState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RunningState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InputWordPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InputWordPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InputWordLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InputWordLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InputSentencePosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InputSentencePosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InputSentenceLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InputSentenceLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastBookmark(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastBookmark)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastBookmarkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastBookmarkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PhonemeId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhonemeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VisemeId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VisemeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6479,7 +6479,7 @@ pub struct ISpeechVoiceStatus_Vtbl { pub InputWordLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub InputSentencePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub InputSentenceLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub LastBookmark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastBookmark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LastBookmarkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub PhonemeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub VisemeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, @@ -6490,7 +6490,7 @@ windows_core::imp::define_interface!(ISpeechWaveFormatEx, ISpeechWaveFormatEx_Vt impl std::ops::Deref for ISpeechWaveFormatEx { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6498,49 +6498,49 @@ windows_core::imp::interface_hierarchy!(ISpeechWaveFormatEx, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ISpeechWaveFormatEx { pub unsafe fn FormatTag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatTag)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Channels)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SamplesPerSec)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvgBytesPerSec)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockAlign)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BitsPerSample)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBitsPerSample(&self, bitspersample: i16) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetBitsPerSample)(windows_core::Interface::as_raw(self), bitspersample).ok() } pub unsafe fn ExtraData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtraData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExtraData(&self, extradata: P0) -> windows_core::Result<()> @@ -6566,8 +6566,8 @@ pub struct ISpeechWaveFormatEx_Vtbl { pub SetBlockAlign: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, pub BitsPerSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub SetBitsPerSample: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, - pub ExtraData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExtraData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtraData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExtraData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechXMLRecoResult, ISpeechXMLRecoResult_Vtbl, 0xaaec54af_8f85_4924_944d_b79d39d72e19); @@ -6575,7 +6575,7 @@ windows_core::imp::define_interface!(ISpeechXMLRecoResult, ISpeechXMLRecoResult_ impl std::ops::Deref for ISpeechXMLRecoResult { type Target = ISpeechRecoResult; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6583,7 +6583,7 @@ windows_core::imp::interface_hierarchy!(ISpeechXMLRecoResult, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl ISpeechXMLRecoResult { pub unsafe fn GetXMLResult(&self, options: SPXMLRESULTOPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXMLResult)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetXMLErrorInfo(&self, linenumber: *mut i32, scriptline: *mut windows_core::BSTR, source: *mut windows_core::BSTR, description: *mut windows_core::BSTR, resultcode: *mut i32, iserror: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { @@ -6594,14 +6594,14 @@ impl ISpeechXMLRecoResult { #[repr(C)] pub struct ISpeechXMLRecoResult_Vtbl { pub base__: ISpeechRecoResult_Vtbl, - pub GetXMLResult: unsafe extern "system" fn(*mut core::ffi::c_void, SPXMLRESULTOPTIONS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetXMLErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetXMLResult: unsafe extern "system" fn(*mut core::ffi::c_void, SPXMLRESULTOPTIONS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetXMLErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(_ISpPrivateEngineCall, _ISpPrivateEngineCall_Vtbl, 0x8e7c791e_4467_11d3_9723_00c04f72db08); impl std::ops::Deref for _ISpPrivateEngineCall { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(_ISpPrivateEngineCall, windows_core::IUnknown); @@ -6625,7 +6625,7 @@ windows_core::imp::define_interface!(_ISpeechRecoContextEvents, _ISpeechRecoCont impl std::ops::Deref for _ISpeechRecoContextEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6643,7 +6643,7 @@ windows_core::imp::define_interface!(_ISpeechVoiceEvents, _ISpeechVoiceEvents_Vt impl std::ops::Deref for _ISpeechVoiceEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9441,7 +9441,7 @@ impl Default for SPPHRASE { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct SPPHRASEALT { - pub pPhrase: std::mem::ManuallyDrop>, + pub pPhrase: core::mem::ManuallyDrop>, pub ulStartElementInParent: u32, pub cElementsInParent: u32, pub cElementsInAlternate: u32, @@ -9469,8 +9469,8 @@ pub struct SPPHRASEALTREQUEST { pub ulRequestAltCount: u32, pub pvResultExtra: *mut core::ffi::c_void, pub cbResultExtra: u32, - pub pPhrase: std::mem::ManuallyDrop>, - pub pRecoContext: std::mem::ManuallyDrop>, + pub pPhrase: core::mem::ManuallyDrop>, + pub pRecoContext: core::mem::ManuallyDrop>, } impl Clone for SPPHRASEALTREQUEST { fn clone(&self) -> Self { @@ -9516,7 +9516,7 @@ pub struct SPPHRASEPROPERTY { pub pszName: windows_core::PCWSTR, pub Anonymous: SPPHRASEPROPERTY_0, pub pszValue: windows_core::PCWSTR, - pub vValue: std::mem::ManuallyDrop, + pub vValue: core::mem::ManuallyDrop, pub ulFirstElement: u32, pub ulCountOfElements: u32, pub pNextSibling: *const SPPHRASEPROPERTY, @@ -9669,7 +9669,7 @@ pub struct SPPROPERTYINFO { pub pszName: windows_core::PCWSTR, pub ulId: u32, pub pszValue: windows_core::PCWSTR, - pub vValue: std::mem::ManuallyDrop, + pub vValue: core::mem::ManuallyDrop, } impl Clone for SPPROPERTYINFO { fn clone(&self) -> Self { @@ -9748,7 +9748,7 @@ pub struct SPRECORESULTINFO { pub hGrammar: SPGRAMMARHANDLE, pub ulSizeEngineData: u32, pub pvEngineData: *mut core::ffi::c_void, - pub pPhrase: std::mem::ManuallyDrop>, + pub pPhrase: core::mem::ManuallyDrop>, pub aPhraseAlts: *mut SPPHRASEALT, pub ulNumAlts: u32, } @@ -10135,7 +10135,7 @@ pub struct SPTRANSITIONPROPERTY { pub pszName: windows_core::PCWSTR, pub ulId: u32, pub pszValue: windows_core::PCWSTR, - pub vValue: std::mem::ManuallyDrop, + pub vValue: core::mem::ManuallyDrop, } impl Clone for SPTRANSITIONPROPERTY { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs index 96e9812188..3b0ec43b17 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs @@ -43,7 +43,7 @@ impl INSNetSourceCreator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetNetSourceAdminInterface, Impl: INSNetSourceCreator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszstreamname: windows_core::PCWSTR, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetNetSourceAdminInterface, Impl: INSNetSourceCreator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszstreamname: windows_core::PCWSTR, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INSNetSourceCreator_Impl::GetNetSourceAdminInterface(this, core::mem::transmute(&pszstreamname)) { @@ -310,12 +310,12 @@ pub trait IWMAddressAccess2_Impl: Sized + IWMAddressAccess_Impl { impl windows_core::RuntimeName for IWMAddressAccess2 {} impl IWMAddressAccess2_Vtbl { pub const fn new, Impl: IWMAddressAccess2_Impl, const OFFSET: isize>() -> IWMAddressAccess2_Vtbl { - unsafe extern "system" fn GetAccessEntryEx, Impl: IWMAddressAccess2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, aetype: WM_AETYPE, dwentrynum: u32, pbstraddress: *mut std::mem::MaybeUninit, pbstrmask: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAccessEntryEx, Impl: IWMAddressAccess2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, aetype: WM_AETYPE, dwentrynum: u32, pbstraddress: *mut core::mem::MaybeUninit, pbstrmask: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMAddressAccess2_Impl::GetAccessEntryEx(this, core::mem::transmute_copy(&aetype), core::mem::transmute_copy(&dwentrynum), core::mem::transmute_copy(&pbstraddress), core::mem::transmute_copy(&pbstrmask)).into() } - unsafe extern "system" fn AddAccessEntryEx, Impl: IWMAddressAccess2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, aetype: WM_AETYPE, bstraddress: std::mem::MaybeUninit, bstrmask: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddAccessEntryEx, Impl: IWMAddressAccess2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, aetype: WM_AETYPE, bstraddress: core::mem::MaybeUninit, bstrmask: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMAddressAccess2_Impl::AddAccessEntryEx(this, core::mem::transmute_copy(&aetype), core::mem::transmute(&bstraddress), core::mem::transmute(&bstrmask)).into() @@ -712,7 +712,7 @@ impl IWMDRMMessageParser_Vtbl { let this = (*this).get_impl(); IWMDRMMessageParser_Impl::ParseRegistrationReqMsg(this, core::mem::transmute_copy(&pbregistrationreqmsg), core::mem::transmute_copy(&cbregistrationreqmsg), core::mem::transmute_copy(&ppdevicecert), core::mem::transmute_copy(&pdeviceserialnumber)).into() } - unsafe extern "system" fn ParseLicenseRequestMsg, Impl: IWMDRMMessageParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pblicenserequestmsg: *const u8, cblicenserequestmsg: u32, ppdevicecert: *mut *mut core::ffi::c_void, pdeviceserialnumber: *mut DRM_VAL16, pbstraction: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ParseLicenseRequestMsg, Impl: IWMDRMMessageParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pblicenserequestmsg: *const u8, cblicenserequestmsg: u32, ppdevicecert: *mut *mut core::ffi::c_void, pdeviceserialnumber: *mut DRM_VAL16, pbstraction: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMDRMMessageParser_Impl::ParseLicenseRequestMsg(this, core::mem::transmute_copy(&pblicenserequestmsg), core::mem::transmute_copy(&cblicenserequestmsg), core::mem::transmute_copy(&ppdevicecert), core::mem::transmute_copy(&pdeviceserialnumber), core::mem::transmute_copy(&pbstraction)).into() @@ -886,7 +886,7 @@ pub trait IWMDRMTranscryptor_Impl: Sized { impl windows_core::RuntimeName for IWMDRMTranscryptor {} impl IWMDRMTranscryptor_Vtbl { pub const fn new, Impl: IWMDRMTranscryptor_Impl, const OFFSET: isize>() -> IWMDRMTranscryptor_Vtbl { - unsafe extern "system" fn Initialize, Impl: IWMDRMTranscryptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit, pblicenserequestmsg: *mut u8, cblicenserequestmsg: u32, pplicenseresponsemsg: *mut *mut core::ffi::c_void, pcallback: *mut core::ffi::c_void, pvcontext: *const core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IWMDRMTranscryptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit, pblicenserequestmsg: *mut u8, cblicenserequestmsg: u32, pplicenseresponsemsg: *mut *mut core::ffi::c_void, pcallback: *mut core::ffi::c_void, pvcontext: *const core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMDRMTranscryptor_Impl::Initialize(this, core::mem::transmute(&bstrfilename), core::mem::transmute_copy(&pblicenserequestmsg), core::mem::transmute_copy(&cblicenserequestmsg), core::mem::transmute_copy(&pplicenseresponsemsg), windows_core::from_raw_borrowed(&pcallback), core::mem::transmute_copy(&pvcontext)).into() @@ -3975,12 +3975,12 @@ impl IWMRegisteredDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAttributeByIndex, Impl: IWMRegisteredDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: u32, pbstrname: *mut std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttributeByIndex, Impl: IWMRegisteredDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: u32, pbstrname: *mut core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMRegisteredDevice_Impl::GetAttributeByIndex(this, core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&pbstrvalue)).into() } - unsafe extern "system" fn GetAttributeByName, Impl: IWMRegisteredDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttributeByName, Impl: IWMRegisteredDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMRegisteredDevice_Impl::GetAttributeByName(this, core::mem::transmute(&bstrname)) { @@ -3991,7 +3991,7 @@ impl IWMRegisteredDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAttributeByName, Impl: IWMRegisteredDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAttributeByName, Impl: IWMRegisteredDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMRegisteredDevice_Impl::SetAttributeByName(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrvalue)).into() @@ -4148,17 +4148,17 @@ impl IWMSInternalAdminNetSource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCredentials, Impl: IWMSInternalAdminNetSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: std::mem::MaybeUninit, bstrname: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, fpersist: super::super::Foundation::BOOL, fconfirmedgood: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetCredentials, Impl: IWMSInternalAdminNetSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: core::mem::MaybeUninit, bstrname: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, fpersist: super::super::Foundation::BOOL, fconfirmedgood: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource_Impl::SetCredentials(this, core::mem::transmute(&bstrrealm), core::mem::transmute(&bstrname), core::mem::transmute(&bstrpassword), core::mem::transmute_copy(&fpersist), core::mem::transmute_copy(&fconfirmedgood)).into() } - unsafe extern "system" fn GetCredentials, Impl: IWMSInternalAdminNetSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: std::mem::MaybeUninit, pbstrname: *mut std::mem::MaybeUninit, pbstrpassword: *mut std::mem::MaybeUninit, pfconfirmedgood: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetCredentials, Impl: IWMSInternalAdminNetSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: core::mem::MaybeUninit, pbstrname: *mut core::mem::MaybeUninit, pbstrpassword: *mut core::mem::MaybeUninit, pfconfirmedgood: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource_Impl::GetCredentials(this, core::mem::transmute(&bstrrealm), core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&pbstrpassword), core::mem::transmute_copy(&pfconfirmedgood)).into() } - unsafe extern "system" fn DeleteCredentials, Impl: IWMSInternalAdminNetSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteCredentials, Impl: IWMSInternalAdminNetSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource_Impl::DeleteCredentials(this, core::mem::transmute(&bstrrealm)).into() @@ -4179,7 +4179,7 @@ impl IWMSInternalAdminNetSource_Vtbl { let this = (*this).get_impl(); IWMSInternalAdminNetSource_Impl::SetCredentialFlags(this, core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn FindProxyForURL, Impl: IWMSInternalAdminNetSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, bstrhost: std::mem::MaybeUninit, pfproxyenabled: *mut super::super::Foundation::BOOL, pbstrproxyserver: *mut std::mem::MaybeUninit, pdwproxyport: *mut u32, pdwproxycontext: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn FindProxyForURL, Impl: IWMSInternalAdminNetSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, bstrhost: core::mem::MaybeUninit, pfproxyenabled: *mut super::super::Foundation::BOOL, pbstrproxyserver: *mut core::mem::MaybeUninit, pdwproxyport: *mut u32, pdwproxycontext: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource_Impl::FindProxyForURL(this, core::mem::transmute(&bstrprotocol), core::mem::transmute(&bstrhost), core::mem::transmute_copy(&pfproxyenabled), core::mem::transmute_copy(&pbstrproxyserver), core::mem::transmute_copy(&pdwproxyport), core::mem::transmute_copy(&pdwproxycontext)).into() @@ -4233,22 +4233,22 @@ pub trait IWMSInternalAdminNetSource2_Impl: Sized { impl windows_core::RuntimeName for IWMSInternalAdminNetSource2 {} impl IWMSInternalAdminNetSource2_Vtbl { pub const fn new, Impl: IWMSInternalAdminNetSource2_Impl, const OFFSET: isize>() -> IWMSInternalAdminNetSource2_Vtbl { - unsafe extern "system" fn SetCredentialsEx, Impl: IWMSInternalAdminNetSource2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL, bstrname: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, fpersist: super::super::Foundation::BOOL, fconfirmedgood: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetCredentialsEx, Impl: IWMSInternalAdminNetSource2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL, bstrname: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, fpersist: super::super::Foundation::BOOL, fconfirmedgood: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource2_Impl::SetCredentialsEx(this, core::mem::transmute(&bstrrealm), core::mem::transmute(&bstrurl), core::mem::transmute_copy(&fproxy), core::mem::transmute(&bstrname), core::mem::transmute(&bstrpassword), core::mem::transmute_copy(&fpersist), core::mem::transmute_copy(&fconfirmedgood)).into() } - unsafe extern "system" fn GetCredentialsEx, Impl: IWMSInternalAdminNetSource2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL, pdwurlpolicy: *mut NETSOURCE_URLCREDPOLICY_SETTINGS, pbstrname: *mut std::mem::MaybeUninit, pbstrpassword: *mut std::mem::MaybeUninit, pfconfirmedgood: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetCredentialsEx, Impl: IWMSInternalAdminNetSource2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL, pdwurlpolicy: *mut NETSOURCE_URLCREDPOLICY_SETTINGS, pbstrname: *mut core::mem::MaybeUninit, pbstrpassword: *mut core::mem::MaybeUninit, pfconfirmedgood: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource2_Impl::GetCredentialsEx(this, core::mem::transmute(&bstrrealm), core::mem::transmute(&bstrurl), core::mem::transmute_copy(&fproxy), core::mem::transmute_copy(&pdwurlpolicy), core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&pbstrpassword), core::mem::transmute_copy(&pfconfirmedgood)).into() } - unsafe extern "system" fn DeleteCredentialsEx, Impl: IWMSInternalAdminNetSource2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteCredentialsEx, Impl: IWMSInternalAdminNetSource2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource2_Impl::DeleteCredentialsEx(this, core::mem::transmute(&bstrrealm), core::mem::transmute(&bstrurl), core::mem::transmute_copy(&fproxy)).into() } - unsafe extern "system" fn FindProxyForURLEx, Impl: IWMSInternalAdminNetSource2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, bstrhost: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, pfproxyenabled: *mut super::super::Foundation::BOOL, pbstrproxyserver: *mut std::mem::MaybeUninit, pdwproxyport: *mut u32, pdwproxycontext: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn FindProxyForURLEx, Impl: IWMSInternalAdminNetSource2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, bstrhost: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, pfproxyenabled: *mut super::super::Foundation::BOOL, pbstrproxyserver: *mut core::mem::MaybeUninit, pdwproxyport: *mut u32, pdwproxycontext: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource2_Impl::FindProxyForURLEx(this, core::mem::transmute(&bstrprotocol), core::mem::transmute(&bstrhost), core::mem::transmute(&bstrurl), core::mem::transmute_copy(&pfproxyenabled), core::mem::transmute_copy(&pbstrproxyserver), core::mem::transmute_copy(&pdwproxyport), core::mem::transmute_copy(&pdwproxycontext)).into() @@ -4288,7 +4288,7 @@ impl IWMSInternalAdminNetSource3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindProxyForURLEx2, Impl: IWMSInternalAdminNetSource3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: std::mem::MaybeUninit, bstrhost: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, pfproxyenabled: *mut super::super::Foundation::BOOL, pbstrproxyserver: *mut std::mem::MaybeUninit, pdwproxyport: *mut u32, pqwproxycontext: *mut u64) -> windows_core::HRESULT { + unsafe extern "system" fn FindProxyForURLEx2, Impl: IWMSInternalAdminNetSource3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotocol: core::mem::MaybeUninit, bstrhost: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, pfproxyenabled: *mut super::super::Foundation::BOOL, pbstrproxyserver: *mut core::mem::MaybeUninit, pdwproxyport: *mut u32, pqwproxycontext: *mut u64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource3_Impl::FindProxyForURLEx2(this, core::mem::transmute(&bstrprotocol), core::mem::transmute(&bstrhost), core::mem::transmute(&bstrurl), core::mem::transmute_copy(&pfproxyenabled), core::mem::transmute_copy(&pbstrproxyserver), core::mem::transmute_copy(&pdwproxyport), core::mem::transmute_copy(&pqwproxycontext)).into() @@ -4314,12 +4314,12 @@ impl IWMSInternalAdminNetSource3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCredentialsEx2, Impl: IWMSInternalAdminNetSource3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL, bstrname: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, fpersist: super::super::Foundation::BOOL, fconfirmedgood: super::super::Foundation::BOOL, fcleartextauthentication: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetCredentialsEx2, Impl: IWMSInternalAdminNetSource3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL, bstrname: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, fpersist: super::super::Foundation::BOOL, fconfirmedgood: super::super::Foundation::BOOL, fcleartextauthentication: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource3_Impl::SetCredentialsEx2(this, core::mem::transmute(&bstrrealm), core::mem::transmute(&bstrurl), core::mem::transmute_copy(&fproxy), core::mem::transmute(&bstrname), core::mem::transmute(&bstrpassword), core::mem::transmute_copy(&fpersist), core::mem::transmute_copy(&fconfirmedgood), core::mem::transmute_copy(&fcleartextauthentication)).into() } - unsafe extern "system" fn GetCredentialsEx2, Impl: IWMSInternalAdminNetSource3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: std::mem::MaybeUninit, bstrurl: std::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL, fcleartextauthentication: super::super::Foundation::BOOL, pdwurlpolicy: *mut NETSOURCE_URLCREDPOLICY_SETTINGS, pbstrname: *mut std::mem::MaybeUninit, pbstrpassword: *mut std::mem::MaybeUninit, pfconfirmedgood: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetCredentialsEx2, Impl: IWMSInternalAdminNetSource3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: core::mem::MaybeUninit, bstrurl: core::mem::MaybeUninit, fproxy: super::super::Foundation::BOOL, fcleartextauthentication: super::super::Foundation::BOOL, pdwurlpolicy: *mut NETSOURCE_URLCREDPOLICY_SETTINGS, pbstrname: *mut core::mem::MaybeUninit, pbstrpassword: *mut core::mem::MaybeUninit, pfconfirmedgood: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWMSInternalAdminNetSource3_Impl::GetCredentialsEx2(this, core::mem::transmute(&bstrrealm), core::mem::transmute(&bstrurl), core::mem::transmute_copy(&fproxy), core::mem::transmute_copy(&fcleartextauthentication), core::mem::transmute_copy(&pdwurlpolicy), core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&pbstrpassword), core::mem::transmute_copy(&pfconfirmedgood)).into() 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 b29ec5dd50..0ac297bc1f 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs @@ -4,25 +4,25 @@ where P0: windows_core::Param, { windows_targets::link!("wmvcore.dll" "system" fn WMCreateBackupRestorer(pcallback : * mut core::ffi::c_void, ppbackup : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateBackupRestorer(pcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WMCreateEditor() -> windows_core::Result { windows_targets::link!("wmvcore.dll" "system" fn WMCreateEditor(ppeditor : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateEditor(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WMCreateIndexer() -> windows_core::Result { windows_targets::link!("wmvcore.dll" "system" fn WMCreateIndexer(ppindexer : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateIndexer(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WMCreateProfileManager() -> windows_core::Result { windows_targets::link!("wmvcore.dll" "system" fn WMCreateProfileManager(ppprofilemanager : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateProfileManager(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -31,7 +31,7 @@ where P0: windows_core::Param, { windows_targets::link!("wmvcore.dll" "system" fn WMCreateReader(punkcert : * mut core::ffi::c_void, dwrights : u32, ppreader : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateReader(punkcert.param().abi(), dwrights, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -40,7 +40,7 @@ where P0: windows_core::Param, { windows_targets::link!("wmvcore.dll" "system" fn WMCreateSyncReader(punkcert : * mut core::ffi::c_void, dwrights : u32, ppsyncreader : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateSyncReader(punkcert.param().abi(), dwrights, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -49,25 +49,25 @@ where P0: windows_core::Param, { windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriter(punkcert : * mut core::ffi::c_void, ppwriter : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateWriter(punkcert.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WMCreateWriterFileSink() -> windows_core::Result { windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriterFileSink(ppsink : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateWriterFileSink(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WMCreateWriterNetworkSink() -> windows_core::Result { windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriterNetworkSink(ppsink : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateWriterNetworkSink(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WMCreateWriterPushSink() -> windows_core::Result { windows_targets::link!("wmvcore.dll" "system" fn WMCreateWriterPushSink(ppsink : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WMCreateWriterPushSink(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -82,7 +82,7 @@ windows_core::imp::define_interface!(INSNetSourceCreator, INSNetSourceCreator_Vt impl std::ops::Deref for INSNetSourceCreator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INSNetSourceCreator, windows_core::IUnknown); @@ -103,22 +103,22 @@ impl INSNetSourceCreator { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetSourceProperties)(windows_core::Interface::as_raw(self), pszstreamname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNetSourceSharedNamespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetSourceSharedNamespace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNetSourceAdminInterface(&self, pszstreamname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetSourceAdminInterface)(windows_core::Interface::as_raw(self), pszstreamname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNumProtocolsSupported(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumProtocolsSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProtocolName(&self, dwprotocolnum: u32, pwszprotocolname: windows_core::PWSTR, pcchprotocolname: *mut u16) -> windows_core::Result<()> { @@ -135,7 +135,7 @@ pub struct INSNetSourceCreator_Vtbl { pub CreateNetSource: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *const u8, *mut core::ffi::c_void, *mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub GetNetSourceProperties: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetNetSourceSharedNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNetSourceAdminInterface: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNetSourceAdminInterface: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNumProtocolsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetProtocolName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u16) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -144,24 +144,24 @@ windows_core::imp::define_interface!(INSSBuffer, INSSBuffer_Vtbl, 0xe1cd3524_03d impl std::ops::Deref for INSSBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INSSBuffer, windows_core::IUnknown); impl INSSBuffer { pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBuffer(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBuffer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBufferAndLength(&self, ppdwbuffer: *mut *mut u8, pdwlength: *mut u32) -> windows_core::Result<()> { @@ -181,13 +181,13 @@ windows_core::imp::define_interface!(INSSBuffer2, INSSBuffer2_Vtbl, 0x4f528693_1 impl std::ops::Deref for INSSBuffer2 { type Target = INSSBuffer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INSSBuffer2, windows_core::IUnknown, INSSBuffer); impl INSSBuffer2 { pub unsafe fn GetSampleProperties(&self, cbproperties: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSampleProperties)(windows_core::Interface::as_raw(self), cbproperties, &mut result__).map(|| result__) } pub unsafe fn SetSampleProperties(&self, cbproperties: u32, pbproperties: *const u8) -> windows_core::Result<()> { @@ -204,7 +204,7 @@ windows_core::imp::define_interface!(INSSBuffer3, INSSBuffer3_Vtbl, 0xc87ceaaf_7 impl std::ops::Deref for INSSBuffer3 { type Target = INSSBuffer2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INSSBuffer3, windows_core::IUnknown, INSSBuffer, INSSBuffer2); @@ -226,13 +226,13 @@ windows_core::imp::define_interface!(INSSBuffer4, INSSBuffer4_Vtbl, 0xb6b8fd5a_3 impl std::ops::Deref for INSSBuffer4 { type Target = INSSBuffer3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INSSBuffer4, windows_core::IUnknown, INSSBuffer, INSSBuffer2, INSSBuffer3); impl INSSBuffer4 { pub unsafe fn GetPropertyCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -249,17 +249,17 @@ windows_core::imp::define_interface!(IWMAddressAccess, IWMAddressAccess_Vtbl, 0x impl std::ops::Deref for IWMAddressAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMAddressAccess, windows_core::IUnknown); impl IWMAddressAccess { pub unsafe fn GetAccessEntryCount(&self, aetype: WM_AETYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccessEntryCount)(windows_core::Interface::as_raw(self), aetype, &mut result__).map(|| result__) } pub unsafe fn GetAccessEntry(&self, aetype: WM_AETYPE, dwentrynum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccessEntry)(windows_core::Interface::as_raw(self), aetype, dwentrynum, &mut result__).map(|| result__) } pub unsafe fn AddAccessEntry(&self, aetype: WM_AETYPE, paddraccessentry: *const WM_ADDRESS_ACCESSENTRY) -> windows_core::Result<()> { @@ -281,7 +281,7 @@ windows_core::imp::define_interface!(IWMAddressAccess2, IWMAddressAccess2_Vtbl, impl std::ops::Deref for IWMAddressAccess2 { type Target = IWMAddressAccess; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMAddressAccess2, windows_core::IUnknown, IWMAddressAccess); @@ -300,28 +300,28 @@ impl IWMAddressAccess2 { #[repr(C)] pub struct IWMAddressAccess2_Vtbl { pub base__: IWMAddressAccess_Vtbl, - pub GetAccessEntryEx: unsafe extern "system" fn(*mut core::ffi::c_void, WM_AETYPE, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddAccessEntryEx: unsafe extern "system" fn(*mut core::ffi::c_void, WM_AETYPE, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAccessEntryEx: unsafe extern "system" fn(*mut core::ffi::c_void, WM_AETYPE, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddAccessEntryEx: unsafe extern "system" fn(*mut core::ffi::c_void, WM_AETYPE, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMAuthorizer, IWMAuthorizer_Vtbl, 0xd9b67d36_a9ad_4eb4_baef_db284ef5504c); impl std::ops::Deref for IWMAuthorizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMAuthorizer, windows_core::IUnknown); impl IWMAuthorizer { pub unsafe fn GetCertCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCert(&self, dwindex: u32) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCert)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| result__) } pub unsafe fn GetSharedData(&self, dwcertindex: u32, pbshareddata: *const u8, pbcert: *const u8) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSharedData)(windows_core::Interface::as_raw(self), dwcertindex, pbshareddata, pbcert, &mut result__).map(|| result__) } } @@ -336,13 +336,13 @@ windows_core::imp::define_interface!(IWMBackupRestoreProps, IWMBackupRestoreProp impl std::ops::Deref for IWMBackupRestoreProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMBackupRestoreProps, windows_core::IUnknown); impl IWMBackupRestoreProps { pub unsafe fn GetPropCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -384,13 +384,13 @@ windows_core::imp::define_interface!(IWMBandwidthSharing, IWMBandwidthSharing_Vt impl std::ops::Deref for IWMBandwidthSharing { type Target = IWMStreamList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMBandwidthSharing, windows_core::IUnknown, IWMStreamList); impl IWMBandwidthSharing { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetType(&self, guidtype: *const windows_core::GUID) -> windows_core::Result<()> { @@ -415,17 +415,17 @@ windows_core::imp::define_interface!(IWMClientConnections, IWMClientConnections_ impl std::ops::Deref for IWMClientConnections { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMClientConnections, windows_core::IUnknown); impl IWMClientConnections { pub unsafe fn GetClientCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClientCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetClientProperties(&self, dwclientnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClientProperties)(windows_core::Interface::as_raw(self), dwclientnum, &mut result__).map(|| result__) } } @@ -439,7 +439,7 @@ windows_core::imp::define_interface!(IWMClientConnections2, IWMClientConnections impl std::ops::Deref for IWMClientConnections2 { type Target = IWMClientConnections; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMClientConnections2, windows_core::IUnknown, IWMClientConnections); @@ -457,21 +457,21 @@ windows_core::imp::define_interface!(IWMCodecInfo, IWMCodecInfo_Vtbl, 0xa970f41e impl std::ops::Deref for IWMCodecInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecInfo, windows_core::IUnknown); impl IWMCodecInfo { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodecInfoCount)(windows_core::Interface::as_raw(self), guidtype, &mut result__).map(|| result__) } pub unsafe fn GetCodecFormatCount(&self, guidtype: *const windows_core::GUID, dwcodecindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodecFormatCount)(windows_core::Interface::as_raw(self), guidtype, dwcodecindex, &mut result__).map(|| result__) } pub unsafe fn GetCodecFormat(&self, guidtype: *const windows_core::GUID, dwcodecindex: u32, dwformatindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodecFormat)(windows_core::Interface::as_raw(self), guidtype, dwcodecindex, dwformatindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -486,7 +486,7 @@ windows_core::imp::define_interface!(IWMCodecInfo2, IWMCodecInfo2_Vtbl, 0xaa65e2 impl std::ops::Deref for IWMCodecInfo2 { type Target = IWMCodecInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecInfo2, windows_core::IUnknown, IWMCodecInfo); @@ -508,7 +508,7 @@ windows_core::imp::define_interface!(IWMCodecInfo3, IWMCodecInfo3_Vtbl, 0x7e51f4 impl std::ops::Deref for IWMCodecInfo3 { type Target = IWMCodecInfo2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCodecInfo3, windows_core::IUnknown, IWMCodecInfo, IWMCodecInfo2); @@ -550,7 +550,7 @@ windows_core::imp::define_interface!(IWMCredentialCallback, IWMCredentialCallbac impl std::ops::Deref for IWMCredentialCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMCredentialCallback, windows_core::IUnknown); @@ -572,7 +572,7 @@ windows_core::imp::define_interface!(IWMDRMEditor, IWMDRMEditor_Vtbl, 0xff130ebc impl std::ops::Deref for IWMDRMEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMEditor, windows_core::IUnknown); @@ -593,7 +593,7 @@ windows_core::imp::define_interface!(IWMDRMMessageParser, IWMDRMMessageParser_Vt impl std::ops::Deref for IWMDRMMessageParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMMessageParser, windows_core::IUnknown); @@ -609,13 +609,13 @@ impl IWMDRMMessageParser { pub struct IWMDRMMessageParser_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ParseRegistrationReqMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut core::ffi::c_void, *mut DRM_VAL16) -> windows_core::HRESULT, - pub ParseLicenseRequestMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut core::ffi::c_void, *mut DRM_VAL16, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParseLicenseRequestMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut core::ffi::c_void, *mut DRM_VAL16, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMReader, IWMDRMReader_Vtbl, 0xd2827540_3ee7_432c_b14c_dc17f085d3b3); impl std::ops::Deref for IWMDRMReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMReader, windows_core::IUnknown); @@ -667,7 +667,7 @@ windows_core::imp::define_interface!(IWMDRMReader2, IWMDRMReader2_Vtbl, 0xbefe7a impl std::ops::Deref for IWMDRMReader2 { type Target = IWMDRMReader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMReader2, windows_core::IUnknown, IWMDRMReader); @@ -700,7 +700,7 @@ windows_core::imp::define_interface!(IWMDRMReader3, IWMDRMReader3_Vtbl, 0xe08672 impl std::ops::Deref for IWMDRMReader3 { type Target = IWMDRMReader2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMReader3, windows_core::IUnknown, IWMDRMReader, IWMDRMReader2); @@ -718,13 +718,13 @@ windows_core::imp::define_interface!(IWMDRMTranscryptionManager, IWMDRMTranscryp impl std::ops::Deref for IWMDRMTranscryptionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMTranscryptionManager, windows_core::IUnknown); impl IWMDRMTranscryptionManager { pub unsafe fn CreateTranscryptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTranscryptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -737,7 +737,7 @@ windows_core::imp::define_interface!(IWMDRMTranscryptor, IWMDRMTranscryptor_Vtbl impl std::ops::Deref for IWMDRMTranscryptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMTranscryptor, windows_core::IUnknown); @@ -762,7 +762,7 @@ impl IWMDRMTranscryptor { #[repr(C)] pub struct IWMDRMTranscryptor_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u8, u32, *mut *mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u8, u32, *mut *mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u32) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -771,7 +771,7 @@ windows_core::imp::define_interface!(IWMDRMTranscryptor2, IWMDRMTranscryptor2_Vt impl std::ops::Deref for IWMDRMTranscryptor2 { type Target = IWMDRMTranscryptor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMTranscryptor2, windows_core::IUnknown, IWMDRMTranscryptor); @@ -789,11 +789,11 @@ impl IWMDRMTranscryptor2 { (windows_core::Interface::vtable(self).ZeroAdjustTimestamps)(windows_core::Interface::as_raw(self), fenable.param().abi()).ok() } pub unsafe fn GetSeekStartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSeekStartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -809,7 +809,7 @@ windows_core::imp::define_interface!(IWMDRMWriter, IWMDRMWriter_Vtbl, 0xd6ea5dd0 impl std::ops::Deref for IWMDRMWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMWriter, windows_core::IUnknown); @@ -842,7 +842,7 @@ windows_core::imp::define_interface!(IWMDRMWriter2, IWMDRMWriter2_Vtbl, 0x38ee7a impl std::ops::Deref for IWMDRMWriter2 { type Target = IWMDRMWriter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMWriter2, windows_core::IUnknown, IWMDRMWriter); @@ -863,7 +863,7 @@ windows_core::imp::define_interface!(IWMDRMWriter3, IWMDRMWriter3_Vtbl, 0xa71840 impl std::ops::Deref for IWMDRMWriter3 { type Target = IWMDRMWriter2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDRMWriter3, windows_core::IUnknown, IWMDRMWriter, IWMDRMWriter2); @@ -881,32 +881,32 @@ windows_core::imp::define_interface!(IWMDeviceRegistration, IWMDeviceRegistratio impl std::ops::Deref for IWMDeviceRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMDeviceRegistration, windows_core::IUnknown); impl IWMDeviceRegistration { pub unsafe fn RegisterDevice(&self, dwregistertype: u32, pbcertificate: &[u8], serialnumber: DRM_VAL16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterDevice)(windows_core::Interface::as_raw(self), dwregistertype, core::mem::transmute(pbcertificate.as_ptr()), pbcertificate.len().try_into().unwrap(), core::mem::transmute(serialnumber), &mut result__).and_then(|| windows_core::Type::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(pbcertificate.as_ptr()), pbcertificate.len().try_into().unwrap(), core::mem::transmute(serialnumber)).ok() } pub unsafe fn GetRegistrationStats(&self, dwregistertype: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegistrationStats)(windows_core::Interface::as_raw(self), dwregistertype, &mut result__).map(|| result__) } pub unsafe fn GetFirstRegisteredDevice(&self, dwregistertype: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstRegisteredDevice)(windows_core::Interface::as_raw(self), dwregistertype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNextRegisteredDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextRegisteredDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRegisteredDeviceByID(&self, dwregistertype: u32, pbcertificate: &[u8], serialnumber: DRM_VAL16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegisteredDeviceByID)(windows_core::Interface::as_raw(self), dwregistertype, core::mem::transmute(pbcertificate.as_ptr()), pbcertificate.len().try_into().unwrap(), core::mem::transmute(serialnumber), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -924,13 +924,13 @@ windows_core::imp::define_interface!(IWMGetSecureChannel, IWMGetSecureChannel_Vt impl std::ops::Deref for IWMGetSecureChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMGetSecureChannel, windows_core::IUnknown); impl IWMGetSecureChannel { pub unsafe fn GetPeerSecureChannelInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPeerSecureChannelInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -943,13 +943,13 @@ windows_core::imp::define_interface!(IWMHeaderInfo, IWMHeaderInfo_Vtbl, 0x96406b impl std::ops::Deref for IWMHeaderInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMHeaderInfo, windows_core::IUnknown); impl IWMHeaderInfo { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeCount)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| 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<()> { @@ -968,7 +968,7 @@ impl IWMHeaderInfo { (windows_core::Interface::vtable(self).SetAttribute)(windows_core::Interface::as_raw(self), wstreamnum, pszname.param().abi(), r#type, core::mem::transmute(pvalue.as_ptr()), pvalue.len().try_into().unwrap()).ok() } pub unsafe fn GetMarkerCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMarkerCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMarker(&self, windex: u16, pwszmarkername: windows_core::PWSTR, pcchmarkernamelen: *mut u16, pcnsmarkertime: *mut u64) -> windows_core::Result<()> { @@ -984,7 +984,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScriptCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -1021,13 +1021,13 @@ windows_core::imp::define_interface!(IWMHeaderInfo2, IWMHeaderInfo2_Vtbl, 0x15cf impl std::ops::Deref for IWMHeaderInfo2 { type Target = IWMHeaderInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMHeaderInfo2, windows_core::IUnknown, IWMHeaderInfo); impl IWMHeaderInfo2 { pub unsafe fn GetCodecInfoCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodecInfoCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -1044,13 +1044,13 @@ windows_core::imp::define_interface!(IWMHeaderInfo3, IWMHeaderInfo3_Vtbl, 0x15cc impl std::ops::Deref for IWMHeaderInfo3 { type Target = IWMHeaderInfo2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMHeaderInfo3, windows_core::IUnknown, IWMHeaderInfo, IWMHeaderInfo2); impl IWMHeaderInfo3 { pub unsafe fn GetAttributeCountEx(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeCountEx)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| result__) } pub unsafe fn GetAttributeIndices(&self, wstreamnum: u16, pwszname: P0, pwlangindex: *const u16, pwindices: *mut u16, pwcount: *mut u16) -> windows_core::Result<()> @@ -1097,7 +1097,7 @@ windows_core::imp::define_interface!(IWMIStreamProps, IWMIStreamProps_Vtbl, 0x68 impl std::ops::Deref for IWMIStreamProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMIStreamProps, windows_core::IUnknown); @@ -1118,13 +1118,13 @@ windows_core::imp::define_interface!(IWMImageInfo, IWMImageInfo_Vtbl, 0x9f0aa3b6 impl std::ops::Deref for IWMImageInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMImageInfo, windows_core::IUnknown); impl IWMImageInfo { pub unsafe fn GetImageCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -1141,7 +1141,7 @@ windows_core::imp::define_interface!(IWMIndexer, IWMIndexer_Vtbl, 0x6d7cdc71_988 impl std::ops::Deref for IWMIndexer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMIndexer, windows_core::IUnknown); @@ -1167,7 +1167,7 @@ windows_core::imp::define_interface!(IWMIndexer2, IWMIndexer2_Vtbl, 0xb70f1e42_6 impl std::ops::Deref for IWMIndexer2 { type Target = IWMIndexer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMIndexer2, windows_core::IUnknown, IWMIndexer); @@ -1185,7 +1185,7 @@ windows_core::imp::define_interface!(IWMInputMediaProps, IWMInputMediaProps_Vtbl impl std::ops::Deref for IWMInputMediaProps { type Target = IWMMediaProps; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMInputMediaProps, windows_core::IUnknown, IWMMediaProps); @@ -1207,13 +1207,13 @@ windows_core::imp::define_interface!(IWMLanguageList, IWMLanguageList_Vtbl, 0xdf impl std::ops::Deref for IWMLanguageList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMLanguageList, windows_core::IUnknown); impl IWMLanguageList { pub unsafe fn GetLanguageCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguageCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLanguageDetails(&self, windex: u16, pwszlanguagestring: windows_core::PWSTR, pcchlanguagestringlength: *mut u16) -> windows_core::Result<()> { @@ -1223,7 +1223,7 @@ impl IWMLanguageList { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddLanguageByRFC1766String)(windows_core::Interface::as_raw(self), pwszlanguagestring.param().abi(), &mut result__).map(|| result__) } } @@ -1238,7 +1238,7 @@ windows_core::imp::define_interface!(IWMLicenseBackup, IWMLicenseBackup_Vtbl, 0x impl std::ops::Deref for IWMLicenseBackup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMLicenseBackup, windows_core::IUnknown); @@ -1263,7 +1263,7 @@ windows_core::imp::define_interface!(IWMLicenseRestore, IWMLicenseRestore_Vtbl, impl std::ops::Deref for IWMLicenseRestore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMLicenseRestore, windows_core::IUnknown); @@ -1288,7 +1288,7 @@ windows_core::imp::define_interface!(IWMLicenseRevocationAgent, IWMLicenseRevoca impl std::ops::Deref for IWMLicenseRevocationAgent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMLicenseRevocationAgent, windows_core::IUnknown); @@ -1310,13 +1310,13 @@ windows_core::imp::define_interface!(IWMMediaProps, IWMMediaProps_Vtbl, 0x96406b impl std::ops::Deref for IWMMediaProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMMediaProps, windows_core::IUnknown); impl IWMMediaProps { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMediaType(&self, ptype: *mut WM_MEDIA_TYPE, pcbtype: *mut u32) -> windows_core::Result<()> { @@ -1337,7 +1337,7 @@ windows_core::imp::define_interface!(IWMMetadataEditor, IWMMetadataEditor_Vtbl, impl std::ops::Deref for IWMMetadataEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMMetadataEditor, windows_core::IUnknown); @@ -1366,7 +1366,7 @@ windows_core::imp::define_interface!(IWMMetadataEditor2, IWMMetadataEditor2_Vtbl impl std::ops::Deref for IWMMetadataEditor2 { type Target = IWMMetadataEditor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMMetadataEditor2, windows_core::IUnknown, IWMMetadataEditor); @@ -1387,13 +1387,13 @@ windows_core::imp::define_interface!(IWMMutualExclusion, IWMMutualExclusion_Vtbl impl std::ops::Deref for IWMMutualExclusion { type Target = IWMStreamList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMMutualExclusion, windows_core::IUnknown, IWMStreamList); impl IWMMutualExclusion { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetType(&self, guidtype: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1410,7 +1410,7 @@ windows_core::imp::define_interface!(IWMMutualExclusion2, IWMMutualExclusion2_Vt impl std::ops::Deref for IWMMutualExclusion2 { type Target = IWMMutualExclusion; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMMutualExclusion2, windows_core::IUnknown, IWMStreamList, IWMMutualExclusion); @@ -1425,7 +1425,7 @@ impl IWMMutualExclusion2 { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), pwszname.param().abi()).ok() } pub unsafe fn GetRecordCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddRecord(&self) -> windows_core::Result<()> { @@ -1471,7 +1471,7 @@ windows_core::imp::define_interface!(IWMOutputMediaProps, IWMOutputMediaProps_Vt impl std::ops::Deref for IWMOutputMediaProps { type Target = IWMMediaProps; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMOutputMediaProps, windows_core::IUnknown, IWMMediaProps); @@ -1493,13 +1493,13 @@ windows_core::imp::define_interface!(IWMPacketSize, IWMPacketSize_Vtbl, 0xcdfb97 impl std::ops::Deref for IWMPacketSize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPacketSize, windows_core::IUnknown); impl IWMPacketSize { pub unsafe fn GetMaxPacketSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxPacketSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxPacketSize(&self, dwmaxpacketsize: u32) -> windows_core::Result<()> { @@ -1516,13 +1516,13 @@ windows_core::imp::define_interface!(IWMPacketSize2, IWMPacketSize2_Vtbl, 0x8bfc impl std::ops::Deref for IWMPacketSize2 { type Target = IWMPacketSize; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPacketSize2, windows_core::IUnknown, IWMPacketSize); impl IWMPacketSize2 { pub unsafe fn GetMinPacketSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinPacketSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMinPacketSize(&self, dwminpacketsize: u32) -> windows_core::Result<()> { @@ -1539,7 +1539,7 @@ windows_core::imp::define_interface!(IWMPlayerHook, IWMPlayerHook_Vtbl, 0xe5b7ca impl std::ops::Deref for IWMPlayerHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPlayerHook, windows_core::IUnknown); @@ -1557,13 +1557,13 @@ windows_core::imp::define_interface!(IWMPlayerTimestampHook, IWMPlayerTimestampH impl std::ops::Deref for IWMPlayerTimestampHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPlayerTimestampHook, windows_core::IUnknown); impl IWMPlayerTimestampHook { pub unsafe fn MapTimestamp(&self, rtin: i64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MapTimestamp)(windows_core::Interface::as_raw(self), rtin, &mut result__).map(|| result__) } } @@ -1576,13 +1576,13 @@ windows_core::imp::define_interface!(IWMProfile, IWMProfile_Vtbl, 0x96406bdb_2b2 impl std::ops::Deref for IWMProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMProfile, windows_core::IUnknown); impl IWMProfile { pub unsafe fn GetVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetName(&self, pwszname: windows_core::PWSTR, pcchname: *mut u32) -> windows_core::Result<()> { @@ -1604,15 +1604,15 @@ impl IWMProfile { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), pwszdescription.param().abi()).ok() } pub unsafe fn GetStreamCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStream(&self, dwstreamindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), dwstreamindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamByNumber(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamByNumber)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveStream(&self, pconfig: P0) -> windows_core::Result<()> @@ -1637,15 +1637,15 @@ impl IWMProfile { (windows_core::Interface::vtable(self).ReconfigStream)(windows_core::Interface::as_raw(self), pconfig.param().abi()).ok() } pub unsafe fn CreateNewStream(&self, guidstreamtype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNewStream)(windows_core::Interface::as_raw(self), guidstreamtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMutualExclusionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMutualExclusionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMutualExclusion(&self, dwmeindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMutualExclusion)(windows_core::Interface::as_raw(self), dwmeindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveMutualExclusion(&self, pme: P0) -> windows_core::Result<()> @@ -1661,7 +1661,7 @@ impl IWMProfile { (windows_core::Interface::vtable(self).AddMutualExclusion)(windows_core::Interface::as_raw(self), pme.param().abi()).ok() } pub unsafe fn CreateNewMutualExclusion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNewMutualExclusion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1691,13 +1691,13 @@ windows_core::imp::define_interface!(IWMProfile2, IWMProfile2_Vtbl, 0x07e72d33_d impl std::ops::Deref for IWMProfile2 { type Target = IWMProfile; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMProfile2, windows_core::IUnknown, IWMProfile); impl IWMProfile2 { pub unsafe fn GetProfileID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProfileID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1710,24 +1710,24 @@ windows_core::imp::define_interface!(IWMProfile3, IWMProfile3_Vtbl, 0x00ef96cc_a impl std::ops::Deref for IWMProfile3 { type Target = IWMProfile2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMProfile3, windows_core::IUnknown, IWMProfile, IWMProfile2); impl IWMProfile3 { pub unsafe fn GetStorageFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStorageFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBandwidthSharingCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBandwidthSharing(&self, dwbsindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBandwidthSharing)(windows_core::Interface::as_raw(self), dwbsindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBandwidthSharing(&self, pbs: P0) -> windows_core::Result<()> @@ -1743,11 +1743,11 @@ impl IWMProfile3 { (windows_core::Interface::vtable(self).AddBandwidthSharing)(windows_core::Interface::as_raw(self), pbs.param().abi()).ok() } pub unsafe fn CreateNewBandwidthSharing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNewBandwidthSharing)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStreamPrioritization(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamPrioritization)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStreamPrioritization(&self, psp: P0) -> windows_core::Result<()> @@ -1760,11 +1760,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNewStreamPrioritization)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetExpectedPacketCount(&self, msduration: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpectedPacketCount)(windows_core::Interface::as_raw(self), msduration, &mut result__).map(|| result__) } } @@ -1788,24 +1788,24 @@ windows_core::imp::define_interface!(IWMProfileManager, IWMProfileManager_Vtbl, impl std::ops::Deref for IWMProfileManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMProfileManager, windows_core::IUnknown); impl IWMProfileManager { pub unsafe fn CreateEmptyProfile(&self, dwversion: WMT_VERSION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEmptyProfile)(windows_core::Interface::as_raw(self), dwversion, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoadProfileByID(&self, guidprofile: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadProfileByID)(windows_core::Interface::as_raw(self), guidprofile, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoadProfileByData(&self, pwszprofile: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadProfileByData)(windows_core::Interface::as_raw(self), pwszprofile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SaveProfile(&self, piwmprofile: P0, pwszprofile: P1, pdwlength: *mut u32) -> windows_core::Result<()> @@ -1816,11 +1816,11 @@ impl IWMProfileManager { (windows_core::Interface::vtable(self).SaveProfile)(windows_core::Interface::as_raw(self), piwmprofile.param().abi(), pwszprofile.param().abi(), pdwlength).ok() } pub unsafe fn GetSystemProfileCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemProfileCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LoadSystemProfile(&self, dwprofileindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadSystemProfile)(windows_core::Interface::as_raw(self), dwprofileindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1838,7 +1838,7 @@ windows_core::imp::define_interface!(IWMProfileManager2, IWMProfileManager2_Vtbl impl std::ops::Deref for IWMProfileManager2 { type Target = IWMProfileManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMProfileManager2, windows_core::IUnknown, IWMProfileManager); @@ -1860,7 +1860,7 @@ windows_core::imp::define_interface!(IWMProfileManagerLanguage, IWMProfileManage impl std::ops::Deref for IWMProfileManagerLanguage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMProfileManagerLanguage, windows_core::IUnknown); @@ -1882,7 +1882,7 @@ windows_core::imp::define_interface!(IWMPropertyVault, IWMPropertyVault_Vtbl, 0x impl std::ops::Deref for IWMPropertyVault { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMPropertyVault, windows_core::IUnknown); @@ -1929,7 +1929,7 @@ windows_core::imp::define_interface!(IWMProximityDetection, IWMProximityDetectio impl std::ops::Deref for IWMProximityDetection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMProximityDetection, windows_core::IUnknown); @@ -1950,7 +1950,7 @@ windows_core::imp::define_interface!(IWMReader, IWMReader_Vtbl, 0x96406bd6_2b2b_ impl std::ops::Deref for IWMReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReader, windows_core::IUnknown); @@ -1966,11 +1966,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOutputProps(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputProps)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputProps(&self, dwoutputnum: u32, poutput: P0) -> windows_core::Result<()> @@ -1980,11 +1980,11 @@ impl IWMReader { (windows_core::Interface::vtable(self).SetOutputProps)(windows_core::Interface::as_raw(self), dwoutputnum, poutput.param().abi()).ok() } pub unsafe fn GetOutputFormatCount(&self, dwoutputnumber: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputFormatCount)(windows_core::Interface::as_raw(self), dwoutputnumber, &mut result__).map(|| result__) } pub unsafe fn GetOutputFormat(&self, dwoutputnumber: u32, dwformatnumber: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputFormat)(windows_core::Interface::as_raw(self), dwoutputnumber, dwformatnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Start(&self, cnsstart: u64, cnsduration: u64, frate: f32, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -2019,7 +2019,7 @@ windows_core::imp::define_interface!(IWMReaderAccelerator, IWMReaderAccelerator_ impl std::ops::Deref for IWMReaderAccelerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderAccelerator, windows_core::IUnknown); @@ -2041,7 +2041,7 @@ windows_core::imp::define_interface!(IWMReaderAdvanced, IWMReaderAdvanced_Vtbl, impl std::ops::Deref for IWMReaderAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderAdvanced, windows_core::IUnknown); @@ -2053,7 +2053,7 @@ impl IWMReaderAdvanced { (windows_core::Interface::vtable(self).SetUserProvidedClock)(windows_core::Interface::as_raw(self), fuserclock.param().abi()).ok() } pub unsafe fn GetUserProvidedClock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserProvidedClock)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeliverTime(&self, cnstime: u64) -> windows_core::Result<()> { @@ -2066,14 +2066,14 @@ impl IWMReaderAdvanced { (windows_core::Interface::vtable(self).SetManualStreamSelection)(windows_core::Interface::as_raw(self), fselection.param().abi()).ok() } pub unsafe fn GetManualStreamSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetManualStreamSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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, pwstreamnumbers, pselections).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamSelected)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| result__) } pub unsafe fn SetReceiveSelectionCallbacks(&self, fgetcallbacks: P0) -> windows_core::Result<()> @@ -2083,7 +2083,7 @@ impl IWMReaderAdvanced { (windows_core::Interface::vtable(self).SetReceiveSelectionCallbacks)(windows_core::Interface::as_raw(self), fgetcallbacks.param().abi()).ok() } pub unsafe fn GetReceiveSelectionCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReceiveSelectionCallbacks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetReceiveStreamSamples(&self, wstreamnum: u16, freceivestreamsamples: P0) -> windows_core::Result<()> @@ -2093,7 +2093,7 @@ impl IWMReaderAdvanced { (windows_core::Interface::vtable(self).SetReceiveStreamSamples)(windows_core::Interface::as_raw(self), wstreamnum, freceivestreamsamples.param().abi()).ok() } pub unsafe fn GetReceiveStreamSamples(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReceiveStreamSamples)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| result__) } pub unsafe fn SetAllocateForOutput(&self, dwoutputnum: u32, fallocate: P0) -> windows_core::Result<()> @@ -2103,7 +2103,7 @@ impl IWMReaderAdvanced { (windows_core::Interface::vtable(self).SetAllocateForOutput)(windows_core::Interface::as_raw(self), dwoutputnum, fallocate.param().abi()).ok() } pub unsafe fn GetAllocateForOutput(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocateForOutput)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).map(|| result__) } pub unsafe fn SetAllocateForStream(&self, wstreamnum: u16, fallocate: P0) -> windows_core::Result<()> @@ -2113,7 +2113,7 @@ impl IWMReaderAdvanced { (windows_core::Interface::vtable(self).SetAllocateForStream)(windows_core::Interface::as_raw(self), wstreamnum, fallocate.param().abi()).ok() } pub unsafe fn GetAllocateForStream(&self, dwsreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocateForStream)(windows_core::Interface::as_raw(self), dwsreamnum, &mut result__).map(|| result__) } pub unsafe fn GetStatistics(&self, pstatistics: *mut WM_READER_STATISTICS) -> windows_core::Result<()> { @@ -2123,11 +2123,11 @@ impl IWMReaderAdvanced { (windows_core::Interface::vtable(self).SetClientInfo)(windows_core::Interface::as_raw(self), pclientinfo).ok() } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxOutputSampleSize)(windows_core::Interface::as_raw(self), dwoutput, &mut result__).map(|| result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxStreamSampleSize)(windows_core::Interface::as_raw(self), wstream, &mut result__).map(|| result__) } pub unsafe fn NotifyLateDelivery(&self, cnslateness: u64) -> windows_core::Result<()> { @@ -2162,7 +2162,7 @@ windows_core::imp::define_interface!(IWMReaderAdvanced2, IWMReaderAdvanced2_Vtbl impl std::ops::Deref for IWMReaderAdvanced2 { type Target = IWMReaderAdvanced; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderAdvanced2, windows_core::IUnknown, IWMReaderAdvanced); @@ -2171,7 +2171,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPlayMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBufferProgress(&self, pdwpercent: *mut u32, pcnsbuffering: *mut u64) -> windows_core::Result<()> { @@ -2181,7 +2181,7 @@ impl IWMReaderAdvanced2 { (windows_core::Interface::vtable(self).GetDownloadProgress)(windows_core::Interface::as_raw(self), pdwpercent, pqwbytesdownloaded, pcnsdownload).ok() } pub unsafe fn GetSaveAsProgress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSaveAsProgress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SaveFileAs(&self, pwszfilename: P0) -> windows_core::Result<()> @@ -2218,7 +2218,7 @@ impl IWMReaderAdvanced2 { (windows_core::Interface::vtable(self).SetLogClientID)(windows_core::Interface::as_raw(self), flogclientid.param().abi()).ok() } pub unsafe fn GetLogClientID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogClientID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StopBuffering(&self) -> windows_core::Result<()> { @@ -2259,7 +2259,7 @@ windows_core::imp::define_interface!(IWMReaderAdvanced3, IWMReaderAdvanced3_Vtbl impl std::ops::Deref for IWMReaderAdvanced3 { type Target = IWMReaderAdvanced2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderAdvanced3, windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2); @@ -2281,24 +2281,24 @@ windows_core::imp::define_interface!(IWMReaderAdvanced4, IWMReaderAdvanced4_Vtbl impl std::ops::Deref for IWMReaderAdvanced4 { type Target = IWMReaderAdvanced3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderAdvanced4, windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3); impl IWMReaderAdvanced4 { pub unsafe fn GetLanguageCount(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguageCount)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).map(|| 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), pcchlanguagestringlength).ok() } pub unsafe fn GetMaxSpeedFactor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxSpeedFactor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsUsingFastCache(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUsingFastCache)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddLogParam(&self, wsznamespace: P0, wszname: P1, wszvalue: P2) -> windows_core::Result<()> @@ -2313,7 +2313,7 @@ impl IWMReaderAdvanced4 { (windows_core::Interface::vtable(self).SendLogParams)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn CanSaveFileAs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanSaveFileAs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CancelSaveFileAs(&self) -> windows_core::Result<()> { @@ -2340,7 +2340,7 @@ windows_core::imp::define_interface!(IWMReaderAdvanced5, IWMReaderAdvanced5_Vtbl impl std::ops::Deref for IWMReaderAdvanced5 { type Target = IWMReaderAdvanced4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderAdvanced5, windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4); @@ -2361,7 +2361,7 @@ windows_core::imp::define_interface!(IWMReaderAdvanced6, IWMReaderAdvanced6_Vtbl impl std::ops::Deref for IWMReaderAdvanced6 { type Target = IWMReaderAdvanced5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderAdvanced6, windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4, IWMReaderAdvanced5); @@ -2379,7 +2379,7 @@ windows_core::imp::define_interface!(IWMReaderAllocatorEx, IWMReaderAllocatorEx_ impl std::ops::Deref for IWMReaderAllocatorEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderAllocatorEx, windows_core::IUnknown); @@ -2401,7 +2401,7 @@ windows_core::imp::define_interface!(IWMReaderCallback, IWMReaderCallback_Vtbl, impl std::ops::Deref for IWMReaderCallback { type Target = IWMStatusCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderCallback, windows_core::IUnknown, IWMStatusCallback); @@ -2422,7 +2422,7 @@ windows_core::imp::define_interface!(IWMReaderCallbackAdvanced, IWMReaderCallbac impl std::ops::Deref for IWMReaderCallbackAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderCallbackAdvanced, windows_core::IUnknown); @@ -2463,13 +2463,13 @@ windows_core::imp::define_interface!(IWMReaderNetworkConfig, IWMReaderNetworkCon impl std::ops::Deref for IWMReaderNetworkConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderNetworkConfig, windows_core::IUnknown); impl IWMReaderNetworkConfig { pub unsafe fn GetBufferingTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBufferingTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBufferingTime(&self, cnsbufferingtime: u64) -> windows_core::Result<()> { @@ -2485,7 +2485,7 @@ impl IWMReaderNetworkConfig { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProxySettings)(windows_core::Interface::as_raw(self), pwszprotocol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetProxySettings(&self, pwszprotocol: P0, proxysetting: WMT_PROXY_SETTINGS) -> windows_core::Result<()> @@ -2511,7 +2511,7 @@ impl IWMReaderNetworkConfig { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProxyPort)(windows_core::Interface::as_raw(self), pwszprotocol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetProxyPort(&self, pwszprotocol: P0, dwport: u32) -> windows_core::Result<()> @@ -2537,7 +2537,7 @@ impl IWMReaderNetworkConfig { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProxyBypassForLocal)(windows_core::Interface::as_raw(self), pwszprotocol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetProxyBypassForLocal(&self, pwszprotocol: P0, fbypassforlocal: P1) -> windows_core::Result<()> @@ -2548,7 +2548,7 @@ impl IWMReaderNetworkConfig { (windows_core::Interface::vtable(self).SetProxyBypassForLocal)(windows_core::Interface::as_raw(self), pwszprotocol.param().abi(), fbypassforlocal.param().abi()).ok() } pub unsafe fn GetForceRerunAutoProxyDetection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetForceRerunAutoProxyDetection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetForceRerunAutoProxyDetection(&self, fforcererundetection: P0) -> windows_core::Result<()> @@ -2558,7 +2558,7 @@ impl IWMReaderNetworkConfig { (windows_core::Interface::vtable(self).SetForceRerunAutoProxyDetection)(windows_core::Interface::as_raw(self), fforcererundetection.param().abi()).ok() } pub unsafe fn GetEnableMulticast(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnableMulticast)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableMulticast(&self, fenablemulticast: P0) -> windows_core::Result<()> @@ -2568,7 +2568,7 @@ impl IWMReaderNetworkConfig { (windows_core::Interface::vtable(self).SetEnableMulticast)(windows_core::Interface::as_raw(self), fenablemulticast.param().abi()).ok() } pub unsafe fn GetEnableHTTP(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnableHTTP)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableHTTP(&self, fenablehttp: P0) -> windows_core::Result<()> @@ -2578,7 +2578,7 @@ impl IWMReaderNetworkConfig { (windows_core::Interface::vtable(self).SetEnableHTTP)(windows_core::Interface::as_raw(self), fenablehttp.param().abi()).ok() } pub unsafe fn GetEnableUDP(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnableUDP)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableUDP(&self, fenableudp: P0) -> windows_core::Result<()> @@ -2588,7 +2588,7 @@ impl IWMReaderNetworkConfig { (windows_core::Interface::vtable(self).SetEnableUDP)(windows_core::Interface::as_raw(self), fenableudp.param().abi()).ok() } pub unsafe fn GetEnableTCP(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnableTCP)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableTCP(&self, fenabletcp: P0) -> windows_core::Result<()> @@ -2601,14 +2601,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectionBandwidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumProtocolsSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedProtocolName(&self, dwprotocolnum: u32, pwszprotocolname: windows_core::PWSTR, pcchprotocolname: *mut u32) -> windows_core::Result<()> { @@ -2624,7 +2624,7 @@ impl IWMReaderNetworkConfig { (windows_core::Interface::vtable(self).GetLoggingUrl)(windows_core::Interface::as_raw(self), dwindex, core::mem::transmute(pwszurl), pcchurl).ok() } pub unsafe fn GetLoggingUrlCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLoggingUrlCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResetLoggingUrlList(&self) -> windows_core::Result<()> { @@ -2672,13 +2672,13 @@ windows_core::imp::define_interface!(IWMReaderNetworkConfig2, IWMReaderNetworkCo impl std::ops::Deref for IWMReaderNetworkConfig2 { type Target = IWMReaderNetworkConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderNetworkConfig2, windows_core::IUnknown, IWMReaderNetworkConfig); impl IWMReaderNetworkConfig2 { pub unsafe fn GetEnableContentCaching(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnableContentCaching)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableContentCaching(&self, fenablecontentcaching: P0) -> windows_core::Result<()> @@ -2688,7 +2688,7 @@ impl IWMReaderNetworkConfig2 { (windows_core::Interface::vtable(self).SetEnableContentCaching)(windows_core::Interface::as_raw(self), fenablecontentcaching.param().abi()).ok() } pub unsafe fn GetEnableFastCache(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnableFastCache)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableFastCache(&self, fenablefastcache: P0) -> windows_core::Result<()> @@ -2698,21 +2698,21 @@ impl IWMReaderNetworkConfig2 { (windows_core::Interface::vtable(self).SetEnableFastCache)(windows_core::Interface::as_raw(self), fenablefastcache.param().abi()).ok() } pub unsafe fn GetAcceleratedStreamingDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAcceleratedStreamingDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutoReconnectLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoReconnectLimit(&self, dwautoreconnectlimit: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAutoReconnectLimit)(windows_core::Interface::as_raw(self), dwautoreconnectlimit).ok() } pub unsafe fn GetEnableResends(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnableResends)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableResends(&self, fenableresends: P0) -> windows_core::Result<()> @@ -2722,7 +2722,7 @@ impl IWMReaderNetworkConfig2 { (windows_core::Interface::vtable(self).SetEnableResends)(windows_core::Interface::as_raw(self), fenableresends.param().abi()).ok() } pub unsafe fn GetEnableThinning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnableThinning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableThinning(&self, fenablethinning: P0) -> windows_core::Result<()> @@ -2732,7 +2732,7 @@ impl IWMReaderNetworkConfig2 { (windows_core::Interface::vtable(self).SetEnableThinning)(windows_core::Interface::as_raw(self), fenablethinning.param().abi()).ok() } pub unsafe fn GetMaxNetPacketSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxNetPacketSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2757,7 +2757,7 @@ windows_core::imp::define_interface!(IWMReaderPlaylistBurn, IWMReaderPlaylistBur impl std::ops::Deref for IWMReaderPlaylistBurn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderPlaylistBurn, windows_core::IUnknown); @@ -2769,7 +2769,7 @@ impl IWMReaderPlaylistBurn { (windows_core::Interface::vtable(self).InitPlaylistBurn)(windows_core::Interface::as_raw(self), cfiles, ppwszfilenames, pcallback.param().abi(), pvcontext).ok() } pub unsafe fn GetInitResults(&self, cfiles: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInitResults)(windows_core::Interface::as_raw(self), cfiles, &mut result__).map(|| result__) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -2791,7 +2791,7 @@ windows_core::imp::define_interface!(IWMReaderStreamClock, IWMReaderStreamClock_ impl std::ops::Deref for IWMReaderStreamClock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderStreamClock, windows_core::IUnknown); @@ -2800,7 +2800,7 @@ impl IWMReaderStreamClock { (windows_core::Interface::vtable(self).GetTime)(windows_core::Interface::as_raw(self), pcnsnow).ok() } pub unsafe fn SetTimer(&self, cnswhen: u64, pvparam: *const core::ffi::c_void) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetTimer)(windows_core::Interface::as_raw(self), cnswhen, pvparam, &mut result__).map(|| result__) } pub unsafe fn KillTimer(&self, dwtimerid: u32) -> windows_core::Result<()> { @@ -2818,13 +2818,13 @@ windows_core::imp::define_interface!(IWMReaderTimecode, IWMReaderTimecode_Vtbl, impl std::ops::Deref for IWMReaderTimecode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderTimecode, windows_core::IUnknown); impl IWMReaderTimecode { pub unsafe fn GetTimecodeRangeCount(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimecodeRangeCount)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| result__) } pub unsafe fn GetTimecodeRangeBounds(&self, wstreamnum: u16, wrangenum: u16, pstarttimecode: *mut u32, pendtimecode: *mut u32) -> windows_core::Result<()> { @@ -2841,7 +2841,7 @@ windows_core::imp::define_interface!(IWMReaderTypeNegotiation, IWMReaderTypeNego impl std::ops::Deref for IWMReaderTypeNegotiation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMReaderTypeNegotiation, windows_core::IUnknown); @@ -2862,7 +2862,7 @@ windows_core::imp::define_interface!(IWMRegisterCallback, IWMRegisterCallback_Vt impl std::ops::Deref for IWMRegisterCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMRegisterCallback, windows_core::IUnknown); @@ -2890,25 +2890,25 @@ windows_core::imp::define_interface!(IWMRegisteredDevice, IWMRegisteredDevice_Vt impl std::ops::Deref for IWMRegisteredDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMRegisteredDevice, windows_core::IUnknown); impl IWMRegisteredDevice { pub unsafe fn GetDeviceSerialNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceSerialNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDeviceType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAttributeCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAttributeByIndex(&self, dwindex: u32, pbstrname: *mut windows_core::BSTR, pbstrvalue: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -2918,7 +2918,7 @@ impl IWMRegisteredDevice { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeByName)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAttributeByName(&self, bstrname: P0, bstrvalue: P1) -> windows_core::Result<()> @@ -2935,19 +2935,19 @@ impl IWMRegisteredDevice { (windows_core::Interface::vtable(self).Approve)(windows_core::Interface::as_raw(self), fapprove.param().abi()).ok() } pub unsafe fn IsValid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsValid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsApproved(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsApproved)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsWmdrmCompliant(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWmdrmCompliant)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOpened(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOpened)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Open(&self) -> windows_core::Result<()> { @@ -2964,9 +2964,9 @@ pub struct IWMRegisteredDevice_Vtbl { pub GetDeviceCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDeviceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetAttributeCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetAttributeByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAttributeByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAttributeByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttributeByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttributeByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAttributeByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Approve: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsValid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsApproved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -2979,17 +2979,17 @@ windows_core::imp::define_interface!(IWMSBufferAllocator, IWMSBufferAllocator_Vt impl std::ops::Deref for IWMSBufferAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMSBufferAllocator, windows_core::IUnknown); impl IWMSBufferAllocator { pub unsafe fn AllocateBuffer(&self, dwmaxbuffersize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocateBuffer)(windows_core::Interface::as_raw(self), dwmaxbuffersize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AllocatePageSizeBuffer(&self, dwmaxbuffersize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocatePageSizeBuffer)(windows_core::Interface::as_raw(self), dwmaxbuffersize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3003,7 +3003,7 @@ windows_core::imp::define_interface!(IWMSInternalAdminNetSource, IWMSInternalAdm impl std::ops::Deref for IWMSInternalAdminNetSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMSInternalAdminNetSource, windows_core::IUnknown); @@ -3018,7 +3018,7 @@ impl IWMSInternalAdminNetSource { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), psharednamespace.param().abi(), pnamespacenode.param().abi(), pnetsourcecreator.param().abi(), fembeddedinserver.param().abi()).ok() } pub unsafe fn GetNetSourceCreator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetSourceCreator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCredentials(&self, bstrrealm: P0, bstrname: P1, bstrpassword: P2, fpersist: P3, fconfirmedgood: P4) -> windows_core::Result<()> @@ -3044,7 +3044,7 @@ impl IWMSInternalAdminNetSource { (windows_core::Interface::vtable(self).DeleteCredentials)(windows_core::Interface::as_raw(self), bstrrealm.param().abi()).ok() } pub unsafe fn GetCredentialFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCredentialFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCredentialFlags(&self, dwflags: u32) -> windows_core::Result<()> { @@ -3064,7 +3064,7 @@ impl IWMSInternalAdminNetSource { (windows_core::Interface::vtable(self).ShutdownProxyContext)(windows_core::Interface::as_raw(self), dwproxycontext).ok() } pub unsafe fn IsUsingIE(&self, dwproxycontext: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUsingIE)(windows_core::Interface::as_raw(self), dwproxycontext, &mut result__).map(|| result__) } } @@ -3073,12 +3073,12 @@ pub struct IWMSInternalAdminNetSource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetNetSourceCreator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub DeleteCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub DeleteCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCredentialFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCredentialFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub FindProxyForURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut std::mem::MaybeUninit, *mut u32, *mut u32) -> windows_core::HRESULT, + pub FindProxyForURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut core::mem::MaybeUninit, *mut u32, *mut u32) -> windows_core::HRESULT, pub RegisterProxyFailure: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32) -> windows_core::HRESULT, pub ShutdownProxyContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub IsUsingIE: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -3087,7 +3087,7 @@ windows_core::imp::define_interface!(IWMSInternalAdminNetSource2, IWMSInternalAd impl std::ops::Deref for IWMSInternalAdminNetSource2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMSInternalAdminNetSource2, windows_core::IUnknown); @@ -3132,22 +3132,22 @@ impl IWMSInternalAdminNetSource2 { #[repr(C)] pub struct IWMSInternalAdminNetSource2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub SetCredentialsEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::BOOL, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetCredentialsEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::BOOL, *mut NETSOURCE_URLCREDPOLICY_SETTINGS, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub DeleteCredentialsEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub FindProxyForURLEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut std::mem::MaybeUninit, *mut u32, *mut u32) -> windows_core::HRESULT, + pub SetCredentialsEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetCredentialsEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL, *mut NETSOURCE_URLCREDPOLICY_SETTINGS, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub DeleteCredentialsEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub FindProxyForURLEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut core::mem::MaybeUninit, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMSInternalAdminNetSource3, IWMSInternalAdminNetSource3_Vtbl, 0x6b63d08e_4590_44af_9eb3_57ff1e73bf80); impl std::ops::Deref for IWMSInternalAdminNetSource3 { type Target = IWMSInternalAdminNetSource2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMSInternalAdminNetSource3, windows_core::IUnknown, IWMSInternalAdminNetSource2); impl IWMSInternalAdminNetSource3 { pub unsafe fn GetNetSourceCreator2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetSourceCreator2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindProxyForURLEx2(&self, bstrprotocol: P0, bstrhost: P1, bstrurl: P2, pfproxyenabled: *mut super::super::Foundation::BOOL, pbstrproxyserver: *mut windows_core::BSTR, pdwproxyport: *mut u32, pqwproxycontext: *mut u64) -> windows_core::Result<()> @@ -3165,7 +3165,7 @@ impl IWMSInternalAdminNetSource3 { (windows_core::Interface::vtable(self).ShutdownProxyContext2)(windows_core::Interface::as_raw(self), qwproxycontext).ok() } pub unsafe fn IsUsingIE2(&self, qwproxycontext: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUsingIE2)(windows_core::Interface::as_raw(self), qwproxycontext, &mut result__).map(|| result__) } pub unsafe fn SetCredentialsEx2(&self, bstrrealm: P0, bstrurl: P1, fproxy: P2, bstrname: P3, bstrpassword: P4, fpersist: P5, fconfirmedgood: P6, fcleartextauthentication: P7) -> windows_core::Result<()> @@ -3195,18 +3195,18 @@ impl IWMSInternalAdminNetSource3 { pub struct IWMSInternalAdminNetSource3_Vtbl { pub base__: IWMSInternalAdminNetSource2_Vtbl, pub GetNetSourceCreator2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FindProxyForURLEx2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut std::mem::MaybeUninit, *mut u32, *mut u64) -> windows_core::HRESULT, + pub FindProxyForURLEx2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut core::mem::MaybeUninit, *mut u32, *mut u64) -> windows_core::HRESULT, pub RegisterProxyFailure2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u64) -> windows_core::HRESULT, pub ShutdownProxyContext2: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub IsUsingIE2: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub SetCredentialsEx2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::BOOL, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetCredentialsEx2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut NETSOURCE_URLCREDPOLICY_SETTINGS, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub SetCredentialsEx2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetCredentialsEx2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut NETSOURCE_URLCREDPOLICY_SETTINGS, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMSecureChannel, IWMSecureChannel_Vtbl, 0x2720598a_d0f2_4189_bd10_91c46ef0936f); impl std::ops::Deref for IWMSecureChannel { type Target = IWMAuthorizer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMSecureChannel, windows_core::IUnknown, IWMAuthorizer); @@ -3227,7 +3227,7 @@ impl IWMSecureChannel { (windows_core::Interface::vtable(self).WMSC_Connect)(windows_core::Interface::as_raw(self), potherside.param().abi()).ok() } pub unsafe fn WMSC_IsConnected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WMSC_IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WMSC_Disconnect(&self) -> windows_core::Result<()> { @@ -3271,7 +3271,7 @@ windows_core::imp::define_interface!(IWMStatusCallback, IWMStatusCallback_Vtbl, impl std::ops::Deref for IWMStatusCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMStatusCallback, windows_core::IUnknown); @@ -3289,17 +3289,17 @@ windows_core::imp::define_interface!(IWMStreamConfig, IWMStreamConfig_Vtbl, 0x96 impl std::ops::Deref for IWMStreamConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMStreamConfig, windows_core::IUnknown); impl IWMStreamConfig { pub unsafe fn GetStreamType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStreamNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStreamNumber(&self, wstreamnum: u16) -> windows_core::Result<()> { @@ -3324,14 +3324,14 @@ impl IWMStreamConfig { (windows_core::Interface::vtable(self).SetConnectionName)(windows_core::Interface::as_raw(self), pwszinputname.param().abi()).ok() } pub unsafe fn GetBitrate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitrate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBufferWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBufferWindow(&self, msbufferwindow: u32) -> windows_core::Result<()> { @@ -3357,13 +3357,13 @@ windows_core::imp::define_interface!(IWMStreamConfig2, IWMStreamConfig2_Vtbl, 0x impl std::ops::Deref for IWMStreamConfig2 { type Target = IWMStreamConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMStreamConfig2, windows_core::IUnknown, IWMStreamConfig); impl IWMStreamConfig2 { pub unsafe fn GetTransportType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransportType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTransportType(&self, ntransporttype: WMT_TRANSPORT_TYPE) -> windows_core::Result<()> { @@ -3373,7 +3373,7 @@ impl IWMStreamConfig2 { (windows_core::Interface::vtable(self).AddDataUnitExtension)(windows_core::Interface::as_raw(self), core::mem::transmute(guidextensionsystemid), cbextensiondatasize, core::mem::transmute(pbextensionsysteminfo.as_ptr()), pbextensionsysteminfo.len().try_into().unwrap()).ok() } pub unsafe fn GetDataUnitExtensionCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataUnitExtensionCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -3397,7 +3397,7 @@ windows_core::imp::define_interface!(IWMStreamConfig3, IWMStreamConfig3_Vtbl, 0x impl std::ops::Deref for IWMStreamConfig3 { type Target = IWMStreamConfig2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMStreamConfig3, windows_core::IUnknown, IWMStreamConfig, IWMStreamConfig2); @@ -3422,7 +3422,7 @@ windows_core::imp::define_interface!(IWMStreamList, IWMStreamList_Vtbl, 0x96406b impl std::ops::Deref for IWMStreamList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMStreamList, windows_core::IUnknown); @@ -3448,7 +3448,7 @@ windows_core::imp::define_interface!(IWMStreamPrioritization, IWMStreamPrioritiz impl std::ops::Deref for IWMStreamPrioritization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMStreamPrioritization, windows_core::IUnknown); @@ -3470,7 +3470,7 @@ windows_core::imp::define_interface!(IWMSyncReader, IWMSyncReader_Vtbl, 0x9397f1 impl std::ops::Deref for IWMSyncReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMSyncReader, windows_core::IUnknown); @@ -3497,7 +3497,7 @@ impl IWMSyncReader { (windows_core::Interface::vtable(self).SetStreamsSelected)(windows_core::Interface::as_raw(self), cstreamcount, pwstreamnumbers, pselections).ok() } pub unsafe fn GetStreamSelected(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamSelected)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| result__) } pub unsafe fn SetReadStreamSamples(&self, wstreamnum: u16, fcompressed: P0) -> windows_core::Result<()> @@ -3507,7 +3507,7 @@ impl IWMSyncReader { (windows_core::Interface::vtable(self).SetReadStreamSamples)(windows_core::Interface::as_raw(self), wstreamnum, fcompressed.param().abi()).ok() } pub unsafe fn GetReadStreamSamples(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReadStreamSamples)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| result__) } pub unsafe fn GetOutputSetting(&self, dwoutputnum: u32, pszname: P0, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> windows_core::Result<()> @@ -3523,11 +3523,11 @@ impl IWMSyncReader { (windows_core::Interface::vtable(self).SetOutputSetting)(windows_core::Interface::as_raw(self), dwoutputnum, pszname.param().abi(), r#type, core::mem::transmute(pvalue.as_ptr()), pvalue.len().try_into().unwrap()).ok() } pub unsafe fn GetOutputCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOutputProps(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputProps)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputProps(&self, dwoutputnum: u32, poutput: P0) -> windows_core::Result<()> @@ -3537,27 +3537,27 @@ impl IWMSyncReader { (windows_core::Interface::vtable(self).SetOutputProps)(windows_core::Interface::as_raw(self), dwoutputnum, poutput.param().abi()).ok() } pub unsafe fn GetOutputFormatCount(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputFormatCount)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).map(|| result__) } pub unsafe fn GetOutputFormat(&self, dwoutputnum: u32, dwformatnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputFormat)(windows_core::Interface::as_raw(self), dwoutputnum, dwformatnum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputNumberForStream(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputNumberForStream)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| result__) } pub unsafe fn GetStreamNumberForOutput(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreamNumberForOutput)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).map(|| result__) } pub unsafe fn GetMaxOutputSampleSize(&self, dwoutput: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxOutputSampleSize)(windows_core::Interface::as_raw(self), dwoutput, &mut result__).map(|| result__) } pub unsafe fn GetMaxStreamSampleSize(&self, wstream: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxStreamSampleSize)(windows_core::Interface::as_raw(self), wstream, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3600,7 +3600,7 @@ windows_core::imp::define_interface!(IWMSyncReader2, IWMSyncReader2_Vtbl, 0xfaed impl std::ops::Deref for IWMSyncReader2 { type Target = IWMSyncReader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMSyncReader2, windows_core::IUnknown, IWMSyncReader); @@ -3609,7 +3609,7 @@ impl IWMSyncReader2 { (windows_core::Interface::vtable(self).SetRangeByTimecode)(windows_core::Interface::as_raw(self), wstreamnum, pstart, pend).ok() } pub unsafe fn SetRangeByFrameEx(&self, wstreamnum: u16, qwframenumber: u64, cframestoread: i64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetRangeByFrameEx)(windows_core::Interface::as_raw(self), wstreamnum, qwframenumber, cframestoread, &mut result__).map(|| result__) } pub unsafe fn SetAllocateForOutput(&self, dwoutputnum: u32, pallocator: P0) -> windows_core::Result<()> @@ -3619,7 +3619,7 @@ impl IWMSyncReader2 { (windows_core::Interface::vtable(self).SetAllocateForOutput)(windows_core::Interface::as_raw(self), dwoutputnum, pallocator.param().abi()).ok() } pub unsafe fn GetAllocateForOutput(&self, dwoutputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocateForOutput)(windows_core::Interface::as_raw(self), dwoutputnum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAllocateForStream(&self, wstreamnum: u16, pallocator: P0) -> windows_core::Result<()> @@ -3629,7 +3629,7 @@ impl IWMSyncReader2 { (windows_core::Interface::vtable(self).SetAllocateForStream)(windows_core::Interface::as_raw(self), wstreamnum, pallocator.param().abi()).ok() } pub unsafe fn GetAllocateForStream(&self, dwsreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocateForStream)(windows_core::Interface::as_raw(self), dwsreamnum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3647,20 +3647,20 @@ windows_core::imp::define_interface!(IWMVideoMediaProps, IWMVideoMediaProps_Vtbl impl std::ops::Deref for IWMVideoMediaProps { type Target = IWMMediaProps; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMVideoMediaProps, windows_core::IUnknown, IWMMediaProps); impl IWMVideoMediaProps { pub unsafe fn GetMaxKeyFrameSpacing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxKeyFrameSpacing)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQuality)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetQuality(&self, dwquality: u32) -> windows_core::Result<()> { @@ -3679,13 +3679,13 @@ windows_core::imp::define_interface!(IWMWatermarkInfo, IWMWatermarkInfo_Vtbl, 0x impl std::ops::Deref for IWMWatermarkInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWatermarkInfo, windows_core::IUnknown); impl IWMWatermarkInfo { pub unsafe fn GetWatermarkEntryCount(&self, wmettype: WMT_WATERMARK_ENTRY_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWatermarkEntryCount)(windows_core::Interface::as_raw(self), wmettype, &mut result__).map(|| result__) } pub unsafe fn GetWatermarkEntry(&self, wmettype: WMT_WATERMARK_ENTRY_TYPE, dwentrynum: u32, pentry: *mut WMT_WATERMARK_ENTRY) -> windows_core::Result<()> { @@ -3702,7 +3702,7 @@ windows_core::imp::define_interface!(IWMWriter, IWMWriter_Vtbl, 0x96406bd4_2b2b_ impl std::ops::Deref for IWMWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriter, windows_core::IUnknown); @@ -3723,11 +3723,11 @@ impl IWMWriter { (windows_core::Interface::vtable(self).SetOutputFilename)(windows_core::Interface::as_raw(self), pwszfilename.param().abi()).ok() } pub unsafe fn GetInputCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInputProps(&self, dwinputnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputProps)(windows_core::Interface::as_raw(self), dwinputnum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputProps(&self, dwinputnum: u32, pinput: P0) -> windows_core::Result<()> @@ -3737,11 +3737,11 @@ impl IWMWriter { (windows_core::Interface::vtable(self).SetInputProps)(windows_core::Interface::as_raw(self), dwinputnum, pinput.param().abi()).ok() } pub unsafe fn GetInputFormatCount(&self, dwinputnumber: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputFormatCount)(windows_core::Interface::as_raw(self), dwinputnumber, &mut result__).map(|| result__) } pub unsafe fn GetInputFormat(&self, dwinputnumber: u32, dwformatnumber: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputFormat)(windows_core::Interface::as_raw(self), dwinputnumber, dwformatnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BeginWriting(&self) -> windows_core::Result<()> { @@ -3751,7 +3751,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocateSample)(windows_core::Interface::as_raw(self), dwsamplesize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn WriteSample(&self, dwinputnum: u32, cnssampletime: u64, dwflags: u32, psample: P0) -> windows_core::Result<()> @@ -3785,17 +3785,17 @@ windows_core::imp::define_interface!(IWMWriterAdvanced, IWMWriterAdvanced_Vtbl, impl std::ops::Deref for IWMWriterAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterAdvanced, windows_core::IUnknown); impl IWMWriterAdvanced { pub unsafe fn GetSinkCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSinkCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSink(&self, dwsinknum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSink)(windows_core::Interface::as_raw(self), dwsinknum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddSink(&self, psink: P0) -> windows_core::Result<()> @@ -3823,11 +3823,11 @@ impl IWMWriterAdvanced { (windows_core::Interface::vtable(self).SetLiveSource)(windows_core::Interface::as_raw(self), fislivesource.param().abi()).ok() } pub unsafe fn IsRealTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRealTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWriterTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWriterTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatistics(&self, wstreamnum: u16, pstats: *mut WM_WRITER_STATISTICS) -> windows_core::Result<()> { @@ -3837,7 +3837,7 @@ impl IWMWriterAdvanced { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncTolerance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3860,7 +3860,7 @@ windows_core::imp::define_interface!(IWMWriterAdvanced2, IWMWriterAdvanced2_Vtbl impl std::ops::Deref for IWMWriterAdvanced2 { type Target = IWMWriterAdvanced; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterAdvanced2, windows_core::IUnknown, IWMWriterAdvanced); @@ -3888,7 +3888,7 @@ windows_core::imp::define_interface!(IWMWriterAdvanced3, IWMWriterAdvanced3_Vtbl impl std::ops::Deref for IWMWriterAdvanced3 { type Target = IWMWriterAdvanced2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterAdvanced3, windows_core::IUnknown, IWMWriterAdvanced, IWMWriterAdvanced2); @@ -3910,7 +3910,7 @@ windows_core::imp::define_interface!(IWMWriterFileSink, IWMWriterFileSink_Vtbl, impl std::ops::Deref for IWMWriterFileSink { type Target = IWMWriterSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterFileSink, windows_core::IUnknown, IWMWriterSink); @@ -3931,7 +3931,7 @@ windows_core::imp::define_interface!(IWMWriterFileSink2, IWMWriterFileSink2_Vtbl impl std::ops::Deref for IWMWriterFileSink2 { type Target = IWMWriterFileSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterFileSink2, windows_core::IUnknown, IWMWriterSink, IWMWriterFileSink); @@ -3943,22 +3943,22 @@ impl IWMWriterFileSink2 { (windows_core::Interface::vtable(self).Stop)(windows_core::Interface::as_raw(self), cnsstoptime).ok() } pub unsafe fn IsStopped(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsStopped)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFileDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFileSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsClosed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsClosed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3977,7 +3977,7 @@ windows_core::imp::define_interface!(IWMWriterFileSink3, IWMWriterFileSink3_Vtbl impl std::ops::Deref for IWMWriterFileSink3 { type Target = IWMWriterFileSink2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterFileSink3, windows_core::IUnknown, IWMWriterSink, IWMWriterFileSink, IWMWriterFileSink2); @@ -3989,7 +3989,7 @@ impl IWMWriterFileSink3 { (windows_core::Interface::vtable(self).SetAutoIndexing)(windows_core::Interface::as_raw(self), fdoautoindexing.param().abi()).ok() } pub unsafe fn GetAutoIndexing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutoIndexing)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetControlStream(&self, wstreamnumber: u16, fshouldcontrolstartandstop: P0) -> windows_core::Result<()> @@ -3999,7 +3999,7 @@ impl IWMWriterFileSink3 { (windows_core::Interface::vtable(self).SetControlStream)(windows_core::Interface::as_raw(self), wstreamnumber, fshouldcontrolstartandstop.param().abi()).ok() } pub unsafe fn GetMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OnDataUnitEx(&self, pfilesinkdataunit: *const WMT_FILESINK_DATA_UNIT) -> windows_core::Result<()> { @@ -4013,7 +4013,7 @@ impl IWMWriterFileSink3 { (windows_core::Interface::vtable(self).SetUnbufferedIO)(windows_core::Interface::as_raw(self), funbufferedio.param().abi(), frestrictmemusage.param().abi()).ok() } pub unsafe fn GetUnbufferedIO(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnbufferedIO)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CompleteOperations(&self) -> windows_core::Result<()> { @@ -4036,7 +4036,7 @@ windows_core::imp::define_interface!(IWMWriterNetworkSink, IWMWriterNetworkSink_ impl std::ops::Deref for IWMWriterNetworkSink { type Target = IWMWriterSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterNetworkSink, windows_core::IUnknown, IWMWriterSink); @@ -4045,14 +4045,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumClients)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkProtocol)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHostURL(&self, pwszurl: windows_core::PWSTR, pcchurl: *mut u32) -> windows_core::Result<()> { @@ -4084,7 +4084,7 @@ windows_core::imp::define_interface!(IWMWriterPostView, IWMWriterPostView_Vtbl, impl std::ops::Deref for IWMWriterPostView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterPostView, windows_core::IUnknown); @@ -4102,11 +4102,11 @@ impl IWMWriterPostView { (windows_core::Interface::vtable(self).SetReceivePostViewSamples)(windows_core::Interface::as_raw(self), wstreamnum, freceivepostviewsamples.param().abi()).ok() } pub unsafe fn GetReceivePostViewSamples(&self, wstreamnum: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReceivePostViewSamples)(windows_core::Interface::as_raw(self), wstreamnum, &mut result__).map(|| result__) } pub unsafe fn GetPostViewProps(&self, wstreamnumber: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPostViewProps)(windows_core::Interface::as_raw(self), wstreamnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPostViewProps(&self, wstreamnumber: u16, poutput: P0) -> windows_core::Result<()> @@ -4116,11 +4116,11 @@ impl IWMWriterPostView { (windows_core::Interface::vtable(self).SetPostViewProps)(windows_core::Interface::as_raw(self), wstreamnumber, poutput.param().abi()).ok() } pub unsafe fn GetPostViewFormatCount(&self, wstreamnumber: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPostViewFormatCount)(windows_core::Interface::as_raw(self), wstreamnumber, &mut result__).map(|| result__) } pub unsafe fn GetPostViewFormat(&self, wstreamnumber: u16, dwformatnumber: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPostViewFormat)(windows_core::Interface::as_raw(self), wstreamnumber, dwformatnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAllocateForPostView(&self, wstreamnumber: u16, fallocate: P0) -> windows_core::Result<()> @@ -4130,7 +4130,7 @@ impl IWMWriterPostView { (windows_core::Interface::vtable(self).SetAllocateForPostView)(windows_core::Interface::as_raw(self), wstreamnumber, fallocate.param().abi()).ok() } pub unsafe fn GetAllocateForPostView(&self, wstreamnumber: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllocateForPostView)(windows_core::Interface::as_raw(self), wstreamnumber, &mut result__).map(|| result__) } } @@ -4151,7 +4151,7 @@ windows_core::imp::define_interface!(IWMWriterPostViewCallback, IWMWriterPostVie impl std::ops::Deref for IWMWriterPostViewCallback { type Target = IWMStatusCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterPostViewCallback, windows_core::IUnknown, IWMStatusCallback); @@ -4176,13 +4176,13 @@ windows_core::imp::define_interface!(IWMWriterPreprocess, IWMWriterPreprocess_Vt impl std::ops::Deref for IWMWriterPreprocess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterPreprocess, windows_core::IUnknown); impl IWMWriterPreprocess { pub unsafe fn GetMaxPreprocessingPasses(&self, dwinputnum: u32, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxPreprocessingPasses)(windows_core::Interface::as_raw(self), dwinputnum, dwflags, &mut result__).map(|| result__) } pub unsafe fn SetNumPreprocessingPasses(&self, dwinputnum: u32, dwflags: u32, dwnumpasses: u32) -> windows_core::Result<()> { @@ -4214,7 +4214,7 @@ windows_core::imp::define_interface!(IWMWriterPushSink, IWMWriterPushSink_Vtbl, impl std::ops::Deref for IWMWriterPushSink { type Target = IWMWriterSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterPushSink, windows_core::IUnknown, IWMWriterSink); @@ -4245,7 +4245,7 @@ windows_core::imp::define_interface!(IWMWriterSink, IWMWriterSink_Vtbl, 0x96406b impl std::ops::Deref for IWMWriterSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWMWriterSink, windows_core::IUnknown); @@ -4257,11 +4257,11 @@ impl IWMWriterSink { (windows_core::Interface::vtable(self).OnHeader)(windows_core::Interface::as_raw(self), pheader.param().abi()).ok() } pub unsafe fn IsRealTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRealTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AllocateDataUnit(&self, cbdataunit: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocateDataUnit)(windows_core::Interface::as_raw(self), cbdataunit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnDataUnit(&self, pdataunit: P0) -> windows_core::Result<()> @@ -5304,7 +5304,7 @@ impl Default for WMSCRIPTFORMAT { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct WMT_BUFFER_SEGMENT { - pub pBuffer: std::mem::ManuallyDrop>, + pub pBuffer: core::mem::ManuallyDrop>, pub cbOffset: u32, pub cbLength: u32, } @@ -5629,7 +5629,7 @@ pub struct WM_MEDIA_TYPE { pub bTemporalCompression: super::super::Foundation::BOOL, pub lSampleSize: u32, pub formattype: windows_core::GUID, - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, pub cbFormat: u32, pub pbFormat: *mut u8, } diff --git a/crates/libs/windows/src/Windows/Win32/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/mod.rs index 26139573db..ffe21cba56 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/mod.rs @@ -63,27 +63,27 @@ windows_core::imp::define_interface!(IReferenceClock, IReferenceClock_Vtbl, 0x56 impl std::ops::Deref for IReferenceClock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IReferenceClock, windows_core::IUnknown); impl IReferenceClock { pub unsafe fn GetTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AdviseTime(&self, basetime: i64, streamtime: i64, hevent: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdviseTime)(windows_core::Interface::as_raw(self), basetime, streamtime, hevent.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AdvisePeriodic(&self, starttime: i64, periodtime: i64, hsemaphore: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdvisePeriodic)(windows_core::Interface::as_raw(self), starttime, periodtime, hsemaphore.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwadvisecookie: usize) -> windows_core::Result<()> { @@ -102,7 +102,7 @@ windows_core::imp::define_interface!(IReferenceClock2, IReferenceClock2_Vtbl, 0x impl std::ops::Deref for IReferenceClock2 { type Target = IReferenceClock; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IReferenceClock2, windows_core::IUnknown, IReferenceClock); @@ -115,7 +115,7 @@ windows_core::imp::define_interface!(IReferenceClockTimerControl, IReferenceCloc impl std::ops::Deref for IReferenceClockTimerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IReferenceClockTimerControl, windows_core::IUnknown); @@ -124,7 +124,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultTimerResolution)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs index 2b4bc4abbf..531a456548 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs @@ -23,7 +23,7 @@ pub trait IMbnConnection_Impl: Sized { impl windows_core::RuntimeName for IMbnConnection {} impl IMbnConnection_Vtbl { pub const fn new, Impl: IMbnConnection_Impl, const OFFSET: isize>() -> IMbnConnection_Vtbl { - unsafe extern "system" fn ConnectionID, Impl: IMbnConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, connectionid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectionID, Impl: IMbnConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, connectionid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnConnection_Impl::ConnectionID(this) { @@ -34,7 +34,7 @@ impl IMbnConnection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InterfaceID, Impl: IMbnConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InterfaceID, Impl: IMbnConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnConnection_Impl::InterfaceID(this) { @@ -67,7 +67,7 @@ impl IMbnConnection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetConnectionState, Impl: IMbnConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, connectionstate: *mut MBN_ACTIVATION_STATE, profilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetConnectionState, Impl: IMbnConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, connectionstate: *mut MBN_ACTIVATION_STATE, profilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMbnConnection_Impl::GetConnectionState(this, core::mem::transmute_copy(&connectionstate), core::mem::transmute_copy(&profilename)).into() @@ -296,7 +296,7 @@ pub trait IMbnConnectionProfile_Impl: Sized { impl windows_core::RuntimeName for IMbnConnectionProfile {} impl IMbnConnectionProfile_Vtbl { pub const fn new, Impl: IMbnConnectionProfile_Impl, const OFFSET: isize>() -> IMbnConnectionProfile_Vtbl { - unsafe extern "system" fn GetProfileXmlData, Impl: IMbnConnectionProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiledata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProfileXmlData, Impl: IMbnConnectionProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiledata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnConnectionProfile_Impl::GetProfileXmlData(this) { @@ -529,7 +529,7 @@ impl IMbnDeviceService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InterfaceID, Impl: IMbnDeviceService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InterfaceID, Impl: IMbnDeviceService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnDeviceService_Impl::InterfaceID(this) { @@ -540,7 +540,7 @@ impl IMbnDeviceService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceServiceID, Impl: IMbnDeviceService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceserviceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceServiceID, Impl: IMbnDeviceService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceserviceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnDeviceService_Impl::DeviceServiceID(this) { @@ -599,7 +599,7 @@ pub trait IMbnDeviceServiceStateEvents_Impl: Sized { impl windows_core::RuntimeName for IMbnDeviceServiceStateEvents {} impl IMbnDeviceServiceStateEvents_Vtbl { pub const fn new, Impl: IMbnDeviceServiceStateEvents_Impl, const OFFSET: isize>() -> IMbnDeviceServiceStateEvents_Vtbl { - unsafe extern "system" fn OnSessionsStateChange, Impl: IMbnDeviceServiceStateEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: std::mem::MaybeUninit, statechange: MBN_DEVICE_SERVICE_SESSIONS_STATE) -> windows_core::HRESULT { + unsafe extern "system" fn OnSessionsStateChange, Impl: IMbnDeviceServiceStateEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: core::mem::MaybeUninit, statechange: MBN_DEVICE_SERVICE_SESSIONS_STATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMbnDeviceServiceStateEvents_Impl::OnSessionsStateChange(this, core::mem::transmute(&interfaceid), core::mem::transmute_copy(&statechange)).into() @@ -633,7 +633,7 @@ impl IMbnDeviceServicesContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDeviceService, Impl: IMbnDeviceServicesContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceserviceid: std::mem::MaybeUninit, mbndeviceservice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceService, Impl: IMbnDeviceServicesContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deviceserviceid: core::mem::MaybeUninit, mbndeviceservice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnDeviceServicesContext_Impl::GetDeviceService(this, core::mem::transmute(&deviceserviceid)) { @@ -747,7 +747,7 @@ impl IMbnDeviceServicesEvents_Vtbl { let this = (*this).get_impl(); IMbnDeviceServicesEvents_Impl::OnReadData(this, windows_core::from_raw_borrowed(&deviceservice), core::mem::transmute_copy(&deviceservicedata)).into() } - unsafe extern "system" fn OnInterfaceStateChange, Impl: IMbnDeviceServicesEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: std::mem::MaybeUninit, statechange: MBN_DEVICE_SERVICES_INTERFACE_STATE) -> windows_core::HRESULT { + unsafe extern "system" fn OnInterfaceStateChange, Impl: IMbnDeviceServicesEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: core::mem::MaybeUninit, statechange: MBN_DEVICE_SERVICES_INTERFACE_STATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMbnDeviceServicesEvents_Impl::OnInterfaceStateChange(this, core::mem::transmute(&interfaceid), core::mem::transmute_copy(&statechange)).into() @@ -777,7 +777,7 @@ pub trait IMbnDeviceServicesManager_Impl: Sized { impl windows_core::RuntimeName for IMbnDeviceServicesManager {} impl IMbnDeviceServicesManager_Vtbl { pub const fn new, Impl: IMbnDeviceServicesManager_Impl, const OFFSET: isize>() -> IMbnDeviceServicesManager_Vtbl { - unsafe extern "system" fn GetDeviceServicesContext, Impl: IMbnDeviceServicesManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, networkinterfaceid: std::mem::MaybeUninit, mbndevicescontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetDeviceServicesContext, Impl: IMbnDeviceServicesManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, networkinterfaceid: core::mem::MaybeUninit, mbndevicescontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnDeviceServicesManager_Impl::GetDeviceServicesContext(this, core::mem::transmute(&networkinterfaceid)) { @@ -813,7 +813,7 @@ impl windows_core::RuntimeName for IMbnInterface {} #[cfg(feature = "Win32_System_Com")] impl IMbnInterface_Vtbl { pub const fn new, Impl: IMbnInterface_Impl, const OFFSET: isize>() -> IMbnInterface_Vtbl { - unsafe extern "system" fn InterfaceID, Impl: IMbnInterface_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InterfaceID, Impl: IMbnInterface_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnInterface_Impl::InterfaceID(this) { @@ -1629,7 +1629,7 @@ impl IMbnRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProviderID, Impl: IMbnRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providerid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProviderID, Impl: IMbnRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providerid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnRegistration_Impl::GetProviderID(this) { @@ -1640,7 +1640,7 @@ impl IMbnRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProviderName, Impl: IMbnRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProviderName, Impl: IMbnRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnRegistration_Impl::GetProviderName(this) { @@ -1651,7 +1651,7 @@ impl IMbnRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRoamingText, Impl: IMbnRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, roamingtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRoamingText, Impl: IMbnRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, roamingtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnRegistration_Impl::GetRoamingText(this) { @@ -2009,7 +2009,7 @@ pub trait IMbnSmsConfiguration_Impl: Sized { impl windows_core::RuntimeName for IMbnSmsConfiguration {} impl IMbnSmsConfiguration_Vtbl { pub const fn new, Impl: IMbnSmsConfiguration_Impl, const OFFSET: isize>() -> IMbnSmsConfiguration_Vtbl { - unsafe extern "system" fn ServiceCenterAddress, Impl: IMbnSmsConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceCenterAddress, Impl: IMbnSmsConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnSmsConfiguration_Impl::ServiceCenterAddress(this) { @@ -2176,7 +2176,7 @@ impl IMbnSmsReadMsgPdu_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PduData, Impl: IMbnSmsReadMsgPdu_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdudata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PduData, Impl: IMbnSmsReadMsgPdu_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdudata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnSmsReadMsgPdu_Impl::PduData(this) { @@ -2248,7 +2248,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Address, Impl: IMbnSmsReadMsgTextCdma_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, address: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Address, Impl: IMbnSmsReadMsgTextCdma_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, address: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::Address(this) { @@ -2259,7 +2259,7 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Timestamp, Impl: IMbnSmsReadMsgTextCdma_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timestamp: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Timestamp, Impl: IMbnSmsReadMsgTextCdma_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timestamp: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnSmsReadMsgTextCdma_Impl::Timestamp(this) { @@ -2341,7 +2341,7 @@ impl windows_core::RuntimeName for IMbnSubscriberInformation {} #[cfg(feature = "Win32_System_Com")] impl IMbnSubscriberInformation_Vtbl { pub const fn new, Impl: IMbnSubscriberInformation_Impl, const OFFSET: isize>() -> IMbnSubscriberInformation_Vtbl { - unsafe extern "system" fn SubscriberID, Impl: IMbnSubscriberInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subscriberid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubscriberID, Impl: IMbnSubscriberInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subscriberid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnSubscriberInformation_Impl::SubscriberID(this) { @@ -2352,7 +2352,7 @@ impl IMbnSubscriberInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SimIccID, Impl: IMbnSubscriberInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, simiccid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SimIccID, Impl: IMbnSubscriberInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, simiccid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMbnSubscriberInformation_Impl::SimIccID(this) { 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 3f60b0bd70..83ee1b7d1f 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IDummyMBNUCMExt, IDummyMBNUCMExt_Vtbl, 0xdc impl std::ops::Deref for IDummyMBNUCMExt { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20,50 +20,50 @@ windows_core::imp::define_interface!(IMbnConnection, IMbnConnection_Vtbl, 0xdcbb impl std::ops::Deref for IMbnConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnection, windows_core::IUnknown); impl IMbnConnection { pub unsafe fn ConnectionID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectionID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InterfaceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InterfaceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Connect(&self, connectionmode: MBN_CONNECTION_MODE, strprofile: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Connect)(windows_core::Interface::as_raw(self), connectionmode, strprofile.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Disconnect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Disconnect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnectionState(&self, connectionstate: *mut MBN_ACTIVATION_STATE, profilename: *mut windows_core::BSTR) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetConnectionState)(windows_core::Interface::as_raw(self), connectionstate, core::mem::transmute(profilename)).ok() } pub unsafe fn GetVoiceCallState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVoiceCallState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetActivationNetworkError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivationNetworkError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IMbnConnection_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ConnectionID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectionID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_CONNECTION_MODE, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetConnectionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_ACTIVATION_STATE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConnectionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_ACTIVATION_STATE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetVoiceCallState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_VOICE_CALL_STATE) -> windows_core::HRESULT, pub GetActivationNetworkError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } @@ -71,21 +71,21 @@ windows_core::imp::define_interface!(IMbnConnectionContext, IMbnConnectionContex impl std::ops::Deref for IMbnConnectionContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnectionContext, windows_core::IUnknown); impl IMbnConnectionContext { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProvisionedContexts(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProvisionedContexts)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProvisionedContext(&self, provisionedcontexts: MBN_CONTEXT, providerid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetProvisionedContext)(windows_core::Interface::as_raw(self), core::mem::transmute(provisionedcontexts), providerid.param().abi(), &mut result__).map(|| result__) } } @@ -102,7 +102,7 @@ windows_core::imp::define_interface!(IMbnConnectionContextEvents, IMbnConnection impl std::ops::Deref for IMbnConnectionContextEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnectionContextEvents, windows_core::IUnknown); @@ -130,7 +130,7 @@ windows_core::imp::define_interface!(IMbnConnectionEvents, IMbnConnectionEvents_ impl std::ops::Deref for IMbnConnectionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnectionEvents, windows_core::IUnknown); @@ -172,7 +172,7 @@ windows_core::imp::define_interface!(IMbnConnectionManager, IMbnConnectionManage impl std::ops::Deref for IMbnConnectionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnectionManager, windows_core::IUnknown); @@ -181,12 +181,12 @@ impl IMbnConnectionManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnection)(windows_core::Interface::as_raw(self), connectionid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetConnections(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnections)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -203,7 +203,7 @@ windows_core::imp::define_interface!(IMbnConnectionManagerEvents, IMbnConnection impl std::ops::Deref for IMbnConnectionManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnectionManagerEvents, windows_core::IUnknown); @@ -231,13 +231,13 @@ windows_core::imp::define_interface!(IMbnConnectionProfile, IMbnConnectionProfil impl std::ops::Deref for IMbnConnectionProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnectionProfile, windows_core::IUnknown); impl IMbnConnectionProfile { pub unsafe fn GetProfileXmlData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProfileXmlData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UpdateProfile(&self, strprofile: P0) -> windows_core::Result<()> @@ -253,7 +253,7 @@ impl IMbnConnectionProfile { #[repr(C)] pub struct IMbnConnectionProfile_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetProfileXmlData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProfileXmlData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub UpdateProfile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -261,7 +261,7 @@ windows_core::imp::define_interface!(IMbnConnectionProfileEvents, IMbnConnection impl std::ops::Deref for IMbnConnectionProfileEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnectionProfileEvents, windows_core::IUnknown); @@ -282,7 +282,7 @@ windows_core::imp::define_interface!(IMbnConnectionProfileManager, IMbnConnectio impl std::ops::Deref for IMbnConnectionProfileManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnectionProfileManager, windows_core::IUnknown); @@ -292,7 +292,7 @@ impl IMbnConnectionProfileManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectionProfiles)(windows_core::Interface::as_raw(self), mbninterface.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetConnectionProfile(&self, mbninterface: P0, profilename: P1) -> windows_core::Result @@ -300,7 +300,7 @@ impl IMbnConnectionProfileManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectionProfile)(windows_core::Interface::as_raw(self), mbninterface.param().abi(), profilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateConnectionProfile(&self, xmlprofile: P0) -> windows_core::Result<()> @@ -324,7 +324,7 @@ windows_core::imp::define_interface!(IMbnConnectionProfileManagerEvents, IMbnCon impl std::ops::Deref for IMbnConnectionProfileManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnConnectionProfileManagerEvents, windows_core::IUnknown); @@ -352,60 +352,60 @@ windows_core::imp::define_interface!(IMbnDeviceService, IMbnDeviceService_Vtbl, impl std::ops::Deref for IMbnDeviceService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnDeviceService, windows_core::IUnknown); impl IMbnDeviceService { pub unsafe fn QuerySupportedCommands(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuerySupportedCommands)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OpenCommandSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenCommandSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CloseCommandSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CloseCommandSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetCommand)(windows_core::Interface::as_raw(self), commandid, deviceservicedata, &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryCommand)(windows_core::Interface::as_raw(self), commandid, deviceservicedata, &mut result__).map(|| result__) } pub unsafe fn OpenDataSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenDataSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CloseDataSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CloseDataSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn WriteData(&self, deviceservicedata: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteData)(windows_core::Interface::as_raw(self), deviceservicedata, &mut result__).map(|| result__) } pub unsafe fn InterfaceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InterfaceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeviceServiceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceServiceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsCommandSessionOpen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCommandSessionOpen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDataSessionOpen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDataSessionOpen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -429,8 +429,8 @@ pub struct IMbnDeviceService_Vtbl { pub WriteData: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY, *mut u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] WriteData: usize, - pub InterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCommandSessionOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsDataSessionOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } @@ -438,7 +438,7 @@ windows_core::imp::define_interface!(IMbnDeviceServiceStateEvents, IMbnDeviceSer impl std::ops::Deref for IMbnDeviceServiceStateEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnDeviceServiceStateEvents, windows_core::IUnknown); @@ -453,35 +453,35 @@ impl IMbnDeviceServiceStateEvents { #[repr(C)] pub struct IMbnDeviceServiceStateEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnSessionsStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, MBN_DEVICE_SERVICE_SESSIONS_STATE) -> windows_core::HRESULT, + pub OnSessionsStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, MBN_DEVICE_SERVICE_SESSIONS_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnDeviceServicesContext, IMbnDeviceServicesContext_Vtbl, 0xfc5ac347_1592_4068_80bb_6a57580150d8); impl std::ops::Deref for IMbnDeviceServicesContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnDeviceServicesContext, windows_core::IUnknown); impl IMbnDeviceServicesContext { #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumerateDeviceServices(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateDeviceServices)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceService(&self, deviceserviceid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceService)(windows_core::Interface::as_raw(self), deviceserviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MaxCommandSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxCommandSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MaxDataSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxDataSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -492,7 +492,7 @@ pub struct IMbnDeviceServicesContext_Vtbl { pub EnumerateDeviceServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumerateDeviceServices: usize, - pub GetDeviceService: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceService: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MaxCommandSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxDataSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } @@ -500,7 +500,7 @@ windows_core::imp::define_interface!(IMbnDeviceServicesEvents, IMbnDeviceService impl std::ops::Deref for IMbnDeviceServicesEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnDeviceServicesEvents, windows_core::IUnknown); @@ -605,13 +605,13 @@ pub struct IMbnDeviceServicesEvents_Vtbl { pub OnReadData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnReadData: usize, - pub OnInterfaceStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, MBN_DEVICE_SERVICES_INTERFACE_STATE) -> windows_core::HRESULT, + pub OnInterfaceStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, MBN_DEVICE_SERVICES_INTERFACE_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnDeviceServicesManager, IMbnDeviceServicesManager_Vtbl, 0x20a26258_6811_4478_ac1d_13324e45e41c); impl std::ops::Deref for IMbnDeviceServicesManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnDeviceServicesManager, windows_core::IUnknown); @@ -620,75 +620,75 @@ impl IMbnDeviceServicesManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceServicesContext)(windows_core::Interface::as_raw(self), networkinterfaceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMbnDeviceServicesManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDeviceServicesContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDeviceServicesContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnInterface, IMbnInterface_Vtbl, 0xdcbbbab6_2001_4bbb_aaee_338e368af6fa); impl std::ops::Deref for IMbnInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnInterface, windows_core::IUnknown); impl IMbnInterface { pub unsafe fn InterfaceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InterfaceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInterfaceCapability(&self, interfacecaps: *mut MBN_INTERFACE_CAPS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetInterfaceCapability)(windows_core::Interface::as_raw(self), interfacecaps).ok() } pub unsafe fn GetSubscriberInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubscriberInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetReadyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReadyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InEmergencyMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InEmergencyMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHomeProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHomeProvider)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPreferredProviders(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreferredProviders)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetPreferredProviders(&self, preferredproviders: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetPreferredProviders)(windows_core::Interface::as_raw(self), preferredproviders, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetVisibleProviders(&self, age: *mut u32) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisibleProviders)(windows_core::Interface::as_raw(self), age, &mut result__).map(|| result__) } pub unsafe fn ScanNetwork(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScanNetwork)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IMbnInterface_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub InterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetInterfaceCapability: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_INTERFACE_CAPS) -> windows_core::HRESULT, pub GetSubscriberInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetReadyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_READY_STATE) -> windows_core::HRESULT, @@ -713,7 +713,7 @@ windows_core::imp::define_interface!(IMbnInterfaceEvents, IMbnInterfaceEvents_Vt impl std::ops::Deref for IMbnInterfaceEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnInterfaceEvents, windows_core::IUnknown); @@ -783,7 +783,7 @@ windows_core::imp::define_interface!(IMbnInterfaceManager, IMbnInterfaceManager_ impl std::ops::Deref for IMbnInterfaceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnInterfaceManager, windows_core::IUnknown); @@ -792,12 +792,12 @@ impl IMbnInterfaceManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterface)(windows_core::Interface::as_raw(self), interfaceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInterfaces(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterfaces)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -814,7 +814,7 @@ windows_core::imp::define_interface!(IMbnInterfaceManagerEvents, IMbnInterfaceMa impl std::ops::Deref for IMbnInterfaceManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnInterfaceManagerEvents, windows_core::IUnknown); @@ -842,36 +842,36 @@ windows_core::imp::define_interface!(IMbnMultiCarrier, IMbnMultiCarrier_Vtbl, 0x impl std::ops::Deref for IMbnMultiCarrier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnMultiCarrier, windows_core::IUnknown); impl IMbnMultiCarrier { pub unsafe fn SetHomeProvider(&self, homeprovider: *const MBN_PROVIDER2) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetHomeProvider)(windows_core::Interface::as_raw(self), homeprovider, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPreferredProviders(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreferredProviders)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetVisibleProviders(&self, age: *mut u32) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisibleProviders)(windows_core::Interface::as_raw(self), age, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSupportedCellularClasses(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedCellularClasses)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentCellularClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentCellularClass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ScanNetwork(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScanNetwork)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -898,7 +898,7 @@ windows_core::imp::define_interface!(IMbnMultiCarrierEvents, IMbnMultiCarrierEve impl std::ops::Deref for IMbnMultiCarrierEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnMultiCarrierEvents, windows_core::IUnknown); @@ -947,50 +947,50 @@ windows_core::imp::define_interface!(IMbnPin, IMbnPin_Vtbl, 0xdcbbbab6_2007_4bbb impl std::ops::Deref for IMbnPin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnPin, windows_core::IUnknown); impl IMbnPin { pub unsafe fn PinType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PinType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PinFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PinFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PinLengthMin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PinLengthMin)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PinLengthMax(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PinLengthMax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PinMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PinMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Enable(&self, pin: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enable)(windows_core::Interface::as_raw(self), pin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Disable(&self, pin: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Disable)(windows_core::Interface::as_raw(self), pin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Enter(&self, pin: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enter)(windows_core::Interface::as_raw(self), pin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Change(&self, pin: P0, newpin: P1) -> windows_core::Result @@ -998,7 +998,7 @@ impl IMbnPin { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Change)(windows_core::Interface::as_raw(self), pin.param().abi(), newpin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unblock(&self, puk: P0, newpin: P1) -> windows_core::Result @@ -1006,11 +1006,11 @@ impl IMbnPin { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Unblock)(windows_core::Interface::as_raw(self), puk.param().abi(), newpin.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetPinManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPinManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1033,7 +1033,7 @@ windows_core::imp::define_interface!(IMbnPinEvents, IMbnPinEvents_Vtbl, 0xdcbbba impl std::ops::Deref for IMbnPinEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnPinEvents, windows_core::IUnknown); @@ -1082,22 +1082,22 @@ windows_core::imp::define_interface!(IMbnPinManager, IMbnPinManager_Vtbl, 0xdcbb impl std::ops::Deref for IMbnPinManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnPinManager, windows_core::IUnknown); impl IMbnPinManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPinList(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPinList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPin(&self, pintype: MBN_PIN_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPin)(windows_core::Interface::as_raw(self), pintype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPinState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPinState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1115,7 +1115,7 @@ windows_core::imp::define_interface!(IMbnPinManagerEvents, IMbnPinManagerEvents_ impl std::ops::Deref for IMbnPinManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnPinManagerEvents, windows_core::IUnknown); @@ -1143,21 +1143,21 @@ windows_core::imp::define_interface!(IMbnRadio, IMbnRadio_Vtbl, 0xdccccab6_201f_ impl std::ops::Deref for IMbnRadio { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnRadio, windows_core::IUnknown); impl IMbnRadio { pub unsafe fn SoftwareRadioState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SoftwareRadioState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HardwareRadioState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HardwareRadioState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSoftwareRadioState(&self, radiostate: MBN_RADIO) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetSoftwareRadioState)(windows_core::Interface::as_raw(self), radiostate, &mut result__).map(|| result__) } } @@ -1172,7 +1172,7 @@ windows_core::imp::define_interface!(IMbnRadioEvents, IMbnRadioEvents_Vtbl, 0xdc impl std::ops::Deref for IMbnRadioEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnRadioEvents, windows_core::IUnknown); @@ -1200,52 +1200,52 @@ windows_core::imp::define_interface!(IMbnRegistration, IMbnRegistration_Vtbl, 0x impl std::ops::Deref for IMbnRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnRegistration, windows_core::IUnknown); impl IMbnRegistration { pub unsafe fn GetRegisterState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegisterState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRegisterMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegisterMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProviderID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRoamingText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRoamingText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAvailableDataClasses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableDataClasses)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentDataClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentDataClass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRegistrationNetworkError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegistrationNetworkError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPacketAttachNetworkError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPacketAttachNetworkError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRegisterMode(&self, registermode: MBN_REGISTER_MODE, providerid: P0, dataclass: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetRegisterMode)(windows_core::Interface::as_raw(self), registermode, providerid.param().abi(), dataclass, &mut result__).map(|| result__) } } @@ -1254,9 +1254,9 @@ pub struct IMbnRegistration_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetRegisterState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_REGISTER_STATE) -> windows_core::HRESULT, pub GetRegisterMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_REGISTER_MODE) -> windows_core::HRESULT, - pub GetProviderID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRoamingText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProviderID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRoamingText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetAvailableDataClasses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetCurrentDataClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetRegistrationNetworkError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -1267,7 +1267,7 @@ windows_core::imp::define_interface!(IMbnRegistrationEvents, IMbnRegistrationEve impl std::ops::Deref for IMbnRegistrationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnRegistrationEvents, windows_core::IUnknown); @@ -1309,14 +1309,14 @@ windows_core::imp::define_interface!(IMbnServiceActivation, IMbnServiceActivatio impl std::ops::Deref for IMbnServiceActivation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnServiceActivation, windows_core::IUnknown); impl IMbnServiceActivation { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Activate(&self, vendorspecificdata: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Activate)(windows_core::Interface::as_raw(self), vendorspecificdata, &mut result__).map(|| result__) } } @@ -1332,7 +1332,7 @@ windows_core::imp::define_interface!(IMbnServiceActivationEvents, IMbnServiceAct impl std::ops::Deref for IMbnServiceActivationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnServiceActivationEvents, windows_core::IUnknown); @@ -1357,17 +1357,17 @@ windows_core::imp::define_interface!(IMbnSignal, IMbnSignal_Vtbl, 0xdcbbbab6_200 impl std::ops::Deref for IMbnSignal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnSignal, windows_core::IUnknown); impl IMbnSignal { pub unsafe fn GetSignalStrength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignalStrength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSignalError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignalError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1381,7 +1381,7 @@ windows_core::imp::define_interface!(IMbnSignalEvents, IMbnSignalEvents_Vtbl, 0x impl std::ops::Deref for IMbnSignalEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnSignalEvents, windows_core::IUnknown); @@ -1402,27 +1402,27 @@ windows_core::imp::define_interface!(IMbnSms, IMbnSms_Vtbl, 0xdcbbbab6_2015_4bbb impl std::ops::Deref for IMbnSms { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnSms, windows_core::IUnknown); impl IMbnSms { pub unsafe fn GetSmsConfiguration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSmsConfiguration)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSmsConfiguration(&self, smsconfiguration: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetSmsConfiguration)(windows_core::Interface::as_raw(self), smsconfiguration.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SmsSendPdu(&self, pdudata: P0, size: u8) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmsSendPdu)(windows_core::Interface::as_raw(self), pdudata.param().abi(), size, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1430,24 +1430,24 @@ impl IMbnSms { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmsSendCdma)(windows_core::Interface::as_raw(self), address.param().abi(), encoding, language, sizeincharacters, message, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SmsSendCdmaPdu(&self, message: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmsSendCdmaPdu)(windows_core::Interface::as_raw(self), message, &mut result__).map(|| result__) } pub unsafe fn SmsRead(&self, smsfilter: *const MBN_SMS_FILTER, smsformat: MBN_SMS_FORMAT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmsRead)(windows_core::Interface::as_raw(self), smsfilter, smsformat, &mut result__).map(|| result__) } pub unsafe fn SmsDelete(&self, smsfilter: *const MBN_SMS_FILTER) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmsDelete)(windows_core::Interface::as_raw(self), smsfilter, &mut result__).map(|| result__) } pub unsafe fn GetSmsStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSmsStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1473,13 +1473,13 @@ windows_core::imp::define_interface!(IMbnSmsConfiguration, IMbnSmsConfiguration_ impl std::ops::Deref for IMbnSmsConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnSmsConfiguration, windows_core::IUnknown); impl IMbnSmsConfiguration { pub unsafe fn ServiceCenterAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceCenterAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServiceCenterAddress(&self, scaddress: P0) -> windows_core::Result<()> @@ -1489,15 +1489,15 @@ impl IMbnSmsConfiguration { (windows_core::Interface::vtable(self).SetServiceCenterAddress)(windows_core::Interface::as_raw(self), scaddress.param().abi()).ok() } pub unsafe fn MaxMessageIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxMessageIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CdmaShortMsgSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CdmaShortMsgSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SmsFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmsFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSmsFormat(&self, smsformat: MBN_SMS_FORMAT) -> windows_core::Result<()> { @@ -1507,7 +1507,7 @@ impl IMbnSmsConfiguration { #[repr(C)] pub struct IMbnSmsConfiguration_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ServiceCenterAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceCenterAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetServiceCenterAddress: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub MaxMessageIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CdmaShortMsgSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -1518,7 +1518,7 @@ windows_core::imp::define_interface!(IMbnSmsEvents, IMbnSmsEvents_Vtbl, 0xdcbbba impl std::ops::Deref for IMbnSmsEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnSmsEvents, windows_core::IUnknown); @@ -1590,26 +1590,26 @@ windows_core::imp::define_interface!(IMbnSmsReadMsgPdu, IMbnSmsReadMsgPdu_Vtbl, impl std::ops::Deref for IMbnSmsReadMsgPdu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnSmsReadMsgPdu, windows_core::IUnknown); impl IMbnSmsReadMsgPdu { pub unsafe fn Index(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Index)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PduData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PduData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Message(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Message)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1618,7 +1618,7 @@ pub struct IMbnSmsReadMsgPdu_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Index: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_MSG_STATUS) -> windows_core::HRESULT, - pub PduData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PduData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1628,42 +1628,42 @@ windows_core::imp::define_interface!(IMbnSmsReadMsgTextCdma, IMbnSmsReadMsgTextC impl std::ops::Deref for IMbnSmsReadMsgTextCdma { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnSmsReadMsgTextCdma, windows_core::IUnknown); impl IMbnSmsReadMsgTextCdma { pub unsafe fn Index(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Index)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Timestamp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Timestamp)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EncodingID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncodingID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LanguageID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LanguageID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SizeInCharacters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeInCharacters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Message(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Message)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1672,8 +1672,8 @@ pub struct IMbnSmsReadMsgTextCdma_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Index: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_MSG_STATUS) -> windows_core::HRESULT, - pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EncodingID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_SMS_CDMA_ENCODING) -> windows_core::HRESULT, pub LanguageID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_SMS_CDMA_LANG) -> windows_core::HRESULT, pub SizeInCharacters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -1686,30 +1686,30 @@ windows_core::imp::define_interface!(IMbnSubscriberInformation, IMbnSubscriberIn impl std::ops::Deref for IMbnSubscriberInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnSubscriberInformation, windows_core::IUnknown); impl IMbnSubscriberInformation { pub unsafe fn SubscriberID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubscriberID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SimIccID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SimIccID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TelephoneNumbers(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneNumbers)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IMbnSubscriberInformation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub SubscriberID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SimIccID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubscriberID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SimIccID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub TelephoneNumbers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1719,7 +1719,7 @@ windows_core::imp::define_interface!(IMbnVendorSpecificEvents, IMbnVendorSpecifi impl std::ops::Deref for IMbnVendorSpecificEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnVendorSpecificEvents, windows_core::IUnknown); @@ -1755,14 +1755,14 @@ windows_core::imp::define_interface!(IMbnVendorSpecificOperation, IMbnVendorSpec impl std::ops::Deref for IMbnVendorSpecificOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMbnVendorSpecificOperation, windows_core::IUnknown); impl IMbnVendorSpecificOperation { #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetVendorSpecific(&self, vendorspecificdata: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetVendorSpecific)(windows_core::Interface::as_raw(self), vendorspecificdata, &mut result__).map(|| result__) } } @@ -2361,9 +2361,9 @@ impl core::fmt::Debug for WWAEXT_SMS_CONSTANTS { pub struct MBN_CONTEXT { pub contextID: u32, pub contextType: MBN_CONTEXT_TYPE, - pub accessString: std::mem::ManuallyDrop, - pub userName: std::mem::ManuallyDrop, - pub password: std::mem::ManuallyDrop, + pub accessString: core::mem::ManuallyDrop, + pub userName: core::mem::ManuallyDrop, + pub password: core::mem::ManuallyDrop, pub compression: MBN_COMPRESSION, pub authType: MBN_AUTH_PROTOCOL, } @@ -2383,7 +2383,7 @@ impl Default for MBN_CONTEXT { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct MBN_DEVICE_SERVICE { - pub deviceServiceID: std::mem::ManuallyDrop, + pub deviceServiceID: core::mem::ManuallyDrop, pub dataWriteSupported: super::super::Foundation::VARIANT_BOOL, pub dataReadSupported: super::super::Foundation::VARIANT_BOOL, } @@ -2406,16 +2406,16 @@ pub struct MBN_INTERFACE_CAPS { pub cellularClass: MBN_CELLULAR_CLASS, pub voiceClass: MBN_VOICE_CLASS, pub dataClass: u32, - pub customDataClass: std::mem::ManuallyDrop, + pub customDataClass: core::mem::ManuallyDrop, pub gsmBandClass: u32, pub cdmaBandClass: u32, - pub customBandClass: std::mem::ManuallyDrop, + pub customBandClass: core::mem::ManuallyDrop, pub smsCaps: u32, pub controlCaps: u32, - pub deviceID: std::mem::ManuallyDrop, - pub manufacturer: std::mem::ManuallyDrop, - pub model: std::mem::ManuallyDrop, - pub firmwareInfo: std::mem::ManuallyDrop, + pub deviceID: core::mem::ManuallyDrop, + pub manufacturer: core::mem::ManuallyDrop, + pub model: core::mem::ManuallyDrop, + pub firmwareInfo: core::mem::ManuallyDrop, } impl Clone for MBN_INTERFACE_CAPS { fn clone(&self) -> Self { @@ -2448,9 +2448,9 @@ impl Default for MBN_PIN_INFO { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct MBN_PROVIDER { - pub providerID: std::mem::ManuallyDrop, + pub providerID: core::mem::ManuallyDrop, pub providerState: u32, - pub providerName: std::mem::ManuallyDrop, + pub providerName: core::mem::ManuallyDrop, pub dataClass: u32, } impl Clone for MBN_PROVIDER { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs index 855b271eaf..f88898aa36 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs @@ -996,7 +996,7 @@ pub trait IProvisioningProfileWireless_Impl: Sized { impl windows_core::RuntimeName for IProvisioningProfileWireless {} impl IProvisioningProfileWireless_Vtbl { pub const fn new, Impl: IProvisioningProfileWireless_Impl, const OFFSET: isize>() -> IProvisioningProfileWireless_Vtbl { - unsafe extern "system" fn CreateProfile, Impl: IProvisioningProfileWireless_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxmlwirelessconfigprofile: std::mem::MaybeUninit, bstrxmlconnectionconfigprofile: std::mem::MaybeUninit, padapterinstanceguid: *const windows_core::GUID, pulstatus: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn CreateProfile, Impl: IProvisioningProfileWireless_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxmlwirelessconfigprofile: core::mem::MaybeUninit, bstrxmlconnectionconfigprofile: core::mem::MaybeUninit, padapterinstanceguid: *const windows_core::GUID, pulstatus: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IProvisioningProfileWireless_Impl::CreateProfile(this, core::mem::transmute(&bstrxmlwirelessconfigprofile), core::mem::transmute(&bstrxmlconnectionconfigprofile), core::mem::transmute_copy(&padapterinstanceguid)) { 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 9373431de8..bca58ce6fc 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -272,7 +272,7 @@ where P0: windows_core::Param, { windows_targets::link!("netapi32.dll" "system" fn NetGetAadJoinInformation(pcsztenantid : windows_core::PCWSTR, ppjoininfo : *mut *mut DSREG_JOIN_INFO) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NetGetAadJoinInformation(pcsztenantid.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1448,7 +1448,7 @@ windows_core::imp::define_interface!(IEnumNetCfgBindingInterface, IEnumNetCfgBin impl std::ops::Deref for IEnumNetCfgBindingInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumNetCfgBindingInterface, windows_core::IUnknown); @@ -1478,7 +1478,7 @@ windows_core::imp::define_interface!(IEnumNetCfgBindingPath, IEnumNetCfgBindingP impl std::ops::Deref for IEnumNetCfgBindingPath { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumNetCfgBindingPath, windows_core::IUnknown); @@ -1508,7 +1508,7 @@ windows_core::imp::define_interface!(IEnumNetCfgComponent, IEnumNetCfgComponent_ impl std::ops::Deref for IEnumNetCfgComponent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumNetCfgComponent, windows_core::IUnknown); @@ -1538,7 +1538,7 @@ windows_core::imp::define_interface!(INetCfg, INetCfg_Vtbl, 0xc0e8ae93_306e_11d1 impl std::ops::Deref for INetCfg { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfg, windows_core::IUnknown); @@ -1583,7 +1583,7 @@ windows_core::imp::define_interface!(INetCfgBindingInterface, INetCfgBindingInte impl std::ops::Deref for INetCfgBindingInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgBindingInterface, windows_core::IUnknown); @@ -1609,7 +1609,7 @@ windows_core::imp::define_interface!(INetCfgBindingPath, INetCfgBindingPath_Vtbl impl std::ops::Deref for INetCfgBindingPath { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgBindingPath, windows_core::IUnknown); @@ -1642,7 +1642,7 @@ impl INetCfgBindingPath { (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), core::mem::transmute(ppcomponent.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetDepth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDepth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumBindingInterfaces(&self, ppenuminterface: Option<*mut Option>) -> windows_core::Result<()> { @@ -1665,7 +1665,7 @@ windows_core::imp::define_interface!(INetCfgClass, INetCfgClass_Vtbl, 0xc0e8ae97 impl std::ops::Deref for INetCfgClass { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgClass, windows_core::IUnknown); @@ -1690,7 +1690,7 @@ windows_core::imp::define_interface!(INetCfgClassSetup, INetCfgClassSetup_Vtbl, impl std::ops::Deref for INetCfgClassSetup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgClassSetup, windows_core::IUnknown); @@ -1727,7 +1727,7 @@ windows_core::imp::define_interface!(INetCfgClassSetup2, INetCfgClassSetup2_Vtbl impl std::ops::Deref for INetCfgClassSetup2 { type Target = INetCfgClassSetup; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgClassSetup2, windows_core::IUnknown, INetCfgClassSetup); @@ -1748,7 +1748,7 @@ windows_core::imp::define_interface!(INetCfgComponent, INetCfgComponent_Vtbl, 0x impl std::ops::Deref for INetCfgComponent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgComponent, windows_core::IUnknown); @@ -1769,7 +1769,7 @@ impl INetCfgComponent { (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), core::mem::transmute(ppszwid.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCharacteristics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCharacteristics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInstanceGuid(&self, pguid: Option<*mut windows_core::GUID>) -> windows_core::Result<()> { @@ -1785,7 +1785,7 @@ impl INetCfgComponent { (windows_core::Interface::vtable(self).GetBindName)(windows_core::Interface::as_raw(self), core::mem::transmute(ppszwbindname.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetDeviceStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Registry")] @@ -1823,7 +1823,7 @@ windows_core::imp::define_interface!(INetCfgComponentBindings, INetCfgComponentB impl std::ops::Deref for INetCfgComponentBindings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgComponentBindings, windows_core::IUnknown); @@ -1892,7 +1892,7 @@ windows_core::imp::define_interface!(INetCfgComponentControl, INetCfgComponentCo impl std::ops::Deref for INetCfgComponentControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgComponentControl, windows_core::IUnknown); @@ -1930,7 +1930,7 @@ windows_core::imp::define_interface!(INetCfgComponentNotifyBinding, INetCfgCompo impl std::ops::Deref for INetCfgComponentNotifyBinding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgComponentNotifyBinding, windows_core::IUnknown); @@ -1958,13 +1958,13 @@ windows_core::imp::define_interface!(INetCfgComponentNotifyGlobal, INetCfgCompon impl std::ops::Deref for INetCfgComponentNotifyGlobal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgComponentNotifyGlobal, windows_core::IUnknown); impl INetCfgComponentNotifyGlobal { pub unsafe fn GetSupportedNotifications(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedNotifications)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SysQueryBindingPath(&self, dwchangeflag: u32, pipath: P0) -> windows_core::Result<()> @@ -1998,7 +1998,7 @@ windows_core::imp::define_interface!(INetCfgComponentPropertyUi, INetCfgComponen impl std::ops::Deref for INetCfgComponentPropertyUi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgComponentPropertyUi, windows_core::IUnknown); @@ -2048,7 +2048,7 @@ windows_core::imp::define_interface!(INetCfgComponentSetup, INetCfgComponentSetu impl std::ops::Deref for INetCfgComponentSetup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgComponentSetup, windows_core::IUnknown); @@ -2082,7 +2082,7 @@ windows_core::imp::define_interface!(INetCfgComponentSysPrep, INetCfgComponentSy impl std::ops::Deref for INetCfgComponentSysPrep { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgComponentSysPrep, windows_core::IUnknown); @@ -2112,7 +2112,7 @@ windows_core::imp::define_interface!(INetCfgComponentUpperEdge, INetCfgComponent impl std::ops::Deref for INetCfgComponentUpperEdge { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgComponentUpperEdge, windows_core::IUnknown); @@ -2147,7 +2147,7 @@ windows_core::imp::define_interface!(INetCfgLock, INetCfgLock_Vtbl, 0xc0e8ae9f_3 impl std::ops::Deref for INetCfgLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgLock, windows_core::IUnknown); @@ -2176,7 +2176,7 @@ windows_core::imp::define_interface!(INetCfgPnpReconfigCallback, INetCfgPnpRecon impl std::ops::Deref for INetCfgPnpReconfigCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgPnpReconfigCallback, windows_core::IUnknown); @@ -2198,7 +2198,7 @@ windows_core::imp::define_interface!(INetCfgSysPrep, INetCfgSysPrep_Vtbl, 0xc0e8 impl std::ops::Deref for INetCfgSysPrep { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetCfgSysPrep, windows_core::IUnknown); @@ -2247,13 +2247,13 @@ windows_core::imp::define_interface!(INetLanConnectionUiInfo, INetLanConnectionU impl std::ops::Deref for INetLanConnectionUiInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetLanConnectionUiInfo, windows_core::IUnknown); impl INetLanConnectionUiInfo { pub unsafe fn GetDeviceGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceGuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2266,7 +2266,7 @@ windows_core::imp::define_interface!(INetRasConnectionIpUiInfo, INetRasConnectio impl std::ops::Deref for INetRasConnectionIpUiInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetRasConnectionIpUiInfo, windows_core::IUnknown); @@ -2284,7 +2284,7 @@ windows_core::imp::define_interface!(IProvisioningDomain, IProvisioningDomain_Vt impl std::ops::Deref for IProvisioningDomain { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvisioningDomain, windows_core::IUnknown); @@ -2302,7 +2302,7 @@ impl IProvisioningDomain { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Query)(windows_core::Interface::as_raw(self), pszwdomain.param().abi(), pszwlanguage.param().abi(), pszwxpathquery.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2319,7 +2319,7 @@ windows_core::imp::define_interface!(IProvisioningProfileWireless, IProvisioning impl std::ops::Deref for IProvisioningProfileWireless { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvisioningProfileWireless, windows_core::IUnknown); @@ -2329,14 +2329,14 @@ impl IProvisioningProfileWireless { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateProfile)(windows_core::Interface::as_raw(self), bstrxmlwirelessconfigprofile.param().abi(), bstrxmlconnectionconfigprofile.param().abi(), padapterinstanceguid, &mut result__).map(|| result__) } } #[repr(C)] pub struct IProvisioningProfileWireless_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateProfile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, + pub CreateProfile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, } pub const AA_AUDIT_ALL: u32 = 1u32; pub const AA_A_ACL: u32 = 32768u32; @@ -6308,7 +6308,7 @@ pub const NetProvisioning: windows_core::GUID = windows_core::GUID::from_u128(0x #[derive(Debug, Eq, PartialEq)] pub struct OBO_TOKEN { pub Type: OBO_TOKEN_TYPE, - pub pncc: std::mem::ManuallyDrop>, + pub pncc: core::mem::ManuallyDrop>, pub pszwManufacturer: windows_core::PCWSTR, pub pszwProduct: windows_core::PCWSTR, pub pszwDisplayName: windows_core::PCWSTR, 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 94afeaf65f..56597b9519 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -111,7 +111,7 @@ where #[inline] pub unsafe fn NdfGetTraceFile(handle: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("ndfapi.dll" "system" fn NdfGetTraceFile(handle : *const core::ffi::c_void, tracefilelocation : *mut windows_core::PCWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NdfGetTraceFile(handle, &mut result__).map(|| result__) } #[inline] @@ -123,7 +123,7 @@ windows_core::imp::define_interface!(INetDiagExtensibleHelper, INetDiagExtensibl impl std::ops::Deref for INetDiagExtensibleHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetDiagExtensibleHelper, windows_core::IUnknown); @@ -141,7 +141,7 @@ windows_core::imp::define_interface!(INetDiagHelper, INetDiagHelper_Vtbl, 0xc0b3 impl std::ops::Deref for INetDiagHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetDiagHelper, windows_core::IUnknown); @@ -150,7 +150,7 @@ impl INetDiagHelper { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), rgattributes.len().try_into().unwrap(), core::mem::transmute(rgattributes.as_ptr())).ok() } pub unsafe fn GetDiagnosticsInfo(&self) -> windows_core::Result<*mut DiagnosticsInfo> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDiagnosticsInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetKeyAttributes(&self, pcelt: *mut u32, pprgattributes: *mut *mut HELPER_ATTRIBUTE) -> windows_core::Result<()> { @@ -190,14 +190,14 @@ impl INetDiagHelper { (windows_core::Interface::vtable(self).GetRepairInfo)(windows_core::Interface::as_raw(self), problem, pcelt, ppinfo).ok() } pub unsafe fn GetLifeTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLifeTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLifeTime(&self, lifetime: LIFE_TIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetLifeTime)(windows_core::Interface::as_raw(self), core::mem::transmute(lifetime)).ok() } pub unsafe fn GetCacheTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCacheTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAttributes(&self, pcelt: *mut u32, pprgattributes: *mut *mut HELPER_ATTRIBUTE) -> windows_core::Result<()> { @@ -236,7 +236,7 @@ windows_core::imp::define_interface!(INetDiagHelperEx, INetDiagHelperEx_Vtbl, 0x impl std::ops::Deref for INetDiagHelperEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetDiagHelperEx, windows_core::IUnknown); @@ -265,7 +265,7 @@ windows_core::imp::define_interface!(INetDiagHelperInfo, INetDiagHelperInfo_Vtbl impl std::ops::Deref for INetDiagHelperInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetDiagHelperInfo, windows_core::IUnknown); @@ -283,7 +283,7 @@ windows_core::imp::define_interface!(INetDiagHelperUtilFactory, INetDiagHelperUt impl std::ops::Deref for INetDiagHelperUtilFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetDiagHelperUtilFactory, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs index 0c1cd660d1..910fc6e9ca 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs @@ -24,7 +24,7 @@ impl ISdo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: ISdo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: i32, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: ISdo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: i32, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdo_Impl::GetProperty(this, core::mem::transmute_copy(&id)) { @@ -35,7 +35,7 @@ impl ISdo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PutProperty, Impl: ISdo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: i32, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutProperty, Impl: ISdo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: i32, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISdo_Impl::PutProperty(this, core::mem::transmute_copy(&id), core::mem::transmute_copy(&pvalue)).into() @@ -108,7 +108,7 @@ impl ISdoCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ISdoCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ISdoCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISdoCollection_Impl::Add(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&ppitem)).into() @@ -128,7 +128,7 @@ impl ISdoCollection_Vtbl { let this = (*this).get_impl(); ISdoCollection_Impl::Reload(this).into() } - unsafe extern "system" fn IsNameUnique, Impl: ISdoCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pbool: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsNameUnique, Impl: ISdoCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pbool: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoCollection_Impl::IsNameUnique(this, core::mem::transmute(&bstrname)) { @@ -139,7 +139,7 @@ impl ISdoCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: ISdoCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *const std::mem::MaybeUninit, pitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: ISdoCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *const core::mem::MaybeUninit, pitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoCollection_Impl::Item(this, core::mem::transmute_copy(&name)) { @@ -190,7 +190,7 @@ impl windows_core::RuntimeName for ISdoDictionaryOld {} #[cfg(feature = "Win32_System_Com")] impl ISdoDictionaryOld_Vtbl { pub const fn new, Impl: ISdoDictionaryOld_Impl, const OFFSET: isize>() -> ISdoDictionaryOld_Vtbl { - unsafe extern "system" fn EnumAttributes, Impl: ISdoDictionaryOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut std::mem::MaybeUninit, pvalues: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumAttributes, Impl: ISdoDictionaryOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut core::mem::MaybeUninit, pvalues: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoDictionaryOld_Impl::EnumAttributes(this, core::mem::transmute_copy(&id)) { @@ -201,7 +201,7 @@ impl ISdoDictionaryOld_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAttributeInfo, Impl: ISdoDictionaryOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: ATTRIBUTEID, pinfoids: *const std::mem::MaybeUninit, pinfovalues: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttributeInfo, Impl: ISdoDictionaryOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: ATTRIBUTEID, pinfoids: *const core::mem::MaybeUninit, pinfovalues: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoDictionaryOld_Impl::GetAttributeInfo(this, core::mem::transmute_copy(&id), core::mem::transmute_copy(&pinfoids)) { @@ -212,7 +212,7 @@ impl ISdoDictionaryOld_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumAttributeValues, Impl: ISdoDictionaryOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: ATTRIBUTEID, pvalueids: *mut std::mem::MaybeUninit, pvaluesdesc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumAttributeValues, Impl: ISdoDictionaryOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: ATTRIBUTEID, pvalueids: *mut core::mem::MaybeUninit, pvaluesdesc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoDictionaryOld_Impl::EnumAttributeValues(this, core::mem::transmute_copy(&id), core::mem::transmute_copy(&pvalueids)) { @@ -234,7 +234,7 @@ impl ISdoDictionaryOld_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAttributeID, Impl: ISdoDictionaryOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattributename: std::mem::MaybeUninit, pid: *mut ATTRIBUTEID) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttributeID, Impl: ISdoDictionaryOld_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrattributename: core::mem::MaybeUninit, pid: *mut ATTRIBUTEID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoDictionaryOld_Impl::GetAttributeID(this, core::mem::transmute(&bstrattributename)) { @@ -275,7 +275,7 @@ impl windows_core::RuntimeName for ISdoMachine {} #[cfg(feature = "Win32_System_Com")] impl ISdoMachine_Vtbl { pub const fn new, Impl: ISdoMachine_Impl, const OFFSET: isize>() -> ISdoMachine_Vtbl { - unsafe extern "system" fn Attach, Impl: ISdoMachine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcomputername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Attach, Impl: ISdoMachine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcomputername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISdoMachine_Impl::Attach(this, core::mem::transmute(&bstrcomputername)).into() @@ -291,7 +291,7 @@ impl ISdoMachine_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetServiceSDO, Impl: ISdoMachine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, edatastore: IASDATASTORE, bstrservicename: std::mem::MaybeUninit, ppservicesdo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetServiceSDO, Impl: ISdoMachine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, edatastore: IASDATASTORE, bstrservicename: core::mem::MaybeUninit, ppservicesdo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoMachine_Impl::GetServiceSDO(this, core::mem::transmute_copy(&edatastore), core::mem::transmute(&bstrservicename)) { @@ -302,7 +302,7 @@ impl ISdoMachine_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetUserSDO, Impl: ISdoMachine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, edatastore: IASDATASTORE, bstrusername: std::mem::MaybeUninit, ppusersdo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetUserSDO, Impl: ISdoMachine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, edatastore: IASDATASTORE, bstrusername: core::mem::MaybeUninit, ppusersdo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoMachine_Impl::GetUserSDO(this, core::mem::transmute_copy(&edatastore), core::mem::transmute(&bstrusername)) { @@ -346,7 +346,7 @@ impl ISdoMachine_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAttachedComputer, Impl: ISdoMachine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcomputername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttachedComputer, Impl: ISdoMachine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcomputername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoMachine_Impl::GetAttachedComputer(this) { @@ -398,7 +398,7 @@ impl windows_core::RuntimeName for ISdoMachine2 {} #[cfg(feature = "Win32_System_Com")] impl ISdoMachine2_Vtbl { pub const fn new, Impl: ISdoMachine2_Impl, const OFFSET: isize>() -> ISdoMachine2_Vtbl { - unsafe extern "system" fn GetTemplatesSDO, Impl: ISdoMachine2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservicename: std::mem::MaybeUninit, pptemplatessdo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetTemplatesSDO, Impl: ISdoMachine2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservicename: core::mem::MaybeUninit, pptemplatessdo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISdoMachine2_Impl::GetTemplatesSDO(this, core::mem::transmute(&bstrservicename)) { @@ -414,12 +414,12 @@ impl ISdoMachine2_Vtbl { let this = (*this).get_impl(); ISdoMachine2_Impl::EnableTemplates(this).into() } - unsafe extern "system" fn SyncConfigAgainstTemplates, Impl: ISdoMachine2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservicename: std::mem::MaybeUninit, ppconfigroot: *mut *mut core::ffi::c_void, pptemplatesroot: *mut *mut core::ffi::c_void, bforcedsync: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SyncConfigAgainstTemplates, Impl: ISdoMachine2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservicename: core::mem::MaybeUninit, ppconfigroot: *mut *mut core::ffi::c_void, pptemplatesroot: *mut *mut core::ffi::c_void, bforcedsync: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISdoMachine2_Impl::SyncConfigAgainstTemplates(this, core::mem::transmute(&bstrservicename), core::mem::transmute_copy(&ppconfigroot), core::mem::transmute_copy(&pptemplatesroot), core::mem::transmute_copy(&bforcedsync)).into() } - unsafe extern "system" fn ImportRemoteTemplates, Impl: ISdoMachine2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plocaltemplatesroot: *mut core::ffi::c_void, bstrremotemachinename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImportRemoteTemplates, Impl: ISdoMachine2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plocaltemplatesroot: *mut core::ffi::c_void, bstrremotemachinename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISdoMachine2_Impl::ImportRemoteTemplates(this, windows_core::from_raw_borrowed(&plocaltemplatesroot), core::mem::transmute(&bstrremotemachinename)).into() @@ -503,12 +503,12 @@ impl windows_core::RuntimeName for ITemplateSdo {} #[cfg(feature = "Win32_System_Com")] impl ITemplateSdo_Vtbl { pub const fn new, Impl: ITemplateSdo_Impl, const OFFSET: isize>() -> ITemplateSdo_Vtbl { - unsafe extern "system" fn AddToCollection, Impl: ITemplateSdo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pcollection: *mut core::ffi::c_void, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddToCollection, Impl: ITemplateSdo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pcollection: *mut core::ffi::c_void, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITemplateSdo_Impl::AddToCollection(this, core::mem::transmute(&bstrname), windows_core::from_raw_borrowed(&pcollection), core::mem::transmute_copy(&ppitem)).into() } - unsafe extern "system" fn AddToSdo, Impl: ITemplateSdo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, psdotarget: *mut core::ffi::c_void, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddToSdo, Impl: ITemplateSdo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, psdotarget: *mut core::ffi::c_void, ppitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITemplateSdo_Impl::AddToSdo(this, core::mem::transmute(&bstrname), windows_core::from_raw_borrowed(&psdotarget), core::mem::transmute_copy(&ppitem)).into() 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 5f189cbc60..ebaa96b7b6 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(ISdo, ISdo_Vtbl, 0x56bc53de_96db_11d1_bf3f_ impl std::ops::Deref for ISdo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -12,11 +12,11 @@ windows_core::imp::interface_hierarchy!(ISdo, windows_core::IUnknown, super::sup #[cfg(feature = "Win32_System_Com")] impl ISdo { pub unsafe fn GetPropertyInfo(&self, id: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyInfo)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProperty(&self, id: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PutProperty(&self, id: i32, pvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -32,7 +32,7 @@ impl ISdo { (windows_core::Interface::vtable(self).Restore)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -41,8 +41,8 @@ impl ISdo { pub struct ISdo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub GetPropertyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub ResetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Apply: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Restore: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -54,7 +54,7 @@ windows_core::imp::define_interface!(ISdoCollection, ISdoCollection_Vtbl, 0x56bc impl std::ops::Deref for ISdoCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -62,7 +62,7 @@ windows_core::imp::interface_hierarchy!(ISdoCollection, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISdoCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -89,16 +89,16 @@ impl ISdoCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsNameUnique)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, name: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), core::mem::transmute(name), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -108,7 +108,7 @@ pub struct ISdoCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, #[cfg(feature = "Win32_System_Com")] @@ -117,9 +117,9 @@ pub struct ISdoCollection_Vtbl { Remove: usize, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub IsNameUnique: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsNameUnique: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -130,7 +130,7 @@ windows_core::imp::define_interface!(ISdoDictionaryOld, ISdoDictionaryOld_Vtbl, impl std::ops::Deref for ISdoDictionaryOld { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -138,27 +138,27 @@ windows_core::imp::interface_hierarchy!(ISdoDictionaryOld, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl ISdoDictionaryOld { pub unsafe fn EnumAttributes(&self, id: *mut windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAttributes)(windows_core::Interface::as_raw(self), core::mem::transmute(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAttributeInfo(&self, id: ATTRIBUTEID, pinfoids: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeInfo)(windows_core::Interface::as_raw(self), id, core::mem::transmute(pinfoids), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumAttributeValues(&self, id: ATTRIBUTEID, pvalueids: *mut windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAttributeValues)(windows_core::Interface::as_raw(self), id, core::mem::transmute(pvalueids), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAttribute(&self, id: ATTRIBUTEID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAttribute)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAttributeID(&self, bstrattributename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeID)(windows_core::Interface::as_raw(self), bstrattributename.param().abi(), &mut result__).map(|| result__) } } @@ -166,14 +166,14 @@ impl ISdoDictionaryOld { #[repr(C)] pub struct ISdoDictionaryOld_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub EnumAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, ATTRIBUTEID, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EnumAttributeValues: unsafe extern "system" fn(*mut core::ffi::c_void, ATTRIBUTEID, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, ATTRIBUTEID, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumAttributeValues: unsafe extern "system" fn(*mut core::ffi::c_void, ATTRIBUTEID, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, ATTRIBUTEID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateAttribute: usize, - pub GetAttributeID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut ATTRIBUTEID) -> windows_core::HRESULT, + pub GetAttributeID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut ATTRIBUTEID) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISdoMachine, ISdoMachine_Vtbl, 0x479f6e75_49a2_11d2_8eca_00c04fc2f519); @@ -181,7 +181,7 @@ windows_core::imp::define_interface!(ISdoMachine, ISdoMachine_Vtbl, 0x479f6e75_4 impl std::ops::Deref for ISdoMachine { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -195,41 +195,41 @@ impl ISdoMachine { (windows_core::Interface::vtable(self).Attach)(windows_core::Interface::as_raw(self), bstrcomputername.param().abi()).ok() } pub unsafe fn GetDictionarySDO(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDictionarySDO)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetServiceSDO(&self, edatastore: IASDATASTORE, bstrservicename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceSDO)(windows_core::Interface::as_raw(self), edatastore, bstrservicename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUserSDO(&self, edatastore: IASDATASTORE, bstrusername: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserSDO)(windows_core::Interface::as_raw(self), edatastore, bstrusername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOSType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOSType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDomainType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDomainType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDirectoryAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDirectoryAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAttachedComputer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttachedComputer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSDOSchema(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSDOSchema)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -237,14 +237,14 @@ impl ISdoMachine { #[repr(C)] pub struct ISdoMachine_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Attach: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Attach: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDictionarySDO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetServiceSDO: unsafe extern "system" fn(*mut core::ffi::c_void, IASDATASTORE, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetUserSDO: unsafe extern "system" fn(*mut core::ffi::c_void, IASDATASTORE, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetServiceSDO: unsafe extern "system" fn(*mut core::ffi::c_void, IASDATASTORE, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetUserSDO: unsafe extern "system" fn(*mut core::ffi::c_void, IASDATASTORE, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetOSType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IASOSTYPE) -> windows_core::HRESULT, pub GetDomainType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IASDOMAINTYPE) -> windows_core::HRESULT, pub IsDirectoryAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetAttachedComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttachedComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSDOSchema: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -253,7 +253,7 @@ windows_core::imp::define_interface!(ISdoMachine2, ISdoMachine2_Vtbl, 0x518e5ffe impl std::ops::Deref for ISdoMachine2 { type Target = ISdoMachine; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -264,7 +264,7 @@ impl ISdoMachine2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTemplatesSDO)(windows_core::Interface::as_raw(self), bstrservicename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnableTemplates(&self) -> windows_core::Result<()> { @@ -292,10 +292,10 @@ impl ISdoMachine2 { #[repr(C)] pub struct ISdoMachine2_Vtbl { pub base__: ISdoMachine_Vtbl, - pub GetTemplatesSDO: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTemplatesSDO: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableTemplates: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SyncConfigAgainstTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ImportRemoteTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SyncConfigAgainstTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub ImportRemoteTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Reload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -304,7 +304,7 @@ windows_core::imp::define_interface!(ISdoServiceControl, ISdoServiceControl_Vtbl impl std::ops::Deref for ISdoServiceControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -318,7 +318,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResetService(&self) -> windows_core::Result<()> { @@ -340,7 +340,7 @@ windows_core::imp::define_interface!(ITemplateSdo, ITemplateSdo_Vtbl, 0x8aa85302 impl std::ops::Deref for ITemplateSdo { type Target = ISdo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -376,11 +376,11 @@ impl ITemplateSdo { pub struct ITemplateSdo_Vtbl { pub base__: ISdo_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub AddToCollection: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddToCollection: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddToCollection: usize, #[cfg(feature = "Win32_System_Com")] - pub AddToSdo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddToSdo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddToSdo: usize, #[cfg(feature = "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 77237a0944..cf31485f96 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs @@ -12,14 +12,14 @@ pub unsafe fn DrtContinueSearch(hsearchcontext: *const core::ffi::c_void) -> win #[inline] pub unsafe fn DrtCreateDerivedKey(plocalcert: *const super::super::Security::Cryptography::CERT_CONTEXT) -> windows_core::Result { windows_targets::link!("drtprov.dll" "system" fn DrtCreateDerivedKey(plocalcert : *const super::super::Security::Cryptography:: CERT_CONTEXT, pkey : *mut DRT_DATA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DrtCreateDerivedKey(plocalcert, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security_Cryptography")] #[inline] pub unsafe fn DrtCreateDerivedKeySecurityProvider(prootcert: *const super::super::Security::Cryptography::CERT_CONTEXT, plocalcert: Option<*const super::super::Security::Cryptography::CERT_CONTEXT>) -> windows_core::Result<*mut DRT_SECURITY_PROVIDER> { windows_targets::link!("drtprov.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DrtCreateDerivedKeySecurityProvider(prootcert, core::mem::transmute(plocalcert.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -28,7 +28,7 @@ where P0: windows_core::Param, { windows_targets::link!("drtprov.dll" "system" fn DrtCreateDnsBootstrapResolver(port : u16, pwszaddress : windows_core::PCWSTR, ppmodule : *mut *mut DRT_BOOTSTRAP_PROVIDER) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DrtCreateDnsBootstrapResolver(port, pwszaddress.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -39,7 +39,7 @@ pub unsafe fn DrtCreateIpv6UdpTransport(scope: DRT_SCOPE, dwscopeid: u32, dwloca #[inline] pub unsafe fn DrtCreateNullSecurityProvider() -> windows_core::Result<*mut DRT_SECURITY_PROVIDER> { windows_targets::link!("drtprov.dll" "system" fn DrtCreateNullSecurityProvider(ppsecurityprovider : *mut *mut DRT_SECURITY_PROVIDER) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DrtCreateNullSecurityProvider(&mut result__).map(|| result__) } #[inline] @@ -51,7 +51,7 @@ where P3: windows_core::Param, { windows_targets::link!("drtprov.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DrtCreatePnrpBootstrapResolver(fpublish.param().abi(), pwzpeername.param().abi(), pwzcloudname.param().abi(), pwzpublishingidentity.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -93,7 +93,7 @@ pub unsafe fn DrtGetEventData(hdrt: *const core::ffi::c_void, uleventdatalen: u3 #[inline] pub unsafe fn DrtGetEventDataSize(hdrt: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("drt.dll" "system" fn DrtGetEventDataSize(hdrt : *const core::ffi::c_void, puleventdatalen : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DrtGetEventDataSize(hdrt, &mut result__).map(|| result__) } #[inline] @@ -104,7 +104,7 @@ pub unsafe fn DrtGetInstanceName(hdrt: *const core::ffi::c_void, ulcbinstancenam #[inline] pub unsafe fn DrtGetInstanceNameSize(hdrt: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("drt.dll" "system" fn DrtGetInstanceNameSize(hdrt : *const core::ffi::c_void, pulcbinstancenamesize : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DrtGetInstanceNameSize(hdrt, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Networking_WinSock")] @@ -116,7 +116,7 @@ pub unsafe fn DrtGetSearchPath(hsearchcontext: *const core::ffi::c_void, ulsearc #[inline] pub unsafe fn DrtGetSearchPathSize(hsearchcontext: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("drt.dll" "system" fn DrtGetSearchPathSize(hsearchcontext : *const core::ffi::c_void, pulsearchpathsize : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DrtGetSearchPathSize(hsearchcontext, &mut result__).map(|| result__) } #[inline] @@ -127,7 +127,7 @@ pub unsafe fn DrtGetSearchResult(hsearchcontext: *const core::ffi::c_void, ulsea #[inline] pub unsafe fn DrtGetSearchResultSize(hsearchcontext: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("drt.dll" "system" fn DrtGetSearchResultSize(hsearchcontext : *const core::ffi::c_void, pulsearchresultsize : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DrtGetSearchResultSize(hsearchcontext, &mut result__).map(|| result__) } #[inline] @@ -260,20 +260,20 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerCollabExportContact(pwzpeername : windows_core::PCWSTR, ppwzcontactdata : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabExportContact(pwzpeername.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabGetAppLaunchInfo() -> windows_core::Result<*mut PEER_APP_LAUNCH_INFO> { windows_targets::link!("p2p.dll" "system" fn PeerCollabGetAppLaunchInfo(pplaunchinfo : *mut *mut PEER_APP_LAUNCH_INFO) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabGetAppLaunchInfo(&mut result__).map(|| result__) } #[inline] pub unsafe fn PeerCollabGetApplicationRegistrationInfo(papplicationid: *const windows_core::GUID, registrationtype: PEER_APPLICATION_REGISTRATION_TYPE) -> windows_core::Result<*mut PEER_APPLICATION_REGISTRATION_INFO> { windows_targets::link!("p2p.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabGetApplicationRegistrationInfo(papplicationid, registrationtype, &mut result__).map(|| result__) } #[inline] @@ -282,20 +282,20 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerCollabGetContact(pwzpeername : windows_core::PCWSTR, ppcontact : *mut *mut PEER_CONTACT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabGetContact(pwzpeername.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerCollabGetEndpointName() -> windows_core::Result { windows_targets::link!("p2p.dll" "system" fn PeerCollabGetEndpointName(ppwzendpointname : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabGetEndpointName(&mut result__).map(|| result__) } #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabGetEventData(hpeerevent: *const core::ffi::c_void) -> windows_core::Result<*mut PEER_COLLAB_EVENT_DATA> { windows_targets::link!("p2p.dll" "system" fn PeerCollabGetEventData(hpeerevent : *const core::ffi::c_void, ppeventdata : *mut *mut PEER_COLLAB_EVENT_DATA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabGetEventData(hpeerevent, &mut result__).map(|| result__) } #[inline] @@ -304,34 +304,34 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerCollabGetInvitationResponse(hinvitation : super::super::Foundation:: HANDLE, ppinvitationresponse : *mut *mut PEER_INVITATION_RESPONSE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabGetInvitationResponse(hinvitation.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabGetPresenceInfo(pcendpoint: Option<*const PEER_ENDPOINT>) -> windows_core::Result<*mut PEER_PRESENCE_INFO> { windows_targets::link!("p2p.dll" "system" fn PeerCollabGetPresenceInfo(pcendpoint : *const PEER_ENDPOINT, pppresenceinfo : *mut *mut PEER_PRESENCE_INFO) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabGetPresenceInfo(core::mem::transmute(pcendpoint.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerCollabGetSigninOptions() -> windows_core::Result { windows_targets::link!("p2p.dll" "system" fn PeerCollabGetSigninOptions(pdwsigninoptions : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabGetSigninOptions(&mut result__).map(|| result__) } #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabInviteContact(pccontact: Option<*const PEER_CONTACT>, pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION) -> windows_core::Result<*mut PEER_INVITATION_RESPONSE> { windows_targets::link!("p2p.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabInviteContact(core::mem::transmute(pccontact.unwrap_or(std::ptr::null())), pcendpoint, pcinvitation, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabInviteEndpoint(pcendpoint: *const PEER_ENDPOINT, pcinvitation: *const PEER_INVITATION) -> windows_core::Result<*mut PEER_INVITATION_RESPONSE> { windows_targets::link!("p2p.dll" "system" fn PeerCollabInviteEndpoint(pcendpoint : *const PEER_ENDPOINT, pcinvitation : *const PEER_INVITATION, ppresponse : *mut *mut PEER_INVITATION_RESPONSE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabInviteEndpoint(pcendpoint, pcinvitation, &mut result__).map(|| result__) } #[inline] @@ -340,14 +340,14 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerCollabParseContact(pwzcontactdata : windows_core::PCWSTR, ppcontact : *mut *mut PEER_CONTACT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabParseContact(pwzcontactdata.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Networking_WinSock")] #[inline] pub unsafe fn PeerCollabQueryContactData(pcendpoint: Option<*const PEER_ENDPOINT>) -> windows_core::Result { windows_targets::link!("p2p.dll" "system" fn PeerCollabQueryContactData(pcendpoint : *const PEER_ENDPOINT, ppwzcontactdata : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCollabQueryContactData(core::mem::transmute(pcendpoint.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Networking_WinSock")] @@ -444,7 +444,7 @@ where P1: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerCreatePeerName(pwzidentity : windows_core::PCWSTR, pwzclassifier : windows_core::PCWSTR, ppwzpeername : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerCreatePeerName(pwzidentity.param().abi(), pwzclassifier.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_IO")] @@ -651,7 +651,7 @@ pub unsafe fn PeerFreeData(pvdata: Option<*const core::ffi::c_void>) { #[inline] pub unsafe fn PeerGetItemCount(hpeerenum: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("p2p.dll" "system" fn PeerGetItemCount(hpeerenum : *const core::ffi::c_void, pcount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGetItemCount(hpeerenum, &mut result__).map(|| result__) } #[inline] @@ -662,7 +662,7 @@ pub unsafe fn PeerGetNextItem(hpeerenum: *const core::ffi::c_void, pcount: *mut #[inline] pub unsafe fn PeerGraphAddRecord(hgraph: *const core::ffi::c_void, precord: *const PEER_RECORD) -> windows_core::Result { windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphAddRecord(hgraph : *const core::ffi::c_void, precord : *const PEER_RECORD, precordid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphAddRecord(hgraph, precord, &mut result__).map(|| result__) } #[inline] @@ -682,7 +682,7 @@ where P0: windows_core::Param, { windows_targets::link!("p2pgraph.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphConnect(hgraph, pwzpeerid.param().abi(), paddress, &mut result__).map(|| result__) } #[inline] @@ -753,13 +753,13 @@ pub unsafe fn PeerGraphFreeData(pvdata: *const core::ffi::c_void) { #[inline] pub unsafe fn PeerGraphGetEventData(hpeerevent: *const core::ffi::c_void) -> windows_core::Result<*mut PEER_GRAPH_EVENT_DATA> { windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetEventData(hpeerevent : *const core::ffi::c_void, ppeventdata : *mut *mut PEER_GRAPH_EVENT_DATA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphGetEventData(hpeerevent, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGraphGetItemCount(hpeerenum: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetItemCount(hpeerenum : *const core::ffi::c_void, pcount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphGetItemCount(hpeerenum, &mut result__).map(|| result__) } #[inline] @@ -771,25 +771,25 @@ pub unsafe fn PeerGraphGetNextItem(hpeerenum: *const core::ffi::c_void, pcount: #[inline] pub unsafe fn PeerGraphGetNodeInfo(hgraph: *const core::ffi::c_void, ullnodeid: u64) -> windows_core::Result<*mut PEER_NODE_INFO> { windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetNodeInfo(hgraph : *const core::ffi::c_void, ullnodeid : u64, ppnodeinfo : *mut *mut PEER_NODE_INFO) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphGetNodeInfo(hgraph, ullnodeid, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGraphGetProperties(hgraph: *const core::ffi::c_void) -> windows_core::Result<*mut PEER_GRAPH_PROPERTIES> { windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetProperties(hgraph : *const core::ffi::c_void, ppgraphproperties : *mut *mut PEER_GRAPH_PROPERTIES) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphGetProperties(hgraph, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGraphGetRecord(hgraph: *const core::ffi::c_void, precordid: *const windows_core::GUID) -> windows_core::Result<*mut PEER_RECORD> { windows_targets::link!("p2pgraph.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphGetRecord(hgraph, precordid, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGraphGetStatus(hgraph: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetStatus(hgraph : *const core::ffi::c_void, pdwstatus : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphGetStatus(hgraph, &mut result__).map(|| result__) } #[inline] @@ -822,13 +822,13 @@ where P0: windows_core::Param, { windows_targets::link!("p2pgraph.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphOpenDirectConnection(hgraph, pwzpeerid.param().abi(), paddress, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGraphPeerTimeToUniversalTime(hgraph: *const core::ffi::c_void, pftpeertime: *const super::super::Foundation::FILETIME) -> windows_core::Result { windows_targets::link!("p2pgraph.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphPeerTimeToUniversalTime(hgraph, pftpeertime, &mut result__).map(|| result__) } #[inline] @@ -881,13 +881,13 @@ pub unsafe fn PeerGraphShutdown() -> windows_core::Result<()> { #[inline] pub unsafe fn PeerGraphStartup(wversionrequested: u16) -> windows_core::Result { windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphStartup(wversionrequested : u16, pversiondata : *mut PEER_VERSION_DATA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphStartup(wversionrequested, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGraphUniversalTimeToPeerTime(hgraph: *const core::ffi::c_void, pftuniversaltime: *const super::super::Foundation::FILETIME) -> windows_core::Result { windows_targets::link!("p2pgraph.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGraphUniversalTimeToPeerTime(hgraph, pftuniversaltime, &mut result__).map(|| result__) } #[inline] @@ -908,7 +908,7 @@ pub unsafe fn PeerGraphValidateDeferredRecords(hgraph: *const core::ffi::c_void, #[inline] pub unsafe fn PeerGroupAddRecord(hgroup: *const core::ffi::c_void, precord: *const PEER_RECORD) -> windows_core::Result { windows_targets::link!("p2p.dll" "system" fn PeerGroupAddRecord(hgroup : *const core::ffi::c_void, precord : *const PEER_RECORD, precordid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupAddRecord(hgroup, precord, &mut result__).map(|| result__) } #[inline] @@ -943,13 +943,13 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupCreateInvitation(hgroup, pwzidentityinfo.param().abi(), core::mem::transmute(pftexpiration.unwrap_or(std::ptr::null())), proles.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(proles.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGroupCreatePasswordInvitation(hgroup: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("p2p.dll" "system" fn PeerGroupCreatePasswordInvitation(hgroup : *const core::ffi::c_void, ppwzinvitation : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupCreatePasswordInvitation(hgroup, &mut result__).map(|| result__) } #[inline] @@ -990,7 +990,7 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerGroupExportConfig(hgroup : *const core::ffi::c_void, pwzpassword : windows_core::PCWSTR, ppwzxml : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupExportConfig(hgroup, pwzpassword.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1004,25 +1004,25 @@ where #[inline] pub unsafe fn PeerGroupGetEventData(hpeerevent: *const core::ffi::c_void) -> windows_core::Result<*mut PEER_GROUP_EVENT_DATA> { windows_targets::link!("p2p.dll" "system" fn PeerGroupGetEventData(hpeerevent : *const core::ffi::c_void, ppeventdata : *mut *mut PEER_GROUP_EVENT_DATA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupGetEventData(hpeerevent, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGroupGetProperties(hgroup: *const core::ffi::c_void) -> windows_core::Result<*mut PEER_GROUP_PROPERTIES> { windows_targets::link!("p2p.dll" "system" fn PeerGroupGetProperties(hgroup : *const core::ffi::c_void, ppproperties : *mut *mut PEER_GROUP_PROPERTIES) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupGetProperties(hgroup, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGroupGetRecord(hgroup: *const core::ffi::c_void, precordid: *const windows_core::GUID) -> windows_core::Result<*mut PEER_RECORD> { windows_targets::link!("p2p.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupGetRecord(hgroup, precordid, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGroupGetStatus(hgroup: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("p2p.dll" "system" fn PeerGroupGetStatus(hgroup : *const core::ffi::c_void, pdwstatus : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupGetStatus(hgroup, &mut result__).map(|| result__) } #[inline] @@ -1079,7 +1079,7 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupOpenDirectConnection(hgroup, pwzidentity.param().abi(), paddress, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security_Cryptography")] @@ -1089,7 +1089,7 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerGroupParseInvitation(pwzinvitation : windows_core::PCWSTR, ppinvitationinfo : *mut *mut PEER_INVITATION_INFO) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupParseInvitation(pwzinvitation.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1106,7 +1106,7 @@ where #[inline] pub unsafe fn PeerGroupPeerTimeToUniversalTime(hgroup: *const core::ffi::c_void, pftpeertime: *const super::super::Foundation::FILETIME) -> windows_core::Result { windows_targets::link!("p2p.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupPeerTimeToUniversalTime(hgroup, pftpeertime, &mut result__).map(|| result__) } #[inline] @@ -1148,13 +1148,13 @@ pub unsafe fn PeerGroupShutdown() -> windows_core::Result<()> { #[inline] pub unsafe fn PeerGroupStartup(wversionrequested: u16) -> windows_core::Result { windows_targets::link!("p2p.dll" "system" fn PeerGroupStartup(wversionrequested : u16, pversiondata : *mut PEER_VERSION_DATA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupStartup(wversionrequested, &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerGroupUniversalTimeToPeerTime(hgroup: *const core::ffi::c_void, pftuniversaltime: *const super::super::Foundation::FILETIME) -> windows_core::Result { windows_targets::link!("p2p.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerGroupUniversalTimeToPeerTime(hgroup, pftuniversaltime, &mut result__).map(|| result__) } #[inline] @@ -1173,7 +1173,7 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerHostNameToPeerName(pwzhostname : windows_core::PCWSTR, ppwzpeername : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerHostNameToPeerName(pwzhostname.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1183,7 +1183,7 @@ where P1: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerIdentityCreate(pwzclassifier : windows_core::PCWSTR, pwzfriendlyname : windows_core::PCWSTR, hcryptprov : usize, ppwzidentity : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerIdentityCreate(pwzclassifier.param().abi(), pwzfriendlyname.param().abi(), hcryptprov, &mut result__).map(|| result__) } #[inline] @@ -1201,7 +1201,7 @@ where P1: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerIdentityExport(pwzidentity : windows_core::PCWSTR, pwzpassword : windows_core::PCWSTR, ppwzexportxml : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerIdentityExport(pwzidentity.param().abi(), pwzpassword.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1210,13 +1210,13 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetCryptKey(pwzidentity : windows_core::PCWSTR, phcryptprov : *mut usize) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerIdentityGetCryptKey(pwzidentity.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn PeerIdentityGetDefault() -> windows_core::Result { windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetDefault(ppwzpeername : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerIdentityGetDefault(&mut result__).map(|| result__) } #[inline] @@ -1225,7 +1225,7 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetFriendlyName(pwzidentity : windows_core::PCWSTR, ppwzfriendlyname : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerIdentityGetFriendlyName(pwzidentity.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1234,7 +1234,7 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetXML(pwzidentity : windows_core::PCWSTR, ppwzidentityxml : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerIdentityGetXML(pwzidentity.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1244,7 +1244,7 @@ where P1: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerIdentityImport(pwzimportxml : windows_core::PCWSTR, pwzpassword : windows_core::PCWSTR, ppwzidentity : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerIdentityImport(pwzimportxml.param().abi(), pwzpassword.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1262,7 +1262,7 @@ where P0: windows_core::Param, { windows_targets::link!("p2p.dll" "system" fn PeerNameToPeerHostName(pwzpeername : windows_core::PCWSTR, ppwzhostname : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerNameToPeerHostName(pwzpeername.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1279,7 +1279,7 @@ pub unsafe fn PeerPnrpGetCloudInfo(pcnumclouds: *mut u32, ppcloudinfo: *mut *mut #[inline] pub unsafe fn PeerPnrpGetEndpoint(hresolve: *const core::ffi::c_void) -> windows_core::Result<*mut PEER_PNRP_ENDPOINT_INFO> { windows_targets::link!("p2p.dll" "system" fn PeerPnrpGetEndpoint(hresolve : *const core::ffi::c_void, ppendpoint : *mut *mut PEER_PNRP_ENDPOINT_INFO) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PeerPnrpGetEndpoint(hresolve, &mut result__).map(|| result__) } #[cfg(feature = "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 c94a0bdbfd..756f02a9eb 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -500,7 +500,7 @@ windows_core::imp::define_interface!(IDot11AdHocInterface, IDot11AdHocInterface_ impl std::ops::Deref for IDot11AdHocInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDot11AdHocInterface, windows_core::IUnknown); @@ -509,7 +509,7 @@ impl IDot11AdHocInterface { (windows_core::Interface::vtable(self).GetDeviceSignature)(windows_core::Interface::as_raw(self), psignature).ok() } pub unsafe fn GetFriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFriendlyName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDot11d(&self, pf11d: *mut u8) -> windows_core::Result<()> { @@ -522,15 +522,15 @@ impl IDot11AdHocInterface { (windows_core::Interface::vtable(self).IsRadioOn)(windows_core::Interface::as_raw(self), pfisradioon).ok() } pub unsafe fn GetActiveNetwork(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveNetwork)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIEnumSecuritySettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIEnumSecuritySettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIEnumDot11AdHocNetworks(&self, pfilterguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIEnumDot11AdHocNetworks)(windows_core::Interface::as_raw(self), pfilterguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStatus(&self, pstate: *mut DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> windows_core::Result<()> { @@ -554,7 +554,7 @@ windows_core::imp::define_interface!(IDot11AdHocInterfaceNotificationSink, IDot1 impl std::ops::Deref for IDot11AdHocInterfaceNotificationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDot11AdHocInterfaceNotificationSink, windows_core::IUnknown); @@ -572,7 +572,7 @@ windows_core::imp::define_interface!(IDot11AdHocManager, IDot11AdHocManager_Vtbl impl std::ops::Deref for IDot11AdHocManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDot11AdHocManager, windows_core::IUnknown); @@ -584,7 +584,7 @@ impl IDot11AdHocManager { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNetwork)(windows_core::Interface::as_raw(self), name.param().abi(), password.param().abi(), geographicalid, pinterface.param().abi(), psecurity.param().abi(), pcontextguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CommitCreatedNetwork(&self, piadhoc: P0, fsaveprofile: P1, fmakesavedprofileuserspecific: P2) -> windows_core::Result<()> @@ -596,15 +596,15 @@ impl IDot11AdHocManager { (windows_core::Interface::vtable(self).CommitCreatedNetwork)(windows_core::Interface::as_raw(self), piadhoc.param().abi(), fsaveprofile.param().abi(), fmakesavedprofileuserspecific.param().abi()).ok() } pub unsafe fn GetIEnumDot11AdHocNetworks(&self, pcontextguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIEnumDot11AdHocNetworks)(windows_core::Interface::as_raw(self), pcontextguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIEnumDot11AdHocInterfaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIEnumDot11AdHocInterfaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNetwork(&self, networksignature: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetwork)(windows_core::Interface::as_raw(self), networksignature, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -621,7 +621,7 @@ windows_core::imp::define_interface!(IDot11AdHocManagerNotificationSink, IDot11A impl std::ops::Deref for IDot11AdHocManagerNotificationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDot11AdHocManagerNotificationSink, windows_core::IUnknown); @@ -657,7 +657,7 @@ windows_core::imp::define_interface!(IDot11AdHocNetwork, IDot11AdHocNetwork_Vtbl impl std::ops::Deref for IDot11AdHocNetwork { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDot11AdHocNetwork, windows_core::IUnknown); @@ -666,14 +666,14 @@ impl IDot11AdHocNetwork { (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), estatus).ok() } pub unsafe fn GetSSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSSID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HasProfile(&self, pf11d: *mut u8) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).HasProfile)(windows_core::Interface::as_raw(self), pf11d).ok() } pub unsafe fn GetProfileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProfileName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeleteProfile(&self) -> windows_core::Result<()> { @@ -683,7 +683,7 @@ impl IDot11AdHocNetwork { (windows_core::Interface::vtable(self).GetSignalQuality)(windows_core::Interface::as_raw(self), pustrengthvalue, pustrengthmax).ok() } pub unsafe fn GetSecuritySetting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecuritySetting)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContextGuid(&self, pcontextguid: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -693,7 +693,7 @@ impl IDot11AdHocNetwork { (windows_core::Interface::vtable(self).GetSignature)(windows_core::Interface::as_raw(self), psignature).ok() } pub unsafe fn GetInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Connect(&self, passphrase: P0, geographicalid: i32, fsaveprofile: P1, fmakesavedprofileuserspecific: P2) -> windows_core::Result<()> @@ -728,7 +728,7 @@ windows_core::imp::define_interface!(IDot11AdHocNetworkNotificationSink, IDot11A impl std::ops::Deref for IDot11AdHocNetworkNotificationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDot11AdHocNetworkNotificationSink, windows_core::IUnknown); @@ -750,7 +750,7 @@ windows_core::imp::define_interface!(IDot11AdHocSecuritySettings, IDot11AdHocSec impl std::ops::Deref for IDot11AdHocSecuritySettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDot11AdHocSecuritySettings, windows_core::IUnknown); @@ -772,7 +772,7 @@ windows_core::imp::define_interface!(IEnumDot11AdHocInterfaces, IEnumDot11AdHocI impl std::ops::Deref for IEnumDot11AdHocInterfaces { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDot11AdHocInterfaces, windows_core::IUnknown); @@ -787,7 +787,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -803,7 +803,7 @@ windows_core::imp::define_interface!(IEnumDot11AdHocNetworks, IEnumDot11AdHocNet impl std::ops::Deref for IEnumDot11AdHocNetworks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDot11AdHocNetworks, windows_core::IUnknown); @@ -818,7 +818,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -834,7 +834,7 @@ windows_core::imp::define_interface!(IEnumDot11AdHocSecuritySettings, IEnumDot11 impl std::ops::Deref for IEnumDot11AdHocSecuritySettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDot11AdHocSecuritySettings, windows_core::IUnknown); @@ -849,7 +849,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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 aa5e419ee8..c1531aad74 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IWCNConnectNotify, IWCNConnectNotify_Vtbl, impl std::ops::Deref for IWCNConnectNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWCNConnectNotify, windows_core::IUnknown); @@ -24,7 +24,7 @@ windows_core::imp::define_interface!(IWCNDevice, IWCNDevice_Vtbl, 0xc100be9c_d33 impl std::ops::Deref for IWCNDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWCNDevice, windows_core::IUnknown); @@ -42,7 +42,7 @@ impl IWCNDevice { (windows_core::Interface::vtable(self).GetAttribute)(windows_core::Interface::as_raw(self), attributetype, pbbuffer.len().try_into().unwrap(), core::mem::transmute(pbbuffer.as_ptr()), pdwbufferused).ok() } pub unsafe fn GetIntegerAttribute(&self, attributetype: WCN_ATTRIBUTE_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIntegerAttribute)(windows_core::Interface::as_raw(self), attributetype, &mut result__).map(|| 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 e20aa78a94..565f74a2f9 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs @@ -10,7 +10,7 @@ where P1: windows_core::Param, { windows_targets::link!("ondemandconnroutehelper.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetInterfaceContextTableForHostName(hostname.param().abi(), proxyname.param().abi(), flags, core::mem::transmute(connectionprofilefilterrawdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), connectionprofilefilterrawdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).map(|| result__) } #[inline] @@ -19,13 +19,13 @@ where P0: windows_core::Param, { windows_targets::link!("ondemandconnroutehelper.dll" "system" fn OnDemandGetRoutingHint(destinationhostname : windows_core::PCWSTR, interfaceindex : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OnDemandGetRoutingHint(destinationhostname.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn OnDemandRegisterNotification(callback: ONDEMAND_NOTIFICATION_CALLBACK, callbackcontext: Option<*const core::ffi::c_void>) -> windows_core::Result { windows_targets::link!("ondemandconnroutehelper.dll" "system" fn OnDemandRegisterNotification(callback : ONDEMAND_NOTIFICATION_CALLBACK, callbackcontext : *const core::ffi::c_void, registrationhandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OnDemandRegisterNotification(callback, core::mem::transmute(callbackcontext.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs index a6d42a9c4b..dd75d4a050 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs @@ -20,7 +20,7 @@ impl windows_core::RuntimeName for IDynamicPortMapping {} #[cfg(feature = "Win32_System_Com")] impl IDynamicPortMapping_Vtbl { pub const fn new, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>() -> IDynamicPortMapping_Vtbl { - unsafe extern "system" fn ExternalIPAddress, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExternalIPAddress, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDynamicPortMapping_Impl::ExternalIPAddress(this) { @@ -31,7 +31,7 @@ impl IDynamicPortMapping_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoteHost, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteHost, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDynamicPortMapping_Impl::RemoteHost(this) { @@ -53,7 +53,7 @@ impl IDynamicPortMapping_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Protocol, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Protocol, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDynamicPortMapping_Impl::Protocol(this) { @@ -75,7 +75,7 @@ impl IDynamicPortMapping_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InternalClient, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InternalClient, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDynamicPortMapping_Impl::InternalClient(this) { @@ -97,7 +97,7 @@ impl IDynamicPortMapping_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDynamicPortMapping_Impl::Description(this) { @@ -130,7 +130,7 @@ impl IDynamicPortMapping_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EditInternalClient, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternalclient: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EditInternalClient, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternalclient: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDynamicPortMapping_Impl::EditInternalClient(this, core::mem::transmute(&bstrinternalclient)).into() @@ -140,7 +140,7 @@ impl IDynamicPortMapping_Vtbl { let this = (*this).get_impl(); IDynamicPortMapping_Impl::Enable(this, core::mem::transmute_copy(&vb)).into() } - unsafe extern "system" fn EditDescription, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EditDescription, Impl: IDynamicPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDynamicPortMapping_Impl::EditDescription(this, core::mem::transmute(&bstrdescription)).into() @@ -196,7 +196,7 @@ impl IDynamicPortMappingCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IDynamicPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremotehost: std::mem::MaybeUninit, lexternalport: i32, bstrprotocol: std::mem::MaybeUninit, ppdpm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IDynamicPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremotehost: core::mem::MaybeUninit, lexternalport: i32, bstrprotocol: core::mem::MaybeUninit, ppdpm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDynamicPortMappingCollection_Impl::get_Item(this, core::mem::transmute(&bstrremotehost), core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol)) { @@ -218,12 +218,12 @@ impl IDynamicPortMappingCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IDynamicPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremotehost: std::mem::MaybeUninit, lexternalport: i32, bstrprotocol: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IDynamicPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremotehost: core::mem::MaybeUninit, lexternalport: i32, bstrprotocol: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDynamicPortMappingCollection_Impl::Remove(this, core::mem::transmute(&bstrremotehost), core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol)).into() } - unsafe extern "system" fn Add, Impl: IDynamicPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremotehost: std::mem::MaybeUninit, lexternalport: i32, bstrprotocol: std::mem::MaybeUninit, linternalport: i32, bstrinternalclient: std::mem::MaybeUninit, benabled: super::super::Foundation::VARIANT_BOOL, bstrdescription: std::mem::MaybeUninit, lleaseduration: i32, ppdpm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IDynamicPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremotehost: core::mem::MaybeUninit, lexternalport: i32, bstrprotocol: core::mem::MaybeUninit, linternalport: i32, bstrinternalclient: core::mem::MaybeUninit, benabled: super::super::Foundation::VARIANT_BOOL, bstrdescription: core::mem::MaybeUninit, lleaseduration: i32, ppdpm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDynamicPortMappingCollection_Impl::Add(this, core::mem::transmute(&bstrremotehost), core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&linternalport), core::mem::transmute(&bstrinternalclient), core::mem::transmute_copy(&benabled), core::mem::transmute(&bstrdescription), core::mem::transmute_copy(&lleaseduration)) { @@ -303,7 +303,7 @@ pub trait IEnumNetSharingEveryConnection_Impl: Sized { impl windows_core::RuntimeName for IEnumNetSharingEveryConnection {} impl IEnumNetSharingEveryConnection_Vtbl { pub const fn new, Impl: IEnumNetSharingEveryConnection_Impl, const OFFSET: isize>() -> IEnumNetSharingEveryConnection_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumNetSharingEveryConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut std::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IEnumNetSharingEveryConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut core::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumNetSharingEveryConnection_Impl::Next(this, core::mem::transmute_copy(&celt), core::mem::transmute_copy(&rgvar), core::mem::transmute_copy(&pceltfetched)).into() @@ -350,7 +350,7 @@ pub trait IEnumNetSharingPortMapping_Impl: Sized { impl windows_core::RuntimeName for IEnumNetSharingPortMapping {} impl IEnumNetSharingPortMapping_Vtbl { pub const fn new, Impl: IEnumNetSharingPortMapping_Impl, const OFFSET: isize>() -> IEnumNetSharingPortMapping_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumNetSharingPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut std::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IEnumNetSharingPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut core::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumNetSharingPortMapping_Impl::Next(this, core::mem::transmute_copy(&celt), core::mem::transmute_copy(&rgvar), core::mem::transmute_copy(&pceltfetched)).into() @@ -397,7 +397,7 @@ pub trait IEnumNetSharingPrivateConnection_Impl: Sized { impl windows_core::RuntimeName for IEnumNetSharingPrivateConnection {} impl IEnumNetSharingPrivateConnection_Vtbl { pub const fn new, Impl: IEnumNetSharingPrivateConnection_Impl, const OFFSET: isize>() -> IEnumNetSharingPrivateConnection_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumNetSharingPrivateConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut std::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IEnumNetSharingPrivateConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut core::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumNetSharingPrivateConnection_Impl::Next(this, core::mem::transmute_copy(&celt), core::mem::transmute_copy(&rgvar), core::mem::transmute_copy(&pceltfetched)).into() @@ -444,7 +444,7 @@ pub trait IEnumNetSharingPublicConnection_Impl: Sized { impl windows_core::RuntimeName for IEnumNetSharingPublicConnection {} impl IEnumNetSharingPublicConnection_Vtbl { pub const fn new, Impl: IEnumNetSharingPublicConnection_Impl, const OFFSET: isize>() -> IEnumNetSharingPublicConnection_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumNetSharingPublicConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut std::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IEnumNetSharingPublicConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut core::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumNetSharingPublicConnection_Impl::Next(this, core::mem::transmute_copy(&celt), core::mem::transmute_copy(&rgvar), core::mem::transmute_copy(&pceltfetched)).into() @@ -518,7 +518,7 @@ pub trait INATExternalIPAddressCallback_Impl: Sized { impl windows_core::RuntimeName for INATExternalIPAddressCallback {} impl INATExternalIPAddressCallback_Vtbl { pub const fn new, Impl: INATExternalIPAddressCallback_Impl, const OFFSET: isize>() -> INATExternalIPAddressCallback_Vtbl { - unsafe extern "system" fn NewExternalIPAddress, Impl: INATExternalIPAddressCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnewexternalipaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NewExternalIPAddress, Impl: INATExternalIPAddressCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnewexternalipaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INATExternalIPAddressCallback_Impl::NewExternalIPAddress(this, core::mem::transmute(&bstrnewexternalipaddress)).into() @@ -697,7 +697,7 @@ impl windows_core::RuntimeName for INetConnectionProps {} #[cfg(feature = "Win32_System_Com")] impl INetConnectionProps_Vtbl { pub const fn new, Impl: INetConnectionProps_Impl, const OFFSET: isize>() -> INetConnectionProps_Vtbl { - unsafe extern "system" fn Guid, Impl: INetConnectionProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Guid, Impl: INetConnectionProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetConnectionProps_Impl::Guid(this) { @@ -708,7 +708,7 @@ impl INetConnectionProps_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: INetConnectionProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: INetConnectionProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetConnectionProps_Impl::Name(this) { @@ -719,7 +719,7 @@ impl INetConnectionProps_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceName, Impl: INetConnectionProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceName, Impl: INetConnectionProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetConnectionProps_Impl::DeviceName(this) { @@ -797,7 +797,7 @@ impl windows_core::RuntimeName for INetFwAuthorizedApplication {} #[cfg(feature = "Win32_System_Com")] impl INetFwAuthorizedApplication_Vtbl { pub const fn new, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>() -> INetFwAuthorizedApplication_Vtbl { - unsafe extern "system" fn Name, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwAuthorizedApplication_Impl::Name(this) { @@ -808,12 +808,12 @@ impl INetFwAuthorizedApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwAuthorizedApplication_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn ProcessImageFileName, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProcessImageFileName, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwAuthorizedApplication_Impl::ProcessImageFileName(this) { @@ -824,7 +824,7 @@ impl INetFwAuthorizedApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProcessImageFileName, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProcessImageFileName, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwAuthorizedApplication_Impl::SetProcessImageFileName(this, core::mem::transmute(&imagefilename)).into() @@ -861,7 +861,7 @@ impl INetFwAuthorizedApplication_Vtbl { let this = (*this).get_impl(); INetFwAuthorizedApplication_Impl::SetScope(this, core::mem::transmute_copy(&scope)).into() } - unsafe extern "system" fn RemoteAddresses, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteAddresses, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwAuthorizedApplication_Impl::RemoteAddresses(this) { @@ -872,7 +872,7 @@ impl INetFwAuthorizedApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwAuthorizedApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwAuthorizedApplication_Impl::SetRemoteAddresses(this, core::mem::transmute(&remoteaddrs)).into() @@ -942,12 +942,12 @@ impl INetFwAuthorizedApplications_Vtbl { let this = (*this).get_impl(); INetFwAuthorizedApplications_Impl::Add(this, windows_core::from_raw_borrowed(&app)).into() } - unsafe extern "system" fn Remove, Impl: INetFwAuthorizedApplications_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: INetFwAuthorizedApplications_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwAuthorizedApplications_Impl::Remove(this, core::mem::transmute(&imagefilename)).into() } - unsafe extern "system" fn Item, Impl: INetFwAuthorizedApplications_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: std::mem::MaybeUninit, app: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: INetFwAuthorizedApplications_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: core::mem::MaybeUninit, app: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwAuthorizedApplications_Impl::Item(this, core::mem::transmute(&imagefilename)) { @@ -1238,12 +1238,12 @@ impl INetFwMgr_Vtbl { let this = (*this).get_impl(); INetFwMgr_Impl::RestoreDefaults(this).into() } - unsafe extern "system" fn IsPortAllowed, Impl: INetFwMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: std::mem::MaybeUninit, ipversion: NET_FW_IP_VERSION, portnumber: i32, localaddress: std::mem::MaybeUninit, ipprotocol: NET_FW_IP_PROTOCOL, allowed: *mut std::mem::MaybeUninit, restricted: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IsPortAllowed, Impl: INetFwMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: core::mem::MaybeUninit, ipversion: NET_FW_IP_VERSION, portnumber: i32, localaddress: core::mem::MaybeUninit, ipprotocol: NET_FW_IP_PROTOCOL, allowed: *mut core::mem::MaybeUninit, restricted: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwMgr_Impl::IsPortAllowed(this, core::mem::transmute(&imagefilename), core::mem::transmute_copy(&ipversion), core::mem::transmute_copy(&portnumber), core::mem::transmute(&localaddress), core::mem::transmute_copy(&ipprotocol), core::mem::transmute_copy(&allowed), core::mem::transmute_copy(&restricted)).into() } - unsafe extern "system" fn IsIcmpTypeAllowed, Impl: INetFwMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ipversion: NET_FW_IP_VERSION, localaddress: std::mem::MaybeUninit, r#type: u8, allowed: *mut std::mem::MaybeUninit, restricted: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IsIcmpTypeAllowed, Impl: INetFwMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ipversion: NET_FW_IP_VERSION, localaddress: core::mem::MaybeUninit, r#type: u8, allowed: *mut core::mem::MaybeUninit, restricted: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwMgr_Impl::IsIcmpTypeAllowed(this, core::mem::transmute_copy(&ipversion), core::mem::transmute(&localaddress), core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&allowed), core::mem::transmute_copy(&restricted)).into() @@ -1284,7 +1284,7 @@ impl windows_core::RuntimeName for INetFwOpenPort {} #[cfg(feature = "Win32_System_Com")] impl INetFwOpenPort_Vtbl { pub const fn new, Impl: INetFwOpenPort_Impl, const OFFSET: isize>() -> INetFwOpenPort_Vtbl { - unsafe extern "system" fn Name, Impl: INetFwOpenPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: INetFwOpenPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwOpenPort_Impl::Name(this) { @@ -1295,7 +1295,7 @@ impl INetFwOpenPort_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: INetFwOpenPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: INetFwOpenPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwOpenPort_Impl::SetName(this, core::mem::transmute(&name)).into() @@ -1364,7 +1364,7 @@ impl INetFwOpenPort_Vtbl { let this = (*this).get_impl(); INetFwOpenPort_Impl::SetScope(this, core::mem::transmute_copy(&scope)).into() } - unsafe extern "system" fn RemoteAddresses, Impl: INetFwOpenPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteAddresses, Impl: INetFwOpenPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwOpenPort_Impl::RemoteAddresses(this) { @@ -1375,7 +1375,7 @@ impl INetFwOpenPort_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwOpenPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwOpenPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwOpenPort_Impl::SetRemoteAddresses(this, core::mem::transmute(&remoteaddrs)).into() @@ -1598,7 +1598,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); INetFwPolicy2_Impl::put_FirewallEnabled(this, core::mem::transmute_copy(&profiletype), core::mem::transmute_copy(&enabled)).into() } - unsafe extern "system" fn get_ExcludedInterfaces, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiletype: NET_FW_PROFILE_TYPE2, interfaces: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_ExcludedInterfaces, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiletype: NET_FW_PROFILE_TYPE2, interfaces: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_ExcludedInterfaces(this, core::mem::transmute_copy(&profiletype)) { @@ -1609,7 +1609,7 @@ impl INetFwPolicy2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_ExcludedInterfaces, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiletype: NET_FW_PROFILE_TYPE2, interfaces: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_ExcludedInterfaces, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiletype: NET_FW_PROFILE_TYPE2, interfaces: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwPolicy2_Impl::put_ExcludedInterfaces(this, core::mem::transmute_copy(&profiletype), core::mem::transmute(&interfaces)).into() @@ -1684,12 +1684,12 @@ impl INetFwPolicy2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnableRuleGroup, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiletypesbitmask: i32, group: std::mem::MaybeUninit, enable: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn EnableRuleGroup, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiletypesbitmask: i32, group: core::mem::MaybeUninit, enable: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwPolicy2_Impl::EnableRuleGroup(this, core::mem::transmute_copy(&profiletypesbitmask), core::mem::transmute(&group), core::mem::transmute_copy(&enable)).into() } - unsafe extern "system" fn IsRuleGroupEnabled, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiletypesbitmask: i32, group: std::mem::MaybeUninit, enabled: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsRuleGroupEnabled, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, profiletypesbitmask: i32, group: core::mem::MaybeUninit, enabled: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwPolicy2_Impl::IsRuleGroupEnabled(this, core::mem::transmute_copy(&profiletypesbitmask), core::mem::transmute(&group)) { @@ -1737,7 +1737,7 @@ impl INetFwPolicy2_Vtbl { let this = (*this).get_impl(); INetFwPolicy2_Impl::put_DefaultOutboundAction(this, core::mem::transmute_copy(&profiletype), core::mem::transmute_copy(&action)).into() } - unsafe extern "system" fn get_IsRuleGroupCurrentlyEnabled, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, group: std::mem::MaybeUninit, enabled: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn get_IsRuleGroupCurrentlyEnabled, Impl: INetFwPolicy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, group: core::mem::MaybeUninit, enabled: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwPolicy2_Impl::get_IsRuleGroupCurrentlyEnabled(this, core::mem::transmute(&group)) { @@ -1802,7 +1802,7 @@ impl windows_core::RuntimeName for INetFwProduct {} #[cfg(feature = "Win32_System_Com")] impl INetFwProduct_Vtbl { pub const fn new, Impl: INetFwProduct_Impl, const OFFSET: isize>() -> INetFwProduct_Vtbl { - unsafe extern "system" fn RuleCategories, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulecategories: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RuleCategories, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulecategories: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwProduct_Impl::RuleCategories(this) { @@ -1813,12 +1813,12 @@ impl INetFwProduct_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRuleCategories, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulecategories: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRuleCategories, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulecategories: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwProduct_Impl::SetRuleCategories(this, core::mem::transmute(&rulecategories)).into() } - unsafe extern "system" fn DisplayName, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwProduct_Impl::DisplayName(this) { @@ -1829,12 +1829,12 @@ impl INetFwProduct_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwProduct_Impl::SetDisplayName(this, core::mem::transmute(&displayname)).into() } - unsafe extern "system" fn PathToSignedProductExe, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathToSignedProductExe, Impl: INetFwProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwProduct_Impl::PathToSignedProductExe(this) { @@ -2148,7 +2148,7 @@ impl INetFwRemoteAdminSettings_Vtbl { let this = (*this).get_impl(); INetFwRemoteAdminSettings_Impl::SetScope(this, core::mem::transmute_copy(&scope)).into() } - unsafe extern "system" fn RemoteAddresses, Impl: INetFwRemoteAdminSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteAddresses, Impl: INetFwRemoteAdminSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRemoteAdminSettings_Impl::RemoteAddresses(this) { @@ -2159,7 +2159,7 @@ impl INetFwRemoteAdminSettings_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwRemoteAdminSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwRemoteAdminSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRemoteAdminSettings_Impl::SetRemoteAddresses(this, core::mem::transmute(&remoteaddrs)).into() @@ -2240,7 +2240,7 @@ impl windows_core::RuntimeName for INetFwRule {} #[cfg(feature = "Win32_System_Com")] impl INetFwRule_Vtbl { pub const fn new, Impl: INetFwRule_Impl, const OFFSET: isize>() -> INetFwRule_Vtbl { - unsafe extern "system" fn Name, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::Name(this) { @@ -2251,12 +2251,12 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn Description, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::Description(this) { @@ -2267,12 +2267,12 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desc: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desc: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetDescription(this, core::mem::transmute(&desc)).into() } - unsafe extern "system" fn ApplicationName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplicationName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::ApplicationName(this) { @@ -2283,12 +2283,12 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetApplicationName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetApplicationName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagefilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetApplicationName(this, core::mem::transmute(&imagefilename)).into() } - unsafe extern "system" fn ServiceName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::ServiceName(this) { @@ -2299,7 +2299,7 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServiceName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServiceName, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetServiceName(this, core::mem::transmute(&servicename)).into() @@ -2320,7 +2320,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); INetFwRule_Impl::SetProtocol(this, core::mem::transmute_copy(&protocol)).into() } - unsafe extern "system" fn LocalPorts, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, portnumbers: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalPorts, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, portnumbers: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::LocalPorts(this) { @@ -2331,12 +2331,12 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalPorts, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, portnumbers: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalPorts, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, portnumbers: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetLocalPorts(this, core::mem::transmute(&portnumbers)).into() } - unsafe extern "system" fn RemotePorts, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, portnumbers: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemotePorts, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, portnumbers: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::RemotePorts(this) { @@ -2347,12 +2347,12 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRemotePorts, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, portnumbers: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRemotePorts, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, portnumbers: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetRemotePorts(this, core::mem::transmute(&portnumbers)).into() } - unsafe extern "system" fn LocalAddresses, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localaddrs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalAddresses, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localaddrs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::LocalAddresses(this) { @@ -2363,12 +2363,12 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalAddresses, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localaddrs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalAddresses, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localaddrs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetLocalAddresses(this, core::mem::transmute(&localaddrs)).into() } - unsafe extern "system" fn RemoteAddresses, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteAddresses, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::RemoteAddresses(this) { @@ -2379,12 +2379,12 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetRemoteAddresses(this, core::mem::transmute(&remoteaddrs)).into() } - unsafe extern "system" fn IcmpTypesAndCodes, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, icmptypesandcodes: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IcmpTypesAndCodes, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, icmptypesandcodes: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::IcmpTypesAndCodes(this) { @@ -2395,7 +2395,7 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetIcmpTypesAndCodes, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, icmptypesandcodes: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetIcmpTypesAndCodes, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, icmptypesandcodes: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetIcmpTypesAndCodes(this, core::mem::transmute(&icmptypesandcodes)).into() @@ -2416,7 +2416,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); INetFwRule_Impl::SetDirection(this, core::mem::transmute_copy(&dir)).into() } - unsafe extern "system" fn Interfaces, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaces: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Interfaces, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaces: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::Interfaces(this) { @@ -2427,12 +2427,12 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInterfaces, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaces: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInterfaces, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfaces: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetInterfaces(this, core::mem::transmute(&interfaces)).into() } - unsafe extern "system" fn InterfaceTypes, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfacetypes: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InterfaceTypes, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfacetypes: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::InterfaceTypes(this) { @@ -2443,7 +2443,7 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInterfaceTypes, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfacetypes: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInterfaceTypes, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interfacetypes: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetInterfaceTypes(this, core::mem::transmute(&interfacetypes)).into() @@ -2464,7 +2464,7 @@ impl INetFwRule_Vtbl { let this = (*this).get_impl(); INetFwRule_Impl::SetEnabled(this, core::mem::transmute_copy(&enabled)).into() } - unsafe extern "system" fn Grouping, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Grouping, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule_Impl::Grouping(this) { @@ -2475,7 +2475,7 @@ impl INetFwRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetGrouping, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGrouping, Impl: INetFwRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule_Impl::SetGrouping(this, core::mem::transmute(&context)).into() @@ -2628,7 +2628,7 @@ impl windows_core::RuntimeName for INetFwRule3 {} #[cfg(feature = "Win32_System_Com")] impl INetFwRule3_Vtbl { pub const fn new, Impl: INetFwRule3_Impl, const OFFSET: isize>() -> INetFwRule3_Vtbl { - unsafe extern "system" fn LocalAppPackageId, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpackageid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalAppPackageId, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpackageid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule3_Impl::LocalAppPackageId(this) { @@ -2639,12 +2639,12 @@ impl INetFwRule3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalAppPackageId, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpackageid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalAppPackageId, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpackageid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule3_Impl::SetLocalAppPackageId(this, core::mem::transmute(&wszpackageid)).into() } - unsafe extern "system" fn LocalUserOwner, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserowner: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalUserOwner, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserowner: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule3_Impl::LocalUserOwner(this) { @@ -2655,12 +2655,12 @@ impl INetFwRule3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalUserOwner, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserowner: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalUserOwner, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserowner: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule3_Impl::SetLocalUserOwner(this, core::mem::transmute(&wszuserowner)).into() } - unsafe extern "system" fn LocalUserAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalUserAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule3_Impl::LocalUserAuthorizedList(this) { @@ -2671,12 +2671,12 @@ impl INetFwRule3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalUserAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalUserAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule3_Impl::SetLocalUserAuthorizedList(this, core::mem::transmute(&wszuserauthlist)).into() } - unsafe extern "system" fn RemoteUserAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteUserAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule3_Impl::RemoteUserAuthorizedList(this) { @@ -2687,12 +2687,12 @@ impl INetFwRule3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRemoteUserAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRemoteUserAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule3_Impl::SetRemoteUserAuthorizedList(this, core::mem::transmute(&wszuserauthlist)).into() } - unsafe extern "system" fn RemoteMachineAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteMachineAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRule3_Impl::RemoteMachineAuthorizedList(this) { @@ -2703,7 +2703,7 @@ impl INetFwRule3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRemoteMachineAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRemoteMachineAuthorizedList, Impl: INetFwRule3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszuserauthlist: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRule3_Impl::SetRemoteMachineAuthorizedList(this, core::mem::transmute(&wszuserauthlist)).into() @@ -2773,12 +2773,12 @@ impl INetFwRules_Vtbl { let this = (*this).get_impl(); INetFwRules_Impl::Add(this, windows_core::from_raw_borrowed(&rule)).into() } - unsafe extern "system" fn Remove, Impl: INetFwRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: INetFwRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwRules_Impl::Remove(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn Item, Impl: INetFwRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, rule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: INetFwRules_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, rule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwRules_Impl::Item(this, core::mem::transmute(&name)) { @@ -2833,7 +2833,7 @@ impl windows_core::RuntimeName for INetFwService {} #[cfg(feature = "Win32_System_Com")] impl INetFwService_Vtbl { pub const fn new, Impl: INetFwService_Impl, const OFFSET: isize>() -> INetFwService_Vtbl { - unsafe extern "system" fn Name, Impl: INetFwService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: INetFwService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwService_Impl::Name(this) { @@ -2898,7 +2898,7 @@ impl INetFwService_Vtbl { let this = (*this).get_impl(); INetFwService_Impl::SetScope(this, core::mem::transmute_copy(&scope)).into() } - unsafe extern "system" fn RemoteAddresses, Impl: INetFwService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteAddresses, Impl: INetFwService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwService_Impl::RemoteAddresses(this) { @@ -2909,7 +2909,7 @@ impl INetFwService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRemoteAddresses, Impl: INetFwService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, remoteaddrs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwService_Impl::SetRemoteAddresses(this, core::mem::transmute(&remoteaddrs)).into() @@ -2972,12 +2972,12 @@ impl windows_core::RuntimeName for INetFwServiceRestriction {} #[cfg(feature = "Win32_System_Com")] impl INetFwServiceRestriction_Vtbl { pub const fn new, Impl: INetFwServiceRestriction_Impl, const OFFSET: isize>() -> INetFwServiceRestriction_Vtbl { - unsafe extern "system" fn RestrictService, Impl: INetFwServiceRestriction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: std::mem::MaybeUninit, appname: std::mem::MaybeUninit, restrictservice: super::super::Foundation::VARIANT_BOOL, servicesidrestricted: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn RestrictService, Impl: INetFwServiceRestriction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: core::mem::MaybeUninit, appname: core::mem::MaybeUninit, restrictservice: super::super::Foundation::VARIANT_BOOL, servicesidrestricted: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetFwServiceRestriction_Impl::RestrictService(this, core::mem::transmute(&servicename), core::mem::transmute(&appname), core::mem::transmute_copy(&restrictservice), core::mem::transmute_copy(&servicesidrestricted)).into() } - unsafe extern "system" fn ServiceRestricted, Impl: INetFwServiceRestriction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: std::mem::MaybeUninit, appname: std::mem::MaybeUninit, servicerestricted: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceRestricted, Impl: INetFwServiceRestriction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: core::mem::MaybeUninit, appname: core::mem::MaybeUninit, servicerestricted: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetFwServiceRestriction_Impl::ServiceRestricted(this, core::mem::transmute(&servicename), core::mem::transmute(&appname)) { @@ -3147,7 +3147,7 @@ impl INetSharingConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddPortMapping, Impl: INetSharingConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ucipprotocol: u8, usexternalport: u16, usinternalport: u16, dwoptions: u32, bstrtargetnameoripaddress: std::mem::MaybeUninit, etargettype: ICS_TARGETTYPE, ppmapping: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddPortMapping, Impl: INetSharingConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ucipprotocol: u8, usexternalport: u16, usinternalport: u16, dwoptions: u32, bstrtargetnameoripaddress: core::mem::MaybeUninit, etargettype: ICS_TARGETTYPE, ppmapping: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetSharingConfiguration_Impl::AddPortMapping(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&ucipprotocol), core::mem::transmute_copy(&usexternalport), core::mem::transmute_copy(&usinternalport), core::mem::transmute_copy(&dwoptions), core::mem::transmute(&bstrtargetnameoripaddress), core::mem::transmute_copy(&etargettype)) { @@ -3425,7 +3425,7 @@ impl windows_core::RuntimeName for INetSharingPortMappingProps {} #[cfg(feature = "Win32_System_Com")] impl INetSharingPortMappingProps_Vtbl { pub const fn new, Impl: INetSharingPortMappingProps_Impl, const OFFSET: isize>() -> INetSharingPortMappingProps_Vtbl { - unsafe extern "system" fn Name, Impl: INetSharingPortMappingProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: INetSharingPortMappingProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::Name(this) { @@ -3480,7 +3480,7 @@ impl INetSharingPortMappingProps_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TargetName, Impl: INetSharingPortMappingProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtargetname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetName, Impl: INetSharingPortMappingProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtargetname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::TargetName(this) { @@ -3491,7 +3491,7 @@ impl INetSharingPortMappingProps_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TargetIPAddress, Impl: INetSharingPortMappingProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtargetipaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetIPAddress, Impl: INetSharingPortMappingProps_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtargetipaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetSharingPortMappingProps_Impl::TargetIPAddress(this) { @@ -3632,7 +3632,7 @@ impl windows_core::RuntimeName for IStaticPortMapping {} #[cfg(feature = "Win32_System_Com")] impl IStaticPortMapping_Vtbl { pub const fn new, Impl: IStaticPortMapping_Impl, const OFFSET: isize>() -> IStaticPortMapping_Vtbl { - unsafe extern "system" fn ExternalIPAddress, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExternalIPAddress, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStaticPortMapping_Impl::ExternalIPAddress(this) { @@ -3665,7 +3665,7 @@ impl IStaticPortMapping_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Protocol, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Protocol, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStaticPortMapping_Impl::Protocol(this) { @@ -3676,7 +3676,7 @@ impl IStaticPortMapping_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InternalClient, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InternalClient, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStaticPortMapping_Impl::InternalClient(this) { @@ -3698,7 +3698,7 @@ impl IStaticPortMapping_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStaticPortMapping_Impl::Description(this) { @@ -3709,7 +3709,7 @@ impl IStaticPortMapping_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EditInternalClient, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternalclient: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EditInternalClient, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternalclient: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStaticPortMapping_Impl::EditInternalClient(this, core::mem::transmute(&bstrinternalclient)).into() @@ -3719,7 +3719,7 @@ impl IStaticPortMapping_Vtbl { let this = (*this).get_impl(); IStaticPortMapping_Impl::Enable(this, core::mem::transmute_copy(&vb)).into() } - unsafe extern "system" fn EditDescription, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EditDescription, Impl: IStaticPortMapping_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStaticPortMapping_Impl::EditDescription(this, core::mem::transmute(&bstrdescription)).into() @@ -3772,7 +3772,7 @@ impl IStaticPortMappingCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IStaticPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lexternalport: i32, bstrprotocol: std::mem::MaybeUninit, ppspm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IStaticPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lexternalport: i32, bstrprotocol: core::mem::MaybeUninit, ppspm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStaticPortMappingCollection_Impl::get_Item(this, core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol)) { @@ -3794,12 +3794,12 @@ impl IStaticPortMappingCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IStaticPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lexternalport: i32, bstrprotocol: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IStaticPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lexternalport: i32, bstrprotocol: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStaticPortMappingCollection_Impl::Remove(this, core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol)).into() } - unsafe extern "system" fn Add, Impl: IStaticPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lexternalport: i32, bstrprotocol: std::mem::MaybeUninit, linternalport: i32, bstrinternalclient: std::mem::MaybeUninit, benabled: super::super::Foundation::VARIANT_BOOL, bstrdescription: std::mem::MaybeUninit, ppspm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IStaticPortMappingCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lexternalport: i32, bstrprotocol: core::mem::MaybeUninit, linternalport: i32, bstrinternalclient: core::mem::MaybeUninit, benabled: super::super::Foundation::VARIANT_BOOL, bstrdescription: core::mem::MaybeUninit, ppspm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStaticPortMappingCollection_Impl::Add(this, core::mem::transmute_copy(&lexternalport), core::mem::transmute(&bstrprotocol), core::mem::transmute_copy(&linternalport), core::mem::transmute(&bstrinternalclient), core::mem::transmute_copy(&benabled), core::mem::transmute(&bstrdescription)) { 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 80dd943b24..7b84805eab 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -29,7 +29,7 @@ pub unsafe fn NetworkIsolationEnumAppContainers(flags: u32, pdwnumpublicappcs: * #[inline] pub unsafe fn NetworkIsolationEnumerateAppContainerRules() -> windows_core::Result { windows_targets::link!("firewallapi.dll" "system" fn NetworkIsolationEnumerateAppContainerRules(newenum : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NetworkIsolationEnumerateAppContainerRules(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Security")] @@ -99,7 +99,7 @@ windows_core::imp::define_interface!(IDynamicPortMapping, IDynamicPortMapping_Vt impl std::ops::Deref for IDynamicPortMapping { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -107,43 +107,43 @@ windows_core::imp::interface_hierarchy!(IDynamicPortMapping, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IDynamicPortMapping { pub unsafe fn ExternalIPAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExternalIPAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoteHost(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteHost)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExternalPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExternalPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Protocol(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Protocol)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InternalPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InternalPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InternalClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InternalClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LeaseDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LeaseDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RenewLease(&self, lleasedurationdesired: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RenewLease)(windows_core::Interface::as_raw(self), lleasedurationdesired, &mut result__).map(|| result__) } pub unsafe fn EditInternalClient(&self, bstrinternalclient: P0) -> windows_core::Result<()> @@ -172,19 +172,19 @@ impl IDynamicPortMapping { #[repr(C)] pub struct IDynamicPortMapping_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ExternalIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExternalIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ExternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub InternalClient: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InternalClient: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LeaseDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RenewLease: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, - pub EditInternalClient: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EditInternalClient: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub EditDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EditDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub EditInternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -193,7 +193,7 @@ windows_core::imp::define_interface!(IDynamicPortMappingCollection, IDynamicPort impl std::ops::Deref for IDynamicPortMappingCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -201,7 +201,7 @@ windows_core::imp::interface_hierarchy!(IDynamicPortMappingCollection, windows_c #[cfg(feature = "Win32_System_Com")] impl IDynamicPortMappingCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -210,11 +210,11 @@ impl IDynamicPortMappingCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), bstrremotehost.param().abi(), lexternalport, bstrprotocol.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Remove(&self, bstrremotehost: P0, lexternalport: i32, bstrprotocol: P1) -> windows_core::Result<()> @@ -233,7 +233,7 @@ impl IDynamicPortMappingCollection { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), bstrremotehost.param().abi(), lexternalport, bstrprotocol.param().abi(), linternalport, bstrinternalclient.param().abi(), benabled.param().abi(), bstrdescription.param().abi(), lleaseduration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -243,13 +243,13 @@ pub struct IDynamicPortMappingCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, } @@ -257,7 +257,7 @@ windows_core::imp::define_interface!(IEnumNetConnection, IEnumNetConnection_Vtbl impl std::ops::Deref for IEnumNetConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumNetConnection, windows_core::IUnknown); @@ -272,7 +272,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -288,7 +288,7 @@ windows_core::imp::define_interface!(IEnumNetSharingEveryConnection, IEnumNetSha impl std::ops::Deref for IEnumNetSharingEveryConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumNetSharingEveryConnection, windows_core::IUnknown); @@ -303,14 +303,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEnumNetSharingEveryConnection_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -319,7 +319,7 @@ windows_core::imp::define_interface!(IEnumNetSharingPortMapping, IEnumNetSharing impl std::ops::Deref for IEnumNetSharingPortMapping { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumNetSharingPortMapping, windows_core::IUnknown); @@ -334,14 +334,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEnumNetSharingPortMapping_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -350,7 +350,7 @@ windows_core::imp::define_interface!(IEnumNetSharingPrivateConnection, IEnumNetS impl std::ops::Deref for IEnumNetSharingPrivateConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumNetSharingPrivateConnection, windows_core::IUnknown); @@ -365,14 +365,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEnumNetSharingPrivateConnection_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -381,7 +381,7 @@ windows_core::imp::define_interface!(IEnumNetSharingPublicConnection, IEnumNetSh impl std::ops::Deref for IEnumNetSharingPublicConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumNetSharingPublicConnection, windows_core::IUnknown); @@ -396,14 +396,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEnumNetSharingPublicConnection_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -414,7 +414,7 @@ windows_core::imp::define_interface!(INATEventManager, INATEventManager_Vtbl, 0x impl std::ops::Deref for INATEventManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -445,7 +445,7 @@ windows_core::imp::define_interface!(INATExternalIPAddressCallback, INATExternal impl std::ops::Deref for INATExternalIPAddressCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INATExternalIPAddressCallback, windows_core::IUnknown); @@ -460,13 +460,13 @@ impl INATExternalIPAddressCallback { #[repr(C)] pub struct INATExternalIPAddressCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub NewExternalIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NewExternalIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INATNumberOfEntriesCallback, INATNumberOfEntriesCallback_Vtbl, 0xc83a0a74_91ee_41b6_b67a_67e0f00bbd78); impl std::ops::Deref for INATNumberOfEntriesCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INATNumberOfEntriesCallback, windows_core::IUnknown); @@ -484,7 +484,7 @@ windows_core::imp::define_interface!(INetConnection, INetConnection_Vtbl, 0xc089 impl std::ops::Deref for INetConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetConnection, windows_core::IUnknown); @@ -502,15 +502,15 @@ impl INetConnection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Duplicate)(windows_core::Interface::as_raw(self), pszwduplicatename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProperties(&self) -> windows_core::Result<*mut NETCON_PROPERTIES> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUiObjectClassId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUiObjectClassId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Rename(&self, pszwnewname: P0) -> windows_core::Result<()> @@ -535,7 +535,7 @@ windows_core::imp::define_interface!(INetConnectionConnectUi, INetConnectionConn impl std::ops::Deref for INetConnectionConnectUi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetConnectionConnectUi, windows_core::IUnknown); @@ -570,13 +570,13 @@ windows_core::imp::define_interface!(INetConnectionManager, INetConnectionManage impl std::ops::Deref for INetConnectionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetConnectionManager, windows_core::IUnknown); impl INetConnectionManager { pub unsafe fn EnumConnections(&self, flags: NETCONMGR_ENUM_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumConnections)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -591,7 +591,7 @@ windows_core::imp::define_interface!(INetConnectionProps, INetConnectionProps_Vt impl std::ops::Deref for INetConnectionProps { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -599,27 +599,27 @@ windows_core::imp::interface_hierarchy!(INetConnectionProps, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl INetConnectionProps { pub unsafe fn Guid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Guid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeviceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Characteristics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Characteristics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -627,9 +627,9 @@ impl INetConnectionProps { #[repr(C)] pub struct INetConnectionProps_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NETCON_STATUS) -> windows_core::HRESULT, pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NETCON_MEDIATYPE) -> windows_core::HRESULT, pub Characteristics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -640,7 +640,7 @@ windows_core::imp::define_interface!(INetFwAuthorizedApplication, INetFwAuthoriz impl std::ops::Deref for INetFwAuthorizedApplication { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -648,7 +648,7 @@ windows_core::imp::interface_hierarchy!(INetFwAuthorizedApplication, windows_cor #[cfg(feature = "Win32_System_Com")] impl INetFwAuthorizedApplication { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -658,7 +658,7 @@ impl INetFwAuthorizedApplication { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn ProcessImageFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProcessImageFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProcessImageFileName(&self, imagefilename: P0) -> windows_core::Result<()> @@ -668,21 +668,21 @@ impl INetFwAuthorizedApplication { (windows_core::Interface::vtable(self).SetProcessImageFileName)(windows_core::Interface::as_raw(self), imagefilename.param().abi()).ok() } pub unsafe fn IpVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IpVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scope)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScope(&self, scope: NET_FW_SCOPE) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetScope)(windows_core::Interface::as_raw(self), scope).ok() } pub unsafe fn RemoteAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRemoteAddresses(&self, remoteaddrs: P0) -> windows_core::Result<()> @@ -692,7 +692,7 @@ impl INetFwAuthorizedApplication { (windows_core::Interface::vtable(self).SetRemoteAddresses)(windows_core::Interface::as_raw(self), remoteaddrs.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -706,16 +706,16 @@ impl INetFwAuthorizedApplication { #[repr(C)] pub struct INetFwAuthorizedApplication_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProcessImageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProcessImageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProcessImageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProcessImageFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IpVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_IP_VERSION) -> windows_core::HRESULT, pub SetIpVersion: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_IP_VERSION) -> windows_core::HRESULT, pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_SCOPE) -> windows_core::HRESULT, pub SetScope: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_SCOPE) -> windows_core::HRESULT, - pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -725,7 +725,7 @@ windows_core::imp::define_interface!(INetFwAuthorizedApplications, INetFwAuthori impl std::ops::Deref for INetFwAuthorizedApplications { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -733,7 +733,7 @@ windows_core::imp::interface_hierarchy!(INetFwAuthorizedApplications, windows_co #[cfg(feature = "Win32_System_Com")] impl INetFwAuthorizedApplications { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -754,11 +754,11 @@ impl INetFwAuthorizedApplications { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), imagefilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -771,9 +771,9 @@ pub struct INetFwAuthorizedApplications_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -784,7 +784,7 @@ windows_core::imp::define_interface!(INetFwIcmpSettings, INetFwIcmpSettings_Vtbl impl std::ops::Deref for INetFwIcmpSettings { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -792,7 +792,7 @@ windows_core::imp::interface_hierarchy!(INetFwIcmpSettings, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl INetFwIcmpSettings { pub unsafe fn AllowOutboundDestinationUnreachable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowOutboundDestinationUnreachable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowOutboundDestinationUnreachable(&self, allow: P0) -> windows_core::Result<()> @@ -802,7 +802,7 @@ impl INetFwIcmpSettings { (windows_core::Interface::vtable(self).SetAllowOutboundDestinationUnreachable)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowRedirect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowRedirect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowRedirect(&self, allow: P0) -> windows_core::Result<()> @@ -812,7 +812,7 @@ impl INetFwIcmpSettings { (windows_core::Interface::vtable(self).SetAllowRedirect)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowInboundEchoRequest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowInboundEchoRequest)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowInboundEchoRequest(&self, allow: P0) -> windows_core::Result<()> @@ -822,7 +822,7 @@ impl INetFwIcmpSettings { (windows_core::Interface::vtable(self).SetAllowInboundEchoRequest)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowOutboundTimeExceeded(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowOutboundTimeExceeded)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowOutboundTimeExceeded(&self, allow: P0) -> windows_core::Result<()> @@ -832,7 +832,7 @@ impl INetFwIcmpSettings { (windows_core::Interface::vtable(self).SetAllowOutboundTimeExceeded)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowOutboundParameterProblem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowOutboundParameterProblem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowOutboundParameterProblem(&self, allow: P0) -> windows_core::Result<()> @@ -842,7 +842,7 @@ impl INetFwIcmpSettings { (windows_core::Interface::vtable(self).SetAllowOutboundParameterProblem)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowOutboundSourceQuench(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowOutboundSourceQuench)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowOutboundSourceQuench(&self, allow: P0) -> windows_core::Result<()> @@ -852,7 +852,7 @@ impl INetFwIcmpSettings { (windows_core::Interface::vtable(self).SetAllowOutboundSourceQuench)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowInboundRouterRequest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowInboundRouterRequest)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowInboundRouterRequest(&self, allow: P0) -> windows_core::Result<()> @@ -862,7 +862,7 @@ impl INetFwIcmpSettings { (windows_core::Interface::vtable(self).SetAllowInboundRouterRequest)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowInboundTimestampRequest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowInboundTimestampRequest)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowInboundTimestampRequest(&self, allow: P0) -> windows_core::Result<()> @@ -872,7 +872,7 @@ impl INetFwIcmpSettings { (windows_core::Interface::vtable(self).SetAllowInboundTimestampRequest)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowInboundMaskRequest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowInboundMaskRequest)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowInboundMaskRequest(&self, allow: P0) -> windows_core::Result<()> @@ -882,7 +882,7 @@ impl INetFwIcmpSettings { (windows_core::Interface::vtable(self).SetAllowInboundMaskRequest)(windows_core::Interface::as_raw(self), allow.param().abi()).ok() } pub unsafe fn AllowOutboundPacketTooBig(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowOutboundPacketTooBig)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowOutboundPacketTooBig(&self, allow: P0) -> windows_core::Result<()> @@ -923,7 +923,7 @@ windows_core::imp::define_interface!(INetFwMgr, INetFwMgr_Vtbl, 0xf7898af5_cac4_ impl std::ops::Deref for INetFwMgr { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -932,11 +932,11 @@ windows_core::imp::interface_hierarchy!(INetFwMgr, windows_core::IUnknown, super impl INetFwMgr { #[cfg(feature = "Win32_System_Com")] pub unsafe fn LocalPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalPolicy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentProfileType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentProfileType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RestoreDefaults(&self) -> windows_core::Result<()> { @@ -966,8 +966,8 @@ pub struct INetFwMgr_Vtbl { LocalPolicy: usize, pub CurrentProfileType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_PROFILE_TYPE) -> windows_core::HRESULT, pub RestoreDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub IsPortAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, NET_FW_IP_VERSION, i32, std::mem::MaybeUninit, NET_FW_IP_PROTOCOL, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsIcmpTypeAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_IP_VERSION, std::mem::MaybeUninit, u8, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsPortAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, NET_FW_IP_VERSION, i32, core::mem::MaybeUninit, NET_FW_IP_PROTOCOL, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsIcmpTypeAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_IP_VERSION, core::mem::MaybeUninit, u8, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwOpenPort, INetFwOpenPort_Vtbl, 0xe0483ba0_47ff_4d9c_a6d6_7741d0b195f7); @@ -975,7 +975,7 @@ windows_core::imp::define_interface!(INetFwOpenPort, INetFwOpenPort_Vtbl, 0xe048 impl std::ops::Deref for INetFwOpenPort { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -983,7 +983,7 @@ windows_core::imp::interface_hierarchy!(INetFwOpenPort, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl INetFwOpenPort { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -993,35 +993,35 @@ impl INetFwOpenPort { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn IpVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IpVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Protocol)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Port)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scope)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScope(&self, scope: NET_FW_SCOPE) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetScope)(windows_core::Interface::as_raw(self), scope).ok() } pub unsafe fn RemoteAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRemoteAddresses(&self, remoteaddrs: P0) -> windows_core::Result<()> @@ -1031,7 +1031,7 @@ impl INetFwOpenPort { (windows_core::Interface::vtable(self).SetRemoteAddresses)(windows_core::Interface::as_raw(self), remoteaddrs.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -1041,7 +1041,7 @@ impl INetFwOpenPort { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn BuiltIn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BuiltIn)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1049,8 +1049,8 @@ impl INetFwOpenPort { #[repr(C)] pub struct INetFwOpenPort_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IpVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_IP_VERSION) -> windows_core::HRESULT, pub SetIpVersion: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_IP_VERSION) -> windows_core::HRESULT, pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_IP_PROTOCOL) -> windows_core::HRESULT, @@ -1059,8 +1059,8 @@ pub struct INetFwOpenPort_Vtbl { pub SetPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_SCOPE) -> windows_core::HRESULT, pub SetScope: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_SCOPE) -> windows_core::HRESULT, - pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub BuiltIn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1071,7 +1071,7 @@ windows_core::imp::define_interface!(INetFwOpenPorts, INetFwOpenPorts_Vtbl, 0xc0 impl std::ops::Deref for INetFwOpenPorts { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1079,7 +1079,7 @@ windows_core::imp::interface_hierarchy!(INetFwOpenPorts, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl INetFwOpenPorts { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1094,11 +1094,11 @@ impl INetFwOpenPorts { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, portnumber: i32, ipprotocol: NET_FW_IP_PROTOCOL) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), portnumber, ipprotocol, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1124,7 +1124,7 @@ windows_core::imp::define_interface!(INetFwPolicy, INetFwPolicy_Vtbl, 0xd46d2478 impl std::ops::Deref for INetFwPolicy { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1133,12 +1133,12 @@ windows_core::imp::interface_hierarchy!(INetFwPolicy, windows_core::IUnknown, su impl INetFwPolicy { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentProfile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentProfile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProfileByType(&self, profiletype: NET_FW_PROFILE_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProfileByType)(windows_core::Interface::as_raw(self), profiletype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1161,7 +1161,7 @@ windows_core::imp::define_interface!(INetFwPolicy2, INetFwPolicy2_Vtbl, 0x983250 impl std::ops::Deref for INetFwPolicy2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1169,11 +1169,11 @@ windows_core::imp::interface_hierarchy!(INetFwPolicy2, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl INetFwPolicy2 { pub unsafe fn CurrentProfileTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentProfileTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_FirewallEnabled(&self, profiletype: NET_FW_PROFILE_TYPE2) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_FirewallEnabled)(windows_core::Interface::as_raw(self), profiletype, &mut result__).map(|| result__) } pub unsafe fn put_FirewallEnabled(&self, profiletype: NET_FW_PROFILE_TYPE2, enabled: P0) -> windows_core::Result<()> @@ -1183,7 +1183,7 @@ impl INetFwPolicy2 { (windows_core::Interface::vtable(self).put_FirewallEnabled)(windows_core::Interface::as_raw(self), profiletype, enabled.param().abi()).ok() } pub unsafe fn get_ExcludedInterfaces(&self, profiletype: NET_FW_PROFILE_TYPE2) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ExcludedInterfaces)(windows_core::Interface::as_raw(self), profiletype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_ExcludedInterfaces(&self, profiletype: NET_FW_PROFILE_TYPE2, interfaces: P0) -> windows_core::Result<()> @@ -1193,7 +1193,7 @@ impl INetFwPolicy2 { (windows_core::Interface::vtable(self).put_ExcludedInterfaces)(windows_core::Interface::as_raw(self), profiletype, interfaces.param().abi()).ok() } pub unsafe fn get_BlockAllInboundTraffic(&self, profiletype: NET_FW_PROFILE_TYPE2) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_BlockAllInboundTraffic)(windows_core::Interface::as_raw(self), profiletype, &mut result__).map(|| result__) } pub unsafe fn put_BlockAllInboundTraffic(&self, profiletype: NET_FW_PROFILE_TYPE2, block: P0) -> windows_core::Result<()> @@ -1203,7 +1203,7 @@ impl INetFwPolicy2 { (windows_core::Interface::vtable(self).put_BlockAllInboundTraffic)(windows_core::Interface::as_raw(self), profiletype, block.param().abi()).ok() } pub unsafe fn get_NotificationsDisabled(&self, profiletype: NET_FW_PROFILE_TYPE2) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_NotificationsDisabled)(windows_core::Interface::as_raw(self), profiletype, &mut result__).map(|| result__) } pub unsafe fn put_NotificationsDisabled(&self, profiletype: NET_FW_PROFILE_TYPE2, disabled: P0) -> windows_core::Result<()> @@ -1213,7 +1213,7 @@ impl INetFwPolicy2 { (windows_core::Interface::vtable(self).put_NotificationsDisabled)(windows_core::Interface::as_raw(self), profiletype, disabled.param().abi()).ok() } pub unsafe fn get_UnicastResponsesToMulticastBroadcastDisabled(&self, profiletype: NET_FW_PROFILE_TYPE2) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_UnicastResponsesToMulticastBroadcastDisabled)(windows_core::Interface::as_raw(self), profiletype, &mut result__).map(|| result__) } pub unsafe fn put_UnicastResponsesToMulticastBroadcastDisabled(&self, profiletype: NET_FW_PROFILE_TYPE2, disabled: P0) -> windows_core::Result<()> @@ -1224,12 +1224,12 @@ impl INetFwPolicy2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rules)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ServiceRestriction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceRestriction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnableRuleGroup(&self, profiletypesbitmask: i32, group: P0, enable: P1) -> windows_core::Result<()> @@ -1243,21 +1243,21 @@ impl INetFwPolicy2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRuleGroupEnabled)(windows_core::Interface::as_raw(self), profiletypesbitmask, group.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_DefaultInboundAction)(windows_core::Interface::as_raw(self), profiletype, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_DefaultOutboundAction)(windows_core::Interface::as_raw(self), profiletype, &mut result__).map(|| result__) } pub unsafe fn put_DefaultOutboundAction(&self, profiletype: NET_FW_PROFILE_TYPE2, action: NET_FW_ACTION) -> windows_core::Result<()> { @@ -1267,11 +1267,11 @@ impl INetFwPolicy2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_IsRuleGroupCurrentlyEnabled)(windows_core::Interface::as_raw(self), group.param().abi(), &mut result__).map(|| result__) } pub unsafe fn LocalPolicyModifyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalPolicyModifyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1282,8 +1282,8 @@ pub struct INetFwPolicy2_Vtbl { pub CurrentProfileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub get_FirewallEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub put_FirewallEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub get_ExcludedInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_ExcludedInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ExcludedInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_ExcludedInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, core::mem::MaybeUninit) -> windows_core::HRESULT, pub get_BlockAllInboundTraffic: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub put_BlockAllInboundTraffic: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub get_NotificationsDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1298,14 +1298,14 @@ pub struct INetFwPolicy2_Vtbl { pub ServiceRestriction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ServiceRestriction: usize, - pub EnableRuleGroup: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub IsRuleGroupEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub EnableRuleGroup: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsRuleGroupEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub RestoreLocalFirewallDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub get_DefaultInboundAction: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut NET_FW_ACTION) -> windows_core::HRESULT, pub put_DefaultInboundAction: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, NET_FW_ACTION) -> windows_core::HRESULT, pub get_DefaultOutboundAction: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, *mut NET_FW_ACTION) -> windows_core::HRESULT, pub put_DefaultOutboundAction: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_PROFILE_TYPE2, NET_FW_ACTION) -> windows_core::HRESULT, - pub get_IsRuleGroupCurrentlyEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub get_IsRuleGroupCurrentlyEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub LocalPolicyModifyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_MODIFY_STATE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -1314,7 +1314,7 @@ windows_core::imp::define_interface!(INetFwProduct, INetFwProduct_Vtbl, 0x718816 impl std::ops::Deref for INetFwProduct { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1322,7 +1322,7 @@ windows_core::imp::interface_hierarchy!(INetFwProduct, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl INetFwProduct { pub unsafe fn RuleCategories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RuleCategories)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRuleCategories(&self, rulecategories: P0) -> windows_core::Result<()> @@ -1332,7 +1332,7 @@ impl INetFwProduct { (windows_core::Interface::vtable(self).SetRuleCategories)(windows_core::Interface::as_raw(self), rulecategories.param().abi()).ok() } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDisplayName(&self, displayname: P0) -> windows_core::Result<()> @@ -1342,7 +1342,7 @@ impl INetFwProduct { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), displayname.param().abi()).ok() } pub unsafe fn PathToSignedProductExe(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathToSignedProductExe)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1350,11 +1350,11 @@ impl INetFwProduct { #[repr(C)] pub struct INetFwProduct_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub RuleCategories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRuleCategories: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PathToSignedProductExe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RuleCategories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRuleCategories: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathToSignedProductExe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwProducts, INetFwProducts_Vtbl, 0x39eb36e0_2097_40bd_8af2_63a13b525362); @@ -1362,7 +1362,7 @@ windows_core::imp::define_interface!(INetFwProducts, INetFwProducts_Vtbl, 0x39eb impl std::ops::Deref for INetFwProducts { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1370,7 +1370,7 @@ windows_core::imp::interface_hierarchy!(INetFwProducts, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl INetFwProducts { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1378,16 +1378,16 @@ impl INetFwProducts { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Register)(windows_core::Interface::as_raw(self), product.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1412,7 +1412,7 @@ windows_core::imp::define_interface!(INetFwProfile, INetFwProfile_Vtbl, 0x174a0d impl std::ops::Deref for INetFwProfile { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1420,11 +1420,11 @@ windows_core::imp::interface_hierarchy!(INetFwProfile, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl INetFwProfile { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FirewallEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirewallEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFirewallEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -1434,7 +1434,7 @@ impl INetFwProfile { (windows_core::Interface::vtable(self).SetFirewallEnabled)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn ExceptionsNotAllowed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExceptionsNotAllowed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExceptionsNotAllowed(&self, notallowed: P0) -> windows_core::Result<()> @@ -1444,7 +1444,7 @@ impl INetFwProfile { (windows_core::Interface::vtable(self).SetExceptionsNotAllowed)(windows_core::Interface::as_raw(self), notallowed.param().abi()).ok() } pub unsafe fn NotificationsDisabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NotificationsDisabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotificationsDisabled(&self, disabled: P0) -> windows_core::Result<()> @@ -1454,7 +1454,7 @@ impl INetFwProfile { (windows_core::Interface::vtable(self).SetNotificationsDisabled)(windows_core::Interface::as_raw(self), disabled.param().abi()).ok() } pub unsafe fn UnicastResponsesToMulticastBroadcastDisabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UnicastResponsesToMulticastBroadcastDisabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUnicastResponsesToMulticastBroadcastDisabled(&self, disabled: P0) -> windows_core::Result<()> @@ -1465,27 +1465,27 @@ impl INetFwProfile { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RemoteAdminSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteAdminSettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IcmpSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IcmpSettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GloballyOpenPorts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GloballyOpenPorts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Services(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Services)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AuthorizedApplications(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthorizedApplications)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1529,7 +1529,7 @@ windows_core::imp::define_interface!(INetFwRemoteAdminSettings, INetFwRemoteAdmi impl std::ops::Deref for INetFwRemoteAdminSettings { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1537,21 +1537,21 @@ windows_core::imp::interface_hierarchy!(INetFwRemoteAdminSettings, windows_core: #[cfg(feature = "Win32_System_Com")] impl INetFwRemoteAdminSettings { pub unsafe fn IpVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IpVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scope)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScope(&self, scope: NET_FW_SCOPE) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetScope)(windows_core::Interface::as_raw(self), scope).ok() } pub unsafe fn RemoteAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRemoteAddresses(&self, remoteaddrs: P0) -> windows_core::Result<()> @@ -1561,7 +1561,7 @@ impl INetFwRemoteAdminSettings { (windows_core::Interface::vtable(self).SetRemoteAddresses)(windows_core::Interface::as_raw(self), remoteaddrs.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -1579,8 +1579,8 @@ pub struct INetFwRemoteAdminSettings_Vtbl { pub SetIpVersion: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_IP_VERSION) -> windows_core::HRESULT, pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_SCOPE) -> windows_core::HRESULT, pub SetScope: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_SCOPE) -> windows_core::HRESULT, - pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -1590,7 +1590,7 @@ windows_core::imp::define_interface!(INetFwRule, INetFwRule_Vtbl, 0xaf230d27_bab impl std::ops::Deref for INetFwRule { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1598,7 +1598,7 @@ windows_core::imp::interface_hierarchy!(INetFwRule, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl INetFwRule { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -1608,7 +1608,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, desc: P0) -> windows_core::Result<()> @@ -1618,7 +1618,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), desc.param().abi()).ok() } pub unsafe fn ApplicationName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetApplicationName(&self, imagefilename: P0) -> windows_core::Result<()> @@ -1628,7 +1628,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetApplicationName)(windows_core::Interface::as_raw(self), imagefilename.param().abi()).ok() } pub unsafe fn ServiceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServiceName(&self, servicename: P0) -> windows_core::Result<()> @@ -1638,14 +1638,14 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetServiceName)(windows_core::Interface::as_raw(self), servicename.param().abi()).ok() } pub unsafe fn Protocol(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Protocol)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProtocol(&self, protocol: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetProtocol)(windows_core::Interface::as_raw(self), protocol).ok() } pub unsafe fn LocalPorts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalPorts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalPorts(&self, portnumbers: P0) -> windows_core::Result<()> @@ -1655,7 +1655,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetLocalPorts)(windows_core::Interface::as_raw(self), portnumbers.param().abi()).ok() } pub unsafe fn RemotePorts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemotePorts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRemotePorts(&self, portnumbers: P0) -> windows_core::Result<()> @@ -1665,7 +1665,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetRemotePorts)(windows_core::Interface::as_raw(self), portnumbers.param().abi()).ok() } pub unsafe fn LocalAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalAddresses(&self, localaddrs: P0) -> windows_core::Result<()> @@ -1675,7 +1675,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetLocalAddresses)(windows_core::Interface::as_raw(self), localaddrs.param().abi()).ok() } pub unsafe fn RemoteAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRemoteAddresses(&self, remoteaddrs: P0) -> windows_core::Result<()> @@ -1685,7 +1685,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetRemoteAddresses)(windows_core::Interface::as_raw(self), remoteaddrs.param().abi()).ok() } pub unsafe fn IcmpTypesAndCodes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IcmpTypesAndCodes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetIcmpTypesAndCodes(&self, icmptypesandcodes: P0) -> windows_core::Result<()> @@ -1695,14 +1695,14 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetIcmpTypesAndCodes)(windows_core::Interface::as_raw(self), icmptypesandcodes.param().abi()).ok() } pub unsafe fn Direction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Direction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDirection(&self, dir: NET_FW_RULE_DIRECTION) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetDirection)(windows_core::Interface::as_raw(self), dir).ok() } pub unsafe fn Interfaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Interfaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInterfaces(&self, interfaces: P0) -> windows_core::Result<()> @@ -1712,7 +1712,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetInterfaces)(windows_core::Interface::as_raw(self), interfaces.param().abi()).ok() } pub unsafe fn InterfaceTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InterfaceTypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInterfaceTypes(&self, interfacetypes: P0) -> windows_core::Result<()> @@ -1722,7 +1722,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetInterfaceTypes)(windows_core::Interface::as_raw(self), interfacetypes.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -1732,7 +1732,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn Grouping(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Grouping)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetGrouping(&self, context: P0) -> windows_core::Result<()> @@ -1742,14 +1742,14 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetGrouping)(windows_core::Interface::as_raw(self), context.param().abi()).ok() } pub unsafe fn Profiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EdgeTraversal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEdgeTraversal(&self, enabled: P0) -> windows_core::Result<()> @@ -1759,7 +1759,7 @@ impl INetFwRule { (windows_core::Interface::vtable(self).SetEdgeTraversal)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn Action(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Action)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAction(&self, action: NET_FW_ACTION) -> windows_core::Result<()> { @@ -1770,36 +1770,36 @@ impl INetFwRule { #[repr(C)] pub struct INetFwRule_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub LocalPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalPorts: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemotePorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemotePorts: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IcmpTypesAndCodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIcmpTypesAndCodes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalPorts: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemotePorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemotePorts: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IcmpTypesAndCodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIcmpTypesAndCodes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Direction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_RULE_DIRECTION) -> windows_core::HRESULT, pub SetDirection: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_RULE_DIRECTION) -> windows_core::HRESULT, - pub Interfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InterfaceTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInterfaceTypes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Interfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InterfaceTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInterfaceTypes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Grouping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGrouping: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Grouping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGrouping: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Profiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EdgeTraversal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1813,7 +1813,7 @@ windows_core::imp::define_interface!(INetFwRule2, INetFwRule2_Vtbl, 0x9c27c8da_1 impl std::ops::Deref for INetFwRule2 { type Target = INetFwRule; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1821,7 +1821,7 @@ windows_core::imp::interface_hierarchy!(INetFwRule2, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl INetFwRule2 { pub unsafe fn EdgeTraversalOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EdgeTraversalOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEdgeTraversalOptions(&self, loptions: i32) -> windows_core::Result<()> { @@ -1841,7 +1841,7 @@ windows_core::imp::define_interface!(INetFwRule3, INetFwRule3_Vtbl, 0xb21563ff_d impl std::ops::Deref for INetFwRule3 { type Target = INetFwRule2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1849,7 +1849,7 @@ windows_core::imp::interface_hierarchy!(INetFwRule3, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl INetFwRule3 { pub unsafe fn LocalAppPackageId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalAppPackageId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalAppPackageId(&self, wszpackageid: P0) -> windows_core::Result<()> @@ -1859,7 +1859,7 @@ impl INetFwRule3 { (windows_core::Interface::vtable(self).SetLocalAppPackageId)(windows_core::Interface::as_raw(self), wszpackageid.param().abi()).ok() } pub unsafe fn LocalUserOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalUserOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalUserOwner(&self, wszuserowner: P0) -> windows_core::Result<()> @@ -1869,7 +1869,7 @@ impl INetFwRule3 { (windows_core::Interface::vtable(self).SetLocalUserOwner)(windows_core::Interface::as_raw(self), wszuserowner.param().abi()).ok() } pub unsafe fn LocalUserAuthorizedList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalUserAuthorizedList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalUserAuthorizedList(&self, wszuserauthlist: P0) -> windows_core::Result<()> @@ -1879,7 +1879,7 @@ impl INetFwRule3 { (windows_core::Interface::vtable(self).SetLocalUserAuthorizedList)(windows_core::Interface::as_raw(self), wszuserauthlist.param().abi()).ok() } pub unsafe fn RemoteUserAuthorizedList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteUserAuthorizedList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRemoteUserAuthorizedList(&self, wszuserauthlist: P0) -> windows_core::Result<()> @@ -1889,7 +1889,7 @@ impl INetFwRule3 { (windows_core::Interface::vtable(self).SetRemoteUserAuthorizedList)(windows_core::Interface::as_raw(self), wszuserauthlist.param().abi()).ok() } pub unsafe fn RemoteMachineAuthorizedList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteMachineAuthorizedList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRemoteMachineAuthorizedList(&self, wszuserauthlist: P0) -> windows_core::Result<()> @@ -1899,7 +1899,7 @@ impl INetFwRule3 { (windows_core::Interface::vtable(self).SetRemoteMachineAuthorizedList)(windows_core::Interface::as_raw(self), wszuserauthlist.param().abi()).ok() } pub unsafe fn SecureFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SecureFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSecureFlags(&self, loptions: i32) -> windows_core::Result<()> { @@ -1910,16 +1910,16 @@ impl INetFwRule3 { #[repr(C)] pub struct INetFwRule3_Vtbl { pub base__: INetFwRule2_Vtbl, - pub LocalAppPackageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalAppPackageId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalUserOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalUserOwner: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalUserAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalUserAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteUserAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteUserAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoteMachineAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteMachineAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalAppPackageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalAppPackageId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalUserOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalUserOwner: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalUserAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalUserAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteUserAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteUserAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteMachineAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteMachineAuthorizedList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SecureFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSecureFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -1929,7 +1929,7 @@ windows_core::imp::define_interface!(INetFwRules, INetFwRules_Vtbl, 0x9c4c6277_5 impl std::ops::Deref for INetFwRules { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1937,7 +1937,7 @@ windows_core::imp::interface_hierarchy!(INetFwRules, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl INetFwRules { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1958,11 +1958,11 @@ impl INetFwRules { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1975,9 +1975,9 @@ pub struct INetFwRules_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1988,7 +1988,7 @@ windows_core::imp::define_interface!(INetFwService, INetFwService_Vtbl, 0x79fd57 impl std::ops::Deref for INetFwService { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1996,33 +1996,33 @@ windows_core::imp::interface_hierarchy!(INetFwService, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl INetFwService { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Customized(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Customized)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IpVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IpVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scope)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScope(&self, scope: NET_FW_SCOPE) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetScope)(windows_core::Interface::as_raw(self), scope).ok() } pub unsafe fn RemoteAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRemoteAddresses(&self, remoteaddrs: P0) -> windows_core::Result<()> @@ -2032,7 +2032,7 @@ impl INetFwService { (windows_core::Interface::vtable(self).SetRemoteAddresses)(windows_core::Interface::as_raw(self), remoteaddrs.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -2043,7 +2043,7 @@ impl INetFwService { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GloballyOpenPorts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GloballyOpenPorts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2051,15 +2051,15 @@ impl INetFwService { #[repr(C)] pub struct INetFwService_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_SERVICE_TYPE) -> windows_core::HRESULT, pub Customized: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IpVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_IP_VERSION) -> windows_core::HRESULT, pub SetIpVersion: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_IP_VERSION) -> windows_core::HRESULT, pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_SCOPE) -> windows_core::HRESULT, pub SetScope: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_SCOPE) -> windows_core::HRESULT, - pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRemoteAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2073,7 +2073,7 @@ windows_core::imp::define_interface!(INetFwServiceRestriction, INetFwServiceRest impl std::ops::Deref for INetFwServiceRestriction { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2094,12 +2094,12 @@ impl INetFwServiceRestriction { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceRestricted)(windows_core::Interface::as_raw(self), servicename.param().abi(), appname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Rules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rules)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2107,8 +2107,8 @@ impl INetFwServiceRestriction { #[repr(C)] pub struct INetFwServiceRestriction_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub RestrictService: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ServiceRestricted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub RestrictService: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub ServiceRestricted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Rules: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2120,7 +2120,7 @@ windows_core::imp::define_interface!(INetFwServices, INetFwServices_Vtbl, 0x7964 impl std::ops::Deref for INetFwServices { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2128,16 +2128,16 @@ windows_core::imp::interface_hierarchy!(INetFwServices, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl INetFwServices { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, svctype: NET_FW_SERVICE_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), svctype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2158,7 +2158,7 @@ windows_core::imp::define_interface!(INetSharingConfiguration, INetSharingConfig impl std::ops::Deref for INetSharingConfiguration { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2166,11 +2166,11 @@ windows_core::imp::interface_hierarchy!(INetSharingConfiguration, windows_core:: #[cfg(feature = "Win32_System_Com")] impl INetSharingConfiguration { pub unsafe fn SharingEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SharingEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SharingConnectionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SharingConnectionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DisableSharing(&self) -> windows_core::Result<()> { @@ -2180,7 +2180,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InternetFirewallEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DisableInternetFirewall(&self) -> windows_core::Result<()> { @@ -2191,7 +2191,7 @@ impl INetSharingConfiguration { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_EnumPortMappings(&self, flags: SHARINGCONNECTION_ENUM_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EnumPortMappings)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2200,7 +2200,7 @@ impl INetSharingConfiguration { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddPortMapping)(windows_core::Interface::as_raw(self), bstrname.param().abi(), ucipprotocol, usexternalport, usinternalport, dwoptions, bstrtargetnameoripaddress.param().abi(), etargettype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2227,7 +2227,7 @@ pub struct INetSharingConfiguration_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] get_EnumPortMappings: usize, #[cfg(feature = "Win32_System_Com")] - pub AddPortMapping: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u8, u16, u16, u32, std::mem::MaybeUninit, ICS_TARGETTYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddPortMapping: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u8, u16, u16, u32, core::mem::MaybeUninit, ICS_TARGETTYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddPortMapping: usize, #[cfg(feature = "Win32_System_Com")] @@ -2241,7 +2241,7 @@ windows_core::imp::define_interface!(INetSharingEveryConnectionCollection, INetS impl std::ops::Deref for INetSharingEveryConnectionCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2249,11 +2249,11 @@ windows_core::imp::interface_hierarchy!(INetSharingEveryConnectionCollection, wi #[cfg(feature = "Win32_System_Com")] impl INetSharingEveryConnectionCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2270,7 +2270,7 @@ windows_core::imp::define_interface!(INetSharingManager, INetSharingManager_Vtbl impl std::ops::Deref for INetSharingManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2278,17 +2278,17 @@ windows_core::imp::interface_hierarchy!(INetSharingManager, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl INetSharingManager { pub unsafe fn SharingInstalled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SharingInstalled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_EnumPublicConnections(&self, flags: SHARINGCONNECTION_ENUM_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EnumPublicConnections)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_EnumPrivateConnections(&self, flags: SHARINGCONNECTION_ENUM_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EnumPrivateConnections)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2296,12 +2296,12 @@ impl INetSharingManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_INetSharingConfigurationForINetConnection)(windows_core::Interface::as_raw(self), pnetconnection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumEveryConnection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumEveryConnection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2309,7 +2309,7 @@ impl INetSharingManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_NetConnectionProps)(windows_core::Interface::as_raw(self), pnetconnection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2345,7 +2345,7 @@ windows_core::imp::define_interface!(INetSharingPortMapping, INetSharingPortMapp impl std::ops::Deref for INetSharingPortMapping { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2360,7 +2360,7 @@ impl INetSharingPortMapping { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -2385,7 +2385,7 @@ windows_core::imp::define_interface!(INetSharingPortMappingCollection, INetShari impl std::ops::Deref for INetSharingPortMappingCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2393,11 +2393,11 @@ windows_core::imp::interface_hierarchy!(INetSharingPortMappingCollection, window #[cfg(feature = "Win32_System_Com")] impl INetSharingPortMappingCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2414,7 +2414,7 @@ windows_core::imp::define_interface!(INetSharingPortMappingProps, INetSharingPor impl std::ops::Deref for INetSharingPortMappingProps { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2422,35 +2422,35 @@ windows_core::imp::interface_hierarchy!(INetSharingPortMappingProps, windows_cor #[cfg(feature = "Win32_System_Com")] impl INetSharingPortMappingProps { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IPProtocol(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IPProtocol)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExternalPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExternalPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InternalPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InternalPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Options(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Options)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TargetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TargetIPAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetIPAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2458,13 +2458,13 @@ impl INetSharingPortMappingProps { #[repr(C)] pub struct INetSharingPortMappingProps_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IPProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub ExternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub InternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TargetIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2473,7 +2473,7 @@ windows_core::imp::define_interface!(INetSharingPrivateConnectionCollection, INe impl std::ops::Deref for INetSharingPrivateConnectionCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2481,11 +2481,11 @@ windows_core::imp::interface_hierarchy!(INetSharingPrivateConnectionCollection, #[cfg(feature = "Win32_System_Com")] impl INetSharingPrivateConnectionCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2502,7 +2502,7 @@ windows_core::imp::define_interface!(INetSharingPublicConnectionCollection, INet impl std::ops::Deref for INetSharingPublicConnectionCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2510,11 +2510,11 @@ windows_core::imp::interface_hierarchy!(INetSharingPublicConnectionCollection, w #[cfg(feature = "Win32_System_Com")] impl INetSharingPublicConnectionCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2531,7 +2531,7 @@ windows_core::imp::define_interface!(IStaticPortMapping, IStaticPortMapping_Vtbl impl std::ops::Deref for IStaticPortMapping { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2539,31 +2539,31 @@ windows_core::imp::interface_hierarchy!(IStaticPortMapping, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IStaticPortMapping { pub unsafe fn ExternalIPAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExternalIPAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExternalPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExternalPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InternalPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InternalPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Protocol(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Protocol)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InternalClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InternalClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EditInternalClient(&self, bstrinternalclient: P0) -> windows_core::Result<()> @@ -2592,16 +2592,16 @@ impl IStaticPortMapping { #[repr(C)] pub struct IStaticPortMapping_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ExternalIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExternalIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ExternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub InternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InternalClient: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InternalClient: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EditInternalClient: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EditInternalClient: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub EditDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EditDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub EditInternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2610,7 +2610,7 @@ windows_core::imp::define_interface!(IStaticPortMappingCollection, IStaticPortMa impl std::ops::Deref for IStaticPortMappingCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2618,7 +2618,7 @@ windows_core::imp::interface_hierarchy!(IStaticPortMappingCollection, windows_co #[cfg(feature = "Win32_System_Com")] impl IStaticPortMappingCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2626,11 +2626,11 @@ impl IStaticPortMappingCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lexternalport, bstrprotocol.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Remove(&self, lexternalport: i32, bstrprotocol: P0) -> windows_core::Result<()> @@ -2647,7 +2647,7 @@ impl IStaticPortMappingCollection { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), lexternalport, bstrprotocol.param().abi(), linternalport, bstrinternalclient.param().abi(), benabled.param().abi(), bstrdescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2657,13 +2657,13 @@ pub struct IStaticPortMappingCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, } @@ -2673,7 +2673,7 @@ windows_core::imp::define_interface!(IUPnPNAT, IUPnPNAT_Vtbl, 0xb171c812_cc76_48 impl std::ops::Deref for IUPnPNAT { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2682,17 +2682,17 @@ windows_core::imp::interface_hierarchy!(IUPnPNAT, windows_core::IUnknown, super: impl IUPnPNAT { #[cfg(feature = "Win32_System_Com")] pub unsafe fn StaticPortMappingCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StaticPortMappingCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DynamicPortMappingCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DynamicPortMappingCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NATEventManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NATEventManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs index 8231fcdd66..3f50bb3815 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs @@ -19,7 +19,7 @@ impl windows_core::RuntimeName for IADs {} #[cfg(feature = "Win32_System_Com")] impl IADs_Vtbl { pub const fn new, Impl: IADs_Impl, const OFFSET: isize>() -> IADs_Vtbl { - unsafe extern "system" fn Name, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADs_Impl::Name(this) { @@ -30,7 +30,7 @@ impl IADs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Class, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Class, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADs_Impl::Class(this) { @@ -41,7 +41,7 @@ impl IADs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GUID, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GUID, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADs_Impl::GUID(this) { @@ -52,7 +52,7 @@ impl IADs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ADsPath, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ADsPath, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADs_Impl::ADsPath(this) { @@ -63,7 +63,7 @@ impl IADs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Parent, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Parent, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADs_Impl::Parent(this) { @@ -74,7 +74,7 @@ impl IADs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Schema, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Schema, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADs_Impl::Schema(this) { @@ -95,7 +95,7 @@ impl IADs_Vtbl { let this = (*this).get_impl(); IADs_Impl::SetInfo(this).into() } - unsafe extern "system" fn Get, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pvprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Get, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pvprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADs_Impl::Get(this, core::mem::transmute(&bstrname)) { @@ -106,12 +106,12 @@ impl IADs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Put, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, vprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Put, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, vprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADs_Impl::Put(this, core::mem::transmute(&bstrname), core::mem::transmute(&vprop)).into() } - unsafe extern "system" fn GetEx, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pvprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEx, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pvprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADs_Impl::GetEx(this, core::mem::transmute(&bstrname)) { @@ -122,12 +122,12 @@ impl IADs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PutEx, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lncontrolcode: i32, bstrname: std::mem::MaybeUninit, vprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutEx, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lncontrolcode: i32, bstrname: core::mem::MaybeUninit, vprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADs_Impl::PutEx(this, core::mem::transmute_copy(&lncontrolcode), core::mem::transmute(&bstrname), core::mem::transmute(&vprop)).into() } - unsafe extern "system" fn GetInfoEx, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vproperties: std::mem::MaybeUninit, lnreserved: i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetInfoEx, Impl: IADs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vproperties: core::mem::MaybeUninit, lnreserved: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADs_Impl::GetInfoEx(this, core::mem::transmute(&vproperties), core::mem::transmute_copy(&lnreserved)).into() @@ -174,7 +174,7 @@ impl windows_core::RuntimeName for IADsADSystemInfo {} #[cfg(feature = "Win32_System_Com")] impl IADsADSystemInfo_Vtbl { pub const fn new, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>() -> IADsADSystemInfo_Vtbl { - unsafe extern "system" fn UserName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::UserName(this) { @@ -185,7 +185,7 @@ impl IADsADSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ComputerName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ComputerName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::ComputerName(this) { @@ -196,7 +196,7 @@ impl IADsADSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SiteName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SiteName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::SiteName(this) { @@ -207,7 +207,7 @@ impl IADsADSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DomainShortName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DomainShortName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::DomainShortName(this) { @@ -218,7 +218,7 @@ impl IADsADSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DomainDNSName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DomainDNSName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::DomainDNSName(this) { @@ -229,7 +229,7 @@ impl IADsADSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ForestDNSName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ForestDNSName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::ForestDNSName(this) { @@ -240,7 +240,7 @@ impl IADsADSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PDCRoleOwner, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PDCRoleOwner, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::PDCRoleOwner(this) { @@ -251,7 +251,7 @@ impl IADsADSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SchemaRoleOwner, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SchemaRoleOwner, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::SchemaRoleOwner(this) { @@ -273,7 +273,7 @@ impl IADsADSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAnyDCName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdcname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAnyDCName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdcname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::GetAnyDCName(this) { @@ -284,7 +284,7 @@ impl IADsADSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDCSiteName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szserver: std::mem::MaybeUninit, pszsitename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDCSiteName, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szserver: core::mem::MaybeUninit, pszsitename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::GetDCSiteName(this, core::mem::transmute(&szserver)) { @@ -300,7 +300,7 @@ impl IADsADSystemInfo_Vtbl { let this = (*this).get_impl(); IADsADSystemInfo_Impl::RefreshSchemaCache(this).into() } - unsafe extern "system" fn GetTrees, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvtrees: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTrees, Impl: IADsADSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvtrees: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsADSystemInfo_Impl::GetTrees(this) { @@ -418,7 +418,7 @@ impl IADsAccessControlEntry_Vtbl { let this = (*this).get_impl(); IADsAccessControlEntry_Impl::SetFlags(this, core::mem::transmute_copy(&lnflags)).into() } - unsafe extern "system" fn ObjectType, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ObjectType, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::ObjectType(this) { @@ -429,12 +429,12 @@ impl IADsAccessControlEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetObjectType, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjecttype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetObjectType, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjecttype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsAccessControlEntry_Impl::SetObjectType(this, core::mem::transmute(&bstrobjecttype)).into() } - unsafe extern "system" fn InheritedObjectType, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InheritedObjectType, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::InheritedObjectType(this) { @@ -445,12 +445,12 @@ impl IADsAccessControlEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInheritedObjectType, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinheritedobjecttype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInheritedObjectType, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinheritedobjecttype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsAccessControlEntry_Impl::SetInheritedObjectType(this, core::mem::transmute(&bstrinheritedobjecttype)).into() } - unsafe extern "system" fn Trustee, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Trustee, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsAccessControlEntry_Impl::Trustee(this) { @@ -461,7 +461,7 @@ impl IADsAccessControlEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTrustee, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtrustee: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTrustee, Impl: IADsAccessControlEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtrustee: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsAccessControlEntry_Impl::SetTrustee(this, core::mem::transmute(&bstrtrustee)).into() @@ -599,7 +599,7 @@ impl windows_core::RuntimeName for IADsAcl {} #[cfg(feature = "Win32_System_Com")] impl IADsAcl_Vtbl { pub const fn new, Impl: IADsAcl_Impl, const OFFSET: isize>() -> IADsAcl_Vtbl { - unsafe extern "system" fn ProtectedAttrName, Impl: IADsAcl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProtectedAttrName, Impl: IADsAcl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsAcl_Impl::ProtectedAttrName(this) { @@ -610,12 +610,12 @@ impl IADsAcl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProtectedAttrName, Impl: IADsAcl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotectedattrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProtectedAttrName, Impl: IADsAcl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprotectedattrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsAcl_Impl::SetProtectedAttrName(this, core::mem::transmute(&bstrprotectedattrname)).into() } - unsafe extern "system" fn SubjectName, Impl: IADsAcl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubjectName, Impl: IADsAcl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsAcl_Impl::SubjectName(this) { @@ -626,7 +626,7 @@ impl IADsAcl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSubjectName, Impl: IADsAcl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubjectname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubjectName, Impl: IADsAcl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubjectname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsAcl_Impl::SetSubjectName(this, core::mem::transmute(&bstrsubjectname)).into() @@ -769,7 +769,7 @@ impl IADsBackLink_Vtbl { let this = (*this).get_impl(); IADsBackLink_Impl::SetRemoteID(this, core::mem::transmute_copy(&lnremoteid)).into() } - unsafe extern "system" fn ObjectName, Impl: IADsBackLink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ObjectName, Impl: IADsBackLink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsBackLink_Impl::ObjectName(this) { @@ -780,7 +780,7 @@ impl IADsBackLink_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetObjectName, Impl: IADsBackLink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetObjectName, Impl: IADsBackLink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsBackLink_Impl::SetObjectName(this, core::mem::transmute(&bstrobjectname)).into() @@ -807,7 +807,7 @@ impl windows_core::RuntimeName for IADsCaseIgnoreList {} #[cfg(feature = "Win32_System_Com")] impl IADsCaseIgnoreList_Vtbl { pub const fn new, Impl: IADsCaseIgnoreList_Impl, const OFFSET: isize>() -> IADsCaseIgnoreList_Vtbl { - unsafe extern "system" fn CaseIgnoreList, Impl: IADsCaseIgnoreList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CaseIgnoreList, Impl: IADsCaseIgnoreList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsCaseIgnoreList_Impl::CaseIgnoreList(this) { @@ -818,7 +818,7 @@ impl IADsCaseIgnoreList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCaseIgnoreList, Impl: IADsCaseIgnoreList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vcaseignorelist: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCaseIgnoreList, Impl: IADsCaseIgnoreList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vcaseignorelist: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsCaseIgnoreList_Impl::SetCaseIgnoreList(this, core::mem::transmute(&vcaseignorelist)).into() @@ -871,7 +871,7 @@ impl windows_core::RuntimeName for IADsClass {} #[cfg(feature = "Win32_System_Com")] impl IADsClass_Vtbl { pub const fn new, Impl: IADsClass_Impl, const OFFSET: isize>() -> IADsClass_Vtbl { - unsafe extern "system" fn PrimaryInterface, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrimaryInterface, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::PrimaryInterface(this) { @@ -882,7 +882,7 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CLSID, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CLSID, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::CLSID(this) { @@ -893,12 +893,12 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCLSID, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCLSID, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetCLSID(this, core::mem::transmute(&bstrclsid)).into() } - unsafe extern "system" fn OID, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OID, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::OID(this) { @@ -909,7 +909,7 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOID, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOID, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetOID(this, core::mem::transmute(&bstroid)).into() @@ -946,7 +946,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); IADsClass_Impl::SetAuxiliary(this, core::mem::transmute_copy(&fauxiliary)).into() } - unsafe extern "system" fn MandatoryProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MandatoryProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::MandatoryProperties(this) { @@ -957,12 +957,12 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMandatoryProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vmandatoryproperties: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMandatoryProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vmandatoryproperties: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetMandatoryProperties(this, core::mem::transmute(&vmandatoryproperties)).into() } - unsafe extern "system" fn OptionalProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OptionalProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::OptionalProperties(this) { @@ -973,12 +973,12 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOptionalProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, voptionalproperties: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOptionalProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, voptionalproperties: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetOptionalProperties(this, core::mem::transmute(&voptionalproperties)).into() } - unsafe extern "system" fn NamingProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NamingProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::NamingProperties(this) { @@ -989,12 +989,12 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNamingProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vnamingproperties: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNamingProperties, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vnamingproperties: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetNamingProperties(this, core::mem::transmute(&vnamingproperties)).into() } - unsafe extern "system" fn DerivedFrom, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DerivedFrom, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::DerivedFrom(this) { @@ -1005,12 +1005,12 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDerivedFrom, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vderivedfrom: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDerivedFrom, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vderivedfrom: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetDerivedFrom(this, core::mem::transmute(&vderivedfrom)).into() } - unsafe extern "system" fn AuxDerivedFrom, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AuxDerivedFrom, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::AuxDerivedFrom(this) { @@ -1021,12 +1021,12 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAuxDerivedFrom, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vauxderivedfrom: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAuxDerivedFrom, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vauxderivedfrom: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetAuxDerivedFrom(this, core::mem::transmute(&vauxderivedfrom)).into() } - unsafe extern "system" fn PossibleSuperiors, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PossibleSuperiors, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::PossibleSuperiors(this) { @@ -1037,12 +1037,12 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPossibleSuperiors, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpossiblesuperiors: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPossibleSuperiors, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpossiblesuperiors: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetPossibleSuperiors(this, core::mem::transmute(&vpossiblesuperiors)).into() } - unsafe extern "system" fn Containment, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Containment, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::Containment(this) { @@ -1053,7 +1053,7 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetContainment, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vcontainment: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetContainment, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vcontainment: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetContainment(this, core::mem::transmute(&vcontainment)).into() @@ -1074,7 +1074,7 @@ impl IADsClass_Vtbl { let this = (*this).get_impl(); IADsClass_Impl::SetContainer(this, core::mem::transmute_copy(&fcontainer)).into() } - unsafe extern "system" fn HelpFileName, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HelpFileName, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsClass_Impl::HelpFileName(this) { @@ -1085,7 +1085,7 @@ impl IADsClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHelpFileName, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhelpfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHelpFileName, Impl: IADsClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhelpfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsClass_Impl::SetHelpFileName(this, core::mem::transmute(&bstrhelpfilename)).into() @@ -1178,17 +1178,17 @@ impl IADsCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IADsCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, vitem: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IADsCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, vitem: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsCollection_Impl::Add(this, core::mem::transmute(&bstrname), core::mem::transmute(&vitem)).into() } - unsafe extern "system" fn Remove, Impl: IADsCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemtoberemoved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IADsCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemtoberemoved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsCollection_Impl::Remove(this, core::mem::transmute(&bstritemtoberemoved)).into() } - unsafe extern "system" fn GetObject, Impl: IADsCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pvitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetObject, Impl: IADsCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pvitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsCollection_Impl::GetObject(this, core::mem::transmute(&bstrname)) { @@ -1251,7 +1251,7 @@ impl windows_core::RuntimeName for IADsComputer {} #[cfg(feature = "Win32_System_Com")] impl IADsComputer_Vtbl { pub const fn new, Impl: IADsComputer_Impl, const OFFSET: isize>() -> IADsComputer_Vtbl { - unsafe extern "system" fn ComputerID, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ComputerID, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::ComputerID(this) { @@ -1262,7 +1262,7 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Site, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Site, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::Site(this) { @@ -1273,7 +1273,7 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::Description(this) { @@ -1284,12 +1284,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn Location, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Location, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::Location(this) { @@ -1300,12 +1300,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocation, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocation: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocation, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocation: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetLocation(this, core::mem::transmute(&bstrlocation)).into() } - unsafe extern "system" fn PrimaryUser, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrimaryUser, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::PrimaryUser(this) { @@ -1316,12 +1316,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPrimaryUser, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprimaryuser: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPrimaryUser, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprimaryuser: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetPrimaryUser(this, core::mem::transmute(&bstrprimaryuser)).into() } - unsafe extern "system" fn Owner, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Owner, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::Owner(this) { @@ -1332,12 +1332,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOwner, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrowner: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOwner, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrowner: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetOwner(this, core::mem::transmute(&bstrowner)).into() } - unsafe extern "system" fn Division, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Division, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::Division(this) { @@ -1348,12 +1348,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDivision, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdivision: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDivision, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdivision: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetDivision(this, core::mem::transmute(&bstrdivision)).into() } - unsafe extern "system" fn Department, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Department, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::Department(this) { @@ -1364,12 +1364,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDepartment, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdepartment: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDepartment, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdepartment: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetDepartment(this, core::mem::transmute(&bstrdepartment)).into() } - unsafe extern "system" fn Role, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Role, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::Role(this) { @@ -1380,12 +1380,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRole, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrole: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRole, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrole: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetRole(this, core::mem::transmute(&bstrrole)).into() } - unsafe extern "system" fn OperatingSystem, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OperatingSystem, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::OperatingSystem(this) { @@ -1396,12 +1396,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOperatingSystem, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperatingsystem: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOperatingSystem, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperatingsystem: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetOperatingSystem(this, core::mem::transmute(&bstroperatingsystem)).into() } - unsafe extern "system" fn OperatingSystemVersion, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OperatingSystemVersion, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::OperatingSystemVersion(this) { @@ -1412,12 +1412,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOperatingSystemVersion, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperatingsystemversion: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOperatingSystemVersion, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperatingsystemversion: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetOperatingSystemVersion(this, core::mem::transmute(&bstroperatingsystemversion)).into() } - unsafe extern "system" fn Model, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Model, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::Model(this) { @@ -1428,12 +1428,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetModel, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmodel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetModel, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmodel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetModel(this, core::mem::transmute(&bstrmodel)).into() } - unsafe extern "system" fn Processor, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Processor, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::Processor(this) { @@ -1444,12 +1444,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProcessor, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprocessor: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProcessor, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprocessor: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetProcessor(this, core::mem::transmute(&bstrprocessor)).into() } - unsafe extern "system" fn ProcessorCount, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProcessorCount, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::ProcessorCount(this) { @@ -1460,12 +1460,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProcessorCount, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprocessorcount: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProcessorCount, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprocessorcount: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetProcessorCount(this, core::mem::transmute(&bstrprocessorcount)).into() } - unsafe extern "system" fn MemorySize, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MemorySize, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::MemorySize(this) { @@ -1476,12 +1476,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMemorySize, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmemorysize: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMemorySize, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmemorysize: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetMemorySize(this, core::mem::transmute(&bstrmemorysize)).into() } - unsafe extern "system" fn StorageCapacity, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StorageCapacity, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::StorageCapacity(this) { @@ -1492,12 +1492,12 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStorageCapacity, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstoragecapacity: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStorageCapacity, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstoragecapacity: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetStorageCapacity(this, core::mem::transmute(&bstrstoragecapacity)).into() } - unsafe extern "system" fn NetAddresses, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NetAddresses, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsComputer_Impl::NetAddresses(this) { @@ -1508,7 +1508,7 @@ impl IADsComputer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNetAddresses, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vnetaddresses: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNetAddresses, Impl: IADsComputer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vnetaddresses: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsComputer_Impl::SetNetAddresses(this, core::mem::transmute(&vnetaddresses)).into() @@ -1626,7 +1626,7 @@ impl IADsContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Filter, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Filter, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsContainer_Impl::Filter(this) { @@ -1637,12 +1637,12 @@ impl IADsContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFilter, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFilter, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsContainer_Impl::SetFilter(this, core::mem::transmute(&var)).into() } - unsafe extern "system" fn Hints, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvfilter: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Hints, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvfilter: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsContainer_Impl::Hints(this) { @@ -1653,12 +1653,12 @@ impl IADsContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHints, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vhints: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHints, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vhints: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsContainer_Impl::SetHints(this, core::mem::transmute(&vhints)).into() } - unsafe extern "system" fn GetObject, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, classname: std::mem::MaybeUninit, relativename: std::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetObject, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, classname: core::mem::MaybeUninit, relativename: core::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsContainer_Impl::GetObject(this, core::mem::transmute(&classname), core::mem::transmute(&relativename)) { @@ -1669,7 +1669,7 @@ impl IADsContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Create, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, classname: std::mem::MaybeUninit, relativename: std::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Create, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, classname: core::mem::MaybeUninit, relativename: core::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsContainer_Impl::Create(this, core::mem::transmute(&classname), core::mem::transmute(&relativename)) { @@ -1680,12 +1680,12 @@ impl IADsContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Delete, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclassname: std::mem::MaybeUninit, bstrrelativename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Delete, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclassname: core::mem::MaybeUninit, bstrrelativename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsContainer_Impl::Delete(this, core::mem::transmute(&bstrclassname), core::mem::transmute(&bstrrelativename)).into() } - unsafe extern "system" fn CopyHere, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcename: std::mem::MaybeUninit, newname: std::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CopyHere, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcename: core::mem::MaybeUninit, newname: core::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsContainer_Impl::CopyHere(this, core::mem::transmute(&sourcename), core::mem::transmute(&newname)) { @@ -1696,7 +1696,7 @@ impl IADsContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MoveHere, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcename: std::mem::MaybeUninit, newname: std::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn MoveHere, Impl: IADsContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcename: core::mem::MaybeUninit, newname: core::mem::MaybeUninit, ppobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsContainer_Impl::MoveHere(this, core::mem::transmute(&sourcename), core::mem::transmute(&newname)) { @@ -1738,7 +1738,7 @@ impl windows_core::RuntimeName for IADsDNWithBinary {} #[cfg(feature = "Win32_System_Com")] impl IADsDNWithBinary_Vtbl { pub const fn new, Impl: IADsDNWithBinary_Impl, const OFFSET: isize>() -> IADsDNWithBinary_Vtbl { - unsafe extern "system" fn BinaryValue, Impl: IADsDNWithBinary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BinaryValue, Impl: IADsDNWithBinary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsDNWithBinary_Impl::BinaryValue(this) { @@ -1749,12 +1749,12 @@ impl IADsDNWithBinary_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBinaryValue, Impl: IADsDNWithBinary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vbinaryvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBinaryValue, Impl: IADsDNWithBinary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vbinaryvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsDNWithBinary_Impl::SetBinaryValue(this, core::mem::transmute(&vbinaryvalue)).into() } - unsafe extern "system" fn DNString, Impl: IADsDNWithBinary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DNString, Impl: IADsDNWithBinary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsDNWithBinary_Impl::DNString(this) { @@ -1765,7 +1765,7 @@ impl IADsDNWithBinary_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDNString, Impl: IADsDNWithBinary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdnstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDNString, Impl: IADsDNWithBinary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdnstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsDNWithBinary_Impl::SetDNString(this, core::mem::transmute(&bstrdnstring)).into() @@ -1794,7 +1794,7 @@ impl windows_core::RuntimeName for IADsDNWithString {} #[cfg(feature = "Win32_System_Com")] impl IADsDNWithString_Vtbl { pub const fn new, Impl: IADsDNWithString_Impl, const OFFSET: isize>() -> IADsDNWithString_Vtbl { - unsafe extern "system" fn StringValue, Impl: IADsDNWithString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StringValue, Impl: IADsDNWithString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsDNWithString_Impl::StringValue(this) { @@ -1805,12 +1805,12 @@ impl IADsDNWithString_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStringValue, Impl: IADsDNWithString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstringvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStringValue, Impl: IADsDNWithString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstringvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsDNWithString_Impl::SetStringValue(this, core::mem::transmute(&bstrstringvalue)).into() } - unsafe extern "system" fn DNString, Impl: IADsDNWithString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DNString, Impl: IADsDNWithString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsDNWithString_Impl::DNString(this) { @@ -1821,7 +1821,7 @@ impl IADsDNWithString_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDNString, Impl: IADsDNWithString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdnstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDNString, Impl: IADsDNWithString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdnstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsDNWithString_Impl::SetDNString(this, core::mem::transmute(&bstrdnstring)).into() @@ -2075,7 +2075,7 @@ impl IADsEmail_Vtbl { let this = (*this).get_impl(); IADsEmail_Impl::SetType(this, core::mem::transmute_copy(&lntype)).into() } - unsafe extern "system" fn Address, Impl: IADsEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Address, Impl: IADsEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsEmail_Impl::Address(this) { @@ -2086,7 +2086,7 @@ impl IADsEmail_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAddress, Impl: IADsEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAddress, Impl: IADsEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsEmail_Impl::SetAddress(this, core::mem::transmute(&bstraddress)).into() @@ -2114,7 +2114,7 @@ impl windows_core::RuntimeName for IADsExtension {} #[cfg(feature = "Win32_System_Com")] impl IADsExtension_Vtbl { pub const fn new, Impl: IADsExtension_Impl, const OFFSET: isize>() -> IADsExtension_Vtbl { - unsafe extern "system" fn Operate, Impl: IADsExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwcode: u32, vardata1: std::mem::MaybeUninit, vardata2: std::mem::MaybeUninit, vardata3: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Operate, Impl: IADsExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwcode: u32, vardata1: core::mem::MaybeUninit, vardata2: core::mem::MaybeUninit, vardata3: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsExtension_Impl::Operate(this, core::mem::transmute_copy(&dwcode), core::mem::transmute(&vardata1), core::mem::transmute(&vardata2), core::mem::transmute(&vardata3)).into() @@ -2130,7 +2130,7 @@ impl IADsExtension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PrivateInvoke, Impl: IADsExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, riid: *const windows_core::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Com::DISPPARAMS, pvarresult: *mut std::mem::MaybeUninit, pexcepinfo: *mut super::super::System::Com::EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn PrivateInvoke, Impl: IADsExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, riid: *const windows_core::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Com::DISPPARAMS, pvarresult: *mut core::mem::MaybeUninit, pexcepinfo: *mut super::super::System::Com::EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsExtension_Impl::PrivateInvoke(this, core::mem::transmute_copy(&dispidmember), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&pdispparams), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&pexcepinfo), core::mem::transmute_copy(&puargerr)).into() @@ -2158,7 +2158,7 @@ impl windows_core::RuntimeName for IADsFaxNumber {} #[cfg(feature = "Win32_System_Com")] impl IADsFaxNumber_Vtbl { pub const fn new, Impl: IADsFaxNumber_Impl, const OFFSET: isize>() -> IADsFaxNumber_Vtbl { - unsafe extern "system" fn TelephoneNumber, Impl: IADsFaxNumber_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TelephoneNumber, Impl: IADsFaxNumber_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsFaxNumber_Impl::TelephoneNumber(this) { @@ -2169,12 +2169,12 @@ impl IADsFaxNumber_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTelephoneNumber, Impl: IADsFaxNumber_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtelephonenumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTelephoneNumber, Impl: IADsFaxNumber_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtelephonenumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsFaxNumber_Impl::SetTelephoneNumber(this, core::mem::transmute(&bstrtelephonenumber)).into() } - unsafe extern "system" fn Parameters, Impl: IADsFaxNumber_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Parameters, Impl: IADsFaxNumber_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsFaxNumber_Impl::Parameters(this) { @@ -2185,7 +2185,7 @@ impl IADsFaxNumber_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetParameters, Impl: IADsFaxNumber_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vparameters: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetParameters, Impl: IADsFaxNumber_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vparameters: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsFaxNumber_Impl::SetParameters(this, core::mem::transmute(&vparameters)).into() @@ -2214,7 +2214,7 @@ impl windows_core::RuntimeName for IADsFileService {} #[cfg(feature = "Win32_System_Com")] impl IADsFileService_Vtbl { pub const fn new, Impl: IADsFileService_Impl, const OFFSET: isize>() -> IADsFileService_Vtbl { - unsafe extern "system" fn Description, Impl: IADsFileService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsFileService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsFileService_Impl::Description(this) { @@ -2225,7 +2225,7 @@ impl IADsFileService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsFileService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsFileService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsFileService_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() @@ -2328,7 +2328,7 @@ impl IADsFileShare_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsFileShare_Impl::Description(this) { @@ -2339,12 +2339,12 @@ impl IADsFileShare_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsFileShare_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn HostComputer, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HostComputer, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsFileShare_Impl::HostComputer(this) { @@ -2355,12 +2355,12 @@ impl IADsFileShare_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHostComputer, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhostcomputer: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHostComputer, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhostcomputer: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsFileShare_Impl::SetHostComputer(this, core::mem::transmute(&bstrhostcomputer)).into() } - unsafe extern "system" fn Path, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsFileShare_Impl::Path(this) { @@ -2371,7 +2371,7 @@ impl IADsFileShare_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPath, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPath, Impl: IADsFileShare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsFileShare_Impl::SetPath(this, core::mem::transmute(&bstrpath)).into() @@ -2423,7 +2423,7 @@ impl windows_core::RuntimeName for IADsGroup {} #[cfg(feature = "Win32_System_Com")] impl IADsGroup_Vtbl { pub const fn new, Impl: IADsGroup_Impl, const OFFSET: isize>() -> IADsGroup_Vtbl { - unsafe extern "system" fn Description, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsGroup_Impl::Description(this) { @@ -2434,7 +2434,7 @@ impl IADsGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsGroup_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() @@ -2450,7 +2450,7 @@ impl IADsGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsMember, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmember: std::mem::MaybeUninit, bmember: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsMember, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmember: core::mem::MaybeUninit, bmember: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsGroup_Impl::IsMember(this, core::mem::transmute(&bstrmember)) { @@ -2461,12 +2461,12 @@ impl IADsGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnewitem: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnewitem: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsGroup_Impl::Add(this, core::mem::transmute(&bstrnewitem)).into() } - unsafe extern "system" fn Remove, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemtoberemoved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IADsGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstritemtoberemoved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsGroup_Impl::Remove(this, core::mem::transmute(&bstritemtoberemoved)).into() @@ -2497,7 +2497,7 @@ impl windows_core::RuntimeName for IADsHold {} #[cfg(feature = "Win32_System_Com")] impl IADsHold_Vtbl { pub const fn new, Impl: IADsHold_Impl, const OFFSET: isize>() -> IADsHold_Vtbl { - unsafe extern "system" fn ObjectName, Impl: IADsHold_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ObjectName, Impl: IADsHold_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsHold_Impl::ObjectName(this) { @@ -2508,7 +2508,7 @@ impl IADsHold_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetObjectName, Impl: IADsHold_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetObjectName, Impl: IADsHold_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsHold_Impl::SetObjectName(this, core::mem::transmute(&bstrobjectname)).into() @@ -2613,7 +2613,7 @@ impl windows_core::RuntimeName for IADsLocality {} #[cfg(feature = "Win32_System_Com")] impl IADsLocality_Vtbl { pub const fn new, Impl: IADsLocality_Impl, const OFFSET: isize>() -> IADsLocality_Vtbl { - unsafe extern "system" fn Description, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsLocality_Impl::Description(this) { @@ -2624,12 +2624,12 @@ impl IADsLocality_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsLocality_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn LocalityName, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalityName, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsLocality_Impl::LocalityName(this) { @@ -2640,12 +2640,12 @@ impl IADsLocality_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalityName, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocalityname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalityName, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocalityname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsLocality_Impl::SetLocalityName(this, core::mem::transmute(&bstrlocalityname)).into() } - unsafe extern "system" fn PostalAddress, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PostalAddress, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsLocality_Impl::PostalAddress(this) { @@ -2656,12 +2656,12 @@ impl IADsLocality_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPostalAddress, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpostaladdress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPostalAddress, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpostaladdress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsLocality_Impl::SetPostalAddress(this, core::mem::transmute(&bstrpostaladdress)).into() } - unsafe extern "system" fn SeeAlso, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SeeAlso, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsLocality_Impl::SeeAlso(this) { @@ -2672,7 +2672,7 @@ impl IADsLocality_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSeeAlso, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vseealso: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSeeAlso, Impl: IADsLocality_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vseealso: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsLocality_Impl::SetSeeAlso(this, core::mem::transmute(&vseealso)).into() @@ -2727,7 +2727,7 @@ impl IADsMembers_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Filter, Impl: IADsMembers_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvfilter: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Filter, Impl: IADsMembers_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvfilter: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsMembers_Impl::Filter(this) { @@ -2738,7 +2738,7 @@ impl IADsMembers_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFilter, Impl: IADsMembers_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvfilter: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFilter, Impl: IADsMembers_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvfilter: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsMembers_Impl::SetFilter(this, core::mem::transmute(&pvfilter)).into() @@ -2775,22 +2775,22 @@ impl IADsNameTranslate_Vtbl { let this = (*this).get_impl(); IADsNameTranslate_Impl::SetChaseReferral(this, core::mem::transmute_copy(&lnchasereferral)).into() } - unsafe extern "system" fn Init, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnsettype: i32, bstradspath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Init, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnsettype: i32, bstradspath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsNameTranslate_Impl::Init(this, core::mem::transmute_copy(&lnsettype), core::mem::transmute(&bstradspath)).into() } - unsafe extern "system" fn InitEx, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnsettype: i32, bstradspath: std::mem::MaybeUninit, bstruserid: std::mem::MaybeUninit, bstrdomain: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitEx, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnsettype: i32, bstradspath: core::mem::MaybeUninit, bstruserid: core::mem::MaybeUninit, bstrdomain: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsNameTranslate_Impl::InitEx(this, core::mem::transmute_copy(&lnsettype), core::mem::transmute(&bstradspath), core::mem::transmute(&bstruserid), core::mem::transmute(&bstrdomain), core::mem::transmute(&bstrpassword)).into() } - unsafe extern "system" fn Set, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnsettype: i32, bstradspath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Set, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnsettype: i32, bstradspath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsNameTranslate_Impl::Set(this, core::mem::transmute_copy(&lnsettype), core::mem::transmute(&bstradspath)).into() } - unsafe extern "system" fn Get, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnformattype: i32, pbstradspath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Get, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnformattype: i32, pbstradspath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsNameTranslate_Impl::Get(this, core::mem::transmute_copy(&lnformattype)) { @@ -2801,12 +2801,12 @@ impl IADsNameTranslate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEx, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnformattype: i32, pvar: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEx, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnformattype: i32, pvar: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsNameTranslate_Impl::SetEx(this, core::mem::transmute_copy(&lnformattype), core::mem::transmute(&pvar)).into() } - unsafe extern "system" fn GetEx, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnformattype: i32, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEx, Impl: IADsNameTranslate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnformattype: i32, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsNameTranslate_Impl::GetEx(this, core::mem::transmute_copy(&lnformattype)) { @@ -2842,7 +2842,7 @@ impl windows_core::RuntimeName for IADsNamespaces {} #[cfg(feature = "Win32_System_Com")] impl IADsNamespaces_Vtbl { pub const fn new, Impl: IADsNamespaces_Impl, const OFFSET: isize>() -> IADsNamespaces_Vtbl { - unsafe extern "system" fn DefaultContainer, Impl: IADsNamespaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DefaultContainer, Impl: IADsNamespaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsNamespaces_Impl::DefaultContainer(this) { @@ -2853,7 +2853,7 @@ impl IADsNamespaces_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDefaultContainer, Impl: IADsNamespaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdefaultcontainer: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDefaultContainer, Impl: IADsNamespaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdefaultcontainer: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsNamespaces_Impl::SetDefaultContainer(this, core::mem::transmute(&bstrdefaultcontainer)).into() @@ -2896,7 +2896,7 @@ impl IADsNetAddress_Vtbl { let this = (*this).get_impl(); IADsNetAddress_Impl::SetAddressType(this, core::mem::transmute_copy(&lnaddresstype)).into() } - unsafe extern "system" fn Address, Impl: IADsNetAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Address, Impl: IADsNetAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsNetAddress_Impl::Address(this) { @@ -2907,7 +2907,7 @@ impl IADsNetAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAddress, Impl: IADsNetAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAddress, Impl: IADsNetAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsNetAddress_Impl::SetAddress(this, core::mem::transmute(&vaddress)).into() @@ -2944,7 +2944,7 @@ impl windows_core::RuntimeName for IADsO {} #[cfg(feature = "Win32_System_Com")] impl IADsO_Vtbl { pub const fn new, Impl: IADsO_Impl, const OFFSET: isize>() -> IADsO_Vtbl { - unsafe extern "system" fn Description, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsO_Impl::Description(this) { @@ -2955,12 +2955,12 @@ impl IADsO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsO_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn LocalityName, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalityName, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsO_Impl::LocalityName(this) { @@ -2971,12 +2971,12 @@ impl IADsO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalityName, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocalityname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalityName, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocalityname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsO_Impl::SetLocalityName(this, core::mem::transmute(&bstrlocalityname)).into() } - unsafe extern "system" fn PostalAddress, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PostalAddress, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsO_Impl::PostalAddress(this) { @@ -2987,12 +2987,12 @@ impl IADsO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPostalAddress, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpostaladdress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPostalAddress, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpostaladdress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsO_Impl::SetPostalAddress(this, core::mem::transmute(&bstrpostaladdress)).into() } - unsafe extern "system" fn TelephoneNumber, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TelephoneNumber, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsO_Impl::TelephoneNumber(this) { @@ -3003,12 +3003,12 @@ impl IADsO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTelephoneNumber, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtelephonenumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTelephoneNumber, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtelephonenumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsO_Impl::SetTelephoneNumber(this, core::mem::transmute(&bstrtelephonenumber)).into() } - unsafe extern "system" fn FaxNumber, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FaxNumber, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsO_Impl::FaxNumber(this) { @@ -3019,12 +3019,12 @@ impl IADsO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFaxNumber, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFaxNumber, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsO_Impl::SetFaxNumber(this, core::mem::transmute(&bstrfaxnumber)).into() } - unsafe extern "system" fn SeeAlso, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SeeAlso, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsO_Impl::SeeAlso(this) { @@ -3035,7 +3035,7 @@ impl IADsO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSeeAlso, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vseealso: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSeeAlso, Impl: IADsO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vseealso: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsO_Impl::SetSeeAlso(this, core::mem::transmute(&vseealso)).into() @@ -3082,7 +3082,7 @@ impl windows_core::RuntimeName for IADsOU {} #[cfg(feature = "Win32_System_Com")] impl IADsOU_Vtbl { pub const fn new, Impl: IADsOU_Impl, const OFFSET: isize>() -> IADsOU_Vtbl { - unsafe extern "system" fn Description, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsOU_Impl::Description(this) { @@ -3093,12 +3093,12 @@ impl IADsOU_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsOU_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn LocalityName, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalityName, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsOU_Impl::LocalityName(this) { @@ -3109,12 +3109,12 @@ impl IADsOU_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalityName, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocalityname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalityName, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocalityname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsOU_Impl::SetLocalityName(this, core::mem::transmute(&bstrlocalityname)).into() } - unsafe extern "system" fn PostalAddress, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PostalAddress, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsOU_Impl::PostalAddress(this) { @@ -3125,12 +3125,12 @@ impl IADsOU_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPostalAddress, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpostaladdress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPostalAddress, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpostaladdress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsOU_Impl::SetPostalAddress(this, core::mem::transmute(&bstrpostaladdress)).into() } - unsafe extern "system" fn TelephoneNumber, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TelephoneNumber, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsOU_Impl::TelephoneNumber(this) { @@ -3141,12 +3141,12 @@ impl IADsOU_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTelephoneNumber, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtelephonenumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTelephoneNumber, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtelephonenumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsOU_Impl::SetTelephoneNumber(this, core::mem::transmute(&bstrtelephonenumber)).into() } - unsafe extern "system" fn FaxNumber, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FaxNumber, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsOU_Impl::FaxNumber(this) { @@ -3157,12 +3157,12 @@ impl IADsOU_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFaxNumber, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFaxNumber, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfaxnumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsOU_Impl::SetFaxNumber(this, core::mem::transmute(&bstrfaxnumber)).into() } - unsafe extern "system" fn SeeAlso, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SeeAlso, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsOU_Impl::SeeAlso(this) { @@ -3173,12 +3173,12 @@ impl IADsOU_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSeeAlso, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vseealso: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSeeAlso, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vseealso: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsOU_Impl::SetSeeAlso(this, core::mem::transmute(&vseealso)).into() } - unsafe extern "system" fn BusinessCategory, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BusinessCategory, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsOU_Impl::BusinessCategory(this) { @@ -3189,7 +3189,7 @@ impl IADsOU_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBusinessCategory, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbusinesscategory: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBusinessCategory, Impl: IADsOU_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbusinesscategory: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsOU_Impl::SetBusinessCategory(this, core::mem::transmute(&bstrbusinesscategory)).into() @@ -3226,7 +3226,7 @@ impl windows_core::RuntimeName for IADsObjectOptions {} #[cfg(feature = "Win32_System_Com")] impl IADsObjectOptions_Vtbl { pub const fn new, Impl: IADsObjectOptions_Impl, const OFFSET: isize>() -> IADsObjectOptions_Vtbl { - unsafe extern "system" fn GetOption, Impl: IADsObjectOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnoption: i32, pvvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetOption, Impl: IADsObjectOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnoption: i32, pvvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsObjectOptions_Impl::GetOption(this, core::mem::transmute_copy(&lnoption)) { @@ -3237,7 +3237,7 @@ impl IADsObjectOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOption, Impl: IADsObjectOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnoption: i32, vvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOption, Impl: IADsObjectOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnoption: i32, vvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsObjectOptions_Impl::SetOption(this, core::mem::transmute_copy(&lnoption), core::mem::transmute(&vvalue)).into() @@ -3262,7 +3262,7 @@ impl windows_core::RuntimeName for IADsOctetList {} #[cfg(feature = "Win32_System_Com")] impl IADsOctetList_Vtbl { pub const fn new, Impl: IADsOctetList_Impl, const OFFSET: isize>() -> IADsOctetList_Vtbl { - unsafe extern "system" fn OctetList, Impl: IADsOctetList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OctetList, Impl: IADsOctetList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsOctetList_Impl::OctetList(this) { @@ -3273,7 +3273,7 @@ impl IADsOctetList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOctetList, Impl: IADsOctetList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, voctetlist: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOctetList, Impl: IADsOctetList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, voctetlist: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsOctetList_Impl::SetOctetList(this, core::mem::transmute(&voctetlist)).into() @@ -3297,7 +3297,7 @@ impl windows_core::RuntimeName for IADsOpenDSObject {} #[cfg(feature = "Win32_System_Com")] impl IADsOpenDSObject_Vtbl { pub const fn new, Impl: IADsOpenDSObject_Impl, const OFFSET: isize>() -> IADsOpenDSObject_Vtbl { - unsafe extern "system" fn OpenDSObject, Impl: IADsOpenDSObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszdnname: std::mem::MaybeUninit, lpszusername: std::mem::MaybeUninit, lpszpassword: std::mem::MaybeUninit, lnreserved: i32, ppoledsobj: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenDSObject, Impl: IADsOpenDSObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszdnname: core::mem::MaybeUninit, lpszusername: core::mem::MaybeUninit, lpszpassword: core::mem::MaybeUninit, lnreserved: i32, ppoledsobj: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsOpenDSObject_Impl::OpenDSObject(this, core::mem::transmute(&lpszdnname), core::mem::transmute(&lpszusername), core::mem::transmute(&lpszpassword), core::mem::transmute_copy(&lnreserved)) { @@ -3344,7 +3344,7 @@ impl IADsPath_Vtbl { let this = (*this).get_impl(); IADsPath_Impl::SetType(this, core::mem::transmute_copy(&lntype)).into() } - unsafe extern "system" fn VolumeName, Impl: IADsPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VolumeName, Impl: IADsPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPath_Impl::VolumeName(this) { @@ -3355,12 +3355,12 @@ impl IADsPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetVolumeName, Impl: IADsPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvolumename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetVolumeName, Impl: IADsPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvolumename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPath_Impl::SetVolumeName(this, core::mem::transmute(&bstrvolumename)).into() } - unsafe extern "system" fn Path, Impl: IADsPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IADsPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPath_Impl::Path(this) { @@ -3371,7 +3371,7 @@ impl IADsPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPath, Impl: IADsPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPath, Impl: IADsPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPath_Impl::SetPath(this, core::mem::transmute(&bstrpath)).into() @@ -3409,7 +3409,7 @@ impl windows_core::RuntimeName for IADsPathname {} #[cfg(feature = "Win32_System_Com")] impl IADsPathname_Vtbl { pub const fn new, Impl: IADsPathname_Impl, const OFFSET: isize>() -> IADsPathname_Vtbl { - unsafe extern "system" fn Set, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradspath: std::mem::MaybeUninit, lnsettype: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Set, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradspath: core::mem::MaybeUninit, lnsettype: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPathname_Impl::Set(this, core::mem::transmute(&bstradspath), core::mem::transmute_copy(&lnsettype)).into() @@ -3419,7 +3419,7 @@ impl IADsPathname_Vtbl { let this = (*this).get_impl(); IADsPathname_Impl::SetDisplayType(this, core::mem::transmute_copy(&lndisplaytype)).into() } - unsafe extern "system" fn Retrieve, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnformattype: i32, pbstradspath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Retrieve, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnformattype: i32, pbstradspath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPathname_Impl::Retrieve(this, core::mem::transmute_copy(&lnformattype)) { @@ -3441,7 +3441,7 @@ impl IADsPathname_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetElement, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnelementindex: i32, pbstrelement: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetElement, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnelementindex: i32, pbstrelement: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPathname_Impl::GetElement(this, core::mem::transmute_copy(&lnelementindex)) { @@ -3452,7 +3452,7 @@ impl IADsPathname_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddLeafElement, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrleafelement: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddLeafElement, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrleafelement: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPathname_Impl::AddLeafElement(this, core::mem::transmute(&bstrleafelement)).into() @@ -3473,7 +3473,7 @@ impl IADsPathname_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetEscapedElement, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnreserved: i32, bstrinstr: std::mem::MaybeUninit, pbstroutstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEscapedElement, Impl: IADsPathname_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnreserved: i32, bstrinstr: core::mem::MaybeUninit, pbstroutstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPathname_Impl::GetEscapedElement(this, core::mem::transmute_copy(&lnreserved), core::mem::transmute(&bstrinstr)) { @@ -3529,7 +3529,7 @@ impl windows_core::RuntimeName for IADsPostalAddress {} #[cfg(feature = "Win32_System_Com")] impl IADsPostalAddress_Vtbl { pub const fn new, Impl: IADsPostalAddress_Impl, const OFFSET: isize>() -> IADsPostalAddress_Vtbl { - unsafe extern "system" fn PostalAddress, Impl: IADsPostalAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PostalAddress, Impl: IADsPostalAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPostalAddress_Impl::PostalAddress(this) { @@ -3540,7 +3540,7 @@ impl IADsPostalAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPostalAddress, Impl: IADsPostalAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpostaladdress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPostalAddress, Impl: IADsPostalAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpostaladdress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPostalAddress_Impl::SetPostalAddress(this, core::mem::transmute(&vpostaladdress)).into() @@ -3581,7 +3581,7 @@ impl windows_core::RuntimeName for IADsPrintJob {} #[cfg(feature = "Win32_System_Com")] impl IADsPrintJob_Vtbl { pub const fn new, Impl: IADsPrintJob_Impl, const OFFSET: isize>() -> IADsPrintJob_Vtbl { - unsafe extern "system" fn HostPrintQueue, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HostPrintQueue, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintJob_Impl::HostPrintQueue(this) { @@ -3592,7 +3592,7 @@ impl IADsPrintJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn User, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn User, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintJob_Impl::User(this) { @@ -3603,7 +3603,7 @@ impl IADsPrintJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserPath, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserPath, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintJob_Impl::UserPath(this) { @@ -3647,7 +3647,7 @@ impl IADsPrintJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintJob_Impl::Description(this) { @@ -3658,7 +3658,7 @@ impl IADsPrintJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintJob_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() @@ -3711,7 +3711,7 @@ impl IADsPrintJob_Vtbl { let this = (*this).get_impl(); IADsPrintJob_Impl::SetUntilTime(this, core::mem::transmute_copy(&dauntiltime)).into() } - unsafe extern "system" fn Notify, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Notify, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintJob_Impl::Notify(this) { @@ -3722,12 +3722,12 @@ impl IADsPrintJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNotify, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnotify: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNotify, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnotify: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintJob_Impl::SetNotify(this, core::mem::transmute(&bstrnotify)).into() } - unsafe extern "system" fn NotifyPath, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NotifyPath, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintJob_Impl::NotifyPath(this) { @@ -3738,7 +3738,7 @@ impl IADsPrintJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNotifyPath, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnotifypath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNotifyPath, Impl: IADsPrintJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnotifypath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintJob_Impl::SetNotifyPath(this, core::mem::transmute(&bstrnotifypath)).into() @@ -3892,7 +3892,7 @@ impl windows_core::RuntimeName for IADsPrintQueue {} #[cfg(feature = "Win32_System_Com")] impl IADsPrintQueue_Vtbl { pub const fn new, Impl: IADsPrintQueue_Impl, const OFFSET: isize>() -> IADsPrintQueue_Vtbl { - unsafe extern "system" fn PrinterPath, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrinterPath, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintQueue_Impl::PrinterPath(this) { @@ -3903,12 +3903,12 @@ impl IADsPrintQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPrinterPath, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprinterpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPrinterPath, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprinterpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintQueue_Impl::SetPrinterPath(this, core::mem::transmute(&bstrprinterpath)).into() } - unsafe extern "system" fn Model, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Model, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintQueue_Impl::Model(this) { @@ -3919,12 +3919,12 @@ impl IADsPrintQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetModel, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmodel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetModel, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmodel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintQueue_Impl::SetModel(this, core::mem::transmute(&bstrmodel)).into() } - unsafe extern "system" fn Datatype, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Datatype, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintQueue_Impl::Datatype(this) { @@ -3935,12 +3935,12 @@ impl IADsPrintQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDatatype, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdatatype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDatatype, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdatatype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintQueue_Impl::SetDatatype(this, core::mem::transmute(&bstrdatatype)).into() } - unsafe extern "system" fn PrintProcessor, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrintProcessor, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintQueue_Impl::PrintProcessor(this) { @@ -3951,12 +3951,12 @@ impl IADsPrintQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPrintProcessor, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprintprocessor: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPrintProcessor, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprintprocessor: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintQueue_Impl::SetPrintProcessor(this, core::mem::transmute(&bstrprintprocessor)).into() } - unsafe extern "system" fn Description, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintQueue_Impl::Description(this) { @@ -3967,12 +3967,12 @@ impl IADsPrintQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintQueue_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn Location, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Location, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintQueue_Impl::Location(this) { @@ -3983,7 +3983,7 @@ impl IADsPrintQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocation, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocation: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocation, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlocation: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintQueue_Impl::SetLocation(this, core::mem::transmute(&bstrlocation)).into() @@ -4052,7 +4052,7 @@ impl IADsPrintQueue_Vtbl { let this = (*this).get_impl(); IADsPrintQueue_Impl::SetPriority(this, core::mem::transmute_copy(&lnpriority)).into() } - unsafe extern "system" fn BannerPage, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BannerPage, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintQueue_Impl::BannerPage(this) { @@ -4063,12 +4063,12 @@ impl IADsPrintQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBannerPage, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbannerpage: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBannerPage, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbannerpage: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintQueue_Impl::SetBannerPage(this, core::mem::transmute(&bstrbannerpage)).into() } - unsafe extern "system" fn PrintDevices, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrintDevices, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintQueue_Impl::PrintDevices(this) { @@ -4079,12 +4079,12 @@ impl IADsPrintQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPrintDevices, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vprintdevices: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPrintDevices, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vprintdevices: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintQueue_Impl::SetPrintDevices(this, core::mem::transmute(&vprintdevices)).into() } - unsafe extern "system" fn NetAddresses, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NetAddresses, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPrintQueue_Impl::NetAddresses(this) { @@ -4095,7 +4095,7 @@ impl IADsPrintQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNetAddresses, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vnetaddresses: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNetAddresses, Impl: IADsPrintQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vnetaddresses: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPrintQueue_Impl::SetNetAddresses(this, core::mem::transmute(&vnetaddresses)).into() @@ -4216,7 +4216,7 @@ impl windows_core::RuntimeName for IADsProperty {} #[cfg(feature = "Win32_System_Com")] impl IADsProperty_Vtbl { pub const fn new, Impl: IADsProperty_Impl, const OFFSET: isize>() -> IADsProperty_Vtbl { - unsafe extern "system" fn OID, Impl: IADsProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OID, Impl: IADsProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsProperty_Impl::OID(this) { @@ -4227,12 +4227,12 @@ impl IADsProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOID, Impl: IADsProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOID, Impl: IADsProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsProperty_Impl::SetOID(this, core::mem::transmute(&bstroid)).into() } - unsafe extern "system" fn Syntax, Impl: IADsProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Syntax, Impl: IADsProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsProperty_Impl::Syntax(this) { @@ -4243,7 +4243,7 @@ impl IADsProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSyntax, Impl: IADsProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsyntax: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSyntax, Impl: IADsProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsyntax: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsProperty_Impl::SetSyntax(this, core::mem::transmute(&bstrsyntax)).into() @@ -4348,7 +4348,7 @@ impl IADsPropertyEntry_Vtbl { let this = (*this).get_impl(); IADsPropertyEntry_Impl::Clear(this).into() } - unsafe extern "system" fn Name, Impl: IADsPropertyEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IADsPropertyEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyEntry_Impl::Name(this) { @@ -4359,7 +4359,7 @@ impl IADsPropertyEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IADsPropertyEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IADsPropertyEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyEntry_Impl::SetName(this, core::mem::transmute(&bstrname)).into() @@ -4396,7 +4396,7 @@ impl IADsPropertyEntry_Vtbl { let this = (*this).get_impl(); IADsPropertyEntry_Impl::SetControlCode(this, core::mem::transmute_copy(&lncontrolcode)).into() } - unsafe extern "system" fn Values, Impl: IADsPropertyEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Values, Impl: IADsPropertyEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyEntry_Impl::Values(this) { @@ -4407,7 +4407,7 @@ impl IADsPropertyEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValues, Impl: IADsPropertyEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vvalues: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValues, Impl: IADsPropertyEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vvalues: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyEntry_Impl::SetValues(this, core::mem::transmute(&vvalues)).into() @@ -4457,7 +4457,7 @@ impl IADsPropertyList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Next, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyList_Impl::Next(this, core::mem::transmute_copy(&pvariant)) @@ -4472,7 +4472,7 @@ impl IADsPropertyList_Vtbl { let this = (*this).get_impl(); IADsPropertyList_Impl::Reset(this).into() } - unsafe extern "system" fn Item, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyList_Impl::Item(this, core::mem::transmute(&varindex)) { @@ -4483,7 +4483,7 @@ impl IADsPropertyList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPropertyItem, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, lnadstype: i32, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyItem, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, lnadstype: i32, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyList_Impl::GetPropertyItem(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&lnadstype)) { @@ -4494,12 +4494,12 @@ impl IADsPropertyList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PutPropertyItem, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutPropertyItem, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyList_Impl::PutPropertyItem(this, core::mem::transmute(&vardata)).into() } - unsafe extern "system" fn ResetPropertyItem, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varentry: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResetPropertyItem, Impl: IADsPropertyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varentry: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyList_Impl::ResetPropertyItem(this, core::mem::transmute(&varentry)).into() @@ -4580,7 +4580,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); IADsPropertyValue_Impl::SetADsType(this, core::mem::transmute_copy(&lnadstype)).into() } - unsafe extern "system" fn DNString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DNString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyValue_Impl::DNString(this) { @@ -4591,12 +4591,12 @@ impl IADsPropertyValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDNString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdnstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDNString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdnstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyValue_Impl::SetDNString(this, core::mem::transmute(&bstrdnstring)).into() } - unsafe extern "system" fn CaseExactString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CaseExactString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyValue_Impl::CaseExactString(this) { @@ -4607,12 +4607,12 @@ impl IADsPropertyValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCaseExactString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaseexactstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCaseExactString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaseexactstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyValue_Impl::SetCaseExactString(this, core::mem::transmute(&bstrcaseexactstring)).into() } - unsafe extern "system" fn CaseIgnoreString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CaseIgnoreString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyValue_Impl::CaseIgnoreString(this) { @@ -4623,12 +4623,12 @@ impl IADsPropertyValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCaseIgnoreString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaseignorestring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCaseIgnoreString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaseignorestring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyValue_Impl::SetCaseIgnoreString(this, core::mem::transmute(&bstrcaseignorestring)).into() } - unsafe extern "system" fn PrintableString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrintableString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyValue_Impl::PrintableString(this) { @@ -4639,12 +4639,12 @@ impl IADsPropertyValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPrintableString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprintablestring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPrintableString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprintablestring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyValue_Impl::SetPrintableString(this, core::mem::transmute(&bstrprintablestring)).into() } - unsafe extern "system" fn NumericString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NumericString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyValue_Impl::NumericString(this) { @@ -4655,7 +4655,7 @@ impl IADsPropertyValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNumericString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnumericstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNumericString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnumericstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyValue_Impl::SetNumericString(this, core::mem::transmute(&bstrnumericstring)).into() @@ -4692,7 +4692,7 @@ impl IADsPropertyValue_Vtbl { let this = (*this).get_impl(); IADsPropertyValue_Impl::SetInteger(this, core::mem::transmute_copy(&lninteger)).into() } - unsafe extern "system" fn OctetString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OctetString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsPropertyValue_Impl::OctetString(this) { @@ -4703,7 +4703,7 @@ impl IADsPropertyValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOctetString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, voctetstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOctetString, Impl: IADsPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, voctetstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyValue_Impl::SetOctetString(this, core::mem::transmute(&voctetstring)).into() @@ -4799,12 +4799,12 @@ impl windows_core::RuntimeName for IADsPropertyValue2 {} #[cfg(feature = "Win32_System_Com")] impl IADsPropertyValue2_Vtbl { pub const fn new, Impl: IADsPropertyValue2_Impl, const OFFSET: isize>() -> IADsPropertyValue2_Vtbl { - unsafe extern "system" fn GetObjectProperty, Impl: IADsPropertyValue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnadstype: *mut i32, pvprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetObjectProperty, Impl: IADsPropertyValue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnadstype: *mut i32, pvprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyValue2_Impl::GetObjectProperty(this, core::mem::transmute_copy(&lnadstype), core::mem::transmute_copy(&pvprop)).into() } - unsafe extern "system" fn PutObjectProperty, Impl: IADsPropertyValue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnadstype: i32, vprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutObjectProperty, Impl: IADsPropertyValue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lnadstype: i32, vprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsPropertyValue2_Impl::PutObjectProperty(this, core::mem::transmute_copy(&lnadstype), core::mem::transmute(&vprop)).into() @@ -4837,7 +4837,7 @@ impl windows_core::RuntimeName for IADsReplicaPointer {} #[cfg(feature = "Win32_System_Com")] impl IADsReplicaPointer_Vtbl { pub const fn new, Impl: IADsReplicaPointer_Impl, const OFFSET: isize>() -> IADsReplicaPointer_Vtbl { - unsafe extern "system" fn ServerName, Impl: IADsReplicaPointer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServerName, Impl: IADsReplicaPointer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsReplicaPointer_Impl::ServerName(this) { @@ -4848,7 +4848,7 @@ impl IADsReplicaPointer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServerName, Impl: IADsReplicaPointer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServerName, Impl: IADsReplicaPointer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsReplicaPointer_Impl::SetServerName(this, core::mem::transmute(&bstrservername)).into() @@ -4901,7 +4901,7 @@ impl IADsReplicaPointer_Vtbl { let this = (*this).get_impl(); IADsReplicaPointer_Impl::SetCount(this, core::mem::transmute_copy(&lncount)).into() } - unsafe extern "system" fn ReplicaAddressHints, Impl: IADsReplicaPointer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReplicaAddressHints, Impl: IADsReplicaPointer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsReplicaPointer_Impl::ReplicaAddressHints(this) { @@ -4912,7 +4912,7 @@ impl IADsReplicaPointer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetReplicaAddressHints, Impl: IADsReplicaPointer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vreplicaaddresshints: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetReplicaAddressHints, Impl: IADsReplicaPointer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vreplicaaddresshints: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsReplicaPointer_Impl::SetReplicaAddressHints(this, core::mem::transmute(&vreplicaaddresshints)).into() @@ -4947,7 +4947,7 @@ impl windows_core::RuntimeName for IADsResource {} #[cfg(feature = "Win32_System_Com")] impl IADsResource_Vtbl { pub const fn new, Impl: IADsResource_Impl, const OFFSET: isize>() -> IADsResource_Vtbl { - unsafe extern "system" fn User, Impl: IADsResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn User, Impl: IADsResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsResource_Impl::User(this) { @@ -4958,7 +4958,7 @@ impl IADsResource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserPath, Impl: IADsResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserPath, Impl: IADsResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsResource_Impl::UserPath(this) { @@ -4969,7 +4969,7 @@ impl IADsResource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: IADsResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IADsResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsResource_Impl::Path(this) { @@ -5064,7 +5064,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); IADsSecurityDescriptor_Impl::SetControl(this, core::mem::transmute_copy(&lncontrol)).into() } - unsafe extern "system" fn Owner, Impl: IADsSecurityDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Owner, Impl: IADsSecurityDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::Owner(this) { @@ -5075,7 +5075,7 @@ impl IADsSecurityDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOwner, Impl: IADsSecurityDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrowner: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOwner, Impl: IADsSecurityDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrowner: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsSecurityDescriptor_Impl::SetOwner(this, core::mem::transmute(&bstrowner)).into() @@ -5096,7 +5096,7 @@ impl IADsSecurityDescriptor_Vtbl { let this = (*this).get_impl(); IADsSecurityDescriptor_Impl::SetOwnerDefaulted(this, core::mem::transmute_copy(&fownerdefaulted)).into() } - unsafe extern "system" fn Group, Impl: IADsSecurityDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Group, Impl: IADsSecurityDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsSecurityDescriptor_Impl::Group(this) { @@ -5107,7 +5107,7 @@ impl IADsSecurityDescriptor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetGroup, Impl: IADsSecurityDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroup: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGroup, Impl: IADsSecurityDescriptor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroup: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsSecurityDescriptor_Impl::SetGroup(this, core::mem::transmute(&bstrgroup)).into() @@ -5245,7 +5245,7 @@ impl windows_core::RuntimeName for IADsSecurityUtility {} #[cfg(feature = "Win32_System_Com")] impl IADsSecurityUtility_Vtbl { pub const fn new, Impl: IADsSecurityUtility_Impl, const OFFSET: isize>() -> IADsSecurityUtility_Vtbl { - unsafe extern "system" fn GetSecurityDescriptor, Impl: IADsSecurityUtility_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varpath: std::mem::MaybeUninit, lpathformat: i32, lformat: i32, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSecurityDescriptor, Impl: IADsSecurityUtility_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varpath: core::mem::MaybeUninit, lpathformat: i32, lformat: i32, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsSecurityUtility_Impl::GetSecurityDescriptor(this, core::mem::transmute(&varpath), core::mem::transmute_copy(&lpathformat), core::mem::transmute_copy(&lformat)) { @@ -5256,12 +5256,12 @@ impl IADsSecurityUtility_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSecurityDescriptor, Impl: IADsSecurityUtility_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varpath: std::mem::MaybeUninit, lpathformat: i32, vardata: std::mem::MaybeUninit, ldataformat: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurityDescriptor, Impl: IADsSecurityUtility_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varpath: core::mem::MaybeUninit, lpathformat: i32, vardata: core::mem::MaybeUninit, ldataformat: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsSecurityUtility_Impl::SetSecurityDescriptor(this, core::mem::transmute(&varpath), core::mem::transmute_copy(&lpathformat), core::mem::transmute(&vardata), core::mem::transmute_copy(&ldataformat)).into() } - unsafe extern "system" fn ConvertSecurityDescriptor, Impl: IADsSecurityUtility_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsd: std::mem::MaybeUninit, ldataformat: i32, loutformat: i32, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConvertSecurityDescriptor, Impl: IADsSecurityUtility_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsd: core::mem::MaybeUninit, ldataformat: i32, loutformat: i32, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsSecurityUtility_Impl::ConvertSecurityDescriptor(this, core::mem::transmute(&varsd), core::mem::transmute_copy(&ldataformat), core::mem::transmute_copy(&loutformat)) { @@ -5333,7 +5333,7 @@ impl windows_core::RuntimeName for IADsService {} #[cfg(feature = "Win32_System_Com")] impl IADsService_Vtbl { pub const fn new, Impl: IADsService_Impl, const OFFSET: isize>() -> IADsService_Vtbl { - unsafe extern "system" fn HostComputer, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HostComputer, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsService_Impl::HostComputer(this) { @@ -5344,12 +5344,12 @@ impl IADsService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHostComputer, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhostcomputer: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHostComputer, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhostcomputer: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsService_Impl::SetHostComputer(this, core::mem::transmute(&bstrhostcomputer)).into() } - unsafe extern "system" fn DisplayName, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsService_Impl::DisplayName(this) { @@ -5360,12 +5360,12 @@ impl IADsService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdisplayname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdisplayname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsService_Impl::SetDisplayName(this, core::mem::transmute(&bstrdisplayname)).into() } - unsafe extern "system" fn Version, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Version, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsService_Impl::Version(this) { @@ -5376,7 +5376,7 @@ impl IADsService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetVersion, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrversion: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetVersion, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrversion: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsService_Impl::SetVersion(this, core::mem::transmute(&bstrversion)).into() @@ -5413,7 +5413,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); IADsService_Impl::SetStartType(this, core::mem::transmute_copy(&lnstarttype)).into() } - unsafe extern "system" fn Path, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsService_Impl::Path(this) { @@ -5424,12 +5424,12 @@ impl IADsService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPath, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPath, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsService_Impl::SetPath(this, core::mem::transmute(&bstrpath)).into() } - unsafe extern "system" fn StartupParameters, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StartupParameters, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsService_Impl::StartupParameters(this) { @@ -5440,7 +5440,7 @@ impl IADsService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStartupParameters, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstartupparameters: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStartupParameters, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrstartupparameters: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsService_Impl::SetStartupParameters(this, core::mem::transmute(&bstrstartupparameters)).into() @@ -5461,7 +5461,7 @@ impl IADsService_Vtbl { let this = (*this).get_impl(); IADsService_Impl::SetErrorControl(this, core::mem::transmute_copy(&lnerrorcontrol)).into() } - unsafe extern "system" fn LoadOrderGroup, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoadOrderGroup, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsService_Impl::LoadOrderGroup(this) { @@ -5472,12 +5472,12 @@ impl IADsService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLoadOrderGroup, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrloadordergroup: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLoadOrderGroup, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrloadordergroup: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsService_Impl::SetLoadOrderGroup(this, core::mem::transmute(&bstrloadordergroup)).into() } - unsafe extern "system" fn ServiceAccountName, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceAccountName, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsService_Impl::ServiceAccountName(this) { @@ -5488,12 +5488,12 @@ impl IADsService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServiceAccountName, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserviceaccountname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServiceAccountName, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserviceaccountname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsService_Impl::SetServiceAccountName(this, core::mem::transmute(&bstrserviceaccountname)).into() } - unsafe extern "system" fn ServiceAccountPath, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceAccountPath, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsService_Impl::ServiceAccountPath(this) { @@ -5504,12 +5504,12 @@ impl IADsService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServiceAccountPath, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserviceaccountpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServiceAccountPath, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserviceaccountpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsService_Impl::SetServiceAccountPath(this, core::mem::transmute(&bstrserviceaccountpath)).into() } - unsafe extern "system" fn Dependencies, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Dependencies, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsService_Impl::Dependencies(this) { @@ -5520,7 +5520,7 @@ impl IADsService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDependencies, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdependencies: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDependencies, Impl: IADsService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdependencies: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsService_Impl::SetDependencies(this, core::mem::transmute(&vdependencies)).into() @@ -5602,7 +5602,7 @@ impl IADsServiceOperations_Vtbl { let this = (*this).get_impl(); IADsServiceOperations_Impl::Continue(this).into() } - unsafe extern "system" fn SetPassword, Impl: IADsServiceOperations_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnewpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPassword, Impl: IADsServiceOperations_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnewpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsServiceOperations_Impl::SetPassword(this, core::mem::transmute(&bstrnewpassword)).into() @@ -5635,7 +5635,7 @@ impl windows_core::RuntimeName for IADsSession {} #[cfg(feature = "Win32_System_Com")] impl IADsSession_Vtbl { pub const fn new, Impl: IADsSession_Impl, const OFFSET: isize>() -> IADsSession_Vtbl { - unsafe extern "system" fn User, Impl: IADsSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn User, Impl: IADsSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsSession_Impl::User(this) { @@ -5646,7 +5646,7 @@ impl IADsSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserPath, Impl: IADsSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserPath, Impl: IADsSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsSession_Impl::UserPath(this) { @@ -5657,7 +5657,7 @@ impl IADsSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Computer, Impl: IADsSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Computer, Impl: IADsSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsSession_Impl::Computer(this) { @@ -5668,7 +5668,7 @@ impl IADsSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ComputerPath, Impl: IADsSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ComputerPath, Impl: IADsSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsSession_Impl::ComputerPath(this) { @@ -5821,7 +5821,7 @@ impl windows_core::RuntimeName for IADsTypedName {} #[cfg(feature = "Win32_System_Com")] impl IADsTypedName_Vtbl { pub const fn new, Impl: IADsTypedName_Impl, const OFFSET: isize>() -> IADsTypedName_Vtbl { - unsafe extern "system" fn ObjectName, Impl: IADsTypedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ObjectName, Impl: IADsTypedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsTypedName_Impl::ObjectName(this) { @@ -5832,7 +5832,7 @@ impl IADsTypedName_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetObjectName, Impl: IADsTypedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetObjectName, Impl: IADsTypedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsTypedName_Impl::SetObjectName(this, core::mem::transmute(&bstrobjectname)).into() @@ -5982,7 +5982,7 @@ impl windows_core::RuntimeName for IADsUser {} #[cfg(feature = "Win32_System_Com")] impl IADsUser_Vtbl { pub const fn new, Impl: IADsUser_Impl, const OFFSET: isize>() -> IADsUser_Vtbl { - unsafe extern "system" fn BadLoginAddress, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BadLoginAddress, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::BadLoginAddress(this) { @@ -6048,7 +6048,7 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::Description(this) { @@ -6059,12 +6059,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn Division, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Division, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::Division(this) { @@ -6075,12 +6075,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDivision, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdivision: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDivision, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdivision: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetDivision(this, core::mem::transmute(&bstrdivision)).into() } - unsafe extern "system" fn Department, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Department, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::Department(this) { @@ -6091,12 +6091,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDepartment, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdepartment: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDepartment, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdepartment: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetDepartment(this, core::mem::transmute(&bstrdepartment)).into() } - unsafe extern "system" fn EmployeeID, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EmployeeID, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::EmployeeID(this) { @@ -6107,12 +6107,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEmployeeID, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstremployeeid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEmployeeID, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstremployeeid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetEmployeeID(this, core::mem::transmute(&bstremployeeid)).into() } - unsafe extern "system" fn FullName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FullName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::FullName(this) { @@ -6123,12 +6123,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFullName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfullname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFullName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfullname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetFullName(this, core::mem::transmute(&bstrfullname)).into() } - unsafe extern "system" fn FirstName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FirstName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::FirstName(this) { @@ -6139,12 +6139,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFirstName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfirstname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFirstName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfirstname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetFirstName(this, core::mem::transmute(&bstrfirstname)).into() } - unsafe extern "system" fn LastName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::LastName(this) { @@ -6155,12 +6155,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLastName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlastname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLastName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlastname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetLastName(this, core::mem::transmute(&bstrlastname)).into() } - unsafe extern "system" fn OtherName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OtherName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::OtherName(this) { @@ -6171,12 +6171,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOtherName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrothername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOtherName, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrothername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetOtherName(this, core::mem::transmute(&bstrothername)).into() } - unsafe extern "system" fn NamePrefix, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NamePrefix, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::NamePrefix(this) { @@ -6187,12 +6187,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNamePrefix, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnameprefix: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNamePrefix, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnameprefix: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetNamePrefix(this, core::mem::transmute(&bstrnameprefix)).into() } - unsafe extern "system" fn NameSuffix, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NameSuffix, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::NameSuffix(this) { @@ -6203,12 +6203,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNameSuffix, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnamesuffix: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNameSuffix, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnamesuffix: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetNameSuffix(this, core::mem::transmute(&bstrnamesuffix)).into() } - unsafe extern "system" fn Title, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::Title(this) { @@ -6219,12 +6219,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTitle, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtitle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTitle, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtitle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetTitle(this, core::mem::transmute(&bstrtitle)).into() } - unsafe extern "system" fn Manager, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Manager, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::Manager(this) { @@ -6235,12 +6235,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetManager, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmanager: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetManager, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmanager: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetManager(this, core::mem::transmute(&bstrmanager)).into() } - unsafe extern "system" fn TelephoneHome, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TelephoneHome, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::TelephoneHome(this) { @@ -6251,12 +6251,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTelephoneHome, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtelephonehome: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTelephoneHome, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtelephonehome: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetTelephoneHome(this, core::mem::transmute(&vtelephonehome)).into() } - unsafe extern "system" fn TelephoneMobile, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TelephoneMobile, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::TelephoneMobile(this) { @@ -6267,12 +6267,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTelephoneMobile, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtelephonemobile: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTelephoneMobile, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtelephonemobile: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetTelephoneMobile(this, core::mem::transmute(&vtelephonemobile)).into() } - unsafe extern "system" fn TelephoneNumber, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TelephoneNumber, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::TelephoneNumber(this) { @@ -6283,12 +6283,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTelephoneNumber, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtelephonenumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTelephoneNumber, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtelephonenumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetTelephoneNumber(this, core::mem::transmute(&vtelephonenumber)).into() } - unsafe extern "system" fn TelephonePager, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TelephonePager, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::TelephonePager(this) { @@ -6299,12 +6299,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTelephonePager, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtelephonepager: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTelephonePager, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtelephonepager: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetTelephonePager(this, core::mem::transmute(&vtelephonepager)).into() } - unsafe extern "system" fn FaxNumber, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FaxNumber, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::FaxNumber(this) { @@ -6315,12 +6315,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFaxNumber, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vfaxnumber: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFaxNumber, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vfaxnumber: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetFaxNumber(this, core::mem::transmute(&vfaxnumber)).into() } - unsafe extern "system" fn OfficeLocations, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OfficeLocations, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::OfficeLocations(this) { @@ -6331,12 +6331,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOfficeLocations, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vofficelocations: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOfficeLocations, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vofficelocations: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetOfficeLocations(this, core::mem::transmute(&vofficelocations)).into() } - unsafe extern "system" fn PostalAddresses, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PostalAddresses, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::PostalAddresses(this) { @@ -6347,12 +6347,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPostalAddresses, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpostaladdresses: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPostalAddresses, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpostaladdresses: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetPostalAddresses(this, core::mem::transmute(&vpostaladdresses)).into() } - unsafe extern "system" fn PostalCodes, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PostalCodes, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::PostalCodes(this) { @@ -6363,12 +6363,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPostalCodes, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpostalcodes: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPostalCodes, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpostalcodes: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetPostalCodes(this, core::mem::transmute(&vpostalcodes)).into() } - unsafe extern "system" fn SeeAlso, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SeeAlso, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::SeeAlso(this) { @@ -6379,7 +6379,7 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSeeAlso, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vseealso: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSeeAlso, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vseealso: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetSeeAlso(this, core::mem::transmute(&vseealso)).into() @@ -6464,7 +6464,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); IADsUser_Impl::SetIsAccountLocked(this, core::mem::transmute_copy(&fisaccountlocked)).into() } - unsafe extern "system" fn LoginHours, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoginHours, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::LoginHours(this) { @@ -6475,12 +6475,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLoginHours, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vloginhours: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLoginHours, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vloginhours: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetLoginHours(this, core::mem::transmute(&vloginhours)).into() } - unsafe extern "system" fn LoginWorkstations, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoginWorkstations, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::LoginWorkstations(this) { @@ -6491,7 +6491,7 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLoginWorkstations, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vloginworkstations: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLoginWorkstations, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vloginworkstations: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetLoginWorkstations(this, core::mem::transmute(&vloginworkstations)).into() @@ -6592,7 +6592,7 @@ impl IADsUser_Vtbl { let this = (*this).get_impl(); IADsUser_Impl::SetRequireUniquePassword(this, core::mem::transmute_copy(&frequireuniquepassword)).into() } - unsafe extern "system" fn EmailAddress, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EmailAddress, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::EmailAddress(this) { @@ -6603,12 +6603,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEmailAddress, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstremailaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEmailAddress, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstremailaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetEmailAddress(this, core::mem::transmute(&bstremailaddress)).into() } - unsafe extern "system" fn HomeDirectory, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HomeDirectory, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::HomeDirectory(this) { @@ -6619,12 +6619,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHomeDirectory, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhomedirectory: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHomeDirectory, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhomedirectory: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetHomeDirectory(this, core::mem::transmute(&bstrhomedirectory)).into() } - unsafe extern "system" fn Languages, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Languages, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::Languages(this) { @@ -6635,12 +6635,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLanguages, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vlanguages: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLanguages, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vlanguages: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetLanguages(this, core::mem::transmute(&vlanguages)).into() } - unsafe extern "system" fn Profile, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Profile, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::Profile(this) { @@ -6651,12 +6651,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProfile, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprofile: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProfile, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprofile: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetProfile(this, core::mem::transmute(&bstrprofile)).into() } - unsafe extern "system" fn LoginScript, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoginScript, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::LoginScript(this) { @@ -6667,12 +6667,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLoginScript, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrloginscript: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLoginScript, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrloginscript: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetLoginScript(this, core::mem::transmute(&bstrloginscript)).into() } - unsafe extern "system" fn Picture, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Picture, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::Picture(this) { @@ -6683,12 +6683,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPicture, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpicture: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPicture, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vpicture: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetPicture(this, core::mem::transmute(&vpicture)).into() } - unsafe extern "system" fn HomePage, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HomePage, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsUser_Impl::HomePage(this) { @@ -6699,7 +6699,7 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHomePage, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhomepage: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHomePage, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrhomepage: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetHomePage(this, core::mem::transmute(&bstrhomepage)).into() @@ -6715,12 +6715,12 @@ impl IADsUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPassword, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPassword, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::SetPassword(this, core::mem::transmute(&newpassword)).into() } - unsafe extern "system" fn ChangePassword, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroldpassword: std::mem::MaybeUninit, bstrnewpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChangePassword, Impl: IADsUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroldpassword: core::mem::MaybeUninit, bstrnewpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsUser_Impl::ChangePassword(this, core::mem::transmute(&bstroldpassword), core::mem::transmute(&bstrnewpassword)).into() @@ -6836,7 +6836,7 @@ impl windows_core::RuntimeName for IADsWinNTSystemInfo {} #[cfg(feature = "Win32_System_Com")] impl IADsWinNTSystemInfo_Vtbl { pub const fn new, Impl: IADsWinNTSystemInfo_Impl, const OFFSET: isize>() -> IADsWinNTSystemInfo_Vtbl { - unsafe extern "system" fn UserName, Impl: IADsWinNTSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserName, Impl: IADsWinNTSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsWinNTSystemInfo_Impl::UserName(this) { @@ -6847,7 +6847,7 @@ impl IADsWinNTSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ComputerName, Impl: IADsWinNTSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ComputerName, Impl: IADsWinNTSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsWinNTSystemInfo_Impl::ComputerName(this) { @@ -6858,7 +6858,7 @@ impl IADsWinNTSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DomainName, Impl: IADsWinNTSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DomainName, Impl: IADsWinNTSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsWinNTSystemInfo_Impl::DomainName(this) { @@ -6869,7 +6869,7 @@ impl IADsWinNTSystemInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PDC, Impl: IADsWinNTSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PDC, Impl: IADsWinNTSystemInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsWinNTSystemInfo_Impl::PDC(this) { @@ -7241,7 +7241,7 @@ impl IDsAdminNewObjExt_Vtbl { let this = (*this).get_impl(); IDsAdminNewObjExt_Impl::OnError(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&hr), core::mem::transmute_copy(&ucontext)).into() } - unsafe extern "system" fn GetSummaryInfo, Impl: IDsAdminNewObjExt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSummaryInfo, Impl: IDsAdminNewObjExt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDsAdminNewObjExt_Impl::GetSummaryInfo(this, core::mem::transmute_copy(&pbstrtext)).into() @@ -7304,7 +7304,7 @@ impl IDsAdminNotifyHandler_Vtbl { let this = (*this).get_impl(); IDsAdminNotifyHandler_Impl::Initialize(this, windows_core::from_raw_borrowed(&pextrainfo), core::mem::transmute_copy(&pueventflags)).into() } - unsafe extern "system" fn Begin, Impl: IDsAdminNotifyHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uevent: u32, parg1: *mut core::ffi::c_void, parg2: *mut core::ffi::c_void, puflags: *mut u32, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Begin, Impl: IDsAdminNotifyHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uevent: u32, parg1: *mut core::ffi::c_void, parg2: *mut core::ffi::c_void, puflags: *mut u32, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDsAdminNotifyHandler_Impl::Begin(this, core::mem::transmute_copy(&uevent), windows_core::from_raw_borrowed(&parg1), windows_core::from_raw_borrowed(&parg2), core::mem::transmute_copy(&puflags), core::mem::transmute_copy(&pbstr)).into() @@ -7644,7 +7644,7 @@ impl IPrivateDispatch_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ADSIInvoke, Impl: IPrivateDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, riid: *const windows_core::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Com::DISPPARAMS, pvarresult: *mut std::mem::MaybeUninit, pexcepinfo: *mut super::super::System::Com::EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn ADSIInvoke, Impl: IPrivateDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, riid: *const windows_core::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Com::DISPPARAMS, pvarresult: *mut core::mem::MaybeUninit, pexcepinfo: *mut super::super::System::Com::EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrivateDispatch_Impl::ADSIInvoke(this, core::mem::transmute_copy(&dispidmember), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&pdispparams), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&pexcepinfo), core::mem::transmute_copy(&puargerr)).into() @@ -7669,7 +7669,7 @@ pub trait IPrivateUnknown_Impl: Sized { impl windows_core::RuntimeName for IPrivateUnknown {} impl IPrivateUnknown_Vtbl { pub const fn new, Impl: IPrivateUnknown_Impl, const OFFSET: isize>() -> IPrivateUnknown_Vtbl { - unsafe extern "system" fn ADSIInitializeObject, Impl: IPrivateUnknown_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszusername: std::mem::MaybeUninit, lpszpassword: std::mem::MaybeUninit, lnreserved: i32) -> windows_core::HRESULT { + unsafe extern "system" fn ADSIInitializeObject, Impl: IPrivateUnknown_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszusername: core::mem::MaybeUninit, lpszpassword: core::mem::MaybeUninit, lnreserved: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrivateUnknown_Impl::ADSIInitializeObject(this, core::mem::transmute(&lpszusername), core::mem::transmute(&lpszpassword), core::mem::transmute_copy(&lnreserved)).into() 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 1e11021dec..b318e19d24 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -5,17 +5,17 @@ where P0: windows_core::Param, { windows_targets::link!("activeds.dll" "system" fn ADsBuildEnumerator(padscontainer : * mut core::ffi::c_void, ppenumvariant : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ADsBuildEnumerator(padscontainer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn ADsBuildVarArrayInt(lpdwobjecttypes: *mut u32, dwobjecttypes: u32, pvar: *mut windows_core::VARIANT) -> windows_core::Result<()> { - windows_targets::link!("activeds.dll" "system" fn ADsBuildVarArrayInt(lpdwobjecttypes : *mut u32, dwobjecttypes : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("activeds.dll" "system" fn ADsBuildVarArrayInt(lpdwobjecttypes : *mut u32, dwobjecttypes : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); ADsBuildVarArrayInt(lpdwobjecttypes, dwobjecttypes, core::mem::transmute(pvar)).ok() } #[inline] pub unsafe fn ADsBuildVarArrayStr(lpppathnames: &[windows_core::PCWSTR], pvar: *mut windows_core::VARIANT) -> windows_core::Result<()> { - windows_targets::link!("activeds.dll" "system" fn ADsBuildVarArrayStr(lpppathnames : *const windows_core::PCWSTR, dwpathnames : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("activeds.dll" "system" fn ADsBuildVarArrayStr(lpppathnames : *const windows_core::PCWSTR, dwpathnames : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); ADsBuildVarArrayStr(core::mem::transmute(lpppathnames.as_ptr()), lpppathnames.len().try_into().unwrap(), core::mem::transmute(pvar)).ok() } #[inline] @@ -37,7 +37,7 @@ pub unsafe fn ADsEnumerateNext(penumvariant: P0, celements: u32, pvar: *mut where P0: windows_core::Param, { - windows_targets::link!("activeds.dll" "system" fn ADsEnumerateNext(penumvariant : * mut core::ffi::c_void, celements : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >, pcelementsfetched : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("activeds.dll" "system" fn ADsEnumerateNext(penumvariant : * mut core::ffi::c_void, celements : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >, pcelementsfetched : *mut u32) -> windows_core::HRESULT); ADsEnumerateNext(penumvariant.param().abi(), celements, core::mem::transmute(pvar), pcelementsfetched).ok() } #[cfg(feature = "Win32_System_Ole")] @@ -149,7 +149,7 @@ pub unsafe fn AdsFreeAdsValues(padsvalues: *mut ADSVALUE, dwnumvalues: u32) { } #[inline] pub unsafe fn AdsTypeToPropVariant(padsvalues: *mut ADSVALUE, dwnumvalues: u32, pvariant: *mut windows_core::VARIANT) -> windows_core::Result<()> { - windows_targets::link!("activeds.dll" "system" fn AdsTypeToPropVariant(padsvalues : *mut ADSVALUE, dwnumvalues : u32, pvariant : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("activeds.dll" "system" fn AdsTypeToPropVariant(padsvalues : *mut ADSVALUE, dwnumvalues : u32, pvariant : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); AdsTypeToPropVariant(padsvalues, dwnumvalues, core::mem::transmute(pvariant)).ok() } #[inline] @@ -174,7 +174,7 @@ where P2: windows_core::Param, P3: windows_core::Param, { - windows_targets::link!("activeds.dll" "system" fn BinarySDToSecurityDescriptor(psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, pvarsec : *mut std::mem::MaybeUninit < windows_core::VARIANT >, pszservername : windows_core::PCWSTR, username : windows_core::PCWSTR, password : windows_core::PCWSTR, dwflags : u32) -> windows_core::HRESULT); + windows_targets::link!("activeds.dll" "system" fn BinarySDToSecurityDescriptor(psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, pvarsec : *mut core::mem::MaybeUninit < windows_core::VARIANT >, pszservername : windows_core::PCWSTR, username : windows_core::PCWSTR, password : windows_core::PCWSTR, dwflags : u32) -> windows_core::HRESULT); BinarySDToSecurityDescriptor(psecuritydescriptor.param().abi(), core::mem::transmute(pvarsec), pszservername.param().abi(), username.param().abi(), password.param().abi(), dwflags).ok() } #[inline] @@ -1271,7 +1271,7 @@ where } #[inline] pub unsafe fn PropVariantToAdsType(pvariant: *mut windows_core::VARIANT, dwnumvariant: u32, ppadsvalues: *mut *mut ADSVALUE, pdwnumvalues: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("activeds.dll" "system" fn PropVariantToAdsType(pvariant : *mut std::mem::MaybeUninit < windows_core::VARIANT >, dwnumvariant : u32, ppadsvalues : *mut *mut ADSVALUE, pdwnumvalues : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("activeds.dll" "system" fn PropVariantToAdsType(pvariant : *mut core::mem::MaybeUninit < windows_core::VARIANT >, dwnumvariant : u32, ppadsvalues : *mut *mut ADSVALUE, pdwnumvalues : *mut u32) -> windows_core::HRESULT); PropVariantToAdsType(core::mem::transmute(pvariant), dwnumvariant, ppadsvalues, pdwnumvalues).ok() } #[inline] @@ -1296,7 +1296,7 @@ where P2: windows_core::Param, P3: windows_core::Param, { - windows_targets::link!("activeds.dll" "system" fn SecurityDescriptorToBinarySD(vvarsecdes : std::mem::MaybeUninit < windows_core::VARIANT >, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, pdwsdlength : *mut u32, pszservername : windows_core::PCWSTR, username : windows_core::PCWSTR, password : windows_core::PCWSTR, dwflags : u32) -> windows_core::HRESULT); + windows_targets::link!("activeds.dll" "system" fn SecurityDescriptorToBinarySD(vvarsecdes : core::mem::MaybeUninit < windows_core::VARIANT >, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, pdwsdlength : *mut u32, pszservername : windows_core::PCWSTR, username : windows_core::PCWSTR, password : windows_core::PCWSTR, dwflags : u32) -> windows_core::HRESULT); SecurityDescriptorToBinarySD(vvarsecdes.param().abi(), ppsecuritydescriptor, pdwsdlength, pszservername.param().abi(), username.param().abi(), password.param().abi(), dwflags).ok() } #[cfg(feature = "Win32_System_Com")] @@ -1305,7 +1305,7 @@ windows_core::imp::define_interface!(IADs, IADs_Vtbl, 0xfd8256d0_fd15_11ce_abc4_ impl std::ops::Deref for IADs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1313,27 +1313,27 @@ windows_core::imp::interface_hierarchy!(IADs, windows_core::IUnknown, super::sup #[cfg(feature = "Win32_System_Com")] impl IADs { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Class(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Class)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GUID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ADsPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ADsPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Schema(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Schema)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInfo(&self) -> windows_core::Result<()> { @@ -1346,7 +1346,7 @@ impl IADs { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Put(&self, bstrname: P0, vprop: P1) -> windows_core::Result<()> @@ -1360,7 +1360,7 @@ impl IADs { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEx)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PutEx(&self, lncontrolcode: i32, bstrname: P0, vprop: P1) -> windows_core::Result<()> @@ -1381,19 +1381,19 @@ impl IADs { #[repr(C)] pub struct IADs_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Class: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GUID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Schema: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Class: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GUID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Schema: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetInfoEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetInfoEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsADSystemInfo, IADsADSystemInfo_Vtbl, 0x5bb11929_afd1_11d2_9cb9_0000f87a369e); @@ -1401,7 +1401,7 @@ windows_core::imp::define_interface!(IADsADSystemInfo, IADsADSystemInfo_Vtbl, 0x impl std::ops::Deref for IADsADSystemInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1409,57 +1409,57 @@ windows_core::imp::interface_hierarchy!(IADsADSystemInfo, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IADsADSystemInfo { pub unsafe fn UserName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ComputerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SiteName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SiteName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DomainShortName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DomainShortName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DomainDNSName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DomainDNSName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ForestDNSName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ForestDNSName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PDCRoleOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PDCRoleOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SchemaRoleOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SchemaRoleOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsNativeMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsNativeMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAnyDCName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAnyDCName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDCSiteName(&self, szserver: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDCSiteName)(windows_core::Interface::as_raw(self), szserver.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RefreshSchemaCache(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).RefreshSchemaCache)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetTrees(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTrees)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1467,19 +1467,19 @@ impl IADsADSystemInfo { #[repr(C)] pub struct IADsADSystemInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ComputerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SiteName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DomainShortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DomainDNSName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ForestDNSName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PDCRoleOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SchemaRoleOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ComputerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SiteName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DomainShortName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DomainDNSName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ForestDNSName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PDCRoleOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SchemaRoleOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsNativeMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetAnyDCName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDCSiteName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAnyDCName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDCSiteName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RefreshSchemaCache: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetTrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsAccessControlEntry, IADsAccessControlEntry_Vtbl, 0xb4f3a14c_9bdd_11d0_852c_00c04fd8d503); @@ -1487,7 +1487,7 @@ windows_core::imp::define_interface!(IADsAccessControlEntry, IADsAccessControlEn impl std::ops::Deref for IADsAccessControlEntry { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1495,35 +1495,35 @@ windows_core::imp::interface_hierarchy!(IADsAccessControlEntry, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IADsAccessControlEntry { pub unsafe fn AccessMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AccessMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AceType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AceFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFlags(&self, lnflags: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetFlags)(windows_core::Interface::as_raw(self), lnflags).ok() } pub unsafe fn ObjectType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetObjectType(&self, bstrobjecttype: P0) -> windows_core::Result<()> @@ -1533,7 +1533,7 @@ impl IADsAccessControlEntry { (windows_core::Interface::vtable(self).SetObjectType)(windows_core::Interface::as_raw(self), bstrobjecttype.param().abi()).ok() } pub unsafe fn InheritedObjectType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InheritedObjectType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInheritedObjectType(&self, bstrinheritedobjecttype: P0) -> windows_core::Result<()> @@ -1543,7 +1543,7 @@ impl IADsAccessControlEntry { (windows_core::Interface::vtable(self).SetInheritedObjectType)(windows_core::Interface::as_raw(self), bstrinheritedobjecttype.param().abi()).ok() } pub unsafe fn Trustee(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Trustee)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTrustee(&self, bstrtrustee: P0) -> windows_core::Result<()> @@ -1565,12 +1565,12 @@ pub struct IADsAccessControlEntry_Vtbl { pub SetAceFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub ObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InheritedObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInheritedObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Trustee: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTrustee: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InheritedObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInheritedObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Trustee: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTrustee: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsAccessControlList, IADsAccessControlList_Vtbl, 0xb7ee91cc_9bdd_11d0_852c_00c04fd8d503); @@ -1578,7 +1578,7 @@ windows_core::imp::define_interface!(IADsAccessControlList, IADsAccessControlLis impl std::ops::Deref for IADsAccessControlList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1586,14 +1586,14 @@ windows_core::imp::interface_hierarchy!(IADsAccessControlList, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IADsAccessControlList { pub unsafe fn AclRevision(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AclRevision)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAceCount(&self, lnacecount: i32) -> windows_core::Result<()> { @@ -1615,11 +1615,11 @@ impl IADsAccessControlList { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CopyAccessList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyAccessList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1651,7 +1651,7 @@ windows_core::imp::define_interface!(IADsAcl, IADsAcl_Vtbl, 0x8452d3ab_0869_11d1 impl std::ops::Deref for IADsAcl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1659,7 +1659,7 @@ windows_core::imp::interface_hierarchy!(IADsAcl, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl IADsAcl { pub unsafe fn ProtectedAttrName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProtectedAttrName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProtectedAttrName(&self, bstrprotectedattrname: P0) -> windows_core::Result<()> @@ -1669,7 +1669,7 @@ impl IADsAcl { (windows_core::Interface::vtable(self).SetProtectedAttrName)(windows_core::Interface::as_raw(self), bstrprotectedattrname.param().abi()).ok() } pub unsafe fn SubjectName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubjectName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubjectName(&self, bstrsubjectname: P0) -> windows_core::Result<()> @@ -1679,7 +1679,7 @@ impl IADsAcl { (windows_core::Interface::vtable(self).SetSubjectName)(windows_core::Interface::as_raw(self), bstrsubjectname.param().abi()).ok() } pub unsafe fn Privileges(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Privileges)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPrivileges(&self, lnprivileges: i32) -> windows_core::Result<()> { @@ -1687,7 +1687,7 @@ impl IADsAcl { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CopyAcl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyAcl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1695,10 +1695,10 @@ impl IADsAcl { #[repr(C)] pub struct IADsAcl_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ProtectedAttrName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProtectedAttrName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SubjectName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubjectName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProtectedAttrName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProtectedAttrName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubjectName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubjectName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Privileges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPrivileges: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -1710,7 +1710,7 @@ windows_core::imp::define_interface!(IADsAggregatee, IADsAggregatee_Vtbl, 0x1346 impl std::ops::Deref for IADsAggregatee { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IADsAggregatee, windows_core::IUnknown); @@ -1743,7 +1743,7 @@ windows_core::imp::define_interface!(IADsAggregator, IADsAggregator_Vtbl, 0x52db impl std::ops::Deref for IADsAggregator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IADsAggregator, windows_core::IUnknown); @@ -1770,7 +1770,7 @@ windows_core::imp::define_interface!(IADsBackLink, IADsBackLink_Vtbl, 0xfd1302bd impl std::ops::Deref for IADsBackLink { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1778,14 +1778,14 @@ windows_core::imp::interface_hierarchy!(IADsBackLink, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IADsBackLink { pub unsafe fn RemoteID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRemoteID(&self, lnremoteid: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetRemoteID)(windows_core::Interface::as_raw(self), lnremoteid).ok() } pub unsafe fn ObjectName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetObjectName(&self, bstrobjectname: P0) -> windows_core::Result<()> @@ -1801,8 +1801,8 @@ pub struct IADsBackLink_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub RemoteID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetRemoteID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub ObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsCaseIgnoreList, IADsCaseIgnoreList_Vtbl, 0x7b66b533_4680_11d1_a3b4_00c04fb950dc); @@ -1810,7 +1810,7 @@ windows_core::imp::define_interface!(IADsCaseIgnoreList, IADsCaseIgnoreList_Vtbl impl std::ops::Deref for IADsCaseIgnoreList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1818,7 +1818,7 @@ windows_core::imp::interface_hierarchy!(IADsCaseIgnoreList, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IADsCaseIgnoreList { pub unsafe fn CaseIgnoreList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CaseIgnoreList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCaseIgnoreList(&self, vcaseignorelist: P0) -> windows_core::Result<()> @@ -1832,8 +1832,8 @@ impl IADsCaseIgnoreList { #[repr(C)] pub struct IADsCaseIgnoreList_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub CaseIgnoreList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCaseIgnoreList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CaseIgnoreList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCaseIgnoreList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsClass, IADsClass_Vtbl, 0xc8f93dd0_4ae0_11cf_9e73_00aa004a5691); @@ -1841,7 +1841,7 @@ windows_core::imp::define_interface!(IADsClass, IADsClass_Vtbl, 0xc8f93dd0_4ae0_ impl std::ops::Deref for IADsClass { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1849,11 +1849,11 @@ windows_core::imp::interface_hierarchy!(IADsClass, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IADsClass { pub unsafe fn PrimaryInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrimaryInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCLSID(&self, bstrclsid: P0) -> windows_core::Result<()> @@ -1863,7 +1863,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetCLSID)(windows_core::Interface::as_raw(self), bstrclsid.param().abi()).ok() } pub unsafe fn OID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOID(&self, bstroid: P0) -> windows_core::Result<()> @@ -1873,7 +1873,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetOID)(windows_core::Interface::as_raw(self), bstroid.param().abi()).ok() } pub unsafe fn Abstract(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Abstract)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAbstract(&self, fabstract: P0) -> windows_core::Result<()> @@ -1883,7 +1883,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetAbstract)(windows_core::Interface::as_raw(self), fabstract.param().abi()).ok() } pub unsafe fn Auxiliary(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Auxiliary)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAuxiliary(&self, fauxiliary: P0) -> windows_core::Result<()> @@ -1893,7 +1893,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetAuxiliary)(windows_core::Interface::as_raw(self), fauxiliary.param().abi()).ok() } pub unsafe fn MandatoryProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MandatoryProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMandatoryProperties(&self, vmandatoryproperties: P0) -> windows_core::Result<()> @@ -1903,7 +1903,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetMandatoryProperties)(windows_core::Interface::as_raw(self), vmandatoryproperties.param().abi()).ok() } pub unsafe fn OptionalProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OptionalProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOptionalProperties(&self, voptionalproperties: P0) -> windows_core::Result<()> @@ -1913,7 +1913,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetOptionalProperties)(windows_core::Interface::as_raw(self), voptionalproperties.param().abi()).ok() } pub unsafe fn NamingProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamingProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNamingProperties(&self, vnamingproperties: P0) -> windows_core::Result<()> @@ -1923,7 +1923,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetNamingProperties)(windows_core::Interface::as_raw(self), vnamingproperties.param().abi()).ok() } pub unsafe fn DerivedFrom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DerivedFrom)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDerivedFrom(&self, vderivedfrom: P0) -> windows_core::Result<()> @@ -1933,7 +1933,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetDerivedFrom)(windows_core::Interface::as_raw(self), vderivedfrom.param().abi()).ok() } pub unsafe fn AuxDerivedFrom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuxDerivedFrom)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAuxDerivedFrom(&self, vauxderivedfrom: P0) -> windows_core::Result<()> @@ -1943,7 +1943,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetAuxDerivedFrom)(windows_core::Interface::as_raw(self), vauxderivedfrom.param().abi()).ok() } pub unsafe fn PossibleSuperiors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PossibleSuperiors)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPossibleSuperiors(&self, vpossiblesuperiors: P0) -> windows_core::Result<()> @@ -1953,7 +1953,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetPossibleSuperiors)(windows_core::Interface::as_raw(self), vpossiblesuperiors.param().abi()).ok() } pub unsafe fn Containment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Containment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContainment(&self, vcontainment: P0) -> windows_core::Result<()> @@ -1963,7 +1963,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetContainment)(windows_core::Interface::as_raw(self), vcontainment.param().abi()).ok() } pub unsafe fn Container(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Container)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetContainer(&self, fcontainer: P0) -> windows_core::Result<()> @@ -1973,7 +1973,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetContainer)(windows_core::Interface::as_raw(self), fcontainer.param().abi()).ok() } pub unsafe fn HelpFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HelpFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHelpFileName(&self, bstrhelpfilename: P0) -> windows_core::Result<()> @@ -1983,7 +1983,7 @@ impl IADsClass { (windows_core::Interface::vtable(self).SetHelpFileName)(windows_core::Interface::as_raw(self), bstrhelpfilename.param().abi()).ok() } pub unsafe fn HelpFileContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HelpFileContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHelpFileContext(&self, lnhelpfilecontext: i32) -> windows_core::Result<()> { @@ -1991,7 +1991,7 @@ impl IADsClass { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Qualifiers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1999,33 +1999,33 @@ impl IADsClass { #[repr(C)] pub struct IADsClass_Vtbl { pub base__: IADs_Vtbl, - pub PrimaryInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrimaryInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Abstract: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAbstract: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Auxiliary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAuxiliary: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub MandatoryProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMandatoryProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OptionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOptionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NamingProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNamingProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AuxDerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAuxDerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PossibleSuperiors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPossibleSuperiors: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Containment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContainment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MandatoryProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMandatoryProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OptionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOptionalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NamingProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNamingProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AuxDerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAuxDerivedFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PossibleSuperiors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPossibleSuperiors: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Containment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContainment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Container: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetContainer: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub HelpFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHelpFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HelpFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHelpFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub HelpFileContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetHelpFileContext: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2039,7 +2039,7 @@ windows_core::imp::define_interface!(IADsCollection, IADsCollection_Vtbl, 0x72b9 impl std::ops::Deref for IADsCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2047,7 +2047,7 @@ windows_core::imp::interface_hierarchy!(IADsCollection, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IADsCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Add(&self, bstrname: P0, vitem: P1) -> windows_core::Result<()> @@ -2067,7 +2067,7 @@ impl IADsCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2076,9 +2076,9 @@ impl IADsCollection { pub struct IADsCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsComputer, IADsComputer_Vtbl, 0xefe3cc70_1d9f_11cf_b1f3_02608c9e7553); @@ -2086,7 +2086,7 @@ windows_core::imp::define_interface!(IADsComputer, IADsComputer_Vtbl, 0xefe3cc70 impl std::ops::Deref for IADsComputer { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2094,15 +2094,15 @@ windows_core::imp::interface_hierarchy!(IADsComputer, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IADsComputer { pub unsafe fn ComputerID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputerID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Site(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Site)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -2112,7 +2112,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn Location(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Location)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocation(&self, bstrlocation: P0) -> windows_core::Result<()> @@ -2122,7 +2122,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetLocation)(windows_core::Interface::as_raw(self), bstrlocation.param().abi()).ok() } pub unsafe fn PrimaryUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrimaryUser)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrimaryUser(&self, bstrprimaryuser: P0) -> windows_core::Result<()> @@ -2132,7 +2132,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetPrimaryUser)(windows_core::Interface::as_raw(self), bstrprimaryuser.param().abi()).ok() } pub unsafe fn Owner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Owner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOwner(&self, bstrowner: P0) -> windows_core::Result<()> @@ -2142,7 +2142,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetOwner)(windows_core::Interface::as_raw(self), bstrowner.param().abi()).ok() } pub unsafe fn Division(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Division)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDivision(&self, bstrdivision: P0) -> windows_core::Result<()> @@ -2152,7 +2152,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetDivision)(windows_core::Interface::as_raw(self), bstrdivision.param().abi()).ok() } pub unsafe fn Department(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Department)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDepartment(&self, bstrdepartment: P0) -> windows_core::Result<()> @@ -2162,7 +2162,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetDepartment)(windows_core::Interface::as_raw(self), bstrdepartment.param().abi()).ok() } pub unsafe fn Role(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Role)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRole(&self, bstrrole: P0) -> windows_core::Result<()> @@ -2172,7 +2172,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetRole)(windows_core::Interface::as_raw(self), bstrrole.param().abi()).ok() } pub unsafe fn OperatingSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OperatingSystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOperatingSystem(&self, bstroperatingsystem: P0) -> windows_core::Result<()> @@ -2182,7 +2182,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetOperatingSystem)(windows_core::Interface::as_raw(self), bstroperatingsystem.param().abi()).ok() } pub unsafe fn OperatingSystemVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OperatingSystemVersion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOperatingSystemVersion(&self, bstroperatingsystemversion: P0) -> windows_core::Result<()> @@ -2192,7 +2192,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetOperatingSystemVersion)(windows_core::Interface::as_raw(self), bstroperatingsystemversion.param().abi()).ok() } pub unsafe fn Model(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Model)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetModel(&self, bstrmodel: P0) -> windows_core::Result<()> @@ -2202,7 +2202,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetModel)(windows_core::Interface::as_raw(self), bstrmodel.param().abi()).ok() } pub unsafe fn Processor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Processor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProcessor(&self, bstrprocessor: P0) -> windows_core::Result<()> @@ -2212,7 +2212,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetProcessor)(windows_core::Interface::as_raw(self), bstrprocessor.param().abi()).ok() } pub unsafe fn ProcessorCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProcessorCount)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProcessorCount(&self, bstrprocessorcount: P0) -> windows_core::Result<()> @@ -2222,7 +2222,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetProcessorCount)(windows_core::Interface::as_raw(self), bstrprocessorcount.param().abi()).ok() } pub unsafe fn MemorySize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MemorySize)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMemorySize(&self, bstrmemorysize: P0) -> windows_core::Result<()> @@ -2232,7 +2232,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetMemorySize)(windows_core::Interface::as_raw(self), bstrmemorysize.param().abi()).ok() } pub unsafe fn StorageCapacity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StorageCapacity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStorageCapacity(&self, bstrstoragecapacity: P0) -> windows_core::Result<()> @@ -2242,7 +2242,7 @@ impl IADsComputer { (windows_core::Interface::vtable(self).SetStorageCapacity)(windows_core::Interface::as_raw(self), bstrstoragecapacity.param().abi()).ok() } pub unsafe fn NetAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNetAddresses(&self, vnetaddresses: P0) -> windows_core::Result<()> @@ -2256,38 +2256,38 @@ impl IADsComputer { #[repr(C)] pub struct IADsComputer_Vtbl { pub base__: IADs_Vtbl, - pub ComputerID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Site: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PrimaryUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPrimaryUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Owner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOwner: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Division: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDivision: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Department: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDepartment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Role: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OperatingSystemVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOperatingSystemVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Model: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetModel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Processor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProcessorCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProcessorCount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MemorySize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMemorySize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StorageCapacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStorageCapacity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ComputerID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Site: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrimaryUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPrimaryUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Owner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOwner: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Division: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDivision: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Department: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDepartment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Role: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OperatingSystemVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOperatingSystemVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Model: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetModel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Processor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProcessorCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProcessorCount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MemorySize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMemorySize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StorageCapacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStorageCapacity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsComputerOperations, IADsComputerOperations_Vtbl, 0xef497680_1d9f_11cf_b1f3_02608c9e7553); @@ -2295,7 +2295,7 @@ windows_core::imp::define_interface!(IADsComputerOperations, IADsComputerOperati impl std::ops::Deref for IADsComputerOperations { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2304,7 +2304,7 @@ windows_core::imp::interface_hierarchy!(IADsComputerOperations, windows_core::IU impl IADsComputerOperations { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Shutdown(&self, breboot: P0) -> windows_core::Result<()> @@ -2330,7 +2330,7 @@ windows_core::imp::define_interface!(IADsContainer, IADsContainer_Vtbl, 0x001677 impl std::ops::Deref for IADsContainer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2338,15 +2338,15 @@ windows_core::imp::interface_hierarchy!(IADsContainer, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IADsContainer { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Filter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Filter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFilter(&self, var: P0) -> windows_core::Result<()> @@ -2356,7 +2356,7 @@ impl IADsContainer { (windows_core::Interface::vtable(self).SetFilter)(windows_core::Interface::as_raw(self), var.param().abi()).ok() } pub unsafe fn Hints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Hints)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHints(&self, vhints: P0) -> windows_core::Result<()> @@ -2371,7 +2371,7 @@ impl IADsContainer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), classname.param().abi(), relativename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2380,7 +2380,7 @@ impl IADsContainer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), classname.param().abi(), relativename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, bstrclassname: P0, bstrrelativename: P1) -> windows_core::Result<()> @@ -2396,7 +2396,7 @@ impl IADsContainer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyHere)(windows_core::Interface::as_raw(self), sourcename.param().abi(), newname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2405,7 +2405,7 @@ impl IADsContainer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveHere)(windows_core::Interface::as_raw(self), sourcename.param().abi(), newname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2415,25 +2415,25 @@ pub struct IADsContainer_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Hints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHints: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Hints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHints: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetObject: usize, #[cfg(feature = "Win32_System_Com")] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Create: usize, - pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub CopyHere: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CopyHere: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CopyHere: usize, #[cfg(feature = "Win32_System_Com")] - pub MoveHere: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MoveHere: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] MoveHere: usize, } @@ -2443,7 +2443,7 @@ windows_core::imp::define_interface!(IADsDNWithBinary, IADsDNWithBinary_Vtbl, 0x impl std::ops::Deref for IADsDNWithBinary { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2451,7 +2451,7 @@ windows_core::imp::interface_hierarchy!(IADsDNWithBinary, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IADsDNWithBinary { pub unsafe fn BinaryValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BinaryValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBinaryValue(&self, vbinaryvalue: P0) -> windows_core::Result<()> @@ -2461,7 +2461,7 @@ impl IADsDNWithBinary { (windows_core::Interface::vtable(self).SetBinaryValue)(windows_core::Interface::as_raw(self), vbinaryvalue.param().abi()).ok() } pub unsafe fn DNString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DNString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDNString(&self, bstrdnstring: P0) -> windows_core::Result<()> @@ -2475,10 +2475,10 @@ impl IADsDNWithBinary { #[repr(C)] pub struct IADsDNWithBinary_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub BinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DNString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDNString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBinaryValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DNString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDNString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsDNWithString, IADsDNWithString_Vtbl, 0x370df02e_f934_11d2_ba96_00c04fb6d0d1); @@ -2486,7 +2486,7 @@ windows_core::imp::define_interface!(IADsDNWithString, IADsDNWithString_Vtbl, 0x impl std::ops::Deref for IADsDNWithString { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2494,7 +2494,7 @@ windows_core::imp::interface_hierarchy!(IADsDNWithString, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IADsDNWithString { pub unsafe fn StringValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StringValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStringValue(&self, bstrstringvalue: P0) -> windows_core::Result<()> @@ -2504,7 +2504,7 @@ impl IADsDNWithString { (windows_core::Interface::vtable(self).SetStringValue)(windows_core::Interface::as_raw(self), bstrstringvalue.param().abi()).ok() } pub unsafe fn DNString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DNString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDNString(&self, bstrdnstring: P0) -> windows_core::Result<()> @@ -2518,10 +2518,10 @@ impl IADsDNWithString { #[repr(C)] pub struct IADsDNWithString_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub StringValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DNString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDNString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StringValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DNString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDNString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsDeleteOps, IADsDeleteOps_Vtbl, 0xb2bd0902_8878_11d1_8c21_00c04fd8d503); @@ -2529,7 +2529,7 @@ windows_core::imp::define_interface!(IADsDeleteOps, IADsDeleteOps_Vtbl, 0xb2bd09 impl std::ops::Deref for IADsDeleteOps { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2552,7 +2552,7 @@ windows_core::imp::define_interface!(IADsDomain, IADsDomain_Vtbl, 0x00e4c220_fd1 impl std::ops::Deref for IADsDomain { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2560,60 +2560,60 @@ windows_core::imp::interface_hierarchy!(IADsDomain, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IADsDomain { pub unsafe fn IsWorkgroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWorkgroup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinPasswordLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinPasswordLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinPasswordAge)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxPasswordAge)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxBadPasswordsAllowed)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PasswordHistoryLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PasswordAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoUnlockInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LockoutObservationInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLockoutObservationInterval(&self, lnlockoutobservationinterval: i32) -> windows_core::Result<()> { @@ -2648,7 +2648,7 @@ windows_core::imp::define_interface!(IADsEmail, IADsEmail_Vtbl, 0x97af011a_478e_ impl std::ops::Deref for IADsEmail { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2656,14 +2656,14 @@ windows_core::imp::interface_hierarchy!(IADsEmail, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IADsEmail { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetType(&self, lntype: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetType)(windows_core::Interface::as_raw(self), lntype).ok() } pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAddress(&self, bstraddress: P0) -> windows_core::Result<()> @@ -2679,14 +2679,14 @@ pub struct IADsEmail_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IADsExtension, IADsExtension_Vtbl, 0x3d35553c_d2b0_11d1_b17b_0000f87593a0); impl std::ops::Deref for IADsExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IADsExtension, windows_core::IUnknown); @@ -2700,7 +2700,7 @@ impl IADsExtension { (windows_core::Interface::vtable(self).Operate)(windows_core::Interface::as_raw(self), dwcode, vardata1.param().abi(), vardata2.param().abi(), vardata3.param().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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateGetIDsOfNames)(windows_core::Interface::as_raw(self), riid, rgsznames, cnames, lcid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2711,10 +2711,10 @@ impl IADsExtension { #[repr(C)] pub struct IADsExtension_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Operate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Operate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PrivateGetIDsOfNames: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const *const u16, u32, u32, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub PrivateInvoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, u16, *const super::super::System::Com::DISPPARAMS, *mut std::mem::MaybeUninit, *mut super::super::System::Com::EXCEPINFO, *mut u32) -> windows_core::HRESULT, + pub PrivateInvoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, u16, *const super::super::System::Com::DISPPARAMS, *mut core::mem::MaybeUninit, *mut super::super::System::Com::EXCEPINFO, *mut u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PrivateInvoke: usize, } @@ -2724,7 +2724,7 @@ windows_core::imp::define_interface!(IADsFaxNumber, IADsFaxNumber_Vtbl, 0xa910de impl std::ops::Deref for IADsFaxNumber { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2732,7 +2732,7 @@ windows_core::imp::interface_hierarchy!(IADsFaxNumber, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IADsFaxNumber { pub unsafe fn TelephoneNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTelephoneNumber(&self, bstrtelephonenumber: P0) -> windows_core::Result<()> @@ -2742,7 +2742,7 @@ impl IADsFaxNumber { (windows_core::Interface::vtable(self).SetTelephoneNumber)(windows_core::Interface::as_raw(self), bstrtelephonenumber.param().abi()).ok() } pub unsafe fn Parameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetParameters(&self, vparameters: P0) -> windows_core::Result<()> @@ -2756,10 +2756,10 @@ impl IADsFaxNumber { #[repr(C)] pub struct IADsFaxNumber_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsFileService, IADsFileService_Vtbl, 0xa89d1900_31ca_11cf_a98a_00aa006bc149); @@ -2767,7 +2767,7 @@ windows_core::imp::define_interface!(IADsFileService, IADsFileService_Vtbl, 0xa8 impl std::ops::Deref for IADsFileService { type Target = IADsService; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2775,7 +2775,7 @@ windows_core::imp::interface_hierarchy!(IADsFileService, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IADsFileService { pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -2785,7 +2785,7 @@ impl IADsFileService { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn MaxUserCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxUserCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxUserCount(&self, lnmaxusercount: i32) -> windows_core::Result<()> { @@ -2796,8 +2796,8 @@ impl IADsFileService { #[repr(C)] pub struct IADsFileService_Vtbl { pub base__: IADsService_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxUserCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxUserCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -2807,7 +2807,7 @@ windows_core::imp::define_interface!(IADsFileServiceOperations, IADsFileServiceO impl std::ops::Deref for IADsFileServiceOperations { type Target = IADsServiceOperations; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2816,12 +2816,12 @@ windows_core::imp::interface_hierarchy!(IADsFileServiceOperations, windows_core: impl IADsFileServiceOperations { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sessions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Sessions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Resources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Resources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2844,7 +2844,7 @@ windows_core::imp::define_interface!(IADsFileShare, IADsFileShare_Vtbl, 0xeb6dca impl std::ops::Deref for IADsFileShare { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2852,11 +2852,11 @@ windows_core::imp::interface_hierarchy!(IADsFileShare, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IADsFileShare { pub unsafe fn CurrentUserCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentUserCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -2866,7 +2866,7 @@ impl IADsFileShare { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn HostComputer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HostComputer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHostComputer(&self, bstrhostcomputer: P0) -> windows_core::Result<()> @@ -2876,7 +2876,7 @@ impl IADsFileShare { (windows_core::Interface::vtable(self).SetHostComputer)(windows_core::Interface::as_raw(self), bstrhostcomputer.param().abi()).ok() } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPath(&self, bstrpath: P0) -> windows_core::Result<()> @@ -2886,7 +2886,7 @@ impl IADsFileShare { (windows_core::Interface::vtable(self).SetPath)(windows_core::Interface::as_raw(self), bstrpath.param().abi()).ok() } pub unsafe fn MaxUserCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxUserCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxUserCount(&self, lnmaxusercount: i32) -> windows_core::Result<()> { @@ -2898,12 +2898,12 @@ impl IADsFileShare { pub struct IADsFileShare_Vtbl { pub base__: IADs_Vtbl, pub CurrentUserCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HostComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHostComputer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HostComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHostComputer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxUserCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxUserCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -2913,7 +2913,7 @@ windows_core::imp::define_interface!(IADsGroup, IADsGroup_Vtbl, 0x27636b00_410f_ impl std::ops::Deref for IADsGroup { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2921,7 +2921,7 @@ windows_core::imp::interface_hierarchy!(IADsGroup, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IADsGroup { pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -2932,14 +2932,14 @@ impl IADsGroup { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Members(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Members)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsMember(&self, bstrmember: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMember)(windows_core::Interface::as_raw(self), bstrmember.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Add(&self, bstrnewitem: P0) -> windows_core::Result<()> @@ -2959,15 +2959,15 @@ impl IADsGroup { #[repr(C)] pub struct IADsGroup_Vtbl { pub base__: IADs_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Members: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Members: usize, - pub IsMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsHold, IADsHold_Vtbl, 0xb3eb3b37_4080_11d1_a3ac_00c04fb950dc); @@ -2975,7 +2975,7 @@ windows_core::imp::define_interface!(IADsHold, IADsHold_Vtbl, 0xb3eb3b37_4080_11 impl std::ops::Deref for IADsHold { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2983,7 +2983,7 @@ windows_core::imp::interface_hierarchy!(IADsHold, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IADsHold { pub unsafe fn ObjectName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetObjectName(&self, bstrobjectname: P0) -> windows_core::Result<()> @@ -2993,7 +2993,7 @@ impl IADsHold { (windows_core::Interface::vtable(self).SetObjectName)(windows_core::Interface::as_raw(self), bstrobjectname.param().abi()).ok() } pub unsafe fn Amount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Amount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAmount(&self, lnamount: i32) -> windows_core::Result<()> { @@ -3004,8 +3004,8 @@ impl IADsHold { #[repr(C)] pub struct IADsHold_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Amount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAmount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -3015,7 +3015,7 @@ windows_core::imp::define_interface!(IADsLargeInteger, IADsLargeInteger_Vtbl, 0x impl std::ops::Deref for IADsLargeInteger { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3023,14 +3023,14 @@ windows_core::imp::interface_hierarchy!(IADsLargeInteger, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IADsLargeInteger { pub unsafe fn HighPart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HighPart)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LowPart)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLowPart(&self, lnlowpart: i32) -> windows_core::Result<()> { @@ -3052,7 +3052,7 @@ windows_core::imp::define_interface!(IADsLocality, IADsLocality_Vtbl, 0xa05e03a2 impl std::ops::Deref for IADsLocality { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3060,7 +3060,7 @@ windows_core::imp::interface_hierarchy!(IADsLocality, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IADsLocality { pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -3070,7 +3070,7 @@ impl IADsLocality { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn LocalityName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalityName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalityName(&self, bstrlocalityname: P0) -> windows_core::Result<()> @@ -3080,7 +3080,7 @@ impl IADsLocality { (windows_core::Interface::vtable(self).SetLocalityName)(windows_core::Interface::as_raw(self), bstrlocalityname.param().abi()).ok() } pub unsafe fn PostalAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPostalAddress(&self, bstrpostaladdress: P0) -> windows_core::Result<()> @@ -3090,7 +3090,7 @@ impl IADsLocality { (windows_core::Interface::vtable(self).SetPostalAddress)(windows_core::Interface::as_raw(self), bstrpostaladdress.param().abi()).ok() } pub unsafe fn SeeAlso(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SeeAlso)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSeeAlso(&self, vseealso: P0) -> windows_core::Result<()> @@ -3104,14 +3104,14 @@ impl IADsLocality { #[repr(C)] pub struct IADsLocality_Vtbl { pub base__: IADs_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsMembers, IADsMembers_Vtbl, 0x451a0030_72ec_11cf_b03b_00aa006e0975); @@ -3119,7 +3119,7 @@ windows_core::imp::define_interface!(IADsMembers, IADsMembers_Vtbl, 0x451a0030_7 impl std::ops::Deref for IADsMembers { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3127,15 +3127,15 @@ windows_core::imp::interface_hierarchy!(IADsMembers, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IADsMembers { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Filter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Filter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFilter(&self, pvfilter: P0) -> windows_core::Result<()> @@ -3151,8 +3151,8 @@ pub struct IADsMembers_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsNameTranslate, IADsNameTranslate_Vtbl, 0xb1b272a3_3625_11d1_a3a4_00c04fb950dc); @@ -3160,7 +3160,7 @@ windows_core::imp::define_interface!(IADsNameTranslate, IADsNameTranslate_Vtbl, impl std::ops::Deref for IADsNameTranslate { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3192,7 +3192,7 @@ impl IADsNameTranslate { (windows_core::Interface::vtable(self).Set)(windows_core::Interface::as_raw(self), lnsettype, bstradspath.param().abi()).ok() } pub unsafe fn Get(&self, lnformattype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), lnformattype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEx(&self, lnformattype: i32, pvar: P0) -> windows_core::Result<()> @@ -3202,7 +3202,7 @@ impl IADsNameTranslate { (windows_core::Interface::vtable(self).SetEx)(windows_core::Interface::as_raw(self), lnformattype, pvar.param().abi()).ok() } pub unsafe fn GetEx(&self, lnformattype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEx)(windows_core::Interface::as_raw(self), lnformattype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3211,12 +3211,12 @@ impl IADsNameTranslate { pub struct IADsNameTranslate_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub SetChaseReferral: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsNamespaces, IADsNamespaces_Vtbl, 0x28b96ba0_b330_11cf_a9ad_00aa006bc149); @@ -3224,7 +3224,7 @@ windows_core::imp::define_interface!(IADsNamespaces, IADsNamespaces_Vtbl, 0x28b9 impl std::ops::Deref for IADsNamespaces { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3232,7 +3232,7 @@ windows_core::imp::interface_hierarchy!(IADsNamespaces, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IADsNamespaces { pub unsafe fn DefaultContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefaultContainer(&self, bstrdefaultcontainer: P0) -> windows_core::Result<()> @@ -3246,8 +3246,8 @@ impl IADsNamespaces { #[repr(C)] pub struct IADsNamespaces_Vtbl { pub base__: IADs_Vtbl, - pub DefaultContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDefaultContainer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultContainer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsNetAddress, IADsNetAddress_Vtbl, 0xb21a50a9_4080_11d1_a3ac_00c04fb950dc); @@ -3255,7 +3255,7 @@ windows_core::imp::define_interface!(IADsNetAddress, IADsNetAddress_Vtbl, 0xb21a impl std::ops::Deref for IADsNetAddress { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3263,14 +3263,14 @@ windows_core::imp::interface_hierarchy!(IADsNetAddress, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IADsNetAddress { pub unsafe fn AddressType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddressType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAddressType(&self, lnaddresstype: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAddressType)(windows_core::Interface::as_raw(self), lnaddresstype).ok() } pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAddress(&self, vaddress: P0) -> windows_core::Result<()> @@ -3286,8 +3286,8 @@ pub struct IADsNetAddress_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub AddressType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAddressType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsO, IADsO_Vtbl, 0xa1cd2dc6_effe_11cf_8abc_00c04fd8d503); @@ -3295,7 +3295,7 @@ windows_core::imp::define_interface!(IADsO, IADsO_Vtbl, 0xa1cd2dc6_effe_11cf_8ab impl std::ops::Deref for IADsO { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3303,7 +3303,7 @@ windows_core::imp::interface_hierarchy!(IADsO, windows_core::IUnknown, super::su #[cfg(feature = "Win32_System_Com")] impl IADsO { pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -3313,7 +3313,7 @@ impl IADsO { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn LocalityName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalityName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalityName(&self, bstrlocalityname: P0) -> windows_core::Result<()> @@ -3323,7 +3323,7 @@ impl IADsO { (windows_core::Interface::vtable(self).SetLocalityName)(windows_core::Interface::as_raw(self), bstrlocalityname.param().abi()).ok() } pub unsafe fn PostalAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPostalAddress(&self, bstrpostaladdress: P0) -> windows_core::Result<()> @@ -3333,7 +3333,7 @@ impl IADsO { (windows_core::Interface::vtable(self).SetPostalAddress)(windows_core::Interface::as_raw(self), bstrpostaladdress.param().abi()).ok() } pub unsafe fn TelephoneNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTelephoneNumber(&self, bstrtelephonenumber: P0) -> windows_core::Result<()> @@ -3343,7 +3343,7 @@ impl IADsO { (windows_core::Interface::vtable(self).SetTelephoneNumber)(windows_core::Interface::as_raw(self), bstrtelephonenumber.param().abi()).ok() } pub unsafe fn FaxNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FaxNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFaxNumber(&self, bstrfaxnumber: P0) -> windows_core::Result<()> @@ -3353,7 +3353,7 @@ impl IADsO { (windows_core::Interface::vtable(self).SetFaxNumber)(windows_core::Interface::as_raw(self), bstrfaxnumber.param().abi()).ok() } pub unsafe fn SeeAlso(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SeeAlso)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSeeAlso(&self, vseealso: P0) -> windows_core::Result<()> @@ -3367,18 +3367,18 @@ impl IADsO { #[repr(C)] pub struct IADsO_Vtbl { pub base__: IADs_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsOU, IADsOU_Vtbl, 0xa2f733b8_effe_11cf_8abc_00c04fd8d503); @@ -3386,7 +3386,7 @@ windows_core::imp::define_interface!(IADsOU, IADsOU_Vtbl, 0xa2f733b8_effe_11cf_8 impl std::ops::Deref for IADsOU { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3394,7 +3394,7 @@ windows_core::imp::interface_hierarchy!(IADsOU, windows_core::IUnknown, super::s #[cfg(feature = "Win32_System_Com")] impl IADsOU { pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -3404,7 +3404,7 @@ impl IADsOU { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn LocalityName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalityName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalityName(&self, bstrlocalityname: P0) -> windows_core::Result<()> @@ -3414,7 +3414,7 @@ impl IADsOU { (windows_core::Interface::vtable(self).SetLocalityName)(windows_core::Interface::as_raw(self), bstrlocalityname.param().abi()).ok() } pub unsafe fn PostalAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPostalAddress(&self, bstrpostaladdress: P0) -> windows_core::Result<()> @@ -3424,7 +3424,7 @@ impl IADsOU { (windows_core::Interface::vtable(self).SetPostalAddress)(windows_core::Interface::as_raw(self), bstrpostaladdress.param().abi()).ok() } pub unsafe fn TelephoneNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTelephoneNumber(&self, bstrtelephonenumber: P0) -> windows_core::Result<()> @@ -3434,7 +3434,7 @@ impl IADsOU { (windows_core::Interface::vtable(self).SetTelephoneNumber)(windows_core::Interface::as_raw(self), bstrtelephonenumber.param().abi()).ok() } pub unsafe fn FaxNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FaxNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFaxNumber(&self, bstrfaxnumber: P0) -> windows_core::Result<()> @@ -3444,7 +3444,7 @@ impl IADsOU { (windows_core::Interface::vtable(self).SetFaxNumber)(windows_core::Interface::as_raw(self), bstrfaxnumber.param().abi()).ok() } pub unsafe fn SeeAlso(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SeeAlso)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSeeAlso(&self, vseealso: P0) -> windows_core::Result<()> @@ -3454,7 +3454,7 @@ impl IADsOU { (windows_core::Interface::vtable(self).SetSeeAlso)(windows_core::Interface::as_raw(self), vseealso.param().abi()).ok() } pub unsafe fn BusinessCategory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BusinessCategory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBusinessCategory(&self, bstrbusinesscategory: P0) -> windows_core::Result<()> @@ -3468,20 +3468,20 @@ impl IADsOU { #[repr(C)] pub struct IADsOU_Vtbl { pub base__: IADs_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BusinessCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBusinessCategory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalityName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BusinessCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBusinessCategory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsObjectOptions, IADsObjectOptions_Vtbl, 0x46f14fda_232b_11d1_a808_00c04fd8d5a8); @@ -3489,7 +3489,7 @@ windows_core::imp::define_interface!(IADsObjectOptions, IADsObjectOptions_Vtbl, impl std::ops::Deref for IADsObjectOptions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3497,7 +3497,7 @@ windows_core::imp::interface_hierarchy!(IADsObjectOptions, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IADsObjectOptions { pub unsafe fn GetOption(&self, lnoption: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOption)(windows_core::Interface::as_raw(self), lnoption, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOption(&self, lnoption: i32, vvalue: P0) -> windows_core::Result<()> @@ -3511,8 +3511,8 @@ impl IADsObjectOptions { #[repr(C)] pub struct IADsObjectOptions_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsOctetList, IADsOctetList_Vtbl, 0x7b28b80f_4680_11d1_a3b4_00c04fb950dc); @@ -3520,7 +3520,7 @@ windows_core::imp::define_interface!(IADsOctetList, IADsOctetList_Vtbl, 0x7b28b8 impl std::ops::Deref for IADsOctetList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3528,7 +3528,7 @@ windows_core::imp::interface_hierarchy!(IADsOctetList, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IADsOctetList { pub unsafe fn OctetList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OctetList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOctetList(&self, voctetlist: P0) -> windows_core::Result<()> @@ -3542,8 +3542,8 @@ impl IADsOctetList { #[repr(C)] pub struct IADsOctetList_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub OctetList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOctetList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OctetList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOctetList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsOpenDSObject, IADsOpenDSObject_Vtbl, 0xddf2891e_0f9c_11d0_8ad4_00c04fd8d503); @@ -3551,7 +3551,7 @@ windows_core::imp::define_interface!(IADsOpenDSObject, IADsOpenDSObject_Vtbl, 0x impl std::ops::Deref for IADsOpenDSObject { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3565,7 +3565,7 @@ impl IADsOpenDSObject { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenDSObject)(windows_core::Interface::as_raw(self), lpszdnname.param().abi(), lpszusername.param().abi(), lpszpassword.param().abi(), lnreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3574,7 +3574,7 @@ impl IADsOpenDSObject { pub struct IADsOpenDSObject_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub OpenDSObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenDSObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenDSObject: usize, } @@ -3584,7 +3584,7 @@ windows_core::imp::define_interface!(IADsPath, IADsPath_Vtbl, 0xb287fcd5_4080_11 impl std::ops::Deref for IADsPath { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3592,14 +3592,14 @@ windows_core::imp::interface_hierarchy!(IADsPath, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IADsPath { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetType(&self, lntype: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetType)(windows_core::Interface::as_raw(self), lntype).ok() } pub unsafe fn VolumeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVolumeName(&self, bstrvolumename: P0) -> windows_core::Result<()> @@ -3609,7 +3609,7 @@ impl IADsPath { (windows_core::Interface::vtable(self).SetVolumeName)(windows_core::Interface::as_raw(self), bstrvolumename.param().abi()).ok() } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPath(&self, bstrpath: P0) -> windows_core::Result<()> @@ -3625,10 +3625,10 @@ pub struct IADsPath_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPathname, IADsPathname_Vtbl, 0xd592aed4_f420_11d0_a36e_00c04fb950dc); @@ -3636,7 +3636,7 @@ windows_core::imp::define_interface!(IADsPathname, IADsPathname_Vtbl, 0xd592aed4 impl std::ops::Deref for IADsPathname { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3653,15 +3653,15 @@ impl IADsPathname { (windows_core::Interface::vtable(self).SetDisplayType)(windows_core::Interface::as_raw(self), lndisplaytype).ok() } pub unsafe fn Retrieve(&self, lnformattype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Retrieve)(windows_core::Interface::as_raw(self), lnformattype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNumElements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumElements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetElement(&self, lnelementindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElement)(windows_core::Interface::as_raw(self), lnelementindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddLeafElement(&self, bstrleafelement: P0) -> windows_core::Result<()> @@ -3675,18 +3675,18 @@ impl IADsPathname { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CopyPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEscapedElement(&self, lnreserved: i32, bstrinstr: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEscapedElement)(windows_core::Interface::as_raw(self), lnreserved, bstrinstr.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EscapedMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EscapedMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEscapedMode(&self, lnescapedmode: i32) -> windows_core::Result<()> { @@ -3697,18 +3697,18 @@ impl IADsPathname { #[repr(C)] pub struct IADsPathname_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub SetDisplayType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Retrieve: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Retrieve: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNumElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetElement: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddLeafElement: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetElement: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddLeafElement: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveLeafElement: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CopyPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CopyPath: usize, - pub GetEscapedElement: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEscapedElement: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EscapedMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEscapedMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -3718,7 +3718,7 @@ windows_core::imp::define_interface!(IADsPostalAddress, IADsPostalAddress_Vtbl, impl std::ops::Deref for IADsPostalAddress { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3726,7 +3726,7 @@ windows_core::imp::interface_hierarchy!(IADsPostalAddress, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IADsPostalAddress { pub unsafe fn PostalAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPostalAddress(&self, vpostaladdress: P0) -> windows_core::Result<()> @@ -3740,8 +3740,8 @@ impl IADsPostalAddress { #[repr(C)] pub struct IADsPostalAddress_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPrintJob, IADsPrintJob_Vtbl, 0x32fb6780_1ed0_11cf_a988_00aa006bc149); @@ -3749,7 +3749,7 @@ windows_core::imp::define_interface!(IADsPrintJob, IADsPrintJob_Vtbl, 0x32fb6780 impl std::ops::Deref for IADsPrintJob { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3757,31 +3757,31 @@ windows_core::imp::interface_hierarchy!(IADsPrintJob, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IADsPrintJob { pub unsafe fn HostPrintQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HostPrintQueue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn User(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).User)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TimeSubmitted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TimeSubmitted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalPages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalPages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Size(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -3791,28 +3791,28 @@ impl IADsPrintJob { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn Priority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UntilTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 Notify(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Notify)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNotify(&self, bstrnotify: P0) -> windows_core::Result<()> @@ -3822,7 +3822,7 @@ impl IADsPrintJob { (windows_core::Interface::vtable(self).SetNotify)(windows_core::Interface::as_raw(self), bstrnotify.param().abi()).ok() } pub unsafe fn NotifyPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NotifyPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNotifyPath(&self, bstrnotifypath: P0) -> windows_core::Result<()> @@ -3836,24 +3836,24 @@ impl IADsPrintJob { #[repr(C)] pub struct IADsPrintJob_Vtbl { pub base__: IADs_Vtbl, - pub HostPrintQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HostPrintQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TimeSubmitted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TotalPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub UntilTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetUntilTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, - pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNotify: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NotifyPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNotifyPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNotify: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NotifyPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNotifyPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPrintJobOperations, IADsPrintJobOperations_Vtbl, 0x9a52db30_1ecf_11cf_a988_00aa006bc149); @@ -3861,7 +3861,7 @@ windows_core::imp::define_interface!(IADsPrintJobOperations, IADsPrintJobOperati impl std::ops::Deref for IADsPrintJobOperations { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3869,19 +3869,19 @@ windows_core::imp::interface_hierarchy!(IADsPrintJobOperations, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IADsPrintJobOperations { pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TimeElapsed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TimeElapsed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PagesPrinted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PagesPrinted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Position(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Position)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPosition(&self, lnposition: i32) -> windows_core::Result<()> { @@ -3912,7 +3912,7 @@ windows_core::imp::define_interface!(IADsPrintQueue, IADsPrintQueue_Vtbl, 0xb151 impl std::ops::Deref for IADsPrintQueue { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3920,7 +3920,7 @@ windows_core::imp::interface_hierarchy!(IADsPrintQueue, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IADsPrintQueue { pub unsafe fn PrinterPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrinterPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrinterPath(&self, bstrprinterpath: P0) -> windows_core::Result<()> @@ -3930,7 +3930,7 @@ impl IADsPrintQueue { (windows_core::Interface::vtable(self).SetPrinterPath)(windows_core::Interface::as_raw(self), bstrprinterpath.param().abi()).ok() } pub unsafe fn Model(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Model)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetModel(&self, bstrmodel: P0) -> windows_core::Result<()> @@ -3940,7 +3940,7 @@ impl IADsPrintQueue { (windows_core::Interface::vtable(self).SetModel)(windows_core::Interface::as_raw(self), bstrmodel.param().abi()).ok() } pub unsafe fn Datatype(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Datatype)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDatatype(&self, bstrdatatype: P0) -> windows_core::Result<()> @@ -3950,7 +3950,7 @@ impl IADsPrintQueue { (windows_core::Interface::vtable(self).SetDatatype)(windows_core::Interface::as_raw(self), bstrdatatype.param().abi()).ok() } pub unsafe fn PrintProcessor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrintProcessor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrintProcessor(&self, bstrprintprocessor: P0) -> windows_core::Result<()> @@ -3960,7 +3960,7 @@ impl IADsPrintQueue { (windows_core::Interface::vtable(self).SetPrintProcessor)(windows_core::Interface::as_raw(self), bstrprintprocessor.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -3970,7 +3970,7 @@ impl IADsPrintQueue { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn Location(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Location)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocation(&self, bstrlocation: P0) -> windows_core::Result<()> @@ -3980,35 +3980,35 @@ impl IADsPrintQueue { (windows_core::Interface::vtable(self).SetLocation)(windows_core::Interface::as_raw(self), bstrlocation.param().abi()).ok() } pub unsafe fn StartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UntilTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultJobPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 BannerPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BannerPage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBannerPage(&self, bstrbannerpage: P0) -> windows_core::Result<()> @@ -4018,7 +4018,7 @@ impl IADsPrintQueue { (windows_core::Interface::vtable(self).SetBannerPage)(windows_core::Interface::as_raw(self), bstrbannerpage.param().abi()).ok() } pub unsafe fn PrintDevices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrintDevices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrintDevices(&self, vprintdevices: P0) -> windows_core::Result<()> @@ -4028,7 +4028,7 @@ impl IADsPrintQueue { (windows_core::Interface::vtable(self).SetPrintDevices)(windows_core::Interface::as_raw(self), vprintdevices.param().abi()).ok() } pub unsafe fn NetAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNetAddresses(&self, vnetaddresses: P0) -> windows_core::Result<()> @@ -4042,18 +4042,18 @@ impl IADsPrintQueue { #[repr(C)] pub struct IADsPrintQueue_Vtbl { pub base__: IADs_Vtbl, - pub PrinterPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPrinterPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Model: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetModel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Datatype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDatatype: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PrintProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPrintProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrinterPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPrinterPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Model: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetModel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Datatype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDatatype: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrintProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPrintProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub UntilTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, @@ -4062,12 +4062,12 @@ pub struct IADsPrintQueue_Vtbl { pub SetDefaultJobPriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub BannerPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBannerPage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PrintDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPrintDevices: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BannerPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBannerPage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrintDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPrintDevices: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPrintQueueOperations, IADsPrintQueueOperations_Vtbl, 0x124be5c0_156e_11cf_a986_00aa006bc149); @@ -4075,7 +4075,7 @@ windows_core::imp::define_interface!(IADsPrintQueueOperations, IADsPrintQueueOpe impl std::ops::Deref for IADsPrintQueueOperations { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4083,12 +4083,12 @@ windows_core::imp::interface_hierarchy!(IADsPrintQueueOperations, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IADsPrintQueueOperations { pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrintJobs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrintJobs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Pause(&self) -> windows_core::Result<()> { @@ -4120,7 +4120,7 @@ windows_core::imp::define_interface!(IADsProperty, IADsProperty_Vtbl, 0xc8f93dd3 impl std::ops::Deref for IADsProperty { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4128,7 +4128,7 @@ windows_core::imp::interface_hierarchy!(IADsProperty, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IADsProperty { pub unsafe fn OID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOID(&self, bstroid: P0) -> windows_core::Result<()> @@ -4138,7 +4138,7 @@ impl IADsProperty { (windows_core::Interface::vtable(self).SetOID)(windows_core::Interface::as_raw(self), bstroid.param().abi()).ok() } pub unsafe fn Syntax(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Syntax)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSyntax(&self, bstrsyntax: P0) -> windows_core::Result<()> @@ -4148,21 +4148,21 @@ impl IADsProperty { (windows_core::Interface::vtable(self).SetSyntax)(windows_core::Interface::as_raw(self), bstrsyntax.param().abi()).ok() } pub unsafe fn MaxRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxRange)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinRange)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MultiValued)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMultiValued(&self, fmultivalued: P0) -> windows_core::Result<()> @@ -4173,7 +4173,7 @@ impl IADsProperty { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Qualifiers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4181,10 +4181,10 @@ impl IADsProperty { #[repr(C)] pub struct IADsProperty_Vtbl { pub base__: IADs_Vtbl, - pub OID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Syntax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSyntax: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Syntax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSyntax: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxRange: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MinRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -4202,7 +4202,7 @@ windows_core::imp::define_interface!(IADsPropertyEntry, IADsPropertyEntry_Vtbl, impl std::ops::Deref for IADsPropertyEntry { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4213,7 +4213,7 @@ impl IADsPropertyEntry { (windows_core::Interface::vtable(self).Clear)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -4223,21 +4223,21 @@ impl IADsPropertyEntry { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn ADsType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ADsType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ControlCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetControlCode(&self, lncontrolcode: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetControlCode)(windows_core::Interface::as_raw(self), lncontrolcode).ok() } pub unsafe fn Values(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Values)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValues(&self, vvalues: P0) -> windows_core::Result<()> @@ -4252,14 +4252,14 @@ impl IADsPropertyEntry { pub struct IADsPropertyEntry_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ADsType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetADsType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ControlCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetControlCode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Values: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValues: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Values: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValues: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPropertyList, IADsPropertyList_Vtbl, 0xc6f602b6_8f69_11d0_8528_00c04fd8d503); @@ -4267,7 +4267,7 @@ windows_core::imp::define_interface!(IADsPropertyList, IADsPropertyList_Vtbl, 0x impl std::ops::Deref for IADsPropertyList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4275,7 +4275,7 @@ windows_core::imp::interface_hierarchy!(IADsPropertyList, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IADsPropertyList { pub unsafe fn PropertyCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Next(&self, pvariant: *mut windows_core::VARIANT) -> windows_core::HRESULT { @@ -4291,14 +4291,14 @@ impl IADsPropertyList { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyItem(&self, bstrname: P0, lnadstype: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyItem)(windows_core::Interface::as_raw(self), bstrname.param().abi(), lnadstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PutPropertyItem(&self, vardata: P0) -> windows_core::Result<()> @@ -4322,13 +4322,13 @@ impl IADsPropertyList { pub struct IADsPropertyList_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub PropertyCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ResetPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResetPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PurgePropertyList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -4337,7 +4337,7 @@ windows_core::imp::define_interface!(IADsPropertyValue, IADsPropertyValue_Vtbl, impl std::ops::Deref for IADsPropertyValue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4348,14 +4348,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ADsType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 DNString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DNString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDNString(&self, bstrdnstring: P0) -> windows_core::Result<()> @@ -4365,7 +4365,7 @@ impl IADsPropertyValue { (windows_core::Interface::vtable(self).SetDNString)(windows_core::Interface::as_raw(self), bstrdnstring.param().abi()).ok() } pub unsafe fn CaseExactString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CaseExactString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCaseExactString(&self, bstrcaseexactstring: P0) -> windows_core::Result<()> @@ -4375,7 +4375,7 @@ impl IADsPropertyValue { (windows_core::Interface::vtable(self).SetCaseExactString)(windows_core::Interface::as_raw(self), bstrcaseexactstring.param().abi()).ok() } pub unsafe fn CaseIgnoreString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CaseIgnoreString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCaseIgnoreString(&self, bstrcaseignorestring: P0) -> windows_core::Result<()> @@ -4385,7 +4385,7 @@ impl IADsPropertyValue { (windows_core::Interface::vtable(self).SetCaseIgnoreString)(windows_core::Interface::as_raw(self), bstrcaseignorestring.param().abi()).ok() } pub unsafe fn PrintableString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrintableString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrintableString(&self, bstrprintablestring: P0) -> windows_core::Result<()> @@ -4395,7 +4395,7 @@ impl IADsPropertyValue { (windows_core::Interface::vtable(self).SetPrintableString)(windows_core::Interface::as_raw(self), bstrprintablestring.param().abi()).ok() } pub unsafe fn NumericString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumericString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNumericString(&self, bstrnumericstring: P0) -> windows_core::Result<()> @@ -4405,21 +4405,21 @@ impl IADsPropertyValue { (windows_core::Interface::vtable(self).SetNumericString)(windows_core::Interface::as_raw(self), bstrnumericstring.param().abi()).ok() } pub unsafe fn Boolean(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Boolean)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Integer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInteger(&self, lninteger: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetInteger)(windows_core::Interface::as_raw(self), lninteger).ok() } pub unsafe fn OctetString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OctetString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOctetString(&self, voctetstring: P0) -> windows_core::Result<()> @@ -4430,7 +4430,7 @@ impl IADsPropertyValue { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityDescriptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SecurityDescriptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4442,7 +4442,7 @@ impl IADsPropertyValue { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn LargeInteger(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LargeInteger)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4453,7 +4453,7 @@ impl IADsPropertyValue { (windows_core::Interface::vtable(self).SetLargeInteger)(windows_core::Interface::as_raw(self), plargeinteger.param().abi()).ok() } pub unsafe fn UTCTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UTCTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUTCTime(&self, dautctime: f64) -> windows_core::Result<()> { @@ -4467,22 +4467,22 @@ pub struct IADsPropertyValue_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ADsType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetADsType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub DNString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDNString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CaseExactString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCaseExactString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CaseIgnoreString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCaseIgnoreString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PrintableString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPrintableString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NumericString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNumericString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DNString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDNString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CaseExactString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCaseExactString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CaseIgnoreString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCaseIgnoreString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrintableString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPrintableString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NumericString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNumericString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Boolean: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBoolean: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Integer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetInteger: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub OctetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOctetString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OctetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOctetString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4508,7 +4508,7 @@ windows_core::imp::define_interface!(IADsPropertyValue2, IADsPropertyValue2_Vtbl impl std::ops::Deref for IADsPropertyValue2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4529,8 +4529,8 @@ impl IADsPropertyValue2 { #[repr(C)] pub struct IADsPropertyValue2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub GetObjectProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutObjectProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetObjectProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutObjectProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsReplicaPointer, IADsReplicaPointer_Vtbl, 0xf60fb803_4080_11d1_a3ac_00c04fb950dc); @@ -4538,7 +4538,7 @@ windows_core::imp::define_interface!(IADsReplicaPointer, IADsReplicaPointer_Vtbl impl std::ops::Deref for IADsReplicaPointer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4546,7 +4546,7 @@ windows_core::imp::interface_hierarchy!(IADsReplicaPointer, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IADsReplicaPointer { pub unsafe fn ServerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServerName(&self, bstrservername: P0) -> windows_core::Result<()> @@ -4556,28 +4556,28 @@ impl IADsReplicaPointer { (windows_core::Interface::vtable(self).SetServerName)(windows_core::Interface::as_raw(self), bstrservername.param().abi()).ok() } pub unsafe fn ReplicaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReplicaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReplicaNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCount(&self, lncount: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetCount)(windows_core::Interface::as_raw(self), lncount).ok() } pub unsafe fn ReplicaAddressHints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReplicaAddressHints)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetReplicaAddressHints(&self, vreplicaaddresshints: P0) -> windows_core::Result<()> @@ -4591,16 +4591,16 @@ impl IADsReplicaPointer { #[repr(C)] pub struct IADsReplicaPointer_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ServerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServerName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServerName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReplicaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetReplicaType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ReplicaNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetReplicaNumber: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub ReplicaAddressHints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReplicaAddressHints: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReplicaAddressHints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReplicaAddressHints: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsResource, IADsResource_Vtbl, 0x34a05b20_4aab_11cf_ae2c_00aa006ebfb9); @@ -4608,7 +4608,7 @@ windows_core::imp::define_interface!(IADsResource, IADsResource_Vtbl, 0x34a05b20 impl std::ops::Deref for IADsResource { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4616,19 +4616,19 @@ windows_core::imp::interface_hierarchy!(IADsResource, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IADsResource { pub unsafe fn User(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).User)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LockCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LockCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4636,9 +4636,9 @@ impl IADsResource { #[repr(C)] pub struct IADsResource_Vtbl { pub base__: IADs_Vtbl, - pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LockCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -4647,7 +4647,7 @@ windows_core::imp::define_interface!(IADsSecurityDescriptor, IADsSecurityDescrip impl std::ops::Deref for IADsSecurityDescriptor { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4655,21 +4655,21 @@ windows_core::imp::interface_hierarchy!(IADsSecurityDescriptor, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IADsSecurityDescriptor { pub unsafe fn Revision(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Revision)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Control)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetControl(&self, lncontrol: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetControl)(windows_core::Interface::as_raw(self), lncontrol).ok() } pub unsafe fn Owner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Owner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOwner(&self, bstrowner: P0) -> windows_core::Result<()> @@ -4679,7 +4679,7 @@ impl IADsSecurityDescriptor { (windows_core::Interface::vtable(self).SetOwner)(windows_core::Interface::as_raw(self), bstrowner.param().abi()).ok() } pub unsafe fn OwnerDefaulted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OwnerDefaulted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOwnerDefaulted(&self, fownerdefaulted: P0) -> windows_core::Result<()> @@ -4689,7 +4689,7 @@ impl IADsSecurityDescriptor { (windows_core::Interface::vtable(self).SetOwnerDefaulted)(windows_core::Interface::as_raw(self), fownerdefaulted.param().abi()).ok() } pub unsafe fn Group(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Group)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetGroup(&self, bstrgroup: P0) -> windows_core::Result<()> @@ -4699,7 +4699,7 @@ impl IADsSecurityDescriptor { (windows_core::Interface::vtable(self).SetGroup)(windows_core::Interface::as_raw(self), bstrgroup.param().abi()).ok() } pub unsafe fn GroupDefaulted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GroupDefaulted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGroupDefaulted(&self, fgroupdefaulted: P0) -> windows_core::Result<()> @@ -4710,7 +4710,7 @@ impl IADsSecurityDescriptor { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DiscretionaryAcl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiscretionaryAcl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4721,7 +4721,7 @@ impl IADsSecurityDescriptor { (windows_core::Interface::vtable(self).SetDiscretionaryAcl)(windows_core::Interface::as_raw(self), pdiscretionaryacl.param().abi()).ok() } pub unsafe fn DaclDefaulted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DaclDefaulted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDaclDefaulted(&self, fdacldefaulted: P0) -> windows_core::Result<()> @@ -4732,7 +4732,7 @@ impl IADsSecurityDescriptor { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SystemAcl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SystemAcl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4743,7 +4743,7 @@ impl IADsSecurityDescriptor { (windows_core::Interface::vtable(self).SetSystemAcl)(windows_core::Interface::as_raw(self), psystemacl.param().abi()).ok() } pub unsafe fn SaclDefaulted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaclDefaulted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSaclDefaulted(&self, fsacldefaulted: P0) -> windows_core::Result<()> @@ -4754,7 +4754,7 @@ impl IADsSecurityDescriptor { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CopySecurityDescriptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopySecurityDescriptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4766,12 +4766,12 @@ pub struct IADsSecurityDescriptor_Vtbl { pub SetRevision: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Control: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetControl: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Owner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOwner: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Owner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOwner: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub OwnerDefaulted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetOwnerDefaulted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GroupDefaulted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetGroupDefaulted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -4805,7 +4805,7 @@ windows_core::imp::define_interface!(IADsSecurityUtility, IADsSecurityUtility_Vt impl std::ops::Deref for IADsSecurityUtility { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4816,7 +4816,7 @@ impl IADsSecurityUtility { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityDescriptor)(windows_core::Interface::as_raw(self), varpath.param().abi(), lpathformat, lformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSecurityDescriptor(&self, varpath: P0, lpathformat: i32, vardata: P1, ldataformat: i32) -> windows_core::Result<()> @@ -4830,11 +4830,11 @@ impl IADsSecurityUtility { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConvertSecurityDescriptor)(windows_core::Interface::as_raw(self), varsd.param().abi(), ldataformat, loutformat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SecurityMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SecurityMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSecurityMask(&self, lnsecuritymask: i32) -> windows_core::Result<()> { @@ -4845,9 +4845,9 @@ impl IADsSecurityUtility { #[repr(C)] pub struct IADsSecurityUtility_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub GetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub ConvertSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub ConvertSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SecurityMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSecurityMask: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -4857,7 +4857,7 @@ windows_core::imp::define_interface!(IADsService, IADsService_Vtbl, 0x68af66e0_3 impl std::ops::Deref for IADsService { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4865,7 +4865,7 @@ windows_core::imp::interface_hierarchy!(IADsService, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IADsService { pub unsafe fn HostComputer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HostComputer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHostComputer(&self, bstrhostcomputer: P0) -> windows_core::Result<()> @@ -4875,7 +4875,7 @@ impl IADsService { (windows_core::Interface::vtable(self).SetHostComputer)(windows_core::Interface::as_raw(self), bstrhostcomputer.param().abi()).ok() } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDisplayName(&self, bstrdisplayname: P0) -> windows_core::Result<()> @@ -4885,7 +4885,7 @@ impl IADsService { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), bstrdisplayname.param().abi()).ok() } pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVersion(&self, bstrversion: P0) -> windows_core::Result<()> @@ -4895,21 +4895,21 @@ impl IADsService { (windows_core::Interface::vtable(self).SetVersion)(windows_core::Interface::as_raw(self), bstrversion.param().abi()).ok() } pub unsafe fn ServiceType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStartType(&self, lnstarttype: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetStartType)(windows_core::Interface::as_raw(self), lnstarttype).ok() } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPath(&self, bstrpath: P0) -> windows_core::Result<()> @@ -4919,7 +4919,7 @@ impl IADsService { (windows_core::Interface::vtable(self).SetPath)(windows_core::Interface::as_raw(self), bstrpath.param().abi()).ok() } pub unsafe fn StartupParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartupParameters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStartupParameters(&self, bstrstartupparameters: P0) -> windows_core::Result<()> @@ -4929,14 +4929,14 @@ impl IADsService { (windows_core::Interface::vtable(self).SetStartupParameters)(windows_core::Interface::as_raw(self), bstrstartupparameters.param().abi()).ok() } pub unsafe fn ErrorControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ErrorControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetErrorControl(&self, lnerrorcontrol: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetErrorControl)(windows_core::Interface::as_raw(self), lnerrorcontrol).ok() } pub unsafe fn LoadOrderGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadOrderGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLoadOrderGroup(&self, bstrloadordergroup: P0) -> windows_core::Result<()> @@ -4946,7 +4946,7 @@ impl IADsService { (windows_core::Interface::vtable(self).SetLoadOrderGroup)(windows_core::Interface::as_raw(self), bstrloadordergroup.param().abi()).ok() } pub unsafe fn ServiceAccountName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceAccountName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServiceAccountName(&self, bstrserviceaccountname: P0) -> windows_core::Result<()> @@ -4956,7 +4956,7 @@ impl IADsService { (windows_core::Interface::vtable(self).SetServiceAccountName)(windows_core::Interface::as_raw(self), bstrserviceaccountname.param().abi()).ok() } pub unsafe fn ServiceAccountPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceAccountPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServiceAccountPath(&self, bstrserviceaccountpath: P0) -> windows_core::Result<()> @@ -4966,7 +4966,7 @@ impl IADsService { (windows_core::Interface::vtable(self).SetServiceAccountPath)(windows_core::Interface::as_raw(self), bstrserviceaccountpath.param().abi()).ok() } pub unsafe fn Dependencies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Dependencies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDependencies(&self, vdependencies: P0) -> windows_core::Result<()> @@ -4980,30 +4980,30 @@ impl IADsService { #[repr(C)] pub struct IADsService_Vtbl { pub base__: IADs_Vtbl, - pub HostComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHostComputer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HostComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHostComputer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ServiceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetServiceType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub StartType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetStartType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StartupParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStartupParameters: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartupParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStartupParameters: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ErrorControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetErrorControl: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub LoadOrderGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLoadOrderGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceAccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceAccountName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceAccountPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceAccountPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Dependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoadOrderGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLoadOrderGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceAccountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceAccountName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceAccountPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceAccountPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Dependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsServiceOperations, IADsServiceOperations_Vtbl, 0x5d7b33f0_31ca_11cf_a98a_00aa006bc149); @@ -5011,7 +5011,7 @@ windows_core::imp::define_interface!(IADsServiceOperations, IADsServiceOperation impl std::ops::Deref for IADsServiceOperations { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5019,7 +5019,7 @@ windows_core::imp::interface_hierarchy!(IADsServiceOperations, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IADsServiceOperations { pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -5050,7 +5050,7 @@ pub struct IADsServiceOperations_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Continue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsSession, IADsSession_Vtbl, 0x398b7da0_4aab_11cf_ae2c_00aa006ebfb9); @@ -5058,7 +5058,7 @@ windows_core::imp::define_interface!(IADsSession, IADsSession_Vtbl, 0x398b7da0_4 impl std::ops::Deref for IADsSession { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5066,27 +5066,27 @@ windows_core::imp::interface_hierarchy!(IADsSession, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IADsSession { pub unsafe fn User(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).User)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Computer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Computer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ComputerPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputerPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ConnectTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IdleTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IdleTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5094,10 +5094,10 @@ impl IADsSession { #[repr(C)] pub struct IADsSession_Vtbl { pub base__: IADs_Vtbl, - pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Computer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ComputerPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Computer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ComputerPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ConnectTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IdleTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -5107,7 +5107,7 @@ windows_core::imp::define_interface!(IADsSyntax, IADsSyntax_Vtbl, 0xc8f93dd2_4ae impl std::ops::Deref for IADsSyntax { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5115,7 +5115,7 @@ windows_core::imp::interface_hierarchy!(IADsSyntax, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IADsSyntax { pub unsafe fn OleAutoDataType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OleAutoDataType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOleAutoDataType(&self, lnoleautodatatype: i32) -> windows_core::Result<()> { @@ -5135,7 +5135,7 @@ windows_core::imp::define_interface!(IADsTimestamp, IADsTimestamp_Vtbl, 0xb2f5a9 impl std::ops::Deref for IADsTimestamp { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5143,14 +5143,14 @@ windows_core::imp::interface_hierarchy!(IADsTimestamp, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IADsTimestamp { pub unsafe fn WholeSeconds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WholeSeconds)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEventID(&self, lneventid: i32) -> windows_core::Result<()> { @@ -5172,7 +5172,7 @@ windows_core::imp::define_interface!(IADsTypedName, IADsTypedName_Vtbl, 0xb371a3 impl std::ops::Deref for IADsTypedName { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5180,7 +5180,7 @@ windows_core::imp::interface_hierarchy!(IADsTypedName, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IADsTypedName { pub unsafe fn ObjectName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetObjectName(&self, bstrobjectname: P0) -> windows_core::Result<()> @@ -5190,14 +5190,14 @@ impl IADsTypedName { (windows_core::Interface::vtable(self).SetObjectName)(windows_core::Interface::as_raw(self), bstrobjectname.param().abi()).ok() } pub unsafe fn Level(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Level)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Interval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInterval(&self, lninterval: i32) -> windows_core::Result<()> { @@ -5208,8 +5208,8 @@ impl IADsTypedName { #[repr(C)] pub struct IADsTypedName_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Level: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Interval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -5221,7 +5221,7 @@ windows_core::imp::define_interface!(IADsUser, IADsUser_Vtbl, 0x3e37e320_17e2_11 impl std::ops::Deref for IADsUser { type Target = IADs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5229,31 +5229,31 @@ windows_core::imp::interface_hierarchy!(IADsUser, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IADsUser { pub unsafe fn BadLoginAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BadLoginAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BadLoginCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BadLoginCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastLogin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastLogin)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastLogoff(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastLogoff)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastFailedLogin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastFailedLogin)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PasswordLastChanged(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PasswordLastChanged)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -5263,7 +5263,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn Division(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Division)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDivision(&self, bstrdivision: P0) -> windows_core::Result<()> @@ -5273,7 +5273,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetDivision)(windows_core::Interface::as_raw(self), bstrdivision.param().abi()).ok() } pub unsafe fn Department(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Department)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDepartment(&self, bstrdepartment: P0) -> windows_core::Result<()> @@ -5283,7 +5283,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetDepartment)(windows_core::Interface::as_raw(self), bstrdepartment.param().abi()).ok() } pub unsafe fn EmployeeID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EmployeeID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEmployeeID(&self, bstremployeeid: P0) -> windows_core::Result<()> @@ -5293,7 +5293,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetEmployeeID)(windows_core::Interface::as_raw(self), bstremployeeid.param().abi()).ok() } pub unsafe fn FullName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FullName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFullName(&self, bstrfullname: P0) -> windows_core::Result<()> @@ -5303,7 +5303,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetFullName)(windows_core::Interface::as_raw(self), bstrfullname.param().abi()).ok() } pub unsafe fn FirstName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirstName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFirstName(&self, bstrfirstname: P0) -> windows_core::Result<()> @@ -5313,7 +5313,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetFirstName)(windows_core::Interface::as_raw(self), bstrfirstname.param().abi()).ok() } pub unsafe fn LastName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLastName(&self, bstrlastname: P0) -> windows_core::Result<()> @@ -5323,7 +5323,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetLastName)(windows_core::Interface::as_raw(self), bstrlastname.param().abi()).ok() } pub unsafe fn OtherName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OtherName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOtherName(&self, bstrothername: P0) -> windows_core::Result<()> @@ -5333,7 +5333,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetOtherName)(windows_core::Interface::as_raw(self), bstrothername.param().abi()).ok() } pub unsafe fn NamePrefix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamePrefix)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNamePrefix(&self, bstrnameprefix: P0) -> windows_core::Result<()> @@ -5343,7 +5343,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetNamePrefix)(windows_core::Interface::as_raw(self), bstrnameprefix.param().abi()).ok() } pub unsafe fn NameSuffix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NameSuffix)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNameSuffix(&self, bstrnamesuffix: P0) -> windows_core::Result<()> @@ -5353,7 +5353,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetNameSuffix)(windows_core::Interface::as_raw(self), bstrnamesuffix.param().abi()).ok() } pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTitle(&self, bstrtitle: P0) -> windows_core::Result<()> @@ -5363,7 +5363,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetTitle)(windows_core::Interface::as_raw(self), bstrtitle.param().abi()).ok() } pub unsafe fn Manager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Manager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetManager(&self, bstrmanager: P0) -> windows_core::Result<()> @@ -5373,7 +5373,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetManager)(windows_core::Interface::as_raw(self), bstrmanager.param().abi()).ok() } pub unsafe fn TelephoneHome(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneHome)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTelephoneHome(&self, vtelephonehome: P0) -> windows_core::Result<()> @@ -5383,7 +5383,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetTelephoneHome)(windows_core::Interface::as_raw(self), vtelephonehome.param().abi()).ok() } pub unsafe fn TelephoneMobile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneMobile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTelephoneMobile(&self, vtelephonemobile: P0) -> windows_core::Result<()> @@ -5393,7 +5393,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetTelephoneMobile)(windows_core::Interface::as_raw(self), vtelephonemobile.param().abi()).ok() } pub unsafe fn TelephoneNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephoneNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTelephoneNumber(&self, vtelephonenumber: P0) -> windows_core::Result<()> @@ -5403,7 +5403,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetTelephoneNumber)(windows_core::Interface::as_raw(self), vtelephonenumber.param().abi()).ok() } pub unsafe fn TelephonePager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TelephonePager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTelephonePager(&self, vtelephonepager: P0) -> windows_core::Result<()> @@ -5413,7 +5413,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetTelephonePager)(windows_core::Interface::as_raw(self), vtelephonepager.param().abi()).ok() } pub unsafe fn FaxNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FaxNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFaxNumber(&self, vfaxnumber: P0) -> windows_core::Result<()> @@ -5423,7 +5423,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetFaxNumber)(windows_core::Interface::as_raw(self), vfaxnumber.param().abi()).ok() } pub unsafe fn OfficeLocations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OfficeLocations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOfficeLocations(&self, vofficelocations: P0) -> windows_core::Result<()> @@ -5433,7 +5433,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetOfficeLocations)(windows_core::Interface::as_raw(self), vofficelocations.param().abi()).ok() } pub unsafe fn PostalAddresses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalAddresses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPostalAddresses(&self, vpostaladdresses: P0) -> windows_core::Result<()> @@ -5443,7 +5443,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetPostalAddresses)(windows_core::Interface::as_raw(self), vpostaladdresses.param().abi()).ok() } pub unsafe fn PostalCodes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostalCodes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPostalCodes(&self, vpostalcodes: P0) -> windows_core::Result<()> @@ -5453,7 +5453,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetPostalCodes)(windows_core::Interface::as_raw(self), vpostalcodes.param().abi()).ok() } pub unsafe fn SeeAlso(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SeeAlso)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSeeAlso(&self, vseealso: P0) -> windows_core::Result<()> @@ -5463,7 +5463,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetSeeAlso)(windows_core::Interface::as_raw(self), vseealso.param().abi()).ok() } pub unsafe fn AccountDisabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AccountDisabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccountDisabled(&self, faccountdisabled: P0) -> windows_core::Result<()> @@ -5473,28 +5473,28 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetAccountDisabled)(windows_core::Interface::as_raw(self), faccountdisabled.param().abi()).ok() } pub unsafe fn AccountExpirationDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AccountExpirationDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GraceLoginsAllowed)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GraceLoginsRemaining)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAccountLocked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsAccountLocked(&self, fisaccountlocked: P0) -> windows_core::Result<()> @@ -5504,7 +5504,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetIsAccountLocked)(windows_core::Interface::as_raw(self), fisaccountlocked.param().abi()).ok() } pub unsafe fn LoginHours(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoginHours)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLoginHours(&self, vloginhours: P0) -> windows_core::Result<()> @@ -5514,7 +5514,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetLoginHours)(windows_core::Interface::as_raw(self), vloginhours.param().abi()).ok() } pub unsafe fn LoginWorkstations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoginWorkstations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLoginWorkstations(&self, vloginworkstations: P0) -> windows_core::Result<()> @@ -5524,35 +5524,35 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetLoginWorkstations)(windows_core::Interface::as_raw(self), vloginworkstations.param().abi()).ok() } pub unsafe fn MaxLogins(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxLogins)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxStorage)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PasswordExpirationDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PasswordMinimumLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PasswordRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPasswordRequired(&self, fpasswordrequired: P0) -> windows_core::Result<()> @@ -5562,7 +5562,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetPasswordRequired)(windows_core::Interface::as_raw(self), fpasswordrequired.param().abi()).ok() } pub unsafe fn RequireUniquePassword(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequireUniquePassword)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRequireUniquePassword(&self, frequireuniquepassword: P0) -> windows_core::Result<()> @@ -5572,7 +5572,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetRequireUniquePassword)(windows_core::Interface::as_raw(self), frequireuniquepassword.param().abi()).ok() } pub unsafe fn EmailAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EmailAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEmailAddress(&self, bstremailaddress: P0) -> windows_core::Result<()> @@ -5582,7 +5582,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetEmailAddress)(windows_core::Interface::as_raw(self), bstremailaddress.param().abi()).ok() } pub unsafe fn HomeDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HomeDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHomeDirectory(&self, bstrhomedirectory: P0) -> windows_core::Result<()> @@ -5592,7 +5592,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetHomeDirectory)(windows_core::Interface::as_raw(self), bstrhomedirectory.param().abi()).ok() } pub unsafe fn Languages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Languages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLanguages(&self, vlanguages: P0) -> windows_core::Result<()> @@ -5602,7 +5602,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetLanguages)(windows_core::Interface::as_raw(self), vlanguages.param().abi()).ok() } pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProfile(&self, bstrprofile: P0) -> windows_core::Result<()> @@ -5612,7 +5612,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetProfile)(windows_core::Interface::as_raw(self), bstrprofile.param().abi()).ok() } pub unsafe fn LoginScript(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoginScript)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLoginScript(&self, bstrloginscript: P0) -> windows_core::Result<()> @@ -5622,7 +5622,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetLoginScript)(windows_core::Interface::as_raw(self), bstrloginscript.param().abi()).ok() } pub unsafe fn Picture(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Picture)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPicture(&self, vpicture: P0) -> windows_core::Result<()> @@ -5632,7 +5632,7 @@ impl IADsUser { (windows_core::Interface::vtable(self).SetPicture)(windows_core::Interface::as_raw(self), vpicture.param().abi()).ok() } pub unsafe fn HomePage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HomePage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHomePage(&self, bstrhomepage: P0) -> windows_core::Result<()> @@ -5643,7 +5643,7 @@ impl IADsUser { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Groups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Groups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPassword(&self, newpassword: P0) -> windows_core::Result<()> @@ -5664,54 +5664,54 @@ impl IADsUser { #[repr(C)] pub struct IADsUser_Vtbl { pub base__: IADs_Vtbl, - pub BadLoginAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BadLoginAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BadLoginCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastLogin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub LastLogoff: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub LastFailedLogin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub PasswordLastChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Division: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDivision: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Department: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDepartment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EmployeeID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEmployeeID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFullName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFirstName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLastName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OtherName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOtherName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NameSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNameSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Manager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetManager: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TelephoneHome: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTelephoneHome: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TelephoneMobile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTelephoneMobile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TelephonePager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTelephonePager: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OfficeLocations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOfficeLocations: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPostalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostalCodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPostalCodes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Division: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDivision: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Department: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDepartment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmployeeID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEmployeeID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFullName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FirstName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFirstName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLastName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OtherName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOtherName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NameSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNameSuffix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Manager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetManager: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TelephoneHome: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTelephoneHome: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TelephoneMobile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTelephoneMobile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTelephoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TelephonePager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTelephonePager: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFaxNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OfficeLocations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOfficeLocations: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPostalAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostalCodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPostalCodes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AccountDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAccountDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub AccountExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, @@ -5722,10 +5722,10 @@ pub struct IADsUser_Vtbl { pub SetGraceLoginsRemaining: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsAccountLocked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIsAccountLocked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub LoginHours: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLoginHours: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LoginWorkstations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLoginWorkstations: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoginHours: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLoginHours: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoginWorkstations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLoginWorkstations: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxLogins: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxLogins: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MaxStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -5738,26 +5738,26 @@ pub struct IADsUser_Vtbl { pub SetPasswordRequired: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub RequireUniquePassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetRequireUniquePassword: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub EmailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEmailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LoginScript: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLoginScript: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Picture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPicture: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HomePage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHomePage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEmailAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoginScript: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLoginScript: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Picture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPicture: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HomePage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHomePage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Groups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Groups: usize, - pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChangePassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangePassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsWinNTSystemInfo, IADsWinNTSystemInfo_Vtbl, 0x6c6d65dc_afd1_11d2_9cb9_0000f87a369e); @@ -5765,7 +5765,7 @@ windows_core::imp::define_interface!(IADsWinNTSystemInfo, IADsWinNTSystemInfo_Vt impl std::ops::Deref for IADsWinNTSystemInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5773,19 +5773,19 @@ windows_core::imp::interface_hierarchy!(IADsWinNTSystemInfo, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IADsWinNTSystemInfo { pub unsafe fn UserName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ComputerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DomainName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DomainName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PDC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PDC)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5793,16 +5793,16 @@ impl IADsWinNTSystemInfo { #[repr(C)] pub struct IADsWinNTSystemInfo_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ComputerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PDC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ComputerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PDC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommonQuery, ICommonQuery_Vtbl, 0xab50dec0_6f1d_11d0_a1c4_00aa00c16e65); impl std::ops::Deref for ICommonQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommonQuery, windows_core::IUnknown); @@ -5827,20 +5827,20 @@ windows_core::imp::define_interface!(IDirectoryObject, IDirectoryObject_Vtbl, 0x impl std::ops::Deref for IDirectoryObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectoryObject, windows_core::IUnknown); impl IDirectoryObject { pub unsafe fn GetObjectInformation(&self) -> windows_core::Result<*mut ADS_OBJECT_INFO> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectInformation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetObjectAttributes(&self, pattributenames: *const windows_core::PCWSTR, dwnumberattributes: u32, ppattributeentries: *mut *mut ADS_ATTR_INFO, pdwnumattributesreturned: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetObjectAttributes)(windows_core::Interface::as_raw(self), pattributenames, dwnumberattributes, ppattributeentries, pdwnumattributesreturned).ok() } pub unsafe fn SetObjectAttributes(&self, pattributeentries: *const ADS_ATTR_INFO, dwnumattributes: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetObjectAttributes)(windows_core::Interface::as_raw(self), pattributeentries, dwnumattributes, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5848,7 +5848,7 @@ impl IDirectoryObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDSObject)(windows_core::Interface::as_raw(self), pszrdnname.param().abi(), pattributeentries, dwnumattributes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteDSObject(&self, pszrdnname: P0) -> windows_core::Result<()> @@ -5874,7 +5874,7 @@ windows_core::imp::define_interface!(IDirectorySchemaMgmt, IDirectorySchemaMgmt_ impl std::ops::Deref for IDirectorySchemaMgmt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectorySchemaMgmt, windows_core::IUnknown); @@ -5938,7 +5938,7 @@ windows_core::imp::define_interface!(IDirectorySearch, IDirectorySearch_Vtbl, 0x impl std::ops::Deref for IDirectorySearch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectorySearch, windows_core::IUnknown); @@ -5950,7 +5950,7 @@ impl IDirectorySearch { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecuteSearch)(windows_core::Interface::as_raw(self), pszsearchfilter.param().abi(), pattributenames, dwnumberattributes, &mut result__).map(|| result__) } pub unsafe fn AbandonSearch(&self, phsearchresult: P0) -> windows_core::Result<()> @@ -6018,7 +6018,7 @@ windows_core::imp::define_interface!(IDsAdminCreateObj, IDsAdminCreateObj_Vtbl, impl std::ops::Deref for IDsAdminCreateObj { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDsAdminCreateObj, windows_core::IUnknown); @@ -6037,7 +6037,7 @@ impl IDsAdminCreateObj { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateModal)(windows_core::Interface::as_raw(self), hwndparent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6057,7 +6057,7 @@ windows_core::imp::define_interface!(IDsAdminNewObj, IDsAdminNewObj_Vtbl, 0xf257 impl std::ops::Deref for IDsAdminNewObj { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDsAdminNewObj, windows_core::IUnknown); @@ -6082,7 +6082,7 @@ windows_core::imp::define_interface!(IDsAdminNewObjExt, IDsAdminNewObjExt_Vtbl, impl std::ops::Deref for IDsAdminNewObjExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDsAdminNewObjExt, windows_core::IUnknown); @@ -6144,13 +6144,13 @@ pub struct IDsAdminNewObjExt_Vtbl { SetObject: usize, pub WriteData: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::HRESULT, u32) -> windows_core::HRESULT, - pub GetSummaryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSummaryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDsAdminNewObjPrimarySite, IDsAdminNewObjPrimarySite_Vtbl, 0xbe2b487e_f904_11d2_82b9_00c04f68928b); impl std::ops::Deref for IDsAdminNewObjPrimarySite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDsAdminNewObjPrimarySite, windows_core::IUnknown); @@ -6175,7 +6175,7 @@ windows_core::imp::define_interface!(IDsAdminNotifyHandler, IDsAdminNotifyHandle impl std::ops::Deref for IDsAdminNotifyHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDsAdminNotifyHandler, windows_core::IUnknown); @@ -6210,7 +6210,7 @@ pub struct IDsAdminNotifyHandler_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Initialize: usize, #[cfg(feature = "Win32_System_Com")] - pub Begin: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Begin: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Begin: usize, pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, @@ -6220,7 +6220,7 @@ windows_core::imp::define_interface!(IDsBrowseDomainTree, IDsBrowseDomainTree_Vt impl std::ops::Deref for IDsBrowseDomainTree { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDsBrowseDomainTree, windows_core::IUnknown); @@ -6262,7 +6262,7 @@ windows_core::imp::define_interface!(IDsDisplaySpecifier, IDsDisplaySpecifier_Vt impl std::ops::Deref for IDsDisplaySpecifier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDsDisplaySpecifier, windows_core::IUnknown); @@ -6359,7 +6359,7 @@ windows_core::imp::define_interface!(IDsObjectPicker, IDsObjectPicker_Vtbl, 0x0c impl std::ops::Deref for IDsObjectPicker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDsObjectPicker, windows_core::IUnknown); @@ -6372,7 +6372,7 @@ impl IDsObjectPicker { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InvokeDialog)(windows_core::Interface::as_raw(self), hwndparent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6389,7 +6389,7 @@ windows_core::imp::define_interface!(IDsObjectPickerCredentials, IDsObjectPicker impl std::ops::Deref for IDsObjectPickerCredentials { type Target = IDsObjectPicker; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDsObjectPickerCredentials, windows_core::IUnknown, IDsObjectPicker); @@ -6413,7 +6413,7 @@ windows_core::imp::define_interface!(IPersistQuery, IPersistQuery_Vtbl, 0x1a3114 impl std::ops::Deref for IPersistQuery { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6483,7 +6483,7 @@ windows_core::imp::define_interface!(IPrivateDispatch, IPrivateDispatch_Vtbl, 0x impl std::ops::Deref for IPrivateDispatch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrivateDispatch, windows_core::IUnknown); @@ -6492,16 +6492,16 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ADSIGetTypeInfoCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ADSIGetTypeInfo(&self, itinfo: u32, lcid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ADSIGetTypeInfo)(windows_core::Interface::as_raw(self), itinfo, lcid, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ADSIGetIDsOfNames)(windows_core::Interface::as_raw(self), riid, rgsznames, cnames, lcid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -6520,7 +6520,7 @@ pub struct IPrivateDispatch_Vtbl { ADSIGetTypeInfo: usize, pub ADSIGetIDsOfNames: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const *const u16, u32, u32, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ADSIInvoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, u16, *const super::super::System::Com::DISPPARAMS, *mut std::mem::MaybeUninit, *mut super::super::System::Com::EXCEPINFO, *mut u32) -> windows_core::HRESULT, + pub ADSIInvoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, u16, *const super::super::System::Com::DISPPARAMS, *mut core::mem::MaybeUninit, *mut super::super::System::Com::EXCEPINFO, *mut u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ADSIInvoke: usize, } @@ -6528,7 +6528,7 @@ windows_core::imp::define_interface!(IPrivateUnknown, IPrivateUnknown_Vtbl, 0x89 impl std::ops::Deref for IPrivateUnknown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrivateUnknown, windows_core::IUnknown); @@ -6547,14 +6547,14 @@ impl IPrivateUnknown { #[repr(C)] pub struct IPrivateUnknown_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ADSIInitializeObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub ADSIInitializeObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub ADSIReleaseObject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQueryForm, IQueryForm_Vtbl, 0x8cfcee30_39bd_11d0_b8d1_00a024ab2dbb); impl std::ops::Deref for IQueryForm { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryForm, windows_core::IUnknown); @@ -8136,7 +8136,7 @@ pub struct ADSPROPINITPARAMS { pub dwSize: u32, pub dwFlags: u32, pub hr: windows_core::HRESULT, - pub pDsObj: std::mem::ManuallyDrop>, + pub pDsObj: core::mem::ManuallyDrop>, pub pwzCN: windows_core::PWSTR, pub pWritableAttrs: *mut ADS_ATTR_INFO, } @@ -10109,7 +10109,7 @@ pub struct OPENQUERYWINDOW { pub clsidHandler: windows_core::GUID, pub pHandlerParameters: *mut core::ffi::c_void, pub clsidDefaultForm: windows_core::GUID, - pub pPersistQuery: std::mem::ManuallyDrop>, + pub pPersistQuery: core::mem::ManuallyDrop>, pub Anonymous: OPENQUERYWINDOW_0, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -10132,7 +10132,7 @@ impl Default for OPENQUERYWINDOW { #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub union OPENQUERYWINDOW_0 { pub pFormParameters: *mut core::ffi::c_void, - pub ppbFormParameters: std::mem::ManuallyDrop>, + pub ppbFormParameters: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl Clone for OPENQUERYWINDOW_0 { diff --git a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs index 903af28b8e..c467a40c9e 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs @@ -75,7 +75,7 @@ impl IBITSExtensionSetup_Vtbl { let this = (*this).get_impl(); IBITSExtensionSetup_Impl::DisableBITSUploads(this).into() } - unsafe extern "system" fn GetCleanupTaskName, Impl: IBITSExtensionSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCleanupTaskName, Impl: IBITSExtensionSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBITSExtensionSetup_Impl::GetCleanupTaskName(this) { @@ -118,7 +118,7 @@ impl windows_core::RuntimeName for IBITSExtensionSetupFactory {} #[cfg(feature = "Win32_System_Com")] impl IBITSExtensionSetupFactory_Vtbl { pub const fn new, Impl: IBITSExtensionSetupFactory_Impl, const OFFSET: isize>() -> IBITSExtensionSetupFactory_Vtbl { - unsafe extern "system" fn GetObject, Impl: IBITSExtensionSetupFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, ppextensionsetup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetObject, Impl: IBITSExtensionSetupFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, ppextensionsetup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBITSExtensionSetupFactory_Impl::GetObject(this, core::mem::transmute(&path)) { @@ -545,7 +545,7 @@ pub trait IBackgroundCopyGroup_Impl: Sized { impl windows_core::RuntimeName for IBackgroundCopyGroup {} impl IBackgroundCopyGroup_Vtbl { pub const fn new, Impl: IBackgroundCopyGroup_Impl, const OFFSET: isize>() -> IBackgroundCopyGroup_Vtbl { - unsafe extern "system" fn GetProp, Impl: IBackgroundCopyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propid: GROUPPROP, pvarval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProp, Impl: IBackgroundCopyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propid: GROUPPROP, pvarval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBackgroundCopyGroup_Impl::GetProp(this, core::mem::transmute_copy(&propid)) { @@ -556,7 +556,7 @@ impl IBackgroundCopyGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProp, Impl: IBackgroundCopyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propid: GROUPPROP, pvarval: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProp, Impl: IBackgroundCopyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propid: GROUPPROP, pvarval: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBackgroundCopyGroup_Impl::SetProp(this, core::mem::transmute_copy(&propid), core::mem::transmute_copy(&pvarval)).into() 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 ce0b789088..de29fb9771 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(AsyncIBackgroundCopyCallback, AsyncIBackgro impl std::ops::Deref for AsyncIBackgroundCopyCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIBackgroundCopyCallback, windows_core::IUnknown); @@ -52,7 +52,7 @@ windows_core::imp::define_interface!(IBITSExtensionSetup, IBITSExtensionSetup_Vt impl std::ops::Deref for IBITSExtensionSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -66,11 +66,11 @@ impl IBITSExtensionSetup { (windows_core::Interface::vtable(self).DisableBITSUploads)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetCleanupTaskName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCleanupTaskName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCleanupTask(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCleanupTask)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -80,7 +80,7 @@ pub struct IBITSExtensionSetup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub EnableBITSUploads: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableBITSUploads: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCleanupTaskName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCleanupTaskName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCleanupTask: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -89,7 +89,7 @@ windows_core::imp::define_interface!(IBITSExtensionSetupFactory, IBITSExtensionS impl std::ops::Deref for IBITSExtensionSetupFactory { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -101,7 +101,7 @@ impl IBITSExtensionSetupFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -110,7 +110,7 @@ impl IBITSExtensionSetupFactory { pub struct IBITSExtensionSetupFactory_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetObject: usize, } @@ -118,7 +118,7 @@ windows_core::imp::define_interface!(IBackgroundCopyCallback, IBackgroundCopyCal impl std::ops::Deref for IBackgroundCopyCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback, windows_core::IUnknown); @@ -154,7 +154,7 @@ windows_core::imp::define_interface!(IBackgroundCopyCallback1, IBackgroundCopyCa impl std::ops::Deref for IBackgroundCopyCallback1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback1, windows_core::IUnknown); @@ -192,7 +192,7 @@ windows_core::imp::define_interface!(IBackgroundCopyCallback2, IBackgroundCopyCa impl std::ops::Deref for IBackgroundCopyCallback2 { type Target = IBackgroundCopyCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback2, windows_core::IUnknown, IBackgroundCopyCallback); @@ -214,7 +214,7 @@ windows_core::imp::define_interface!(IBackgroundCopyCallback3, IBackgroundCopyCa impl std::ops::Deref for IBackgroundCopyCallback3 { type Target = IBackgroundCopyCallback2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback3, windows_core::IUnknown, IBackgroundCopyCallback, IBackgroundCopyCallback2); @@ -236,7 +236,7 @@ windows_core::imp::define_interface!(IBackgroundCopyError, IBackgroundCopyError_ impl std::ops::Deref for IBackgroundCopyError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyError, windows_core::IUnknown); @@ -245,19 +245,19 @@ impl IBackgroundCopyError { (windows_core::Interface::vtable(self).GetError)(windows_core::Interface::as_raw(self), pcontext, pcode).ok() } pub unsafe fn GetFile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetErrorDescription(&self, languageid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorDescription)(windows_core::Interface::as_raw(self), languageid, &mut result__).map(|| result__) } pub unsafe fn GetErrorContextDescription(&self, languageid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorContextDescription)(windows_core::Interface::as_raw(self), languageid, &mut result__).map(|| result__) } pub unsafe fn GetProtocol(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtocol)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -274,17 +274,17 @@ windows_core::imp::define_interface!(IBackgroundCopyFile, IBackgroundCopyFile_Vt impl std::ops::Deref for IBackgroundCopyFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyFile, windows_core::IUnknown); impl IBackgroundCopyFile { pub unsafe fn GetRemoteName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRemoteName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocalName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProgress(&self, pval: *mut BG_FILE_PROGRESS) -> windows_core::Result<()> { @@ -302,7 +302,7 @@ windows_core::imp::define_interface!(IBackgroundCopyFile2, IBackgroundCopyFile2_ impl std::ops::Deref for IBackgroundCopyFile2 { type Target = IBackgroundCopyFile; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyFile2, windows_core::IUnknown, IBackgroundCopyFile); @@ -327,13 +327,13 @@ windows_core::imp::define_interface!(IBackgroundCopyFile3, IBackgroundCopyFile3_ impl std::ops::Deref for IBackgroundCopyFile3 { type Target = IBackgroundCopyFile2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyFile3, windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2); impl IBackgroundCopyFile3 { pub unsafe fn GetTemporaryName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTemporaryName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetValidationState(&self, state: P0) -> windows_core::Result<()> @@ -343,11 +343,11 @@ impl IBackgroundCopyFile3 { (windows_core::Interface::vtable(self).SetValidationState)(windows_core::Interface::as_raw(self), state.param().abi()).ok() } pub unsafe fn GetValidationState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValidationState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDownloadedFromPeer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDownloadedFromPeer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -363,7 +363,7 @@ windows_core::imp::define_interface!(IBackgroundCopyFile4, IBackgroundCopyFile4_ impl std::ops::Deref for IBackgroundCopyFile4 { type Target = IBackgroundCopyFile3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyFile4, windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3); @@ -381,7 +381,7 @@ windows_core::imp::define_interface!(IBackgroundCopyFile5, IBackgroundCopyFile5_ impl std::ops::Deref for IBackgroundCopyFile5 { type Target = IBackgroundCopyFile4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyFile5, windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4); @@ -390,7 +390,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).map(|| result__) } } @@ -404,7 +404,7 @@ windows_core::imp::define_interface!(IBackgroundCopyFile6, IBackgroundCopyFile6_ impl std::ops::Deref for IBackgroundCopyFile6 { type Target = IBackgroundCopyFile5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyFile6, windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4, IBackgroundCopyFile5); @@ -430,27 +430,27 @@ windows_core::imp::define_interface!(IBackgroundCopyGroup, IBackgroundCopyGroup_ impl std::ops::Deref for IBackgroundCopyGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyGroup, windows_core::IUnknown); impl IBackgroundCopyGroup { pub unsafe fn GetProp(&self, propid: GROUPPROP) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProp)(windows_core::Interface::as_raw(self), propid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProp(&self, propid: GROUPPROP, pvarval: *const windows_core::VARIANT) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgress)(windows_core::Interface::as_raw(self), dwflags, &mut result__).map(|| 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), pdwstatus, pdwjobindex).ok() } pub unsafe fn GetJob(&self, jobid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJob)(windows_core::Interface::as_raw(self), core::mem::transmute(jobid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SuspendGroup(&self) -> windows_core::Result<()> { @@ -463,26 +463,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GroupID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GroupID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CreateJob(&self, guidjobid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateJob)(windows_core::Interface::as_raw(self), core::mem::transmute(guidjobid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumJobs(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumJobs)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryNewJobInterface)(windows_core::Interface::as_raw(self), iid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNotificationPointer(&self, iid: *const windows_core::GUID, punk: P0) -> windows_core::Result<()> @@ -495,8 +495,8 @@ impl IBackgroundCopyGroup { #[repr(C)] pub struct IBackgroundCopyGroup_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetProp: unsafe extern "system" fn(*mut core::ffi::c_void, GROUPPROP, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProp: unsafe extern "system" fn(*mut core::ffi::c_void, GROUPPROP, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProp: unsafe extern "system" fn(*mut core::ffi::c_void, GROUPPROP, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProp: unsafe extern "system" fn(*mut core::ffi::c_void, GROUPPROP, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub GetJob: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -515,7 +515,7 @@ windows_core::imp::define_interface!(IBackgroundCopyJob, IBackgroundCopyJob_Vtbl impl std::ops::Deref for IBackgroundCopyJob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyJob, windows_core::IUnknown); @@ -531,7 +531,7 @@ impl IBackgroundCopyJob { (windows_core::Interface::vtable(self).AddFile)(windows_core::Interface::as_raw(self), remoteurl.param().abi(), localname.param().abi()).ok() } pub unsafe fn EnumFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFiles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Suspend(&self) -> windows_core::Result<()> { @@ -547,11 +547,11 @@ impl IBackgroundCopyJob { (windows_core::Interface::vtable(self).Complete)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProgress(&self, pval: *mut BG_JOB_PROGRESS) -> windows_core::Result<()> { @@ -561,15 +561,15 @@ impl IBackgroundCopyJob { (windows_core::Interface::vtable(self).GetTimes)(windows_core::Interface::as_raw(self), pval).ok() } pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetError)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDisplayName(&self, val: P0) -> windows_core::Result<()> @@ -579,7 +579,7 @@ impl IBackgroundCopyJob { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn GetDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDescription(&self, val: P0) -> windows_core::Result<()> @@ -589,21 +589,21 @@ impl IBackgroundCopyJob { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotifyInterface(&self, val: P0) -> windows_core::Result<()> @@ -613,25 +613,25 @@ impl IBackgroundCopyJob { (windows_core::Interface::vtable(self).SetNotifyInterface)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn GetNotifyInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinimumRetryDelay)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNoProgressTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetErrorCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProxySettings(&self, proxyusage: BG_JOB_PROXY_USAGE, proxylist: P0, proxybypasslist: P1) -> windows_core::Result<()> @@ -688,7 +688,7 @@ windows_core::imp::define_interface!(IBackgroundCopyJob1, IBackgroundCopyJob1_Vt impl std::ops::Deref for IBackgroundCopyJob1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyJob1, windows_core::IUnknown); @@ -697,7 +697,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgress)(windows_core::Interface::as_raw(self), dwflags, &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self, pdwstatus: *mut u32, pdwwin32result: *mut u32, pdwtransportresult: *mut u32, pdwnumofretries: *mut u32) -> windows_core::Result<()> { @@ -707,18 +707,18 @@ impl IBackgroundCopyJob1 { (windows_core::Interface::vtable(self).AddFiles)(windows_core::Interface::as_raw(self), ppfileset.len().try_into().unwrap(), core::mem::transmute(ppfileset.as_ptr())).ok() } pub unsafe fn GetFile(&self, cfileindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFile)(windows_core::Interface::as_raw(self), cfileindex, &mut result__).map(|| result__) } pub unsafe fn GetFileCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JobID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -738,7 +738,7 @@ windows_core::imp::define_interface!(IBackgroundCopyJob2, IBackgroundCopyJob2_Vt impl std::ops::Deref for IBackgroundCopyJob2 { type Target = IBackgroundCopyJob; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyJob2, windows_core::IUnknown, IBackgroundCopyJob); @@ -766,7 +766,7 @@ impl IBackgroundCopyJob2 { (windows_core::Interface::vtable(self).SetReplyFileName)(windows_core::Interface::as_raw(self), replyfilename.param().abi()).ok() } pub unsafe fn GetReplyFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReplyFileName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCredentials(&self, credentials: *const BG_AUTH_CREDENTIALS) -> windows_core::Result<()> { @@ -792,7 +792,7 @@ windows_core::imp::define_interface!(IBackgroundCopyJob3, IBackgroundCopyJob3_Vt impl std::ops::Deref for IBackgroundCopyJob3 { type Target = IBackgroundCopyJob2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyJob3, windows_core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2); @@ -815,7 +815,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileACLFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -831,7 +831,7 @@ windows_core::imp::define_interface!(IBackgroundCopyJob4, IBackgroundCopyJob4_Vt impl std::ops::Deref for IBackgroundCopyJob4 { type Target = IBackgroundCopyJob3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyJob4, windows_core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3); @@ -840,22 +840,22 @@ impl IBackgroundCopyJob4 { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPeerCachingFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOwnerIntegrityLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwnerIntegrityLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOwnerElevationState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwnerElevationState)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumDownloadTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -873,7 +873,7 @@ windows_core::imp::define_interface!(IBackgroundCopyJob5, IBackgroundCopyJob5_Vt impl std::ops::Deref for IBackgroundCopyJob5 { type Target = IBackgroundCopyJob4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyJob5, windows_core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3, IBackgroundCopyJob4); @@ -882,7 +882,7 @@ impl IBackgroundCopyJob5 { (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_JOB_PROPERTY_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).map(|| result__) } } @@ -896,7 +896,7 @@ windows_core::imp::define_interface!(IBackgroundCopyJobHttpOptions, IBackgroundC impl std::ops::Deref for IBackgroundCopyJobHttpOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions, windows_core::IUnknown); @@ -927,14 +927,14 @@ impl IBackgroundCopyJobHttpOptions { (windows_core::Interface::vtable(self).SetCustomHeaders)(windows_core::Interface::as_raw(self), requestheaders.param().abi()).ok() } pub unsafe fn GetCustomHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomHeaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -954,7 +954,7 @@ windows_core::imp::define_interface!(IBackgroundCopyJobHttpOptions2, IBackground impl std::ops::Deref for IBackgroundCopyJobHttpOptions2 { type Target = IBackgroundCopyJobHttpOptions; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions2, windows_core::IUnknown, IBackgroundCopyJobHttpOptions); @@ -966,7 +966,7 @@ impl IBackgroundCopyJobHttpOptions2 { (windows_core::Interface::vtable(self).SetHttpMethod)(windows_core::Interface::as_raw(self), method.param().abi()).ok() } pub unsafe fn GetHttpMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHttpMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -980,7 +980,7 @@ windows_core::imp::define_interface!(IBackgroundCopyJobHttpOptions3, IBackground impl std::ops::Deref for IBackgroundCopyJobHttpOptions3 { type Target = IBackgroundCopyJobHttpOptions2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions3, windows_core::IUnknown, IBackgroundCopyJobHttpOptions, IBackgroundCopyJobHttpOptions2); @@ -1005,7 +1005,7 @@ windows_core::imp::define_interface!(IBackgroundCopyManager, IBackgroundCopyMana impl std::ops::Deref for IBackgroundCopyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyManager, windows_core::IUnknown); @@ -1017,15 +1017,15 @@ impl IBackgroundCopyManager { (windows_core::Interface::vtable(self).CreateJob)(windows_core::Interface::as_raw(self), displayname.param().abi(), r#type, pjobid, core::mem::transmute(ppjob)).ok() } pub unsafe fn GetJob(&self, jobid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJob)(windows_core::Interface::as_raw(self), jobid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumJobs(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumJobs)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetErrorDescription(&self, hresult: windows_core::HRESULT, languageid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorDescription)(windows_core::Interface::as_raw(self), hresult, languageid, &mut result__).map(|| result__) } } @@ -1041,21 +1041,21 @@ windows_core::imp::define_interface!(IBackgroundCopyQMgr, IBackgroundCopyQMgr_Vt impl std::ops::Deref for IBackgroundCopyQMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyQMgr, windows_core::IUnknown); impl IBackgroundCopyQMgr { pub unsafe fn CreateGroup(&self, guidgroupid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGroup)(windows_core::Interface::as_raw(self), core::mem::transmute(guidgroupid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetGroup(&self, groupid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroup)(windows_core::Interface::as_raw(self), core::mem::transmute(groupid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumGroups(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumGroups)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1070,7 +1070,7 @@ windows_core::imp::define_interface!(IBackgroundCopyServerCertificateValidationC impl std::ops::Deref for IBackgroundCopyServerCertificateValidationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBackgroundCopyServerCertificateValidationCallback, windows_core::IUnknown); @@ -1092,21 +1092,21 @@ windows_core::imp::define_interface!(IBitsPeer, IBitsPeer_Vtbl, 0x659cdea2_489e_ impl std::ops::Deref for IBitsPeer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBitsPeer, windows_core::IUnknown); impl IBitsPeer { pub unsafe fn GetPeerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPeerName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsAuthenticated(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAuthenticated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1121,38 +1121,38 @@ windows_core::imp::define_interface!(IBitsPeerCacheAdministration, IBitsPeerCach impl std::ops::Deref for IBitsPeerCacheAdministration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBitsPeerCacheAdministration, windows_core::IUnknown); impl IBitsPeerCacheAdministration { pub unsafe fn GetMaximumCacheSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumCacheSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumContentAge)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaximumContentAge(&self, seconds: u32) -> windows_core::HRESULT { (windows_core::Interface::vtable(self).SetMaximumContentAge)(windows_core::Interface::as_raw(self), seconds) } pub unsafe fn GetConfigurationFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfigurationFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRecords)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecord(&self, id: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecord)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClearRecords(&self) -> windows_core::Result<()> { @@ -1168,7 +1168,7 @@ impl IBitsPeerCacheAdministration { (windows_core::Interface::vtable(self).DeleteUrl)(windows_core::Interface::as_raw(self), url.param().abi()).ok() } pub unsafe fn EnumPeers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumPeers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClearPeers(&self) -> windows_core::Result<()> { @@ -1200,29 +1200,29 @@ windows_core::imp::define_interface!(IBitsPeerCacheRecord, IBitsPeerCacheRecord_ impl std::ops::Deref for IBitsPeerCacheRecord { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBitsPeerCacheRecord, windows_core::IUnknown); impl IBitsPeerCacheRecord { pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOriginUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginUrl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFileSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFileModificationTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileModificationTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastAccessTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastAccessTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsFileValidated(&self) -> windows_core::Result<()> { @@ -1247,7 +1247,7 @@ windows_core::imp::define_interface!(IBitsTokenOptions, IBitsTokenOptions_Vtbl, impl std::ops::Deref for IBitsTokenOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBitsTokenOptions, windows_core::IUnknown); @@ -1256,7 +1256,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHelperTokenFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHelperToken(&self) -> windows_core::Result<()> { @@ -1266,7 +1266,7 @@ impl IBitsTokenOptions { (windows_core::Interface::vtable(self).ClearHelperToken)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetHelperTokenSid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHelperTokenSid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1283,7 +1283,7 @@ windows_core::imp::define_interface!(IEnumBackgroundCopyFiles, IEnumBackgroundCo impl std::ops::Deref for IEnumBackgroundCopyFiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyFiles, windows_core::IUnknown); @@ -1298,11 +1298,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1319,7 +1319,7 @@ windows_core::imp::define_interface!(IEnumBackgroundCopyGroups, IEnumBackgroundC impl std::ops::Deref for IEnumBackgroundCopyGroups { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyGroups, windows_core::IUnknown); @@ -1334,11 +1334,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1355,7 +1355,7 @@ windows_core::imp::define_interface!(IEnumBackgroundCopyJobs, IEnumBackgroundCop impl std::ops::Deref for IEnumBackgroundCopyJobs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyJobs, windows_core::IUnknown); @@ -1370,11 +1370,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1391,7 +1391,7 @@ windows_core::imp::define_interface!(IEnumBackgroundCopyJobs1, IEnumBackgroundCo impl std::ops::Deref for IEnumBackgroundCopyJobs1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyJobs1, windows_core::IUnknown); @@ -1406,11 +1406,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1427,7 +1427,7 @@ windows_core::imp::define_interface!(IEnumBitsPeerCacheRecords, IEnumBitsPeerCac impl std::ops::Deref for IEnumBitsPeerCacheRecords { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumBitsPeerCacheRecords, windows_core::IUnknown); @@ -1442,11 +1442,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1463,7 +1463,7 @@ windows_core::imp::define_interface!(IEnumBitsPeers, IEnumBitsPeers_Vtbl, 0x659c impl std::ops::Deref for IEnumBitsPeers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumBitsPeers, windows_core::IUnknown); @@ -1478,11 +1478,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2095,8 +2095,8 @@ pub const BackgroundCopyQMgr: windows_core::GUID = windows_core::GUID::from_u128 #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct FILESETINFO { - pub bstrRemoteFile: std::mem::ManuallyDrop, - pub bstrLocalFile: std::mem::ManuallyDrop, + pub bstrRemoteFile: core::mem::ManuallyDrop, + pub bstrLocalFile: core::mem::ManuallyDrop, pub dwSizeHint: u32, } impl Clone for FILESETINFO { diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs index 1704759026..620b6bead3 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs @@ -6,7 +6,7 @@ pub trait IGetClusterDataInfo_Impl: Sized { impl windows_core::RuntimeName for IGetClusterDataInfo {} impl IGetClusterDataInfo_Vtbl { pub const fn new, Impl: IGetClusterDataInfo_Impl, const OFFSET: isize>() -> IGetClusterDataInfo_Vtbl { - unsafe extern "system" fn GetClusterName, Impl: IGetClusterDataInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszname: std::mem::MaybeUninit, pcchname: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetClusterName, Impl: IGetClusterDataInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszname: core::mem::MaybeUninit, pcchname: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGetClusterDataInfo_Impl::GetClusterName(this, core::mem::transmute_copy(&lpszname), core::mem::transmute_copy(&pcchname)).into() @@ -107,7 +107,7 @@ pub trait IGetClusterObjectInfo_Impl: Sized { impl windows_core::RuntimeName for IGetClusterObjectInfo {} impl IGetClusterObjectInfo_Vtbl { pub const fn new, Impl: IGetClusterObjectInfo_Impl, const OFFSET: isize>() -> IGetClusterObjectInfo_Vtbl { - unsafe extern "system" fn GetObjectName, Impl: IGetClusterObjectInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lobjindex: i32, lpszname: std::mem::MaybeUninit, pcchname: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetObjectName, Impl: IGetClusterObjectInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lobjindex: i32, lpszname: core::mem::MaybeUninit, pcchname: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGetClusterObjectInfo_Impl::GetObjectName(this, core::mem::transmute_copy(&lobjindex), core::mem::transmute_copy(&lpszname), core::mem::transmute_copy(&pcchname)).into() @@ -140,12 +140,12 @@ impl IGetClusterResourceInfo_Vtbl { let this = (*this).get_impl(); IGetClusterResourceInfo_Impl::GetResourceHandle(this, core::mem::transmute_copy(&lobjindex)) } - unsafe extern "system" fn GetResourceTypeName, Impl: IGetClusterResourceInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lobjindex: i32, lpszrestypename: std::mem::MaybeUninit, pcchrestypename: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetResourceTypeName, Impl: IGetClusterResourceInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lobjindex: i32, lpszrestypename: core::mem::MaybeUninit, pcchrestypename: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGetClusterResourceInfo_Impl::GetResourceTypeName(this, core::mem::transmute_copy(&lobjindex), core::mem::transmute_copy(&lpszrestypename), core::mem::transmute_copy(&pcchrestypename)).into() } - unsafe extern "system" fn GetResourceNetworkName, Impl: IGetClusterResourceInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lobjindex: i32, lpsznetname: std::mem::MaybeUninit, pcchnetname: *mut u32) -> super::super::Foundation::BOOL { + unsafe extern "system" fn GetResourceNetworkName, Impl: IGetClusterResourceInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lobjindex: i32, lpsznetname: core::mem::MaybeUninit, pcchnetname: *mut u32) -> super::super::Foundation::BOOL { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGetClusterResourceInfo_Impl::GetResourceNetworkName(this, core::mem::transmute_copy(&lobjindex), core::mem::transmute_copy(&lpsznetname), core::mem::transmute_copy(&pcchnetname)) @@ -173,7 +173,7 @@ impl windows_core::RuntimeName for IGetClusterUIInfo {} #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] impl IGetClusterUIInfo_Vtbl { pub const fn new, Impl: IGetClusterUIInfo_Impl, const OFFSET: isize>() -> IGetClusterUIInfo_Vtbl { - unsafe extern "system" fn GetClusterName, Impl: IGetClusterUIInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszname: std::mem::MaybeUninit, pcchname: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetClusterName, Impl: IGetClusterUIInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszname: core::mem::MaybeUninit, pcchname: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGetClusterUIInfo_Impl::GetClusterName(this, core::mem::transmute_copy(&lpszname), core::mem::transmute_copy(&pcchname)).into() @@ -227,7 +227,7 @@ impl ISClusApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_ClusterNames, Impl: ISClusApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdomainname: std::mem::MaybeUninit, ppclusters: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ClusterNames, Impl: ISClusApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdomainname: core::mem::MaybeUninit, ppclusters: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusApplication_Impl::get_ClusterNames(this, core::mem::transmute(&bstrdomainname)) { @@ -238,7 +238,7 @@ impl ISClusApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenCluster, Impl: ISClusApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclustername: std::mem::MaybeUninit, pcluster: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenCluster, Impl: ISClusApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclustername: core::mem::MaybeUninit, pcluster: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusApplication_Impl::OpenCluster(this, core::mem::transmute(&bstrclustername)) { @@ -301,7 +301,7 @@ impl ISClusCryptoKeys_Vtbl { let this = (*this).get_impl(); ISClusCryptoKeys_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusCryptoKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, pbstrcyrptokey: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusCryptoKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, pbstrcyrptokey: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusCryptoKeys_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -312,12 +312,12 @@ impl ISClusCryptoKeys_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddItem, Impl: ISClusCryptoKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcryptokey: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddItem, Impl: ISClusCryptoKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcryptokey: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusCryptoKeys_Impl::AddItem(this, core::mem::transmute(&bstrcryptokey)).into() } - unsafe extern "system" fn RemoveItem, Impl: ISClusCryptoKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveItem, Impl: ISClusCryptoKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusCryptoKeys_Impl::RemoveItem(this, core::mem::transmute(&varindex)).into() @@ -437,7 +437,7 @@ impl ISClusDisks_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ISClusDisks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppdisk: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusDisks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppdisk: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusDisks_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -519,7 +519,7 @@ impl ISClusNetInterface_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ISClusNetInterface_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISClusNetInterface_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNetInterface_Impl::Name(this) { @@ -618,7 +618,7 @@ impl ISClusNetInterfaces_Vtbl { let this = (*this).get_impl(); ISClusNetInterfaces_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusNetInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusnetinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusNetInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusnetinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNetInterfaces_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -715,7 +715,7 @@ impl ISClusNetwork_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ISClusNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISClusNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNetwork_Impl::Name(this) { @@ -726,12 +726,12 @@ impl ISClusNetwork_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: ISClusNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnetworkname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: ISClusNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnetworkname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusNetwork_Impl::SetName(this, core::mem::transmute(&bstrnetworkname)).into() } - unsafe extern "system" fn NetworkID, Impl: ISClusNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnetworkid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NetworkID, Impl: ISClusNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnetworkid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNetwork_Impl::NetworkID(this) { @@ -833,7 +833,7 @@ impl ISClusNetworkNetInterfaces_Vtbl { let this = (*this).get_impl(); ISClusNetworkNetInterfaces_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusNetworkNetInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusnetinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusNetworkNetInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusnetinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNetworkNetInterfaces_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -895,7 +895,7 @@ impl ISClusNetworks_Vtbl { let this = (*this).get_impl(); ISClusNetworks_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusNetworks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusnetwork: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusNetworks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusnetwork: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNetworks_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -984,7 +984,7 @@ impl ISClusNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ISClusNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISClusNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNode_Impl::Name(this) { @@ -1006,7 +1006,7 @@ impl ISClusNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NodeID, Impl: ISClusNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnodeid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NodeID, Impl: ISClusNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnodeid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNode_Impl::NodeID(this) { @@ -1137,7 +1137,7 @@ impl ISClusNodeNetInterfaces_Vtbl { let this = (*this).get_impl(); ISClusNodeNetInterfaces_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusNodeNetInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusnetinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusNodeNetInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusnetinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNodeNetInterfaces_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -1199,7 +1199,7 @@ impl ISClusNodes_Vtbl { let this = (*this).get_impl(); ISClusNodes_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusNodes_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -1248,7 +1248,7 @@ impl ISClusPartition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeviceName, Impl: ISClusPartition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeviceName, Impl: ISClusPartition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPartition_Impl::DeviceName(this) { @@ -1259,7 +1259,7 @@ impl ISClusPartition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VolumeLabel, Impl: ISClusPartition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvolumelabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VolumeLabel, Impl: ISClusPartition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvolumelabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPartition_Impl::VolumeLabel(this) { @@ -1303,7 +1303,7 @@ impl ISClusPartition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FileSystem, Impl: ISClusPartition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilesystem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileSystem, Impl: ISClusPartition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilesystem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPartition_Impl::FileSystem(this) { @@ -1386,7 +1386,7 @@ impl ISClusPartitionEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VolumeGuid, Impl: ISClusPartitionEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvolumeguid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VolumeGuid, Impl: ISClusPartitionEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvolumeguid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPartitionEx_Impl::VolumeGuid(this) { @@ -1443,7 +1443,7 @@ impl ISClusPartitions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ISClusPartitions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, pppartition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusPartitions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, pppartition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPartitions_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -1511,7 +1511,7 @@ impl ISClusProperties_Vtbl { let this = (*this).get_impl(); ISClusProperties_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperties_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -1522,7 +1522,7 @@ impl ISClusProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, varvalue: std::mem::MaybeUninit, pproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, varvalue: core::mem::MaybeUninit, pproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperties_Impl::CreateItem(this, core::mem::transmute(&bstrname), core::mem::transmute(&varvalue)) { @@ -1533,12 +1533,12 @@ impl ISClusProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UseDefaultValue, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UseDefaultValue, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusProperties_Impl::UseDefaultValue(this, core::mem::transmute(&varindex)).into() } - unsafe extern "system" fn SaveChanges, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarstatuscode: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveChanges, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarstatuscode: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperties_Impl::SaveChanges(this) { @@ -1549,7 +1549,7 @@ impl ISClusProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReadOnly, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreadonly: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadOnly, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreadonly: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperties_Impl::ReadOnly(this) { @@ -1560,7 +1560,7 @@ impl ISClusProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Private, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprivate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Private, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprivate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperties_Impl::Private(this) { @@ -1571,7 +1571,7 @@ impl ISClusProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Common, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcommon: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Common, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcommon: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperties_Impl::Common(this) { @@ -1582,7 +1582,7 @@ impl ISClusProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Modified, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodified: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Modified, Impl: ISClusProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodified: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperties_Impl::Modified(this) { @@ -1635,7 +1635,7 @@ impl windows_core::RuntimeName for ISClusProperty {} #[cfg(feature = "Win32_System_Com")] impl ISClusProperty_Vtbl { pub const fn new, Impl: ISClusProperty_Impl, const OFFSET: isize>() -> ISClusProperty_Vtbl { - unsafe extern "system" fn Name, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperty_Impl::Name(this) { @@ -1679,7 +1679,7 @@ impl ISClusProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperty_Impl::Value(this) { @@ -1690,7 +1690,7 @@ impl ISClusProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusProperty_Impl::SetValue(this, core::mem::transmute(&varvalue)).into() @@ -1727,7 +1727,7 @@ impl ISClusProperty_Vtbl { let this = (*this).get_impl(); ISClusProperty_Impl::SetFormat(this, core::mem::transmute_copy(&format)).into() } - unsafe extern "system" fn ReadOnly, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreadonly: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadOnly, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreadonly: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperty_Impl::ReadOnly(this) { @@ -1738,7 +1738,7 @@ impl ISClusProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Private, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprivate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Private, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprivate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperty_Impl::Private(this) { @@ -1749,7 +1749,7 @@ impl ISClusProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Common, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcommon: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Common, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcommon: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperty_Impl::Common(this) { @@ -1760,7 +1760,7 @@ impl ISClusProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Modified, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodified: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Modified, Impl: ISClusProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodified: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusProperty_Impl::Modified(this) { @@ -1816,7 +1816,7 @@ impl windows_core::RuntimeName for ISClusPropertyValue {} #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValue_Vtbl { pub const fn new, Impl: ISClusPropertyValue_Impl, const OFFSET: isize>() -> ISClusPropertyValue_Vtbl { - unsafe extern "system" fn Value, Impl: ISClusPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ISClusPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPropertyValue_Impl::Value(this) { @@ -1827,7 +1827,7 @@ impl ISClusPropertyValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: ISClusPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ISClusPropertyValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusPropertyValue_Impl::SetValue(this, core::mem::transmute(&varvalue)).into() @@ -1949,7 +1949,7 @@ impl ISClusPropertyValueData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ISClusPropertyValueData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusPropertyValueData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPropertyValueData_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -1960,7 +1960,7 @@ impl ISClusPropertyValueData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusPropertyValueData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: std::mem::MaybeUninit, pvardata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusPropertyValueData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: core::mem::MaybeUninit, pvardata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPropertyValueData_Impl::CreateItem(this, core::mem::transmute(&varvalue)) { @@ -1971,7 +1971,7 @@ impl ISClusPropertyValueData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoveItem, Impl: ISClusPropertyValueData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveItem, Impl: ISClusPropertyValueData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusPropertyValueData_Impl::RemoveItem(this, core::mem::transmute(&varindex)).into() @@ -2024,7 +2024,7 @@ impl ISClusPropertyValues_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ISClusPropertyValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, pppropertyvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusPropertyValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, pppropertyvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPropertyValues_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -2035,7 +2035,7 @@ impl ISClusPropertyValues_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusPropertyValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, varvalue: std::mem::MaybeUninit, pppropertyvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusPropertyValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, varvalue: core::mem::MaybeUninit, pppropertyvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusPropertyValues_Impl::CreateItem(this, core::mem::transmute(&bstrname), core::mem::transmute(&varvalue)) { @@ -2046,7 +2046,7 @@ impl ISClusPropertyValues_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoveItem, Impl: ISClusPropertyValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveItem, Impl: ISClusPropertyValues_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusPropertyValues_Impl::RemoveItem(this, core::mem::transmute(&varindex)).into() @@ -2131,7 +2131,7 @@ impl ISClusRegistryKeys_Vtbl { let this = (*this).get_impl(); ISClusRegistryKeys_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusRegistryKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, pbstrregistrykey: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusRegistryKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, pbstrregistrykey: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusRegistryKeys_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -2142,12 +2142,12 @@ impl ISClusRegistryKeys_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddItem, Impl: ISClusRegistryKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrregistrykey: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddItem, Impl: ISClusRegistryKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrregistrykey: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusRegistryKeys_Impl::AddItem(this, core::mem::transmute(&bstrregistrykey)).into() } - unsafe extern "system" fn RemoveItem, Impl: ISClusRegistryKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveItem, Impl: ISClusRegistryKeys_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusRegistryKeys_Impl::RemoveItem(this, core::mem::transmute(&varindex)).into() @@ -2209,7 +2209,7 @@ impl ISClusResDependencies_Vtbl { let this = (*this).get_impl(); ISClusResDependencies_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResDependencies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResDependencies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResDependencies_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -2220,7 +2220,7 @@ impl ISClusResDependencies_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusResDependencies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: std::mem::MaybeUninit, bstrresourcetype: std::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusResDependencies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: core::mem::MaybeUninit, bstrresourcetype: core::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResDependencies_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrresourcetype), core::mem::transmute_copy(&dwflags)) { @@ -2231,7 +2231,7 @@ impl ISClusResDependencies_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteItem, Impl: ISClusResDependencies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteItem, Impl: ISClusResDependencies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResDependencies_Impl::DeleteItem(this, core::mem::transmute(&varindex)).into() @@ -2241,7 +2241,7 @@ impl ISClusResDependencies_Vtbl { let this = (*this).get_impl(); ISClusResDependencies_Impl::AddItem(this, windows_core::from_raw_borrowed(&presource)).into() } - unsafe extern "system" fn RemoveItem, Impl: ISClusResDependencies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveItem, Impl: ISClusResDependencies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResDependencies_Impl::RemoveItem(this, core::mem::transmute(&varindex)).into() @@ -2305,7 +2305,7 @@ impl ISClusResDependents_Vtbl { let this = (*this).get_impl(); ISClusResDependents_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResDependents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResDependents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResDependents_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -2316,7 +2316,7 @@ impl ISClusResDependents_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusResDependents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: std::mem::MaybeUninit, bstrresourcetype: std::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusResDependents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: core::mem::MaybeUninit, bstrresourcetype: core::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResDependents_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrresourcetype), core::mem::transmute_copy(&dwflags)) { @@ -2327,7 +2327,7 @@ impl ISClusResDependents_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteItem, Impl: ISClusResDependents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteItem, Impl: ISClusResDependents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResDependents_Impl::DeleteItem(this, core::mem::transmute(&varindex)).into() @@ -2337,7 +2337,7 @@ impl ISClusResDependents_Vtbl { let this = (*this).get_impl(); ISClusResDependents_Impl::AddItem(this, windows_core::from_raw_borrowed(&presource)).into() } - unsafe extern "system" fn RemoveItem, Impl: ISClusResDependents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveItem, Impl: ISClusResDependents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResDependents_Impl::RemoveItem(this, core::mem::transmute(&varindex)).into() @@ -2437,7 +2437,7 @@ impl ISClusResGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroup_Impl::Name(this) { @@ -2448,7 +2448,7 @@ impl ISClusResGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResGroup_Impl::SetName(this, core::mem::transmute(&bstrgroupname)).into() @@ -2502,7 +2502,7 @@ impl ISClusResGroup_Vtbl { let this = (*this).get_impl(); ISClusResGroup_Impl::Delete(this).into() } - unsafe extern "system" fn Online, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartimeout: std::mem::MaybeUninit, varnode: std::mem::MaybeUninit, pvarpending: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Online, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartimeout: core::mem::MaybeUninit, varnode: core::mem::MaybeUninit, pvarpending: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroup_Impl::Online(this, core::mem::transmute(&vartimeout), core::mem::transmute(&varnode)) { @@ -2513,7 +2513,7 @@ impl ISClusResGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Move, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartimeout: std::mem::MaybeUninit, varnode: std::mem::MaybeUninit, pvarpending: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Move, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartimeout: core::mem::MaybeUninit, varnode: core::mem::MaybeUninit, pvarpending: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroup_Impl::Move(this, core::mem::transmute(&vartimeout), core::mem::transmute(&varnode)) { @@ -2524,7 +2524,7 @@ impl ISClusResGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Offline, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartimeout: std::mem::MaybeUninit, pvarpending: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Offline, Impl: ISClusResGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartimeout: core::mem::MaybeUninit, pvarpending: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroup_Impl::Offline(this, core::mem::transmute(&vartimeout)) { @@ -2614,7 +2614,7 @@ impl ISClusResGroupPreferredOwnerNodes_Vtbl { let this = (*this).get_impl(); ISClusResGroupPreferredOwnerNodes_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResGroupPreferredOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResGroupPreferredOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroupPreferredOwnerNodes_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -2630,12 +2630,12 @@ impl ISClusResGroupPreferredOwnerNodes_Vtbl { let this = (*this).get_impl(); ISClusResGroupPreferredOwnerNodes_Impl::InsertItem(this, windows_core::from_raw_borrowed(&pnode), core::mem::transmute_copy(&nposition)).into() } - unsafe extern "system" fn RemoveItem, Impl: ISClusResGroupPreferredOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveItem, Impl: ISClusResGroupPreferredOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResGroupPreferredOwnerNodes_Impl::RemoveItem(this, core::mem::transmute(&varindex)).into() } - unsafe extern "system" fn Modified, Impl: ISClusResGroupPreferredOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodified: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Modified, Impl: ISClusResGroupPreferredOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodified: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroupPreferredOwnerNodes_Impl::Modified(this) { @@ -2714,7 +2714,7 @@ impl ISClusResGroupResources_Vtbl { let this = (*this).get_impl(); ISClusResGroupResources_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResGroupResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResGroupResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroupResources_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -2725,7 +2725,7 @@ impl ISClusResGroupResources_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusResGroupResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: std::mem::MaybeUninit, bstrresourcetype: std::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusResGroupResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: core::mem::MaybeUninit, bstrresourcetype: core::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroupResources_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrresourcetype), core::mem::transmute_copy(&dwflags)) { @@ -2736,7 +2736,7 @@ impl ISClusResGroupResources_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteItem, Impl: ISClusResGroupResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteItem, Impl: ISClusResGroupResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResGroupResources_Impl::DeleteItem(this, core::mem::transmute(&varindex)).into() @@ -2796,7 +2796,7 @@ impl ISClusResGroups_Vtbl { let this = (*this).get_impl(); ISClusResGroups_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusresgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusresgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroups_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -2807,7 +2807,7 @@ impl ISClusResGroups_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusResGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcegroupname: std::mem::MaybeUninit, ppresourcegroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusResGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcegroupname: core::mem::MaybeUninit, ppresourcegroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResGroups_Impl::CreateItem(this, core::mem::transmute(&bstrresourcegroupname)) { @@ -2818,7 +2818,7 @@ impl ISClusResGroups_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteItem, Impl: ISClusResGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteItem, Impl: ISClusResGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResGroups_Impl::DeleteItem(this, core::mem::transmute(&varindex)).into() @@ -2879,7 +2879,7 @@ impl ISClusResPossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); ISClusResPossibleOwnerNodes_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResPossibleOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResPossibleOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResPossibleOwnerNodes_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -2895,12 +2895,12 @@ impl ISClusResPossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); ISClusResPossibleOwnerNodes_Impl::AddItem(this, windows_core::from_raw_borrowed(&pnode)).into() } - unsafe extern "system" fn RemoveItem, Impl: ISClusResPossibleOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveItem, Impl: ISClusResPossibleOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResPossibleOwnerNodes_Impl::RemoveItem(this, core::mem::transmute(&varindex)).into() } - unsafe extern "system" fn Modified, Impl: ISClusResPossibleOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodified: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Modified, Impl: ISClusResPossibleOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodified: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResPossibleOwnerNodes_Impl::Modified(this) { @@ -2988,7 +2988,7 @@ impl ISClusResType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ISClusResType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISClusResType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResType_Impl::Name(this) { @@ -3105,7 +3105,7 @@ impl ISClusResTypePossibleOwnerNodes_Vtbl { let this = (*this).get_impl(); ISClusResTypePossibleOwnerNodes_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResTypePossibleOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResTypePossibleOwnerNodes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppnode: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResTypePossibleOwnerNodes_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -3169,7 +3169,7 @@ impl ISClusResTypeResources_Vtbl { let this = (*this).get_impl(); ISClusResTypeResources_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResTypeResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResTypeResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResTypeResources_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -3180,7 +3180,7 @@ impl ISClusResTypeResources_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusResTypeResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: std::mem::MaybeUninit, bstrgroupname: std::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusResTypeResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: core::mem::MaybeUninit, bstrgroupname: core::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResTypeResources_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrgroupname), core::mem::transmute_copy(&dwflags)) { @@ -3191,7 +3191,7 @@ impl ISClusResTypeResources_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteItem, Impl: ISClusResTypeResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteItem, Impl: ISClusResTypeResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResTypeResources_Impl::DeleteItem(this, core::mem::transmute(&varindex)).into() @@ -3251,7 +3251,7 @@ impl ISClusResTypes_Vtbl { let this = (*this).get_impl(); ISClusResTypes_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusrestype: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusrestype: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResTypes_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -3262,7 +3262,7 @@ impl ISClusResTypes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusResTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcetypename: std::mem::MaybeUninit, bstrdisplayname: std::mem::MaybeUninit, bstrresourcetypedll: std::mem::MaybeUninit, dwlooksalivepollinterval: i32, dwisalivepollinterval: i32, ppresourcetype: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusResTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcetypename: core::mem::MaybeUninit, bstrdisplayname: core::mem::MaybeUninit, bstrresourcetypedll: core::mem::MaybeUninit, dwlooksalivepollinterval: i32, dwisalivepollinterval: i32, ppresourcetype: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResTypes_Impl::CreateItem(this, core::mem::transmute(&bstrresourcetypename), core::mem::transmute(&bstrdisplayname), core::mem::transmute(&bstrresourcetypedll), core::mem::transmute_copy(&dwlooksalivepollinterval), core::mem::transmute_copy(&dwisalivepollinterval)) { @@ -3273,7 +3273,7 @@ impl ISClusResTypes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteItem, Impl: ISClusResTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteItem, Impl: ISClusResTypes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResTypes_Impl::DeleteItem(this, core::mem::transmute(&varindex)).into() @@ -3387,7 +3387,7 @@ impl ISClusResource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResource_Impl::Name(this) { @@ -3398,7 +3398,7 @@ impl ISClusResource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResource_Impl::SetName(this, core::mem::transmute(&bstrresourcename)).into() @@ -3425,7 +3425,7 @@ impl ISClusResource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BecomeQuorumResource, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicepath: std::mem::MaybeUninit, lmaxlogsize: i32) -> windows_core::HRESULT { + unsafe extern "system" fn BecomeQuorumResource, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicepath: core::mem::MaybeUninit, lmaxlogsize: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResource_Impl::BecomeQuorumResource(this, core::mem::transmute(&bstrdevicepath), core::mem::transmute_copy(&lmaxlogsize)).into() @@ -3440,7 +3440,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); ISClusResource_Impl::Fail(this).into() } - unsafe extern "system" fn Online, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ntimeout: i32, pvarpending: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Online, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ntimeout: i32, pvarpending: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResource_Impl::Online(this, core::mem::transmute_copy(&ntimeout)) { @@ -3451,7 +3451,7 @@ impl ISClusResource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Offline, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ntimeout: i32, pvarpending: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Offline, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ntimeout: i32, pvarpending: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResource_Impl::Offline(this, core::mem::transmute_copy(&ntimeout)) { @@ -3477,7 +3477,7 @@ impl ISClusResource_Vtbl { let this = (*this).get_impl(); ISClusResource_Impl::RemoveResourceNode(this, windows_core::from_raw_borrowed(&pnode)).into() } - unsafe extern "system" fn CanResourceBeDependent, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presource: *mut core::ffi::c_void, pvardependent: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CanResourceBeDependent, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, presource: *mut core::ffi::c_void, pvardependent: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResource_Impl::CanResourceBeDependent(this, windows_core::from_raw_borrowed(&presource)) { @@ -3598,7 +3598,7 @@ impl ISClusResource_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TypeName, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtypename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TypeName, Impl: ISClusResource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtypename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResource_Impl::TypeName(this) { @@ -3717,7 +3717,7 @@ impl ISClusResources_Vtbl { let this = (*this).get_impl(); ISClusResources_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, ppclusresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResources_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -3728,7 +3728,7 @@ impl ISClusResources_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateItem, Impl: ISClusResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: std::mem::MaybeUninit, bstrresourcetype: std::mem::MaybeUninit, bstrgroupname: std::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateItem, Impl: ISClusResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrresourcename: core::mem::MaybeUninit, bstrresourcetype: core::mem::MaybeUninit, bstrgroupname: core::mem::MaybeUninit, dwflags: CLUSTER_RESOURCE_CREATE_FLAGS, ppclusterresource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusResources_Impl::CreateItem(this, core::mem::transmute(&bstrresourcename), core::mem::transmute(&bstrresourcetype), core::mem::transmute(&bstrgroupname), core::mem::transmute_copy(&dwflags)) { @@ -3739,7 +3739,7 @@ impl ISClusResources_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteItem, Impl: ISClusResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteItem, Impl: ISClusResources_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISClusResources_Impl::DeleteItem(this, core::mem::transmute(&varindex)).into() @@ -3770,7 +3770,7 @@ impl windows_core::RuntimeName for ISClusScsiAddress {} #[cfg(feature = "Win32_System_Com")] impl ISClusScsiAddress_Vtbl { pub const fn new, Impl: ISClusScsiAddress_Impl, const OFFSET: isize>() -> ISClusScsiAddress_Vtbl { - unsafe extern "system" fn PortNumber, Impl: ISClusScsiAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarportnumber: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PortNumber, Impl: ISClusScsiAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarportnumber: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusScsiAddress_Impl::PortNumber(this) { @@ -3781,7 +3781,7 @@ impl ISClusScsiAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PathId, Impl: ISClusScsiAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarpathid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathId, Impl: ISClusScsiAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarpathid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusScsiAddress_Impl::PathId(this) { @@ -3792,7 +3792,7 @@ impl ISClusScsiAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TargetId, Impl: ISClusScsiAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvartargetid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetId, Impl: ISClusScsiAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvartargetid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusScsiAddress_Impl::TargetId(this) { @@ -3803,7 +3803,7 @@ impl ISClusScsiAddress_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Lun, Impl: ISClusScsiAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarlun: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Lun, Impl: ISClusScsiAddress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarlun: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusScsiAddress_Impl::Lun(this) { @@ -3844,7 +3844,7 @@ impl windows_core::RuntimeName for ISClusVersion {} #[cfg(feature = "Win32_System_Com")] impl ISClusVersion_Vtbl { pub const fn new, Impl: ISClusVersion_Impl, const OFFSET: isize>() -> ISClusVersion_Vtbl { - unsafe extern "system" fn Name, Impl: ISClusVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrclustername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISClusVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrclustername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusVersion_Impl::Name(this) { @@ -3888,7 +3888,7 @@ impl ISClusVersion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VendorId, Impl: ISClusVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvendorid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VendorId, Impl: ISClusVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvendorid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusVersion_Impl::VendorId(this) { @@ -3899,7 +3899,7 @@ impl ISClusVersion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CSDVersion, Impl: ISClusVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsdversion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CSDVersion, Impl: ISClusVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcsdversion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusVersion_Impl::CSDVersion(this) { @@ -3943,7 +3943,7 @@ impl ISClusVersion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MixedVersion, Impl: ISClusVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmixedversion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MixedVersion, Impl: ISClusVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmixedversion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusVersion_Impl::MixedVersion(this) { @@ -4056,12 +4056,12 @@ impl ISCluster_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Open, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclustername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Open, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclustername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISCluster_Impl::Open(this, core::mem::transmute(&bstrclustername)).into() } - unsafe extern "system" fn Name, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISCluster_Impl::Name(this) { @@ -4072,7 +4072,7 @@ impl ISCluster_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclustername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclustername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISCluster_Impl::SetName(this, core::mem::transmute(&bstrclustername)).into() @@ -4120,7 +4120,7 @@ impl ISCluster_Vtbl { let this = (*this).get_impl(); ISCluster_Impl::SetQuorumLogSize(this, core::mem::transmute_copy(&nlogsize)).into() } - unsafe extern "system" fn QuorumPath, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pppath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QuorumPath, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pppath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISCluster_Impl::QuorumPath(this) { @@ -4131,7 +4131,7 @@ impl ISCluster_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetQuorumPath, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetQuorumPath, Impl: ISCluster_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISCluster_Impl::SetQuorumPath(this, core::mem::transmute(&ppath)).into() @@ -4271,7 +4271,7 @@ impl ISClusterNames_Vtbl { let this = (*this).get_impl(); ISClusterNames_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISClusterNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, pbstrclustername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISClusterNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, pbstrclustername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusterNames_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -4282,7 +4282,7 @@ impl ISClusterNames_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DomainName, Impl: ISClusterNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdomainname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DomainName, Impl: ISClusterNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdomainname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISClusterNames_Impl::DomainName(this) { @@ -4345,7 +4345,7 @@ impl ISDomainNames_Vtbl { let this = (*this).get_impl(); ISDomainNames_Impl::Refresh(this).into() } - unsafe extern "system" fn get_Item, Impl: ISDomainNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: std::mem::MaybeUninit, pbstrdomainname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISDomainNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varindex: core::mem::MaybeUninit, pbstrdomainname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISDomainNames_Impl::get_Item(this, core::mem::transmute(&varindex)) { @@ -4374,7 +4374,7 @@ pub trait IWCContextMenuCallback_Impl: Sized { impl windows_core::RuntimeName for IWCContextMenuCallback {} impl IWCContextMenuCallback_Vtbl { pub const fn new, Impl: IWCContextMenuCallback_Impl, const OFFSET: isize>() -> IWCContextMenuCallback_Vtbl { - unsafe extern "system" fn AddExtensionMenuItem, Impl: IWCContextMenuCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszname: std::mem::MaybeUninit, lpszstatusbartext: std::mem::MaybeUninit, ncommandid: u32, nsubmenucommandid: u32, uflags: u32) -> windows_core::HRESULT { + unsafe extern "system" fn AddExtensionMenuItem, Impl: IWCContextMenuCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszname: core::mem::MaybeUninit, lpszstatusbartext: core::mem::MaybeUninit, ncommandid: u32, nsubmenucommandid: u32, uflags: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWCContextMenuCallback_Impl::AddExtensionMenuItem(this, core::mem::transmute(&lpszname), core::mem::transmute(&lpszstatusbartext), core::mem::transmute_copy(&ncommandid), core::mem::transmute_copy(&nsubmenucommandid), core::mem::transmute_copy(&uflags)).into() 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 a2239dfed5..c08a1c7177 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -3503,7 +3503,7 @@ windows_core::imp::define_interface!(IGetClusterDataInfo, IGetClusterDataInfo_Vt impl std::ops::Deref for IGetClusterDataInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetClusterDataInfo, windows_core::IUnknown); @@ -3521,7 +3521,7 @@ impl IGetClusterDataInfo { #[repr(C)] pub struct IGetClusterDataInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetClusterName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetClusterName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub GetClusterHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> HCLUSTER, pub GetObjectCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> i32, } @@ -3529,7 +3529,7 @@ windows_core::imp::define_interface!(IGetClusterGroupInfo, IGetClusterGroupInfo_ impl std::ops::Deref for IGetClusterGroupInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetClusterGroupInfo, windows_core::IUnknown); @@ -3547,7 +3547,7 @@ windows_core::imp::define_interface!(IGetClusterNetInterfaceInfo, IGetClusterNet impl std::ops::Deref for IGetClusterNetInterfaceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetClusterNetInterfaceInfo, windows_core::IUnknown); @@ -3565,7 +3565,7 @@ windows_core::imp::define_interface!(IGetClusterNetworkInfo, IGetClusterNetworkI impl std::ops::Deref for IGetClusterNetworkInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetClusterNetworkInfo, windows_core::IUnknown); @@ -3583,7 +3583,7 @@ windows_core::imp::define_interface!(IGetClusterNodeInfo, IGetClusterNodeInfo_Vt impl std::ops::Deref for IGetClusterNodeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetClusterNodeInfo, windows_core::IUnknown); @@ -3601,7 +3601,7 @@ windows_core::imp::define_interface!(IGetClusterObjectInfo, IGetClusterObjectInf impl std::ops::Deref for IGetClusterObjectInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetClusterObjectInfo, windows_core::IUnknown); @@ -3616,14 +3616,14 @@ impl IGetClusterObjectInfo { #[repr(C)] pub struct IGetClusterObjectInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub GetObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> CLUADMEX_OBJECT_TYPE, } windows_core::imp::define_interface!(IGetClusterResourceInfo, IGetClusterResourceInfo_Vtbl, 0x97dede55_fc6b_11cf_b5f5_00a0c90ab505); impl std::ops::Deref for IGetClusterResourceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetClusterResourceInfo, windows_core::IUnknown); @@ -3642,14 +3642,14 @@ impl IGetClusterResourceInfo { pub struct IGetClusterResourceInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetResourceHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> HRESOURCE, - pub GetResourceTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub GetResourceNetworkName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut u32) -> super::super::Foundation::BOOL, + pub GetResourceTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetResourceNetworkName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut u32) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IGetClusterUIInfo, IGetClusterUIInfo_Vtbl, 0x97dede50_fc6b_11cf_b5f5_00a0c90ab505); impl std::ops::Deref for IGetClusterUIInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetClusterUIInfo, windows_core::IUnknown); @@ -3672,7 +3672,7 @@ impl IGetClusterUIInfo { #[repr(C)] pub struct IGetClusterUIInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetClusterName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetClusterName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub GetLocale: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, #[cfg(feature = "Win32_Graphics_Gdi")] pub GetFont: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Graphics::Gdi::HFONT, @@ -3689,7 +3689,7 @@ windows_core::imp::define_interface!(ISClusApplication, ISClusApplication_Vtbl, impl std::ops::Deref for ISClusApplication { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3698,7 +3698,7 @@ windows_core::imp::interface_hierarchy!(ISClusApplication, windows_core::IUnknow impl ISClusApplication { #[cfg(feature = "Win32_System_Com")] pub unsafe fn DomainNames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DomainNames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3706,7 +3706,7 @@ impl ISClusApplication { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ClusterNames)(windows_core::Interface::as_raw(self), bstrdomainname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3714,7 +3714,7 @@ impl ISClusApplication { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenCluster)(windows_core::Interface::as_raw(self), bstrclustername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3727,11 +3727,11 @@ pub struct ISClusApplication_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] DomainNames: usize, #[cfg(feature = "Win32_System_Com")] - pub get_ClusterNames: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ClusterNames: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ClusterNames: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenCluster: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenCluster: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenCluster: usize, } @@ -3741,7 +3741,7 @@ windows_core::imp::define_interface!(ISClusCryptoKeys, ISClusCryptoKeys_Vtbl, 0x impl std::ops::Deref for ISClusCryptoKeys { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3749,11 +3749,11 @@ windows_core::imp::interface_hierarchy!(ISClusCryptoKeys, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl ISClusCryptoKeys { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -3763,7 +3763,7 @@ impl ISClusCryptoKeys { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddItem(&self, bstrcryptokey: P0) -> windows_core::Result<()> @@ -3786,9 +3786,9 @@ pub struct ISClusCryptoKeys_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusDisk, ISClusDisk_Vtbl, 0xf2e60724_2631_11d1_89f1_00a0c90d061e); @@ -3796,7 +3796,7 @@ windows_core::imp::define_interface!(ISClusDisk, ISClusDisk_Vtbl, 0xf2e60724_263 impl std::ops::Deref for ISClusDisk { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3804,21 +3804,21 @@ windows_core::imp::interface_hierarchy!(ISClusDisk, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl ISClusDisk { pub unsafe fn Signature(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Signature)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ScsiAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScsiAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DiskNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiskNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Partitions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Partitions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3843,7 +3843,7 @@ windows_core::imp::define_interface!(ISClusDisks, ISClusDisks_Vtbl, 0xf2e60726_2 impl std::ops::Deref for ISClusDisks { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3851,11 +3851,11 @@ windows_core::imp::interface_hierarchy!(ISClusDisks, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ISClusDisks { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3863,7 +3863,7 @@ impl ISClusDisks { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3874,7 +3874,7 @@ pub struct ISClusDisks_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } @@ -3884,7 +3884,7 @@ windows_core::imp::define_interface!(ISClusNetInterface, ISClusNetInterface_Vtbl impl std::ops::Deref for ISClusNetInterface { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3893,39 +3893,39 @@ windows_core::imp::interface_hierarchy!(ISClusNetInterface, windows_core::IUnkno impl ISClusNetInterface { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cluster)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3949,7 +3949,7 @@ pub struct ISClusNetInterface_Vtbl { pub PrivateROProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PrivateROProperties: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_NETINTERFACE_STATE) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -3963,7 +3963,7 @@ windows_core::imp::define_interface!(ISClusNetInterfaces, ISClusNetInterfaces_Vt impl std::ops::Deref for ISClusNetInterfaces { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3971,11 +3971,11 @@ windows_core::imp::interface_hierarchy!(ISClusNetInterfaces, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ISClusNetInterfaces { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -3986,7 +3986,7 @@ impl ISClusNetInterfaces { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3998,7 +3998,7 @@ pub struct ISClusNetInterfaces_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } @@ -4008,7 +4008,7 @@ windows_core::imp::define_interface!(ISClusNetwork, ISClusNetwork_Vtbl, 0xf2e606 impl std::ops::Deref for ISClusNetwork { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4017,30 +4017,30 @@ windows_core::imp::interface_hierarchy!(ISClusNetwork, windows_core::IUnknown, s impl ISClusNetwork { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrnetworkname: P0) -> windows_core::Result<()> @@ -4050,21 +4050,21 @@ impl ISClusNetwork { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrnetworkname.param().abi()).ok() } pub unsafe fn NetworkID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NetInterfaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetInterfaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cluster)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4089,9 +4089,9 @@ pub struct ISClusNetwork_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] PrivateROProperties: usize, pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NetworkID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_NETWORK_STATE) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub NetInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4108,7 +4108,7 @@ windows_core::imp::define_interface!(ISClusNetworkNetInterfaces, ISClusNetworkNe impl std::ops::Deref for ISClusNetworkNetInterfaces { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4116,11 +4116,11 @@ windows_core::imp::interface_hierarchy!(ISClusNetworkNetInterfaces, windows_core #[cfg(feature = "Win32_System_Com")] impl ISClusNetworkNetInterfaces { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4131,7 +4131,7 @@ impl ISClusNetworkNetInterfaces { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4143,7 +4143,7 @@ pub struct ISClusNetworkNetInterfaces_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } @@ -4153,7 +4153,7 @@ windows_core::imp::define_interface!(ISClusNetworks, ISClusNetworks_Vtbl, 0xf2e6 impl std::ops::Deref for ISClusNetworks { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4161,11 +4161,11 @@ windows_core::imp::interface_hierarchy!(ISClusNetworks, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISClusNetworks { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4176,7 +4176,7 @@ impl ISClusNetworks { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4188,7 +4188,7 @@ pub struct ISClusNetworks_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } @@ -4198,7 +4198,7 @@ windows_core::imp::define_interface!(ISClusNode, ISClusNode_Vtbl, 0xf2e606f8_263 impl std::ops::Deref for ISClusNode { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4207,38 +4207,38 @@ windows_core::imp::interface_hierarchy!(ISClusNode, windows_core::IUnknown, supe impl ISClusNode { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NodeID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NodeID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Pause(&self) -> windows_core::Result<()> { @@ -4252,17 +4252,17 @@ impl ISClusNode { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResourceGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResourceGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cluster)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NetInterfaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetInterfaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4286,9 +4286,9 @@ pub struct ISClusNode_Vtbl { pub PrivateROProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PrivateROProperties: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, - pub NodeID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NodeID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_NODE_STATE) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4312,7 +4312,7 @@ windows_core::imp::define_interface!(ISClusNodeNetInterfaces, ISClusNodeNetInter impl std::ops::Deref for ISClusNodeNetInterfaces { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4320,11 +4320,11 @@ windows_core::imp::interface_hierarchy!(ISClusNodeNetInterfaces, windows_core::I #[cfg(feature = "Win32_System_Com")] impl ISClusNodeNetInterfaces { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4335,7 +4335,7 @@ impl ISClusNodeNetInterfaces { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4347,7 +4347,7 @@ pub struct ISClusNodeNetInterfaces_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } @@ -4357,7 +4357,7 @@ windows_core::imp::define_interface!(ISClusNodes, ISClusNodes_Vtbl, 0xf2e606fa_2 impl std::ops::Deref for ISClusNodes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4365,11 +4365,11 @@ windows_core::imp::interface_hierarchy!(ISClusNodes, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ISClusNodes { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4380,7 +4380,7 @@ impl ISClusNodes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4392,7 +4392,7 @@ pub struct ISClusNodes_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } @@ -4402,7 +4402,7 @@ windows_core::imp::define_interface!(ISClusPartition, ISClusPartition_Vtbl, 0xf2 impl std::ops::Deref for ISClusPartition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4410,31 +4410,31 @@ windows_core::imp::interface_hierarchy!(ISClusPartition, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISClusPartition { pub unsafe fn Flags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VolumeLabel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeLabel)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SerialNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SerialNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MaximumComponentLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaximumComponentLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FileSystemFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileSystemFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FileSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileSystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4443,12 +4443,12 @@ impl ISClusPartition { pub struct ISClusPartition_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VolumeLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VolumeLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MaximumComponentLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub FileSystemFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub FileSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusPartitionEx, ISClusPartitionEx_Vtbl, 0x8802d4fe_b32e_4ad1_9dbd_64f18e1166ce); @@ -4456,7 +4456,7 @@ windows_core::imp::define_interface!(ISClusPartitionEx, ISClusPartitionEx_Vtbl, impl std::ops::Deref for ISClusPartitionEx { type Target = ISClusPartition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4464,23 +4464,23 @@ windows_core::imp::interface_hierarchy!(ISClusPartitionEx, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl ISClusPartitionEx { pub unsafe fn TotalSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FreeSpace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FreeSpace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PartitionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PartitionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VolumeGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4492,7 +4492,7 @@ pub struct ISClusPartitionEx_Vtbl { pub FreeSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DeviceNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub PartitionNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub VolumeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VolumeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusPartitions, ISClusPartitions_Vtbl, 0xf2e60722_2631_11d1_89f1_00a0c90d061e); @@ -4500,7 +4500,7 @@ windows_core::imp::define_interface!(ISClusPartitions, ISClusPartitions_Vtbl, 0x impl std::ops::Deref for ISClusPartitions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4508,11 +4508,11 @@ windows_core::imp::interface_hierarchy!(ISClusPartitions, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl ISClusPartitions { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4520,7 +4520,7 @@ impl ISClusPartitions { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4531,7 +4531,7 @@ pub struct ISClusPartitions_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } @@ -4541,7 +4541,7 @@ windows_core::imp::define_interface!(ISClusProperties, ISClusProperties_Vtbl, 0x impl std::ops::Deref for ISClusProperties { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4549,11 +4549,11 @@ windows_core::imp::interface_hierarchy!(ISClusProperties, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl ISClusProperties { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4564,7 +4564,7 @@ impl ISClusProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4573,7 +4573,7 @@ impl ISClusProperties { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), bstrname.param().abi(), varvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UseDefaultValue(&self, varindex: P0) -> windows_core::Result<()> @@ -4583,23 +4583,23 @@ impl ISClusProperties { (windows_core::Interface::vtable(self).UseDefaultValue)(windows_core::Interface::as_raw(self), varindex.param().abi()).ok() } pub unsafe fn SaveChanges(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveChanges)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Private(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Private)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Common(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Common)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Modified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Modified)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4611,19 +4611,19 @@ pub struct ISClusProperties_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateItem: usize, - pub UseDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SaveChanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Private: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Common: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UseDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveChanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Private: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Common: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusProperty, ISClusProperty_Vtbl, 0xf2e606fe_2631_11d1_89f1_00a0c90d061e); @@ -4631,7 +4631,7 @@ windows_core::imp::define_interface!(ISClusProperty, ISClusProperty_Vtbl, 0xf2e6 impl std::ops::Deref for ISClusProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4639,24 +4639,24 @@ windows_core::imp::interface_hierarchy!(ISClusProperty, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISClusProperty { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ValueCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValueCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Values(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Values)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, varvalue: P0) -> windows_core::Result<()> @@ -4666,33 +4666,33 @@ impl ISClusProperty { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), varvalue.param().abi()).ok() } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Format)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 ReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Private(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Private)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Common(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Common)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Modified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Modified)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UseDefaultValue(&self) -> windows_core::Result<()> { @@ -4703,23 +4703,23 @@ impl ISClusProperty { #[repr(C)] pub struct ISClusProperty_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ValueCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Values: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Values: usize, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_PROPERTY_TYPE) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, CLUSTER_PROPERTY_TYPE) -> windows_core::HRESULT, pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_PROPERTY_FORMAT) -> windows_core::HRESULT, pub SetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, CLUSTER_PROPERTY_FORMAT) -> windows_core::HRESULT, - pub ReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Private: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Common: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Private: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Common: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub UseDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -4728,7 +4728,7 @@ windows_core::imp::define_interface!(ISClusPropertyValue, ISClusPropertyValue_Vt impl std::ops::Deref for ISClusPropertyValue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4736,7 +4736,7 @@ windows_core::imp::interface_hierarchy!(ISClusPropertyValue, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValue { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, varvalue: P0) -> windows_core::Result<()> @@ -4746,30 +4746,30 @@ impl ISClusPropertyValue { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), varvalue.param().abi()).ok() } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Format)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DataCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Data(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Data)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4777,8 +4777,8 @@ impl ISClusPropertyValue { #[repr(C)] pub struct ISClusPropertyValue_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_PROPERTY_TYPE) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, CLUSTER_PROPERTY_TYPE) -> windows_core::HRESULT, pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_PROPERTY_FORMAT) -> windows_core::HRESULT, @@ -4796,7 +4796,7 @@ windows_core::imp::define_interface!(ISClusPropertyValueData, ISClusPropertyValu impl std::ops::Deref for ISClusPropertyValueData { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4804,25 +4804,25 @@ windows_core::imp::interface_hierarchy!(ISClusPropertyValueData, windows_core::I #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValueData { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Item(&self, varindex: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateItem(&self, varvalue: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), varvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveItem(&self, varindex: P0) -> windows_core::Result<()> @@ -4838,9 +4838,9 @@ pub struct ISClusPropertyValueData_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusPropertyValues, ISClusPropertyValues_Vtbl, 0xf2e6071c_2631_11d1_89f1_00a0c90d061e); @@ -4848,7 +4848,7 @@ windows_core::imp::define_interface!(ISClusPropertyValues, ISClusPropertyValues_ impl std::ops::Deref for ISClusPropertyValues { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4856,11 +4856,11 @@ windows_core::imp::interface_hierarchy!(ISClusPropertyValues, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValues { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4868,7 +4868,7 @@ impl ISClusPropertyValues { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4877,7 +4877,7 @@ impl ISClusPropertyValues { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), bstrname.param().abi(), varvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveItem(&self, varindex: P0) -> windows_core::Result<()> @@ -4894,14 +4894,14 @@ pub struct ISClusPropertyValues_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateItem: usize, - pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusRefObject, ISClusRefObject_Vtbl, 0xf2e60702_2631_11d1_89f1_00a0c90d061e); @@ -4909,7 +4909,7 @@ windows_core::imp::define_interface!(ISClusRefObject, ISClusRefObject_Vtbl, 0xf2 impl std::ops::Deref for ISClusRefObject { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4917,7 +4917,7 @@ windows_core::imp::interface_hierarchy!(ISClusRefObject, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISClusRefObject { pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4933,7 +4933,7 @@ windows_core::imp::define_interface!(ISClusRegistryKeys, ISClusRegistryKeys_Vtbl impl std::ops::Deref for ISClusRegistryKeys { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4941,11 +4941,11 @@ windows_core::imp::interface_hierarchy!(ISClusRegistryKeys, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISClusRegistryKeys { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4955,7 +4955,7 @@ impl ISClusRegistryKeys { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddItem(&self, bstrregistrykey: P0) -> windows_core::Result<()> @@ -4978,9 +4978,9 @@ pub struct ISClusRegistryKeys_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResDependencies, ISClusResDependencies_Vtbl, 0xf2e60704_2631_11d1_89f1_00a0c90d061e); @@ -4988,7 +4988,7 @@ windows_core::imp::define_interface!(ISClusResDependencies, ISClusResDependencie impl std::ops::Deref for ISClusResDependencies { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4996,11 +4996,11 @@ windows_core::imp::interface_hierarchy!(ISClusResDependencies, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ISClusResDependencies { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -5011,7 +5011,7 @@ impl ISClusResDependencies { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5020,7 +5020,7 @@ impl ISClusResDependencies { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), bstrresourcename.param().abi(), bstrresourcetype.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteItem(&self, varindex: P0) -> windows_core::Result<()> @@ -5051,19 +5051,19 @@ pub struct ISClusResDependencies_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateItem: usize, - pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddItem: usize, - pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResDependents, ISClusResDependents_Vtbl, 0xf2e6072e_2631_11d1_89f1_00a0c90d061e); @@ -5071,7 +5071,7 @@ windows_core::imp::define_interface!(ISClusResDependents, ISClusResDependents_Vt impl std::ops::Deref for ISClusResDependents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5079,11 +5079,11 @@ windows_core::imp::interface_hierarchy!(ISClusResDependents, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ISClusResDependents { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -5094,7 +5094,7 @@ impl ISClusResDependents { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5103,7 +5103,7 @@ impl ISClusResDependents { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), bstrresourcename.param().abi(), bstrresourcetype.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteItem(&self, varindex: P0) -> windows_core::Result<()> @@ -5134,19 +5134,19 @@ pub struct ISClusResDependents_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateItem: usize, - pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddItem: usize, - pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResGroup, ISClusResGroup_Vtbl, 0xf2e60706_2631_11d1_89f1_00a0c90d061e); @@ -5154,7 +5154,7 @@ windows_core::imp::define_interface!(ISClusResGroup, ISClusResGroup_Vtbl, 0xf2e6 impl std::ops::Deref for ISClusResGroup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5163,30 +5163,30 @@ windows_core::imp::interface_hierarchy!(ISClusResGroup, windows_core::IUnknown, impl ISClusResGroup { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrgroupname: P0) -> windows_core::Result<()> @@ -5196,22 +5196,22 @@ impl ISClusResGroup { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrgroupname.param().abi()).ok() } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OwnerNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OwnerNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Resources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Resources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PreferredOwnerNodes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredOwnerNodes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -5222,7 +5222,7 @@ impl ISClusResGroup { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Online)(windows_core::Interface::as_raw(self), vartimeout.param().abi(), varnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Move(&self, vartimeout: P0, varnode: P1) -> windows_core::Result @@ -5230,19 +5230,19 @@ impl ISClusResGroup { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Move)(windows_core::Interface::as_raw(self), vartimeout.param().abi(), varnode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Offline(&self, vartimeout: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Offline)(windows_core::Interface::as_raw(self), vartimeout.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cluster)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5267,8 +5267,8 @@ pub struct ISClusResGroup_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] PrivateROProperties: usize, pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_GROUP_STATE) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub OwnerNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5283,9 +5283,9 @@ pub struct ISClusResGroup_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] PreferredOwnerNodes: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Online: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Offline: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Online: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Offline: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Cluster: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -5297,7 +5297,7 @@ windows_core::imp::define_interface!(ISClusResGroupPreferredOwnerNodes, ISClusRe impl std::ops::Deref for ISClusResGroupPreferredOwnerNodes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5305,11 +5305,11 @@ windows_core::imp::interface_hierarchy!(ISClusResGroupPreferredOwnerNodes, windo #[cfg(feature = "Win32_System_Com")] impl ISClusResGroupPreferredOwnerNodes { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -5320,7 +5320,7 @@ impl ISClusResGroupPreferredOwnerNodes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5337,7 +5337,7 @@ impl ISClusResGroupPreferredOwnerNodes { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), varindex.param().abi()).ok() } pub unsafe fn Modified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Modified)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SaveChanges(&self) -> windows_core::Result<()> { @@ -5359,15 +5359,15 @@ pub struct ISClusResGroupPreferredOwnerNodes_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] pub InsertItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InsertItem: usize, - pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SaveChanges: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5380,7 +5380,7 @@ windows_core::imp::define_interface!(ISClusResGroupResources, ISClusResGroupReso impl std::ops::Deref for ISClusResGroupResources { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5388,11 +5388,11 @@ windows_core::imp::interface_hierarchy!(ISClusResGroupResources, windows_core::I #[cfg(feature = "Win32_System_Com")] impl ISClusResGroupResources { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -5403,7 +5403,7 @@ impl ISClusResGroupResources { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5412,7 +5412,7 @@ impl ISClusResGroupResources { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), bstrresourcename.param().abi(), bstrresourcetype.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteItem(&self, varindex: P0) -> windows_core::Result<()> @@ -5430,14 +5430,14 @@ pub struct ISClusResGroupResources_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateItem: usize, - pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResGroups, ISClusResGroups_Vtbl, 0xf2e60708_2631_11d1_89f1_00a0c90d061e); @@ -5445,7 +5445,7 @@ windows_core::imp::define_interface!(ISClusResGroups, ISClusResGroups_Vtbl, 0xf2 impl std::ops::Deref for ISClusResGroups { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5453,11 +5453,11 @@ windows_core::imp::interface_hierarchy!(ISClusResGroups, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISClusResGroups { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -5468,7 +5468,7 @@ impl ISClusResGroups { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5476,7 +5476,7 @@ impl ISClusResGroups { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), bstrresourcegroupname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteItem(&self, varindex: P0) -> windows_core::Result<()> @@ -5494,14 +5494,14 @@ pub struct ISClusResGroups_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateItem: usize, - pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResPossibleOwnerNodes, ISClusResPossibleOwnerNodes_Vtbl, 0xf2e6070e_2631_11d1_89f1_00a0c90d061e); @@ -5509,7 +5509,7 @@ windows_core::imp::define_interface!(ISClusResPossibleOwnerNodes, ISClusResPossi impl std::ops::Deref for ISClusResPossibleOwnerNodes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5517,11 +5517,11 @@ windows_core::imp::interface_hierarchy!(ISClusResPossibleOwnerNodes, windows_cor #[cfg(feature = "Win32_System_Com")] impl ISClusResPossibleOwnerNodes { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -5532,7 +5532,7 @@ impl ISClusResPossibleOwnerNodes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5549,7 +5549,7 @@ impl ISClusResPossibleOwnerNodes { (windows_core::Interface::vtable(self).RemoveItem)(windows_core::Interface::as_raw(self), varindex.param().abi()).ok() } pub unsafe fn Modified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Modified)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5561,15 +5561,15 @@ pub struct ISClusResPossibleOwnerNodes_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddItem: usize, - pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResType, ISClusResType_Vtbl, 0xf2e60710_2631_11d1_89f1_00a0c90d061e); @@ -5577,7 +5577,7 @@ windows_core::imp::define_interface!(ISClusResType, ISClusResType_Vtbl, 0xf2e607 impl std::ops::Deref for ISClusResType { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5586,26 +5586,26 @@ windows_core::imp::interface_hierarchy!(ISClusResType, windows_core::IUnknown, s impl ISClusResType { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -5613,22 +5613,22 @@ impl ISClusResType { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cluster)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Resources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Resources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PossibleOwnerNodes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PossibleOwnerNodes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AvailableDisks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AvailableDisks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5652,7 +5652,7 @@ pub struct ISClusResType_Vtbl { pub PrivateROProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PrivateROProperties: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Cluster: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5677,7 +5677,7 @@ windows_core::imp::define_interface!(ISClusResTypePossibleOwnerNodes, ISClusResT impl std::ops::Deref for ISClusResTypePossibleOwnerNodes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5685,11 +5685,11 @@ windows_core::imp::interface_hierarchy!(ISClusResTypePossibleOwnerNodes, windows #[cfg(feature = "Win32_System_Com")] impl ISClusResTypePossibleOwnerNodes { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -5700,7 +5700,7 @@ impl ISClusResTypePossibleOwnerNodes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5712,7 +5712,7 @@ pub struct ISClusResTypePossibleOwnerNodes_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } @@ -5722,7 +5722,7 @@ windows_core::imp::define_interface!(ISClusResTypeResources, ISClusResTypeResour impl std::ops::Deref for ISClusResTypeResources { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5730,11 +5730,11 @@ windows_core::imp::interface_hierarchy!(ISClusResTypeResources, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl ISClusResTypeResources { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -5745,7 +5745,7 @@ impl ISClusResTypeResources { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5754,7 +5754,7 @@ impl ISClusResTypeResources { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), bstrresourcename.param().abi(), bstrgroupname.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteItem(&self, varindex: P0) -> windows_core::Result<()> @@ -5772,14 +5772,14 @@ pub struct ISClusResTypeResources_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateItem: usize, - pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResTypes, ISClusResTypes_Vtbl, 0xf2e60712_2631_11d1_89f1_00a0c90d061e); @@ -5787,7 +5787,7 @@ windows_core::imp::define_interface!(ISClusResTypes, ISClusResTypes_Vtbl, 0xf2e6 impl std::ops::Deref for ISClusResTypes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5795,11 +5795,11 @@ windows_core::imp::interface_hierarchy!(ISClusResTypes, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISClusResTypes { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -5810,7 +5810,7 @@ impl ISClusResTypes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5820,7 +5820,7 @@ impl ISClusResTypes { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), bstrresourcetypename.param().abi(), bstrdisplayname.param().abi(), bstrresourcetypedll.param().abi(), dwlooksalivepollinterval, dwisalivepollinterval, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteItem(&self, varindex: P0) -> windows_core::Result<()> @@ -5838,14 +5838,14 @@ pub struct ISClusResTypes_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateItem: usize, - pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResource, ISClusResource_Vtbl, 0xf2e6070a_2631_11d1_89f1_00a0c90d061e); @@ -5853,7 +5853,7 @@ windows_core::imp::define_interface!(ISClusResource, ISClusResource_Vtbl, 0xf2e6 impl std::ops::Deref for ISClusResource { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5862,30 +5862,30 @@ windows_core::imp::interface_hierarchy!(ISClusResource, windows_core::IUnknown, impl ISClusResource { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrresourcename: P0) -> windows_core::Result<()> @@ -5895,11 +5895,11 @@ impl ISClusResource { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrresourcename.param().abi()).ok() } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CoreFlag(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CoreFlag)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BecomeQuorumResource(&self, bstrdevicepath: P0, lmaxlogsize: i32) -> windows_core::Result<()> @@ -5915,11 +5915,11 @@ impl ISClusResource { (windows_core::Interface::vtable(self).Fail)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Online(&self, ntimeout: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Online)(windows_core::Interface::as_raw(self), ntimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Offline(&self, ntimeout: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Offline)(windows_core::Interface::as_raw(self), ntimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5948,69 +5948,69 @@ impl ISClusResource { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanResourceBeDependent)(windows_core::Interface::as_raw(self), presource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PossibleOwnerNodes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PossibleOwnerNodes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Dependencies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Dependencies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Dependents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Dependents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Group(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Group)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OwnerNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OwnerNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cluster(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cluster)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClassInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Disk(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Disk)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RegistryKeys(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegistryKeys)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptoKeys(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CryptoKeys)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TypeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TypeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MaintenanceMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaintenanceMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaintenanceMode(&self, bmaintenancemode: P0) -> windows_core::Result<()> @@ -6041,15 +6041,15 @@ pub struct ISClusResource_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] PrivateROProperties: usize, pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUSTER_RESOURCE_STATE) -> windows_core::HRESULT, pub CoreFlag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLUS_FLAGS) -> windows_core::HRESULT, - pub BecomeQuorumResource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub BecomeQuorumResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Fail: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Online: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Offline: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Online: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Offline: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ChangeResourceGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6063,7 +6063,7 @@ pub struct ISClusResource_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] RemoveResourceNode: usize, #[cfg(feature = "Win32_System_Com")] - pub CanResourceBeDependent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CanResourceBeDependent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CanResourceBeDependent: usize, #[cfg(feature = "Win32_System_Com")] @@ -6103,7 +6103,7 @@ pub struct ISClusResource_Vtbl { pub CryptoKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CryptoKeys: usize, - pub TypeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TypeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6117,7 +6117,7 @@ windows_core::imp::define_interface!(ISClusResources, ISClusResources_Vtbl, 0xf2 impl std::ops::Deref for ISClusResources { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6125,11 +6125,11 @@ windows_core::imp::interface_hierarchy!(ISClusResources, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISClusResources { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -6140,7 +6140,7 @@ impl ISClusResources { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6150,7 +6150,7 @@ impl ISClusResources { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateItem)(windows_core::Interface::as_raw(self), bstrresourcename.param().abi(), bstrresourcetype.param().abi(), bstrgroupname.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteItem(&self, varindex: P0) -> windows_core::Result<()> @@ -6168,14 +6168,14 @@ pub struct ISClusResources_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, CLUSTER_RESOURCE_CREATE_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateItem: usize, - pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusScsiAddress, ISClusScsiAddress_Vtbl, 0xf2e60728_2631_11d1_89f1_00a0c90d061e); @@ -6183,7 +6183,7 @@ windows_core::imp::define_interface!(ISClusScsiAddress, ISClusScsiAddress_Vtbl, impl std::ops::Deref for ISClusScsiAddress { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6191,19 +6191,19 @@ windows_core::imp::interface_hierarchy!(ISClusScsiAddress, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl ISClusScsiAddress { pub unsafe fn PortNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PortNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PathId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TargetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Lun(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Lun)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6211,10 +6211,10 @@ impl ISClusScsiAddress { #[repr(C)] pub struct ISClusScsiAddress_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub PortNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PathId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TargetId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Lun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PortNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Lun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusVersion, ISClusVersion_Vtbl, 0xf2e60716_2631_11d1_89f1_00a0c90d061e); @@ -6222,7 +6222,7 @@ windows_core::imp::define_interface!(ISClusVersion, ISClusVersion_Vtbl, 0xf2e607 impl std::ops::Deref for ISClusVersion { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6230,43 +6230,43 @@ windows_core::imp::interface_hierarchy!(ISClusVersion, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl ISClusVersion { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MajorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BuildNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BuildNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VendorId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VendorId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CSDVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CSDVersion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClusterHighestVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClusterHighestVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ClusterLowestVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClusterLowestVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Flags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MixedVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MixedVersion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6274,16 +6274,16 @@ impl ISClusVersion { #[repr(C)] pub struct ISClusVersion_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MajorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub BuildNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - pub VendorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CSDVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VendorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CSDVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClusterHighestVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ClusterLowestVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub MixedVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MixedVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISCluster, ISCluster_Vtbl, 0xf2e606e4_2631_11d1_89f1_00a0c90d061e); @@ -6291,7 +6291,7 @@ windows_core::imp::define_interface!(ISCluster, ISCluster_Vtbl, 0xf2e606e4_2631_ impl std::ops::Deref for ISCluster { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6300,26 +6300,26 @@ windows_core::imp::interface_hierarchy!(ISCluster, windows_core::IUnknown, super impl ISCluster { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommonROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateROProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateROProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Open(&self, bstrclustername: P0) -> windows_core::Result<()> @@ -6329,7 +6329,7 @@ impl ISCluster { (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), bstrclustername.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrclustername: P0) -> windows_core::Result<()> @@ -6340,7 +6340,7 @@ impl ISCluster { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6352,18 +6352,18 @@ impl ISCluster { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn QuorumResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuorumResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QuorumLogSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuorumLogSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetQuorumLogSize(&self, nlogsize: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetQuorumLogSize)(windows_core::Interface::as_raw(self), nlogsize).ok() } pub unsafe fn QuorumPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuorumPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetQuorumPath(&self, ppath: P0) -> windows_core::Result<()> @@ -6374,32 +6374,32 @@ impl ISCluster { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Nodes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Nodes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResourceGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResourceGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Resources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Resources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResourceTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResourceTypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Networks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Networks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NetInterfaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetInterfaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6424,9 +6424,9 @@ pub struct ISCluster_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] PrivateROProperties: usize, pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, - pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6441,8 +6441,8 @@ pub struct ISCluster_Vtbl { QuorumResource: usize, pub QuorumLogSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetQuorumLogSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub QuorumPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetQuorumPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QuorumPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetQuorumPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Nodes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6474,7 +6474,7 @@ windows_core::imp::define_interface!(ISClusterNames, ISClusterNames_Vtbl, 0xf2e6 impl std::ops::Deref for ISClusterNames { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6482,11 +6482,11 @@ windows_core::imp::interface_hierarchy!(ISClusterNames, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISClusterNames { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -6496,11 +6496,11 @@ impl ISClusterNames { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DomainName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DomainName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6511,8 +6511,8 @@ pub struct ISClusterNames_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISDomainNames, ISDomainNames_Vtbl, 0xf2e606e2_2631_11d1_89f1_00a0c90d061e); @@ -6520,7 +6520,7 @@ windows_core::imp::define_interface!(ISDomainNames, ISDomainNames_Vtbl, 0xf2e606 impl std::ops::Deref for ISDomainNames { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6528,11 +6528,11 @@ windows_core::imp::interface_hierarchy!(ISDomainNames, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl ISDomainNames { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -6542,7 +6542,7 @@ impl ISDomainNames { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), varindex.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6553,13 +6553,13 @@ pub struct ISDomainNames_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWCContextMenuCallback, IWCContextMenuCallback_Vtbl, 0x97dede64_fc6b_11cf_b5f5_00a0c90ab505); impl std::ops::Deref for IWCContextMenuCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWCContextMenuCallback, windows_core::IUnknown); @@ -6575,13 +6575,13 @@ impl IWCContextMenuCallback { #[repr(C)] pub struct IWCContextMenuCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub AddExtensionMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, u32, u32) -> windows_core::HRESULT, + pub AddExtensionMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWCPropertySheetCallback, IWCPropertySheetCallback_Vtbl, 0x97dede60_fc6b_11cf_b5f5_00a0c90ab505); impl std::ops::Deref for IWCPropertySheetCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWCPropertySheetCallback, windows_core::IUnknown); @@ -6599,7 +6599,7 @@ windows_core::imp::define_interface!(IWCWizard97Callback, IWCWizard97Callback_Vt impl std::ops::Deref for IWCWizard97Callback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWCWizard97Callback, windows_core::IUnknown); @@ -6624,7 +6624,7 @@ windows_core::imp::define_interface!(IWCWizardCallback, IWCWizardCallback_Vtbl, impl std::ops::Deref for IWCWizardCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWCWizardCallback, windows_core::IUnknown); @@ -6649,7 +6649,7 @@ windows_core::imp::define_interface!(IWEExtendContextMenu, IWEExtendContextMenu_ impl std::ops::Deref for IWEExtendContextMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWEExtendContextMenu, windows_core::IUnknown); @@ -6671,7 +6671,7 @@ windows_core::imp::define_interface!(IWEExtendPropertySheet, IWEExtendPropertySh impl std::ops::Deref for IWEExtendPropertySheet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWEExtendPropertySheet, windows_core::IUnknown); @@ -6693,7 +6693,7 @@ windows_core::imp::define_interface!(IWEExtendWizard, IWEExtendWizard_Vtbl, 0x97 impl std::ops::Deref for IWEExtendWizard { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWEExtendWizard, windows_core::IUnknown); @@ -6715,7 +6715,7 @@ windows_core::imp::define_interface!(IWEExtendWizard97, IWEExtendWizard97_Vtbl, impl std::ops::Deref for IWEExtendWizard97 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWEExtendWizard97, windows_core::IUnknown); @@ -6737,7 +6737,7 @@ windows_core::imp::define_interface!(IWEInvokeCommand, IWEInvokeCommand_Vtbl, 0x impl std::ops::Deref for IWEInvokeCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWEInvokeCommand, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs index 2f8a57c36a..4e69f3dac3 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs @@ -145,7 +145,7 @@ impl windows_core::RuntimeName for INetwork {} #[cfg(feature = "Win32_System_Com")] impl INetwork_Vtbl { pub const fn new, Impl: INetwork_Impl, const OFFSET: isize>() -> INetwork_Vtbl { - unsafe extern "system" fn GetName, Impl: INetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psznetworkname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: INetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psznetworkname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetwork_Impl::GetName(this) { @@ -156,12 +156,12 @@ impl INetwork_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: INetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sznetworknewname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: INetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sznetworknewname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetwork_Impl::SetName(this, core::mem::transmute(&sznetworknewname)).into() } - unsafe extern "system" fn GetDescription, Impl: INetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: INetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INetwork_Impl::GetDescription(this) { @@ -172,7 +172,7 @@ impl INetwork_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: INetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: INetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetwork_Impl::SetDescription(this, core::mem::transmute(&szdescription)).into() 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 e64f799fde..0017b057cd 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IEnumNetworkConnections, IEnumNetworkConnec impl std::ops::Deref for IEnumNetworkConnections { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -13,7 +13,7 @@ windows_core::imp::interface_hierarchy!(IEnumNetworkConnections, windows_core::I impl IEnumNetworkConnections { #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -28,7 +28,7 @@ impl IEnumNetworkConnections { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -57,7 +57,7 @@ windows_core::imp::define_interface!(IEnumNetworks, IEnumNetworks_Vtbl, 0xdcb000 impl std::ops::Deref for IEnumNetworks { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -66,7 +66,7 @@ windows_core::imp::interface_hierarchy!(IEnumNetworks, windows_core::IUnknown, s impl IEnumNetworks { #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -81,7 +81,7 @@ impl IEnumNetworks { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -110,7 +110,7 @@ windows_core::imp::define_interface!(INetwork, INetwork_Vtbl, 0xdcb00002_570f_4a impl std::ops::Deref for INetwork { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -118,7 +118,7 @@ windows_core::imp::interface_hierarchy!(INetwork, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl INetwork { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, sznetworknewname: P0) -> windows_core::Result<()> @@ -128,7 +128,7 @@ impl INetwork { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), sznetworknewname.param().abi()).ok() } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, szdescription: P0) -> windows_core::Result<()> @@ -138,35 +138,35 @@ impl INetwork { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), szdescription.param().abi()).ok() } pub unsafe fn GetNetworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDomainType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDomainType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetworkConnections(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkConnections)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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), pdwlowdatetimecreated, pdwhighdatetimecreated, pdwlowdatetimeconnected, pdwhighdatetimeconnected).ok() } pub unsafe fn IsConnectedToInternet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnectedToInternet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsConnected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnectivity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectivity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCategory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCategory(&self, newcategory: NLM_NETWORK_CATEGORY) -> windows_core::Result<()> { @@ -177,10 +177,10 @@ impl INetwork { #[repr(C)] pub struct INetwork_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNetworkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetDomainType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NLM_DOMAIN_TYPE) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -200,7 +200,7 @@ windows_core::imp::define_interface!(INetwork2, INetwork2_Vtbl, 0xb5550abb_3391_ impl std::ops::Deref for INetwork2 { type Target = INetwork; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -208,7 +208,7 @@ windows_core::imp::interface_hierarchy!(INetwork2, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl INetwork2 { pub unsafe fn IsDomainAuthenticatedBy(&self, domainauthenticationkind: NLM_DOMAIN_AUTHENTICATION_KIND) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDomainAuthenticatedBy)(windows_core::Interface::as_raw(self), domainauthenticationkind, &mut result__).map(|| result__) } } @@ -224,7 +224,7 @@ windows_core::imp::define_interface!(INetworkConnection, INetworkConnection_Vtbl impl std::ops::Deref for INetworkConnection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -233,31 +233,31 @@ windows_core::imp::interface_hierarchy!(INetworkConnection, windows_core::IUnkno impl INetworkConnection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetwork(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetwork)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsConnectedToInternet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnectedToInternet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsConnected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnectivity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectivity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnectionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectionId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAdapterId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdapterId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDomainType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDomainType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -282,7 +282,7 @@ windows_core::imp::define_interface!(INetworkConnection2, INetworkConnection2_Vt impl std::ops::Deref for INetworkConnection2 { type Target = INetworkConnection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -290,7 +290,7 @@ windows_core::imp::interface_hierarchy!(INetworkConnection2, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl INetworkConnection2 { pub unsafe fn IsDomainAuthenticatedBy(&self, domainauthenticationkind: NLM_DOMAIN_AUTHENTICATION_KIND) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDomainAuthenticatedBy)(windows_core::Interface::as_raw(self), domainauthenticationkind, &mut result__).map(|| result__) } } @@ -304,13 +304,13 @@ windows_core::imp::define_interface!(INetworkConnectionCost, INetworkConnectionC impl std::ops::Deref for INetworkConnectionCost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetworkConnectionCost, windows_core::IUnknown); impl INetworkConnectionCost { pub unsafe fn GetCost(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCost)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataPlanStatus(&self, pdataplanstatus: *mut NLM_DATAPLAN_STATUS) -> windows_core::Result<()> { @@ -327,7 +327,7 @@ windows_core::imp::define_interface!(INetworkConnectionCostEvents, INetworkConne impl std::ops::Deref for INetworkConnectionCostEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetworkConnectionCostEvents, windows_core::IUnknown); @@ -349,7 +349,7 @@ windows_core::imp::define_interface!(INetworkConnectionEvents, INetworkConnectio impl std::ops::Deref for INetworkConnectionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetworkConnectionEvents, windows_core::IUnknown); @@ -371,7 +371,7 @@ windows_core::imp::define_interface!(INetworkCostManager, INetworkCostManager_Vt impl std::ops::Deref for INetworkCostManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetworkCostManager, windows_core::IUnknown); @@ -400,7 +400,7 @@ windows_core::imp::define_interface!(INetworkCostManagerEvents, INetworkCostMana impl std::ops::Deref for INetworkCostManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetworkCostManagerEvents, windows_core::IUnknown); @@ -422,7 +422,7 @@ windows_core::imp::define_interface!(INetworkEvents, INetworkEvents_Vtbl, 0xdcb0 impl std::ops::Deref for INetworkEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetworkEvents, windows_core::IUnknown); @@ -454,7 +454,7 @@ windows_core::imp::define_interface!(INetworkListManager, INetworkListManager_Vt impl std::ops::Deref for INetworkListManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -463,34 +463,34 @@ windows_core::imp::interface_hierarchy!(INetworkListManager, windows_core::IUnkn impl INetworkListManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetworks(&self, flags: NLM_ENUM_NETWORK) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworks)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetwork(&self, gdnetworkid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetwork)(windows_core::Interface::as_raw(self), core::mem::transmute(gdnetworkid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetworkConnections(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkConnections)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNetworkConnection(&self, gdnetworkconnectionid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkConnection)(windows_core::Interface::as_raw(self), core::mem::transmute(gdnetworkconnectionid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsConnectedToInternet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnectedToInternet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsConnected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnectivity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectivity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSimulatedProfileInfo(&self, psimulatedinfo: *const NLM_SIMULATED_PROFILE_INFO) -> windows_core::Result<()> { @@ -530,7 +530,7 @@ windows_core::imp::define_interface!(INetworkListManagerEvents, INetworkListMana impl std::ops::Deref for INetworkListManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetworkListManagerEvents, windows_core::IUnknown); 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 1725d30308..87dd7a7852 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs @@ -2,13 +2,13 @@ windows_core::imp::define_interface!(IFindSimilarResults, IFindSimilarResults_Vt impl std::ops::Deref for IFindSimilarResults { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFindSimilarResults, windows_core::IUnknown); impl IFindSimilarResults { pub unsafe fn GetSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNextFileId(&self, numtraitsmatched: *mut u32, similarityfileid: *mut SimilarityFileId) -> windows_core::Result<()> { @@ -25,7 +25,7 @@ windows_core::imp::define_interface!(IRdcComparator, IRdcComparator_Vtbl, 0x9623 impl std::ops::Deref for IRdcComparator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRdcComparator, windows_core::IUnknown); @@ -46,20 +46,20 @@ windows_core::imp::define_interface!(IRdcFileReader, IRdcFileReader_Vtbl, 0x9623 impl std::ops::Deref for IRdcFileReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRdcFileReader, windows_core::IUnknown); impl IRdcFileReader { pub unsafe fn GetFileSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Read(&self, offsetfilestart: u64, bytestoread: u32, bytesactuallyread: *mut u32, buffer: *mut u8, eof: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Read)(windows_core::Interface::as_raw(self), offsetfilestart, bytestoread, bytesactuallyread, buffer, eof).ok() } pub unsafe fn GetFilePosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilePosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -74,13 +74,13 @@ windows_core::imp::define_interface!(IRdcFileWriter, IRdcFileWriter_Vtbl, 0x9623 impl std::ops::Deref for IRdcFileWriter { type Target = IRdcFileReader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRdcFileWriter, windows_core::IUnknown, IRdcFileReader); impl IRdcFileWriter { pub unsafe fn Write(&self, offsetfilestart: u64, bytestowrite: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Write)(windows_core::Interface::as_raw(self), offsetfilestart, bytestowrite, &mut result__).map(|| result__) } pub unsafe fn Truncate(&self) -> windows_core::Result<()> { @@ -101,13 +101,13 @@ windows_core::imp::define_interface!(IRdcGenerator, IRdcGenerator_Vtbl, 0x96236a impl std::ops::Deref for IRdcGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRdcGenerator, windows_core::IUnknown); impl IRdcGenerator { pub unsafe fn GetGeneratorParameters(&self, level: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGeneratorParameters)(windows_core::Interface::as_raw(self), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Process(&self, endofinput: P0, endofoutput: *mut super::super::Foundation::BOOL, inputbuffer: *mut RdcBufferPointer, outputbuffers: &mut [*mut RdcBufferPointer], rdc_errorcode: *mut RDC_ErrorCode) -> windows_core::Result<()> @@ -127,20 +127,20 @@ windows_core::imp::define_interface!(IRdcGeneratorFilterMaxParameters, IRdcGener impl std::ops::Deref for IRdcGeneratorFilterMaxParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRdcGeneratorFilterMaxParameters, windows_core::IUnknown); impl IRdcGeneratorFilterMaxParameters { pub unsafe fn GetHorizonSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHorizonSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHashWindowSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHashWindowSize(&self, hashwindowsize: u32) -> windows_core::Result<()> { @@ -159,20 +159,20 @@ windows_core::imp::define_interface!(IRdcGeneratorParameters, IRdcGeneratorParam impl std::ops::Deref for IRdcGeneratorParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRdcGeneratorParameters, windows_core::IUnknown); impl IRdcGeneratorParameters { pub unsafe fn GetGeneratorParametersType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGeneratorParametersType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), currentversion, minimumcompatibleappversion).ok() } pub unsafe fn GetSerializeSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSerializeSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Serialize(&self, size: u32, parametersblob: *mut u8, byteswritten: *mut u32) -> windows_core::Result<()> { @@ -191,39 +191,39 @@ windows_core::imp::define_interface!(IRdcLibrary, IRdcLibrary_Vtbl, 0x96236a78_9 impl std::ops::Deref for IRdcLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRdcLibrary, windows_core::IUnknown); impl IRdcLibrary { pub unsafe fn ComputeDefaultRecursionDepth(&self, filesize: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputeDefaultRecursionDepth)(windows_core::Interface::as_raw(self), filesize, &mut result__).map(|| result__) } pub unsafe fn CreateGeneratorParameters(&self, parameterstype: GeneratorParametersType, level: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGeneratorParameters)(windows_core::Interface::as_raw(self), parameterstype, level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenGeneratorParameters(&self, size: u32, parametersblob: *const u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenGeneratorParameters)(windows_core::Interface::as_raw(self), size, parametersblob, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateGenerator(&self, igeneratorparametersarray: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGenerator)(windows_core::Interface::as_raw(self), igeneratorparametersarray.len().try_into().unwrap(), core::mem::transmute(igeneratorparametersarray.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateComparator(&self, iseedsignaturesfile: P0, comparatorbuffersize: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateComparator)(windows_core::Interface::as_raw(self), iseedsignaturesfile.param().abi(), comparatorbuffersize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSignatureReader(&self, ifilereader: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSignatureReader)(windows_core::Interface::as_raw(self), ifilereader.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRDCVersion(&self, currentversion: *mut u32, minimumcompatibleappversion: *mut u32) -> windows_core::Result<()> { @@ -245,13 +245,13 @@ windows_core::imp::define_interface!(IRdcSignatureReader, IRdcSignatureReader_Vt impl std::ops::Deref for IRdcSignatureReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRdcSignatureReader, windows_core::IUnknown); impl IRdcSignatureReader { pub unsafe fn ReadHeader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadHeader)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReadSignatures(&self, rdcsignaturepointer: *mut RdcSignaturePointer, endofoutput: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -268,7 +268,7 @@ windows_core::imp::define_interface!(IRdcSimilarityGenerator, IRdcSimilarityGene impl std::ops::Deref for IRdcSimilarityGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRdcSimilarityGenerator, windows_core::IUnknown); @@ -277,7 +277,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Results)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -291,7 +291,7 @@ windows_core::imp::define_interface!(ISimilarity, ISimilarity_Vtbl, 0x96236a83_9 impl std::ops::Deref for ISimilarity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimilarity, windows_core::IUnknown); @@ -301,7 +301,7 @@ impl ISimilarity { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTable)(windows_core::Interface::as_raw(self), path.param().abi(), truncate.param().abi(), securitydescriptor, recordsize, &mut result__).map(|| result__) } pub unsafe fn CreateTableIndirect(&self, mapping: P0, fileidfile: P1, truncate: P2, recordsize: u32) -> windows_core::Result @@ -310,7 +310,7 @@ impl ISimilarity { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTableIndirect)(windows_core::Interface::as_raw(self), mapping.param().abi(), fileidfile.param().abi(), truncate.param().abi(), recordsize, &mut result__).map(|| result__) } pub unsafe fn CloseTable(&self, isvalid: P0) -> windows_core::Result<()> @@ -323,7 +323,7 @@ impl ISimilarity { (windows_core::Interface::vtable(self).Append)(windows_core::Interface::as_raw(self), similarityfileid, similaritydata).ok() } pub unsafe fn FindSimilarFileId(&self, similaritydata: *const SimilarityData, numberofmatchesrequired: u16, resultssize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindSimilarFileId)(windows_core::Interface::as_raw(self), similaritydata, numberofmatchesrequired, resultssize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CopyAndSwap(&self, newsimilaritytables: P0, reportprogress: P1) -> windows_core::Result<()> @@ -334,7 +334,7 @@ impl ISimilarity { (windows_core::Interface::vtable(self).CopyAndSwap)(windows_core::Interface::as_raw(self), newsimilaritytables.param().abi(), reportprogress.param().abi()).ok() } pub unsafe fn GetRecordCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -353,7 +353,7 @@ windows_core::imp::define_interface!(ISimilarityFileIdTable, ISimilarityFileIdTa impl std::ops::Deref for ISimilarityFileIdTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimilarityFileIdTable, windows_core::IUnknown); @@ -363,7 +363,7 @@ impl ISimilarityFileIdTable { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTable)(windows_core::Interface::as_raw(self), path.param().abi(), truncate.param().abi(), securitydescriptor, recordsize, &mut result__).map(|| result__) } pub unsafe fn CreateTableIndirect(&self, fileidfile: P0, truncate: P1, recordsize: u32) -> windows_core::Result @@ -371,7 +371,7 @@ impl ISimilarityFileIdTable { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTableIndirect)(windows_core::Interface::as_raw(self), fileidfile.param().abi(), truncate.param().abi(), recordsize, &mut result__).map(|| result__) } pub unsafe fn CloseTable(&self, isvalid: P0) -> windows_core::Result<()> @@ -381,7 +381,7 @@ impl ISimilarityFileIdTable { (windows_core::Interface::vtable(self).CloseTable)(windows_core::Interface::as_raw(self), isvalid.param().abi()).ok() } pub unsafe fn Append(&self, similarityfileid: *const SimilarityFileId) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Append)(windows_core::Interface::as_raw(self), similarityfileid, &mut result__).map(|| result__) } pub unsafe fn Lookup(&self, similarityfileindex: u32, similarityfileid: *mut SimilarityFileId) -> windows_core::Result<()> { @@ -391,7 +391,7 @@ impl ISimilarityFileIdTable { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -410,7 +410,7 @@ windows_core::imp::define_interface!(ISimilarityReportProgress, ISimilarityRepor impl std::ops::Deref for ISimilarityReportProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimilarityReportProgress, windows_core::IUnknown); @@ -428,7 +428,7 @@ windows_core::imp::define_interface!(ISimilarityTableDumpState, ISimilarityTable impl std::ops::Deref for ISimilarityTableDumpState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimilarityTableDumpState, windows_core::IUnknown); @@ -446,7 +446,7 @@ windows_core::imp::define_interface!(ISimilarityTraitsMappedView, ISimilarityTra impl std::ops::Deref for ISimilarityTraitsMappedView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimilarityTraitsMappedView, windows_core::IUnknown); @@ -461,7 +461,7 @@ impl ISimilarityTraitsMappedView { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), index, dirty.param().abi(), numelements, &mut result__).map(|| result__) } pub unsafe fn GetView(&self, mappedpagebegin: *mut *mut u8, mappedpageend: *mut *mut u8) { @@ -480,7 +480,7 @@ windows_core::imp::define_interface!(ISimilarityTraitsMapping, ISimilarityTraits impl std::ops::Deref for ISimilarityTraitsMapping { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimilarityTraitsMapping, windows_core::IUnknown); @@ -492,24 +492,24 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OpenMapping(&self, accessmode: RdcMappingAccessMode, begin: u64, end: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenMapping)(windows_core::Interface::as_raw(self), accessmode, begin, end, &mut result__).map(|| result__) } pub unsafe fn ResizeMapping(&self, accessmode: RdcMappingAccessMode, begin: u64, end: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResizeMapping)(windows_core::Interface::as_raw(self), accessmode, begin, end, &mut result__).map(|| result__) } pub unsafe fn GetPageSize(&self) -> u32 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageSize)(windows_core::Interface::as_raw(self), &mut result__); result__ } pub unsafe fn CreateView(&self, minimummappedpages: u32, accessmode: RdcMappingAccessMode) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateView)(windows_core::Interface::as_raw(self), minimummappedpages, accessmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -528,7 +528,7 @@ windows_core::imp::define_interface!(ISimilarityTraitsTable, ISimilarityTraitsTa impl std::ops::Deref for ISimilarityTraitsTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimilarityTraitsTable, windows_core::IUnknown); @@ -538,7 +538,7 @@ impl ISimilarityTraitsTable { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTable)(windows_core::Interface::as_raw(self), path.param().abi(), truncate.param().abi(), securitydescriptor, &mut result__).map(|| result__) } pub unsafe fn CreateTableIndirect(&self, mapping: P0, truncate: P1) -> windows_core::Result @@ -546,7 +546,7 @@ impl ISimilarityTraitsTable { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTableIndirect)(windows_core::Interface::as_raw(self), mapping.param().abi(), truncate.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CloseTable(&self, isvalid: P0) -> windows_core::Result<()> @@ -562,11 +562,11 @@ impl ISimilarityTraitsTable { (windows_core::Interface::vtable(self).FindSimilarFileIndex)(windows_core::Interface::as_raw(self), similaritydata, numberofmatchesrequired, findsimilarfileindexresults, resultssize, resultsused).ok() } pub unsafe fn BeginDump(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginDump)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLastIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 424aa3a83c..0bf89bf430 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WebSocket/mod.rs @@ -45,13 +45,13 @@ where #[inline] pub unsafe fn WebSocketCreateClientHandle(pproperties: &[WEB_SOCKET_PROPERTY]) -> windows_core::Result { windows_targets::link!("websocket.dll" "system" fn WebSocketCreateClientHandle(pproperties : *const WEB_SOCKET_PROPERTY, ulpropertycount : u32, phwebsocket : *mut WEB_SOCKET_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WebSocketCreateClientHandle(core::mem::transmute(pproperties.as_ptr()), pproperties.len().try_into().unwrap(), &mut result__).map(|| result__) } #[inline] pub unsafe fn WebSocketCreateServerHandle(pproperties: &[WEB_SOCKET_PROPERTY]) -> windows_core::Result { windows_targets::link!("websocket.dll" "system" fn WebSocketCreateServerHandle(pproperties : *const WEB_SOCKET_PROPERTY, ulpropertycount : u32, phwebsocket : *mut WEB_SOCKET_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WebSocketCreateServerHandle(core::mem::transmute(pproperties.as_ptr()), pproperties.len().try_into().unwrap(), &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs index 1606e0bf6c..68ca931466 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs @@ -25,27 +25,27 @@ impl windows_core::RuntimeName for IWinHttpRequest {} #[cfg(feature = "Win32_System_Com")] impl IWinHttpRequest_Vtbl { pub const fn new, Impl: IWinHttpRequest_Impl, const OFFSET: isize>() -> IWinHttpRequest_Vtbl { - unsafe extern "system" fn SetProxy, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, proxysetting: i32, proxyserver: std::mem::MaybeUninit, bypasslist: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProxy, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, proxysetting: i32, proxyserver: core::mem::MaybeUninit, bypasslist: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWinHttpRequest_Impl::SetProxy(this, core::mem::transmute_copy(&proxysetting), core::mem::transmute(&proxyserver), core::mem::transmute(&bypasslist)).into() } - unsafe extern "system" fn SetCredentials, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: std::mem::MaybeUninit, password: std::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetCredentials, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: core::mem::MaybeUninit, password: core::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWinHttpRequest_Impl::SetCredentials(this, core::mem::transmute(&username), core::mem::transmute(&password), core::mem::transmute_copy(&flags)).into() } - unsafe extern "system" fn Open, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, method: std::mem::MaybeUninit, url: std::mem::MaybeUninit, r#async: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Open, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, method: core::mem::MaybeUninit, url: core::mem::MaybeUninit, r#async: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWinHttpRequest_Impl::Open(this, core::mem::transmute(&method), core::mem::transmute(&url), core::mem::transmute(&r#async)).into() } - unsafe extern "system" fn SetRequestHeader, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, header: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRequestHeader, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, header: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWinHttpRequest_Impl::SetRequestHeader(this, core::mem::transmute(&header), core::mem::transmute(&value)).into() } - unsafe extern "system" fn GetResponseHeader, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, header: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetResponseHeader, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, header: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWinHttpRequest_Impl::GetResponseHeader(this, core::mem::transmute(&header)) { @@ -56,7 +56,7 @@ impl IWinHttpRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAllResponseHeaders, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, headers: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAllResponseHeaders, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, headers: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWinHttpRequest_Impl::GetAllResponseHeaders(this) { @@ -67,7 +67,7 @@ impl IWinHttpRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Send, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Send, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWinHttpRequest_Impl::Send(this, core::mem::transmute(&body)).into() @@ -83,7 +83,7 @@ impl IWinHttpRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, status: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, status: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWinHttpRequest_Impl::StatusText(this) { @@ -94,7 +94,7 @@ impl IWinHttpRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ResponseText, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResponseText, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWinHttpRequest_Impl::ResponseText(this) { @@ -105,7 +105,7 @@ impl IWinHttpRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ResponseBody, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResponseBody, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWinHttpRequest_Impl::ResponseBody(this) { @@ -116,7 +116,7 @@ impl IWinHttpRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ResponseStream, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResponseStream, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWinHttpRequest_Impl::ResponseStream(this) { @@ -127,7 +127,7 @@ impl IWinHttpRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Option, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: WinHttpRequestOption, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Option, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: WinHttpRequestOption, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWinHttpRequest_Impl::get_Option(this, core::mem::transmute_copy(&option)) { @@ -138,12 +138,12 @@ impl IWinHttpRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Option, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: WinHttpRequestOption, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_Option, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: WinHttpRequestOption, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWinHttpRequest_Impl::put_Option(this, core::mem::transmute_copy(&option), core::mem::transmute(&value)).into() } - unsafe extern "system" fn WaitForResponse, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timeout: std::mem::MaybeUninit, succeeded: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn WaitForResponse, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timeout: core::mem::MaybeUninit, succeeded: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWinHttpRequest_Impl::WaitForResponse(this, core::mem::transmute(&timeout)) { @@ -164,7 +164,7 @@ impl IWinHttpRequest_Vtbl { let this = (*this).get_impl(); IWinHttpRequest_Impl::SetTimeouts(this, core::mem::transmute_copy(&resolvetimeout), core::mem::transmute_copy(&connecttimeout), core::mem::transmute_copy(&sendtimeout), core::mem::transmute_copy(&receivetimeout)).into() } - unsafe extern "system" fn SetClientCertificate, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clientcertificate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientCertificate, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clientcertificate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWinHttpRequest_Impl::SetClientCertificate(this, core::mem::transmute(&clientcertificate)).into() @@ -213,7 +213,7 @@ impl windows_core::RuntimeName for IWinHttpRequestEvents {} #[cfg(feature = "Win32_System_Com")] impl IWinHttpRequestEvents_Vtbl { pub const fn new, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>() -> IWinHttpRequestEvents_Vtbl { - unsafe extern "system" fn OnResponseStart, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, status: i32, contenttype: std::mem::MaybeUninit) { + unsafe extern "system" fn OnResponseStart, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, status: i32, contenttype: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWinHttpRequestEvents_Impl::OnResponseStart(this, core::mem::transmute_copy(&status), core::mem::transmute(&contenttype)) @@ -228,7 +228,7 @@ impl IWinHttpRequestEvents_Vtbl { let this = (*this).get_impl(); IWinHttpRequestEvents_Impl::OnResponseFinished(this) } - unsafe extern "system" fn OnError, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errornumber: i32, errordescription: std::mem::MaybeUninit) { + unsafe extern "system" fn OnError, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errornumber: i32, errordescription: core::mem::MaybeUninit) { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWinHttpRequestEvents_Impl::OnError(this, core::mem::transmute_copy(&errornumber), core::mem::transmute(&errordescription)) diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs index c3fbcbfdd8..3857637a2a 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs @@ -328,7 +328,7 @@ windows_core::imp::define_interface!(IWinHttpRequest, IWinHttpRequest_Vtbl, 0x01 impl std::ops::Deref for IWinHttpRequest { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -368,11 +368,11 @@ impl IWinHttpRequest { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResponseHeader)(windows_core::Interface::as_raw(self), header.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAllResponseHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllResponseHeaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Send(&self, body: P0) -> windows_core::Result<()> @@ -382,27 +382,27 @@ impl IWinHttpRequest { (windows_core::Interface::vtable(self).Send)(windows_core::Interface::as_raw(self), body.param().abi()).ok() } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ResponseText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ResponseBody(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseBody)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ResponseStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Option(&self, option: WinHttpRequestOption) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Option)(windows_core::Interface::as_raw(self), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_Option(&self, option: WinHttpRequestOption, value: P0) -> windows_core::Result<()> @@ -415,7 +415,7 @@ impl IWinHttpRequest { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitForResponse)(windows_core::Interface::as_raw(self), timeout.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Abort(&self) -> windows_core::Result<()> { @@ -438,31 +438,31 @@ impl IWinHttpRequest { #[repr(C)] pub struct IWinHttpRequest_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetProxy: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetResponseHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAllResponseHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProxy: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetResponseHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAllResponseHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ResponseText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ResponseBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ResponseStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Option: unsafe extern "system" fn(*mut core::ffi::c_void, WinHttpRequestOption, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_Option: unsafe extern "system" fn(*mut core::ffi::c_void, WinHttpRequestOption, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WaitForResponse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResponseText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResponseBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResponseStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Option: unsafe extern "system" fn(*mut core::ffi::c_void, WinHttpRequestOption, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_Option: unsafe extern "system" fn(*mut core::ffi::c_void, WinHttpRequestOption, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WaitForResponse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTimeouts: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32) -> windows_core::HRESULT, - pub SetClientCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetAutoLogonPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, WinHttpRequestAutoLogonPolicy) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinHttpRequestEvents, IWinHttpRequestEvents_Vtbl, 0xf97f4e15_b787_4212_80d1_d380cbbf982e); impl std::ops::Deref for IWinHttpRequestEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinHttpRequestEvents, windows_core::IUnknown); @@ -490,13 +490,13 @@ impl IWinHttpRequestEvents { #[repr(C)] pub struct IWinHttpRequestEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnResponseStart: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit), + pub OnResponseStart: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit), #[cfg(feature = "Win32_System_Com")] pub OnResponseDataAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const super::super::System::Com::SAFEARRAY), #[cfg(not(feature = "Win32_System_Com"))] OnResponseDataAvailable: usize, pub OnResponseFinished: unsafe extern "system" fn(*mut core::ffi::c_void), - pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit), + pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit), } pub const API_GET_PROXY_FOR_URL: u32 = 6u32; pub const API_GET_PROXY_SETTINGS: u32 = 7u32; 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 dc0bf9957e..774d9ff3f6 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -2138,7 +2138,7 @@ windows_core::imp::define_interface!(IDialBranding, IDialBranding_Vtbl, 0x8aecaf impl std::ops::Deref for IDialBranding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDialBranding, windows_core::IUnknown); @@ -2151,7 +2151,7 @@ impl IDialBranding { } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmap(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitmap)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| result__) } } @@ -2168,7 +2168,7 @@ windows_core::imp::define_interface!(IDialEngine, IDialEngine_Vtbl, 0x39fd782b_7 impl std::ops::Deref for IDialEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDialEngine, windows_core::IUnknown); @@ -2201,11 +2201,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectedState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnectHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2224,7 +2224,7 @@ windows_core::imp::define_interface!(IDialEventSink, IDialEventSink_Vtbl, 0x2d86 impl std::ops::Deref for IDialEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDialEventSink, windows_core::IUnknown); @@ -2242,7 +2242,7 @@ windows_core::imp::define_interface!(IProofOfPossessionCookieInfoManager, IProof impl std::ops::Deref for IProofOfPossessionCookieInfoManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProofOfPossessionCookieInfoManager, windows_core::IUnknown); @@ -2263,7 +2263,7 @@ windows_core::imp::define_interface!(IProofOfPossessionCookieInfoManager2, IProo impl std::ops::Deref for IProofOfPossessionCookieInfoManager2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProofOfPossessionCookieInfoManager2, windows_core::IUnknown); 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 3bd237bd75..a04557e693 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -5,7 +5,7 @@ where P1: windows_core::Param, { windows_targets::link!("webauthn.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WebAuthNAuthenticatorGetAssertion(hwnd.param().abi(), pwszrpid.param().abi(), pwebauthnclientdata, core::mem::transmute(pwebauthngetassertionoptions.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -14,7 +14,7 @@ where P0: windows_core::Param, { windows_targets::link!("webauthn.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WebAuthNAuthenticatorMakeCredential(hwnd.param().abi(), prpinformation, puserinformation, ppubkeycredparams, pwebauthnclientdata, core::mem::transmute(pwebauthnmakecredentialoptions.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -50,7 +50,7 @@ pub unsafe fn WebAuthNGetApiVersionNumber() -> u32 { #[inline] pub unsafe fn WebAuthNGetCancellationId() -> windows_core::Result { windows_targets::link!("webauthn.dll" "system" fn WebAuthNGetCancellationId(pcancellationid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WebAuthNGetCancellationId(&mut result__).map(|| result__) } #[inline] @@ -61,7 +61,7 @@ pub unsafe fn WebAuthNGetErrorName(hr: windows_core::HRESULT) -> windows_core::P #[inline] pub unsafe fn WebAuthNGetPlatformCredentialList(pgetcredentialsoptions: *const WEBAUTHN_GET_CREDENTIALS_OPTIONS) -> windows_core::Result<*mut WEBAUTHN_CREDENTIAL_DETAILS_LIST> { windows_targets::link!("webauthn.dll" "system" fn WebAuthNGetPlatformCredentialList(pgetcredentialsoptions : *const WEBAUTHN_GET_CREDENTIALS_OPTIONS, ppcredentialdetailslist : *mut *mut WEBAUTHN_CREDENTIAL_DETAILS_LIST) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WebAuthNGetPlatformCredentialList(pgetcredentialsoptions, &mut result__).map(|| result__) } #[inline] @@ -72,7 +72,7 @@ pub unsafe fn WebAuthNGetW3CExceptionDOMError(hr: windows_core::HRESULT) -> wind #[inline] pub unsafe fn WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable() -> windows_core::Result { windows_targets::link!("webauthn.dll" "system" fn WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable(pbisuserverifyingplatformauthenticatoravailable : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable(&mut result__).map(|| result__) } #[inline] @@ -198,7 +198,7 @@ pub unsafe fn WsCreateChannelForListener(listener: *const WS_LISTENER, propertie #[inline] pub unsafe fn WsCreateError(properties: Option<&[WS_ERROR_PROPERTY]>) -> windows_core::Result<*mut WS_ERROR> { windows_targets::link!("webservices.dll" "system" fn WsCreateError(properties : *const WS_ERROR_PROPERTY, propertycount : u32, error : *mut *mut WS_ERROR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WsCreateError(core::mem::transmute(properties.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), properties.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).map(|| result__) } #[inline] @@ -434,7 +434,7 @@ pub unsafe fn WsGetErrorProperty(error: *const WS_ERROR, id: WS_ERROR_PROPERTY_I #[inline] pub unsafe fn WsGetErrorString(error: *const WS_ERROR, index: u32) -> windows_core::Result { windows_targets::link!("webservices.dll" "system" fn WsGetErrorString(error : *const WS_ERROR, index : u32, string : *mut WS_STRING) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WsGetErrorString(error, index, &mut result__).map(|| result__) } #[inline] @@ -1091,7 +1091,7 @@ windows_core::imp::define_interface!(IContentPrefetcherTaskTrigger, IContentPref impl std::ops::Deref for IContentPrefetcherTaskTrigger { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContentPrefetcherTaskTrigger, windows_core::IUnknown, windows_core::IInspectable); @@ -1106,7 +1106,7 @@ impl IContentPrefetcherTaskTrigger { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRegisteredForContentPrefetch)(windows_core::Interface::as_raw(self), packagefullname.param().abi(), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs index b5b7e7ea68..a9d57fca16 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs @@ -121,7 +121,7 @@ impl AsyncIConnectedIdentityProvider_Vtbl { let this = (*this).get_impl(); AsyncIConnectedIdentityProvider_Impl::Begin_GetUrl(this, core::mem::transmute_copy(&identifier), windows_core::from_raw_borrowed(&context)).into() } - unsafe extern "system" fn Finish_GetUrl, Impl: AsyncIConnectedIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, postdata: *mut std::mem::MaybeUninit, url: *mut windows_core::PWSTR) -> windows_core::HRESULT { + unsafe extern "system" fn Finish_GetUrl, Impl: AsyncIConnectedIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, postdata: *mut core::mem::MaybeUninit, url: *mut windows_core::PWSTR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); AsyncIConnectedIdentityProvider_Impl::Finish_GetUrl(this, core::mem::transmute_copy(&postdata), core::mem::transmute_copy(&url)).into() @@ -255,7 +255,7 @@ impl windows_core::RuntimeName for AsyncIIdentityProvider {} #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] impl AsyncIIdentityProvider_Vtbl { pub const fn new, Impl: AsyncIIdentityProvider_Impl, const OFFSET: isize>() -> AsyncIIdentityProvider_Vtbl { - unsafe extern "system" fn Begin_GetIdentityEnum, Impl: AsyncIIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Begin_GetIdentityEnum, Impl: AsyncIIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); AsyncIIdentityProvider_Impl::Begin_GetIdentityEnum(this, core::mem::transmute_copy(&eidentitytype), core::mem::transmute_copy(&pfilterkey), core::mem::transmute_copy(&pfilterpropvarvalue)).into() @@ -271,7 +271,7 @@ impl AsyncIIdentityProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Begin_Create, Impl: AsyncIIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszusername: windows_core::PCWSTR, pkeywordstoadd: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Begin_Create, Impl: AsyncIIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszusername: windows_core::PCWSTR, pkeywordstoadd: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); AsyncIIdentityProvider_Impl::Begin_Create(this, core::mem::transmute(&lpszusername), core::mem::transmute_copy(&pkeywordstoadd)).into() @@ -297,7 +297,7 @@ impl AsyncIIdentityProvider_Vtbl { let this = (*this).get_impl(); AsyncIIdentityProvider_Impl::Finish_Import(this).into() } - unsafe extern "system" fn Begin_Delete, Impl: AsyncIIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszuniqueid: windows_core::PCWSTR, pkeywordstodelete: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Begin_Delete, Impl: AsyncIIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszuniqueid: windows_core::PCWSTR, pkeywordstodelete: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); AsyncIIdentityProvider_Impl::Begin_Delete(this, core::mem::transmute(&lpszuniqueid), core::mem::transmute_copy(&pkeywordstodelete)).into() @@ -455,7 +455,7 @@ impl AsyncIIdentityStore_Vtbl { let this = (*this).get_impl(); AsyncIIdentityStore_Impl::Finish_ConvertToSid(this, core::mem::transmute_copy(&psid), core::mem::transmute_copy(&pcbrequiredsid)).into() } - unsafe extern "system" fn Begin_EnumerateIdentities, Impl: AsyncIIdentityStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Begin_EnumerateIdentities, Impl: AsyncIIdentityStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); AsyncIIdentityStore_Impl::Begin_EnumerateIdentities(this, core::mem::transmute_copy(&eidentitytype), core::mem::transmute_copy(&pfilterkey), core::mem::transmute_copy(&pfilterpropvarvalue)).into() @@ -619,7 +619,7 @@ impl IConnectedIdentityProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetUrl, Impl: IConnectedIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: IDENTITY_URL, context: *mut core::ffi::c_void, postdata: *mut std::mem::MaybeUninit, url: *mut windows_core::PWSTR) -> windows_core::HRESULT { + unsafe extern "system" fn GetUrl, Impl: IConnectedIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: IDENTITY_URL, context: *mut core::ffi::c_void, postdata: *mut core::mem::MaybeUninit, url: *mut windows_core::PWSTR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IConnectedIdentityProvider_Impl::GetUrl(this, core::mem::transmute_copy(&identifier), windows_core::from_raw_borrowed(&context), core::mem::transmute_copy(&postdata), core::mem::transmute_copy(&url)).into() @@ -711,7 +711,7 @@ impl windows_core::RuntimeName for IIdentityProvider {} #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] impl IIdentityProvider_Vtbl { pub const fn new, Impl: IIdentityProvider_Impl, const OFFSET: isize>() -> IIdentityProvider_Vtbl { - unsafe extern "system" fn GetIdentityEnum, Impl: IIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const std::mem::MaybeUninit, ppidentityenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetIdentityEnum, Impl: IIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const core::mem::MaybeUninit, ppidentityenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIdentityProvider_Impl::GetIdentityEnum(this, core::mem::transmute_copy(&eidentitytype), core::mem::transmute_copy(&pfilterkey), core::mem::transmute_copy(&pfilterpropvarvalue)) { @@ -722,7 +722,7 @@ impl IIdentityProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Create, Impl: IIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszusername: windows_core::PCWSTR, pppropertystore: *mut *mut core::ffi::c_void, pkeywordstoadd: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Create, Impl: IIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszusername: windows_core::PCWSTR, pppropertystore: *mut *mut core::ffi::c_void, pkeywordstoadd: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IIdentityProvider_Impl::Create(this, core::mem::transmute(&lpszusername), core::mem::transmute_copy(&pppropertystore), core::mem::transmute_copy(&pkeywordstoadd)).into() @@ -732,7 +732,7 @@ impl IIdentityProvider_Vtbl { let this = (*this).get_impl(); IIdentityProvider_Impl::Import(this, windows_core::from_raw_borrowed(&ppropertystore)).into() } - unsafe extern "system" fn Delete, Impl: IIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszuniqueid: windows_core::PCWSTR, pkeywordstodelete: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Delete, Impl: IIdentityProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpszuniqueid: windows_core::PCWSTR, pkeywordstodelete: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IIdentityProvider_Impl::Delete(this, core::mem::transmute(&lpszuniqueid), core::mem::transmute_copy(&pkeywordstodelete)).into() @@ -831,7 +831,7 @@ impl IIdentityStore_Vtbl { let this = (*this).get_impl(); IIdentityStore_Impl::ConvertToSid(this, core::mem::transmute(&lpszuniqueid), core::mem::transmute_copy(&providerguid), core::mem::transmute_copy(&cbsid), core::mem::transmute_copy(&psid), core::mem::transmute_copy(&pcbrequiredsid)).into() } - unsafe extern "system" fn EnumerateIdentities, Impl: IIdentityStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const std::mem::MaybeUninit, ppidentityenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateIdentities, Impl: IIdentityStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eidentitytype: IDENTITY_TYPE, pfilterkey: *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pfilterpropvarvalue: *const core::mem::MaybeUninit, ppidentityenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIdentityStore_Impl::EnumerateIdentities(this, core::mem::transmute_copy(&eidentitytype), core::mem::transmute_copy(&pfilterkey), core::mem::transmute_copy(&pfilterpropvarvalue)) { 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 a6a9dfa169..0ef0c7a02d 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(AsyncIAssociatedIdentityProvider, AsyncIAss impl std::ops::Deref for AsyncIAssociatedIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIAssociatedIdentityProvider, windows_core::IUnknown); @@ -15,7 +15,7 @@ impl AsyncIAssociatedIdentityProvider { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Finish_AssociateIdentity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_AssociateIdentity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Begin_DisassociateIdentity(&self, hwndparent: P0, lpszuniqueid: P1) -> windows_core::Result<()> @@ -56,7 +56,7 @@ windows_core::imp::define_interface!(AsyncIConnectedIdentityProvider, AsyncIConn impl std::ops::Deref for AsyncIConnectedIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIConnectedIdentityProvider, windows_core::IUnknown); @@ -77,7 +77,7 @@ impl AsyncIConnectedIdentityProvider { (windows_core::Interface::vtable(self).Begin_IsConnected)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Finish_IsConnected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -94,7 +94,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_GetAccountState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -111,7 +111,7 @@ pub struct AsyncIConnectedIdentityProvider_Vtbl { pub Begin_GetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_URL, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Begin_GetUrl: usize, - pub Finish_GetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut windows_core::PWSTR) -> windows_core::HRESULT, + pub Finish_GetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub Begin_GetAccountState: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Finish_GetAccountState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ACCOUNT_STATE) -> windows_core::HRESULT, } @@ -119,7 +119,7 @@ windows_core::imp::define_interface!(AsyncIIdentityAdvise, AsyncIIdentityAdvise_ impl std::ops::Deref for AsyncIIdentityAdvise { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIIdentityAdvise, windows_core::IUnknown); @@ -144,7 +144,7 @@ windows_core::imp::define_interface!(AsyncIIdentityAuthentication, AsyncIIdentit impl std::ops::Deref for AsyncIIdentityAuthentication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIIdentityAuthentication, windows_core::IUnknown); @@ -182,7 +182,7 @@ windows_core::imp::define_interface!(AsyncIIdentityProvider, AsyncIIdentityProvi impl std::ops::Deref for AsyncIIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIIdentityProvider, windows_core::IUnknown); @@ -193,7 +193,7 @@ impl AsyncIIdentityProvider { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Finish_GetIdentityEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_GetIdentityEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Begin_Create(&self, lpszusername: P0, pkeywordstoadd: *const windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -204,7 +204,7 @@ impl AsyncIIdentityProvider { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Finish_Create(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_Create)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -234,7 +234,7 @@ impl AsyncIIdentityProvider { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Finish_FindByUniqueID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_FindByUniqueID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Begin_GetProviderPropertyStore(&self) -> windows_core::Result<()> { @@ -242,7 +242,7 @@ impl AsyncIIdentityProvider { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn Finish_GetProviderPropertyStore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_GetProviderPropertyStore)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Begin_Advise(&self, pidentityadvise: P0, dwidentityupdateevents: u32) -> windows_core::Result<()> @@ -252,7 +252,7 @@ impl AsyncIIdentityProvider { (windows_core::Interface::vtable(self).Begin_Advise)(windows_core::Interface::as_raw(self), pidentityadvise.param().abi(), dwidentityupdateevents).ok() } pub unsafe fn Finish_Advise(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_Advise)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Begin_UnAdvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -266,14 +266,14 @@ impl AsyncIIdentityProvider { pub struct AsyncIIdentityProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub Begin_GetIdentityEnum: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_TYPE, *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Begin_GetIdentityEnum: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_TYPE, *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Begin_GetIdentityEnum: usize, #[cfg(feature = "Win32_System_Com")] pub Finish_GetIdentityEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Finish_GetIdentityEnum: usize, - pub Begin_Create: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Begin_Create: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub Finish_Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -283,7 +283,7 @@ pub struct AsyncIIdentityProvider_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Begin_Import: usize, pub Finish_Import: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Begin_Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Begin_Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Finish_Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Begin_FindByUniqueID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -304,7 +304,7 @@ windows_core::imp::define_interface!(AsyncIIdentityStore, AsyncIIdentityStore_Vt impl std::ops::Deref for AsyncIIdentityStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIIdentityStore, windows_core::IUnknown); @@ -313,7 +313,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Begin_GetAt(&self, dwprovider: u32, pprovguid: Option<*mut windows_core::GUID>) -> windows_core::Result<()> { @@ -346,7 +346,7 @@ impl AsyncIIdentityStore { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Finish_EnumerateIdentities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_EnumerateIdentities)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Begin_Reset(&self) -> windows_core::Result<()> { @@ -368,7 +368,7 @@ pub struct AsyncIIdentityStore_Vtbl { pub Begin_ConvertToSid: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, u16, *mut u8) -> windows_core::HRESULT, pub Finish_ConvertToSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u16) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub Begin_EnumerateIdentities: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_TYPE, *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Begin_EnumerateIdentities: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_TYPE, *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Begin_EnumerateIdentities: usize, #[cfg(feature = "Win32_System_Com")] @@ -382,7 +382,7 @@ windows_core::imp::define_interface!(AsyncIIdentityStoreEx, AsyncIIdentityStoreE impl std::ops::Deref for AsyncIIdentityStoreEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIIdentityStoreEx, windows_core::IUnknown); @@ -419,7 +419,7 @@ windows_core::imp::define_interface!(IAssociatedIdentityProvider, IAssociatedIde impl std::ops::Deref for IAssociatedIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAssociatedIdentityProvider, windows_core::IUnknown); @@ -429,7 +429,7 @@ impl IAssociatedIdentityProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssociateIdentity)(windows_core::Interface::as_raw(self), hwndparent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisassociateIdentity(&self, hwndparent: P0, lpszuniqueid: P1) -> windows_core::Result<()> @@ -461,7 +461,7 @@ windows_core::imp::define_interface!(IConnectedIdentityProvider, IConnectedIdent impl std::ops::Deref for IConnectedIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConnectedIdentityProvider, windows_core::IUnknown); @@ -473,7 +473,7 @@ impl IConnectedIdentityProvider { (windows_core::Interface::vtable(self).DisconnectIdentity)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsConnected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -484,7 +484,7 @@ impl IConnectedIdentityProvider { (windows_core::Interface::vtable(self).GetUrl)(windows_core::Interface::as_raw(self), identifier, context.param().abi(), core::mem::transmute(postdata), url).ok() } pub unsafe fn GetAccountState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccountState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -495,7 +495,7 @@ pub struct IConnectedIdentityProvider_Vtbl { pub DisconnectIdentity: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_URL, *mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut windows_core::PWSTR) -> windows_core::HRESULT, + pub GetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_URL, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut windows_core::PWSTR) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetUrl: usize, pub GetAccountState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ACCOUNT_STATE) -> windows_core::HRESULT, @@ -504,7 +504,7 @@ windows_core::imp::define_interface!(IIdentityAdvise, IIdentityAdvise_Vtbl, 0x4e impl std::ops::Deref for IIdentityAdvise { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIdentityAdvise, windows_core::IUnknown); @@ -525,7 +525,7 @@ windows_core::imp::define_interface!(IIdentityAuthentication, IIdentityAuthentic impl std::ops::Deref for IIdentityAuthentication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIdentityAuthentication, windows_core::IUnknown); @@ -551,14 +551,14 @@ windows_core::imp::define_interface!(IIdentityProvider, IIdentityProvider_Vtbl, impl std::ops::Deref for IIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIdentityProvider, windows_core::IUnknown); impl IIdentityProvider { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn GetIdentityEnum(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: Option<*const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY>, pfilterpropvarvalue: Option<*const windows_core::PROPVARIANT>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIdentityEnum)(windows_core::Interface::as_raw(self), eidentitytype, core::mem::transmute(pfilterkey.unwrap_or(std::ptr::null())), core::mem::transmute(pfilterpropvarvalue.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -586,19 +586,19 @@ impl IIdentityProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindByUniqueID)(windows_core::Interface::as_raw(self), lpszuniqueid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProviderPropertyStore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderPropertyStore)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Advise(&self, pidentityadvise: P0, dwidentityupdateevents: IdentityUpdateEvent) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), pidentityadvise.param().abi(), dwidentityupdateevents.0 as _, &mut result__).map(|| result__) } pub unsafe fn UnAdvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -609,18 +609,18 @@ impl IIdentityProvider { pub struct IIdentityProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] - pub GetIdentityEnum: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_TYPE, *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetIdentityEnum: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_TYPE, *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem")))] GetIdentityEnum: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Create: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Import: usize, - pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub FindByUniqueID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -636,13 +636,13 @@ windows_core::imp::define_interface!(IIdentityStore, IIdentityStore_Vtbl, 0xdf58 impl std::ops::Deref for IIdentityStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIdentityStore, windows_core::IUnknown); impl IIdentityStore { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, dwprovider: u32, pprovguid: Option<*mut windows_core::GUID>, ppidentityprovider: *mut Option) -> windows_core::Result<()> { @@ -662,7 +662,7 @@ impl IIdentityStore { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] pub unsafe fn EnumerateIdentities(&self, eidentitytype: IDENTITY_TYPE, pfilterkey: Option<*const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY>, pfilterpropvarvalue: Option<*const windows_core::PROPVARIANT>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateIdentities)(windows_core::Interface::as_raw(self), eidentitytype, core::mem::transmute(pfilterkey.unwrap_or(std::ptr::null())), core::mem::transmute(pfilterpropvarvalue.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -677,7 +677,7 @@ pub struct IIdentityStore_Vtbl { pub AddToCache: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID) -> windows_core::HRESULT, pub ConvertToSid: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, u16, *mut u8, *mut u16) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] - pub EnumerateIdentities: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_TYPE, *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnumerateIdentities: unsafe extern "system" fn(*mut core::ffi::c_void, IDENTITY_TYPE, *const super::super::super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem")))] EnumerateIdentities: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -686,7 +686,7 @@ windows_core::imp::define_interface!(IIdentityStoreEx, IIdentityStoreEx_Vtbl, 0x impl std::ops::Deref for IIdentityStoreEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIdentityStoreEx, windows_core::IUnknown); 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 64640ba375..30cc1baa70 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 @@ -336,7 +336,7 @@ where P0: windows_core::Param, { windows_targets::link!("secur32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ImportSecurityContextA(pszpackage.param().abi(), ppackedcontext, token, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security_Credentials")] @@ -346,7 +346,7 @@ where P0: windows_core::Param, { windows_targets::link!("secur32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ImportSecurityContextW(pszpackage.param().abi(), ppackedcontext, token, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security_Credentials")] @@ -804,7 +804,7 @@ where P0: windows_core::Param, { windows_targets::link!("secur32.dll" "system" fn QuerySecurityPackageInfoA(pszpackagename : windows_core::PCSTR, pppackageinfo : *mut *mut SecPkgInfoA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); QuerySecurityPackageInfoA(pszpackagename.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -813,7 +813,7 @@ where P0: windows_core::Param, { windows_targets::link!("secur32.dll" "system" fn QuerySecurityPackageInfoW(pszpackagename : windows_core::PCWSTR, pppackageinfo : *mut *mut SecPkgInfoW) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); QuerySecurityPackageInfoW(pszpackagename.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security_Credentials")] @@ -897,13 +897,13 @@ where #[inline] pub unsafe fn SLGenerateOfflineInstallationId(hslc: *const core::ffi::c_void, pproductskuid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("slc.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLGenerateOfflineInstallationId(hslc, pproductskuid, &mut result__).map(|| result__) } #[inline] pub unsafe fn SLGenerateOfflineInstallationIdEx(hslc: *const core::ffi::c_void, pproductskuid: Option<*const windows_core::GUID>, pactivationinfo: Option<*const SL_ACTIVATION_INFO_HEADER>) -> windows_core::Result { windows_targets::link!("slc.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLGenerateOfflineInstallationIdEx(hslc, core::mem::transmute(pproductskuid.unwrap_or(std::ptr::null())), core::mem::transmute(pactivationinfo.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -935,7 +935,7 @@ pub unsafe fn SLGetLicense(hslc: *const core::ffi::c_void, plicensefileid: *cons #[inline] pub unsafe fn SLGetLicenseFileId(hslc: *const core::ffi::c_void, pblicenseblob: &[u8]) -> windows_core::Result { windows_targets::link!("slc.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLGetLicenseFileId(hslc, pblicenseblob.len().try_into().unwrap(), core::mem::transmute(pblicenseblob.as_ptr()), &mut result__).map(|| result__) } #[inline] @@ -961,7 +961,7 @@ where P1: windows_core::Param, { windows_targets::link!("slc.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLGetPKeyId(hslc, pwszpkeyalgorithm.param().abi(), pwszpkeystring.param().abi(), pbpkeyspecificdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(pbpkeyspecificdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &mut result__).map(|| result__) } #[inline] @@ -986,7 +986,7 @@ where P0: windows_core::Param, { windows_targets::link!("slc.dll" "system" fn SLGetPolicyInformationDWORD(hslc : *const core::ffi::c_void, pwszvaluename : windows_core::PCWSTR, pdwvalue : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLGetPolicyInformationDWORD(hslc, pwszvaluename.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1003,7 +1003,7 @@ where P0: windows_core::Param, { windows_targets::link!("slcext.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLGetReferralInformation(hslc, ereferraltype, pskuorappid, pwszvaluename.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1019,7 +1019,7 @@ where P2: windows_core::Param, { windows_targets::link!("slcext.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLGetServerStatus(pwszserverurl.param().abi(), pwszacquisitiontype.param().abi(), pwszproxyserver.param().abi(), wproxyport, &mut result__).map(|| result__) } #[inline] @@ -1044,13 +1044,13 @@ where P0: windows_core::Param, { windows_targets::link!("slc.dll" "system" fn SLGetWindowsInformationDWORD(pwszvaluename : windows_core::PCWSTR, pdwvalue : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLGetWindowsInformationDWORD(pwszvaluename.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn SLInstallLicense(hslc: *const core::ffi::c_void, pblicenseblob: &[u8]) -> windows_core::Result { windows_targets::link!("slc.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLInstallLicense(hslc, pblicenseblob.len().try_into().unwrap(), core::mem::transmute(pblicenseblob.as_ptr()), &mut result__).map(|| result__) } #[inline] @@ -1060,7 +1060,7 @@ where P1: windows_core::Param, { windows_targets::link!("slc.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SLInstallProofOfPurchase(hslc, pwszpkeyalgorithm.param().abi(), pwszpkeystring.param().abi(), pbpkeyspecificdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(pbpkeyspecificdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &mut result__).map(|| result__) } #[inline] @@ -1150,7 +1150,7 @@ where P0: windows_core::Param, { windows_targets::link!("secur32.dll" "system" fn SaslGetProfilePackageA(profilename : windows_core::PCSTR, packageinfo : *mut *mut SecPkgInfoA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SaslGetProfilePackageA(profilename.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1159,19 +1159,19 @@ where P0: windows_core::Param, { windows_targets::link!("secur32.dll" "system" fn SaslGetProfilePackageW(profilename : windows_core::PCWSTR, packageinfo : *mut *mut SecPkgInfoW) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SaslGetProfilePackageW(profilename.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn SaslIdentifyPackageA(pinput: *const SecBufferDesc) -> windows_core::Result<*mut SecPkgInfoA> { windows_targets::link!("secur32.dll" "system" fn SaslIdentifyPackageA(pinput : *const SecBufferDesc, packageinfo : *mut *mut SecPkgInfoA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SaslIdentifyPackageA(pinput, &mut result__).map(|| result__) } #[inline] pub unsafe fn SaslIdentifyPackageW(pinput: *const SecBufferDesc) -> windows_core::Result<*mut SecPkgInfoW> { windows_targets::link!("secur32.dll" "system" fn SaslIdentifyPackageW(pinput : *const SecBufferDesc, packageinfo : *mut *mut SecPkgInfoW) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SaslIdentifyPackageW(pinput, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security_Credentials")] @@ -1240,7 +1240,7 @@ pub unsafe fn SslCrackCertificate(pbcertificate: *mut u8, cbcertificate: u32, dw #[inline] pub unsafe fn SslDeserializeCertificateStore(serializedcertificatestore: super::super::Cryptography::CRYPT_INTEGER_BLOB) -> windows_core::Result<*mut super::super::Cryptography::CERT_CONTEXT> { windows_targets::link!("schannel.dll" "system" fn SslDeserializeCertificateStore(serializedcertificatestore : super::super::Cryptography:: CRYPT_INTEGER_BLOB, ppcertcontext : *mut *mut super::super::Cryptography:: CERT_CONTEXT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SslDeserializeCertificateStore(core::mem::transmute(serializedcertificatestore), &mut result__).map(|| result__) } #[inline] @@ -1349,7 +1349,7 @@ where P0: windows_core::Param, { windows_targets::link!("secur32.dll" "system" fn SspiGetTargetHostName(psztargetname : windows_core::PCWSTR, pszhostname : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SspiGetTargetHostName(psztargetname.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1450,7 +1450,7 @@ where #[inline] pub unsafe fn TokenBindingGenerateID(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, publickey: *const core::ffi::c_void, publickeysize: u32) -> windows_core::Result<*mut TOKENBINDING_RESULT_DATA> { windows_targets::link!("tokenbinding.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); TokenBindingGenerateID(keytype, publickey, publickeysize, &mut result__).map(|| result__) } #[inline] @@ -1459,7 +1459,7 @@ where P0: windows_core::Param, { windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGenerateIDForUri(keytype : TOKENBINDING_KEY_PARAMETERS_TYPE, targeturi : windows_core::PCWSTR, resultdata : *mut *mut TOKENBINDING_RESULT_DATA) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); TokenBindingGenerateIDForUri(keytype, targeturi.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1475,19 +1475,19 @@ pub unsafe fn TokenBindingGetHighestSupportedVersion(majorversion: *mut u8, mino #[inline] pub unsafe fn TokenBindingGetKeyTypesClient() -> windows_core::Result<*mut TOKENBINDING_KEY_TYPES> { windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGetKeyTypesClient(keytypes : *mut *mut TOKENBINDING_KEY_TYPES) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); TokenBindingGetKeyTypesClient(&mut result__).map(|| result__) } #[inline] pub unsafe fn TokenBindingGetKeyTypesServer() -> windows_core::Result<*mut TOKENBINDING_KEY_TYPES> { windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGetKeyTypesServer(keytypes : *mut *mut TOKENBINDING_KEY_TYPES) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); TokenBindingGetKeyTypesServer(&mut result__).map(|| result__) } #[inline] pub unsafe fn TokenBindingVerifyMessage(tokenbindingmessage: *const core::ffi::c_void, tokenbindingmessagesize: u32, keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, tlsekm: *const core::ffi::c_void, tlsekmsize: u32) -> windows_core::Result<*mut TOKENBINDING_RESULT_LIST> { windows_targets::link!("tokenbinding.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); TokenBindingVerifyMessage(tokenbindingmessage, tokenbindingmessagesize, keytype, tlsekm, tlsekmsize, &mut result__).map(|| result__) } #[inline] @@ -1510,14 +1510,14 @@ where #[inline] pub unsafe fn VerifySignature(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32) -> windows_core::Result { windows_targets::link!("secur32.dll" "system" fn VerifySignature(phcontext : *const super::super::Credentials:: SecHandle, pmessage : *const SecBufferDesc, messageseqno : u32, pfqop : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VerifySignature(phcontext, pmessage, messageseqno, &mut result__).map(|| result__) } windows_core::imp::define_interface!(ICcgDomainAuthCredentials, ICcgDomainAuthCredentials_Vtbl, 0x6ecda518_2010_4437_8bc3_46e752b7b172); impl std::ops::Deref for ICcgDomainAuthCredentials { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICcgDomainAuthCredentials, windows_core::IUnknown); 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 4c4ff834a2..821d145624 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 @@ -30,7 +30,7 @@ windows_core::imp::define_interface!(IEffectivePermission, IEffectivePermission_ impl std::ops::Deref for IEffectivePermission { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEffectivePermission, windows_core::IUnknown); @@ -53,7 +53,7 @@ windows_core::imp::define_interface!(IEffectivePermission2, IEffectivePermission impl std::ops::Deref for IEffectivePermission2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEffectivePermission2, windows_core::IUnknown); @@ -109,7 +109,7 @@ windows_core::imp::define_interface!(ISecurityInformation, ISecurityInformation_ impl std::ops::Deref for ISecurityInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISecurityInformation, windows_core::IUnknown); @@ -164,7 +164,7 @@ windows_core::imp::define_interface!(ISecurityInformation2, ISecurityInformation impl std::ops::Deref for ISecurityInformation2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISecurityInformation2, windows_core::IUnknown); @@ -174,7 +174,7 @@ impl ISecurityInformation2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn LookupSids(&self, csids: u32, rgpsids: *const super::super::super::Foundation::PSID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LookupSids)(windows_core::Interface::as_raw(self), csids, rgpsids, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -191,13 +191,13 @@ windows_core::imp::define_interface!(ISecurityInformation3, ISecurityInformation impl std::ops::Deref for ISecurityInformation3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISecurityInformation3, windows_core::IUnknown); impl ISecurityInformation3 { pub unsafe fn GetFullResourceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFullResourceName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OpenElevatedEditor(&self, hwnd: P0, upage: SI_PAGE_TYPE) -> windows_core::Result<()> @@ -217,7 +217,7 @@ windows_core::imp::define_interface!(ISecurityInformation4, ISecurityInformation impl std::ops::Deref for ISecurityInformation4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISecurityInformation4, windows_core::IUnknown); @@ -235,7 +235,7 @@ windows_core::imp::define_interface!(ISecurityObjectTypeInfo, ISecurityObjectTyp impl std::ops::Deref for ISecurityObjectTypeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISecurityObjectTypeInfo, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs index b29737d6ba..659a694be9 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs @@ -67,7 +67,7 @@ impl windows_core::RuntimeName for IAzApplication {} #[cfg(feature = "Win32_System_Com")] impl IAzApplication_Vtbl { pub const fn new, Impl: IAzApplication_Impl, const OFFSET: isize>() -> IAzApplication_Vtbl { - unsafe extern "system" fn Name, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::Name(this) { @@ -78,12 +78,12 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::SetName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn Description, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::Description(this) { @@ -94,12 +94,12 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn ApplicationData, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplicationData, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::ApplicationData(this) { @@ -110,12 +110,12 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetApplicationData, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetApplicationData, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::SetApplicationData(this, core::mem::transmute(&bstrapplicationdata)).into() } - unsafe extern "system" fn AuthzInterfaceClsid, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AuthzInterfaceClsid, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::AuthzInterfaceClsid(this) { @@ -126,12 +126,12 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAuthzInterfaceClsid, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAuthzInterfaceClsid, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::SetAuthzInterfaceClsid(this, core::mem::transmute(&bstrprop)).into() } - unsafe extern "system" fn Version, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Version, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::Version(this) { @@ -142,7 +142,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetVersion, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetVersion, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::SetVersion(this, core::mem::transmute(&bstrprop)).into() @@ -190,7 +190,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: std::mem::MaybeUninit, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: core::mem::MaybeUninit, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { @@ -201,12 +201,12 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::SetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn PolicyAdministrators, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyAdministrators, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::PolicyAdministrators(this) { @@ -217,7 +217,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PolicyReaders, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyReaders, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::PolicyReaders(this) { @@ -228,22 +228,22 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddPolicyAdministrator, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyAdministrator, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::AddPolicyAdministrator(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyAdministrator, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyAdministrator, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeletePolicyAdministrator(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPolicyReader, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyReader, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::AddPolicyReader(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyReader, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyReader, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeletePolicyReader(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() @@ -259,7 +259,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenScope, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppscope: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenScope, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppscope: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::OpenScope(this, core::mem::transmute(&bstrscopename), core::mem::transmute(&varreserved)) { @@ -270,7 +270,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateScope, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppscope: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateScope, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppscope: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::CreateScope(this, core::mem::transmute(&bstrscopename), core::mem::transmute(&varreserved)) { @@ -281,7 +281,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteScope, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteScope, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeleteScope(this, core::mem::transmute(&bstrscopename), core::mem::transmute(&varreserved)).into() @@ -297,7 +297,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenOperation, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperationname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenOperation, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperationname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::OpenOperation(this, core::mem::transmute(&bstroperationname), core::mem::transmute(&varreserved)) { @@ -308,7 +308,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateOperation, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperationname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateOperation, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperationname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::CreateOperation(this, core::mem::transmute(&bstroperationname), core::mem::transmute(&varreserved)) { @@ -319,7 +319,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteOperation, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperationname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteOperation, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstroperationname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeleteOperation(this, core::mem::transmute(&bstroperationname), core::mem::transmute(&varreserved)).into() @@ -335,7 +335,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenTask, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenTask, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::OpenTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)) { @@ -346,7 +346,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateTask, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTask, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::CreateTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)) { @@ -357,7 +357,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteTask, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteTask, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeleteTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)).into() @@ -373,7 +373,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenApplicationGroup, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenApplicationGroup, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::OpenApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { @@ -384,7 +384,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateApplicationGroup, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateApplicationGroup, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::CreateApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { @@ -395,7 +395,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteApplicationGroup, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteApplicationGroup, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeleteApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)).into() @@ -411,7 +411,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenRole, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, pprole: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenRole, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, pprole: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::OpenRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)) { @@ -422,7 +422,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateRole, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, pprole: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRole, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, pprole: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::CreateRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)) { @@ -433,12 +433,12 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteRole, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteRole, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeleteRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn InitializeClientContextFromToken, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ulltokenhandle: u64, varreserved: std::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeClientContextFromToken, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ulltokenhandle: u64, varreserved: core::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::InitializeClientContextFromToken(this, core::mem::transmute_copy(&ulltokenhandle), core::mem::transmute(&varreserved)) { @@ -449,22 +449,22 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddPropertyItem, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPropertyItem, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::AddPropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePropertyItem, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePropertyItem, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeletePropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn Submit, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Submit, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::Submit(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn InitializeClientContextFromName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clientname: std::mem::MaybeUninit, domainname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeClientContextFromName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clientname: core::mem::MaybeUninit, domainname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::InitializeClientContextFromName(this, core::mem::transmute(&clientname), core::mem::transmute(&domainname), core::mem::transmute(&varreserved)) { @@ -475,7 +475,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DelegatedPolicyUsers, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardelegatedpolicyusers: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DelegatedPolicyUsers, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardelegatedpolicyusers: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::DelegatedPolicyUsers(this) { @@ -486,17 +486,17 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddDelegatedPolicyUser, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddDelegatedPolicyUser, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::AddDelegatedPolicyUser(this, core::mem::transmute(&bstrdelegatedpolicyuser), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteDelegatedPolicyUser, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteDelegatedPolicyUser, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeleteDelegatedPolicyUser(this, core::mem::transmute(&bstrdelegatedpolicyuser), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn InitializeClientContextFromStringSid, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sidstring: std::mem::MaybeUninit, loptions: i32, varreserved: std::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeClientContextFromStringSid, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sidstring: core::mem::MaybeUninit, loptions: i32, varreserved: core::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::InitializeClientContextFromStringSid(this, core::mem::transmute(&sidstring), core::mem::transmute_copy(&loptions), core::mem::transmute(&varreserved)) { @@ -507,7 +507,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PolicyAdministratorsName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyAdministratorsName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::PolicyAdministratorsName(this) { @@ -518,7 +518,7 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PolicyReadersName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyReadersName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::PolicyReadersName(this) { @@ -529,27 +529,27 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddPolicyAdministratorName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyAdministratorName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::AddPolicyAdministratorName(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyAdministratorName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyAdministratorName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeletePolicyAdministratorName(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPolicyReaderName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyReaderName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::AddPolicyReaderName(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyReaderName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyReaderName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeletePolicyReaderName(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DelegatedPolicyUsersName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardelegatedpolicyusers: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DelegatedPolicyUsersName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardelegatedpolicyusers: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication_Impl::DelegatedPolicyUsersName(this) { @@ -560,12 +560,12 @@ impl IAzApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddDelegatedPolicyUserName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddDelegatedPolicyUserName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::AddDelegatedPolicyUserName(this, core::mem::transmute(&bstrdelegatedpolicyuser), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteDelegatedPolicyUserName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteDelegatedPolicyUserName, Impl: IAzApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication_Impl::DeleteDelegatedPolicyUserName(this, core::mem::transmute(&bstrdelegatedpolicyuser), core::mem::transmute(&varreserved)).into() @@ -649,7 +649,7 @@ impl windows_core::RuntimeName for IAzApplication2 {} #[cfg(feature = "Win32_System_Com")] impl IAzApplication2_Vtbl { pub const fn new, Impl: IAzApplication2_Impl, const OFFSET: isize>() -> IAzApplication2_Vtbl { - unsafe extern "system" fn InitializeClientContextFromToken2, Impl: IAzApplication2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ultokenhandlelowpart: u32, ultokenhandlehighpart: u32, varreserved: std::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeClientContextFromToken2, Impl: IAzApplication2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ultokenhandlelowpart: u32, ultokenhandlehighpart: u32, varreserved: core::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication2_Impl::InitializeClientContextFromToken2(this, core::mem::transmute_copy(&ultokenhandlelowpart), core::mem::transmute_copy(&ultokenhandlehighpart), core::mem::transmute(&varreserved)) { @@ -660,7 +660,7 @@ impl IAzApplication2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InitializeClientContext2, Impl: IAzApplication2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifyingstring: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeClientContext2, Impl: IAzApplication2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifyingstring: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppclientcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication2_Impl::InitializeClientContext2(this, core::mem::transmute(&identifyingstring), core::mem::transmute(&varreserved)) { @@ -703,7 +703,7 @@ impl windows_core::RuntimeName for IAzApplication3 {} #[cfg(feature = "Win32_System_Com")] impl IAzApplication3_Vtbl { pub const fn new, Impl: IAzApplication3_Impl, const OFFSET: isize>() -> IAzApplication3_Vtbl { - unsafe extern "system" fn ScopeExists, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, pbexist: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn ScopeExists, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, pbexist: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication3_Impl::ScopeExists(this, core::mem::transmute(&bstrscopename)) { @@ -714,7 +714,7 @@ impl IAzApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenScope2, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, ppscope2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenScope2, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, ppscope2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication3_Impl::OpenScope2(this, core::mem::transmute(&bstrscopename)) { @@ -725,7 +725,7 @@ impl IAzApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateScope2, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, ppscope2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateScope2, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, ppscope2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication3_Impl::CreateScope2(this, core::mem::transmute(&bstrscopename)) { @@ -736,7 +736,7 @@ impl IAzApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteScope2, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteScope2, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication3_Impl::DeleteScope2(this, core::mem::transmute(&bstrscopename)).into() @@ -752,7 +752,7 @@ impl IAzApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateRoleDefinition, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: std::mem::MaybeUninit, pproledefinitions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRoleDefinition, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: core::mem::MaybeUninit, pproledefinitions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication3_Impl::CreateRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)) { @@ -763,7 +763,7 @@ impl IAzApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenRoleDefinition, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: std::mem::MaybeUninit, pproledefinitions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenRoleDefinition, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: core::mem::MaybeUninit, pproledefinitions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication3_Impl::OpenRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)) { @@ -774,7 +774,7 @@ impl IAzApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteRoleDefinition, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteRoleDefinition, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication3_Impl::DeleteRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)).into() @@ -790,7 +790,7 @@ impl IAzApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateRoleAssignment, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: std::mem::MaybeUninit, pproleassignment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRoleAssignment, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: core::mem::MaybeUninit, pproleassignment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication3_Impl::CreateRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)) { @@ -801,7 +801,7 @@ impl IAzApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenRoleAssignment, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: std::mem::MaybeUninit, pproleassignment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenRoleAssignment, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: core::mem::MaybeUninit, pproleassignment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplication3_Impl::OpenRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)) { @@ -812,7 +812,7 @@ impl IAzApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteRoleAssignment, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteRoleAssignment, Impl: IAzApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplication3_Impl::DeleteRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)).into() @@ -895,7 +895,7 @@ impl windows_core::RuntimeName for IAzApplicationGroup {} #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroup_Vtbl { pub const fn new, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>() -> IAzApplicationGroup_Vtbl { - unsafe extern "system" fn Name, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::Name(this) { @@ -906,7 +906,7 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::SetName(this, core::mem::transmute(&bstrname)).into() @@ -927,7 +927,7 @@ impl IAzApplicationGroup_Vtbl { let this = (*this).get_impl(); IAzApplicationGroup_Impl::SetType(this, core::mem::transmute_copy(&lprop)).into() } - unsafe extern "system" fn LdapQuery, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LdapQuery, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::LdapQuery(this) { @@ -938,12 +938,12 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLdapQuery, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLdapQuery, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::SetLdapQuery(this, core::mem::transmute(&bstrprop)).into() } - unsafe extern "system" fn AppMembers, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppMembers, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::AppMembers(this) { @@ -954,7 +954,7 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AppNonMembers, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppNonMembers, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::AppNonMembers(this) { @@ -965,7 +965,7 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Members, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Members, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::Members(this) { @@ -976,7 +976,7 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NonMembers, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NonMembers, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::NonMembers(this) { @@ -987,7 +987,7 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::Description(this) { @@ -998,47 +998,47 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn AddAppMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddAppMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::AddAppMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteAppMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteAppMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::DeleteAppMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddAppNonMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddAppNonMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::AddAppNonMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteAppNonMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteAppNonMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::DeleteAppNonMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::AddMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::DeleteMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddNonMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddNonMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::AddNonMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteNonMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteNonMember, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::DeleteNonMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() @@ -1054,7 +1054,7 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: std::mem::MaybeUninit, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: core::mem::MaybeUninit, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { @@ -1065,47 +1065,47 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::SetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPropertyItem, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPropertyItem, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::AddPropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePropertyItem, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePropertyItem, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::DeletePropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn Submit, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Submit, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::Submit(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddMemberName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddMemberName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::AddMemberName(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteMemberName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteMemberName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::DeleteMemberName(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddNonMemberName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddNonMemberName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::AddNonMemberName(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteNonMemberName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteNonMemberName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup_Impl::DeleteNonMemberName(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn MembersName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MembersName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::MembersName(this) { @@ -1116,7 +1116,7 @@ impl IAzApplicationGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NonMembersName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NonMembersName, Impl: IAzApplicationGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup_Impl::NonMembersName(this) { @@ -1182,7 +1182,7 @@ impl windows_core::RuntimeName for IAzApplicationGroup2 {} #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroup2_Vtbl { pub const fn new, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>() -> IAzApplicationGroup2_Vtbl { - unsafe extern "system" fn BizRule, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BizRule, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup2_Impl::BizRule(this) { @@ -1193,12 +1193,12 @@ impl IAzApplicationGroup2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBizRule, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBizRule, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup2_Impl::SetBizRule(this, core::mem::transmute(&bstrprop)).into() } - unsafe extern "system" fn BizRuleLanguage, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BizRuleLanguage, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup2_Impl::BizRuleLanguage(this) { @@ -1209,12 +1209,12 @@ impl IAzApplicationGroup2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBizRuleLanguage, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBizRuleLanguage, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup2_Impl::SetBizRuleLanguage(this, core::mem::transmute(&bstrprop)).into() } - unsafe extern "system" fn BizRuleImportedPath, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BizRuleImportedPath, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup2_Impl::BizRuleImportedPath(this) { @@ -1225,12 +1225,12 @@ impl IAzApplicationGroup2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBizRuleImportedPath, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBizRuleImportedPath, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzApplicationGroup2_Impl::SetBizRuleImportedPath(this, core::mem::transmute(&bstrprop)).into() } - unsafe extern "system" fn RoleAssignments, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, brecursive: super::super::Foundation::VARIANT_BOOL, pproleassignments: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RoleAssignments, Impl: IAzApplicationGroup2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, brecursive: super::super::Foundation::VARIANT_BOOL, pproleassignments: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroup2_Impl::RoleAssignments(this, core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&brecursive)) { @@ -1267,7 +1267,7 @@ impl windows_core::RuntimeName for IAzApplicationGroups {} #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroups_Vtbl { pub const fn new, Impl: IAzApplicationGroups_Impl, const OFFSET: isize>() -> IAzApplicationGroups_Vtbl { - unsafe extern "system" fn get_Item, Impl: IAzApplicationGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IAzApplicationGroups_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplicationGroups_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -1322,7 +1322,7 @@ impl windows_core::RuntimeName for IAzApplications {} #[cfg(feature = "Win32_System_Com")] impl IAzApplications_Vtbl { pub const fn new, Impl: IAzApplications_Impl, const OFFSET: isize>() -> IAzApplications_Vtbl { - unsafe extern "system" fn get_Item, Impl: IAzApplications_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IAzApplications_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzApplications_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -1425,7 +1425,7 @@ impl windows_core::RuntimeName for IAzAuthorizationStore {} #[cfg(feature = "Win32_System_Com")] impl IAzAuthorizationStore_Vtbl { pub const fn new, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>() -> IAzAuthorizationStore_Vtbl { - unsafe extern "system" fn Description, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::Description(this) { @@ -1436,12 +1436,12 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn ApplicationData, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplicationData, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::ApplicationData(this) { @@ -1452,7 +1452,7 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetApplicationData, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetApplicationData, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::SetApplicationData(this, core::mem::transmute(&bstrapplicationdata)).into() @@ -1532,7 +1532,7 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: std::mem::MaybeUninit, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: core::mem::MaybeUninit, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { @@ -1543,22 +1543,22 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::SetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPropertyItem, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: AZ_PROP_CONSTANTS, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPropertyItem, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: AZ_PROP_CONSTANTS, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::AddPropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePropertyItem, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePropertyItem, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::DeletePropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn PolicyAdministrators, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyAdministrators, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::PolicyAdministrators(this) { @@ -1569,7 +1569,7 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PolicyReaders, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyReaders, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::PolicyReaders(this) { @@ -1580,37 +1580,37 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddPolicyAdministrator, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyAdministrator, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::AddPolicyAdministrator(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyAdministrator, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyAdministrator, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::DeletePolicyAdministrator(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPolicyReader, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyReader, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::AddPolicyReader(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyReader, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyReader, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::DeletePolicyReader(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn Initialize, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: AZ_PROP_CONSTANTS, bstrpolicyurl: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: AZ_PROP_CONSTANTS, bstrpolicyurl: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::Initialize(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&bstrpolicyurl), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn UpdateCache, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateCache, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::UpdateCache(this, core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn Delete, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Delete, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::Delete(this, core::mem::transmute(&varreserved)).into() @@ -1626,7 +1626,7 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenApplication, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppapplication: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenApplication, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppapplication: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::OpenApplication(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute(&varreserved)) { @@ -1637,7 +1637,7 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateApplication, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppapplication: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateApplication, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppapplication: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::CreateApplication(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute(&varreserved)) { @@ -1648,7 +1648,7 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteApplication, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteApplication, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::DeleteApplication(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute(&varreserved)).into() @@ -1664,7 +1664,7 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateApplicationGroup, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateApplicationGroup, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::CreateApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { @@ -1675,7 +1675,7 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenApplicationGroup, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenApplicationGroup, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::OpenApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { @@ -1686,17 +1686,17 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteApplicationGroup, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteApplicationGroup, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::DeleteApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn Submit, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Submit, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::Submit(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DelegatedPolicyUsers, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardelegatedpolicyusers: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DelegatedPolicyUsers, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardelegatedpolicyusers: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::DelegatedPolicyUsers(this) { @@ -1707,17 +1707,17 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddDelegatedPolicyUser, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddDelegatedPolicyUser, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::AddDelegatedPolicyUser(this, core::mem::transmute(&bstrdelegatedpolicyuser), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteDelegatedPolicyUser, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteDelegatedPolicyUser, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::DeleteDelegatedPolicyUser(this, core::mem::transmute(&bstrdelegatedpolicyuser), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn TargetMachine, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtargetmachine: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetMachine, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtargetmachine: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::TargetMachine(this) { @@ -1744,7 +1744,7 @@ impl IAzAuthorizationStore_Vtbl { let this = (*this).get_impl(); IAzAuthorizationStore_Impl::SetApplyStoreSacl(this, core::mem::transmute_copy(&bapplystoresacl)).into() } - unsafe extern "system" fn PolicyAdministratorsName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyAdministratorsName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::PolicyAdministratorsName(this) { @@ -1755,7 +1755,7 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PolicyReadersName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyReadersName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::PolicyReadersName(this) { @@ -1766,27 +1766,27 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddPolicyAdministratorName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyAdministratorName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::AddPolicyAdministratorName(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyAdministratorName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyAdministratorName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::DeletePolicyAdministratorName(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPolicyReaderName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyReaderName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::AddPolicyReaderName(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyReaderName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyReaderName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::DeletePolicyReaderName(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DelegatedPolicyUsersName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardelegatedpolicyusers: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DelegatedPolicyUsersName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardelegatedpolicyusers: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore_Impl::DelegatedPolicyUsersName(this) { @@ -1797,17 +1797,17 @@ impl IAzAuthorizationStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddDelegatedPolicyUserName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddDelegatedPolicyUserName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::AddDelegatedPolicyUserName(this, core::mem::transmute(&bstrdelegatedpolicyuser), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteDelegatedPolicyUserName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteDelegatedPolicyUserName, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdelegatedpolicyuser: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::DeleteDelegatedPolicyUserName(this, core::mem::transmute(&bstrdelegatedpolicyuser), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn CloseApplication, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: std::mem::MaybeUninit, lflag: i32) -> windows_core::HRESULT { + unsafe extern "system" fn CloseApplication, Impl: IAzAuthorizationStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: core::mem::MaybeUninit, lflag: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzAuthorizationStore_Impl::CloseApplication(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute_copy(&lflag)).into() @@ -1881,7 +1881,7 @@ impl windows_core::RuntimeName for IAzAuthorizationStore2 {} #[cfg(feature = "Win32_System_Com")] impl IAzAuthorizationStore2_Vtbl { pub const fn new, Impl: IAzAuthorizationStore2_Impl, const OFFSET: isize>() -> IAzAuthorizationStore2_Vtbl { - unsafe extern "system" fn OpenApplication2, Impl: IAzAuthorizationStore2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppapplication: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenApplication2, Impl: IAzAuthorizationStore2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppapplication: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore2_Impl::OpenApplication2(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute(&varreserved)) { @@ -1892,7 +1892,7 @@ impl IAzAuthorizationStore2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateApplication2, Impl: IAzAuthorizationStore2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppapplication: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateApplication2, Impl: IAzAuthorizationStore2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppapplication: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzAuthorizationStore2_Impl::CreateApplication2(this, core::mem::transmute(&bstrapplicationname), core::mem::transmute(&varreserved)) { @@ -1999,12 +1999,12 @@ impl IAzBizRuleContext_Vtbl { let this = (*this).get_impl(); IAzBizRuleContext_Impl::SetBusinessRuleResult(this, core::mem::transmute_copy(&bresult)).into() } - unsafe extern "system" fn SetBusinessRuleString, Impl: IAzBizRuleContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbusinessrulestring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBusinessRuleString, Impl: IAzBizRuleContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbusinessrulestring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzBizRuleContext_Impl::SetBusinessRuleString(this, core::mem::transmute(&bstrbusinessrulestring)).into() } - unsafe extern "system" fn BusinessRuleString, Impl: IAzBizRuleContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbusinessrulestring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BusinessRuleString, Impl: IAzBizRuleContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbusinessrulestring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzBizRuleContext_Impl::BusinessRuleString(this) { @@ -2015,7 +2015,7 @@ impl IAzBizRuleContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetParameter, Impl: IAzBizRuleContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrparametername: std::mem::MaybeUninit, pvarparametervalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetParameter, Impl: IAzBizRuleContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrparametername: core::mem::MaybeUninit, pvarparametervalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzBizRuleContext_Impl::GetParameter(this, core::mem::transmute(&bstrparametername)) { @@ -2052,22 +2052,22 @@ impl windows_core::RuntimeName for IAzBizRuleInterfaces {} #[cfg(feature = "Win32_System_Com")] impl IAzBizRuleInterfaces_Vtbl { pub const fn new, Impl: IAzBizRuleInterfaces_Impl, const OFFSET: isize>() -> IAzBizRuleInterfaces_Vtbl { - unsafe extern "system" fn AddInterface, Impl: IAzBizRuleInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinterfacename: std::mem::MaybeUninit, linterfaceflag: i32, varinterface: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddInterface, Impl: IAzBizRuleInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinterfacename: core::mem::MaybeUninit, linterfaceflag: i32, varinterface: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzBizRuleInterfaces_Impl::AddInterface(this, core::mem::transmute(&bstrinterfacename), core::mem::transmute_copy(&linterfaceflag), core::mem::transmute(&varinterface)).into() } - unsafe extern "system" fn AddInterfaces, Impl: IAzBizRuleInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varinterfacenames: std::mem::MaybeUninit, varinterfaceflags: std::mem::MaybeUninit, varinterfaces: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddInterfaces, Impl: IAzBizRuleInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varinterfacenames: core::mem::MaybeUninit, varinterfaceflags: core::mem::MaybeUninit, varinterfaces: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzBizRuleInterfaces_Impl::AddInterfaces(this, core::mem::transmute(&varinterfacenames), core::mem::transmute(&varinterfaceflags), core::mem::transmute(&varinterfaces)).into() } - unsafe extern "system" fn GetInterfaceValue, Impl: IAzBizRuleInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinterfacename: std::mem::MaybeUninit, linterfaceflag: *mut i32, varinterface: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetInterfaceValue, Impl: IAzBizRuleInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinterfacename: core::mem::MaybeUninit, linterfaceflag: *mut i32, varinterface: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzBizRuleInterfaces_Impl::GetInterfaceValue(this, core::mem::transmute(&bstrinterfacename), core::mem::transmute_copy(&linterfaceflag), core::mem::transmute_copy(&varinterface)).into() } - unsafe extern "system" fn Remove, Impl: IAzBizRuleInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinterfacename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IAzBizRuleInterfaces_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinterfacename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzBizRuleInterfaces_Impl::Remove(this, core::mem::transmute(&bstrinterfacename)).into() @@ -2116,17 +2116,17 @@ impl windows_core::RuntimeName for IAzBizRuleParameters {} #[cfg(feature = "Win32_System_Com")] impl IAzBizRuleParameters_Vtbl { pub const fn new, Impl: IAzBizRuleParameters_Impl, const OFFSET: isize>() -> IAzBizRuleParameters_Vtbl { - unsafe extern "system" fn AddParameter, Impl: IAzBizRuleParameters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrparametername: std::mem::MaybeUninit, varparametervalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddParameter, Impl: IAzBizRuleParameters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrparametername: core::mem::MaybeUninit, varparametervalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzBizRuleParameters_Impl::AddParameter(this, core::mem::transmute(&bstrparametername), core::mem::transmute(&varparametervalue)).into() } - unsafe extern "system" fn AddParameters, Impl: IAzBizRuleParameters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varparameternames: std::mem::MaybeUninit, varparametervalues: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddParameters, Impl: IAzBizRuleParameters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varparameternames: core::mem::MaybeUninit, varparametervalues: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzBizRuleParameters_Impl::AddParameters(this, core::mem::transmute(&varparameternames), core::mem::transmute(&varparametervalues)).into() } - unsafe extern "system" fn GetParameterValue, Impl: IAzBizRuleParameters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrparametername: std::mem::MaybeUninit, pvarparametervalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetParameterValue, Impl: IAzBizRuleParameters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrparametername: core::mem::MaybeUninit, pvarparametervalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzBizRuleParameters_Impl::GetParameterValue(this, core::mem::transmute(&bstrparametername)) { @@ -2137,7 +2137,7 @@ impl IAzBizRuleParameters_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IAzBizRuleParameters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varparametername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IAzBizRuleParameters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varparametername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzBizRuleParameters_Impl::Remove(this, core::mem::transmute(&varparametername)).into() @@ -2193,7 +2193,7 @@ impl windows_core::RuntimeName for IAzClientContext {} #[cfg(feature = "Win32_System_Com")] impl IAzClientContext_Vtbl { pub const fn new, Impl: IAzClientContext_Impl, const OFFSET: isize>() -> IAzClientContext_Vtbl { - unsafe extern "system" fn AccessCheck, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: std::mem::MaybeUninit, varscopenames: std::mem::MaybeUninit, varoperations: std::mem::MaybeUninit, varparameternames: std::mem::MaybeUninit, varparametervalues: std::mem::MaybeUninit, varinterfacenames: std::mem::MaybeUninit, varinterfaceflags: std::mem::MaybeUninit, varinterfaces: std::mem::MaybeUninit, pvarresults: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AccessCheck, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: core::mem::MaybeUninit, varscopenames: core::mem::MaybeUninit, varoperations: core::mem::MaybeUninit, varparameternames: core::mem::MaybeUninit, varparametervalues: core::mem::MaybeUninit, varinterfacenames: core::mem::MaybeUninit, varinterfaceflags: core::mem::MaybeUninit, varinterfaces: core::mem::MaybeUninit, pvarresults: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::AccessCheck(this, core::mem::transmute(&bstrobjectname), core::mem::transmute(&varscopenames), core::mem::transmute(&varoperations), core::mem::transmute(&varparameternames), core::mem::transmute(&varparametervalues), core::mem::transmute(&varinterfacenames), core::mem::transmute(&varinterfaceflags), core::mem::transmute(&varinterfaces)) { @@ -2204,7 +2204,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetBusinessRuleString, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbusinessrulestring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBusinessRuleString, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbusinessrulestring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::GetBusinessRuleString(this) { @@ -2215,7 +2215,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserDn, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserDn, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::UserDn(this) { @@ -2226,7 +2226,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserSamCompat, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserSamCompat, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::UserSamCompat(this) { @@ -2237,7 +2237,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserDisplay, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserDisplay, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::UserDisplay(this) { @@ -2248,7 +2248,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserGuid, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserGuid, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::UserGuid(this) { @@ -2259,7 +2259,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserCanonical, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserCanonical, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::UserCanonical(this) { @@ -2270,7 +2270,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserUpn, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserUpn, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::UserUpn(this) { @@ -2281,7 +2281,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserDnsSamCompat, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserDnsSamCompat, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::UserDnsSamCompat(this) { @@ -2292,7 +2292,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: std::mem::MaybeUninit, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: core::mem::MaybeUninit, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { @@ -2303,7 +2303,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRoles, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, pvarrolenames: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRoles, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, pvarrolenames: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::GetRoles(this, core::mem::transmute(&bstrscopename)) { @@ -2314,7 +2314,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RoleForAccessCheck, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RoleForAccessCheck, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext_Impl::RoleForAccessCheck(this) { @@ -2325,7 +2325,7 @@ impl IAzClientContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRoleForAccessCheck, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRoleForAccessCheck, Impl: IAzClientContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzClientContext_Impl::SetRoleForAccessCheck(this, core::mem::transmute(&bstrprop)).into() @@ -2365,32 +2365,32 @@ impl windows_core::RuntimeName for IAzClientContext2 {} #[cfg(feature = "Win32_System_Com")] impl IAzClientContext2_Vtbl { pub const fn new, Impl: IAzClientContext2_Impl, const OFFSET: isize>() -> IAzClientContext2_Vtbl { - unsafe extern "system" fn GetAssignedScopesPage, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, loptions: i32, pagesize: i32, pvarcursor: *mut std::mem::MaybeUninit, pvarscopenames: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAssignedScopesPage, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, loptions: i32, pagesize: i32, pvarcursor: *mut core::mem::MaybeUninit, pvarscopenames: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzClientContext2_Impl::GetAssignedScopesPage(this, core::mem::transmute_copy(&loptions), core::mem::transmute_copy(&pagesize), core::mem::transmute_copy(&pvarcursor), core::mem::transmute_copy(&pvarscopenames)).into() } - unsafe extern "system" fn AddRoles, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varroles: std::mem::MaybeUninit, bstrscopename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddRoles, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varroles: core::mem::MaybeUninit, bstrscopename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzClientContext2_Impl::AddRoles(this, core::mem::transmute(&varroles), core::mem::transmute(&bstrscopename)).into() } - unsafe extern "system" fn AddApplicationGroups, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varapplicationgroups: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddApplicationGroups, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varapplicationgroups: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzClientContext2_Impl::AddApplicationGroups(this, core::mem::transmute(&varapplicationgroups)).into() } - unsafe extern "system" fn AddStringSids, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varstringsids: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddStringSids, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varstringsids: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzClientContext2_Impl::AddStringSids(this, core::mem::transmute(&varstringsids)).into() } - unsafe extern "system" fn SetLDAPQueryDN, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrldapquerydn: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLDAPQueryDN, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrldapquerydn: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzClientContext2_Impl::SetLDAPQueryDN(this, core::mem::transmute(&bstrldapquerydn)).into() } - unsafe extern "system" fn LDAPQueryDN, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrldapquerydn: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LDAPQueryDN, Impl: IAzClientContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrldapquerydn: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext2_Impl::LDAPQueryDN(this) { @@ -2431,7 +2431,7 @@ impl windows_core::RuntimeName for IAzClientContext3 {} #[cfg(feature = "Win32_System_Com")] impl IAzClientContext3_Vtbl { pub const fn new, Impl: IAzClientContext3_Impl, const OFFSET: isize>() -> IAzClientContext3_Vtbl { - unsafe extern "system" fn AccessCheck2, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: std::mem::MaybeUninit, bstrscopename: std::mem::MaybeUninit, loperation: i32, plresult: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn AccessCheck2, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrobjectname: core::mem::MaybeUninit, bstrscopename: core::mem::MaybeUninit, loperation: i32, plresult: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext3_Impl::AccessCheck2(this, core::mem::transmute(&bstrobjectname), core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&loperation)) { @@ -2442,7 +2442,7 @@ impl IAzClientContext3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsInRoleAssignment, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, bstrrolename: std::mem::MaybeUninit, pbisinrole: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsInRoleAssignment, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, bstrrolename: core::mem::MaybeUninit, pbisinrole: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext3_Impl::IsInRoleAssignment(this, core::mem::transmute(&bstrscopename), core::mem::transmute(&bstrrolename)) { @@ -2453,7 +2453,7 @@ impl IAzClientContext3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetOperations, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, ppoperationcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetOperations, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, ppoperationcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext3_Impl::GetOperations(this, core::mem::transmute(&bstrscopename)) { @@ -2464,7 +2464,7 @@ impl IAzClientContext3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetTasks, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, pptaskcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetTasks, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, pptaskcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext3_Impl::GetTasks(this, core::mem::transmute(&bstrscopename)) { @@ -2497,7 +2497,7 @@ impl IAzClientContext3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetGroups, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, uloptions: u32, pgrouparray: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetGroups, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, uloptions: u32, pgrouparray: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext3_Impl::GetGroups(this, core::mem::transmute(&bstrscopename), core::mem::transmute(&uloptions)) { @@ -2508,7 +2508,7 @@ impl IAzClientContext3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Sids, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstringsidarray: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Sids, Impl: IAzClientContext3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstringsidarray: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzClientContext3_Impl::Sids(this) { @@ -2545,12 +2545,12 @@ impl windows_core::RuntimeName for IAzNameResolver {} #[cfg(feature = "Win32_System_Com")] impl IAzNameResolver_Vtbl { pub const fn new, Impl: IAzNameResolver_Impl, const OFFSET: isize>() -> IAzNameResolver_Vtbl { - unsafe extern "system" fn NameFromSid, Impl: IAzNameResolver_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsid: std::mem::MaybeUninit, psidtype: *mut i32, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NameFromSid, Impl: IAzNameResolver_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsid: core::mem::MaybeUninit, psidtype: *mut i32, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzNameResolver_Impl::NameFromSid(this, core::mem::transmute(&bstrsid), core::mem::transmute_copy(&psidtype), core::mem::transmute_copy(&pbstrname)).into() } - unsafe extern "system" fn NamesFromSids, Impl: IAzNameResolver_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vsids: std::mem::MaybeUninit, pvsidtypes: *mut std::mem::MaybeUninit, pvnames: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NamesFromSids, Impl: IAzNameResolver_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vsids: core::mem::MaybeUninit, pvsidtypes: *mut core::mem::MaybeUninit, pvnames: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzNameResolver_Impl::NamesFromSids(this, core::mem::transmute(&vsids), core::mem::transmute_copy(&pvsidtypes), core::mem::transmute_copy(&pvnames)).into() @@ -2575,12 +2575,12 @@ impl windows_core::RuntimeName for IAzObjectPicker {} #[cfg(feature = "Win32_System_Com")] impl IAzObjectPicker_Vtbl { pub const fn new, Impl: IAzObjectPicker_Impl, const OFFSET: isize>() -> IAzObjectPicker_Vtbl { - unsafe extern "system" fn GetPrincipals, Impl: IAzObjectPicker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hparentwnd: super::super::Foundation::HWND, bstrtitle: std::mem::MaybeUninit, pvsidtypes: *mut std::mem::MaybeUninit, pvnames: *mut std::mem::MaybeUninit, pvsids: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPrincipals, Impl: IAzObjectPicker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hparentwnd: super::super::Foundation::HWND, bstrtitle: core::mem::MaybeUninit, pvsidtypes: *mut core::mem::MaybeUninit, pvnames: *mut core::mem::MaybeUninit, pvsids: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzObjectPicker_Impl::GetPrincipals(this, core::mem::transmute_copy(&hparentwnd), core::mem::transmute(&bstrtitle), core::mem::transmute_copy(&pvsidtypes), core::mem::transmute_copy(&pvnames), core::mem::transmute_copy(&pvsids)).into() } - unsafe extern "system" fn Name, Impl: IAzObjectPicker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IAzObjectPicker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzObjectPicker_Impl::Name(this) { @@ -2621,7 +2621,7 @@ impl windows_core::RuntimeName for IAzOperation {} #[cfg(feature = "Win32_System_Com")] impl IAzOperation_Vtbl { pub const fn new, Impl: IAzOperation_Impl, const OFFSET: isize>() -> IAzOperation_Vtbl { - unsafe extern "system" fn Name, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzOperation_Impl::Name(this) { @@ -2632,12 +2632,12 @@ impl IAzOperation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzOperation_Impl::SetName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn Description, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzOperation_Impl::Description(this) { @@ -2648,12 +2648,12 @@ impl IAzOperation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzOperation_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn ApplicationData, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplicationData, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzOperation_Impl::ApplicationData(this) { @@ -2664,7 +2664,7 @@ impl IAzOperation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetApplicationData, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetApplicationData, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzOperation_Impl::SetApplicationData(this, core::mem::transmute(&bstrapplicationdata)).into() @@ -2696,7 +2696,7 @@ impl IAzOperation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: std::mem::MaybeUninit, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: core::mem::MaybeUninit, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzOperation_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { @@ -2707,12 +2707,12 @@ impl IAzOperation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzOperation_Impl::SetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn Submit, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Submit, Impl: IAzOperation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzOperation_Impl::Submit(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&varreserved)).into() @@ -2746,7 +2746,7 @@ impl windows_core::RuntimeName for IAzOperation2 {} #[cfg(feature = "Win32_System_Com")] impl IAzOperation2_Vtbl { pub const fn new, Impl: IAzOperation2_Impl, const OFFSET: isize>() -> IAzOperation2_Vtbl { - unsafe extern "system" fn RoleAssignments, Impl: IAzOperation2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, brecursive: super::super::Foundation::VARIANT_BOOL, pproleassignments: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RoleAssignments, Impl: IAzOperation2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, brecursive: super::super::Foundation::VARIANT_BOOL, pproleassignments: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzOperation2_Impl::RoleAssignments(this, core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&brecursive)) { @@ -2774,7 +2774,7 @@ impl windows_core::RuntimeName for IAzOperations {} #[cfg(feature = "Win32_System_Com")] impl IAzOperations_Vtbl { pub const fn new, Impl: IAzOperations_Impl, const OFFSET: isize>() -> IAzOperations_Vtbl { - unsafe extern "system" fn get_Item, Impl: IAzOperations_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IAzOperations_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzOperations_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -2895,7 +2895,7 @@ impl windows_core::RuntimeName for IAzRole {} #[cfg(feature = "Win32_System_Com")] impl IAzRole_Vtbl { pub const fn new, Impl: IAzRole_Impl, const OFFSET: isize>() -> IAzRole_Vtbl { - unsafe extern "system" fn Name, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRole_Impl::Name(this) { @@ -2906,12 +2906,12 @@ impl IAzRole_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::SetName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn Description, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRole_Impl::Description(this) { @@ -2922,12 +2922,12 @@ impl IAzRole_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn ApplicationData, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplicationData, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRole_Impl::ApplicationData(this) { @@ -2938,47 +2938,47 @@ impl IAzRole_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetApplicationData, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetApplicationData, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::SetApplicationData(this, core::mem::transmute(&bstrapplicationdata)).into() } - unsafe extern "system" fn AddAppMember, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddAppMember, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::AddAppMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteAppMember, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteAppMember, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::DeleteAppMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddTask, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddTask, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::AddTask(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteTask, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteTask, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::DeleteTask(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddOperation, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddOperation, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::AddOperation(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteOperation, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteOperation, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::DeleteOperation(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddMember, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddMember, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::AddMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteMember, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteMember, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::DeleteMember(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() @@ -2994,7 +2994,7 @@ impl IAzRole_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: std::mem::MaybeUninit, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: core::mem::MaybeUninit, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRole_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { @@ -3005,12 +3005,12 @@ impl IAzRole_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::SetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AppMembers, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppMembers, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRole_Impl::AppMembers(this) { @@ -3021,7 +3021,7 @@ impl IAzRole_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Members, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Members, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRole_Impl::Members(this) { @@ -3032,7 +3032,7 @@ impl IAzRole_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Operations, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Operations, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRole_Impl::Operations(this) { @@ -3043,7 +3043,7 @@ impl IAzRole_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Tasks, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Tasks, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRole_Impl::Tasks(this) { @@ -3054,32 +3054,32 @@ impl IAzRole_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddPropertyItem, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPropertyItem, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::AddPropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePropertyItem, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePropertyItem, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::DeletePropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn Submit, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Submit, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::Submit(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddMemberName, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddMemberName, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::AddMemberName(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteMemberName, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteMemberName, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRole_Impl::DeleteMemberName(this, core::mem::transmute(&bstrprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn MembersName, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MembersName, Impl: IAzRole_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRole_Impl::MembersName(this) { @@ -3137,12 +3137,12 @@ impl windows_core::RuntimeName for IAzRoleAssignment {} #[cfg(feature = "Win32_System_Com")] impl IAzRoleAssignment_Vtbl { pub const fn new, Impl: IAzRoleAssignment_Impl, const OFFSET: isize>() -> IAzRoleAssignment_Vtbl { - unsafe extern "system" fn AddRoleDefinition, Impl: IAzRoleAssignment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinition: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddRoleDefinition, Impl: IAzRoleAssignment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinition: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRoleAssignment_Impl::AddRoleDefinition(this, core::mem::transmute(&bstrroledefinition)).into() } - unsafe extern "system" fn DeleteRoleDefinition, Impl: IAzRoleAssignment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinition: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteRoleDefinition, Impl: IAzRoleAssignment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinition: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRoleAssignment_Impl::DeleteRoleDefinition(this, core::mem::transmute(&bstrroledefinition)).into() @@ -3192,7 +3192,7 @@ impl windows_core::RuntimeName for IAzRoleAssignments {} #[cfg(feature = "Win32_System_Com")] impl IAzRoleAssignments_Vtbl { pub const fn new, Impl: IAzRoleAssignments_Impl, const OFFSET: isize>() -> IAzRoleAssignments_Vtbl { - unsafe extern "system" fn get_Item, Impl: IAzRoleAssignments_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IAzRoleAssignments_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRoleAssignments_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -3248,7 +3248,7 @@ impl windows_core::RuntimeName for IAzRoleDefinition {} #[cfg(feature = "Win32_System_Com")] impl IAzRoleDefinition_Vtbl { pub const fn new, Impl: IAzRoleDefinition_Impl, const OFFSET: isize>() -> IAzRoleDefinition_Vtbl { - unsafe extern "system" fn RoleAssignments, Impl: IAzRoleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, brecursive: super::super::Foundation::VARIANT_BOOL, pproleassignments: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RoleAssignments, Impl: IAzRoleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, brecursive: super::super::Foundation::VARIANT_BOOL, pproleassignments: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRoleDefinition_Impl::RoleAssignments(this, core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&brecursive)) { @@ -3259,12 +3259,12 @@ impl IAzRoleDefinition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddRoleDefinition, Impl: IAzRoleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinition: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddRoleDefinition, Impl: IAzRoleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinition: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRoleDefinition_Impl::AddRoleDefinition(this, core::mem::transmute(&bstrroledefinition)).into() } - unsafe extern "system" fn DeleteRoleDefinition, Impl: IAzRoleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinition: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteRoleDefinition, Impl: IAzRoleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinition: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzRoleDefinition_Impl::DeleteRoleDefinition(this, core::mem::transmute(&bstrroledefinition)).into() @@ -3303,7 +3303,7 @@ impl windows_core::RuntimeName for IAzRoleDefinitions {} #[cfg(feature = "Win32_System_Com")] impl IAzRoleDefinitions_Vtbl { pub const fn new, Impl: IAzRoleDefinitions_Impl, const OFFSET: isize>() -> IAzRoleDefinitions_Vtbl { - unsafe extern "system" fn get_Item, Impl: IAzRoleDefinitions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IAzRoleDefinitions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRoleDefinitions_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -3358,7 +3358,7 @@ impl windows_core::RuntimeName for IAzRoles {} #[cfg(feature = "Win32_System_Com")] impl IAzRoles_Vtbl { pub const fn new, Impl: IAzRoles_Impl, const OFFSET: isize>() -> IAzRoles_Vtbl { - unsafe extern "system" fn get_Item, Impl: IAzRoles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IAzRoles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzRoles_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -3448,7 +3448,7 @@ impl windows_core::RuntimeName for IAzScope {} #[cfg(feature = "Win32_System_Com")] impl IAzScope_Vtbl { pub const fn new, Impl: IAzScope_Impl, const OFFSET: isize>() -> IAzScope_Vtbl { - unsafe extern "system" fn Name, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::Name(this) { @@ -3459,12 +3459,12 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::SetName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn Description, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::Description(this) { @@ -3475,12 +3475,12 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn ApplicationData, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplicationData, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::ApplicationData(this) { @@ -3491,7 +3491,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetApplicationData, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetApplicationData, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::SetApplicationData(this, core::mem::transmute(&bstrapplicationdata)).into() @@ -3507,7 +3507,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: std::mem::MaybeUninit, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: core::mem::MaybeUninit, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { @@ -3518,22 +3518,22 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::SetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPropertyItem, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPropertyItem, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::AddPropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePropertyItem, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePropertyItem, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::DeletePropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn PolicyAdministrators, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyAdministrators, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::PolicyAdministrators(this) { @@ -3544,7 +3544,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PolicyReaders, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyReaders, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::PolicyReaders(this) { @@ -3555,22 +3555,22 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddPolicyAdministrator, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyAdministrator, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::AddPolicyAdministrator(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyAdministrator, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyAdministrator, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::DeletePolicyAdministrator(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPolicyReader, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyReader, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::AddPolicyReader(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyReader, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyReader, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::DeletePolicyReader(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() @@ -3586,7 +3586,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenApplicationGroup, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenApplicationGroup, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::OpenApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { @@ -3597,7 +3597,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateApplicationGroup, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateApplicationGroup, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::CreateApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)) { @@ -3608,7 +3608,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteApplicationGroup, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteApplicationGroup, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::DeleteApplicationGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&varreserved)).into() @@ -3624,7 +3624,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenRole, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, pprole: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenRole, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, pprole: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::OpenRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)) { @@ -3635,7 +3635,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateRole, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, pprole: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRole, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, pprole: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::CreateRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)) { @@ -3646,7 +3646,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteRole, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteRole, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::DeleteRole(this, core::mem::transmute(&bstrrolename), core::mem::transmute(&varreserved)).into() @@ -3662,7 +3662,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenTask, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenTask, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::OpenTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)) { @@ -3673,7 +3673,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateTask, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTask, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::CreateTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)) { @@ -3684,12 +3684,12 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteTask, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteTask, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtaskname: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::DeleteTask(this, core::mem::transmute(&bstrtaskname), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn Submit, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Submit, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::Submit(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&varreserved)).into() @@ -3716,7 +3716,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PolicyAdministratorsName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyAdministratorsName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaradmins: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::PolicyAdministratorsName(this) { @@ -3727,7 +3727,7 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PolicyReadersName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolicyReadersName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarreaders: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope_Impl::PolicyReadersName(this) { @@ -3738,22 +3738,22 @@ impl IAzScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddPolicyAdministratorName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyAdministratorName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::AddPolicyAdministratorName(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyAdministratorName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyAdministratorName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmin: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::DeletePolicyAdministratorName(this, core::mem::transmute(&bstradmin), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPolicyReaderName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyReaderName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::AddPolicyReaderName(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePolicyReaderName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePolicyReaderName, Impl: IAzScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreader: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope_Impl::DeletePolicyReaderName(this, core::mem::transmute(&bstrreader), core::mem::transmute(&varreserved)).into() @@ -3831,7 +3831,7 @@ impl IAzScope2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateRoleDefinition, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: std::mem::MaybeUninit, pproledefinitions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRoleDefinition, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: core::mem::MaybeUninit, pproledefinitions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope2_Impl::CreateRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)) { @@ -3842,7 +3842,7 @@ impl IAzScope2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenRoleDefinition, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: std::mem::MaybeUninit, pproledefinitions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenRoleDefinition, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: core::mem::MaybeUninit, pproledefinitions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope2_Impl::OpenRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)) { @@ -3853,7 +3853,7 @@ impl IAzScope2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteRoleDefinition, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteRoleDefinition, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroledefinitionname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope2_Impl::DeleteRoleDefinition(this, core::mem::transmute(&bstrroledefinitionname)).into() @@ -3869,7 +3869,7 @@ impl IAzScope2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateRoleAssignment, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: std::mem::MaybeUninit, pproleassignment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRoleAssignment, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: core::mem::MaybeUninit, pproleassignment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope2_Impl::CreateRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)) { @@ -3880,7 +3880,7 @@ impl IAzScope2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OpenRoleAssignment, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: std::mem::MaybeUninit, pproleassignment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenRoleAssignment, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: core::mem::MaybeUninit, pproleassignment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScope2_Impl::OpenRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)) { @@ -3891,7 +3891,7 @@ impl IAzScope2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteRoleAssignment, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteRoleAssignment, Impl: IAzScope2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleassignmentname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzScope2_Impl::DeleteRoleAssignment(this, core::mem::transmute(&bstrroleassignmentname)).into() @@ -3923,7 +3923,7 @@ impl windows_core::RuntimeName for IAzScopes {} #[cfg(feature = "Win32_System_Com")] impl IAzScopes_Vtbl { pub const fn new, Impl: IAzScopes_Impl, const OFFSET: isize>() -> IAzScopes_Vtbl { - unsafe extern "system" fn get_Item, Impl: IAzScopes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IAzScopes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzScopes_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -4001,7 +4001,7 @@ impl windows_core::RuntimeName for IAzTask {} #[cfg(feature = "Win32_System_Com")] impl IAzTask_Vtbl { pub const fn new, Impl: IAzTask_Impl, const OFFSET: isize>() -> IAzTask_Vtbl { - unsafe extern "system" fn Name, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask_Impl::Name(this) { @@ -4012,12 +4012,12 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::SetName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn Description, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask_Impl::Description(this) { @@ -4028,12 +4028,12 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn ApplicationData, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplicationData, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrapplicationdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask_Impl::ApplicationData(this) { @@ -4044,12 +4044,12 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetApplicationData, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetApplicationData, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::SetApplicationData(this, core::mem::transmute(&bstrapplicationdata)).into() } - unsafe extern "system" fn BizRule, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BizRule, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask_Impl::BizRule(this) { @@ -4060,12 +4060,12 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBizRule, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBizRule, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::SetBizRule(this, core::mem::transmute(&bstrprop)).into() } - unsafe extern "system" fn BizRuleLanguage, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BizRuleLanguage, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask_Impl::BizRuleLanguage(this) { @@ -4076,12 +4076,12 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBizRuleLanguage, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBizRuleLanguage, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::SetBizRuleLanguage(this, core::mem::transmute(&bstrprop)).into() } - unsafe extern "system" fn BizRuleImportedPath, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BizRuleImportedPath, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask_Impl::BizRuleImportedPath(this) { @@ -4092,7 +4092,7 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBizRuleImportedPath, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBizRuleImportedPath, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprop: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::SetBizRuleImportedPath(this, core::mem::transmute(&bstrprop)).into() @@ -4113,7 +4113,7 @@ impl IAzTask_Vtbl { let this = (*this).get_impl(); IAzTask_Impl::SetIsRoleDefinition(this, core::mem::transmute_copy(&fprop)).into() } - unsafe extern "system" fn Operations, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Operations, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask_Impl::Operations(this) { @@ -4124,7 +4124,7 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Tasks, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Tasks, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask_Impl::Tasks(this) { @@ -4135,22 +4135,22 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddOperation, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddOperation, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::AddOperation(this, core::mem::transmute(&bstrop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteOperation, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteOperation, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::DeleteOperation(this, core::mem::transmute(&bstrop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddTask, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtask: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddTask, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtask: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::AddTask(this, core::mem::transmute(&bstrtask), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeleteTask, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtask: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteTask, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtask: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::DeleteTask(this, core::mem::transmute(&bstrtask), core::mem::transmute(&varreserved)).into() @@ -4166,7 +4166,7 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProperty, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: std::mem::MaybeUninit, pvarprop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varreserved: core::mem::MaybeUninit, pvarprop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask_Impl::GetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varreserved)) { @@ -4177,22 +4177,22 @@ impl IAzTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::SetProperty(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn AddPropertyItem, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPropertyItem, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::AddPropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn DeletePropertyItem, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: std::mem::MaybeUninit, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeletePropertyItem, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropid: i32, varprop: core::mem::MaybeUninit, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::DeletePropertyItem(this, core::mem::transmute_copy(&lpropid), core::mem::transmute(&varprop), core::mem::transmute(&varreserved)).into() } - unsafe extern "system" fn Submit, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Submit, Impl: IAzTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, varreserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAzTask_Impl::Submit(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&varreserved)).into() @@ -4240,7 +4240,7 @@ impl windows_core::RuntimeName for IAzTask2 {} #[cfg(feature = "Win32_System_Com")] impl IAzTask2_Vtbl { pub const fn new, Impl: IAzTask2_Impl, const OFFSET: isize>() -> IAzTask2_Vtbl { - unsafe extern "system" fn RoleAssignments, Impl: IAzTask2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: std::mem::MaybeUninit, brecursive: super::super::Foundation::VARIANT_BOOL, pproleassignments: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RoleAssignments, Impl: IAzTask2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrscopename: core::mem::MaybeUninit, brecursive: super::super::Foundation::VARIANT_BOOL, pproleassignments: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTask2_Impl::RoleAssignments(this, core::mem::transmute(&bstrscopename), core::mem::transmute_copy(&brecursive)) { @@ -4268,7 +4268,7 @@ impl windows_core::RuntimeName for IAzTasks {} #[cfg(feature = "Win32_System_Com")] impl IAzTasks_Vtbl { pub const fn new, Impl: IAzTasks_Impl, const OFFSET: isize>() -> IAzTasks_Vtbl { - unsafe extern "system" fn get_Item, Impl: IAzTasks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IAzTasks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvarobtptr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAzTasks_Impl::get_Item(this, core::mem::transmute_copy(&index)) { 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 84515b201e..3a04949920 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -706,7 +706,7 @@ windows_core::imp::define_interface!(IAzApplication, IAzApplication_Vtbl, 0x987b impl std::ops::Deref for IAzApplication { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -714,7 +714,7 @@ windows_core::imp::interface_hierarchy!(IAzApplication, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IAzApplication { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -724,7 +724,7 @@ impl IAzApplication { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -734,7 +734,7 @@ impl IAzApplication { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn ApplicationData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetApplicationData(&self, bstrapplicationdata: P0) -> windows_core::Result<()> @@ -744,7 +744,7 @@ impl IAzApplication { (windows_core::Interface::vtable(self).SetApplicationData)(windows_core::Interface::as_raw(self), bstrapplicationdata.param().abi()).ok() } pub unsafe fn AuthzInterfaceClsid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthzInterfaceClsid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAuthzInterfaceClsid(&self, bstrprop: P0) -> windows_core::Result<()> @@ -754,7 +754,7 @@ impl IAzApplication { (windows_core::Interface::vtable(self).SetAuthzInterfaceClsid)(windows_core::Interface::as_raw(self), bstrprop.param().abi()).ok() } pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVersion(&self, bstrprop: P0) -> windows_core::Result<()> @@ -764,7 +764,7 @@ impl IAzApplication { (windows_core::Interface::vtable(self).SetVersion)(windows_core::Interface::as_raw(self), bstrprop.param().abi()).ok() } pub unsafe fn GenerateAudits(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateAudits)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGenerateAudits(&self, bprop: P0) -> windows_core::Result<()> @@ -774,7 +774,7 @@ impl IAzApplication { (windows_core::Interface::vtable(self).SetGenerateAudits)(windows_core::Interface::as_raw(self), bprop.param().abi()).ok() } pub unsafe fn ApplyStoreSacl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplyStoreSacl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetApplyStoreSacl(&self, bprop: P0) -> windows_core::Result<()> @@ -784,14 +784,14 @@ impl IAzApplication { (windows_core::Interface::vtable(self).SetApplyStoreSacl)(windows_core::Interface::as_raw(self), bprop.param().abi()).ok() } pub unsafe fn Writable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, lpropid: i32, varprop: P0, varreserved: P1) -> windows_core::Result<()> @@ -802,11 +802,11 @@ impl IAzApplication { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), lpropid, varprop.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn PolicyAdministrators(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministrators)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PolicyReaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPolicyAdministrator(&self, bstradmin: P0, varreserved: P1) -> windows_core::Result<()> @@ -839,7 +839,7 @@ impl IAzApplication { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Scopes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scopes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -848,7 +848,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenScope)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -857,7 +857,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateScope)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteScope(&self, bstrscopename: P0, varreserved: P1) -> windows_core::Result<()> @@ -869,7 +869,7 @@ impl IAzApplication { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Operations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Operations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -878,7 +878,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenOperation)(windows_core::Interface::as_raw(self), bstroperationname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -887,7 +887,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateOperation)(windows_core::Interface::as_raw(self), bstroperationname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteOperation(&self, bstroperationname: P0, varreserved: P1) -> windows_core::Result<()> @@ -899,7 +899,7 @@ impl IAzApplication { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tasks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tasks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -908,7 +908,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenTask)(windows_core::Interface::as_raw(self), bstrtaskname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -917,7 +917,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTask)(windows_core::Interface::as_raw(self), bstrtaskname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteTask(&self, bstrtaskname: P0, varreserved: P1) -> windows_core::Result<()> @@ -929,7 +929,7 @@ impl IAzApplication { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -938,7 +938,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplicationGroup)(windows_core::Interface::as_raw(self), bstrgroupname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -947,7 +947,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplicationGroup)(windows_core::Interface::as_raw(self), bstrgroupname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteApplicationGroup(&self, bstrgroupname: P0, varreserved: P1) -> windows_core::Result<()> @@ -959,7 +959,7 @@ impl IAzApplication { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Roles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Roles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -968,7 +968,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenRole)(windows_core::Interface::as_raw(self), bstrrolename.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -977,7 +977,7 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRole)(windows_core::Interface::as_raw(self), bstrrolename.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteRole(&self, bstrrolename: P0, varreserved: P1) -> windows_core::Result<()> @@ -992,7 +992,7 @@ impl IAzApplication { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeClientContextFromToken)(windows_core::Interface::as_raw(self), ulltokenhandle, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPropertyItem(&self, lpropid: i32, varprop: P0, varreserved: P1) -> windows_core::Result<()> @@ -1022,11 +1022,11 @@ impl IAzApplication { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeClientContextFromName)(windows_core::Interface::as_raw(self), clientname.param().abi(), domainname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DelegatedPolicyUsers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DelegatedPolicyUsers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddDelegatedPolicyUser(&self, bstrdelegatedpolicyuser: P0, varreserved: P1) -> windows_core::Result<()> @@ -1049,15 +1049,15 @@ impl IAzApplication { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeClientContextFromStringSid)(windows_core::Interface::as_raw(self), sidstring.param().abi(), loptions, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PolicyAdministratorsName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministratorsName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PolicyReadersName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReadersName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPolicyAdministratorName(&self, bstradmin: P0, varreserved: P1) -> windows_core::Result<()> @@ -1089,7 +1089,7 @@ impl IAzApplication { (windows_core::Interface::vtable(self).DeletePolicyReaderName)(windows_core::Interface::as_raw(self), bstrreader.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn DelegatedPolicyUsersName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DelegatedPolicyUsersName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddDelegatedPolicyUserName(&self, bstrdelegatedpolicyuser: P0, varreserved: P1) -> windows_core::Result<()> @@ -1111,121 +1111,121 @@ impl IAzApplication { #[repr(C)] pub struct IAzApplication_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AuthzInterfaceClsid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAuthzInterfaceClsid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AuthzInterfaceClsid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAuthzInterfaceClsid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GenerateAudits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetGenerateAudits: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ApplyStoreSacl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetApplyStoreSacl: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PolicyAdministrators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PolicyReaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyAdministrators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyReaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Scopes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Scopes: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenScope: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenScope: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenScope: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateScope: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateScope: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateScope: usize, - pub DeleteScope: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteScope: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Operations: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenOperation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenOperation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenOperation: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateOperation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateOperation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateOperation: usize, - pub DeleteOperation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteOperation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Tasks: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenTask: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateTask: usize, - pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ApplicationGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ApplicationGroups: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenApplicationGroup: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateApplicationGroup: usize, - pub DeleteApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Roles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Roles: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenRole: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateRole: usize, - pub DeleteRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub InitializeClientContextFromToken: unsafe extern "system" fn(*mut core::ffi::c_void, u64, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InitializeClientContextFromToken: unsafe extern "system" fn(*mut core::ffi::c_void, u64, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeClientContextFromToken: usize, - pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub InitializeClientContextFromName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InitializeClientContextFromName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeClientContextFromName: usize, - pub DelegatedPolicyUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DelegatedPolicyUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub InitializeClientContextFromStringSid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InitializeClientContextFromStringSid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeClientContextFromStringSid: usize, - pub PolicyAdministratorsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PolicyReadersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DelegatedPolicyUsersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyAdministratorsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyReadersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DelegatedPolicyUsersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzApplication2, IAzApplication2_Vtbl, 0x086a68af_a249_437c_b18d_d4d86d6a9660); @@ -1233,7 +1233,7 @@ windows_core::imp::define_interface!(IAzApplication2, IAzApplication2_Vtbl, 0x08 impl std::ops::Deref for IAzApplication2 { type Target = IAzApplication; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1245,7 +1245,7 @@ impl IAzApplication2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeClientContextFromToken2)(windows_core::Interface::as_raw(self), ultokenhandlelowpart, ultokenhandlehighpart, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1254,7 +1254,7 @@ impl IAzApplication2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializeClientContext2)(windows_core::Interface::as_raw(self), identifyingstring.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1263,11 +1263,11 @@ impl IAzApplication2 { pub struct IAzApplication2_Vtbl { pub base__: IAzApplication_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub InitializeClientContextFromToken2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InitializeClientContextFromToken2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeClientContextFromToken2: usize, #[cfg(feature = "Win32_System_Com")] - pub InitializeClientContext2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InitializeClientContext2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeClientContext2: usize, } @@ -1277,7 +1277,7 @@ windows_core::imp::define_interface!(IAzApplication3, IAzApplication3_Vtbl, 0x18 impl std::ops::Deref for IAzApplication3 { type Target = IAzApplication2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1288,7 +1288,7 @@ impl IAzApplication3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScopeExists)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1296,7 +1296,7 @@ impl IAzApplication3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenScope2)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1304,7 +1304,7 @@ impl IAzApplication3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateScope2)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteScope2(&self, bstrscopename: P0) -> windows_core::Result<()> @@ -1315,7 +1315,7 @@ impl IAzApplication3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleDefinitions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleDefinitions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1323,7 +1323,7 @@ impl IAzApplication3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRoleDefinition)(windows_core::Interface::as_raw(self), bstrroledefinitionname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1331,7 +1331,7 @@ impl IAzApplication3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenRoleDefinition)(windows_core::Interface::as_raw(self), bstrroledefinitionname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteRoleDefinition(&self, bstrroledefinitionname: P0) -> windows_core::Result<()> @@ -1342,7 +1342,7 @@ impl IAzApplication3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleAssignments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleAssignments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1350,7 +1350,7 @@ impl IAzApplication3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRoleAssignment)(windows_core::Interface::as_raw(self), bstrroleassignmentname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1358,7 +1358,7 @@ impl IAzApplication3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenRoleAssignment)(windows_core::Interface::as_raw(self), bstrroleassignmentname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteRoleAssignment(&self, bstrroleassignmentname: P0) -> windows_core::Result<()> @@ -1368,7 +1368,7 @@ impl IAzApplication3 { (windows_core::Interface::vtable(self).DeleteRoleAssignment)(windows_core::Interface::as_raw(self), bstrroleassignmentname.param().abi()).ok() } pub unsafe fn BizRulesEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizRulesEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBizRulesEnabled(&self, benabled: P0) -> windows_core::Result<()> @@ -1382,42 +1382,42 @@ impl IAzApplication3 { #[repr(C)] pub struct IAzApplication3_Vtbl { pub base__: IAzApplication2_Vtbl, - pub ScopeExists: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub ScopeExists: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub OpenScope2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenScope2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenScope2: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateScope2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateScope2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateScope2: usize, - pub DeleteScope2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteScope2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RoleDefinitions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RoleDefinitions: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateRoleDefinition: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenRoleDefinition: usize, - pub DeleteRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RoleAssignments: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateRoleAssignment: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenRoleAssignment: usize, - pub DeleteRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub BizRulesEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetBizRulesEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -1427,7 +1427,7 @@ windows_core::imp::define_interface!(IAzApplicationGroup, IAzApplicationGroup_Vt impl std::ops::Deref for IAzApplicationGroup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1435,7 +1435,7 @@ windows_core::imp::interface_hierarchy!(IAzApplicationGroup, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroup { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -1445,14 +1445,14 @@ impl IAzApplicationGroup { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetType(&self, lprop: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetType)(windows_core::Interface::as_raw(self), lprop).ok() } pub unsafe fn LdapQuery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LdapQuery)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLdapQuery(&self, bstrprop: P0) -> windows_core::Result<()> @@ -1462,23 +1462,23 @@ impl IAzApplicationGroup { (windows_core::Interface::vtable(self).SetLdapQuery)(windows_core::Interface::as_raw(self), bstrprop.param().abi()).ok() } pub unsafe fn AppMembers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppMembers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AppNonMembers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppNonMembers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Members(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Members)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NonMembers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NonMembers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -1544,14 +1544,14 @@ impl IAzApplicationGroup { (windows_core::Interface::vtable(self).DeleteNonMember)(windows_core::Interface::as_raw(self), bstrprop.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn Writable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, lpropid: i32, varprop: P0, varreserved: P1) -> windows_core::Result<()> @@ -1610,11 +1610,11 @@ impl IAzApplicationGroup { (windows_core::Interface::vtable(self).DeleteNonMemberName)(windows_core::Interface::as_raw(self), bstrprop.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn MembersName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MembersName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NonMembersName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NonMembersName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1622,38 +1622,38 @@ impl IAzApplicationGroup { #[repr(C)] pub struct IAzApplicationGroup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub LdapQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLdapQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppNonMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Members: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NonMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddAppNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteAppNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LdapQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLdapQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppNonMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Members: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NonMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddAppNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteAppNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteNonMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddNonMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteNonMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NonMembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddNonMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteNonMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NonMembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzApplicationGroup2, IAzApplicationGroup2_Vtbl, 0x3f0613fc_b71a_464e_a11d_5b881a56cefa); @@ -1661,7 +1661,7 @@ windows_core::imp::define_interface!(IAzApplicationGroup2, IAzApplicationGroup2_ impl std::ops::Deref for IAzApplicationGroup2 { type Target = IAzApplicationGroup; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1669,7 +1669,7 @@ windows_core::imp::interface_hierarchy!(IAzApplicationGroup2, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroup2 { pub unsafe fn BizRule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizRule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBizRule(&self, bstrprop: P0) -> windows_core::Result<()> @@ -1679,7 +1679,7 @@ impl IAzApplicationGroup2 { (windows_core::Interface::vtable(self).SetBizRule)(windows_core::Interface::as_raw(self), bstrprop.param().abi()).ok() } pub unsafe fn BizRuleLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizRuleLanguage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBizRuleLanguage(&self, bstrprop: P0) -> windows_core::Result<()> @@ -1689,7 +1689,7 @@ impl IAzApplicationGroup2 { (windows_core::Interface::vtable(self).SetBizRuleLanguage)(windows_core::Interface::as_raw(self), bstrprop.param().abi()).ok() } pub unsafe fn BizRuleImportedPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizRuleImportedPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBizRuleImportedPath(&self, bstrprop: P0) -> windows_core::Result<()> @@ -1704,7 +1704,7 @@ impl IAzApplicationGroup2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleAssignments)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), brecursive.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1712,14 +1712,14 @@ impl IAzApplicationGroup2 { #[repr(C)] pub struct IAzApplicationGroup2_Vtbl { pub base__: IAzApplicationGroup_Vtbl, - pub BizRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBizRule: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BizRuleLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBizRuleLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BizRuleImportedPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBizRuleImportedPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BizRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBizRule: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BizRuleLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBizRuleLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BizRuleImportedPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBizRuleImportedPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + #[cfg(feature = "Win32_System_Com")] + pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RoleAssignments: usize, } @@ -1729,7 +1729,7 @@ windows_core::imp::define_interface!(IAzApplicationGroups, IAzApplicationGroups_ impl std::ops::Deref for IAzApplicationGroups { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1737,15 +1737,15 @@ windows_core::imp::interface_hierarchy!(IAzApplicationGroups, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroups { pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1753,7 +1753,7 @@ impl IAzApplicationGroups { #[repr(C)] pub struct IAzApplicationGroups_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1763,7 +1763,7 @@ windows_core::imp::define_interface!(IAzApplications, IAzApplications_Vtbl, 0x92 impl std::ops::Deref for IAzApplications { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1771,15 +1771,15 @@ windows_core::imp::interface_hierarchy!(IAzApplications, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IAzApplications { pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1787,7 +1787,7 @@ impl IAzApplications { #[repr(C)] pub struct IAzApplications_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1797,7 +1797,7 @@ windows_core::imp::define_interface!(IAzAuthorizationStore, IAzAuthorizationStor impl std::ops::Deref for IAzAuthorizationStore { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1805,7 +1805,7 @@ windows_core::imp::interface_hierarchy!(IAzAuthorizationStore, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IAzAuthorizationStore { pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -1815,7 +1815,7 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn ApplicationData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetApplicationData(&self, bstrapplicationdata: P0) -> windows_core::Result<()> @@ -1825,28 +1825,28 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).SetApplicationData)(windows_core::Interface::as_raw(self), bstrapplicationdata.param().abi()).ok() } pub unsafe fn DomainTimeout(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DomainTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScriptEngineTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxScriptEngines)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxScriptEngines(&self, lprop: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetMaxScriptEngines)(windows_core::Interface::as_raw(self), lprop).ok() } pub unsafe fn GenerateAudits(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateAudits)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGenerateAudits(&self, bprop: P0) -> windows_core::Result<()> @@ -1856,14 +1856,14 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).SetGenerateAudits)(windows_core::Interface::as_raw(self), bprop.param().abi()).ok() } pub unsafe fn Writable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, lpropid: i32, varprop: P0, varreserved: P1) -> windows_core::Result<()> @@ -1888,11 +1888,11 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).DeletePropertyItem)(windows_core::Interface::as_raw(self), lpropid, varprop.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn PolicyAdministrators(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministrators)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PolicyReaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPolicyAdministrator(&self, bstradmin: P0, varreserved: P1) -> windows_core::Result<()> @@ -1944,7 +1944,7 @@ impl IAzAuthorizationStore { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Applications(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Applications)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1953,7 +1953,7 @@ impl IAzAuthorizationStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplication)(windows_core::Interface::as_raw(self), bstrapplicationname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1962,7 +1962,7 @@ impl IAzAuthorizationStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplication)(windows_core::Interface::as_raw(self), bstrapplicationname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteApplication(&self, bstrapplicationname: P0, varreserved: P1) -> windows_core::Result<()> @@ -1974,7 +1974,7 @@ impl IAzAuthorizationStore { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1983,7 +1983,7 @@ impl IAzAuthorizationStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplicationGroup)(windows_core::Interface::as_raw(self), bstrgroupname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1992,7 +1992,7 @@ impl IAzAuthorizationStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplicationGroup)(windows_core::Interface::as_raw(self), bstrgroupname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteApplicationGroup(&self, bstrgroupname: P0, varreserved: P1) -> windows_core::Result<()> @@ -2009,7 +2009,7 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), lflags, varreserved.param().abi()).ok() } pub unsafe fn DelegatedPolicyUsers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DelegatedPolicyUsers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddDelegatedPolicyUser(&self, bstrdelegatedpolicyuser: P0, varreserved: P1) -> windows_core::Result<()> @@ -2027,11 +2027,11 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).DeleteDelegatedPolicyUser)(windows_core::Interface::as_raw(self), bstrdelegatedpolicyuser.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn TargetMachine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetMachine)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ApplyStoreSacl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplyStoreSacl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetApplyStoreSacl(&self, bapplystoresacl: P0) -> windows_core::Result<()> @@ -2041,11 +2041,11 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).SetApplyStoreSacl)(windows_core::Interface::as_raw(self), bapplystoresacl.param().abi()).ok() } pub unsafe fn PolicyAdministratorsName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministratorsName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PolicyReadersName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReadersName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPolicyAdministratorName(&self, bstradmin: P0, varreserved: P1) -> windows_core::Result<()> @@ -2077,7 +2077,7 @@ impl IAzAuthorizationStore { (windows_core::Interface::vtable(self).DeletePolicyReaderName)(windows_core::Interface::as_raw(self), bstrreader.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn DelegatedPolicyUsersName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DelegatedPolicyUsersName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddDelegatedPolicyUserName(&self, bstrdelegatedpolicyuser: P0, varreserved: P1) -> windows_core::Result<()> @@ -2105,10 +2105,10 @@ impl IAzAuthorizationStore { #[repr(C)] pub struct IAzAuthorizationStore_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DomainTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDomainTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ScriptEngineTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -2118,62 +2118,62 @@ pub struct IAzAuthorizationStore_Vtbl { pub GenerateAudits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetGenerateAudits: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, AZ_PROP_CONSTANTS, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PolicyAdministrators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PolicyReaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, AZ_PROP_CONSTANTS, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UpdateCache: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, AZ_PROP_CONSTANTS, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyAdministrators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyReaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, AZ_PROP_CONSTANTS, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdateCache: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Applications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Applications: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenApplication: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateApplication: usize, - pub DeleteApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ApplicationGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ApplicationGroups: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateApplicationGroup: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenApplicationGroup: usize, - pub DeleteApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DelegatedPolicyUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TargetMachine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DelegatedPolicyUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteDelegatedPolicyUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetMachine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ApplyStoreSacl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetApplyStoreSacl: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub PolicyAdministratorsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PolicyReadersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DelegatedPolicyUsersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CloseApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub PolicyAdministratorsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyReadersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DelegatedPolicyUsersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CloseApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzAuthorizationStore2, IAzAuthorizationStore2_Vtbl, 0xb11e5584_d577_4273_b6c5_0973e0f8e80d); @@ -2181,7 +2181,7 @@ windows_core::imp::define_interface!(IAzAuthorizationStore2, IAzAuthorizationSto impl std::ops::Deref for IAzAuthorizationStore2 { type Target = IAzAuthorizationStore; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2194,7 +2194,7 @@ impl IAzAuthorizationStore2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplication2)(windows_core::Interface::as_raw(self), bstrapplicationname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2203,7 +2203,7 @@ impl IAzAuthorizationStore2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplication2)(windows_core::Interface::as_raw(self), bstrapplicationname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2212,11 +2212,11 @@ impl IAzAuthorizationStore2 { pub struct IAzAuthorizationStore2_Vtbl { pub base__: IAzAuthorizationStore_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub OpenApplication2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenApplication2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenApplication2: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateApplication2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateApplication2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateApplication2: usize, } @@ -2226,7 +2226,7 @@ windows_core::imp::define_interface!(IAzAuthorizationStore3, IAzAuthorizationSto impl std::ops::Deref for IAzAuthorizationStore3 { type Target = IAzAuthorizationStore2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2234,18 +2234,18 @@ windows_core::imp::interface_hierarchy!(IAzAuthorizationStore3, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IAzAuthorizationStore3 { pub unsafe fn IsUpdateNeeded(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUpdateNeeded)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BizruleGroupSupported(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizruleGroupSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFunctionalLevelUpgradeSupported)(windows_core::Interface::as_raw(self), lfunctionallevel, &mut result__).map(|| result__) } pub unsafe fn GetSchemaVersion(&self, plmajorversion: *mut i32, plminorversion: *mut i32) -> windows_core::Result<()> { @@ -2268,7 +2268,7 @@ windows_core::imp::define_interface!(IAzBizRuleContext, IAzBizRuleContext_Vtbl, impl std::ops::Deref for IAzBizRuleContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2288,14 +2288,14 @@ impl IAzBizRuleContext { (windows_core::Interface::vtable(self).SetBusinessRuleString)(windows_core::Interface::as_raw(self), bstrbusinessrulestring.param().abi()).ok() } pub unsafe fn BusinessRuleString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BusinessRuleString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParameter(&self, bstrparametername: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParameter)(windows_core::Interface::as_raw(self), bstrparametername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2304,9 +2304,9 @@ impl IAzBizRuleContext { pub struct IAzBizRuleContext_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub SetBusinessRuleResult: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub SetBusinessRuleString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BusinessRuleString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBusinessRuleString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BusinessRuleString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzBizRuleInterfaces, IAzBizRuleInterfaces_Vtbl, 0xe94128c7_e9da_44cc_b0bd_53036f3aab3d); @@ -2314,7 +2314,7 @@ windows_core::imp::define_interface!(IAzBizRuleInterfaces, IAzBizRuleInterfaces_ impl std::ops::Deref for IAzBizRuleInterfaces { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2352,7 +2352,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2360,10 +2360,10 @@ impl IAzBizRuleInterfaces { #[repr(C)] pub struct IAzBizRuleInterfaces_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub AddInterface: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetInterfaceValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddInterface: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetInterfaceValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } @@ -2373,7 +2373,7 @@ windows_core::imp::define_interface!(IAzBizRuleParameters, IAzBizRuleParameters_ impl std::ops::Deref for IAzBizRuleParameters { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2398,7 +2398,7 @@ impl IAzBizRuleParameters { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParameterValue)(windows_core::Interface::as_raw(self), bstrparametername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, varparametername: P0) -> windows_core::Result<()> @@ -2411,7 +2411,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2419,10 +2419,10 @@ impl IAzBizRuleParameters { #[repr(C)] pub struct IAzBizRuleParameters_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub AddParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddParameters: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetParameterValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddParameters: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetParameterValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } @@ -2432,7 +2432,7 @@ windows_core::imp::define_interface!(IAzClientContext, IAzClientContext_Vtbl, 0x impl std::ops::Deref for IAzClientContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2450,57 +2450,57 @@ impl IAzClientContext { P6: windows_core::Param, P7: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AccessCheck)(windows_core::Interface::as_raw(self), bstrobjectname.param().abi(), varscopenames.param().abi(), varoperations.param().abi(), varparameternames.param().abi(), varparametervalues.param().abi(), varinterfacenames.param().abi(), varinterfaceflags.param().abi(), varinterfaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBusinessRuleString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBusinessRuleString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserDn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserDn)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserSamCompat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserSamCompat)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserDisplay(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserDisplay)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserCanonical(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserCanonical)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserUpn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserUpn)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserDnsSamCompat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserDnsSamCompat)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRoles(&self, bstrscopename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRoles)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RoleForAccessCheck(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleForAccessCheck)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRoleForAccessCheck(&self, bstrprop: P0) -> windows_core::Result<()> @@ -2514,19 +2514,19 @@ impl IAzClientContext { #[repr(C)] pub struct IAzClientContext_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub AccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetBusinessRuleString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserDn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserSamCompat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserCanonical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserUpn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserDnsSamCompat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRoles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RoleForAccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRoleForAccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBusinessRuleString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserSamCompat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserCanonical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserUpn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserDnsSamCompat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRoles: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RoleForAccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRoleForAccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzClientContext2, IAzClientContext2_Vtbl, 0x2b0c92b8_208a_488a_8f81_e4edb22111cd); @@ -2534,7 +2534,7 @@ windows_core::imp::define_interface!(IAzClientContext2, IAzClientContext2_Vtbl, impl std::ops::Deref for IAzClientContext2 { type Target = IAzClientContext; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2570,7 +2570,7 @@ impl IAzClientContext2 { (windows_core::Interface::vtable(self).SetLDAPQueryDN)(windows_core::Interface::as_raw(self), bstrldapquerydn.param().abi()).ok() } pub unsafe fn LDAPQueryDN(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LDAPQueryDN)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2578,12 +2578,12 @@ impl IAzClientContext2 { #[repr(C)] pub struct IAzClientContext2_Vtbl { pub base__: IAzClientContext_Vtbl, - pub GetAssignedScopesPage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddRoles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddApplicationGroups: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddStringSids: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLDAPQueryDN: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LDAPQueryDN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAssignedScopesPage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddRoles: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddApplicationGroups: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddStringSids: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLDAPQueryDN: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LDAPQueryDN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzClientContext3, IAzClientContext3_Vtbl, 0x11894fde_1deb_4b4b_8907_6d1cda1f5d4f); @@ -2591,7 +2591,7 @@ windows_core::imp::define_interface!(IAzClientContext3, IAzClientContext3_Vtbl, impl std::ops::Deref for IAzClientContext3 { type Target = IAzClientContext2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2603,7 +2603,7 @@ impl IAzClientContext3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AccessCheck2)(windows_core::Interface::as_raw(self), bstrobjectname.param().abi(), bstrscopename.param().abi(), loperation, &mut result__).map(|| result__) } pub unsafe fn IsInRoleAssignment(&self, bstrscopename: P0, bstrrolename: P1) -> windows_core::Result @@ -2611,7 +2611,7 @@ impl IAzClientContext3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInRoleAssignment)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), bstrrolename.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2619,7 +2619,7 @@ impl IAzClientContext3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOperations)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2627,28 +2627,28 @@ impl IAzClientContext3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTasks)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn BizRuleParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizRuleParameters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn BizRuleInterfaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizRuleInterfaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetGroups(&self, bstrscopename: P0, uloptions: AZ_PROP_CONSTANTS) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroups)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), uloptions.0 as _, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Sids(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Sids)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2656,14 +2656,14 @@ impl IAzClientContext3 { #[repr(C)] pub struct IAzClientContext3_Vtbl { pub base__: IAzClientContext2_Vtbl, - pub AccessCheck2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut u32) -> windows_core::HRESULT, - pub IsInRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub AccessCheck2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut u32) -> windows_core::HRESULT, + pub IsInRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetOperations: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetOperations: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetOperations: usize, #[cfg(feature = "Win32_System_Com")] - pub GetTasks: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTasks: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetTasks: usize, #[cfg(feature = "Win32_System_Com")] @@ -2674,8 +2674,8 @@ pub struct IAzClientContext3_Vtbl { pub BizRuleInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] BizRuleInterfaces: usize, - pub GetGroups: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Sids: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetGroups: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Sids: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzNameResolver, IAzNameResolver_Vtbl, 0x504d0f15_73e2_43df_a870_a64f40714f53); @@ -2683,7 +2683,7 @@ windows_core::imp::define_interface!(IAzNameResolver, IAzNameResolver_Vtbl, 0x50 impl std::ops::Deref for IAzNameResolver { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2707,8 +2707,8 @@ impl IAzNameResolver { #[repr(C)] pub struct IAzNameResolver_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub NameFromSid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NamesFromSids: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NameFromSid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NamesFromSids: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzObjectPicker, IAzObjectPicker_Vtbl, 0x63130a48_699a_42d8_bf01_c62ac3fb79f9); @@ -2716,7 +2716,7 @@ windows_core::imp::define_interface!(IAzObjectPicker, IAzObjectPicker_Vtbl, 0x63 impl std::ops::Deref for IAzObjectPicker { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2731,7 +2731,7 @@ impl IAzObjectPicker { (windows_core::Interface::vtable(self).GetPrincipals)(windows_core::Interface::as_raw(self), hparentwnd.param().abi(), bstrtitle.param().abi(), core::mem::transmute(pvsidtypes), core::mem::transmute(pvnames), core::mem::transmute(pvsids)).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2739,8 +2739,8 @@ impl IAzObjectPicker { #[repr(C)] pub struct IAzObjectPicker_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub GetPrincipals: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPrincipals: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzOperation, IAzOperation_Vtbl, 0x5e56b24f_ea01_4d61_be44_c49b5e4eaf74); @@ -2748,7 +2748,7 @@ windows_core::imp::define_interface!(IAzOperation, IAzOperation_Vtbl, 0x5e56b24f impl std::ops::Deref for IAzOperation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2756,7 +2756,7 @@ windows_core::imp::interface_hierarchy!(IAzOperation, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IAzOperation { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -2766,7 +2766,7 @@ impl IAzOperation { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -2776,7 +2776,7 @@ impl IAzOperation { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn ApplicationData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetApplicationData(&self, bstrapplicationdata: P0) -> windows_core::Result<()> @@ -2786,21 +2786,21 @@ impl IAzOperation { (windows_core::Interface::vtable(self).SetApplicationData)(windows_core::Interface::as_raw(self), bstrapplicationdata.param().abi()).ok() } pub unsafe fn OperationID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OperationID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOperationID(&self, lprop: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetOperationID)(windows_core::Interface::as_raw(self), lprop).ok() } pub unsafe fn Writable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, lpropid: i32, varprop: P0, varreserved: P1) -> windows_core::Result<()> @@ -2821,18 +2821,18 @@ impl IAzOperation { #[repr(C)] pub struct IAzOperation_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub OperationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetOperationID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzOperation2, IAzOperation2_Vtbl, 0x1f5ea01f_44a2_4184_9c48_a75b4dcc8ccc); @@ -2840,7 +2840,7 @@ windows_core::imp::define_interface!(IAzOperation2, IAzOperation2_Vtbl, 0x1f5ea0 impl std::ops::Deref for IAzOperation2 { type Target = IAzOperation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2853,7 +2853,7 @@ impl IAzOperation2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleAssignments)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), brecursive.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2862,7 +2862,7 @@ impl IAzOperation2 { pub struct IAzOperation2_Vtbl { pub base__: IAzOperation_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RoleAssignments: usize, } @@ -2872,7 +2872,7 @@ windows_core::imp::define_interface!(IAzOperations, IAzOperations_Vtbl, 0x90ef9c impl std::ops::Deref for IAzOperations { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2880,15 +2880,15 @@ windows_core::imp::interface_hierarchy!(IAzOperations, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IAzOperations { pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2896,7 +2896,7 @@ impl IAzOperations { #[repr(C)] pub struct IAzOperations_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -2906,7 +2906,7 @@ windows_core::imp::define_interface!(IAzPrincipalLocator, IAzPrincipalLocator_Vt impl std::ops::Deref for IAzPrincipalLocator { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2915,12 +2915,12 @@ windows_core::imp::interface_hierarchy!(IAzPrincipalLocator, windows_core::IUnkn impl IAzPrincipalLocator { #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameResolver(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NameResolver)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectPicker(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectPicker)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2943,7 +2943,7 @@ windows_core::imp::define_interface!(IAzRole, IAzRole_Vtbl, 0x859e0d8d_62d7_41d8 impl std::ops::Deref for IAzRole { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2951,7 +2951,7 @@ windows_core::imp::interface_hierarchy!(IAzRole, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl IAzRole { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -2961,7 +2961,7 @@ impl IAzRole { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -2971,7 +2971,7 @@ impl IAzRole { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn ApplicationData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetApplicationData(&self, bstrapplicationdata: P0) -> windows_core::Result<()> @@ -3037,14 +3037,14 @@ impl IAzRole { (windows_core::Interface::vtable(self).DeleteMember)(windows_core::Interface::as_raw(self), bstrprop.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn Writable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, lpropid: i32, varprop: P0, varreserved: P1) -> windows_core::Result<()> @@ -3055,19 +3055,19 @@ impl IAzRole { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), lpropid, varprop.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn AppMembers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppMembers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Members(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Members)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Operations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Operations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Tasks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tasks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPropertyItem(&self, lpropid: i32, varprop: P0, varreserved: P1) -> windows_core::Result<()> @@ -3105,7 +3105,7 @@ impl IAzRole { (windows_core::Interface::vtable(self).DeleteMemberName)(windows_core::Interface::as_raw(self), bstrprop.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn MembersName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MembersName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3113,33 +3113,33 @@ impl IAzRole { #[repr(C)] pub struct IAzRole_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddOperation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteOperation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteMember: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteAppMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddOperation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteOperation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteMember: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Members: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppMembers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Members: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzRoleAssignment, IAzRoleAssignment_Vtbl, 0x55647d31_0d5a_4fa3_b4ac_2b5f9ad5ab76); @@ -3147,7 +3147,7 @@ windows_core::imp::define_interface!(IAzRoleAssignment, IAzRoleAssignment_Vtbl, impl std::ops::Deref for IAzRoleAssignment { type Target = IAzRole; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3168,12 +3168,12 @@ impl IAzRoleAssignment { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleDefinitions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleDefinitions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Scope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scope)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3181,8 +3181,8 @@ impl IAzRoleAssignment { #[repr(C)] pub struct IAzRoleAssignment_Vtbl { pub base__: IAzRole_Vtbl, - pub AddRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RoleDefinitions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3198,7 +3198,7 @@ windows_core::imp::define_interface!(IAzRoleAssignments, IAzRoleAssignments_Vtbl impl std::ops::Deref for IAzRoleAssignments { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3206,15 +3206,15 @@ windows_core::imp::interface_hierarchy!(IAzRoleAssignments, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IAzRoleAssignments { pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3222,7 +3222,7 @@ impl IAzRoleAssignments { #[repr(C)] pub struct IAzRoleAssignments_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3232,7 +3232,7 @@ windows_core::imp::define_interface!(IAzRoleDefinition, IAzRoleDefinition_Vtbl, impl std::ops::Deref for IAzRoleDefinition { type Target = IAzTask; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3245,7 +3245,7 @@ impl IAzRoleDefinition { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleAssignments)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), brecursive.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddRoleDefinition(&self, bstrroledefinition: P0) -> windows_core::Result<()> @@ -3262,7 +3262,7 @@ impl IAzRoleDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleDefinitions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleDefinitions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3271,11 +3271,11 @@ impl IAzRoleDefinition { pub struct IAzRoleDefinition_Vtbl { pub base__: IAzTask_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RoleAssignments: usize, - pub AddRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RoleDefinitions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3287,7 +3287,7 @@ windows_core::imp::define_interface!(IAzRoleDefinitions, IAzRoleDefinitions_Vtbl impl std::ops::Deref for IAzRoleDefinitions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3295,15 +3295,15 @@ windows_core::imp::interface_hierarchy!(IAzRoleDefinitions, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IAzRoleDefinitions { pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3311,7 +3311,7 @@ impl IAzRoleDefinitions { #[repr(C)] pub struct IAzRoleDefinitions_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3321,7 +3321,7 @@ windows_core::imp::define_interface!(IAzRoles, IAzRoles_Vtbl, 0x95e0f119_13b4_4d impl std::ops::Deref for IAzRoles { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3329,15 +3329,15 @@ windows_core::imp::interface_hierarchy!(IAzRoles, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IAzRoles { pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3345,7 +3345,7 @@ impl IAzRoles { #[repr(C)] pub struct IAzRoles_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3355,7 +3355,7 @@ windows_core::imp::define_interface!(IAzScope, IAzScope_Vtbl, 0x00e52487_e08d_45 impl std::ops::Deref for IAzScope { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3363,7 +3363,7 @@ windows_core::imp::interface_hierarchy!(IAzScope, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IAzScope { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -3373,7 +3373,7 @@ impl IAzScope { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -3383,7 +3383,7 @@ impl IAzScope { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn ApplicationData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetApplicationData(&self, bstrapplicationdata: P0) -> windows_core::Result<()> @@ -3393,14 +3393,14 @@ impl IAzScope { (windows_core::Interface::vtable(self).SetApplicationData)(windows_core::Interface::as_raw(self), bstrapplicationdata.param().abi()).ok() } pub unsafe fn Writable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, lpropid: i32, varprop: P0, varreserved: P1) -> windows_core::Result<()> @@ -3425,11 +3425,11 @@ impl IAzScope { (windows_core::Interface::vtable(self).DeletePropertyItem)(windows_core::Interface::as_raw(self), lpropid, varprop.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn PolicyAdministrators(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministrators)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PolicyReaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPolicyAdministrator(&self, bstradmin: P0, varreserved: P1) -> windows_core::Result<()> @@ -3462,7 +3462,7 @@ impl IAzScope { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3471,7 +3471,7 @@ impl IAzScope { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenApplicationGroup)(windows_core::Interface::as_raw(self), bstrgroupname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3480,7 +3480,7 @@ impl IAzScope { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplicationGroup)(windows_core::Interface::as_raw(self), bstrgroupname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteApplicationGroup(&self, bstrgroupname: P0, varreserved: P1) -> windows_core::Result<()> @@ -3492,7 +3492,7 @@ impl IAzScope { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Roles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Roles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3501,7 +3501,7 @@ impl IAzScope { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenRole)(windows_core::Interface::as_raw(self), bstrrolename.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3510,7 +3510,7 @@ impl IAzScope { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRole)(windows_core::Interface::as_raw(self), bstrrolename.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteRole(&self, bstrrolename: P0, varreserved: P1) -> windows_core::Result<()> @@ -3522,7 +3522,7 @@ impl IAzScope { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tasks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tasks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3531,7 +3531,7 @@ impl IAzScope { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenTask)(windows_core::Interface::as_raw(self), bstrtaskname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3540,7 +3540,7 @@ impl IAzScope { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTask)(windows_core::Interface::as_raw(self), bstrtaskname.param().abi(), varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteTask(&self, bstrtaskname: P0, varreserved: P1) -> windows_core::Result<()> @@ -3557,19 +3557,19 @@ impl IAzScope { (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), lflags, varreserved.param().abi()).ok() } pub unsafe fn CanBeDelegated(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanBeDelegated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BizrulesWritable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizrulesWritable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PolicyAdministratorsName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyAdministratorsName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PolicyReadersName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyReadersName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPolicyAdministratorName(&self, bstradmin: P0, varreserved: P1) -> windows_core::Result<()> @@ -3605,71 +3605,71 @@ impl IAzScope { #[repr(C)] pub struct IAzScope_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PolicyAdministrators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PolicyReaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyAdministrators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyReaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyAdministrator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyReader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ApplicationGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ApplicationGroups: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenApplicationGroup: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateApplicationGroup: usize, - pub DeleteApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteApplicationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Roles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Roles: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenRole: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateRole: usize, - pub DeleteRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Tasks: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenTask: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateTask: usize, - pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CanBeDelegated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub BizrulesWritable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub PolicyAdministratorsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PolicyReadersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyAdministratorsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolicyReadersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyAdministratorName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzScope2, IAzScope2_Vtbl, 0xee9fe8c9_c9f3_40e2_aa12_d1d8599727fd); @@ -3677,7 +3677,7 @@ windows_core::imp::define_interface!(IAzScope2, IAzScope2_Vtbl, 0xee9fe8c9_c9f3_ impl std::ops::Deref for IAzScope2 { type Target = IAzScope; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3686,7 +3686,7 @@ windows_core::imp::interface_hierarchy!(IAzScope2, windows_core::IUnknown, super impl IAzScope2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleDefinitions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleDefinitions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3694,7 +3694,7 @@ impl IAzScope2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRoleDefinition)(windows_core::Interface::as_raw(self), bstrroledefinitionname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3702,7 +3702,7 @@ impl IAzScope2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenRoleDefinition)(windows_core::Interface::as_raw(self), bstrroledefinitionname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteRoleDefinition(&self, bstrroledefinitionname: P0) -> windows_core::Result<()> @@ -3713,7 +3713,7 @@ impl IAzScope2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RoleAssignments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleAssignments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3721,7 +3721,7 @@ impl IAzScope2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRoleAssignment)(windows_core::Interface::as_raw(self), bstrroleassignmentname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3729,7 +3729,7 @@ impl IAzScope2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenRoleAssignment)(windows_core::Interface::as_raw(self), bstrroleassignmentname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteRoleAssignment(&self, bstrroleassignmentname: P0) -> windows_core::Result<()> @@ -3748,27 +3748,27 @@ pub struct IAzScope2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] RoleDefinitions: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateRoleDefinition: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenRoleDefinition: usize, - pub DeleteRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RoleAssignments: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateRoleAssignment: usize, #[cfg(feature = "Win32_System_Com")] - pub OpenRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OpenRoleAssignment: usize, - pub DeleteRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzScopes, IAzScopes_Vtbl, 0x78e14853_9f5e_406d_9b91_6bdba6973510); @@ -3776,7 +3776,7 @@ windows_core::imp::define_interface!(IAzScopes, IAzScopes_Vtbl, 0x78e14853_9f5e_ impl std::ops::Deref for IAzScopes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3784,15 +3784,15 @@ windows_core::imp::interface_hierarchy!(IAzScopes, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IAzScopes { pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3800,7 +3800,7 @@ impl IAzScopes { #[repr(C)] pub struct IAzScopes_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3810,7 +3810,7 @@ windows_core::imp::define_interface!(IAzTask, IAzTask_Vtbl, 0xcb94e592_2e0e_4a6c impl std::ops::Deref for IAzTask { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3818,7 +3818,7 @@ windows_core::imp::interface_hierarchy!(IAzTask, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl IAzTask { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -3828,7 +3828,7 @@ impl IAzTask { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -3838,7 +3838,7 @@ impl IAzTask { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn ApplicationData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetApplicationData(&self, bstrapplicationdata: P0) -> windows_core::Result<()> @@ -3848,7 +3848,7 @@ impl IAzTask { (windows_core::Interface::vtable(self).SetApplicationData)(windows_core::Interface::as_raw(self), bstrapplicationdata.param().abi()).ok() } pub unsafe fn BizRule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizRule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBizRule(&self, bstrprop: P0) -> windows_core::Result<()> @@ -3858,7 +3858,7 @@ impl IAzTask { (windows_core::Interface::vtable(self).SetBizRule)(windows_core::Interface::as_raw(self), bstrprop.param().abi()).ok() } pub unsafe fn BizRuleLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizRuleLanguage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBizRuleLanguage(&self, bstrprop: P0) -> windows_core::Result<()> @@ -3868,7 +3868,7 @@ impl IAzTask { (windows_core::Interface::vtable(self).SetBizRuleLanguage)(windows_core::Interface::as_raw(self), bstrprop.param().abi()).ok() } pub unsafe fn BizRuleImportedPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BizRuleImportedPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBizRuleImportedPath(&self, bstrprop: P0) -> windows_core::Result<()> @@ -3878,7 +3878,7 @@ impl IAzTask { (windows_core::Interface::vtable(self).SetBizRuleImportedPath)(windows_core::Interface::as_raw(self), bstrprop.param().abi()).ok() } pub unsafe fn IsRoleDefinition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRoleDefinition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsRoleDefinition(&self, fprop: P0) -> windows_core::Result<()> @@ -3888,11 +3888,11 @@ impl IAzTask { (windows_core::Interface::vtable(self).SetIsRoleDefinition)(windows_core::Interface::as_raw(self), fprop.param().abi()).ok() } pub unsafe fn Operations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Operations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Tasks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tasks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddOperation(&self, bstrop: P0, varreserved: P1) -> windows_core::Result<()> @@ -3924,14 +3924,14 @@ impl IAzTask { (windows_core::Interface::vtable(self).DeleteTask)(windows_core::Interface::as_raw(self), bstrtask.param().abi(), varreserved.param().abi()).ok() } pub unsafe fn Writable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Writable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self, lpropid: i32, varreserved: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lpropid, varreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, lpropid: i32, varprop: P0, varreserved: P1) -> windows_core::Result<()> @@ -3966,32 +3966,32 @@ impl IAzTask { #[repr(C)] pub struct IAzTask_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BizRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBizRule: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BizRuleLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBizRuleLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BizRuleImportedPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBizRuleImportedPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BizRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBizRule: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BizRuleLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBizRuleLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BizRuleImportedPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBizRuleImportedPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetIsRoleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddOperation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteOperation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Tasks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddOperation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteOperation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Writable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeletePropertyItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzTask2, IAzTask2_Vtbl, 0x03a9a5ee_48c8_4832_9025_aad503c46526); @@ -3999,7 +3999,7 @@ windows_core::imp::define_interface!(IAzTask2, IAzTask2_Vtbl, 0x03a9a5ee_48c8_48 impl std::ops::Deref for IAzTask2 { type Target = IAzTask; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4012,7 +4012,7 @@ impl IAzTask2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RoleAssignments)(windows_core::Interface::as_raw(self), bstrscopename.param().abi(), brecursive.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4021,7 +4021,7 @@ impl IAzTask2 { pub struct IAzTask2_Vtbl { pub base__: IAzTask_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RoleAssignments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RoleAssignments: usize, } @@ -4031,7 +4031,7 @@ windows_core::imp::define_interface!(IAzTasks, IAzTasks_Vtbl, 0xb338ccab_4c85_43 impl std::ops::Deref for IAzTasks { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4039,15 +4039,15 @@ windows_core::imp::interface_hierarchy!(IAzTasks, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IAzTasks { pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4055,7 +4055,7 @@ impl IAzTasks { #[repr(C)] pub struct IAzTasks_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs index 314f840674..9eb7af9bfa 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ISceSvcAttachmentData, ISceSvcAttachmentDat impl std::ops::Deref for ISceSvcAttachmentData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISceSvcAttachmentData, windows_core::IUnknown); @@ -35,7 +35,7 @@ windows_core::imp::define_interface!(ISceSvcAttachmentPersistInfo, ISceSvcAttach impl std::ops::Deref for ISceSvcAttachmentPersistInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISceSvcAttachmentPersistInfo, windows_core::IUnknown); 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 cbcf35a5da..1325004562 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs @@ -371,7 +371,7 @@ pub unsafe fn KeyCredentialManagerFreeInformation(keycredentialmanagerinfo: *con #[inline] pub unsafe fn KeyCredentialManagerGetInformation() -> windows_core::Result<*mut KeyCredentialManagerInfo> { windows_targets::link!("keycredmgr.dll" "system" fn KeyCredentialManagerGetInformation(keycredentialmanagerinfo : *mut *mut KeyCredentialManagerInfo) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); KeyCredentialManagerGetInformation(&mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs index e89e3c2f40..a30a9ea425 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs @@ -13,17 +13,17 @@ impl windows_core::RuntimeName for IAlternativeName {} #[cfg(feature = "Win32_System_Com")] impl IAlternativeName_Vtbl { pub const fn new, Impl: IAlternativeName_Impl, const OFFSET: isize>() -> IAlternativeName_Vtbl { - unsafe extern "system" fn InitializeFromString, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: AlternativeNameType, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromString, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: AlternativeNameType, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAlternativeName_Impl::InitializeFromString(this, core::mem::transmute_copy(&r#type), core::mem::transmute(&strvalue)).into() } - unsafe extern "system" fn InitializeFromRawData, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: AlternativeNameType, encoding: EncodingType, strrawdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromRawData, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: AlternativeNameType, encoding: EncodingType, strrawdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAlternativeName_Impl::InitializeFromRawData(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&encoding), core::mem::transmute(&strrawdata)).into() } - unsafe extern "system" fn InitializeFromOtherName, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobjectid: *mut core::ffi::c_void, encoding: EncodingType, strrawdata: std::mem::MaybeUninit, tobewrapped: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromOtherName, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobjectid: *mut core::ffi::c_void, encoding: EncodingType, strrawdata: core::mem::MaybeUninit, tobewrapped: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAlternativeName_Impl::InitializeFromOtherName(this, windows_core::from_raw_borrowed(&pobjectid), core::mem::transmute_copy(&encoding), core::mem::transmute(&strrawdata), core::mem::transmute_copy(&tobewrapped)).into() @@ -39,7 +39,7 @@ impl IAlternativeName_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StrValue, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StrValue, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAlternativeName_Impl::StrValue(this) { @@ -61,7 +61,7 @@ impl IAlternativeName_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_RawData, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RawData, Impl: IAlternativeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAlternativeName_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { @@ -174,7 +174,7 @@ impl windows_core::RuntimeName for IBinaryConverter {} #[cfg(feature = "Win32_System_Com")] impl IBinaryConverter_Vtbl { pub const fn new, Impl: IBinaryConverter_Impl, const OFFSET: isize>() -> IBinaryConverter_Vtbl { - unsafe extern "system" fn StringToString, Impl: IBinaryConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodedin: std::mem::MaybeUninit, encodingin: EncodingType, encoding: EncodingType, pstrencoded: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StringToString, Impl: IBinaryConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodedin: core::mem::MaybeUninit, encodingin: EncodingType, encoding: EncodingType, pstrencoded: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBinaryConverter_Impl::StringToString(this, core::mem::transmute(&strencodedin), core::mem::transmute_copy(&encodingin), core::mem::transmute_copy(&encoding)) { @@ -185,7 +185,7 @@ impl IBinaryConverter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VariantByteArrayToString, Impl: IBinaryConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbytearray: *const std::mem::MaybeUninit, encoding: EncodingType, pstrencoded: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VariantByteArrayToString, Impl: IBinaryConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbytearray: *const core::mem::MaybeUninit, encoding: EncodingType, pstrencoded: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBinaryConverter_Impl::VariantByteArrayToString(this, core::mem::transmute_copy(&pvarbytearray), core::mem::transmute_copy(&encoding)) { @@ -196,7 +196,7 @@ impl IBinaryConverter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StringToVariantByteArray, Impl: IBinaryConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencoded: std::mem::MaybeUninit, encoding: EncodingType, pvarbytearray: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StringToVariantByteArray, Impl: IBinaryConverter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencoded: core::mem::MaybeUninit, encoding: EncodingType, pvarbytearray: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBinaryConverter_Impl::StringToVariantByteArray(this, core::mem::transmute(&strencoded), core::mem::transmute_copy(&encoding)) { @@ -228,7 +228,7 @@ impl windows_core::RuntimeName for IBinaryConverter2 {} #[cfg(feature = "Win32_System_Com")] impl IBinaryConverter2_Vtbl { pub const fn new, Impl: IBinaryConverter2_Impl, const OFFSET: isize>() -> IBinaryConverter2_Vtbl { - unsafe extern "system" fn StringArrayToVariantArray, Impl: IBinaryConverter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarstringarray: *const std::mem::MaybeUninit, pvarvariantarray: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StringArrayToVariantArray, Impl: IBinaryConverter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarstringarray: *const core::mem::MaybeUninit, pvarvariantarray: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBinaryConverter2_Impl::StringArrayToVariantArray(this, core::mem::transmute_copy(&pvarstringarray)) { @@ -239,7 +239,7 @@ impl IBinaryConverter2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VariantArrayToStringArray, Impl: IBinaryConverter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvariantarray: *const std::mem::MaybeUninit, pvarstringarray: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VariantArrayToStringArray, Impl: IBinaryConverter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvariantarray: *const core::mem::MaybeUninit, pvarstringarray: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBinaryConverter2_Impl::VariantArrayToStringArray(this, core::mem::transmute_copy(&pvarvariantarray)) { @@ -324,17 +324,17 @@ impl windows_core::RuntimeName for ICEnroll {} #[cfg(feature = "Win32_System_Com")] impl ICEnroll_Vtbl { pub const fn new, Impl: ICEnroll_Impl, const OFFSET: isize>() -> ICEnroll_Vtbl { - unsafe extern "system" fn createFilePKCS10, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dnname: std::mem::MaybeUninit, usage: std::mem::MaybeUninit, wszpkcs10filename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn createFilePKCS10, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dnname: core::mem::MaybeUninit, usage: core::mem::MaybeUninit, wszpkcs10filename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::createFilePKCS10(this, core::mem::transmute(&dnname), core::mem::transmute(&usage), core::mem::transmute(&wszpkcs10filename)).into() } - unsafe extern "system" fn acceptFilePKCS7, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpkcs7filename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn acceptFilePKCS7, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpkcs7filename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::acceptFilePKCS7(this, core::mem::transmute(&wszpkcs7filename)).into() } - unsafe extern "system" fn createPKCS10, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dnname: std::mem::MaybeUninit, usage: std::mem::MaybeUninit, ppkcs10: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn createPKCS10, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dnname: core::mem::MaybeUninit, usage: core::mem::MaybeUninit, ppkcs10: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::createPKCS10(this, core::mem::transmute(&dnname), core::mem::transmute(&usage)) { @@ -345,12 +345,12 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn acceptPKCS7, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkcs7: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn acceptPKCS7, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkcs7: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::acceptPKCS7(this, core::mem::transmute(&pkcs7)).into() } - unsafe extern "system" fn getCertFromPKCS7, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpkcs7: std::mem::MaybeUninit, pbstrcert: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getCertFromPKCS7, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpkcs7: core::mem::MaybeUninit, pbstrcert: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::getCertFromPKCS7(this, core::mem::transmute(&wszpkcs7)) { @@ -361,7 +361,7 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn enumProviders, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: i32, dwflags: i32, pbstrprovname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn enumProviders, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: i32, dwflags: i32, pbstrprovname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::enumProviders(this, core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&dwflags)) { @@ -372,7 +372,7 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn enumContainers, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: i32, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn enumContainers, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: i32, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::enumContainers(this, core::mem::transmute_copy(&dwindex)) { @@ -383,12 +383,12 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn freeRequestInfo, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkcs7orpkcs10: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn freeRequestInfo, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkcs7orpkcs10: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::freeRequestInfo(this, core::mem::transmute(&pkcs7orpkcs10)).into() } - unsafe extern "system" fn MyStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MyStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::MyStoreName(this) { @@ -399,12 +399,12 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMyStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMyStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetMyStoreName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn MyStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MyStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::MyStoreType(this) { @@ -415,7 +415,7 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMyStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMyStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetMyStoreType(this, core::mem::transmute(&bstrtype)).into() @@ -436,7 +436,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); ICEnroll_Impl::SetMyStoreFlags(this, core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn CAStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CAStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::CAStoreName(this) { @@ -447,12 +447,12 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCAStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCAStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetCAStoreName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn CAStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CAStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::CAStoreType(this) { @@ -463,7 +463,7 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCAStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCAStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetCAStoreType(this, core::mem::transmute(&bstrtype)).into() @@ -484,7 +484,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); ICEnroll_Impl::SetCAStoreFlags(this, core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn RootStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RootStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::RootStoreName(this) { @@ -495,12 +495,12 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRootStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRootStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetRootStoreName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn RootStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RootStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::RootStoreType(this) { @@ -511,7 +511,7 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRootStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRootStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetRootStoreType(this, core::mem::transmute(&bstrtype)).into() @@ -532,7 +532,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); ICEnroll_Impl::SetRootStoreFlags(this, core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn RequestStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequestStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::RequestStoreName(this) { @@ -543,12 +543,12 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRequestStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRequestStoreName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetRequestStoreName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn RequestStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequestStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::RequestStoreType(this) { @@ -559,7 +559,7 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRequestStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRequestStoreType, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetRequestStoreType(this, core::mem::transmute(&bstrtype)).into() @@ -580,7 +580,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); ICEnroll_Impl::SetRequestStoreFlags(this, core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn ContainerName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontainer: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContainerName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontainer: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::ContainerName(this) { @@ -591,12 +591,12 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetContainerName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontainer: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetContainerName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontainer: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetContainerName(this, core::mem::transmute(&bstrcontainer)).into() } - unsafe extern "system" fn ProviderName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprovider: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprovider: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::ProviderName(this) { @@ -607,7 +607,7 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProviderName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovider: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProviderName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovider: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetProviderName(this, core::mem::transmute(&bstrprovider)).into() @@ -724,7 +724,7 @@ impl ICEnroll_Vtbl { let this = (*this).get_impl(); ICEnroll_Impl::SetWriteCertToCSP(this, core::mem::transmute_copy(&fbool)).into() } - unsafe extern "system" fn SPCFileName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SPCFileName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::SPCFileName(this) { @@ -735,12 +735,12 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSPCFileName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSPCFileName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetSPCFileName(this, core::mem::transmute(&bstr)).into() } - unsafe extern "system" fn PVKFileName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PVKFileName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::PVKFileName(this) { @@ -751,12 +751,12 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPVKFileName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPVKFileName, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetPVKFileName(this, core::mem::transmute(&bstr)).into() } - unsafe extern "system" fn HashAlgorithm, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HashAlgorithm, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll_Impl::HashAlgorithm(this) { @@ -767,7 +767,7 @@ impl ICEnroll_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHashAlgorithm, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHashAlgorithm, Impl: ICEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll_Impl::SetHashAlgorithm(this, core::mem::transmute(&bstr)).into() @@ -850,12 +850,12 @@ impl windows_core::RuntimeName for ICEnroll2 {} #[cfg(feature = "Win32_System_Com")] impl ICEnroll2_Vtbl { pub const fn new, Impl: ICEnroll2_Impl, const OFFSET: isize>() -> ICEnroll2_Vtbl { - unsafe extern "system" fn addCertTypeToRequest, Impl: ICEnroll2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, certtype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addCertTypeToRequest, Impl: ICEnroll2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, certtype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll2_Impl::addCertTypeToRequest(this, core::mem::transmute(&certtype)).into() } - unsafe extern "system" fn addNameValuePairToSignature, Impl: ICEnroll2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addNameValuePairToSignature, Impl: ICEnroll2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll2_Impl::addNameValuePairToSignature(this, core::mem::transmute(&name), core::mem::transmute(&value)).into() @@ -928,7 +928,7 @@ impl windows_core::RuntimeName for ICEnroll3 {} #[cfg(feature = "Win32_System_Com")] impl ICEnroll3_Vtbl { pub const fn new, Impl: ICEnroll3_Impl, const OFFSET: isize>() -> ICEnroll3_Vtbl { - unsafe extern "system" fn InstallPKCS7, Impl: ICEnroll3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkcs7: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallPKCS7, Impl: ICEnroll3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkcs7: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll3_Impl::InstallPKCS7(this, core::mem::transmute(&pkcs7)).into() @@ -971,7 +971,7 @@ impl ICEnroll3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAlgName, Impl: ICEnroll3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, algid: i32, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAlgName, Impl: ICEnroll3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, algid: i32, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll3_Impl::GetAlgName(this, core::mem::transmute_copy(&algid)) { @@ -1109,12 +1109,12 @@ impl windows_core::RuntimeName for ICEnroll4 {} #[cfg(feature = "Win32_System_Com")] impl ICEnroll4_Vtbl { pub const fn new, Impl: ICEnroll4_Impl, const OFFSET: isize>() -> ICEnroll4_Vtbl { - unsafe extern "system" fn SetPrivateKeyArchiveCertificate, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcert: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPrivateKeyArchiveCertificate, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcert: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::SetPrivateKeyArchiveCertificate(this, core::mem::transmute(&bstrcert)).into() } - unsafe extern "system" fn PrivateKeyArchiveCertificate, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcert: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrivateKeyArchiveCertificate, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcert: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::PrivateKeyArchiveCertificate(this) { @@ -1125,12 +1125,12 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetThumbPrint, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrthumbprint: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetThumbPrint, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrthumbprint: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::SetThumbPrint(this, core::mem::transmute(&bstrthumbprint)).into() } - unsafe extern "system" fn ThumbPrint, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrthumbprint: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ThumbPrint, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrthumbprint: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::ThumbPrint(this) { @@ -1141,7 +1141,7 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn binaryToString, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strbinary: std::mem::MaybeUninit, pstrencoded: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn binaryToString, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strbinary: core::mem::MaybeUninit, pstrencoded: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::binaryToString(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strbinary)) { @@ -1152,7 +1152,7 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn stringToBinary, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strencoded: std::mem::MaybeUninit, pstrbinary: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn stringToBinary, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strencoded: core::mem::MaybeUninit, pstrbinary: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::stringToBinary(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strencoded)) { @@ -1163,17 +1163,17 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn addExtensionToRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strname: std::mem::MaybeUninit, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addExtensionToRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strname: core::mem::MaybeUninit, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::addExtensionToRequest(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strname), core::mem::transmute(&strvalue)).into() } - unsafe extern "system" fn addAttributeToRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strname: std::mem::MaybeUninit, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addAttributeToRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strname: core::mem::MaybeUninit, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::addAttributeToRequest(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strname), core::mem::transmute(&strvalue)).into() } - unsafe extern "system" fn addNameValuePairToRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strname: std::mem::MaybeUninit, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addNameValuePairToRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strname: core::mem::MaybeUninit, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::addNameValuePairToRequest(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strname), core::mem::transmute(&strvalue)).into() @@ -1188,7 +1188,7 @@ impl ICEnroll4_Vtbl { let this = (*this).get_impl(); ICEnroll4_Impl::resetAttributes(this).into() } - unsafe extern "system" fn createRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: std::mem::MaybeUninit, usage: std::mem::MaybeUninit, pstrrequest: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn createRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: core::mem::MaybeUninit, usage: core::mem::MaybeUninit, pstrrequest: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::createRequest(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strdnname), core::mem::transmute(&usage)) { @@ -1199,22 +1199,22 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createFileRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: std::mem::MaybeUninit, strusage: std::mem::MaybeUninit, strrequestfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn createFileRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: core::mem::MaybeUninit, strusage: core::mem::MaybeUninit, strrequestfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::createFileRequest(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strdnname), core::mem::transmute(&strusage), core::mem::transmute(&strrequestfilename)).into() } - unsafe extern "system" fn acceptResponse, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponse: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn acceptResponse, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponse: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::acceptResponse(this, core::mem::transmute(&strresponse)).into() } - unsafe extern "system" fn acceptFileResponse, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponsefilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn acceptFileResponse, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponsefilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::acceptFileResponse(this, core::mem::transmute(&strresponsefilename)).into() } - unsafe extern "system" fn getCertFromResponse, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponse: std::mem::MaybeUninit, pstrcert: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getCertFromResponse, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponse: core::mem::MaybeUninit, pstrcert: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::getCertFromResponse(this, core::mem::transmute(&strresponse)) { @@ -1225,7 +1225,7 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getCertFromFileResponse, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponsefilename: std::mem::MaybeUninit, pstrcert: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getCertFromFileResponse, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponsefilename: core::mem::MaybeUninit, pstrcert: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::getCertFromFileResponse(this, core::mem::transmute(&strresponsefilename)) { @@ -1236,7 +1236,7 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createPFX, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpassword: std::mem::MaybeUninit, pstrpfx: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn createPFX, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpassword: core::mem::MaybeUninit, pstrpfx: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::createPFX(this, core::mem::transmute(&strpassword)) { @@ -1247,17 +1247,17 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn createFilePFX, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpassword: std::mem::MaybeUninit, strpfxfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn createFilePFX, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpassword: core::mem::MaybeUninit, strpfxfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::createFilePFX(this, core::mem::transmute(&strpassword), core::mem::transmute(&strpfxfilename)).into() } - unsafe extern "system" fn setPendingRequestInfo, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lrequestid: i32, strcadns: std::mem::MaybeUninit, strcaname: std::mem::MaybeUninit, strfriendlyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setPendingRequestInfo, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lrequestid: i32, strcadns: core::mem::MaybeUninit, strcaname: core::mem::MaybeUninit, strfriendlyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::setPendingRequestInfo(this, core::mem::transmute_copy(&lrequestid), core::mem::transmute(&strcadns), core::mem::transmute(&strcaname), core::mem::transmute(&strfriendlyname)).into() } - unsafe extern "system" fn enumPendingRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY, pvarproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn enumPendingRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY, pvarproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::enumPendingRequest(this, core::mem::transmute_copy(&lindex), core::mem::transmute_copy(&ldesiredproperty)) { @@ -1268,7 +1268,7 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn removePendingRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strthumbprint: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn removePendingRequest, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strthumbprint: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::removePendingRequest(this, core::mem::transmute(&strthumbprint)).into() @@ -1284,7 +1284,7 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InstallPKCS7Ex, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkcs7: std::mem::MaybeUninit, plcertinstalled: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn InstallPKCS7Ex, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkcs7: core::mem::MaybeUninit, plcertinstalled: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::InstallPKCS7Ex(this, core::mem::transmute(&pkcs7)) { @@ -1295,12 +1295,12 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn addCertTypeToRequestEx, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ltype: ADDED_CERT_TYPE, bstroidorname: std::mem::MaybeUninit, lmajorversion: i32, fminorversion: super::super::super::Foundation::BOOL, lminorversion: i32) -> windows_core::HRESULT { + unsafe extern "system" fn addCertTypeToRequestEx, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ltype: ADDED_CERT_TYPE, bstroidorname: core::mem::MaybeUninit, lmajorversion: i32, fminorversion: super::super::super::Foundation::BOOL, lminorversion: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::addCertTypeToRequestEx(this, core::mem::transmute_copy(<ype), core::mem::transmute(&bstroidorname), core::mem::transmute_copy(&lmajorversion), core::mem::transmute_copy(&fminorversion), core::mem::transmute_copy(&lminorversion)).into() } - unsafe extern "system" fn getProviderType, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprovname: std::mem::MaybeUninit, plprovtype: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn getProviderType, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprovname: core::mem::MaybeUninit, plprovtype: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICEnroll4_Impl::getProviderType(this, core::mem::transmute(&strprovname)) { @@ -1311,7 +1311,7 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSignerCertificate, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcert: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSignerCertificate, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcert: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::SetSignerCertificate(this, core::mem::transmute(&bstrcert)).into() @@ -1332,7 +1332,7 @@ impl ICEnroll4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn addBlobPropertyToCertificate, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropertyid: i32, lreserved: i32, bstrproperty: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn addBlobPropertyToCertificate, Impl: ICEnroll4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lpropertyid: i32, lreserved: i32, bstrproperty: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICEnroll4_Impl::addBlobPropertyToCertificate(this, core::mem::transmute_copy(&lpropertyid), core::mem::transmute_copy(&lreserved), core::mem::transmute(&bstrproperty)).into() @@ -1417,7 +1417,7 @@ impl windows_core::RuntimeName for ICertAdmin {} #[cfg(feature = "Win32_System_Com")] impl ICertAdmin_Vtbl { pub const fn new, Impl: ICertAdmin_Impl, const OFFSET: isize>() -> ICertAdmin_Vtbl { - unsafe extern "system" fn IsValidCertificate, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, strserialnumber: std::mem::MaybeUninit, pdisposition: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn IsValidCertificate, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, strserialnumber: core::mem::MaybeUninit, pdisposition: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin_Impl::IsValidCertificate(this, core::mem::transmute(&strconfig), core::mem::transmute(&strserialnumber)) { @@ -1439,27 +1439,27 @@ impl ICertAdmin_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RevokeCertificate, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, strserialnumber: std::mem::MaybeUninit, reason: i32, date: f64) -> windows_core::HRESULT { + unsafe extern "system" fn RevokeCertificate, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, strserialnumber: core::mem::MaybeUninit, reason: i32, date: f64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertAdmin_Impl::RevokeCertificate(this, core::mem::transmute(&strconfig), core::mem::transmute(&strserialnumber), core::mem::transmute_copy(&reason), core::mem::transmute_copy(&date)).into() } - unsafe extern "system" fn SetRequestAttributes, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, requestid: i32, strattributes: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRequestAttributes, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, requestid: i32, strattributes: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertAdmin_Impl::SetRequestAttributes(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid), core::mem::transmute(&strattributes)).into() } - unsafe extern "system" fn SetCertificateExtension, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, requestid: i32, strextensionname: std::mem::MaybeUninit, r#type: CERT_PROPERTY_TYPE, flags: i32, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCertificateExtension, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, requestid: i32, strextensionname: core::mem::MaybeUninit, r#type: CERT_PROPERTY_TYPE, flags: i32, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertAdmin_Impl::SetCertificateExtension(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid), core::mem::transmute(&strextensionname), core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&pvarvalue)).into() } - unsafe extern "system" fn DenyRequest, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, requestid: i32) -> windows_core::HRESULT { + unsafe extern "system" fn DenyRequest, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, requestid: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertAdmin_Impl::DenyRequest(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid)).into() } - unsafe extern "system" fn ResubmitRequest, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, requestid: i32, pdisposition: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn ResubmitRequest, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, requestid: i32, pdisposition: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin_Impl::ResubmitRequest(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid)) { @@ -1470,12 +1470,12 @@ impl ICertAdmin_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PublishCRL, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, date: f64) -> windows_core::HRESULT { + unsafe extern "system" fn PublishCRL, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, date: f64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertAdmin_Impl::PublishCRL(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&date)).into() } - unsafe extern "system" fn GetCRL, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, flags: i32, pstrcrl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCRL, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, flags: i32, pstrcrl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin_Impl::GetCRL(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&flags)) { @@ -1486,7 +1486,7 @@ impl ICertAdmin_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ImportCertificate, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, strcertificate: std::mem::MaybeUninit, flags: CERT_IMPORT_FLAGS, prequestid: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn ImportCertificate, Impl: ICertAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, strcertificate: core::mem::MaybeUninit, flags: CERT_IMPORT_FLAGS, prequestid: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin_Impl::ImportCertificate(this, core::mem::transmute(&strconfig), core::mem::transmute(&strcertificate), core::mem::transmute_copy(&flags)) { @@ -1534,12 +1534,12 @@ impl windows_core::RuntimeName for ICertAdmin2 {} #[cfg(feature = "Win32_System_Com")] impl ICertAdmin2_Vtbl { pub const fn new, Impl: ICertAdmin2_Impl, const OFFSET: isize>() -> ICertAdmin2_Vtbl { - unsafe extern "system" fn PublishCRLs, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, date: f64, crlflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn PublishCRLs, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, date: f64, crlflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertAdmin2_Impl::PublishCRLs(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&date), core::mem::transmute_copy(&crlflags)).into() } - unsafe extern "system" fn GetCAProperty, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, propid: i32, propindex: i32, proptype: i32, flags: i32, pvarpropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCAProperty, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, propid: i32, propindex: i32, proptype: i32, flags: i32, pvarpropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin2_Impl::GetCAProperty(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid), core::mem::transmute_copy(&propindex), core::mem::transmute_copy(&proptype), core::mem::transmute_copy(&flags)) { @@ -1550,12 +1550,12 @@ impl ICertAdmin2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCAProperty, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, propid: i32, propindex: i32, proptype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCAProperty, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, propid: i32, propindex: i32, proptype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertAdmin2_Impl::SetCAProperty(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid), core::mem::transmute_copy(&propindex), core::mem::transmute_copy(&proptype), core::mem::transmute_copy(&pvarpropertyvalue)).into() } - unsafe extern "system" fn GetCAPropertyFlags, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, propid: i32, ppropflags: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetCAPropertyFlags, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, propid: i32, ppropflags: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin2_Impl::GetCAPropertyFlags(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid)) { @@ -1566,7 +1566,7 @@ impl ICertAdmin2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCAPropertyDisplayName, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, propid: i32, pstrdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCAPropertyDisplayName, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, propid: i32, pstrdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin2_Impl::GetCAPropertyDisplayName(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid)) { @@ -1577,7 +1577,7 @@ impl ICertAdmin2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetArchivedKey, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, requestid: i32, flags: i32, pstrarchivedkey: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetArchivedKey, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, requestid: i32, flags: i32, pstrarchivedkey: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin2_Impl::GetArchivedKey(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid), core::mem::transmute_copy(&flags)) { @@ -1588,7 +1588,7 @@ impl ICertAdmin2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetConfigEntry, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, strnodepath: std::mem::MaybeUninit, strentryname: std::mem::MaybeUninit, pvarentry: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetConfigEntry, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, strnodepath: core::mem::MaybeUninit, strentryname: core::mem::MaybeUninit, pvarentry: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin2_Impl::GetConfigEntry(this, core::mem::transmute(&strconfig), core::mem::transmute(&strnodepath), core::mem::transmute(&strentryname)) { @@ -1599,17 +1599,17 @@ impl ICertAdmin2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetConfigEntry, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, strnodepath: std::mem::MaybeUninit, strentryname: std::mem::MaybeUninit, pvarentry: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetConfigEntry, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, strnodepath: core::mem::MaybeUninit, strentryname: core::mem::MaybeUninit, pvarentry: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertAdmin2_Impl::SetConfigEntry(this, core::mem::transmute(&strconfig), core::mem::transmute(&strnodepath), core::mem::transmute(&strentryname), core::mem::transmute_copy(&pvarentry)).into() } - unsafe extern "system" fn ImportKey, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, requestid: i32, strcerthash: std::mem::MaybeUninit, flags: CERT_IMPORT_FLAGS, strkey: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImportKey, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, requestid: i32, strcerthash: core::mem::MaybeUninit, flags: CERT_IMPORT_FLAGS, strkey: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertAdmin2_Impl::ImportKey(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid), core::mem::transmute(&strcerthash), core::mem::transmute_copy(&flags), core::mem::transmute(&strkey)).into() } - unsafe extern "system" fn GetMyRoles, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, proles: *mut CERTADMIN_GET_ROLES_FLAGS) -> windows_core::HRESULT { + unsafe extern "system" fn GetMyRoles, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, proles: *mut CERTADMIN_GET_ROLES_FLAGS) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin2_Impl::GetMyRoles(this, core::mem::transmute(&strconfig)) { @@ -1620,7 +1620,7 @@ impl ICertAdmin2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteRow, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, flags: CERT_DELETE_ROW_FLAGS, date: f64, table: CVRC_TABLE, rowid: i32, pcdeleted: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteRow, Impl: ICertAdmin2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, flags: CERT_DELETE_ROW_FLAGS, date: f64, table: CVRC_TABLE, rowid: i32, pcdeleted: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertAdmin2_Impl::DeleteRow(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&date), core::mem::transmute_copy(&table), core::mem::transmute_copy(&rowid)) { @@ -1684,7 +1684,7 @@ impl ICertConfig_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetField, Impl: ICertConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfieldname: std::mem::MaybeUninit, pstrout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetField, Impl: ICertConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfieldname: core::mem::MaybeUninit, pstrout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertConfig_Impl::GetField(this, core::mem::transmute(&strfieldname)) { @@ -1695,7 +1695,7 @@ impl ICertConfig_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetConfig, Impl: ICertConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, pstrout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetConfig, Impl: ICertConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, pstrout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertConfig_Impl::GetConfig(this, core::mem::transmute_copy(&flags)) { @@ -1727,7 +1727,7 @@ impl windows_core::RuntimeName for ICertConfig2 {} #[cfg(feature = "Win32_System_Com")] impl ICertConfig2_Vtbl { pub const fn new, Impl: ICertConfig2_Impl, const OFFSET: isize>() -> ICertConfig2_Vtbl { - unsafe extern "system" fn SetSharedFolder, Impl: ICertConfig2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsharedfolder: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSharedFolder, Impl: ICertConfig2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsharedfolder: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertConfig2_Impl::SetSharedFolder(this, core::mem::transmute(&strsharedfolder)).into() @@ -1753,7 +1753,7 @@ impl windows_core::RuntimeName for ICertEncodeAltName {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeAltName_Vtbl { pub const fn new, Impl: ICertEncodeAltName_Impl, const OFFSET: isize>() -> ICertEncodeAltName_Vtbl { - unsafe extern "system" fn Decode, Impl: ICertEncodeAltName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Decode, Impl: ICertEncodeAltName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeAltName_Impl::Decode(this, core::mem::transmute(&strbinary)).into() @@ -1780,7 +1780,7 @@ impl ICertEncodeAltName_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetName, Impl: ICertEncodeAltName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nameindex: i32, pstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: ICertEncodeAltName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nameindex: i32, pstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeAltName_Impl::GetName(this, core::mem::transmute_copy(&nameindex)) { @@ -1796,12 +1796,12 @@ impl ICertEncodeAltName_Vtbl { let this = (*this).get_impl(); ICertEncodeAltName_Impl::Reset(this, core::mem::transmute_copy(&namecount)).into() } - unsafe extern "system" fn SetNameEntry, Impl: ICertEncodeAltName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nameindex: i32, namechoice: CERT_ALT_NAME, strname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNameEntry, Impl: ICertEncodeAltName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nameindex: i32, namechoice: CERT_ALT_NAME, strname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeAltName_Impl::SetNameEntry(this, core::mem::transmute_copy(&nameindex), core::mem::transmute_copy(&namechoice), core::mem::transmute(&strname)).into() } - unsafe extern "system" fn Encode, Impl: ICertEncodeAltName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Encode, Impl: ICertEncodeAltName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeAltName_Impl::Encode(this) { @@ -1839,12 +1839,12 @@ impl windows_core::RuntimeName for ICertEncodeAltName2 {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeAltName2_Vtbl { pub const fn new, Impl: ICertEncodeAltName2_Impl, const OFFSET: isize>() -> ICertEncodeAltName2_Vtbl { - unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeAltName2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeAltName2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeAltName2_Impl::DecodeBlob(this, core::mem::transmute(&strencodeddata), core::mem::transmute_copy(&encoding)).into() } - unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeAltName2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeAltName2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeAltName2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { @@ -1855,7 +1855,7 @@ impl ICertEncodeAltName2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetNameBlob, Impl: ICertEncodeAltName2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nameindex: i32, encoding: EncodingType, pstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetNameBlob, Impl: ICertEncodeAltName2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nameindex: i32, encoding: EncodingType, pstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeAltName2_Impl::GetNameBlob(this, core::mem::transmute_copy(&nameindex), core::mem::transmute_copy(&encoding)) { @@ -1866,7 +1866,7 @@ impl ICertEncodeAltName2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNameEntryBlob, Impl: ICertEncodeAltName2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nameindex: i32, namechoice: i32, strname: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn SetNameEntryBlob, Impl: ICertEncodeAltName2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nameindex: i32, namechoice: i32, strname: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeAltName2_Impl::SetNameEntryBlob(this, core::mem::transmute_copy(&nameindex), core::mem::transmute_copy(&namechoice), core::mem::transmute(&strname), core::mem::transmute_copy(&encoding)).into() @@ -1895,7 +1895,7 @@ impl windows_core::RuntimeName for ICertEncodeBitString {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeBitString_Vtbl { pub const fn new, Impl: ICertEncodeBitString_Impl, const OFFSET: isize>() -> ICertEncodeBitString_Vtbl { - unsafe extern "system" fn Decode, Impl: ICertEncodeBitString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Decode, Impl: ICertEncodeBitString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeBitString_Impl::Decode(this, core::mem::transmute(&strbinary)).into() @@ -1911,7 +1911,7 @@ impl ICertEncodeBitString_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetBitString, Impl: ICertEncodeBitString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbitstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBitString, Impl: ICertEncodeBitString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbitstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeBitString_Impl::GetBitString(this) { @@ -1922,7 +1922,7 @@ impl ICertEncodeBitString_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Encode, Impl: ICertEncodeBitString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bitcount: i32, strbitstring: std::mem::MaybeUninit, pstrbinary: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Encode, Impl: ICertEncodeBitString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bitcount: i32, strbitstring: core::mem::MaybeUninit, pstrbinary: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeBitString_Impl::Encode(this, core::mem::transmute_copy(&bitcount), core::mem::transmute(&strbitstring)) { @@ -1956,12 +1956,12 @@ impl windows_core::RuntimeName for ICertEncodeBitString2 {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeBitString2_Vtbl { pub const fn new, Impl: ICertEncodeBitString2_Impl, const OFFSET: isize>() -> ICertEncodeBitString2_Vtbl { - unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeBitString2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeBitString2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeBitString2_Impl::DecodeBlob(this, core::mem::transmute(&strencodeddata), core::mem::transmute_copy(&encoding)).into() } - unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeBitString2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bitcount: i32, strbitstring: std::mem::MaybeUninit, encodingin: EncodingType, encoding: EncodingType, pstrencodeddata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeBitString2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bitcount: i32, strbitstring: core::mem::MaybeUninit, encodingin: EncodingType, encoding: EncodingType, pstrencodeddata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeBitString2_Impl::EncodeBlob(this, core::mem::transmute_copy(&bitcount), core::mem::transmute(&strbitstring), core::mem::transmute_copy(&encodingin), core::mem::transmute_copy(&encoding)) { @@ -1972,7 +1972,7 @@ impl ICertEncodeBitString2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetBitStringBlob, Impl: ICertEncodeBitString2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrbitstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBitStringBlob, Impl: ICertEncodeBitString2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrbitstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeBitString2_Impl::GetBitStringBlob(this, core::mem::transmute_copy(&encoding)) { @@ -2011,7 +2011,7 @@ impl windows_core::RuntimeName for ICertEncodeCRLDistInfo {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeCRLDistInfo_Vtbl { pub const fn new, Impl: ICertEncodeCRLDistInfo_Impl, const OFFSET: isize>() -> ICertEncodeCRLDistInfo_Vtbl { - unsafe extern "system" fn Decode, Impl: ICertEncodeCRLDistInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Decode, Impl: ICertEncodeCRLDistInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeCRLDistInfo_Impl::Decode(this, core::mem::transmute(&strbinary)).into() @@ -2049,7 +2049,7 @@ impl ICertEncodeCRLDistInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetName, Impl: ICertEncodeCRLDistInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, distpointindex: i32, nameindex: i32, pstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: ICertEncodeCRLDistInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, distpointindex: i32, nameindex: i32, pstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeCRLDistInfo_Impl::GetName(this, core::mem::transmute_copy(&distpointindex), core::mem::transmute_copy(&nameindex)) { @@ -2070,12 +2070,12 @@ impl ICertEncodeCRLDistInfo_Vtbl { let this = (*this).get_impl(); ICertEncodeCRLDistInfo_Impl::SetNameCount(this, core::mem::transmute_copy(&distpointindex), core::mem::transmute_copy(&namecount)).into() } - unsafe extern "system" fn SetNameEntry, Impl: ICertEncodeCRLDistInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, distpointindex: i32, nameindex: i32, namechoice: CERT_ALT_NAME, strname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNameEntry, Impl: ICertEncodeCRLDistInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, distpointindex: i32, nameindex: i32, namechoice: CERT_ALT_NAME, strname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeCRLDistInfo_Impl::SetNameEntry(this, core::mem::transmute_copy(&distpointindex), core::mem::transmute_copy(&nameindex), core::mem::transmute_copy(&namechoice), core::mem::transmute(&strname)).into() } - unsafe extern "system" fn Encode, Impl: ICertEncodeCRLDistInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Encode, Impl: ICertEncodeCRLDistInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeCRLDistInfo_Impl::Encode(this) { @@ -2113,12 +2113,12 @@ impl windows_core::RuntimeName for ICertEncodeCRLDistInfo2 {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeCRLDistInfo2_Vtbl { pub const fn new, Impl: ICertEncodeCRLDistInfo2_Impl, const OFFSET: isize>() -> ICertEncodeCRLDistInfo2_Vtbl { - unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeCRLDistInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeCRLDistInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeCRLDistInfo2_Impl::DecodeBlob(this, core::mem::transmute(&strencodeddata), core::mem::transmute_copy(&encoding)).into() } - unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeCRLDistInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeCRLDistInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeCRLDistInfo2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { @@ -2153,7 +2153,7 @@ impl windows_core::RuntimeName for ICertEncodeDateArray {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeDateArray_Vtbl { pub const fn new, Impl: ICertEncodeDateArray_Impl, const OFFSET: isize>() -> ICertEncodeDateArray_Vtbl { - unsafe extern "system" fn Decode, Impl: ICertEncodeDateArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Decode, Impl: ICertEncodeDateArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeDateArray_Impl::Decode(this, core::mem::transmute(&strbinary)).into() @@ -2190,7 +2190,7 @@ impl ICertEncodeDateArray_Vtbl { let this = (*this).get_impl(); ICertEncodeDateArray_Impl::SetValue(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn Encode, Impl: ICertEncodeDateArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Encode, Impl: ICertEncodeDateArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeDateArray_Impl::Encode(this) { @@ -2225,12 +2225,12 @@ impl windows_core::RuntimeName for ICertEncodeDateArray2 {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeDateArray2_Vtbl { pub const fn new, Impl: ICertEncodeDateArray2_Impl, const OFFSET: isize>() -> ICertEncodeDateArray2_Vtbl { - unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeDateArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeDateArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeDateArray2_Impl::DecodeBlob(this, core::mem::transmute(&strencodeddata), core::mem::transmute_copy(&encoding)).into() } - unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeDateArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeDateArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeDateArray2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { @@ -2265,7 +2265,7 @@ impl windows_core::RuntimeName for ICertEncodeLongArray {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeLongArray_Vtbl { pub const fn new, Impl: ICertEncodeLongArray_Impl, const OFFSET: isize>() -> ICertEncodeLongArray_Vtbl { - unsafe extern "system" fn Decode, Impl: ICertEncodeLongArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Decode, Impl: ICertEncodeLongArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeLongArray_Impl::Decode(this, core::mem::transmute(&strbinary)).into() @@ -2302,7 +2302,7 @@ impl ICertEncodeLongArray_Vtbl { let this = (*this).get_impl(); ICertEncodeLongArray_Impl::SetValue(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn Encode, Impl: ICertEncodeLongArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Encode, Impl: ICertEncodeLongArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeLongArray_Impl::Encode(this) { @@ -2337,12 +2337,12 @@ impl windows_core::RuntimeName for ICertEncodeLongArray2 {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeLongArray2_Vtbl { pub const fn new, Impl: ICertEncodeLongArray2_Impl, const OFFSET: isize>() -> ICertEncodeLongArray2_Vtbl { - unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeLongArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeLongArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeLongArray2_Impl::DecodeBlob(this, core::mem::transmute(&strencodeddata), core::mem::transmute_copy(&encoding)).into() } - unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeLongArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeLongArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeLongArray2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { @@ -2378,7 +2378,7 @@ impl windows_core::RuntimeName for ICertEncodeStringArray {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeStringArray_Vtbl { pub const fn new, Impl: ICertEncodeStringArray_Impl, const OFFSET: isize>() -> ICertEncodeStringArray_Vtbl { - unsafe extern "system" fn Decode, Impl: ICertEncodeStringArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Decode, Impl: ICertEncodeStringArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strbinary: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeStringArray_Impl::Decode(this, core::mem::transmute(&strbinary)).into() @@ -2405,7 +2405,7 @@ impl ICertEncodeStringArray_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: ICertEncodeStringArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: ICertEncodeStringArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeStringArray_Impl::GetValue(this, core::mem::transmute_copy(&index)) { @@ -2421,12 +2421,12 @@ impl ICertEncodeStringArray_Vtbl { let this = (*this).get_impl(); ICertEncodeStringArray_Impl::Reset(this, core::mem::transmute_copy(&count), core::mem::transmute_copy(&stringtype)).into() } - unsafe extern "system" fn SetValue, Impl: ICertEncodeStringArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, str: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ICertEncodeStringArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, str: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeStringArray_Impl::SetValue(this, core::mem::transmute_copy(&index), core::mem::transmute(&str)).into() } - unsafe extern "system" fn Encode, Impl: ICertEncodeStringArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Encode, Impl: ICertEncodeStringArray_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrbinary: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeStringArray_Impl::Encode(this) { @@ -2462,12 +2462,12 @@ impl windows_core::RuntimeName for ICertEncodeStringArray2 {} #[cfg(feature = "Win32_System_Com")] impl ICertEncodeStringArray2_Vtbl { pub const fn new, Impl: ICertEncodeStringArray2_Impl, const OFFSET: isize>() -> ICertEncodeStringArray2_Vtbl { - unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeStringArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn DecodeBlob, Impl: ICertEncodeStringArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertEncodeStringArray2_Impl::DecodeBlob(this, core::mem::transmute(&strencodeddata), core::mem::transmute_copy(&encoding)).into() } - unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeStringArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EncodeBlob, Impl: ICertEncodeStringArray2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrencodeddata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertEncodeStringArray2_Impl::EncodeBlob(this, core::mem::transmute_copy(&encoding)) { @@ -2499,7 +2499,7 @@ impl windows_core::RuntimeName for ICertExit {} #[cfg(feature = "Win32_System_Com")] impl ICertExit_Vtbl { pub const fn new, Impl: ICertExit_Impl, const OFFSET: isize>() -> ICertExit_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, peventmask: *mut CERT_EXIT_EVENT_MASK) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, peventmask: *mut CERT_EXIT_EVENT_MASK) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertExit_Impl::Initialize(this, core::mem::transmute(&strconfig)) { @@ -2515,7 +2515,7 @@ impl ICertExit_Vtbl { let this = (*this).get_impl(); ICertExit_Impl::Notify(this, core::mem::transmute_copy(&exitevent), core::mem::transmute_copy(&context)).into() } - unsafe extern "system" fn GetDescription, Impl: ICertExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: ICertExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertExit_Impl::GetDescription(this) { @@ -2572,7 +2572,7 @@ impl windows_core::RuntimeName for ICertGetConfig {} #[cfg(feature = "Win32_System_Com")] impl ICertGetConfig_Vtbl { pub const fn new, Impl: ICertGetConfig_Impl, const OFFSET: isize>() -> ICertGetConfig_Vtbl { - unsafe extern "system" fn GetConfig, Impl: ICertGetConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: CERT_GET_CONFIG_FLAGS, pstrout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetConfig, Impl: ICertGetConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: CERT_GET_CONFIG_FLAGS, pstrout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertGetConfig_Impl::GetConfig(this, core::mem::transmute_copy(&flags)) { @@ -2600,7 +2600,7 @@ impl windows_core::RuntimeName for ICertManageModule {} #[cfg(feature = "Win32_System_Com")] impl ICertManageModule_Vtbl { pub const fn new, Impl: ICertManageModule_Impl, const OFFSET: isize>() -> ICertManageModule_Vtbl { - unsafe extern "system" fn GetProperty, Impl: ICertManageModule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, strstoragelocation: std::mem::MaybeUninit, strpropertyname: std::mem::MaybeUninit, flags: i32, pvarproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: ICertManageModule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, strstoragelocation: core::mem::MaybeUninit, strpropertyname: core::mem::MaybeUninit, flags: i32, pvarproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertManageModule_Impl::GetProperty(this, core::mem::transmute(&strconfig), core::mem::transmute(&strstoragelocation), core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&flags)) { @@ -2611,12 +2611,12 @@ impl ICertManageModule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: ICertManageModule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, strstoragelocation: std::mem::MaybeUninit, strpropertyname: std::mem::MaybeUninit, flags: i32, pvarproperty: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: ICertManageModule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, strstoragelocation: core::mem::MaybeUninit, strpropertyname: core::mem::MaybeUninit, flags: i32, pvarproperty: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertManageModule_Impl::SetProperty(this, core::mem::transmute(&strconfig), core::mem::transmute(&strstoragelocation), core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&pvarproperty)).into() } - unsafe extern "system" fn Configure, Impl: ICertManageModule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, strstoragelocation: std::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Configure, Impl: ICertManageModule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, strstoragelocation: core::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertManageModule_Impl::Configure(this, core::mem::transmute(&strconfig), core::mem::transmute(&strstoragelocation), core::mem::transmute_copy(&flags)).into() @@ -2644,12 +2644,12 @@ impl windows_core::RuntimeName for ICertPolicy {} #[cfg(feature = "Win32_System_Com")] impl ICertPolicy_Vtbl { pub const fn new, Impl: ICertPolicy_Impl, const OFFSET: isize>() -> ICertPolicy_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPolicy_Impl::Initialize(this, core::mem::transmute(&strconfig)).into() } - unsafe extern "system" fn VerifyRequest, Impl: ICertPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, context: i32, bnewrequest: i32, flags: i32, pdisposition: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn VerifyRequest, Impl: ICertPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, context: i32, bnewrequest: i32, flags: i32, pdisposition: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPolicy_Impl::VerifyRequest(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&context), core::mem::transmute_copy(&bnewrequest), core::mem::transmute_copy(&flags)) { @@ -2660,7 +2660,7 @@ impl ICertPolicy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescription, Impl: ICertPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: ICertPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPolicy_Impl::GetDescription(this) { @@ -2777,7 +2777,7 @@ impl ICertProperties_Vtbl { let this = (*this).get_impl(); ICertProperties_Impl::Clear(this).into() } - unsafe extern "system" fn InitializeFromCertificate, Impl: ICertProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromCertificate, Impl: ICertProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertProperties_Impl::InitializeFromCertificate(this, core::mem::transmute_copy(&machinecontext), core::mem::transmute_copy(&encoding), core::mem::transmute(&strcertificate)).into() @@ -2812,12 +2812,12 @@ impl windows_core::RuntimeName for ICertProperty {} #[cfg(feature = "Win32_System_Com")] impl ICertProperty_Vtbl { pub const fn new, Impl: ICertProperty_Impl, const OFFSET: isize>() -> ICertProperty_Vtbl { - unsafe extern "system" fn InitializeFromCertificate, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromCertificate, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertProperty_Impl::InitializeFromCertificate(this, core::mem::transmute_copy(&machinecontext), core::mem::transmute_copy(&encoding), core::mem::transmute(&strcertificate)).into() } - unsafe extern "system" fn InitializeDecode, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertProperty_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -2838,7 +2838,7 @@ impl ICertProperty_Vtbl { let this = (*this).get_impl(); ICertProperty_Impl::SetPropertyId(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn get_RawData, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RawData, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertProperty_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { @@ -2849,12 +2849,12 @@ impl ICertProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoveFromCertificate, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveFromCertificate, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertProperty_Impl::RemoveFromCertificate(this, core::mem::transmute_copy(&machinecontext), core::mem::transmute_copy(&encoding), core::mem::transmute(&strcertificate)).into() } - unsafe extern "system" fn SetValueOnCertificate, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValueOnCertificate, Impl: ICertProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertProperty_Impl::SetValueOnCertificate(this, core::mem::transmute_copy(&machinecontext), core::mem::transmute_copy(&encoding), core::mem::transmute(&strcertificate)).into() @@ -2920,12 +2920,12 @@ impl windows_core::RuntimeName for ICertPropertyArchivedKeyHash {} #[cfg(feature = "Win32_System_Com")] impl ICertPropertyArchivedKeyHash_Vtbl { pub const fn new, Impl: ICertPropertyArchivedKeyHash_Impl, const OFFSET: isize>() -> ICertPropertyArchivedKeyHash_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPropertyArchivedKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strarchivedkeyhashvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPropertyArchivedKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strarchivedkeyhashvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertyArchivedKeyHash_Impl::Initialize(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strarchivedkeyhashvalue)).into() } - unsafe extern "system" fn get_ArchivedKeyHash, Impl: ICertPropertyArchivedKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_ArchivedKeyHash, Impl: ICertPropertyArchivedKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyArchivedKeyHash_Impl::get_ArchivedKeyHash(this, core::mem::transmute_copy(&encoding)) { @@ -2956,12 +2956,12 @@ impl windows_core::RuntimeName for ICertPropertyAutoEnroll {} #[cfg(feature = "Win32_System_Com")] impl ICertPropertyAutoEnroll_Vtbl { pub const fn new, Impl: ICertPropertyAutoEnroll_Impl, const OFFSET: isize>() -> ICertPropertyAutoEnroll_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPropertyAutoEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPropertyAutoEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertyAutoEnroll_Impl::Initialize(this, core::mem::transmute(&strtemplatename)).into() } - unsafe extern "system" fn TemplateName, Impl: ICertPropertyAutoEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TemplateName, Impl: ICertPropertyAutoEnroll_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyAutoEnroll_Impl::TemplateName(this) { @@ -3048,12 +3048,12 @@ impl windows_core::RuntimeName for ICertPropertyDescription {} #[cfg(feature = "Win32_System_Com")] impl ICertPropertyDescription_Vtbl { pub const fn new, Impl: ICertPropertyDescription_Impl, const OFFSET: isize>() -> ICertPropertyDescription_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertyDescription_Impl::Initialize(this, core::mem::transmute(&strdescription)).into() } - unsafe extern "system" fn Description, Impl: ICertPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: ICertPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyDescription_Impl::Description(this) { @@ -3087,7 +3087,7 @@ impl windows_core::RuntimeName for ICertPropertyEnrollment {} #[cfg(feature = "Win32_System_Com")] impl ICertPropertyEnrollment_Vtbl { pub const fn new, Impl: ICertPropertyEnrollment_Impl, const OFFSET: isize>() -> ICertPropertyEnrollment_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPropertyEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requestid: i32, strcadnsname: std::mem::MaybeUninit, strcaname: std::mem::MaybeUninit, strfriendlyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPropertyEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requestid: i32, strcadnsname: core::mem::MaybeUninit, strcaname: core::mem::MaybeUninit, strfriendlyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertyEnrollment_Impl::Initialize(this, core::mem::transmute_copy(&requestid), core::mem::transmute(&strcadnsname), core::mem::transmute(&strcaname), core::mem::transmute(&strfriendlyname)).into() @@ -3103,7 +3103,7 @@ impl ICertPropertyEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CADnsName, Impl: ICertPropertyEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CADnsName, Impl: ICertPropertyEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyEnrollment_Impl::CADnsName(this) { @@ -3114,7 +3114,7 @@ impl ICertPropertyEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CAName, Impl: ICertPropertyEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CAName, Impl: ICertPropertyEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyEnrollment_Impl::CAName(this) { @@ -3125,7 +3125,7 @@ impl ICertPropertyEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FriendlyName, Impl: ICertPropertyEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: ICertPropertyEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyEnrollment_Impl::FriendlyName(this) { @@ -3166,12 +3166,12 @@ impl windows_core::RuntimeName for ICertPropertyEnrollmentPolicyServer {} #[cfg(feature = "Win32_System_Com")] impl ICertPropertyEnrollmentPolicyServer_Vtbl { pub const fn new, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>() -> ICertPropertyEnrollmentPolicyServer_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyflags: EnrollmentPolicyServerPropertyFlags, authflags: X509EnrollmentAuthFlags, enrollmentserverauthflags: X509EnrollmentAuthFlags, urlflags: PolicyServerUrlFlags, strrequestid: std::mem::MaybeUninit, strurl: std::mem::MaybeUninit, strid: std::mem::MaybeUninit, strenrollmentserverurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyflags: EnrollmentPolicyServerPropertyFlags, authflags: X509EnrollmentAuthFlags, enrollmentserverauthflags: X509EnrollmentAuthFlags, urlflags: PolicyServerUrlFlags, strrequestid: core::mem::MaybeUninit, strurl: core::mem::MaybeUninit, strid: core::mem::MaybeUninit, strenrollmentserverurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertyEnrollmentPolicyServer_Impl::Initialize(this, core::mem::transmute_copy(&propertyflags), core::mem::transmute_copy(&authflags), core::mem::transmute_copy(&enrollmentserverauthflags), core::mem::transmute_copy(&urlflags), core::mem::transmute(&strrequestid), core::mem::transmute(&strurl), core::mem::transmute(&strid), core::mem::transmute(&strenrollmentserverurl)).into() } - unsafe extern "system" fn GetPolicyServerUrl, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPolicyServerUrl, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetPolicyServerUrl(this) { @@ -3182,7 +3182,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPolicyServerId, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPolicyServerId, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetPolicyServerId(this) { @@ -3193,7 +3193,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetEnrollmentServerUrl, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEnrollmentServerUrl, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetEnrollmentServerUrl(this) { @@ -3204,7 +3204,7 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRequestIdString, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRequestIdString, Impl: ICertPropertyEnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyEnrollmentPolicyServer_Impl::GetRequestIdString(this) { @@ -3286,12 +3286,12 @@ impl windows_core::RuntimeName for ICertPropertyFriendlyName {} #[cfg(feature = "Win32_System_Com")] impl ICertPropertyFriendlyName_Vtbl { pub const fn new, Impl: ICertPropertyFriendlyName_Impl, const OFFSET: isize>() -> ICertPropertyFriendlyName_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPropertyFriendlyName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfriendlyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPropertyFriendlyName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfriendlyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertyFriendlyName_Impl::Initialize(this, core::mem::transmute(&strfriendlyname)).into() } - unsafe extern "system" fn FriendlyName, Impl: ICertPropertyFriendlyName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: ICertPropertyFriendlyName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyFriendlyName_Impl::FriendlyName(this) { @@ -3359,17 +3359,17 @@ impl windows_core::RuntimeName for ICertPropertyRenewal {} #[cfg(feature = "Win32_System_Com")] impl ICertPropertyRenewal_Vtbl { pub const fn new, Impl: ICertPropertyRenewal_Impl, const OFFSET: isize>() -> ICertPropertyRenewal_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPropertyRenewal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strrenewalvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPropertyRenewal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strrenewalvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertyRenewal_Impl::Initialize(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strrenewalvalue)).into() } - unsafe extern "system" fn InitializeFromCertificateHash, Impl: ICertPropertyRenewal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromCertificateHash, Impl: ICertPropertyRenewal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, encoding: EncodingType, strcertificate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertyRenewal_Impl::InitializeFromCertificateHash(this, core::mem::transmute_copy(&machinecontext), core::mem::transmute_copy(&encoding), core::mem::transmute(&strcertificate)).into() } - unsafe extern "system" fn get_Renewal, Impl: ICertPropertyRenewal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Renewal, Impl: ICertPropertyRenewal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyRenewal_Impl::get_Renewal(this, core::mem::transmute_copy(&encoding)) { @@ -3402,7 +3402,7 @@ impl windows_core::RuntimeName for ICertPropertyRequestOriginator {} #[cfg(feature = "Win32_System_Com")] impl ICertPropertyRequestOriginator_Vtbl { pub const fn new, Impl: ICertPropertyRequestOriginator_Impl, const OFFSET: isize>() -> ICertPropertyRequestOriginator_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPropertyRequestOriginator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strrequestoriginator: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPropertyRequestOriginator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strrequestoriginator: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertyRequestOriginator_Impl::Initialize(this, core::mem::transmute(&strrequestoriginator)).into() @@ -3412,7 +3412,7 @@ impl ICertPropertyRequestOriginator_Vtbl { let this = (*this).get_impl(); ICertPropertyRequestOriginator_Impl::InitializeFromLocalRequestOriginator(this).into() } - unsafe extern "system" fn RequestOriginator, Impl: ICertPropertyRequestOriginator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequestOriginator, Impl: ICertPropertyRequestOriginator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertyRequestOriginator_Impl::RequestOriginator(this) { @@ -3444,12 +3444,12 @@ impl windows_core::RuntimeName for ICertPropertySHA1Hash {} #[cfg(feature = "Win32_System_Com")] impl ICertPropertySHA1Hash_Vtbl { pub const fn new, Impl: ICertPropertySHA1Hash_Impl, const OFFSET: isize>() -> ICertPropertySHA1Hash_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertPropertySHA1Hash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strrenewalvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertPropertySHA1Hash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strrenewalvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertPropertySHA1Hash_Impl::Initialize(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strrenewalvalue)).into() } - unsafe extern "system" fn get_SHA1Hash, Impl: ICertPropertySHA1Hash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_SHA1Hash, Impl: ICertPropertySHA1Hash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertPropertySHA1Hash_Impl::get_SHA1Hash(this, core::mem::transmute_copy(&encoding)) { @@ -3485,7 +3485,7 @@ impl windows_core::RuntimeName for ICertRequest {} #[cfg(feature = "Win32_System_Com")] impl ICertRequest_Vtbl { pub const fn new, Impl: ICertRequest_Impl, const OFFSET: isize>() -> ICertRequest_Vtbl { - unsafe extern "system" fn Submit, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strrequest: std::mem::MaybeUninit, strattributes: std::mem::MaybeUninit, strconfig: std::mem::MaybeUninit, pdisposition: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Submit, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, strrequest: core::mem::MaybeUninit, strattributes: core::mem::MaybeUninit, strconfig: core::mem::MaybeUninit, pdisposition: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest_Impl::Submit(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strrequest), core::mem::transmute(&strattributes), core::mem::transmute(&strconfig)) { @@ -3496,7 +3496,7 @@ impl ICertRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RetrievePending, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requestid: i32, strconfig: std::mem::MaybeUninit, pdisposition: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn RetrievePending, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, requestid: i32, strconfig: core::mem::MaybeUninit, pdisposition: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest_Impl::RetrievePending(this, core::mem::transmute_copy(&requestid), core::mem::transmute(&strconfig)) { @@ -3529,7 +3529,7 @@ impl ICertRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDispositionMessage, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdispositionmessage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDispositionMessage, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdispositionmessage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest_Impl::GetDispositionMessage(this) { @@ -3540,7 +3540,7 @@ impl ICertRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCACertificate, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fexchangecertificate: i32, strconfig: std::mem::MaybeUninit, flags: i32, pstrcertificate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCACertificate, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fexchangecertificate: i32, strconfig: core::mem::MaybeUninit, flags: i32, pstrcertificate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest_Impl::GetCACertificate(this, core::mem::transmute_copy(&fexchangecertificate), core::mem::transmute(&strconfig), core::mem::transmute_copy(&flags)) { @@ -3551,7 +3551,7 @@ impl ICertRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCertificate, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, pstrcertificate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCertificate, Impl: ICertRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, pstrcertificate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest_Impl::GetCertificate(this, core::mem::transmute_copy(&flags)) { @@ -3591,7 +3591,7 @@ impl windows_core::RuntimeName for ICertRequest2 {} #[cfg(feature = "Win32_System_Com")] impl ICertRequest2_Vtbl { pub const fn new, Impl: ICertRequest2_Impl, const OFFSET: isize>() -> ICertRequest2_Vtbl { - unsafe extern "system" fn GetIssuedCertificate, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, requestid: i32, strserialnumber: std::mem::MaybeUninit, pdisposition: *mut CR_DISP) -> windows_core::HRESULT { + unsafe extern "system" fn GetIssuedCertificate, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, requestid: i32, strserialnumber: core::mem::MaybeUninit, pdisposition: *mut CR_DISP) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest2_Impl::GetIssuedCertificate(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&requestid), core::mem::transmute(&strserialnumber)) { @@ -3602,7 +3602,7 @@ impl ICertRequest2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetErrorMessageText, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrmessage: i32, flags: i32, pstrerrormessagetext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetErrorMessageText, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrmessage: i32, flags: i32, pstrerrormessagetext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest2_Impl::GetErrorMessageText(this, core::mem::transmute_copy(&hrmessage), core::mem::transmute_copy(&flags)) { @@ -3613,7 +3613,7 @@ impl ICertRequest2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCAProperty, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, propid: i32, propindex: i32, proptype: i32, flags: i32, pvarpropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCAProperty, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, propid: i32, propindex: i32, proptype: i32, flags: i32, pvarpropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest2_Impl::GetCAProperty(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid), core::mem::transmute_copy(&propindex), core::mem::transmute_copy(&proptype), core::mem::transmute_copy(&flags)) { @@ -3624,7 +3624,7 @@ impl ICertRequest2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCAPropertyFlags, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, propid: i32, ppropflags: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetCAPropertyFlags, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, propid: i32, ppropflags: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest2_Impl::GetCAPropertyFlags(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid)) { @@ -3635,7 +3635,7 @@ impl ICertRequest2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCAPropertyDisplayName, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, propid: i32, pstrdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCAPropertyDisplayName, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, propid: i32, pstrdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest2_Impl::GetCAPropertyDisplayName(this, core::mem::transmute(&strconfig), core::mem::transmute_copy(&propid)) { @@ -3646,7 +3646,7 @@ impl ICertRequest2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFullResponseProperty, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propid: FULL_RESPONSE_PROPERTY_ID, propindex: i32, proptype: CERT_PROPERTY_TYPE, flags: CERT_REQUEST_OUT_TYPE, pvarpropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFullResponseProperty, Impl: ICertRequest2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propid: FULL_RESPONSE_PROPERTY_ID, propindex: i32, proptype: CERT_PROPERTY_TYPE, flags: CERT_REQUEST_OUT_TYPE, pvarpropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest2_Impl::GetFullResponseProperty(this, core::mem::transmute_copy(&propid), core::mem::transmute_copy(&propindex), core::mem::transmute_copy(&proptype), core::mem::transmute_copy(&flags)) { @@ -3683,12 +3683,12 @@ impl windows_core::RuntimeName for ICertRequest3 {} #[cfg(feature = "Win32_System_Com")] impl ICertRequest3_Vtbl { pub const fn new, Impl: ICertRequest3_Impl, const OFFSET: isize>() -> ICertRequest3_Vtbl { - unsafe extern "system" fn SetCredential, Impl: ICertRequest3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: i32, authtype: X509EnrollmentAuthFlags, strcredential: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCredential, Impl: ICertRequest3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: i32, authtype: X509EnrollmentAuthFlags, strcredential: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertRequest3_Impl::SetCredential(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&authtype), core::mem::transmute(&strcredential), core::mem::transmute(&strpassword)).into() } - unsafe extern "system" fn GetRequestIdString, Impl: ICertRequest3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrrequestid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRequestIdString, Impl: ICertRequest3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrrequestid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest3_Impl::GetRequestIdString(this) { @@ -3699,7 +3699,7 @@ impl ICertRequest3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetIssuedCertificate2, Impl: ICertRequest3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit, strrequestid: std::mem::MaybeUninit, strserialnumber: std::mem::MaybeUninit, pdisposition: *mut CR_DISP) -> windows_core::HRESULT { + unsafe extern "system" fn GetIssuedCertificate2, Impl: ICertRequest3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit, strrequestid: core::mem::MaybeUninit, strserialnumber: core::mem::MaybeUninit, pdisposition: *mut CR_DISP) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertRequest3_Impl::GetIssuedCertificate2(this, core::mem::transmute(&strconfig), core::mem::transmute(&strrequestid), core::mem::transmute(&strserialnumber)) { @@ -3845,7 +3845,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); ICertServerExit_Impl::SetContext(this, core::mem::transmute_copy(&context)).into() } - unsafe extern "system" fn GetRequestProperty, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit, propertytype: i32, pvarpropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRequestProperty, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit, propertytype: i32, pvarpropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerExit_Impl::GetRequestProperty(this, core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&propertytype)) { @@ -3856,7 +3856,7 @@ impl ICertServerExit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRequestAttribute, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strattributename: std::mem::MaybeUninit, pstrattributevalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRequestAttribute, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strattributename: core::mem::MaybeUninit, pstrattributevalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerExit_Impl::GetRequestAttribute(this, core::mem::transmute(&strattributename)) { @@ -3867,7 +3867,7 @@ impl ICertServerExit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCertificateProperty, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit, propertytype: i32, pvarpropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCertificateProperty, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit, propertytype: i32, pvarpropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerExit_Impl::GetCertificateProperty(this, core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&propertytype)) { @@ -3878,7 +3878,7 @@ impl ICertServerExit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCertificateExtension, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strextensionname: std::mem::MaybeUninit, r#type: i32, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCertificateExtension, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strextensionname: core::mem::MaybeUninit, r#type: i32, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerExit_Impl::GetCertificateExtension(this, core::mem::transmute(&strextensionname), core::mem::transmute_copy(&r#type)) { @@ -3905,7 +3905,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); ICertServerExit_Impl::EnumerateExtensionsSetup(this, core::mem::transmute_copy(&flags)).into() } - unsafe extern "system" fn EnumerateExtensions, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrextensionname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateExtensions, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrextensionname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerExit_Impl::EnumerateExtensions(this) { @@ -3926,7 +3926,7 @@ impl ICertServerExit_Vtbl { let this = (*this).get_impl(); ICertServerExit_Impl::EnumerateAttributesSetup(this, core::mem::transmute_copy(&flags)).into() } - unsafe extern "system" fn EnumerateAttributes, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrattributename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateAttributes, Impl: ICertServerExit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrattributename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerExit_Impl::EnumerateAttributes(this) { @@ -3989,7 +3989,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); ICertServerPolicy_Impl::SetContext(this, core::mem::transmute_copy(&context)).into() } - unsafe extern "system" fn GetRequestProperty, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit, propertytype: i32, pvarpropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRequestProperty, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit, propertytype: i32, pvarpropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerPolicy_Impl::GetRequestProperty(this, core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&propertytype)) { @@ -4000,7 +4000,7 @@ impl ICertServerPolicy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRequestAttribute, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strattributename: std::mem::MaybeUninit, pstrattributevalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRequestAttribute, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strattributename: core::mem::MaybeUninit, pstrattributevalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerPolicy_Impl::GetRequestAttribute(this, core::mem::transmute(&strattributename)) { @@ -4011,7 +4011,7 @@ impl ICertServerPolicy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCertificateProperty, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit, propertytype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCertificateProperty, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit, propertytype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerPolicy_Impl::GetCertificateProperty(this, core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&propertytype)) { @@ -4022,12 +4022,12 @@ impl ICertServerPolicy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCertificateProperty, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: std::mem::MaybeUninit, propertytype: i32, pvarpropertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCertificateProperty, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpropertyname: core::mem::MaybeUninit, propertytype: i32, pvarpropertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertServerPolicy_Impl::SetCertificateProperty(this, core::mem::transmute(&strpropertyname), core::mem::transmute_copy(&propertytype), core::mem::transmute_copy(&pvarpropertyvalue)).into() } - unsafe extern "system" fn GetCertificateExtension, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strextensionname: std::mem::MaybeUninit, r#type: CERT_PROPERTY_TYPE, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCertificateExtension, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strextensionname: core::mem::MaybeUninit, r#type: CERT_PROPERTY_TYPE, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerPolicy_Impl::GetCertificateExtension(this, core::mem::transmute(&strextensionname), core::mem::transmute_copy(&r#type)) { @@ -4049,7 +4049,7 @@ impl ICertServerPolicy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCertificateExtension, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strextensionname: std::mem::MaybeUninit, r#type: i32, extflags: i32, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCertificateExtension, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strextensionname: core::mem::MaybeUninit, r#type: i32, extflags: i32, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertServerPolicy_Impl::SetCertificateExtension(this, core::mem::transmute(&strextensionname), core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&extflags), core::mem::transmute_copy(&pvarvalue)).into() @@ -4059,7 +4059,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); ICertServerPolicy_Impl::EnumerateExtensionsSetup(this, core::mem::transmute_copy(&flags)).into() } - unsafe extern "system" fn EnumerateExtensions, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrextensionname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateExtensions, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrextensionname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerPolicy_Impl::EnumerateExtensions(this) { @@ -4080,7 +4080,7 @@ impl ICertServerPolicy_Vtbl { let this = (*this).get_impl(); ICertServerPolicy_Impl::EnumerateAttributesSetup(this, core::mem::transmute_copy(&flags)).into() } - unsafe extern "system" fn EnumerateAttributes, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrattributename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateAttributes, Impl: ICertServerPolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrattributename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertServerPolicy_Impl::EnumerateAttributes(this) { @@ -4134,7 +4134,7 @@ impl windows_core::RuntimeName for ICertView {} #[cfg(feature = "Win32_System_Com")] impl ICertView_Vtbl { pub const fn new, Impl: ICertView_Impl, const OFFSET: isize>() -> ICertView_Vtbl { - unsafe extern "system" fn OpenConnection, Impl: ICertView_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OpenConnection, Impl: ICertView_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strconfig: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertView_Impl::OpenConnection(this, core::mem::transmute(&strconfig)).into() @@ -4155,7 +4155,7 @@ impl ICertView_Vtbl { let this = (*this).get_impl(); ICertView_Impl::GetColumnCount(this, core::mem::transmute_copy(&fresultcolumn), core::mem::transmute_copy(&pccolumn)).into() } - unsafe extern "system" fn GetColumnIndex, Impl: ICertView_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fresultcolumn: CVRC_COLUMN, strcolumnname: std::mem::MaybeUninit, pcolumnindex: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetColumnIndex, Impl: ICertView_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fresultcolumn: CVRC_COLUMN, strcolumnname: core::mem::MaybeUninit, pcolumnindex: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertView_Impl::GetColumnIndex(this, core::mem::transmute_copy(&fresultcolumn), core::mem::transmute(&strcolumnname), core::mem::transmute_copy(&pcolumnindex)).into() @@ -4170,7 +4170,7 @@ impl ICertView_Vtbl { let this = (*this).get_impl(); ICertView_Impl::SetResultColumn(this, core::mem::transmute_copy(&columnindex)).into() } - unsafe extern "system" fn SetRestriction, Impl: ICertView_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, columnindex: CERT_VIEW_COLUMN_INDEX, seekoperator: CERT_VIEW_SEEK_OPERATOR_FLAGS, sortorder: i32, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRestriction, Impl: ICertView_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, columnindex: CERT_VIEW_COLUMN_INDEX, seekoperator: CERT_VIEW_SEEK_OPERATOR_FLAGS, sortorder: i32, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertView_Impl::SetRestriction(this, core::mem::transmute_copy(&columnindex), core::mem::transmute_copy(&seekoperator), core::mem::transmute_copy(&sortorder), core::mem::transmute_copy(&pvarvalue)).into() @@ -4233,12 +4233,12 @@ impl windows_core::RuntimeName for ICertificateAttestationChallenge {} #[cfg(feature = "Win32_System_Com")] impl ICertificateAttestationChallenge_Vtbl { pub const fn new, Impl: ICertificateAttestationChallenge_Impl, const OFFSET: isize>() -> ICertificateAttestationChallenge_Vtbl { - unsafe extern "system" fn Initialize, Impl: ICertificateAttestationChallenge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strpendingfullcmcresponsewithchallenge: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ICertificateAttestationChallenge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strpendingfullcmcresponsewithchallenge: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertificateAttestationChallenge_Impl::Initialize(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strpendingfullcmcresponsewithchallenge)).into() } - unsafe extern "system" fn DecryptChallenge, Impl: ICertificateAttestationChallenge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrenvelopedpkcs7reencryptedtoca: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DecryptChallenge, Impl: ICertificateAttestationChallenge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pstrenvelopedpkcs7reencryptedtoca: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertificateAttestationChallenge_Impl::DecryptChallenge(this, core::mem::transmute_copy(&encoding)) { @@ -4249,7 +4249,7 @@ impl ICertificateAttestationChallenge_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RequestID, Impl: ICertificateAttestationChallenge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrrequestid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequestID, Impl: ICertificateAttestationChallenge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrrequestid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertificateAttestationChallenge_Impl::RequestID(this) { @@ -4281,12 +4281,12 @@ impl windows_core::RuntimeName for ICertificateAttestationChallenge2 {} #[cfg(feature = "Win32_System_Com")] impl ICertificateAttestationChallenge2_Vtbl { pub const fn new, Impl: ICertificateAttestationChallenge2_Impl, const OFFSET: isize>() -> ICertificateAttestationChallenge2_Vtbl { - unsafe extern "system" fn SetKeyContainerName, Impl: ICertificateAttestationChallenge2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetKeyContainerName, Impl: ICertificateAttestationChallenge2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertificateAttestationChallenge2_Impl::SetKeyContainerName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn put_KeyBlob, Impl: ICertificateAttestationChallenge2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_KeyBlob, Impl: ICertificateAttestationChallenge2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertificateAttestationChallenge2_Impl::put_KeyBlob(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() @@ -4495,7 +4495,7 @@ impl ICertificationAuthorities_Vtbl { let this = (*this).get_impl(); ICertificationAuthorities_Impl::ComputeSiteCosts(this).into() } - unsafe extern "system" fn get_ItemByName, Impl: ICertificationAuthorities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ItemByName, Impl: ICertificationAuthorities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertificationAuthorities_Impl::get_ItemByName(this, core::mem::transmute(&strname)) { @@ -4531,7 +4531,7 @@ impl windows_core::RuntimeName for ICertificationAuthority {} #[cfg(feature = "Win32_System_Com")] impl ICertificationAuthority_Vtbl { pub const fn new, Impl: ICertificationAuthority_Impl, const OFFSET: isize>() -> ICertificationAuthority_Vtbl { - unsafe extern "system" fn get_Property, Impl: ICertificationAuthority_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: EnrollmentCAProperty, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Property, Impl: ICertificationAuthority_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: EnrollmentCAProperty, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertificationAuthority_Impl::get_Property(this, core::mem::transmute_copy(&property)) { @@ -4751,7 +4751,7 @@ impl ICspAlgorithm_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LongName, Impl: ICspAlgorithm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LongName, Impl: ICspAlgorithm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspAlgorithm_Impl::LongName(this) { @@ -4795,7 +4795,7 @@ impl ICspAlgorithm_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ICspAlgorithm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ICspAlgorithm_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspAlgorithm_Impl::Name(this) { @@ -4910,7 +4910,7 @@ impl ICspAlgorithms_Vtbl { let this = (*this).get_impl(); ICspAlgorithms_Impl::Clear(this).into() } - unsafe extern "system" fn get_ItemByName, Impl: ICspAlgorithms_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ItemByName, Impl: ICspAlgorithms_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspAlgorithms_Impl::get_ItemByName(this, core::mem::transmute(&strname)) { @@ -4973,7 +4973,7 @@ impl windows_core::RuntimeName for ICspInformation {} #[cfg(feature = "Win32_System_Com")] impl ICspInformation_Vtbl { pub const fn new, Impl: ICspInformation_Impl, const OFFSET: isize>() -> ICspInformation_Vtbl { - unsafe extern "system" fn InitializeFromName, Impl: ICspInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromName, Impl: ICspInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICspInformation_Impl::InitializeFromName(this, core::mem::transmute(&strname)).into() @@ -5060,7 +5060,7 @@ impl ICspInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ICspInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ICspInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspInformation_Impl::Name(this) { @@ -5115,7 +5115,7 @@ impl ICspInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDefaultSecurityDescriptor, Impl: ICspInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDefaultSecurityDescriptor, Impl: ICspInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspInformation_Impl::GetDefaultSecurityDescriptor(this, core::mem::transmute_copy(&machinecontext)) { @@ -5246,7 +5246,7 @@ impl ICspInformations_Vtbl { let this = (*this).get_impl(); ICspInformations_Impl::AddAvailableCsps(this).into() } - unsafe extern "system" fn get_ItemByName, Impl: ICspInformations_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, ppcspinformation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ItemByName, Impl: ICspInformations_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, ppcspinformation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspInformations_Impl::get_ItemByName(this, core::mem::transmute(&strname)) { @@ -5257,7 +5257,7 @@ impl ICspInformations_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCspStatusFromProviderName, Impl: ICspInformations_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprovidername: std::mem::MaybeUninit, legacykeyspec: X509KeySpec, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetCspStatusFromProviderName, Impl: ICspInformations_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprovidername: core::mem::MaybeUninit, legacykeyspec: X509KeySpec, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspInformations_Impl::GetCspStatusFromProviderName(this, core::mem::transmute(&strprovidername), core::mem::transmute_copy(&legacykeyspec)) { @@ -5390,7 +5390,7 @@ impl ICspStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: ICspStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: ICspStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspStatus_Impl::DisplayName(this) { @@ -5482,7 +5482,7 @@ impl ICspStatuses_Vtbl { let this = (*this).get_impl(); ICspStatuses_Impl::Clear(this).into() } - unsafe extern "system" fn get_ItemByName, Impl: ICspStatuses_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcspname: std::mem::MaybeUninit, stralgorithmname: std::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ItemByName, Impl: ICspStatuses_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcspname: core::mem::MaybeUninit, stralgorithmname: core::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspStatuses_Impl::get_ItemByName(this, core::mem::transmute(&strcspname), core::mem::transmute(&stralgorithmname)) { @@ -5504,7 +5504,7 @@ impl ICspStatuses_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_ItemByOperations, Impl: ICspStatuses_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcspname: std::mem::MaybeUninit, stralgorithmname: std::mem::MaybeUninit, operations: AlgorithmOperationFlags, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ItemByOperations, Impl: ICspStatuses_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcspname: core::mem::MaybeUninit, stralgorithmname: core::mem::MaybeUninit, operations: AlgorithmOperationFlags, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICspStatuses_Impl::get_ItemByOperations(this, core::mem::transmute(&strcspname), core::mem::transmute(&stralgorithmname), core::mem::transmute_copy(&operations)) { @@ -6442,12 +6442,12 @@ impl IEnumCERTVIEWATTRIBUTE_Vtbl { let this = (*this).get_impl(); IEnumCERTVIEWATTRIBUTE_Impl::Next(this, core::mem::transmute_copy(&pindex)).into() } - unsafe extern "system" fn GetName, Impl: IEnumCERTVIEWATTRIBUTE_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IEnumCERTVIEWATTRIBUTE_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumCERTVIEWATTRIBUTE_Impl::GetName(this, core::mem::transmute_copy(&pstrout)).into() } - unsafe extern "system" fn GetValue, Impl: IEnumCERTVIEWATTRIBUTE_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IEnumCERTVIEWATTRIBUTE_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumCERTVIEWATTRIBUTE_Impl::GetValue(this, core::mem::transmute_copy(&pstrout)).into() @@ -6510,12 +6510,12 @@ impl IEnumCERTVIEWCOLUMN_Vtbl { let this = (*this).get_impl(); IEnumCERTVIEWCOLUMN_Impl::Next(this, core::mem::transmute_copy(&pindex)).into() } - unsafe extern "system" fn GetName, Impl: IEnumCERTVIEWCOLUMN_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IEnumCERTVIEWCOLUMN_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumCERTVIEWCOLUMN_Impl::GetName(this, core::mem::transmute_copy(&pstrout)).into() } - unsafe extern "system" fn GetDisplayName, Impl: IEnumCERTVIEWCOLUMN_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDisplayName, Impl: IEnumCERTVIEWCOLUMN_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumCERTVIEWCOLUMN_Impl::GetDisplayName(this, core::mem::transmute_copy(&pstrout)).into() @@ -6535,7 +6535,7 @@ impl IEnumCERTVIEWCOLUMN_Vtbl { let this = (*this).get_impl(); IEnumCERTVIEWCOLUMN_Impl::GetMaxLength(this, core::mem::transmute_copy(&pmaxlength)).into() } - unsafe extern "system" fn GetValue, Impl: IEnumCERTVIEWCOLUMN_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IEnumCERTVIEWCOLUMN_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumCERTVIEWCOLUMN_Impl::GetValue(this, core::mem::transmute_copy(&flags), core::mem::transmute_copy(&pvarvalue)).into() @@ -6599,7 +6599,7 @@ impl IEnumCERTVIEWEXTENSION_Vtbl { let this = (*this).get_impl(); IEnumCERTVIEWEXTENSION_Impl::Next(this, core::mem::transmute_copy(&pindex)).into() } - unsafe extern "system" fn GetName, Impl: IEnumCERTVIEWEXTENSION_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IEnumCERTVIEWEXTENSION_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumCERTVIEWEXTENSION_Impl::GetName(this, core::mem::transmute_copy(&pstrout)).into() @@ -6609,7 +6609,7 @@ impl IEnumCERTVIEWEXTENSION_Vtbl { let this = (*this).get_impl(); IEnumCERTVIEWEXTENSION_Impl::GetFlags(this, core::mem::transmute_copy(&pflags)).into() } - unsafe extern "system" fn GetValue, Impl: IEnumCERTVIEWEXTENSION_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: CERT_PROPERTY_TYPE, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IEnumCERTVIEWEXTENSION_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: CERT_PROPERTY_TYPE, flags: ENUM_CERT_COLUMN_VALUE_FLAGS, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumCERTVIEWEXTENSION_Impl::GetValue(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&pvarvalue)).into() @@ -6846,17 +6846,17 @@ impl IOCSPAdmin_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetConfiguration, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit, bforce: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetConfiguration, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit, bforce: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPAdmin_Impl::GetConfiguration(this, core::mem::transmute(&bstrservername), core::mem::transmute_copy(&bforce)).into() } - unsafe extern "system" fn SetConfiguration, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit, bforce: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetConfiguration, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit, bforce: super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPAdmin_Impl::SetConfiguration(this, core::mem::transmute(&bstrservername), core::mem::transmute_copy(&bforce)).into() } - unsafe extern "system" fn GetMyRoles, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit, proles: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetMyRoles, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit, proles: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPAdmin_Impl::GetMyRoles(this, core::mem::transmute(&bstrservername)) { @@ -6867,17 +6867,17 @@ impl IOCSPAdmin_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Ping, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Ping, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPAdmin_Impl::Ping(this, core::mem::transmute(&bstrservername)).into() } - unsafe extern "system" fn SetSecurity, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurity, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPAdmin_Impl::SetSecurity(this, core::mem::transmute(&bstrservername), core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn GetSecurity, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSecurity, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPAdmin_Impl::GetSecurity(this, core::mem::transmute(&bstrservername)) { @@ -6888,7 +6888,7 @@ impl IOCSPAdmin_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSigningCertificates, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit, pcacertvar: *const std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSigningCertificates, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit, pcacertvar: *const core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPAdmin_Impl::GetSigningCertificates(this, core::mem::transmute(&bstrservername), core::mem::transmute_copy(&pcacertvar)) { @@ -6899,7 +6899,7 @@ impl IOCSPAdmin_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetHashAlgorithms, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit, bstrcaid: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetHashAlgorithms, Impl: IOCSPAdmin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit, bstrcaid: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPAdmin_Impl::GetHashAlgorithms(this, core::mem::transmute(&bstrservername), core::mem::transmute(&bstrcaid)) { @@ -6960,7 +6960,7 @@ impl windows_core::RuntimeName for IOCSPCAConfiguration {} #[cfg(feature = "Win32_System_Com")] impl IOCSPCAConfiguration_Vtbl { pub const fn new, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>() -> IOCSPCAConfiguration_Vtbl { - unsafe extern "system" fn Identifier, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Identifier, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::Identifier(this) { @@ -6971,7 +6971,7 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CACertificate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CACertificate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::CACertificate(this) { @@ -6982,7 +6982,7 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn HashAlgorithm, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HashAlgorithm, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::HashAlgorithm(this) { @@ -6993,7 +6993,7 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHashAlgorithm, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHashAlgorithm, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPCAConfiguration_Impl::SetHashAlgorithm(this, core::mem::transmute(&newval)).into() @@ -7014,7 +7014,7 @@ impl IOCSPCAConfiguration_Vtbl { let this = (*this).get_impl(); IOCSPCAConfiguration_Impl::SetSigningFlags(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn SigningCertificate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SigningCertificate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::SigningCertificate(this) { @@ -7025,7 +7025,7 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSigningCertificate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSigningCertificate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPCAConfiguration_Impl::SetSigningCertificate(this, core::mem::transmute(&newval)).into() @@ -7057,7 +7057,7 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CSPName, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CSPName, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::CSPName(this) { @@ -7079,7 +7079,7 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProviderCLSID, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderCLSID, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::ProviderCLSID(this) { @@ -7090,12 +7090,12 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProviderCLSID, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProviderCLSID, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPCAConfiguration_Impl::SetProviderCLSID(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn ProviderProperties, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderProperties, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::ProviderProperties(this) { @@ -7106,7 +7106,7 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProviderProperties, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProviderProperties, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPCAConfiguration_Impl::SetProviderProperties(this, core::mem::transmute(&newval)).into() @@ -7122,7 +7122,7 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LocalRevocationInformation, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalRevocationInformation, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::LocalRevocationInformation(this) { @@ -7133,12 +7133,12 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalRevocationInformation, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalRevocationInformation, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPCAConfiguration_Impl::SetLocalRevocationInformation(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn SigningCertificateTemplate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SigningCertificateTemplate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::SigningCertificateTemplate(this) { @@ -7149,12 +7149,12 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSigningCertificateTemplate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSigningCertificateTemplate, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPCAConfiguration_Impl::SetSigningCertificateTemplate(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn CAConfig, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CAConfig, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfiguration_Impl::CAConfig(this) { @@ -7165,7 +7165,7 @@ impl IOCSPCAConfiguration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCAConfig, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCAConfig, Impl: IOCSPCAConfiguration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPCAConfiguration_Impl::SetCAConfig(this, core::mem::transmute(&newval)).into() @@ -7227,7 +7227,7 @@ impl IOCSPCAConfigurationCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IOCSPCAConfigurationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IOCSPCAConfigurationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfigurationCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -7249,7 +7249,7 @@ impl IOCSPCAConfigurationCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_ItemByName, Impl: IOCSPCAConfigurationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstridentifier: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_ItemByName, Impl: IOCSPCAConfigurationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstridentifier: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfigurationCollection_Impl::get_ItemByName(this, core::mem::transmute(&bstridentifier)) { @@ -7260,7 +7260,7 @@ impl IOCSPCAConfigurationCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateCAConfiguration, Impl: IOCSPCAConfigurationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstridentifier: std::mem::MaybeUninit, varcacert: std::mem::MaybeUninit, ppval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateCAConfiguration, Impl: IOCSPCAConfigurationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstridentifier: core::mem::MaybeUninit, varcacert: core::mem::MaybeUninit, ppval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPCAConfigurationCollection_Impl::CreateCAConfiguration(this, core::mem::transmute(&bstridentifier), core::mem::transmute(&varcacert)) { @@ -7271,7 +7271,7 @@ impl IOCSPCAConfigurationCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteCAConfiguration, Impl: IOCSPCAConfigurationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstridentifier: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteCAConfiguration, Impl: IOCSPCAConfigurationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstridentifier: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPCAConfigurationCollection_Impl::DeleteCAConfiguration(this, core::mem::transmute(&bstridentifier)).into() @@ -7302,7 +7302,7 @@ impl windows_core::RuntimeName for IOCSPProperty {} #[cfg(feature = "Win32_System_Com")] impl IOCSPProperty_Vtbl { pub const fn new, Impl: IOCSPProperty_Impl, const OFFSET: isize>() -> IOCSPProperty_Vtbl { - unsafe extern "system" fn Name, Impl: IOCSPProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IOCSPProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPProperty_Impl::Name(this) { @@ -7313,7 +7313,7 @@ impl IOCSPProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: IOCSPProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IOCSPProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPProperty_Impl::Value(this) { @@ -7324,7 +7324,7 @@ impl IOCSPProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IOCSPProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IOCSPProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPProperty_Impl::SetValue(this, core::mem::transmute(&newval)).into() @@ -7379,7 +7379,7 @@ impl IOCSPPropertyCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -7401,7 +7401,7 @@ impl IOCSPPropertyCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_ItemByName, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_ItemByName, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::get_ItemByName(this, core::mem::transmute(&bstrpropname)) { @@ -7412,7 +7412,7 @@ impl IOCSPPropertyCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateProperty, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: std::mem::MaybeUninit, pvarpropvalue: *const std::mem::MaybeUninit, ppval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateProperty, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: core::mem::MaybeUninit, pvarpropvalue: *const core::mem::MaybeUninit, ppval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::CreateProperty(this, core::mem::transmute(&bstrpropname), core::mem::transmute_copy(&pvarpropvalue)) { @@ -7423,17 +7423,17 @@ impl IOCSPPropertyCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteProperty, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteProperty, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPPropertyCollection_Impl::DeleteProperty(this, core::mem::transmute(&bstrpropname)).into() } - unsafe extern "system" fn InitializeFromProperties, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarproperties: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromProperties, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarproperties: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOCSPPropertyCollection_Impl::InitializeFromProperties(this, core::mem::transmute_copy(&pvarproperties)).into() } - unsafe extern "system" fn GetAllProperties, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarproperties: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAllProperties, Impl: IOCSPPropertyCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarproperties: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOCSPPropertyCollection_Impl::GetAllProperties(this) { @@ -7481,12 +7481,12 @@ impl IObjectId_Vtbl { let this = (*this).get_impl(); IObjectId_Impl::InitializeFromName(this, core::mem::transmute_copy(&name)).into() } - unsafe extern "system" fn InitializeFromValue, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromValue, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IObjectId_Impl::InitializeFromValue(this, core::mem::transmute(&strvalue)).into() } - unsafe extern "system" fn InitializeFromAlgorithmName, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags, algflags: AlgorithmFlags, stralgorithmname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromAlgorithmName, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags, algflags: AlgorithmFlags, stralgorithmname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IObjectId_Impl::InitializeFromAlgorithmName(this, core::mem::transmute_copy(&groupid), core::mem::transmute_copy(&keyflags), core::mem::transmute_copy(&algflags), core::mem::transmute(&stralgorithmname)).into() @@ -7502,7 +7502,7 @@ impl IObjectId_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FriendlyName, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IObjectId_Impl::FriendlyName(this) { @@ -7513,12 +7513,12 @@ impl IObjectId_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFriendlyName, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFriendlyName, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IObjectId_Impl::SetFriendlyName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Value, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IObjectId_Impl::Value(this) { @@ -7529,7 +7529,7 @@ impl IObjectId_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAlgorithmName, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags, pstralgorithmname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAlgorithmName, Impl: IObjectId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags, pstralgorithmname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IObjectId_Impl::GetAlgorithmName(this, core::mem::transmute_copy(&groupid), core::mem::transmute_copy(&keyflags)) { @@ -7652,7 +7652,7 @@ impl windows_core::RuntimeName for IPolicyQualifier {} #[cfg(feature = "Win32_System_Com")] impl IPolicyQualifier_Vtbl { pub const fn new, Impl: IPolicyQualifier_Impl, const OFFSET: isize>() -> IPolicyQualifier_Vtbl { - unsafe extern "system" fn InitializeEncode, Impl: IPolicyQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strqualifier: std::mem::MaybeUninit, r#type: PolicyQualifierType) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncode, Impl: IPolicyQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strqualifier: core::mem::MaybeUninit, r#type: PolicyQualifierType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPolicyQualifier_Impl::InitializeEncode(this, core::mem::transmute(&strqualifier), core::mem::transmute_copy(&r#type)).into() @@ -7668,7 +7668,7 @@ impl IPolicyQualifier_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Qualifier, Impl: IPolicyQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Qualifier, Impl: IPolicyQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPolicyQualifier_Impl::Qualifier(this) { @@ -7690,7 +7690,7 @@ impl IPolicyQualifier_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_RawData, Impl: IPolicyQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RawData, Impl: IPolicyQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPolicyQualifier_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { @@ -7809,12 +7809,12 @@ impl windows_core::RuntimeName for ISignerCertificate {} #[cfg(feature = "Win32_System_Com")] impl ISignerCertificate_Vtbl { pub const fn new, Impl: ISignerCertificate_Impl, const OFFSET: isize>() -> ISignerCertificate_Vtbl { - unsafe extern "system" fn Initialize, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, verifytype: X509PrivateKeyVerify, encoding: EncodingType, strcertificate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinecontext: super::super::super::Foundation::VARIANT_BOOL, verifytype: X509PrivateKeyVerify, encoding: EncodingType, strcertificate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISignerCertificate_Impl::Initialize(this, core::mem::transmute_copy(&machinecontext), core::mem::transmute_copy(&verifytype), core::mem::transmute_copy(&encoding), core::mem::transmute(&strcertificate)).into() } - unsafe extern "system" fn get_Certificate, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Certificate, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISignerCertificate_Impl::get_Certificate(this, core::mem::transmute_copy(&encoding)) { @@ -7868,7 +7868,7 @@ impl ISignerCertificate_Vtbl { let this = (*this).get_impl(); ISignerCertificate_Impl::SetParentWindow(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn UIContextMessage, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UIContextMessage, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISignerCertificate_Impl::UIContextMessage(this) { @@ -7879,12 +7879,12 @@ impl ISignerCertificate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUIContextMessage, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUIContextMessage, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISignerCertificate_Impl::SetUIContextMessage(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn SetPin, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPin, Impl: ISignerCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISignerCertificate_Impl::SetPin(this, core::mem::transmute(&value)).into() @@ -8159,17 +8159,17 @@ impl windows_core::RuntimeName for IX500DistinguishedName {} #[cfg(feature = "Win32_System_Com")] impl IX500DistinguishedName_Vtbl { pub const fn new, Impl: IX500DistinguishedName_Impl, const OFFSET: isize>() -> IX500DistinguishedName_Vtbl { - unsafe extern "system" fn Decode, Impl: IX500DistinguishedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodedname: std::mem::MaybeUninit, encoding: EncodingType, nameflags: X500NameFlags) -> windows_core::HRESULT { + unsafe extern "system" fn Decode, Impl: IX500DistinguishedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodedname: core::mem::MaybeUninit, encoding: EncodingType, nameflags: X500NameFlags) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX500DistinguishedName_Impl::Decode(this, core::mem::transmute(&strencodedname), core::mem::transmute_copy(&encoding), core::mem::transmute_copy(&nameflags)).into() } - unsafe extern "system" fn Encode, Impl: IX500DistinguishedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, nameflags: X500NameFlags) -> windows_core::HRESULT { + unsafe extern "system" fn Encode, Impl: IX500DistinguishedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, nameflags: X500NameFlags) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX500DistinguishedName_Impl::Encode(this, core::mem::transmute(&strname), core::mem::transmute_copy(&nameflags)).into() } - unsafe extern "system" fn Name, Impl: IX500DistinguishedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IX500DistinguishedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX500DistinguishedName_Impl::Name(this) { @@ -8180,7 +8180,7 @@ impl IX500DistinguishedName_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_EncodedName, Impl: IX500DistinguishedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_EncodedName, Impl: IX500DistinguishedName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX500DistinguishedName_Impl::get_EncodedName(this, core::mem::transmute_copy(&encoding)) { @@ -8214,7 +8214,7 @@ impl windows_core::RuntimeName for IX509Attribute {} #[cfg(feature = "Win32_System_Com")] impl IX509Attribute_Vtbl { pub const fn new, Impl: IX509Attribute_Impl, const OFFSET: isize>() -> IX509Attribute_Vtbl { - unsafe extern "system" fn Initialize, Impl: IX509Attribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobjectid: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IX509Attribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobjectid: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509Attribute_Impl::Initialize(this, windows_core::from_raw_borrowed(&pobjectid), core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -8230,7 +8230,7 @@ impl IX509Attribute_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_RawData, Impl: IX509Attribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RawData, Impl: IX509Attribute_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Attribute_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { @@ -8265,17 +8265,17 @@ impl windows_core::RuntimeName for IX509AttributeArchiveKey {} #[cfg(feature = "Win32_System_Com")] impl IX509AttributeArchiveKey_Vtbl { pub const fn new, Impl: IX509AttributeArchiveKey_Impl, const OFFSET: isize>() -> IX509AttributeArchiveKey_Vtbl { - unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeArchiveKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkey: *mut core::ffi::c_void, encoding: EncodingType, strcaxcert: std::mem::MaybeUninit, palgorithm: *mut core::ffi::c_void, encryptionstrength: i32) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeArchiveKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pkey: *mut core::ffi::c_void, encoding: EncodingType, strcaxcert: core::mem::MaybeUninit, palgorithm: *mut core::ffi::c_void, encryptionstrength: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeArchiveKey_Impl::InitializeEncode(this, windows_core::from_raw_borrowed(&pkey), core::mem::transmute_copy(&encoding), core::mem::transmute(&strcaxcert), windows_core::from_raw_borrowed(&palgorithm), core::mem::transmute_copy(&encryptionstrength)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeArchiveKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeArchiveKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeArchiveKey_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() } - unsafe extern "system" fn get_EncryptedKeyBlob, Impl: IX509AttributeArchiveKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_EncryptedKeyBlob, Impl: IX509AttributeArchiveKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509AttributeArchiveKey_Impl::get_EncryptedKeyBlob(this, core::mem::transmute_copy(&encoding)) { @@ -8332,17 +8332,17 @@ impl windows_core::RuntimeName for IX509AttributeArchiveKeyHash {} #[cfg(feature = "Win32_System_Com")] impl IX509AttributeArchiveKeyHash_Vtbl { pub const fn new, Impl: IX509AttributeArchiveKeyHash_Impl, const OFFSET: isize>() -> IX509AttributeArchiveKeyHash_Vtbl { - unsafe extern "system" fn InitializeEncodeFromEncryptedKeyBlob, Impl: IX509AttributeArchiveKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencryptedkeyblob: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncodeFromEncryptedKeyBlob, Impl: IX509AttributeArchiveKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencryptedkeyblob: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeArchiveKeyHash_Impl::InitializeEncodeFromEncryptedKeyBlob(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencryptedkeyblob)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeArchiveKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeArchiveKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeArchiveKeyHash_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() } - unsafe extern "system" fn get_EncryptedKeyHashBlob, Impl: IX509AttributeArchiveKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_EncryptedKeyHashBlob, Impl: IX509AttributeArchiveKeyHash_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509AttributeArchiveKeyHash_Impl::get_EncryptedKeyHashBlob(this, core::mem::transmute_copy(&encoding)) { @@ -8378,12 +8378,12 @@ impl windows_core::RuntimeName for IX509AttributeClientId {} #[cfg(feature = "Win32_System_Com")] impl IX509AttributeClientId_Vtbl { pub const fn new, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>() -> IX509AttributeClientId_Vtbl { - unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clientid: RequestClientInfoClientId, strmachinednsname: std::mem::MaybeUninit, strusersamname: std::mem::MaybeUninit, strprocessname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clientid: RequestClientInfoClientId, strmachinednsname: core::mem::MaybeUninit, strusersamname: core::mem::MaybeUninit, strprocessname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeClientId_Impl::InitializeEncode(this, core::mem::transmute_copy(&clientid), core::mem::transmute(&strmachinednsname), core::mem::transmute(&strusersamname), core::mem::transmute(&strprocessname)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeClientId_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -8399,7 +8399,7 @@ impl IX509AttributeClientId_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MachineDnsName, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MachineDnsName, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509AttributeClientId_Impl::MachineDnsName(this) { @@ -8410,7 +8410,7 @@ impl IX509AttributeClientId_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserSamName, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserSamName, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509AttributeClientId_Impl::UserSamName(this) { @@ -8421,7 +8421,7 @@ impl IX509AttributeClientId_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProcessName, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProcessName, Impl: IX509AttributeClientId_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509AttributeClientId_Impl::ProcessName(this) { @@ -8459,12 +8459,12 @@ impl windows_core::RuntimeName for IX509AttributeCspProvider {} #[cfg(feature = "Win32_System_Com")] impl IX509AttributeCspProvider_Vtbl { pub const fn new, Impl: IX509AttributeCspProvider_Impl, const OFFSET: isize>() -> IX509AttributeCspProvider_Vtbl { - unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeCspProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keyspec: X509KeySpec, strprovidername: std::mem::MaybeUninit, encoding: EncodingType, strsignature: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeCspProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keyspec: X509KeySpec, strprovidername: core::mem::MaybeUninit, encoding: EncodingType, strsignature: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeCspProvider_Impl::InitializeEncode(this, core::mem::transmute_copy(&keyspec), core::mem::transmute(&strprovidername), core::mem::transmute_copy(&encoding), core::mem::transmute(&strsignature)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeCspProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeCspProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeCspProvider_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -8480,7 +8480,7 @@ impl IX509AttributeCspProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProviderName, Impl: IX509AttributeCspProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderName, Impl: IX509AttributeCspProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509AttributeCspProvider_Impl::ProviderName(this) { @@ -8491,7 +8491,7 @@ impl IX509AttributeCspProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Signature, Impl: IX509AttributeCspProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Signature, Impl: IX509AttributeCspProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509AttributeCspProvider_Impl::get_Signature(this, core::mem::transmute_copy(&encoding)) { @@ -8531,7 +8531,7 @@ impl IX509AttributeExtensions_Vtbl { let this = (*this).get_impl(); IX509AttributeExtensions_Impl::InitializeEncode(this, windows_core::from_raw_borrowed(&pextensions)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeExtensions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeExtensions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeExtensions_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -8569,17 +8569,17 @@ impl windows_core::RuntimeName for IX509AttributeOSVersion {} #[cfg(feature = "Win32_System_Com")] impl IX509AttributeOSVersion_Vtbl { pub const fn new, Impl: IX509AttributeOSVersion_Impl, const OFFSET: isize>() -> IX509AttributeOSVersion_Vtbl { - unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeOSVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strosversion: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeOSVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strosversion: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeOSVersion_Impl::InitializeEncode(this, core::mem::transmute(&strosversion)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeOSVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeOSVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeOSVersion_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() } - unsafe extern "system" fn OSVersion, Impl: IX509AttributeOSVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OSVersion, Impl: IX509AttributeOSVersion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509AttributeOSVersion_Impl::OSVersion(this) { @@ -8612,17 +8612,17 @@ impl windows_core::RuntimeName for IX509AttributeRenewalCertificate {} #[cfg(feature = "Win32_System_Com")] impl IX509AttributeRenewalCertificate_Vtbl { pub const fn new, Impl: IX509AttributeRenewalCertificate_Impl, const OFFSET: isize>() -> IX509AttributeRenewalCertificate_Vtbl { - unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeRenewalCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strcert: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncode, Impl: IX509AttributeRenewalCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strcert: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeRenewalCertificate_Impl::InitializeEncode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strcert)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeRenewalCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509AttributeRenewalCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509AttributeRenewalCertificate_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() } - unsafe extern "system" fn get_RenewalCertificate, Impl: IX509AttributeRenewalCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RenewalCertificate, Impl: IX509AttributeRenewalCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509AttributeRenewalCertificate_Impl::get_RenewalCertificate(this, core::mem::transmute_copy(&encoding)) { @@ -8833,7 +8833,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); IX509CertificateRequest_Impl::SetParentWindow(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn UIContextMessage, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UIContextMessage, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequest_Impl::UIContextMessage(this) { @@ -8844,7 +8844,7 @@ impl IX509CertificateRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUIContextMessage, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUIContextMessage, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequest_Impl::SetUIContextMessage(this, core::mem::transmute(&value)).into() @@ -8865,7 +8865,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); IX509CertificateRequest_Impl::SetSuppressDefaults(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn get_RenewalCertificate, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RenewalCertificate, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequest_Impl::get_RenewalCertificate(this, core::mem::transmute_copy(&encoding)) { @@ -8876,7 +8876,7 @@ impl IX509CertificateRequest_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_RenewalCertificate, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_RenewalCertificate, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequest_Impl::put_RenewalCertificate(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() @@ -8945,7 +8945,7 @@ impl IX509CertificateRequest_Vtbl { let this = (*this).get_impl(); IX509CertificateRequest_Impl::SetAlternateSignatureAlgorithm(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn get_RawData, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RawData, Impl: IX509CertificateRequest_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequest_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { @@ -9061,7 +9061,7 @@ impl IX509CertificateRequestCertificate_Vtbl { let this = (*this).get_impl(); IX509CertificateRequestCertificate_Impl::SetNotAfter(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn get_SerialNumber, Impl: IX509CertificateRequestCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_SerialNumber, Impl: IX509CertificateRequestCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestCertificate_Impl::get_SerialNumber(this, core::mem::transmute_copy(&encoding)) { @@ -9072,7 +9072,7 @@ impl IX509CertificateRequestCertificate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_SerialNumber, Impl: IX509CertificateRequestCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_SerialNumber, Impl: IX509CertificateRequestCertificate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestCertificate_Impl::put_SerialNumber(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() @@ -9199,7 +9199,7 @@ impl windows_core::RuntimeName for IX509CertificateRequestCmc {} #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestCmc_Vtbl { pub const fn new, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>() -> IX509CertificateRequestCmc_Vtbl { - unsafe extern "system" fn InitializeFromInnerRequestTemplateName, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinnerrequest: *mut core::ffi::c_void, strtemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromInnerRequestTemplateName, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinnerrequest: *mut core::ffi::c_void, strtemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestCmc_Impl::InitializeFromInnerRequestTemplateName(this, windows_core::from_raw_borrowed(&pinnerrequest), core::mem::transmute(&strtemplatename)).into() @@ -9297,7 +9297,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); IX509CertificateRequestCmc_Impl::SetTransactionId(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn get_SenderNonce, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_SenderNonce, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::get_SenderNonce(this, core::mem::transmute_copy(&encoding)) { @@ -9308,7 +9308,7 @@ impl IX509CertificateRequestCmc_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_SenderNonce, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_SenderNonce, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestCmc_Impl::put_SenderNonce(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() @@ -9340,7 +9340,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); IX509CertificateRequestCmc_Impl::SetArchivePrivateKey(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn get_KeyArchivalCertificate, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_KeyArchivalCertificate, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::get_KeyArchivalCertificate(this, core::mem::transmute_copy(&encoding)) { @@ -9351,7 +9351,7 @@ impl IX509CertificateRequestCmc_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_KeyArchivalCertificate, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_KeyArchivalCertificate, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestCmc_Impl::put_KeyArchivalCertificate(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() @@ -9388,7 +9388,7 @@ impl IX509CertificateRequestCmc_Vtbl { let this = (*this).get_impl(); IX509CertificateRequestCmc_Impl::SetEncryptionStrength(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn get_EncryptedKeyHash, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_EncryptedKeyHash, Impl: IX509CertificateRequestCmc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestCmc_Impl::get_EncryptedKeyHash(this, core::mem::transmute_copy(&encoding)) { @@ -9547,27 +9547,27 @@ impl windows_core::RuntimeName for IX509CertificateRequestPkcs10 {} #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs10_Vtbl { pub const fn new, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>() -> IX509CertificateRequestPkcs10_Vtbl { - unsafe extern "system" fn InitializeFromTemplateName, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strtemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromTemplateName, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strtemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs10_Impl::InitializeFromTemplateName(this, core::mem::transmute_copy(&context), core::mem::transmute(&strtemplatename)).into() } - unsafe extern "system" fn InitializeFromPrivateKey, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, pprivatekey: *mut core::ffi::c_void, strtemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromPrivateKey, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, pprivatekey: *mut core::ffi::c_void, strtemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs10_Impl::InitializeFromPrivateKey(this, core::mem::transmute_copy(&context), windows_core::from_raw_borrowed(&pprivatekey), core::mem::transmute(&strtemplatename)).into() } - unsafe extern "system" fn InitializeFromPublicKey, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, ppublickey: *mut core::ffi::c_void, strtemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromPublicKey, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, ppublickey: *mut core::ffi::c_void, strtemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs10_Impl::InitializeFromPublicKey(this, core::mem::transmute_copy(&context), windows_core::from_raw_borrowed(&ppublickey), core::mem::transmute(&strtemplatename)).into() } - unsafe extern "system" fn InitializeFromCertificate, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strcertificate: std::mem::MaybeUninit, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromCertificate, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strcertificate: core::mem::MaybeUninit, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs10_Impl::InitializeFromCertificate(this, core::mem::transmute_copy(&context), core::mem::transmute(&strcertificate), core::mem::transmute_copy(&encoding), core::mem::transmute_copy(&inheritoptions)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs10_Impl::InitializeDecode(this, core::mem::transmute(&strencodeddata), core::mem::transmute_copy(&encoding)).into() @@ -9643,7 +9643,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_OldCertificate, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_OldCertificate, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::get_OldCertificate(this, core::mem::transmute_copy(&encoding)) { @@ -9708,7 +9708,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn KeyContainerNamePrefix, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn KeyContainerNamePrefix, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::KeyContainerNamePrefix(this) { @@ -9719,7 +9719,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetKeyContainerNamePrefix, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetKeyContainerNamePrefix, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs10_Impl::SetKeyContainerNamePrefix(this, core::mem::transmute(&value)).into() @@ -9768,7 +9768,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_RawDataToBeSigned, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RawDataToBeSigned, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::get_RawDataToBeSigned(this, core::mem::transmute_copy(&encoding)) { @@ -9779,7 +9779,7 @@ impl IX509CertificateRequestPkcs10_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Signature, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Signature, Impl: IX509CertificateRequestPkcs10_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestPkcs10_Impl::get_Signature(this, core::mem::transmute_copy(&encoding)) { @@ -9935,7 +9935,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { let this = (*this).get_impl(); IX509CertificateRequestPkcs10V3_Impl::SetAttestPrivateKey(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn get_AttestationEncryptionCertificate, Impl: IX509CertificateRequestPkcs10V3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_AttestationEncryptionCertificate, Impl: IX509CertificateRequestPkcs10V3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V3_Impl::get_AttestationEncryptionCertificate(this, core::mem::transmute_copy(&encoding)) { @@ -9946,7 +9946,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_AttestationEncryptionCertificate, Impl: IX509CertificateRequestPkcs10V3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_AttestationEncryptionCertificate, Impl: IX509CertificateRequestPkcs10V3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs10V3_Impl::put_AttestationEncryptionCertificate(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() @@ -9983,7 +9983,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { let this = (*this).get_impl(); IX509CertificateRequestPkcs10V3_Impl::SetEncryptionStrength(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn ChallengePassword, Impl: IX509CertificateRequestPkcs10V3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChallengePassword, Impl: IX509CertificateRequestPkcs10V3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestPkcs10V3_Impl::ChallengePassword(this) { @@ -9994,7 +9994,7 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetChallengePassword, Impl: IX509CertificateRequestPkcs10V3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetChallengePassword, Impl: IX509CertificateRequestPkcs10V3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs10V3_Impl::SetChallengePassword(this, core::mem::transmute(&value)).into() @@ -10101,12 +10101,12 @@ impl windows_core::RuntimeName for IX509CertificateRequestPkcs7 {} #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs7_Vtbl { pub const fn new, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>() -> IX509CertificateRequestPkcs7_Vtbl { - unsafe extern "system" fn InitializeFromTemplateName, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strtemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromTemplateName, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strtemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs7_Impl::InitializeFromTemplateName(this, core::mem::transmute_copy(&context), core::mem::transmute(&strtemplatename)).into() } - unsafe extern "system" fn InitializeFromCertificate, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, renewalrequest: super::super::super::Foundation::VARIANT_BOOL, strcertificate: std::mem::MaybeUninit, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromCertificate, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, renewalrequest: super::super::super::Foundation::VARIANT_BOOL, strcertificate: core::mem::MaybeUninit, encoding: EncodingType, inheritoptions: X509RequestInheritOptions) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs7_Impl::InitializeFromCertificate(this, core::mem::transmute_copy(&context), core::mem::transmute_copy(&renewalrequest), core::mem::transmute(&strcertificate), core::mem::transmute_copy(&encoding), core::mem::transmute_copy(&inheritoptions)).into() @@ -10116,12 +10116,12 @@ impl IX509CertificateRequestPkcs7_Vtbl { let this = (*this).get_impl(); IX509CertificateRequestPkcs7_Impl::InitializeFromInnerRequest(this, windows_core::from_raw_borrowed(&pinnerrequest)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs7_Impl::InitializeDecode(this, core::mem::transmute(&strencodeddata), core::mem::transmute_copy(&encoding)).into() } - unsafe extern "system" fn RequesterName, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequesterName, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRequestPkcs7_Impl::RequesterName(this) { @@ -10132,7 +10132,7 @@ impl IX509CertificateRequestPkcs7_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRequesterName, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRequesterName, Impl: IX509CertificateRequestPkcs7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRequestPkcs7_Impl::SetRequesterName(this, core::mem::transmute(&value)).into() @@ -10269,7 +10269,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); IX509CertificateRevocationList_Impl::Initialize(this).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodeddata: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRevocationList_Impl::InitializeDecode(this, core::mem::transmute(&strencodeddata), core::mem::transmute_copy(&encoding)).into() @@ -10391,7 +10391,7 @@ impl IX509CertificateRevocationList_Vtbl { let this = (*this).get_impl(); IX509CertificateRevocationList_Impl::SetSignerCertificate(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn get_CRLNumber, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_CRLNumber, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::get_CRLNumber(this, core::mem::transmute_copy(&encoding)) { @@ -10402,7 +10402,7 @@ impl IX509CertificateRevocationList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_CRLNumber, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_CRLNumber, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRevocationList_Impl::put_CRLNumber(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() @@ -10488,7 +10488,7 @@ impl IX509CertificateRevocationList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_RawData, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RawData, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { @@ -10499,7 +10499,7 @@ impl IX509CertificateRevocationList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_RawDataToBeSigned, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RawDataToBeSigned, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::get_RawDataToBeSigned(this, core::mem::transmute_copy(&encoding)) { @@ -10510,7 +10510,7 @@ impl IX509CertificateRevocationList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Signature, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Signature, Impl: IX509CertificateRevocationList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRevocationList_Impl::get_Signature(this, core::mem::transmute_copy(&encoding)) { @@ -10624,7 +10624,7 @@ impl IX509CertificateRevocationListEntries_Vtbl { let this = (*this).get_impl(); IX509CertificateRevocationListEntries_Impl::Clear(this).into() } - unsafe extern "system" fn get_IndexBySerialNumber, Impl: IX509CertificateRevocationListEntries_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, serialnumber: std::mem::MaybeUninit, pindex: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn get_IndexBySerialNumber, Impl: IX509CertificateRevocationListEntries_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, serialnumber: core::mem::MaybeUninit, pindex: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRevocationListEntries_Impl::get_IndexBySerialNumber(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&serialnumber)) { @@ -10671,12 +10671,12 @@ impl windows_core::RuntimeName for IX509CertificateRevocationListEntry {} #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRevocationListEntry_Vtbl { pub const fn new, Impl: IX509CertificateRevocationListEntry_Impl, const OFFSET: isize>() -> IX509CertificateRevocationListEntry_Vtbl { - unsafe extern "system" fn Initialize, Impl: IX509CertificateRevocationListEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, serialnumber: std::mem::MaybeUninit, revocationdate: f64) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IX509CertificateRevocationListEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, serialnumber: core::mem::MaybeUninit, revocationdate: f64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateRevocationListEntry_Impl::Initialize(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&serialnumber), core::mem::transmute_copy(&revocationdate)).into() } - unsafe extern "system" fn get_SerialNumber, Impl: IX509CertificateRevocationListEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_SerialNumber, Impl: IX509CertificateRevocationListEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateRevocationListEntry_Impl::get_SerialNumber(this, core::mem::transmute_copy(&encoding)) { @@ -10760,7 +10760,7 @@ impl windows_core::RuntimeName for IX509CertificateTemplate {} #[cfg(feature = "Win32_System_Com")] impl IX509CertificateTemplate_Vtbl { pub const fn new, Impl: IX509CertificateTemplate_Impl, const OFFSET: isize>() -> IX509CertificateTemplate_Vtbl { - unsafe extern "system" fn get_Property, Impl: IX509CertificateTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: EnrollmentTemplateProperty, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Property, Impl: IX509CertificateTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: EnrollmentTemplateProperty, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateTemplate_Impl::get_Property(this, core::mem::transmute_copy(&property)) { @@ -10795,12 +10795,12 @@ impl IX509CertificateTemplateWritable_Vtbl { let this = (*this).get_impl(); IX509CertificateTemplateWritable_Impl::Initialize(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn Commit, Impl: IX509CertificateTemplateWritable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commitflags: CommitTemplateFlags, strservercontext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Commit, Impl: IX509CertificateTemplateWritable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commitflags: CommitTemplateFlags, strservercontext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateTemplateWritable_Impl::Commit(this, core::mem::transmute_copy(&commitflags), core::mem::transmute(&strservercontext)).into() } - unsafe extern "system" fn get_Property, Impl: IX509CertificateTemplateWritable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: EnrollmentTemplateProperty, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Property, Impl: IX509CertificateTemplateWritable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: EnrollmentTemplateProperty, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateTemplateWritable_Impl::get_Property(this, core::mem::transmute_copy(&property)) { @@ -10811,7 +10811,7 @@ impl IX509CertificateTemplateWritable_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Property, Impl: IX509CertificateTemplateWritable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: EnrollmentTemplateProperty, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_Property, Impl: IX509CertificateTemplateWritable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: EnrollmentTemplateProperty, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509CertificateTemplateWritable_Impl::put_Property(this, core::mem::transmute_copy(&property), core::mem::transmute(&value)).into() @@ -10904,7 +10904,7 @@ impl IX509CertificateTemplates_Vtbl { let this = (*this).get_impl(); IX509CertificateTemplates_Impl::Clear(this).into() } - unsafe extern "system" fn get_ItemByName, Impl: IX509CertificateTemplates_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ItemByName, Impl: IX509CertificateTemplates_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, ppvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509CertificateTemplates_Impl::get_ItemByName(this, core::mem::transmute(&bstrname)) { @@ -10961,7 +10961,7 @@ impl windows_core::RuntimeName for IX509EndorsementKey {} #[cfg(feature = "Win32_System_Com")] impl IX509EndorsementKey_Vtbl { pub const fn new, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>() -> IX509EndorsementKey_Vtbl { - unsafe extern "system" fn ProviderName, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderName, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EndorsementKey_Impl::ProviderName(this) { @@ -10972,7 +10972,7 @@ impl IX509EndorsementKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProviderName, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProviderName, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EndorsementKey_Impl::SetProviderName(this, core::mem::transmute(&value)).into() @@ -10999,17 +10999,17 @@ impl IX509EndorsementKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddCertificate, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strcertificate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddCertificate, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strcertificate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EndorsementKey_Impl::AddCertificate(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strcertificate)).into() } - unsafe extern "system" fn RemoveCertificate, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strcertificate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveCertificate, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strcertificate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EndorsementKey_Impl::RemoveCertificate(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strcertificate)).into() } - unsafe extern "system" fn GetCertificateByIndex, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, manufactureronly: super::super::super::Foundation::VARIANT_BOOL, dwindex: i32, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCertificateByIndex, Impl: IX509EndorsementKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, manufactureronly: super::super::super::Foundation::VARIANT_BOOL, dwindex: i32, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EndorsementKey_Impl::GetCertificateByIndex(this, core::mem::transmute_copy(&manufactureronly), core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&encoding)) { @@ -11107,7 +11107,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); IX509Enrollment_Impl::Initialize(this, core::mem::transmute_copy(&context)).into() } - unsafe extern "system" fn InitializeFromTemplateName, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strtemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromTemplateName, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strtemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509Enrollment_Impl::InitializeFromTemplateName(this, core::mem::transmute_copy(&context), core::mem::transmute(&strtemplatename)).into() @@ -11117,7 +11117,7 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); IX509Enrollment_Impl::InitializeFromRequest(this, windows_core::from_raw_borrowed(&prequest)).into() } - unsafe extern "system" fn CreateRequest, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRequest, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Enrollment_Impl::CreateRequest(this, core::mem::transmute_copy(&encoding)) { @@ -11133,12 +11133,12 @@ impl IX509Enrollment_Vtbl { let this = (*this).get_impl(); IX509Enrollment_Impl::Enroll(this).into() } - unsafe extern "system" fn InstallResponse, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, restrictions: InstallResponseRestrictionFlags, strresponse: std::mem::MaybeUninit, encoding: EncodingType, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallResponse, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, restrictions: InstallResponseRestrictionFlags, strresponse: core::mem::MaybeUninit, encoding: EncodingType, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509Enrollment_Impl::InstallResponse(this, core::mem::transmute_copy(&restrictions), core::mem::transmute(&strresponse), core::mem::transmute_copy(&encoding), core::mem::transmute(&strpassword)).into() } - unsafe extern "system" fn CreatePFX, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpassword: std::mem::MaybeUninit, exportoptions: PFXExportOptions, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreatePFX, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpassword: core::mem::MaybeUninit, exportoptions: PFXExportOptions, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Enrollment_Impl::CreatePFX(this, core::mem::transmute(&strpassword), core::mem::transmute_copy(&exportoptions), core::mem::transmute_copy(&encoding)) { @@ -11225,7 +11225,7 @@ impl IX509Enrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Certificate, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Certificate, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Enrollment_Impl::get_Certificate(this, core::mem::transmute_copy(&encoding)) { @@ -11236,7 +11236,7 @@ impl IX509Enrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Response, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Response, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Enrollment_Impl::get_Response(this, core::mem::transmute_copy(&encoding)) { @@ -11247,7 +11247,7 @@ impl IX509Enrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CertificateFriendlyName, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CertificateFriendlyName, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Enrollment_Impl::CertificateFriendlyName(this) { @@ -11258,12 +11258,12 @@ impl IX509Enrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCertificateFriendlyName, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCertificateFriendlyName, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509Enrollment_Impl::SetCertificateFriendlyName(this, core::mem::transmute(&strvalue)).into() } - unsafe extern "system" fn CertificateDescription, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CertificateDescription, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Enrollment_Impl::CertificateDescription(this) { @@ -11274,7 +11274,7 @@ impl IX509Enrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCertificateDescription, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCertificateDescription, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509Enrollment_Impl::SetCertificateDescription(this, core::mem::transmute(&strvalue)).into() @@ -11290,7 +11290,7 @@ impl IX509Enrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CAConfigString, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CAConfigString, Impl: IX509Enrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Enrollment_Impl::CAConfigString(this) { @@ -11350,7 +11350,7 @@ impl IX509Enrollment2_Vtbl { let this = (*this).get_impl(); IX509Enrollment2_Impl::InitializeFromTemplate(this, core::mem::transmute_copy(&context), windows_core::from_raw_borrowed(&ppolicyserver), windows_core::from_raw_borrowed(&ptemplate)).into() } - unsafe extern "system" fn InstallResponse2, Impl: IX509Enrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, restrictions: InstallResponseRestrictionFlags, strresponse: std::mem::MaybeUninit, encoding: EncodingType, strpassword: std::mem::MaybeUninit, strenrollmentpolicyserverurl: std::mem::MaybeUninit, strenrollmentpolicyserverid: std::mem::MaybeUninit, enrollmentpolicyserverflags: PolicyServerUrlFlags, authflags: X509EnrollmentAuthFlags) -> windows_core::HRESULT { + unsafe extern "system" fn InstallResponse2, Impl: IX509Enrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, restrictions: InstallResponseRestrictionFlags, strresponse: core::mem::MaybeUninit, encoding: EncodingType, strpassword: core::mem::MaybeUninit, strenrollmentpolicyserverurl: core::mem::MaybeUninit, strenrollmentpolicyserverid: core::mem::MaybeUninit, enrollmentpolicyserverflags: PolicyServerUrlFlags, authflags: X509EnrollmentAuthFlags) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509Enrollment2_Impl::InstallResponse2(this, core::mem::transmute_copy(&restrictions), core::mem::transmute(&strresponse), core::mem::transmute_copy(&encoding), core::mem::transmute(&strpassword), core::mem::transmute(&strenrollmentpolicyserverurl), core::mem::transmute(&strenrollmentpolicyserverid), core::mem::transmute_copy(&enrollmentpolicyserverflags), core::mem::transmute_copy(&authflags)).into() @@ -11377,7 +11377,7 @@ impl IX509Enrollment2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RequestIdString, Impl: IX509Enrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequestIdString, Impl: IX509Enrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Enrollment2_Impl::RequestIdString(this) { @@ -11413,17 +11413,17 @@ impl windows_core::RuntimeName for IX509EnrollmentHelper {} #[cfg(feature = "Win32_System_Com")] impl IX509EnrollmentHelper_Vtbl { pub const fn new, Impl: IX509EnrollmentHelper_Impl, const OFFSET: isize>() -> IX509EnrollmentHelper_Vtbl { - unsafe extern "system" fn AddPolicyServer, Impl: IX509EnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strenrollmentpolicyserveruri: std::mem::MaybeUninit, strenrollmentpolicyid: std::mem::MaybeUninit, enrollmentpolicyserverflags: PolicyServerUrlFlags, authflags: X509EnrollmentAuthFlags, strcredential: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddPolicyServer, Impl: IX509EnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strenrollmentpolicyserveruri: core::mem::MaybeUninit, strenrollmentpolicyid: core::mem::MaybeUninit, enrollmentpolicyserverflags: PolicyServerUrlFlags, authflags: X509EnrollmentAuthFlags, strcredential: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EnrollmentHelper_Impl::AddPolicyServer(this, core::mem::transmute(&strenrollmentpolicyserveruri), core::mem::transmute(&strenrollmentpolicyid), core::mem::transmute_copy(&enrollmentpolicyserverflags), core::mem::transmute_copy(&authflags), core::mem::transmute(&strcredential), core::mem::transmute(&strpassword)).into() } - unsafe extern "system" fn AddEnrollmentServer, Impl: IX509EnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strenrollmentserveruri: std::mem::MaybeUninit, authflags: X509EnrollmentAuthFlags, strcredential: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddEnrollmentServer, Impl: IX509EnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strenrollmentserveruri: core::mem::MaybeUninit, authflags: X509EnrollmentAuthFlags, strcredential: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EnrollmentHelper_Impl::AddEnrollmentServer(this, core::mem::transmute(&strenrollmentserveruri), core::mem::transmute_copy(&authflags), core::mem::transmute(&strcredential), core::mem::transmute(&strpassword)).into() } - unsafe extern "system" fn Enroll, Impl: IX509EnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strenrollmentpolicyserveruri: std::mem::MaybeUninit, strtemplatename: std::mem::MaybeUninit, encoding: EncodingType, enrollflags: WebEnrollmentFlags, pstrcertificate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Enroll, Impl: IX509EnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strenrollmentpolicyserveruri: core::mem::MaybeUninit, strtemplatename: core::mem::MaybeUninit, encoding: EncodingType, enrollflags: WebEnrollmentFlags, pstrcertificate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentHelper_Impl::Enroll(this, core::mem::transmute(&strenrollmentpolicyserveruri), core::mem::transmute(&strtemplatename), core::mem::transmute_copy(&encoding), core::mem::transmute_copy(&enrollflags)) { @@ -11483,7 +11483,7 @@ impl windows_core::RuntimeName for IX509EnrollmentPolicyServer {} #[cfg(feature = "Win32_System_Com")] impl IX509EnrollmentPolicyServer_Vtbl { pub const fn new, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>() -> IX509EnrollmentPolicyServer_Vtbl { - unsafe extern "system" fn Initialize, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpolicyserverurl: std::mem::MaybeUninit, bstrpolicyserverid: std::mem::MaybeUninit, authflags: X509EnrollmentAuthFlags, fisuntrusted: super::super::super::Foundation::VARIANT_BOOL, context: X509CertificateEnrollmentContext) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpolicyserverurl: core::mem::MaybeUninit, bstrpolicyserverid: core::mem::MaybeUninit, authflags: X509EnrollmentAuthFlags, fisuntrusted: super::super::super::Foundation::VARIANT_BOOL, context: X509CertificateEnrollmentContext) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EnrollmentPolicyServer_Impl::Initialize(this, core::mem::transmute(&bstrpolicyserverurl), core::mem::transmute(&bstrpolicyserverid), core::mem::transmute_copy(&authflags), core::mem::transmute_copy(&fisuntrusted), core::mem::transmute_copy(&context)).into() @@ -11564,7 +11564,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPolicyServerUrl, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPolicyServerUrl, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetPolicyServerUrl(this) { @@ -11575,7 +11575,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPolicyServerId, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPolicyServerId, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetPolicyServerId(this) { @@ -11586,7 +11586,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFriendlyName, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFriendlyName, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetFriendlyName(this) { @@ -11630,7 +11630,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCachePath, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCachePath, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetCachePath(this) { @@ -11641,7 +11641,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCacheDir, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCacheDir, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::GetCacheDir(this) { @@ -11663,7 +11663,7 @@ impl IX509EnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCredential, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: i32, flag: X509EnrollmentAuthFlags, strcredential: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCredential, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: i32, flag: X509EnrollmentAuthFlags, strcredential: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EnrollmentPolicyServer_Impl::SetCredential(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&flag), core::mem::transmute(&strcredential), core::mem::transmute(&strpassword)).into() @@ -11679,12 +11679,12 @@ impl IX509EnrollmentPolicyServer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InitializeImport, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeImport, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EnrollmentPolicyServer_Impl::InitializeImport(this, core::mem::transmute(&val)).into() } - unsafe extern "system" fn Export, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, exportflags: X509EnrollmentPolicyExportFlags, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Export, Impl: IX509EnrollmentPolicyServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, exportflags: X509EnrollmentPolicyExportFlags, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentPolicyServer_Impl::Export(this, core::mem::transmute_copy(&exportflags)) { @@ -11763,12 +11763,12 @@ impl windows_core::RuntimeName for IX509EnrollmentStatus {} #[cfg(feature = "Win32_System_Com")] impl IX509EnrollmentStatus_Vtbl { pub const fn new, Impl: IX509EnrollmentStatus_Impl, const OFFSET: isize>() -> IX509EnrollmentStatus_Vtbl { - unsafe extern "system" fn AppendText, Impl: IX509EnrollmentStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppendText, Impl: IX509EnrollmentStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EnrollmentStatus_Impl::AppendText(this, core::mem::transmute(&strtext)).into() } - unsafe extern "system" fn Text, Impl: IX509EnrollmentStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Text, Impl: IX509EnrollmentStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentStatus_Impl::Text(this) { @@ -11779,7 +11779,7 @@ impl IX509EnrollmentStatus_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetText, Impl: IX509EnrollmentStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetText, Impl: IX509EnrollmentStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509EnrollmentStatus_Impl::SetText(this, core::mem::transmute(&value)).into() @@ -11848,7 +11848,7 @@ impl IX509EnrollmentStatus_Vtbl { let this = (*this).get_impl(); IX509EnrollmentStatus_Impl::SetError(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn ErrorText, Impl: IX509EnrollmentStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ErrorText, Impl: IX509EnrollmentStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentStatus_Impl::ErrorText(this) { @@ -11888,7 +11888,7 @@ impl windows_core::RuntimeName for IX509EnrollmentWebClassFactory {} #[cfg(feature = "Win32_System_Com")] impl IX509EnrollmentWebClassFactory_Vtbl { pub const fn new, Impl: IX509EnrollmentWebClassFactory_Impl, const OFFSET: isize>() -> IX509EnrollmentWebClassFactory_Vtbl { - unsafe extern "system" fn CreateObject, Impl: IX509EnrollmentWebClassFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprogid: std::mem::MaybeUninit, ppiunknown: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateObject, Impl: IX509EnrollmentWebClassFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprogid: core::mem::MaybeUninit, ppiunknown: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509EnrollmentWebClassFactory_Impl::CreateObject(this, core::mem::transmute(&strprogid)) { @@ -11918,7 +11918,7 @@ impl windows_core::RuntimeName for IX509Extension {} #[cfg(feature = "Win32_System_Com")] impl IX509Extension_Vtbl { pub const fn new, Impl: IX509Extension_Impl, const OFFSET: isize>() -> IX509Extension_Vtbl { - unsafe extern "system" fn Initialize, Impl: IX509Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobjectid: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IX509Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobjectid: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509Extension_Impl::Initialize(this, windows_core::from_raw_borrowed(&pobjectid), core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -11934,7 +11934,7 @@ impl IX509Extension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_RawData, Impl: IX509Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RawData, Impl: IX509Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509Extension_Impl::get_RawData(this, core::mem::transmute_copy(&encoding)) { @@ -11990,7 +11990,7 @@ impl IX509ExtensionAlternativeNames_Vtbl { let this = (*this).get_impl(); IX509ExtensionAlternativeNames_Impl::InitializeEncode(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionAlternativeNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionAlternativeNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionAlternativeNames_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -12028,17 +12028,17 @@ impl windows_core::RuntimeName for IX509ExtensionAuthorityKeyIdentifier {} #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionAuthorityKeyIdentifier_Vtbl { pub const fn new, Impl: IX509ExtensionAuthorityKeyIdentifier_Impl, const OFFSET: isize>() -> IX509ExtensionAuthorityKeyIdentifier_Vtbl { - unsafe extern "system" fn InitializeEncode, Impl: IX509ExtensionAuthorityKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strkeyidentifier: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncode, Impl: IX509ExtensionAuthorityKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strkeyidentifier: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionAuthorityKeyIdentifier_Impl::InitializeEncode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strkeyidentifier)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionAuthorityKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionAuthorityKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionAuthorityKeyIdentifier_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() } - unsafe extern "system" fn get_AuthorityKeyIdentifier, Impl: IX509ExtensionAuthorityKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_AuthorityKeyIdentifier, Impl: IX509ExtensionAuthorityKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509ExtensionAuthorityKeyIdentifier_Impl::get_AuthorityKeyIdentifier(this, core::mem::transmute_copy(&encoding)) { @@ -12077,7 +12077,7 @@ impl IX509ExtensionBasicConstraints_Vtbl { let this = (*this).get_impl(); IX509ExtensionBasicConstraints_Impl::InitializeEncode(this, core::mem::transmute_copy(&isca), core::mem::transmute_copy(&pathlenconstraint)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionBasicConstraints_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionBasicConstraints_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionBasicConstraints_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -12132,7 +12132,7 @@ impl IX509ExtensionCertificatePolicies_Vtbl { let this = (*this).get_impl(); IX509ExtensionCertificatePolicies_Impl::InitializeEncode(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionCertificatePolicies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionCertificatePolicies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionCertificatePolicies_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -12175,7 +12175,7 @@ impl IX509ExtensionEnhancedKeyUsage_Vtbl { let this = (*this).get_impl(); IX509ExtensionEnhancedKeyUsage_Impl::InitializeEncode(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionEnhancedKeyUsage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionEnhancedKeyUsage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionEnhancedKeyUsage_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -12218,7 +12218,7 @@ impl IX509ExtensionKeyUsage_Vtbl { let this = (*this).get_impl(); IX509ExtensionKeyUsage_Impl::InitializeEncode(this, core::mem::transmute_copy(&usageflags)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionKeyUsage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionKeyUsage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionKeyUsage_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -12261,7 +12261,7 @@ impl IX509ExtensionMSApplicationPolicies_Vtbl { let this = (*this).get_impl(); IX509ExtensionMSApplicationPolicies_Impl::InitializeEncode(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionMSApplicationPolicies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionMSApplicationPolicies_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionMSApplicationPolicies_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -12304,7 +12304,7 @@ impl IX509ExtensionSmimeCapabilities_Vtbl { let this = (*this).get_impl(); IX509ExtensionSmimeCapabilities_Impl::InitializeEncode(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionSmimeCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionSmimeCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionSmimeCapabilities_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -12342,17 +12342,17 @@ impl windows_core::RuntimeName for IX509ExtensionSubjectKeyIdentifier {} #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionSubjectKeyIdentifier_Vtbl { pub const fn new, Impl: IX509ExtensionSubjectKeyIdentifier_Impl, const OFFSET: isize>() -> IX509ExtensionSubjectKeyIdentifier_Vtbl { - unsafe extern "system" fn InitializeEncode, Impl: IX509ExtensionSubjectKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strkeyidentifier: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncode, Impl: IX509ExtensionSubjectKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strkeyidentifier: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionSubjectKeyIdentifier_Impl::InitializeEncode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strkeyidentifier)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionSubjectKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionSubjectKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionSubjectKeyIdentifier_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() } - unsafe extern "system" fn get_SubjectKeyIdentifier, Impl: IX509ExtensionSubjectKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_SubjectKeyIdentifier, Impl: IX509ExtensionSubjectKeyIdentifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509ExtensionSubjectKeyIdentifier_Impl::get_SubjectKeyIdentifier(this, core::mem::transmute_copy(&encoding)) { @@ -12392,7 +12392,7 @@ impl IX509ExtensionTemplate_Vtbl { let this = (*this).get_impl(); IX509ExtensionTemplate_Impl::InitializeEncode(this, windows_core::from_raw_borrowed(&ptemplateoid), core::mem::transmute_copy(&majorversion), core::mem::transmute_copy(&minorversion)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionTemplate_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() @@ -12454,17 +12454,17 @@ impl windows_core::RuntimeName for IX509ExtensionTemplateName {} #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionTemplateName_Vtbl { pub const fn new, Impl: IX509ExtensionTemplateName_Impl, const OFFSET: isize>() -> IX509ExtensionTemplateName_Vtbl { - unsafe extern "system" fn InitializeEncode, Impl: IX509ExtensionTemplateName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeEncode, Impl: IX509ExtensionTemplateName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strtemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionTemplateName_Impl::InitializeEncode(this, core::mem::transmute(&strtemplatename)).into() } - unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionTemplateName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDecode, Impl: IX509ExtensionTemplateName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, strencodeddata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509ExtensionTemplateName_Impl::InitializeDecode(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&strencodeddata)).into() } - unsafe extern "system" fn TemplateName, Impl: IX509ExtensionTemplateName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TemplateName, Impl: IX509ExtensionTemplateName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509ExtensionTemplateName_Impl::TemplateName(this) { @@ -12591,7 +12591,7 @@ impl windows_core::RuntimeName for IX509MachineEnrollmentFactory {} #[cfg(feature = "Win32_System_Com")] impl IX509MachineEnrollmentFactory_Vtbl { pub const fn new, Impl: IX509MachineEnrollmentFactory_Impl, const OFFSET: isize>() -> IX509MachineEnrollmentFactory_Vtbl { - unsafe extern "system" fn CreateObject, Impl: IX509MachineEnrollmentFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprogid: std::mem::MaybeUninit, ppihelper: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateObject, Impl: IX509MachineEnrollmentFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprogid: core::mem::MaybeUninit, ppihelper: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509MachineEnrollmentFactory_Impl::CreateObject(this, core::mem::transmute(&strprogid)) { @@ -12619,12 +12619,12 @@ impl windows_core::RuntimeName for IX509NameValuePair {} #[cfg(feature = "Win32_System_Com")] impl IX509NameValuePair_Vtbl { pub const fn new, Impl: IX509NameValuePair_Impl, const OFFSET: isize>() -> IX509NameValuePair_Vtbl { - unsafe extern "system" fn Initialize, Impl: IX509NameValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IX509NameValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509NameValuePair_Impl::Initialize(this, core::mem::transmute(&strname), core::mem::transmute(&strvalue)).into() } - unsafe extern "system" fn Value, Impl: IX509NameValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IX509NameValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509NameValuePair_Impl::Value(this) { @@ -12635,7 +12635,7 @@ impl IX509NameValuePair_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IX509NameValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IX509NameValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509NameValuePair_Impl::Name(this) { @@ -12844,7 +12844,7 @@ impl IX509PolicyServerUrl_Vtbl { let this = (*this).get_impl(); IX509PolicyServerUrl_Impl::Initialize(this, core::mem::transmute_copy(&context)).into() } - unsafe extern "system" fn Url, Impl: IX509PolicyServerUrl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Url, Impl: IX509PolicyServerUrl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PolicyServerUrl_Impl::Url(this) { @@ -12855,7 +12855,7 @@ impl IX509PolicyServerUrl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUrl, Impl: IX509PolicyServerUrl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUrl, Impl: IX509PolicyServerUrl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PolicyServerUrl_Impl::SetUrl(this, core::mem::transmute(&pvalue)).into() @@ -12924,7 +12924,7 @@ impl IX509PolicyServerUrl_Vtbl { let this = (*this).get_impl(); IX509PolicyServerUrl_Impl::SetCost(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn GetStringProperty, Impl: IX509PolicyServerUrl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: PolicyServerUrlPropertyID, ppvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStringProperty, Impl: IX509PolicyServerUrl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: PolicyServerUrlPropertyID, ppvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PolicyServerUrl_Impl::GetStringProperty(this, core::mem::transmute_copy(&propertyid)) { @@ -12935,7 +12935,7 @@ impl IX509PolicyServerUrl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStringProperty, Impl: IX509PolicyServerUrl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: PolicyServerUrlPropertyID, pvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStringProperty, Impl: IX509PolicyServerUrl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: PolicyServerUrlPropertyID, pvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PolicyServerUrl_Impl::SetStringProperty(this, core::mem::transmute_copy(&propertyid), core::mem::transmute(&pvalue)).into() @@ -13064,12 +13064,12 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); IX509PrivateKey_Impl::Verify(this, core::mem::transmute_copy(&verifytype)).into() } - unsafe extern "system" fn Import, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strexporttype: std::mem::MaybeUninit, strencodedkey: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn Import, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strexporttype: core::mem::MaybeUninit, strencodedkey: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::Import(this, core::mem::transmute(&strexporttype), core::mem::transmute(&strencodedkey), core::mem::transmute_copy(&encoding)).into() } - unsafe extern "system" fn Export, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strexporttype: std::mem::MaybeUninit, encoding: EncodingType, pstrencodedkey: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Export, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strexporttype: core::mem::MaybeUninit, encoding: EncodingType, pstrencodedkey: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::Export(this, core::mem::transmute(&strexporttype), core::mem::transmute_copy(&encoding)) { @@ -13091,7 +13091,7 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ContainerName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContainerName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::ContainerName(this) { @@ -13102,12 +13102,12 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetContainerName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetContainerName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::SetContainerName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn ContainerNamePrefix, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContainerNamePrefix, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::ContainerNamePrefix(this) { @@ -13118,12 +13118,12 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetContainerNamePrefix, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetContainerNamePrefix, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::SetContainerNamePrefix(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn ReaderName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReaderName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::ReaderName(this) { @@ -13134,7 +13134,7 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetReaderName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetReaderName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::SetReaderName(this, core::mem::transmute(&value)).into() @@ -13171,7 +13171,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); IX509PrivateKey_Impl::SetCspStatus(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn ProviderName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::ProviderName(this) { @@ -13182,7 +13182,7 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProviderName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProviderName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::SetProviderName(this, core::mem::transmute(&value)).into() @@ -13331,7 +13331,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); IX509PrivateKey_Impl::SetMachineContext(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn SecurityDescriptor, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SecurityDescriptor, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::SecurityDescriptor(this) { @@ -13342,12 +13342,12 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSecurityDescriptor, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurityDescriptor, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::SetSecurityDescriptor(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn get_Certificate, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Certificate, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::get_Certificate(this, core::mem::transmute_copy(&encoding)) { @@ -13358,12 +13358,12 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Certificate, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_Certificate, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::put_Certificate(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() } - unsafe extern "system" fn UniqueContainerName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UniqueContainerName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::UniqueContainerName(this) { @@ -13444,7 +13444,7 @@ impl IX509PrivateKey_Vtbl { let this = (*this).get_impl(); IX509PrivateKey_Impl::SetParentWindow(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn UIContextMessage, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UIContextMessage, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::UIContextMessage(this) { @@ -13455,17 +13455,17 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUIContextMessage, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUIContextMessage, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::SetUIContextMessage(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn SetPin, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPin, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::SetPin(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn FriendlyName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::FriendlyName(this) { @@ -13476,12 +13476,12 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFriendlyName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFriendlyName, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::SetFriendlyName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Description, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey_Impl::Description(this) { @@ -13492,7 +13492,7 @@ impl IX509PrivateKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IX509PrivateKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey_Impl::SetDescription(this, core::mem::transmute(&value)).into() @@ -13597,7 +13597,7 @@ impl IX509PrivateKey2_Vtbl { let this = (*this).get_impl(); IX509PrivateKey2_Impl::SetHardwareKeyUsage(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn AlternateStorageLocation, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AlternateStorageLocation, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey2_Impl::AlternateStorageLocation(this) { @@ -13608,12 +13608,12 @@ impl IX509PrivateKey2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAlternateStorageLocation, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAlternateStorageLocation, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey2_Impl::SetAlternateStorageLocation(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn AlgorithmName, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AlgorithmName, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey2_Impl::AlgorithmName(this) { @@ -13624,12 +13624,12 @@ impl IX509PrivateKey2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAlgorithmName, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAlgorithmName, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey2_Impl::SetAlgorithmName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn get_AlgorithmParameters, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_AlgorithmParameters, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PrivateKey2_Impl::get_AlgorithmParameters(this, core::mem::transmute_copy(&encoding)) { @@ -13640,7 +13640,7 @@ impl IX509PrivateKey2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_AlgorithmParameters, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_AlgorithmParameters, Impl: IX509PrivateKey2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PrivateKey2_Impl::put_AlgorithmParameters(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() @@ -13694,12 +13694,12 @@ impl windows_core::RuntimeName for IX509PublicKey {} #[cfg(feature = "Win32_System_Com")] impl IX509PublicKey_Vtbl { pub const fn new, Impl: IX509PublicKey_Impl, const OFFSET: isize>() -> IX509PublicKey_Vtbl { - unsafe extern "system" fn Initialize, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobjectid: *mut core::ffi::c_void, strencodedkey: std::mem::MaybeUninit, strencodedparameters: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobjectid: *mut core::ffi::c_void, strencodedkey: core::mem::MaybeUninit, strencodedparameters: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PublicKey_Impl::Initialize(this, windows_core::from_raw_borrowed(&pobjectid), core::mem::transmute(&strencodedkey), core::mem::transmute(&strencodedparameters), core::mem::transmute_copy(&encoding)).into() } - unsafe extern "system" fn InitializeFromEncodedPublicKeyInfo, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodedpublickeyinfo: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeFromEncodedPublicKeyInfo, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strencodedpublickeyinfo: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509PublicKey_Impl::InitializeFromEncodedPublicKeyInfo(this, core::mem::transmute(&strencodedpublickeyinfo), core::mem::transmute_copy(&encoding)).into() @@ -13726,7 +13726,7 @@ impl IX509PublicKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_EncodedKey, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_EncodedKey, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PublicKey_Impl::get_EncodedKey(this, core::mem::transmute_copy(&encoding)) { @@ -13737,7 +13737,7 @@ impl IX509PublicKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_EncodedParameters, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_EncodedParameters, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PublicKey_Impl::get_EncodedParameters(this, core::mem::transmute_copy(&encoding)) { @@ -13748,7 +13748,7 @@ impl IX509PublicKey_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ComputeKeyIdentifier, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, algorithm: KeyIdentifierHashAlgorithm, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ComputeKeyIdentifier, Impl: IX509PublicKey_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, algorithm: KeyIdentifierHashAlgorithm, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509PublicKey_Impl::ComputeKeyIdentifier(this, core::mem::transmute_copy(&algorithm), core::mem::transmute_copy(&encoding)) { @@ -13804,7 +13804,7 @@ impl windows_core::RuntimeName for IX509SCEPEnrollment {} #[cfg(feature = "Win32_System_Com")] impl IX509SCEPEnrollment_Vtbl { pub const fn new, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>() -> IX509SCEPEnrollment_Vtbl { - unsafe extern "system" fn Initialize, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prequest: *mut core::ffi::c_void, strthumbprint: std::mem::MaybeUninit, thumprintencoding: EncodingType, strservercertificates: std::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prequest: *mut core::ffi::c_void, strthumbprint: core::mem::MaybeUninit, thumprintencoding: EncodingType, strservercertificates: core::mem::MaybeUninit, encoding: EncodingType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509SCEPEnrollment_Impl::Initialize(this, windows_core::from_raw_borrowed(&prequest), core::mem::transmute(&strthumbprint), core::mem::transmute_copy(&thumprintencoding), core::mem::transmute(&strservercertificates), core::mem::transmute_copy(&encoding)).into() @@ -13814,7 +13814,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); IX509SCEPEnrollment_Impl::InitializeForPending(this, core::mem::transmute_copy(&context)).into() } - unsafe extern "system" fn CreateRequestMessage, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRequestMessage, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::CreateRequestMessage(this, core::mem::transmute_copy(&encoding)) { @@ -13825,7 +13825,7 @@ impl IX509SCEPEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateRetrievePendingMessage, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRetrievePendingMessage, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::CreateRetrievePendingMessage(this, core::mem::transmute_copy(&encoding)) { @@ -13836,7 +13836,7 @@ impl IX509SCEPEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateRetrieveCertificateMessage, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strissuer: std::mem::MaybeUninit, issuerencoding: EncodingType, strserialnumber: std::mem::MaybeUninit, serialnumberencoding: EncodingType, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateRetrieveCertificateMessage, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: X509CertificateEnrollmentContext, strissuer: core::mem::MaybeUninit, issuerencoding: EncodingType, strserialnumber: core::mem::MaybeUninit, serialnumberencoding: EncodingType, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::CreateRetrieveCertificateMessage(this, core::mem::transmute_copy(&context), core::mem::transmute(&strissuer), core::mem::transmute_copy(&issuerencoding), core::mem::transmute(&strserialnumber), core::mem::transmute_copy(&serialnumberencoding), core::mem::transmute_copy(&encoding)) { @@ -13847,7 +13847,7 @@ impl IX509SCEPEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProcessResponseMessage, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponse: std::mem::MaybeUninit, encoding: EncodingType, pdisposition: *mut X509SCEPDisposition) -> windows_core::HRESULT { + unsafe extern "system" fn ProcessResponseMessage, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresponse: core::mem::MaybeUninit, encoding: EncodingType, pdisposition: *mut X509SCEPDisposition) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::ProcessResponseMessage(this, core::mem::transmute(&strresponse), core::mem::transmute_copy(&encoding)) { @@ -13858,7 +13858,7 @@ impl IX509SCEPEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServerCapabilities, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServerCapabilities, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509SCEPEnrollment_Impl::SetServerCapabilities(this, core::mem::transmute(&value)).into() @@ -13906,7 +13906,7 @@ impl IX509SCEPEnrollment_Vtbl { let this = (*this).get_impl(); IX509SCEPEnrollment_Impl::SetOldCertificate(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn get_TransactionId, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_TransactionId, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::get_TransactionId(this, core::mem::transmute_copy(&encoding)) { @@ -13917,7 +13917,7 @@ impl IX509SCEPEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_TransactionId, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_TransactionId, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509SCEPEnrollment_Impl::put_TransactionId(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() @@ -13933,7 +13933,7 @@ impl IX509SCEPEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CertificateFriendlyName, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CertificateFriendlyName, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::CertificateFriendlyName(this) { @@ -13944,7 +13944,7 @@ impl IX509SCEPEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCertificateFriendlyName, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCertificateFriendlyName, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509SCEPEnrollment_Impl::SetCertificateFriendlyName(this, core::mem::transmute(&value)).into() @@ -13960,7 +13960,7 @@ impl IX509SCEPEnrollment_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Certificate, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Certificate, Impl: IX509SCEPEnrollment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment_Impl::get_Certificate(this, core::mem::transmute_copy(&encoding)) { @@ -14036,7 +14036,7 @@ impl windows_core::RuntimeName for IX509SCEPEnrollment2 {} #[cfg(feature = "Win32_System_Com")] impl IX509SCEPEnrollment2_Vtbl { pub const fn new, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>() -> IX509SCEPEnrollment2_Vtbl { - unsafe extern "system" fn CreateChallengeAnswerMessage, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateChallengeAnswerMessage, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment2_Impl::CreateChallengeAnswerMessage(this, core::mem::transmute_copy(&encoding)) { @@ -14047,7 +14047,7 @@ impl IX509SCEPEnrollment2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProcessResponseMessage2, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: X509SCEPProcessMessageFlags, strresponse: std::mem::MaybeUninit, encoding: EncodingType, pdisposition: *mut X509SCEPDisposition) -> windows_core::HRESULT { + unsafe extern "system" fn ProcessResponseMessage2, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: X509SCEPProcessMessageFlags, strresponse: core::mem::MaybeUninit, encoding: EncodingType, pdisposition: *mut X509SCEPDisposition) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment2_Impl::ProcessResponseMessage2(this, core::mem::transmute_copy(&flags), core::mem::transmute(&strresponse), core::mem::transmute_copy(&encoding)) { @@ -14058,7 +14058,7 @@ impl IX509SCEPEnrollment2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ResultMessageText, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResultMessageText, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment2_Impl::ResultMessageText(this) { @@ -14080,7 +14080,7 @@ impl IX509SCEPEnrollment2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ActivityId, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ActivityId, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollment2_Impl::ActivityId(this) { @@ -14091,7 +14091,7 @@ impl IX509SCEPEnrollment2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetActivityId, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetActivityId, Impl: IX509SCEPEnrollment2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509SCEPEnrollment2_Impl::SetActivityId(this, core::mem::transmute(&value)).into() @@ -14124,12 +14124,12 @@ impl windows_core::RuntimeName for IX509SCEPEnrollmentHelper {} #[cfg(feature = "Win32_System_Com")] impl IX509SCEPEnrollmentHelper_Vtbl { pub const fn new, Impl: IX509SCEPEnrollmentHelper_Impl, const OFFSET: isize>() -> IX509SCEPEnrollmentHelper_Vtbl { - unsafe extern "system" fn Initialize, Impl: IX509SCEPEnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserverurl: std::mem::MaybeUninit, strrequestheaders: std::mem::MaybeUninit, prequest: *mut core::ffi::c_void, strcacertificatethumbprint: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IX509SCEPEnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserverurl: core::mem::MaybeUninit, strrequestheaders: core::mem::MaybeUninit, prequest: *mut core::ffi::c_void, strcacertificatethumbprint: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509SCEPEnrollmentHelper_Impl::Initialize(this, core::mem::transmute(&strserverurl), core::mem::transmute(&strrequestheaders), windows_core::from_raw_borrowed(&prequest), core::mem::transmute(&strcacertificatethumbprint)).into() } - unsafe extern "system" fn InitializeForPending, Impl: IX509SCEPEnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserverurl: std::mem::MaybeUninit, strrequestheaders: std::mem::MaybeUninit, context: X509CertificateEnrollmentContext, strtransactionid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeForPending, Impl: IX509SCEPEnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserverurl: core::mem::MaybeUninit, strrequestheaders: core::mem::MaybeUninit, context: X509CertificateEnrollmentContext, strtransactionid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509SCEPEnrollmentHelper_Impl::InitializeForPending(this, core::mem::transmute(&strserverurl), core::mem::transmute(&strrequestheaders), core::mem::transmute_copy(&context), core::mem::transmute(&strtransactionid)).into() @@ -14167,7 +14167,7 @@ impl IX509SCEPEnrollmentHelper_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ResultMessageText, Impl: IX509SCEPEnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResultMessageText, Impl: IX509SCEPEnrollmentHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SCEPEnrollmentHelper_Impl::ResultMessageText(this) { @@ -14245,7 +14245,7 @@ impl IX509SignatureInformation_Vtbl { let this = (*this).get_impl(); IX509SignatureInformation_Impl::SetPublicKeyAlgorithm(this, windows_core::from_raw_borrowed(&pvalue)).into() } - unsafe extern "system" fn get_Parameters, Impl: IX509SignatureInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Parameters, Impl: IX509SignatureInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IX509SignatureInformation_Impl::get_Parameters(this, core::mem::transmute_copy(&encoding)) { @@ -14256,7 +14256,7 @@ impl IX509SignatureInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Parameters, Impl: IX509SignatureInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_Parameters, Impl: IX509SignatureInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encoding: EncodingType, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IX509SignatureInformation_Impl::put_Parameters(this, core::mem::transmute_copy(&encoding), core::mem::transmute(&value)).into() 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 9bbef35077..8ec5ea4d61 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 @@ -169,7 +169,7 @@ windows_core::imp::define_interface!(IAlternativeName, IAlternativeName_Vtbl, 0x impl std::ops::Deref for IAlternativeName { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -198,20 +198,20 @@ impl IAlternativeName { (windows_core::Interface::vtable(self).InitializeFromOtherName)(windows_core::Interface::as_raw(self), pobjectid.param().abi(), encoding, strrawdata.param().abi(), tobewrapped.param().abi()).ok() } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StrValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_RawData(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RawData)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -219,19 +219,19 @@ impl IAlternativeName { #[repr(C)] pub struct IAlternativeName_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub InitializeFromString: unsafe extern "system" fn(*mut core::ffi::c_void, AlternativeNameType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeFromRawData: unsafe extern "system" fn(*mut core::ffi::c_void, AlternativeNameType, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromString: unsafe extern "system" fn(*mut core::ffi::c_void, AlternativeNameType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromRawData: unsafe extern "system" fn(*mut core::ffi::c_void, AlternativeNameType, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub InitializeFromOtherName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub InitializeFromOtherName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeFromOtherName: usize, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AlternativeNameType) -> windows_core::HRESULT, - pub StrValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StrValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ObjectId: usize, - pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAlternativeNames, IAlternativeNames_Vtbl, 0x728ab314_217d_11da_b2a4_000e7bbb2b09); @@ -239,7 +239,7 @@ windows_core::imp::define_interface!(IAlternativeNames, IAlternativeNames_Vtbl, impl std::ops::Deref for IAlternativeNames { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -248,15 +248,15 @@ windows_core::imp::interface_hierarchy!(IAlternativeNames, windows_core::IUnknow impl IAlternativeNames { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -296,7 +296,7 @@ windows_core::imp::define_interface!(IBinaryConverter, IBinaryConverter_Vtbl, 0x impl std::ops::Deref for IBinaryConverter { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -307,18 +307,18 @@ impl IBinaryConverter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StringToString)(windows_core::Interface::as_raw(self), strencodedin.param().abi(), encodingin, encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VariantByteArrayToString(&self, pvarbytearray: *const windows_core::VARIANT, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VariantByteArrayToString)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarbytearray), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StringToVariantByteArray(&self, strencoded: P0, encoding: EncodingType) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StringToVariantByteArray)(windows_core::Interface::as_raw(self), strencoded.param().abi(), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -326,9 +326,9 @@ impl IBinaryConverter { #[repr(C)] pub struct IBinaryConverter_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub StringToString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VariantByteArrayToString: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StringToVariantByteArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StringToString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VariantByteArrayToString: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StringToVariantByteArray: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBinaryConverter2, IBinaryConverter2_Vtbl, 0x8d7928b4_4e17_428d_9a17_728df00d1b2b); @@ -336,7 +336,7 @@ windows_core::imp::define_interface!(IBinaryConverter2, IBinaryConverter2_Vtbl, impl std::ops::Deref for IBinaryConverter2 { type Target = IBinaryConverter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -344,11 +344,11 @@ windows_core::imp::interface_hierarchy!(IBinaryConverter2, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IBinaryConverter2 { pub unsafe fn StringArrayToVariantArray(&self, pvarstringarray: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StringArrayToVariantArray)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarstringarray), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VariantArrayToStringArray(&self, pvarvariantarray: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VariantArrayToStringArray)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarvariantarray), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -356,8 +356,8 @@ impl IBinaryConverter2 { #[repr(C)] pub struct IBinaryConverter2_Vtbl { pub base__: IBinaryConverter_Vtbl, - pub StringArrayToVariantArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VariantArrayToStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StringArrayToVariantArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VariantArrayToStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICEnroll, ICEnroll_Vtbl, 0x43f8f288_7a20_11d0_8f06_00c04fc295e1); @@ -365,7 +365,7 @@ windows_core::imp::define_interface!(ICEnroll, ICEnroll_Vtbl, 0x43f8f288_7a20_11 impl std::ops::Deref for ICEnroll { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -391,7 +391,7 @@ impl ICEnroll { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createPKCS10)(windows_core::Interface::as_raw(self), dnname.param().abi(), usage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn acceptPKCS7(&self, pkcs7: P0) -> windows_core::Result<()> @@ -404,15 +404,15 @@ impl ICEnroll { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getCertFromPKCS7)(windows_core::Interface::as_raw(self), wszpkcs7.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).enumProviders)(windows_core::Interface::as_raw(self), dwindex, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn enumContainers(&self, dwindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).enumContainers)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn freeRequestInfo(&self, pkcs7orpkcs10: P0) -> windows_core::Result<()> @@ -422,7 +422,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).freeRequestInfo)(windows_core::Interface::as_raw(self), pkcs7orpkcs10.param().abi()).ok() } pub unsafe fn MyStoreName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MyStoreName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMyStoreName(&self, bstrname: P0) -> windows_core::Result<()> @@ -432,7 +432,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetMyStoreName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn MyStoreType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MyStoreType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMyStoreType(&self, bstrtype: P0) -> windows_core::Result<()> @@ -442,14 +442,14 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetMyStoreType)(windows_core::Interface::as_raw(self), bstrtype.param().abi()).ok() } pub unsafe fn MyStoreFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MyStoreFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetMyStoreFlags)(windows_core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn CAStoreName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAStoreName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCAStoreName(&self, bstrname: P0) -> windows_core::Result<()> @@ -459,7 +459,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetCAStoreName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn CAStoreType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAStoreType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCAStoreType(&self, bstrtype: P0) -> windows_core::Result<()> @@ -469,14 +469,14 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetCAStoreType)(windows_core::Interface::as_raw(self), bstrtype.param().abi()).ok() } pub unsafe fn CAStoreFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAStoreFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetCAStoreFlags)(windows_core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn RootStoreName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootStoreName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRootStoreName(&self, bstrname: P0) -> windows_core::Result<()> @@ -486,7 +486,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetRootStoreName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn RootStoreType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootStoreType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRootStoreType(&self, bstrtype: P0) -> windows_core::Result<()> @@ -496,14 +496,14 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetRootStoreType)(windows_core::Interface::as_raw(self), bstrtype.param().abi()).ok() } pub unsafe fn RootStoreFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootStoreFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetRootStoreFlags)(windows_core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn RequestStoreName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestStoreName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRequestStoreName(&self, bstrname: P0) -> windows_core::Result<()> @@ -513,7 +513,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetRequestStoreName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn RequestStoreType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestStoreType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRequestStoreType(&self, bstrtype: P0) -> windows_core::Result<()> @@ -523,14 +523,14 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetRequestStoreType)(windows_core::Interface::as_raw(self), bstrtype.param().abi()).ok() } pub unsafe fn RequestStoreFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestStoreFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetRequestStoreFlags)(windows_core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn ContainerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContainerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContainerName(&self, bstrcontainer: P0) -> windows_core::Result<()> @@ -540,7 +540,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetContainerName)(windows_core::Interface::as_raw(self), bstrcontainer.param().abi()).ok() } pub unsafe fn ProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProviderName(&self, bstrprovider: P0) -> windows_core::Result<()> @@ -550,28 +550,28 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetProviderName)(windows_core::Interface::as_raw(self), bstrprovider.param().abi()).ok() } pub unsafe fn ProviderType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeySpec)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetProviderFlags)(windows_core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn UseExistingKeySet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseExistingKeySet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseExistingKeySet(&self, fuseexistingkeys: P0) -> windows_core::Result<()> @@ -581,14 +581,14 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetUseExistingKeySet)(windows_core::Interface::as_raw(self), fuseexistingkeys.param().abi()).ok() } pub unsafe fn GenKeyFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenKeyFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetGenKeyFlags)(windows_core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn DeleteRequestCert(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeleteRequestCert)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDeleteRequestCert(&self, fdelete: P0) -> windows_core::Result<()> @@ -598,7 +598,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetDeleteRequestCert)(windows_core::Interface::as_raw(self), fdelete.param().abi()).ok() } pub unsafe fn WriteCertToCSP(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteCertToCSP)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWriteCertToCSP(&self, fbool: P0) -> windows_core::Result<()> @@ -608,7 +608,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetWriteCertToCSP)(windows_core::Interface::as_raw(self), fbool.param().abi()).ok() } pub unsafe fn SPCFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SPCFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSPCFileName(&self, bstr: P0) -> windows_core::Result<()> @@ -618,7 +618,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetSPCFileName)(windows_core::Interface::as_raw(self), bstr.param().abi()).ok() } pub unsafe fn PVKFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PVKFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPVKFileName(&self, bstr: P0) -> windows_core::Result<()> @@ -628,7 +628,7 @@ impl ICEnroll { (windows_core::Interface::vtable(self).SetPVKFileName)(windows_core::Interface::as_raw(self), bstr.param().abi()).ok() } pub unsafe fn HashAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHashAlgorithm(&self, bstr: P0) -> windows_core::Result<()> @@ -642,42 +642,42 @@ impl ICEnroll { #[repr(C)] pub struct ICEnroll_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub createFilePKCS10: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub acceptFilePKCS7: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub createPKCS10: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub acceptPKCS7: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getCertFromPKCS7: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub enumProviders: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub enumContainers: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub freeRequestInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MyStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMyStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MyStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMyStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub createFilePKCS10: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub acceptFilePKCS7: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub createPKCS10: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub acceptPKCS7: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getCertFromPKCS7: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub enumProviders: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub enumContainers: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub freeRequestInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MyStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMyStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MyStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMyStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MyStoreFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMyStoreFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CAStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCAStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CAStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCAStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CAStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCAStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CAStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCAStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CAStoreFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCAStoreFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub RootStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRootStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RootStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRootStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RootStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRootStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RootStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRootStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RootStoreFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetRootStoreFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub RequestStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRequestStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RequestStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRequestStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRequestStoreName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRequestStoreType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestStoreFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetRequestStoreFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub ContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub KeySpec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -692,12 +692,12 @@ pub struct ICEnroll_Vtbl { pub SetDeleteRequestCert: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub WriteCertToCSP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetWriteCertToCSP: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub SPCFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSPCFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PVKFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPVKFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SPCFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSPCFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PVKFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPVKFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICEnroll2, ICEnroll2_Vtbl, 0x704ca730_c90b_11d1_9bec_00c04fc295e1); @@ -705,7 +705,7 @@ windows_core::imp::define_interface!(ICEnroll2, ICEnroll2_Vtbl, 0x704ca730_c90b_ impl std::ops::Deref for ICEnroll2 { type Target = ICEnroll; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -726,7 +726,7 @@ impl ICEnroll2 { (windows_core::Interface::vtable(self).addNameValuePairToSignature)(windows_core::Interface::as_raw(self), name.param().abi(), value.param().abi()).ok() } pub unsafe fn WriteCertToUserDS(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteCertToUserDS)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWriteCertToUserDS(&self, fbool: P0) -> windows_core::Result<()> @@ -736,7 +736,7 @@ impl ICEnroll2 { (windows_core::Interface::vtable(self).SetWriteCertToUserDS)(windows_core::Interface::as_raw(self), fbool.param().abi()).ok() } pub unsafe fn EnableT61DNEncoding(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableT61DNEncoding)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableT61DNEncoding(&self, fbool: P0) -> windows_core::Result<()> @@ -750,8 +750,8 @@ impl ICEnroll2 { #[repr(C)] pub struct ICEnroll2_Vtbl { pub base__: ICEnroll_Vtbl, - pub addCertTypeToRequest: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub addNameValuePairToSignature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub addCertTypeToRequest: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub addNameValuePairToSignature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub WriteCertToUserDS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetWriteCertToUserDS: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub EnableT61DNEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -763,7 +763,7 @@ windows_core::imp::define_interface!(ICEnroll3, ICEnroll3_Vtbl, 0xc28c2d95_b7de_ impl std::ops::Deref for ICEnroll3 { type Target = ICEnroll2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -780,7 +780,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedKeySpec)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetKeyLen(&self, fmin: P0, fexchange: P1) -> windows_core::Result @@ -788,15 +788,15 @@ impl ICEnroll3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyLen)(windows_core::Interface::as_raw(self), fmin.param().abi(), fexchange.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EnumAlgs(&self, dwindex: i32, algclass: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAlgs)(windows_core::Interface::as_raw(self), dwindex, algclass, &mut result__).map(|| result__) } pub unsafe fn GetAlgName(&self, algid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlgName)(windows_core::Interface::as_raw(self), algid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetReuseHardwareKeyIfUnableToGenNew(&self, freusehardwarekeyifunabletogennew: P0) -> windows_core::Result<()> @@ -806,14 +806,14 @@ impl ICEnroll3 { (windows_core::Interface::vtable(self).SetReuseHardwareKeyIfUnableToGenNew)(windows_core::Interface::as_raw(self), freusehardwarekeyifunabletogennew.param().abi()).ok() } pub unsafe fn ReuseHardwareKeyIfUnableToGenNew(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReuseHardwareKeyIfUnableToGenNew)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLimitExchangeKeyToEncipherment(&self, flimitexchangekeytoencipherment: P0) -> windows_core::Result<()> @@ -823,7 +823,7 @@ impl ICEnroll3 { (windows_core::Interface::vtable(self).SetLimitExchangeKeyToEncipherment)(windows_core::Interface::as_raw(self), flimitexchangekeytoencipherment.param().abi()).ok() } pub unsafe fn LimitExchangeKeyToEncipherment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LimitExchangeKeyToEncipherment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableSMIMECapabilities(&self, fenablesmimecapabilities: P0) -> windows_core::Result<()> @@ -833,7 +833,7 @@ impl ICEnroll3 { (windows_core::Interface::vtable(self).SetEnableSMIMECapabilities)(windows_core::Interface::as_raw(self), fenablesmimecapabilities.param().abi()).ok() } pub unsafe fn EnableSMIMECapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableSMIMECapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -841,12 +841,12 @@ impl ICEnroll3 { #[repr(C)] pub struct ICEnroll3_Vtbl { pub base__: ICEnroll2_Vtbl, - pub InstallPKCS7: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallPKCS7: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSupportedKeySpec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetKeyLen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL, super::super::super::Foundation::BOOL, *mut i32) -> windows_core::HRESULT, pub EnumAlgs: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, - pub GetAlgName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAlgName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetReuseHardwareKeyIfUnableToGenNew: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ReuseHardwareKeyIfUnableToGenNew: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetHashAlgID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -862,7 +862,7 @@ windows_core::imp::define_interface!(ICEnroll4, ICEnroll4_Vtbl, 0xc1f1188a_2eb5_ impl std::ops::Deref for ICEnroll4 { type Target = ICEnroll3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -876,7 +876,7 @@ impl ICEnroll4 { (windows_core::Interface::vtable(self).SetPrivateKeyArchiveCertificate)(windows_core::Interface::as_raw(self), bstrcert.param().abi()).ok() } pub unsafe fn PrivateKeyArchiveCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateKeyArchiveCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetThumbPrint(&self, bstrthumbprint: P0) -> windows_core::Result<()> @@ -886,21 +886,21 @@ impl ICEnroll4 { (windows_core::Interface::vtable(self).SetThumbPrint)(windows_core::Interface::as_raw(self), bstrthumbprint.param().abi()).ok() } pub unsafe fn ThumbPrint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ThumbPrint)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn binaryToString(&self, flags: i32, strbinary: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).binaryToString)(windows_core::Interface::as_raw(self), flags, strbinary.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn stringToBinary(&self, flags: i32, strencoded: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).stringToBinary)(windows_core::Interface::as_raw(self), flags, strencoded.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn addExtensionToRequest(&self, flags: i32, strname: P0, strvalue: P1) -> windows_core::Result<()> @@ -935,7 +935,7 @@ impl ICEnroll4 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createRequest)(windows_core::Interface::as_raw(self), flags, strdnname.param().abi(), usage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn createFileRequest(&self, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: P0, strusage: P1, strrequestfilename: P2) -> windows_core::Result<()> @@ -962,21 +962,21 @@ impl ICEnroll4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getCertFromResponse)(windows_core::Interface::as_raw(self), strresponse.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getCertFromFileResponse(&self, strresponsefilename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getCertFromFileResponse)(windows_core::Interface::as_raw(self), strresponsefilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn createPFX(&self, strpassword: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).createPFX)(windows_core::Interface::as_raw(self), strpassword.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn createFilePFX(&self, strpassword: P0, strpfxfilename: P1) -> windows_core::Result<()> @@ -995,7 +995,7 @@ impl ICEnroll4 { (windows_core::Interface::vtable(self).setPendingRequestInfo)(windows_core::Interface::as_raw(self), lrequestid, strcadns.param().abi(), strcaname.param().abi(), strfriendlyname.param().abi()).ok() } pub unsafe fn enumPendingRequest(&self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).enumPendingRequest)(windows_core::Interface::as_raw(self), lindex, ldesiredproperty, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn removePendingRequest(&self, strthumbprint: P0) -> windows_core::Result<()> @@ -1005,14 +1005,14 @@ impl ICEnroll4 { (windows_core::Interface::vtable(self).removePendingRequest)(windows_core::Interface::as_raw(self), strthumbprint.param().abi()).ok() } pub unsafe fn GetKeyLenEx(&self, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyLenEx)(windows_core::Interface::as_raw(self), lsizespec, lkeyspec, &mut result__).map(|| result__) } pub unsafe fn InstallPKCS7Ex(&self, pkcs7: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstallPKCS7Ex)(windows_core::Interface::as_raw(self), pkcs7.param().abi(), &mut result__).map(|| result__) } pub unsafe fn addCertTypeToRequestEx(&self, ltype: ADDED_CERT_TYPE, bstroidorname: P0, lmajorversion: i32, fminorversion: P1, lminorversion: i32) -> windows_core::Result<()> @@ -1026,7 +1026,7 @@ impl ICEnroll4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getProviderType)(windows_core::Interface::as_raw(self), strprovname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetSignerCertificate(&self, bstrcert: P0) -> windows_core::Result<()> @@ -1039,7 +1039,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn addBlobPropertyToCertificate(&self, lpropertyid: i32, lreserved: i32, bstrproperty: P0) -> windows_core::Result<()> @@ -1058,7 +1058,7 @@ impl ICEnroll4 { (windows_core::Interface::vtable(self).SetIncludeSubjectKeyID)(windows_core::Interface::as_raw(self), finclude.param().abi()).ok() } pub unsafe fn IncludeSubjectKeyID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncludeSubjectKeyID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1066,36 +1066,36 @@ impl ICEnroll4 { #[repr(C)] pub struct ICEnroll4_Vtbl { pub base__: ICEnroll3_Vtbl, - pub SetPrivateKeyArchiveCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PrivateKeyArchiveCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetThumbPrint: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ThumbPrint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub binaryToString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub stringToBinary: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub addExtensionToRequest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub addAttributeToRequest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub addNameValuePairToRequest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPrivateKeyArchiveCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrivateKeyArchiveCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetThumbPrint: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ThumbPrint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub binaryToString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub stringToBinary: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub addExtensionToRequest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub addAttributeToRequest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub addNameValuePairToRequest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub resetExtensions: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub resetAttributes: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub createRequest: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_CREATE_REQUEST_FLAGS, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub createFileRequest: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_CREATE_REQUEST_FLAGS, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub acceptResponse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub acceptFileResponse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getCertFromResponse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getCertFromFileResponse: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub createPFX: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub createFilePFX: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setPendingRequestInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub enumPendingRequest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, PENDING_REQUEST_DESIRED_PROPERTY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub removePendingRequest: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub createRequest: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_CREATE_REQUEST_FLAGS, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub createFileRequest: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_CREATE_REQUEST_FLAGS, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub acceptResponse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub acceptFileResponse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getCertFromResponse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getCertFromFileResponse: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub createPFX: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub createFilePFX: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setPendingRequestInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub enumPendingRequest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, PENDING_REQUEST_DESIRED_PROPERTY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub removePendingRequest: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetKeyLenEx: unsafe extern "system" fn(*mut core::ffi::c_void, XEKL_KEYSIZE, XEKL_KEYSPEC, *mut i32) -> windows_core::HRESULT, - pub InstallPKCS7Ex: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub addCertTypeToRequestEx: unsafe extern "system" fn(*mut core::ffi::c_void, ADDED_CERT_TYPE, std::mem::MaybeUninit, i32, super::super::super::Foundation::BOOL, i32) -> windows_core::HRESULT, - pub getProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub SetSignerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallPKCS7Ex: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub addCertTypeToRequestEx: unsafe extern "system" fn(*mut core::ffi::c_void, ADDED_CERT_TYPE, core::mem::MaybeUninit, i32, super::super::super::Foundation::BOOL, i32) -> windows_core::HRESULT, + pub getProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub SetSignerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetClientId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub addBlobPropertyToCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub addBlobPropertyToCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub resetBlobProperties: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetIncludeSubjectKeyID: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IncludeSubjectKeyID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -1106,7 +1106,7 @@ windows_core::imp::define_interface!(ICertAdmin, ICertAdmin_Vtbl, 0x34df6950_7fb impl std::ops::Deref for ICertAdmin { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1118,11 +1118,11 @@ impl ICertAdmin { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsValidCertificate)(windows_core::Interface::as_raw(self), strconfig.param().abi(), strserialnumber.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetRevocationReason(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRevocationReason)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RevokeCertificate(&self, strconfig: P0, strserialnumber: P1, reason: i32, date: f64) -> windows_core::Result<()> @@ -1156,7 +1156,7 @@ impl ICertAdmin { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResubmitRequest)(windows_core::Interface::as_raw(self), strconfig.param().abi(), requestid, &mut result__).map(|| result__) } pub unsafe fn PublishCRL(&self, strconfig: P0, date: f64) -> windows_core::Result<()> @@ -1169,7 +1169,7 @@ impl ICertAdmin { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCRL)(windows_core::Interface::as_raw(self), strconfig.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ImportCertificate(&self, strconfig: P0, strcertificate: P1, flags: CERT_IMPORT_FLAGS) -> windows_core::Result @@ -1177,7 +1177,7 @@ impl ICertAdmin { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportCertificate)(windows_core::Interface::as_raw(self), strconfig.param().abi(), strcertificate.param().abi(), flags, &mut result__).map(|| result__) } } @@ -1185,16 +1185,16 @@ impl ICertAdmin { #[repr(C)] pub struct ICertAdmin_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub IsValidCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub IsValidCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub GetRevocationReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub RevokeCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, f64) -> windows_core::HRESULT, - pub SetRequestAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, CERT_PROPERTY_TYPE, i32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DenyRequest: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub ResubmitRequest: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub PublishCRL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64) -> windows_core::HRESULT, - pub GetCRL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImportCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, CERT_IMPORT_FLAGS, *mut i32) -> windows_core::HRESULT, + pub RevokeCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, f64) -> windows_core::HRESULT, + pub SetRequestAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, CERT_PROPERTY_TYPE, i32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DenyRequest: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub ResubmitRequest: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub PublishCRL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64) -> windows_core::HRESULT, + pub GetCRL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImportCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, CERT_IMPORT_FLAGS, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertAdmin2, ICertAdmin2_Vtbl, 0xf7c3ac41_b8ce_4fb4_aa58_3d1dc0e36b39); @@ -1202,7 +1202,7 @@ windows_core::imp::define_interface!(ICertAdmin2, ICertAdmin2_Vtbl, 0xf7c3ac41_b impl std::ops::Deref for ICertAdmin2 { type Target = ICertAdmin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1219,7 +1219,7 @@ impl ICertAdmin2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAProperty)(windows_core::Interface::as_raw(self), strconfig.param().abi(), propid, propindex, proptype, flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCAProperty(&self, strconfig: P0, propid: i32, propindex: i32, proptype: CERT_PROPERTY_TYPE, pvarpropertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -1232,21 +1232,21 @@ impl ICertAdmin2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAPropertyFlags)(windows_core::Interface::as_raw(self), strconfig.param().abi(), propid, &mut result__).map(|| result__) } pub unsafe fn GetCAPropertyDisplayName(&self, strconfig: P0, propid: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAPropertyDisplayName)(windows_core::Interface::as_raw(self), strconfig.param().abi(), propid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetArchivedKey(&self, strconfig: P0, requestid: i32, flags: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetArchivedKey)(windows_core::Interface::as_raw(self), strconfig.param().abi(), requestid, flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConfigEntry(&self, strconfig: P0, strnodepath: P1, strentryname: P2) -> windows_core::Result @@ -1255,7 +1255,7 @@ impl ICertAdmin2 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfigEntry)(windows_core::Interface::as_raw(self), strconfig.param().abi(), strnodepath.param().abi(), strentryname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetConfigEntry(&self, strconfig: P0, strnodepath: P1, strentryname: P2, pvarentry: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -1278,14 +1278,14 @@ impl ICertAdmin2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMyRoles)(windows_core::Interface::as_raw(self), strconfig.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DeleteRow(&self, strconfig: P0, flags: CERT_DELETE_ROW_FLAGS, date: f64, table: CVRC_TABLE, rowid: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeleteRow)(windows_core::Interface::as_raw(self), strconfig.param().abi(), flags, date, table, rowid, &mut result__).map(|| result__) } } @@ -1293,17 +1293,17 @@ impl ICertAdmin2 { #[repr(C)] pub struct ICertAdmin2_Vtbl { pub base__: ICertAdmin_Vtbl, - pub PublishCRLs: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f64, i32) -> windows_core::HRESULT, - pub GetCAProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCAProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, CERT_PROPERTY_TYPE, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCAPropertyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub GetCAPropertyDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetArchivedKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetConfigEntry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetConfigEntry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImportKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, CERT_IMPORT_FLAGS, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetMyRoles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut CERTADMIN_GET_ROLES_FLAGS) -> windows_core::HRESULT, - pub DeleteRow: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, CERT_DELETE_ROW_FLAGS, f64, CVRC_TABLE, i32, *mut i32) -> windows_core::HRESULT, + pub PublishCRLs: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f64, i32) -> windows_core::HRESULT, + pub GetCAProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCAProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, CERT_PROPERTY_TYPE, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCAPropertyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub GetCAPropertyDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetArchivedKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConfigEntry: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetConfigEntry: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImportKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, CERT_IMPORT_FLAGS, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMyRoles: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut CERTADMIN_GET_ROLES_FLAGS) -> windows_core::HRESULT, + pub DeleteRow: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, CERT_DELETE_ROW_FLAGS, f64, CVRC_TABLE, i32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertConfig, ICertConfig_Vtbl, 0x372fce34_4324_11d0_8810_00a0c903b83c); @@ -1311,7 +1311,7 @@ windows_core::imp::define_interface!(ICertConfig, ICertConfig_Vtbl, 0x372fce34_4 impl std::ops::Deref for ICertConfig { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1319,22 +1319,22 @@ windows_core::imp::interface_hierarchy!(ICertConfig, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ICertConfig { pub unsafe fn Reset(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetField(&self, strfieldname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetField)(windows_core::Interface::as_raw(self), strfieldname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConfig(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfig)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1344,8 +1344,8 @@ pub struct ICertConfig_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetField: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetConfig: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetField: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConfig: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertConfig2, ICertConfig2_Vtbl, 0x7a18edde_7e78_4163_8ded_78e2c9cee924); @@ -1353,7 +1353,7 @@ windows_core::imp::define_interface!(ICertConfig2, ICertConfig2_Vtbl, 0x7a18edde impl std::ops::Deref for ICertConfig2 { type Target = ICertConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1371,7 +1371,7 @@ impl ICertConfig2 { #[repr(C)] pub struct ICertConfig2_Vtbl { pub base__: ICertConfig_Vtbl, - pub SetSharedFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSharedFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeAltName, ICertEncodeAltName_Vtbl, 0x1c9a8c70_1271_11d1_9bd4_00c04fb683fa); @@ -1379,7 +1379,7 @@ windows_core::imp::define_interface!(ICertEncodeAltName, ICertEncodeAltName_Vtbl impl std::ops::Deref for ICertEncodeAltName { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1393,15 +1393,15 @@ impl ICertEncodeAltName { (windows_core::Interface::vtable(self).Decode)(windows_core::Interface::as_raw(self), strbinary.param().abi()).ok() } pub unsafe fn GetNameCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNameCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNameChoice(&self, nameindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNameChoice)(windows_core::Interface::as_raw(self), nameindex, &mut result__).map(|| result__) } pub unsafe fn GetName(&self, nameindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), nameindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reset(&self, namecount: i32) -> windows_core::Result<()> { @@ -1414,7 +1414,7 @@ impl ICertEncodeAltName { (windows_core::Interface::vtable(self).SetNameEntry)(windows_core::Interface::as_raw(self), nameindex, namechoice, strname.param().abi()).ok() } pub unsafe fn Encode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Encode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1422,13 +1422,13 @@ impl ICertEncodeAltName { #[repr(C)] pub struct ICertEncodeAltName_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNameCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetNameChoice: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SetNameEntry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, CERT_ALT_NAME, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNameEntry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, CERT_ALT_NAME, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeAltName2, ICertEncodeAltName2_Vtbl, 0xf67fe177_5ef1_4535_b4ce_29df15e2e0c3); @@ -1436,7 +1436,7 @@ windows_core::imp::define_interface!(ICertEncodeAltName2, ICertEncodeAltName2_Vt impl std::ops::Deref for ICertEncodeAltName2 { type Target = ICertEncodeAltName; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1450,11 +1450,11 @@ impl ICertEncodeAltName2 { (windows_core::Interface::vtable(self).DecodeBlob)(windows_core::Interface::as_raw(self), strencodeddata.param().abi(), encoding).ok() } pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncodeBlob)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNameBlob(&self, nameindex: i32, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNameBlob)(windows_core::Interface::as_raw(self), nameindex, encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNameEntryBlob(&self, nameindex: i32, namechoice: i32, strname: P0, encoding: EncodingType) -> windows_core::Result<()> @@ -1468,10 +1468,10 @@ impl ICertEncodeAltName2 { #[repr(C)] pub struct ICertEncodeAltName2_Vtbl { pub base__: ICertEncodeAltName_Vtbl, - pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, - pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetNameBlob: unsafe extern "system" fn(*mut core::ffi::c_void, i32, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNameEntryBlob: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNameBlob: unsafe extern "system" fn(*mut core::ffi::c_void, i32, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNameEntryBlob: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeBitString, ICertEncodeBitString_Vtbl, 0x6db525be_1278_11d1_9bd4_00c04fb683fa); @@ -1479,7 +1479,7 @@ windows_core::imp::define_interface!(ICertEncodeBitString, ICertEncodeBitString_ impl std::ops::Deref for ICertEncodeBitString { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1493,18 +1493,18 @@ impl ICertEncodeBitString { (windows_core::Interface::vtable(self).Decode)(windows_core::Interface::as_raw(self), strbinary.param().abi()).ok() } pub unsafe fn GetBitCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBitString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Encode(&self, bitcount: i32, strbitstring: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Encode)(windows_core::Interface::as_raw(self), bitcount, strbitstring.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1512,10 +1512,10 @@ impl ICertEncodeBitString { #[repr(C)] pub struct ICertEncodeBitString_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetBitCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetBitString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBitString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeBitString2, ICertEncodeBitString2_Vtbl, 0xe070d6e7_23ef_4dd2_8242_ebd9c928cb30); @@ -1523,7 +1523,7 @@ windows_core::imp::define_interface!(ICertEncodeBitString2, ICertEncodeBitString impl std::ops::Deref for ICertEncodeBitString2 { type Target = ICertEncodeBitString; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1540,11 +1540,11 @@ impl ICertEncodeBitString2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncodeBlob)(windows_core::Interface::as_raw(self), bitcount, strbitstring.param().abi(), encodingin, encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBitStringBlob(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitStringBlob)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1552,9 +1552,9 @@ impl ICertEncodeBitString2 { #[repr(C)] pub struct ICertEncodeBitString2_Vtbl { pub base__: ICertEncodeBitString_Vtbl, - pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, - pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, EncodingType, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetBitStringBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, EncodingType, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBitStringBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeCRLDistInfo, ICertEncodeCRLDistInfo_Vtbl, 0x01958640_bbff_11d0_8825_00a0c903b83c); @@ -1562,7 +1562,7 @@ windows_core::imp::define_interface!(ICertEncodeCRLDistInfo, ICertEncodeCRLDistI impl std::ops::Deref for ICertEncodeCRLDistInfo { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1576,19 +1576,19 @@ impl ICertEncodeCRLDistInfo { (windows_core::Interface::vtable(self).Decode)(windows_core::Interface::as_raw(self), strbinary.param().abi()).ok() } pub unsafe fn GetDistPointCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDistPointCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNameCount(&self, distpointindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNameCount)(windows_core::Interface::as_raw(self), distpointindex, &mut result__).map(|| result__) } pub unsafe fn GetNameChoice(&self, distpointindex: i32, nameindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNameChoice)(windows_core::Interface::as_raw(self), distpointindex, nameindex, &mut result__).map(|| result__) } pub unsafe fn GetName(&self, distpointindex: i32, nameindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), distpointindex, nameindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reset(&self, distpointcount: i32) -> windows_core::Result<()> { @@ -1604,7 +1604,7 @@ impl ICertEncodeCRLDistInfo { (windows_core::Interface::vtable(self).SetNameEntry)(windows_core::Interface::as_raw(self), distpointindex, nameindex, namechoice, strname.param().abi()).ok() } pub unsafe fn Encode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Encode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1612,15 +1612,15 @@ impl ICertEncodeCRLDistInfo { #[repr(C)] pub struct ICertEncodeCRLDistInfo_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDistPointCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetNameCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub GetNameChoice: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetNameCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, - pub SetNameEntry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, CERT_ALT_NAME, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNameEntry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, CERT_ALT_NAME, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeCRLDistInfo2, ICertEncodeCRLDistInfo2_Vtbl, 0xb4275d4b_3e30_446f_ad36_09d03120b078); @@ -1628,7 +1628,7 @@ windows_core::imp::define_interface!(ICertEncodeCRLDistInfo2, ICertEncodeCRLDist impl std::ops::Deref for ICertEncodeCRLDistInfo2 { type Target = ICertEncodeCRLDistInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1642,7 +1642,7 @@ impl ICertEncodeCRLDistInfo2 { (windows_core::Interface::vtable(self).DecodeBlob)(windows_core::Interface::as_raw(self), strencodeddata.param().abi(), encoding).ok() } pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncodeBlob)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1650,8 +1650,8 @@ impl ICertEncodeCRLDistInfo2 { #[repr(C)] pub struct ICertEncodeCRLDistInfo2_Vtbl { pub base__: ICertEncodeCRLDistInfo_Vtbl, - pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, - pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeDateArray, ICertEncodeDateArray_Vtbl, 0x2f9469a0_a470_11d0_8821_00a0c903b83c); @@ -1659,7 +1659,7 @@ windows_core::imp::define_interface!(ICertEncodeDateArray, ICertEncodeDateArray_ impl std::ops::Deref for ICertEncodeDateArray { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1673,11 +1673,11 @@ impl ICertEncodeDateArray { (windows_core::Interface::vtable(self).Decode)(windows_core::Interface::as_raw(self), strbinary.param().abi()).ok() } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn Reset(&self, count: i32) -> windows_core::Result<()> { @@ -1687,7 +1687,7 @@ impl ICertEncodeDateArray { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), index, value).ok() } pub unsafe fn Encode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Encode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1695,12 +1695,12 @@ impl ICertEncodeDateArray { #[repr(C)] pub struct ICertEncodeDateArray_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut f64) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, f64) -> windows_core::HRESULT, - pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeDateArray2, ICertEncodeDateArray2_Vtbl, 0x99a4edb5_2b8e_448d_bf95_bba8d7789dc8); @@ -1708,7 +1708,7 @@ windows_core::imp::define_interface!(ICertEncodeDateArray2, ICertEncodeDateArray impl std::ops::Deref for ICertEncodeDateArray2 { type Target = ICertEncodeDateArray; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1722,7 +1722,7 @@ impl ICertEncodeDateArray2 { (windows_core::Interface::vtable(self).DecodeBlob)(windows_core::Interface::as_raw(self), strencodeddata.param().abi(), encoding).ok() } pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncodeBlob)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1730,8 +1730,8 @@ impl ICertEncodeDateArray2 { #[repr(C)] pub struct ICertEncodeDateArray2_Vtbl { pub base__: ICertEncodeDateArray_Vtbl, - pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, - pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeLongArray, ICertEncodeLongArray_Vtbl, 0x15e2f230_a0a2_11d0_8821_00a0c903b83c); @@ -1739,7 +1739,7 @@ windows_core::imp::define_interface!(ICertEncodeLongArray, ICertEncodeLongArray_ impl std::ops::Deref for ICertEncodeLongArray { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1753,11 +1753,11 @@ impl ICertEncodeLongArray { (windows_core::Interface::vtable(self).Decode)(windows_core::Interface::as_raw(self), strbinary.param().abi()).ok() } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn Reset(&self, count: i32) -> windows_core::Result<()> { @@ -1767,7 +1767,7 @@ impl ICertEncodeLongArray { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), index, value).ok() } pub unsafe fn Encode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Encode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1775,12 +1775,12 @@ impl ICertEncodeLongArray { #[repr(C)] pub struct ICertEncodeLongArray_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, - pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeLongArray2, ICertEncodeLongArray2_Vtbl, 0x4efde84a_bd9b_4fc2_a108_c347d478840f); @@ -1788,7 +1788,7 @@ windows_core::imp::define_interface!(ICertEncodeLongArray2, ICertEncodeLongArray impl std::ops::Deref for ICertEncodeLongArray2 { type Target = ICertEncodeLongArray; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1802,7 +1802,7 @@ impl ICertEncodeLongArray2 { (windows_core::Interface::vtable(self).DecodeBlob)(windows_core::Interface::as_raw(self), strencodeddata.param().abi(), encoding).ok() } pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncodeBlob)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1810,8 +1810,8 @@ impl ICertEncodeLongArray2 { #[repr(C)] pub struct ICertEncodeLongArray2_Vtbl { pub base__: ICertEncodeLongArray_Vtbl, - pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, - pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeStringArray, ICertEncodeStringArray_Vtbl, 0x12a88820_7494_11d0_8816_00a0c903b83c); @@ -1819,7 +1819,7 @@ windows_core::imp::define_interface!(ICertEncodeStringArray, ICertEncodeStringAr impl std::ops::Deref for ICertEncodeStringArray { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1833,15 +1833,15 @@ impl ICertEncodeStringArray { (windows_core::Interface::vtable(self).Decode)(windows_core::Interface::as_raw(self), strbinary.param().abi()).ok() } pub unsafe fn GetStringType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reset(&self, count: i32, stringtype: super::CERT_RDN_ATTR_VALUE_TYPE) -> windows_core::Result<()> { @@ -1854,7 +1854,7 @@ impl ICertEncodeStringArray { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), index, str.param().abi()).ok() } pub unsafe fn Encode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Encode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1862,13 +1862,13 @@ impl ICertEncodeStringArray { #[repr(C)] pub struct ICertEncodeStringArray_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetStringType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::CERT_RDN_ATTR_VALUE_TYPE) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeStringArray2, ICertEncodeStringArray2_Vtbl, 0x9c680d93_9b7d_4e95_9018_4ffe10ba5ada); @@ -1876,7 +1876,7 @@ windows_core::imp::define_interface!(ICertEncodeStringArray2, ICertEncodeStringA impl std::ops::Deref for ICertEncodeStringArray2 { type Target = ICertEncodeStringArray; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1890,7 +1890,7 @@ impl ICertEncodeStringArray2 { (windows_core::Interface::vtable(self).DecodeBlob)(windows_core::Interface::as_raw(self), strencodeddata.param().abi(), encoding).ok() } pub unsafe fn EncodeBlob(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncodeBlob)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1898,8 +1898,8 @@ impl ICertEncodeStringArray2 { #[repr(C)] pub struct ICertEncodeStringArray2_Vtbl { pub base__: ICertEncodeStringArray_Vtbl, - pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, - pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DecodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertExit, ICertExit_Vtbl, 0xe19ae1a0_7364_11d0_8816_00a0c903b83c); @@ -1907,7 +1907,7 @@ windows_core::imp::define_interface!(ICertExit, ICertExit_Vtbl, 0xe19ae1a0_7364_ impl std::ops::Deref for ICertExit { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1918,14 +1918,14 @@ impl ICertExit { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), strconfig.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Notify(&self, exitevent: i32, context: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Notify)(windows_core::Interface::as_raw(self), exitevent, context).ok() } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1933,9 +1933,9 @@ impl ICertExit { #[repr(C)] pub struct ICertExit_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut CERT_EXIT_EVENT_MASK) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut CERT_EXIT_EVENT_MASK) -> windows_core::HRESULT, pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertExit2, ICertExit2_Vtbl, 0x0abf484b_d049_464d_a7ed_552e7529b0ff); @@ -1943,7 +1943,7 @@ windows_core::imp::define_interface!(ICertExit2, ICertExit2_Vtbl, 0x0abf484b_d04 impl std::ops::Deref for ICertExit2 { type Target = ICertExit; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1952,7 +1952,7 @@ windows_core::imp::interface_hierarchy!(ICertExit2, windows_core::IUnknown, supe impl ICertExit2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetManageModule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetManageModule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1971,7 +1971,7 @@ windows_core::imp::define_interface!(ICertGetConfig, ICertGetConfig_Vtbl, 0xc7ea impl std::ops::Deref for ICertGetConfig { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1979,7 +1979,7 @@ windows_core::imp::interface_hierarchy!(ICertGetConfig, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ICertGetConfig { pub unsafe fn GetConfig(&self, flags: CERT_GET_CONFIG_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfig)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1987,7 +1987,7 @@ impl ICertGetConfig { #[repr(C)] pub struct ICertGetConfig_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub GetConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_GET_CONFIG_FLAGS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_GET_CONFIG_FLAGS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertManageModule, ICertManageModule_Vtbl, 0xe7d7ad42_bd3d_11d1_9a4d_00c04fc297eb); @@ -1995,7 +1995,7 @@ windows_core::imp::define_interface!(ICertManageModule, ICertManageModule_Vtbl, impl std::ops::Deref for ICertManageModule { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2008,7 +2008,7 @@ impl ICertManageModule { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), strconfig.param().abi(), strstoragelocation.param().abi(), strpropertyname.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, strconfig: P0, strstoragelocation: P1, strpropertyname: P2, flags: i32, pvarproperty: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -2031,9 +2031,9 @@ impl ICertManageModule { #[repr(C)] pub struct ICertManageModule_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPolicy, ICertPolicy_Vtbl, 0x38bb5a00_7636_11d0_b413_00a0c91bbf8c); @@ -2041,7 +2041,7 @@ windows_core::imp::define_interface!(ICertPolicy, ICertPolicy_Vtbl, 0x38bb5a00_7 impl std::ops::Deref for ICertPolicy { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2058,11 +2058,11 @@ impl ICertPolicy { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VerifyRequest)(windows_core::Interface::as_raw(self), strconfig.param().abi(), context, bnewrequest, flags, &mut result__).map(|| result__) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShutDown(&self) -> windows_core::Result<()> { @@ -2073,9 +2073,9 @@ impl ICertPolicy { #[repr(C)] pub struct ICertPolicy_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VerifyRequest: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, i32, *mut i32) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VerifyRequest: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, i32, *mut i32) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ShutDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2084,7 +2084,7 @@ windows_core::imp::define_interface!(ICertPolicy2, ICertPolicy2_Vtbl, 0x3db4910e impl std::ops::Deref for ICertPolicy2 { type Target = ICertPolicy; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2093,7 +2093,7 @@ windows_core::imp::interface_hierarchy!(ICertPolicy2, windows_core::IUnknown, su impl ICertPolicy2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetManageModule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetManageModule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2112,7 +2112,7 @@ windows_core::imp::define_interface!(ICertProperties, ICertProperties_Vtbl, 0x72 impl std::ops::Deref for ICertProperties { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2121,15 +2121,15 @@ windows_core::imp::interface_hierarchy!(ICertProperties, windows_core::IUnknown, impl ICertProperties { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2169,7 +2169,7 @@ pub struct ICertProperties_Vtbl { Add: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub InitializeFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertProperty, ICertProperty_Vtbl, 0x728ab32e_217d_11da_b2a4_000e7bbb2b09); @@ -2177,7 +2177,7 @@ windows_core::imp::define_interface!(ICertProperty, ICertProperty_Vtbl, 0x728ab3 impl std::ops::Deref for ICertProperty { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2198,14 +2198,14 @@ impl ICertProperty { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn PropertyId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetPropertyId)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn get_RawData(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RawData)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveFromCertificate(&self, machinecontext: P0, encoding: EncodingType, strcertificate: P1) -> windows_core::Result<()> @@ -2227,13 +2227,13 @@ impl ICertProperty { #[repr(C)] pub struct ICertProperty_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub InitializeFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PropertyId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CERTENROLL_PROPERTYID) -> windows_core::HRESULT, pub SetPropertyId: unsafe extern "system" fn(*mut core::ffi::c_void, CERTENROLL_PROPERTYID) -> windows_core::HRESULT, - pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValueOnCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValueOnCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyArchived, ICertPropertyArchived_Vtbl, 0x728ab337_217d_11da_b2a4_000e7bbb2b09); @@ -2241,7 +2241,7 @@ windows_core::imp::define_interface!(ICertPropertyArchived, ICertPropertyArchive impl std::ops::Deref for ICertPropertyArchived { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2255,7 +2255,7 @@ impl ICertPropertyArchived { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), archivedvalue.param().abi()).ok() } pub unsafe fn Archived(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Archived)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2272,7 +2272,7 @@ windows_core::imp::define_interface!(ICertPropertyArchivedKeyHash, ICertProperty impl std::ops::Deref for ICertPropertyArchivedKeyHash { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2286,7 +2286,7 @@ impl ICertPropertyArchivedKeyHash { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), encoding, strarchivedkeyhashvalue.param().abi()).ok() } pub unsafe fn get_ArchivedKeyHash(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ArchivedKeyHash)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2294,8 +2294,8 @@ impl ICertPropertyArchivedKeyHash { #[repr(C)] pub struct ICertPropertyArchivedKeyHash_Vtbl { pub base__: ICertProperty_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_ArchivedKeyHash: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ArchivedKeyHash: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyAutoEnroll, ICertPropertyAutoEnroll_Vtbl, 0x728ab332_217d_11da_b2a4_000e7bbb2b09); @@ -2303,7 +2303,7 @@ windows_core::imp::define_interface!(ICertPropertyAutoEnroll, ICertPropertyAutoE impl std::ops::Deref for ICertPropertyAutoEnroll { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2317,7 +2317,7 @@ impl ICertPropertyAutoEnroll { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), strtemplatename.param().abi()).ok() } pub unsafe fn TemplateName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TemplateName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2325,8 +2325,8 @@ impl ICertPropertyAutoEnroll { #[repr(C)] pub struct ICertPropertyAutoEnroll_Vtbl { pub base__: ICertProperty_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyBackedUp, ICertPropertyBackedUp_Vtbl, 0x728ab338_217d_11da_b2a4_000e7bbb2b09); @@ -2334,7 +2334,7 @@ windows_core::imp::define_interface!(ICertPropertyBackedUp, ICertPropertyBackedU impl std::ops::Deref for ICertPropertyBackedUp { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2354,11 +2354,11 @@ impl ICertPropertyBackedUp { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), backedupvalue.param().abi(), date).ok() } pub unsafe fn BackedUpValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackedUpValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BackedUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackedUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2377,7 +2377,7 @@ windows_core::imp::define_interface!(ICertPropertyDescription, ICertPropertyDesc impl std::ops::Deref for ICertPropertyDescription { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2391,7 +2391,7 @@ impl ICertPropertyDescription { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), strdescription.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2399,8 +2399,8 @@ impl ICertPropertyDescription { #[repr(C)] pub struct ICertPropertyDescription_Vtbl { pub base__: ICertProperty_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyEnrollment, ICertPropertyEnrollment_Vtbl, 0x728ab339_217d_11da_b2a4_000e7bbb2b09); @@ -2408,7 +2408,7 @@ windows_core::imp::define_interface!(ICertPropertyEnrollment, ICertPropertyEnrol impl std::ops::Deref for ICertPropertyEnrollment { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2424,19 +2424,19 @@ impl ICertPropertyEnrollment { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), requestid, strcadnsname.param().abi(), strcaname.param().abi(), strfriendlyname.param().abi()).ok() } pub unsafe fn RequestId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CADnsName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CADnsName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CAName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2444,11 +2444,11 @@ impl ICertPropertyEnrollment { #[repr(C)] pub struct ICertPropertyEnrollment_Vtbl { pub base__: ICertProperty_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CADnsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CAName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CADnsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CAName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyEnrollmentPolicyServer, ICertPropertyEnrollmentPolicyServer_Vtbl, 0x728ab34a_217d_11da_b2a4_000e7bbb2b09); @@ -2456,7 +2456,7 @@ windows_core::imp::define_interface!(ICertPropertyEnrollmentPolicyServer, ICertP impl std::ops::Deref for ICertPropertyEnrollmentPolicyServer { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2473,35 +2473,35 @@ impl ICertPropertyEnrollmentPolicyServer { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), propertyflags, authflags, enrollmentserverauthflags, urlflags, strrequestid.param().abi(), strurl.param().abi(), strid.param().abi(), strenrollmentserverurl.param().abi()).ok() } pub unsafe fn GetPolicyServerUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicyServerUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPolicyServerId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicyServerId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEnrollmentServerUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnrollmentServerUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRequestIdString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestIdString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUrlFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUrlFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAuthentication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAuthentication)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEnrollmentServerAuthentication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnrollmentServerAuthentication)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2509,11 +2509,11 @@ impl ICertPropertyEnrollmentPolicyServer { #[repr(C)] pub struct ICertPropertyEnrollmentPolicyServer_Vtbl { pub base__: ICertProperty_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentPolicyServerPropertyFlags, X509EnrollmentAuthFlags, X509EnrollmentAuthFlags, PolicyServerUrlFlags, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPolicyServerUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPolicyServerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetEnrollmentServerUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRequestIdString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentPolicyServerPropertyFlags, X509EnrollmentAuthFlags, X509EnrollmentAuthFlags, PolicyServerUrlFlags, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPolicyServerUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPolicyServerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEnrollmentServerUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRequestIdString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetPropertyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EnrollmentPolicyServerPropertyFlags) -> windows_core::HRESULT, pub GetUrlFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PolicyServerUrlFlags) -> windows_core::HRESULT, pub GetAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509EnrollmentAuthFlags) -> windows_core::HRESULT, @@ -2525,7 +2525,7 @@ windows_core::imp::define_interface!(ICertPropertyFriendlyName, ICertPropertyFri impl std::ops::Deref for ICertPropertyFriendlyName { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2539,7 +2539,7 @@ impl ICertPropertyFriendlyName { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), strfriendlyname.param().abi()).ok() } pub unsafe fn FriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2547,8 +2547,8 @@ impl ICertPropertyFriendlyName { #[repr(C)] pub struct ICertPropertyFriendlyName_Vtbl { pub base__: ICertProperty_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyKeyProvInfo, ICertPropertyKeyProvInfo_Vtbl, 0x728ab336_217d_11da_b2a4_000e7bbb2b09); @@ -2556,7 +2556,7 @@ windows_core::imp::define_interface!(ICertPropertyKeyProvInfo, ICertPropertyKeyP impl std::ops::Deref for ICertPropertyKeyProvInfo { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2572,7 +2572,7 @@ impl ICertPropertyKeyProvInfo { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2595,7 +2595,7 @@ windows_core::imp::define_interface!(ICertPropertyRenewal, ICertPropertyRenewal_ impl std::ops::Deref for ICertPropertyRenewal { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2616,7 +2616,7 @@ impl ICertPropertyRenewal { (windows_core::Interface::vtable(self).InitializeFromCertificateHash)(windows_core::Interface::as_raw(self), machinecontext.param().abi(), encoding, strcertificate.param().abi()).ok() } pub unsafe fn get_Renewal(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Renewal)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2624,9 +2624,9 @@ impl ICertPropertyRenewal { #[repr(C)] pub struct ICertPropertyRenewal_Vtbl { pub base__: ICertProperty_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeFromCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Renewal: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromCertificateHash: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Renewal: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyRequestOriginator, ICertPropertyRequestOriginator_Vtbl, 0x728ab333_217d_11da_b2a4_000e7bbb2b09); @@ -2634,7 +2634,7 @@ windows_core::imp::define_interface!(ICertPropertyRequestOriginator, ICertProper impl std::ops::Deref for ICertPropertyRequestOriginator { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2651,7 +2651,7 @@ impl ICertPropertyRequestOriginator { (windows_core::Interface::vtable(self).InitializeFromLocalRequestOriginator)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn RequestOriginator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestOriginator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2659,9 +2659,9 @@ impl ICertPropertyRequestOriginator { #[repr(C)] pub struct ICertPropertyRequestOriginator_Vtbl { pub base__: ICertProperty_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub InitializeFromLocalRequestOriginator: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestOriginator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestOriginator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertySHA1Hash, ICertPropertySHA1Hash_Vtbl, 0x728ab334_217d_11da_b2a4_000e7bbb2b09); @@ -2669,7 +2669,7 @@ windows_core::imp::define_interface!(ICertPropertySHA1Hash, ICertPropertySHA1Has impl std::ops::Deref for ICertPropertySHA1Hash { type Target = ICertProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2683,7 +2683,7 @@ impl ICertPropertySHA1Hash { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), encoding, strrenewalvalue.param().abi()).ok() } pub unsafe fn get_SHA1Hash(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SHA1Hash)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2691,8 +2691,8 @@ impl ICertPropertySHA1Hash { #[repr(C)] pub struct ICertPropertySHA1Hash_Vtbl { pub base__: ICertProperty_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_SHA1Hash: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_SHA1Hash: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertRequest, ICertRequest_Vtbl, 0x014e4840_5523_11d0_8812_00a0c903b83c); @@ -2700,7 +2700,7 @@ windows_core::imp::define_interface!(ICertRequest, ICertRequest_Vtbl, 0x014e4840 impl std::ops::Deref for ICertRequest { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2713,37 +2713,37 @@ impl ICertRequest { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Submit)(windows_core::Interface::as_raw(self), flags, strrequest.param().abi(), strattributes.param().abi(), strconfig.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RetrievePending(&self, requestid: i32, strconfig: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetrievePending)(windows_core::Interface::as_raw(self), requestid, strconfig.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetLastStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRequestId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDispositionMessage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDispositionMessage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCACertificate(&self, fexchangecertificate: i32, strconfig: P0, flags: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCACertificate)(windows_core::Interface::as_raw(self), fexchangecertificate, strconfig.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCertificate(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificate)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2751,13 +2751,13 @@ impl ICertRequest { #[repr(C)] pub struct ICertRequest_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub RetrievePending: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub RetrievePending: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub GetLastStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetRequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetDispositionMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDispositionMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertRequest2, ICertRequest2_Vtbl, 0xa4772988_4a85_4fa9_824e_b5cf5c16405a); @@ -2765,7 +2765,7 @@ windows_core::imp::define_interface!(ICertRequest2, ICertRequest2_Vtbl, 0xa47729 impl std::ops::Deref for ICertRequest2 { type Target = ICertRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2777,36 +2777,36 @@ impl ICertRequest2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIssuedCertificate)(windows_core::Interface::as_raw(self), strconfig.param().abi(), requestid, strserialnumber.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetErrorMessageText(&self, hrmessage: i32, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorMessageText)(windows_core::Interface::as_raw(self), hrmessage, flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCAProperty(&self, strconfig: P0, propid: i32, propindex: i32, proptype: i32, flags: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAProperty)(windows_core::Interface::as_raw(self), strconfig.param().abi(), propid, propindex, proptype, flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCAPropertyFlags(&self, strconfig: P0, propid: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAPropertyFlags)(windows_core::Interface::as_raw(self), strconfig.param().abi(), propid, &mut result__).map(|| result__) } pub unsafe fn GetCAPropertyDisplayName(&self, strconfig: P0, propid: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAPropertyDisplayName)(windows_core::Interface::as_raw(self), strconfig.param().abi(), propid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFullResponseProperty)(windows_core::Interface::as_raw(self), propid, propindex, proptype, flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2814,12 +2814,12 @@ impl ICertRequest2 { #[repr(C)] pub struct ICertRequest2_Vtbl { pub base__: ICertRequest_Vtbl, - pub GetIssuedCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, *mut CR_DISP) -> windows_core::HRESULT, - pub GetErrorMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCAProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCAPropertyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub GetCAPropertyDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFullResponseProperty: unsafe extern "system" fn(*mut core::ffi::c_void, FULL_RESPONSE_PROPERTY_ID, i32, CERT_PROPERTY_TYPE, CERT_REQUEST_OUT_TYPE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetIssuedCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, *mut CR_DISP) -> windows_core::HRESULT, + pub GetErrorMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCAProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCAPropertyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub GetCAPropertyDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFullResponseProperty: unsafe extern "system" fn(*mut core::ffi::c_void, FULL_RESPONSE_PROPERTY_ID, i32, CERT_PROPERTY_TYPE, CERT_REQUEST_OUT_TYPE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertRequest3, ICertRequest3_Vtbl, 0xafc8f92b_33a2_4861_bf36_2933b7cd67b3); @@ -2827,7 +2827,7 @@ windows_core::imp::define_interface!(ICertRequest3, ICertRequest3_Vtbl, 0xafc8f9 impl std::ops::Deref for ICertRequest3 { type Target = ICertRequest2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2842,7 +2842,7 @@ impl ICertRequest3 { (windows_core::Interface::vtable(self).SetCredential)(windows_core::Interface::as_raw(self), hwnd, authtype, strcredential.param().abi(), strpassword.param().abi()).ok() } pub unsafe fn GetRequestIdString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestIdString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIssuedCertificate2(&self, strconfig: P0, strrequestid: P1, strserialnumber: P2) -> windows_core::Result @@ -2851,11 +2851,11 @@ impl ICertRequest3 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIssuedCertificate2)(windows_core::Interface::as_raw(self), strconfig.param().abi(), strrequestid.param().abi(), strserialnumber.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetRefreshPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRefreshPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2863,16 +2863,16 @@ impl ICertRequest3 { #[repr(C)] pub struct ICertRequest3_Vtbl { pub base__: ICertRequest2_Vtbl, - pub SetCredential: unsafe extern "system" fn(*mut core::ffi::c_void, i32, X509EnrollmentAuthFlags, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRequestIdString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetIssuedCertificate2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut CR_DISP) -> windows_core::HRESULT, + pub SetCredential: unsafe extern "system" fn(*mut core::ffi::c_void, i32, X509EnrollmentAuthFlags, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRequestIdString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetIssuedCertificate2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut CR_DISP) -> windows_core::HRESULT, pub GetRefreshPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertRequestD, ICertRequestD_Vtbl, 0xd99e6e70_fc88_11d0_b498_00a0c90312f3); impl std::ops::Deref for ICertRequestD { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICertRequestD, windows_core::IUnknown); @@ -2888,7 +2888,7 @@ impl ICertRequestD { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCACert)(windows_core::Interface::as_raw(self), fchain, pwszauthority.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Ping(&self, pwszauthority: P0) -> windows_core::Result<()> @@ -2909,7 +2909,7 @@ windows_core::imp::define_interface!(ICertRequestD2, ICertRequestD2_Vtbl, 0x5422 impl std::ops::Deref for ICertRequestD2 { type Target = ICertRequestD; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICertRequestD2, windows_core::IUnknown, ICertRequestD); @@ -2926,7 +2926,7 @@ impl ICertRequestD2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAProperty)(windows_core::Interface::as_raw(self), pwszauthority.param().abi(), propid, propindex, proptype, &mut result__).map(|| result__) } pub unsafe fn GetCAPropertyInfo(&self, pwszauthority: P0, pcproperty: *mut i32, pctbpropinfo: *mut CERTTRANSBLOB) -> windows_core::Result<()> @@ -2956,7 +2956,7 @@ windows_core::imp::define_interface!(ICertServerExit, ICertServerExit_Vtbl, 0x4b impl std::ops::Deref for ICertServerExit { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2970,39 +2970,39 @@ impl ICertServerExit { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestProperty)(windows_core::Interface::as_raw(self), strpropertyname.param().abi(), propertytype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRequestAttribute(&self, strattributename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestAttribute)(windows_core::Interface::as_raw(self), strattributename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCertificateProperty(&self, strpropertyname: P0, propertytype: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateProperty)(windows_core::Interface::as_raw(self), strpropertyname.param().abi(), propertytype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCertificateExtension(&self, strextensionname: P0, r#type: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateExtension)(windows_core::Interface::as_raw(self), strextensionname.param().abi(), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCertificateExtensionFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateExtensionFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerateExtensionsSetup(&self, flags: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).EnumerateExtensionsSetup)(windows_core::Interface::as_raw(self), flags).ok() } pub unsafe fn EnumerateExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateExtensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateExtensionsClose(&self) -> windows_core::Result<()> { @@ -3012,7 +3012,7 @@ impl ICertServerExit { (windows_core::Interface::vtable(self).EnumerateAttributesSetup)(windows_core::Interface::as_raw(self), flags).ok() } pub unsafe fn EnumerateAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateAttributesClose(&self) -> windows_core::Result<()> { @@ -3024,16 +3024,16 @@ impl ICertServerExit { pub struct ICertServerExit_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub GetRequestProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRequestAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCertificateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRequestProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRequestAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCertificateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCertificateExtensionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnumerateExtensionsSetup: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub EnumerateExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumerateExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateExtensionsClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateAttributesSetup: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub EnumerateAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumerateAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateAttributesClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -3042,7 +3042,7 @@ windows_core::imp::define_interface!(ICertServerPolicy, ICertServerPolicy_Vtbl, impl std::ops::Deref for ICertServerPolicy { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3056,21 +3056,21 @@ impl ICertServerPolicy { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestProperty)(windows_core::Interface::as_raw(self), strpropertyname.param().abi(), propertytype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRequestAttribute(&self, strattributename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestAttribute)(windows_core::Interface::as_raw(self), strattributename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCertificateProperty(&self, strpropertyname: P0, propertytype: CERT_PROPERTY_TYPE) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateProperty)(windows_core::Interface::as_raw(self), strpropertyname.param().abi(), propertytype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCertificateProperty(&self, strpropertyname: P0, propertytype: i32, pvarpropertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -3083,11 +3083,11 @@ impl ICertServerPolicy { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateExtension)(windows_core::Interface::as_raw(self), strextensionname.param().abi(), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCertificateExtensionFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateExtensionFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCertificateExtension(&self, strextensionname: P0, r#type: i32, extflags: i32, pvarvalue: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -3100,7 +3100,7 @@ impl ICertServerPolicy { (windows_core::Interface::vtable(self).EnumerateExtensionsSetup)(windows_core::Interface::as_raw(self), flags).ok() } pub unsafe fn EnumerateExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateExtensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateExtensionsClose(&self) -> windows_core::Result<()> { @@ -3110,7 +3110,7 @@ impl ICertServerPolicy { (windows_core::Interface::vtable(self).EnumerateAttributesSetup)(windows_core::Interface::as_raw(self), flags).ok() } pub unsafe fn EnumerateAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateAttributesClose(&self) -> windows_core::Result<()> { @@ -3122,18 +3122,18 @@ impl ICertServerPolicy { pub struct ICertServerPolicy_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub GetRequestProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRequestAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCertificateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, CERT_PROPERTY_TYPE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCertificateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, CERT_PROPERTY_TYPE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRequestProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRequestAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCertificateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, CERT_PROPERTY_TYPE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCertificateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, CERT_PROPERTY_TYPE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCertificateExtensionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub SetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCertificateExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateExtensionsSetup: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub EnumerateExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumerateExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateExtensionsClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateAttributesSetup: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub EnumerateAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumerateAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerateAttributesClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -3142,7 +3142,7 @@ windows_core::imp::define_interface!(ICertView, ICertView_Vtbl, 0xc3fac344_1e84_ impl std::ops::Deref for ICertView { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3157,7 +3157,7 @@ impl ICertView { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCertViewColumn(&self, fresultcolumn: CVRC_COLUMN) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCertViewColumn)(windows_core::Interface::as_raw(self), fresultcolumn, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColumnCount(&self, fresultcolumn: CVRC_COLUMN, pccolumn: *mut i32) -> windows_core::Result<()> { @@ -3180,7 +3180,7 @@ impl ICertView { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OpenView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenView)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3188,16 +3188,16 @@ impl ICertView { #[repr(C)] pub struct ICertView_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub OpenConnection: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OpenConnection: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EnumCertViewColumn: unsafe extern "system" fn(*mut core::ffi::c_void, CVRC_COLUMN, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumCertViewColumn: usize, pub GetColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, CVRC_COLUMN, *mut i32) -> windows_core::HRESULT, - pub GetColumnIndex: unsafe extern "system" fn(*mut core::ffi::c_void, CVRC_COLUMN, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetColumnIndex: unsafe extern "system" fn(*mut core::ffi::c_void, CVRC_COLUMN, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub SetResultColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetResultColumn: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SetRestriction: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_VIEW_COLUMN_INDEX, CERT_VIEW_SEEK_OPERATOR_FLAGS, i32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRestriction: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_VIEW_COLUMN_INDEX, CERT_VIEW_SEEK_OPERATOR_FLAGS, i32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub OpenView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3209,7 +3209,7 @@ windows_core::imp::define_interface!(ICertView2, ICertView2_Vtbl, 0xd594b282_885 impl std::ops::Deref for ICertView2 { type Target = ICertView; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3232,7 +3232,7 @@ windows_core::imp::define_interface!(ICertificateAttestationChallenge, ICertific impl std::ops::Deref for ICertificateAttestationChallenge { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3246,11 +3246,11 @@ impl ICertificateAttestationChallenge { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), encoding, strpendingfullcmcresponsewithchallenge.param().abi()).ok() } pub unsafe fn DecryptChallenge(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DecryptChallenge)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3258,9 +3258,9 @@ impl ICertificateAttestationChallenge { #[repr(C)] pub struct ICertificateAttestationChallenge_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DecryptChallenge: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RequestID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DecryptChallenge: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificateAttestationChallenge2, ICertificateAttestationChallenge2_Vtbl, 0x4631334d_e266_47d6_bd79_be53cb2e2753); @@ -3268,7 +3268,7 @@ windows_core::imp::define_interface!(ICertificateAttestationChallenge2, ICertifi impl std::ops::Deref for ICertificateAttestationChallenge2 { type Target = ICertificateAttestationChallenge; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3292,8 +3292,8 @@ impl ICertificateAttestationChallenge2 { #[repr(C)] pub struct ICertificateAttestationChallenge2_Vtbl { pub base__: ICertificateAttestationChallenge_Vtbl, - pub SetKeyContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_KeyBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetKeyContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_KeyBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificatePolicies, ICertificatePolicies_Vtbl, 0x728ab31f_217d_11da_b2a4_000e7bbb2b09); @@ -3301,7 +3301,7 @@ windows_core::imp::define_interface!(ICertificatePolicies, ICertificatePolicies_ impl std::ops::Deref for ICertificatePolicies { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3310,15 +3310,15 @@ windows_core::imp::interface_hierarchy!(ICertificatePolicies, windows_core::IUnk impl ICertificatePolicies { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3358,7 +3358,7 @@ windows_core::imp::define_interface!(ICertificatePolicy, ICertificatePolicy_Vtbl impl std::ops::Deref for ICertificatePolicy { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3374,12 +3374,12 @@ impl ICertificatePolicy { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyQualifiers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyQualifiers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3406,7 +3406,7 @@ windows_core::imp::define_interface!(ICertificationAuthorities, ICertificationAu impl std::ops::Deref for ICertificationAuthorities { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3415,15 +3415,15 @@ windows_core::imp::interface_hierarchy!(ICertificationAuthorities, windows_core: impl ICertificationAuthorities { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3447,7 +3447,7 @@ impl ICertificationAuthorities { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByName)(windows_core::Interface::as_raw(self), strname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3469,7 +3469,7 @@ pub struct ICertificationAuthorities_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ComputeSiteCosts: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ItemByName: usize, } @@ -3479,7 +3479,7 @@ windows_core::imp::define_interface!(ICertificationAuthority, ICertificationAuth impl std::ops::Deref for ICertificationAuthority { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3487,7 +3487,7 @@ windows_core::imp::interface_hierarchy!(ICertificationAuthority, windows_core::I #[cfg(feature = "Win32_System_Com")] impl ICertificationAuthority { pub unsafe fn get_Property(&self, property: EnrollmentCAProperty) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self), property, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3495,7 +3495,7 @@ impl ICertificationAuthority { #[repr(C)] pub struct ICertificationAuthority_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentCAProperty, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentCAProperty, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICryptAttribute, ICryptAttribute_Vtbl, 0x728ab32c_217d_11da_b2a4_000e7bbb2b09); @@ -3503,7 +3503,7 @@ windows_core::imp::define_interface!(ICryptAttribute, ICryptAttribute_Vtbl, 0x72 impl std::ops::Deref for ICryptAttribute { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3526,12 +3526,12 @@ impl ICryptAttribute { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Values(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Values)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3562,7 +3562,7 @@ windows_core::imp::define_interface!(ICryptAttributes, ICryptAttributes_Vtbl, 0x impl std::ops::Deref for ICryptAttributes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3571,15 +3571,15 @@ windows_core::imp::interface_hierarchy!(ICryptAttributes, windows_core::IUnknown impl ICryptAttributes { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3600,7 +3600,7 @@ impl ICryptAttributes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_IndexByObjectId)(windows_core::Interface::as_raw(self), pobjectid.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3642,7 +3642,7 @@ windows_core::imp::define_interface!(ICspAlgorithm, ICspAlgorithm_Vtbl, 0x728ab3 impl std::ops::Deref for ICspAlgorithm { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3651,43 +3651,43 @@ windows_core::imp::interface_hierarchy!(ICspAlgorithm, windows_core::IUnknown, s impl ICspAlgorithm { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAlgorithmOid(&self, length: i32, algflags: AlgorithmFlags) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlgorithmOid)(windows_core::Interface::as_raw(self), length, algflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DefaultLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IncrementLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncrementLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LongName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LongName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Valid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Valid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MaxLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Operations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Operations)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3701,11 +3701,11 @@ pub struct ICspAlgorithm_Vtbl { GetAlgorithmOid: usize, pub DefaultLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IncrementLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub LongName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LongName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Valid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub MaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MinLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AlgorithmType) -> windows_core::HRESULT, pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AlgorithmOperationFlags) -> windows_core::HRESULT, } @@ -3715,7 +3715,7 @@ windows_core::imp::define_interface!(ICspAlgorithms, ICspAlgorithms_Vtbl, 0x728a impl std::ops::Deref for ICspAlgorithms { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3724,15 +3724,15 @@ windows_core::imp::interface_hierarchy!(ICspAlgorithms, windows_core::IUnknown, impl ICspAlgorithms { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3753,7 +3753,7 @@ impl ICspAlgorithms { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByName)(windows_core::Interface::as_raw(self), strname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3761,7 +3761,7 @@ impl ICspAlgorithms { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_IndexByObjectId)(windows_core::Interface::as_raw(self), pobjectid.param().abi(), &mut result__).map(|| result__) } } @@ -3782,7 +3782,7 @@ pub struct ICspAlgorithms_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ItemByName: usize, #[cfg(feature = "Win32_System_Com")] @@ -3796,7 +3796,7 @@ windows_core::imp::define_interface!(ICspInformation, ICspInformation_Vtbl, 0x72 impl std::ops::Deref for ICspInformation { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3819,62 +3819,62 @@ impl ICspInformation { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspAlgorithms(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CspAlgorithms)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HasHardwareRandomNumberGenerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasHardwareRandomNumberGenerator)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsHardwareDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsHardwareDevice)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsRemovable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRemovable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSoftwareDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSoftwareDevice)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Valid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Valid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MaxKeyContainerNameLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxKeyContainerNameLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KeySpec(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeySpec)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSmartCard(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSmartCard)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDefaultSecurityDescriptor(&self, machinecontext: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultSecurityDescriptor)(windows_core::Interface::as_raw(self), machinecontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LegacyCsp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LegacyCsp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3882,7 +3882,7 @@ impl ICspInformation { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCspStatusFromOperations)(windows_core::Interface::as_raw(self), palgorithm.param().abi(), operations, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3890,7 +3890,7 @@ impl ICspInformation { #[repr(C)] pub struct ICspInformation_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub InitializeFromName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub InitializeFromType: unsafe extern "system" fn(*mut core::ffi::c_void, X509ProviderType, *mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3905,12 +3905,12 @@ pub struct ICspInformation_Vtbl { pub IsSoftwareDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Valid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub MaxKeyContainerNameLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509ProviderType) -> windows_core::HRESULT, pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub KeySpec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509KeySpec) -> windows_core::HRESULT, pub IsSmartCard: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetDefaultSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefaultSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LegacyCsp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetCspStatusFromOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, AlgorithmOperationFlags, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3923,7 +3923,7 @@ windows_core::imp::define_interface!(ICspInformations, ICspInformations_Vtbl, 0x impl std::ops::Deref for ICspInformations { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3932,15 +3932,15 @@ windows_core::imp::interface_hierarchy!(ICspInformations, windows_core::IUnknown impl ICspInformations { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3964,7 +3964,7 @@ impl ICspInformations { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByName)(windows_core::Interface::as_raw(self), strname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3972,7 +3972,7 @@ impl ICspInformations { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCspStatusFromProviderName)(windows_core::Interface::as_raw(self), strprovidername.param().abi(), legacykeyspec, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3980,7 +3980,7 @@ impl ICspInformations { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCspStatusesFromOperations)(windows_core::Interface::as_raw(self), operations, pcspinformation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3988,7 +3988,7 @@ impl ICspInformations { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEncryptionCspAlgorithms)(windows_core::Interface::as_raw(self), pcspinformation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3996,7 +3996,7 @@ impl ICspInformations { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHashAlgorithms)(windows_core::Interface::as_raw(self), pcspinformation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4018,11 +4018,11 @@ pub struct ICspInformations_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AddAvailableCsps: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ItemByName: usize, #[cfg(feature = "Win32_System_Com")] - pub GetCspStatusFromProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, X509KeySpec, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCspStatusFromProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, X509KeySpec, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetCspStatusFromProviderName: usize, #[cfg(feature = "Win32_System_Com")] @@ -4044,7 +4044,7 @@ windows_core::imp::define_interface!(ICspStatus, ICspStatus_Vtbl, 0x728ab309_217 impl std::ops::Deref for ICspStatus { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4060,7 +4060,7 @@ impl ICspStatus { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pcsp.param().abi(), palgorithm.param().abi()).ok() } pub unsafe fn Ordinal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ordinal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOrdinal(&self, value: i32) -> windows_core::Result<()> { @@ -4068,21 +4068,21 @@ impl ICspStatus { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CspAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CspInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnrollmentStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnrollmentStatus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4108,7 +4108,7 @@ pub struct ICspStatus_Vtbl { pub EnrollmentStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnrollmentStatus: usize, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICspStatuses, ICspStatuses_Vtbl, 0x728ab30a_217d_11da_b2a4_000e7bbb2b09); @@ -4116,7 +4116,7 @@ windows_core::imp::define_interface!(ICspStatuses, ICspStatuses_Vtbl, 0x728ab30a impl std::ops::Deref for ICspStatuses { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4125,15 +4125,15 @@ windows_core::imp::interface_hierarchy!(ICspStatuses, windows_core::IUnknown, su impl ICspStatuses { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4155,12 +4155,12 @@ impl ICspStatuses { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByName)(windows_core::Interface::as_raw(self), strcspname.param().abi(), stralgorithmname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByOrdinal(&self, ordinal: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByOrdinal)(windows_core::Interface::as_raw(self), ordinal, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4169,7 +4169,7 @@ impl ICspStatuses { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByOperations)(windows_core::Interface::as_raw(self), strcspname.param().abi(), stralgorithmname.param().abi(), operations, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4177,7 +4177,7 @@ impl ICspStatuses { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByProvider)(windows_core::Interface::as_raw(self), pcspstatus.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4198,7 +4198,7 @@ pub struct ICspStatuses_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ItemByName: usize, #[cfg(feature = "Win32_System_Com")] @@ -4206,7 +4206,7 @@ pub struct ICspStatuses_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] get_ItemByOrdinal: usize, #[cfg(feature = "Win32_System_Com")] - pub get_ItemByOperations: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, AlgorithmOperationFlags, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ItemByOperations: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, AlgorithmOperationFlags, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ItemByOperations: usize, #[cfg(feature = "Win32_System_Com")] @@ -4218,7 +4218,7 @@ windows_core::imp::define_interface!(IEnroll, IEnroll_Vtbl, 0xacaa7838_4585_11d1 impl std::ops::Deref for IEnroll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnroll, windows_core::IUnknown); @@ -4585,7 +4585,7 @@ windows_core::imp::define_interface!(IEnroll2, IEnroll2_Vtbl, 0xc080e199_b7df_11 impl std::ops::Deref for IEnroll2 { type Target = IEnroll; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnroll2, windows_core::IUnknown, IEnroll); @@ -4696,7 +4696,7 @@ windows_core::imp::define_interface!(IEnroll4, IEnroll4_Vtbl, 0xf8053fe5_78f4_44 impl std::ops::Deref for IEnroll4 { type Target = IEnroll2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnroll4, windows_core::IUnknown, IEnroll, IEnroll2); @@ -4890,7 +4890,7 @@ windows_core::imp::define_interface!(IEnumCERTVIEWATTRIBUTE, IEnumCERTVIEWATTRIB impl std::ops::Deref for IEnumCERTVIEWATTRIBUTE { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4914,7 +4914,7 @@ impl IEnumCERTVIEWATTRIBUTE { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4923,8 +4923,8 @@ impl IEnumCERTVIEWATTRIBUTE { pub struct IEnumCERTVIEWATTRIBUTE_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -4938,7 +4938,7 @@ windows_core::imp::define_interface!(IEnumCERTVIEWCOLUMN, IEnumCERTVIEWCOLUMN_Vt impl std::ops::Deref for IEnumCERTVIEWCOLUMN { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4974,7 +4974,7 @@ impl IEnumCERTVIEWCOLUMN { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4983,12 +4983,12 @@ impl IEnumCERTVIEWCOLUMN { pub struct IEnumCERTVIEWCOLUMN_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsIndexed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetMaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, ENUM_CERT_COLUMN_VALUE_FLAGS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, ENUM_CERT_COLUMN_VALUE_FLAGS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -5002,7 +5002,7 @@ windows_core::imp::define_interface!(IEnumCERTVIEWEXTENSION, IEnumCERTVIEWEXTENS impl std::ops::Deref for IEnumCERTVIEWEXTENSION { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5029,7 +5029,7 @@ impl IEnumCERTVIEWEXTENSION { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5038,9 +5038,9 @@ impl IEnumCERTVIEWEXTENSION { pub struct IEnumCERTVIEWEXTENSION_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_PROPERTY_TYPE, ENUM_CERT_COLUMN_VALUE_FLAGS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_PROPERTY_TYPE, ENUM_CERT_COLUMN_VALUE_FLAGS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -5054,7 +5054,7 @@ windows_core::imp::define_interface!(IEnumCERTVIEWROW, IEnumCERTVIEWROW_Vtbl, 0x impl std::ops::Deref for IEnumCERTVIEWROW { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5066,17 +5066,17 @@ impl IEnumCERTVIEWROW { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCertViewColumn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCertViewColumn)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCertViewAttribute(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCertViewAttribute)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCertViewExtension(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCertViewExtension)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Skip(&self, celt: i32) -> windows_core::Result<()> { @@ -5087,7 +5087,7 @@ impl IEnumCERTVIEWROW { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMaxIndex(&self, pindex: *mut i32) -> windows_core::Result<()> { @@ -5123,7 +5123,7 @@ windows_core::imp::define_interface!(INDESPolicy, INDESPolicy_Vtbl, 0x13ca515d_4 impl std::ops::Deref for INDESPolicy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INDESPolicy, windows_core::IUnknown); @@ -5139,7 +5139,7 @@ impl INDESPolicy { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateChallenge)(windows_core::Interface::as_raw(self), pwsztemplate.param().abi(), pwszparams.param().abi(), &mut result__).map(|| result__) } pub unsafe fn VerifyRequest(&self, pctbrequest: *mut CERTTRANSBLOB, pctbsigningcertencoded: *mut CERTTRANSBLOB, pwsztemplate: P0, pwsztransactionid: P1) -> windows_core::Result @@ -5147,7 +5147,7 @@ impl INDESPolicy { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VerifyRequest)(windows_core::Interface::as_raw(self), pctbrequest, pctbsigningcertencoded, pwsztemplate.param().abi(), pwsztransactionid.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Notify(&self, pwszchallenge: P0, pwsztransactionid: P1, disposition: X509SCEPDisposition, lasthresult: i32, pctbissuedcertencoded: *mut CERTTRANSBLOB) -> windows_core::Result<()> @@ -5173,7 +5173,7 @@ windows_core::imp::define_interface!(IOCSPAdmin, IOCSPAdmin_Vtbl, 0x322e830d_67d impl std::ops::Deref for IOCSPAdmin { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5182,12 +5182,12 @@ windows_core::imp::interface_hierarchy!(IOCSPAdmin, windows_core::IUnknown, supe impl IOCSPAdmin { #[cfg(feature = "Win32_System_Com")] pub unsafe fn OCSPServiceProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OCSPServiceProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OCSPCAConfigurationCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OCSPCAConfigurationCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConfiguration(&self, bstrservername: P0, bforce: P1) -> windows_core::Result<()> @@ -5208,7 +5208,7 @@ impl IOCSPAdmin { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMyRoles)(windows_core::Interface::as_raw(self), bstrservername.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Ping(&self, bstrservername: P0) -> windows_core::Result<()> @@ -5228,14 +5228,14 @@ impl IOCSPAdmin { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurity)(windows_core::Interface::as_raw(self), bstrservername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSigningCertificates(&self, bstrservername: P0, pcacertvar: *const windows_core::VARIANT) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSigningCertificates)(windows_core::Interface::as_raw(self), bstrservername.param().abi(), core::mem::transmute(pcacertvar), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHashAlgorithms(&self, bstrservername: P0, bstrcaid: P1) -> windows_core::Result @@ -5243,7 +5243,7 @@ impl IOCSPAdmin { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHashAlgorithms)(windows_core::Interface::as_raw(self), bstrservername.param().abi(), bstrcaid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5259,14 +5259,14 @@ pub struct IOCSPAdmin_Vtbl { pub OCSPCAConfigurationCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OCSPCAConfigurationCollection: usize, - pub GetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetMyRoles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub Ping: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSigningCertificates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetHashAlgorithms: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetMyRoles: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub Ping: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSigningCertificates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetHashAlgorithms: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOCSPCAConfiguration, IOCSPCAConfiguration_Vtbl, 0xaec92b40_3d46_433f_87d1_b84d5c1e790d); @@ -5274,7 +5274,7 @@ windows_core::imp::define_interface!(IOCSPCAConfiguration, IOCSPCAConfiguration_ impl std::ops::Deref for IOCSPCAConfiguration { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5282,15 +5282,15 @@ windows_core::imp::interface_hierarchy!(IOCSPCAConfiguration, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IOCSPCAConfiguration { pub unsafe fn Identifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Identifier)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CACertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CACertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HashAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHashAlgorithm(&self, newval: P0) -> windows_core::Result<()> @@ -5300,14 +5300,14 @@ impl IOCSPCAConfiguration { (windows_core::Interface::vtable(self).SetHashAlgorithm)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn SigningFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SigningFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSigningFlags(&self, newval: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetSigningFlags)(windows_core::Interface::as_raw(self), newval).ok() } pub unsafe fn SigningCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SigningCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSigningCertificate(&self, newval: P0) -> windows_core::Result<()> @@ -5317,26 +5317,26 @@ impl IOCSPCAConfiguration { (windows_core::Interface::vtable(self).SetSigningCertificate)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn ReminderDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReminderDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ErrorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CSPName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CSPName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn KeySpec(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeySpec)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProviderCLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderCLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProviderCLSID(&self, newval: P0) -> windows_core::Result<()> @@ -5346,7 +5346,7 @@ impl IOCSPCAConfiguration { (windows_core::Interface::vtable(self).SetProviderCLSID)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn ProviderProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProviderProperties(&self, newval: P0) -> windows_core::Result<()> @@ -5356,11 +5356,11 @@ impl IOCSPCAConfiguration { (windows_core::Interface::vtable(self).SetProviderProperties)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Modified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Modified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalRevocationInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalRevocationInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalRevocationInformation(&self, newval: P0) -> windows_core::Result<()> @@ -5370,7 +5370,7 @@ impl IOCSPCAConfiguration { (windows_core::Interface::vtable(self).SetLocalRevocationInformation)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn SigningCertificateTemplate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SigningCertificateTemplate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSigningCertificateTemplate(&self, newval: P0) -> windows_core::Result<()> @@ -5380,7 +5380,7 @@ impl IOCSPCAConfiguration { (windows_core::Interface::vtable(self).SetSigningCertificateTemplate)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn CAConfig(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAConfig)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCAConfig(&self, newval: P0) -> windows_core::Result<()> @@ -5394,30 +5394,30 @@ impl IOCSPCAConfiguration { #[repr(C)] pub struct IOCSPCAConfiguration_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SigningFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSigningFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub SigningCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSigningCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SigningCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSigningCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReminderDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetReminderDuration: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub CSPName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CSPName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub KeySpec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub ProviderCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProviderCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProviderProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProviderProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProviderCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProviderProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub LocalRevocationInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalRevocationInformation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SigningCertificateTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSigningCertificateTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CAConfig: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCAConfig: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalRevocationInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalRevocationInformation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SigningCertificateTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSigningCertificateTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CAConfig: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCAConfig: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOCSPCAConfigurationCollection, IOCSPCAConfigurationCollection_Vtbl, 0x2bebea0b_5ece_4f28_a91c_86b4bb20f0d3); @@ -5425,7 +5425,7 @@ windows_core::imp::define_interface!(IOCSPCAConfigurationCollection, IOCSPCAConf impl std::ops::Deref for IOCSPCAConfigurationCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5433,22 +5433,22 @@ windows_core::imp::interface_hierarchy!(IOCSPCAConfigurationCollection, windows_ #[cfg(feature = "Win32_System_Com")] impl IOCSPCAConfigurationCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_ItemByName(&self, bstridentifier: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByName)(windows_core::Interface::as_raw(self), bstridentifier.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5457,7 +5457,7 @@ impl IOCSPCAConfigurationCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCAConfiguration)(windows_core::Interface::as_raw(self), bstridentifier.param().abi(), varcacert.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteCAConfiguration(&self, bstridentifier: P0) -> windows_core::Result<()> @@ -5472,14 +5472,14 @@ impl IOCSPCAConfigurationCollection { pub struct IOCSPCAConfigurationCollection_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub CreateCAConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateCAConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateCAConfiguration: usize, - pub DeleteCAConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteCAConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOCSPProperty, IOCSPProperty_Vtbl, 0x66fb7839_5f04_4c25_ad18_9ff1a8376ee0); @@ -5487,7 +5487,7 @@ windows_core::imp::define_interface!(IOCSPProperty, IOCSPProperty_Vtbl, 0x66fb78 impl std::ops::Deref for IOCSPProperty { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5495,11 +5495,11 @@ windows_core::imp::interface_hierarchy!(IOCSPProperty, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IOCSPProperty { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, newval: P0) -> windows_core::Result<()> @@ -5509,7 +5509,7 @@ impl IOCSPProperty { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Modified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Modified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5517,9 +5517,9 @@ impl IOCSPProperty { #[repr(C)] pub struct IOCSPProperty_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -5528,7 +5528,7 @@ windows_core::imp::define_interface!(IOCSPPropertyCollection, IOCSPPropertyColle impl std::ops::Deref for IOCSPPropertyCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5536,22 +5536,22 @@ windows_core::imp::interface_hierarchy!(IOCSPPropertyCollection, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IOCSPPropertyCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_ItemByName(&self, bstrpropname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByName)(windows_core::Interface::as_raw(self), bstrpropname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5559,7 +5559,7 @@ impl IOCSPPropertyCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateProperty)(windows_core::Interface::as_raw(self), bstrpropname.param().abi(), core::mem::transmute(pvarpropvalue), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteProperty(&self, bstrpropname: P0) -> windows_core::Result<()> @@ -5572,7 +5572,7 @@ impl IOCSPPropertyCollection { (windows_core::Interface::vtable(self).InitializeFromProperties)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarproperties)).ok() } pub unsafe fn GetAllProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5581,16 +5581,16 @@ impl IOCSPPropertyCollection { pub struct IOCSPPropertyCollection_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub CreateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateProperty: usize, - pub DeleteProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeFromProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAllProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAllProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IObjectId, IObjectId_Vtbl, 0x728ab300_217d_11da_b2a4_000e7bbb2b09); @@ -5598,7 +5598,7 @@ windows_core::imp::define_interface!(IObjectId, IObjectId_Vtbl, 0x728ab300_217d_ impl std::ops::Deref for IObjectId { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5621,11 +5621,11 @@ impl IObjectId { (windows_core::Interface::vtable(self).InitializeFromAlgorithmName)(windows_core::Interface::as_raw(self), groupid, keyflags, algflags, stralgorithmname.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFriendlyName(&self, value: P0) -> windows_core::Result<()> @@ -5635,11 +5635,11 @@ impl IObjectId { (windows_core::Interface::vtable(self).SetFriendlyName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAlgorithmName(&self, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlgorithmName)(windows_core::Interface::as_raw(self), groupid, keyflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5648,13 +5648,13 @@ impl IObjectId { pub struct IObjectId_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub InitializeFromName: unsafe extern "system" fn(*mut core::ffi::c_void, CERTENROLL_OBJECTID) -> windows_core::HRESULT, - pub InitializeFromValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeFromAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, ObjectIdGroupId, ObjectIdPublicKeyFlags, AlgorithmFlags, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, ObjectIdGroupId, ObjectIdPublicKeyFlags, AlgorithmFlags, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CERTENROLL_OBJECTID) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, ObjectIdGroupId, ObjectIdPublicKeyFlags, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, ObjectIdGroupId, ObjectIdPublicKeyFlags, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IObjectIds, IObjectIds_Vtbl, 0x728ab301_217d_11da_b2a4_000e7bbb2b09); @@ -5662,7 +5662,7 @@ windows_core::imp::define_interface!(IObjectIds, IObjectIds_Vtbl, 0x728ab301_217 impl std::ops::Deref for IObjectIds { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5671,15 +5671,15 @@ windows_core::imp::interface_hierarchy!(IObjectIds, windows_core::IUnknown, supe impl IObjectIds { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5730,7 +5730,7 @@ windows_core::imp::define_interface!(IPolicyQualifier, IPolicyQualifier_Vtbl, 0x impl std::ops::Deref for IPolicyQualifier { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5745,19 +5745,19 @@ impl IPolicyQualifier { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Qualifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Qualifier)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_RawData(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RawData)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5765,14 +5765,14 @@ impl IPolicyQualifier { #[repr(C)] pub struct IPolicyQualifier_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PolicyQualifierType) -> windows_core::HRESULT, + pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PolicyQualifierType) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ObjectId: usize, - pub Qualifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Qualifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PolicyQualifierType) -> windows_core::HRESULT, - pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPolicyQualifiers, IPolicyQualifiers_Vtbl, 0x728ab31d_217d_11da_b2a4_000e7bbb2b09); @@ -5780,7 +5780,7 @@ windows_core::imp::define_interface!(IPolicyQualifiers, IPolicyQualifiers_Vtbl, impl std::ops::Deref for IPolicyQualifiers { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5789,15 +5789,15 @@ windows_core::imp::interface_hierarchy!(IPolicyQualifiers, windows_core::IUnknow impl IPolicyQualifiers { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5837,7 +5837,7 @@ windows_core::imp::define_interface!(ISignerCertificate, ISignerCertificate_Vtbl impl std::ops::Deref for ISignerCertificate { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5852,16 +5852,16 @@ impl ISignerCertificate { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), machinecontext.param().abi(), verifytype, encoding, strcertificate.param().abi()).ok() } pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Certificate)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Silent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Silent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSilent(&self, value: P0) -> windows_core::Result<()> @@ -5871,14 +5871,14 @@ impl ISignerCertificate { (windows_core::Interface::vtable(self).SetSilent)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ParentWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetParentWindow)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn UIContextMessage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UIContextMessage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUIContextMessage(&self, value: P0) -> windows_core::Result<()> @@ -5895,7 +5895,7 @@ impl ISignerCertificate { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignatureInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5903,8 +5903,8 @@ impl ISignerCertificate { #[repr(C)] pub struct ISignerCertificate_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, X509PrivateKeyVerify, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, X509PrivateKeyVerify, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub PrivateKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -5913,9 +5913,9 @@ pub struct ISignerCertificate_Vtbl { pub SetSilent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ParentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetParentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub UIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPin: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPin: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SignatureInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -5927,7 +5927,7 @@ windows_core::imp::define_interface!(ISignerCertificates, ISignerCertificates_Vt impl std::ops::Deref for ISignerCertificates { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5936,15 +5936,15 @@ windows_core::imp::interface_hierarchy!(ISignerCertificates, windows_core::IUnkn impl ISignerCertificates { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5965,7 +5965,7 @@ impl ISignerCertificates { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Find)(windows_core::Interface::as_raw(self), psignercert.param().abi(), &mut result__).map(|| result__) } } @@ -5996,7 +5996,7 @@ windows_core::imp::define_interface!(ISmimeCapabilities, ISmimeCapabilities_Vtbl impl std::ops::Deref for ISmimeCapabilities { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6005,15 +6005,15 @@ windows_core::imp::interface_hierarchy!(ISmimeCapabilities, windows_core::IUnkno impl ISmimeCapabilities { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6071,7 +6071,7 @@ windows_core::imp::define_interface!(ISmimeCapability, ISmimeCapability_Vtbl, 0x impl std::ops::Deref for ISmimeCapability { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6087,11 +6087,11 @@ impl ISmimeCapability { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BitCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BitCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6115,7 +6115,7 @@ windows_core::imp::define_interface!(IX500DistinguishedName, IX500DistinguishedN impl std::ops::Deref for IX500DistinguishedName { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6135,11 +6135,11 @@ impl IX500DistinguishedName { (windows_core::Interface::vtable(self).Encode)(windows_core::Interface::as_raw(self), strname.param().abi(), nameflags).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_EncodedName(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EncodedName)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6147,10 +6147,10 @@ impl IX500DistinguishedName { #[repr(C)] pub struct IX500DistinguishedName_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType, X500NameFlags) -> windows_core::HRESULT, - pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, X500NameFlags) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_EncodedName: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Decode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType, X500NameFlags) -> windows_core::HRESULT, + pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, X500NameFlags) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_EncodedName: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Attribute, IX509Attribute_Vtbl, 0x728ab322_217d_11da_b2a4_000e7bbb2b09); @@ -6158,7 +6158,7 @@ windows_core::imp::define_interface!(IX509Attribute, IX509Attribute_Vtbl, 0x728a impl std::ops::Deref for IX509Attribute { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6175,11 +6175,11 @@ impl IX509Attribute { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_RawData(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RawData)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6188,14 +6188,14 @@ impl IX509Attribute { pub struct IX509Attribute_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Initialize: usize, #[cfg(feature = "Win32_System_Com")] pub ObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ObjectId: usize, - pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeArchiveKey, IX509AttributeArchiveKey_Vtbl, 0x728ab327_217d_11da_b2a4_000e7bbb2b09); @@ -6203,7 +6203,7 @@ windows_core::imp::define_interface!(IX509AttributeArchiveKey, IX509AttributeArc impl std::ops::Deref for IX509AttributeArchiveKey { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6226,16 +6226,16 @@ impl IX509AttributeArchiveKey { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn get_EncryptedKeyBlob(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EncryptedKeyBlob)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EncryptionAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptionAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EncryptionStrength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptionStrength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6244,11 +6244,11 @@ impl IX509AttributeArchiveKey { pub struct IX509AttributeArchiveKey_Vtbl { pub base__: IX509Attribute_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, + pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeEncode: usize, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_EncryptedKeyBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_EncryptedKeyBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EncryptionAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6261,7 +6261,7 @@ windows_core::imp::define_interface!(IX509AttributeArchiveKeyHash, IX509Attribut impl std::ops::Deref for IX509AttributeArchiveKeyHash { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6281,7 +6281,7 @@ impl IX509AttributeArchiveKeyHash { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn get_EncryptedKeyHashBlob(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EncryptedKeyHashBlob)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6289,9 +6289,9 @@ impl IX509AttributeArchiveKeyHash { #[repr(C)] pub struct IX509AttributeArchiveKeyHash_Vtbl { pub base__: IX509Attribute_Vtbl, - pub InitializeEncodeFromEncryptedKeyBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_EncryptedKeyHashBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeEncodeFromEncryptedKeyBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_EncryptedKeyHashBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeClientId, IX509AttributeClientId_Vtbl, 0x728ab325_217d_11da_b2a4_000e7bbb2b09); @@ -6299,7 +6299,7 @@ windows_core::imp::define_interface!(IX509AttributeClientId, IX509AttributeClien impl std::ops::Deref for IX509AttributeClientId { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6321,19 +6321,19 @@ impl IX509AttributeClientId { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn ClientId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MachineDnsName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MachineDnsName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserSamName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserSamName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProcessName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProcessName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6341,12 +6341,12 @@ impl IX509AttributeClientId { #[repr(C)] pub struct IX509AttributeClientId_Vtbl { pub base__: IX509Attribute_Vtbl, - pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, RequestClientInfoClientId, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, RequestClientInfoClientId, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RequestClientInfoClientId) -> windows_core::HRESULT, - pub MachineDnsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserSamName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProcessName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MachineDnsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserSamName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProcessName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeCspProvider, IX509AttributeCspProvider_Vtbl, 0x728ab32b_217d_11da_b2a4_000e7bbb2b09); @@ -6354,7 +6354,7 @@ windows_core::imp::define_interface!(IX509AttributeCspProvider, IX509AttributeCs impl std::ops::Deref for IX509AttributeCspProvider { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6375,15 +6375,15 @@ impl IX509AttributeCspProvider { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn KeySpec(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeySpec)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Signature(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Signature)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6391,11 +6391,11 @@ impl IX509AttributeCspProvider { #[repr(C)] pub struct IX509AttributeCspProvider_Vtbl { pub base__: IX509Attribute_Vtbl, - pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, X509KeySpec, std::mem::MaybeUninit, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, X509KeySpec, core::mem::MaybeUninit, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, pub KeySpec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509KeySpec) -> windows_core::HRESULT, - pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Signature: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Signature: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeExtensions, IX509AttributeExtensions_Vtbl, 0x728ab324_217d_11da_b2a4_000e7bbb2b09); @@ -6403,7 +6403,7 @@ windows_core::imp::define_interface!(IX509AttributeExtensions, IX509AttributeExt impl std::ops::Deref for IX509AttributeExtensions { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6425,7 +6425,7 @@ impl IX509AttributeExtensions { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).X509Extensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6437,7 +6437,7 @@ pub struct IX509AttributeExtensions_Vtbl { pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeEncode: usize, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub X509Extensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6449,7 +6449,7 @@ windows_core::imp::define_interface!(IX509AttributeOSVersion, IX509AttributeOSVe impl std::ops::Deref for IX509AttributeOSVersion { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6469,7 +6469,7 @@ impl IX509AttributeOSVersion { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn OSVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OSVersion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6477,9 +6477,9 @@ impl IX509AttributeOSVersion { #[repr(C)] pub struct IX509AttributeOSVersion_Vtbl { pub base__: IX509Attribute_Vtbl, - pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OSVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OSVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeRenewalCertificate, IX509AttributeRenewalCertificate_Vtbl, 0x728ab326_217d_11da_b2a4_000e7bbb2b09); @@ -6487,7 +6487,7 @@ windows_core::imp::define_interface!(IX509AttributeRenewalCertificate, IX509Attr impl std::ops::Deref for IX509AttributeRenewalCertificate { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6507,7 +6507,7 @@ impl IX509AttributeRenewalCertificate { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RenewalCertificate)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6515,9 +6515,9 @@ impl IX509AttributeRenewalCertificate { #[repr(C)] pub struct IX509AttributeRenewalCertificate_Vtbl { pub base__: IX509Attribute_Vtbl, - pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_RenewalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RenewalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Attributes, IX509Attributes_Vtbl, 0x728ab323_217d_11da_b2a4_000e7bbb2b09); @@ -6525,7 +6525,7 @@ windows_core::imp::define_interface!(IX509Attributes, IX509Attributes_Vtbl, 0x72 impl std::ops::Deref for IX509Attributes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6534,15 +6534,15 @@ windows_core::imp::interface_hierarchy!(IX509Attributes, windows_core::IUnknown, impl IX509Attributes { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6582,7 +6582,7 @@ windows_core::imp::define_interface!(IX509CertificateRequest, IX509CertificateRe impl std::ops::Deref for IX509CertificateRequest { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6600,19 +6600,19 @@ impl IX509CertificateRequest { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInnerRequest(&self, level: InnerRequestLevel) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInnerRequest)(windows_core::Interface::as_raw(self), level, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnrollmentContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnrollmentContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Silent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Silent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSilent(&self, value: P0) -> windows_core::Result<()> @@ -6622,14 +6622,14 @@ impl IX509CertificateRequest { (windows_core::Interface::vtable(self).SetSilent)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ParentWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetParentWindow)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn UIContextMessage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UIContextMessage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUIContextMessage(&self, value: P0) -> windows_core::Result<()> @@ -6639,7 +6639,7 @@ impl IX509CertificateRequest { (windows_core::Interface::vtable(self).SetUIContextMessage)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn SuppressDefaults(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SuppressDefaults)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSuppressDefaults(&self, value: P0) -> windows_core::Result<()> @@ -6649,7 +6649,7 @@ impl IX509CertificateRequest { (windows_core::Interface::vtable(self).SetSuppressDefaults)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn get_RenewalCertificate(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RenewalCertificate)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_RenewalCertificate(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -6659,7 +6659,7 @@ impl IX509CertificateRequest { (windows_core::Interface::vtable(self).put_RenewalCertificate)(windows_core::Interface::as_raw(self), encoding, value.param().abi()).ok() } pub unsafe fn ClientId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> windows_core::Result<()> { @@ -6667,7 +6667,7 @@ impl IX509CertificateRequest { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CspInformations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6679,7 +6679,7 @@ impl IX509CertificateRequest { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6690,7 +6690,7 @@ impl IX509CertificateRequest { (windows_core::Interface::vtable(self).SetHashAlgorithm)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlternateSignatureAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: P0) -> windows_core::Result<()> @@ -6700,7 +6700,7 @@ impl IX509CertificateRequest { (windows_core::Interface::vtable(self).SetAlternateSignatureAlgorithm)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn get_RawData(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RawData)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6721,12 +6721,12 @@ pub struct IX509CertificateRequest_Vtbl { pub SetSilent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ParentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetParentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub UIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SuppressDefaults: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetSuppressDefaults: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub get_RenewalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_RenewalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RenewalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_RenewalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RequestClientInfoClientId) -> windows_core::HRESULT, pub SetClientId: unsafe extern "system" fn(*mut core::ffi::c_void, RequestClientInfoClientId) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -6747,7 +6747,7 @@ pub struct IX509CertificateRequest_Vtbl { SetHashAlgorithm: usize, pub AlternateSignatureAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAlternateSignatureAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestCertificate, IX509CertificateRequestCertificate_Vtbl, 0x728ab343_217d_11da_b2a4_000e7bbb2b09); @@ -6755,7 +6755,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestCertificate, IX509Ce impl std::ops::Deref for IX509CertificateRequestCertificate { type Target = IX509CertificateRequestPkcs10; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6771,7 +6771,7 @@ impl IX509CertificateRequestCertificate { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Issuer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Issuer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6782,21 +6782,21 @@ impl IX509CertificateRequestCertificate { (windows_core::Interface::vtable(self).SetIssuer)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn NotBefore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NotBefore)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NotAfter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotAfter(&self, value: f64) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetNotAfter)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn get_SerialNumber(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SerialNumber)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_SerialNumber(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -6807,7 +6807,7 @@ impl IX509CertificateRequestCertificate { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignerCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6838,8 +6838,8 @@ pub struct IX509CertificateRequestCertificate_Vtbl { pub SetNotBefore: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub NotAfter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetNotAfter: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, - pub get_SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SignerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6855,7 +6855,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestCertificate2, IX509C impl std::ops::Deref for IX509CertificateRequestCertificate2 { type Target = IX509CertificateRequestCertificate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6881,12 +6881,12 @@ impl IX509CertificateRequestCertificate2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyServer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Template)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6917,7 +6917,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestCmc, IX509Certificat impl std::ops::Deref for IX509CertificateRequestCmc { type Target = IX509CertificateRequestPkcs7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6934,47 +6934,47 @@ impl IX509CertificateRequestCmc { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TemplateObjectId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NullSigned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NullSigned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CryptAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameValuePairs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NameValuePairs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).X509Extensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CriticalExtensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SuppressOids)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TransactionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTransactionId(&self, value: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetTransactionId)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn get_SenderNonce(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SenderNonce)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_SenderNonce(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -6985,11 +6985,11 @@ impl IX509CertificateRequestCmc { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignatureInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ArchivePrivateKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArchivePrivateKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetArchivePrivateKey(&self, value: P0) -> windows_core::Result<()> @@ -6999,7 +6999,7 @@ impl IX509CertificateRequestCmc { (windows_core::Interface::vtable(self).SetArchivePrivateKey)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn get_KeyArchivalCertificate(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_KeyArchivalCertificate)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_KeyArchivalCertificate(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -7010,7 +7010,7 @@ impl IX509CertificateRequestCmc { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EncryptionAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptionAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7021,19 +7021,19 @@ impl IX509CertificateRequestCmc { (windows_core::Interface::vtable(self).SetEncryptionAlgorithm)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn EncryptionStrength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptionStrength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEncryptionStrength(&self, value: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetEncryptionStrength)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn get_EncryptedKeyHash(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EncryptedKeyHash)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignerCertificates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7042,7 +7042,7 @@ impl IX509CertificateRequestCmc { pub struct IX509CertificateRequestCmc_Vtbl { pub base__: IX509CertificateRequestPkcs7_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub InitializeFromInnerRequestTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromInnerRequestTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeFromInnerRequestTemplateName: usize, #[cfg(feature = "Win32_System_Com")] @@ -7072,16 +7072,16 @@ pub struct IX509CertificateRequestCmc_Vtbl { SuppressOids: usize, pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetTransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub get_SenderNonce: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_SenderNonce: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_SenderNonce: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_SenderNonce: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SignatureInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SignatureInformation: usize, pub ArchivePrivateKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetArchivePrivateKey: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub get_KeyArchivalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_KeyArchivalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_KeyArchivalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_KeyArchivalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EncryptionAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -7092,7 +7092,7 @@ pub struct IX509CertificateRequestCmc_Vtbl { SetEncryptionAlgorithm: usize, pub EncryptionStrength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptionStrength: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub get_EncryptedKeyHash: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_EncryptedKeyHash: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SignerCertificates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -7104,7 +7104,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestCmc2, IX509Certifica impl std::ops::Deref for IX509CertificateRequestCmc2 { type Target = IX509CertificateRequestCmc; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7130,12 +7130,12 @@ impl IX509CertificateRequestCmc2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyServer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Template)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CheckSignature(&self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes) -> windows_core::Result<()> { @@ -7182,7 +7182,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestPkcs10, IX509Certifi impl std::ops::Deref for IX509CertificateRequestPkcs10 { type Target = IX509CertificateRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7227,39 +7227,39 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSmartCard)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TemplateObjectId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PublicKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PublicKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrivateKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NullSigned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NullSigned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReuseKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReuseKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_OldCertificate(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_OldCertificate)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Subject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7271,11 +7271,11 @@ impl IX509CertificateRequestPkcs10 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatuses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CspStatuses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SmimeCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmimeCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSmimeCapabilities(&self, value: P0) -> windows_core::Result<()> @@ -7286,11 +7286,11 @@ impl IX509CertificateRequestPkcs10 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignatureInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn KeyContainerNamePrefix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeyContainerNamePrefix)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetKeyContainerNamePrefix(&self, value: P0) -> windows_core::Result<()> @@ -7301,35 +7301,35 @@ impl IX509CertificateRequestPkcs10 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CryptAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CryptAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).X509Extensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CriticalExtensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SuppressOids(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SuppressOids)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RawDataToBeSigned)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Signature(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Signature)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCspStatuses(&self, keyspec: X509KeySpec) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCspStatuses)(windows_core::Interface::as_raw(self), keyspec, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7337,17 +7337,17 @@ impl IX509CertificateRequestPkcs10 { #[repr(C)] pub struct IX509CertificateRequestPkcs10_Vtbl { pub base__: IX509CertificateRequest_Vtbl, - pub InitializeFromTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub InitializeFromPrivateKey: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromPrivateKey: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeFromPrivateKey: usize, #[cfg(feature = "Win32_System_Com")] - pub InitializeFromPublicKey: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromPublicKey: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeFromPublicKey: usize, - pub InitializeFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, std::mem::MaybeUninit, EncodingType, X509RequestInheritOptions) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub InitializeFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, core::mem::MaybeUninit, EncodingType, X509RequestInheritOptions) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, pub CheckSignature: unsafe extern "system" fn(*mut core::ffi::c_void, Pkcs10AllowedSignatureTypes) -> windows_core::HRESULT, pub IsSmartCard: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -7364,7 +7364,7 @@ pub struct IX509CertificateRequestPkcs10_Vtbl { PrivateKey: usize, pub NullSigned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ReuseKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub get_OldCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_OldCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -7383,8 +7383,8 @@ pub struct IX509CertificateRequestPkcs10_Vtbl { pub SignatureInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SignatureInformation: usize, - pub KeyContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetKeyContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetKeyContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CryptAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -7401,8 +7401,8 @@ pub struct IX509CertificateRequestPkcs10_Vtbl { pub SuppressOids: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SuppressOids: usize, - pub get_RawDataToBeSigned: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Signature: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RawDataToBeSigned: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Signature: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetCspStatuses: unsafe extern "system" fn(*mut core::ffi::c_void, X509KeySpec, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -7414,7 +7414,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestPkcs10V2, IX509Certi impl std::ops::Deref for IX509CertificateRequestPkcs10V2 { type Target = IX509CertificateRequestPkcs10; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7449,12 +7449,12 @@ impl IX509CertificateRequestPkcs10V2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyServer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Template)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7489,7 +7489,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestPkcs10V3, IX509Certi impl std::ops::Deref for IX509CertificateRequestPkcs10V3 { type Target = IX509CertificateRequestPkcs10V2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7497,7 +7497,7 @@ windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V3, windows #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs10V3 { pub unsafe fn AttestPrivateKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttestPrivateKey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAttestPrivateKey(&self, value: P0) -> windows_core::Result<()> @@ -7507,7 +7507,7 @@ impl IX509CertificateRequestPkcs10V3 { (windows_core::Interface::vtable(self).SetAttestPrivateKey)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn get_AttestationEncryptionCertificate(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AttestationEncryptionCertificate)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_AttestationEncryptionCertificate(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -7518,7 +7518,7 @@ impl IX509CertificateRequestPkcs10V3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EncryptionAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptionAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7529,14 +7529,14 @@ impl IX509CertificateRequestPkcs10V3 { (windows_core::Interface::vtable(self).SetEncryptionAlgorithm)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn EncryptionStrength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptionStrength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEncryptionStrength(&self, value: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetEncryptionStrength)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn ChallengePassword(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChallengePassword)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetChallengePassword(&self, value: P0) -> windows_core::Result<()> @@ -7547,7 +7547,7 @@ impl IX509CertificateRequestPkcs10V3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameValuePairs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NameValuePairs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7557,8 +7557,8 @@ pub struct IX509CertificateRequestPkcs10V3_Vtbl { pub base__: IX509CertificateRequestPkcs10V2_Vtbl, pub AttestPrivateKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAttestPrivateKey: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub get_AttestationEncryptionCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_AttestationEncryptionCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_AttestationEncryptionCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_AttestationEncryptionCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EncryptionAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -7569,8 +7569,8 @@ pub struct IX509CertificateRequestPkcs10V3_Vtbl { SetEncryptionAlgorithm: usize, pub EncryptionStrength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptionStrength: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub ChallengePassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetChallengePassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChallengePassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetChallengePassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub NameValuePairs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -7582,7 +7582,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestPkcs10V4, IX509Certi impl std::ops::Deref for IX509CertificateRequestPkcs10V4 { type Target = IX509CertificateRequestPkcs10V3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7590,14 +7590,14 @@ windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V4, windows #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs10V4 { pub unsafe fn ClaimType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClaimType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttestPrivateKeyPreferred)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAttestPrivateKeyPreferred(&self, value: P0) -> windows_core::Result<()> @@ -7622,7 +7622,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestPkcs7, IX509Certific impl std::ops::Deref for IX509CertificateRequestPkcs7 { type Target = IX509CertificateRequest; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7656,7 +7656,7 @@ impl IX509CertificateRequestPkcs7 { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), strencodeddata.param().abi(), encoding).ok() } pub unsafe fn RequesterName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequesterName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRequesterName(&self, value: P0) -> windows_core::Result<()> @@ -7667,7 +7667,7 @@ impl IX509CertificateRequestPkcs7 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignerCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7682,15 +7682,15 @@ impl IX509CertificateRequestPkcs7 { #[repr(C)] pub struct IX509CertificateRequestPkcs7_Vtbl { pub base__: IX509CertificateRequest_Vtbl, - pub InitializeFromTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, super::super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, EncodingType, X509RequestInheritOptions) -> windows_core::HRESULT, + pub InitializeFromTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, super::super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, EncodingType, X509RequestInheritOptions) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub InitializeFromInnerRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeFromInnerRequest: usize, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, - pub RequesterName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRequesterName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub RequesterName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRequesterName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SignerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -7706,7 +7706,7 @@ windows_core::imp::define_interface!(IX509CertificateRequestPkcs7V2, IX509Certif impl std::ops::Deref for IX509CertificateRequestPkcs7V2 { type Target = IX509CertificateRequestPkcs7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7723,12 +7723,12 @@ impl IX509CertificateRequestPkcs7V2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyServer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Template)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CheckCertificateSignature(&self, validatecertificatechain: P0) -> windows_core::Result<()> @@ -7762,7 +7762,7 @@ windows_core::imp::define_interface!(IX509CertificateRevocationList, IX509Certif impl std::ops::Deref for IX509CertificateRevocationList { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7796,7 +7796,7 @@ impl IX509CertificateRevocationList { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Issuer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Issuer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7807,14 +7807,14 @@ impl IX509CertificateRevocationList { (windows_core::Interface::vtable(self).SetIssuer)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn ThisUpdate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ThisUpdate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextUpdate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNextUpdate(&self, value: f64) -> windows_core::Result<()> { @@ -7822,22 +7822,22 @@ impl IX509CertificateRevocationList { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509CRLEntries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).X509CRLEntries)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).X509Extensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CriticalExtensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignerCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7848,7 +7848,7 @@ impl IX509CertificateRevocationList { (windows_core::Interface::vtable(self).SetSignerCertificate)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn get_CRLNumber(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_CRLNumber)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_CRLNumber(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -7858,23 +7858,23 @@ impl IX509CertificateRevocationList { (windows_core::Interface::vtable(self).put_CRLNumber)(windows_core::Interface::as_raw(self), encoding, value.param().abi()).ok() } pub unsafe fn CAVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BaseCRL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NullSigned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NullSigned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -7885,7 +7885,7 @@ impl IX509CertificateRevocationList { (windows_core::Interface::vtable(self).SetHashAlgorithm)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlternateSignatureAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: P0) -> windows_core::Result<()> @@ -7896,19 +7896,19 @@ impl IX509CertificateRevocationList { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignatureInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignatureInformation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_RawData(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RawData)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RawDataToBeSigned)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Signature(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Signature)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7917,7 +7917,7 @@ impl IX509CertificateRevocationList { pub struct IX509CertificateRevocationList_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ResetForEncode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -7957,8 +7957,8 @@ pub struct IX509CertificateRevocationList_Vtbl { pub SetSignerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetSignerCertificate: usize, - pub get_CRLNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_CRLNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_CRLNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_CRLNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CAVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCAVersion: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BaseCRL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -7977,9 +7977,9 @@ pub struct IX509CertificateRevocationList_Vtbl { pub SignatureInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SignatureInformation: usize, - pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_RawDataToBeSigned: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Signature: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RawDataToBeSigned: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Signature: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRevocationListEntries, IX509CertificateRevocationListEntries_Vtbl, 0x728ab35f_217d_11da_b2a4_000e7bbb2b09); @@ -7987,7 +7987,7 @@ windows_core::imp::define_interface!(IX509CertificateRevocationListEntries, IX50 impl std::ops::Deref for IX509CertificateRevocationListEntries { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -7996,15 +7996,15 @@ windows_core::imp::interface_hierarchy!(IX509CertificateRevocationListEntries, w impl IX509CertificateRevocationListEntries { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8024,7 +8024,7 @@ impl IX509CertificateRevocationListEntries { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_IndexBySerialNumber)(windows_core::Interface::as_raw(self), encoding, serialnumber.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -8051,7 +8051,7 @@ pub struct IX509CertificateRevocationListEntries_Vtbl { Add: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_IndexBySerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub get_IndexBySerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -8063,7 +8063,7 @@ windows_core::imp::define_interface!(IX509CertificateRevocationListEntry, IX509C impl std::ops::Deref for IX509CertificateRevocationListEntry { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8077,15 +8077,15 @@ impl IX509CertificateRevocationListEntry { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), encoding, serialnumber.param().abi(), revocationdate).ok() } pub unsafe fn get_SerialNumber(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SerialNumber)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RevocationDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RevocationDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RevocationReason(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RevocationReason)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRevocationReason(&self, value: CRLRevocationReason) -> windows_core::Result<()> { @@ -8093,12 +8093,12 @@ impl IX509CertificateRevocationListEntry { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509Extensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).X509Extensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CriticalExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CriticalExtensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8106,8 +8106,8 @@ impl IX509CertificateRevocationListEntry { #[repr(C)] pub struct IX509CertificateRevocationListEntry_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit, f64) -> windows_core::HRESULT, - pub get_SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit, f64) -> windows_core::HRESULT, + pub get_SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RevocationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub RevocationReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CRLRevocationReason) -> windows_core::HRESULT, pub SetRevocationReason: unsafe extern "system" fn(*mut core::ffi::c_void, CRLRevocationReason) -> windows_core::HRESULT, @@ -8126,7 +8126,7 @@ windows_core::imp::define_interface!(IX509CertificateTemplate, IX509CertificateT impl std::ops::Deref for IX509CertificateTemplate { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8134,7 +8134,7 @@ windows_core::imp::interface_hierarchy!(IX509CertificateTemplate, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IX509CertificateTemplate { pub unsafe fn get_Property(&self, property: EnrollmentTemplateProperty) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self), property, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8142,7 +8142,7 @@ impl IX509CertificateTemplate { #[repr(C)] pub struct IX509CertificateTemplate_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateTemplateWritable, IX509CertificateTemplateWritable_Vtbl, 0xf49466a7_395a_4e9e_b6e7_32b331600dc0); @@ -8150,7 +8150,7 @@ windows_core::imp::define_interface!(IX509CertificateTemplateWritable, IX509Cert impl std::ops::Deref for IX509CertificateTemplateWritable { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8171,7 +8171,7 @@ impl IX509CertificateTemplateWritable { (windows_core::Interface::vtable(self).Commit)(windows_core::Interface::as_raw(self), commitflags, strservercontext.param().abi()).ok() } pub unsafe fn get_Property(&self, property: EnrollmentTemplateProperty) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self), property, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_Property(&self, property: EnrollmentTemplateProperty, value: P0) -> windows_core::Result<()> @@ -8182,7 +8182,7 @@ impl IX509CertificateTemplateWritable { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Template)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8194,9 +8194,9 @@ pub struct IX509CertificateTemplateWritable_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Initialize: usize, - pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, CommitTemplateFlags, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, CommitTemplateFlags, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Template: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -8208,7 +8208,7 @@ windows_core::imp::define_interface!(IX509CertificateTemplates, IX509Certificate impl std::ops::Deref for IX509CertificateTemplates { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8217,15 +8217,15 @@ windows_core::imp::interface_hierarchy!(IX509CertificateTemplates, windows_core: impl IX509CertificateTemplates { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8246,7 +8246,7 @@ impl IX509CertificateTemplates { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByName)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8254,7 +8254,7 @@ impl IX509CertificateTemplates { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByOid)(windows_core::Interface::as_raw(self), poid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8275,7 +8275,7 @@ pub struct IX509CertificateTemplates_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ItemByName: usize, #[cfg(feature = "Win32_System_Com")] @@ -8289,7 +8289,7 @@ windows_core::imp::define_interface!(IX509EndorsementKey, IX509EndorsementKey_Vt impl std::ops::Deref for IX509EndorsementKey { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8297,7 +8297,7 @@ windows_core::imp::interface_hierarchy!(IX509EndorsementKey, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IX509EndorsementKey { pub unsafe fn ProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProviderName(&self, value: P0) -> windows_core::Result<()> @@ -8307,11 +8307,11 @@ impl IX509EndorsementKey { (windows_core::Interface::vtable(self).SetProviderName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Opened(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Opened)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddCertificate(&self, encoding: EncodingType, strcertificate: P0) -> windows_core::Result<()> @@ -8330,19 +8330,19 @@ impl IX509EndorsementKey { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateByIndex)(windows_core::Interface::as_raw(self), manufactureronly.param().abi(), dwindex, encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCertificateCount(&self, manufactureronly: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateCount)(windows_core::Interface::as_raw(self), manufactureronly.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExportPublicKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExportPublicKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Open(&self) -> windows_core::Result<()> { @@ -8356,13 +8356,13 @@ impl IX509EndorsementKey { #[repr(C)] pub struct IX509EndorsementKey_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Opened: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub AddCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCertificateByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, i32, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCertificateByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, i32, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCertificateCount: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ExportPublicKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8377,7 +8377,7 @@ windows_core::imp::define_interface!(IX509Enrollment, IX509Enrollment_Vtbl, 0x72 impl std::ops::Deref for IX509Enrollment { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8401,7 +8401,7 @@ impl IX509Enrollment { (windows_core::Interface::vtable(self).InitializeFromRequest)(windows_core::Interface::as_raw(self), prequest.param().abi()).ok() } pub unsafe fn CreateRequest(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRequest)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Enroll(&self) -> windows_core::Result<()> { @@ -8418,16 +8418,16 @@ impl IX509Enrollment { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePFX)(windows_core::Interface::as_raw(self), strpassword.param().abi(), exportoptions, encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Request(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Request)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Silent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Silent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSilent(&self, value: P0) -> windows_core::Result<()> @@ -8437,7 +8437,7 @@ impl IX509Enrollment { (windows_core::Interface::vtable(self).SetSilent)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ParentWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> windows_core::Result<()> { @@ -8445,28 +8445,28 @@ impl IX509Enrollment { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NameValuePairs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NameValuePairs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnrollmentContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnrollmentContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Certificate)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Response(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Response)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CertificateFriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CertificateFriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCertificateFriendlyName(&self, strvalue: P0) -> windows_core::Result<()> @@ -8476,7 +8476,7 @@ impl IX509Enrollment { (windows_core::Interface::vtable(self).SetCertificateFriendlyName)(windows_core::Interface::as_raw(self), strvalue.param().abi()).ok() } pub unsafe fn CertificateDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CertificateDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCertificateDescription(&self, strvalue: P0) -> windows_core::Result<()> @@ -8486,11 +8486,11 @@ impl IX509Enrollment { (windows_core::Interface::vtable(self).SetCertificateDescription)(windows_core::Interface::as_raw(self), strvalue.param().abi()).ok() } pub unsafe fn RequestId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CAConfigString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAConfigString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8499,15 +8499,15 @@ impl IX509Enrollment { pub struct IX509Enrollment_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext) -> windows_core::HRESULT, - pub InitializeFromTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeFromTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub InitializeFromRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeFromRequest: usize, - pub CreateRequest: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateRequest: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enroll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub InstallResponse: unsafe extern "system" fn(*mut core::ffi::c_void, InstallResponseRestrictionFlags, std::mem::MaybeUninit, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreatePFX: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PFXExportOptions, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallResponse: unsafe extern "system" fn(*mut core::ffi::c_void, InstallResponseRestrictionFlags, core::mem::MaybeUninit, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreatePFX: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PFXExportOptions, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -8525,14 +8525,14 @@ pub struct IX509Enrollment_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Status: usize, - pub get_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Response: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CertificateFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCertificateFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CertificateDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCertificateDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Response: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CertificateFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCertificateFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CertificateDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCertificateDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CAConfigString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CAConfigString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Enrollment2, IX509Enrollment2_Vtbl, 0x728ab350_217d_11da_b2a4_000e7bbb2b09); @@ -8540,7 +8540,7 @@ windows_core::imp::define_interface!(IX509Enrollment2, IX509Enrollment2_Vtbl, 0x impl std::ops::Deref for IX509Enrollment2 { type Target = IX509Enrollment; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8566,16 +8566,16 @@ impl IX509Enrollment2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PolicyServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolicyServer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Template(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Template)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestIdString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestIdString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8587,7 +8587,7 @@ pub struct IX509Enrollment2_Vtbl { pub InitializeFromTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeFromTemplate: usize, - pub InstallResponse2: unsafe extern "system" fn(*mut core::ffi::c_void, InstallResponseRestrictionFlags, std::mem::MaybeUninit, EncodingType, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, PolicyServerUrlFlags, X509EnrollmentAuthFlags) -> windows_core::HRESULT, + pub InstallResponse2: unsafe extern "system" fn(*mut core::ffi::c_void, InstallResponseRestrictionFlags, core::mem::MaybeUninit, EncodingType, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, PolicyServerUrlFlags, X509EnrollmentAuthFlags) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub PolicyServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -8596,7 +8596,7 @@ pub struct IX509Enrollment2_Vtbl { pub Template: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Template: usize, - pub RequestIdString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestIdString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509EnrollmentHelper, IX509EnrollmentHelper_Vtbl, 0x728ab351_217d_11da_b2a4_000e7bbb2b09); @@ -8604,7 +8604,7 @@ windows_core::imp::define_interface!(IX509EnrollmentHelper, IX509EnrollmentHelpe impl std::ops::Deref for IX509EnrollmentHelper { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8633,7 +8633,7 @@ impl IX509EnrollmentHelper { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enroll)(windows_core::Interface::as_raw(self), strenrollmentpolicyserveruri.param().abi(), strtemplatename.param().abi(), encoding, enrollflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Initialize(&self, context: X509CertificateEnrollmentContext) -> windows_core::Result<()> { @@ -8644,9 +8644,9 @@ impl IX509EnrollmentHelper { #[repr(C)] pub struct IX509EnrollmentHelper_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub AddPolicyServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, PolicyServerUrlFlags, X509EnrollmentAuthFlags, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddEnrollmentServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, X509EnrollmentAuthFlags, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Enroll: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, EncodingType, WebEnrollmentFlags, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddPolicyServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, PolicyServerUrlFlags, X509EnrollmentAuthFlags, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddEnrollmentServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, X509EnrollmentAuthFlags, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Enroll: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, EncodingType, WebEnrollmentFlags, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -8655,7 +8655,7 @@ windows_core::imp::define_interface!(IX509EnrollmentPolicyServer, IX509Enrollmen impl std::ops::Deref for IX509EnrollmentPolicyServer { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8675,7 +8675,7 @@ impl IX509EnrollmentPolicyServer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTemplates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTemplates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -8683,12 +8683,12 @@ impl IX509EnrollmentPolicyServer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAsForTemplate)(windows_core::Interface::as_raw(self), ptemplate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCAs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCAs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Validate(&self) -> windows_core::Result<()> { @@ -8696,51 +8696,51 @@ impl IX509EnrollmentPolicyServer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCustomOids(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomOids)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNextUpdateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextUpdateTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastUpdateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastUpdateTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPolicyServerUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicyServerUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPolicyServerId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicyServerId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIsDefaultCEP(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsDefaultCEP)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUseClientId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUseClientId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAllowUnTrustedCA(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllowUnTrustedCA)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCachePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCacheDir(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCacheDir)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAuthFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAuthFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCredential(&self, hwndparent: i32, flag: X509EnrollmentAuthFlags, strcredential: P0, strpassword: P1) -> windows_core::Result<()> @@ -8751,7 +8751,7 @@ impl IX509EnrollmentPolicyServer { (windows_core::Interface::vtable(self).SetCredential)(windows_core::Interface::as_raw(self), hwndparent, flag, strcredential.param().abi(), strpassword.param().abi()).ok() } pub unsafe fn QueryChanges(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryChanges)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InitializeImport(&self, val: P0) -> windows_core::Result<()> @@ -8761,11 +8761,11 @@ impl IX509EnrollmentPolicyServer { (windows_core::Interface::vtable(self).InitializeImport)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn Export(&self, exportflags: X509EnrollmentPolicyExportFlags) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Export)(windows_core::Interface::as_raw(self), exportflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cost(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cost)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCost(&self, value: u32) -> windows_core::Result<()> { @@ -8776,7 +8776,7 @@ impl IX509EnrollmentPolicyServer { #[repr(C)] pub struct IX509EnrollmentPolicyServer_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, X509EnrollmentAuthFlags, super::super::super::Foundation::VARIANT_BOOL, X509CertificateEnrollmentContext) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, X509EnrollmentAuthFlags, super::super::super::Foundation::VARIANT_BOOL, X509CertificateEnrollmentContext) -> windows_core::HRESULT, pub LoadPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, X509EnrollmentPolicyLoadOption) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -8797,19 +8797,19 @@ pub struct IX509EnrollmentPolicyServer_Vtbl { GetCustomOids: usize, pub GetNextUpdateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub GetLastUpdateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub GetPolicyServerUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPolicyServerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPolicyServerUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPolicyServerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetIsDefaultCEP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetUseClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetAllowUnTrustedCA: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetCachePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCacheDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCachePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCacheDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetAuthFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509EnrollmentAuthFlags) -> windows_core::HRESULT, - pub SetCredential: unsafe extern "system" fn(*mut core::ffi::c_void, i32, X509EnrollmentAuthFlags, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCredential: unsafe extern "system" fn(*mut core::ffi::c_void, i32, X509EnrollmentAuthFlags, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub QueryChanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub InitializeImport: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Export: unsafe extern "system" fn(*mut core::ffi::c_void, X509EnrollmentPolicyExportFlags, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeImport: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Export: unsafe extern "system" fn(*mut core::ffi::c_void, X509EnrollmentPolicyExportFlags, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Cost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCost: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } @@ -8819,7 +8819,7 @@ windows_core::imp::define_interface!(IX509EnrollmentStatus, IX509EnrollmentStatu impl std::ops::Deref for IX509EnrollmentStatus { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8833,7 +8833,7 @@ impl IX509EnrollmentStatus { (windows_core::Interface::vtable(self).AppendText)(windows_core::Interface::as_raw(self), strtext.param().abi()).ok() } pub unsafe fn Text(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Text)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetText(&self, value: P0) -> windows_core::Result<()> @@ -8843,35 +8843,35 @@ impl IX509EnrollmentStatus { (windows_core::Interface::vtable(self).SetText)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Selected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Selected)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Display)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetError(&self, value: windows_core::HRESULT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetError)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn ErrorText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ErrorText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8879,9 +8879,9 @@ impl IX509EnrollmentStatus { #[repr(C)] pub struct IX509EnrollmentStatus_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub AppendText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppendText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Selected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EnrollmentSelectionStatus) -> windows_core::HRESULT, pub SetSelected: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentSelectionStatus) -> windows_core::HRESULT, pub Display: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EnrollmentDisplayStatus) -> windows_core::HRESULT, @@ -8890,7 +8890,7 @@ pub struct IX509EnrollmentStatus_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentEnrollStatus) -> windows_core::HRESULT, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub SetError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, - pub ErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509EnrollmentWebClassFactory, IX509EnrollmentWebClassFactory_Vtbl, 0x728ab349_217d_11da_b2a4_000e7bbb2b09); @@ -8898,7 +8898,7 @@ windows_core::imp::define_interface!(IX509EnrollmentWebClassFactory, IX509Enroll impl std::ops::Deref for IX509EnrollmentWebClassFactory { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8909,7 +8909,7 @@ impl IX509EnrollmentWebClassFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateObject)(windows_core::Interface::as_raw(self), strprogid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8917,7 +8917,7 @@ impl IX509EnrollmentWebClassFactory { #[repr(C)] pub struct IX509EnrollmentWebClassFactory_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub CreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Extension, IX509Extension_Vtbl, 0x728ab30d_217d_11da_b2a4_000e7bbb2b09); @@ -8925,7 +8925,7 @@ windows_core::imp::define_interface!(IX509Extension, IX509Extension_Vtbl, 0x728a impl std::ops::Deref for IX509Extension { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8942,15 +8942,15 @@ impl IX509Extension { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_RawData(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RawData)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Critical(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Critical)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCritical(&self, value: P0) -> windows_core::Result<()> @@ -8965,14 +8965,14 @@ impl IX509Extension { pub struct IX509Extension_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Initialize: usize, #[cfg(feature = "Win32_System_Com")] pub ObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ObjectId: usize, - pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Critical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetCritical: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -8982,7 +8982,7 @@ windows_core::imp::define_interface!(IX509ExtensionAlternativeNames, IX509Extens impl std::ops::Deref for IX509ExtensionAlternativeNames { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9004,7 +9004,7 @@ impl IX509ExtensionAlternativeNames { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AlternativeNames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlternativeNames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9016,7 +9016,7 @@ pub struct IX509ExtensionAlternativeNames_Vtbl { pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeEncode: usize, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AlternativeNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -9028,7 +9028,7 @@ windows_core::imp::define_interface!(IX509ExtensionAuthorityKeyIdentifier, IX509 impl std::ops::Deref for IX509ExtensionAuthorityKeyIdentifier { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9048,7 +9048,7 @@ impl IX509ExtensionAuthorityKeyIdentifier { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn get_AuthorityKeyIdentifier(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AuthorityKeyIdentifier)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9056,9 +9056,9 @@ impl IX509ExtensionAuthorityKeyIdentifier { #[repr(C)] pub struct IX509ExtensionAuthorityKeyIdentifier_Vtbl { pub base__: IX509Extension_Vtbl, - pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_AuthorityKeyIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_AuthorityKeyIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionBasicConstraints, IX509ExtensionBasicConstraints_Vtbl, 0x728ab316_217d_11da_b2a4_000e7bbb2b09); @@ -9066,7 +9066,7 @@ windows_core::imp::define_interface!(IX509ExtensionBasicConstraints, IX509Extens impl std::ops::Deref for IX509ExtensionBasicConstraints { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9086,11 +9086,11 @@ impl IX509ExtensionBasicConstraints { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn IsCA(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCA)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PathLenConstraint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathLenConstraint)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9099,7 +9099,7 @@ impl IX509ExtensionBasicConstraints { pub struct IX509ExtensionBasicConstraints_Vtbl { pub base__: IX509Extension_Vtbl, pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, i32) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCA: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub PathLenConstraint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -9109,7 +9109,7 @@ windows_core::imp::define_interface!(IX509ExtensionCertificatePolicies, IX509Ext impl std::ops::Deref for IX509ExtensionCertificatePolicies { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9131,7 +9131,7 @@ impl IX509ExtensionCertificatePolicies { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Policies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Policies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9143,7 +9143,7 @@ pub struct IX509ExtensionCertificatePolicies_Vtbl { pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeEncode: usize, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Policies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -9155,7 +9155,7 @@ windows_core::imp::define_interface!(IX509ExtensionEnhancedKeyUsage, IX509Extens impl std::ops::Deref for IX509ExtensionEnhancedKeyUsage { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9177,7 +9177,7 @@ impl IX509ExtensionEnhancedKeyUsage { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnhancedKeyUsage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnhancedKeyUsage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9189,7 +9189,7 @@ pub struct IX509ExtensionEnhancedKeyUsage_Vtbl { pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeEncode: usize, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EnhancedKeyUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -9201,7 +9201,7 @@ windows_core::imp::define_interface!(IX509ExtensionKeyUsage, IX509ExtensionKeyUs impl std::ops::Deref for IX509ExtensionKeyUsage { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9218,7 +9218,7 @@ impl IX509ExtensionKeyUsage { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn KeyUsage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeyUsage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9227,7 +9227,7 @@ impl IX509ExtensionKeyUsage { pub struct IX509ExtensionKeyUsage_Vtbl { pub base__: IX509Extension_Vtbl, pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, X509KeyUsageFlags) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, pub KeyUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509KeyUsageFlags) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -9236,7 +9236,7 @@ windows_core::imp::define_interface!(IX509ExtensionMSApplicationPolicies, IX509E impl std::ops::Deref for IX509ExtensionMSApplicationPolicies { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9258,7 +9258,7 @@ impl IX509ExtensionMSApplicationPolicies { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Policies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Policies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9270,7 +9270,7 @@ pub struct IX509ExtensionMSApplicationPolicies_Vtbl { pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeEncode: usize, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Policies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -9282,7 +9282,7 @@ windows_core::imp::define_interface!(IX509ExtensionSmimeCapabilities, IX509Exten impl std::ops::Deref for IX509ExtensionSmimeCapabilities { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9304,7 +9304,7 @@ impl IX509ExtensionSmimeCapabilities { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SmimeCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmimeCapabilities)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9316,7 +9316,7 @@ pub struct IX509ExtensionSmimeCapabilities_Vtbl { pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeEncode: usize, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SmimeCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -9328,7 +9328,7 @@ windows_core::imp::define_interface!(IX509ExtensionSubjectKeyIdentifier, IX509Ex impl std::ops::Deref for IX509ExtensionSubjectKeyIdentifier { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9348,7 +9348,7 @@ impl IX509ExtensionSubjectKeyIdentifier { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn get_SubjectKeyIdentifier(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SubjectKeyIdentifier)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9356,9 +9356,9 @@ impl IX509ExtensionSubjectKeyIdentifier { #[repr(C)] pub struct IX509ExtensionSubjectKeyIdentifier_Vtbl { pub base__: IX509Extension_Vtbl, - pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_SubjectKeyIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_SubjectKeyIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionTemplate, IX509ExtensionTemplate_Vtbl, 0x728ab312_217d_11da_b2a4_000e7bbb2b09); @@ -9366,7 +9366,7 @@ windows_core::imp::define_interface!(IX509ExtensionTemplate, IX509ExtensionTempl impl std::ops::Deref for IX509ExtensionTemplate { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9388,15 +9388,15 @@ impl IX509ExtensionTemplate { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TemplateOid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TemplateOid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MajorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9408,7 +9408,7 @@ pub struct IX509ExtensionTemplate_Vtbl { pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InitializeEncode: usize, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub TemplateOid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -9422,7 +9422,7 @@ windows_core::imp::define_interface!(IX509ExtensionTemplateName, IX509ExtensionT impl std::ops::Deref for IX509ExtensionTemplateName { type Target = IX509Extension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9442,7 +9442,7 @@ impl IX509ExtensionTemplateName { (windows_core::Interface::vtable(self).InitializeDecode)(windows_core::Interface::as_raw(self), encoding, strencodeddata.param().abi()).ok() } pub unsafe fn TemplateName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TemplateName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9450,9 +9450,9 @@ impl IX509ExtensionTemplateName { #[repr(C)] pub struct IX509ExtensionTemplateName_Vtbl { pub base__: IX509Extension_Vtbl, - pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeEncode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDecode: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Extensions, IX509Extensions_Vtbl, 0x728ab30e_217d_11da_b2a4_000e7bbb2b09); @@ -9460,7 +9460,7 @@ windows_core::imp::define_interface!(IX509Extensions, IX509Extensions_Vtbl, 0x72 impl std::ops::Deref for IX509Extensions { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9469,15 +9469,15 @@ windows_core::imp::interface_hierarchy!(IX509Extensions, windows_core::IUnknown, impl IX509Extensions { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9498,7 +9498,7 @@ impl IX509Extensions { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_IndexByObjectId)(windows_core::Interface::as_raw(self), pobjectid.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -9540,7 +9540,7 @@ windows_core::imp::define_interface!(IX509MachineEnrollmentFactory, IX509Machine impl std::ops::Deref for IX509MachineEnrollmentFactory { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9552,7 +9552,7 @@ impl IX509MachineEnrollmentFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateObject)(windows_core::Interface::as_raw(self), strprogid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9561,7 +9561,7 @@ impl IX509MachineEnrollmentFactory { pub struct IX509MachineEnrollmentFactory_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub CreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateObject: usize, } @@ -9571,7 +9571,7 @@ windows_core::imp::define_interface!(IX509NameValuePair, IX509NameValuePair_Vtbl impl std::ops::Deref for IX509NameValuePair { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9586,11 +9586,11 @@ impl IX509NameValuePair { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), strname.param().abi(), strvalue.param().abi()).ok() } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9598,9 +9598,9 @@ impl IX509NameValuePair { #[repr(C)] pub struct IX509NameValuePair_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509NameValuePairs, IX509NameValuePairs_Vtbl, 0x728ab340_217d_11da_b2a4_000e7bbb2b09); @@ -9608,7 +9608,7 @@ windows_core::imp::define_interface!(IX509NameValuePairs, IX509NameValuePairs_Vt impl std::ops::Deref for IX509NameValuePairs { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9617,15 +9617,15 @@ windows_core::imp::interface_hierarchy!(IX509NameValuePairs, windows_core::IUnkn impl IX509NameValuePairs { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9665,7 +9665,7 @@ windows_core::imp::define_interface!(IX509PolicyServerListManager, IX509PolicySe impl std::ops::Deref for IX509PolicyServerListManager { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9674,15 +9674,15 @@ windows_core::imp::interface_hierarchy!(IX509PolicyServerListManager, windows_co impl IX509PolicyServerListManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_ItemByIndex(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ItemByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9726,7 +9726,7 @@ windows_core::imp::define_interface!(IX509PolicyServerUrl, IX509PolicyServerUrl_ impl std::ops::Deref for IX509PolicyServerUrl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9737,7 +9737,7 @@ impl IX509PolicyServerUrl { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), context).ok() } pub unsafe fn Url(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Url)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUrl(&self, pvalue: P0) -> windows_core::Result<()> @@ -9747,7 +9747,7 @@ impl IX509PolicyServerUrl { (windows_core::Interface::vtable(self).SetUrl)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn Default(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Default)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefault(&self, value: P0) -> windows_core::Result<()> @@ -9757,28 +9757,28 @@ impl IX509PolicyServerUrl { (windows_core::Interface::vtable(self).SetDefault)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Flags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cost)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCost(&self, value: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetCost)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn GetStringProperty(&self, propertyid: PolicyServerUrlPropertyID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStringProperty(&self, propertyid: PolicyServerUrlPropertyID, pvalue: P0) -> windows_core::Result<()> @@ -9799,8 +9799,8 @@ impl IX509PolicyServerUrl { pub struct IX509PolicyServerUrl_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext) -> windows_core::HRESULT, - pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Url: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUrl: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Default: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PolicyServerUrlFlags) -> windows_core::HRESULT, @@ -9809,8 +9809,8 @@ pub struct IX509PolicyServerUrl_Vtbl { pub SetAuthFlags: unsafe extern "system" fn(*mut core::ffi::c_void, X509EnrollmentAuthFlags) -> windows_core::HRESULT, pub Cost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCost: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub GetStringProperty: unsafe extern "system" fn(*mut core::ffi::c_void, PolicyServerUrlPropertyID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStringProperty: unsafe extern "system" fn(*mut core::ffi::c_void, PolicyServerUrlPropertyID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringProperty: unsafe extern "system" fn(*mut core::ffi::c_void, PolicyServerUrlPropertyID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStringProperty: unsafe extern "system" fn(*mut core::ffi::c_void, PolicyServerUrlPropertyID, core::mem::MaybeUninit) -> windows_core::HRESULT, pub UpdateRegistry: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext) -> windows_core::HRESULT, pub RemoveFromRegistry: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext) -> windows_core::HRESULT, } @@ -9820,7 +9820,7 @@ windows_core::imp::define_interface!(IX509PrivateKey, IX509PrivateKey_Vtbl, 0x72 impl std::ops::Deref for IX509PrivateKey { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -9853,16 +9853,16 @@ impl IX509PrivateKey { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Export)(windows_core::Interface::as_raw(self), strexporttype.param().abi(), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExportPublicKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExportPublicKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ContainerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContainerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContainerName(&self, value: P0) -> windows_core::Result<()> @@ -9872,7 +9872,7 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetContainerName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ContainerNamePrefix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContainerNamePrefix)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContainerNamePrefix(&self, value: P0) -> windows_core::Result<()> @@ -9882,7 +9882,7 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetContainerNamePrefix)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ReaderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReaderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetReaderName(&self, value: P0) -> windows_core::Result<()> @@ -9893,7 +9893,7 @@ impl IX509PrivateKey { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspInformations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CspInformations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9905,7 +9905,7 @@ impl IX509PrivateKey { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CspStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CspStatus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9916,7 +9916,7 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetCspStatus)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn ProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProviderName(&self, value: P0) -> windows_core::Result<()> @@ -9926,14 +9926,14 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetProviderName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ProviderType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LegacyCsp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLegacyCsp(&self, value: P0) -> windows_core::Result<()> @@ -9944,7 +9944,7 @@ impl IX509PrivateKey { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Algorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Algorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9955,42 +9955,42 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetAlgorithm)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn KeySpec(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeySpec)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExportPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeyUsage)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeyProtection)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MachineContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMachineContext(&self, value: P0) -> windows_core::Result<()> @@ -10000,7 +10000,7 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetMachineContext)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn SecurityDescriptor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SecurityDescriptor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSecurityDescriptor(&self, value: P0) -> windows_core::Result<()> @@ -10010,7 +10010,7 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetSecurityDescriptor)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Certificate)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_Certificate(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -10020,19 +10020,19 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).put_Certificate)(windows_core::Interface::as_raw(self), encoding, value.param().abi()).ok() } pub unsafe fn UniqueContainerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UniqueContainerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Opened(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Opened)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultContainer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Existing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Existing)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExisting(&self, value: P0) -> windows_core::Result<()> @@ -10042,7 +10042,7 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetExisting)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Silent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Silent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSilent(&self, value: P0) -> windows_core::Result<()> @@ -10052,14 +10052,14 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetSilent)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ParentWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetParentWindow(&self, value: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetParentWindow)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn UIContextMessage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UIContextMessage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUIContextMessage(&self, value: P0) -> windows_core::Result<()> @@ -10075,7 +10075,7 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetPin)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn FriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFriendlyName(&self, value: P0) -> windows_core::Result<()> @@ -10085,7 +10085,7 @@ impl IX509PrivateKey { (windows_core::Interface::vtable(self).SetFriendlyName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, value: P0) -> windows_core::Result<()> @@ -10104,18 +10104,18 @@ pub struct IX509PrivateKey_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Verify: unsafe extern "system" fn(*mut core::ffi::c_void, X509PrivateKeyVerify) -> windows_core::HRESULT, - pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, - pub Export: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub Export: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ExportPublicKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExportPublicKey: usize, - pub ContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContainerNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CspInformations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -10132,8 +10132,8 @@ pub struct IX509PrivateKey_Vtbl { pub SetCspStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetCspStatus: usize, - pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509ProviderType) -> windows_core::HRESULT, pub SetProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, X509ProviderType) -> windows_core::HRESULT, pub LegacyCsp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -10158,11 +10158,11 @@ pub struct IX509PrivateKey_Vtbl { pub SetKeyProtection: unsafe extern "system" fn(*mut core::ffi::c_void, X509PrivateKeyProtection) -> windows_core::HRESULT, pub MachineContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetMachineContext: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UniqueContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UniqueContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Opened: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DefaultContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Existing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -10171,13 +10171,13 @@ pub struct IX509PrivateKey_Vtbl { pub SetSilent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ParentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetParentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub UIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPin: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUIContextMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPin: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509PrivateKey2, IX509PrivateKey2_Vtbl, 0x728ab362_217d_11da_b2a4_000e7bbb2b09); @@ -10185,7 +10185,7 @@ windows_core::imp::define_interface!(IX509PrivateKey2, IX509PrivateKey2_Vtbl, 0x impl std::ops::Deref for IX509PrivateKey2 { type Target = IX509PrivateKey; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10193,14 +10193,14 @@ windows_core::imp::interface_hierarchy!(IX509PrivateKey2, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IX509PrivateKey2 { pub unsafe fn HardwareKeyUsage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HardwareKeyUsage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHardwareKeyUsage(&self, value: X509HardwareKeyUsageFlags) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetHardwareKeyUsage)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn AlternateStorageLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlternateStorageLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAlternateStorageLocation(&self, value: P0) -> windows_core::Result<()> @@ -10210,7 +10210,7 @@ impl IX509PrivateKey2 { (windows_core::Interface::vtable(self).SetAlternateStorageLocation)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn AlgorithmName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlgorithmName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAlgorithmName(&self, value: P0) -> windows_core::Result<()> @@ -10220,7 +10220,7 @@ impl IX509PrivateKey2 { (windows_core::Interface::vtable(self).SetAlgorithmName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn get_AlgorithmParameters(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AlgorithmParameters)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_AlgorithmParameters(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -10230,7 +10230,7 @@ impl IX509PrivateKey2 { (windows_core::Interface::vtable(self).put_AlgorithmParameters)(windows_core::Interface::as_raw(self), encoding, value.param().abi()).ok() } pub unsafe fn ParametersExportType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParametersExportType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetParametersExportType(&self, value: X509KeyParametersExportType) -> windows_core::Result<()> { @@ -10243,12 +10243,12 @@ pub struct IX509PrivateKey2_Vtbl { pub base__: IX509PrivateKey_Vtbl, pub HardwareKeyUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509HardwareKeyUsageFlags) -> windows_core::HRESULT, pub SetHardwareKeyUsage: unsafe extern "system" fn(*mut core::ffi::c_void, X509HardwareKeyUsageFlags) -> windows_core::HRESULT, - pub AlternateStorageLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAlternateStorageLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_AlgorithmParameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_AlgorithmParameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlternateStorageLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAlternateStorageLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_AlgorithmParameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_AlgorithmParameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ParametersExportType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509KeyParametersExportType) -> windows_core::HRESULT, pub SetParametersExportType: unsafe extern "system" fn(*mut core::ffi::c_void, X509KeyParametersExportType) -> windows_core::HRESULT, } @@ -10258,7 +10258,7 @@ windows_core::imp::define_interface!(IX509PublicKey, IX509PublicKey_Vtbl, 0x728a impl std::ops::Deref for IX509PublicKey { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10282,23 +10282,23 @@ impl IX509PublicKey { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Algorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Algorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_EncodedKey(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EncodedKey)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_EncodedParameters(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EncodedParameters)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ComputeKeyIdentifier(&self, algorithm: KeyIdentifierHashAlgorithm, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputeKeyIdentifier)(windows_core::Interface::as_raw(self), algorithm, encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10307,18 +10307,18 @@ impl IX509PublicKey { pub struct IX509PublicKey_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Initialize: usize, - pub InitializeFromEncodedPublicKeyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub InitializeFromEncodedPublicKeyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Algorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Algorithm: usize, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_EncodedKey: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_EncodedParameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ComputeKeyIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, KeyIdentifierHashAlgorithm, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_EncodedKey: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_EncodedParameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ComputeKeyIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, KeyIdentifierHashAlgorithm, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509SCEPEnrollment, IX509SCEPEnrollment_Vtbl, 0x728ab361_217d_11da_b2a4_000e7bbb2b09); @@ -10326,7 +10326,7 @@ windows_core::imp::define_interface!(IX509SCEPEnrollment, IX509SCEPEnrollment_Vt impl std::ops::Deref for IX509SCEPEnrollment { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10346,11 +10346,11 @@ impl IX509SCEPEnrollment { (windows_core::Interface::vtable(self).InitializeForPending)(windows_core::Interface::as_raw(self), context).ok() } pub unsafe fn CreateRequestMessage(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRequestMessage)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRetrievePendingMessage(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRetrievePendingMessage)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRetrieveCertificateMessage(&self, context: X509CertificateEnrollmentContext, strissuer: P0, issuerencoding: EncodingType, strserialnumber: P1, serialnumberencoding: EncodingType, encoding: EncodingType) -> windows_core::Result @@ -10358,14 +10358,14 @@ impl IX509SCEPEnrollment { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRetrieveCertificateMessage)(windows_core::Interface::as_raw(self), context, strissuer.param().abi(), issuerencoding, strserialnumber.param().abi(), serialnumberencoding, encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProcessResponseMessage(&self, strresponse: P0, encoding: EncodingType) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProcessResponseMessage)(windows_core::Interface::as_raw(self), strresponse.param().abi(), encoding, &mut result__).map(|| result__) } pub unsafe fn SetServerCapabilities(&self, value: P0) -> windows_core::Result<()> @@ -10375,12 +10375,12 @@ impl IX509SCEPEnrollment { (windows_core::Interface::vtable(self).SetServerCapabilities)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn FailInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FailInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SignerCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignerCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -10392,7 +10392,7 @@ impl IX509SCEPEnrollment { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OldCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OldCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -10403,7 +10403,7 @@ impl IX509SCEPEnrollment { (windows_core::Interface::vtable(self).SetOldCertificate)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn get_TransactionId(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_TransactionId)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_TransactionId(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -10414,11 +10414,11 @@ impl IX509SCEPEnrollment { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Request(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Request)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CertificateFriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CertificateFriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCertificateFriendlyName(&self, value: P0) -> windows_core::Result<()> @@ -10429,15 +10429,15 @@ impl IX509SCEPEnrollment { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Certificate(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Certificate)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Silent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Silent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSilent(&self, value: P0) -> windows_core::Result<()> @@ -10455,15 +10455,15 @@ impl IX509SCEPEnrollment { pub struct IX509SCEPEnrollment_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType, core::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Initialize: usize, pub InitializeForPending: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext) -> windows_core::HRESULT, - pub CreateRequestMessage: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateRetrievePendingMessage: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateRetrieveCertificateMessage: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, std::mem::MaybeUninit, EncodingType, std::mem::MaybeUninit, EncodingType, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProcessResponseMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType, *mut X509SCEPDisposition) -> windows_core::HRESULT, - pub SetServerCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateRequestMessage: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateRetrievePendingMessage: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateRetrieveCertificateMessage: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, core::mem::MaybeUninit, EncodingType, core::mem::MaybeUninit, EncodingType, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProcessResponseMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, EncodingType, *mut X509SCEPDisposition) -> windows_core::HRESULT, + pub SetServerCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub FailInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509SCEPFailInfo) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SignerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -10481,19 +10481,19 @@ pub struct IX509SCEPEnrollment_Vtbl { pub SetOldCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetOldCertificate: usize, - pub get_TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Request: usize, - pub CertificateFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCertificateFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CertificateFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCertificateFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Status: usize, - pub get_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Certificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Silent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetSilent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DeleteRequest: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -10504,7 +10504,7 @@ windows_core::imp::define_interface!(IX509SCEPEnrollment2, IX509SCEPEnrollment2_ impl std::ops::Deref for IX509SCEPEnrollment2 { type Target = IX509SCEPEnrollment; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10512,26 +10512,26 @@ windows_core::imp::interface_hierarchy!(IX509SCEPEnrollment2, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IX509SCEPEnrollment2 { pub unsafe fn CreateChallengeAnswerMessage(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateChallengeAnswerMessage)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProcessResponseMessage2(&self, flags: X509SCEPProcessMessageFlags, strresponse: P0, encoding: EncodingType) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProcessResponseMessage2)(windows_core::Interface::as_raw(self), flags, strresponse.param().abi(), encoding, &mut result__).map(|| result__) } pub unsafe fn ResultMessageText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultMessageText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DelayRetry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DelayRetry)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ActivityId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivityId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetActivityId(&self, value: P0) -> windows_core::Result<()> @@ -10545,12 +10545,12 @@ impl IX509SCEPEnrollment2 { #[repr(C)] pub struct IX509SCEPEnrollment2_Vtbl { pub base__: IX509SCEPEnrollment_Vtbl, - pub CreateChallengeAnswerMessage: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProcessResponseMessage2: unsafe extern "system" fn(*mut core::ffi::c_void, X509SCEPProcessMessageFlags, std::mem::MaybeUninit, EncodingType, *mut X509SCEPDisposition) -> windows_core::HRESULT, - pub ResultMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateChallengeAnswerMessage: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProcessResponseMessage2: unsafe extern "system" fn(*mut core::ffi::c_void, X509SCEPProcessMessageFlags, core::mem::MaybeUninit, EncodingType, *mut X509SCEPDisposition) -> windows_core::HRESULT, + pub ResultMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DelayRetry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DelayRetryAction) -> windows_core::HRESULT, - pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509SCEPEnrollmentHelper, IX509SCEPEnrollmentHelper_Vtbl, 0x728ab365_217d_11da_b2a4_000e7bbb2b09); @@ -10558,7 +10558,7 @@ windows_core::imp::define_interface!(IX509SCEPEnrollmentHelper, IX509SCEPEnrollm impl std::ops::Deref for IX509SCEPEnrollmentHelper { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10584,20 +10584,20 @@ impl IX509SCEPEnrollmentHelper { (windows_core::Interface::vtable(self).InitializeForPending)(windows_core::Interface::as_raw(self), strserverurl.param().abi(), strrequestheaders.param().abi(), context, strtransactionid.param().abi()).ok() } pub unsafe fn Enroll(&self, processflags: X509SCEPProcessMessageFlags) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enroll)(windows_core::Interface::as_raw(self), processflags, &mut result__).map(|| result__) } pub unsafe fn FetchPending(&self, processflags: X509SCEPProcessMessageFlags) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FetchPending)(windows_core::Interface::as_raw(self), processflags, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn X509SCEPEnrollment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).X509SCEPEnrollment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ResultMessageText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultMessageText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10606,17 +10606,17 @@ impl IX509SCEPEnrollmentHelper { pub struct IX509SCEPEnrollmentHelper_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Initialize: usize, - pub InitializeForPending: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, X509CertificateEnrollmentContext, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeForPending: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, X509CertificateEnrollmentContext, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enroll: unsafe extern "system" fn(*mut core::ffi::c_void, X509SCEPProcessMessageFlags, *mut X509SCEPDisposition) -> windows_core::HRESULT, pub FetchPending: unsafe extern "system" fn(*mut core::ffi::c_void, X509SCEPProcessMessageFlags, *mut X509SCEPDisposition) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub X509SCEPEnrollment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] X509SCEPEnrollment: usize, - pub ResultMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResultMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509SignatureInformation, IX509SignatureInformation_Vtbl, 0x728ab33c_217d_11da_b2a4_000e7bbb2b09); @@ -10624,7 +10624,7 @@ windows_core::imp::define_interface!(IX509SignatureInformation, IX509SignatureIn impl std::ops::Deref for IX509SignatureInformation { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10633,7 +10633,7 @@ windows_core::imp::interface_hierarchy!(IX509SignatureInformation, windows_core: impl IX509SignatureInformation { #[cfg(feature = "Win32_System_Com")] pub unsafe fn HashAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -10645,7 +10645,7 @@ impl IX509SignatureInformation { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PublicKeyAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PublicKeyAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -10656,7 +10656,7 @@ impl IX509SignatureInformation { (windows_core::Interface::vtable(self).SetPublicKeyAlgorithm)(windows_core::Interface::as_raw(self), pvalue.param().abi()).ok() } pub unsafe fn get_Parameters(&self, encoding: EncodingType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Parameters)(windows_core::Interface::as_raw(self), encoding, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_Parameters(&self, encoding: EncodingType, value: P0) -> windows_core::Result<()> @@ -10666,7 +10666,7 @@ impl IX509SignatureInformation { (windows_core::Interface::vtable(self).put_Parameters)(windows_core::Interface::as_raw(self), encoding, value.param().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlternateSignatureAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAlternateSignatureAlgorithm(&self, value: P0) -> windows_core::Result<()> @@ -10676,11 +10676,11 @@ impl IX509SignatureInformation { (windows_core::Interface::vtable(self).SetAlternateSignatureAlgorithm)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn AlternateSignatureAlgorithmSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlternateSignatureAlgorithmSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NullSigned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NullSigned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNullSigned(&self, value: P0) -> windows_core::Result<()> @@ -10695,7 +10695,7 @@ impl IX509SignatureInformation { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureAlgorithm)(windows_core::Interface::as_raw(self), pkcs7signature.param().abi(), signaturekey.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefaultValues(&self) -> windows_core::Result<()> { @@ -10722,8 +10722,8 @@ pub struct IX509SignatureInformation_Vtbl { pub SetPublicKeyAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetPublicKeyAlgorithm: usize, - pub get_Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AlternateSignatureAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAlternateSignatureAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub AlternateSignatureAlgorithmSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs index feed6be242..829583e61c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs @@ -37,7 +37,7 @@ impl ICertSrvSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CAErrorString, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CAErrorString, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetup_Impl::CAErrorString(this) { @@ -53,7 +53,7 @@ impl ICertSrvSetup_Vtbl { let this = (*this).get_impl(); ICertSrvSetup_Impl::InitializeDefaults(this, core::mem::transmute_copy(&bserver), core::mem::transmute_copy(&bclient)).into() } - unsafe extern "system" fn GetCASetupProperty, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CASetupProperty, ppropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCASetupProperty, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CASetupProperty, ppropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetCASetupProperty(this, core::mem::transmute_copy(&propertyid)) { @@ -64,7 +64,7 @@ impl ICertSrvSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCASetupProperty, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CASetupProperty, ppropertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCASetupProperty, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CASetupProperty, ppropertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertSrvSetup_Impl::SetCASetupProperty(this, core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&ppropertyvalue)).into() @@ -80,7 +80,7 @@ impl ICertSrvSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSupportedCATypes, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcatypes: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSupportedCATypes, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcatypes: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetSupportedCATypes(this) { @@ -91,7 +91,7 @@ impl ICertSrvSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProviderNameList, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProviderNameList, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetProviderNameList(this) { @@ -102,7 +102,7 @@ impl ICertSrvSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetKeyLengthList, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetKeyLengthList, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetKeyLengthList(this, core::mem::transmute(&bstrprovidername)) { @@ -113,7 +113,7 @@ impl ICertSrvSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetHashAlgorithmList, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetHashAlgorithmList, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetHashAlgorithmList(this, core::mem::transmute(&bstrprovidername)) { @@ -124,7 +124,7 @@ impl ICertSrvSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPrivateKeyContainerList, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPrivateKeyContainerList, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovidername: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetup_Impl::GetPrivateKeyContainerList(this, core::mem::transmute(&bstrprovidername)) { @@ -146,7 +146,7 @@ impl ICertSrvSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CAImportPFX, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit, bstrpasswd: std::mem::MaybeUninit, boverwriteexistingkey: super::super::Foundation::VARIANT_BOOL, ppval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CAImportPFX, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit, bstrpasswd: core::mem::MaybeUninit, boverwriteexistingkey: super::super::Foundation::VARIANT_BOOL, ppval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetup_Impl::CAImportPFX(this, core::mem::transmute(&bstrfilename), core::mem::transmute(&bstrpasswd), core::mem::transmute_copy(&boverwriteexistingkey)) { @@ -157,22 +157,22 @@ impl ICertSrvSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCADistinguishedName, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcadn: std::mem::MaybeUninit, bignoreunicode: super::super::Foundation::VARIANT_BOOL, boverwriteexistingkey: super::super::Foundation::VARIANT_BOOL, boverwriteexistingcainds: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetCADistinguishedName, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcadn: core::mem::MaybeUninit, bignoreunicode: super::super::Foundation::VARIANT_BOOL, boverwriteexistingkey: super::super::Foundation::VARIANT_BOOL, boverwriteexistingcainds: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertSrvSetup_Impl::SetCADistinguishedName(this, core::mem::transmute(&bstrcadn), core::mem::transmute_copy(&bignoreunicode), core::mem::transmute_copy(&boverwriteexistingkey), core::mem::transmute_copy(&boverwriteexistingcainds)).into() } - unsafe extern "system" fn SetDatabaseInformation, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdbdirectory: std::mem::MaybeUninit, bstrlogdirectory: std::mem::MaybeUninit, bstrsharedfolder: std::mem::MaybeUninit, bforceoverwrite: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetDatabaseInformation, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdbdirectory: core::mem::MaybeUninit, bstrlogdirectory: core::mem::MaybeUninit, bstrsharedfolder: core::mem::MaybeUninit, bforceoverwrite: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertSrvSetup_Impl::SetDatabaseInformation(this, core::mem::transmute(&bstrdbdirectory), core::mem::transmute(&bstrlogdirectory), core::mem::transmute(&bstrsharedfolder), core::mem::transmute_copy(&bforceoverwrite)).into() } - unsafe extern "system" fn SetParentCAInformation, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaconfiguration: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetParentCAInformation, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaconfiguration: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertSrvSetup_Impl::SetParentCAInformation(this, core::mem::transmute(&bstrcaconfiguration)).into() } - unsafe extern "system" fn SetWebCAInformation, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaconfiguration: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetWebCAInformation, Impl: ICertSrvSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaconfiguration: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertSrvSetup_Impl::SetWebCAInformation(this, core::mem::transmute(&bstrcaconfiguration)).into() @@ -240,7 +240,7 @@ impl windows_core::RuntimeName for ICertSrvSetupKeyInformation {} #[cfg(feature = "Win32_System_Com")] impl ICertSrvSetupKeyInformation_Vtbl { pub const fn new, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>() -> ICertSrvSetupKeyInformation_Vtbl { - unsafe extern "system" fn ProviderName, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderName, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::ProviderName(this) { @@ -251,7 +251,7 @@ impl ICertSrvSetupKeyInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProviderName, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProviderName, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertSrvSetupKeyInformation_Impl::SetProviderName(this, core::mem::transmute(&bstrval)).into() @@ -288,7 +288,7 @@ impl ICertSrvSetupKeyInformation_Vtbl { let this = (*this).get_impl(); ICertSrvSetupKeyInformation_Impl::SetExisting(this, core::mem::transmute_copy(&bval)).into() } - unsafe extern "system" fn ContainerName, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContainerName, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::ContainerName(this) { @@ -299,12 +299,12 @@ impl ICertSrvSetupKeyInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetContainerName, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetContainerName, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertSrvSetupKeyInformation_Impl::SetContainerName(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn HashAlgorithm, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HashAlgorithm, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::HashAlgorithm(this) { @@ -315,12 +315,12 @@ impl ICertSrvSetupKeyInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHashAlgorithm, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHashAlgorithm, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertSrvSetupKeyInformation_Impl::SetHashAlgorithm(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn ExistingCACertificate, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExistingCACertificate, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetupKeyInformation_Impl::ExistingCACertificate(this) { @@ -331,7 +331,7 @@ impl ICertSrvSetupKeyInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExistingCACertificate, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExistingCACertificate, Impl: ICertSrvSetupKeyInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertSrvSetupKeyInformation_Impl::SetExistingCACertificate(this, core::mem::transmute(&varval)).into() @@ -379,7 +379,7 @@ impl ICertSrvSetupKeyInformationCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ICertSrvSetupKeyInformationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ICertSrvSetupKeyInformationCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertSrvSetupKeyInformationCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -432,7 +432,7 @@ impl windows_core::RuntimeName for ICertificateEnrollmentPolicyServerSetup {} #[cfg(feature = "Win32_System_Com")] impl ICertificateEnrollmentPolicyServerSetup_Vtbl { pub const fn new, Impl: ICertificateEnrollmentPolicyServerSetup_Impl, const OFFSET: isize>() -> ICertificateEnrollmentPolicyServerSetup_Vtbl { - unsafe extern "system" fn ErrorString, Impl: ICertificateEnrollmentPolicyServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ErrorString, Impl: ICertificateEnrollmentPolicyServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertificateEnrollmentPolicyServerSetup_Impl::ErrorString(this) { @@ -448,7 +448,7 @@ impl ICertificateEnrollmentPolicyServerSetup_Vtbl { let this = (*this).get_impl(); ICertificateEnrollmentPolicyServerSetup_Impl::InitializeInstallDefaults(this).into() } - unsafe extern "system" fn GetProperty, Impl: ICertificateEnrollmentPolicyServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CEPSetupProperty, ppropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: ICertificateEnrollmentPolicyServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CEPSetupProperty, ppropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertificateEnrollmentPolicyServerSetup_Impl::GetProperty(this, core::mem::transmute_copy(&propertyid)) { @@ -459,7 +459,7 @@ impl ICertificateEnrollmentPolicyServerSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: ICertificateEnrollmentPolicyServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CEPSetupProperty, ppropertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: ICertificateEnrollmentPolicyServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CEPSetupProperty, ppropertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertificateEnrollmentPolicyServerSetup_Impl::SetProperty(this, core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&ppropertyvalue)).into() @@ -469,7 +469,7 @@ impl ICertificateEnrollmentPolicyServerSetup_Vtbl { let this = (*this).get_impl(); ICertificateEnrollmentPolicyServerSetup_Impl::Install(this).into() } - unsafe extern "system" fn UnInstall, Impl: ICertificateEnrollmentPolicyServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pauthkeybasedrenewal: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UnInstall, Impl: ICertificateEnrollmentPolicyServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pauthkeybasedrenewal: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertificateEnrollmentPolicyServerSetup_Impl::UnInstall(this, core::mem::transmute_copy(&pauthkeybasedrenewal)).into() @@ -503,7 +503,7 @@ impl windows_core::RuntimeName for ICertificateEnrollmentServerSetup {} #[cfg(feature = "Win32_System_Com")] impl ICertificateEnrollmentServerSetup_Vtbl { pub const fn new, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>() -> ICertificateEnrollmentServerSetup_Vtbl { - unsafe extern "system" fn ErrorString, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ErrorString, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertificateEnrollmentServerSetup_Impl::ErrorString(this) { @@ -519,7 +519,7 @@ impl ICertificateEnrollmentServerSetup_Vtbl { let this = (*this).get_impl(); ICertificateEnrollmentServerSetup_Impl::InitializeInstallDefaults(this).into() } - unsafe extern "system" fn GetProperty, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CESSetupProperty, ppropertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CESSetupProperty, ppropertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICertificateEnrollmentServerSetup_Impl::GetProperty(this, core::mem::transmute_copy(&propertyid)) { @@ -530,12 +530,12 @@ impl ICertificateEnrollmentServerSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CESSetupProperty, ppropertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: CESSetupProperty, ppropertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertificateEnrollmentServerSetup_Impl::SetProperty(this, core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&ppropertyvalue)).into() } - unsafe extern "system" fn SetApplicationPoolCredentials, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetApplicationPoolCredentials, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertificateEnrollmentServerSetup_Impl::SetApplicationPoolCredentials(this, core::mem::transmute(&bstrusername), core::mem::transmute(&bstrpassword)).into() @@ -545,7 +545,7 @@ impl ICertificateEnrollmentServerSetup_Vtbl { let this = (*this).get_impl(); ICertificateEnrollmentServerSetup_Impl::Install(this).into() } - unsafe extern "system" fn UnInstall, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcaconfig: *const std::mem::MaybeUninit, pauthentication: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UnInstall, Impl: ICertificateEnrollmentServerSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcaconfig: *const core::mem::MaybeUninit, pauthentication: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICertificateEnrollmentServerSetup_Impl::UnInstall(this, core::mem::transmute_copy(&pcaconfig), core::mem::transmute_copy(&pauthentication)).into() @@ -596,7 +596,7 @@ impl IMSCEPSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MSCEPErrorString, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MSCEPErrorString, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSCEPSetup_Impl::MSCEPErrorString(this) { @@ -612,7 +612,7 @@ impl IMSCEPSetup_Vtbl { let this = (*this).get_impl(); IMSCEPSetup_Impl::InitializeDefaults(this).into() } - unsafe extern "system" fn GetMSCEPSetupProperty, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: MSCEPSetupProperty, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMSCEPSetupProperty, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: MSCEPSetupProperty, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSCEPSetup_Impl::GetMSCEPSetupProperty(this, core::mem::transmute_copy(&propertyid)) { @@ -623,12 +623,12 @@ impl IMSCEPSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMSCEPSetupProperty, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: MSCEPSetupProperty, ppropertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMSCEPSetupProperty, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: MSCEPSetupProperty, ppropertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSCEPSetup_Impl::SetMSCEPSetupProperty(this, core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&ppropertyvalue)).into() } - unsafe extern "system" fn SetAccountInformation, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAccountInformation, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSCEPSetup_Impl::SetAccountInformation(this, core::mem::transmute(&bstrusername), core::mem::transmute(&bstrpassword)).into() @@ -644,7 +644,7 @@ impl IMSCEPSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProviderNameList, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bexchange: super::super::Foundation::VARIANT_BOOL, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProviderNameList, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bexchange: super::super::Foundation::VARIANT_BOOL, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSCEPSetup_Impl::GetProviderNameList(this, core::mem::transmute_copy(&bexchange)) { @@ -655,7 +655,7 @@ impl IMSCEPSetup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetKeyLengthList, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bexchange: super::super::Foundation::VARIANT_BOOL, bstrprovidername: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetKeyLengthList, Impl: IMSCEPSetup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bexchange: super::super::Foundation::VARIANT_BOOL, bstrprovidername: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSCEPSetup_Impl::GetKeyLengthList(this, core::mem::transmute_copy(&bexchange), core::mem::transmute(&bstrprovidername)) { 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 133d99d64e..f57a419a8e 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -2147,7 +2147,7 @@ where #[inline] pub unsafe fn CryptXmlAddObject(hsignatureorobject: *const core::ffi::c_void, dwflags: u32, rgproperty: Option<&[CRYPT_XML_PROPERTY]>, pencoded: *const CRYPT_XML_BLOB) -> windows_core::Result<*mut CRYPT_XML_OBJECT> { windows_targets::link!("cryptxml.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CryptXmlAddObject(hsignatureorobject, dwflags, core::mem::transmute(rgproperty.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), rgproperty.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), pencoded, &mut result__).map(|| result__) } #[inline] @@ -2188,43 +2188,43 @@ pub unsafe fn CryptXmlFindAlgorithmInfo(dwfindbytype: u32, pvfindby: *const core #[inline] pub unsafe fn CryptXmlGetAlgorithmInfo(pxmlalgorithm: *const CRYPT_XML_ALGORITHM, dwflags: CRYPT_XML_FLAGS) -> windows_core::Result<*mut CRYPT_XML_ALGORITHM_INFO> { windows_targets::link!("cryptxml.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CryptXmlGetAlgorithmInfo(pxmlalgorithm, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn CryptXmlGetDocContext(hcryptxml: *const core::ffi::c_void) -> windows_core::Result<*mut CRYPT_XML_DOC_CTXT> { windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetDocContext(hcryptxml : *const core::ffi::c_void, ppstruct : *mut *mut CRYPT_XML_DOC_CTXT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CryptXmlGetDocContext(hcryptxml, &mut result__).map(|| result__) } #[inline] pub unsafe fn CryptXmlGetReference(hcryptxml: *const core::ffi::c_void) -> windows_core::Result<*mut CRYPT_XML_REFERENCE> { windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetReference(hcryptxml : *const core::ffi::c_void, ppstruct : *mut *mut CRYPT_XML_REFERENCE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CryptXmlGetReference(hcryptxml, &mut result__).map(|| result__) } #[inline] pub unsafe fn CryptXmlGetSignature(hcryptxml: *const core::ffi::c_void) -> windows_core::Result<*mut CRYPT_XML_SIGNATURE> { windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetSignature(hcryptxml : *const core::ffi::c_void, ppstruct : *mut *mut CRYPT_XML_SIGNATURE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CryptXmlGetSignature(hcryptxml, &mut result__).map(|| result__) } #[inline] pub unsafe fn CryptXmlGetStatus(hcryptxml: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetStatus(hcryptxml : *const core::ffi::c_void, pstatus : *mut CRYPT_XML_STATUS) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CryptXmlGetStatus(hcryptxml, &mut result__).map(|| result__) } #[inline] pub unsafe fn CryptXmlGetTransforms() -> windows_core::Result<*mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG> { windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetTransforms(ppconfig : *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CryptXmlGetTransforms(&mut result__).map(|| result__) } #[inline] pub unsafe fn CryptXmlImportPublicKey(dwflags: CRYPT_XML_FLAGS, pkeyvalue: *const CRYPT_XML_KEY_VALUE) -> windows_core::Result { windows_targets::link!("cryptxml.dll" "system" fn CryptXmlImportPublicKey(dwflags : CRYPT_XML_FLAGS, pkeyvalue : *const CRYPT_XML_KEY_VALUE, phkey : *mut BCRYPT_KEY_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CryptXmlImportPublicKey(dwflags, pkeyvalue, &mut result__).map(|| result__) } #[inline] @@ -2306,13 +2306,13 @@ pub unsafe fn GetBrowserToken(dwparamtype: u32, pparam: *const core::ffi::c_void #[inline] pub unsafe fn GetCryptoTransform(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, mode: u32, padding: PaddingMode, feedbacksize: u32, direction: Direction, piv: &[u8]) -> windows_core::Result<*mut INFORMATIONCARD_CRYPTO_HANDLE> { windows_targets::link!("infocardapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetCryptoTransform(hsymmetriccrypto, mode, padding, feedbacksize, direction, piv.len().try_into().unwrap(), core::mem::transmute(piv.as_ptr()), &mut result__).map(|| result__) } #[inline] pub unsafe fn GetKeyedHash(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE) -> windows_core::Result<*mut INFORMATIONCARD_CRYPTO_HANDLE> { windows_targets::link!("infocardapi.dll" "system" fn GetKeyedHash(hsymmetriccrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, pphhash : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetKeyedHash(hsymmetriccrypto, &mut result__).map(|| result__) } #[inline] @@ -2376,7 +2376,7 @@ where P0: windows_core::Param, { windows_targets::link!("ncrypt.dll" "system" fn NCryptCreateProtectionDescriptor(pwszdescriptorstring : windows_core::PCWSTR, dwflags : u32, phdescriptor : *mut super:: NCRYPT_DESCRIPTOR_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NCryptCreateProtectionDescriptor(pwszdescriptorstring.param().abi(), dwflags, &mut result__).map(|| result__) } #[inline] @@ -2609,7 +2609,7 @@ where P1: windows_core::Param, { windows_targets::link!("ncrypt.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NCryptStreamOpenToProtect(hdescriptor.param().abi(), dwflags, hwnd.param().abi(), pstreaminfo, &mut result__).map(|| result__) } #[inline] @@ -2618,7 +2618,7 @@ where P0: windows_core::Param, { windows_targets::link!("ncrypt.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NCryptStreamOpenToUnprotect(pstreaminfo, dwflags, hwnd.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -2627,7 +2627,7 @@ where P0: windows_core::Param, { windows_targets::link!("ncrypt.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); NCryptStreamOpenToUnprotectEx(pstreaminfo, dwflags, hwnd.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -2746,7 +2746,7 @@ where P0: windows_core::Param, { windows_targets::link!("mssign32.dll" "system" fn SignerSignEx(dwflags : SIGNER_SIGN_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, psignercert : *const SIGNER_CERT, psignatureinfo : *const SIGNER_SIGNATURE_INFO, pproviderinfo : *const SIGNER_PROVIDER_INFO, pwszhttptimestamp : windows_core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SignerSignEx(dwflags, psubjectinfo, psignercert, psignatureinfo, core::mem::transmute(pproviderinfo.unwrap_or(std::ptr::null())), pwszhttptimestamp.param().abi(), core::mem::transmute(psrequest.unwrap_or(std::ptr::null())), core::mem::transmute(psipdata.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -2797,7 +2797,7 @@ where P0: windows_core::Param, { windows_targets::link!("mssign32.dll" "system" fn SignerTimeStampEx(dwflags : u32, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : windows_core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SignerTimeStampEx(dwflags, psubjectinfo, pwszhttptimestamp.param().abi(), psrequest, psipdata, &mut result__).map(|| result__) } #[inline] @@ -2806,7 +2806,7 @@ where P0: windows_core::Param, { windows_targets::link!("mssign32.dll" "system" fn SignerTimeStampEx2(dwflags : SIGNER_TIMESTAMP_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : windows_core::PCWSTR, dwalgid : ALG_ID, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SignerTimeStampEx2(dwflags, psubjectinfo, pwszhttptimestamp.param().abi(), dwalgid, psrequest, psipdata, &mut result__).map(|| result__) } #[inline] @@ -2839,7 +2839,7 @@ where P0: windows_core::Param, { windows_targets::link!("infocardapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VerifyHash(hcrypto, phash.len().try_into().unwrap(), core::mem::transmute(phash.as_ptr()), hashalgoid.param().abi(), psig.len().try_into().unwrap(), core::mem::transmute(psig.as_ptr()), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2848,7 +2848,7 @@ windows_core::imp::define_interface!(ICertSrvSetup, ICertSrvSetup_Vtbl, 0xb760a1 impl std::ops::Deref for ICertSrvSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2856,11 +2856,11 @@ windows_core::imp::interface_hierarchy!(ICertSrvSetup, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl ICertSrvSetup { pub unsafe fn CAErrorId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAErrorId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CAErrorString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAErrorString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializeDefaults(&self, bserver: P0, bclient: P1) -> windows_core::Result<()> @@ -2871,48 +2871,48 @@ impl ICertSrvSetup { (windows_core::Interface::vtable(self).InitializeDefaults)(windows_core::Interface::as_raw(self), bserver.param().abi(), bclient.param().abi()).ok() } pub unsafe fn GetCASetupProperty(&self, propertyid: CASetupProperty) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCASetupProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCASetupProperty(&self, propertyid: CASetupProperty, ppropertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPropertyEditable)(windows_core::Interface::as_raw(self), propertyid, &mut result__).map(|| result__) } pub unsafe fn GetSupportedCATypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedCATypes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProviderNameList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderNameList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetKeyLengthList(&self, bstrprovidername: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyLengthList)(windows_core::Interface::as_raw(self), bstrprovidername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHashAlgorithmList(&self, bstrprovidername: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHashAlgorithmList)(windows_core::Interface::as_raw(self), bstrprovidername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPrivateKeyContainerList(&self, bstrprovidername: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrivateKeyContainerList)(windows_core::Interface::as_raw(self), bstrprovidername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExistingCACertificates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExistingCACertificates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2922,7 +2922,7 @@ impl ICertSrvSetup { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CAImportPFX)(windows_core::Interface::as_raw(self), bstrfilename.param().abi(), bstrpasswd.param().abi(), boverwriteexistingkey.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCADistinguishedName(&self, bstrcadn: P0, bignoreunicode: P1, boverwriteexistingkey: P2, boverwriteexistingcainds: P3) -> windows_core::Result<()> @@ -2973,28 +2973,28 @@ impl ICertSrvSetup { pub struct ICertSrvSetup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub CAErrorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CAErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CAErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InitializeDefaults: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetCASetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CASetupProperty, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCASetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CASetupProperty, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCASetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CASetupProperty, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCASetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CASetupProperty, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsPropertyEditable: unsafe extern "system" fn(*mut core::ffi::c_void, CASetupProperty, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetSupportedCATypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetProviderNameList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetKeyLengthList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetHashAlgorithmList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPrivateKeyContainerList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSupportedCATypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProviderNameList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetKeyLengthList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetHashAlgorithmList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPrivateKeyContainerList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetExistingCACertificates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetExistingCACertificates: usize, #[cfg(feature = "Win32_System_Com")] - pub CAImportPFX: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CAImportPFX: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CAImportPFX: usize, - pub SetCADistinguishedName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetDatabaseInformation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetParentCAInformation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetWebCAInformation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCADistinguishedName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetDatabaseInformation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetParentCAInformation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWebCAInformation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Install: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PreUnInstall: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub PostUnInstall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3005,7 +3005,7 @@ windows_core::imp::define_interface!(ICertSrvSetupKeyInformation, ICertSrvSetupK impl std::ops::Deref for ICertSrvSetupKeyInformation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3013,7 +3013,7 @@ windows_core::imp::interface_hierarchy!(ICertSrvSetupKeyInformation, windows_cor #[cfg(feature = "Win32_System_Com")] impl ICertSrvSetupKeyInformation { pub unsafe fn ProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProviderName(&self, bstrval: P0) -> windows_core::Result<()> @@ -3023,14 +3023,14 @@ impl ICertSrvSetupKeyInformation { (windows_core::Interface::vtable(self).SetProviderName)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Existing)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExisting(&self, bval: P0) -> windows_core::Result<()> @@ -3040,7 +3040,7 @@ impl ICertSrvSetupKeyInformation { (windows_core::Interface::vtable(self).SetExisting)(windows_core::Interface::as_raw(self), bval.param().abi()).ok() } pub unsafe fn ContainerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContainerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContainerName(&self, bstrval: P0) -> windows_core::Result<()> @@ -3050,7 +3050,7 @@ impl ICertSrvSetupKeyInformation { (windows_core::Interface::vtable(self).SetContainerName)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn HashAlgorithm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHashAlgorithm(&self, bstrval: P0) -> windows_core::Result<()> @@ -3060,7 +3060,7 @@ impl ICertSrvSetupKeyInformation { (windows_core::Interface::vtable(self).SetHashAlgorithm)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn ExistingCACertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExistingCACertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExistingCACertificate(&self, varval: P0) -> windows_core::Result<()> @@ -3074,18 +3074,18 @@ impl ICertSrvSetupKeyInformation { #[repr(C)] pub struct ICertSrvSetupKeyInformation_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLength: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Existing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetExisting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExistingCACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExistingCACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContainerName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExistingCACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExistingCACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertSrvSetupKeyInformationCollection, ICertSrvSetupKeyInformationCollection_Vtbl, 0xe65c8b00_e58f_41f9_a9ec_a28d7427c844); @@ -3093,7 +3093,7 @@ windows_core::imp::define_interface!(ICertSrvSetupKeyInformationCollection, ICer impl std::ops::Deref for ICertSrvSetupKeyInformationCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3101,15 +3101,15 @@ windows_core::imp::interface_hierarchy!(ICertSrvSetupKeyInformationCollection, w #[cfg(feature = "Win32_System_Com")] impl ICertSrvSetupKeyInformationCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3125,7 +3125,7 @@ impl ICertSrvSetupKeyInformationCollection { pub struct ICertSrvSetupKeyInformationCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3138,7 +3138,7 @@ windows_core::imp::define_interface!(ICertificateEnrollmentPolicyServerSetup, IC impl std::ops::Deref for ICertificateEnrollmentPolicyServerSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3146,14 +3146,14 @@ windows_core::imp::interface_hierarchy!(ICertificateEnrollmentPolicyServerSetup, #[cfg(feature = "Win32_System_Com")] impl ICertificateEnrollmentPolicyServerSetup { pub unsafe fn ErrorString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ErrorString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializeInstallDefaults(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).InitializeInstallDefaults)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetProperty(&self, propertyid: CEPSetupProperty) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, propertyid: CEPSetupProperty, ppropertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -3170,12 +3170,12 @@ impl ICertificateEnrollmentPolicyServerSetup { #[repr(C)] pub struct ICertificateEnrollmentPolicyServerSetup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InitializeInstallDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CEPSetupProperty, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CEPSetupProperty, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CEPSetupProperty, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CEPSetupProperty, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Install: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub UnInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificateEnrollmentServerSetup, ICertificateEnrollmentServerSetup_Vtbl, 0x70027fdb_9dd9_4921_8944_b35cb31bd2ec); @@ -3183,7 +3183,7 @@ windows_core::imp::define_interface!(ICertificateEnrollmentServerSetup, ICertifi impl std::ops::Deref for ICertificateEnrollmentServerSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3191,14 +3191,14 @@ windows_core::imp::interface_hierarchy!(ICertificateEnrollmentServerSetup, windo #[cfg(feature = "Win32_System_Com")] impl ICertificateEnrollmentServerSetup { pub unsafe fn ErrorString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ErrorString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializeInstallDefaults(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).InitializeInstallDefaults)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetProperty(&self, propertyid: CESSetupProperty) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, propertyid: CESSetupProperty, ppropertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -3222,13 +3222,13 @@ impl ICertificateEnrollmentServerSetup { #[repr(C)] pub struct ICertificateEnrollmentServerSetup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InitializeInstallDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CESSetupProperty, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CESSetupProperty, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetApplicationPoolCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CESSetupProperty, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, CESSetupProperty, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetApplicationPoolCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Install: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub UnInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSCEPSetup, IMSCEPSetup_Vtbl, 0x4f7761bb_9f3b_4592_9ee0_9a73259c313e); @@ -3236,7 +3236,7 @@ windows_core::imp::define_interface!(IMSCEPSetup, IMSCEPSetup_Vtbl, 0x4f7761bb_9 impl std::ops::Deref for IMSCEPSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3244,18 +3244,18 @@ windows_core::imp::interface_hierarchy!(IMSCEPSetup, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IMSCEPSetup { pub unsafe fn MSCEPErrorId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MSCEPErrorId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MSCEPErrorString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MSCEPErrorString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializeDefaults(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).InitializeDefaults)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetMSCEPSetupProperty(&self, propertyid: MSCEPSetupProperty) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMSCEPSetupProperty)(windows_core::Interface::as_raw(self), propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMSCEPSetupProperty(&self, propertyid: MSCEPSetupProperty, ppropertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -3269,14 +3269,14 @@ impl IMSCEPSetup { (windows_core::Interface::vtable(self).SetAccountInformation)(windows_core::Interface::as_raw(self), bstrusername.param().abi(), bstrpassword.param().abi()).ok() } pub unsafe fn IsMSCEPStoreEmpty(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMSCEPStoreEmpty)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProviderNameList(&self, bexchange: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderNameList)(windows_core::Interface::as_raw(self), bexchange.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetKeyLengthList(&self, bexchange: P0, bstrprovidername: P1) -> windows_core::Result @@ -3284,7 +3284,7 @@ impl IMSCEPSetup { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyLengthList)(windows_core::Interface::as_raw(self), bexchange.param().abi(), bstrprovidername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Install(&self) -> windows_core::Result<()> { @@ -3302,14 +3302,14 @@ impl IMSCEPSetup { pub struct IMSCEPSetup_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub MSCEPErrorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub MSCEPErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MSCEPErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InitializeDefaults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetMSCEPSetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, MSCEPSetupProperty, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMSCEPSetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, MSCEPSetupProperty, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAccountInformation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMSCEPSetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, MSCEPSetupProperty, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMSCEPSetupProperty: unsafe extern "system" fn(*mut core::ffi::c_void, MSCEPSetupProperty, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAccountInformation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsMSCEPStoreEmpty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetProviderNameList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetKeyLengthList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProviderNameList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetKeyLengthList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Install: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PreUnInstall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PostUnInstall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, 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 0241a4c548..be4282176c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs @@ -17,7 +17,7 @@ where #[inline] pub unsafe fn DdqCreateSession(accesslevel: DdqAccessLevel) -> windows_core::Result { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCreateSession(accesslevel : DdqAccessLevel, hsession : *mut super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqCreateSession(accesslevel, &mut result__).map(|| result__) } #[inline] @@ -73,7 +73,7 @@ where #[inline] pub unsafe fn DdqGetDiagnosticDataAccessLevelAllowed() -> windows_core::Result { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticDataAccessLevelAllowed(accesslevel : *mut DdqAccessLevel) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticDataAccessLevelAllowed(&mut result__).map(|| result__) } #[inline] @@ -98,7 +98,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, index : u32, categorydescription : *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription.param().abi(), index, &mut result__).map(|| result__) } #[inline] @@ -107,7 +107,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCategoryCount(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, categorydescriptioncount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordCategoryCount(hcategorydescription.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -116,7 +116,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCount(hrecord : super:: HDIAGNOSTIC_RECORD, recordcount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordCount(hrecord.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -125,7 +125,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, index : u32, tagdescription : *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription.param().abi(), index, &mut result__).map(|| result__) } #[inline] @@ -134,7 +134,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTagCount(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, tagdescriptioncount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordLocaleTagCount(htagdescription.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -144,7 +144,7 @@ where P1: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordLocaleTags(hsession.param().abi(), locale.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -153,7 +153,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordPage(hsession.param().abi(), searchcriteria, offset, pagerecordcount, baserowid, &mut result__).map(|| result__) } #[inline] @@ -162,7 +162,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordPayload(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, rowid : i64, payload : *mut windows_core::PCWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordPayload(hsession.param().abi(), rowid, &mut result__).map(|| result__) } #[inline] @@ -171,7 +171,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, index : u32, producerdescription : *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription.param().abi(), index, &mut result__).map(|| result__) } #[inline] @@ -181,7 +181,7 @@ where P1: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordProducerCategories(hsession.param().abi(), producername.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -190,7 +190,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerCount(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, producerdescriptioncount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordProducerCount(hproducerdescription.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -199,7 +199,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducers(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, hproducerdescription : *mut super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticRecordProducers(hsession.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -232,7 +232,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReport(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, hreport : *mut super:: HDIAGNOSTIC_REPORT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticReport(hsession.param().abi(), reportstoretype, &mut result__).map(|| result__) } #[inline] @@ -249,7 +249,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReportCount(hreport : super:: HDIAGNOSTIC_REPORT, reportcount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticReportCount(hreport.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -258,7 +258,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReportStoreReportCount(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, reportcount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetDiagnosticReportStoreReportCount(hsession.param().abi(), reportstoretype, &mut result__).map(|| result__) } #[inline] @@ -267,7 +267,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetSessionAccessLevel(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, accesslevel : *mut DdqAccessLevel) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetSessionAccessLevel(hsession.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -276,7 +276,7 @@ where P0: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetTranscriptConfiguration(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, currentconfig : *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqGetTranscriptConfiguration(hsession.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -287,7 +287,7 @@ where P2: windows_core::Param, { windows_targets::link!("diagnosticdataquery.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DdqIsDiagnosticRecordSampledIn(hsession.param().abi(), providergroup, core::mem::transmute(providerid.unwrap_or(std::ptr::null())), providername.param().abi(), core::mem::transmute(eventid.unwrap_or(std::ptr::null())), eventname.param().abi(), core::mem::transmute(eventversion.unwrap_or(std::ptr::null())), core::mem::transmute(eventkeywords.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs index fbdbbd921d..adf9ca8c6c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs @@ -5,7 +5,7 @@ pub trait IProtectionPolicyManagerInterop_Impl: Sized { impl windows_core::RuntimeName for IProtectionPolicyManagerInterop {} impl IProtectionPolicyManagerInterop_Vtbl { pub const fn new, Impl: IProtectionPolicyManagerInterop_Impl, const OFFSET: isize>() -> IProtectionPolicyManagerInterop_Vtbl { - unsafe extern "system" fn RequestAccessForWindowAsync, Impl: IProtectionPolicyManagerInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: std::mem::MaybeUninit, targetidentity: std::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessForWindowAsync, Impl: IProtectionPolicyManagerInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: core::mem::MaybeUninit, targetidentity: core::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop_Impl::RequestAccessForWindowAsync(this, core::mem::transmute_copy(&appwindow), core::mem::transmute(&sourceidentity), core::mem::transmute(&targetidentity), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() @@ -35,27 +35,27 @@ pub trait IProtectionPolicyManagerInterop2_Impl: Sized { impl windows_core::RuntimeName for IProtectionPolicyManagerInterop2 {} impl IProtectionPolicyManagerInterop2_Vtbl { pub const fn new, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>() -> IProtectionPolicyManagerInterop2_Vtbl { - unsafe extern "system" fn RequestAccessForAppWithWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: std::mem::MaybeUninit, apppackagefamilyname: std::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessForAppWithWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: core::mem::MaybeUninit, apppackagefamilyname: core::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop2_Impl::RequestAccessForAppWithWindowAsync(this, core::mem::transmute_copy(&appwindow), core::mem::transmute(&sourceidentity), core::mem::transmute(&apppackagefamilyname), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() } - unsafe extern "system" fn RequestAccessWithAuditingInfoForWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: std::mem::MaybeUninit, targetidentity: std::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessWithAuditingInfoForWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: core::mem::MaybeUninit, targetidentity: core::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop2_Impl::RequestAccessWithAuditingInfoForWindowAsync(this, core::mem::transmute_copy(&appwindow), core::mem::transmute(&sourceidentity), core::mem::transmute(&targetidentity), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() } - unsafe extern "system" fn RequestAccessWithMessageForWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: std::mem::MaybeUninit, targetidentity: std::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: std::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessWithMessageForWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: core::mem::MaybeUninit, targetidentity: core::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: core::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop2_Impl::RequestAccessWithMessageForWindowAsync(this, core::mem::transmute_copy(&appwindow), core::mem::transmute(&sourceidentity), core::mem::transmute(&targetidentity), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute(&messagefromapp), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() } - unsafe extern "system" fn RequestAccessForAppWithAuditingInfoForWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: std::mem::MaybeUninit, apppackagefamilyname: std::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessForAppWithAuditingInfoForWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: core::mem::MaybeUninit, apppackagefamilyname: core::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop2_Impl::RequestAccessForAppWithAuditingInfoForWindowAsync(this, core::mem::transmute_copy(&appwindow), core::mem::transmute(&sourceidentity), core::mem::transmute(&apppackagefamilyname), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() } - unsafe extern "system" fn RequestAccessForAppWithMessageForWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: std::mem::MaybeUninit, apppackagefamilyname: std::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: std::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessForAppWithMessageForWindowAsync, Impl: IProtectionPolicyManagerInterop2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: core::mem::MaybeUninit, apppackagefamilyname: core::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: core::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop2_Impl::RequestAccessForAppWithMessageForWindowAsync(this, core::mem::transmute_copy(&appwindow), core::mem::transmute(&sourceidentity), core::mem::transmute(&apppackagefamilyname), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute(&messagefromapp), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() @@ -84,22 +84,22 @@ pub trait IProtectionPolicyManagerInterop3_Impl: Sized { impl windows_core::RuntimeName for IProtectionPolicyManagerInterop3 {} impl IProtectionPolicyManagerInterop3_Vtbl { pub const fn new, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>() -> IProtectionPolicyManagerInterop3_Vtbl { - unsafe extern "system" fn RequestAccessWithBehaviorForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: std::mem::MaybeUninit, targetidentity: std::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: std::mem::MaybeUninit, behavior: u32, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessWithBehaviorForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: core::mem::MaybeUninit, targetidentity: core::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: core::mem::MaybeUninit, behavior: u32, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop3_Impl::RequestAccessWithBehaviorForWindowAsync(this, core::mem::transmute_copy(&appwindow), core::mem::transmute(&sourceidentity), core::mem::transmute(&targetidentity), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute(&messagefromapp), core::mem::transmute_copy(&behavior), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() } - unsafe extern "system" fn RequestAccessForAppWithBehaviorForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: std::mem::MaybeUninit, apppackagefamilyname: std::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: std::mem::MaybeUninit, behavior: u32, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessForAppWithBehaviorForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceidentity: core::mem::MaybeUninit, apppackagefamilyname: core::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: core::mem::MaybeUninit, behavior: u32, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop3_Impl::RequestAccessForAppWithBehaviorForWindowAsync(this, core::mem::transmute_copy(&appwindow), core::mem::transmute(&sourceidentity), core::mem::transmute(&apppackagefamilyname), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute(&messagefromapp), core::mem::transmute_copy(&behavior), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() } - unsafe extern "system" fn RequestAccessToFilesForAppForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceitemlistunk: *mut core::ffi::c_void, apppackagefamilyname: std::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessToFilesForAppForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceitemlistunk: *mut core::ffi::c_void, apppackagefamilyname: core::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop3_Impl::RequestAccessToFilesForAppForWindowAsync(this, core::mem::transmute_copy(&appwindow), windows_core::from_raw_borrowed(&sourceitemlistunk), core::mem::transmute(&apppackagefamilyname), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() } - unsafe extern "system" fn RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceitemlistunk: *mut core::ffi::c_void, apppackagefamilyname: std::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: std::mem::MaybeUninit, behavior: u32, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceitemlistunk: *mut core::ffi::c_void, apppackagefamilyname: core::mem::MaybeUninit, auditinfounk: *mut core::ffi::c_void, messagefromapp: core::mem::MaybeUninit, behavior: u32, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop3_Impl::RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync(this, core::mem::transmute_copy(&appwindow), windows_core::from_raw_borrowed(&sourceitemlistunk), core::mem::transmute(&apppackagefamilyname), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute(&messagefromapp), core::mem::transmute_copy(&behavior), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() @@ -109,7 +109,7 @@ impl IProtectionPolicyManagerInterop3_Vtbl { let this = (*this).get_impl(); IProtectionPolicyManagerInterop3_Impl::RequestAccessToFilesForProcessForWindowAsync(this, core::mem::transmute_copy(&appwindow), windows_core::from_raw_borrowed(&sourceitemlistunk), core::mem::transmute_copy(&processid), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() } - unsafe extern "system" fn RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceitemlistunk: *mut core::ffi::c_void, processid: u32, auditinfounk: *mut core::ffi::c_void, messagefromapp: std::mem::MaybeUninit, behavior: u32, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync, Impl: IProtectionPolicyManagerInterop3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, sourceitemlistunk: *mut core::ffi::c_void, processid: u32, auditinfounk: *mut core::ffi::c_void, messagefromapp: core::mem::MaybeUninit, behavior: u32, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProtectionPolicyManagerInterop3_Impl::RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync(this, core::mem::transmute_copy(&appwindow), windows_core::from_raw_borrowed(&sourceitemlistunk), core::mem::transmute_copy(&processid), windows_core::from_raw_borrowed(&auditinfounk), core::mem::transmute(&messagefromapp), core::mem::transmute_copy(&behavior), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() 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 d6ca450d79..251d802f43 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -18,7 +18,7 @@ where P0: windows_core::Param, { windows_targets::link!("srpapi.dll" "system" fn SrpCreateThreadNetworkContext(enterpriseid : windows_core::PCWSTR, threadnetworkcontext : *mut HTHREAD_NETWORK_CONTEXT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SrpCreateThreadNetworkContext(enterpriseid.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -30,7 +30,7 @@ pub unsafe fn SrpDisablePermissiveModeFileEncryption() -> windows_core::Result<( #[inline] pub unsafe fn SrpDoesPolicyAllowAppExecution(packageid: *const super::super::Storage::Packaging::Appx::PACKAGE_ID) -> windows_core::Result { windows_targets::link!("srpapi.dll" "system" fn SrpDoesPolicyAllowAppExecution(packageid : *const super::super::Storage::Packaging::Appx:: PACKAGE_ID, isallowed : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SrpDoesPolicyAllowAppExecution(packageid, &mut result__).map(|| result__) } #[inline] @@ -55,7 +55,7 @@ where P0: windows_core::Param, { windows_targets::link!("srpapi.dll" "system" fn SrpGetEnterprisePolicy(tokenhandle : super::super::Foundation:: HANDLE, policyflags : *mut ENTERPRISE_DATA_POLICIES) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SrpGetEnterprisePolicy(tokenhandle.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -97,7 +97,7 @@ windows_core::imp::define_interface!(IProtectionPolicyManagerInterop, IProtectio impl std::ops::Deref for IProtectionPolicyManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -122,14 +122,14 @@ impl IProtectionPolicyManagerInterop { #[repr(C)] pub struct IProtectionPolicyManagerInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestAccessForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectionPolicyManagerInterop2, IProtectionPolicyManagerInterop2_Vtbl, 0x157cfbe4_a78d_4156_b384_61fdac41e686); impl std::ops::Deref for IProtectionPolicyManagerInterop2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop2, windows_core::IUnknown, windows_core::IInspectable); @@ -182,17 +182,17 @@ impl IProtectionPolicyManagerInterop2 { #[repr(C)] pub struct IProtectionPolicyManagerInterop2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestAccessForAppWithWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessWithAuditingInfoForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessWithMessageForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessForAppWithAuditingInfoForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessForAppWithMessageForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessForAppWithWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessWithAuditingInfoForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessWithMessageForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessForAppWithAuditingInfoForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessForAppWithMessageForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectionPolicyManagerInterop3, IProtectionPolicyManagerInterop3_Vtbl, 0xc1c03933_b398_4d93_b0fd_2972adf802c2); impl std::ops::Deref for IProtectionPolicyManagerInterop3 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop3, windows_core::IUnknown, windows_core::IInspectable); @@ -259,12 +259,12 @@ impl IProtectionPolicyManagerInterop3 { #[repr(C)] pub struct IProtectionPolicyManagerInterop3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestAccessWithBehaviorForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessForAppWithBehaviorForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessToFilesForAppForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessWithBehaviorForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessForAppWithBehaviorForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessToFilesForAppForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestAccessToFilesForProcessForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } pub const ENTERPRISE_POLICY_ALLOWED: ENTERPRISE_DATA_POLICIES = ENTERPRISE_DATA_POLICIES(1i32); pub const ENTERPRISE_POLICY_ENLIGHTENED: ENTERPRISE_DATA_POLICIES = ENTERPRISE_DATA_POLICIES(2i32); 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 3374a8a34b..59e352340d 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -198,7 +198,7 @@ windows_core::imp::define_interface!(IAccountingProviderConfig, IAccountingProvi impl std::ops::Deref for IAccountingProviderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccountingProviderConfig, windows_core::IUnknown); @@ -207,7 +207,7 @@ impl IAccountingProviderConfig { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pszmachinename.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Uninitialize(&self, uconnectionparam: usize) -> windows_core::Result<()> { @@ -239,7 +239,7 @@ windows_core::imp::define_interface!(IAuthenticationProviderConfig, IAuthenticat impl std::ops::Deref for IAuthenticationProviderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAuthenticationProviderConfig, windows_core::IUnknown); @@ -248,7 +248,7 @@ impl IAuthenticationProviderConfig { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pszmachinename.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Uninitialize(&self, uconnectionparam: usize) -> windows_core::Result<()> { @@ -280,7 +280,7 @@ windows_core::imp::define_interface!(IEAPProviderConfig, IEAPProviderConfig_Vtbl impl std::ops::Deref for IEAPProviderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEAPProviderConfig, windows_core::IUnknown); @@ -289,7 +289,7 @@ impl IEAPProviderConfig { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pszmachinename.param().abi(), dweaptypeid, &mut result__).map(|| result__) } pub unsafe fn Uninitialize(&self, dweaptypeid: u32, uconnectionparam: usize) -> windows_core::Result<()> { @@ -327,7 +327,7 @@ windows_core::imp::define_interface!(IEAPProviderConfig2, IEAPProviderConfig2_Vt impl std::ops::Deref for IEAPProviderConfig2 { type Target = IEAPProviderConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEAPProviderConfig2, windows_core::IUnknown, IEAPProviderConfig); @@ -352,7 +352,7 @@ windows_core::imp::define_interface!(IEAPProviderConfig3, IEAPProviderConfig3_Vt impl std::ops::Deref for IEAPProviderConfig3 { type Target = IEAPProviderConfig2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEAPProviderConfig3, windows_core::IUnknown, IEAPProviderConfig, IEAPProviderConfig2); @@ -373,7 +373,7 @@ windows_core::imp::define_interface!(IRouterProtocolConfig, IRouterProtocolConfi impl std::ops::Deref for IRouterProtocolConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRouterProtocolConfig, windows_core::IUnknown); 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 7db5855f95..7b747278b4 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs @@ -6,7 +6,7 @@ where P2: windows_core::Param, { windows_targets::link!("userenv.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateAppContainerProfile(pszappcontainername.param().abi(), pszdisplayname.param().abi(), pszdescription.param().abi(), core::mem::transmute(pcapabilities.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pcapabilities.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).map(|| result__) } #[inline] @@ -23,7 +23,7 @@ where P0: windows_core::Param, { windows_targets::link!("userenv.dll" "system" fn DeriveAppContainerSidFromAppContainerName(pszappcontainername : windows_core::PCWSTR, ppsidappcontainersid : *mut super::super::Foundation:: PSID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DeriveAppContainerSidFromAppContainerName(pszappcontainername.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -33,7 +33,7 @@ where P1: windows_core::Param, { windows_targets::link!("userenv.dll" "system" fn DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid : super::super::Foundation:: PSID, pszrestrictedappcontainername : windows_core::PCWSTR, ppsidrestrictedappcontainersid : *mut super::super::Foundation:: PSID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid.param().abi(), pszrestrictedappcontainername.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -42,7 +42,7 @@ where P0: windows_core::Param, { windows_targets::link!("userenv.dll" "system" fn GetAppContainerFolderPath(pszappcontainersid : windows_core::PCWSTR, ppszpath : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetAppContainerFolderPath(pszappcontainersid.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -58,38 +58,38 @@ where #[inline] pub unsafe fn GetAppContainerRegistryLocation(desiredaccess: u32) -> windows_core::Result { windows_targets::link!("userenv.dll" "system" fn GetAppContainerRegistryLocation(desiredaccess : u32, phappcontainerkey : *mut super::super::System::Registry:: HKEY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetAppContainerRegistryLocation(desiredaccess, &mut result__).map(|| result__) } #[inline] pub unsafe fn IsCrossIsolatedEnvironmentClipboardContent() -> windows_core::Result { windows_targets::link!("isolatedwindowsenvironmentutils.dll" "system" fn IsCrossIsolatedEnvironmentClipboardContent(iscrossisolatedenvironmentclipboardcontent : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IsCrossIsolatedEnvironmentClipboardContent(&mut result__).map(|| result__) } #[inline] pub unsafe fn IsProcessInIsolatedContainer() -> windows_core::Result { windows_targets::link!("api-ms-win-security-isolatedcontainer-l1-1-0.dll" "system" fn IsProcessInIsolatedContainer(isprocessinisolatedcontainer : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IsProcessInIsolatedContainer(&mut result__).map(|| result__) } #[inline] pub unsafe fn IsProcessInIsolatedWindowsEnvironment() -> windows_core::Result { windows_targets::link!("isolatedwindowsenvironmentutils.dll" "system" fn IsProcessInIsolatedWindowsEnvironment(isprocessinisolatedwindowsenvironment : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IsProcessInIsolatedWindowsEnvironment(&mut result__).map(|| result__) } #[inline] pub unsafe fn IsProcessInWDAGContainer(reserved: *const core::ffi::c_void) -> windows_core::Result { windows_targets::link!("api-ms-win-security-isolatedcontainer-l1-1-1.dll" "system" fn IsProcessInWDAGContainer(reserved : *const core::ffi::c_void, isprocessinwdagcontainer : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IsProcessInWDAGContainer(reserved, &mut result__).map(|| result__) } windows_core::imp::define_interface!(IIsolatedAppLauncher, IIsolatedAppLauncher_Vtbl, 0xf686878f_7b42_4cc4_96fb_f4f3b6e3d24d); impl std::ops::Deref for IIsolatedAppLauncher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsolatedAppLauncher, windows_core::IUnknown); @@ -111,7 +111,7 @@ windows_core::imp::define_interface!(IIsolatedProcessLauncher, IIsolatedProcessL impl std::ops::Deref for IIsolatedProcessLauncher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsolatedProcessLauncher, windows_core::IUnknown); @@ -133,14 +133,14 @@ impl IIsolatedProcessLauncher { (windows_core::Interface::vtable(self).ShareDirectory)(windows_core::Interface::as_raw(self), hostpath.param().abi(), containerpath.param().abi(), readonly.param().abi()).ok() } pub unsafe fn GetContainerGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainerGuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AllowSetForegroundAccess(&self, pid: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).AllowSetForegroundAccess)(windows_core::Interface::as_raw(self), pid).ok() } pub unsafe fn IsContainerRunning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsContainerRunning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -157,7 +157,7 @@ windows_core::imp::define_interface!(IIsolatedProcessLauncher2, IIsolatedProcess impl std::ops::Deref for IIsolatedProcessLauncher2 { type Target = IIsolatedProcessLauncher; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsolatedProcessLauncher2, windows_core::IUnknown, IIsolatedProcessLauncher); 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 5c9535eb94..65b8d8b503 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/LicenseProtection/mod.rs @@ -4,7 +4,7 @@ where P0: windows_core::Param, { windows_targets::link!("licenseprotection.dll" "system" fn RegisterLicenseKeyWithExpiration(licensekey : windows_core::PCWSTR, validityindays : u32, status : *mut LicenseProtectionStatus) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RegisterLicenseKeyWithExpiration(licensekey.param().abi(), validityindays, &mut result__).map(|| result__) } #[inline] 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 4dab166064..dd064e38c6 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ITpmVirtualSmartCardManager, ITpmVirtualSma impl std::ops::Deref for ITpmVirtualSmartCardManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManager, windows_core::IUnknown); @@ -20,7 +20,7 @@ impl ITpmVirtualSmartCardManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestroyVirtualSmartCard)(windows_core::Interface::as_raw(self), pszinstanceid.param().abi(), pstatuscallback.param().abi(), &mut result__).map(|| result__) } } @@ -34,7 +34,7 @@ windows_core::imp::define_interface!(ITpmVirtualSmartCardManager2, ITpmVirtualSm impl std::ops::Deref for ITpmVirtualSmartCardManager2 { type Target = ITpmVirtualSmartCardManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManager2, windows_core::IUnknown, ITpmVirtualSmartCardManager); @@ -76,7 +76,7 @@ windows_core::imp::define_interface!(ITpmVirtualSmartCardManager3, ITpmVirtualSm impl std::ops::Deref for ITpmVirtualSmartCardManager3 { type Target = ITpmVirtualSmartCardManager2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManager3, windows_core::IUnknown, ITpmVirtualSmartCardManager, ITpmVirtualSmartCardManager2); @@ -87,7 +87,7 @@ impl ITpmVirtualSmartCardManager3 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVirtualSmartCardWithAttestation)( windows_core::Interface::as_raw(self), pszfriendlyname.param().abi(), @@ -119,7 +119,7 @@ windows_core::imp::define_interface!(ITpmVirtualSmartCardManagerStatusCallback, impl std::ops::Deref for ITpmVirtualSmartCardManagerStatusCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManagerStatusCallback, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/Security/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/mod.rs index 96ba6a4263..9f01e27b1c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/mod.rs @@ -1004,7 +1004,7 @@ where #[inline] pub unsafe fn QuerySecurityAccessMask(securityinformation: OBJECT_SECURITY_INFORMATION) -> u32 { windows_targets::link!("advapi32.dll" "system" fn QuerySecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); QuerySecurityAccessMask(securityinformation, &mut result__); result__ } @@ -1091,7 +1091,7 @@ where #[inline] pub unsafe fn SetSecurityAccessMask(securityinformation: OBJECT_SECURITY_INFORMATION) -> u32 { windows_targets::link!("advapi32.dll" "system" fn SetSecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SetSecurityAccessMask(securityinformation, &mut result__); result__ } 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 4715279fae..fc695a3f7b 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs @@ -13,7 +13,7 @@ where P0: windows_core::Param, { windows_targets::link!("cldapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CfConnectSyncRoot(syncrootpath.param().abi(), callbacktable, core::mem::transmute(callbackcontext.unwrap_or(std::ptr::null())), connectflags, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_IO")] @@ -110,7 +110,7 @@ pub unsafe fn CfGetPlaceholderStateFromFindData(finddata: *const super::FileSyst #[inline] pub unsafe fn CfGetPlatformInfo() -> windows_core::Result { windows_targets::link!("cldapi.dll" "system" fn CfGetPlatformInfo(platformversion : *mut CF_PLATFORM_INFO) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CfGetPlatformInfo(&mut result__).map(|| result__) } #[inline] @@ -135,7 +135,7 @@ where P0: windows_core::Param, { windows_targets::link!("cldapi.dll" "system" fn CfGetTransferKey(filehandle : super::super::Foundation:: HANDLE, transferkey : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CfGetTransferKey(filehandle.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -161,7 +161,7 @@ where P0: windows_core::Param, { windows_targets::link!("cldapi.dll" "system" fn CfOpenFileWithOplock(filepath : windows_core::PCWSTR, flags : CF_OPEN_FILE_FLAGS, protectedhandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CfOpenFileWithOplock(filepath.param().abi(), flags, &mut result__).map(|| result__) } #[inline] @@ -170,7 +170,7 @@ where P0: windows_core::Param, { windows_targets::link!("cldapi.dll" "system" fn CfQuerySyncProviderStatus(connectionkey : CF_CONNECTION_KEY, providerstatus : *mut CF_SYNC_PROVIDER_STATUS) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CfQuerySyncProviderStatus(connectionkey.param().abi(), &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs index f0476e5b38..bdd11b5529 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs @@ -4,7 +4,7 @@ pub trait IDedupBackupSupport_Impl: Sized { impl windows_core::RuntimeName for IDedupBackupSupport {} impl IDedupBackupSupport_Vtbl { pub const fn new, Impl: IDedupBackupSupport_Impl, const OFFSET: isize>() -> IDedupBackupSupport_Vtbl { - unsafe extern "system" fn RestoreFiles, Impl: IDedupBackupSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, numberoffiles: u32, filefullpaths: *const std::mem::MaybeUninit, store: *mut core::ffi::c_void, flags: u32, fileresults: *mut windows_core::HRESULT) -> windows_core::HRESULT { + unsafe extern "system" fn RestoreFiles, Impl: IDedupBackupSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, numberoffiles: u32, filefullpaths: *const core::mem::MaybeUninit, store: *mut core::ffi::c_void, flags: u32, fileresults: *mut windows_core::HRESULT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDedupBackupSupport_Impl::RestoreFiles(this, core::mem::transmute_copy(&numberoffiles), core::mem::transmute_copy(&filefullpaths), windows_core::from_raw_borrowed(&store), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&fileresults)).into() @@ -34,7 +34,7 @@ impl IDedupChunkLibrary_Vtbl { let this = (*this).get_impl(); IDedupChunkLibrary_Impl::Uninitialize(this).into() } - unsafe extern "system" fn SetParameter, Impl: IDedupChunkLibrary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwparamtype: u32, vparamvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetParameter, Impl: IDedupChunkLibrary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwparamtype: u32, vparamvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDedupChunkLibrary_Impl::SetParameter(this, core::mem::transmute_copy(&dwparamtype), core::mem::transmute(&vparamvalue)).into() @@ -142,7 +142,7 @@ impl IDedupDataPort_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStreams, Impl: IDedupDataPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, streamcount: u32, pstreampaths: *const std::mem::MaybeUninit, prequestid: *mut windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn GetStreams, Impl: IDedupDataPort_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, streamcount: u32, pstreampaths: *const core::mem::MaybeUninit, prequestid: *mut windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDedupDataPort_Impl::GetStreams(this, core::mem::transmute_copy(&streamcount), core::mem::transmute_copy(&pstreampaths)) { @@ -223,7 +223,7 @@ impl IDedupDataPortManager_Vtbl { let this = (*this).get_impl(); IDedupDataPortManager_Impl::GetConfiguration(this, core::mem::transmute_copy(&pminchunksize), core::mem::transmute_copy(&pmaxchunksize), core::mem::transmute_copy(&pchunkingalgorithm), core::mem::transmute_copy(&phashingalgorithm), core::mem::transmute_copy(&pcompressionalgorithm)).into() } - unsafe extern "system" fn GetVolumeStatus, Impl: IDedupDataPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: u32, path: std::mem::MaybeUninit, pstatus: *mut DedupDataPortVolumeStatus) -> windows_core::HRESULT { + unsafe extern "system" fn GetVolumeStatus, Impl: IDedupDataPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: u32, path: core::mem::MaybeUninit, pstatus: *mut DedupDataPortVolumeStatus) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDedupDataPortManager_Impl::GetVolumeStatus(this, core::mem::transmute_copy(&options), core::mem::transmute(&path)) { @@ -234,7 +234,7 @@ impl IDedupDataPortManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetVolumeDataPort, Impl: IDedupDataPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: u32, path: std::mem::MaybeUninit, ppdataport: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetVolumeDataPort, Impl: IDedupDataPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, options: u32, path: core::mem::MaybeUninit, ppdataport: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDedupDataPortManager_Impl::GetVolumeDataPort(this, core::mem::transmute_copy(&options), core::mem::transmute(&path)) { @@ -305,17 +305,17 @@ pub trait IDedupReadFileCallback_Impl: Sized { impl windows_core::RuntimeName for IDedupReadFileCallback {} impl IDedupReadFileCallback_Vtbl { pub const fn new, Impl: IDedupReadFileCallback_Impl, const OFFSET: isize>() -> IDedupReadFileCallback_Vtbl { - unsafe extern "system" fn ReadBackupFile, Impl: IDedupReadFileCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filefullpath: std::mem::MaybeUninit, fileoffset: i64, sizetoread: u32, filebuffer: *mut u8, returnedsize: *mut u32, flags: u32) -> windows_core::HRESULT { + unsafe extern "system" fn ReadBackupFile, Impl: IDedupReadFileCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filefullpath: core::mem::MaybeUninit, fileoffset: i64, sizetoread: u32, filebuffer: *mut u8, returnedsize: *mut u32, flags: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDedupReadFileCallback_Impl::ReadBackupFile(this, core::mem::transmute(&filefullpath), core::mem::transmute_copy(&fileoffset), core::mem::transmute_copy(&sizetoread), core::mem::transmute_copy(&filebuffer), core::mem::transmute_copy(&returnedsize), core::mem::transmute_copy(&flags)).into() } - unsafe extern "system" fn OrderContainersRestore, Impl: IDedupReadFileCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, numberofcontainers: u32, containerpaths: *const std::mem::MaybeUninit, readplanentries: *mut u32, readplan: *mut *mut DEDUP_CONTAINER_EXTENT) -> windows_core::HRESULT { + unsafe extern "system" fn OrderContainersRestore, Impl: IDedupReadFileCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, numberofcontainers: u32, containerpaths: *const core::mem::MaybeUninit, readplanentries: *mut u32, readplan: *mut *mut DEDUP_CONTAINER_EXTENT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDedupReadFileCallback_Impl::OrderContainersRestore(this, core::mem::transmute_copy(&numberofcontainers), core::mem::transmute_copy(&containerpaths), core::mem::transmute_copy(&readplanentries), core::mem::transmute_copy(&readplan)).into() } - unsafe extern "system" fn PreviewContainerRead, Impl: IDedupReadFileCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filefullpath: std::mem::MaybeUninit, numberofreads: u32, readoffsets: *const DDP_FILE_EXTENT) -> windows_core::HRESULT { + unsafe extern "system" fn PreviewContainerRead, Impl: IDedupReadFileCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filefullpath: core::mem::MaybeUninit, numberofreads: u32, readoffsets: *const DDP_FILE_EXTENT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDedupReadFileCallback_Impl::PreviewContainerRead(this, core::mem::transmute(&filefullpath), core::mem::transmute_copy(&numberofreads), core::mem::transmute_copy(&readoffsets)).into() 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 e5302c0e5c..f80cba72d4 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IDedupBackupSupport, IDedupBackupSupport_Vt impl std::ops::Deref for IDedupBackupSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDedupBackupSupport, windows_core::IUnknown); @@ -17,13 +17,13 @@ impl IDedupBackupSupport { #[repr(C)] pub struct IDedupBackupSupport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub RestoreFiles: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit, *mut core::ffi::c_void, u32, *mut windows_core::HRESULT) -> windows_core::HRESULT, + pub RestoreFiles: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *mut core::ffi::c_void, u32, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDedupChunkLibrary, IDedupChunkLibrary_Vtbl, 0xbb5144d7_2720_4dcc_8777_78597416ec23); impl std::ops::Deref for IDedupChunkLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDedupChunkLibrary, windows_core::IUnknown); @@ -41,7 +41,7 @@ impl IDedupChunkLibrary { (windows_core::Interface::vtable(self).SetParameter)(windows_core::Interface::as_raw(self), dwparamtype, vparamvalue.param().abi()).ok() } pub unsafe fn StartChunking(&self, iiditeratorinterfaceid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartChunking)(windows_core::Interface::as_raw(self), core::mem::transmute(iiditeratorinterfaceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -50,14 +50,14 @@ pub struct IDedupChunkLibrary_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InitializeForPushBuffers: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Uninitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartChunking: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDedupDataPort, IDedupDataPort_Vtbl, 0x7963d734_40a9_4ea3_bbf6_5a89d26f7ae8); impl std::ops::Deref for IDedupDataPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDedupDataPort, windows_core::IUnknown); @@ -66,11 +66,11 @@ impl IDedupDataPort { (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), pstatus, pdataheadroommb).ok() } pub unsafe fn LookupChunks(&self, phashes: &[DedupHash]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LookupChunks)(windows_core::Interface::as_raw(self), phashes.len().try_into().unwrap(), core::mem::transmute(phashes.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn InsertChunks(&self, pchunkmetadata: &[DedupChunk], pchunkdata: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InsertChunks)(windows_core::Interface::as_raw(self), pchunkmetadata.len().try_into().unwrap(), core::mem::transmute(pchunkmetadata.as_ptr()), pchunkdata.len().try_into().unwrap(), core::mem::transmute(pchunkdata.as_ptr()), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -78,11 +78,11 @@ impl IDedupDataPort { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InsertChunksWithStream)(windows_core::Interface::as_raw(self), pchunkmetadata.len().try_into().unwrap(), core::mem::transmute(pchunkmetadata.as_ptr()), databytecount, pchunkdatastream.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CommitStreams(&self, pstreams: &[DedupStream], pentries: &[DedupStreamEntry]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitStreams)(windows_core::Interface::as_raw(self), pstreams.len().try_into().unwrap(), core::mem::transmute(pstreams.as_ptr()), pentries.len().try_into().unwrap(), core::mem::transmute(pentries.as_ptr()), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -90,25 +90,25 @@ impl IDedupDataPort { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitStreamsWithStream)(windows_core::Interface::as_raw(self), pstreams.len().try_into().unwrap(), core::mem::transmute(pstreams.as_ptr()), entrycount, pentriesstream.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetStreams(&self, pstreampaths: &[windows_core::BSTR]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStreams)(windows_core::Interface::as_raw(self), pstreampaths.len().try_into().unwrap(), core::mem::transmute(pstreampaths.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn GetStreamsResults(&self, requestid: windows_core::GUID, maxwaitms: u32, streamentryindex: u32, pstreamcount: *mut u32, ppstreams: *mut *mut DedupStream, pentrycount: *mut u32, ppentries: *mut *mut DedupStreamEntry, pstatus: *mut DedupDataPortRequestStatus, ppitemresults: *mut *mut windows_core::HRESULT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStreamsResults)(windows_core::Interface::as_raw(self), core::mem::transmute(requestid), maxwaitms, streamentryindex, pstreamcount, ppstreams, pentrycount, ppentries, pstatus, ppitemresults).ok() } pub unsafe fn GetChunks(&self, phashes: &[DedupHash]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChunks)(windows_core::Interface::as_raw(self), phashes.len().try_into().unwrap(), core::mem::transmute(phashes.as_ptr()), &mut result__).map(|| 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, pchunkcount, ppchunkmetadata, pdatabytecount, ppchunkdata, pstatus, ppitemresults).ok() } pub unsafe fn GetRequestStatus(&self, requestid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestStatus)(windows_core::Interface::as_raw(self), core::mem::transmute(requestid), &mut result__).map(|| 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<()> { @@ -130,7 +130,7 @@ pub struct IDedupDataPort_Vtbl { pub CommitStreamsWithStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const DedupStream, u32, *mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CommitStreamsWithStream: usize, - pub GetStreams: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, + pub GetStreams: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetStreamsResults: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, u32, *mut u32, *mut *mut DedupStream, *mut u32, *mut *mut DedupStreamEntry, *mut DedupDataPortRequestStatus, *mut *mut windows_core::HRESULT) -> windows_core::HRESULT, pub GetChunks: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const DedupHash, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetChunksResults: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, u32, *mut u32, *mut *mut DedupChunk, *mut u32, *mut *mut u8, *mut DedupDataPortRequestStatus, *mut *mut windows_core::HRESULT) -> windows_core::HRESULT, @@ -141,7 +141,7 @@ windows_core::imp::define_interface!(IDedupDataPortManager, IDedupDataPortManage impl std::ops::Deref for IDedupDataPortManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDedupDataPortManager, windows_core::IUnknown); @@ -153,14 +153,14 @@ impl IDedupDataPortManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVolumeStatus)(windows_core::Interface::as_raw(self), options, path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetVolumeDataPort(&self, options: u32, path: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVolumeDataPort)(windows_core::Interface::as_raw(self), options, path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -168,14 +168,14 @@ impl IDedupDataPortManager { pub struct IDedupDataPortManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut DedupChunkingAlgorithm, *mut DedupHashingAlgorithm, *mut DedupCompressionAlgorithm) -> windows_core::HRESULT, - pub GetVolumeStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, *mut DedupDataPortVolumeStatus) -> windows_core::HRESULT, - pub GetVolumeDataPort: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetVolumeStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, *mut DedupDataPortVolumeStatus) -> windows_core::HRESULT, + pub GetVolumeDataPort: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDedupIterateChunksHash32, IDedupIterateChunksHash32_Vtbl, 0x90b584d3_72aa_400f_9767_cad866a5a2d8); impl std::ops::Deref for IDedupIterateChunksHash32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDedupIterateChunksHash32, windows_core::IUnknown); @@ -205,7 +205,7 @@ windows_core::imp::define_interface!(IDedupReadFileCallback, IDedupReadFileCallb impl std::ops::Deref for IDedupReadFileCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDedupReadFileCallback, windows_core::IUnknown); @@ -229,9 +229,9 @@ impl IDedupReadFileCallback { #[repr(C)] pub struct IDedupReadFileCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ReadBackupFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i64, u32, *mut u8, *mut u32, u32) -> windows_core::HRESULT, - pub OrderContainersRestore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit, *mut u32, *mut *mut DEDUP_CONTAINER_EXTENT) -> windows_core::HRESULT, - pub PreviewContainerRead: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const DDP_FILE_EXTENT) -> windows_core::HRESULT, + pub ReadBackupFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i64, u32, *mut u8, *mut u32, u32) -> windows_core::HRESULT, + pub OrderContainersRestore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *mut u32, *mut *mut DEDUP_CONTAINER_EXTENT) -> windows_core::HRESULT, + pub PreviewContainerRead: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const DDP_FILE_EXTENT) -> windows_core::HRESULT, } pub const DEDUP_CHUNKLIB_MAX_CHUNKS_ENUM: u32 = 1024u32; pub const DEDUP_PT_AvgChunkSizeBytes: DEDUP_SET_PARAM_TYPE = DEDUP_SET_PARAM_TYPE(3i32); @@ -443,7 +443,7 @@ impl Default for DedupHash { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct DedupStream { - pub Path: std::mem::ManuallyDrop, + pub Path: core::mem::ManuallyDrop, pub Offset: u64, pub Length: u64, pub ChunkCount: u32, 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 2e7a8d9b97..640a587865 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IEnhancedStorageACT, IEnhancedStorageACT_Vt impl std::ops::Deref for IEnhancedStorageACT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnhancedStorageACT, windows_core::IUnknown); @@ -14,15 +14,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAuthorizationState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMatchingVolume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingVolume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUniqueIdentity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUniqueIdentity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSilos(&self, pppienhancedstoragesilos: *mut *mut Option, pcenhancedstoragesilos: *mut u32) -> windows_core::Result<()> { @@ -43,17 +43,17 @@ windows_core::imp::define_interface!(IEnhancedStorageACT2, IEnhancedStorageACT2_ impl std::ops::Deref for IEnhancedStorageACT2 { type Target = IEnhancedStorageACT; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnhancedStorageACT2, windows_core::IUnknown, IEnhancedStorageACT); impl IEnhancedStorageACT2 { pub unsafe fn GetDeviceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDeviceRemovable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDeviceRemovable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -67,7 +67,7 @@ windows_core::imp::define_interface!(IEnhancedStorageACT3, IEnhancedStorageACT3_ impl std::ops::Deref for IEnhancedStorageACT3 { type Target = IEnhancedStorageACT2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnhancedStorageACT3, windows_core::IUnknown, IEnhancedStorageACT, IEnhancedStorageACT2); @@ -76,11 +76,11 @@ impl IEnhancedStorageACT3 { (windows_core::Interface::vtable(self).UnauthorizeEx)(windows_core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn IsQueueFrozen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsQueueFrozen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetShellExtSupport(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShellExtSupport)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -95,13 +95,13 @@ windows_core::imp::define_interface!(IEnhancedStorageSilo, IEnhancedStorageSilo_ impl std::ops::Deref for IEnhancedStorageSilo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnhancedStorageSilo, windows_core::IUnknown); impl IEnhancedStorageSilo { pub unsafe fn GetInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetActions(&self, pppienhancedstoragesiloactions: *mut *mut Option, pcenhancedstoragesiloactions: *mut u32) -> windows_core::Result<()> { @@ -112,11 +112,11 @@ impl IEnhancedStorageSilo { } #[cfg(feature = "Win32_Devices_PortableDevices")] pub unsafe fn GetPortableDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPortableDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDevicePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDevicePath)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -136,17 +136,17 @@ windows_core::imp::define_interface!(IEnhancedStorageSiloAction, IEnhancedStorag impl std::ops::Deref for IEnhancedStorageSiloAction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnhancedStorageSiloAction, windows_core::IUnknown); impl IEnhancedStorageSiloAction { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Invoke(&self) -> windows_core::Result<()> { @@ -164,7 +164,7 @@ windows_core::imp::define_interface!(IEnumEnhancedStorageACT, IEnumEnhancedStora impl std::ops::Deref for IEnumEnhancedStorageACT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumEnhancedStorageACT, windows_core::IUnknown); @@ -176,7 +176,7 @@ impl IEnumEnhancedStorageACT { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchingACT)(windows_core::Interface::as_raw(self), szvolume.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs index 3f06395c50..720dbc9554 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs @@ -32,7 +32,7 @@ impl IFhConfigMgr_Vtbl { let this = (*this).get_impl(); IFhConfigMgr_Impl::SaveConfiguration(this).into() } - unsafe extern "system" fn AddRemoveExcludeRule, Impl: IFhConfigMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, add: super::super::Foundation::BOOL, category: FH_PROTECTED_ITEM_CATEGORY, item: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddRemoveExcludeRule, Impl: IFhConfigMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, add: super::super::Foundation::BOOL, category: FH_PROTECTED_ITEM_CATEGORY, item: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFhConfigMgr_Impl::AddRemoveExcludeRule(this, core::mem::transmute_copy(&add), core::mem::transmute_copy(&category), core::mem::transmute(&item)).into() @@ -91,7 +91,7 @@ impl IFhConfigMgr_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ValidateTarget, Impl: IFhConfigMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targeturl: std::mem::MaybeUninit, validationresult: *mut FH_DEVICE_VALIDATION_RESULT) -> windows_core::HRESULT { + unsafe extern "system" fn ValidateTarget, Impl: IFhConfigMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targeturl: core::mem::MaybeUninit, validationresult: *mut FH_DEVICE_VALIDATION_RESULT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFhConfigMgr_Impl::ValidateTarget(this, core::mem::transmute(&targeturl)) { @@ -102,7 +102,7 @@ impl IFhConfigMgr_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProvisionAndSetNewTarget, Impl: IFhConfigMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targeturl: std::mem::MaybeUninit, targetname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProvisionAndSetNewTarget, Impl: IFhConfigMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targeturl: core::mem::MaybeUninit, targetname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFhConfigMgr_Impl::ProvisionAndSetNewTarget(this, core::mem::transmute(&targeturl), core::mem::transmute(&targetname)).into() @@ -112,7 +112,7 @@ impl IFhConfigMgr_Vtbl { let this = (*this).get_impl(); IFhConfigMgr_Impl::ChangeDefaultTargetRecommendation(this, core::mem::transmute_copy(&recommend)).into() } - unsafe extern "system" fn QueryProtectionStatus, Impl: IFhConfigMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, protectionstate: *mut u32, protecteduntiltime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueryProtectionStatus, Impl: IFhConfigMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, protectionstate: *mut u32, protecteduntiltime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFhConfigMgr_Impl::QueryProtectionStatus(this, core::mem::transmute_copy(&protectionstate), core::mem::transmute_copy(&protecteduntiltime)).into() @@ -149,7 +149,7 @@ pub trait IFhReassociation_Impl: Sized { impl windows_core::RuntimeName for IFhReassociation {} impl IFhReassociation_Vtbl { pub const fn new, Impl: IFhReassociation_Impl, const OFFSET: isize>() -> IFhReassociation_Vtbl { - unsafe extern "system" fn ValidateTarget, Impl: IFhReassociation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targeturl: std::mem::MaybeUninit, validationresult: *mut FH_DEVICE_VALIDATION_RESULT) -> windows_core::HRESULT { + unsafe extern "system" fn ValidateTarget, Impl: IFhReassociation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targeturl: core::mem::MaybeUninit, validationresult: *mut FH_DEVICE_VALIDATION_RESULT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFhReassociation_Impl::ValidateTarget(this, core::mem::transmute(&targeturl)) { @@ -160,12 +160,12 @@ impl IFhReassociation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ScanTargetForConfigurations, Impl: IFhReassociation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targeturl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ScanTargetForConfigurations, Impl: IFhReassociation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targeturl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFhReassociation_Impl::ScanTargetForConfigurations(this, core::mem::transmute(&targeturl)).into() } - unsafe extern "system" fn GetConfigurationDetails, Impl: IFhReassociation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, username: *mut std::mem::MaybeUninit, pcname: *mut std::mem::MaybeUninit, backuptime: *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT { + unsafe extern "system" fn GetConfigurationDetails, Impl: IFhReassociation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, username: *mut core::mem::MaybeUninit, pcname: *mut core::mem::MaybeUninit, backuptime: *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFhReassociation_Impl::GetConfigurationDetails(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&username), core::mem::transmute_copy(&pcname), core::mem::transmute_copy(&backuptime)).into() @@ -205,7 +205,7 @@ impl IFhScopeIterator_Vtbl { let this = (*this).get_impl(); IFhScopeIterator_Impl::MoveToNextItem(this).into() } - unsafe extern "system" fn GetItem, Impl: IFhScopeIterator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetItem, Impl: IFhScopeIterator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFhScopeIterator_Impl::GetItem(this) { @@ -233,7 +233,7 @@ pub trait IFhTarget_Impl: Sized { impl windows_core::RuntimeName for IFhTarget {} impl IFhTarget_Vtbl { pub const fn new, Impl: IFhTarget_Impl, const OFFSET: isize>() -> IFhTarget_Vtbl { - unsafe extern "system" fn GetStringProperty, Impl: IFhTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertytype: FH_TARGET_PROPERTY_TYPE, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStringProperty, Impl: IFhTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertytype: FH_TARGET_PROPERTY_TYPE, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFhTarget_Impl::GetStringProperty(this, core::mem::transmute_copy(&propertytype)) { 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 7fb4d9772c..fbf631cb1f 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs @@ -23,7 +23,7 @@ where P0: windows_core::Param, { windows_targets::link!("fhsvcctl.dll" "system" fn FhServiceOpenPipe(startserviceifstopped : super::super::Foundation:: BOOL, pipe : *mut super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FhServiceOpenPipe(startserviceifstopped.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_WindowsProgramming")] @@ -68,7 +68,7 @@ windows_core::imp::define_interface!(IFhConfigMgr, IFhConfigMgr_Vtbl, 0x6a5fea5b impl std::ops::Deref for IFhConfigMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFhConfigMgr, windows_core::IUnknown); @@ -96,32 +96,32 @@ impl IFhConfigMgr { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIncludeExcludeRules)(windows_core::Interface::as_raw(self), include.param().abi(), category, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLocalPolicy(&self, localpolicytype: FH_LOCAL_POLICY_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalPolicy)(windows_core::Interface::as_raw(self), localpolicytype, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackupStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ValidateTarget(&self, targeturl: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValidateTarget)(windows_core::Interface::as_raw(self), targeturl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ProvisionAndSetNewTarget(&self, targeturl: P0, targetname: P1) -> windows_core::Result<()> @@ -147,23 +147,23 @@ pub struct IFhConfigMgr_Vtbl { pub LoadConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDefaultConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SaveConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddRemoveExcludeRule: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, FH_PROTECTED_ITEM_CATEGORY, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddRemoveExcludeRule: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, FH_PROTECTED_ITEM_CATEGORY, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetIncludeExcludeRules: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, FH_PROTECTED_ITEM_CATEGORY, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLocalPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, FH_LOCAL_POLICY_TYPE, *mut u64) -> windows_core::HRESULT, pub SetLocalPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, FH_LOCAL_POLICY_TYPE, u64) -> windows_core::HRESULT, pub GetBackupStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FH_BACKUP_STATUS) -> windows_core::HRESULT, pub SetBackupStatus: unsafe extern "system" fn(*mut core::ffi::c_void, FH_BACKUP_STATUS) -> windows_core::HRESULT, pub GetDefaultTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ValidateTarget: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut FH_DEVICE_VALIDATION_RESULT) -> windows_core::HRESULT, - pub ProvisionAndSetNewTarget: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ValidateTarget: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut FH_DEVICE_VALIDATION_RESULT) -> windows_core::HRESULT, + pub ProvisionAndSetNewTarget: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ChangeDefaultTargetRecommendation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub QueryProtectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryProtectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFhReassociation, IFhReassociation_Vtbl, 0x6544a28a_f68d_47ac_91ef_16b2b36aa3ee); impl std::ops::Deref for IFhReassociation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFhReassociation, windows_core::IUnknown); @@ -172,7 +172,7 @@ impl IFhReassociation { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValidateTarget)(windows_core::Interface::as_raw(self), targeturl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ScanTargetForConfigurations(&self, targeturl: P0) -> windows_core::Result<()> @@ -197,9 +197,9 @@ impl IFhReassociation { #[repr(C)] pub struct IFhReassociation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ValidateTarget: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut FH_DEVICE_VALIDATION_RESULT) -> windows_core::HRESULT, - pub ScanTargetForConfigurations: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetConfigurationDetails: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, + pub ValidateTarget: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut FH_DEVICE_VALIDATION_RESULT) -> windows_core::HRESULT, + pub ScanTargetForConfigurations: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConfigurationDetails: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub SelectConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub PerformReassociation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } @@ -207,7 +207,7 @@ windows_core::imp::define_interface!(IFhScopeIterator, IFhScopeIterator_Vtbl, 0x impl std::ops::Deref for IFhScopeIterator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFhScopeIterator, windows_core::IUnknown); @@ -216,7 +216,7 @@ impl IFhScopeIterator { (windows_core::Interface::vtable(self).MoveToNextItem)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -224,30 +224,30 @@ impl IFhScopeIterator { pub struct IFhScopeIterator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub MoveToNextItem: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFhTarget, IFhTarget_Vtbl, 0xd87965fd_2bad_4657_bd3b_9567eb300ced); impl std::ops::Deref for IFhTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFhTarget, windows_core::IUnknown); impl IFhTarget { pub unsafe fn GetStringProperty(&self, propertytype: FH_TARGET_PROPERTY_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringProperty)(windows_core::Interface::as_raw(self), propertytype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNumericalProperty(&self, propertytype: FH_TARGET_PROPERTY_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumericalProperty)(windows_core::Interface::as_raw(self), propertytype, &mut result__).map(|| result__) } } #[repr(C)] pub struct IFhTarget_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetStringProperty: unsafe extern "system" fn(*mut core::ffi::c_void, FH_TARGET_PROPERTY_TYPE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringProperty: unsafe extern "system" fn(*mut core::ffi::c_void, FH_TARGET_PROPERTY_TYPE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNumericalProperty: unsafe extern "system" fn(*mut core::ffi::c_void, FH_TARGET_PROPERTY_TYPE, *mut u64) -> windows_core::HRESULT, } pub const BackupCancelled: FhBackupStopReason = FhBackupStopReason(4i32); diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs index 63d09897b5..7329d7eb1d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs @@ -20,7 +20,7 @@ impl windows_core::RuntimeName for IFsrmAccessDeniedRemediationClient {} #[cfg(feature = "Win32_System_Com")] impl IFsrmAccessDeniedRemediationClient_Vtbl { pub const fn new, Impl: IFsrmAccessDeniedRemediationClient_Impl, const OFFSET: isize>() -> IFsrmAccessDeniedRemediationClient_Vtbl { - unsafe extern "system" fn Show, Impl: IFsrmAccessDeniedRemediationClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parentwnd: usize, accesspath: std::mem::MaybeUninit, errortype: AdrClientErrorType, flags: i32, windowtitle: std::mem::MaybeUninit, windowmessage: std::mem::MaybeUninit, result: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Show, Impl: IFsrmAccessDeniedRemediationClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parentwnd: usize, accesspath: core::mem::MaybeUninit, errortype: AdrClientErrorType, flags: i32, windowtitle: core::mem::MaybeUninit, windowmessage: core::mem::MaybeUninit, result: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmAccessDeniedRemediationClient_Impl::Show(this, core::mem::transmute_copy(&parentwnd), core::mem::transmute(&accesspath), core::mem::transmute_copy(&errortype), core::mem::transmute_copy(&flags), core::mem::transmute(&windowtitle), core::mem::transmute(&windowmessage)) { @@ -128,7 +128,7 @@ impl windows_core::RuntimeName for IFsrmActionCommand {} #[cfg(feature = "Win32_System_Com")] impl IFsrmActionCommand_Vtbl { pub const fn new, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>() -> IFsrmActionCommand_Vtbl { - unsafe extern "system" fn ExecutablePath, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, executablepath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExecutablePath, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, executablepath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionCommand_Impl::ExecutablePath(this) { @@ -139,12 +139,12 @@ impl IFsrmActionCommand_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExecutablePath, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, executablepath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExecutablePath, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, executablepath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionCommand_Impl::SetExecutablePath(this, core::mem::transmute(&executablepath)).into() } - unsafe extern "system" fn Arguments, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, arguments: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Arguments, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, arguments: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionCommand_Impl::Arguments(this) { @@ -155,7 +155,7 @@ impl IFsrmActionCommand_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetArguments, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, arguments: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetArguments, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, arguments: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionCommand_Impl::SetArguments(this, core::mem::transmute(&arguments)).into() @@ -176,7 +176,7 @@ impl IFsrmActionCommand_Vtbl { let this = (*this).get_impl(); IFsrmActionCommand_Impl::SetAccount(this, core::mem::transmute_copy(&account)).into() } - unsafe extern "system" fn WorkingDirectory, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, workingdirectory: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WorkingDirectory, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, workingdirectory: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionCommand_Impl::WorkingDirectory(this) { @@ -187,7 +187,7 @@ impl IFsrmActionCommand_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetWorkingDirectory, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, workingdirectory: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetWorkingDirectory, Impl: IFsrmActionCommand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, workingdirectory: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionCommand_Impl::SetWorkingDirectory(this, core::mem::transmute(&workingdirectory)).into() @@ -284,7 +284,7 @@ impl windows_core::RuntimeName for IFsrmActionEmail {} #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEmail_Vtbl { pub const fn new, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>() -> IFsrmActionEmail_Vtbl { - unsafe extern "system" fn MailFrom, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailfrom: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailFrom, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailfrom: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailFrom(this) { @@ -295,12 +295,12 @@ impl IFsrmActionEmail_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailFrom, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailfrom: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailFrom, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailfrom: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionEmail_Impl::SetMailFrom(this, core::mem::transmute(&mailfrom)).into() } - unsafe extern "system" fn MailReplyTo, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailreplyto: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailReplyTo, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailreplyto: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailReplyTo(this) { @@ -311,12 +311,12 @@ impl IFsrmActionEmail_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailReplyTo, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailreplyto: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailReplyTo, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailreplyto: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionEmail_Impl::SetMailReplyTo(this, core::mem::transmute(&mailreplyto)).into() } - unsafe extern "system" fn MailTo, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailTo, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailTo(this) { @@ -327,12 +327,12 @@ impl IFsrmActionEmail_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailTo, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailTo, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionEmail_Impl::SetMailTo(this, core::mem::transmute(&mailto)).into() } - unsafe extern "system" fn MailCc, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailcc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailCc, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailcc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailCc(this) { @@ -343,12 +343,12 @@ impl IFsrmActionEmail_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailCc, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailcc: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailCc, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailcc: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionEmail_Impl::SetMailCc(this, core::mem::transmute(&mailcc)).into() } - unsafe extern "system" fn MailBcc, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailbcc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailBcc, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailbcc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailBcc(this) { @@ -359,12 +359,12 @@ impl IFsrmActionEmail_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailBcc, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailbcc: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailBcc, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailbcc: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionEmail_Impl::SetMailBcc(this, core::mem::transmute(&mailbcc)).into() } - unsafe extern "system" fn MailSubject, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailsubject: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailSubject, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailsubject: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MailSubject(this) { @@ -375,12 +375,12 @@ impl IFsrmActionEmail_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailSubject, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailsubject: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailSubject, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailsubject: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionEmail_Impl::SetMailSubject(this, core::mem::transmute(&mailsubject)).into() } - unsafe extern "system" fn MessageText, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagetext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MessageText, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagetext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionEmail_Impl::MessageText(this) { @@ -391,7 +391,7 @@ impl IFsrmActionEmail_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMessageText, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagetext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMessageText, Impl: IFsrmActionEmail_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagetext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionEmail_Impl::SetMessageText(this, core::mem::transmute(&messagetext)).into() @@ -482,7 +482,7 @@ impl IFsrmActionEventLog_Vtbl { let this = (*this).get_impl(); IFsrmActionEventLog_Impl::SetEventType(this, core::mem::transmute_copy(&eventtype)).into() } - unsafe extern "system" fn MessageText, Impl: IFsrmActionEventLog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagetext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MessageText, Impl: IFsrmActionEventLog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagetext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionEventLog_Impl::MessageText(this) { @@ -493,7 +493,7 @@ impl IFsrmActionEventLog_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMessageText, Impl: IFsrmActionEventLog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagetext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMessageText, Impl: IFsrmActionEventLog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagetext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionEventLog_Impl::SetMessageText(this, core::mem::transmute(&messagetext)).into() @@ -538,7 +538,7 @@ impl IFsrmActionReport_Vtbl { let this = (*this).get_impl(); IFsrmActionReport_Impl::SetReportTypes(this, core::mem::transmute_copy(&reporttypes)).into() } - unsafe extern "system" fn MailTo, Impl: IFsrmActionReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailTo, Impl: IFsrmActionReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmActionReport_Impl::MailTo(this) { @@ -549,7 +549,7 @@ impl IFsrmActionReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailTo, Impl: IFsrmActionReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailTo, Impl: IFsrmActionReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmActionReport_Impl::SetMailTo(this, core::mem::transmute(&mailto)).into() @@ -682,7 +682,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); IFsrmClassificationManager_Impl::SetLogging(this, core::mem::transmute_copy(&logging)).into() } - unsafe extern "system" fn ClassificationReportMailTo, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClassificationReportMailTo, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::ClassificationReportMailTo(this) { @@ -693,7 +693,7 @@ impl IFsrmClassificationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClassificationReportMailTo, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClassificationReportMailTo, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmClassificationManager_Impl::SetClassificationReportMailTo(this, core::mem::transmute(&mailto)).into() @@ -714,7 +714,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); IFsrmClassificationManager_Impl::SetClassificationReportEnabled(this, core::mem::transmute_copy(&reportenabled)).into() } - unsafe extern "system" fn ClassificationLastReportPathWithoutExtension, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastreportpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClassificationLastReportPathWithoutExtension, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastreportpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::ClassificationLastReportPathWithoutExtension(this) { @@ -725,7 +725,7 @@ impl IFsrmClassificationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClassificationLastError, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lasterror: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClassificationLastError, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lasterror: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::ClassificationLastError(this) { @@ -769,7 +769,7 @@ impl IFsrmClassificationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPropertyDefinition, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, propertydefinition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyDefinition, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, propertydefinition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::GetPropertyDefinition(this, core::mem::transmute(&propertyname)) { @@ -802,7 +802,7 @@ impl IFsrmClassificationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRule, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulename: std::mem::MaybeUninit, ruletype: FsrmRuleType, rule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetRule, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rulename: core::mem::MaybeUninit, ruletype: FsrmRuleType, rule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::GetRule(this, core::mem::transmute(&rulename), core::mem::transmute_copy(&ruletype)) { @@ -835,7 +835,7 @@ impl IFsrmClassificationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetModuleDefinition, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, modulename: std::mem::MaybeUninit, moduletype: FsrmPipelineModuleType, moduledefinition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetModuleDefinition, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, modulename: core::mem::MaybeUninit, moduletype: FsrmPipelineModuleType, moduledefinition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::GetModuleDefinition(this, core::mem::transmute(&modulename), core::mem::transmute_copy(&moduletype)) { @@ -846,7 +846,7 @@ impl IFsrmClassificationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RunClassification, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: FsrmReportGenerationContext, reserved: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RunClassification, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: FsrmReportGenerationContext, reserved: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmClassificationManager_Impl::RunClassification(this, core::mem::transmute_copy(&context), core::mem::transmute(&reserved)).into() @@ -867,7 +867,7 @@ impl IFsrmClassificationManager_Vtbl { let this = (*this).get_impl(); IFsrmClassificationManager_Impl::CancelClassification(this).into() } - unsafe extern "system" fn EnumFileProperties, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, options: FsrmGetFilePropertyOptions, fileproperties: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn EnumFileProperties, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, options: FsrmGetFilePropertyOptions, fileproperties: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::EnumFileProperties(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&options)) { @@ -878,7 +878,7 @@ impl IFsrmClassificationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileProperty, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, propertyname: std::mem::MaybeUninit, options: FsrmGetFilePropertyOptions, property: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileProperty, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, propertyname: core::mem::MaybeUninit, options: FsrmGetFilePropertyOptions, property: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationManager_Impl::GetFileProperty(this, core::mem::transmute(&filepath), core::mem::transmute(&propertyname), core::mem::transmute_copy(&options)) { @@ -889,12 +889,12 @@ impl IFsrmClassificationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFileProperty, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, propertyname: std::mem::MaybeUninit, propertyvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFileProperty, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, propertyname: core::mem::MaybeUninit, propertyvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmClassificationManager_Impl::SetFileProperty(this, core::mem::transmute(&filepath), core::mem::transmute(&propertyname), core::mem::transmute(&propertyvalue)).into() } - unsafe extern "system" fn ClearFileProperty, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, property: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClearFileProperty, Impl: IFsrmClassificationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, property: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmClassificationManager_Impl::ClearFileProperty(this, core::mem::transmute(&filepath), core::mem::transmute(&property)).into() @@ -984,7 +984,7 @@ impl IFsrmClassificationRule_Vtbl { let this = (*this).get_impl(); IFsrmClassificationRule_Impl::SetExecutionOption(this, core::mem::transmute_copy(&executionoption)).into() } - unsafe extern "system" fn PropertyAffected, Impl: IFsrmClassificationRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PropertyAffected, Impl: IFsrmClassificationRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationRule_Impl::PropertyAffected(this) { @@ -995,12 +995,12 @@ impl IFsrmClassificationRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPropertyAffected, Impl: IFsrmClassificationRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPropertyAffected, Impl: IFsrmClassificationRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmClassificationRule_Impl::SetPropertyAffected(this, core::mem::transmute(&property)).into() } - unsafe extern "system" fn Value, Impl: IFsrmClassificationRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IFsrmClassificationRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassificationRule_Impl::Value(this) { @@ -1011,7 +1011,7 @@ impl IFsrmClassificationRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IFsrmClassificationRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IFsrmClassificationRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmClassificationRule_Impl::SetValue(this, core::mem::transmute(&value)).into() @@ -1120,7 +1120,7 @@ impl windows_core::RuntimeName for IFsrmClassifierModuleImplementation {} #[cfg(feature = "Win32_System_Com")] impl IFsrmClassifierModuleImplementation_Vtbl { pub const fn new, Impl: IFsrmClassifierModuleImplementation_Impl, const OFFSET: isize>() -> IFsrmClassifierModuleImplementation_Vtbl { - unsafe extern "system" fn LastModified, Impl: IFsrmClassifierModuleImplementation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastmodified: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastModified, Impl: IFsrmClassifierModuleImplementation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastmodified: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmClassifierModuleImplementation_Impl::LastModified(this) { @@ -1141,12 +1141,12 @@ impl IFsrmClassifierModuleImplementation_Vtbl { let this = (*this).get_impl(); IFsrmClassifierModuleImplementation_Impl::OnBeginFile(this, windows_core::from_raw_borrowed(&propertybag), core::mem::transmute_copy(&arrayruleids)).into() } - unsafe extern "system" fn DoesPropertyValueApply, Impl: IFsrmClassifierModuleImplementation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: std::mem::MaybeUninit, value: std::mem::MaybeUninit, applyvalue: *mut super::super::Foundation::VARIANT_BOOL, idrule: windows_core::GUID, idpropdef: windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn DoesPropertyValueApply, Impl: IFsrmClassifierModuleImplementation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: core::mem::MaybeUninit, value: core::mem::MaybeUninit, applyvalue: *mut super::super::Foundation::VARIANT_BOOL, idrule: windows_core::GUID, idpropdef: windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmClassifierModuleImplementation_Impl::DoesPropertyValueApply(this, core::mem::transmute(&property), core::mem::transmute(&value), core::mem::transmute_copy(&applyvalue), core::mem::transmute(&idrule), core::mem::transmute(&idpropdef)).into() } - unsafe extern "system" fn GetPropertyValueToApply, Impl: IFsrmClassifierModuleImplementation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit, idrule: windows_core::GUID, idpropdef: windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyValueToApply, Impl: IFsrmClassifierModuleImplementation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit, idrule: windows_core::GUID, idpropdef: windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmClassifierModuleImplementation_Impl::GetPropertyValueToApply(this, core::mem::transmute(&property), core::mem::transmute_copy(&value), core::mem::transmute(&idrule), core::mem::transmute(&idpropdef)).into() @@ -1196,7 +1196,7 @@ impl IFsrmCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFsrmCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, item: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFsrmCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, item: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -1245,7 +1245,7 @@ impl IFsrmCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetById, Impl: IFsrmCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: windows_core::GUID, entry: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetById, Impl: IFsrmCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: windows_core::GUID, entry: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmCollection_Impl::GetById(this, core::mem::transmute(&id)) { @@ -1353,12 +1353,12 @@ impl windows_core::RuntimeName for IFsrmExportImport {} #[cfg(feature = "Win32_System_Com")] impl IFsrmExportImport_Vtbl { pub const fn new, Impl: IFsrmExportImport_Impl, const OFFSET: isize>() -> IFsrmExportImport_Vtbl { - unsafe extern "system" fn ExportFileGroups, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, filegroupnamessafearray: *const std::mem::MaybeUninit, remotehost: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExportFileGroups, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, filegroupnamessafearray: *const core::mem::MaybeUninit, remotehost: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmExportImport_Impl::ExportFileGroups(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&filegroupnamessafearray), core::mem::transmute(&remotehost)).into() } - unsafe extern "system" fn ImportFileGroups, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, filegroupnamessafearray: *const std::mem::MaybeUninit, remotehost: std::mem::MaybeUninit, filegroups: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ImportFileGroups, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, filegroupnamessafearray: *const core::mem::MaybeUninit, remotehost: core::mem::MaybeUninit, filegroups: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmExportImport_Impl::ImportFileGroups(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&filegroupnamessafearray), core::mem::transmute(&remotehost)) { @@ -1369,12 +1369,12 @@ impl IFsrmExportImport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExportFileScreenTemplates, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, templatenamessafearray: *const std::mem::MaybeUninit, remotehost: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExportFileScreenTemplates, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, templatenamessafearray: *const core::mem::MaybeUninit, remotehost: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmExportImport_Impl::ExportFileScreenTemplates(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&templatenamessafearray), core::mem::transmute(&remotehost)).into() } - unsafe extern "system" fn ImportFileScreenTemplates, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, templatenamessafearray: *const std::mem::MaybeUninit, remotehost: std::mem::MaybeUninit, templates: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ImportFileScreenTemplates, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, templatenamessafearray: *const core::mem::MaybeUninit, remotehost: core::mem::MaybeUninit, templates: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmExportImport_Impl::ImportFileScreenTemplates(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&templatenamessafearray), core::mem::transmute(&remotehost)) { @@ -1385,12 +1385,12 @@ impl IFsrmExportImport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExportQuotaTemplates, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, templatenamessafearray: *const std::mem::MaybeUninit, remotehost: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExportQuotaTemplates, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, templatenamessafearray: *const core::mem::MaybeUninit, remotehost: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmExportImport_Impl::ExportQuotaTemplates(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&templatenamessafearray), core::mem::transmute(&remotehost)).into() } - unsafe extern "system" fn ImportQuotaTemplates, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: std::mem::MaybeUninit, templatenamessafearray: *const std::mem::MaybeUninit, remotehost: std::mem::MaybeUninit, templates: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ImportQuotaTemplates, Impl: IFsrmExportImport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filepath: core::mem::MaybeUninit, templatenamessafearray: *const core::mem::MaybeUninit, remotehost: core::mem::MaybeUninit, templates: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmExportImport_Impl::ImportQuotaTemplates(this, core::mem::transmute(&filepath), core::mem::transmute_copy(&templatenamessafearray), core::mem::transmute(&remotehost)) { @@ -1469,7 +1469,7 @@ impl windows_core::RuntimeName for IFsrmFileConditionProperty {} #[cfg(feature = "Win32_System_Com")] impl IFsrmFileConditionProperty_Vtbl { pub const fn new, Impl: IFsrmFileConditionProperty_Impl, const OFFSET: isize>() -> IFsrmFileConditionProperty_Vtbl { - unsafe extern "system" fn PropertyName, Impl: IFsrmFileConditionProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PropertyName, Impl: IFsrmFileConditionProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileConditionProperty_Impl::PropertyName(this) { @@ -1480,7 +1480,7 @@ impl IFsrmFileConditionProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPropertyName, Impl: IFsrmFileConditionProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPropertyName, Impl: IFsrmFileConditionProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileConditionProperty_Impl::SetPropertyName(this, core::mem::transmute(&newval)).into() @@ -1533,7 +1533,7 @@ impl IFsrmFileConditionProperty_Vtbl { let this = (*this).get_impl(); IFsrmFileConditionProperty_Impl::SetValueType(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn Value, Impl: IFsrmFileConditionProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IFsrmFileConditionProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileConditionProperty_Impl::Value(this) { @@ -1544,7 +1544,7 @@ impl IFsrmFileConditionProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IFsrmFileConditionProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IFsrmFileConditionProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileConditionProperty_Impl::SetValue(this, core::mem::transmute(&newval)).into() @@ -1581,7 +1581,7 @@ impl windows_core::RuntimeName for IFsrmFileGroup {} #[cfg(feature = "Win32_System_Com")] impl IFsrmFileGroup_Vtbl { pub const fn new, Impl: IFsrmFileGroup_Impl, const OFFSET: isize>() -> IFsrmFileGroup_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmFileGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmFileGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileGroup_Impl::Name(this) { @@ -1592,7 +1592,7 @@ impl IFsrmFileGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFsrmFileGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFsrmFileGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileGroup_Impl::SetName(this, core::mem::transmute(&name)).into() @@ -1703,7 +1703,7 @@ impl IFsrmFileGroupManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileGroup, Impl: IFsrmFileGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, filegroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileGroup, Impl: IFsrmFileGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, filegroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileGroupManager_Impl::GetFileGroup(this, core::mem::transmute(&name)) { @@ -1725,7 +1725,7 @@ impl IFsrmFileGroupManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExportFileGroups, Impl: IFsrmFileGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filegroupnamesarray: *const std::mem::MaybeUninit, serializedfilegroups: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExportFileGroups, Impl: IFsrmFileGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filegroupnamesarray: *const core::mem::MaybeUninit, serializedfilegroups: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileGroupManager_Impl::ExportFileGroups(this, core::mem::transmute_copy(&filegroupnamesarray)) { @@ -1736,7 +1736,7 @@ impl IFsrmFileGroupManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ImportFileGroups, Impl: IFsrmFileGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serializedfilegroups: std::mem::MaybeUninit, filegroupnamesarray: *const std::mem::MaybeUninit, filegroups: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ImportFileGroups, Impl: IFsrmFileGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serializedfilegroups: core::mem::MaybeUninit, filegroupnamesarray: *const core::mem::MaybeUninit, filegroups: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileGroupManager_Impl::ImportFileGroups(this, core::mem::transmute(&serializedfilegroups), core::mem::transmute_copy(&filegroupnamesarray)) { @@ -1817,7 +1817,7 @@ impl windows_core::RuntimeName for IFsrmFileManagementJob {} #[cfg(feature = "Win32_System_Com")] impl IFsrmFileManagementJob_Vtbl { pub const fn new, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>() -> IFsrmFileManagementJob_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::Name(this) { @@ -1828,7 +1828,7 @@ impl IFsrmFileManagementJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileManagementJob_Impl::SetName(this, core::mem::transmute(&name)).into() @@ -1881,7 +1881,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); IFsrmFileManagementJob_Impl::SetOperationType(this, core::mem::transmute_copy(&operationtype)).into() } - unsafe extern "system" fn ExpirationDirectory, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expirationdirectory: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExpirationDirectory, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expirationdirectory: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::ExpirationDirectory(this) { @@ -1892,7 +1892,7 @@ impl IFsrmFileManagementJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExpirationDirectory, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expirationdirectory: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExpirationDirectory, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expirationdirectory: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileManagementJob_Impl::SetExpirationDirectory(this, core::mem::transmute(&expirationdirectory)).into() @@ -1967,7 +1967,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); IFsrmFileManagementJob_Impl::SetFormats(this, core::mem::transmute_copy(&formats)).into() } - unsafe extern "system" fn MailTo, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailTo, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::MailTo(this) { @@ -1978,7 +1978,7 @@ impl IFsrmFileManagementJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailTo, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailTo, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileManagementJob_Impl::SetMailTo(this, core::mem::transmute(&mailto)).into() @@ -2058,7 +2058,7 @@ impl IFsrmFileManagementJob_Vtbl { let this = (*this).get_impl(); IFsrmFileManagementJob_Impl::SetFromDate(this, core::mem::transmute_copy(&fromdate)).into() } - unsafe extern "system" fn Task, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Task, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::Task(this) { @@ -2069,7 +2069,7 @@ impl IFsrmFileManagementJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTask, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTask, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileManagementJob_Impl::SetTask(this, core::mem::transmute(&taskname)).into() @@ -2101,7 +2101,7 @@ impl IFsrmFileManagementJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LastError, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lasterror: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastError, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lasterror: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::LastError(this) { @@ -2112,7 +2112,7 @@ impl IFsrmFileManagementJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LastReportPathWithoutExtension, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastReportPathWithoutExtension, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::LastReportPathWithoutExtension(this) { @@ -2134,7 +2134,7 @@ impl IFsrmFileManagementJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FileNamePattern, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filenamepattern: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileNamePattern, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filenamepattern: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::FileNamePattern(this) { @@ -2145,7 +2145,7 @@ impl IFsrmFileManagementJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFileNamePattern, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filenamepattern: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFileNamePattern, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filenamepattern: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileManagementJob_Impl::SetFileNamePattern(this, core::mem::transmute(&filenamepattern)).into() @@ -2208,7 +2208,7 @@ impl IFsrmFileManagementJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreatePropertyCondition, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, propertycondition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreatePropertyCondition, Impl: IFsrmFileManagementJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, propertycondition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileManagementJob_Impl::CreatePropertyCondition(this, core::mem::transmute(&name)) { @@ -2344,7 +2344,7 @@ impl IFsrmFileManagementJobManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileManagementJob, Impl: IFsrmFileManagementJobManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, filemanagementjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileManagementJob, Impl: IFsrmFileManagementJobManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, filemanagementjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileManagementJobManager_Impl::GetFileManagementJob(this, core::mem::transmute(&name)) { @@ -2382,7 +2382,7 @@ impl windows_core::RuntimeName for IFsrmFileScreen {} #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreen_Vtbl { pub const fn new, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>() -> IFsrmFileScreen_Vtbl { - unsafe extern "system" fn Path, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreen_Impl::Path(this) { @@ -2393,7 +2393,7 @@ impl IFsrmFileScreen_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SourceTemplateName, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filescreentemplatename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SourceTemplateName, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filescreentemplatename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreen_Impl::SourceTemplateName(this) { @@ -2415,7 +2415,7 @@ impl IFsrmFileScreen_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserSid, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, usersid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserSid, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, usersid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreen_Impl::UserSid(this) { @@ -2426,7 +2426,7 @@ impl IFsrmFileScreen_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserAccount, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, useraccount: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserAccount, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, useraccount: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreen_Impl::UserAccount(this) { @@ -2437,7 +2437,7 @@ impl IFsrmFileScreen_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ApplyTemplate, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filescreentemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplyTemplate, Impl: IFsrmFileScreen_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filescreentemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileScreen_Impl::ApplyTemplate(this, core::mem::transmute(&filescreentemplatename)).into() @@ -2549,7 +2549,7 @@ impl windows_core::RuntimeName for IFsrmFileScreenException {} #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenException_Vtbl { pub const fn new, Impl: IFsrmFileScreenException_Impl, const OFFSET: isize>() -> IFsrmFileScreenException_Vtbl { - unsafe extern "system" fn Path, Impl: IFsrmFileScreenException_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IFsrmFileScreenException_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenException_Impl::Path(this) { @@ -2626,7 +2626,7 @@ impl IFsrmFileScreenManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateFileScreen, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, filescreen: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFileScreen, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, filescreen: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::CreateFileScreen(this, core::mem::transmute(&path)) { @@ -2637,7 +2637,7 @@ impl IFsrmFileScreenManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileScreen, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, filescreen: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileScreen, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, filescreen: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::GetFileScreen(this, core::mem::transmute(&path)) { @@ -2648,7 +2648,7 @@ impl IFsrmFileScreenManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumFileScreens, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, options: FsrmEnumOptions, filescreens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn EnumFileScreens, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, options: FsrmEnumOptions, filescreens: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::EnumFileScreens(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { @@ -2659,7 +2659,7 @@ impl IFsrmFileScreenManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateFileScreenException, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, filescreenexception: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFileScreenException, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, filescreenexception: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::CreateFileScreenException(this, core::mem::transmute(&path)) { @@ -2670,7 +2670,7 @@ impl IFsrmFileScreenManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileScreenException, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, filescreenexception: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileScreenException, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, filescreenexception: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::GetFileScreenException(this, core::mem::transmute(&path)) { @@ -2681,7 +2681,7 @@ impl IFsrmFileScreenManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumFileScreenExceptions, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, options: FsrmEnumOptions, filescreenexceptions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn EnumFileScreenExceptions, Impl: IFsrmFileScreenManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, options: FsrmEnumOptions, filescreenexceptions: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenManager_Impl::EnumFileScreenExceptions(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { @@ -2732,7 +2732,7 @@ impl windows_core::RuntimeName for IFsrmFileScreenTemplate {} #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenTemplate_Vtbl { pub const fn new, Impl: IFsrmFileScreenTemplate_Impl, const OFFSET: isize>() -> IFsrmFileScreenTemplate_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmFileScreenTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmFileScreenTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenTemplate_Impl::Name(this) { @@ -2743,12 +2743,12 @@ impl IFsrmFileScreenTemplate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFsrmFileScreenTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFsrmFileScreenTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileScreenTemplate_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn CopyTemplate, Impl: IFsrmFileScreenTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filescreentemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyTemplate, Impl: IFsrmFileScreenTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filescreentemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmFileScreenTemplate_Impl::CopyTemplate(this, core::mem::transmute(&filescreentemplatename)).into() @@ -2836,7 +2836,7 @@ impl IFsrmFileScreenTemplateManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetTemplate, Impl: IFsrmFileScreenTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, filescreentemplate: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetTemplate, Impl: IFsrmFileScreenTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, filescreentemplate: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenTemplateManager_Impl::GetTemplate(this, core::mem::transmute(&name)) { @@ -2858,7 +2858,7 @@ impl IFsrmFileScreenTemplateManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExportTemplates, Impl: IFsrmFileScreenTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filescreentemplatenamesarray: *const std::mem::MaybeUninit, serializedfilescreentemplates: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExportTemplates, Impl: IFsrmFileScreenTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filescreentemplatenamesarray: *const core::mem::MaybeUninit, serializedfilescreentemplates: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenTemplateManager_Impl::ExportTemplates(this, core::mem::transmute_copy(&filescreentemplatenamesarray)) { @@ -2869,7 +2869,7 @@ impl IFsrmFileScreenTemplateManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ImportTemplates, Impl: IFsrmFileScreenTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serializedfilescreentemplates: std::mem::MaybeUninit, filescreentemplatenamesarray: *const std::mem::MaybeUninit, filescreentemplates: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ImportTemplates, Impl: IFsrmFileScreenTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serializedfilescreentemplates: core::mem::MaybeUninit, filescreentemplatenamesarray: *const core::mem::MaybeUninit, filescreentemplates: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmFileScreenTemplateManager_Impl::ImportTemplates(this, core::mem::transmute(&serializedfilescreentemplates), core::mem::transmute_copy(&filescreentemplatenamesarray)) { @@ -2905,7 +2905,7 @@ impl windows_core::RuntimeName for IFsrmMutableCollection {} #[cfg(feature = "Win32_System_Com")] impl IFsrmMutableCollection_Vtbl { pub const fn new, Impl: IFsrmMutableCollection_Impl, const OFFSET: isize>() -> IFsrmMutableCollection_Vtbl { - unsafe extern "system" fn Add, Impl: IFsrmMutableCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IFsrmMutableCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmMutableCollection_Impl::Add(this, core::mem::transmute(&item)).into() @@ -2967,7 +2967,7 @@ impl IFsrmObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IFsrmObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IFsrmObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmObject_Impl::Description(this) { @@ -2978,7 +2978,7 @@ impl IFsrmObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IFsrmObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IFsrmObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmObject_Impl::SetDescription(this, core::mem::transmute(&description)).into() @@ -3015,7 +3015,7 @@ impl windows_core::RuntimeName for IFsrmPathMapper {} #[cfg(feature = "Win32_System_Com")] impl IFsrmPathMapper_Vtbl { pub const fn new, Impl: IFsrmPathMapper_Impl, const OFFSET: isize>() -> IFsrmPathMapper_Vtbl { - unsafe extern "system" fn GetSharePathsForLocalPath, Impl: IFsrmPathMapper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localpath: std::mem::MaybeUninit, sharepaths: *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn GetSharePathsForLocalPath, Impl: IFsrmPathMapper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localpath: core::mem::MaybeUninit, sharepaths: *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPathMapper_Impl::GetSharePathsForLocalPath(this, core::mem::transmute(&localpath)) { @@ -3059,7 +3059,7 @@ impl IFsrmPipelineModuleConnector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModuleName, Impl: IFsrmPipelineModuleConnector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModuleName, Impl: IFsrmPipelineModuleConnector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPipelineModuleConnector_Impl::ModuleName(this) { @@ -3070,7 +3070,7 @@ impl IFsrmPipelineModuleConnector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn HostingUserAccount, Impl: IFsrmPipelineModuleConnector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, useraccount: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HostingUserAccount, Impl: IFsrmPipelineModuleConnector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, useraccount: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPipelineModuleConnector_Impl::HostingUserAccount(this) { @@ -3137,7 +3137,7 @@ impl windows_core::RuntimeName for IFsrmPipelineModuleDefinition {} #[cfg(feature = "Win32_System_Com")] impl IFsrmPipelineModuleDefinition_Vtbl { pub const fn new, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>() -> IFsrmPipelineModuleDefinition_Vtbl { - unsafe extern "system" fn ModuleClsid, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, moduleclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModuleClsid, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, moduleclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::ModuleClsid(this) { @@ -3148,12 +3148,12 @@ impl IFsrmPipelineModuleDefinition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetModuleClsid, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, moduleclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetModuleClsid, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, moduleclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPipelineModuleDefinition_Impl::SetModuleClsid(this, core::mem::transmute(&moduleclsid)).into() } - unsafe extern "system" fn Name, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::Name(this) { @@ -3164,12 +3164,12 @@ impl IFsrmPipelineModuleDefinition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPipelineModuleDefinition_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn Company, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, company: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Company, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, company: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::Company(this) { @@ -3180,12 +3180,12 @@ impl IFsrmPipelineModuleDefinition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCompany, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, company: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCompany, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, company: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPipelineModuleDefinition_Impl::SetCompany(this, core::mem::transmute(&company)).into() } - unsafe extern "system" fn Version, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Version, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPipelineModuleDefinition_Impl::Version(this) { @@ -3196,7 +3196,7 @@ impl IFsrmPipelineModuleDefinition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetVersion, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetVersion, Impl: IFsrmPipelineModuleDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPipelineModuleDefinition_Impl::SetVersion(this, core::mem::transmute(&version)).into() @@ -3367,7 +3367,7 @@ impl windows_core::RuntimeName for IFsrmProperty {} #[cfg(feature = "Win32_System_Com")] impl IFsrmProperty_Vtbl { pub const fn new, Impl: IFsrmProperty_Impl, const OFFSET: isize>() -> IFsrmProperty_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmProperty_Impl::Name(this) { @@ -3378,7 +3378,7 @@ impl IFsrmProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: IFsrmProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IFsrmProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmProperty_Impl::Value(this) { @@ -3452,7 +3452,7 @@ impl windows_core::RuntimeName for IFsrmPropertyBag {} #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyBag_Vtbl { pub const fn new, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>() -> IFsrmPropertyBag_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::Name(this) { @@ -3463,7 +3463,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RelativePath, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RelativePath, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::RelativePath(this) { @@ -3474,7 +3474,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VolumeName, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, volumename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VolumeName, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, volumename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::VolumeName(this) { @@ -3485,7 +3485,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RelativeNamespaceRoot, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, relativenamespaceroot: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RelativeNamespaceRoot, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, relativenamespaceroot: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::RelativeNamespaceRoot(this) { @@ -3507,7 +3507,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FileId, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fileid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileId, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fileid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::FileId(this) { @@ -3518,7 +3518,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ParentDirectoryId, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parentdirectoryid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ParentDirectoryId, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parentdirectoryid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::ParentDirectoryId(this) { @@ -3529,7 +3529,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Size, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, size: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Size, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, size: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::Size(this) { @@ -3540,7 +3540,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SizeAllocated, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sizeallocated: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SizeAllocated, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sizeallocated: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::SizeAllocated(this) { @@ -3551,7 +3551,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreationTime, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, creationtime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreationTime, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, creationtime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::CreationTime(this) { @@ -3562,7 +3562,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LastAccessTime, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastaccesstime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastAccessTime, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastaccesstime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::LastAccessTime(this) { @@ -3573,7 +3573,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LastModificationTime, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastmodificationtime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastModificationTime, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastmodificationtime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::LastModificationTime(this) { @@ -3595,7 +3595,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OwnerSid, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ownersid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OwnerSid, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ownersid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::OwnerSid(this) { @@ -3639,7 +3639,7 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFileProperty, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, fileproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileProperty, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, fileproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::GetFileProperty(this, core::mem::transmute(&name)) { @@ -3650,17 +3650,17 @@ impl IFsrmPropertyBag_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFileProperty, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFileProperty, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPropertyBag_Impl::SetFileProperty(this, core::mem::transmute(&name), core::mem::transmute(&value)).into() } - unsafe extern "system" fn AddMessage, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, message: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddMessage, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, message: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPropertyBag_Impl::AddMessage(this, core::mem::transmute(&message)).into() } - unsafe extern "system" fn GetFileStreamInterface, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, accessmode: FsrmFileStreamingMode, interfacetype: FsrmFileStreamingInterfaceType, pstreaminterface: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileStreamInterface, Impl: IFsrmPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, accessmode: FsrmFileStreamingMode, interfacetype: FsrmFileStreamingInterfaceType, pstreaminterface: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag_Impl::GetFileStreamInterface(this, core::mem::transmute_copy(&accessmode), core::mem::transmute_copy(&interfacetype)) { @@ -3710,7 +3710,7 @@ impl windows_core::RuntimeName for IFsrmPropertyBag2 {} #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyBag2_Vtbl { pub const fn new, Impl: IFsrmPropertyBag2_Impl, const OFFSET: isize>() -> IFsrmPropertyBag2_Vtbl { - unsafe extern "system" fn GetFieldValue, Impl: IFsrmPropertyBag2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, field: FsrmPropertyBagField, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFieldValue, Impl: IFsrmPropertyBag2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, field: FsrmPropertyBagField, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyBag2_Impl::GetFieldValue(this, core::mem::transmute_copy(&field)) { @@ -3757,7 +3757,7 @@ impl windows_core::RuntimeName for IFsrmPropertyCondition {} #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyCondition_Vtbl { pub const fn new, Impl: IFsrmPropertyCondition_Impl, const OFFSET: isize>() -> IFsrmPropertyCondition_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyCondition_Impl::Name(this) { @@ -3768,7 +3768,7 @@ impl IFsrmPropertyCondition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFsrmPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFsrmPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPropertyCondition_Impl::SetName(this, core::mem::transmute(&name)).into() @@ -3789,7 +3789,7 @@ impl IFsrmPropertyCondition_Vtbl { let this = (*this).get_impl(); IFsrmPropertyCondition_Impl::SetType(this, core::mem::transmute_copy(&r#type)).into() } - unsafe extern "system" fn Value, Impl: IFsrmPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IFsrmPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyCondition_Impl::Value(this) { @@ -3800,7 +3800,7 @@ impl IFsrmPropertyCondition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IFsrmPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IFsrmPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPropertyCondition_Impl::SetValue(this, core::mem::transmute(&value)).into() @@ -3843,7 +3843,7 @@ impl windows_core::RuntimeName for IFsrmPropertyDefinition {} #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinition_Vtbl { pub const fn new, Impl: IFsrmPropertyDefinition_Impl, const OFFSET: isize>() -> IFsrmPropertyDefinition_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmPropertyDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmPropertyDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyDefinition_Impl::Name(this) { @@ -3854,7 +3854,7 @@ impl IFsrmPropertyDefinition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFsrmPropertyDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFsrmPropertyDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPropertyDefinition_Impl::SetName(this, core::mem::transmute(&name)).into() @@ -3965,7 +3965,7 @@ impl IFsrmPropertyDefinition2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: IFsrmPropertyDefinition2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IFsrmPropertyDefinition2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyDefinition2_Impl::DisplayName(this) { @@ -3976,7 +3976,7 @@ impl IFsrmPropertyDefinition2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: IFsrmPropertyDefinition2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IFsrmPropertyDefinition2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmPropertyDefinition2_Impl::SetDisplayName(this, core::mem::transmute(&name)).into() @@ -4028,7 +4028,7 @@ impl windows_core::RuntimeName for IFsrmPropertyDefinitionValue {} #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinitionValue_Vtbl { pub const fn new, Impl: IFsrmPropertyDefinitionValue_Impl, const OFFSET: isize>() -> IFsrmPropertyDefinitionValue_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmPropertyDefinitionValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmPropertyDefinitionValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyDefinitionValue_Impl::Name(this) { @@ -4039,7 +4039,7 @@ impl IFsrmPropertyDefinitionValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: IFsrmPropertyDefinitionValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IFsrmPropertyDefinitionValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyDefinitionValue_Impl::DisplayName(this) { @@ -4050,7 +4050,7 @@ impl IFsrmPropertyDefinitionValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IFsrmPropertyDefinitionValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IFsrmPropertyDefinitionValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyDefinitionValue_Impl::Description(this) { @@ -4061,7 +4061,7 @@ impl IFsrmPropertyDefinitionValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UniqueID, Impl: IFsrmPropertyDefinitionValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uniqueid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UniqueID, Impl: IFsrmPropertyDefinitionValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uniqueid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmPropertyDefinitionValue_Impl::UniqueID(this) { @@ -4097,7 +4097,7 @@ impl windows_core::RuntimeName for IFsrmQuota {} #[cfg(feature = "Win32_System_Com")] impl IFsrmQuota_Vtbl { pub const fn new, Impl: IFsrmQuota_Impl, const OFFSET: isize>() -> IFsrmQuota_Vtbl { - unsafe extern "system" fn QuotaUsed, Impl: IFsrmQuota_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, used: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QuotaUsed, Impl: IFsrmQuota_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, used: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuota_Impl::QuotaUsed(this) { @@ -4108,7 +4108,7 @@ impl IFsrmQuota_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn QuotaPeakUsage, Impl: IFsrmQuota_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peakusage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QuotaPeakUsage, Impl: IFsrmQuota_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peakusage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuota_Impl::QuotaPeakUsage(this) { @@ -4171,7 +4171,7 @@ impl windows_core::RuntimeName for IFsrmQuotaBase {} #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaBase_Vtbl { pub const fn new, Impl: IFsrmQuotaBase_Impl, const OFFSET: isize>() -> IFsrmQuotaBase_Vtbl { - unsafe extern "system" fn QuotaLimit, Impl: IFsrmQuotaBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotalimit: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QuotaLimit, Impl: IFsrmQuotaBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotalimit: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaBase_Impl::QuotaLimit(this) { @@ -4182,7 +4182,7 @@ impl IFsrmQuotaBase_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetQuotaLimit, Impl: IFsrmQuotaBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotalimit: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetQuotaLimit, Impl: IFsrmQuotaBase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotalimit: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmQuotaBase_Impl::SetQuotaLimit(this, core::mem::transmute("alimit)).into() @@ -4311,7 +4311,7 @@ impl IFsrmQuotaManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::CreateQuota(this, core::mem::transmute(&path)) { @@ -4322,7 +4322,7 @@ impl IFsrmQuotaManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateAutoApplyQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatename: std::mem::MaybeUninit, path: std::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateAutoApplyQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatename: core::mem::MaybeUninit, path: core::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::CreateAutoApplyQuota(this, core::mem::transmute("atemplatename), core::mem::transmute(&path)) { @@ -4333,7 +4333,7 @@ impl IFsrmQuotaManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::GetQuota(this, core::mem::transmute(&path)) { @@ -4344,7 +4344,7 @@ impl IFsrmQuotaManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAutoApplyQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetAutoApplyQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::GetAutoApplyQuota(this, core::mem::transmute(&path)) { @@ -4355,7 +4355,7 @@ impl IFsrmQuotaManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRestrictiveQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetRestrictiveQuota, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, quota: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::GetRestrictiveQuota(this, core::mem::transmute(&path)) { @@ -4366,7 +4366,7 @@ impl IFsrmQuotaManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumQuotas, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, options: FsrmEnumOptions, quotas: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn EnumQuotas, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, options: FsrmEnumOptions, quotas: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::EnumQuotas(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { @@ -4377,7 +4377,7 @@ impl IFsrmQuotaManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumAutoApplyQuotas, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, options: FsrmEnumOptions, quotas: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn EnumAutoApplyQuotas, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, options: FsrmEnumOptions, quotas: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::EnumAutoApplyQuotas(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { @@ -4388,7 +4388,7 @@ impl IFsrmQuotaManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumEffectiveQuotas, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, options: FsrmEnumOptions, quotas: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn EnumEffectiveQuotas, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, options: FsrmEnumOptions, quotas: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaManager_Impl::EnumEffectiveQuotas(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { @@ -4399,7 +4399,7 @@ impl IFsrmQuotaManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Scan, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Scan, Impl: IFsrmQuotaManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmQuotaManager_Impl::Scan(this, core::mem::transmute(&strpath)).into() @@ -4444,7 +4444,7 @@ impl windows_core::RuntimeName for IFsrmQuotaManagerEx {} #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaManagerEx_Vtbl { pub const fn new, Impl: IFsrmQuotaManagerEx_Impl, const OFFSET: isize>() -> IFsrmQuotaManagerEx_Vtbl { - unsafe extern "system" fn IsAffectedByQuota, Impl: IFsrmQuotaManagerEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, options: FsrmEnumOptions, affected: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsAffectedByQuota, Impl: IFsrmQuotaManagerEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, options: FsrmEnumOptions, affected: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaManagerEx_Impl::IsAffectedByQuota(this, core::mem::transmute(&path), core::mem::transmute_copy(&options)) { @@ -4475,7 +4475,7 @@ impl windows_core::RuntimeName for IFsrmQuotaObject {} #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaObject_Vtbl { pub const fn new, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>() -> IFsrmQuotaObject_Vtbl { - unsafe extern "system" fn Path, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaObject_Impl::Path(this) { @@ -4486,7 +4486,7 @@ impl IFsrmQuotaObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserSid, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, usersid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserSid, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, usersid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaObject_Impl::UserSid(this) { @@ -4497,7 +4497,7 @@ impl IFsrmQuotaObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserAccount, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, useraccount: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserAccount, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, useraccount: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaObject_Impl::UserAccount(this) { @@ -4508,7 +4508,7 @@ impl IFsrmQuotaObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SourceTemplateName, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SourceTemplateName, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaObject_Impl::SourceTemplateName(this) { @@ -4530,7 +4530,7 @@ impl IFsrmQuotaObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ApplyTemplate, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplyTemplate, Impl: IFsrmQuotaObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmQuotaObject_Impl::ApplyTemplate(this, core::mem::transmute("atemplatename)).into() @@ -4561,7 +4561,7 @@ impl windows_core::RuntimeName for IFsrmQuotaTemplate {} #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaTemplate_Vtbl { pub const fn new, Impl: IFsrmQuotaTemplate_Impl, const OFFSET: isize>() -> IFsrmQuotaTemplate_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmQuotaTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmQuotaTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaTemplate_Impl::Name(this) { @@ -4572,12 +4572,12 @@ impl IFsrmQuotaTemplate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFsrmQuotaTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFsrmQuotaTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmQuotaTemplate_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn CopyTemplate, Impl: IFsrmQuotaTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyTemplate, Impl: IFsrmQuotaTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmQuotaTemplate_Impl::CopyTemplate(this, core::mem::transmute("atemplatename)).into() @@ -4665,7 +4665,7 @@ impl IFsrmQuotaTemplateManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetTemplate, Impl: IFsrmQuotaTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, quotatemplate: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetTemplate, Impl: IFsrmQuotaTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, quotatemplate: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaTemplateManager_Impl::GetTemplate(this, core::mem::transmute(&name)) { @@ -4687,7 +4687,7 @@ impl IFsrmQuotaTemplateManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExportTemplates, Impl: IFsrmQuotaTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatenamesarray: *const std::mem::MaybeUninit, serializedquotatemplates: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExportTemplates, Impl: IFsrmQuotaTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, quotatemplatenamesarray: *const core::mem::MaybeUninit, serializedquotatemplates: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaTemplateManager_Impl::ExportTemplates(this, core::mem::transmute_copy("atemplatenamesarray)) { @@ -4698,7 +4698,7 @@ impl IFsrmQuotaTemplateManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ImportTemplates, Impl: IFsrmQuotaTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serializedquotatemplates: std::mem::MaybeUninit, quotatemplatenamesarray: *const std::mem::MaybeUninit, quotatemplates: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ImportTemplates, Impl: IFsrmQuotaTemplateManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serializedquotatemplates: core::mem::MaybeUninit, quotatemplatenamesarray: *const core::mem::MaybeUninit, quotatemplates: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmQuotaTemplateManager_Impl::ImportTemplates(this, core::mem::transmute(&serializedquotatemplates), core::mem::transmute_copy("atemplatenamesarray)) { @@ -4750,7 +4750,7 @@ impl IFsrmReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReport_Impl::Name(this) { @@ -4761,12 +4761,12 @@ impl IFsrmReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReport_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn Description, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReport_Impl::Description(this) { @@ -4777,12 +4777,12 @@ impl IFsrmReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReport_Impl::SetDescription(this, core::mem::transmute(&description)).into() } - unsafe extern "system" fn LastGeneratedFileNamePrefix, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastGeneratedFileNamePrefix, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReport_Impl::LastGeneratedFileNamePrefix(this) { @@ -4793,7 +4793,7 @@ impl IFsrmReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFilter, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filter: FsrmReportFilter, filtervalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFilter, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filter: FsrmReportFilter, filtervalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReport_Impl::GetFilter(this, core::mem::transmute_copy(&filter)) { @@ -4804,7 +4804,7 @@ impl IFsrmReport_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFilter, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filter: FsrmReportFilter, filtervalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFilter, Impl: IFsrmReport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filter: FsrmReportFilter, filtervalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReport_Impl::SetFilter(this, core::mem::transmute_copy(&filter), core::mem::transmute(&filtervalue)).into() @@ -4856,7 +4856,7 @@ impl windows_core::RuntimeName for IFsrmReportJob {} #[cfg(feature = "Win32_System_Com")] impl IFsrmReportJob_Vtbl { pub const fn new, Impl: IFsrmReportJob_Impl, const OFFSET: isize>() -> IFsrmReportJob_Vtbl { - unsafe extern "system" fn Task, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Task, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReportJob_Impl::Task(this) { @@ -4867,7 +4867,7 @@ impl IFsrmReportJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTask, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTask, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReportJob_Impl::SetTask(this, core::mem::transmute(&taskname)).into() @@ -4904,7 +4904,7 @@ impl IFsrmReportJob_Vtbl { let this = (*this).get_impl(); IFsrmReportJob_Impl::SetFormats(this, core::mem::transmute_copy(&formats)).into() } - unsafe extern "system" fn MailTo, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailTo, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReportJob_Impl::MailTo(this) { @@ -4915,7 +4915,7 @@ impl IFsrmReportJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailTo, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailTo, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReportJob_Impl::SetMailTo(this, core::mem::transmute(&mailto)).into() @@ -4942,7 +4942,7 @@ impl IFsrmReportJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LastError, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lasterror: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastError, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lasterror: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReportJob_Impl::LastError(this) { @@ -4953,7 +4953,7 @@ impl IFsrmReportJob_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LastGeneratedInDirectory, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastGeneratedInDirectory, Impl: IFsrmReportJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReportJob_Impl::LastGeneratedInDirectory(this) { @@ -5072,7 +5072,7 @@ impl IFsrmReportManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetReportJob, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: std::mem::MaybeUninit, reportjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetReportJob, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: core::mem::MaybeUninit, reportjob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReportManager_Impl::GetReportJob(this, core::mem::transmute(&taskname)) { @@ -5083,7 +5083,7 @@ impl IFsrmReportManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetOutputDirectory, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: FsrmReportGenerationContext, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetOutputDirectory, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: FsrmReportGenerationContext, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReportManager_Impl::GetOutputDirectory(this, core::mem::transmute_copy(&context)) { @@ -5094,7 +5094,7 @@ impl IFsrmReportManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOutputDirectory, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: FsrmReportGenerationContext, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOutputDirectory, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: FsrmReportGenerationContext, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReportManager_Impl::SetOutputDirectory(this, core::mem::transmute_copy(&context), core::mem::transmute(&path)).into() @@ -5110,7 +5110,7 @@ impl IFsrmReportManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDefaultFilter, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reporttype: FsrmReportType, filter: FsrmReportFilter, filtervalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDefaultFilter, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reporttype: FsrmReportType, filter: FsrmReportFilter, filtervalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReportManager_Impl::GetDefaultFilter(this, core::mem::transmute_copy(&reporttype), core::mem::transmute_copy(&filter)) { @@ -5121,12 +5121,12 @@ impl IFsrmReportManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDefaultFilter, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reporttype: FsrmReportType, filter: FsrmReportFilter, filtervalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDefaultFilter, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reporttype: FsrmReportType, filter: FsrmReportFilter, filtervalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReportManager_Impl::SetDefaultFilter(this, core::mem::transmute_copy(&reporttype), core::mem::transmute_copy(&filter), core::mem::transmute(&filtervalue)).into() } - unsafe extern "system" fn GetReportSizeLimit, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, limit: FsrmReportLimit, limitvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetReportSizeLimit, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, limit: FsrmReportLimit, limitvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmReportManager_Impl::GetReportSizeLimit(this, core::mem::transmute_copy(&limit)) { @@ -5137,7 +5137,7 @@ impl IFsrmReportManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetReportSizeLimit, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, limit: FsrmReportLimit, limitvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetReportSizeLimit, Impl: IFsrmReportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, limit: FsrmReportLimit, limitvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReportManager_Impl::SetReportSizeLimit(this, core::mem::transmute_copy(&limit), core::mem::transmute(&limitvalue)).into() @@ -5172,22 +5172,22 @@ impl windows_core::RuntimeName for IFsrmReportScheduler {} #[cfg(feature = "Win32_System_Com")] impl IFsrmReportScheduler_Vtbl { pub const fn new, Impl: IFsrmReportScheduler_Impl, const OFFSET: isize>() -> IFsrmReportScheduler_Vtbl { - unsafe extern "system" fn VerifyNamespaces, Impl: IFsrmReportScheduler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespacessafearray: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VerifyNamespaces, Impl: IFsrmReportScheduler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespacessafearray: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReportScheduler_Impl::VerifyNamespaces(this, core::mem::transmute_copy(&namespacessafearray)).into() } - unsafe extern "system" fn CreateScheduleTask, Impl: IFsrmReportScheduler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: std::mem::MaybeUninit, namespacessafearray: *const std::mem::MaybeUninit, serializedtask: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateScheduleTask, Impl: IFsrmReportScheduler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: core::mem::MaybeUninit, namespacessafearray: *const core::mem::MaybeUninit, serializedtask: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReportScheduler_Impl::CreateScheduleTask(this, core::mem::transmute(&taskname), core::mem::transmute_copy(&namespacessafearray), core::mem::transmute(&serializedtask)).into() } - unsafe extern "system" fn ModifyScheduleTask, Impl: IFsrmReportScheduler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: std::mem::MaybeUninit, namespacessafearray: *const std::mem::MaybeUninit, serializedtask: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModifyScheduleTask, Impl: IFsrmReportScheduler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: core::mem::MaybeUninit, namespacessafearray: *const core::mem::MaybeUninit, serializedtask: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReportScheduler_Impl::ModifyScheduleTask(this, core::mem::transmute(&taskname), core::mem::transmute_copy(&namespacessafearray), core::mem::transmute(&serializedtask)).into() } - unsafe extern "system" fn DeleteScheduleTask, Impl: IFsrmReportScheduler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteScheduleTask, Impl: IFsrmReportScheduler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmReportScheduler_Impl::DeleteScheduleTask(this, core::mem::transmute(&taskname)).into() @@ -5224,7 +5224,7 @@ impl windows_core::RuntimeName for IFsrmRule {} #[cfg(feature = "Win32_System_Com")] impl IFsrmRule_Vtbl { pub const fn new, Impl: IFsrmRule_Impl, const OFFSET: isize>() -> IFsrmRule_Vtbl { - unsafe extern "system" fn Name, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmRule_Impl::Name(this) { @@ -5235,7 +5235,7 @@ impl IFsrmRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmRule_Impl::SetName(this, core::mem::transmute(&name)).into() @@ -5251,7 +5251,7 @@ impl IFsrmRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModuleDefinitionName, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, moduledefinitionname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModuleDefinitionName, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, moduledefinitionname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmRule_Impl::ModuleDefinitionName(this) { @@ -5262,7 +5262,7 @@ impl IFsrmRule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetModuleDefinitionName, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, moduledefinitionname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetModuleDefinitionName, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, moduledefinitionname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmRule_Impl::SetModuleDefinitionName(this, core::mem::transmute(&moduledefinitionname)).into() @@ -5315,7 +5315,7 @@ impl IFsrmRule_Vtbl { let this = (*this).get_impl(); IFsrmRule_Impl::SetParameters(this, core::mem::transmute_copy(¶meters)).into() } - unsafe extern "system" fn LastModified, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastmodified: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastModified, Impl: IFsrmRule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lastmodified: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmRule_Impl::LastModified(this) { @@ -5367,7 +5367,7 @@ impl windows_core::RuntimeName for IFsrmSetting {} #[cfg(feature = "Win32_System_Com")] impl IFsrmSetting_Vtbl { pub const fn new, Impl: IFsrmSetting_Impl, const OFFSET: isize>() -> IFsrmSetting_Vtbl { - unsafe extern "system" fn SmtpServer, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, smtpserver: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SmtpServer, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, smtpserver: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmSetting_Impl::SmtpServer(this) { @@ -5378,12 +5378,12 @@ impl IFsrmSetting_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSmtpServer, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, smtpserver: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSmtpServer, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, smtpserver: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmSetting_Impl::SetSmtpServer(this, core::mem::transmute(&smtpserver)).into() } - unsafe extern "system" fn MailFrom, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailfrom: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MailFrom, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailfrom: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmSetting_Impl::MailFrom(this) { @@ -5394,12 +5394,12 @@ impl IFsrmSetting_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMailFrom, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailfrom: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMailFrom, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailfrom: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmSetting_Impl::SetMailFrom(this, core::mem::transmute(&mailfrom)).into() } - unsafe extern "system" fn AdminEmail, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, adminemail: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AdminEmail, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, adminemail: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsrmSetting_Impl::AdminEmail(this) { @@ -5410,7 +5410,7 @@ impl IFsrmSetting_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAdminEmail, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, adminemail: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAdminEmail, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, adminemail: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmSetting_Impl::SetAdminEmail(this, core::mem::transmute(&adminemail)).into() @@ -5447,7 +5447,7 @@ impl IFsrmSetting_Vtbl { let this = (*this).get_impl(); IFsrmSetting_Impl::SetEnableScreeningAudit(this, core::mem::transmute_copy(&enablescreeningaudit)).into() } - unsafe extern "system" fn EmailTest, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EmailTest, Impl: IFsrmSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mailto: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsrmSetting_Impl::EmailTest(this, core::mem::transmute(&mailto)).into() 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 fea81b90f5..5092f5d6a8 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(DIFsrmClassificationEvents, DIFsrmClassific impl std::ops::Deref for DIFsrmClassificationEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -22,7 +22,7 @@ windows_core::imp::define_interface!(IFsrmAccessDeniedRemediationClient, IFsrmAc impl std::ops::Deref for IFsrmAccessDeniedRemediationClient { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -35,7 +35,7 @@ impl IFsrmAccessDeniedRemediationClient { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Show)(windows_core::Interface::as_raw(self), parentwnd, accesspath.param().abi(), errortype, flags, windowtitle.param().abi(), windowmessage.param().abi(), &mut result__).map(|| result__) } } @@ -43,7 +43,7 @@ impl IFsrmAccessDeniedRemediationClient { #[repr(C)] pub struct IFsrmAccessDeniedRemediationClient_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, usize, std::mem::MaybeUninit, AdrClientErrorType, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, usize, core::mem::MaybeUninit, AdrClientErrorType, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmAction, IFsrmAction_Vtbl, 0x6cd6408a_ae60_463b_9ef1_e117534d69dc); @@ -51,7 +51,7 @@ windows_core::imp::define_interface!(IFsrmAction, IFsrmAction_Vtbl, 0x6cd6408a_a impl std::ops::Deref for IFsrmAction { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -59,15 +59,15 @@ windows_core::imp::interface_hierarchy!(IFsrmAction, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IFsrmAction { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ActionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RunLimitInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RunLimitInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRunLimitInterval(&self, minutes: i32) -> windows_core::Result<()> { @@ -93,7 +93,7 @@ windows_core::imp::define_interface!(IFsrmActionCommand, IFsrmActionCommand_Vtbl impl std::ops::Deref for IFsrmActionCommand { type Target = IFsrmAction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -101,7 +101,7 @@ windows_core::imp::interface_hierarchy!(IFsrmActionCommand, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IFsrmActionCommand { pub unsafe fn ExecutablePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecutablePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExecutablePath(&self, executablepath: P0) -> windows_core::Result<()> @@ -111,7 +111,7 @@ impl IFsrmActionCommand { (windows_core::Interface::vtable(self).SetExecutablePath)(windows_core::Interface::as_raw(self), executablepath.param().abi()).ok() } pub unsafe fn Arguments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Arguments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetArguments(&self, arguments: P0) -> windows_core::Result<()> @@ -121,14 +121,14 @@ impl IFsrmActionCommand { (windows_core::Interface::vtable(self).SetArguments)(windows_core::Interface::as_raw(self), arguments.param().abi()).ok() } pub unsafe fn Account(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Account)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccount(&self, account: FsrmAccountType) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAccount)(windows_core::Interface::as_raw(self), account).ok() } pub unsafe fn WorkingDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WorkingDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetWorkingDirectory(&self, workingdirectory: P0) -> windows_core::Result<()> @@ -138,7 +138,7 @@ impl IFsrmActionCommand { (windows_core::Interface::vtable(self).SetWorkingDirectory)(windows_core::Interface::as_raw(self), workingdirectory.param().abi()).ok() } pub unsafe fn MonitorCommand(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MonitorCommand)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMonitorCommand(&self, monitorcommand: P0) -> windows_core::Result<()> @@ -148,14 +148,14 @@ impl IFsrmActionCommand { (windows_core::Interface::vtable(self).SetMonitorCommand)(windows_core::Interface::as_raw(self), monitorcommand.param().abi()).ok() } pub unsafe fn KillTimeOut(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KillTimeOut)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogResult(&self, logresults: P0) -> windows_core::Result<()> @@ -169,14 +169,14 @@ impl IFsrmActionCommand { #[repr(C)] pub struct IFsrmActionCommand_Vtbl { pub base__: IFsrmAction_Vtbl, - pub ExecutablePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExecutablePath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecutablePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExecutablePath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Account: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmAccountType) -> windows_core::HRESULT, pub SetAccount: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmAccountType) -> windows_core::HRESULT, - pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MonitorCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetMonitorCommand: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub KillTimeOut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -190,7 +190,7 @@ windows_core::imp::define_interface!(IFsrmActionEmail, IFsrmActionEmail_Vtbl, 0x impl std::ops::Deref for IFsrmActionEmail { type Target = IFsrmAction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -198,7 +198,7 @@ windows_core::imp::interface_hierarchy!(IFsrmActionEmail, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEmail { pub unsafe fn MailFrom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailFrom)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailFrom(&self, mailfrom: P0) -> windows_core::Result<()> @@ -208,7 +208,7 @@ impl IFsrmActionEmail { (windows_core::Interface::vtable(self).SetMailFrom)(windows_core::Interface::as_raw(self), mailfrom.param().abi()).ok() } pub unsafe fn MailReplyTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailReplyTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailReplyTo(&self, mailreplyto: P0) -> windows_core::Result<()> @@ -218,7 +218,7 @@ impl IFsrmActionEmail { (windows_core::Interface::vtable(self).SetMailReplyTo)(windows_core::Interface::as_raw(self), mailreplyto.param().abi()).ok() } pub unsafe fn MailTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailTo(&self, mailto: P0) -> windows_core::Result<()> @@ -228,7 +228,7 @@ impl IFsrmActionEmail { (windows_core::Interface::vtable(self).SetMailTo)(windows_core::Interface::as_raw(self), mailto.param().abi()).ok() } pub unsafe fn MailCc(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailCc)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailCc(&self, mailcc: P0) -> windows_core::Result<()> @@ -238,7 +238,7 @@ impl IFsrmActionEmail { (windows_core::Interface::vtable(self).SetMailCc)(windows_core::Interface::as_raw(self), mailcc.param().abi()).ok() } pub unsafe fn MailBcc(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailBcc)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailBcc(&self, mailbcc: P0) -> windows_core::Result<()> @@ -248,7 +248,7 @@ impl IFsrmActionEmail { (windows_core::Interface::vtable(self).SetMailBcc)(windows_core::Interface::as_raw(self), mailbcc.param().abi()).ok() } pub unsafe fn MailSubject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailSubject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailSubject(&self, mailsubject: P0) -> windows_core::Result<()> @@ -258,7 +258,7 @@ impl IFsrmActionEmail { (windows_core::Interface::vtable(self).SetMailSubject)(windows_core::Interface::as_raw(self), mailsubject.param().abi()).ok() } pub unsafe fn MessageText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MessageText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMessageText(&self, messagetext: P0) -> windows_core::Result<()> @@ -272,20 +272,20 @@ impl IFsrmActionEmail { #[repr(C)] pub struct IFsrmActionEmail_Vtbl { pub base__: IFsrmAction_Vtbl, - pub MailFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MailReplyTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailReplyTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MailCc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailCc: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MailBcc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailBcc: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MailSubject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailReplyTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailReplyTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailCc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailCc: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailBcc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailBcc: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailSubject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmActionEmail2, IFsrmActionEmail2_Vtbl, 0x8276702f_2532_4839_89bf_4872609a2ea4); @@ -293,7 +293,7 @@ windows_core::imp::define_interface!(IFsrmActionEmail2, IFsrmActionEmail2_Vtbl, impl std::ops::Deref for IFsrmActionEmail2 { type Target = IFsrmActionEmail; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -301,7 +301,7 @@ windows_core::imp::interface_hierarchy!(IFsrmActionEmail2, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEmail2 { pub unsafe fn AttachmentFileListSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttachmentFileListSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAttachmentFileListSize(&self, attachmentfilelistsize: i32) -> windows_core::Result<()> { @@ -321,7 +321,7 @@ windows_core::imp::define_interface!(IFsrmActionEventLog, IFsrmActionEventLog_Vt impl std::ops::Deref for IFsrmActionEventLog { type Target = IFsrmAction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -329,14 +329,14 @@ windows_core::imp::interface_hierarchy!(IFsrmActionEventLog, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEventLog { pub unsafe fn EventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEventType(&self, eventtype: FsrmEventType) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetEventType)(windows_core::Interface::as_raw(self), eventtype).ok() } pub unsafe fn MessageText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MessageText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMessageText(&self, messagetext: P0) -> windows_core::Result<()> @@ -352,8 +352,8 @@ pub struct IFsrmActionEventLog_Vtbl { pub base__: IFsrmAction_Vtbl, pub EventType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmEventType) -> windows_core::HRESULT, pub SetEventType: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmEventType) -> windows_core::HRESULT, - pub MessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmActionReport, IFsrmActionReport_Vtbl, 0x2dbe63c4_b340_48a0_a5b0_158e07fc567e); @@ -361,7 +361,7 @@ windows_core::imp::define_interface!(IFsrmActionReport, IFsrmActionReport_Vtbl, impl std::ops::Deref for IFsrmActionReport { type Target = IFsrmAction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -370,7 +370,7 @@ windows_core::imp::interface_hierarchy!(IFsrmActionReport, windows_core::IUnknow impl IFsrmActionReport { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReportTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -378,7 +378,7 @@ impl IFsrmActionReport { (windows_core::Interface::vtable(self).SetReportTypes)(windows_core::Interface::as_raw(self), reporttypes).ok() } pub unsafe fn MailTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailTo(&self, mailto: P0) -> windows_core::Result<()> @@ -400,8 +400,8 @@ pub struct IFsrmActionReport_Vtbl { pub SetReportTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetReportTypes: usize, - pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmAutoApplyQuota, IFsrmAutoApplyQuota_Vtbl, 0xf82e5729_6aba_4740_bfc7_c7f58f75fb7b); @@ -409,7 +409,7 @@ windows_core::imp::define_interface!(IFsrmAutoApplyQuota, IFsrmAutoApplyQuota_Vt impl std::ops::Deref for IFsrmAutoApplyQuota { type Target = IFsrmQuotaObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -418,7 +418,7 @@ windows_core::imp::interface_hierarchy!(IFsrmAutoApplyQuota, windows_core::IUnkn impl IFsrmAutoApplyQuota { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExcludeFolders(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExcludeFolders)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -427,7 +427,7 @@ impl IFsrmAutoApplyQuota { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommitAndUpdateDerived(&self, commitoptions: FsrmCommitOptions, applyoptions: FsrmTemplateApplyOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitAndUpdateDerived)(windows_core::Interface::as_raw(self), commitoptions, applyoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -454,7 +454,7 @@ windows_core::imp::define_interface!(IFsrmClassificationManager, IFsrmClassifica impl std::ops::Deref for IFsrmClassificationManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -463,7 +463,7 @@ windows_core::imp::interface_hierarchy!(IFsrmClassificationManager, windows_core impl IFsrmClassificationManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClassificationReportFormats(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassificationReportFormats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -471,14 +471,14 @@ impl IFsrmClassificationManager { (windows_core::Interface::vtable(self).SetClassificationReportFormats)(windows_core::Interface::as_raw(self), formats).ok() } pub unsafe fn Logging(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Logging)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogging(&self, logging: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetLogging)(windows_core::Interface::as_raw(self), logging).ok() } pub unsafe fn ClassificationReportMailTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassificationReportMailTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClassificationReportMailTo(&self, mailto: P0) -> windows_core::Result<()> @@ -488,7 +488,7 @@ impl IFsrmClassificationManager { (windows_core::Interface::vtable(self).SetClassificationReportMailTo)(windows_core::Interface::as_raw(self), mailto.param().abi()).ok() } pub unsafe fn ClassificationReportEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassificationReportEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClassificationReportEnabled(&self, reportenabled: P0) -> windows_core::Result<()> @@ -498,25 +498,25 @@ impl IFsrmClassificationManager { (windows_core::Interface::vtable(self).SetClassificationReportEnabled)(windows_core::Interface::as_raw(self), reportenabled.param().abi()).ok() } pub unsafe fn ClassificationLastReportPathWithoutExtension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassificationLastReportPathWithoutExtension)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClassificationLastError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassificationLastError)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClassificationRunningStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassificationRunningStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumPropertyDefinitions(&self, options: FsrmEnumOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumPropertyDefinitions)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreatePropertyDefinition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePropertyDefinition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -524,17 +524,17 @@ impl IFsrmClassificationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyDefinition)(windows_core::Interface::as_raw(self), propertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumRules(&self, ruletype: FsrmRuleType, options: FsrmEnumOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRules)(windows_core::Interface::as_raw(self), ruletype, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateRule(&self, ruletype: FsrmRuleType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRule)(windows_core::Interface::as_raw(self), ruletype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -542,17 +542,17 @@ impl IFsrmClassificationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRule)(windows_core::Interface::as_raw(self), rulename.param().abi(), ruletype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumModuleDefinitions(&self, moduletype: FsrmPipelineModuleType, options: FsrmEnumOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumModuleDefinitions)(windows_core::Interface::as_raw(self), moduletype, options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateModuleDefinition(&self, moduletype: FsrmPipelineModuleType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateModuleDefinition)(windows_core::Interface::as_raw(self), moduletype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -560,7 +560,7 @@ impl IFsrmClassificationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModuleDefinition)(windows_core::Interface::as_raw(self), modulename.param().abi(), moduletype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RunClassification(&self, context: FsrmReportGenerationContext, reserved: P0) -> windows_core::Result<()> @@ -570,7 +570,7 @@ impl IFsrmClassificationManager { (windows_core::Interface::vtable(self).RunClassification)(windows_core::Interface::as_raw(self), context, reserved.param().abi()).ok() } pub unsafe fn WaitForClassificationCompletion(&self, waitseconds: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitForClassificationCompletion)(windows_core::Interface::as_raw(self), waitseconds, &mut result__).map(|| result__) } pub unsafe fn CancelClassification(&self) -> windows_core::Result<()> { @@ -581,7 +581,7 @@ impl IFsrmClassificationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFileProperties)(windows_core::Interface::as_raw(self), filepath.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -590,7 +590,7 @@ impl IFsrmClassificationManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileProperty)(windows_core::Interface::as_raw(self), filepath.param().abi(), propertyname.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFileProperty(&self, filepath: P0, propertyname: P1, propertyvalue: P2) -> windows_core::Result<()> @@ -623,12 +623,12 @@ pub struct IFsrmClassificationManager_Vtbl { SetClassificationReportFormats: usize, pub Logging: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLogging: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub ClassificationReportMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClassificationReportMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClassificationReportMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClassificationReportMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClassificationReportEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetClassificationReportEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ClassificationLastReportPathWithoutExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClassificationLastError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClassificationLastReportPathWithoutExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClassificationLastError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClassificationRunningStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmReportRunningStatus) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EnumPropertyDefinitions: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -639,7 +639,7 @@ pub struct IFsrmClassificationManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreatePropertyDefinition: usize, #[cfg(feature = "Win32_System_Com")] - pub GetPropertyDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetPropertyDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetPropertyDefinition: usize, #[cfg(feature = "Win32_System_Com")] @@ -651,7 +651,7 @@ pub struct IFsrmClassificationManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateRule: usize, #[cfg(feature = "Win32_System_Com")] - pub GetRule: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FsrmRuleType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetRule: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FsrmRuleType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetRule: usize, #[cfg(feature = "Win32_System_Com")] @@ -663,22 +663,22 @@ pub struct IFsrmClassificationManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateModuleDefinition: usize, #[cfg(feature = "Win32_System_Com")] - pub GetModuleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FsrmPipelineModuleType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetModuleDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FsrmPipelineModuleType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetModuleDefinition: usize, - pub RunClassification: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportGenerationContext, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RunClassification: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportGenerationContext, core::mem::MaybeUninit) -> windows_core::HRESULT, pub WaitForClassificationCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CancelClassification: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub EnumFileProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FsrmGetFilePropertyOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnumFileProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FsrmGetFilePropertyOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumFileProperties: usize, #[cfg(feature = "Win32_System_Com")] - pub GetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, FsrmGetFilePropertyOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, FsrmGetFilePropertyOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFileProperty: usize, - pub SetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClearFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClearFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmClassificationManager2, IFsrmClassificationManager2_Vtbl, 0x0004c1c9_127e_4765_ba07_6a3147bca112); @@ -686,7 +686,7 @@ windows_core::imp::define_interface!(IFsrmClassificationManager2, IFsrmClassific impl std::ops::Deref for IFsrmClassificationManager2 { type Target = IFsrmClassificationManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -713,7 +713,7 @@ windows_core::imp::define_interface!(IFsrmClassificationRule, IFsrmClassificatio impl std::ops::Deref for IFsrmClassificationRule { type Target = IFsrmRule; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -721,14 +721,14 @@ windows_core::imp::interface_hierarchy!(IFsrmClassificationRule, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IFsrmClassificationRule { pub unsafe fn ExecutionOption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecutionOption)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExecutionOption(&self, executionoption: FsrmExecutionOption) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetExecutionOption)(windows_core::Interface::as_raw(self), executionoption).ok() } pub unsafe fn PropertyAffected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyAffected)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPropertyAffected(&self, property: P0) -> windows_core::Result<()> @@ -738,7 +738,7 @@ impl IFsrmClassificationRule { (windows_core::Interface::vtable(self).SetPropertyAffected)(windows_core::Interface::as_raw(self), property.param().abi()).ok() } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, value: P0) -> windows_core::Result<()> @@ -754,10 +754,10 @@ pub struct IFsrmClassificationRule_Vtbl { pub base__: IFsrmRule_Vtbl, pub ExecutionOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmExecutionOption) -> windows_core::HRESULT, pub SetExecutionOption: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmExecutionOption) -> windows_core::HRESULT, - pub PropertyAffected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPropertyAffected: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PropertyAffected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPropertyAffected: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmClassifierModuleDefinition, IFsrmClassifierModuleDefinition_Vtbl, 0xbb36ea26_6318_4b8c_8592_f72dd602e7a5); @@ -765,7 +765,7 @@ windows_core::imp::define_interface!(IFsrmClassifierModuleDefinition, IFsrmClass impl std::ops::Deref for IFsrmClassifierModuleDefinition { type Target = IFsrmPipelineModuleDefinition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -774,7 +774,7 @@ windows_core::imp::interface_hierarchy!(IFsrmClassifierModuleDefinition, windows impl IFsrmClassifierModuleDefinition { #[cfg(feature = "Win32_System_Com")] pub unsafe fn PropertiesAffected(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertiesAffected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -783,7 +783,7 @@ impl IFsrmClassifierModuleDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PropertiesUsed(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertiesUsed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -791,7 +791,7 @@ impl IFsrmClassifierModuleDefinition { (windows_core::Interface::vtable(self).SetPropertiesUsed)(windows_core::Interface::as_raw(self), propertiesused).ok() } pub unsafe fn NeedsExplicitValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NeedsExplicitValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNeedsExplicitValue(&self, needsexplicitvalue: P0) -> windows_core::Result<()> @@ -830,7 +830,7 @@ windows_core::imp::define_interface!(IFsrmClassifierModuleImplementation, IFsrmC impl std::ops::Deref for IFsrmClassifierModuleImplementation { type Target = IFsrmPipelineModuleImplementation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -838,7 +838,7 @@ windows_core::imp::interface_hierarchy!(IFsrmClassifierModuleImplementation, win #[cfg(feature = "Win32_System_Com")] impl IFsrmClassifierModuleImplementation { pub unsafe fn LastModified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastModified)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -877,7 +877,7 @@ impl IFsrmClassifierModuleImplementation { #[repr(C)] pub struct IFsrmClassifierModuleImplementation_Vtbl { pub base__: IFsrmPipelineModuleImplementation_Vtbl, - pub LastModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub UseRulesAndDefinitions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -886,8 +886,8 @@ pub struct IFsrmClassifierModuleImplementation_Vtbl { pub OnBeginFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnBeginFile: usize, - pub DoesPropertyValueApply: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, - pub GetPropertyValueToApply: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, + pub DoesPropertyValueApply: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, + pub GetPropertyValueToApply: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, pub OnEndFile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -896,7 +896,7 @@ windows_core::imp::define_interface!(IFsrmCollection, IFsrmCollection_Vtbl, 0xf7 impl std::ops::Deref for IFsrmCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -904,30 +904,30 @@ windows_core::imp::interface_hierarchy!(IFsrmCollection, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IFsrmCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitForCompletion)(windows_core::Interface::as_raw(self), waitseconds, &mut result__).map(|| result__) } pub unsafe fn GetById(&self, id: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetById)(windows_core::Interface::as_raw(self), core::mem::transmute(id), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -936,12 +936,12 @@ impl IFsrmCollection { pub struct IFsrmCollection_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmCollectionState) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub WaitForCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetById: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetById: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmCommittableCollection, IFsrmCommittableCollection_Vtbl, 0x96deb3b5_8b91_4a2a_9d93_80a35d8aa847); @@ -949,7 +949,7 @@ windows_core::imp::define_interface!(IFsrmCommittableCollection, IFsrmCommittabl impl std::ops::Deref for IFsrmCommittableCollection { type Target = IFsrmMutableCollection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -958,7 +958,7 @@ windows_core::imp::interface_hierarchy!(IFsrmCommittableCollection, windows_core impl IFsrmCommittableCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Commit(&self, options: FsrmCommitOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Commit)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -977,7 +977,7 @@ windows_core::imp::define_interface!(IFsrmDerivedObjectsResult, IFsrmDerivedObje impl std::ops::Deref for IFsrmDerivedObjectsResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -986,12 +986,12 @@ windows_core::imp::interface_hierarchy!(IFsrmDerivedObjectsResult, windows_core: impl IFsrmDerivedObjectsResult { #[cfg(feature = "Win32_System_Com")] pub unsafe fn DerivedObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DerivedObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Results(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Results)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1014,7 +1014,7 @@ windows_core::imp::define_interface!(IFsrmExportImport, IFsrmExportImport_Vtbl, impl std::ops::Deref for IFsrmExportImport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1034,7 +1034,7 @@ impl IFsrmExportImport { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportFileGroups)(windows_core::Interface::as_raw(self), filepath.param().abi(), core::mem::transmute(filegroupnamessafearray), remotehost.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExportFileScreenTemplates(&self, filepath: P0, templatenamessafearray: *const windows_core::VARIANT, remotehost: P1) -> windows_core::Result<()> @@ -1050,7 +1050,7 @@ impl IFsrmExportImport { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportFileScreenTemplates)(windows_core::Interface::as_raw(self), filepath.param().abi(), core::mem::transmute(templatenamessafearray), remotehost.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExportQuotaTemplates(&self, filepath: P0, templatenamessafearray: *const windows_core::VARIANT, remotehost: P1) -> windows_core::Result<()> @@ -1066,7 +1066,7 @@ impl IFsrmExportImport { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportQuotaTemplates)(windows_core::Interface::as_raw(self), filepath.param().abi(), core::mem::transmute(templatenamessafearray), remotehost.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1074,19 +1074,19 @@ impl IFsrmExportImport { #[repr(C)] pub struct IFsrmExportImport_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub ExportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ImportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ImportFileGroups: usize, - pub ExportFileScreenTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExportFileScreenTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ImportFileScreenTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportFileScreenTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ImportFileScreenTemplates: usize, - pub ExportQuotaTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExportQuotaTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ImportQuotaTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportQuotaTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ImportQuotaTemplates: usize, } @@ -1096,7 +1096,7 @@ windows_core::imp::define_interface!(IFsrmFileCondition, IFsrmFileCondition_Vtbl impl std::ops::Deref for IFsrmFileCondition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1104,7 +1104,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileCondition, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IFsrmFileCondition { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -1124,7 +1124,7 @@ windows_core::imp::define_interface!(IFsrmFileConditionProperty, IFsrmFileCondit impl std::ops::Deref for IFsrmFileConditionProperty { type Target = IFsrmFileCondition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1132,7 +1132,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileConditionProperty, windows_core #[cfg(feature = "Win32_System_Com")] impl IFsrmFileConditionProperty { pub unsafe fn PropertyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPropertyName(&self, newval: P0) -> windows_core::Result<()> @@ -1142,28 +1142,28 @@ impl IFsrmFileConditionProperty { (windows_core::Interface::vtable(self).SetPropertyName)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn PropertyId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Operator)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValueType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetValueType(&self, newval: FsrmPropertyValueType) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetValueType)(windows_core::Interface::as_raw(self), newval).ok() } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, newval: P0) -> windows_core::Result<()> @@ -1177,16 +1177,16 @@ impl IFsrmFileConditionProperty { #[repr(C)] pub struct IFsrmFileConditionProperty_Vtbl { pub base__: IFsrmFileCondition_Vtbl, - pub PropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PropertyId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmFileSystemPropertyId) -> windows_core::HRESULT, pub SetPropertyId: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmFileSystemPropertyId) -> windows_core::HRESULT, pub Operator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmPropertyConditionType) -> windows_core::HRESULT, pub SetOperator: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyConditionType) -> windows_core::HRESULT, pub ValueType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmPropertyValueType) -> windows_core::HRESULT, pub SetValueType: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyValueType) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileGroup, IFsrmFileGroup_Vtbl, 0x8dd04909_0e34_4d55_afaa_89e1f1a1bbb9); @@ -1194,7 +1194,7 @@ windows_core::imp::define_interface!(IFsrmFileGroup, IFsrmFileGroup_Vtbl, 0x8dd0 impl std::ops::Deref for IFsrmFileGroup { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1202,7 +1202,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileGroup, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IFsrmFileGroup { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -1213,7 +1213,7 @@ impl IFsrmFileGroup { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Members(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Members)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1225,7 +1225,7 @@ impl IFsrmFileGroup { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NonMembers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NonMembers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1240,8 +1240,8 @@ impl IFsrmFileGroup { #[repr(C)] pub struct IFsrmFileGroup_Vtbl { pub base__: IFsrmObject_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Members: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1265,7 +1265,7 @@ windows_core::imp::define_interface!(IFsrmFileGroupImported, IFsrmFileGroupImpor impl std::ops::Deref for IFsrmFileGroupImported { type Target = IFsrmFileGroup; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1273,7 +1273,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileGroupImported, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IFsrmFileGroupImported { pub unsafe fn OverwriteOnCommit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OverwriteOnCommit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOverwriteOnCommit(&self, overwrite: P0) -> windows_core::Result<()> @@ -1296,7 +1296,7 @@ windows_core::imp::define_interface!(IFsrmFileGroupManager, IFsrmFileGroupManage impl std::ops::Deref for IFsrmFileGroupManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1305,7 +1305,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileGroupManager, windows_core::IUn impl IFsrmFileGroupManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateFileGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFileGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1313,16 +1313,16 @@ impl IFsrmFileGroupManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileGroup)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumFileGroups(&self, options: FsrmEnumOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFileGroups)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExportFileGroups(&self, filegroupnamesarray: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExportFileGroups)(windows_core::Interface::as_raw(self), core::mem::transmute(filegroupnamesarray), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1330,7 +1330,7 @@ impl IFsrmFileGroupManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportFileGroups)(windows_core::Interface::as_raw(self), serializedfilegroups.param().abi(), core::mem::transmute(filegroupnamesarray), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1343,16 +1343,16 @@ pub struct IFsrmFileGroupManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateFileGroup: usize, #[cfg(feature = "Win32_System_Com")] - pub GetFileGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFileGroup: usize, #[cfg(feature = "Win32_System_Com")] pub EnumFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumFileGroups: usize, - pub ExportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ImportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ImportFileGroups: usize, } @@ -1362,7 +1362,7 @@ windows_core::imp::define_interface!(IFsrmFileManagementJob, IFsrmFileManagement impl std::ops::Deref for IFsrmFileManagementJob { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1370,7 +1370,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileManagementJob, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IFsrmFileManagementJob { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -1381,7 +1381,7 @@ impl IFsrmFileManagementJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamespaceRoots)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1389,7 +1389,7 @@ impl IFsrmFileManagementJob { (windows_core::Interface::vtable(self).SetNamespaceRoots)(windows_core::Interface::as_raw(self), namespaceroots).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -1399,14 +1399,14 @@ impl IFsrmFileManagementJob { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn OperationType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OperationType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOperationType(&self, operationtype: FsrmFileManagementType) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetOperationType)(windows_core::Interface::as_raw(self), operationtype).ok() } pub unsafe fn ExpirationDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpirationDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExpirationDirectory(&self, expirationdirectory: P0) -> windows_core::Result<()> @@ -1417,23 +1417,23 @@ impl IFsrmFileManagementJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CustomAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CustomAction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Notifications(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Notifications)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Logging(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Logging)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetReportEnabled(&self, reportenabled: P0) -> windows_core::Result<()> @@ -1444,7 +1444,7 @@ impl IFsrmFileManagementJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Formats(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Formats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1452,7 +1452,7 @@ impl IFsrmFileManagementJob { (windows_core::Interface::vtable(self).SetFormats)(windows_core::Interface::as_raw(self), formats).ok() } pub unsafe fn MailTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailTo(&self, mailto: P0) -> windows_core::Result<()> @@ -1462,21 +1462,21 @@ impl IFsrmFileManagementJob { (windows_core::Interface::vtable(self).SetMailTo)(windows_core::Interface::as_raw(self), mailto.param().abi()).ok() } pub unsafe fn DaysSinceFileCreated(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DaysSinceFileCreated)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DaysSinceFileLastAccessed)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DaysSinceFileLastModified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDaysSinceFileLastModified(&self, dayssincemodify: i32) -> windows_core::Result<()> { @@ -1484,18 +1484,18 @@ impl IFsrmFileManagementJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PropertyConditions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyConditions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FromDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FromDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFromDate(&self, fromdate: f64) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetFromDate)(windows_core::Interface::as_raw(self), fromdate).ok() } pub unsafe fn Task(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Task)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTask(&self, taskname: P0) -> windows_core::Result<()> @@ -1506,7 +1506,7 @@ impl IFsrmFileManagementJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1514,23 +1514,23 @@ impl IFsrmFileManagementJob { (windows_core::Interface::vtable(self).SetParameters)(windows_core::Interface::as_raw(self), parameters).ok() } pub unsafe fn RunningStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RunningStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastError)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastReportPathWithoutExtension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastReportPathWithoutExtension)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastRun(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastRun)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FileNamePattern(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileNamePattern)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFileNamePattern(&self, filenamepattern: P0) -> windows_core::Result<()> @@ -1543,7 +1543,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitForCompletion)(windows_core::Interface::as_raw(self), waitseconds, &mut result__).map(|| result__) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -1560,12 +1560,12 @@ impl IFsrmFileManagementJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateNotificationAction(&self, days: i32, actiontype: FsrmActionType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNotificationAction)(windows_core::Interface::as_raw(self), days, actiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumNotificationActions(&self, days: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumNotificationActions)(windows_core::Interface::as_raw(self), days, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1573,12 +1573,12 @@ impl IFsrmFileManagementJob { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePropertyCondition)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateCustomAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCustomAction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1586,8 +1586,8 @@ impl IFsrmFileManagementJob { #[repr(C)] pub struct IFsrmFileManagementJob_Vtbl { pub base__: IFsrmObject_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub NamespaceRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1600,8 +1600,8 @@ pub struct IFsrmFileManagementJob_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub OperationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmFileManagementType) -> windows_core::HRESULT, pub SetOperationType: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmFileManagementType) -> windows_core::HRESULT, - pub ExpirationDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExpirationDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExpirationDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExpirationDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CustomAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1622,8 +1622,8 @@ pub struct IFsrmFileManagementJob_Vtbl { pub SetFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetFormats: usize, - pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DaysSinceFileCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDaysSinceFileCreated: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DaysSinceFileLastAccessed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1636,8 +1636,8 @@ pub struct IFsrmFileManagementJob_Vtbl { PropertyConditions: usize, pub FromDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetFromDate: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, - pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Parameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1647,11 +1647,11 @@ pub struct IFsrmFileManagementJob_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetParameters: usize, pub RunningStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmReportRunningStatus) -> windows_core::HRESULT, - pub LastError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastReportPathWithoutExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastReportPathWithoutExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LastRun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub FileNamePattern: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFileNamePattern: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileNamePattern: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileNamePattern: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportGenerationContext) -> windows_core::HRESULT, pub WaitForCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1667,7 +1667,7 @@ pub struct IFsrmFileManagementJob_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] EnumNotificationActions: usize, #[cfg(feature = "Win32_System_Com")] - pub CreatePropertyCondition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePropertyCondition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreatePropertyCondition: usize, #[cfg(feature = "Win32_System_Com")] @@ -1681,7 +1681,7 @@ windows_core::imp::define_interface!(IFsrmFileManagementJobManager, IFsrmFileMan impl std::ops::Deref for IFsrmFileManagementJobManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1690,22 +1690,22 @@ windows_core::imp::interface_hierarchy!(IFsrmFileManagementJobManager, windows_c impl IFsrmFileManagementJobManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionVariables)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionVariableDescriptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumFileManagementJobs(&self, options: FsrmEnumOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFileManagementJobs)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateFileManagementJob(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFileManagementJob)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1713,7 +1713,7 @@ impl IFsrmFileManagementJobManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileManagementJob)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1738,7 +1738,7 @@ pub struct IFsrmFileManagementJobManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateFileManagementJob: usize, #[cfg(feature = "Win32_System_Com")] - pub GetFileManagementJob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileManagementJob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFileManagementJob: usize, } @@ -1748,7 +1748,7 @@ windows_core::imp::define_interface!(IFsrmFileScreen, IFsrmFileScreen_Vtbl, 0x5f impl std::ops::Deref for IFsrmFileScreen { type Target = IFsrmFileScreenBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1756,23 +1756,23 @@ windows_core::imp::interface_hierarchy!(IFsrmFileScreen, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreen { pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SourceTemplateName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceTemplateName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MatchesSourceTemplate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MatchesSourceTemplate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UserSid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserSid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserAccount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserAccount)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ApplyTemplate(&self, filescreentemplatename: P0) -> windows_core::Result<()> @@ -1786,12 +1786,12 @@ impl IFsrmFileScreen { #[repr(C)] pub struct IFsrmFileScreen_Vtbl { pub base__: IFsrmFileScreenBase_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SourceTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MatchesSourceTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub UserSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ApplyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileScreenBase, IFsrmFileScreenBase_Vtbl, 0xf3637e80_5b22_4a2b_a637_bbb642b41cfc); @@ -1799,7 +1799,7 @@ windows_core::imp::define_interface!(IFsrmFileScreenBase, IFsrmFileScreenBase_Vt impl std::ops::Deref for IFsrmFileScreenBase { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1808,7 +1808,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileScreenBase, windows_core::IUnkn impl IFsrmFileScreenBase { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BlockedFileGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockedFileGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1819,7 +1819,7 @@ impl IFsrmFileScreenBase { (windows_core::Interface::vtable(self).SetBlockedFileGroups)(windows_core::Interface::as_raw(self), blocklist.param().abi()).ok() } pub unsafe fn FileScreenFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileScreenFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFileScreenFlags(&self, filescreenflags: i32) -> windows_core::Result<()> { @@ -1827,12 +1827,12 @@ impl IFsrmFileScreenBase { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAction(&self, actiontype: FsrmActionType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAction)(windows_core::Interface::as_raw(self), actiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumActions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumActions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1865,7 +1865,7 @@ windows_core::imp::define_interface!(IFsrmFileScreenException, IFsrmFileScreenEx impl std::ops::Deref for IFsrmFileScreenException { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1873,12 +1873,12 @@ windows_core::imp::interface_hierarchy!(IFsrmFileScreenException, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenException { pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AllowedFileGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowedFileGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1893,7 +1893,7 @@ impl IFsrmFileScreenException { #[repr(C)] pub struct IFsrmFileScreenException_Vtbl { pub base__: IFsrmObject_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AllowedFileGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1909,7 +1909,7 @@ windows_core::imp::define_interface!(IFsrmFileScreenManager, IFsrmFileScreenMana impl std::ops::Deref for IFsrmFileScreenManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1918,12 +1918,12 @@ windows_core::imp::interface_hierarchy!(IFsrmFileScreenManager, windows_core::IU impl IFsrmFileScreenManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionVariables)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionVariableDescriptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1931,7 +1931,7 @@ impl IFsrmFileScreenManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFileScreen)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1939,7 +1939,7 @@ impl IFsrmFileScreenManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileScreen)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1947,7 +1947,7 @@ impl IFsrmFileScreenManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFileScreens)(windows_core::Interface::as_raw(self), path.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1955,7 +1955,7 @@ impl IFsrmFileScreenManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFileScreenException)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1963,7 +1963,7 @@ impl IFsrmFileScreenManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileScreenException)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1971,12 +1971,12 @@ impl IFsrmFileScreenManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFileScreenExceptions)(windows_core::Interface::as_raw(self), path.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateFileScreenCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFileScreenCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1993,27 +1993,27 @@ pub struct IFsrmFileScreenManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ActionVariableDescriptions: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateFileScreen: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFileScreen: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateFileScreen: usize, #[cfg(feature = "Win32_System_Com")] - pub GetFileScreen: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileScreen: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFileScreen: usize, #[cfg(feature = "Win32_System_Com")] - pub EnumFileScreens: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnumFileScreens: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumFileScreens: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateFileScreenException: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFileScreenException: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateFileScreenException: usize, #[cfg(feature = "Win32_System_Com")] - pub GetFileScreenException: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileScreenException: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFileScreenException: usize, #[cfg(feature = "Win32_System_Com")] - pub EnumFileScreenExceptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnumFileScreenExceptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumFileScreenExceptions: usize, #[cfg(feature = "Win32_System_Com")] @@ -2027,7 +2027,7 @@ windows_core::imp::define_interface!(IFsrmFileScreenTemplate, IFsrmFileScreenTem impl std::ops::Deref for IFsrmFileScreenTemplate { type Target = IFsrmFileScreenBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2035,7 +2035,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileScreenTemplate, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenTemplate { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -2052,7 +2052,7 @@ impl IFsrmFileScreenTemplate { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommitAndUpdateDerived(&self, commitoptions: FsrmCommitOptions, applyoptions: FsrmTemplateApplyOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitAndUpdateDerived)(windows_core::Interface::as_raw(self), commitoptions, applyoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2060,9 +2060,9 @@ impl IFsrmFileScreenTemplate { #[repr(C)] pub struct IFsrmFileScreenTemplate_Vtbl { pub base__: IFsrmFileScreenBase_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CopyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CommitAndUpdateDerived: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmCommitOptions, FsrmTemplateApplyOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2074,7 +2074,7 @@ windows_core::imp::define_interface!(IFsrmFileScreenTemplateImported, IFsrmFileS impl std::ops::Deref for IFsrmFileScreenTemplateImported { type Target = IFsrmFileScreenTemplate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2082,7 +2082,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileScreenTemplateImported, windows #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenTemplateImported { pub unsafe fn OverwriteOnCommit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OverwriteOnCommit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOverwriteOnCommit(&self, overwrite: P0) -> windows_core::Result<()> @@ -2105,7 +2105,7 @@ windows_core::imp::define_interface!(IFsrmFileScreenTemplateManager, IFsrmFileSc impl std::ops::Deref for IFsrmFileScreenTemplateManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2114,7 +2114,7 @@ windows_core::imp::interface_hierarchy!(IFsrmFileScreenTemplateManager, windows_ impl IFsrmFileScreenTemplateManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTemplate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTemplate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2122,16 +2122,16 @@ impl IFsrmFileScreenTemplateManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTemplate)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumTemplates(&self, options: FsrmEnumOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumTemplates)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExportTemplates(&self, filescreentemplatenamesarray: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExportTemplates)(windows_core::Interface::as_raw(self), core::mem::transmute(filescreentemplatenamesarray), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2139,7 +2139,7 @@ impl IFsrmFileScreenTemplateManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportTemplates)(windows_core::Interface::as_raw(self), serializedfilescreentemplates.param().abi(), core::mem::transmute(filescreentemplatenamesarray), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2152,16 +2152,16 @@ pub struct IFsrmFileScreenTemplateManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateTemplate: usize, #[cfg(feature = "Win32_System_Com")] - pub GetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetTemplate: usize, #[cfg(feature = "Win32_System_Com")] pub EnumTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumTemplates: usize, - pub ExportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ImportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ImportTemplates: usize, } @@ -2171,7 +2171,7 @@ windows_core::imp::define_interface!(IFsrmMutableCollection, IFsrmMutableCollect impl std::ops::Deref for IFsrmMutableCollection { type Target = IFsrmCollection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2192,7 +2192,7 @@ impl IFsrmMutableCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2200,7 +2200,7 @@ impl IFsrmMutableCollection { #[repr(C)] pub struct IFsrmMutableCollection_Vtbl { pub base__: IFsrmCollection_Vtbl, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub RemoveById: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2214,7 +2214,7 @@ windows_core::imp::define_interface!(IFsrmObject, IFsrmObject_Vtbl, 0x22bcef93_4 impl std::ops::Deref for IFsrmObject { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2222,11 +2222,11 @@ windows_core::imp::interface_hierarchy!(IFsrmObject, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IFsrmObject { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, description: P0) -> windows_core::Result<()> @@ -2247,8 +2247,8 @@ impl IFsrmObject { pub struct IFsrmObject_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -2258,7 +2258,7 @@ windows_core::imp::define_interface!(IFsrmPathMapper, IFsrmPathMapper_Vtbl, 0x6f impl std::ops::Deref for IFsrmPathMapper { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2270,7 +2270,7 @@ impl IFsrmPathMapper { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSharePathsForLocalPath)(windows_core::Interface::as_raw(self), localpath.param().abi(), &mut result__).map(|| result__) } } @@ -2279,7 +2279,7 @@ impl IFsrmPathMapper { pub struct IFsrmPathMapper_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetSharePathsForLocalPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, + pub GetSharePathsForLocalPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetSharePathsForLocalPath: usize, } @@ -2289,7 +2289,7 @@ windows_core::imp::define_interface!(IFsrmPipelineModuleConnector, IFsrmPipeline impl std::ops::Deref for IFsrmPipelineModuleConnector { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2298,19 +2298,19 @@ windows_core::imp::interface_hierarchy!(IFsrmPipelineModuleConnector, windows_co impl IFsrmPipelineModuleConnector { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ModuleImplementation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModuleImplementation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModuleName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModuleName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HostingUserAccount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HostingUserAccount)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HostingProcessPid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HostingProcessPid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2330,8 +2330,8 @@ pub struct IFsrmPipelineModuleConnector_Vtbl { pub ModuleImplementation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ModuleImplementation: usize, - pub ModuleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HostingUserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModuleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HostingUserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HostingProcessPid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Bind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2344,7 +2344,7 @@ windows_core::imp::define_interface!(IFsrmPipelineModuleDefinition, IFsrmPipelin impl std::ops::Deref for IFsrmPipelineModuleDefinition { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2352,7 +2352,7 @@ windows_core::imp::interface_hierarchy!(IFsrmPipelineModuleDefinition, windows_c #[cfg(feature = "Win32_System_Com")] impl IFsrmPipelineModuleDefinition { pub unsafe fn ModuleClsid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModuleClsid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetModuleClsid(&self, moduleclsid: P0) -> windows_core::Result<()> @@ -2362,7 +2362,7 @@ impl IFsrmPipelineModuleDefinition { (windows_core::Interface::vtable(self).SetModuleClsid)(windows_core::Interface::as_raw(self), moduleclsid.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -2372,7 +2372,7 @@ impl IFsrmPipelineModuleDefinition { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn Company(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Company)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCompany(&self, company: P0) -> windows_core::Result<()> @@ -2382,7 +2382,7 @@ impl IFsrmPipelineModuleDefinition { (windows_core::Interface::vtable(self).SetCompany)(windows_core::Interface::as_raw(self), company.param().abi()).ok() } pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVersion(&self, version: P0) -> windows_core::Result<()> @@ -2392,11 +2392,11 @@ impl IFsrmPipelineModuleDefinition { (windows_core::Interface::vtable(self).SetVersion)(windows_core::Interface::as_raw(self), version.param().abi()).ok() } pub unsafe fn ModuleType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModuleType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -2406,7 +2406,7 @@ impl IFsrmPipelineModuleDefinition { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn NeedsFileContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NeedsFileContent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNeedsFileContent(&self, needsfilecontent: P0) -> windows_core::Result<()> @@ -2416,7 +2416,7 @@ impl IFsrmPipelineModuleDefinition { (windows_core::Interface::vtable(self).SetNeedsFileContent)(windows_core::Interface::as_raw(self), needsfilecontent.param().abi()).ok() } pub unsafe fn Account(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Account)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccount(&self, retrievalaccount: FsrmAccountType) -> windows_core::Result<()> { @@ -2424,7 +2424,7 @@ impl IFsrmPipelineModuleDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedExtensions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedExtensions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2433,7 +2433,7 @@ impl IFsrmPipelineModuleDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2445,14 +2445,14 @@ impl IFsrmPipelineModuleDefinition { #[repr(C)] pub struct IFsrmPipelineModuleDefinition_Vtbl { pub base__: IFsrmObject_Vtbl, - pub ModuleClsid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetModuleClsid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Company: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCompany: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModuleClsid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetModuleClsid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Company: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCompany: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ModuleType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmPipelineModuleType) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -2483,7 +2483,7 @@ windows_core::imp::define_interface!(IFsrmPipelineModuleImplementation, IFsrmPip impl std::ops::Deref for IFsrmPipelineModuleImplementation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2495,7 +2495,7 @@ impl IFsrmPipelineModuleImplementation { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnLoad)(windows_core::Interface::as_raw(self), moduledefinition.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnUnload(&self) -> windows_core::Result<()> { @@ -2518,7 +2518,7 @@ windows_core::imp::define_interface!(IFsrmProperty, IFsrmProperty_Vtbl, 0x4a73fe impl std::ops::Deref for IFsrmProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2526,20 +2526,20 @@ windows_core::imp::interface_hierarchy!(IFsrmProperty, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IFsrmProperty { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Sources(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Sources)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PropertyFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2547,8 +2547,8 @@ impl IFsrmProperty { #[repr(C)] pub struct IFsrmProperty_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Sources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2561,7 +2561,7 @@ windows_core::imp::define_interface!(IFsrmPropertyBag, IFsrmPropertyBag_Vtbl, 0x impl std::ops::Deref for IFsrmPropertyBag { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2569,73 +2569,73 @@ windows_core::imp::interface_hierarchy!(IFsrmPropertyBag, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyBag { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RelativePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RelativePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VolumeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RelativeNamespaceRoot(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RelativeNamespaceRoot)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VolumeIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FileId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ParentDirectoryId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentDirectoryId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Size(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SizeAllocated(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeAllocated)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreationTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreationTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastAccessTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastAccessTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastModificationTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastModificationTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Attributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OwnerSid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OwnerSid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilePropertyNames(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FilePropertyNames)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Messages(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Messages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PropertyBagFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyBagFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2643,7 +2643,7 @@ impl IFsrmPropertyBag { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileProperty)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFileProperty(&self, name: P0, value: P1) -> windows_core::Result<()> @@ -2660,7 +2660,7 @@ impl IFsrmPropertyBag { (windows_core::Interface::vtable(self).AddMessage)(windows_core::Interface::as_raw(self), message.param().abi()).ok() } pub unsafe fn GetFileStreamInterface(&self, accessmode: FsrmFileStreamingMode, interfacetype: FsrmFileStreamingInterfaceType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileStreamInterface)(windows_core::Interface::as_raw(self), accessmode, interfacetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2668,20 +2668,20 @@ impl IFsrmPropertyBag { #[repr(C)] pub struct IFsrmPropertyBag_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RelativePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RelativeNamespaceRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RelativePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RelativeNamespaceRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub VolumeIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub FileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ParentDirectoryId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SizeAllocated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastAccessTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastModificationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParentDirectoryId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SizeAllocated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastAccessTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastModificationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Attributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub OwnerSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OwnerSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub FilePropertyNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2692,12 +2692,12 @@ pub struct IFsrmPropertyBag_Vtbl { Messages: usize, pub PropertyBagFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFileProperty: usize, - pub SetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFileStreamInterface: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmFileStreamingMode, FsrmFileStreamingInterfaceType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFileStreamInterface: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmFileStreamingMode, FsrmFileStreamingInterfaceType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPropertyBag2, IFsrmPropertyBag2_Vtbl, 0x0e46bdbd_2402_4fed_9c30_9266e6eb2cc9); @@ -2705,7 +2705,7 @@ windows_core::imp::define_interface!(IFsrmPropertyBag2, IFsrmPropertyBag2_Vtbl, impl std::ops::Deref for IFsrmPropertyBag2 { type Target = IFsrmPropertyBag; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2713,12 +2713,12 @@ windows_core::imp::interface_hierarchy!(IFsrmPropertyBag2, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyBag2 { pub unsafe fn GetFieldValue(&self, field: FsrmPropertyBagField) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldValue)(windows_core::Interface::as_raw(self), field, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUntrustedInFileProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUntrustedInFileProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2726,7 +2726,7 @@ impl IFsrmPropertyBag2 { #[repr(C)] pub struct IFsrmPropertyBag2_Vtbl { pub base__: IFsrmPropertyBag_Vtbl, - pub GetFieldValue: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyBagField, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFieldValue: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyBagField, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetUntrustedInFileProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2738,7 +2738,7 @@ windows_core::imp::define_interface!(IFsrmPropertyCondition, IFsrmPropertyCondit impl std::ops::Deref for IFsrmPropertyCondition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2746,7 +2746,7 @@ windows_core::imp::interface_hierarchy!(IFsrmPropertyCondition, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyCondition { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -2756,14 +2756,14 @@ impl IFsrmPropertyCondition { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetType(&self, r#type: FsrmPropertyConditionType) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetType)(windows_core::Interface::as_raw(self), r#type).ok() } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, value: P0) -> windows_core::Result<()> @@ -2780,12 +2780,12 @@ impl IFsrmPropertyCondition { #[repr(C)] pub struct IFsrmPropertyCondition_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmPropertyConditionType) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyConditionType) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2794,7 +2794,7 @@ windows_core::imp::define_interface!(IFsrmPropertyDefinition, IFsrmPropertyDefin impl std::ops::Deref for IFsrmPropertyDefinition { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2802,7 +2802,7 @@ windows_core::imp::interface_hierarchy!(IFsrmPropertyDefinition, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinition { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -2812,7 +2812,7 @@ impl IFsrmPropertyDefinition { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetType(&self, r#type: FsrmPropertyDefinitionType) -> windows_core::Result<()> { @@ -2820,7 +2820,7 @@ impl IFsrmPropertyDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PossibleValues(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PossibleValues)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2829,7 +2829,7 @@ impl IFsrmPropertyDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValueDescriptions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValueDescriptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2838,7 +2838,7 @@ impl IFsrmPropertyDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2850,8 +2850,8 @@ impl IFsrmPropertyDefinition { #[repr(C)] pub struct IFsrmPropertyDefinition_Vtbl { pub base__: IFsrmObject_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmPropertyDefinitionType) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmPropertyDefinitionType) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2885,7 +2885,7 @@ windows_core::imp::define_interface!(IFsrmPropertyDefinition2, IFsrmPropertyDefi impl std::ops::Deref for IFsrmPropertyDefinition2 { type Target = IFsrmPropertyDefinition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2893,11 +2893,11 @@ windows_core::imp::interface_hierarchy!(IFsrmPropertyDefinition2, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinition2 { pub unsafe fn PropertyDefinitionFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyDefinitionFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDisplayName(&self, name: P0) -> windows_core::Result<()> @@ -2907,12 +2907,12 @@ impl IFsrmPropertyDefinition2 { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn AppliesTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppliesTo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValueDefinitions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValueDefinitions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2921,8 +2921,8 @@ impl IFsrmPropertyDefinition2 { pub struct IFsrmPropertyDefinition2_Vtbl { pub base__: IFsrmPropertyDefinition_Vtbl, pub PropertyDefinitionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppliesTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ValueDefinitions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2935,7 +2935,7 @@ windows_core::imp::define_interface!(IFsrmPropertyDefinitionValue, IFsrmProperty impl std::ops::Deref for IFsrmPropertyDefinitionValue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2943,19 +2943,19 @@ windows_core::imp::interface_hierarchy!(IFsrmPropertyDefinitionValue, windows_co #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinitionValue { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UniqueID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UniqueID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2963,10 +2963,10 @@ impl IFsrmPropertyDefinitionValue { #[repr(C)] pub struct IFsrmPropertyDefinitionValue_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UniqueID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UniqueID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuota, IFsrmQuota_Vtbl, 0x377f739d_9647_4b8e_97d2_5ffce6d759cd); @@ -2974,7 +2974,7 @@ windows_core::imp::define_interface!(IFsrmQuota, IFsrmQuota_Vtbl, 0x377f739d_964 impl std::ops::Deref for IFsrmQuota { type Target = IFsrmQuotaObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2982,15 +2982,15 @@ windows_core::imp::interface_hierarchy!(IFsrmQuota, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IFsrmQuota { pub unsafe fn QuotaUsed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuotaUsed)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QuotaPeakUsage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuotaPeakUsage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QuotaPeakUsageTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuotaPeakUsageTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResetPeakUsage(&self) -> windows_core::Result<()> { @@ -3004,8 +3004,8 @@ impl IFsrmQuota { #[repr(C)] pub struct IFsrmQuota_Vtbl { pub base__: IFsrmQuotaObject_Vtbl, - pub QuotaUsed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub QuotaPeakUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QuotaUsed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub QuotaPeakUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub QuotaPeakUsageTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub ResetPeakUsage: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RefreshUsageProperties: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3016,7 +3016,7 @@ windows_core::imp::define_interface!(IFsrmQuotaBase, IFsrmQuotaBase_Vtbl, 0x1568 impl std::ops::Deref for IFsrmQuotaBase { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3024,7 +3024,7 @@ windows_core::imp::interface_hierarchy!(IFsrmQuotaBase, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaBase { pub unsafe fn QuotaLimit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuotaLimit)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetQuotaLimit(&self, quotalimit: P0) -> windows_core::Result<()> @@ -3034,7 +3034,7 @@ impl IFsrmQuotaBase { (windows_core::Interface::vtable(self).SetQuotaLimit)(windows_core::Interface::as_raw(self), quotalimit.param().abi()).ok() } pub unsafe fn QuotaFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuotaFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetQuotaFlags(&self, quotaflags: i32) -> windows_core::Result<()> { @@ -3042,7 +3042,7 @@ impl IFsrmQuotaBase { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Thresholds(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Thresholds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddThreshold(&self, threshold: i32) -> windows_core::Result<()> { @@ -3056,12 +3056,12 @@ impl IFsrmQuotaBase { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateThresholdAction(&self, threshold: i32, actiontype: FsrmActionType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateThresholdAction)(windows_core::Interface::as_raw(self), threshold, actiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumThresholdActions(&self, threshold: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumThresholdActions)(windows_core::Interface::as_raw(self), threshold, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3069,8 +3069,8 @@ impl IFsrmQuotaBase { #[repr(C)] pub struct IFsrmQuotaBase_Vtbl { pub base__: IFsrmObject_Vtbl, - pub QuotaLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetQuotaLimit: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QuotaLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetQuotaLimit: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub QuotaFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetQuotaFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -3095,7 +3095,7 @@ windows_core::imp::define_interface!(IFsrmQuotaManager, IFsrmQuotaManager_Vtbl, impl std::ops::Deref for IFsrmQuotaManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3104,12 +3104,12 @@ windows_core::imp::interface_hierarchy!(IFsrmQuotaManager, windows_core::IUnknow impl IFsrmQuotaManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariables(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionVariables)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActionVariableDescriptions(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActionVariableDescriptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3117,7 +3117,7 @@ impl IFsrmQuotaManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateQuota)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3126,7 +3126,7 @@ impl IFsrmQuotaManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAutoApplyQuota)(windows_core::Interface::as_raw(self), quotatemplatename.param().abi(), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3134,7 +3134,7 @@ impl IFsrmQuotaManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQuota)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3142,7 +3142,7 @@ impl IFsrmQuotaManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutoApplyQuota)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3150,7 +3150,7 @@ impl IFsrmQuotaManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestrictiveQuota)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3158,7 +3158,7 @@ impl IFsrmQuotaManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumQuotas)(windows_core::Interface::as_raw(self), path.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3166,7 +3166,7 @@ impl IFsrmQuotaManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAutoApplyQuotas)(windows_core::Interface::as_raw(self), path.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3174,7 +3174,7 @@ impl IFsrmQuotaManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumEffectiveQuotas)(windows_core::Interface::as_raw(self), path.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Scan(&self, strpath: P0) -> windows_core::Result<()> @@ -3185,7 +3185,7 @@ impl IFsrmQuotaManager { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateQuotaCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateQuotaCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3202,38 +3202,38 @@ pub struct IFsrmQuotaManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ActionVariableDescriptions: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateQuota: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateQuota: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateQuota: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateAutoApplyQuota: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateAutoApplyQuota: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateAutoApplyQuota: usize, #[cfg(feature = "Win32_System_Com")] - pub GetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetQuota: usize, #[cfg(feature = "Win32_System_Com")] - pub GetAutoApplyQuota: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAutoApplyQuota: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetAutoApplyQuota: usize, #[cfg(feature = "Win32_System_Com")] - pub GetRestrictiveQuota: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetRestrictiveQuota: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetRestrictiveQuota: usize, #[cfg(feature = "Win32_System_Com")] - pub EnumQuotas: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnumQuotas: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumQuotas: usize, #[cfg(feature = "Win32_System_Com")] - pub EnumAutoApplyQuotas: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnumAutoApplyQuotas: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumAutoApplyQuotas: usize, #[cfg(feature = "Win32_System_Com")] - pub EnumEffectiveQuotas: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnumEffectiveQuotas: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumEffectiveQuotas: usize, - pub Scan: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Scan: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateQuotaCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3245,7 +3245,7 @@ windows_core::imp::define_interface!(IFsrmQuotaManagerEx, IFsrmQuotaManagerEx_Vt impl std::ops::Deref for IFsrmQuotaManagerEx { type Target = IFsrmQuotaManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3256,7 +3256,7 @@ impl IFsrmQuotaManagerEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAffectedByQuota)(windows_core::Interface::as_raw(self), path.param().abi(), options, &mut result__).map(|| result__) } } @@ -3264,7 +3264,7 @@ impl IFsrmQuotaManagerEx { #[repr(C)] pub struct IFsrmQuotaManagerEx_Vtbl { pub base__: IFsrmQuotaManager_Vtbl, - pub IsAffectedByQuota: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, FsrmEnumOptions, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsAffectedByQuota: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, FsrmEnumOptions, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuotaObject, IFsrmQuotaObject_Vtbl, 0x42dc3511_61d5_48ae_b6dc_59fc00c0a8d6); @@ -3272,7 +3272,7 @@ windows_core::imp::define_interface!(IFsrmQuotaObject, IFsrmQuotaObject_Vtbl, 0x impl std::ops::Deref for IFsrmQuotaObject { type Target = IFsrmQuotaBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3280,23 +3280,23 @@ windows_core::imp::interface_hierarchy!(IFsrmQuotaObject, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaObject { pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserSid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserSid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserAccount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserAccount)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SourceTemplateName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceTemplateName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MatchesSourceTemplate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MatchesSourceTemplate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ApplyTemplate(&self, quotatemplatename: P0) -> windows_core::Result<()> @@ -3310,12 +3310,12 @@ impl IFsrmQuotaObject { #[repr(C)] pub struct IFsrmQuotaObject_Vtbl { pub base__: IFsrmQuotaBase_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SourceTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceTemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MatchesSourceTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ApplyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuotaTemplate, IFsrmQuotaTemplate_Vtbl, 0xa2efab31_295e_46bb_b976_e86d58b52e8b); @@ -3323,7 +3323,7 @@ windows_core::imp::define_interface!(IFsrmQuotaTemplate, IFsrmQuotaTemplate_Vtbl impl std::ops::Deref for IFsrmQuotaTemplate { type Target = IFsrmQuotaBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3331,7 +3331,7 @@ windows_core::imp::interface_hierarchy!(IFsrmQuotaTemplate, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaTemplate { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -3348,7 +3348,7 @@ impl IFsrmQuotaTemplate { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommitAndUpdateDerived(&self, commitoptions: FsrmCommitOptions, applyoptions: FsrmTemplateApplyOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitAndUpdateDerived)(windows_core::Interface::as_raw(self), commitoptions, applyoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3356,9 +3356,9 @@ impl IFsrmQuotaTemplate { #[repr(C)] pub struct IFsrmQuotaTemplate_Vtbl { pub base__: IFsrmQuotaBase_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CopyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CommitAndUpdateDerived: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmCommitOptions, FsrmTemplateApplyOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3370,7 +3370,7 @@ windows_core::imp::define_interface!(IFsrmQuotaTemplateImported, IFsrmQuotaTempl impl std::ops::Deref for IFsrmQuotaTemplateImported { type Target = IFsrmQuotaTemplate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3378,7 +3378,7 @@ windows_core::imp::interface_hierarchy!(IFsrmQuotaTemplateImported, windows_core #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaTemplateImported { pub unsafe fn OverwriteOnCommit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OverwriteOnCommit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOverwriteOnCommit(&self, overwrite: P0) -> windows_core::Result<()> @@ -3401,7 +3401,7 @@ windows_core::imp::define_interface!(IFsrmQuotaTemplateManager, IFsrmQuotaTempla impl std::ops::Deref for IFsrmQuotaTemplateManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3410,7 +3410,7 @@ windows_core::imp::interface_hierarchy!(IFsrmQuotaTemplateManager, windows_core: impl IFsrmQuotaTemplateManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTemplate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTemplate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3418,16 +3418,16 @@ impl IFsrmQuotaTemplateManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTemplate)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumTemplates(&self, options: FsrmEnumOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumTemplates)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExportTemplates(&self, quotatemplatenamesarray: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExportTemplates)(windows_core::Interface::as_raw(self), core::mem::transmute(quotatemplatenamesarray), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3435,7 +3435,7 @@ impl IFsrmQuotaTemplateManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportTemplates)(windows_core::Interface::as_raw(self), serializedquotatemplates.param().abi(), core::mem::transmute(quotatemplatenamesarray), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3448,16 +3448,16 @@ pub struct IFsrmQuotaTemplateManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateTemplate: usize, #[cfg(feature = "Win32_System_Com")] - pub GetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetTemplate: usize, #[cfg(feature = "Win32_System_Com")] pub EnumTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmEnumOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumTemplates: usize, - pub ExportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ImportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ImportTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ImportTemplates: usize, } @@ -3467,7 +3467,7 @@ windows_core::imp::define_interface!(IFsrmReport, IFsrmReport_Vtbl, 0xd8cc81d9_4 impl std::ops::Deref for IFsrmReport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3475,11 +3475,11 @@ windows_core::imp::interface_hierarchy!(IFsrmReport, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IFsrmReport { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -3489,7 +3489,7 @@ impl IFsrmReport { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, description: P0) -> windows_core::Result<()> @@ -3499,11 +3499,11 @@ impl IFsrmReport { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), description.param().abi()).ok() } pub unsafe fn LastGeneratedFileNamePrefix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastGeneratedFileNamePrefix)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilter(&self, filter: FsrmReportFilter) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilter)(windows_core::Interface::as_raw(self), filter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFilter(&self, filter: FsrmReportFilter, filtervalue: P0) -> windows_core::Result<()> @@ -3521,13 +3521,13 @@ impl IFsrmReport { pub struct IFsrmReport_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmReportType) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastGeneratedFileNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportFilter, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportFilter, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastGeneratedFileNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportFilter, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportFilter, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -3536,7 +3536,7 @@ windows_core::imp::define_interface!(IFsrmReportJob, IFsrmReportJob_Vtbl, 0x38e8 impl std::ops::Deref for IFsrmReportJob { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3544,7 +3544,7 @@ windows_core::imp::interface_hierarchy!(IFsrmReportJob, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IFsrmReportJob { pub unsafe fn Task(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Task)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTask(&self, taskname: P0) -> windows_core::Result<()> @@ -3555,7 +3555,7 @@ impl IFsrmReportJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamespaceRoots)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3564,7 +3564,7 @@ impl IFsrmReportJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Formats(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Formats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3572,7 +3572,7 @@ impl IFsrmReportJob { (windows_core::Interface::vtable(self).SetFormats)(windows_core::Interface::as_raw(self), formats).ok() } pub unsafe fn MailTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailTo(&self, mailto: P0) -> windows_core::Result<()> @@ -3582,36 +3582,36 @@ impl IFsrmReportJob { (windows_core::Interface::vtable(self).SetMailTo)(windows_core::Interface::as_raw(self), mailto.param().abi()).ok() } pub unsafe fn RunningStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RunningStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastRun(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastRun)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastError)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastGeneratedInDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastGeneratedInDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumReports(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumReports)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateReport(&self, reporttype: FsrmReportType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateReport)(windows_core::Interface::as_raw(self), reporttype, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitForCompletion)(windows_core::Interface::as_raw(self), waitseconds, &mut result__).map(|| result__) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -3622,8 +3622,8 @@ impl IFsrmReportJob { #[repr(C)] pub struct IFsrmReportJob_Vtbl { pub base__: IFsrmObject_Vtbl, - pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub NamespaceRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3640,12 +3640,12 @@ pub struct IFsrmReportJob_Vtbl { pub SetFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetFormats: usize, - pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RunningStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmReportRunningStatus) -> windows_core::HRESULT, pub LastRun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub LastError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastGeneratedInDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastGeneratedInDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EnumReports: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3664,7 +3664,7 @@ windows_core::imp::define_interface!(IFsrmReportManager, IFsrmReportManager_Vtbl impl std::ops::Deref for IFsrmReportManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3673,12 +3673,12 @@ windows_core::imp::interface_hierarchy!(IFsrmReportManager, windows_core::IUnkno impl IFsrmReportManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumReportJobs(&self, options: FsrmEnumOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumReportJobs)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateReportJob(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateReportJob)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3686,11 +3686,11 @@ impl IFsrmReportManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReportJob)(windows_core::Interface::as_raw(self), taskname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputDirectory(&self, context: FsrmReportGenerationContext) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputDirectory)(windows_core::Interface::as_raw(self), context, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputDirectory(&self, context: FsrmReportGenerationContext, path: P0) -> windows_core::Result<()> @@ -3700,11 +3700,11 @@ impl IFsrmReportManager { (windows_core::Interface::vtable(self).SetOutputDirectory)(windows_core::Interface::as_raw(self), context, path.param().abi()).ok() } pub unsafe fn IsFilterValidForReportType(&self, reporttype: FsrmReportType, filter: FsrmReportFilter) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFilterValidForReportType)(windows_core::Interface::as_raw(self), reporttype, filter, &mut result__).map(|| result__) } pub unsafe fn GetDefaultFilter(&self, reporttype: FsrmReportType, filter: FsrmReportFilter) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultFilter)(windows_core::Interface::as_raw(self), reporttype, filter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefaultFilter(&self, reporttype: FsrmReportType, filter: FsrmReportFilter, filtervalue: P0) -> windows_core::Result<()> @@ -3714,7 +3714,7 @@ impl IFsrmReportManager { (windows_core::Interface::vtable(self).SetDefaultFilter)(windows_core::Interface::as_raw(self), reporttype, filter, filtervalue.param().abi()).ok() } pub unsafe fn GetReportSizeLimit(&self, limit: FsrmReportLimit) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReportSizeLimit)(windows_core::Interface::as_raw(self), limit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetReportSizeLimit(&self, limit: FsrmReportLimit, limitvalue: P0) -> windows_core::Result<()> @@ -3737,16 +3737,16 @@ pub struct IFsrmReportManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateReportJob: usize, #[cfg(feature = "Win32_System_Com")] - pub GetReportJob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetReportJob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetReportJob: usize, - pub GetOutputDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportGenerationContext, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOutputDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportGenerationContext, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetOutputDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportGenerationContext, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOutputDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportGenerationContext, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsFilterValidForReportType: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportType, FsrmReportFilter, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetDefaultFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportType, FsrmReportFilter, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDefaultFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportType, FsrmReportFilter, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetReportSizeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportLimit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReportSizeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportLimit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefaultFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportType, FsrmReportFilter, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultFilter: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportType, FsrmReportFilter, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetReportSizeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportLimit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReportSizeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportLimit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmReportScheduler, IFsrmReportScheduler_Vtbl, 0x6879caf9_6617_4484_8719_71c3d8645f94); @@ -3754,7 +3754,7 @@ windows_core::imp::define_interface!(IFsrmReportScheduler, IFsrmReportScheduler_ impl std::ops::Deref for IFsrmReportScheduler { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3789,10 +3789,10 @@ impl IFsrmReportScheduler { #[repr(C)] pub struct IFsrmReportScheduler_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub VerifyNamespaces: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModifyScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VerifyNamespaces: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModifyScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmRule, IFsrmRule_Vtbl, 0xcb0df960_16f5_4495_9079_3f9360d831df); @@ -3800,7 +3800,7 @@ windows_core::imp::define_interface!(IFsrmRule, IFsrmRule_Vtbl, 0xcb0df960_16f5_ impl std::ops::Deref for IFsrmRule { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3808,7 +3808,7 @@ windows_core::imp::interface_hierarchy!(IFsrmRule, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IFsrmRule { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -3818,11 +3818,11 @@ impl IFsrmRule { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn RuleType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RuleType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ModuleDefinitionName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModuleDefinitionName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetModuleDefinitionName(&self, moduledefinitionname: P0) -> windows_core::Result<()> @@ -3833,7 +3833,7 @@ impl IFsrmRule { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceRoots(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamespaceRoots)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3841,7 +3841,7 @@ impl IFsrmRule { (windows_core::Interface::vtable(self).SetNamespaceRoots)(windows_core::Interface::as_raw(self), namespaceroots).ok() } pub unsafe fn RuleFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RuleFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRuleFlags(&self, ruleflags: i32) -> windows_core::Result<()> { @@ -3849,7 +3849,7 @@ impl IFsrmRule { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parameters(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3857,7 +3857,7 @@ impl IFsrmRule { (windows_core::Interface::vtable(self).SetParameters)(windows_core::Interface::as_raw(self), parameters).ok() } pub unsafe fn LastModified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastModified)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3865,11 +3865,11 @@ impl IFsrmRule { #[repr(C)] pub struct IFsrmRule_Vtbl { pub base__: IFsrmObject_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RuleType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FsrmRuleType) -> windows_core::HRESULT, - pub ModuleDefinitionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetModuleDefinitionName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModuleDefinitionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetModuleDefinitionName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub NamespaceRoots: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3888,7 +3888,7 @@ pub struct IFsrmRule_Vtbl { pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetParameters: usize, - pub LastModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmSetting, IFsrmSetting_Vtbl, 0xf411d4fd_14be_4260_8c40_03b7c95e608a); @@ -3896,7 +3896,7 @@ windows_core::imp::define_interface!(IFsrmSetting, IFsrmSetting_Vtbl, 0xf411d4fd impl std::ops::Deref for IFsrmSetting { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3904,7 +3904,7 @@ windows_core::imp::interface_hierarchy!(IFsrmSetting, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IFsrmSetting { pub unsafe fn SmtpServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmtpServer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSmtpServer(&self, smtpserver: P0) -> windows_core::Result<()> @@ -3914,7 +3914,7 @@ impl IFsrmSetting { (windows_core::Interface::vtable(self).SetSmtpServer)(windows_core::Interface::as_raw(self), smtpserver.param().abi()).ok() } pub unsafe fn MailFrom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MailFrom)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMailFrom(&self, mailfrom: P0) -> windows_core::Result<()> @@ -3924,7 +3924,7 @@ impl IFsrmSetting { (windows_core::Interface::vtable(self).SetMailFrom)(windows_core::Interface::as_raw(self), mailfrom.param().abi()).ok() } pub unsafe fn AdminEmail(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminEmail)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAdminEmail(&self, adminemail: P0) -> windows_core::Result<()> @@ -3934,7 +3934,7 @@ impl IFsrmSetting { (windows_core::Interface::vtable(self).SetAdminEmail)(windows_core::Interface::as_raw(self), adminemail.param().abi()).ok() } pub unsafe fn DisableCommandLine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisableCommandLine)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDisableCommandLine(&self, disablecommandline: P0) -> windows_core::Result<()> @@ -3944,7 +3944,7 @@ impl IFsrmSetting { (windows_core::Interface::vtable(self).SetDisableCommandLine)(windows_core::Interface::as_raw(self), disablecommandline.param().abi()).ok() } pub unsafe fn EnableScreeningAudit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableScreeningAudit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableScreeningAudit(&self, enablescreeningaudit: P0) -> windows_core::Result<()> @@ -3963,7 +3963,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActionRunLimitInterval)(windows_core::Interface::as_raw(self), actiontype, &mut result__).map(|| result__) } } @@ -3971,17 +3971,17 @@ impl IFsrmSetting { #[repr(C)] pub struct IFsrmSetting_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SmtpServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSmtpServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MailFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMailFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AdminEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAdminEmail: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SmtpServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSmtpServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MailFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMailFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AdminEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAdminEmail: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DisableCommandLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDisableCommandLine: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub EnableScreeningAudit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnableScreeningAudit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub EmailTest: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EmailTest: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetActionRunLimitInterval: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmActionType, i32) -> windows_core::HRESULT, pub GetActionRunLimitInterval: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmActionType, *mut i32) -> windows_core::HRESULT, } @@ -3991,7 +3991,7 @@ windows_core::imp::define_interface!(IFsrmStorageModuleDefinition, IFsrmStorageM impl std::ops::Deref for IFsrmStorageModuleDefinition { type Target = IFsrmPipelineModuleDefinition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3999,21 +3999,21 @@ windows_core::imp::interface_hierarchy!(IFsrmStorageModuleDefinition, windows_co #[cfg(feature = "Win32_System_Com")] impl IFsrmStorageModuleDefinition { pub unsafe fn Capabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Capabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StorageType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UpdatesFileContent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUpdatesFileContent(&self, updatesfilecontent: P0) -> windows_core::Result<()> @@ -4040,7 +4040,7 @@ windows_core::imp::define_interface!(IFsrmStorageModuleImplementation, IFsrmStor impl std::ops::Deref for IFsrmStorageModuleImplementation { type Target = IFsrmPipelineModuleImplementation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] 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 182183964b..0261d1a8c4 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -485,7 +485,7 @@ where #[inline] pub unsafe fn CreateIoRing(ioringversion: IORING_VERSION, flags: IORING_CREATE_FLAGS, submissionqueuesize: u32, completionqueuesize: u32) -> windows_core::Result { windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn CreateIoRing(ioringversion : IORING_VERSION, flags : IORING_CREATE_FLAGS, submissionqueuesize : u32, completionqueuesize : u32, h : *mut HIORING) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateIoRing(ioringversion, core::mem::transmute(flags), submissionqueuesize, completionqueuesize, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_IO")] @@ -2261,7 +2261,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn PopIoRingCompletion(ioring : HIORING, cqe : *mut IORING_CQE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PopIoRingCompletion(ioring.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -2332,7 +2332,7 @@ where #[inline] pub unsafe fn QueryIoRingCapabilities() -> windows_core::Result { windows_targets::link!("api-ms-win-core-ioring-l1-1-0.dll" "system" fn QueryIoRingCapabilities(capabilities : *mut IORING_CAPABILITIES) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); QueryIoRingCapabilities(&mut result__).map(|| result__) } #[inline] @@ -3027,7 +3027,7 @@ pub unsafe fn TruncateLog(pvmarshal: *const core::ffi::c_void, plsnend: *const C #[inline] pub unsafe fn TxfGetThreadMiniVersionForCreate() -> u16 { windows_targets::link!("txfw32.dll" "system" fn TxfGetThreadMiniVersionForCreate(miniversion : *mut u16)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); TxfGetThreadMiniVersionForCreate(&mut result__); result__ } @@ -3198,7 +3198,7 @@ where P0: windows_core::Param, { windows_targets::link!("wofutil.dll" "system" fn WofGetDriverVersion(fileorvolumehandle : super::super::Foundation:: HANDLE, provider : u32, wofversion : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WofGetDriverVersion(fileorvolumehandle.param().abi(), provider, &mut result__).map(|| result__) } #[inline] @@ -3232,7 +3232,7 @@ where P1: windows_core::Param, { windows_targets::link!("wofutil.dll" "system" fn WofWimAddEntry(volumename : windows_core::PCWSTR, wimpath : windows_core::PCWSTR, wimtype : u32, wimindex : u32, datasourceid : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WofWimAddEntry(volumename.param().abi(), wimpath.param().abi(), wimtype, wimindex, &mut result__).map(|| result__) } #[inline] @@ -3339,7 +3339,7 @@ windows_core::imp::define_interface!(IDiskQuotaControl, IDiskQuotaControl_Vtbl, impl std::ops::Deref for IDiskQuotaControl { type Target = super::super::System::Com::IConnectionPointContainer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3393,14 +3393,14 @@ impl IDiskQuotaControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddUserSid)(windows_core::Interface::as_raw(self), pusersid.param().abi(), fnameresolution, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddUserName(&self, pszlogonname: P0, fnameresolution: DISKQUOTA_USERNAME_RESOLVE) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddUserName)(windows_core::Interface::as_raw(self), pszlogonname.param().abi(), fnameresolution, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteUser(&self, puser: P0) -> windows_core::Result<()> @@ -3413,21 +3413,21 @@ impl IDiskQuotaControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindUserSid)(windows_core::Interface::as_raw(self), pusersid.param().abi(), fnameresolution, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindUserName(&self, pszlogonname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindUserName)(windows_core::Interface::as_raw(self), pszlogonname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateEnumUsers(&self, rgpusersids: *mut super::super::Foundation::PSID, cpsids: u32, fnameresolution: DISKQUOTA_USERNAME_RESOLVE, ppenum: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).CreateEnumUsers)(windows_core::Interface::as_raw(self), rgpusersids, cpsids, fnameresolution, core::mem::transmute(ppenum)).ok() } pub unsafe fn CreateUserBatch(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateUserBatch)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InvalidateSidNameCache(&self) -> windows_core::Result<()> { @@ -3473,7 +3473,7 @@ windows_core::imp::define_interface!(IDiskQuotaEvents, IDiskQuotaEvents_Vtbl, 0x impl std::ops::Deref for IDiskQuotaEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDiskQuotaEvents, windows_core::IUnknown); @@ -3494,7 +3494,7 @@ windows_core::imp::define_interface!(IDiskQuotaUser, IDiskQuotaUser_Vtbl, 0x7988 impl std::ops::Deref for IDiskQuotaUser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDiskQuotaUser, windows_core::IUnknown); @@ -3588,7 +3588,7 @@ windows_core::imp::define_interface!(IDiskQuotaUserBatch, IDiskQuotaUserBatch_Vt impl std::ops::Deref for IDiskQuotaUserBatch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDiskQuotaUserBatch, windows_core::IUnknown); @@ -3624,7 +3624,7 @@ windows_core::imp::define_interface!(IEnumDiskQuotaUsers, IEnumDiskQuotaUsers_Vt impl std::ops::Deref for IEnumDiskQuotaUsers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDiskQuotaUsers, windows_core::IUnknown); @@ -3639,7 +3639,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs index e3eceaee50..06cfa3ee4b 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs @@ -88,12 +88,12 @@ impl windows_core::RuntimeName for DDiscMaster2Events {} #[cfg(feature = "Win32_System_Com")] impl DDiscMaster2Events_Vtbl { pub const fn new, Impl: DDiscMaster2Events_Impl, const OFFSET: isize>() -> DDiscMaster2Events_Vtbl { - unsafe extern "system" fn NotifyDeviceAdded, Impl: DDiscMaster2Events_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, object: *mut core::ffi::c_void, uniqueid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NotifyDeviceAdded, Impl: DDiscMaster2Events_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, object: *mut core::ffi::c_void, uniqueid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); DDiscMaster2Events_Impl::NotifyDeviceAdded(this, windows_core::from_raw_borrowed(&object), core::mem::transmute(&uniqueid)).into() } - unsafe extern "system" fn NotifyDeviceRemoved, Impl: DDiscMaster2Events_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, object: *mut core::ffi::c_void, uniqueid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NotifyDeviceRemoved, Impl: DDiscMaster2Events_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, object: *mut core::ffi::c_void, uniqueid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); DDiscMaster2Events_Impl::NotifyDeviceRemoved(this, windows_core::from_raw_borrowed(&object), core::mem::transmute(&uniqueid)).into() @@ -117,7 +117,7 @@ impl windows_core::RuntimeName for DFileSystemImageEvents {} #[cfg(feature = "Win32_System_Com")] impl DFileSystemImageEvents_Vtbl { pub const fn new, Impl: DFileSystemImageEvents_Impl, const OFFSET: isize>() -> DFileSystemImageEvents_Vtbl { - unsafe extern "system" fn Update, Impl: DFileSystemImageEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, object: *mut core::ffi::c_void, currentfile: std::mem::MaybeUninit, copiedsectors: i32, totalsectors: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Update, Impl: DFileSystemImageEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, object: *mut core::ffi::c_void, currentfile: core::mem::MaybeUninit, copiedsectors: i32, totalsectors: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); DFileSystemImageEvents_Impl::Update(this, windows_core::from_raw_borrowed(&object), core::mem::transmute(¤tfile), core::mem::transmute_copy(&copiedsectors), core::mem::transmute_copy(&totalsectors)).into() @@ -137,7 +137,7 @@ impl windows_core::RuntimeName for DFileSystemImageImportEvents {} #[cfg(feature = "Win32_System_Com")] impl DFileSystemImageImportEvents_Vtbl { pub const fn new, Impl: DFileSystemImageImportEvents_Impl, const OFFSET: isize>() -> DFileSystemImageImportEvents_Vtbl { - unsafe extern "system" fn UpdateImport, Impl: DFileSystemImageImportEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, object: *mut core::ffi::c_void, filesystem: FsiFileSystems, currentitem: std::mem::MaybeUninit, importeddirectoryitems: i32, totaldirectoryitems: i32, importedfileitems: i32, totalfileitems: i32) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateImport, Impl: DFileSystemImageImportEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, object: *mut core::ffi::c_void, filesystem: FsiFileSystems, currentitem: core::mem::MaybeUninit, importeddirectoryitems: i32, totaldirectoryitems: i32, importedfileitems: i32, totalfileitems: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); DFileSystemImageImportEvents_Impl::UpdateImport(this, windows_core::from_raw_borrowed(&object), core::mem::transmute_copy(&filesystem), core::mem::transmute(¤titem), core::mem::transmute_copy(&importeddirectoryitems), core::mem::transmute_copy(&totaldirectoryitems), core::mem::transmute_copy(&importedfileitems), core::mem::transmute_copy(&totalfileitems)).into() @@ -264,7 +264,7 @@ impl IBootOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Manufacturer, Impl: IBootOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Manufacturer, Impl: IBootOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBootOptions_Impl::Manufacturer(this) { @@ -275,7 +275,7 @@ impl IBootOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetManufacturer, Impl: IBootOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetManufacturer, Impl: IBootOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBootOptions_Impl::SetManufacturer(this, core::mem::transmute(&newval)).into() @@ -667,12 +667,12 @@ impl IDiscFormat2Data_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientName, Impl: IDiscFormat2Data_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientName, Impl: IDiscFormat2Data_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDiscFormat2Data_Impl::SetClientName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn ClientName, Impl: IDiscFormat2Data_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientName, Impl: IDiscFormat2Data_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscFormat2Data_Impl::ClientName(this) { @@ -958,12 +958,12 @@ impl IDiscFormat2Erase_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientName, Impl: IDiscFormat2Erase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientName, Impl: IDiscFormat2Erase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDiscFormat2Erase_Impl::SetClientName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn ClientName, Impl: IDiscFormat2Erase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientName, Impl: IDiscFormat2Erase_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscFormat2Erase_Impl::ClientName(this) { @@ -1149,12 +1149,12 @@ impl IDiscFormat2RawCD_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientName, Impl: IDiscFormat2RawCD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientName, Impl: IDiscFormat2RawCD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDiscFormat2RawCD_Impl::SetClientName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn ClientName, Impl: IDiscFormat2RawCD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientName, Impl: IDiscFormat2RawCD_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscFormat2RawCD_Impl::ClientName(this) { @@ -1490,12 +1490,12 @@ impl IDiscFormat2TrackAtOnce_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientName, Impl: IDiscFormat2TrackAtOnce_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientName, Impl: IDiscFormat2TrackAtOnce_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDiscFormat2TrackAtOnce_Impl::SetClientName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn ClientName, Impl: IDiscFormat2TrackAtOnce_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientName, Impl: IDiscFormat2TrackAtOnce_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscFormat2TrackAtOnce_Impl::ClientName(this) { @@ -1823,7 +1823,7 @@ impl IDiscMaster2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IDiscMaster2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IDiscMaster2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscMaster2_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -1994,12 +1994,12 @@ impl IDiscRecorder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDisplayNames, Impl: IDiscRecorder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvendorid: *mut std::mem::MaybeUninit, pbstrproductid: *mut std::mem::MaybeUninit, pbstrrevision: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDisplayNames, Impl: IDiscRecorder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvendorid: *mut core::mem::MaybeUninit, pbstrproductid: *mut core::mem::MaybeUninit, pbstrrevision: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDiscRecorder_Impl::GetDisplayNames(this, core::mem::transmute_copy(&pbstrvendorid), core::mem::transmute_copy(&pbstrproductid), core::mem::transmute_copy(&pbstrrevision)).into() } - unsafe extern "system" fn GetBasePnPID, Impl: IDiscRecorder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbasepnpid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBasePnPID, Impl: IDiscRecorder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbasepnpid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscRecorder_Impl::GetBasePnPID(this) { @@ -2010,7 +2010,7 @@ impl IDiscRecorder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPath, Impl: IDiscRecorder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPath, Impl: IDiscRecorder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscRecorder_Impl::GetPath(this) { @@ -2140,7 +2140,7 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); IDiscRecorder2_Impl::CloseTray(this).into() } - unsafe extern "system" fn AcquireExclusiveAccess, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, force: super::super::Foundation::VARIANT_BOOL, __midl__idiscrecorder20000: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AcquireExclusiveAccess, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, force: super::super::Foundation::VARIANT_BOOL, __midl__idiscrecorder20000: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDiscRecorder2_Impl::AcquireExclusiveAccess(this, core::mem::transmute_copy(&force), core::mem::transmute(&__midl__idiscrecorder20000)).into() @@ -2160,12 +2160,12 @@ impl IDiscRecorder2_Vtbl { let this = (*this).get_impl(); IDiscRecorder2_Impl::EnableMcn(this).into() } - unsafe extern "system" fn InitializeDiscRecorder, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, recorderuniqueid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeDiscRecorder, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, recorderuniqueid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDiscRecorder2_Impl::InitializeDiscRecorder(this, core::mem::transmute(&recorderuniqueid)).into() } - unsafe extern "system" fn ActiveDiscRecorder, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ActiveDiscRecorder, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscRecorder2_Impl::ActiveDiscRecorder(this) { @@ -2176,7 +2176,7 @@ impl IDiscRecorder2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VendorId, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VendorId, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscRecorder2_Impl::VendorId(this) { @@ -2187,7 +2187,7 @@ impl IDiscRecorder2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProductId, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProductId, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscRecorder2_Impl::ProductId(this) { @@ -2198,7 +2198,7 @@ impl IDiscRecorder2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProductRevision, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProductRevision, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscRecorder2_Impl::ProductRevision(this) { @@ -2209,7 +2209,7 @@ impl IDiscRecorder2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VolumeName, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VolumeName, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscRecorder2_Impl::VolumeName(this) { @@ -2308,7 +2308,7 @@ impl IDiscRecorder2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExclusiveAccessOwner, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExclusiveAccessOwner, Impl: IDiscRecorder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDiscRecorder2_Impl::ExclusiveAccessOwner(this) { @@ -2816,7 +2816,7 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VolumeName, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VolumeName, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::VolumeName(this) { @@ -2827,12 +2827,12 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetVolumeName, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetVolumeName, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFileSystemImage_Impl::SetVolumeName(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn ImportedVolumeName, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImportedVolumeName, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::ImportedVolumeName(this) { @@ -2881,7 +2881,7 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn WorkingDirectory, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WorkingDirectory, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::WorkingDirectory(this) { @@ -2892,7 +2892,7 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetWorkingDirectory, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetWorkingDirectory, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFileSystemImage_Impl::SetWorkingDirectory(this, core::mem::transmute(&newval)).into() @@ -3042,7 +3042,7 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Exists, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fullpath: std::mem::MaybeUninit, itemtype: *mut FsiItemType) -> windows_core::HRESULT { + unsafe extern "system" fn Exists, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fullpath: core::mem::MaybeUninit, itemtype: *mut FsiItemType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::Exists(this, core::mem::transmute(&fullpath)) { @@ -3053,7 +3053,7 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CalculateDiscIdentifier, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, discidentifier: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CalculateDiscIdentifier, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, discidentifier: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::CalculateDiscIdentifier(this) { @@ -3112,7 +3112,7 @@ impl IFileSystemImage_Vtbl { let this = (*this).get_impl(); IFileSystemImage_Impl::LockInChangePoint(this).into() } - unsafe extern "system" fn CreateDirectoryItem, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, newitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateDirectoryItem, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, newitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::CreateDirectoryItem(this, core::mem::transmute(&name)) { @@ -3123,7 +3123,7 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateFileItem, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, newitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFileItem, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, newitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::CreateFileItem(this, core::mem::transmute(&name)) { @@ -3134,7 +3134,7 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VolumeNameUDF, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VolumeNameUDF, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::VolumeNameUDF(this) { @@ -3145,7 +3145,7 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VolumeNameJoliet, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VolumeNameJoliet, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::VolumeNameJoliet(this) { @@ -3156,7 +3156,7 @@ impl IFileSystemImage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VolumeNameISO9660, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn VolumeNameISO9660, Impl: IFileSystemImage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImage_Impl::VolumeNameISO9660(this) { @@ -3399,7 +3399,7 @@ impl IFileSystemImageResult_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DiscId, Impl: IFileSystemImageResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DiscId, Impl: IFileSystemImageResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSystemImageResult_Impl::DiscId(this) { @@ -3478,7 +3478,7 @@ impl IFsiDirectoryItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsiDirectoryItem_Impl::get_Item(this, core::mem::transmute(&path)) { @@ -3511,17 +3511,17 @@ impl IFsiDirectoryItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddDirectory, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddDirectory, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsiDirectoryItem_Impl::AddDirectory(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn AddFile, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, filedata: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddFile, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, filedata: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsiDirectoryItem_Impl::AddFile(this, core::mem::transmute(&path), windows_core::from_raw_borrowed(&filedata)).into() } - unsafe extern "system" fn AddTree, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcedirectory: std::mem::MaybeUninit, includebasedirectory: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn AddTree, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcedirectory: core::mem::MaybeUninit, includebasedirectory: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsiDirectoryItem_Impl::AddTree(this, core::mem::transmute(&sourcedirectory), core::mem::transmute_copy(&includebasedirectory)).into() @@ -3531,12 +3531,12 @@ impl IFsiDirectoryItem_Vtbl { let this = (*this).get_impl(); IFsiDirectoryItem_Impl::Add(this, windows_core::from_raw_borrowed(&item)).into() } - unsafe extern "system" fn Remove, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsiDirectoryItem_Impl::Remove(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn RemoveTree, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveTree, Impl: IFsiDirectoryItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsiDirectoryItem_Impl::RemoveTree(this, core::mem::transmute(&path)).into() @@ -3568,7 +3568,7 @@ impl windows_core::RuntimeName for IFsiDirectoryItem2 {} #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] impl IFsiDirectoryItem2_Vtbl { pub const fn new, Impl: IFsiDirectoryItem2_Impl, const OFFSET: isize>() -> IFsiDirectoryItem2_Vtbl { - unsafe extern "system" fn AddTreeWithNamedStreams, Impl: IFsiDirectoryItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcedirectory: std::mem::MaybeUninit, includebasedirectory: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn AddTreeWithNamedStreams, Impl: IFsiDirectoryItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sourcedirectory: core::mem::MaybeUninit, includebasedirectory: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsiDirectoryItem2_Impl::AddTreeWithNamedStreams(this, core::mem::transmute(&sourcedirectory), core::mem::transmute_copy(&includebasedirectory)).into() @@ -3690,12 +3690,12 @@ impl IFsiFileItem2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddStream, Impl: IFsiFileItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, streamdata: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddStream, Impl: IFsiFileItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, streamdata: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsiFileItem2_Impl::AddStream(this, core::mem::transmute(&name), windows_core::from_raw_borrowed(&streamdata)).into() } - unsafe extern "system" fn RemoveStream, Impl: IFsiFileItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveStream, Impl: IFsiFileItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFsiFileItem2_Impl::RemoveStream(this, core::mem::transmute(&name)).into() @@ -3750,7 +3750,7 @@ impl windows_core::RuntimeName for IFsiItem {} #[cfg(feature = "Win32_System_Com")] impl IFsiItem_Vtbl { pub const fn new, Impl: IFsiItem_Impl, const OFFSET: isize>() -> IFsiItem_Vtbl { - unsafe extern "system" fn Name, Impl: IFsiItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFsiItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsiItem_Impl::Name(this) { @@ -3761,7 +3761,7 @@ impl IFsiItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FullPath, Impl: IFsiItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FullPath, Impl: IFsiItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsiItem_Impl::FullPath(this) { @@ -3836,7 +3836,7 @@ impl IFsiItem_Vtbl { let this = (*this).get_impl(); IFsiItem_Impl::SetIsHidden(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn FileSystemName, Impl: IFsiItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filesystem: FsiFileSystems, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileSystemName, Impl: IFsiItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filesystem: FsiFileSystems, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsiItem_Impl::FileSystemName(this, core::mem::transmute_copy(&filesystem)) { @@ -3847,7 +3847,7 @@ impl IFsiItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FileSystemPath, Impl: IFsiItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filesystem: FsiFileSystems, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileSystemPath, Impl: IFsiItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filesystem: FsiFileSystems, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFsiItem_Impl::FileSystemPath(this, core::mem::transmute_copy(&filesystem)) { @@ -3959,7 +3959,7 @@ impl windows_core::RuntimeName for IIsoImageManager {} #[cfg(feature = "Win32_System_Com")] impl IIsoImageManager_Vtbl { pub const fn new, Impl: IIsoImageManager_Impl, const OFFSET: isize>() -> IIsoImageManager_Vtbl { - unsafe extern "system" fn Path, Impl: IIsoImageManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IIsoImageManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIsoImageManager_Impl::Path(this) { @@ -3981,7 +3981,7 @@ impl IIsoImageManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPath, Impl: IIsoImageManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPath, Impl: IIsoImageManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IIsoImageManager_Impl::SetPath(this, core::mem::transmute(&val)).into() @@ -4327,7 +4327,7 @@ impl windows_core::RuntimeName for IProgressItem {} #[cfg(feature = "Win32_System_Com")] impl IProgressItem_Vtbl { pub const fn new, Impl: IProgressItem_Impl, const OFFSET: isize>() -> IProgressItem_Vtbl { - unsafe extern "system" fn Description, Impl: IProgressItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IProgressItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, desc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IProgressItem_Impl::Description(this) { @@ -4441,7 +4441,7 @@ impl IProgressItems_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProgressItemFromDescription, Impl: IProgressItems_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: std::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ProgressItemFromDescription, Impl: IProgressItems_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: core::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IProgressItems_Impl::ProgressItemFromDescription(this, core::mem::transmute(&description)) { @@ -4595,12 +4595,12 @@ impl IRawCDImageCreator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMediaCatalogNumber, Impl: IRawCDImageCreator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMediaCatalogNumber, Impl: IRawCDImageCreator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRawCDImageCreator_Impl::SetMediaCatalogNumber(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn MediaCatalogNumber, Impl: IRawCDImageCreator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MediaCatalogNumber, Impl: IRawCDImageCreator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRawCDImageCreator_Impl::MediaCatalogNumber(this) { @@ -4763,7 +4763,7 @@ impl IRawCDImageTrackInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ISRC, Impl: IRawCDImageTrackInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ISRC, Impl: IRawCDImageTrackInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRawCDImageTrackInfo_Impl::ISRC(this) { @@ -4774,7 +4774,7 @@ impl IRawCDImageTrackInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetISRC, Impl: IRawCDImageTrackInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetISRC, Impl: IRawCDImageTrackInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRawCDImageTrackInfo_Impl::SetISRC(this, core::mem::transmute(&value)).into() 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 04d7c297b3..e6ce9549e7 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs @@ -49,7 +49,7 @@ windows_core::imp::define_interface!(DDiscFormat2DataEvents, DDiscFormat2DataEve impl std::ops::Deref for DDiscFormat2DataEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -80,7 +80,7 @@ windows_core::imp::define_interface!(DDiscFormat2EraseEvents, DDiscFormat2EraseE impl std::ops::Deref for DDiscFormat2EraseEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -110,7 +110,7 @@ windows_core::imp::define_interface!(DDiscFormat2RawCDEvents, DDiscFormat2RawCDE impl std::ops::Deref for DDiscFormat2RawCDEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -141,7 +141,7 @@ windows_core::imp::define_interface!(DDiscFormat2TrackAtOnceEvents, DDiscFormat2 impl std::ops::Deref for DDiscFormat2TrackAtOnceEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -172,7 +172,7 @@ windows_core::imp::define_interface!(DDiscMaster2Events, DDiscMaster2Events_Vtbl impl std::ops::Deref for DDiscMaster2Events { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -201,11 +201,11 @@ impl DDiscMaster2Events { pub struct DDiscMaster2Events_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub NotifyDeviceAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NotifyDeviceAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] NotifyDeviceAdded: usize, #[cfg(feature = "Win32_System_Com")] - pub NotifyDeviceRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NotifyDeviceRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] NotifyDeviceRemoved: usize, } @@ -215,7 +215,7 @@ windows_core::imp::define_interface!(DFileSystemImageEvents, DFileSystemImageEve impl std::ops::Deref for DFileSystemImageEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -236,7 +236,7 @@ impl DFileSystemImageEvents { pub struct DFileSystemImageEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, + pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Update: usize, } @@ -246,7 +246,7 @@ windows_core::imp::define_interface!(DFileSystemImageImportEvents, DFileSystemIm impl std::ops::Deref for DFileSystemImageImportEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -267,7 +267,7 @@ impl DFileSystemImageImportEvents { pub struct DFileSystemImageImportEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub UpdateImport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, FsiFileSystems, std::mem::MaybeUninit, i32, i32, i32, i32) -> windows_core::HRESULT, + pub UpdateImport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, FsiFileSystems, core::mem::MaybeUninit, i32, i32, i32, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] UpdateImport: usize, } @@ -277,7 +277,7 @@ windows_core::imp::define_interface!(DWriteEngine2Events, DWriteEngine2Events_Vt impl std::ops::Deref for DWriteEngine2Events { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -308,7 +308,7 @@ windows_core::imp::define_interface!(IBlockRange, IBlockRange_Vtbl, 0xb507ca25_2 impl std::ops::Deref for IBlockRange { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -316,11 +316,11 @@ windows_core::imp::interface_hierarchy!(IBlockRange, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IBlockRange { pub unsafe fn StartLba(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartLba)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EndLba(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndLba)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -337,7 +337,7 @@ windows_core::imp::define_interface!(IBlockRangeList, IBlockRangeList_Vtbl, 0xb5 impl std::ops::Deref for IBlockRangeList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -346,7 +346,7 @@ windows_core::imp::interface_hierarchy!(IBlockRangeList, windows_core::IUnknown, impl IBlockRangeList { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BlockRanges(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockRanges)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -365,7 +365,7 @@ windows_core::imp::define_interface!(IBootOptions, IBootOptions_Vtbl, 0x2c941fd4 impl std::ops::Deref for IBootOptions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -374,11 +374,11 @@ windows_core::imp::interface_hierarchy!(IBootOptions, windows_core::IUnknown, su impl IBootOptions { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BootImage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Manufacturer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Manufacturer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetManufacturer(&self, newval: P0) -> windows_core::Result<()> @@ -388,21 +388,21 @@ impl IBootOptions { (windows_core::Interface::vtable(self).SetManufacturer)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn PlatformId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlatformId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Emulation)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -421,8 +421,8 @@ pub struct IBootOptions_Vtbl { pub BootImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] BootImage: usize, - pub Manufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Manufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PlatformId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlatformId) -> windows_core::HRESULT, pub SetPlatformId: unsafe extern "system" fn(*mut core::ffi::c_void, PlatformId) -> windows_core::HRESULT, pub Emulation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmulationType) -> windows_core::HRESULT, @@ -437,7 +437,7 @@ windows_core::imp::define_interface!(IBurnVerification, IBurnVerification_Vtbl, impl std::ops::Deref for IBurnVerification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBurnVerification, windows_core::IUnknown); @@ -446,7 +446,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BurnVerificationLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -462,7 +462,7 @@ windows_core::imp::define_interface!(IDiscFormat2, IDiscFormat2_Vtbl, 0x27354152 impl std::ops::Deref for IDiscFormat2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -474,7 +474,7 @@ impl IDiscFormat2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRecorderSupported)(windows_core::Interface::as_raw(self), recorder.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -482,20 +482,20 @@ impl IDiscFormat2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCurrentMediaSupported)(windows_core::Interface::as_raw(self), recorder.param().abi(), &mut result__).map(|| result__) } pub unsafe fn MediaPhysicallyBlank(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaPhysicallyBlank)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MediaHeuristicallyBlank(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaHeuristicallyBlank)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedMediaTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedMediaTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -524,7 +524,7 @@ windows_core::imp::define_interface!(IDiscFormat2Data, IDiscFormat2Data_Vtbl, 0x impl std::ops::Deref for IDiscFormat2Data { type Target = IDiscFormat2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -540,7 +540,7 @@ impl IDiscFormat2Data { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recorder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recorder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBufferUnderrunFreeDisabled(&self, value: P0) -> windows_core::Result<()> @@ -550,7 +550,7 @@ impl IDiscFormat2Data { (windows_core::Interface::vtable(self).SetBufferUnderrunFreeDisabled)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn BufferUnderrunFreeDisabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BufferUnderrunFreeDisabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPostgapAlreadyInImage(&self, value: P0) -> windows_core::Result<()> @@ -560,35 +560,35 @@ impl IDiscFormat2Data { (windows_core::Interface::vtable(self).SetPostgapAlreadyInImage)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn PostgapAlreadyInImage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PostgapAlreadyInImage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentMediaStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentMediaStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WriteProtectStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteProtectStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalSectorsOnMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalSectorsOnMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FreeSectorsOnMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FreeSectorsOnMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NextWritableAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextWritableAddress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StartAddressOfPreviousSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartAddressOfPreviousSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastWrittenAddressOfPreviousSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastWrittenAddressOfPreviousSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetForceMediaToBeClosed(&self, value: P0) -> windows_core::Result<()> @@ -598,7 +598,7 @@ impl IDiscFormat2Data { (windows_core::Interface::vtable(self).SetForceMediaToBeClosed)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ForceMediaToBeClosed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ForceMediaToBeClosed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDisableConsumerDvdCompatibilityMode(&self, value: P0) -> windows_core::Result<()> @@ -608,11 +608,11 @@ impl IDiscFormat2Data { (windows_core::Interface::vtable(self).SetDisableConsumerDvdCompatibilityMode)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn DisableConsumerDvdCompatibilityMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisableConsumerDvdCompatibilityMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentPhysicalMediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPhysicalMediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClientName(&self, value: P0) -> windows_core::Result<()> @@ -622,33 +622,33 @@ impl IDiscFormat2Data { (windows_core::Interface::vtable(self).SetClientName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ClientName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestedWriteSpeed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestedWriteSpeed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequestedRotationTypeIsPureCAV(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestedRotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentWriteSpeed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentWriteSpeed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentRotationTypeIsPureCAV(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentRotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeeds(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedWriteSpeeds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedWriteSpeedDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetForceOverwrite(&self, value: P0) -> windows_core::Result<()> @@ -658,12 +658,12 @@ impl IDiscFormat2Data { (windows_core::Interface::vtable(self).SetForceOverwrite)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ForceOverwrite(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ForceOverwrite)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn MultisessionInterfaces(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MultisessionInterfaces)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -711,8 +711,8 @@ pub struct IDiscFormat2Data_Vtbl { pub SetDisableConsumerDvdCompatibilityMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DisableConsumerDvdCompatibilityMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CurrentPhysicalMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_MEDIA_PHYSICAL_TYPE) -> windows_core::HRESULT, - pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestedWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RequestedRotationTypeIsPureCAV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CurrentWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -744,7 +744,7 @@ windows_core::imp::define_interface!(IDiscFormat2DataEventArgs, IDiscFormat2Data impl std::ops::Deref for IDiscFormat2DataEventArgs { type Target = IWriteEngine2EventArgs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -752,19 +752,19 @@ windows_core::imp::interface_hierarchy!(IDiscFormat2DataEventArgs, windows_core: #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2DataEventArgs { pub unsafe fn ElapsedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElapsedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemainingTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemainingTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -783,7 +783,7 @@ windows_core::imp::define_interface!(IDiscFormat2Erase, IDiscFormat2Erase_Vtbl, impl std::ops::Deref for IDiscFormat2Erase { type Target = IDiscFormat2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -799,7 +799,7 @@ impl IDiscFormat2Erase { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recorder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recorder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFullErase(&self, value: P0) -> windows_core::Result<()> @@ -809,11 +809,11 @@ impl IDiscFormat2Erase { (windows_core::Interface::vtable(self).SetFullErase)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn FullErase(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FullErase)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentPhysicalMediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPhysicalMediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClientName(&self, value: P0) -> windows_core::Result<()> @@ -823,7 +823,7 @@ impl IDiscFormat2Erase { (windows_core::Interface::vtable(self).SetClientName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ClientName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EraseMedia(&self) -> windows_core::Result<()> { @@ -845,8 +845,8 @@ pub struct IDiscFormat2Erase_Vtbl { pub SetFullErase: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub FullErase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CurrentPhysicalMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_MEDIA_PHYSICAL_TYPE) -> windows_core::HRESULT, - pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EraseMedia: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -855,7 +855,7 @@ windows_core::imp::define_interface!(IDiscFormat2RawCD, IDiscFormat2RawCD_Vtbl, impl std::ops::Deref for IDiscFormat2RawCD { type Target = IDiscFormat2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -900,7 +900,7 @@ impl IDiscFormat2RawCD { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recorder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recorder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBufferUnderrunFreeDisabled(&self, value: P0) -> windows_core::Result<()> @@ -910,31 +910,31 @@ impl IDiscFormat2RawCD { (windows_core::Interface::vtable(self).SetBufferUnderrunFreeDisabled)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn BufferUnderrunFreeDisabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BufferUnderrunFreeDisabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StartOfNextSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartOfNextSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastPossibleStartOfLeadout(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastPossibleStartOfLeadout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentPhysicalMediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPhysicalMediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedSectorTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedSectorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestedSectorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClientName(&self, value: P0) -> windows_core::Result<()> @@ -944,33 +944,33 @@ impl IDiscFormat2RawCD { (windows_core::Interface::vtable(self).SetClientName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ClientName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestedWriteSpeed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestedWriteSpeed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequestedRotationTypeIsPureCAV(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestedRotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentWriteSpeed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentWriteSpeed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentRotationTypeIsPureCAV(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentRotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeeds(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedWriteSpeeds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedWriteSpeedDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1009,8 +1009,8 @@ pub struct IDiscFormat2RawCD_Vtbl { SupportedSectorTypes: usize, pub SetRequestedSectorType: unsafe extern "system" fn(*mut core::ffi::c_void, IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> windows_core::HRESULT, pub RequestedSectorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_FORMAT2_RAW_CD_DATA_SECTOR_TYPE) -> windows_core::HRESULT, - pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestedWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RequestedRotationTypeIsPureCAV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CurrentWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1030,7 +1030,7 @@ windows_core::imp::define_interface!(IDiscFormat2RawCDEventArgs, IDiscFormat2Raw impl std::ops::Deref for IDiscFormat2RawCDEventArgs { type Target = IWriteEngine2EventArgs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1038,15 +1038,15 @@ windows_core::imp::interface_hierarchy!(IDiscFormat2RawCDEventArgs, windows_core #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2RawCDEventArgs { pub unsafe fn CurrentAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ElapsedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElapsedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemainingTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemainingTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1064,7 +1064,7 @@ windows_core::imp::define_interface!(IDiscFormat2TrackAtOnce, IDiscFormat2TrackA impl std::ops::Deref for IDiscFormat2TrackAtOnce { type Target = IDiscFormat2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1102,7 +1102,7 @@ impl IDiscFormat2TrackAtOnce { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recorder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recorder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBufferUnderrunFreeDisabled(&self, value: P0) -> windows_core::Result<()> @@ -1112,23 +1112,23 @@ impl IDiscFormat2TrackAtOnce { (windows_core::Interface::vtable(self).SetBufferUnderrunFreeDisabled)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn BufferUnderrunFreeDisabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BufferUnderrunFreeDisabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfExistingTracks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfExistingTracks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalSectorsOnMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalSectorsOnMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FreeSectorsOnMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FreeSectorsOnMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UsedSectorsOnMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UsedSectorsOnMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDoNotFinalizeMedia(&self, value: P0) -> windows_core::Result<()> @@ -1138,16 +1138,16 @@ impl IDiscFormat2TrackAtOnce { (windows_core::Interface::vtable(self).SetDoNotFinalizeMedia)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn DoNotFinalizeMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoNotFinalizeMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExpectedTableOfContents(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpectedTableOfContents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentPhysicalMediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPhysicalMediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClientName(&self, value: P0) -> windows_core::Result<()> @@ -1157,33 +1157,33 @@ impl IDiscFormat2TrackAtOnce { (windows_core::Interface::vtable(self).SetClientName)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ClientName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestedWriteSpeed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestedWriteSpeed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequestedRotationTypeIsPureCAV(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestedRotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentWriteSpeed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentWriteSpeed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentRotationTypeIsPureCAV(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentRotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeeds(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedWriteSpeeds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedWriteSpeedDescriptors(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedWriteSpeedDescriptors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1220,8 +1220,8 @@ pub struct IDiscFormat2TrackAtOnce_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ExpectedTableOfContents: usize, pub CurrentPhysicalMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_MEDIA_PHYSICAL_TYPE) -> windows_core::HRESULT, - pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestedWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RequestedRotationTypeIsPureCAV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CurrentWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1241,7 +1241,7 @@ windows_core::imp::define_interface!(IDiscFormat2TrackAtOnceEventArgs, IDiscForm impl std::ops::Deref for IDiscFormat2TrackAtOnceEventArgs { type Target = IWriteEngine2EventArgs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1249,19 +1249,19 @@ windows_core::imp::interface_hierarchy!(IDiscFormat2TrackAtOnceEventArgs, window #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2TrackAtOnceEventArgs { pub unsafe fn CurrentTrackNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentTrackNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ElapsedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElapsedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemainingTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemainingTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1278,7 +1278,7 @@ windows_core::imp::define_interface!(IDiscMaster, IDiscMaster_Vtbl, 0x520cca62_5 impl std::ops::Deref for IDiscMaster { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDiscMaster, windows_core::IUnknown); @@ -1287,22 +1287,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDiscMasterFormats)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActiveDiscMasterFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveDiscMasterFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), riid, ppunk).ok() } pub unsafe fn EnumDiscRecorders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDiscRecorders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActiveDiscRecorder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveDiscRecorder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetActiveDiscRecorder(&self, precorder: P0) -> windows_core::Result<()> @@ -1318,7 +1318,7 @@ impl IDiscMaster { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProgressAdvise)(windows_core::Interface::as_raw(self), pevents.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ProgressUnadvise(&self, vcookie: usize) -> windows_core::Result<()> { @@ -1353,7 +1353,7 @@ windows_core::imp::define_interface!(IDiscMaster2, IDiscMaster2_Vtbl, 0x27354130 impl std::ops::Deref for IDiscMaster2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1362,19 +1362,19 @@ windows_core::imp::interface_hierarchy!(IDiscMaster2, windows_core::IUnknown, su impl IDiscMaster2 { #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSupportedEnvironment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSupportedEnvironment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1386,7 +1386,7 @@ pub struct IDiscMaster2_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsSupportedEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -1394,13 +1394,13 @@ windows_core::imp::define_interface!(IDiscMasterProgressEvents, IDiscMasterProgr impl std::ops::Deref for IDiscMasterProgressEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDiscMasterProgressEvents, windows_core::IUnknown); impl IDiscMasterProgressEvents { pub unsafe fn QueryCancel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryCancel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NotifyPnPActivity(&self) -> windows_core::Result<()> { @@ -1445,7 +1445,7 @@ windows_core::imp::define_interface!(IDiscRecorder, IDiscRecorder_Vtbl, 0x85ac97 impl std::ops::Deref for IDiscRecorder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDiscRecorder, windows_core::IUnknown); @@ -1457,23 +1457,23 @@ impl IDiscRecorder { (windows_core::Interface::vtable(self).GetRecorderGUID)(windows_core::Interface::as_raw(self), core::mem::transmute(pbyuniqueid.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pbyuniqueid.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), pulreturnsizerequired).ok() } pub unsafe fn GetRecorderType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecorderType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDisplayNames(&self, pbstrvendorid: Option<*mut windows_core::BSTR>, pbstrproductid: Option<*mut windows_core::BSTR>, pbstrrevision: Option<*mut windows_core::BSTR>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetDisplayNames)(windows_core::Interface::as_raw(self), core::mem::transmute(pbstrvendorid.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pbstrproductid.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pbstrrevision.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetBasePnPID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBasePnPID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetRecorderProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecorderProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1484,7 +1484,7 @@ impl IDiscRecorder { (windows_core::Interface::vtable(self).SetRecorderProperties)(windows_core::Interface::as_raw(self), ppropstg.param().abi()).ok() } pub unsafe fn GetRecorderState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecorderState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OpenExclusive(&self) -> windows_core::Result<()> { @@ -1512,9 +1512,9 @@ pub struct IDiscRecorder_Vtbl { pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, u32) -> windows_core::HRESULT, pub GetRecorderGUID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32, *mut u32) -> windows_core::HRESULT, pub GetRecorderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RECORDER_TYPES) -> windows_core::HRESULT, - pub GetDisplayNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetBasePnPID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDisplayNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBasePnPID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub GetRecorderProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] @@ -1537,7 +1537,7 @@ windows_core::imp::define_interface!(IDiscRecorder2, IDiscRecorder2_Vtbl, 0x2735 impl std::ops::Deref for IDiscRecorder2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1573,65 +1573,65 @@ impl IDiscRecorder2 { (windows_core::Interface::vtable(self).InitializeDiscRecorder)(windows_core::Interface::as_raw(self), recorderuniqueid.param().abi()).ok() } pub unsafe fn ActiveDiscRecorder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActiveDiscRecorder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VendorId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VendorId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProductId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProductRevision(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductRevision)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VolumeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn VolumePathNames(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumePathNames)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceCanLoadMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceCanLoadMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LegacyDeviceNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LegacyDeviceNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedFeaturePages(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedFeaturePages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentFeaturePages(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFeaturePages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedProfiles(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedProfiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentProfiles(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentProfiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupportedModePages(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedModePages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExclusiveAccessOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExclusiveAccessOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1641,16 +1641,16 @@ pub struct IDiscRecorder2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub EjectMedia: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CloseTray: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub AcquireExclusiveAccess: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AcquireExclusiveAccess: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReleaseExclusiveAccess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableMcn: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableMcn: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub InitializeDiscRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ActiveDiscRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VendorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProductRevision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeDiscRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActiveDiscRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VendorId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductRevision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub VolumePathNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1677,13 +1677,13 @@ pub struct IDiscRecorder2_Vtbl { pub SupportedModePages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SupportedModePages: usize, - pub ExclusiveAccessOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExclusiveAccessOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDiscRecorder2Ex, IDiscRecorder2Ex_Vtbl, 0x27354132_7f64_5b0f_8f00_5d77afbe261e); impl std::ops::Deref for IDiscRecorder2Ex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDiscRecorder2Ex, windows_core::IUnknown); @@ -1743,15 +1743,15 @@ impl IDiscRecorder2Ex { (windows_core::Interface::vtable(self).GetSupportedModePages)(windows_core::Interface::as_raw(self), requesttype, modepagetypes, validpages).ok() } pub unsafe fn GetByteAlignmentMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetByteAlignmentMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaximumNonPageAlignedTransferSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumNonPageAlignedTransferSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaximumPageAlignedTransferSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaximumPageAlignedTransferSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1781,7 +1781,7 @@ windows_core::imp::define_interface!(IEnumDiscMasterFormats, IEnumDiscMasterForm impl std::ops::Deref for IEnumDiscMasterFormats { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDiscMasterFormats, windows_core::IUnknown); @@ -1796,7 +1796,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1812,7 +1812,7 @@ windows_core::imp::define_interface!(IEnumDiscRecorders, IEnumDiscRecorders_Vtbl impl std::ops::Deref for IEnumDiscRecorders { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDiscRecorders, windows_core::IUnknown); @@ -1827,7 +1827,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1843,7 +1843,7 @@ windows_core::imp::define_interface!(IEnumFsiItems, IEnumFsiItems_Vtbl, 0x2c941f impl std::ops::Deref for IEnumFsiItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumFsiItems, windows_core::IUnknown); @@ -1859,7 +1859,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1878,7 +1878,7 @@ windows_core::imp::define_interface!(IEnumProgressItems, IEnumProgressItems_Vtbl impl std::ops::Deref for IEnumProgressItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumProgressItems, windows_core::IUnknown); @@ -1894,7 +1894,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1915,7 +1915,7 @@ windows_core::imp::define_interface!(IFileSystemImage, IFileSystemImage_Vtbl, 0x impl std::ops::Deref for IFileSystemImage { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1924,18 +1924,18 @@ windows_core::imp::interface_hierarchy!(IFileSystemImage, windows_core::IUnknown impl IFileSystemImage { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Root(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Root)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SessionStartBlock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionStartBlock)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FreeMediaBlocks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFreeMediaBlocks(&self, newval: i32) -> windows_core::Result<()> { @@ -1949,11 +1949,11 @@ impl IFileSystemImage { (windows_core::Interface::vtable(self).SetMaxMediaBlocksFromDevice)(windows_core::Interface::as_raw(self), discrecorder.param().abi()).ok() } pub unsafe fn UsedBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UsedBlocks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VolumeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVolumeName(&self, newval: P0) -> windows_core::Result<()> @@ -1963,12 +1963,12 @@ impl IFileSystemImage { (windows_core::Interface::vtable(self).SetVolumeName)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn ImportedVolumeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportedVolumeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImageOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BootImageOptions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1979,15 +1979,15 @@ impl IFileSystemImage { (windows_core::Interface::vtable(self).SetBootImageOptions)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn FileCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DirectoryCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DirectoryCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WorkingDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WorkingDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetWorkingDirectory(&self, newval: P0) -> windows_core::Result<()> @@ -1997,11 +1997,11 @@ impl IFileSystemImage { (windows_core::Interface::vtable(self).SetWorkingDirectory)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn ChangePoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChangePoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StrictFileSystemCompliance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrictFileSystemCompliance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStrictFileSystemCompliance(&self, newval: P0) -> windows_core::Result<()> @@ -2011,7 +2011,7 @@ impl IFileSystemImage { (windows_core::Interface::vtable(self).SetStrictFileSystemCompliance)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn UseRestrictedCharacterSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseRestrictedCharacterSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseRestrictedCharacterSet(&self, newval: P0) -> windows_core::Result<()> @@ -2021,26 +2021,26 @@ impl IFileSystemImage { (windows_core::Interface::vtable(self).SetUseRestrictedCharacterSet)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn FileSystemsToCreate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileSystemsToCreate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileSystemsSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UDFRevision)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn UDFRevisionsSupported(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UDFRevisionsSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2057,28 +2057,28 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ISO9660InterchangeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ISO9660InterchangeLevelsSupported(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ISO9660InterchangeLevelsSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateResultImage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateResultImage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Exists(&self, fullpath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Exists)(windows_core::Interface::as_raw(self), fullpath.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CalculateDiscIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CalculateDiscIdentifier)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2086,15 +2086,15 @@ impl IFileSystemImage { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IdentifyFileSystemsOnDisc)(windows_core::Interface::as_raw(self), discrecorder.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetDefaultFileSystemForImport(&self, filesystems: FsiFileSystems) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultFileSystemForImport)(windows_core::Interface::as_raw(self), filesystems, &mut result__).map(|| result__) } pub unsafe fn ImportFileSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportFileSystem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ImportSpecificFileSystem(&self, filesystemtouse: FsiFileSystems) -> windows_core::Result<()> { @@ -2111,7 +2111,7 @@ impl IFileSystemImage { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDirectoryItem)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2119,23 +2119,23 @@ impl IFileSystemImage { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFileItem)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VolumeNameUDF(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeNameUDF)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VolumeNameJoliet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeNameJoliet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VolumeNameISO9660(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VolumeNameISO9660)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StageFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StageFiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStageFiles(&self, newval: P0) -> windows_core::Result<()> @@ -2146,7 +2146,7 @@ impl IFileSystemImage { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn MultisessionInterfaces(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MultisessionInterfaces)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2171,9 +2171,9 @@ pub struct IFileSystemImage_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetMaxMediaBlocksFromDevice: usize, pub UsedBlocks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImportedVolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImportedVolumeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub BootImageOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2184,8 +2184,8 @@ pub struct IFileSystemImage_Vtbl { SetBootImageOptions: usize, pub FileCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DirectoryCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ChangePoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub StrictFileSystemCompliance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetStrictFileSystemCompliance: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -2215,8 +2215,8 @@ pub struct IFileSystemImage_Vtbl { pub CreateResultImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateResultImage: usize, - pub Exists: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut FsiItemType) -> windows_core::HRESULT, - pub CalculateDiscIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Exists: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut FsiItemType) -> windows_core::HRESULT, + pub CalculateDiscIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub IdentifyFileSystemsOnDisc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut FsiFileSystems) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2227,16 +2227,16 @@ pub struct IFileSystemImage_Vtbl { pub RollbackToChangePoint: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub LockInChangePoint: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub CreateDirectoryItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDirectoryItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateDirectoryItem: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateFileItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFileItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateFileItem: usize, - pub VolumeNameUDF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VolumeNameJoliet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VolumeNameISO9660: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub VolumeNameUDF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VolumeNameJoliet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VolumeNameISO9660: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub StageFiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetStageFiles: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2254,7 +2254,7 @@ windows_core::imp::define_interface!(IFileSystemImage2, IFileSystemImage2_Vtbl, impl std::ops::Deref for IFileSystemImage2 { type Target = IFileSystemImage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2263,7 +2263,7 @@ windows_core::imp::interface_hierarchy!(IFileSystemImage2, windows_core::IUnknow impl IFileSystemImage2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BootImageOptionsArray(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BootImageOptionsArray)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2290,7 +2290,7 @@ windows_core::imp::define_interface!(IFileSystemImage3, IFileSystemImage3_Vtbl, impl std::ops::Deref for IFileSystemImage3 { type Target = IFileSystemImage2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2298,7 +2298,7 @@ windows_core::imp::interface_hierarchy!(IFileSystemImage3, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IFileSystemImage3 { pub unsafe fn CreateRedundantUdfMetadataFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRedundantUdfMetadataFiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCreateRedundantUdfMetadataFiles(&self, newval: P0) -> windows_core::Result<()> @@ -2308,7 +2308,7 @@ impl IFileSystemImage3 { (windows_core::Interface::vtable(self).SetCreateRedundantUdfMetadataFiles)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn ProbeSpecificFileSystem(&self, filesystemtoprobe: FsiFileSystems) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProbeSpecificFileSystem)(windows_core::Interface::as_raw(self), filesystemtoprobe, &mut result__).map(|| result__) } } @@ -2326,7 +2326,7 @@ windows_core::imp::define_interface!(IFileSystemImageResult, IFileSystemImageRes impl std::ops::Deref for IFileSystemImageResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2335,24 +2335,24 @@ windows_core::imp::interface_hierarchy!(IFileSystemImageResult, windows_core::IU impl IFileSystemImageResult { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ImageStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImageStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ProgressItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProgressItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TotalBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalBlocks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BlockSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DiscId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiscId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2370,7 +2370,7 @@ pub struct IFileSystemImageResult_Vtbl { ProgressItems: usize, pub TotalBlocks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub BlockSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub DiscId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DiscId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFileSystemImageResult2, IFileSystemImageResult2_Vtbl, 0xb507ca29_2204_11dd_966a_001aa01bbc58); @@ -2378,7 +2378,7 @@ windows_core::imp::define_interface!(IFileSystemImageResult2, IFileSystemImageRe impl std::ops::Deref for IFileSystemImageResult2 { type Target = IFileSystemImageResult; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2387,7 +2387,7 @@ windows_core::imp::interface_hierarchy!(IFileSystemImageResult2, windows_core::I impl IFileSystemImageResult2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ModifiedBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModifiedBlocks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2406,7 +2406,7 @@ windows_core::imp::define_interface!(IFsiDirectoryItem, IFsiDirectoryItem_Vtbl, impl std::ops::Deref for IFsiDirectoryItem { type Target = IFsiItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2415,7 +2415,7 @@ windows_core::imp::interface_hierarchy!(IFsiDirectoryItem, windows_core::IUnknow impl IFsiDirectoryItem { #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2423,15 +2423,15 @@ impl IFsiDirectoryItem { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumFsiItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFsiItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddDirectory(&self, path: P0) -> windows_core::Result<()> @@ -2484,23 +2484,23 @@ pub struct IFsiDirectoryItem_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnumFsiItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub AddFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddFile: usize, - pub AddTree: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub AddTree: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveTree: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveTree: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsiDirectoryItem2, IFsiDirectoryItem2_Vtbl, 0xf7fb4b9b_6d96_4d7b_9115_201b144811ef); @@ -2508,7 +2508,7 @@ windows_core::imp::define_interface!(IFsiDirectoryItem2, IFsiDirectoryItem2_Vtbl impl std::ops::Deref for IFsiDirectoryItem2 { type Target = IFsiDirectoryItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2527,7 +2527,7 @@ impl IFsiDirectoryItem2 { #[repr(C)] pub struct IFsiDirectoryItem2_Vtbl { pub base__: IFsiDirectoryItem_Vtbl, - pub AddTreeWithNamedStreams: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub AddTreeWithNamedStreams: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsiFileItem, IFsiFileItem_Vtbl, 0x2c941fdb_975b_59be_a960_9a2a262853a5); @@ -2535,7 +2535,7 @@ windows_core::imp::define_interface!(IFsiFileItem, IFsiFileItem_Vtbl, 0x2c941fdb impl std::ops::Deref for IFsiFileItem { type Target = IFsiItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2543,20 +2543,20 @@ windows_core::imp::interface_hierarchy!(IFsiFileItem, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IFsiFileItem { pub unsafe fn DataSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DataSize32BitLow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataSize32BitLow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DataSize32BitHigh(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataSize32BitHigh)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Data(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Data)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2589,7 +2589,7 @@ windows_core::imp::define_interface!(IFsiFileItem2, IFsiFileItem2_Vtbl, 0x199d0c impl std::ops::Deref for IFsiFileItem2 { type Target = IFsiFileItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2598,11 +2598,11 @@ windows_core::imp::interface_hierarchy!(IFsiFileItem2, windows_core::IUnknown, s impl IFsiFileItem2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn FsiNamedStreams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FsiNamedStreams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsNamedStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsNamedStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2620,7 +2620,7 @@ impl IFsiFileItem2 { (windows_core::Interface::vtable(self).RemoveStream)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn IsRealTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRealTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsRealTime(&self, newval: P0) -> windows_core::Result<()> @@ -2640,10 +2640,10 @@ pub struct IFsiFileItem2_Vtbl { FsiNamedStreams: usize, pub IsNamedStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub AddStream: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddStream: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddStream: usize, - pub RemoveStream: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveStream: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsRealTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIsRealTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -2653,7 +2653,7 @@ windows_core::imp::define_interface!(IFsiItem, IFsiItem_Vtbl, 0x2c941fd9_975b_59 impl std::ops::Deref for IFsiItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2661,36 +2661,36 @@ windows_core::imp::interface_hierarchy!(IFsiItem, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IFsiItem { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FullPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FullPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreationTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreationTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastAccessedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastModifiedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsHidden)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsHidden(&self, newval: P0) -> windows_core::Result<()> @@ -2700,11 +2700,11 @@ impl IFsiItem { (windows_core::Interface::vtable(self).SetIsHidden)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn FileSystemName(&self, filesystem: FsiFileSystems) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileSystemName)(windows_core::Interface::as_raw(self), filesystem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FileSystemPath(&self, filesystem: FsiFileSystems) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileSystemPath)(windows_core::Interface::as_raw(self), filesystem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2712,8 +2712,8 @@ impl IFsiItem { #[repr(C)] pub struct IFsiItem_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FullPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FullPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetCreationTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub LastAccessedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, @@ -2722,8 +2722,8 @@ pub struct IFsiItem_Vtbl { pub SetLastModifiedTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub IsHidden: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIsHidden: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub FileSystemName: unsafe extern "system" fn(*mut core::ffi::c_void, FsiFileSystems, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FileSystemPath: unsafe extern "system" fn(*mut core::ffi::c_void, FsiFileSystems, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileSystemName: unsafe extern "system" fn(*mut core::ffi::c_void, FsiFileSystems, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileSystemPath: unsafe extern "system" fn(*mut core::ffi::c_void, FsiFileSystems, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsiNamedStreams, IFsiNamedStreams_Vtbl, 0xed79ba56_5294_4250_8d46_f9aecee23459); @@ -2731,7 +2731,7 @@ windows_core::imp::define_interface!(IFsiNamedStreams, IFsiNamedStreams_Vtbl, 0x impl std::ops::Deref for IFsiNamedStreams { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2740,20 +2740,20 @@ windows_core::imp::interface_hierarchy!(IFsiNamedStreams, windows_core::IUnknown impl IFsiNamedStreams { #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumNamedStreams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumNamedStreams)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2778,7 +2778,7 @@ windows_core::imp::define_interface!(IIsoImageManager, IIsoImageManager_Vtbl, 0x impl std::ops::Deref for IIsoImageManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2786,12 +2786,12 @@ windows_core::imp::interface_hierarchy!(IIsoImageManager, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IIsoImageManager { pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Stream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Stream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPath(&self, val: P0) -> windows_core::Result<()> @@ -2815,12 +2815,12 @@ impl IIsoImageManager { #[repr(C)] pub struct IIsoImageManager_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Stream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Stream: usize, - pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SetStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2831,21 +2831,21 @@ windows_core::imp::define_interface!(IJolietDiscMaster, IJolietDiscMaster_Vtbl, impl std::ops::Deref for IJolietDiscMaster { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJolietDiscMaster, windows_core::IUnknown); impl IJolietDiscMaster { pub unsafe fn GetTotalDataBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTotalDataBlocks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUsedDataBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUsedDataBlocks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataBlockSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataBlockSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -2857,7 +2857,7 @@ impl IJolietDiscMaster { } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetJolietProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJolietProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -2893,7 +2893,7 @@ windows_core::imp::define_interface!(IMultisession, IMultisession_Vtbl, 0x273541 impl std::ops::Deref for IMultisession { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2901,7 +2901,7 @@ windows_core::imp::interface_hierarchy!(IMultisession, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IMultisession { pub unsafe fn IsSupportedOnCurrentMediaState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSupportedOnCurrentMediaState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInUse(&self, value: P0) -> windows_core::Result<()> @@ -2911,12 +2911,12 @@ impl IMultisession { (windows_core::Interface::vtable(self).SetInUse)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn InUse(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InUse)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ImportRecorder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImportRecorder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2938,7 +2938,7 @@ windows_core::imp::define_interface!(IMultisessionRandomWrite, IMultisessionRand impl std::ops::Deref for IMultisessionRandomWrite { type Target = IMultisession; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2946,15 +2946,15 @@ windows_core::imp::interface_hierarchy!(IMultisessionRandomWrite, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IMultisessionRandomWrite { pub unsafe fn WriteUnitSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteUnitSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastWrittenAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastWrittenAddress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalSectorsOnMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalSectorsOnMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2972,7 +2972,7 @@ windows_core::imp::define_interface!(IMultisessionSequential, IMultisessionSeque impl std::ops::Deref for IMultisessionSequential { type Target = IMultisession; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2980,23 +2980,23 @@ windows_core::imp::interface_hierarchy!(IMultisessionSequential, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IMultisessionSequential { pub unsafe fn IsFirstDataSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFirstDataSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StartAddressOfPreviousSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartAddressOfPreviousSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastWrittenAddressOfPreviousSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastWrittenAddressOfPreviousSession)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NextWritableAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextWritableAddress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FreeSectorsOnMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FreeSectorsOnMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3016,7 +3016,7 @@ windows_core::imp::define_interface!(IMultisessionSequential2, IMultisessionSequ impl std::ops::Deref for IMultisessionSequential2 { type Target = IMultisessionSequential; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3024,7 +3024,7 @@ windows_core::imp::interface_hierarchy!(IMultisessionSequential2, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IMultisessionSequential2 { pub unsafe fn WriteUnitSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteUnitSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3040,7 +3040,7 @@ windows_core::imp::define_interface!(IProgressItem, IProgressItem_Vtbl, 0x2c941f impl std::ops::Deref for IProgressItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3048,19 +3048,19 @@ windows_core::imp::interface_hierarchy!(IProgressItem, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IProgressItem { pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FirstBlock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirstBlock)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastBlock(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastBlock)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BlockCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3068,7 +3068,7 @@ impl IProgressItem { #[repr(C)] pub struct IProgressItem_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FirstBlock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub LastBlock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub BlockCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -3079,7 +3079,7 @@ windows_core::imp::define_interface!(IProgressItems, IProgressItems_Vtbl, 0x2c94 impl std::ops::Deref for IProgressItems { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3088,21 +3088,21 @@ windows_core::imp::interface_hierarchy!(IProgressItems, windows_core::IUnknown, impl IProgressItems { #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ProgressItemFromBlock(&self, block: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProgressItemFromBlock)(windows_core::Interface::as_raw(self), block, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3110,11 +3110,11 @@ impl IProgressItems { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProgressItemFromDescription)(windows_core::Interface::as_raw(self), description.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumProgressItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumProgressItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3136,7 +3136,7 @@ pub struct IProgressItems_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ProgressItemFromBlock: usize, #[cfg(feature = "Win32_System_Com")] - pub ProgressItemFromDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ProgressItemFromDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ProgressItemFromDescription: usize, pub EnumProgressItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3147,7 +3147,7 @@ windows_core::imp::define_interface!(IRawCDImageCreator, IRawCDImageCreator_Vtbl impl std::ops::Deref for IRawCDImageCreator { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3156,7 +3156,7 @@ windows_core::imp::interface_hierarchy!(IRawCDImageCreator, windows_core::IUnkno impl IRawCDImageCreator { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateResultImage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateResultImage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3164,7 +3164,7 @@ impl IRawCDImageCreator { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddTrack)(windows_core::Interface::as_raw(self), datatype, data.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3185,18 +3185,18 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultingImageType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StartOfLeadout(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartOfLeadout)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartOfLeadoutLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDisableGaplessAudio(&self, value: P0) -> windows_core::Result<()> @@ -3206,7 +3206,7 @@ impl IRawCDImageCreator { (windows_core::Interface::vtable(self).SetDisableGaplessAudio)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn DisableGaplessAudio(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisableGaplessAudio)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMediaCatalogNumber(&self, value: P0) -> windows_core::Result<()> @@ -3216,32 +3216,32 @@ impl IRawCDImageCreator { (windows_core::Interface::vtable(self).SetMediaCatalogNumber)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn MediaCatalogNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaCatalogNumber)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartingTrackNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_TrackInfo(&self, trackindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_TrackInfo)(windows_core::Interface::as_raw(self), trackindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NumberOfExistingTracks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfExistingTracks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastUsedUserSectorInImage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastUsedUserSectorInImage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExpectedTableOfContents(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpectedTableOfContents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3272,8 +3272,8 @@ pub struct IRawCDImageCreator_Vtbl { pub StartOfLeadoutLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDisableGaplessAudio: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DisableGaplessAudio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetMediaCatalogNumber: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MediaCatalogNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMediaCatalogNumber: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MediaCatalogNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetStartingTrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub StartingTrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -3293,7 +3293,7 @@ windows_core::imp::define_interface!(IRawCDImageTrackInfo, IRawCDImageTrackInfo_ impl std::ops::Deref for IRawCDImageTrackInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3301,23 +3301,23 @@ windows_core::imp::interface_hierarchy!(IRawCDImageTrackInfo, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IRawCDImageTrackInfo { pub unsafe fn StartingLba(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartingLba)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SectorCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SectorCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TrackNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrackNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SectorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SectorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ISRC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ISRC)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetISRC(&self, value: P0) -> windows_core::Result<()> @@ -3327,14 +3327,14 @@ impl IRawCDImageTrackInfo { (windows_core::Interface::vtable(self).SetISRC)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn DigitalAudioCopySetting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DigitalAudioCopySetting)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AudioHasPreemphasis)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAudioHasPreemphasis(&self, value: P0) -> windows_core::Result<()> @@ -3345,7 +3345,7 @@ impl IRawCDImageTrackInfo { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TrackIndexes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrackIndexes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddTrackIndex(&self, lbaoffset: i32) -> windows_core::Result<()> { @@ -3363,8 +3363,8 @@ pub struct IRawCDImageTrackInfo_Vtbl { pub SectorCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TrackNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SectorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_CD_SECTOR_TYPE) -> windows_core::HRESULT, - pub ISRC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetISRC: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ISRC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetISRC: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DigitalAudioCopySetting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_CD_TRACK_DIGITAL_COPY_SETTING) -> windows_core::HRESULT, pub SetDigitalAudioCopySetting: unsafe extern "system" fn(*mut core::ffi::c_void, IMAPI_CD_TRACK_DIGITAL_COPY_SETTING) -> windows_core::HRESULT, pub AudioHasPreemphasis: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -3380,29 +3380,29 @@ windows_core::imp::define_interface!(IRedbookDiscMaster, IRedbookDiscMaster_Vtbl impl std::ops::Deref for IRedbookDiscMaster { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRedbookDiscMaster, windows_core::IUnknown); impl IRedbookDiscMaster { pub unsafe fn GetTotalAudioTracks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTotalAudioTracks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTotalAudioBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTotalAudioBlocks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUsedAudioBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUsedAudioBlocks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAvailableAudioTrackBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableAudioTrackBlocks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAudioBlockSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioBlockSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CreateAudioTrack(&self, nblocks: i32) -> windows_core::Result<()> { @@ -3433,7 +3433,7 @@ windows_core::imp::define_interface!(IStreamConcatenate, IStreamConcatenate_Vtbl impl std::ops::Deref for IStreamConcatenate { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3491,7 +3491,7 @@ windows_core::imp::define_interface!(IStreamInterleave, IStreamInterleave_Vtbl, impl std::ops::Deref for IStreamInterleave { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3518,7 +3518,7 @@ windows_core::imp::define_interface!(IStreamPseudoRandomBased, IStreamPseudoRand impl std::ops::Deref for IStreamPseudoRandomBased { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3529,7 +3529,7 @@ impl IStreamPseudoRandomBased { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Seed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn put_ExtendedSeed(&self, values: &[u32]) -> windows_core::Result<()> { @@ -3554,7 +3554,7 @@ windows_core::imp::define_interface!(IWriteEngine2, IWriteEngine2_Vtbl, 0x273541 impl std::ops::Deref for IWriteEngine2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3578,7 +3578,7 @@ impl IWriteEngine2 { (windows_core::Interface::vtable(self).SetRecorder)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Recorder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recorder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUseStreamingWrite12(&self, value: P0) -> windows_core::Result<()> @@ -3588,32 +3588,32 @@ impl IWriteEngine2 { (windows_core::Interface::vtable(self).SetUseStreamingWrite12)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn UseStreamingWrite12(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseStreamingWrite12)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartingSectorsPerSecond)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndingSectorsPerSecond)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BytesPerSector)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WriteInProgress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteInProgress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3644,7 +3644,7 @@ windows_core::imp::define_interface!(IWriteEngine2EventArgs, IWriteEngine2EventA impl std::ops::Deref for IWriteEngine2EventArgs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3652,31 +3652,31 @@ windows_core::imp::interface_hierarchy!(IWriteEngine2EventArgs, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IWriteEngine2EventArgs { pub unsafe fn StartLba(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartLba)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SectorCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SectorCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastReadLba(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastReadLba)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastWrittenLba(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastWrittenLba)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalSystemBuffer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalSystemBuffer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UsedSystemBuffer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UsedSystemBuffer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FreeSystemBuffer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FreeSystemBuffer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3698,7 +3698,7 @@ windows_core::imp::define_interface!(IWriteSpeedDescriptor, IWriteSpeedDescripto impl std::ops::Deref for IWriteSpeedDescriptor { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3706,15 +3706,15 @@ windows_core::imp::interface_hierarchy!(IWriteSpeedDescriptor, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IWriteSpeedDescriptor { pub unsafe fn MediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RotationTypeIsPureCAV(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RotationTypeIsPureCAV)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WriteSpeed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteSpeed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs index ee913b1c36..ce0b13f863 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs @@ -39,7 +39,7 @@ windows_core::imp::define_interface!(IFilter, IFilter_Vtbl, 0x89bcb740_6119_101a impl std::ops::Deref for IFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilter, windows_core::IUnknown); @@ -81,7 +81,7 @@ windows_core::imp::define_interface!(IPhraseSink, IPhraseSink_Vtbl, 0xcc906ff0_c impl std::ops::Deref for IPhraseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPhraseSink, windows_core::IUnknown); 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 36ed960c5c..f81bba6fce 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/InstallableFileSystems/mod.rs @@ -34,7 +34,7 @@ where P0: windows_core::Param, { windows_targets::link!("fltlib.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FilterConnectCommunicationPort(lpportname.param().abi(), dwoptions, core::mem::transmute(lpcontext.unwrap_or(std::ptr::null())), wsizeofcontext, core::mem::transmute(lpsecurityattributes.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -43,7 +43,7 @@ where P0: windows_core::Param, { windows_targets::link!("fltlib.dll" "system" fn FilterCreate(lpfiltername : windows_core::PCWSTR, hfilter : *mut HFILTER) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FilterCreate(lpfiltername.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -118,7 +118,7 @@ where P2: windows_core::Param, { windows_targets::link!("fltlib.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FilterInstanceCreate(lpfiltername.param().abi(), lpvolumename.param().abi(), lpinstancename.param().abi(), &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs index f38992395d..d52c6e8002 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs @@ -1275,7 +1275,7 @@ impl IOfflineFilesSetting_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPreference, Impl: IOfflineFilesSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut std::mem::MaybeUninit, dwscope: u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetPreference, Impl: IOfflineFilesSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut core::mem::MaybeUninit, dwscope: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOfflineFilesSetting_Impl::GetPreference(this, core::mem::transmute_copy(&pvarvalue), core::mem::transmute_copy(&dwscope)).into() @@ -1291,7 +1291,7 @@ impl IOfflineFilesSetting_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPreference, Impl: IOfflineFilesSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *const std::mem::MaybeUninit, dwscope: u32) -> windows_core::HRESULT { + unsafe extern "system" fn SetPreference, Impl: IOfflineFilesSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *const core::mem::MaybeUninit, dwscope: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOfflineFilesSetting_Impl::SetPreference(this, core::mem::transmute_copy(&pvarvalue), core::mem::transmute_copy(&dwscope)).into() @@ -1301,7 +1301,7 @@ impl IOfflineFilesSetting_Vtbl { let this = (*this).get_impl(); IOfflineFilesSetting_Impl::DeletePreference(this, core::mem::transmute_copy(&dwscope)).into() } - unsafe extern "system" fn GetPolicy, Impl: IOfflineFilesSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut std::mem::MaybeUninit, dwscope: u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetPolicy, Impl: IOfflineFilesSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut core::mem::MaybeUninit, dwscope: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOfflineFilesSetting_Impl::GetPolicy(this, core::mem::transmute_copy(&pvarvalue), core::mem::transmute_copy(&dwscope)).into() @@ -1317,7 +1317,7 @@ impl IOfflineFilesSetting_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: IOfflineFilesSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut std::mem::MaybeUninit, pbsetbypolicy: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IOfflineFilesSetting_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut core::mem::MaybeUninit, pbsetbypolicy: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOfflineFilesSetting_Impl::GetValue(this, core::mem::transmute_copy(&pvarvalue), core::mem::transmute_copy(&pbsetbypolicy)).into() 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 e7681bf063..b4bc42a119 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs @@ -25,7 +25,7 @@ windows_core::imp::define_interface!(IEnumOfflineFilesItems, IEnumOfflineFilesIt impl std::ops::Deref for IEnumOfflineFilesItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumOfflineFilesItems, windows_core::IUnknown); @@ -40,7 +40,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -56,7 +56,7 @@ windows_core::imp::define_interface!(IEnumOfflineFilesSettings, IEnumOfflineFile impl std::ops::Deref for IEnumOfflineFilesSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumOfflineFilesSettings, windows_core::IUnknown); @@ -71,7 +71,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -87,7 +87,7 @@ windows_core::imp::define_interface!(IOfflineFilesCache, IOfflineFilesCache_Vtbl impl std::ops::Deref for IOfflineFilesCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesCache, windows_core::IUnknown); @@ -150,7 +150,7 @@ impl IOfflineFilesCache { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindItem)(windows_core::Interface::as_raw(self), pszpath.param().abi(), dwqueryflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindItemEx(&self, pszpath: P0, pincludefilefilter: P1, pincludedirfilter: P2, pexcludefilefilter: P3, pexcludedirfilter: P4, dwqueryflags: u32) -> windows_core::Result @@ -161,7 +161,7 @@ impl IOfflineFilesCache { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindItemEx)(windows_core::Interface::as_raw(self), pszpath.param().abi(), pincludefilefilter.param().abi(), pincludedirfilter.param().abi(), pexcludefilefilter.param().abi(), pexcludedirfilter.param().abi(), dwqueryflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RenameItem(&self, pszpathoriginal: P0, pszpathnew: P1, breplaceifexists: P2) -> windows_core::Result<()> @@ -173,7 +173,7 @@ impl IOfflineFilesCache { (windows_core::Interface::vtable(self).RenameItem)(windows_core::Interface::as_raw(self), pszpathoriginal.param().abi(), pszpathnew.param().abi(), breplaceifexists.param().abi()).ok() } pub unsafe fn GetLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDiskSpaceInformation(&self, pcbvolumetotal: *mut u64, pcblimit: *mut u64, pcbused: *mut u64, pcbunpinnedlimit: *mut u64, pcbunpinnedused: *mut u64) -> windows_core::Result<()> { @@ -193,11 +193,11 @@ impl IOfflineFilesCache { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSettingObject)(windows_core::Interface::as_raw(self), pszsettingname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumSettingObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumSettingObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsPathCacheable(&self, pszpath: P0, pbcacheable: *mut super::super::Foundation::BOOL, psharecachingmode: *mut OFFLINEFILES_CACHING_MODE) -> windows_core::Result<()> @@ -232,7 +232,7 @@ windows_core::imp::define_interface!(IOfflineFilesCache2, IOfflineFilesCache2_Vt impl std::ops::Deref for IOfflineFilesCache2 { type Target = IOfflineFilesCache; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesCache2, windows_core::IUnknown, IOfflineFilesCache); @@ -255,7 +255,7 @@ windows_core::imp::define_interface!(IOfflineFilesChangeInfo, IOfflineFilesChang impl std::ops::Deref for IOfflineFilesChangeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesChangeInfo, windows_core::IUnknown); @@ -264,23 +264,23 @@ impl IOfflineFilesChangeInfo { (windows_core::Interface::vtable(self).IsDirty)(windows_core::Interface::as_raw(self), pbdirty) } pub unsafe fn IsDeletedOffline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDeletedOffline)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsCreatedOffline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCreatedOffline)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLocallyModifiedData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLocallyModifiedData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLocallyModifiedAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLocallyModifiedAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLocallyModifiedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLocallyModifiedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -298,7 +298,7 @@ windows_core::imp::define_interface!(IOfflineFilesConnectionInfo, IOfflineFilesC impl std::ops::Deref for IOfflineFilesConnectionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesConnectionInfo, windows_core::IUnknown); @@ -323,7 +323,7 @@ impl IOfflineFilesConnectionInfo { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransitionOffline)(windows_core::Interface::as_raw(self), hwndparent.param().abi(), dwflags, bforceopenfilesclosed.param().abi(), &mut result__).map(|| result__) } } @@ -339,7 +339,7 @@ windows_core::imp::define_interface!(IOfflineFilesDirectoryItem, IOfflineFilesDi impl std::ops::Deref for IOfflineFilesDirectoryItem { type Target = IOfflineFilesItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesDirectoryItem, windows_core::IUnknown, IOfflineFilesItem); @@ -352,17 +352,17 @@ windows_core::imp::define_interface!(IOfflineFilesDirtyInfo, IOfflineFilesDirtyI impl std::ops::Deref for IOfflineFilesDirtyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesDirtyInfo, windows_core::IUnknown); impl IOfflineFilesDirtyInfo { pub unsafe fn LocalDirtyByteCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalDirtyByteCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemoteDirtyByteCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteDirtyByteCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -376,18 +376,18 @@ windows_core::imp::define_interface!(IOfflineFilesErrorInfo, IOfflineFilesErrorI impl std::ops::Deref for IOfflineFilesErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesErrorInfo, windows_core::IUnknown); impl IOfflineFilesErrorInfo { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRawData(&self) -> windows_core::Result<*mut super::super::System::Com::BYTE_BLOB> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRawData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -404,7 +404,7 @@ windows_core::imp::define_interface!(IOfflineFilesEvents, IOfflineFilesEvents_Vt impl std::ops::Deref for IOfflineFilesEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesEvents, windows_core::IUnknown); @@ -576,7 +576,7 @@ windows_core::imp::define_interface!(IOfflineFilesEvents2, IOfflineFilesEvents2_ impl std::ops::Deref for IOfflineFilesEvents2 { type Target = IOfflineFilesEvents; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesEvents2, windows_core::IUnknown, IOfflineFilesEvents); @@ -626,7 +626,7 @@ windows_core::imp::define_interface!(IOfflineFilesEvents3, IOfflineFilesEvents3_ impl std::ops::Deref for IOfflineFilesEvents3 { type Target = IOfflineFilesEvents2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesEvents3, windows_core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2); @@ -664,7 +664,7 @@ windows_core::imp::define_interface!(IOfflineFilesEvents4, IOfflineFilesEvents4_ impl std::ops::Deref for IOfflineFilesEvents4 { type Target = IOfflineFilesEvents3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesEvents4, windows_core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2, IOfflineFilesEvents3); @@ -686,7 +686,7 @@ windows_core::imp::define_interface!(IOfflineFilesEventsFilter, IOfflineFilesEve impl std::ops::Deref for IOfflineFilesEventsFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesEventsFilter, windows_core::IUnknown); @@ -712,17 +712,17 @@ windows_core::imp::define_interface!(IOfflineFilesFileItem, IOfflineFilesFileIte impl std::ops::Deref for IOfflineFilesFileItem { type Target = IOfflineFilesItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesFileItem, windows_core::IUnknown, IOfflineFilesItem); impl IOfflineFilesFileItem { pub unsafe fn IsSparse(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSparse)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsEncrypted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEncrypted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -736,20 +736,20 @@ windows_core::imp::define_interface!(IOfflineFilesFileSysInfo, IOfflineFilesFile impl std::ops::Deref for IOfflineFilesFileSysInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesFileSysInfo, windows_core::IUnknown); impl IOfflineFilesFileSysInfo { pub unsafe fn GetAttributes(&self, copy: OFFLINEFILES_ITEM_COPY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributes)(windows_core::Interface::as_raw(self), copy, &mut result__).map(|| result__) } pub unsafe fn GetTimes(&self, copy: OFFLINEFILES_ITEM_COPY, pftcreationtime: *mut super::super::Foundation::FILETIME, pftlastwritetime: *mut super::super::Foundation::FILETIME, pftchangetime: *mut super::super::Foundation::FILETIME, pftlastaccesstime: *mut super::super::Foundation::FILETIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTimes)(windows_core::Interface::as_raw(self), copy, pftcreationtime, pftlastwritetime, pftchangetime, pftlastaccesstime).ok() } pub unsafe fn GetFileSize(&self, copy: OFFLINEFILES_ITEM_COPY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileSize)(windows_core::Interface::as_raw(self), copy, &mut result__).map(|| result__) } } @@ -764,13 +764,13 @@ windows_core::imp::define_interface!(IOfflineFilesGhostInfo, IOfflineFilesGhostI impl std::ops::Deref for IOfflineFilesGhostInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesGhostInfo, windows_core::IUnknown); impl IOfflineFilesGhostInfo { pub unsafe fn IsGhosted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsGhosted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -783,28 +783,28 @@ windows_core::imp::define_interface!(IOfflineFilesItem, IOfflineFilesItem_Vtbl, impl std::ops::Deref for IOfflineFilesItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesItem, windows_core::IUnknown); impl IOfflineFilesItem { pub unsafe fn GetItemType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPath)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetParentItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self, dwqueryflags: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self), dwqueryflags).ok() } pub unsafe fn IsMarkedForDeletion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMarkedForDeletion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -821,13 +821,13 @@ windows_core::imp::define_interface!(IOfflineFilesItemContainer, IOfflineFilesIt impl std::ops::Deref for IOfflineFilesItemContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesItemContainer, windows_core::IUnknown); impl IOfflineFilesItemContainer { pub unsafe fn EnumItems(&self, dwqueryflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumItems)(windows_core::Interface::as_raw(self), dwqueryflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumItemsEx(&self, pincludefilefilter: P0, pincludedirfilter: P1, pexcludefilefilter: P2, pexcludedirfilter: P3, dwenumflags: u32, dwqueryflags: u32) -> windows_core::Result @@ -837,7 +837,7 @@ impl IOfflineFilesItemContainer { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumItemsEx)(windows_core::Interface::as_raw(self), pincludefilefilter.param().abi(), pincludedirfilter.param().abi(), pexcludefilefilter.param().abi(), pexcludedirfilter.param().abi(), dwenumflags, dwqueryflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -851,7 +851,7 @@ windows_core::imp::define_interface!(IOfflineFilesItemFilter, IOfflineFilesItemF impl std::ops::Deref for IOfflineFilesItemFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesItemFilter, windows_core::IUnknown); @@ -877,13 +877,13 @@ windows_core::imp::define_interface!(IOfflineFilesPinInfo, IOfflineFilesPinInfo_ impl std::ops::Deref for IOfflineFilesPinInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesPinInfo, windows_core::IUnknown); impl IOfflineFilesPinInfo { pub unsafe fn IsPinned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPinned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPinnedForUser(&self, pbpinnedforuser: *mut super::super::Foundation::BOOL, pbinherit: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -912,13 +912,13 @@ windows_core::imp::define_interface!(IOfflineFilesPinInfo2, IOfflineFilesPinInfo impl std::ops::Deref for IOfflineFilesPinInfo2 { type Target = IOfflineFilesPinInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesPinInfo2, windows_core::IUnknown, IOfflineFilesPinInfo); impl IOfflineFilesPinInfo2 { pub unsafe fn IsPartlyPinned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPartlyPinned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -931,17 +931,17 @@ windows_core::imp::define_interface!(IOfflineFilesProgress, IOfflineFilesProgres impl std::ops::Deref for IOfflineFilesProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesProgress, windows_core::IUnknown); impl IOfflineFilesProgress { pub unsafe fn Begin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Begin)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueryAbort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAbort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn End(&self, hrresult: windows_core::HRESULT) -> windows_core::Result<()> { @@ -959,7 +959,7 @@ windows_core::imp::define_interface!(IOfflineFilesServerItem, IOfflineFilesServe impl std::ops::Deref for IOfflineFilesServerItem { type Target = IOfflineFilesItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesServerItem, windows_core::IUnknown, IOfflineFilesItem); @@ -972,24 +972,24 @@ windows_core::imp::define_interface!(IOfflineFilesSetting, IOfflineFilesSetting_ impl std::ops::Deref for IOfflineFilesSetting { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesSetting, windows_core::IUnknown); impl IOfflineFilesSetting { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValueType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValueType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPreference(&self, pvarvalue: *mut windows_core::VARIANT, dwscope: u32) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreferenceScope)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPreference(&self, pvarvalue: *const windows_core::VARIANT, dwscope: u32) -> windows_core::Result<()> { @@ -1002,7 +1002,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicyScope)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self, pvarvalue: *mut windows_core::VARIANT, pbsetbypolicy: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -1014,33 +1014,33 @@ pub struct IOfflineFilesSetting_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetValueType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OFFLINEFILES_SETTING_VALUE_TYPE) -> windows_core::HRESULT, - pub GetPreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub GetPreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, u32) -> windows_core::HRESULT, pub GetPreferenceScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub SetPreference: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub SetPreference: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, u32) -> windows_core::HRESULT, pub DeletePreference: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub GetPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub GetPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, u32) -> windows_core::HRESULT, pub GetPolicyScope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesShareInfo, IOfflineFilesShareInfo_Vtbl, 0x7bcc43e7_31ce_4ca4_8ccd_1cff2dc494da); impl std::ops::Deref for IOfflineFilesShareInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesShareInfo, windows_core::IUnknown); impl IOfflineFilesShareInfo { pub unsafe fn GetShareItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShareItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetShareCachingMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShareCachingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsShareDfsJunction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsShareDfsJunction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1055,7 +1055,7 @@ windows_core::imp::define_interface!(IOfflineFilesShareItem, IOfflineFilesShareI impl std::ops::Deref for IOfflineFilesShareItem { type Target = IOfflineFilesItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesShareItem, windows_core::IUnknown, IOfflineFilesItem); @@ -1068,7 +1068,7 @@ windows_core::imp::define_interface!(IOfflineFilesSimpleProgress, IOfflineFilesS impl std::ops::Deref for IOfflineFilesSimpleProgress { type Target = IOfflineFilesProgress; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesSimpleProgress, windows_core::IUnknown, IOfflineFilesProgress); @@ -1077,14 +1077,14 @@ impl IOfflineFilesSimpleProgress { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemBegin)(windows_core::Interface::as_raw(self), pszfile.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ItemResult(&self, pszfile: P0, hrresult: windows_core::HRESULT) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemResult)(windows_core::Interface::as_raw(self), pszfile.param().abi(), hrresult, &mut result__).map(|| result__) } } @@ -1098,7 +1098,7 @@ windows_core::imp::define_interface!(IOfflineFilesSuspend, IOfflineFilesSuspend_ impl std::ops::Deref for IOfflineFilesSuspend { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesSuspend, windows_core::IUnknown); @@ -1119,7 +1119,7 @@ windows_core::imp::define_interface!(IOfflineFilesSuspendInfo, IOfflineFilesSusp impl std::ops::Deref for IOfflineFilesSuspendInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesSuspendInfo, windows_core::IUnknown); @@ -1137,7 +1137,7 @@ windows_core::imp::define_interface!(IOfflineFilesSyncConflictHandler, IOfflineF impl std::ops::Deref for IOfflineFilesSyncConflictHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesSyncConflictHandler, windows_core::IUnknown); @@ -1158,17 +1158,17 @@ windows_core::imp::define_interface!(IOfflineFilesSyncErrorInfo, IOfflineFilesSy impl std::ops::Deref for IOfflineFilesSyncErrorInfo { type Target = IOfflineFilesErrorInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesSyncErrorInfo, windows_core::IUnknown, IOfflineFilesErrorInfo); impl IOfflineFilesSyncErrorInfo { pub unsafe fn GetSyncOperation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncOperation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemChangeFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemChangeFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InfoEnumerated(&self, pblocalenumerated: *mut super::super::Foundation::BOOL, pbremoteenumerated: *mut super::super::Foundation::BOOL, pboriginalenumerated: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -1178,15 +1178,15 @@ impl IOfflineFilesSyncErrorInfo { (windows_core::Interface::vtable(self).InfoAvailable)(windows_core::Interface::as_raw(self), pblocalinfo, pbremoteinfo, pboriginalinfo).ok() } pub unsafe fn GetLocalInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRemoteInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRemoteInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOriginalInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1205,20 +1205,20 @@ windows_core::imp::define_interface!(IOfflineFilesSyncErrorItemInfo, IOfflineFil impl std::ops::Deref for IOfflineFilesSyncErrorItemInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesSyncErrorItemInfo, windows_core::IUnknown); impl IOfflineFilesSyncErrorItemInfo { pub unsafe fn GetFileAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFileTimes(&self, pftlastwrite: *mut super::super::Foundation::FILETIME, pftchange: *mut super::super::Foundation::FILETIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetFileTimes)(windows_core::Interface::as_raw(self), pftlastwrite, pftchange).ok() } pub unsafe fn GetFileSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1233,7 +1233,7 @@ windows_core::imp::define_interface!(IOfflineFilesSyncProgress, IOfflineFilesSyn impl std::ops::Deref for IOfflineFilesSyncProgress { type Target = IOfflineFilesProgress; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesSyncProgress, windows_core::IUnknown, IOfflineFilesProgress); @@ -1242,7 +1242,7 @@ impl IOfflineFilesSyncProgress { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SyncItemBegin)(windows_core::Interface::as_raw(self), pszfile.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SyncItemResult(&self, pszfile: P0, hrresult: windows_core::HRESULT, perrorinfo: P1) -> windows_core::Result @@ -1250,7 +1250,7 @@ impl IOfflineFilesSyncProgress { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SyncItemResult)(windows_core::Interface::as_raw(self), pszfile.param().abi(), hrresult, perrorinfo.param().abi(), &mut result__).map(|| result__) } } @@ -1264,13 +1264,13 @@ windows_core::imp::define_interface!(IOfflineFilesTransparentCacheInfo, IOffline impl std::ops::Deref for IOfflineFilesTransparentCacheInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOfflineFilesTransparentCacheInfo, windows_core::IUnknown); impl IOfflineFilesTransparentCacheInfo { pub unsafe fn IsTransparentlyCached(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTransparentlyCached)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 bb6e949da6..551c8c1529 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 @@ -4,7 +4,7 @@ where P0: windows_core::Param, { windows_targets::link!("kernel32.dll" "system" fn ActivatePackageVirtualizationContext(context : PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE, cookie : *mut usize) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ActivatePackageVirtualizationContext(context.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -85,7 +85,7 @@ where P0: windows_core::Param, { windows_targets::link!("kernel32.dll" "system" fn CheckIsMSIXPackage(packagefullname : windows_core::PCWSTR, ismsixpackage : *mut super::super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CheckIsMSIXPackage(packagefullname.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -99,7 +99,7 @@ where P0: windows_core::Param, { windows_targets::link!("kernel32.dll" "system" fn CreatePackageVirtualizationContext(packagefamilyname : windows_core::PCWSTR, context : *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreatePackageVirtualizationContext(packagefamilyname.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -121,7 +121,7 @@ where P0: windows_core::Param, { windows_targets::link!("kernel32.dll" "system" fn DuplicatePackageVirtualizationContext(sourcecontext : PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE, destcontext : *mut PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); DuplicatePackageVirtualizationContext(sourcecontext.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -213,7 +213,7 @@ where P0: windows_core::Param, { windows_targets::link!("kernelbase.dll" "system" fn GetIdForPackageDependencyContext(packagedependencycontext : PACKAGEDEPENDENCY_CONTEXT, packagedependencyid : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetIdForPackageDependencyContext(packagedependencycontext.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -319,7 +319,7 @@ where P0: windows_core::Param, { windows_targets::link!("kernelbase.dll" "system" fn GetResolvedPackageFullNameForPackageDependency(packagedependencyid : windows_core::PCWSTR, packagefullname : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetResolvedPackageFullNameForPackageDependency(packagedependencyid.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -429,7 +429,7 @@ where P2: windows_core::Param, { windows_targets::link!("kernelbase.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); TryCreatePackageDependency(user.param().abi(), packagefamilyname.param().abi(), core::mem::transmute(minversion), packagedependencyprocessorarchitectures, lifetimekind, lifetimeartifact.param().abi(), options, &mut result__).map(|| result__) } #[inline] @@ -473,14 +473,14 @@ windows_core::imp::define_interface!(IAppxAppInstallerReader, IAppxAppInstallerR impl std::ops::Deref for IAppxAppInstallerReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxAppInstallerReader, windows_core::IUnknown); impl IAppxAppInstallerReader { #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] pub unsafe fn GetXmlDom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXmlDom)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -496,17 +496,17 @@ windows_core::imp::define_interface!(IAppxBlockMapBlock, IAppxBlockMapBlock_Vtbl impl std::ops::Deref for IAppxBlockMapBlock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBlockMapBlock, windows_core::IUnknown); impl IAppxBlockMapBlock { pub unsafe fn GetHash(&self, buffersize: *mut u32) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHash)(windows_core::Interface::as_raw(self), buffersize, &mut result__).map(|| result__) } pub unsafe fn GetCompressedSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCompressedSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -520,21 +520,21 @@ windows_core::imp::define_interface!(IAppxBlockMapBlocksEnumerator, IAppxBlockMa impl std::ops::Deref for IAppxBlockMapBlocksEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBlockMapBlocksEnumerator, windows_core::IUnknown); impl IAppxBlockMapBlocksEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -549,25 +549,25 @@ windows_core::imp::define_interface!(IAppxBlockMapFile, IAppxBlockMapFile_Vtbl, impl std::ops::Deref for IAppxBlockMapFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBlockMapFile, windows_core::IUnknown); impl IAppxBlockMapFile { pub unsafe fn GetBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBlocks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLocalFileHeaderSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalFileHeaderSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUncompressedSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUncompressedSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -575,7 +575,7 @@ impl IAppxBlockMapFile { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValidateFileHash)(windows_core::Interface::as_raw(self), filestream.param().abi(), &mut result__).map(|| result__) } } @@ -595,21 +595,21 @@ windows_core::imp::define_interface!(IAppxBlockMapFilesEnumerator, IAppxBlockMap impl std::ops::Deref for IAppxBlockMapFilesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBlockMapFilesEnumerator, windows_core::IUnknown); impl IAppxBlockMapFilesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -624,7 +624,7 @@ windows_core::imp::define_interface!(IAppxBlockMapReader, IAppxBlockMapReader_Vt impl std::ops::Deref for IAppxBlockMapReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBlockMapReader, windows_core::IUnknown); @@ -633,21 +633,21 @@ impl IAppxBlockMapReader { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFile)(windows_core::Interface::as_raw(self), filename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFiles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHashMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHashMethod)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -669,7 +669,7 @@ windows_core::imp::define_interface!(IAppxBundleFactory, IAppxBundleFactory_Vtbl impl std::ops::Deref for IAppxBundleFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleFactory, windows_core::IUnknown); @@ -679,7 +679,7 @@ impl IAppxBundleFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBundleWriter)(windows_core::Interface::as_raw(self), outputstream.param().abi(), bundleversion, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -687,7 +687,7 @@ impl IAppxBundleFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBundleReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -695,7 +695,7 @@ impl IAppxBundleFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBundleManifestReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -719,7 +719,7 @@ windows_core::imp::define_interface!(IAppxBundleFactory2, IAppxBundleFactory2_Vt impl std::ops::Deref for IAppxBundleFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleFactory2, windows_core::IUnknown); @@ -730,7 +730,7 @@ impl IAppxBundleFactory2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBundleReader2)(windows_core::Interface::as_raw(self), inputstream.param().abi(), expecteddigest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -746,21 +746,21 @@ windows_core::imp::define_interface!(IAppxBundleManifestOptionalBundleInfo, IApp impl std::ops::Deref for IAppxBundleManifestOptionalBundleInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfo, windows_core::IUnknown); impl IAppxBundleManifestOptionalBundleInfo { pub unsafe fn GetPackageId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPackageInfoItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageInfoItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -775,21 +775,21 @@ windows_core::imp::define_interface!(IAppxBundleManifestOptionalBundleInfoEnumer impl std::ops::Deref for IAppxBundleManifestOptionalBundleInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfoEnumerator, windows_core::IUnknown); impl IAppxBundleManifestOptionalBundleInfoEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -804,33 +804,33 @@ windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo, IAppxBundle impl std::ops::Deref for IAppxBundleManifestPackageInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo, windows_core::IUnknown); impl IAppxBundleManifestPackageInfo { pub unsafe fn GetPackageType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPackageId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -848,21 +848,21 @@ windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo2, IAppxBundl impl std::ops::Deref for IAppxBundleManifestPackageInfo2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo2, windows_core::IUnknown); impl IAppxBundleManifestPackageInfo2 { pub unsafe fn GetIsPackageReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsPackageReference)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIsNonQualifiedResourcePackage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsNonQualifiedResourcePackage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIsDefaultApplicablePackage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsDefaultApplicablePackage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -877,13 +877,13 @@ windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo3, IAppxBundl impl std::ops::Deref for IAppxBundleManifestPackageInfo3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo3, windows_core::IUnknown); impl IAppxBundleManifestPackageInfo3 { pub unsafe fn GetTargetDeviceFamilies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetDeviceFamilies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -896,13 +896,13 @@ windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo4, IAppxBundl impl std::ops::Deref for IAppxBundleManifestPackageInfo4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo4, windows_core::IUnknown); impl IAppxBundleManifestPackageInfo4 { pub unsafe fn GetIsStub(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsStub)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -915,21 +915,21 @@ windows_core::imp::define_interface!(IAppxBundleManifestPackageInfoEnumerator, I impl std::ops::Deref for IAppxBundleManifestPackageInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfoEnumerator, windows_core::IUnknown); impl IAppxBundleManifestPackageInfoEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -944,22 +944,22 @@ windows_core::imp::define_interface!(IAppxBundleManifestReader, IAppxBundleManif impl std::ops::Deref for IAppxBundleManifestReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleManifestReader, windows_core::IUnknown); impl IAppxBundleManifestReader { pub unsafe fn GetPackageId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPackageInfoItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageInfoItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -977,13 +977,13 @@ windows_core::imp::define_interface!(IAppxBundleManifestReader2, IAppxBundleMani impl std::ops::Deref for IAppxBundleManifestReader2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleManifestReader2, windows_core::IUnknown); impl IAppxBundleManifestReader2 { pub unsafe fn GetOptionalBundles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionalBundles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -996,32 +996,32 @@ windows_core::imp::define_interface!(IAppxBundleReader, IAppxBundleReader_Vtbl, impl std::ops::Deref for IAppxBundleReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleReader, windows_core::IUnknown); impl IAppxBundleReader { pub unsafe fn GetFootprintFile(&self, filetype: APPX_BUNDLE_FOOTPRINT_FILE_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFootprintFile)(windows_core::Interface::as_raw(self), filetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBlockMap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBlockMap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetManifest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetManifest)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPayloadPackages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPayloadPackages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPayloadPackage(&self, filename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPayloadPackage)(windows_core::Interface::as_raw(self), filename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1038,7 +1038,7 @@ windows_core::imp::define_interface!(IAppxBundleWriter, IAppxBundleWriter_Vtbl, impl std::ops::Deref for IAppxBundleWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleWriter, windows_core::IUnknown); @@ -1068,7 +1068,7 @@ windows_core::imp::define_interface!(IAppxBundleWriter2, IAppxBundleWriter2_Vtbl impl std::ops::Deref for IAppxBundleWriter2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleWriter2, windows_core::IUnknown); @@ -1094,7 +1094,7 @@ windows_core::imp::define_interface!(IAppxBundleWriter3, IAppxBundleWriter3_Vtbl impl std::ops::Deref for IAppxBundleWriter3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleWriter3, windows_core::IUnknown); @@ -1127,7 +1127,7 @@ windows_core::imp::define_interface!(IAppxBundleWriter4, IAppxBundleWriter4_Vtbl impl std::ops::Deref for IAppxBundleWriter4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxBundleWriter4, windows_core::IUnknown); @@ -1180,17 +1180,17 @@ windows_core::imp::define_interface!(IAppxContentGroup, IAppxContentGroup_Vtbl, impl std::ops::Deref for IAppxContentGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxContentGroup, windows_core::IUnknown); impl IAppxContentGroup { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFiles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1204,21 +1204,21 @@ windows_core::imp::define_interface!(IAppxContentGroupFilesEnumerator, IAppxCont impl std::ops::Deref for IAppxContentGroupFilesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxContentGroupFilesEnumerator, windows_core::IUnknown); impl IAppxContentGroupFilesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1233,17 +1233,17 @@ windows_core::imp::define_interface!(IAppxContentGroupMapReader, IAppxContentGro impl std::ops::Deref for IAppxContentGroupMapReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxContentGroupMapReader, windows_core::IUnknown); impl IAppxContentGroupMapReader { pub unsafe fn GetRequiredGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequiredGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAutomaticGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutomaticGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1257,7 +1257,7 @@ windows_core::imp::define_interface!(IAppxContentGroupMapWriter, IAppxContentGro impl std::ops::Deref for IAppxContentGroupMapWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxContentGroupMapWriter, windows_core::IUnknown); @@ -1289,21 +1289,21 @@ windows_core::imp::define_interface!(IAppxContentGroupsEnumerator, IAppxContentG impl std::ops::Deref for IAppxContentGroupsEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxContentGroupsEnumerator, windows_core::IUnknown); impl IAppxContentGroupsEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1318,13 +1318,13 @@ windows_core::imp::define_interface!(IAppxDigestProvider, IAppxDigestProvider_Vt impl std::ops::Deref for IAppxDigestProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxDigestProvider, windows_core::IUnknown); impl IAppxDigestProvider { pub unsafe fn GetDigest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDigest)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1337,7 +1337,7 @@ windows_core::imp::define_interface!(IAppxEncryptedBundleWriter, IAppxEncryptedB impl std::ops::Deref for IAppxEncryptedBundleWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter, windows_core::IUnknown); @@ -1367,7 +1367,7 @@ windows_core::imp::define_interface!(IAppxEncryptedBundleWriter2, IAppxEncrypted impl std::ops::Deref for IAppxEncryptedBundleWriter2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter2, windows_core::IUnknown); @@ -1393,7 +1393,7 @@ windows_core::imp::define_interface!(IAppxEncryptedBundleWriter3, IAppxEncrypted impl std::ops::Deref for IAppxEncryptedBundleWriter3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter3, windows_core::IUnknown); @@ -1433,7 +1433,7 @@ windows_core::imp::define_interface!(IAppxEncryptedPackageWriter, IAppxEncrypted impl std::ops::Deref for IAppxEncryptedPackageWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptedPackageWriter, windows_core::IUnknown); @@ -1463,7 +1463,7 @@ windows_core::imp::define_interface!(IAppxEncryptedPackageWriter2, IAppxEncrypte impl std::ops::Deref for IAppxEncryptedPackageWriter2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptedPackageWriter2, windows_core::IUnknown); @@ -1485,7 +1485,7 @@ windows_core::imp::define_interface!(IAppxEncryptionFactory, IAppxEncryptionFact impl std::ops::Deref for IAppxEncryptionFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory, windows_core::IUnknown); @@ -1512,7 +1512,7 @@ impl IAppxEncryptionFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncryptedPackageWriter)(windows_core::Interface::as_raw(self), outputstream.param().abi(), manifeststream.param().abi(), settings, keyinfo, exemptedfiles, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1520,7 +1520,7 @@ impl IAppxEncryptionFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncryptedPackageReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), keyinfo, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1544,7 +1544,7 @@ impl IAppxEncryptionFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncryptedBundleWriter)(windows_core::Interface::as_raw(self), outputstream.param().abi(), bundleversion, settings, keyinfo, exemptedfiles, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1552,7 +1552,7 @@ impl IAppxEncryptionFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncryptedBundleReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), keyinfo, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1596,7 +1596,7 @@ windows_core::imp::define_interface!(IAppxEncryptionFactory2, IAppxEncryptionFac impl std::ops::Deref for IAppxEncryptionFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory2, windows_core::IUnknown); @@ -1608,7 +1608,7 @@ impl IAppxEncryptionFactory2 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncryptedPackageWriter)(windows_core::Interface::as_raw(self), outputstream.param().abi(), manifeststream.param().abi(), contentgroupmapstream.param().abi(), settings, keyinfo, exemptedfiles, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1624,7 +1624,7 @@ windows_core::imp::define_interface!(IAppxEncryptionFactory3, IAppxEncryptionFac impl std::ops::Deref for IAppxEncryptionFactory3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory3, windows_core::IUnknown); @@ -1644,7 +1644,7 @@ impl IAppxEncryptionFactory3 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncryptedPackageWriter)(windows_core::Interface::as_raw(self), outputstream.param().abi(), manifeststream.param().abi(), contentgroupmapstream.param().abi(), settings, keyinfo, exemptedfiles, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1660,7 +1660,7 @@ impl IAppxEncryptionFactory3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncryptedBundleWriter)(windows_core::Interface::as_raw(self), outputstream.param().abi(), bundleversion, settings, keyinfo, exemptedfiles, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1688,7 +1688,7 @@ windows_core::imp::define_interface!(IAppxEncryptionFactory4, IAppxEncryptionFac impl std::ops::Deref for IAppxEncryptionFactory4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory4, windows_core::IUnknown); @@ -1714,7 +1714,7 @@ windows_core::imp::define_interface!(IAppxEncryptionFactory5, IAppxEncryptionFac impl std::ops::Deref for IAppxEncryptionFactory5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory5, windows_core::IUnknown); @@ -1725,7 +1725,7 @@ impl IAppxEncryptionFactory5 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncryptedPackageReader2)(windows_core::Interface::as_raw(self), inputstream.param().abi(), keyinfo, expecteddigest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1734,7 +1734,7 @@ impl IAppxEncryptionFactory5 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEncryptedBundleReader2)(windows_core::Interface::as_raw(self), inputstream.param().abi(), keyinfo, expecteddigest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1754,7 +1754,7 @@ windows_core::imp::define_interface!(IAppxFactory, IAppxFactory_Vtbl, 0xbeb94909 impl std::ops::Deref for IAppxFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxFactory, windows_core::IUnknown); @@ -1764,7 +1764,7 @@ impl IAppxFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageWriter)(windows_core::Interface::as_raw(self), outputstream.param().abi(), settings, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1772,7 +1772,7 @@ impl IAppxFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1780,7 +1780,7 @@ impl IAppxFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateManifestReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1788,7 +1788,7 @@ impl IAppxFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBlockMapReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1797,7 +1797,7 @@ impl IAppxFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateValidatedBlockMapReader)(windows_core::Interface::as_raw(self), blockmapstream.param().abi(), signaturefilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1829,7 +1829,7 @@ windows_core::imp::define_interface!(IAppxFactory2, IAppxFactory2_Vtbl, 0xf1346d impl std::ops::Deref for IAppxFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxFactory2, windows_core::IUnknown); @@ -1839,7 +1839,7 @@ impl IAppxFactory2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateContentGroupMapReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1847,7 +1847,7 @@ impl IAppxFactory2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSourceContentGroupMapReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1855,7 +1855,7 @@ impl IAppxFactory2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateContentGroupMapWriter)(windows_core::Interface::as_raw(self), stream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1879,7 +1879,7 @@ windows_core::imp::define_interface!(IAppxFactory3, IAppxFactory3_Vtbl, 0x776b2c impl std::ops::Deref for IAppxFactory3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxFactory3, windows_core::IUnknown); @@ -1890,7 +1890,7 @@ impl IAppxFactory3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageReader2)(windows_core::Interface::as_raw(self), inputstream.param().abi(), expecteddigest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1899,7 +1899,7 @@ impl IAppxFactory3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateManifestReader2)(windows_core::Interface::as_raw(self), inputstream.param().abi(), expecteddigest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1908,7 +1908,7 @@ impl IAppxFactory3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAppInstallerReader)(windows_core::Interface::as_raw(self), inputstream.param().abi(), expecteddigest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1932,30 +1932,30 @@ windows_core::imp::define_interface!(IAppxFile, IAppxFile_Vtbl, 0x91df827b_94fd_ impl std::ops::Deref for IAppxFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxFile, windows_core::IUnknown); impl IAppxFile { pub unsafe fn GetCompressionOption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCompressionOption)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1975,21 +1975,21 @@ windows_core::imp::define_interface!(IAppxFilesEnumerator, IAppxFilesEnumerator_ impl std::ops::Deref for IAppxFilesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxFilesEnumerator, windows_core::IUnknown); impl IAppxFilesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2004,7 +2004,7 @@ windows_core::imp::define_interface!(IAppxManifestApplication, IAppxManifestAppl impl std::ops::Deref for IAppxManifestApplication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestApplication, windows_core::IUnknown); @@ -2013,11 +2013,11 @@ impl IAppxManifestApplication { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringValue)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetAppUserModelId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAppUserModelId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2031,21 +2031,21 @@ windows_core::imp::define_interface!(IAppxManifestApplicationsEnumerator, IAppxM impl std::ops::Deref for IAppxManifestApplicationsEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestApplicationsEnumerator, windows_core::IUnknown); impl IAppxManifestApplicationsEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2060,21 +2060,21 @@ windows_core::imp::define_interface!(IAppxManifestCapabilitiesEnumerator, IAppxM impl std::ops::Deref for IAppxManifestCapabilitiesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestCapabilitiesEnumerator, windows_core::IUnknown); impl IAppxManifestCapabilitiesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2089,21 +2089,21 @@ windows_core::imp::define_interface!(IAppxManifestDeviceCapabilitiesEnumerator, impl std::ops::Deref for IAppxManifestDeviceCapabilitiesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestDeviceCapabilitiesEnumerator, windows_core::IUnknown); impl IAppxManifestDeviceCapabilitiesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2118,21 +2118,21 @@ windows_core::imp::define_interface!(IAppxManifestDriverConstraint, IAppxManifes impl std::ops::Deref for IAppxManifestDriverConstraint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestDriverConstraint, windows_core::IUnknown); impl IAppxManifestDriverConstraint { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMinVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMinDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2147,21 +2147,21 @@ windows_core::imp::define_interface!(IAppxManifestDriverConstraintsEnumerator, I impl std::ops::Deref for IAppxManifestDriverConstraintsEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestDriverConstraintsEnumerator, windows_core::IUnknown); impl IAppxManifestDriverConstraintsEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2176,21 +2176,21 @@ windows_core::imp::define_interface!(IAppxManifestDriverDependenciesEnumerator, impl std::ops::Deref for IAppxManifestDriverDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestDriverDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestDriverDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2205,13 +2205,13 @@ windows_core::imp::define_interface!(IAppxManifestDriverDependency, IAppxManifes impl std::ops::Deref for IAppxManifestDriverDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestDriverDependency, windows_core::IUnknown); impl IAppxManifestDriverDependency { pub unsafe fn GetDriverConstraints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDriverConstraints)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2224,21 +2224,21 @@ windows_core::imp::define_interface!(IAppxManifestHostRuntimeDependenciesEnumera impl std::ops::Deref for IAppxManifestHostRuntimeDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestHostRuntimeDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2253,21 +2253,21 @@ windows_core::imp::define_interface!(IAppxManifestHostRuntimeDependency, IAppxMa impl std::ops::Deref for IAppxManifestHostRuntimeDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependency, windows_core::IUnknown); impl IAppxManifestHostRuntimeDependency { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPublisher(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPublisher)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMinVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2282,13 +2282,13 @@ windows_core::imp::define_interface!(IAppxManifestHostRuntimeDependency2, IAppxM impl std::ops::Deref for IAppxManifestHostRuntimeDependency2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependency2, windows_core::IUnknown); impl IAppxManifestHostRuntimeDependency2 { pub unsafe fn GetPackageFamilyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageFamilyName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2301,21 +2301,21 @@ windows_core::imp::define_interface!(IAppxManifestMainPackageDependenciesEnumera impl std::ops::Deref for IAppxManifestMainPackageDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestMainPackageDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestMainPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2330,21 +2330,21 @@ windows_core::imp::define_interface!(IAppxManifestMainPackageDependency, IAppxMa impl std::ops::Deref for IAppxManifestMainPackageDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestMainPackageDependency, windows_core::IUnknown); impl IAppxManifestMainPackageDependency { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPublisher(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPublisher)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPackageFamilyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageFamilyName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2359,21 +2359,21 @@ windows_core::imp::define_interface!(IAppxManifestOSPackageDependenciesEnumerato impl std::ops::Deref for IAppxManifestOSPackageDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestOSPackageDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestOSPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2388,17 +2388,17 @@ windows_core::imp::define_interface!(IAppxManifestOSPackageDependency, IAppxMani impl std::ops::Deref for IAppxManifestOSPackageDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestOSPackageDependency, windows_core::IUnknown); impl IAppxManifestOSPackageDependency { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2412,17 +2412,17 @@ windows_core::imp::define_interface!(IAppxManifestOptionalPackageInfo, IAppxMani impl std::ops::Deref for IAppxManifestOptionalPackageInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestOptionalPackageInfo, windows_core::IUnknown); impl IAppxManifestOptionalPackageInfo { pub unsafe fn GetIsOptionalPackage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsOptionalPackage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMainPackageName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMainPackageName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2436,21 +2436,21 @@ windows_core::imp::define_interface!(IAppxManifestPackageDependenciesEnumerator, impl std::ops::Deref for IAppxManifestPackageDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2465,21 +2465,21 @@ windows_core::imp::define_interface!(IAppxManifestPackageDependency, IAppxManife impl std::ops::Deref for IAppxManifestPackageDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependency, windows_core::IUnknown); impl IAppxManifestPackageDependency { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPublisher(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPublisher)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMinVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2494,13 +2494,13 @@ windows_core::imp::define_interface!(IAppxManifestPackageDependency2, IAppxManif impl std::ops::Deref for IAppxManifestPackageDependency2 { type Target = IAppxManifestPackageDependency; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependency2, windows_core::IUnknown, IAppxManifestPackageDependency); impl IAppxManifestPackageDependency2 { pub unsafe fn GetMaxMajorVersionTested(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxMajorVersionTested)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2513,13 +2513,13 @@ windows_core::imp::define_interface!(IAppxManifestPackageDependency3, IAppxManif impl std::ops::Deref for IAppxManifestPackageDependency3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependency3, windows_core::IUnknown); impl IAppxManifestPackageDependency3 { pub unsafe fn GetIsOptional(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsOptional)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2532,44 +2532,44 @@ windows_core::imp::define_interface!(IAppxManifestPackageId, IAppxManifestPackag impl std::ops::Deref for IAppxManifestPackageId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestPackageId, windows_core::IUnknown); impl IAppxManifestPackageId { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetArchitecture(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetArchitecture)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPublisher(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPublisher)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetResourceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ComparePublisher(&self, other: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComparePublisher)(windows_core::Interface::as_raw(self), other.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetPackageFullName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageFullName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPackageFamilyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageFamilyName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2589,13 +2589,13 @@ windows_core::imp::define_interface!(IAppxManifestPackageId2, IAppxManifestPacka impl std::ops::Deref for IAppxManifestPackageId2 { type Target = IAppxManifestPackageId; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestPackageId2, windows_core::IUnknown, IAppxManifestPackageId); impl IAppxManifestPackageId2 { pub unsafe fn GetArchitecture2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetArchitecture2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2608,7 +2608,7 @@ windows_core::imp::define_interface!(IAppxManifestProperties, IAppxManifestPrope impl std::ops::Deref for IAppxManifestProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestProperties, windows_core::IUnknown); @@ -2617,14 +2617,14 @@ impl IAppxManifestProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoolValue)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetStringValue(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringValue)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } } @@ -2638,21 +2638,21 @@ windows_core::imp::define_interface!(IAppxManifestQualifiedResource, IAppxManife impl std::ops::Deref for IAppxManifestQualifiedResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestQualifiedResource, windows_core::IUnknown); impl IAppxManifestQualifiedResource { pub unsafe fn GetLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetScale(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScale)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDXFeatureLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDXFeatureLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2667,21 +2667,21 @@ windows_core::imp::define_interface!(IAppxManifestQualifiedResourcesEnumerator, impl std::ops::Deref for IAppxManifestQualifiedResourcesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestQualifiedResourcesEnumerator, windows_core::IUnknown); impl IAppxManifestQualifiedResourcesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2696,49 +2696,49 @@ windows_core::imp::define_interface!(IAppxManifestReader, IAppxManifestReader_Vt impl std::ops::Deref for IAppxManifestReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestReader, windows_core::IUnknown); impl IAppxManifestReader { pub unsafe fn GetPackageId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPackageDependencies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageDependencies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDeviceCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceCapabilities)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPrerequisite(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrerequisite)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetApplications(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplications)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2762,13 +2762,13 @@ windows_core::imp::define_interface!(IAppxManifestReader2, IAppxManifestReader2_ impl std::ops::Deref for IAppxManifestReader2 { type Target = IAppxManifestReader; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestReader2, windows_core::IUnknown, IAppxManifestReader); impl IAppxManifestReader2 { pub unsafe fn GetQualifiedResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQualifiedResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2781,17 +2781,17 @@ windows_core::imp::define_interface!(IAppxManifestReader3, IAppxManifestReader3_ impl std::ops::Deref for IAppxManifestReader3 { type Target = IAppxManifestReader2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestReader3, windows_core::IUnknown, IAppxManifestReader, IAppxManifestReader2); impl IAppxManifestReader3 { pub unsafe fn GetCapabilitiesByCapabilityClass(&self, capabilityclass: APPX_CAPABILITY_CLASS_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilitiesByCapabilityClass)(windows_core::Interface::as_raw(self), capabilityclass, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTargetDeviceFamilies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetDeviceFamilies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2805,13 +2805,13 @@ windows_core::imp::define_interface!(IAppxManifestReader4, IAppxManifestReader4_ impl std::ops::Deref for IAppxManifestReader4 { type Target = IAppxManifestReader3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestReader4, windows_core::IUnknown, IAppxManifestReader, IAppxManifestReader2, IAppxManifestReader3); impl IAppxManifestReader4 { pub unsafe fn GetOptionalPackageInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionalPackageInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2824,13 +2824,13 @@ windows_core::imp::define_interface!(IAppxManifestReader5, IAppxManifestReader5_ impl std::ops::Deref for IAppxManifestReader5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestReader5, windows_core::IUnknown); impl IAppxManifestReader5 { pub unsafe fn GetMainPackageDependencies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMainPackageDependencies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2843,13 +2843,13 @@ windows_core::imp::define_interface!(IAppxManifestReader6, IAppxManifestReader6_ impl std::ops::Deref for IAppxManifestReader6 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestReader6, windows_core::IUnknown); impl IAppxManifestReader6 { pub unsafe fn GetIsNonQualifiedResourcePackage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsNonQualifiedResourcePackage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2862,21 +2862,21 @@ windows_core::imp::define_interface!(IAppxManifestReader7, IAppxManifestReader7_ impl std::ops::Deref for IAppxManifestReader7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestReader7, windows_core::IUnknown); impl IAppxManifestReader7 { pub unsafe fn GetDriverDependencies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDriverDependencies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOSPackageDependencies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOSPackageDependencies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHostRuntimeDependencies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHostRuntimeDependencies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2891,21 +2891,21 @@ windows_core::imp::define_interface!(IAppxManifestResourcesEnumerator, IAppxMani impl std::ops::Deref for IAppxManifestResourcesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestResourcesEnumerator, windows_core::IUnknown); impl IAppxManifestResourcesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2920,21 +2920,21 @@ windows_core::imp::define_interface!(IAppxManifestTargetDeviceFamiliesEnumerator impl std::ops::Deref for IAppxManifestTargetDeviceFamiliesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestTargetDeviceFamiliesEnumerator, windows_core::IUnknown); impl IAppxManifestTargetDeviceFamiliesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHasCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHasCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2949,21 +2949,21 @@ windows_core::imp::define_interface!(IAppxManifestTargetDeviceFamily, IAppxManif impl std::ops::Deref for IAppxManifestTargetDeviceFamily { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxManifestTargetDeviceFamily, windows_core::IUnknown); impl IAppxManifestTargetDeviceFamily { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMinVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxVersionTested(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxVersionTested)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2978,7 +2978,7 @@ windows_core::imp::define_interface!(IAppxPackageEditor, IAppxPackageEditor_Vtbl impl std::ops::Deref for IAppxPackageEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxPackageEditor, windows_core::IUnknown); @@ -3063,32 +3063,32 @@ windows_core::imp::define_interface!(IAppxPackageReader, IAppxPackageReader_Vtbl impl std::ops::Deref for IAppxPackageReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxPackageReader, windows_core::IUnknown); impl IAppxPackageReader { pub unsafe fn GetBlockMap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBlockMap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFootprintFile(&self, r#type: APPX_FOOTPRINT_FILE_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFootprintFile)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPayloadFile(&self, filename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPayloadFile)(windows_core::Interface::as_raw(self), filename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPayloadFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPayloadFiles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetManifest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetManifest)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3105,7 +3105,7 @@ windows_core::imp::define_interface!(IAppxPackageWriter, IAppxPackageWriter_Vtbl impl std::ops::Deref for IAppxPackageWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxPackageWriter, windows_core::IUnknown); @@ -3143,7 +3143,7 @@ windows_core::imp::define_interface!(IAppxPackageWriter2, IAppxPackageWriter2_Vt impl std::ops::Deref for IAppxPackageWriter2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxPackageWriter2, windows_core::IUnknown); @@ -3169,7 +3169,7 @@ windows_core::imp::define_interface!(IAppxPackageWriter3, IAppxPackageWriter3_Vt impl std::ops::Deref for IAppxPackageWriter3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxPackageWriter3, windows_core::IUnknown); @@ -3191,7 +3191,7 @@ windows_core::imp::define_interface!(IAppxPackagingDiagnosticEventSink, IAppxPac impl std::ops::Deref for IAppxPackagingDiagnosticEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxPackagingDiagnosticEventSink, windows_core::IUnknown); @@ -3221,7 +3221,7 @@ windows_core::imp::define_interface!(IAppxPackagingDiagnosticEventSinkManager, I impl std::ops::Deref for IAppxPackagingDiagnosticEventSinkManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxPackagingDiagnosticEventSinkManager, windows_core::IUnknown); @@ -3242,17 +3242,17 @@ windows_core::imp::define_interface!(IAppxSourceContentGroupMapReader, IAppxSour impl std::ops::Deref for IAppxSourceContentGroupMapReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppxSourceContentGroupMapReader, windows_core::IUnknown); impl IAppxSourceContentGroupMapReader { pub unsafe fn GetRequiredGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequiredGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAutomaticGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutomaticGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3950,7 +3950,7 @@ pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS { pub keyLength: u32, pub encryptionAlgorithm: windows_core::PCWSTR, pub useDiffusion: super::super::super::Foundation::BOOL, - pub blockMapHashAlgorithm: std::mem::ManuallyDrop>, + pub blockMapHashAlgorithm: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_System_Com")] impl Clone for APPX_ENCRYPTED_PACKAGE_SETTINGS { @@ -3974,7 +3974,7 @@ impl Default for APPX_ENCRYPTED_PACKAGE_SETTINGS { pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS2 { pub keyLength: u32, pub encryptionAlgorithm: windows_core::PCWSTR, - pub blockMapHashAlgorithm: std::mem::ManuallyDrop>, + pub blockMapHashAlgorithm: core::mem::ManuallyDrop>, pub options: u32, } #[cfg(feature = "Win32_System_Com")] @@ -4014,7 +4014,7 @@ impl Default for APPX_KEY_INFO { #[derive(Debug, Eq, PartialEq)] pub struct APPX_PACKAGE_SETTINGS { pub forceZip32: super::super::super::Foundation::BOOL, - pub hashMethod: std::mem::ManuallyDrop>, + pub hashMethod: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_System_Com")] impl Clone for APPX_PACKAGE_SETTINGS { @@ -4036,7 +4036,7 @@ impl Default for APPX_PACKAGE_SETTINGS { #[cfg(feature = "Win32_System_Com")] #[derive(Debug, Eq, PartialEq)] pub struct APPX_PACKAGE_WRITER_PAYLOAD_STREAM { - pub inputStream: std::mem::ManuallyDrop>, + pub inputStream: core::mem::ManuallyDrop>, pub fileName: windows_core::PCWSTR, pub contentType: windows_core::PCWSTR, pub compressionOption: APPX_COMPRESSION_OPTION, 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 178b47a487..f972e98f61 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 @@ -2,26 +2,26 @@ windows_core::imp::define_interface!(IOpcCertificateEnumerator, IOpcCertificateE impl std::ops::Deref for IOpcCertificateEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcCertificateEnumerator, windows_core::IUnknown); impl IOpcCertificateEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MovePrevious(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MovePrevious)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security_Cryptography")] pub unsafe fn GetCurrent(&self) -> windows_core::Result<*mut super::super::super::Security::Cryptography::CERT_CONTEXT> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -40,7 +40,7 @@ windows_core::imp::define_interface!(IOpcCertificateSet, IOpcCertificateSet_Vtbl impl std::ops::Deref for IOpcCertificateSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcCertificateSet, windows_core::IUnknown); @@ -54,7 +54,7 @@ impl IOpcCertificateSet { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), certificate).ok() } pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -75,7 +75,7 @@ windows_core::imp::define_interface!(IOpcDigitalSignature, IOpcDigitalSignature_ impl std::ops::Deref for IOpcDigitalSignature { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcDigitalSignature, windows_core::IUnknown); @@ -84,55 +84,55 @@ impl IOpcDigitalSignature { (windows_core::Interface::vtable(self).GetNamespaces)(windows_core::Interface::as_raw(self), prefixes, namespaces, count).ok() } pub unsafe fn GetSignatureId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSignaturePartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignaturePartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSignatureMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCanonicalizationMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCanonicalizationMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSignatureValue(&self, signaturevalue: *mut *mut u8, count: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetSignatureValue)(windows_core::Interface::as_raw(self), signaturevalue, count).ok() } pub unsafe fn GetSignaturePartReferenceEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignaturePartReferenceEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSignatureRelationshipReferenceEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureRelationshipReferenceEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSigningTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSigningTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTimeFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimeFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPackageObjectReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageObjectReference)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCertificateEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCustomReferenceEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomReferenceEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCustomObjectEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomObjectEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSignatureXml(&self, signaturexml: *mut *mut u8, count: *mut u32) -> windows_core::Result<()> { @@ -165,25 +165,25 @@ windows_core::imp::define_interface!(IOpcDigitalSignatureEnumerator, IOpcDigital impl std::ops::Deref for IOpcDigitalSignatureEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcDigitalSignatureEnumerator, windows_core::IUnknown); impl IOpcDigitalSignatureEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MovePrevious(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MovePrevious)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -199,14 +199,14 @@ windows_core::imp::define_interface!(IOpcDigitalSignatureManager, IOpcDigitalSig impl std::ops::Deref for IOpcDigitalSignatureManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcDigitalSignatureManager, windows_core::IUnknown); impl IOpcDigitalSignatureManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSignatureOriginPartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureOriginPartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -217,7 +217,7 @@ impl IOpcDigitalSignatureManager { (windows_core::Interface::vtable(self).SetSignatureOriginPartName)(windows_core::Interface::as_raw(self), signatureoriginpartname.param().abi()).ok() } pub unsafe fn GetSignatureEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -228,7 +228,7 @@ impl IOpcDigitalSignatureManager { (windows_core::Interface::vtable(self).RemoveSignature)(windows_core::Interface::as_raw(self), signaturepartname.param().abi()).ok() } pub unsafe fn CreateSigningOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSigningOptions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Security_Cryptography")] @@ -236,7 +236,7 @@ impl IOpcDigitalSignatureManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Validate)(windows_core::Interface::as_raw(self), signature.param().abi(), certificate, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security_Cryptography")] @@ -244,7 +244,7 @@ impl IOpcDigitalSignatureManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Sign)(windows_core::Interface::as_raw(self), certificate, signingoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -252,7 +252,7 @@ impl IOpcDigitalSignatureManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReplaceSignatureXml)(windows_core::Interface::as_raw(self), signaturepartname.param().abi(), core::mem::transmute(newsignaturexml.as_ptr()), newsignaturexml.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -290,14 +290,14 @@ windows_core::imp::define_interface!(IOpcFactory, IOpcFactory_Vtbl, 0x6d0b4446_c impl std::ops::Deref for IOpcFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcFactory, windows_core::IUnknown); impl IOpcFactory { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreatePackageRootUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageRootUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -305,7 +305,7 @@ impl IOpcFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePartUri)(windows_core::Interface::as_raw(self), pwzuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Security", feature = "Win32_System_Com"))] @@ -313,11 +313,11 @@ impl IOpcFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStreamOnFile)(windows_core::Interface::as_raw(self), filename.param().abi(), iomode, securityattributes, dwflagsandattributes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePackage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -325,7 +325,7 @@ impl IOpcFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadPackageFromStream)(windows_core::Interface::as_raw(self), stream.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -340,7 +340,7 @@ impl IOpcFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDigitalSignatureManager)(windows_core::Interface::as_raw(self), package.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -374,17 +374,17 @@ windows_core::imp::define_interface!(IOpcPackage, IOpcPackage_Vtbl, 0x42195949_3 impl std::ops::Deref for IOpcPackage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcPackage, windows_core::IUnknown); impl IOpcPackage { pub unsafe fn GetPartSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRelationshipSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelationshipSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -398,31 +398,31 @@ windows_core::imp::define_interface!(IOpcPart, IOpcPart_Vtbl, 0x42195949_3b79_4f impl std::ops::Deref for IOpcPart { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcPart, windows_core::IUnknown); impl IOpcPart { pub unsafe fn GetRelationshipSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelationshipSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetContentStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCompressionOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCompressionOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -445,25 +445,25 @@ windows_core::imp::define_interface!(IOpcPartEnumerator, IOpcPartEnumerator_Vtbl impl std::ops::Deref for IOpcPartEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcPartEnumerator, windows_core::IUnknown); impl IOpcPartEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MovePrevious(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MovePrevious)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -479,7 +479,7 @@ windows_core::imp::define_interface!(IOpcPartSet, IOpcPartSet_Vtbl, 0x42195949_3 impl std::ops::Deref for IOpcPartSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcPartSet, windows_core::IUnknown); @@ -489,7 +489,7 @@ impl IOpcPartSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPart)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -498,7 +498,7 @@ impl IOpcPartSet { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePart)(windows_core::Interface::as_raw(self), name.param().abi(), contenttype.param().abi(), compressionoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -513,11 +513,11 @@ impl IOpcPartSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PartExists)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -548,7 +548,7 @@ windows_core::imp::define_interface!(IOpcPartUri, IOpcPartUri_Vtbl, 0x7d3babe7_8 impl std::ops::Deref for IOpcPartUri { type Target = IOpcUri; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -560,16 +560,16 @@ impl IOpcPartUri { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComparePartUri)(windows_core::Interface::as_raw(self), parturi.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSourceUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsRelationshipsPartUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRelationshipsPartUri)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -591,31 +591,31 @@ windows_core::imp::define_interface!(IOpcRelationship, IOpcRelationship_Vtbl, 0x impl std::ops::Deref for IOpcRelationship { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcRelationship, windows_core::IUnknown); impl IOpcRelationship { pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRelationshipType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelationshipType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSourceUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTargetUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTargetMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -638,25 +638,25 @@ windows_core::imp::define_interface!(IOpcRelationshipEnumerator, IOpcRelationshi impl std::ops::Deref for IOpcRelationshipEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcRelationshipEnumerator, windows_core::IUnknown); impl IOpcRelationshipEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MovePrevious(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MovePrevious)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -672,17 +672,17 @@ windows_core::imp::define_interface!(IOpcRelationshipSelector, IOpcRelationshipS impl std::ops::Deref for IOpcRelationshipSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcRelationshipSelector, windows_core::IUnknown); impl IOpcRelationshipSelector { pub unsafe fn GetSelectorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSelectionCriterion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectionCriterion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -696,25 +696,25 @@ windows_core::imp::define_interface!(IOpcRelationshipSelectorEnumerator, IOpcRel impl std::ops::Deref for IOpcRelationshipSelectorEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcRelationshipSelectorEnumerator, windows_core::IUnknown); impl IOpcRelationshipSelectorEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MovePrevious(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MovePrevious)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -730,7 +730,7 @@ windows_core::imp::define_interface!(IOpcRelationshipSelectorSet, IOpcRelationsh impl std::ops::Deref for IOpcRelationshipSelectorSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcRelationshipSelectorSet, windows_core::IUnknown); @@ -739,7 +739,7 @@ impl IOpcRelationshipSelectorSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), selector, selectioncriterion.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, relationshipselector: P0) -> windows_core::Result<()> @@ -749,7 +749,7 @@ impl IOpcRelationshipSelectorSet { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), relationshipselector.param().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -764,7 +764,7 @@ windows_core::imp::define_interface!(IOpcRelationshipSet, IOpcRelationshipSet_Vt impl std::ops::Deref for IOpcRelationshipSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcRelationshipSet, windows_core::IUnknown); @@ -773,7 +773,7 @@ impl IOpcRelationshipSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelationship)(windows_core::Interface::as_raw(self), relationshipidentifier.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -783,7 +783,7 @@ impl IOpcRelationshipSet { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRelationship)(windows_core::Interface::as_raw(self), relationshipidentifier.param().abi(), relationshiptype.param().abi(), targeturi.param().abi(), targetmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteRelationship(&self, relationshipidentifier: P0) -> windows_core::Result<()> @@ -796,23 +796,23 @@ impl IOpcRelationshipSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RelationshipExists)(windows_core::Interface::as_raw(self), relationshipidentifier.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEnumeratorForType(&self, relationshiptype: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumeratorForType)(windows_core::Interface::as_raw(self), relationshiptype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRelationshipsContentStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelationshipsContentStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -837,7 +837,7 @@ windows_core::imp::define_interface!(IOpcSignatureCustomObject, IOpcSignatureCus impl std::ops::Deref for IOpcSignatureCustomObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignatureCustomObject, windows_core::IUnknown); @@ -855,25 +855,25 @@ windows_core::imp::define_interface!(IOpcSignatureCustomObjectEnumerator, IOpcSi impl std::ops::Deref for IOpcSignatureCustomObjectEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignatureCustomObjectEnumerator, windows_core::IUnknown); impl IOpcSignatureCustomObjectEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MovePrevious(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MovePrevious)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -889,13 +889,13 @@ windows_core::imp::define_interface!(IOpcSignatureCustomObjectSet, IOpcSignature impl std::ops::Deref for IOpcSignatureCustomObjectSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignatureCustomObjectSet, windows_core::IUnknown); impl IOpcSignatureCustomObjectSet { pub unsafe fn Create(&self, xmlmarkup: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), core::mem::transmute(xmlmarkup.as_ptr()), xmlmarkup.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, customobject: P0) -> windows_core::Result<()> @@ -905,7 +905,7 @@ impl IOpcSignatureCustomObjectSet { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), customobject.param().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -920,29 +920,29 @@ windows_core::imp::define_interface!(IOpcSignaturePartReference, IOpcSignaturePa impl std::ops::Deref for IOpcSignaturePartReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignaturePartReference, windows_core::IUnknown); impl IOpcSignaturePartReference { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDigestMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDigestMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), digestvalue, count).ok() } pub unsafe fn GetTransformMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -962,25 +962,25 @@ windows_core::imp::define_interface!(IOpcSignaturePartReferenceEnumerator, IOpcS impl std::ops::Deref for IOpcSignaturePartReferenceEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignaturePartReferenceEnumerator, windows_core::IUnknown); impl IOpcSignaturePartReferenceEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MovePrevious(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MovePrevious)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -996,7 +996,7 @@ windows_core::imp::define_interface!(IOpcSignaturePartReferenceSet, IOpcSignatur impl std::ops::Deref for IOpcSignaturePartReferenceSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignaturePartReferenceSet, windows_core::IUnknown); @@ -1007,7 +1007,7 @@ impl IOpcSignaturePartReferenceSet { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), parturi.param().abi(), digestmethod.param().abi(), transformmethod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, partreference: P0) -> windows_core::Result<()> @@ -1017,7 +1017,7 @@ impl IOpcSignaturePartReferenceSet { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), partreference.param().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1035,30 +1035,30 @@ windows_core::imp::define_interface!(IOpcSignatureReference, IOpcSignatureRefere impl std::ops::Deref for IOpcSignatureReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignatureReference, windows_core::IUnknown); impl IOpcSignatureReference { pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransformMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDigestMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDigestMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDigestValue(&self, digestvalue: *mut *mut u8, count: *mut u32) -> windows_core::Result<()> { @@ -1082,25 +1082,25 @@ windows_core::imp::define_interface!(IOpcSignatureReferenceEnumerator, IOpcSigna impl std::ops::Deref for IOpcSignatureReferenceEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignatureReferenceEnumerator, windows_core::IUnknown); impl IOpcSignatureReferenceEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MovePrevious(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MovePrevious)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1116,7 +1116,7 @@ windows_core::imp::define_interface!(IOpcSignatureReferenceSet, IOpcSignatureRef impl std::ops::Deref for IOpcSignatureReferenceSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignatureReferenceSet, windows_core::IUnknown); @@ -1129,7 +1129,7 @@ impl IOpcSignatureReferenceSet { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), referenceuri.param().abi(), referenceid.param().abi(), r#type.param().abi(), digestmethod.param().abi(), transformmethod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, reference: P0) -> windows_core::Result<()> @@ -1139,7 +1139,7 @@ impl IOpcSignatureReferenceSet { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), reference.param().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1157,33 +1157,33 @@ windows_core::imp::define_interface!(IOpcSignatureRelationshipReference, IOpcSig impl std::ops::Deref for IOpcSignatureRelationshipReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignatureRelationshipReference, windows_core::IUnknown); impl IOpcSignatureRelationshipReference { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSourceUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDigestMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDigestMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), digestvalue, count).ok() } pub unsafe fn GetTransformMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRelationshipSigningOption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelationshipSigningOption)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRelationshipSelectorEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelationshipSelectorEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1204,25 +1204,25 @@ windows_core::imp::define_interface!(IOpcSignatureRelationshipReferenceEnumerato impl std::ops::Deref for IOpcSignatureRelationshipReferenceEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignatureRelationshipReferenceEnumerator, windows_core::IUnknown); impl IOpcSignatureRelationshipReferenceEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MovePrevious(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MovePrevious)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1238,7 +1238,7 @@ windows_core::imp::define_interface!(IOpcSignatureRelationshipReferenceSet, IOpc impl std::ops::Deref for IOpcSignatureRelationshipReferenceSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSignatureRelationshipReferenceSet, windows_core::IUnknown); @@ -1250,11 +1250,11 @@ impl IOpcSignatureRelationshipReferenceSet { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), sourceuri.param().abi(), digestmethod.param().abi(), relationshipsigningoption, selectorset.param().abi(), transformmethod, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRelationshipSelectorSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRelationshipSelectorSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, relationshipreference: P0) -> windows_core::Result<()> @@ -1264,7 +1264,7 @@ impl IOpcSignatureRelationshipReferenceSet { (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), relationshipreference.param().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1283,13 +1283,13 @@ windows_core::imp::define_interface!(IOpcSigningOptions, IOpcSigningOptions_Vtbl impl std::ops::Deref for IOpcSigningOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpcSigningOptions, windows_core::IUnknown); impl IOpcSigningOptions { pub unsafe fn GetSignatureId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSignatureId(&self, signatureid: P0) -> windows_core::Result<()> @@ -1299,7 +1299,7 @@ impl IOpcSigningOptions { (windows_core::Interface::vtable(self).SetSignatureId)(windows_core::Interface::as_raw(self), signatureid.param().abi()).ok() } pub unsafe fn GetSignatureMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSignatureMethod(&self, signaturemethod: P0) -> windows_core::Result<()> @@ -1309,7 +1309,7 @@ impl IOpcSigningOptions { (windows_core::Interface::vtable(self).SetSignatureMethod)(windows_core::Interface::as_raw(self), signaturemethod.param().abi()).ok() } pub unsafe fn GetDefaultDigestMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultDigestMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefaultDigestMethod(&self, digestmethod: P0) -> windows_core::Result<()> @@ -1319,42 +1319,42 @@ impl IOpcSigningOptions { (windows_core::Interface::vtable(self).SetDefaultDigestMethod)(windows_core::Interface::as_raw(self), digestmethod.param().abi()).ok() } pub unsafe fn GetCertificateEmbeddingOption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateEmbeddingOption)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimeFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignaturePartReferenceSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSignatureRelationshipReferenceSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureRelationshipReferenceSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCustomObjectSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomObjectSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCustomReferenceSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomReferenceSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCertificateSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSignaturePartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignaturePartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1398,7 +1398,7 @@ windows_core::imp::define_interface!(IOpcUri, IOpcUri_Vtbl, 0xbc9c1b9b_d62c_49eb impl std::ops::Deref for IOpcUri { type Target = super::super::super::System::Com::IUri; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1407,7 +1407,7 @@ windows_core::imp::interface_hierarchy!(IOpcUri, windows_core::IUnknown, super:: impl IOpcUri { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRelationshipsPartUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelationshipsPartUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1415,7 +1415,7 @@ impl IOpcUri { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelativeUri)(windows_core::Interface::as_raw(self), targetparturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1423,7 +1423,7 @@ impl IOpcUri { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CombinePartUri)(windows_core::Interface::as_raw(self), relativeuri.param().abi(), &mut result__).and_then(|| windows_core::Type::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 a8ea2daf8f..aa9a344fc5 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs @@ -86,7 +86,7 @@ where P0: windows_core::Param, { windows_targets::link!("projectedfslib.dll" "system" fn PrjGetOnDiskFileState(destinationfilename : windows_core::PCWSTR, filestate : *mut PRJ_FILE_STATE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PrjGetOnDiskFileState(destinationfilename.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -112,7 +112,7 @@ where P0: windows_core::Param, { windows_targets::link!("projectedfslib.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PrjStartVirtualizing(virtualizationrootpath.param().abi(), callbacks, core::mem::transmute(instancecontext.unwrap_or(std::ptr::null())), core::mem::transmute(options.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] 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 008df69a2c..183b096d59 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IEnumVdsObject, IEnumVdsObject_Vtbl, 0x1186 impl std::ops::Deref for IEnumVdsObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumVdsObject, windows_core::IUnknown); @@ -17,7 +17,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -33,7 +33,7 @@ windows_core::imp::define_interface!(IVdsAdmin, IVdsAdmin_Vtbl, 0xd188e97d_85aa_ impl std::ops::Deref for IVdsAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsAdmin, windows_core::IUnknown); @@ -60,7 +60,7 @@ windows_core::imp::define_interface!(IVdsAdvancedDisk, IVdsAdvancedDisk_Vtbl, 0x impl std::ops::Deref for IVdsAdvancedDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsAdvancedDisk, windows_core::IUnknown); @@ -72,7 +72,7 @@ impl IVdsAdvancedDisk { (windows_core::Interface::vtable(self).QueryPartitions)(windows_core::Interface::as_raw(self), pppartitionproparray, plnumberofpartitions).ok() } pub unsafe fn CreatePartition(&self, ulloffset: u64, ullsize: u64, para: *const CREATE_PARTITION_PARAMETERS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePartition)(windows_core::Interface::as_raw(self), ulloffset, ullsize, para, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeletePartition(&self, ulloffset: u64, bforce: P0, bforceprotected: P1) -> windows_core::Result<()> @@ -101,7 +101,7 @@ impl IVdsAdvancedDisk { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatPartition)(windows_core::Interface::as_raw(self), ulloffset, r#type, pwszlabel.param().abi(), dwunitallocationsize, bforce.param().abi(), bquickformat.param().abi(), benablecompression.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clean(&self, bforce: P0, bforceoem: P1, bfullclean: P2) -> windows_core::Result @@ -110,7 +110,7 @@ impl IVdsAdvancedDisk { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clean)(windows_core::Interface::as_raw(self), bforce.param().abi(), bforceoem.param().abi(), bfullclean.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -132,7 +132,7 @@ windows_core::imp::define_interface!(IVdsAdvancedDisk2, IVdsAdvancedDisk2_Vtbl, impl std::ops::Deref for IVdsAdvancedDisk2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsAdvancedDisk2, windows_core::IUnknown); @@ -153,7 +153,7 @@ windows_core::imp::define_interface!(IVdsAdvancedDisk3, IVdsAdvancedDisk3_Vtbl, impl std::ops::Deref for IVdsAdvancedDisk3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsAdvancedDisk3, windows_core::IUnknown); @@ -162,7 +162,7 @@ impl IVdsAdvancedDisk3 { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), padvdiskprop).ok() } pub unsafe fn GetUniqueId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUniqueId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -176,7 +176,7 @@ windows_core::imp::define_interface!(IVdsAdviseSink, IVdsAdviseSink_Vtbl, 0x8326 impl std::ops::Deref for IVdsAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsAdviseSink, windows_core::IUnknown); @@ -194,7 +194,7 @@ windows_core::imp::define_interface!(IVdsAsync, IVdsAsync_Vtbl, 0xd5d23b6d_5a55_ impl std::ops::Deref for IVdsAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsAsync, windows_core::IUnknown); @@ -220,7 +220,7 @@ windows_core::imp::define_interface!(IVdsController, IVdsController_Vtbl, 0xcb53 impl std::ops::Deref for IVdsController { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsController, windows_core::IUnknown); @@ -229,7 +229,7 @@ impl IVdsController { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pcontrollerprop).ok() } pub unsafe fn GetSubSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubSystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPortProperties(&self, sportnumber: i16, pportprop: *mut VDS_PORT_PROP) -> windows_core::Result<()> { @@ -245,7 +245,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAssociatedLuns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStatus(&self, status: VDS_CONTROLLER_STATUS) -> windows_core::Result<()> { @@ -268,13 +268,13 @@ windows_core::imp::define_interface!(IVdsControllerControllerPort, IVdsControlle impl std::ops::Deref for IVdsControllerControllerPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsControllerControllerPort, windows_core::IUnknown); impl IVdsControllerControllerPort { pub unsafe fn QueryControllerPorts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryControllerPorts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -287,7 +287,7 @@ windows_core::imp::define_interface!(IVdsControllerPort, IVdsControllerPort_Vtbl impl std::ops::Deref for IVdsControllerPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsControllerPort, windows_core::IUnknown); @@ -296,11 +296,11 @@ impl IVdsControllerPort { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pportprop).ok() } pub unsafe fn GetController(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetController)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryAssociatedLuns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAssociatedLuns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -323,13 +323,13 @@ windows_core::imp::define_interface!(IVdsCreatePartitionEx, IVdsCreatePartitionE impl std::ops::Deref for IVdsCreatePartitionEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsCreatePartitionEx, windows_core::IUnknown); impl IVdsCreatePartitionEx { pub unsafe fn CreatePartitionEx(&self, ulloffset: u64, ullsize: u64, ulalign: u32, para: *const CREATE_PARTITION_PARAMETERS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePartitionEx)(windows_core::Interface::as_raw(self), ulloffset, ullsize, ulalign, para, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -342,7 +342,7 @@ windows_core::imp::define_interface!(IVdsDisk, IVdsDisk_Vtbl, 0x07e5c822_f00c_47 impl std::ops::Deref for IVdsDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsDisk, windows_core::IUnknown); @@ -351,7 +351,7 @@ impl IVdsDisk { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pdiskproperties).ok() } pub unsafe fn GetPack(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPack)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIdentificationData(&self, pluninfo: *mut VDS_LUN_INFORMATION) -> windows_core::Result<()> { @@ -385,7 +385,7 @@ windows_core::imp::define_interface!(IVdsDisk2, IVdsDisk2_Vtbl, 0x40f73c8b_687d_ impl std::ops::Deref for IVdsDisk2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsDisk2, windows_core::IUnknown); @@ -406,7 +406,7 @@ windows_core::imp::define_interface!(IVdsDisk3, IVdsDisk3_Vtbl, 0x8f4b2f5d_ec15_ impl std::ops::Deref for IVdsDisk3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsDisk3, windows_core::IUnknown); @@ -428,7 +428,7 @@ windows_core::imp::define_interface!(IVdsDiskOnline, IVdsDiskOnline_Vtbl, 0x9068 impl std::ops::Deref for IVdsDiskOnline { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsDiskOnline, windows_core::IUnknown); @@ -450,7 +450,7 @@ windows_core::imp::define_interface!(IVdsDiskPartitionMF, IVdsDiskPartitionMF_Vt impl std::ops::Deref for IVdsDiskPartitionMF { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsDiskPartitionMF, windows_core::IUnknown); @@ -459,7 +459,7 @@ impl IVdsDiskPartitionMF { (windows_core::Interface::vtable(self).GetPartitionFileSystemProperties)(windows_core::Interface::as_raw(self), ulloffset, pfilesystemprop).ok() } pub unsafe fn GetPartitionFileSystemTypeName(&self, ulloffset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartitionFileSystemTypeName)(windows_core::Interface::as_raw(self), ulloffset, &mut result__).map(|| result__) } pub unsafe fn QueryPartitionFileSystemFormatSupport(&self, ulloffset: u64, ppfilesystemsupportprops: *mut *mut VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP, plnumberoffilesystems: *mut i32) -> windows_core::Result<()> { @@ -473,7 +473,7 @@ impl IVdsDiskPartitionMF { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatPartitionEx)(windows_core::Interface::as_raw(self), ulloffset, pwszfilesystemtypename.param().abi(), usfilesystemrevision, uldesiredunitallocationsize, pwszlabel.param().abi(), bforce.param().abi(), bquickformat.param().abi(), benablecompression.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -489,7 +489,7 @@ windows_core::imp::define_interface!(IVdsDiskPartitionMF2, IVdsDiskPartitionMF2_ impl std::ops::Deref for IVdsDiskPartitionMF2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsDiskPartitionMF2, windows_core::IUnknown); @@ -499,7 +499,7 @@ impl IVdsDiskPartitionMF2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatPartitionEx2)(windows_core::Interface::as_raw(self), ulloffset, pwszfilesystemtypename.param().abi(), usfilesystemrevision, uldesiredunitallocationsize, pwszlabel.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -512,7 +512,7 @@ windows_core::imp::define_interface!(IVdsDrive, IVdsDrive_Vtbl, 0xff24efa4_aade_ impl std::ops::Deref for IVdsDrive { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsDrive, windows_core::IUnknown); @@ -521,7 +521,7 @@ impl IVdsDrive { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pdriveprop).ok() } pub unsafe fn GetSubSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubSystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryExtents(&self, ppextentarray: *mut *mut VDS_DRIVE_EXTENT, plnumberofextents: *mut i32) -> windows_core::Result<()> { @@ -551,7 +551,7 @@ windows_core::imp::define_interface!(IVdsDrive2, IVdsDrive2_Vtbl, 0x60b5a730_add impl std::ops::Deref for IVdsDrive2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsDrive2, windows_core::IUnknown); @@ -569,7 +569,7 @@ windows_core::imp::define_interface!(IVdsHbaPort, IVdsHbaPort_Vtbl, 0x2abd757f_2 impl std::ops::Deref for IVdsHbaPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsHbaPort, windows_core::IUnknown); @@ -591,13 +591,13 @@ windows_core::imp::define_interface!(IVdsHwProvider, IVdsHwProvider_Vtbl, 0xd99b impl std::ops::Deref for IVdsHwProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsHwProvider, windows_core::IUnknown); impl IVdsHwProvider { pub unsafe fn QuerySubSystems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuerySubSystems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reenumerate(&self) -> windows_core::Result<()> { @@ -618,7 +618,7 @@ windows_core::imp::define_interface!(IVdsHwProviderPrivate, IVdsHwProviderPrivat impl std::ops::Deref for IVdsHwProviderPrivate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsHwProviderPrivate, windows_core::IUnknown); @@ -627,7 +627,7 @@ impl IVdsHwProviderPrivate { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryIfCreatedLun)(windows_core::Interface::as_raw(self), pwszdevicepath.param().abi(), pvdsluninformation, &mut result__).map(|| result__) } } @@ -640,7 +640,7 @@ windows_core::imp::define_interface!(IVdsHwProviderPrivateMpio, IVdsHwProviderPr impl std::ops::Deref for IVdsHwProviderPrivateMpio { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsHwProviderPrivateMpio, windows_core::IUnknown); @@ -658,24 +658,24 @@ windows_core::imp::define_interface!(IVdsHwProviderStoragePools, IVdsHwProviderS impl std::ops::Deref for IVdsHwProviderStoragePools { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsHwProviderStoragePools, windows_core::IUnknown); impl IVdsHwProviderStoragePools { pub unsafe fn QueryStoragePools(&self, ulflags: u32, ullremainingfreespace: u64, ppoolattributes: *const VDS_POOL_ATTRIBUTES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryStoragePools)(windows_core::Interface::as_raw(self), ulflags, ullremainingfreespace, ppoolattributes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLunInStoragePool(&self, r#type: VDS_LUN_TYPE, ullsizeinbytes: u64, storagepoolid: windows_core::GUID, pwszunmaskinglist: P0, phints2: *const VDS_HINTS2) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLunInStoragePool)(windows_core::Interface::as_raw(self), r#type, ullsizeinbytes, core::mem::transmute(storagepoolid), pwszunmaskinglist.param().abi(), phints2, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryMaxLunCreateSizeInStoragePool(&self, r#type: VDS_LUN_TYPE, storagepoolid: windows_core::GUID, phints2: *const VDS_HINTS2) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryMaxLunCreateSizeInStoragePool)(windows_core::Interface::as_raw(self), r#type, core::mem::transmute(storagepoolid), phints2, &mut result__).map(|| result__) } } @@ -690,13 +690,13 @@ windows_core::imp::define_interface!(IVdsHwProviderType, IVdsHwProviderType_Vtbl impl std::ops::Deref for IVdsHwProviderType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsHwProviderType, windows_core::IUnknown); impl IVdsHwProviderType { pub unsafe fn GetProviderType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -709,13 +709,13 @@ windows_core::imp::define_interface!(IVdsHwProviderType2, IVdsHwProviderType2_Vt impl std::ops::Deref for IVdsHwProviderType2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsHwProviderType2, windows_core::IUnknown); impl IVdsHwProviderType2 { pub unsafe fn GetProviderType2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderType2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -728,7 +728,7 @@ windows_core::imp::define_interface!(IVdsIscsiInitiatorAdapter, IVdsIscsiInitiat impl std::ops::Deref for IVdsIscsiInitiatorAdapter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsIscsiInitiatorAdapter, windows_core::IUnknown); @@ -737,7 +737,7 @@ impl IVdsIscsiInitiatorAdapter { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pinitiatoradapterprop).ok() } pub unsafe fn QueryInitiatorPortals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryInitiatorPortals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoginToTarget(&self, logintype: VDS_ISCSI_LOGIN_TYPE, targetid: windows_core::GUID, targetportalid: windows_core::GUID, initiatorportalid: windows_core::GUID, ulloginflags: u32, bheaderdigest: P0, bdatadigest: P1, authtype: VDS_ISCSI_AUTH_TYPE) -> windows_core::Result @@ -745,11 +745,11 @@ impl IVdsIscsiInitiatorAdapter { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoginToTarget)(windows_core::Interface::as_raw(self), logintype, core::mem::transmute(targetid), core::mem::transmute(targetportalid), core::mem::transmute(initiatorportalid), ulloginflags, bheaderdigest.param().abi(), bdatadigest.param().abi(), authtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LogoutFromTarget(&self, targetid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogoutFromTarget)(windows_core::Interface::as_raw(self), core::mem::transmute(targetid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -765,7 +765,7 @@ windows_core::imp::define_interface!(IVdsIscsiInitiatorPortal, IVdsIscsiInitiato impl std::ops::Deref for IVdsIscsiInitiatorPortal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsIscsiInitiatorPortal, windows_core::IUnknown); @@ -774,14 +774,14 @@ impl IVdsIscsiInitiatorPortal { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pinitiatorportalprop).ok() } pub unsafe fn GetInitiatorAdapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInitiatorAdapter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetIpsecTunnelAddress(&self, ptunneladdress: *const VDS_IPADDRESS, pdestinationaddress: *const VDS_IPADDRESS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetIpsecTunnelAddress)(windows_core::Interface::as_raw(self), ptunneladdress, pdestinationaddress).ok() } pub unsafe fn GetIpsecSecurity(&self, targetportalid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIpsecSecurity)(windows_core::Interface::as_raw(self), core::mem::transmute(targetportalid), &mut result__).map(|| result__) } pub unsafe fn SetIpsecSecurity(&self, targetportalid: windows_core::GUID, ullsecurityflags: u64, pipseckey: *const VDS_ISCSI_IPSEC_KEY) -> windows_core::Result<()> { @@ -801,7 +801,7 @@ windows_core::imp::define_interface!(IVdsIscsiPortal, IVdsIscsiPortal_Vtbl, 0x7f impl std::ops::Deref for IVdsIscsiPortal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsIscsiPortal, windows_core::IUnknown); @@ -810,11 +810,11 @@ impl IVdsIscsiPortal { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pportalprop).ok() } pub unsafe fn GetSubSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubSystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryAssociatedPortalGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAssociatedPortalGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStatus(&self, status: VDS_ISCSI_PORTAL_STATUS) -> windows_core::Result<()> { @@ -824,7 +824,7 @@ impl IVdsIscsiPortal { (windows_core::Interface::vtable(self).SetIpsecTunnelAddress)(windows_core::Interface::as_raw(self), ptunneladdress, pdestinationaddress).ok() } pub unsafe fn GetIpsecSecurity(&self, pinitiatorportaladdress: *const VDS_IPADDRESS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIpsecSecurity)(windows_core::Interface::as_raw(self), pinitiatorportaladdress, &mut result__).map(|| result__) } pub unsafe fn SetIpsecSecurity(&self, pinitiatorportaladdress: *const VDS_IPADDRESS, ullsecurityflags: u64, pipseckey: *const VDS_ISCSI_IPSEC_KEY) -> windows_core::Result<()> { @@ -846,7 +846,7 @@ windows_core::imp::define_interface!(IVdsIscsiPortalGroup, IVdsIscsiPortalGroup_ impl std::ops::Deref for IVdsIscsiPortalGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsIscsiPortalGroup, windows_core::IUnknown); @@ -855,23 +855,23 @@ impl IVdsIscsiPortalGroup { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pportalgroupprop).ok() } pub unsafe fn GetTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryAssociatedPortals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAssociatedPortals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPortal(&self, portalid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddPortal)(windows_core::Interface::as_raw(self), core::mem::transmute(portalid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemovePortal(&self, portalid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemovePortal)(windows_core::Interface::as_raw(self), core::mem::transmute(portalid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -889,7 +889,7 @@ windows_core::imp::define_interface!(IVdsIscsiPortalLocal, IVdsIscsiPortalLocal_ impl std::ops::Deref for IVdsIscsiPortalLocal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsIscsiPortalLocal, windows_core::IUnknown); @@ -907,7 +907,7 @@ windows_core::imp::define_interface!(IVdsIscsiTarget, IVdsIscsiTarget_Vtbl, 0xaa impl std::ops::Deref for IVdsIscsiTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsIscsiTarget, windows_core::IUnknown); @@ -916,23 +916,23 @@ impl IVdsIscsiTarget { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), ptargetprop).ok() } pub unsafe fn GetSubSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubSystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryPortalGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryPortalGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryAssociatedLuns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAssociatedLuns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePortalGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePortalGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFriendlyName(&self, pwszfriendlyname: P0) -> windows_core::Result<()> @@ -975,7 +975,7 @@ windows_core::imp::define_interface!(IVdsLun, IVdsLun_Vtbl, 0x3540a9c7_e60f_4111 impl std::ops::Deref for IVdsLun { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsLun, windows_core::IUnknown); @@ -984,38 +984,38 @@ impl IVdsLun { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), plunprop).ok() } pub unsafe fn GetSubSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubSystem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIdentificationData(&self, pluninfo: *mut VDS_LUN_INFORMATION) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetIdentificationData)(windows_core::Interface::as_raw(self), pluninfo).ok() } pub unsafe fn QueryActiveControllers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryActiveControllers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Extend(&self, ullnumberofbytestoadd: u64, pdriveidarray: &[windows_core::GUID]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extend)(windows_core::Interface::as_raw(self), ullnumberofbytestoadd, core::mem::transmute(pdriveidarray.as_ptr()), pdriveidarray.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Shrink(&self, ullnumberofbytestoremove: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Shrink)(windows_core::Interface::as_raw(self), ullnumberofbytestoremove, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryPlexes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryPlexes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPlex(&self, lunid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddPlex)(windows_core::Interface::as_raw(self), core::mem::transmute(lunid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemovePlex(&self, plexid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemovePlex)(windows_core::Interface::as_raw(self), core::mem::transmute(plexid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Recover(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recover)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMask(&self, pwszunmaskinglist: P0) -> windows_core::Result<()> @@ -1040,7 +1040,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryMaxLunExtendSize)(windows_core::Interface::as_raw(self), core::mem::transmute(pdriveidarray.as_ptr()), pdriveidarray.len().try_into().unwrap(), &mut result__).map(|| result__) } } @@ -1069,7 +1069,7 @@ windows_core::imp::define_interface!(IVdsLun2, IVdsLun2_Vtbl, 0xe5b3a735_9efb_49 impl std::ops::Deref for IVdsLun2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsLun2, windows_core::IUnknown); @@ -1091,7 +1091,7 @@ windows_core::imp::define_interface!(IVdsLunControllerPorts, IVdsLunControllerPo impl std::ops::Deref for IVdsLunControllerPorts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsLunControllerPorts, windows_core::IUnknown); @@ -1100,7 +1100,7 @@ impl IVdsLunControllerPorts { (windows_core::Interface::vtable(self).AssociateControllerPorts)(windows_core::Interface::as_raw(self), core::mem::transmute(pactivecontrollerportidarray.as_ptr()), pactivecontrollerportidarray.len().try_into().unwrap(), core::mem::transmute(pinactivecontrollerportidarray.as_ptr()), pinactivecontrollerportidarray.len().try_into().unwrap()).ok() } pub unsafe fn QueryActiveControllerPorts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryActiveControllerPorts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1114,7 +1114,7 @@ windows_core::imp::define_interface!(IVdsLunIscsi, IVdsLunIscsi_Vtbl, 0x0d7c1e64 impl std::ops::Deref for IVdsLunIscsi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsLunIscsi, windows_core::IUnknown); @@ -1123,7 +1123,7 @@ impl IVdsLunIscsi { (windows_core::Interface::vtable(self).AssociateTargets)(windows_core::Interface::as_raw(self), core::mem::transmute(ptargetidarray.as_ptr()), ptargetidarray.len().try_into().unwrap()).ok() } pub unsafe fn QueryAssociatedTargets(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAssociatedTargets)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1137,7 +1137,7 @@ windows_core::imp::define_interface!(IVdsLunMpio, IVdsLunMpio_Vtbl, 0x7c5fbae3_3 impl std::ops::Deref for IVdsLunMpio { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsLunMpio, windows_core::IUnknown); @@ -1152,7 +1152,7 @@ impl IVdsLunMpio { (windows_core::Interface::vtable(self).SetLoadBalancePolicy)(windows_core::Interface::as_raw(self), policy, core::mem::transmute(ppaths.as_ptr()), ppaths.len().try_into().unwrap()).ok() } pub unsafe fn GetSupportedLbPolicies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedLbPolicies)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1168,7 +1168,7 @@ windows_core::imp::define_interface!(IVdsLunNaming, IVdsLunNaming_Vtbl, 0x907504 impl std::ops::Deref for IVdsLunNaming { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsLunNaming, windows_core::IUnknown); @@ -1189,13 +1189,13 @@ windows_core::imp::define_interface!(IVdsLunNumber, IVdsLunNumber_Vtbl, 0xd3f95e impl std::ops::Deref for IVdsLunNumber { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsLunNumber, windows_core::IUnknown); impl IVdsLunNumber { pub unsafe fn GetLunNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLunNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1208,7 +1208,7 @@ windows_core::imp::define_interface!(IVdsLunPlex, IVdsLunPlex_Vtbl, 0x0ee1a790_5 impl std::ops::Deref for IVdsLunPlex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsLunPlex, windows_core::IUnknown); @@ -1217,7 +1217,7 @@ impl IVdsLunPlex { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pplexprop).ok() } pub unsafe fn GetLun(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLun)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryExtents(&self, ppextentarray: *mut *mut VDS_DRIVE_EXTENT, plnumberofextents: *mut i32) -> windows_core::Result<()> { @@ -1243,7 +1243,7 @@ windows_core::imp::define_interface!(IVdsMaintenance, IVdsMaintenance_Vtbl, 0xda impl std::ops::Deref for IVdsMaintenance { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsMaintenance, windows_core::IUnknown); @@ -1269,7 +1269,7 @@ windows_core::imp::define_interface!(IVdsOpenVDisk, IVdsOpenVDisk_Vtbl, 0x75c8f3 impl std::ops::Deref for IVdsOpenVDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsOpenVDisk, windows_core::IUnknown); @@ -1279,7 +1279,7 @@ impl IVdsOpenVDisk { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Attach)(windows_core::Interface::as_raw(self), pstringsecuritydescriptor.param().abi(), flags, providerspecificflags, timeoutinms, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_Vhd")] @@ -1292,17 +1292,17 @@ impl IVdsOpenVDisk { } #[cfg(feature = "Win32_Storage_Vhd")] pub unsafe fn Compact(&self, flags: super::Vhd::COMPACT_VIRTUAL_DISK_FLAG, reserved: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Compact)(windows_core::Interface::as_raw(self), flags, reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_Vhd")] pub unsafe fn Merge(&self, flags: super::Vhd::MERGE_VIRTUAL_DISK_FLAG, mergedepth: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Merge)(windows_core::Interface::as_raw(self), flags, mergedepth, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_Vhd")] pub unsafe fn Expand(&self, flags: super::Vhd::EXPAND_VIRTUAL_DISK_FLAG, newsize: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Expand)(windows_core::Interface::as_raw(self), flags, newsize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1338,7 +1338,7 @@ windows_core::imp::define_interface!(IVdsPack, IVdsPack_Vtbl, 0x3b69d7f5_9d94_46 impl std::ops::Deref for IVdsPack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsPack, windows_core::IUnknown); @@ -1347,19 +1347,19 @@ impl IVdsPack { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), ppackprop).ok() } pub unsafe fn GetProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryVolumes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryVolumes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryDisks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDisks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateVolume(&self, r#type: VDS_VOLUME_TYPE, pinputdiskarray: &[VDS_INPUT_DISK], ulstripesize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVolume)(windows_core::Interface::as_raw(self), r#type, core::mem::transmute(pinputdiskarray.as_ptr()), pinputdiskarray.len().try_into().unwrap(), ulstripesize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddDisk(&self, diskid: windows_core::GUID, partitionstyle: VDS_PARTITION_STYLE, bashotspare: P0) -> windows_core::Result<()> @@ -1376,14 +1376,14 @@ impl IVdsPack { (windows_core::Interface::vtable(self).MigrateDisks)(windows_core::Interface::as_raw(self), pdiskarray, lnumberofdisks, core::mem::transmute(targetpack), bforce.param().abi(), bqueryonly.param().abi(), presults, pbrebootneeded).ok() } pub unsafe fn ReplaceDisk(&self, olddiskid: windows_core::GUID, newdiskid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReplaceDisk)(windows_core::Interface::as_raw(self), core::mem::transmute(olddiskid), core::mem::transmute(newdiskid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveMissingDisk(&self, diskid: windows_core::GUID) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).RemoveMissingDisk)(windows_core::Interface::as_raw(self), core::mem::transmute(diskid)).ok() } pub unsafe fn Recover(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recover)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1405,13 +1405,13 @@ windows_core::imp::define_interface!(IVdsPack2, IVdsPack2_Vtbl, 0x13b50bff_290a_ impl std::ops::Deref for IVdsPack2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsPack2, windows_core::IUnknown); impl IVdsPack2 { pub unsafe fn CreateVolume2(&self, r#type: VDS_VOLUME_TYPE, pinputdiskarray: &[VDS_INPUT_DISK], ulstripesize: u32, ulalign: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVolume2)(windows_core::Interface::as_raw(self), r#type, core::mem::transmute(pinputdiskarray.as_ptr()), pinputdiskarray.len().try_into().unwrap(), ulstripesize, ulalign, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1424,7 +1424,7 @@ windows_core::imp::define_interface!(IVdsProvider, IVdsProvider_Vtbl, 0x10c5e575 impl std::ops::Deref for IVdsProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsProvider, windows_core::IUnknown); @@ -1442,13 +1442,13 @@ windows_core::imp::define_interface!(IVdsProviderPrivate, IVdsProviderPrivate_Vt impl std::ops::Deref for IVdsProviderPrivate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsProviderPrivate, windows_core::IUnknown); impl IVdsProviderPrivate { pub unsafe fn GetObject(&self, objectid: windows_core::GUID, r#type: VDS_OBJECT_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), core::mem::transmute(objectid), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnLoad(&self, pwszmachinename: P0, pcallbackobject: P1) -> windows_core::Result<()> @@ -1476,13 +1476,13 @@ windows_core::imp::define_interface!(IVdsProviderSupport, IVdsProviderSupport_Vt impl std::ops::Deref for IVdsProviderSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsProviderSupport, windows_core::IUnknown); impl IVdsProviderSupport { pub unsafe fn GetVersionSupport(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionSupport)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1495,7 +1495,7 @@ windows_core::imp::define_interface!(IVdsRemovable, IVdsRemovable_Vtbl, 0x031656 impl std::ops::Deref for IVdsRemovable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsRemovable, windows_core::IUnknown); @@ -1517,7 +1517,7 @@ windows_core::imp::define_interface!(IVdsService, IVdsService_Vtbl, 0x0818a8ef_9 impl std::ops::Deref for IVdsService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsService, windows_core::IUnknown); @@ -1529,23 +1529,23 @@ impl IVdsService { (windows_core::Interface::vtable(self).WaitForServiceReady)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueryProviders(&self, masks: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryProviders)(windows_core::Interface::as_raw(self), masks, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryMaskedDisks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryMaskedDisks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryUnallocatedDisks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryUnallocatedDisks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetObject(&self, objectid: windows_core::GUID, r#type: VDS_OBJECT_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), core::mem::transmute(objectid), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryDriveLetters(&self, wcfirstletter: u16, pdriveletterproparray: &mut [VDS_DRIVE_LETTER_PROP]) -> windows_core::Result<()> { @@ -1567,7 +1567,7 @@ impl IVdsService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), psink.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -1608,13 +1608,13 @@ windows_core::imp::define_interface!(IVdsServiceHba, IVdsServiceHba_Vtbl, 0x0ac1 impl std::ops::Deref for IVdsServiceHba { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsServiceHba, windows_core::IUnknown); impl IVdsServiceHba { pub unsafe fn QueryHbaPorts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryHbaPorts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1627,7 +1627,7 @@ windows_core::imp::define_interface!(IVdsServiceInitialization, IVdsServiceIniti impl std::ops::Deref for IVdsServiceInitialization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsServiceInitialization, windows_core::IUnknown); @@ -1648,17 +1648,17 @@ windows_core::imp::define_interface!(IVdsServiceIscsi, IVdsServiceIscsi_Vtbl, 0x impl std::ops::Deref for IVdsServiceIscsi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsServiceIscsi, windows_core::IUnknown); impl IVdsServiceIscsi { pub unsafe fn GetInitiatorName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInitiatorName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueryInitiatorAdapters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryInitiatorAdapters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetIpsecGroupPresharedKey(&self, pipseckey: *const VDS_ISCSI_IPSEC_KEY) -> windows_core::Result<()> { @@ -1692,7 +1692,7 @@ windows_core::imp::define_interface!(IVdsServiceLoader, IVdsServiceLoader_Vtbl, impl std::ops::Deref for IVdsServiceLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsServiceLoader, windows_core::IUnknown); @@ -1701,7 +1701,7 @@ impl IVdsServiceLoader { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadService)(windows_core::Interface::as_raw(self), pwszmachinename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1714,13 +1714,13 @@ windows_core::imp::define_interface!(IVdsServiceSAN, IVdsServiceSAN_Vtbl, 0xfc5d impl std::ops::Deref for IVdsServiceSAN { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsServiceSAN, windows_core::IUnknown); impl IVdsServiceSAN { pub unsafe fn GetSANPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSANPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSANPolicy(&self, sanpolicy: VDS_SAN_POLICY) -> windows_core::Result<()> { @@ -1737,7 +1737,7 @@ windows_core::imp::define_interface!(IVdsServiceSw, IVdsServiceSw_Vtbl, 0x15fc03 impl std::ops::Deref for IVdsServiceSw { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsServiceSw, windows_core::IUnknown); @@ -1746,7 +1746,7 @@ impl IVdsServiceSw { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDiskObject)(windows_core::Interface::as_raw(self), pwszdeviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1759,13 +1759,13 @@ windows_core::imp::define_interface!(IVdsServiceUninstallDisk, IVdsServiceUninst impl std::ops::Deref for IVdsServiceUninstallDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsServiceUninstallDisk, windows_core::IUnknown); impl IVdsServiceUninstallDisk { pub unsafe fn GetDiskIdFromLunInfo(&self, pluninfo: *const VDS_LUN_INFORMATION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDiskIdFromLunInfo)(windows_core::Interface::as_raw(self), pluninfo, &mut result__).map(|| result__) } pub unsafe fn UninstallDisks(&self, pdiskidarray: *const windows_core::GUID, ulcount: u32, bforce: P0, pbreboot: *mut u8, presults: *mut windows_core::HRESULT) -> windows_core::Result<()> @@ -1785,13 +1785,13 @@ windows_core::imp::define_interface!(IVdsStoragePool, IVdsStoragePool_Vtbl, 0x93 impl std::ops::Deref for IVdsStoragePool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsStoragePool, windows_core::IUnknown); impl IVdsStoragePool { pub unsafe fn GetProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProperties(&self, pstoragepoolprop: *mut VDS_STORAGE_POOL_PROP) -> windows_core::Result<()> { @@ -1804,11 +1804,11 @@ impl IVdsStoragePool { (windows_core::Interface::vtable(self).QueryDriveExtents)(windows_core::Interface::as_raw(self), ppextentarray, plnumberofextents).ok() } pub unsafe fn QueryAllocatedLuns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAllocatedLuns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryAllocatedStoragePools(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAllocatedStoragePools)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1826,7 +1826,7 @@ windows_core::imp::define_interface!(IVdsSubSystem, IVdsSubSystem_Vtbl, 0x6fcee2 impl std::ops::Deref for IVdsSubSystem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsSubSystem, windows_core::IUnknown); @@ -1835,23 +1835,23 @@ impl IVdsSubSystem { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), psubsystemprop).ok() } pub unsafe fn GetProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryControllers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryControllers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryLuns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryLuns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryDrives(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDrives)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDrive(&self, sbusnumber: i16, sslotnumber: i16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDrive)(windows_core::Interface::as_raw(self), sbusnumber, sslotnumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reenumerate(&self) -> windows_core::Result<()> { @@ -1864,7 +1864,7 @@ impl IVdsSubSystem { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLun)(windows_core::Interface::as_raw(self), r#type, ullsizeinbytes, core::mem::transmute(pdriveidarray.as_ptr()), pdriveidarray.len().try_into().unwrap(), pwszunmaskinglist.param().abi(), phints, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReplaceDrive(&self, drivetobereplaced: windows_core::GUID, replacementdrive: windows_core::GUID) -> windows_core::Result<()> { @@ -1874,7 +1874,7 @@ impl IVdsSubSystem { (windows_core::Interface::vtable(self).SetStatus)(windows_core::Interface::as_raw(self), status).ok() } pub unsafe fn QueryMaxLunCreateSize(&self, r#type: VDS_LUN_TYPE, pdriveidarray: &[windows_core::GUID], phints: *const VDS_HINTS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryMaxLunCreateSize)(windows_core::Interface::as_raw(self), r#type, core::mem::transmute(pdriveidarray.as_ptr()), pdriveidarray.len().try_into().unwrap(), phints, &mut result__).map(|| result__) } } @@ -1898,7 +1898,7 @@ windows_core::imp::define_interface!(IVdsSubSystem2, IVdsSubSystem2_Vtbl, 0xbe66 impl std::ops::Deref for IVdsSubSystem2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsSubSystem2, windows_core::IUnknown); @@ -1907,18 +1907,18 @@ impl IVdsSubSystem2 { (windows_core::Interface::vtable(self).GetProperties2)(windows_core::Interface::as_raw(self), psubsystemprop2).ok() } pub unsafe fn GetDrive2(&self, sbusnumber: i16, sslotnumber: i16, ulenclosurenumber: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDrive2)(windows_core::Interface::as_raw(self), sbusnumber, sslotnumber, ulenclosurenumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLun2(&self, r#type: VDS_LUN_TYPE, ullsizeinbytes: u64, pdriveidarray: &[windows_core::GUID], pwszunmaskinglist: P0, phints2: *const VDS_HINTS2) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLun2)(windows_core::Interface::as_raw(self), r#type, ullsizeinbytes, core::mem::transmute(pdriveidarray.as_ptr()), pdriveidarray.len().try_into().unwrap(), pwszunmaskinglist.param().abi(), phints2, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryMaxLunCreateSize2(&self, r#type: VDS_LUN_TYPE, pdriveidarray: &[windows_core::GUID], phints2: *const VDS_HINTS2) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryMaxLunCreateSize2)(windows_core::Interface::as_raw(self), r#type, core::mem::transmute(pdriveidarray.as_ptr()), pdriveidarray.len().try_into().unwrap(), phints2, &mut result__).map(|| result__) } } @@ -1934,13 +1934,13 @@ windows_core::imp::define_interface!(IVdsSubSystemImportTarget, IVdsSubSystemImp impl std::ops::Deref for IVdsSubSystemImportTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsSubSystemImportTarget, windows_core::IUnknown); impl IVdsSubSystemImportTarget { pub unsafe fn GetImportTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImportTarget)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetImportTarget(&self, pwsziscsiname: P0) -> windows_core::Result<()> @@ -1960,13 +1960,13 @@ windows_core::imp::define_interface!(IVdsSubSystemInterconnect, IVdsSubSystemInt impl std::ops::Deref for IVdsSubSystemInterconnect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsSubSystemInterconnect, windows_core::IUnknown); impl IVdsSubSystemInterconnect { pub unsafe fn GetSupportedInterconnects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedInterconnects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1979,17 +1979,17 @@ windows_core::imp::define_interface!(IVdsSubSystemIscsi, IVdsSubSystemIscsi_Vtbl impl std::ops::Deref for IVdsSubSystemIscsi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsSubSystemIscsi, windows_core::IUnknown); impl IVdsSubSystemIscsi { pub unsafe fn QueryTargets(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryTargets)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryPortals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryPortals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTarget(&self, pwsziscsiname: P0, pwszfriendlyname: P1) -> windows_core::Result @@ -1997,7 +1997,7 @@ impl IVdsSubSystemIscsi { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTarget)(windows_core::Interface::as_raw(self), pwsziscsiname.param().abi(), pwszfriendlyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetIpsecGroupPresharedKey(&self, pipseckey: *const VDS_ISCSI_IPSEC_KEY) -> windows_core::Result<()> { @@ -2016,7 +2016,7 @@ windows_core::imp::define_interface!(IVdsSubSystemNaming, IVdsSubSystemNaming_Vt impl std::ops::Deref for IVdsSubSystemNaming { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsSubSystemNaming, windows_core::IUnknown); @@ -2037,17 +2037,17 @@ windows_core::imp::define_interface!(IVdsSwProvider, IVdsSwProvider_Vtbl, 0x9aa5 impl std::ops::Deref for IVdsSwProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsSwProvider, windows_core::IUnknown); impl IVdsSwProvider { pub unsafe fn QueryPacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryPacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePack(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePack)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2061,14 +2061,14 @@ windows_core::imp::define_interface!(IVdsVDisk, IVdsVDisk_Vtbl, 0x1e062b84_e5e6_ impl std::ops::Deref for IVdsVDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVDisk, windows_core::IUnknown); impl IVdsVDisk { #[cfg(feature = "Win32_Storage_Vhd")] pub unsafe fn Open(&self, accessmask: super::Vhd::VIRTUAL_DISK_ACCESS_MASK, flags: super::Vhd::OPEN_VIRTUAL_DISK_FLAG, readwritedepth: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), accessmask, flags, readwritedepth, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_Vhd")] @@ -2076,11 +2076,11 @@ impl IVdsVDisk { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pdiskproperties).ok() } pub unsafe fn GetHostVolume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHostVolume)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDeviceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2102,13 +2102,13 @@ windows_core::imp::define_interface!(IVdsVdProvider, IVdsVdProvider_Vtbl, 0xb481 impl std::ops::Deref for IVdsVdProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVdProvider, windows_core::IUnknown); impl IVdsVdProvider { pub unsafe fn QueryVDisks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryVDisks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_Vhd")] @@ -2130,14 +2130,14 @@ impl IVdsVdProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDiskFromVDisk)(windows_core::Interface::as_raw(self), pvdisk.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVDiskFromDisk(&self, pdisk: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVDiskFromDisk)(windows_core::Interface::as_raw(self), pdisk.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2160,7 +2160,7 @@ windows_core::imp::define_interface!(IVdsVolume, IVdsVolume_Vtbl, 0x88306bb2_e71 impl std::ops::Deref for IVdsVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVolume, windows_core::IUnknown); @@ -2169,31 +2169,31 @@ impl IVdsVolume { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pvolumeproperties).ok() } pub unsafe fn GetPack(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPack)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryPlexes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryPlexes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Extend(&self, pinputdiskarray: &[VDS_INPUT_DISK]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extend)(windows_core::Interface::as_raw(self), core::mem::transmute(pinputdiskarray.as_ptr()), pinputdiskarray.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Shrink(&self, ullnumberofbytestoremove: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Shrink)(windows_core::Interface::as_raw(self), ullnumberofbytestoremove, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPlex(&self, volumeid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddPlex)(windows_core::Interface::as_raw(self), core::mem::transmute(volumeid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BreakPlex(&self, plexid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BreakPlex)(windows_core::Interface::as_raw(self), core::mem::transmute(plexid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemovePlex(&self, plexid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemovePlex)(windows_core::Interface::as_raw(self), core::mem::transmute(plexid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, bforce: P0) -> windows_core::Result<()> @@ -2231,7 +2231,7 @@ windows_core::imp::define_interface!(IVdsVolume2, IVdsVolume2_Vtbl, 0x72ae6713_d impl std::ops::Deref for IVdsVolume2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVolume2, windows_core::IUnknown); @@ -2249,7 +2249,7 @@ windows_core::imp::define_interface!(IVdsVolumeMF, IVdsVolumeMF_Vtbl, 0xee2d5ded impl std::ops::Deref for IVdsVolumeMF { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVolumeMF, windows_core::IUnknown); @@ -2264,7 +2264,7 @@ impl IVdsVolumeMF { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Format)(windows_core::Interface::as_raw(self), r#type, pwszlabel.param().abi(), dwunitallocationsize, bforce.param().abi(), bquickformat.param().abi(), benablecompression.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddAccessPath(&self, pwszpath: P0) -> windows_core::Result<()> @@ -2321,13 +2321,13 @@ windows_core::imp::define_interface!(IVdsVolumeMF2, IVdsVolumeMF2_Vtbl, 0x4dbcee impl std::ops::Deref for IVdsVolumeMF2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVolumeMF2, windows_core::IUnknown); impl IVdsVolumeMF2 { pub unsafe fn GetFileSystemTypeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileSystemTypeName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueryFileSystemFormatSupport(&self, ppfilesystemsupportprops: *mut *mut VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP, plnumberoffilesystems: *mut i32) -> windows_core::Result<()> { @@ -2341,7 +2341,7 @@ impl IVdsVolumeMF2 { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatEx)(windows_core::Interface::as_raw(self), pwszfilesystemtypename.param().abi(), usfilesystemrevision, uldesiredunitallocationsize, pwszlabel.param().abi(), bforce.param().abi(), bquickformat.param().abi(), benablecompression.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2356,7 +2356,7 @@ windows_core::imp::define_interface!(IVdsVolumeMF3, IVdsVolumeMF3_Vtbl, 0x6788fa impl std::ops::Deref for IVdsVolumeMF3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVolumeMF3, windows_core::IUnknown); @@ -2369,7 +2369,7 @@ impl IVdsVolumeMF3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatEx2)(windows_core::Interface::as_raw(self), pwszfilesystemtypename.param().abi(), usfilesystemrevision, uldesiredunitallocationsize, pwszlabel.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OfflineVolume(&self) -> windows_core::Result<()> { @@ -2387,7 +2387,7 @@ windows_core::imp::define_interface!(IVdsVolumeOnline, IVdsVolumeOnline_Vtbl, 0x impl std::ops::Deref for IVdsVolumeOnline { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVolumeOnline, windows_core::IUnknown); @@ -2405,7 +2405,7 @@ windows_core::imp::define_interface!(IVdsVolumePlex, IVdsVolumePlex_Vtbl, 0x4daa impl std::ops::Deref for IVdsVolumePlex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVolumePlex, windows_core::IUnknown); @@ -2414,14 +2414,14 @@ impl IVdsVolumePlex { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), pplexproperties).ok() } pub unsafe fn GetVolume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVolume)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryExtents(&self, ppextentarray: *mut *mut VDS_DISK_EXTENT, plnumberofextents: *mut i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).QueryExtents)(windows_core::Interface::as_raw(self), ppextentarray, plnumberofextents).ok() } pub unsafe fn Repair(&self, pinputdiskarray: &[VDS_INPUT_DISK]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Repair)(windows_core::Interface::as_raw(self), core::mem::transmute(pinputdiskarray.as_ptr()), pinputdiskarray.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2437,17 +2437,17 @@ windows_core::imp::define_interface!(IVdsVolumeShrink, IVdsVolumeShrink_Vtbl, 0x impl std::ops::Deref for IVdsVolumeShrink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVdsVolumeShrink, windows_core::IUnknown); impl IVdsVolumeShrink { pub unsafe fn QueryMaxReclaimableBytes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryMaxReclaimableBytes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Shrink(&self, ulldesirednumberofreclaimablebytes: u64, ullminnumberofreclaimablebytes: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Shrink)(windows_core::Interface::as_raw(self), ulldesirednumberofreclaimablebytes, ullminnumberofreclaimablebytes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4585,13 +4585,13 @@ impl Default for VDS_ASYNC_OUTPUT { #[repr(C)] pub union VDS_ASYNC_OUTPUT_0 { pub cp: VDS_ASYNC_OUTPUT_0_2, - pub cv: std::mem::ManuallyDrop, - pub bvp: std::mem::ManuallyDrop, + pub cv: core::mem::ManuallyDrop, + pub bvp: core::mem::ManuallyDrop, pub sv: VDS_ASYNC_OUTPUT_0_7, - pub cl: std::mem::ManuallyDrop, - pub ct: std::mem::ManuallyDrop, - pub cpg: std::mem::ManuallyDrop, - pub cvd: std::mem::ManuallyDrop, + pub cl: core::mem::ManuallyDrop, + pub ct: core::mem::ManuallyDrop, + pub cpg: core::mem::ManuallyDrop, + pub cvd: core::mem::ManuallyDrop, } impl Clone for VDS_ASYNC_OUTPUT_0 { fn clone(&self) -> Self { @@ -4609,7 +4609,7 @@ impl Default for VDS_ASYNC_OUTPUT_0 { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct VDS_ASYNC_OUTPUT_0_0 { - pub pVolumeUnk: std::mem::ManuallyDrop>, + pub pVolumeUnk: core::mem::ManuallyDrop>, } impl Clone for VDS_ASYNC_OUTPUT_0_0 { fn clone(&self) -> Self { @@ -4627,7 +4627,7 @@ impl Default for VDS_ASYNC_OUTPUT_0_0 { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct VDS_ASYNC_OUTPUT_0_1 { - pub pLunUnk: std::mem::ManuallyDrop>, + pub pLunUnk: core::mem::ManuallyDrop>, } impl Clone for VDS_ASYNC_OUTPUT_0_1 { fn clone(&self) -> Self { @@ -4659,7 +4659,7 @@ impl Default for VDS_ASYNC_OUTPUT_0_2 { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct VDS_ASYNC_OUTPUT_0_3 { - pub pPortalGroupUnk: std::mem::ManuallyDrop>, + pub pPortalGroupUnk: core::mem::ManuallyDrop>, } impl Clone for VDS_ASYNC_OUTPUT_0_3 { fn clone(&self) -> Self { @@ -4677,7 +4677,7 @@ impl Default for VDS_ASYNC_OUTPUT_0_3 { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct VDS_ASYNC_OUTPUT_0_4 { - pub pTargetUnk: std::mem::ManuallyDrop>, + pub pTargetUnk: core::mem::ManuallyDrop>, } impl Clone for VDS_ASYNC_OUTPUT_0_4 { fn clone(&self) -> Self { @@ -4695,7 +4695,7 @@ impl Default for VDS_ASYNC_OUTPUT_0_4 { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct VDS_ASYNC_OUTPUT_0_5 { - pub pVolumeUnk: std::mem::ManuallyDrop>, + pub pVolumeUnk: core::mem::ManuallyDrop>, } impl Clone for VDS_ASYNC_OUTPUT_0_5 { fn clone(&self) -> Self { @@ -4713,7 +4713,7 @@ impl Default for VDS_ASYNC_OUTPUT_0_5 { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct VDS_ASYNC_OUTPUT_0_6 { - pub pVDiskUnk: std::mem::ManuallyDrop>, + pub pVDiskUnk: core::mem::ManuallyDrop>, } impl Clone for VDS_ASYNC_OUTPUT_0_6 { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs index e5fd5067d8..6ff7797877 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs @@ -168,7 +168,7 @@ pub trait IVssComponent_Impl: Sized { impl windows_core::RuntimeName for IVssComponent {} impl IVssComponent_Vtbl { pub const fn new, Impl: IVssComponent_Impl, const OFFSET: isize>() -> IVssComponent_Vtbl { - unsafe extern "system" fn GetLogicalPath, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLogicalPath, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetLogicalPath(this, core::mem::transmute_copy(&pbstrpath)).into() @@ -178,7 +178,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::GetComponentType(this, core::mem::transmute_copy(&pct)).into() } - unsafe extern "system" fn GetComponentName, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetComponentName, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetComponentName(this, core::mem::transmute_copy(&pbstrname)).into() @@ -209,7 +209,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::SetBackupMetadata(this, core::mem::transmute(&wszdata)).into() } - unsafe extern "system" fn GetBackupMetadata, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBackupMetadata, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetBackupMetadata(this, core::mem::transmute_copy(&pbstrdata)).into() @@ -224,7 +224,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::GetPartialFileCount(this, core::mem::transmute_copy(&pcpartialfiles)).into() } - unsafe extern "system" fn GetPartialFile, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ipartialfile: u32, pbstrpath: *mut std::mem::MaybeUninit, pbstrfilename: *mut std::mem::MaybeUninit, pbstrrange: *mut std::mem::MaybeUninit, pbstrmetadata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPartialFile, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ipartialfile: u32, pbstrpath: *mut core::mem::MaybeUninit, pbstrfilename: *mut core::mem::MaybeUninit, pbstrrange: *mut core::mem::MaybeUninit, pbstrmetadata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetPartialFile(this, core::mem::transmute_copy(&ipartialfile), core::mem::transmute_copy(&pbstrpath), core::mem::transmute_copy(&pbstrfilename), core::mem::transmute_copy(&pbstrrange), core::mem::transmute_copy(&pbstrmetadata)).into() @@ -265,7 +265,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::GetDirectedTargetCount(this, core::mem::transmute_copy(&pcdirectedtarget)).into() } - unsafe extern "system" fn GetDirectedTarget, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idirectedtarget: u32, pbstrsourcepath: *mut std::mem::MaybeUninit, pbstrsourcefilename: *mut std::mem::MaybeUninit, pbstrsourcerangelist: *mut std::mem::MaybeUninit, pbstrdestinationpath: *mut std::mem::MaybeUninit, pbstrdestinationfilename: *mut std::mem::MaybeUninit, pbstrdestinationrangelist: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDirectedTarget, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idirectedtarget: u32, pbstrsourcepath: *mut core::mem::MaybeUninit, pbstrsourcefilename: *mut core::mem::MaybeUninit, pbstrsourcerangelist: *mut core::mem::MaybeUninit, pbstrdestinationpath: *mut core::mem::MaybeUninit, pbstrdestinationfilename: *mut core::mem::MaybeUninit, pbstrdestinationrangelist: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetDirectedTarget(this, core::mem::transmute_copy(&idirectedtarget), core::mem::transmute_copy(&pbstrsourcepath), core::mem::transmute_copy(&pbstrsourcefilename), core::mem::transmute_copy(&pbstrsourcerangelist), core::mem::transmute_copy(&pbstrdestinationpath), core::mem::transmute_copy(&pbstrdestinationfilename), core::mem::transmute_copy(&pbstrdestinationrangelist)).into() @@ -275,7 +275,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::SetRestoreMetadata(this, core::mem::transmute(&wszrestoremetadata)).into() } - unsafe extern "system" fn GetRestoreMetadata, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrestoremetadata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRestoreMetadata, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrestoremetadata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetRestoreMetadata(this, core::mem::transmute_copy(&pbstrrestoremetadata)).into() @@ -295,7 +295,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::SetPreRestoreFailureMsg(this, core::mem::transmute(&wszprerestorefailuremsg)).into() } - unsafe extern "system" fn GetPreRestoreFailureMsg, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprerestorefailuremsg: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPreRestoreFailureMsg, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrprerestorefailuremsg: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetPreRestoreFailureMsg(this, core::mem::transmute_copy(&pbstrprerestorefailuremsg)).into() @@ -305,7 +305,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::SetPostRestoreFailureMsg(this, core::mem::transmute(&wszpostrestorefailuremsg)).into() } - unsafe extern "system" fn GetPostRestoreFailureMsg, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpostrestorefailuremsg: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPostRestoreFailureMsg, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpostrestorefailuremsg: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetPostRestoreFailureMsg(this, core::mem::transmute_copy(&pbstrpostrestorefailuremsg)).into() @@ -315,22 +315,22 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::SetBackupStamp(this, core::mem::transmute(&wszbackupstamp)).into() } - unsafe extern "system" fn GetBackupStamp, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupstamp: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBackupStamp, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupstamp: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetBackupStamp(this, core::mem::transmute_copy(&pbstrbackupstamp)).into() } - unsafe extern "system" fn GetPreviousBackupStamp, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupstamp: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPreviousBackupStamp, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupstamp: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetPreviousBackupStamp(this, core::mem::transmute_copy(&pbstrbackupstamp)).into() } - unsafe extern "system" fn GetBackupOptions, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupoptions: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBackupOptions, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupoptions: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetBackupOptions(this, core::mem::transmute_copy(&pbstrbackupoptions)).into() } - unsafe extern "system" fn GetRestoreOptions, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrestoreoptions: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRestoreOptions, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrestoreoptions: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetRestoreOptions(this, core::mem::transmute_copy(&pbstrrestoreoptions)).into() @@ -340,7 +340,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::GetRestoreSubcomponentCount(this, core::mem::transmute_copy(&pcrestoresubcomponent)).into() } - unsafe extern "system" fn GetRestoreSubcomponent, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, icomponent: u32, pbstrlogicalpath: *mut std::mem::MaybeUninit, pbstrcomponentname: *mut std::mem::MaybeUninit, pbrepair: *mut bool) -> windows_core::HRESULT { + unsafe extern "system" fn GetRestoreSubcomponent, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, icomponent: u32, pbstrlogicalpath: *mut core::mem::MaybeUninit, pbstrcomponentname: *mut core::mem::MaybeUninit, pbrepair: *mut bool) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetRestoreSubcomponent(this, core::mem::transmute_copy(&icomponent), core::mem::transmute_copy(&pbstrlogicalpath), core::mem::transmute_copy(&pbstrcomponentname), core::mem::transmute_copy(&pbrepair)).into() @@ -355,7 +355,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::AddDifferencedFilesByLastModifyTime(this, core::mem::transmute(&wszpath), core::mem::transmute(&wszfilespec), core::mem::transmute_copy(&brecursive), core::mem::transmute(&ftlastmodifytime)).into() } - unsafe extern "system" fn AddDifferencedFilesByLastModifyLSN, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpath: windows_core::PCWSTR, wszfilespec: windows_core::PCWSTR, brecursive: super::super::Foundation::BOOL, bstrlsnstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddDifferencedFilesByLastModifyLSN, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszpath: windows_core::PCWSTR, wszfilespec: windows_core::PCWSTR, brecursive: super::super::Foundation::BOOL, bstrlsnstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::AddDifferencedFilesByLastModifyLSN(this, core::mem::transmute(&wszpath), core::mem::transmute(&wszfilespec), core::mem::transmute_copy(&brecursive), core::mem::transmute(&bstrlsnstring)).into() @@ -365,7 +365,7 @@ impl IVssComponent_Vtbl { let this = (*this).get_impl(); IVssComponent_Impl::GetDifferencedFilesCount(this, core::mem::transmute_copy(&pcdifferencedfiles)).into() } - unsafe extern "system" fn GetDifferencedFile, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idifferencedfile: u32, pbstrpath: *mut std::mem::MaybeUninit, pbstrfilespec: *mut std::mem::MaybeUninit, pbrecursive: *mut super::super::Foundation::BOOL, pbstrlsnstring: *mut std::mem::MaybeUninit, pftlastmodifytime: *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT { + unsafe extern "system" fn GetDifferencedFile, Impl: IVssComponent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, idifferencedfile: u32, pbstrpath: *mut core::mem::MaybeUninit, pbstrfilespec: *mut core::mem::MaybeUninit, pbrecursive: *mut super::super::Foundation::BOOL, pbstrlsnstring: *mut core::mem::MaybeUninit, pftlastmodifytime: *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponent_Impl::GetDifferencedFile(this, core::mem::transmute_copy(&idifferencedfile), core::mem::transmute_copy(&pbstrpath), core::mem::transmute_copy(&pbstrfilespec), core::mem::transmute_copy(&pbrecursive), core::mem::transmute_copy(&pbstrlsnstring), core::mem::transmute_copy(&pftlastmodifytime)).into() @@ -438,7 +438,7 @@ impl IVssComponentEx_Vtbl { let this = (*this).get_impl(); IVssComponentEx_Impl::SetPostSnapshotFailureMsg(this, core::mem::transmute(&wszfailuremsg)).into() } - unsafe extern "system" fn GetPrepareForBackupFailureMsg, Impl: IVssComponentEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfailuremsg: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPrepareForBackupFailureMsg, Impl: IVssComponentEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfailuremsg: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVssComponentEx_Impl::GetPrepareForBackupFailureMsg(this) { @@ -449,7 +449,7 @@ impl IVssComponentEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPostSnapshotFailureMsg, Impl: IVssComponentEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfailuremsg: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPostSnapshotFailureMsg, Impl: IVssComponentEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfailuremsg: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVssComponentEx_Impl::GetPostSnapshotFailureMsg(this) { @@ -471,12 +471,12 @@ impl IVssComponentEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRollForward, Impl: IVssComponentEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prolltype: *mut VSS_ROLLFORWARD_TYPE, pbstrpoint: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRollForward, Impl: IVssComponentEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prolltype: *mut VSS_ROLLFORWARD_TYPE, pbstrpoint: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponentEx_Impl::GetRollForward(this, core::mem::transmute_copy(&prolltype), core::mem::transmute_copy(&pbstrpoint)).into() } - unsafe extern "system" fn GetRestoreName, Impl: IVssComponentEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRestoreName, Impl: IVssComponentEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVssComponentEx_Impl::GetRestoreName(this) { @@ -514,7 +514,7 @@ impl IVssComponentEx2_Vtbl { let this = (*this).get_impl(); IVssComponentEx2_Impl::SetFailure(this, core::mem::transmute_copy(&hr), core::mem::transmute_copy(&hrapplication), core::mem::transmute(&wszapplicationmessage), core::mem::transmute_copy(&dwreserved)).into() } - unsafe extern "system" fn GetFailure, Impl: IVssComponentEx2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phr: *mut windows_core::HRESULT, phrapplication: *mut windows_core::HRESULT, pbstrapplicationmessage: *mut std::mem::MaybeUninit, pdwreserved: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetFailure, Impl: IVssComponentEx2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phr: *mut windows_core::HRESULT, phrapplication: *mut windows_core::HRESULT, pbstrapplicationmessage: *mut core::mem::MaybeUninit, pdwreserved: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssComponentEx2_Impl::GetFailure(this, core::mem::transmute_copy(&phr), core::mem::transmute_copy(&phrapplication), core::mem::transmute_copy(&pbstrapplicationmessage), core::mem::transmute_copy(&pdwreserved)).into() @@ -571,7 +571,7 @@ impl IVssCreateExpressWriterMetadata_Vtbl { let this = (*this).get_impl(); IVssCreateExpressWriterMetadata_Impl::SetBackupSchema(this, core::mem::transmute_copy(&dwschemamask)).into() } - unsafe extern "system" fn SaveAsXML, Impl: IVssCreateExpressWriterMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveAsXML, Impl: IVssCreateExpressWriterMetadata_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVssCreateExpressWriterMetadata_Impl::SaveAsXML(this) { @@ -676,7 +676,7 @@ impl IVssCreateWriterMetadata_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SaveAsXML(this: *mut core::ffi::c_void, pbstrxml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveAsXML(this: *mut core::ffi::c_void, pbstrxml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *mut *mut core::ffi::c_void) as *const windows_core::ScopedHeap; let this = &*((*this).this as *const Impl); IVssCreateWriterMetadata_Impl::SaveAsXML(this, core::mem::transmute_copy(&pbstrxml)).into() @@ -708,8 +708,8 @@ impl IVssCreateWriterMetadata_ImplVtbl { impl IVssCreateWriterMetadata { pub fn new<'a, T: IVssCreateWriterMetadata_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IVssCreateWriterMetadata_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IVssDifferentialSoftwareSnapshotMgmt_Impl: Sized { @@ -1075,7 +1075,7 @@ impl IVssFileShareSnapshotProvider_Vtbl { let this = (*this).get_impl(); IVssFileShareSnapshotProvider_Impl::IsPathSnapshotted(this, core::mem::transmute_copy(&pwszsharepath), core::mem::transmute_copy(&pbsnapshotspresent), core::mem::transmute_copy(&plsnapshotcompatibility)).into() } - unsafe extern "system" fn SetSnapshotProperty, Impl: IVssFileShareSnapshotProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapshotid: windows_core::GUID, esnapshotpropertyid: VSS_SNAPSHOT_PROPERTY_ID, vproperty: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSnapshotProperty, Impl: IVssFileShareSnapshotProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapshotid: windows_core::GUID, esnapshotpropertyid: VSS_SNAPSHOT_PROPERTY_ID, vproperty: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssFileShareSnapshotProvider_Impl::SetSnapshotProperty(this, core::mem::transmute(&snapshotid), core::mem::transmute_copy(&esnapshotpropertyid), core::mem::transmute(&vproperty)).into() @@ -1436,7 +1436,7 @@ impl IVssSoftwareSnapshotProvider_Vtbl { let this = (*this).get_impl(); IVssSoftwareSnapshotProvider_Impl::IsVolumeSnapshotted(this, core::mem::transmute_copy(&pwszvolumename), core::mem::transmute_copy(&pbsnapshotspresent), core::mem::transmute_copy(&plsnapshotcompatibility)).into() } - unsafe extern "system" fn SetSnapshotProperty, Impl: IVssSoftwareSnapshotProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapshotid: windows_core::GUID, esnapshotpropertyid: VSS_SNAPSHOT_PROPERTY_ID, vproperty: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSnapshotProperty, Impl: IVssSoftwareSnapshotProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapshotid: windows_core::GUID, esnapshotpropertyid: VSS_SNAPSHOT_PROPERTY_ID, vproperty: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssSoftwareSnapshotProvider_Impl::SetSnapshotProperty(this, core::mem::transmute(&snapshotid), core::mem::transmute_copy(&esnapshotpropertyid), core::mem::transmute(&vproperty)).into() @@ -1488,12 +1488,12 @@ impl IVssWMDependency_Vtbl { let this = (*this).get_impl(); IVssWMDependency_Impl::GetWriterId(this, core::mem::transmute_copy(&pwriterid)).into() } - unsafe extern "system" fn GetLogicalPath, Impl: IVssWMDependency_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlogicalpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLogicalPath, Impl: IVssWMDependency_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlogicalpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssWMDependency_Impl::GetLogicalPath(this, core::mem::transmute_copy(&pbstrlogicalpath)).into() } - unsafe extern "system" fn GetComponentName, Impl: IVssWMDependency_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcomponentname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetComponentName, Impl: IVssWMDependency_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcomponentname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVssWMDependency_Impl::GetComponentName(this, core::mem::transmute_copy(&pbstrcomponentname)).into() @@ -1519,7 +1519,7 @@ pub trait IVssWMFiledesc_Impl: Sized { impl windows_core::RuntimeName for IVssWMFiledesc {} impl IVssWMFiledesc_Vtbl { pub const fn new, Impl: IVssWMFiledesc_Impl, const OFFSET: isize>() -> IVssWMFiledesc_Vtbl { - unsafe extern "system" fn GetPath, Impl: IVssWMFiledesc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPath, Impl: IVssWMFiledesc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVssWMFiledesc_Impl::GetPath(this) { @@ -1530,7 +1530,7 @@ impl IVssWMFiledesc_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFilespec, Impl: IVssWMFiledesc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilespec: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFilespec, Impl: IVssWMFiledesc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilespec: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVssWMFiledesc_Impl::GetFilespec(this) { @@ -1552,7 +1552,7 @@ impl IVssWMFiledesc_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAlternateLocation, Impl: IVssWMFiledesc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstralternatelocation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAlternateLocation, Impl: IVssWMFiledesc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstralternatelocation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVssWMFiledesc_Impl::GetAlternateLocation(this) { @@ -1626,7 +1626,7 @@ impl IVssWriterComponents_ImplVtbl { impl IVssWriterComponents { pub fn new<'a, T: IVssWriterComponents_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IVssWriterComponents_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } 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 5a0590abc1..73fa8ec14d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs @@ -1,14 +1,14 @@ #[inline] pub unsafe fn CreateVssExpressWriterInternal() -> windows_core::Result { windows_targets::link!("vssapi.dll" "system" fn CreateVssExpressWriterInternal(ppwriter : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateVssExpressWriterInternal(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IVssAdmin, IVssAdmin_Vtbl, 0x77ed5996_2f63_11d3_8a39_00c04f72d8e3); impl std::ops::Deref for IVssAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssAdmin, windows_core::IUnknown); @@ -20,7 +20,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryProviders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AbortAllSnapshotsInProgress(&self) -> windows_core::Result<()> { @@ -39,17 +39,17 @@ windows_core::imp::define_interface!(IVssAdminEx, IVssAdminEx_Vtbl, 0x7858a9f8_b impl std::ops::Deref for IVssAdminEx { type Target = IVssAdmin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssAdminEx, windows_core::IUnknown, IVssAdmin); impl IVssAdminEx { pub unsafe fn GetProviderCapability(&self, pproviderid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderCapability)(windows_core::Interface::as_raw(self), core::mem::transmute(pproviderid), &mut result__).map(|| result__) } pub unsafe fn GetProviderContext(&self, providerid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderContext)(windows_core::Interface::as_raw(self), core::mem::transmute(providerid), &mut result__).map(|| result__) } pub unsafe fn SetProviderContext(&self, providerid: windows_core::GUID, lcontext: i32) -> windows_core::Result<()> { @@ -67,7 +67,7 @@ windows_core::imp::define_interface!(IVssAsync, IVssAsync_Vtbl, 0x507c37b4_cf5b_ impl std::ops::Deref for IVssAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssAsync, windows_core::IUnknown); @@ -93,7 +93,7 @@ windows_core::imp::define_interface!(IVssComponent, IVssComponent_Vtbl, 0xd2c72c impl std::ops::Deref for IVssComponent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssComponent, windows_core::IUnknown); @@ -114,7 +114,7 @@ impl IVssComponent { (windows_core::Interface::vtable(self).GetAlternateLocationMappingCount)(windows_core::Interface::as_raw(self), pcmappings).ok() } pub unsafe fn GetAlternateLocationMapping(&self, imapping: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlternateLocationMapping)(windows_core::Interface::as_raw(self), imapping, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBackupMetadata(&self, wszdata: P0) -> windows_core::Result<()> @@ -151,7 +151,7 @@ impl IVssComponent { (windows_core::Interface::vtable(self).GetNewTargetCount)(windows_core::Interface::as_raw(self), pcnewtarget).ok() } pub unsafe fn GetNewTarget(&self, inewtarget: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNewTarget)(windows_core::Interface::as_raw(self), inewtarget, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddDirectedTarget(&self, wszsourcepath: P0, wszsourcefilename: P1, wszsourcerangelist: P2, wszdestinationpath: P3, wszdestinationfilename: P4, wszdestinationrangelist: P5) -> windows_core::Result<()> @@ -258,50 +258,50 @@ impl IVssComponent { #[repr(C)] pub struct IVssComponent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetLogicalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLogicalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetComponentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VSS_COMPONENT_TYPE) -> windows_core::HRESULT, - pub GetComponentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetComponentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetBackupSucceeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub GetAlternateLocationMappingCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetAlternateLocationMapping: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBackupMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetBackupMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBackupMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddPartialFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetPartialFileCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetPartialFile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPartialFile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsSelectedForRestore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub GetAdditionalRestores: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub GetNewTargetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetNewTarget: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddDirectedTarget: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetDirectedTargetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetDirectedTarget: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDirectedTarget: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetRestoreMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetRestoreMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRestoreMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetRestoreTarget: unsafe extern "system" fn(*mut core::ffi::c_void, VSS_RESTORE_TARGET) -> windows_core::HRESULT, pub GetRestoreTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VSS_RESTORE_TARGET) -> windows_core::HRESULT, pub SetPreRestoreFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetPreRestoreFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPreRestoreFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetPostRestoreFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetPostRestoreFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPostRestoreFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetBackupStamp: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetBackupStamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPreviousBackupStamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetBackupOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRestoreOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBackupStamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPreviousBackupStamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBackupOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRestoreOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetRestoreSubcomponentCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetRestoreSubcomponent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, + pub GetRestoreSubcomponent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, pub GetFileRestoreStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VSS_FILE_RESTORE_STATUS) -> windows_core::HRESULT, pub AddDifferencedFilesByLastModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::BOOL, super::super::Foundation::FILETIME) -> windows_core::HRESULT, - pub AddDifferencedFilesByLastModifyLSN: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::BOOL, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddDifferencedFilesByLastModifyLSN: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::BOOL, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDifferencedFilesCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetDifferencedFile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut std::mem::MaybeUninit, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, + pub GetDifferencedFile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut core::mem::MaybeUninit, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssComponentEx, IVssComponentEx_Vtbl, 0x156c8b5e_f131_4bd7_9c97_d1923be7e1fa); impl std::ops::Deref for IVssComponentEx { type Target = IVssComponent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssComponentEx, windows_core::IUnknown, IVssComponent); @@ -319,22 +319,22 @@ impl IVssComponentEx { (windows_core::Interface::vtable(self).SetPostSnapshotFailureMsg)(windows_core::Interface::as_raw(self), wszfailuremsg.param().abi()).ok() } pub unsafe fn GetPrepareForBackupFailureMsg(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrepareForBackupFailureMsg)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPostSnapshotFailureMsg(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPostSnapshotFailureMsg)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAuthoritativeRestore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAuthoritativeRestore)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRollForward(&self, prolltype: *mut VSS_ROLLFORWARD_TYPE, pbstrpoint: *mut windows_core::BSTR) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetRollForward)(windows_core::Interface::as_raw(self), prolltype, core::mem::transmute(pbstrpoint)).ok() } pub unsafe fn GetRestoreName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestoreName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -343,17 +343,17 @@ pub struct IVssComponentEx_Vtbl { pub base__: IVssComponent_Vtbl, pub SetPrepareForBackupFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetPostSnapshotFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetPrepareForBackupFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPostSnapshotFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPrepareForBackupFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPostSnapshotFailureMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetAuthoritativeRestore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub GetRollForward: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VSS_ROLLFORWARD_TYPE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRestoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRollForward: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VSS_ROLLFORWARD_TYPE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRestoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssComponentEx2, IVssComponentEx2_Vtbl, 0x3b5be0f2_07a9_4e4b_bdd3_cfdc8e2c0d2d); impl std::ops::Deref for IVssComponentEx2 { type Target = IVssComponentEx; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssComponentEx2, windows_core::IUnknown, IVssComponent, IVssComponentEx); @@ -372,13 +372,13 @@ impl IVssComponentEx2 { pub struct IVssComponentEx2_Vtbl { pub base__: IVssComponentEx_Vtbl, pub SetFailure: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, windows_core::HRESULT, windows_core::PCWSTR, u32) -> windows_core::HRESULT, - pub GetFailure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut windows_core::HRESULT, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub GetFailure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut windows_core::HRESULT, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssCreateExpressWriterMetadata, IVssCreateExpressWriterMetadata_Vtbl, 0x9c772e77_b26e_427f_92dd_c996f41ea5e3); impl std::ops::Deref for IVssCreateExpressWriterMetadata { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssCreateExpressWriterMetadata, windows_core::IUnknown); @@ -428,7 +428,7 @@ impl IVssCreateExpressWriterMetadata { (windows_core::Interface::vtable(self).SetBackupSchema)(windows_core::Interface::as_raw(self), dwschemamask).ok() } pub unsafe fn SaveAsXML(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveAsXML)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -441,7 +441,7 @@ pub struct IVssCreateExpressWriterMetadata_Vtbl { pub SetRestoreMethod: unsafe extern "system" fn(*mut core::ffi::c_void, VSS_RESTOREMETHOD_ENUM, windows_core::PCWSTR, windows_core::PCWSTR, VSS_WRITERRESTORE_ENUM, u8) -> windows_core::HRESULT, pub AddComponentDependency: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::GUID, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetBackupSchema: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub SaveAsXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveAsXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssCreateWriterMetadata, IVssCreateWriterMetadata_Vtbl); impl IVssCreateWriterMetadata { @@ -525,7 +525,7 @@ impl IVssCreateWriterMetadata { } #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] pub unsafe fn GetDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SaveAsXML(&self, pbstrxml: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -548,13 +548,13 @@ pub struct IVssCreateWriterMetadata_Vtbl { pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] GetDocument: usize, - pub SaveAsXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveAsXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssDifferentialSoftwareSnapshotMgmt, IVssDifferentialSoftwareSnapshotMgmt_Vtbl, 0x214a0f28_b737_4026_b847_4f9e37d79529); impl std::ops::Deref for IVssDifferentialSoftwareSnapshotMgmt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt, windows_core::IUnknown); @@ -566,19 +566,19 @@ impl IVssDifferentialSoftwareSnapshotMgmt { (windows_core::Interface::vtable(self).ChangeDiffAreaMaximumSize)(windows_core::Interface::as_raw(self), pwszvolumename, pwszdiffareavolumename, llmaximumdiffspace).ok() } pub unsafe fn QueryVolumesSupportedForDiffAreas(&self, pwszoriginalvolumename: *const u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryVolumesSupportedForDiffAreas)(windows_core::Interface::as_raw(self), pwszoriginalvolumename, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryDiffAreasForVolume(&self, pwszvolumename: *const u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDiffAreasForVolume)(windows_core::Interface::as_raw(self), pwszvolumename, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryDiffAreasOnVolume(&self, pwszvolumename: *const u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDiffAreasOnVolume)(windows_core::Interface::as_raw(self), pwszvolumename, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryDiffAreasForSnapshot(&self, snapshotid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDiffAreasForSnapshot)(windows_core::Interface::as_raw(self), core::mem::transmute(snapshotid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -596,7 +596,7 @@ windows_core::imp::define_interface!(IVssDifferentialSoftwareSnapshotMgmt2, IVss impl std::ops::Deref for IVssDifferentialSoftwareSnapshotMgmt2 { type Target = IVssDifferentialSoftwareSnapshotMgmt; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt2, windows_core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt); @@ -611,7 +611,7 @@ impl IVssDifferentialSoftwareSnapshotMgmt2 { (windows_core::Interface::vtable(self).MigrateDiffAreas)(windows_core::Interface::as_raw(self), pwszvolumename, pwszdiffareavolumename, pwsznewdiffareavolumename).ok() } pub unsafe fn QueryMigrationStatus(&self, pwszvolumename: *const u16, pwszdiffareavolumename: *const u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryMigrationStatus)(windows_core::Interface::as_raw(self), pwszvolumename, pwszdiffareavolumename, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSnapshotPriority(&self, idsnapshot: windows_core::GUID, priority: u8) -> windows_core::Result<()> { @@ -630,7 +630,7 @@ windows_core::imp::define_interface!(IVssDifferentialSoftwareSnapshotMgmt3, IVss impl std::ops::Deref for IVssDifferentialSoftwareSnapshotMgmt3 { type Target = IVssDifferentialSoftwareSnapshotMgmt2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt3, windows_core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt, IVssDifferentialSoftwareSnapshotMgmt2); @@ -664,7 +664,7 @@ windows_core::imp::define_interface!(IVssEnumMgmtObject, IVssEnumMgmtObject_Vtbl impl std::ops::Deref for IVssEnumMgmtObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssEnumMgmtObject, windows_core::IUnknown); @@ -694,7 +694,7 @@ windows_core::imp::define_interface!(IVssEnumObject, IVssEnumObject_Vtbl, 0xae1c impl std::ops::Deref for IVssEnumObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssEnumObject, windows_core::IUnknown); @@ -724,7 +724,7 @@ windows_core::imp::define_interface!(IVssExpressWriter, IVssExpressWriter_Vtbl, impl std::ops::Deref for IVssExpressWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssExpressWriter, windows_core::IUnknown); @@ -733,7 +733,7 @@ impl IVssExpressWriter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMetadata)(windows_core::Interface::as_raw(self), core::mem::transmute(writerid), writername.param().abi(), usagetype, versionmajor, versionminor, reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoadMetadata(&self, metadata: P0, reserved: u32) -> windows_core::Result<()> @@ -761,7 +761,7 @@ windows_core::imp::define_interface!(IVssFileShareSnapshotProvider, IVssFileShar impl std::ops::Deref for IVssFileShareSnapshotProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssFileShareSnapshotProvider, windows_core::IUnknown); @@ -773,7 +773,7 @@ impl IVssFileShareSnapshotProvider { (windows_core::Interface::vtable(self).GetSnapshotProperties)(windows_core::Interface::as_raw(self), core::mem::transmute(snapshotid), pprop).ok() } pub unsafe fn Query(&self, queriedobjectid: windows_core::GUID, equeriedobjecttype: VSS_OBJECT_TYPE, ereturnedobjectstype: VSS_OBJECT_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Query)(windows_core::Interface::as_raw(self), core::mem::transmute(queriedobjectid), equeriedobjecttype, ereturnedobjectstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteSnapshots(&self, sourceobjectid: windows_core::GUID, esourceobjecttype: VSS_OBJECT_TYPE, bforcedelete: P0, pldeletedsnapshots: *mut i32, pnondeletedsnapshotid: *mut windows_core::GUID) -> windows_core::Result<()> @@ -786,7 +786,7 @@ impl IVssFileShareSnapshotProvider { (windows_core::Interface::vtable(self).BeginPrepareSnapshot)(windows_core::Interface::as_raw(self), core::mem::transmute(snapshotsetid), core::mem::transmute(snapshotid), pwszsharepath, lnewcontext, core::mem::transmute(providerid)).ok() } pub unsafe fn IsPathSupported(&self, pwszsharepath: *const u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPathSupported)(windows_core::Interface::as_raw(self), pwszsharepath, &mut result__).map(|| result__) } pub unsafe fn IsPathSnapshotted(&self, pwszsharepath: *const u16, pbsnapshotspresent: *mut super::super::Foundation::BOOL, plsnapshotcompatibility: *mut i32) -> windows_core::Result<()> { @@ -809,13 +809,13 @@ pub struct IVssFileShareSnapshotProvider_Vtbl { pub BeginPrepareSnapshot: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::GUID, *const u16, i32, windows_core::GUID) -> windows_core::HRESULT, pub IsPathSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsPathSnapshotted: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *mut super::super::Foundation::BOOL, *mut i32) -> windows_core::HRESULT, - pub SetSnapshotProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, VSS_SNAPSHOT_PROPERTY_ID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSnapshotProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, VSS_SNAPSHOT_PROPERTY_ID, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssHardwareSnapshotProvider, IVssHardwareSnapshotProvider_Vtbl, 0x9593a157_44e9_4344_bbeb_44fbf9b06b10); impl std::ops::Deref for IVssHardwareSnapshotProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssHardwareSnapshotProvider, windows_core::IUnknown); @@ -877,13 +877,13 @@ windows_core::imp::define_interface!(IVssHardwareSnapshotProviderEx, IVssHardwar impl std::ops::Deref for IVssHardwareSnapshotProviderEx { type Target = IVssHardwareSnapshotProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssHardwareSnapshotProviderEx, windows_core::IUnknown, IVssHardwareSnapshotProvider); impl IVssHardwareSnapshotProviderEx { pub unsafe fn GetProviderCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Storage_VirtualDiskService")] @@ -892,7 +892,7 @@ impl IVssHardwareSnapshotProviderEx { } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResyncLuns)(windows_core::Interface::as_raw(self), psourceluns, ptargetluns, dwcount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_VirtualDiskService")] @@ -921,7 +921,7 @@ windows_core::imp::define_interface!(IVssProviderCreateSnapshotSet, IVssProvider impl std::ops::Deref for IVssProviderCreateSnapshotSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssProviderCreateSnapshotSet, windows_core::IUnknown); @@ -963,7 +963,7 @@ windows_core::imp::define_interface!(IVssProviderNotifications, IVssProviderNoti impl std::ops::Deref for IVssProviderNotifications { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssProviderNotifications, windows_core::IUnknown); @@ -991,21 +991,21 @@ windows_core::imp::define_interface!(IVssSnapshotMgmt, IVssSnapshotMgmt_Vtbl, 0x impl std::ops::Deref for IVssSnapshotMgmt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssSnapshotMgmt, windows_core::IUnknown); impl IVssSnapshotMgmt { pub unsafe fn GetProviderMgmtInterface(&self, providerid: windows_core::GUID, interfaceid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderMgmtInterface)(windows_core::Interface::as_raw(self), core::mem::transmute(providerid), interfaceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryVolumesSupportedForSnapshots(&self, providerid: windows_core::GUID, lcontext: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryVolumesSupportedForSnapshots)(windows_core::Interface::as_raw(self), core::mem::transmute(providerid), lcontext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QuerySnapshotsByVolume(&self, pwszvolumename: *const u16, providerid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuerySnapshotsByVolume)(windows_core::Interface::as_raw(self), pwszvolumename, core::mem::transmute(providerid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1020,13 +1020,13 @@ windows_core::imp::define_interface!(IVssSnapshotMgmt2, IVssSnapshotMgmt2_Vtbl, impl std::ops::Deref for IVssSnapshotMgmt2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssSnapshotMgmt2, windows_core::IUnknown); impl IVssSnapshotMgmt2 { pub unsafe fn GetMinDiffAreaSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinDiffAreaSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1039,7 +1039,7 @@ windows_core::imp::define_interface!(IVssSoftwareSnapshotProvider, IVssSoftwareS impl std::ops::Deref for IVssSoftwareSnapshotProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssSoftwareSnapshotProvider, windows_core::IUnknown); @@ -1051,7 +1051,7 @@ impl IVssSoftwareSnapshotProvider { (windows_core::Interface::vtable(self).GetSnapshotProperties)(windows_core::Interface::as_raw(self), core::mem::transmute(snapshotid), pprop).ok() } pub unsafe fn Query(&self, queriedobjectid: windows_core::GUID, equeriedobjecttype: VSS_OBJECT_TYPE, ereturnedobjectstype: VSS_OBJECT_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Query)(windows_core::Interface::as_raw(self), core::mem::transmute(queriedobjectid), equeriedobjecttype, ereturnedobjectstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteSnapshots(&self, sourceobjectid: windows_core::GUID, esourceobjecttype: VSS_OBJECT_TYPE, bforcedelete: P0, pldeletedsnapshots: *mut i32, pnondeletedsnapshotid: *mut windows_core::GUID) -> windows_core::Result<()> @@ -1064,7 +1064,7 @@ impl IVssSoftwareSnapshotProvider { (windows_core::Interface::vtable(self).BeginPrepareSnapshot)(windows_core::Interface::as_raw(self), core::mem::transmute(snapshotsetid), core::mem::transmute(snapshotid), pwszvolumename, lnewcontext).ok() } pub unsafe fn IsVolumeSupported(&self, pwszvolumename: *const u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsVolumeSupported)(windows_core::Interface::as_raw(self), pwszvolumename, &mut result__).map(|| result__) } pub unsafe fn IsVolumeSnapshotted(&self, pwszvolumename: *const u16, pbsnapshotspresent: *mut super::super::Foundation::BOOL, plsnapshotcompatibility: *mut i32) -> windows_core::Result<()> { @@ -1080,7 +1080,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryRevertStatus)(windows_core::Interface::as_raw(self), pwszvolume, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1094,7 +1094,7 @@ pub struct IVssSoftwareSnapshotProvider_Vtbl { pub BeginPrepareSnapshot: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::GUID, *const u16, i32) -> windows_core::HRESULT, pub IsVolumeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsVolumeSnapshotted: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *mut super::super::Foundation::BOOL, *mut i32) -> windows_core::HRESULT, - pub SetSnapshotProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, VSS_SNAPSHOT_PROPERTY_ID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSnapshotProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, VSS_SNAPSHOT_PROPERTY_ID, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RevertToSnapshot: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub QueryRevertStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1102,7 +1102,7 @@ windows_core::imp::define_interface!(IVssWMDependency, IVssWMDependency_Vtbl, 0) impl std::ops::Deref for IVssWMDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssWMDependency, windows_core::IUnknown); @@ -1121,46 +1121,46 @@ impl IVssWMDependency { pub struct IVssWMDependency_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetWriterId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetLogicalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetComponentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLogicalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetComponentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssWMFiledesc, IVssWMFiledesc_Vtbl, 0); impl std::ops::Deref for IVssWMFiledesc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVssWMFiledesc, windows_core::IUnknown); impl IVssWMFiledesc { pub unsafe fn GetPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilespec(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilespec)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecursive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecursive)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAlternateLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlternateLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBackupTypeMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackupTypeMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IVssWMFiledesc_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFilespec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFilespec: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetRecursive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, - pub GetAlternateLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAlternateLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetBackupTypeMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssWriterComponents, IVssWriterComponents_Vtbl); @@ -1172,7 +1172,7 @@ impl IVssWriterComponents { (windows_core::Interface::vtable(self).GetWriterInfo)(windows_core::Interface::as_raw(self), pidinstance, pidwriter).ok() } pub unsafe fn GetComponent(&self, icomponent: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponent)(windows_core::Interface::as_raw(self), icomponent, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } 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 137a2deb28..a0483d86fd 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 @@ -29,7 +29,7 @@ windows_core::imp::define_interface!(IPrintDocumentPackageStatusEvent, IPrintDoc impl std::ops::Deref for IPrintDocumentPackageStatusEvent { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -50,7 +50,7 @@ windows_core::imp::define_interface!(IPrintDocumentPackageTarget, IPrintDocument impl std::ops::Deref for IPrintDocumentPackageTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTarget, windows_core::IUnknown); @@ -80,13 +80,13 @@ windows_core::imp::define_interface!(IPrintDocumentPackageTarget2, IPrintDocumen impl std::ops::Deref for IPrintDocumentPackageTarget2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTarget2, windows_core::IUnknown); impl IPrintDocumentPackageTarget2 { pub unsafe fn GetIsTargetIppPrinter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsTargetIppPrinter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTargetIppPrintDevice(&self) -> windows_core::Result @@ -107,7 +107,7 @@ windows_core::imp::define_interface!(IPrintDocumentPackageTargetFactory, IPrintD impl std::ops::Deref for IPrintDocumentPackageTargetFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTargetFactory, windows_core::IUnknown); @@ -120,7 +120,7 @@ impl IPrintDocumentPackageTargetFactory { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDocumentPackageTargetForPrintJob)(windows_core::Interface::as_raw(self), printername.param().abi(), jobname.param().abi(), joboutputstream.param().abi(), jobprintticketstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -136,7 +136,7 @@ windows_core::imp::define_interface!(IXpsPrintJob, IXpsPrintJob_Vtbl, 0x5ab89b06 impl std::ops::Deref for IXpsPrintJob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsPrintJob, windows_core::IUnknown); @@ -160,7 +160,7 @@ windows_core::imp::define_interface!(IXpsPrintJobStream, IXpsPrintJobStream_Vtbl impl std::ops::Deref for IXpsPrintJobStream { type Target = super::super::super::System::Com::ISequentialStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] 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 ae9ca4ef55..42f1242159 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs @@ -115,7 +115,7 @@ windows_core::imp::define_interface!(IXpsDocumentPackageTarget, IXpsDocumentPack impl std::ops::Deref for IXpsDocumentPackageTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsDocumentPackageTarget, windows_core::IUnknown); @@ -126,15 +126,15 @@ impl IXpsDocumentPackageTarget { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXpsOMPackageWriter)(windows_core::Interface::as_raw(self), documentsequencepartname.param().abi(), discardcontrolpartname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetXpsOMFactory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXpsOMFactory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetXpsType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXpsType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -152,7 +152,7 @@ windows_core::imp::define_interface!(IXpsDocumentPackageTarget3D, IXpsDocumentPa impl std::ops::Deref for IXpsDocumentPackageTarget3D { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsDocumentPackageTarget3D, windows_core::IUnknown); @@ -165,11 +165,11 @@ impl IXpsDocumentPackageTarget3D { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXpsOMPackageWriter3D)(windows_core::Interface::as_raw(self), documentsequencepartname.param().abi(), discardcontrolpartname.param().abi(), modelpartname.param().abi(), modeldata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetXpsOMFactory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXpsOMFactory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -186,13 +186,13 @@ windows_core::imp::define_interface!(IXpsOMBrush, IXpsOMBrush_Vtbl, 0x56a3f80c_e impl std::ops::Deref for IXpsOMBrush { type Target = IXpsOMShareable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMBrush, windows_core::IUnknown, IXpsOMShareable); impl IXpsOMBrush { pub unsafe fn GetOpacity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOpacity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOpacity(&self, opacity: f32) -> windows_core::Result<()> { @@ -209,17 +209,17 @@ windows_core::imp::define_interface!(IXpsOMCanvas, IXpsOMCanvas_Vtbl, 0x221d1452 impl std::ops::Deref for IXpsOMCanvas { type Target = IXpsOMVisual; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMCanvas, windows_core::IUnknown, IXpsOMShareable, IXpsOMVisual); impl IXpsOMCanvas { pub unsafe fn GetVisuals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisuals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUseAliasedEdgeMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUseAliasedEdgeMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseAliasedEdgeMode(&self, usealiasededgemode: P0) -> windows_core::Result<()> @@ -229,7 +229,7 @@ impl IXpsOMCanvas { (windows_core::Interface::vtable(self).SetUseAliasedEdgeMode)(windows_core::Interface::as_raw(self), usealiasededgemode.param().abi()).ok() } pub unsafe fn GetAccessibilityShortDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccessibilityShortDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccessibilityShortDescription(&self, shortdescription: P0) -> windows_core::Result<()> @@ -239,7 +239,7 @@ impl IXpsOMCanvas { (windows_core::Interface::vtable(self).SetAccessibilityShortDescription)(windows_core::Interface::as_raw(self), shortdescription.param().abi()).ok() } pub unsafe fn GetAccessibilityLongDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccessibilityLongDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccessibilityLongDescription(&self, longdescription: P0) -> windows_core::Result<()> @@ -249,11 +249,11 @@ impl IXpsOMCanvas { (windows_core::Interface::vtable(self).SetAccessibilityLongDescription)(windows_core::Interface::as_raw(self), longdescription.param().abi()).ok() } pub unsafe fn GetDictionary(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDictionary)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDictionaryLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDictionaryLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDictionaryLocal(&self, resourcedictionary: P0) -> windows_core::Result<()> @@ -263,7 +263,7 @@ impl IXpsOMCanvas { (windows_core::Interface::vtable(self).SetDictionaryLocal)(windows_core::Interface::as_raw(self), resourcedictionary.param().abi()).ok() } pub unsafe fn GetDictionaryResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDictionaryResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDictionaryResource(&self, remotedictionaryresource: P0) -> windows_core::Result<()> @@ -273,7 +273,7 @@ impl IXpsOMCanvas { (windows_core::Interface::vtable(self).SetDictionaryResource)(windows_core::Interface::as_raw(self), remotedictionaryresource.param().abi()).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -298,14 +298,14 @@ windows_core::imp::define_interface!(IXpsOMColorProfileResource, IXpsOMColorProf impl std::ops::Deref for IXpsOMColorProfileResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMColorProfileResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMColorProfileResource { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -333,17 +333,17 @@ windows_core::imp::define_interface!(IXpsOMColorProfileResourceCollection, IXpsO impl std::ops::Deref for IXpsOMColorProfileResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMColorProfileResourceCollection, windows_core::IUnknown); impl IXpsOMColorProfileResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, index: u32, object: P0) -> windows_core::Result<()> @@ -372,7 +372,7 @@ impl IXpsOMColorProfileResourceCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetByPartName)(windows_core::Interface::as_raw(self), partname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -394,17 +394,17 @@ windows_core::imp::define_interface!(IXpsOMCoreProperties, IXpsOMCoreProperties_ impl std::ops::Deref for IXpsOMCoreProperties { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMCoreProperties, windows_core::IUnknown, IXpsOMPart); impl IXpsOMCoreProperties { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCategory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCategory(&self, category: P0) -> windows_core::Result<()> @@ -414,7 +414,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetCategory)(windows_core::Interface::as_raw(self), category.param().abi()).ok() } pub unsafe fn GetContentStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetContentStatus(&self, contentstatus: P0) -> windows_core::Result<()> @@ -424,7 +424,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetContentStatus)(windows_core::Interface::as_raw(self), contentstatus.param().abi()).ok() } pub unsafe fn GetContentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetContentType(&self, contenttype: P0) -> windows_core::Result<()> @@ -434,14 +434,14 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetContentType)(windows_core::Interface::as_raw(self), contenttype.param().abi()).ok() } pub unsafe fn GetCreated(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCreated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCreated(&self, created: *const super::super::Foundation::SYSTEMTIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetCreated)(windows_core::Interface::as_raw(self), created).ok() } pub unsafe fn GetCreator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCreator)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCreator(&self, creator: P0) -> windows_core::Result<()> @@ -451,7 +451,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetCreator)(windows_core::Interface::as_raw(self), creator.param().abi()).ok() } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDescription(&self, description: P0) -> windows_core::Result<()> @@ -461,7 +461,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), description.param().abi()).ok() } pub unsafe fn GetIdentifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIdentifier)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIdentifier(&self, identifier: P0) -> windows_core::Result<()> @@ -471,7 +471,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetIdentifier)(windows_core::Interface::as_raw(self), identifier.param().abi()).ok() } pub unsafe fn GetKeywords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeywords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetKeywords(&self, keywords: P0) -> windows_core::Result<()> @@ -481,7 +481,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetKeywords)(windows_core::Interface::as_raw(self), keywords.param().abi()).ok() } pub unsafe fn GetLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLanguage(&self, language: P0) -> windows_core::Result<()> @@ -491,7 +491,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetLanguage)(windows_core::Interface::as_raw(self), language.param().abi()).ok() } pub unsafe fn GetLastModifiedBy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastModifiedBy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLastModifiedBy(&self, lastmodifiedby: P0) -> windows_core::Result<()> @@ -501,21 +501,21 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetLastModifiedBy)(windows_core::Interface::as_raw(self), lastmodifiedby.param().abi()).ok() } pub unsafe fn GetLastPrinted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastPrinted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLastPrinted(&self, lastprinted: *const super::super::Foundation::SYSTEMTIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetLastPrinted)(windows_core::Interface::as_raw(self), lastprinted).ok() } pub unsafe fn GetModified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetModified(&self, modified: *const super::super::Foundation::SYSTEMTIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetModified)(windows_core::Interface::as_raw(self), modified).ok() } pub unsafe fn GetRevision(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRevision)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRevision(&self, revision: P0) -> windows_core::Result<()> @@ -525,7 +525,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetRevision)(windows_core::Interface::as_raw(self), revision.param().abi()).ok() } pub unsafe fn GetSubject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubject)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSubject(&self, subject: P0) -> windows_core::Result<()> @@ -535,7 +535,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetSubject)(windows_core::Interface::as_raw(self), subject.param().abi()).ok() } pub unsafe fn GetTitle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTitle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTitle(&self, title: P0) -> windows_core::Result<()> @@ -545,7 +545,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetTitle)(windows_core::Interface::as_raw(self), title.param().abi()).ok() } pub unsafe fn GetVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVersion(&self, version: P0) -> windows_core::Result<()> @@ -555,7 +555,7 @@ impl IXpsOMCoreProperties { (windows_core::Interface::vtable(self).SetVersion)(windows_core::Interface::as_raw(self), version.param().abi()).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -601,17 +601,17 @@ windows_core::imp::define_interface!(IXpsOMDashCollection, IXpsOMDashCollection_ impl std::ops::Deref for IXpsOMDashCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMDashCollection, windows_core::IUnknown); impl IXpsOMDashCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn InsertAt(&self, index: u32, dash: *const XPS_DASH) -> windows_core::Result<()> { @@ -641,21 +641,21 @@ windows_core::imp::define_interface!(IXpsOMDictionary, IXpsOMDictionary_Vtbl, 0x impl std::ops::Deref for IXpsOMDictionary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMDictionary, windows_core::IUnknown); impl IXpsOMDictionary { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32, key: *mut windows_core::PWSTR) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetByKey(&self, key: P0, beforeentry: P1) -> windows_core::Result @@ -663,14 +663,14 @@ impl IXpsOMDictionary { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetByKey)(windows_core::Interface::as_raw(self), key.param().abi(), beforeentry.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIndex(&self, entry: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndex)(windows_core::Interface::as_raw(self), entry.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Append(&self, key: P0, entry: P1) -> windows_core::Result<()> @@ -698,7 +698,7 @@ impl IXpsOMDictionary { (windows_core::Interface::vtable(self).SetAt)(windows_core::Interface::as_raw(self), index, key.param().abi(), entry.param().abi()).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -720,21 +720,21 @@ windows_core::imp::define_interface!(IXpsOMDocument, IXpsOMDocument_Vtbl, 0x2c2c impl std::ops::Deref for IXpsOMDocument { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMDocument, windows_core::IUnknown, IXpsOMPart); impl IXpsOMDocument { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPageReferences(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageReferences)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPrintTicketResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrintTicketResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrintTicketResource(&self, printticketresource: P0) -> windows_core::Result<()> @@ -744,7 +744,7 @@ impl IXpsOMDocument { (windows_core::Interface::vtable(self).SetPrintTicketResource)(windows_core::Interface::as_raw(self), printticketresource.param().abi()).ok() } pub unsafe fn GetDocumentStructureResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentStructureResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDocumentStructureResource(&self, documentstructureresource: P0) -> windows_core::Result<()> @@ -754,11 +754,11 @@ impl IXpsOMDocument { (windows_core::Interface::vtable(self).SetDocumentStructureResource)(windows_core::Interface::as_raw(self), documentstructureresource.param().abi()).ok() } pub unsafe fn GetSignatureBlockResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureBlockResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -778,17 +778,17 @@ windows_core::imp::define_interface!(IXpsOMDocumentCollection, IXpsOMDocumentCol impl std::ops::Deref for IXpsOMDocumentCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMDocumentCollection, windows_core::IUnknown); impl IXpsOMDocumentCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, index: u32, document: P0) -> windows_core::Result<()> @@ -827,21 +827,21 @@ windows_core::imp::define_interface!(IXpsOMDocumentSequence, IXpsOMDocumentSeque impl std::ops::Deref for IXpsOMDocumentSequence { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMDocumentSequence, windows_core::IUnknown, IXpsOMPart); impl IXpsOMDocumentSequence { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocuments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocuments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPrintTicketResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrintTicketResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrintTicketResource(&self, printticketresource: P0) -> windows_core::Result<()> @@ -863,18 +863,18 @@ windows_core::imp::define_interface!(IXpsOMDocumentStructureResource, IXpsOMDocu impl std::ops::Deref for IXpsOMDocumentStructureResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMDocumentStructureResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMDocumentStructureResource { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -903,14 +903,14 @@ windows_core::imp::define_interface!(IXpsOMFontResource, IXpsOMFontResource_Vtbl impl std::ops::Deref for IXpsOMFontResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMFontResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMFontResource { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -922,7 +922,7 @@ impl IXpsOMFontResource { (windows_core::Interface::vtable(self).SetContent)(windows_core::Interface::as_raw(self), sourcestream.param().abi(), embeddingoption, partname.param().abi()).ok() } pub unsafe fn GetEmbeddingOption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmbeddingOption)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -943,17 +943,17 @@ windows_core::imp::define_interface!(IXpsOMFontResourceCollection, IXpsOMFontRes impl std::ops::Deref for IXpsOMFontResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMFontResourceCollection, windows_core::IUnknown); impl IXpsOMFontResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAt(&self, index: u32, value: P0) -> windows_core::Result<()> @@ -982,7 +982,7 @@ impl IXpsOMFontResourceCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetByPartName)(windows_core::Interface::as_raw(self), partname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1004,28 +1004,28 @@ windows_core::imp::define_interface!(IXpsOMGeometry, IXpsOMGeometry_Vtbl, 0x64fc impl std::ops::Deref for IXpsOMGeometry { type Target = IXpsOMShareable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMGeometry, windows_core::IUnknown, IXpsOMShareable); impl IXpsOMGeometry { pub unsafe fn GetFigures(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFigures)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFillRule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFillRule)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTransformLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTransformLocal(&self, transform: P0) -> windows_core::Result<()> @@ -1035,7 +1035,7 @@ impl IXpsOMGeometry { (windows_core::Interface::vtable(self).SetTransformLocal)(windows_core::Interface::as_raw(self), transform.param().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTransformLookup(&self, lookup: P0) -> windows_core::Result<()> @@ -1045,7 +1045,7 @@ impl IXpsOMGeometry { (windows_core::Interface::vtable(self).SetTransformLookup)(windows_core::Interface::as_raw(self), lookup.param().abi()).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1066,13 +1066,13 @@ windows_core::imp::define_interface!(IXpsOMGeometryFigure, IXpsOMGeometryFigure_ impl std::ops::Deref for IXpsOMGeometryFigure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMGeometryFigure, windows_core::IUnknown); impl IXpsOMGeometryFigure { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSegmentData(&self, datacount: *mut u32, segmentdata: *mut f32) -> windows_core::Result<()> { @@ -1088,14 +1088,14 @@ impl IXpsOMGeometryFigure { (windows_core::Interface::vtable(self).SetSegments)(windows_core::Interface::as_raw(self), segmentcount, segmentdatacount, segmenttypes, segmentdata, segmentstrokes).ok() } pub unsafe fn GetStartPoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStartPoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), startpoint).ok() } pub unsafe fn GetIsClosed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsClosed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsClosed(&self, isclosed: P0) -> windows_core::Result<()> @@ -1105,7 +1105,7 @@ impl IXpsOMGeometryFigure { (windows_core::Interface::vtable(self).SetIsClosed)(windows_core::Interface::as_raw(self), isclosed.param().abi()).ok() } pub unsafe fn GetIsFilled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsFilled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsFilled(&self, isfilled: P0) -> windows_core::Result<()> @@ -1115,19 +1115,19 @@ impl IXpsOMGeometryFigure { (windows_core::Interface::vtable(self).SetIsFilled)(windows_core::Interface::as_raw(self), isfilled.param().abi()).ok() } pub unsafe fn GetSegmentCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSegmentCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSegmentDataCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSegmentDataCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSegmentStrokePattern(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSegmentStrokePattern)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1154,17 +1154,17 @@ windows_core::imp::define_interface!(IXpsOMGeometryFigureCollection, IXpsOMGeome impl std::ops::Deref for IXpsOMGeometryFigureCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMGeometryFigureCollection, windows_core::IUnknown); impl IXpsOMGeometryFigureCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, index: u32, geometryfigure: P0) -> windows_core::Result<()> @@ -1203,71 +1203,71 @@ windows_core::imp::define_interface!(IXpsOMGlyphs, IXpsOMGlyphs_Vtbl, 0x819b3199 impl std::ops::Deref for IXpsOMGlyphs { type Target = IXpsOMVisual; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMGlyphs, windows_core::IUnknown, IXpsOMShareable, IXpsOMVisual); impl IXpsOMGlyphs { pub unsafe fn GetUnicodeString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnicodeString)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGlyphIndexCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlyphIndexCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), indexcount, glyphindices).ok() } pub unsafe fn GetGlyphMappingCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlyphMappingCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), glyphmappingcount, glyphmappings).ok() } pub unsafe fn GetProhibitedCaretStopCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProhibitedCaretStopCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), prohibitedcaretstopcount, prohibitedcaretstops).ok() } pub unsafe fn GetBidiLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBidiLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIsSideways(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsSideways)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDeviceFontName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceFontName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStyleSimulations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStyleSimulations)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOrigin)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), origin).ok() } pub unsafe fn GetFontRenderingEmSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontRenderingEmSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFontResource(&self, fontresource: P0) -> windows_core::Result<()> @@ -1277,18 +1277,18 @@ impl IXpsOMGlyphs { (windows_core::Interface::vtable(self).SetFontResource)(windows_core::Interface::as_raw(self), fontresource.param().abi()).ok() } pub unsafe fn GetFontFaceIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontFaceIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFillBrush)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFillBrushLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFillBrushLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFillBrushLocal(&self, fillbrush: P0) -> windows_core::Result<()> @@ -1298,7 +1298,7 @@ impl IXpsOMGlyphs { (windows_core::Interface::vtable(self).SetFillBrushLocal)(windows_core::Interface::as_raw(self), fillbrush.param().abi()).ok() } pub unsafe fn GetFillBrushLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFillBrushLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFillBrushLookup(&self, key: P0) -> windows_core::Result<()> @@ -1308,11 +1308,11 @@ impl IXpsOMGlyphs { (windows_core::Interface::vtable(self).SetFillBrushLookup)(windows_core::Interface::as_raw(self), key.param().abi()).ok() } pub unsafe fn GetGlyphsEditor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlyphsEditor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1351,7 +1351,7 @@ windows_core::imp::define_interface!(IXpsOMGlyphsEditor, IXpsOMGlyphsEditor_Vtbl impl std::ops::Deref for IXpsOMGlyphsEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMGlyphsEditor, windows_core::IUnknown); @@ -1360,7 +1360,7 @@ impl IXpsOMGlyphsEditor { (windows_core::Interface::vtable(self).ApplyEdits)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetUnicodeString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnicodeString)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUnicodeString(&self, unicodestring: P0) -> windows_core::Result<()> @@ -1370,7 +1370,7 @@ impl IXpsOMGlyphsEditor { (windows_core::Interface::vtable(self).SetUnicodeString)(windows_core::Interface::as_raw(self), unicodestring.param().abi()).ok() } pub unsafe fn GetGlyphIndexCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlyphIndexCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGlyphIndices(&self, indexcount: *mut u32, glyphindices: *mut XPS_GLYPH_INDEX) -> windows_core::Result<()> { @@ -1380,7 +1380,7 @@ impl IXpsOMGlyphsEditor { (windows_core::Interface::vtable(self).SetGlyphIndices)(windows_core::Interface::as_raw(self), indexcount, glyphindices).ok() } pub unsafe fn GetGlyphMappingCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlyphMappingCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGlyphMappings(&self, glyphmappingcount: *mut u32, glyphmappings: *mut XPS_GLYPH_MAPPING) -> windows_core::Result<()> { @@ -1390,7 +1390,7 @@ impl IXpsOMGlyphsEditor { (windows_core::Interface::vtable(self).SetGlyphMappings)(windows_core::Interface::as_raw(self), glyphmappingcount, glyphmappings).ok() } pub unsafe fn GetProhibitedCaretStopCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProhibitedCaretStopCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProhibitedCaretStops(&self, count: *mut u32, prohibitedcaretstops: *mut u32) -> windows_core::Result<()> { @@ -1400,14 +1400,14 @@ impl IXpsOMGlyphsEditor { (windows_core::Interface::vtable(self).SetProhibitedCaretStops)(windows_core::Interface::as_raw(self), count, prohibitedcaretstops).ok() } pub unsafe fn GetBidiLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBidiLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBidiLevel(&self, bidilevel: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetBidiLevel)(windows_core::Interface::as_raw(self), bidilevel).ok() } pub unsafe fn GetIsSideways(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsSideways)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsSideways(&self, issideways: P0) -> windows_core::Result<()> @@ -1417,7 +1417,7 @@ impl IXpsOMGlyphsEditor { (windows_core::Interface::vtable(self).SetIsSideways)(windows_core::Interface::as_raw(self), issideways.param().abi()).ok() } pub unsafe fn GetDeviceFontName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceFontName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDeviceFontName(&self, devicefontname: P0) -> windows_core::Result<()> @@ -1453,21 +1453,21 @@ windows_core::imp::define_interface!(IXpsOMGradientBrush, IXpsOMGradientBrush_Vt impl std::ops::Deref for IXpsOMGradientBrush { type Target = IXpsOMBrush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMGradientBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush); impl IXpsOMGradientBrush { pub unsafe fn GetGradientStops(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGradientStops)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTransformLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTransformLocal(&self, transform: P0) -> windows_core::Result<()> @@ -1477,7 +1477,7 @@ impl IXpsOMGradientBrush { (windows_core::Interface::vtable(self).SetTransformLocal)(windows_core::Interface::as_raw(self), transform.param().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTransformLookup(&self, key: P0) -> windows_core::Result<()> @@ -1487,14 +1487,14 @@ impl IXpsOMGradientBrush { (windows_core::Interface::vtable(self).SetTransformLookup)(windows_core::Interface::as_raw(self), key.param().abi()).ok() } pub unsafe fn GetSpreadMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpreadMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColorInterpolationMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetColorInterpolationMode(&self, colorinterpolationmode: XPS_COLOR_INTERPOLATION) -> windows_core::Result<()> { @@ -1519,24 +1519,24 @@ windows_core::imp::define_interface!(IXpsOMGradientStop, IXpsOMGradientStop_Vtbl impl std::ops::Deref for IXpsOMGradientStop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMGradientStop, windows_core::IUnknown); impl IXpsOMGradientStop { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOffset(&self, offset: f32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetOffset)(windows_core::Interface::as_raw(self), offset).ok() } pub unsafe fn GetColor(&self, color: *mut XPS_COLOR) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColor)(windows_core::Interface::as_raw(self), color, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetColor(&self, color: *const XPS_COLOR, colorprofile: P0) -> windows_core::Result<()> @@ -1546,7 +1546,7 @@ impl IXpsOMGradientStop { (windows_core::Interface::vtable(self).SetColor)(windows_core::Interface::as_raw(self), color, colorprofile.param().abi()).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1564,17 +1564,17 @@ windows_core::imp::define_interface!(IXpsOMGradientStopCollection, IXpsOMGradien impl std::ops::Deref for IXpsOMGradientStopCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMGradientStopCollection, windows_core::IUnknown); impl IXpsOMGradientStopCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, index: u32, stop: P0) -> windows_core::Result<()> @@ -1613,13 +1613,13 @@ windows_core::imp::define_interface!(IXpsOMImageBrush, IXpsOMImageBrush_Vtbl, 0x impl std::ops::Deref for IXpsOMImageBrush { type Target = IXpsOMTileBrush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMImageBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); impl IXpsOMImageBrush { pub unsafe fn GetImageResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetImageResource(&self, imageresource: P0) -> windows_core::Result<()> @@ -1629,7 +1629,7 @@ impl IXpsOMImageBrush { (windows_core::Interface::vtable(self).SetImageResource)(windows_core::Interface::as_raw(self), imageresource.param().abi()).ok() } pub unsafe fn GetColorProfileResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColorProfileResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetColorProfileResource(&self, colorprofileresource: P0) -> windows_core::Result<()> @@ -1639,7 +1639,7 @@ impl IXpsOMImageBrush { (windows_core::Interface::vtable(self).SetColorProfileResource)(windows_core::Interface::as_raw(self), colorprofileresource.param().abi()).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1656,14 +1656,14 @@ windows_core::imp::define_interface!(IXpsOMImageResource, IXpsOMImageResource_Vt impl std::ops::Deref for IXpsOMImageResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMImageResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMImageResource { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1675,7 +1675,7 @@ impl IXpsOMImageResource { (windows_core::Interface::vtable(self).SetContent)(windows_core::Interface::as_raw(self), sourcestream.param().abi(), imagetype, partname.param().abi()).ok() } pub unsafe fn GetImageType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1696,17 +1696,17 @@ windows_core::imp::define_interface!(IXpsOMImageResourceCollection, IXpsOMImageR impl std::ops::Deref for IXpsOMImageResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMImageResourceCollection, windows_core::IUnknown); impl IXpsOMImageResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, index: u32, object: P0) -> windows_core::Result<()> @@ -1735,7 +1735,7 @@ impl IXpsOMImageResourceCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetByPartName)(windows_core::Interface::as_raw(self), partname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1757,27 +1757,27 @@ windows_core::imp::define_interface!(IXpsOMLinearGradientBrush, IXpsOMLinearGrad impl std::ops::Deref for IXpsOMLinearGradientBrush { type Target = IXpsOMGradientBrush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMLinearGradientBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); impl IXpsOMLinearGradientBrush { pub unsafe fn GetStartPoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStartPoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), startpoint).ok() } pub unsafe fn GetEndPoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEndPoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), endpoint).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1794,20 +1794,20 @@ windows_core::imp::define_interface!(IXpsOMMatrixTransform, IXpsOMMatrixTransfor impl std::ops::Deref for IXpsOMMatrixTransform { type Target = IXpsOMShareable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMMatrixTransform, windows_core::IUnknown, IXpsOMShareable); impl IXpsOMMatrixTransform { pub unsafe fn GetMatrix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatrix)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), matrix).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1822,17 +1822,17 @@ windows_core::imp::define_interface!(IXpsOMNameCollection, IXpsOMNameCollection_ impl std::ops::Deref for IXpsOMNameCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMNameCollection, windows_core::IUnknown); impl IXpsOMNameCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } } @@ -1846,13 +1846,13 @@ windows_core::imp::define_interface!(IXpsOMObjectFactory, IXpsOMObjectFactory_Vt impl std::ops::Deref for IXpsOMObjectFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMObjectFactory, windows_core::IUnknown); impl IXpsOMObjectFactory { pub unsafe fn CreatePackage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePackageFromFile(&self, filename: P0, reuseobjects: P1) -> windows_core::Result @@ -1860,7 +1860,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageFromFile)(windows_core::Interface::as_raw(self), filename.param().abi(), reuseobjects.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1869,7 +1869,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageFromStream)(windows_core::Interface::as_raw(self), stream.param().abi(), reuseobjects.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1878,7 +1878,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStoryFragmentsResource)(windows_core::Interface::as_raw(self), acquiredstream.param().abi(), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1887,7 +1887,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDocumentStructureResource)(windows_core::Interface::as_raw(self), acquiredstream.param().abi(), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1896,7 +1896,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSignatureBlockResource)(windows_core::Interface::as_raw(self), acquiredstream.param().abi(), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1905,7 +1905,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRemoteDictionaryResource)(windows_core::Interface::as_raw(self), dictionary.param().abi(), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1915,11 +1915,11 @@ impl IXpsOMObjectFactory { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRemoteDictionaryResourceFromStream)(windows_core::Interface::as_raw(self), dictionarymarkupstream.param().abi(), dictionaryparturi.param().abi(), resources.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePartResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePartResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1927,7 +1927,7 @@ impl IXpsOMObjectFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDocumentSequence)(windows_core::Interface::as_raw(self), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1935,11 +1935,11 @@ impl IXpsOMObjectFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDocument)(windows_core::Interface::as_raw(self), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePageReference(&self, advisorypagedimensions: *const XPS_SIZE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePageReference)(windows_core::Interface::as_raw(self), advisorypagedimensions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1948,7 +1948,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePage)(windows_core::Interface::as_raw(self), pagedimensions, language.param().abi(), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1959,41 +1959,41 @@ impl IXpsOMObjectFactory { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePageFromStream)(windows_core::Interface::as_raw(self), pagemarkupstream.param().abi(), parturi.param().abi(), resources.param().abi(), reuseobjects.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCanvas(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCanvas)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateGlyphs(&self, fontresource: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGlyphs)(windows_core::Interface::as_raw(self), fontresource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateGeometry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGeometry)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateGeometryFigure(&self, startpoint: *const XPS_POINT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGeometryFigure)(windows_core::Interface::as_raw(self), startpoint, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateMatrixTransform(&self, matrix: *const XPS_MATRIX) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMatrixTransform)(windows_core::Interface::as_raw(self), matrix, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSolidColorBrush(&self, color: *const XPS_COLOR, colorprofile: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSolidColorBrush)(windows_core::Interface::as_raw(self), color, colorprofile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2002,18 +2002,18 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateColorProfileResource)(windows_core::Interface::as_raw(self), acquiredstream.param().abi(), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateImageBrush(&self, image: P0, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateImageBrush)(windows_core::Interface::as_raw(self), image.param().abi(), viewbox, viewport, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateVisualBrush(&self, viewbox: *const XPS_RECT, viewport: *const XPS_RECT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVisualBrush)(windows_core::Interface::as_raw(self), viewbox, viewport, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2022,7 +2022,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateImageResource)(windows_core::Interface::as_raw(self), acquiredstream.param().abi(), contenttype, parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2031,7 +2031,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePrintTicketResource)(windows_core::Interface::as_raw(self), acquiredstream.param().abi(), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2041,14 +2041,14 @@ impl IXpsOMObjectFactory { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFontResource)(windows_core::Interface::as_raw(self), acquiredstream.param().abi(), fontembedding, parturi.param().abi(), isobfsourcestream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateGradientStop(&self, color: *const XPS_COLOR, colorprofile: P0, offset: f32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGradientStop)(windows_core::Interface::as_raw(self), color, colorprofile.param().abi(), offset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLinearGradientBrush(&self, gradstop1: P0, gradstop2: P1, startpoint: *const XPS_POINT, endpoint: *const XPS_POINT) -> windows_core::Result @@ -2056,7 +2056,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLinearGradientBrush)(windows_core::Interface::as_raw(self), gradstop1.param().abi(), gradstop2.param().abi(), startpoint, endpoint, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRadialGradientBrush(&self, gradstop1: P0, gradstop2: P1, centerpoint: *const XPS_POINT, gradientorigin: *const XPS_POINT, radiisizes: *const XPS_SIZE) -> windows_core::Result @@ -2064,7 +2064,7 @@ impl IXpsOMObjectFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRadialGradientBrush)(windows_core::Interface::as_raw(self), gradstop1.param().abi(), gradstop2.param().abi(), centerpoint, gradientorigin, radiisizes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2072,15 +2072,15 @@ impl IXpsOMObjectFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCoreProperties)(windows_core::Interface::as_raw(self), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDictionary(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDictionary)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePartUriCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePartUriCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Security", feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2094,7 +2094,7 @@ impl IXpsOMObjectFactory { P5: windows_core::Param, P6: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageWriterOnFile)(windows_core::Interface::as_raw(self), filename.param().abi(), securityattributes, flagsandattributes, optimizemarkupsize.param().abi(), interleaving, documentsequencepartname.param().abi(), coreproperties.param().abi(), packagethumbnail.param().abi(), documentsequenceprintticket.param().abi(), discardcontrolpartname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2108,7 +2108,7 @@ impl IXpsOMObjectFactory { P5: windows_core::Param, P6: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageWriterOnStream)(windows_core::Interface::as_raw(self), outputstream.param().abi(), optimizemarkupsize.param().abi(), interleaving, documentsequencepartname.param().abi(), coreproperties.param().abi(), packagethumbnail.param().abi(), documentsequenceprintticket.param().abi(), discardcontrolpartname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2116,7 +2116,7 @@ impl IXpsOMObjectFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePartUri)(windows_core::Interface::as_raw(self), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2124,7 +2124,7 @@ impl IXpsOMObjectFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateReadOnlyStreamOnFile)(windows_core::Interface::as_raw(self), filename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2230,7 +2230,7 @@ windows_core::imp::define_interface!(IXpsOMObjectFactory1, IXpsOMObjectFactory1_ impl std::ops::Deref for IXpsOMObjectFactory1 { type Target = IXpsOMObjectFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMObjectFactory1, windows_core::IUnknown, IXpsOMObjectFactory); @@ -2239,7 +2239,7 @@ impl IXpsOMObjectFactory1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentTypeFromFile)(windows_core::Interface::as_raw(self), filename.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2247,7 +2247,7 @@ impl IXpsOMObjectFactory1 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentTypeFromStream)(windows_core::Interface::as_raw(self), xpsdocumentstream.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ConvertHDPhotoToJpegXR(&self, imageresource: P0) -> windows_core::Result<()> @@ -2273,7 +2273,7 @@ impl IXpsOMObjectFactory1 { P5: windows_core::Param, P6: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageWriterOnFile1)(windows_core::Interface::as_raw(self), filename.param().abi(), securityattributes, flagsandattributes, optimizemarkupsize.param().abi(), interleaving, documentsequencepartname.param().abi(), coreproperties.param().abi(), packagethumbnail.param().abi(), documentsequenceprintticket.param().abi(), discardcontrolpartname.param().abi(), documenttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2287,11 +2287,11 @@ impl IXpsOMObjectFactory1 { P5: windows_core::Param, P6: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageWriterOnStream1)(windows_core::Interface::as_raw(self), outputstream.param().abi(), optimizemarkupsize.param().abi(), interleaving, documentsequencepartname.param().abi(), coreproperties.param().abi(), packagethumbnail.param().abi(), documentsequenceprintticket.param().abi(), discardcontrolpartname.param().abi(), documenttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePackage1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackage1)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2300,7 +2300,7 @@ impl IXpsOMObjectFactory1 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageFromStream1)(windows_core::Interface::as_raw(self), stream.param().abi(), reuseobjects.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePackageFromFile1(&self, filename: P0, reuseobjects: P1) -> windows_core::Result @@ -2308,7 +2308,7 @@ impl IXpsOMObjectFactory1 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePackageFromFile1)(windows_core::Interface::as_raw(self), filename.param().abi(), reuseobjects.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2317,7 +2317,7 @@ impl IXpsOMObjectFactory1 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePage1)(windows_core::Interface::as_raw(self), pagedimensions, language.param().abi(), parturi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2328,7 +2328,7 @@ impl IXpsOMObjectFactory1 { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePageFromStream1)(windows_core::Interface::as_raw(self), pagemarkupstream.param().abi(), parturi.param().abi(), resources.param().abi(), reuseobjects.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2338,7 +2338,7 @@ impl IXpsOMObjectFactory1 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRemoteDictionaryResourceFromStream1)(windows_core::Interface::as_raw(self), dictionarymarkupstream.param().abi(), parturi.param().abi(), resources.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2383,13 +2383,13 @@ windows_core::imp::define_interface!(IXpsOMPackage, IXpsOMPackage_Vtbl, 0x18c3df impl std::ops::Deref for IXpsOMPackage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPackage, windows_core::IUnknown); impl IXpsOMPackage { pub unsafe fn GetDocumentSequence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentSequence)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDocumentSequence(&self, documentsequence: P0) -> windows_core::Result<()> @@ -2399,7 +2399,7 @@ impl IXpsOMPackage { (windows_core::Interface::vtable(self).SetDocumentSequence)(windows_core::Interface::as_raw(self), documentsequence.param().abi()).ok() } pub unsafe fn GetCoreProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCoreProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCoreProperties(&self, coreproperties: P0) -> windows_core::Result<()> @@ -2410,7 +2410,7 @@ impl IXpsOMPackage { } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetDiscardControlPartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDiscardControlPartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2421,7 +2421,7 @@ impl IXpsOMPackage { (windows_core::Interface::vtable(self).SetDiscardControlPartName)(windows_core::Interface::as_raw(self), discardcontrolparturi.param().abi()).ok() } pub unsafe fn GetThumbnailResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThumbnailResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetThumbnailResource(&self, imageresource: P0) -> windows_core::Result<()> @@ -2477,13 +2477,13 @@ windows_core::imp::define_interface!(IXpsOMPackage1, IXpsOMPackage1_Vtbl, 0x95a9 impl std::ops::Deref for IXpsOMPackage1 { type Target = IXpsOMPackage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPackage1, windows_core::IUnknown, IXpsOMPackage); impl IXpsOMPackage1 { pub unsafe fn GetDocumentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security")] @@ -2520,7 +2520,7 @@ windows_core::imp::define_interface!(IXpsOMPackageTarget, IXpsOMPackageTarget_Vt impl std::ops::Deref for IXpsOMPackageTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPackageTarget, windows_core::IUnknown); @@ -2532,7 +2532,7 @@ impl IXpsOMPackageTarget { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateXpsOMPackageWriter)(windows_core::Interface::as_raw(self), documentsequencepartname.param().abi(), documentsequenceprintticket.param().abi(), discardcontrolpartname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2548,7 +2548,7 @@ windows_core::imp::define_interface!(IXpsOMPackageWriter, IXpsOMPackageWriter_Vt impl std::ops::Deref for IXpsOMPackageWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPackageWriter, windows_core::IUnknown); @@ -2584,7 +2584,7 @@ impl IXpsOMPackageWriter { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsClosed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsClosed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2604,7 +2604,7 @@ windows_core::imp::define_interface!(IXpsOMPackageWriter3D, IXpsOMPackageWriter3 impl std::ops::Deref for IXpsOMPackageWriter3D { type Target = IXpsOMPackageWriter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPackageWriter3D, windows_core::IUnknown, IXpsOMPackageWriter); @@ -2642,42 +2642,42 @@ windows_core::imp::define_interface!(IXpsOMPage, IXpsOMPage_Vtbl, 0xd3e18888_f12 impl std::ops::Deref for IXpsOMPage { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPage, windows_core::IUnknown, IXpsOMPart); impl IXpsOMPage { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVisuals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisuals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPageDimensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageDimensions)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pagedimensions).ok() } pub unsafe fn GetContentBox(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentBox)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), contentbox).ok() } pub unsafe fn GetBleedBox(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBleedBox)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), bleedbox).ok() } pub unsafe fn GetLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLanguage(&self, language: P0) -> windows_core::Result<()> @@ -2687,7 +2687,7 @@ impl IXpsOMPage { (windows_core::Interface::vtable(self).SetLanguage)(windows_core::Interface::as_raw(self), language.param().abi()).ok() } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -2697,7 +2697,7 @@ impl IXpsOMPage { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn GetIsHyperlinkTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsHyperlinkTarget)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsHyperlinkTarget(&self, ishyperlinktarget: P0) -> windows_core::Result<()> @@ -2707,11 +2707,11 @@ impl IXpsOMPage { (windows_core::Interface::vtable(self).SetIsHyperlinkTarget)(windows_core::Interface::as_raw(self), ishyperlinktarget.param().abi()).ok() } pub unsafe fn GetDictionary(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDictionary)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDictionaryLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDictionaryLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDictionaryLocal(&self, resourcedictionary: P0) -> windows_core::Result<()> @@ -2721,7 +2721,7 @@ impl IXpsOMPage { (windows_core::Interface::vtable(self).SetDictionaryLocal)(windows_core::Interface::as_raw(self), resourcedictionary.param().abi()).ok() } pub unsafe fn GetDictionaryResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDictionaryResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDictionaryResource(&self, remotedictionaryresource: P0) -> windows_core::Result<()> @@ -2739,11 +2739,11 @@ impl IXpsOMPage { (windows_core::Interface::vtable(self).Write)(windows_core::Interface::as_raw(self), stream.param().abi(), optimizemarkupsize.param().abi()).ok() } pub unsafe fn GenerateUnusedLookupKey(&self, r#type: XPS_OBJECT_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateUnusedLookupKey)(windows_core::Interface::as_raw(self), r#type, &mut result__).map(|| result__) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2780,13 +2780,13 @@ windows_core::imp::define_interface!(IXpsOMPage1, IXpsOMPage1_Vtbl, 0x305b60ef_6 impl std::ops::Deref for IXpsOMPage1 { type Target = IXpsOMPage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPage1, windows_core::IUnknown, IXpsOMPart, IXpsOMPage); impl IXpsOMPage1 { pub unsafe fn GetDocumentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2811,17 +2811,17 @@ windows_core::imp::define_interface!(IXpsOMPageReference, IXpsOMPageReference_Vt impl std::ops::Deref for IXpsOMPageReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPageReference, windows_core::IUnknown); impl IXpsOMPageReference { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPage(&self, page: P0) -> windows_core::Result<()> @@ -2834,18 +2834,18 @@ impl IXpsOMPageReference { (windows_core::Interface::vtable(self).DiscardPage)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsPageLoaded(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPageLoaded)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAdvisoryPageDimensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdvisoryPageDimensions)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pagedimensions).ok() } pub unsafe fn GetStoryFragmentsResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStoryFragmentsResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStoryFragmentsResource(&self, storyfragmentsresource: P0) -> windows_core::Result<()> @@ -2855,7 +2855,7 @@ impl IXpsOMPageReference { (windows_core::Interface::vtable(self).SetStoryFragmentsResource)(windows_core::Interface::as_raw(self), storyfragmentsresource.param().abi()).ok() } pub unsafe fn GetPrintTicketResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrintTicketResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrintTicketResource(&self, printticketresource: P0) -> windows_core::Result<()> @@ -2865,7 +2865,7 @@ impl IXpsOMPageReference { (windows_core::Interface::vtable(self).SetPrintTicketResource)(windows_core::Interface::as_raw(self), printticketresource.param().abi()).ok() } pub unsafe fn GetThumbnailResource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThumbnailResource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetThumbnailResource(&self, imageresource: P0) -> windows_core::Result<()> @@ -2875,19 +2875,19 @@ impl IXpsOMPageReference { (windows_core::Interface::vtable(self).SetThumbnailResource)(windows_core::Interface::as_raw(self), imageresource.param().abi()).ok() } pub unsafe fn CollectLinkTargets(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CollectLinkTargets)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CollectPartResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CollectPartResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HasRestrictedFonts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasRestrictedFonts)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2916,17 +2916,17 @@ windows_core::imp::define_interface!(IXpsOMPageReferenceCollection, IXpsOMPageRe impl std::ops::Deref for IXpsOMPageReferenceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPageReferenceCollection, windows_core::IUnknown); impl IXpsOMPageReferenceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, index: u32, pagereference: P0) -> windows_core::Result<()> @@ -2965,14 +2965,14 @@ windows_core::imp::define_interface!(IXpsOMPart, IXpsOMPart_Vtbl, 0x74eb2f0b_a91 impl std::ops::Deref for IXpsOMPart { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPart, windows_core::IUnknown); impl IXpsOMPart { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -2999,25 +2999,25 @@ windows_core::imp::define_interface!(IXpsOMPartResources, IXpsOMPartResources_Vt impl std::ops::Deref for IXpsOMPartResources { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPartResources, windows_core::IUnknown); impl IXpsOMPartResources { pub unsafe fn GetFontResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetImageResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColorProfileResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColorProfileResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRemoteDictionaryResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRemoteDictionaryResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3033,18 +3033,18 @@ windows_core::imp::define_interface!(IXpsOMPartUriCollection, IXpsOMPartUriColle impl std::ops::Deref for IXpsOMPartUriCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPartUriCollection, windows_core::IUnknown); impl IXpsOMPartUriCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3098,17 +3098,17 @@ windows_core::imp::define_interface!(IXpsOMPath, IXpsOMPath_Vtbl, 0x37d38bb6_3ee impl std::ops::Deref for IXpsOMPath { type Target = IXpsOMVisual; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPath, windows_core::IUnknown, IXpsOMShareable, IXpsOMVisual); impl IXpsOMPath { pub unsafe fn GetGeometry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGeometry)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetGeometryLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGeometryLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetGeometryLocal(&self, geometry: P0) -> windows_core::Result<()> @@ -3118,7 +3118,7 @@ impl IXpsOMPath { (windows_core::Interface::vtable(self).SetGeometryLocal)(windows_core::Interface::as_raw(self), geometry.param().abi()).ok() } pub unsafe fn GetGeometryLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGeometryLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGeometryLookup(&self, lookup: P0) -> windows_core::Result<()> @@ -3128,7 +3128,7 @@ impl IXpsOMPath { (windows_core::Interface::vtable(self).SetGeometryLookup)(windows_core::Interface::as_raw(self), lookup.param().abi()).ok() } pub unsafe fn GetAccessibilityShortDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccessibilityShortDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccessibilityShortDescription(&self, shortdescription: P0) -> windows_core::Result<()> @@ -3138,7 +3138,7 @@ impl IXpsOMPath { (windows_core::Interface::vtable(self).SetAccessibilityShortDescription)(windows_core::Interface::as_raw(self), shortdescription.param().abi()).ok() } pub unsafe fn GetAccessibilityLongDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccessibilityLongDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccessibilityLongDescription(&self, longdescription: P0) -> windows_core::Result<()> @@ -3148,7 +3148,7 @@ impl IXpsOMPath { (windows_core::Interface::vtable(self).SetAccessibilityLongDescription)(windows_core::Interface::as_raw(self), longdescription.param().abi()).ok() } pub unsafe fn GetSnapsToPixels(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSnapsToPixels)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSnapsToPixels(&self, snapstopixels: P0) -> windows_core::Result<()> @@ -3158,11 +3158,11 @@ impl IXpsOMPath { (windows_core::Interface::vtable(self).SetSnapsToPixels)(windows_core::Interface::as_raw(self), snapstopixels.param().abi()).ok() } pub unsafe fn GetStrokeBrush(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeBrush)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStrokeBrushLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeBrushLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStrokeBrushLocal(&self, brush: P0) -> windows_core::Result<()> @@ -3172,7 +3172,7 @@ impl IXpsOMPath { (windows_core::Interface::vtable(self).SetStrokeBrushLocal)(windows_core::Interface::as_raw(self), brush.param().abi()).ok() } pub unsafe fn GetStrokeBrushLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeBrushLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStrokeBrushLookup(&self, lookup: P0) -> windows_core::Result<()> @@ -3182,64 +3182,64 @@ impl IXpsOMPath { (windows_core::Interface::vtable(self).SetStrokeBrushLookup)(windows_core::Interface::as_raw(self), lookup.param().abi()).ok() } pub unsafe fn GetStrokeDashes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeDashes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStrokeDashCap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeDashCap)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeDashOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeStartLineCap)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeEndLineCap)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeLineJoin)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeMiterLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokeThickness)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFillBrush)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFillBrushLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFillBrushLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFillBrushLocal(&self, brush: P0) -> windows_core::Result<()> @@ -3249,7 +3249,7 @@ impl IXpsOMPath { (windows_core::Interface::vtable(self).SetFillBrushLocal)(windows_core::Interface::as_raw(self), brush.param().abi()).ok() } pub unsafe fn GetFillBrushLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFillBrushLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFillBrushLookup(&self, lookup: P0) -> windows_core::Result<()> @@ -3259,7 +3259,7 @@ impl IXpsOMPath { (windows_core::Interface::vtable(self).SetFillBrushLookup)(windows_core::Interface::as_raw(self), lookup.param().abi()).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3308,14 +3308,14 @@ windows_core::imp::define_interface!(IXpsOMPrintTicketResource, IXpsOMPrintTicke impl std::ops::Deref for IXpsOMPrintTicketResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMPrintTicketResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMPrintTicketResource { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3343,34 +3343,34 @@ windows_core::imp::define_interface!(IXpsOMRadialGradientBrush, IXpsOMRadialGrad impl std::ops::Deref for IXpsOMRadialGradientBrush { type Target = IXpsOMGradientBrush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMRadialGradientBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); impl IXpsOMRadialGradientBrush { pub unsafe fn GetCenter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCenter)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), center).ok() } pub unsafe fn GetRadiiSizes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadiiSizes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), radiisizes).ok() } pub unsafe fn GetGradientOrigin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGradientOrigin)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), origin).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3389,13 +3389,13 @@ windows_core::imp::define_interface!(IXpsOMRemoteDictionaryResource, IXpsOMRemot impl std::ops::Deref for IXpsOMRemoteDictionaryResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMRemoteDictionaryResource { pub unsafe fn GetDictionary(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDictionary)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDictionary(&self, dictionary: P0) -> windows_core::Result<()> @@ -3415,13 +3415,13 @@ windows_core::imp::define_interface!(IXpsOMRemoteDictionaryResource1, IXpsOMRemo impl std::ops::Deref for IXpsOMRemoteDictionaryResource1 { type Target = IXpsOMRemoteDictionaryResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResource1, windows_core::IUnknown, IXpsOMPart, IXpsOMResource, IXpsOMRemoteDictionaryResource); impl IXpsOMRemoteDictionaryResource1 { pub unsafe fn GetDocumentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3445,17 +3445,17 @@ windows_core::imp::define_interface!(IXpsOMRemoteDictionaryResourceCollection, I impl std::ops::Deref for IXpsOMRemoteDictionaryResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResourceCollection, windows_core::IUnknown); impl IXpsOMRemoteDictionaryResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, index: u32, object: P0) -> windows_core::Result<()> @@ -3484,7 +3484,7 @@ impl IXpsOMRemoteDictionaryResourceCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetByPartName)(windows_core::Interface::as_raw(self), partname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3506,7 +3506,7 @@ windows_core::imp::define_interface!(IXpsOMResource, IXpsOMResource_Vtbl, 0xda2a impl std::ops::Deref for IXpsOMResource { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMResource, windows_core::IUnknown, IXpsOMPart); @@ -3519,17 +3519,17 @@ windows_core::imp::define_interface!(IXpsOMShareable, IXpsOMShareable_Vtbl, 0x71 impl std::ops::Deref for IXpsOMShareable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMShareable, windows_core::IUnknown); impl IXpsOMShareable { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3543,18 +3543,18 @@ windows_core::imp::define_interface!(IXpsOMSignatureBlockResource, IXpsOMSignatu impl std::ops::Deref for IXpsOMSignatureBlockResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMSignatureBlockResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMSignatureBlockResource { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3583,17 +3583,17 @@ windows_core::imp::define_interface!(IXpsOMSignatureBlockResourceCollection, IXp impl std::ops::Deref for IXpsOMSignatureBlockResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMSignatureBlockResourceCollection, windows_core::IUnknown); impl IXpsOMSignatureBlockResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, index: u32, signatureblockresource: P0) -> windows_core::Result<()> @@ -3622,7 +3622,7 @@ impl IXpsOMSignatureBlockResourceCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetByPartName)(windows_core::Interface::as_raw(self), partname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3644,13 +3644,13 @@ windows_core::imp::define_interface!(IXpsOMSolidColorBrush, IXpsOMSolidColorBrus impl std::ops::Deref for IXpsOMSolidColorBrush { type Target = IXpsOMBrush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMSolidColorBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush); impl IXpsOMSolidColorBrush { pub unsafe fn GetColor(&self, color: *mut XPS_COLOR) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColor)(windows_core::Interface::as_raw(self), color, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetColor(&self, color: *const XPS_COLOR, colorprofile: P0) -> windows_core::Result<()> @@ -3660,7 +3660,7 @@ impl IXpsOMSolidColorBrush { (windows_core::Interface::vtable(self).SetColor)(windows_core::Interface::as_raw(self), color, colorprofile.param().abi()).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3675,18 +3675,18 @@ windows_core::imp::define_interface!(IXpsOMStoryFragmentsResource, IXpsOMStoryFr impl std::ops::Deref for IXpsOMStoryFragmentsResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMStoryFragmentsResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMStoryFragmentsResource { pub unsafe fn GetOwner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwner)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3715,7 +3715,7 @@ windows_core::imp::define_interface!(IXpsOMThumbnailGenerator, IXpsOMThumbnailGe impl std::ops::Deref for IXpsOMThumbnailGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMThumbnailGenerator, windows_core::IUnknown); @@ -3726,7 +3726,7 @@ impl IXpsOMThumbnailGenerator { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateThumbnail)(windows_core::Interface::as_raw(self), page.param().abi(), thumbnailtype, thumbnailsize, imageresourcepartname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3742,17 +3742,17 @@ windows_core::imp::define_interface!(IXpsOMTileBrush, IXpsOMTileBrush_Vtbl, 0x0f impl std::ops::Deref for IXpsOMTileBrush { type Target = IXpsOMBrush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMTileBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush); impl IXpsOMTileBrush { pub unsafe fn GetTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTransformLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTransformLocal(&self, transform: P0) -> windows_core::Result<()> @@ -3762,7 +3762,7 @@ impl IXpsOMTileBrush { (windows_core::Interface::vtable(self).SetTransformLocal)(windows_core::Interface::as_raw(self), transform.param().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTransformLookup(&self, key: P0) -> windows_core::Result<()> @@ -3772,21 +3772,21 @@ impl IXpsOMTileBrush { (windows_core::Interface::vtable(self).SetTransformLookup)(windows_core::Interface::as_raw(self), key.param().abi()).ok() } pub unsafe fn GetViewbox(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewbox)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), viewbox).ok() } pub unsafe fn GetViewport(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewport)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), viewport).ok() } pub unsafe fn GetTileMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTileMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTileMode(&self, tilemode: XPS_TILE_MODE) -> windows_core::Result<()> { @@ -3812,17 +3812,17 @@ windows_core::imp::define_interface!(IXpsOMVisual, IXpsOMVisual_Vtbl, 0xbc3e7333 impl std::ops::Deref for IXpsOMVisual { type Target = IXpsOMShareable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMVisual, windows_core::IUnknown, IXpsOMShareable); impl IXpsOMVisual { pub unsafe fn GetTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTransformLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTransformLocal(&self, matrixtransform: P0) -> windows_core::Result<()> @@ -3832,7 +3832,7 @@ impl IXpsOMVisual { (windows_core::Interface::vtable(self).SetTransformLocal)(windows_core::Interface::as_raw(self), matrixtransform.param().abi()).ok() } pub unsafe fn GetTransformLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTransformLookup(&self, key: P0) -> windows_core::Result<()> @@ -3842,11 +3842,11 @@ impl IXpsOMVisual { (windows_core::Interface::vtable(self).SetTransformLookup)(windows_core::Interface::as_raw(self), key.param().abi()).ok() } pub unsafe fn GetClipGeometry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipGeometry)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetClipGeometryLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipGeometryLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClipGeometryLocal(&self, clipgeometry: P0) -> windows_core::Result<()> @@ -3856,7 +3856,7 @@ impl IXpsOMVisual { (windows_core::Interface::vtable(self).SetClipGeometryLocal)(windows_core::Interface::as_raw(self), clipgeometry.param().abi()).ok() } pub unsafe fn GetClipGeometryLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipGeometryLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClipGeometryLookup(&self, key: P0) -> windows_core::Result<()> @@ -3866,18 +3866,18 @@ impl IXpsOMVisual { (windows_core::Interface::vtable(self).SetClipGeometryLookup)(windows_core::Interface::as_raw(self), key.param().abi()).ok() } pub unsafe fn GetOpacity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOpacity)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOpacityMaskBrush)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOpacityMaskBrushLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOpacityMaskBrushLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOpacityMaskBrushLocal(&self, opacitymaskbrush: P0) -> windows_core::Result<()> @@ -3887,7 +3887,7 @@ impl IXpsOMVisual { (windows_core::Interface::vtable(self).SetOpacityMaskBrushLocal)(windows_core::Interface::as_raw(self), opacitymaskbrush.param().abi()).ok() } pub unsafe fn GetOpacityMaskBrushLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOpacityMaskBrushLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOpacityMaskBrushLookup(&self, key: P0) -> windows_core::Result<()> @@ -3897,7 +3897,7 @@ impl IXpsOMVisual { (windows_core::Interface::vtable(self).SetOpacityMaskBrushLookup)(windows_core::Interface::as_raw(self), key.param().abi()).ok() } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -3907,7 +3907,7 @@ impl IXpsOMVisual { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn GetIsHyperlinkTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIsHyperlinkTarget)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsHyperlinkTarget(&self, ishyperlink: P0) -> windows_core::Result<()> @@ -3918,7 +3918,7 @@ impl IXpsOMVisual { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHyperlinkNavigateUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHyperlinkNavigateUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3929,7 +3929,7 @@ impl IXpsOMVisual { (windows_core::Interface::vtable(self).SetHyperlinkNavigateUri)(windows_core::Interface::as_raw(self), hyperlinkuri.param().abi()).ok() } pub unsafe fn GetLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLanguage(&self, language: P0) -> windows_core::Result<()> @@ -3978,17 +3978,17 @@ windows_core::imp::define_interface!(IXpsOMVisualBrush, IXpsOMVisualBrush_Vtbl, impl std::ops::Deref for IXpsOMVisualBrush { type Target = IXpsOMTileBrush; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMVisualBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); impl IXpsOMVisualBrush { pub unsafe fn GetVisual(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisual)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVisualLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisualLocal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetVisualLocal(&self, visual: P0) -> windows_core::Result<()> @@ -3998,7 +3998,7 @@ impl IXpsOMVisualBrush { (windows_core::Interface::vtable(self).SetVisualLocal)(windows_core::Interface::as_raw(self), visual.param().abi()).ok() } pub unsafe fn GetVisualLookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisualLookup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVisualLookup(&self, lookup: P0) -> windows_core::Result<()> @@ -4008,7 +4008,7 @@ impl IXpsOMVisualBrush { (windows_core::Interface::vtable(self).SetVisualLookup)(windows_core::Interface::as_raw(self), lookup.param().abi()).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4026,17 +4026,17 @@ windows_core::imp::define_interface!(IXpsOMVisualCollection, IXpsOMVisualCollect impl std::ops::Deref for IXpsOMVisualCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsOMVisualCollection, windows_core::IUnknown); impl IXpsOMVisualCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, index: u32, object: P0) -> windows_core::Result<()> @@ -4075,13 +4075,13 @@ windows_core::imp::define_interface!(IXpsSignature, IXpsSignature_Vtbl, 0x6ae4c9 impl std::ops::Deref for IXpsSignature { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsSignature, windows_core::IUnknown); impl IXpsSignature { pub unsafe fn GetSignatureId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSignatureValue(&self, signaturehashvalue: *mut *mut u8, count: *mut u32) -> windows_core::Result<()> { @@ -4089,40 +4089,40 @@ impl IXpsSignature { } #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCertificateEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSigningTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSigningTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetSigningTimeFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSigningTimeFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetSignaturePartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignaturePartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Security_Cryptography")] pub unsafe fn Verify(&self, x509certificate: *const super::super::Security::Cryptography::CERT_CONTEXT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Verify)(windows_core::Interface::as_raw(self), x509certificate, &mut result__).map(|| result__) } pub unsafe fn GetPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCustomObjectEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomObjectEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCustomReferenceEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomReferenceEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSignatureXml(&self, signaturexml: *mut *mut u8, count: *mut u32) -> windows_core::Result<()> { @@ -4170,34 +4170,34 @@ windows_core::imp::define_interface!(IXpsSignatureBlock, IXpsSignatureBlock_Vtbl impl std::ops::Deref for IXpsSignatureBlock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsSignatureBlock, windows_core::IUnknown); impl IXpsSignatureBlock { pub unsafe fn GetRequests(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequests)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetPartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocumentIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetDocumentName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRequest(&self, requestid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRequest)(windows_core::Interface::as_raw(self), requestid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4220,17 +4220,17 @@ windows_core::imp::define_interface!(IXpsSignatureBlockCollection, IXpsSignature impl std::ops::Deref for IXpsSignatureBlockCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsSignatureBlockCollection, windows_core::IUnknown); impl IXpsSignatureBlockCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveAt(&self, index: u32) -> windows_core::Result<()> { @@ -4248,17 +4248,17 @@ windows_core::imp::define_interface!(IXpsSignatureCollection, IXpsSignatureColle impl std::ops::Deref for IXpsSignatureCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsSignatureCollection, windows_core::IUnknown); impl IXpsSignatureCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveAt(&self, index: u32) -> windows_core::Result<()> { @@ -4276,7 +4276,7 @@ windows_core::imp::define_interface!(IXpsSignatureManager, IXpsSignatureManager_ impl std::ops::Deref for IXpsSignatureManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsSignatureManager, windows_core::IUnknown); @@ -4299,12 +4299,12 @@ impl IXpsSignatureManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Sign)(windows_core::Interface::as_raw(self), signoptions.param().abi(), x509certificate, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetSignatureOriginPartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureOriginPartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4315,7 +4315,7 @@ impl IXpsSignatureManager { (windows_core::Interface::vtable(self).SetSignatureOriginPartName)(windows_core::Interface::as_raw(self), signatureoriginpartname.param().abi()).ok() } pub unsafe fn GetSignatures(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatures)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4323,15 +4323,15 @@ impl IXpsSignatureManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddSignatureBlock)(windows_core::Interface::as_raw(self), partname.param().abi(), fixeddocumentindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSignatureBlocks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureBlocks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSigningOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSigningOptions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Security")] @@ -4389,13 +4389,13 @@ windows_core::imp::define_interface!(IXpsSignatureRequest, IXpsSignatureRequest_ impl std::ops::Deref for IXpsSignatureRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsSignatureRequest, windows_core::IUnknown); impl IXpsSignatureRequest { pub unsafe fn GetIntent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIntent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIntent(&self, intent: P0) -> windows_core::Result<()> @@ -4405,7 +4405,7 @@ impl IXpsSignatureRequest { (windows_core::Interface::vtable(self).SetIntent)(windows_core::Interface::as_raw(self), intent.param().abi()).ok() } pub unsafe fn GetRequestedSigner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestedSigner)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRequestedSigner(&self, signername: P0) -> windows_core::Result<()> @@ -4415,7 +4415,7 @@ impl IXpsSignatureRequest { (windows_core::Interface::vtable(self).SetRequestedSigner)(windows_core::Interface::as_raw(self), signername.param().abi()).ok() } pub unsafe fn GetRequestSignByDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestSignByDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRequestSignByDate(&self, datestring: P0) -> windows_core::Result<()> @@ -4425,7 +4425,7 @@ impl IXpsSignatureRequest { (windows_core::Interface::vtable(self).SetRequestSignByDate)(windows_core::Interface::as_raw(self), datestring.param().abi()).ok() } pub unsafe fn GetSigningLocale(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSigningLocale)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSigningLocale(&self, place: P0) -> windows_core::Result<()> @@ -4442,11 +4442,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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRequestId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSignature(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignature)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4473,17 +4473,17 @@ windows_core::imp::define_interface!(IXpsSignatureRequestCollection, IXpsSignatu impl std::ops::Deref for IXpsSignatureRequestCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsSignatureRequestCollection, windows_core::IUnknown); impl IXpsSignatureRequestCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveAt(&self, index: u32) -> windows_core::Result<()> { @@ -4501,13 +4501,13 @@ windows_core::imp::define_interface!(IXpsSigningOptions, IXpsSigningOptions_Vtbl impl std::ops::Deref for IXpsSigningOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXpsSigningOptions, windows_core::IUnknown); impl IXpsSigningOptions { pub unsafe fn GetSignatureId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSignatureId(&self, signatureid: P0) -> windows_core::Result<()> @@ -4517,7 +4517,7 @@ impl IXpsSigningOptions { (windows_core::Interface::vtable(self).SetSignatureId)(windows_core::Interface::as_raw(self), signatureid.param().abi()).ok() } pub unsafe fn GetSignatureMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignatureMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSignatureMethod(&self, signaturemethod: P0) -> windows_core::Result<()> @@ -4527,7 +4527,7 @@ impl IXpsSigningOptions { (windows_core::Interface::vtable(self).SetSignatureMethod)(windows_core::Interface::as_raw(self), signaturemethod.param().abi()).ok() } pub unsafe fn GetDigestMethod(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDigestMethod)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDigestMethod(&self, digestmethod: P0) -> windows_core::Result<()> @@ -4538,7 +4538,7 @@ impl IXpsSigningOptions { } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] pub unsafe fn GetSignaturePartName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSignaturePartName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4549,7 +4549,7 @@ impl IXpsSigningOptions { (windows_core::Interface::vtable(self).SetSignaturePartName)(windows_core::Interface::as_raw(self), signaturepartname.param().abi()).ok() } pub unsafe fn GetPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPolicy(&self, policy: XPS_SIGN_POLICY) -> windows_core::Result<()> { @@ -4557,7 +4557,7 @@ impl IXpsSigningOptions { } #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetSigningTimeFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSigningTimeFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Storage_Packaging_Opc")] @@ -4566,21 +4566,21 @@ impl IXpsSigningOptions { } #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCustomObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCustomReferences(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomReferences)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_Packaging_Opc")] pub unsafe fn GetCertificateSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCertificateSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 88fc074ce6..9d132d0594 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs @@ -177,7 +177,7 @@ where P0: windows_core::Param, { windows_targets::link!("mapi32.dll" "system" fn HrThisThreadAdviseSink(lpadvisesink : * mut core::ffi::c_void, lppadvisesink : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HrThisThreadAdviseSink(lpadvisesink.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -212,7 +212,7 @@ pub unsafe fn MAPIInitIdle(lpvreserved: *mut core::ffi::c_void) -> i32 { #[inline] pub unsafe fn OpenStreamOnFile(lpallocatebuffer: LPALLOCATEBUFFER, lpfreebuffer: LPFREEBUFFER, ulflags: u32, lpszfilename: *const i8, lpszprefix: Option<*const i8>) -> windows_core::Result { windows_targets::link!("mapi32.dll" "system" fn OpenStreamOnFile(lpallocatebuffer : LPALLOCATEBUFFER, lpfreebuffer : LPFREEBUFFER, ulflags : u32, lpszfilename : *const i8, lpszprefix : *const i8, lppstream : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OpenStreamOnFile(lpallocatebuffer, lpfreebuffer, ulflags, lpszfilename, core::mem::transmute(lpszprefix.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -346,7 +346,7 @@ where P0: windows_core::Param, { windows_targets::link!("mapi32.dll" "system" fn WrapCompressedRTFStream(lpcompressedrtfstream : * mut core::ffi::c_void, ulflags : u32, lpuncompressedrtfstream : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WrapCompressedRTFStream(lpcompressedrtfstream.param().abi(), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -358,13 +358,13 @@ windows_core::imp::define_interface!(IABContainer, IABContainer_Vtbl, 0); impl std::ops::Deref for IABContainer { type Target = IMAPIContainer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IABContainer, windows_core::IUnknown, IMAPIProp, IMAPIContainer); impl IABContainer { pub unsafe fn CreateEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, ulcreateflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEntry)(windows_core::Interface::as_raw(self), cbentryid, lpentryid, ulcreateflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CopyEntries(&self, lpentries: *const SBinaryArray, uluiparam: usize, lpprogress: P0, ulflags: u32) -> windows_core::Result<()> @@ -378,7 +378,7 @@ impl IABContainer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResolveNames(&self, lpproptagarray: Option<*const SPropTagArray>, ulflags: u32, lpadrlist: *const ADRLIST) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResolveNames)(windows_core::Interface::as_raw(self), core::mem::transmute(lpproptagarray.unwrap_or(std::ptr::null())), ulflags, lpadrlist, &mut result__).map(|| result__) } } @@ -397,7 +397,7 @@ windows_core::imp::define_interface!(IAddrBook, IAddrBook_Vtbl, 0); impl std::ops::Deref for IAddrBook { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAddrBook, windows_core::IUnknown, IMAPIProp); @@ -514,7 +514,7 @@ windows_core::imp::define_interface!(IAttach, IAttach_Vtbl, 0); impl std::ops::Deref for IAttach { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAttach, windows_core::IUnknown, IMAPIProp); @@ -527,13 +527,13 @@ windows_core::imp::define_interface!(IDistList, IDistList_Vtbl, 0); impl std::ops::Deref for IDistList { type Target = IMAPIContainer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDistList, windows_core::IUnknown, IMAPIProp, IMAPIContainer); impl IDistList { pub unsafe fn CreateEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, ulcreateflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEntry)(windows_core::Interface::as_raw(self), cbentryid, lpentryid, ulcreateflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CopyEntries(&self, lpentries: *const SBinaryArray, uluiparam: usize, lpprogress: P0, ulflags: u32) -> windows_core::Result<()> @@ -547,7 +547,7 @@ impl IDistList { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResolveNames(&self, lpproptagarray: Option<*const SPropTagArray>, ulflags: u32, lpadrlist: *const ADRLIST) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResolveNames)(windows_core::Interface::as_raw(self), core::mem::transmute(lpproptagarray.unwrap_or(std::ptr::null())), ulflags, lpadrlist, &mut result__).map(|| result__) } } @@ -566,7 +566,7 @@ windows_core::imp::define_interface!(IMAPIAdviseSink, IMAPIAdviseSink_Vtbl, 0); impl std::ops::Deref for IMAPIAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMAPIAdviseSink, windows_core::IUnknown); @@ -588,17 +588,17 @@ windows_core::imp::define_interface!(IMAPIContainer, IMAPIContainer_Vtbl, 0); impl std::ops::Deref for IMAPIContainer { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMAPIContainer, windows_core::IUnknown, IMAPIProp); impl IMAPIContainer { pub unsafe fn GetContentsTable(&self, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentsTable)(windows_core::Interface::as_raw(self), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHierarchyTable(&self, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHierarchyTable)(windows_core::Interface::as_raw(self), ulflags, &mut result__).and_then(|| windows_core::Type::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 Option) -> windows_core::Result<()> { @@ -632,13 +632,13 @@ windows_core::imp::define_interface!(IMAPIControl, IMAPIControl_Vtbl, 0); impl std::ops::Deref for IMAPIControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastError)(windows_core::Interface::as_raw(self), hresult, ulflags, &mut result__).map(|| result__) } pub unsafe fn Activate(&self, ulflags: u32, uluiparam: usize) -> windows_core::Result<()> { @@ -659,7 +659,7 @@ windows_core::imp::define_interface!(IMAPIFolder, IMAPIFolder_Vtbl, 0); impl std::ops::Deref for IMAPIFolder { type Target = IMAPIContainer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMAPIFolder, windows_core::IUnknown, IMAPIProp, IMAPIContainer); @@ -680,7 +680,7 @@ impl IMAPIFolder { (windows_core::Interface::vtable(self).DeleteMessages)(windows_core::Interface::as_raw(self), lpmsglist, uluiparam, lpprogress.param().abi(), ulflags).ok() } pub unsafe fn CreateFolder(&self, ulfoldertype: u32, lpszfoldername: *const i8, lpszfoldercomment: Option<*const i8>, lpinterface: Option<*const windows_core::GUID>, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFolder)(windows_core::Interface::as_raw(self), ulfoldertype, lpszfoldername, core::mem::transmute(lpszfoldercomment.unwrap_or(std::ptr::null())), core::mem::transmute(lpinterface.unwrap_or(std::ptr::null())), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CopyFolder(&self, cbentryid: u32, lpentryid: *const ENTRYID, lpinterface: Option<*const windows_core::GUID>, lpdestfolder: *const core::ffi::c_void, lpsznewfoldername: *const i8, uluiparam: usize, lpprogress: P0, ulflags: u32) -> windows_core::Result<()> @@ -702,11 +702,11 @@ impl IMAPIFolder { (windows_core::Interface::vtable(self).SetReadFlags)(windows_core::Interface::as_raw(self), lpmsglist, uluiparam, lpprogress.param().abi(), ulflags).ok() } pub unsafe fn GetMessageStatus(&self, cbentryid: u32, lpentryid: *const ENTRYID, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMessageStatus)(windows_core::Interface::as_raw(self), cbentryid, lpentryid, ulflags, &mut result__).map(|| result__) } pub unsafe fn SetMessageStatus(&self, cbentryid: u32, lpentryid: *const ENTRYID, ulnewstatus: u32, ulnewstatusmask: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetMessageStatus)(windows_core::Interface::as_raw(self), cbentryid, lpentryid, ulnewstatus, ulnewstatusmask, &mut result__).map(|| result__) } pub unsafe fn SaveContentsSort(&self, lpsortcriteria: *const SSortOrderSet, ulflags: u32) -> windows_core::Result<()> { @@ -738,7 +738,7 @@ windows_core::imp::define_interface!(IMAPIProgress, IMAPIProgress_Vtbl, 0); impl std::ops::Deref for IMAPIProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMAPIProgress, windows_core::IUnknown); @@ -772,7 +772,7 @@ windows_core::imp::define_interface!(IMAPIProp, IMAPIProp_Vtbl, 0); impl std::ops::Deref for IMAPIProp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMAPIProp, windows_core::IUnknown); @@ -844,7 +844,7 @@ windows_core::imp::define_interface!(IMAPIStatus, IMAPIStatus_Vtbl, 0); impl std::ops::Deref for IMAPIStatus { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMAPIStatus, windows_core::IUnknown, IMAPIProp); @@ -874,7 +874,7 @@ windows_core::imp::define_interface!(IMAPITable, IMAPITable_Vtbl, 0); impl std::ops::Deref for IMAPITable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMAPITable, windows_core::IUnknown); @@ -999,7 +999,7 @@ windows_core::imp::define_interface!(IMailUser, IMailUser_Vtbl, 0); impl std::ops::Deref for IMailUser { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMailUser, windows_core::IUnknown, IMAPIProp); @@ -1012,17 +1012,17 @@ windows_core::imp::define_interface!(IMessage, IMessage_Vtbl, 0); impl std::ops::Deref for IMessage { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMessage, windows_core::IUnknown, IMAPIProp); impl IMessage { pub unsafe fn GetAttachmentTable(&self, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttachmentTable)(windows_core::Interface::as_raw(self), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenAttach(&self, ulattachmentnum: u32, lpinterface: Option<*const windows_core::GUID>, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenAttach)(windows_core::Interface::as_raw(self), ulattachmentnum, core::mem::transmute(lpinterface.unwrap_or(std::ptr::null())), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAttach(&self, lpinterface: Option<*const windows_core::GUID>, ulflags: u32, lpulattachmentnum: *mut u32, lppattach: *mut Option) -> windows_core::Result<()> { @@ -1035,7 +1035,7 @@ impl IMessage { (windows_core::Interface::vtable(self).DeleteAttach)(windows_core::Interface::as_raw(self), ulattachmentnum, uluiparam, lpprogress.param().abi(), ulflags).ok() } pub unsafe fn GetRecipientTable(&self, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecipientTable)(windows_core::Interface::as_raw(self), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1068,7 +1068,7 @@ windows_core::imp::define_interface!(IMsgStore, IMsgStore_Vtbl, 0); impl std::ops::Deref for IMsgStore { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMsgStore, windows_core::IUnknown, IMAPIProp); @@ -1077,14 +1077,14 @@ impl IMsgStore { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), cbentryid, core::mem::transmute(lpentryid.unwrap_or(std::ptr::null())), uleventmask, lpadvisesink.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareEntryIDs)(windows_core::Interface::as_raw(self), cbentryid1, lpentryid1, cbentryid2, lpentryid2, ulflags, &mut result__).map(|| result__) } pub unsafe fn OpenEntry(&self, cbentryid: u32, lpentryid: *const ENTRYID, lpinterface: Option<*const windows_core::GUID>, ulflags: u32, lpulobjtype: *mut u32, ppunk: *mut Option) -> windows_core::Result<()> { @@ -1097,7 +1097,7 @@ impl IMsgStore { (windows_core::Interface::vtable(self).GetReceiveFolder)(windows_core::Interface::as_raw(self), core::mem::transmute(lpszmessageclass.unwrap_or(std::ptr::null())), ulflags, lpcbentryid, lppentryid, lppszexplicitclass).ok() } pub unsafe fn GetReceiveFolderTable(&self, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReceiveFolderTable)(windows_core::Interface::as_raw(self), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StoreLogoff(&self, lpulflags: *mut u32) -> windows_core::Result<()> { @@ -1107,7 +1107,7 @@ impl IMsgStore { (windows_core::Interface::vtable(self).AbortSubmit)(windows_core::Interface::as_raw(self), cbentryid, lpentryid, ulflags).ok() } pub unsafe fn GetOutgoingQueue(&self, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutgoingQueue)(windows_core::Interface::as_raw(self), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLockState(&self, lpmessage: P0, ullockstate: u32) -> windows_core::Result<()> @@ -1148,7 +1148,7 @@ windows_core::imp::define_interface!(IProfSect, IProfSect_Vtbl, 0); impl std::ops::Deref for IProfSect { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProfSect, windows_core::IUnknown, IMAPIProp); @@ -1161,7 +1161,7 @@ windows_core::imp::define_interface!(IPropData, IPropData_Vtbl, 0); impl std::ops::Deref for IPropData { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropData, windows_core::IUnknown, IMAPIProp); @@ -1191,29 +1191,29 @@ windows_core::imp::define_interface!(IProviderAdmin, IProviderAdmin_Vtbl, 0); impl std::ops::Deref for IProviderAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastError)(windows_core::Interface::as_raw(self), hresult, ulflags, &mut result__).map(|| result__) } pub unsafe fn GetProviderTable(&self, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderTable)(windows_core::Interface::as_raw(self), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateProvider(&self, lpszprovider: *const i8, lpprops: &[SPropValue], uluiparam: usize, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateProvider)(windows_core::Interface::as_raw(self), lpszprovider, lpprops.len().try_into().unwrap(), core::mem::transmute(lpprops.as_ptr()), uluiparam, ulflags, &mut result__).map(|| result__) } pub unsafe fn DeleteProvider(&self, lpuid: *const MAPIUID) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).DeleteProvider)(windows_core::Interface::as_raw(self), lpuid).ok() } pub unsafe fn OpenProfileSection(&self, lpuid: Option<*const MAPIUID>, lpinterface: Option<*const windows_core::GUID>, ulflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenProfileSection)(windows_core::Interface::as_raw(self), core::mem::transmute(lpuid.unwrap_or(std::ptr::null())), core::mem::transmute(lpinterface.unwrap_or(std::ptr::null())), ulflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1233,7 +1233,7 @@ windows_core::imp::define_interface!(ITableData, ITableData_Vtbl, 0); impl std::ops::Deref for ITableData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITableData, windows_core::IUnknown); @@ -1315,7 +1315,7 @@ windows_core::imp::define_interface!(IWABExtInit, IWABExtInit_Vtbl, 0xea22ebf0_8 impl std::ops::Deref for IWABExtInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWABExtInit, windows_core::IUnknown); @@ -1333,7 +1333,7 @@ windows_core::imp::define_interface!(IWABObject, IWABObject_Vtbl, 0); impl std::ops::Deref for IWABObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWABObject, windows_core::IUnknown); @@ -1383,7 +1383,7 @@ impl IWABObject { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LDAPUrl)(windows_core::Interface::as_raw(self), lpiab.param().abi(), hwnd.param().abi(), ulflags, lpszurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VCardCreate(&self, lpiab: P0, ulflags: u32, lpszvcard: P1, lpmailuser: P2) -> windows_core::Result<()> @@ -1399,7 +1399,7 @@ impl IWABObject { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VCardRetrieve)(windows_core::Interface::as_raw(self), lpiab.param().abi(), ulflags, lpszvcard.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMe(&self, lpiab: P0, ulflags: u32, lpdwaction: *mut u32, lpsbeid: *mut SBinary, hwnd: P1) -> windows_core::Result<()> @@ -2853,9 +2853,9 @@ impl Default for TABLE_NOTIFICATION { #[derive(Debug, Eq, PartialEq)] pub struct WABEXTDISPLAY { pub cbSize: u32, - pub lpWABObject: std::mem::ManuallyDrop>, - pub lpAdrBook: std::mem::ManuallyDrop>, - pub lpPropObj: std::mem::ManuallyDrop>, + pub lpWABObject: core::mem::ManuallyDrop>, + pub lpAdrBook: core::mem::ManuallyDrop>, + pub lpPropObj: core::mem::ManuallyDrop>, pub fReadOnly: super::super::Foundation::BOOL, pub fDataChanged: super::super::Foundation::BOOL, pub ulFlags: u32, @@ -2879,7 +2879,7 @@ impl Default for WABEXTDISPLAY { #[derive(Debug, Eq, PartialEq)] pub struct WABIMPORTPARAM { pub cbSize: u32, - pub lpAdrBook: std::mem::ManuallyDrop>, + pub lpAdrBook: core::mem::ManuallyDrop>, pub hWnd: super::super::Foundation::HWND, pub ulFlags: u32, pub lpszFileName: windows_core::PSTR, 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 d2ead9b3e9..88fdc700cf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs @@ -13,7 +13,7 @@ where P0: windows_core::Param, { windows_targets::link!("amsi.dll" "system" fn AmsiInitialize(appname : windows_core::PCWSTR, amsicontext : *mut HAMSICONTEXT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AmsiInitialize(appname.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -23,7 +23,7 @@ where P1: windows_core::Param, { windows_targets::link!("amsi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AmsiNotifyOperation(amsicontext.param().abi(), buffer, length, contentname.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -32,7 +32,7 @@ where P0: windows_core::Param, { windows_targets::link!("amsi.dll" "system" fn AmsiOpenSession(amsicontext : HAMSICONTEXT, amsisession : *mut HAMSISESSION) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AmsiOpenSession(amsicontext.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -43,7 +43,7 @@ where P2: windows_core::Param, { windows_targets::link!("amsi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AmsiScanBuffer(amsicontext.param().abi(), buffer, length, contentname.param().abi(), amsisession.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -55,7 +55,7 @@ where P3: windows_core::Param, { windows_targets::link!("amsi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AmsiScanString(amsicontext.param().abi(), string.param().abi(), contentname.param().abi(), amsisession.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -78,7 +78,7 @@ windows_core::imp::define_interface!(IAmsiStream, IAmsiStream_Vtbl, 0x3e47f2e5_8 impl std::ops::Deref for IAmsiStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAmsiStream, windows_core::IUnknown); @@ -100,7 +100,7 @@ windows_core::imp::define_interface!(IAntimalware, IAntimalware_Vtbl, 0x82d29c2e impl std::ops::Deref for IAntimalware { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAntimalware, windows_core::IUnknown); @@ -125,7 +125,7 @@ windows_core::imp::define_interface!(IAntimalware2, IAntimalware2_Vtbl, 0x301035 impl std::ops::Deref for IAntimalware2 { type Target = IAntimalware; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAntimalware2, windows_core::IUnknown, IAntimalware); @@ -135,7 +135,7 @@ impl IAntimalware2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Notify)(windows_core::Interface::as_raw(self), buffer, length, contentname.param().abi(), appname.param().abi(), &mut result__).map(|| result__) } } @@ -148,7 +148,7 @@ windows_core::imp::define_interface!(IAntimalwareProvider, IAntimalwareProvider_ impl std::ops::Deref for IAntimalwareProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAntimalwareProvider, windows_core::IUnknown); @@ -157,14 +157,14 @@ impl IAntimalwareProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scan)(windows_core::Interface::as_raw(self), stream.param().abi(), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -179,7 +179,7 @@ windows_core::imp::define_interface!(IAntimalwareProvider2, IAntimalwareProvider impl std::ops::Deref for IAntimalwareProvider2 { type Target = IAntimalwareProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAntimalwareProvider2, windows_core::IUnknown, IAntimalwareProvider); @@ -189,7 +189,7 @@ impl IAntimalwareProvider2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Notify)(windows_core::Interface::as_raw(self), buffer, length, contentname.param().abi(), appname.param().abi(), &mut result__).map(|| result__) } } @@ -202,17 +202,17 @@ windows_core::imp::define_interface!(IAntimalwareUacProvider, IAntimalwareUacPro impl std::ops::Deref for IAntimalwareUacProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAntimalwareUacProvider, windows_core::IUnknown); impl IAntimalwareUacProvider { pub unsafe fn UacScan(&self, context: *const AMSI_UAC_REQUEST_CONTEXT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UacScan)(windows_core::Interface::as_raw(self), context, &mut result__).map(|| result__) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs index 236e220544..ec19c7f269 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs @@ -280,7 +280,7 @@ pub trait IEnumMsmString_Impl: Sized { impl windows_core::RuntimeName for IEnumMsmString {} impl IEnumMsmString_Vtbl { pub const fn new, Impl: IEnumMsmString_Impl, const OFFSET: isize>() -> IEnumMsmString_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumMsmString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cfetch: u32, rgbstrstrings: *mut std::mem::MaybeUninit, pcfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IEnumMsmString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cfetch: u32, rgbstrstrings: *mut core::mem::MaybeUninit, pcfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumMsmString_Impl::Next(this, core::mem::transmute_copy(&cfetch), core::mem::transmute_copy(&rgbstrstrings), core::mem::transmute_copy(&pcfetched)).into() @@ -378,7 +378,7 @@ impl windows_core::RuntimeName for IMsmDependency {} #[cfg(feature = "Win32_System_Com")] impl IMsmDependency_Vtbl { pub const fn new, Impl: IMsmDependency_Impl, const OFFSET: isize>() -> IMsmDependency_Vtbl { - unsafe extern "system" fn Module, Impl: IMsmDependency_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, module: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Module, Impl: IMsmDependency_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, module: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmDependency_Impl::Module(this, core::mem::transmute_copy(&module)).into() @@ -388,7 +388,7 @@ impl IMsmDependency_Vtbl { let this = (*this).get_impl(); IMsmDependency_Impl::Language(this, core::mem::transmute_copy(&language)).into() } - unsafe extern "system" fn Version, Impl: IMsmDependency_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Version, Impl: IMsmDependency_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmDependency_Impl::Version(this, core::mem::transmute_copy(&version)).into() @@ -424,7 +424,7 @@ impl IMsmError_Vtbl { let this = (*this).get_impl(); IMsmError_Impl::Type(this, core::mem::transmute_copy(&errortype)).into() } - unsafe extern "system" fn Path, Impl: IMsmError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errorpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IMsmError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errorpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmError_Impl::Path(this, core::mem::transmute_copy(&errorpath)).into() @@ -434,7 +434,7 @@ impl IMsmError_Vtbl { let this = (*this).get_impl(); IMsmError_Impl::Language(this, core::mem::transmute_copy(&errorlanguage)).into() } - unsafe extern "system" fn DatabaseTable, Impl: IMsmError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errortable: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DatabaseTable, Impl: IMsmError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errortable: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmError_Impl::DatabaseTable(this, core::mem::transmute_copy(&errortable)).into() @@ -450,7 +450,7 @@ impl IMsmError_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModuleTable, Impl: IMsmError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errortable: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModuleTable, Impl: IMsmError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errortable: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmError_Impl::ModuleTable(this, core::mem::transmute_copy(&errortable)).into() @@ -577,12 +577,12 @@ impl windows_core::RuntimeName for IMsmMerge {} #[cfg(feature = "Win32_System_Com")] impl IMsmMerge_Vtbl { pub const fn new, Impl: IMsmMerge_Impl, const OFFSET: isize>() -> IMsmMerge_Vtbl { - unsafe extern "system" fn OpenDatabase, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OpenDatabase, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmMerge_Impl::OpenDatabase(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn OpenModule, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, language: i16) -> windows_core::HRESULT { + unsafe extern "system" fn OpenModule, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, language: i16) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmMerge_Impl::OpenModule(this, core::mem::transmute(&path), core::mem::transmute_copy(&language)).into() @@ -597,7 +597,7 @@ impl IMsmMerge_Vtbl { let this = (*this).get_impl(); IMsmMerge_Impl::CloseModule(this).into() } - unsafe extern "system" fn OpenLog, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OpenLog, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmMerge_Impl::OpenLog(this, core::mem::transmute(&path)).into() @@ -607,7 +607,7 @@ impl IMsmMerge_Vtbl { let this = (*this).get_impl(); IMsmMerge_Impl::CloseLog(this).into() } - unsafe extern "system" fn Log, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, message: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Log, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, message: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmMerge_Impl::Log(this, core::mem::transmute(&message)).into() @@ -634,22 +634,22 @@ impl IMsmMerge_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Merge, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feature: std::mem::MaybeUninit, redirectdir: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Merge, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feature: core::mem::MaybeUninit, redirectdir: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmMerge_Impl::Merge(this, core::mem::transmute(&feature), core::mem::transmute(&redirectdir)).into() } - unsafe extern "system" fn Connect, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feature: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Connect, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, feature: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmMerge_Impl::Connect(this, core::mem::transmute(&feature)).into() } - unsafe extern "system" fn ExtractCAB, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtractCAB, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmMerge_Impl::ExtractCAB(this, core::mem::transmute(&filename)).into() } - unsafe extern "system" fn ExtractFiles, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtractFiles, Impl: IMsmMerge_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmMerge_Impl::ExtractFiles(this, core::mem::transmute(&path)).into() @@ -686,7 +686,7 @@ impl windows_core::RuntimeName for IMsmStrings {} #[cfg(feature = "Win32_System_Com")] impl IMsmStrings_Vtbl { pub const fn new, Impl: IMsmStrings_Impl, const OFFSET: isize>() -> IMsmStrings_Vtbl { - unsafe extern "system" fn get_Item, Impl: IMsmStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: i32, r#return: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IMsmStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: i32, r#return: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMsmStrings_Impl::get_Item(this, core::mem::transmute_copy(&item), core::mem::transmute_copy(&r#return)).into() @@ -811,17 +811,17 @@ impl IPMApplicationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DefaultTask, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdefaulttask: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DefaultTask, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdefaulttask: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::DefaultTask(this, core::mem::transmute_copy(&pdefaulttask)).into() } - unsafe extern "system" fn AppTitle, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, papptitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AppTitle, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, papptitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::AppTitle(this, core::mem::transmute_copy(&papptitle)).into() } - unsafe extern "system" fn IconPath, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pappiconpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IconPath, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pappiconpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::IconPath(this, core::mem::transmute_copy(&pappiconpath)).into() @@ -925,12 +925,12 @@ impl IPMApplicationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InstallPath, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinstallpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallPath, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinstallpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::InstallPath(this, core::mem::transmute_copy(&pinstallpath)).into() } - unsafe extern "system" fn DataRoot, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdataroot: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DataRoot, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdataroot: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::DataRoot(this, core::mem::transmute_copy(&pdataroot)).into() @@ -946,27 +946,27 @@ impl IPMApplicationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Publisher, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppublisher: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Publisher, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppublisher: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::Publisher(this, core::mem::transmute_copy(&ppublisher)).into() } - unsafe extern "system" fn Author, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pauthor: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Author, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pauthor: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::Author(this, core::mem::transmute_copy(&pauthor)).into() } - unsafe extern "system" fn Description, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::Description(this, core::mem::transmute_copy(&pdescription)).into() } - unsafe extern "system" fn Version, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pversion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Version, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pversion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::Version(this, core::mem::transmute_copy(&pversion)).into() } - unsafe extern "system" fn get_InvocationInfo, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut std::mem::MaybeUninit, pparameters: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_InvocationInfo, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut core::mem::MaybeUninit, pparameters: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::get_InvocationInfo(this, core::mem::transmute_copy(&pimageurn), core::mem::transmute_copy(&pparameters)).into() @@ -1015,7 +1015,7 @@ impl IPMApplicationInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SID, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SID, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::SID(this, core::mem::transmute_copy(&psid)).into() @@ -1052,7 +1052,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); IPMApplicationInfo_Impl::set_NotificationState(this, core::mem::transmute_copy(&isnotified)).into() } - unsafe extern "system" fn set_IconPath, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appiconpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn set_IconPath, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appiconpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::set_IconPath(this, core::mem::transmute(&appiconpath)).into() @@ -1258,7 +1258,7 @@ impl IPMApplicationInfo_Vtbl { let this = (*this).get_impl(); IPMApplicationInfo_Impl::set_IsMdilMaintenanceNeeded(this, core::mem::transmute_copy(&fismdilmaintenanceneeded)).into() } - unsafe extern "system" fn set_Title, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, apptitle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn set_Title, Impl: IPMApplicationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, apptitle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMApplicationInfo_Impl::set_Title(this, core::mem::transmute(&apptitle)).into() @@ -1379,7 +1379,7 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TaskID, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskID, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMBackgroundServiceAgentInfo_Impl::TaskID(this, core::mem::transmute_copy(&ptaskid)).into() @@ -1395,22 +1395,22 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BGSpecifier, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgspecifier: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BGSpecifier, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgspecifier: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMBackgroundServiceAgentInfo_Impl::BGSpecifier(this, core::mem::transmute_copy(&pbgspecifier)).into() } - unsafe extern "system" fn BGName, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BGName, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMBackgroundServiceAgentInfo_Impl::BGName(this, core::mem::transmute_copy(&pbgname)).into() } - unsafe extern "system" fn BGSource, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgsource: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BGSource, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgsource: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMBackgroundServiceAgentInfo_Impl::BGSource(this, core::mem::transmute_copy(&pbgsource)).into() } - unsafe extern "system" fn BGType, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgtype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BGType, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgtype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMBackgroundServiceAgentInfo_Impl::BGType(this, core::mem::transmute_copy(&pbgtype)).into() @@ -1448,7 +1448,7 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IPMBackgroundServiceAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMBackgroundServiceAgentInfo_Impl::Description(this, core::mem::transmute_copy(&pdescription)).into() @@ -1541,12 +1541,12 @@ impl IPMBackgroundWorkerInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TaskID, Impl: IPMBackgroundWorkerInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskID, Impl: IPMBackgroundWorkerInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMBackgroundWorkerInfo_Impl::TaskID(this, core::mem::transmute_copy(&ptaskid)).into() } - unsafe extern "system" fn BGName, Impl: IPMBackgroundWorkerInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BGName, Impl: IPMBackgroundWorkerInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbgname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMBackgroundWorkerInfo_Impl::BGName(this, core::mem::transmute_copy(&pbgname)).into() @@ -1719,7 +1719,7 @@ impl IPMDeploymentManager_Vtbl { let this = (*this).get_impl(); IPMDeploymentManager_Impl::BeginUpdateLicense(this, core::mem::transmute(&productid), core::mem::transmute(&offerid), core::mem::transmute_copy(&pblicense), core::mem::transmute_copy(&cblicense)).into() } - unsafe extern "system" fn GetLicenseChallenge, Impl: IPMDeploymentManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packagepath: std::mem::MaybeUninit, ppbchallenge: *mut *mut u8, pcbchallenge: *mut u32, ppbkid: *mut *mut u8, pcbkid: *mut u32, ppbdeviceid: *mut *mut u8, pcbdeviceid: *mut u32, ppbsaltvalue: *mut *mut u8, pcbsaltvalue: *mut u32, ppbkgvvalue: *mut *mut u8, pcbkgvvalue: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetLicenseChallenge, Impl: IPMDeploymentManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packagepath: core::mem::MaybeUninit, ppbchallenge: *mut *mut u8, pcbchallenge: *mut u32, ppbkid: *mut *mut u8, pcbkid: *mut u32, ppbdeviceid: *mut *mut u8, pcbdeviceid: *mut u32, ppbsaltvalue: *mut *mut u8, pcbsaltvalue: *mut u32, ppbkgvvalue: *mut *mut u8, pcbkgvvalue: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMDeploymentManager_Impl::GetLicenseChallenge(this, core::mem::transmute(&packagepath), core::mem::transmute_copy(&ppbchallenge), core::mem::transmute_copy(&pcbchallenge), core::mem::transmute_copy(&ppbkid), core::mem::transmute_copy(&pcbkid), core::mem::transmute_copy(&ppbdeviceid), core::mem::transmute_copy(&pcbdeviceid), core::mem::transmute_copy(&ppbsaltvalue), core::mem::transmute_copy(&pcbsaltvalue), core::mem::transmute_copy(&ppbkgvvalue), core::mem::transmute_copy(&pcbkgvvalue)).into() @@ -1759,7 +1759,7 @@ impl IPMDeploymentManager_Vtbl { let this = (*this).get_impl(); IPMDeploymentManager_Impl::GenerateXbfForCurrentLocale(this, core::mem::transmute(&productid)).into() } - unsafe extern "system" fn BeginProvision, Impl: IPMDeploymentManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, productid: windows_core::GUID, xmlpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BeginProvision, Impl: IPMDeploymentManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, productid: windows_core::GUID, xmlpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMDeploymentManager_Impl::BeginProvision(this, core::mem::transmute(&productid), core::mem::transmute(&xmlpath)).into() @@ -1811,7 +1811,7 @@ impl IPMDeploymentManager_Vtbl { let this = (*this).get_impl(); IPMDeploymentManager_Impl::ReportRestoreCancelled(this, core::mem::transmute(&productid)).into() } - unsafe extern "system" fn ResolveResourceString, Impl: IPMDeploymentManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourcestring: windows_core::PCWSTR, presolvedresourcestring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResolveResourceString, Impl: IPMDeploymentManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourcestring: windows_core::PCWSTR, presolvedresourcestring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMDeploymentManager_Impl::ResolveResourceString(this, core::mem::transmute(&resourcestring), core::mem::transmute_copy(&presolvedresourcestring)).into() @@ -1836,7 +1836,7 @@ impl IPMDeploymentManager_Vtbl { let this = (*this).get_impl(); IPMDeploymentManager_Impl::BindDeferredMdilBinaries(this).into() } - unsafe extern "system" fn GenerateXamlLightupXbfForCurrentLocale, Impl: IPMDeploymentManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packagefamilyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateXamlLightupXbfForCurrentLocale, Impl: IPMDeploymentManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packagefamilyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMDeploymentManager_Impl::GenerateXamlLightupXbfForCurrentLocale(this, core::mem::transmute(&packagefamilyname)).into() @@ -1958,7 +1958,7 @@ impl IPMEnumerationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_TileInfo, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, productid: windows_core::GUID, tileid: std::mem::MaybeUninit, pptileinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_TileInfo, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, productid: windows_core::GUID, tileid: core::mem::MaybeUninit, pptileinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_TileInfo(this, core::mem::transmute(&productid), core::mem::transmute(&tileid)) { @@ -1969,7 +1969,7 @@ impl IPMEnumerationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_TaskInfo, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, productid: windows_core::GUID, taskid: std::mem::MaybeUninit, pptaskinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_TaskInfo, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, productid: windows_core::GUID, taskid: core::mem::MaybeUninit, pptaskinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_TaskInfo(this, core::mem::transmute(&productid), core::mem::transmute(&taskid)) { @@ -2013,7 +2013,7 @@ impl IPMEnumerationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_LiveTileJob, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, productid: windows_core::GUID, tileid: std::mem::MaybeUninit, recurrencetype: PM_LIVETILE_RECURRENCE_TYPE, pplivetilejobinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_LiveTileJob, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, productid: windows_core::GUID, tileid: core::mem::MaybeUninit, recurrencetype: PM_LIVETILE_RECURRENCE_TYPE, pplivetilejobinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_LiveTileJob(this, core::mem::transmute(&productid), core::mem::transmute(&tileid), core::mem::transmute_copy(&recurrencetype)) { @@ -2035,12 +2035,12 @@ impl IPMEnumerationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_FileHandlerGenericLogo, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filetype: std::mem::MaybeUninit, logosize: PM_LOGO_SIZE, plogo: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_FileHandlerGenericLogo, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filetype: core::mem::MaybeUninit, logosize: PM_LOGO_SIZE, plogo: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMEnumerationManager_Impl::get_FileHandlerGenericLogo(this, core::mem::transmute(&filetype), core::mem::transmute_copy(&logosize), core::mem::transmute_copy(&plogo)).into() } - unsafe extern "system" fn get_ApplicationInfoFromAccessClaims, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sysappid0: std::mem::MaybeUninit, sysappid1: std::mem::MaybeUninit, ppappinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ApplicationInfoFromAccessClaims, Impl: IPMEnumerationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sysappid0: core::mem::MaybeUninit, sysappid1: core::mem::MaybeUninit, ppappinfo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPMEnumerationManager_Impl::get_ApplicationInfoFromAccessClaims(this, core::mem::transmute(&sysappid0), core::mem::transmute(&sysappid1)) { @@ -2116,7 +2116,7 @@ pub trait IPMExtensionContractInfo_Impl: Sized { impl windows_core::RuntimeName for IPMExtensionContractInfo {} impl IPMExtensionContractInfo_Vtbl { pub const fn new, Impl: IPMExtensionContractInfo_Impl, const OFFSET: isize>() -> IPMExtensionContractInfo_Vtbl { - unsafe extern "system" fn get_InvocationInfo, Impl: IPMExtensionContractInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paumid: *mut std::mem::MaybeUninit, pargs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_InvocationInfo, Impl: IPMExtensionContractInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, paumid: *mut core::mem::MaybeUninit, pargs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionContractInfo_Impl::get_InvocationInfo(this, core::mem::transmute_copy(&paumid), core::mem::transmute_copy(&pargs)).into() @@ -2139,32 +2139,32 @@ pub trait IPMExtensionFileExtensionInfo_Impl: Sized { impl windows_core::RuntimeName for IPMExtensionFileExtensionInfo {} impl IPMExtensionFileExtensionInfo_Vtbl { pub const fn new, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>() -> IPMExtensionFileExtensionInfo_Vtbl { - unsafe extern "system" fn Name, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionFileExtensionInfo_Impl::Name(this, core::mem::transmute_copy(&pname)).into() } - unsafe extern "system" fn DisplayName, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionFileExtensionInfo_Impl::DisplayName(this, core::mem::transmute_copy(&pdisplayname)).into() } - unsafe extern "system" fn get_Logo, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logosize: PM_LOGO_SIZE, plogo: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Logo, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logosize: PM_LOGO_SIZE, plogo: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionFileExtensionInfo_Impl::get_Logo(this, core::mem::transmute_copy(&logosize), core::mem::transmute_copy(&plogo)).into() } - unsafe extern "system" fn get_ContentType, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filetype: std::mem::MaybeUninit, pcontenttype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_ContentType, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filetype: core::mem::MaybeUninit, pcontenttype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionFileExtensionInfo_Impl::get_ContentType(this, core::mem::transmute(&filetype), core::mem::transmute_copy(&pcontenttype)).into() } - unsafe extern "system" fn get_FileType, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contenttype: std::mem::MaybeUninit, pfiletype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_FileType, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contenttype: core::mem::MaybeUninit, pfiletype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionFileExtensionInfo_Impl::get_FileType(this, core::mem::transmute(&contenttype), core::mem::transmute_copy(&pfiletype)).into() } - unsafe extern "system" fn get_InvocationInfo, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut std::mem::MaybeUninit, pparameters: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_InvocationInfo, Impl: IPMExtensionFileExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut core::mem::MaybeUninit, pparameters: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionFileExtensionInfo_Impl::get_InvocationInfo(this, core::mem::transmute_copy(&pimageurn), core::mem::transmute_copy(&pparameters)).into() @@ -2277,27 +2277,27 @@ impl IPMExtensionInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SupplierTaskID, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psuppliertid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SupplierTaskID, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psuppliertid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionInfo_Impl::SupplierTaskID(this, core::mem::transmute_copy(&psuppliertid)).into() } - unsafe extern "system" fn Title, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionInfo_Impl::Title(this, core::mem::transmute_copy(&ptitle)).into() } - unsafe extern "system" fn IconPath, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, piconpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IconPath, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, piconpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionInfo_Impl::IconPath(this, core::mem::transmute_copy(&piconpath)).into() } - unsafe extern "system" fn ExtraFile, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfilepath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtraFile, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfilepath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionInfo_Impl::ExtraFile(this, core::mem::transmute_copy(&pfilepath)).into() } - unsafe extern "system" fn get_InvocationInfo, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut std::mem::MaybeUninit, pparameters: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_InvocationInfo, Impl: IPMExtensionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut core::mem::MaybeUninit, pparameters: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionInfo_Impl::get_InvocationInfo(this, core::mem::transmute_copy(&pimageurn), core::mem::transmute_copy(&pparameters)).into() @@ -2346,12 +2346,12 @@ pub trait IPMExtensionProtocolInfo_Impl: Sized { impl windows_core::RuntimeName for IPMExtensionProtocolInfo {} impl IPMExtensionProtocolInfo_Vtbl { pub const fn new, Impl: IPMExtensionProtocolInfo_Impl, const OFFSET: isize>() -> IPMExtensionProtocolInfo_Vtbl { - unsafe extern "system" fn Protocol, Impl: IPMExtensionProtocolInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprotocol: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Protocol, Impl: IPMExtensionProtocolInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprotocol: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionProtocolInfo_Impl::Protocol(this, core::mem::transmute_copy(&pprotocol)).into() } - unsafe extern "system" fn get_InvocationInfo, Impl: IPMExtensionProtocolInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut std::mem::MaybeUninit, pparameters: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_InvocationInfo, Impl: IPMExtensionProtocolInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut core::mem::MaybeUninit, pparameters: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMExtensionProtocolInfo_Impl::get_InvocationInfo(this, core::mem::transmute_copy(&pimageurn), core::mem::transmute_copy(&pparameters)).into() @@ -2446,7 +2446,7 @@ impl IPMLiveTileJobInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TileID, Impl: IPMLiveTileJobInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptileid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TileID, Impl: IPMLiveTileJobInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptileid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMLiveTileJobInfo_Impl::TileID(this, core::mem::transmute_copy(&ptileid)).into() @@ -2707,12 +2707,12 @@ impl IPMTaskInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TaskID, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskID, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTaskInfo_Impl::TaskID(this, core::mem::transmute_copy(&ptaskid)).into() } - unsafe extern "system" fn NavigationPage, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnavigationpage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NavigationPage, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnavigationpage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTaskInfo_Impl::NavigationPage(this, core::mem::transmute_copy(&pnavigationpage)).into() @@ -2761,27 +2761,27 @@ impl IPMTaskInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_InvocationInfo, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut std::mem::MaybeUninit, pparameters: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_InvocationInfo, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut core::mem::MaybeUninit, pparameters: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTaskInfo_Impl::get_InvocationInfo(this, core::mem::transmute_copy(&pimageurn), core::mem::transmute_copy(&pparameters)).into() } - unsafe extern "system" fn ImagePath, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimagepath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImagePath, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimagepath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTaskInfo_Impl::ImagePath(this, core::mem::transmute_copy(&pimagepath)).into() } - unsafe extern "system" fn ImageParams, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageparams: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImageParams, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageparams: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTaskInfo_Impl::ImageParams(this, core::mem::transmute_copy(&pimageparams)).into() } - unsafe extern "system" fn InstallRootFolder, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinstallrootfolder: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallRootFolder, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinstallrootfolder: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTaskInfo_Impl::InstallRootFolder(this, core::mem::transmute_copy(&pinstallrootfolder)).into() } - unsafe extern "system" fn DataRootFolder, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdatarootfolder: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DataRootFolder, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdatarootfolder: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTaskInfo_Impl::DataRootFolder(this, core::mem::transmute_copy(&pdatarootfolder)).into() @@ -2857,7 +2857,7 @@ impl IPMTaskInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BackgroundExecutionAbilities, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbackgroundexecutionabilities: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BackgroundExecutionAbilities, Impl: IPMTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbackgroundexecutionabilities: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTaskInfo_Impl::BackgroundExecutionAbilities(this, core::mem::transmute_copy(&pbackgroundexecutionabilities)).into() @@ -2965,7 +2965,7 @@ impl IPMTileInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TileID, Impl: IPMTileInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptileid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TileID, Impl: IPMTileInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptileid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTileInfo_Impl::TileID(this, core::mem::transmute_copy(&ptileid)).into() @@ -3025,7 +3025,7 @@ impl IPMTileInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TaskID, Impl: IPMTileInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskID, Impl: IPMTileInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptaskid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTileInfo_Impl::TaskID(this, core::mem::transmute_copy(&ptaskid)).into() @@ -3063,7 +3063,7 @@ impl IPMTileInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_InvocationInfo, Impl: IPMTileInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut std::mem::MaybeUninit, pparameters: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_InvocationInfo, Impl: IPMTileInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pimageurn: *mut core::mem::MaybeUninit, pparameters: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTileInfo_Impl::get_InvocationInfo(this, core::mem::transmute_copy(&pimageurn), core::mem::transmute_copy(&pparameters)).into() @@ -3110,7 +3110,7 @@ impl IPMTileInfo_Vtbl { let this = (*this).get_impl(); IPMTileInfo_Impl::set_HubTileSize(this, core::mem::transmute_copy(&hubtype), core::mem::transmute_copy(&size)).into() } - unsafe extern "system" fn set_InvocationInfo, Impl: IPMTileInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: std::mem::MaybeUninit, taskparameters: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn set_InvocationInfo, Impl: IPMTileInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, taskname: core::mem::MaybeUninit, taskparameters: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTileInfo_Impl::set_InvocationInfo(this, core::mem::transmute(&taskname), core::mem::transmute(&taskparameters)).into() @@ -3249,12 +3249,12 @@ impl IPMTilePropertyInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PropertyValue, Impl: IPMTilePropertyInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PropertyValue, Impl: IPMTilePropertyInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTilePropertyInfo_Impl::PropertyValue(this, core::mem::transmute_copy(&ppropvalue)).into() } - unsafe extern "system" fn set_Property, Impl: IPMTilePropertyInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn set_Property, Impl: IPMTilePropertyInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPMTilePropertyInfo_Impl::set_Property(this, core::mem::transmute(&propvalue)).into() 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 4d6182382b..62b9720326 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -2855,7 +2855,7 @@ windows_core::imp::define_interface!(IAssemblyCache, IAssemblyCache_Vtbl, 0xe707 impl std::ops::Deref for IAssemblyCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAssemblyCache, windows_core::IUnknown); @@ -2879,7 +2879,7 @@ impl IAssemblyCache { (windows_core::Interface::vtable(self).CreateAssemblyCacheItem)(windows_core::Interface::as_raw(self), dwflags, pvreserved, core::mem::transmute(ppasmitem), pszassemblyname.param().abi()).ok() } pub unsafe fn Reserved(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Reserved)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InstallAssembly(&self, dwflags: u32, pszmanifestfilepath: P0, prefdata: *mut FUSION_INSTALL_REFERENCE) -> windows_core::Result<()> @@ -2902,7 +2902,7 @@ windows_core::imp::define_interface!(IAssemblyCacheItem, IAssemblyCacheItem_Vtbl impl std::ops::Deref for IAssemblyCacheItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAssemblyCacheItem, windows_core::IUnknown); @@ -2935,7 +2935,7 @@ windows_core::imp::define_interface!(IAssemblyName, IAssemblyName_Vtbl, 0xcd193b impl std::ops::Deref for IAssemblyName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAssemblyName, windows_core::IUnknown); @@ -2973,7 +2973,7 @@ impl IAssemblyName { (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), pname.param().abi(), dwcmpflags).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2994,7 +2994,7 @@ windows_core::imp::define_interface!(IEnumMsmDependency, IEnumMsmDependency_Vtbl impl std::ops::Deref for IEnumMsmDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumMsmDependency, windows_core::IUnknown); @@ -3010,7 +3010,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3029,7 +3029,7 @@ windows_core::imp::define_interface!(IEnumMsmError, IEnumMsmError_Vtbl, 0x0adda8 impl std::ops::Deref for IEnumMsmError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumMsmError, windows_core::IUnknown); @@ -3045,7 +3045,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3064,7 +3064,7 @@ windows_core::imp::define_interface!(IEnumMsmString, IEnumMsmString_Vtbl, 0x0add impl std::ops::Deref for IEnumMsmString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumMsmString, windows_core::IUnknown); @@ -3079,14 +3079,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEnumMsmString_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3097,7 +3097,7 @@ windows_core::imp::define_interface!(IMsmDependencies, IMsmDependencies_Vtbl, 0x impl std::ops::Deref for IMsmDependencies { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3106,14 +3106,14 @@ windows_core::imp::interface_hierarchy!(IMsmDependencies, windows_core::IUnknown impl IMsmDependencies { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, item: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), item, &mut result__).and_then(|| windows_core::Type::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), count).ok() } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3134,7 +3134,7 @@ windows_core::imp::define_interface!(IMsmDependency, IMsmDependency_Vtbl, 0x0add impl std::ops::Deref for IMsmDependency { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3155,9 +3155,9 @@ impl IMsmDependency { #[repr(C)] pub struct IMsmDependency_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Module: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Module: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMsmError, IMsmError_Vtbl, 0x0adda828_2c26_11d2_ad65_00a0c9af11a6); @@ -3165,7 +3165,7 @@ windows_core::imp::define_interface!(IMsmError, IMsmError_Vtbl, 0x0adda828_2c26_ impl std::ops::Deref for IMsmError { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3186,7 +3186,7 @@ impl IMsmError { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DatabaseKeys(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DatabaseKeys)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModuleTable(&self, errortable: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -3194,7 +3194,7 @@ impl IMsmError { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ModuleKeys(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModuleKeys)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3203,14 +3203,14 @@ impl IMsmError { pub struct IMsmError_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut msmErrorType) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - pub DatabaseTable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DatabaseTable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DatabaseKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DatabaseKeys: usize, - pub ModuleTable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModuleTable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ModuleKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3222,7 +3222,7 @@ windows_core::imp::define_interface!(IMsmErrors, IMsmErrors_Vtbl, 0x0adda82a_2c2 impl std::ops::Deref for IMsmErrors { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3231,14 +3231,14 @@ windows_core::imp::interface_hierarchy!(IMsmErrors, windows_core::IUnknown, supe impl IMsmErrors { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, item: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), item, &mut result__).and_then(|| windows_core::Type::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), count).ok() } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3259,7 +3259,7 @@ windows_core::imp::define_interface!(IMsmGetFiles, IMsmGetFiles_Vtbl, 0x7041ae26 impl std::ops::Deref for IMsmGetFiles { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3268,7 +3268,7 @@ windows_core::imp::interface_hierarchy!(IMsmGetFiles, windows_core::IUnknown, su impl IMsmGetFiles { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ModuleFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModuleFiles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3287,7 +3287,7 @@ windows_core::imp::define_interface!(IMsmMerge, IMsmMerge_Vtbl, 0x0adda82e_2c26_ impl std::ops::Deref for IMsmMerge { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3332,12 +3332,12 @@ impl IMsmMerge { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Errors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Errors)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Dependencies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Dependencies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Merge(&self, feature: P0, redirectdir: P1) -> windows_core::Result<()> @@ -3370,13 +3370,13 @@ impl IMsmMerge { #[repr(C)] pub struct IMsmMerge_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub OpenDatabase: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OpenModule: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i16) -> windows_core::HRESULT, + pub OpenDatabase: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OpenModule: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i16) -> windows_core::HRESULT, pub CloseDatabase: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CloseModule: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub OpenLog: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OpenLog: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CloseLog: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Log: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Log: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Errors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3385,10 +3385,10 @@ pub struct IMsmMerge_Vtbl { pub Dependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Dependencies: usize, - pub Merge: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExtractCAB: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExtractFiles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Merge: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtractCAB: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtractFiles: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMsmStrings, IMsmStrings_Vtbl, 0x0adda827_2c26_11d2_ad65_00a0c9af11a6); @@ -3396,7 +3396,7 @@ windows_core::imp::define_interface!(IMsmStrings, IMsmStrings_Vtbl, 0x0adda827_2 impl std::ops::Deref for IMsmStrings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3410,7 +3410,7 @@ impl IMsmStrings { (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), count).ok() } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3418,7 +3418,7 @@ impl IMsmStrings { #[repr(C)] pub struct IMsmStrings_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3426,21 +3426,21 @@ windows_core::imp::define_interface!(IPMApplicationInfo, IPMApplicationInfo_Vtbl impl std::ops::Deref for IPMApplicationInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMApplicationInfo, windows_core::IUnknown); impl IPMApplicationInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InstanceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstanceID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OfferID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OfferID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultTask(&self, pdefaulttask: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -3453,39 +3453,39 @@ impl IPMApplicationInfo { (windows_core::Interface::vtable(self).IconPath)(windows_core::Interface::as_raw(self), core::mem::transmute(pappiconpath)).ok() } pub unsafe fn NotificationState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NotificationState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AppInstallType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppInstallType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsRevoked(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRevoked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UpdateAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UpdateAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InstallDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstallDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsUninstallable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUninstallable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsThemable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsThemable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsTrial(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTrial)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InstallPath(&self, pinstallpath: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -3495,7 +3495,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Genre)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Publisher(&self, ppublisher: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -3514,30 +3514,30 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppPlatMajorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AppPlatMinorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppPlatMinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PublisherID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PublisherID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsMultiCore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMultiCore)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SID(&self, psid: *mut windows_core::BSTR) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppPlatMajorVersionLightUp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AppPlatMinorVersionLightUp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppPlatMinorVersionLightUp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_UpdateAvailable(&self, isupdateavailable: P0) -> windows_core::Result<()> @@ -3565,23 +3565,23 @@ impl IPMApplicationInfo { (windows_core::Interface::vtable(self).set_UninstallableState)(windows_core::Interface::as_raw(self), isuninstallable.param().abi()).ok() } pub unsafe fn IsPinableOnKidZone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPinableOnKidZone)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOriginallyPreInstalled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOriginallyPreInstalled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsInstallOnSD(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInstallOnSD)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOptoutOnSD(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOptoutOnSD)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOptoutBackupRestore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOptoutBackupRestore)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_EnterpriseDisabled(&self, isdisabled: P0) -> windows_core::Result<()> @@ -3597,50 +3597,50 @@ impl IPMApplicationInfo { (windows_core::Interface::vtable(self).set_EnterpriseUninstallable)(windows_core::Interface::as_raw(self), isuninstallable.param().abi()).ok() } pub unsafe fn EnterpriseDisabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnterpriseDisabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnterpriseUninstallable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnterpriseUninstallable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsVisibleOnAppList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsVisibleOnAppList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsInboxApp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInboxApp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StorageID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StorageID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StartAppBlob(&self, pblob: *mut PM_STARTAPPBLOB) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).StartAppBlob)(windows_core::Interface::as_raw(self), pblob).ok() } pub unsafe fn IsMovable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMovable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeploymentAppEnumerationHubFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeploymentAppEnumerationHubFilter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ModifiedDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModifiedDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOriginallyRestored(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOriginallyRestored)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ShouldDeferMdilBind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShouldDeferMdilBind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsFullyPreInstall(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFullyPreInstall)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_IsMdilMaintenanceNeeded(&self, fismdilmaintenanceneeded: P0) -> windows_core::Result<()> @@ -3662,9 +3662,9 @@ pub struct IPMApplicationInfo_Vtbl { pub ProductID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub InstanceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub OfferID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub DefaultTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AppTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IconPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AppTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IconPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NotificationState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub AppInstallType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PM_APPLICATION_INSTALL_TYPE) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PM_APPLICATION_STATE) -> windows_core::HRESULT, @@ -3674,24 +3674,24 @@ pub struct IPMApplicationInfo_Vtbl { pub IsUninstallable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsThemable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsTrial: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub InstallPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DataRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DataRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Genre: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PM_APP_GENRE) -> windows_core::HRESULT, - pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Publisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppPlatMajorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub AppPlatMinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub PublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub IsMultiCore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub SID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AppPlatMajorVersionLightUp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub AppPlatMinorVersionLightUp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub set_UpdateAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub set_NotificationState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub set_IconPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub set_IconPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub set_UninstallableState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsPinableOnKidZone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsOriginallyPreInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -3713,19 +3713,19 @@ pub struct IPMApplicationInfo_Vtbl { pub ShouldDeferMdilBind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsFullyPreInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub set_IsMdilMaintenanceNeeded: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub set_Title: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub set_Title: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMApplicationInfoEnumerator, IPMApplicationInfoEnumerator_Vtbl, 0x0ec42a96_4d46_4dc6_a3d9_a7acaac0f5fa); impl std::ops::Deref for IPMApplicationInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMApplicationInfoEnumerator, windows_core::IUnknown); impl IPMApplicationInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3738,20 +3738,20 @@ windows_core::imp::define_interface!(IPMBackgroundServiceAgentInfo, IPMBackgroun impl std::ops::Deref for IPMBackgroundServiceAgentInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMBackgroundServiceAgentInfo, windows_core::IUnknown); impl IPMBackgroundServiceAgentInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TaskID(&self, ptaskid: *mut windows_core::BSTR) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BSAID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BGSpecifier(&self, pbgspecifier: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -3767,22 +3767,22 @@ impl IPMBackgroundServiceAgentInfo { (windows_core::Interface::vtable(self).BGType)(windows_core::Interface::as_raw(self), core::mem::transmute(pbgtype)).ok() } pub unsafe fn IsPeriodic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPeriodic)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsScheduled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsScheduled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsScheduleAllowed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsScheduleAllowed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self, pdescription: *mut windows_core::BSTR) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), core::mem::transmute(pdescription)).ok() } pub unsafe fn IsLaunchOnBoot(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLaunchOnBoot)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_IsScheduled(&self, isscheduled: P0) -> windows_core::Result<()> @@ -3802,16 +3802,16 @@ impl IPMBackgroundServiceAgentInfo { pub struct IPMBackgroundServiceAgentInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProductID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub TaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BSAID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub BGSpecifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BGName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BGSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BGType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BGSpecifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BGName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BGSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BGType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsPeriodic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsScheduled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsScheduleAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsLaunchOnBoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub set_IsScheduled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub set_IsScheduleAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -3820,13 +3820,13 @@ windows_core::imp::define_interface!(IPMBackgroundServiceAgentInfoEnumerator, IP impl std::ops::Deref for IPMBackgroundServiceAgentInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMBackgroundServiceAgentInfoEnumerator, windows_core::IUnknown); impl IPMBackgroundServiceAgentInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3839,13 +3839,13 @@ windows_core::imp::define_interface!(IPMBackgroundWorkerInfo, IPMBackgroundWorke impl std::ops::Deref for IPMBackgroundWorkerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMBackgroundWorkerInfo, windows_core::IUnknown); impl IPMBackgroundWorkerInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TaskID(&self, ptaskid: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -3855,15 +3855,15 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxStartupLatency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExpectedRuntime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpectedRuntime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsBootWorker(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsBootWorker)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3871,8 +3871,8 @@ impl IPMBackgroundWorkerInfo { pub struct IPMBackgroundWorkerInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProductID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub TaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BGName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BGName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxStartupLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub ExpectedRuntime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub IsBootWorker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -3881,13 +3881,13 @@ windows_core::imp::define_interface!(IPMBackgroundWorkerInfoEnumerator, IPMBackg impl std::ops::Deref for IPMBackgroundWorkerInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMBackgroundWorkerInfoEnumerator, windows_core::IUnknown); impl IPMBackgroundWorkerInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3900,7 +3900,7 @@ windows_core::imp::define_interface!(IPMDeploymentManager, IPMDeploymentManager_ impl std::ops::Deref for IPMDeploymentManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMDeploymentManager, windows_core::IUnknown); @@ -4008,7 +4008,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetApplicationsNeedMaintenance)(windows_core::Interface::as_raw(self), requiredmaintenanceoperations, &mut result__).map(|| result__) } pub unsafe fn UpdateChamberProfile(&self, productid: windows_core::GUID) -> windows_core::Result<()> { @@ -4018,7 +4018,7 @@ impl IPMDeploymentManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnterprisePolicyIsApplicationAllowed)(windows_core::Interface::as_raw(self), core::mem::transmute(productid), publishername.param().abi(), &mut result__).map(|| result__) } pub unsafe fn BeginUpdateDeployedPackage(&self, pupdateinfo: *const PM_UPDATEINFO) -> windows_core::Result<()> { @@ -4072,7 +4072,7 @@ pub struct IPMDeploymentManager_Vtbl { pub BeginEnterpriseAppInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *const PM_INSTALLINFO) -> windows_core::HRESULT, pub BeginEnterpriseAppUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *const PM_UPDATEINFO) -> windows_core::HRESULT, pub BeginUpdateLicense: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::GUID, *const u8, u32) -> windows_core::HRESULT, - pub GetLicenseChallenge: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, + pub GetLicenseChallenge: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub GetLicenseChallengeByProductID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub GetLicenseChallengeByProductID2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub RevokeLicense: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, @@ -4086,7 +4086,7 @@ pub struct IPMDeploymentManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] RegenerateXbf: usize, pub GenerateXbfForCurrentLocale: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, - pub BeginProvision: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BeginProvision: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, pub BeginDeprovision: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub ReindexSQLCEDatabases: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub SetApplicationsNeedMaintenance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, @@ -4094,12 +4094,12 @@ pub struct IPMDeploymentManager_Vtbl { pub EnterprisePolicyIsApplicationAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub BeginUpdateDeployedPackage: unsafe extern "system" fn(*mut core::ffi::c_void, *const PM_UPDATEINFO) -> windows_core::HRESULT, pub ReportRestoreCancelled: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, - pub ResolveResourceString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResolveResourceString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub UpdateCapabilitiesForModernApps: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportDownloadStatusUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub BeginUninstallWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32) -> windows_core::HRESULT, pub BindDeferredMdilBinaries: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GenerateXamlLightupXbfForCurrentLocale: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GenerateXamlLightupXbfForCurrentLocale: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddLicenseForAppx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const u8, u32, *const u8, u32) -> windows_core::HRESULT, pub FixJunctionsForAppsOnSDCard: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -4107,7 +4107,7 @@ windows_core::imp::define_interface!(IPMEnumerationManager, IPMEnumerationManage impl std::ops::Deref for IPMEnumerationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMEnumerationManager, windows_core::IUnknown); @@ -4131,47 +4131,47 @@ impl IPMEnumerationManager { (windows_core::Interface::vtable(self).get_AllBackgroundWorkers)(windows_core::Interface::as_raw(self), core::mem::transmute(ppbswenum), core::mem::transmute(filter)).ok() } pub unsafe fn get_ApplicationInfo(&self, productid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ApplicationInfo)(windows_core::Interface::as_raw(self), core::mem::transmute(productid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_TileInfo(&self, productid: windows_core::GUID, tileid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_TileInfo)(windows_core::Interface::as_raw(self), core::mem::transmute(productid), tileid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_TaskInfo(&self, productid: windows_core::GUID, taskid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_TaskInfo)(windows_core::Interface::as_raw(self), core::mem::transmute(productid), taskid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_TaskInfoEx(&self, productid: windows_core::GUID, taskid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_TaskInfoEx)(windows_core::Interface::as_raw(self), core::mem::transmute(productid), taskid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_BackgroundServiceAgentInfo(&self, bsaid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_BackgroundServiceAgentInfo)(windows_core::Interface::as_raw(self), bsaid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AllLiveTileJobs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllLiveTileJobs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_LiveTileJob(&self, productid: windows_core::GUID, tileid: P0, recurrencetype: PM_LIVETILE_RECURRENCE_TYPE) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_LiveTileJob)(windows_core::Interface::as_raw(self), core::mem::transmute(productid), tileid.param().abi(), recurrencetype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_ApplicationInfoExternal(&self, productid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ApplicationInfoExternal)(windows_core::Interface::as_raw(self), core::mem::transmute(productid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_FileHandlerGenericLogo(&self, filetype: P0, logosize: PM_LOGO_SIZE, plogo: *mut windows_core::BSTR) -> windows_core::Result<()> @@ -4185,7 +4185,7 @@ impl IPMEnumerationManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ApplicationInfoFromAccessClaims)(windows_core::Interface::as_raw(self), sysappid0.param().abi(), sysappid1.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_StartTileEnumeratorBlob(&self, filter: PM_ENUM_FILTER, pctiles: *mut u32, pptileblobs: *mut *mut PM_STARTTILEBLOB) -> windows_core::Result<()> { @@ -4205,15 +4205,15 @@ pub struct IPMEnumerationManager_Vtbl { pub get_AllBackgroundServiceAgents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, PM_ENUM_FILTER) -> windows_core::HRESULT, pub get_AllBackgroundWorkers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, PM_ENUM_FILTER) -> windows_core::HRESULT, pub get_ApplicationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_TileInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_TaskInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_TileInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_TaskInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_TaskInfoEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_BackgroundServiceAgentInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AllLiveTileJobs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_LiveTileJob: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit, PM_LIVETILE_RECURRENCE_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_LiveTileJob: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit, PM_LIVETILE_RECURRENCE_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_ApplicationInfoExternal: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_FileHandlerGenericLogo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, PM_LOGO_SIZE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_ApplicationInfoFromAccessClaims: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_FileHandlerGenericLogo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, PM_LOGO_SIZE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ApplicationInfoFromAccessClaims: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_StartTileEnumeratorBlob: unsafe extern "system" fn(*mut core::ffi::c_void, PM_ENUM_FILTER, *mut u32, *mut *mut PM_STARTTILEBLOB) -> windows_core::HRESULT, pub get_StartAppEnumeratorBlob: unsafe extern "system" fn(*mut core::ffi::c_void, PM_ENUM_FILTER, *mut u32, *mut *mut PM_STARTAPPBLOB) -> windows_core::HRESULT, } @@ -4221,13 +4221,13 @@ windows_core::imp::define_interface!(IPMExtensionCachedFileUpdaterInfo, IPMExten impl std::ops::Deref for IPMExtensionCachedFileUpdaterInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMExtensionCachedFileUpdaterInfo, windows_core::IUnknown); impl IPMExtensionCachedFileUpdaterInfo { pub unsafe fn SupportsUpdates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportsUpdates)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4240,7 +4240,7 @@ windows_core::imp::define_interface!(IPMExtensionContractInfo, IPMExtensionContr impl std::ops::Deref for IPMExtensionContractInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMExtensionContractInfo, windows_core::IUnknown); @@ -4252,13 +4252,13 @@ impl IPMExtensionContractInfo { #[repr(C)] pub struct IPMExtensionContractInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionFileExtensionInfo, IPMExtensionFileExtensionInfo_Vtbl, 0x6b87cb6c_0b88_4989_a4ec_033714f710d4); impl std::ops::Deref for IPMExtensionFileExtensionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMExtensionFileExtensionInfo, windows_core::IUnknown); @@ -4294,19 +4294,19 @@ impl IPMExtensionFileExtensionInfo { #[repr(C)] pub struct IPMExtensionFileExtensionInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Logo: unsafe extern "system" fn(*mut core::ffi::c_void, PM_LOGO_SIZE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_FileType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Logo: unsafe extern "system" fn(*mut core::ffi::c_void, PM_LOGO_SIZE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_FileType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub get_AllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::BSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionFileOpenPickerInfo, IPMExtensionFileOpenPickerInfo_Vtbl, 0x6dc91d25_9606_420c_9a78_e034a3418345); impl std::ops::Deref for IPMExtensionFileOpenPickerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMExtensionFileOpenPickerInfo, windows_core::IUnknown); @@ -4315,7 +4315,7 @@ impl IPMExtensionFileOpenPickerInfo { (windows_core::Interface::vtable(self).get_AllFileTypes)(windows_core::Interface::as_raw(self), pctypes, pptypes).ok() } pub unsafe fn SupportsAllFileTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportsAllFileTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4329,7 +4329,7 @@ windows_core::imp::define_interface!(IPMExtensionFileSavePickerInfo, IPMExtensio impl std::ops::Deref for IPMExtensionFileSavePickerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMExtensionFileSavePickerInfo, windows_core::IUnknown); @@ -4338,7 +4338,7 @@ impl IPMExtensionFileSavePickerInfo { (windows_core::Interface::vtable(self).get_AllFileTypes)(windows_core::Interface::as_raw(self), pctypes, pptypes).ok() } pub unsafe fn SupportsAllFileTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportsAllFileTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4352,13 +4352,13 @@ windows_core::imp::define_interface!(IPMExtensionInfo, IPMExtensionInfo_Vtbl, 0x impl std::ops::Deref for IPMExtensionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMExtensionInfo, windows_core::IUnknown); impl IPMExtensionInfo { pub unsafe fn SupplierPID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupplierPID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SupplierTaskID(&self, psuppliertid: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4381,23 +4381,23 @@ impl IPMExtensionInfo { pub struct IPMExtensionInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SupplierPID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub SupplierTaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IconPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExtraFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SupplierTaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IconPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtraFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionInfoEnumerator, IPMExtensionInfoEnumerator_Vtbl, 0x403b9e82_1171_4573_8e6f_6f33f39b83dd); impl std::ops::Deref for IPMExtensionInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMExtensionInfoEnumerator, windows_core::IUnknown); impl IPMExtensionInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4410,7 +4410,7 @@ windows_core::imp::define_interface!(IPMExtensionProtocolInfo, IPMExtensionProto impl std::ops::Deref for IPMExtensionProtocolInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMExtensionProtocolInfo, windows_core::IUnknown); @@ -4425,14 +4425,14 @@ impl IPMExtensionProtocolInfo { #[repr(C)] pub struct IPMExtensionProtocolInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionShareTargetInfo, IPMExtensionShareTargetInfo_Vtbl, 0x5471f48b_c65c_4656_8c70_242e31195fea); impl std::ops::Deref for IPMExtensionShareTargetInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMExtensionShareTargetInfo, windows_core::IUnknown); @@ -4444,7 +4444,7 @@ impl IPMExtensionShareTargetInfo { (windows_core::Interface::vtable(self).get_AllDataFormats)(windows_core::Interface::as_raw(self), pcdataformats, ppdataformats).ok() } pub unsafe fn SupportsAllFileTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportsAllFileTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4459,41 +4459,41 @@ windows_core::imp::define_interface!(IPMLiveTileJobInfo, IPMLiveTileJobInfo_Vtbl impl std::ops::Deref for IPMLiveTileJobInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMLiveTileJobInfo, windows_core::IUnknown); impl IPMLiveTileJobInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TileID(&self, ptileid: *mut windows_core::BSTR) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).TileID)(windows_core::Interface::as_raw(self), core::mem::transmute(ptileid)).ok() } pub unsafe fn NextSchedule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextSchedule)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_NextSchedule(&self, ftnextschedule: super::super::Foundation::FILETIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).set_NextSchedule)(windows_core::Interface::as_raw(self), core::mem::transmute(ftnextschedule)).ok() } pub unsafe fn StartSchedule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartSchedule)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_StartSchedule(&self, ftstartschedule: super::super::Foundation::FILETIME) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IntervalDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_IntervalDuration(&self, ulintervalduration: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).set_IntervalDuration)(windows_core::Interface::as_raw(self), ulintervalduration).ok() } pub unsafe fn RunForever(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RunForever)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_RunForever(&self, frunforever: P0) -> windows_core::Result<()> @@ -4503,21 +4503,21 @@ impl IPMLiveTileJobInfo { (windows_core::Interface::vtable(self).set_RunForever)(windows_core::Interface::as_raw(self), frunforever.param().abi()).ok() } pub unsafe fn MaxRunCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxRunCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RunCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecurrenceType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_RecurrenceType(&self, ulrecurrencetype: u32) -> windows_core::Result<()> { @@ -4536,14 +4536,14 @@ impl IPMLiveTileJobInfo { (windows_core::Interface::vtable(self).set_UrlXML)(windows_core::Interface::as_raw(self), core::mem::transmute(purlxml.as_ptr()), purlxml.len().try_into().unwrap()).ok() } pub unsafe fn AttemptCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttemptCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_DownloadState(&self, uldownloadstate: u32) -> windows_core::Result<()> { @@ -4554,7 +4554,7 @@ impl IPMLiveTileJobInfo { pub struct IPMLiveTileJobInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProductID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub TileID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TileID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NextSchedule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub set_NextSchedule: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub StartSchedule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, @@ -4582,13 +4582,13 @@ windows_core::imp::define_interface!(IPMLiveTileJobInfoEnumerator, IPMLiveTileJo impl std::ops::Deref for IPMLiveTileJobInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMLiveTileJobInfoEnumerator, windows_core::IUnknown); impl IPMLiveTileJobInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4601,13 +4601,13 @@ windows_core::imp::define_interface!(IPMTaskInfo, IPMTaskInfo_Vtbl, 0xbf1d8c33_1 impl std::ops::Deref for IPMTaskInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMTaskInfo, windows_core::IUnknown); impl IPMTaskInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TaskID(&self, ptaskid: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4617,19 +4617,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TaskTransition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RuntimeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RuntimeType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ActivationPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivationPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TaskType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TaskType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_InvocationInfo(&self, pimageurn: *mut windows_core::BSTR, pparameters: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4648,37 +4648,37 @@ impl IPMTaskInfo { (windows_core::Interface::vtable(self).DataRootFolder)(windows_core::Interface::as_raw(self), core::mem::transmute(pdatarootfolder)).ok() } pub unsafe fn IsSingleInstanceHost(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSingleInstanceHost)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsInteropEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInteropEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ApplicationState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InstallType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstallType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), ptargetmajorversion, ptargetminorversion).ok() } pub unsafe fn BitsPerPixel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BitsPerPixel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SuppressesDehydration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SuppressesDehydration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BackgroundExecutionAbilities(&self, pbackgroundexecutionabilities: *mut windows_core::BSTR) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).BackgroundExecutionAbilities)(windows_core::Interface::as_raw(self), core::mem::transmute(pbackgroundexecutionabilities)).ok() } pub unsafe fn IsOptedForExtendedMem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOptedForExtendedMem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4686,17 +4686,17 @@ impl IPMTaskInfo { pub struct IPMTaskInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProductID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub TaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NavigationPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NavigationPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TaskTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PM_TASK_TRANSITION) -> windows_core::HRESULT, pub RuntimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PACKMAN_RUNTIME) -> windows_core::HRESULT, pub ActivationPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PM_ACTIVATION_POLICY) -> windows_core::HRESULT, pub TaskType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PM_TASK_TYPE) -> windows_core::HRESULT, - pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImagePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImageParams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InstallRootFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DataRootFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImagePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImageParams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallRootFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DataRootFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsSingleInstanceHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsInteropEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ApplicationState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PM_APPLICATION_STATE) -> windows_core::HRESULT, @@ -4704,20 +4704,20 @@ pub struct IPMTaskInfo_Vtbl { pub get_Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, pub BitsPerPixel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub SuppressesDehydration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub BackgroundExecutionAbilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BackgroundExecutionAbilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsOptedForExtendedMem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMTaskInfoEnumerator, IPMTaskInfoEnumerator_Vtbl, 0x0630b0f8_0bbc_4821_be74_c7995166ed2a); impl std::ops::Deref for IPMTaskInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMTaskInfoEnumerator, windows_core::IUnknown); impl IPMTaskInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4730,62 +4730,62 @@ windows_core::imp::define_interface!(IPMTileInfo, IPMTileInfo_Vtbl, 0xd1604833_2 impl std::ops::Deref for IPMTileInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMTileInfo, windows_core::IUnknown); impl IPMTileInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TileID(&self, ptileid: *mut windows_core::BSTR) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TemplateType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_HubPinnedState(&self, hubtype: PM_TILE_HUBTYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_HubPinnedState)(windows_core::Interface::as_raw(self), hubtype, &mut result__).map(|| result__) } pub unsafe fn get_HubPosition(&self, hubtype: PM_TILE_HUBTYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_HubPosition)(windows_core::Interface::as_raw(self), hubtype, &mut result__).map(|| result__) } pub unsafe fn IsNotified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsNotified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDefault(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDefault)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TaskID(&self, ptaskid: *mut windows_core::BSTR) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TileType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsThemable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsThemable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_PropertyById(&self, propid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PropertyById)(windows_core::Interface::as_raw(self), propid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_InvocationInfo(&self, pimageurn: *mut windows_core::BSTR, pparameters: *mut windows_core::BSTR) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_HubTileSize(&self, hubtype: PM_TILE_HUBTYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_HubTileSize)(windows_core::Interface::as_raw(self), hubtype, &mut result__).map(|| result__) } pub unsafe fn set_HubPosition(&self, hubtype: PM_TILE_HUBTYPE, position: u32) -> windows_core::Result<()> { @@ -4817,11 +4817,11 @@ impl IPMTileInfo { (windows_core::Interface::vtable(self).StartTileBlob)(windows_core::Interface::as_raw(self), pblob).ok() } pub unsafe fn IsRestoring(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRestoring)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsAutoRestoreDisabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAutoRestoreDisabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn set_IsRestoring(&self, restoring: P0) -> windows_core::Result<()> @@ -4841,24 +4841,24 @@ impl IPMTileInfo { pub struct IPMTileInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProductID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub TileID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TileID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TemplateType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TILE_TEMPLATE_TYPE) -> windows_core::HRESULT, pub get_HubPinnedState: unsafe extern "system" fn(*mut core::ffi::c_void, PM_TILE_HUBTYPE, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub get_HubPosition: unsafe extern "system" fn(*mut core::ffi::c_void, PM_TILE_HUBTYPE, *mut u32) -> windows_core::HRESULT, pub IsNotified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub TaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TileType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PM_STARTTILE_TYPE) -> windows_core::HRESULT, pub IsThemable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub get_PropertyById: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PropertyEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_HubTileSize: unsafe extern "system" fn(*mut core::ffi::c_void, PM_TILE_HUBTYPE, *mut PM_TILE_SIZE) -> windows_core::HRESULT, pub set_HubPosition: unsafe extern "system" fn(*mut core::ffi::c_void, PM_TILE_HUBTYPE, u32) -> windows_core::HRESULT, pub set_NotifiedState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub set_HubPinnedState: unsafe extern "system" fn(*mut core::ffi::c_void, PM_TILE_HUBTYPE, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub set_HubTileSize: unsafe extern "system" fn(*mut core::ffi::c_void, PM_TILE_HUBTYPE, PM_TILE_SIZE) -> windows_core::HRESULT, - pub set_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub set_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartTileBlob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PM_STARTTILEBLOB) -> windows_core::HRESULT, pub IsRestoring: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsAutoRestoreDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -4869,13 +4869,13 @@ windows_core::imp::define_interface!(IPMTileInfoEnumerator, IPMTileInfoEnumerato impl std::ops::Deref for IPMTileInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMTileInfoEnumerator, windows_core::IUnknown); impl IPMTileInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4888,13 +4888,13 @@ windows_core::imp::define_interface!(IPMTilePropertyEnumerator, IPMTilePropertyE impl std::ops::Deref for IPMTilePropertyEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMTilePropertyEnumerator, windows_core::IUnknown); impl IPMTilePropertyEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4907,13 +4907,13 @@ windows_core::imp::define_interface!(IPMTilePropertyInfo, IPMTilePropertyInfo_Vt impl std::ops::Deref for IPMTilePropertyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPMTilePropertyInfo, windows_core::IUnknown); impl IPMTilePropertyInfo { pub unsafe fn PropertyID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PropertyValue(&self, ppropvalue: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4930,14 +4930,14 @@ impl IPMTilePropertyInfo { pub struct IPMTilePropertyInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PropertyID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub PropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub set_Property: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub set_Property: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IValidate, IValidate_Vtbl, 0xe482e5c6_e31e_4143_a2e6_dbc3d8e4b8d3); impl std::ops::Deref for IValidate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IValidate, windows_core::IUnknown); @@ -7910,7 +7910,7 @@ impl Default for PM_APPTASKTYPE { #[derive(Debug, Eq, PartialEq)] pub struct PM_BSATASKID { pub ProductID: windows_core::GUID, - pub TaskID: std::mem::ManuallyDrop, + pub TaskID: core::mem::ManuallyDrop, } impl Clone for PM_BSATASKID { fn clone(&self) -> Self { @@ -7929,7 +7929,7 @@ impl Default for PM_BSATASKID { #[derive(Debug, Eq, PartialEq)] pub struct PM_BWTASKID { pub ProductID: windows_core::GUID, - pub TaskID: std::mem::ManuallyDrop, + pub TaskID: core::mem::ManuallyDrop, } impl Clone for PM_BWTASKID { fn clone(&self) -> Self { @@ -7972,15 +7972,15 @@ pub union PM_ENUM_FILTER_0 { pub TaskProductID: windows_core::GUID, pub TileProductID: windows_core::GUID, pub AppTaskType: PM_APPTASKTYPE, - pub Consumer: std::mem::ManuallyDrop, - pub BSATask: std::mem::ManuallyDrop, + pub Consumer: core::mem::ManuallyDrop, + pub BSATask: core::mem::ManuallyDrop, pub BSAProductID: windows_core::GUID, - pub BWTask: std::mem::ManuallyDrop, - pub ProtocolName: std::mem::ManuallyDrop, - pub FileType: std::mem::ManuallyDrop, - pub ContentType: std::mem::ManuallyDrop, + pub BWTask: core::mem::ManuallyDrop, + pub ProtocolName: core::mem::ManuallyDrop, + pub FileType: core::mem::ManuallyDrop, + pub ContentType: core::mem::ManuallyDrop, pub AppSupportedFileExtPID: windows_core::GUID, - pub ShareTargetFileType: std::mem::ManuallyDrop, + pub ShareTargetFileType: core::mem::ManuallyDrop, } impl Clone for PM_ENUM_FILTER_0 { fn clone(&self) -> Self { @@ -7999,7 +7999,7 @@ impl Default for PM_ENUM_FILTER_0 { #[derive(Debug, Eq, PartialEq)] pub struct PM_EXTENSIONCONSUMER { pub ConsumerPID: windows_core::GUID, - pub ExtensionID: std::mem::ManuallyDrop, + pub ExtensionID: core::mem::ManuallyDrop, } impl Clone for PM_EXTENSIONCONSUMER { fn clone(&self) -> Self { @@ -8018,14 +8018,14 @@ impl Default for PM_EXTENSIONCONSUMER { #[derive(Debug, Eq, PartialEq)] pub struct PM_INSTALLINFO { pub ProductID: windows_core::GUID, - pub PackagePath: std::mem::ManuallyDrop, + pub PackagePath: core::mem::ManuallyDrop, pub InstanceID: windows_core::GUID, pub pbLicense: *mut u8, pub cbLicense: u32, pub IsUninstallDisabled: super::super::Foundation::BOOL, pub DeploymentOptions: u32, pub OfferID: windows_core::GUID, - pub MarketplaceAppVersion: std::mem::ManuallyDrop, + pub MarketplaceAppVersion: core::mem::ManuallyDrop, } impl Clone for PM_INSTALLINFO { fn clone(&self) -> Self { @@ -8043,8 +8043,8 @@ impl Default for PM_INSTALLINFO { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct PM_INVOCATIONINFO { - pub URIBaseOrAUMID: std::mem::ManuallyDrop, - pub URIFragmentOrArgs: std::mem::ManuallyDrop, + pub URIBaseOrAUMID: core::mem::ManuallyDrop, + pub URIFragmentOrArgs: core::mem::ManuallyDrop, } impl Clone for PM_INVOCATIONINFO { fn clone(&self) -> Self { @@ -8064,8 +8064,8 @@ impl Default for PM_INVOCATIONINFO { pub struct PM_STARTAPPBLOB { pub cbSize: u32, pub ProductID: windows_core::GUID, - pub AppTitle: std::mem::ManuallyDrop, - pub IconPath: std::mem::ManuallyDrop, + pub AppTitle: core::mem::ManuallyDrop, + pub IconPath: core::mem::ManuallyDrop, pub IsUninstallable: super::super::Foundation::BOOL, pub AppInstallType: PM_APPLICATION_INSTALL_TYPE, pub InstanceID: windows_core::GUID, @@ -8092,7 +8092,7 @@ impl Default for PM_STARTAPPBLOB { pub struct PM_STARTTILEBLOB { pub cbSize: u32, pub ProductID: windows_core::GUID, - pub TileID: std::mem::ManuallyDrop, + pub TileID: core::mem::ManuallyDrop, pub TemplateType: TILE_TEMPLATE_TYPE, pub HubPosition: [u32; 32], pub HubVisibilityBitmask: u32, @@ -8121,11 +8121,11 @@ impl Default for PM_STARTTILEBLOB { #[derive(Debug, Eq, PartialEq)] pub struct PM_UPDATEINFO { pub ProductID: windows_core::GUID, - pub PackagePath: std::mem::ManuallyDrop, + pub PackagePath: core::mem::ManuallyDrop, pub InstanceID: windows_core::GUID, pub pbLicense: *mut u8, pub cbLicense: u32, - pub MarketplaceAppVersion: std::mem::ManuallyDrop, + pub MarketplaceAppVersion: core::mem::ManuallyDrop, pub DeploymentOptions: u32, } impl Clone for PM_UPDATEINFO { @@ -8145,11 +8145,11 @@ impl Default for PM_UPDATEINFO { #[derive(Debug, Eq, PartialEq)] pub struct PM_UPDATEINFO_LEGACY { pub ProductID: windows_core::GUID, - pub PackagePath: std::mem::ManuallyDrop, + pub PackagePath: core::mem::ManuallyDrop, pub InstanceID: windows_core::GUID, pub pbLicense: *mut u8, pub cbLicense: u32, - pub MarketplaceAppVersion: std::mem::ManuallyDrop, + pub MarketplaceAppVersion: core::mem::ManuallyDrop, } impl Clone for PM_UPDATEINFO_LEGACY { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs index 658f4c31bb..3b4bc79b83 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs @@ -77,7 +77,7 @@ impl IProvideWinSATAssessmentInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Title, Impl: IProvideWinSATAssessmentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, title: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IProvideWinSATAssessmentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, title: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IProvideWinSATAssessmentInfo_Impl::Title(this) { @@ -88,7 +88,7 @@ impl IProvideWinSATAssessmentInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IProvideWinSATAssessmentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IProvideWinSATAssessmentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IProvideWinSATAssessmentInfo_Impl::Description(this) { @@ -145,7 +145,7 @@ impl IProvideWinSATResultsInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AssessmentDateTime, Impl: IProvideWinSATResultsInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filetime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AssessmentDateTime, Impl: IProvideWinSATResultsInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filetime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IProvideWinSATResultsInfo_Impl::AssessmentDateTime(this) { @@ -167,7 +167,7 @@ impl IProvideWinSATResultsInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RatingStateDesc, Impl: IProvideWinSATResultsInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RatingStateDesc, Impl: IProvideWinSATResultsInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IProvideWinSATResultsInfo_Impl::RatingStateDesc(this) { @@ -226,7 +226,7 @@ impl windows_core::RuntimeName for IQueryAllWinSATAssessments {} #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] impl IQueryAllWinSATAssessments_Vtbl { pub const fn new, Impl: IQueryAllWinSATAssessments_Impl, const OFFSET: isize>() -> IQueryAllWinSATAssessments_Vtbl { - unsafe extern "system" fn get_AllXML, Impl: IQueryAllWinSATAssessments_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: std::mem::MaybeUninit, namespaces: std::mem::MaybeUninit, ppdomnodelist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_AllXML, Impl: IQueryAllWinSATAssessments_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: core::mem::MaybeUninit, namespaces: core::mem::MaybeUninit, ppdomnodelist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IQueryAllWinSATAssessments_Impl::get_AllXML(this, core::mem::transmute(&xpath), core::mem::transmute(&namespaces)) { @@ -276,7 +276,7 @@ impl windows_core::RuntimeName for IQueryRecentWinSATAssessment {} #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] impl IQueryRecentWinSATAssessment_Vtbl { pub const fn new, Impl: IQueryRecentWinSATAssessment_Impl, const OFFSET: isize>() -> IQueryRecentWinSATAssessment_Vtbl { - unsafe extern "system" fn get_XML, Impl: IQueryRecentWinSATAssessment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: std::mem::MaybeUninit, namespaces: std::mem::MaybeUninit, ppdomnodelist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_XML, Impl: IQueryRecentWinSATAssessment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xpath: core::mem::MaybeUninit, namespaces: core::mem::MaybeUninit, ppdomnodelist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IQueryRecentWinSATAssessment_Impl::get_XML(this, core::mem::transmute(&xpath), core::mem::transmute(&namespaces)) { 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 9e2ac1ab0d..30d2c5e05d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IAccessibleWinSAT, IAccessibleWinSAT_Vtbl, impl std::ops::Deref for IAccessibleWinSAT { type Target = super::super::UI::Accessibility::IAccessible; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] @@ -30,7 +30,7 @@ windows_core::imp::define_interface!(IInitiateWinSATAssessment, IInitiateWinSATA impl std::ops::Deref for IInitiateWinSATAssessment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitiateWinSATAssessment, windows_core::IUnknown); @@ -67,7 +67,7 @@ windows_core::imp::define_interface!(IProvideWinSATAssessmentInfo, IProvideWinSA impl std::ops::Deref for IProvideWinSATAssessmentInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -75,15 +75,15 @@ windows_core::imp::interface_hierarchy!(IProvideWinSATAssessmentInfo, windows_co #[cfg(feature = "Win32_System_Com")] impl IProvideWinSATAssessmentInfo { pub unsafe fn Score(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Score)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -92,8 +92,8 @@ impl IProvideWinSATAssessmentInfo { pub struct IProvideWinSATAssessmentInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Score: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IProvideWinSATResultsInfo, IProvideWinSATResultsInfo_Vtbl, 0xf8334d5d_568e_4075_875f_9df341506640); @@ -101,7 +101,7 @@ windows_core::imp::define_interface!(IProvideWinSATResultsInfo, IProvideWinSATRe impl std::ops::Deref for IProvideWinSATResultsInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -110,23 +110,23 @@ windows_core::imp::interface_hierarchy!(IProvideWinSATResultsInfo, windows_core: impl IProvideWinSATResultsInfo { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAssessmentInfo(&self, assessment: WINSAT_ASSESSMENT_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAssessmentInfo)(windows_core::Interface::as_raw(self), assessment, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AssessmentState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssessmentState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AssessmentDateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssessmentDateTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SystemRating(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SystemRating)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RatingStateDesc(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RatingStateDesc)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -139,22 +139,22 @@ pub struct IProvideWinSATResultsInfo_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetAssessmentInfo: usize, pub AssessmentState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WINSAT_ASSESSMENT_STATE) -> windows_core::HRESULT, - pub AssessmentDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AssessmentDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SystemRating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, - pub RatingStateDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RatingStateDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvideWinSATVisuals, IProvideWinSATVisuals_Vtbl, 0xa9f4ade0_871a_42a3_b813_3078d25162c9); impl std::ops::Deref for IProvideWinSATVisuals { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvideWinSATVisuals, windows_core::IUnknown); impl IProvideWinSATVisuals { #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Bitmap)(windows_core::Interface::as_raw(self), bitmapsize, state, rating, &mut result__).map(|| result__) } } @@ -172,7 +172,7 @@ windows_core::imp::define_interface!(IQueryAllWinSATAssessments, IQueryAllWinSAT impl std::ops::Deref for IQueryAllWinSATAssessments { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -185,7 +185,7 @@ impl IQueryAllWinSATAssessments { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AllXML)(windows_core::Interface::as_raw(self), xpath.param().abi(), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -194,7 +194,7 @@ impl IQueryAllWinSATAssessments { pub struct IQueryAllWinSATAssessments_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] - pub get_AllXML: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_AllXML: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] get_AllXML: usize, } @@ -202,13 +202,13 @@ windows_core::imp::define_interface!(IQueryOEMWinSATCustomization, IQueryOEMWinS impl std::ops::Deref for IQueryOEMWinSATCustomization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryOEMWinSATCustomization, windows_core::IUnknown); impl IQueryOEMWinSATCustomization { pub unsafe fn GetOEMPrePopulationInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOEMPrePopulationInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -223,7 +223,7 @@ windows_core::imp::define_interface!(IQueryRecentWinSATAssessment, IQueryRecentW impl std::ops::Deref for IQueryRecentWinSATAssessment { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -236,12 +236,12 @@ impl IQueryRecentWinSATAssessment { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_XML)(windows_core::Interface::as_raw(self), xpath.param().abi(), namespaces.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Info(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Info)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -250,7 +250,7 @@ impl IQueryRecentWinSATAssessment { pub struct IQueryRecentWinSATAssessment_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] - pub get_XML: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_XML: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] get_XML: usize, #[cfg(feature = "Win32_System_Com")] @@ -262,7 +262,7 @@ windows_core::imp::define_interface!(IWinSATInitiateEvents, IWinSATInitiateEvent impl std::ops::Deref for IWinSATInitiateEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinSATInitiateEvents, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs index ea9a053259..c3000aac85 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs @@ -3217,7 +3217,7 @@ pub trait IManagedObject_Impl: Sized { impl windows_core::RuntimeName for IManagedObject {} impl IManagedObject_Vtbl { pub const fn new, Impl: IManagedObject_Impl, const OFFSET: isize>() -> IManagedObject_Vtbl { - unsafe extern "system" fn GetSerializedBuffer, Impl: IManagedObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSerializedBuffer, Impl: IManagedObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IManagedObject_Impl::GetSerializedBuffer(this) { @@ -3228,7 +3228,7 @@ impl IManagedObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetObjectIdentity, Impl: IManagedObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguid: *mut std::mem::MaybeUninit, appdomainid: *mut i32, pccw: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetObjectIdentity, Impl: IManagedObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguid: *mut core::mem::MaybeUninit, appdomainid: *mut i32, pccw: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IManagedObject_Impl::GetObjectIdentity(this, core::mem::transmute_copy(&pbstrguid), core::mem::transmute_copy(&appdomainid), core::mem::transmute_copy(&pccw)).into() @@ -3249,7 +3249,7 @@ pub trait IObjectHandle_Impl: Sized { impl windows_core::RuntimeName for IObjectHandle {} impl IObjectHandle_Vtbl { pub const fn new, Impl: IObjectHandle_Impl, const OFFSET: isize>() -> IObjectHandle_Vtbl { - unsafe extern "system" fn Unwrap, Impl: IObjectHandle_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppv: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Unwrap, Impl: IObjectHandle_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppv: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IObjectHandle_Impl::Unwrap(this) { @@ -3289,7 +3289,7 @@ impl ITypeName_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetNames, Impl: ITypeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, count: u32, rgbsznames: *mut std::mem::MaybeUninit, pcount: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetNames, Impl: ITypeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, count: u32, rgbsznames: *mut core::mem::MaybeUninit, pcount: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeName_Impl::GetNames(this, core::mem::transmute_copy(&count), core::mem::transmute_copy(&rgbsznames)) { @@ -3344,7 +3344,7 @@ impl ITypeName_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAssemblyName, Impl: ITypeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rgbszassemblynames: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAssemblyName, Impl: ITypeName_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rgbszassemblynames: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeName_Impl::GetAssemblyName(this) { @@ -3437,7 +3437,7 @@ impl ITypeNameBuilder_Vtbl { let this = (*this).get_impl(); ITypeNameBuilder_Impl::AddAssemblySpec(this, core::mem::transmute(&szassemblyspec)).into() } - unsafe extern "system" fn ToString, Impl: ITypeNameBuilder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszstringrepresentation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ToString, Impl: ITypeNameBuilder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszstringrepresentation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeNameBuilder_Impl::ToString(this) { diff --git a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs index 7c1f11f2c7..5d9a9395e7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs @@ -95,13 +95,13 @@ where P0: windows_core::Param, { windows_targets::link!("mscoree.dll" "system" fn CreateDebuggingInterfaceFromVersion(idebuggerversion : i32, szdebuggeeversion : windows_core::PCWSTR, ppcordb : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateDebuggingInterfaceFromVersion(idebuggerversion, szdebuggeeversion.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn GetCLRIdentityManager(riid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("mscoree.dll" "system" fn GetCLRIdentityManager(riid : *const windows_core::GUID, ppmanager : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetCLRIdentityManager(riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -217,7 +217,7 @@ windows_core::imp::define_interface!(IActionOnCLREvent, IActionOnCLREvent_Vtbl, impl std::ops::Deref for IActionOnCLREvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActionOnCLREvent, windows_core::IUnknown); @@ -235,7 +235,7 @@ windows_core::imp::define_interface!(IApartmentCallback, IApartmentCallback_Vtbl impl std::ops::Deref for IApartmentCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApartmentCallback, windows_core::IUnknown); @@ -253,7 +253,7 @@ windows_core::imp::define_interface!(IAppDomainBinding, IAppDomainBinding_Vtbl, impl std::ops::Deref for IAppDomainBinding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppDomainBinding, windows_core::IUnknown); @@ -274,7 +274,7 @@ windows_core::imp::define_interface!(ICLRAppDomainResourceMonitor, ICLRAppDomain impl std::ops::Deref for ICLRAppDomainResourceMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRAppDomainResourceMonitor, windows_core::IUnknown); @@ -300,13 +300,13 @@ windows_core::imp::define_interface!(ICLRAssemblyIdentityManager, ICLRAssemblyId impl std::ops::Deref for ICLRAssemblyIdentityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRAssemblyIdentityManager, windows_core::IUnknown); impl ICLRAssemblyIdentityManager { pub unsafe fn GetCLRAssemblyReferenceList(&self, ppwzassemblyreferences: *const windows_core::PCWSTR, dwnumofreferences: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCLRAssemblyReferenceList)(windows_core::Interface::as_raw(self), ppwzassemblyreferences, dwnumofreferences, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBindingIdentityFromFile(&self, pwzfilepath: P0, dwflags: u32, pwzbuffer: windows_core::PWSTR, pcchbuffersize: *mut u32) -> windows_core::Result<()> @@ -327,7 +327,7 @@ impl ICLRAssemblyIdentityManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReferencedAssembliesFromFile)(windows_core::Interface::as_raw(self), pwzfilepath.param().abi(), dwflags, pexcludeassemblieslist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -336,21 +336,21 @@ impl ICLRAssemblyIdentityManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReferencedAssembliesFromStream)(windows_core::Interface::as_raw(self), pstream.param().abi(), dwflags, pexcludeassemblieslist.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProbingAssembliesFromReference(&self, dwmachinetype: u32, dwflags: u32, pwzreferenceidentity: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProbingAssembliesFromReference)(windows_core::Interface::as_raw(self), dwmachinetype, dwflags, pwzreferenceidentity.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsStronglyNamed(&self, pwzassemblyidentity: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsStronglyNamed)(windows_core::Interface::as_raw(self), pwzassemblyidentity.param().abi(), &mut result__).map(|| result__) } } @@ -375,7 +375,7 @@ windows_core::imp::define_interface!(ICLRAssemblyReferenceList, ICLRAssemblyRefe impl std::ops::Deref for ICLRAssemblyReferenceList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRAssemblyReferenceList, windows_core::IUnknown); @@ -403,7 +403,7 @@ windows_core::imp::define_interface!(ICLRControl, ICLRControl_Vtbl, 0x9065597e_d impl std::ops::Deref for ICLRControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRControl, windows_core::IUnknown); @@ -429,7 +429,7 @@ windows_core::imp::define_interface!(ICLRDebugManager, ICLRDebugManager_Vtbl, 0x impl std::ops::Deref for ICLRDebugManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRDebugManager, windows_core::IUnknown); @@ -452,11 +452,11 @@ impl ICLRDebugManager { } #[cfg(feature = "Win32_Security")] pub unsafe fn GetDacl(&self) -> windows_core::Result<*mut super::super::Security::ACL> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDacl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDebuggerAttached(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDebuggerAttached)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSymbolReadingPolicy(&self, policy: ESymbolReadingPolicy) -> windows_core::Result<()> { @@ -484,7 +484,7 @@ windows_core::imp::define_interface!(ICLRDebugging, ICLRDebugging_Vtbl, 0xd28f3c impl std::ops::Deref for ICLRDebugging { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRDebugging, windows_core::IUnknown); @@ -513,7 +513,7 @@ windows_core::imp::define_interface!(ICLRDebuggingLibraryProvider, ICLRDebugging impl std::ops::Deref for ICLRDebuggingLibraryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRDebuggingLibraryProvider, windows_core::IUnknown); @@ -522,7 +522,7 @@ impl ICLRDebuggingLibraryProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProvideLibrary)(windows_core::Interface::as_raw(self), pwszfilename.param().abi(), dwtimestamp, dwsizeofimage, &mut result__).map(|| result__) } } @@ -535,7 +535,7 @@ windows_core::imp::define_interface!(ICLRDomainManager, ICLRDomainManager_Vtbl, impl std::ops::Deref for ICLRDomainManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRDomainManager, windows_core::IUnknown); @@ -561,7 +561,7 @@ windows_core::imp::define_interface!(ICLRErrorReportingManager, ICLRErrorReporti impl std::ops::Deref for ICLRErrorReportingManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRErrorReportingManager, windows_core::IUnknown); @@ -587,7 +587,7 @@ windows_core::imp::define_interface!(ICLRGCManager, ICLRGCManager_Vtbl, 0x54d900 impl std::ops::Deref for ICLRGCManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRGCManager, windows_core::IUnknown); @@ -613,7 +613,7 @@ windows_core::imp::define_interface!(ICLRGCManager2, ICLRGCManager2_Vtbl, 0x0603 impl std::ops::Deref for ICLRGCManager2 { type Target = ICLRGCManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRGCManager2, windows_core::IUnknown, ICLRGCManager); @@ -631,7 +631,7 @@ windows_core::imp::define_interface!(ICLRHostBindingPolicyManager, ICLRHostBindi impl std::ops::Deref for ICLRHostBindingPolicyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRHostBindingPolicyManager, windows_core::IUnknown); @@ -660,7 +660,7 @@ windows_core::imp::define_interface!(ICLRHostProtectionManager, ICLRHostProtecti impl std::ops::Deref for ICLRHostProtectionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRHostProtectionManager, windows_core::IUnknown); @@ -682,7 +682,7 @@ windows_core::imp::define_interface!(ICLRIoCompletionManager, ICLRIoCompletionMa impl std::ops::Deref for ICLRIoCompletionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRIoCompletionManager, windows_core::IUnknown); @@ -700,7 +700,7 @@ windows_core::imp::define_interface!(ICLRMemoryNotificationCallback, ICLRMemoryN impl std::ops::Deref for ICLRMemoryNotificationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRMemoryNotificationCallback, windows_core::IUnknown); @@ -718,7 +718,7 @@ windows_core::imp::define_interface!(ICLRMetaHost, ICLRMetaHost_Vtbl, 0xd332db9e impl std::ops::Deref for ICLRMetaHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRMetaHost, windows_core::IUnknown); @@ -739,7 +739,7 @@ impl ICLRMetaHost { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumerateInstalledRuntimes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateInstalledRuntimes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -747,7 +747,7 @@ impl ICLRMetaHost { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateLoadedRuntimes)(windows_core::Interface::as_raw(self), hndprocess.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestRuntimeLoadedNotification(&self, pcallbackfunction: RuntimeLoadedCallbackFnPtr) -> windows_core::Result<()> { @@ -785,7 +785,7 @@ windows_core::imp::define_interface!(ICLRMetaHostPolicy, ICLRMetaHostPolicy_Vtbl impl std::ops::Deref for ICLRMetaHostPolicy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRMetaHostPolicy, windows_core::IUnknown); @@ -813,7 +813,7 @@ windows_core::imp::define_interface!(ICLROnEventManager, ICLROnEventManager_Vtbl impl std::ops::Deref for ICLROnEventManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLROnEventManager, windows_core::IUnknown); @@ -841,7 +841,7 @@ windows_core::imp::define_interface!(ICLRPolicyManager, ICLRPolicyManager_Vtbl, impl std::ops::Deref for ICLRPolicyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRPolicyManager, windows_core::IUnknown); @@ -879,7 +879,7 @@ windows_core::imp::define_interface!(ICLRProbingAssemblyEnum, ICLRProbingAssembl impl std::ops::Deref for ICLRProbingAssemblyEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRProbingAssemblyEnum, windows_core::IUnknown); @@ -897,7 +897,7 @@ windows_core::imp::define_interface!(ICLRProfiling, ICLRProfiling_Vtbl, 0xb349ab impl std::ops::Deref for ICLRProfiling { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRProfiling, windows_core::IUnknown); @@ -918,7 +918,7 @@ windows_core::imp::define_interface!(ICLRReferenceAssemblyEnum, ICLRReferenceAss impl std::ops::Deref for ICLRReferenceAssemblyEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRReferenceAssemblyEnum, windows_core::IUnknown); @@ -936,7 +936,7 @@ windows_core::imp::define_interface!(ICLRRuntimeHost, ICLRRuntimeHost_Vtbl, 0x90 impl std::ops::Deref for ICLRRuntimeHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRRuntimeHost, windows_core::IUnknown); @@ -954,7 +954,7 @@ impl ICLRRuntimeHost { (windows_core::Interface::vtable(self).SetHostControl)(windows_core::Interface::as_raw(self), phostcontrol.param().abi()).ok() } pub unsafe fn GetCLRControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCLRControl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnloadAppDomain(&self, dwappdomainid: u32, fwaituntildone: P0) -> windows_core::Result<()> @@ -967,14 +967,14 @@ impl ICLRRuntimeHost { (windows_core::Interface::vtable(self).ExecuteInAppDomain)(windows_core::Interface::as_raw(self), dwappdomainid, pcallback, cookie).ok() } pub unsafe fn GetCurrentAppDomainId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentAppDomainId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExecuteApplication(&self, pwzappfullname: P0, dwmanifestpaths: u32, ppwzmanifestpaths: *const windows_core::PCWSTR, dwactivationdata: u32, ppwzactivationdata: *const windows_core::PCWSTR) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecuteApplication)(windows_core::Interface::as_raw(self), pwzappfullname.param().abi(), dwmanifestpaths, ppwzmanifestpaths, dwactivationdata, ppwzactivationdata, &mut result__).map(|| result__) } pub unsafe fn ExecuteInDefaultAppDomain(&self, pwzassemblypath: P0, pwztypename: P1, pwzmethodname: P2, pwzargument: P3) -> windows_core::Result @@ -984,7 +984,7 @@ impl ICLRRuntimeHost { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecuteInDefaultAppDomain)(windows_core::Interface::as_raw(self), pwzassemblypath.param().abi(), pwztypename.param().abi(), pwzmethodname.param().abi(), pwzargument.param().abi(), &mut result__).map(|| result__) } } @@ -1005,7 +1005,7 @@ windows_core::imp::define_interface!(ICLRRuntimeInfo, ICLRRuntimeInfo_Vtbl, 0xbd impl std::ops::Deref for ICLRRuntimeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRRuntimeInfo, windows_core::IUnknown); @@ -1020,7 +1020,7 @@ impl ICLRRuntimeInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLoaded)(windows_core::Interface::as_raw(self), hndprocess.param().abi(), &mut result__).map(|| result__) } pub unsafe fn LoadErrorString(&self, iresourceid: u32, pwzbuffer: windows_core::PWSTR, pcchbuffer: *mut u32, ilocaleid: i32) -> windows_core::Result<()> { @@ -1030,14 +1030,14 @@ impl ICLRRuntimeInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadLibraryA)(windows_core::Interface::as_raw(self), pwzdllname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetProcAddress(&self, pszprocname: P0) -> windows_core::Result<*mut core::ffi::c_void> where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcAddress)(windows_core::Interface::as_raw(self), pszprocname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetInterface(&self, rclsid: *const windows_core::GUID) -> windows_core::Result @@ -1048,7 +1048,7 @@ impl ICLRRuntimeInfo { (windows_core::Interface::vtable(self).GetInterface)(windows_core::Interface::as_raw(self), rclsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsLoadable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLoadable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefaultStartupFlags(&self, dwstartupflags: u32, pwzhostconfigfile: P0) -> windows_core::Result<()> @@ -1087,7 +1087,7 @@ windows_core::imp::define_interface!(ICLRStrongName, ICLRStrongName_Vtbl, 0x9fd9 impl std::ops::Deref for ICLRStrongName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRStrongName, windows_core::IUnknown); @@ -1130,7 +1130,7 @@ impl ICLRStrongName { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrongNameCompareAssemblies)(windows_core::Interface::as_raw(self), pwzassembly1.param().abi(), pwzassembly2.param().abi(), &mut result__).map(|| result__) } pub unsafe fn StrongNameFreeBuffer(&self, pbmemory: *const u8) -> windows_core::Result<()> { @@ -1152,7 +1152,7 @@ impl ICLRStrongName { (windows_core::Interface::vtable(self).StrongNameGetPublicKey)(windows_core::Interface::as_raw(self), pwzkeycontainer.param().abi(), pbkeyblob, cbkeyblob, ppbpublickeyblob, pcbpublickeyblob).ok() } pub unsafe fn StrongNameHashSize(&self, ulhashalg: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrongNameHashSize)(windows_core::Interface::as_raw(self), ulhashalg, &mut result__).map(|| result__) } pub unsafe fn StrongNameKeyDelete(&self, pwzkeycontainer: P0) -> windows_core::Result<()> @@ -1200,7 +1200,7 @@ impl ICLRStrongName { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrongNameSignatureVerification)(windows_core::Interface::as_raw(self), pwzfilepath.param().abi(), dwinflags, &mut result__).map(|| result__) } pub unsafe fn StrongNameSignatureVerificationEx(&self, pwzfilepath: P0, fforceverification: P1) -> windows_core::Result @@ -1208,11 +1208,11 @@ impl ICLRStrongName { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrongNameSignatureVerificationEx)(windows_core::Interface::as_raw(self), pwzfilepath.param().abi(), fforceverification.param().abi(), &mut result__).map(|| result__) } pub unsafe fn StrongNameSignatureVerificationFromImage(&self, pbbase: *const u8, dwlength: u32, dwinflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrongNameSignatureVerificationFromImage)(windows_core::Interface::as_raw(self), pbbase, dwlength, dwinflags, &mut result__).map(|| result__) } pub unsafe fn StrongNameTokenFromAssembly(&self, pwzfilepath: P0, ppbstrongnametoken: *mut *mut u8, pcbstrongnametoken: *mut u32) -> windows_core::Result<()> @@ -1264,7 +1264,7 @@ windows_core::imp::define_interface!(ICLRStrongName2, ICLRStrongName2_Vtbl, 0xc2 impl std::ops::Deref for ICLRStrongName2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRStrongName2, windows_core::IUnknown); @@ -1280,7 +1280,7 @@ impl ICLRStrongName2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrongNameSignatureVerificationEx2)(windows_core::Interface::as_raw(self), wszfilepath.param().abi(), fforceverification.param().abi(), pbecmapublickey, cbecmapublickey, &mut result__).map(|| result__) } } @@ -1294,7 +1294,7 @@ windows_core::imp::define_interface!(ICLRStrongName3, ICLRStrongName3_Vtbl, 0x22 impl std::ops::Deref for ICLRStrongName3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRStrongName3, windows_core::IUnknown); @@ -1329,21 +1329,21 @@ windows_core::imp::define_interface!(ICLRSyncManager, ICLRSyncManager_Vtbl, 0x55 impl std::ops::Deref for ICLRSyncManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRSyncManager, windows_core::IUnknown); impl ICLRSyncManager { pub unsafe fn GetMonitorOwner(&self, cookie: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMonitorOwner)(windows_core::Interface::as_raw(self), cookie, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRWLockOwnerIterator(&self, cookie: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRWLockOwnerIterator)(windows_core::Interface::as_raw(self), cookie, &mut result__).map(|| result__) } pub unsafe fn GetRWLockOwnerNext(&self, iterator: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRWLockOwnerNext)(windows_core::Interface::as_raw(self), iterator, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteRWLockOwnerIterator(&self, iterator: usize) -> windows_core::Result<()> { @@ -1362,7 +1362,7 @@ windows_core::imp::define_interface!(ICLRTask, ICLRTask_Vtbl, 0x28e66a4a_9906_42 impl std::ops::Deref for ICLRTask { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRTask, windows_core::IUnknown); @@ -1377,7 +1377,7 @@ impl ICLRTask { (windows_core::Interface::vtable(self).SwitchOut)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetMemStats(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMemStats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Reset(&self, ffull: P0) -> windows_core::Result<()> @@ -1396,14 +1396,14 @@ impl ICLRTask { (windows_core::Interface::vtable(self).RudeAbort)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn NeedsPriorityScheduling(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NeedsPriorityScheduling)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn YieldTask(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).YieldTask)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn LocksHeld(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocksHeld)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTaskIdentifier(&self, asked: u64) -> windows_core::Result<()> { @@ -1429,7 +1429,7 @@ windows_core::imp::define_interface!(ICLRTask2, ICLRTask2_Vtbl, 0x28e66a4a_9906_ impl std::ops::Deref for ICLRTask2 { type Target = ICLRTask; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRTask2, windows_core::IUnknown, ICLRTask); @@ -1451,17 +1451,17 @@ windows_core::imp::define_interface!(ICLRTaskManager, ICLRTaskManager_Vtbl, 0x48 impl std::ops::Deref for ICLRTaskManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICLRTaskManager, windows_core::IUnknown); impl ICLRTaskManager { pub unsafe fn CreateTask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTask)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentTask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTask)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUILocale(&self, lcid: u32) -> windows_core::Result<()> { @@ -1471,7 +1471,7 @@ impl ICLRTaskManager { (windows_core::Interface::vtable(self).SetLocale)(windows_core::Interface::as_raw(self), lcid).ok() } pub unsafe fn GetCurrentTaskType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTaskType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1488,7 +1488,7 @@ windows_core::imp::define_interface!(ICatalogServices, ICatalogServices_Vtbl, 0x impl std::ops::Deref for ICatalogServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICatalogServices, windows_core::IUnknown); @@ -1510,7 +1510,7 @@ windows_core::imp::define_interface!(ICorConfiguration, ICorConfiguration_Vtbl, impl std::ops::Deref for ICorConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorConfiguration, windows_core::IUnknown); @@ -1549,7 +1549,7 @@ windows_core::imp::define_interface!(ICorRuntimeHost, ICorRuntimeHost_Vtbl, 0xcb impl std::ops::Deref for ICorRuntimeHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorRuntimeHost, windows_core::IUnknown); @@ -1564,22 +1564,22 @@ impl ICorRuntimeHost { (windows_core::Interface::vtable(self).SwitchInLogicalThreadState)(windows_core::Interface::as_raw(self), pfibercookie).ok() } pub unsafe fn SwitchOutLogicalThreadState(&self) -> windows_core::Result<*mut u32> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SwitchOutLogicalThreadState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocksHeldByLogicalThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocksHeldByLogicalThread)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MapFile(&self, hfile: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MapFile)(windows_core::Interface::as_raw(self), hfile.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetConfiguration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfiguration)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -1593,18 +1593,18 @@ impl ICorRuntimeHost { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDomain)(windows_core::Interface::as_raw(self), pwzfriendlyname.param().abi(), pidentityarray.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultDomain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumDomains(&self, henum: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).EnumDomains)(windows_core::Interface::as_raw(self), henum).ok() } pub unsafe fn NextDomain(&self, henum: *const core::ffi::c_void) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextDomain)(windows_core::Interface::as_raw(self), henum, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CloseEnum(&self, henum: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -1616,15 +1616,15 @@ impl ICorRuntimeHost { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDomainEx)(windows_core::Interface::as_raw(self), pwzfriendlyname.param().abi(), psetup.param().abi(), pevidence.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDomainSetup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDomainSetup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateEvidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEvidence)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnloadDomain(&self, pappdomain: P0) -> windows_core::Result<()> @@ -1634,7 +1634,7 @@ impl ICorRuntimeHost { (windows_core::Interface::vtable(self).UnloadDomain)(windows_core::Interface::as_raw(self), pappdomain.param().abi()).ok() } pub unsafe fn CurrentDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDomain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1665,7 +1665,7 @@ windows_core::imp::define_interface!(ICorThreadpool, ICorThreadpool_Vtbl, 0x8468 impl std::ops::Deref for ICorThreadpool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorThreadpool, windows_core::IUnknown); @@ -1676,7 +1676,7 @@ impl ICorThreadpool { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorRegisterWaitForSingleObject)(windows_core::Interface::as_raw(self), phnewwaitobject, hwaitobject.param().abi(), callback, context, timeout, executeonlyonce.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CorUnregisterWait(&self, hwaitobject: P0, completionevent: P1) -> windows_core::Result @@ -1684,7 +1684,7 @@ impl ICorThreadpool { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorUnregisterWait)(windows_core::Interface::as_raw(self), hwaitobject.param().abi(), completionevent.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Threading")] @@ -1692,19 +1692,19 @@ impl ICorThreadpool { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorQueueUserWorkItem)(windows_core::Interface::as_raw(self), function, context, executeonlyonce.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Threading")] pub unsafe fn CorCreateTimer(&self, phnewtimer: *const super::super::Foundation::HANDLE, callback: super::Threading::WAITORTIMERCALLBACK, parameter: *const core::ffi::c_void, duetime: u32, period: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorCreateTimer)(windows_core::Interface::as_raw(self), phnewtimer, callback, parameter, duetime, period, &mut result__).map(|| result__) } pub unsafe fn CorChangeTimer(&self, timer: P0, duetime: u32, period: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorChangeTimer)(windows_core::Interface::as_raw(self), timer.param().abi(), duetime, period, &mut result__).map(|| result__) } pub unsafe fn CorDeleteTimer(&self, timer: P0, completionevent: P1) -> windows_core::Result @@ -1712,7 +1712,7 @@ impl ICorThreadpool { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorDeleteTimer)(windows_core::Interface::as_raw(self), timer.param().abi(), completionevent.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_IO")] @@ -1724,7 +1724,7 @@ impl ICorThreadpool { } #[cfg(feature = "Win32_System_Threading")] pub unsafe fn CorCallOrQueueUserWorkItem(&self, function: super::Threading::LPTHREAD_START_ROUTINE, context: *const core::ffi::c_void) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorCallOrQueueUserWorkItem)(windows_core::Interface::as_raw(self), function, context, &mut result__).map(|| result__) } pub unsafe fn CorSetMaxThreads(&self, maxworkerthreads: u32, maxiocompletionthreads: u32) -> windows_core::Result<()> { @@ -1771,13 +1771,13 @@ windows_core::imp::define_interface!(IDebuggerInfo, IDebuggerInfo_Vtbl, 0xbf2414 impl std::ops::Deref for IDebuggerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebuggerInfo, windows_core::IUnknown); impl IDebuggerInfo { pub unsafe fn IsDebuggerAttached(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDebuggerAttached)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1790,7 +1790,7 @@ windows_core::imp::define_interface!(IDebuggerThreadControl, IDebuggerThreadCont impl std::ops::Deref for IDebuggerThreadControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebuggerThreadControl, windows_core::IUnknown); @@ -1816,7 +1816,7 @@ windows_core::imp::define_interface!(IGCHost, IGCHost_Vtbl, 0xfac34f6e_0dcd_47b5 impl std::ops::Deref for IGCHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGCHost, windows_core::IUnknown); @@ -1850,7 +1850,7 @@ windows_core::imp::define_interface!(IGCHost2, IGCHost2_Vtbl, 0xa1d70cec_2dbe_4e impl std::ops::Deref for IGCHost2 { type Target = IGCHost; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGCHost2, windows_core::IUnknown, IGCHost); @@ -1868,7 +1868,7 @@ windows_core::imp::define_interface!(IGCHostControl, IGCHostControl_Vtbl, 0x5513 impl std::ops::Deref for IGCHostControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGCHostControl, windows_core::IUnknown); @@ -1886,7 +1886,7 @@ windows_core::imp::define_interface!(IGCThreadControl, IGCThreadControl_Vtbl, 0x impl std::ops::Deref for IGCThreadControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGCThreadControl, windows_core::IUnknown); @@ -1912,17 +1912,17 @@ windows_core::imp::define_interface!(IHostAssemblyManager, IHostAssemblyManager_ impl std::ops::Deref for IHostAssemblyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostAssemblyManager, windows_core::IUnknown); impl IHostAssemblyManager { pub unsafe fn GetNonHostStoreAssemblies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNonHostStoreAssemblies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAssemblyStore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAssemblyStore)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1936,7 +1936,7 @@ windows_core::imp::define_interface!(IHostAssemblyStore, IHostAssemblyStore_Vtbl impl std::ops::Deref for IHostAssemblyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostAssemblyStore, windows_core::IUnknown); @@ -1966,7 +1966,7 @@ windows_core::imp::define_interface!(IHostAutoEvent, IHostAutoEvent_Vtbl, 0x50b0 impl std::ops::Deref for IHostAutoEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostAutoEvent, windows_core::IUnknown); @@ -1988,7 +1988,7 @@ windows_core::imp::define_interface!(IHostControl, IHostControl_Vtbl, 0x02ca073c impl std::ops::Deref for IHostControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostControl, windows_core::IUnknown); @@ -2013,7 +2013,7 @@ windows_core::imp::define_interface!(IHostCrst, IHostCrst_Vtbl, 0x6df710a6_26a4_ impl std::ops::Deref for IHostCrst { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostCrst, windows_core::IUnknown); @@ -2025,7 +2025,7 @@ impl IHostCrst { (windows_core::Interface::vtable(self).Leave)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn TryEnter(&self, option: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TryEnter)(windows_core::Interface::as_raw(self), option, &mut result__).map(|| result__) } pub unsafe fn SetSpinCount(&self, dwspincount: u32) -> windows_core::Result<()> { @@ -2044,7 +2044,7 @@ windows_core::imp::define_interface!(IHostGCManager, IHostGCManager_Vtbl, 0x5d4e impl std::ops::Deref for IHostGCManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostGCManager, windows_core::IUnknown); @@ -2070,13 +2070,13 @@ windows_core::imp::define_interface!(IHostIoCompletionManager, IHostIoCompletion impl std::ops::Deref for IHostIoCompletionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostIoCompletionManager, windows_core::IUnknown); impl IHostIoCompletionManager { pub unsafe fn CreateIoCompletionPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateIoCompletionPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CloseIoCompletionPort(&self, hport: P0) -> windows_core::Result<()> @@ -2089,15 +2089,15 @@ impl IHostIoCompletionManager { (windows_core::Interface::vtable(self).SetMaxThreads)(windows_core::Interface::as_raw(self), dwmaxiocompletionthreads).ok() } pub unsafe fn GetMaxThreads(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAvailableThreads(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHostOverlappedSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHostOverlappedSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCLRIoCompletionManager(&self, pmanager: P0) -> windows_core::Result<()> @@ -2120,7 +2120,7 @@ impl IHostIoCompletionManager { (windows_core::Interface::vtable(self).SetMinThreads)(windows_core::Interface::as_raw(self), dwminiocompletionthreads).ok() } pub unsafe fn GetMinThreads(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2143,7 +2143,7 @@ windows_core::imp::define_interface!(IHostMalloc, IHostMalloc_Vtbl, 0x1831991c_c impl std::ops::Deref for IHostMalloc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostMalloc, windows_core::IUnknown); @@ -2169,7 +2169,7 @@ windows_core::imp::define_interface!(IHostManualEvent, IHostManualEvent_Vtbl, 0x impl std::ops::Deref for IHostManualEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostManualEvent, windows_core::IUnknown); @@ -2195,13 +2195,13 @@ windows_core::imp::define_interface!(IHostMemoryManager, IHostMemoryManager_Vtbl impl std::ops::Deref for IHostMemoryManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostMemoryManager, windows_core::IUnknown); impl IHostMemoryManager { pub unsafe fn CreateMalloc(&self, dwmalloctype: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMalloc)(windows_core::Interface::as_raw(self), dwmalloctype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VirtualAlloc(&self, paddress: *const core::ffi::c_void, dwsize: usize, flallocationtype: u32, flprotect: u32, ecriticallevel: EMemoryCriticalLevel, ppmem: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -2214,7 +2214,7 @@ impl IHostMemoryManager { (windows_core::Interface::vtable(self).VirtualQuery)(windows_core::Interface::as_raw(self), lpaddress, lpbuffer, dwlength, presult).ok() } pub unsafe fn VirtualProtect(&self, lpaddress: *const core::ffi::c_void, dwsize: usize, flnewprotect: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VirtualProtect)(windows_core::Interface::as_raw(self), lpaddress, dwsize, flnewprotect, &mut result__).map(|| result__) } pub unsafe fn GetMemoryLoad(&self, pmemoryload: *mut u32, pavailablebytes: *mut usize) -> windows_core::Result<()> { @@ -2254,7 +2254,7 @@ windows_core::imp::define_interface!(IHostPolicyManager, IHostPolicyManager_Vtbl impl std::ops::Deref for IHostPolicyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostPolicyManager, windows_core::IUnknown); @@ -2280,13 +2280,13 @@ windows_core::imp::define_interface!(IHostSecurityContext, IHostSecurityContext_ impl std::ops::Deref for IHostSecurityContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostSecurityContext, windows_core::IUnknown); impl IHostSecurityContext { pub unsafe fn Capture(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Capture)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2299,7 +2299,7 @@ windows_core::imp::define_interface!(IHostSecurityManager, IHostSecurityManager_ impl std::ops::Deref for IHostSecurityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostSecurityManager, windows_core::IUnknown); @@ -2317,7 +2317,7 @@ impl IHostSecurityManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenThreadToken)(windows_core::Interface::as_raw(self), dwdesiredaccess, bopenasself.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetThreadToken(&self, htoken: P0) -> windows_core::Result<()> @@ -2327,7 +2327,7 @@ impl IHostSecurityManager { (windows_core::Interface::vtable(self).SetThreadToken)(windows_core::Interface::as_raw(self), htoken.param().abi()).ok() } pub unsafe fn GetSecurityContext(&self, econtexttype: EContextType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityContext)(windows_core::Interface::as_raw(self), econtexttype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSecurityContext(&self, econtexttype: EContextType, psecuritycontext: P0) -> windows_core::Result<()> @@ -2351,7 +2351,7 @@ windows_core::imp::define_interface!(IHostSemaphore, IHostSemaphore_Vtbl, 0x855e impl std::ops::Deref for IHostSemaphore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostSemaphore, windows_core::IUnknown); @@ -2360,7 +2360,7 @@ impl IHostSemaphore { (windows_core::Interface::vtable(self).Wait)(windows_core::Interface::as_raw(self), dwmilliseconds, option).ok() } pub unsafe fn ReleaseSemaphore(&self, lreleasecount: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReleaseSemaphore)(windows_core::Interface::as_raw(self), lreleasecount, &mut result__).map(|| result__) } } @@ -2374,7 +2374,7 @@ windows_core::imp::define_interface!(IHostSyncManager, IHostSyncManager_Vtbl, 0x impl std::ops::Deref for IHostSyncManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostSyncManager, windows_core::IUnknown); @@ -2386,41 +2386,41 @@ impl IHostSyncManager { (windows_core::Interface::vtable(self).SetCLRSyncManager)(windows_core::Interface::as_raw(self), pmanager.param().abi()).ok() } pub unsafe fn CreateCrst(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCrst)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCrstWithSpinCount(&self, dwspincount: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCrstWithSpinCount)(windows_core::Interface::as_raw(self), dwspincount, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAutoEvent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAutoEvent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateManualEvent(&self, binitialstate: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateManualEvent)(windows_core::Interface::as_raw(self), binitialstate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateMonitorEvent(&self, cookie: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMonitorEvent)(windows_core::Interface::as_raw(self), cookie, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRWLockWriterEvent(&self, cookie: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRWLockWriterEvent)(windows_core::Interface::as_raw(self), cookie, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRWLockReaderEvent(&self, binitialstate: P0, cookie: usize) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRWLockReaderEvent)(windows_core::Interface::as_raw(self), binitialstate.param().abi(), cookie, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSemaphoreA(&self, dwinitial: u32, dwmax: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSemaphoreA)(windows_core::Interface::as_raw(self), dwinitial, dwmax, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2441,7 +2441,7 @@ windows_core::imp::define_interface!(IHostTask, IHostTask_Vtbl, 0xc2275828_c4b1_ impl std::ops::Deref for IHostTask { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostTask, windows_core::IUnknown); @@ -2459,7 +2459,7 @@ impl IHostTask { (windows_core::Interface::vtable(self).SetPriority)(windows_core::Interface::as_raw(self), newpriority).ok() } pub unsafe fn GetPriority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCLRTask(&self, pclrtask: P0) -> windows_core::Result<()> @@ -2483,18 +2483,18 @@ windows_core::imp::define_interface!(IHostTaskManager, IHostTaskManager_Vtbl, 0x impl std::ops::Deref for IHostTaskManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostTaskManager, windows_core::IUnknown); impl IHostTaskManager { pub unsafe fn GetCurrentTask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTask)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Threading")] pub unsafe fn CreateTask(&self, dwstacksize: u32, pstartaddress: super::Threading::LPTHREAD_START_ROUTINE, pparameter: *const core::ffi::c_void) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTask)(windows_core::Interface::as_raw(self), dwstacksize, pstartaddress, pparameter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Sleep(&self, dwmilliseconds: u32, option: u32) -> windows_core::Result<()> { @@ -2510,7 +2510,7 @@ impl IHostTaskManager { (windows_core::Interface::vtable(self).SetLocale)(windows_core::Interface::as_raw(self), lcid).ok() } pub unsafe fn CallNeedsHostHook(&self, target: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallNeedsHostHook)(windows_core::Interface::as_raw(self), target, &mut result__).map(|| result__) } pub unsafe fn LeaveRuntime(&self, target: usize) -> windows_core::Result<()> { @@ -2541,7 +2541,7 @@ impl IHostTaskManager { (windows_core::Interface::vtable(self).SetStackGuarantee)(windows_core::Interface::as_raw(self), guarantee).ok() } pub unsafe fn GetStackGuarantee(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStackGuarantee)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCLRTaskManager(&self, ppmanager: P0) -> windows_core::Result<()> @@ -2580,7 +2580,7 @@ windows_core::imp::define_interface!(IHostThreadpoolManager, IHostThreadpoolMana impl std::ops::Deref for IHostThreadpoolManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostThreadpoolManager, windows_core::IUnknown); @@ -2593,18 +2593,18 @@ impl IHostThreadpoolManager { (windows_core::Interface::vtable(self).SetMaxThreads)(windows_core::Interface::as_raw(self), dwmaxworkerthreads).ok() } pub unsafe fn GetMaxThreads(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAvailableThreads(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAvailableThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMinThreads(&self, dwminiocompletionthreads: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetMinThreads)(windows_core::Interface::as_raw(self), dwminiocompletionthreads).ok() } pub unsafe fn GetMinThreads(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2625,13 +2625,13 @@ windows_core::imp::define_interface!(IManagedObject, IManagedObject_Vtbl, 0xc3fc impl std::ops::Deref for IManagedObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IManagedObject, windows_core::IUnknown); impl IManagedObject { pub unsafe fn GetSerializedBuffer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSerializedBuffer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetObjectIdentity(&self, pbstrguid: *mut windows_core::BSTR, appdomainid: *mut i32, pccw: *mut i32) -> windows_core::Result<()> { @@ -2641,63 +2641,63 @@ impl IManagedObject { #[repr(C)] pub struct IManagedObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetSerializedBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetObjectIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, + pub GetSerializedBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetObjectIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectHandle, IObjectHandle_Vtbl, 0xc460e2b4_e199_412a_8456_84dc3e4838c3); impl std::ops::Deref for IObjectHandle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectHandle, windows_core::IUnknown); impl IObjectHandle { pub unsafe fn Unwrap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Unwrap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IObjectHandle_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Unwrap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Unwrap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeName, ITypeName_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00522); impl std::ops::Deref for ITypeName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeName, windows_core::IUnknown); impl ITypeName { pub unsafe fn GetNameCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNameCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNames(&self, count: u32, rgbsznames: *mut windows_core::BSTR) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNames)(windows_core::Interface::as_raw(self), count, core::mem::transmute(rgbsznames), &mut result__).map(|| result__) } pub unsafe fn GetTypeArgumentCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeArgumentCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypeArguments(&self, count: u32, rgparguments: *mut Option) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeArguments)(windows_core::Interface::as_raw(self), count, core::mem::transmute(rgparguments), &mut result__).map(|| result__) } pub unsafe fn GetModifierLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModifierLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetModifiers(&self, count: u32, rgmodifiers: *mut u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModifiers)(windows_core::Interface::as_raw(self), count, rgmodifiers, &mut result__).map(|| result__) } pub unsafe fn GetAssemblyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAssemblyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2705,18 +2705,18 @@ impl ITypeName { pub struct ITypeName_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNameCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetNames: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub GetNames: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub GetTypeArgumentCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetTypeArguments: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetModifierLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetModifiers: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, - pub GetAssemblyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAssemblyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeNameBuilder, ITypeNameBuilder_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00523); impl std::ops::Deref for ITypeNameBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeNameBuilder, windows_core::IUnknown); @@ -2758,7 +2758,7 @@ impl ITypeNameBuilder { (windows_core::Interface::vtable(self).AddAssemblySpec)(windows_core::Interface::as_raw(self), szassemblyspec.param().abi()).ok() } pub unsafe fn ToString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ToString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clear(&self) -> windows_core::Result<()> { @@ -2778,14 +2778,14 @@ pub struct ITypeNameBuilder_Vtbl { pub AddSzArray: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AddArray: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub AddAssemblySpec: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub ToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeNameFactory, ITypeNameFactory_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00521); impl std::ops::Deref for ITypeNameFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeNameFactory, windows_core::IUnknown); @@ -2794,11 +2794,11 @@ impl ITypeNameFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParseTypeName)(windows_core::Interface::as_raw(self), szname.param().abi(), perror, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTypeNameBuilder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeNameBuilder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs index 67e904e18a..7a7f426d78 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs @@ -68,12 +68,12 @@ impl ICallFrame_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetParam, Impl: ICallFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iparam: u32, pvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetParam, Impl: ICallFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iparam: u32, pvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICallFrame_Impl::SetParam(this, core::mem::transmute_copy(&iparam), core::mem::transmute_copy(&pvar)).into() } - unsafe extern "system" fn GetParam, Impl: ICallFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iparam: u32, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetParam, Impl: ICallFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iparam: u32, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICallFrame_Impl::GetParam(this, core::mem::transmute_copy(&iparam)) { 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 8edebf0391..0534139069 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 @@ -19,7 +19,7 @@ windows_core::imp::define_interface!(ICallFrame, ICallFrame_Vtbl, 0xd573b4b0_894 impl std::ops::Deref for ICallFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICallFrame, windows_core::IUnknown); @@ -46,21 +46,21 @@ impl ICallFrame { (windows_core::Interface::vtable(self).GetReturnValue)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetParamInfo(&self, iparam: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParamInfo)(windows_core::Interface::as_raw(self), iparam, &mut result__).map(|| result__) } pub unsafe fn SetParam(&self, iparam: u32, pvar: *const windows_core::VARIANT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetParam)(windows_core::Interface::as_raw(self), iparam, core::mem::transmute(pvar)).ok() } pub unsafe fn GetParam(&self, iparam: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParam)(windows_core::Interface::as_raw(self), iparam, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Copy(&self, copycontrol: CALLFRAME_COPY, pwalker: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Copy)(windows_core::Interface::as_raw(self), copycontrol, pwalker.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Free(&self, pframeargsdest: P0, pwalkerdestfree: P1, pwalkercopy: P2, freeflags: u32, pwalkerfree: P3, nullflags: u32) -> windows_core::Result<()> @@ -85,14 +85,14 @@ impl ICallFrame { (windows_core::Interface::vtable(self).WalkFrame)(windows_core::Interface::as_raw(self), walkwhat, pwalker.param().abi()).ok() } pub unsafe fn GetMarshalSizeMax(&self, pmshlcontext: *const CALLFRAME_MARSHALCONTEXT, mshlflags: super::MSHLFLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMarshalSizeMax)(windows_core::Interface::as_raw(self), pmshlcontext, mshlflags, &mut result__).map(|| result__) } pub unsafe fn Marshal(&self, pmshlcontext: *const CALLFRAME_MARSHALCONTEXT, mshlflags: super::MSHLFLAGS, pbuffer: &[u8], pcbbufferused: *mut u32, pdatarep: *mut u32, prpcflags: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Marshal)(windows_core::Interface::as_raw(self), pmshlcontext, mshlflags, core::mem::transmute(pbuffer.as_ptr()), pbuffer.len().try_into().unwrap(), pcbbufferused, pdatarep, prpcflags).ok() } pub unsafe fn Unmarshal(&self, pbuffer: &[u8], datarep: u32, pcontext: *const CALLFRAME_MARSHALCONTEXT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Unmarshal)(windows_core::Interface::as_raw(self), core::mem::transmute(pbuffer.as_ptr()), pbuffer.len().try_into().unwrap(), datarep, pcontext, &mut result__).map(|| result__) } pub unsafe fn ReleaseMarshalData(&self, pbuffer: &[u8], ibfirstrelease: u32, datarep: u32, pcontext: *const CALLFRAME_MARSHALCONTEXT) -> windows_core::Result<()> { @@ -113,8 +113,8 @@ pub struct ICallFrame_Vtbl { pub SetReturnValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT), pub GetReturnValue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetParamInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CALLFRAMEPARAMINFO) -> windows_core::HRESULT, - pub SetParam: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetParam: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetParam: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetParam: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, CALLFRAME_COPY, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Free: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub FreeParam: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, @@ -129,7 +129,7 @@ windows_core::imp::define_interface!(ICallFrameEvents, ICallFrameEvents_Vtbl, 0x impl std::ops::Deref for ICallFrameEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICallFrameEvents, windows_core::IUnknown); @@ -150,7 +150,7 @@ windows_core::imp::define_interface!(ICallFrameWalker, ICallFrameWalker_Vtbl, 0x impl std::ops::Deref for ICallFrameWalker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICallFrameWalker, windows_core::IUnknown); @@ -172,7 +172,7 @@ windows_core::imp::define_interface!(ICallIndirect, ICallIndirect_Vtbl, 0xd573b4 impl std::ops::Deref for ICallIndirect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICallIndirect, windows_core::IUnknown); @@ -184,7 +184,7 @@ impl ICallIndirect { (windows_core::Interface::vtable(self).GetMethodInfo)(windows_core::Interface::as_raw(self), imethod, pinfo, pwszmethod).ok() } pub unsafe fn GetStackSize(&self, imethod: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStackSize)(windows_core::Interface::as_raw(self), imethod, &mut result__).map(|| result__) } pub unsafe fn GetIID(&self, piid: Option<*mut windows_core::GUID>, pfderivesfromidispatch: Option<*mut super::super::super::Foundation::BOOL>, pcmethod: Option<*mut u32>, pwszinterface: *mut windows_core::PWSTR) -> windows_core::Result<()> { @@ -203,7 +203,7 @@ windows_core::imp::define_interface!(ICallInterceptor, ICallInterceptor_Vtbl, 0x impl std::ops::Deref for ICallInterceptor { type Target = ICallIndirect; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICallInterceptor, windows_core::IUnknown, ICallIndirect); @@ -215,7 +215,7 @@ impl ICallInterceptor { (windows_core::Interface::vtable(self).RegisterSink)(windows_core::Interface::as_raw(self), psink.param().abi()).ok() } pub unsafe fn GetRegisteredSink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegisteredSink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -229,7 +229,7 @@ windows_core::imp::define_interface!(ICallUnmarshal, ICallUnmarshal_Vtbl, 0x5333 impl std::ops::Deref for ICallUnmarshal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICallUnmarshal, windows_core::IUnknown); @@ -254,7 +254,7 @@ windows_core::imp::define_interface!(IInterfaceRelated, IInterfaceRelated_Vtbl, impl std::ops::Deref for IInterfaceRelated { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInterfaceRelated, windows_core::IUnknown); @@ -263,7 +263,7 @@ impl IInterfaceRelated { (windows_core::Interface::vtable(self).SetIID)(windows_core::Interface::as_raw(self), iid).ok() } pub unsafe fn GetIID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -379,7 +379,7 @@ pub struct CALLFRAME_MARSHALCONTEXT { pub fIn: super::super::super::Foundation::BOOLEAN, pub dwDestContext: u32, pub pvDestContext: *mut core::ffi::c_void, - pub punkReserved: std::mem::ManuallyDrop>, + pub punkReserved: core::mem::ManuallyDrop>, pub guidTransferSyntax: windows_core::GUID, } impl Clone for CALLFRAME_MARSHALCONTEXT { diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs index f6b37b977d..bbbae690c7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs @@ -13,52 +13,52 @@ pub trait IChannelCredentials_Impl: Sized + super::IDispatch_Impl { impl windows_core::RuntimeName for IChannelCredentials {} impl IChannelCredentials_Vtbl { pub const fn new, Impl: IChannelCredentials_Impl, const OFFSET: isize>() -> IChannelCredentials_Vtbl { - unsafe extern "system" fn SetWindowsCredential, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, domain: std::mem::MaybeUninit, username: std::mem::MaybeUninit, password: std::mem::MaybeUninit, impersonationlevel: i32, allowntlm: super::super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetWindowsCredential, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, domain: core::mem::MaybeUninit, username: core::mem::MaybeUninit, password: core::mem::MaybeUninit, impersonationlevel: i32, allowntlm: super::super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetWindowsCredential(this, core::mem::transmute(&domain), core::mem::transmute(&username), core::mem::transmute(&password), core::mem::transmute_copy(&impersonationlevel), core::mem::transmute_copy(&allowntlm)).into() } - unsafe extern "system" fn SetUserNameCredential, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: std::mem::MaybeUninit, password: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUserNameCredential, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: core::mem::MaybeUninit, password: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetUserNameCredential(this, core::mem::transmute(&username), core::mem::transmute(&password)).into() } - unsafe extern "system" fn SetClientCertificateFromStore, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, storelocation: std::mem::MaybeUninit, storename: std::mem::MaybeUninit, findyype: std::mem::MaybeUninit, findvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientCertificateFromStore, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, storelocation: core::mem::MaybeUninit, storename: core::mem::MaybeUninit, findyype: core::mem::MaybeUninit, findvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetClientCertificateFromStore(this, core::mem::transmute(&storelocation), core::mem::transmute(&storename), core::mem::transmute(&findyype), core::mem::transmute(&findvalue)).into() } - unsafe extern "system" fn SetClientCertificateFromStoreByName, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subjectname: std::mem::MaybeUninit, storelocation: std::mem::MaybeUninit, storename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientCertificateFromStoreByName, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subjectname: core::mem::MaybeUninit, storelocation: core::mem::MaybeUninit, storename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetClientCertificateFromStoreByName(this, core::mem::transmute(&subjectname), core::mem::transmute(&storelocation), core::mem::transmute(&storename)).into() } - unsafe extern "system" fn SetClientCertificateFromFile, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit, password: std::mem::MaybeUninit, keystorageflags: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientCertificateFromFile, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit, password: core::mem::MaybeUninit, keystorageflags: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetClientCertificateFromFile(this, core::mem::transmute(&filename), core::mem::transmute(&password), core::mem::transmute(&keystorageflags)).into() } - unsafe extern "system" fn SetDefaultServiceCertificateFromStore, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, storelocation: std::mem::MaybeUninit, storename: std::mem::MaybeUninit, findtype: std::mem::MaybeUninit, findvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDefaultServiceCertificateFromStore, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, storelocation: core::mem::MaybeUninit, storename: core::mem::MaybeUninit, findtype: core::mem::MaybeUninit, findvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetDefaultServiceCertificateFromStore(this, core::mem::transmute(&storelocation), core::mem::transmute(&storename), core::mem::transmute(&findtype), core::mem::transmute(&findvalue)).into() } - unsafe extern "system" fn SetDefaultServiceCertificateFromStoreByName, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subjectname: std::mem::MaybeUninit, storelocation: std::mem::MaybeUninit, storename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDefaultServiceCertificateFromStoreByName, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subjectname: core::mem::MaybeUninit, storelocation: core::mem::MaybeUninit, storename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetDefaultServiceCertificateFromStoreByName(this, core::mem::transmute(&subjectname), core::mem::transmute(&storelocation), core::mem::transmute(&storename)).into() } - unsafe extern "system" fn SetDefaultServiceCertificateFromFile, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit, password: std::mem::MaybeUninit, keystorageflags: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDefaultServiceCertificateFromFile, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit, password: core::mem::MaybeUninit, keystorageflags: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetDefaultServiceCertificateFromFile(this, core::mem::transmute(&filename), core::mem::transmute(&password), core::mem::transmute(&keystorageflags)).into() } - unsafe extern "system" fn SetServiceCertificateAuthentication, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, storelocation: std::mem::MaybeUninit, revocationmode: std::mem::MaybeUninit, certificatevalidationmode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServiceCertificateAuthentication, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, storelocation: core::mem::MaybeUninit, revocationmode: core::mem::MaybeUninit, certificatevalidationmode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetServiceCertificateAuthentication(this, core::mem::transmute(&storelocation), core::mem::transmute(&revocationmode), core::mem::transmute(&certificatevalidationmode)).into() } - unsafe extern "system" fn SetIssuedToken, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localissueraddres: std::mem::MaybeUninit, localissuerbindingtype: std::mem::MaybeUninit, localissuerbinding: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetIssuedToken, Impl: IChannelCredentials_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, localissueraddres: core::mem::MaybeUninit, localissuerbindingtype: core::mem::MaybeUninit, localissuerbinding: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IChannelCredentials_Impl::SetIssuedToken(this, core::mem::transmute(&localissueraddres), core::mem::transmute(&localissuerbindingtype), core::mem::transmute(&localissuerbinding)).into() diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs index 23c93d98f7..85386a1a83 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IChannelCredentials, IChannelCredentials_Vt impl std::ops::Deref for IChannelCredentials { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IChannelCredentials, windows_core::IUnknown, super::IDispatch); @@ -93,16 +93,16 @@ impl IChannelCredentials { #[repr(C)] pub struct IChannelCredentials_Vtbl { pub base__: super::IDispatch_Vtbl, - pub SetWindowsCredential: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub SetUserNameCredential: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClientCertificateFromStore: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClientCertificateFromStoreByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClientCertificateFromFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDefaultServiceCertificateFromStore: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDefaultServiceCertificateFromStoreByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDefaultServiceCertificateFromFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceCertificateAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIssuedToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWindowsCredential: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub SetUserNameCredential: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientCertificateFromStore: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientCertificateFromStoreByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientCertificateFromFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultServiceCertificateFromStore: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultServiceCertificateFromStoreByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultServiceCertificateFromFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceCertificateAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIssuedToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "implement")] core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs index 9d458624cf..7887e9b75c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs @@ -74,7 +74,7 @@ pub trait IEventClass_Impl: Sized + super::IDispatch_Impl { impl windows_core::RuntimeName for IEventClass {} impl IEventClass_Vtbl { pub const fn new, Impl: IEventClass_Impl, const OFFSET: isize>() -> IEventClass_Vtbl { - unsafe extern "system" fn EventClassID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstreventclassid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EventClassID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstreventclassid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventClass_Impl::EventClassID(this) { @@ -85,12 +85,12 @@ impl IEventClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEventClassID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstreventclassid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEventClassID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstreventclassid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventClass_Impl::SetEventClassID(this, core::mem::transmute(&bstreventclassid)).into() } - unsafe extern "system" fn EventClassName, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstreventclassname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EventClassName, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstreventclassname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventClass_Impl::EventClassName(this) { @@ -101,12 +101,12 @@ impl IEventClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEventClassName, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstreventclassname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEventClassName, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstreventclassname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventClass_Impl::SetEventClassName(this, core::mem::transmute(&bstreventclassname)).into() } - unsafe extern "system" fn OwnerSID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrownersid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OwnerSID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrownersid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventClass_Impl::OwnerSID(this) { @@ -117,12 +117,12 @@ impl IEventClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOwnerSID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrownersid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOwnerSID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrownersid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventClass_Impl::SetOwnerSID(this, core::mem::transmute(&bstrownersid)).into() } - unsafe extern "system" fn FiringInterfaceID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfiringinterfaceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FiringInterfaceID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfiringinterfaceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventClass_Impl::FiringInterfaceID(this) { @@ -133,12 +133,12 @@ impl IEventClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFiringInterfaceID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfiringinterfaceid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFiringInterfaceID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfiringinterfaceid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventClass_Impl::SetFiringInterfaceID(this, core::mem::transmute(&bstrfiringinterfaceid)).into() } - unsafe extern "system" fn Description, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventClass_Impl::Description(this) { @@ -149,12 +149,12 @@ impl IEventClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventClass_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn CustomConfigCLSID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcustomconfigclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CustomConfigCLSID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcustomconfigclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventClass_Impl::CustomConfigCLSID(this) { @@ -165,12 +165,12 @@ impl IEventClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCustomConfigCLSID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcustomconfigclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCustomConfigCLSID, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcustomconfigclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventClass_Impl::SetCustomConfigCLSID(this, core::mem::transmute(&bstrcustomconfigclsid)).into() } - unsafe extern "system" fn TypeLib, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtypelib: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TypeLib, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtypelib: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventClass_Impl::TypeLib(this) { @@ -181,7 +181,7 @@ impl IEventClass_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTypeLib, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtypelib: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTypeLib, Impl: IEventClass_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtypelib: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventClass_Impl::SetTypeLib(this, core::mem::transmute(&bstrtypelib)).into() @@ -221,7 +221,7 @@ pub trait IEventClass2_Impl: Sized + IEventClass_Impl { impl windows_core::RuntimeName for IEventClass2 {} impl IEventClass2_Vtbl { pub const fn new, Impl: IEventClass2_Impl, const OFFSET: isize>() -> IEventClass2_Vtbl { - unsafe extern "system" fn PublisherID, Impl: IEventClass2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublisherid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PublisherID, Impl: IEventClass2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublisherid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventClass2_Impl::PublisherID(this) { @@ -232,12 +232,12 @@ impl IEventClass2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPublisherID, Impl: IEventClass2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublisherid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPublisherID, Impl: IEventClass2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublisherid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventClass2_Impl::SetPublisherID(this, core::mem::transmute(&bstrpublisherid)).into() } - unsafe extern "system" fn MultiInterfacePublisherFilterCLSID, Impl: IEventClass2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpubfilclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MultiInterfacePublisherFilterCLSID, Impl: IEventClass2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpubfilclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventClass2_Impl::MultiInterfacePublisherFilterCLSID(this) { @@ -248,7 +248,7 @@ impl IEventClass2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMultiInterfacePublisherFilterCLSID, Impl: IEventClass2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpubfilclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMultiInterfacePublisherFilterCLSID, Impl: IEventClass2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpubfilclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventClass2_Impl::SetMultiInterfacePublisherFilterCLSID(this, core::mem::transmute(&bstrpubfilclsid)).into() @@ -311,7 +311,7 @@ pub trait IEventControl_Impl: Sized + super::IDispatch_Impl { impl windows_core::RuntimeName for IEventControl {} impl IEventControl_Vtbl { pub const fn new, Impl: IEventControl_Impl, const OFFSET: isize>() -> IEventControl_Vtbl { - unsafe extern "system" fn SetPublisherFilter, Impl: IEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: std::mem::MaybeUninit, ppublisherfilter: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SetPublisherFilter, Impl: IEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: core::mem::MaybeUninit, ppublisherfilter: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventControl_Impl::SetPublisherFilter(this, core::mem::transmute(&methodname), windows_core::from_raw_borrowed(&ppublisherfilter)).into() @@ -332,7 +332,7 @@ impl IEventControl_Vtbl { let this = (*this).get_impl(); IEventControl_Impl::SetAllowInprocActivation(this, core::mem::transmute_copy(&fallowinprocactivation)).into() } - unsafe extern "system" fn GetSubscriptions, Impl: IEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: std::mem::MaybeUninit, optionalcriteria: std::mem::MaybeUninit, optionalerrorindex: *const i32, ppcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetSubscriptions, Impl: IEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: core::mem::MaybeUninit, optionalcriteria: core::mem::MaybeUninit, optionalerrorindex: *const i32, ppcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventControl_Impl::GetSubscriptions(this, core::mem::transmute(&methodname), core::mem::transmute(&optionalcriteria), core::mem::transmute_copy(&optionalerrorindex)) { @@ -343,7 +343,7 @@ impl IEventControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDefaultQuery, Impl: IEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: std::mem::MaybeUninit, criteria: std::mem::MaybeUninit, errorindex: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetDefaultQuery, Impl: IEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: core::mem::MaybeUninit, criteria: core::mem::MaybeUninit, errorindex: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventControl_Impl::SetDefaultQuery(this, core::mem::transmute(&methodname), core::mem::transmute(&criteria)) { @@ -375,17 +375,17 @@ pub trait IEventObjectChange_Impl: Sized { impl windows_core::RuntimeName for IEventObjectChange {} impl IEventObjectChange_Vtbl { pub const fn new, Impl: IEventObjectChange_Impl, const OFFSET: isize>() -> IEventObjectChange_Vtbl { - unsafe extern "system" fn ChangedSubscription, Impl: IEventObjectChange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, changetype: EOC_ChangeType, bstrsubscriptionid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChangedSubscription, Impl: IEventObjectChange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, changetype: EOC_ChangeType, bstrsubscriptionid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventObjectChange_Impl::ChangedSubscription(this, core::mem::transmute_copy(&changetype), core::mem::transmute(&bstrsubscriptionid)).into() } - unsafe extern "system" fn ChangedEventClass, Impl: IEventObjectChange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, changetype: EOC_ChangeType, bstreventclassid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChangedEventClass, Impl: IEventObjectChange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, changetype: EOC_ChangeType, bstreventclassid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventObjectChange_Impl::ChangedEventClass(this, core::mem::transmute_copy(&changetype), core::mem::transmute(&bstreventclassid)).into() } - unsafe extern "system" fn ChangedPublisher, Impl: IEventObjectChange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, changetype: EOC_ChangeType, bstrpublisherid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ChangedPublisher, Impl: IEventObjectChange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, changetype: EOC_ChangeType, bstrpublisherid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventObjectChange_Impl::ChangedPublisher(this, core::mem::transmute_copy(&changetype), core::mem::transmute(&bstrpublisherid)).into() @@ -450,7 +450,7 @@ impl IEventObjectCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IEventObjectCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectid: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IEventObjectCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectid: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventObjectCollection_Impl::get_Item(this, core::mem::transmute(&objectid)) { @@ -483,12 +483,12 @@ impl IEventObjectCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IEventObjectCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: *const std::mem::MaybeUninit, objectid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IEventObjectCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: *const core::mem::MaybeUninit, objectid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventObjectCollection_Impl::Add(this, core::mem::transmute_copy(&item), core::mem::transmute(&objectid)).into() } - unsafe extern "system" fn Remove, Impl: IEventObjectCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IEventObjectCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventObjectCollection_Impl::Remove(this, core::mem::transmute(&objectid)).into() @@ -516,7 +516,7 @@ pub trait IEventProperty_Impl: Sized + super::IDispatch_Impl { impl windows_core::RuntimeName for IEventProperty {} impl IEventProperty_Vtbl { pub const fn new, Impl: IEventProperty_Impl, const OFFSET: isize>() -> IEventProperty_Vtbl { - unsafe extern "system" fn Name, Impl: IEventProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IEventProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventProperty_Impl::Name(this) { @@ -527,12 +527,12 @@ impl IEventProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IEventProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IEventProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventProperty_Impl::SetName(this, core::mem::transmute(&propertyname)).into() } - unsafe extern "system" fn Value, Impl: IEventProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IEventProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventProperty_Impl::Value(this) { @@ -543,7 +543,7 @@ impl IEventProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IEventProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IEventProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventProperty_Impl::SetValue(this, core::mem::transmute_copy(&propertyvalue)).into() @@ -579,7 +579,7 @@ pub trait IEventPublisher_Impl: Sized + super::IDispatch_Impl { impl windows_core::RuntimeName for IEventPublisher {} impl IEventPublisher_Vtbl { pub const fn new, Impl: IEventPublisher_Impl, const OFFSET: isize>() -> IEventPublisher_Vtbl { - unsafe extern "system" fn PublisherID, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublisherid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PublisherID, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublisherid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventPublisher_Impl::PublisherID(this) { @@ -590,12 +590,12 @@ impl IEventPublisher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPublisherID, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublisherid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPublisherID, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublisherid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventPublisher_Impl::SetPublisherID(this, core::mem::transmute(&bstrpublisherid)).into() } - unsafe extern "system" fn PublisherName, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublishername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PublisherName, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublishername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventPublisher_Impl::PublisherName(this) { @@ -606,12 +606,12 @@ impl IEventPublisher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPublisherName, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublishername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPublisherName, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublishername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventPublisher_Impl::SetPublisherName(this, core::mem::transmute(&bstrpublishername)).into() } - unsafe extern "system" fn PublisherType, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublishertype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PublisherType, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublishertype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventPublisher_Impl::PublisherType(this) { @@ -622,12 +622,12 @@ impl IEventPublisher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPublisherType, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublishertype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPublisherType, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublishertype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventPublisher_Impl::SetPublisherType(this, core::mem::transmute(&bstrpublishertype)).into() } - unsafe extern "system" fn OwnerSID, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrownersid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OwnerSID, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrownersid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventPublisher_Impl::OwnerSID(this) { @@ -638,12 +638,12 @@ impl IEventPublisher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOwnerSID, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrownersid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOwnerSID, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrownersid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventPublisher_Impl::SetOwnerSID(this, core::mem::transmute(&bstrownersid)).into() } - unsafe extern "system" fn Description, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventPublisher_Impl::Description(this) { @@ -654,12 +654,12 @@ impl IEventPublisher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventPublisher_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn GetDefaultProperty, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDefaultProperty, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventPublisher_Impl::GetDefaultProperty(this, core::mem::transmute(&bstrpropertyname)) { @@ -670,12 +670,12 @@ impl IEventPublisher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PutDefaultProperty, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit, propertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutDefaultProperty, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit, propertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventPublisher_Impl::PutDefaultProperty(this, core::mem::transmute(&bstrpropertyname), core::mem::transmute_copy(&propertyvalue)).into() } - unsafe extern "system" fn RemoveDefaultProperty, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveDefaultProperty, Impl: IEventPublisher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventPublisher_Impl::RemoveDefaultProperty(this, core::mem::transmute(&bstrpropertyname)).into() @@ -752,7 +752,7 @@ pub trait IEventSubscription_Impl: Sized + super::IDispatch_Impl { impl windows_core::RuntimeName for IEventSubscription {} impl IEventSubscription_Vtbl { pub const fn new, Impl: IEventSubscription_Impl, const OFFSET: isize>() -> IEventSubscription_Vtbl { - unsafe extern "system" fn SubscriptionID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubscriptionid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubscriptionID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubscriptionid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::SubscriptionID(this) { @@ -763,12 +763,12 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSubscriptionID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubscriptionid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubscriptionID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubscriptionid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetSubscriptionID(this, core::mem::transmute(&bstrsubscriptionid)).into() } - unsafe extern "system" fn SubscriptionName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubscriptionname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubscriptionName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubscriptionname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::SubscriptionName(this) { @@ -779,12 +779,12 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSubscriptionName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubscriptionname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubscriptionName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubscriptionname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetSubscriptionName(this, core::mem::transmute(&bstrsubscriptionname)).into() } - unsafe extern "system" fn PublisherID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublisherid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PublisherID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpublisherid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::PublisherID(this) { @@ -795,12 +795,12 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPublisherID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublisherid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPublisherID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpublisherid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetPublisherID(this, core::mem::transmute(&bstrpublisherid)).into() } - unsafe extern "system" fn EventClassID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstreventclassid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EventClassID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstreventclassid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::EventClassID(this) { @@ -811,12 +811,12 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEventClassID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstreventclassid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEventClassID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstreventclassid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetEventClassID(this, core::mem::transmute(&bstreventclassid)).into() } - unsafe extern "system" fn MethodName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmethodname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MethodName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmethodname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::MethodName(this) { @@ -827,12 +827,12 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMethodName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmethodname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMethodName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmethodname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetMethodName(this, core::mem::transmute(&bstrmethodname)).into() } - unsafe extern "system" fn SubscriberCLSID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubscriberclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubscriberCLSID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsubscriberclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::SubscriberCLSID(this) { @@ -843,7 +843,7 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSubscriberCLSID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubscriberclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubscriberCLSID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsubscriberclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetSubscriberCLSID(this, core::mem::transmute(&bstrsubscriberclsid)).into() @@ -880,7 +880,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); IEventSubscription_Impl::SetPerUser(this, core::mem::transmute_copy(&fperuser)).into() } - unsafe extern "system" fn OwnerSID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrownersid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OwnerSID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrownersid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::OwnerSID(this) { @@ -891,7 +891,7 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOwnerSID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrownersid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOwnerSID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrownersid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetOwnerSID(this, core::mem::transmute(&bstrownersid)).into() @@ -912,7 +912,7 @@ impl IEventSubscription_Vtbl { let this = (*this).get_impl(); IEventSubscription_Impl::SetEnabled(this, core::mem::transmute_copy(&fenabled)).into() } - unsafe extern "system" fn Description, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::Description(this) { @@ -923,12 +923,12 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetDescription(this, core::mem::transmute(&bstrdescription)).into() } - unsafe extern "system" fn MachineName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmachinename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MachineName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmachinename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::MachineName(this) { @@ -939,12 +939,12 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMachineName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmachinename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMachineName, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmachinename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetMachineName(this, core::mem::transmute(&bstrmachinename)).into() } - unsafe extern "system" fn GetPublisherProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPublisherProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::GetPublisherProperty(this, core::mem::transmute(&bstrpropertyname)) { @@ -955,12 +955,12 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PutPublisherProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit, propertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutPublisherProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit, propertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::PutPublisherProperty(this, core::mem::transmute(&bstrpropertyname), core::mem::transmute_copy(&propertyvalue)).into() } - unsafe extern "system" fn RemovePublisherProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemovePublisherProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::RemovePublisherProperty(this, core::mem::transmute(&bstrpropertyname)).into() @@ -976,7 +976,7 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSubscriberProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSubscriberProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::GetSubscriberProperty(this, core::mem::transmute(&bstrpropertyname)) { @@ -987,12 +987,12 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PutSubscriberProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit, propertyvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutSubscriberProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit, propertyvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::PutSubscriberProperty(this, core::mem::transmute(&bstrpropertyname), core::mem::transmute_copy(&propertyvalue)).into() } - unsafe extern "system" fn RemoveSubscriberProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveSubscriberProperty, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::RemoveSubscriberProperty(this, core::mem::transmute(&bstrpropertyname)).into() @@ -1008,7 +1008,7 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InterfaceID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrinterfaceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InterfaceID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrinterfaceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSubscription_Impl::InterfaceID(this) { @@ -1019,7 +1019,7 @@ impl IEventSubscription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInterfaceID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinterfaceid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInterfaceID, Impl: IEventSubscription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinterfaceid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSubscription_Impl::SetInterfaceID(this, core::mem::transmute(&bstrinterfaceid)).into() @@ -1077,7 +1077,7 @@ pub trait IEventSystem_Impl: Sized + super::IDispatch_Impl { impl windows_core::RuntimeName for IEventSystem {} impl IEventSystem_Vtbl { pub const fn new, Impl: IEventSystem_Impl, const OFFSET: isize>() -> IEventSystem_Vtbl { - unsafe extern "system" fn Query, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: std::mem::MaybeUninit, querycriteria: std::mem::MaybeUninit, errorindex: *mut i32, ppinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Query, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: core::mem::MaybeUninit, querycriteria: core::mem::MaybeUninit, errorindex: *mut i32, ppinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSystem_Impl::Query(this, core::mem::transmute(&progid), core::mem::transmute(&querycriteria), core::mem::transmute_copy(&errorindex)) { @@ -1088,12 +1088,12 @@ impl IEventSystem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Store, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: std::mem::MaybeUninit, pinterface: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Store, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: core::mem::MaybeUninit, pinterface: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSystem_Impl::Store(this, core::mem::transmute(&progid), windows_core::from_raw_borrowed(&pinterface)).into() } - unsafe extern "system" fn Remove, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: std::mem::MaybeUninit, querycriteria: std::mem::MaybeUninit, errorindex: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: core::mem::MaybeUninit, querycriteria: core::mem::MaybeUninit, errorindex: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSystem_Impl::Remove(this, core::mem::transmute(&progid), core::mem::transmute(&querycriteria)) { @@ -1104,7 +1104,7 @@ impl IEventSystem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EventObjectChangeEventClassID, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstreventclassid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EventObjectChangeEventClassID, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstreventclassid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSystem_Impl::EventObjectChangeEventClassID(this) { @@ -1115,7 +1115,7 @@ impl IEventSystem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn QueryS, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: std::mem::MaybeUninit, querycriteria: std::mem::MaybeUninit, ppinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QueryS, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: core::mem::MaybeUninit, querycriteria: core::mem::MaybeUninit, ppinterface: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IEventSystem_Impl::QueryS(this, core::mem::transmute(&progid), core::mem::transmute(&querycriteria)) { @@ -1126,7 +1126,7 @@ impl IEventSystem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoveS, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: std::mem::MaybeUninit, querycriteria: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveS, Impl: IEventSystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, progid: core::mem::MaybeUninit, querycriteria: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventSystem_Impl::RemoveS(this, core::mem::transmute(&progid), core::mem::transmute(&querycriteria)).into() @@ -1179,7 +1179,7 @@ impl IMultiInterfaceEventControl_Vtbl { let this = (*this).get_impl(); IMultiInterfaceEventControl_Impl::SetMultiInterfacePublisherFilter(this, windows_core::from_raw_borrowed(&classfilter)).into() } - unsafe extern "system" fn GetSubscriptions, Impl: IMultiInterfaceEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventiid: *const windows_core::GUID, bstrmethodname: std::mem::MaybeUninit, optionalcriteria: std::mem::MaybeUninit, optionalerrorindex: *const i32, ppcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetSubscriptions, Impl: IMultiInterfaceEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventiid: *const windows_core::GUID, bstrmethodname: core::mem::MaybeUninit, optionalcriteria: core::mem::MaybeUninit, optionalerrorindex: *const i32, ppcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMultiInterfaceEventControl_Impl::GetSubscriptions(this, core::mem::transmute_copy(&eventiid), core::mem::transmute(&bstrmethodname), core::mem::transmute(&optionalcriteria), core::mem::transmute_copy(&optionalerrorindex)) { @@ -1190,7 +1190,7 @@ impl IMultiInterfaceEventControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDefaultQuery, Impl: IMultiInterfaceEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventiid: *const windows_core::GUID, bstrmethodname: std::mem::MaybeUninit, bstrcriteria: std::mem::MaybeUninit, errorindex: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetDefaultQuery, Impl: IMultiInterfaceEventControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventiid: *const windows_core::GUID, bstrmethodname: core::mem::MaybeUninit, bstrcriteria: core::mem::MaybeUninit, errorindex: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMultiInterfaceEventControl_Impl::SetDefaultQuery(this, core::mem::transmute_copy(&eventiid), core::mem::transmute(&bstrmethodname), core::mem::transmute(&bstrcriteria)) { @@ -1260,7 +1260,7 @@ impl IMultiInterfacePublisherFilter_Vtbl { let this = (*this).get_impl(); IMultiInterfacePublisherFilter_Impl::Initialize(this, windows_core::from_raw_borrowed(&peic)).into() } - unsafe extern "system" fn PrepareToFire, Impl: IMultiInterfacePublisherFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iid: *const windows_core::GUID, methodname: std::mem::MaybeUninit, firingcontrol: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PrepareToFire, Impl: IMultiInterfacePublisherFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iid: *const windows_core::GUID, methodname: core::mem::MaybeUninit, firingcontrol: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMultiInterfacePublisherFilter_Impl::PrepareToFire(this, core::mem::transmute_copy(&iid), core::mem::transmute(&methodname), windows_core::from_raw_borrowed(&firingcontrol)).into() @@ -1282,12 +1282,12 @@ pub trait IPublisherFilter_Impl: Sized { impl windows_core::RuntimeName for IPublisherFilter {} impl IPublisherFilter_Vtbl { pub const fn new, Impl: IPublisherFilter_Impl, const OFFSET: isize>() -> IPublisherFilter_Vtbl { - unsafe extern "system" fn Initialize, Impl: IPublisherFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: std::mem::MaybeUninit, dispuserdefined: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IPublisherFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: core::mem::MaybeUninit, dispuserdefined: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPublisherFilter_Impl::Initialize(this, core::mem::transmute(&methodname), windows_core::from_raw_borrowed(&dispuserdefined)).into() } - unsafe extern "system" fn PrepareToFire, Impl: IPublisherFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: std::mem::MaybeUninit, firingcontrol: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PrepareToFire, Impl: IPublisherFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, methodname: core::mem::MaybeUninit, firingcontrol: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPublisherFilter_Impl::PrepareToFire(this, core::mem::transmute(&methodname), windows_core::from_raw_borrowed(&firingcontrol)).into() 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 5464ab9eb9..a24c96c761 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IDontSupportEventSubscription, IDontSupport impl std::ops::Deref for IDontSupportEventSubscription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDontSupportEventSubscription, windows_core::IUnknown); @@ -15,13 +15,13 @@ windows_core::imp::define_interface!(IEnumEventObject, IEnumEventObject_Vtbl, 0x impl std::ops::Deref for IEnumEventObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumEventObject, windows_core::IUnknown); impl IEnumEventObject { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, ppinterface: &mut [Option], cretelem: *mut u32) -> windows_core::Result<()> { @@ -46,13 +46,13 @@ windows_core::imp::define_interface!(IEventClass, IEventClass_Vtbl, 0xfb2b72a0_7 impl std::ops::Deref for IEventClass { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventClass, windows_core::IUnknown, super::IDispatch); impl IEventClass { pub unsafe fn EventClassID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventClassID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventClassID(&self, bstreventclassid: P0) -> windows_core::Result<()> @@ -62,7 +62,7 @@ impl IEventClass { (windows_core::Interface::vtable(self).SetEventClassID)(windows_core::Interface::as_raw(self), bstreventclassid.param().abi()).ok() } pub unsafe fn EventClassName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventClassName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventClassName(&self, bstreventclassname: P0) -> windows_core::Result<()> @@ -72,7 +72,7 @@ impl IEventClass { (windows_core::Interface::vtable(self).SetEventClassName)(windows_core::Interface::as_raw(self), bstreventclassname.param().abi()).ok() } pub unsafe fn OwnerSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OwnerSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOwnerSID(&self, bstrownersid: P0) -> windows_core::Result<()> @@ -82,7 +82,7 @@ impl IEventClass { (windows_core::Interface::vtable(self).SetOwnerSID)(windows_core::Interface::as_raw(self), bstrownersid.param().abi()).ok() } pub unsafe fn FiringInterfaceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FiringInterfaceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFiringInterfaceID(&self, bstrfiringinterfaceid: P0) -> windows_core::Result<()> @@ -92,7 +92,7 @@ impl IEventClass { (windows_core::Interface::vtable(self).SetFiringInterfaceID)(windows_core::Interface::as_raw(self), bstrfiringinterfaceid.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -102,7 +102,7 @@ impl IEventClass { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn CustomConfigCLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CustomConfigCLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCustomConfigCLSID(&self, bstrcustomconfigclsid: P0) -> windows_core::Result<()> @@ -112,7 +112,7 @@ impl IEventClass { (windows_core::Interface::vtable(self).SetCustomConfigCLSID)(windows_core::Interface::as_raw(self), bstrcustomconfigclsid.param().abi()).ok() } pub unsafe fn TypeLib(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TypeLib)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTypeLib(&self, bstrtypelib: P0) -> windows_core::Result<()> @@ -125,32 +125,32 @@ impl IEventClass { #[repr(C)] pub struct IEventClass_Vtbl { pub base__: super::IDispatch_Vtbl, - pub EventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EventClassName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEventClassName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FiringInterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFiringInterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CustomConfigCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCustomConfigCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TypeLib: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTypeLib: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EventClassName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEventClassName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FiringInterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFiringInterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomConfigCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCustomConfigCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TypeLib: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTypeLib: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventClass2, IEventClass2_Vtbl, 0xfb2b72a1_7a68_11d1_88f9_0080c7d771bf); impl std::ops::Deref for IEventClass2 { type Target = IEventClass; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventClass2, windows_core::IUnknown, super::IDispatch, IEventClass); impl IEventClass2 { pub unsafe fn PublisherID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PublisherID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPublisherID(&self, bstrpublisherid: P0) -> windows_core::Result<()> @@ -160,7 +160,7 @@ impl IEventClass2 { (windows_core::Interface::vtable(self).SetPublisherID)(windows_core::Interface::as_raw(self), bstrpublisherid.param().abi()).ok() } pub unsafe fn MultiInterfacePublisherFilterCLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MultiInterfacePublisherFilterCLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMultiInterfacePublisherFilterCLSID(&self, bstrpubfilclsid: P0) -> windows_core::Result<()> @@ -170,7 +170,7 @@ impl IEventClass2 { (windows_core::Interface::vtable(self).SetMultiInterfacePublisherFilterCLSID)(windows_core::Interface::as_raw(self), bstrpubfilclsid.param().abi()).ok() } pub unsafe fn AllowInprocActivation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowInprocActivation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowInprocActivation(&self, fallowinprocactivation: P0) -> windows_core::Result<()> @@ -180,7 +180,7 @@ impl IEventClass2 { (windows_core::Interface::vtable(self).SetAllowInprocActivation)(windows_core::Interface::as_raw(self), fallowinprocactivation.param().abi()).ok() } pub unsafe fn FireInParallel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FireInParallel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFireInParallel(&self, ffireinparallel: P0) -> windows_core::Result<()> @@ -193,10 +193,10 @@ impl IEventClass2 { #[repr(C)] pub struct IEventClass2_Vtbl { pub base__: IEventClass_Vtbl, - pub PublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MultiInterfacePublisherFilterCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMultiInterfacePublisherFilterCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MultiInterfacePublisherFilterCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMultiInterfacePublisherFilterCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AllowInprocActivation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetAllowInprocActivation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub FireInParallel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -206,7 +206,7 @@ windows_core::imp::define_interface!(IEventControl, IEventControl_Vtbl, 0x0343e2 impl std::ops::Deref for IEventControl { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventControl, windows_core::IUnknown, super::IDispatch); @@ -219,7 +219,7 @@ impl IEventControl { (windows_core::Interface::vtable(self).SetPublisherFilter)(windows_core::Interface::as_raw(self), methodname.param().abi(), ppublisherfilter.param().abi()).ok() } pub unsafe fn AllowInprocActivation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowInprocActivation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowInprocActivation(&self, fallowinprocactivation: P0) -> windows_core::Result<()> @@ -233,7 +233,7 @@ impl IEventControl { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubscriptions)(windows_core::Interface::as_raw(self), methodname.param().abi(), optionalcriteria.param().abi(), optionalerrorindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefaultQuery(&self, methodname: P0, criteria: P1) -> windows_core::Result @@ -241,24 +241,24 @@ impl IEventControl { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetDefaultQuery)(windows_core::Interface::as_raw(self), methodname.param().abi(), criteria.param().abi(), &mut result__).map(|| result__) } } #[repr(C)] pub struct IEventControl_Vtbl { pub base__: super::IDispatch_Vtbl, - pub SetPublisherFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetPublisherFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AllowInprocActivation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetAllowInprocActivation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetSubscriptions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetDefaultQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetSubscriptions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetDefaultQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventObjectChange, IEventObjectChange_Vtbl, 0xf4a07d70_2e25_11d1_9964_00c04fbbb345); impl std::ops::Deref for IEventObjectChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventObjectChange, windows_core::IUnknown); @@ -285,15 +285,15 @@ impl IEventObjectChange { #[repr(C)] pub struct IEventObjectChange_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ChangedSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, EOC_ChangeType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChangedEventClass: unsafe extern "system" fn(*mut core::ffi::c_void, EOC_ChangeType, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ChangedPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, EOC_ChangeType, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangedSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, EOC_ChangeType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangedEventClass: unsafe extern "system" fn(*mut core::ffi::c_void, EOC_ChangeType, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ChangedPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, EOC_ChangeType, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventObjectChange2, IEventObjectChange2_Vtbl, 0x7701a9c3_bd68_438f_83e0_67bf4f53a422); impl std::ops::Deref for IEventObjectChange2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventObjectChange2, windows_core::IUnknown); @@ -315,28 +315,28 @@ windows_core::imp::define_interface!(IEventObjectCollection, IEventObjectCollect impl std::ops::Deref for IEventObjectCollection { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventObjectCollection, windows_core::IUnknown, super::IDispatch); impl IEventObjectCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Item(&self, objectid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), objectid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Add(&self, item: *const windows_core::VARIANT, objectid: P0) -> windows_core::Result<()> @@ -356,23 +356,23 @@ impl IEventObjectCollection { pub struct IEventObjectCollection_Vtbl { pub base__: super::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventProperty, IEventProperty_Vtbl, 0xda538ee2_f4de_11d1_b6bb_00805fc79216); impl std::ops::Deref for IEventProperty { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventProperty, windows_core::IUnknown, super::IDispatch); impl IEventProperty { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, propertyname: P0) -> windows_core::Result<()> @@ -382,7 +382,7 @@ impl IEventProperty { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), propertyname.param().abi()).ok() } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, propertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -392,22 +392,22 @@ impl IEventProperty { #[repr(C)] pub struct IEventProperty_Vtbl { pub base__: super::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventPublisher, IEventPublisher_Vtbl, 0xe341516b_2e32_11d1_9964_00c04fbbb345); impl std::ops::Deref for IEventPublisher { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventPublisher, windows_core::IUnknown, super::IDispatch); impl IEventPublisher { pub unsafe fn PublisherID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PublisherID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPublisherID(&self, bstrpublisherid: P0) -> windows_core::Result<()> @@ -417,7 +417,7 @@ impl IEventPublisher { (windows_core::Interface::vtable(self).SetPublisherID)(windows_core::Interface::as_raw(self), bstrpublisherid.param().abi()).ok() } pub unsafe fn PublisherName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PublisherName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPublisherName(&self, bstrpublishername: P0) -> windows_core::Result<()> @@ -427,7 +427,7 @@ impl IEventPublisher { (windows_core::Interface::vtable(self).SetPublisherName)(windows_core::Interface::as_raw(self), bstrpublishername.param().abi()).ok() } pub unsafe fn PublisherType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PublisherType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPublisherType(&self, bstrpublishertype: P0) -> windows_core::Result<()> @@ -437,7 +437,7 @@ impl IEventPublisher { (windows_core::Interface::vtable(self).SetPublisherType)(windows_core::Interface::as_raw(self), bstrpublishertype.param().abi()).ok() } pub unsafe fn OwnerSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OwnerSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOwnerSID(&self, bstrownersid: P0) -> windows_core::Result<()> @@ -447,7 +447,7 @@ impl IEventPublisher { (windows_core::Interface::vtable(self).SetOwnerSID)(windows_core::Interface::as_raw(self), bstrownersid.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -460,7 +460,7 @@ impl IEventPublisher { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultProperty)(windows_core::Interface::as_raw(self), bstrpropertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PutDefaultProperty(&self, bstrpropertyname: P0, propertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -476,39 +476,39 @@ impl IEventPublisher { (windows_core::Interface::vtable(self).RemoveDefaultProperty)(windows_core::Interface::as_raw(self), bstrpropertyname.param().abi()).ok() } pub unsafe fn GetDefaultPropertyCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultPropertyCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEventPublisher_Vtbl { pub base__: super::IDispatch_Vtbl, - pub PublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublisherName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPublisherName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublisherType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPublisherType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDefaultProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutDefaultProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveDefaultProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublisherName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPublisherName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublisherType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPublisherType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDefaultProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutDefaultProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveDefaultProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDefaultPropertyCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventSubscription, IEventSubscription_Vtbl, 0x4a6b0e15_2e38_11d1_9965_00c04fbbb345); impl std::ops::Deref for IEventSubscription { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventSubscription, windows_core::IUnknown, super::IDispatch); impl IEventSubscription { pub unsafe fn SubscriptionID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubscriptionID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubscriptionID(&self, bstrsubscriptionid: P0) -> windows_core::Result<()> @@ -518,7 +518,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetSubscriptionID)(windows_core::Interface::as_raw(self), bstrsubscriptionid.param().abi()).ok() } pub unsafe fn SubscriptionName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubscriptionName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubscriptionName(&self, bstrsubscriptionname: P0) -> windows_core::Result<()> @@ -528,7 +528,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetSubscriptionName)(windows_core::Interface::as_raw(self), bstrsubscriptionname.param().abi()).ok() } pub unsafe fn PublisherID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PublisherID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPublisherID(&self, bstrpublisherid: P0) -> windows_core::Result<()> @@ -538,7 +538,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetPublisherID)(windows_core::Interface::as_raw(self), bstrpublisherid.param().abi()).ok() } pub unsafe fn EventClassID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventClassID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventClassID(&self, bstreventclassid: P0) -> windows_core::Result<()> @@ -548,7 +548,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetEventClassID)(windows_core::Interface::as_raw(self), bstreventclassid.param().abi()).ok() } pub unsafe fn MethodName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MethodName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMethodName(&self, bstrmethodname: P0) -> windows_core::Result<()> @@ -558,7 +558,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetMethodName)(windows_core::Interface::as_raw(self), bstrmethodname.param().abi()).ok() } pub unsafe fn SubscriberCLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubscriberCLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubscriberCLSID(&self, bstrsubscriberclsid: P0) -> windows_core::Result<()> @@ -568,7 +568,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetSubscriberCLSID)(windows_core::Interface::as_raw(self), bstrsubscriberclsid.param().abi()).ok() } pub unsafe fn SubscriberInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubscriberInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubscriberInterface(&self, psubscriberinterface: P0) -> windows_core::Result<()> @@ -578,7 +578,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetSubscriberInterface)(windows_core::Interface::as_raw(self), psubscriberinterface.param().abi()).ok() } pub unsafe fn PerUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PerUser)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPerUser(&self, fperuser: P0) -> windows_core::Result<()> @@ -588,7 +588,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetPerUser)(windows_core::Interface::as_raw(self), fperuser.param().abi()).ok() } pub unsafe fn OwnerSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OwnerSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOwnerSID(&self, bstrownersid: P0) -> windows_core::Result<()> @@ -598,7 +598,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetOwnerSID)(windows_core::Interface::as_raw(self), bstrownersid.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, fenabled: P0) -> windows_core::Result<()> @@ -608,7 +608,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bstrdescription: P0) -> windows_core::Result<()> @@ -618,7 +618,7 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bstrdescription.param().abi()).ok() } pub unsafe fn MachineName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MachineName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMachineName(&self, bstrmachinename: P0) -> windows_core::Result<()> @@ -631,7 +631,7 @@ impl IEventSubscription { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPublisherProperty)(windows_core::Interface::as_raw(self), bstrpropertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PutPublisherProperty(&self, bstrpropertyname: P0, propertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -647,14 +647,14 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).RemovePublisherProperty)(windows_core::Interface::as_raw(self), bstrpropertyname.param().abi()).ok() } pub unsafe fn GetPublisherPropertyCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPublisherPropertyCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSubscriberProperty(&self, bstrpropertyname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubscriberProperty)(windows_core::Interface::as_raw(self), bstrpropertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PutSubscriberProperty(&self, bstrpropertyname: P0, propertyvalue: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -670,11 +670,11 @@ impl IEventSubscription { (windows_core::Interface::vtable(self).RemoveSubscriberProperty)(windows_core::Interface::as_raw(self), bstrpropertyname.param().abi()).ok() } pub unsafe fn GetSubscriberPropertyCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubscriberPropertyCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InterfaceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InterfaceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInterfaceID(&self, bstrinterfaceid: P0) -> windows_core::Result<()> @@ -687,46 +687,46 @@ impl IEventSubscription { #[repr(C)] pub struct IEventSubscription_Vtbl { pub base__: super::IDispatch_Vtbl, - pub SubscriptionID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubscriptionID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SubscriptionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubscriptionName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MethodName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMethodName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SubscriberCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubscriberCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubscriptionID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubscriptionID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubscriptionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubscriptionName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPublisherID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MethodName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMethodName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubscriberCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubscriberCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SubscriberInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSubscriberInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PerUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetPerUser: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub OwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOwnerSID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MachineName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMachineName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPublisherProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutPublisherProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemovePublisherProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MachineName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMachineName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPublisherProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutPublisherProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemovePublisherProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetPublisherPropertyCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetSubscriberProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutSubscriberProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveSubscriberProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSubscriberProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutSubscriberProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveSubscriberProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSubscriberPropertyCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub InterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventSystem, IEventSystem_Vtbl, 0x4e14fb9f_2e22_11d1_9964_00c04fbbb345); impl std::ops::Deref for IEventSystem { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEventSystem, windows_core::IUnknown, super::IDispatch); @@ -736,7 +736,7 @@ impl IEventSystem { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Query)(windows_core::Interface::as_raw(self), progid.param().abi(), querycriteria.param().abi(), errorindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Store(&self, progid: P0, pinterface: P1) -> windows_core::Result<()> @@ -751,11 +751,11 @@ impl IEventSystem { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), progid.param().abi(), querycriteria.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EventObjectChangeEventClassID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventObjectChangeEventClassID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryS(&self, progid: P0, querycriteria: P1) -> windows_core::Result @@ -763,7 +763,7 @@ impl IEventSystem { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryS)(windows_core::Interface::as_raw(self), progid.param().abi(), querycriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveS(&self, progid: P0, querycriteria: P1) -> windows_core::Result<()> @@ -777,18 +777,18 @@ impl IEventSystem { #[repr(C)] pub struct IEventSystem_Vtbl { pub base__: super::IDispatch_Vtbl, - pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Store: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub EventObjectChangeEventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub QueryS: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveS: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Store: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub EventObjectChangeEventClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryS: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RemoveS: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFiringControl, IFiringControl_Vtbl, 0xe0498c93_4efe_11d1_9971_00c04fbbb345); impl std::ops::Deref for IFiringControl { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFiringControl, windows_core::IUnknown, super::IDispatch); @@ -809,7 +809,7 @@ windows_core::imp::define_interface!(IMultiInterfaceEventControl, IMultiInterfac impl std::ops::Deref for IMultiInterfaceEventControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMultiInterfaceEventControl, windows_core::IUnknown); @@ -825,7 +825,7 @@ impl IMultiInterfaceEventControl { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubscriptions)(windows_core::Interface::as_raw(self), eventiid, bstrmethodname.param().abi(), optionalcriteria.param().abi(), optionalerrorindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefaultQuery(&self, eventiid: *const windows_core::GUID, bstrmethodname: P0, bstrcriteria: P1) -> windows_core::Result @@ -833,11 +833,11 @@ impl IMultiInterfaceEventControl { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetDefaultQuery)(windows_core::Interface::as_raw(self), eventiid, bstrmethodname.param().abi(), bstrcriteria.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AllowInprocActivation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowInprocActivation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowInprocActivation(&self, fallowinprocactivation: P0) -> windows_core::Result<()> @@ -847,7 +847,7 @@ impl IMultiInterfaceEventControl { (windows_core::Interface::vtable(self).SetAllowInprocActivation)(windows_core::Interface::as_raw(self), fallowinprocactivation.param().abi()).ok() } pub unsafe fn FireInParallel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FireInParallel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFireInParallel(&self, ffireinparallel: P0) -> windows_core::Result<()> @@ -861,8 +861,8 @@ impl IMultiInterfaceEventControl { pub struct IMultiInterfaceEventControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetMultiInterfacePublisherFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetSubscriptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, std::mem::MaybeUninit, std::mem::MaybeUninit, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetDefaultQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetSubscriptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, core::mem::MaybeUninit, core::mem::MaybeUninit, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetDefaultQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub AllowInprocActivation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetAllowInprocActivation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub FireInParallel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -872,7 +872,7 @@ windows_core::imp::define_interface!(IMultiInterfacePublisherFilter, IMultiInter impl std::ops::Deref for IMultiInterfacePublisherFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMultiInterfacePublisherFilter, windows_core::IUnknown); @@ -895,13 +895,13 @@ impl IMultiInterfacePublisherFilter { pub struct IMultiInterfacePublisherFilter_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PrepareToFire: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PrepareToFire: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPublisherFilter, IPublisherFilter_Vtbl, 0x465e5cc0_7b26_11d1_88fb_0080c7d771bf); impl std::ops::Deref for IPublisherFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPublisherFilter, windows_core::IUnknown); @@ -924,8 +924,8 @@ impl IPublisherFilter { #[repr(C)] pub struct IPublisherFilter_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PrepareToFire: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PrepareToFire: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } pub const EOC_DeletedObject: EOC_ChangeType = EOC_ChangeType(2i32); pub const EOC_ModifiedObject: EOC_ChangeType = EOC_ChangeType(1i32); @@ -950,9 +950,9 @@ pub const CEventSystem: windows_core::GUID = windows_core::GUID::from_u128(0x4e1 pub struct COMEVENTSYSCHANGEINFO { pub cbSize: u32, pub changeType: EOC_ChangeType, - pub objectId: std::mem::ManuallyDrop, - pub partitionId: std::mem::ManuallyDrop, - pub applicationId: std::mem::ManuallyDrop, + pub objectId: core::mem::ManuallyDrop, + pub partitionId: core::mem::ManuallyDrop, + pub applicationId: core::mem::ManuallyDrop, pub reserved: [windows_core::GUID; 10], } impl Clone for COMEVENTSYSCHANGEINFO { 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 ddb3e2f1f3..741a048a7b 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 @@ -1,41 +1,41 @@ #[inline] pub unsafe fn BSTR_UserFree(param0: *const u32, param1: *const windows_core::BSTR) { - windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserFree(param0 : *const u32, param1 : *const std::mem::MaybeUninit < windows_core::BSTR >)); + windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserFree(param0 : *const u32, param1 : *const core::mem::MaybeUninit < windows_core::BSTR >)); BSTR_UserFree(param0, core::mem::transmute(param1)) } #[inline] pub unsafe fn BSTR_UserFree64(param0: *const u32, param1: *const windows_core::BSTR) { - windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserFree64(param0 : *const u32, param1 : *const std::mem::MaybeUninit < windows_core::BSTR >)); + windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserFree64(param0 : *const u32, param1 : *const core::mem::MaybeUninit < windows_core::BSTR >)); BSTR_UserFree64(param0, core::mem::transmute(param1)) } #[inline] pub unsafe fn BSTR_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const windows_core::BSTR) -> *mut u8 { - windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const std::mem::MaybeUninit < windows_core::BSTR >) -> *mut u8); + windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const core::mem::MaybeUninit < windows_core::BSTR >) -> *mut u8); BSTR_UserMarshal(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn BSTR_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const windows_core::BSTR) -> *mut u8 { - windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const std::mem::MaybeUninit < windows_core::BSTR >) -> *mut u8); + windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const core::mem::MaybeUninit < windows_core::BSTR >) -> *mut u8); BSTR_UserMarshal64(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn BSTR_UserSize(param0: *const u32, param1: u32, param2: *const windows_core::BSTR) -> u32 { - windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserSize(param0 : *const u32, param1 : u32, param2 : *const std::mem::MaybeUninit < windows_core::BSTR >) -> u32); + windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserSize(param0 : *const u32, param1 : u32, param2 : *const core::mem::MaybeUninit < windows_core::BSTR >) -> u32); BSTR_UserSize(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn BSTR_UserSize64(param0: *const u32, param1: u32, param2: *const windows_core::BSTR) -> u32 { - windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserSize64(param0 : *const u32, param1 : u32, param2 : *const std::mem::MaybeUninit < windows_core::BSTR >) -> u32); + windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserSize64(param0 : *const u32, param1 : u32, param2 : *const core::mem::MaybeUninit < windows_core::BSTR >) -> u32); BSTR_UserSize64(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn BSTR_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut windows_core::BSTR) -> *mut u8 { - windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> *mut u8); + windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> *mut u8); BSTR_UserUnmarshal(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn BSTR_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut windows_core::BSTR) -> *mut u8 { - windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> *mut u8); + windows_targets::link!("oleaut32.dll" "system" fn BSTR_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> *mut u8); BSTR_UserUnmarshal64(param0, param1, core::mem::transmute(param2)) } #[inline] @@ -92,7 +92,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoGetStandardMarshal(riid, punk.param().abi(), dwdestcontext, core::mem::transmute(pvdestcontext.unwrap_or(std::ptr::null())), mshlflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -101,7 +101,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CoGetStdMarshalEx(punkouter : * mut core::ffi::c_void, smexflags : u32, ppunkinner : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoGetStdMarshalEx(punkouter.param().abi(), smexflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -118,7 +118,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoMarshalInterThreadInterfaceInStream(riid, punk.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -144,7 +144,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CoUnmarshalHresult(pstm : * mut core::ffi::c_void, phresult : *mut windows_core::HRESULT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoUnmarshalHresult(pstm.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -657,17 +657,17 @@ windows_core::imp::define_interface!(IMarshal, IMarshal_Vtbl, 0x00000003_0000_00 impl std::ops::Deref for IMarshal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMarshal, windows_core::IUnknown); impl IMarshal { pub unsafe fn GetUnmarshalClass(&self, riid: *const windows_core::GUID, pv: Option<*const core::ffi::c_void>, dwdestcontext: u32, pvdestcontext: Option<*const core::ffi::c_void>, mshlflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnmarshalClass)(windows_core::Interface::as_raw(self), riid, core::mem::transmute(pv.unwrap_or(std::ptr::null())), dwdestcontext, core::mem::transmute(pvdestcontext.unwrap_or(std::ptr::null())), mshlflags, &mut result__).map(|| result__) } pub unsafe fn GetMarshalSizeMax(&self, riid: *const windows_core::GUID, pv: Option<*const core::ffi::c_void>, dwdestcontext: u32, pvdestcontext: Option<*const core::ffi::c_void>, mshlflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMarshalSizeMax)(windows_core::Interface::as_raw(self), riid, core::mem::transmute(pv.unwrap_or(std::ptr::null())), dwdestcontext, core::mem::transmute(pvdestcontext.unwrap_or(std::ptr::null())), mshlflags, &mut result__).map(|| result__) } pub unsafe fn MarshalInterface(&self, pstm: P0, riid: *const windows_core::GUID, pv: Option<*const core::ffi::c_void>, dwdestcontext: u32, pvdestcontext: Option<*const core::ffi::c_void>, mshlflags: u32) -> windows_core::Result<()> @@ -706,7 +706,7 @@ windows_core::imp::define_interface!(IMarshal2, IMarshal2_Vtbl, 0x000001cf_0000_ impl std::ops::Deref for IMarshal2 { type Target = IMarshal; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMarshal2, windows_core::IUnknown, IMarshal); @@ -719,13 +719,13 @@ windows_core::imp::define_interface!(IMarshalingStream, IMarshalingStream_Vtbl, impl std::ops::Deref for IMarshalingStream { type Target = super::IStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMarshalingStream, windows_core::IUnknown, super::ISequentialStream, super::IStream); impl IMarshalingStream { pub unsafe fn GetMarshalingContextAttribute(&self, attribute: super::CO_MARSHALING_CONTEXT_ATTRIBUTES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMarshalingContextAttribute)(windows_core::Interface::as_raw(self), attribute, &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs index d21de4a5d4..9b16f0185d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs @@ -366,8 +366,8 @@ impl IMemoryAllocator_ImplVtbl { impl IMemoryAllocator { pub fn new<'a, T: IMemoryAllocator_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IMemoryAllocator_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IPersistStorage_Impl: Sized + super::IPersist_Impl { @@ -432,12 +432,12 @@ pub trait IPropertyBag_Impl: Sized { impl windows_core::RuntimeName for IPropertyBag {} impl IPropertyBag_Vtbl { pub const fn new, Impl: IPropertyBag_Impl, const OFFSET: isize>() -> IPropertyBag_Vtbl { - unsafe extern "system" fn Read, Impl: IPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszpropname: windows_core::PCWSTR, pvar: *mut std::mem::MaybeUninit, perrorlog: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Read, Impl: IPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszpropname: windows_core::PCWSTR, pvar: *mut core::mem::MaybeUninit, perrorlog: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyBag_Impl::Read(this, core::mem::transmute(&pszpropname), core::mem::transmute_copy(&pvar), windows_core::from_raw_borrowed(&perrorlog)).into() } - unsafe extern "system" fn Write, Impl: IPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszpropname: windows_core::PCWSTR, pvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Write, Impl: IPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszpropname: windows_core::PCWSTR, pvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyBag_Impl::Write(this, core::mem::transmute(&pszpropname), core::mem::transmute_copy(&pvar)).into() @@ -461,12 +461,12 @@ impl windows_core::RuntimeName for IPropertyBag2 {} #[cfg(feature = "Win32_System_Variant")] impl IPropertyBag2_Vtbl { pub const fn new, Impl: IPropertyBag2_Impl, const OFFSET: isize>() -> IPropertyBag2_Vtbl { - unsafe extern "system" fn Read, Impl: IPropertyBag2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cproperties: u32, ppropbag: *const PROPBAG2, perrlog: *mut core::ffi::c_void, pvarvalue: *mut std::mem::MaybeUninit, phrerror: *mut windows_core::HRESULT) -> windows_core::HRESULT { + unsafe extern "system" fn Read, Impl: IPropertyBag2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cproperties: u32, ppropbag: *const PROPBAG2, perrlog: *mut core::ffi::c_void, pvarvalue: *mut core::mem::MaybeUninit, phrerror: *mut windows_core::HRESULT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyBag2_Impl::Read(this, core::mem::transmute_copy(&cproperties), core::mem::transmute_copy(&ppropbag), windows_core::from_raw_borrowed(&perrlog), core::mem::transmute_copy(&pvarvalue), core::mem::transmute_copy(&phrerror)).into() } - unsafe extern "system" fn Write, Impl: IPropertyBag2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cproperties: u32, ppropbag: *const PROPBAG2, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Write, Impl: IPropertyBag2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cproperties: u32, ppropbag: *const PROPBAG2, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyBag2_Impl::Write(this, core::mem::transmute_copy(&cproperties), core::mem::transmute_copy(&ppropbag), core::mem::transmute_copy(&pvarvalue)).into() @@ -581,12 +581,12 @@ pub trait IPropertyStorage_Impl: Sized { impl windows_core::RuntimeName for IPropertyStorage {} impl IPropertyStorage_Vtbl { pub const fn new, Impl: IPropertyStorage_Impl, const OFFSET: isize>() -> IPropertyStorage_Vtbl { - unsafe extern "system" fn ReadMultiple, Impl: IPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const PROPSPEC, rgpropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadMultiple, Impl: IPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const PROPSPEC, rgpropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyStorage_Impl::ReadMultiple(this, core::mem::transmute_copy(&cpspec), core::mem::transmute_copy(&rgpspec), core::mem::transmute_copy(&rgpropvar)).into() } - unsafe extern "system" fn WriteMultiple, Impl: IPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const PROPSPEC, rgpropvar: *const std::mem::MaybeUninit, propidnamefirst: u32) -> windows_core::HRESULT { + unsafe extern "system" fn WriteMultiple, Impl: IPropertyStorage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cpspec: u32, rgpspec: *const PROPSPEC, rgpropvar: *const core::mem::MaybeUninit, propidnamefirst: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyStorage_Impl::WriteMultiple(this, core::mem::transmute_copy(&cpspec), core::mem::transmute_copy(&rgpspec), core::mem::transmute_copy(&rgpropvar), core::mem::transmute_copy(&propidnamefirst)).into() 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 0063a06d11..7774783124 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 @@ -1,6 +1,6 @@ #[inline] pub unsafe fn ClearPropVariantArray(rgpropvar: &mut [windows_core::PROPVARIANT]) { - windows_targets::link!("propsys.dll" "system" fn ClearPropVariantArray(rgpropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >, cvars : u32)); + windows_targets::link!("propsys.dll" "system" fn ClearPropVariantArray(rgpropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >, cvars : u32)); ClearPropVariantArray(core::mem::transmute(rgpropvar.as_ptr()), rgpropvar.len().try_into().unwrap()) } #[inline] @@ -38,7 +38,7 @@ where P1: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CreateILockBytesOnHGlobal(hglobal : super::super::super::Foundation:: HGLOBAL, fdeleteonrelease : super::super::super::Foundation:: BOOL, pplkbyt : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateILockBytesOnHGlobal(hglobal.param().abi(), fdeleteonrelease.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -48,7 +48,7 @@ where P1: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CreateStreamOnHGlobal(hglobal : super::super::super::Foundation:: HGLOBAL, fdeleteonrelease : super::super::super::Foundation:: BOOL, ppstm : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateStreamOnHGlobal(hglobal.param().abi(), fdeleteonrelease.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -58,7 +58,7 @@ pub unsafe fn FmtIdToPropStgName(pfmtid: *const windows_core::GUID, oszname: win } #[inline] pub unsafe fn FreePropVariantArray(rgvars: &mut [windows_core::PROPVARIANT]) -> windows_core::Result<()> { - windows_targets::link!("ole32.dll" "system" fn FreePropVariantArray(cvariants : u32, rgvars : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + windows_targets::link!("ole32.dll" "system" fn FreePropVariantArray(cvariants : u32, rgvars : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); FreePropVariantArray(rgvars.len().try_into().unwrap(), core::mem::transmute(rgvars.as_ptr())).ok() } #[inline] @@ -75,7 +75,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn GetHGlobalFromILockBytes(plkbyt : * mut core::ffi::c_void, phglobal : *mut super::super::super::Foundation:: HGLOBAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetHGlobalFromILockBytes(plkbyt.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -84,73 +84,73 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn GetHGlobalFromStream(pstm : * mut core::ffi::c_void, phglobal : *mut super::super::super::Foundation:: HGLOBAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetHGlobalFromStream(pstm.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn InitPropVariantFromBooleanVector(prgf: Option<&[super::super::super::Foundation::BOOL]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromBooleanVector(prgf : *const super::super::super::Foundation:: BOOL, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromBooleanVector(prgf : *const super::super::super::Foundation:: BOOL, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromBooleanVector(core::mem::transmute(prgf.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgf.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromBuffer(pv: *const core::ffi::c_void, cb: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromBuffer(pv : *const core::ffi::c_void, cb : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromBuffer(pv : *const core::ffi::c_void, cb : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromBuffer(pv, cb, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromCLSID(clsid: *const windows_core::GUID) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromCLSID(clsid : *const windows_core::GUID, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromCLSID(clsid : *const windows_core::GUID, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromCLSID(clsid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromDoubleVector(prgn: Option<&[f64]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromDoubleVector(prgn : *const f64, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromDoubleVector(prgn : *const f64, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromDoubleVector(core::mem::transmute(prgn.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromFileTime(pftin: *const super::super::super::Foundation::FILETIME) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromFileTime(pftin : *const super::super::super::Foundation:: FILETIME, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromFileTime(pftin : *const super::super::super::Foundation:: FILETIME, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromFileTime(pftin, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromFileTimeVector(prgft: Option<&[super::super::super::Foundation::FILETIME]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromFileTimeVector(prgft : *const super::super::super::Foundation:: FILETIME, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromFileTimeVector(prgft : *const super::super::super::Foundation:: FILETIME, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromFileTimeVector(core::mem::transmute(prgft.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgft.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromGUIDAsString(guid: *const windows_core::GUID) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromGUIDAsString(guid : *const windows_core::GUID, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromGUIDAsString(guid : *const windows_core::GUID, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromGUIDAsString(guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromInt16Vector(prgn: Option<&[i16]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromInt16Vector(prgn : *const i16, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromInt16Vector(prgn : *const i16, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromInt16Vector(core::mem::transmute(prgn.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromInt32Vector(prgn: Option<&[i32]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromInt32Vector(prgn : *const i32, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromInt32Vector(prgn : *const i32, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromInt32Vector(core::mem::transmute(prgn.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromInt64Vector(prgn: Option<&[i64]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromInt64Vector(prgn : *const i64, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromInt64Vector(prgn : *const i64, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromInt64Vector(core::mem::transmute(prgn.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromPropVariantVectorElem(propvarin: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromPropVariantVectorElem(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromPropVariantVectorElem(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromPropVariantVectorElem(core::mem::transmute(propvarin), ielem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -158,8 +158,8 @@ pub unsafe fn InitPropVariantFromResource(hinst: P0, id: u32) -> windows_cor where P0: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromResource(hinst : super::super::super::Foundation:: HINSTANCE, id : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromResource(hinst : super::super::super::Foundation:: HINSTANCE, id : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromResource(hinst.param().abi(), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -167,38 +167,38 @@ pub unsafe fn InitPropVariantFromStringAsVector(psz: P0) -> windows_core::Re where P0: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromStringAsVector(psz : windows_core::PCWSTR, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromStringAsVector(psz : windows_core::PCWSTR, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromStringAsVector(psz.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromStringVector(prgsz: Option<&[windows_core::PCWSTR]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromStringVector(prgsz : *const windows_core::PCWSTR, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromStringVector(prgsz : *const windows_core::PCWSTR, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromStringVector(core::mem::transmute(prgsz.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgsz.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromUInt16Vector(prgn: Option<&[u16]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromUInt16Vector(prgn : *const u16, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromUInt16Vector(prgn : *const u16, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromUInt16Vector(core::mem::transmute(prgn.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromUInt32Vector(prgn: Option<&[u32]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromUInt32Vector(prgn : *const u32, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromUInt32Vector(prgn : *const u32, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromUInt32Vector(core::mem::transmute(prgn.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantFromUInt64Vector(prgn: Option<&[u64]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromUInt64Vector(prgn : *const u64, celems : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromUInt64Vector(prgn : *const u64, celems : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantFromUInt64Vector(core::mem::transmute(prgn.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgn.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitPropVariantVectorFromPropVariant(propvarsingle: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantVectorFromPropVariant(propvarsingle : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ppropvarvector : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantVectorFromPropVariant(propvarsingle : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ppropvarvector : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitPropVariantVectorFromPropVariant(core::mem::transmute(propvarsingle), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -207,7 +207,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn OleConvertIStorageToOLESTREAM(pstg : * mut core::ffi::c_void, lpolestream : *mut OLESTREAM) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleConvertIStorageToOLESTREAM(pstg.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -217,7 +217,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn OleConvertIStorageToOLESTREAMEx(pstg : * mut core::ffi::c_void, cfformat : u16, lwidth : i32, lheight : i32, dwsize : u32, pmedium : *const super:: STGMEDIUM, polestm : *mut OLESTREAM) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleConvertIStorageToOLESTREAMEx(pstg.param().abi(), cfformat, lwidth, lheight, dwsize, pmedium, &mut result__).map(|| result__) } #[inline] @@ -243,115 +243,115 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn PropStgNameToFmtId(oszname : windows_core::PCWSTR, pfmtid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PropStgNameToFmtId(oszname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Variant")] #[inline] pub unsafe fn PropVariantChangeType(ppropvardest: *mut windows_core::PROPVARIANT, propvarsrc: *const windows_core::PROPVARIANT, flags: PROPVAR_CHANGE_FLAGS, vt: super::super::Variant::VARENUM) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantChangeType(ppropvardest : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >, propvarsrc : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, flags : PROPVAR_CHANGE_FLAGS, vt : super::super::Variant:: VARENUM) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantChangeType(ppropvardest : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >, propvarsrc : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, flags : PROPVAR_CHANGE_FLAGS, vt : super::super::Variant:: VARENUM) -> windows_core::HRESULT); PropVariantChangeType(core::mem::transmute(ppropvardest), core::mem::transmute(propvarsrc), flags, vt).ok() } #[inline] pub unsafe fn PropVariantClear(pvar: *mut windows_core::PROPVARIANT) -> windows_core::Result<()> { - windows_targets::link!("ole32.dll" "system" fn PropVariantClear(pvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + windows_targets::link!("ole32.dll" "system" fn PropVariantClear(pvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); PropVariantClear(core::mem::transmute(pvar)).ok() } #[inline] pub unsafe fn PropVariantCompareEx(propvar1: *const windows_core::PROPVARIANT, propvar2: *const windows_core::PROPVARIANT, unit: PROPVAR_COMPARE_UNIT, flags: PROPVAR_COMPARE_FLAGS) -> i32 { - windows_targets::link!("propsys.dll" "system" fn PropVariantCompareEx(propvar1 : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, propvar2 : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, unit : PROPVAR_COMPARE_UNIT, flags : PROPVAR_COMPARE_FLAGS) -> i32); + windows_targets::link!("propsys.dll" "system" fn PropVariantCompareEx(propvar1 : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, propvar2 : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, unit : PROPVAR_COMPARE_UNIT, flags : PROPVAR_COMPARE_FLAGS) -> i32); PropVariantCompareEx(core::mem::transmute(propvar1), core::mem::transmute(propvar2), unit, flags) } #[inline] pub unsafe fn PropVariantCopy(pvardest: *mut windows_core::PROPVARIANT, pvarsrc: *const windows_core::PROPVARIANT) -> windows_core::Result<()> { - windows_targets::link!("ole32.dll" "system" fn PropVariantCopy(pvardest : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >, pvarsrc : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + windows_targets::link!("ole32.dll" "system" fn PropVariantCopy(pvardest : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >, pvarsrc : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); PropVariantCopy(core::mem::transmute(pvardest), core::mem::transmute(pvarsrc)).ok() } #[inline] pub unsafe fn PropVariantGetBooleanElem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetBooleanElem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pfval : *mut super::super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetBooleanElem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pfval : *mut super::super::super::Foundation:: BOOL) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetBooleanElem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantGetDoubleElem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetDoubleElem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetDoubleElem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut f64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetDoubleElem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantGetElementCount(propvar: *const windows_core::PROPVARIANT) -> u32 { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetElementCount(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> u32); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetElementCount(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> u32); PropVariantGetElementCount(core::mem::transmute(propvar)) } #[inline] pub unsafe fn PropVariantGetFileTimeElem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetFileTimeElem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pftval : *mut super::super::super::Foundation:: FILETIME) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetFileTimeElem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pftval : *mut super::super::super::Foundation:: FILETIME) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetFileTimeElem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantGetInt16Elem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetInt16Elem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetInt16Elem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut i16) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetInt16Elem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantGetInt32Elem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetInt32Elem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetInt32Elem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut i32) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetInt32Elem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantGetInt64Elem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetInt64Elem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetInt64Elem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut i64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetInt64Elem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantGetStringElem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetStringElem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, ppszval : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetStringElem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, ppszval : *mut windows_core::PWSTR) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetStringElem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantGetUInt16Elem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetUInt16Elem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetUInt16Elem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut u16) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetUInt16Elem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantGetUInt32Elem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetUInt32Elem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetUInt32Elem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut u32) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetUInt32Elem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantGetUInt64Elem(propvar: *const windows_core::PROPVARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantGetUInt64Elem(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantGetUInt64Elem(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ielem : u32, pnval : *mut u64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantGetUInt64Elem(core::mem::transmute(propvar), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToBSTR(propvar: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToBSTR(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToBSTR(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToBSTR(core::mem::transmute(propvar), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn PropVariantToBoolean(propvarin: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToBoolean(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pfret : *mut super::super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToBoolean(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pfret : *mut super::super::super::Foundation:: BOOL) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToBoolean(core::mem::transmute(propvarin), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToBooleanVector(propvar: *const windows_core::PROPVARIANT, prgf: &mut [super::super::super::Foundation::BOOL], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToBooleanVector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgf : *mut super::super::super::Foundation:: BOOL, crgf : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToBooleanVector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgf : *mut super::super::super::Foundation:: BOOL, crgf : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToBooleanVector(core::mem::transmute(propvar), core::mem::transmute(prgf.as_ptr()), prgf.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToBooleanVectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgf: *mut *mut super::super::super::Foundation::BOOL, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToBooleanVectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgf : *mut *mut super::super::super::Foundation:: BOOL, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToBooleanVectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgf : *mut *mut super::super::super::Foundation:: BOOL, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToBooleanVectorAlloc(core::mem::transmute(propvar), pprgf, pcelem).ok() } #[inline] @@ -359,140 +359,140 @@ pub unsafe fn PropVariantToBooleanWithDefault(propvarin: *const windows_core where P0: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn PropVariantToBooleanWithDefault(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, fdefault : super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); + windows_targets::link!("propsys.dll" "system" fn PropVariantToBooleanWithDefault(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, fdefault : super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); PropVariantToBooleanWithDefault(core::mem::transmute(propvarin), fdefault.param().abi()) } #[inline] pub unsafe fn PropVariantToBuffer(propvar: *const windows_core::PROPVARIANT, pv: *mut core::ffi::c_void, cb: u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToBuffer(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pv : *mut core::ffi::c_void, cb : u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToBuffer(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pv : *mut core::ffi::c_void, cb : u32) -> windows_core::HRESULT); PropVariantToBuffer(core::mem::transmute(propvar), pv, cb).ok() } #[inline] pub unsafe fn PropVariantToDouble(propvarin: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToDouble(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pdblret : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToDouble(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pdblret : *mut f64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToDouble(core::mem::transmute(propvarin), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToDoubleVector(propvar: *const windows_core::PROPVARIANT, prgn: &mut [f64], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToDoubleVector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut f64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToDoubleVector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut f64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToDoubleVector(core::mem::transmute(propvar), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToDoubleVectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgn: *mut *mut f64, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToDoubleVectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut f64, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToDoubleVectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut f64, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToDoubleVectorAlloc(core::mem::transmute(propvar), pprgn, pcelem).ok() } #[inline] pub unsafe fn PropVariantToDoubleWithDefault(propvarin: *const windows_core::PROPVARIANT, dbldefault: f64) -> f64 { - windows_targets::link!("propsys.dll" "system" fn PropVariantToDoubleWithDefault(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, dbldefault : f64) -> f64); + windows_targets::link!("propsys.dll" "system" fn PropVariantToDoubleWithDefault(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, dbldefault : f64) -> f64); PropVariantToDoubleWithDefault(core::mem::transmute(propvarin), dbldefault) } #[cfg(feature = "Win32_System_Variant")] #[inline] pub unsafe fn PropVariantToFileTime(propvar: *const windows_core::PROPVARIANT, pstfout: super::super::Variant::PSTIME_FLAGS) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToFileTime(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pstfout : super::super::Variant:: PSTIME_FLAGS, pftout : *mut super::super::super::Foundation:: FILETIME) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToFileTime(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pstfout : super::super::Variant:: PSTIME_FLAGS, pftout : *mut super::super::super::Foundation:: FILETIME) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToFileTime(core::mem::transmute(propvar), pstfout, &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToFileTimeVector(propvar: *const windows_core::PROPVARIANT, prgft: &mut [super::super::super::Foundation::FILETIME], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToFileTimeVector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgft : *mut super::super::super::Foundation:: FILETIME, crgft : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToFileTimeVector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgft : *mut super::super::super::Foundation:: FILETIME, crgft : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToFileTimeVector(core::mem::transmute(propvar), core::mem::transmute(prgft.as_ptr()), prgft.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToFileTimeVectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgft: *mut *mut super::super::super::Foundation::FILETIME, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToFileTimeVectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgft : *mut *mut super::super::super::Foundation:: FILETIME, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToFileTimeVectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgft : *mut *mut super::super::super::Foundation:: FILETIME, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToFileTimeVectorAlloc(core::mem::transmute(propvar), pprgft, pcelem).ok() } #[inline] pub unsafe fn PropVariantToGUID(propvar: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToGUID(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pguid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToGUID(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pguid : *mut windows_core::GUID) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToGUID(core::mem::transmute(propvar), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToInt16(propvarin: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt16(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, piret : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt16(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, piret : *mut i16) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToInt16(core::mem::transmute(propvarin), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToInt16Vector(propvar: *const windows_core::PROPVARIANT, prgn: &mut [i16], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt16Vector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut i16, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt16Vector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut i16, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToInt16Vector(core::mem::transmute(propvar), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToInt16VectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgn: *mut *mut i16, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt16VectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut i16, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt16VectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut i16, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToInt16VectorAlloc(core::mem::transmute(propvar), pprgn, pcelem).ok() } #[inline] pub unsafe fn PropVariantToInt16WithDefault(propvarin: *const windows_core::PROPVARIANT, idefault: i16) -> i16 { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt16WithDefault(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, idefault : i16) -> i16); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt16WithDefault(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, idefault : i16) -> i16); PropVariantToInt16WithDefault(core::mem::transmute(propvarin), idefault) } #[inline] pub unsafe fn PropVariantToInt32(propvarin: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt32(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, plret : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt32(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, plret : *mut i32) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToInt32(core::mem::transmute(propvarin), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToInt32Vector(propvar: *const windows_core::PROPVARIANT, prgn: &mut [i32], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt32Vector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut i32, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt32Vector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut i32, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToInt32Vector(core::mem::transmute(propvar), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToInt32VectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgn: *mut *mut i32, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt32VectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut i32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt32VectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut i32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToInt32VectorAlloc(core::mem::transmute(propvar), pprgn, pcelem).ok() } #[inline] pub unsafe fn PropVariantToInt32WithDefault(propvarin: *const windows_core::PROPVARIANT, ldefault: i32) -> i32 { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt32WithDefault(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ldefault : i32) -> i32); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt32WithDefault(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ldefault : i32) -> i32); PropVariantToInt32WithDefault(core::mem::transmute(propvarin), ldefault) } #[inline] pub unsafe fn PropVariantToInt64(propvarin: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt64(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pllret : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt64(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pllret : *mut i64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToInt64(core::mem::transmute(propvarin), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToInt64Vector(propvar: *const windows_core::PROPVARIANT, prgn: &mut [i64], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt64Vector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut i64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt64Vector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut i64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToInt64Vector(core::mem::transmute(propvar), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToInt64VectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgn: *mut *mut i64, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt64VectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut i64, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt64VectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut i64, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToInt64VectorAlloc(core::mem::transmute(propvar), pprgn, pcelem).ok() } #[inline] pub unsafe fn PropVariantToInt64WithDefault(propvarin: *const windows_core::PROPVARIANT, lldefault: i64) -> i64 { - windows_targets::link!("propsys.dll" "system" fn PropVariantToInt64WithDefault(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, lldefault : i64) -> i64); + windows_targets::link!("propsys.dll" "system" fn PropVariantToInt64WithDefault(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, lldefault : i64) -> i64); PropVariantToInt64WithDefault(core::mem::transmute(propvarin), lldefault) } #[inline] pub unsafe fn PropVariantToString(propvar: *const windows_core::PROPVARIANT, psz: &mut [u16]) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToString(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, psz : windows_core::PWSTR, cch : u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToString(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, psz : windows_core::PWSTR, cch : u32) -> windows_core::HRESULT); PropVariantToString(core::mem::transmute(propvar), core::mem::transmute(psz.as_ptr()), psz.len().try_into().unwrap()).ok() } #[inline] pub unsafe fn PropVariantToStringAlloc(propvar: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToStringAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ppszout : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToStringAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ppszout : *mut windows_core::PWSTR) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToStringAlloc(core::mem::transmute(propvar), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToStringVector(propvar: *const windows_core::PROPVARIANT, prgsz: &mut [windows_core::PWSTR], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToStringVector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgsz : *mut windows_core::PWSTR, crgsz : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToStringVector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgsz : *mut windows_core::PWSTR, crgsz : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToStringVector(core::mem::transmute(propvar), core::mem::transmute(prgsz.as_ptr()), prgsz.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToStringVectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgsz: *mut *mut windows_core::PWSTR, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToStringVectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgsz : *mut *mut windows_core::PWSTR, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToStringVectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgsz : *mut *mut windows_core::PWSTR, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToStringVectorAlloc(core::mem::transmute(propvar), pprgsz, pcelem).ok() } #[inline] @@ -500,76 +500,76 @@ pub unsafe fn PropVariantToStringWithDefault(propvarin: *const windows_core: where P0: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn PropVariantToStringWithDefault(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pszdefault : windows_core::PCWSTR) -> windows_core::PCWSTR); + windows_targets::link!("propsys.dll" "system" fn PropVariantToStringWithDefault(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pszdefault : windows_core::PCWSTR) -> windows_core::PCWSTR); PropVariantToStringWithDefault(core::mem::transmute(propvarin), pszdefault.param().abi()) } #[inline] pub unsafe fn PropVariantToUInt16(propvarin: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt16(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, puiret : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt16(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, puiret : *mut u16) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToUInt16(core::mem::transmute(propvarin), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToUInt16Vector(propvar: *const windows_core::PROPVARIANT, prgn: &mut [u16], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt16Vector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut u16, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt16Vector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut u16, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToUInt16Vector(core::mem::transmute(propvar), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToUInt16VectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgn: *mut *mut u16, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt16VectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut u16, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt16VectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut u16, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToUInt16VectorAlloc(core::mem::transmute(propvar), pprgn, pcelem).ok() } #[inline] pub unsafe fn PropVariantToUInt16WithDefault(propvarin: *const windows_core::PROPVARIANT, uidefault: u16) -> u16 { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt16WithDefault(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, uidefault : u16) -> u16); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt16WithDefault(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, uidefault : u16) -> u16); PropVariantToUInt16WithDefault(core::mem::transmute(propvarin), uidefault) } #[inline] pub unsafe fn PropVariantToUInt32(propvarin: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt32(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pulret : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt32(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pulret : *mut u32) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToUInt32(core::mem::transmute(propvarin), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToUInt32Vector(propvar: *const windows_core::PROPVARIANT, prgn: &mut [u32], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt32Vector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut u32, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt32Vector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut u32, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToUInt32Vector(core::mem::transmute(propvar), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToUInt32VectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgn: *mut *mut u32, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt32VectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt32VectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToUInt32VectorAlloc(core::mem::transmute(propvar), pprgn, pcelem).ok() } #[inline] pub unsafe fn PropVariantToUInt32WithDefault(propvarin: *const windows_core::PROPVARIANT, uldefault: u32) -> u32 { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt32WithDefault(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, uldefault : u32) -> u32); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt32WithDefault(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, uldefault : u32) -> u32); PropVariantToUInt32WithDefault(core::mem::transmute(propvarin), uldefault) } #[inline] pub unsafe fn PropVariantToUInt64(propvarin: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt64(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pullret : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt64(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pullret : *mut u64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToUInt64(core::mem::transmute(propvarin), &mut result__).map(|| result__) } #[inline] pub unsafe fn PropVariantToUInt64Vector(propvar: *const windows_core::PROPVARIANT, prgn: &mut [u64], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt64Vector(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut u64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt64Vector(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, prgn : *mut u64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToUInt64Vector(core::mem::transmute(propvar), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn PropVariantToUInt64VectorAlloc(propvar: *const windows_core::PROPVARIANT, pprgn: *mut *mut u64, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt64VectorAlloc(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut u64, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt64VectorAlloc(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pprgn : *mut *mut u64, pcelem : *mut u32) -> windows_core::HRESULT); PropVariantToUInt64VectorAlloc(core::mem::transmute(propvar), pprgn, pcelem).ok() } #[inline] pub unsafe fn PropVariantToUInt64WithDefault(propvarin: *const windows_core::PROPVARIANT, ulldefault: u64) -> u64 { - windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt64WithDefault(propvarin : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ulldefault : u64) -> u64); + windows_targets::link!("propsys.dll" "system" fn PropVariantToUInt64WithDefault(propvarin : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ulldefault : u64) -> u64); PropVariantToUInt64WithDefault(core::mem::transmute(propvarin), ulldefault) } #[inline] pub unsafe fn PropVariantToVariant(ppropvar: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PropVariantToVariant(ppropvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PropVariantToVariant(ppropvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PropVariantToVariant(core::mem::transmute(ppropvar), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -577,7 +577,7 @@ pub unsafe fn PropVariantToWinRTPropertyValue(propvar: *const windows_core::P where T: windows_core::Interface, { - windows_targets::link!("propsys.dll" "system" fn PropVariantToWinRTPropertyValue(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToWinRTPropertyValue(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); let mut result__ = std::ptr::null_mut(); PropVariantToWinRTPropertyValue(core::mem::transmute(propvar), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } @@ -587,7 +587,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn ReadClassStg(pstg : * mut core::ffi::c_void, pclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ReadClassStg(pstg.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -596,7 +596,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn ReadClassStm(pstm : * mut core::ffi::c_void, pclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ReadClassStm(pstm.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -621,7 +621,7 @@ pub unsafe fn StgConvertPropertyToVariant(pprop: *const SERIALIZEDPROPERTYVA where P0: windows_core::Param, { - windows_targets::link!("ole32.dll" "system" fn StgConvertPropertyToVariant(pprop : *const SERIALIZEDPROPERTYVALUE, codepage : u16, pvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >, pma : * mut core::ffi::c_void) -> super::super::super::Foundation:: BOOLEAN); + windows_targets::link!("ole32.dll" "system" fn StgConvertPropertyToVariant(pprop : *const SERIALIZEDPROPERTYVALUE, codepage : u16, pvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >, pma : * mut core::ffi::c_void) -> super::super::super::Foundation:: BOOLEAN); StgConvertPropertyToVariant(pprop, codepage, core::mem::transmute(pvar), pma.param().abi()) } #[inline] @@ -629,7 +629,7 @@ pub unsafe fn StgConvertVariantToProperty(pvar: *const windows_core::PROPVAR where P0: windows_core::Param, { - windows_targets::link!("ole32.dll" "system" fn StgConvertVariantToProperty(pvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, codepage : u16, pprop : *mut SERIALIZEDPROPERTYVALUE, pcb : *mut u32, pid : u32, freserved : super::super::super::Foundation:: BOOLEAN, pcindirect : *mut u32) -> *mut SERIALIZEDPROPERTYVALUE); + windows_targets::link!("ole32.dll" "system" fn StgConvertVariantToProperty(pvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, codepage : u16, pprop : *mut SERIALIZEDPROPERTYVALUE, pcb : *mut u32, pid : u32, freserved : super::super::super::Foundation:: BOOLEAN, pcindirect : *mut u32) -> *mut SERIALIZEDPROPERTYVALUE); StgConvertVariantToProperty(core::mem::transmute(pvar), codepage, core::mem::transmute(pprop.unwrap_or(std::ptr::null_mut())), pcb, pid, freserved.param().abi(), core::mem::transmute(pcindirect.unwrap_or(std::ptr::null_mut()))) } #[inline] @@ -638,7 +638,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn StgCreateDocfile(pwcsname : windows_core::PCWSTR, grfmode : super:: STGM, reserved : u32, ppstgopen : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgCreateDocfile(pwcsname.param().abi(), grfmode, reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -647,7 +647,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn StgCreateDocfileOnILockBytes(plkbyt : * mut core::ffi::c_void, grfmode : super:: STGM, reserved : u32, ppstgopen : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgCreateDocfileOnILockBytes(plkbyt.param().abi(), grfmode, reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -656,7 +656,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn StgCreatePropSetStg(pstorage : * mut core::ffi::c_void, dwreserved : u32, pppropsetstg : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgCreatePropSetStg(pstorage.param().abi(), dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -665,7 +665,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgCreatePropStg(punk.param().abi(), fmtid, pclsid, grfflags, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Security")] @@ -680,8 +680,8 @@ where } #[inline] pub unsafe fn StgDeserializePropVariant(pprop: *const SERIALIZEDPROPERTYVALUE, cbmax: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn StgDeserializePropVariant(pprop : *const SERIALIZEDPROPERTYVALUE, cbmax : u32, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn StgDeserializePropVariant(pprop : *const SERIALIZEDPROPERTYVALUE, cbmax : u32, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); StgDeserializePropVariant(pprop, cbmax, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -690,7 +690,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn StgGetIFillLockBytesOnFile(pwcsname : windows_core::PCWSTR, ppflb : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgGetIFillLockBytesOnFile(pwcsname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -699,7 +699,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn StgGetIFillLockBytesOnILockBytes(pilb : * mut core::ffi::c_void, ppflb : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgGetIFillLockBytesOnILockBytes(pilb.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -724,7 +724,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgOpenAsyncDocfileOnIFillLockBytes(pflb.param().abi(), grfmode, asyncflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -733,7 +733,7 @@ where P0: windows_core::Param, { windows_targets::link!("dflayout.dll" "system" fn StgOpenLayoutDocfile(pwcsdfname : windows_core::PCWSTR, grfmode : u32, reserved : u32, ppstgopen : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgOpenLayoutDocfile(pwcsdfname.param().abi(), grfmode, reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -742,7 +742,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgOpenPropStg(punk.param().abi(), fmtid, grfflags, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -752,7 +752,7 @@ where P1: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn StgOpenStorage(pwcsname : windows_core::PCWSTR, pstgpriority : * mut core::ffi::c_void, grfmode : super:: STGM, snbexclude : *const *const u16, reserved : u32, ppstgopen : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgOpenStorage(pwcsname.param().abi(), pstgpriority.param().abi(), grfmode, core::mem::transmute(snbexclude.unwrap_or(std::ptr::null())), reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Security")] @@ -772,7 +772,7 @@ where P1: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn StgOpenStorageOnILockBytes(plkbyt : * mut core::ffi::c_void, pstgpriority : * mut core::ffi::c_void, grfmode : super:: STGM, snbexclude : *const *const u16, reserved : u32, ppstgopen : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StgOpenStorageOnILockBytes(plkbyt.param().abi(), pstgpriority.param().abi(), grfmode, core::mem::transmute(snbexclude.unwrap_or(std::ptr::null())), reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -782,7 +782,7 @@ pub unsafe fn StgPropertyLengthAsVariant(pprop: *const SERIALIZEDPROPERTYVALUE, } #[inline] pub unsafe fn StgSerializePropVariant(ppropvar: *const windows_core::PROPVARIANT, ppprop: *mut *mut SERIALIZEDPROPERTYVALUE, pcb: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn StgSerializePropVariant(ppropvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ppprop : *mut *mut SERIALIZEDPROPERTYVALUE, pcb : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn StgSerializePropVariant(ppropvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ppprop : *mut *mut SERIALIZEDPROPERTYVALUE, pcb : *mut u32) -> windows_core::HRESULT); StgSerializePropVariant(core::mem::transmute(ppropvar), ppprop, pcb).ok() } #[inline] @@ -795,8 +795,8 @@ where } #[inline] pub unsafe fn VariantToPropVariant(pvar: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToPropVariant(pvar : *const std::mem::MaybeUninit < windows_core::VARIANT >, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToPropVariant(pvar : *const core::mem::MaybeUninit < windows_core::VARIANT >, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToPropVariant(core::mem::transmute(pvar), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -804,8 +804,8 @@ pub unsafe fn WinRTPropertyValueToPropVariant(punkpropertyvalue: P0) -> wind where P0: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn WinRTPropertyValueToPropVariant(punkpropertyvalue : * mut core::ffi::c_void, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn WinRTPropertyValueToPropVariant(punkpropertyvalue : * mut core::ffi::c_void, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WinRTPropertyValueToPropVariant(punkpropertyvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -837,7 +837,7 @@ windows_core::imp::define_interface!(IDirectWriterLock, IDirectWriterLock_Vtbl, impl std::ops::Deref for IDirectWriterLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirectWriterLock, windows_core::IUnknown); @@ -863,7 +863,7 @@ windows_core::imp::define_interface!(IEnumSTATPROPSETSTG, IEnumSTATPROPSETSTG_Vt impl std::ops::Deref for IEnumSTATPROPSETSTG { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSTATPROPSETSTG, windows_core::IUnknown); @@ -878,7 +878,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -894,7 +894,7 @@ windows_core::imp::define_interface!(IEnumSTATPROPSTG, IEnumSTATPROPSTG_Vtbl, 0x impl std::ops::Deref for IEnumSTATPROPSTG { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSTATPROPSTG, windows_core::IUnknown); @@ -910,7 +910,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -929,7 +929,7 @@ windows_core::imp::define_interface!(IEnumSTATSTG, IEnumSTATSTG_Vtbl, 0x0000000d impl std::ops::Deref for IEnumSTATSTG { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSTATSTG, windows_core::IUnknown); @@ -944,7 +944,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -960,17 +960,17 @@ windows_core::imp::define_interface!(IFillLockBytes, IFillLockBytes_Vtbl, 0x99ca impl std::ops::Deref for IFillLockBytes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FillAppend)(windows_core::Interface::as_raw(self), pv, cb, &mut result__).map(|| result__) } pub unsafe fn FillAt(&self, uloffset: u64, pv: *const core::ffi::c_void, cb: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FillAt)(windows_core::Interface::as_raw(self), uloffset, pv, cb, &mut result__).map(|| result__) } pub unsafe fn SetFillSize(&self, ulsize: u64) -> windows_core::Result<()> { @@ -995,7 +995,7 @@ windows_core::imp::define_interface!(ILayoutStorage, ILayoutStorage_Vtbl, 0x0e6d impl std::ops::Deref for ILayoutStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILayoutStorage, windows_core::IUnknown); @@ -1035,7 +1035,7 @@ windows_core::imp::define_interface!(ILockBytes, ILockBytes_Vtbl, 0x0000000a_000 impl std::ops::Deref for ILockBytes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILockBytes, windows_core::IUnknown); @@ -1091,7 +1091,7 @@ windows_core::imp::define_interface!(IPersistStorage, IPersistStorage_Vtbl, 0x00 impl std::ops::Deref for IPersistStorage { type Target = super::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistStorage, windows_core::IUnknown, super::IPersist); @@ -1142,7 +1142,7 @@ windows_core::imp::define_interface!(IPropertyBag, IPropertyBag_Vtbl, 0x55272a00 impl std::ops::Deref for IPropertyBag { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyBag, windows_core::IUnknown); @@ -1164,14 +1164,14 @@ impl IPropertyBag { #[repr(C)] pub struct IPropertyBag_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyBag2, IPropertyBag2_Vtbl, 0x22f55882_280b_11d0_a8a9_00a0c90c2004); impl std::ops::Deref for IPropertyBag2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyBag2, windows_core::IUnknown); @@ -1188,7 +1188,7 @@ impl IPropertyBag2 { (windows_core::Interface::vtable(self).Write)(windows_core::Interface::as_raw(self), cproperties, ppropbag, core::mem::transmute(pvarvalue)).ok() } pub unsafe fn CountProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Variant")] @@ -1208,11 +1208,11 @@ impl IPropertyBag2 { pub struct IPropertyBag2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Variant")] - pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const PROPBAG2, *mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut windows_core::HRESULT) -> windows_core::HRESULT, + pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const PROPBAG2, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut windows_core::HRESULT) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Variant"))] Read: usize, #[cfg(feature = "Win32_System_Variant")] - pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const PROPBAG2, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const PROPBAG2, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Variant"))] Write: usize, pub CountProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -1226,24 +1226,24 @@ windows_core::imp::define_interface!(IPropertySetStorage, IPropertySetStorage_Vt impl std::ops::Deref for IPropertySetStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), rfmtid, pclsid, grfflags, grfmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Open(&self, rfmtid: *const windows_core::GUID, grfmode: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), rfmtid, grfmode, &mut result__).and_then(|| windows_core::Type::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), rfmtid).ok() } pub unsafe fn Enum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1259,7 +1259,7 @@ windows_core::imp::define_interface!(IPropertyStorage, IPropertyStorage_Vtbl, 0x impl std::ops::Deref for IPropertyStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyStorage, windows_core::IUnknown); @@ -1289,7 +1289,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTimes(&self, pctime: *const super::super::super::Foundation::FILETIME, patime: *const super::super::super::Foundation::FILETIME, pmtime: *const super::super::super::Foundation::FILETIME) -> windows_core::Result<()> { @@ -1305,8 +1305,8 @@ impl IPropertyStorage { #[repr(C)] pub struct IPropertyStorage_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ReadMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const PROPSPEC, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WriteMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const PROPSPEC, *const std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub ReadMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const PROPSPEC, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WriteMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const PROPSPEC, *const core::mem::MaybeUninit, u32) -> windows_core::HRESULT, pub DeleteMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const PROPSPEC) -> windows_core::HRESULT, pub ReadPropertyNames: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub WritePropertyNames: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32, *const windows_core::PCWSTR) -> windows_core::HRESULT, @@ -1322,7 +1322,7 @@ windows_core::imp::define_interface!(IRootStorage, IRootStorage_Vtbl, 0x00000012 impl std::ops::Deref for IRootStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRootStorage, windows_core::IUnknown); @@ -1343,7 +1343,7 @@ windows_core::imp::define_interface!(IStorage, IStorage_Vtbl, 0x0000000b_0000_00 impl std::ops::Deref for IStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorage, windows_core::IUnknown); @@ -1352,21 +1352,21 @@ impl IStorage { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStream)(windows_core::Interface::as_raw(self), pwcsname.param().abi(), grfmode, reserved1, reserved2, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenStream(&self, pwcsname: P0, reserved1: Option<*const core::ffi::c_void>, grfmode: super::STGM, reserved2: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenStream)(windows_core::Interface::as_raw(self), pwcsname.param().abi(), core::mem::transmute(reserved1.unwrap_or(std::ptr::null())), grfmode, reserved2, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateStorage(&self, pwcsname: P0, grfmode: super::STGM, reserved1: u32, reserved2: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStorage)(windows_core::Interface::as_raw(self), pwcsname.param().abi(), grfmode, reserved1, reserved2, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenStorage(&self, pwcsname: P0, pstgpriority: P1, grfmode: super::STGM, snbexclude: *const *const u16, reserved: u32) -> windows_core::Result @@ -1374,7 +1374,7 @@ impl IStorage { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenStorage)(windows_core::Interface::as_raw(self), pwcsname.param().abi(), pstgpriority.param().abi(), grfmode, snbexclude, reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CopyTo(&self, rgiidexclude: Option<&[windows_core::GUID]>, snbexclude: Option<*const *const u16>, pstgdest: P0) -> windows_core::Result<()> @@ -1398,7 +1398,7 @@ impl IStorage { (windows_core::Interface::vtable(self).Revert)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn EnumElements(&self, reserved1: u32, reserved2: Option<*const core::ffi::c_void>, reserved3: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumElements)(windows_core::Interface::as_raw(self), reserved1, core::mem::transmute(reserved2.unwrap_or(std::ptr::null())), reserved3, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DestroyElement(&self, pwcsname: P0) -> windows_core::Result<()> @@ -2198,7 +2198,7 @@ impl Default for STGOPTIONS { #[derive(Debug, Eq, PartialEq)] pub struct VERSIONEDSTREAM { pub guidVersion: windows_core::GUID, - pub pStream: std::mem::ManuallyDrop>, + pub pStream: core::mem::ManuallyDrop>, } impl Clone for VERSIONEDSTREAM { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs index 2f33a0493f..224097d74c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IDummyHICONIncluder, IDummyHICONIncluder_Vt impl std::ops::Deref for IDummyHICONIncluder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDummyHICONIncluder, windows_core::IUnknown); @@ -28,7 +28,7 @@ windows_core::imp::define_interface!(IThumbnailExtractor, IThumbnailExtractor_Vt impl std::ops::Deref for IThumbnailExtractor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IThumbnailExtractor, windows_core::IUnknown); 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 e21c5c8803..449722d5f3 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 @@ -174,7 +174,7 @@ pub unsafe fn CopyBindInfo(pcbisrc: *const super::BINDINFO, pbidest: *mut super: #[inline] pub unsafe fn CopyStgMedium(pcstgmedsrc: *const super::STGMEDIUM) -> windows_core::Result { windows_targets::link!("urlmon.dll" "system" fn CopyStgMedium(pcstgmedsrc : *const super:: STGMEDIUM, pstgmeddest : *mut super:: STGMEDIUM) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CopyStgMedium(pcstgmedsrc, &mut result__).map(|| result__) } #[inline] @@ -184,7 +184,7 @@ where P1: windows_core::Param, { windows_targets::link!("urlmon.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateAsyncBindCtx(reserved, pbscb.param().abi(), pefetc.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -200,7 +200,7 @@ where #[inline] pub unsafe fn CreateFormatEnumerator(rgfmtetc: &[super::FORMATETC]) -> windows_core::Result { windows_targets::link!("urlmon.dll" "system" fn CreateFormatEnumerator(cfmtetc : u32, rgfmtetc : *const super:: FORMATETC, ppenumfmtetc : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateFormatEnumerator(rgfmtetc.len().try_into().unwrap(), core::mem::transmute(rgfmtetc.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -210,7 +210,7 @@ where P1: windows_core::Param, { windows_targets::link!("urlmon.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateURLMoniker(pmkctx.param().abi(), szurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -245,7 +245,7 @@ where P0: windows_core::Param, { windows_targets::link!("urlmon.dll" "system" fn FindMediaType(rgsztypes : windows_core::PCSTR, rgcftypes : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); FindMediaType(rgsztypes.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -275,7 +275,7 @@ where P2: windows_core::Param, { windows_targets::link!("urlmon.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetClassFileOrMime(pbc.param().abi(), szfilename.param().abi(), core::mem::transmute(pbuffer.unwrap_or(std::ptr::null())), cbsize, szmime.param().abi(), dwreserved, &mut result__).map(|| result__) } #[inline] @@ -284,13 +284,13 @@ where P0: windows_core::Param, { windows_targets::link!("urlmon.dll" "system" fn GetClassURL(szurl : windows_core::PCWSTR, pclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetClassURL(szurl.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn GetComponentIDFromCLSSPEC(pclassspec: *const super::uCLSSPEC) -> windows_core::Result { windows_targets::link!("urlmon.dll" "system" fn GetComponentIDFromCLSSPEC(pclassspec : *const super:: uCLSSPEC, ppszcomponentid : *mut windows_core::PSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetComponentIDFromCLSSPEC(pclassspec, &mut result__).map(|| result__) } #[inline] @@ -369,7 +369,7 @@ pub unsafe fn IEGetUserPrivateNamespaceName() -> windows_core::PWSTR { #[inline] pub unsafe fn IEInstallScope() -> windows_core::Result { windows_targets::link!("urlmon.dll" "system" fn IEInstallScope(pdwscope : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IEInstallScope(&mut result__).map(|| result__) } #[inline] @@ -611,7 +611,7 @@ windows_core::imp::define_interface!(IBindCallbackRedirect, IBindCallbackRedirec impl std::ops::Deref for IBindCallbackRedirect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBindCallbackRedirect, windows_core::IUnknown); @@ -620,7 +620,7 @@ impl IBindCallbackRedirect { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Redirect)(windows_core::Interface::as_raw(self), lpcurl.param().abi(), &mut result__).map(|| result__) } } @@ -633,13 +633,13 @@ windows_core::imp::define_interface!(IBindHttpSecurity, IBindHttpSecurity_Vtbl, impl std::ops::Deref for IBindHttpSecurity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBindHttpSecurity, windows_core::IUnknown); impl IBindHttpSecurity { pub unsafe fn GetIgnoreCertMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIgnoreCertMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -652,7 +652,7 @@ windows_core::imp::define_interface!(IBindProtocol, IBindProtocol_Vtbl, 0x79eac9 impl std::ops::Deref for IBindProtocol { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBindProtocol, windows_core::IUnknown); @@ -662,7 +662,7 @@ impl IBindProtocol { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBinding)(windows_core::Interface::as_raw(self), szurl.param().abi(), pbc.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -675,13 +675,13 @@ windows_core::imp::define_interface!(ICatalogFileInfo, ICatalogFileInfo_Vtbl, 0x impl std::ops::Deref for ICatalogFileInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICatalogFileInfo, windows_core::IUnknown); impl ICatalogFileInfo { pub unsafe fn GetCatalogFile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCatalogFile)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetJavaTrust(&self, ppjavatrust: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -698,7 +698,7 @@ windows_core::imp::define_interface!(ICodeInstall, ICodeInstall_Vtbl, 0x79eac9d1 impl std::ops::Deref for ICodeInstall { type Target = IWindowForBindingUI; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICodeInstall, windows_core::IUnknown, IWindowForBindingUI); @@ -720,7 +720,7 @@ windows_core::imp::define_interface!(IDataFilter, IDataFilter_Vtbl, 0x69d14c80_c impl std::ops::Deref for IDataFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataFilter, windows_core::IUnknown); @@ -746,7 +746,7 @@ windows_core::imp::define_interface!(IEncodingFilterFactory, IEncodingFilterFact impl std::ops::Deref for IEncodingFilterFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEncodingFilterFactory, windows_core::IUnknown); @@ -756,7 +756,7 @@ impl IEncodingFilterFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindBestFilter)(windows_core::Interface::as_raw(self), pwzcodein.param().abi(), pwzcodeout.param().abi(), core::mem::transmute(info), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultFilter(&self, pwzcodein: P0, pwzcodeout: P1) -> windows_core::Result @@ -764,7 +764,7 @@ impl IEncodingFilterFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultFilter)(windows_core::Interface::as_raw(self), pwzcodein.param().abi(), pwzcodeout.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -778,13 +778,13 @@ windows_core::imp::define_interface!(IGetBindHandle, IGetBindHandle_Vtbl, 0xaf0f impl std::ops::Deref for IGetBindHandle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetBindHandle, windows_core::IUnknown); impl IGetBindHandle { pub unsafe fn GetBindHandle(&self, enumrequestedhandle: BINDHANDLETYPES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBindHandle)(windows_core::Interface::as_raw(self), enumrequestedhandle, &mut result__).map(|| result__) } } @@ -797,7 +797,7 @@ windows_core::imp::define_interface!(IHttpNegotiate, IHttpNegotiate_Vtbl, 0x79ea impl std::ops::Deref for IHttpNegotiate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHttpNegotiate, windows_core::IUnknown); @@ -807,7 +807,7 @@ impl IHttpNegotiate { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginningTransaction)(windows_core::Interface::as_raw(self), szurl.param().abi(), szheaders.param().abi(), dwreserved, &mut result__).map(|| result__) } pub unsafe fn OnResponse(&self, dwresponsecode: u32, szresponseheaders: P0, szrequestheaders: P1) -> windows_core::Result @@ -815,7 +815,7 @@ impl IHttpNegotiate { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnResponse)(windows_core::Interface::as_raw(self), dwresponsecode, szresponseheaders.param().abi(), szrequestheaders.param().abi(), &mut result__).map(|| result__) } } @@ -829,7 +829,7 @@ windows_core::imp::define_interface!(IHttpNegotiate2, IHttpNegotiate2_Vtbl, 0x4f impl std::ops::Deref for IHttpNegotiate2 { type Target = IHttpNegotiate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHttpNegotiate2, windows_core::IUnknown, IHttpNegotiate); @@ -847,7 +847,7 @@ windows_core::imp::define_interface!(IHttpNegotiate3, IHttpNegotiate3_Vtbl, 0x57 impl std::ops::Deref for IHttpNegotiate3 { type Target = IHttpNegotiate2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHttpNegotiate3, windows_core::IUnknown, IHttpNegotiate, IHttpNegotiate2); @@ -865,7 +865,7 @@ windows_core::imp::define_interface!(IHttpSecurity, IHttpSecurity_Vtbl, 0x79eac9 impl std::ops::Deref for IHttpSecurity { type Target = IWindowForBindingUI; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHttpSecurity, windows_core::IUnknown, IWindowForBindingUI); @@ -883,7 +883,7 @@ windows_core::imp::define_interface!(IInternet, IInternet_Vtbl, 0x79eac9e0_baf9_ impl std::ops::Deref for IInternet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternet, windows_core::IUnknown); @@ -896,7 +896,7 @@ windows_core::imp::define_interface!(IInternetBindInfo, IInternetBindInfo_Vtbl, impl std::ops::Deref for IInternetBindInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetBindInfo, windows_core::IUnknown); @@ -922,7 +922,7 @@ windows_core::imp::define_interface!(IInternetBindInfoEx, IInternetBindInfoEx_Vt impl std::ops::Deref for IInternetBindInfoEx { type Target = IInternetBindInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetBindInfoEx, windows_core::IUnknown, IInternetBindInfo); @@ -944,7 +944,7 @@ windows_core::imp::define_interface!(IInternetHostSecurityManager, IInternetHost impl std::ops::Deref for IInternetHostSecurityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetHostSecurityManager, windows_core::IUnknown); @@ -970,7 +970,7 @@ windows_core::imp::define_interface!(IInternetPriority, IInternetPriority_Vtbl, impl std::ops::Deref for IInternetPriority { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetPriority, windows_core::IUnknown); @@ -979,7 +979,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -993,7 +993,7 @@ windows_core::imp::define_interface!(IInternetProtocol, IInternetProtocol_Vtbl, impl std::ops::Deref for IInternetProtocol { type Target = IInternetProtocolRoot; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetProtocol, windows_core::IUnknown, IInternetProtocolRoot); @@ -1002,7 +1002,7 @@ impl IInternetProtocol { (windows_core::Interface::vtable(self).Read)(windows_core::Interface::as_raw(self), core::mem::transmute(pv.as_ptr()), pv.len().try_into().unwrap(), pcbread).ok() } pub unsafe fn Seek(&self, dlibmove: i64, dworigin: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Seek)(windows_core::Interface::as_raw(self), dlibmove, dworigin, &mut result__).map(|| result__) } pub unsafe fn LockRequest(&self, dwoptions: u32) -> windows_core::Result<()> { @@ -1024,7 +1024,7 @@ windows_core::imp::define_interface!(IInternetProtocolEx, IInternetProtocolEx_Vt impl std::ops::Deref for IInternetProtocolEx { type Target = IInternetProtocol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetProtocolEx, windows_core::IUnknown, IInternetProtocolRoot, IInternetProtocol); @@ -1048,7 +1048,7 @@ windows_core::imp::define_interface!(IInternetProtocolInfo, IInternetProtocolInf impl std::ops::Deref for IInternetProtocolInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetProtocolInfo, windows_core::IUnknown); @@ -1093,7 +1093,7 @@ windows_core::imp::define_interface!(IInternetProtocolRoot, IInternetProtocolRoo impl std::ops::Deref for IInternetProtocolRoot { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetProtocolRoot, windows_core::IUnknown); @@ -1137,7 +1137,7 @@ windows_core::imp::define_interface!(IInternetProtocolSink, IInternetProtocolSin impl std::ops::Deref for IInternetProtocolSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetProtocolSink, windows_core::IUnknown); @@ -1173,7 +1173,7 @@ windows_core::imp::define_interface!(IInternetProtocolSinkStackable, IInternetPr impl std::ops::Deref for IInternetProtocolSinkStackable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetProtocolSinkStackable, windows_core::IUnknown); @@ -1202,7 +1202,7 @@ windows_core::imp::define_interface!(IInternetSecurityManager, IInternetSecurity impl std::ops::Deref for IInternetSecurityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetSecurityManager, windows_core::IUnknown); @@ -1214,7 +1214,7 @@ impl IInternetSecurityManager { (windows_core::Interface::vtable(self).SetSecuritySite)(windows_core::Interface::as_raw(self), psite.param().abi()).ok() } pub unsafe fn GetSecuritySite(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecuritySite)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MapUrlToZone(&self, pwszurl: P0, pdwzone: *mut u32, dwflags: u32) -> windows_core::Result<()> @@ -1267,7 +1267,7 @@ windows_core::imp::define_interface!(IInternetSecurityManagerEx, IInternetSecuri impl std::ops::Deref for IInternetSecurityManagerEx { type Target = IInternetSecurityManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetSecurityManagerEx, windows_core::IUnknown, IInternetSecurityManager); @@ -1288,7 +1288,7 @@ windows_core::imp::define_interface!(IInternetSecurityManagerEx2, IInternetSecur impl std::ops::Deref for IInternetSecurityManagerEx2 { type Target = IInternetSecurityManagerEx; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetSecurityManagerEx2, windows_core::IUnknown, IInternetSecurityManager, IInternetSecurityManagerEx); @@ -1330,13 +1330,13 @@ windows_core::imp::define_interface!(IInternetSecurityMgrSite, IInternetSecurity impl std::ops::Deref for IInternetSecurityMgrSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetSecurityMgrSite, windows_core::IUnknown); impl IInternetSecurityMgrSite { pub unsafe fn GetWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnableModeless(&self, fenable: P0) -> windows_core::Result<()> @@ -1356,7 +1356,7 @@ windows_core::imp::define_interface!(IInternetSession, IInternetSession_Vtbl, 0x impl std::ops::Deref for IInternetSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetSession, windows_core::IUnknown); @@ -1419,7 +1419,7 @@ windows_core::imp::define_interface!(IInternetThreadSwitch, IInternetThreadSwitc impl std::ops::Deref for IInternetThreadSwitch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetThreadSwitch, windows_core::IUnknown); @@ -1441,7 +1441,7 @@ windows_core::imp::define_interface!(IInternetZoneManager, IInternetZoneManager_ impl std::ops::Deref for IInternetZoneManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetZoneManager, windows_core::IUnknown); @@ -1483,7 +1483,7 @@ impl IInternetZoneManager { (windows_core::Interface::vtable(self).CreateZoneEnumerator)(windows_core::Interface::as_raw(self), pdwenum, pdwcount, dwflags).ok() } pub unsafe fn GetZoneAt(&self, dwenum: u32, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetZoneAt)(windows_core::Interface::as_raw(self), dwenum, dwindex, &mut result__).map(|| result__) } pub unsafe fn DestroyZoneEnumerator(&self, dwenum: u32) -> windows_core::Result<()> { @@ -1513,7 +1513,7 @@ windows_core::imp::define_interface!(IInternetZoneManagerEx, IInternetZoneManage impl std::ops::Deref for IInternetZoneManagerEx { type Target = IInternetZoneManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetZoneManagerEx, windows_core::IUnknown, IInternetZoneManager); @@ -1535,7 +1535,7 @@ windows_core::imp::define_interface!(IInternetZoneManagerEx2, IInternetZoneManag impl std::ops::Deref for IInternetZoneManagerEx2 { type Target = IInternetZoneManagerEx; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetZoneManagerEx2, windows_core::IUnknown, IInternetZoneManager, IInternetZoneManagerEx); @@ -1572,7 +1572,7 @@ windows_core::imp::define_interface!(IMonikerProp, IMonikerProp_Vtbl, 0xa5ca5f7f impl std::ops::Deref for IMonikerProp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMonikerProp, windows_core::IUnknown); @@ -1593,13 +1593,13 @@ windows_core::imp::define_interface!(IPersistMoniker, IPersistMoniker_Vtbl, 0x79 impl std::ops::Deref for IPersistMoniker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistMoniker, windows_core::IUnknown); impl IPersistMoniker { pub unsafe fn GetClassID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClassID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDirty(&self) -> windows_core::HRESULT { @@ -1629,7 +1629,7 @@ impl IPersistMoniker { (windows_core::Interface::vtable(self).SaveCompleted)(windows_core::Interface::as_raw(self), pimkname.param().abi(), pibc.param().abi()).ok() } pub unsafe fn GetCurMoniker(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurMoniker)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1647,7 +1647,7 @@ windows_core::imp::define_interface!(ISoftDistExt, ISoftDistExt_Vtbl, 0xb15b8dc1 impl std::ops::Deref for ISoftDistExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISoftDistExt, windows_core::IUnknown); @@ -1688,17 +1688,17 @@ windows_core::imp::define_interface!(IUriBuilderFactory, IUriBuilderFactory_Vtbl impl std::ops::Deref for IUriBuilderFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUriBuilderFactory, windows_core::IUnknown); impl IUriBuilderFactory { pub unsafe fn CreateIUriBuilder(&self, dwflags: u32, dwreserved: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateIUriBuilder)(windows_core::Interface::as_raw(self), dwflags, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInitializedIUriBuilder(&self, dwflags: u32, dwreserved: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInitializedIUriBuilder)(windows_core::Interface::as_raw(self), dwflags, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1712,13 +1712,13 @@ windows_core::imp::define_interface!(IUriContainer, IUriContainer_Vtbl, 0xa158a6 impl std::ops::Deref for IUriContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUriContainer, windows_core::IUnknown); impl IUriContainer { pub unsafe fn GetIUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1731,7 +1731,7 @@ windows_core::imp::define_interface!(IWinInetCacheHints, IWinInetCacheHints_Vtbl impl std::ops::Deref for IWinInetCacheHints { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinInetCacheHints, windows_core::IUnknown); @@ -1752,7 +1752,7 @@ windows_core::imp::define_interface!(IWinInetCacheHints2, IWinInetCacheHints2_Vt impl std::ops::Deref for IWinInetCacheHints2 { type Target = IWinInetCacheHints; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinInetCacheHints2, windows_core::IUnknown, IWinInetCacheHints); @@ -1773,7 +1773,7 @@ windows_core::imp::define_interface!(IWinInetFileStream, IWinInetFileStream_Vtbl impl std::ops::Deref for IWinInetFileStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinInetFileStream, windows_core::IUnknown); @@ -1795,7 +1795,7 @@ windows_core::imp::define_interface!(IWinInetHttpInfo, IWinInetHttpInfo_Vtbl, 0x impl std::ops::Deref for IWinInetHttpInfo { type Target = IWinInetInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinInetHttpInfo, windows_core::IUnknown, IWinInetInfo); @@ -1813,7 +1813,7 @@ windows_core::imp::define_interface!(IWinInetHttpTimeouts, IWinInetHttpTimeouts_ impl std::ops::Deref for IWinInetHttpTimeouts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinInetHttpTimeouts, windows_core::IUnknown); @@ -1831,7 +1831,7 @@ windows_core::imp::define_interface!(IWinInetInfo, IWinInetInfo_Vtbl, 0x79eac9d6 impl std::ops::Deref for IWinInetInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWinInetInfo, windows_core::IUnknown); @@ -1849,13 +1849,13 @@ windows_core::imp::define_interface!(IWindowForBindingUI, IWindowForBindingUI_Vt impl std::ops::Deref for IWindowForBindingUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWindowForBindingUI, windows_core::IUnknown); impl IWindowForBindingUI { pub unsafe fn GetWindow(&self, rguidreason: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindow)(windows_core::Interface::as_raw(self), rguidreason, &mut result__).map(|| result__) } } @@ -1868,7 +1868,7 @@ windows_core::imp::define_interface!(IWrappedProtocol, IWrappedProtocol_Vtbl, 0x impl std::ops::Deref for IWrappedProtocol { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWrappedProtocol, windows_core::IUnknown); @@ -1886,13 +1886,13 @@ windows_core::imp::define_interface!(IZoneIdentifier, IZoneIdentifier_Vtbl, 0xcd impl std::ops::Deref for IZoneIdentifier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IZoneIdentifier, windows_core::IUnknown); impl IZoneIdentifier { pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetId(&self, dwzone: u32) -> windows_core::Result<()> { @@ -1913,13 +1913,13 @@ windows_core::imp::define_interface!(IZoneIdentifier2, IZoneIdentifier2_Vtbl, 0x impl std::ops::Deref for IZoneIdentifier2 { type Target = IZoneIdentifier; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IZoneIdentifier2, windows_core::IUnknown, IZoneIdentifier); impl IZoneIdentifier2 { pub unsafe fn GetLastWriterPackageFamilyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastWriterPackageFamilyName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLastWriterPackageFamilyName(&self, packagefamilyname: P0) -> windows_core::Result<()> @@ -1932,7 +1932,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAppZoneId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAppZoneId(&self, zone: u32) -> windows_core::Result<()> { @@ -2957,7 +2957,7 @@ impl Default for CODEBASEHOLD { #[derive(Debug, Eq, PartialEq)] pub struct CONFIRMSAFETY { pub clsid: windows_core::GUID, - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, pub dwFlags: u32, } impl Clone for CONFIRMSAFETY { @@ -3026,9 +3026,9 @@ impl Default for PROTOCOLDATA { #[derive(Debug, Eq, PartialEq)] pub struct PROTOCOLFILTERDATA { pub cbSize: u32, - pub pProtocolSink: std::mem::ManuallyDrop>, - pub pProtocol: std::mem::ManuallyDrop>, - pub pUnk: std::mem::ManuallyDrop>, + pub pProtocolSink: core::mem::ManuallyDrop>, + pub pProtocol: core::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, pub dwFilterFlags: u32, } impl Clone for PROTOCOLFILTERDATA { @@ -3087,7 +3087,7 @@ pub struct RemBINDINFO { pub dwCodePage: u32, pub securityAttributes: REMSECURITY_ATTRIBUTES, pub iid: windows_core::GUID, - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, pub dwReserved: u32, } impl Clone for RemBINDINFO { @@ -3149,8 +3149,8 @@ impl Default for SOFTDISTINFO { #[derive(Debug, Eq, PartialEq)] pub struct StartParam { pub iid: windows_core::GUID, - pub pIBindCtx: std::mem::ManuallyDrop>, - pub pItf: std::mem::ManuallyDrop>, + pub pIBindCtx: core::mem::ManuallyDrop>, + pub pItf: core::mem::ManuallyDrop>, } impl Clone for StartParam { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs index ce2fa3277f..2fd0af8851 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs @@ -1657,7 +1657,7 @@ impl IDispatch_Vtbl { let this = (*this).get_impl(); IDispatch_Impl::GetIDsOfNames(this, core::mem::transmute_copy(&riid), core::mem::transmute_copy(&rgsznames), core::mem::transmute_copy(&cnames), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&rgdispid)).into() } - unsafe extern "system" fn Invoke, Impl: IDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, riid: *const windows_core::GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: *mut std::mem::MaybeUninit, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Invoke, Impl: IDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, riid: *const windows_core::GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: *mut core::mem::MaybeUninit, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDispatch_Impl::Invoke(this, core::mem::transmute_copy(&dispidmember), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&pdispparams), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&pexcepinfo), core::mem::transmute_copy(&puargerr)).into() @@ -2178,7 +2178,7 @@ impl IErrorInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSource, Impl: IErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsource: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSource, Impl: IErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsource: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IErrorInfo_Impl::GetSource(this) { @@ -2189,7 +2189,7 @@ impl IErrorInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescription, Impl: IErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: IErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IErrorInfo_Impl::GetDescription(this) { @@ -2200,7 +2200,7 @@ impl IErrorInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetHelpFile, Impl: IErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhelpfile: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetHelpFile, Impl: IErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhelpfile: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IErrorInfo_Impl::GetHelpFile(this) { @@ -4269,7 +4269,7 @@ impl ITypeInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetNames, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, rgbstrnames: *mut std::mem::MaybeUninit, cmaxnames: u32, pcnames: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetNames, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, rgbstrnames: *mut core::mem::MaybeUninit, cmaxnames: u32, pcnames: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITypeInfo_Impl::GetNames(this, core::mem::transmute_copy(&memid), core::mem::transmute_copy(&rgbstrnames), core::mem::transmute_copy(&cmaxnames), core::mem::transmute_copy(&pcnames)).into() @@ -4301,17 +4301,17 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); ITypeInfo_Impl::GetIDsOfNames(this, core::mem::transmute_copy(&rgsznames), core::mem::transmute_copy(&cnames), core::mem::transmute_copy(&pmemid)).into() } - unsafe extern "system" fn Invoke, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvinstance: *const core::ffi::c_void, memid: i32, wflags: DISPATCH_FLAGS, pdispparams: *mut DISPPARAMS, pvarresult: *mut std::mem::MaybeUninit, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Invoke, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvinstance: *const core::ffi::c_void, memid: i32, wflags: DISPATCH_FLAGS, pdispparams: *mut DISPPARAMS, pvarresult: *mut core::mem::MaybeUninit, pexcepinfo: *mut EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITypeInfo_Impl::Invoke(this, core::mem::transmute_copy(&pvinstance), core::mem::transmute_copy(&memid), core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&pdispparams), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&pexcepinfo), core::mem::transmute_copy(&puargerr)).into() } - unsafe extern "system" fn GetDocumentation, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, pbstrname: *mut std::mem::MaybeUninit, pbstrdocstring: *mut std::mem::MaybeUninit, pdwhelpcontext: *mut u32, pbstrhelpfile: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocumentation, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, pbstrname: *mut core::mem::MaybeUninit, pbstrdocstring: *mut core::mem::MaybeUninit, pdwhelpcontext: *mut u32, pbstrhelpfile: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITypeInfo_Impl::GetDocumentation(this, core::mem::transmute_copy(&memid), core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&pbstrdocstring), core::mem::transmute_copy(&pdwhelpcontext), core::mem::transmute_copy(&pbstrhelpfile)).into() } - unsafe extern "system" fn GetDllEntry, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, invkind: INVOKEKIND, pbstrdllname: *mut std::mem::MaybeUninit, pbstrname: *mut std::mem::MaybeUninit, pwordinal: *mut u16) -> windows_core::HRESULT { + unsafe extern "system" fn GetDllEntry, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, invkind: INVOKEKIND, pbstrdllname: *mut core::mem::MaybeUninit, pbstrname: *mut core::mem::MaybeUninit, pwordinal: *mut u16) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITypeInfo_Impl::GetDllEntry(this, core::mem::transmute_copy(&memid), core::mem::transmute_copy(&invkind), core::mem::transmute_copy(&pbstrdllname), core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&pwordinal)).into() @@ -4337,7 +4337,7 @@ impl ITypeInfo_Vtbl { let this = (*this).get_impl(); ITypeInfo_Impl::CreateInstance(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppvobj)).into() } - unsafe extern "system" fn GetMops, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, pbstrmops: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMops, Impl: ITypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, pbstrmops: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeInfo_Impl::GetMops(this, core::mem::transmute_copy(&memid)) { @@ -4462,7 +4462,7 @@ impl ITypeInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *const windows_core::GUID, pvarval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *const windows_core::GUID, pvarval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeInfo2_Impl::GetCustData(this, core::mem::transmute_copy(&guid)) { @@ -4473,7 +4473,7 @@ impl ITypeInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFuncCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFuncCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeInfo2_Impl::GetFuncCustData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&guid)) { @@ -4484,7 +4484,7 @@ impl ITypeInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetParamCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, indexfunc: u32, indexparam: u32, guid: *const windows_core::GUID, pvarval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetParamCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, indexfunc: u32, indexparam: u32, guid: *const windows_core::GUID, pvarval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeInfo2_Impl::GetParamCustData(this, core::mem::transmute_copy(&indexfunc), core::mem::transmute_copy(&indexparam), core::mem::transmute_copy(&guid)) { @@ -4495,7 +4495,7 @@ impl ITypeInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetVarCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetVarCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeInfo2_Impl::GetVarCustData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&guid)) { @@ -4506,7 +4506,7 @@ impl ITypeInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetImplTypeCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetImplTypeCustData, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeInfo2_Impl::GetImplTypeCustData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&guid)) { @@ -4517,7 +4517,7 @@ impl ITypeInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDocumentation2, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, lcid: u32, pbstrhelpstring: *mut std::mem::MaybeUninit, pdwhelpstringcontext: *mut u32, pbstrhelpstringdll: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocumentation2, Impl: ITypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memid: i32, lcid: u32, pbstrhelpstring: *mut core::mem::MaybeUninit, pdwhelpstringcontext: *mut u32, pbstrhelpstringdll: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITypeInfo2_Impl::GetDocumentation2(this, core::mem::transmute_copy(&memid), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&pbstrhelpstring), core::mem::transmute_copy(&pdwhelpstringcontext), core::mem::transmute_copy(&pbstrhelpstringdll)).into() @@ -4675,7 +4675,7 @@ impl ITypeLib_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDocumentation, Impl: ITypeLib_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pbstrname: *mut std::mem::MaybeUninit, pbstrdocstring: *mut std::mem::MaybeUninit, pdwhelpcontext: *mut u32, pbstrhelpfile: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocumentation, Impl: ITypeLib_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pbstrname: *mut core::mem::MaybeUninit, pbstrdocstring: *mut core::mem::MaybeUninit, pdwhelpcontext: *mut u32, pbstrhelpfile: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITypeLib_Impl::GetDocumentation(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&pbstrdocstring), core::mem::transmute_copy(&pdwhelpcontext), core::mem::transmute_copy(&pbstrhelpfile)).into() @@ -4722,7 +4722,7 @@ pub trait ITypeLib2_Impl: Sized + ITypeLib_Impl { impl windows_core::RuntimeName for ITypeLib2 {} impl ITypeLib2_Vtbl { pub const fn new, Impl: ITypeLib2_Impl, const OFFSET: isize>() -> ITypeLib2_Vtbl { - unsafe extern "system" fn GetCustData, Impl: ITypeLib2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *const windows_core::GUID, pvarval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCustData, Impl: ITypeLib2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *const windows_core::GUID, pvarval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeLib2_Impl::GetCustData(this, core::mem::transmute_copy(&guid)) { @@ -4738,7 +4738,7 @@ impl ITypeLib2_Vtbl { let this = (*this).get_impl(); ITypeLib2_Impl::GetLibStatistics(this, core::mem::transmute_copy(&pcuniquenames), core::mem::transmute_copy(&pcchuniquenames)).into() } - unsafe extern "system" fn GetDocumentation2, Impl: ITypeLib2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, lcid: u32, pbstrhelpstring: *mut std::mem::MaybeUninit, pdwhelpstringcontext: *mut u32, pbstrhelpstringdll: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocumentation2, Impl: ITypeLib2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, lcid: u32, pbstrhelpstring: *mut core::mem::MaybeUninit, pdwhelpstringcontext: *mut u32, pbstrhelpstringdll: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITypeLib2_Impl::GetDocumentation2(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&pbstrhelpstring), core::mem::transmute_copy(&pdwhelpstringcontext), core::mem::transmute_copy(&pbstrhelpstringdll)).into() @@ -4790,7 +4790,7 @@ impl ITypeLibRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetVersion, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pversion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetVersion, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pversion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetVersion(this) { @@ -4812,7 +4812,7 @@ impl ITypeLibRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetWin32Path, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwin32path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetWin32Path, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwin32path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetWin32Path(this) { @@ -4823,7 +4823,7 @@ impl ITypeLibRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetWin64Path, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwin64path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetWin64Path, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwin64path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetWin64Path(this) { @@ -4834,7 +4834,7 @@ impl ITypeLibRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDisplayName, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDisplayName, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetDisplayName(this) { @@ -4856,7 +4856,7 @@ impl ITypeLibRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetHelpDir, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phelpdir: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetHelpDir, Impl: ITypeLibRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phelpdir: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITypeLibRegistration_Impl::GetHelpDir(this) { @@ -4936,7 +4936,7 @@ pub trait IUri_Impl: Sized { impl windows_core::RuntimeName for IUri {} impl IUri_Vtbl { pub const fn new, Impl: IUri_Impl, const OFFSET: isize>() -> IUri_Vtbl { - unsafe extern "system" fn GetPropertyBSTR, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uriprop: Uri_PROPERTY, pbstrproperty: *mut std::mem::MaybeUninit, dwflags: u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyBSTR, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uriprop: Uri_PROPERTY, pbstrproperty: *mut core::mem::MaybeUninit, dwflags: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUri_Impl::GetPropertyBSTR(this, core::mem::transmute_copy(&uriprop), core::mem::transmute_copy(&pbstrproperty), core::mem::transmute_copy(&dwflags)).into() @@ -4962,7 +4962,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAbsoluteUri, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrabsoluteuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAbsoluteUri, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrabsoluteuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetAbsoluteUri(this) { @@ -4973,7 +4973,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAuthority, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthority: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAuthority, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthority: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetAuthority(this) { @@ -4984,7 +4984,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDisplayUri, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplaystring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDisplayUri, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplaystring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetDisplayUri(this) { @@ -4995,7 +4995,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDomain, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdomain: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDomain, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdomain: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetDomain(this) { @@ -5006,7 +5006,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetExtension, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextension: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetExtension, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrextension: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetExtension(this) { @@ -5017,7 +5017,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFragment, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfragment: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFragment, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfragment: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetFragment(this) { @@ -5028,7 +5028,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetHost, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhost: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetHost, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhost: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetHost(this) { @@ -5039,7 +5039,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPassword, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpassword: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPassword, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpassword: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetPassword(this) { @@ -5050,7 +5050,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPath, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPath, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetPath(this) { @@ -5061,7 +5061,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPathAndQuery, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathandquery: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPathAndQuery, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathandquery: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetPathAndQuery(this) { @@ -5072,7 +5072,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetQuery, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrquery: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetQuery, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrquery: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetQuery(this) { @@ -5083,7 +5083,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRawUri, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrawuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRawUri, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrawuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetRawUri(this) { @@ -5094,7 +5094,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSchemeName, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrschemename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSchemeName, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrschemename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetSchemeName(this) { @@ -5105,7 +5105,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetUserInfo, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruserinfo: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUserInfo, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruserinfo: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetUserInfo(this) { @@ -5116,7 +5116,7 @@ impl IUri_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetUserName, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrusername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUserName, Impl: IUri_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrusername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUri_Impl::GetUserName(this) { 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 fc75be1b86..a701d7d340 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs @@ -28,7 +28,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CLSIDFromProgID(lpszprogid : windows_core::PCWSTR, lpclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CLSIDFromProgID(lpszprogid.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -37,7 +37,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CLSIDFromProgIDEx(lpszprogid : windows_core::PCWSTR, lpclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CLSIDFromProgIDEx(lpszprogid.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -46,7 +46,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CLSIDFromString(lpsz : windows_core::PCWSTR, pclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CLSIDFromString(lpsz.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -83,7 +83,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CoCopyProxy(pproxy : * mut core::ffi::c_void, ppcopy : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoCopyProxy(pproxy.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -92,13 +92,13 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CoCreateFreeThreadedMarshaler(punkouter : * mut core::ffi::c_void, ppunkmarshal : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoCreateFreeThreadedMarshaler(punkouter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CoCreateGuid() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoCreateGuid(pguid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoCreateGuid(&mut result__).map(|| result__) } #[inline] @@ -166,7 +166,7 @@ pub unsafe fn CoEnableCallCancellation(preserved: Option<*const core::ffi::c_voi #[inline] pub unsafe fn CoFileTimeNow() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoFileTimeNow(lpfiletime : *mut super::super::Foundation:: FILETIME) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoFileTimeNow(&mut result__).map(|| result__) } #[inline] @@ -214,7 +214,7 @@ where #[inline] pub unsafe fn CoGetCallerTID() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoGetCallerTID(lpdwtid : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoGetCallerTID(&mut result__).map(|| result__) } #[inline] @@ -238,13 +238,13 @@ where #[inline] pub unsafe fn CoGetContextToken() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoGetContextToken(ptoken : *mut usize) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoGetContextToken(&mut result__).map(|| result__) } #[inline] pub unsafe fn CoGetCurrentLogicalThreadId() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoGetCurrentLogicalThreadId(pguid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoGetCurrentLogicalThreadId(&mut result__).map(|| result__) } #[inline] @@ -255,7 +255,7 @@ pub unsafe fn CoGetCurrentProcess() -> u32 { #[inline] pub unsafe fn CoGetMalloc(dwmemcontext: u32) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoGetMalloc(dwmemcontext : u32, ppmalloc : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoGetMalloc(dwmemcontext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -280,7 +280,7 @@ where #[inline] pub unsafe fn CoGetPSClsid(riid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoGetPSClsid(riid : *const windows_core::GUID, pclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoGetPSClsid(riid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security")] @@ -302,7 +302,7 @@ pub unsafe fn CoImpersonateClient() -> windows_core::Result<()> { #[inline] pub unsafe fn CoIncrementMTAUsage() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoIncrementMTAUsage(pcookie : *mut CO_MTA_USAGE_COOKIE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoIncrementMTAUsage(&mut result__).map(|| result__) } #[inline] @@ -423,7 +423,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CoRegisterClassObject(rclsid : *const windows_core::GUID, punk : * mut core::ffi::c_void, dwclscontext : CLSCTX, flags : u32, lpdwregister : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoRegisterClassObject(rclsid, punk.param().abi(), dwclscontext, flags.0 as _, &mut result__).map(|| result__) } #[inline] @@ -432,7 +432,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CoRegisterDeviceCatalog(deviceinstanceid : windows_core::PCWSTR, cookie : *mut CO_DEVICE_CATALOG_COOKIE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoRegisterDeviceCatalog(deviceinstanceid.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -441,7 +441,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CoRegisterInitializeSpy(pspy : * mut core::ffi::c_void, pulicookie : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoRegisterInitializeSpy(pspy.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -531,7 +531,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CoSwitchCallContext(pnewobject : * mut core::ffi::c_void, ppoldobject : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoSwitchCallContext(pnewobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -567,37 +567,37 @@ pub unsafe fn CoUninitialize() { #[inline] pub unsafe fn CoWaitForMultipleHandles(dwflags: u32, dwtimeout: u32, phandles: &[super::super::Foundation::HANDLE]) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoWaitForMultipleHandles(dwflags : u32, dwtimeout : u32, chandles : u32, phandles : *const super::super::Foundation:: HANDLE, lpdwindex : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoWaitForMultipleHandles(dwflags, dwtimeout, phandles.len().try_into().unwrap(), core::mem::transmute(phandles.as_ptr()), &mut result__).map(|| result__) } #[inline] pub unsafe fn CoWaitForMultipleObjects(dwflags: u32, dwtimeout: u32, phandles: &[super::super::Foundation::HANDLE]) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoWaitForMultipleObjects(dwflags : u32, dwtimeout : u32, chandles : u32, phandles : *const super::super::Foundation:: HANDLE, lpdwindex : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoWaitForMultipleObjects(dwflags, dwtimeout, phandles.len().try_into().unwrap(), core::mem::transmute(phandles.as_ptr()), &mut result__).map(|| result__) } #[inline] pub unsafe fn CreateAntiMoniker() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CreateAntiMoniker(ppmk : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateAntiMoniker(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateBindCtx(reserved: u32) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CreateBindCtx(reserved : u32, ppbc : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateBindCtx(reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateClassMoniker(rclsid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CreateClassMoniker(rclsid : *const windows_core::GUID, ppmk : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateClassMoniker(rclsid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateDataAdviseHolder() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CreateDataAdviseHolder(ppdaholder : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateDataAdviseHolder(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -616,7 +616,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CreateFileMoniker(lpszpathname : windows_core::PCWSTR, ppmk : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateFileMoniker(lpszpathname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -626,7 +626,7 @@ where P1: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateGenericComposite(pmkfirst.param().abi(), pmkrest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -635,7 +635,7 @@ where P0: windows_core::Param, { windows_targets::link!("urlmon.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateIUriBuilder(piuri.param().abi(), dwflags, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -645,7 +645,7 @@ where P1: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CreateItemMoniker(lpszdelim : windows_core::PCWSTR, lpszitem : windows_core::PCWSTR, ppmk : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateItemMoniker(lpszdelim.param().abi(), lpszitem.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -654,7 +654,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CreateObjrefMoniker(punk : * mut core::ffi::c_void, ppmk : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateObjrefMoniker(punk.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -663,7 +663,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn CreatePointerMoniker(punk : * mut core::ffi::c_void, ppmk : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreatePointerMoniker(punk.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -674,7 +674,7 @@ where P2: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateStdProgressIndicator(hwndparent.param().abi(), psztitle.param().abi(), pibsccaller.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -683,7 +683,7 @@ where P0: windows_core::Param, { windows_targets::link!("urlmon.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateUri(pwzuri.param().abi(), dwflags, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -692,7 +692,7 @@ where P0: windows_core::Param, { windows_targets::link!("urlmon.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateUriFromMultiByteString(pszansiinputuri.param().abi(), dwencodingflags, dwcodepage, dwcreateflags, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -702,7 +702,7 @@ where P1: windows_core::Param, { windows_targets::link!("urlmon.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateUriWithFragment(pwzuri.param().abi(), pwzfragment.param().abi(), dwflags, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -716,19 +716,19 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn GetClassFile(szfilename : windows_core::PCWSTR, pclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetClassFile(szfilename.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn GetErrorInfo(dwreserved: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn GetErrorInfo(dwreserved : u32, pperrinfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetErrorInfo(dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn GetRunningObjectTable(reserved: u32) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn GetRunningObjectTable(reserved : u32, pprot : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetRunningObjectTable(reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -737,7 +737,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn IIDFromString(lpsz : windows_core::PCWSTR, lpiid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IIDFromString(lpsz.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -756,7 +756,7 @@ where P1: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MonikerCommonPrefixWith(pmkthis.param().abi(), pmkother.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -772,7 +772,7 @@ where #[inline] pub unsafe fn ProgIDFromCLSID(clsid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn ProgIDFromCLSID(clsid : *const windows_core::GUID, lplpszprogid : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ProgIDFromCLSID(clsid, &mut result__).map(|| result__) } #[inline] @@ -786,7 +786,7 @@ where #[inline] pub unsafe fn StringFromCLSID(rclsid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn StringFromCLSID(rclsid : *const windows_core::GUID, lplpsz : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StringFromCLSID(rclsid, &mut result__).map(|| result__) } #[inline] @@ -797,14 +797,14 @@ pub unsafe fn StringFromGUID2(rguid: *const windows_core::GUID, lpsz: &mut [u16] #[inline] pub unsafe fn StringFromIID(rclsid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn StringFromIID(rclsid : *const windows_core::GUID, lplpsz : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); StringFromIID(rclsid, &mut result__).map(|| result__) } windows_core::imp::define_interface!(AsyncIAdviseSink, AsyncIAdviseSink_Vtbl, 0x00000150_0000_0000_c000_000000000046); impl std::ops::Deref for AsyncIAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIAdviseSink, windows_core::IUnknown); @@ -865,7 +865,7 @@ windows_core::imp::define_interface!(AsyncIAdviseSink2, AsyncIAdviseSink2_Vtbl, impl std::ops::Deref for AsyncIAdviseSink2 { type Target = AsyncIAdviseSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIAdviseSink2, windows_core::IUnknown, AsyncIAdviseSink); @@ -890,7 +890,7 @@ windows_core::imp::define_interface!(AsyncIMultiQI, AsyncIMultiQI_Vtbl, 0x000e00 impl std::ops::Deref for AsyncIMultiQI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIMultiQI, windows_core::IUnknown); @@ -912,7 +912,7 @@ windows_core::imp::define_interface!(AsyncIPipeByte, AsyncIPipeByte_Vtbl, 0xdb2f impl std::ops::Deref for AsyncIPipeByte { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIPipeByte, windows_core::IUnknown); @@ -942,7 +942,7 @@ windows_core::imp::define_interface!(AsyncIPipeDouble, AsyncIPipeDouble_Vtbl, 0x impl std::ops::Deref for AsyncIPipeDouble { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIPipeDouble, windows_core::IUnknown); @@ -972,7 +972,7 @@ windows_core::imp::define_interface!(AsyncIPipeLong, AsyncIPipeLong_Vtbl, 0xdb2f impl std::ops::Deref for AsyncIPipeLong { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIPipeLong, windows_core::IUnknown); @@ -1002,7 +1002,7 @@ windows_core::imp::define_interface!(AsyncIUnknown, AsyncIUnknown_Vtbl, 0x000e00 impl std::ops::Deref for AsyncIUnknown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIUnknown, windows_core::IUnknown); @@ -1040,13 +1040,13 @@ windows_core::imp::define_interface!(IActivationFilter, IActivationFilter_Vtbl, impl std::ops::Deref for IActivationFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActivationFilter, windows_core::IUnknown); impl IActivationFilter { pub unsafe fn HandleActivation(&self, dwactivationtype: u32, rclsid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HandleActivation)(windows_core::Interface::as_raw(self), dwactivationtype, rclsid, &mut result__).map(|| result__) } } @@ -1059,7 +1059,7 @@ windows_core::imp::define_interface!(IAddrExclusionControl, IAddrExclusionContro impl std::ops::Deref for IAddrExclusionControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAddrExclusionControl, windows_core::IUnknown); @@ -1084,7 +1084,7 @@ windows_core::imp::define_interface!(IAddrTrackingControl, IAddrTrackingControl_ impl std::ops::Deref for IAddrTrackingControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAddrTrackingControl, windows_core::IUnknown); @@ -1106,7 +1106,7 @@ windows_core::imp::define_interface!(IAdviseSink, IAdviseSink_Vtbl, 0x0000010f_0 impl std::ops::Deref for IAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdviseSink, windows_core::IUnknown); @@ -1147,7 +1147,7 @@ windows_core::imp::define_interface!(IAdviseSink2, IAdviseSink2_Vtbl, 0x00000125 impl std::ops::Deref for IAdviseSink2 { type Target = IAdviseSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAdviseSink2, windows_core::IUnknown, IAdviseSink); @@ -1168,7 +1168,7 @@ windows_core::imp::define_interface!(IAgileObject, IAgileObject_Vtbl, 0x94ea2b94 impl std::ops::Deref for IAgileObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAgileObject, windows_core::IUnknown); @@ -1181,7 +1181,7 @@ windows_core::imp::define_interface!(IAsyncManager, IAsyncManager_Vtbl, 0x000000 impl std::ops::Deref for IAsyncManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAsyncManager, windows_core::IUnknown); @@ -1193,7 +1193,7 @@ impl IAsyncManager { (windows_core::Interface::vtable(self).GetCallContext)(windows_core::Interface::as_raw(self), riid, pinterface).ok() } pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1208,7 +1208,7 @@ windows_core::imp::define_interface!(IAsyncRpcChannelBuffer, IAsyncRpcChannelBuf impl std::ops::Deref for IAsyncRpcChannelBuffer { type Target = IRpcChannelBuffer2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAsyncRpcChannelBuffer, windows_core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); @@ -1237,7 +1237,7 @@ windows_core::imp::define_interface!(IAuthenticate, IAuthenticate_Vtbl, 0x79eac9 impl std::ops::Deref for IAuthenticate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAuthenticate, windows_core::IUnknown); @@ -1255,7 +1255,7 @@ windows_core::imp::define_interface!(IAuthenticateEx, IAuthenticateEx_Vtbl, 0x2a impl std::ops::Deref for IAuthenticateEx { type Target = IAuthenticate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAuthenticateEx, windows_core::IUnknown, IAuthenticate); @@ -1273,7 +1273,7 @@ windows_core::imp::define_interface!(IBindCtx, IBindCtx_Vtbl, 0x0000000e_0000_00 impl std::ops::Deref for IBindCtx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBindCtx, windows_core::IUnknown); @@ -1300,7 +1300,7 @@ impl IBindCtx { (windows_core::Interface::vtable(self).GetBindOptions)(windows_core::Interface::as_raw(self), pbindopts).ok() } pub unsafe fn GetRunningObjectTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningObjectTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterObjectParam(&self, pszkey: P0, punk: P1) -> windows_core::Result<()> @@ -1314,11 +1314,11 @@ impl IBindCtx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectParam)(windows_core::Interface::as_raw(self), pszkey.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumObjectParam(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumObjectParam)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RevokeObjectParam(&self, pszkey: P0) -> windows_core::Result<()> @@ -1346,7 +1346,7 @@ windows_core::imp::define_interface!(IBindHost, IBindHost_Vtbl, 0xfc4801a1_2ba9_ impl std::ops::Deref for IBindHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBindHost, windows_core::IUnknown); @@ -1386,7 +1386,7 @@ windows_core::imp::define_interface!(IBindStatusCallback, IBindStatusCallback_Vt impl std::ops::Deref for IBindStatusCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBindStatusCallback, windows_core::IUnknown); @@ -1398,7 +1398,7 @@ impl IBindStatusCallback { (windows_core::Interface::vtable(self).OnStartBinding)(windows_core::Interface::as_raw(self), dwreserved, pib.param().abi()).ok() } pub unsafe fn GetPriority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OnLowResource(&self, reserved: u32) -> windows_core::Result<()> { @@ -1453,7 +1453,7 @@ windows_core::imp::define_interface!(IBindStatusCallbackEx, IBindStatusCallbackE impl std::ops::Deref for IBindStatusCallbackEx { type Target = IBindStatusCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBindStatusCallbackEx, windows_core::IUnknown, IBindStatusCallback); @@ -1475,7 +1475,7 @@ windows_core::imp::define_interface!(IBinding, IBinding_Vtbl, 0x79eac9c0_baf9_11 impl std::ops::Deref for IBinding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBinding, windows_core::IUnknown); @@ -1493,7 +1493,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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<()> { @@ -1514,7 +1514,7 @@ windows_core::imp::define_interface!(IBlockingLock, IBlockingLock_Vtbl, 0x30f3d4 impl std::ops::Deref for IBlockingLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBlockingLock, windows_core::IUnknown); @@ -1536,7 +1536,7 @@ windows_core::imp::define_interface!(ICallFactory, ICallFactory_Vtbl, 0x1c733a30 impl std::ops::Deref for ICallFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICallFactory, windows_core::IUnknown); @@ -1545,7 +1545,7 @@ impl ICallFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCall)(windows_core::Interface::as_raw(self), riid, pctrlunk.param().abi(), riid2, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1558,7 +1558,7 @@ windows_core::imp::define_interface!(ICancelMethodCalls, ICancelMethodCalls_Vtbl impl std::ops::Deref for ICancelMethodCalls { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICancelMethodCalls, windows_core::IUnknown); @@ -1580,32 +1580,32 @@ windows_core::imp::define_interface!(ICatInformation, ICatInformation_Vtbl, 0x00 impl std::ops::Deref for ICatInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICatInformation, windows_core::IUnknown); impl ICatInformation { pub unsafe fn EnumCategories(&self, lcid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCategories)(windows_core::Interface::as_raw(self), lcid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCategoryDesc(&self, rcatid: *const windows_core::GUID, lcid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategoryDesc)(windows_core::Interface::as_raw(self), rcatid, lcid, &mut result__).map(|| result__) } pub unsafe fn EnumClassesOfCategories(&self, rgcatidimpl: &[windows_core::GUID], rgcatidreq: &[windows_core::GUID]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumClassesOfCategories)(windows_core::Interface::as_raw(self), rgcatidimpl.len().try_into().unwrap(), core::mem::transmute(rgcatidimpl.as_ptr()), rgcatidreq.len().try_into().unwrap(), core::mem::transmute(rgcatidreq.as_ptr()), &mut result__).and_then(|| windows_core::Type::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), rclsid, rgcatidimpl.len().try_into().unwrap(), core::mem::transmute(rgcatidimpl.as_ptr()), rgcatidreq.len().try_into().unwrap(), core::mem::transmute(rgcatidreq.as_ptr())).ok() } pub unsafe fn EnumImplCategoriesOfClass(&self, rclsid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumImplCategoriesOfClass)(windows_core::Interface::as_raw(self), rclsid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumReqCategoriesOfClass(&self, rclsid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumReqCategoriesOfClass)(windows_core::Interface::as_raw(self), rclsid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1623,7 +1623,7 @@ windows_core::imp::define_interface!(ICatRegister, ICatRegister_Vtbl, 0x0002e012 impl std::ops::Deref for ICatRegister { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICatRegister, windows_core::IUnknown); @@ -1661,13 +1661,13 @@ windows_core::imp::define_interface!(IChannelHook, IChannelHook_Vtbl, 0x1008c4a0 impl std::ops::Deref for IChannelHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IChannelHook, windows_core::IUnknown); impl IChannelHook { pub unsafe fn ClientGetSize(&self, uextent: *const windows_core::GUID, riid: *const windows_core::GUID) -> u32 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientGetSize)(windows_core::Interface::as_raw(self), uextent, riid, &mut result__); result__ } @@ -1681,7 +1681,7 @@ impl IChannelHook { (windows_core::Interface::vtable(self).ServerNotify)(windows_core::Interface::as_raw(self), uextent, riid, cbdatasize, pdatabuffer, ldatarep) } pub unsafe fn ServerGetSize(&self, uextent: *const windows_core::GUID, riid: *const windows_core::GUID, hrfault: windows_core::HRESULT) -> u32 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerGetSize)(windows_core::Interface::as_raw(self), uextent, riid, hrfault, &mut result__); result__ } @@ -1703,7 +1703,7 @@ windows_core::imp::define_interface!(IClassActivator, IClassActivator_Vtbl, 0x00 impl std::ops::Deref for IClassActivator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IClassActivator, windows_core::IUnknown); @@ -1725,7 +1725,7 @@ windows_core::imp::define_interface!(IClassFactory, IClassFactory_Vtbl, 0x000000 impl std::ops::Deref for IClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IClassFactory, windows_core::IUnknown); @@ -1755,7 +1755,7 @@ windows_core::imp::define_interface!(IClientSecurity, IClientSecurity_Vtbl, 0x00 impl std::ops::Deref for IClientSecurity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IClientSecurity, windows_core::IUnknown); @@ -1777,7 +1777,7 @@ impl IClientSecurity { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyProxy)(windows_core::Interface::as_raw(self), pproxy.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1792,21 +1792,21 @@ windows_core::imp::define_interface!(IComThreadingInfo, IComThreadingInfo_Vtbl, impl std::ops::Deref for IComThreadingInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComThreadingInfo, windows_core::IUnknown); impl IComThreadingInfo { pub unsafe fn GetCurrentApartmentType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentApartmentType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentLogicalThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentLogicalThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCurrentLogicalThreadId(&self, rguid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1825,31 +1825,31 @@ windows_core::imp::define_interface!(IConnectionPoint, IConnectionPoint_Vtbl, 0x impl std::ops::Deref for IConnectionPoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConnectionPoint, windows_core::IUnknown); impl IConnectionPoint { pub unsafe fn GetConnectionInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectionInterface)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnectionPointContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectionPointContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Advise(&self, punksink: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), punksink.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumConnections)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1866,17 +1866,17 @@ windows_core::imp::define_interface!(IConnectionPointContainer, IConnectionPoint impl std::ops::Deref for IConnectionPointContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConnectionPointContainer, windows_core::IUnknown); impl IConnectionPointContainer { pub unsafe fn EnumConnectionPoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumConnectionPoints)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindConnectionPoint(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindConnectionPoint)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1890,7 +1890,7 @@ windows_core::imp::define_interface!(IContext, IContext_Vtbl, 0x000001c0_0000_00 impl std::ops::Deref for IContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContext, windows_core::IUnknown); @@ -1908,7 +1908,7 @@ impl IContext { (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), rguid, pflags, core::mem::transmute(ppunk)).ok() } pub unsafe fn EnumContextProps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumContextProps)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1924,7 +1924,7 @@ windows_core::imp::define_interface!(IContextCallback, IContextCallback_Vtbl, 0x impl std::ops::Deref for IContextCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextCallback, windows_core::IUnknown); @@ -1945,7 +1945,7 @@ windows_core::imp::define_interface!(IDataAdviseHolder, IDataAdviseHolder_Vtbl, impl std::ops::Deref for IDataAdviseHolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataAdviseHolder, windows_core::IUnknown); @@ -1955,14 +1955,14 @@ impl IDataAdviseHolder { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), pdataobject.param().abi(), pfetc, advf, padvise.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAdvise)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SendOnDataChange(&self, pdataobject: P0, dwreserved: u32, advf: u32) -> windows_core::Result<()> @@ -1984,14 +1984,14 @@ windows_core::imp::define_interface!(IDataObject, IDataObject_Vtbl, 0x0000010e_0 impl std::ops::Deref for IDataObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataObject, windows_core::IUnknown); impl IDataObject { #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), pformatetcin, &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] @@ -2012,21 +2012,21 @@ impl IDataObject { (windows_core::Interface::vtable(self).SetData)(windows_core::Interface::as_raw(self), pformatetc, pmedium, frelease.param().abi()).ok() } pub unsafe fn EnumFormatEtc(&self, dwdirection: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFormatEtc)(windows_core::Interface::as_raw(self), dwdirection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DAdvise(&self, pformatetc: *const FORMATETC, advf: u32, padvsink: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DAdvise)(windows_core::Interface::as_raw(self), pformatetc, advf, padvsink.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDAdvise)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2056,17 +2056,17 @@ windows_core::imp::define_interface!(IDispatch, IDispatch_Vtbl, 0x00020400_0000_ impl std::ops::Deref for IDispatch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDispatch, windows_core::IUnknown); impl IDispatch { pub unsafe fn GetTypeInfoCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeInfoCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeInfo)(windows_core::Interface::as_raw(self), itinfo, lcid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIDsOfNames(&self, riid: *const windows_core::GUID, rgsznames: *const windows_core::PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> windows_core::Result<()> { @@ -2082,13 +2082,13 @@ pub struct IDispatch_Vtbl { pub GetTypeInfoCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetTypeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetIDsOfNames: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::PCWSTR, u32, u32, *mut i32) -> windows_core::HRESULT, - pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, DISPATCH_FLAGS, *const DISPPARAMS, *mut std::mem::MaybeUninit, *mut EXCEPINFO, *mut u32) -> windows_core::HRESULT, + pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, DISPATCH_FLAGS, *const DISPPARAMS, *mut core::mem::MaybeUninit, *mut EXCEPINFO, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumCATEGORYINFO, IEnumCATEGORYINFO_Vtbl, 0x0002e011_0000_0000_c000_000000000046); impl std::ops::Deref for IEnumCATEGORYINFO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumCATEGORYINFO, windows_core::IUnknown); @@ -2103,7 +2103,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2119,7 +2119,7 @@ windows_core::imp::define_interface!(IEnumConnectionPoints, IEnumConnectionPoint impl std::ops::Deref for IEnumConnectionPoints { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumConnectionPoints, windows_core::IUnknown); @@ -2134,7 +2134,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2150,7 +2150,7 @@ windows_core::imp::define_interface!(IEnumConnections, IEnumConnections_Vtbl, 0x impl std::ops::Deref for IEnumConnections { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumConnections, windows_core::IUnknown); @@ -2165,7 +2165,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2181,7 +2181,7 @@ windows_core::imp::define_interface!(IEnumContextProps, IEnumContextProps_Vtbl, impl std::ops::Deref for IEnumContextProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumContextProps, windows_core::IUnknown); @@ -2196,11 +2196,11 @@ impl IEnumContextProps { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2217,7 +2217,7 @@ windows_core::imp::define_interface!(IEnumFORMATETC, IEnumFORMATETC_Vtbl, 0x0000 impl std::ops::Deref for IEnumFORMATETC { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumFORMATETC, windows_core::IUnknown); @@ -2232,7 +2232,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2248,7 +2248,7 @@ windows_core::imp::define_interface!(IEnumGUID, IEnumGUID_Vtbl, 0x0002e000_0000_ impl std::ops::Deref for IEnumGUID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumGUID, windows_core::IUnknown); @@ -2263,7 +2263,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2279,7 +2279,7 @@ windows_core::imp::define_interface!(IEnumMoniker, IEnumMoniker_Vtbl, 0x00000102 impl std::ops::Deref for IEnumMoniker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumMoniker, windows_core::IUnknown); @@ -2294,7 +2294,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2310,7 +2310,7 @@ windows_core::imp::define_interface!(IEnumSTATDATA, IEnumSTATDATA_Vtbl, 0x000001 impl std::ops::Deref for IEnumSTATDATA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSTATDATA, windows_core::IUnknown); @@ -2325,7 +2325,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2341,7 +2341,7 @@ windows_core::imp::define_interface!(IEnumString, IEnumString_Vtbl, 0x00000101_0 impl std::ops::Deref for IEnumString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumString, windows_core::IUnknown); @@ -2356,7 +2356,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2372,7 +2372,7 @@ windows_core::imp::define_interface!(IEnumUnknown, IEnumUnknown_Vtbl, 0x00000100 impl std::ops::Deref for IEnumUnknown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumUnknown, windows_core::IUnknown); @@ -2387,7 +2387,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2403,29 +2403,29 @@ windows_core::imp::define_interface!(IErrorInfo, IErrorInfo_Vtbl, 0x1cf2b120_547 impl std::ops::Deref for IErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IErrorInfo, windows_core::IUnknown); impl IErrorInfo { pub unsafe fn GetGUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGUID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHelpFile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHelpFile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHelpContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHelpContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2433,16 +2433,16 @@ impl IErrorInfo { pub struct IErrorInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetGUID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetHelpFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetHelpFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetHelpContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IErrorLog, IErrorLog_Vtbl, 0x3127ca40_446e_11ce_8135_00aa004bb851); impl std::ops::Deref for IErrorLog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IErrorLog, windows_core::IUnknown); @@ -2463,7 +2463,7 @@ windows_core::imp::define_interface!(IExternalConnection, IExternalConnection_Vt impl std::ops::Deref for IExternalConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExternalConnection, windows_core::IUnknown); @@ -2488,7 +2488,7 @@ windows_core::imp::define_interface!(IFastRundown, IFastRundown_Vtbl, 0x00000040 impl std::ops::Deref for IFastRundown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFastRundown, windows_core::IUnknown); @@ -2501,7 +2501,7 @@ windows_core::imp::define_interface!(IForegroundTransfer, IForegroundTransfer_Vt impl std::ops::Deref for IForegroundTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IForegroundTransfer, windows_core::IUnknown); @@ -2519,7 +2519,7 @@ windows_core::imp::define_interface!(IGlobalInterfaceTable, IGlobalInterfaceTabl impl std::ops::Deref for IGlobalInterfaceTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGlobalInterfaceTable, windows_core::IUnknown); @@ -2528,7 +2528,7 @@ impl IGlobalInterfaceTable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterInterfaceInGlobal)(windows_core::Interface::as_raw(self), punk.param().abi(), riid, &mut result__).map(|| result__) } pub unsafe fn RevokeInterfaceFromGlobal(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -2549,7 +2549,7 @@ windows_core::imp::define_interface!(IGlobalOptions, IGlobalOptions_Vtbl, 0x0000 impl std::ops::Deref for IGlobalOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGlobalOptions, windows_core::IUnknown); @@ -2558,7 +2558,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Query)(windows_core::Interface::as_raw(self), dwproperty, &mut result__).map(|| result__) } } @@ -2572,7 +2572,7 @@ windows_core::imp::define_interface!(IInitializeSpy, IInitializeSpy_Vtbl, 0x0000 impl std::ops::Deref for IInitializeSpy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeSpy, windows_core::IUnknown); @@ -2602,7 +2602,7 @@ windows_core::imp::define_interface!(IInternalUnknown, IInternalUnknown_Vtbl, 0x impl std::ops::Deref for IInternalUnknown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternalUnknown, windows_core::IUnknown); @@ -2620,7 +2620,7 @@ windows_core::imp::define_interface!(IMachineGlobalObjectTable, IMachineGlobalOb impl std::ops::Deref for IMachineGlobalObjectTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMachineGlobalObjectTable, windows_core::IUnknown); @@ -2630,7 +2630,7 @@ impl IMachineGlobalObjectTable { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterObject)(windows_core::Interface::as_raw(self), clsid, identifier.param().abi(), object.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetObject(&self, clsid: *const windows_core::GUID, identifier: P0) -> windows_core::Result @@ -2659,7 +2659,7 @@ windows_core::imp::define_interface!(IMalloc, IMalloc_Vtbl, 0x00000002_0000_0000 impl std::ops::Deref for IMalloc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMalloc, windows_core::IUnknown); @@ -2697,7 +2697,7 @@ windows_core::imp::define_interface!(IMallocSpy, IMallocSpy_Vtbl, 0x0000001d_000 impl std::ops::Deref for IMallocSpy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMallocSpy, windows_core::IUnknown); @@ -2783,7 +2783,7 @@ windows_core::imp::define_interface!(IMoniker, IMoniker_Vtbl, 0x0000000f_0000_00 impl std::ops::Deref for IMoniker { type Target = IPersistStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMoniker, windows_core::IUnknown, IPersist, IPersistStream); @@ -2817,14 +2817,14 @@ impl IMoniker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComposeWith)(windows_core::Interface::as_raw(self), pmkright.param().abi(), fonlyifnotgeneric.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Enum(&self, fforward: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enum)(windows_core::Interface::as_raw(self), fforward.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsEqual(&self, pmkothermoniker: P0) -> windows_core::HRESULT @@ -2834,7 +2834,7 @@ impl IMoniker { (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), pmkothermoniker.param().abi()) } pub unsafe fn Hash(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Hash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsRunning(&self, pbc: P0, pmktoleft: P1, pmknewlyrunning: P2) -> windows_core::Result<()> @@ -2850,25 +2850,25 @@ impl IMoniker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimeOfLastChange)(windows_core::Interface::as_raw(self), pbc.param().abi(), pmktoleft.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Inverse(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Inverse)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CommonPrefixWith(&self, pmkother: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommonPrefixWith)(windows_core::Interface::as_raw(self), pmkother.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RelativePathTo(&self, pmkother: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RelativePathTo)(windows_core::Interface::as_raw(self), pmkother.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayName(&self, pbc: P0, pmktoleft: P1) -> windows_core::Result @@ -2876,7 +2876,7 @@ impl IMoniker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayName)(windows_core::Interface::as_raw(self), pbc.param().abi(), pmktoleft.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ParseDisplayName(&self, pbc: P0, pmktoleft: P1, pszdisplayname: P2, pcheaten: *mut u32, ppmkout: *mut Option) -> windows_core::Result<()> @@ -2888,7 +2888,7 @@ impl IMoniker { (windows_core::Interface::vtable(self).ParseDisplayName)(windows_core::Interface::as_raw(self), pbc.param().abi(), pmktoleft.param().abi(), pszdisplayname.param().abi(), pcheaten, core::mem::transmute(ppmkout)).ok() } pub unsafe fn IsSystemMoniker(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSystemMoniker)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2915,7 +2915,7 @@ windows_core::imp::define_interface!(IMultiQI, IMultiQI_Vtbl, 0x00000020_0000_00 impl std::ops::Deref for IMultiQI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMultiQI, windows_core::IUnknown); @@ -2933,7 +2933,7 @@ windows_core::imp::define_interface!(INoMarshal, INoMarshal_Vtbl, 0xecc8691b_c1d impl std::ops::Deref for INoMarshal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INoMarshal, windows_core::IUnknown); @@ -2946,7 +2946,7 @@ windows_core::imp::define_interface!(IOplockStorage, IOplockStorage_Vtbl, 0x8d19 impl std::ops::Deref for IOplockStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOplockStorage, windows_core::IUnknown); @@ -2978,7 +2978,7 @@ windows_core::imp::define_interface!(IPSFactoryBuffer, IPSFactoryBuffer_Vtbl, 0x impl std::ops::Deref for IPSFactoryBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPSFactoryBuffer, windows_core::IUnknown); @@ -2993,7 +2993,7 @@ impl IPSFactoryBuffer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStub)(windows_core::Interface::as_raw(self), riid, punkserver.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3007,13 +3007,13 @@ windows_core::imp::define_interface!(IPersist, IPersist_Vtbl, 0x0000010c_0000_00 impl std::ops::Deref for IPersist { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersist, windows_core::IUnknown); impl IPersist { pub unsafe fn GetClassID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClassID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3026,7 +3026,7 @@ windows_core::imp::define_interface!(IPersistFile, IPersistFile_Vtbl, 0x0000010b impl std::ops::Deref for IPersistFile { type Target = IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistFile, windows_core::IUnknown, IPersist); @@ -3054,7 +3054,7 @@ impl IPersistFile { (windows_core::Interface::vtable(self).SaveCompleted)(windows_core::Interface::as_raw(self), pszfilename.param().abi()).ok() } pub unsafe fn GetCurFile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurFile)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3071,7 +3071,7 @@ windows_core::imp::define_interface!(IPersistMemory, IPersistMemory_Vtbl, 0xbd1a impl std::ops::Deref for IPersistMemory { type Target = IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistMemory, windows_core::IUnknown, IPersist); @@ -3089,7 +3089,7 @@ impl IPersistMemory { (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), core::mem::transmute(pmem.as_ptr()), fcleardirty.param().abi(), pmem.len().try_into().unwrap()).ok() } pub unsafe fn GetSizeMax(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSizeMax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InitNew(&self) -> windows_core::Result<()> { @@ -3109,7 +3109,7 @@ windows_core::imp::define_interface!(IPersistStream, IPersistStream_Vtbl, 0x0000 impl std::ops::Deref for IPersistStream { type Target = IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistStream, windows_core::IUnknown, IPersist); @@ -3131,7 +3131,7 @@ impl IPersistStream { (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), pstm.param().abi(), fcleardirty.param().abi()).ok() } pub unsafe fn GetSizeMax(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSizeMax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3147,7 +3147,7 @@ windows_core::imp::define_interface!(IPersistStreamInit, IPersistStreamInit_Vtbl impl std::ops::Deref for IPersistStreamInit { type Target = IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistStreamInit, windows_core::IUnknown, IPersist); @@ -3169,7 +3169,7 @@ impl IPersistStreamInit { (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), pstm.param().abi(), fcleardirty.param().abi()).ok() } pub unsafe fn GetSizeMax(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSizeMax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InitNew(&self) -> windows_core::Result<()> { @@ -3189,7 +3189,7 @@ windows_core::imp::define_interface!(IPipeByte, IPipeByte_Vtbl, 0xdb2f3aca_2f86_ impl std::ops::Deref for IPipeByte { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPipeByte, windows_core::IUnknown); @@ -3211,7 +3211,7 @@ windows_core::imp::define_interface!(IPipeDouble, IPipeDouble_Vtbl, 0xdb2f3ace_2 impl std::ops::Deref for IPipeDouble { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPipeDouble, windows_core::IUnknown); @@ -3233,7 +3233,7 @@ windows_core::imp::define_interface!(IPipeLong, IPipeLong_Vtbl, 0xdb2f3acc_2f86_ impl std::ops::Deref for IPipeLong { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPipeLong, windows_core::IUnknown); @@ -3255,7 +3255,7 @@ windows_core::imp::define_interface!(IProcessInitControl, IProcessInitControl_Vt impl std::ops::Deref for IProcessInitControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProcessInitControl, windows_core::IUnknown); @@ -3273,7 +3273,7 @@ windows_core::imp::define_interface!(IProcessLock, IProcessLock_Vtbl, 0x000001d5 impl std::ops::Deref for IProcessLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProcessLock, windows_core::IUnknown); @@ -3295,7 +3295,7 @@ windows_core::imp::define_interface!(IProgressNotify, IProgressNotify_Vtbl, 0xa9 impl std::ops::Deref for IProgressNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProgressNotify, windows_core::IUnknown); @@ -3317,7 +3317,7 @@ windows_core::imp::define_interface!(IROTData, IROTData_Vtbl, 0xf29f6bc0_5021_11 impl std::ops::Deref for IROTData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IROTData, windows_core::IUnknown); @@ -3335,7 +3335,7 @@ windows_core::imp::define_interface!(IReleaseMarshalBuffers, IReleaseMarshalBuff impl std::ops::Deref for IReleaseMarshalBuffers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IReleaseMarshalBuffers, windows_core::IUnknown); @@ -3356,7 +3356,7 @@ windows_core::imp::define_interface!(IRpcChannelBuffer, IRpcChannelBuffer_Vtbl, impl std::ops::Deref for IRpcChannelBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRpcChannelBuffer, windows_core::IUnknown); @@ -3390,13 +3390,13 @@ windows_core::imp::define_interface!(IRpcChannelBuffer2, IRpcChannelBuffer2_Vtbl impl std::ops::Deref for IRpcChannelBuffer2 { type Target = IRpcChannelBuffer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRpcChannelBuffer2, windows_core::IUnknown, IRpcChannelBuffer); impl IRpcChannelBuffer2 { pub unsafe fn GetProtocolVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtocolVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3409,7 +3409,7 @@ windows_core::imp::define_interface!(IRpcChannelBuffer3, IRpcChannelBuffer3_Vtbl impl std::ops::Deref for IRpcChannelBuffer3 { type Target = IRpcChannelBuffer2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRpcChannelBuffer3, windows_core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); @@ -3430,7 +3430,7 @@ impl IRpcChannelBuffer3 { (windows_core::Interface::vtable(self).GetDestCtxEx)(windows_core::Interface::as_raw(self), pmsg, pdwdestcontext, core::mem::transmute(ppvdestcontext.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetState(&self, pmsg: *const RPCOLEMESSAGE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), pmsg, &mut result__).map(|| result__) } pub unsafe fn RegisterAsync(&self, pmsg: *mut RPCOLEMESSAGE, pasyncmgr: P0) -> windows_core::Result<()> @@ -3455,17 +3455,17 @@ windows_core::imp::define_interface!(IRpcHelper, IRpcHelper_Vtbl, 0x00000149_000 impl std::ops::Deref for IRpcHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRpcHelper, windows_core::IUnknown); impl IRpcHelper { pub unsafe fn GetDCOMProtocolVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDCOMProtocolVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIIDFromOBJREF(&self, pobjref: *const core::ffi::c_void) -> windows_core::Result<*mut windows_core::GUID> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIIDFromOBJREF)(windows_core::Interface::as_raw(self), pobjref, &mut result__).map(|| result__) } } @@ -3479,7 +3479,7 @@ windows_core::imp::define_interface!(IRpcOptions, IRpcOptions_Vtbl, 0x00000144_0 impl std::ops::Deref for IRpcOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRpcOptions, windows_core::IUnknown); @@ -3494,7 +3494,7 @@ impl IRpcOptions { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Query)(windows_core::Interface::as_raw(self), pprx.param().abi(), dwproperty, &mut result__).map(|| result__) } } @@ -3508,7 +3508,7 @@ windows_core::imp::define_interface!(IRpcProxyBuffer, IRpcProxyBuffer_Vtbl, 0xd5 impl std::ops::Deref for IRpcProxyBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRpcProxyBuffer, windows_core::IUnknown); @@ -3533,7 +3533,7 @@ windows_core::imp::define_interface!(IRpcStubBuffer, IRpcStubBuffer_Vtbl, 0xd5f5 impl std::ops::Deref for IRpcStubBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRpcStubBuffer, windows_core::IUnknown); @@ -3581,7 +3581,7 @@ windows_core::imp::define_interface!(IRpcSyntaxNegotiate, IRpcSyntaxNegotiate_Vt impl std::ops::Deref for IRpcSyntaxNegotiate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRpcSyntaxNegotiate, windows_core::IUnknown); @@ -3599,13 +3599,13 @@ windows_core::imp::define_interface!(IRunnableObject, IRunnableObject_Vtbl, 0x00 impl std::ops::Deref for IRunnableObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRunnableObject, windows_core::IUnknown); impl IRunnableObject { pub unsafe fn GetRunningClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningClass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Run(&self, pbc: P0) -> windows_core::Result<()> @@ -3644,7 +3644,7 @@ windows_core::imp::define_interface!(IRunningObjectTable, IRunningObjectTable_Vt impl std::ops::Deref for IRunningObjectTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRunningObjectTable, windows_core::IUnknown); @@ -3654,7 +3654,7 @@ impl IRunningObjectTable { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Register)(windows_core::Interface::as_raw(self), grfflags, punkobject.param().abi(), pmkobjectname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Revoke(&self, dwregister: u32) -> windows_core::Result<()> { @@ -3670,7 +3670,7 @@ impl IRunningObjectTable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), pmkobjectname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NoteChangeTime(&self, dwregister: u32, pfiletime: *const super::super::Foundation::FILETIME) -> windows_core::Result<()> { @@ -3680,11 +3680,11 @@ impl IRunningObjectTable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTimeOfLastChange)(windows_core::Interface::as_raw(self), pmkobjectname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EnumRunning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRunning)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3703,7 +3703,7 @@ windows_core::imp::define_interface!(ISequentialStream, ISequentialStream_Vtbl, impl std::ops::Deref for ISequentialStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISequentialStream, windows_core::IUnknown); @@ -3725,7 +3725,7 @@ windows_core::imp::define_interface!(IServerSecurity, IServerSecurity_Vtbl, 0x00 impl std::ops::Deref for IServerSecurity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServerSecurity, windows_core::IUnknown); @@ -3755,7 +3755,7 @@ windows_core::imp::define_interface!(IServiceProvider, IServiceProvider_Vtbl, 0x impl std::ops::Deref for IServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceProvider, windows_core::IUnknown); @@ -3777,13 +3777,13 @@ windows_core::imp::define_interface!(IStdMarshalInfo, IStdMarshalInfo_Vtbl, 0x00 impl std::ops::Deref for IStdMarshalInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStdMarshalInfo, windows_core::IUnknown); impl IStdMarshalInfo { pub unsafe fn GetClassForHandler(&self, dwdestcontext: u32, pvdestcontext: Option<*const core::ffi::c_void>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClassForHandler)(windows_core::Interface::as_raw(self), dwdestcontext, core::mem::transmute(pvdestcontext.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } } @@ -3796,7 +3796,7 @@ windows_core::imp::define_interface!(IStream, IStream_Vtbl, 0x0000000c_0000_0000 impl std::ops::Deref for IStream { type Target = ISequentialStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStream, windows_core::IUnknown, ISequentialStream); @@ -3829,7 +3829,7 @@ impl IStream { (windows_core::Interface::vtable(self).Stat)(windows_core::Interface::as_raw(self), pstatstg, grfstatflag.0 as _).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3850,7 +3850,7 @@ windows_core::imp::define_interface!(ISupportAllowLowerTrustActivation, ISupport impl std::ops::Deref for ISupportAllowLowerTrustActivation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISupportAllowLowerTrustActivation, windows_core::IUnknown); @@ -3863,7 +3863,7 @@ windows_core::imp::define_interface!(ISupportErrorInfo, ISupportErrorInfo_Vtbl, impl std::ops::Deref for ISupportErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISupportErrorInfo, windows_core::IUnknown); @@ -3881,7 +3881,7 @@ windows_core::imp::define_interface!(ISurrogate, ISurrogate_Vtbl, 0x00000022_000 impl std::ops::Deref for ISurrogate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISurrogate, windows_core::IUnknown); @@ -3903,7 +3903,7 @@ windows_core::imp::define_interface!(ISurrogateService, ISurrogateService_Vtbl, impl std::ops::Deref for ISurrogateService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISurrogateService, windows_core::IUnknown); @@ -3912,7 +3912,7 @@ impl ISurrogateService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Init)(windows_core::Interface::as_raw(self), rguidprocessid, pprocesslock.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ApplicationLaunch(&self, rguidapplid: *const windows_core::GUID, apptype: ApplicationType) -> windows_core::Result<()> { @@ -3941,7 +3941,7 @@ windows_core::imp::define_interface!(ISynchronize, ISynchronize_Vtbl, 0x00000030 impl std::ops::Deref for ISynchronize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISynchronize, windows_core::IUnknown); @@ -3967,7 +3967,7 @@ windows_core::imp::define_interface!(ISynchronizeContainer, ISynchronizeContaine impl std::ops::Deref for ISynchronizeContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISynchronizeContainer, windows_core::IUnknown); @@ -3979,7 +3979,7 @@ impl ISynchronizeContainer { (windows_core::Interface::vtable(self).AddSynchronize)(windows_core::Interface::as_raw(self), psync.param().abi()).ok() } pub unsafe fn WaitMultiple(&self, dwflags: u32, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitMultiple)(windows_core::Interface::as_raw(self), dwflags, dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3993,7 +3993,7 @@ windows_core::imp::define_interface!(ISynchronizeEvent, ISynchronizeEvent_Vtbl, impl std::ops::Deref for ISynchronizeEvent { type Target = ISynchronizeHandle; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISynchronizeEvent, windows_core::IUnknown, ISynchronizeHandle); @@ -4011,13 +4011,13 @@ windows_core::imp::define_interface!(ISynchronizeHandle, ISynchronizeHandle_Vtbl impl std::ops::Deref for ISynchronizeHandle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISynchronizeHandle, windows_core::IUnknown); impl ISynchronizeHandle { pub unsafe fn GetHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4030,7 +4030,7 @@ windows_core::imp::define_interface!(ISynchronizeMutex, ISynchronizeMutex_Vtbl, impl std::ops::Deref for ISynchronizeMutex { type Target = ISynchronize; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISynchronizeMutex, windows_core::IUnknown, ISynchronize); @@ -4048,7 +4048,7 @@ windows_core::imp::define_interface!(ITimeAndNoticeControl, ITimeAndNoticeContro impl std::ops::Deref for ITimeAndNoticeControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITimeAndNoticeControl, windows_core::IUnknown); @@ -4066,7 +4066,7 @@ windows_core::imp::define_interface!(ITypeComp, ITypeComp_Vtbl, 0x00020403_0000_ impl std::ops::Deref for ITypeComp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeComp, windows_core::IUnknown); @@ -4098,39 +4098,39 @@ windows_core::imp::define_interface!(ITypeInfo, ITypeInfo_Vtbl, 0x00020401_0000_ impl std::ops::Deref for ITypeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeInfo, windows_core::IUnknown); impl ITypeInfo { #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetTypeAttr(&self) -> windows_core::Result<*mut TYPEATTR> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeAttr)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypeComp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeComp)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetFuncDesc(&self, index: u32) -> windows_core::Result<*mut FUNCDESC> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFuncDesc)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetVarDesc(&self, index: u32) -> windows_core::Result<*mut VARDESC> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVarDesc)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetNames(&self, memid: i32, rgbstrnames: &mut [windows_core::BSTR], pcnames: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetNames)(windows_core::Interface::as_raw(self), memid, core::mem::transmute(rgbstrnames.as_ptr()), rgbstrnames.len().try_into().unwrap(), pcnames).ok() } pub unsafe fn GetRefTypeOfImplType(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRefTypeOfImplType)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetImplTypeFlags(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImplTypeFlags)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetIDsOfNames(&self, rgsznames: *const windows_core::PCWSTR, cnames: u32, pmemid: *mut i32) -> windows_core::Result<()> { @@ -4146,7 +4146,7 @@ impl ITypeInfo { (windows_core::Interface::vtable(self).GetDllEntry)(windows_core::Interface::as_raw(self), memid, invkind, core::mem::transmute(pbstrdllname.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pbstrname.unwrap_or(std::ptr::null_mut())), pwordinal).ok() } pub unsafe fn GetRefTypeInfo(&self, hreftype: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRefTypeInfo)(windows_core::Interface::as_raw(self), hreftype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddressOfMember(&self, memid: i32, invkind: INVOKEKIND, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -4161,7 +4161,7 @@ impl ITypeInfo { (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), punkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMops(&self, memid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMops)(windows_core::Interface::as_raw(self), memid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContainingTypeLib(&self, pptlib: *mut Option, pindex: *mut u32) -> windows_core::Result<()> { @@ -4196,17 +4196,17 @@ pub struct ITypeInfo_Vtbl { pub GetVarDesc: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut VARDESC) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetVarDesc: usize, - pub GetNames: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, u32, *mut u32) -> windows_core::HRESULT, + pub GetNames: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, u32, *mut u32) -> windows_core::HRESULT, pub GetRefTypeOfImplType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetImplTypeFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut IMPLTYPEFLAGS) -> windows_core::HRESULT, pub GetIDsOfNames: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::PCWSTR, u32, *mut i32) -> windows_core::HRESULT, - pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, i32, DISPATCH_FLAGS, *mut DISPPARAMS, *mut std::mem::MaybeUninit, *mut EXCEPINFO, *mut u32) -> windows_core::HRESULT, - pub GetDocumentation: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDllEntry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, INVOKEKIND, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut u16) -> windows_core::HRESULT, + pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, i32, DISPATCH_FLAGS, *mut DISPPARAMS, *mut core::mem::MaybeUninit, *mut EXCEPINFO, *mut u32) -> windows_core::HRESULT, + pub GetDocumentation: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDllEntry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, INVOKEKIND, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut u16) -> windows_core::HRESULT, pub GetRefTypeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddressOfMember: unsafe extern "system" fn(*mut core::ffi::c_void, i32, INVOKEKIND, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetMops: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMops: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetContainingTypeLib: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub ReleaseTypeAttr: unsafe extern "system" fn(*mut core::ffi::c_void, *const TYPEATTR), @@ -4225,68 +4225,68 @@ windows_core::imp::define_interface!(ITypeInfo2, ITypeInfo2_Vtbl, 0x00020412_000 impl std::ops::Deref for ITypeInfo2 { type Target = ITypeInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeInfo2, windows_core::IUnknown, ITypeInfo); impl ITypeInfo2 { pub unsafe fn GetTypeKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypeFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFuncIndexOfMemId(&self, memid: i32, invkind: INVOKEKIND) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFuncIndexOfMemId)(windows_core::Interface::as_raw(self), memid, invkind, &mut result__).map(|| result__) } pub unsafe fn GetVarIndexOfMemId(&self, memid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVarIndexOfMemId)(windows_core::Interface::as_raw(self), memid, &mut result__).map(|| result__) } pub unsafe fn GetCustData(&self, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustData)(windows_core::Interface::as_raw(self), guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFuncCustData(&self, index: u32, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFuncCustData)(windows_core::Interface::as_raw(self), index, guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParamCustData(&self, indexfunc: u32, indexparam: u32, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParamCustData)(windows_core::Interface::as_raw(self), indexfunc, indexparam, guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVarCustData(&self, index: u32, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVarCustData)(windows_core::Interface::as_raw(self), index, guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetImplTypeCustData(&self, index: u32, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImplTypeCustData)(windows_core::Interface::as_raw(self), index, guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocumentation2(&self, memid: i32, lcid: u32, pbstrhelpstring: Option<*mut windows_core::BSTR>, pdwhelpstringcontext: *mut u32, pbstrhelpstringdll: Option<*mut windows_core::BSTR>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetDocumentation2)(windows_core::Interface::as_raw(self), memid, lcid, core::mem::transmute(pbstrhelpstring.unwrap_or(std::ptr::null_mut())), pdwhelpstringcontext, core::mem::transmute(pbstrhelpstringdll.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetAllCustData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllCustData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAllFuncCustData(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllFuncCustData)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetAllParamCustData(&self, indexfunc: u32, indexparam: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllParamCustData)(windows_core::Interface::as_raw(self), indexfunc, indexparam, &mut result__).map(|| result__) } pub unsafe fn GetAllVarCustData(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllVarCustData)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetAllImplTypeCustData(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllImplTypeCustData)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } } @@ -4297,12 +4297,12 @@ pub struct ITypeInfo2_Vtbl { pub GetTypeFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFuncIndexOfMemId: unsafe extern "system" fn(*mut core::ffi::c_void, i32, INVOKEKIND, *mut u32) -> windows_core::HRESULT, pub GetVarIndexOfMemId: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut u32) -> windows_core::HRESULT, - pub GetCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFuncCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetParamCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetVarCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetImplTypeCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDocumentation2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut std::mem::MaybeUninit, *mut u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFuncCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetParamCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetVarCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetImplTypeCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDocumentation2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut core::mem::MaybeUninit, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetAllCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CUSTDATA) -> windows_core::HRESULT, pub GetAllFuncCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CUSTDATA) -> windows_core::HRESULT, pub GetAllParamCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut CUSTDATA) -> windows_core::HRESULT, @@ -4313,7 +4313,7 @@ windows_core::imp::define_interface!(ITypeLib, ITypeLib_Vtbl, 0x00020402_0000_00 impl std::ops::Deref for ITypeLib { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeLib, windows_core::IUnknown); @@ -4322,23 +4322,23 @@ impl ITypeLib { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeInfo)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTypeInfoType(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeInfoType)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetTypeInfoOfGuid(&self, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeInfoOfGuid)(windows_core::Interface::as_raw(self), guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLibAttr(&self) -> windows_core::Result<*mut TLIBATTR> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLibAttr)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypeComp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeComp)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocumentation(&self, index: i32, pbstrname: Option<*mut windows_core::BSTR>, pbstrdocstring: Option<*mut windows_core::BSTR>, pdwhelpcontext: *mut u32, pbstrhelpfile: Option<*mut windows_core::BSTR>) -> windows_core::Result<()> { @@ -4363,7 +4363,7 @@ pub struct ITypeLib_Vtbl { pub GetTypeInfoOfGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLibAttr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut TLIBATTR) -> windows_core::HRESULT, pub GetTypeComp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDocumentation: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDocumentation: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub FindName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut *mut core::ffi::c_void, *mut i32, *mut u16) -> windows_core::HRESULT, pub ReleaseTLibAttr: unsafe extern "system" fn(*mut core::ffi::c_void, *const TLIBATTR), @@ -4372,13 +4372,13 @@ windows_core::imp::define_interface!(ITypeLib2, ITypeLib2_Vtbl, 0x00020411_0000_ impl std::ops::Deref for ITypeLib2 { type Target = ITypeLib; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeLib2, windows_core::IUnknown, ITypeLib); impl ITypeLib2 { pub unsafe fn GetCustData(&self, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustData)(windows_core::Interface::as_raw(self), guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLibStatistics(&self, pcuniquenames: *mut u32, pcchuniquenames: *mut u32) -> windows_core::Result<()> { @@ -4388,57 +4388,57 @@ impl ITypeLib2 { (windows_core::Interface::vtable(self).GetDocumentation2)(windows_core::Interface::as_raw(self), index, lcid, core::mem::transmute(pbstrhelpstring.unwrap_or(std::ptr::null_mut())), pdwhelpstringcontext, core::mem::transmute(pbstrhelpstringdll.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetAllCustData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllCustData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct ITypeLib2_Vtbl { pub base__: ITypeLib_Vtbl, - pub GetCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetLibStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, - pub GetDocumentation2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut std::mem::MaybeUninit, *mut u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDocumentation2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut core::mem::MaybeUninit, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetAllCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CUSTDATA) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeLibRegistration, ITypeLibRegistration_Vtbl, 0x76a3e735_02df_4a12_98eb_043ad3600af3); impl std::ops::Deref for ITypeLibRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeLibRegistration, windows_core::IUnknown); impl ITypeLibRegistration { pub unsafe fn GetGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLcid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLcid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWin32Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWin32Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetWin64Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWin64Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHelpDir(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHelpDir)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4446,25 +4446,25 @@ impl ITypeLibRegistration { pub struct ITypeLibRegistration_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetLcid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetWin32Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetWin64Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetWin32Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetWin64Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetHelpDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetHelpDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeLibRegistrationReader, ITypeLibRegistrationReader_Vtbl, 0xed6a8a2a_b160_4e77_8f73_aa7435cd5c27); impl std::ops::Deref for ITypeLibRegistrationReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeLibRegistrationReader, windows_core::IUnknown); impl ITypeLibRegistrationReader { pub unsafe fn EnumTypeLibRegistrations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumTypeLibRegistrations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4477,7 +4477,7 @@ windows_core::imp::define_interface!(IUri, IUri_Vtbl, 0xa39ee748_6a27_4817_a6f2_ impl std::ops::Deref for IUri { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUri, windows_core::IUnknown); @@ -4492,119 +4492,119 @@ impl IUri { (windows_core::Interface::vtable(self).GetPropertyDWORD)(windows_core::Interface::as_raw(self), uriprop, pdwproperty, dwflags).ok() } pub unsafe fn HasProperty(&self, uriprop: Uri_PROPERTY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasProperty)(windows_core::Interface::as_raw(self), uriprop, &mut result__).map(|| result__) } pub unsafe fn GetAbsoluteUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAbsoluteUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAuthority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAuthority)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDomain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetExtension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtension)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFragment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFragment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHost(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHost)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPassword(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPassword)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPathAndQuery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPathAndQuery)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetQuery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQuery)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRawUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRawUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSchemeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSchemeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUserInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUserName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHostType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHostType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetScheme(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScheme)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetZone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetZone)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsEqual(&self, puri: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), puri.param().abi(), &mut result__).map(|| result__) } } #[repr(C)] pub struct IUri_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetPropertyBSTR: unsafe extern "system" fn(*mut core::ffi::c_void, Uri_PROPERTY, *mut std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub GetPropertyBSTR: unsafe extern "system" fn(*mut core::ffi::c_void, Uri_PROPERTY, *mut core::mem::MaybeUninit, u32) -> windows_core::HRESULT, pub GetPropertyLength: unsafe extern "system" fn(*mut core::ffi::c_void, Uri_PROPERTY, *mut u32, u32) -> windows_core::HRESULT, pub GetPropertyDWORD: unsafe extern "system" fn(*mut core::ffi::c_void, Uri_PROPERTY, *mut u32, u32) -> windows_core::HRESULT, pub HasProperty: unsafe extern "system" fn(*mut core::ffi::c_void, Uri_PROPERTY, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetAbsoluteUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetAuthority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDisplayUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFragment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPathAndQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRawUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSchemeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetUserInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAbsoluteUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAuthority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDisplayUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFragment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPathAndQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRawUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSchemeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUserInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetHostType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetScheme: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -4616,25 +4616,25 @@ windows_core::imp::define_interface!(IUriBuilder, IUriBuilder_Vtbl, 0x4221b2e1_8 impl std::ops::Deref for IUriBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUriBuilder, windows_core::IUnknown); impl IUriBuilder { pub unsafe fn CreateUriSimple(&self, dwallowencodingpropertymask: u32, dwreserved: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateUriSimple)(windows_core::Interface::as_raw(self), dwallowencodingpropertymask, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateUri(&self, dwcreateflags: u32, dwallowencodingpropertymask: u32, dwreserved: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateUri)(windows_core::Interface::as_raw(self), dwcreateflags, dwallowencodingpropertymask, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateUriWithFlags(&self, dwcreateflags: u32, dwuribuilderflags: u32, dwallowencodingpropertymask: u32, dwreserved: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateUriWithFlags)(windows_core::Interface::as_raw(self), dwcreateflags, dwuribuilderflags, dwallowencodingpropertymask, dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetIUri(&self, piuri: P0) -> windows_core::Result<()> @@ -4719,7 +4719,7 @@ impl IUriBuilder { (windows_core::Interface::vtable(self).RemoveProperties)(windows_core::Interface::as_raw(self), dwpropertymask).ok() } pub unsafe fn HasBeenModified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasBeenModified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4754,7 +4754,7 @@ windows_core::imp::define_interface!(IUrlMon, IUrlMon_Vtbl, 0x00000026_0000_0000 impl std::ops::Deref for IUrlMon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUrlMon, windows_core::IUnknown); @@ -4778,13 +4778,13 @@ windows_core::imp::define_interface!(IWaitMultiple, IWaitMultiple_Vtbl, 0x000000 impl std::ops::Deref for IWaitMultiple { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWaitMultiple, windows_core::IUnknown); impl IWaitMultiple { pub unsafe fn WaitMultiple(&self, timeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitMultiple)(windows_core::Interface::as_raw(self), timeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddSynchronize(&self, psync: P0) -> windows_core::Result<()> @@ -6408,7 +6408,7 @@ pub struct BINDINFO { pub dwCodePage: u32, pub securityAttributes: super::super::Security::SECURITY_ATTRIBUTES, pub iid: windows_core::GUID, - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, pub dwReserved: u32, } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] @@ -6432,7 +6432,7 @@ impl Default for BINDINFO { pub union BINDPTR { pub lpfuncdesc: *mut FUNCDESC, pub lpvardesc: *mut VARDESC, - pub lptcomp: std::mem::ManuallyDrop>, + pub lptcomp: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] impl Clone for BINDPTR { @@ -6595,7 +6595,7 @@ impl Default for COAUTHINFO { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct CONNECTDATA { - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, pub dwCookie: u32, } impl Clone for CONNECTDATA { @@ -6693,7 +6693,7 @@ impl Default for CUSTDATA { #[derive(Debug, Eq, PartialEq)] pub struct CUSTDATAITEM { pub guid: windows_core::GUID, - pub varValue: std::mem::ManuallyDrop, + pub varValue: core::mem::ManuallyDrop, } impl Clone for CUSTDATAITEM { fn clone(&self) -> Self { @@ -6756,7 +6756,7 @@ impl Default for ComCallData { pub struct ContextProperty { pub policyId: windows_core::GUID, pub flags: u32, - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, } impl Clone for ContextProperty { fn clone(&self) -> Self { @@ -6872,9 +6872,9 @@ impl Default for ELEMDESC_0 { pub struct EXCEPINFO { pub wCode: u16, pub wReserved: u16, - pub bstrSource: std::mem::ManuallyDrop, - pub bstrDescription: std::mem::ManuallyDrop, - pub bstrHelpFile: std::mem::ManuallyDrop, + pub bstrSource: core::mem::ManuallyDrop, + pub bstrDescription: core::mem::ManuallyDrop, + pub bstrHelpFile: core::mem::ManuallyDrop, pub dwHelpContext: u32, pub pvReserved: *mut core::ffi::c_void, pub pfnDeferredFillIn: LPEXCEPFINO_DEFERRED_FILLIN, @@ -7056,7 +7056,7 @@ impl Default for IDLDESC { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct INTERFACEINFO { - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, pub iid: windows_core::GUID, pub wMethod: u16, } @@ -7077,7 +7077,7 @@ impl Default for INTERFACEINFO { #[derive(Debug, Eq, PartialEq)] pub struct MULTI_QI { pub pIID: *const windows_core::GUID, - pub pItf: std::mem::ManuallyDrop>, + pub pItf: core::mem::ManuallyDrop>, pub hr: windows_core::HRESULT, } impl Clone for MULTI_QI { @@ -7258,7 +7258,7 @@ impl Default for SOLE_AUTHENTICATION_SERVICE { pub struct STATDATA { pub formatetc: FORMATETC, pub advf: u32, - pub pAdvSink: std::mem::ManuallyDrop>, + pub pAdvSink: core::mem::ManuallyDrop>, pub dwConnection: u32, } impl Clone for STATDATA { @@ -7302,7 +7302,7 @@ impl Default for STATSTG { pub struct STGMEDIUM { pub tymed: u32, pub u: STGMEDIUM_0, - pub pUnkForRelease: std::mem::ManuallyDrop>, + pub pUnkForRelease: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] impl Clone for STGMEDIUM { @@ -7328,8 +7328,8 @@ pub union STGMEDIUM_0 { pub hEnhMetaFile: super::super::Graphics::Gdi::HENHMETAFILE, pub hGlobal: super::super::Foundation::HGLOBAL, pub lpszFileName: windows_core::PWSTR, - pub pstm: std::mem::ManuallyDrop>, - pub pstg: std::mem::ManuallyDrop>, + pub pstm: core::mem::ManuallyDrop>, + pub pstg: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] impl Clone for STGMEDIUM_0 { @@ -7603,7 +7603,7 @@ impl Default for userFLAG_STGMEDIUM { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))] pub struct userSTGMEDIUM { pub u: userSTGMEDIUM_0, - pub pUnkForRelease: std::mem::ManuallyDrop>, + pub pUnkForRelease: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_SystemServices"))] impl Clone for userSTGMEDIUM { @@ -7669,7 +7669,7 @@ impl From for windows_core::VARIANT { unsafe { Self::from_raw(windows_core::imp::VARIANT { Anonymous: windows_core::imp::VARIANT_0 { - Anonymous: windows_core::imp::VARIANT_0_0 { vt: 9, wReserved1: 0, wReserved2: 0, wReserved3: 0, Anonymous: windows_core::imp::VARIANT_0_0_0 { pdispVal: std::mem::transmute(value) } }, + Anonymous: windows_core::imp::VARIANT_0_0 { vt: 9, wReserved1: 0, wReserved2: 0, wReserved3: 0, Anonymous: windows_core::imp::VARIANT_0_0_0 { pdispVal: core::mem::transmute(value) } }, }, }) } @@ -7681,7 +7681,7 @@ impl From for windows_core::PROPVARIANT { unsafe { Self::from_raw(windows_core::imp::PROPVARIANT { Anonymous: windows_core::imp::PROPVARIANT_0 { - Anonymous: windows_core::imp::PROPVARIANT_0_0 { vt: 9, wReserved1: 0, wReserved2: 0, wReserved3: 0, Anonymous: windows_core::imp::PROPVARIANT_0_0_0 { pdispVal: std::mem::transmute(value) } }, + Anonymous: windows_core::imp::PROPVARIANT_0_0 { vt: 9, wReserved1: 0, wReserved2: 0, wReserved3: 0, Anonymous: windows_core::imp::PROPVARIANT_0_0_0 { pdispVal: core::mem::transmute(value) } }, }, }) } @@ -7694,7 +7694,7 @@ impl TryFrom<&windows_core::VARIANT> for IDispatch { let from = from.as_raw(); unsafe { if from.Anonymous.Anonymous.vt == 9 && !from.Anonymous.Anonymous.Anonymous.pdispVal.is_null() { - let dispatch: &IDispatch = std::mem::transmute(&from.Anonymous.Anonymous.Anonymous.pdispVal); + let dispatch: &IDispatch = core::mem::transmute(&from.Anonymous.Anonymous.Anonymous.pdispVal); Ok(dispatch.clone()) } else { Err(windows_core::Error::from_hresult(windows_core::imp::TYPE_E_TYPEMISMATCH)) @@ -7709,7 +7709,7 @@ impl TryFrom<&windows_core::PROPVARIANT> for IDispatch { let from = from.as_raw(); unsafe { if from.Anonymous.Anonymous.vt == 9 && !from.Anonymous.Anonymous.Anonymous.pdispVal.is_null() { - let dispatch: &IDispatch = std::mem::transmute(&from.Anonymous.Anonymous.Anonymous.pdispVal); + let dispatch: &IDispatch = core::mem::transmute(&from.Anonymous.Anonymous.Anonymous.pdispVal); Ok(dispatch.clone()) } else { Err(windows_core::Error::from_hresult(windows_core::imp::TYPE_E_TYPEMISMATCH)) diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs index 6570fd7b3e..d13b687fcc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs @@ -33,7 +33,7 @@ impl ContextInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetTransactionId, Impl: ContextInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtxid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTransactionId, Impl: ContextInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtxid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ContextInfo_Impl::GetTransactionId(this) { @@ -44,7 +44,7 @@ impl ContextInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetActivityId, Impl: ContextInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstractivityid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetActivityId, Impl: ContextInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstractivityid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ContextInfo_Impl::GetActivityId(this) { @@ -55,7 +55,7 @@ impl ContextInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetContextId, Impl: ContextInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrctxid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetContextId, Impl: ContextInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrctxid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ContextInfo_Impl::GetContextId(this) { @@ -90,7 +90,7 @@ impl windows_core::RuntimeName for ContextInfo2 {} #[cfg(feature = "Win32_System_Com")] impl ContextInfo2_Vtbl { pub const fn new, Impl: ContextInfo2_Impl, const OFFSET: isize>() -> ContextInfo2_Vtbl { - unsafe extern "system" fn GetPartitionId, Impl: ContextInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__contextinfo20000: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPartitionId, Impl: ContextInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__contextinfo20000: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ContextInfo2_Impl::GetPartitionId(this) { @@ -101,7 +101,7 @@ impl ContextInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetApplicationId, Impl: ContextInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__contextinfo20001: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetApplicationId, Impl: ContextInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__contextinfo20001: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ContextInfo2_Impl::GetApplicationId(this) { @@ -112,7 +112,7 @@ impl ContextInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetApplicationInstanceId, Impl: ContextInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__contextinfo20002: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetApplicationInstanceId, Impl: ContextInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__contextinfo20002: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ContextInfo2_Impl::GetApplicationInstanceId(this) { @@ -173,7 +173,7 @@ impl windows_core::RuntimeName for IAssemblyLocator {} #[cfg(feature = "Win32_System_Com")] impl IAssemblyLocator_Vtbl { pub const fn new, Impl: IAssemblyLocator_Impl, const OFFSET: isize>() -> IAssemblyLocator_Vtbl { - unsafe extern "system" fn GetModules, Impl: IAssemblyLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, applicationdir: std::mem::MaybeUninit, applicationname: std::mem::MaybeUninit, assemblyname: std::mem::MaybeUninit, pmodules: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn GetModules, Impl: IAssemblyLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, applicationdir: core::mem::MaybeUninit, applicationname: core::mem::MaybeUninit, assemblyname: core::mem::MaybeUninit, pmodules: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAssemblyLocator_Impl::GetModules(this, core::mem::transmute(&applicationdir), core::mem::transmute(&applicationname), core::mem::transmute(&assemblyname)) { @@ -241,7 +241,7 @@ impl windows_core::RuntimeName for ICOMAdminCatalog {} #[cfg(feature = "Win32_System_Com")] impl ICOMAdminCatalog_Vtbl { pub const fn new, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>() -> ICOMAdminCatalog_Vtbl { - unsafe extern "system" fn GetCollection, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollname: std::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetCollection, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollname: core::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog_Impl::GetCollection(this, core::mem::transmute(&bstrcollname)) { @@ -252,7 +252,7 @@ impl ICOMAdminCatalog_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Connect, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcatalogservername: std::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Connect, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcatalogservername: core::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog_Impl::Connect(this, core::mem::transmute(&bstrcatalogservername)) { @@ -285,7 +285,7 @@ impl ICOMAdminCatalog_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCollectionByQuery, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollname: std::mem::MaybeUninit, ppsavarquery: *const *const super::Com::SAFEARRAY, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetCollectionByQuery, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollname: core::mem::MaybeUninit, ppsavarquery: *const *const super::Com::SAFEARRAY, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog_Impl::GetCollectionByQuery(this, core::mem::transmute(&bstrcollname), core::mem::transmute_copy(&ppsavarquery)) { @@ -296,27 +296,27 @@ impl ICOMAdminCatalog_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ImportComponent, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: std::mem::MaybeUninit, bstrclsidorprogid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImportComponent, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: core::mem::MaybeUninit, bstrclsidorprogid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::ImportComponent(this, core::mem::transmute(&bstrapplidorname), core::mem::transmute(&bstrclsidorprogid)).into() } - unsafe extern "system" fn InstallComponent, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: std::mem::MaybeUninit, bstrdll: std::mem::MaybeUninit, bstrtlb: std::mem::MaybeUninit, bstrpsdll: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallComponent, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: core::mem::MaybeUninit, bstrdll: core::mem::MaybeUninit, bstrtlb: core::mem::MaybeUninit, bstrpsdll: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::InstallComponent(this, core::mem::transmute(&bstrapplidorname), core::mem::transmute(&bstrdll), core::mem::transmute(&bstrtlb), core::mem::transmute(&bstrpsdll)).into() } - unsafe extern "system" fn ShutdownApplication, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShutdownApplication, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::ShutdownApplication(this, core::mem::transmute(&bstrapplidorname)).into() } - unsafe extern "system" fn ExportApplication, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: std::mem::MaybeUninit, bstrapplicationfile: std::mem::MaybeUninit, loptions: COMAdminApplicationExportOptions) -> windows_core::HRESULT { + unsafe extern "system" fn ExportApplication, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: core::mem::MaybeUninit, bstrapplicationfile: core::mem::MaybeUninit, loptions: COMAdminApplicationExportOptions) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::ExportApplication(this, core::mem::transmute(&bstrapplidorname), core::mem::transmute(&bstrapplicationfile), core::mem::transmute_copy(&loptions)).into() } - unsafe extern "system" fn InstallApplication, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationfile: std::mem::MaybeUninit, bstrdestinationdirectory: std::mem::MaybeUninit, loptions: COMAdminApplicationInstallOptions, bstruserid: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, bstrrsn: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallApplication, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationfile: core::mem::MaybeUninit, bstrdestinationdirectory: core::mem::MaybeUninit, loptions: COMAdminApplicationInstallOptions, bstruserid: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, bstrrsn: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::InstallApplication(this, core::mem::transmute(&bstrapplicationfile), core::mem::transmute(&bstrdestinationdirectory), core::mem::transmute_copy(&loptions), core::mem::transmute(&bstruserid), core::mem::transmute(&bstrpassword), core::mem::transmute(&bstrrsn)).into() @@ -346,12 +346,12 @@ impl ICOMAdminCatalog_Vtbl { let this = (*this).get_impl(); ICOMAdminCatalog_Impl::Reserved2(this).into() } - unsafe extern "system" fn InstallMultipleComponents, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: std::mem::MaybeUninit, ppsavarfilenames: *const *const super::Com::SAFEARRAY, ppsavarclsids: *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn InstallMultipleComponents, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: core::mem::MaybeUninit, ppsavarfilenames: *const *const super::Com::SAFEARRAY, ppsavarclsids: *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::InstallMultipleComponents(this, core::mem::transmute(&bstrapplidorname), core::mem::transmute_copy(&ppsavarfilenames), core::mem::transmute_copy(&ppsavarclsids)).into() } - unsafe extern "system" fn GetMultipleComponentsInfo, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: std::mem::MaybeUninit, ppsavarfilenames: *const *const super::Com::SAFEARRAY, ppsavarclsids: *mut *mut super::Com::SAFEARRAY, ppsavarclassnames: *mut *mut super::Com::SAFEARRAY, ppsavarfileflags: *mut *mut super::Com::SAFEARRAY, ppsavarcomponentflags: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn GetMultipleComponentsInfo, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: core::mem::MaybeUninit, ppsavarfilenames: *const *const super::Com::SAFEARRAY, ppsavarclsids: *mut *mut super::Com::SAFEARRAY, ppsavarclassnames: *mut *mut super::Com::SAFEARRAY, ppsavarfileflags: *mut *mut super::Com::SAFEARRAY, ppsavarcomponentflags: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::GetMultipleComponentsInfo(this, core::mem::transmute(&bstrapplidorname), core::mem::transmute_copy(&ppsavarfilenames), core::mem::transmute_copy(&ppsavarclsids), core::mem::transmute_copy(&ppsavarclassnames), core::mem::transmute_copy(&ppsavarfileflags), core::mem::transmute_copy(&ppsavarcomponentflags)).into() @@ -361,22 +361,22 @@ impl ICOMAdminCatalog_Vtbl { let this = (*this).get_impl(); ICOMAdminCatalog_Impl::RefreshComponents(this).into() } - unsafe extern "system" fn BackupREGDB, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupfilepath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BackupREGDB, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupfilepath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::BackupREGDB(this, core::mem::transmute(&bstrbackupfilepath)).into() } - unsafe extern "system" fn RestoreREGDB, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupfilepath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RestoreREGDB, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupfilepath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::RestoreREGDB(this, core::mem::transmute(&bstrbackupfilepath)).into() } - unsafe extern "system" fn QueryApplicationFile, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationfile: std::mem::MaybeUninit, pbstrapplicationname: *mut std::mem::MaybeUninit, pbstrapplicationdescription: *mut std::mem::MaybeUninit, pbhasusers: *mut super::super::Foundation::VARIANT_BOOL, pbisproxy: *mut super::super::Foundation::VARIANT_BOOL, ppsavarfilenames: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn QueryApplicationFile, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationfile: core::mem::MaybeUninit, pbstrapplicationname: *mut core::mem::MaybeUninit, pbstrapplicationdescription: *mut core::mem::MaybeUninit, pbhasusers: *mut super::super::Foundation::VARIANT_BOOL, pbisproxy: *mut super::super::Foundation::VARIANT_BOOL, ppsavarfilenames: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::QueryApplicationFile(this, core::mem::transmute(&bstrapplicationfile), core::mem::transmute_copy(&pbstrapplicationname), core::mem::transmute_copy(&pbstrapplicationdescription), core::mem::transmute_copy(&pbhasusers), core::mem::transmute_copy(&pbisproxy), core::mem::transmute_copy(&ppsavarfilenames)).into() } - unsafe extern "system" fn StartApplication, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StartApplication, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::StartApplication(this, core::mem::transmute(&bstrapplidorname)).into() @@ -392,17 +392,17 @@ impl ICOMAdminCatalog_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InstallMultipleEventClasses, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: std::mem::MaybeUninit, ppsavarfilenames: *const *const super::Com::SAFEARRAY, ppsavarclsids: *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn InstallMultipleEventClasses, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: core::mem::MaybeUninit, ppsavarfilenames: *const *const super::Com::SAFEARRAY, ppsavarclsids: *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::InstallMultipleEventClasses(this, core::mem::transmute(&bstrapplidorname), core::mem::transmute_copy(&ppsavarfilenames), core::mem::transmute_copy(&ppsavarclsids)).into() } - unsafe extern "system" fn InstallEventClass, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: std::mem::MaybeUninit, bstrdll: std::mem::MaybeUninit, bstrtlb: std::mem::MaybeUninit, bstrpsdll: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallEventClass, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplidorname: core::mem::MaybeUninit, bstrdll: core::mem::MaybeUninit, bstrtlb: core::mem::MaybeUninit, bstrpsdll: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::InstallEventClass(this, core::mem::transmute(&bstrapplidorname), core::mem::transmute(&bstrdll), core::mem::transmute(&bstrtlb), core::mem::transmute(&bstrpsdll)).into() } - unsafe extern "system" fn GetEventClassesForIID, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstriid: std::mem::MaybeUninit, ppsavarclsids: *mut *mut super::Com::SAFEARRAY, ppsavarprogids: *mut *mut super::Com::SAFEARRAY, ppsavardescriptions: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn GetEventClassesForIID, Impl: ICOMAdminCatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstriid: core::mem::MaybeUninit, ppsavarclsids: *mut *mut super::Com::SAFEARRAY, ppsavarprogids: *mut *mut super::Com::SAFEARRAY, ppsavardescriptions: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog_Impl::GetEventClassesForIID(this, core::mem::transmute(&bstriid), core::mem::transmute_copy(&ppsavarclsids), core::mem::transmute_copy(&ppsavarprogids), core::mem::transmute_copy(&ppsavardescriptions)).into() @@ -480,7 +480,7 @@ impl windows_core::RuntimeName for ICOMAdminCatalog2 {} #[cfg(feature = "Win32_System_Com")] impl ICOMAdminCatalog2_Vtbl { pub const fn new, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>() -> ICOMAdminCatalog2_Vtbl { - unsafe extern "system" fn GetCollectionByQuery2, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollectionname: std::mem::MaybeUninit, pvarquerystrings: *const std::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetCollectionByQuery2, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollectionname: core::mem::MaybeUninit, pvarquerystrings: *const core::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetCollectionByQuery2(this, core::mem::transmute(&bstrcollectionname), core::mem::transmute_copy(&pvarquerystrings)) { @@ -491,7 +491,7 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetApplicationInstanceIDFromProcessID, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lprocessid: i32, pbstrapplicationinstanceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetApplicationInstanceIDFromProcessID, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lprocessid: i32, pbstrapplicationinstanceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetApplicationInstanceIDFromProcessID(this, core::mem::transmute_copy(&lprocessid)) { @@ -502,27 +502,27 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ShutdownApplicationInstances, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShutdownApplicationInstances, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::ShutdownApplicationInstances(this, core::mem::transmute_copy(&pvarapplicationinstanceid)).into() } - unsafe extern "system" fn PauseApplicationInstances, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PauseApplicationInstances, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::PauseApplicationInstances(this, core::mem::transmute_copy(&pvarapplicationinstanceid)).into() } - unsafe extern "system" fn ResumeApplicationInstances, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResumeApplicationInstances, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::ResumeApplicationInstances(this, core::mem::transmute_copy(&pvarapplicationinstanceid)).into() } - unsafe extern "system" fn RecycleApplicationInstances, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const std::mem::MaybeUninit, lreasoncode: i32) -> windows_core::HRESULT { + unsafe extern "system" fn RecycleApplicationInstances, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const core::mem::MaybeUninit, lreasoncode: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::RecycleApplicationInstances(this, core::mem::transmute_copy(&pvarapplicationinstanceid), core::mem::transmute_copy(&lreasoncode)).into() } - unsafe extern "system" fn AreApplicationInstancesPaused, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const std::mem::MaybeUninit, pvarboolpaused: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn AreApplicationInstancesPaused, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarapplicationinstanceid: *const core::mem::MaybeUninit, pvarboolpaused: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::AreApplicationInstancesPaused(this, core::mem::transmute_copy(&pvarapplicationinstanceid)) { @@ -533,7 +533,7 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DumpApplicationInstance, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationinstanceid: std::mem::MaybeUninit, bstrdirectory: std::mem::MaybeUninit, lmaximages: i32, pbstrdumpfile: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DumpApplicationInstance, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationinstanceid: core::mem::MaybeUninit, bstrdirectory: core::mem::MaybeUninit, lmaximages: i32, pbstrdumpfile: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::DumpApplicationInstance(this, core::mem::transmute(&bstrapplicationinstanceid), core::mem::transmute(&bstrdirectory), core::mem::transmute_copy(&lmaximages)) { @@ -555,17 +555,17 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateServiceForApplication, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: std::mem::MaybeUninit, bstrservicename: std::mem::MaybeUninit, bstrstarttype: std::mem::MaybeUninit, bstrerrorcontrol: std::mem::MaybeUninit, bstrdependencies: std::mem::MaybeUninit, bstrrunas: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, bdesktopok: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn CreateServiceForApplication, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: core::mem::MaybeUninit, bstrservicename: core::mem::MaybeUninit, bstrstarttype: core::mem::MaybeUninit, bstrerrorcontrol: core::mem::MaybeUninit, bstrdependencies: core::mem::MaybeUninit, bstrrunas: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, bdesktopok: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::CreateServiceForApplication(this, core::mem::transmute(&bstrapplicationidorname), core::mem::transmute(&bstrservicename), core::mem::transmute(&bstrstarttype), core::mem::transmute(&bstrerrorcontrol), core::mem::transmute(&bstrdependencies), core::mem::transmute(&bstrrunas), core::mem::transmute(&bstrpassword), core::mem::transmute_copy(&bdesktopok)).into() } - unsafe extern "system" fn DeleteServiceForApplication, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteServiceForApplication, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::DeleteServiceForApplication(this, core::mem::transmute(&bstrapplicationidorname)).into() } - unsafe extern "system" fn GetPartitionID, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: std::mem::MaybeUninit, pbstrpartitionid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPartitionID, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: core::mem::MaybeUninit, pbstrpartitionid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetPartitionID(this, core::mem::transmute(&bstrapplicationidorname)) { @@ -576,7 +576,7 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPartitionName, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: std::mem::MaybeUninit, pbstrpartitionname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPartitionName, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: core::mem::MaybeUninit, pbstrpartitionname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetPartitionName(this, core::mem::transmute(&bstrapplicationidorname)) { @@ -587,12 +587,12 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCurrentPartition, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpartitionidorname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCurrentPartition, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpartitionidorname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::SetCurrentPartition(this, core::mem::transmute(&bstrpartitionidorname)).into() } - unsafe extern "system" fn CurrentPartitionID, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpartitionid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentPartitionID, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpartitionid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::CurrentPartitionID(this) { @@ -603,7 +603,7 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentPartitionName, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpartitionname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentPartitionName, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpartitionname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::CurrentPartitionName(this) { @@ -614,7 +614,7 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GlobalPartitionID, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrglobalpartitionid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GlobalPartitionID, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrglobalpartitionid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GlobalPartitionID(this) { @@ -630,27 +630,27 @@ impl ICOMAdminCatalog2_Vtbl { let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::FlushPartitionCache(this).into() } - unsafe extern "system" fn CopyApplications, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsourcepartitionidorname: std::mem::MaybeUninit, pvarapplicationid: *const std::mem::MaybeUninit, bstrdestinationpartitionidorname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyApplications, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsourcepartitionidorname: core::mem::MaybeUninit, pvarapplicationid: *const core::mem::MaybeUninit, bstrdestinationpartitionidorname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::CopyApplications(this, core::mem::transmute(&bstrsourcepartitionidorname), core::mem::transmute_copy(&pvarapplicationid), core::mem::transmute(&bstrdestinationpartitionidorname)).into() } - unsafe extern "system" fn CopyComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsourceapplicationidorname: std::mem::MaybeUninit, pvarclsidorprogid: *const std::mem::MaybeUninit, bstrdestinationapplicationidorname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsourceapplicationidorname: core::mem::MaybeUninit, pvarclsidorprogid: *const core::mem::MaybeUninit, bstrdestinationapplicationidorname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::CopyComponents(this, core::mem::transmute(&bstrsourceapplicationidorname), core::mem::transmute_copy(&pvarclsidorprogid), core::mem::transmute(&bstrdestinationapplicationidorname)).into() } - unsafe extern "system" fn MoveComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsourceapplicationidorname: std::mem::MaybeUninit, pvarclsidorprogid: *const std::mem::MaybeUninit, bstrdestinationapplicationidorname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MoveComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsourceapplicationidorname: core::mem::MaybeUninit, pvarclsidorprogid: *const core::mem::MaybeUninit, bstrdestinationapplicationidorname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::MoveComponents(this, core::mem::transmute(&bstrsourceapplicationidorname), core::mem::transmute_copy(&pvarclsidorprogid), core::mem::transmute(&bstrdestinationapplicationidorname)).into() } - unsafe extern "system" fn AliasComponent, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsrcapplicationidorname: std::mem::MaybeUninit, bstrclsidorprogid: std::mem::MaybeUninit, bstrdestapplicationidorname: std::mem::MaybeUninit, bstrnewprogid: std::mem::MaybeUninit, bstrnewclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AliasComponent, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsrcapplicationidorname: core::mem::MaybeUninit, bstrclsidorprogid: core::mem::MaybeUninit, bstrdestapplicationidorname: core::mem::MaybeUninit, bstrnewprogid: core::mem::MaybeUninit, bstrnewclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::AliasComponent(this, core::mem::transmute(&bstrsrcapplicationidorname), core::mem::transmute(&bstrclsidorprogid), core::mem::transmute(&bstrdestapplicationidorname), core::mem::transmute(&bstrnewprogid), core::mem::transmute(&bstrnewclsid)).into() } - unsafe extern "system" fn IsSafeToDelete, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdllname: std::mem::MaybeUninit, pcomadmininuse: *mut COMAdminInUse) -> windows_core::HRESULT { + unsafe extern "system" fn IsSafeToDelete, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdllname: core::mem::MaybeUninit, pcomadmininuse: *mut COMAdminInUse) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::IsSafeToDelete(this, core::mem::transmute(&bstrdllname)) { @@ -661,17 +661,17 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ImportUnconfiguredComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: std::mem::MaybeUninit, pvarclsidorprogid: *const std::mem::MaybeUninit, pvarcomponenttype: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImportUnconfiguredComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: core::mem::MaybeUninit, pvarclsidorprogid: *const core::mem::MaybeUninit, pvarcomponenttype: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::ImportUnconfiguredComponents(this, core::mem::transmute(&bstrapplicationidorname), core::mem::transmute_copy(&pvarclsidorprogid), core::mem::transmute_copy(&pvarcomponenttype)).into() } - unsafe extern "system" fn PromoteUnconfiguredComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: std::mem::MaybeUninit, pvarclsidorprogid: *const std::mem::MaybeUninit, pvarcomponenttype: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PromoteUnconfiguredComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: core::mem::MaybeUninit, pvarclsidorprogid: *const core::mem::MaybeUninit, pvarcomponenttype: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::PromoteUnconfiguredComponents(this, core::mem::transmute(&bstrapplicationidorname), core::mem::transmute_copy(&pvarclsidorprogid), core::mem::transmute_copy(&pvarcomponenttype)).into() } - unsafe extern "system" fn ImportComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: std::mem::MaybeUninit, pvarclsidorprogid: *const std::mem::MaybeUninit, pvarcomponenttype: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImportComponents, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationidorname: core::mem::MaybeUninit, pvarclsidorprogid: *const core::mem::MaybeUninit, pvarcomponenttype: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::ImportComponents(this, core::mem::transmute(&bstrapplicationidorname), core::mem::transmute_copy(&pvarclsidorprogid), core::mem::transmute_copy(&pvarcomponenttype)).into() @@ -687,17 +687,17 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExportPartition, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpartitionidorname: std::mem::MaybeUninit, bstrpartitionfilename: std::mem::MaybeUninit, loptions: COMAdminApplicationExportOptions) -> windows_core::HRESULT { + unsafe extern "system" fn ExportPartition, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpartitionidorname: core::mem::MaybeUninit, bstrpartitionfilename: core::mem::MaybeUninit, loptions: COMAdminApplicationExportOptions) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::ExportPartition(this, core::mem::transmute(&bstrpartitionidorname), core::mem::transmute(&bstrpartitionfilename), core::mem::transmute_copy(&loptions)).into() } - unsafe extern "system" fn InstallPartition, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit, bstrdestdirectory: std::mem::MaybeUninit, loptions: COMAdminApplicationInstallOptions, bstruserid: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, bstrrsn: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallPartition, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit, bstrdestdirectory: core::mem::MaybeUninit, loptions: COMAdminApplicationInstallOptions, bstruserid: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, bstrrsn: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICOMAdminCatalog2_Impl::InstallPartition(this, core::mem::transmute(&bstrfilename), core::mem::transmute(&bstrdestdirectory), core::mem::transmute_copy(&loptions), core::mem::transmute(&bstruserid), core::mem::transmute(&bstrpassword), core::mem::transmute(&bstrrsn)).into() } - unsafe extern "system" fn QueryApplicationFile2, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationfile: std::mem::MaybeUninit, ppfilesforimport: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QueryApplicationFile2, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrapplicationfile: core::mem::MaybeUninit, ppfilesforimport: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::QueryApplicationFile2(this, core::mem::transmute(&bstrapplicationfile)) { @@ -708,7 +708,7 @@ impl ICOMAdminCatalog2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetComponentVersionCount, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclsidorprogid: std::mem::MaybeUninit, plversioncount: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetComponentVersionCount, Impl: ICOMAdminCatalog2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclsidorprogid: core::mem::MaybeUninit, plversioncount: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICOMAdminCatalog2_Impl::GetComponentVersionCount(this, core::mem::transmute(&bstrclsidorprogid)) { @@ -888,7 +888,7 @@ impl ICatalogCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCollection, Impl: ICatalogCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollname: std::mem::MaybeUninit, varobjectkey: std::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetCollection, Impl: ICatalogCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollname: core::mem::MaybeUninit, varobjectkey: core::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICatalogCollection_Impl::GetCollection(this, core::mem::transmute(&bstrcollname), core::mem::transmute(&varobjectkey)) { @@ -899,7 +899,7 @@ impl ICatalogCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ICatalogCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarnamel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ICatalogCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarnamel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICatalogCollection_Impl::Name(this) { @@ -970,7 +970,7 @@ impl ICatalogCollection_Vtbl { let this = (*this).get_impl(); ICatalogCollection_Impl::PopulateByKey(this, core::mem::transmute_copy(&psakeys)).into() } - unsafe extern "system" fn PopulateByQuery, Impl: ICatalogCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrquerystring: std::mem::MaybeUninit, lquerytype: i32) -> windows_core::HRESULT { + unsafe extern "system" fn PopulateByQuery, Impl: ICatalogCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrquerystring: core::mem::MaybeUninit, lquerytype: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICatalogCollection_Impl::PopulateByQuery(this, core::mem::transmute(&bstrquerystring), core::mem::transmute_copy(&lquerytype)).into() @@ -1014,7 +1014,7 @@ impl windows_core::RuntimeName for ICatalogObject {} #[cfg(feature = "Win32_System_Com")] impl ICatalogObject_Vtbl { pub const fn new, Impl: ICatalogObject_Impl, const OFFSET: isize>() -> ICatalogObject_Vtbl { - unsafe extern "system" fn get_Value, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: std::mem::MaybeUninit, pvarretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Value, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: core::mem::MaybeUninit, pvarretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICatalogObject_Impl::get_Value(this, core::mem::transmute(&bstrpropname)) { @@ -1025,12 +1025,12 @@ impl ICatalogObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Value, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: std::mem::MaybeUninit, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_Value, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: core::mem::MaybeUninit, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICatalogObject_Impl::put_Value(this, core::mem::transmute(&bstrpropname), core::mem::transmute(&val)).into() } - unsafe extern "system" fn Key, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Key, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICatalogObject_Impl::Key(this) { @@ -1041,7 +1041,7 @@ impl ICatalogObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICatalogObject_Impl::Name(this) { @@ -1052,7 +1052,7 @@ impl ICatalogObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsPropertyReadOnly, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: std::mem::MaybeUninit, pbretval: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsPropertyReadOnly, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: core::mem::MaybeUninit, pbretval: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICatalogObject_Impl::IsPropertyReadOnly(this, core::mem::transmute(&bstrpropname)) { @@ -1074,7 +1074,7 @@ impl ICatalogObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsPropertyWriteOnly, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: std::mem::MaybeUninit, pbretval: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsPropertyWriteOnly, Impl: ICatalogObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: core::mem::MaybeUninit, pbretval: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICatalogObject_Impl::IsPropertyWriteOnly(this, core::mem::transmute(&bstrpropname)) { @@ -2390,7 +2390,7 @@ pub trait IComTrackingInfoObject_Impl: Sized { impl windows_core::RuntimeName for IComTrackingInfoObject {} impl IComTrackingInfoObject_Vtbl { pub const fn new, Impl: IComTrackingInfoObject_Impl, const OFFSET: isize>() -> IComTrackingInfoObject_Vtbl { - unsafe extern "system" fn GetValue, Impl: IComTrackingInfoObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szpropertyname: windows_core::PCWSTR, pvarout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IComTrackingInfoObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szpropertyname: windows_core::PCWSTR, pvarout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IComTrackingInfoObject_Impl::GetValue(this, core::mem::transmute(&szpropertyname)) { @@ -2534,7 +2534,7 @@ pub trait IComUserEvent_Impl: Sized { impl windows_core::RuntimeName for IComUserEvent {} impl IComUserEvent_Vtbl { pub const fn new, Impl: IComUserEvent_Impl, const OFFSET: isize>() -> IComUserEvent_Vtbl { - unsafe extern "system" fn OnUserEvent, Impl: IComUserEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinfo: *const COMSVCSEVENTINFO, pvarevent: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnUserEvent, Impl: IComUserEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinfo: *const COMSVCSEVENTINFO, pvarevent: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComUserEvent_Impl::OnUserEvent(this, core::mem::transmute_copy(&pinfo), core::mem::transmute_copy(&pvarevent)).into() @@ -2560,7 +2560,7 @@ impl IContextProperties_Vtbl { let this = (*this).get_impl(); IContextProperties_Impl::Count(this, core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn GetProperty, Impl: IContextProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, pproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IContextProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, pproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IContextProperties_Impl::GetProperty(this, core::mem::transmute(&name), core::mem::transmute_copy(&pproperty)).into() @@ -2576,12 +2576,12 @@ impl IContextProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IContextProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, property: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IContextProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, property: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IContextProperties_Impl::SetProperty(this, core::mem::transmute(&name), core::mem::transmute(&property)).into() } - unsafe extern "system" fn RemoveProperty, Impl: IContextProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveProperty, Impl: IContextProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IContextProperties_Impl::RemoveProperty(this, core::mem::transmute(&name)).into() @@ -2690,7 +2690,7 @@ pub trait ICreateWithTipTransactionEx_Impl: Sized { impl windows_core::RuntimeName for ICreateWithTipTransactionEx {} impl ICreateWithTipTransactionEx_Vtbl { pub const fn new, Impl: ICreateWithTipTransactionEx_Impl, const OFFSET: isize>() -> ICreateWithTipTransactionEx_Vtbl { - unsafe extern "system" fn CreateInstance, Impl: ICreateWithTipTransactionEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtipurl: std::mem::MaybeUninit, rclsid: *const windows_core::GUID, riid: *const windows_core::GUID, pobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstance, Impl: ICreateWithTipTransactionEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtipurl: core::mem::MaybeUninit, rclsid: *const windows_core::GUID, riid: *const windows_core::GUID, pobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICreateWithTipTransactionEx_Impl::CreateInstance(this, core::mem::transmute(&bstrtipurl), core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&pobject)).into() @@ -2856,7 +2856,7 @@ impl ICrmCompensatorVariants_Vtbl { let this = (*this).get_impl(); ICrmCompensatorVariants_Impl::BeginPrepareVariants(this).into() } - unsafe extern "system" fn PrepareRecordVariants, Impl: ICrmCompensatorVariants_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plogrecord: *const std::mem::MaybeUninit, pbforget: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn PrepareRecordVariants, Impl: ICrmCompensatorVariants_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plogrecord: *const core::mem::MaybeUninit, pbforget: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmCompensatorVariants_Impl::PrepareRecordVariants(this, core::mem::transmute_copy(&plogrecord)) { @@ -2883,7 +2883,7 @@ impl ICrmCompensatorVariants_Vtbl { let this = (*this).get_impl(); ICrmCompensatorVariants_Impl::BeginCommitVariants(this, core::mem::transmute_copy(&brecovery)).into() } - unsafe extern "system" fn CommitRecordVariants, Impl: ICrmCompensatorVariants_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plogrecord: *const std::mem::MaybeUninit, pbforget: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn CommitRecordVariants, Impl: ICrmCompensatorVariants_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plogrecord: *const core::mem::MaybeUninit, pbforget: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmCompensatorVariants_Impl::CommitRecordVariants(this, core::mem::transmute_copy(&plogrecord)) { @@ -2904,7 +2904,7 @@ impl ICrmCompensatorVariants_Vtbl { let this = (*this).get_impl(); ICrmCompensatorVariants_Impl::BeginAbortVariants(this, core::mem::transmute_copy(&brecovery)).into() } - unsafe extern "system" fn AbortRecordVariants, Impl: ICrmCompensatorVariants_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plogrecord: *const std::mem::MaybeUninit, pbforget: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn AbortRecordVariants, Impl: ICrmCompensatorVariants_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plogrecord: *const core::mem::MaybeUninit, pbforget: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmCompensatorVariants_Impl::AbortRecordVariants(this, core::mem::transmute_copy(&plogrecord)) { @@ -2961,7 +2961,7 @@ impl ICrmFormatLogRecords_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetColumnHeaders, Impl: ICrmFormatLogRecords_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pheaders: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetColumnHeaders, Impl: ICrmFormatLogRecords_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pheaders: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmFormatLogRecords_Impl::GetColumnHeaders(this) { @@ -2972,7 +2972,7 @@ impl ICrmFormatLogRecords_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetColumn, Impl: ICrmFormatLogRecords_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, crmlogrec: CrmLogRecordRead, pformattedlogrecord: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetColumn, Impl: ICrmFormatLogRecords_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, crmlogrec: CrmLogRecordRead, pformattedlogrecord: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmFormatLogRecords_Impl::GetColumn(this, core::mem::transmute(&crmlogrec)) { @@ -2983,7 +2983,7 @@ impl ICrmFormatLogRecords_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetColumnVariants, Impl: ICrmFormatLogRecords_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logrecord: std::mem::MaybeUninit, pformattedlogrecord: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetColumnVariants, Impl: ICrmFormatLogRecords_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logrecord: core::mem::MaybeUninit, pformattedlogrecord: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmFormatLogRecords_Impl::GetColumnVariants(this, core::mem::transmute(&logrecord)) { @@ -3021,7 +3021,7 @@ impl windows_core::RuntimeName for ICrmLogControl {} #[cfg(feature = "Win32_System_Com")] impl ICrmLogControl_Vtbl { pub const fn new, Impl: ICrmLogControl_Impl, const OFFSET: isize>() -> ICrmLogControl_Vtbl { - unsafe extern "system" fn TransactionUOW, Impl: ICrmLogControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TransactionUOW, Impl: ICrmLogControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmLogControl_Impl::TransactionUOW(this) { @@ -3037,7 +3037,7 @@ impl ICrmLogControl_Vtbl { let this = (*this).get_impl(); ICrmLogControl_Impl::RegisterCompensator(this, core::mem::transmute(&lpcwstrprogidcompensator), core::mem::transmute(&lpcwstrdescription), core::mem::transmute_copy(&lcrmregflags)).into() } - unsafe extern "system" fn WriteLogRecordVariants, Impl: ICrmLogControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plogrecord: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WriteLogRecordVariants, Impl: ICrmLogControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plogrecord: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICrmLogControl_Impl::WriteLogRecordVariants(this, core::mem::transmute_copy(&plogrecord)).into() @@ -3098,7 +3098,7 @@ impl ICrmMonitor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn HoldClerk, Impl: ICrmMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HoldClerk, Impl: ICrmMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmMonitor_Impl::HoldClerk(this, core::mem::transmute(&index)) { @@ -3134,7 +3134,7 @@ impl windows_core::RuntimeName for ICrmMonitorClerks {} #[cfg(feature = "Win32_System_Com")] impl ICrmMonitorClerks_Vtbl { pub const fn new, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>() -> ICrmMonitorClerks_Vtbl { - unsafe extern "system" fn Item, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::Item(this, core::mem::transmute(&index)) { @@ -3167,7 +3167,7 @@ impl ICrmMonitorClerks_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProgIdCompensator, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProgIdCompensator, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::ProgIdCompensator(this, core::mem::transmute(&index)) { @@ -3178,7 +3178,7 @@ impl ICrmMonitorClerks_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::Description(this, core::mem::transmute(&index)) { @@ -3189,7 +3189,7 @@ impl ICrmMonitorClerks_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TransactionUOW, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TransactionUOW, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::TransactionUOW(this, core::mem::transmute(&index)) { @@ -3200,7 +3200,7 @@ impl ICrmMonitorClerks_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ActivityId, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ActivityId, Impl: ICrmMonitorClerks_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmMonitorClerks_Impl::ActivityId(this, core::mem::transmute(&index)) { @@ -3277,7 +3277,7 @@ impl ICrmMonitorLogRecords_Vtbl { let this = (*this).get_impl(); ICrmMonitorLogRecords_Impl::GetLogRecord(this, core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&pcrmlogrec)).into() } - unsafe extern "system" fn GetLogRecordVariants, Impl: ICrmMonitorLogRecords_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, indexnumber: std::mem::MaybeUninit, plogrecord: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLogRecordVariants, Impl: ICrmMonitorLogRecords_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, indexnumber: core::mem::MaybeUninit, plogrecord: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICrmMonitorLogRecords_Impl::GetLogRecordVariants(this, core::mem::transmute(&indexnumber)) { @@ -3398,7 +3398,7 @@ pub trait IEnumNames_Impl: Sized { impl windows_core::RuntimeName for IEnumNames {} impl IEnumNames_Vtbl { pub const fn new, Impl: IEnumNames_Impl, const OFFSET: isize>() -> IEnumNames_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgname: *mut std::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IEnumNames_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgname: *mut core::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumNames_Impl::Next(this, core::mem::transmute_copy(&celt), core::mem::transmute_copy(&rgname), core::mem::transmute_copy(&pceltfetched)).into() @@ -3447,17 +3447,17 @@ impl windows_core::RuntimeName for IEventServerTrace {} #[cfg(feature = "Win32_System_Com")] impl IEventServerTrace_Vtbl { pub const fn new, Impl: IEventServerTrace_Impl, const OFFSET: isize>() -> IEventServerTrace_Vtbl { - unsafe extern "system" fn StartTraceGuid, Impl: IEventServerTrace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidevent: std::mem::MaybeUninit, bstrguidfilter: std::mem::MaybeUninit, lpidfilter: i32) -> windows_core::HRESULT { + unsafe extern "system" fn StartTraceGuid, Impl: IEventServerTrace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidevent: core::mem::MaybeUninit, bstrguidfilter: core::mem::MaybeUninit, lpidfilter: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventServerTrace_Impl::StartTraceGuid(this, core::mem::transmute(&bstrguidevent), core::mem::transmute(&bstrguidfilter), core::mem::transmute_copy(&lpidfilter)).into() } - unsafe extern "system" fn StopTraceGuid, Impl: IEventServerTrace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidevent: std::mem::MaybeUninit, bstrguidfilter: std::mem::MaybeUninit, lpidfilter: i32) -> windows_core::HRESULT { + unsafe extern "system" fn StopTraceGuid, Impl: IEventServerTrace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidevent: core::mem::MaybeUninit, bstrguidfilter: core::mem::MaybeUninit, lpidfilter: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventServerTrace_Impl::StopTraceGuid(this, core::mem::transmute(&bstrguidevent), core::mem::transmute(&bstrguidfilter), core::mem::transmute_copy(&lpidfilter)).into() } - unsafe extern "system" fn EnumTraceGuid, Impl: IEventServerTrace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plcntguids: *mut i32, pbstrguidlist: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnumTraceGuid, Impl: IEventServerTrace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plcntguids: *mut i32, pbstrguidlist: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventServerTrace_Impl::EnumTraceGuid(this, core::mem::transmute_copy(&plcntguids), core::mem::transmute_copy(&pbstrguidlist)).into() @@ -3560,7 +3560,7 @@ impl IGetContextProperties_Vtbl { let this = (*this).get_impl(); IGetContextProperties_Impl::Count(this, core::mem::transmute_copy(&plcount)).into() } - unsafe extern "system" fn GetProperty, Impl: IGetContextProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, pproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IGetContextProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, pproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGetContextProperties_Impl::GetProperty(this, core::mem::transmute(&name), core::mem::transmute_copy(&pproperty)).into() @@ -3690,17 +3690,17 @@ pub trait ILBEvents_Impl: Sized { impl windows_core::RuntimeName for ILBEvents {} impl ILBEvents_Vtbl { pub const fn new, Impl: ILBEvents_Impl, const OFFSET: isize>() -> ILBEvents_Vtbl { - unsafe extern "system" fn TargetUp, Impl: ILBEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit, bstrclsideng: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetUp, Impl: ILBEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit, bstrclsideng: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILBEvents_Impl::TargetUp(this, core::mem::transmute(&bstrservername), core::mem::transmute(&bstrclsideng)).into() } - unsafe extern "system" fn TargetDown, Impl: ILBEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: std::mem::MaybeUninit, bstrclsideng: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetDown, Impl: ILBEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrservername: core::mem::MaybeUninit, bstrclsideng: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILBEvents_Impl::TargetDown(this, core::mem::transmute(&bstrservername), core::mem::transmute(&bstrclsideng)).into() } - unsafe extern "system" fn EngineDefined, Impl: ILBEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: std::mem::MaybeUninit, varpropvalue: *const std::mem::MaybeUninit, bstrclsideng: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EngineDefined, Impl: ILBEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: core::mem::MaybeUninit, varpropvalue: *const core::mem::MaybeUninit, bstrclsideng: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILBEvents_Impl::EngineDefined(this, core::mem::transmute(&bstrpropname), core::mem::transmute_copy(&varpropvalue), core::mem::transmute(&bstrclsideng)).into() @@ -3936,7 +3936,7 @@ impl windows_core::RuntimeName for IMessageMover {} #[cfg(feature = "Win32_System_Com")] impl IMessageMover_Vtbl { pub const fn new, Impl: IMessageMover_Impl, const OFFSET: isize>() -> IMessageMover_Vtbl { - unsafe extern "system" fn SourcePath, Impl: IMessageMover_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SourcePath, Impl: IMessageMover_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMessageMover_Impl::SourcePath(this) { @@ -3947,12 +3947,12 @@ impl IMessageMover_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSourcePath, Impl: IMessageMover_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSourcePath, Impl: IMessageMover_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMessageMover_Impl::SetSourcePath(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn DestPath, Impl: IMessageMover_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DestPath, Impl: IMessageMover_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMessageMover_Impl::DestPath(this) { @@ -3963,7 +3963,7 @@ impl IMessageMover_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDestPath, Impl: IMessageMover_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDestPath, Impl: IMessageMover_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMessageMover_Impl::SetDestPath(this, core::mem::transmute(&newval)).into() @@ -4034,7 +4034,7 @@ impl IMtsEventInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: IMtsEventInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IMtsEventInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMtsEventInfo_Impl::DisplayName(this) { @@ -4045,7 +4045,7 @@ impl IMtsEventInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EventID, Impl: IMtsEventInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sguideventid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EventID, Impl: IMtsEventInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sguideventid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMtsEventInfo_Impl::EventID(this) { @@ -4067,7 +4067,7 @@ impl IMtsEventInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Value, Impl: IMtsEventInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, skey: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Value, Impl: IMtsEventInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, skey: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMtsEventInfo_Impl::get_Value(this, core::mem::transmute(&skey)) { @@ -4104,7 +4104,7 @@ impl windows_core::RuntimeName for IMtsEvents {} #[cfg(feature = "Win32_System_Com")] impl IMtsEvents_Vtbl { pub const fn new, Impl: IMtsEvents_Impl, const OFFSET: isize>() -> IMtsEvents_Vtbl { - unsafe extern "system" fn PackageName, Impl: IMtsEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PackageName, Impl: IMtsEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMtsEvents_Impl::PackageName(this) { @@ -4115,7 +4115,7 @@ impl IMtsEvents_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PackageGuid, Impl: IMtsEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PackageGuid, Impl: IMtsEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMtsEvents_Impl::PackageGuid(this) { @@ -4126,7 +4126,7 @@ impl IMtsEvents_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PostEvent, Impl: IMtsEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vevent: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PostEvent, Impl: IMtsEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vevent: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMtsEvents_Impl::PostEvent(this, core::mem::transmute_copy(&vevent)).into() @@ -4306,7 +4306,7 @@ impl windows_core::RuntimeName for IObjectConstructString {} #[cfg(feature = "Win32_System_Com")] impl IObjectConstructString_Vtbl { pub const fn new, Impl: IObjectConstructString_Impl, const OFFSET: isize>() -> IObjectConstructString_Vtbl { - unsafe extern "system" fn ConstructString, Impl: IObjectConstructString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConstructString, Impl: IObjectConstructString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IObjectConstructString_Impl::ConstructString(this, core::mem::transmute_copy(&pval)).into() @@ -4365,7 +4365,7 @@ impl IObjectContext_Vtbl { let this = (*this).get_impl(); IObjectContext_Impl::IsSecurityEnabled(this) } - unsafe extern "system" fn IsCallerInRole, Impl: IObjectContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrole: std::mem::MaybeUninit, pfisinrole: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsCallerInRole, Impl: IObjectContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrole: core::mem::MaybeUninit, pfisinrole: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IObjectContext_Impl::IsCallerInRole(this, core::mem::transmute(&bstrrole), core::mem::transmute_copy(&pfisinrole)).into() @@ -4497,7 +4497,7 @@ pub trait IObjectContextTip_Impl: Sized { impl windows_core::RuntimeName for IObjectContextTip {} impl IObjectContextTip_Vtbl { pub const fn new, Impl: IObjectContextTip_Impl, const OFFSET: isize>() -> IObjectContextTip_Vtbl { - unsafe extern "system" fn GetTipUrl, Impl: IObjectContextTip_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptipurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTipUrl, Impl: IObjectContextTip_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptipurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IObjectContextTip_Impl::GetTipUrl(this, core::mem::transmute_copy(&ptipurl)).into() @@ -4578,7 +4578,7 @@ impl windows_core::RuntimeName for IPoolManager {} #[cfg(feature = "Win32_System_Com")] impl IPoolManager_Vtbl { pub const fn new, Impl: IPoolManager_Impl, const OFFSET: isize>() -> IPoolManager_Vtbl { - unsafe extern "system" fn ShutdownPool, Impl: IPoolManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clsidorprogid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShutdownPool, Impl: IPoolManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clsidorprogid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPoolManager_Impl::ShutdownPool(this, core::mem::transmute(&clsidorprogid)).into() @@ -4641,7 +4641,7 @@ impl ISecurityCallContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ISecurityCallContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISecurityCallContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISecurityCallContext_Impl::get_Item(this, core::mem::transmute(&name)) { @@ -4663,7 +4663,7 @@ impl ISecurityCallContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsCallerInRole, Impl: ISecurityCallContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrole: std::mem::MaybeUninit, pfinrole: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsCallerInRole, Impl: ISecurityCallContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrole: core::mem::MaybeUninit, pfinrole: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISecurityCallContext_Impl::IsCallerInRole(this, core::mem::transmute(&bstrrole)) { @@ -4685,7 +4685,7 @@ impl ISecurityCallContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsUserInRole, Impl: ISecurityCallContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *const std::mem::MaybeUninit, bstrrole: std::mem::MaybeUninit, pfinrole: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsUserInRole, Impl: ISecurityCallContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *const core::mem::MaybeUninit, bstrrole: core::mem::MaybeUninit, pfinrole: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISecurityCallContext_Impl::IsUserInRole(this, core::mem::transmute_copy(&puser), core::mem::transmute(&bstrrole)) { @@ -4787,7 +4787,7 @@ impl ISecurityIdentityColl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ISecurityIdentityColl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ISecurityIdentityColl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISecurityIdentityColl_Impl::get_Item(this, core::mem::transmute(&name)) { @@ -5377,7 +5377,7 @@ impl windows_core::RuntimeName for ISharedProperty {} #[cfg(feature = "Win32_System_Com")] impl ISharedProperty_Vtbl { pub const fn new, Impl: ISharedProperty_Impl, const OFFSET: isize>() -> ISharedProperty_Vtbl { - unsafe extern "system" fn Value, Impl: ISharedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ISharedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISharedProperty_Impl::Value(this) { @@ -5388,7 +5388,7 @@ impl ISharedProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: ISharedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ISharedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISharedProperty_Impl::SetValue(this, core::mem::transmute(&val)).into() @@ -5431,12 +5431,12 @@ impl ISharedPropertyGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateProperty, Impl: ISharedPropertyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, fexists: *mut super::super::Foundation::VARIANT_BOOL, ppprop: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateProperty, Impl: ISharedPropertyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, fexists: *mut super::super::Foundation::VARIANT_BOOL, ppprop: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISharedPropertyGroup_Impl::CreateProperty(this, core::mem::transmute(&name), core::mem::transmute_copy(&fexists), core::mem::transmute_copy(&ppprop)).into() } - unsafe extern "system" fn get_Property, Impl: ISharedPropertyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, ppproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Property, Impl: ISharedPropertyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, ppproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISharedPropertyGroup_Impl::get_Property(this, core::mem::transmute(&name)) { @@ -5470,12 +5470,12 @@ impl windows_core::RuntimeName for ISharedPropertyGroupManager {} #[cfg(feature = "Win32_System_Com")] impl ISharedPropertyGroupManager_Vtbl { pub const fn new, Impl: ISharedPropertyGroupManager_Impl, const OFFSET: isize>() -> ISharedPropertyGroupManager_Vtbl { - unsafe extern "system" fn CreatePropertyGroup, Impl: ISharedPropertyGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, dwisomode: *mut i32, dwrelmode: *mut i32, fexists: *mut super::super::Foundation::VARIANT_BOOL, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreatePropertyGroup, Impl: ISharedPropertyGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, dwisomode: *mut i32, dwrelmode: *mut i32, fexists: *mut super::super::Foundation::VARIANT_BOOL, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISharedPropertyGroupManager_Impl::CreatePropertyGroup(this, core::mem::transmute(&name), core::mem::transmute_copy(&dwisomode), core::mem::transmute_copy(&dwrelmode), core::mem::transmute_copy(&fexists), core::mem::transmute_copy(&ppgroup)).into() } - unsafe extern "system" fn get_Group, Impl: ISharedPropertyGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Group, Impl: ISharedPropertyGroupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISharedPropertyGroupManager_Impl::get_Group(this, core::mem::transmute(&name)) { @@ -5520,7 +5520,7 @@ impl ISystemAppEventData_Vtbl { let this = (*this).get_impl(); ISystemAppEventData_Impl::Startup(this).into() } - unsafe extern "system" fn OnDataChanged, Impl: ISystemAppEventData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwpid: u32, dwmask: u32, dwnumbersinks: u32, bstrdwmethodmask: std::mem::MaybeUninit, dwreason: u32, u64tracehandle: u64) -> windows_core::HRESULT { + unsafe extern "system" fn OnDataChanged, Impl: ISystemAppEventData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwpid: u32, dwmask: u32, dwnumbersinks: u32, bstrdwmethodmask: core::mem::MaybeUninit, dwreason: u32, u64tracehandle: u64) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISystemAppEventData_Impl::OnDataChanged(this, core::mem::transmute_copy(&dwpid), core::mem::transmute_copy(&dwmask), core::mem::transmute_copy(&dwnumbersinks), core::mem::transmute(&bstrdwmethodmask), core::mem::transmute_copy(&dwreason), core::mem::transmute_copy(&u64tracehandle)).into() @@ -5629,7 +5629,7 @@ impl windows_core::RuntimeName for ITransactionContext {} #[cfg(feature = "Win32_System_Com")] impl ITransactionContext_Vtbl { pub const fn new, Impl: ITransactionContext_Impl, const OFFSET: isize>() -> ITransactionContext_Vtbl { - unsafe extern "system" fn CreateInstance, Impl: ITransactionContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszprogid: std::mem::MaybeUninit, pobject: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstance, Impl: ITransactionContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszprogid: core::mem::MaybeUninit, pobject: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITransactionContext_Impl::CreateInstance(this, core::mem::transmute(&pszprogid)) { @@ -6015,7 +6015,7 @@ impl windows_core::RuntimeName for ObjectContext {} #[cfg(feature = "Win32_System_Com")] impl ObjectContext_Vtbl { pub const fn new, Impl: ObjectContext_Impl, const OFFSET: isize>() -> ObjectContext_Vtbl { - unsafe extern "system" fn CreateInstance, Impl: ObjectContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprogid: std::mem::MaybeUninit, pobject: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstance, Impl: ObjectContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprogid: core::mem::MaybeUninit, pobject: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ObjectContext_Impl::CreateInstance(this, core::mem::transmute(&bstrprogid)) { @@ -6068,7 +6068,7 @@ impl ObjectContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsCallerInRole, Impl: ObjectContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrole: std::mem::MaybeUninit, pbinrole: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsCallerInRole, Impl: ObjectContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrole: core::mem::MaybeUninit, pbinrole: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ObjectContext_Impl::IsCallerInRole(this, core::mem::transmute(&bstrrole)) { @@ -6090,7 +6090,7 @@ impl ObjectContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ObjectContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, pitem: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ObjectContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, pitem: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ObjectContext_Impl::get_Item(this, core::mem::transmute(&name)) { @@ -6201,7 +6201,7 @@ impl windows_core::RuntimeName for SecurityProperty {} #[cfg(feature = "Win32_System_Com")] impl SecurityProperty_Vtbl { pub const fn new, Impl: SecurityProperty_Impl, const OFFSET: isize>() -> SecurityProperty_Vtbl { - unsafe extern "system" fn GetDirectCallerName, Impl: SecurityProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDirectCallerName, Impl: SecurityProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match SecurityProperty_Impl::GetDirectCallerName(this) { @@ -6212,7 +6212,7 @@ impl SecurityProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDirectCreatorName, Impl: SecurityProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDirectCreatorName, Impl: SecurityProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match SecurityProperty_Impl::GetDirectCreatorName(this) { @@ -6223,7 +6223,7 @@ impl SecurityProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetOriginalCallerName, Impl: SecurityProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetOriginalCallerName, Impl: SecurityProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match SecurityProperty_Impl::GetOriginalCallerName(this) { @@ -6234,7 +6234,7 @@ impl SecurityProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetOriginalCreatorName, Impl: SecurityProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetOriginalCreatorName, Impl: SecurityProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match SecurityProperty_Impl::GetOriginalCreatorName(this) { 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 044204aee4..8cac5d3fad 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs @@ -31,7 +31,7 @@ where #[inline] pub unsafe fn GetDispenserManager() -> windows_core::Result { windows_targets::link!("mtxdm.dll" "cdecl" fn GetDispenserManager(param0 : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetDispenserManager(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -63,7 +63,7 @@ windows_core::imp::define_interface!(ContextInfo, ContextInfo_Vtbl, 0x19a5a02c_0 impl std::ops::Deref for ContextInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -71,23 +71,23 @@ windows_core::imp::interface_hierarchy!(ContextInfo, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ContextInfo { pub unsafe fn IsInTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInTransaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTransactionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransactionId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActivityId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivityId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContextId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContextId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -97,9 +97,9 @@ pub struct ContextInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub IsInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetTransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetContextId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetContextId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ContextInfo2, ContextInfo2_Vtbl, 0xc99d6e75_2375_11d4_8331_00c04f605588); @@ -107,7 +107,7 @@ windows_core::imp::define_interface!(ContextInfo2, ContextInfo2_Vtbl, 0xc99d6e75 impl std::ops::Deref for ContextInfo2 { type Target = ContextInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -115,15 +115,15 @@ windows_core::imp::interface_hierarchy!(ContextInfo2, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl ContextInfo2 { pub unsafe fn GetPartitionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartitionId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetApplicationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplicationId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetApplicationInstanceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplicationInstanceId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -131,9 +131,9 @@ impl ContextInfo2 { #[repr(C)] pub struct ContextInfo2_Vtbl { pub base__: ContextInfo_Vtbl, - pub GetPartitionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetApplicationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetApplicationInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPartitionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetApplicationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetApplicationInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAppDomainHelper, IAppDomainHelper_Vtbl, 0xc7b67079_8255_42c6_9ec0_6994a3548780); @@ -141,7 +141,7 @@ windows_core::imp::define_interface!(IAppDomainHelper, IAppDomainHelper_Vtbl, 0x impl std::ops::Deref for IAppDomainHelper { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -174,7 +174,7 @@ windows_core::imp::define_interface!(IAssemblyLocator, IAssemblyLocator_Vtbl, 0x impl std::ops::Deref for IAssemblyLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -188,7 +188,7 @@ impl IAssemblyLocator { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModules)(windows_core::Interface::as_raw(self), applicationdir.param().abi(), applicationname.param().abi(), assemblyname.param().abi(), &mut result__).map(|| result__) } } @@ -197,7 +197,7 @@ impl IAssemblyLocator { pub struct IAssemblyLocator_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetModules: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub GetModules: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetModules: usize, } @@ -205,7 +205,7 @@ windows_core::imp::define_interface!(IAsyncErrorNotify, IAsyncErrorNotify_Vtbl, impl std::ops::Deref for IAsyncErrorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAsyncErrorNotify, windows_core::IUnknown); @@ -225,7 +225,7 @@ windows_core::imp::define_interface!(ICOMAdminCatalog, ICOMAdminCatalog_Vtbl, 0x impl std::ops::Deref for ICOMAdminCatalog { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -237,7 +237,7 @@ impl ICOMAdminCatalog { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCollection)(windows_core::Interface::as_raw(self), bstrcollname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -245,15 +245,15 @@ impl ICOMAdminCatalog { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Connect)(windows_core::Interface::as_raw(self), bstrcatalogservername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MajorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MajorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -261,7 +261,7 @@ impl ICOMAdminCatalog { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCollectionByQuery)(windows_core::Interface::as_raw(self), bstrcollname.param().abi(), ppsavarquery, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ImportComponent(&self, bstrapplidorname: P0, bstrclsidorprogid: P1) -> windows_core::Result<()> @@ -361,7 +361,7 @@ impl ICOMAdminCatalog { (windows_core::Interface::vtable(self).StartApplication)(windows_core::Interface::as_raw(self), bstrapplidorname.param().abi()).ok() } pub unsafe fn ServiceCheck(&self, lservice: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceCheck)(windows_core::Interface::as_raw(self), lservice, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -393,53 +393,53 @@ impl ICOMAdminCatalog { pub struct ICOMAdminCatalog_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetCollection: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCollection: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetCollection: usize, #[cfg(feature = "Win32_System_Com")] - pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Connect: usize, pub MajorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetCollectionByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const *const super::Com::SAFEARRAY, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCollectionByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const *const super::Com::SAFEARRAY, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetCollectionByQuery: usize, - pub ImportComponent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InstallComponent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ShutdownApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExportApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, COMAdminApplicationExportOptions) -> windows_core::HRESULT, - pub InstallApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, COMAdminApplicationInstallOptions, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImportComponent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallComponent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShutdownApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExportApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, COMAdminApplicationExportOptions) -> windows_core::HRESULT, + pub InstallApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, COMAdminApplicationInstallOptions, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StopRouter: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RefreshRouter: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StartRouter: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reserved1: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reserved2: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub InstallMultipleComponents: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const *const super::Com::SAFEARRAY, *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub InstallMultipleComponents: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const *const super::Com::SAFEARRAY, *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InstallMultipleComponents: usize, #[cfg(feature = "Win32_System_Com")] - pub GetMultipleComponentsInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const *const super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub GetMultipleComponentsInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const *const super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetMultipleComponentsInfo: usize, pub RefreshComponents: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub BackupREGDB: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RestoreREGDB: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BackupREGDB: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RestoreREGDB: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub QueryApplicationFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, *mut super::super::Foundation::VARIANT_BOOL, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub QueryApplicationFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, *mut super::super::Foundation::VARIANT_BOOL, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] QueryApplicationFile: usize, - pub StartApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ServiceCheck: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub InstallMultipleEventClasses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const *const super::Com::SAFEARRAY, *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub InstallMultipleEventClasses: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const *const super::Com::SAFEARRAY, *const *const super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InstallMultipleEventClasses: usize, - pub InstallEventClass: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallEventClass: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetEventClassesForIID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub GetEventClassesForIID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetEventClassesForIID: usize, } @@ -449,7 +449,7 @@ windows_core::imp::define_interface!(ICOMAdminCatalog2, ICOMAdminCatalog2_Vtbl, impl std::ops::Deref for ICOMAdminCatalog2 { type Target = ICOMAdminCatalog; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -461,11 +461,11 @@ impl ICOMAdminCatalog2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCollectionByQuery2)(windows_core::Interface::as_raw(self), bstrcollectionname.param().abi(), core::mem::transmute(pvarquerystrings), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetApplicationInstanceIDFromProcessID(&self, lprocessid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplicationInstanceIDFromProcessID)(windows_core::Interface::as_raw(self), lprocessid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShutdownApplicationInstances(&self, pvarapplicationinstanceid: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -481,7 +481,7 @@ impl ICOMAdminCatalog2 { (windows_core::Interface::vtable(self).RecycleApplicationInstances)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarapplicationinstanceid), lreasoncode).ok() } pub unsafe fn AreApplicationInstancesPaused(&self, pvarapplicationinstanceid: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AreApplicationInstancesPaused)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarapplicationinstanceid), &mut result__).map(|| result__) } pub unsafe fn DumpApplicationInstance(&self, bstrapplicationinstanceid: P0, bstrdirectory: P1, lmaximages: i32) -> windows_core::Result @@ -489,11 +489,11 @@ impl ICOMAdminCatalog2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DumpApplicationInstance)(windows_core::Interface::as_raw(self), bstrapplicationinstanceid.param().abi(), bstrdirectory.param().abi(), lmaximages, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsApplicationInstanceDumpSupported(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsApplicationInstanceDumpSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CreateServiceForApplication(&self, bstrapplicationidorname: P0, bstrservicename: P1, bstrstarttype: P2, bstrerrorcontrol: P3, bstrdependencies: P4, bstrrunas: P5, bstrpassword: P6, bdesktopok: P7) -> windows_core::Result<()> @@ -519,14 +519,14 @@ impl ICOMAdminCatalog2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartitionID)(windows_core::Interface::as_raw(self), bstrapplicationidorname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPartitionName(&self, bstrapplicationidorname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPartitionName)(windows_core::Interface::as_raw(self), bstrapplicationidorname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCurrentPartition(&self, bstrpartitionidorname: P0) -> windows_core::Result<()> @@ -536,15 +536,15 @@ impl ICOMAdminCatalog2 { (windows_core::Interface::vtable(self).SetCurrentPartition)(windows_core::Interface::as_raw(self), bstrpartitionidorname.param().abi()).ok() } pub unsafe fn CurrentPartitionID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPartitionID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentPartitionName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPartitionName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GlobalPartitionID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GlobalPartitionID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FlushPartitionCache(&self) -> windows_core::Result<()> { @@ -585,7 +585,7 @@ impl ICOMAdminCatalog2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSafeToDelete)(windows_core::Interface::as_raw(self), bstrdllname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ImportUnconfiguredComponents(&self, bstrapplicationidorname: P0, pvarclsidorprogid: *const windows_core::VARIANT, pvarcomponenttype: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -607,7 +607,7 @@ impl ICOMAdminCatalog2 { (windows_core::Interface::vtable(self).ImportComponents)(windows_core::Interface::as_raw(self), bstrapplicationidorname.param().abi(), core::mem::transmute(pvarclsidorprogid), core::mem::transmute(pvarcomponenttype)).ok() } pub unsafe fn Is64BitCatalogServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Is64BitCatalogServer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExportPartition(&self, bstrpartitionidorname: P0, bstrpartitionfilename: P1, loptions: COMAdminApplicationExportOptions) -> windows_core::Result<()> @@ -632,14 +632,14 @@ impl ICOMAdminCatalog2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryApplicationFile2)(windows_core::Interface::as_raw(self), bstrapplicationfile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetComponentVersionCount(&self, bstrclsidorprogid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentVersionCount)(windows_core::Interface::as_raw(self), bstrclsidorprogid.param().abi(), &mut result__).map(|| result__) } } @@ -648,48 +648,48 @@ impl ICOMAdminCatalog2 { pub struct ICOMAdminCatalog2_Vtbl { pub base__: ICOMAdminCatalog_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetCollectionByQuery2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCollectionByQuery2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetCollectionByQuery2: usize, - pub GetApplicationInstanceIDFromProcessID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ShutdownApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PauseApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ResumeApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RecycleApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub AreApplicationInstancesPaused: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DumpApplicationInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetApplicationInstanceIDFromProcessID: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShutdownApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PauseApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResumeApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RecycleApplicationInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub AreApplicationInstancesPaused: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub DumpApplicationInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsApplicationInstanceDumpSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub CreateServiceForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DeleteServiceForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPartitionID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPartitionName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCurrentPartition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentPartitionID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentPartitionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GlobalPartitionID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateServiceForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub DeleteServiceForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPartitionID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPartitionName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCurrentPartition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentPartitionID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentPartitionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GlobalPartitionID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FlushPartitionCache: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub CopyApplications: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CopyComponents: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MoveComponents: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AliasComponent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsSafeToDelete: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut COMAdminInUse) -> windows_core::HRESULT, - pub ImportUnconfiguredComponents: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PromoteUnconfiguredComponents: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImportComponents: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyApplications: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyComponents: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MoveComponents: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AliasComponent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsSafeToDelete: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut COMAdminInUse) -> windows_core::HRESULT, + pub ImportUnconfiguredComponents: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PromoteUnconfiguredComponents: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImportComponents: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Is64BitCatalogServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ExportPartition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, COMAdminApplicationExportOptions) -> windows_core::HRESULT, - pub InstallPartition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, COMAdminApplicationInstallOptions, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExportPartition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, COMAdminApplicationExportOptions) -> windows_core::HRESULT, + pub InstallPartition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, COMAdminApplicationInstallOptions, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub QueryApplicationFile2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryApplicationFile2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] QueryApplicationFile2: usize, - pub GetComponentVersionCount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetComponentVersionCount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICOMLBArguments, ICOMLBArguments_Vtbl, 0x3a0f150f_8ee5_4b94_b40e_aef2f9e42ed2); impl std::ops::Deref for ICOMLBArguments { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICOMLBArguments, windows_core::IUnknown); @@ -721,7 +721,7 @@ windows_core::imp::define_interface!(ICatalogCollection, ICatalogCollection_Vtbl impl std::ops::Deref for ICatalogCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -729,16 +729,16 @@ windows_core::imp::interface_hierarchy!(ICatalogCollection, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ICatalogCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Remove(&self, lindex: i32) -> windows_core::Result<()> { @@ -746,14 +746,14 @@ impl ICatalogCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Add(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveChanges)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -762,32 +762,32 @@ impl ICatalogCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCollection)(windows_core::Interface::as_raw(self), bstrcollname.param().abi(), varobjectkey.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemoveEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoveEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUtilInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUtilInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DataStoreMajorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataStoreMajorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DataStoreMinorVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataStoreMinorVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -819,10 +819,10 @@ pub struct ICatalogCollection_Vtbl { pub Populate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveChanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetCollection: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCollection: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetCollection: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub RemoveEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -835,7 +835,7 @@ pub struct ICatalogCollection_Vtbl { pub PopulateByKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PopulateByKey: usize, - pub PopulateByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub PopulateByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICatalogObject, ICatalogObject_Vtbl, 0x6eb22871_8a19_11d0_81b6_00a0c9231c29); @@ -843,7 +843,7 @@ windows_core::imp::define_interface!(ICatalogObject, ICatalogObject_Vtbl, 0x6eb2 impl std::ops::Deref for ICatalogObject { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -854,7 +854,7 @@ impl ICatalogObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Value)(windows_core::Interface::as_raw(self), bstrpropname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_Value(&self, bstrpropname: P0, val: P1) -> windows_core::Result<()> @@ -865,29 +865,29 @@ impl ICatalogObject { (windows_core::Interface::vtable(self).put_Value)(windows_core::Interface::as_raw(self), bstrpropname.param().abi(), val.param().abi()).ok() } pub unsafe fn Key(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Key)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsPropertyReadOnly(&self, bstrpropname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPropertyReadOnly)(windows_core::Interface::as_raw(self), bstrpropname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Valid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Valid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPropertyWriteOnly(&self, bstrpropname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPropertyWriteOnly)(windows_core::Interface::as_raw(self), bstrpropname.param().abi(), &mut result__).map(|| result__) } } @@ -895,19 +895,19 @@ impl ICatalogObject { #[repr(C)] pub struct ICatalogObject_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_Value: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsPropertyReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_Value: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsPropertyReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Valid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub IsPropertyWriteOnly: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsPropertyWriteOnly: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICheckSxsConfig, ICheckSxsConfig_Vtbl, 0x0ff5a96f_11fc_47d1_baa6_25dd347e7242); impl std::ops::Deref for ICheckSxsConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICheckSxsConfig, windows_core::IUnknown); @@ -930,7 +930,7 @@ windows_core::imp::define_interface!(IComActivityEvents, IComActivityEvents_Vtbl impl std::ops::Deref for IComActivityEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComActivityEvents, windows_core::IUnknown); @@ -972,7 +972,7 @@ windows_core::imp::define_interface!(IComApp2Events, IComApp2Events_Vtbl, 0x1290 impl std::ops::Deref for IComApp2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComApp2Events, windows_core::IUnknown); @@ -1009,7 +1009,7 @@ windows_core::imp::define_interface!(IComAppEvents, IComAppEvents_Vtbl, 0x683130 impl std::ops::Deref for IComAppEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComAppEvents, windows_core::IUnknown); @@ -1035,7 +1035,7 @@ windows_core::imp::define_interface!(IComCRMEvents, IComCRMEvents_Vtbl, 0x683130 impl std::ops::Deref for IComCRMEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComCRMEvents, windows_core::IUnknown); @@ -1115,7 +1115,7 @@ windows_core::imp::define_interface!(IComExceptionEvents, IComExceptionEvents_Vt impl std::ops::Deref for IComExceptionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComExceptionEvents, windows_core::IUnknown); @@ -1136,7 +1136,7 @@ windows_core::imp::define_interface!(IComIdentityEvents, IComIdentityEvents_Vtbl impl std::ops::Deref for IComIdentityEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComIdentityEvents, windows_core::IUnknown); @@ -1159,7 +1159,7 @@ windows_core::imp::define_interface!(IComInstance2Events, IComInstance2Events_Vt impl std::ops::Deref for IComInstance2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComInstance2Events, windows_core::IUnknown); @@ -1181,7 +1181,7 @@ windows_core::imp::define_interface!(IComInstanceEvents, IComInstanceEvents_Vtbl impl std::ops::Deref for IComInstanceEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComInstanceEvents, windows_core::IUnknown); @@ -1203,7 +1203,7 @@ windows_core::imp::define_interface!(IComLTxEvents, IComLTxEvents_Vtbl, 0x605cf8 impl std::ops::Deref for IComLTxEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComLTxEvents, windows_core::IUnknown); @@ -1243,7 +1243,7 @@ windows_core::imp::define_interface!(IComMethod2Events, IComMethod2Events_Vtbl, impl std::ops::Deref for IComMethod2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComMethod2Events, windows_core::IUnknown); @@ -1269,7 +1269,7 @@ windows_core::imp::define_interface!(IComMethodEvents, IComMethodEvents_Vtbl, 0x impl std::ops::Deref for IComMethodEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComMethodEvents, windows_core::IUnknown); @@ -1295,7 +1295,7 @@ windows_core::imp::define_interface!(IComMtaThreadPoolKnobs, IComMtaThreadPoolKn impl std::ops::Deref for IComMtaThreadPoolKnobs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComMtaThreadPoolKnobs, windows_core::IUnknown); @@ -1304,14 +1304,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MTAGetMaxThreadCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MTAGetThrottleValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1327,7 +1327,7 @@ windows_core::imp::define_interface!(IComObjectConstruction2Events, IComObjectCo impl std::ops::Deref for IComObjectConstruction2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComObjectConstruction2Events, windows_core::IUnknown); @@ -1348,7 +1348,7 @@ windows_core::imp::define_interface!(IComObjectConstructionEvents, IComObjectCon impl std::ops::Deref for IComObjectConstructionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComObjectConstructionEvents, windows_core::IUnknown); @@ -1369,7 +1369,7 @@ windows_core::imp::define_interface!(IComObjectEvents, IComObjectEvents_Vtbl, 0x impl std::ops::Deref for IComObjectEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComObjectEvents, windows_core::IUnknown); @@ -1407,7 +1407,7 @@ windows_core::imp::define_interface!(IComObjectPool2Events, IComObjectPool2Event impl std::ops::Deref for IComObjectPool2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComObjectPool2Events, windows_core::IUnknown); @@ -1437,7 +1437,7 @@ windows_core::imp::define_interface!(IComObjectPoolEvents, IComObjectPoolEvents_ impl std::ops::Deref for IComObjectPoolEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComObjectPoolEvents, windows_core::IUnknown); @@ -1467,7 +1467,7 @@ windows_core::imp::define_interface!(IComObjectPoolEvents2, IComObjectPoolEvents impl std::ops::Deref for IComObjectPoolEvents2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComObjectPoolEvents2, windows_core::IUnknown); @@ -1501,7 +1501,7 @@ windows_core::imp::define_interface!(IComQCEvents, IComQCEvents_Vtbl, 0x683130b2 impl std::ops::Deref for IComQCEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComQCEvents, windows_core::IUnknown); @@ -1543,7 +1543,7 @@ windows_core::imp::define_interface!(IComResourceEvents, IComResourceEvents_Vtbl impl std::ops::Deref for IComResourceEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComResourceEvents, windows_core::IUnknown); @@ -1595,7 +1595,7 @@ windows_core::imp::define_interface!(IComSecurityEvents, IComSecurityEvents_Vtbl impl std::ops::Deref for IComSecurityEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComSecurityEvents, windows_core::IUnknown); @@ -1623,7 +1623,7 @@ windows_core::imp::define_interface!(IComStaThreadPoolKnobs, IComStaThreadPoolKn impl std::ops::Deref for IComStaThreadPoolKnobs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComStaThreadPoolKnobs, windows_core::IUnknown); @@ -1632,36 +1632,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMinThreadCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxThreadCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivityPerThread)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivityRatio)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetQueueDepth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQueueDepth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetQueueDepth(&self, dwqdepth: i32) -> windows_core::Result<()> { @@ -1687,20 +1687,20 @@ windows_core::imp::define_interface!(IComStaThreadPoolKnobs2, IComStaThreadPoolK impl std::ops::Deref for IComStaThreadPoolKnobs2 { type Target = IComStaThreadPoolKnobs; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComStaThreadPoolKnobs2, windows_core::IUnknown, IComStaThreadPoolKnobs); impl IComStaThreadPoolKnobs2 { pub unsafe fn GetMaxCPULoad(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxCPULoad)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxCPULoad(&self, pdwload: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetMaxCPULoad)(windows_core::Interface::as_raw(self), pdwload).ok() } pub unsafe fn GetCPUMetricEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCPUMetricEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCPUMetricEnabled(&self, bmetricenabled: P0) -> windows_core::Result<()> @@ -1710,7 +1710,7 @@ impl IComStaThreadPoolKnobs2 { (windows_core::Interface::vtable(self).SetCPUMetricEnabled)(windows_core::Interface::as_raw(self), bmetricenabled.param().abi()).ok() } pub unsafe fn GetCreateThreadsAggressively(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCreateThreadsAggressively)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCreateThreadsAggressively(&self, bmetricenabled: P0) -> windows_core::Result<()> @@ -1720,14 +1720,14 @@ impl IComStaThreadPoolKnobs2 { (windows_core::Interface::vtable(self).SetCreateThreadsAggressively)(windows_core::Interface::as_raw(self), bmetricenabled.param().abi()).ok() } pub unsafe fn GetMaxCSR(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxCSR)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWaitTimeForThreadCleanup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWaitTimeForThreadCleanup(&self, dwthreadcleanupwaittime: i32) -> windows_core::Result<()> { @@ -1752,7 +1752,7 @@ windows_core::imp::define_interface!(IComThreadEvents, IComThreadEvents_Vtbl, 0x impl std::ops::Deref for IComThreadEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComThreadEvents, windows_core::IUnknown); @@ -1810,17 +1810,17 @@ windows_core::imp::define_interface!(IComTrackingInfoCollection, IComTrackingInf impl std::ops::Deref for IComTrackingInfoCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComTrackingInfoCollection, windows_core::IUnknown); impl IComTrackingInfoCollection { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Item(&self, ulindex: u32, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -1838,7 +1838,7 @@ windows_core::imp::define_interface!(IComTrackingInfoEvents, IComTrackingInfoEve impl std::ops::Deref for IComTrackingInfoEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComTrackingInfoEvents, windows_core::IUnknown); @@ -1859,7 +1859,7 @@ windows_core::imp::define_interface!(IComTrackingInfoObject, IComTrackingInfoObj impl std::ops::Deref for IComTrackingInfoObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComTrackingInfoObject, windows_core::IUnknown); @@ -1868,30 +1868,30 @@ impl IComTrackingInfoObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), szpropertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IComTrackingInfoObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComTrackingInfoProperties, IComTrackingInfoProperties_Vtbl, 0x789b42be_6f6b_443a_898e_67abf390aa14); impl std::ops::Deref for IComTrackingInfoProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComTrackingInfoProperties, windows_core::IUnknown); impl IComTrackingInfoProperties { pub unsafe fn PropCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPropName(&self, ulindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropName)(windows_core::Interface::as_raw(self), ulindex, &mut result__).map(|| result__) } } @@ -1905,7 +1905,7 @@ windows_core::imp::define_interface!(IComTransaction2Events, IComTransaction2Eve impl std::ops::Deref for IComTransaction2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComTransaction2Events, windows_core::IUnknown); @@ -1941,7 +1941,7 @@ windows_core::imp::define_interface!(IComTransactionEvents, IComTransactionEvent impl std::ops::Deref for IComTransactionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComTransactionEvents, windows_core::IUnknown); @@ -1977,7 +1977,7 @@ windows_core::imp::define_interface!(IComUserEvent, IComUserEvent_Vtbl, 0x683130 impl std::ops::Deref for IComUserEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComUserEvent, windows_core::IUnknown); @@ -1989,13 +1989,13 @@ impl IComUserEvent { #[repr(C)] pub struct IComUserEvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnUserEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnUserEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextProperties, IContextProperties_Vtbl, 0xd396da85_bf8f_11d1_bbae_00c04fc2fa5f); impl std::ops::Deref for IContextProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextProperties, windows_core::IUnknown); @@ -2010,7 +2010,7 @@ impl IContextProperties { (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), name.param().abi(), core::mem::transmute(pproperty)).ok() } pub unsafe fn EnumNames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumNames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, name: P0, property: P1) -> windows_core::Result<()> @@ -2031,16 +2031,16 @@ impl IContextProperties { pub struct IContextProperties_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextSecurityPerimeter, IContextSecurityPerimeter_Vtbl, 0xa7549a29_a7c4_42e1_8dc1_7e3d748dc24a); impl std::ops::Deref for IContextSecurityPerimeter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextSecurityPerimeter, windows_core::IUnknown); @@ -2065,7 +2065,7 @@ windows_core::imp::define_interface!(IContextState, IContextState_Vtbl, 0x3c05e5 impl std::ops::Deref for IContextState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextState, windows_core::IUnknown); @@ -2098,7 +2098,7 @@ windows_core::imp::define_interface!(ICreateWithLocalTransaction, ICreateWithLoc impl std::ops::Deref for ICreateWithLocalTransaction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateWithLocalTransaction, windows_core::IUnknown); @@ -2119,7 +2119,7 @@ windows_core::imp::define_interface!(ICreateWithTipTransactionEx, ICreateWithTip impl std::ops::Deref for ICreateWithTipTransactionEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateWithTipTransactionEx, windows_core::IUnknown); @@ -2136,13 +2136,13 @@ impl ICreateWithTipTransactionEx { #[repr(C)] pub struct ICreateWithTipTransactionEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateWithTransactionEx, ICreateWithTransactionEx_Vtbl, 0x455acf57_5345_11d2_99cf_00c04f797bc9); impl std::ops::Deref for ICreateWithTransactionEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateWithTransactionEx, windows_core::IUnknown); @@ -2169,7 +2169,7 @@ windows_core::imp::define_interface!(ICrmCompensator, ICrmCompensator_Vtbl, 0xbb impl std::ops::Deref for ICrmCompensator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICrmCompensator, windows_core::IUnknown); @@ -2185,11 +2185,11 @@ impl ICrmCompensator { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PrepareRecord(&self, crmlogrec: CrmLogRecordRead) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrepareRecord)(windows_core::Interface::as_raw(self), core::mem::transmute(crmlogrec), &mut result__).map(|| result__) } pub unsafe fn EndPrepare(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndPrepare)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BeginCommit(&self, frecovery: P0) -> windows_core::Result<()> @@ -2200,7 +2200,7 @@ impl ICrmCompensator { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CommitRecord(&self, crmlogrec: CrmLogRecordRead) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitRecord)(windows_core::Interface::as_raw(self), core::mem::transmute(crmlogrec), &mut result__).map(|| result__) } pub unsafe fn EndCommit(&self) -> windows_core::Result<()> { @@ -2214,7 +2214,7 @@ impl ICrmCompensator { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AbortRecord(&self, crmlogrec: CrmLogRecordRead) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AbortRecord)(windows_core::Interface::as_raw(self), core::mem::transmute(crmlogrec), &mut result__).map(|| result__) } pub unsafe fn EndAbort(&self) -> windows_core::Result<()> { @@ -2248,7 +2248,7 @@ windows_core::imp::define_interface!(ICrmCompensatorVariants, ICrmCompensatorVar impl std::ops::Deref for ICrmCompensatorVariants { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICrmCompensatorVariants, windows_core::IUnknown); @@ -2263,11 +2263,11 @@ impl ICrmCompensatorVariants { (windows_core::Interface::vtable(self).BeginPrepareVariants)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn PrepareRecordVariants(&self, plogrecord: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrepareRecordVariants)(windows_core::Interface::as_raw(self), core::mem::transmute(plogrecord), &mut result__).map(|| result__) } pub unsafe fn EndPrepareVariants(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndPrepareVariants)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BeginCommitVariants(&self, brecovery: P0) -> windows_core::Result<()> @@ -2277,7 +2277,7 @@ impl ICrmCompensatorVariants { (windows_core::Interface::vtable(self).BeginCommitVariants)(windows_core::Interface::as_raw(self), brecovery.param().abi()).ok() } pub unsafe fn CommitRecordVariants(&self, plogrecord: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitRecordVariants)(windows_core::Interface::as_raw(self), core::mem::transmute(plogrecord), &mut result__).map(|| result__) } pub unsafe fn EndCommitVariants(&self) -> windows_core::Result<()> { @@ -2290,7 +2290,7 @@ impl ICrmCompensatorVariants { (windows_core::Interface::vtable(self).BeginAbortVariants)(windows_core::Interface::as_raw(self), brecovery.param().abi()).ok() } pub unsafe fn AbortRecordVariants(&self, plogrecord: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AbortRecordVariants)(windows_core::Interface::as_raw(self), core::mem::transmute(plogrecord), &mut result__).map(|| result__) } pub unsafe fn EndAbortVariants(&self) -> windows_core::Result<()> { @@ -2302,42 +2302,42 @@ pub struct ICrmCompensatorVariants_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetLogControlVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub BeginPrepareVariants: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub PrepareRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub PrepareRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub EndPrepareVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub BeginCommitVariants: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub CommitRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub CommitRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub EndCommitVariants: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub BeginAbortVariants: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub AbortRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub AbortRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub EndAbortVariants: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICrmFormatLogRecords, ICrmFormatLogRecords_Vtbl, 0x9c51d821_c98b_11d1_82fb_00a0c91eede9); impl std::ops::Deref for ICrmFormatLogRecords { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICrmFormatLogRecords, windows_core::IUnknown); impl ICrmFormatLogRecords { pub unsafe fn GetColumnCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetColumnHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnHeaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetColumn(&self, crmlogrec: CrmLogRecordRead) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumn)(windows_core::Interface::as_raw(self), core::mem::transmute(crmlogrec), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColumnVariants(&self, logrecord: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnVariants)(windows_core::Interface::as_raw(self), logrecord.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2345,24 +2345,24 @@ impl ICrmFormatLogRecords { pub struct ICrmFormatLogRecords_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetColumnHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetColumnHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetColumn: unsafe extern "system" fn(*mut core::ffi::c_void, CrmLogRecordRead, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetColumn: unsafe extern "system" fn(*mut core::ffi::c_void, CrmLogRecordRead, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetColumn: usize, - pub GetColumnVariants: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetColumnVariants: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICrmLogControl, ICrmLogControl_Vtbl, 0xa0e174b3_d26e_11d2_8f84_00805fc7bcd9); impl std::ops::Deref for ICrmLogControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICrmLogControl, windows_core::IUnknown); impl ICrmLogControl { pub unsafe fn TransactionUOW(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionUOW)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterCompensator(&self, lpcwstrprogidcompensator: P0, lpcwstrdescription: P1, lcrmregflags: i32) -> windows_core::Result<()> @@ -2392,9 +2392,9 @@ impl ICrmLogControl { #[repr(C)] pub struct ICrmLogControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub TransactionUOW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransactionUOW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RegisterCompensator: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, i32) -> windows_core::HRESULT, - pub WriteLogRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WriteLogRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub ForceLog: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ForgetLogRecord: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ForceTransactionToAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2407,21 +2407,21 @@ windows_core::imp::define_interface!(ICrmMonitor, ICrmMonitor_Vtbl, 0x70c8e443_c impl std::ops::Deref for ICrmMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICrmMonitor, windows_core::IUnknown); impl ICrmMonitor { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClerks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClerks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HoldClerk(&self, index: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HoldClerk)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2432,7 +2432,7 @@ pub struct ICrmMonitor_Vtbl { pub GetClerks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetClerks: usize, - pub HoldClerk: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HoldClerk: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICrmMonitorClerks, ICrmMonitorClerks_Vtbl, 0x70c8e442_c7ed_11d1_82fb_00a0c91eede9); @@ -2440,7 +2440,7 @@ windows_core::imp::define_interface!(ICrmMonitorClerks, ICrmMonitorClerks_Vtbl, impl std::ops::Deref for ICrmMonitorClerks { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2451,43 +2451,43 @@ impl ICrmMonitorClerks { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProgIdCompensator(&self, index: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProgIdCompensator)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self, index: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TransactionUOW(&self, index: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionUOW)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ActivityId(&self, index: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivityId)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2495,33 +2495,33 @@ impl ICrmMonitorClerks { #[repr(C)] pub struct ICrmMonitorClerks_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ProgIdCompensator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TransactionUOW: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProgIdCompensator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransactionUOW: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICrmMonitorLogRecords, ICrmMonitorLogRecords_Vtbl, 0x70c8e441_c7ed_11d1_82fb_00a0c91eede9); impl std::ops::Deref for ICrmMonitorLogRecords { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICrmMonitorLogRecords, windows_core::IUnknown); impl ICrmMonitorLogRecords { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransactionState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StructuredRecords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StructuredRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2532,7 +2532,7 @@ impl ICrmMonitorLogRecords { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogRecordVariants)(windows_core::Interface::as_raw(self), indexnumber.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2546,13 +2546,13 @@ pub struct ICrmMonitorLogRecords_Vtbl { pub GetLogRecord: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CrmLogRecordRead) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetLogRecord: usize, - pub GetLogRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLogRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDispenserDriver, IDispenserDriver_Vtbl, 0x208b3651_2b48_11cf_be10_00aa00a2fa25); impl std::ops::Deref for IDispenserDriver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDispenserDriver, windows_core::IUnknown); @@ -2593,7 +2593,7 @@ windows_core::imp::define_interface!(IDispenserManager, IDispenserManager_Vtbl, impl std::ops::Deref for IDispenserManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDispenserManager, windows_core::IUnknown); @@ -2603,7 +2603,7 @@ impl IDispenserManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterDispenser)(windows_core::Interface::as_raw(self), __midl__idispensermanager0000.param().abi(), szdispensername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContext(&self, __midl__idispensermanager0002: *mut usize, __midl__idispensermanager0003: *mut usize) -> windows_core::Result<()> { @@ -2620,7 +2620,7 @@ windows_core::imp::define_interface!(IEnumNames, IEnumNames_Vtbl, 0x51372af2_cae impl std::ops::Deref for IEnumNames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumNames, windows_core::IUnknown); @@ -2635,14 +2635,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEnumNames_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2653,7 +2653,7 @@ windows_core::imp::define_interface!(IEventServerTrace, IEventServerTrace_Vtbl, impl std::ops::Deref for IEventServerTrace { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2682,15 +2682,15 @@ impl IEventServerTrace { #[repr(C)] pub struct IEventServerTrace_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub StartTraceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub StopTraceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub EnumTraceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartTraceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub StopTraceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub EnumTraceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetAppTrackerData, IGetAppTrackerData_Vtbl, 0x507c3ac8_3e12_4cb0_9366_653d3e050638); impl std::ops::Deref for IGetAppTrackerData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetAppTrackerData, windows_core::IUnknown); @@ -2711,11 +2711,11 @@ impl IGetAppTrackerData { (windows_core::Interface::vtable(self).GetComponentDetails)(windows_core::Interface::as_raw(self), applicationinstanceid, processid, clsid, flags, core::mem::transmute(summary.unwrap_or(std::ptr::null_mut())), core::mem::transmute(statistics.unwrap_or(std::ptr::null_mut())), core::mem::transmute(hangmonitorinfo.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetTrackerDataAsCollectionObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTrackerDataAsCollectionObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSuggestedPollingInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSuggestedPollingInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2734,7 +2734,7 @@ windows_core::imp::define_interface!(IGetContextProperties, IGetContextPropertie impl std::ops::Deref for IGetContextProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetContextProperties, windows_core::IUnknown); @@ -2749,7 +2749,7 @@ impl IGetContextProperties { (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), name.param().abi(), core::mem::transmute(pproperty)).ok() } pub unsafe fn EnumNames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumNames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2757,7 +2757,7 @@ impl IGetContextProperties { pub struct IGetContextProperties_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2766,7 +2766,7 @@ windows_core::imp::define_interface!(IGetSecurityCallContext, IGetSecurityCallCo impl std::ops::Deref for IGetSecurityCallContext { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2775,7 +2775,7 @@ windows_core::imp::interface_hierarchy!(IGetSecurityCallContext, windows_core::I impl IGetSecurityCallContext { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityCallContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityCallContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2792,7 +2792,7 @@ windows_core::imp::define_interface!(IHolder, IHolder_Vtbl, 0xbf6a1850_2b45_11cf impl std::ops::Deref for IHolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHolder, windows_core::IUnknown); @@ -2844,7 +2844,7 @@ windows_core::imp::define_interface!(ILBEvents, ILBEvents_Vtbl, 0x683130b4_2e50_ impl std::ops::Deref for ILBEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILBEvents, windows_core::IUnknown); @@ -2874,15 +2874,15 @@ impl ILBEvents { #[repr(C)] pub struct ILBEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub TargetUp: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TargetDown: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EngineDefined: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetUp: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetDown: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EngineDefined: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMTSActivity, IMTSActivity_Vtbl, 0x51372af0_cae7_11cf_be81_00aa00a2fa25); impl std::ops::Deref for IMTSActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMTSActivity, windows_core::IUnknown); @@ -2922,7 +2922,7 @@ windows_core::imp::define_interface!(IMTSCall, IMTSCall_Vtbl, 0x51372aef_cae7_11 impl std::ops::Deref for IMTSCall { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMTSCall, windows_core::IUnknown); @@ -2942,7 +2942,7 @@ windows_core::imp::define_interface!(IMTSLocator, IMTSLocator_Vtbl, 0xd19b8bfd_7 impl std::ops::Deref for IMTSLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2950,7 +2950,7 @@ windows_core::imp::interface_hierarchy!(IMTSLocator, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IMTSLocator { pub unsafe fn GetEventDispatcher(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventDispatcher)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2964,7 +2964,7 @@ windows_core::imp::define_interface!(IManagedActivationEvents, IManagedActivatio impl std::ops::Deref for IManagedActivationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IManagedActivationEvents, windows_core::IUnknown); @@ -2993,17 +2993,17 @@ windows_core::imp::define_interface!(IManagedObjectInfo, IManagedObjectInfo_Vtbl impl std::ops::Deref for IManagedObjectInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IManagedObjectInfo, windows_core::IUnknown); impl IManagedObjectInfo { pub unsafe fn GetIUnknown(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIUnknown)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIObjectControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIObjectControl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInPool(&self, binpool: P0, ppooledobj: P1) -> windows_core::Result<()> @@ -3032,7 +3032,7 @@ windows_core::imp::define_interface!(IManagedPoolAction, IManagedPoolAction_Vtbl impl std::ops::Deref for IManagedPoolAction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IManagedPoolAction, windows_core::IUnknown); @@ -3050,7 +3050,7 @@ windows_core::imp::define_interface!(IManagedPooledObj, IManagedPooledObj_Vtbl, impl std::ops::Deref for IManagedPooledObj { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IManagedPooledObj, windows_core::IUnknown); @@ -3073,7 +3073,7 @@ windows_core::imp::define_interface!(IMessageMover, IMessageMover_Vtbl, 0x588a08 impl std::ops::Deref for IMessageMover { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3081,7 +3081,7 @@ windows_core::imp::interface_hierarchy!(IMessageMover, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IMessageMover { pub unsafe fn SourcePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourcePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSourcePath(&self, newval: P0) -> windows_core::Result<()> @@ -3091,7 +3091,7 @@ impl IMessageMover { (windows_core::Interface::vtable(self).SetSourcePath)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn DestPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDestPath(&self, newval: P0) -> windows_core::Result<()> @@ -3101,14 +3101,14 @@ impl IMessageMover { (windows_core::Interface::vtable(self).SetDestPath)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn CommitBatchSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommitBatchSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveMessages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3116,10 +3116,10 @@ impl IMessageMover { #[repr(C)] pub struct IMessageMover_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub SourcePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSourcePath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DestPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDestPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourcePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSourcePath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DestPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDestPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CommitBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCommitBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MoveMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3130,7 +3130,7 @@ windows_core::imp::define_interface!(IMtsEventInfo, IMtsEventInfo_Vtbl, 0xd56c3d impl std::ops::Deref for IMtsEventInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3138,26 +3138,26 @@ windows_core::imp::interface_hierarchy!(IMtsEventInfo, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IMtsEventInfo { pub unsafe fn Names(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Names)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EventID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Value(&self, skey: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Value)(windows_core::Interface::as_raw(self), skey.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3166,10 +3166,10 @@ impl IMtsEventInfo { pub struct IMtsEventInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Names: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EventID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EventID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMtsEvents, IMtsEvents_Vtbl, 0xbacedf4d_74ab_11d0_b162_00aa00ba3258); @@ -3177,7 +3177,7 @@ windows_core::imp::define_interface!(IMtsEvents, IMtsEvents_Vtbl, 0xbacedf4d_74a impl std::ops::Deref for IMtsEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3185,22 +3185,22 @@ windows_core::imp::interface_hierarchy!(IMtsEvents, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IMtsEvents { pub unsafe fn PackageName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PackageName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PackageGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PackageGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PostEvent(&self, vevent: *const windows_core::VARIANT) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FireEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3208,9 +3208,9 @@ impl IMtsEvents { #[repr(C)] pub struct IMtsEvents_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub PackageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PackageGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PostEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PackageGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PostEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub FireEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetProcessID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } @@ -3220,7 +3220,7 @@ windows_core::imp::define_interface!(IMtsGrp, IMtsGrp_Vtbl, 0x4b2e958c_0393_11d1 impl std::ops::Deref for IMtsGrp { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3228,11 +3228,11 @@ windows_core::imp::interface_hierarchy!(IMtsGrp, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl IMtsGrp { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -3251,7 +3251,7 @@ windows_core::imp::define_interface!(IObjPool, IObjPool_Vtbl, 0x7d8805a0_2ea7_11 impl std::ops::Deref for IObjPool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjPool, windows_core::IUnknown); @@ -3296,7 +3296,7 @@ windows_core::imp::define_interface!(IObjectConstruct, IObjectConstruct_Vtbl, 0x impl std::ops::Deref for IObjectConstruct { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectConstruct, windows_core::IUnknown); @@ -3323,7 +3323,7 @@ windows_core::imp::define_interface!(IObjectConstructString, IObjectConstructStr impl std::ops::Deref for IObjectConstructString { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3338,13 +3338,13 @@ impl IObjectConstructString { #[repr(C)] pub struct IObjectConstructString_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ConstructString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConstructString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectContext, IObjectContext_Vtbl, 0x51372ae0_cae7_11cf_be81_00aa00a2fa25); impl std::ops::Deref for IObjectContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectContext, windows_core::IUnknown); @@ -3387,13 +3387,13 @@ pub struct IObjectContext_Vtbl { pub DisableCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, pub IsSecurityEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, - pub IsCallerInRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub IsCallerInRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectContextActivity, IObjectContextActivity_Vtbl, 0x51372afc_cae7_11cf_be81_00aa00a2fa25); impl std::ops::Deref for IObjectContextActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectContextActivity, windows_core::IUnknown); @@ -3411,7 +3411,7 @@ windows_core::imp::define_interface!(IObjectContextInfo, IObjectContextInfo_Vtbl impl std::ops::Deref for IObjectContextInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectContextInfo, windows_core::IUnknown); @@ -3420,7 +3420,7 @@ impl IObjectContextInfo { (windows_core::Interface::vtable(self).IsInTransaction)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTransactionId(&self, pguid: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -3446,7 +3446,7 @@ windows_core::imp::define_interface!(IObjectContextInfo2, IObjectContextInfo2_Vt impl std::ops::Deref for IObjectContextInfo2 { type Target = IObjectContextInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectContextInfo2, windows_core::IUnknown, IObjectContextInfo); @@ -3472,7 +3472,7 @@ windows_core::imp::define_interface!(IObjectContextTip, IObjectContextTip_Vtbl, impl std::ops::Deref for IObjectContextTip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectContextTip, windows_core::IUnknown); @@ -3484,13 +3484,13 @@ impl IObjectContextTip { #[repr(C)] pub struct IObjectContextTip_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetTipUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTipUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectControl, IObjectControl_Vtbl, 0x51372aec_cae7_11cf_be81_00aa00a2fa25); impl std::ops::Deref for IObjectControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectControl, windows_core::IUnknown); @@ -3516,7 +3516,7 @@ windows_core::imp::define_interface!(IPlaybackControl, IPlaybackControl_Vtbl, 0x impl std::ops::Deref for IPlaybackControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlaybackControl, windows_core::IUnknown); @@ -3540,7 +3540,7 @@ windows_core::imp::define_interface!(IPoolManager, IPoolManager_Vtbl, 0x0a469861 impl std::ops::Deref for IPoolManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3558,13 +3558,13 @@ impl IPoolManager { #[repr(C)] pub struct IPoolManager_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ShutdownPool: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShutdownPool: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProcessInitializer, IProcessInitializer_Vtbl, 0x1113f52d_dc7f_4943_aed6_88d04027e32a); impl std::ops::Deref for IProcessInitializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProcessInitializer, windows_core::IUnknown); @@ -3591,7 +3591,7 @@ windows_core::imp::define_interface!(ISecurityCallContext, ISecurityCallContext_ impl std::ops::Deref for ISecurityCallContext { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3599,36 +3599,36 @@ windows_core::imp::interface_hierarchy!(ISecurityCallContext, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl ISecurityCallContext { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsCallerInRole(&self, bstrrole: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCallerInRole)(windows_core::Interface::as_raw(self), bstrrole.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IsSecurityEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSecurityEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsUserInRole(&self, puser: *const windows_core::VARIANT, bstrrole: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUserInRole)(windows_core::Interface::as_raw(self), core::mem::transmute(puser), bstrrole.param().abi(), &mut result__).map(|| result__) } } @@ -3637,11 +3637,11 @@ impl ISecurityCallContext { pub struct ISecurityCallContext_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub IsCallerInRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsCallerInRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsSecurityEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub IsUserInRole: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsUserInRole: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISecurityCallersColl, ISecurityCallersColl_Vtbl, 0xcafc823d_b441_11d1_b82b_0000f8757e2a); @@ -3649,7 +3649,7 @@ windows_core::imp::define_interface!(ISecurityCallersColl, ISecurityCallersColl_ impl std::ops::Deref for ISecurityCallersColl { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3657,16 +3657,16 @@ windows_core::imp::interface_hierarchy!(ISecurityCallersColl, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl ISecurityCallersColl { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3687,7 +3687,7 @@ windows_core::imp::define_interface!(ISecurityIdentityColl, ISecurityIdentityCol impl std::ops::Deref for ISecurityIdentityColl { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3695,18 +3695,18 @@ windows_core::imp::interface_hierarchy!(ISecurityIdentityColl, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ISecurityIdentityColl { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3715,14 +3715,14 @@ impl ISecurityIdentityColl { pub struct ISecurityIdentityColl_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISecurityProperty, ISecurityProperty_Vtbl, 0x51372aea_cae7_11cf_be81_00aa00a2fa25); impl std::ops::Deref for ISecurityProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISecurityProperty, windows_core::IUnknown); @@ -3759,7 +3759,7 @@ windows_core::imp::define_interface!(ISelectCOMLBServer, ISelectCOMLBServer_Vtbl impl std::ops::Deref for ISelectCOMLBServer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISelectCOMLBServer, windows_core::IUnknown); @@ -3784,7 +3784,7 @@ windows_core::imp::define_interface!(ISendMethodEvents, ISendMethodEvents_Vtbl, impl std::ops::Deref for ISendMethodEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISendMethodEvents, windows_core::IUnknown); @@ -3806,7 +3806,7 @@ windows_core::imp::define_interface!(IServiceActivity, IServiceActivity_Vtbl, 0x impl std::ops::Deref for IServiceActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceActivity, windows_core::IUnknown); @@ -3842,7 +3842,7 @@ windows_core::imp::define_interface!(IServiceCall, IServiceCall_Vtbl, 0xbd3e2e12 impl std::ops::Deref for IServiceCall { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceCall, windows_core::IUnknown); @@ -3860,7 +3860,7 @@ windows_core::imp::define_interface!(IServiceComTIIntrinsicsConfig, IServiceComT impl std::ops::Deref for IServiceComTIIntrinsicsConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceComTIIntrinsicsConfig, windows_core::IUnknown); @@ -3878,7 +3878,7 @@ windows_core::imp::define_interface!(IServiceIISIntrinsicsConfig, IServiceIISInt impl std::ops::Deref for IServiceIISIntrinsicsConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceIISIntrinsicsConfig, windows_core::IUnknown); @@ -3896,7 +3896,7 @@ windows_core::imp::define_interface!(IServiceInheritanceConfig, IServiceInherita impl std::ops::Deref for IServiceInheritanceConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceInheritanceConfig, windows_core::IUnknown); @@ -3914,7 +3914,7 @@ windows_core::imp::define_interface!(IServicePartitionConfig, IServicePartitionC impl std::ops::Deref for IServicePartitionConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServicePartitionConfig, windows_core::IUnknown); @@ -3936,7 +3936,7 @@ windows_core::imp::define_interface!(IServicePool, IServicePool_Vtbl, 0xb302df81 impl std::ops::Deref for IServicePool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServicePool, windows_core::IUnknown); @@ -3965,7 +3965,7 @@ windows_core::imp::define_interface!(IServicePoolConfig, IServicePoolConfig_Vtbl impl std::ops::Deref for IServicePoolConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServicePoolConfig, windows_core::IUnknown); @@ -4006,7 +4006,7 @@ impl IServicePoolConfig { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ClassFactory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassFactory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4034,7 +4034,7 @@ windows_core::imp::define_interface!(IServiceSxsConfig, IServiceSxsConfig_Vtbl, impl std::ops::Deref for IServiceSxsConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceSxsConfig, windows_core::IUnknown); @@ -4066,7 +4066,7 @@ windows_core::imp::define_interface!(IServiceSynchronizationConfig, IServiceSync impl std::ops::Deref for IServiceSynchronizationConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceSynchronizationConfig, windows_core::IUnknown); @@ -4084,7 +4084,7 @@ windows_core::imp::define_interface!(IServiceSysTxnConfig, IServiceSysTxnConfig_ impl std::ops::Deref for IServiceSysTxnConfig { type Target = IServiceTransactionConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceSysTxnConfig, windows_core::IUnknown, IServiceTransactionConfigBase, IServiceTransactionConfig); @@ -4105,7 +4105,7 @@ windows_core::imp::define_interface!(IServiceThreadPoolConfig, IServiceThreadPoo impl std::ops::Deref for IServiceThreadPoolConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceThreadPoolConfig, windows_core::IUnknown); @@ -4127,7 +4127,7 @@ windows_core::imp::define_interface!(IServiceTrackerConfig, IServiceTrackerConfi impl std::ops::Deref for IServiceTrackerConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceTrackerConfig, windows_core::IUnknown); @@ -4149,7 +4149,7 @@ windows_core::imp::define_interface!(IServiceTransactionConfig, IServiceTransact impl std::ops::Deref for IServiceTransactionConfig { type Target = IServiceTransactionConfigBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceTransactionConfig, windows_core::IUnknown, IServiceTransactionConfigBase); @@ -4174,7 +4174,7 @@ windows_core::imp::define_interface!(IServiceTransactionConfigBase, IServiceTran impl std::ops::Deref for IServiceTransactionConfigBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IServiceTransactionConfigBase, windows_core::IUnknown); @@ -4216,7 +4216,7 @@ windows_core::imp::define_interface!(ISharedProperty, ISharedProperty_Vtbl, 0x2a impl std::ops::Deref for ISharedProperty { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4224,7 +4224,7 @@ windows_core::imp::interface_hierarchy!(ISharedProperty, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISharedProperty { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, val: P0) -> windows_core::Result<()> @@ -4238,8 +4238,8 @@ impl ISharedProperty { #[repr(C)] pub struct ISharedProperty_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISharedPropertyGroup, ISharedPropertyGroup_Vtbl, 0x2a005c07_a5de_11cf_9e66_00aa00a3f464); @@ -4247,7 +4247,7 @@ windows_core::imp::define_interface!(ISharedPropertyGroup, ISharedPropertyGroup_ impl std::ops::Deref for ISharedPropertyGroup { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4260,7 +4260,7 @@ impl ISharedPropertyGroup { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_PropertyByPosition(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PropertyByPosition)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4275,7 +4275,7 @@ impl ISharedPropertyGroup { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4292,11 +4292,11 @@ pub struct ISharedPropertyGroup_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] get_PropertyByPosition: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateProperty: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Property: usize, } @@ -4306,7 +4306,7 @@ windows_core::imp::define_interface!(ISharedPropertyGroupManager, ISharedPropert impl std::ops::Deref for ISharedPropertyGroupManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4325,11 +4325,11 @@ impl ISharedPropertyGroupManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Group)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4338,11 +4338,11 @@ impl ISharedPropertyGroupManager { pub struct ISharedPropertyGroupManager_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub CreatePropertyGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32, *mut i32, *mut super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePropertyGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32, *mut i32, *mut super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreatePropertyGroup: usize, #[cfg(feature = "Win32_System_Com")] - pub get_Group: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Group: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Group: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4351,7 +4351,7 @@ windows_core::imp::define_interface!(ISystemAppEventData, ISystemAppEventData_Vt impl std::ops::Deref for ISystemAppEventData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISystemAppEventData, windows_core::IUnknown); @@ -4370,13 +4370,13 @@ impl ISystemAppEventData { pub struct ISystemAppEventData_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Startup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub OnDataChanged: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, std::mem::MaybeUninit, u32, u64) -> windows_core::HRESULT, + pub OnDataChanged: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, core::mem::MaybeUninit, u32, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IThreadPoolKnobs, IThreadPoolKnobs_Vtbl, 0x51372af7_cae7_11cf_be81_00aa00a2fa25); impl std::ops::Deref for IThreadPoolKnobs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IThreadPoolKnobs, windows_core::IUnknown); @@ -4432,7 +4432,7 @@ windows_core::imp::define_interface!(ITransactionContext, ITransactionContext_Vt impl std::ops::Deref for ITransactionContext { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4443,7 +4443,7 @@ impl ITransactionContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), pszprogid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -4457,7 +4457,7 @@ impl ITransactionContext { #[repr(C)] pub struct ITransactionContext_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -4465,7 +4465,7 @@ windows_core::imp::define_interface!(ITransactionContextEx, ITransactionContextE impl std::ops::Deref for ITransactionContextEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionContextEx, windows_core::IUnknown); @@ -4495,7 +4495,7 @@ windows_core::imp::define_interface!(ITransactionProperty, ITransactionProperty_ impl std::ops::Deref for ITransactionProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionProperty, windows_core::IUnknown); @@ -4528,7 +4528,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransactionResourcePool)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reserved10(&self) { @@ -4582,7 +4582,7 @@ windows_core::imp::define_interface!(ITransactionProxy, ITransactionProxy_Vtbl, impl std::ops::Deref for ITransactionProxy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionProxy, windows_core::IUnknown); @@ -4595,7 +4595,7 @@ impl ITransactionProxy { } #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn Promote(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Promote)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] @@ -4603,7 +4603,7 @@ impl ITransactionProxy { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVoter)(windows_core::Interface::as_raw(self), ptxasync.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIsolationLevel(&self, __midl__itransactionproxy0000: *mut i32) -> windows_core::Result<()> { @@ -4637,7 +4637,7 @@ windows_core::imp::define_interface!(ITransactionResourcePool, ITransactionResou impl std::ops::Deref for ITransactionResourcePool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionResourcePool, windows_core::IUnknown); @@ -4653,7 +4653,7 @@ impl ITransactionResourcePool { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResource)(windows_core::Interface::as_raw(self), ppool.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4667,7 +4667,7 @@ windows_core::imp::define_interface!(ITransactionStatus, ITransactionStatus_Vtbl impl std::ops::Deref for ITransactionStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionStatus, windows_core::IUnknown); @@ -4689,7 +4689,7 @@ windows_core::imp::define_interface!(ITxProxyHolder, ITxProxyHolder_Vtbl, 0x13d8 impl std::ops::Deref for ITxProxyHolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITxProxyHolder, windows_core::IUnknown); @@ -4709,7 +4709,7 @@ windows_core::imp::define_interface!(ObjectContext, ObjectContext_Vtbl, 0x74c086 impl std::ops::Deref for ObjectContext { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4720,7 +4720,7 @@ impl ObjectContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), bstrprogid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetComplete(&self) -> windows_core::Result<()> { @@ -4736,43 +4736,43 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInTransaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSecurityEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSecurityEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsCallerInRole(&self, bstrrole: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCallerInRole)(windows_core::Interface::as_raw(self), bstrrole.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ContextInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContextInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4780,16 +4780,16 @@ impl ObjectContext { #[repr(C)] pub struct ObjectContext_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsSecurityEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub IsCallerInRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsCallerInRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4804,7 +4804,7 @@ windows_core::imp::define_interface!(ObjectControl, ObjectControl_Vtbl, 0x7dc418 impl std::ops::Deref for ObjectControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ObjectControl, windows_core::IUnknown); @@ -4832,7 +4832,7 @@ windows_core::imp::define_interface!(SecurityProperty, SecurityProperty_Vtbl, 0x impl std::ops::Deref for SecurityProperty { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4840,19 +4840,19 @@ windows_core::imp::interface_hierarchy!(SecurityProperty, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl SecurityProperty { pub unsafe fn GetDirectCallerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDirectCallerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDirectCreatorName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDirectCreatorName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOriginalCallerName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalCallerName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOriginalCreatorName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalCreatorName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4860,10 +4860,10 @@ impl SecurityProperty { #[repr(C)] pub struct SecurityProperty_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub GetDirectCallerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDirectCreatorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetOriginalCallerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetOriginalCreatorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDirectCallerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDirectCreatorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetOriginalCallerName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetOriginalCreatorName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub const APPTYPE_LIBRARY: COMPLUS_APPTYPE = COMPLUS_APPTYPE(0i32); pub const APPTYPE_SERVER: COMPLUS_APPTYPE = COMPLUS_APPTYPE(1i32); 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 60c23a5301..14a3760bde 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs @@ -55,7 +55,7 @@ where P1: windows_core::Param, { windows_targets::link!("kernel32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreatePseudoConsole(core::mem::transmute(size), hinput.param().abi(), houtput.param().abi(), dwflags, &mut result__).map(|| result__) } #[inline] 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 69b377bc51..232973a98e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IContact, IContact_Vtbl, 0xf941b671_bda7_4f impl std::ops::Deref for IContact { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContact, windows_core::IUnknown); @@ -28,7 +28,7 @@ windows_core::imp::define_interface!(IContactAggregationAggregate, IContactAggre impl std::ops::Deref for IContactAggregationAggregate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationAggregate, windows_core::IUnknown); @@ -37,7 +37,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Link(&self, paggregateid: P0) -> windows_core::Result<()> @@ -47,11 +47,11 @@ impl IContactAggregationAggregate { (windows_core::Interface::vtable(self).Link)(windows_core::Interface::as_raw(self), paggregateid.param().abi()).ok() } pub unsafe fn get_Groups(&self, options: CONTACT_AGGREGATION_COLLECTION_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Groups)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AntiLink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AntiLink)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAntiLink(&self, pantilink: P0) -> windows_core::Result<()> @@ -61,14 +61,14 @@ impl IContactAggregationAggregate { (windows_core::Interface::vtable(self).SetAntiLink)(windows_core::Interface::as_raw(self), pantilink.param().abi()).ok() } pub unsafe fn FavoriteOrder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FavoriteOrder)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -89,28 +89,28 @@ windows_core::imp::define_interface!(IContactAggregationAggregateCollection, ICo impl std::ops::Deref for IContactAggregationAggregateCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationAggregateCollection, windows_core::IUnknown); impl IContactAggregationAggregateCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirst)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstByAntiLinkId(&self, pantilinkid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstByAntiLinkId)(windows_core::Interface::as_raw(self), pantilinkid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -126,7 +126,7 @@ windows_core::imp::define_interface!(IContactAggregationContact, IContactAggrega impl std::ops::Deref for IContactAggregationContact { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationContact, windows_core::IUnknown); @@ -147,7 +147,7 @@ impl IContactAggregationContact { (windows_core::Interface::vtable(self).Unlink)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn AccountId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AccountId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccountId(&self, paccountid: P0) -> windows_core::Result<()> @@ -157,30 +157,30 @@ impl IContactAggregationContact { (windows_core::Interface::vtable(self).SetAccountId)(windows_core::Interface::as_raw(self), paccountid.param().abi()).ok() } pub unsafe fn AggregateId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AggregateId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsMe(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMe)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsExternal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsExternal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NetworkSourceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkSourceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkSourceIdString)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNetworkSourceIdString(&self, pnetworksourceid: P0) -> windows_core::Result<()> @@ -190,14 +190,14 @@ impl IContactAggregationContact { (windows_core::Interface::vtable(self).SetNetworkSourceIdString)(windows_core::Interface::as_raw(self), pnetworksourceid.param().abi()).ok() } pub unsafe fn RemoteObjectId(&self) -> windows_core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteObjectId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), premoteobjectid).ok() } pub unsafe fn SyncIdentityHash(&self) -> windows_core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SyncIdentityHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSyncIdentityHash(&self, psyncidentityhash: *const CONTACT_AGGREGATION_BLOB) -> windows_core::Result<()> { @@ -230,17 +230,17 @@ windows_core::imp::define_interface!(IContactAggregationContactCollection, ICont impl std::ops::Deref for IContactAggregationContactCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationContactCollection, windows_core::IUnknown); impl IContactAggregationContactCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirst)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstByIdentityHash(&self, psourcetype: P0, paccountid: P1, pidentityhash: *const CONTACT_AGGREGATION_BLOB) -> windows_core::Result @@ -248,11 +248,11 @@ impl IContactAggregationContactCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstByIdentityHash)(windows_core::Interface::as_raw(self), psourcetype.param().abi(), paccountid.param().abi(), pidentityhash, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FindFirstByRemoteId(&self, psourcetype: P0, paccountid: P1, premoteobjectid: *const CONTACT_AGGREGATION_BLOB) -> windows_core::Result @@ -260,7 +260,7 @@ impl IContactAggregationContactCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstByRemoteId)(windows_core::Interface::as_raw(self), psourcetype.param().abi(), paccountid.param().abi(), premoteobjectid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -277,7 +277,7 @@ windows_core::imp::define_interface!(IContactAggregationGroup, IContactAggregati impl std::ops::Deref for IContactAggregationGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationGroup, windows_core::IUnknown); @@ -301,22 +301,22 @@ impl IContactAggregationGroup { (windows_core::Interface::vtable(self).Remove)(windows_core::Interface::as_raw(self), paggregateid.param().abi()).ok() } pub unsafe fn Members(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Members)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GlobalObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GlobalObjectId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pglobalobjectid).ok() } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetName(&self, pname: P0) -> windows_core::Result<()> @@ -344,25 +344,25 @@ windows_core::imp::define_interface!(IContactAggregationGroupCollection, IContac impl std::ops::Deref for IContactAggregationGroupCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationGroupCollection, windows_core::IUnknown); impl IContactAggregationGroupCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirst)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstByGlobalObjectId(&self, pglobalobjectid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstByGlobalObjectId)(windows_core::Interface::as_raw(self), pglobalobjectid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -378,7 +378,7 @@ windows_core::imp::define_interface!(IContactAggregationLink, IContactAggregatio impl std::ops::Deref for IContactAggregationLink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationLink, windows_core::IUnknown); @@ -390,7 +390,7 @@ impl IContactAggregationLink { (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn AccountId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AccountId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccountId(&self, paccountid: P0) -> windows_core::Result<()> @@ -400,11 +400,11 @@ impl IContactAggregationLink { (windows_core::Interface::vtable(self).SetAccountId)(windows_core::Interface::as_raw(self), paccountid.param().abi()).ok() } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLinkResolved(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLinkResolved)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsLinkResolved(&self, islinkresolved: P0) -> windows_core::Result<()> @@ -414,7 +414,7 @@ impl IContactAggregationLink { (windows_core::Interface::vtable(self).SetIsLinkResolved)(windows_core::Interface::as_raw(self), islinkresolved.param().abi()).ok() } pub unsafe fn NetworkSourceIdString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkSourceIdString)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNetworkSourceIdString(&self, pnetworksourceid: P0) -> windows_core::Result<()> @@ -424,14 +424,14 @@ impl IContactAggregationLink { (windows_core::Interface::vtable(self).SetNetworkSourceIdString)(windows_core::Interface::as_raw(self), pnetworksourceid.param().abi()).ok() } pub unsafe fn RemoteObjectId(&self) -> windows_core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteObjectId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), premoteobjectid).ok() } pub unsafe fn ServerPerson(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerPerson)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetServerPerson(&self, pserverpersonid: P0) -> windows_core::Result<()> @@ -441,7 +441,7 @@ impl IContactAggregationLink { (windows_core::Interface::vtable(self).SetServerPerson)(windows_core::Interface::as_raw(self), pserverpersonid.param().abi()).ok() } pub unsafe fn ServerPersonBaseline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerPersonBaseline)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetServerPersonBaseline(&self, pserverpersonid: P0) -> windows_core::Result<()> @@ -451,7 +451,7 @@ impl IContactAggregationLink { (windows_core::Interface::vtable(self).SetServerPersonBaseline)(windows_core::Interface::as_raw(self), pserverpersonid.param().abi()).ok() } pub unsafe fn SyncIdentityHash(&self) -> windows_core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SyncIdentityHash)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSyncIdentityHash(&self, psyncidentityhash: *const CONTACT_AGGREGATION_BLOB) -> windows_core::Result<()> { @@ -483,13 +483,13 @@ windows_core::imp::define_interface!(IContactAggregationLinkCollection, IContact impl std::ops::Deref for IContactAggregationLinkCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationLinkCollection, windows_core::IUnknown); impl IContactAggregationLinkCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirst)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstByRemoteId(&self, psourcetype: P0, paccountid: P1, premoteid: *const CONTACT_AGGREGATION_BLOB) -> windows_core::Result @@ -497,15 +497,15 @@ impl IContactAggregationLinkCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstByRemoteId)(windows_core::Interface::as_raw(self), psourcetype.param().abi(), paccountid.param().abi(), premoteid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -521,7 +521,7 @@ windows_core::imp::define_interface!(IContactAggregationManager, IContactAggrega impl std::ops::Deref for IContactAggregationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationManager, windows_core::IUnknown); @@ -533,19 +533,19 @@ impl IContactAggregationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateOrOpenGroup)(windows_core::Interface::as_raw(self), pgroupname.param().abi(), options, pcreatedgroup, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateExternalContact(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateExternalContact)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateServerPerson(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateServerPerson)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateServerContactLink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateServerContactLink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Flush(&self) -> windows_core::Result<()> { @@ -555,51 +555,51 @@ impl IContactAggregationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenAggregateContact)(windows_core::Interface::as_raw(self), pitemid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenContact(&self, pitemid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenContact)(windows_core::Interface::as_raw(self), pitemid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenServerContactLink(&self, pitemid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenServerContactLink)(windows_core::Interface::as_raw(self), pitemid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenServerPerson(&self, pitemid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenServerPerson)(windows_core::Interface::as_raw(self), pitemid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Contacts(&self, options: CONTACT_AGGREGATION_COLLECTION_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Contacts)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_AggregateContacts(&self, options: CONTACT_AGGREGATION_COLLECTION_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AggregateContacts)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Groups(&self, options: CONTACT_AGGREGATION_COLLECTION_OPTIONS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Groups)(windows_core::Interface::as_raw(self), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServerPersons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerPersons)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_ServerContactLinks(&self, ppersonitemid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ServerContactLinks)(windows_core::Interface::as_raw(self), ppersonitemid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -626,7 +626,7 @@ windows_core::imp::define_interface!(IContactAggregationServerPerson, IContactAg impl std::ops::Deref for IContactAggregationServerPerson { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationServerPerson, windows_core::IUnknown); @@ -638,7 +638,7 @@ impl IContactAggregationServerPerson { (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn AggregateId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AggregateId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAggregateId(&self, paggregateid: P0) -> windows_core::Result<()> @@ -648,7 +648,7 @@ impl IContactAggregationServerPerson { (windows_core::Interface::vtable(self).SetAggregateId)(windows_core::Interface::as_raw(self), paggregateid.param().abi()).ok() } pub unsafe fn AntiLink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AntiLink)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAntiLink(&self, pantilink: P0) -> windows_core::Result<()> @@ -658,7 +658,7 @@ impl IContactAggregationServerPerson { (windows_core::Interface::vtable(self).SetAntiLink)(windows_core::Interface::as_raw(self), pantilink.param().abi()).ok() } pub unsafe fn AntiLinkBaseline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AntiLinkBaseline)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAntiLinkBaseline(&self, pantilink: P0) -> windows_core::Result<()> @@ -668,39 +668,39 @@ impl IContactAggregationServerPerson { (windows_core::Interface::vtable(self).SetAntiLinkBaseline)(windows_core::Interface::as_raw(self), pantilink.param().abi()).ok() } pub unsafe fn FavoriteOrder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FavoriteOrder)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FavoriteOrderBaseline)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Groups)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pgroups).ok() } pub unsafe fn GroupsBaseline(&self) -> windows_core::Result<*mut CONTACT_AGGREGATION_BLOB> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GroupsBaseline)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pgroups).ok() } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsTombstone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTombstone)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsTombstone(&self, istombstone: P0) -> windows_core::Result<()> @@ -710,7 +710,7 @@ impl IContactAggregationServerPerson { (windows_core::Interface::vtable(self).SetIsTombstone)(windows_core::Interface::as_raw(self), istombstone.param().abi()).ok() } pub unsafe fn LinkedAggregateId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LinkedAggregateId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLinkedAggregateId(&self, plinkedaggregateid: P0) -> windows_core::Result<()> @@ -720,7 +720,7 @@ impl IContactAggregationServerPerson { (windows_core::Interface::vtable(self).SetLinkedAggregateId)(windows_core::Interface::as_raw(self), plinkedaggregateid.param().abi()).ok() } pub unsafe fn ObjectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetObjectId(&self, pobjectid: P0) -> windows_core::Result<()> @@ -761,42 +761,42 @@ windows_core::imp::define_interface!(IContactAggregationServerPersonCollection, impl std::ops::Deref for IContactAggregationServerPersonCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactAggregationServerPersonCollection, windows_core::IUnknown); impl IContactAggregationServerPersonCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirst)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstByServerId(&self, pserverid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstByServerId)(windows_core::Interface::as_raw(self), pserverid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstByAggregateId(&self, paggregateid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstByAggregateId)(windows_core::Interface::as_raw(self), paggregateid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstByLinkedAggregateId(&self, paggregateid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstByLinkedAggregateId)(windows_core::Interface::as_raw(self), paggregateid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -814,7 +814,7 @@ windows_core::imp::define_interface!(IContactCollection, IContactCollection_Vtbl impl std::ops::Deref for IContactCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactCollection, windows_core::IUnknown); @@ -826,7 +826,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -841,7 +841,7 @@ windows_core::imp::define_interface!(IContactManager, IContactManager_Vtbl, 0xad impl std::ops::Deref for IContactManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactManager, windows_core::IUnknown); @@ -857,7 +857,7 @@ impl IContactManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Load)(windows_core::Interface::as_raw(self), pszcontactid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MergeContactIDs(&self, psznewcontactid: P0, pszoldcontactid: P1) -> windows_core::Result<()> @@ -868,7 +868,7 @@ impl IContactManager { (windows_core::Interface::vtable(self).MergeContactIDs)(windows_core::Interface::as_raw(self), psznewcontactid.param().abi(), pszoldcontactid.param().abi()).ok() } pub unsafe fn GetMeContact(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMeContact)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMeContact(&self, pmecontact: P0) -> windows_core::Result<()> @@ -878,7 +878,7 @@ impl IContactManager { (windows_core::Interface::vtable(self).SetMeContact)(windows_core::Interface::as_raw(self), pmecontact.param().abi()).ok() } pub unsafe fn GetContactCollection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContactCollection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -896,7 +896,7 @@ windows_core::imp::define_interface!(IContactProperties, IContactProperties_Vtbl impl std::ops::Deref for IContactProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactProperties, windows_core::IUnknown); @@ -1014,7 +1014,7 @@ windows_core::imp::define_interface!(IContactPropertyCollection, IContactPropert impl std::ops::Deref for IContactPropertyCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactPropertyCollection, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs index 1644bde620..cad4b46997 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs @@ -90,7 +90,7 @@ impl IWdsTransportClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IWdsTransportClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IWdsTransportClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportClient_Impl::Name(this) { @@ -101,7 +101,7 @@ impl IWdsTransportClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MacAddress, Impl: IWdsTransportClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszmacaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MacAddress, Impl: IWdsTransportClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszmacaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportClient_Impl::MacAddress(this) { @@ -112,7 +112,7 @@ impl IWdsTransportClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IpAddress, Impl: IWdsTransportClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszipaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IpAddress, Impl: IWdsTransportClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszipaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportClient_Impl::IpAddress(this) { @@ -178,7 +178,7 @@ impl IWdsTransportClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserIdentity, Impl: IWdsTransportClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszuseridentity: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserIdentity, Impl: IWdsTransportClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszuseridentity: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportClient_Impl::UserIdentity(this) { @@ -430,7 +430,7 @@ impl IWdsTransportContent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IWdsTransportContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IWdsTransportContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportContent_Impl::Name(this) { @@ -482,7 +482,7 @@ impl windows_core::RuntimeName for IWdsTransportContentProvider {} #[cfg(feature = "Win32_System_Com")] impl IWdsTransportContentProvider_Vtbl { pub const fn new, Impl: IWdsTransportContentProvider_Impl, const OFFSET: isize>() -> IWdsTransportContentProvider_Vtbl { - unsafe extern "system" fn Name, Impl: IWdsTransportContentProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IWdsTransportContentProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportContentProvider_Impl::Name(this) { @@ -493,7 +493,7 @@ impl IWdsTransportContentProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IWdsTransportContentProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IWdsTransportContentProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportContentProvider_Impl::Description(this) { @@ -504,7 +504,7 @@ impl IWdsTransportContentProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FilePath, Impl: IWdsTransportContentProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszfilepath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FilePath, Impl: IWdsTransportContentProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszfilepath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportContentProvider_Impl::FilePath(this) { @@ -515,7 +515,7 @@ impl IWdsTransportContentProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InitializationRoutine, Impl: IWdsTransportContentProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszinitializationroutine: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializationRoutine, Impl: IWdsTransportContentProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszinitializationroutine: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportContentProvider_Impl::InitializationRoutine(this) { @@ -603,7 +603,7 @@ impl windows_core::RuntimeName for IWdsTransportManager {} #[cfg(feature = "Win32_System_Com")] impl IWdsTransportManager_Vtbl { pub const fn new, Impl: IWdsTransportManager_Impl, const OFFSET: isize>() -> IWdsTransportManager_Vtbl { - unsafe extern "system" fn GetWdsTransportServer, Impl: IWdsTransportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszservername: std::mem::MaybeUninit, ppwdstransportserver: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetWdsTransportServer, Impl: IWdsTransportManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszservername: core::mem::MaybeUninit, ppwdstransportserver: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportManager_Impl::GetWdsTransportServer(this, core::mem::transmute(&bszservername)) { @@ -767,7 +767,7 @@ impl IWdsTransportNamespace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Name(this) { @@ -778,12 +778,12 @@ impl IWdsTransportNamespace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWdsTransportNamespace_Impl::SetName(this, core::mem::transmute(&bszname)).into() } - unsafe extern "system" fn FriendlyName, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszfriendlyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FriendlyName, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszfriendlyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::FriendlyName(this) { @@ -794,12 +794,12 @@ impl IWdsTransportNamespace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFriendlyName, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszfriendlyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFriendlyName, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszfriendlyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWdsTransportNamespace_Impl::SetFriendlyName(this, core::mem::transmute(&bszfriendlyname)).into() } - unsafe extern "system" fn Description, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Description(this) { @@ -810,12 +810,12 @@ impl IWdsTransportNamespace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWdsTransportNamespace_Impl::SetDescription(this, core::mem::transmute(&bszdescription)).into() } - unsafe extern "system" fn ContentProvider, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszcontentprovider: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContentProvider, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszcontentprovider: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::ContentProvider(this) { @@ -826,12 +826,12 @@ impl IWdsTransportNamespace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetContentProvider, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszcontentprovider: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetContentProvider, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszcontentprovider: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWdsTransportNamespace_Impl::SetContentProvider(this, core::mem::transmute(&bszcontentprovider)).into() } - unsafe extern "system" fn Configuration, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszconfiguration: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Configuration, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszconfiguration: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportNamespace_Impl::Configuration(this) { @@ -842,7 +842,7 @@ impl IWdsTransportNamespace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetConfiguration, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszconfiguration: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetConfiguration, Impl: IWdsTransportNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszconfiguration: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWdsTransportNamespace_Impl::SetConfiguration(this, core::mem::transmute(&bszconfiguration)).into() @@ -981,7 +981,7 @@ impl windows_core::RuntimeName for IWdsTransportNamespaceManager {} #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceManager_Vtbl { pub const fn new, Impl: IWdsTransportNamespaceManager_Impl, const OFFSET: isize>() -> IWdsTransportNamespaceManager_Vtbl { - unsafe extern "system" fn CreateNamespace, Impl: IWdsTransportNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespacetype: WDSTRANSPORT_NAMESPACE_TYPE, bsznamespacename: std::mem::MaybeUninit, bszcontentprovider: std::mem::MaybeUninit, bszconfiguration: std::mem::MaybeUninit, ppwdstransportnamespace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateNamespace, Impl: IWdsTransportNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, namespacetype: WDSTRANSPORT_NAMESPACE_TYPE, bsznamespacename: core::mem::MaybeUninit, bszcontentprovider: core::mem::MaybeUninit, bszconfiguration: core::mem::MaybeUninit, ppwdstransportnamespace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportNamespaceManager_Impl::CreateNamespace(this, core::mem::transmute_copy(&namespacetype), core::mem::transmute(&bsznamespacename), core::mem::transmute(&bszcontentprovider), core::mem::transmute(&bszconfiguration)) { @@ -992,7 +992,7 @@ impl IWdsTransportNamespaceManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RetrieveNamespace, Impl: IWdsTransportNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsznamespacename: std::mem::MaybeUninit, ppwdstransportnamespace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RetrieveNamespace, Impl: IWdsTransportNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsznamespacename: core::mem::MaybeUninit, ppwdstransportnamespace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportNamespaceManager_Impl::RetrieveNamespace(this, core::mem::transmute(&bsznamespacename)) { @@ -1003,7 +1003,7 @@ impl IWdsTransportNamespaceManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RetrieveNamespaces, Impl: IWdsTransportNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszcontentprovider: std::mem::MaybeUninit, bsznamespacename: std::mem::MaybeUninit, bincludetombstones: super::super::Foundation::VARIANT_BOOL, ppwdstransportnamespaces: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RetrieveNamespaces, Impl: IWdsTransportNamespaceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszcontentprovider: core::mem::MaybeUninit, bsznamespacename: core::mem::MaybeUninit, bincludetombstones: super::super::Foundation::VARIANT_BOOL, ppwdstransportnamespaces: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportNamespaceManager_Impl::RetrieveNamespaces(this, core::mem::transmute(&bszcontentprovider), core::mem::transmute(&bsznamespacename), core::mem::transmute_copy(&bincludetombstones)) { @@ -1127,7 +1127,7 @@ impl windows_core::RuntimeName for IWdsTransportServer {} #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServer_Vtbl { pub const fn new, Impl: IWdsTransportServer_Impl, const OFFSET: isize>() -> IWdsTransportServer_Vtbl { - unsafe extern "system" fn Name, Impl: IWdsTransportServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IWdsTransportServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportServer_Impl::Name(this) { @@ -1251,7 +1251,7 @@ impl IWdsTransportServicePolicy_Vtbl { let this = (*this).get_impl(); IWdsTransportServicePolicy_Impl::put_IpAddressSource(this, core::mem::transmute_copy(&addresstype), core::mem::transmute_copy(&sourcetype)).into() } - unsafe extern "system" fn get_StartIpAddress, Impl: IWdsTransportServicePolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, pbszstartipaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_StartIpAddress, Impl: IWdsTransportServicePolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, pbszstartipaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportServicePolicy_Impl::get_StartIpAddress(this, core::mem::transmute_copy(&addresstype)) { @@ -1262,12 +1262,12 @@ impl IWdsTransportServicePolicy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_StartIpAddress, Impl: IWdsTransportServicePolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, bszstartipaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_StartIpAddress, Impl: IWdsTransportServicePolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, bszstartipaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWdsTransportServicePolicy_Impl::put_StartIpAddress(this, core::mem::transmute_copy(&addresstype), core::mem::transmute(&bszstartipaddress)).into() } - unsafe extern "system" fn get_EndIpAddress, Impl: IWdsTransportServicePolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, pbszendipaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_EndIpAddress, Impl: IWdsTransportServicePolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, pbszendipaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportServicePolicy_Impl::get_EndIpAddress(this, core::mem::transmute_copy(&addresstype)) { @@ -1278,7 +1278,7 @@ impl IWdsTransportServicePolicy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_EndIpAddress, Impl: IWdsTransportServicePolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, bszendipaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_EndIpAddress, Impl: IWdsTransportServicePolicy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, bszendipaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWdsTransportServicePolicy_Impl::put_EndIpAddress(this, core::mem::transmute_copy(&addresstype), core::mem::transmute(&bszendipaddress)).into() @@ -1465,7 +1465,7 @@ impl IWdsTransportSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NetworkInterfaceName, Impl: IWdsTransportSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbsznetworkinterfacename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NetworkInterfaceName, Impl: IWdsTransportSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbsznetworkinterfacename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportSession_Impl::NetworkInterfaceName(this) { @@ -1476,7 +1476,7 @@ impl IWdsTransportSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NetworkInterfaceAddress, Impl: IWdsTransportSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbsznetworkinterfaceaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NetworkInterfaceAddress, Impl: IWdsTransportSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbsznetworkinterfaceaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportSession_Impl::NetworkInterfaceAddress(this) { @@ -1587,12 +1587,12 @@ impl IWdsTransportSetupManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterContentProvider, Impl: IWdsTransportSetupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszname: std::mem::MaybeUninit, bszdescription: std::mem::MaybeUninit, bszfilepath: std::mem::MaybeUninit, bszinitializationroutine: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterContentProvider, Impl: IWdsTransportSetupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszname: core::mem::MaybeUninit, bszdescription: core::mem::MaybeUninit, bszfilepath: core::mem::MaybeUninit, bszinitializationroutine: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWdsTransportSetupManager_Impl::RegisterContentProvider(this, core::mem::transmute(&bszname), core::mem::transmute(&bszdescription), core::mem::transmute(&bszfilepath), core::mem::transmute(&bszinitializationroutine)).into() } - unsafe extern "system" fn DeregisterContentProvider, Impl: IWdsTransportSetupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeregisterContentProvider, Impl: IWdsTransportSetupManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWdsTransportSetupManager_Impl::DeregisterContentProvider(this, core::mem::transmute(&bszname)).into() @@ -1667,7 +1667,7 @@ impl windows_core::RuntimeName for IWdsTransportTftpClient {} #[cfg(feature = "Win32_System_Com")] impl IWdsTransportTftpClient_Vtbl { pub const fn new, Impl: IWdsTransportTftpClient_Impl, const OFFSET: isize>() -> IWdsTransportTftpClient_Vtbl { - unsafe extern "system" fn FileName, Impl: IWdsTransportTftpClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszfilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileName, Impl: IWdsTransportTftpClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszfilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportTftpClient_Impl::FileName(this) { @@ -1678,7 +1678,7 @@ impl IWdsTransportTftpClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IpAddress, Impl: IWdsTransportTftpClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszipaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IpAddress, Impl: IWdsTransportTftpClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbszipaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWdsTransportTftpClient_Impl::IpAddress(this) { 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 10a577fa85..5c61f7e3ef 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -282,7 +282,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliCreateSession(pwszserver : windows_core::PCWSTR, pcred : *const WDS_CLI_CRED, phsession : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliCreateSession(pwszserver.param().abi(), core::mem::transmute(pcred.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -291,7 +291,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliFindFirstImage(hsession : super::super::Foundation:: HANDLE, phfindhandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliFindFirstImage(hsession.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -313,7 +313,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetDriverQueryXml(pwszwindirpath : windows_core::PCWSTR, ppwszdriverquery : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetDriverQueryXml(pwszwindirpath.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -322,7 +322,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetEnumerationFlags(handle : super::super::Foundation:: HANDLE, pdwflags : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetEnumerationFlags(handle.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -331,7 +331,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageArchitecture(hifh : super::super::Foundation:: HANDLE, pdwvalue : *mut CPU_ARCHITECTURE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageArchitecture(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -340,7 +340,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageDescription(hifh : super::super::Foundation:: HANDLE, ppwszvalue : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageDescription(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -357,7 +357,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageGroup(hifh : super::super::Foundation:: HANDLE, ppwszvalue : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageGroup(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -366,7 +366,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageHalName(hifh : super::super::Foundation:: HANDLE, ppwszvalue : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageHalName(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -375,7 +375,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageHandleFromFindHandle(findhandle : super::super::Foundation:: HANDLE, phimagehandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageHandleFromFindHandle(findhandle.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -384,7 +384,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageHandleFromTransferHandle(htransfer : super::super::Foundation:: HANDLE, phimagehandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageHandleFromTransferHandle(htransfer.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -393,7 +393,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageIndex(hifh : super::super::Foundation:: HANDLE, pdwvalue : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageIndex(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -402,7 +402,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageLanguage(hifh : super::super::Foundation:: HANDLE, ppwszvalue : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageLanguage(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -419,7 +419,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageLastModifiedTime(hifh : super::super::Foundation:: HANDLE, ppsystimevalue : *mut *mut super::super::Foundation:: SYSTEMTIME) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageLastModifiedTime(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -428,7 +428,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageName(hifh : super::super::Foundation:: HANDLE, ppwszvalue : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageName(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -437,7 +437,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageNamespace(hifh : super::super::Foundation:: HANDLE, ppwszvalue : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageNamespace(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -454,7 +454,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImagePath(hifh : super::super::Foundation:: HANDLE, ppwszvalue : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImagePath(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -463,7 +463,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageSize(hifh : super::super::Foundation:: HANDLE, pullvalue : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageSize(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -472,7 +472,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageType(hifh : super::super::Foundation:: HANDLE, pimagetype : *mut WDS_CLI_IMAGE_TYPE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageType(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -481,7 +481,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetImageVersion(hifh : super::super::Foundation:: HANDLE, ppwszvalue : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetImageVersion(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -490,7 +490,7 @@ where P0: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliGetTransferSize(hifh : super::super::Foundation:: HANDLE, pullvalue : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliGetTransferSize(hifh.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -547,7 +547,7 @@ where P3: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliTransferFile(pwszserver : windows_core::PCWSTR, pwsznamespace : windows_core::PCWSTR, pwszremotefilepath : windows_core::PCWSTR, pwszlocalfilepath : windows_core::PCWSTR, dwflags : u32, dwreserved : u32, pfnwdsclicallback : PFN_WdsCliCallback, pvuserdata : *const core::ffi::c_void, phtransfer : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliTransferFile(pwszserver.param().abi(), pwsznamespace.param().abi(), pwszremotefilepath.param().abi(), pwszlocalfilepath.param().abi(), dwflags, dwreserved, pfnwdsclicallback, core::mem::transmute(pvuserdata.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -557,7 +557,7 @@ where P1: windows_core::Param, { windows_targets::link!("wdsclientapi.dll" "system" fn WdsCliTransferImage(himage : super::super::Foundation:: HANDLE, pwszlocalpath : windows_core::PCWSTR, dwflags : u32, dwreserved : u32, pfnwdsclicallback : PFN_WdsCliCallback, pvuserdata : *const core::ffi::c_void, phtransfer : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WdsCliTransferImage(himage.param().abi(), pwszlocalpath.param().abi(), dwflags, dwreserved, pfnwdsclicallback, core::mem::transmute(pvuserdata.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -713,7 +713,7 @@ windows_core::imp::define_interface!(IWdsTransportCacheable, IWdsTransportCachea impl std::ops::Deref for IWdsTransportCacheable { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -721,7 +721,7 @@ windows_core::imp::interface_hierarchy!(IWdsTransportCacheable, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IWdsTransportCacheable { pub unsafe fn Dirty(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Dirty)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Discard(&self) -> windows_core::Result<()> { @@ -749,7 +749,7 @@ windows_core::imp::define_interface!(IWdsTransportClient, IWdsTransportClient_Vt impl std::ops::Deref for IWdsTransportClient { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -758,47 +758,47 @@ windows_core::imp::interface_hierarchy!(IWdsTransportClient, windows_core::IUnkn impl IWdsTransportClient { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MacAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MacAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IpAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IpAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PercentCompletion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PercentCompletion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn JoinDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JoinDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CpuUtilization(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CpuUtilization)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MemoryUtilization(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MemoryUtilization)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NetworkUtilization(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkUtilization)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UserIdentity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserIdentity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Disconnect(&self, disconnectiontype: WDSTRANSPORT_DISCONNECT_TYPE) -> windows_core::Result<()> { @@ -814,15 +814,15 @@ pub struct IWdsTransportClient_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Session: usize, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MacAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MacAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PercentCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub JoinDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CpuUtilization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MemoryUtilization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub NetworkUtilization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub UserIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_DISCONNECT_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -831,7 +831,7 @@ windows_core::imp::define_interface!(IWdsTransportCollection, IWdsTransportColle impl std::ops::Deref for IWdsTransportCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -839,16 +839,16 @@ windows_core::imp::interface_hierarchy!(IWdsTransportCollection, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IWdsTransportCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, ulindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), ulindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -869,7 +869,7 @@ windows_core::imp::define_interface!(IWdsTransportConfigurationManager, IWdsTran impl std::ops::Deref for IWdsTransportConfigurationManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -878,19 +878,19 @@ windows_core::imp::interface_hierarchy!(IWdsTransportConfigurationManager, windo impl IWdsTransportConfigurationManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ServicePolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServicePolicy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DiagnosticsPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiagnosticsPolicy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_WdsTransportServicesRunning(&self, brealtimestatus: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_WdsTransportServicesRunning)(windows_core::Interface::as_raw(self), brealtimestatus.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EnableWdsTransportServices(&self) -> windows_core::Result<()> { @@ -938,7 +938,7 @@ windows_core::imp::define_interface!(IWdsTransportConfigurationManager2, IWdsTra impl std::ops::Deref for IWdsTransportConfigurationManager2 { type Target = IWdsTransportConfigurationManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -947,7 +947,7 @@ windows_core::imp::interface_hierarchy!(IWdsTransportConfigurationManager2, wind impl IWdsTransportConfigurationManager2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn MulticastSessionPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MulticastSessionPolicy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -966,7 +966,7 @@ windows_core::imp::define_interface!(IWdsTransportContent, IWdsTransportContent_ impl std::ops::Deref for IWdsTransportContent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -975,20 +975,20 @@ windows_core::imp::interface_hierarchy!(IWdsTransportContent, windows_core::IUnk impl IWdsTransportContent { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Namespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Namespace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveSessions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetrieveSessions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Terminate(&self) -> windows_core::Result<()> { @@ -1004,7 +1004,7 @@ pub struct IWdsTransportContent_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Namespace: usize, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RetrieveSessions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1017,7 +1017,7 @@ windows_core::imp::define_interface!(IWdsTransportContentProvider, IWdsTransport impl std::ops::Deref for IWdsTransportContentProvider { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1025,19 +1025,19 @@ windows_core::imp::interface_hierarchy!(IWdsTransportContentProvider, windows_co #[cfg(feature = "Win32_System_Com")] impl IWdsTransportContentProvider { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FilePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FilePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializationRoutine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitializationRoutine)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1045,10 +1045,10 @@ impl IWdsTransportContentProvider { #[repr(C)] pub struct IWdsTransportContentProvider_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitializationRoutine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializationRoutine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportDiagnosticsPolicy, IWdsTransportDiagnosticsPolicy_Vtbl, 0x13b33efc_7856_4f61_9a59_8de67b6b87b6); @@ -1056,7 +1056,7 @@ windows_core::imp::define_interface!(IWdsTransportDiagnosticsPolicy, IWdsTranspo impl std::ops::Deref for IWdsTransportDiagnosticsPolicy { type Target = IWdsTransportCacheable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1064,7 +1064,7 @@ windows_core::imp::interface_hierarchy!(IWdsTransportDiagnosticsPolicy, windows_ #[cfg(feature = "Win32_System_Com")] impl IWdsTransportDiagnosticsPolicy { pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, benabled: P0) -> windows_core::Result<()> @@ -1074,7 +1074,7 @@ impl IWdsTransportDiagnosticsPolicy { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), benabled.param().abi()).ok() } pub unsafe fn Components(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Components)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetComponents(&self, ulcomponents: u32) -> windows_core::Result<()> { @@ -1096,7 +1096,7 @@ windows_core::imp::define_interface!(IWdsTransportManager, IWdsTransportManager_ impl std::ops::Deref for IWdsTransportManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1108,7 +1108,7 @@ impl IWdsTransportManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWdsTransportServer)(windows_core::Interface::as_raw(self), bszservername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1117,7 +1117,7 @@ impl IWdsTransportManager { pub struct IWdsTransportManager_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetWdsTransportServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetWdsTransportServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetWdsTransportServer: usize, } @@ -1127,7 +1127,7 @@ windows_core::imp::define_interface!(IWdsTransportMulticastSessionPolicy, IWdsTr impl std::ops::Deref for IWdsTransportMulticastSessionPolicy { type Target = IWdsTransportCacheable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1135,28 +1135,28 @@ windows_core::imp::interface_hierarchy!(IWdsTransportMulticastSessionPolicy, win #[cfg(feature = "Win32_System_Com")] impl IWdsTransportMulticastSessionPolicy { pub unsafe fn SlowClientHandling(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SlowClientHandling)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoDisconnectThreshold)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MultistreamStreamCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SlowClientFallback)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSlowClientFallback(&self, bclientfallback: P0) -> windows_core::Result<()> @@ -1185,7 +1185,7 @@ windows_core::imp::define_interface!(IWdsTransportNamespace, IWdsTransportNamesp impl std::ops::Deref for IWdsTransportNamespace { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1193,15 +1193,15 @@ windows_core::imp::interface_hierarchy!(IWdsTransportNamespace, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespace { pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bszname: P0) -> windows_core::Result<()> @@ -1211,7 +1211,7 @@ impl IWdsTransportNamespace { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bszname.param().abi()).ok() } pub unsafe fn FriendlyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FriendlyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFriendlyName(&self, bszfriendlyname: P0) -> windows_core::Result<()> @@ -1221,7 +1221,7 @@ impl IWdsTransportNamespace { (windows_core::Interface::vtable(self).SetFriendlyName)(windows_core::Interface::as_raw(self), bszfriendlyname.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bszdescription: P0) -> windows_core::Result<()> @@ -1231,7 +1231,7 @@ impl IWdsTransportNamespace { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bszdescription.param().abi()).ok() } pub unsafe fn ContentProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContentProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContentProvider(&self, bszcontentprovider: P0) -> windows_core::Result<()> @@ -1241,7 +1241,7 @@ impl IWdsTransportNamespace { (windows_core::Interface::vtable(self).SetContentProvider)(windows_core::Interface::as_raw(self), bszcontentprovider.param().abi()).ok() } pub unsafe fn Configuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Configuration)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetConfiguration(&self, bszconfiguration: P0) -> windows_core::Result<()> @@ -1251,19 +1251,19 @@ impl IWdsTransportNamespace { (windows_core::Interface::vtable(self).SetConfiguration)(windows_core::Interface::as_raw(self), bszconfiguration.param().abi()).ok() } pub unsafe fn Registered(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Registered)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Tombstoned(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tombstoned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TombstoneTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TombstoneTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransmissionStarted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransmissionStarted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Register(&self) -> windows_core::Result<()> { @@ -1277,7 +1277,7 @@ impl IWdsTransportNamespace { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -1285,7 +1285,7 @@ impl IWdsTransportNamespace { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveContents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetrieveContents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1295,16 +1295,16 @@ pub struct IWdsTransportNamespace_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WDSTRANSPORT_NAMESPACE_TYPE) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContentProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContentProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Configuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContentProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Configuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Registered: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Tombstoned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub TombstoneTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, @@ -1327,7 +1327,7 @@ windows_core::imp::define_interface!(IWdsTransportNamespaceAutoCast, IWdsTranspo impl std::ops::Deref for IWdsTransportNamespaceAutoCast { type Target = IWdsTransportNamespace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1345,7 +1345,7 @@ windows_core::imp::define_interface!(IWdsTransportNamespaceManager, IWdsTranspor impl std::ops::Deref for IWdsTransportNamespaceManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1359,7 +1359,7 @@ impl IWdsTransportNamespaceManager { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNamespace)(windows_core::Interface::as_raw(self), namespacetype, bsznamespacename.param().abi(), bszcontentprovider.param().abi(), bszconfiguration.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1367,7 +1367,7 @@ impl IWdsTransportNamespaceManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetrieveNamespace)(windows_core::Interface::as_raw(self), bsznamespacename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1377,7 +1377,7 @@ impl IWdsTransportNamespaceManager { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetrieveNamespaces)(windows_core::Interface::as_raw(self), bszcontentprovider.param().abi(), bsznamespacename.param().abi(), bincludetombstones.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1386,15 +1386,15 @@ impl IWdsTransportNamespaceManager { pub struct IWdsTransportNamespaceManager_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub CreateNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_NAMESPACE_TYPE, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_NAMESPACE_TYPE, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateNamespace: usize, #[cfg(feature = "Win32_System_Com")] - pub RetrieveNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RetrieveNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RetrieveNamespace: usize, #[cfg(feature = "Win32_System_Com")] - pub RetrieveNamespaces: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RetrieveNamespaces: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RetrieveNamespaces: usize, } @@ -1404,7 +1404,7 @@ windows_core::imp::define_interface!(IWdsTransportNamespaceScheduledCast, IWdsTr impl std::ops::Deref for IWdsTransportNamespaceScheduledCast { type Target = IWdsTransportNamespace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1427,7 +1427,7 @@ windows_core::imp::define_interface!(IWdsTransportNamespaceScheduledCastAutoStar impl std::ops::Deref for IWdsTransportNamespaceScheduledCastAutoStart { type Target = IWdsTransportNamespaceScheduledCast; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1435,14 +1435,14 @@ windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCastAutoS #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceScheduledCastAutoStart { pub unsafe fn MinimumClients(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinimumClients)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStartTime(&self, starttime: f64) -> windows_core::Result<()> { @@ -1464,7 +1464,7 @@ windows_core::imp::define_interface!(IWdsTransportNamespaceScheduledCastManualSt impl std::ops::Deref for IWdsTransportNamespaceScheduledCastManualStart { type Target = IWdsTransportNamespaceScheduledCast; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1482,7 +1482,7 @@ windows_core::imp::define_interface!(IWdsTransportServer, IWdsTransportServer_Vt impl std::ops::Deref for IWdsTransportServer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1490,22 +1490,22 @@ windows_core::imp::interface_hierarchy!(IWdsTransportServer, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServer { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SetupManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetupManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ConfigurationManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConfigurationManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NamespaceManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NamespaceManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisconnectClient(&self, ulclientid: u32, disconnectiontype: WDSTRANSPORT_DISCONNECT_TYPE) -> windows_core::Result<()> { @@ -1516,7 +1516,7 @@ impl IWdsTransportServer { #[repr(C)] pub struct IWdsTransportServer_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SetupManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1537,7 +1537,7 @@ windows_core::imp::define_interface!(IWdsTransportServer2, IWdsTransportServer2_ impl std::ops::Deref for IWdsTransportServer2 { type Target = IWdsTransportServer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1546,7 +1546,7 @@ windows_core::imp::interface_hierarchy!(IWdsTransportServer2, windows_core::IUnk impl IWdsTransportServer2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn TftpManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TftpManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1565,7 +1565,7 @@ windows_core::imp::define_interface!(IWdsTransportServicePolicy, IWdsTransportSe impl std::ops::Deref for IWdsTransportServicePolicy { type Target = IWdsTransportCacheable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1573,14 +1573,14 @@ windows_core::imp::interface_hierarchy!(IWdsTransportServicePolicy, windows_core #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServicePolicy { pub unsafe fn get_IpAddressSource(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_IpAddressSource)(windows_core::Interface::as_raw(self), addresstype, &mut result__).map(|| result__) } pub unsafe fn put_IpAddressSource(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, sourcetype: WDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).put_IpAddressSource)(windows_core::Interface::as_raw(self), addresstype, sourcetype).ok() } pub unsafe fn get_StartIpAddress(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_StartIpAddress)(windows_core::Interface::as_raw(self), addresstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_StartIpAddress(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, bszstartipaddress: P0) -> windows_core::Result<()> @@ -1590,7 +1590,7 @@ impl IWdsTransportServicePolicy { (windows_core::Interface::vtable(self).put_StartIpAddress)(windows_core::Interface::as_raw(self), addresstype, bszstartipaddress.param().abi()).ok() } pub unsafe fn get_EndIpAddress(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_EndIpAddress)(windows_core::Interface::as_raw(self), addresstype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_EndIpAddress(&self, addresstype: WDSTRANSPORT_IP_ADDRESS_TYPE, bszendipaddress: P0) -> windows_core::Result<()> @@ -1600,21 +1600,21 @@ impl IWdsTransportServicePolicy { (windows_core::Interface::vtable(self).put_EndIpAddress)(windows_core::Interface::as_raw(self), addresstype, bszendipaddress.param().abi()).ok() } pub unsafe fn StartPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkProfile)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNetworkProfile(&self, profiletype: WDSTRANSPORT_NETWORK_PROFILE_TYPE) -> windows_core::Result<()> { @@ -1627,10 +1627,10 @@ pub struct IWdsTransportServicePolicy_Vtbl { pub base__: IWdsTransportCacheable_Vtbl, pub get_IpAddressSource: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, *mut WDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE) -> windows_core::HRESULT, pub put_IpAddressSource: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, WDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE) -> windows_core::HRESULT, - pub get_StartIpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_StartIpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_EndIpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_EndIpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_StartIpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_StartIpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_EndIpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_EndIpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_IP_ADDRESS_TYPE, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetStartPort: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub EndPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -1644,7 +1644,7 @@ windows_core::imp::define_interface!(IWdsTransportServicePolicy2, IWdsTransportS impl std::ops::Deref for IWdsTransportServicePolicy2 { type Target = IWdsTransportServicePolicy; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1652,21 +1652,21 @@ windows_core::imp::interface_hierarchy!(IWdsTransportServicePolicy2, windows_cor #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServicePolicy2 { pub unsafe fn UdpPortPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UdpPortPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TftpMaximumBlockSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableTftpVariableWindowExtension)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableTftpVariableWindowExtension(&self, benabletftpvariablewindowextension: P0) -> windows_core::Result<()> @@ -1693,7 +1693,7 @@ windows_core::imp::define_interface!(IWdsTransportSession, IWdsTransportSession_ impl std::ops::Deref for IWdsTransportSession { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1702,32 +1702,32 @@ windows_core::imp::interface_hierarchy!(IWdsTransportSession, windows_core::IUnk impl IWdsTransportSession { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Content(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Content)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NetworkInterfaceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkInterfaceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NetworkInterfaceAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkInterfaceAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TransferRate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransferRate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MasterClientId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MasterClientId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveClients(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetrieveClients)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Terminate(&self) -> windows_core::Result<()> { @@ -1743,8 +1743,8 @@ pub struct IWdsTransportSession_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Content: usize, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub NetworkInterfaceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NetworkInterfaceAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkInterfaceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NetworkInterfaceAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TransferRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MasterClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -1759,7 +1759,7 @@ windows_core::imp::define_interface!(IWdsTransportSetupManager, IWdsTransportSet impl std::ops::Deref for IWdsTransportSetupManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1767,15 +1767,15 @@ windows_core::imp::interface_hierarchy!(IWdsTransportSetupManager, windows_core: #[cfg(feature = "Win32_System_Com")] impl IWdsTransportSetupManager { pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InstalledFeatures(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstalledFeatures)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Protocols(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Protocols)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RegisterContentProvider(&self, bszname: P0, bszdescription: P1, bszfilepath: P2, bszinitializationroutine: P3) -> windows_core::Result<()> @@ -1801,8 +1801,8 @@ pub struct IWdsTransportSetupManager_Vtbl { pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub InstalledFeatures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Protocols: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub RegisterContentProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeregisterContentProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterContentProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeregisterContentProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportSetupManager2, IWdsTransportSetupManager2_Vtbl, 0x02be79da_7e9e_4366_8b6e_2aa9a91be47f); @@ -1810,7 +1810,7 @@ windows_core::imp::define_interface!(IWdsTransportSetupManager2, IWdsTransportSe impl std::ops::Deref for IWdsTransportSetupManager2 { type Target = IWdsTransportSetupManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1818,12 +1818,12 @@ windows_core::imp::interface_hierarchy!(IWdsTransportSetupManager2, windows_core #[cfg(feature = "Win32_System_Com")] impl IWdsTransportSetupManager2 { pub unsafe fn TftpCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TftpCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ContentProviders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContentProviders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1843,7 +1843,7 @@ windows_core::imp::define_interface!(IWdsTransportTftpClient, IWdsTransportTftpC impl std::ops::Deref for IWdsTransportTftpClient { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1851,31 +1851,31 @@ windows_core::imp::interface_hierarchy!(IWdsTransportTftpClient, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IWdsTransportTftpClient { pub unsafe fn FileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IpAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IpAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Timeout(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Timeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentFileOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFileOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FileSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BlockSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BlockSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WindowSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1883,8 +1883,8 @@ impl IWdsTransportTftpClient { #[repr(C)] pub struct IWdsTransportTftpClient_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IpAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Timeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CurrentFileOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub FileSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, @@ -1897,7 +1897,7 @@ windows_core::imp::define_interface!(IWdsTransportTftpManager, IWdsTransportTftp impl std::ops::Deref for IWdsTransportTftpManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1906,7 +1906,7 @@ windows_core::imp::interface_hierarchy!(IWdsTransportTftpManager, windows_core:: impl IWdsTransportTftpManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn RetrieveTftpClients(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetrieveTftpClients)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs index 72a3824b5e..46f8186b2f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs @@ -50,7 +50,7 @@ impl IRDPSRAPIApplication_Vtbl { let this = (*this).get_impl(); IRDPSRAPIApplication_Impl::SetShared(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn Name, Impl: IRDPSRAPIApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRDPSRAPIApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIApplication_Impl::Name(this) { @@ -217,7 +217,7 @@ impl IRDPSRAPIAttendee_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoteName, Impl: IRDPSRAPIAttendee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteName, Impl: IRDPSRAPIAttendee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIAttendee_Impl::RemoteName(this) { @@ -482,12 +482,12 @@ pub trait IRDPSRAPIDebug_Impl: Sized { impl windows_core::RuntimeName for IRDPSRAPIDebug {} impl IRDPSRAPIDebug_Vtbl { pub const fn new, Impl: IRDPSRAPIDebug_Impl, const OFFSET: isize>() -> IRDPSRAPIDebug_Vtbl { - unsafe extern "system" fn SetCLXCmdLine, Impl: IRDPSRAPIDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clxcmdline: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCLXCmdLine, Impl: IRDPSRAPIDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clxcmdline: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRDPSRAPIDebug_Impl::SetCLXCmdLine(this, core::mem::transmute(&clxcmdline)).into() } - unsafe extern "system" fn CLXCmdLine, Impl: IRDPSRAPIDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pclxcmdline: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CLXCmdLine, Impl: IRDPSRAPIDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pclxcmdline: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIDebug_Impl::CLXCmdLine(this) { @@ -591,7 +591,7 @@ impl windows_core::RuntimeName for IRDPSRAPIInvitation {} #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIInvitation_Vtbl { pub const fn new, Impl: IRDPSRAPIInvitation_Impl, const OFFSET: isize>() -> IRDPSRAPIInvitation_Vtbl { - unsafe extern "system" fn ConnectionString, Impl: IRDPSRAPIInvitation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectionString, Impl: IRDPSRAPIInvitation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIInvitation_Impl::ConnectionString(this) { @@ -602,7 +602,7 @@ impl IRDPSRAPIInvitation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GroupName, Impl: IRDPSRAPIInvitation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GroupName, Impl: IRDPSRAPIInvitation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIInvitation_Impl::GroupName(this) { @@ -613,7 +613,7 @@ impl IRDPSRAPIInvitation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Password, Impl: IRDPSRAPIInvitation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Password, Impl: IRDPSRAPIInvitation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIInvitation_Impl::Password(this) { @@ -694,7 +694,7 @@ impl IRDPSRAPIInvitationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IRDPSRAPIInvitationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: std::mem::MaybeUninit, ppinvitation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IRDPSRAPIInvitationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: core::mem::MaybeUninit, ppinvitation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIInvitationManager_Impl::get_Item(this, core::mem::transmute(&item)) { @@ -716,7 +716,7 @@ impl IRDPSRAPIInvitationManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateInvitation, Impl: IRDPSRAPIInvitationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthstring: std::mem::MaybeUninit, bstrgroupname: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, attendeelimit: i32, ppinvitation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInvitation, Impl: IRDPSRAPIInvitationManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthstring: core::mem::MaybeUninit, bstrgroupname: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, attendeelimit: i32, ppinvitation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIInvitationManager_Impl::CreateInvitation(this, core::mem::transmute(&bstrauthstring), core::mem::transmute(&bstrgroupname), core::mem::transmute(&bstrpassword), core::mem::transmute_copy(&attendeelimit)) { @@ -762,7 +762,7 @@ pub trait IRDPSRAPIPerfCounterLoggingManager_Impl: Sized { impl windows_core::RuntimeName for IRDPSRAPIPerfCounterLoggingManager {} impl IRDPSRAPIPerfCounterLoggingManager_Vtbl { pub const fn new, Impl: IRDPSRAPIPerfCounterLoggingManager_Impl, const OFFSET: isize>() -> IRDPSRAPIPerfCounterLoggingManager_Vtbl { - unsafe extern "system" fn CreateLogger, Impl: IRDPSRAPIPerfCounterLoggingManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcountername: std::mem::MaybeUninit, pplogger: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateLogger, Impl: IRDPSRAPIPerfCounterLoggingManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcountername: core::mem::MaybeUninit, pplogger: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIPerfCounterLoggingManager_Impl::CreateLogger(this, core::mem::transmute(&bstrcountername)) { @@ -789,7 +789,7 @@ impl windows_core::RuntimeName for IRDPSRAPISessionProperties {} #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPISessionProperties_Vtbl { pub const fn new, Impl: IRDPSRAPISessionProperties_Impl, const OFFSET: isize>() -> IRDPSRAPISessionProperties_Vtbl { - unsafe extern "system" fn get_Property, Impl: IRDPSRAPISessionProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Property, Impl: IRDPSRAPISessionProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPISessionProperties_Impl::get_Property(this, core::mem::transmute(&propertyname)) { @@ -800,7 +800,7 @@ impl IRDPSRAPISessionProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Property, Impl: IRDPSRAPISessionProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_Property, Impl: IRDPSRAPISessionProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRDPSRAPISessionProperties_Impl::put_Property(this, core::mem::transmute(&propertyname), core::mem::transmute(&newval)).into() @@ -928,7 +928,7 @@ impl IRDPSRAPISharingSession_Vtbl { let this = (*this).get_impl(); IRDPSRAPISharingSession_Impl::Resume(this).into() } - unsafe extern "system" fn ConnectToClient, Impl: IRDPSRAPISharingSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnectionstring: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectToClient, Impl: IRDPSRAPISharingSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnectionstring: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRDPSRAPISharingSession_Impl::ConnectToClient(this, core::mem::transmute(&bstrconnectionstring)).into() @@ -976,7 +976,7 @@ impl windows_core::RuntimeName for IRDPSRAPISharingSession2 {} #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPISharingSession2_Vtbl { pub const fn new, Impl: IRDPSRAPISharingSession2_Impl, const OFFSET: isize>() -> IRDPSRAPISharingSession2_Vtbl { - unsafe extern "system" fn ConnectUsingTransportStream, Impl: IRDPSRAPISharingSession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstream: *mut core::ffi::c_void, bstrgroup: std::mem::MaybeUninit, bstrauthenticatedattendeename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectUsingTransportStream, Impl: IRDPSRAPISharingSession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstream: *mut core::ffi::c_void, bstrgroup: core::mem::MaybeUninit, bstrauthenticatedattendeename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRDPSRAPISharingSession2_Impl::ConnectUsingTransportStream(this, windows_core::from_raw_borrowed(&pstream), core::mem::transmute(&bstrgroup), core::mem::transmute(&bstrauthenticatedattendeename)).into() @@ -1043,7 +1043,7 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LocalIP, Impl: IRDPSRAPITcpConnectionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbsrlocalip: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalIP, Impl: IRDPSRAPITcpConnectionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbsrlocalip: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPITcpConnectionInfo_Impl::LocalIP(this) { @@ -1065,7 +1065,7 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeerIP, Impl: IRDPSRAPITcpConnectionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrip: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PeerIP, Impl: IRDPSRAPITcpConnectionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrip: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPITcpConnectionInfo_Impl::PeerIP(this) { @@ -1325,7 +1325,7 @@ impl windows_core::RuntimeName for IRDPSRAPIViewer {} #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIViewer_Vtbl { pub const fn new, Impl: IRDPSRAPIViewer_Impl, const OFFSET: isize>() -> IRDPSRAPIViewer_Vtbl { - unsafe extern "system" fn Connect, Impl: IRDPSRAPIViewer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnectionstring: std::mem::MaybeUninit, bstrname: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Connect, Impl: IRDPSRAPIViewer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnectionstring: core::mem::MaybeUninit, bstrname: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRDPSRAPIViewer_Impl::Connect(this, core::mem::transmute(&bstrconnectionstring), core::mem::transmute(&bstrname), core::mem::transmute(&bstrpassword)).into() @@ -1400,12 +1400,12 @@ impl IRDPSRAPIViewer_Vtbl { let this = (*this).get_impl(); IRDPSRAPIViewer_Impl::RequestControl(this, core::mem::transmute_copy(&ctrllevel)).into() } - unsafe extern "system" fn SetDisconnectedText, Impl: IRDPSRAPIViewer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdisconnectedtext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisconnectedText, Impl: IRDPSRAPIViewer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdisconnectedtext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRDPSRAPIViewer_Impl::SetDisconnectedText(this, core::mem::transmute(&bstrdisconnectedtext)).into() } - unsafe extern "system" fn DisconnectedText, Impl: IRDPSRAPIViewer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisconnectedtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisconnectedText, Impl: IRDPSRAPIViewer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisconnectedtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::DisconnectedText(this) { @@ -1432,7 +1432,7 @@ impl IRDPSRAPIViewer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StartReverseConnectListener, Impl: IRDPSRAPIViewer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnectionstring: std::mem::MaybeUninit, bstrusername: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, pbstrreverseconnectstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StartReverseConnectListener, Impl: IRDPSRAPIViewer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnectionstring: core::mem::MaybeUninit, bstrusername: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, pbstrreverseconnectstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIViewer_Impl::StartReverseConnectListener(this, core::mem::transmute(&bstrconnectionstring), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrpassword)) { @@ -1478,7 +1478,7 @@ impl windows_core::RuntimeName for IRDPSRAPIVirtualChannel {} #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIVirtualChannel_Vtbl { pub const fn new, Impl: IRDPSRAPIVirtualChannel_Impl, const OFFSET: isize>() -> IRDPSRAPIVirtualChannel_Vtbl { - unsafe extern "system" fn SendData, Impl: IRDPSRAPIVirtualChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: std::mem::MaybeUninit, lattendeeid: i32, channelsendflags: u32) -> windows_core::HRESULT { + unsafe extern "system" fn SendData, Impl: IRDPSRAPIVirtualChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: core::mem::MaybeUninit, lattendeeid: i32, channelsendflags: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRDPSRAPIVirtualChannel_Impl::SendData(this, core::mem::transmute(&bstrdata), core::mem::transmute_copy(&lattendeeid), core::mem::transmute_copy(&channelsendflags)).into() @@ -1488,7 +1488,7 @@ impl IRDPSRAPIVirtualChannel_Vtbl { let this = (*this).get_impl(); IRDPSRAPIVirtualChannel_Impl::SetAccess(this, core::mem::transmute_copy(&lattendeeid), core::mem::transmute_copy(&accesstype)).into() } - unsafe extern "system" fn Name, Impl: IRDPSRAPIVirtualChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRDPSRAPIVirtualChannel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIVirtualChannel_Impl::Name(this) { @@ -1556,7 +1556,7 @@ impl IRDPSRAPIVirtualChannelManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IRDPSRAPIVirtualChannelManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: std::mem::MaybeUninit, pchannel: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IRDPSRAPIVirtualChannelManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: core::mem::MaybeUninit, pchannel: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIVirtualChannelManager_Impl::get_Item(this, core::mem::transmute(&item)) { @@ -1567,7 +1567,7 @@ impl IRDPSRAPIVirtualChannelManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateVirtualChannel, Impl: IRDPSRAPIVirtualChannelManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrchannelname: std::mem::MaybeUninit, priority: CHANNEL_PRIORITY, channelflags: u32, ppchannel: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateVirtualChannel, Impl: IRDPSRAPIVirtualChannelManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrchannelname: core::mem::MaybeUninit, priority: CHANNEL_PRIORITY, channelflags: u32, ppchannel: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIVirtualChannelManager_Impl::CreateVirtualChannel(this, core::mem::transmute(&bstrchannelname), core::mem::transmute_copy(&priority), core::mem::transmute_copy(&channelflags)) { @@ -1642,7 +1642,7 @@ impl IRDPSRAPIWindow_Vtbl { let this = (*this).get_impl(); IRDPSRAPIWindow_Impl::SetShared(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn Name, Impl: IRDPSRAPIWindow_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRDPSRAPIWindow_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRDPSRAPIWindow_Impl::Name(this) { 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 953ce00ea0..5f98bee305 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IRDPSRAPIApplication, IRDPSRAPIApplication_ impl std::ops::Deref for IRDPSRAPIApplication { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -13,15 +13,15 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIApplication, windows_core::IUnk impl IRDPSRAPIApplication { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Windows)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Shared(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Shared)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShared(&self, newval: P0) -> windows_core::Result<()> @@ -31,11 +31,11 @@ impl IRDPSRAPIApplication { (windows_core::Interface::vtable(self).SetShared)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Flags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -50,7 +50,7 @@ pub struct IRDPSRAPIApplication_Vtbl { pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Shared: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetShared: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -59,7 +59,7 @@ windows_core::imp::define_interface!(IRDPSRAPIApplicationFilter, IRDPSRAPIApplic impl std::ops::Deref for IRDPSRAPIApplicationFilter { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -68,16 +68,16 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIApplicationFilter, windows_core impl IRDPSRAPIApplicationFilter { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Applications(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Applications)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Windows)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, newval: P0) -> windows_core::Result<()> @@ -108,7 +108,7 @@ windows_core::imp::define_interface!(IRDPSRAPIApplicationList, IRDPSRAPIApplicat impl std::ops::Deref for IRDPSRAPIApplicationList { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -116,12 +116,12 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIApplicationList, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIApplicationList { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, item: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), item, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -141,7 +141,7 @@ windows_core::imp::define_interface!(IRDPSRAPIAttendee, IRDPSRAPIAttendee_Vtbl, impl std::ops::Deref for IRDPSRAPIAttendee { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -149,15 +149,15 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIAttendee, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIAttendee { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemoteName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ControlLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ControlLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetControlLevel(&self, pnewval: CTRL_LEVEL) -> windows_core::Result<()> { @@ -165,18 +165,18 @@ impl IRDPSRAPIAttendee { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Invitation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Invitation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ConnectivityInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectivityInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -185,7 +185,7 @@ impl IRDPSRAPIAttendee { pub struct IRDPSRAPIAttendee_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub RemoteName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ControlLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CTRL_LEVEL) -> windows_core::HRESULT, pub SetControlLevel: unsafe extern "system" fn(*mut core::ffi::c_void, CTRL_LEVEL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -202,7 +202,7 @@ windows_core::imp::define_interface!(IRDPSRAPIAttendeeDisconnectInfo, IRDPSRAPIA impl std::ops::Deref for IRDPSRAPIAttendeeDisconnectInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -211,15 +211,15 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIAttendeeDisconnectInfo, windows impl IRDPSRAPIAttendeeDisconnectInfo { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Attendee(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Attendee)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reason(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Reason)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Code(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Code)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -240,7 +240,7 @@ windows_core::imp::define_interface!(IRDPSRAPIAttendeeManager, IRDPSRAPIAttendee impl std::ops::Deref for IRDPSRAPIAttendeeManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -248,12 +248,12 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIAttendeeManager, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIAttendeeManager { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, id: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -271,13 +271,13 @@ windows_core::imp::define_interface!(IRDPSRAPIAudioStream, IRDPSRAPIAudioStream_ impl std::ops::Deref for IRDPSRAPIAudioStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRDPSRAPIAudioStream, windows_core::IUnknown); impl IRDPSRAPIAudioStream { pub unsafe fn Initialize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -306,7 +306,7 @@ windows_core::imp::define_interface!(IRDPSRAPIClipboardUseEvents, IRDPSRAPIClipb impl std::ops::Deref for IRDPSRAPIClipboardUseEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRDPSRAPIClipboardUseEvents, windows_core::IUnknown); @@ -316,7 +316,7 @@ impl IRDPSRAPIClipboardUseEvents { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnPasteFromClipboard)(windows_core::Interface::as_raw(self), clipboardformat, pattendee.param().abi(), &mut result__).map(|| result__) } } @@ -332,7 +332,7 @@ windows_core::imp::define_interface!(IRDPSRAPIDebug, IRDPSRAPIDebug_Vtbl, 0xaa1e impl std::ops::Deref for IRDPSRAPIDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRDPSRAPIDebug, windows_core::IUnknown); @@ -344,15 +344,15 @@ impl IRDPSRAPIDebug { (windows_core::Interface::vtable(self).SetCLXCmdLine)(windows_core::Interface::as_raw(self), clxcmdline.param().abi()).ok() } pub unsafe fn CLXCmdLine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CLXCmdLine)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IRDPSRAPIDebug_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub SetCLXCmdLine: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CLXCmdLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCLXCmdLine: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CLXCmdLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIFrameBuffer, IRDPSRAPIFrameBuffer_Vtbl, 0x3d67e7d2_b27b_448e_81b3_c6110ed8b4be); @@ -360,7 +360,7 @@ windows_core::imp::define_interface!(IRDPSRAPIFrameBuffer, IRDPSRAPIFrameBuffer_ impl std::ops::Deref for IRDPSRAPIFrameBuffer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -368,20 +368,20 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIFrameBuffer, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIFrameBuffer { pub unsafe fn Width(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Height(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Height)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Bpp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bpp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameBufferBits)(windows_core::Interface::as_raw(self), x, y, width, heigth, &mut result__).map(|| result__) } } @@ -403,7 +403,7 @@ windows_core::imp::define_interface!(IRDPSRAPIInvitation, IRDPSRAPIInvitation_Vt impl std::ops::Deref for IRDPSRAPIInvitation { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -411,26 +411,26 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIInvitation, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIInvitation { pub unsafe fn ConnectionString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectionString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GroupName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GroupName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Password(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Password)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AttendeeLimit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttendeeLimit)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Revoked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRevoked(&self, newval: P0) -> windows_core::Result<()> @@ -444,9 +444,9 @@ impl IRDPSRAPIInvitation { #[repr(C)] pub struct IRDPSRAPIInvitation_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ConnectionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AttendeeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAttendeeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Revoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -458,7 +458,7 @@ windows_core::imp::define_interface!(IRDPSRAPIInvitationManager, IRDPSRAPIInvita impl std::ops::Deref for IRDPSRAPIInvitationManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -466,7 +466,7 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIInvitationManager, windows_core #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIInvitationManager { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -474,11 +474,11 @@ impl IRDPSRAPIInvitationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -488,7 +488,7 @@ impl IRDPSRAPIInvitationManager { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInvitation)(windows_core::Interface::as_raw(self), bstrauthstring.param().abi(), bstrgroupname.param().abi(), bstrpassword.param().abi(), attendeelimit, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -498,12 +498,12 @@ pub struct IRDPSRAPIInvitationManager_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub CreateInvitation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInvitation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateInvitation: usize, } @@ -511,7 +511,7 @@ windows_core::imp::define_interface!(IRDPSRAPIPerfCounterLogger, IRDPSRAPIPerfCo impl std::ops::Deref for IRDPSRAPIPerfCounterLogger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRDPSRAPIPerfCounterLogger, windows_core::IUnknown); @@ -529,7 +529,7 @@ windows_core::imp::define_interface!(IRDPSRAPIPerfCounterLoggingManager, IRDPSRA impl std::ops::Deref for IRDPSRAPIPerfCounterLoggingManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRDPSRAPIPerfCounterLoggingManager, windows_core::IUnknown); @@ -538,14 +538,14 @@ impl IRDPSRAPIPerfCounterLoggingManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLogger)(windows_core::Interface::as_raw(self), bstrcountername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IRDPSRAPIPerfCounterLoggingManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateLogger: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLogger: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPISessionProperties, IRDPSRAPISessionProperties_Vtbl, 0x339b24f2_9bc0_4f16_9aac_f165433d13d4); @@ -553,7 +553,7 @@ windows_core::imp::define_interface!(IRDPSRAPISessionProperties, IRDPSRAPISessio impl std::ops::Deref for IRDPSRAPISessionProperties { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -564,7 +564,7 @@ impl IRDPSRAPISessionProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self), propertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_Property(&self, propertyname: P0, newval: P1) -> windows_core::Result<()> @@ -579,8 +579,8 @@ impl IRDPSRAPISessionProperties { #[repr(C)] pub struct IRDPSRAPISessionProperties_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPISharingSession, IRDPSRAPISharingSession_Vtbl, 0xeeb20886_e470_4cf6_842b_2739c0ec5cfb); @@ -588,7 +588,7 @@ windows_core::imp::define_interface!(IRDPSRAPISharingSession, IRDPSRAPISharingSe impl std::ops::Deref for IRDPSRAPISharingSession { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -605,32 +605,32 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ColorDepth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Attendees(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Attendees)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Invitations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Invitations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn VirtualChannelManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VirtualChannelManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Pause(&self) -> windows_core::Result<()> { @@ -682,7 +682,7 @@ pub struct IRDPSRAPISharingSession_Vtbl { VirtualChannelManager: usize, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ConnectToClient: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectToClient: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetDesktopSharedRect: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32) -> windows_core::HRESULT, pub GetDesktopSharedRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, } @@ -692,7 +692,7 @@ windows_core::imp::define_interface!(IRDPSRAPISharingSession2, IRDPSRAPISharingS impl std::ops::Deref for IRDPSRAPISharingSession2 { type Target = IRDPSRAPISharingSession; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -709,7 +709,7 @@ impl IRDPSRAPISharingSession2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FrameBuffer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FrameBuffer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -724,7 +724,7 @@ impl IRDPSRAPISharingSession2 { #[repr(C)] pub struct IRDPSRAPISharingSession2_Vtbl { pub base__: IRDPSRAPISharingSession_Vtbl, - pub ConnectUsingTransportStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectUsingTransportStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub FrameBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -740,7 +740,7 @@ windows_core::imp::define_interface!(IRDPSRAPITcpConnectionInfo, IRDPSRAPITcpCon impl std::ops::Deref for IRDPSRAPITcpConnectionInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -748,23 +748,23 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPITcpConnectionInfo, windows_core #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPITcpConnectionInfo { pub unsafe fn Protocol(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Protocol)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalIP(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalIP)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PeerPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeerPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PeerIP(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeerIP)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -774,21 +774,21 @@ pub struct IRDPSRAPITcpConnectionInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LocalPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub LocalIP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalIP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PeerPort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub PeerIP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PeerIP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRDPSRAPITransportStream, IRDPSRAPITransportStream_Vtbl, 0x36cfa065_43bb_4ef7_aed7_9b88a5053036); impl std::ops::Deref for IRDPSRAPITransportStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRDPSRAPITransportStream, windows_core::IUnknown); impl IRDPSRAPITransportStream { pub unsafe fn AllocBuffer(&self, maxpayload: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocBuffer)(windows_core::Interface::as_raw(self), maxpayload, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FreeBuffer(&self, pbuffer: P0) -> windows_core::Result<()> @@ -833,42 +833,42 @@ windows_core::imp::define_interface!(IRDPSRAPITransportStreamBuffer, IRDPSRAPITr impl std::ops::Deref for IRDPSRAPITransportStreamBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRDPSRAPITransportStreamBuffer, windows_core::IUnknown); impl IRDPSRAPITransportStreamBuffer { pub unsafe fn Storage(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Storage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StorageSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StorageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PayloadSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PayloadSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PayloadOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Context)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContext(&self, pcontext: P0) -> windows_core::Result<()> @@ -896,7 +896,7 @@ windows_core::imp::define_interface!(IRDPSRAPITransportStreamEvents, IRDPSRAPITr impl std::ops::Deref for IRDPSRAPITransportStreamEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRDPSRAPITransportStreamEvents, windows_core::IUnknown); @@ -930,7 +930,7 @@ windows_core::imp::define_interface!(IRDPSRAPIViewer, IRDPSRAPIViewer_Vtbl, 0xc6 impl std::ops::Deref for IRDPSRAPIViewer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -950,22 +950,22 @@ impl IRDPSRAPIViewer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Attendees(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Attendees)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Invitations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Invitations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ApplicationFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn VirtualChannelManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VirtualChannelManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSmartSizing(&self, vbsmartsizing: P0) -> windows_core::Result<()> @@ -975,7 +975,7 @@ impl IRDPSRAPIViewer { (windows_core::Interface::vtable(self).SetSmartSizing)(windows_core::Interface::as_raw(self), vbsmartsizing.param().abi()).ok() } pub unsafe fn SmartSizing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmartSizing)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequestControl(&self, ctrllevel: CTRL_LEVEL) -> windows_core::Result<()> { @@ -988,7 +988,7 @@ impl IRDPSRAPIViewer { (windows_core::Interface::vtable(self).SetDisconnectedText)(windows_core::Interface::as_raw(self), bstrdisconnectedtext.param().abi()).ok() } pub unsafe fn DisconnectedText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisconnectedText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestColorDepthChange(&self, bpp: i32) -> windows_core::Result<()> { @@ -996,7 +996,7 @@ impl IRDPSRAPIViewer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartReverseConnectListener(&self, bstrconnectionstring: P0, bstrusername: P1, bstrpassword: P2) -> windows_core::Result @@ -1005,7 +1005,7 @@ impl IRDPSRAPIViewer { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartReverseConnectListener)(windows_core::Interface::as_raw(self), bstrconnectionstring.param().abi(), bstrusername.param().abi(), bstrpassword.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1013,7 +1013,7 @@ impl IRDPSRAPIViewer { #[repr(C)] pub struct IRDPSRAPIViewer_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Attendees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1034,14 +1034,14 @@ pub struct IRDPSRAPIViewer_Vtbl { pub SetSmartSizing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SmartSizing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub RequestControl: unsafe extern "system" fn(*mut core::ffi::c_void, CTRL_LEVEL) -> windows_core::HRESULT, - pub SetDisconnectedText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisconnectedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisconnectedText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisconnectedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RequestColorDepthChange: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, - pub StartReverseConnectListener: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartReverseConnectListener: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIVirtualChannel, IRDPSRAPIVirtualChannel_Vtbl, 0x05e12f95_28b3_4c9a_8780_d0248574a1e0); @@ -1049,7 +1049,7 @@ windows_core::imp::define_interface!(IRDPSRAPIVirtualChannel, IRDPSRAPIVirtualCh impl std::ops::Deref for IRDPSRAPIVirtualChannel { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1066,15 +1066,15 @@ impl IRDPSRAPIVirtualChannel { (windows_core::Interface::vtable(self).SetAccess)(windows_core::Interface::as_raw(self), lattendeeid, accesstype).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Flags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Priority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1082,9 +1082,9 @@ impl IRDPSRAPIVirtualChannel { #[repr(C)] pub struct IRDPSRAPIVirtualChannel_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub SendData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, u32) -> windows_core::HRESULT, + pub SendData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, u32) -> windows_core::HRESULT, pub SetAccess: unsafe extern "system" fn(*mut core::ffi::c_void, i32, CHANNEL_ACCESS_ENUM) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CHANNEL_PRIORITY) -> windows_core::HRESULT, } @@ -1094,7 +1094,7 @@ windows_core::imp::define_interface!(IRDPSRAPIVirtualChannelManager, IRDPSRAPIVi impl std::ops::Deref for IRDPSRAPIVirtualChannelManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1102,7 +1102,7 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIVirtualChannelManager, windows_ #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIVirtualChannelManager { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1110,7 +1110,7 @@ impl IRDPSRAPIVirtualChannelManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), item.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1118,7 +1118,7 @@ impl IRDPSRAPIVirtualChannelManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVirtualChannel)(windows_core::Interface::as_raw(self), bstrchannelname.param().abi(), priority, channelflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1128,11 +1128,11 @@ pub struct IRDPSRAPIVirtualChannelManager_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateVirtualChannel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, CHANNEL_PRIORITY, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateVirtualChannel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, CHANNEL_PRIORITY, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateVirtualChannel: usize, } @@ -1142,7 +1142,7 @@ windows_core::imp::define_interface!(IRDPSRAPIWindow, IRDPSRAPIWindow_Vtbl, 0xbe impl std::ops::Deref for IRDPSRAPIWindow { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1150,16 +1150,16 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIWindow, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIWindow { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Shared(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Shared)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShared(&self, newval: P0) -> windows_core::Result<()> @@ -1169,14 +1169,14 @@ impl IRDPSRAPIWindow { (windows_core::Interface::vtable(self).SetShared)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1191,7 +1191,7 @@ pub struct IRDPSRAPIWindow_Vtbl { Application: usize, pub Shared: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetShared: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Show: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } @@ -1201,7 +1201,7 @@ windows_core::imp::define_interface!(IRDPSRAPIWindowList, IRDPSRAPIWindowList_Vt impl std::ops::Deref for IRDPSRAPIWindowList { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1209,12 +1209,12 @@ windows_core::imp::interface_hierarchy!(IRDPSRAPIWindowList, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIWindowList { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, item: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), item, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1232,7 +1232,7 @@ windows_core::imp::define_interface!(IRDPViewerInputSink, IRDPViewerInputSink_Vt impl std::ops::Deref for IRDPViewerInputSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRDPViewerInputSink, windows_core::IUnknown); @@ -1288,7 +1288,7 @@ windows_core::imp::define_interface!(_IRDPSessionEvents, _IRDPSessionEvents_Vtbl impl std::ops::Deref for _IRDPSessionEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] 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 1003e8958a..c4a7dbf729 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeveloperLicensing/mod.rs @@ -4,13 +4,13 @@ where P0: windows_core::Param, { windows_targets::link!("wsclient.dll" "system" fn AcquireDeveloperLicense(hwndparent : super::super::Foundation:: HWND, pexpiration : *mut super::super::Foundation:: FILETIME) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AcquireDeveloperLicense(hwndparent.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn CheckDeveloperLicense() -> windows_core::Result { windows_targets::link!("wsclient.dll" "system" fn CheckDeveloperLicense(pexpiration : *mut super::super::Foundation:: FILETIME) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CheckDeveloperLicense(&mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs index a6390eb79d..e4ee1e7bfb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ICorProfilerAssemblyReferenceProvider, ICor impl std::ops::Deref for ICorProfilerAssemblyReferenceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerAssemblyReferenceProvider, windows_core::IUnknown); @@ -24,7 +24,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback, ICorProfilerCallback_ impl std::ops::Deref for ICorProfilerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback, windows_core::IUnknown); @@ -105,7 +105,7 @@ impl ICorProfilerCallback { (windows_core::Interface::vtable(self).JITCompilationFinished)(windows_core::Interface::as_raw(self), functionid, hrstatus, fissafetoblock.param().abi()).ok() } pub unsafe fn JITCachedFunctionSearchStarted(&self, functionid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JITCachedFunctionSearchStarted)(windows_core::Interface::as_raw(self), functionid, &mut result__).map(|| result__) } pub unsafe fn JITCachedFunctionSearchFinished(&self, functionid: usize, result: COR_PRF_JIT_CACHE) -> windows_core::Result<()> { @@ -115,7 +115,7 @@ impl ICorProfilerCallback { (windows_core::Interface::vtable(self).JITFunctionPitched)(windows_core::Interface::as_raw(self), functionid).ok() } pub unsafe fn JITInlining(&self, callerid: usize, calleeid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JITInlining)(windows_core::Interface::as_raw(self), callerid, calleeid, &mut result__).map(|| result__) } pub unsafe fn ThreadCreated(&self, threadid: usize) -> windows_core::Result<()> { @@ -337,7 +337,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback10, ICorProfilerCallbac impl std::ops::Deref for ICorProfilerCallback10 { type Target = ICorProfilerCallback9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback10, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7, ICorProfilerCallback8, ICorProfilerCallback9); @@ -359,7 +359,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback11, ICorProfilerCallbac impl std::ops::Deref for ICorProfilerCallback11 { type Target = ICorProfilerCallback10; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback11, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7, ICorProfilerCallback8, ICorProfilerCallback9, ICorProfilerCallback10); @@ -377,7 +377,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback2, ICorProfilerCallback impl std::ops::Deref for ICorProfilerCallback2 { type Target = ICorProfilerCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback2, windows_core::IUnknown, ICorProfilerCallback); @@ -423,7 +423,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback3, ICorProfilerCallback impl std::ops::Deref for ICorProfilerCallback3 { type Target = ICorProfilerCallback2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback3, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2); @@ -452,7 +452,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback4, ICorProfilerCallback impl std::ops::Deref for ICorProfilerCallback4 { type Target = ICorProfilerCallback3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback4, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3); @@ -499,7 +499,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback5, ICorProfilerCallback impl std::ops::Deref for ICorProfilerCallback5 { type Target = ICorProfilerCallback4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback5, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4); @@ -517,7 +517,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback6, ICorProfilerCallback impl std::ops::Deref for ICorProfilerCallback6 { type Target = ICorProfilerCallback5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback6, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5); @@ -539,7 +539,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback7, ICorProfilerCallback impl std::ops::Deref for ICorProfilerCallback7 { type Target = ICorProfilerCallback6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback7, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6); @@ -557,7 +557,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback8, ICorProfilerCallback impl std::ops::Deref for ICorProfilerCallback8 { type Target = ICorProfilerCallback7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback8, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7); @@ -585,7 +585,7 @@ windows_core::imp::define_interface!(ICorProfilerCallback9, ICorProfilerCallback impl std::ops::Deref for ICorProfilerCallback9 { type Target = ICorProfilerCallback8; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerCallback9, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7, ICorProfilerCallback8); @@ -603,7 +603,7 @@ windows_core::imp::define_interface!(ICorProfilerFunctionControl, ICorProfilerFu impl std::ops::Deref for ICorProfilerFunctionControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerFunctionControl, windows_core::IUnknown); @@ -629,7 +629,7 @@ windows_core::imp::define_interface!(ICorProfilerFunctionEnum, ICorProfilerFunct impl std::ops::Deref for ICorProfilerFunctionEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerFunctionEnum, windows_core::IUnknown); @@ -641,11 +641,11 @@ impl ICorProfilerFunctionEnum { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Next(&self, ids: &mut [COR_PRF_FUNCTION], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -665,40 +665,40 @@ windows_core::imp::define_interface!(ICorProfilerInfo, ICorProfilerInfo_Vtbl, 0x impl std::ops::Deref for ICorProfilerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo, windows_core::IUnknown); impl ICorProfilerInfo { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClassFromObject)(windows_core::Interface::as_raw(self), objectid, &mut result__).map(|| result__) } pub unsafe fn GetClassFromToken(&self, moduleid: usize, typedef: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClassFromToken)(windows_core::Interface::as_raw(self), moduleid, typedef, &mut result__).map(|| result__) } pub unsafe fn GetCodeInfo(&self, functionid: usize, pstart: *mut *mut u8, pcsize: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCodeInfo)(windows_core::Interface::as_raw(self), functionid, pstart, pcsize).ok() } pub unsafe fn GetEventMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFunctionFromIP(&self, ip: *const u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionFromIP)(windows_core::Interface::as_raw(self), ip, &mut result__).map(|| result__) } pub unsafe fn GetFunctionFromToken(&self, moduleid: usize, token: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionFromToken)(windows_core::Interface::as_raw(self), moduleid, token, &mut result__).map(|| result__) } pub unsafe fn GetHandleFromThread(&self, threadid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHandleFromThread)(windows_core::Interface::as_raw(self), threadid, &mut result__).map(|| result__) } pub unsafe fn GetObjectSize(&self, objectid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectSize)(windows_core::Interface::as_raw(self), objectid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_WinRT_Metadata")] @@ -706,11 +706,11 @@ impl ICorProfilerInfo { (windows_core::Interface::vtable(self).IsArrayClass)(windows_core::Interface::as_raw(self), classid, pbaseelemtype, pbaseclassid, pcrank).ok() } pub unsafe fn GetThreadInfo(&self, threadid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadInfo)(windows_core::Interface::as_raw(self), threadid, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetClassIDInfo(&self, classid: usize, pmoduleid: *mut usize, ptypedeftoken: *mut u32) -> windows_core::Result<()> { @@ -735,14 +735,14 @@ impl ICorProfilerInfo { (windows_core::Interface::vtable(self).GetModuleInfo)(windows_core::Interface::as_raw(self), moduleid, ppbaseloadaddress, szname.len().try_into().unwrap(), pcchname, core::mem::transmute(szname.as_ptr()), passemblyid).ok() } pub unsafe fn GetModuleMetaData(&self, moduleid: usize, dwopenflags: u32, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModuleMetaData)(windows_core::Interface::as_raw(self), moduleid, dwopenflags, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetILFunctionBody(&self, moduleid: usize, methodid: u32, ppmethodheader: *mut *mut u8, pcbmethodsize: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetILFunctionBody)(windows_core::Interface::as_raw(self), moduleid, methodid, ppmethodheader, pcbmethodsize).ok() } pub unsafe fn GetILFunctionBodyAllocator(&self, moduleid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetILFunctionBodyAllocator)(windows_core::Interface::as_raw(self), moduleid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetILFunctionBody(&self, moduleid: usize, methodid: u32, pbnewilmethodheader: *const u8) -> windows_core::Result<()> { @@ -767,22 +767,22 @@ impl ICorProfilerInfo { (windows_core::Interface::vtable(self).SetILInstrumentedCodeMap)(windows_core::Interface::as_raw(self), functionid, fstartjit.param().abi(), rgilmapentries.len().try_into().unwrap(), core::mem::transmute(rgilmapentries.as_ptr())).ok() } pub unsafe fn GetInprocInspectionInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInprocInspectionInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInprocInspectionIThisThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInprocInspectionIThisThread)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetThreadContext(&self, threadid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadContext)(windows_core::Interface::as_raw(self), threadid, &mut result__).map(|| result__) } pub unsafe fn BeginInprocDebugging(&self, fthisthreadonly: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginInprocDebugging)(windows_core::Interface::as_raw(self), fthisthreadonly.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EndInprocDebugging(&self, dwprofilercontext: u32) -> windows_core::Result<()> { @@ -836,7 +836,7 @@ windows_core::imp::define_interface!(ICorProfilerInfo10, ICorProfilerInfo10_Vtbl impl std::ops::Deref for ICorProfilerInfo10 { type Target = ICorProfilerInfo9; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo10, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9); @@ -874,7 +874,7 @@ windows_core::imp::define_interface!(ICorProfilerInfo11, ICorProfilerInfo11_Vtbl impl std::ops::Deref for ICorProfilerInfo11 { type Target = ICorProfilerInfo10; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo11, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10); @@ -903,7 +903,7 @@ windows_core::imp::define_interface!(ICorProfilerInfo12, ICorProfilerInfo12_Vtbl impl std::ops::Deref for ICorProfilerInfo12 { type Target = ICorProfilerInfo11; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo12, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10, ICorProfilerInfo11); @@ -912,7 +912,7 @@ impl ICorProfilerInfo12 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventPipeStartSession)(windows_core::Interface::as_raw(self), pproviderconfigs.len().try_into().unwrap(), core::mem::transmute(pproviderconfigs.as_ptr()), requestrundown.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EventPipeAddProviderToSession(&self, session: u64, providerconfig: COR_PRF_EVENTPIPE_PROVIDER_CONFIG) -> windows_core::Result<()> { @@ -925,7 +925,7 @@ impl ICorProfilerInfo12 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventPipeCreateProvider)(windows_core::Interface::as_raw(self), providername.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EventPipeGetProviderInfo(&self, provider: usize, pcchname: *mut u32, providername: &mut [u16]) -> windows_core::Result<()> { @@ -936,7 +936,7 @@ impl ICorProfilerInfo12 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventPipeDefineEvent)(windows_core::Interface::as_raw(self), provider, eventname.param().abi(), eventid, keywords, eventversion, level, opcode, needstack.param().abi(), pparamdescs.len().try_into().unwrap(), core::mem::transmute(pparamdescs.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn EventPipeWriteEvent(&self, event: usize, data: &[COR_PRF_EVENT_DATA], pactivityid: *const windows_core::GUID, prelatedactivityid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -958,7 +958,7 @@ windows_core::imp::define_interface!(ICorProfilerInfo13, ICorProfilerInfo13_Vtbl impl std::ops::Deref for ICorProfilerInfo13 { type Target = ICorProfilerInfo12; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo13, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10, ICorProfilerInfo11, ICorProfilerInfo12); @@ -970,7 +970,7 @@ impl ICorProfilerInfo13 { (windows_core::Interface::vtable(self).DestroyHandle)(windows_core::Interface::as_raw(self), handle).ok() } pub unsafe fn GetObjectIDFromHandle(&self, handle: *const *const core::ffi::c_void) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectIDFromHandle)(windows_core::Interface::as_raw(self), handle, &mut result__).map(|| result__) } } @@ -985,13 +985,13 @@ windows_core::imp::define_interface!(ICorProfilerInfo14, ICorProfilerInfo14_Vtbl impl std::ops::Deref for ICorProfilerInfo14 { type Target = ICorProfilerInfo13; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo14, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10, ICorProfilerInfo11, ICorProfilerInfo12, ICorProfilerInfo13); impl ICorProfilerInfo14 { pub unsafe fn EnumerateNonGCObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateNonGCObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNonGCHeapBounds(&self, pcobjectranges: *mut u32, ranges: &mut [COR_PRF_NONGC_HEAP_RANGE]) -> windows_core::Result<()> { @@ -1001,7 +1001,7 @@ impl ICorProfilerInfo14 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventPipeCreateProvider2)(windows_core::Interface::as_raw(self), providername.param().abi(), pcallback, &mut result__).map(|| result__) } } @@ -1016,7 +1016,7 @@ windows_core::imp::define_interface!(ICorProfilerInfo2, ICorProfilerInfo2_Vtbl, impl std::ops::Deref for ICorProfilerInfo2 { type Target = ICorProfilerInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo2, windows_core::IUnknown, ICorProfilerInfo); @@ -1044,26 +1044,26 @@ impl ICorProfilerInfo2 { (windows_core::Interface::vtable(self).GetCodeInfo2)(windows_core::Interface::as_raw(self), functionid, codeinfos.len().try_into().unwrap(), pccodeinfos, core::mem::transmute(codeinfos.as_ptr())).ok() } pub unsafe fn GetClassFromTokenAndTypeArgs(&self, moduleid: usize, typedef: u32, typeargs: &[usize]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClassFromTokenAndTypeArgs)(windows_core::Interface::as_raw(self), moduleid, typedef, typeargs.len().try_into().unwrap(), core::mem::transmute(typeargs.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn GetFunctionFromTokenAndTypeArgs(&self, moduleid: usize, funcdef: u32, classid: usize, typeargs: &[usize]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionFromTokenAndTypeArgs)(windows_core::Interface::as_raw(self), moduleid, funcdef, classid, typeargs.len().try_into().unwrap(), core::mem::transmute(typeargs.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn EnumModuleFrozenObjects(&self, moduleid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumModuleFrozenObjects)(windows_core::Interface::as_raw(self), moduleid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetArrayObjectInfo(&self, objectid: usize, cdimensions: u32, pdimensionsizes: *mut u32, pdimensionlowerbounds: *mut i32, ppdata: *mut *mut u8) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetArrayObjectInfo)(windows_core::Interface::as_raw(self), objectid, cdimensions, pdimensionsizes, pdimensionlowerbounds, ppdata).ok() } pub unsafe fn GetBoxClassLayout(&self, classid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoxClassLayout)(windows_core::Interface::as_raw(self), classid, &mut result__).map(|| result__) } pub unsafe fn GetThreadAppDomain(&self, threadid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadAppDomain)(windows_core::Interface::as_raw(self), threadid, &mut result__).map(|| result__) } pub unsafe fn GetRVAStaticAddress(&self, classid: usize, fieldtoken: u32, ppaddress: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -1079,18 +1079,18 @@ impl ICorProfilerInfo2 { (windows_core::Interface::vtable(self).GetContextStaticAddress)(windows_core::Interface::as_raw(self), classid, fieldtoken, contextid, ppaddress).ok() } pub unsafe fn GetStaticFieldInfo(&self, classid: usize, fieldtoken: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStaticFieldInfo)(windows_core::Interface::as_raw(self), classid, fieldtoken, &mut result__).map(|| result__) } pub unsafe fn GetGenerationBounds(&self, pcobjectranges: *mut u32, ranges: &mut [COR_PRF_GC_GENERATION_RANGE]) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetGenerationBounds)(windows_core::Interface::as_raw(self), ranges.len().try_into().unwrap(), pcobjectranges, core::mem::transmute(ranges.as_ptr())).ok() } pub unsafe fn GetObjectGeneration(&self, objectid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectGeneration)(windows_core::Interface::as_raw(self), objectid, &mut result__).map(|| result__) } pub unsafe fn GetNotifiedExceptionClauseInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifiedExceptionClauseInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1126,13 +1126,13 @@ windows_core::imp::define_interface!(ICorProfilerInfo3, ICorProfilerInfo3_Vtbl, impl std::ops::Deref for ICorProfilerInfo3 { type Target = ICorProfilerInfo2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo3, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2); impl ICorProfilerInfo3 { pub unsafe fn EnumJITedFunctions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumJITedFunctions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestProfilerDetach(&self, dwexpectedcompletionmilliseconds: u32) -> windows_core::Result<()> { @@ -1157,11 +1157,11 @@ impl ICorProfilerInfo3 { (windows_core::Interface::vtable(self).GetFunctionLeave3Info)(windows_core::Interface::as_raw(self), functionid, eltinfo, pframeinfo, pretvalrange).ok() } pub unsafe fn GetFunctionTailcall3Info(&self, functionid: usize, eltinfo: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionTailcall3Info)(windows_core::Interface::as_raw(self), functionid, eltinfo, &mut result__).map(|| result__) } pub unsafe fn EnumModules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumModules)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRuntimeInformation(&self, pclrinstanceid: *mut u16, pruntimetype: *mut COR_PRF_RUNTIME_TYPE, pmajorversion: *mut u16, pminorversion: *mut u16, pbuildnumber: *mut u16, pqfeversion: *mut u16, pcchversionstring: *mut u32, szversionstring: &mut [u16]) -> windows_core::Result<()> { @@ -1199,13 +1199,13 @@ windows_core::imp::define_interface!(ICorProfilerInfo4, ICorProfilerInfo4_Vtbl, impl std::ops::Deref for ICorProfilerInfo4 { type Target = ICorProfilerInfo3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo4, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3); impl ICorProfilerInfo4 { pub unsafe fn EnumThreads(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumThreads)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializeCurrentThread(&self) -> windows_core::Result<()> { @@ -1230,11 +1230,11 @@ impl ICorProfilerInfo4 { (windows_core::Interface::vtable(self).GetILToNativeMapping2)(windows_core::Interface::as_raw(self), functionid, rejitid, map.len().try_into().unwrap(), pcmap, core::mem::transmute(map.as_ptr())).ok() } pub unsafe fn EnumJITedFunctions2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumJITedFunctions2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetObjectSize2(&self, objectid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectSize2)(windows_core::Interface::as_raw(self), objectid, &mut result__).map(|| result__) } } @@ -1256,7 +1256,7 @@ windows_core::imp::define_interface!(ICorProfilerInfo5, ICorProfilerInfo5_Vtbl, impl std::ops::Deref for ICorProfilerInfo5 { type Target = ICorProfilerInfo4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo5, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4); @@ -1278,7 +1278,7 @@ windows_core::imp::define_interface!(ICorProfilerInfo6, ICorProfilerInfo6_Vtbl, impl std::ops::Deref for ICorProfilerInfo6 { type Target = ICorProfilerInfo5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo6, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5); @@ -1296,7 +1296,7 @@ windows_core::imp::define_interface!(ICorProfilerInfo7, ICorProfilerInfo7_Vtbl, impl std::ops::Deref for ICorProfilerInfo7 { type Target = ICorProfilerInfo6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo7, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6); @@ -1305,7 +1305,7 @@ impl ICorProfilerInfo7 { (windows_core::Interface::vtable(self).ApplyMetaData)(windows_core::Interface::as_raw(self), moduleid).ok() } pub unsafe fn GetInMemorySymbolsLength(&self, moduleid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInMemorySymbolsLength)(windows_core::Interface::as_raw(self), moduleid, &mut result__).map(|| result__) } pub unsafe fn ReadInMemorySymbols(&self, moduleid: usize, symbolsreadoffset: u32, psymbolbytes: *mut u8, countsymbolbytes: u32, pcountsymbolbytesread: *mut u32) -> windows_core::Result<()> { @@ -1323,13 +1323,13 @@ windows_core::imp::define_interface!(ICorProfilerInfo8, ICorProfilerInfo8_Vtbl, impl std::ops::Deref for ICorProfilerInfo8 { type Target = ICorProfilerInfo7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo8, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7); impl ICorProfilerInfo8 { pub unsafe fn IsFunctionDynamic(&self, functionid: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFunctionDynamic)(windows_core::Interface::as_raw(self), functionid, &mut result__).map(|| result__) } pub unsafe fn GetFunctionFromIP3(&self, ip: *const u8, functionid: *mut usize, prejitid: *mut usize) -> windows_core::Result<()> { @@ -1350,7 +1350,7 @@ windows_core::imp::define_interface!(ICorProfilerInfo9, ICorProfilerInfo9_Vtbl, impl std::ops::Deref for ICorProfilerInfo9 { type Target = ICorProfilerInfo8; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerInfo9, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8); @@ -1376,7 +1376,7 @@ windows_core::imp::define_interface!(ICorProfilerMethodEnum, ICorProfilerMethodE impl std::ops::Deref for ICorProfilerMethodEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerMethodEnum, windows_core::IUnknown); @@ -1388,11 +1388,11 @@ impl ICorProfilerMethodEnum { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Next(&self, elements: &mut [COR_PRF_METHOD], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1412,7 +1412,7 @@ windows_core::imp::define_interface!(ICorProfilerModuleEnum, ICorProfilerModuleE impl std::ops::Deref for ICorProfilerModuleEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerModuleEnum, windows_core::IUnknown); @@ -1424,11 +1424,11 @@ impl ICorProfilerModuleEnum { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Next(&self, ids: &mut [usize], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1448,7 +1448,7 @@ windows_core::imp::define_interface!(ICorProfilerObjectEnum, ICorProfilerObjectE impl std::ops::Deref for ICorProfilerObjectEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerObjectEnum, windows_core::IUnknown); @@ -1460,11 +1460,11 @@ impl ICorProfilerObjectEnum { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Next(&self, objects: &mut [usize], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1484,7 +1484,7 @@ windows_core::imp::define_interface!(ICorProfilerThreadEnum, ICorProfilerThreadE impl std::ops::Deref for ICorProfilerThreadEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorProfilerThreadEnum, windows_core::IUnknown); @@ -1496,11 +1496,11 @@ impl ICorProfilerThreadEnum { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Next(&self, ids: &mut [usize], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1520,7 +1520,7 @@ windows_core::imp::define_interface!(IMethodMalloc, IMethodMalloc_Vtbl, 0xa0efb2 impl std::ops::Deref for IMethodMalloc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMethodMalloc, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs index 952958abd3..e2a01798ac 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs @@ -305,7 +305,7 @@ impl IActiveScriptAuthor_Vtbl { let this = (*this).get_impl(); IActiveScriptAuthor_Impl::RemoveTypeLib(this, core::mem::transmute_copy(&rguidtypelib), core::mem::transmute_copy(&dwmajor), core::mem::transmute_copy(&dwminor)).into() } - unsafe extern "system" fn GetChars, Impl: IActiveScriptAuthor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, frequestedlist: u32, pbstrchars: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetChars, Impl: IActiveScriptAuthor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, frequestedlist: u32, pbstrchars: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IActiveScriptAuthor_Impl::GetChars(this, core::mem::transmute_copy(&frequestedlist)) { @@ -472,7 +472,7 @@ impl IActiveScriptEncode_Vtbl { let this = (*this).get_impl(); IActiveScriptEncode_Impl::DecodeScript(this, core::mem::transmute(&pchin), core::mem::transmute_copy(&cchin), core::mem::transmute(&pchout), core::mem::transmute_copy(&cchout), core::mem::transmute_copy(&pcchret)).into() } - unsafe extern "system" fn GetEncodeProgId, Impl: IActiveScriptEncode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEncodeProgId, Impl: IActiveScriptEncode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActiveScriptEncode_Impl::GetEncodeProgId(this, core::mem::transmute_copy(&pbstrout)).into() @@ -509,7 +509,7 @@ impl IActiveScriptError_Vtbl { let this = (*this).get_impl(); IActiveScriptError_Impl::GetSourcePosition(this, core::mem::transmute_copy(&pdwsourcecontext), core::mem::transmute_copy(&pullinenumber), core::mem::transmute_copy(&plcharacterposition)).into() } - unsafe extern "system" fn GetSourceLineText, Impl: IActiveScriptError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsourceline: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSourceLineText, Impl: IActiveScriptError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsourceline: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IActiveScriptError_Impl::GetSourceLineText(this) { @@ -639,7 +639,7 @@ pub trait IActiveScriptHostEncode_Impl: Sized { impl windows_core::RuntimeName for IActiveScriptHostEncode {} impl IActiveScriptHostEncode_Vtbl { pub const fn new, Impl: IActiveScriptHostEncode_Impl, const OFFSET: isize>() -> IActiveScriptHostEncode_Vtbl { - unsafe extern "system" fn EncodeScriptHostFile, Impl: IActiveScriptHostEncode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinfile: std::mem::MaybeUninit, pbstroutfile: *mut std::mem::MaybeUninit, cflags: u32, bstrdefaultlang: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EncodeScriptHostFile, Impl: IActiveScriptHostEncode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinfile: core::mem::MaybeUninit, pbstroutfile: *mut core::mem::MaybeUninit, cflags: u32, bstrdefaultlang: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActiveScriptHostEncode_Impl::EncodeScriptHostFile(this, core::mem::transmute(&bstrinfile), core::mem::transmute_copy(&pbstroutfile), core::mem::transmute_copy(&cflags), core::mem::transmute(&bstrdefaultlang)).into() @@ -666,12 +666,12 @@ impl IActiveScriptParse32_Vtbl { let this = (*this).get_impl(); IActiveScriptParse32_Impl::InitNew(this).into() } - unsafe extern "system" fn AddScriptlet, Impl: IActiveScriptParse32_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdefaultname: windows_core::PCWSTR, pstrcode: windows_core::PCWSTR, pstritemname: windows_core::PCWSTR, pstrsubitemname: windows_core::PCWSTR, pstreventname: windows_core::PCWSTR, pstrdelimiter: windows_core::PCWSTR, dwsourcecontextcookie: u32, ulstartinglinenumber: u32, dwflags: u32, pbstrname: *mut std::mem::MaybeUninit, pexcepinfo: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { + unsafe extern "system" fn AddScriptlet, Impl: IActiveScriptParse32_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdefaultname: windows_core::PCWSTR, pstrcode: windows_core::PCWSTR, pstritemname: windows_core::PCWSTR, pstrsubitemname: windows_core::PCWSTR, pstreventname: windows_core::PCWSTR, pstrdelimiter: windows_core::PCWSTR, dwsourcecontextcookie: u32, ulstartinglinenumber: u32, dwflags: u32, pbstrname: *mut core::mem::MaybeUninit, pexcepinfo: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActiveScriptParse32_Impl::AddScriptlet(this, core::mem::transmute(&pstrdefaultname), core::mem::transmute(&pstrcode), core::mem::transmute(&pstritemname), core::mem::transmute(&pstrsubitemname), core::mem::transmute(&pstreventname), core::mem::transmute(&pstrdelimiter), core::mem::transmute_copy(&dwsourcecontextcookie), core::mem::transmute_copy(&ulstartinglinenumber), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&pexcepinfo)).into() } - unsafe extern "system" fn ParseScriptText, Impl: IActiveScriptParse32_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrcode: windows_core::PCWSTR, pstritemname: windows_core::PCWSTR, punkcontext: *mut core::ffi::c_void, pstrdelimiter: windows_core::PCWSTR, dwsourcecontextcookie: u32, ulstartinglinenumber: u32, dwflags: u32, pvarresult: *mut std::mem::MaybeUninit, pexcepinfo: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { + unsafe extern "system" fn ParseScriptText, Impl: IActiveScriptParse32_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrcode: windows_core::PCWSTR, pstritemname: windows_core::PCWSTR, punkcontext: *mut core::ffi::c_void, pstrdelimiter: windows_core::PCWSTR, dwsourcecontextcookie: u32, ulstartinglinenumber: u32, dwflags: u32, pvarresult: *mut core::mem::MaybeUninit, pexcepinfo: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActiveScriptParse32_Impl::ParseScriptText(this, core::mem::transmute(&pstrcode), core::mem::transmute(&pstritemname), windows_core::from_raw_borrowed(&punkcontext), core::mem::transmute(&pstrdelimiter), core::mem::transmute_copy(&dwsourcecontextcookie), core::mem::transmute_copy(&ulstartinglinenumber), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&pexcepinfo)).into() @@ -703,12 +703,12 @@ impl IActiveScriptParse64_Vtbl { let this = (*this).get_impl(); IActiveScriptParse64_Impl::InitNew(this).into() } - unsafe extern "system" fn AddScriptlet, Impl: IActiveScriptParse64_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdefaultname: windows_core::PCWSTR, pstrcode: windows_core::PCWSTR, pstritemname: windows_core::PCWSTR, pstrsubitemname: windows_core::PCWSTR, pstreventname: windows_core::PCWSTR, pstrdelimiter: windows_core::PCWSTR, dwsourcecontextcookie: u64, ulstartinglinenumber: u32, dwflags: u32, pbstrname: *mut std::mem::MaybeUninit, pexcepinfo: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { + unsafe extern "system" fn AddScriptlet, Impl: IActiveScriptParse64_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrdefaultname: windows_core::PCWSTR, pstrcode: windows_core::PCWSTR, pstritemname: windows_core::PCWSTR, pstrsubitemname: windows_core::PCWSTR, pstreventname: windows_core::PCWSTR, pstrdelimiter: windows_core::PCWSTR, dwsourcecontextcookie: u64, ulstartinglinenumber: u32, dwflags: u32, pbstrname: *mut core::mem::MaybeUninit, pexcepinfo: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActiveScriptParse64_Impl::AddScriptlet(this, core::mem::transmute(&pstrdefaultname), core::mem::transmute(&pstrcode), core::mem::transmute(&pstritemname), core::mem::transmute(&pstrsubitemname), core::mem::transmute(&pstreventname), core::mem::transmute(&pstrdelimiter), core::mem::transmute_copy(&dwsourcecontextcookie), core::mem::transmute_copy(&ulstartinglinenumber), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&pbstrname), core::mem::transmute_copy(&pexcepinfo)).into() } - unsafe extern "system" fn ParseScriptText, Impl: IActiveScriptParse64_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrcode: windows_core::PCWSTR, pstritemname: windows_core::PCWSTR, punkcontext: *mut core::ffi::c_void, pstrdelimiter: windows_core::PCWSTR, dwsourcecontextcookie: u64, ulstartinglinenumber: u32, dwflags: u32, pvarresult: *mut std::mem::MaybeUninit, pexcepinfo: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { + unsafe extern "system" fn ParseScriptText, Impl: IActiveScriptParse64_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrcode: windows_core::PCWSTR, pstritemname: windows_core::PCWSTR, punkcontext: *mut core::ffi::c_void, pstrdelimiter: windows_core::PCWSTR, dwsourcecontextcookie: u64, ulstartinglinenumber: u32, dwflags: u32, pvarresult: *mut core::mem::MaybeUninit, pexcepinfo: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActiveScriptParse64_Impl::ParseScriptText(this, core::mem::transmute(&pstrcode), core::mem::transmute(&pstritemname), windows_core::from_raw_borrowed(&punkcontext), core::mem::transmute(&pstrdelimiter), core::mem::transmute_copy(&dwsourcecontextcookie), core::mem::transmute_copy(&ulstartinglinenumber), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&pexcepinfo)).into() @@ -1125,7 +1125,7 @@ pub trait IActiveScriptProperty_Impl: Sized { impl windows_core::RuntimeName for IActiveScriptProperty {} impl IActiveScriptProperty_Vtbl { pub const fn new, Impl: IActiveScriptProperty_Impl, const OFFSET: isize>() -> IActiveScriptProperty_Vtbl { - unsafe extern "system" fn GetProperty, Impl: IActiveScriptProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwproperty: u32, pvarindex: *const std::mem::MaybeUninit, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IActiveScriptProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwproperty: u32, pvarindex: *const core::mem::MaybeUninit, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IActiveScriptProperty_Impl::GetProperty(this, core::mem::transmute_copy(&dwproperty), core::mem::transmute_copy(&pvarindex)) { @@ -1136,7 +1136,7 @@ impl IActiveScriptProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetProperty, Impl: IActiveScriptProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwproperty: u32, pvarindex: *const std::mem::MaybeUninit, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProperty, Impl: IActiveScriptProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwproperty: u32, pvarindex: *const core::mem::MaybeUninit, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActiveScriptProperty_Impl::SetProperty(this, core::mem::transmute_copy(&dwproperty), core::mem::transmute_copy(&pvarindex), core::mem::transmute_copy(&pvarvalue)).into() @@ -1206,7 +1206,7 @@ impl IActiveScriptSite_Vtbl { let this = (*this).get_impl(); IActiveScriptSite_Impl::GetItemInfo(this, core::mem::transmute(&pstrname), core::mem::transmute_copy(&dwreturnmask), core::mem::transmute_copy(&ppiunkitem), core::mem::transmute_copy(&ppti)).into() } - unsafe extern "system" fn GetDocVersionString, Impl: IActiveScriptSite_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrversion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocVersionString, Impl: IActiveScriptSite_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrversion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IActiveScriptSite_Impl::GetDocVersionString(this) { @@ -1217,7 +1217,7 @@ impl IActiveScriptSite_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OnScriptTerminate, Impl: IActiveScriptSite_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarresult: *const std::mem::MaybeUninit, pexcepinfo: *const super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { + unsafe extern "system" fn OnScriptTerminate, Impl: IActiveScriptSite_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarresult: *const core::mem::MaybeUninit, pexcepinfo: *const super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActiveScriptSite_Impl::OnScriptTerminate(this, core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&pexcepinfo)).into() @@ -1532,7 +1532,7 @@ pub trait IActiveScriptStringCompare_Impl: Sized { impl windows_core::RuntimeName for IActiveScriptStringCompare {} impl IActiveScriptStringCompare_Vtbl { pub const fn new, Impl: IActiveScriptStringCompare_Impl, const OFFSET: isize>() -> IActiveScriptStringCompare_Vtbl { - unsafe extern "system" fn StrComp, Impl: IActiveScriptStringCompare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszstr1: std::mem::MaybeUninit, bszstr2: std::mem::MaybeUninit, iret: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn StrComp, Impl: IActiveScriptStringCompare_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bszstr1: core::mem::MaybeUninit, bszstr2: core::mem::MaybeUninit, iret: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IActiveScriptStringCompare_Impl::StrComp(this, core::mem::transmute(&bszstr1), core::mem::transmute(&bszstr2)) { @@ -1587,7 +1587,7 @@ impl windows_core::RuntimeName for IActiveScriptWinRTErrorDebug {} #[cfg(feature = "Win32_System_Com")] impl IActiveScriptWinRTErrorDebug_Vtbl { pub const fn new, Impl: IActiveScriptWinRTErrorDebug_Impl, const OFFSET: isize>() -> IActiveScriptWinRTErrorDebug_Vtbl { - unsafe extern "system" fn GetRestrictedErrorString, Impl: IActiveScriptWinRTErrorDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errorstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRestrictedErrorString, Impl: IActiveScriptWinRTErrorDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errorstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IActiveScriptWinRTErrorDebug_Impl::GetRestrictedErrorString(this) { @@ -1598,7 +1598,7 @@ impl IActiveScriptWinRTErrorDebug_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRestrictedErrorReference, Impl: IActiveScriptWinRTErrorDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, referencestring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRestrictedErrorReference, Impl: IActiveScriptWinRTErrorDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, referencestring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IActiveScriptWinRTErrorDebug_Impl::GetRestrictedErrorReference(this) { @@ -1609,7 +1609,7 @@ impl IActiveScriptWinRTErrorDebug_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCapabilitySid, Impl: IActiveScriptWinRTErrorDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, capabilitysid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCapabilitySid, Impl: IActiveScriptWinRTErrorDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, capabilitysid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IActiveScriptWinRTErrorDebug_Impl::GetCapabilitySid(this) { @@ -3088,12 +3088,12 @@ impl IDebugDocumentHost_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPathName, Impl: IDebugDocumentHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlongname: *mut std::mem::MaybeUninit, pfisoriginalfile: *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetPathName, Impl: IDebugDocumentHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlongname: *mut core::mem::MaybeUninit, pfisoriginalfile: *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugDocumentHost_Impl::GetPathName(this, core::mem::transmute_copy(&pbstrlongname), core::mem::transmute_copy(&pfisoriginalfile)).into() } - unsafe extern "system" fn GetFileName, Impl: IDebugDocumentHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrshortname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileName, Impl: IDebugDocumentHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrshortname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugDocumentHost_Impl::GetFileName(this) { @@ -3130,7 +3130,7 @@ pub trait IDebugDocumentInfo_Impl: Sized { impl windows_core::RuntimeName for IDebugDocumentInfo {} impl IDebugDocumentInfo_Vtbl { pub const fn new, Impl: IDebugDocumentInfo_Impl, const OFFSET: isize>() -> IDebugDocumentInfo_Vtbl { - unsafe extern "system" fn GetName, Impl: IDebugDocumentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dnt: DOCUMENTNAMETYPE, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IDebugDocumentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dnt: DOCUMENTNAMETYPE, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugDocumentInfo_Impl::GetName(this, core::mem::transmute_copy(&dnt)) { @@ -3362,12 +3362,12 @@ pub trait IDebugDocumentTextExternalAuthor_Impl: Sized { impl windows_core::RuntimeName for IDebugDocumentTextExternalAuthor {} impl IDebugDocumentTextExternalAuthor_Vtbl { pub const fn new, Impl: IDebugDocumentTextExternalAuthor_Impl, const OFFSET: isize>() -> IDebugDocumentTextExternalAuthor_Vtbl { - unsafe extern "system" fn GetPathName, Impl: IDebugDocumentTextExternalAuthor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlongname: *mut std::mem::MaybeUninit, pfisoriginalfile: *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetPathName, Impl: IDebugDocumentTextExternalAuthor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlongname: *mut core::mem::MaybeUninit, pfisoriginalfile: *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugDocumentTextExternalAuthor_Impl::GetPathName(this, core::mem::transmute_copy(&pbstrlongname), core::mem::transmute_copy(&pfisoriginalfile)).into() } - unsafe extern "system" fn GetFileName, Impl: IDebugDocumentTextExternalAuthor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrshortname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileName, Impl: IDebugDocumentTextExternalAuthor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrshortname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugDocumentTextExternalAuthor_Impl::GetFileName(this) { @@ -3419,7 +3419,7 @@ impl IDebugExpression_Vtbl { let this = (*this).get_impl(); IDebugExpression_Impl::QueryIsComplete(this).into() } - unsafe extern "system" fn GetResultAsString, Impl: IDebugExpression_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phrresult: *mut windows_core::HRESULT, pbstrresult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetResultAsString, Impl: IDebugExpression_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phrresult: *mut windows_core::HRESULT, pbstrresult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugExpression_Impl::GetResultAsString(this, core::mem::transmute_copy(&phrresult), core::mem::transmute_copy(&pbstrresult)).into() @@ -3477,7 +3477,7 @@ impl IDebugExpressionContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLanguageInfo, Impl: IDebugExpressionContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlanguagename: *mut std::mem::MaybeUninit, planguageid: *mut windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn GetLanguageInfo, Impl: IDebugExpressionContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlanguagename: *mut core::mem::MaybeUninit, planguageid: *mut windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugExpressionContext_Impl::GetLanguageInfo(this, core::mem::transmute_copy(&pbstrlanguagename), core::mem::transmute_copy(&planguageid)).into() @@ -3503,7 +3503,7 @@ impl windows_core::RuntimeName for IDebugFormatter {} #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] impl IDebugFormatter_Vtbl { pub const fn new, Impl: IDebugFormatter_Impl, const OFFSET: isize>() -> IDebugFormatter_Vtbl { - unsafe extern "system" fn GetStringForVariant, Impl: IDebugFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const std::mem::MaybeUninit, nradix: u32, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStringForVariant, Impl: IDebugFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const core::mem::MaybeUninit, nradix: u32, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugFormatter_Impl::GetStringForVariant(this, core::mem::transmute_copy(&pvar), core::mem::transmute_copy(&nradix)) { @@ -3514,7 +3514,7 @@ impl IDebugFormatter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetVariantForString, Impl: IDebugFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwstrvalue: windows_core::PCWSTR, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetVariantForString, Impl: IDebugFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwstrvalue: windows_core::PCWSTR, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugFormatter_Impl::GetVariantForString(this, core::mem::transmute(&pwstrvalue)) { @@ -3525,7 +3525,7 @@ impl IDebugFormatter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStringForVarType, Impl: IDebugFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vt: super::super::super::Variant::VARENUM, ptdescarraytype: *const super::super::super::Com::TYPEDESC, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStringForVarType, Impl: IDebugFormatter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vt: super::super::super::Variant::VARENUM, ptdescarraytype: *const super::super::super::Com::TYPEDESC, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugFormatter_Impl::GetStringForVarType(this, core::mem::transmute_copy(&vt), core::mem::transmute_copy(&ptdescarraytype)) { @@ -3558,7 +3558,7 @@ impl windows_core::RuntimeName for IDebugHelper {} #[cfg(feature = "Win32_System_Com")] impl IDebugHelper_Vtbl { pub const fn new, Impl: IDebugHelper_Impl, const OFFSET: isize>() -> IDebugHelper_Vtbl { - unsafe extern "system" fn CreatePropertyBrowser, Impl: IDebugHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const std::mem::MaybeUninit, bstrname: windows_core::PCWSTR, pdat: *mut core::ffi::c_void, ppdob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreatePropertyBrowser, Impl: IDebugHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const core::mem::MaybeUninit, bstrname: windows_core::PCWSTR, pdat: *mut core::ffi::c_void, ppdob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugHelper_Impl::CreatePropertyBrowser(this, core::mem::transmute_copy(&pvar), core::mem::transmute(&bstrname), windows_core::from_raw_borrowed(&pdat)) { @@ -3569,7 +3569,7 @@ impl IDebugHelper_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreatePropertyBrowserEx, Impl: IDebugHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const std::mem::MaybeUninit, bstrname: windows_core::PCWSTR, pdat: *mut core::ffi::c_void, pdf: *mut core::ffi::c_void, ppdob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreatePropertyBrowserEx, Impl: IDebugHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const core::mem::MaybeUninit, bstrname: windows_core::PCWSTR, pdat: *mut core::ffi::c_void, pdf: *mut core::ffi::c_void, ppdob: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugHelper_Impl::CreatePropertyBrowserEx(this, core::mem::transmute_copy(&pvar), core::mem::transmute(&bstrname), windows_core::from_raw_borrowed(&pdat), windows_core::from_raw_borrowed(&pdf)) { @@ -3640,7 +3640,7 @@ impl IDebugStackFrame_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescriptionString, Impl: IDebugStackFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flong: super::super::super::super::Foundation::BOOL, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescriptionString, Impl: IDebugStackFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flong: super::super::super::super::Foundation::BOOL, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugStackFrame_Impl::GetDescriptionString(this, core::mem::transmute_copy(&flong)) { @@ -3651,7 +3651,7 @@ impl IDebugStackFrame_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLanguageString, Impl: IDebugStackFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flong: super::super::super::super::Foundation::BOOL, pbstrlanguage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLanguageString, Impl: IDebugStackFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flong: super::super::super::super::Foundation::BOOL, pbstrlanguage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugStackFrame_Impl::GetLanguageString(this, core::mem::transmute_copy(&flong)) { @@ -4335,7 +4335,7 @@ impl IJsDebugDataTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReadBSTR, Impl: IJsDebugDataTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, address: u64, pstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadBSTR, Impl: IJsDebugDataTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, address: u64, pstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IJsDebugDataTarget_Impl::ReadBSTR(this, core::mem::transmute_copy(&address)) { @@ -4346,7 +4346,7 @@ impl IJsDebugDataTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReadNullTerminatedString, Impl: IJsDebugDataTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, address: u64, charactersize: u16, maxcharacters: u32, pstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadNullTerminatedString, Impl: IJsDebugDataTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, address: u64, charactersize: u16, maxcharacters: u32, pstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IJsDebugDataTarget_Impl::ReadNullTerminatedString(this, core::mem::transmute_copy(&address), core::mem::transmute_copy(&charactersize), core::mem::transmute_copy(&maxcharacters)) { @@ -4407,7 +4407,7 @@ impl IJsDebugFrame_Vtbl { let this = (*this).get_impl(); IJsDebugFrame_Impl::GetStackRange(this, core::mem::transmute_copy(&pstart), core::mem::transmute_copy(&pend)).into() } - unsafe extern "system" fn GetName, Impl: IJsDebugFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IJsDebugFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IJsDebugFrame_Impl::GetName(this) { @@ -4423,7 +4423,7 @@ impl IJsDebugFrame_Vtbl { let this = (*this).get_impl(); IJsDebugFrame_Impl::GetDocumentPositionWithId(this, core::mem::transmute_copy(&pdocumentid), core::mem::transmute_copy(&pcharacteroffset), core::mem::transmute_copy(&pstatementcharcount)).into() } - unsafe extern "system" fn GetDocumentPositionWithName, Impl: IJsDebugFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdocumentname: *mut std::mem::MaybeUninit, pline: *mut u32, pcolumn: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetDocumentPositionWithName, Impl: IJsDebugFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdocumentname: *mut core::mem::MaybeUninit, pline: *mut u32, pcolumn: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IJsDebugFrame_Impl::GetDocumentPositionWithName(this, core::mem::transmute_copy(&pdocumentname), core::mem::transmute_copy(&pline), core::mem::transmute_copy(&pcolumn)).into() @@ -4450,7 +4450,7 @@ impl IJsDebugFrame_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Evaluate, Impl: IJsDebugFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pexpressiontext: windows_core::PCWSTR, ppdebugproperty: *mut *mut core::ffi::c_void, perror: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Evaluate, Impl: IJsDebugFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pexpressiontext: windows_core::PCWSTR, ppdebugproperty: *mut *mut core::ffi::c_void, perror: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IJsDebugFrame_Impl::Evaluate(this, core::mem::transmute(&pexpressiontext), core::mem::transmute_copy(&ppdebugproperty), core::mem::transmute_copy(&perror)).into() @@ -4978,7 +4978,7 @@ impl IRemoteDebugApplication_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetName, Impl: IRemoteDebugApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IRemoteDebugApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRemoteDebugApplication_Impl::GetName(this) { @@ -5206,7 +5206,7 @@ impl IRemoteDebugApplicationThread_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescription, Impl: IRemoteDebugApplicationThread_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit, pbstrstate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: IRemoteDebugApplicationThread_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit, pbstrstate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteDebugApplicationThread_Impl::GetDescription(this, core::mem::transmute_copy(&pbstrdescription), core::mem::transmute_copy(&pbstrstate)).into() @@ -5283,7 +5283,7 @@ pub trait IRemoteDebugCriticalErrorEvent110_Impl: Sized { impl windows_core::RuntimeName for IRemoteDebugCriticalErrorEvent110 {} impl IRemoteDebugCriticalErrorEvent110_Vtbl { pub const fn new, Impl: IRemoteDebugCriticalErrorEvent110_Impl, const OFFSET: isize>() -> IRemoteDebugCriticalErrorEvent110_Vtbl { - unsafe extern "system" fn GetErrorInfo, Impl: IRemoteDebugCriticalErrorEvent110_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsource: *mut std::mem::MaybeUninit, pmessageid: *mut i32, pbstrmessage: *mut std::mem::MaybeUninit, pplocation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetErrorInfo, Impl: IRemoteDebugCriticalErrorEvent110_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsource: *mut core::mem::MaybeUninit, pmessageid: *mut i32, pbstrmessage: *mut core::mem::MaybeUninit, pplocation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteDebugCriticalErrorEvent110_Impl::GetErrorInfo(this, core::mem::transmute_copy(&pbstrsource), core::mem::transmute_copy(&pmessageid), core::mem::transmute_copy(&pbstrmessage), core::mem::transmute_copy(&pplocation)).into() @@ -5300,7 +5300,7 @@ pub trait IRemoteDebugInfoEvent110_Impl: Sized { impl windows_core::RuntimeName for IRemoteDebugInfoEvent110 {} impl IRemoteDebugInfoEvent110_Vtbl { pub const fn new, Impl: IRemoteDebugInfoEvent110_Impl, const OFFSET: isize>() -> IRemoteDebugInfoEvent110_Vtbl { - unsafe extern "system" fn GetEventInfo, Impl: IRemoteDebugInfoEvent110_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pmessagetype: *mut DEBUG_EVENT_INFO_TYPE, pbstrmessage: *mut std::mem::MaybeUninit, pbstrurl: *mut std::mem::MaybeUninit, pplocation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetEventInfo, Impl: IRemoteDebugInfoEvent110_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pmessagetype: *mut DEBUG_EVENT_INFO_TYPE, pbstrmessage: *mut core::mem::MaybeUninit, pbstrurl: *mut core::mem::MaybeUninit, pplocation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteDebugInfoEvent110_Impl::GetEventInfo(this, core::mem::transmute_copy(&pmessagetype), core::mem::transmute_copy(&pbstrmessage), core::mem::transmute_copy(&pbstrurl), core::mem::transmute_copy(&pplocation)).into() @@ -5330,7 +5330,7 @@ impl windows_core::RuntimeName for IScriptEntry {} #[cfg(feature = "Win32_System_Com")] impl IScriptEntry_Vtbl { pub const fn new, Impl: IScriptEntry_Impl, const OFFSET: isize>() -> IScriptEntry_Vtbl { - unsafe extern "system" fn GetText, Impl: IScriptEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: IScriptEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptEntry_Impl::GetText(this) { @@ -5346,7 +5346,7 @@ impl IScriptEntry_Vtbl { let this = (*this).get_impl(); IScriptEntry_Impl::SetText(this, core::mem::transmute(&psz)).into() } - unsafe extern "system" fn GetBody, Impl: IScriptEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBody, Impl: IScriptEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptEntry_Impl::GetBody(this) { @@ -5362,7 +5362,7 @@ impl IScriptEntry_Vtbl { let this = (*this).get_impl(); IScriptEntry_Impl::SetBody(this, core::mem::transmute(&psz)).into() } - unsafe extern "system" fn GetName, Impl: IScriptEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IScriptEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptEntry_Impl::GetName(this) { @@ -5378,7 +5378,7 @@ impl IScriptEntry_Vtbl { let this = (*this).get_impl(); IScriptEntry_Impl::SetName(this, core::mem::transmute(&psz)).into() } - unsafe extern "system" fn GetItemName, Impl: IScriptEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemName, Impl: IScriptEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptEntry_Impl::GetItemName(this) { @@ -5447,7 +5447,7 @@ impl IScriptInvocationContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetContextDescription, Impl: IScriptInvocationContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetContextDescription, Impl: IScriptInvocationContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptInvocationContext_Impl::GetContextDescription(this) { @@ -5563,7 +5563,7 @@ impl IScriptNode_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLanguage, Impl: IScriptNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLanguage, Impl: IScriptNode_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptNode_Impl::GetLanguage(this) { @@ -5628,7 +5628,7 @@ impl windows_core::RuntimeName for IScriptScriptlet {} #[cfg(feature = "Win32_System_Com")] impl IScriptScriptlet_Vtbl { pub const fn new, Impl: IScriptScriptlet_Impl, const OFFSET: isize>() -> IScriptScriptlet_Vtbl { - unsafe extern "system" fn GetSubItemName, Impl: IScriptScriptlet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSubItemName, Impl: IScriptScriptlet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptScriptlet_Impl::GetSubItemName(this) { @@ -5644,7 +5644,7 @@ impl IScriptScriptlet_Vtbl { let this = (*this).get_impl(); IScriptScriptlet_Impl::SetSubItemName(this, core::mem::transmute(&psz)).into() } - unsafe extern "system" fn GetEventName, Impl: IScriptScriptlet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEventName, Impl: IScriptScriptlet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptScriptlet_Impl::GetEventName(this) { @@ -5660,7 +5660,7 @@ impl IScriptScriptlet_Vtbl { let this = (*this).get_impl(); IScriptScriptlet_Impl::SetEventName(this, core::mem::transmute(&psz)).into() } - unsafe extern "system" fn GetSimpleEventName, Impl: IScriptScriptlet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSimpleEventName, Impl: IScriptScriptlet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptScriptlet_Impl::GetSimpleEventName(this) { @@ -5713,7 +5713,7 @@ impl ISimpleConnectionPoint_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DescribeEvents, Impl: ISimpleConnectionPoint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ievent: u32, cevents: u32, prgid: *mut i32, prgbstr: *mut std::mem::MaybeUninit, pceventsfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn DescribeEvents, Impl: ISimpleConnectionPoint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ievent: u32, cevents: u32, prgid: *mut i32, prgbstr: *mut core::mem::MaybeUninit, pceventsfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISimpleConnectionPoint_Impl::DescribeEvents(this, core::mem::transmute_copy(&ievent), core::mem::transmute_copy(&cevents), core::mem::transmute_copy(&prgid), core::mem::transmute_copy(&prgbstr), core::mem::transmute_copy(&pceventsfetched)).into() @@ -5755,7 +5755,7 @@ impl windows_core::RuntimeName for ITridentEventSink {} #[cfg(feature = "Win32_System_Com")] impl ITridentEventSink_Vtbl { pub const fn new, Impl: ITridentEventSink_Impl, const OFFSET: isize>() -> ITridentEventSink_Vtbl { - unsafe extern "system" fn FireEvent, Impl: ITridentEventSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrevent: windows_core::PCWSTR, pdp: *const super::super::super::Com::DISPPARAMS, pvarres: *mut std::mem::MaybeUninit, pei: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { + unsafe extern "system" fn FireEvent, Impl: ITridentEventSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrevent: windows_core::PCWSTR, pdp: *const super::super::super::Com::DISPPARAMS, pvarres: *mut core::mem::MaybeUninit, pei: *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITridentEventSink_Impl::FireEvent(this, core::mem::transmute(&pstrevent), core::mem::transmute_copy(&pdp), core::mem::transmute_copy(&pvarres), core::mem::transmute_copy(&pei)).into() diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs index 6b8df274dc..027449ddbc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(AsyncIDebugApplicationNodeEvents, AsyncIDeb impl std::ops::Deref for AsyncIDebugApplicationNodeEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIDebugApplicationNodeEvents, windows_core::IUnknown); @@ -57,7 +57,7 @@ windows_core::imp::define_interface!(IActiveScript, IActiveScript_Vtbl, 0xbb1a2a impl std::ops::Deref for IActiveScript { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScript, windows_core::IUnknown); @@ -79,7 +79,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScriptState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -99,19 +99,19 @@ impl IActiveScript { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScriptDispatch)(windows_core::Interface::as_raw(self), pstritemname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentScriptThreadID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentScriptThreadID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetScriptThreadID(&self, dwwin32threadid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScriptThreadID)(windows_core::Interface::as_raw(self), dwwin32threadid, &mut result__).map(|| result__) } pub unsafe fn GetScriptThreadState(&self, stidthread: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScriptThreadState)(windows_core::Interface::as_raw(self), stidthread, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -119,7 +119,7 @@ impl IActiveScript { (windows_core::Interface::vtable(self).InterruptScriptThread)(windows_core::Interface::as_raw(self), stidthread, pexcepinfo, dwflags).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -150,7 +150,7 @@ windows_core::imp::define_interface!(IActiveScriptAuthor, IActiveScriptAuthor_Vt impl std::ops::Deref for IActiveScriptAuthor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptAuthor, windows_core::IUnknown); @@ -197,11 +197,11 @@ impl IActiveScriptAuthor { (windows_core::Interface::vtable(self).GetScriptletTextAttributes)(windows_core::Interface::as_raw(self), pszcode.param().abi(), cch, pszdelimiter.param().abi(), dwflags, pattr).ok() } pub unsafe fn GetRoot(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRoot)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLanguageFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguageFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -212,7 +212,7 @@ impl IActiveScriptAuthor { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventHandler)(windows_core::Interface::as_raw(self), pdisp.param().abi(), pszitem.param().abi(), pszsubitem.param().abi(), pszevent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveNamedItem(&self, pszname: P0) -> windows_core::Result<()> @@ -228,7 +228,7 @@ impl IActiveScriptAuthor { (windows_core::Interface::vtable(self).RemoveTypeLib)(windows_core::Interface::as_raw(self), rguidtypelib, dwmajor, dwminor).ok() } pub unsafe fn GetChars(&self, frequestedlist: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChars)(windows_core::Interface::as_raw(self), frequestedlist, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInfoFromContext(&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 Option) -> windows_core::Result<()> @@ -238,7 +238,7 @@ impl IActiveScriptAuthor { (windows_core::Interface::vtable(self).GetInfoFromContext)(windows_core::Interface::as_raw(self), pszcode.param().abi(), cchcode, ichcurrentposition, dwlisttypesrequested, pdwlisttypesprovided, pichlistanchorposition, pichfuncanchorposition, pmemid, picurrentparameter, core::mem::transmute(ppunk)).ok() } pub unsafe fn IsCommitChar(&self, ch: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCommitChar)(windows_core::Interface::as_raw(self), ch, &mut result__).map(|| result__) } } @@ -262,7 +262,7 @@ pub struct IActiveScriptAuthor_Vtbl { pub RemoveNamedItem: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub AddTypeLib: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, u32) -> windows_core::HRESULT, pub RemoveTypeLib: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32) -> windows_core::HRESULT, - pub GetChars: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetChars: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetInfoFromContext: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, u32, *mut u32, *mut u32, *mut u32, *mut i32, *mut i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsCommitChar: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } @@ -270,7 +270,7 @@ windows_core::imp::define_interface!(IActiveScriptAuthorProcedure, IActiveScript impl std::ops::Deref for IActiveScriptAuthorProcedure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptAuthorProcedure, windows_core::IUnknown); @@ -300,7 +300,7 @@ windows_core::imp::define_interface!(IActiveScriptDebug32, IActiveScriptDebug32_ impl std::ops::Deref for IActiveScriptDebug32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptDebug32, windows_core::IUnknown); @@ -320,7 +320,7 @@ impl IActiveScriptDebug32 { (windows_core::Interface::vtable(self).GetScriptletTextAttributes)(windows_core::Interface::as_raw(self), pstrcode.param().abi(), unumcodechars, pstrdelimiter.param().abi(), dwflags, pattr).ok() } pub unsafe fn EnumCodeContextsOfPosition(&self, dwsourcecontext: u32, ucharacteroffset: u32, unumchars: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCodeContextsOfPosition)(windows_core::Interface::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -335,7 +335,7 @@ windows_core::imp::define_interface!(IActiveScriptDebug64, IActiveScriptDebug64_ impl std::ops::Deref for IActiveScriptDebug64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptDebug64, windows_core::IUnknown); @@ -355,7 +355,7 @@ impl IActiveScriptDebug64 { (windows_core::Interface::vtable(self).GetScriptletTextAttributes)(windows_core::Interface::as_raw(self), pstrcode.param().abi(), unumcodechars, pstrdelimiter.param().abi(), dwflags, pattr).ok() } pub unsafe fn EnumCodeContextsOfPosition(&self, dwsourcecontext: u64, ucharacteroffset: u32, unumchars: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCodeContextsOfPosition)(windows_core::Interface::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -370,7 +370,7 @@ windows_core::imp::define_interface!(IActiveScriptEncode, IActiveScriptEncode_Vt impl std::ops::Deref for IActiveScriptEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptEncode, windows_core::IUnknown); @@ -396,13 +396,13 @@ pub struct IActiveScriptEncode_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EncodeSection: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub DecodeScript: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, - pub GetEncodeProgId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEncodeProgId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptError, IActiveScriptError_Vtbl, 0xeae1ba61_a4ed_11cf_8f20_00805f2cd064); impl std::ops::Deref for IActiveScriptError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptError, windows_core::IUnknown); @@ -415,7 +415,7 @@ impl IActiveScriptError { (windows_core::Interface::vtable(self).GetSourcePosition)(windows_core::Interface::as_raw(self), pdwsourcecontext, pullinenumber, plcharacterposition).ok() } pub unsafe fn GetSourceLineText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceLineText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -427,13 +427,13 @@ pub struct IActiveScriptError_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetExceptionInfo: usize, pub GetSourcePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut i32) -> windows_core::HRESULT, - pub GetSourceLineText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSourceLineText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptError64, IActiveScriptError64_Vtbl, 0xb21fb2a1_5b8f_4963_8c21_21450f84ed7f); impl std::ops::Deref for IActiveScriptError64 { type Target = IActiveScriptError; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptError64, windows_core::IUnknown, IActiveScriptError); @@ -451,17 +451,17 @@ windows_core::imp::define_interface!(IActiveScriptErrorDebug, IActiveScriptError impl std::ops::Deref for IActiveScriptErrorDebug { type Target = IActiveScriptError; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptErrorDebug, windows_core::IUnknown, IActiveScriptError); impl IActiveScriptErrorDebug { pub unsafe fn GetDocumentContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStackFrame(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStackFrame)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -475,13 +475,13 @@ windows_core::imp::define_interface!(IActiveScriptErrorDebug110, IActiveScriptEr impl std::ops::Deref for IActiveScriptErrorDebug110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptErrorDebug110, windows_core::IUnknown); impl IActiveScriptErrorDebug110 { pub unsafe fn GetExceptionThrownKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExceptionThrownKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -494,7 +494,7 @@ windows_core::imp::define_interface!(IActiveScriptGarbageCollector, IActiveScrip impl std::ops::Deref for IActiveScriptGarbageCollector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptGarbageCollector, windows_core::IUnknown); @@ -512,7 +512,7 @@ windows_core::imp::define_interface!(IActiveScriptHostEncode, IActiveScriptHostE impl std::ops::Deref for IActiveScriptHostEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptHostEncode, windows_core::IUnknown); @@ -528,13 +528,13 @@ impl IActiveScriptHostEncode { #[repr(C)] pub struct IActiveScriptHostEncode_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub EncodeScriptHostFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EncodeScriptHostFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptParse32, IActiveScriptParse32_Vtbl, 0xbb1a2ae2_a4f9_11cf_8f20_00805f2cd064); impl std::ops::Deref for IActiveScriptParse32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptParse32, windows_core::IUnknown); @@ -570,11 +570,11 @@ pub struct IActiveScriptParse32_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub AddScriptlet: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u32, u32, u32, *mut std::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, + pub AddScriptlet: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u32, u32, u32, *mut core::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddScriptlet: usize, #[cfg(feature = "Win32_System_Com")] - pub ParseScriptText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, u32, *mut std::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, + pub ParseScriptText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, u32, *mut core::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ParseScriptText: usize, } @@ -582,7 +582,7 @@ windows_core::imp::define_interface!(IActiveScriptParse64, IActiveScriptParse64_ impl std::ops::Deref for IActiveScriptParse64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptParse64, windows_core::IUnknown); @@ -618,11 +618,11 @@ pub struct IActiveScriptParse64_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub AddScriptlet: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u64, u32, u32, *mut std::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, + pub AddScriptlet: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u64, u32, u32, *mut core::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddScriptlet: usize, #[cfg(feature = "Win32_System_Com")] - pub ParseScriptText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, windows_core::PCWSTR, u64, u32, u32, *mut std::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, + pub ParseScriptText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, windows_core::PCWSTR, u64, u32, u32, *mut core::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ParseScriptText: usize, } @@ -630,7 +630,7 @@ windows_core::imp::define_interface!(IActiveScriptParseProcedure2_32, IActiveScr impl std::ops::Deref for IActiveScriptParseProcedure2_32 { type Target = IActiveScriptParseProcedure32; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure2_32, windows_core::IUnknown, IActiveScriptParseProcedure32); @@ -643,7 +643,7 @@ windows_core::imp::define_interface!(IActiveScriptParseProcedure2_64, IActiveScr impl std::ops::Deref for IActiveScriptParseProcedure2_64 { type Target = IActiveScriptParseProcedure64; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure2_64, windows_core::IUnknown, IActiveScriptParseProcedure64); @@ -656,7 +656,7 @@ windows_core::imp::define_interface!(IActiveScriptParseProcedure32, IActiveScrip impl std::ops::Deref for IActiveScriptParseProcedure32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure32, windows_core::IUnknown); @@ -671,7 +671,7 @@ impl IActiveScriptParseProcedure32 { P4: windows_core::Param, P5: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParseProcedureText)(windows_core::Interface::as_raw(self), pstrcode.param().abi(), pstrformalparams.param().abi(), pstrprocedurename.param().abi(), pstritemname.param().abi(), punkcontext.param().abi(), pstrdelimiter.param().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -687,7 +687,7 @@ windows_core::imp::define_interface!(IActiveScriptParseProcedure64, IActiveScrip impl std::ops::Deref for IActiveScriptParseProcedure64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure64, windows_core::IUnknown); @@ -702,7 +702,7 @@ impl IActiveScriptParseProcedure64 { P4: windows_core::Param, P5: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParseProcedureText)(windows_core::Interface::as_raw(self), pstrcode.param().abi(), pstrformalparams.param().abi(), pstrprocedurename.param().abi(), pstritemname.param().abi(), punkcontext.param().abi(), pstrdelimiter.param().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -718,7 +718,7 @@ windows_core::imp::define_interface!(IActiveScriptParseProcedureOld32, IActiveSc impl std::ops::Deref for IActiveScriptParseProcedureOld32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedureOld32, windows_core::IUnknown); @@ -732,7 +732,7 @@ impl IActiveScriptParseProcedureOld32 { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParseProcedureText)(windows_core::Interface::as_raw(self), pstrcode.param().abi(), pstrformalparams.param().abi(), pstritemname.param().abi(), punkcontext.param().abi(), pstrdelimiter.param().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -748,7 +748,7 @@ windows_core::imp::define_interface!(IActiveScriptParseProcedureOld64, IActiveSc impl std::ops::Deref for IActiveScriptParseProcedureOld64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedureOld64, windows_core::IUnknown); @@ -762,7 +762,7 @@ impl IActiveScriptParseProcedureOld64 { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParseProcedureText)(windows_core::Interface::as_raw(self), pstrcode.param().abi(), pstrformalparams.param().abi(), pstritemname.param().abi(), punkcontext.param().abi(), pstrdelimiter.param().abi(), dwsourcecontextcookie, ulstartinglinenumber, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -778,7 +778,7 @@ windows_core::imp::define_interface!(IActiveScriptProfilerCallback, IActiveScrip impl std::ops::Deref for IActiveScriptProfilerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProfilerCallback, windows_core::IUnknown); @@ -824,7 +824,7 @@ windows_core::imp::define_interface!(IActiveScriptProfilerCallback2, IActiveScri impl std::ops::Deref for IActiveScriptProfilerCallback2 { type Target = IActiveScriptProfilerCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProfilerCallback2, windows_core::IUnknown, IActiveScriptProfilerCallback); @@ -852,7 +852,7 @@ windows_core::imp::define_interface!(IActiveScriptProfilerCallback3, IActiveScri impl std::ops::Deref for IActiveScriptProfilerCallback3 { type Target = IActiveScriptProfilerCallback2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProfilerCallback3, windows_core::IUnknown, IActiveScriptProfilerCallback, IActiveScriptProfilerCallback2); @@ -870,7 +870,7 @@ windows_core::imp::define_interface!(IActiveScriptProfilerControl, IActiveScript impl std::ops::Deref for IActiveScriptProfilerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl, windows_core::IUnknown); @@ -896,7 +896,7 @@ windows_core::imp::define_interface!(IActiveScriptProfilerControl2, IActiveScrip impl std::ops::Deref for IActiveScriptProfilerControl2 { type Target = IActiveScriptProfilerControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl2, windows_core::IUnknown, IActiveScriptProfilerControl); @@ -918,13 +918,13 @@ windows_core::imp::define_interface!(IActiveScriptProfilerControl3, IActiveScrip impl std::ops::Deref for IActiveScriptProfilerControl3 { type Target = IActiveScriptProfilerControl2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl3, windows_core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2); impl IActiveScriptProfilerControl3 { pub unsafe fn EnumHeap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumHeap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -937,7 +937,7 @@ windows_core::imp::define_interface!(IActiveScriptProfilerControl4, IActiveScrip impl std::ops::Deref for IActiveScriptProfilerControl4 { type Target = IActiveScriptProfilerControl3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl4, windows_core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3); @@ -955,13 +955,13 @@ windows_core::imp::define_interface!(IActiveScriptProfilerControl5, IActiveScrip impl std::ops::Deref for IActiveScriptProfilerControl5 { type Target = IActiveScriptProfilerControl4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl5, windows_core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3, IActiveScriptProfilerControl4); impl IActiveScriptProfilerControl5 { pub unsafe fn EnumHeap2(&self, enumflags: PROFILER_HEAP_ENUM_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumHeap2)(windows_core::Interface::as_raw(self), enumflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -974,7 +974,7 @@ windows_core::imp::define_interface!(IActiveScriptProfilerHeapEnum, IActiveScrip impl std::ops::Deref for IActiveScriptProfilerHeapEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProfilerHeapEnum, windows_core::IUnknown); @@ -1004,13 +1004,13 @@ windows_core::imp::define_interface!(IActiveScriptProperty, IActiveScriptPropert impl std::ops::Deref for IActiveScriptProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptProperty, windows_core::IUnknown); impl IActiveScriptProperty { pub unsafe fn GetProperty(&self, dwproperty: u32, pvarindex: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), dwproperty, core::mem::transmute(pvarindex), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, dwproperty: u32, pvarindex: *const windows_core::VARIANT, pvarvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -1020,20 +1020,20 @@ impl IActiveScriptProperty { #[repr(C)] pub struct IActiveScriptProperty_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSIPInfo, IActiveScriptSIPInfo_Vtbl, 0x764651d0_38de_11d4_a2a3_00104bd35090); impl std::ops::Deref for IActiveScriptSIPInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptSIPInfo, windows_core::IUnknown); impl IActiveScriptSIPInfo { pub unsafe fn GetSIPOID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSIPOID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1046,13 +1046,13 @@ windows_core::imp::define_interface!(IActiveScriptSite, IActiveScriptSite_Vtbl, impl std::ops::Deref for IActiveScriptSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptSite, windows_core::IUnknown); impl IActiveScriptSite { pub unsafe fn GetLCID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLCID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1063,7 +1063,7 @@ impl IActiveScriptSite { (windows_core::Interface::vtable(self).GetItemInfo)(windows_core::Interface::as_raw(self), pstrname.param().abi(), dwreturnmask, core::mem::transmute(ppiunkitem), core::mem::transmute(ppti)).ok() } pub unsafe fn GetDocVersionString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocVersionString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1094,9 +1094,9 @@ pub struct IActiveScriptSite_Vtbl { pub GetItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetItemInfo: usize, - pub GetDocVersionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDocVersionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub OnScriptTerminate: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, + pub OnScriptTerminate: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnScriptTerminate: usize, pub OnStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, SCRIPTSTATE) -> windows_core::HRESULT, @@ -1108,21 +1108,21 @@ windows_core::imp::define_interface!(IActiveScriptSiteDebug32, IActiveScriptSite impl std::ops::Deref for IActiveScriptSiteDebug32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptSiteDebug32, windows_core::IUnknown); impl IActiveScriptSiteDebug32 { pub unsafe fn GetDocumentContextFromPosition(&self, dwsourcecontext: u32, ucharacteroffset: u32, unumchars: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentContextFromPosition)(windows_core::Interface::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetApplication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplication)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRootApplicationNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootApplicationNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnScriptErrorDebug(&self, perrordebug: P0, pfenterdebugger: *mut super::super::super::super::Foundation::BOOL, pfcallonscripterrorwhencontinuing: *mut super::super::super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -1144,21 +1144,21 @@ windows_core::imp::define_interface!(IActiveScriptSiteDebug64, IActiveScriptSite impl std::ops::Deref for IActiveScriptSiteDebug64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptSiteDebug64, windows_core::IUnknown); impl IActiveScriptSiteDebug64 { pub unsafe fn GetDocumentContextFromPosition(&self, dwsourcecontext: u64, ucharacteroffset: u32, unumchars: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentContextFromPosition)(windows_core::Interface::as_raw(self), dwsourcecontext, ucharacteroffset, unumchars, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetApplication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplication)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRootApplicationNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootApplicationNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnScriptErrorDebug(&self, perrordebug: P0, pfenterdebugger: *mut super::super::super::super::Foundation::BOOL, pfcallonscripterrorwhencontinuing: *mut super::super::super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -1180,7 +1180,7 @@ windows_core::imp::define_interface!(IActiveScriptSiteDebugEx, IActiveScriptSite impl std::ops::Deref for IActiveScriptSiteDebugEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptSiteDebugEx, windows_core::IUnknown); @@ -1189,7 +1189,7 @@ impl IActiveScriptSiteDebugEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnCanNotJITScriptErrorDebug)(windows_core::Interface::as_raw(self), perrordebug.param().abi(), &mut result__).map(|| result__) } } @@ -1202,7 +1202,7 @@ windows_core::imp::define_interface!(IActiveScriptSiteInterruptPoll, IActiveScri impl std::ops::Deref for IActiveScriptSiteInterruptPoll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptSiteInterruptPoll, windows_core::IUnknown); @@ -1220,7 +1220,7 @@ windows_core::imp::define_interface!(IActiveScriptSiteTraceInfo, IActiveScriptSi impl std::ops::Deref for IActiveScriptSiteTraceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptSiteTraceInfo, windows_core::IUnknown); @@ -1238,13 +1238,13 @@ windows_core::imp::define_interface!(IActiveScriptSiteUIControl, IActiveScriptSi impl std::ops::Deref for IActiveScriptSiteUIControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptSiteUIControl, windows_core::IUnknown); impl IActiveScriptSiteUIControl { pub unsafe fn GetUIBehavior(&self, uicitem: SCRIPTUICITEM) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUIBehavior)(windows_core::Interface::as_raw(self), uicitem, &mut result__).map(|| result__) } } @@ -1257,13 +1257,13 @@ windows_core::imp::define_interface!(IActiveScriptSiteWindow, IActiveScriptSiteW impl std::ops::Deref for IActiveScriptSiteWindow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptSiteWindow, windows_core::IUnknown); impl IActiveScriptSiteWindow { pub unsafe fn GetWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnableModeless(&self, fenable: P0) -> windows_core::Result<()> @@ -1283,7 +1283,7 @@ windows_core::imp::define_interface!(IActiveScriptStats, IActiveScriptStats_Vtbl impl std::ops::Deref for IActiveScriptStats { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptStats, windows_core::IUnknown); @@ -1309,7 +1309,7 @@ windows_core::imp::define_interface!(IActiveScriptStringCompare, IActiveScriptSt impl std::ops::Deref for IActiveScriptStringCompare { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptStringCompare, windows_core::IUnknown); @@ -1319,20 +1319,20 @@ impl IActiveScriptStringCompare { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StrComp)(windows_core::Interface::as_raw(self), bszstr1.param().abi(), bszstr2.param().abi(), &mut result__).map(|| result__) } } #[repr(C)] pub struct IActiveScriptStringCompare_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub StrComp: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub StrComp: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptTraceInfo, IActiveScriptTraceInfo_Vtbl, 0xc35456e7_bebf_4a1b_86a9_24d56be8b369); impl std::ops::Deref for IActiveScriptTraceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptTraceInfo, windows_core::IUnknown); @@ -1357,36 +1357,36 @@ windows_core::imp::define_interface!(IActiveScriptWinRTErrorDebug, IActiveScript impl std::ops::Deref for IActiveScriptWinRTErrorDebug { type Target = IActiveScriptError; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveScriptWinRTErrorDebug, windows_core::IUnknown, IActiveScriptError); impl IActiveScriptWinRTErrorDebug { pub unsafe fn GetRestrictedErrorString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestrictedErrorString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRestrictedErrorReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestrictedErrorReference)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCapabilitySid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilitySid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IActiveScriptWinRTErrorDebug_Vtbl { pub base__: IActiveScriptError_Vtbl, - pub GetRestrictedErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRestrictedErrorReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCapabilitySid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRestrictedErrorString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRestrictedErrorReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCapabilitySid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationDebugger, IApplicationDebugger_Vtbl, 0x51973c2a_cb0c_11d0_b5c9_00a0244a0e7a); impl std::ops::Deref for IApplicationDebugger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationDebugger, windows_core::IUnknown); @@ -1398,7 +1398,7 @@ impl IApplicationDebugger { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstanceAtDebugger)(windows_core::Interface::as_raw(self), rclsid, punkouter.param().abi(), dwclscontext, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn onDebugOutput(&self, pstr: P0) -> windows_core::Result<()> @@ -1438,7 +1438,7 @@ windows_core::imp::define_interface!(IApplicationDebuggerUI, IApplicationDebugge impl std::ops::Deref for IApplicationDebuggerUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationDebuggerUI, windows_core::IUnknown); @@ -1466,7 +1466,7 @@ windows_core::imp::define_interface!(IBindEventHandler, IBindEventHandler_Vtbl, impl std::ops::Deref for IBindEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBindEventHandler, windows_core::IUnknown); @@ -1492,7 +1492,7 @@ windows_core::imp::define_interface!(IDebugApplication11032, IDebugApplication11 impl std::ops::Deref for IDebugApplication11032 { type Target = IRemoteDebugApplication110; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplication11032, windows_core::IUnknown, IRemoteDebugApplication110); @@ -1510,7 +1510,7 @@ impl IDebugApplication11032 { (windows_core::Interface::vtable(self).AsynchronousCallInMainThread)(windows_core::Interface::as_raw(self), pptc.param().abi(), dwparam1, dwparam2, dwparam3).ok() } pub unsafe fn CallableWaitForHandles(&self, phandles: &[super::super::super::super::Foundation::HANDLE]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallableWaitForHandles)(windows_core::Interface::as_raw(self), phandles.len().try_into().unwrap(), core::mem::transmute(phandles.as_ptr()), &mut result__).map(|| result__) } } @@ -1525,7 +1525,7 @@ windows_core::imp::define_interface!(IDebugApplication11064, IDebugApplication11 impl std::ops::Deref for IDebugApplication11064 { type Target = IRemoteDebugApplication110; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplication11064, windows_core::IUnknown, IRemoteDebugApplication110); @@ -1543,7 +1543,7 @@ impl IDebugApplication11064 { (windows_core::Interface::vtable(self).AsynchronousCallInMainThread)(windows_core::Interface::as_raw(self), pptc.param().abi(), dwparam1, dwparam2, dwparam3).ok() } pub unsafe fn CallableWaitForHandles(&self, phandles: &[super::super::super::super::Foundation::HANDLE]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CallableWaitForHandles)(windows_core::Interface::as_raw(self), phandles.len().try_into().unwrap(), core::mem::transmute(phandles.as_ptr()), &mut result__).map(|| result__) } } @@ -1558,7 +1558,7 @@ windows_core::imp::define_interface!(IDebugApplication32, IDebugApplication32_Vt impl std::ops::Deref for IDebugApplication32 { type Target = IRemoteDebugApplication; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplication32, windows_core::IUnknown, IRemoteDebugApplication); @@ -1582,7 +1582,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HandleBreakPoint)(windows_core::Interface::as_raw(self), br, &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -1592,21 +1592,21 @@ impl IDebugApplication32 { (windows_core::Interface::vtable(self).GetBreakFlags)(windows_core::Interface::as_raw(self), pabf, core::mem::transmute(pprdatsteppingthread)).ok() } pub unsafe fn GetCurrentThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThread)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAsyncDebugOperation(&self, psdo: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAsyncDebugOperation)(windows_core::Interface::as_raw(self), psdo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddStackFrameSniffer(&self, pdsfs: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddStackFrameSniffer)(windows_core::Interface::as_raw(self), pdsfs.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveStackFrameSniffer(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -1622,7 +1622,7 @@ impl IDebugApplication32 { (windows_core::Interface::vtable(self).SynchronousCallInDebuggerThread)(windows_core::Interface::as_raw(self), pptc.param().abi(), dwparam1, dwparam2, dwparam3).ok() } pub unsafe fn CreateApplicationNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplicationNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FireDebuggerEvent(&self, riid: *const windows_core::GUID, punk: P0) -> windows_core::Result<()> @@ -1648,7 +1648,7 @@ impl IDebugApplication32 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddGlobalExpressionContextProvider)(windows_core::Interface::as_raw(self), pdsfs.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveGlobalExpressionContextProvider(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -1683,7 +1683,7 @@ windows_core::imp::define_interface!(IDebugApplication64, IDebugApplication64_Vt impl std::ops::Deref for IDebugApplication64 { type Target = IRemoteDebugApplication; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplication64, windows_core::IUnknown, IRemoteDebugApplication); @@ -1707,7 +1707,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HandleBreakPoint)(windows_core::Interface::as_raw(self), br, &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -1717,21 +1717,21 @@ impl IDebugApplication64 { (windows_core::Interface::vtable(self).GetBreakFlags)(windows_core::Interface::as_raw(self), pabf, core::mem::transmute(pprdatsteppingthread)).ok() } pub unsafe fn GetCurrentThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThread)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAsyncDebugOperation(&self, psdo: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAsyncDebugOperation)(windows_core::Interface::as_raw(self), psdo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddStackFrameSniffer(&self, pdsfs: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddStackFrameSniffer)(windows_core::Interface::as_raw(self), pdsfs.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveStackFrameSniffer(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -1747,7 +1747,7 @@ impl IDebugApplication64 { (windows_core::Interface::vtable(self).SynchronousCallInDebuggerThread)(windows_core::Interface::as_raw(self), pptc.param().abi(), dwparam1, dwparam2, dwparam3).ok() } pub unsafe fn CreateApplicationNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplicationNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FireDebuggerEvent(&self, riid: *const windows_core::GUID, punk: P0) -> windows_core::Result<()> @@ -1773,7 +1773,7 @@ impl IDebugApplication64 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddGlobalExpressionContextProvider)(windows_core::Interface::as_raw(self), pdsfs.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveGlobalExpressionContextProvider(&self, dwcookie: u64) -> windows_core::Result<()> { @@ -1808,17 +1808,17 @@ windows_core::imp::define_interface!(IDebugApplicationNode, IDebugApplicationNod impl std::ops::Deref for IDebugApplicationNode { type Target = IDebugDocumentProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplicationNode, windows_core::IUnknown, IDebugDocumentInfo, IDebugDocumentProvider); impl IDebugApplicationNode { pub unsafe fn EnumChildren(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumChildren)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDocumentProvider(&self, pddp: P0) -> windows_core::Result<()> @@ -1854,7 +1854,7 @@ windows_core::imp::define_interface!(IDebugApplicationNode100, IDebugApplication impl std::ops::Deref for IDebugApplicationNode100 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplicationNode100, windows_core::IUnknown); @@ -1863,7 +1863,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExcludedDocuments)(windows_core::Interface::as_raw(self), filter, &mut result__).map(|| result__) } pub unsafe fn QueryIsChildNode(&self, psearchkey: P0) -> windows_core::Result<()> @@ -1884,7 +1884,7 @@ windows_core::imp::define_interface!(IDebugApplicationNodeEvents, IDebugApplicat impl std::ops::Deref for IDebugApplicationNodeEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplicationNodeEvents, windows_core::IUnknown); @@ -1923,7 +1923,7 @@ windows_core::imp::define_interface!(IDebugApplicationThread, IDebugApplicationT impl std::ops::Deref for IDebugApplicationThread { type Target = IRemoteDebugApplicationThread; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplicationThread, windows_core::IUnknown, IRemoteDebugApplicationThread); @@ -1966,21 +1966,21 @@ windows_core::imp::define_interface!(IDebugApplicationThread11032, IDebugApplica impl std::ops::Deref for IDebugApplicationThread11032 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplicationThread11032, windows_core::IUnknown); impl IDebugApplicationThread11032 { pub unsafe fn GetActiveThreadRequestCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveThreadRequestCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSuspendedForBreakPoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSuspendedForBreakPoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsThreadCallable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsThreadCallable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AsynchronousCallIntoThread(&self, pptc: P0, dwparam1: usize, dwparam2: usize, dwparam3: usize) -> windows_core::Result<()> @@ -2002,21 +2002,21 @@ windows_core::imp::define_interface!(IDebugApplicationThread11064, IDebugApplica impl std::ops::Deref for IDebugApplicationThread11064 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplicationThread11064, windows_core::IUnknown); impl IDebugApplicationThread11064 { pub unsafe fn GetActiveThreadRequestCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveThreadRequestCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSuspendedForBreakPoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSuspendedForBreakPoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsThreadCallable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsThreadCallable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AsynchronousCallIntoThread(&self, pptc: P0, dwparam1: usize, dwparam2: usize, dwparam3: usize) -> windows_core::Result<()> @@ -2038,7 +2038,7 @@ windows_core::imp::define_interface!(IDebugApplicationThread64, IDebugApplicatio impl std::ops::Deref for IDebugApplicationThread64 { type Target = IDebugApplicationThread; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplicationThread64, windows_core::IUnknown, IRemoteDebugApplicationThread, IDebugApplicationThread); @@ -2059,7 +2059,7 @@ windows_core::imp::define_interface!(IDebugApplicationThreadEvents110, IDebugApp impl std::ops::Deref for IDebugApplicationThreadEvents110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugApplicationThreadEvents110, windows_core::IUnknown); @@ -2089,13 +2089,13 @@ windows_core::imp::define_interface!(IDebugAsyncOperation, IDebugAsyncOperation_ impl std::ops::Deref for IDebugAsyncOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugAsyncOperation, windows_core::IUnknown); impl IDebugAsyncOperation { pub unsafe fn GetSyncDebugOperation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncDebugOperation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Start(&self, padocb: P0) -> windows_core::Result<()> @@ -2127,7 +2127,7 @@ windows_core::imp::define_interface!(IDebugAsyncOperationCallBack, IDebugAsyncOp impl std::ops::Deref for IDebugAsyncOperationCallBack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugAsyncOperationCallBack, windows_core::IUnknown); @@ -2145,13 +2145,13 @@ windows_core::imp::define_interface!(IDebugCodeContext, IDebugCodeContext_Vtbl, impl std::ops::Deref for IDebugCodeContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugCodeContext, windows_core::IUnknown); impl IDebugCodeContext { pub unsafe fn GetDocumentContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBreakPoint(&self, bps: BREAKPOINT_STATE) -> windows_core::Result<()> { @@ -2168,7 +2168,7 @@ windows_core::imp::define_interface!(IDebugCookie, IDebugCookie_Vtbl, 0x51973c39 impl std::ops::Deref for IDebugCookie { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugCookie, windows_core::IUnknown); @@ -2186,7 +2186,7 @@ windows_core::imp::define_interface!(IDebugDocument, IDebugDocument_Vtbl, 0x5197 impl std::ops::Deref for IDebugDocument { type Target = IDebugDocumentInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocument, windows_core::IUnknown, IDebugDocumentInfo); @@ -2199,17 +2199,17 @@ windows_core::imp::define_interface!(IDebugDocumentContext, IDebugDocumentContex impl std::ops::Deref for IDebugDocumentContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentContext, windows_core::IUnknown); impl IDebugDocumentContext { pub unsafe fn GetDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumCodeContexts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCodeContexts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2223,7 +2223,7 @@ windows_core::imp::define_interface!(IDebugDocumentHelper32, IDebugDocumentHelpe impl std::ops::Deref for IDebugDocumentHelper32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentHelper32, windows_core::IUnknown); @@ -2271,7 +2271,7 @@ impl IDebugDocumentHelper32 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefineScriptBlock)(windows_core::Interface::as_raw(self), ulcharoffset, cchars, pas.param().abi(), fscriptlet.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetDefaultTextAttr(&self, statextattr: u16) -> windows_core::Result<()> { @@ -2296,14 +2296,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDebugApplicationNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetScriptBlockInfo(&self, dwsourcecontext: u32, ppasd: *mut 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), picharpos, pcchars).ok() } pub unsafe fn CreateDebugDocumentContext(&self, icharpos: u32, cchars: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDebugDocumentContext)(windows_core::Interface::as_raw(self), icharpos, cchars, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BringDocumentToTop(&self) -> windows_core::Result<()> { @@ -2342,7 +2342,7 @@ windows_core::imp::define_interface!(IDebugDocumentHelper64, IDebugDocumentHelpe impl std::ops::Deref for IDebugDocumentHelper64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentHelper64, windows_core::IUnknown); @@ -2390,7 +2390,7 @@ impl IDebugDocumentHelper64 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefineScriptBlock)(windows_core::Interface::as_raw(self), ulcharoffset, cchars, pas.param().abi(), fscriptlet.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetDefaultTextAttr(&self, statextattr: u16) -> windows_core::Result<()> { @@ -2415,14 +2415,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDebugApplicationNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetScriptBlockInfo(&self, dwsourcecontext: u64, ppasd: *mut 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), picharpos, pcchars).ok() } pub unsafe fn CreateDebugDocumentContext(&self, icharpos: u32, cchars: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDebugDocumentContext)(windows_core::Interface::as_raw(self), icharpos, cchars, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BringDocumentToTop(&self) -> windows_core::Result<()> { @@ -2461,7 +2461,7 @@ windows_core::imp::define_interface!(IDebugDocumentHost, IDebugDocumentHost_Vtbl impl std::ops::Deref for IDebugDocumentHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentHost, windows_core::IUnknown); @@ -2477,14 +2477,14 @@ impl IDebugDocumentHost { (windows_core::Interface::vtable(self).GetScriptTextAttributes)(windows_core::Interface::as_raw(self), pstrcode.param().abi(), unumcodechars, pstrdelimiter.param().abi(), dwflags, pattr).ok() } pub unsafe fn OnCreateDocumentContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnCreateDocumentContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPathName(&self, pbstrlongname: *mut windows_core::BSTR, pfisoriginalfile: *mut super::super::super::super::Foundation::BOOL) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetPathName)(windows_core::Interface::as_raw(self), core::mem::transmute(pbstrlongname), pfisoriginalfile).ok() } pub unsafe fn GetFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NotifyChanged(&self) -> windows_core::Result<()> { @@ -2497,45 +2497,45 @@ pub struct IDebugDocumentHost_Vtbl { pub GetDeferredText: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u16, *mut u32, u32) -> windows_core::HRESULT, pub GetScriptTextAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, *mut u16) -> windows_core::HRESULT, pub OnCreateDocumentContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NotifyChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentInfo, IDebugDocumentInfo_Vtbl, 0x51973c1f_cb0c_11d0_b5c9_00a0244a0e7a); impl std::ops::Deref for IDebugDocumentInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentInfo, windows_core::IUnknown); impl IDebugDocumentInfo { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), dnt, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocumentClassId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentClassId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IDebugDocumentInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, DOCUMENTNAMETYPE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, DOCUMENTNAMETYPE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDocumentClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentProvider, IDebugDocumentProvider_Vtbl, 0x51973c20_cb0c_11d0_b5c9_00a0244a0e7a); impl std::ops::Deref for IDebugDocumentProvider { type Target = IDebugDocumentInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentProvider, windows_core::IUnknown, IDebugDocumentInfo); impl IDebugDocumentProvider { pub unsafe fn GetDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2548,20 +2548,20 @@ windows_core::imp::define_interface!(IDebugDocumentText, IDebugDocumentText_Vtbl impl std::ops::Deref for IDebugDocumentText { type Target = IDebugDocument; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentText, windows_core::IUnknown, IDebugDocumentInfo, IDebugDocument); impl IDebugDocumentText { pub unsafe fn GetDocumentAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), pcnumlines, pcnumchars).ok() } pub unsafe fn GetPositionOfLine(&self, clinenumber: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPositionOfLine)(windows_core::Interface::as_raw(self), clinenumber, &mut result__).map(|| result__) } pub unsafe fn GetLineOfPosition(&self, ccharacterposition: u32, pclinenumber: *mut u32, pccharacteroffsetinline: *mut u32) -> windows_core::Result<()> { @@ -2577,7 +2577,7 @@ impl IDebugDocumentText { (windows_core::Interface::vtable(self).GetPositionOfContext)(windows_core::Interface::as_raw(self), psc.param().abi(), pccharacterposition, cnumchars).ok() } pub unsafe fn GetContextOfPosition(&self, ccharacterposition: u32, cnumchars: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContextOfPosition)(windows_core::Interface::as_raw(self), ccharacterposition, cnumchars, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2596,7 +2596,7 @@ windows_core::imp::define_interface!(IDebugDocumentTextAuthor, IDebugDocumentTex impl std::ops::Deref for IDebugDocumentTextAuthor { type Target = IDebugDocumentText; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentTextAuthor, windows_core::IUnknown, IDebugDocumentInfo, IDebugDocument, IDebugDocumentText); @@ -2622,7 +2622,7 @@ windows_core::imp::define_interface!(IDebugDocumentTextEvents, IDebugDocumentTex impl std::ops::Deref for IDebugDocumentTextEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentTextEvents, windows_core::IUnknown); @@ -2660,7 +2660,7 @@ windows_core::imp::define_interface!(IDebugDocumentTextExternalAuthor, IDebugDoc impl std::ops::Deref for IDebugDocumentTextExternalAuthor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDocumentTextExternalAuthor, windows_core::IUnknown); @@ -2669,7 +2669,7 @@ impl IDebugDocumentTextExternalAuthor { (windows_core::Interface::vtable(self).GetPathName)(windows_core::Interface::as_raw(self), core::mem::transmute(pbstrlongname), pfisoriginalfile).ok() } pub unsafe fn GetFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NotifyChanged(&self) -> windows_core::Result<()> { @@ -2679,15 +2679,15 @@ impl IDebugDocumentTextExternalAuthor { #[repr(C)] pub struct IDebugDocumentTextExternalAuthor_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NotifyChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugExpression, IDebugExpression_Vtbl, 0x51973c14_cb0c_11d0_b5c9_00a0244a0e7a); impl std::ops::Deref for IDebugExpression { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugExpression, windows_core::IUnknown); @@ -2717,14 +2717,14 @@ pub struct IDebugExpression_Vtbl { pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub QueryIsComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetResultAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetResultAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetResultAsDebugProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugExpressionCallBack, IDebugExpressionCallBack_Vtbl, 0x51973c16_cb0c_11d0_b5c9_00a0244a0e7a); impl std::ops::Deref for IDebugExpressionCallBack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugExpressionCallBack, windows_core::IUnknown); @@ -2742,7 +2742,7 @@ windows_core::imp::define_interface!(IDebugExpressionContext, IDebugExpressionCo impl std::ops::Deref for IDebugExpressionContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugExpressionContext, windows_core::IUnknown); @@ -2752,7 +2752,7 @@ impl IDebugExpressionContext { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParseLanguageText)(windows_core::Interface::as_raw(self), pstrcode.param().abi(), nradix, pstrdelimiter.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLanguageInfo(&self, pbstrlanguagename: *mut windows_core::BSTR, planguageid: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -2763,41 +2763,41 @@ impl IDebugExpressionContext { pub struct IDebugExpressionContext_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ParseLanguageText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetLanguageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, + pub GetLanguageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugFormatter, IDebugFormatter_Vtbl, 0x51973c05_cb0c_11d0_b5c9_00a0244a0e7a); impl std::ops::Deref for IDebugFormatter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugFormatter, windows_core::IUnknown); impl IDebugFormatter { pub unsafe fn GetStringForVariant(&self, pvar: *const windows_core::VARIANT, nradix: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringForVariant)(windows_core::Interface::as_raw(self), core::mem::transmute(pvar), nradix, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVariantForString(&self, pwstrvalue: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVariantForString)(windows_core::Interface::as_raw(self), pwstrvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] pub unsafe fn GetStringForVarType(&self, vt: super::super::super::Variant::VARENUM, ptdescarraytype: *const super::super::super::Com::TYPEDESC) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringForVarType)(windows_core::Interface::as_raw(self), vt, ptdescarraytype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDebugFormatter_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetStringForVariant: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetVariantForString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringForVariant: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetVariantForString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] - pub GetStringForVarType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Variant::VARENUM, *const super::super::super::Com::TYPEDESC, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStringForVarType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Variant::VARENUM, *const super::super::super::Com::TYPEDESC, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetStringForVarType: usize, } @@ -2805,7 +2805,7 @@ windows_core::imp::define_interface!(IDebugHelper, IDebugHelper_Vtbl, 0x51973c3f impl std::ops::Deref for IDebugHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHelper, windows_core::IUnknown); @@ -2815,7 +2815,7 @@ impl IDebugHelper { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePropertyBrowser)(windows_core::Interface::as_raw(self), core::mem::transmute(pvar), bstrname.param().abi(), pdat.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePropertyBrowserEx(&self, pvar: *const windows_core::VARIANT, bstrname: P0, pdat: P1, pdf: P2) -> windows_core::Result @@ -2824,7 +2824,7 @@ impl IDebugHelper { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePropertyBrowserEx)(windows_core::Interface::as_raw(self), core::mem::transmute(pvar), bstrname.param().abi(), pdat.param().abi(), pdf.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2832,15 +2832,15 @@ impl IDebugHelper { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSimpleConnectionPoint)(windows_core::Interface::as_raw(self), pdisp.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDebugHelper_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreatePropertyBrowser: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreatePropertyBrowserEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePropertyBrowser: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePropertyBrowserEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateSimpleConnectionPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2850,7 +2850,7 @@ windows_core::imp::define_interface!(IDebugSessionProvider, IDebugSessionProvide impl std::ops::Deref for IDebugSessionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSessionProvider, windows_core::IUnknown); @@ -2871,35 +2871,35 @@ windows_core::imp::define_interface!(IDebugStackFrame, IDebugStackFrame_Vtbl, 0x impl std::ops::Deref for IDebugStackFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugStackFrame, windows_core::IUnknown); impl IDebugStackFrame { pub unsafe fn GetCodeContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDescriptionString(&self, flong: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescriptionString)(windows_core::Interface::as_raw(self), flong.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLanguageString(&self, flong: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguageString)(windows_core::Interface::as_raw(self), flong.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThread)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDebugProperty(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDebugProperty)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2907,8 +2907,8 @@ impl IDebugStackFrame { pub struct IDebugStackFrame_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCodeContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDescriptionString: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetLanguageString: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescriptionString: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLanguageString: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDebugProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -2916,17 +2916,17 @@ windows_core::imp::define_interface!(IDebugStackFrame110, IDebugStackFrame110_Vt impl std::ops::Deref for IDebugStackFrame110 { type Target = IDebugStackFrame; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugStackFrame110, windows_core::IUnknown, IDebugStackFrame); impl IDebugStackFrame110 { pub unsafe fn GetStackFrameType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStackFrameType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetScriptInvocationContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScriptInvocationContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2940,13 +2940,13 @@ windows_core::imp::define_interface!(IDebugStackFrameSniffer, IDebugStackFrameSn impl std::ops::Deref for IDebugStackFrameSniffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugStackFrameSniffer, windows_core::IUnknown); impl IDebugStackFrameSniffer { pub unsafe fn EnumStackFrames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStackFrames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2959,13 +2959,13 @@ windows_core::imp::define_interface!(IDebugStackFrameSnifferEx32, IDebugStackFra impl std::ops::Deref for IDebugStackFrameSnifferEx32 { type Target = IDebugStackFrameSniffer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugStackFrameSnifferEx32, windows_core::IUnknown, IDebugStackFrameSniffer); impl IDebugStackFrameSnifferEx32 { pub unsafe fn EnumStackFramesEx32(&self, dwspmin: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStackFramesEx32)(windows_core::Interface::as_raw(self), dwspmin, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2978,13 +2978,13 @@ windows_core::imp::define_interface!(IDebugStackFrameSnifferEx64, IDebugStackFra impl std::ops::Deref for IDebugStackFrameSnifferEx64 { type Target = IDebugStackFrameSniffer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugStackFrameSnifferEx64, windows_core::IUnknown, IDebugStackFrameSniffer); impl IDebugStackFrameSnifferEx64 { pub unsafe fn EnumStackFramesEx64(&self, dwspmin: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStackFramesEx64)(windows_core::Interface::as_raw(self), dwspmin, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2997,17 +2997,17 @@ windows_core::imp::define_interface!(IDebugSyncOperation, IDebugSyncOperation_Vt impl std::ops::Deref for IDebugSyncOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSyncOperation, windows_core::IUnknown); impl IDebugSyncOperation { pub unsafe fn GetTargetThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetThread)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Execute(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Execute)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InProgressAbort(&self) -> windows_core::Result<()> { @@ -3025,7 +3025,7 @@ windows_core::imp::define_interface!(IDebugThreadCall32, IDebugThreadCall32_Vtbl impl std::ops::Deref for IDebugThreadCall32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugThreadCall32, windows_core::IUnknown); @@ -3043,7 +3043,7 @@ windows_core::imp::define_interface!(IDebugThreadCall64, IDebugThreadCall64_Vtbl impl std::ops::Deref for IDebugThreadCall64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugThreadCall64, windows_core::IUnknown); @@ -3061,7 +3061,7 @@ windows_core::imp::define_interface!(IEnumDebugApplicationNodes, IEnumDebugAppli impl std::ops::Deref for IEnumDebugApplicationNodes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDebugApplicationNodes, windows_core::IUnknown); @@ -3076,7 +3076,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3092,7 +3092,7 @@ windows_core::imp::define_interface!(IEnumDebugCodeContexts, IEnumDebugCodeConte impl std::ops::Deref for IEnumDebugCodeContexts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDebugCodeContexts, windows_core::IUnknown); @@ -3107,7 +3107,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3123,7 +3123,7 @@ windows_core::imp::define_interface!(IEnumDebugExpressionContexts, IEnumDebugExp impl std::ops::Deref for IEnumDebugExpressionContexts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDebugExpressionContexts, windows_core::IUnknown); @@ -3138,7 +3138,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3154,7 +3154,7 @@ windows_core::imp::define_interface!(IEnumDebugStackFrames, IEnumDebugStackFrame impl std::ops::Deref for IEnumDebugStackFrames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDebugStackFrames, windows_core::IUnknown); @@ -3169,7 +3169,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3185,7 +3185,7 @@ windows_core::imp::define_interface!(IEnumDebugStackFrames64, IEnumDebugStackFra impl std::ops::Deref for IEnumDebugStackFrames64 { type Target = IEnumDebugStackFrames; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDebugStackFrames64, windows_core::IUnknown, IEnumDebugStackFrames); @@ -3203,7 +3203,7 @@ windows_core::imp::define_interface!(IEnumJsStackFrames, IEnumJsStackFrames_Vtbl impl std::ops::Deref for IEnumJsStackFrames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumJsStackFrames, windows_core::IUnknown); @@ -3225,7 +3225,7 @@ windows_core::imp::define_interface!(IEnumRemoteDebugApplicationThreads, IEnumRe impl std::ops::Deref for IEnumRemoteDebugApplicationThreads { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumRemoteDebugApplicationThreads, windows_core::IUnknown); @@ -3240,7 +3240,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3256,7 +3256,7 @@ windows_core::imp::define_interface!(IEnumRemoteDebugApplications, IEnumRemoteDe impl std::ops::Deref for IEnumRemoteDebugApplications { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumRemoteDebugApplications, windows_core::IUnknown); @@ -3271,7 +3271,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3287,7 +3287,7 @@ windows_core::imp::define_interface!(IJsDebug, IJsDebug_Vtbl, 0xbe0e89da_2ac5_4c impl std::ops::Deref for IJsDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJsDebug, windows_core::IUnknown); @@ -3296,7 +3296,7 @@ impl IJsDebug { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenVirtualProcess)(windows_core::Interface::as_raw(self), processid, runtimejsbaseaddress, pdatatarget.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3309,13 +3309,13 @@ windows_core::imp::define_interface!(IJsDebugBreakPoint, IJsDebugBreakPoint_Vtbl impl std::ops::Deref for IJsDebugBreakPoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJsDebugBreakPoint, windows_core::IUnknown); impl IJsDebugBreakPoint { pub unsafe fn IsEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Enable(&self) -> windows_core::Result<()> { @@ -3344,7 +3344,7 @@ windows_core::imp::define_interface!(IJsDebugDataTarget, IJsDebugDataTarget_Vtbl impl std::ops::Deref for IJsDebugDataTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJsDebugDataTarget, windows_core::IUnknown); @@ -3356,26 +3356,26 @@ impl IJsDebugDataTarget { (windows_core::Interface::vtable(self).WriteMemory)(windows_core::Interface::as_raw(self), address, core::mem::transmute(pmemory.as_ptr()), pmemory.len().try_into().unwrap()).ok() } pub unsafe fn AllocateVirtualMemory(&self, address: u64, size: u32, allocationtype: u32, pageprotection: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllocateVirtualMemory)(windows_core::Interface::as_raw(self), address, size, allocationtype, pageprotection, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTlsValue)(windows_core::Interface::as_raw(self), threadid, tlsindex, &mut result__).map(|| result__) } pub unsafe fn ReadBSTR(&self, address: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadBSTR)(windows_core::Interface::as_raw(self), address, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReadNullTerminatedString(&self, address: u64, charactersize: u16, maxcharacters: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadNullTerminatedString)(windows_core::Interface::as_raw(self), address, charactersize, maxcharacters, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateStackFrameEnumerator(&self, threadid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStackFrameEnumerator)(windows_core::Interface::as_raw(self), threadid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetThreadContext(&self, threadid: u32, contextflags: u32, pcontext: &mut [u8]) -> windows_core::Result<()> { @@ -3390,8 +3390,8 @@ pub struct IJsDebugDataTarget_Vtbl { pub AllocateVirtualMemory: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, u32, u32, *mut u64) -> windows_core::HRESULT, pub FreeVirtualMemory: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, u32) -> windows_core::HRESULT, pub GetTlsValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u64) -> windows_core::HRESULT, - pub ReadBSTR: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReadNullTerminatedString: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u16, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadBSTR: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadNullTerminatedString: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u16, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreateStackFrameEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetThreadContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3399,7 +3399,7 @@ windows_core::imp::define_interface!(IJsDebugFrame, IJsDebugFrame_Vtbl, 0xc91966 impl std::ops::Deref for IJsDebugFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJsDebugFrame, windows_core::IUnknown); @@ -3408,7 +3408,7 @@ impl IJsDebugFrame { (windows_core::Interface::vtable(self).GetStackRange)(windows_core::Interface::as_raw(self), pstart, pend).ok() } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocumentPositionWithId(&self, pdocumentid: *mut u64, pcharacteroffset: *mut u32, pstatementcharcount: *mut u32) -> windows_core::Result<()> { @@ -3418,11 +3418,11 @@ impl IJsDebugFrame { (windows_core::Interface::vtable(self).GetDocumentPositionWithName)(windows_core::Interface::as_raw(self), core::mem::transmute(pdocumentname), pline, pcolumn).ok() } pub unsafe fn GetDebugProperty(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDebugProperty)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetReturnAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReturnAddress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Evaluate(&self, pexpressiontext: P0, ppdebugproperty: *mut Option, perror: *mut windows_core::BSTR) -> windows_core::Result<()> @@ -3436,38 +3436,38 @@ impl IJsDebugFrame { pub struct IJsDebugFrame_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetStackRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDocumentPositionWithId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u32, *mut u32) -> windows_core::HRESULT, - pub GetDocumentPositionWithName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut u32, *mut u32) -> windows_core::HRESULT, + pub GetDocumentPositionWithName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut u32, *mut u32) -> windows_core::HRESULT, pub GetDebugProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetReturnAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub Evaluate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Evaluate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsDebugProcess, IJsDebugProcess_Vtbl, 0x3d587168_6a2d_4041_bd3b_0de674502862); impl std::ops::Deref for IJsDebugProcess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJsDebugProcess, windows_core::IUnknown); impl IJsDebugProcess { pub unsafe fn CreateStackWalker(&self, threadid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStackWalker)(windows_core::Interface::as_raw(self), threadid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateBreakPoint(&self, documentid: u64, characteroffset: u32, charactercount: u32, isenabled: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateBreakPoint)(windows_core::Interface::as_raw(self), documentid, characteroffset, charactercount, isenabled.param().abi(), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExternalStepAddress)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3483,7 +3483,7 @@ windows_core::imp::define_interface!(IJsDebugProperty, IJsDebugProperty_Vtbl, 0x impl std::ops::Deref for IJsDebugProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJsDebugProperty, windows_core::IUnknown); @@ -3492,7 +3492,7 @@ impl IJsDebugProperty { (windows_core::Interface::vtable(self).GetPropertyInfo)(windows_core::Interface::as_raw(self), nradix, ppropertyinfo).ok() } pub unsafe fn GetMembers(&self, members: JS_PROPERTY_MEMBERS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMembers)(windows_core::Interface::as_raw(self), members, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3506,13 +3506,13 @@ windows_core::imp::define_interface!(IJsDebugStackWalker, IJsDebugStackWalker_Vt impl std::ops::Deref for IJsDebugStackWalker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJsDebugStackWalker, windows_core::IUnknown); impl IJsDebugStackWalker { pub unsafe fn GetNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3525,7 +3525,7 @@ windows_core::imp::define_interface!(IJsEnumDebugProperty, IJsEnumDebugProperty_ impl std::ops::Deref for IJsEnumDebugProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IJsEnumDebugProperty, windows_core::IUnknown); @@ -3534,7 +3534,7 @@ impl IJsEnumDebugProperty { (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), ppdebugproperty.len().try_into().unwrap(), core::mem::transmute(ppdebugproperty.as_ptr()), pactualcount).ok() } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3548,7 +3548,7 @@ windows_core::imp::define_interface!(IMachineDebugManager, IMachineDebugManager_ impl std::ops::Deref for IMachineDebugManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMachineDebugManager, windows_core::IUnknown); @@ -3557,14 +3557,14 @@ impl IMachineDebugManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddApplication)(windows_core::Interface::as_raw(self), pda.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumApplications)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3579,7 +3579,7 @@ windows_core::imp::define_interface!(IMachineDebugManagerCookie, IMachineDebugMa impl std::ops::Deref for IMachineDebugManagerCookie { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMachineDebugManagerCookie, windows_core::IUnknown); @@ -3588,14 +3588,14 @@ impl IMachineDebugManagerCookie { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddApplication)(windows_core::Interface::as_raw(self), pda.param().abi(), dwdebugappcookie, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumApplications)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3610,7 +3610,7 @@ windows_core::imp::define_interface!(IMachineDebugManagerEvents, IMachineDebugMa impl std::ops::Deref for IMachineDebugManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMachineDebugManagerEvents, windows_core::IUnknown); @@ -3638,24 +3638,24 @@ windows_core::imp::define_interface!(IProcessDebugManager32, IProcessDebugManage impl std::ops::Deref for IProcessDebugManager32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProcessDebugManager32, windows_core::IUnknown); impl IProcessDebugManager32 { pub unsafe fn CreateApplication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplication)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultApplication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultApplication)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddApplication(&self, pda: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddApplication)(windows_core::Interface::as_raw(self), pda.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveApplication(&self, dwappcookie: u32) -> windows_core::Result<()> { @@ -3665,7 +3665,7 @@ impl IProcessDebugManager32 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDebugDocumentHelper)(windows_core::Interface::as_raw(self), punkouter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3682,24 +3682,24 @@ windows_core::imp::define_interface!(IProcessDebugManager64, IProcessDebugManage impl std::ops::Deref for IProcessDebugManager64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProcessDebugManager64, windows_core::IUnknown); impl IProcessDebugManager64 { pub unsafe fn CreateApplication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateApplication)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultApplication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultApplication)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddApplication(&self, pda: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddApplication)(windows_core::Interface::as_raw(self), pda.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveApplication(&self, dwappcookie: u32) -> windows_core::Result<()> { @@ -3709,7 +3709,7 @@ impl IProcessDebugManager64 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDebugDocumentHelper)(windows_core::Interface::as_raw(self), punkouter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3726,13 +3726,13 @@ windows_core::imp::define_interface!(IProvideExpressionContexts, IProvideExpress impl std::ops::Deref for IProvideExpressionContexts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvideExpressionContexts, windows_core::IUnknown); impl IProvideExpressionContexts { pub unsafe fn EnumExpressionContexts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumExpressionContexts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3745,7 +3745,7 @@ windows_core::imp::define_interface!(IRemoteDebugApplication, IRemoteDebugApplic impl std::ops::Deref for IRemoteDebugApplication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRemoteDebugApplication, windows_core::IUnknown); @@ -3769,33 +3769,33 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDebugger)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInstanceAtApplication(&self, rclsid: *const windows_core::GUID, punkouter: P0, dwclscontext: u32, riid: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstanceAtApplication)(windows_core::Interface::as_raw(self), rclsid, punkouter.param().abi(), dwclscontext, riid, &mut result__).and_then(|| windows_core::Type::from_abi(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumThreads)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRootNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumGlobalExpressionContexts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumGlobalExpressionContexts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3810,7 +3810,7 @@ pub struct IRemoteDebugApplication_Vtbl { pub CreateInstanceAtApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub QueryAlive: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumThreads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetRootNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumGlobalExpressionContexts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3818,7 +3818,7 @@ windows_core::imp::define_interface!(IRemoteDebugApplication110, IRemoteDebugApp impl std::ops::Deref for IRemoteDebugApplication110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRemoteDebugApplication110, windows_core::IUnknown); @@ -3827,11 +3827,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentDebuggerOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMainThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMainThread)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3846,7 +3846,7 @@ windows_core::imp::define_interface!(IRemoteDebugApplicationEvents, IRemoteDebug impl std::ops::Deref for IRemoteDebugApplicationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRemoteDebugApplicationEvents, windows_core::IUnknown); @@ -3924,21 +3924,21 @@ windows_core::imp::define_interface!(IRemoteDebugApplicationThread, IRemoteDebug impl std::ops::Deref for IRemoteDebugApplicationThread { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRemoteDebugApplicationThread, windows_core::IUnknown); impl IRemoteDebugApplicationThread { pub unsafe fn GetSystemThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetApplication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplication)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumStackFrames(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumStackFrames)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDescription(&self, pbstrdescription: *mut windows_core::BSTR, pbstrstate: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -3952,19 +3952,19 @@ impl IRemoteDebugApplicationThread { (windows_core::Interface::vtable(self).SetNextStatement)(windows_core::Interface::as_raw(self), pstackframe.param().abi(), pcodecontext.param().abi()).ok() } pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Suspend(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Suspend)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Resume(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Resume)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSuspendCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSuspendCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3974,7 +3974,7 @@ pub struct IRemoteDebugApplicationThread_Vtbl { pub GetSystemThreadId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumStackFrames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetNextStatement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Suspend: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -3985,7 +3985,7 @@ windows_core::imp::define_interface!(IRemoteDebugCriticalErrorEvent110, IRemoteD impl std::ops::Deref for IRemoteDebugCriticalErrorEvent110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRemoteDebugCriticalErrorEvent110, windows_core::IUnknown); @@ -3997,13 +3997,13 @@ impl IRemoteDebugCriticalErrorEvent110 { #[repr(C)] pub struct IRemoteDebugCriticalErrorEvent110_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut i32, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut i32, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteDebugInfoEvent110, IRemoteDebugInfoEvent110_Vtbl, 0x9ff56bb6_eb89_4c0f_8823_cc2a4c0b7f26); impl std::ops::Deref for IRemoteDebugInfoEvent110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRemoteDebugInfoEvent110, windows_core::IUnknown); @@ -4015,19 +4015,19 @@ impl IRemoteDebugInfoEvent110 { #[repr(C)] pub struct IRemoteDebugInfoEvent110_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetEventInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEBUG_EVENT_INFO_TYPE, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetEventInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEBUG_EVENT_INFO_TYPE, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScriptEntry, IScriptEntry_Vtbl, 0x0aee2a95_bcbb_11d0_8c72_00c04fc2b085); impl std::ops::Deref for IScriptEntry { type Target = IScriptNode; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScriptEntry, windows_core::IUnknown, IScriptNode); impl IScriptEntry { pub unsafe fn GetText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetText(&self, psz: P0) -> windows_core::Result<()> @@ -4037,7 +4037,7 @@ impl IScriptEntry { (windows_core::Interface::vtable(self).SetText)(windows_core::Interface::as_raw(self), psz.param().abi()).ok() } pub unsafe fn GetBody(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBody)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBody(&self, psz: P0) -> windows_core::Result<()> @@ -4047,7 +4047,7 @@ impl IScriptEntry { (windows_core::Interface::vtable(self).SetBody)(windows_core::Interface::as_raw(self), psz.param().abi()).ok() } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, psz: P0) -> windows_core::Result<()> @@ -4057,7 +4057,7 @@ impl IScriptEntry { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), psz.param().abi()).ok() } pub unsafe fn GetItemName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetItemName(&self, psz: P0) -> windows_core::Result<()> @@ -4084,13 +4084,13 @@ impl IScriptEntry { #[repr(C)] pub struct IScriptEntry_Vtbl { pub base__: IScriptNode_Vtbl, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetItemName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -4106,21 +4106,21 @@ windows_core::imp::define_interface!(IScriptInvocationContext, IScriptInvocation impl std::ops::Deref for IScriptInvocationContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScriptInvocationContext, windows_core::IUnknown); impl IScriptInvocationContext { pub unsafe fn GetContextType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContextType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContextDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContextDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContextObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContextObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4128,14 +4128,14 @@ impl IScriptInvocationContext { pub struct IScriptInvocationContext_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetContextType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCRIPT_INVOCATION_CONTEXT_TYPE) -> windows_core::HRESULT, - pub GetContextDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetContextDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetContextObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScriptNode, IScriptNode_Vtbl, 0x0aee2a94_bcbb_11d0_8c72_00c04fc2b085); impl std::ops::Deref for IScriptNode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScriptNode, windows_core::IUnknown); @@ -4147,34 +4147,34 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIndexInParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndexInParent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCookie(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCookie)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberOfChildren(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfChildren)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetChild(&self, isn: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChild)(windows_core::Interface::as_raw(self), isn, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateChildEntry(&self, isn: u32, dwcookie: u32, pszdelimiter: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateChildEntry)(windows_core::Interface::as_raw(self), isn, dwcookie, pszdelimiter.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4185,7 +4185,7 @@ impl IScriptNode { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateChildHandler)(windows_core::Interface::as_raw(self), pszdefaultname.param().abi(), core::mem::transmute(prgpsznames.as_ptr()), prgpsznames.len().try_into().unwrap(), pszevent.param().abi(), pszdelimiter.param().abi(), ptisignature.param().abi(), imethodsignature, isn, dwcookie, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4199,7 +4199,7 @@ pub struct IScriptNode_Vtbl { pub GetCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetNumberOfChildren: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetChild: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreateChildEntry: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateChildHandler: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::PCWSTR, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4210,13 +4210,13 @@ windows_core::imp::define_interface!(IScriptScriptlet, IScriptScriptlet_Vtbl, 0x impl std::ops::Deref for IScriptScriptlet { type Target = IScriptEntry; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScriptScriptlet, windows_core::IUnknown, IScriptNode, IScriptEntry); impl IScriptScriptlet { pub unsafe fn GetSubItemName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubItemName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubItemName(&self, psz: P0) -> windows_core::Result<()> @@ -4226,7 +4226,7 @@ impl IScriptScriptlet { (windows_core::Interface::vtable(self).SetSubItemName)(windows_core::Interface::as_raw(self), psz.param().abi()).ok() } pub unsafe fn GetEventName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventName(&self, psz: P0) -> windows_core::Result<()> @@ -4236,7 +4236,7 @@ impl IScriptScriptlet { (windows_core::Interface::vtable(self).SetEventName)(windows_core::Interface::as_raw(self), psz.param().abi()).ok() } pub unsafe fn GetSimpleEventName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSimpleEventName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSimpleEventName(&self, psz: P0) -> windows_core::Result<()> @@ -4249,24 +4249,24 @@ impl IScriptScriptlet { #[repr(C)] pub struct IScriptScriptlet_Vtbl { pub base__: IScriptEntry_Vtbl, - pub GetSubItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSubItemName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetSubItemName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetEventName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEventName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetEventName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetSimpleEventName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSimpleEventName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetSimpleEventName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimpleConnectionPoint, ISimpleConnectionPoint_Vtbl, 0x51973c3e_cb0c_11d0_b5c9_00a0244a0e7a); impl std::ops::Deref for ISimpleConnectionPoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimpleConnectionPoint, windows_core::IUnknown); impl ISimpleConnectionPoint { pub unsafe fn GetEventCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DescribeEvents(&self, ievent: u32, cevents: u32, prgid: *mut i32, prgbstr: *mut windows_core::BSTR, pceventsfetched: *mut u32) -> windows_core::Result<()> { @@ -4277,7 +4277,7 @@ impl ISimpleConnectionPoint { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), pdisp.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -4288,7 +4288,7 @@ impl ISimpleConnectionPoint { pub struct ISimpleConnectionPoint_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetEventCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub DescribeEvents: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut i32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub DescribeEvents: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut i32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4299,7 +4299,7 @@ windows_core::imp::define_interface!(ITridentEventSink, ITridentEventSink_Vtbl, impl std::ops::Deref for ITridentEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITridentEventSink, windows_core::IUnknown); @@ -4316,7 +4316,7 @@ impl ITridentEventSink { pub struct ITridentEventSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub FireEvent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const super::super::super::Com::DISPPARAMS, *mut std::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, + pub FireEvent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const super::super::super::Com::DISPPARAMS, *mut core::mem::MaybeUninit, *mut super::super::super::Com::EXCEPINFO) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FireEvent: usize, } @@ -4324,7 +4324,7 @@ windows_core::imp::define_interface!(IWebAppDiagnosticsObjectInitialization, IWe impl std::ops::Deref for IWebAppDiagnosticsObjectInitialization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAppDiagnosticsObjectInitialization, windows_core::IUnknown); @@ -4346,13 +4346,13 @@ windows_core::imp::define_interface!(IWebAppDiagnosticsSetup, IWebAppDiagnostics impl std::ops::Deref for IWebAppDiagnosticsSetup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAppDiagnosticsSetup, windows_core::IUnknown); impl IWebAppDiagnosticsSetup { pub unsafe fn DiagnosticsSupported(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiagnosticsSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CreateObjectWithSiteAtWebApp(&self, rclsid: *const windows_core::GUID, dwclscontext: u32, riid: *const windows_core::GUID, hpasstoobject: usize) -> windows_core::Result<()> { @@ -5125,11 +5125,11 @@ pub const DebugHelper: windows_core::GUID = windows_core::GUID::from_u128(0x0bfc #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct DebugStackFrameDescriptor { - pub pdsf: std::mem::ManuallyDrop>, + pub pdsf: core::mem::ManuallyDrop>, pub dwMin: u32, pub dwLim: u32, pub fFinal: super::super::super::super::Foundation::BOOL, - pub punkFinal: std::mem::ManuallyDrop>, + pub punkFinal: core::mem::ManuallyDrop>, } impl Clone for DebugStackFrameDescriptor { fn clone(&self) -> Self { @@ -5147,11 +5147,11 @@ impl Default for DebugStackFrameDescriptor { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct DebugStackFrameDescriptor64 { - pub pdsf: std::mem::ManuallyDrop>, + pub pdsf: core::mem::ManuallyDrop>, pub dwMin: u64, pub dwLim: u64, pub fFinal: super::super::super::super::Foundation::BOOL, - pub punkFinal: std::mem::ManuallyDrop>, + pub punkFinal: core::mem::ManuallyDrop>, } impl Clone for DebugStackFrameDescriptor64 { fn clone(&self) -> Self { @@ -5186,10 +5186,10 @@ impl Default for JS_NATIVE_FRAME { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct JsDebugPropertyInfo { - pub name: std::mem::ManuallyDrop, - pub r#type: std::mem::ManuallyDrop, - pub value: std::mem::ManuallyDrop, - pub fullName: std::mem::ManuallyDrop, + pub name: core::mem::ManuallyDrop, + pub r#type: core::mem::ManuallyDrop, + pub value: core::mem::ManuallyDrop, + pub fullName: core::mem::ManuallyDrop, pub attr: JS_PROPERTY_ATTRIBUTES, } impl Clone for JsDebugPropertyInfo { @@ -5301,7 +5301,7 @@ impl Default for PROFILER_HEAP_OBJECT_RELATIONSHIP { pub union PROFILER_HEAP_OBJECT_RELATIONSHIP_0 { pub numberValue: f64, pub stringValue: windows_core::PCWSTR, - pub bstrValue: std::mem::ManuallyDrop, + pub bstrValue: core::mem::ManuallyDrop, pub objectId: usize, pub externalObjectAddress: *mut core::ffi::c_void, pub subString: *mut PROFILER_PROPERTY_TYPE_SUBSTRING_INFO, diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs index d3ac9cd918..a9edeafe8d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs @@ -76,7 +76,7 @@ impl IDataModelConcept_Vtbl { let this = (*this).get_impl(); IDataModelConcept_Impl::InitializeObject(this, windows_core::from_raw_borrowed(&modelobject), windows_core::from_raw_borrowed(&matchingtypesignature), windows_core::from_raw_borrowed(&wildcardmatches)).into() } - unsafe extern "system" fn GetName, Impl: IDataModelConcept_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, modelname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IDataModelConcept_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, modelname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelConcept_Impl::GetName(this) { @@ -193,7 +193,7 @@ impl IDataModelManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateIntrinsicObject, Impl: IDataModelManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectkind: ModelObjectKind, intrinsicdata: *const std::mem::MaybeUninit, object: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateIntrinsicObject, Impl: IDataModelManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objectkind: ModelObjectKind, intrinsicdata: *const core::mem::MaybeUninit, object: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelManager_Impl::CreateIntrinsicObject(this, core::mem::transmute_copy(&objectkind), core::mem::transmute_copy(&intrinsicdata)) { @@ -204,7 +204,7 @@ impl IDataModelManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateTypedIntrinsicObject, Impl: IDataModelManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, intrinsicdata: *const std::mem::MaybeUninit, r#type: *mut core::ffi::c_void, object: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTypedIntrinsicObject, Impl: IDataModelManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, intrinsicdata: *const core::mem::MaybeUninit, r#type: *mut core::ffi::c_void, object: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelManager_Impl::CreateTypedIntrinsicObject(this, core::mem::transmute_copy(&intrinsicdata), windows_core::from_raw_borrowed(&r#type)) { @@ -340,7 +340,7 @@ impl IDataModelManager2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateTypedIntrinsicObjectEx, Impl: IDataModelManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *mut core::ffi::c_void, intrinsicdata: *const std::mem::MaybeUninit, r#type: *mut core::ffi::c_void, object: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTypedIntrinsicObjectEx, Impl: IDataModelManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *mut core::ffi::c_void, intrinsicdata: *const core::mem::MaybeUninit, r#type: *mut core::ffi::c_void, object: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelManager2_Impl::CreateTypedIntrinsicObjectEx(this, windows_core::from_raw_borrowed(&context), core::mem::transmute_copy(&intrinsicdata), windows_core::from_raw_borrowed(&r#type)) { @@ -429,7 +429,7 @@ impl windows_core::RuntimeName for IDataModelScript {} #[cfg(feature = "Win32_System_Com")] impl IDataModelScript_Vtbl { pub const fn new, Impl: IDataModelScript_Impl, const OFFSET: isize>() -> IDataModelScript_Vtbl { - unsafe extern "system" fn GetName, Impl: IDataModelScript_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scriptname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IDataModelScript_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scriptname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelScript_Impl::GetName(this) { @@ -528,7 +528,7 @@ impl IDataModelScriptDebug_Vtbl { let this = (*this).get_impl(); IDataModelScriptDebug_Impl::GetDebugState(this) } - unsafe extern "system" fn GetCurrentPosition, Impl: IDataModelScriptDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, currentposition: *mut ScriptDebugPosition, positionspanend: *mut ScriptDebugPosition, linetext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCurrentPosition, Impl: IDataModelScriptDebug_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, currentposition: *mut ScriptDebugPosition, positionspanend: *mut ScriptDebugPosition, linetext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataModelScriptDebug_Impl::GetCurrentPosition(this, core::mem::transmute_copy(¤tposition), core::mem::transmute_copy(&positionspanend), core::mem::transmute_copy(&linetext)).into() @@ -680,7 +680,7 @@ impl IDataModelScriptDebugBreakpoint_Vtbl { let this = (*this).get_impl(); IDataModelScriptDebugBreakpoint_Impl::Remove(this) } - unsafe extern "system" fn GetPosition, Impl: IDataModelScriptDebugBreakpoint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, position: *mut ScriptDebugPosition, positionspanend: *mut ScriptDebugPosition, linetext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPosition, Impl: IDataModelScriptDebugBreakpoint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, position: *mut ScriptDebugPosition, positionspanend: *mut ScriptDebugPosition, linetext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataModelScriptDebugBreakpoint_Impl::GetPosition(this, core::mem::transmute_copy(&position), core::mem::transmute_copy(&positionspanend), core::mem::transmute_copy(&linetext)).into() @@ -794,7 +794,7 @@ pub trait IDataModelScriptDebugStackFrame_Impl: Sized { impl windows_core::RuntimeName for IDataModelScriptDebugStackFrame {} impl IDataModelScriptDebugStackFrame_Vtbl { pub const fn new, Impl: IDataModelScriptDebugStackFrame_Impl, const OFFSET: isize>() -> IDataModelScriptDebugStackFrame_Vtbl { - unsafe extern "system" fn GetName, Impl: IDataModelScriptDebugStackFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IDataModelScriptDebugStackFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelScriptDebugStackFrame_Impl::GetName(this) { @@ -805,7 +805,7 @@ impl IDataModelScriptDebugStackFrame_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPosition, Impl: IDataModelScriptDebugStackFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, position: *mut ScriptDebugPosition, positionspanend: *mut ScriptDebugPosition, linetext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPosition, Impl: IDataModelScriptDebugStackFrame_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, position: *mut ScriptDebugPosition, positionspanend: *mut ScriptDebugPosition, linetext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataModelScriptDebugStackFrame_Impl::GetPosition(this, core::mem::transmute_copy(&position), core::mem::transmute_copy(&positionspanend), core::mem::transmute_copy(&linetext)).into() @@ -886,7 +886,7 @@ impl IDataModelScriptDebugVariableSetEnumerator_Vtbl { let this = (*this).get_impl(); IDataModelScriptDebugVariableSetEnumerator_Impl::Reset(this).into() } - unsafe extern "system" fn GetNext, Impl: IDataModelScriptDebugVariableSetEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, variablename: *mut std::mem::MaybeUninit, variablevalue: *mut *mut core::ffi::c_void, variablemetadata: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetNext, Impl: IDataModelScriptDebugVariableSetEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, variablename: *mut core::mem::MaybeUninit, variablevalue: *mut *mut core::ffi::c_void, variablemetadata: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataModelScriptDebugVariableSetEnumerator_Impl::GetNext(this, core::mem::transmute_copy(&variablename), core::mem::transmute_copy(&variablevalue), core::mem::transmute_copy(&variablemetadata)).into() @@ -1023,7 +1023,7 @@ pub trait IDataModelScriptProvider_Impl: Sized { impl windows_core::RuntimeName for IDataModelScriptProvider {} impl IDataModelScriptProvider_Vtbl { pub const fn new, Impl: IDataModelScriptProvider_Impl, const OFFSET: isize>() -> IDataModelScriptProvider_Vtbl { - unsafe extern "system" fn GetName, Impl: IDataModelScriptProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IDataModelScriptProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelScriptProvider_Impl::GetName(this) { @@ -1034,7 +1034,7 @@ impl IDataModelScriptProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetExtension, Impl: IDataModelScriptProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, extension: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetExtension, Impl: IDataModelScriptProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, extension: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelScriptProvider_Impl::GetExtension(this) { @@ -1135,7 +1135,7 @@ impl windows_core::RuntimeName for IDataModelScriptTemplate {} #[cfg(feature = "Win32_System_Com")] impl IDataModelScriptTemplate_Vtbl { pub const fn new, Impl: IDataModelScriptTemplate_Impl, const OFFSET: isize>() -> IDataModelScriptTemplate_Vtbl { - unsafe extern "system" fn GetName, Impl: IDataModelScriptTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, templatename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IDataModelScriptTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, templatename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelScriptTemplate_Impl::GetName(this) { @@ -1146,7 +1146,7 @@ impl IDataModelScriptTemplate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescription, Impl: IDataModelScriptTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, templatedescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: IDataModelScriptTemplate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, templatedescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataModelScriptTemplate_Impl::GetDescription(this) { @@ -17174,8 +17174,8 @@ impl IDebugFAEntryTags_ImplVtbl { impl IDebugFAEntryTags { pub fn new<'a, T: IDebugFAEntryTags_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IDebugFAEntryTags_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IDebugFailureAnalysis_Impl: Sized { @@ -17630,7 +17630,7 @@ impl IDebugFailureAnalysis3_Vtbl { let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::AddThreads(this, windows_core::from_raw_borrowed(&pdebugfailurethreadenum)).into() } - unsafe extern "system" fn AttributeGet, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AttributeGet, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugFailureAnalysis3_Impl::AttributeGet(this, core::mem::transmute_copy(&nindex)) { @@ -17641,7 +17641,7 @@ impl IDebugFailureAnalysis3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AttributeGetName, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AttributeGetName, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugFailureAnalysis3_Impl::AttributeGetName(this, core::mem::transmute_copy(&nindex)) { @@ -17652,17 +17652,17 @@ impl IDebugFailureAnalysis3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AttributeSet, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AttributeSet, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::AttributeSet(this, core::mem::transmute_copy(&nindex), core::mem::transmute(&value)).into() } - unsafe extern "system" fn BlameApplication, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, postfix: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BlameApplication, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, postfix: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::BlameApplication(this, core::mem::transmute(&postfix)).into() } - unsafe extern "system" fn BlameProcess, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, postfix: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BlameProcess, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, postfix: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::BlameProcess(this, core::mem::transmute(&postfix)).into() @@ -17672,7 +17672,7 @@ impl IDebugFailureAnalysis3_Vtbl { let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::BlameThread(this, windows_core::from_raw_borrowed(&pthread)).into() } - unsafe extern "system" fn BlameStitch, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pthread: *mut core::ffi::c_void, stitch: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BlameStitch, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pthread: *mut core::ffi::c_void, stitch: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::BlameStitch(this, windows_core::from_raw_borrowed(&pthread), core::mem::transmute(&stitch)).into() @@ -17708,17 +17708,17 @@ impl IDebugFailureAnalysis3_Vtbl { let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::ProblemClassSet(this, core::mem::transmute_copy(&nindex)).into() } - unsafe extern "system" fn ProblemClassSetBSTR, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProblemClassSetBSTR, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nindex: u32, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::ProblemClassSetBSTR(this, core::mem::transmute_copy(&nindex), core::mem::transmute(&value)).into() } - unsafe extern "system" fn SetAdditionalXML, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: std::mem::MaybeUninit, pxmldomelement: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SetAdditionalXML, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: core::mem::MaybeUninit, pxmldomelement: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::SetAdditionalXML(this, core::mem::transmute(&key), windows_core::from_raw_borrowed(&pxmldomelement)).into() } - unsafe extern "system" fn GetAdditionalXML, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: std::mem::MaybeUninit, ppxmldomelement: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetAdditionalXML, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: core::mem::MaybeUninit, ppxmldomelement: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugFailureAnalysis3_Impl::GetAdditionalXML(this, core::mem::transmute(&key)) { @@ -17729,7 +17729,7 @@ impl IDebugFailureAnalysis3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteAdditionalXML, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteAdditionalXML, Impl: IDebugFailureAnalysis3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugFailureAnalysis3_Impl::DeleteAdditionalXML(this, core::mem::transmute(&key)).into() @@ -17863,7 +17863,7 @@ pub trait IDebugHostConstant_Impl: Sized + IDebugHostSymbol_Impl { impl windows_core::RuntimeName for IDebugHostConstant {} impl IDebugHostConstant_Vtbl { pub const fn new, Impl: IDebugHostConstant_Impl, const OFFSET: isize>() -> IDebugHostConstant_Vtbl { - unsafe extern "system" fn GetValue, Impl: IDebugHostConstant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IDebugHostConstant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugHostConstant_Impl::GetValue(this) { @@ -17933,7 +17933,7 @@ impl IDebugHostData_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: IDebugHostData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IDebugHostData_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugHostData_Impl::GetValue(this) { @@ -18085,7 +18085,7 @@ impl IDebugHostField_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: IDebugHostField_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IDebugHostField_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugHostField_Impl::GetValue(this) { @@ -18138,7 +18138,7 @@ impl IDebugHostMemory_Vtbl { let this = (*this).get_impl(); IDebugHostMemory_Impl::WritePointers(this, windows_core::from_raw_borrowed(&context), core::mem::transmute(&location), core::mem::transmute_copy(&count), core::mem::transmute_copy(&pointers)).into() } - unsafe extern "system" fn GetDisplayStringForLocation, Impl: IDebugHostMemory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *mut core::ffi::c_void, location: Location, verbose: u8, locationname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDisplayStringForLocation, Impl: IDebugHostMemory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *mut core::ffi::c_void, location: Location, verbose: u8, locationname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugHostMemory_Impl::GetDisplayStringForLocation(this, windows_core::from_raw_borrowed(&context), core::mem::transmute(&location), core::mem::transmute_copy(&verbose)) { @@ -18196,7 +18196,7 @@ pub trait IDebugHostModule_Impl: Sized + IDebugHostSymbol_Impl { impl windows_core::RuntimeName for IDebugHostModule {} impl IDebugHostModule_Vtbl { pub const fn new, Impl: IDebugHostModule_Impl, const OFFSET: isize>() -> IDebugHostModule_Vtbl { - unsafe extern "system" fn GetImageName, Impl: IDebugHostModule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, allowpath: u8, imagename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetImageName, Impl: IDebugHostModule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, allowpath: u8, imagename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugHostModule_Impl::GetImageName(this, core::mem::transmute_copy(&allowpath)) { @@ -18440,7 +18440,7 @@ impl IDebugHostSymbol_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetName, Impl: IDebugHostSymbol_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, symbolname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IDebugHostSymbol_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, symbolname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugHostSymbol_Impl::GetName(this) { @@ -26072,7 +26072,7 @@ impl IKeyEnumerator_Vtbl { let this = (*this).get_impl(); IKeyEnumerator_Impl::Reset(this).into() } - unsafe extern "system" fn GetNext, Impl: IKeyEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *mut std::mem::MaybeUninit, value: *mut *mut core::ffi::c_void, metadata: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetNext, Impl: IKeyEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *mut core::mem::MaybeUninit, value: *mut *mut core::ffi::c_void, metadata: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IKeyEnumerator_Impl::GetNext(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&value), core::mem::transmute_copy(&metadata)).into() @@ -26174,7 +26174,7 @@ pub trait IModelKeyReference_Impl: Sized { impl windows_core::RuntimeName for IModelKeyReference {} impl IModelKeyReference_Vtbl { pub const fn new, Impl: IModelKeyReference_Impl, const OFFSET: isize>() -> IModelKeyReference_Vtbl { - unsafe extern "system" fn GetKeyName, Impl: IModelKeyReference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keyname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetKeyName, Impl: IModelKeyReference_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keyname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IModelKeyReference_Impl::GetKeyName(this) { @@ -26339,7 +26339,7 @@ impl IModelObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetIntrinsicValue, Impl: IModelObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, intrinsicdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetIntrinsicValue, Impl: IModelObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, intrinsicdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IModelObject_Impl::GetIntrinsicValue(this) { @@ -26350,7 +26350,7 @@ impl IModelObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetIntrinsicValueAs, Impl: IModelObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vt: super::super::super::Variant::VARENUM, intrinsicdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetIntrinsicValueAs, Impl: IModelObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vt: super::super::super::Variant::VARENUM, intrinsicdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IModelObject_Impl::GetIntrinsicValueAs(this, core::mem::transmute_copy(&vt)) { @@ -26699,7 +26699,7 @@ impl IRawEnumerator_Vtbl { let this = (*this).get_impl(); IRawEnumerator_Impl::Reset(this).into() } - unsafe extern "system" fn GetNext, Impl: IRawEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit, kind: *mut SymbolKind, value: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetNext, Impl: IRawEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit, kind: *mut SymbolKind, value: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRawEnumerator_Impl::GetNext(this, core::mem::transmute_copy(&name), core::mem::transmute_copy(&kind), core::mem::transmute_copy(&value)).into() @@ -26720,7 +26720,7 @@ pub trait IStringDisplayableConcept_Impl: Sized { impl windows_core::RuntimeName for IStringDisplayableConcept {} impl IStringDisplayableConcept_Vtbl { pub const fn new, Impl: IStringDisplayableConcept_Impl, const OFFSET: isize>() -> IStringDisplayableConcept_Vtbl { - unsafe extern "system" fn ToDisplayString, Impl: IStringDisplayableConcept_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contextobject: *mut core::ffi::c_void, metadata: *mut core::ffi::c_void, displaystring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ToDisplayString, Impl: IStringDisplayableConcept_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contextobject: *mut core::ffi::c_void, metadata: *mut core::ffi::c_void, displaystring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStringDisplayableConcept_Impl::ToDisplayString(this, windows_core::from_raw_borrowed(&contextobject), windows_core::from_raw_borrowed(&metadata)) { diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs index e5f0c391e7..16e7899957 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs @@ -4,7 +4,7 @@ where P0: windows_core::Param, { windows_targets::link!("dbgmodel.dll" "system" fn CreateDataModelManager(debughost : * mut core::ffi::c_void, manager : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateDataModelManager(debughost.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -45,7 +45,7 @@ windows_core::imp::define_interface!(DebugBaseEventCallbacks, DebugBaseEventCall impl std::ops::Deref for DebugBaseEventCallbacks { type Target = IDebugEventCallbacks; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(DebugBaseEventCallbacks, windows_core::IUnknown, IDebugEventCallbacks); @@ -58,7 +58,7 @@ windows_core::imp::define_interface!(DebugBaseEventCallbacksWide, DebugBaseEvent impl std::ops::Deref for DebugBaseEventCallbacksWide { type Target = IDebugEventCallbacksWide; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(DebugBaseEventCallbacksWide, windows_core::IUnknown, IDebugEventCallbacksWide); @@ -71,7 +71,7 @@ windows_core::imp::define_interface!(ICodeAddressConcept, ICodeAddressConcept_Vt impl std::ops::Deref for ICodeAddressConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICodeAddressConcept, windows_core::IUnknown); @@ -80,7 +80,7 @@ impl ICodeAddressConcept { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainingSymbol)(windows_core::Interface::as_raw(self), pcontextobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -93,7 +93,7 @@ windows_core::imp::define_interface!(IComparableConcept, IComparableConcept_Vtbl impl std::ops::Deref for IComparableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComparableConcept, windows_core::IUnknown); @@ -103,7 +103,7 @@ impl IComparableConcept { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareObjects)(windows_core::Interface::as_raw(self), contextobject.param().abi(), otherobject.param().abi(), &mut result__).map(|| result__) } } @@ -116,7 +116,7 @@ windows_core::imp::define_interface!(IDataModelConcept, IDataModelConcept_Vtbl, impl std::ops::Deref for IDataModelConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelConcept, windows_core::IUnknown); @@ -130,7 +130,7 @@ impl IDataModelConcept { (windows_core::Interface::vtable(self).InitializeObject)(windows_core::Interface::as_raw(self), modelobject.param().abi(), matchingtypesignature.param().abi(), wildcardmatches.param().abi()).ok() } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -138,13 +138,13 @@ impl IDataModelConcept { pub struct IDataModelConcept_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InitializeObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelManager, IDataModelManager_Vtbl, 0x73fe19f4_a110_4500_8ed9_3c28896f508c); impl std::ops::Deref for IDataModelManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelManager, windows_core::IUnknown); @@ -153,14 +153,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNoValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateErrorObject(&self, hrerror: windows_core::HRESULT, pwszmessage: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateErrorObject)(windows_core::Interface::as_raw(self), hrerror, pwszmessage.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTypedObject(&self, context: P0, objectlocation: Location, objecttype: P1) -> windows_core::Result @@ -168,7 +168,7 @@ impl IDataModelManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTypedObject)(windows_core::Interface::as_raw(self), context.param().abi(), core::mem::transmute(objectlocation), objecttype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTypedObjectReference(&self, context: P0, objectlocation: Location, objecttype: P1) -> windows_core::Result @@ -176,39 +176,39 @@ impl IDataModelManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTypedObjectReference)(windows_core::Interface::as_raw(self), context.param().abi(), core::mem::transmute(objectlocation), objecttype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSyntheticObject(&self, context: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSyntheticObject)(windows_core::Interface::as_raw(self), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDataModelObject(&self, datamodel: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDataModelObject)(windows_core::Interface::as_raw(self), datamodel.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateIntrinsicObject(&self, objectkind: ModelObjectKind, intrinsicdata: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateIntrinsicObject)(windows_core::Interface::as_raw(self), objectkind, core::mem::transmute(intrinsicdata), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTypedIntrinsicObject(&self, intrinsicdata: *const windows_core::VARIANT, r#type: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTypedIntrinsicObject)(windows_core::Interface::as_raw(self), core::mem::transmute(intrinsicdata), r#type.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetModelForTypeSignature(&self, typesignature: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModelForTypeSignature)(windows_core::Interface::as_raw(self), typesignature.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetModelForType(&self, r#type: P0, datamodel: *mut Option, typesignature: Option<*mut Option>, wildcardmatches: Option<*mut Option>) -> windows_core::Result<()> @@ -249,11 +249,11 @@ impl IDataModelManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMetadataStore)(windows_core::Interface::as_raw(self), parentstore.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRootNamespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootNamespace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterNamedModel(&self, modelname: P0, modeobject: P1) -> windows_core::Result<()> @@ -273,7 +273,7 @@ impl IDataModelManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AcquireNamedModel)(windows_core::Interface::as_raw(self), modelname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -287,8 +287,8 @@ pub struct IDataModelManager_Vtbl { pub CreateTypedObjectReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSyntheticObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDataModelObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateIntrinsicObject: unsafe extern "system" fn(*mut core::ffi::c_void, ModelObjectKind, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTypedIntrinsicObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateIntrinsicObject: unsafe extern "system" fn(*mut core::ffi::c_void, ModelObjectKind, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTypedIntrinsicObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetModelForTypeSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetModelForType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RegisterModelForTypeSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -305,7 +305,7 @@ windows_core::imp::define_interface!(IDataModelManager2, IDataModelManager2_Vtbl impl std::ops::Deref for IDataModelManager2 { type Target = IDataModelManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelManager2, windows_core::IUnknown, IDataModelManager); @@ -317,7 +317,7 @@ impl IDataModelManager2 { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AcquireSubNamespace)(windows_core::Interface::as_raw(self), modelname.param().abi(), subnamespacemodelname.param().abi(), accessname.param().abi(), metadata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTypedIntrinsicObjectEx(&self, context: P0, intrinsicdata: *const windows_core::VARIANT, r#type: P1) -> windows_core::Result @@ -325,7 +325,7 @@ impl IDataModelManager2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTypedIntrinsicObjectEx)(windows_core::Interface::as_raw(self), context.param().abi(), core::mem::transmute(intrinsicdata), r#type.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -333,13 +333,13 @@ impl IDataModelManager2 { pub struct IDataModelManager2_Vtbl { pub base__: IDataModelManager_Vtbl, pub AcquireSubNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateTypedIntrinsicObjectEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTypedIntrinsicObjectEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelNameBinder, IDataModelNameBinder_Vtbl, 0xaf352b7b_8292_4c01_b360_2dc3696c65e7); impl std::ops::Deref for IDataModelNameBinder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelNameBinder, windows_core::IUnknown); @@ -362,14 +362,14 @@ impl IDataModelNameBinder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateValues)(windows_core::Interface::as_raw(self), contextobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateReferences(&self, contextobject: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateReferences)(windows_core::Interface::as_raw(self), contextobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -385,13 +385,13 @@ windows_core::imp::define_interface!(IDataModelScript, IDataModelScript_Vtbl, 0x impl std::ops::Deref for IDataModelScript { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScript, windows_core::IUnknown); impl IDataModelScript { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Rename(&self, scriptname: P0) -> windows_core::Result<()> @@ -417,7 +417,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInvocable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InvokeMain(&self, client: P0) -> windows_core::Result<()> @@ -430,7 +430,7 @@ impl IDataModelScript { #[repr(C)] pub struct IDataModelScript_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Rename: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Populate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -445,7 +445,7 @@ windows_core::imp::define_interface!(IDataModelScriptClient, IDataModelScriptCli impl std::ops::Deref for IDataModelScriptClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptClient, windows_core::IUnknown); @@ -466,7 +466,7 @@ windows_core::imp::define_interface!(IDataModelScriptDebug, IDataModelScriptDebu impl std::ops::Deref for IDataModelScriptDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptDebug, windows_core::IUnknown); @@ -478,23 +478,23 @@ impl IDataModelScriptDebug { (windows_core::Interface::vtable(self).GetCurrentPosition)(windows_core::Interface::as_raw(self), currentposition, core::mem::transmute(positionspanend.unwrap_or(std::ptr::null_mut())), core::mem::transmute(linetext.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetStack(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStack)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBreakpoint(&self, lineposition: u32, columnposition: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetBreakpoint)(windows_core::Interface::as_raw(self), lineposition, columnposition, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindBreakpointById(&self, breakpointid: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindBreakpointById)(windows_core::Interface::as_raw(self), breakpointid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateBreakpoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateBreakpoints)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEventFilter(&self, eventfilter: ScriptDebugEventFilter) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventFilter)(windows_core::Interface::as_raw(self), eventfilter, &mut result__).map(|| result__) } pub unsafe fn SetEventFilter(&self, eventfilter: ScriptDebugEventFilter, isbreakenabled: u8) -> windows_core::Result<()> { @@ -517,7 +517,7 @@ impl IDataModelScriptDebug { pub struct IDataModelScriptDebug_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDebugState: unsafe extern "system" fn(*mut core::ffi::c_void) -> ScriptDebugState, - pub GetCurrentPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ScriptDebugPosition, *mut ScriptDebugPosition, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCurrentPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ScriptDebugPosition, *mut ScriptDebugPosition, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetStack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBreakpoint: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FindBreakpointById: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -531,7 +531,7 @@ windows_core::imp::define_interface!(IDataModelScriptDebug2, IDataModelScriptDeb impl std::ops::Deref for IDataModelScriptDebug2 { type Target = IDataModelScriptDebug; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptDebug2, windows_core::IUnknown, IDataModelScriptDebug); @@ -540,7 +540,7 @@ impl IDataModelScriptDebug2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetBreakpointAtFunction)(windows_core::Interface::as_raw(self), functionname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -553,7 +553,7 @@ windows_core::imp::define_interface!(IDataModelScriptDebugBreakpoint, IDataModel impl std::ops::Deref for IDataModelScriptDebugBreakpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptDebugBreakpoint, windows_core::IUnknown); @@ -585,13 +585,13 @@ pub struct IDataModelScriptDebugBreakpoint_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void), pub Disable: unsafe extern "system" fn(*mut core::ffi::c_void), pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void), - pub GetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ScriptDebugPosition, *mut ScriptDebugPosition, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ScriptDebugPosition, *mut ScriptDebugPosition, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptDebugBreakpointEnumerator, IDataModelScriptDebugBreakpointEnumerator_Vtbl, 0x39484a75_b4f3_4799_86da_691afa57b299); impl std::ops::Deref for IDataModelScriptDebugBreakpointEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptDebugBreakpointEnumerator, windows_core::IUnknown); @@ -600,7 +600,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -614,7 +614,7 @@ windows_core::imp::define_interface!(IDataModelScriptDebugClient, IDataModelScri impl std::ops::Deref for IDataModelScriptDebugClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptDebugClient, windows_core::IUnknown); @@ -636,7 +636,7 @@ windows_core::imp::define_interface!(IDataModelScriptDebugStack, IDataModelScrip impl std::ops::Deref for IDataModelScriptDebugStack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptDebugStack, windows_core::IUnknown); @@ -645,7 +645,7 @@ impl IDataModelScriptDebugStack { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStackFrame)(windows_core::Interface::as_raw(self), framenumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -659,20 +659,20 @@ windows_core::imp::define_interface!(IDataModelScriptDebugStackFrame, IDataModel impl std::ops::Deref for IDataModelScriptDebugStackFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptDebugStackFrame, windows_core::IUnknown); impl IDataModelScriptDebugStackFrame { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPosition(&self, position: *mut ScriptDebugPosition, positionspanend: Option<*mut ScriptDebugPosition>, linetext: Option<*mut windows_core::BSTR>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetPosition)(windows_core::Interface::as_raw(self), position, core::mem::transmute(positionspanend.unwrap_or(std::ptr::null_mut())), core::mem::transmute(linetext.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn IsTransitionPoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTransitionPoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransition(&self, transitionscript: *mut Option, istransitioncontiguous: *mut bool) -> windows_core::Result<()> { @@ -682,23 +682,23 @@ impl IDataModelScriptDebugStackFrame { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Evaluate)(windows_core::Interface::as_raw(self), pwszexpression.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateLocals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateLocals)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateArguments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateArguments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDataModelScriptDebugStackFrame_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ScriptDebugPosition, *mut ScriptDebugPosition, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ScriptDebugPosition, *mut ScriptDebugPosition, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTransitionPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub GetTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Evaluate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -709,7 +709,7 @@ windows_core::imp::define_interface!(IDataModelScriptDebugVariableSetEnumerator, impl std::ops::Deref for IDataModelScriptDebugVariableSetEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptDebugVariableSetEnumerator, windows_core::IUnknown); @@ -725,13 +725,13 @@ impl IDataModelScriptDebugVariableSetEnumerator { pub struct IDataModelScriptDebugVariableSetEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptHostContext, IDataModelScriptHostContext_Vtbl, 0x014d366a_1f23_4981_9219_b2db8b402054); impl std::ops::Deref for IDataModelScriptHostContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptHostContext, windows_core::IUnknown); @@ -743,7 +743,7 @@ impl IDataModelScriptHostContext { (windows_core::Interface::vtable(self).NotifyScriptChange)(windows_core::Interface::as_raw(self), script.param().abi(), changekind).ok() } pub unsafe fn GetNamespaceObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamespaceObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -757,13 +757,13 @@ windows_core::imp::define_interface!(IDataModelScriptManager, IDataModelScriptMa impl std::ops::Deref for IDataModelScriptManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptManager, windows_core::IUnknown); impl IDataModelScriptManager { pub unsafe fn GetDefaultNameBinder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultNameBinder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterScriptProvider(&self, provider: P0) -> windows_core::Result<()> @@ -782,18 +782,18 @@ impl IDataModelScriptManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindProviderForScriptType)(windows_core::Interface::as_raw(self), scripttype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindProviderForScriptExtension(&self, scriptextension: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindProviderForScriptExtension)(windows_core::Interface::as_raw(self), scriptextension.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateScriptProviders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateScriptProviders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -811,37 +811,37 @@ windows_core::imp::define_interface!(IDataModelScriptProvider, IDataModelScriptP impl std::ops::Deref for IDataModelScriptProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptProvider, windows_core::IUnknown); impl IDataModelScriptProvider { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetExtension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtension)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateScript(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateScript)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultTemplateContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultTemplateContent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateTemplates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateTemplates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDataModelScriptProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreateScript: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultTemplateContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -850,7 +850,7 @@ windows_core::imp::define_interface!(IDataModelScriptProviderEnumerator, IDataMo impl std::ops::Deref for IDataModelScriptProviderEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptProviderEnumerator, windows_core::IUnknown); @@ -859,7 +859,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -873,30 +873,30 @@ windows_core::imp::define_interface!(IDataModelScriptTemplate, IDataModelScriptT impl std::ops::Deref for IDataModelScriptTemplate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptTemplate, windows_core::IUnknown); impl IDataModelScriptTemplate { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDataModelScriptTemplate_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -906,7 +906,7 @@ windows_core::imp::define_interface!(IDataModelScriptTemplateEnumerator, IDataMo impl std::ops::Deref for IDataModelScriptTemplateEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataModelScriptTemplateEnumerator, windows_core::IUnknown); @@ -915,7 +915,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -929,7 +929,7 @@ windows_core::imp::define_interface!(IDebugAdvanced, IDebugAdvanced_Vtbl, 0xf2df impl std::ops::Deref for IDebugAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugAdvanced, windows_core::IUnknown); @@ -951,7 +951,7 @@ windows_core::imp::define_interface!(IDebugAdvanced2, IDebugAdvanced2_Vtbl, 0x71 impl std::ops::Deref for IDebugAdvanced2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugAdvanced2, windows_core::IUnknown); @@ -999,7 +999,7 @@ windows_core::imp::define_interface!(IDebugAdvanced3, IDebugAdvanced3_Vtbl, 0xcb impl std::ops::Deref for IDebugAdvanced3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugAdvanced3, windows_core::IUnknown); @@ -1065,7 +1065,7 @@ windows_core::imp::define_interface!(IDebugAdvanced4, IDebugAdvanced4_Vtbl, 0xd1 impl std::ops::Deref for IDebugAdvanced4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugAdvanced4, windows_core::IUnknown); @@ -1148,24 +1148,24 @@ windows_core::imp::define_interface!(IDebugBreakpoint, IDebugBreakpoint_Vtbl, 0x impl std::ops::Deref for IDebugBreakpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugBreakpoint, windows_core::IUnknown); impl IDebugBreakpoint { pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), breaktype, proctype).ok() } pub unsafe fn GetAdder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddFlags(&self, flags: u32) -> windows_core::Result<()> { @@ -1178,7 +1178,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOffset(&self, offset: u64) -> windows_core::Result<()> { @@ -1191,18 +1191,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPassCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPassCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMatchThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMatchThreadId(&self, thread: u32) -> windows_core::Result<()> { @@ -1259,24 +1259,24 @@ windows_core::imp::define_interface!(IDebugBreakpoint2, IDebugBreakpoint2_Vtbl, impl std::ops::Deref for IDebugBreakpoint2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugBreakpoint2, windows_core::IUnknown); impl IDebugBreakpoint2 { pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), breaktype, proctype).ok() } pub unsafe fn GetAdder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddFlags(&self, flags: u32) -> windows_core::Result<()> { @@ -1289,7 +1289,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOffset(&self, offset: u64) -> windows_core::Result<()> { @@ -1302,18 +1302,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPassCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPassCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMatchThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMatchThreadId(&self, thread: u32) -> windows_core::Result<()> { @@ -1392,24 +1392,24 @@ windows_core::imp::define_interface!(IDebugBreakpoint3, IDebugBreakpoint3_Vtbl, impl std::ops::Deref for IDebugBreakpoint3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugBreakpoint3, windows_core::IUnknown); impl IDebugBreakpoint3 { pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), breaktype, proctype).ok() } pub unsafe fn GetAdder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddFlags(&self, flags: u32) -> windows_core::Result<()> { @@ -1422,7 +1422,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOffset(&self, offset: u64) -> windows_core::Result<()> { @@ -1435,18 +1435,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPassCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPassCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMatchThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMatchThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMatchThreadId(&self, thread: u32) -> windows_core::Result<()> { @@ -1492,7 +1492,7 @@ impl IDebugBreakpoint3 { (windows_core::Interface::vtable(self).SetOffsetExpressionWide)(windows_core::Interface::as_raw(self), expression.param().abi()).ok() } pub unsafe fn GetGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1530,7 +1530,7 @@ windows_core::imp::define_interface!(IDebugClient, IDebugClient_Vtbl, 0x27fe5639 impl std::ops::Deref for IDebugClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugClient, windows_core::IUnknown); @@ -1560,7 +1560,7 @@ impl IDebugClient { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServer)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> windows_core::Result<()> { @@ -1573,7 +1573,7 @@ impl IDebugClient { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u8]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u8]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -1607,7 +1607,7 @@ impl IDebugClient { (windows_core::Interface::vtable(self).CreateProcessAndAttach)(windows_core::Interface::as_raw(self), server, commandline.param().abi(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> windows_core::Result<()> { @@ -1656,7 +1656,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExitCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> windows_core::Result<()> { @@ -1669,11 +1669,11 @@ impl IDebugClient { (windows_core::Interface::vtable(self).ExitDispatch)(windows_core::Interface::as_raw(self), client.param().abi()).ok() } pub unsafe fn CreateClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -1683,7 +1683,7 @@ impl IDebugClient { (windows_core::Interface::vtable(self).SetInputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -1693,7 +1693,7 @@ impl IDebugClient { (windows_core::Interface::vtable(self).SetOutputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> windows_core::Result<()> { @@ -1703,7 +1703,7 @@ impl IDebugClient { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOtherOutputMask(&self, client: P0, mask: u32) -> windows_core::Result<()> @@ -1713,7 +1713,7 @@ impl IDebugClient { (windows_core::Interface::vtable(self).SetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> windows_core::Result<()> { @@ -1738,7 +1738,7 @@ impl IDebugClient { (windows_core::Interface::vtable(self).OutputIdentity)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -1804,7 +1804,7 @@ windows_core::imp::define_interface!(IDebugClient2, IDebugClient2_Vtbl, 0xedbed6 impl std::ops::Deref for IDebugClient2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugClient2, windows_core::IUnknown); @@ -1834,7 +1834,7 @@ impl IDebugClient2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServer)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> windows_core::Result<()> { @@ -1847,7 +1847,7 @@ impl IDebugClient2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u8]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u8]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -1881,7 +1881,7 @@ impl IDebugClient2 { (windows_core::Interface::vtable(self).CreateProcessAndAttach)(windows_core::Interface::as_raw(self), server, commandline.param().abi(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> windows_core::Result<()> { @@ -1930,7 +1930,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExitCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> windows_core::Result<()> { @@ -1943,11 +1943,11 @@ impl IDebugClient2 { (windows_core::Interface::vtable(self).ExitDispatch)(windows_core::Interface::as_raw(self), client.param().abi()).ok() } pub unsafe fn CreateClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -1957,7 +1957,7 @@ impl IDebugClient2 { (windows_core::Interface::vtable(self).SetInputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -1967,7 +1967,7 @@ impl IDebugClient2 { (windows_core::Interface::vtable(self).SetOutputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> windows_core::Result<()> { @@ -1977,7 +1977,7 @@ impl IDebugClient2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOtherOutputMask(&self, client: P0, mask: u32) -> windows_core::Result<()> @@ -1987,7 +1987,7 @@ impl IDebugClient2 { (windows_core::Interface::vtable(self).SetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> windows_core::Result<()> { @@ -2012,7 +2012,7 @@ impl IDebugClient2 { (windows_core::Interface::vtable(self).OutputIdentity)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -2117,7 +2117,7 @@ windows_core::imp::define_interface!(IDebugClient3, IDebugClient3_Vtbl, 0xdd492d impl std::ops::Deref for IDebugClient3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugClient3, windows_core::IUnknown); @@ -2147,7 +2147,7 @@ impl IDebugClient3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServer)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> windows_core::Result<()> { @@ -2160,7 +2160,7 @@ impl IDebugClient3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u8]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u8]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -2194,7 +2194,7 @@ impl IDebugClient3 { (windows_core::Interface::vtable(self).CreateProcessAndAttach)(windows_core::Interface::as_raw(self), server, commandline.param().abi(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> windows_core::Result<()> { @@ -2243,7 +2243,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExitCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> windows_core::Result<()> { @@ -2256,11 +2256,11 @@ impl IDebugClient3 { (windows_core::Interface::vtable(self).ExitDispatch)(windows_core::Interface::as_raw(self), client.param().abi()).ok() } pub unsafe fn CreateClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -2270,7 +2270,7 @@ impl IDebugClient3 { (windows_core::Interface::vtable(self).SetInputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -2280,7 +2280,7 @@ impl IDebugClient3 { (windows_core::Interface::vtable(self).SetOutputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> windows_core::Result<()> { @@ -2290,7 +2290,7 @@ impl IDebugClient3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOtherOutputMask(&self, client: P0, mask: u32) -> windows_core::Result<()> @@ -2300,7 +2300,7 @@ impl IDebugClient3 { (windows_core::Interface::vtable(self).SetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> windows_core::Result<()> { @@ -2325,7 +2325,7 @@ impl IDebugClient3 { (windows_core::Interface::vtable(self).OutputIdentity)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -2372,7 +2372,7 @@ impl IDebugClient3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u16]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u16]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -2468,7 +2468,7 @@ windows_core::imp::define_interface!(IDebugClient4, IDebugClient4_Vtbl, 0xca83c3 impl std::ops::Deref for IDebugClient4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugClient4, windows_core::IUnknown); @@ -2498,7 +2498,7 @@ impl IDebugClient4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServer)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> windows_core::Result<()> { @@ -2511,7 +2511,7 @@ impl IDebugClient4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u8]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u8]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -2545,7 +2545,7 @@ impl IDebugClient4 { (windows_core::Interface::vtable(self).CreateProcessAndAttach)(windows_core::Interface::as_raw(self), server, commandline.param().abi(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> windows_core::Result<()> { @@ -2594,7 +2594,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExitCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> windows_core::Result<()> { @@ -2607,11 +2607,11 @@ impl IDebugClient4 { (windows_core::Interface::vtable(self).ExitDispatch)(windows_core::Interface::as_raw(self), client.param().abi()).ok() } pub unsafe fn CreateClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -2621,7 +2621,7 @@ impl IDebugClient4 { (windows_core::Interface::vtable(self).SetInputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -2631,7 +2631,7 @@ impl IDebugClient4 { (windows_core::Interface::vtable(self).SetOutputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> windows_core::Result<()> { @@ -2641,7 +2641,7 @@ impl IDebugClient4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOtherOutputMask(&self, client: P0, mask: u32) -> windows_core::Result<()> @@ -2651,7 +2651,7 @@ impl IDebugClient4 { (windows_core::Interface::vtable(self).SetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> windows_core::Result<()> { @@ -2676,7 +2676,7 @@ impl IDebugClient4 { (windows_core::Interface::vtable(self).OutputIdentity)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -2723,7 +2723,7 @@ impl IDebugClient4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u16]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u16]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -2773,7 +2773,7 @@ impl IDebugClient4 { (windows_core::Interface::vtable(self).AddDumpInformationFileWide)(windows_core::Interface::as_raw(self), filename.param().abi(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberDumpFiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>, handle: Option<*mut u64>, r#type: *mut u32) -> windows_core::Result<()> { @@ -2854,7 +2854,7 @@ windows_core::imp::define_interface!(IDebugClient5, IDebugClient5_Vtbl, 0xe3acb9 impl std::ops::Deref for IDebugClient5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugClient5, windows_core::IUnknown); @@ -2884,7 +2884,7 @@ impl IDebugClient5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServer)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> windows_core::Result<()> { @@ -2897,7 +2897,7 @@ impl IDebugClient5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u8]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u8]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -2931,7 +2931,7 @@ impl IDebugClient5 { (windows_core::Interface::vtable(self).CreateProcessAndAttach)(windows_core::Interface::as_raw(self), server, commandline.param().abi(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> windows_core::Result<()> { @@ -2980,7 +2980,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExitCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> windows_core::Result<()> { @@ -2993,11 +2993,11 @@ impl IDebugClient5 { (windows_core::Interface::vtable(self).ExitDispatch)(windows_core::Interface::as_raw(self), client.param().abi()).ok() } pub unsafe fn CreateClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -3007,7 +3007,7 @@ impl IDebugClient5 { (windows_core::Interface::vtable(self).SetInputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -3017,7 +3017,7 @@ impl IDebugClient5 { (windows_core::Interface::vtable(self).SetOutputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> windows_core::Result<()> { @@ -3027,7 +3027,7 @@ impl IDebugClient5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOtherOutputMask(&self, client: P0, mask: u32) -> windows_core::Result<()> @@ -3037,7 +3037,7 @@ impl IDebugClient5 { (windows_core::Interface::vtable(self).SetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> windows_core::Result<()> { @@ -3062,7 +3062,7 @@ impl IDebugClient5 { (windows_core::Interface::vtable(self).OutputIdentity)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -3109,7 +3109,7 @@ impl IDebugClient5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u16]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u16]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -3159,7 +3159,7 @@ impl IDebugClient5 { (windows_core::Interface::vtable(self).AddDumpInformationFileWide)(windows_core::Interface::as_raw(self), filename.param().abi(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberDumpFiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>, handle: Option<*mut u64>, r#type: *mut u32) -> windows_core::Result<()> { @@ -3193,7 +3193,7 @@ impl IDebugClient5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServerWide)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn StartServerWide(&self, options: P0) -> windows_core::Result<()> @@ -3209,7 +3209,7 @@ impl IDebugClient5 { (windows_core::Interface::vtable(self).OutputServersWide)(windows_core::Interface::as_raw(self), outputcontrol, machine.param().abi(), flags).ok() } pub unsafe fn GetOutputCallbacksWide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacksWide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacksWide(&self, callbacks: P0) -> windows_core::Result<()> @@ -3237,7 +3237,7 @@ impl IDebugClient5 { (windows_core::Interface::vtable(self).OutputIdentityWide)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacksWide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacksWide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacksWide(&self, callbacks: P0) -> windows_core::Result<()> @@ -3282,29 +3282,29 @@ impl IDebugClient5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PushOutputLinePrefix)(windows_core::Interface::as_raw(self), newprefix.param().abi(), &mut result__).map(|| result__) } pub unsafe fn PushOutputLinePrefixWide(&self, newprefix: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PushOutputLinePrefixWide)(windows_core::Interface::as_raw(self), newprefix.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberEventCallbacks(&self, eventflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberEventCallbacks)(windows_core::Interface::as_raw(self), eventflags, &mut result__).map(|| result__) } pub unsafe fn GetQuitLockString(&self, buffer: Option<&mut [u8]>, stringsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -3426,7 +3426,7 @@ windows_core::imp::define_interface!(IDebugClient6, IDebugClient6_Vtbl, 0xfd28b4 impl std::ops::Deref for IDebugClient6 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugClient6, windows_core::IUnknown); @@ -3456,7 +3456,7 @@ impl IDebugClient6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServer)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> windows_core::Result<()> { @@ -3469,7 +3469,7 @@ impl IDebugClient6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u8]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u8]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -3503,7 +3503,7 @@ impl IDebugClient6 { (windows_core::Interface::vtable(self).CreateProcessAndAttach)(windows_core::Interface::as_raw(self), server, commandline.param().abi(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> windows_core::Result<()> { @@ -3552,7 +3552,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExitCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> windows_core::Result<()> { @@ -3565,11 +3565,11 @@ impl IDebugClient6 { (windows_core::Interface::vtable(self).ExitDispatch)(windows_core::Interface::as_raw(self), client.param().abi()).ok() } pub unsafe fn CreateClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -3579,7 +3579,7 @@ impl IDebugClient6 { (windows_core::Interface::vtable(self).SetInputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -3589,7 +3589,7 @@ impl IDebugClient6 { (windows_core::Interface::vtable(self).SetOutputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> windows_core::Result<()> { @@ -3599,7 +3599,7 @@ impl IDebugClient6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOtherOutputMask(&self, client: P0, mask: u32) -> windows_core::Result<()> @@ -3609,7 +3609,7 @@ impl IDebugClient6 { (windows_core::Interface::vtable(self).SetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> windows_core::Result<()> { @@ -3634,7 +3634,7 @@ impl IDebugClient6 { (windows_core::Interface::vtable(self).OutputIdentity)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -3681,7 +3681,7 @@ impl IDebugClient6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u16]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u16]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -3731,7 +3731,7 @@ impl IDebugClient6 { (windows_core::Interface::vtable(self).AddDumpInformationFileWide)(windows_core::Interface::as_raw(self), filename.param().abi(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberDumpFiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>, handle: Option<*mut u64>, r#type: *mut u32) -> windows_core::Result<()> { @@ -3765,7 +3765,7 @@ impl IDebugClient6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServerWide)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn StartServerWide(&self, options: P0) -> windows_core::Result<()> @@ -3781,7 +3781,7 @@ impl IDebugClient6 { (windows_core::Interface::vtable(self).OutputServersWide)(windows_core::Interface::as_raw(self), outputcontrol, machine.param().abi(), flags).ok() } pub unsafe fn GetOutputCallbacksWide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacksWide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacksWide(&self, callbacks: P0) -> windows_core::Result<()> @@ -3809,7 +3809,7 @@ impl IDebugClient6 { (windows_core::Interface::vtable(self).OutputIdentityWide)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacksWide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacksWide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacksWide(&self, callbacks: P0) -> windows_core::Result<()> @@ -3854,29 +3854,29 @@ impl IDebugClient6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PushOutputLinePrefix)(windows_core::Interface::as_raw(self), newprefix.param().abi(), &mut result__).map(|| result__) } pub unsafe fn PushOutputLinePrefixWide(&self, newprefix: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PushOutputLinePrefixWide)(windows_core::Interface::as_raw(self), newprefix.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberEventCallbacks(&self, eventflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberEventCallbacks)(windows_core::Interface::as_raw(self), eventflags, &mut result__).map(|| result__) } pub unsafe fn GetQuitLockString(&self, buffer: Option<&mut [u8]>, stringsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -4005,7 +4005,7 @@ windows_core::imp::define_interface!(IDebugClient7, IDebugClient7_Vtbl, 0x13586b impl std::ops::Deref for IDebugClient7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugClient7, windows_core::IUnknown); @@ -4035,7 +4035,7 @@ impl IDebugClient7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServer)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> windows_core::Result<()> { @@ -4048,7 +4048,7 @@ impl IDebugClient7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u8]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u8]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -4082,7 +4082,7 @@ impl IDebugClient7 { (windows_core::Interface::vtable(self).CreateProcessAndAttach)(windows_core::Interface::as_raw(self), server, commandline.param().abi(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> windows_core::Result<()> { @@ -4131,7 +4131,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExitCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> windows_core::Result<()> { @@ -4144,11 +4144,11 @@ impl IDebugClient7 { (windows_core::Interface::vtable(self).ExitDispatch)(windows_core::Interface::as_raw(self), client.param().abi()).ok() } pub unsafe fn CreateClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -4158,7 +4158,7 @@ impl IDebugClient7 { (windows_core::Interface::vtable(self).SetInputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -4168,7 +4168,7 @@ impl IDebugClient7 { (windows_core::Interface::vtable(self).SetOutputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> windows_core::Result<()> { @@ -4178,7 +4178,7 @@ impl IDebugClient7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOtherOutputMask(&self, client: P0, mask: u32) -> windows_core::Result<()> @@ -4188,7 +4188,7 @@ impl IDebugClient7 { (windows_core::Interface::vtable(self).SetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> windows_core::Result<()> { @@ -4213,7 +4213,7 @@ impl IDebugClient7 { (windows_core::Interface::vtable(self).OutputIdentity)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -4260,7 +4260,7 @@ impl IDebugClient7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u16]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u16]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -4310,7 +4310,7 @@ impl IDebugClient7 { (windows_core::Interface::vtable(self).AddDumpInformationFileWide)(windows_core::Interface::as_raw(self), filename.param().abi(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberDumpFiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>, handle: Option<*mut u64>, r#type: *mut u32) -> windows_core::Result<()> { @@ -4344,7 +4344,7 @@ impl IDebugClient7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServerWide)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn StartServerWide(&self, options: P0) -> windows_core::Result<()> @@ -4360,7 +4360,7 @@ impl IDebugClient7 { (windows_core::Interface::vtable(self).OutputServersWide)(windows_core::Interface::as_raw(self), outputcontrol, machine.param().abi(), flags).ok() } pub unsafe fn GetOutputCallbacksWide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacksWide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacksWide(&self, callbacks: P0) -> windows_core::Result<()> @@ -4388,7 +4388,7 @@ impl IDebugClient7 { (windows_core::Interface::vtable(self).OutputIdentityWide)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacksWide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacksWide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacksWide(&self, callbacks: P0) -> windows_core::Result<()> @@ -4433,29 +4433,29 @@ impl IDebugClient7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PushOutputLinePrefix)(windows_core::Interface::as_raw(self), newprefix.param().abi(), &mut result__).map(|| result__) } pub unsafe fn PushOutputLinePrefixWide(&self, newprefix: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PushOutputLinePrefixWide)(windows_core::Interface::as_raw(self), newprefix.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberEventCallbacks(&self, eventflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberEventCallbacks)(windows_core::Interface::as_raw(self), eventflags, &mut result__).map(|| result__) } pub unsafe fn GetQuitLockString(&self, buffer: Option<&mut [u8]>, stringsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -4588,7 +4588,7 @@ windows_core::imp::define_interface!(IDebugClient8, IDebugClient8_Vtbl, 0xcec43a impl std::ops::Deref for IDebugClient8 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugClient8, windows_core::IUnknown); @@ -4618,7 +4618,7 @@ impl IDebugClient8 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServer)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisconnectProcessServer(&self, server: u64) -> windows_core::Result<()> { @@ -4631,7 +4631,7 @@ impl IDebugClient8 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableName)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescription(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u8]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u8]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -4665,7 +4665,7 @@ impl IDebugClient8 { (windows_core::Interface::vtable(self).CreateProcessAndAttach)(windows_core::Interface::as_raw(self), server, commandline.param().abi(), createflags, processid, attachflags).ok() } pub unsafe fn GetProcessOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddProcessOptions(&self, options: u32) -> windows_core::Result<()> { @@ -4714,7 +4714,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExitCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DispatchCallbacks(&self, timeout: u32) -> windows_core::Result<()> { @@ -4727,11 +4727,11 @@ impl IDebugClient8 { (windows_core::Interface::vtable(self).ExitDispatch)(windows_core::Interface::as_raw(self), client.param().abi()).ok() } pub unsafe fn CreateClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -4741,7 +4741,7 @@ impl IDebugClient8 { (windows_core::Interface::vtable(self).SetInputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -4751,7 +4751,7 @@ impl IDebugClient8 { (windows_core::Interface::vtable(self).SetOutputCallbacks)(windows_core::Interface::as_raw(self), callbacks.param().abi()).ok() } pub unsafe fn GetOutputMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputMask(&self, mask: u32) -> windows_core::Result<()> { @@ -4761,7 +4761,7 @@ impl IDebugClient8 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOtherOutputMask(&self, client: P0, mask: u32) -> windows_core::Result<()> @@ -4771,7 +4771,7 @@ impl IDebugClient8 { (windows_core::Interface::vtable(self).SetOtherOutputMask)(windows_core::Interface::as_raw(self), client.param().abi(), mask).ok() } pub unsafe fn GetOutputWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOutputWidth(&self, columns: u32) -> windows_core::Result<()> { @@ -4796,7 +4796,7 @@ impl IDebugClient8 { (windows_core::Interface::vtable(self).OutputIdentity)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacks(&self, callbacks: P0) -> windows_core::Result<()> @@ -4843,7 +4843,7 @@ impl IDebugClient8 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningProcessSystemIdByExecutableNameWide)(windows_core::Interface::as_raw(self), server, exename.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetRunningProcessDescriptionWide(&self, server: u64, systemid: u32, flags: u32, exename: Option<&mut [u16]>, actualexenamesize: Option<*mut u32>, description: Option<&mut [u16]>, actualdescriptionsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -4893,7 +4893,7 @@ impl IDebugClient8 { (windows_core::Interface::vtable(self).AddDumpInformationFileWide)(windows_core::Interface::as_raw(self), filename.param().abi(), filehandle, r#type).ok() } pub unsafe fn GetNumberDumpFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberDumpFiles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFile(&self, index: u32, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>, handle: Option<*mut u64>, r#type: *mut u32) -> windows_core::Result<()> { @@ -4927,7 +4927,7 @@ impl IDebugClient8 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectProcessServerWide)(windows_core::Interface::as_raw(self), remoteoptions.param().abi(), &mut result__).map(|| result__) } pub unsafe fn StartServerWide(&self, options: P0) -> windows_core::Result<()> @@ -4943,7 +4943,7 @@ impl IDebugClient8 { (windows_core::Interface::vtable(self).OutputServersWide)(windows_core::Interface::as_raw(self), outputcontrol, machine.param().abi(), flags).ok() } pub unsafe fn GetOutputCallbacksWide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputCallbacksWide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutputCallbacksWide(&self, callbacks: P0) -> windows_core::Result<()> @@ -4971,7 +4971,7 @@ impl IDebugClient8 { (windows_core::Interface::vtable(self).OutputIdentityWide)(windows_core::Interface::as_raw(self), outputcontrol, flags, format.param().abi()).ok() } pub unsafe fn GetEventCallbacksWide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCallbacksWide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventCallbacksWide(&self, callbacks: P0) -> windows_core::Result<()> @@ -5016,29 +5016,29 @@ impl IDebugClient8 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PushOutputLinePrefix)(windows_core::Interface::as_raw(self), newprefix.param().abi(), &mut result__).map(|| result__) } pub unsafe fn PushOutputLinePrefixWide(&self, newprefix: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PushOutputLinePrefixWide)(windows_core::Interface::as_raw(self), newprefix.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberInputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberOutputCallbacks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOutputCallbacks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberEventCallbacks(&self, eventflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberEventCallbacks)(windows_core::Interface::as_raw(self), eventflags, &mut result__).map(|| result__) } pub unsafe fn GetQuitLockString(&self, buffer: Option<&mut [u8]>, stringsize: Option<*mut u32>) -> windows_core::Result<()> { @@ -5178,7 +5178,7 @@ windows_core::imp::define_interface!(IDebugControl, IDebugControl_Vtbl, 0x5182e6 impl std::ops::Deref for IDebugControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugControl, windows_core::IUnknown); @@ -5190,7 +5190,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterruptTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> windows_core::Result<()> { @@ -5210,7 +5210,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> windows_core::Result<()> { @@ -5271,7 +5271,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> windows_core::Result<()> { @@ -5281,32 +5281,32 @@ impl IDebugControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Assemble)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: Option<&mut [u8]>, disassemblysize: Option<*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(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(disassemblysize.unwrap_or(std::ptr::null_mut())), endoffset).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisassembleEffectiveOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputDisassembly)(windows_core::Interface::as_raw(self), outputcontrol, offset, flags, &mut result__).map(|| result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: Option<*mut u32>, startoffset: Option<*mut u64>, endoffset: Option<*mut u64>, lineoffsets: Option<&mut [u64]>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).OutputDisassemblyLines)(windows_core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), offset, flags, core::mem::transmute(offsetline.unwrap_or(std::ptr::null_mut())), core::mem::transmute(startoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(endoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(lineoffsets.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNearInstruction)(windows_core::Interface::as_raw(self), offset, delta, &mut result__).map(|| result__) } pub unsafe fn GetStackTrace(&self, frameoffset: u64, stackoffset: u64, instructionoffset: u64, frames: &mut [DEBUG_STACK_FRAME], framesfilled: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStackTrace)(windows_core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), core::mem::transmute(framesfilled.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetReturnOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReturnOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputStackTrace(&self, outputcontrol: u32, frames: Option<&[DEBUG_STACK_FRAME]>, flags: u32) -> windows_core::Result<()> { @@ -5316,22 +5316,22 @@ impl IDebugControl { (windows_core::Interface::vtable(self).GetDebuggeeType)(windows_core::Interface::as_raw(self), class, qualifier).ok() } pub unsafe fn GetActualProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActualProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExecutingProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutingProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(types.as_ptr())).ok() } pub unsafe fn GetNumberProcessors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcessors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: Option<&mut [u8]>, servicepackstringused: Option<*mut u32>, servicepacknumber: *mut u32, buildstring: Option<&mut [u8]>, buildstringused: Option<*mut u32>) -> windows_core::Result<()> { @@ -5351,7 +5351,7 @@ impl IDebugControl { .ok() } pub unsafe fn GetPageSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPointer64Bit(&self) -> windows_core::Result<()> { @@ -5361,7 +5361,7 @@ impl IDebugControl { (windows_core::Interface::vtable(self).ReadBugCheckData)(windows_core::Interface::as_raw(self), code, arg1, arg2, arg3, arg4).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> windows_core::Result<()> { @@ -5381,28 +5381,28 @@ impl IDebugControl { .ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectiveProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEngineOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> windows_core::Result<()> { @@ -5430,7 +5430,7 @@ impl IDebugControl { (windows_core::Interface::vtable(self).SetTextMacro)(windows_core::Interface::as_raw(self), slot, r#macro.param().abi()).ok() } pub unsafe fn GetRadix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadix)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRadix(&self, radix: u32) -> windows_core::Result<()> { @@ -5461,22 +5461,22 @@ impl IDebugControl { (windows_core::Interface::vtable(self).ExecuteCommandFile)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberBreakpoints)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: Option<*const u32>, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetBreakpointParameters)(windows_core::Interface::as_raw(self), count, core::mem::transmute(ids.unwrap_or(std::ptr::null())), start, params).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint(&self, bp: P0) -> windows_core::Result<()> @@ -5489,7 +5489,7 @@ impl IDebugControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtension)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> windows_core::Result<()> { @@ -5499,7 +5499,7 @@ impl IDebugControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtension(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -5681,7 +5681,7 @@ windows_core::imp::define_interface!(IDebugControl2, IDebugControl2_Vtbl, 0xd436 impl std::ops::Deref for IDebugControl2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugControl2, windows_core::IUnknown); @@ -5693,7 +5693,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterruptTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> windows_core::Result<()> { @@ -5713,7 +5713,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> windows_core::Result<()> { @@ -5774,7 +5774,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> windows_core::Result<()> { @@ -5784,32 +5784,32 @@ impl IDebugControl2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Assemble)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: Option<&mut [u8]>, disassemblysize: Option<*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(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(disassemblysize.unwrap_or(std::ptr::null_mut())), endoffset).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisassembleEffectiveOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputDisassembly)(windows_core::Interface::as_raw(self), outputcontrol, offset, flags, &mut result__).map(|| result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: Option<*mut u32>, startoffset: Option<*mut u64>, endoffset: Option<*mut u64>, lineoffsets: Option<&mut [u64]>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).OutputDisassemblyLines)(windows_core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), offset, flags, core::mem::transmute(offsetline.unwrap_or(std::ptr::null_mut())), core::mem::transmute(startoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(endoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(lineoffsets.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNearInstruction)(windows_core::Interface::as_raw(self), offset, delta, &mut result__).map(|| result__) } pub unsafe fn GetStackTrace(&self, frameoffset: u64, stackoffset: u64, instructionoffset: u64, frames: &mut [DEBUG_STACK_FRAME], framesfilled: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStackTrace)(windows_core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), core::mem::transmute(framesfilled.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetReturnOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReturnOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputStackTrace(&self, outputcontrol: u32, frames: Option<&[DEBUG_STACK_FRAME]>, flags: u32) -> windows_core::Result<()> { @@ -5819,22 +5819,22 @@ impl IDebugControl2 { (windows_core::Interface::vtable(self).GetDebuggeeType)(windows_core::Interface::as_raw(self), class, qualifier).ok() } pub unsafe fn GetActualProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActualProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExecutingProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutingProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(types.as_ptr())).ok() } pub unsafe fn GetNumberProcessors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcessors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: Option<&mut [u8]>, servicepackstringused: Option<*mut u32>, servicepacknumber: *mut u32, buildstring: Option<&mut [u8]>, buildstringused: Option<*mut u32>) -> windows_core::Result<()> { @@ -5854,7 +5854,7 @@ impl IDebugControl2 { .ok() } pub unsafe fn GetPageSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPointer64Bit(&self) -> windows_core::Result<()> { @@ -5864,7 +5864,7 @@ impl IDebugControl2 { (windows_core::Interface::vtable(self).ReadBugCheckData)(windows_core::Interface::as_raw(self), code, arg1, arg2, arg3, arg4).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> windows_core::Result<()> { @@ -5884,28 +5884,28 @@ impl IDebugControl2 { .ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectiveProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEngineOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> windows_core::Result<()> { @@ -5933,7 +5933,7 @@ impl IDebugControl2 { (windows_core::Interface::vtable(self).SetTextMacro)(windows_core::Interface::as_raw(self), slot, r#macro.param().abi()).ok() } pub unsafe fn GetRadix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadix)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRadix(&self, radix: u32) -> windows_core::Result<()> { @@ -5964,22 +5964,22 @@ impl IDebugControl2 { (windows_core::Interface::vtable(self).ExecuteCommandFile)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberBreakpoints)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: Option<*const u32>, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetBreakpointParameters)(windows_core::Interface::as_raw(self), count, core::mem::transmute(ids.unwrap_or(std::ptr::null())), start, params).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint(&self, bp: P0) -> windows_core::Result<()> @@ -5992,7 +5992,7 @@ impl IDebugControl2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtension)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> windows_core::Result<()> { @@ -6002,7 +6002,7 @@ impl IDebugControl2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtension(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -6078,19 +6078,19 @@ impl IDebugControl2 { (windows_core::Interface::vtable(self).GetLastEventInformation)(windows_core::Interface::as_raw(self), r#type, processid, threadid, core::mem::transmute(extrainformation.unwrap_or(std::ptr::null_mut())), extrainformationsize, core::mem::transmute(extrainformationused.unwrap_or(std::ptr::null_mut())), core::mem::transmute(description.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), description.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(descriptionused.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTimeDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFormatFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDumpFormatFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberTextReplacements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberTextReplacements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextReplacement(&self, srctext: P0, index: u32, srcbuffer: Option<&mut [u8]>, srcsize: Option<*mut u32>, dstbuffer: Option<&mut [u8]>, dstsize: Option<*mut u32>) -> windows_core::Result<()> @@ -6238,7 +6238,7 @@ windows_core::imp::define_interface!(IDebugControl3, IDebugControl3_Vtbl, 0x7df7 impl std::ops::Deref for IDebugControl3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugControl3, windows_core::IUnknown); @@ -6250,7 +6250,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterruptTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> windows_core::Result<()> { @@ -6270,7 +6270,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> windows_core::Result<()> { @@ -6331,7 +6331,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> windows_core::Result<()> { @@ -6341,32 +6341,32 @@ impl IDebugControl3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Assemble)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: Option<&mut [u8]>, disassemblysize: Option<*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(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(disassemblysize.unwrap_or(std::ptr::null_mut())), endoffset).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisassembleEffectiveOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputDisassembly)(windows_core::Interface::as_raw(self), outputcontrol, offset, flags, &mut result__).map(|| result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: Option<*mut u32>, startoffset: Option<*mut u64>, endoffset: Option<*mut u64>, lineoffsets: Option<&mut [u64]>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).OutputDisassemblyLines)(windows_core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), offset, flags, core::mem::transmute(offsetline.unwrap_or(std::ptr::null_mut())), core::mem::transmute(startoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(endoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(lineoffsets.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNearInstruction)(windows_core::Interface::as_raw(self), offset, delta, &mut result__).map(|| result__) } pub unsafe fn GetStackTrace(&self, frameoffset: u64, stackoffset: u64, instructionoffset: u64, frames: &mut [DEBUG_STACK_FRAME], framesfilled: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStackTrace)(windows_core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), core::mem::transmute(framesfilled.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetReturnOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReturnOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputStackTrace(&self, outputcontrol: u32, frames: Option<&[DEBUG_STACK_FRAME]>, flags: u32) -> windows_core::Result<()> { @@ -6376,22 +6376,22 @@ impl IDebugControl3 { (windows_core::Interface::vtable(self).GetDebuggeeType)(windows_core::Interface::as_raw(self), class, qualifier).ok() } pub unsafe fn GetActualProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActualProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExecutingProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutingProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(types.as_ptr())).ok() } pub unsafe fn GetNumberProcessors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcessors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: Option<&mut [u8]>, servicepackstringused: Option<*mut u32>, servicepacknumber: *mut u32, buildstring: Option<&mut [u8]>, buildstringused: Option<*mut u32>) -> windows_core::Result<()> { @@ -6411,7 +6411,7 @@ impl IDebugControl3 { .ok() } pub unsafe fn GetPageSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPointer64Bit(&self) -> windows_core::Result<()> { @@ -6421,7 +6421,7 @@ impl IDebugControl3 { (windows_core::Interface::vtable(self).ReadBugCheckData)(windows_core::Interface::as_raw(self), code, arg1, arg2, arg3, arg4).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> windows_core::Result<()> { @@ -6441,28 +6441,28 @@ impl IDebugControl3 { .ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectiveProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEngineOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> windows_core::Result<()> { @@ -6490,7 +6490,7 @@ impl IDebugControl3 { (windows_core::Interface::vtable(self).SetTextMacro)(windows_core::Interface::as_raw(self), slot, r#macro.param().abi()).ok() } pub unsafe fn GetRadix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadix)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRadix(&self, radix: u32) -> windows_core::Result<()> { @@ -6521,22 +6521,22 @@ impl IDebugControl3 { (windows_core::Interface::vtable(self).ExecuteCommandFile)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberBreakpoints)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: Option<*const u32>, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetBreakpointParameters)(windows_core::Interface::as_raw(self), count, core::mem::transmute(ids.unwrap_or(std::ptr::null())), start, params).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint(&self, bp: P0) -> windows_core::Result<()> @@ -6549,7 +6549,7 @@ impl IDebugControl3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtension)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> windows_core::Result<()> { @@ -6559,7 +6559,7 @@ impl IDebugControl3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtension(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -6635,19 +6635,19 @@ impl IDebugControl3 { (windows_core::Interface::vtable(self).GetLastEventInformation)(windows_core::Interface::as_raw(self), r#type, processid, threadid, core::mem::transmute(extrainformation.unwrap_or(std::ptr::null_mut())), extrainformationsize, core::mem::transmute(extrainformationused.unwrap_or(std::ptr::null_mut())), core::mem::transmute(description.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), description.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(descriptionused.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTimeDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFormatFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDumpFormatFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberTextReplacements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberTextReplacements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextReplacement(&self, srctext: P0, index: u32, srcbuffer: Option<&mut [u8]>, srcsize: Option<*mut u32>, dstbuffer: Option<&mut [u8]>, dstsize: Option<*mut u32>) -> windows_core::Result<()> @@ -6681,7 +6681,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAssemblyOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> windows_core::Result<()> { @@ -6694,7 +6694,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpressionSyntax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> windows_core::Result<()> { @@ -6707,7 +6707,7 @@ impl IDebugControl3 { (windows_core::Interface::vtable(self).SetExpressionSyntaxByName)(windows_core::Interface::as_raw(self), abbrevname.param().abi()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberExpressionSyntaxes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: Option<&mut [u8]>, fullnamesize: Option<*mut u32>, abbrevnamebuffer: Option<&mut [u8]>, abbrevnamesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -6724,7 +6724,7 @@ impl IDebugControl3 { .ok() } pub unsafe fn GetNumberEvents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventIndexDescription(&self, index: u32, which: u32, buffer: P0, buffersize: u32, descsize: Option<*mut u32>) -> windows_core::Result<()> @@ -6734,11 +6734,11 @@ impl IDebugControl3 { (windows_core::Interface::vtable(self).GetEventIndexDescription)(windows_core::Interface::as_raw(self), index, which, buffer.param().abi(), buffersize, core::mem::transmute(descsize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentEventIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentEventIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetNextEventIndex)(windows_core::Interface::as_raw(self), relation, value, &mut result__).map(|| result__) } } @@ -6869,7 +6869,7 @@ windows_core::imp::define_interface!(IDebugControl4, IDebugControl4_Vtbl, 0x94e6 impl std::ops::Deref for IDebugControl4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugControl4, windows_core::IUnknown); @@ -6881,7 +6881,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterruptTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> windows_core::Result<()> { @@ -6901,7 +6901,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> windows_core::Result<()> { @@ -6962,7 +6962,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> windows_core::Result<()> { @@ -6972,32 +6972,32 @@ impl IDebugControl4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Assemble)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: Option<&mut [u8]>, disassemblysize: Option<*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(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(disassemblysize.unwrap_or(std::ptr::null_mut())), endoffset).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisassembleEffectiveOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputDisassembly)(windows_core::Interface::as_raw(self), outputcontrol, offset, flags, &mut result__).map(|| result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: Option<*mut u32>, startoffset: Option<*mut u64>, endoffset: Option<*mut u64>, lineoffsets: Option<&mut [u64]>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).OutputDisassemblyLines)(windows_core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), offset, flags, core::mem::transmute(offsetline.unwrap_or(std::ptr::null_mut())), core::mem::transmute(startoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(endoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(lineoffsets.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNearInstruction)(windows_core::Interface::as_raw(self), offset, delta, &mut result__).map(|| result__) } pub unsafe fn GetStackTrace(&self, frameoffset: u64, stackoffset: u64, instructionoffset: u64, frames: &mut [DEBUG_STACK_FRAME], framesfilled: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStackTrace)(windows_core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), core::mem::transmute(framesfilled.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetReturnOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReturnOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputStackTrace(&self, outputcontrol: u32, frames: Option<&[DEBUG_STACK_FRAME]>, flags: u32) -> windows_core::Result<()> { @@ -7007,22 +7007,22 @@ impl IDebugControl4 { (windows_core::Interface::vtable(self).GetDebuggeeType)(windows_core::Interface::as_raw(self), class, qualifier).ok() } pub unsafe fn GetActualProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActualProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExecutingProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutingProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(types.as_ptr())).ok() } pub unsafe fn GetNumberProcessors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcessors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: Option<&mut [u8]>, servicepackstringused: Option<*mut u32>, servicepacknumber: *mut u32, buildstring: Option<&mut [u8]>, buildstringused: Option<*mut u32>) -> windows_core::Result<()> { @@ -7042,7 +7042,7 @@ impl IDebugControl4 { .ok() } pub unsafe fn GetPageSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPointer64Bit(&self) -> windows_core::Result<()> { @@ -7052,7 +7052,7 @@ impl IDebugControl4 { (windows_core::Interface::vtable(self).ReadBugCheckData)(windows_core::Interface::as_raw(self), code, arg1, arg2, arg3, arg4).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> windows_core::Result<()> { @@ -7072,28 +7072,28 @@ impl IDebugControl4 { .ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectiveProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEngineOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> windows_core::Result<()> { @@ -7121,7 +7121,7 @@ impl IDebugControl4 { (windows_core::Interface::vtable(self).SetTextMacro)(windows_core::Interface::as_raw(self), slot, r#macro.param().abi()).ok() } pub unsafe fn GetRadix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadix)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRadix(&self, radix: u32) -> windows_core::Result<()> { @@ -7152,22 +7152,22 @@ impl IDebugControl4 { (windows_core::Interface::vtable(self).ExecuteCommandFile)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberBreakpoints)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: Option<*const u32>, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetBreakpointParameters)(windows_core::Interface::as_raw(self), count, core::mem::transmute(ids.unwrap_or(std::ptr::null())), start, params).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint(&self, bp: P0) -> windows_core::Result<()> @@ -7180,7 +7180,7 @@ impl IDebugControl4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtension)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> windows_core::Result<()> { @@ -7190,7 +7190,7 @@ impl IDebugControl4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtension(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -7266,19 +7266,19 @@ impl IDebugControl4 { (windows_core::Interface::vtable(self).GetLastEventInformation)(windows_core::Interface::as_raw(self), r#type, processid, threadid, core::mem::transmute(extrainformation.unwrap_or(std::ptr::null_mut())), extrainformationsize, core::mem::transmute(extrainformationused.unwrap_or(std::ptr::null_mut())), core::mem::transmute(description.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), description.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(descriptionused.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTimeDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFormatFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDumpFormatFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberTextReplacements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberTextReplacements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextReplacement(&self, srctext: P0, index: u32, srcbuffer: Option<&mut [u8]>, srcsize: Option<*mut u32>, dstbuffer: Option<&mut [u8]>, dstsize: Option<*mut u32>) -> windows_core::Result<()> @@ -7312,7 +7312,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAssemblyOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> windows_core::Result<()> { @@ -7325,7 +7325,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpressionSyntax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> windows_core::Result<()> { @@ -7338,7 +7338,7 @@ impl IDebugControl4 { (windows_core::Interface::vtable(self).SetExpressionSyntaxByName)(windows_core::Interface::as_raw(self), abbrevname.param().abi()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberExpressionSyntaxes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: Option<&mut [u8]>, fullnamesize: Option<*mut u32>, abbrevnamebuffer: Option<&mut [u8]>, abbrevnamesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -7355,7 +7355,7 @@ impl IDebugControl4 { .ok() } pub unsafe fn GetNumberEvents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventIndexDescription(&self, index: u32, which: u32, buffer: P0, buffersize: u32, descsize: Option<*mut u32>) -> windows_core::Result<()> @@ -7365,11 +7365,11 @@ impl IDebugControl4 { (windows_core::Interface::vtable(self).GetEventIndexDescription)(windows_core::Interface::as_raw(self), index, which, buffer.param().abi(), buffersize, core::mem::transmute(descsize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentEventIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentEventIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetNextEventIndex)(windows_core::Interface::as_raw(self), relation, value, &mut result__).map(|| result__) } pub unsafe fn GetLogFileWide(&self, buffer: Option<&mut [u16]>, filesize: Option<*mut u32>, append: *mut super::super::super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -7434,7 +7434,7 @@ impl IDebugControl4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssembleWide)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisassembleWide(&self, offset: u64, flags: u32, buffer: Option<&mut [u16]>, disassemblysize: Option<*mut u32>, endoffset: *mut u64) -> windows_core::Result<()> { @@ -7481,15 +7481,15 @@ impl IDebugControl4 { (windows_core::Interface::vtable(self).ExecuteCommandFileWide)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetBreakpointByIndex2(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex2)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById2(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById2)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddBreakpoint2(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint2)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint2(&self, bp: P0) -> windows_core::Result<()> @@ -7502,14 +7502,14 @@ impl IDebugControl4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtensionWide)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetExtensionByPathWide(&self, path: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPathWide)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtensionWide(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -7833,7 +7833,7 @@ windows_core::imp::define_interface!(IDebugControl5, IDebugControl5_Vtbl, 0xb2ff impl std::ops::Deref for IDebugControl5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugControl5, windows_core::IUnknown); @@ -7845,7 +7845,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterruptTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> windows_core::Result<()> { @@ -7865,7 +7865,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> windows_core::Result<()> { @@ -7926,7 +7926,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> windows_core::Result<()> { @@ -7936,32 +7936,32 @@ impl IDebugControl5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Assemble)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: Option<&mut [u8]>, disassemblysize: Option<*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(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(disassemblysize.unwrap_or(std::ptr::null_mut())), endoffset).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisassembleEffectiveOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputDisassembly)(windows_core::Interface::as_raw(self), outputcontrol, offset, flags, &mut result__).map(|| result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: Option<*mut u32>, startoffset: Option<*mut u64>, endoffset: Option<*mut u64>, lineoffsets: Option<&mut [u64]>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).OutputDisassemblyLines)(windows_core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), offset, flags, core::mem::transmute(offsetline.unwrap_or(std::ptr::null_mut())), core::mem::transmute(startoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(endoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(lineoffsets.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNearInstruction)(windows_core::Interface::as_raw(self), offset, delta, &mut result__).map(|| result__) } pub unsafe fn GetStackTrace(&self, frameoffset: u64, stackoffset: u64, instructionoffset: u64, frames: &mut [DEBUG_STACK_FRAME], framesfilled: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStackTrace)(windows_core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), core::mem::transmute(framesfilled.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetReturnOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReturnOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputStackTrace(&self, outputcontrol: u32, frames: Option<&[DEBUG_STACK_FRAME]>, flags: u32) -> windows_core::Result<()> { @@ -7971,22 +7971,22 @@ impl IDebugControl5 { (windows_core::Interface::vtable(self).GetDebuggeeType)(windows_core::Interface::as_raw(self), class, qualifier).ok() } pub unsafe fn GetActualProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActualProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExecutingProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutingProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(types.as_ptr())).ok() } pub unsafe fn GetNumberProcessors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcessors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: Option<&mut [u8]>, servicepackstringused: Option<*mut u32>, servicepacknumber: *mut u32, buildstring: Option<&mut [u8]>, buildstringused: Option<*mut u32>) -> windows_core::Result<()> { @@ -8006,7 +8006,7 @@ impl IDebugControl5 { .ok() } pub unsafe fn GetPageSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPointer64Bit(&self) -> windows_core::Result<()> { @@ -8016,7 +8016,7 @@ impl IDebugControl5 { (windows_core::Interface::vtable(self).ReadBugCheckData)(windows_core::Interface::as_raw(self), code, arg1, arg2, arg3, arg4).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> windows_core::Result<()> { @@ -8036,28 +8036,28 @@ impl IDebugControl5 { .ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectiveProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEngineOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> windows_core::Result<()> { @@ -8085,7 +8085,7 @@ impl IDebugControl5 { (windows_core::Interface::vtable(self).SetTextMacro)(windows_core::Interface::as_raw(self), slot, r#macro.param().abi()).ok() } pub unsafe fn GetRadix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadix)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRadix(&self, radix: u32) -> windows_core::Result<()> { @@ -8116,22 +8116,22 @@ impl IDebugControl5 { (windows_core::Interface::vtable(self).ExecuteCommandFile)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberBreakpoints)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: Option<*const u32>, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetBreakpointParameters)(windows_core::Interface::as_raw(self), count, core::mem::transmute(ids.unwrap_or(std::ptr::null())), start, params).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint(&self, bp: P0) -> windows_core::Result<()> @@ -8144,7 +8144,7 @@ impl IDebugControl5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtension)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> windows_core::Result<()> { @@ -8154,7 +8154,7 @@ impl IDebugControl5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtension(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -8230,19 +8230,19 @@ impl IDebugControl5 { (windows_core::Interface::vtable(self).GetLastEventInformation)(windows_core::Interface::as_raw(self), r#type, processid, threadid, core::mem::transmute(extrainformation.unwrap_or(std::ptr::null_mut())), extrainformationsize, core::mem::transmute(extrainformationused.unwrap_or(std::ptr::null_mut())), core::mem::transmute(description.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), description.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(descriptionused.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTimeDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFormatFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDumpFormatFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberTextReplacements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberTextReplacements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextReplacement(&self, srctext: P0, index: u32, srcbuffer: Option<&mut [u8]>, srcsize: Option<*mut u32>, dstbuffer: Option<&mut [u8]>, dstsize: Option<*mut u32>) -> windows_core::Result<()> @@ -8276,7 +8276,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAssemblyOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> windows_core::Result<()> { @@ -8289,7 +8289,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpressionSyntax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> windows_core::Result<()> { @@ -8302,7 +8302,7 @@ impl IDebugControl5 { (windows_core::Interface::vtable(self).SetExpressionSyntaxByName)(windows_core::Interface::as_raw(self), abbrevname.param().abi()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberExpressionSyntaxes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: Option<&mut [u8]>, fullnamesize: Option<*mut u32>, abbrevnamebuffer: Option<&mut [u8]>, abbrevnamesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -8319,7 +8319,7 @@ impl IDebugControl5 { .ok() } pub unsafe fn GetNumberEvents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventIndexDescription(&self, index: u32, which: u32, buffer: P0, buffersize: u32, descsize: Option<*mut u32>) -> windows_core::Result<()> @@ -8329,11 +8329,11 @@ impl IDebugControl5 { (windows_core::Interface::vtable(self).GetEventIndexDescription)(windows_core::Interface::as_raw(self), index, which, buffer.param().abi(), buffersize, core::mem::transmute(descsize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentEventIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentEventIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetNextEventIndex)(windows_core::Interface::as_raw(self), relation, value, &mut result__).map(|| result__) } pub unsafe fn GetLogFileWide(&self, buffer: Option<&mut [u16]>, filesize: Option<*mut u32>, append: *mut super::super::super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -8398,7 +8398,7 @@ impl IDebugControl5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssembleWide)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisassembleWide(&self, offset: u64, flags: u32, buffer: Option<&mut [u16]>, disassemblysize: Option<*mut u32>, endoffset: *mut u64) -> windows_core::Result<()> { @@ -8445,15 +8445,15 @@ impl IDebugControl5 { (windows_core::Interface::vtable(self).ExecuteCommandFileWide)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetBreakpointByIndex2(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex2)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById2(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById2)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddBreakpoint2(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint2)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint2(&self, bp: P0) -> windows_core::Result<()> @@ -8466,14 +8466,14 @@ impl IDebugControl5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtensionWide)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetExtensionByPathWide(&self, path: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPathWide)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtensionWide(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -8629,7 +8629,7 @@ impl IDebugControl5 { (windows_core::Interface::vtable(self).OutputContextStackTraceEx)(windows_core::Interface::as_raw(self), outputcontrol, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), framecontexts, framecontextssize, framecontextsentrysize, flags).ok() } pub unsafe fn GetBreakpointByGuid(&self, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByGuid)(windows_core::Interface::as_raw(self), guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8818,7 +8818,7 @@ windows_core::imp::define_interface!(IDebugControl6, IDebugControl6_Vtbl, 0xbc0d impl std::ops::Deref for IDebugControl6 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugControl6, windows_core::IUnknown); @@ -8830,7 +8830,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterruptTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> windows_core::Result<()> { @@ -8850,7 +8850,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> windows_core::Result<()> { @@ -8911,7 +8911,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> windows_core::Result<()> { @@ -8921,32 +8921,32 @@ impl IDebugControl6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Assemble)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: Option<&mut [u8]>, disassemblysize: Option<*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(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(disassemblysize.unwrap_or(std::ptr::null_mut())), endoffset).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisassembleEffectiveOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputDisassembly)(windows_core::Interface::as_raw(self), outputcontrol, offset, flags, &mut result__).map(|| result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: Option<*mut u32>, startoffset: Option<*mut u64>, endoffset: Option<*mut u64>, lineoffsets: Option<&mut [u64]>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).OutputDisassemblyLines)(windows_core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), offset, flags, core::mem::transmute(offsetline.unwrap_or(std::ptr::null_mut())), core::mem::transmute(startoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(endoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(lineoffsets.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNearInstruction)(windows_core::Interface::as_raw(self), offset, delta, &mut result__).map(|| result__) } pub unsafe fn GetStackTrace(&self, frameoffset: u64, stackoffset: u64, instructionoffset: u64, frames: &mut [DEBUG_STACK_FRAME], framesfilled: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStackTrace)(windows_core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), core::mem::transmute(framesfilled.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetReturnOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReturnOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputStackTrace(&self, outputcontrol: u32, frames: Option<&[DEBUG_STACK_FRAME]>, flags: u32) -> windows_core::Result<()> { @@ -8956,22 +8956,22 @@ impl IDebugControl6 { (windows_core::Interface::vtable(self).GetDebuggeeType)(windows_core::Interface::as_raw(self), class, qualifier).ok() } pub unsafe fn GetActualProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActualProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExecutingProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutingProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(types.as_ptr())).ok() } pub unsafe fn GetNumberProcessors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcessors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: Option<&mut [u8]>, servicepackstringused: Option<*mut u32>, servicepacknumber: *mut u32, buildstring: Option<&mut [u8]>, buildstringused: Option<*mut u32>) -> windows_core::Result<()> { @@ -8991,7 +8991,7 @@ impl IDebugControl6 { .ok() } pub unsafe fn GetPageSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPointer64Bit(&self) -> windows_core::Result<()> { @@ -9001,7 +9001,7 @@ impl IDebugControl6 { (windows_core::Interface::vtable(self).ReadBugCheckData)(windows_core::Interface::as_raw(self), code, arg1, arg2, arg3, arg4).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> windows_core::Result<()> { @@ -9021,28 +9021,28 @@ impl IDebugControl6 { .ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectiveProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEngineOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> windows_core::Result<()> { @@ -9070,7 +9070,7 @@ impl IDebugControl6 { (windows_core::Interface::vtable(self).SetTextMacro)(windows_core::Interface::as_raw(self), slot, r#macro.param().abi()).ok() } pub unsafe fn GetRadix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadix)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRadix(&self, radix: u32) -> windows_core::Result<()> { @@ -9101,22 +9101,22 @@ impl IDebugControl6 { (windows_core::Interface::vtable(self).ExecuteCommandFile)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberBreakpoints)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: Option<*const u32>, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetBreakpointParameters)(windows_core::Interface::as_raw(self), count, core::mem::transmute(ids.unwrap_or(std::ptr::null())), start, params).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint(&self, bp: P0) -> windows_core::Result<()> @@ -9129,7 +9129,7 @@ impl IDebugControl6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtension)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> windows_core::Result<()> { @@ -9139,7 +9139,7 @@ impl IDebugControl6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtension(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -9215,19 +9215,19 @@ impl IDebugControl6 { (windows_core::Interface::vtable(self).GetLastEventInformation)(windows_core::Interface::as_raw(self), r#type, processid, threadid, core::mem::transmute(extrainformation.unwrap_or(std::ptr::null_mut())), extrainformationsize, core::mem::transmute(extrainformationused.unwrap_or(std::ptr::null_mut())), core::mem::transmute(description.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), description.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(descriptionused.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTimeDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFormatFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDumpFormatFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberTextReplacements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberTextReplacements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextReplacement(&self, srctext: P0, index: u32, srcbuffer: Option<&mut [u8]>, srcsize: Option<*mut u32>, dstbuffer: Option<&mut [u8]>, dstsize: Option<*mut u32>) -> windows_core::Result<()> @@ -9261,7 +9261,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAssemblyOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> windows_core::Result<()> { @@ -9274,7 +9274,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpressionSyntax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> windows_core::Result<()> { @@ -9287,7 +9287,7 @@ impl IDebugControl6 { (windows_core::Interface::vtable(self).SetExpressionSyntaxByName)(windows_core::Interface::as_raw(self), abbrevname.param().abi()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberExpressionSyntaxes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: Option<&mut [u8]>, fullnamesize: Option<*mut u32>, abbrevnamebuffer: Option<&mut [u8]>, abbrevnamesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -9304,7 +9304,7 @@ impl IDebugControl6 { .ok() } pub unsafe fn GetNumberEvents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventIndexDescription(&self, index: u32, which: u32, buffer: P0, buffersize: u32, descsize: Option<*mut u32>) -> windows_core::Result<()> @@ -9314,11 +9314,11 @@ impl IDebugControl6 { (windows_core::Interface::vtable(self).GetEventIndexDescription)(windows_core::Interface::as_raw(self), index, which, buffer.param().abi(), buffersize, core::mem::transmute(descsize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentEventIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentEventIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetNextEventIndex)(windows_core::Interface::as_raw(self), relation, value, &mut result__).map(|| result__) } pub unsafe fn GetLogFileWide(&self, buffer: Option<&mut [u16]>, filesize: Option<*mut u32>, append: *mut super::super::super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -9383,7 +9383,7 @@ impl IDebugControl6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssembleWide)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisassembleWide(&self, offset: u64, flags: u32, buffer: Option<&mut [u16]>, disassemblysize: Option<*mut u32>, endoffset: *mut u64) -> windows_core::Result<()> { @@ -9430,15 +9430,15 @@ impl IDebugControl6 { (windows_core::Interface::vtable(self).ExecuteCommandFileWide)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetBreakpointByIndex2(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex2)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById2(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById2)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddBreakpoint2(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint2)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint2(&self, bp: P0) -> windows_core::Result<()> @@ -9451,14 +9451,14 @@ impl IDebugControl6 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtensionWide)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetExtensionByPathWide(&self, path: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPathWide)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtensionWide(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -9614,11 +9614,11 @@ impl IDebugControl6 { (windows_core::Interface::vtable(self).OutputContextStackTraceEx)(windows_core::Interface::as_raw(self), outputcontrol, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), framecontexts, framecontextssize, framecontextsentrysize, flags).ok() } pub unsafe fn GetBreakpointByGuid(&self, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByGuid)(windows_core::Interface::as_raw(self), guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetExecutionStatusEx(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionStatusEx)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSynchronizationStatus(&self, sendsattempted: *mut u32, secondssincelastresponse: *mut u32) -> windows_core::Result<()> { @@ -9812,7 +9812,7 @@ windows_core::imp::define_interface!(IDebugControl7, IDebugControl7_Vtbl, 0xb86f impl std::ops::Deref for IDebugControl7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugControl7, windows_core::IUnknown); @@ -9824,7 +9824,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterruptTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInterruptTimeout(&self, seconds: u32) -> windows_core::Result<()> { @@ -9844,7 +9844,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogMask(&self, mask: u32) -> windows_core::Result<()> { @@ -9905,7 +9905,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotifyEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotifyEventHandle(&self, handle: u64) -> windows_core::Result<()> { @@ -9915,32 +9915,32 @@ impl IDebugControl7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Assemble)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Disassemble(&self, offset: u64, flags: u32, buffer: Option<&mut [u8]>, disassemblysize: Option<*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(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(disassemblysize.unwrap_or(std::ptr::null_mut())), endoffset).ok() } pub unsafe fn GetDisassembleEffectiveOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisassembleEffectiveOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputDisassembly(&self, outputcontrol: u32, offset: u64, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputDisassembly)(windows_core::Interface::as_raw(self), outputcontrol, offset, flags, &mut result__).map(|| result__) } pub unsafe fn OutputDisassemblyLines(&self, outputcontrol: u32, previouslines: u32, offset: u64, flags: u32, offsetline: Option<*mut u32>, startoffset: Option<*mut u64>, endoffset: Option<*mut u64>, lineoffsets: Option<&mut [u64]>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).OutputDisassemblyLines)(windows_core::Interface::as_raw(self), outputcontrol, previouslines, lineoffsets.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), offset, flags, core::mem::transmute(offsetline.unwrap_or(std::ptr::null_mut())), core::mem::transmute(startoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(endoffset.unwrap_or(std::ptr::null_mut())), core::mem::transmute(lineoffsets.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr()))).ok() } pub unsafe fn GetNearInstruction(&self, offset: u64, delta: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNearInstruction)(windows_core::Interface::as_raw(self), offset, delta, &mut result__).map(|| result__) } pub unsafe fn GetStackTrace(&self, frameoffset: u64, stackoffset: u64, instructionoffset: u64, frames: &mut [DEBUG_STACK_FRAME], framesfilled: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetStackTrace)(windows_core::Interface::as_raw(self), frameoffset, stackoffset, instructionoffset, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), core::mem::transmute(framesfilled.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetReturnOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReturnOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OutputStackTrace(&self, outputcontrol: u32, frames: Option<&[DEBUG_STACK_FRAME]>, flags: u32) -> windows_core::Result<()> { @@ -9950,22 +9950,22 @@ impl IDebugControl7 { (windows_core::Interface::vtable(self).GetDebuggeeType)(windows_core::Interface::as_raw(self), class, qualifier).ok() } pub unsafe fn GetActualProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActualProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExecutingProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutingProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberPossibleExecutingProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberPossibleExecutingProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(types.as_ptr())).ok() } pub unsafe fn GetNumberProcessors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcessors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemVersion(&self, platformid: *mut u32, major: *mut u32, minor: *mut u32, servicepackstring: Option<&mut [u8]>, servicepackstringused: Option<*mut u32>, servicepacknumber: *mut u32, buildstring: Option<&mut [u8]>, buildstringused: Option<*mut u32>) -> windows_core::Result<()> { @@ -9985,7 +9985,7 @@ impl IDebugControl7 { .ok() } pub unsafe fn GetPageSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPointer64Bit(&self) -> windows_core::Result<()> { @@ -9995,7 +9995,7 @@ impl IDebugControl7 { (windows_core::Interface::vtable(self).ReadBugCheckData)(windows_core::Interface::as_raw(self), code, arg1, arg2, arg3, arg4).ok() } pub unsafe fn GetNumberSupportedProcessorTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSupportedProcessorTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSupportedProcessorTypes(&self, start: u32, types: &mut [u32]) -> windows_core::Result<()> { @@ -10015,28 +10015,28 @@ impl IDebugControl7 { .ok() } pub unsafe fn GetEffectiveProcessorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectiveProcessorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodeLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEngineOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddEngineOptions(&self, options: u32) -> windows_core::Result<()> { @@ -10064,7 +10064,7 @@ impl IDebugControl7 { (windows_core::Interface::vtable(self).SetTextMacro)(windows_core::Interface::as_raw(self), slot, r#macro.param().abi()).ok() } pub unsafe fn GetRadix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRadix)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRadix(&self, radix: u32) -> windows_core::Result<()> { @@ -10095,22 +10095,22 @@ impl IDebugControl7 { (windows_core::Interface::vtable(self).ExecuteCommandFile)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetNumberBreakpoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberBreakpoints)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBreakpointByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointParameters(&self, count: u32, ids: Option<*const u32>, start: u32, params: *mut DEBUG_BREAKPOINT_PARAMETERS) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetBreakpointParameters)(windows_core::Interface::as_raw(self), count, core::mem::transmute(ids.unwrap_or(std::ptr::null())), start, params).ok() } pub unsafe fn AddBreakpoint(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint(&self, bp: P0) -> windows_core::Result<()> @@ -10123,7 +10123,7 @@ impl IDebugControl7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtension)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn RemoveExtension(&self, handle: u64) -> windows_core::Result<()> { @@ -10133,7 +10133,7 @@ impl IDebugControl7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtension(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -10209,19 +10209,19 @@ impl IDebugControl7 { (windows_core::Interface::vtable(self).GetLastEventInformation)(windows_core::Interface::as_raw(self), r#type, processid, threadid, core::mem::transmute(extrainformation.unwrap_or(std::ptr::null_mut())), extrainformationsize, core::mem::transmute(extrainformationused.unwrap_or(std::ptr::null_mut())), core::mem::transmute(description.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), description.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(descriptionused.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentTimeDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTimeDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDumpFormatFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDumpFormatFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberTextReplacements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberTextReplacements)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextReplacement(&self, srctext: P0, index: u32, srcbuffer: Option<&mut [u8]>, srcsize: Option<*mut u32>, dstbuffer: Option<&mut [u8]>, dstsize: Option<*mut u32>) -> windows_core::Result<()> @@ -10255,7 +10255,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAssemblyOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddAssemblyOptions(&self, options: u32) -> windows_core::Result<()> { @@ -10268,7 +10268,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpressionSyntax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExpressionSyntax(&self, flags: u32) -> windows_core::Result<()> { @@ -10281,7 +10281,7 @@ impl IDebugControl7 { (windows_core::Interface::vtable(self).SetExpressionSyntaxByName)(windows_core::Interface::as_raw(self), abbrevname.param().abi()).ok() } pub unsafe fn GetNumberExpressionSyntaxes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberExpressionSyntaxes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpressionSyntaxNames(&self, index: u32, fullnamebuffer: Option<&mut [u8]>, fullnamesize: Option<*mut u32>, abbrevnamebuffer: Option<&mut [u8]>, abbrevnamesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -10298,7 +10298,7 @@ impl IDebugControl7 { .ok() } pub unsafe fn GetNumberEvents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventIndexDescription(&self, index: u32, which: u32, buffer: P0, buffersize: u32, descsize: Option<*mut u32>) -> windows_core::Result<()> @@ -10308,11 +10308,11 @@ impl IDebugControl7 { (windows_core::Interface::vtable(self).GetEventIndexDescription)(windows_core::Interface::as_raw(self), index, which, buffer.param().abi(), buffersize, core::mem::transmute(descsize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentEventIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentEventIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNextEventIndex(&self, relation: u32, value: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetNextEventIndex)(windows_core::Interface::as_raw(self), relation, value, &mut result__).map(|| result__) } pub unsafe fn GetLogFileWide(&self, buffer: Option<&mut [u16]>, filesize: Option<*mut u32>, append: *mut super::super::super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -10377,7 +10377,7 @@ impl IDebugControl7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssembleWide)(windows_core::Interface::as_raw(self), offset, instr.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisassembleWide(&self, offset: u64, flags: u32, buffer: Option<&mut [u16]>, disassemblysize: Option<*mut u32>, endoffset: *mut u64) -> windows_core::Result<()> { @@ -10424,15 +10424,15 @@ impl IDebugControl7 { (windows_core::Interface::vtable(self).ExecuteCommandFileWide)(windows_core::Interface::as_raw(self), outputcontrol, commandfile.param().abi(), flags).ok() } pub unsafe fn GetBreakpointByIndex2(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByIndex2)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBreakpointById2(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointById2)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddBreakpoint2(&self, r#type: u32, desiredid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBreakpoint2)(windows_core::Interface::as_raw(self), r#type, desiredid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBreakpoint2(&self, bp: P0) -> windows_core::Result<()> @@ -10445,14 +10445,14 @@ impl IDebugControl7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddExtensionWide)(windows_core::Interface::as_raw(self), path.param().abi(), flags, &mut result__).map(|| result__) } pub unsafe fn GetExtensionByPathWide(&self, path: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtensionByPathWide)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CallExtensionWide(&self, handle: u64, function: P0, arguments: P1) -> windows_core::Result<()> @@ -10608,11 +10608,11 @@ impl IDebugControl7 { (windows_core::Interface::vtable(self).OutputContextStackTraceEx)(windows_core::Interface::as_raw(self), outputcontrol, core::mem::transmute(frames.as_ptr()), frames.len().try_into().unwrap(), framecontexts, framecontextssize, framecontextsentrysize, flags).ok() } pub unsafe fn GetBreakpointByGuid(&self, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBreakpointByGuid)(windows_core::Interface::as_raw(self), guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetExecutionStatusEx(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExecutionStatusEx)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSynchronizationStatus(&self, sendsattempted: *mut u32, secondssincelastresponse: *mut u32) -> windows_core::Result<()> { @@ -10810,7 +10810,7 @@ windows_core::imp::define_interface!(IDebugDataSpaces, IDebugDataSpaces_Vtbl, 0x impl std::ops::Deref for IDebugDataSpaces { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDataSpaces, windows_core::IUnknown); @@ -10822,7 +10822,7 @@ impl IDebugDataSpaces { (windows_core::Interface::vtable(self).WriteVirtual)(windows_core::Interface::as_raw(self), offset, buffer, buffersize, core::mem::transmute(byteswritten.unwrap_or(std::ptr::null_mut()))).ok() } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchVirtual)(windows_core::Interface::as_raw(self), offset, length, pattern, patternsize, patterngranularity, &mut result__).map(|| result__) } pub unsafe fn ReadVirtualUncached(&self, offset: u64, buffer: *mut core::ffi::c_void, buffersize: u32, bytesread: Option<*mut u32>) -> windows_core::Result<()> { @@ -10856,7 +10856,7 @@ impl IDebugDataSpaces { (windows_core::Interface::vtable(self).WriteIo)(windows_core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, buffer, buffersize, core::mem::transmute(byteswritten.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn ReadMsr(&self, msr: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadMsr)(windows_core::Interface::as_raw(self), msr, &mut result__).map(|| result__) } pub unsafe fn WriteMsr(&self, msr: u32, value: u64) -> windows_core::Result<()> { @@ -10906,7 +10906,7 @@ windows_core::imp::define_interface!(IDebugDataSpaces2, IDebugDataSpaces2_Vtbl, impl std::ops::Deref for IDebugDataSpaces2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDataSpaces2, windows_core::IUnknown); @@ -10918,7 +10918,7 @@ impl IDebugDataSpaces2 { (windows_core::Interface::vtable(self).WriteVirtual)(windows_core::Interface::as_raw(self), offset, buffer, buffersize, core::mem::transmute(byteswritten.unwrap_or(std::ptr::null_mut()))).ok() } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchVirtual)(windows_core::Interface::as_raw(self), offset, length, pattern, patternsize, patterngranularity, &mut result__).map(|| result__) } pub unsafe fn ReadVirtualUncached(&self, offset: u64, buffer: *mut core::ffi::c_void, buffersize: u32, bytesread: Option<*mut u32>) -> windows_core::Result<()> { @@ -10952,7 +10952,7 @@ impl IDebugDataSpaces2 { (windows_core::Interface::vtable(self).WriteIo)(windows_core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, buffer, buffersize, core::mem::transmute(byteswritten.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn ReadMsr(&self, msr: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadMsr)(windows_core::Interface::as_raw(self), msr, &mut result__).map(|| result__) } pub unsafe fn WriteMsr(&self, msr: u32, value: u64) -> windows_core::Result<()> { @@ -10974,7 +10974,7 @@ impl IDebugDataSpaces2 { (windows_core::Interface::vtable(self).ReadProcessorSystemData)(windows_core::Interface::as_raw(self), processor, index, buffer, buffersize, core::mem::transmute(datasize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn VirtualToPhysical(&self, r#virtual: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VirtualToPhysical)(windows_core::Interface::as_raw(self), r#virtual, &mut result__).map(|| result__) } pub unsafe fn GetVirtualTranslationPhysicalOffsets(&self, r#virtual: u64, offsets: Option<&mut [u64]>, levels: Option<*mut u32>) -> windows_core::Result<()> { @@ -11031,7 +11031,7 @@ windows_core::imp::define_interface!(IDebugDataSpaces3, IDebugDataSpaces3_Vtbl, impl std::ops::Deref for IDebugDataSpaces3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDataSpaces3, windows_core::IUnknown); @@ -11043,7 +11043,7 @@ impl IDebugDataSpaces3 { (windows_core::Interface::vtable(self).WriteVirtual)(windows_core::Interface::as_raw(self), offset, buffer, buffersize, core::mem::transmute(byteswritten.unwrap_or(std::ptr::null_mut()))).ok() } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchVirtual)(windows_core::Interface::as_raw(self), offset, length, pattern, patternsize, patterngranularity, &mut result__).map(|| result__) } pub unsafe fn ReadVirtualUncached(&self, offset: u64, buffer: *mut core::ffi::c_void, buffersize: u32, bytesread: Option<*mut u32>) -> windows_core::Result<()> { @@ -11077,7 +11077,7 @@ impl IDebugDataSpaces3 { (windows_core::Interface::vtable(self).WriteIo)(windows_core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, buffer, buffersize, core::mem::transmute(byteswritten.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn ReadMsr(&self, msr: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadMsr)(windows_core::Interface::as_raw(self), msr, &mut result__).map(|| result__) } pub unsafe fn WriteMsr(&self, msr: u32, value: u64) -> windows_core::Result<()> { @@ -11099,7 +11099,7 @@ impl IDebugDataSpaces3 { (windows_core::Interface::vtable(self).ReadProcessorSystemData)(windows_core::Interface::as_raw(self), processor, index, buffer, buffersize, core::mem::transmute(datasize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn VirtualToPhysical(&self, r#virtual: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VirtualToPhysical)(windows_core::Interface::as_raw(self), r#virtual, &mut result__).map(|| result__) } pub unsafe fn GetVirtualTranslationPhysicalOffsets(&self, r#virtual: u64, offsets: Option<&mut [u64]>, levels: Option<*mut u32>) -> windows_core::Result<()> { @@ -11126,7 +11126,7 @@ impl IDebugDataSpaces3 { (windows_core::Interface::vtable(self).ReadTagged)(windows_core::Interface::as_raw(self), tag, offset, core::mem::transmute(buffer.unwrap_or(std::ptr::null_mut())), buffersize, core::mem::transmute(totalsize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn StartEnumTagged(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartEnumTagged)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNextTagged(&self, handle: u64, tag: *mut windows_core::GUID, size: *mut u32) -> windows_core::Result<()> { @@ -11181,7 +11181,7 @@ windows_core::imp::define_interface!(IDebugDataSpaces4, IDebugDataSpaces4_Vtbl, impl std::ops::Deref for IDebugDataSpaces4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugDataSpaces4, windows_core::IUnknown); @@ -11193,7 +11193,7 @@ impl IDebugDataSpaces4 { (windows_core::Interface::vtable(self).WriteVirtual)(windows_core::Interface::as_raw(self), offset, buffer, buffersize, core::mem::transmute(byteswritten.unwrap_or(std::ptr::null_mut()))).ok() } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchVirtual)(windows_core::Interface::as_raw(self), offset, length, pattern, patternsize, patterngranularity, &mut result__).map(|| result__) } pub unsafe fn ReadVirtualUncached(&self, offset: u64, buffer: *mut core::ffi::c_void, buffersize: u32, bytesread: Option<*mut u32>) -> windows_core::Result<()> { @@ -11227,7 +11227,7 @@ impl IDebugDataSpaces4 { (windows_core::Interface::vtable(self).WriteIo)(windows_core::Interface::as_raw(self), interfacetype, busnumber, addressspace, offset, buffer, buffersize, core::mem::transmute(byteswritten.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn ReadMsr(&self, msr: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadMsr)(windows_core::Interface::as_raw(self), msr, &mut result__).map(|| result__) } pub unsafe fn WriteMsr(&self, msr: u32, value: u64) -> windows_core::Result<()> { @@ -11249,7 +11249,7 @@ impl IDebugDataSpaces4 { (windows_core::Interface::vtable(self).ReadProcessorSystemData)(windows_core::Interface::as_raw(self), processor, index, buffer, buffersize, core::mem::transmute(datasize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn VirtualToPhysical(&self, r#virtual: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VirtualToPhysical)(windows_core::Interface::as_raw(self), r#virtual, &mut result__).map(|| result__) } pub unsafe fn GetVirtualTranslationPhysicalOffsets(&self, r#virtual: u64, offsets: Option<&mut [u64]>, levels: Option<*mut u32>) -> windows_core::Result<()> { @@ -11276,7 +11276,7 @@ impl IDebugDataSpaces4 { (windows_core::Interface::vtable(self).ReadTagged)(windows_core::Interface::as_raw(self), tag, offset, core::mem::transmute(buffer.unwrap_or(std::ptr::null_mut())), buffersize, core::mem::transmute(totalsize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn StartEnumTagged(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartEnumTagged)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNextTagged(&self, handle: u64, tag: *mut windows_core::GUID, size: *mut u32) -> windows_core::Result<()> { @@ -11289,14 +11289,14 @@ impl IDebugDataSpaces4 { (windows_core::Interface::vtable(self).GetOffsetInformation)(windows_core::Interface::as_raw(self), space, which, offset, core::mem::transmute(buffer.unwrap_or(std::ptr::null_mut())), buffersize, core::mem::transmute(infosize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetNextDifferentlyValidOffsetVirtual(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextDifferentlyValidOffsetVirtual)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| 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, validbase, 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchVirtual2)(windows_core::Interface::as_raw(self), offset, length, flags, pattern, patternsize, patterngranularity, &mut result__).map(|| result__) } pub unsafe fn ReadMultiByteStringVirtual(&self, offset: u64, maxbytes: u32, buffer: Option<&mut [u8]>, stringbytes: Option<*mut u32>) -> windows_core::Result<()> { @@ -11373,13 +11373,13 @@ windows_core::imp::define_interface!(IDebugEventCallbacks, IDebugEventCallbacks_ impl std::ops::Deref for IDebugEventCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugEventCallbacks, windows_core::IUnknown); impl IDebugEventCallbacks { pub unsafe fn GetInterestMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterestMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Breakpoint(&self, bp: P0) -> windows_core::Result<()> @@ -11458,13 +11458,13 @@ windows_core::imp::define_interface!(IDebugEventCallbacksWide, IDebugEventCallba impl std::ops::Deref for IDebugEventCallbacksWide { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugEventCallbacksWide, windows_core::IUnknown); impl IDebugEventCallbacksWide { pub unsafe fn GetInterestMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterestMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Breakpoint(&self, bp: P0) -> windows_core::Result<()> @@ -11543,13 +11543,13 @@ windows_core::imp::define_interface!(IDebugEventContextCallbacks, IDebugEventCon impl std::ops::Deref for IDebugEventContextCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugEventContextCallbacks, windows_core::IUnknown); impl IDebugEventContextCallbacks { pub unsafe fn GetInterestMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterestMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Breakpoint(&self, bp: P0, context: *const core::ffi::c_void, contextsize: u32) -> windows_core::Result<()> @@ -11647,7 +11647,7 @@ impl IDebugFAEntryTags { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTagByName)(windows_core::Interface::as_raw(self), pluginid.param().abi(), tagname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IsValidTagToSet(&self, tag: DEBUG_FLR_PARAM_TYPE) -> super::super::super::super::Foundation::BOOL { @@ -11667,7 +11667,7 @@ windows_core::imp::define_interface!(IDebugFailureAnalysis, IDebugFailureAnalysi impl std::ops::Deref for IDebugFailureAnalysis { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugFailureAnalysis, windows_core::IUnknown); @@ -11721,7 +11721,7 @@ windows_core::imp::define_interface!(IDebugFailureAnalysis2, IDebugFailureAnalys impl std::ops::Deref for IDebugFailureAnalysis2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugFailureAnalysis2, windows_core::IUnknown); @@ -11799,12 +11799,12 @@ impl IDebugFailureAnalysis2 { (windows_core::Interface::vtable(self).AddBuffer)(windows_core::Interface::as_raw(self), tag, entrytype, buf, size) } pub unsafe fn GetDebugFATagControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDebugFATagControl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] pub unsafe fn GetAnalysisXml(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAnalysisXml)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddStructuredAnalysisData(&self, tag: DEBUG_FLR_PARAM_TYPE, analysis: P0) -> windows_core::Result<()> @@ -11848,7 +11848,7 @@ windows_core::imp::define_interface!(IDebugFailureAnalysis3, IDebugFailureAnalys impl std::ops::Deref for IDebugFailureAnalysis3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugFailureAnalysis3, windows_core::IUnknown); @@ -11926,12 +11926,12 @@ impl IDebugFailureAnalysis3 { (windows_core::Interface::vtable(self).AddBuffer)(windows_core::Interface::as_raw(self), tag, entrytype, buf, size) } pub unsafe fn GetDebugFATagControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDebugFATagControl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] pub unsafe fn GetAnalysisXml(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAnalysisXml)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddStructuredAnalysisData(&self, tag: DEBUG_FLR_PARAM_TYPE, analysis: P0) -> windows_core::Result<()> @@ -11947,11 +11947,11 @@ impl IDebugFailureAnalysis3 { (windows_core::Interface::vtable(self).AddThreads)(windows_core::Interface::as_raw(self), pdebugfailurethreadenum.param().abi()).ok() } pub unsafe fn AttributeGet(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttributeGet)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AttributeGetName(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttributeGetName)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AttributeSet(&self, nindex: u32, value: P0) -> windows_core::Result<()> @@ -11992,7 +11992,7 @@ impl IDebugFailureAnalysis3 { (windows_core::Interface::vtable(self).BlameETHREAD)(windows_core::Interface::as_raw(self), address).ok() } pub unsafe fn ProblemClassIsSet(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProblemClassIsSet)(windows_core::Interface::as_raw(self), nindex, &mut result__).map(|| result__) } pub unsafe fn ProblemClassDelete(&self, nindex: u32) -> windows_core::Result<()> { @@ -12018,7 +12018,7 @@ impl IDebugFailureAnalysis3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdditionalXML)(windows_core::Interface::as_raw(self), key.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteAdditionalXML(&self, key: P0) -> windows_core::Result<()> @@ -12058,42 +12058,42 @@ pub struct IDebugFailureAnalysis3_Vtbl { GetAnalysisXml: usize, pub AddStructuredAnalysisData: unsafe extern "system" fn(*mut core::ffi::c_void, DEBUG_FLR_PARAM_TYPE, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddThreads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AttributeGet: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AttributeGetName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AttributeSet: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BlameApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BlameProcess: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AttributeGet: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AttributeGetName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AttributeSet: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BlameApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BlameProcess: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub BlameThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub BlameStitch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BlameStitch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub BlameTEB: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub BlameETHREAD: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub ProblemClassIsSet: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ProblemClassDelete: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ProblemClassSet: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub ProblemClassSetBSTR: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAdditionalXML: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAdditionalXML: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteAdditionalXML: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProblemClassSetBSTR: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAdditionalXML: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAdditionalXML: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteAdditionalXML: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHost, IDebugHost_Vtbl, 0xb8c74943_6b2c_4eeb_b5c5_35d378a6d99d); impl std::ops::Deref for IDebugHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHost, windows_core::IUnknown); impl IDebugHost { pub unsafe fn GetHostDefinedInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHostDefinedInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultMetadata(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultMetadata)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12108,13 +12108,13 @@ windows_core::imp::define_interface!(IDebugHostBaseClass, IDebugHostBaseClass_Vt impl std::ops::Deref for IDebugHostBaseClass { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostBaseClass, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostBaseClass { pub unsafe fn GetOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12127,26 +12127,26 @@ windows_core::imp::define_interface!(IDebugHostConstant, IDebugHostConstant_Vtbl impl std::ops::Deref for IDebugHostConstant { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostConstant, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostConstant { pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDebugHostConstant_Vtbl { pub base__: IDebugHostSymbol_Vtbl, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostContext, IDebugHostContext_Vtbl, 0xa68c70d8_5ec0_46e5_b775_3134a48ea2e3); impl std::ops::Deref for IDebugHostContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostContext, windows_core::IUnknown); @@ -12155,7 +12155,7 @@ impl IDebugHostContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqualTo)(windows_core::Interface::as_raw(self), pcontext.param().abi(), &mut result__).map(|| result__) } } @@ -12168,21 +12168,21 @@ windows_core::imp::define_interface!(IDebugHostData, IDebugHostData_Vtbl, 0xa3d6 impl std::ops::Deref for IDebugHostData { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostData, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostData { pub unsafe fn GetLocationKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocationKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12191,13 +12191,13 @@ pub struct IDebugHostData_Vtbl { pub base__: IDebugHostSymbol_Vtbl, pub GetLocationKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LocationKind) -> windows_core::HRESULT, pub GetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Location) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostErrorSink, IDebugHostErrorSink_Vtbl, 0xc8ff0f0b_fce9_467e_8bb3_5d69ef109c00); impl std::ops::Deref for IDebugHostErrorSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostErrorSink, windows_core::IUnknown); @@ -12218,7 +12218,7 @@ windows_core::imp::define_interface!(IDebugHostEvaluator, IDebugHostEvaluator_Vt impl std::ops::Deref for IDebugHostEvaluator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostEvaluator, windows_core::IUnknown); @@ -12250,7 +12250,7 @@ windows_core::imp::define_interface!(IDebugHostEvaluator2, IDebugHostEvaluator2_ impl std::ops::Deref for IDebugHostEvaluator2 { type Target = IDebugHostEvaluator; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostEvaluator2, windows_core::IUnknown, IDebugHostEvaluator); @@ -12272,7 +12272,7 @@ windows_core::imp::define_interface!(IDebugHostExtensibility, IDebugHostExtensib impl std::ops::Deref for IDebugHostExtensibility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostExtensibility, windows_core::IUnknown); @@ -12301,25 +12301,25 @@ windows_core::imp::define_interface!(IDebugHostField, IDebugHostField_Vtbl, 0xe0 impl std::ops::Deref for IDebugHostField { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostField, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostField { pub unsafe fn GetLocationKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocationKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12329,13 +12329,13 @@ pub struct IDebugHostField_Vtbl { pub GetLocationKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LocationKind) -> windows_core::HRESULT, pub GetOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Location) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostMemory, IDebugHostMemory_Vtbl, 0x212149c9_9183_4a3e_b00e_4fd1dc95339b); impl std::ops::Deref for IDebugHostMemory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostMemory, windows_core::IUnknown); @@ -12368,7 +12368,7 @@ impl IDebugHostMemory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayStringForLocation)(windows_core::Interface::as_raw(self), context.param().abi(), core::mem::transmute(location), verbose, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12379,13 +12379,13 @@ pub struct IDebugHostMemory_Vtbl { pub WriteBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, *const core::ffi::c_void, u64, *mut u64) -> windows_core::HRESULT, pub ReadPointers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, u64, *mut u64) -> windows_core::HRESULT, pub WritePointers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, u64, *const u64) -> windows_core::HRESULT, - pub GetDisplayStringForLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, u8, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDisplayStringForLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, u8, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostMemory2, IDebugHostMemory2_Vtbl, 0xeea033de_38f6_416b_a251_1d3771001270); impl std::ops::Deref for IDebugHostMemory2 { type Target = IDebugHostMemory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostMemory2, windows_core::IUnknown, IDebugHostMemory); @@ -12394,7 +12394,7 @@ impl IDebugHostMemory2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LinearizeLocation)(windows_core::Interface::as_raw(self), context.param().abi(), core::mem::transmute(location), &mut result__).map(|| result__) } } @@ -12407,17 +12407,17 @@ windows_core::imp::define_interface!(IDebugHostModule, IDebugHostModule_Vtbl, 0x impl std::ops::Deref for IDebugHostModule { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostModule, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostModule { pub unsafe fn GetImageName(&self, allowpath: u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageName)(windows_core::Interface::as_raw(self), allowpath, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBaseLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBaseLocation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersion(&self, fileversion: Option<*mut u64>, productversion: Option<*mut u64>) -> windows_core::Result<()> { @@ -12427,25 +12427,25 @@ impl IDebugHostModule { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindTypeByName)(windows_core::Interface::as_raw(self), typename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindSymbolByRVA(&self, rva: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindSymbolByRVA)(windows_core::Interface::as_raw(self), rva, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindSymbolByName(&self, symbolname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindSymbolByName)(windows_core::Interface::as_raw(self), symbolname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDebugHostModule_Vtbl { pub base__: IDebugHostSymbol_Vtbl, - pub GetImageName: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetImageName: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetBaseLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Location) -> windows_core::HRESULT, pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64) -> windows_core::HRESULT, pub FindTypeByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -12456,7 +12456,7 @@ windows_core::imp::define_interface!(IDebugHostModule2, IDebugHostModule2_Vtbl, impl std::ops::Deref for IDebugHostModule2 { type Target = IDebugHostModule; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostModule2, windows_core::IUnknown, IDebugHostSymbol, IDebugHostModule); @@ -12474,7 +12474,7 @@ windows_core::imp::define_interface!(IDebugHostModuleSignature, IDebugHostModule impl std::ops::Deref for IDebugHostModuleSignature { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostModuleSignature, windows_core::IUnknown); @@ -12483,7 +12483,7 @@ impl IDebugHostModuleSignature { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMatch)(windows_core::Interface::as_raw(self), pmodule.param().abi(), &mut result__).map(|| result__) } } @@ -12496,17 +12496,17 @@ windows_core::imp::define_interface!(IDebugHostPublic, IDebugHostPublic_Vtbl, 0x impl std::ops::Deref for IDebugHostPublic { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostPublic, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostPublic { pub unsafe fn GetLocationKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocationKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12520,7 +12520,7 @@ windows_core::imp::define_interface!(IDebugHostScriptHost, IDebugHostScriptHost_ impl std::ops::Deref for IDebugHostScriptHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostScriptHost, windows_core::IUnknown); @@ -12529,7 +12529,7 @@ impl IDebugHostScriptHost { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateContext)(windows_core::Interface::as_raw(self), script.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12542,13 +12542,13 @@ windows_core::imp::define_interface!(IDebugHostStatus, IDebugHostStatus_Vtbl, 0x impl std::ops::Deref for IDebugHostStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostStatus, windows_core::IUnknown); impl IDebugHostStatus { pub unsafe fn PollUserInterrupt(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PollUserInterrupt)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12561,43 +12561,43 @@ windows_core::imp::define_interface!(IDebugHostSymbol, IDebugHostSymbol_Vtbl, 0x impl std::ops::Deref for IDebugHostSymbol { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostSymbol, windows_core::IUnknown); impl IDebugHostSymbol { pub unsafe fn GetContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateChildren(&self, kind: SymbolKind, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateChildren)(windows_core::Interface::as_raw(self), kind, name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSymbolKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContainingModule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainingModule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CompareAgainst(&self, pcomparisonsymbol: P0, comparisonflags: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareAgainst)(windows_core::Interface::as_raw(self), pcomparisonsymbol.param().abi(), comparisonflags, &mut result__).map(|| result__) } } @@ -12607,7 +12607,7 @@ pub struct IDebugHostSymbol_Vtbl { pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateChildren: unsafe extern "system" fn(*mut core::ffi::c_void, SymbolKind, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSymbolKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SymbolKind) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetContainingModule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CompareAgainst: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut bool) -> windows_core::HRESULT, @@ -12616,13 +12616,13 @@ windows_core::imp::define_interface!(IDebugHostSymbol2, IDebugHostSymbol2_Vtbl, impl std::ops::Deref for IDebugHostSymbol2 { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostSymbol2, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostSymbol2 { pub unsafe fn GetLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12635,7 +12635,7 @@ windows_core::imp::define_interface!(IDebugHostSymbolEnumerator, IDebugHostSymbo impl std::ops::Deref for IDebugHostSymbolEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostSymbolEnumerator, windows_core::IUnknown); @@ -12644,7 +12644,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12658,7 +12658,7 @@ windows_core::imp::define_interface!(IDebugHostSymbols, IDebugHostSymbols_Vtbl, impl std::ops::Deref for IDebugHostSymbols { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostSymbols, windows_core::IUnknown); @@ -12669,7 +12669,7 @@ impl IDebugHostSymbols { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateModuleSignature)(windows_core::Interface::as_raw(self), pwszmodulename.param().abi(), pwszminversion.param().abi(), pwszmaxversion.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTypeSignature(&self, signaturespecification: P0, module: P1) -> windows_core::Result @@ -12677,7 +12677,7 @@ impl IDebugHostSymbols { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTypeSignature)(windows_core::Interface::as_raw(self), signaturespecification.param().abi(), module.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTypeSignatureForModuleRange(&self, signaturespecification: P0, modulename: P1, minversion: P2, maxversion: P3) -> windows_core::Result @@ -12687,14 +12687,14 @@ impl IDebugHostSymbols { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTypeSignatureForModuleRange)(windows_core::Interface::as_raw(self), signaturespecification.param().abi(), modulename.param().abi(), minversion.param().abi(), maxversion.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateModules(&self, context: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateModules)(windows_core::Interface::as_raw(self), context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindModuleByName(&self, context: P0, modulename: P1) -> windows_core::Result @@ -12702,14 +12702,14 @@ impl IDebugHostSymbols { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindModuleByName)(windows_core::Interface::as_raw(self), context.param().abi(), modulename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindModuleByLocation(&self, context: P0, modulelocation: Location) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindModuleByLocation)(windows_core::Interface::as_raw(self), context.param().abi(), core::mem::transmute(modulelocation), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMostDerivedObject(&self, pcontext: P0, location: Location, objecttype: P1, derivedlocation: *mut Location, derivedtype: *mut Option) -> windows_core::Result<()> @@ -12735,25 +12735,25 @@ windows_core::imp::define_interface!(IDebugHostType, IDebugHostType_Vtbl, 0x3aad impl std::ops::Deref for IDebugHostType { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostType, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostType { pub unsafe fn GetTypeKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBaseType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBaseType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHashCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHashCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIntrinsicType(&self, intrinsickind: Option<*mut IntrinsicKind>, carriertype: Option<*mut u16>) -> windows_core::Result<()> { @@ -12763,54 +12763,54 @@ impl IDebugHostType { (windows_core::Interface::vtable(self).GetBitField)(windows_core::Interface::as_raw(self), lsboffield, lengthoffield).ok() } pub unsafe fn GetPointerKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPointerKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMemberType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMemberType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePointerTo(&self, kind: PointerKind) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePointerTo)(windows_core::Interface::as_raw(self), kind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetArrayDimensionality(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetArrayDimensionality)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(pdimensions.as_ptr())).ok() } pub unsafe fn CreateArrayOf(&self, pdimensions: &[ArrayDimension]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateArrayOf)(windows_core::Interface::as_raw(self), pdimensions.len().try_into().unwrap(), core::mem::transmute(pdimensions.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFunctionCallingConvention(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionCallingConvention)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFunctionReturnType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionReturnType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFunctionParameterTypeCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionParameterTypeCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFunctionParameterTypeAt(&self, i: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionParameterTypeAt)(windows_core::Interface::as_raw(self), i, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsGeneric(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsGeneric)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGenericArgumentCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGenericArgumentCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGenericArgumentAt(&self, i: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGenericArgumentAt)(windows_core::Interface::as_raw(self), i, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12841,29 +12841,29 @@ windows_core::imp::define_interface!(IDebugHostType2, IDebugHostType2_Vtbl, 0xb2 impl std::ops::Deref for IDebugHostType2 { type Target = IDebugHostType; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostType2, windows_core::IUnknown, IDebugHostSymbol, IDebugHostType); impl IDebugHostType2 { pub unsafe fn IsTypedef(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTypedef)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypedefBaseType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypedefBaseType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTypedefFinalBaseType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypedefFinalBaseType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFunctionVarArgsKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionVarArgsKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFunctionInstancePointerType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionInstancePointerType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12880,13 +12880,13 @@ windows_core::imp::define_interface!(IDebugHostTypeSignature, IDebugHostTypeSign impl std::ops::Deref for IDebugHostTypeSignature { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugHostTypeSignature, windows_core::IUnknown); impl IDebugHostTypeSignature { pub unsafe fn GetHashCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHashCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsMatch(&self, r#type: P0, ismatch: *mut bool, wildcardmatches: Option<*mut Option>) -> windows_core::Result<()> @@ -12899,7 +12899,7 @@ impl IDebugHostTypeSignature { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareAgainst)(windows_core::Interface::as_raw(self), typesignature.param().abi(), &mut result__).map(|| result__) } } @@ -12914,7 +12914,7 @@ windows_core::imp::define_interface!(IDebugInputCallbacks, IDebugInputCallbacks_ impl std::ops::Deref for IDebugInputCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugInputCallbacks, windows_core::IUnknown); @@ -12936,7 +12936,7 @@ windows_core::imp::define_interface!(IDebugOutputCallbacks, IDebugOutputCallback impl std::ops::Deref for IDebugOutputCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugOutputCallbacks, windows_core::IUnknown); @@ -12957,7 +12957,7 @@ windows_core::imp::define_interface!(IDebugOutputCallbacks2, IDebugOutputCallbac impl std::ops::Deref for IDebugOutputCallbacks2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugOutputCallbacks2, windows_core::IUnknown); @@ -12969,7 +12969,7 @@ impl IDebugOutputCallbacks2 { (windows_core::Interface::vtable(self).Output)(windows_core::Interface::as_raw(self), mask, text.param().abi()).ok() } pub unsafe fn GetInterestMask(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInterestMask)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Output2(&self, which: u32, flags: u32, arg: u64, text: P0) -> windows_core::Result<()> @@ -12990,7 +12990,7 @@ windows_core::imp::define_interface!(IDebugOutputCallbacksWide, IDebugOutputCall impl std::ops::Deref for IDebugOutputCallbacksWide { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugOutputCallbacksWide, windows_core::IUnknown); @@ -13011,7 +13011,7 @@ windows_core::imp::define_interface!(IDebugOutputStream, IDebugOutputStream_Vtbl impl std::ops::Deref for IDebugOutputStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugOutputStream, windows_core::IUnknown); @@ -13032,7 +13032,7 @@ windows_core::imp::define_interface!(IDebugPlmClient, IDebugPlmClient_Vtbl, 0xa0 impl std::ops::Deref for IDebugPlmClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugPlmClient, windows_core::IUnknown); @@ -13055,7 +13055,7 @@ windows_core::imp::define_interface!(IDebugPlmClient2, IDebugPlmClient2_Vtbl, 0x impl std::ops::Deref for IDebugPlmClient2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugPlmClient2, windows_core::IUnknown); @@ -13086,7 +13086,7 @@ windows_core::imp::define_interface!(IDebugPlmClient3, IDebugPlmClient3_Vtbl, 0x impl std::ops::Deref for IDebugPlmClient3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugPlmClient3, windows_core::IUnknown); @@ -13184,13 +13184,13 @@ windows_core::imp::define_interface!(IDebugRegisters, IDebugRegisters_Vtbl, 0xce impl std::ops::Deref for IDebugRegisters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugRegisters, windows_core::IUnknown); impl IDebugRegisters { pub unsafe fn GetNumberRegisters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberRegisters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescription(&self, register: u32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>, desc: Option<*mut DEBUG_REGISTER_DESCRIPTION>) -> windows_core::Result<()> { @@ -13200,7 +13200,7 @@ impl IDebugRegisters { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndexByName)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self, register: u32, value: *mut DEBUG_VALUE) -> windows_core::Result<()> { @@ -13219,15 +13219,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstructionOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStackOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStackOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFrameOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -13250,13 +13250,13 @@ windows_core::imp::define_interface!(IDebugRegisters2, IDebugRegisters2_Vtbl, 0x impl std::ops::Deref for IDebugRegisters2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugRegisters2, windows_core::IUnknown); impl IDebugRegisters2 { pub unsafe fn GetNumberRegisters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberRegisters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescription(&self, register: u32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>, desc: Option<*mut DEBUG_REGISTER_DESCRIPTION>) -> windows_core::Result<()> { @@ -13266,7 +13266,7 @@ impl IDebugRegisters2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndexByName)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self, register: u32, value: *mut DEBUG_VALUE) -> windows_core::Result<()> { @@ -13285,15 +13285,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstructionOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStackOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStackOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFrameOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescriptionWide(&self, register: u32, namebuffer: Option<&mut [u16]>, namesize: Option<*mut u32>, desc: Option<*mut DEBUG_REGISTER_DESCRIPTION>) -> windows_core::Result<()> { @@ -13303,11 +13303,11 @@ impl IDebugRegisters2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndexByNameWide)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNumberPseudoRegisters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberPseudoRegisters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPseudoDescription(&self, register: u32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>, typemodule: Option<*mut u64>, typeid: Option<*mut u32>) -> windows_core::Result<()> { @@ -13320,14 +13320,14 @@ impl IDebugRegisters2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPseudoIndexByName)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetPseudoIndexByNameWide(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPseudoIndexByNameWide)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetPseudoValues(&self, source: u32, count: u32, indices: Option<*const u32>, start: u32, values: *mut DEBUG_VALUE) -> windows_core::Result<()> { @@ -13346,15 +13346,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstructionOffset2)(windows_core::Interface::as_raw(self), source, &mut result__).map(|| result__) } pub unsafe fn GetStackOffset2(&self, source: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStackOffset2)(windows_core::Interface::as_raw(self), source, &mut result__).map(|| result__) } pub unsafe fn GetFrameOffset2(&self, source: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameOffset2)(windows_core::Interface::as_raw(self), source, &mut result__).map(|| result__) } } @@ -13392,13 +13392,13 @@ windows_core::imp::define_interface!(IDebugSymbolGroup, IDebugSymbolGroup_Vtbl, impl std::ops::Deref for IDebugSymbolGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSymbolGroup, windows_core::IUnknown); impl IDebugSymbolGroup { pub unsafe fn GetNumberSymbols(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSymbols)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddSymbol(&self, name: P0, index: *mut u32) -> windows_core::Result<()> @@ -13462,13 +13462,13 @@ windows_core::imp::define_interface!(IDebugSymbolGroup2, IDebugSymbolGroup2_Vtbl impl std::ops::Deref for IDebugSymbolGroup2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSymbolGroup2, windows_core::IUnknown); impl IDebugSymbolGroup2 { pub unsafe fn GetNumberSymbols(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSymbols)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddSymbol(&self, name: P0, index: *mut u32) -> windows_core::Result<()> @@ -13547,15 +13547,15 @@ impl IDebugSymbolGroup2 { (windows_core::Interface::vtable(self).GetSymbolTypeNameWide)(windows_core::Interface::as_raw(self), index, core::mem::transmute(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(namesize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetSymbolSize(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolSize)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetSymbolOffset(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolOffset)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetSymbolRegister(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolRegister)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetSymbolValueText(&self, index: u32, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -13599,13 +13599,13 @@ windows_core::imp::define_interface!(IDebugSymbols, IDebugSymbols_Vtbl, 0x8c31e9 impl std::ops::Deref for IDebugSymbols { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSymbols, windows_core::IUnknown); impl IDebugSymbols { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> windows_core::Result<()> { @@ -13624,7 +13624,7 @@ impl IDebugSymbols { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByName)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>, displacement: Option<*mut u64>) -> windows_core::Result<()> { @@ -13637,14 +13637,14 @@ impl IDebugSymbols { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByLine)(windows_core::Interface::as_raw(self), line, file.param().abi(), &mut result__).map(|| 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), loaded, unloaded).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModuleByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetModuleByModuleName(&self, name: P0, startindex: u32, index: Option<*mut u32>, base: Option<*mut u64>) -> windows_core::Result<()> @@ -13680,7 +13680,7 @@ impl IDebugSymbols { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolModule)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -13690,18 +13690,18 @@ impl IDebugSymbols { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeId)(windows_core::Interface::as_raw(self), module, name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeSize)(windows_core::Interface::as_raw(self), module, typeid, &mut result__).map(|| result__) } pub unsafe fn GetFieldOffset(&self, module: u64, typeid: u32, field: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldOffset)(windows_core::Interface::as_raw(self), module, typeid, field.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSymbolTypeId(&self, symbol: P0, typeid: *mut u32, module: Option<*mut u64>) -> windows_core::Result<()> @@ -13744,18 +13744,18 @@ impl IDebugSymbols { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeSymbolGroup)(windows_core::Interface::as_raw(self), flags, update.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSymbolGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSymbolGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartSymbolMatch(&self, pattern: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartSymbolMatch)(windows_core::Interface::as_raw(self), pattern.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: Option<&mut [u8]>, matchsize: Option<*mut u32>, offset: Option<*mut u64>) -> windows_core::Result<()> { @@ -13888,13 +13888,13 @@ windows_core::imp::define_interface!(IDebugSymbols2, IDebugSymbols2_Vtbl, 0x3a70 impl std::ops::Deref for IDebugSymbols2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSymbols2, windows_core::IUnknown); impl IDebugSymbols2 { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> windows_core::Result<()> { @@ -13913,7 +13913,7 @@ impl IDebugSymbols2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByName)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>, displacement: Option<*mut u64>) -> windows_core::Result<()> { @@ -13926,14 +13926,14 @@ impl IDebugSymbols2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByLine)(windows_core::Interface::as_raw(self), line, file.param().abi(), &mut result__).map(|| 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), loaded, unloaded).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModuleByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetModuleByModuleName(&self, name: P0, startindex: u32, index: Option<*mut u32>, base: Option<*mut u64>) -> windows_core::Result<()> @@ -13969,7 +13969,7 @@ impl IDebugSymbols2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolModule)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -13979,18 +13979,18 @@ impl IDebugSymbols2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeId)(windows_core::Interface::as_raw(self), module, name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeSize)(windows_core::Interface::as_raw(self), module, typeid, &mut result__).map(|| result__) } pub unsafe fn GetFieldOffset(&self, module: u64, typeid: u32, field: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldOffset)(windows_core::Interface::as_raw(self), module, typeid, field.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSymbolTypeId(&self, symbol: P0, typeid: *mut u32, module: Option<*mut u64>) -> windows_core::Result<()> @@ -14033,18 +14033,18 @@ impl IDebugSymbols2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeSymbolGroup)(windows_core::Interface::as_raw(self), flags, update.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSymbolGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSymbolGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartSymbolMatch(&self, pattern: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartSymbolMatch)(windows_core::Interface::as_raw(self), pattern.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: Option<&mut [u8]>, matchsize: Option<*mut u32>, offset: Option<*mut u64>) -> windows_core::Result<()> { @@ -14135,7 +14135,7 @@ impl IDebugSymbols2 { (windows_core::Interface::vtable(self).GetFieldName)(windows_core::Interface::as_raw(self), module, typeid, fieldindex, core::mem::transmute(namebuffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), namebuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(namesize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetTypeOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddTypeOptions(&self, options: u32) -> windows_core::Result<()> { @@ -14213,13 +14213,13 @@ windows_core::imp::define_interface!(IDebugSymbols3, IDebugSymbols3_Vtbl, 0xf02f impl std::ops::Deref for IDebugSymbols3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSymbols3, windows_core::IUnknown); impl IDebugSymbols3 { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> windows_core::Result<()> { @@ -14238,7 +14238,7 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByName)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>, displacement: Option<*mut u64>) -> windows_core::Result<()> { @@ -14251,14 +14251,14 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByLine)(windows_core::Interface::as_raw(self), line, file.param().abi(), &mut result__).map(|| 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), loaded, unloaded).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModuleByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetModuleByModuleName(&self, name: P0, startindex: u32, index: Option<*mut u32>, base: Option<*mut u64>) -> windows_core::Result<()> @@ -14294,7 +14294,7 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolModule)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -14304,18 +14304,18 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeId)(windows_core::Interface::as_raw(self), module, name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeSize)(windows_core::Interface::as_raw(self), module, typeid, &mut result__).map(|| result__) } pub unsafe fn GetFieldOffset(&self, module: u64, typeid: u32, field: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldOffset)(windows_core::Interface::as_raw(self), module, typeid, field.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSymbolTypeId(&self, symbol: P0, typeid: *mut u32, module: Option<*mut u64>) -> windows_core::Result<()> @@ -14358,18 +14358,18 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeSymbolGroup)(windows_core::Interface::as_raw(self), flags, update.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSymbolGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSymbolGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartSymbolMatch(&self, pattern: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartSymbolMatch)(windows_core::Interface::as_raw(self), pattern.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: Option<&mut [u8]>, matchsize: Option<*mut u32>, offset: Option<*mut u64>) -> windows_core::Result<()> { @@ -14460,7 +14460,7 @@ impl IDebugSymbols3 { (windows_core::Interface::vtable(self).GetFieldName)(windows_core::Interface::as_raw(self), module, typeid, fieldindex, core::mem::transmute(namebuffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), namebuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(namesize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetTypeOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddTypeOptions(&self, options: u32) -> windows_core::Result<()> { @@ -14479,7 +14479,7 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByNameWide)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNearNameByOffsetWide(&self, offset: u64, delta: i32, namebuffer: Option<&mut [u16]>, namesize: Option<*mut u32>, displacement: Option<*mut u64>) -> windows_core::Result<()> { @@ -14492,7 +14492,7 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByLineWide)(windows_core::Interface::as_raw(self), line, file.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetModuleByModuleNameWide(&self, name: P0, startindex: u32, index: Option<*mut u32>, base: Option<*mut u64>) -> windows_core::Result<()> @@ -14505,7 +14505,7 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolModuleWide)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeNameWide(&self, module: u64, typeid: u32, namebuffer: Option<&mut [u16]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -14515,14 +14515,14 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeIdWide)(windows_core::Interface::as_raw(self), module, name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetFieldOffsetWide(&self, module: u64, typeid: u32, field: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldOffsetWide)(windows_core::Interface::as_raw(self), module, typeid, field.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSymbolTypeIdWide(&self, symbol: P0, typeid: *mut u32, module: Option<*mut u64>) -> windows_core::Result<()> @@ -14535,18 +14535,18 @@ impl IDebugSymbols3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeSymbolGroup2)(windows_core::Interface::as_raw(self), flags, update.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSymbolGroup2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSymbolGroup2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartSymbolMatchWide(&self, pattern: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartSymbolMatchWide)(windows_core::Interface::as_raw(self), pattern.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNextSymbolMatchWide(&self, handle: u64, buffer: Option<&mut [u16]>, matchsize: Option<*mut u32>, offset: Option<*mut u64>) -> windows_core::Result<()> { @@ -14669,7 +14669,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentScopeFrameIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScopeFrameByIndex(&self, index: u32) -> windows_core::Result<()> { @@ -14730,7 +14730,7 @@ impl IDebugSymbols3 { (windows_core::Interface::vtable(self).GetSymbolEntriesByNameWide)(windows_core::Interface::as_raw(self), symbol.param().abi(), flags, core::mem::transmute(ids.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), ids.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(entries.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetSymbolEntryByToken(&self, modulebase: u64, token: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolEntryByToken)(windows_core::Interface::as_raw(self), modulebase, token, &mut result__).map(|| result__) } pub unsafe fn GetSymbolEntryInformation(&self, id: *const DEBUG_MODULE_AND_ID, info: *mut DEBUG_SYMBOL_ENTRY) -> windows_core::Result<()> { @@ -14746,7 +14746,7 @@ impl IDebugSymbols3 { (windows_core::Interface::vtable(self).GetSymbolEntryOffsetRegions)(windows_core::Interface::as_raw(self), id, flags, core::mem::transmute(regions.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), regions.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(regionsavail.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetSymbolEntryBySymbolEntry(&self, fromid: *const DEBUG_MODULE_AND_ID, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolEntryBySymbolEntry)(windows_core::Interface::as_raw(self), fromid, flags, &mut result__).map(|| result__) } pub unsafe fn GetSourceEntriesByOffset(&self, offset: u64, flags: u32, entries: Option<&mut [DEBUG_SYMBOL_SOURCE_ENTRY]>, entriesavail: Option<*mut u32>) -> windows_core::Result<()> { @@ -14908,13 +14908,13 @@ windows_core::imp::define_interface!(IDebugSymbols4, IDebugSymbols4_Vtbl, 0xe391 impl std::ops::Deref for IDebugSymbols4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSymbols4, windows_core::IUnknown); impl IDebugSymbols4 { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> windows_core::Result<()> { @@ -14933,7 +14933,7 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByName)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>, displacement: Option<*mut u64>) -> windows_core::Result<()> { @@ -14946,14 +14946,14 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByLine)(windows_core::Interface::as_raw(self), line, file.param().abi(), &mut result__).map(|| 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), loaded, unloaded).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModuleByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetModuleByModuleName(&self, name: P0, startindex: u32, index: Option<*mut u32>, base: Option<*mut u64>) -> windows_core::Result<()> @@ -14989,7 +14989,7 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolModule)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -14999,18 +14999,18 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeId)(windows_core::Interface::as_raw(self), module, name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeSize)(windows_core::Interface::as_raw(self), module, typeid, &mut result__).map(|| result__) } pub unsafe fn GetFieldOffset(&self, module: u64, typeid: u32, field: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldOffset)(windows_core::Interface::as_raw(self), module, typeid, field.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSymbolTypeId(&self, symbol: P0, typeid: *mut u32, module: Option<*mut u64>) -> windows_core::Result<()> @@ -15053,18 +15053,18 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeSymbolGroup)(windows_core::Interface::as_raw(self), flags, update.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSymbolGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSymbolGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartSymbolMatch(&self, pattern: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartSymbolMatch)(windows_core::Interface::as_raw(self), pattern.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: Option<&mut [u8]>, matchsize: Option<*mut u32>, offset: Option<*mut u64>) -> windows_core::Result<()> { @@ -15155,7 +15155,7 @@ impl IDebugSymbols4 { (windows_core::Interface::vtable(self).GetFieldName)(windows_core::Interface::as_raw(self), module, typeid, fieldindex, core::mem::transmute(namebuffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), namebuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(namesize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetTypeOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddTypeOptions(&self, options: u32) -> windows_core::Result<()> { @@ -15174,7 +15174,7 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByNameWide)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNearNameByOffsetWide(&self, offset: u64, delta: i32, namebuffer: Option<&mut [u16]>, namesize: Option<*mut u32>, displacement: Option<*mut u64>) -> windows_core::Result<()> { @@ -15187,7 +15187,7 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByLineWide)(windows_core::Interface::as_raw(self), line, file.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetModuleByModuleNameWide(&self, name: P0, startindex: u32, index: Option<*mut u32>, base: Option<*mut u64>) -> windows_core::Result<()> @@ -15200,7 +15200,7 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolModuleWide)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeNameWide(&self, module: u64, typeid: u32, namebuffer: Option<&mut [u16]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -15210,14 +15210,14 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeIdWide)(windows_core::Interface::as_raw(self), module, name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetFieldOffsetWide(&self, module: u64, typeid: u32, field: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldOffsetWide)(windows_core::Interface::as_raw(self), module, typeid, field.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSymbolTypeIdWide(&self, symbol: P0, typeid: *mut u32, module: Option<*mut u64>) -> windows_core::Result<()> @@ -15230,18 +15230,18 @@ impl IDebugSymbols4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeSymbolGroup2)(windows_core::Interface::as_raw(self), flags, update.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSymbolGroup2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSymbolGroup2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartSymbolMatchWide(&self, pattern: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartSymbolMatchWide)(windows_core::Interface::as_raw(self), pattern.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNextSymbolMatchWide(&self, handle: u64, buffer: Option<&mut [u16]>, matchsize: Option<*mut u32>, offset: Option<*mut u64>) -> windows_core::Result<()> { @@ -15364,7 +15364,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentScopeFrameIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScopeFrameByIndex(&self, index: u32) -> windows_core::Result<()> { @@ -15425,7 +15425,7 @@ impl IDebugSymbols4 { (windows_core::Interface::vtable(self).GetSymbolEntriesByNameWide)(windows_core::Interface::as_raw(self), symbol.param().abi(), flags, core::mem::transmute(ids.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), ids.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(entries.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetSymbolEntryByToken(&self, modulebase: u64, token: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolEntryByToken)(windows_core::Interface::as_raw(self), modulebase, token, &mut result__).map(|| result__) } pub unsafe fn GetSymbolEntryInformation(&self, id: *const DEBUG_MODULE_AND_ID, info: *mut DEBUG_SYMBOL_ENTRY) -> windows_core::Result<()> { @@ -15441,7 +15441,7 @@ impl IDebugSymbols4 { (windows_core::Interface::vtable(self).GetSymbolEntryOffsetRegions)(windows_core::Interface::as_raw(self), id, flags, core::mem::transmute(regions.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), regions.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(regionsavail.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetSymbolEntryBySymbolEntry(&self, fromid: *const DEBUG_MODULE_AND_ID, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolEntryBySymbolEntry)(windows_core::Interface::as_raw(self), fromid, flags, &mut result__).map(|| result__) } pub unsafe fn GetSourceEntriesByOffset(&self, offset: u64, flags: u32, entries: Option<&mut [DEBUG_SYMBOL_SOURCE_ENTRY]>, entriesavail: Option<*mut u32>) -> windows_core::Result<()> { @@ -15631,13 +15631,13 @@ windows_core::imp::define_interface!(IDebugSymbols5, IDebugSymbols5_Vtbl, 0xc65f impl std::ops::Deref for IDebugSymbols5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSymbols5, windows_core::IUnknown); impl IDebugSymbols5 { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddSymbolOptions(&self, options: u32) -> windows_core::Result<()> { @@ -15656,7 +15656,7 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByName)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNearNameByOffset(&self, offset: u64, delta: i32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>, displacement: Option<*mut u64>) -> windows_core::Result<()> { @@ -15669,14 +15669,14 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByLine)(windows_core::Interface::as_raw(self), line, file.param().abi(), &mut result__).map(|| 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), loaded, unloaded).ok() } pub unsafe fn GetModuleByIndex(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModuleByIndex)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetModuleByModuleName(&self, name: P0, startindex: u32, index: Option<*mut u32>, base: Option<*mut u64>) -> windows_core::Result<()> @@ -15712,7 +15712,7 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolModule)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeName(&self, module: u64, typeid: u32, namebuffer: Option<&mut [u8]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -15722,18 +15722,18 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeId)(windows_core::Interface::as_raw(self), module, name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeSize(&self, module: u64, typeid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeSize)(windows_core::Interface::as_raw(self), module, typeid, &mut result__).map(|| result__) } pub unsafe fn GetFieldOffset(&self, module: u64, typeid: u32, field: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldOffset)(windows_core::Interface::as_raw(self), module, typeid, field.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSymbolTypeId(&self, symbol: P0, typeid: *mut u32, module: Option<*mut u64>) -> windows_core::Result<()> @@ -15776,18 +15776,18 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeSymbolGroup)(windows_core::Interface::as_raw(self), flags, update.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSymbolGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSymbolGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartSymbolMatch(&self, pattern: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartSymbolMatch)(windows_core::Interface::as_raw(self), pattern.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNextSymbolMatch(&self, handle: u64, buffer: Option<&mut [u8]>, matchsize: Option<*mut u32>, offset: Option<*mut u64>) -> windows_core::Result<()> { @@ -15878,7 +15878,7 @@ impl IDebugSymbols5 { (windows_core::Interface::vtable(self).GetFieldName)(windows_core::Interface::as_raw(self), module, typeid, fieldindex, core::mem::transmute(namebuffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), namebuffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(namesize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetTypeOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddTypeOptions(&self, options: u32) -> windows_core::Result<()> { @@ -15897,7 +15897,7 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByNameWide)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNearNameByOffsetWide(&self, offset: u64, delta: i32, namebuffer: Option<&mut [u16]>, namesize: Option<*mut u32>, displacement: Option<*mut u64>) -> windows_core::Result<()> { @@ -15910,7 +15910,7 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOffsetByLineWide)(windows_core::Interface::as_raw(self), line, file.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetModuleByModuleNameWide(&self, name: P0, startindex: u32, index: Option<*mut u32>, base: Option<*mut u64>) -> windows_core::Result<()> @@ -15923,7 +15923,7 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolModuleWide)(windows_core::Interface::as_raw(self), symbol.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTypeNameWide(&self, module: u64, typeid: u32, namebuffer: Option<&mut [u16]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -15933,14 +15933,14 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeIdWide)(windows_core::Interface::as_raw(self), module, name.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetFieldOffsetWide(&self, module: u64, typeid: u32, field: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldOffsetWide)(windows_core::Interface::as_raw(self), module, typeid, field.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSymbolTypeIdWide(&self, symbol: P0, typeid: *mut u32, module: Option<*mut u64>) -> windows_core::Result<()> @@ -15953,18 +15953,18 @@ impl IDebugSymbols5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeSymbolGroup2)(windows_core::Interface::as_raw(self), flags, update.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSymbolGroup2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSymbolGroup2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartSymbolMatchWide(&self, pattern: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartSymbolMatchWide)(windows_core::Interface::as_raw(self), pattern.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetNextSymbolMatchWide(&self, handle: u64, buffer: Option<&mut [u16]>, matchsize: Option<*mut u32>, offset: Option<*mut u64>) -> windows_core::Result<()> { @@ -16087,7 +16087,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentScopeFrameIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScopeFrameByIndex(&self, index: u32) -> windows_core::Result<()> { @@ -16148,7 +16148,7 @@ impl IDebugSymbols5 { (windows_core::Interface::vtable(self).GetSymbolEntriesByNameWide)(windows_core::Interface::as_raw(self), symbol.param().abi(), flags, core::mem::transmute(ids.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), ids.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(entries.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetSymbolEntryByToken(&self, modulebase: u64, token: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolEntryByToken)(windows_core::Interface::as_raw(self), modulebase, token, &mut result__).map(|| result__) } pub unsafe fn GetSymbolEntryInformation(&self, id: *const DEBUG_MODULE_AND_ID, info: *mut DEBUG_SYMBOL_ENTRY) -> windows_core::Result<()> { @@ -16164,7 +16164,7 @@ impl IDebugSymbols5 { (windows_core::Interface::vtable(self).GetSymbolEntryOffsetRegions)(windows_core::Interface::as_raw(self), id, flags, core::mem::transmute(regions.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), regions.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(regionsavail.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetSymbolEntryBySymbolEntry(&self, fromid: *const DEBUG_MODULE_AND_ID, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSymbolEntryBySymbolEntry)(windows_core::Interface::as_raw(self), fromid, flags, &mut result__).map(|| result__) } pub unsafe fn GetSourceEntriesByOffset(&self, offset: u64, flags: u32, entries: Option<&mut [DEBUG_SYMBOL_SOURCE_ENTRY]>, entriesavail: Option<*mut u32>) -> windows_core::Result<()> { @@ -16216,7 +16216,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentScopeFrameIndexEx)(windows_core::Interface::as_raw(self), flags, &mut result__).map(|| result__) } pub unsafe fn SetScopeFrameByIndexEx(&self, flags: u32, index: u32) -> windows_core::Result<()> { @@ -16363,35 +16363,35 @@ windows_core::imp::define_interface!(IDebugSystemObjects, IDebugSystemObjects_Vt impl std::ops::Deref for IDebugSystemObjects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSystemObjects, windows_core::IUnknown); impl IDebugSystemObjects { pub unsafe fn GetEventThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventThread)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventProcess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventProcess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTotalNumberThreads(&self, total: *mut u32, largestprocess: *mut u32) -> windows_core::Result<()> { @@ -16401,78 +16401,78 @@ impl IDebugSystemObjects { (windows_core::Interface::vtable(self).GetThreadIdsByIndex)(windows_core::Interface::as_raw(self), start, count, core::mem::transmute(ids.unwrap_or(std::ptr::null_mut())), core::mem::transmute(sysids.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetThreadIdByProcessor(&self, processor: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByProcessor)(windows_core::Interface::as_raw(self), processor, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByDataOffset(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByDataOffset)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadTeb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadTeb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByTeb(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByTeb)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdBySystemId(&self, sysid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdBySystemId)(windows_core::Interface::as_raw(self), sysid, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByHandle(&self, handle: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByHandle)(windows_core::Interface::as_raw(self), handle, &mut result__).map(|| result__) } pub unsafe fn GetNumberProcesses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcesses)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdsByIndex(&self, start: u32, count: u32, ids: Option<*mut u32>, sysids: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetProcessIdsByIndex)(windows_core::Interface::as_raw(self), start, count, core::mem::transmute(ids.unwrap_or(std::ptr::null_mut())), core::mem::transmute(sysids.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentProcessDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByDataOffset(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByDataOffset)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessPeb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessPeb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByPeb(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByPeb)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdBySystemId(&self, sysid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdBySystemId)(windows_core::Interface::as_raw(self), sysid, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByHandle(&self, handle: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByHandle)(windows_core::Interface::as_raw(self), handle, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessExecutableName(&self, buffer: Option<&mut [u8]>, exesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -16516,35 +16516,35 @@ windows_core::imp::define_interface!(IDebugSystemObjects2, IDebugSystemObjects2_ impl std::ops::Deref for IDebugSystemObjects2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSystemObjects2, windows_core::IUnknown); impl IDebugSystemObjects2 { pub unsafe fn GetEventThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventThread)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventProcess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventProcess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTotalNumberThreads(&self, total: *mut u32, largestprocess: *mut u32) -> windows_core::Result<()> { @@ -16554,96 +16554,96 @@ impl IDebugSystemObjects2 { (windows_core::Interface::vtable(self).GetThreadIdsByIndex)(windows_core::Interface::as_raw(self), start, count, core::mem::transmute(ids.unwrap_or(std::ptr::null_mut())), core::mem::transmute(sysids.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetThreadIdByProcessor(&self, processor: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByProcessor)(windows_core::Interface::as_raw(self), processor, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByDataOffset(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByDataOffset)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadTeb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadTeb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByTeb(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByTeb)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdBySystemId(&self, sysid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdBySystemId)(windows_core::Interface::as_raw(self), sysid, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByHandle(&self, handle: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByHandle)(windows_core::Interface::as_raw(self), handle, &mut result__).map(|| result__) } pub unsafe fn GetNumberProcesses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcesses)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdsByIndex(&self, start: u32, count: u32, ids: Option<*mut u32>, sysids: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetProcessIdsByIndex)(windows_core::Interface::as_raw(self), start, count, core::mem::transmute(ids.unwrap_or(std::ptr::null_mut())), core::mem::transmute(sysids.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentProcessDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByDataOffset(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByDataOffset)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessPeb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessPeb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByPeb(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByPeb)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdBySystemId(&self, sysid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdBySystemId)(windows_core::Interface::as_raw(self), sysid, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByHandle(&self, handle: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByHandle)(windows_core::Interface::as_raw(self), handle, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessExecutableName(&self, buffer: Option<&mut [u8]>, exesize: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCurrentProcessExecutableName)(windows_core::Interface::as_raw(self), core::mem::transmute(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(exesize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentProcessUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetImplicitThreadDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImplicitThreadDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImplicitProcessDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetImplicitProcessDataOffset(&self, offset: u64) -> windows_core::Result<()> { @@ -16692,35 +16692,35 @@ windows_core::imp::define_interface!(IDebugSystemObjects3, IDebugSystemObjects3_ impl std::ops::Deref for IDebugSystemObjects3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSystemObjects3, windows_core::IUnknown); impl IDebugSystemObjects3 { pub unsafe fn GetEventThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventThread)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventProcess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventProcess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTotalNumberThreads(&self, total: *mut u32, largestprocess: *mut u32) -> windows_core::Result<()> { @@ -16730,114 +16730,114 @@ impl IDebugSystemObjects3 { (windows_core::Interface::vtable(self).GetThreadIdsByIndex)(windows_core::Interface::as_raw(self), start, count, core::mem::transmute(ids.unwrap_or(std::ptr::null_mut())), core::mem::transmute(sysids.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetThreadIdByProcessor(&self, processor: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByProcessor)(windows_core::Interface::as_raw(self), processor, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByDataOffset(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByDataOffset)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadTeb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadTeb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByTeb(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByTeb)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdBySystemId(&self, sysid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdBySystemId)(windows_core::Interface::as_raw(self), sysid, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByHandle(&self, handle: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByHandle)(windows_core::Interface::as_raw(self), handle, &mut result__).map(|| result__) } pub unsafe fn GetNumberProcesses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcesses)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdsByIndex(&self, start: u32, count: u32, ids: Option<*mut u32>, sysids: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetProcessIdsByIndex)(windows_core::Interface::as_raw(self), start, count, core::mem::transmute(ids.unwrap_or(std::ptr::null_mut())), core::mem::transmute(sysids.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentProcessDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByDataOffset(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByDataOffset)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessPeb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessPeb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByPeb(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByPeb)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdBySystemId(&self, sysid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdBySystemId)(windows_core::Interface::as_raw(self), sysid, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByHandle(&self, handle: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByHandle)(windows_core::Interface::as_raw(self), handle, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessExecutableName(&self, buffer: Option<&mut [u8]>, exesize: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCurrentProcessExecutableName)(windows_core::Interface::as_raw(self), core::mem::transmute(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(exesize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentProcessUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetImplicitThreadDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImplicitThreadDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImplicitProcessDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventSystem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSystems)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemIdsByIndex(&self, start: u32, ids: &mut [u32]) -> windows_core::Result<()> { @@ -16847,11 +16847,11 @@ impl IDebugSystemObjects3 { (windows_core::Interface::vtable(self).GetTotalNumberThreadsAndProcesses)(windows_core::Interface::as_raw(self), totalthreads, totalprocesses, largestprocessthreads, largestsystemthreads, largestsystemprocesses).ok() } pub unsafe fn GetCurrentSystemServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemServer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemByServer(&self, server: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemByServer)(windows_core::Interface::as_raw(self), server, &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemServerName(&self, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -16909,35 +16909,35 @@ windows_core::imp::define_interface!(IDebugSystemObjects4, IDebugSystemObjects4_ impl std::ops::Deref for IDebugSystemObjects4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugSystemObjects4, windows_core::IUnknown); impl IDebugSystemObjects4 { pub unsafe fn GetEventThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventThread)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventProcess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventProcess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberThreads)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTotalNumberThreads(&self, total: *mut u32, largestprocess: *mut u32) -> windows_core::Result<()> { @@ -16947,114 +16947,114 @@ impl IDebugSystemObjects4 { (windows_core::Interface::vtable(self).GetThreadIdsByIndex)(windows_core::Interface::as_raw(self), start, count, core::mem::transmute(ids.unwrap_or(std::ptr::null_mut())), core::mem::transmute(sysids.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetThreadIdByProcessor(&self, processor: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByProcessor)(windows_core::Interface::as_raw(self), processor, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByDataOffset(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByDataOffset)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadTeb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadTeb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByTeb(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByTeb)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdBySystemId(&self, sysid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdBySystemId)(windows_core::Interface::as_raw(self), sysid, &mut result__).map(|| result__) } pub unsafe fn GetCurrentThreadHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentThreadHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetThreadIdByHandle(&self, handle: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadIdByHandle)(windows_core::Interface::as_raw(self), handle, &mut result__).map(|| result__) } pub unsafe fn GetNumberProcesses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberProcesses)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdsByIndex(&self, start: u32, count: u32, ids: Option<*mut u32>, sysids: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetProcessIdsByIndex)(windows_core::Interface::as_raw(self), start, count, core::mem::transmute(ids.unwrap_or(std::ptr::null_mut())), core::mem::transmute(sysids.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentProcessDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByDataOffset(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByDataOffset)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessPeb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessPeb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByPeb(&self, offset: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByPeb)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdBySystemId(&self, sysid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdBySystemId)(windows_core::Interface::as_raw(self), sysid, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProcessIdByHandle(&self, handle: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessIdByHandle)(windows_core::Interface::as_raw(self), handle, &mut result__).map(|| result__) } pub unsafe fn GetCurrentProcessExecutableName(&self, buffer: Option<&mut [u8]>, exesize: Option<*mut u32>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCurrentProcessExecutableName)(windows_core::Interface::as_raw(self), core::mem::transmute(buffer.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), buffer.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(exesize.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetCurrentProcessUpTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentProcessUpTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetImplicitThreadDataOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImplicitThreadDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImplicitProcessDataOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventSystem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberSystems)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemIdsByIndex(&self, start: u32, ids: &mut [u32]) -> windows_core::Result<()> { @@ -17064,11 +17064,11 @@ impl IDebugSystemObjects4 { (windows_core::Interface::vtable(self).GetTotalNumberThreadsAndProcesses)(windows_core::Interface::as_raw(self), totalthreads, totalprocesses, largestprocessthreads, largestsystemthreads, largestsystemprocesses).ok() } pub unsafe fn GetCurrentSystemServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSystemServer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSystemByServer(&self, server: u64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemByServer)(windows_core::Interface::as_raw(self), server, &mut result__).map(|| result__) } pub unsafe fn GetCurrentSystemServerName(&self, buffer: Option<&mut [u8]>, namesize: Option<*mut u32>) -> windows_core::Result<()> { @@ -17134,7 +17134,7 @@ windows_core::imp::define_interface!(IDynamicConceptProviderConcept, IDynamicCon impl std::ops::Deref for IDynamicConceptProviderConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDynamicConceptProviderConcept, windows_core::IUnknown); @@ -17182,7 +17182,7 @@ windows_core::imp::define_interface!(IDynamicKeyProviderConcept, IDynamicKeyProv impl std::ops::Deref for IDynamicKeyProviderConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDynamicKeyProviderConcept, windows_core::IUnknown); @@ -17207,7 +17207,7 @@ impl IDynamicKeyProviderConcept { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateKeys)(windows_core::Interface::as_raw(self), contextobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17222,7 +17222,7 @@ windows_core::imp::define_interface!(IEquatableConcept, IEquatableConcept_Vtbl, impl std::ops::Deref for IEquatableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEquatableConcept, windows_core::IUnknown); @@ -17232,7 +17232,7 @@ impl IEquatableConcept { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AreObjectsEqual)(windows_core::Interface::as_raw(self), contextobject.param().abi(), otherobject.param().abi(), &mut result__).map(|| result__) } } @@ -17245,7 +17245,7 @@ windows_core::imp::define_interface!(IHostDataModelAccess, IHostDataModelAccess_ impl std::ops::Deref for IHostDataModelAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostDataModelAccess, windows_core::IUnknown); @@ -17263,7 +17263,7 @@ windows_core::imp::define_interface!(IIndexableConcept, IIndexableConcept_Vtbl, impl std::ops::Deref for IIndexableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIndexableConcept, windows_core::IUnknown); @@ -17272,7 +17272,7 @@ impl IIndexableConcept { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDimensionality)(windows_core::Interface::as_raw(self), contextobject.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, contextobject: P0, indexers: &[Option], object: *mut Option, metadata: Option<*mut Option>) -> windows_core::Result<()> @@ -17300,7 +17300,7 @@ windows_core::imp::define_interface!(IIterableConcept, IIterableConcept_Vtbl, 0x impl std::ops::Deref for IIterableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIterableConcept, windows_core::IUnknown); @@ -17309,14 +17309,14 @@ impl IIterableConcept { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultIndexDimensionality)(windows_core::Interface::as_raw(self), contextobject.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetIterator(&self, contextobject: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIterator)(windows_core::Interface::as_raw(self), contextobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17330,7 +17330,7 @@ windows_core::imp::define_interface!(IKeyEnumerator, IKeyEnumerator_Vtbl, 0x345f impl std::ops::Deref for IKeyEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKeyEnumerator, windows_core::IUnknown); @@ -17346,13 +17346,13 @@ impl IKeyEnumerator { pub struct IKeyEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyStore, IKeyStore_Vtbl, 0x0fc7557d_401d_4fca_9365_da1e9850697c); impl std::ops::Deref for IKeyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKeyStore, windows_core::IUnknown); @@ -17401,7 +17401,7 @@ windows_core::imp::define_interface!(IModelIterator, IModelIterator_Vtbl, 0xe462 impl std::ops::Deref for IModelIterator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IModelIterator, windows_core::IUnknown); @@ -17423,21 +17423,21 @@ windows_core::imp::define_interface!(IModelKeyReference, IModelKeyReference_Vtbl impl std::ops::Deref for IModelKeyReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IModelKeyReference, windows_core::IUnknown); impl IModelKeyReference { pub unsafe fn GetKeyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOriginalObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOriginalObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContextObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContextObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetKey(&self, object: Option<*mut Option>, metadata: Option<*mut Option>) -> windows_core::Result<()> { @@ -17463,7 +17463,7 @@ impl IModelKeyReference { #[repr(C)] pub struct IModelKeyReference_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetKeyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetOriginalObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetContextObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -17475,7 +17475,7 @@ windows_core::imp::define_interface!(IModelKeyReference2, IModelKeyReference2_Vt impl std::ops::Deref for IModelKeyReference2 { type Target = IModelKeyReference; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IModelKeyReference2, windows_core::IUnknown, IModelKeyReference); @@ -17496,7 +17496,7 @@ windows_core::imp::define_interface!(IModelMethod, IModelMethod_Vtbl, 0x80600c1f impl std::ops::Deref for IModelMethod { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IModelMethod, windows_core::IUnknown); @@ -17517,26 +17517,26 @@ windows_core::imp::define_interface!(IModelObject, IModelObject_Vtbl, 0xe28c7893 impl std::ops::Deref for IModelObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IModelObject, windows_core::IUnknown); impl IModelObject { pub unsafe fn GetContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIntrinsicValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIntrinsicValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Variant")] pub unsafe fn GetIntrinsicValueAs(&self, vt: super::super::super::Variant::VARENUM) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIntrinsicValueAs)(windows_core::Interface::as_raw(self), vt, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetKeyValue(&self, key: P0, object: Option<*mut Option>, metadata: Option<*mut Option>) -> windows_core::Result<()> @@ -17553,44 +17553,44 @@ impl IModelObject { (windows_core::Interface::vtable(self).SetKeyValue)(windows_core::Interface::as_raw(self), key.param().abi(), object.param().abi()).ok() } pub unsafe fn EnumerateKeyValues(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateKeyValues)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRawValue(&self, kind: SymbolKind, name: P0, searchflags: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRawValue)(windows_core::Interface::as_raw(self), kind, name.param().abi(), searchflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateRawValues(&self, kind: SymbolKind, searchflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateRawValues)(windows_core::Interface::as_raw(self), kind, searchflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Dereference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Dereference)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TryCastToRuntimeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TryCastToRuntimeType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConcept(&self, conceptid: *const windows_core::GUID, conceptinterface: *mut Option, conceptmetadata: Option<*mut Option>) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetConcept)(windows_core::Interface::as_raw(self), conceptid, core::mem::transmute(conceptinterface), core::mem::transmute(conceptmetadata.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypeInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTargetInfo(&self, location: *mut Location, r#type: *mut Option) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTargetInfo)(windows_core::Interface::as_raw(self), location, core::mem::transmute(r#type)).ok() } pub unsafe fn GetNumberOfParentModels(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfParentModels)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetParentModel(&self, i: u64, model: *mut Option, contextobject: *mut Option) -> windows_core::Result<()> { @@ -17633,11 +17633,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateKeys)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateKeyReferences(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateKeyReferences)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetConcept(&self, conceptid: *const windows_core::GUID, conceptinterface: P0, conceptmetadata: P1) -> windows_core::Result<()> @@ -17654,11 +17654,11 @@ impl IModelObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRawReference)(windows_core::Interface::as_raw(self), kind, name.param().abi(), searchflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateRawReferences(&self, kind: SymbolKind, searchflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateRawReferences)(windows_core::Interface::as_raw(self), kind, searchflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetContextForDataModel(&self, datamodelobject: P0, context: P1) -> windows_core::Result<()> @@ -17672,7 +17672,7 @@ impl IModelObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContextForDataModel)(windows_core::Interface::as_raw(self), datamodelobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Compare(&self, other: P0, ppresult: Option<*mut Option>) -> windows_core::Result<()> @@ -17685,7 +17685,7 @@ impl IModelObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqualTo)(windows_core::Interface::as_raw(self), other.param().abi(), &mut result__).map(|| result__) } } @@ -17694,9 +17694,9 @@ pub struct IModelObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ModelObjectKind) -> windows_core::HRESULT, - pub GetIntrinsicValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetIntrinsicValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Variant")] - pub GetIntrinsicValueAs: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Variant::VARENUM, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetIntrinsicValueAs: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Variant::VARENUM, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Variant"))] GetIntrinsicValueAs: usize, pub GetKeyValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -17733,7 +17733,7 @@ windows_core::imp::define_interface!(IModelPropertyAccessor, IModelPropertyAcces impl std::ops::Deref for IModelPropertyAccessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IModelPropertyAccessor, windows_core::IUnknown); @@ -17743,7 +17743,7 @@ impl IModelPropertyAccessor { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), key.param().abi(), contextobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, key: P0, contextobject: P1, value: P2) -> windows_core::Result<()> @@ -17765,7 +17765,7 @@ windows_core::imp::define_interface!(IPreferredRuntimeTypeConcept, IPreferredRun impl std::ops::Deref for IPreferredRuntimeTypeConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPreferredRuntimeTypeConcept, windows_core::IUnknown); @@ -17774,7 +17774,7 @@ impl IPreferredRuntimeTypeConcept { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CastToPreferredRuntimeType)(windows_core::Interface::as_raw(self), contextobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17787,7 +17787,7 @@ windows_core::imp::define_interface!(IRawEnumerator, IRawEnumerator_Vtbl, 0xe136 impl std::ops::Deref for IRawEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawEnumerator, windows_core::IUnknown); @@ -17803,13 +17803,13 @@ impl IRawEnumerator { pub struct IRawEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut SymbolKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut SymbolKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStringDisplayableConcept, IStringDisplayableConcept_Vtbl, 0xd28e8d70_6c00_4205_940d_501016601ea3); impl std::ops::Deref for IStringDisplayableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStringDisplayableConcept, windows_core::IUnknown); @@ -17819,14 +17819,14 @@ impl IStringDisplayableConcept { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ToDisplayString)(windows_core::Interface::as_raw(self), contextobject.param().abi(), metadata.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IStringDisplayableConcept_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ToDisplayString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToDisplayString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub const ADDRESS_TYPE_INDEX_NOT_FOUND: u32 = 11u32; pub const Ambiguous: SignatureComparison = SignatureComparison(1i32); diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs index 8000b4c5b0..7fddfad500 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs @@ -49,7 +49,7 @@ impl IDebugProperty_Vtbl { let this = (*this).get_impl(); IDebugProperty_Impl::GetPropertyInfo(this, core::mem::transmute_copy(&dwfieldspec), core::mem::transmute_copy(&nradix), core::mem::transmute_copy(&ppropertyinfo)).into() } - unsafe extern "system" fn GetExtendedInfo, Impl: IDebugProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cinfos: u32, rgguidextendedinfo: *const windows_core::GUID, rgvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetExtendedInfo, Impl: IDebugProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cinfos: u32, rgguidextendedinfo: *const windows_core::GUID, rgvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDebugProperty_Impl::GetExtendedInfo(this, core::mem::transmute_copy(&cinfos), core::mem::transmute_copy(&rgguidextendedinfo), core::mem::transmute_copy(&rgvar)).into() @@ -100,7 +100,7 @@ pub trait IDebugPropertyEnumType_All_Impl: Sized { impl windows_core::RuntimeName for IDebugPropertyEnumType_All {} impl IDebugPropertyEnumType_All_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_All_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_All_Vtbl { - unsafe extern "system" fn GetName, Impl: IDebugPropertyEnumType_All_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__idebugpropertyenumtype_all0000: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IDebugPropertyEnumType_All_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, __midl__idebugpropertyenumtype_all0000: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDebugPropertyEnumType_All_Impl::GetName(this) { @@ -319,7 +319,7 @@ impl windows_core::RuntimeName for IPerPropertyBrowsing2 {} #[cfg(feature = "Win32_System_Ole")] impl IPerPropertyBrowsing2_Vtbl { pub const fn new, Impl: IPerPropertyBrowsing2_Impl, const OFFSET: isize>() -> IPerPropertyBrowsing2_Vtbl { - unsafe extern "system" fn GetDisplayString, Impl: IPerPropertyBrowsing2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispid: i32, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDisplayString, Impl: IPerPropertyBrowsing2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispid: i32, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPerPropertyBrowsing2_Impl::GetDisplayString(this, core::mem::transmute_copy(&dispid)) { 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 a258f79661..dff8645e5a 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 @@ -2609,7 +2609,7 @@ windows_core::imp::define_interface!(IDebugExtendedProperty, IDebugExtendedPrope impl std::ops::Deref for IDebugExtendedProperty { type Target = IDebugProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugExtendedProperty, windows_core::IUnknown, IDebugProperty); @@ -2619,7 +2619,7 @@ impl IDebugExtendedProperty { (windows_core::Interface::vtable(self).GetExtendedPropertyInfo)(windows_core::Interface::as_raw(self), dwfieldspec, nradix, pextendedpropertyinfo).ok() } pub unsafe fn EnumExtendedMembers(&self, dwfieldspec: u32, nradix: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumExtendedMembers)(windows_core::Interface::as_raw(self), dwfieldspec, nradix, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2636,7 +2636,7 @@ windows_core::imp::define_interface!(IDebugProperty, IDebugProperty_Vtbl, 0x5197 impl std::ops::Deref for IDebugProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugProperty, windows_core::IUnknown); @@ -2654,11 +2654,11 @@ impl IDebugProperty { (windows_core::Interface::vtable(self).SetValueAsString)(windows_core::Interface::as_raw(self), pszvalue.param().abi(), nradix).ok() } pub unsafe fn EnumMembers(&self, dwfieldspec: u32, nradix: u32, refiid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumMembers)(windows_core::Interface::as_raw(self), dwfieldspec, nradix, refiid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2666,7 +2666,7 @@ impl IDebugProperty { pub struct IDebugProperty_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetPropertyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut DebugPropertyInfo) -> windows_core::HRESULT, - pub GetExtendedInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetExtendedInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetValueAsString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub EnumMembers: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2675,26 +2675,26 @@ windows_core::imp::define_interface!(IDebugPropertyEnumType_All, IDebugPropertyE impl std::ops::Deref for IDebugPropertyEnumType_All { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_All, windows_core::IUnknown); impl IDebugPropertyEnumType_All { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDebugPropertyEnumType_All_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugPropertyEnumType_Arguments, IDebugPropertyEnumType_Arguments_Vtbl, 0x51973c57_cb0c_11d0_b5c9_00a0244a0e7a); impl std::ops::Deref for IDebugPropertyEnumType_Arguments { type Target = IDebugPropertyEnumType_All; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_Arguments, windows_core::IUnknown, IDebugPropertyEnumType_All); @@ -2707,7 +2707,7 @@ windows_core::imp::define_interface!(IDebugPropertyEnumType_Locals, IDebugProper impl std::ops::Deref for IDebugPropertyEnumType_Locals { type Target = IDebugPropertyEnumType_All; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_Locals, windows_core::IUnknown, IDebugPropertyEnumType_All); @@ -2720,7 +2720,7 @@ windows_core::imp::define_interface!(IDebugPropertyEnumType_LocalsPlusArgs, IDeb impl std::ops::Deref for IDebugPropertyEnumType_LocalsPlusArgs { type Target = IDebugPropertyEnumType_All; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_LocalsPlusArgs, windows_core::IUnknown, IDebugPropertyEnumType_All); @@ -2733,7 +2733,7 @@ windows_core::imp::define_interface!(IDebugPropertyEnumType_Registers, IDebugPro impl std::ops::Deref for IDebugPropertyEnumType_Registers { type Target = IDebugPropertyEnumType_All; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_Registers, windows_core::IUnknown, IDebugPropertyEnumType_All); @@ -2746,7 +2746,7 @@ windows_core::imp::define_interface!(IEnumDebugExtendedPropertyInfo, IEnumDebugE impl std::ops::Deref for IEnumDebugExtendedPropertyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDebugExtendedPropertyInfo, windows_core::IUnknown); @@ -2762,11 +2762,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2786,7 +2786,7 @@ windows_core::imp::define_interface!(IEnumDebugPropertyInfo, IEnumDebugPropertyI impl std::ops::Deref for IEnumDebugPropertyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumDebugPropertyInfo, windows_core::IUnknown); @@ -2801,11 +2801,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2822,7 +2822,7 @@ windows_core::imp::define_interface!(IObjectSafety, IObjectSafety_Vtbl, 0xcb5bdc impl std::ops::Deref for IObjectSafety { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectSafety, windows_core::IUnknown); @@ -2844,17 +2844,17 @@ windows_core::imp::define_interface!(IPerPropertyBrowsing2, IPerPropertyBrowsing impl std::ops::Deref for IPerPropertyBrowsing2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPerPropertyBrowsing2, windows_core::IUnknown); impl IPerPropertyBrowsing2 { pub unsafe fn GetDisplayString(&self, dispid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayString)(windows_core::Interface::as_raw(self), dispid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MapPropertyToPage(&self, dispid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MapPropertyToPage)(windows_core::Interface::as_raw(self), dispid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] @@ -2868,7 +2868,7 @@ impl IPerPropertyBrowsing2 { #[repr(C)] pub struct IPerPropertyBrowsing2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDisplayString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDisplayString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MapPropertyToPage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub GetPredefinedStrings: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Ole::CALPOLESTR, *mut super::super::Ole::CADWORD) -> windows_core::HRESULT, @@ -6463,12 +6463,12 @@ impl Default for DUMP_HEADER64_0 { #[derive(Debug, Eq, PartialEq)] pub struct DebugPropertyInfo { pub m_dwValidFields: u32, - pub m_bstrName: std::mem::ManuallyDrop, - pub m_bstrType: std::mem::ManuallyDrop, - pub m_bstrValue: std::mem::ManuallyDrop, - pub m_bstrFullName: std::mem::ManuallyDrop, + pub m_bstrName: core::mem::ManuallyDrop, + pub m_bstrType: core::mem::ManuallyDrop, + pub m_bstrValue: core::mem::ManuallyDrop, + pub m_bstrFullName: core::mem::ManuallyDrop, pub m_dwAttrib: u32, - pub m_pDebugProp: std::mem::ManuallyDrop>, + pub m_pDebugProp: core::mem::ManuallyDrop>, } impl Clone for DebugPropertyInfo { fn clone(&self) -> Self { @@ -6605,12 +6605,12 @@ pub struct ExtendedDebugPropertyInfo { pub pszValue: windows_core::PWSTR, pub pszFullName: windows_core::PWSTR, pub dwAttrib: u32, - pub pDebugProp: std::mem::ManuallyDrop>, + pub pDebugProp: core::mem::ManuallyDrop>, pub nDISPID: u32, pub nType: u32, - pub varValue: std::mem::ManuallyDrop, - pub plbValue: std::mem::ManuallyDrop>, - pub pDebugExtProp: std::mem::ManuallyDrop>, + pub varValue: core::mem::ManuallyDrop, + pub plbValue: core::mem::ManuallyDrop>, + pub pDebugExtProp: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl Clone for ExtendedDebugPropertyInfo { diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs index 81148f223e..e988d57a85 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs @@ -161,7 +161,7 @@ pub trait ITraceRelogger_Impl: Sized { impl windows_core::RuntimeName for ITraceRelogger {} impl ITraceRelogger_Vtbl { pub const fn new, Impl: ITraceRelogger_Impl, const OFFSET: isize>() -> ITraceRelogger_Vtbl { - unsafe extern "system" fn AddLogfileTraceStream, Impl: ITraceRelogger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logfilename: std::mem::MaybeUninit, usercontext: *const core::ffi::c_void, tracehandle: *mut RELOGSTREAM_HANDLE) -> windows_core::HRESULT { + unsafe extern "system" fn AddLogfileTraceStream, Impl: ITraceRelogger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logfilename: core::mem::MaybeUninit, usercontext: *const core::ffi::c_void, tracehandle: *mut RELOGSTREAM_HANDLE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITraceRelogger_Impl::AddLogfileTraceStream(this, core::mem::transmute(&logfilename), core::mem::transmute_copy(&usercontext)) { @@ -172,7 +172,7 @@ impl ITraceRelogger_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddRealtimeTraceStream, Impl: ITraceRelogger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, loggername: std::mem::MaybeUninit, usercontext: *const core::ffi::c_void, tracehandle: *mut RELOGSTREAM_HANDLE) -> windows_core::HRESULT { + unsafe extern "system" fn AddRealtimeTraceStream, Impl: ITraceRelogger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, loggername: core::mem::MaybeUninit, usercontext: *const core::ffi::c_void, tracehandle: *mut RELOGSTREAM_HANDLE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITraceRelogger_Impl::AddRealtimeTraceStream(this, core::mem::transmute(&loggername), core::mem::transmute_copy(&usercontext)) { @@ -209,7 +209,7 @@ impl ITraceRelogger_Vtbl { let this = (*this).get_impl(); ITraceRelogger_Impl::ProcessTrace(this).into() } - unsafe extern "system" fn SetOutputFilename, Impl: ITraceRelogger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOutputFilename, Impl: ITraceRelogger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITraceRelogger_Impl::SetOutputFilename(this, core::mem::transmute(&logfilename)).into() 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 de717ea8cd..ae7754c2e6 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 @@ -543,21 +543,21 @@ windows_core::imp::define_interface!(ITraceEvent, ITraceEvent_Vtbl, 0x8cc97f40_9 impl std::ops::Deref for ITraceEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITraceEvent, windows_core::IUnknown); impl ITraceEvent { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUserContext(&self) -> windows_core::Result<*mut core::ffi::c_void> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventRecord(&self) -> windows_core::Result<*mut EVENT_RECORD> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventRecord)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPayload(&self, payload: &[u8]) -> windows_core::Result<()> { @@ -608,7 +608,7 @@ windows_core::imp::define_interface!(ITraceEventCallback, ITraceEventCallback_Vt impl std::ops::Deref for ITraceEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITraceEventCallback, windows_core::IUnknown); @@ -645,7 +645,7 @@ windows_core::imp::define_interface!(ITraceRelogger, ITraceRelogger_Vtbl, 0xf754 impl std::ops::Deref for ITraceRelogger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITraceRelogger, windows_core::IUnknown); @@ -654,14 +654,14 @@ impl ITraceRelogger { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddLogfileTraceStream)(windows_core::Interface::as_raw(self), logfilename.param().abi(), usercontext, &mut result__).map(|| result__) } pub unsafe fn AddRealtimeTraceStream(&self, loggername: P0, usercontext: *const core::ffi::c_void) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddRealtimeTraceStream)(windows_core::Interface::as_raw(self), loggername.param().abi(), usercontext, &mut result__).map(|| result__) } pub unsafe fn RegisterCallback(&self, callback: P0) -> windows_core::Result<()> @@ -677,7 +677,7 @@ impl ITraceRelogger { (windows_core::Interface::vtable(self).Inject)(windows_core::Interface::as_raw(self), event.param().abi()).ok() } pub unsafe fn CreateEventInstance(&self, tracehandle: RELOGSTREAM_HANDLE, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEventInstance)(windows_core::Interface::as_raw(self), core::mem::transmute(tracehandle), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProcessTrace(&self) -> windows_core::Result<()> { @@ -702,13 +702,13 @@ impl ITraceRelogger { #[repr(C)] pub struct ITraceRelogger_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub AddLogfileTraceStream: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const core::ffi::c_void, *mut RELOGSTREAM_HANDLE) -> windows_core::HRESULT, - pub AddRealtimeTraceStream: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const core::ffi::c_void, *mut RELOGSTREAM_HANDLE) -> windows_core::HRESULT, + pub AddLogfileTraceStream: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::ffi::c_void, *mut RELOGSTREAM_HANDLE) -> windows_core::HRESULT, + pub AddRealtimeTraceStream: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::ffi::c_void, *mut RELOGSTREAM_HANDLE) -> windows_core::HRESULT, pub RegisterCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Inject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateEventInstance: unsafe extern "system" fn(*mut core::ffi::c_void, RELOGSTREAM_HANDLE, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessTrace: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetOutputFilename: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOutputFilename: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetCompressionMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOLEAN) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } 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 942e55c744..c4f9fda473 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -38,7 +38,7 @@ windows_core::imp::define_interface!(IDtcLuConfigure, IDtcLuConfigure_Vtbl, 0x41 impl std::ops::Deref for IDtcLuConfigure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuConfigure, windows_core::IUnknown); @@ -60,7 +60,7 @@ windows_core::imp::define_interface!(IDtcLuRecovery, IDtcLuRecovery_Vtbl, 0xac2b impl std::ops::Deref for IDtcLuRecovery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRecovery, windows_core::IUnknown); @@ -73,13 +73,13 @@ windows_core::imp::define_interface!(IDtcLuRecoveryFactory, IDtcLuRecoveryFactor impl std::ops::Deref for IDtcLuRecoveryFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRecoveryFactory, windows_core::IUnknown); impl IDtcLuRecoveryFactory { pub unsafe fn Create(&self, puclupair: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), core::mem::transmute(puclupair.as_ptr()), puclupair.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -92,7 +92,7 @@ windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByDtc, IDtcLuRecover impl std::ops::Deref for IDtcLuRecoveryInitiatedByDtc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtc, windows_core::IUnknown); @@ -110,7 +110,7 @@ windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByDtcStatusWork, IDt impl std::ops::Deref for IDtcLuRecoveryInitiatedByDtcStatusWork { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcStatusWork, windows_core::IUnknown); @@ -128,7 +128,7 @@ windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByDtcTransWork, IDtc impl std::ops::Deref for IDtcLuRecoveryInitiatedByDtcTransWork { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcTransWork, windows_core::IUnknown); @@ -194,13 +194,13 @@ windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByLu, IDtcLuRecovery impl std::ops::Deref for IDtcLuRecoveryInitiatedByLu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByLu, windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByLu { pub unsafe fn GetObjectToHandleWorkFromLu(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectToHandleWorkFromLu)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -213,7 +213,7 @@ windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByLuWork, IDtcLuReco impl std::ops::Deref for IDtcLuRecoveryInitiatedByLuWork { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByLuWork, windows_core::IUnknown); @@ -259,7 +259,7 @@ windows_core::imp::define_interface!(IDtcLuRmEnlistment, IDtcLuRmEnlistment_Vtbl impl std::ops::Deref for IDtcLuRmEnlistment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRmEnlistment, windows_core::IUnknown); @@ -300,7 +300,7 @@ windows_core::imp::define_interface!(IDtcLuRmEnlistmentFactory, IDtcLuRmEnlistme impl std::ops::Deref for IDtcLuRmEnlistmentFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRmEnlistmentFactory, windows_core::IUnknown); @@ -322,7 +322,7 @@ windows_core::imp::define_interface!(IDtcLuRmEnlistmentSink, IDtcLuRmEnlistmentS impl std::ops::Deref for IDtcLuRmEnlistmentSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuRmEnlistmentSink, windows_core::IUnknown); @@ -372,7 +372,7 @@ windows_core::imp::define_interface!(IDtcLuSubordinateDtc, IDtcLuSubordinateDtc_ impl std::ops::Deref for IDtcLuSubordinateDtc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuSubordinateDtc, windows_core::IUnknown); @@ -417,7 +417,7 @@ windows_core::imp::define_interface!(IDtcLuSubordinateDtcFactory, IDtcLuSubordin impl std::ops::Deref for IDtcLuSubordinateDtcFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuSubordinateDtcFactory, windows_core::IUnknown); @@ -440,7 +440,7 @@ windows_core::imp::define_interface!(IDtcLuSubordinateDtcSink, IDtcLuSubordinate impl std::ops::Deref for IDtcLuSubordinateDtcSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcLuSubordinateDtcSink, windows_core::IUnknown); @@ -486,13 +486,13 @@ windows_core::imp::define_interface!(IDtcNetworkAccessConfig, IDtcNetworkAccessC impl std::ops::Deref for IDtcNetworkAccessConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcNetworkAccessConfig, windows_core::IUnknown); impl IDtcNetworkAccessConfig { pub unsafe fn GetAnyNetworkAccess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAnyNetworkAccess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAnyNetworkAccess(&self, banynetworkaccess: P0) -> windows_core::Result<()> @@ -502,7 +502,7 @@ impl IDtcNetworkAccessConfig { (windows_core::Interface::vtable(self).SetAnyNetworkAccess)(windows_core::Interface::as_raw(self), banynetworkaccess.param().abi()).ok() } pub unsafe fn GetNetworkAdministrationAccess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkAdministrationAccess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNetworkAdministrationAccess(&self, bnetworkadministrationaccess: P0) -> windows_core::Result<()> @@ -512,7 +512,7 @@ impl IDtcNetworkAccessConfig { (windows_core::Interface::vtable(self).SetNetworkAdministrationAccess)(windows_core::Interface::as_raw(self), bnetworkadministrationaccess.param().abi()).ok() } pub unsafe fn GetNetworkTransactionAccess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkTransactionAccess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNetworkTransactionAccess(&self, bnetworktransactionaccess: P0) -> windows_core::Result<()> @@ -522,7 +522,7 @@ impl IDtcNetworkAccessConfig { (windows_core::Interface::vtable(self).SetNetworkTransactionAccess)(windows_core::Interface::as_raw(self), bnetworktransactionaccess.param().abi()).ok() } pub unsafe fn GetNetworkClientAccess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkClientAccess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNetworkClientAccess(&self, bnetworkclientaccess: P0) -> windows_core::Result<()> @@ -532,7 +532,7 @@ impl IDtcNetworkAccessConfig { (windows_core::Interface::vtable(self).SetNetworkClientAccess)(windows_core::Interface::as_raw(self), bnetworkclientaccess.param().abi()).ok() } pub unsafe fn GetNetworkTIPAccess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkTIPAccess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNetworkTIPAccess(&self, bnetworktipaccess: P0) -> windows_core::Result<()> @@ -542,7 +542,7 @@ impl IDtcNetworkAccessConfig { (windows_core::Interface::vtable(self).SetNetworkTIPAccess)(windows_core::Interface::as_raw(self), bnetworktipaccess.param().abi()).ok() } pub unsafe fn GetXAAccess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXAAccess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetXAAccess(&self, bxaaccess: P0) -> windows_core::Result<()> @@ -576,17 +576,17 @@ windows_core::imp::define_interface!(IDtcNetworkAccessConfig2, IDtcNetworkAccess impl std::ops::Deref for IDtcNetworkAccessConfig2 { type Target = IDtcNetworkAccessConfig; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcNetworkAccessConfig2, windows_core::IUnknown, IDtcNetworkAccessConfig); impl IDtcNetworkAccessConfig2 { pub unsafe fn GetNetworkInboundAccess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkInboundAccess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNetworkOutboundAccess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNetworkOutboundAccess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNetworkInboundAccess(&self, binbound: P0) -> windows_core::Result<()> @@ -602,7 +602,7 @@ impl IDtcNetworkAccessConfig2 { (windows_core::Interface::vtable(self).SetNetworkOutboundAccess)(windows_core::Interface::as_raw(self), boutbound.param().abi()).ok() } pub unsafe fn GetAuthenticationLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAuthenticationLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAuthenticationLevel(&self, authlevel: AUTHENTICATION_LEVEL) -> windows_core::Result<()> { @@ -623,13 +623,13 @@ windows_core::imp::define_interface!(IDtcNetworkAccessConfig3, IDtcNetworkAccess impl std::ops::Deref for IDtcNetworkAccessConfig3 { type Target = IDtcNetworkAccessConfig2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcNetworkAccessConfig3, windows_core::IUnknown, IDtcNetworkAccessConfig, IDtcNetworkAccessConfig2); impl IDtcNetworkAccessConfig3 { pub unsafe fn GetLUAccess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLUAccess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLUAccess(&self, bluaccess: P0) -> windows_core::Result<()> @@ -649,7 +649,7 @@ windows_core::imp::define_interface!(IDtcToXaHelper, IDtcToXaHelper_Vtbl, 0xa986 impl std::ops::Deref for IDtcToXaHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcToXaHelper, windows_core::IUnknown); @@ -677,7 +677,7 @@ windows_core::imp::define_interface!(IDtcToXaHelperFactory, IDtcToXaHelperFactor impl std::ops::Deref for IDtcToXaHelperFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcToXaHelperFactory, windows_core::IUnknown); @@ -699,7 +699,7 @@ windows_core::imp::define_interface!(IDtcToXaHelperSinglePipe, IDtcToXaHelperSin impl std::ops::Deref for IDtcToXaHelperSinglePipe { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcToXaHelperSinglePipe, windows_core::IUnknown); @@ -719,7 +719,7 @@ impl IDtcToXaHelperSinglePipe { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnlistWithRM)(windows_core::Interface::as_raw(self), dwrmcookie, i_pitransaction.param().abi(), i_pitransres.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReleaseRMCookie(&self, i_dwrmcookie: u32, i_fnormal: P0) @@ -741,7 +741,7 @@ windows_core::imp::define_interface!(IDtcToXaMapper, IDtcToXaMapper_Vtbl, 0x64ff impl std::ops::Deref for IDtcToXaMapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDtcToXaMapper, windows_core::IUnknown); @@ -775,7 +775,7 @@ windows_core::imp::define_interface!(IGetDispenser, IGetDispenser_Vtbl, 0xc23cc3 impl std::ops::Deref for IGetDispenser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetDispenser, windows_core::IUnknown); @@ -793,13 +793,13 @@ windows_core::imp::define_interface!(IKernelTransaction, IKernelTransaction_Vtbl impl std::ops::Deref for IKernelTransaction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKernelTransaction, windows_core::IUnknown); impl IKernelTransaction { pub unsafe fn GetHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -812,7 +812,7 @@ windows_core::imp::define_interface!(ILastResourceManager, ILastResourceManager_ impl std::ops::Deref for ILastResourceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILastResourceManager, windows_core::IUnknown); @@ -834,7 +834,7 @@ windows_core::imp::define_interface!(IPrepareInfo, IPrepareInfo_Vtbl, 0x80c7bfd0 impl std::ops::Deref for IPrepareInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrepareInfo, windows_core::IUnknown); @@ -856,13 +856,13 @@ windows_core::imp::define_interface!(IPrepareInfo2, IPrepareInfo2_Vtbl, 0x5fab25 impl std::ops::Deref for IPrepareInfo2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrepareInfo2, windows_core::IUnknown); impl IPrepareInfo2 { pub unsafe fn GetPrepareInfoSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrepareInfoSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPrepareInfo(&self, pprepinfo: &mut [u8]) -> windows_core::Result<()> { @@ -879,7 +879,7 @@ windows_core::imp::define_interface!(IRMHelper, IRMHelper_Vtbl, 0xe793f6d1_f53d_ impl std::ops::Deref for IRMHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRMHelper, windows_core::IUnknown); @@ -906,7 +906,7 @@ windows_core::imp::define_interface!(IResourceManager, IResourceManager_Vtbl, 0x impl std::ops::Deref for IResourceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResourceManager, windows_core::IUnknown); @@ -919,7 +919,7 @@ impl IResourceManager { (windows_core::Interface::vtable(self).Enlist)(windows_core::Interface::as_raw(self), ptransaction.param().abi(), pres.param().abi(), puow, pisolevel, core::mem::transmute(ppenlist)).ok() } pub unsafe fn Reenlist(&self, pprepinfo: &[u8], ltimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Reenlist)(windows_core::Interface::as_raw(self), core::mem::transmute(pprepinfo.as_ptr()), pprepinfo.len().try_into().unwrap(), ltimeout, &mut result__).map(|| result__) } pub unsafe fn ReenlistmentComplete(&self) -> windows_core::Result<()> { @@ -941,7 +941,7 @@ windows_core::imp::define_interface!(IResourceManager2, IResourceManager2_Vtbl, impl std::ops::Deref for IResourceManager2 { type Target = IResourceManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResourceManager2, windows_core::IUnknown, IResourceManager); @@ -954,7 +954,7 @@ impl IResourceManager2 { (windows_core::Interface::vtable(self).Enlist2)(windows_core::Interface::as_raw(self), ptransaction.param().abi(), presasync.param().abi(), puow, pisolevel, pxid, core::mem::transmute(ppenlist)).ok() } pub unsafe fn Reenlist2(&self, pxid: *const XID, dwtimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Reenlist2)(windows_core::Interface::as_raw(self), pxid, dwtimeout, &mut result__).map(|| result__) } } @@ -968,7 +968,7 @@ windows_core::imp::define_interface!(IResourceManagerFactory, IResourceManagerFa impl std::ops::Deref for IResourceManagerFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResourceManagerFactory, windows_core::IUnknown); @@ -978,7 +978,7 @@ impl IResourceManagerFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), pguidrm, pszrmname.param().abi(), piresmgrsink.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -991,7 +991,7 @@ windows_core::imp::define_interface!(IResourceManagerFactory2, IResourceManagerF impl std::ops::Deref for IResourceManagerFactory2 { type Target = IResourceManagerFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResourceManagerFactory2, windows_core::IUnknown, IResourceManagerFactory); @@ -1013,13 +1013,13 @@ windows_core::imp::define_interface!(IResourceManagerRejoinable, IResourceManage impl std::ops::Deref for IResourceManagerRejoinable { type Target = IResourceManager2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResourceManagerRejoinable, windows_core::IUnknown, IResourceManager, IResourceManager2); impl IResourceManagerRejoinable { pub unsafe fn Rejoin(&self, pprepinfo: &[u8], ltimeout: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rejoin)(windows_core::Interface::as_raw(self), core::mem::transmute(pprepinfo.as_ptr()), pprepinfo.len().try_into().unwrap(), ltimeout, &mut result__).map(|| result__) } } @@ -1032,7 +1032,7 @@ windows_core::imp::define_interface!(IResourceManagerSink, IResourceManagerSink_ impl std::ops::Deref for IResourceManagerSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResourceManagerSink, windows_core::IUnknown); @@ -1050,24 +1050,24 @@ windows_core::imp::define_interface!(ITipHelper, ITipHelper_Vtbl, 0x17cf72d1_bac impl std::ops::Deref for ITipHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITipHelper, windows_core::IUnknown); impl ITipHelper { pub unsafe fn Pull(&self, i_psztxurl: *const u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pull)(windows_core::Interface::as_raw(self), i_psztxurl, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PullAsync(&self, i_psztxurl: *const u8, i_ptippullsink: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PullAsync)(windows_core::Interface::as_raw(self), i_psztxurl, i_ptippullsink.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLocalTmUrl(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocalTmUrl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1082,7 +1082,7 @@ windows_core::imp::define_interface!(ITipPullSink, ITipPullSink_Vtbl, 0x17cf72d2 impl std::ops::Deref for ITipPullSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITipPullSink, windows_core::IUnknown); @@ -1100,17 +1100,17 @@ windows_core::imp::define_interface!(ITipTransaction, ITipTransaction_Vtbl, 0x17 impl std::ops::Deref for ITipTransaction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITipTransaction, windows_core::IUnknown); impl ITipTransaction { pub unsafe fn Push(&self, i_pszremotetmurl: *const u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Push)(windows_core::Interface::as_raw(self), i_pszremotetmurl, &mut result__).map(|| result__) } pub unsafe fn GetTransactionUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransactionUrl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1124,13 +1124,13 @@ windows_core::imp::define_interface!(ITmNodeName, ITmNodeName_Vtbl, 0x30274f88_6 impl std::ops::Deref for ITmNodeName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITmNodeName, windows_core::IUnknown); impl ITmNodeName { pub unsafe fn GetNodeNameSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNodeNameSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNodeName(&self, cbnodenamebuffersize: u32, pnodenamebuffer: windows_core::PWSTR) -> windows_core::Result<()> { @@ -1147,7 +1147,7 @@ windows_core::imp::define_interface!(ITransaction, ITransaction_Vtbl, 0x0fb15084 impl std::ops::Deref for ITransaction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransaction, windows_core::IUnknown); @@ -1180,7 +1180,7 @@ windows_core::imp::define_interface!(ITransaction2, ITransaction2_Vtbl, 0x340215 impl std::ops::Deref for ITransaction2 { type Target = ITransactionCloner; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransaction2, windows_core::IUnknown, ITransaction, ITransactionCloner); @@ -1198,13 +1198,13 @@ windows_core::imp::define_interface!(ITransactionCloner, ITransactionCloner_Vtbl impl std::ops::Deref for ITransactionCloner { type Target = ITransaction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionCloner, windows_core::IUnknown, ITransaction); impl ITransactionCloner { pub unsafe fn CloneWithCommitDisabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CloneWithCommitDisabled)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1217,13 +1217,13 @@ windows_core::imp::define_interface!(ITransactionDispenser, ITransactionDispense impl std::ops::Deref for ITransactionDispenser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionDispenser, windows_core::IUnknown); impl ITransactionDispenser { pub unsafe fn GetOptionsObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionsObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BeginTransaction(&self, punkouter: P0, isolevel: i32, isoflags: u32, poptions: P1) -> windows_core::Result @@ -1231,7 +1231,7 @@ impl ITransactionDispenser { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginTransaction)(windows_core::Interface::as_raw(self), punkouter.param().abi(), isolevel, isoflags, poptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1245,7 +1245,7 @@ windows_core::imp::define_interface!(ITransactionEnlistmentAsync, ITransactionEn impl std::ops::Deref for ITransactionEnlistmentAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionEnlistmentAsync, windows_core::IUnknown); @@ -1278,7 +1278,7 @@ windows_core::imp::define_interface!(ITransactionExport, ITransactionExport_Vtbl impl std::ops::Deref for ITransactionExport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionExport, windows_core::IUnknown); @@ -1287,7 +1287,7 @@ impl ITransactionExport { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Export)(windows_core::Interface::as_raw(self), punktransaction.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetTransactionCookie(&self, punktransaction: P0, rgbtransactioncookie: &mut [u8], pcbused: *mut u32) -> windows_core::Result<()> @@ -1307,17 +1307,17 @@ windows_core::imp::define_interface!(ITransactionExportFactory, ITransactionExpo impl std::ops::Deref for ITransactionExportFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionExportFactory, windows_core::IUnknown); impl ITransactionExportFactory { pub unsafe fn GetRemoteClassId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRemoteClassId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Create(&self, rgbwhereabouts: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), rgbwhereabouts.len().try_into().unwrap(), core::mem::transmute(rgbwhereabouts.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1331,7 +1331,7 @@ windows_core::imp::define_interface!(ITransactionImport, ITransactionImport_Vtbl impl std::ops::Deref for ITransactionImport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionImport, windows_core::IUnknown); @@ -1353,13 +1353,13 @@ windows_core::imp::define_interface!(ITransactionImportWhereabouts, ITransaction impl std::ops::Deref for ITransactionImportWhereabouts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionImportWhereabouts, windows_core::IUnknown); impl ITransactionImportWhereabouts { pub unsafe fn GetWhereaboutsSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWhereaboutsSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWhereabouts(&self, rgbwhereabouts: &mut [u8], pcbused: *mut u32) -> windows_core::Result<()> { @@ -1376,7 +1376,7 @@ windows_core::imp::define_interface!(ITransactionLastEnlistmentAsync, ITransacti impl std::ops::Deref for ITransactionLastEnlistmentAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionLastEnlistmentAsync, windows_core::IUnknown); @@ -1394,7 +1394,7 @@ windows_core::imp::define_interface!(ITransactionLastResourceAsync, ITransaction impl std::ops::Deref for ITransactionLastResourceAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionLastResourceAsync, windows_core::IUnknown); @@ -1416,7 +1416,7 @@ windows_core::imp::define_interface!(ITransactionOptions, ITransactionOptions_Vt impl std::ops::Deref for ITransactionOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionOptions, windows_core::IUnknown); @@ -1438,7 +1438,7 @@ windows_core::imp::define_interface!(ITransactionOutcomeEvents, ITransactionOutc impl std::ops::Deref for ITransactionOutcomeEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionOutcomeEvents, windows_core::IUnknown); @@ -1474,7 +1474,7 @@ windows_core::imp::define_interface!(ITransactionPhase0EnlistmentAsync, ITransac impl std::ops::Deref for ITransactionPhase0EnlistmentAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionPhase0EnlistmentAsync, windows_core::IUnknown); @@ -1492,7 +1492,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1509,7 +1509,7 @@ windows_core::imp::define_interface!(ITransactionPhase0Factory, ITransactionPhas impl std::ops::Deref for ITransactionPhase0Factory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionPhase0Factory, windows_core::IUnknown); @@ -1518,7 +1518,7 @@ impl ITransactionPhase0Factory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), pphase0notify.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1531,7 +1531,7 @@ windows_core::imp::define_interface!(ITransactionPhase0NotifyAsync, ITransaction impl std::ops::Deref for ITransactionPhase0NotifyAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionPhase0NotifyAsync, windows_core::IUnknown); @@ -1556,17 +1556,17 @@ windows_core::imp::define_interface!(ITransactionReceiver, ITransactionReceiver_ impl std::ops::Deref for ITransactionReceiver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionReceiver, windows_core::IUnknown); impl ITransactionReceiver { pub unsafe fn UnmarshalPropagationToken(&self, rgbtoken: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UnmarshalPropagationToken)(windows_core::Interface::as_raw(self), rgbtoken.len().try_into().unwrap(), core::mem::transmute(rgbtoken.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetReturnTokenSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReturnTokenSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MarshalReturnToken(&self, rgbreturntoken: &mut [u8], pcbused: *mut u32) -> windows_core::Result<()> { @@ -1588,13 +1588,13 @@ windows_core::imp::define_interface!(ITransactionReceiverFactory, ITransactionRe impl std::ops::Deref for ITransactionReceiverFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionReceiverFactory, windows_core::IUnknown); impl ITransactionReceiverFactory { pub unsafe fn Create(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1607,7 +1607,7 @@ windows_core::imp::define_interface!(ITransactionResource, ITransactionResource_ impl std::ops::Deref for ITransactionResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionResource, windows_core::IUnknown); @@ -1645,7 +1645,7 @@ windows_core::imp::define_interface!(ITransactionResourceAsync, ITransactionReso impl std::ops::Deref for ITransactionResourceAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionResourceAsync, windows_core::IUnknown); @@ -1683,7 +1683,7 @@ windows_core::imp::define_interface!(ITransactionTransmitter, ITransactionTransm impl std::ops::Deref for ITransactionTransmitter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionTransmitter, windows_core::IUnknown); @@ -1695,7 +1695,7 @@ impl ITransactionTransmitter { (windows_core::Interface::vtable(self).Set)(windows_core::Interface::as_raw(self), ptransaction.param().abi()).ok() } pub unsafe fn GetPropagationTokenSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropagationTokenSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MarshalPropagationToken(&self, rgbtoken: &mut [u8], pcbused: *mut u32) -> windows_core::Result<()> { @@ -1721,13 +1721,13 @@ windows_core::imp::define_interface!(ITransactionTransmitterFactory, ITransactio impl std::ops::Deref for ITransactionTransmitterFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionTransmitterFactory, windows_core::IUnknown); impl ITransactionTransmitterFactory { pub unsafe fn Create(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1740,7 +1740,7 @@ windows_core::imp::define_interface!(ITransactionVoterBallotAsync2, ITransaction impl std::ops::Deref for ITransactionVoterBallotAsync2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionVoterBallotAsync2, windows_core::IUnknown); @@ -1758,7 +1758,7 @@ windows_core::imp::define_interface!(ITransactionVoterFactory2, ITransactionVote impl std::ops::Deref for ITransactionVoterFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionVoterFactory2, windows_core::IUnknown); @@ -1768,7 +1768,7 @@ impl ITransactionVoterFactory2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), ptransaction.param().abi(), pvoternotify.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1781,7 +1781,7 @@ windows_core::imp::define_interface!(ITransactionVoterNotifyAsync2, ITransaction impl std::ops::Deref for ITransactionVoterNotifyAsync2 { type Target = ITransactionOutcomeEvents; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionVoterNotifyAsync2, windows_core::IUnknown, ITransactionOutcomeEvents); @@ -1799,7 +1799,7 @@ windows_core::imp::define_interface!(IXAConfig, IXAConfig_Vtbl, 0xc8a6e3a1_9a8c_ impl std::ops::Deref for IXAConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAConfig, windows_core::IUnknown); @@ -1821,7 +1821,7 @@ windows_core::imp::define_interface!(IXAObtainRMInfo, IXAObtainRMInfo_Vtbl, 0xe7 impl std::ops::Deref for IXAObtainRMInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXAObtainRMInfo, windows_core::IUnknown); @@ -1842,13 +1842,13 @@ windows_core::imp::define_interface!(IXATransLookup, IXATransLookup_Vtbl, 0xf3b1 impl std::ops::Deref for IXATransLookup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXATransLookup, windows_core::IUnknown); impl IXATransLookup { pub unsafe fn Lookup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Lookup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1861,13 +1861,13 @@ windows_core::imp::define_interface!(IXATransLookup2, IXATransLookup2_Vtbl, 0xbf impl std::ops::Deref for IXATransLookup2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IXATransLookup2, windows_core::IUnknown); impl IXATransLookup2 { pub unsafe fn Lookup(&self, pxid: *const XID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Lookup)(windows_core::Interface::as_raw(self), pxid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } 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 23145bad83..60857f01a7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ErrorReporting/mod.rs @@ -43,7 +43,7 @@ where P0: windows_core::Param, { windows_targets::link!("kernel32.dll" "system" fn WerGetFlags(hprocess : super::super::Foundation:: HANDLE, pdwflags : *mut WER_FAULT_REPORTING) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WerGetFlags(hprocess.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -137,7 +137,7 @@ where P0: windows_core::Param, { windows_targets::link!("wer.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WerReportCreate(pwzeventtype.param().abi(), reptype, core::mem::transmute(preportinformation.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -211,7 +211,7 @@ where P0: windows_core::Param, { windows_targets::link!("wer.dll" "system" fn WerStoreGetReportCount(hreportstore : HREPORTSTORE, pdwreportcount : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WerStoreGetReportCount(hreportstore.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -220,13 +220,13 @@ where P0: windows_core::Param, { windows_targets::link!("wer.dll" "system" fn WerStoreGetSizeOnDisk(hreportstore : HREPORTSTORE, pqwsizeinbytes : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WerStoreGetSizeOnDisk(hreportstore.param().abi(), &mut result__).map(|| result__) } #[inline] pub unsafe fn WerStoreOpen(repstoretype: REPORT_STORE_TYPES) -> windows_core::Result { windows_targets::link!("wer.dll" "system" fn WerStoreOpen(repstoretype : REPORT_STORE_TYPES, phreportstore : *mut HREPORTSTORE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WerStoreOpen(repstoretype, &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs index d1a824e6bf..2e246bb681 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs @@ -13,37 +13,37 @@ impl windows_core::RuntimeName for ISensLogon {} #[cfg(feature = "Win32_System_Com")] impl ISensLogon_Vtbl { pub const fn new, Impl: ISensLogon_Impl, const OFFSET: isize>() -> ISensLogon_Vtbl { - unsafe extern "system" fn Logon, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Logon, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon_Impl::Logon(this, core::mem::transmute(&bstrusername)).into() } - unsafe extern "system" fn Logoff, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Logoff, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon_Impl::Logoff(this, core::mem::transmute(&bstrusername)).into() } - unsafe extern "system" fn StartShell, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StartShell, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon_Impl::StartShell(this, core::mem::transmute(&bstrusername)).into() } - unsafe extern "system" fn DisplayLock, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayLock, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon_Impl::DisplayLock(this, core::mem::transmute(&bstrusername)).into() } - unsafe extern "system" fn DisplayUnlock, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayUnlock, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon_Impl::DisplayUnlock(this, core::mem::transmute(&bstrusername)).into() } - unsafe extern "system" fn StartScreenSaver, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StartScreenSaver, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon_Impl::StartScreenSaver(this, core::mem::transmute(&bstrusername)).into() } - unsafe extern "system" fn StopScreenSaver, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StopScreenSaver, Impl: ISensLogon_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon_Impl::StopScreenSaver(this, core::mem::transmute(&bstrusername)).into() @@ -76,27 +76,27 @@ impl windows_core::RuntimeName for ISensLogon2 {} #[cfg(feature = "Win32_System_Com")] impl ISensLogon2_Vtbl { pub const fn new, Impl: ISensLogon2_Impl, const OFFSET: isize>() -> ISensLogon2_Vtbl { - unsafe extern "system" fn Logon, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { + unsafe extern "system" fn Logon, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon2_Impl::Logon(this, core::mem::transmute(&bstrusername), core::mem::transmute_copy(&dwsessionid)).into() } - unsafe extern "system" fn Logoff, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { + unsafe extern "system" fn Logoff, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon2_Impl::Logoff(this, core::mem::transmute(&bstrusername), core::mem::transmute_copy(&dwsessionid)).into() } - unsafe extern "system" fn SessionDisconnect, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { + unsafe extern "system" fn SessionDisconnect, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon2_Impl::SessionDisconnect(this, core::mem::transmute(&bstrusername), core::mem::transmute_copy(&dwsessionid)).into() } - unsafe extern "system" fn SessionReconnect, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { + unsafe extern "system" fn SessionReconnect, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon2_Impl::SessionReconnect(this, core::mem::transmute(&bstrusername), core::mem::transmute_copy(&dwsessionid)).into() } - unsafe extern "system" fn PostShell, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { + unsafe extern "system" fn PostShell, Impl: ISensLogon2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit, dwsessionid: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensLogon2_Impl::PostShell(this, core::mem::transmute(&bstrusername), core::mem::transmute_copy(&dwsessionid)).into() @@ -127,27 +127,27 @@ impl windows_core::RuntimeName for ISensNetwork {} #[cfg(feature = "Win32_System_Com")] impl ISensNetwork_Vtbl { pub const fn new, Impl: ISensNetwork_Impl, const OFFSET: isize>() -> ISensNetwork_Vtbl { - unsafe extern "system" fn ConnectionMade, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnection: std::mem::MaybeUninit, ultype: u32, lpqocinfo: *const SENS_QOCINFO) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectionMade, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnection: core::mem::MaybeUninit, ultype: u32, lpqocinfo: *const SENS_QOCINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensNetwork_Impl::ConnectionMade(this, core::mem::transmute(&bstrconnection), core::mem::transmute_copy(&ultype), core::mem::transmute_copy(&lpqocinfo)).into() } - unsafe extern "system" fn ConnectionMadeNoQOCInfo, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnection: std::mem::MaybeUninit, ultype: u32) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectionMadeNoQOCInfo, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnection: core::mem::MaybeUninit, ultype: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensNetwork_Impl::ConnectionMadeNoQOCInfo(this, core::mem::transmute(&bstrconnection), core::mem::transmute_copy(&ultype)).into() } - unsafe extern "system" fn ConnectionLost, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnection: std::mem::MaybeUninit, ultype: SENS_CONNECTION_TYPE) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectionLost, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnection: core::mem::MaybeUninit, ultype: SENS_CONNECTION_TYPE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensNetwork_Impl::ConnectionLost(this, core::mem::transmute(&bstrconnection), core::mem::transmute_copy(&ultype)).into() } - unsafe extern "system" fn DestinationReachable, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdestination: std::mem::MaybeUninit, bstrconnection: std::mem::MaybeUninit, ultype: u32, lpqocinfo: *const SENS_QOCINFO) -> windows_core::HRESULT { + unsafe extern "system" fn DestinationReachable, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdestination: core::mem::MaybeUninit, bstrconnection: core::mem::MaybeUninit, ultype: u32, lpqocinfo: *const SENS_QOCINFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensNetwork_Impl::DestinationReachable(this, core::mem::transmute(&bstrdestination), core::mem::transmute(&bstrconnection), core::mem::transmute_copy(&ultype), core::mem::transmute_copy(&lpqocinfo)).into() } - unsafe extern "system" fn DestinationReachableNoQOCInfo, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdestination: std::mem::MaybeUninit, bstrconnection: std::mem::MaybeUninit, ultype: u32) -> windows_core::HRESULT { + unsafe extern "system" fn DestinationReachableNoQOCInfo, Impl: ISensNetwork_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdestination: core::mem::MaybeUninit, bstrconnection: core::mem::MaybeUninit, ultype: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISensNetwork_Impl::DestinationReachableNoQOCInfo(this, core::mem::transmute(&bstrdestination), core::mem::transmute(&bstrconnection), core::mem::transmute_copy(&ultype)).into() diff --git a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs index bc253c08cb..8e53beafff 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs @@ -25,7 +25,7 @@ windows_core::imp::define_interface!(ISensLogon, ISensLogon_Vtbl, 0xd597bab3_5b9 impl std::ops::Deref for ISensLogon { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -79,13 +79,13 @@ impl ISensLogon { #[repr(C)] pub struct ISensLogon_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Logon: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Logoff: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StartShell: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayLock: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayUnlock: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StartScreenSaver: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StopScreenSaver: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Logon: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Logoff: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartShell: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayLock: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayUnlock: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartScreenSaver: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StopScreenSaver: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISensLogon2, ISensLogon2_Vtbl, 0xd597bab4_5b9f_11d1_8dd2_00aa004abd5e); @@ -93,7 +93,7 @@ windows_core::imp::define_interface!(ISensLogon2, ISensLogon2_Vtbl, 0xd597bab4_5 impl std::ops::Deref for ISensLogon2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -135,11 +135,11 @@ impl ISensLogon2 { #[repr(C)] pub struct ISensLogon2_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Logon: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, - pub Logoff: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, - pub SessionDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, - pub SessionReconnect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, - pub PostShell: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub Logon: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub Logoff: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub SessionDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub SessionReconnect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub PostShell: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISensNetwork, ISensNetwork_Vtbl, 0xd597bab1_5b9f_11d1_8dd2_00aa004abd5e); @@ -147,7 +147,7 @@ windows_core::imp::define_interface!(ISensNetwork, ISensNetwork_Vtbl, 0xd597bab1 impl std::ops::Deref for ISensNetwork { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -191,11 +191,11 @@ impl ISensNetwork { #[repr(C)] pub struct ISensNetwork_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ConnectionMade: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const SENS_QOCINFO) -> windows_core::HRESULT, - pub ConnectionMadeNoQOCInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, - pub ConnectionLost: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SENS_CONNECTION_TYPE) -> windows_core::HRESULT, - pub DestinationReachable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, *const SENS_QOCINFO) -> windows_core::HRESULT, - pub DestinationReachableNoQOCInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub ConnectionMade: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const SENS_QOCINFO) -> windows_core::HRESULT, + pub ConnectionMadeNoQOCInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub ConnectionLost: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SENS_CONNECTION_TYPE) -> windows_core::HRESULT, + pub DestinationReachable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *const SENS_QOCINFO) -> windows_core::HRESULT, + pub DestinationReachableNoQOCInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISensOnNow, ISensOnNow_Vtbl, 0xd597bab2_5b9f_11d1_8dd2_00aa004abd5e); @@ -203,7 +203,7 @@ windows_core::imp::define_interface!(ISensOnNow, ISensOnNow_Vtbl, 0xd597bab2_5b9 impl std::ops::Deref for ISensOnNow { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs index 748eb977dd..05a88ec489 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs @@ -97,7 +97,7 @@ impl windows_core::RuntimeName for IGPM {} #[cfg(feature = "Win32_System_Com")] impl IGPM_Vtbl { pub const fn new, Impl: IGPM_Impl, const OFFSET: isize>() -> IGPM_Vtbl { - unsafe extern "system" fn GetDomain, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdomain: std::mem::MaybeUninit, bstrdomaincontroller: std::mem::MaybeUninit, ldcflags: i32, pigpmdomain: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetDomain, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdomain: core::mem::MaybeUninit, bstrdomaincontroller: core::mem::MaybeUninit, ldcflags: i32, pigpmdomain: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPM_Impl::GetDomain(this, core::mem::transmute(&bstrdomain), core::mem::transmute(&bstrdomaincontroller), core::mem::transmute_copy(&ldcflags)) { @@ -108,7 +108,7 @@ impl IGPM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetBackupDir, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupdir: std::mem::MaybeUninit, pigpmbackupdir: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetBackupDir, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupdir: core::mem::MaybeUninit, pigpmbackupdir: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPM_Impl::GetBackupDir(this, core::mem::transmute(&bstrbackupdir)) { @@ -119,7 +119,7 @@ impl IGPM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSitesContainer, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrforest: std::mem::MaybeUninit, bstrdomain: std::mem::MaybeUninit, bstrdomaincontroller: std::mem::MaybeUninit, ldcflags: i32, ppigpmsitescontainer: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetSitesContainer, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrforest: core::mem::MaybeUninit, bstrdomain: core::mem::MaybeUninit, bstrdomaincontroller: core::mem::MaybeUninit, ldcflags: i32, ppigpmsitescontainer: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPM_Impl::GetSitesContainer(this, core::mem::transmute(&bstrforest), core::mem::transmute(&bstrdomain), core::mem::transmute(&bstrdomaincontroller), core::mem::transmute_copy(&ldcflags)) { @@ -130,7 +130,7 @@ impl IGPM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRSOP, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmrsopmode: GPMRSOPMode, bstrnamespace: std::mem::MaybeUninit, lflags: i32, ppigpmrsop: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetRSOP, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmrsopmode: GPMRSOPMode, bstrnamespace: core::mem::MaybeUninit, lflags: i32, ppigpmrsop: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPM_Impl::GetRSOP(this, core::mem::transmute_copy(&gpmrsopmode), core::mem::transmute(&bstrnamespace), core::mem::transmute_copy(&lflags)) { @@ -141,7 +141,7 @@ impl IGPM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreatePermission, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtrustee: std::mem::MaybeUninit, perm: GPMPermissionType, binheritable: super::super::Foundation::VARIANT_BOOL, ppperm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreatePermission, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtrustee: core::mem::MaybeUninit, perm: GPMPermissionType, binheritable: super::super::Foundation::VARIANT_BOOL, ppperm: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPM_Impl::CreatePermission(this, core::mem::transmute(&bstrtrustee), core::mem::transmute_copy(&perm), core::mem::transmute_copy(&binheritable)) { @@ -163,7 +163,7 @@ impl IGPM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateTrustee, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtrustee: std::mem::MaybeUninit, ppigpmtrustee: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTrustee, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtrustee: core::mem::MaybeUninit, ppigpmtrustee: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPM_Impl::CreateTrustee(this, core::mem::transmute(&bstrtrustee)) { @@ -196,7 +196,7 @@ impl IGPM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMigrationTable, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmigrationtablepath: std::mem::MaybeUninit, ppmigrationtable: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetMigrationTable, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmigrationtablepath: core::mem::MaybeUninit, ppmigrationtable: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPM_Impl::GetMigrationTable(this, core::mem::transmute(&bstrmigrationtablepath)) { @@ -218,7 +218,7 @@ impl IGPM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InitializeReporting, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeReporting, Impl: IGPM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPM_Impl::InitializeReporting(this, core::mem::transmute(&bstradmpath)).into() @@ -253,7 +253,7 @@ impl windows_core::RuntimeName for IGPM2 {} #[cfg(feature = "Win32_System_Com")] impl IGPM2_Vtbl { pub const fn new, Impl: IGPM2_Impl, const OFFSET: isize>() -> IGPM2_Vtbl { - unsafe extern "system" fn GetBackupDirEx, Impl: IGPM2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupdir: std::mem::MaybeUninit, backupdirtype: GPMBackupType, ppigpmbackupdirex: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetBackupDirEx, Impl: IGPM2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupdir: core::mem::MaybeUninit, backupdirtype: GPMBackupType, ppigpmbackupdirex: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPM2_Impl::GetBackupDirEx(this, core::mem::transmute(&bstrbackupdir), core::mem::transmute_copy(&backupdirtype)) { @@ -264,7 +264,7 @@ impl IGPM2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InitializeReportingEx, Impl: IGPM2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmpath: std::mem::MaybeUninit, reportingoptions: i32) -> windows_core::HRESULT { + unsafe extern "system" fn InitializeReportingEx, Impl: IGPM2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradmpath: core::mem::MaybeUninit, reportingoptions: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPM2_Impl::InitializeReportingEx(this, core::mem::transmute(&bstradmpath), core::mem::transmute_copy(&reportingoptions)).into() @@ -308,7 +308,7 @@ impl windows_core::RuntimeName for IGPMAsyncProgress {} #[cfg(feature = "Win32_System_Com")] impl IGPMAsyncProgress_Vtbl { pub const fn new, Impl: IGPMAsyncProgress_Impl, const OFFSET: isize>() -> IGPMAsyncProgress_Vtbl { - unsafe extern "system" fn Status, Impl: IGPMAsyncProgress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lprogressnumerator: i32, lprogressdenominator: i32, hrstatus: windows_core::HRESULT, presult: *const std::mem::MaybeUninit, ppigpmstatusmsgcollection: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Status, Impl: IGPMAsyncProgress_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lprogressnumerator: i32, lprogressdenominator: i32, hrstatus: windows_core::HRESULT, presult: *const core::mem::MaybeUninit, ppigpmstatusmsgcollection: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMAsyncProgress_Impl::Status(this, core::mem::transmute_copy(&lprogressnumerator), core::mem::transmute_copy(&lprogressdenominator), core::mem::transmute_copy(&hrstatus), core::mem::transmute_copy(&presult), windows_core::from_raw_borrowed(&ppigpmstatusmsgcollection)).into() @@ -337,7 +337,7 @@ impl windows_core::RuntimeName for IGPMBackup {} #[cfg(feature = "Win32_System_Com")] impl IGPMBackup_Vtbl { pub const fn new, Impl: IGPMBackup_Impl, const OFFSET: isize>() -> IGPMBackup_Vtbl { - unsafe extern "system" fn ID, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ID, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackup_Impl::ID(this) { @@ -348,7 +348,7 @@ impl IGPMBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GPOID, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GPOID, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackup_Impl::GPOID(this) { @@ -359,7 +359,7 @@ impl IGPMBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GPODomain, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GPODomain, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackup_Impl::GPODomain(this) { @@ -370,7 +370,7 @@ impl IGPMBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GPODisplayName, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GPODisplayName, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackup_Impl::GPODisplayName(this) { @@ -392,7 +392,7 @@ impl IGPMBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Comment, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Comment, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackup_Impl::Comment(this) { @@ -403,7 +403,7 @@ impl IGPMBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BackupDir, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BackupDir, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackup_Impl::BackupDir(this) { @@ -419,7 +419,7 @@ impl IGPMBackup_Vtbl { let this = (*this).get_impl(); IGPMBackup_Impl::Delete(this).into() } - unsafe extern "system" fn GenerateReport, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReport, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackup_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -430,7 +430,7 @@ impl IGPMBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GenerateReportToFile, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReportToFile, Impl: IGPMBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackup_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { @@ -481,7 +481,7 @@ impl IGPMBackupCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMBackupCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMBackupCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackupCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -525,7 +525,7 @@ impl windows_core::RuntimeName for IGPMBackupDir {} #[cfg(feature = "Win32_System_Com")] impl IGPMBackupDir_Vtbl { pub const fn new, Impl: IGPMBackupDir_Impl, const OFFSET: isize>() -> IGPMBackupDir_Vtbl { - unsafe extern "system" fn BackupDirectory, Impl: IGPMBackupDir_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BackupDirectory, Impl: IGPMBackupDir_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackupDir_Impl::BackupDirectory(this) { @@ -536,7 +536,7 @@ impl IGPMBackupDir_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetBackup, Impl: IGPMBackupDir_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrid: std::mem::MaybeUninit, ppbackup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetBackup, Impl: IGPMBackupDir_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrid: core::mem::MaybeUninit, ppbackup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackupDir_Impl::GetBackup(this, core::mem::transmute(&bstrid)) { @@ -581,7 +581,7 @@ impl windows_core::RuntimeName for IGPMBackupDirEx {} #[cfg(feature = "Win32_System_Com")] impl IGPMBackupDirEx_Vtbl { pub const fn new, Impl: IGPMBackupDirEx_Impl, const OFFSET: isize>() -> IGPMBackupDirEx_Vtbl { - unsafe extern "system" fn BackupDir, Impl: IGPMBackupDirEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupdir: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BackupDir, Impl: IGPMBackupDirEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupdir: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackupDirEx_Impl::BackupDir(this) { @@ -603,7 +603,7 @@ impl IGPMBackupDirEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetBackup, Impl: IGPMBackupDirEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrid: std::mem::MaybeUninit, pvarbackup: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetBackup, Impl: IGPMBackupDirEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrid: core::mem::MaybeUninit, pvarbackup: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackupDirEx_Impl::GetBackup(this, core::mem::transmute(&bstrid)) { @@ -614,7 +614,7 @@ impl IGPMBackupDirEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SearchBackups, Impl: IGPMBackupDirEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pigpmsearchcriteria: *mut core::ffi::c_void, pvarbackupcollection: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SearchBackups, Impl: IGPMBackupDirEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pigpmsearchcriteria: *mut core::ffi::c_void, pvarbackupcollection: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMBackupDirEx_Impl::SearchBackups(this, windows_core::from_raw_borrowed(&pigpmsearchcriteria)) { @@ -659,7 +659,7 @@ impl IGPMCSECollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMCSECollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMCSECollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMCSECollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -704,7 +704,7 @@ impl windows_core::RuntimeName for IGPMClientSideExtension {} #[cfg(feature = "Win32_System_Com")] impl IGPMClientSideExtension_Vtbl { pub const fn new, Impl: IGPMClientSideExtension_Impl, const OFFSET: isize>() -> IGPMClientSideExtension_Vtbl { - unsafe extern "system" fn ID, Impl: IGPMClientSideExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ID, Impl: IGPMClientSideExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMClientSideExtension_Impl::ID(this) { @@ -715,7 +715,7 @@ impl IGPMClientSideExtension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: IGPMClientSideExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IGPMClientSideExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMClientSideExtension_Impl::DisplayName(this) { @@ -1785,7 +1785,7 @@ impl windows_core::RuntimeName for IGPMDomain {} #[cfg(feature = "Win32_System_Com")] impl IGPMDomain_Vtbl { pub const fn new, Impl: IGPMDomain_Impl, const OFFSET: isize>() -> IGPMDomain_Vtbl { - unsafe extern "system" fn DomainController, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DomainController, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain_Impl::DomainController(this) { @@ -1796,7 +1796,7 @@ impl IGPMDomain_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Domain, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Domain, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain_Impl::Domain(this) { @@ -1818,7 +1818,7 @@ impl IGPMDomain_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetGPO, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: std::mem::MaybeUninit, ppgpo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetGPO, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: core::mem::MaybeUninit, ppgpo: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain_Impl::GetGPO(this, core::mem::transmute(&bstrguid)) { @@ -1840,7 +1840,7 @@ impl IGPMDomain_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RestoreGPO, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pigpmbackup: *mut core::ffi::c_void, ldcflags: i32, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RestoreGPO, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pigpmbackup: *mut core::ffi::c_void, ldcflags: i32, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain_Impl::RestoreGPO(this, windows_core::from_raw_borrowed(&pigpmbackup), core::mem::transmute_copy(&ldcflags), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -1851,7 +1851,7 @@ impl IGPMDomain_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSOM, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: std::mem::MaybeUninit, ppsom: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetSOM, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: core::mem::MaybeUninit, ppsom: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain_Impl::GetSOM(this, core::mem::transmute(&bstrpath)) { @@ -1873,7 +1873,7 @@ impl IGPMDomain_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetWMIFilter, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: std::mem::MaybeUninit, ppwmifilter: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetWMIFilter, Impl: IGPMDomain_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpath: core::mem::MaybeUninit, ppwmifilter: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain_Impl::GetWMIFilter(this, core::mem::transmute(&bstrpath)) { @@ -1949,7 +1949,7 @@ impl IGPMDomain2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStarterGPO, Impl: IGPMDomain2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: std::mem::MaybeUninit, pptemplate: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetStarterGPO, Impl: IGPMDomain2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: core::mem::MaybeUninit, pptemplate: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain2_Impl::GetStarterGPO(this, core::mem::transmute(&bstrguid)) { @@ -1971,7 +1971,7 @@ impl IGPMDomain2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LoadStarterGPO, Impl: IGPMDomain2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrloadfile: std::mem::MaybeUninit, boverwrite: super::super::Foundation::VARIANT_BOOL, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn LoadStarterGPO, Impl: IGPMDomain2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrloadfile: core::mem::MaybeUninit, boverwrite: super::super::Foundation::VARIANT_BOOL, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain2_Impl::LoadStarterGPO(this, core::mem::transmute(&bstrloadfile), core::mem::transmute_copy(&boverwrite), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -1982,7 +1982,7 @@ impl IGPMDomain2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RestoreStarterGPO, Impl: IGPMDomain2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pigpmtmplbackup: *mut core::ffi::c_void, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RestoreStarterGPO, Impl: IGPMDomain2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pigpmtmplbackup: *mut core::ffi::c_void, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain2_Impl::RestoreStarterGPO(this, windows_core::from_raw_borrowed(&pigpmtmplbackup), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -2019,7 +2019,7 @@ impl windows_core::RuntimeName for IGPMDomain3 {} #[cfg(feature = "Win32_System_Com")] impl IGPMDomain3_Vtbl { pub const fn new, Impl: IGPMDomain3_Impl, const OFFSET: isize>() -> IGPMDomain3_Vtbl { - unsafe extern "system" fn GenerateReport, Impl: IGPMDomain3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReport, Impl: IGPMDomain3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain3_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -2030,7 +2030,7 @@ impl IGPMDomain3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InfrastructureDC, Impl: IGPMDomain3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InfrastructureDC, Impl: IGPMDomain3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMDomain3_Impl::InfrastructureDC(this) { @@ -2041,7 +2041,7 @@ impl IGPMDomain3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInfrastructureDC, Impl: IGPMDomain3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInfrastructureDC, Impl: IGPMDomain3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMDomain3_Impl::SetInfrastructureDC(this, core::mem::transmute(&newval)).into() @@ -2100,7 +2100,7 @@ impl windows_core::RuntimeName for IGPMGPO {} #[cfg(feature = "Win32_System_Com")] impl IGPMGPO_Vtbl { pub const fn new, Impl: IGPMGPO_Impl, const OFFSET: isize>() -> IGPMGPO_Vtbl { - unsafe extern "system" fn DisplayName, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO_Impl::DisplayName(this) { @@ -2111,12 +2111,12 @@ impl IGPMGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMGPO_Impl::SetDisplayName(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn Path, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO_Impl::Path(this) { @@ -2127,7 +2127,7 @@ impl IGPMGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ID, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ID, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO_Impl::ID(this) { @@ -2138,7 +2138,7 @@ impl IGPMGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DomainName, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DomainName, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO_Impl::DomainName(this) { @@ -2284,7 +2284,7 @@ impl IGPMGPO_Vtbl { let this = (*this).get_impl(); IGPMGPO_Impl::Delete(this).into() } - unsafe extern "system" fn Backup, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupdir: std::mem::MaybeUninit, bstrcomment: std::mem::MaybeUninit, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Backup, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupdir: core::mem::MaybeUninit, bstrcomment: core::mem::MaybeUninit, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO_Impl::Backup(this, core::mem::transmute(&bstrbackupdir), core::mem::transmute(&bstrcomment), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -2295,7 +2295,7 @@ impl IGPMGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Import, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pigpmbackup: *mut core::ffi::c_void, pvarmigrationtable: *const std::mem::MaybeUninit, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Import, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pigpmbackup: *mut core::ffi::c_void, pvarmigrationtable: *const core::mem::MaybeUninit, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO_Impl::Import(this, core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pigpmbackup), core::mem::transmute_copy(&pvarmigrationtable), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -2306,7 +2306,7 @@ impl IGPMGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GenerateReport, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReport, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -2317,7 +2317,7 @@ impl IGPMGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GenerateReportToFile, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReportToFile, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { @@ -2328,7 +2328,7 @@ impl IGPMGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CopyTo, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pigpmdomain: *mut core::ffi::c_void, pvarnewdisplayname: *const std::mem::MaybeUninit, pvarmigrationtable: *const std::mem::MaybeUninit, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CopyTo, Impl: IGPMGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pigpmdomain: *mut core::ffi::c_void, pvarnewdisplayname: *const core::mem::MaybeUninit, pvarmigrationtable: *const core::mem::MaybeUninit, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO_Impl::CopyTo(this, core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pigpmdomain), core::mem::transmute_copy(&pvarnewdisplayname), core::mem::transmute_copy(&pvarmigrationtable), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -2418,7 +2418,7 @@ impl windows_core::RuntimeName for IGPMGPO2 {} #[cfg(feature = "Win32_System_Com")] impl IGPMGPO2_Vtbl { pub const fn new, Impl: IGPMGPO2_Impl, const OFFSET: isize>() -> IGPMGPO2_Vtbl { - unsafe extern "system" fn Description, Impl: IGPMGPO2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IGPMGPO2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO2_Impl::Description(this) { @@ -2429,7 +2429,7 @@ impl IGPMGPO2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IGPMGPO2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IGPMGPO2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMGPO2_Impl::SetDescription(this, core::mem::transmute(&newval)).into() @@ -2455,7 +2455,7 @@ impl windows_core::RuntimeName for IGPMGPO3 {} #[cfg(feature = "Win32_System_Com")] impl IGPMGPO3_Vtbl { pub const fn new, Impl: IGPMGPO3_Impl, const OFFSET: isize>() -> IGPMGPO3_Vtbl { - unsafe extern "system" fn InfrastructureDC, Impl: IGPMGPO3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InfrastructureDC, Impl: IGPMGPO3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPO3_Impl::InfrastructureDC(this) { @@ -2466,7 +2466,7 @@ impl IGPMGPO3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInfrastructureDC, Impl: IGPMGPO3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInfrastructureDC, Impl: IGPMGPO3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMGPO3_Impl::SetInfrastructureDC(this, core::mem::transmute(&newval)).into() @@ -2509,7 +2509,7 @@ impl IGPMGPOCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMGPOCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMGPOCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPOCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -2559,7 +2559,7 @@ impl windows_core::RuntimeName for IGPMGPOLink {} #[cfg(feature = "Win32_System_Com")] impl IGPMGPOLink_Vtbl { pub const fn new, Impl: IGPMGPOLink_Impl, const OFFSET: isize>() -> IGPMGPOLink_Vtbl { - unsafe extern "system" fn GPOID, Impl: IGPMGPOLink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GPOID, Impl: IGPMGPOLink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPOLink_Impl::GPOID(this) { @@ -2570,7 +2570,7 @@ impl IGPMGPOLink_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GPODomain, Impl: IGPMGPOLink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GPODomain, Impl: IGPMGPOLink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPOLink_Impl::GPODomain(this) { @@ -2679,7 +2679,7 @@ impl IGPMGPOLinksCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMGPOLinksCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMGPOLinksCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMGPOLinksCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -2724,7 +2724,7 @@ impl windows_core::RuntimeName for IGPMMapEntry {} #[cfg(feature = "Win32_System_Com")] impl IGPMMapEntry_Vtbl { pub const fn new, Impl: IGPMMapEntry_Impl, const OFFSET: isize>() -> IGPMMapEntry_Vtbl { - unsafe extern "system" fn Source, Impl: IGPMMapEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsource: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Source, Impl: IGPMMapEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsource: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMMapEntry_Impl::Source(this) { @@ -2735,7 +2735,7 @@ impl IGPMMapEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Destination, Impl: IGPMMapEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdestination: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Destination, Impl: IGPMMapEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdestination: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMMapEntry_Impl::Destination(this) { @@ -2802,7 +2802,7 @@ impl IGPMMapEntryCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMMapEntryCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMMapEntryCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMMapEntryCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -2851,17 +2851,17 @@ impl windows_core::RuntimeName for IGPMMigrationTable {} #[cfg(feature = "Win32_System_Com")] impl IGPMMigrationTable_Vtbl { pub const fn new, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>() -> IGPMMigrationTable_Vtbl { - unsafe extern "system" fn Save, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmigrationtablepath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Save, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmigrationtablepath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMMigrationTable_Impl::Save(this, core::mem::transmute(&bstrmigrationtablepath)).into() } - unsafe extern "system" fn Add, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, var: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, var: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMMigrationTable_Impl::Add(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&var)).into() } - unsafe extern "system" fn AddEntry, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsource: std::mem::MaybeUninit, gpmentrytype: GPMEntryType, pvardestination: *const std::mem::MaybeUninit, ppentry: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddEntry, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsource: core::mem::MaybeUninit, gpmentrytype: GPMEntryType, pvardestination: *const core::mem::MaybeUninit, ppentry: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMMigrationTable_Impl::AddEntry(this, core::mem::transmute(&bstrsource), core::mem::transmute_copy(&gpmentrytype), core::mem::transmute_copy(&pvardestination)) { @@ -2872,7 +2872,7 @@ impl IGPMMigrationTable_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetEntry, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsource: std::mem::MaybeUninit, ppentry: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetEntry, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsource: core::mem::MaybeUninit, ppentry: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMMigrationTable_Impl::GetEntry(this, core::mem::transmute(&bstrsource)) { @@ -2883,12 +2883,12 @@ impl IGPMMigrationTable_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteEntry, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsource: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteEntry, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsource: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMMigrationTable_Impl::DeleteEntry(this, core::mem::transmute(&bstrsource)).into() } - unsafe extern "system" fn UpdateDestination, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsource: std::mem::MaybeUninit, pvardestination: *const std::mem::MaybeUninit, ppentry: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateDestination, Impl: IGPMMigrationTable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsource: core::mem::MaybeUninit, pvardestination: *const core::mem::MaybeUninit, ppentry: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMMigrationTable_Impl::UpdateDestination(this, core::mem::transmute(&bstrsource), core::mem::transmute_copy(&pvardestination)) { @@ -3072,7 +3072,7 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Namespace, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Namespace, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::Namespace(this) { @@ -3083,12 +3083,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLoggingComputer, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLoggingComputer, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetLoggingComputer(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn LoggingComputer, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoggingComputer, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::LoggingComputer(this) { @@ -3099,12 +3099,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLoggingUser, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLoggingUser, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetLoggingUser(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn LoggingUser, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoggingUser, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::LoggingUser(this) { @@ -3147,12 +3147,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningDomainController, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningDomainController, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningDomainController(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn PlanningDomainController, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningDomainController, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningDomainController(this) { @@ -3163,12 +3163,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningSiteName, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningSiteName, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningSiteName(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn PlanningSiteName, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningSiteName, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningSiteName(this) { @@ -3179,12 +3179,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningUser, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningUser, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningUser(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn PlanningUser, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningUser, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningUser(this) { @@ -3195,12 +3195,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningUserSOM, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningUserSOM, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningUserSOM(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn PlanningUserSOM, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningUserSOM, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningUserSOM(this) { @@ -3211,12 +3211,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningUserWMIFilters, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningUserWMIFilters, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningUserWMIFilters(this, core::mem::transmute(&varval)).into() } - unsafe extern "system" fn PlanningUserWMIFilters, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningUserWMIFilters, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningUserWMIFilters(this) { @@ -3227,12 +3227,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningUserSecurityGroups, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningUserSecurityGroups, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningUserSecurityGroups(this, core::mem::transmute(&varval)).into() } - unsafe extern "system" fn PlanningUserSecurityGroups, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningUserSecurityGroups, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningUserSecurityGroups(this) { @@ -3243,12 +3243,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningComputer, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningComputer, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningComputer(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn PlanningComputer, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningComputer, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningComputer(this) { @@ -3259,12 +3259,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningComputerSOM, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningComputerSOM, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningComputerSOM(this, core::mem::transmute(&bstrval)).into() } - unsafe extern "system" fn PlanningComputerSOM, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningComputerSOM, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningComputerSOM(this) { @@ -3275,12 +3275,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningComputerWMIFilters, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningComputerWMIFilters, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningComputerWMIFilters(this, core::mem::transmute(&varval)).into() } - unsafe extern "system" fn PlanningComputerWMIFilters, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningComputerWMIFilters, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningComputerWMIFilters(this) { @@ -3291,12 +3291,12 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPlanningComputerSecurityGroups, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPlanningComputerSecurityGroups, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMRSOP_Impl::SetPlanningComputerSecurityGroups(this, core::mem::transmute(&varval)).into() } - unsafe extern "system" fn PlanningComputerSecurityGroups, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlanningComputerSecurityGroups, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::PlanningComputerSecurityGroups(this) { @@ -3307,7 +3307,7 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LoggingEnumerateUsers, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoggingEnumerateUsers, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::LoggingEnumerateUsers(this) { @@ -3328,7 +3328,7 @@ impl IGPMRSOP_Vtbl { let this = (*this).get_impl(); IGPMRSOP_Impl::ReleaseQueryResults(this).into() } - unsafe extern "system" fn GenerateReport, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReport, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -3339,7 +3339,7 @@ impl IGPMRSOP_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GenerateReportToFile, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReportToFile, Impl: IGPMRSOP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMRSOP_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { @@ -3415,7 +3415,7 @@ impl IGPMResult_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Result, Impl: IGPMResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarresult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Result, Impl: IGPMResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarresult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMResult_Impl::Result(this) { @@ -3476,7 +3476,7 @@ impl IGPMSOM_Vtbl { let this = (*this).get_impl(); IGPMSOM_Impl::SetGPOInheritanceBlocked(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn Name, Impl: IGPMSOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IGPMSOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMSOM_Impl::Name(this) { @@ -3487,7 +3487,7 @@ impl IGPMSOM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: IGPMSOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IGPMSOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMSOM_Impl::Path(this) { @@ -3598,7 +3598,7 @@ impl IGPMSOMCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMSOMCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMSOMCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMSOMCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -3640,7 +3640,7 @@ impl windows_core::RuntimeName for IGPMSearchCriteria {} #[cfg(feature = "Win32_System_Com")] impl IGPMSearchCriteria_Vtbl { pub const fn new, Impl: IGPMSearchCriteria_Impl, const OFFSET: isize>() -> IGPMSearchCriteria_Vtbl { - unsafe extern "system" fn Add, Impl: IGPMSearchCriteria_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, searchproperty: GPMSearchProperty, searchoperation: GPMSearchOperation, varvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IGPMSearchCriteria_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, searchproperty: GPMSearchProperty, searchoperation: GPMSearchOperation, varvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMSearchCriteria_Impl::Add(this, core::mem::transmute_copy(&searchproperty), core::mem::transmute_copy(&searchoperation), core::mem::transmute(&varvalue)).into() @@ -3676,7 +3676,7 @@ impl IGPMSecurityInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMSecurityInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMSecurityInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMSecurityInfo_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -3708,7 +3708,7 @@ impl IGPMSecurityInfo_Vtbl { let this = (*this).get_impl(); IGPMSecurityInfo_Impl::Remove(this, windows_core::from_raw_borrowed(&pperm)).into() } - unsafe extern "system" fn RemoveTrustee, Impl: IGPMSecurityInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtrustee: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveTrustee, Impl: IGPMSecurityInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrtrustee: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMSecurityInfo_Impl::RemoveTrustee(this, core::mem::transmute(&bstrtrustee)).into() @@ -3740,7 +3740,7 @@ impl windows_core::RuntimeName for IGPMSitesContainer {} #[cfg(feature = "Win32_System_Com")] impl IGPMSitesContainer_Vtbl { pub const fn new, Impl: IGPMSitesContainer_Impl, const OFFSET: isize>() -> IGPMSitesContainer_Vtbl { - unsafe extern "system" fn DomainController, Impl: IGPMSitesContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DomainController, Impl: IGPMSitesContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMSitesContainer_Impl::DomainController(this) { @@ -3751,7 +3751,7 @@ impl IGPMSitesContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Domain, Impl: IGPMSitesContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Domain, Impl: IGPMSitesContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMSitesContainer_Impl::Domain(this) { @@ -3762,7 +3762,7 @@ impl IGPMSitesContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Forest, Impl: IGPMSitesContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Forest, Impl: IGPMSitesContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMSitesContainer_Impl::Forest(this) { @@ -3773,7 +3773,7 @@ impl IGPMSitesContainer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSite, Impl: IGPMSitesContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsitename: std::mem::MaybeUninit, ppsom: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetSite, Impl: IGPMSitesContainer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsitename: core::mem::MaybeUninit, ppsom: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMSitesContainer_Impl::GetSite(this, core::mem::transmute(&bstrsitename)) { @@ -3837,7 +3837,7 @@ impl windows_core::RuntimeName for IGPMStarterGPO {} #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPO_Vtbl { pub const fn new, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>() -> IGPMStarterGPO_Vtbl { - unsafe extern "system" fn DisplayName, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::DisplayName(this) { @@ -3848,12 +3848,12 @@ impl IGPMStarterGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMStarterGPO_Impl::SetDisplayName(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn Description, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Description(this) { @@ -3864,12 +3864,12 @@ impl IGPMStarterGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMStarterGPO_Impl::SetDescription(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn Author, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Author, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Author(this) { @@ -3880,7 +3880,7 @@ impl IGPMStarterGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Product, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Product, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Product(this) { @@ -3902,7 +3902,7 @@ impl IGPMStarterGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ID, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ID, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::ID(this) { @@ -3957,7 +3957,7 @@ impl IGPMStarterGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StarterGPOVersion, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StarterGPOVersion, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::StarterGPOVersion(this) { @@ -3975,16 +3975,16 @@ impl IGPMStarterGPO_Vtbl { } unsafe extern "system" fn Save, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, - bstrsavefile: std::mem::MaybeUninit, + bstrsavefile: core::mem::MaybeUninit, boverwrite: super::super::Foundation::VARIANT_BOOL, bsaveassystem: super::super::Foundation::VARIANT_BOOL, - bstrlanguage: *const std::mem::MaybeUninit, - bstrauthor: *const std::mem::MaybeUninit, - bstrproduct: *const std::mem::MaybeUninit, - bstruniqueid: *const std::mem::MaybeUninit, - bstrversion: *const std::mem::MaybeUninit, - pvargpmprogress: *const std::mem::MaybeUninit, - pvargpmcancel: *mut std::mem::MaybeUninit, + bstrlanguage: *const core::mem::MaybeUninit, + bstrauthor: *const core::mem::MaybeUninit, + bstrproduct: *const core::mem::MaybeUninit, + bstruniqueid: *const core::mem::MaybeUninit, + bstrversion: *const core::mem::MaybeUninit, + pvargpmprogress: *const core::mem::MaybeUninit, + pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; @@ -3997,7 +3997,7 @@ impl IGPMStarterGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Backup, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupdir: std::mem::MaybeUninit, bstrcomment: std::mem::MaybeUninit, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Backup, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrbackupdir: core::mem::MaybeUninit, bstrcomment: core::mem::MaybeUninit, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::Backup(this, core::mem::transmute(&bstrbackupdir), core::mem::transmute(&bstrcomment), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -4008,7 +4008,7 @@ impl IGPMStarterGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CopyTo, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarnewdisplayname: *const std::mem::MaybeUninit, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *const std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CopyTo, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarnewdisplayname: *const core::mem::MaybeUninit, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *const core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::CopyTo(this, core::mem::transmute_copy(&pvarnewdisplayname), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -4019,7 +4019,7 @@ impl IGPMStarterGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GenerateReport, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *const std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReport, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *const core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -4030,7 +4030,7 @@ impl IGPMStarterGPO_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GenerateReportToFile, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReportToFile, Impl: IGPMStarterGPO_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPO_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { @@ -4105,7 +4105,7 @@ impl windows_core::RuntimeName for IGPMStarterGPOBackup {} #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPOBackup_Vtbl { pub const fn new, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>() -> IGPMStarterGPOBackup_Vtbl { - unsafe extern "system" fn BackupDir, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupdir: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BackupDir, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrbackupdir: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::BackupDir(this) { @@ -4116,7 +4116,7 @@ impl IGPMStarterGPOBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Comment, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcomment: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Comment, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcomment: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::Comment(this) { @@ -4127,7 +4127,7 @@ impl IGPMStarterGPOBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::DisplayName(this) { @@ -4138,7 +4138,7 @@ impl IGPMStarterGPOBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Domain, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtemplatedomain: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Domain, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtemplatedomain: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::Domain(this) { @@ -4149,7 +4149,7 @@ impl IGPMStarterGPOBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StarterGPOID, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtemplateid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StarterGPOID, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtemplateid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::StarterGPOID(this) { @@ -4160,7 +4160,7 @@ impl IGPMStarterGPOBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ID, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ID, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::ID(this) { @@ -4198,7 +4198,7 @@ impl IGPMStarterGPOBackup_Vtbl { let this = (*this).get_impl(); IGPMStarterGPOBackup_Impl::Delete(this).into() } - unsafe extern "system" fn GenerateReport, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const std::mem::MaybeUninit, pvargpmcancel: *mut std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReport, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, pvargpmprogress: *const core::mem::MaybeUninit, pvargpmcancel: *mut core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::GenerateReport(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute_copy(&pvargpmprogress), core::mem::transmute_copy(&pvargpmcancel)) { @@ -4209,7 +4209,7 @@ impl IGPMStarterGPOBackup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GenerateReportToFile, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: std::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GenerateReportToFile, Impl: IGPMStarterGPOBackup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, gpmreporttype: GPMReportType, bstrtargetfilepath: core::mem::MaybeUninit, ppigpmresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOBackup_Impl::GenerateReportToFile(this, core::mem::transmute_copy(&gpmreporttype), core::mem::transmute(&bstrtargetfilepath)) { @@ -4261,7 +4261,7 @@ impl IGPMStarterGPOBackupCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMStarterGPOBackupCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMStarterGPOBackupCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOBackupCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -4316,7 +4316,7 @@ impl IGPMStarterGPOCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMStarterGPOCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMStarterGPOCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStarterGPOCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -4363,7 +4363,7 @@ impl windows_core::RuntimeName for IGPMStatusMessage {} #[cfg(feature = "Win32_System_Com")] impl IGPMStatusMessage_Vtbl { pub const fn new, Impl: IGPMStatusMessage_Impl, const OFFSET: isize>() -> IGPMStatusMessage_Vtbl { - unsafe extern "system" fn ObjectPath, Impl: IGPMStatusMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ObjectPath, Impl: IGPMStatusMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStatusMessage_Impl::ObjectPath(this) { @@ -4379,7 +4379,7 @@ impl IGPMStatusMessage_Vtbl { let this = (*this).get_impl(); IGPMStatusMessage_Impl::ErrorCode(this).into() } - unsafe extern "system" fn ExtensionName, Impl: IGPMStatusMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtensionName, Impl: IGPMStatusMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStatusMessage_Impl::ExtensionName(this) { @@ -4390,7 +4390,7 @@ impl IGPMStatusMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SettingsName, Impl: IGPMStatusMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SettingsName, Impl: IGPMStatusMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStatusMessage_Impl::SettingsName(this) { @@ -4406,7 +4406,7 @@ impl IGPMStatusMessage_Vtbl { let this = (*this).get_impl(); IGPMStatusMessage_Impl::OperationCode(this).into() } - unsafe extern "system" fn Message, Impl: IGPMStatusMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Message, Impl: IGPMStatusMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStatusMessage_Impl::Message(this) { @@ -4453,7 +4453,7 @@ impl IGPMStatusMsgCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMStatusMsgCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMStatusMsgCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMStatusMsgCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { @@ -4499,7 +4499,7 @@ impl windows_core::RuntimeName for IGPMTrustee {} #[cfg(feature = "Win32_System_Com")] impl IGPMTrustee_Vtbl { pub const fn new, Impl: IGPMTrustee_Impl, const OFFSET: isize>() -> IGPMTrustee_Vtbl { - unsafe extern "system" fn TrusteeSid, Impl: IGPMTrustee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TrusteeSid, Impl: IGPMTrustee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMTrustee_Impl::TrusteeSid(this) { @@ -4510,7 +4510,7 @@ impl IGPMTrustee_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TrusteeName, Impl: IGPMTrustee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TrusteeName, Impl: IGPMTrustee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMTrustee_Impl::TrusteeName(this) { @@ -4521,7 +4521,7 @@ impl IGPMTrustee_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TrusteeDomain, Impl: IGPMTrustee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TrusteeDomain, Impl: IGPMTrustee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMTrustee_Impl::TrusteeDomain(this) { @@ -4532,7 +4532,7 @@ impl IGPMTrustee_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TrusteeDSPath, Impl: IGPMTrustee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TrusteeDSPath, Impl: IGPMTrustee_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMTrustee_Impl::TrusteeDSPath(this) { @@ -4583,7 +4583,7 @@ impl windows_core::RuntimeName for IGPMWMIFilter {} #[cfg(feature = "Win32_System_Com")] impl IGPMWMIFilter_Vtbl { pub const fn new, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>() -> IGPMWMIFilter_Vtbl { - unsafe extern "system" fn Path, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMWMIFilter_Impl::Path(this) { @@ -4594,12 +4594,12 @@ impl IGPMWMIFilter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMWMIFilter_Impl::SetName(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn Name, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMWMIFilter_Impl::Name(this) { @@ -4610,12 +4610,12 @@ impl IGPMWMIFilter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGPMWMIFilter_Impl::SetDescription(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn Description, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMWMIFilter_Impl::Description(this) { @@ -4626,7 +4626,7 @@ impl IGPMWMIFilter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetQueryList, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pqrylist: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetQueryList, Impl: IGPMWMIFilter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pqrylist: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMWMIFilter_Impl::GetQueryList(this) { @@ -4691,7 +4691,7 @@ impl IGPMWMIFilterCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IGPMWMIFilterCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IGPMWMIFilterCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lindex: i32, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IGPMWMIFilterCollection_Impl::get_Item(this, core::mem::transmute_copy(&lindex)) { 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 9743fdfb3f..0440bfadf0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -257,7 +257,7 @@ windows_core::imp::define_interface!(IGPEInformation, IGPEInformation_Vtbl, 0x8f impl std::ops::Deref for IGPEInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGPEInformation, windows_core::IUnknown); @@ -317,7 +317,7 @@ windows_core::imp::define_interface!(IGPM, IGPM_Vtbl, 0xf5fae809_3bd6_4da9_a65e_ impl std::ops::Deref for IGPM { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -330,7 +330,7 @@ impl IGPM { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDomain)(windows_core::Interface::as_raw(self), bstrdomain.param().abi(), bstrdomaincontroller.param().abi(), ldcflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -338,7 +338,7 @@ impl IGPM { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackupDir)(windows_core::Interface::as_raw(self), bstrbackupdir.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -348,7 +348,7 @@ impl IGPM { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSitesContainer)(windows_core::Interface::as_raw(self), bstrforest.param().abi(), bstrdomain.param().abi(), bstrdomaincontroller.param().abi(), ldcflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -356,7 +356,7 @@ impl IGPM { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRSOP)(windows_core::Interface::as_raw(self), gpmrsopmode, bstrnamespace.param().abi(), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -365,12 +365,12 @@ impl IGPM { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePermission)(windows_core::Interface::as_raw(self), bstrtrustee.param().abi(), perm, binheritable.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateSearchCriteria(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSearchCriteria)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -378,17 +378,17 @@ impl IGPM { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTrustee)(windows_core::Interface::as_raw(self), bstrtrustee.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClientSideExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClientSideExtensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetConstants(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConstants)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -396,12 +396,12 @@ impl IGPM { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMigrationTable)(windows_core::Interface::as_raw(self), bstrmigrationtablepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateMigrationTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMigrationTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializeReporting(&self, bstradmpath: P0) -> windows_core::Result<()> @@ -416,23 +416,23 @@ impl IGPM { pub struct IGPM_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetDomain: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetDomain: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetDomain: usize, #[cfg(feature = "Win32_System_Com")] - pub GetBackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetBackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetBackupDir: usize, #[cfg(feature = "Win32_System_Com")] - pub GetSitesContainer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSitesContainer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetSitesContainer: usize, #[cfg(feature = "Win32_System_Com")] - pub GetRSOP: unsafe extern "system" fn(*mut core::ffi::c_void, GPMRSOPMode, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetRSOP: unsafe extern "system" fn(*mut core::ffi::c_void, GPMRSOPMode, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetRSOP: usize, #[cfg(feature = "Win32_System_Com")] - pub CreatePermission: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, GPMPermissionType, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePermission: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, GPMPermissionType, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreatePermission: usize, #[cfg(feature = "Win32_System_Com")] @@ -440,7 +440,7 @@ pub struct IGPM_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateSearchCriteria: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateTrustee: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTrustee: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateTrustee: usize, #[cfg(feature = "Win32_System_Com")] @@ -452,14 +452,14 @@ pub struct IGPM_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetConstants: usize, #[cfg(feature = "Win32_System_Com")] - pub GetMigrationTable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetMigrationTable: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetMigrationTable: usize, #[cfg(feature = "Win32_System_Com")] pub CreateMigrationTable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateMigrationTable: usize, - pub InitializeReporting: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitializeReporting: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPM2, IGPM2_Vtbl, 0x00238f8a_3d86_41ac_8f5e_06a6638a634a); @@ -467,7 +467,7 @@ windows_core::imp::define_interface!(IGPM2, IGPM2_Vtbl, 0x00238f8a_3d86_41ac_8f5 impl std::ops::Deref for IGPM2 { type Target = IGPM; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -479,7 +479,7 @@ impl IGPM2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackupDirEx)(windows_core::Interface::as_raw(self), bstrbackupdir.param().abi(), backupdirtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializeReportingEx(&self, bstradmpath: P0, reportingoptions: i32) -> windows_core::Result<()> @@ -494,10 +494,10 @@ impl IGPM2 { pub struct IGPM2_Vtbl { pub base__: IGPM_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetBackupDirEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, GPMBackupType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetBackupDirEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, GPMBackupType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetBackupDirEx: usize, - pub InitializeReportingEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub InitializeReportingEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMAsyncCancel, IGPMAsyncCancel_Vtbl, 0xddc67754_be67_4541_8166_f48166868c9c); @@ -505,7 +505,7 @@ windows_core::imp::define_interface!(IGPMAsyncCancel, IGPMAsyncCancel_Vtbl, 0xdd impl std::ops::Deref for IGPMAsyncCancel { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -528,7 +528,7 @@ windows_core::imp::define_interface!(IGPMAsyncProgress, IGPMAsyncProgress_Vtbl, impl std::ops::Deref for IGPMAsyncProgress { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -548,7 +548,7 @@ impl IGPMAsyncProgress { pub struct IGPMAsyncProgress_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, windows_core::HRESULT, *const std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, windows_core::HRESULT, *const core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Status: usize, } @@ -558,7 +558,7 @@ windows_core::imp::define_interface!(IGPMBackup, IGPMBackup_Vtbl, 0xd8a16a35_3b0 impl std::ops::Deref for IGPMBackup { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -566,31 +566,31 @@ windows_core::imp::interface_hierarchy!(IGPMBackup, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IGPMBackup { pub unsafe fn ID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GPOID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GPOID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GPODomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GPODomain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GPODisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GPODisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Timestamp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Timestamp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Comment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Comment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BackupDir(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackupDir)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -598,7 +598,7 @@ impl IGPMBackup { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const windows_core::VARIANT, pvargpmcancel: *mut windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReport)(windows_core::Interface::as_raw(self), gpmreporttype, core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -606,7 +606,7 @@ impl IGPMBackup { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReportToFile)(windows_core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -614,20 +614,20 @@ impl IGPMBackup { #[repr(C)] pub struct IGPMBackup_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GPOID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GPODomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GPODisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GPOID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GPODomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GPODisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReport: usize, #[cfg(feature = "Win32_System_Com")] - pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReportToFile: usize, } @@ -637,7 +637,7 @@ windows_core::imp::define_interface!(IGPMBackupCollection, IGPMBackupCollection_ impl std::ops::Deref for IGPMBackupCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -645,16 +645,16 @@ windows_core::imp::interface_hierarchy!(IGPMBackupCollection, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IGPMBackupCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -663,7 +663,7 @@ impl IGPMBackupCollection { pub struct IGPMBackupCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -675,7 +675,7 @@ windows_core::imp::define_interface!(IGPMBackupDir, IGPMBackupDir_Vtbl, 0xb1568b impl std::ops::Deref for IGPMBackupDir { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -683,7 +683,7 @@ windows_core::imp::interface_hierarchy!(IGPMBackupDir, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IGPMBackupDir { pub unsafe fn BackupDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackupDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -691,7 +691,7 @@ impl IGPMBackupDir { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackup)(windows_core::Interface::as_raw(self), bstrid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -699,7 +699,7 @@ impl IGPMBackupDir { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchBackups)(windows_core::Interface::as_raw(self), pigpmsearchcriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -707,9 +707,9 @@ impl IGPMBackupDir { #[repr(C)] pub struct IGPMBackupDir_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub BackupDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BackupDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetBackup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetBackup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetBackup: usize, #[cfg(feature = "Win32_System_Com")] @@ -723,7 +723,7 @@ windows_core::imp::define_interface!(IGPMBackupDirEx, IGPMBackupDirEx_Vtbl, 0xf8 impl std::ops::Deref for IGPMBackupDirEx { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -731,18 +731,18 @@ windows_core::imp::interface_hierarchy!(IGPMBackupDirEx, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IGPMBackupDirEx { pub unsafe fn BackupDir(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackupDir)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BackupType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackupType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBackup(&self, bstrid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackup)(windows_core::Interface::as_raw(self), bstrid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -750,7 +750,7 @@ impl IGPMBackupDirEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchBackups)(windows_core::Interface::as_raw(self), pigpmsearchcriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -758,11 +758,11 @@ impl IGPMBackupDirEx { #[repr(C)] pub struct IGPMBackupDirEx_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub BackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BackupType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMBackupType) -> windows_core::HRESULT, - pub GetBackup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetBackup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub SearchBackups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SearchBackups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SearchBackups: usize, } @@ -772,7 +772,7 @@ windows_core::imp::define_interface!(IGPMCSECollection, IGPMCSECollection_Vtbl, impl std::ops::Deref for IGPMCSECollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -780,16 +780,16 @@ windows_core::imp::interface_hierarchy!(IGPMCSECollection, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IGPMCSECollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -798,7 +798,7 @@ impl IGPMCSECollection { pub struct IGPMCSECollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -810,7 +810,7 @@ windows_core::imp::define_interface!(IGPMClientSideExtension, IGPMClientSideExte impl std::ops::Deref for IGPMClientSideExtension { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -818,19 +818,19 @@ windows_core::imp::interface_hierarchy!(IGPMClientSideExtension, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IGPMClientSideExtension { pub unsafe fn ID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsUserEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUserEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsComputerEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsComputerEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -838,8 +838,8 @@ impl IGPMClientSideExtension { #[repr(C)] pub struct IGPMClientSideExtension_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsUserEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsComputerEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -849,7 +849,7 @@ windows_core::imp::define_interface!(IGPMConstants, IGPMConstants_Vtbl, 0x50ef73 impl std::ops::Deref for IGPMConstants { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -857,139 +857,139 @@ windows_core::imp::interface_hierarchy!(IGPMConstants, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IGPMConstants { pub unsafe fn PermGPOApply(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermGPOApply)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermGPORead(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermGPORead)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermGPOEdit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermGPOEdit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermGPOEditSecurityAndDelete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermGPOEditSecurityAndDelete)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermGPOCustom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermGPOCustom)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermWMIFilterEdit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermWMIFilterEdit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermWMIFilterFullControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermWMIFilterFullControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermWMIFilterCustom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermWMIFilterCustom)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermSOMLink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermSOMLink)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermSOMLogging(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermSOMLogging)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermSOMPlanning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermSOMPlanning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermSOMGPOCreate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermSOMGPOCreate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermSOMWMICreate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermSOMWMICreate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermSOMWMIFullControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermSOMWMIFullControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyGPOPermissions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyGPOPermissions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyGPOEffectivePermissions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyGPOEffectivePermissions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyGPODisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyGPODisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyGPOWMIFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyGPOWMIFilter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyGPOID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyGPOID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyGPOComputerExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyGPOComputerExtensions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyGPOUserExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyGPOUserExtensions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertySOMLinks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertySOMLinks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyGPODomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyGPODomain)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyBackupMostRecent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyBackupMostRecent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchOpEquals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchOpEquals)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchOpContains(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchOpContains)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchOpNotContains(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchOpNotContains)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchOpNotEquals(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchOpNotEquals)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UsePDC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UsePDC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UseAnyDC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseAnyDC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DoNotUseW2KDC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoNotUseW2KDC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SOMSite(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SOMSite)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SOMDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SOMDomain)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SOMOU(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SOMOU)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_SecurityFlags(&self, vbowner: P0, vbgroup: P1, vbdacl: P2, vbsacl: P3) -> windows_core::Result @@ -999,110 +999,110 @@ impl IGPMConstants { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SecurityFlags)(windows_core::Interface::as_raw(self), vbowner.param().abi(), vbgroup.param().abi(), vbdacl.param().abi(), vbsacl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DoNotValidateDC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoNotValidateDC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReportHTML(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportHTML)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReportXML(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportXML)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RSOPModeUnknown(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RSOPModeUnknown)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RSOPModePlanning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RSOPModePlanning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RSOPModeLogging(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RSOPModeLogging)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EntryTypeUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EntryTypeUser)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EntryTypeComputer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EntryTypeComputer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EntryTypeLocalGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EntryTypeLocalGroup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EntryTypeGlobalGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EntryTypeGlobalGroup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EntryTypeUniversalGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EntryTypeUniversalGroup)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EntryTypeUNCPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EntryTypeUNCPath)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EntryTypeUnknown(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EntryTypeUnknown)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DestinationOptionSameAsSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationOptionSameAsSource)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DestinationOptionNone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationOptionNone)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DestinationOptionByRelativeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationOptionByRelativeName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DestinationOptionSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationOptionSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MigrationTableOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MigrationTableOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProcessSecurity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProcessSecurity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RsopLoggingNoComputer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RsopLoggingNoComputer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RsopLoggingNoUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RsopLoggingNoUser)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RsopPlanningAssumeSlowLink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RsopPlanningAssumeSlowLink)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_RsopPlanningLoopbackOption(&self, vbmerge: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RsopPlanningLoopbackOption)(windows_core::Interface::as_raw(self), vbmerge.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RsopPlanningAssumeUserWQLFilterTrue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RsopPlanningAssumeUserWQLFilterTrue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RsopPlanningAssumeCompWQLFilterTrue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RsopPlanningAssumeCompWQLFilterTrue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1177,7 +1177,7 @@ windows_core::imp::define_interface!(IGPMConstants2, IGPMConstants2_Vtbl, 0x05ae impl std::ops::Deref for IGPMConstants2 { type Target = IGPMConstants; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1185,63 +1185,63 @@ windows_core::imp::interface_hierarchy!(IGPMConstants2, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IGPMConstants2 { pub unsafe fn BackupTypeGPO(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackupTypeGPO)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BackupTypeStarterGPO(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackupTypeStarterGPO)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StarterGPOTypeSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StarterGPOTypeSystem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StarterGPOTypeCustom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StarterGPOTypeCustom)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyStarterGPOPermissions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyStarterGPOPermissions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyStarterGPOEffectivePermissions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyStarterGPOEffectivePermissions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyStarterGPODisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyStarterGPODisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyStarterGPOID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyStarterGPOID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchPropertyStarterGPODomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchPropertyStarterGPODomain)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermStarterGPORead(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermStarterGPORead)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermStarterGPOEdit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermStarterGPOEdit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermStarterGPOFullControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermStarterGPOFullControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PermStarterGPOCustom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PermStarterGPOCustom)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReportLegacy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportLegacy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReportComments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportComments)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1271,7 +1271,7 @@ windows_core::imp::define_interface!(IGPMDomain, IGPMDomain_Vtbl, 0x6b21cc14_5a0 impl std::ops::Deref for IGPMDomain { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1279,16 +1279,16 @@ windows_core::imp::interface_hierarchy!(IGPMDomain, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IGPMDomain { pub unsafe fn DomainController(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DomainController)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Domain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Domain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateGPO(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGPO)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1296,7 +1296,7 @@ impl IGPMDomain { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGPO)(windows_core::Interface::as_raw(self), bstrguid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1304,7 +1304,7 @@ impl IGPMDomain { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchGPOs)(windows_core::Interface::as_raw(self), pigpmsearchcriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1312,7 +1312,7 @@ impl IGPMDomain { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RestoreGPO)(windows_core::Interface::as_raw(self), pigpmbackup.param().abi(), ldcflags, core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1320,7 +1320,7 @@ impl IGPMDomain { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSOM)(windows_core::Interface::as_raw(self), bstrpath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1328,7 +1328,7 @@ impl IGPMDomain { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchSOMs)(windows_core::Interface::as_raw(self), pigpmsearchcriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1336,7 +1336,7 @@ impl IGPMDomain { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWMIFilter)(windows_core::Interface::as_raw(self), bstrpath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1344,7 +1344,7 @@ impl IGPMDomain { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchWMIFilters)(windows_core::Interface::as_raw(self), pigpmsearchcriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1352,14 +1352,14 @@ impl IGPMDomain { #[repr(C)] pub struct IGPMDomain_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub DomainController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DomainController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateGPO: usize, #[cfg(feature = "Win32_System_Com")] - pub GetGPO: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetGPO: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetGPO: usize, #[cfg(feature = "Win32_System_Com")] @@ -1367,11 +1367,11 @@ pub struct IGPMDomain_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SearchGPOs: usize, #[cfg(feature = "Win32_System_Com")] - pub RestoreGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RestoreGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RestoreGPO: usize, #[cfg(feature = "Win32_System_Com")] - pub GetSOM: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSOM: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetSOM: usize, #[cfg(feature = "Win32_System_Com")] @@ -1379,7 +1379,7 @@ pub struct IGPMDomain_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SearchSOMs: usize, #[cfg(feature = "Win32_System_Com")] - pub GetWMIFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetWMIFilter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetWMIFilter: usize, #[cfg(feature = "Win32_System_Com")] @@ -1393,7 +1393,7 @@ windows_core::imp::define_interface!(IGPMDomain2, IGPMDomain2_Vtbl, 0x7ca6bb8b_f impl std::ops::Deref for IGPMDomain2 { type Target = IGPMDomain; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1402,7 +1402,7 @@ windows_core::imp::interface_hierarchy!(IGPMDomain2, windows_core::IUnknown, sup impl IGPMDomain2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateStarterGPO(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStarterGPO)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1410,7 +1410,7 @@ impl IGPMDomain2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGPOFromStarterGPO)(windows_core::Interface::as_raw(self), pgpotemplate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1418,7 +1418,7 @@ impl IGPMDomain2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStarterGPO)(windows_core::Interface::as_raw(self), bstrguid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1426,7 +1426,7 @@ impl IGPMDomain2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchStarterGPOs)(windows_core::Interface::as_raw(self), pigpmsearchcriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1435,7 +1435,7 @@ impl IGPMDomain2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadStarterGPO)(windows_core::Interface::as_raw(self), bstrloadfile.param().abi(), boverwrite.param().abi(), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1443,7 +1443,7 @@ impl IGPMDomain2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RestoreStarterGPO)(windows_core::Interface::as_raw(self), pigpmtmplbackup.param().abi(), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1460,7 +1460,7 @@ pub struct IGPMDomain2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateGPOFromStarterGPO: usize, #[cfg(feature = "Win32_System_Com")] - pub GetStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetStarterGPO: usize, #[cfg(feature = "Win32_System_Com")] @@ -1468,11 +1468,11 @@ pub struct IGPMDomain2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SearchStarterGPOs: usize, #[cfg(feature = "Win32_System_Com")] - pub LoadStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LoadStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] LoadStarterGPO: usize, #[cfg(feature = "Win32_System_Com")] - pub RestoreStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RestoreStarterGPO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RestoreStarterGPO: usize, } @@ -1482,7 +1482,7 @@ windows_core::imp::define_interface!(IGPMDomain3, IGPMDomain3_Vtbl, 0x0077fdfe_8 impl std::ops::Deref for IGPMDomain3 { type Target = IGPMDomain2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1491,11 +1491,11 @@ windows_core::imp::interface_hierarchy!(IGPMDomain3, windows_core::IUnknown, sup impl IGPMDomain3 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const windows_core::VARIANT, pvargpmcancel: *mut windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReport)(windows_core::Interface::as_raw(self), gpmreporttype, core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InfrastructureDC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InfrastructureDC)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInfrastructureDC(&self, newval: P0) -> windows_core::Result<()> @@ -1513,11 +1513,11 @@ impl IGPMDomain3 { pub struct IGPMDomain3_Vtbl { pub base__: IGPMDomain2_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReport: usize, - pub InfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetInfrastructureFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -1526,7 +1526,7 @@ windows_core::imp::define_interface!(IGPMGPO, IGPMGPO_Vtbl, 0x58cc4352_1ca3_48e5 impl std::ops::Deref for IGPMGPO { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1534,7 +1534,7 @@ windows_core::imp::interface_hierarchy!(IGPMGPO, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl IGPMGPO { pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDisplayName(&self, newval: P0) -> windows_core::Result<()> @@ -1544,44 +1544,44 @@ impl IGPMGPO { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DomainName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DomainName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreationTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreationTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ModificationTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModificationTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UserDSVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserDSVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ComputerDSVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputerDSVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UserSysvolVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserSysvolVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ComputerSysvolVersionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputerSysvolVersionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWMIFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWMIFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1604,16 +1604,16 @@ impl IGPMGPO { (windows_core::Interface::vtable(self).SetComputerEnabled)(windows_core::Interface::as_raw(self), vbenabled.param().abi()).ok() } pub unsafe fn IsUserEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUserEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsComputerEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsComputerEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1632,7 +1632,7 @@ impl IGPMGPO { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Backup)(windows_core::Interface::as_raw(self), bstrbackupdir.param().abi(), bstrcomment.param().abi(), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1640,12 +1640,12 @@ impl IGPMGPO { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Import)(windows_core::Interface::as_raw(self), lflags, pigpmbackup.param().abi(), core::mem::transmute(pvarmigrationtable), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const windows_core::VARIANT, pvargpmcancel: *mut windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReport)(windows_core::Interface::as_raw(self), gpmreporttype, core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1653,7 +1653,7 @@ impl IGPMGPO { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReportToFile)(windows_core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1661,7 +1661,7 @@ impl IGPMGPO { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyTo)(windows_core::Interface::as_raw(self), lflags, pigpmdomain.param().abi(), core::mem::transmute(pvarnewdisplayname), core::mem::transmute(pvarmigrationtable), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1673,11 +1673,11 @@ impl IGPMGPO { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityDescriptor(&self, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityDescriptor)(windows_core::Interface::as_raw(self), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsACLConsistent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsACLConsistent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MakeACLConsistent(&self) -> windows_core::Result<()> { @@ -1688,11 +1688,11 @@ impl IGPMGPO { #[repr(C)] pub struct IGPMGPO_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub ModificationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub UserDSVersionNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1721,23 +1721,23 @@ pub struct IGPMGPO_Vtbl { SetSecurityInfo: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Backup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Backup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Backup: usize, #[cfg(feature = "Win32_System_Com")] - pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Import: usize, #[cfg(feature = "Win32_System_Com")] - pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReport: usize, #[cfg(feature = "Win32_System_Com")] - pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReportToFile: usize, #[cfg(feature = "Win32_System_Com")] - pub CopyTo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CopyTo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CopyTo: usize, #[cfg(feature = "Win32_System_Com")] @@ -1757,7 +1757,7 @@ windows_core::imp::define_interface!(IGPMGPO2, IGPMGPO2_Vtbl, 0x8a66a210_b78b_4d impl std::ops::Deref for IGPMGPO2 { type Target = IGPMGPO; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1765,7 +1765,7 @@ windows_core::imp::interface_hierarchy!(IGPMGPO2, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IGPMGPO2 { pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, newval: P0) -> windows_core::Result<()> @@ -1779,8 +1779,8 @@ impl IGPMGPO2 { #[repr(C)] pub struct IGPMGPO2_Vtbl { pub base__: IGPMGPO_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMGPO3, IGPMGPO3_Vtbl, 0x7cf123a1_f94a_4112_bfae_6aa1db9cb248); @@ -1788,7 +1788,7 @@ windows_core::imp::define_interface!(IGPMGPO3, IGPMGPO3_Vtbl, 0x7cf123a1_f94a_41 impl std::ops::Deref for IGPMGPO3 { type Target = IGPMGPO2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1796,7 +1796,7 @@ windows_core::imp::interface_hierarchy!(IGPMGPO3, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IGPMGPO3 { pub unsafe fn InfrastructureDC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InfrastructureDC)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInfrastructureDC(&self, newval: P0) -> windows_core::Result<()> @@ -1813,8 +1813,8 @@ impl IGPMGPO3 { #[repr(C)] pub struct IGPMGPO3_Vtbl { pub base__: IGPMGPO2_Vtbl, - pub InfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInfrastructureDC: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetInfrastructureFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -1823,7 +1823,7 @@ windows_core::imp::define_interface!(IGPMGPOCollection, IGPMGPOCollection_Vtbl, impl std::ops::Deref for IGPMGPOCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1831,16 +1831,16 @@ windows_core::imp::interface_hierarchy!(IGPMGPOCollection, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IGPMGPOCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1849,7 +1849,7 @@ impl IGPMGPOCollection { pub struct IGPMGPOCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -1861,7 +1861,7 @@ windows_core::imp::define_interface!(IGPMGPOLink, IGPMGPOLink_Vtbl, 0x434b99bd_5 impl std::ops::Deref for IGPMGPOLink { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1869,15 +1869,15 @@ windows_core::imp::interface_hierarchy!(IGPMGPOLink, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IGPMGPOLink { pub unsafe fn GPOID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GPOID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GPODomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GPODomain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, newval: P0) -> windows_core::Result<()> @@ -1887,7 +1887,7 @@ impl IGPMGPOLink { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Enforced(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enforced)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnforced(&self, newval: P0) -> windows_core::Result<()> @@ -1897,12 +1897,12 @@ impl IGPMGPOLink { (windows_core::Interface::vtable(self).SetEnforced)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn SOMLinkOrder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SOMLinkOrder)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SOM(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SOM)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -1913,8 +1913,8 @@ impl IGPMGPOLink { #[repr(C)] pub struct IGPMGPOLink_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub GPOID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GPODomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GPOID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GPODomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Enforced: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1932,7 +1932,7 @@ windows_core::imp::define_interface!(IGPMGPOLinksCollection, IGPMGPOLinksCollect impl std::ops::Deref for IGPMGPOLinksCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1940,16 +1940,16 @@ windows_core::imp::interface_hierarchy!(IGPMGPOLinksCollection, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IGPMGPOLinksCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1958,7 +1958,7 @@ impl IGPMGPOLinksCollection { pub struct IGPMGPOLinksCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -1970,7 +1970,7 @@ windows_core::imp::define_interface!(IGPMMapEntry, IGPMMapEntry_Vtbl, 0x8e79ad06 impl std::ops::Deref for IGPMMapEntry { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1978,19 +1978,19 @@ windows_core::imp::interface_hierarchy!(IGPMMapEntry, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IGPMMapEntry { pub unsafe fn Source(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Source)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Destination(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Destination)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DestinationOption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationOption)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EntryType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EntryType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1998,8 +1998,8 @@ impl IGPMMapEntry { #[repr(C)] pub struct IGPMMapEntry_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Destination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Destination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DestinationOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMDestinationOption) -> windows_core::HRESULT, pub EntryType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMEntryType) -> windows_core::HRESULT, } @@ -2009,7 +2009,7 @@ windows_core::imp::define_interface!(IGPMMapEntryCollection, IGPMMapEntryCollect impl std::ops::Deref for IGPMMapEntryCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2017,16 +2017,16 @@ windows_core::imp::interface_hierarchy!(IGPMMapEntryCollection, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IGPMMapEntryCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2035,7 +2035,7 @@ impl IGPMMapEntryCollection { pub struct IGPMMapEntryCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -2047,7 +2047,7 @@ windows_core::imp::define_interface!(IGPMMigrationTable, IGPMMigrationTable_Vtbl impl std::ops::Deref for IGPMMigrationTable { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2071,7 +2071,7 @@ impl IGPMMigrationTable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddEntry)(windows_core::Interface::as_raw(self), bstrsource.param().abi(), gpmentrytype, core::mem::transmute(pvardestination), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2079,7 +2079,7 @@ impl IGPMMigrationTable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntry)(windows_core::Interface::as_raw(self), bstrsource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteEntry(&self, bstrsource: P0) -> windows_core::Result<()> @@ -2093,17 +2093,17 @@ impl IGPMMigrationTable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UpdateDestination)(windows_core::Interface::as_raw(self), bstrsource.param().abi(), core::mem::transmute(pvardestination), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Validate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Validate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEntries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntries)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2111,19 +2111,19 @@ impl IGPMMigrationTable { #[repr(C)] pub struct IGPMMigrationTable_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub AddEntry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, GPMEntryType, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddEntry: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, GPMEntryType, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddEntry: usize, #[cfg(feature = "Win32_System_Com")] - pub GetEntry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetEntry: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetEntry: usize, - pub DeleteEntry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteEntry: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub UpdateDestination: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UpdateDestination: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] UpdateDestination: usize, #[cfg(feature = "Win32_System_Com")] @@ -2141,7 +2141,7 @@ windows_core::imp::define_interface!(IGPMPermission, IGPMPermission_Vtbl, 0x35eb impl std::ops::Deref for IGPMPermission { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2149,24 +2149,24 @@ windows_core::imp::interface_hierarchy!(IGPMPermission, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IGPMPermission { pub unsafe fn Inherited(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Inherited)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Inheritable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Inheritable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Denied(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Denied)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Permission(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Permission)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Trustee(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Trustee)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2189,7 +2189,7 @@ windows_core::imp::define_interface!(IGPMRSOP, IGPMRSOP_Vtbl, 0x49ed785a_3237_4f impl std::ops::Deref for IGPMRSOP { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2197,11 +2197,11 @@ windows_core::imp::interface_hierarchy!(IGPMRSOP, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IGPMRSOP { pub unsafe fn Mode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Mode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Namespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Namespace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLoggingComputer(&self, bstrval: P0) -> windows_core::Result<()> @@ -2211,7 +2211,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetLoggingComputer)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn LoggingComputer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoggingComputer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLoggingUser(&self, bstrval: P0) -> windows_core::Result<()> @@ -2221,21 +2221,21 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetLoggingUser)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn LoggingUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoggingUser)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoggingFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPlanningDomainController(&self, bstrval: P0) -> windows_core::Result<()> @@ -2245,7 +2245,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningDomainController)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn PlanningDomainController(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningDomainController)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPlanningSiteName(&self, bstrval: P0) -> windows_core::Result<()> @@ -2255,7 +2255,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningSiteName)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn PlanningSiteName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningSiteName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPlanningUser(&self, bstrval: P0) -> windows_core::Result<()> @@ -2265,7 +2265,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningUser)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn PlanningUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningUser)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPlanningUserSOM(&self, bstrval: P0) -> windows_core::Result<()> @@ -2275,7 +2275,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningUserSOM)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn PlanningUserSOM(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningUserSOM)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPlanningUserWMIFilters(&self, varval: P0) -> windows_core::Result<()> @@ -2285,7 +2285,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningUserWMIFilters)(windows_core::Interface::as_raw(self), varval.param().abi()).ok() } pub unsafe fn PlanningUserWMIFilters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningUserWMIFilters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPlanningUserSecurityGroups(&self, varval: P0) -> windows_core::Result<()> @@ -2295,7 +2295,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningUserSecurityGroups)(windows_core::Interface::as_raw(self), varval.param().abi()).ok() } pub unsafe fn PlanningUserSecurityGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningUserSecurityGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPlanningComputer(&self, bstrval: P0) -> windows_core::Result<()> @@ -2305,7 +2305,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningComputer)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn PlanningComputer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningComputer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPlanningComputerSOM(&self, bstrval: P0) -> windows_core::Result<()> @@ -2315,7 +2315,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningComputerSOM)(windows_core::Interface::as_raw(self), bstrval.param().abi()).ok() } pub unsafe fn PlanningComputerSOM(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningComputerSOM)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPlanningComputerWMIFilters(&self, varval: P0) -> windows_core::Result<()> @@ -2325,7 +2325,7 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningComputerWMIFilters)(windows_core::Interface::as_raw(self), varval.param().abi()).ok() } pub unsafe fn PlanningComputerWMIFilters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningComputerWMIFilters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPlanningComputerSecurityGroups(&self, varval: P0) -> windows_core::Result<()> @@ -2335,11 +2335,11 @@ impl IGPMRSOP { (windows_core::Interface::vtable(self).SetPlanningComputerSecurityGroups)(windows_core::Interface::as_raw(self), varval.param().abi()).ok() } pub unsafe fn PlanningComputerSecurityGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlanningComputerSecurityGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoggingEnumerateUsers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoggingEnumerateUsers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateQueryResults(&self) -> windows_core::Result<()> { @@ -2350,7 +2350,7 @@ impl IGPMRSOP { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const windows_core::VARIANT, pvargpmcancel: *mut windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReport)(windows_core::Interface::as_raw(self), gpmreporttype, core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2358,7 +2358,7 @@ impl IGPMRSOP { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReportToFile)(windows_core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2367,44 +2367,44 @@ impl IGPMRSOP { pub struct IGPMRSOP_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMRSOPMode) -> windows_core::HRESULT, - pub Namespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLoggingComputer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LoggingComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLoggingUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LoggingUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Namespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLoggingComputer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoggingComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLoggingUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoggingUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetLoggingFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub LoggingFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPlanningFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub PlanningFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub SetPlanningDomainController: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningDomainController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPlanningSiteName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningSiteName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPlanningUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPlanningUserSOM: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningUserSOM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPlanningUserWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningUserWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPlanningUserSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningUserSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPlanningComputer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPlanningComputerSOM: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningComputerSOM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPlanningComputerWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningComputerWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPlanningComputerSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlanningComputerSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LoggingEnumerateUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningDomainController: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningDomainController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningSiteName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningSiteName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningUserSOM: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningUserSOM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningUserWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningUserWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningUserSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningUserSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningComputer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningComputerSOM: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningComputerSOM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningComputerWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningComputerWMIFilters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPlanningComputerSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlanningComputerSecurityGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoggingEnumerateUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreateQueryResults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseQueryResults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReport: usize, #[cfg(feature = "Win32_System_Com")] - pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReportToFile: usize, } @@ -2414,7 +2414,7 @@ windows_core::imp::define_interface!(IGPMResult, IGPMResult_Vtbl, 0x86dff7e9_f76 impl std::ops::Deref for IGPMResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2423,11 +2423,11 @@ windows_core::imp::interface_hierarchy!(IGPMResult, windows_core::IUnknown, supe impl IGPMResult { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Result(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Result)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OverallStatus(&self) -> windows_core::Result<()> { @@ -2442,7 +2442,7 @@ pub struct IGPMResult_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Status: usize, - pub Result: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Result: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OverallStatus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2451,7 +2451,7 @@ windows_core::imp::define_interface!(IGPMSOM, IGPMSOM_Vtbl, 0xc0a7f09e_05a1_4f0c impl std::ops::Deref for IGPMSOM { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2459,7 +2459,7 @@ windows_core::imp::interface_hierarchy!(IGPMSOM, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl IGPMSOM { pub unsafe fn GPOInheritanceBlocked(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GPOInheritanceBlocked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGPOInheritanceBlocked(&self, newval: P0) -> windows_core::Result<()> @@ -2469,11 +2469,11 @@ impl IGPMSOM { (windows_core::Interface::vtable(self).SetGPOInheritanceBlocked)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2481,26 +2481,26 @@ impl IGPMSOM { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGPOLink)(windows_core::Interface::as_raw(self), llinkpos, pgpo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetGPOLinks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGPOLinks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInheritedGPOLinks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInheritedGPOLinks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2517,8 +2517,8 @@ pub struct IGPMSOM_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub GPOInheritanceBlocked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetGPOInheritanceBlocked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateGPOLink: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2547,7 +2547,7 @@ windows_core::imp::define_interface!(IGPMSOMCollection, IGPMSOMCollection_Vtbl, impl std::ops::Deref for IGPMSOMCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2555,16 +2555,16 @@ windows_core::imp::interface_hierarchy!(IGPMSOMCollection, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IGPMSOMCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2573,7 +2573,7 @@ impl IGPMSOMCollection { pub struct IGPMSOMCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -2585,7 +2585,7 @@ windows_core::imp::define_interface!(IGPMSearchCriteria, IGPMSearchCriteria_Vtbl impl std::ops::Deref for IGPMSearchCriteria { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2603,7 +2603,7 @@ impl IGPMSearchCriteria { #[repr(C)] pub struct IGPMSearchCriteria_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, GPMSearchProperty, GPMSearchOperation, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, GPMSearchProperty, GPMSearchOperation, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMSecurityInfo, IGPMSecurityInfo_Vtbl, 0xb6c31ed4_1c93_4d3e_ae84_eb6d61161b60); @@ -2611,7 +2611,7 @@ windows_core::imp::define_interface!(IGPMSecurityInfo, IGPMSecurityInfo_Vtbl, 0x impl std::ops::Deref for IGPMSecurityInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2619,16 +2619,16 @@ windows_core::imp::interface_hierarchy!(IGPMSecurityInfo, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IGPMSecurityInfo { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2657,7 +2657,7 @@ impl IGPMSecurityInfo { pub struct IGPMSecurityInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -2670,7 +2670,7 @@ pub struct IGPMSecurityInfo_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Remove: usize, - pub RemoveTrustee: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveTrustee: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMSitesContainer, IGPMSitesContainer_Vtbl, 0x4725a899_2782_4d27_a6bb_d499246ffd72); @@ -2678,7 +2678,7 @@ windows_core::imp::define_interface!(IGPMSitesContainer, IGPMSitesContainer_Vtbl impl std::ops::Deref for IGPMSitesContainer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2686,15 +2686,15 @@ windows_core::imp::interface_hierarchy!(IGPMSitesContainer, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IGPMSitesContainer { pub unsafe fn DomainController(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DomainController)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Domain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Domain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Forest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Forest)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2702,7 +2702,7 @@ impl IGPMSitesContainer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSite)(windows_core::Interface::as_raw(self), bstrsitename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2710,7 +2710,7 @@ impl IGPMSitesContainer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchSites)(windows_core::Interface::as_raw(self), pigpmsearchcriteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2718,11 +2718,11 @@ impl IGPMSitesContainer { #[repr(C)] pub struct IGPMSitesContainer_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub DomainController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Forest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DomainController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Forest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetSite: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetSite: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetSite: usize, #[cfg(feature = "Win32_System_Com")] @@ -2736,7 +2736,7 @@ windows_core::imp::define_interface!(IGPMStarterGPO, IGPMStarterGPO_Vtbl, 0xdfc3 impl std::ops::Deref for IGPMStarterGPO { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2744,7 +2744,7 @@ windows_core::imp::interface_hierarchy!(IGPMStarterGPO, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPO { pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDisplayName(&self, newval: P0) -> windows_core::Result<()> @@ -2754,7 +2754,7 @@ impl IGPMStarterGPO { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, newval: P0) -> windows_core::Result<()> @@ -2764,39 +2764,39 @@ impl IGPMStarterGPO { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Author(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Author)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Product(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Product)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreationTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreationTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModifiedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModifiedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ComputerVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputerVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UserVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StarterGPOVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StarterGPOVersion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -2809,7 +2809,7 @@ impl IGPMStarterGPO { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), bstrsavefile.param().abi(), boverwrite.param().abi(), bsaveassystem.param().abi(), core::mem::transmute(bstrlanguage), core::mem::transmute(bstrauthor), core::mem::transmute(bstrproduct), core::mem::transmute(bstruniqueid), core::mem::transmute(bstrversion), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2818,17 +2818,17 @@ impl IGPMStarterGPO { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Backup)(windows_core::Interface::as_raw(self), bstrbackupdir.param().abi(), bstrcomment.param().abi(), core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CopyTo(&self, pvarnewdisplayname: *const windows_core::VARIANT, pvargpmprogress: *const windows_core::VARIANT, pvargpmcancel: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const windows_core::VARIANT, pvargpmcancel: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReport)(windows_core::Interface::as_raw(self), gpmreporttype, core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2836,12 +2836,12 @@ impl IGPMStarterGPO { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReportToFile)(windows_core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2856,38 +2856,38 @@ impl IGPMStarterGPO { #[repr(C)] pub struct IGPMStarterGPO_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Product: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Product: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, - pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ModifiedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMStarterGPOType) -> windows_core::HRESULT, pub ComputerVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub UserVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, - pub StarterGPOVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StarterGPOVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Save: usize, #[cfg(feature = "Win32_System_Com")] - pub Backup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Backup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Backup: usize, #[cfg(feature = "Win32_System_Com")] - pub CopyTo: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CopyTo: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CopyTo: usize, #[cfg(feature = "Win32_System_Com")] - pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReport: usize, #[cfg(feature = "Win32_System_Com")] - pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReportToFile: usize, #[cfg(feature = "Win32_System_Com")] @@ -2905,7 +2905,7 @@ windows_core::imp::define_interface!(IGPMStarterGPOBackup, IGPMStarterGPOBackup_ impl std::ops::Deref for IGPMStarterGPOBackup { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2913,35 +2913,35 @@ windows_core::imp::interface_hierarchy!(IGPMStarterGPOBackup, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPOBackup { pub unsafe fn BackupDir(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackupDir)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Comment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Comment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Domain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Domain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StarterGPOID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StarterGPOID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Timestamp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Timestamp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -2949,7 +2949,7 @@ impl IGPMStarterGPOBackup { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GenerateReport(&self, gpmreporttype: GPMReportType, pvargpmprogress: *const windows_core::VARIANT, pvargpmcancel: *mut windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReport)(windows_core::Interface::as_raw(self), gpmreporttype, core::mem::transmute(pvargpmprogress), core::mem::transmute(pvargpmcancel), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2957,7 +2957,7 @@ impl IGPMStarterGPOBackup { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateReportToFile)(windows_core::Interface::as_raw(self), gpmreporttype, bstrtargetfilepath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2965,21 +2965,21 @@ impl IGPMStarterGPOBackup { #[repr(C)] pub struct IGPMStarterGPOBackup_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub BackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StarterGPOID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BackupDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StarterGPOID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMStarterGPOType) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReport: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReport: usize, #[cfg(feature = "Win32_System_Com")] - pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GenerateReportToFile: unsafe extern "system" fn(*mut core::ffi::c_void, GPMReportType, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GenerateReportToFile: usize, } @@ -2989,7 +2989,7 @@ windows_core::imp::define_interface!(IGPMStarterGPOBackupCollection, IGPMStarter impl std::ops::Deref for IGPMStarterGPOBackupCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2997,16 +2997,16 @@ windows_core::imp::interface_hierarchy!(IGPMStarterGPOBackupCollection, windows_ #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPOBackupCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3015,7 +3015,7 @@ impl IGPMStarterGPOBackupCollection { pub struct IGPMStarterGPOBackupCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -3027,7 +3027,7 @@ windows_core::imp::define_interface!(IGPMStarterGPOCollection, IGPMStarterGPOCol impl std::ops::Deref for IGPMStarterGPOCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3035,16 +3035,16 @@ windows_core::imp::interface_hierarchy!(IGPMStarterGPOCollection, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPOCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3053,7 +3053,7 @@ impl IGPMStarterGPOCollection { pub struct IGPMStarterGPOCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -3065,7 +3065,7 @@ windows_core::imp::define_interface!(IGPMStatusMessage, IGPMStatusMessage_Vtbl, impl std::ops::Deref for IGPMStatusMessage { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3073,25 +3073,25 @@ windows_core::imp::interface_hierarchy!(IGPMStatusMessage, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IGPMStatusMessage { pub unsafe fn ObjectPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ErrorCode(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).ErrorCode)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn ExtensionName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtensionName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SettingsName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SettingsName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OperationCode(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).OperationCode)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Message(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Message)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3099,12 +3099,12 @@ impl IGPMStatusMessage { #[repr(C)] pub struct IGPMStatusMessage_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ObjectPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ObjectPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SettingsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtensionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettingsName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OperationCode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMStatusMsgCollection, IGPMStatusMsgCollection_Vtbl, 0x9b6e1af0_1a92_40f3_a59d_f36ac1f728b7); @@ -3112,7 +3112,7 @@ windows_core::imp::define_interface!(IGPMStatusMsgCollection, IGPMStatusMsgColle impl std::ops::Deref for IGPMStatusMsgCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3120,16 +3120,16 @@ windows_core::imp::interface_hierarchy!(IGPMStatusMsgCollection, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IGPMStatusMsgCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3138,7 +3138,7 @@ impl IGPMStatusMsgCollection { pub struct IGPMStatusMsgCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -3150,7 +3150,7 @@ windows_core::imp::define_interface!(IGPMTrustee, IGPMTrustee_Vtbl, 0x3b466da8_c impl std::ops::Deref for IGPMTrustee { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3158,23 +3158,23 @@ windows_core::imp::interface_hierarchy!(IGPMTrustee, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IGPMTrustee { pub unsafe fn TrusteeSid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrusteeSid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TrusteeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrusteeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TrusteeDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrusteeDomain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TrusteeDSPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrusteeDSPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TrusteeType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrusteeType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3182,10 +3182,10 @@ impl IGPMTrustee { #[repr(C)] pub struct IGPMTrustee_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub TrusteeSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TrusteeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TrusteeDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TrusteeDSPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrusteeSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrusteeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrusteeDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TrusteeDSPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TrusteeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -3194,7 +3194,7 @@ windows_core::imp::define_interface!(IGPMWMIFilter, IGPMWMIFilter_Vtbl, 0xef2ff9 impl std::ops::Deref for IGPMWMIFilter { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3202,7 +3202,7 @@ windows_core::imp::interface_hierarchy!(IGPMWMIFilter, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IGPMWMIFilter { pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, newval: P0) -> windows_core::Result<()> @@ -3212,7 +3212,7 @@ impl IGPMWMIFilter { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, newval: P0) -> windows_core::Result<()> @@ -3222,16 +3222,16 @@ impl IGPMWMIFilter { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetQueryList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQueryList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSecurityInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3246,12 +3246,12 @@ impl IGPMWMIFilter { #[repr(C)] pub struct IGPMWMIFilter_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetQueryList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetQueryList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetSecurityInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3267,7 +3267,7 @@ windows_core::imp::define_interface!(IGPMWMIFilterCollection, IGPMWMIFilterColle impl std::ops::Deref for IGPMWMIFilterCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3275,16 +3275,16 @@ windows_core::imp::interface_hierarchy!(IGPMWMIFilterCollection, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IGPMWMIFilterCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3293,7 +3293,7 @@ impl IGPMWMIFilterCollection { pub struct IGPMWMIFilterCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -3303,7 +3303,7 @@ windows_core::imp::define_interface!(IGroupPolicyObject, IGroupPolicyObject_Vtbl impl std::ops::Deref for IGroupPolicyObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGroupPolicyObject, windows_core::IUnknown); @@ -3414,7 +3414,7 @@ windows_core::imp::define_interface!(IRSOPInformation, IRSOPInformation_Vtbl, 0x impl std::ops::Deref for IRSOPInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRSOPInformation, windows_core::IUnknown); @@ -3431,7 +3431,7 @@ impl IRSOPInformation { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventLogEntryText)(windows_core::Interface::as_raw(self), pszeventsource.param().abi(), pszeventlogname.param().abi(), pszeventtime.param().abi(), dweventid, &mut result__).map(|| result__) } } @@ -4134,7 +4134,7 @@ pub struct RSOP_TARGET { pub psaSecurityGroups: *mut super::Com::SAFEARRAY, pub pRsopToken: *mut core::ffi::c_void, pub pGPOList: *mut GROUP_POLICY_OBJECTA, - pub pWbemServices: std::mem::ManuallyDrop>, + pub pWbemServices: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] impl Clone for RSOP_TARGET { 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 cbfe6ada6b..68f1583ffb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/HostComputeNetwork/mod.rs @@ -259,7 +259,7 @@ where #[inline] pub unsafe fn HcnReserveGuestNetworkServicePort(guestnetworkservice: *const core::ffi::c_void, protocol: HCN_PORT_PROTOCOL, access: HCN_PORT_ACCESS, port: u16) -> windows_core::Result { windows_targets::link!("computenetwork.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HcnReserveGuestNetworkServicePort(guestnetworkservice, protocol, access, port, &mut result__).map(|| result__) } #[inline] 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 b653dadec8..146c7eacde 100644 --- a/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs @@ -68,7 +68,7 @@ where P2: windows_core::Param, { windows_targets::link!("computecore.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HcsCreateComputeSystem(id.param().abi(), configuration.param().abi(), operation.param().abi(), core::mem::transmute(securitydescriptor.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -80,7 +80,7 @@ where P3: windows_core::Param, { windows_targets::link!("computecore.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HcsCreateComputeSystemInNamespace(idnamespace.param().abi(), id.param().abi(), configuration.param().abi(), operation.param().abi(), core::mem::transmute(options.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -118,7 +118,7 @@ where P2: windows_core::Param, { windows_targets::link!("computecore.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HcsCreateProcess(computesystem.param().abi(), processparameters.param().abi(), operation.param().abi(), core::mem::transmute(securitydescriptor.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -210,7 +210,7 @@ where P0: windows_core::Param, { windows_targets::link!("computestorage.dll" "system" fn HcsGetLayerVhdMountPath(vhdhandle : super::super::Foundation:: HANDLE, mountpath : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HcsGetLayerVhdMountPath(vhdhandle.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -294,7 +294,7 @@ where P0: windows_core::Param, { windows_targets::link!("computecore.dll" "system" fn HcsGetServiceProperties(propertyquery : windows_core::PCWSTR, result : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HcsGetServiceProperties(propertyquery.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -380,7 +380,7 @@ where P0: windows_core::Param, { windows_targets::link!("computecore.dll" "system" fn HcsOpenComputeSystem(id : windows_core::PCWSTR, requestedaccess : u32, computesystem : *mut HCS_SYSTEM) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HcsOpenComputeSystem(id.param().abi(), requestedaccess, &mut result__).map(|| result__) } #[inline] @@ -390,7 +390,7 @@ where P1: windows_core::Param, { windows_targets::link!("computecore.dll" "system" fn HcsOpenComputeSystemInNamespace(idnamespace : windows_core::PCWSTR, id : windows_core::PCWSTR, requestedaccess : u32, computesystem : *mut HCS_SYSTEM) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HcsOpenComputeSystemInNamespace(idnamespace.param().abi(), id.param().abi(), requestedaccess, &mut result__).map(|| result__) } #[inline] @@ -399,7 +399,7 @@ where P0: windows_core::Param, { windows_targets::link!("computecore.dll" "system" fn HcsOpenProcess(computesystem : HCS_SYSTEM, processid : u32, requestedaccess : u32, process : *mut HCS_PROCESS) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HcsOpenProcess(computesystem.param().abi(), processid, requestedaccess, &mut result__).map(|| result__) } #[inline] 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 8101f55c62..8c560bbbcb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs @@ -346,7 +346,7 @@ where P0: windows_core::Param, { windows_targets::link!("winhvplatform.dll" "system" fn WHvAcceptPartitionMigration(migrationhandle : super::super::Foundation:: HANDLE, partition : *mut WHV_PARTITION_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WHvAcceptPartitionMigration(migrationhandle.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -360,7 +360,7 @@ where #[inline] pub unsafe fn WHvAllocateVpciResource(providerid: Option<*const windows_core::GUID>, flags: WHV_ALLOCATE_VPCI_RESOURCE_FLAGS, resourcedescriptor: Option<&[u8]>) -> windows_core::Result { windows_targets::link!("winhvplatform.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WHvAllocateVpciResource(core::mem::transmute(providerid.unwrap_or(std::ptr::null())), flags, core::mem::transmute(resourcedescriptor.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), resourcedescriptor.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).map(|| result__) } #[inline] @@ -399,7 +399,7 @@ where #[inline] pub unsafe fn WHvCreatePartition() -> windows_core::Result { windows_targets::link!("winhvplatform.dll" "system" fn WHvCreatePartition(partition : *mut WHV_PARTITION_HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WHvCreatePartition(&mut result__).map(|| result__) } #[inline] @@ -489,13 +489,13 @@ pub unsafe fn WHvEmulatorDestroyEmulator(emulator: *const core::ffi::c_void) -> #[inline] pub unsafe 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) -> windows_core::Result { windows_targets::link!("winhvemulation.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WHvEmulatorTryIoEmulation(emulator, context, vpcontext, ioinstructioncontext, &mut result__).map(|| result__) } #[inline] pub unsafe 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) -> windows_core::Result { windows_targets::link!("winhvemulation.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WHvEmulatorTryMmioEmulation(emulator, context, vpcontext, mmioinstructioncontext, &mut result__).map(|| result__) } #[inline] @@ -541,7 +541,7 @@ where P0: windows_core::Param, { windows_targets::link!("winhvplatform.dll" "system" fn WHvGetVirtualProcessorCpuidOutput(partition : WHV_PARTITION_HANDLE, vpindex : u32, eax : u32, ecx : u32, cpuidoutput : *mut WHV_CPUID_OUTPUT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WHvGetVirtualProcessorCpuidOutput(partition.param().abi(), vpindex, eax, ecx, &mut result__).map(|| result__) } #[inline] @@ -817,7 +817,7 @@ where P0: windows_core::Param, { windows_targets::link!("winhvplatform.dll" "system" fn WHvStartPartitionMigration(partition : WHV_PARTITION_HANDLE, migrationhandle : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WHvStartPartitionMigration(partition.param().abi(), &mut result__).map(|| result__) } #[inline] 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 ff0a528028..4688a2d243 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs @@ -22,7 +22,7 @@ windows_core::imp::define_interface!(AsyncIFtpAuthenticationProvider, AsyncIFtpA impl std::ops::Deref for AsyncIFtpAuthenticationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIFtpAuthenticationProvider, windows_core::IUnknown); @@ -50,7 +50,7 @@ windows_core::imp::define_interface!(AsyncIFtpAuthorizationProvider, AsyncIFtpAu impl std::ops::Deref for AsyncIFtpAuthorizationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIFtpAuthorizationProvider, windows_core::IUnknown); @@ -65,7 +65,7 @@ impl AsyncIFtpAuthorizationProvider { (windows_core::Interface::vtable(self).Begin_GetUserAccessPermission)(windows_core::Interface::as_raw(self), pszsessionid.param().abi(), pszsitename.param().abi(), pszvirtualpath.param().abi(), pszusername.param().abi()).ok() } pub unsafe fn Finish_GetUserAccessPermission(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_GetUserAccessPermission)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -79,7 +79,7 @@ windows_core::imp::define_interface!(AsyncIFtpHomeDirectoryProvider, AsyncIFtpHo impl std::ops::Deref for AsyncIFtpHomeDirectoryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIFtpHomeDirectoryProvider, windows_core::IUnknown); @@ -93,7 +93,7 @@ impl AsyncIFtpHomeDirectoryProvider { (windows_core::Interface::vtable(self).Begin_GetUserHomeDirectoryData)(windows_core::Interface::as_raw(self), pszsessionid.param().abi(), pszsitename.param().abi(), pszusername.param().abi()).ok() } pub unsafe fn Finish_GetUserHomeDirectoryData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_GetUserHomeDirectoryData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -107,7 +107,7 @@ windows_core::imp::define_interface!(AsyncIFtpLogProvider, AsyncIFtpLogProvider_ impl std::ops::Deref for AsyncIFtpLogProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIFtpLogProvider, windows_core::IUnknown); @@ -129,7 +129,7 @@ windows_core::imp::define_interface!(AsyncIFtpPostprocessProvider, AsyncIFtpPost impl std::ops::Deref for AsyncIFtpPostprocessProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIFtpPostprocessProvider, windows_core::IUnknown); @@ -138,7 +138,7 @@ impl AsyncIFtpPostprocessProvider { (windows_core::Interface::vtable(self).Begin_HandlePostprocess)(windows_core::Interface::as_raw(self), ppostprocessparameters).ok() } pub unsafe fn Finish_HandlePostprocess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_HandlePostprocess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -152,7 +152,7 @@ windows_core::imp::define_interface!(AsyncIFtpPreprocessProvider, AsyncIFtpPrepr impl std::ops::Deref for AsyncIFtpPreprocessProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIFtpPreprocessProvider, windows_core::IUnknown); @@ -161,7 +161,7 @@ impl AsyncIFtpPreprocessProvider { (windows_core::Interface::vtable(self).Begin_HandlePreprocess)(windows_core::Interface::as_raw(self), ppreprocessparameters).ok() } pub unsafe fn Finish_HandlePreprocess(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_HandlePreprocess)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -175,7 +175,7 @@ windows_core::imp::define_interface!(AsyncIFtpRoleProvider, AsyncIFtpRoleProvide impl std::ops::Deref for AsyncIFtpRoleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIFtpRoleProvider, windows_core::IUnknown); @@ -190,7 +190,7 @@ impl AsyncIFtpRoleProvider { (windows_core::Interface::vtable(self).Begin_IsUserInRole)(windows_core::Interface::as_raw(self), pszsessionid.param().abi(), pszsitename.param().abi(), pszusername.param().abi(), pszrole.param().abi()).ok() } pub unsafe fn Finish_IsUserInRole(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Finish_IsUserInRole)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -204,7 +204,7 @@ windows_core::imp::define_interface!(AsyncIMSAdminBaseSinkW, AsyncIMSAdminBaseSi impl std::ops::Deref for AsyncIMSAdminBaseSinkW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(AsyncIMSAdminBaseSinkW, windows_core::IUnknown); @@ -234,7 +234,7 @@ windows_core::imp::define_interface!(IADMEXT, IADMEXT_Vtbl, 0x51dfe970_f6f2_11d0 impl std::ops::Deref for IADMEXT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IADMEXT, windows_core::IUnknown); @@ -260,7 +260,7 @@ windows_core::imp::define_interface!(IFtpAuthenticationProvider, IFtpAuthenticat impl std::ops::Deref for IFtpAuthenticationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFtpAuthenticationProvider, windows_core::IUnknown); @@ -284,7 +284,7 @@ windows_core::imp::define_interface!(IFtpAuthorizationProvider, IFtpAuthorizatio impl std::ops::Deref for IFtpAuthorizationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFtpAuthorizationProvider, windows_core::IUnknown); @@ -296,7 +296,7 @@ impl IFtpAuthorizationProvider { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserAccessPermission)(windows_core::Interface::as_raw(self), pszsessionid.param().abi(), pszsitename.param().abi(), pszvirtualpath.param().abi(), pszusername.param().abi(), &mut result__).map(|| result__) } } @@ -309,7 +309,7 @@ windows_core::imp::define_interface!(IFtpHomeDirectoryProvider, IFtpHomeDirector impl std::ops::Deref for IFtpHomeDirectoryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFtpHomeDirectoryProvider, windows_core::IUnknown); @@ -320,7 +320,7 @@ impl IFtpHomeDirectoryProvider { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserHomeDirectoryData)(windows_core::Interface::as_raw(self), pszsessionid.param().abi(), pszsitename.param().abi(), pszusername.param().abi(), &mut result__).map(|| result__) } } @@ -333,7 +333,7 @@ windows_core::imp::define_interface!(IFtpLogProvider, IFtpLogProvider_Vtbl, 0xa1 impl std::ops::Deref for IFtpLogProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFtpLogProvider, windows_core::IUnknown); @@ -351,13 +351,13 @@ windows_core::imp::define_interface!(IFtpPostprocessProvider, IFtpPostprocessPro impl std::ops::Deref for IFtpPostprocessProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFtpPostprocessProvider, windows_core::IUnknown); impl IFtpPostprocessProvider { pub unsafe fn HandlePostprocess(&self, ppostprocessparameters: *const POST_PROCESS_PARAMETERS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HandlePostprocess)(windows_core::Interface::as_raw(self), ppostprocessparameters, &mut result__).map(|| result__) } } @@ -370,13 +370,13 @@ windows_core::imp::define_interface!(IFtpPreprocessProvider, IFtpPreprocessProvi impl std::ops::Deref for IFtpPreprocessProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFtpPreprocessProvider, windows_core::IUnknown); impl IFtpPreprocessProvider { pub unsafe fn HandlePreprocess(&self, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HandlePreprocess)(windows_core::Interface::as_raw(self), ppreprocessparameters, &mut result__).map(|| result__) } } @@ -389,7 +389,7 @@ windows_core::imp::define_interface!(IFtpProviderConstruct, IFtpProviderConstruc impl std::ops::Deref for IFtpProviderConstruct { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFtpProviderConstruct, windows_core::IUnknown); @@ -411,7 +411,7 @@ windows_core::imp::define_interface!(IFtpRoleProvider, IFtpRoleProvider_Vtbl, 0x impl std::ops::Deref for IFtpRoleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFtpRoleProvider, windows_core::IUnknown); @@ -423,7 +423,7 @@ impl IFtpRoleProvider { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUserInRole)(windows_core::Interface::as_raw(self), pszsessionid.param().abi(), pszsitename.param().abi(), pszusername.param().abi(), pszrole.param().abi(), &mut result__).map(|| result__) } } @@ -436,7 +436,7 @@ windows_core::imp::define_interface!(IMSAdminBase2W, IMSAdminBase2W_Vtbl, 0x8298 impl std::ops::Deref for IMSAdminBase2W { type Target = IMSAdminBaseW; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMSAdminBase2W, windows_core::IUnknown, IMSAdminBaseW); @@ -496,7 +496,7 @@ windows_core::imp::define_interface!(IMSAdminBase3W, IMSAdminBase3W_Vtbl, 0xf612 impl std::ops::Deref for IMSAdminBase3W { type Target = IMSAdminBase2W; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMSAdminBase3W, windows_core::IUnknown, IMSAdminBaseW, IMSAdminBase2W); @@ -517,7 +517,7 @@ windows_core::imp::define_interface!(IMSAdminBaseSinkW, IMSAdminBaseSinkW_Vtbl, impl std::ops::Deref for IMSAdminBaseSinkW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMSAdminBaseSinkW, windows_core::IUnknown); @@ -539,7 +539,7 @@ windows_core::imp::define_interface!(IMSAdminBaseW, IMSAdminBaseW_Vtbl, 0x70b514 impl std::ops::Deref for IMSAdminBaseW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMSAdminBaseW, windows_core::IUnknown); @@ -638,7 +638,7 @@ impl IMSAdminBaseW { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenKey)(windows_core::Interface::as_raw(self), hmdhandle, pszmdpath.param().abi(), dwmdaccessrequested, dwmdtimeout, &mut result__).map(|| result__) } pub unsafe fn CloseKey(&self, hmdhandle: u32) -> windows_core::Result<()> { @@ -651,18 +651,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHandleInfo)(windows_core::Interface::as_raw(self), hmdhandle, &mut result__).map(|| result__) } pub unsafe fn GetSystemChangeNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemChangeNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataSetNumber(&self, hmdhandle: u32, pszmdpath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataSetNumber)(windows_core::Interface::as_raw(self), hmdhandle, pszmdpath.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetLastChangeTime(&self, hmdhandle: u32, pszmdpath: P0, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: P1) -> windows_core::Result<()> @@ -707,7 +707,7 @@ impl IMSAdminBaseW { (windows_core::Interface::vtable(self).DeleteBackup)(windows_core::Interface::as_raw(self), pszmdbackuplocation.param().abi(), dwmdversion).ok() } pub unsafe fn UnmarshalInterface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UnmarshalInterface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetServerGuid(&self) -> windows_core::Result<()> { @@ -753,7 +753,7 @@ windows_core::imp::define_interface!(IMSImpExpHelpW, IMSImpExpHelpW_Vtbl, 0x29ff impl std::ops::Deref for IMSImpExpHelpW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMSImpExpHelpW, windows_core::IUnknown); @@ -1843,8 +1843,8 @@ impl Default for CERT_CONTEXT_EX { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct CONFIGURATION_ENTRY { - pub bstrKey: std::mem::ManuallyDrop, - pub bstrValue: std::mem::ManuallyDrop, + pub bstrKey: core::mem::ManuallyDrop, + pub bstrValue: core::mem::ManuallyDrop, } impl Clone for CONFIGURATION_ENTRY { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/System/Js/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Js/mod.rs index 93012986ee..2cee033aaa 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Js/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Js/mod.rs @@ -472,12 +472,12 @@ pub unsafe fn JsStringToPointer(value: *const core::ffi::c_void, stringvalue: *m } #[inline] pub unsafe fn JsValueToVariant(object: *const core::ffi::c_void, variant: *mut windows_core::VARIANT) -> JsErrorCode { - windows_targets::link!("chakra.dll" "system" fn JsValueToVariant(object : *const core::ffi::c_void, variant : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> JsErrorCode); + windows_targets::link!("chakra.dll" "system" fn JsValueToVariant(object : *const core::ffi::c_void, variant : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> JsErrorCode); JsValueToVariant(object, core::mem::transmute(variant)) } #[inline] pub unsafe fn JsVariantToValue(variant: *const windows_core::VARIANT, value: *mut *mut core::ffi::c_void) -> JsErrorCode { - windows_targets::link!("chakra.dll" "system" fn JsVariantToValue(variant : *const std::mem::MaybeUninit < windows_core::VARIANT >, value : *mut *mut core::ffi::c_void) -> JsErrorCode); + windows_targets::link!("chakra.dll" "system" fn JsVariantToValue(variant : *const core::mem::MaybeUninit < windows_core::VARIANT >, value : *mut *mut core::ffi::c_void) -> JsErrorCode); JsVariantToValue(core::mem::transmute(variant), value) } pub const JS_SOURCE_CONTEXT_NONE: u64 = 18446744073709551615u64; diff --git a/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs index 66fd1c05a9..d47e7aff3b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs @@ -6,7 +6,7 @@ pub unsafe fn RtlFirstEntrySList(listhead: *const SLIST_HEADER) -> *mut SLIST_EN #[inline] pub unsafe fn RtlInitializeSListHead() -> SLIST_HEADER { windows_targets::link!("ntdll.dll" "system" fn RtlInitializeSListHead(listhead : *mut SLIST_HEADER)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtlInitializeSListHead(&mut result__); result__ } diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs index 9c2c56c67b..80214bc043 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs @@ -7,7 +7,7 @@ impl windows_core::RuntimeName for IMSMQApplication {} #[cfg(feature = "Win32_System_Com")] impl IMSMQApplication_Vtbl { pub const fn new, Impl: IMSMQApplication_Impl, const OFFSET: isize>() -> IMSMQApplication_Vtbl { - unsafe extern "system" fn MachineIdOfMachineName, Impl: IMSMQApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinename: std::mem::MaybeUninit, pbstrguid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MachineIdOfMachineName, Impl: IMSMQApplication_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machinename: core::mem::MaybeUninit, pbstrguid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQApplication_Impl::MachineIdOfMachineName(this, core::mem::transmute(&machinename)) { @@ -39,12 +39,12 @@ impl windows_core::RuntimeName for IMSMQApplication2 {} #[cfg(feature = "Win32_System_Com")] impl IMSMQApplication2_Vtbl { pub const fn new, Impl: IMSMQApplication2_Impl, const OFFSET: isize>() -> IMSMQApplication2_Vtbl { - unsafe extern "system" fn RegisterCertificate, Impl: IMSMQApplication2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: *const std::mem::MaybeUninit, externalcertificate: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterCertificate, Impl: IMSMQApplication2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: *const core::mem::MaybeUninit, externalcertificate: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQApplication2_Impl::RegisterCertificate(this, core::mem::transmute_copy(&flags), core::mem::transmute_copy(&externalcertificate)).into() } - unsafe extern "system" fn MachineNameOfMachineId, Impl: IMSMQApplication2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: std::mem::MaybeUninit, pbstrmachinename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MachineNameOfMachineId, Impl: IMSMQApplication2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguid: core::mem::MaybeUninit, pbstrmachinename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQApplication2_Impl::MachineNameOfMachineId(this, core::mem::transmute(&bstrguid)) { @@ -143,7 +143,7 @@ impl windows_core::RuntimeName for IMSMQApplication3 {} #[cfg(feature = "Win32_System_Com")] impl IMSMQApplication3_Vtbl { pub const fn new, Impl: IMSMQApplication3_Impl, const OFFSET: isize>() -> IMSMQApplication3_Vtbl { - unsafe extern "system" fn ActiveQueues, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvactivequeues: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ActiveQueues, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvactivequeues: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQApplication3_Impl::ActiveQueues(this) { @@ -154,7 +154,7 @@ impl IMSMQApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PrivateQueues, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvprivatequeues: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrivateQueues, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvprivatequeues: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQApplication3_Impl::PrivateQueues(this) { @@ -165,7 +165,7 @@ impl IMSMQApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DirectoryServiceServer, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdirectoryserviceserver: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DirectoryServiceServer, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdirectoryserviceserver: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQApplication3_Impl::DirectoryServiceServer(this) { @@ -187,7 +187,7 @@ impl IMSMQApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BytesInAllQueues, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvbytesinallqueues: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BytesInAllQueues, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvbytesinallqueues: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQApplication3_Impl::BytesInAllQueues(this) { @@ -198,12 +198,12 @@ impl IMSMQApplication3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMachine, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmachine: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMachine, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmachine: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQApplication3_Impl::SetMachine(this, core::mem::transmute(&bstrmachine)).into() } - unsafe extern "system" fn Machine, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmachine: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Machine, Impl: IMSMQApplication3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmachine: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQApplication3_Impl::Machine(this) { @@ -258,7 +258,7 @@ impl windows_core::RuntimeName for IMSMQCollection {} #[cfg(feature = "Win32_System_Com")] impl IMSMQCollection_Vtbl { pub const fn new, Impl: IMSMQCollection_Impl, const OFFSET: isize>() -> IMSMQCollection_Vtbl { - unsafe extern "system" fn Item, Impl: IMSMQCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: *const std::mem::MaybeUninit, pvarret: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: IMSMQCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: *const core::mem::MaybeUninit, pvarret: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQCollection_Impl::Item(this, core::mem::transmute_copy(&index)) { @@ -471,7 +471,7 @@ impl IMSMQDestination_Vtbl { let this = (*this).get_impl(); IMSMQDestination_Impl::putref_IADs(this, windows_core::from_raw_borrowed(&piads)).into() } - unsafe extern "system" fn ADsPath, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstradspath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ADsPath, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstradspath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQDestination_Impl::ADsPath(this) { @@ -482,12 +482,12 @@ impl IMSMQDestination_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetADsPath, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradspath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetADsPath, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstradspath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQDestination_Impl::SetADsPath(this, core::mem::transmute(&bstradspath)).into() } - unsafe extern "system" fn PathName, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathName, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQDestination_Impl::PathName(this) { @@ -498,12 +498,12 @@ impl IMSMQDestination_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPathName, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPathName, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQDestination_Impl::SetPathName(this, core::mem::transmute(&bstrpathname)).into() } - unsafe extern "system" fn FormatName, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatName, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQDestination_Impl::FormatName(this) { @@ -514,7 +514,7 @@ impl IMSMQDestination_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFormatName, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFormatName, Impl: IMSMQDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQDestination_Impl::SetFormatName(this, core::mem::transmute(&bstrformatname)).into() @@ -637,12 +637,12 @@ impl windows_core::RuntimeName for IMSMQManagement {} #[cfg(feature = "Win32_System_Com")] impl IMSMQManagement_Vtbl { pub const fn new, Impl: IMSMQManagement_Impl, const OFFSET: isize>() -> IMSMQManagement_Vtbl { - unsafe extern "system" fn Init, Impl: IMSMQManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machine: *const std::mem::MaybeUninit, pathname: *const std::mem::MaybeUninit, formatname: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Init, Impl: IMSMQManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, machine: *const core::mem::MaybeUninit, pathname: *const core::mem::MaybeUninit, formatname: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQManagement_Impl::Init(this, core::mem::transmute_copy(&machine), core::mem::transmute_copy(&pathname), core::mem::transmute_copy(&formatname)).into() } - unsafe extern "system" fn FormatName, Impl: IMSMQManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatName, Impl: IMSMQManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQManagement_Impl::FormatName(this) { @@ -653,7 +653,7 @@ impl IMSMQManagement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Machine, Impl: IMSMQManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmachine: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Machine, Impl: IMSMQManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmachine: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQManagement_Impl::Machine(this) { @@ -719,7 +719,7 @@ impl IMSMQManagement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BytesInQueue, Impl: IMSMQManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvbytesinqueue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BytesInQueue, Impl: IMSMQManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvbytesinqueue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQManagement_Impl::BytesInQueue(this) { @@ -954,7 +954,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); IMSMQMessage_Impl::SetAppSpecific(this, core::mem::transmute_copy(&lappspecific)).into() } - unsafe extern "system" fn SourceMachineGuid, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidsrcmachine: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SourceMachineGuid, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidsrcmachine: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage_Impl::SourceMachineGuid(this) { @@ -976,7 +976,7 @@ impl IMSMQMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Body, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Body, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage_Impl::Body(this) { @@ -987,7 +987,7 @@ impl IMSMQMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBody, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBody, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage_Impl::SetBody(this, core::mem::transmute(&varbody)).into() @@ -1008,7 +1008,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); IMSMQMessage_Impl::putref_AdminQueueInfo(this, windows_core::from_raw_borrowed(&pqinfoadmin)).into() } - unsafe extern "system" fn Id, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage_Impl::Id(this) { @@ -1019,7 +1019,7 @@ impl IMSMQMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CorrelationId, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CorrelationId, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage_Impl::CorrelationId(this) { @@ -1030,7 +1030,7 @@ impl IMSMQMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCorrelationId, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varmsgid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCorrelationId, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varmsgid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage_Impl::SetCorrelationId(this, core::mem::transmute(&varmsgid)).into() @@ -1051,7 +1051,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); IMSMQMessage_Impl::SetAck(this, core::mem::transmute_copy(&lack)).into() } - unsafe extern "system" fn Label, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage_Impl::Label(this) { @@ -1062,7 +1062,7 @@ impl IMSMQMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage_Impl::SetLabel(this, core::mem::transmute(&bstrlabel)).into() @@ -1131,7 +1131,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); IMSMQMessage_Impl::SetEncryptAlgorithm(this, core::mem::transmute_copy(&lencryptalg)).into() } - unsafe extern "system" fn SentTime, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenttime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SentTime, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenttime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage_Impl::SentTime(this) { @@ -1142,7 +1142,7 @@ impl IMSMQMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ArrivedTime, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plarrivedtime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ArrivedTime, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plarrivedtime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage_Impl::ArrivedTime(this) { @@ -1164,7 +1164,7 @@ impl IMSMQMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SenderCertificate, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsendercert: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderCertificate, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsendercert: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage_Impl::SenderCertificate(this) { @@ -1175,12 +1175,12 @@ impl IMSMQMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSenderCertificate, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsendercert: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSenderCertificate, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsendercert: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage_Impl::SetSenderCertificate(this, core::mem::transmute(&varsendercert)).into() } - unsafe extern "system" fn SenderId, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenderid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderId, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenderid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage_Impl::SenderId(this) { @@ -1207,7 +1207,7 @@ impl IMSMQMessage_Vtbl { let this = (*this).get_impl(); IMSMQMessage_Impl::SetSenderIdType(this, core::mem::transmute_copy(&lsenderidtype)).into() } - unsafe extern "system" fn Send, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationqueue: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Send, Impl: IMSMQMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationqueue: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage_Impl::Send(this, windows_core::from_raw_borrowed(&destinationqueue), core::mem::transmute_copy(&transaction)).into() @@ -1507,7 +1507,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); IMSMQMessage2_Impl::SetAppSpecific(this, core::mem::transmute_copy(&lappspecific)).into() } - unsafe extern "system" fn SourceMachineGuid, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidsrcmachine: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SourceMachineGuid, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidsrcmachine: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::SourceMachineGuid(this) { @@ -1529,7 +1529,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Body, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Body, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::Body(this) { @@ -1540,7 +1540,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBody, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBody, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetBody(this, core::mem::transmute(&varbody)).into() @@ -1561,7 +1561,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); IMSMQMessage2_Impl::putref_AdminQueueInfo_v1(this, windows_core::from_raw_borrowed(&pqinfoadmin)).into() } - unsafe extern "system" fn Id, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::Id(this) { @@ -1572,7 +1572,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CorrelationId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CorrelationId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::CorrelationId(this) { @@ -1583,7 +1583,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCorrelationId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varmsgid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCorrelationId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varmsgid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetCorrelationId(this, core::mem::transmute(&varmsgid)).into() @@ -1604,7 +1604,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); IMSMQMessage2_Impl::SetAck(this, core::mem::transmute_copy(&lack)).into() } - unsafe extern "system" fn Label, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::Label(this) { @@ -1615,7 +1615,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetLabel(this, core::mem::transmute(&bstrlabel)).into() @@ -1684,7 +1684,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); IMSMQMessage2_Impl::SetEncryptAlgorithm(this, core::mem::transmute_copy(&lencryptalg)).into() } - unsafe extern "system" fn SentTime, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenttime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SentTime, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenttime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::SentTime(this) { @@ -1695,7 +1695,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ArrivedTime, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plarrivedtime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ArrivedTime, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plarrivedtime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::ArrivedTime(this) { @@ -1717,7 +1717,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SenderCertificate, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsendercert: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderCertificate, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsendercert: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::SenderCertificate(this) { @@ -1728,12 +1728,12 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSenderCertificate, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsendercert: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSenderCertificate, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsendercert: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetSenderCertificate(this, core::mem::transmute(&varsendercert)).into() } - unsafe extern "system" fn SenderId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenderid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenderid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::SenderId(this) { @@ -1760,7 +1760,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); IMSMQMessage2_Impl::SetSenderIdType(this, core::mem::transmute_copy(&lsenderidtype)).into() } - unsafe extern "system" fn Send, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationqueue: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Send, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationqueue: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::Send(this, windows_core::from_raw_borrowed(&destinationqueue), core::mem::transmute_copy(&transaction)).into() @@ -1781,7 +1781,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Extension, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarextension: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Extension, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarextension: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::Extension(this) { @@ -1792,12 +1792,12 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExtension, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varextension: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExtension, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varextension: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetExtension(this, core::mem::transmute(&varextension)).into() } - unsafe extern "system" fn ConnectorTypeGuid, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidconnectortype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectorTypeGuid, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidconnectortype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::ConnectorTypeGuid(this) { @@ -1808,7 +1808,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetConnectorTypeGuid, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidconnectortype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetConnectorTypeGuid, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidconnectortype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetConnectorTypeGuid(this, core::mem::transmute(&bstrguidconnectortype)).into() @@ -1824,7 +1824,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DestinationSymmetricKey, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardestsymmkey: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DestinationSymmetricKey, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardestsymmkey: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::DestinationSymmetricKey(this) { @@ -1835,12 +1835,12 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDestinationSymmetricKey, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestsymmkey: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDestinationSymmetricKey, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestsymmkey: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetDestinationSymmetricKey(this, core::mem::transmute(&vardestsymmkey)).into() } - unsafe extern "system" fn Signature, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsignature: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Signature, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsignature: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::Signature(this) { @@ -1851,7 +1851,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSignature, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsignature: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSignature, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsignature: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetSignature(this, core::mem::transmute(&varsignature)).into() @@ -1872,7 +1872,7 @@ impl IMSMQMessage2_Vtbl { let this = (*this).get_impl(); IMSMQMessage2_Impl::SetAuthenticationProviderType(this, core::mem::transmute_copy(&lauthprovtype)).into() } - unsafe extern "system" fn AuthenticationProviderName, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthprovname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AuthenticationProviderName, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthprovname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::AuthenticationProviderName(this) { @@ -1883,12 +1883,12 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAuthenticationProviderName, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthprovname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAuthenticationProviderName, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthprovname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetAuthenticationProviderName(this, core::mem::transmute(&bstrauthprovname)).into() } - unsafe extern "system" fn SetSenderId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsenderid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSenderId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsenderid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage2_Impl::SetSenderId(this, core::mem::transmute(&varsenderid)).into() @@ -1920,7 +1920,7 @@ impl IMSMQMessage2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TransactionId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarxactid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TransactionId, Impl: IMSMQMessage2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarxactid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage2_Impl::TransactionId(this) { @@ -2328,7 +2328,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); IMSMQMessage3_Impl::SetAppSpecific(this, core::mem::transmute_copy(&lappspecific)).into() } - unsafe extern "system" fn SourceMachineGuid, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidsrcmachine: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SourceMachineGuid, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidsrcmachine: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::SourceMachineGuid(this) { @@ -2350,7 +2350,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Body, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Body, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::Body(this) { @@ -2361,7 +2361,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBody, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBody, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetBody(this, core::mem::transmute(&varbody)).into() @@ -2382,7 +2382,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); IMSMQMessage3_Impl::putref_AdminQueueInfo_v1(this, windows_core::from_raw_borrowed(&pqinfoadmin)).into() } - unsafe extern "system" fn Id, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::Id(this) { @@ -2393,7 +2393,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CorrelationId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CorrelationId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::CorrelationId(this) { @@ -2404,7 +2404,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCorrelationId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varmsgid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCorrelationId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varmsgid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetCorrelationId(this, core::mem::transmute(&varmsgid)).into() @@ -2425,7 +2425,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); IMSMQMessage3_Impl::SetAck(this, core::mem::transmute_copy(&lack)).into() } - unsafe extern "system" fn Label, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::Label(this) { @@ -2436,7 +2436,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetLabel(this, core::mem::transmute(&bstrlabel)).into() @@ -2505,7 +2505,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); IMSMQMessage3_Impl::SetEncryptAlgorithm(this, core::mem::transmute_copy(&lencryptalg)).into() } - unsafe extern "system" fn SentTime, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenttime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SentTime, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenttime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::SentTime(this) { @@ -2516,7 +2516,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ArrivedTime, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plarrivedtime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ArrivedTime, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plarrivedtime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::ArrivedTime(this) { @@ -2538,7 +2538,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SenderCertificate, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsendercert: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderCertificate, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsendercert: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::SenderCertificate(this) { @@ -2549,12 +2549,12 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSenderCertificate, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsendercert: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSenderCertificate, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsendercert: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetSenderCertificate(this, core::mem::transmute(&varsendercert)).into() } - unsafe extern "system" fn SenderId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenderid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenderid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::SenderId(this) { @@ -2581,7 +2581,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); IMSMQMessage3_Impl::SetSenderIdType(this, core::mem::transmute_copy(&lsenderidtype)).into() } - unsafe extern "system" fn Send, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationqueue: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Send, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationqueue: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::Send(this, windows_core::from_raw_borrowed(&destinationqueue), core::mem::transmute_copy(&transaction)).into() @@ -2602,7 +2602,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Extension, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarextension: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Extension, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarextension: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::Extension(this) { @@ -2613,12 +2613,12 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExtension, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varextension: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExtension, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varextension: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetExtension(this, core::mem::transmute(&varextension)).into() } - unsafe extern "system" fn ConnectorTypeGuid, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidconnectortype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectorTypeGuid, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidconnectortype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::ConnectorTypeGuid(this) { @@ -2629,7 +2629,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetConnectorTypeGuid, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidconnectortype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetConnectorTypeGuid, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidconnectortype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetConnectorTypeGuid(this, core::mem::transmute(&bstrguidconnectortype)).into() @@ -2645,7 +2645,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DestinationSymmetricKey, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardestsymmkey: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DestinationSymmetricKey, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardestsymmkey: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::DestinationSymmetricKey(this) { @@ -2656,12 +2656,12 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDestinationSymmetricKey, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestsymmkey: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDestinationSymmetricKey, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestsymmkey: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetDestinationSymmetricKey(this, core::mem::transmute(&vardestsymmkey)).into() } - unsafe extern "system" fn Signature, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsignature: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Signature, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsignature: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::Signature(this) { @@ -2672,7 +2672,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSignature, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsignature: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSignature, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsignature: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetSignature(this, core::mem::transmute(&varsignature)).into() @@ -2693,7 +2693,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); IMSMQMessage3_Impl::SetAuthenticationProviderType(this, core::mem::transmute_copy(&lauthprovtype)).into() } - unsafe extern "system" fn AuthenticationProviderName, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthprovname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AuthenticationProviderName, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthprovname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::AuthenticationProviderName(this) { @@ -2704,12 +2704,12 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAuthenticationProviderName, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthprovname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAuthenticationProviderName, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthprovname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetAuthenticationProviderName(this, core::mem::transmute(&bstrauthprovname)).into() } - unsafe extern "system" fn SetSenderId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsenderid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSenderId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsenderid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetSenderId(this, core::mem::transmute(&varsenderid)).into() @@ -2741,7 +2741,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TransactionId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarxactid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TransactionId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarxactid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::TransactionId(this) { @@ -2876,7 +2876,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LookupId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarlookupid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LookupId, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarlookupid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::LookupId(this) { @@ -2925,7 +2925,7 @@ impl IMSMQMessage3_Vtbl { let this = (*this).get_impl(); IMSMQMessage3_Impl::AttachCurrentSecurityContext2(this).into() } - unsafe extern "system" fn SoapEnvelope, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsoapenvelope: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SoapEnvelope, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsoapenvelope: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::SoapEnvelope(this) { @@ -2936,7 +2936,7 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CompoundMessage, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcompoundmessage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CompoundMessage, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcompoundmessage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage3_Impl::CompoundMessage(this) { @@ -2947,12 +2947,12 @@ impl IMSMQMessage3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSoapHeader, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsoapheader: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSoapHeader, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsoapheader: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetSoapHeader(this, core::mem::transmute(&bstrsoapheader)).into() } - unsafe extern "system" fn SetSoapBody, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsoapbody: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSoapBody, Impl: IMSMQMessage3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsoapbody: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage3_Impl::SetSoapBody(this, core::mem::transmute(&bstrsoapbody)).into() @@ -3305,7 +3305,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); IMSMQMessage4_Impl::SetAppSpecific(this, core::mem::transmute_copy(&lappspecific)).into() } - unsafe extern "system" fn SourceMachineGuid, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidsrcmachine: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SourceMachineGuid, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidsrcmachine: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::SourceMachineGuid(this) { @@ -3327,7 +3327,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Body, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Body, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarbody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::Body(this) { @@ -3338,7 +3338,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetBody, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBody, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varbody: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetBody(this, core::mem::transmute(&varbody)).into() @@ -3359,7 +3359,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); IMSMQMessage4_Impl::putref_AdminQueueInfo_v1(this, windows_core::from_raw_borrowed(&pqinfoadmin)).into() } - unsafe extern "system" fn Id, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::Id(this) { @@ -3370,7 +3370,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CorrelationId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CorrelationId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmsgid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::CorrelationId(this) { @@ -3381,7 +3381,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCorrelationId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varmsgid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCorrelationId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varmsgid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetCorrelationId(this, core::mem::transmute(&varmsgid)).into() @@ -3402,7 +3402,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); IMSMQMessage4_Impl::SetAck(this, core::mem::transmute_copy(&lack)).into() } - unsafe extern "system" fn Label, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::Label(this) { @@ -3413,7 +3413,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetLabel(this, core::mem::transmute(&bstrlabel)).into() @@ -3482,7 +3482,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); IMSMQMessage4_Impl::SetEncryptAlgorithm(this, core::mem::transmute_copy(&lencryptalg)).into() } - unsafe extern "system" fn SentTime, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenttime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SentTime, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenttime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::SentTime(this) { @@ -3493,7 +3493,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ArrivedTime, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plarrivedtime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ArrivedTime, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plarrivedtime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::ArrivedTime(this) { @@ -3515,7 +3515,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SenderCertificate, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsendercert: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderCertificate, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsendercert: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::SenderCertificate(this) { @@ -3526,12 +3526,12 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSenderCertificate, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsendercert: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSenderCertificate, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsendercert: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetSenderCertificate(this, core::mem::transmute(&varsendercert)).into() } - unsafe extern "system" fn SenderId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenderid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SenderId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsenderid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::SenderId(this) { @@ -3558,7 +3558,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); IMSMQMessage4_Impl::SetSenderIdType(this, core::mem::transmute_copy(&lsenderidtype)).into() } - unsafe extern "system" fn Send, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationqueue: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Send, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, destinationqueue: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::Send(this, windows_core::from_raw_borrowed(&destinationqueue), core::mem::transmute_copy(&transaction)).into() @@ -3579,7 +3579,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Extension, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarextension: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Extension, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarextension: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::Extension(this) { @@ -3590,12 +3590,12 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExtension, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varextension: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExtension, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varextension: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetExtension(this, core::mem::transmute(&varextension)).into() } - unsafe extern "system" fn ConnectorTypeGuid, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidconnectortype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectorTypeGuid, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidconnectortype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::ConnectorTypeGuid(this) { @@ -3606,7 +3606,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetConnectorTypeGuid, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidconnectortype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetConnectorTypeGuid, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidconnectortype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetConnectorTypeGuid(this, core::mem::transmute(&bstrguidconnectortype)).into() @@ -3622,7 +3622,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DestinationSymmetricKey, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardestsymmkey: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DestinationSymmetricKey, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardestsymmkey: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::DestinationSymmetricKey(this) { @@ -3633,12 +3633,12 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDestinationSymmetricKey, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestsymmkey: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDestinationSymmetricKey, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vardestsymmkey: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetDestinationSymmetricKey(this, core::mem::transmute(&vardestsymmkey)).into() } - unsafe extern "system" fn Signature, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsignature: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Signature, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsignature: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::Signature(this) { @@ -3649,7 +3649,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSignature, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsignature: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSignature, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsignature: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetSignature(this, core::mem::transmute(&varsignature)).into() @@ -3670,7 +3670,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); IMSMQMessage4_Impl::SetAuthenticationProviderType(this, core::mem::transmute_copy(&lauthprovtype)).into() } - unsafe extern "system" fn AuthenticationProviderName, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthprovname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AuthenticationProviderName, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrauthprovname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::AuthenticationProviderName(this) { @@ -3681,12 +3681,12 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAuthenticationProviderName, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthprovname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAuthenticationProviderName, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrauthprovname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetAuthenticationProviderName(this, core::mem::transmute(&bstrauthprovname)).into() } - unsafe extern "system" fn SetSenderId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsenderid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSenderId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsenderid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetSenderId(this, core::mem::transmute(&varsenderid)).into() @@ -3718,7 +3718,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TransactionId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarxactid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TransactionId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarxactid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::TransactionId(this) { @@ -3853,7 +3853,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LookupId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarlookupid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LookupId, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarlookupid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::LookupId(this) { @@ -3902,7 +3902,7 @@ impl IMSMQMessage4_Vtbl { let this = (*this).get_impl(); IMSMQMessage4_Impl::AttachCurrentSecurityContext2(this).into() } - unsafe extern "system" fn SoapEnvelope, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsoapenvelope: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SoapEnvelope, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsoapenvelope: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::SoapEnvelope(this) { @@ -3913,7 +3913,7 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CompoundMessage, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcompoundmessage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CompoundMessage, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcompoundmessage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQMessage4_Impl::CompoundMessage(this) { @@ -3924,12 +3924,12 @@ impl IMSMQMessage4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSoapHeader, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsoapheader: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSoapHeader, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsoapheader: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetSoapHeader(this, core::mem::transmute(&bstrsoapheader)).into() } - unsafe extern "system" fn SetSoapBody, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsoapbody: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSoapBody, Impl: IMSMQMessage4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsoapbody: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQMessage4_Impl::SetSoapBody(this, core::mem::transmute(&bstrsoapbody)).into() @@ -4058,7 +4058,7 @@ impl IMSMQOutgoingQueueManagement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NextHops, Impl: IMSMQOutgoingQueueManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvnexthops: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NextHops, Impl: IMSMQOutgoingQueueManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvnexthops: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQOutgoingQueueManagement_Impl::NextHops(this) { @@ -4119,7 +4119,7 @@ impl windows_core::RuntimeName for IMSMQPrivateDestination {} #[cfg(feature = "Win32_System_Com")] impl IMSMQPrivateDestination_Vtbl { pub const fn new, Impl: IMSMQPrivateDestination_Impl, const OFFSET: isize>() -> IMSMQPrivateDestination_Vtbl { - unsafe extern "system" fn Handle, Impl: IMSMQPrivateDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarhandle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Handle, Impl: IMSMQPrivateDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarhandle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQPrivateDestination_Impl::Handle(this) { @@ -4130,7 +4130,7 @@ impl IMSMQPrivateDestination_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetHandle, Impl: IMSMQPrivateDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varhandle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHandle, Impl: IMSMQPrivateDestination_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varhandle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQPrivateDestination_Impl::SetHandle(this, core::mem::transmute(&varhandle)).into() @@ -4199,15 +4199,15 @@ impl IMSMQQuery_Vtbl { pub const fn new, Impl: IMSMQQuery_Impl, const OFFSET: isize>() -> IMSMQQuery_Vtbl { unsafe extern "system" fn LookupQueue, Impl: IMSMQQuery_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, - queueguid: *const std::mem::MaybeUninit, - servicetypeguid: *const std::mem::MaybeUninit, - label: *const std::mem::MaybeUninit, - createtime: *const std::mem::MaybeUninit, - modifytime: *const std::mem::MaybeUninit, - relservicetype: *const std::mem::MaybeUninit, - rellabel: *const std::mem::MaybeUninit, - relcreatetime: *const std::mem::MaybeUninit, - relmodifytime: *const std::mem::MaybeUninit, + queueguid: *const core::mem::MaybeUninit, + servicetypeguid: *const core::mem::MaybeUninit, + label: *const core::mem::MaybeUninit, + createtime: *const core::mem::MaybeUninit, + modifytime: *const core::mem::MaybeUninit, + relservicetype: *const core::mem::MaybeUninit, + rellabel: *const core::mem::MaybeUninit, + relcreatetime: *const core::mem::MaybeUninit, + relmodifytime: *const core::mem::MaybeUninit, ppqinfos: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; @@ -4238,15 +4238,15 @@ impl IMSMQQuery2_Vtbl { pub const fn new, Impl: IMSMQQuery2_Impl, const OFFSET: isize>() -> IMSMQQuery2_Vtbl { unsafe extern "system" fn LookupQueue, Impl: IMSMQQuery2_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, - queueguid: *const std::mem::MaybeUninit, - servicetypeguid: *const std::mem::MaybeUninit, - label: *const std::mem::MaybeUninit, - createtime: *const std::mem::MaybeUninit, - modifytime: *const std::mem::MaybeUninit, - relservicetype: *const std::mem::MaybeUninit, - rellabel: *const std::mem::MaybeUninit, - relcreatetime: *const std::mem::MaybeUninit, - relmodifytime: *const std::mem::MaybeUninit, + queueguid: *const core::mem::MaybeUninit, + servicetypeguid: *const core::mem::MaybeUninit, + label: *const core::mem::MaybeUninit, + createtime: *const core::mem::MaybeUninit, + modifytime: *const core::mem::MaybeUninit, + relservicetype: *const core::mem::MaybeUninit, + rellabel: *const core::mem::MaybeUninit, + relcreatetime: *const core::mem::MaybeUninit, + relmodifytime: *const core::mem::MaybeUninit, ppqinfos: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; @@ -4293,15 +4293,15 @@ impl IMSMQQuery3_Vtbl { pub const fn new, Impl: IMSMQQuery3_Impl, const OFFSET: isize>() -> IMSMQQuery3_Vtbl { unsafe extern "system" fn LookupQueue_v2, Impl: IMSMQQuery3_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, - queueguid: *const std::mem::MaybeUninit, - servicetypeguid: *const std::mem::MaybeUninit, - label: *const std::mem::MaybeUninit, - createtime: *const std::mem::MaybeUninit, - modifytime: *const std::mem::MaybeUninit, - relservicetype: *const std::mem::MaybeUninit, - rellabel: *const std::mem::MaybeUninit, - relcreatetime: *const std::mem::MaybeUninit, - relmodifytime: *const std::mem::MaybeUninit, + queueguid: *const core::mem::MaybeUninit, + servicetypeguid: *const core::mem::MaybeUninit, + label: *const core::mem::MaybeUninit, + createtime: *const core::mem::MaybeUninit, + modifytime: *const core::mem::MaybeUninit, + relservicetype: *const core::mem::MaybeUninit, + rellabel: *const core::mem::MaybeUninit, + relcreatetime: *const core::mem::MaybeUninit, + relmodifytime: *const core::mem::MaybeUninit, ppqinfos: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; @@ -4327,17 +4327,17 @@ impl IMSMQQuery3_Vtbl { } unsafe extern "system" fn LookupQueue, Impl: IMSMQQuery3_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, - queueguid: *const std::mem::MaybeUninit, - servicetypeguid: *const std::mem::MaybeUninit, - label: *const std::mem::MaybeUninit, - createtime: *const std::mem::MaybeUninit, - modifytime: *const std::mem::MaybeUninit, - relservicetype: *const std::mem::MaybeUninit, - rellabel: *const std::mem::MaybeUninit, - relcreatetime: *const std::mem::MaybeUninit, - relmodifytime: *const std::mem::MaybeUninit, - multicastaddress: *const std::mem::MaybeUninit, - relmulticastaddress: *const std::mem::MaybeUninit, + queueguid: *const core::mem::MaybeUninit, + servicetypeguid: *const core::mem::MaybeUninit, + label: *const core::mem::MaybeUninit, + createtime: *const core::mem::MaybeUninit, + modifytime: *const core::mem::MaybeUninit, + relservicetype: *const core::mem::MaybeUninit, + rellabel: *const core::mem::MaybeUninit, + relcreatetime: *const core::mem::MaybeUninit, + relmodifytime: *const core::mem::MaybeUninit, + multicastaddress: *const core::mem::MaybeUninit, + relmulticastaddress: *const core::mem::MaybeUninit, ppqinfos: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; @@ -4374,15 +4374,15 @@ impl IMSMQQuery4_Vtbl { pub const fn new, Impl: IMSMQQuery4_Impl, const OFFSET: isize>() -> IMSMQQuery4_Vtbl { unsafe extern "system" fn LookupQueue_v2, Impl: IMSMQQuery4_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, - queueguid: *const std::mem::MaybeUninit, - servicetypeguid: *const std::mem::MaybeUninit, - label: *const std::mem::MaybeUninit, - createtime: *const std::mem::MaybeUninit, - modifytime: *const std::mem::MaybeUninit, - relservicetype: *const std::mem::MaybeUninit, - rellabel: *const std::mem::MaybeUninit, - relcreatetime: *const std::mem::MaybeUninit, - relmodifytime: *const std::mem::MaybeUninit, + queueguid: *const core::mem::MaybeUninit, + servicetypeguid: *const core::mem::MaybeUninit, + label: *const core::mem::MaybeUninit, + createtime: *const core::mem::MaybeUninit, + modifytime: *const core::mem::MaybeUninit, + relservicetype: *const core::mem::MaybeUninit, + rellabel: *const core::mem::MaybeUninit, + relcreatetime: *const core::mem::MaybeUninit, + relmodifytime: *const core::mem::MaybeUninit, ppqinfos: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; @@ -4408,17 +4408,17 @@ impl IMSMQQuery4_Vtbl { } unsafe extern "system" fn LookupQueue, Impl: IMSMQQuery4_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, - queueguid: *const std::mem::MaybeUninit, - servicetypeguid: *const std::mem::MaybeUninit, - label: *const std::mem::MaybeUninit, - createtime: *const std::mem::MaybeUninit, - modifytime: *const std::mem::MaybeUninit, - relservicetype: *const std::mem::MaybeUninit, - rellabel: *const std::mem::MaybeUninit, - relcreatetime: *const std::mem::MaybeUninit, - relmodifytime: *const std::mem::MaybeUninit, - multicastaddress: *const std::mem::MaybeUninit, - relmulticastaddress: *const std::mem::MaybeUninit, + queueguid: *const core::mem::MaybeUninit, + servicetypeguid: *const core::mem::MaybeUninit, + label: *const core::mem::MaybeUninit, + createtime: *const core::mem::MaybeUninit, + modifytime: *const core::mem::MaybeUninit, + relservicetype: *const core::mem::MaybeUninit, + rellabel: *const core::mem::MaybeUninit, + relcreatetime: *const core::mem::MaybeUninit, + relmodifytime: *const core::mem::MaybeUninit, + multicastaddress: *const core::mem::MaybeUninit, + relmulticastaddress: *const core::mem::MaybeUninit, ppqinfos: *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; @@ -4523,7 +4523,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); IMSMQQueue_Impl::Close(this).into() } - unsafe extern "system" fn Receive, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Receive, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue_Impl::Receive(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4534,7 +4534,7 @@ impl IMSMQQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Peek, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Peek, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue_Impl::Peek(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4545,7 +4545,7 @@ impl IMSMQQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnableNotification, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, event: *mut core::ffi::c_void, cursor: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnableNotification, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, event: *mut core::ffi::c_void, cursor: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueue_Impl::EnableNotification(this, windows_core::from_raw_borrowed(&event), core::mem::transmute_copy(&cursor), core::mem::transmute_copy(&receivetimeout)).into() @@ -4555,7 +4555,7 @@ impl IMSMQQueue_Vtbl { let this = (*this).get_impl(); IMSMQQueue_Impl::Reset(this).into() } - unsafe extern "system" fn ReceiveCurrent, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveCurrent, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue_Impl::ReceiveCurrent(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4566,7 +4566,7 @@ impl IMSMQQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekNext, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekNext, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue_Impl::PeekNext(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4577,7 +4577,7 @@ impl IMSMQQueue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekCurrent, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekCurrent, Impl: IMSMQQueue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue_Impl::PeekCurrent(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4696,7 +4696,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); IMSMQQueue2_Impl::Close(this).into() } - unsafe extern "system" fn Receive_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Receive_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::Receive_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4707,7 +4707,7 @@ impl IMSMQQueue2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Peek_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Peek_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::Peek_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4718,7 +4718,7 @@ impl IMSMQQueue2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnableNotification, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, event: *mut core::ffi::c_void, cursor: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnableNotification, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, event: *mut core::ffi::c_void, cursor: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueue2_Impl::EnableNotification(this, windows_core::from_raw_borrowed(&event), core::mem::transmute_copy(&cursor), core::mem::transmute_copy(&receivetimeout)).into() @@ -4728,7 +4728,7 @@ impl IMSMQQueue2_Vtbl { let this = (*this).get_impl(); IMSMQQueue2_Impl::Reset(this).into() } - unsafe extern "system" fn ReceiveCurrent_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveCurrent_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::ReceiveCurrent_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4739,7 +4739,7 @@ impl IMSMQQueue2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekNext_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekNext_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::PeekNext_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4750,7 +4750,7 @@ impl IMSMQQueue2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekCurrent_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekCurrent_v1, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::PeekCurrent_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4761,7 +4761,7 @@ impl IMSMQQueue2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Receive, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Receive, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::Receive(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -4772,7 +4772,7 @@ impl IMSMQQueue2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Peek, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Peek, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::Peek(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -4783,7 +4783,7 @@ impl IMSMQQueue2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveCurrent, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveCurrent, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::ReceiveCurrent(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -4794,7 +4794,7 @@ impl IMSMQQueue2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekNext, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekNext, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::PeekNext(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -4805,7 +4805,7 @@ impl IMSMQQueue2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekCurrent, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekCurrent, Impl: IMSMQQueue2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue2_Impl::PeekCurrent(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -4954,7 +4954,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); IMSMQQueue3_Impl::Close(this).into() } - unsafe extern "system" fn Receive_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Receive_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::Receive_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4965,7 +4965,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Peek_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Peek_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::Peek_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4976,7 +4976,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnableNotification, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, event: *mut core::ffi::c_void, cursor: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnableNotification, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, event: *mut core::ffi::c_void, cursor: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueue3_Impl::EnableNotification(this, windows_core::from_raw_borrowed(&event), core::mem::transmute_copy(&cursor), core::mem::transmute_copy(&receivetimeout)).into() @@ -4986,7 +4986,7 @@ impl IMSMQQueue3_Vtbl { let this = (*this).get_impl(); IMSMQQueue3_Impl::Reset(this).into() } - unsafe extern "system" fn ReceiveCurrent_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveCurrent_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveCurrent_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -4997,7 +4997,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekNext_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekNext_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekNext_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -5008,7 +5008,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekCurrent_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekCurrent_v1, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekCurrent_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -5019,7 +5019,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Receive, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Receive, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::Receive(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5030,7 +5030,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Peek, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Peek, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::Peek(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5041,7 +5041,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveCurrent, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveCurrent, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveCurrent(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5052,7 +5052,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekNext, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekNext, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekNext(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5063,7 +5063,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekCurrent, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekCurrent, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekCurrent(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5085,7 +5085,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Handle2, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarhandle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Handle2, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarhandle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::Handle2(this) { @@ -5096,7 +5096,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5107,7 +5107,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveNextByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveNextByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveNextByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5118,7 +5118,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceivePreviousByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceivePreviousByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceivePreviousByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5129,7 +5129,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveFirstByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveFirstByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveFirstByLookupId(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5140,7 +5140,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveLastByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveLastByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::ReceiveLastByLookupId(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5151,7 +5151,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5162,7 +5162,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekNextByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekNextByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekNextByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5173,7 +5173,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekPreviousByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekPreviousByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekPreviousByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5184,7 +5184,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekFirstByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekFirstByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekFirstByLookupId(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5195,7 +5195,7 @@ impl IMSMQQueue3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekLastByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekLastByLookupId, Impl: IMSMQQueue3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue3_Impl::PeekLastByLookupId(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5363,7 +5363,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); IMSMQQueue4_Impl::Close(this).into() } - unsafe extern "system" fn Receive_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Receive_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::Receive_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -5374,7 +5374,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Peek_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Peek_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::Peek_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -5385,7 +5385,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnableNotification, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, event: *mut core::ffi::c_void, cursor: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnableNotification, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, event: *mut core::ffi::c_void, cursor: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueue4_Impl::EnableNotification(this, windows_core::from_raw_borrowed(&event), core::mem::transmute_copy(&cursor), core::mem::transmute_copy(&receivetimeout)).into() @@ -5395,7 +5395,7 @@ impl IMSMQQueue4_Vtbl { let this = (*this).get_impl(); IMSMQQueue4_Impl::Reset(this).into() } - unsafe extern "system" fn ReceiveCurrent_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveCurrent_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveCurrent_v1(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -5406,7 +5406,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekNext_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekNext_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekNext_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -5417,7 +5417,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekCurrent_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekCurrent_v1, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekCurrent_v1(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout)) { @@ -5428,7 +5428,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Receive, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Receive, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::Receive(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5439,7 +5439,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Peek, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Peek, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::Peek(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5450,7 +5450,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveCurrent, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveCurrent, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveCurrent(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5461,7 +5461,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekNext, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekNext, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekNext(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5472,7 +5472,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekCurrent, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, receivetimeout: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekCurrent, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, receivetimeout: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekCurrent(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&receivetimeout), core::mem::transmute_copy(&wantconnectortype)) { @@ -5494,7 +5494,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Handle2, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarhandle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Handle2, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarhandle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::Handle2(this) { @@ -5505,7 +5505,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5516,7 +5516,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveNextByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveNextByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveNextByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5527,7 +5527,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceivePreviousByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceivePreviousByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceivePreviousByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5538,7 +5538,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveFirstByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveFirstByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveFirstByLookupId(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5549,7 +5549,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveLastByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveLastByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveLastByLookupId(this, core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5560,7 +5560,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5571,7 +5571,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekNextByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekNextByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekNextByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5582,7 +5582,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekPreviousByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekPreviousByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekPreviousByLookupId(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5593,7 +5593,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekFirstByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekFirstByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekFirstByLookupId(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5604,7 +5604,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PeekLastByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn PeekLastByLookupId, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::PeekLastByLookupId(this, core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5631,7 +5631,7 @@ impl IMSMQQueue4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReceiveByLookupIdAllowPeek, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: std::mem::MaybeUninit, transaction: *const std::mem::MaybeUninit, wantdestinationqueue: *const std::mem::MaybeUninit, wantbody: *const std::mem::MaybeUninit, wantconnectortype: *const std::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReceiveByLookupIdAllowPeek, Impl: IMSMQQueue4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lookupid: core::mem::MaybeUninit, transaction: *const core::mem::MaybeUninit, wantdestinationqueue: *const core::mem::MaybeUninit, wantbody: *const core::mem::MaybeUninit, wantconnectortype: *const core::mem::MaybeUninit, ppmsg: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueue4_Impl::ReceiveByLookupIdAllowPeek(this, core::mem::transmute(&lookupid), core::mem::transmute_copy(&transaction), core::mem::transmute_copy(&wantdestinationqueue), core::mem::transmute_copy(&wantbody), core::mem::transmute_copy(&wantconnectortype)) { @@ -5721,7 +5721,7 @@ impl windows_core::RuntimeName for IMSMQQueueInfo {} #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo_Vtbl { pub const fn new, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>() -> IMSMQQueueInfo_Vtbl { - unsafe extern "system" fn QueueGuid, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidqueue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueueGuid, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidqueue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::QueueGuid(this) { @@ -5732,7 +5732,7 @@ impl IMSMQQueueInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceTypeGuid, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidservicetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceTypeGuid, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidservicetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::ServiceTypeGuid(this) { @@ -5743,12 +5743,12 @@ impl IMSMQQueueInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServiceTypeGuid, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidservicetype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServiceTypeGuid, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidservicetype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo_Impl::SetServiceTypeGuid(this, core::mem::transmute(&bstrguidservicetype)).into() } - unsafe extern "system" fn Label, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::Label(this) { @@ -5759,12 +5759,12 @@ impl IMSMQQueueInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo_Impl::SetLabel(this, core::mem::transmute(&bstrlabel)).into() } - unsafe extern "system" fn PathName, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathName, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::PathName(this) { @@ -5775,12 +5775,12 @@ impl IMSMQQueueInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPathName, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPathName, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo_Impl::SetPathName(this, core::mem::transmute(&bstrpathname)).into() } - unsafe extern "system" fn FormatName, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatName, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::FormatName(this) { @@ -5791,7 +5791,7 @@ impl IMSMQQueueInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFormatName, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFormatName, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo_Impl::SetFormatName(this, core::mem::transmute(&bstrformatname)).into() @@ -5871,7 +5871,7 @@ impl IMSMQQueueInfo_Vtbl { let this = (*this).get_impl(); IMSMQQueueInfo_Impl::SetBasePriority(this, core::mem::transmute_copy(&lbasepriority)).into() } - unsafe extern "system" fn CreateTime, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcreatetime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTime, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcreatetime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::CreateTime(this) { @@ -5882,7 +5882,7 @@ impl IMSMQQueueInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModifyTime, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodifytime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModifyTime, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodifytime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo_Impl::ModifyTime(this) { @@ -5936,7 +5936,7 @@ impl IMSMQQueueInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Create, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, istransactional: *const std::mem::MaybeUninit, isworldreadable: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Create, Impl: IMSMQQueueInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, istransactional: *const core::mem::MaybeUninit, isworldreadable: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo_Impl::Create(this, core::mem::transmute_copy(&istransactional), core::mem::transmute_copy(&isworldreadable)).into() @@ -6047,7 +6047,7 @@ impl windows_core::RuntimeName for IMSMQQueueInfo2 {} #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo2_Vtbl { pub const fn new, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>() -> IMSMQQueueInfo2_Vtbl { - unsafe extern "system" fn QueueGuid, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidqueue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueueGuid, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidqueue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::QueueGuid(this) { @@ -6058,7 +6058,7 @@ impl IMSMQQueueInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceTypeGuid, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidservicetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceTypeGuid, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidservicetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::ServiceTypeGuid(this) { @@ -6069,12 +6069,12 @@ impl IMSMQQueueInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServiceTypeGuid, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidservicetype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServiceTypeGuid, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidservicetype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo2_Impl::SetServiceTypeGuid(this, core::mem::transmute(&bstrguidservicetype)).into() } - unsafe extern "system" fn Label, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::Label(this) { @@ -6085,12 +6085,12 @@ impl IMSMQQueueInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo2_Impl::SetLabel(this, core::mem::transmute(&bstrlabel)).into() } - unsafe extern "system" fn PathName, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathName, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::PathName(this) { @@ -6101,12 +6101,12 @@ impl IMSMQQueueInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPathName, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPathName, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo2_Impl::SetPathName(this, core::mem::transmute(&bstrpathname)).into() } - unsafe extern "system" fn FormatName, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatName, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::FormatName(this) { @@ -6117,7 +6117,7 @@ impl IMSMQQueueInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFormatName, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFormatName, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo2_Impl::SetFormatName(this, core::mem::transmute(&bstrformatname)).into() @@ -6197,7 +6197,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); IMSMQQueueInfo2_Impl::SetBasePriority(this, core::mem::transmute_copy(&lbasepriority)).into() } - unsafe extern "system" fn CreateTime, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcreatetime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTime, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcreatetime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::CreateTime(this) { @@ -6208,7 +6208,7 @@ impl IMSMQQueueInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModifyTime, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodifytime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModifyTime, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodifytime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::ModifyTime(this) { @@ -6262,7 +6262,7 @@ impl IMSMQQueueInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Create, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, istransactional: *const std::mem::MaybeUninit, isworldreadable: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Create, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, istransactional: *const core::mem::MaybeUninit, isworldreadable: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo2_Impl::Create(this, core::mem::transmute_copy(&istransactional), core::mem::transmute_copy(&isworldreadable)).into() @@ -6293,7 +6293,7 @@ impl IMSMQQueueInfo2_Vtbl { let this = (*this).get_impl(); IMSMQQueueInfo2_Impl::Update(this).into() } - unsafe extern "system" fn PathNameDNS, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathnamedns: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathNameDNS, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathnamedns: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::PathNameDNS(this) { @@ -6315,7 +6315,7 @@ impl IMSMQQueueInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Security, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsecurity: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Security, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsecurity: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo2_Impl::Security(this) { @@ -6326,7 +6326,7 @@ impl IMSMQQueueInfo2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSecurity, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsecurity: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurity, Impl: IMSMQQueueInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsecurity: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo2_Impl::SetSecurity(this, core::mem::transmute(&varsecurity)).into() @@ -6420,7 +6420,7 @@ impl windows_core::RuntimeName for IMSMQQueueInfo3 {} #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo3_Vtbl { pub const fn new, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>() -> IMSMQQueueInfo3_Vtbl { - unsafe extern "system" fn QueueGuid, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidqueue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueueGuid, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidqueue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::QueueGuid(this) { @@ -6431,7 +6431,7 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceTypeGuid, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidservicetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceTypeGuid, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidservicetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::ServiceTypeGuid(this) { @@ -6442,12 +6442,12 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServiceTypeGuid, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidservicetype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServiceTypeGuid, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidservicetype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo3_Impl::SetServiceTypeGuid(this, core::mem::transmute(&bstrguidservicetype)).into() } - unsafe extern "system" fn Label, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::Label(this) { @@ -6458,12 +6458,12 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo3_Impl::SetLabel(this, core::mem::transmute(&bstrlabel)).into() } - unsafe extern "system" fn PathName, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathName, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::PathName(this) { @@ -6474,12 +6474,12 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPathName, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPathName, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo3_Impl::SetPathName(this, core::mem::transmute(&bstrpathname)).into() } - unsafe extern "system" fn FormatName, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatName, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::FormatName(this) { @@ -6490,7 +6490,7 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFormatName, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFormatName, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo3_Impl::SetFormatName(this, core::mem::transmute(&bstrformatname)).into() @@ -6570,7 +6570,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); IMSMQQueueInfo3_Impl::SetBasePriority(this, core::mem::transmute_copy(&lbasepriority)).into() } - unsafe extern "system" fn CreateTime, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcreatetime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTime, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcreatetime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::CreateTime(this) { @@ -6581,7 +6581,7 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModifyTime, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodifytime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModifyTime, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodifytime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::ModifyTime(this) { @@ -6635,7 +6635,7 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Create, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, istransactional: *const std::mem::MaybeUninit, isworldreadable: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Create, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, istransactional: *const core::mem::MaybeUninit, isworldreadable: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo3_Impl::Create(this, core::mem::transmute_copy(&istransactional), core::mem::transmute_copy(&isworldreadable)).into() @@ -6666,7 +6666,7 @@ impl IMSMQQueueInfo3_Vtbl { let this = (*this).get_impl(); IMSMQQueueInfo3_Impl::Update(this).into() } - unsafe extern "system" fn PathNameDNS, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathnamedns: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathNameDNS, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathnamedns: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::PathNameDNS(this) { @@ -6688,7 +6688,7 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Security, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsecurity: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Security, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsecurity: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::Security(this) { @@ -6699,7 +6699,7 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSecurity, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsecurity: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurity, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsecurity: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo3_Impl::SetSecurity(this, core::mem::transmute(&varsecurity)).into() @@ -6726,7 +6726,7 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MulticastAddress, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmulticastaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MulticastAddress, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmulticastaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::MulticastAddress(this) { @@ -6737,12 +6737,12 @@ impl IMSMQQueueInfo3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMulticastAddress, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmulticastaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMulticastAddress, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmulticastaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo3_Impl::SetMulticastAddress(this, core::mem::transmute(&bstrmulticastaddress)).into() } - unsafe extern "system" fn ADsPath, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstradspath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ADsPath, Impl: IMSMQQueueInfo3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstradspath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo3_Impl::ADsPath(this) { @@ -6847,7 +6847,7 @@ impl windows_core::RuntimeName for IMSMQQueueInfo4 {} #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo4_Vtbl { pub const fn new, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>() -> IMSMQQueueInfo4_Vtbl { - unsafe extern "system" fn QueueGuid, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidqueue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueueGuid, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidqueue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::QueueGuid(this) { @@ -6858,7 +6858,7 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceTypeGuid, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidservicetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceTypeGuid, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrguidservicetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::ServiceTypeGuid(this) { @@ -6869,12 +6869,12 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServiceTypeGuid, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidservicetype: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServiceTypeGuid, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrguidservicetype: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo4_Impl::SetServiceTypeGuid(this, core::mem::transmute(&bstrguidservicetype)).into() } - unsafe extern "system" fn Label, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::Label(this) { @@ -6885,12 +6885,12 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLabel, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLabel, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrlabel: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo4_Impl::SetLabel(this, core::mem::transmute(&bstrlabel)).into() } - unsafe extern "system" fn PathName, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathName, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::PathName(this) { @@ -6901,12 +6901,12 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPathName, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPathName, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpathname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo4_Impl::SetPathName(this, core::mem::transmute(&bstrpathname)).into() } - unsafe extern "system" fn FormatName, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FormatName, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrformatname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::FormatName(this) { @@ -6917,7 +6917,7 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFormatName, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFormatName, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrformatname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo4_Impl::SetFormatName(this, core::mem::transmute(&bstrformatname)).into() @@ -6997,7 +6997,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); IMSMQQueueInfo4_Impl::SetBasePriority(this, core::mem::transmute_copy(&lbasepriority)).into() } - unsafe extern "system" fn CreateTime, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcreatetime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTime, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcreatetime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::CreateTime(this) { @@ -7008,7 +7008,7 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModifyTime, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodifytime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModifyTime, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarmodifytime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::ModifyTime(this) { @@ -7062,7 +7062,7 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Create, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, istransactional: *const std::mem::MaybeUninit, isworldreadable: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Create, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, istransactional: *const core::mem::MaybeUninit, isworldreadable: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo4_Impl::Create(this, core::mem::transmute_copy(&istransactional), core::mem::transmute_copy(&isworldreadable)).into() @@ -7093,7 +7093,7 @@ impl IMSMQQueueInfo4_Vtbl { let this = (*this).get_impl(); IMSMQQueueInfo4_Impl::Update(this).into() } - unsafe extern "system" fn PathNameDNS, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathnamedns: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PathNameDNS, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpathnamedns: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::PathNameDNS(this) { @@ -7115,7 +7115,7 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Security, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsecurity: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Security, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsecurity: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::Security(this) { @@ -7126,7 +7126,7 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSecurity, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsecurity: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurity, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varsecurity: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo4_Impl::SetSecurity(this, core::mem::transmute(&varsecurity)).into() @@ -7153,7 +7153,7 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MulticastAddress, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmulticastaddress: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MulticastAddress, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmulticastaddress: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::MulticastAddress(this) { @@ -7164,12 +7164,12 @@ impl IMSMQQueueInfo4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMulticastAddress, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmulticastaddress: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMulticastAddress, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmulticastaddress: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQQueueInfo4_Impl::SetMulticastAddress(this, core::mem::transmute(&bstrmulticastaddress)).into() } - unsafe extern "system" fn ADsPath, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstradspath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ADsPath, Impl: IMSMQQueueInfo4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstradspath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueInfo4_Impl::ADsPath(this) { @@ -7432,7 +7432,7 @@ impl IMSMQQueueManagement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BytesInJournal, Impl: IMSMQQueueManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvbytesinjournal: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BytesInJournal, Impl: IMSMQQueueManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvbytesinjournal: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueManagement_Impl::BytesInJournal(this) { @@ -7443,7 +7443,7 @@ impl IMSMQQueueManagement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EodGetReceiveInfo, Impl: IMSMQQueueManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvcollection: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EodGetReceiveInfo, Impl: IMSMQQueueManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvcollection: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQQueueManagement_Impl::EodGetReceiveInfo(this) { @@ -7487,12 +7487,12 @@ impl IMSMQTransaction_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Commit, Impl: IMSMQTransaction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fretaining: *const std::mem::MaybeUninit, grftc: *const std::mem::MaybeUninit, grfrm: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Commit, Impl: IMSMQTransaction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fretaining: *const core::mem::MaybeUninit, grftc: *const core::mem::MaybeUninit, grfrm: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQTransaction_Impl::Commit(this, core::mem::transmute_copy(&fretaining), core::mem::transmute_copy(&grftc), core::mem::transmute_copy(&grfrm)).into() } - unsafe extern "system" fn Abort, Impl: IMSMQTransaction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fretaining: *const std::mem::MaybeUninit, fasync: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Abort, Impl: IMSMQTransaction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fretaining: *const core::mem::MaybeUninit, fasync: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQTransaction_Impl::Abort(this, core::mem::transmute_copy(&fretaining), core::mem::transmute_copy(&fasync)).into() @@ -7518,7 +7518,7 @@ impl windows_core::RuntimeName for IMSMQTransaction2 {} #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction2_Vtbl { pub const fn new, Impl: IMSMQTransaction2_Impl, const OFFSET: isize>() -> IMSMQTransaction2_Vtbl { - unsafe extern "system" fn InitNew, Impl: IMSMQTransaction2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartransaction: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitNew, Impl: IMSMQTransaction2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vartransaction: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMSMQTransaction2_Impl::InitNew(this, core::mem::transmute(&vartransaction)).into() @@ -7553,7 +7553,7 @@ impl windows_core::RuntimeName for IMSMQTransaction3 {} #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction3_Vtbl { pub const fn new, Impl: IMSMQTransaction3_Impl, const OFFSET: isize>() -> IMSMQTransaction3_Vtbl { - unsafe extern "system" fn ITransaction, Impl: IMSMQTransaction3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaritransaction: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ITransaction, Impl: IMSMQTransaction3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaritransaction: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMSMQTransaction3_Impl::ITransaction(this) { 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 f314f2b8c8..20edde38dd 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -10,7 +10,7 @@ where #[inline] pub unsafe fn MQBeginTransaction() -> windows_core::Result { windows_targets::link!("mqrt.dll" "system" fn MQBeginTransaction(pptransaction : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MQBeginTransaction(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -29,7 +29,7 @@ pub unsafe fn MQCloseQueue(hqueue: isize) -> windows_core::Result<()> { #[inline] pub unsafe fn MQCreateCursor(hqueue: isize) -> windows_core::Result { windows_targets::link!("mqrt.dll" "system" fn MQCreateCursor(hqueue : isize, phcursor : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MQCreateCursor(hqueue, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security")] @@ -104,13 +104,13 @@ where #[inline] pub unsafe fn MQGetSecurityContext(lpcertbuffer: Option<*const core::ffi::c_void>, dwcertbufferlength: u32) -> windows_core::Result { windows_targets::link!("mqrt.dll" "system" fn MQGetSecurityContext(lpcertbuffer : *const core::ffi::c_void, dwcertbufferlength : u32, phsecuritycontext : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MQGetSecurityContext(core::mem::transmute(lpcertbuffer.unwrap_or(std::ptr::null())), dwcertbufferlength, &mut result__).map(|| result__) } #[inline] pub unsafe fn MQGetSecurityContextEx(lpcertbuffer: Option<*const core::ffi::c_void>, dwcertbufferlength: u32) -> windows_core::Result { windows_targets::link!("mqrt.dll" "system" fn MQGetSecurityContextEx(lpcertbuffer : *const core::ffi::c_void, dwcertbufferlength : u32, phsecuritycontext : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MQGetSecurityContextEx(core::mem::transmute(lpcertbuffer.unwrap_or(std::ptr::null())), dwcertbufferlength, &mut result__).map(|| result__) } #[inline] @@ -129,7 +129,7 @@ where P0: windows_core::Param, { windows_targets::link!("mqrt.dll" "system" fn MQLocateBegin(lpwcscontext : windows_core::PCWSTR, prestriction : *const MQRESTRICTION, pcolumns : *const MQCOLUMNSET, psort : *const MQSORTSET, phenum : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MQLocateBegin(lpwcscontext.param().abi(), core::mem::transmute(prestriction.unwrap_or(std::ptr::null())), pcolumns, psort, &mut result__).map(|| result__) } #[inline] @@ -145,7 +145,7 @@ pub unsafe fn MQLocateNext(henum: P0, pcprops: *mut u32, apropvar: *mut wind where P0: windows_core::Param, { - windows_targets::link!("mqrt.dll" "system" fn MQLocateNext(henum : super::super::Foundation:: HANDLE, pcprops : *mut u32, apropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + windows_targets::link!("mqrt.dll" "system" fn MQLocateNext(henum : super::super::Foundation:: HANDLE, pcprops : *mut u32, apropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); MQLocateNext(henum.param().abi(), pcprops, core::mem::transmute(apropvar)).ok() } #[inline] @@ -190,7 +190,7 @@ where P0: windows_core::Param, { windows_targets::link!("mqrt.dll" "system" fn MQOpenQueue(lpwcsformatname : windows_core::PCWSTR, dwaccess : u32, dwsharemode : u32, phqueue : *mut isize) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MQOpenQueue(lpwcsformatname.param().abi(), dwaccess, dwsharemode, &mut result__).map(|| result__) } #[inline] @@ -263,7 +263,7 @@ windows_core::imp::define_interface!(IMSMQApplication, IMSMQApplication_Vtbl, 0x impl std::ops::Deref for IMSMQApplication { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -274,7 +274,7 @@ impl IMSMQApplication { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MachineIdOfMachineName)(windows_core::Interface::as_raw(self), machinename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -282,7 +282,7 @@ impl IMSMQApplication { #[repr(C)] pub struct IMSMQApplication_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub MachineIdOfMachineName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MachineIdOfMachineName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQApplication2, IMSMQApplication2_Vtbl, 0x12a30900_7300_11d2_b0e6_00e02c074f6b); @@ -290,7 +290,7 @@ windows_core::imp::define_interface!(IMSMQApplication2, IMSMQApplication2_Vtbl, impl std::ops::Deref for IMSMQApplication2 { type Target = IMSMQApplication; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -304,28 +304,28 @@ impl IMSMQApplication2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MachineNameOfMachineId)(windows_core::Interface::as_raw(self), bstrguid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MSMQVersionMajor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MSMQVersionMajor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MSMQVersionMinor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MSMQVersionMinor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MSMQVersionBuild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MSMQVersionBuild)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDsEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDsEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -333,8 +333,8 @@ impl IMSMQApplication2 { #[repr(C)] pub struct IMSMQApplication2_Vtbl { pub base__: IMSMQApplication_Vtbl, - pub RegisterCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MachineNameOfMachineId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MachineNameOfMachineId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MSMQVersionMajor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub MSMQVersionMinor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub MSMQVersionBuild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, @@ -350,7 +350,7 @@ windows_core::imp::define_interface!(IMSMQApplication3, IMSMQApplication3_Vtbl, impl std::ops::Deref for IMSMQApplication3 { type Target = IMSMQApplication2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -358,23 +358,23 @@ windows_core::imp::interface_hierarchy!(IMSMQApplication3, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IMSMQApplication3 { pub unsafe fn ActiveQueues(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActiveQueues)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PrivateQueues(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivateQueues)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DirectoryServiceServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DirectoryServiceServer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsConnected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BytesInAllQueues(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BytesInAllQueues)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMachine(&self, bstrmachine: P0) -> windows_core::Result<()> @@ -384,7 +384,7 @@ impl IMSMQApplication3 { (windows_core::Interface::vtable(self).SetMachine)(windows_core::Interface::as_raw(self), bstrmachine.param().abi()).ok() } pub unsafe fn Machine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Machine)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Connect(&self) -> windows_core::Result<()> { @@ -401,13 +401,13 @@ impl IMSMQApplication3 { #[repr(C)] pub struct IMSMQApplication3_Vtbl { pub base__: IMSMQApplication2_Vtbl, - pub ActiveQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PrivateQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DirectoryServiceServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ActiveQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrivateQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DirectoryServiceServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub BytesInAllQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMachine: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Machine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BytesInAllQueues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMachine: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Machine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Tidy: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -418,7 +418,7 @@ windows_core::imp::define_interface!(IMSMQCollection, IMSMQCollection_Vtbl, 0x01 impl std::ops::Deref for IMSMQCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -426,15 +426,15 @@ windows_core::imp::interface_hierarchy!(IMSMQCollection, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMSMQCollection { pub unsafe fn Item(&self, index: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), core::mem::transmute(index), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -442,7 +442,7 @@ impl IMSMQCollection { #[repr(C)] pub struct IMSMQCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -452,7 +452,7 @@ windows_core::imp::define_interface!(IMSMQCoordinatedTransactionDispenser, IMSMQ impl std::ops::Deref for IMSMQCoordinatedTransactionDispenser { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -461,7 +461,7 @@ windows_core::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser, wi impl IMSMQCoordinatedTransactionDispenser { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginTransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -480,7 +480,7 @@ windows_core::imp::define_interface!(IMSMQCoordinatedTransactionDispenser2, IMSM impl std::ops::Deref for IMSMQCoordinatedTransactionDispenser2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -489,12 +489,12 @@ windows_core::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser2, w impl IMSMQCoordinatedTransactionDispenser2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginTransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -517,7 +517,7 @@ windows_core::imp::define_interface!(IMSMQCoordinatedTransactionDispenser3, IMSM impl std::ops::Deref for IMSMQCoordinatedTransactionDispenser3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -526,12 +526,12 @@ windows_core::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser3, w impl IMSMQCoordinatedTransactionDispenser3 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginTransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -554,7 +554,7 @@ windows_core::imp::define_interface!(IMSMQDestination, IMSMQDestination_Vtbl, 0x impl std::ops::Deref for IMSMQDestination { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -568,12 +568,12 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOpen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IADs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IADs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -584,7 +584,7 @@ impl IMSMQDestination { (windows_core::Interface::vtable(self).putref_IADs)(windows_core::Interface::as_raw(self), piads.param().abi()).ok() } pub unsafe fn ADsPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ADsPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetADsPath(&self, bstradspath: P0) -> windows_core::Result<()> @@ -594,7 +594,7 @@ impl IMSMQDestination { (windows_core::Interface::vtable(self).SetADsPath)(windows_core::Interface::as_raw(self), bstradspath.param().abi()).ok() } pub unsafe fn PathName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPathName(&self, bstrpathname: P0) -> windows_core::Result<()> @@ -604,7 +604,7 @@ impl IMSMQDestination { (windows_core::Interface::vtable(self).SetPathName)(windows_core::Interface::as_raw(self), bstrpathname.param().abi()).ok() } pub unsafe fn FormatName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFormatName(&self, bstrformatname: P0) -> windows_core::Result<()> @@ -615,7 +615,7 @@ impl IMSMQDestination { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Destinations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Destinations)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -627,7 +627,7 @@ impl IMSMQDestination { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -646,12 +646,12 @@ pub struct IMSMQDestination_Vtbl { pub putref_IADs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_IADs: usize, - pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Destinations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -671,7 +671,7 @@ windows_core::imp::define_interface!(IMSMQEvent, IMSMQEvent_Vtbl, 0xd7d6e077_dcc impl std::ops::Deref for IMSMQEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -689,7 +689,7 @@ windows_core::imp::define_interface!(IMSMQEvent2, IMSMQEvent2_Vtbl, 0xeba96b12_2 impl std::ops::Deref for IMSMQEvent2 { type Target = IMSMQEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -698,7 +698,7 @@ windows_core::imp::interface_hierarchy!(IMSMQEvent2, windows_core::IUnknown, sup impl IMSMQEvent2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -717,7 +717,7 @@ windows_core::imp::define_interface!(IMSMQEvent3, IMSMQEvent3_Vtbl, 0xeba96b1c_2 impl std::ops::Deref for IMSMQEvent3 { type Target = IMSMQEvent2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -735,7 +735,7 @@ windows_core::imp::define_interface!(IMSMQManagement, IMSMQManagement_Vtbl, 0xbe impl std::ops::Deref for IMSMQManagement { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -746,35 +746,35 @@ impl IMSMQManagement { (windows_core::Interface::vtable(self).Init)(windows_core::Interface::as_raw(self), core::mem::transmute(machine), core::mem::transmute(pathname), core::mem::transmute(formatname)).ok() } pub unsafe fn FormatName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Machine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Machine)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MessageCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MessageCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ForeignStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ForeignStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueueType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLocal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TransactionalStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionalStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BytesInQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BytesInQueue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -782,15 +782,15 @@ impl IMSMQManagement { #[repr(C)] pub struct IMSMQManagement_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Machine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Machine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MessageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ForeignStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub QueueType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub TransactionalStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub BytesInQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BytesInQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQMessage, IMSMQMessage_Vtbl, 0xd7d6e074_dccd_11d0_aa4b_0060970debae); @@ -798,7 +798,7 @@ windows_core::imp::define_interface!(IMSMQMessage, IMSMQMessage_Vtbl, 0xd7d6e074 impl std::ops::Deref for IMSMQMessage { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -806,50 +806,50 @@ windows_core::imp::interface_hierarchy!(IMSMQMessage, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage { pub unsafe fn Class(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Class)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrivLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAuthenticated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Delivery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Delivery)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Trace)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Journal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> windows_core::Result<()> { @@ -857,7 +857,7 @@ impl IMSMQMessage { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -868,22 +868,22 @@ impl IMSMQMessage { (windows_core::Interface::vtable(self).putref_ResponseQueueInfo)(windows_core::Interface::as_raw(self), pqinforesponse.param().abi()).ok() } pub unsafe fn AppSpecific(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppSpecific)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 SourceMachineGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceMachineGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BodyLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BodyLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Body(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Body)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBody(&self, varbody: P0) -> windows_core::Result<()> @@ -894,7 +894,7 @@ impl IMSMQMessage { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -905,11 +905,11 @@ impl IMSMQMessage { (windows_core::Interface::vtable(self).putref_AdminQueueInfo)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CorrelationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrelationId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCorrelationId(&self, varmsgid: P0) -> windows_core::Result<()> @@ -919,14 +919,14 @@ impl IMSMQMessage { (windows_core::Interface::vtable(self).SetCorrelationId)(windows_core::Interface::as_raw(self), varmsgid.param().abi()).ok() } pub unsafe fn Ack(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ack)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAck(&self, lack: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAck)(windows_core::Interface::as_raw(self), lack).ok() } pub unsafe fn Label(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Label)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLabel(&self, bstrlabel: P0) -> windows_core::Result<()> @@ -936,48 +936,48 @@ impl IMSMQMessage { (windows_core::Interface::vtable(self).SetLabel)(windows_core::Interface::as_raw(self), bstrlabel.param().abi()).ok() } pub unsafe fn MaxTimeToReachQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxTimeToReachQueue)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxTimeToReceive)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetEncryptAlgorithm)(windows_core::Interface::as_raw(self), lencryptalg).ok() } pub unsafe fn SentTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SentTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ArrivedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArrivedTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DestinationQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SenderCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSenderCertificate(&self, varsendercert: P0) -> windows_core::Result<()> @@ -987,11 +987,11 @@ impl IMSMQMessage { (windows_core::Interface::vtable(self).SetSenderCertificate)(windows_core::Interface::as_raw(self), varsendercert.param().abi()).ok() } pub unsafe fn SenderId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SenderIdType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderIdType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> windows_core::Result<()> { @@ -1036,10 +1036,10 @@ pub struct IMSMQMessage_Vtbl { putref_ResponseQueueInfo: usize, pub AppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BodyLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AdminQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1048,13 +1048,13 @@ pub struct IMSMQMessage_Vtbl { pub putref_AdminQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_AdminQueueInfo: usize, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Ack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAck: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxTimeToReachQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxTimeToReachQueue: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MaxTimeToReceive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1063,19 +1063,19 @@ pub struct IMSMQMessage_Vtbl { pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DestinationQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DestinationQueueInfo: usize, - pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Send: usize, pub AttachCurrentSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1086,7 +1086,7 @@ windows_core::imp::define_interface!(IMSMQMessage2, IMSMQMessage2_Vtbl, 0xd9933b impl std::ops::Deref for IMSMQMessage2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1094,50 +1094,50 @@ windows_core::imp::interface_hierarchy!(IMSMQMessage2, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage2 { pub unsafe fn Class(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Class)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrivLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAuthenticated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Delivery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Delivery)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Trace)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Journal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> windows_core::Result<()> { @@ -1145,7 +1145,7 @@ impl IMSMQMessage2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseQueueInfo_v1)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1156,22 +1156,22 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).putref_ResponseQueueInfo_v1)(windows_core::Interface::as_raw(self), pqinforesponse.param().abi()).ok() } pub unsafe fn AppSpecific(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppSpecific)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 SourceMachineGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceMachineGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BodyLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BodyLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Body(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Body)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBody(&self, varbody: P0) -> windows_core::Result<()> @@ -1182,7 +1182,7 @@ impl IMSMQMessage2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminQueueInfo_v1)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1193,11 +1193,11 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).putref_AdminQueueInfo_v1)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CorrelationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrelationId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCorrelationId(&self, varmsgid: P0) -> windows_core::Result<()> @@ -1207,14 +1207,14 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).SetCorrelationId)(windows_core::Interface::as_raw(self), varmsgid.param().abi()).ok() } pub unsafe fn Ack(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ack)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAck(&self, lack: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAck)(windows_core::Interface::as_raw(self), lack).ok() } pub unsafe fn Label(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Label)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLabel(&self, bstrlabel: P0) -> windows_core::Result<()> @@ -1224,48 +1224,48 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).SetLabel)(windows_core::Interface::as_raw(self), bstrlabel.param().abi()).ok() } pub unsafe fn MaxTimeToReachQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxTimeToReachQueue)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxTimeToReceive)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetEncryptAlgorithm)(windows_core::Interface::as_raw(self), lencryptalg).ok() } pub unsafe fn SentTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SentTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ArrivedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArrivedTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DestinationQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SenderCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSenderCertificate(&self, varsendercert: P0) -> windows_core::Result<()> @@ -1275,11 +1275,11 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).SetSenderCertificate)(windows_core::Interface::as_raw(self), varsendercert.param().abi()).ok() } pub unsafe fn SenderId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SenderIdType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderIdType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> windows_core::Result<()> { @@ -1296,11 +1296,11 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Extension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extension)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExtension(&self, varextension: P0) -> windows_core::Result<()> @@ -1310,7 +1310,7 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).SetExtension)(windows_core::Interface::as_raw(self), varextension.param().abi()).ok() } pub unsafe fn ConnectorTypeGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectorTypeGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetConnectorTypeGuid(&self, bstrguidconnectortype: P0) -> windows_core::Result<()> @@ -1321,11 +1321,11 @@ impl IMSMQMessage2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TransactionStatusQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionStatusQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DestinationSymmetricKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationSymmetricKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDestinationSymmetricKey(&self, vardestsymmkey: P0) -> windows_core::Result<()> @@ -1335,7 +1335,7 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).SetDestinationSymmetricKey)(windows_core::Interface::as_raw(self), vardestsymmkey.param().abi()).ok() } pub unsafe fn Signature(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Signature)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSignature(&self, varsignature: P0) -> windows_core::Result<()> @@ -1345,14 +1345,14 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).SetSignature)(windows_core::Interface::as_raw(self), varsignature.param().abi()).ok() } pub unsafe fn AuthenticationProviderType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthenticationProviderType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAuthenticationProviderType(&self, lauthprovtype: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAuthenticationProviderType)(windows_core::Interface::as_raw(self), lauthprovtype).ok() } pub unsafe fn AuthenticationProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthenticationProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAuthenticationProviderName(&self, bstrauthprovname: P0) -> windows_core::Result<()> @@ -1368,7 +1368,7 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).SetSenderId)(windows_core::Interface::as_raw(self), varsenderid.param().abi()).ok() } pub unsafe fn MsgClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MsgClass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMsgClass(&self, lmsgclass: i32) -> windows_core::Result<()> { @@ -1376,24 +1376,24 @@ impl IMSMQMessage2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TransactionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsFirstInTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFirstInTransaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLastInTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLastInTransaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1405,7 +1405,7 @@ impl IMSMQMessage2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1416,7 +1416,7 @@ impl IMSMQMessage2 { (windows_core::Interface::vtable(self).putref_AdminQueueInfo)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } pub unsafe fn ReceivedAuthenticationLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceivedAuthenticationLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1448,10 +1448,10 @@ pub struct IMSMQMessage2_Vtbl { putref_ResponseQueueInfo_v1: usize, pub AppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BodyLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1460,13 +1460,13 @@ pub struct IMSMQMessage2_Vtbl { pub putref_AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_AdminQueueInfo_v1: usize, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Ack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAck: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxTimeToReachQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxTimeToReachQueue: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MaxTimeToReceive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1475,47 +1475,47 @@ pub struct IMSMQMessage2_Vtbl { pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DestinationQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DestinationQueueInfo: usize, - pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Send: usize, pub AttachCurrentSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SenderVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub TransactionStatusQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] TransactionStatusQueueInfo: usize, - pub DestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Signature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Signature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub AuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSenderId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSenderId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, - pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsFirstInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub IsLastInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -1542,7 +1542,7 @@ windows_core::imp::define_interface!(IMSMQMessage3, IMSMQMessage3_Vtbl, 0xeba96b impl std::ops::Deref for IMSMQMessage3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1550,50 +1550,50 @@ windows_core::imp::interface_hierarchy!(IMSMQMessage3, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage3 { pub unsafe fn Class(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Class)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrivLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAuthenticated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Delivery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Delivery)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Trace)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Journal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> windows_core::Result<()> { @@ -1601,7 +1601,7 @@ impl IMSMQMessage3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseQueueInfo_v1)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1612,22 +1612,22 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).putref_ResponseQueueInfo_v1)(windows_core::Interface::as_raw(self), pqinforesponse.param().abi()).ok() } pub unsafe fn AppSpecific(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppSpecific)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 SourceMachineGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceMachineGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BodyLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BodyLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Body(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Body)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBody(&self, varbody: P0) -> windows_core::Result<()> @@ -1638,7 +1638,7 @@ impl IMSMQMessage3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminQueueInfo_v1)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1649,11 +1649,11 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).putref_AdminQueueInfo_v1)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CorrelationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrelationId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCorrelationId(&self, varmsgid: P0) -> windows_core::Result<()> @@ -1663,14 +1663,14 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).SetCorrelationId)(windows_core::Interface::as_raw(self), varmsgid.param().abi()).ok() } pub unsafe fn Ack(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ack)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAck(&self, lack: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAck)(windows_core::Interface::as_raw(self), lack).ok() } pub unsafe fn Label(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Label)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLabel(&self, bstrlabel: P0) -> windows_core::Result<()> @@ -1680,48 +1680,48 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).SetLabel)(windows_core::Interface::as_raw(self), bstrlabel.param().abi()).ok() } pub unsafe fn MaxTimeToReachQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxTimeToReachQueue)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxTimeToReceive)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetEncryptAlgorithm)(windows_core::Interface::as_raw(self), lencryptalg).ok() } pub unsafe fn SentTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SentTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ArrivedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArrivedTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DestinationQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SenderCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSenderCertificate(&self, varsendercert: P0) -> windows_core::Result<()> @@ -1731,11 +1731,11 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).SetSenderCertificate)(windows_core::Interface::as_raw(self), varsendercert.param().abi()).ok() } pub unsafe fn SenderId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SenderIdType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderIdType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> windows_core::Result<()> { @@ -1752,11 +1752,11 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Extension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extension)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExtension(&self, varextension: P0) -> windows_core::Result<()> @@ -1766,7 +1766,7 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).SetExtension)(windows_core::Interface::as_raw(self), varextension.param().abi()).ok() } pub unsafe fn ConnectorTypeGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectorTypeGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetConnectorTypeGuid(&self, bstrguidconnectortype: P0) -> windows_core::Result<()> @@ -1777,11 +1777,11 @@ impl IMSMQMessage3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TransactionStatusQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionStatusQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DestinationSymmetricKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationSymmetricKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDestinationSymmetricKey(&self, vardestsymmkey: P0) -> windows_core::Result<()> @@ -1791,7 +1791,7 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).SetDestinationSymmetricKey)(windows_core::Interface::as_raw(self), vardestsymmkey.param().abi()).ok() } pub unsafe fn Signature(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Signature)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSignature(&self, varsignature: P0) -> windows_core::Result<()> @@ -1801,14 +1801,14 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).SetSignature)(windows_core::Interface::as_raw(self), varsignature.param().abi()).ok() } pub unsafe fn AuthenticationProviderType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthenticationProviderType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAuthenticationProviderType(&self, lauthprovtype: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAuthenticationProviderType)(windows_core::Interface::as_raw(self), lauthprovtype).ok() } pub unsafe fn AuthenticationProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthenticationProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAuthenticationProviderName(&self, bstrauthprovname: P0) -> windows_core::Result<()> @@ -1824,7 +1824,7 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).SetSenderId)(windows_core::Interface::as_raw(self), varsenderid.param().abi()).ok() } pub unsafe fn MsgClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MsgClass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMsgClass(&self, lmsgclass: i32) -> windows_core::Result<()> { @@ -1832,24 +1832,24 @@ impl IMSMQMessage3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TransactionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsFirstInTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFirstInTransaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLastInTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLastInTransaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseQueueInfo_v2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1861,7 +1861,7 @@ impl IMSMQMessage3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminQueueInfo_v2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1872,12 +1872,12 @@ impl IMSMQMessage3 { (windows_core::Interface::vtable(self).putref_AdminQueueInfo_v2)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } pub unsafe fn ReceivedAuthenticationLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceivedAuthenticationLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1889,7 +1889,7 @@ impl IMSMQMessage3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1901,7 +1901,7 @@ impl IMSMQMessage3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseDestination(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseDestination)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1913,34 +1913,34 @@ impl IMSMQMessage3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Destination(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Destination)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LookupId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LookupId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsAuthenticated2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAuthenticated2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsFirstInTransaction2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFirstInTransaction2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLastInTransaction2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLastInTransaction2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AttachCurrentSecurityContext2(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).AttachCurrentSecurityContext2)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn SoapEnvelope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SoapEnvelope)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CompoundMessage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompoundMessage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSoapHeader(&self, bstrsoapheader: P0) -> windows_core::Result<()> @@ -1984,10 +1984,10 @@ pub struct IMSMQMessage3_Vtbl { putref_ResponseQueueInfo_v1: usize, pub AppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BodyLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1996,13 +1996,13 @@ pub struct IMSMQMessage3_Vtbl { pub putref_AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_AdminQueueInfo_v1: usize, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Ack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAck: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxTimeToReachQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxTimeToReachQueue: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MaxTimeToReceive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -2011,47 +2011,47 @@ pub struct IMSMQMessage3_Vtbl { pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DestinationQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DestinationQueueInfo: usize, - pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Send: usize, pub AttachCurrentSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SenderVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub TransactionStatusQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] TransactionStatusQueueInfo: usize, - pub DestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Signature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Signature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub AuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSenderId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSenderId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, - pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsFirstInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub IsLastInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2099,15 +2099,15 @@ pub struct IMSMQMessage3_Vtbl { pub Destination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Destination: usize, - pub LookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsAuthenticated2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsFirstInTransaction2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsLastInTransaction2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub AttachCurrentSecurityContext2: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SoapEnvelope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CompoundMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSoapHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSoapBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SoapEnvelope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CompoundMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSoapHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSoapBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQMessage4, IMSMQMessage4_Vtbl, 0xeba96b23_2168_11d3_898c_00e02c074f6b); @@ -2115,7 +2115,7 @@ windows_core::imp::define_interface!(IMSMQMessage4, IMSMQMessage4_Vtbl, 0xeba96b impl std::ops::Deref for IMSMQMessage4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2123,50 +2123,50 @@ windows_core::imp::interface_hierarchy!(IMSMQMessage4, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage4 { pub unsafe fn Class(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Class)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrivLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAuthenticated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Delivery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Delivery)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Trace)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Journal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetJournal(&self, ljournal: i32) -> windows_core::Result<()> { @@ -2174,7 +2174,7 @@ impl IMSMQMessage4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseQueueInfo_v1)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2185,22 +2185,22 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).putref_ResponseQueueInfo_v1)(windows_core::Interface::as_raw(self), pqinforesponse.param().abi()).ok() } pub unsafe fn AppSpecific(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppSpecific)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 SourceMachineGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SourceMachineGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BodyLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BodyLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Body(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Body)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBody(&self, varbody: P0) -> windows_core::Result<()> @@ -2211,7 +2211,7 @@ impl IMSMQMessage4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v1(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminQueueInfo_v1)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2222,11 +2222,11 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).putref_AdminQueueInfo_v1)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CorrelationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrelationId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCorrelationId(&self, varmsgid: P0) -> windows_core::Result<()> @@ -2236,14 +2236,14 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).SetCorrelationId)(windows_core::Interface::as_raw(self), varmsgid.param().abi()).ok() } pub unsafe fn Ack(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ack)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAck(&self, lack: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAck)(windows_core::Interface::as_raw(self), lack).ok() } pub unsafe fn Label(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Label)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLabel(&self, bstrlabel: P0) -> windows_core::Result<()> @@ -2253,48 +2253,48 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).SetLabel)(windows_core::Interface::as_raw(self), bstrlabel.param().abi()).ok() } pub unsafe fn MaxTimeToReachQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxTimeToReachQueue)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxTimeToReceive)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HashAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EncryptAlgorithm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEncryptAlgorithm(&self, lencryptalg: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetEncryptAlgorithm)(windows_core::Interface::as_raw(self), lencryptalg).ok() } pub unsafe fn SentTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SentTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ArrivedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ArrivedTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DestinationQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SenderCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderCertificate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSenderCertificate(&self, varsendercert: P0) -> windows_core::Result<()> @@ -2304,11 +2304,11 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).SetSenderCertificate)(windows_core::Interface::as_raw(self), varsendercert.param().abi()).ok() } pub unsafe fn SenderId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SenderIdType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderIdType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSenderIdType(&self, lsenderidtype: i32) -> windows_core::Result<()> { @@ -2325,11 +2325,11 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SenderVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Extension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extension)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExtension(&self, varextension: P0) -> windows_core::Result<()> @@ -2339,7 +2339,7 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).SetExtension)(windows_core::Interface::as_raw(self), varextension.param().abi()).ok() } pub unsafe fn ConnectorTypeGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectorTypeGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetConnectorTypeGuid(&self, bstrguidconnectortype: P0) -> windows_core::Result<()> @@ -2350,11 +2350,11 @@ impl IMSMQMessage4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TransactionStatusQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionStatusQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DestinationSymmetricKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DestinationSymmetricKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDestinationSymmetricKey(&self, vardestsymmkey: P0) -> windows_core::Result<()> @@ -2364,7 +2364,7 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).SetDestinationSymmetricKey)(windows_core::Interface::as_raw(self), vardestsymmkey.param().abi()).ok() } pub unsafe fn Signature(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Signature)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSignature(&self, varsignature: P0) -> windows_core::Result<()> @@ -2374,14 +2374,14 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).SetSignature)(windows_core::Interface::as_raw(self), varsignature.param().abi()).ok() } pub unsafe fn AuthenticationProviderType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthenticationProviderType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAuthenticationProviderType(&self, lauthprovtype: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetAuthenticationProviderType)(windows_core::Interface::as_raw(self), lauthprovtype).ok() } pub unsafe fn AuthenticationProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthenticationProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAuthenticationProviderName(&self, bstrauthprovname: P0) -> windows_core::Result<()> @@ -2397,7 +2397,7 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).SetSenderId)(windows_core::Interface::as_raw(self), varsenderid.param().abi()).ok() } pub unsafe fn MsgClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MsgClass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMsgClass(&self, lmsgclass: i32) -> windows_core::Result<()> { @@ -2405,24 +2405,24 @@ impl IMSMQMessage4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TransactionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsFirstInTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFirstInTransaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLastInTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLastInTransaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo_v2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseQueueInfo_v2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2434,7 +2434,7 @@ impl IMSMQMessage4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo_v2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminQueueInfo_v2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2445,12 +2445,12 @@ impl IMSMQMessage4 { (windows_core::Interface::vtable(self).putref_AdminQueueInfo_v2)(windows_core::Interface::as_raw(self), pqinfoadmin.param().abi()).ok() } pub unsafe fn ReceivedAuthenticationLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceivedAuthenticationLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2462,7 +2462,7 @@ impl IMSMQMessage4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AdminQueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdminQueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2474,7 +2474,7 @@ impl IMSMQMessage4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResponseDestination(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResponseDestination)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2486,34 +2486,34 @@ impl IMSMQMessage4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Destination(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Destination)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LookupId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LookupId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsAuthenticated2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAuthenticated2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsFirstInTransaction2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFirstInTransaction2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsLastInTransaction2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLastInTransaction2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AttachCurrentSecurityContext2(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).AttachCurrentSecurityContext2)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn SoapEnvelope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SoapEnvelope)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CompoundMessage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompoundMessage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSoapHeader(&self, bstrsoapheader: P0) -> windows_core::Result<()> @@ -2557,10 +2557,10 @@ pub struct IMSMQMessage4_Vtbl { putref_ResponseQueueInfo_v1: usize, pub AppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAppSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SourceMachineGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BodyLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2569,13 +2569,13 @@ pub struct IMSMQMessage4_Vtbl { pub putref_AdminQueueInfo_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_AdminQueueInfo_v1: usize, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Ack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAck: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MaxTimeToReachQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxTimeToReachQueue: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MaxTimeToReceive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -2584,47 +2584,47 @@ pub struct IMSMQMessage4_Vtbl { pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetEncryptAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SentTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ArrivedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DestinationQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DestinationQueueInfo: usize, - pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSenderCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SenderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSenderIdType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Send: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Send: usize, pub AttachCurrentSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SenderVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetConnectorTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub TransactionStatusQueueInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] TransactionStatusQueueInfo: usize, - pub DestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Signature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDestinationSymmetricKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Signature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticationProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub AuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSenderId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAuthenticationProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSenderId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMsgClass: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, - pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TransactionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsFirstInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub IsLastInTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2672,15 +2672,15 @@ pub struct IMSMQMessage4_Vtbl { pub Destination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Destination: usize, - pub LookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsAuthenticated2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsFirstInTransaction2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsLastInTransaction2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub AttachCurrentSecurityContext2: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SoapEnvelope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CompoundMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSoapHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSoapBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SoapEnvelope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CompoundMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSoapHeader: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSoapBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQOutgoingQueueManagement, IMSMQOutgoingQueueManagement_Vtbl, 0x64c478fb_f9b0_4695_8a7f_439ac94326d3); @@ -2688,7 +2688,7 @@ windows_core::imp::define_interface!(IMSMQOutgoingQueueManagement, IMSMQOutgoing impl std::ops::Deref for IMSMQOutgoingQueueManagement { type Target = IMSMQManagement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2696,16 +2696,16 @@ windows_core::imp::interface_hierarchy!(IMSMQOutgoingQueueManagement, windows_co #[cfg(feature = "Win32_System_Com")] impl IMSMQOutgoingQueueManagement { pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NextHops(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextHops)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EodGetSendInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EodGetSendInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Resume(&self) -> windows_core::Result<()> { @@ -2723,7 +2723,7 @@ impl IMSMQOutgoingQueueManagement { pub struct IMSMQOutgoingQueueManagement_Vtbl { pub base__: IMSMQManagement_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub NextHops: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NextHops: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EodGetSendInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2738,7 +2738,7 @@ windows_core::imp::define_interface!(IMSMQPrivateDestination, IMSMQPrivateDestin impl std::ops::Deref for IMSMQPrivateDestination { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2746,7 +2746,7 @@ windows_core::imp::interface_hierarchy!(IMSMQPrivateDestination, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IMSMQPrivateDestination { pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHandle(&self, varhandle: P0) -> windows_core::Result<()> @@ -2760,8 +2760,8 @@ impl IMSMQPrivateDestination { #[repr(C)] pub struct IMSMQPrivateDestination_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQPrivateEvent, IMSMQPrivateEvent_Vtbl, 0xd7ab3341_c9d3_11d1_bb47_0080c7c5a2c0); @@ -2769,7 +2769,7 @@ windows_core::imp::define_interface!(IMSMQPrivateEvent, IMSMQPrivateEvent_Vtbl, impl std::ops::Deref for IMSMQPrivateEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2777,7 +2777,7 @@ windows_core::imp::interface_hierarchy!(IMSMQPrivateEvent, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IMSMQPrivateEvent { pub unsafe fn Hwnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Hwnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2815,7 +2815,7 @@ windows_core::imp::define_interface!(IMSMQQuery, IMSMQQuery_Vtbl, 0xd7d6e072_dcc impl std::ops::Deref for IMSMQQuery { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2824,7 +2824,7 @@ windows_core::imp::interface_hierarchy!(IMSMQQuery, windows_core::IUnknown, supe impl IMSMQQuery { #[cfg(feature = "Win32_System_Com")] pub unsafe fn LookupQueue(&self, queueguid: *const windows_core::VARIANT, servicetypeguid: *const windows_core::VARIANT, label: *const windows_core::VARIANT, createtime: *const windows_core::VARIANT, modifytime: *const windows_core::VARIANT, relservicetype: *const windows_core::VARIANT, rellabel: *const windows_core::VARIANT, relcreatetime: *const windows_core::VARIANT, relmodifytime: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2833,7 +2833,7 @@ impl IMSMQQuery { pub struct IMSMQQuery_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] LookupQueue: usize, } @@ -2843,7 +2843,7 @@ windows_core::imp::define_interface!(IMSMQQuery2, IMSMQQuery2_Vtbl, 0xeba96b0e_2 impl std::ops::Deref for IMSMQQuery2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2852,12 +2852,12 @@ windows_core::imp::interface_hierarchy!(IMSMQQuery2, windows_core::IUnknown, sup impl IMSMQQuery2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn LookupQueue(&self, queueguid: *const windows_core::VARIANT, servicetypeguid: *const windows_core::VARIANT, label: *const windows_core::VARIANT, createtime: *const windows_core::VARIANT, modifytime: *const windows_core::VARIANT, relservicetype: *const windows_core::VARIANT, rellabel: *const windows_core::VARIANT, relcreatetime: *const windows_core::VARIANT, relmodifytime: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2866,7 +2866,7 @@ impl IMSMQQuery2 { pub struct IMSMQQuery2_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] LookupQueue: usize, #[cfg(feature = "Win32_System_Com")] @@ -2880,7 +2880,7 @@ windows_core::imp::define_interface!(IMSMQQuery3, IMSMQQuery3_Vtbl, 0xeba96b19_2 impl std::ops::Deref for IMSMQQuery3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2889,17 +2889,17 @@ windows_core::imp::interface_hierarchy!(IMSMQQuery3, windows_core::IUnknown, sup impl IMSMQQuery3 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn LookupQueue_v2(&self, queueguid: *const windows_core::VARIANT, servicetypeguid: *const windows_core::VARIANT, label: *const windows_core::VARIANT, createtime: *const windows_core::VARIANT, modifytime: *const windows_core::VARIANT, relservicetype: *const windows_core::VARIANT, rellabel: *const windows_core::VARIANT, relcreatetime: *const windows_core::VARIANT, relmodifytime: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn LookupQueue(&self, queueguid: *const windows_core::VARIANT, servicetypeguid: *const windows_core::VARIANT, label: *const windows_core::VARIANT, createtime: *const windows_core::VARIANT, modifytime: *const windows_core::VARIANT, relservicetype: *const windows_core::VARIANT, rellabel: *const windows_core::VARIANT, relcreatetime: *const windows_core::VARIANT, relmodifytime: *const windows_core::VARIANT, multicastaddress: *const windows_core::VARIANT, relmulticastaddress: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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(multicastaddress), core::mem::transmute(relmulticastaddress), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2908,7 +2908,7 @@ impl IMSMQQuery3 { pub struct IMSMQQuery3_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub LookupQueue_v2: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LookupQueue_v2: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] LookupQueue_v2: usize, #[cfg(feature = "Win32_System_Com")] @@ -2916,7 +2916,7 @@ pub struct IMSMQQuery3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, #[cfg(feature = "Win32_System_Com")] - pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] LookupQueue: usize, } @@ -2926,7 +2926,7 @@ windows_core::imp::define_interface!(IMSMQQuery4, IMSMQQuery4_Vtbl, 0xeba96b24_2 impl std::ops::Deref for IMSMQQuery4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2935,17 +2935,17 @@ windows_core::imp::interface_hierarchy!(IMSMQQuery4, windows_core::IUnknown, sup impl IMSMQQuery4 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn LookupQueue_v2(&self, queueguid: *const windows_core::VARIANT, servicetypeguid: *const windows_core::VARIANT, label: *const windows_core::VARIANT, createtime: *const windows_core::VARIANT, modifytime: *const windows_core::VARIANT, relservicetype: *const windows_core::VARIANT, rellabel: *const windows_core::VARIANT, relcreatetime: *const windows_core::VARIANT, relmodifytime: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn LookupQueue(&self, queueguid: *const windows_core::VARIANT, servicetypeguid: *const windows_core::VARIANT, label: *const windows_core::VARIANT, createtime: *const windows_core::VARIANT, modifytime: *const windows_core::VARIANT, relservicetype: *const windows_core::VARIANT, rellabel: *const windows_core::VARIANT, relcreatetime: *const windows_core::VARIANT, relmodifytime: *const windows_core::VARIANT, multicastaddress: *const windows_core::VARIANT, relmulticastaddress: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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(multicastaddress), core::mem::transmute(relmulticastaddress), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2954,7 +2954,7 @@ impl IMSMQQuery4 { pub struct IMSMQQuery4_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub LookupQueue_v2: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LookupQueue_v2: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] LookupQueue_v2: usize, #[cfg(feature = "Win32_System_Com")] @@ -2962,7 +2962,7 @@ pub struct IMSMQQuery4_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, #[cfg(feature = "Win32_System_Com")] - pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub LookupQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] LookupQueue: usize, } @@ -2972,7 +2972,7 @@ windows_core::imp::define_interface!(IMSMQQueue, IMSMQQueue_Vtbl, 0xd7d6e076_dcc impl std::ops::Deref for IMSMQQueue { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2980,24 +2980,24 @@ windows_core::imp::interface_hierarchy!(IMSMQQueue, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue { pub unsafe fn Access(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Access)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ShareMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShareMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOpen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOpen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -3005,12 +3005,12 @@ impl IMSMQQueue { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Receive(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Peek(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3025,17 +3025,17 @@ impl IMSMQQueue { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveCurrent(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3053,28 +3053,28 @@ pub struct IMSMQQueue_Vtbl { pub IsOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Receive: usize, #[cfg(feature = "Win32_System_Com")] - pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Peek: usize, #[cfg(feature = "Win32_System_Com")] - pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnableNotification: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveCurrent: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekNext: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekCurrent: usize, } @@ -3084,7 +3084,7 @@ windows_core::imp::define_interface!(IMSMQQueue2, IMSMQQueue2_Vtbl, 0xef0574e0_0 impl std::ops::Deref for IMSMQQueue2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3092,24 +3092,24 @@ windows_core::imp::interface_hierarchy!(IMSMQQueue2, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue2 { pub unsafe fn Access(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Access)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ShareMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShareMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOpen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOpen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -3117,12 +3117,12 @@ impl IMSMQQueue2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Receive_v1(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3137,47 +3137,47 @@ impl IMSMQQueue2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Receive(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Peek(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveCurrent(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3195,48 +3195,48 @@ pub struct IMSMQQueue2_Vtbl { pub IsOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Receive_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Receive_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Receive_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub Peek_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Peek_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Peek_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnableNotification: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ReceiveCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveCurrent_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekNext_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekNext_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekNext_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekCurrent_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Receive: usize, #[cfg(feature = "Win32_System_Com")] - pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Peek: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveCurrent: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekNext: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekCurrent: usize, #[cfg(feature = "Win32_System_Com")] @@ -3250,7 +3250,7 @@ windows_core::imp::define_interface!(IMSMQQueue3, IMSMQQueue3_Vtbl, 0xeba96b1b_2 impl std::ops::Deref for IMSMQQueue3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3258,24 +3258,24 @@ windows_core::imp::interface_hierarchy!(IMSMQQueue3, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue3 { pub unsafe fn Access(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Access)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ShareMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShareMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOpen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOpen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -3283,12 +3283,12 @@ impl IMSMQQueue3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Receive_v1(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3303,51 +3303,51 @@ impl IMSMQQueue3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Receive(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Peek(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveCurrent(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3355,7 +3355,7 @@ impl IMSMQQueue3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3363,7 +3363,7 @@ impl IMSMQQueue3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveNextByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3371,17 +3371,17 @@ impl IMSMQQueue3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceivePreviousByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveFirstByLookupId(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveLastByLookupId(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3389,7 +3389,7 @@ impl IMSMQQueue3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3397,7 +3397,7 @@ impl IMSMQQueue3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNextByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3405,24 +3405,24 @@ impl IMSMQQueue3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekPreviousByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekFirstByLookupId(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekLastByLookupId(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOpen2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3440,93 +3440,93 @@ pub struct IMSMQQueue3_Vtbl { pub IsOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Receive_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Receive_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Receive_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub Peek_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Peek_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Peek_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnableNotification: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ReceiveCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveCurrent_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekNext_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekNext_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekNext_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekCurrent_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Receive: usize, #[cfg(feature = "Win32_System_Com")] - pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Peek: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveCurrent: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekNext: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekCurrent: usize, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, - pub Handle2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Handle2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ReceiveByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceiveNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveNextByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceivePreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceivePreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceivePreviousByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceiveFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveFirstByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceiveLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveLastByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekNextByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekPreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekPreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekPreviousByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekFirstByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekLastByLookupId: usize, pub Purge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3538,7 +3538,7 @@ windows_core::imp::define_interface!(IMSMQQueue4, IMSMQQueue4_Vtbl, 0xeba96b20_2 impl std::ops::Deref for IMSMQQueue4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3546,24 +3546,24 @@ windows_core::imp::interface_hierarchy!(IMSMQQueue4, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue4 { pub unsafe fn Access(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Access)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ShareMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShareMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueueInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOpen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOpen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -3571,12 +3571,12 @@ impl IMSMQQueue4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Receive_v1(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Peek_v1(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3591,51 +3591,51 @@ impl IMSMQQueue4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveCurrent_v1(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekNext_v1(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekCurrent_v1(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Receive(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Peek(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveCurrent(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekNext(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekCurrent(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, receivetimeout: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Handle2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3643,7 +3643,7 @@ impl IMSMQQueue4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3651,7 +3651,7 @@ impl IMSMQQueue4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveNextByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3659,17 +3659,17 @@ impl IMSMQQueue4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceivePreviousByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveFirstByLookupId(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ReceiveLastByLookupId(&self, transaction: *const windows_core::VARIANT, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3677,7 +3677,7 @@ impl IMSMQQueue4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3685,7 +3685,7 @@ impl IMSMQQueue4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekNextByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3693,24 +3693,24 @@ impl IMSMQQueue4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PeekPreviousByLookupId)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekFirstByLookupId(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PeekLastByLookupId(&self, wantdestinationqueue: *const windows_core::VARIANT, wantbody: *const windows_core::VARIANT, wantconnectortype: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::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), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOpen2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3718,7 +3718,7 @@ impl IMSMQQueue4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReceiveByLookupIdAllowPeek)(windows_core::Interface::as_raw(self), lookupid.param().abi(), core::mem::transmute(transaction), core::mem::transmute(wantdestinationqueue), core::mem::transmute(wantbody), core::mem::transmute(wantconnectortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3736,99 +3736,99 @@ pub struct IMSMQQueue4_Vtbl { pub IsOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Receive_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Receive_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Receive_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub Peek_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Peek_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Peek_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnableNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnableNotification: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ReceiveCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveCurrent_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekNext_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekNext_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekNext_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekCurrent_v1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekCurrent_v1: usize, #[cfg(feature = "Win32_System_Com")] - pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Receive: usize, #[cfg(feature = "Win32_System_Com")] - pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Peek: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveCurrent: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekNext: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekCurrent: usize, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, - pub Handle2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Handle2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ReceiveByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceiveNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveNextByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceivePreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceivePreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceivePreviousByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceiveFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveFirstByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub ReceiveLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveLastByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekNextByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekNextByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekPreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekPreviousByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekPreviousByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekFirstByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekFirstByLookupId: usize, #[cfg(feature = "Win32_System_Com")] - pub PeekLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PeekLastByLookupId: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PeekLastByLookupId: usize, pub Purge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsOpen2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub ReceiveByLookupIdAllowPeek: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReceiveByLookupIdAllowPeek: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReceiveByLookupIdAllowPeek: usize, } @@ -3838,7 +3838,7 @@ windows_core::imp::define_interface!(IMSMQQueueInfo, IMSMQQueueInfo_Vtbl, 0xd7d6 impl std::ops::Deref for IMSMQQueueInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3846,11 +3846,11 @@ windows_core::imp::interface_hierarchy!(IMSMQQueueInfo, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo { pub unsafe fn QueueGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceTypeGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceTypeGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServiceTypeGuid(&self, bstrguidservicetype: P0) -> windows_core::Result<()> @@ -3860,7 +3860,7 @@ impl IMSMQQueueInfo { (windows_core::Interface::vtable(self).SetServiceTypeGuid)(windows_core::Interface::as_raw(self), bstrguidservicetype.param().abi()).ok() } pub unsafe fn Label(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Label)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLabel(&self, bstrlabel: P0) -> windows_core::Result<()> @@ -3870,7 +3870,7 @@ impl IMSMQQueueInfo { (windows_core::Interface::vtable(self).SetLabel)(windows_core::Interface::as_raw(self), bstrlabel.param().abi()).ok() } pub unsafe fn PathName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPathName(&self, bstrpathname: P0) -> windows_core::Result<()> @@ -3880,7 +3880,7 @@ impl IMSMQQueueInfo { (windows_core::Interface::vtable(self).SetPathName)(windows_core::Interface::as_raw(self), bstrpathname.param().abi()).ok() } pub unsafe fn FormatName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFormatName(&self, bstrformatname: P0) -> windows_core::Result<()> @@ -3890,61 +3890,61 @@ impl IMSMQQueueInfo { (windows_core::Interface::vtable(self).SetFormatName)(windows_core::Interface::as_raw(self), bstrformatname.param().abi()).ok() } pub unsafe fn IsTransactional(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTransactional)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrivLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Journal)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Quota)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BasePriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetBasePriority)(windows_core::Interface::as_raw(self), lbasepriority).ok() } pub unsafe fn CreateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModifyTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModifyTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Authenticate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Authenticate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JournalQuota)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWorldReadable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Create(&self, istransactional: *const windows_core::VARIANT, isworldreadable: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -3955,7 +3955,7 @@ impl IMSMQQueueInfo { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Open(&self, access: i32, sharemode: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), access, sharemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -3969,15 +3969,15 @@ impl IMSMQQueueInfo { #[repr(C)] pub struct IMSMQQueueInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub QueueGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueueGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTransactional: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub PrivLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPrivLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -3987,14 +3987,14 @@ pub struct IMSMQQueueInfo_Vtbl { pub SetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub JournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetJournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsWorldReadable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4009,7 +4009,7 @@ windows_core::imp::define_interface!(IMSMQQueueInfo2, IMSMQQueueInfo2_Vtbl, 0xfd impl std::ops::Deref for IMSMQQueueInfo2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4017,11 +4017,11 @@ windows_core::imp::interface_hierarchy!(IMSMQQueueInfo2, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo2 { pub unsafe fn QueueGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceTypeGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceTypeGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServiceTypeGuid(&self, bstrguidservicetype: P0) -> windows_core::Result<()> @@ -4031,7 +4031,7 @@ impl IMSMQQueueInfo2 { (windows_core::Interface::vtable(self).SetServiceTypeGuid)(windows_core::Interface::as_raw(self), bstrguidservicetype.param().abi()).ok() } pub unsafe fn Label(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Label)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLabel(&self, bstrlabel: P0) -> windows_core::Result<()> @@ -4041,7 +4041,7 @@ impl IMSMQQueueInfo2 { (windows_core::Interface::vtable(self).SetLabel)(windows_core::Interface::as_raw(self), bstrlabel.param().abi()).ok() } pub unsafe fn PathName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPathName(&self, bstrpathname: P0) -> windows_core::Result<()> @@ -4051,7 +4051,7 @@ impl IMSMQQueueInfo2 { (windows_core::Interface::vtable(self).SetPathName)(windows_core::Interface::as_raw(self), bstrpathname.param().abi()).ok() } pub unsafe fn FormatName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFormatName(&self, bstrformatname: P0) -> windows_core::Result<()> @@ -4061,61 +4061,61 @@ impl IMSMQQueueInfo2 { (windows_core::Interface::vtable(self).SetFormatName)(windows_core::Interface::as_raw(self), bstrformatname.param().abi()).ok() } pub unsafe fn IsTransactional(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTransactional)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrivLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Journal)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Quota)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BasePriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetBasePriority)(windows_core::Interface::as_raw(self), lbasepriority).ok() } pub unsafe fn CreateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModifyTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModifyTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Authenticate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Authenticate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JournalQuota)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWorldReadable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Create(&self, istransactional: *const windows_core::VARIANT, isworldreadable: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -4126,7 +4126,7 @@ impl IMSMQQueueInfo2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Open(&self, access: i32, sharemode: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), access, sharemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4136,16 +4136,16 @@ impl IMSMQQueueInfo2 { (windows_core::Interface::vtable(self).Update)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn PathNameDNS(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathNameDNS)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Security(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSecurity(&self, varsecurity: P0) -> windows_core::Result<()> @@ -4159,15 +4159,15 @@ impl IMSMQQueueInfo2 { #[repr(C)] pub struct IMSMQQueueInfo2_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub QueueGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueueGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTransactional: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub PrivLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPrivLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -4177,14 +4177,14 @@ pub struct IMSMQQueueInfo2_Vtbl { pub SetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub JournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetJournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsWorldReadable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4192,13 +4192,13 @@ pub struct IMSMQQueueInfo2_Vtbl { Open: usize, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub PathNameDNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathNameDNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, - pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfo3, IMSMQQueueInfo3_Vtbl, 0xeba96b1d_2168_11d3_898c_00e02c074f6b); @@ -4206,7 +4206,7 @@ windows_core::imp::define_interface!(IMSMQQueueInfo3, IMSMQQueueInfo3_Vtbl, 0xeb impl std::ops::Deref for IMSMQQueueInfo3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4214,11 +4214,11 @@ windows_core::imp::interface_hierarchy!(IMSMQQueueInfo3, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo3 { pub unsafe fn QueueGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceTypeGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceTypeGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServiceTypeGuid(&self, bstrguidservicetype: P0) -> windows_core::Result<()> @@ -4228,7 +4228,7 @@ impl IMSMQQueueInfo3 { (windows_core::Interface::vtable(self).SetServiceTypeGuid)(windows_core::Interface::as_raw(self), bstrguidservicetype.param().abi()).ok() } pub unsafe fn Label(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Label)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLabel(&self, bstrlabel: P0) -> windows_core::Result<()> @@ -4238,7 +4238,7 @@ impl IMSMQQueueInfo3 { (windows_core::Interface::vtable(self).SetLabel)(windows_core::Interface::as_raw(self), bstrlabel.param().abi()).ok() } pub unsafe fn PathName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPathName(&self, bstrpathname: P0) -> windows_core::Result<()> @@ -4248,7 +4248,7 @@ impl IMSMQQueueInfo3 { (windows_core::Interface::vtable(self).SetPathName)(windows_core::Interface::as_raw(self), bstrpathname.param().abi()).ok() } pub unsafe fn FormatName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFormatName(&self, bstrformatname: P0) -> windows_core::Result<()> @@ -4258,61 +4258,61 @@ impl IMSMQQueueInfo3 { (windows_core::Interface::vtable(self).SetFormatName)(windows_core::Interface::as_raw(self), bstrformatname.param().abi()).ok() } pub unsafe fn IsTransactional(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTransactional)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrivLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Journal)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Quota)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BasePriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetBasePriority)(windows_core::Interface::as_raw(self), lbasepriority).ok() } pub unsafe fn CreateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModifyTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModifyTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Authenticate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Authenticate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JournalQuota)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWorldReadable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Create(&self, istransactional: *const windows_core::VARIANT, isworldreadable: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -4323,7 +4323,7 @@ impl IMSMQQueueInfo3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Open(&self, access: i32, sharemode: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), access, sharemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4333,16 +4333,16 @@ impl IMSMQQueueInfo3 { (windows_core::Interface::vtable(self).Update)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn PathNameDNS(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathNameDNS)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Security(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSecurity(&self, varsecurity: P0) -> windows_core::Result<()> @@ -4352,15 +4352,15 @@ impl IMSMQQueueInfo3 { (windows_core::Interface::vtable(self).SetSecurity)(windows_core::Interface::as_raw(self), varsecurity.param().abi()).ok() } pub unsafe fn IsTransactional2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTransactional2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsWorldReadable2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWorldReadable2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MulticastAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MulticastAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMulticastAddress(&self, bstrmulticastaddress: P0) -> windows_core::Result<()> @@ -4370,7 +4370,7 @@ impl IMSMQQueueInfo3 { (windows_core::Interface::vtable(self).SetMulticastAddress)(windows_core::Interface::as_raw(self), bstrmulticastaddress.param().abi()).ok() } pub unsafe fn ADsPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ADsPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4378,15 +4378,15 @@ impl IMSMQQueueInfo3 { #[repr(C)] pub struct IMSMQQueueInfo3_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub QueueGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueueGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTransactional: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub PrivLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPrivLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -4396,14 +4396,14 @@ pub struct IMSMQQueueInfo3_Vtbl { pub SetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub JournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetJournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsWorldReadable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4411,18 +4411,18 @@ pub struct IMSMQQueueInfo3_Vtbl { Open: usize, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub PathNameDNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathNameDNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, - pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTransactional2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsWorldReadable2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub MulticastAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMulticastAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MulticastAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMulticastAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfo4, IMSMQQueueInfo4_Vtbl, 0xeba96b21_2168_11d3_898c_00e02c074f6b); @@ -4430,7 +4430,7 @@ windows_core::imp::define_interface!(IMSMQQueueInfo4, IMSMQQueueInfo4_Vtbl, 0xeb impl std::ops::Deref for IMSMQQueueInfo4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4438,11 +4438,11 @@ windows_core::imp::interface_hierarchy!(IMSMQQueueInfo4, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo4 { pub unsafe fn QueueGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueueGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceTypeGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceTypeGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServiceTypeGuid(&self, bstrguidservicetype: P0) -> windows_core::Result<()> @@ -4452,7 +4452,7 @@ impl IMSMQQueueInfo4 { (windows_core::Interface::vtable(self).SetServiceTypeGuid)(windows_core::Interface::as_raw(self), bstrguidservicetype.param().abi()).ok() } pub unsafe fn Label(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Label)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLabel(&self, bstrlabel: P0) -> windows_core::Result<()> @@ -4462,7 +4462,7 @@ impl IMSMQQueueInfo4 { (windows_core::Interface::vtable(self).SetLabel)(windows_core::Interface::as_raw(self), bstrlabel.param().abi()).ok() } pub unsafe fn PathName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPathName(&self, bstrpathname: P0) -> windows_core::Result<()> @@ -4472,7 +4472,7 @@ impl IMSMQQueueInfo4 { (windows_core::Interface::vtable(self).SetPathName)(windows_core::Interface::as_raw(self), bstrpathname.param().abi()).ok() } pub unsafe fn FormatName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFormatName(&self, bstrformatname: P0) -> windows_core::Result<()> @@ -4482,61 +4482,61 @@ impl IMSMQQueueInfo4 { (windows_core::Interface::vtable(self).SetFormatName)(windows_core::Interface::as_raw(self), bstrformatname.param().abi()).ok() } pub unsafe fn IsTransactional(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTransactional)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PrivLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Journal)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Quota)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BasePriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBasePriority(&self, lbasepriority: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetBasePriority)(windows_core::Interface::as_raw(self), lbasepriority).ok() } pub unsafe fn CreateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModifyTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModifyTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Authenticate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Authenticate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JournalQuota)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWorldReadable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Create(&self, istransactional: *const windows_core::VARIANT, isworldreadable: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -4547,7 +4547,7 @@ impl IMSMQQueueInfo4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Open(&self, access: i32, sharemode: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), access, sharemode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Refresh(&self) -> windows_core::Result<()> { @@ -4557,16 +4557,16 @@ impl IMSMQQueueInfo4 { (windows_core::Interface::vtable(self).Update)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn PathNameDNS(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PathNameDNS)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Security(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSecurity(&self, varsecurity: P0) -> windows_core::Result<()> @@ -4576,15 +4576,15 @@ impl IMSMQQueueInfo4 { (windows_core::Interface::vtable(self).SetSecurity)(windows_core::Interface::as_raw(self), varsecurity.param().abi()).ok() } pub unsafe fn IsTransactional2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTransactional2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsWorldReadable2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWorldReadable2)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MulticastAddress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MulticastAddress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMulticastAddress(&self, bstrmulticastaddress: P0) -> windows_core::Result<()> @@ -4594,7 +4594,7 @@ impl IMSMQQueueInfo4 { (windows_core::Interface::vtable(self).SetMulticastAddress)(windows_core::Interface::as_raw(self), bstrmulticastaddress.param().abi()).ok() } pub unsafe fn ADsPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ADsPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4602,15 +4602,15 @@ impl IMSMQQueueInfo4 { #[repr(C)] pub struct IMSMQQueueInfo4_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub QueueGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueueGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceTypeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPathName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFormatName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTransactional: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub PrivLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPrivLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -4620,14 +4620,14 @@ pub struct IMSMQQueueInfo4_Vtbl { pub SetQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub BasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBasePriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModifyTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub JournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetJournalQuota: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsWorldReadable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4635,18 +4635,18 @@ pub struct IMSMQQueueInfo4_Vtbl { Open: usize, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub PathNameDNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PathNameDNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Properties: usize, - pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTransactional2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsWorldReadable2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub MulticastAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMulticastAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MulticastAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMulticastAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfos, IMSMQQueueInfos_Vtbl, 0xd7d6e07d_dccd_11d0_aa4b_0060970debae); @@ -4654,7 +4654,7 @@ windows_core::imp::define_interface!(IMSMQQueueInfos, IMSMQQueueInfos_Vtbl, 0xd7 impl std::ops::Deref for IMSMQQueueInfos { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4666,7 +4666,7 @@ impl IMSMQQueueInfos { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4686,7 +4686,7 @@ windows_core::imp::define_interface!(IMSMQQueueInfos2, IMSMQQueueInfos2_Vtbl, 0x impl std::ops::Deref for IMSMQQueueInfos2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4698,12 +4698,12 @@ impl IMSMQQueueInfos2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4727,7 +4727,7 @@ windows_core::imp::define_interface!(IMSMQQueueInfos3, IMSMQQueueInfos3_Vtbl, 0x impl std::ops::Deref for IMSMQQueueInfos3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4739,12 +4739,12 @@ impl IMSMQQueueInfos3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4768,7 +4768,7 @@ windows_core::imp::define_interface!(IMSMQQueueInfos4, IMSMQQueueInfos4_Vtbl, 0x impl std::ops::Deref for IMSMQQueueInfos4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4780,12 +4780,12 @@ impl IMSMQQueueInfos4 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4809,7 +4809,7 @@ windows_core::imp::define_interface!(IMSMQQueueManagement, IMSMQQueueManagement_ impl std::ops::Deref for IMSMQQueueManagement { type Target = IMSMQManagement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4817,15 +4817,15 @@ windows_core::imp::interface_hierarchy!(IMSMQQueueManagement, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueManagement { pub unsafe fn JournalMessageCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).JournalMessageCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BytesInJournal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BytesInJournal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EodGetReceiveInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EodGetReceiveInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4834,8 +4834,8 @@ impl IMSMQQueueManagement { pub struct IMSMQQueueManagement_Vtbl { pub base__: IMSMQManagement_Vtbl, pub JournalMessageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub BytesInJournal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EodGetReceiveInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BytesInJournal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EodGetReceiveInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQTransaction, IMSMQTransaction_Vtbl, 0xd7d6e07f_dccd_11d0_aa4b_0060970debae); @@ -4843,7 +4843,7 @@ windows_core::imp::define_interface!(IMSMQTransaction, IMSMQTransaction_Vtbl, 0x impl std::ops::Deref for IMSMQTransaction { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4851,7 +4851,7 @@ windows_core::imp::interface_hierarchy!(IMSMQTransaction, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction { pub unsafe fn Transaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Transaction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Commit(&self, fretaining: *const windows_core::VARIANT, grftc: *const windows_core::VARIANT, grfrm: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -4866,8 +4866,8 @@ impl IMSMQTransaction { pub struct IMSMQTransaction_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Transaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQTransaction2, IMSMQTransaction2_Vtbl, 0x2ce0c5b0_6e67_11d2_b0e6_00e02c074f6b); @@ -4875,7 +4875,7 @@ windows_core::imp::define_interface!(IMSMQTransaction2, IMSMQTransaction2_Vtbl, impl std::ops::Deref for IMSMQTransaction2 { type Target = IMSMQTransaction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4890,7 +4890,7 @@ impl IMSMQTransaction2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4898,7 +4898,7 @@ impl IMSMQTransaction2 { #[repr(C)] pub struct IMSMQTransaction2_Vtbl { pub base__: IMSMQTransaction_Vtbl, - pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4910,7 +4910,7 @@ windows_core::imp::define_interface!(IMSMQTransaction3, IMSMQTransaction3_Vtbl, impl std::ops::Deref for IMSMQTransaction3 { type Target = IMSMQTransaction2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4918,7 +4918,7 @@ windows_core::imp::interface_hierarchy!(IMSMQTransaction3, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction3 { pub unsafe fn ITransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ITransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4926,7 +4926,7 @@ impl IMSMQTransaction3 { #[repr(C)] pub struct IMSMQTransaction3_Vtbl { pub base__: IMSMQTransaction2_Vtbl, - pub ITransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ITransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQTransactionDispenser, IMSMQTransactionDispenser_Vtbl, 0xd7d6e083_dccd_11d0_aa4b_0060970debae); @@ -4934,7 +4934,7 @@ windows_core::imp::define_interface!(IMSMQTransactionDispenser, IMSMQTransaction impl std::ops::Deref for IMSMQTransactionDispenser { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4943,7 +4943,7 @@ windows_core::imp::interface_hierarchy!(IMSMQTransactionDispenser, windows_core: impl IMSMQTransactionDispenser { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginTransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4962,7 +4962,7 @@ windows_core::imp::define_interface!(IMSMQTransactionDispenser2, IMSMQTransactio impl std::ops::Deref for IMSMQTransactionDispenser2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4971,12 +4971,12 @@ windows_core::imp::interface_hierarchy!(IMSMQTransactionDispenser2, windows_core impl IMSMQTransactionDispenser2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginTransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4999,7 +4999,7 @@ windows_core::imp::define_interface!(IMSMQTransactionDispenser3, IMSMQTransactio impl std::ops::Deref for IMSMQTransactionDispenser3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5008,12 +5008,12 @@ windows_core::imp::interface_hierarchy!(IMSMQTransactionDispenser3, windows_core impl IMSMQTransactionDispenser3 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn BeginTransaction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginTransaction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5036,7 +5036,7 @@ windows_core::imp::define_interface!(_DMSMQEventEvents, _DMSMQEventEvents_Vtbl, impl std::ops::Deref for _DMSMQEventEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6040,7 +6040,7 @@ impl Default for MQPRIVATEPROPS { pub struct MQPROPERTYRESTRICTION { pub rel: u32, pub prop: u32, - pub prval: std::mem::ManuallyDrop, + pub prval: core::mem::ManuallyDrop, } impl Clone for MQPROPERTYRESTRICTION { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs index d943b52552..5938b8093f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs @@ -28,7 +28,7 @@ impl windows_core::RuntimeName for Column {} #[cfg(feature = "Win32_System_Com")] impl Column_Vtbl { pub const fn new, Impl: Column_Impl, const OFFSET: isize>() -> Column_Vtbl { - unsafe extern "system" fn Name, Impl: Column_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: Column_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Column_Impl::Name(this) { @@ -197,7 +197,7 @@ impl ContextMenu_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ContextMenu_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, indexorpath: std::mem::MaybeUninit, menuitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ContextMenu_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, indexorpath: core::mem::MaybeUninit, menuitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ContextMenu_Impl::get_Item(this, core::mem::transmute(&indexorpath)) { @@ -259,7 +259,7 @@ impl Document_Vtbl { let this = (*this).get_impl(); Document_Impl::Save(this).into() } - unsafe extern "system" fn SaveAs, Impl: Document_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SaveAs, Impl: Document_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); Document_Impl::SaveAs(this, core::mem::transmute(&filename)).into() @@ -302,7 +302,7 @@ impl Document_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: Document_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: Document_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Document_Impl::Name(this) { @@ -313,12 +313,12 @@ impl Document_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: Document_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: Document_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); Document_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn Location, Impl: Document_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, location: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Location, Impl: Document_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, location: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Document_Impl::Location(this) { @@ -439,7 +439,7 @@ impl windows_core::RuntimeName for Extension {} #[cfg(feature = "Win32_System_Com")] impl Extension_Vtbl { pub const fn new, Impl: Extension_Impl, const OFFSET: isize>() -> Extension_Vtbl { - unsafe extern "system" fn Name, Impl: Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Extension_Impl::Name(this) { @@ -450,7 +450,7 @@ impl Extension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Vendor, Impl: Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vendor: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Vendor, Impl: Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vendor: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Extension_Impl::Vendor(this) { @@ -461,7 +461,7 @@ impl Extension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Version, Impl: Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Version, Impl: Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Extension_Impl::Version(this) { @@ -483,7 +483,7 @@ impl Extension_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SnapinCLSID, Impl: Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapinclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SnapinCLSID, Impl: Extension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapinclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Extension_Impl::SnapinCLSID(this) { @@ -1648,7 +1648,7 @@ impl windows_core::RuntimeName for IExtendTaskPad {} #[cfg(feature = "Win32_System_Com")] impl IExtendTaskPad_Vtbl { pub const fn new, Impl: IExtendTaskPad_Impl, const OFFSET: isize>() -> IExtendTaskPad_Vtbl { - unsafe extern "system" fn TaskNotify, Impl: IExtendTaskPad_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdo: *mut core::ffi::c_void, arg: *const std::mem::MaybeUninit, param2: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskNotify, Impl: IExtendTaskPad_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdo: *mut core::ffi::c_void, arg: *const core::mem::MaybeUninit, param2: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IExtendTaskPad_Impl::TaskNotify(this, windows_core::from_raw_borrowed(&pdo), core::mem::transmute_copy(&arg), core::mem::transmute_copy(¶m2)).into() @@ -1971,7 +1971,7 @@ impl windows_core::RuntimeName for INodeProperties {} #[cfg(feature = "Win32_System_Com")] impl INodeProperties_Vtbl { pub const fn new, Impl: INodeProperties_Impl, const OFFSET: isize>() -> INodeProperties_Vtbl { - unsafe extern "system" fn GetProperty, Impl: INodeProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdataobject: *mut core::ffi::c_void, szpropertyname: std::mem::MaybeUninit, pbstrproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: INodeProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdataobject: *mut core::ffi::c_void, szpropertyname: core::mem::MaybeUninit, pbstrproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INodeProperties_Impl::GetProperty(this, windows_core::from_raw_borrowed(&pdataobject), core::mem::transmute(&szpropertyname)) { @@ -2701,7 +2701,7 @@ impl windows_core::RuntimeName for MenuItem {} #[cfg(feature = "Win32_System_Com")] impl MenuItem_Vtbl { pub const fn new, Impl: MenuItem_Impl, const OFFSET: isize>() -> MenuItem_Vtbl { - unsafe extern "system" fn DisplayName, Impl: MenuItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: MenuItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match MenuItem_Impl::DisplayName(this) { @@ -2712,7 +2712,7 @@ impl MenuItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LanguageIndependentName, Impl: MenuItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, languageindependentname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LanguageIndependentName, Impl: MenuItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, languageindependentname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match MenuItem_Impl::LanguageIndependentName(this) { @@ -2723,7 +2723,7 @@ impl MenuItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: MenuItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: MenuItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match MenuItem_Impl::Path(this) { @@ -2734,7 +2734,7 @@ impl MenuItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LanguageIndependentPath, Impl: MenuItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, languageindependentpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LanguageIndependentPath, Impl: MenuItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, languageindependentpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match MenuItem_Impl::LanguageIndependentPath(this) { @@ -2788,7 +2788,7 @@ impl windows_core::RuntimeName for Node {} #[cfg(feature = "Win32_System_Com")] impl Node_Vtbl { pub const fn new, Impl: Node_Impl, const OFFSET: isize>() -> Node_Vtbl { - unsafe extern "system" fn Name, Impl: Node_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: Node_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Node_Impl::Name(this) { @@ -2799,7 +2799,7 @@ impl Node_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Property, Impl: Node_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Property, Impl: Node_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Node_Impl::get_Property(this, core::mem::transmute(&propertyname)) { @@ -2810,7 +2810,7 @@ impl Node_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Bookmark, Impl: Node_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bookmark: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Bookmark, Impl: Node_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bookmark: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Node_Impl::Bookmark(this) { @@ -2832,7 +2832,7 @@ impl Node_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Nodetype, Impl: Node_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nodetype: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Nodetype, Impl: Node_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, nodetype: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Node_Impl::Nodetype(this) { @@ -2934,7 +2934,7 @@ impl Properties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: Properties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, property: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: Properties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, property: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Properties_Impl::Item(this, core::mem::transmute(&name)) { @@ -2956,7 +2956,7 @@ impl Properties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: Properties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: Properties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); Properties_Impl::Remove(this, core::mem::transmute(&name)).into() @@ -2984,7 +2984,7 @@ impl windows_core::RuntimeName for Property {} #[cfg(feature = "Win32_System_Com")] impl Property_Vtbl { pub const fn new, Impl: Property_Impl, const OFFSET: isize>() -> Property_Vtbl { - unsafe extern "system" fn Value, Impl: Property_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: Property_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Property_Impl::Value(this) { @@ -2995,12 +2995,12 @@ impl Property_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: Property_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: Property_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); Property_Impl::SetValue(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Name, Impl: Property_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: Property_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Property_Impl::Name(this) { @@ -3112,7 +3112,7 @@ impl windows_core::RuntimeName for SnapIn {} #[cfg(feature = "Win32_System_Com")] impl SnapIn_Vtbl { pub const fn new, Impl: SnapIn_Impl, const OFFSET: isize>() -> SnapIn_Vtbl { - unsafe extern "system" fn Name, Impl: SnapIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: SnapIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match SnapIn_Impl::Name(this) { @@ -3123,7 +3123,7 @@ impl SnapIn_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Vendor, Impl: SnapIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vendor: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Vendor, Impl: SnapIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vendor: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match SnapIn_Impl::Vendor(this) { @@ -3134,7 +3134,7 @@ impl SnapIn_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Version, Impl: SnapIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Version, Impl: SnapIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match SnapIn_Impl::Version(this) { @@ -3156,7 +3156,7 @@ impl SnapIn_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SnapinCLSID, Impl: SnapIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapinclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SnapinCLSID, Impl: SnapIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapinclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match SnapIn_Impl::SnapinCLSID(this) { @@ -3244,7 +3244,7 @@ impl SnapIns_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: SnapIns_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapinnameorclsid: std::mem::MaybeUninit, parentsnapin: std::mem::MaybeUninit, properties: std::mem::MaybeUninit, snapin: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: SnapIns_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapinnameorclsid: core::mem::MaybeUninit, parentsnapin: core::mem::MaybeUninit, properties: core::mem::MaybeUninit, snapin: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match SnapIns_Impl::Add(this, core::mem::transmute(&snapinnameorclsid), core::mem::transmute(&parentsnapin), core::mem::transmute(&properties)) { @@ -3361,7 +3361,7 @@ impl View_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SnapinScopeObject, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: std::mem::MaybeUninit, scopenodeobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SnapinScopeObject, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: core::mem::MaybeUninit, scopenodeobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match View_Impl::SnapinScopeObject(this, core::mem::transmute(&scopenode)) { @@ -3431,7 +3431,7 @@ impl View_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayScopeNodePropertySheet, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayScopeNodePropertySheet, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::DisplayScopeNodePropertySheet(this, core::mem::transmute(&scopenode)).into() @@ -3441,7 +3441,7 @@ impl View_Vtbl { let this = (*this).get_impl(); View_Impl::DisplaySelectionPropertySheet(this).into() } - unsafe extern "system" fn CopyScopeNode, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyScopeNode, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::CopyScopeNode(this, core::mem::transmute(&scopenode)).into() @@ -3451,7 +3451,7 @@ impl View_Vtbl { let this = (*this).get_impl(); View_Impl::CopySelection(this).into() } - unsafe extern "system" fn DeleteScopeNode, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteScopeNode, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::DeleteScopeNode(this, core::mem::transmute(&scopenode)).into() @@ -3461,17 +3461,17 @@ impl View_Vtbl { let this = (*this).get_impl(); View_Impl::DeleteSelection(this).into() } - unsafe extern "system" fn RenameScopeNode, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newname: std::mem::MaybeUninit, scopenode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RenameScopeNode, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newname: core::mem::MaybeUninit, scopenode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::RenameScopeNode(this, core::mem::transmute(&newname), core::mem::transmute(&scopenode)).into() } - unsafe extern "system" fn RenameSelectedItem, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RenameSelectedItem, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::RenameSelectedItem(this, core::mem::transmute(&newname)).into() } - unsafe extern "system" fn get_ScopeNodeContextMenu, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: std::mem::MaybeUninit, contextmenu: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_ScopeNodeContextMenu, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: core::mem::MaybeUninit, contextmenu: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match View_Impl::get_ScopeNodeContextMenu(this, core::mem::transmute(&scopenode)) { @@ -3493,7 +3493,7 @@ impl View_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RefreshScopeNode, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RefreshScopeNode, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, scopenode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::RefreshScopeNode(this, core::mem::transmute(&scopenode)).into() @@ -3503,17 +3503,17 @@ impl View_Vtbl { let this = (*this).get_impl(); View_Impl::RefreshSelection(this).into() } - unsafe extern "system" fn ExecuteSelectionMenuItem, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, menuitempath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExecuteSelectionMenuItem, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, menuitempath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::ExecuteSelectionMenuItem(this, core::mem::transmute(&menuitempath)).into() } - unsafe extern "system" fn ExecuteScopeNodeMenuItem, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, menuitempath: std::mem::MaybeUninit, scopenode: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExecuteScopeNodeMenuItem, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, menuitempath: core::mem::MaybeUninit, scopenode: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::ExecuteScopeNodeMenuItem(this, core::mem::transmute(&menuitempath), core::mem::transmute(&scopenode)).into() } - unsafe extern "system" fn ExecuteShellCommand, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, command: std::mem::MaybeUninit, directory: std::mem::MaybeUninit, parameters: std::mem::MaybeUninit, windowstate: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExecuteShellCommand, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, command: core::mem::MaybeUninit, directory: core::mem::MaybeUninit, parameters: core::mem::MaybeUninit, windowstate: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::ExecuteShellCommand(this, core::mem::transmute(&command), core::mem::transmute(&directory), core::mem::transmute(¶meters), core::mem::transmute(&windowstate)).into() @@ -3560,12 +3560,12 @@ impl View_Vtbl { let this = (*this).get_impl(); View_Impl::Forward(this).into() } - unsafe extern "system" fn SetStatusBarText, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, statusbartext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStatusBarText, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, statusbartext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::SetStatusBarText(this, core::mem::transmute(&statusbartext)).into() } - unsafe extern "system" fn Memento, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memento: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Memento, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memento: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match View_Impl::Memento(this) { @@ -3576,7 +3576,7 @@ impl View_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ViewMemento, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memento: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ViewMemento, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, memento: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::ViewMemento(this, core::mem::transmute(&memento)).into() @@ -3592,7 +3592,7 @@ impl View_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_CellContents, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, node: *mut core::ffi::c_void, column: i32, cellcontents: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_CellContents, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, node: *mut core::ffi::c_void, column: i32, cellcontents: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match View_Impl::get_CellContents(this, windows_core::from_raw_borrowed(&node), core::mem::transmute_copy(&column)) { @@ -3603,7 +3603,7 @@ impl View_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExportList, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: std::mem::MaybeUninit, exportoptions: _ExportListOptions) -> windows_core::HRESULT { + unsafe extern "system" fn ExportList, Impl: View_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: core::mem::MaybeUninit, exportoptions: _ExportListOptions) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); View_Impl::ExportList(this, core::mem::transmute(&file), core::mem::transmute_copy(&exportoptions)).into() @@ -3888,7 +3888,7 @@ impl _Application_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Load, Impl: _Application_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Load, Impl: _Application_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); _Application_Impl::Load(this, core::mem::transmute(&filename)).into() 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 3a6d03b668..f22af88ba9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(AppEvents, AppEvents_Vtbl, 0xfc7a4252_78ac_ impl std::ops::Deref for AppEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -22,7 +22,7 @@ windows_core::imp::define_interface!(Column, Column_Vtbl, 0xfd1c5f63_2b16_4d06_9 impl std::ops::Deref for Column { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -30,25 +30,25 @@ windows_core::imp::interface_hierarchy!(Column, windows_core::IUnknown, super::C #[cfg(feature = "Win32_System_Com")] impl Column { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Width(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDisplayPosition(&self, index: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetDisplayPosition)(windows_core::Interface::as_raw(self), index).ok() } pub unsafe fn Hidden(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Hidden)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHidden(&self, hidden: P0) -> windows_core::Result<()> @@ -61,7 +61,7 @@ impl Column { (windows_core::Interface::vtable(self).SetAsSortColumn)(windows_core::Interface::as_raw(self), sortorder).ok() } pub unsafe fn IsSortColumn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSortColumn)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -69,7 +69,7 @@ impl Column { #[repr(C)] pub struct Column_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetWidth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DisplayPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -85,7 +85,7 @@ windows_core::imp::define_interface!(Columns, Columns_Vtbl, 0x383d4d97_fc44_478b impl std::ops::Deref for Columns { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -94,15 +94,15 @@ windows_core::imp::interface_hierarchy!(Columns, windows_core::IUnknown, super:: impl Columns { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -123,7 +123,7 @@ windows_core::imp::define_interface!(ContextMenu, ContextMenu_Vtbl, 0xdab39ce0_2 impl std::ops::Deref for ContextMenu { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -131,7 +131,7 @@ windows_core::imp::interface_hierarchy!(ContextMenu, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ContextMenu { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -139,11 +139,11 @@ impl ContextMenu { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), indexorpath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -153,7 +153,7 @@ pub struct ContextMenu_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -164,7 +164,7 @@ windows_core::imp::define_interface!(Document, Document_Vtbl, 0x225120d6_1e0f_40 impl std::ops::Deref for Document { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -188,21 +188,21 @@ impl Document { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Views(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Views)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SnapIns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SnapIns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActiveView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActiveView)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -212,15 +212,15 @@ impl Document { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn Location(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Location)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsSaved(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSaved)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Mode(&self) -> windows_core::Result<_DocumentMode> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Mode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMode(&self, mode: _DocumentMode) -> windows_core::Result<()> { @@ -228,22 +228,22 @@ impl Document { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ScopeNamespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScopeNamespace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result<_Application> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -252,7 +252,7 @@ impl Document { pub struct Document_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SaveAs: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SaveAs: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Views: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -266,9 +266,9 @@ pub struct Document_Vtbl { pub ActiveView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ActiveView: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsSaved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut _DocumentMode) -> windows_core::HRESULT, pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, _DocumentMode) -> windows_core::HRESULT, @@ -295,7 +295,7 @@ windows_core::imp::define_interface!(Extension, Extension_Vtbl, 0xad4d6ca6_912f_ impl std::ops::Deref for Extension { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -303,24 +303,24 @@ windows_core::imp::interface_hierarchy!(Extension, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl Extension { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Vendor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Vendor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Extensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SnapinCLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SnapinCLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnableAllExtensions(&self, enable: P0) -> windows_core::Result<()> @@ -340,14 +340,14 @@ impl Extension { #[repr(C)] pub struct Extension_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Vendor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Vendor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Extensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Extensions: usize, - pub SnapinCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SnapinCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnableAllExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } @@ -357,7 +357,7 @@ windows_core::imp::define_interface!(Extensions, Extensions_Vtbl, 0x82dbea43_8ca impl std::ops::Deref for Extensions { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -365,16 +365,16 @@ windows_core::imp::interface_hierarchy!(Extensions, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl Extensions { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -395,7 +395,7 @@ windows_core::imp::define_interface!(Frame, Frame_Vtbl, 0xe5e2d970_5bb3_4306_880 impl std::ops::Deref for Frame { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -412,28 +412,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Top)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bottom)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Left)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Right)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRight(&self, right: i32) -> windows_core::Result<()> { @@ -460,7 +460,7 @@ windows_core::imp::define_interface!(IColumnData, IColumnData_Vtbl, 0x547c1354_0 impl std::ops::Deref for IColumnData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IColumnData, windows_core::IUnknown); @@ -469,14 +469,14 @@ impl IColumnData { (windows_core::Interface::vtable(self).SetColumnConfigData)(windows_core::Interface::as_raw(self), pcolid, pcolsetdata).ok() } pub unsafe fn GetColumnConfigData(&self, pcolid: *const SColumnSetID) -> windows_core::Result<*mut MMC_COLUMN_SET_DATA> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnConfigData)(windows_core::Interface::as_raw(self), pcolid, &mut result__).map(|| 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), pcolid, pcolsortdata).ok() } pub unsafe fn GetColumnSortData(&self, pcolid: *const SColumnSetID) -> windows_core::Result<*mut MMC_SORT_SET_DATA> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnSortData)(windows_core::Interface::as_raw(self), pcolid, &mut result__).map(|| result__) } } @@ -492,7 +492,7 @@ windows_core::imp::define_interface!(IComponent, IComponent_Vtbl, 0x43136eb2_d36 impl std::ops::Deref for IComponent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComponent, windows_core::IUnknown); @@ -517,7 +517,7 @@ impl IComponent { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDataObject(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDataObject)(windows_core::Interface::as_raw(self), cookie, r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetResultViewType(&self, cookie: isize, ppviewtype: *mut windows_core::PWSTR, pviewoptions: *mut i32) -> windows_core::Result<()> { @@ -559,14 +559,14 @@ windows_core::imp::define_interface!(IComponent2, IComponent2_Vtbl, 0x79a2d615_4 impl std::ops::Deref for IComponent2 { type Target = IComponent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComponent2, windows_core::IUnknown, IComponent); impl IComponent2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDispatch(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDispatch)(windows_core::Interface::as_raw(self), cookie, r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetResultViewType2(&self, cookie: isize, presultviewtype: *mut RESULT_VIEW_TYPE_INFO) -> windows_core::Result<()> { @@ -590,7 +590,7 @@ windows_core::imp::define_interface!(IComponentData, IComponentData_Vtbl, 0x955a impl std::ops::Deref for IComponentData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComponentData, windows_core::IUnknown); @@ -602,7 +602,7 @@ impl IComponentData { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), punknown.param().abi()).ok() } pub unsafe fn CreateComponent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateComponent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -619,7 +619,7 @@ impl IComponentData { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDataObject(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDataObject)(windows_core::Interface::as_raw(self), cookie, r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayInfo(&self, pscopedataitem: *mut SCOPEDATAITEM) -> windows_core::Result<()> { @@ -658,14 +658,14 @@ windows_core::imp::define_interface!(IComponentData2, IComponentData2_Vtbl, 0xcc impl std::ops::Deref for IComponentData2 { type Target = IComponentData; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComponentData2, windows_core::IUnknown, IComponentData); impl IComponentData2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryDispatch(&self, cookie: isize, r#type: DATA_OBJECT_TYPES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryDispatch)(windows_core::Interface::as_raw(self), cookie, r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -681,7 +681,7 @@ windows_core::imp::define_interface!(IConsole, IConsole_Vtbl, 0x43136eb1_d36c_11 impl std::ops::Deref for IConsole { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConsole, windows_core::IUnknown); @@ -699,15 +699,15 @@ impl IConsole { (windows_core::Interface::vtable(self).SetToolbar)(windows_core::Interface::as_raw(self), ptoolbar.param().abi()).ok() } pub unsafe fn QueryResultView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryResultView)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryScopeImageList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryScopeImageList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryResultImageList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryResultImageList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -723,18 +723,18 @@ impl IConsole { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MessageBox)(windows_core::Interface::as_raw(self), lpsztext.param().abi(), lpsztitle.param().abi(), fustyle, &mut result__).map(|| result__) } pub unsafe fn QueryConsoleVerb(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryConsoleVerb)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectScopeItem(&self, hscopeitem: isize) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SelectScopeItem)(windows_core::Interface::as_raw(self), hscopeitem).ok() } pub unsafe fn GetMainWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMainWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NewWindow(&self, hscopeitem: isize, loptions: u32) -> windows_core::Result<()> { @@ -763,7 +763,7 @@ windows_core::imp::define_interface!(IConsole2, IConsole2_Vtbl, 0x103d842a_aa63_ impl std::ops::Deref for IConsole2 { type Target = IConsole; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConsole2, windows_core::IUnknown, IConsole); @@ -795,7 +795,7 @@ windows_core::imp::define_interface!(IConsole3, IConsole3_Vtbl, 0x4f85efdb_d0e1_ impl std::ops::Deref for IConsole3 { type Target = IConsole2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConsole3, windows_core::IUnknown, IConsole, IConsole2); @@ -813,7 +813,7 @@ windows_core::imp::define_interface!(IConsoleNameSpace, IConsoleNameSpace_Vtbl, impl std::ops::Deref for IConsoleNameSpace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConsoleNameSpace, windows_core::IUnknown); @@ -855,7 +855,7 @@ windows_core::imp::define_interface!(IConsoleNameSpace2, IConsoleNameSpace2_Vtbl impl std::ops::Deref for IConsoleNameSpace2 { type Target = IConsoleNameSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConsoleNameSpace2, windows_core::IUnknown, IConsoleNameSpace); @@ -877,7 +877,7 @@ windows_core::imp::define_interface!(IConsolePower, IConsolePower_Vtbl, 0x1cfbdd impl std::ops::Deref for IConsolePower { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConsolePower, windows_core::IUnknown); @@ -899,7 +899,7 @@ windows_core::imp::define_interface!(IConsolePowerSink, IConsolePowerSink_Vtbl, impl std::ops::Deref for IConsolePowerSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConsolePowerSink, windows_core::IUnknown); @@ -908,7 +908,7 @@ impl IConsolePowerSink { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnPowerBroadcast)(windows_core::Interface::as_raw(self), nevent, lparam.param().abi(), &mut result__).map(|| result__) } } @@ -921,13 +921,13 @@ windows_core::imp::define_interface!(IConsoleVerb, IConsoleVerb_Vtbl, 0xe49f7a60 impl std::ops::Deref for IConsoleVerb { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConsoleVerb, windows_core::IUnknown); impl IConsoleVerb { pub unsafe fn GetVerbState(&self, ecmdid: MMC_CONSOLE_VERB, nstate: MMC_BUTTON_STATE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVerbState)(windows_core::Interface::as_raw(self), ecmdid, nstate, &mut result__).map(|| result__) } pub unsafe fn SetVerbState(&self, ecmdid: MMC_CONSOLE_VERB, nstate: MMC_BUTTON_STATE, bstate: P0) -> windows_core::Result<()> @@ -940,7 +940,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultVerb)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -956,7 +956,7 @@ windows_core::imp::define_interface!(IContextMenuCallback, IContextMenuCallback_ impl std::ops::Deref for IContextMenuCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextMenuCallback, windows_core::IUnknown); @@ -974,7 +974,7 @@ windows_core::imp::define_interface!(IContextMenuCallback2, IContextMenuCallback impl std::ops::Deref for IContextMenuCallback2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextMenuCallback2, windows_core::IUnknown); @@ -992,7 +992,7 @@ windows_core::imp::define_interface!(IContextMenuProvider, IContextMenuProvider_ impl std::ops::Deref for IContextMenuProvider { type Target = IContextMenuCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextMenuProvider, windows_core::IUnknown, IContextMenuCallback); @@ -1019,7 +1019,7 @@ impl IContextMenuProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowContextMenu)(windows_core::Interface::as_raw(self), hwndparent.param().abi(), xpos, ypos, &mut result__).map(|| result__) } } @@ -1041,7 +1041,7 @@ windows_core::imp::define_interface!(IControlbar, IControlbar_Vtbl, 0x69fb811e_6 impl std::ops::Deref for IControlbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IControlbar, windows_core::IUnknown); @@ -1050,7 +1050,7 @@ impl IControlbar { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), ntype, pextendcontrolbar.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Attach(&self, ntype: MMC_CONTROL_TYPE, lpunknown: P0) -> windows_core::Result<()> @@ -1077,7 +1077,7 @@ windows_core::imp::define_interface!(IDisplayHelp, IDisplayHelp_Vtbl, 0xcc593830 impl std::ops::Deref for IDisplayHelp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDisplayHelp, windows_core::IUnknown); @@ -1098,7 +1098,7 @@ windows_core::imp::define_interface!(IEnumTASK, IEnumTASK_Vtbl, 0x338698b1_5a02_ impl std::ops::Deref for IEnumTASK { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTASK, windows_core::IUnknown); @@ -1113,7 +1113,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1129,7 +1129,7 @@ windows_core::imp::define_interface!(IExtendContextMenu, IExtendContextMenu_Vtbl impl std::ops::Deref for IExtendContextMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtendContextMenu, windows_core::IUnknown); @@ -1166,7 +1166,7 @@ windows_core::imp::define_interface!(IExtendControlbar, IExtendControlbar_Vtbl, impl std::ops::Deref for IExtendControlbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtendControlbar, windows_core::IUnknown); @@ -1195,7 +1195,7 @@ windows_core::imp::define_interface!(IExtendPropertySheet, IExtendPropertySheet_ impl std::ops::Deref for IExtendPropertySheet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtendPropertySheet, windows_core::IUnknown); @@ -1232,7 +1232,7 @@ windows_core::imp::define_interface!(IExtendPropertySheet2, IExtendPropertySheet impl std::ops::Deref for IExtendPropertySheet2 { type Target = IExtendPropertySheet; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtendPropertySheet2, windows_core::IUnknown, IExtendPropertySheet); @@ -1257,7 +1257,7 @@ windows_core::imp::define_interface!(IExtendTaskPad, IExtendTaskPad_Vtbl, 0x8dee impl std::ops::Deref for IExtendTaskPad { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtendTaskPad, windows_core::IUnknown); @@ -1275,35 +1275,35 @@ impl IExtendTaskPad { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumTasks)(windows_core::Interface::as_raw(self), pdo.param().abi(), sztaskgroup.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTitle(&self, pszgroup: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTitle)(windows_core::Interface::as_raw(self), pszgroup.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetDescriptiveText(&self, pszgroup: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescriptiveText)(windows_core::Interface::as_raw(self), pszgroup.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetBackground(&self, pszgroup: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackground)(windows_core::Interface::as_raw(self), pszgroup.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetListPadInfo(&self, pszgroup: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListPadInfo)(windows_core::Interface::as_raw(self), pszgroup.param().abi(), &mut result__).map(|| result__) } } @@ -1311,7 +1311,7 @@ impl IExtendTaskPad { pub struct IExtendTaskPad_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub TaskNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] TaskNotify: usize, #[cfg(feature = "Win32_System_Com")] @@ -1327,7 +1327,7 @@ windows_core::imp::define_interface!(IExtendView, IExtendView_Vtbl, 0x89995cee_d impl std::ops::Deref for IExtendView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtendView, windows_core::IUnknown); @@ -1353,7 +1353,7 @@ windows_core::imp::define_interface!(IHeaderCtrl, IHeaderCtrl_Vtbl, 0x43136eb3_d impl std::ops::Deref for IHeaderCtrl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHeaderCtrl, windows_core::IUnknown); @@ -1374,14 +1374,14 @@ impl IHeaderCtrl { (windows_core::Interface::vtable(self).SetColumnText)(windows_core::Interface::as_raw(self), ncol, title.param().abi()).ok() } pub unsafe fn GetColumnText(&self, ncol: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnText)(windows_core::Interface::as_raw(self), ncol, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnWidth)(windows_core::Interface::as_raw(self), ncol, &mut result__).map(|| result__) } } @@ -1399,7 +1399,7 @@ windows_core::imp::define_interface!(IHeaderCtrl2, IHeaderCtrl2_Vtbl, 0x9757abb8 impl std::ops::Deref for IHeaderCtrl2 { type Target = IHeaderCtrl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHeaderCtrl2, windows_core::IUnknown, IHeaderCtrl); @@ -1425,7 +1425,7 @@ windows_core::imp::define_interface!(IImageList, IImageList_Vtbl, 0x43136eb8_d36 impl std::ops::Deref for IImageList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImageList, windows_core::IUnknown); @@ -1450,7 +1450,7 @@ windows_core::imp::define_interface!(IMMCVersionInfo, IMMCVersionInfo_Vtbl, 0xa8 impl std::ops::Deref for IMMCVersionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMMCVersionInfo, windows_core::IUnknown); @@ -1468,7 +1468,7 @@ windows_core::imp::define_interface!(IMenuButton, IMenuButton_Vtbl, 0x951ed750_d impl std::ops::Deref for IMenuButton { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMenuButton, windows_core::IUnknown); @@ -1505,7 +1505,7 @@ windows_core::imp::define_interface!(IMessageView, IMessageView_Vtbl, 0x80f94174 impl std::ops::Deref for IMessageView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMessageView, windows_core::IUnknown); @@ -1541,7 +1541,7 @@ windows_core::imp::define_interface!(INodeProperties, INodeProperties_Vtbl, 0x15 impl std::ops::Deref for INodeProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INodeProperties, windows_core::IUnknown); @@ -1552,7 +1552,7 @@ impl INodeProperties { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), pdataobject.param().abi(), szpropertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1560,7 +1560,7 @@ impl INodeProperties { pub struct INodeProperties_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetProperty: usize, } @@ -1568,7 +1568,7 @@ windows_core::imp::define_interface!(IPropertySheetCallback, IPropertySheetCallb impl std::ops::Deref for IPropertySheetCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertySheetCallback, windows_core::IUnknown); @@ -1604,7 +1604,7 @@ windows_core::imp::define_interface!(IPropertySheetProvider, IPropertySheetProvi impl std::ops::Deref for IPropertySheetProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertySheetProvider, windows_core::IUnknown); @@ -1660,7 +1660,7 @@ windows_core::imp::define_interface!(IRequiredExtensions, IRequiredExtensions_Vt impl std::ops::Deref for IRequiredExtensions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRequiredExtensions, windows_core::IUnknown); @@ -1669,11 +1669,11 @@ impl IRequiredExtensions { (windows_core::Interface::vtable(self).EnableAllExtensions)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetFirstExtension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstExtension)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNextExtension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextExtension)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1688,7 +1688,7 @@ windows_core::imp::define_interface!(IResultData, IResultData_Vtbl, 0x31da5fa0_e impl std::ops::Deref for IResultData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResultData, windows_core::IUnknown); @@ -1703,7 +1703,7 @@ impl IResultData { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindItemByLParam)(windows_core::Interface::as_raw(self), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DeleteAllRsltItems(&self) -> windows_core::Result<()> { @@ -1728,7 +1728,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UpdateItem(&self, itemid: isize) -> windows_core::Result<()> { @@ -1773,7 +1773,7 @@ windows_core::imp::define_interface!(IResultData2, IResultData2_Vtbl, 0x0f36e0eb impl std::ops::Deref for IResultData2 { type Target = IResultData; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResultData2, windows_core::IUnknown, IResultData); @@ -1791,7 +1791,7 @@ windows_core::imp::define_interface!(IResultDataCompare, IResultDataCompare_Vtbl impl std::ops::Deref for IResultDataCompare { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResultDataCompare, windows_core::IUnknown); @@ -1812,13 +1812,13 @@ windows_core::imp::define_interface!(IResultDataCompareEx, IResultDataCompareEx_ impl std::ops::Deref for IResultDataCompareEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResultDataCompareEx, windows_core::IUnknown); impl IResultDataCompareEx { pub unsafe fn Compare(&self, prdc: *const RDCOMPARE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Compare)(windows_core::Interface::as_raw(self), prdc, &mut result__).map(|| result__) } } @@ -1831,13 +1831,13 @@ windows_core::imp::define_interface!(IResultOwnerData, IResultOwnerData_Vtbl, 0x impl std::ops::Deref for IResultOwnerData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResultOwnerData, windows_core::IUnknown); impl IResultOwnerData { pub unsafe fn FindItem(&self, pfindinfo: *const RESULTFINDINFO) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindItem)(windows_core::Interface::as_raw(self), pfindinfo, &mut result__).map(|| result__) } pub unsafe fn CacheHint(&self, nstartindex: i32, nendindex: i32) -> windows_core::Result<()> { @@ -1861,26 +1861,26 @@ windows_core::imp::define_interface!(ISnapinAbout, ISnapinAbout_Vtbl, 0x1245208c impl std::ops::Deref for ISnapinAbout { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISnapinAbout, windows_core::IUnknown); impl ISnapinAbout { pub unsafe fn GetSnapinDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSnapinDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProvider)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSnapinVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSnapinVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetSnapinImage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSnapinImage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1907,13 +1907,13 @@ windows_core::imp::define_interface!(ISnapinHelp, ISnapinHelp_Vtbl, 0xa6b15ace_d impl std::ops::Deref for ISnapinHelp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISnapinHelp, windows_core::IUnknown); impl ISnapinHelp { pub unsafe fn GetHelpTopic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHelpTopic)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1926,13 +1926,13 @@ windows_core::imp::define_interface!(ISnapinHelp2, ISnapinHelp2_Vtbl, 0x4861a010 impl std::ops::Deref for ISnapinHelp2 { type Target = ISnapinHelp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISnapinHelp2, windows_core::IUnknown, ISnapinHelp); impl ISnapinHelp2 { pub unsafe fn GetLinkedTopics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLinkedTopics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1945,7 +1945,7 @@ windows_core::imp::define_interface!(ISnapinProperties, ISnapinProperties_Vtbl, impl std::ops::Deref for ISnapinProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISnapinProperties, windows_core::IUnknown); @@ -1981,7 +1981,7 @@ windows_core::imp::define_interface!(ISnapinPropertiesCallback, ISnapinPropertie impl std::ops::Deref for ISnapinPropertiesCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISnapinPropertiesCallback, windows_core::IUnknown); @@ -2002,7 +2002,7 @@ windows_core::imp::define_interface!(IStringTable, IStringTable_Vtbl, 0xde40b7a4 impl std::ops::Deref for IStringTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStringTable, windows_core::IUnknown); @@ -2011,14 +2011,14 @@ impl IStringTable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddString)(windows_core::Interface::as_raw(self), pszadd.param().abi(), &mut result__).map(|| 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().try_into().unwrap(), core::mem::transmute(lpbuffer.as_ptr()), pcchout).ok() } pub unsafe fn GetStringLength(&self, stringid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringLength)(windows_core::Interface::as_raw(self), stringid, &mut result__).map(|| result__) } pub unsafe fn DeleteString(&self, stringid: u32) -> windows_core::Result<()> { @@ -2031,12 +2031,12 @@ impl IStringTable { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindString)(windows_core::Interface::as_raw(self), pszfind.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Enumerate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enumerate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2058,7 +2058,7 @@ windows_core::imp::define_interface!(IToolbar, IToolbar_Vtbl, 0x43136eb9_d36c_11 impl std::ops::Deref for IToolbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IToolbar, windows_core::IUnknown); @@ -2081,7 +2081,7 @@ impl IToolbar { (windows_core::Interface::vtable(self).DeleteButton)(windows_core::Interface::as_raw(self), nindex).ok() } pub unsafe fn GetButtonState(&self, idcommand: i32, nstate: MMC_BUTTON_STATE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetButtonState)(windows_core::Interface::as_raw(self), idcommand, nstate, &mut result__).map(|| result__) } pub unsafe fn SetButtonState(&self, idcommand: i32, nstate: MMC_BUTTON_STATE, bstate: P0) -> windows_core::Result<()> @@ -2108,7 +2108,7 @@ windows_core::imp::define_interface!(IViewExtensionCallback, IViewExtensionCallb impl std::ops::Deref for IViewExtensionCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewExtensionCallback, windows_core::IUnknown); @@ -2128,7 +2128,7 @@ windows_core::imp::define_interface!(MenuItem, MenuItem_Vtbl, 0x0178fad1_b361_4b impl std::ops::Deref for MenuItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2136,26 +2136,26 @@ windows_core::imp::interface_hierarchy!(MenuItem, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl MenuItem { pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LanguageIndependentName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LanguageIndependentName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LanguageIndependentPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LanguageIndependentPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Execute(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Execute)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2163,10 +2163,10 @@ impl MenuItem { #[repr(C)] pub struct MenuItem_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LanguageIndependentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LanguageIndependentPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LanguageIndependentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LanguageIndependentPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } @@ -2176,7 +2176,7 @@ windows_core::imp::define_interface!(Node, Node_Vtbl, 0xf81ed800_7839_4447_945d_ impl std::ops::Deref for Node { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2184,26 +2184,26 @@ windows_core::imp::interface_hierarchy!(Node, windows_core::IUnknown, super::Com #[cfg(feature = "Win32_System_Com")] impl Node { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Property(&self, propertyname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self), propertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Bookmark(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bookmark)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsScopeNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsScopeNode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Nodetype(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Nodetype)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2211,11 +2211,11 @@ impl Node { #[repr(C)] pub struct Node_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Bookmark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bookmark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub Nodetype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Nodetype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Nodes, Nodes_Vtbl, 0x313b01df_b22f_4d42_b1b8_483cdcf51d35); @@ -2223,7 +2223,7 @@ windows_core::imp::define_interface!(Nodes, Nodes_Vtbl, 0x313b01df_b22f_4d42_b1b impl std::ops::Deref for Nodes { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2231,16 +2231,16 @@ windows_core::imp::interface_hierarchy!(Nodes, windows_core::IUnknown, super::Co #[cfg(feature = "Win32_System_Com")] impl Nodes { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2261,7 +2261,7 @@ windows_core::imp::define_interface!(Properties, Properties_Vtbl, 0x2886abc2_a42 impl std::ops::Deref for Properties { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2269,7 +2269,7 @@ windows_core::imp::interface_hierarchy!(Properties, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl Properties { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2277,11 +2277,11 @@ impl Properties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Remove(&self, name: P0) -> windows_core::Result<()> @@ -2297,11 +2297,11 @@ pub struct Properties_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Property, Property_Vtbl, 0x4600c3a5_e301_41d8_b6d0_ef2e4212e0ca); @@ -2309,7 +2309,7 @@ windows_core::imp::define_interface!(Property, Property_Vtbl, 0x4600c3a5_e301_41 impl std::ops::Deref for Property { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2317,7 +2317,7 @@ windows_core::imp::interface_hierarchy!(Property, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl Property { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, value: P0) -> windows_core::Result<()> @@ -2327,7 +2327,7 @@ impl Property { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2335,9 +2335,9 @@ impl Property { #[repr(C)] pub struct Property_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ScopeNamespace, ScopeNamespace_Vtbl, 0xebbb48dc_1a3b_4d86_b786_c21b28389012); @@ -2345,7 +2345,7 @@ windows_core::imp::define_interface!(ScopeNamespace, ScopeNamespace_Vtbl, 0xebbb impl std::ops::Deref for ScopeNamespace { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2357,7 +2357,7 @@ impl ScopeNamespace { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParent)(windows_core::Interface::as_raw(self), node.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2365,7 +2365,7 @@ impl ScopeNamespace { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChild)(windows_core::Interface::as_raw(self), node.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2373,12 +2373,12 @@ impl ScopeNamespace { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNext)(windows_core::Interface::as_raw(self), node.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRoot(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRoot)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2420,7 +2420,7 @@ windows_core::imp::define_interface!(SnapIn, SnapIn_Vtbl, 0x3be910f6_3459_49c6_a impl std::ops::Deref for SnapIn { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2428,29 +2428,29 @@ windows_core::imp::interface_hierarchy!(SnapIn, windows_core::IUnknown, super::C #[cfg(feature = "Win32_System_Com")] impl SnapIn { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Vendor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Vendor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Extensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SnapinCLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SnapinCLSID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnableAllExtensions(&self, enable: P0) -> windows_core::Result<()> @@ -2464,14 +2464,14 @@ impl SnapIn { #[repr(C)] pub struct SnapIn_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Vendor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Vendor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Extensions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Extensions: usize, - pub SnapinCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SnapinCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2484,7 +2484,7 @@ windows_core::imp::define_interface!(SnapIns, SnapIns_Vtbl, 0x2ef3de1d_b12a_49d1 impl std::ops::Deref for SnapIns { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2492,16 +2492,16 @@ windows_core::imp::interface_hierarchy!(SnapIns, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl SnapIns { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2511,7 +2511,7 @@ impl SnapIns { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), snapinnameorclsid.param().abi(), parentsnapin.param().abi(), properties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2533,7 +2533,7 @@ pub struct SnapIns_Vtbl { Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, #[cfg(feature = "Win32_System_Com")] @@ -2547,7 +2547,7 @@ windows_core::imp::define_interface!(View, View_Vtbl, 0x6efc2da2_b38c_457e_9abb_ impl std::ops::Deref for View { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2556,7 +2556,7 @@ windows_core::imp::interface_hierarchy!(View, windows_core::IUnknown, super::Com impl View { #[cfg(feature = "Win32_System_Com")] pub unsafe fn ActiveScopeNode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActiveScopeNode)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2568,12 +2568,12 @@ impl View { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Selection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Selection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ListItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ListItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2581,12 +2581,12 @@ impl View { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SnapinScopeObject)(windows_core::Interface::as_raw(self), scopenode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SnapinSelectionObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SnapinSelectionObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2594,12 +2594,12 @@ impl View { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Is)(windows_core::Interface::as_raw(self), view.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Document(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Document)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectAll(&self) -> windows_core::Result<()> { @@ -2624,7 +2624,7 @@ impl View { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSelected)(windows_core::Interface::as_raw(self), node.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisplayScopeNodePropertySheet(&self, scopenode: P0) -> windows_core::Result<()> @@ -2672,12 +2672,12 @@ impl View { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ScopeNodeContextMenu)(windows_core::Interface::as_raw(self), scopenode.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectionContextMenu(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectionContextMenu)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RefreshScopeNode(&self, scopenode: P0) -> windows_core::Result<()> @@ -2713,14 +2713,14 @@ impl View { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Frame(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Frame)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Close(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn ScopeTreeVisible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScopeTreeVisible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScopeTreeVisible(&self, visible: P0) -> windows_core::Result<()> @@ -2742,7 +2742,7 @@ impl View { (windows_core::Interface::vtable(self).SetStatusBarText)(windows_core::Interface::as_raw(self), statusbartext.param().abi()).ok() } pub unsafe fn Memento(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Memento)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ViewMemento(&self, memento: P0) -> windows_core::Result<()> @@ -2753,7 +2753,7 @@ impl View { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Columns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Columns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2761,7 +2761,7 @@ impl View { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_CellContents)(windows_core::Interface::as_raw(self), node.param().abi(), column, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExportList(&self, file: P0, exportoptions: _ExportListOptions) -> windows_core::Result<()> @@ -2771,7 +2771,7 @@ impl View { (windows_core::Interface::vtable(self).ExportList)(windows_core::Interface::as_raw(self), file.param().abi(), exportoptions).ok() } pub unsafe fn ListViewMode(&self) -> windows_core::Result<_ListViewMode> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ListViewMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetListViewMode(&self, mode: _ListViewMode) -> windows_core::Result<()> { @@ -2779,7 +2779,7 @@ impl View { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ControlObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ControlObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2804,7 +2804,7 @@ pub struct View_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ListItems: usize, #[cfg(feature = "Win32_System_Com")] - pub SnapinScopeObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SnapinScopeObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SnapinScopeObject: usize, #[cfg(feature = "Win32_System_Com")] @@ -2832,27 +2832,27 @@ pub struct View_Vtbl { pub IsSelected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] IsSelected: usize, - pub DisplayScopeNodePropertySheet: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayScopeNodePropertySheet: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DisplaySelectionPropertySheet: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub CopyScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CopySelection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeleteSelection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub RenameScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RenameSelectedItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RenameScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RenameSelectedItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_ScopeNodeContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_ScopeNodeContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_ScopeNodeContextMenu: usize, #[cfg(feature = "Win32_System_Com")] pub SelectionContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SelectionContextMenu: usize, - pub RefreshScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RefreshScopeNode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RefreshSelection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExecuteSelectionMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExecuteScopeNodeMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExecuteShellCommand: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecuteSelectionMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecuteScopeNodeMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecuteShellCommand: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Frame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2862,18 +2862,18 @@ pub struct View_Vtbl { pub SetScopeTreeVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Back: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Forward: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetStatusBarText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Memento: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ViewMemento: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStatusBarText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Memento: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ViewMemento: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Columns: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Columns: usize, #[cfg(feature = "Win32_System_Com")] - pub get_CellContents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_CellContents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_CellContents: usize, - pub ExportList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, _ExportListOptions) -> windows_core::HRESULT, + pub ExportList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, _ExportListOptions) -> windows_core::HRESULT, pub ListViewMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut _ListViewMode) -> windows_core::HRESULT, pub SetListViewMode: unsafe extern "system" fn(*mut core::ffi::c_void, _ListViewMode) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2887,7 +2887,7 @@ windows_core::imp::define_interface!(Views, Views_Vtbl, 0xd6b8c29d_a1ff_4d72_aab impl std::ops::Deref for Views { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2896,11 +2896,11 @@ windows_core::imp::interface_hierarchy!(Views, windows_core::IUnknown, super::Co impl Views { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2911,7 +2911,7 @@ impl Views { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), node.param().abi(), viewoptions).ok() } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2936,7 +2936,7 @@ windows_core::imp::define_interface!(_AppEvents, _AppEvents_Vtbl, 0xde46cbdd_53f impl std::ops::Deref for _AppEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3085,7 +3085,7 @@ windows_core::imp::define_interface!(_Application, _Application_Vtbl, 0xa3afb9cc impl std::ops::Deref for _Application { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3100,7 +3100,7 @@ impl _Application { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Document(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Document)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Load(&self, filename: P0) -> windows_core::Result<()> @@ -3111,11 +3111,11 @@ impl _Application { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Frame(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Frame)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Visible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Visible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Show(&self) -> windows_core::Result<()> { @@ -3125,7 +3125,7 @@ impl _Application { (windows_core::Interface::vtable(self).Hide)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn UserControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUserControl(&self, usercontrol: P0) -> windows_core::Result<()> @@ -3135,11 +3135,11 @@ impl _Application { (windows_core::Interface::vtable(self).SetUserControl)(windows_core::Interface::as_raw(self), usercontrol.param().abi()).ok() } pub unsafe fn VersionMajor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VersionMajor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VersionMinor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VersionMinor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3153,7 +3153,7 @@ pub struct _Application_Vtbl { pub Document: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Document: usize, - pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Frame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3172,7 +3172,7 @@ windows_core::imp::define_interface!(_EventConnector, _EventConnector_Vtbl, 0xc0 impl std::ops::Deref for _EventConnector { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3880,7 +3880,7 @@ impl Default for MMC_RESTORE_VIEW { #[derive(Debug, Eq, PartialEq)] pub struct MMC_SNAPIN_PROPERTY { pub pszPropName: windows_core::PCWSTR, - pub varValue: std::mem::ManuallyDrop, + pub varValue: core::mem::ManuallyDrop, pub eAction: MMC_PROPERTY_ACTION, } impl Clone for MMC_SNAPIN_PROPERTY { @@ -4123,7 +4123,7 @@ impl Default for RESULT_VIEW_TYPE_INFO { pub union RESULT_VIEW_TYPE_INFO_0 { pub dwListOptions: u32, pub Anonymous1: RESULT_VIEW_TYPE_INFO_0_0, - pub Anonymous2: std::mem::ManuallyDrop, + pub Anonymous2: core::mem::ManuallyDrop, } impl Clone for RESULT_VIEW_TYPE_INFO_0 { fn clone(&self) -> Self { @@ -4156,7 +4156,7 @@ impl Default for RESULT_VIEW_TYPE_INFO_0_0 { #[derive(Debug, Eq, PartialEq)] pub struct RESULT_VIEW_TYPE_INFO_0_1 { pub dwOCXOptions: u32, - pub pUnkControl: std::mem::ManuallyDrop>, + pub pUnkControl: core::mem::ManuallyDrop>, } impl Clone for RESULT_VIEW_TYPE_INFO_0_1 { fn clone(&self) -> Self { @@ -4212,7 +4212,7 @@ impl Default for SColumnSetID { #[derive(Debug, Eq, PartialEq)] pub struct SMMCDataObjects { pub count: u32, - pub lpDataObject: [std::mem::ManuallyDrop>; 1usize], + pub lpDataObject: [core::mem::ManuallyDrop>; 1usize], } #[cfg(feature = "Win32_System_Com")] impl Clone for SMMCDataObjects { diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs index 726dab3378..cbbebc43e8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs @@ -27,7 +27,7 @@ impl windows_core::RuntimeName for ICanHandleException {} #[cfg(feature = "Win32_System_Com")] impl ICanHandleException_Vtbl { pub const fn new, Impl: ICanHandleException_Impl, const OFFSET: isize>() -> ICanHandleException_Vtbl { - unsafe extern "system" fn CanHandleException, Impl: ICanHandleException_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pexcepinfo: *const super::Com::EXCEPINFO, pvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CanHandleException, Impl: ICanHandleException_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pexcepinfo: *const super::Com::EXCEPINFO, pvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICanHandleException_Impl::CanHandleException(this, core::mem::transmute_copy(&pexcepinfo), core::mem::transmute_copy(&pvar)).into() @@ -54,7 +54,7 @@ impl IClassFactory2_Vtbl { let this = (*this).get_impl(); IClassFactory2_Impl::GetLicInfo(this, core::mem::transmute_copy(&plicinfo)).into() } - unsafe extern "system" fn RequestLicKey, Impl: IClassFactory2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwreserved: u32, pbstrkey: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RequestLicKey, Impl: IClassFactory2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwreserved: u32, pbstrkey: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IClassFactory2_Impl::RequestLicKey(this, core::mem::transmute_copy(&dwreserved)) { @@ -65,7 +65,7 @@ impl IClassFactory2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateInstanceLic, Impl: IClassFactory2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punkouter: *mut core::ffi::c_void, punkreserved: *mut core::ffi::c_void, riid: *const windows_core::GUID, bstrkey: std::mem::MaybeUninit, ppvobj: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstanceLic, Impl: IClassFactory2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punkouter: *mut core::ffi::c_void, punkreserved: *mut core::ffi::c_void, riid: *const windows_core::GUID, bstrkey: core::mem::MaybeUninit, ppvobj: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IClassFactory2_Impl::CreateInstanceLic(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute(&punkreserved), core::mem::transmute_copy(&riid), core::mem::transmute(&bstrkey), core::mem::transmute_copy(&ppvobj)).into() @@ -304,7 +304,7 @@ impl ICreateTypeInfo_Vtbl { let this = (*this).get_impl(); ICreateTypeInfo_Impl::SetVarHelpContext(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&dwhelpcontext)).into() } - unsafe extern "system" fn SetMops, Impl: ICreateTypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, bstrmops: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMops, Impl: ICreateTypeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, bstrmops: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICreateTypeInfo_Impl::SetMops(this, core::mem::transmute_copy(&index), core::mem::transmute(&bstrmops)).into() @@ -398,27 +398,27 @@ impl ICreateTypeInfo2_Vtbl { let this = (*this).get_impl(); ICreateTypeInfo2_Impl::DeleteImplType(this, core::mem::transmute_copy(&index)).into() } - unsafe extern "system" fn SetCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *const windows_core::GUID, pvarval: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *const windows_core::GUID, pvarval: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICreateTypeInfo2_Impl::SetCustData(this, core::mem::transmute_copy(&guid), core::mem::transmute_copy(&pvarval)).into() } - unsafe extern "system" fn SetFuncCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFuncCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICreateTypeInfo2_Impl::SetFuncCustData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&guid), core::mem::transmute_copy(&pvarval)).into() } - unsafe extern "system" fn SetParamCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, indexfunc: u32, indexparam: u32, guid: *const windows_core::GUID, pvarval: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetParamCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, indexfunc: u32, indexparam: u32, guid: *const windows_core::GUID, pvarval: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICreateTypeInfo2_Impl::SetParamCustData(this, core::mem::transmute_copy(&indexfunc), core::mem::transmute_copy(&indexparam), core::mem::transmute_copy(&guid), core::mem::transmute_copy(&pvarval)).into() } - unsafe extern "system" fn SetVarCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetVarCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICreateTypeInfo2_Impl::SetVarCustData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&guid), core::mem::transmute_copy(&pvarval)).into() } - unsafe extern "system" fn SetImplTypeCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetImplTypeCustData, Impl: ICreateTypeInfo2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: u32, guid: *const windows_core::GUID, pvarval: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICreateTypeInfo2_Impl::SetImplTypeCustData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&guid), core::mem::transmute_copy(&pvarval)).into() @@ -580,7 +580,7 @@ impl ICreateTypeLib2_Vtbl { let this = (*this).get_impl(); ICreateTypeLib2_Impl::DeleteTypeInfo(this, core::mem::transmute(&szname)).into() } - unsafe extern "system" fn SetCustData, Impl: ICreateTypeLib2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *const windows_core::GUID, pvarval: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCustData, Impl: ICreateTypeLib2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *const windows_core::GUID, pvarval: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICreateTypeLib2_Impl::SetCustData(this, core::mem::transmute_copy(&guid), core::mem::transmute_copy(&pvarval)).into() @@ -651,7 +651,7 @@ impl IDispError_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSource, Impl: IDispError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsource: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSource, Impl: IDispError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsource: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispError_Impl::GetSource(this) { @@ -662,12 +662,12 @@ impl IDispError_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetHelpInfo, Impl: IDispError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut std::mem::MaybeUninit, pdwcontext: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetHelpInfo, Impl: IDispError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut core::mem::MaybeUninit, pdwcontext: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDispError_Impl::GetHelpInfo(this, core::mem::transmute_copy(&pbstrfilename), core::mem::transmute_copy(&pdwcontext)).into() } - unsafe extern "system" fn GetDescription, Impl: IDispError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: IDispError_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispError_Impl::GetDescription(this) { @@ -708,7 +708,7 @@ impl windows_core::RuntimeName for IDispatchEx {} #[cfg(feature = "Win32_System_Com")] impl IDispatchEx_Vtbl { pub const fn new, Impl: IDispatchEx_Impl, const OFFSET: isize>() -> IDispatchEx_Vtbl { - unsafe extern "system" fn GetDispID, Impl: IDispatchEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, grfdex: u32, pid: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetDispID, Impl: IDispatchEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, grfdex: u32, pid: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispatchEx_Impl::GetDispID(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&grfdex)) { @@ -719,12 +719,12 @@ impl IDispatchEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InvokeEx, Impl: IDispatchEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: i32, lcid: u32, wflags: u16, pdp: *const super::Com::DISPPARAMS, pvarres: *mut std::mem::MaybeUninit, pei: *mut super::Com::EXCEPINFO, pspcaller: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeEx, Impl: IDispatchEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: i32, lcid: u32, wflags: u16, pdp: *const super::Com::DISPPARAMS, pvarres: *mut core::mem::MaybeUninit, pei: *mut super::Com::EXCEPINFO, pspcaller: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDispatchEx_Impl::InvokeEx(this, core::mem::transmute_copy(&id), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&pdp), core::mem::transmute_copy(&pvarres), core::mem::transmute_copy(&pei), windows_core::from_raw_borrowed(&pspcaller)).into() } - unsafe extern "system" fn DeleteMemberByName, Impl: IDispatchEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, grfdex: u32) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteMemberByName, Impl: IDispatchEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, grfdex: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDispatchEx_Impl::DeleteMemberByName(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&grfdex)).into() @@ -745,7 +745,7 @@ impl IDispatchEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMemberName, Impl: IDispatchEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: i32, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMemberName, Impl: IDispatchEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: i32, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDispatchEx_Impl::GetMemberName(this, core::mem::transmute_copy(&id)) { @@ -1081,7 +1081,7 @@ pub trait IEnumVARIANT_Impl: Sized { impl windows_core::RuntimeName for IEnumVARIANT {} impl IEnumVARIANT_Vtbl { pub const fn new, Impl: IEnumVARIANT_Impl, const OFFSET: isize>() -> IEnumVARIANT_Vtbl { - unsafe extern "system" fn Next, Impl: IEnumVARIANT_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut std::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IEnumVARIANT_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, celt: u32, rgvar: *mut core::mem::MaybeUninit, pceltfetched: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEnumVARIANT_Impl::Next(this, core::mem::transmute_copy(&celt), core::mem::transmute_copy(&rgvar), core::mem::transmute_copy(&pceltfetched)) @@ -1151,7 +1151,7 @@ impl windows_core::RuntimeName for IFont {} #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] impl IFont_Vtbl { pub const fn new, Impl: IFont_Impl, const OFFSET: isize>() -> IFont_Vtbl { - unsafe extern "system" fn Name, Impl: IFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFont_Impl::Name(this) { @@ -1162,7 +1162,7 @@ impl IFont_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFont_Impl::SetName(this, core::mem::transmute(&name)).into() @@ -1738,7 +1738,7 @@ impl IOleCommandTarget_Vtbl { let this = (*this).get_impl(); IOleCommandTarget_Impl::QueryStatus(this, core::mem::transmute_copy(&pguidcmdgroup), core::mem::transmute_copy(&ccmds), core::mem::transmute_copy(&prgcmds), core::mem::transmute_copy(&pcmdtext)).into() } - unsafe extern "system" fn Exec, Impl: IOleCommandTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidcmdgroup: *const windows_core::GUID, ncmdid: u32, ncmdexecopt: u32, pvain: *const std::mem::MaybeUninit, pvaout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Exec, Impl: IOleCommandTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguidcmdgroup: *const windows_core::GUID, ncmdid: u32, ncmdexecopt: u32, pvain: *const core::mem::MaybeUninit, pvaout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IOleCommandTarget_Impl::Exec(this, core::mem::transmute_copy(&pguidcmdgroup), core::mem::transmute_copy(&ncmdid), core::mem::transmute_copy(&ncmdexecopt), core::mem::transmute_copy(&pvain), core::mem::transmute_copy(&pvaout)).into() @@ -3375,7 +3375,7 @@ impl IOleUndoManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLastUndoDescription, Impl: IOleUndoManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLastUndoDescription, Impl: IOleUndoManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOleUndoManager_Impl::GetLastUndoDescription(this) { @@ -3386,7 +3386,7 @@ impl IOleUndoManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLastRedoDescription, Impl: IOleUndoManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLastRedoDescription, Impl: IOleUndoManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOleUndoManager_Impl::GetLastRedoDescription(this) { @@ -3436,7 +3436,7 @@ impl IOleUndoUnit_Vtbl { let this = (*this).get_impl(); IOleUndoUnit_Impl::Do(this, windows_core::from_raw_borrowed(&pundomanager)).into() } - unsafe extern "system" fn GetDescription, Impl: IOleUndoUnit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: IOleUndoUnit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOleUndoUnit_Impl::GetDescription(this) { @@ -3531,7 +3531,7 @@ pub trait IPerPropertyBrowsing_Impl: Sized { impl windows_core::RuntimeName for IPerPropertyBrowsing {} impl IPerPropertyBrowsing_Vtbl { pub const fn new, Impl: IPerPropertyBrowsing_Impl, const OFFSET: isize>() -> IPerPropertyBrowsing_Vtbl { - unsafe extern "system" fn GetDisplayString, Impl: IPerPropertyBrowsing_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispid: i32, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDisplayString, Impl: IPerPropertyBrowsing_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispid: i32, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPerPropertyBrowsing_Impl::GetDisplayString(this, core::mem::transmute_copy(&dispid)) { @@ -3558,7 +3558,7 @@ impl IPerPropertyBrowsing_Vtbl { let this = (*this).get_impl(); IPerPropertyBrowsing_Impl::GetPredefinedStrings(this, core::mem::transmute_copy(&dispid), core::mem::transmute_copy(&pcastringsout), core::mem::transmute_copy(&pcacookiesout)).into() } - unsafe extern "system" fn GetPredefinedValue, Impl: IPerPropertyBrowsing_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispid: i32, dwcookie: u32, pvarout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPredefinedValue, Impl: IPerPropertyBrowsing_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispid: i32, dwcookie: u32, pvarout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPerPropertyBrowsing_Impl::GetPredefinedValue(this, core::mem::transmute_copy(&dispid), core::mem::transmute_copy(&dwcookie)) { @@ -4560,7 +4560,7 @@ impl IRecordInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetName, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRecordInfo_Impl::GetName(this) { @@ -4593,7 +4593,7 @@ impl IRecordInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetField, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdata: *const core::ffi::c_void, szfieldname: windows_core::PCWSTR, pvarfield: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetField, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdata: *const core::ffi::c_void, szfieldname: windows_core::PCWSTR, pvarfield: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRecordInfo_Impl::GetField(this, core::mem::transmute_copy(&pvdata), core::mem::transmute(&szfieldname)) { @@ -4604,22 +4604,22 @@ impl IRecordInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFieldNoCopy, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdata: *const core::ffi::c_void, szfieldname: windows_core::PCWSTR, pvarfield: *mut std::mem::MaybeUninit, ppvdatacarray: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFieldNoCopy, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvdata: *const core::ffi::c_void, szfieldname: windows_core::PCWSTR, pvarfield: *mut core::mem::MaybeUninit, ppvdatacarray: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRecordInfo_Impl::GetFieldNoCopy(this, core::mem::transmute_copy(&pvdata), core::mem::transmute(&szfieldname), core::mem::transmute_copy(&pvarfield), core::mem::transmute_copy(&ppvdatacarray)).into() } - unsafe extern "system" fn PutField, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wflags: u32, pvdata: *mut core::ffi::c_void, szfieldname: windows_core::PCWSTR, pvarfield: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutField, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wflags: u32, pvdata: *mut core::ffi::c_void, szfieldname: windows_core::PCWSTR, pvarfield: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRecordInfo_Impl::PutField(this, core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&pvdata), core::mem::transmute(&szfieldname), core::mem::transmute_copy(&pvarfield)).into() } - unsafe extern "system" fn PutFieldNoCopy, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wflags: u32, pvdata: *mut core::ffi::c_void, szfieldname: windows_core::PCWSTR, pvarfield: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutFieldNoCopy, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wflags: u32, pvdata: *mut core::ffi::c_void, szfieldname: windows_core::PCWSTR, pvarfield: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRecordInfo_Impl::PutFieldNoCopy(this, core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&pvdata), core::mem::transmute(&szfieldname), core::mem::transmute_copy(&pvarfield)).into() } - unsafe extern "system" fn GetFieldNames, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcnames: *mut u32, rgbstrnames: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFieldNames, Impl: IRecordInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcnames: *mut u32, rgbstrnames: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRecordInfo_Impl::GetFieldNames(this, core::mem::transmute_copy(&pcnames), core::mem::transmute_copy(&rgbstrnames)).into() @@ -4833,7 +4833,7 @@ pub trait IVBFormat_Impl: Sized { impl windows_core::RuntimeName for IVBFormat {} impl IVBFormat_Vtbl { pub const fn new, Impl: IVBFormat_Impl, const OFFSET: isize>() -> IVBFormat_Vtbl { - unsafe extern "system" fn Format, Impl: IVBFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdata: *mut std::mem::MaybeUninit, bstrformat: std::mem::MaybeUninit, lpbuffer: *mut core::ffi::c_void, cb: u16, lcid: i32, sfirstdayofweek: i16, sfirstweekofyear: u16, rcb: *mut u16) -> windows_core::HRESULT { + unsafe extern "system" fn Format, Impl: IVBFormat_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdata: *mut core::mem::MaybeUninit, bstrformat: core::mem::MaybeUninit, lpbuffer: *mut core::ffi::c_void, cb: u16, lcid: i32, sfirstdayofweek: i16, sfirstweekofyear: u16, rcb: *mut u16) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVBFormat_Impl::Format(this, core::mem::transmute_copy(&vdata), core::mem::transmute(&bstrformat), core::mem::transmute_copy(&lpbuffer), core::mem::transmute_copy(&cb), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&sfirstdayofweek), core::mem::transmute_copy(&sfirstweekofyear), core::mem::transmute_copy(&rcb)).into() @@ -4879,7 +4879,7 @@ impl windows_core::RuntimeName for IVariantChangeType {} #[cfg(feature = "Win32_System_Variant")] impl IVariantChangeType_Vtbl { pub const fn new, Impl: IVariantChangeType_Impl, const OFFSET: isize>() -> IVariantChangeType_Vtbl { - unsafe extern "system" fn ChangeType, Impl: IVariantChangeType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardst: *mut std::mem::MaybeUninit, pvarsrc: *const std::mem::MaybeUninit, lcid: u32, vtnew: super::Variant::VARENUM) -> windows_core::HRESULT { + unsafe extern "system" fn ChangeType, Impl: IVariantChangeType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvardst: *mut core::mem::MaybeUninit, pvarsrc: *const core::mem::MaybeUninit, lcid: u32, vtnew: super::Variant::VARENUM) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IVariantChangeType_Impl::ChangeType(this, core::mem::transmute_copy(&pvardst), core::mem::transmute_copy(&pvarsrc), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&vtnew)).into() 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 ea0feddafa..b6171c3b9c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -1,8 +1,8 @@ #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn BstrFromVector(psa: *const super::Com::SAFEARRAY) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn BstrFromVector(psa : *const super::Com:: SAFEARRAY, pbstr : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn BstrFromVector(psa : *const super::Com:: SAFEARRAY, pbstr : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); BstrFromVector(psa, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -20,13 +20,13 @@ pub unsafe fn CreateDispTypeInfo(pidata: *mut INTERFACEDATA, lcid: u32, pptinfo: #[inline] pub unsafe fn CreateErrorInfo() -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn CreateErrorInfo(pperrinfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateErrorInfo(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateOleAdviseHolder() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CreateOleAdviseHolder(ppoaholder : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateOleAdviseHolder(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -46,7 +46,7 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn CreateTypeLib(syskind : super::Com:: SYSKIND, szfile : windows_core::PCWSTR, ppctlib : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateTypeLib(syskind, szfile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -56,14 +56,14 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn CreateTypeLib2(syskind : super::Com:: SYSKIND, szfile : windows_core::PCWSTR, ppctlib : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateTypeLib2(syskind, szfile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] #[inline] pub unsafe fn DispCallFunc(pvinstance: Option<*const core::ffi::c_void>, ovft: usize, cc: super::Com::CALLCONV, vtreturn: super::Variant::VARENUM, cactuals: u32, prgvt: *const u16, prgpvarg: *const *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn DispCallFunc(pvinstance : *const core::ffi::c_void, ovft : usize, cc : super::Com:: CALLCONV, vtreturn : super::Variant:: VARENUM, cactuals : u32, prgvt : *const u16, prgpvarg : *const *const windows_core::VARIANT, pvargresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn DispCallFunc(pvinstance : *const core::ffi::c_void, ovft : usize, cc : super::Com:: CALLCONV, vtreturn : super::Variant:: VARENUM, cactuals : u32, prgvt : *const u16, prgpvarg : *const *const windows_core::VARIANT, pvargresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); DispCallFunc(core::mem::transmute(pvinstance.unwrap_or(std::ptr::null())), ovft, cc, vtreturn, cactuals, prgvt, prgpvarg, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -78,7 +78,7 @@ where #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] #[inline] pub unsafe fn DispGetParam(pdispparams: *const super::Com::DISPPARAMS, position: u32, vttarg: super::Variant::VARENUM, pvarresult: *mut windows_core::VARIANT, puargerr: Option<*mut u32>) -> windows_core::Result<()> { - windows_targets::link!("oleaut32.dll" "system" fn DispGetParam(pdispparams : *const super::Com:: DISPPARAMS, position : u32, vttarg : super::Variant:: VARENUM, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >, puargerr : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn DispGetParam(pdispparams : *const super::Com:: DISPPARAMS, position : u32, vttarg : super::Variant:: VARENUM, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >, puargerr : *mut u32) -> windows_core::HRESULT); DispGetParam(pdispparams, position, vttarg, core::mem::transmute(pvarresult), core::mem::transmute(puargerr.unwrap_or(std::ptr::null_mut()))).ok() } #[cfg(feature = "Win32_System_Com")] @@ -87,7 +87,7 @@ pub unsafe fn DispInvoke(_this: *mut core::ffi::c_void, ptinfo: P0, dispidme where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn DispInvoke(_this : *mut core::ffi::c_void, ptinfo : * mut core::ffi::c_void, dispidmember : i32, wflags : u16, pparams : *mut super::Com:: DISPPARAMS, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >, pexcepinfo : *mut super::Com:: EXCEPINFO, puargerr : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn DispInvoke(_this : *mut core::ffi::c_void, ptinfo : * mut core::ffi::c_void, dispidmember : i32, wflags : u16, pparams : *mut super::Com:: DISPPARAMS, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >, pexcepinfo : *mut super::Com:: EXCEPINFO, puargerr : *mut u32) -> windows_core::HRESULT); DispInvoke(_this, ptinfo.param().abi(), dispidmember, wflags, pparams, core::mem::transmute(pvarresult), pexcepinfo, puargerr).ok() } #[cfg(feature = "Win32_System_Com")] @@ -108,13 +108,13 @@ pub unsafe fn GetActiveObject(rclsid: *const windows_core::GUID, pvreserved: Opt #[inline] pub unsafe fn GetAltMonthNames(lcid: u32) -> windows_core::Result<*mut windows_core::PWSTR> { windows_targets::link!("oleaut32.dll" "system" fn GetAltMonthNames(lcid : u32, prgp : *mut *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetAltMonthNames(lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn GetRecordInfoFromGuids(rguidtypelib: *const windows_core::GUID, uvermajor: u32, uverminor: u32, lcid: u32, rguidtypeinfo: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetRecordInfoFromGuids(rguidtypelib, uvermajor, uverminor, lcid, rguidtypeinfo, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -124,7 +124,7 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn GetRecordInfoFromTypeInfo(ptypeinfo : * mut core::ffi::c_void, pprecinfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetRecordInfoFromTypeInfo(ptypeinfo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -206,7 +206,7 @@ where #[inline] pub unsafe fn LoadRegTypeLib(rguid: *const windows_core::GUID, wvermajor: u16, wverminor: u16, lcid: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); LoadRegTypeLib(rguid, wvermajor, wverminor, lcid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -216,7 +216,7 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn LoadTypeLib(szfile : windows_core::PCWSTR, pptlib : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); LoadTypeLib(szfile.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -226,7 +226,7 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn LoadTypeLibEx(szfile : windows_core::PCWSTR, regkind : REGKIND, pptlib : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); LoadTypeLibEx(szfile.param().abi(), regkind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -479,7 +479,7 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "system" fn OleDoAutoConvert(pstg : * mut core::ffi::c_void, pclsidnew : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleDoAutoConvert(pstg.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -509,14 +509,14 @@ pub unsafe fn OleFlushClipboard() -> windows_core::Result<()> { #[inline] pub unsafe fn OleGetAutoConvert(clsidold: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn OleGetAutoConvert(clsidold : *const windows_core::GUID, pclsidnew : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleGetAutoConvert(clsidold, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn OleGetClipboard() -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn OleGetClipboard(ppdataobj : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleGetClipboard(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -620,8 +620,8 @@ pub unsafe fn OleLoadPictureFile(varfilename: P0) -> windows_core::Result, { - windows_targets::link!("oleaut32.dll" "system" fn OleLoadPictureFile(varfilename : std::mem::MaybeUninit < windows_core::VARIANT >, lplpdisppicture : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn OleLoadPictureFile(varfilename : core::mem::MaybeUninit < windows_core::VARIANT >, lplpdisppicture : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); OleLoadPictureFile(varfilename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -630,8 +630,8 @@ pub unsafe fn OleLoadPictureFileEx(varfilename: P0, xsizedesired: u32, ysize where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn OleLoadPictureFileEx(varfilename : std::mem::MaybeUninit < windows_core::VARIANT >, xsizedesired : u32, ysizedesired : u32, dwflags : LOAD_PICTURE_FLAGS, lplpdisppicture : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn OleLoadPictureFileEx(varfilename : core::mem::MaybeUninit < windows_core::VARIANT >, xsizedesired : u32, ysizedesired : u32, dwflags : LOAD_PICTURE_FLAGS, lplpdisppicture : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); OleLoadPictureFileEx(varfilename.param().abi(), xsizedesired, ysizedesired, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -696,25 +696,25 @@ where #[inline] pub unsafe fn OleRegEnumFormatEtc(clsid: *const windows_core::GUID, dwdirection: u32) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn OleRegEnumFormatEtc(clsid : *const windows_core::GUID, dwdirection : u32, ppenum : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleRegEnumFormatEtc(clsid, dwdirection, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn OleRegEnumVerbs(clsid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn OleRegEnumVerbs(clsid : *const windows_core::GUID, ppenum : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleRegEnumVerbs(clsid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn OleRegGetMiscStatus(clsid: *const windows_core::GUID, dwaspect: u32) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn OleRegGetMiscStatus(clsid : *const windows_core::GUID, dwaspect : u32, pdwstatus : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleRegGetMiscStatus(clsid, dwaspect, &mut result__).map(|| result__) } #[inline] pub unsafe fn OleRegGetUserType(clsid: *const windows_core::GUID, dwformoftype: USERCLASSTYPE) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn OleRegGetUserType(clsid : *const windows_core::GUID, dwformoftype : u32, pszusertype : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleRegGetUserType(clsid, dwformoftype.0 as _, &mut result__).map(|| result__) } #[inline] @@ -743,7 +743,7 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn OleSavePictureFile(lpdisppicture : * mut core::ffi::c_void, bstrfilename : std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn OleSavePictureFile(lpdisppicture : * mut core::ffi::c_void, bstrfilename : core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); OleSavePictureFile(lpdisppicture.param().abi(), bstrfilename.param().abi()).ok() } #[cfg(feature = "Win32_System_Com")] @@ -806,7 +806,7 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn OleTranslateColor(clr : u32, hpal : super::super::Graphics::Gdi:: HPALETTE, lpcolorref : *mut super::super::Foundation:: COLORREF) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); OleTranslateColor(clr, hpal.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -974,8 +974,8 @@ pub unsafe fn OleUninitialize() { } #[inline] pub unsafe fn QueryPathOfRegTypeLib(guid: *const windows_core::GUID, wmaj: u16, wmin: u16, lcid: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn QueryPathOfRegTypeLib(guid : *const windows_core::GUID, wmaj : u16, wmin : u16, lcid : u32, lpbstrpathname : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn QueryPathOfRegTypeLib(guid : *const windows_core::GUID, wmaj : u16, wmin : u16, lcid : u32, lpbstrpathname : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); QueryPathOfRegTypeLib(guid, wmaj, wmin, lcid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1058,21 +1058,21 @@ pub unsafe fn SafeArrayAllocData(psa: *const super::Com::SAFEARRAY) -> windows_c #[inline] pub unsafe fn SafeArrayAllocDescriptor(cdims: u32) -> windows_core::Result<*mut super::Com::SAFEARRAY> { windows_targets::link!("oleaut32.dll" "system" fn SafeArrayAllocDescriptor(cdims : u32, ppsaout : *mut *mut super::Com:: SAFEARRAY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SafeArrayAllocDescriptor(cdims, &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] #[inline] pub unsafe fn SafeArrayAllocDescriptorEx(vt: super::Variant::VARENUM, cdims: u32) -> windows_core::Result<*mut super::Com::SAFEARRAY> { windows_targets::link!("oleaut32.dll" "system" fn SafeArrayAllocDescriptorEx(vt : super::Variant:: VARENUM, cdims : u32, ppsaout : *mut *mut super::Com:: SAFEARRAY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SafeArrayAllocDescriptorEx(vt, cdims, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayCopy(psa: *const super::Com::SAFEARRAY) -> windows_core::Result<*mut super::Com::SAFEARRAY> { windows_targets::link!("oleaut32.dll" "system" fn SafeArrayCopy(psa : *const super::Com:: SAFEARRAY, ppsaout : *mut *mut super::Com:: SAFEARRAY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SafeArrayCopy(psa, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1145,35 +1145,35 @@ pub unsafe fn SafeArrayGetElemsize(psa: *const super::Com::SAFEARRAY) -> u32 { #[inline] pub unsafe fn SafeArrayGetIID(psa: *const super::Com::SAFEARRAY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn SafeArrayGetIID(psa : *const super::Com:: SAFEARRAY, pguid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SafeArrayGetIID(psa, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetLBound(psa: *const super::Com::SAFEARRAY, ndim: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn SafeArrayGetLBound(psa : *const super::Com:: SAFEARRAY, ndim : u32, pllbound : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SafeArrayGetLBound(psa, ndim, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetRecordInfo(psa: *const super::Com::SAFEARRAY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn SafeArrayGetRecordInfo(psa : *const super::Com:: SAFEARRAY, prinfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SafeArrayGetRecordInfo(psa, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn SafeArrayGetUBound(psa: *const super::Com::SAFEARRAY, ndim: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn SafeArrayGetUBound(psa : *const super::Com:: SAFEARRAY, ndim : u32, plubound : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SafeArrayGetUBound(psa, ndim, &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Variant"))] #[inline] pub unsafe fn SafeArrayGetVartype(psa: *const super::Com::SAFEARRAY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn SafeArrayGetVartype(psa : *const super::Com:: SAFEARRAY, pvt : *mut super::Variant:: VARENUM) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SafeArrayGetVartype(psa, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1252,39 +1252,39 @@ pub unsafe fn UnRegisterTypeLibForUser(libid: *const windows_core::GUID, wmajorv } #[inline] pub unsafe fn VarAbs(pvarin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarAbs(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarAbs(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarAbs(core::mem::transmute(pvarin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarAdd(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarAdd(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarAdd(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarAdd(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarAnd(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarAnd(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarAnd(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarAnd(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarBoolFromCy(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromCy(cyin : super::Com:: CY, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromCy(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromDate(datein : f64, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromDec(pdecin : *const super::super::Foundation:: DECIMAL, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1294,43 +1294,43 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI1(cin : i8, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromI2(sin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI2(sin : i16, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromI2(sin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI4(lin : i32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromI4(lin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI8(i64in : i64, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromR4(fltin : f32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromR4(fltin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromR8(dblin : f64, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -1339,31 +1339,31 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromUI1(bin : u8, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromUI2(uiin : u16, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromUI4(ulin : u32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarBoolFromUI8(i64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromUI8(i64in : u64, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarBoolFromUI8(i64in, &mut result__).map(|| result__) } #[inline] @@ -1372,8 +1372,8 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrCat(bstrleft : std::mem::MaybeUninit < windows_core::BSTR >, bstrright : std::mem::MaybeUninit < windows_core::BSTR >, pbstrresult : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrCat(bstrleft : core::mem::MaybeUninit < windows_core::BSTR >, bstrright : core::mem::MaybeUninit < windows_core::BSTR >, pbstrresult : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrCat(bstrleft.param().abi(), bstrright.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1382,7 +1382,7 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrCmp(bstrleft : std::mem::MaybeUninit < windows_core::BSTR >, bstrright : std::mem::MaybeUninit < windows_core::BSTR >, lcid : u32, dwflags : u32) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrCmp(bstrleft : core::mem::MaybeUninit < windows_core::BSTR >, bstrright : core::mem::MaybeUninit < windows_core::BSTR >, lcid : u32, dwflags : u32) -> windows_core::HRESULT); VarBstrCmp(bstrleft.param().abi(), bstrright.param().abi(), lcid, dwflags).ok() } #[inline] @@ -1390,27 +1390,27 @@ pub unsafe fn VarBstrFromBool(boolin: P0, lcid: u32, dwflags: u32) -> window where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromBool(boolin : super::super::Foundation:: VARIANT_BOOL, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromBool(boolin : super::super::Foundation:: VARIANT_BOOL, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromBool(boolin.param().abi(), lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarBstrFromCy(cyin: super::Com::CY, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromCy(cyin : super::Com:: CY, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromCy(cyin : super::Com:: CY, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromCy(core::mem::transmute(cyin), lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromDate(datein: f64, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDate(datein : f64, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDate(datein : f64, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromDate(datein, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromDec(pdecin: *const super::super::Foundation::DECIMAL, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDec(pdecin : *const super::super::Foundation:: DECIMAL, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDec(pdecin : *const super::super::Foundation:: DECIMAL, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromDec(pdecin, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1419,93 +1419,93 @@ pub unsafe fn VarBstrFromDisp(pdispin: P0, lcid: u32, dwflags: u32) -> windo where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromDisp(pdispin.param().abi(), lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromI1(cin: i8, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI1(cin : i8, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI1(cin : i8, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromI1(cin, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromI2(ival: i16, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI2(ival : i16, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI2(ival : i16, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromI2(ival, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromI4(lin: i32, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI4(lin : i32, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI4(lin : i32, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromI4(lin, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromI8(i64in: i64, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI8(i64in : i64, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI8(i64in : i64, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromI8(i64in, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromR4(fltin: f32, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromR4(fltin : f32, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromR4(fltin : f32, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromR4(fltin, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromR8(dblin: f64, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromR8(dblin : f64, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromR8(dblin : f64, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromR8(dblin, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromUI1(bval: u8, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromUI1(bval : u8, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromUI1(bval : u8, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromUI1(bval, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromUI2(uiin: u16, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromUI2(uiin : u16, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromUI2(uiin : u16, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromUI2(uiin, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromUI4(ulin: u32, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromUI4(ulin : u32, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromUI4(ulin : u32, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromUI4(ulin, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarBstrFromUI8(ui64in: u64, lcid: u32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromUI8(ui64in : u64, lcid : u32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromUI8(ui64in : u64, lcid : u32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarBstrFromUI8(ui64in, lcid, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarCat(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarCat(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarCat(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarCat(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarCmp(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT, lcid: u32, dwflags: u32) -> VARCMP { - windows_targets::link!("oleaut32.dll" "system" fn VarCmp(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, lcid : u32, dwflags : u32) -> VARCMP); + windows_targets::link!("oleaut32.dll" "system" fn VarCmp(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, lcid : u32, dwflags : u32) -> VARCMP); VarCmp(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), lcid, dwflags) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyAbs(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyAbs(cyin : super::Com:: CY, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyAbs(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyAdd(cyleft: super::Com::CY, cyright: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyAdd(cyleft : super::Com:: CY, cyright : super::Com:: CY, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyAdd(core::mem::transmute(cyleft), core::mem::transmute(cyright), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1524,7 +1524,7 @@ pub unsafe fn VarCyCmpR8(cyleft: super::Com::CY, dblright: f64) -> VARCMP { #[inline] pub unsafe fn VarCyFix(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFix(cyin : super::Com:: CY, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFix(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1534,21 +1534,21 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromBool(boolin : super::super::Foundation:: VARIANT_BOOL, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromDate(datein : f64, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromDate(datein, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromDec(pdecin : *const super::super::Foundation:: DECIMAL, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1558,49 +1558,49 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromI1(cin : i8, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromI1(cin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromI2(sin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromI2(sin : i16, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromI2(sin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromI4(lin : i32, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromI4(lin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromI8(i64in : i64, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromI8(i64in, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromR4(fltin : f32, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromR4(fltin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromR8(dblin : f64, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromR8(dblin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1610,84 +1610,84 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromUI1(bin : u8, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromUI1(bin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromUI2(uiin : u16, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromUI2(uiin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromUI4(ulin : u32, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromUI4(ulin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyFromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyFromUI8(ui64in : u64, pcyout : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyFromUI8(ui64in, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyInt(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyInt(cyin : super::Com:: CY, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyInt(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyMul(cyleft: super::Com::CY, cyright: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyMul(cyleft : super::Com:: CY, cyright : super::Com:: CY, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyMul(core::mem::transmute(cyleft), core::mem::transmute(cyright), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyMulI4(cyleft: super::Com::CY, lright: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyMulI4(cyleft : super::Com:: CY, lright : i32, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyMulI4(core::mem::transmute(cyleft), lright, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyMulI8(cyleft: super::Com::CY, lright: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyMulI8(cyleft : super::Com:: CY, lright : i64, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyMulI8(core::mem::transmute(cyleft), lright, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyNeg(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyNeg(cyin : super::Com:: CY, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyNeg(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCyRound(cyin: super::Com::CY, cdecimals: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCyRound(cyin : super::Com:: CY, cdecimals : i32, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCyRound(core::mem::transmute(cyin), cdecimals, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarCySub(cyleft: super::Com::CY, cyright: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarCySub(cyleft : super::Com:: CY, cyright : super::Com:: CY, pcyresult : *mut super::Com:: CY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarCySub(core::mem::transmute(cyleft), core::mem::transmute(cyright), &mut result__).map(|| result__) } #[inline] @@ -1696,20 +1696,20 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromBool(boolin : super::super::Foundation:: VARIANT_BOOL, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarDateFromCy(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromCy(cyin : super::Com:: CY, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromCy(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromDec(pdecin : *const super::super::Foundation:: DECIMAL, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1719,43 +1719,43 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI1(cin : i8, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromI2(sin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI2(sin : i16, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromI2(sin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI4(lin : i32, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromI4(lin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI8(i64in : i64, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromR4(fltin : f32, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromR4(fltin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromR8(dblin : f64, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -1764,55 +1764,55 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromUI1(bin : u8, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromUI2(uiin : u16, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromUI4(ulin : u32, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromUI8(ui64in : u64, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromUI8(ui64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromUdate(pudatein: *const UDATE, dwflags: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromUdate(pudatein : *const UDATE, dwflags : u32, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromUdate(pudatein, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDateFromUdateEx(pudatein: *const UDATE, lcid: u32, dwflags: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDateFromUdateEx(pudatein : *const UDATE, lcid : u32, dwflags : u32, pdateout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDateFromUdateEx(pudatein, lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecAbs(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecAbs(pdecin : *const super::super::Foundation:: DECIMAL, pdecresult : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecAbs(pdecin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecAdd(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecAdd(pdecleft, pdecright, &mut result__).map(|| result__) } #[inline] @@ -1828,13 +1828,13 @@ pub unsafe fn VarDecCmpR8(pdecleft: *const super::super::Foundation::DECIMAL, db #[inline] pub unsafe fn VarDecDiv(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecDiv(pdecleft, pdecright, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFix(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFix(pdecin : *const super::super::Foundation:: DECIMAL, pdecresult : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFix(pdecin, &mut result__).map(|| result__) } #[inline] @@ -1843,20 +1843,20 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromBool(boolin : super::super::Foundation:: VARIANT_BOOL, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarDecFromCy(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromCy(cyin : super::Com:: CY, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromCy(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromDate(datein : f64, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromDate(datein, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1866,43 +1866,43 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI1(cin : i8, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromI2(uiin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI2(uiin : i16, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI4(lin : i32, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromI4(lin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI8(i64in : i64, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromR4(fltin : f32, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromR4(fltin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromR8(dblin : f64, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -1911,79 +1911,79 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromUI1(bin : u8, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromUI2(uiin : u16, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromUI4(ulin : u32, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecFromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecFromUI8(ui64in : u64, pdecout : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecFromUI8(ui64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecInt(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecInt(pdecin : *const super::super::Foundation:: DECIMAL, pdecresult : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecInt(pdecin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecMul(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecMul(pdecleft, pdecright, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecNeg(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecNeg(pdecin : *const super::super::Foundation:: DECIMAL, pdecresult : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecNeg(pdecin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecRound(pdecin: *const super::super::Foundation::DECIMAL, cdecimals: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarDecRound(pdecin : *const super::super::Foundation:: DECIMAL, cdecimals : i32, pdecresult : *mut super::super::Foundation:: DECIMAL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecRound(pdecin, cdecimals, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDecSub(pdecleft: *const super::super::Foundation::DECIMAL, pdecright: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarDecSub(pdecleft, pdecright, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarDiv(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarDiv(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarDiv(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarDiv(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarEqv(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarEqv(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarEqv(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarEqv(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarFix(pvarin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarFix(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarFix(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarFix(core::mem::transmute(pvarin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1991,20 +1991,20 @@ pub unsafe fn VarFormat(pvarin: *const windows_core::VARIANT, pstrformat: P0 where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn VarFormat(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pstrformat : windows_core::PCWSTR, ifirstday : VARFORMAT_FIRST_DAY, ifirstweek : VARFORMAT_FIRST_WEEK, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarFormat(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pstrformat : windows_core::PCWSTR, ifirstday : VARFORMAT_FIRST_DAY, ifirstweek : VARFORMAT_FIRST_WEEK, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarFormat(core::mem::transmute(pvarin), pstrformat.param().abi(), ifirstday, ifirstweek, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarFormatCurrency(pvarin: *const windows_core::VARIANT, inumdig: i32, iinclead: i32, iuseparens: i32, igroup: i32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarFormatCurrency(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, inumdig : i32, iinclead : i32, iuseparens : i32, igroup : i32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarFormatCurrency(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, inumdig : i32, iinclead : i32, iuseparens : i32, igroup : i32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarFormatCurrency(core::mem::transmute(pvarin), inumdig, iinclead, iuseparens, igroup, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarFormatDateTime(pvarin: *const windows_core::VARIANT, inamedformat: VARFORMAT_NAMED_FORMAT, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarFormatDateTime(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, inamedformat : VARFORMAT_NAMED_FORMAT, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarFormatDateTime(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, inamedformat : VARFORMAT_NAMED_FORMAT, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarFormatDateTime(core::mem::transmute(pvarin), inamedformat, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2012,19 +2012,19 @@ pub unsafe fn VarFormatFromTokens(pvarin: *const windows_core::VARIANT, pstr where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn VarFormatFromTokens(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pstrformat : windows_core::PCWSTR, pbtokcur : *const u8, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >, lcid : u32) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn VarFormatFromTokens(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pstrformat : windows_core::PCWSTR, pbtokcur : *const u8, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >, lcid : u32) -> windows_core::HRESULT); VarFormatFromTokens(core::mem::transmute(pvarin), pstrformat.param().abi(), pbtokcur, dwflags, core::mem::transmute(pbstrout), lcid).ok() } #[inline] pub unsafe fn VarFormatNumber(pvarin: *const windows_core::VARIANT, inumdig: i32, iinclead: VARFORMAT_LEADING_DIGIT, iuseparens: VARFORMAT_PARENTHESES, igroup: VARFORMAT_GROUP, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarFormatNumber(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, inumdig : i32, iinclead : VARFORMAT_LEADING_DIGIT, iuseparens : VARFORMAT_PARENTHESES, igroup : VARFORMAT_GROUP, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarFormatNumber(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, inumdig : i32, iinclead : VARFORMAT_LEADING_DIGIT, iuseparens : VARFORMAT_PARENTHESES, igroup : VARFORMAT_GROUP, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarFormatNumber(core::mem::transmute(pvarin), inumdig, iinclead, iuseparens, igroup, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarFormatPercent(pvarin: *const windows_core::VARIANT, inumdig: i32, iinclead: VARFORMAT_LEADING_DIGIT, iuseparens: VARFORMAT_PARENTHESES, igroup: VARFORMAT_GROUP, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarFormatPercent(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, inumdig : i32, iinclead : VARFORMAT_LEADING_DIGIT, iuseparens : VARFORMAT_PARENTHESES, igroup : VARFORMAT_GROUP, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarFormatPercent(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, inumdig : i32, iinclead : VARFORMAT_LEADING_DIGIT, iuseparens : VARFORMAT_PARENTHESES, igroup : VARFORMAT_GROUP, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarFormatPercent(core::mem::transmute(pvarin), inumdig, iinclead, iuseparens, igroup, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2119,7 +2119,7 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromBool(boolin : super::super::Foundation:: VARIANT_BOOL, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2131,13 +2131,13 @@ pub unsafe fn VarI2FromCy(cyin: super::Com::CY, psout: *mut i16) -> windows_core #[inline] pub unsafe fn VarI2FromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromDate(datein : f64, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromDec(pdecin : *const super::super::Foundation:: DECIMAL, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2147,37 +2147,37 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI1(cin : i8, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI4(lin : i32, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromI4(lin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI8(i64in : i64, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromR4(fltin : f32, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromR4(fltin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromR8(dblin : f64, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -2186,31 +2186,31 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromUI1(bin : u8, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromUI2(uiin : u16, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromUI4(ulin : u32, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI2FromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI2FromUI8(ui64in : u64, psout : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI2FromUI8(ui64in, &mut result__).map(|| result__) } #[inline] @@ -2219,26 +2219,26 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromBool(boolin : super::super::Foundation:: VARIANT_BOOL, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarI4FromCy(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromCy(cyin : super::Com:: CY, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromCy(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromDate(datein : f64, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromDec(pdecin : *const super::super::Foundation:: DECIMAL, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2248,37 +2248,37 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI1(cin : i8, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromI2(sin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI2(sin : i16, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromI2(sin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI8(i64in : i64, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromR4(fltin : f32, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromR4(fltin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromR8(dblin : f64, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -2287,31 +2287,31 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromUI1(bin : u8, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromUI2(uiin : u16, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromUI4(ulin : u32, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI4FromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI4FromUI8(ui64in : u64, plout : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI4FromUI8(ui64in, &mut result__).map(|| result__) } #[inline] @@ -2320,26 +2320,26 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromBool(boolin : super::super::Foundation:: VARIANT_BOOL, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarI8FromCy(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromCy(cyin : super::Com:: CY, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromCy(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromDate(datein : f64, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2349,31 +2349,31 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromI1(cin : i8, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromI2(sin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromI2(sin : i16, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromI2(sin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromR4(fltin : f32, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromR4(fltin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromR8(dblin : f64, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -2382,91 +2382,91 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromUI1(bin : u8, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromUI2(uiin : u16, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromUI4(ulin : u32, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarI8FromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarI8FromUI8(ui64in : u64, pi64out : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarI8FromUI8(ui64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarIdiv(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarIdiv(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarIdiv(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarIdiv(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarImp(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarImp(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarImp(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarImp(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarInt(pvarin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarInt(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarInt(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarInt(core::mem::transmute(pvarin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarMod(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarMod(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarMod(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarMod(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarMonthName(imonth: i32, fabbrev: i32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarMonthName(imonth : i32, fabbrev : i32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarMonthName(imonth : i32, fabbrev : i32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarMonthName(imonth, fabbrev, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarMul(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarMul(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarMul(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarMul(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarNeg(pvarin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarNeg(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarNeg(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarNeg(core::mem::transmute(pvarin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarNot(pvarin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarNot(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarNot(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarNot(core::mem::transmute(pvarin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarNumFromParseNum(pnumprs: *const NUMPARSE, rgbdig: *const u8, dwvtbits: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarNumFromParseNum(pnumprs : *const NUMPARSE, rgbdig : *const u8, dwvtbits : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarNumFromParseNum(pnumprs : *const NUMPARSE, rgbdig : *const u8, dwvtbits : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarNumFromParseNum(pnumprs, rgbdig, dwvtbits, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarOr(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarOr(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarOr(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarOr(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2479,8 +2479,8 @@ where } #[inline] pub unsafe fn VarPow(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarPow(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarPow(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarPow(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2494,7 +2494,7 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromBool(boolin : super::super::Foundation:: VARIANT_BOOL, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2506,13 +2506,13 @@ pub unsafe fn VarR4FromCy(cyin: super::Com::CY, pfltout: *mut f32) -> windows_co #[inline] pub unsafe fn VarR4FromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromDate(datein : f64, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2522,37 +2522,37 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI1(cin : i8, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromI2(sin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI2(sin : i16, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromI2(sin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI4(lin : i32, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromI4(lin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI8(i64in : i64, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromR8(dblin : f64, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -2561,31 +2561,31 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromUI1(bin : u8, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromUI2(uiin : u16, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromUI4(ulin : u32, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR4FromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR4FromUI8(ui64in : u64, pfltout : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR4FromUI8(ui64in, &mut result__).map(|| result__) } #[inline] @@ -2594,7 +2594,7 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromBool(boolin : super::super::Foundation:: VARIANT_BOOL, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2606,13 +2606,13 @@ pub unsafe fn VarR8FromCy(cyin: super::Com::CY, pdblout: *mut f64) -> windows_co #[inline] pub unsafe fn VarR8FromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromDate(datein : f64, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2622,7 +2622,7 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] @@ -2633,25 +2633,25 @@ pub unsafe fn VarR8FromI1(cin: i8, pdblout: *mut f64) -> windows_core::Result<() #[inline] pub unsafe fn VarR8FromI2(sin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI2(sin : i16, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromI2(sin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8FromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI4(lin : i32, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromI4(lin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8FromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI8(i64in : i64, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8FromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromR4(fltin : f32, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromR4(fltin, &mut result__).map(|| result__) } #[inline] @@ -2660,55 +2660,55 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8FromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromUI1(bin : u8, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8FromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromUI2(uiin : u16, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8FromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromUI4(ulin : u32, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8FromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8FromUI8(ui64in : u64, pdblout : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8FromUI8(ui64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8Pow(dblleft: f64, dblright: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8Pow(dblleft : f64, dblright : f64, pdblresult : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8Pow(dblleft, dblright, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarR8Round(dblin: f64, cdecimals: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarR8Round(dblin : f64, cdecimals : i32, pdblresult : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarR8Round(dblin, cdecimals, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarRound(pvarin: *const windows_core::VARIANT, cdecimals: i32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarRound(pvarin : *const std::mem::MaybeUninit < windows_core::VARIANT >, cdecimals : i32, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarRound(pvarin : *const core::mem::MaybeUninit < windows_core::VARIANT >, cdecimals : i32, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarRound(core::mem::transmute(pvarin), cdecimals, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarSub(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarSub(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarSub(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarSub(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2725,26 +2725,26 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromBool(boolin : super::super::Foundation:: VARIANT_BOOL, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarUI1FromCy(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromCy(cyin : super::Com:: CY, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromCy(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromDate(datein : f64, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2754,43 +2754,43 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI1(cin : i8, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromI2(sin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI2(sin : i16, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromI2(sin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI4(lin : i32, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromI4(lin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI8(i64in : i64, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromR4(fltin : f32, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromR4(fltin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromR8(dblin : f64, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -2799,25 +2799,25 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromUI2(uiin : u16, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromUI4(ulin : u32, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI1FromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromUI8(ui64in : u64, pbout : *mut u8) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI1FromUI8(ui64in, &mut result__).map(|| result__) } #[inline] @@ -2826,26 +2826,26 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromBool(boolin : super::super::Foundation:: VARIANT_BOOL, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarUI2FromCy(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromCy(cyin : super::Com:: CY, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromCy(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromDate(datein : f64, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromDec(pdecin : *const super::super::Foundation:: DECIMAL, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2855,37 +2855,37 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI1(cin : i8, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromI2(uiin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI2(uiin : i16, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI4(lin : i32, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromI4(lin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI8(i64in : i64, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromR4(fltin : f32, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromR4(fltin, &mut result__).map(|| result__) } #[inline] @@ -2899,25 +2899,25 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromUI1(bin : u8, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromUI4(ulin : u32, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromUI4(ulin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI2FromUI8(i64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromUI8(i64in : u64, puiout : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI2FromUI8(i64in, &mut result__).map(|| result__) } #[inline] @@ -2926,26 +2926,26 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromBool(boolin : super::super::Foundation:: VARIANT_BOOL, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarUI4FromCy(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromCy(cyin : super::Com:: CY, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromCy(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromDate(datein : f64, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2955,43 +2955,43 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI1(cin : i8, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromI2(uiin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI2(uiin : i16, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromI4(lin: i32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI4(lin : i32, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromI4(lin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromI8(i64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI8(i64in : i64, plout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromI8(i64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromR4(fltin : f32, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromR4(fltin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromR8(dblin : f64, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -3000,25 +3000,25 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromUI1(bin : u8, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromUI2(uiin : u16, pulout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI4FromUI8(ui64in: u64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromUI8(ui64in : u64, plout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI4FromUI8(ui64in, &mut result__).map(|| result__) } #[inline] @@ -3027,26 +3027,26 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromBool(boolin : super::super::Foundation:: VARIANT_BOOL, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromBool(boolin.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn VarUI8FromCy(cyin: super::Com::CY) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromCy(cyin : super::Com:: CY, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromCy(core::mem::transmute(cyin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromDate(datein: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromDate(datein : f64, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromDate(datein, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromDec(pdecin: *const super::super::Foundation::DECIMAL) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromDec(pdecin, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3056,37 +3056,37 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromDisp(pdispin : * mut core::ffi::c_void, lcid : u32, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromDisp(pdispin.param().abi(), lcid, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromI1(cin: i8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI1(cin : i8, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromI1(cin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromI2(sin: i16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI2(sin : i16, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromI2(sin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromI8(ui64in: i64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI8(ui64in : i64, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromI8(ui64in, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromR4(fltin: f32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromR4(fltin : f32, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromR4(fltin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromR8(dblin: f64) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromR8(dblin : f64, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromR8(dblin, &mut result__).map(|| result__) } #[inline] @@ -3095,25 +3095,25 @@ where P0: windows_core::Param, { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromStr(strin : windows_core::PCWSTR, lcid : u32, dwflags : u32, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromStr(strin.param().abi(), lcid, dwflags, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromUI1(bin: u8) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromUI1(bin : u8, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromUI1(bin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromUI2(uiin: u16) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromUI2(uiin : u16, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromUI2(uiin, &mut result__).map(|| result__) } #[inline] pub unsafe fn VarUI8FromUI4(ulin: u32) -> windows_core::Result { windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromUI4(ulin : u32, pi64out : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); VarUI8FromUI4(ulin, &mut result__).map(|| result__) } #[inline] @@ -3123,14 +3123,14 @@ pub unsafe fn VarUdateFromDate(datein: f64, dwflags: u32, pudateout: *mut UDATE) } #[inline] pub unsafe fn VarWeekdayName(iweekday: i32, fabbrev: i32, ifirstday: i32, dwflags: u32) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarWeekdayName(iweekday : i32, fabbrev : i32, ifirstday : i32, dwflags : u32, pbstrout : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarWeekdayName(iweekday : i32, fabbrev : i32, ifirstday : i32, dwflags : u32, pbstrout : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarWeekdayName(iweekday, fabbrev, ifirstday, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn VarXor(pvarleft: *const windows_core::VARIANT, pvarright: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("oleaut32.dll" "system" fn VarXor(pvarleft : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const std::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VarXor(pvarleft : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarright : *const core::mem::MaybeUninit < windows_core::VARIANT >, pvarresult : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VarXor(core::mem::transmute(pvarleft), core::mem::transmute(pvarright), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3139,8 +3139,8 @@ pub unsafe fn VectorFromBstr(bstr: P0) -> windows_core::Result<*mut super::C where P0: windows_core::Param, { - windows_targets::link!("oleaut32.dll" "system" fn VectorFromBstr(bstr : std::mem::MaybeUninit < windows_core::BSTR >, ppsa : *mut *mut super::Com:: SAFEARRAY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VectorFromBstr(bstr : core::mem::MaybeUninit < windows_core::BSTR >, ppsa : *mut *mut super::Com:: SAFEARRAY) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VectorFromBstr(bstr.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3149,7 +3149,7 @@ windows_core::imp::define_interface!(IAdviseSinkEx, IAdviseSinkEx_Vtbl, 0x3af242 impl std::ops::Deref for IAdviseSinkEx { type Target = super::Com::IAdviseSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3170,7 +3170,7 @@ windows_core::imp::define_interface!(ICanHandleException, ICanHandleException_Vt impl std::ops::Deref for ICanHandleException { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICanHandleException, windows_core::IUnknown); @@ -3184,7 +3184,7 @@ impl ICanHandleException { pub struct ICanHandleException_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub CanHandleException: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::EXCEPINFO, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CanHandleException: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::EXCEPINFO, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CanHandleException: usize, } @@ -3194,7 +3194,7 @@ windows_core::imp::define_interface!(IClassFactory2, IClassFactory2_Vtbl, 0xb196 impl std::ops::Deref for IClassFactory2 { type Target = super::Com::IClassFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3205,7 +3205,7 @@ impl IClassFactory2 { (windows_core::Interface::vtable(self).GetLicInfo)(windows_core::Interface::as_raw(self), plicinfo).ok() } pub unsafe fn RequestLicKey(&self, dwreserved: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestLicKey)(windows_core::Interface::as_raw(self), dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInstanceLic(&self, punkouter: P0, punkreserved: P1, bstrkey: P2) -> windows_core::Result @@ -3224,14 +3224,14 @@ impl IClassFactory2 { pub struct IClassFactory2_Vtbl { pub base__: super::Com::IClassFactory_Vtbl, pub GetLicInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LICINFO) -> windows_core::HRESULT, - pub RequestLicKey: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateInstanceLic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestLicKey: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateInstanceLic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContinue, IContinue_Vtbl, 0x0000012a_0000_0000_c000_000000000046); impl std::ops::Deref for IContinue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContinue, windows_core::IUnknown); @@ -3249,7 +3249,7 @@ windows_core::imp::define_interface!(IContinueCallback, IContinueCallback_Vtbl, impl std::ops::Deref for IContinueCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContinueCallback, windows_core::IUnknown); @@ -3274,7 +3274,7 @@ windows_core::imp::define_interface!(ICreateErrorInfo, ICreateErrorInfo_Vtbl, 0x impl std::ops::Deref for ICreateErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateErrorInfo, windows_core::IUnknown); @@ -3317,7 +3317,7 @@ windows_core::imp::define_interface!(ICreateTypeInfo, ICreateTypeInfo_Vtbl, 0x00 impl std::ops::Deref for ICreateTypeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateTypeInfo, windows_core::IUnknown); @@ -3461,7 +3461,7 @@ pub struct ICreateTypeInfo_Vtbl { pub SetVarDocString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetFuncHelpContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub SetVarHelpContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, - pub SetMops: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMops: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SetTypeIdldesc: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::IDLDESC) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3472,7 +3472,7 @@ windows_core::imp::define_interface!(ICreateTypeInfo2, ICreateTypeInfo2_Vtbl, 0x impl std::ops::Deref for ICreateTypeInfo2 { type Target = ICreateTypeInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateTypeInfo2, windows_core::IUnknown, ICreateTypeInfo); @@ -3538,11 +3538,11 @@ pub struct ICreateTypeInfo2_Vtbl { pub DeleteVarDesc: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub DeleteVarDescByMemId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DeleteImplType: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub SetCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFuncCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetParamCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVarCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetImplTypeCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFuncCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetParamCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVarCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetImplTypeCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetHelpStringContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetFuncHelpStringContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub SetVarHelpStringContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, @@ -3553,7 +3553,7 @@ windows_core::imp::define_interface!(ICreateTypeLib, ICreateTypeLib_Vtbl, 0x0002 impl std::ops::Deref for ICreateTypeLib { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateTypeLib, windows_core::IUnknown); @@ -3563,7 +3563,7 @@ impl ICreateTypeLib { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTypeInfo)(windows_core::Interface::as_raw(self), szname.param().abi(), tkind, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, szname: P0) -> windows_core::Result<()> @@ -3624,7 +3624,7 @@ windows_core::imp::define_interface!(ICreateTypeLib2, ICreateTypeLib2_Vtbl, 0x00 impl std::ops::Deref for ICreateTypeLib2 { type Target = ICreateTypeLib; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateTypeLib2, windows_core::IUnknown, ICreateTypeLib); @@ -3652,7 +3652,7 @@ impl ICreateTypeLib2 { pub struct ICreateTypeLib2_Vtbl { pub base__: ICreateTypeLib_Vtbl, pub DeleteTypeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub SetCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetHelpStringContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetHelpStringDll: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } @@ -3660,32 +3660,32 @@ windows_core::imp::define_interface!(IDispError, IDispError_Vtbl, 0xa6ef9861_c72 impl std::ops::Deref for IDispError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDispError, windows_core::IUnknown); impl IDispError { pub unsafe fn QueryErrorInfo(&self, guiderrortype: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryErrorInfo)(windows_core::Interface::as_raw(self), core::mem::transmute(guiderrortype), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHresult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHresult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHelpInfo(&self, pbstrfilename: *mut windows_core::BSTR, pdwcontext: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetHelpInfo)(windows_core::Interface::as_raw(self), core::mem::transmute(pbstrfilename), pdwcontext).ok() } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3695,9 +3695,9 @@ pub struct IDispError_Vtbl { pub QueryErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetHresult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetHelpInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetHelpInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDispatchEx, IDispatchEx_Vtbl, 0xa6ef9860_c720_11d0_9337_00a0c90dcaa9); @@ -3705,7 +3705,7 @@ windows_core::imp::define_interface!(IDispatchEx, IDispatchEx_Vtbl, 0xa6ef9860_c impl std::ops::Deref for IDispatchEx { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3716,7 +3716,7 @@ impl IDispatchEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDispID)(windows_core::Interface::as_raw(self), bstrname.param().abi(), grfdex, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3736,19 +3736,19 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMemberProperties)(windows_core::Interface::as_raw(self), id, grfdexfetch, &mut result__).map(|| result__) } pub unsafe fn GetMemberName(&self, id: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMemberName)(windows_core::Interface::as_raw(self), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNextDispID(&self, grfdex: u32, id: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextDispID)(windows_core::Interface::as_raw(self), grfdex, id, &mut result__).map(|| result__) } pub unsafe fn GetNameSpaceParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNameSpaceParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3756,15 +3756,15 @@ impl IDispatchEx { #[repr(C)] pub struct IDispatchEx_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub GetDispID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut i32) -> windows_core::HRESULT, + pub GetDispID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub InvokeEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, u16, *const super::Com::DISPPARAMS, *mut std::mem::MaybeUninit, *mut super::Com::EXCEPINFO, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InvokeEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, u16, *const super::Com::DISPPARAMS, *mut core::mem::MaybeUninit, *mut super::Com::EXCEPINFO, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InvokeEx: usize, - pub DeleteMemberByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub DeleteMemberByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, pub DeleteMemberByDispID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetMemberProperties: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut FDEX_PROP_FLAGS) -> windows_core::HRESULT, - pub GetMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNextDispID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32, *mut i32) -> windows_core::HRESULT, pub GetNameSpaceParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -3772,7 +3772,7 @@ windows_core::imp::define_interface!(IDropSource, IDropSource_Vtbl, 0x00000121_0 impl std::ops::Deref for IDropSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDropSource, windows_core::IUnknown); @@ -3801,7 +3801,7 @@ windows_core::imp::define_interface!(IDropSourceNotify, IDropSourceNotify_Vtbl, impl std::ops::Deref for IDropSourceNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDropSourceNotify, windows_core::IUnknown); @@ -3826,7 +3826,7 @@ windows_core::imp::define_interface!(IDropTarget, IDropTarget_Vtbl, 0x00000122_0 impl std::ops::Deref for IDropTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDropTarget, windows_core::IUnknown); @@ -3874,7 +3874,7 @@ windows_core::imp::define_interface!(IEnterpriseDropTarget, IEnterpriseDropTarge impl std::ops::Deref for IEnterpriseDropTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnterpriseDropTarget, windows_core::IUnknown); @@ -3886,7 +3886,7 @@ impl IEnterpriseDropTarget { (windows_core::Interface::vtable(self).SetDropSourceEnterpriseId)(windows_core::Interface::as_raw(self), identity.param().abi()).ok() } pub unsafe fn IsEvaluatingEdpPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEvaluatingEdpPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3900,7 +3900,7 @@ windows_core::imp::define_interface!(IEnumOLEVERB, IEnumOLEVERB_Vtbl, 0x00000104 impl std::ops::Deref for IEnumOLEVERB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumOLEVERB, windows_core::IUnknown); @@ -3916,7 +3916,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3935,7 +3935,7 @@ windows_core::imp::define_interface!(IEnumOleDocumentViews, IEnumOleDocumentView impl std::ops::Deref for IEnumOleDocumentViews { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumOleDocumentViews, windows_core::IUnknown); @@ -3950,7 +3950,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3966,7 +3966,7 @@ windows_core::imp::define_interface!(IEnumOleUndoUnits, IEnumOleUndoUnits_Vtbl, impl std::ops::Deref for IEnumOleUndoUnits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumOleUndoUnits, windows_core::IUnknown); @@ -3981,7 +3981,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3997,7 +3997,7 @@ windows_core::imp::define_interface!(IEnumVARIANT, IEnumVARIANT_Vtbl, 0x00020404 impl std::ops::Deref for IEnumVARIANT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumVARIANT, windows_core::IUnknown); @@ -4012,14 +4012,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IEnumVARIANT_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4028,13 +4028,13 @@ windows_core::imp::define_interface!(IFont, IFont_Vtbl, 0xbef6e002_a874_101a_8bb impl std::ops::Deref for IFont { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFont, windows_core::IUnknown); impl IFont { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -4045,7 +4045,7 @@ impl IFont { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Size(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -4053,7 +4053,7 @@ impl IFont { (windows_core::Interface::vtable(self).SetSize)(windows_core::Interface::as_raw(self), core::mem::transmute(size)).ok() } pub unsafe fn Bold(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bold)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBold(&self, bold: P0) -> windows_core::Result<()> @@ -4063,7 +4063,7 @@ impl IFont { (windows_core::Interface::vtable(self).SetBold)(windows_core::Interface::as_raw(self), bold.param().abi()).ok() } pub unsafe fn Italic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Italic)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetItalic(&self, italic: P0) -> windows_core::Result<()> @@ -4073,7 +4073,7 @@ impl IFont { (windows_core::Interface::vtable(self).SetItalic)(windows_core::Interface::as_raw(self), italic.param().abi()).ok() } pub unsafe fn Underline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Underline)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUnderline(&self, underline: P0) -> windows_core::Result<()> @@ -4083,7 +4083,7 @@ impl IFont { (windows_core::Interface::vtable(self).SetUnderline)(windows_core::Interface::as_raw(self), underline.param().abi()).ok() } pub unsafe fn Strikethrough(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Strikethrough)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStrikethrough(&self, strikethrough: P0) -> windows_core::Result<()> @@ -4093,14 +4093,14 @@ impl IFont { (windows_core::Interface::vtable(self).SetStrikethrough)(windows_core::Interface::as_raw(self), strikethrough.param().abi()).ok() } pub unsafe fn Weight(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Weight)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Charset)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCharset(&self, charset: i16) -> windows_core::Result<()> { @@ -4108,11 +4108,11 @@ impl IFont { } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn hFont(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).hFont)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsEqual(&self, pfontother: P0) -> windows_core::Result<()> @@ -4153,8 +4153,8 @@ impl IFont { #[repr(C)] pub struct IFont_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Com::CY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4205,7 +4205,7 @@ windows_core::imp::define_interface!(IFontDisp, IFontDisp_Vtbl, 0xbef6e003_a874_ impl std::ops::Deref for IFontDisp { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4223,7 +4223,7 @@ windows_core::imp::define_interface!(IFontEventsDisp, IFontEventsDisp_Vtbl, 0x4e impl std::ops::Deref for IFontEventsDisp { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4239,7 +4239,7 @@ windows_core::imp::define_interface!(IGetOleObject, IGetOleObject_Vtbl, 0x8a701d impl std::ops::Deref for IGetOleObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetOleObject, windows_core::IUnknown); @@ -4257,7 +4257,7 @@ windows_core::imp::define_interface!(IGetVBAObject, IGetVBAObject_Vtbl, 0x91733a impl std::ops::Deref for IGetVBAObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetVBAObject, windows_core::IUnknown); @@ -4275,7 +4275,7 @@ windows_core::imp::define_interface!(IObjectIdentity, IObjectIdentity_Vtbl, 0xca impl std::ops::Deref for IObjectIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectIdentity, windows_core::IUnknown); @@ -4296,7 +4296,7 @@ windows_core::imp::define_interface!(IObjectWithSite, IObjectWithSite_Vtbl, 0xfc impl std::ops::Deref for IObjectWithSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectWithSite, windows_core::IUnknown); @@ -4325,7 +4325,7 @@ windows_core::imp::define_interface!(IOleAdviseHolder, IOleAdviseHolder_Vtbl, 0x impl std::ops::Deref for IOleAdviseHolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleAdviseHolder, windows_core::IUnknown); @@ -4335,7 +4335,7 @@ impl IOleAdviseHolder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), padvise.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwconnection: u32) -> windows_core::Result<()> { @@ -4343,7 +4343,7 @@ impl IOleAdviseHolder { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumAdvise(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAdvise)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4383,14 +4383,14 @@ windows_core::imp::define_interface!(IOleCache, IOleCache_Vtbl, 0x0000011e_0000_ impl std::ops::Deref for IOleCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleCache, windows_core::IUnknown); impl IOleCache { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cache(&self, pformatetc: *const super::Com::FORMATETC, advf: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cache)(windows_core::Interface::as_raw(self), pformatetc, advf, &mut result__).map(|| result__) } pub unsafe fn Uncache(&self, dwconnection: u32) -> windows_core::Result<()> { @@ -4398,7 +4398,7 @@ impl IOleCache { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCache(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCache)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4441,7 +4441,7 @@ windows_core::imp::define_interface!(IOleCache2, IOleCache2_Vtbl, 0x00000128_000 impl std::ops::Deref for IOleCache2 { type Target = IOleCache; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleCache2, windows_core::IUnknown, IOleCache); @@ -4470,7 +4470,7 @@ windows_core::imp::define_interface!(IOleCacheControl, IOleCacheControl_Vtbl, 0x impl std::ops::Deref for IOleCacheControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleCacheControl, windows_core::IUnknown); @@ -4499,7 +4499,7 @@ windows_core::imp::define_interface!(IOleClientSite, IOleClientSite_Vtbl, 0x0000 impl std::ops::Deref for IOleClientSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleClientSite, windows_core::IUnknown); @@ -4509,11 +4509,11 @@ impl IOleClientSite { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMoniker(&self, dwassign: OLEGETMONIKER, dwwhichmoniker: OLEWHICHMK) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMoniker)(windows_core::Interface::as_raw(self), dwassign.0 as _, dwwhichmoniker.0 as _, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowObject(&self) -> windows_core::Result<()> { @@ -4546,7 +4546,7 @@ windows_core::imp::define_interface!(IOleCommandTarget, IOleCommandTarget_Vtbl, impl std::ops::Deref for IOleCommandTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleCommandTarget, windows_core::IUnknown); @@ -4562,20 +4562,20 @@ impl IOleCommandTarget { pub struct IOleCommandTarget_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut OLECMD, *mut OLECMDTEXT) -> windows_core::HRESULT, - pub Exec: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Exec: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleContainer, IOleContainer_Vtbl, 0x0000011b_0000_0000_c000_000000000046); impl std::ops::Deref for IOleContainer { type Target = IParseDisplayName; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleContainer, windows_core::IUnknown, IParseDisplayName); impl IOleContainer { #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumObjects(&self, grfflags: OLECONTF) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumObjects)(windows_core::Interface::as_raw(self), grfflags.0 as _, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LockContainer(&self, flock: P0) -> windows_core::Result<()> @@ -4598,7 +4598,7 @@ windows_core::imp::define_interface!(IOleControl, IOleControl_Vtbl, 0xb196b288_b impl std::ops::Deref for IOleControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleControl, windows_core::IUnknown); @@ -4639,7 +4639,7 @@ windows_core::imp::define_interface!(IOleControlSite, IOleControlSite_Vtbl, 0xb1 impl std::ops::Deref for IOleControlSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleControlSite, windows_core::IUnknown); @@ -4655,7 +4655,7 @@ impl IOleControlSite { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExtendedControl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtendedControl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TransformCoords(&self, pptlhimetric: *mut super::super::Foundation::POINTL, pptfcontainer: *mut POINTF, dwflags: XFORMCOORDS) -> windows_core::Result<()> { @@ -4696,7 +4696,7 @@ windows_core::imp::define_interface!(IOleDocument, IOleDocument_Vtbl, 0xb722bcc5 impl std::ops::Deref for IOleDocument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleDocument, windows_core::IUnknown); @@ -4707,11 +4707,11 @@ impl IOleDocument { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateView)(windows_core::Interface::as_raw(self), pipsite.param().abi(), pstm.param().abi(), dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocMiscStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocMiscStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumViews(&self, ppenum: *mut Option, ppview: *mut Option) -> windows_core::Result<()> { @@ -4732,7 +4732,7 @@ windows_core::imp::define_interface!(IOleDocumentSite, IOleDocumentSite_Vtbl, 0x impl std::ops::Deref for IOleDocumentSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleDocumentSite, windows_core::IUnknown); @@ -4753,7 +4753,7 @@ windows_core::imp::define_interface!(IOleDocumentView, IOleDocumentView_Vtbl, 0x impl std::ops::Deref for IOleDocumentView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleDocumentView, windows_core::IUnknown); @@ -4765,18 +4765,18 @@ impl IOleDocumentView { (windows_core::Interface::vtable(self).SetInPlaceSite)(windows_core::Interface::as_raw(self), pipsite.param().abi()).ok() } pub unsafe fn GetInPlaceSite(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInPlaceSite)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRect(&self, prcview: *const super::super::Foundation::RECT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetRect)(windows_core::Interface::as_raw(self), prcview).ok() } pub unsafe fn GetRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRectComplex(&self, prcview: *const super::super::Foundation::RECT, prchscroll: *const super::super::Foundation::RECT, prcvscroll: *const super::super::Foundation::RECT, prcsizebox: *const super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -4818,7 +4818,7 @@ impl IOleDocumentView { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), pipsitenew.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4849,7 +4849,7 @@ windows_core::imp::define_interface!(IOleInPlaceActiveObject, IOleInPlaceActiveO impl std::ops::Deref for IOleInPlaceActiveObject { type Target = IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleInPlaceActiveObject, windows_core::IUnknown, IOleWindow); @@ -4900,7 +4900,7 @@ windows_core::imp::define_interface!(IOleInPlaceFrame, IOleInPlaceFrame_Vtbl, 0x impl std::ops::Deref for IOleInPlaceFrame { type Target = IOleInPlaceUIWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleInPlaceFrame, windows_core::IUnknown, IOleWindow, IOleInPlaceUIWindow); @@ -4970,7 +4970,7 @@ windows_core::imp::define_interface!(IOleInPlaceObject, IOleInPlaceObject_Vtbl, impl std::ops::Deref for IOleInPlaceObject { type Target = IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleInPlaceObject, windows_core::IUnknown, IOleWindow); @@ -5000,7 +5000,7 @@ windows_core::imp::define_interface!(IOleInPlaceObjectWindowless, IOleInPlaceObj impl std::ops::Deref for IOleInPlaceObjectWindowless { type Target = IOleInPlaceObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleInPlaceObjectWindowless, windows_core::IUnknown, IOleWindow, IOleInPlaceObject); @@ -5010,11 +5010,11 @@ impl IOleInPlaceObjectWindowless { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnWindowMessage)(windows_core::Interface::as_raw(self), msg, wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetDropTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDropTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5028,7 +5028,7 @@ windows_core::imp::define_interface!(IOleInPlaceSite, IOleInPlaceSite_Vtbl, 0x00 impl std::ops::Deref for IOleInPlaceSite { type Target = IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleInPlaceSite, windows_core::IUnknown, IOleWindow); @@ -5089,7 +5089,7 @@ windows_core::imp::define_interface!(IOleInPlaceSiteEx, IOleInPlaceSiteEx_Vtbl, impl std::ops::Deref for IOleInPlaceSiteEx { type Target = IOleInPlaceSite; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleInPlaceSiteEx, windows_core::IUnknown, IOleWindow, IOleInPlaceSite); @@ -5118,7 +5118,7 @@ windows_core::imp::define_interface!(IOleInPlaceSiteWindowless, IOleInPlaceSiteW impl std::ops::Deref for IOleInPlaceSiteWindowless { type Target = IOleInPlaceSiteEx; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleInPlaceSiteWindowless, windows_core::IUnknown, IOleWindow, IOleInPlaceSite, IOleInPlaceSiteEx); @@ -5146,7 +5146,7 @@ impl IOleInPlaceSiteWindowless { } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetDC(&self, prect: *const super::super::Foundation::RECT, grfflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDC)(windows_core::Interface::as_raw(self), prect, grfflags, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -5181,7 +5181,7 @@ impl IOleInPlaceSiteWindowless { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnDefWindowMessage)(windows_core::Interface::as_raw(self), msg, wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } } @@ -5214,13 +5214,13 @@ windows_core::imp::define_interface!(IOleInPlaceUIWindow, IOleInPlaceUIWindow_Vt impl std::ops::Deref for IOleInPlaceUIWindow { type Target = IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleInPlaceUIWindow, windows_core::IUnknown, IOleWindow); impl IOleInPlaceUIWindow { pub unsafe fn GetBorder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBorder)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequestBorderSpace(&self, pborderwidths: *const super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -5249,7 +5249,7 @@ windows_core::imp::define_interface!(IOleItemContainer, IOleItemContainer_Vtbl, impl std::ops::Deref for IOleItemContainer { type Target = IOleContainer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleItemContainer, windows_core::IUnknown, IParseDisplayName, IOleContainer); @@ -5298,7 +5298,7 @@ windows_core::imp::define_interface!(IOleLink, IOleLink_Vtbl, 0x0000011d_0000_00 impl std::ops::Deref for IOleLink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleLink, windows_core::IUnknown); @@ -5307,7 +5307,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUpdateOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5319,7 +5319,7 @@ impl IOleLink { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSourceMoniker(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceMoniker)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSourceDisplayName(&self, pszstatustext: P0) -> windows_core::Result<()> @@ -5329,7 +5329,7 @@ impl IOleLink { (windows_core::Interface::vtable(self).SetSourceDisplayName)(windows_core::Interface::as_raw(self), pszstatustext.param().abi()).ok() } pub unsafe fn GetSourceDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceDisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5343,7 +5343,7 @@ impl IOleLink { (windows_core::Interface::vtable(self).BindIfRunning)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetBoundSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoundSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnbindSource(&self) -> windows_core::Result<()> { @@ -5388,7 +5388,7 @@ windows_core::imp::define_interface!(IOleObject, IOleObject_Vtbl, 0x00000112_000 impl std::ops::Deref for IOleObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleObject, windows_core::IUnknown); @@ -5400,7 +5400,7 @@ impl IOleObject { (windows_core::Interface::vtable(self).SetClientSite)(windows_core::Interface::as_raw(self), pclientsite.param().abi()).ok() } pub unsafe fn GetClientSite(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClientSite)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetHostNames(&self, szcontainerapp: P0, szcontainerobj: P1) -> windows_core::Result<()> @@ -5422,7 +5422,7 @@ impl IOleObject { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMoniker(&self, dwassign: OLEGETMONIKER, dwwhichmoniker: OLEWHICHMK) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMoniker)(windows_core::Interface::as_raw(self), dwassign.0 as _, dwwhichmoniker.0 as _, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5435,7 +5435,7 @@ impl IOleObject { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClipboardData(&self, dwreserved: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClipboardData)(windows_core::Interface::as_raw(self), dwreserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -5447,7 +5447,7 @@ impl IOleObject { (windows_core::Interface::vtable(self).DoVerb)(windows_core::Interface::as_raw(self), iverb, lpmsg, pactivesite.param().abi(), lindex, hwndparent.param().abi(), lprcposrect).ok() } pub unsafe fn EnumVerbs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumVerbs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Update(&self) -> windows_core::Result<()> { @@ -5457,11 +5457,11 @@ impl IOleObject { (windows_core::Interface::vtable(self).IsUpToDate)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetUserClassID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserClassID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUserType(&self, dwformoftype: USERCLASSTYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserType)(windows_core::Interface::as_raw(self), dwformoftype.0 as _, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5470,7 +5470,7 @@ impl IOleObject { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExtent(&self, dwdrawaspect: super::Com::DVASPECT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtent)(windows_core::Interface::as_raw(self), dwdrawaspect, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -5478,7 +5478,7 @@ impl IOleObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), padvsink.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwconnection: u32) -> windows_core::Result<()> { @@ -5486,12 +5486,12 @@ impl IOleObject { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumAdvise(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumAdvise)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMiscStatus(&self, dwaspect: super::Com::DVASPECT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMiscStatus)(windows_core::Interface::as_raw(self), dwaspect, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -5561,7 +5561,7 @@ windows_core::imp::define_interface!(IOleParentUndoUnit, IOleParentUndoUnit_Vtbl impl std::ops::Deref for IOleParentUndoUnit { type Target = IOleUndoUnit; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleParentUndoUnit, windows_core::IUnknown, IOleUndoUnit); @@ -5592,7 +5592,7 @@ impl IOleParentUndoUnit { (windows_core::Interface::vtable(self).FindUnit)(windows_core::Interface::as_raw(self), puu.param().abi()).ok() } pub unsafe fn GetParentState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5609,7 +5609,7 @@ windows_core::imp::define_interface!(IOleUILinkContainerA, IOleUILinkContainerA_ impl std::ops::Deref for IOleUILinkContainerA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleUILinkContainerA, windows_core::IUnknown); @@ -5621,7 +5621,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLinkUpdateOptions)(windows_core::Interface::as_raw(self), dwlink, &mut result__).map(|| result__) } pub unsafe fn SetLinkSource(&self, dwlink: u32, lpszdisplayname: P0, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: P1) -> windows_core::Result<()> @@ -5664,7 +5664,7 @@ windows_core::imp::define_interface!(IOleUILinkContainerW, IOleUILinkContainerW_ impl std::ops::Deref for IOleUILinkContainerW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleUILinkContainerW, windows_core::IUnknown); @@ -5676,7 +5676,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLinkUpdateOptions)(windows_core::Interface::as_raw(self), dwlink, &mut result__).map(|| result__) } pub unsafe fn SetLinkSource(&self, dwlink: u32, lpszdisplayname: P0, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: P1) -> windows_core::Result<()> @@ -5719,13 +5719,13 @@ windows_core::imp::define_interface!(IOleUILinkInfoA, IOleUILinkInfoA_Vtbl, 0); impl std::ops::Deref for IOleUILinkInfoA { type Target = IOleUILinkContainerA; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleUILinkInfoA, windows_core::IUnknown, IOleUILinkContainerA); impl IOleUILinkInfoA { pub unsafe fn GetLastUpdate(&self, dwlink: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastUpdate)(windows_core::Interface::as_raw(self), dwlink, &mut result__).map(|| result__) } } @@ -5738,13 +5738,13 @@ windows_core::imp::define_interface!(IOleUILinkInfoW, IOleUILinkInfoW_Vtbl, 0); impl std::ops::Deref for IOleUILinkInfoW { type Target = IOleUILinkContainerW; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleUILinkInfoW, windows_core::IUnknown, IOleUILinkContainerW); impl IOleUILinkInfoW { pub unsafe fn GetLastUpdate(&self, dwlink: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastUpdate)(windows_core::Interface::as_raw(self), dwlink, &mut result__).map(|| result__) } } @@ -5757,7 +5757,7 @@ windows_core::imp::define_interface!(IOleUIObjInfoA, IOleUIObjInfoA_Vtbl, 0); impl std::ops::Deref for IOleUIObjInfoA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleUIObjInfoA, windows_core::IUnknown); @@ -5795,7 +5795,7 @@ windows_core::imp::define_interface!(IOleUIObjInfoW, IOleUIObjInfoW_Vtbl, 0); impl std::ops::Deref for IOleUIObjInfoW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleUIObjInfoW, windows_core::IUnknown); @@ -5833,7 +5833,7 @@ windows_core::imp::define_interface!(IOleUndoManager, IOleUndoManager_Vtbl, 0xd0 impl std::ops::Deref for IOleUndoManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleUndoManager, windows_core::IUnknown); @@ -5858,7 +5858,7 @@ impl IOleUndoManager { (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), puu.param().abi()).ok() } pub unsafe fn GetOpenParentState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOpenParentState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DiscardFrom(&self, puu: P0) -> windows_core::Result<()> @@ -5880,19 +5880,19 @@ impl IOleUndoManager { (windows_core::Interface::vtable(self).RedoTo)(windows_core::Interface::as_raw(self), puu.param().abi()).ok() } pub unsafe fn EnumUndoable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumUndoable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumRedoable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRedoable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLastUndoDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastUndoDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLastRedoDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastRedoDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Enable(&self, fenable: P0) -> windows_core::Result<()> @@ -5914,15 +5914,15 @@ pub struct IOleUndoManager_Vtbl { pub RedoTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumUndoable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumRedoable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetLastUndoDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetLastRedoDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLastUndoDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLastRedoDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleUndoUnit, IOleUndoUnit_Vtbl, 0x894ad3b0_ef97_11ce_9bc9_00aa00608e01); impl std::ops::Deref for IOleUndoUnit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleUndoUnit, windows_core::IUnknown); @@ -5934,7 +5934,7 @@ impl IOleUndoUnit { (windows_core::Interface::vtable(self).Do)(windows_core::Interface::as_raw(self), pundomanager.param().abi()).ok() } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUnitType(&self, pclsid: *mut windows_core::GUID, plid: *mut i32) -> windows_core::Result<()> { @@ -5948,7 +5948,7 @@ impl IOleUndoUnit { pub struct IOleUndoUnit_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Do: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetUnitType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut i32) -> windows_core::HRESULT, pub OnNextAdd: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -5956,13 +5956,13 @@ windows_core::imp::define_interface!(IOleWindow, IOleWindow_Vtbl, 0x00000114_000 impl std::ops::Deref for IOleWindow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOleWindow, windows_core::IUnknown); impl IOleWindow { pub unsafe fn GetWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ContextSensitiveHelp(&self, fentermode: P0) -> windows_core::Result<()> @@ -5982,7 +5982,7 @@ windows_core::imp::define_interface!(IParseDisplayName, IParseDisplayName_Vtbl, impl std::ops::Deref for IParseDisplayName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IParseDisplayName, windows_core::IUnknown); @@ -6008,34 +6008,34 @@ windows_core::imp::define_interface!(IPerPropertyBrowsing, IPerPropertyBrowsing_ impl std::ops::Deref for IPerPropertyBrowsing { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPerPropertyBrowsing, windows_core::IUnknown); impl IPerPropertyBrowsing { pub unsafe fn GetDisplayString(&self, dispid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayString)(windows_core::Interface::as_raw(self), dispid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MapPropertyToPage(&self, dispid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MapPropertyToPage)(windows_core::Interface::as_raw(self), dispid, &mut result__).map(|| result__) } pub unsafe fn GetPredefinedStrings(&self, dispid: i32, pcastringsout: *mut CALPOLESTR, pcacookiesout: *mut CADWORD) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetPredefinedStrings)(windows_core::Interface::as_raw(self), dispid, pcastringsout, pcacookiesout).ok() } pub unsafe fn GetPredefinedValue(&self, dispid: i32, dwcookie: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPredefinedValue)(windows_core::Interface::as_raw(self), dispid, dwcookie, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IPerPropertyBrowsing_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDisplayString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDisplayString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MapPropertyToPage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetPredefinedStrings: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut CALPOLESTR, *mut CADWORD) -> windows_core::HRESULT, - pub GetPredefinedValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPredefinedValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistPropertyBag, IPersistPropertyBag_Vtbl, 0x37d84f60_42cb_11ce_8135_00aa004bb851); @@ -6043,7 +6043,7 @@ windows_core::imp::define_interface!(IPersistPropertyBag, IPersistPropertyBag_Vt impl std::ops::Deref for IPersistPropertyBag { type Target = super::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6091,7 +6091,7 @@ windows_core::imp::define_interface!(IPersistPropertyBag2, IPersistPropertyBag2_ impl std::ops::Deref for IPersistPropertyBag2 { type Target = super::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6141,29 +6141,29 @@ windows_core::imp::define_interface!(IPicture, IPicture_Vtbl, 0x7bf80980_bf32_10 impl std::ops::Deref for IPicture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPicture, windows_core::IUnknown); impl IPicture { pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn hPal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).hPal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Width(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Height(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Height)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -6181,7 +6181,7 @@ impl IPicture { } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn CurDC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurDC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -6192,7 +6192,7 @@ impl IPicture { (windows_core::Interface::vtable(self).SelectPicture)(windows_core::Interface::as_raw(self), hdcin.param().abi(), phdcout, phbmpout).ok() } pub unsafe fn KeepOriginalFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeepOriginalFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetKeepOriginalFormat(&self, keep: P0) -> windows_core::Result<()> @@ -6210,11 +6210,11 @@ impl IPicture { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveAsFile)(windows_core::Interface::as_raw(self), pstream.param().abi(), fsavememcopy.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Attributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6252,29 +6252,29 @@ windows_core::imp::define_interface!(IPicture2, IPicture2_Vtbl, 0xf5185dd8_2012_ impl std::ops::Deref for IPicture2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPicture2, windows_core::IUnknown); impl IPicture2 { pub unsafe fn Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn hPal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).hPal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Width(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Height(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Height)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -6289,7 +6289,7 @@ impl IPicture2 { } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn CurDC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurDC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -6300,7 +6300,7 @@ impl IPicture2 { (windows_core::Interface::vtable(self).SelectPicture)(windows_core::Interface::as_raw(self), hdcin.param().abi(), phdcout, phbmpout).ok() } pub unsafe fn KeepOriginalFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeepOriginalFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetKeepOriginalFormat(&self, keep: P0) -> windows_core::Result<()> @@ -6318,11 +6318,11 @@ impl IPicture2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveAsFile)(windows_core::Interface::as_raw(self), pstream.param().abi(), fsavememcopy.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Attributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6362,7 +6362,7 @@ windows_core::imp::define_interface!(IPictureDisp, IPictureDisp_Vtbl, 0x7bf80981 impl std::ops::Deref for IPictureDisp { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6378,13 +6378,13 @@ windows_core::imp::define_interface!(IPointerInactive, IPointerInactive_Vtbl, 0x impl std::ops::Deref for IPointerInactive { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPointerInactive, windows_core::IUnknown); impl IPointerInactive { pub unsafe fn GetActivationPolicy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivationPolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OnInactiveMouseMove(&self, prectbounds: *const super::super::Foundation::RECT, x: i32, y: i32, grfkeystate: u32) -> windows_core::Result<()> { @@ -6408,7 +6408,7 @@ windows_core::imp::define_interface!(IPrint, IPrint_Vtbl, 0xb722bcc9_4e68_101b_a impl std::ops::Deref for IPrint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrint, windows_core::IUnknown); @@ -6441,7 +6441,7 @@ windows_core::imp::define_interface!(IPropertyNotifySink, IPropertyNotifySink_Vt impl std::ops::Deref for IPropertyNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyNotifySink, windows_core::IUnknown); @@ -6463,7 +6463,7 @@ windows_core::imp::define_interface!(IPropertyPage, IPropertyPage_Vtbl, 0xb196b2 impl std::ops::Deref for IPropertyPage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyPage, windows_core::IUnknown); @@ -6535,7 +6535,7 @@ windows_core::imp::define_interface!(IPropertyPage2, IPropertyPage2_Vtbl, 0x01e4 impl std::ops::Deref for IPropertyPage2 { type Target = IPropertyPage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyPage2, windows_core::IUnknown, IPropertyPage); @@ -6553,7 +6553,7 @@ windows_core::imp::define_interface!(IPropertyPageSite, IPropertyPageSite_Vtbl, impl std::ops::Deref for IPropertyPageSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyPageSite, windows_core::IUnknown); @@ -6562,11 +6562,11 @@ impl IPropertyPageSite { (windows_core::Interface::vtable(self).OnStatusChange)(windows_core::Interface::as_raw(self), dwflags.0 as _).ok() } pub unsafe fn GetLocaleID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocaleID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPageContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -6589,13 +6589,13 @@ windows_core::imp::define_interface!(IProtectFocus, IProtectFocus_Vtbl, 0xd81f90 impl std::ops::Deref for IProtectFocus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProtectFocus, windows_core::IUnknown); impl IProtectFocus { pub unsafe fn AllowFocusChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowFocusChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6608,14 +6608,14 @@ windows_core::imp::define_interface!(IProtectedModeMenuServices, IProtectedModeM impl std::ops::Deref for IProtectedModeMenuServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProtectedModeMenuServices, windows_core::IUnknown); impl IProtectedModeMenuServices { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn CreateMenu(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMenu)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -6624,7 +6624,7 @@ impl IProtectedModeMenuServices { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadMenu)(windows_core::Interface::as_raw(self), pszmodulename.param().abi(), pszmenuname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -6632,7 +6632,7 @@ impl IProtectedModeMenuServices { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadMenuID)(windows_core::Interface::as_raw(self), pszmodulename.param().abi(), wresourceid, &mut result__).map(|| result__) } } @@ -6656,14 +6656,14 @@ windows_core::imp::define_interface!(IProvideClassInfo, IProvideClassInfo_Vtbl, impl std::ops::Deref for IProvideClassInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvideClassInfo, windows_core::IUnknown); impl IProvideClassInfo { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetClassInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClassInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6679,13 +6679,13 @@ windows_core::imp::define_interface!(IProvideClassInfo2, IProvideClassInfo2_Vtbl impl std::ops::Deref for IProvideClassInfo2 { type Target = IProvideClassInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvideClassInfo2, windows_core::IUnknown, IProvideClassInfo); impl IProvideClassInfo2 { pub unsafe fn GetGUID(&self, dwguidkind: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGUID)(windows_core::Interface::as_raw(self), dwguidkind, &mut result__).map(|| result__) } } @@ -6698,13 +6698,13 @@ windows_core::imp::define_interface!(IProvideMultipleClassInfo, IProvideMultiple impl std::ops::Deref for IProvideMultipleClassInfo { type Target = IProvideClassInfo2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvideMultipleClassInfo, windows_core::IUnknown, IProvideClassInfo, IProvideClassInfo2); impl IProvideMultipleClassInfo { pub unsafe fn GetMultiTypeInfoCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMultiTypeInfoCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -6725,7 +6725,7 @@ windows_core::imp::define_interface!(IProvideRuntimeContext, IProvideRuntimeCont impl std::ops::Deref for IProvideRuntimeContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvideRuntimeContext, windows_core::IUnknown); @@ -6743,7 +6743,7 @@ windows_core::imp::define_interface!(IQuickActivate, IQuickActivate_Vtbl, 0xcf51 impl std::ops::Deref for IQuickActivate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQuickActivate, windows_core::IUnknown); @@ -6756,7 +6756,7 @@ impl IQuickActivate { (windows_core::Interface::vtable(self).SetContentExtent)(windows_core::Interface::as_raw(self), psizel).ok() } pub unsafe fn GetContentExtent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContentExtent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6774,7 +6774,7 @@ windows_core::imp::define_interface!(IRecordInfo, IRecordInfo_Vtbl, 0x0000002f_0 impl std::ops::Deref for IRecordInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRecordInfo, windows_core::IUnknown); @@ -6789,27 +6789,27 @@ impl IRecordInfo { (windows_core::Interface::vtable(self).RecordCopy)(windows_core::Interface::as_raw(self), pvexisting, pvnew).ok() } pub unsafe fn GetGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTypeInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetField(&self, pvdata: *const core::ffi::c_void, szfieldname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetField)(windows_core::Interface::as_raw(self), pvdata, szfieldname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFieldNoCopy(&self, pvdata: *const core::ffi::c_void, szfieldname: P0, pvarfield: *mut windows_core::VARIANT, ppvdatacarray: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -6856,17 +6856,17 @@ pub struct IRecordInfo_Vtbl { pub RecordClear: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, pub RecordCopy: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetTypeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetTypeInfo: usize, - pub GetField: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFieldNoCopy: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PutField: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutFieldNoCopy: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFieldNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetField: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFieldNoCopy: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PutField: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutFieldNoCopy: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFieldNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsMatchingType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> super::super::Foundation::BOOL, pub RecordCreate: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut core::ffi::c_void, pub RecordCreateCopy: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6876,7 +6876,7 @@ windows_core::imp::define_interface!(ISimpleFrameSite, ISimpleFrameSite_Vtbl, 0x impl std::ops::Deref for ISimpleFrameSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimpleFrameSite, windows_core::IUnknown); @@ -6908,13 +6908,13 @@ windows_core::imp::define_interface!(ISpecifyPropertyPages, ISpecifyPropertyPage impl std::ops::Deref for ISpecifyPropertyPages { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpecifyPropertyPages, windows_core::IUnknown); impl ISpecifyPropertyPages { pub unsafe fn GetPages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPages)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6927,7 +6927,7 @@ windows_core::imp::define_interface!(ITypeChangeEvents, ITypeChangeEvents_Vtbl, impl std::ops::Deref for ITypeChangeEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeChangeEvents, windows_core::IUnknown); @@ -6938,7 +6938,7 @@ impl ITypeChangeEvents { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestTypeChange)(windows_core::Interface::as_raw(self), changekind, ptinfobefore.param().abi(), pstrname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -6966,7 +6966,7 @@ windows_core::imp::define_interface!(ITypeFactory, ITypeFactory_Vtbl, 0x0000002e impl std::ops::Deref for ITypeFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITypeFactory, windows_core::IUnknown); @@ -6976,7 +6976,7 @@ impl ITypeFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFromTypeInfo)(windows_core::Interface::as_raw(self), ptypeinfo.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6992,13 +6992,13 @@ windows_core::imp::define_interface!(ITypeMarshal, ITypeMarshal_Vtbl, 0x0000002d impl std::ops::Deref for ITypeMarshal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), pvtype, dwdestcontext, pvdestcontext, &mut result__).map(|| result__) } pub unsafe fn Marshal(&self, pvtype: *const core::ffi::c_void, dwdestcontext: u32, pvdestcontext: *const core::ffi::c_void, pbuffer: &mut [u8], pcbwritten: *mut u32) -> windows_core::Result<()> { @@ -7023,7 +7023,7 @@ windows_core::imp::define_interface!(IVBFormat, IVBFormat_Vtbl, 0x9849fd60_3768_ impl std::ops::Deref for IVBFormat { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVBFormat, windows_core::IUnknown); @@ -7038,20 +7038,20 @@ impl IVBFormat { #[repr(C)] pub struct IVBFormat_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, u16, i32, i16, u16, *mut u16) -> windows_core::HRESULT, + pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, u16, i32, i16, u16, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVBGetControl, IVBGetControl_Vtbl, 0x40a050a0_3c31_101b_a82e_08002b2b2337); impl std::ops::Deref for IVBGetControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVBGetControl, windows_core::IUnknown); impl IVBGetControl { #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumControls(&self, dwolecontf: OLECONTF, dwwhich: ENUM_CONTROLS_WHICH_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumControls)(windows_core::Interface::as_raw(self), dwolecontf.0 as _, dwwhich, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7067,7 +7067,7 @@ windows_core::imp::define_interface!(IVariantChangeType, IVariantChangeType_Vtbl impl std::ops::Deref for IVariantChangeType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVariantChangeType, windows_core::IUnknown); @@ -7081,7 +7081,7 @@ impl IVariantChangeType { pub struct IVariantChangeType_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Variant")] - pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *const std::mem::MaybeUninit, u32, super::Variant::VARENUM) -> windows_core::HRESULT, + pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *const core::mem::MaybeUninit, u32, super::Variant::VARENUM) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Variant"))] ChangeType: usize, } @@ -7089,7 +7089,7 @@ windows_core::imp::define_interface!(IViewObject, IViewObject_Vtbl, 0x0000010d_0 impl std::ops::Deref for IViewObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewObject, windows_core::IUnknown); @@ -7157,14 +7157,14 @@ windows_core::imp::define_interface!(IViewObject2, IViewObject2_Vtbl, 0x00000127 impl std::ops::Deref for IViewObject2 { type Target = IViewObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewObject2, windows_core::IUnknown, IViewObject); impl IViewObject2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetExtent(&self, dwdrawaspect: super::Com::DVASPECT, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExtent)(windows_core::Interface::as_raw(self), dwdrawaspect, lindex, ptd, &mut result__).map(|| result__) } } @@ -7180,25 +7180,25 @@ windows_core::imp::define_interface!(IViewObjectEx, IViewObjectEx_Vtbl, 0x3af242 impl std::ops::Deref for IViewObjectEx { type Target = IViewObject2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewObjectEx, windows_core::IUnknown, IViewObject, IViewObject2); impl IViewObjectEx { pub unsafe fn GetRect(&self, dwaspect: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRect)(windows_core::Interface::as_raw(self), dwaspect, &mut result__).map(|| result__) } pub unsafe fn GetViewStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryHitPoint)(windows_core::Interface::as_raw(self), dwaspect, prectbounds, core::mem::transmute(ptlloc), lclosehint, &mut result__).map(|| result__) } 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryHitRect)(windows_core::Interface::as_raw(self), dwaspect, prectbounds, prectloc, lclosehint, &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] @@ -7206,7 +7206,7 @@ impl IViewObjectEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNaturalExtent)(windows_core::Interface::as_raw(self), dwaspect, lindex, ptd, hictargetdev.param().abi(), pextentinfo, &mut result__).map(|| result__) } } @@ -7226,7 +7226,7 @@ windows_core::imp::define_interface!(IZoomEvents, IZoomEvents_Vtbl, 0x41b68150_9 impl std::ops::Deref for IZoomEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IZoomEvents, windows_core::IUnknown); @@ -9874,7 +9874,7 @@ impl Default for CAUUID { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct CLEANLOCALSTORAGE { - pub pInterface: std::mem::ManuallyDrop>, + pub pInterface: core::mem::ManuallyDrop>, pub pStorage: *mut core::ffi::c_void, pub flags: u32, } @@ -10258,7 +10258,7 @@ pub struct OLEUICHANGESOURCEA { pub hResource: super::super::Foundation::HRSRC, pub lpOFN: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEA, pub dwReserved1: [u32; 4], - pub lpOleUILinkContainer: std::mem::ManuallyDrop>, + pub lpOleUILinkContainer: core::mem::ManuallyDrop>, pub dwLink: u32, pub lpszDisplayName: windows_core::PSTR, pub nFileLength: u32, @@ -10296,7 +10296,7 @@ pub struct OLEUICHANGESOURCEW { pub hResource: super::super::Foundation::HRSRC, pub lpOFN: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEW, pub dwReserved1: [u32; 4], - pub lpOleUILinkContainer: std::mem::ManuallyDrop>, + pub lpOleUILinkContainer: core::mem::ManuallyDrop>, pub dwLink: u32, pub lpszDisplayName: windows_core::PWSTR, pub nFileLength: u32, @@ -10399,7 +10399,7 @@ pub struct OLEUIEDITLINKSA { pub hInstance: super::super::Foundation::HINSTANCE, pub lpszTemplate: windows_core::PCSTR, pub hResource: super::super::Foundation::HRSRC, - pub lpOleUILinkContainer: std::mem::ManuallyDrop>, + pub lpOleUILinkContainer: core::mem::ManuallyDrop>, } impl Clone for OLEUIEDITLINKSA { fn clone(&self) -> Self { @@ -10426,7 +10426,7 @@ pub struct OLEUIEDITLINKSW { pub hInstance: super::super::Foundation::HINSTANCE, pub lpszTemplate: windows_core::PCWSTR, pub hResource: super::super::Foundation::HRSRC, - pub lpOleUILinkContainer: std::mem::ManuallyDrop>, + pub lpOleUILinkContainer: core::mem::ManuallyDrop>, } impl Clone for OLEUIEDITLINKSW { fn clone(&self) -> Self { @@ -10506,8 +10506,8 @@ pub struct OLEUIINSERTOBJECTA { pub iid: windows_core::GUID, pub oleRender: u32, pub lpFormatEtc: *mut super::Com::FORMATETC, - pub lpIOleClientSite: std::mem::ManuallyDrop>, - pub lpIStorage: std::mem::ManuallyDrop>, + pub lpIOleClientSite: core::mem::ManuallyDrop>, + pub lpIStorage: core::mem::ManuallyDrop>, pub ppvObj: *mut *mut core::ffi::c_void, pub sc: i32, pub hMetaPict: super::super::Foundation::HGLOBAL, @@ -10549,8 +10549,8 @@ pub struct OLEUIINSERTOBJECTW { pub iid: windows_core::GUID, pub oleRender: u32, pub lpFormatEtc: *mut super::Com::FORMATETC, - pub lpIOleClientSite: std::mem::ManuallyDrop>, - pub lpIStorage: std::mem::ManuallyDrop>, + pub lpIOleClientSite: core::mem::ManuallyDrop>, + pub lpIStorage: core::mem::ManuallyDrop>, pub ppvObj: *mut *mut core::ffi::c_void, pub sc: i32, pub hMetaPict: super::super::Foundation::HGLOBAL, @@ -10623,9 +10623,9 @@ pub struct OLEUIOBJECTPROPSA { pub dwFlags: OBJECT_PROPERTIES_FLAGS, pub lpPS: *mut super::super::UI::Controls::PROPSHEETHEADERA_V2, pub dwObject: u32, - pub lpObjInfo: std::mem::ManuallyDrop>, + pub lpObjInfo: core::mem::ManuallyDrop>, pub dwLink: u32, - pub lpLinkInfo: std::mem::ManuallyDrop>, + pub lpLinkInfo: core::mem::ManuallyDrop>, pub lpGP: *mut OLEUIGNRLPROPSA, pub lpVP: *mut OLEUIVIEWPROPSA, pub lpLP: *mut OLEUILINKPROPSA, @@ -10654,9 +10654,9 @@ pub struct OLEUIOBJECTPROPSW { pub dwFlags: OBJECT_PROPERTIES_FLAGS, pub lpPS: *mut super::super::UI::Controls::PROPSHEETHEADERW_V2, pub dwObject: u32, - pub lpObjInfo: std::mem::ManuallyDrop>, + pub lpObjInfo: core::mem::ManuallyDrop>, pub dwLink: u32, - pub lpLinkInfo: std::mem::ManuallyDrop>, + pub lpLinkInfo: core::mem::ManuallyDrop>, pub lpGP: *mut OLEUIGNRLPROPSW, pub lpVP: *mut OLEUIVIEWPROPSW, pub lpLP: *mut OLEUILINKPROPSW, @@ -10730,7 +10730,7 @@ pub struct OLEUIPASTESPECIALA { pub hInstance: super::super::Foundation::HINSTANCE, pub lpszTemplate: windows_core::PCSTR, pub hResource: super::super::Foundation::HRSRC, - pub lpSrcDataObj: std::mem::ManuallyDrop>, + pub lpSrcDataObj: core::mem::ManuallyDrop>, pub arrPasteEntries: *mut OLEUIPASTEENTRYA, pub cPasteEntries: i32, pub arrLinkTypes: *mut u32, @@ -10771,7 +10771,7 @@ pub struct OLEUIPASTESPECIALW { pub hInstance: super::super::Foundation::HINSTANCE, pub lpszTemplate: windows_core::PCWSTR, pub hResource: super::super::Foundation::HRSRC, - pub lpSrcDataObj: std::mem::ManuallyDrop>, + pub lpSrcDataObj: core::mem::ManuallyDrop>, pub arrPasteEntries: *mut OLEUIPASTEENTRYW, pub cPasteEntries: i32, pub arrLinkTypes: *mut u32, @@ -10948,7 +10948,7 @@ impl Default for PARAMDESC { #[derive(Debug, Eq, PartialEq)] pub struct PARAMDESCEX { pub cBytes: u32, - pub varDefaultValue: std::mem::ManuallyDrop, + pub varDefaultValue: core::mem::ManuallyDrop, } impl Clone for PARAMDESCEX { fn clone(&self) -> Self { @@ -11104,21 +11104,21 @@ impl Default for PROPPAGEINFO { #[derive(Debug, Eq, PartialEq)] pub struct QACONTAINER { pub cbSize: u32, - pub pClientSite: std::mem::ManuallyDrop>, - pub pAdviseSink: std::mem::ManuallyDrop>, - pub pPropertyNotifySink: std::mem::ManuallyDrop>, - pub pUnkEventSink: std::mem::ManuallyDrop>, + pub pClientSite: core::mem::ManuallyDrop>, + pub pAdviseSink: core::mem::ManuallyDrop>, + pub pPropertyNotifySink: core::mem::ManuallyDrop>, + pub pUnkEventSink: core::mem::ManuallyDrop>, pub dwAmbientFlags: u32, pub colorFore: u32, pub colorBack: u32, - pub pFont: std::mem::ManuallyDrop>, - pub pUndoMgr: std::mem::ManuallyDrop>, + pub pFont: core::mem::ManuallyDrop>, + pub pUndoMgr: core::mem::ManuallyDrop>, pub dwAppearance: u32, pub lcid: i32, pub hpal: super::super::Graphics::Gdi::HPALETTE, - pub pBindHost: std::mem::ManuallyDrop>, - pub pOleControlSite: std::mem::ManuallyDrop>, - pub pServiceProvider: std::mem::ManuallyDrop>, + pub pBindHost: core::mem::ManuallyDrop>, + pub pOleControlSite: core::mem::ManuallyDrop>, + pub pServiceProvider: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] impl Clone for QACONTAINER { @@ -11309,7 +11309,7 @@ impl Default for UDATE { pub struct _wireBRECORD { pub fFlags: u32, pub clSize: u32, - pub pRecInfo: std::mem::ManuallyDrop>, + pub pRecInfo: core::mem::ManuallyDrop>, pub pRecord: *mut u8, } impl Clone for _wireBRECORD { @@ -11387,8 +11387,8 @@ pub union _wireVARIANT_0 { pub cyVal: super::Com::CY, pub date: f64, pub bstrVal: *mut super::Com::FLAGGED_WORD_BLOB, - pub punkVal: std::mem::ManuallyDrop>, - pub pdispVal: std::mem::ManuallyDrop>, + pub punkVal: core::mem::ManuallyDrop>, + pub pdispVal: core::mem::ManuallyDrop>, pub parray: *mut *mut _wireSAFEARRAY, pub brecVal: *mut _wireBRECORD, pub pbVal: *mut u8, diff --git a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs index 7b1c8aacba..118270ef8f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs @@ -29,7 +29,7 @@ pub trait IWPCProviderConfig_Impl: Sized { impl windows_core::RuntimeName for IWPCProviderConfig {} impl IWPCProviderConfig_Vtbl { pub const fn new, Impl: IWPCProviderConfig_Impl, const OFFSET: isize>() -> IWPCProviderConfig_Vtbl { - unsafe extern "system" fn GetUserSummary, Impl: IWPCProviderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsid: std::mem::MaybeUninit, pbstrusersummary: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUserSummary, Impl: IWPCProviderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsid: core::mem::MaybeUninit, pbstrusersummary: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWPCProviderConfig_Impl::GetUserSummary(this, core::mem::transmute(&bstrsid)) { @@ -40,12 +40,12 @@ impl IWPCProviderConfig_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Configure, Impl: IWPCProviderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: super::super::Foundation::HWND, bstrsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Configure, Impl: IWPCProviderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: super::super::Foundation::HWND, bstrsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWPCProviderConfig_Impl::Configure(this, core::mem::transmute_copy(&hwnd), core::mem::transmute(&bstrsid)).into() } - unsafe extern "system" fn RequestOverride, Impl: IWPCProviderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: super::super::Foundation::HWND, bstrpath: std::mem::MaybeUninit, dwflags: u32) -> windows_core::HRESULT { + unsafe extern "system" fn RequestOverride, Impl: IWPCProviderConfig_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: super::super::Foundation::HWND, bstrpath: core::mem::MaybeUninit, dwflags: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWPCProviderConfig_Impl::RequestOverride(this, core::mem::transmute_copy(&hwnd), core::mem::transmute(&bstrpath), core::mem::transmute(&dwflags)).into() 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 7333855654..80f829fc20 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs @@ -2,13 +2,13 @@ windows_core::imp::define_interface!(IWPCGamesSettings, IWPCGamesSettings_Vtbl, impl std::ops::Deref for IWPCGamesSettings { type Target = IWPCSettings; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWPCGamesSettings, windows_core::IUnknown, IWPCSettings); impl IWPCGamesSettings { pub unsafe fn IsBlocked(&self, guidappid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsBlocked)(windows_core::Interface::as_raw(self), core::mem::transmute(guidappid), &mut result__).map(|| result__) } } @@ -21,7 +21,7 @@ windows_core::imp::define_interface!(IWPCProviderConfig, IWPCProviderConfig_Vtbl impl std::ops::Deref for IWPCProviderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWPCProviderConfig, windows_core::IUnknown); @@ -30,7 +30,7 @@ impl IWPCProviderConfig { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserSummary)(windows_core::Interface::as_raw(self), bstrsid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Configure(&self, hwnd: P0, bstrsid: P1) -> windows_core::Result<()> @@ -51,15 +51,15 @@ impl IWPCProviderConfig { #[repr(C)] pub struct IWPCProviderConfig_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetUserSummary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RequestOverride: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub GetUserSummary: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RequestOverride: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWPCProviderState, IWPCProviderState_Vtbl, 0x50b6a267_c4bd_450b_adb5_759073837c9e); impl std::ops::Deref for IWPCProviderState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWPCProviderState, windows_core::IUnknown); @@ -81,13 +81,13 @@ windows_core::imp::define_interface!(IWPCProviderSupport, IWPCProviderSupport_Vt impl std::ops::Deref for IWPCProviderSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWPCProviderSupport, windows_core::IUnknown); impl IWPCProviderSupport { pub unsafe fn GetCurrent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -100,21 +100,21 @@ windows_core::imp::define_interface!(IWPCSettings, IWPCSettings_Vtbl, 0x8fdf6ca1 impl std::ops::Deref for IWPCSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWPCSettings, windows_core::IUnknown); impl IWPCSettings { pub unsafe fn IsLoggingRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLoggingRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastSettingsChangeTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastSettingsChangeTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRestrictions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestrictions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -129,13 +129,13 @@ windows_core::imp::define_interface!(IWPCWebSettings, IWPCWebSettings_Vtbl, 0xff impl std::ops::Deref for IWPCWebSettings { type Target = IWPCSettings; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWPCWebSettings, windows_core::IUnknown, IWPCSettings); impl IWPCWebSettings { pub unsafe fn GetSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSettings)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequestURLOverride(&self, hwnd: P0, pcszurl: P1, ppcszsuburls: Option<&[windows_core::PCWSTR]>) -> windows_core::Result @@ -143,7 +143,7 @@ impl IWPCWebSettings { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestURLOverride)(windows_core::Interface::as_raw(self), hwnd.param().abi(), pcszurl.param().abi(), ppcszsuburls.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(ppcszsuburls.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &mut result__).map(|| result__) } } @@ -157,7 +157,7 @@ windows_core::imp::define_interface!(IWindowsParentalControls, IWindowsParentalC impl std::ops::Deref for IWindowsParentalControls { type Target = IWindowsParentalControlsCore; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWindowsParentalControls, windows_core::IUnknown, IWindowsParentalControlsCore); @@ -166,7 +166,7 @@ impl IWindowsParentalControls { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGamesSettings)(windows_core::Interface::as_raw(self), pcszsid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -179,27 +179,27 @@ windows_core::imp::define_interface!(IWindowsParentalControlsCore, IWindowsParen impl std::ops::Deref for IWindowsParentalControlsCore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWindowsParentalControlsCore, windows_core::IUnknown); impl IWindowsParentalControlsCore { pub unsafe fn GetVisibility(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisibility)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUserSettings(&self, pcszsid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserSettings)(windows_core::Interface::as_raw(self), pcszsid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetWebSettings(&self, pcszsid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWebSettings)(windows_core::Interface::as_raw(self), pcszsid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetWebFilterInfo(&self, pguidid: *mut windows_core::GUID, ppszname: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs index 7eaa7e852a..2840a1ab74 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs @@ -135,7 +135,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); IAlertDataCollector_Impl::SetSampleInterval(this, core::mem::transmute_copy(&interval)).into() } - unsafe extern "system" fn Task, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Task, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAlertDataCollector_Impl::Task(this) { @@ -146,7 +146,7 @@ impl IAlertDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTask, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTask, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAlertDataCollector_Impl::SetTask(this, core::mem::transmute(&task)).into() @@ -167,7 +167,7 @@ impl IAlertDataCollector_Vtbl { let this = (*this).get_impl(); IAlertDataCollector_Impl::SetTaskRunAsSelf(this, core::mem::transmute_copy(&runasself)).into() } - unsafe extern "system" fn TaskArguments, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskArguments, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAlertDataCollector_Impl::TaskArguments(this) { @@ -178,12 +178,12 @@ impl IAlertDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTaskArguments, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTaskArguments, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAlertDataCollector_Impl::SetTaskArguments(this, core::mem::transmute(&task)).into() } - unsafe extern "system" fn TaskUserTextArguments, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskUserTextArguments, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAlertDataCollector_Impl::TaskUserTextArguments(this) { @@ -194,12 +194,12 @@ impl IAlertDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTaskUserTextArguments, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTaskUserTextArguments, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAlertDataCollector_Impl::SetTaskUserTextArguments(this, core::mem::transmute(&task)).into() } - unsafe extern "system" fn TriggerDataCollectorSet, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TriggerDataCollectorSet, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAlertDataCollector_Impl::TriggerDataCollectorSet(this) { @@ -210,7 +210,7 @@ impl IAlertDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTriggerDataCollectorSet, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTriggerDataCollectorSet, Impl: IAlertDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAlertDataCollector_Impl::SetTriggerDataCollectorSet(this, core::mem::transmute(&name)).into() @@ -293,7 +293,7 @@ impl IApiTracingDataCollector_Vtbl { let this = (*this).get_impl(); IApiTracingDataCollector_Impl::SetLogApisRecursively(this, core::mem::transmute_copy(&logrecursively)).into() } - unsafe extern "system" fn ExePath, Impl: IApiTracingDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, exepath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExePath, Impl: IApiTracingDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, exepath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IApiTracingDataCollector_Impl::ExePath(this) { @@ -304,12 +304,12 @@ impl IApiTracingDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExePath, Impl: IApiTracingDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, exepath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExePath, Impl: IApiTracingDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, exepath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IApiTracingDataCollector_Impl::SetExePath(this, core::mem::transmute(&exepath)).into() } - unsafe extern "system" fn LogFilePath, Impl: IApiTracingDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logfilepath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LogFilePath, Impl: IApiTracingDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logfilepath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IApiTracingDataCollector_Impl::LogFilePath(this) { @@ -320,7 +320,7 @@ impl IApiTracingDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLogFilePath, Impl: IApiTracingDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logfilepath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLogFilePath, Impl: IApiTracingDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, logfilepath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IApiTracingDataCollector_Impl::SetLogFilePath(this, core::mem::transmute(&logfilepath)).into() @@ -549,7 +549,7 @@ impl IConfigurationDataCollector_Vtbl { let this = (*this).get_impl(); IConfigurationDataCollector_Impl::SetRegistryMaxRecursiveDepth(this, core::mem::transmute_copy(&depth)).into() } - unsafe extern "system" fn SystemStateFile, Impl: IConfigurationDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SystemStateFile, Impl: IConfigurationDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IConfigurationDataCollector_Impl::SystemStateFile(this) { @@ -560,7 +560,7 @@ impl IConfigurationDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSystemStateFile, Impl: IConfigurationDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSystemStateFile, Impl: IConfigurationDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IConfigurationDataCollector_Impl::SetSystemStateFile(this, core::mem::transmute(&filename)).into() @@ -683,7 +683,7 @@ impl ICounterItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: ICounterItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: ICounterItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICounterItem_Impl::Path(this) { @@ -766,7 +766,7 @@ impl ICounterItem2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDataAt, Impl: ICounterItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iindex: i32, iwhich: SysmonDataType, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDataAt, Impl: ICounterItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iindex: i32, iwhich: SysmonDataType, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICounterItem2_Impl::GetDataAt(this, core::mem::transmute_copy(&iindex), core::mem::transmute_copy(&iwhich)) { @@ -825,7 +825,7 @@ impl ICounters_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ICounters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ICounters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICounters_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -836,7 +836,7 @@ impl ICounters_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ICounters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pathname: std::mem::MaybeUninit, ppi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ICounters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pathname: core::mem::MaybeUninit, ppi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICounters_Impl::Add(this, core::mem::transmute(&pathname)) { @@ -847,7 +847,7 @@ impl ICounters_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: ICounters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: ICounters_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICounters_Impl::Remove(this, core::mem::transmute(&index)).into() @@ -925,7 +925,7 @@ impl IDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FileName, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileName, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollector_Impl::FileName(this) { @@ -936,7 +936,7 @@ impl IDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFileName, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFileName, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollector_Impl::SetFileName(this, core::mem::transmute(&name)).into() @@ -957,7 +957,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); IDataCollector_Impl::SetFileNameFormat(this, core::mem::transmute_copy(&format)).into() } - unsafe extern "system" fn FileNameFormatPattern, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FileNameFormatPattern, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollector_Impl::FileNameFormatPattern(this) { @@ -968,12 +968,12 @@ impl IDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFileNameFormatPattern, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFileNameFormatPattern, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollector_Impl::SetFileNameFormatPattern(this, core::mem::transmute(&pattern)).into() } - unsafe extern "system" fn LatestOutputLocation, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LatestOutputLocation, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollector_Impl::LatestOutputLocation(this) { @@ -984,7 +984,7 @@ impl IDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLatestOutputLocation, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLatestOutputLocation, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollector_Impl::SetLatestOutputLocation(this, core::mem::transmute(&path)).into() @@ -1037,7 +1037,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); IDataCollector_Impl::SetLogOverwrite(this, core::mem::transmute_copy(&overwrite)).into() } - unsafe extern "system" fn Name, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollector_Impl::Name(this) { @@ -1048,12 +1048,12 @@ impl IDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollector_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn OutputLocation, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OutputLocation, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollector_Impl::OutputLocation(this) { @@ -1080,7 +1080,7 @@ impl IDataCollector_Vtbl { let this = (*this).get_impl(); IDataCollector_Impl::SetIndex(this, core::mem::transmute_copy(&index)).into() } - unsafe extern "system" fn Xml, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Xml, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollector_Impl::Xml(this) { @@ -1091,7 +1091,7 @@ impl IDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetXml, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: std::mem::MaybeUninit, validation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SetXml, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: core::mem::MaybeUninit, validation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollector_Impl::SetXml(this, core::mem::transmute(&xml)) { @@ -1102,7 +1102,7 @@ impl IDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateOutputLocation, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, latest: super::super::Foundation::VARIANT_BOOL, location: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CreateOutputLocation, Impl: IDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, latest: super::super::Foundation::VARIANT_BOOL, location: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollector_Impl::CreateOutputLocation(this, core::mem::transmute_copy(&latest)) { @@ -1174,7 +1174,7 @@ impl IDataCollectorCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IDataCollectorCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, collector: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IDataCollectorCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, collector: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorCollection_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -1201,7 +1201,7 @@ impl IDataCollectorCollection_Vtbl { let this = (*this).get_impl(); IDataCollectorCollection_Impl::Add(this, windows_core::from_raw_borrowed(&collector)).into() } - unsafe extern "system" fn Remove, Impl: IDataCollectorCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, collector: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IDataCollectorCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, collector: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorCollection_Impl::Remove(this, core::mem::transmute(&collector)).into() @@ -1216,7 +1216,7 @@ impl IDataCollectorCollection_Vtbl { let this = (*this).get_impl(); IDataCollectorCollection_Impl::AddRange(this, windows_core::from_raw_borrowed(&collectors)).into() } - unsafe extern "system" fn CreateDataCollectorFromXml, Impl: IDataCollectorCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: std::mem::MaybeUninit, pvalidation: *mut *mut core::ffi::c_void, pcollector: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateDataCollectorFromXml, Impl: IDataCollectorCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: core::mem::MaybeUninit, pvalidation: *mut *mut core::ffi::c_void, pcollector: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorCollection_Impl::CreateDataCollectorFromXml(this, core::mem::transmute(&bstrxml), core::mem::transmute_copy(&pvalidation), core::mem::transmute_copy(&pcollector)).into() @@ -1344,7 +1344,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); IDataCollectorSet_Impl::SetDuration(this, core::mem::transmute_copy(&seconds)).into() } - unsafe extern "system" fn Description, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::Description(this) { @@ -1355,12 +1355,12 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetDescription(this, core::mem::transmute(&description)).into() } - unsafe extern "system" fn DescriptionUnresolved, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, descr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DescriptionUnresolved, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, descr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::DescriptionUnresolved(this) { @@ -1371,7 +1371,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::DisplayName(this) { @@ -1382,12 +1382,12 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, displayname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetDisplayName(this, core::mem::transmute(&displayname)).into() } - unsafe extern "system" fn DisplayNameUnresolved, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayNameUnresolved, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::DisplayNameUnresolved(this) { @@ -1414,7 +1414,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); IDataCollectorSet_Impl::SetKeywords(this, core::mem::transmute_copy(&keywords)).into() } - unsafe extern "system" fn LatestOutputLocation, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LatestOutputLocation, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::LatestOutputLocation(this) { @@ -1425,12 +1425,12 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLatestOutputLocation, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLatestOutputLocation, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetLatestOutputLocation(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn Name, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::Name(this) { @@ -1441,7 +1441,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OutputLocation, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OutputLocation, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::OutputLocation(this) { @@ -1452,7 +1452,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RootPath, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RootPath, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::RootPath(this) { @@ -1463,7 +1463,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRootPath, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRootPath, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetRootPath(this, core::mem::transmute(&folder)).into() @@ -1532,7 +1532,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); IDataCollectorSet_Impl::SetSerialNumber(this, core::mem::transmute_copy(&index)).into() } - unsafe extern "system" fn Server, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Server, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::Server(this) { @@ -1554,7 +1554,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Subdirectory, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Subdirectory, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::Subdirectory(this) { @@ -1565,7 +1565,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSubdirectory, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubdirectory, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, folder: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetSubdirectory(this, core::mem::transmute(&folder)).into() @@ -1586,7 +1586,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); IDataCollectorSet_Impl::SetSubdirectoryFormat(this, core::mem::transmute_copy(&format)).into() } - unsafe extern "system" fn SubdirectoryFormatPattern, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SubdirectoryFormatPattern, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::SubdirectoryFormatPattern(this) { @@ -1597,12 +1597,12 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSubdirectoryFormatPattern, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubdirectoryFormatPattern, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetSubdirectoryFormatPattern(this, core::mem::transmute(&pattern)).into() } - unsafe extern "system" fn Task, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Task, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::Task(this) { @@ -1613,7 +1613,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTask, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTask, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetTask(this, core::mem::transmute(&task)).into() @@ -1634,7 +1634,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); IDataCollectorSet_Impl::SetTaskRunAsSelf(this, core::mem::transmute_copy(&runasself)).into() } - unsafe extern "system" fn TaskArguments, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskArguments, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::TaskArguments(this) { @@ -1645,12 +1645,12 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTaskArguments, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTaskArguments, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, task: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetTaskArguments(this, core::mem::transmute(&task)).into() } - unsafe extern "system" fn TaskUserTextArguments, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, usertext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TaskUserTextArguments, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, usertext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::TaskUserTextArguments(this) { @@ -1661,7 +1661,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTaskUserTextArguments, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, usertext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTaskUserTextArguments, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, usertext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetTaskUserTextArguments(this, core::mem::transmute(&usertext)).into() @@ -1693,7 +1693,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); IDataCollectorSet_Impl::SetSchedulesEnabled(this, core::mem::transmute_copy(&enabled)).into() } - unsafe extern "system" fn UserAccount, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserAccount, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::UserAccount(this) { @@ -1704,7 +1704,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Xml, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Xml, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::Xml(this) { @@ -1715,7 +1715,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Security, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsecurity: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Security, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsecurity: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::Security(this) { @@ -1726,7 +1726,7 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSecurity, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsecurity: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurity, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsecurity: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetSecurity(this, core::mem::transmute(&bstrsecurity)).into() @@ -1758,17 +1758,17 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCredentials, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: std::mem::MaybeUninit, password: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCredentials, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: core::mem::MaybeUninit, password: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetCredentials(this, core::mem::transmute(&user), core::mem::transmute(&password)).into() } - unsafe extern "system" fn Query, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, server: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Query, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, server: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::Query(this, core::mem::transmute(&name), core::mem::transmute(&server)).into() } - unsafe extern "system" fn Commit, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, server: std::mem::MaybeUninit, mode: CommitMode, validation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Commit, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, server: core::mem::MaybeUninit, mode: CommitMode, validation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::Commit(this, core::mem::transmute(&name), core::mem::transmute(&server), core::mem::transmute_copy(&mode)) { @@ -1794,7 +1794,7 @@ impl IDataCollectorSet_Vtbl { let this = (*this).get_impl(); IDataCollectorSet_Impl::Stop(this, core::mem::transmute_copy(&synchronous)).into() } - unsafe extern "system" fn SetXml, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: std::mem::MaybeUninit, validation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SetXml, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: core::mem::MaybeUninit, validation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::SetXml(this, core::mem::transmute(&xml)) { @@ -1805,12 +1805,12 @@ impl IDataCollectorSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSet_Impl::SetValue(this, core::mem::transmute(&key), core::mem::transmute(&value)).into() } - unsafe extern "system" fn GetValue, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IDataCollectorSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSet_Impl::GetValue(this, core::mem::transmute(&key)) { @@ -1916,7 +1916,7 @@ impl IDataCollectorSetCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IDataCollectorSetCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, set: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IDataCollectorSetCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, set: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataCollectorSetCollection_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -1943,7 +1943,7 @@ impl IDataCollectorSetCollection_Vtbl { let this = (*this).get_impl(); IDataCollectorSetCollection_Impl::Add(this, windows_core::from_raw_borrowed(&set)).into() } - unsafe extern "system" fn Remove, Impl: IDataCollectorSetCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, set: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IDataCollectorSetCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, set: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSetCollection_Impl::Remove(this, core::mem::transmute(&set)).into() @@ -1958,7 +1958,7 @@ impl IDataCollectorSetCollection_Vtbl { let this = (*this).get_impl(); IDataCollectorSetCollection_Impl::AddRange(this, windows_core::from_raw_borrowed(&sets)).into() } - unsafe extern "system" fn GetDataCollectorSets, Impl: IDataCollectorSetCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: std::mem::MaybeUninit, filter: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDataCollectorSets, Impl: IDataCollectorSetCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: core::mem::MaybeUninit, filter: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataCollectorSetCollection_Impl::GetDataCollectorSets(this, core::mem::transmute(&server), core::mem::transmute(&filter)).into() @@ -2119,7 +2119,7 @@ impl IDataManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReportSchema, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reportschema: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReportSchema, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reportschema: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataManager_Impl::ReportSchema(this) { @@ -2130,12 +2130,12 @@ impl IDataManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetReportSchema, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reportschema: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetReportSchema, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reportschema: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataManager_Impl::SetReportSchema(this, core::mem::transmute(&reportschema)).into() } - unsafe extern "system" fn ReportFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReportFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataManager_Impl::ReportFileName(this) { @@ -2146,12 +2146,12 @@ impl IDataManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetReportFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetReportFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataManager_Impl::SetReportFileName(this, core::mem::transmute(&pbstrfilename)).into() } - unsafe extern "system" fn RuleTargetFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RuleTargetFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataManager_Impl::RuleTargetFileName(this) { @@ -2162,12 +2162,12 @@ impl IDataManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRuleTargetFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRuleTargetFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, filename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataManager_Impl::SetRuleTargetFileName(this, core::mem::transmute(&filename)).into() } - unsafe extern "system" fn EventsFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EventsFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataManager_Impl::EventsFileName(this) { @@ -2178,12 +2178,12 @@ impl IDataManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEventsFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEventsFileName, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataManager_Impl::SetEventsFileName(this, core::mem::transmute(&pbstrfilename)).into() } - unsafe extern "system" fn Rules, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Rules, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataManager_Impl::Rules(this) { @@ -2194,12 +2194,12 @@ impl IDataManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRules, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRules, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataManager_Impl::SetRules(this, core::mem::transmute(&bstrxml)).into() } - unsafe extern "system" fn Run, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, steps: DataManagerSteps, bstrfolder: std::mem::MaybeUninit, errors: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Run, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, steps: DataManagerSteps, bstrfolder: core::mem::MaybeUninit, errors: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDataManager_Impl::Run(this, core::mem::transmute_copy(&steps), core::mem::transmute(&bstrfolder)) { @@ -2210,7 +2210,7 @@ impl IDataManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Extract, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cabfilename: std::mem::MaybeUninit, destinationpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Extract, Impl: IDataManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cabfilename: core::mem::MaybeUninit, destinationpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDataManager_Impl::Extract(this, core::mem::transmute(&cabfilename), core::mem::transmute(&destinationpath)).into() @@ -2312,7 +2312,7 @@ impl IFolderAction_Vtbl { let this = (*this).get_impl(); IFolderAction_Impl::SetActions(this, core::mem::transmute_copy(&steps)).into() } - unsafe extern "system" fn SendCabTo, Impl: IFolderAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdestination: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SendCabTo, Impl: IFolderAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdestination: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFolderAction_Impl::SendCabTo(this) { @@ -2323,7 +2323,7 @@ impl IFolderAction_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSendCabTo, Impl: IFolderAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdestination: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSendCabTo, Impl: IFolderAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdestination: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFolderAction_Impl::SetSendCabTo(this, core::mem::transmute(&bstrdestination)).into() @@ -2371,7 +2371,7 @@ impl IFolderActionCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IFolderActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, action: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IFolderActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, action: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFolderActionCollection_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -2398,7 +2398,7 @@ impl IFolderActionCollection_Vtbl { let this = (*this).get_impl(); IFolderActionCollection_Impl::Add(this, windows_core::from_raw_borrowed(&action)).into() } - unsafe extern "system" fn Remove, Impl: IFolderActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IFolderActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFolderActionCollection_Impl::Remove(this, core::mem::transmute(&index)).into() @@ -2446,7 +2446,7 @@ pub trait ILogFileItem_Impl: Sized { impl windows_core::RuntimeName for ILogFileItem {} impl ILogFileItem_Vtbl { pub const fn new, Impl: ILogFileItem_Impl, const OFFSET: isize>() -> ILogFileItem_Vtbl { - unsafe extern "system" fn Path, Impl: ILogFileItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: ILogFileItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILogFileItem_Impl::Path(this) { @@ -2498,7 +2498,7 @@ impl ILogFiles_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ILogFiles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ILogFiles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILogFiles_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -2509,7 +2509,7 @@ impl ILogFiles_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ILogFiles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pathname: std::mem::MaybeUninit, ppi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ILogFiles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pathname: core::mem::MaybeUninit, ppi: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILogFiles_Impl::Add(this, core::mem::transmute(&pathname)) { @@ -2520,7 +2520,7 @@ impl ILogFiles_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: ILogFiles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: ILogFiles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILogFiles_Impl::Remove(this, core::mem::transmute(&index)).into() @@ -2556,7 +2556,7 @@ impl windows_core::RuntimeName for IPerformanceCounterDataCollector {} #[cfg(feature = "Win32_System_Com")] impl IPerformanceCounterDataCollector_Vtbl { pub const fn new, Impl: IPerformanceCounterDataCollector_Impl, const OFFSET: isize>() -> IPerformanceCounterDataCollector_Vtbl { - unsafe extern "system" fn DataSourceName, Impl: IPerformanceCounterDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dsn: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DataSourceName, Impl: IPerformanceCounterDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dsn: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPerformanceCounterDataCollector_Impl::DataSourceName(this) { @@ -2567,7 +2567,7 @@ impl IPerformanceCounterDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDataSourceName, Impl: IPerformanceCounterDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dsn: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDataSourceName, Impl: IPerformanceCounterDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dsn: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPerformanceCounterDataCollector_Impl::SetDataSourceName(this, core::mem::transmute(&dsn)).into() @@ -2670,7 +2670,7 @@ impl windows_core::RuntimeName for ISchedule {} #[cfg(feature = "Win32_System_Com")] impl ISchedule_Vtbl { pub const fn new, Impl: ISchedule_Impl, const OFFSET: isize>() -> ISchedule_Vtbl { - unsafe extern "system" fn StartDate, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StartDate, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchedule_Impl::StartDate(this) { @@ -2681,12 +2681,12 @@ impl ISchedule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStartDate, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStartDate, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISchedule_Impl::SetStartDate(this, core::mem::transmute(&start)).into() } - unsafe extern "system" fn EndDate, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, end: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EndDate, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, end: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchedule_Impl::EndDate(this) { @@ -2697,12 +2697,12 @@ impl ISchedule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEndDate, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, end: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEndDate, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, end: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISchedule_Impl::SetEndDate(this, core::mem::transmute(&end)).into() } - unsafe extern "system" fn StartTime, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StartTime, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISchedule_Impl::StartTime(this) { @@ -2713,7 +2713,7 @@ impl ISchedule_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStartTime, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStartTime, Impl: ISchedule_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISchedule_Impl::SetStartTime(this, core::mem::transmute(&start)).into() @@ -2777,7 +2777,7 @@ impl IScheduleCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IScheduleCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppschedule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IScheduleCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppschedule: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScheduleCollection_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -2804,7 +2804,7 @@ impl IScheduleCollection_Vtbl { let this = (*this).get_impl(); IScheduleCollection_Impl::Add(this, windows_core::from_raw_borrowed(&pschedule)).into() } - unsafe extern "system" fn Remove, Impl: IScheduleCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vschedule: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IScheduleCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vschedule: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IScheduleCollection_Impl::Remove(this, core::mem::transmute(&vschedule)).into() @@ -3181,12 +3181,12 @@ impl ISystemMonitor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetGraphTitle, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstitle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGraphTitle, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstitle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISystemMonitor_Impl::SetGraphTitle(this, core::mem::transmute(&bstitle)).into() } - unsafe extern "system" fn GraphTitle, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GraphTitle, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISystemMonitor_Impl::GraphTitle(this) { @@ -3197,12 +3197,12 @@ impl ISystemMonitor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetYAxisLabel, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstitle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetYAxisLabel, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstitle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISystemMonitor_Impl::SetYAxisLabel(this, core::mem::transmute(&bstitle)).into() } - unsafe extern "system" fn YAxisLabel, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn YAxisLabel, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISystemMonitor_Impl::YAxisLabel(this) { @@ -3244,7 +3244,7 @@ impl ISystemMonitor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddCounter, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bspath: std::mem::MaybeUninit, ppicounter: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddCounter, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bspath: core::mem::MaybeUninit, ppicounter: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISystemMonitor_Impl::AddCounter(this, core::mem::transmute(&bspath)) { @@ -3276,12 +3276,12 @@ impl ISystemMonitor_Vtbl { let this = (*this).get_impl(); ISystemMonitor_Impl::SetBackColorCtl(this, core::mem::transmute_copy(&color)).into() } - unsafe extern "system" fn SetLogFileName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLogFileName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISystemMonitor_Impl::SetLogFileName(this, core::mem::transmute(&bsfilename)).into() } - unsafe extern "system" fn LogFileName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsfilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LogFileName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsfilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISystemMonitor_Impl::LogFileName(this) { @@ -3494,12 +3494,12 @@ impl ISystemMonitor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSqlDsnName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqldsnname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSqlDsnName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqldsnname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISystemMonitor_Impl::SetSqlDsnName(this, core::mem::transmute(&bssqldsnname)).into() } - unsafe extern "system" fn SqlDsnName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqldsnname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SqlDsnName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqldsnname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISystemMonitor_Impl::SqlDsnName(this) { @@ -3510,12 +3510,12 @@ impl ISystemMonitor_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSqlLogSetName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqllogsetname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSqlLogSetName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqllogsetname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISystemMonitor_Impl::SetSqlLogSetName(this, core::mem::transmute(&bssqllogsetname)).into() } - unsafe extern "system" fn SqlLogSetName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqllogsetname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SqlLogSetName, Impl: ISystemMonitor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqllogsetname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISystemMonitor_Impl::SqlLogSetName(this) { @@ -3723,12 +3723,12 @@ impl ISystemMonitor2_Vtbl { let this = (*this).get_impl(); ISystemMonitor2_Impl::ScaleToFit(this, core::mem::transmute_copy(&bselectedcountersonly)).into() } - unsafe extern "system" fn SaveAs, Impl: ISystemMonitor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit, esysmonfiletype: SysmonFileType) -> windows_core::HRESULT { + unsafe extern "system" fn SaveAs, Impl: ISystemMonitor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit, esysmonfiletype: SysmonFileType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISystemMonitor2_Impl::SaveAs(this, core::mem::transmute(&bstrfilename), core::mem::transmute_copy(&esysmonfiletype)).into() } - unsafe extern "system" fn Relog, Impl: ISystemMonitor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit, esysmonfiletype: SysmonFileType, ifilter: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Relog, Impl: ISystemMonitor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit, esysmonfiletype: SysmonFileType, ifilter: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISystemMonitor2_Impl::Relog(this, core::mem::transmute(&bstrfilename), core::mem::transmute_copy(&esysmonfiletype), core::mem::transmute_copy(&ifilter)).into() @@ -3775,7 +3775,7 @@ impl ISystemMonitor2_Vtbl { let this = (*this).get_impl(); ISystemMonitor2_Impl::BatchingLock(this, core::mem::transmute_copy(&flock), core::mem::transmute_copy(&ebatchreason)).into() } - unsafe extern "system" fn LoadSettings, Impl: ISystemMonitor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsettingfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoadSettings, Impl: ISystemMonitor2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsettingfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISystemMonitor2_Impl::LoadSettings(this, core::mem::transmute(&bstrsettingfilename)).into() @@ -4171,7 +4171,7 @@ impl ITraceDataCollector_Vtbl { let this = (*this).get_impl(); ITraceDataCollector_Impl::SetSessionId(this, core::mem::transmute_copy(&id)).into() } - unsafe extern "system" fn SessionName, Impl: ITraceDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SessionName, Impl: ITraceDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITraceDataCollector_Impl::SessionName(this) { @@ -4182,7 +4182,7 @@ impl ITraceDataCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSessionName, Impl: ITraceDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSessionName, Impl: ITraceDataCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITraceDataCollector_Impl::SetSessionName(this, core::mem::transmute(&name)).into() @@ -4305,7 +4305,7 @@ impl windows_core::RuntimeName for ITraceDataProvider {} #[cfg(feature = "Win32_System_Com")] impl ITraceDataProvider_Vtbl { pub const fn new, Impl: ITraceDataProvider_Impl, const OFFSET: isize>() -> ITraceDataProvider_Vtbl { - unsafe extern "system" fn DisplayName, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITraceDataProvider_Impl::DisplayName(this) { @@ -4316,7 +4316,7 @@ impl ITraceDataProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITraceDataProvider_Impl::SetDisplayName(this, core::mem::transmute(&name)).into() @@ -4429,7 +4429,7 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); ITraceDataProvider_Impl::SetFilterData(this, core::mem::transmute_copy(&pdata)).into() } - unsafe extern "system" fn Query, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrserver: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Query, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrserver: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITraceDataProvider_Impl::Query(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrserver)).into() @@ -4439,12 +4439,12 @@ impl ITraceDataProvider_Vtbl { let this = (*this).get_impl(); ITraceDataProvider_Impl::Resolve(this, windows_core::from_raw_borrowed(&pfrom)).into() } - unsafe extern "system" fn SetSecurity, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sddl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurity, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sddl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITraceDataProvider_Impl::SetSecurity(this, core::mem::transmute(&sddl)).into() } - unsafe extern "system" fn GetSecurity, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securityinfo: u32, sddl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSecurity, Impl: ITraceDataProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securityinfo: u32, sddl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITraceDataProvider_Impl::GetSecurity(this, core::mem::transmute_copy(&securityinfo)) { @@ -4522,7 +4522,7 @@ impl ITraceDataProviderCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ITraceDataProviderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppprovider: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ITraceDataProviderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppprovider: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITraceDataProviderCollection_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -4549,7 +4549,7 @@ impl ITraceDataProviderCollection_Vtbl { let this = (*this).get_impl(); ITraceDataProviderCollection_Impl::Add(this, windows_core::from_raw_borrowed(&pprovider)).into() } - unsafe extern "system" fn Remove, Impl: ITraceDataProviderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vprovider: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: ITraceDataProviderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vprovider: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITraceDataProviderCollection_Impl::Remove(this, core::mem::transmute(&vprovider)).into() @@ -4575,12 +4575,12 @@ impl ITraceDataProviderCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetTraceDataProviders, Impl: ITraceDataProviderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTraceDataProviders, Impl: ITraceDataProviderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITraceDataProviderCollection_Impl::GetTraceDataProviders(this, core::mem::transmute(&server)).into() } - unsafe extern "system" fn GetTraceDataProvidersByProcess, Impl: ITraceDataProviderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: std::mem::MaybeUninit, pid: u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetTraceDataProvidersByProcess, Impl: ITraceDataProviderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: core::mem::MaybeUninit, pid: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITraceDataProviderCollection_Impl::GetTraceDataProvidersByProcess(this, core::mem::transmute(&server), core::mem::transmute_copy(&pid)).into() @@ -4636,7 +4636,7 @@ impl IValueMap_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, value: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, value: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IValueMap_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -4658,7 +4658,7 @@ impl IValueMap_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IValueMap_Impl::Description(this) { @@ -4669,12 +4669,12 @@ impl IValueMap_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IValueMap_Impl::SetDescription(this, core::mem::transmute(&description)).into() } - unsafe extern "system" fn Value, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IValueMap_Impl::Value(this) { @@ -4685,7 +4685,7 @@ impl IValueMap_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IValueMap_Impl::SetValue(this, core::mem::transmute(&value)).into() @@ -4706,12 +4706,12 @@ impl IValueMap_Vtbl { let this = (*this).get_impl(); IValueMap_Impl::SetValueMapType(this, core::mem::transmute_copy(&r#type)).into() } - unsafe extern "system" fn Add, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IValueMap_Impl::Add(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Remove, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IValueMap_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IValueMap_Impl::Remove(this, core::mem::transmute(&value)).into() @@ -4777,7 +4777,7 @@ impl windows_core::RuntimeName for IValueMapItem {} #[cfg(feature = "Win32_System_Com")] impl IValueMapItem_Vtbl { pub const fn new, Impl: IValueMapItem_Impl, const OFFSET: isize>() -> IValueMapItem_Vtbl { - unsafe extern "system" fn Description, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IValueMapItem_Impl::Description(this) { @@ -4788,7 +4788,7 @@ impl IValueMapItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IValueMapItem_Impl::SetDescription(this, core::mem::transmute(&description)).into() @@ -4809,7 +4809,7 @@ impl IValueMapItem_Vtbl { let this = (*this).get_impl(); IValueMapItem_Impl::SetEnabled(this, core::mem::transmute_copy(&enabled)).into() } - unsafe extern "system" fn Key, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Key, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IValueMapItem_Impl::Key(this) { @@ -4820,12 +4820,12 @@ impl IValueMapItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetKey, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetKey, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IValueMapItem_Impl::SetKey(this, core::mem::transmute(&key)).into() } - unsafe extern "system" fn Value, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IValueMapItem_Impl::Value(this) { @@ -4836,7 +4836,7 @@ impl IValueMapItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IValueMapItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IValueMapItem_Impl::SetValue(this, core::mem::transmute(&value)).into() @@ -4972,7 +4972,7 @@ impl _ICounterItemUnion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: _ICounterItemUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: _ICounterItemUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match _ICounterItemUnion_Impl::Path(this) { @@ -5025,7 +5025,7 @@ impl _ICounterItemUnion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDataAt, Impl: _ICounterItemUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iindex: i32, iwhich: SysmonDataType, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDataAt, Impl: _ICounterItemUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iindex: i32, iwhich: SysmonDataType, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match _ICounterItemUnion_Impl::GetDataAt(this, core::mem::transmute_copy(&iindex), core::mem::transmute_copy(&iwhich)) { @@ -5416,12 +5416,12 @@ impl _ISystemMonitorUnion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetGraphTitle, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstitle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGraphTitle, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstitle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::SetGraphTitle(this, core::mem::transmute(&bstitle)).into() } - unsafe extern "system" fn GraphTitle, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GraphTitle, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::GraphTitle(this) { @@ -5432,12 +5432,12 @@ impl _ISystemMonitorUnion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetYAxisLabel, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstitle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetYAxisLabel, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstitle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::SetYAxisLabel(this, core::mem::transmute(&bstitle)).into() } - unsafe extern "system" fn YAxisLabel, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn YAxisLabel, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::YAxisLabel(this) { @@ -5479,7 +5479,7 @@ impl _ISystemMonitorUnion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddCounter, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bspath: std::mem::MaybeUninit, ppicounter: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddCounter, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bspath: core::mem::MaybeUninit, ppicounter: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::AddCounter(this, core::mem::transmute(&bspath)) { @@ -5511,12 +5511,12 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::SetBackColorCtl(this, core::mem::transmute_copy(&color)).into() } - unsafe extern "system" fn SetLogFileName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLogFileName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::SetLogFileName(this, core::mem::transmute(&bsfilename)).into() } - unsafe extern "system" fn LogFileName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsfilename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LogFileName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bsfilename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::LogFileName(this) { @@ -5729,12 +5729,12 @@ impl _ISystemMonitorUnion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSqlDsnName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqldsnname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSqlDsnName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqldsnname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::SetSqlDsnName(this, core::mem::transmute(&bssqldsnname)).into() } - unsafe extern "system" fn SqlDsnName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqldsnname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SqlDsnName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqldsnname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::SqlDsnName(this) { @@ -5745,12 +5745,12 @@ impl _ISystemMonitorUnion_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSqlLogSetName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqllogsetname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSqlLogSetName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqllogsetname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::SetSqlLogSetName(this, core::mem::transmute(&bssqllogsetname)).into() } - unsafe extern "system" fn SqlLogSetName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqllogsetname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SqlLogSetName, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bssqllogsetname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match _ISystemMonitorUnion_Impl::SqlLogSetName(this) { @@ -5846,12 +5846,12 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::ScaleToFit(this, core::mem::transmute_copy(&bselectedcountersonly)).into() } - unsafe extern "system" fn SaveAs, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit, esysmonfiletype: SysmonFileType) -> windows_core::HRESULT { + unsafe extern "system" fn SaveAs, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit, esysmonfiletype: SysmonFileType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::SaveAs(this, core::mem::transmute(&bstrfilename), core::mem::transmute_copy(&esysmonfiletype)).into() } - unsafe extern "system" fn Relog, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: std::mem::MaybeUninit, esysmonfiletype: SysmonFileType, ifilter: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Relog, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfilename: core::mem::MaybeUninit, esysmonfiletype: SysmonFileType, ifilter: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::Relog(this, core::mem::transmute(&bstrfilename), core::mem::transmute_copy(&esysmonfiletype), core::mem::transmute_copy(&ifilter)).into() @@ -5898,7 +5898,7 @@ impl _ISystemMonitorUnion_Vtbl { let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::BatchingLock(this, core::mem::transmute_copy(&flock), core::mem::transmute_copy(&ebatchreason)).into() } - unsafe extern "system" fn LoadSettings, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsettingfilename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LoadSettings, Impl: _ISystemMonitorUnion_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsettingfilename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); _ISystemMonitorUnion_Impl::LoadSettings(this, core::mem::transmute(&bstrsettingfilename)).into() 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 3fe2e3e72b..f05be01e56 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs @@ -1011,7 +1011,7 @@ windows_core::imp::define_interface!(DICounterItem, DICounterItem_Vtbl, 0xc08c4f impl std::ops::Deref for DICounterItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1029,7 +1029,7 @@ windows_core::imp::define_interface!(DILogFileItem, DILogFileItem_Vtbl, 0x8d093f impl std::ops::Deref for DILogFileItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1047,7 +1047,7 @@ windows_core::imp::define_interface!(DISystemMonitor, DISystemMonitor_Vtbl, 0x13 impl std::ops::Deref for DISystemMonitor { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1065,7 +1065,7 @@ windows_core::imp::define_interface!(DISystemMonitorEvents, DISystemMonitorEvent impl std::ops::Deref for DISystemMonitorEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1083,7 +1083,7 @@ windows_core::imp::define_interface!(DISystemMonitorInternal, DISystemMonitorInt impl std::ops::Deref for DISystemMonitorInternal { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1101,7 +1101,7 @@ windows_core::imp::define_interface!(IAlertDataCollector, IAlertDataCollector_Vt impl std::ops::Deref for IAlertDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1110,7 +1110,7 @@ windows_core::imp::interface_hierarchy!(IAlertDataCollector, windows_core::IUnkn impl IAlertDataCollector { #[cfg(feature = "Win32_System_Com")] pub unsafe fn AlertThresholds(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlertThresholds)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1118,7 +1118,7 @@ impl IAlertDataCollector { (windows_core::Interface::vtable(self).SetAlertThresholds)(windows_core::Interface::as_raw(self), alerts).ok() } pub unsafe fn EventLog(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventLog)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEventLog(&self, log: P0) -> windows_core::Result<()> @@ -1128,14 +1128,14 @@ impl IAlertDataCollector { (windows_core::Interface::vtable(self).SetEventLog)(windows_core::Interface::as_raw(self), log.param().abi()).ok() } pub unsafe fn SampleInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SampleInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 Task(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Task)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTask(&self, task: P0) -> windows_core::Result<()> @@ -1145,7 +1145,7 @@ impl IAlertDataCollector { (windows_core::Interface::vtable(self).SetTask)(windows_core::Interface::as_raw(self), task.param().abi()).ok() } pub unsafe fn TaskRunAsSelf(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TaskRunAsSelf)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTaskRunAsSelf(&self, runasself: P0) -> windows_core::Result<()> @@ -1155,7 +1155,7 @@ impl IAlertDataCollector { (windows_core::Interface::vtable(self).SetTaskRunAsSelf)(windows_core::Interface::as_raw(self), runasself.param().abi()).ok() } pub unsafe fn TaskArguments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TaskArguments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTaskArguments(&self, task: P0) -> windows_core::Result<()> @@ -1165,7 +1165,7 @@ impl IAlertDataCollector { (windows_core::Interface::vtable(self).SetTaskArguments)(windows_core::Interface::as_raw(self), task.param().abi()).ok() } pub unsafe fn TaskUserTextArguments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TaskUserTextArguments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTaskUserTextArguments(&self, task: P0) -> windows_core::Result<()> @@ -1175,7 +1175,7 @@ impl IAlertDataCollector { (windows_core::Interface::vtable(self).SetTaskUserTextArguments)(windows_core::Interface::as_raw(self), task.param().abi()).ok() } pub unsafe fn TriggerDataCollectorSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TriggerDataCollectorSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTriggerDataCollectorSet(&self, name: P0) -> windows_core::Result<()> @@ -1201,16 +1201,16 @@ pub struct IAlertDataCollector_Vtbl { pub SetEventLog: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SampleInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSampleInterval: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub TaskRunAsSelf: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetTaskRunAsSelf: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub TaskArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTaskArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TaskUserTextArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTaskUserTextArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TriggerDataCollectorSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTriggerDataCollectorSet: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTaskArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskUserTextArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTaskUserTextArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TriggerDataCollectorSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTriggerDataCollectorSet: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IApiTracingDataCollector, IApiTracingDataCollector_Vtbl, 0x0383751a_098b_11d8_9414_505054503030); @@ -1218,7 +1218,7 @@ windows_core::imp::define_interface!(IApiTracingDataCollector, IApiTracingDataCo impl std::ops::Deref for IApiTracingDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1226,7 +1226,7 @@ windows_core::imp::interface_hierarchy!(IApiTracingDataCollector, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IApiTracingDataCollector { pub unsafe fn LogApiNamesOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogApiNamesOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogApiNamesOnly(&self, logapinames: P0) -> windows_core::Result<()> @@ -1236,7 +1236,7 @@ impl IApiTracingDataCollector { (windows_core::Interface::vtable(self).SetLogApiNamesOnly)(windows_core::Interface::as_raw(self), logapinames.param().abi()).ok() } pub unsafe fn LogApisRecursively(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogApisRecursively)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogApisRecursively(&self, logrecursively: P0) -> windows_core::Result<()> @@ -1246,7 +1246,7 @@ impl IApiTracingDataCollector { (windows_core::Interface::vtable(self).SetLogApisRecursively)(windows_core::Interface::as_raw(self), logrecursively.param().abi()).ok() } pub unsafe fn ExePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetExePath(&self, exepath: P0) -> windows_core::Result<()> @@ -1256,7 +1256,7 @@ impl IApiTracingDataCollector { (windows_core::Interface::vtable(self).SetExePath)(windows_core::Interface::as_raw(self), exepath.param().abi()).ok() } pub unsafe fn LogFilePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogFilePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLogFilePath(&self, logfilepath: P0) -> windows_core::Result<()> @@ -1267,7 +1267,7 @@ impl IApiTracingDataCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncludeModules(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncludeModules)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1276,7 +1276,7 @@ impl IApiTracingDataCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IncludeApis(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncludeApis)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1285,7 +1285,7 @@ impl IApiTracingDataCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExcludeApis(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExcludeApis)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1301,10 +1301,10 @@ pub struct IApiTracingDataCollector_Vtbl { pub SetLogApiNamesOnly: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub LogApisRecursively: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetLogApisRecursively: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ExePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExePath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LogFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLogFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExePath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLogFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub IncludeModules: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1336,7 +1336,7 @@ windows_core::imp::define_interface!(IConfigurationDataCollector, IConfiguration impl std::ops::Deref for IConfigurationDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1344,21 +1344,21 @@ windows_core::imp::interface_hierarchy!(IConfigurationDataCollector, windows_cor #[cfg(feature = "Win32_System_Com")] impl IConfigurationDataCollector { pub unsafe fn FileMaxCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileMaxCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileMaxRecursiveDepth)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileMaxTotalSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFileMaxTotalSize(&self, size: u32) -> windows_core::Result<()> { @@ -1366,7 +1366,7 @@ impl IConfigurationDataCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Files(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Files)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1375,7 +1375,7 @@ impl IConfigurationDataCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ManagementQueries(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ManagementQueries)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1383,7 +1383,7 @@ impl IConfigurationDataCollector { (windows_core::Interface::vtable(self).SetManagementQueries)(windows_core::Interface::as_raw(self), queries).ok() } pub unsafe fn QueryNetworkAdapters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryNetworkAdapters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetQueryNetworkAdapters(&self, network: P0) -> windows_core::Result<()> @@ -1394,7 +1394,7 @@ impl IConfigurationDataCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RegistryKeys(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegistryKeys)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1402,14 +1402,14 @@ impl IConfigurationDataCollector { (windows_core::Interface::vtable(self).SetRegistryKeys)(windows_core::Interface::as_raw(self), query).ok() } pub unsafe fn RegistryMaxRecursiveDepth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegistryMaxRecursiveDepth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRegistryMaxRecursiveDepth(&self, depth: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetRegistryMaxRecursiveDepth)(windows_core::Interface::as_raw(self), depth).ok() } pub unsafe fn SystemStateFile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SystemStateFile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSystemStateFile(&self, filename: P0) -> windows_core::Result<()> @@ -1457,52 +1457,52 @@ pub struct IConfigurationDataCollector_Vtbl { SetRegistryKeys: usize, pub RegistryMaxRecursiveDepth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetRegistryMaxRecursiveDepth: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub SystemStateFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSystemStateFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SystemStateFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSystemStateFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICounterItem, ICounterItem_Vtbl, 0x771a9520_ee28_11ce_941e_008029004347); impl std::ops::Deref for ICounterItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICounterItem, windows_core::IUnknown); impl ICounterItem { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Color)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LineStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScaleFactor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetValue(&self, value: *mut f64, status: *mut i32) -> windows_core::Result<()> { @@ -1524,7 +1524,7 @@ pub struct ICounterItem_Vtbl { pub LineStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetScaleFactor: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ScaleFactor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64, *mut i32) -> windows_core::HRESULT, pub GetStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64, *mut f64, *mut f64, *mut i32) -> windows_core::HRESULT, } @@ -1532,7 +1532,7 @@ windows_core::imp::define_interface!(ICounterItem2, ICounterItem2_Vtbl, 0xeefcd4 impl std::ops::Deref for ICounterItem2 { type Target = ICounterItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICounterItem2, windows_core::IUnknown, ICounterItem); @@ -1544,7 +1544,7 @@ impl ICounterItem2 { (windows_core::Interface::vtable(self).SetSelected)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn Selected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Selected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVisible(&self, bstate: P0) -> windows_core::Result<()> @@ -1554,11 +1554,11 @@ impl ICounterItem2 { (windows_core::Interface::vtable(self).SetVisible)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn Visible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Visible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataAt)(windows_core::Interface::as_raw(self), iindex, iwhich, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1569,7 +1569,7 @@ pub struct ICounterItem2_Vtbl { pub Selected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Visible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetDataAt: unsafe extern "system" fn(*mut core::ffi::c_void, i32, SysmonDataType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDataAt: unsafe extern "system" fn(*mut core::ffi::c_void, i32, SysmonDataType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICounters, ICounters_Vtbl, 0x79167962_28fc_11cf_942f_008029004347); @@ -1577,7 +1577,7 @@ windows_core::imp::define_interface!(ICounters, ICounters_Vtbl, 0x79167962_28fc_ impl std::ops::Deref for ICounters { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1585,11 +1585,11 @@ windows_core::imp::interface_hierarchy!(ICounters, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl ICounters { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1597,7 +1597,7 @@ impl ICounters { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1605,7 +1605,7 @@ impl ICounters { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), pathname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, index: P0) -> windows_core::Result<()> @@ -1622,14 +1622,14 @@ pub struct ICounters_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataCollector, IDataCollector_Vtbl, 0x038374ff_098b_11d8_9414_505054503030); @@ -1637,7 +1637,7 @@ windows_core::imp::define_interface!(IDataCollector, IDataCollector_Vtbl, 0x0383 impl std::ops::Deref for IDataCollector { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1646,7 +1646,7 @@ windows_core::imp::interface_hierarchy!(IDataCollector, windows_core::IUnknown, impl IDataCollector { #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataCollectorSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataCollectorSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1657,11 +1657,11 @@ impl IDataCollector { (windows_core::Interface::vtable(self).SetDataCollectorSet)(windows_core::Interface::as_raw(self), group.param().abi()).ok() } pub unsafe fn DataCollectorType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataCollectorType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFileName(&self, name: P0) -> windows_core::Result<()> @@ -1671,14 +1671,14 @@ impl IDataCollector { (windows_core::Interface::vtable(self).SetFileName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn FileNameFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileNameFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFileNameFormat(&self, format: AutoPathFormat) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetFileNameFormat)(windows_core::Interface::as_raw(self), format).ok() } pub unsafe fn FileNameFormatPattern(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FileNameFormatPattern)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFileNameFormatPattern(&self, pattern: P0) -> windows_core::Result<()> @@ -1688,7 +1688,7 @@ impl IDataCollector { (windows_core::Interface::vtable(self).SetFileNameFormatPattern)(windows_core::Interface::as_raw(self), pattern.param().abi()).ok() } pub unsafe fn LatestOutputLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LatestOutputLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLatestOutputLocation(&self, path: P0) -> windows_core::Result<()> @@ -1698,7 +1698,7 @@ impl IDataCollector { (windows_core::Interface::vtable(self).SetLatestOutputLocation)(windows_core::Interface::as_raw(self), path.param().abi()).ok() } pub unsafe fn LogAppend(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogAppend)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogAppend(&self, append: P0) -> windows_core::Result<()> @@ -1708,7 +1708,7 @@ impl IDataCollector { (windows_core::Interface::vtable(self).SetLogAppend)(windows_core::Interface::as_raw(self), append.param().abi()).ok() } pub unsafe fn LogCircular(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogCircular)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogCircular(&self, circular: P0) -> windows_core::Result<()> @@ -1718,7 +1718,7 @@ impl IDataCollector { (windows_core::Interface::vtable(self).SetLogCircular)(windows_core::Interface::as_raw(self), circular.param().abi()).ok() } pub unsafe fn LogOverwrite(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogOverwrite)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogOverwrite(&self, overwrite: P0) -> windows_core::Result<()> @@ -1728,7 +1728,7 @@ impl IDataCollector { (windows_core::Interface::vtable(self).SetLogOverwrite)(windows_core::Interface::as_raw(self), overwrite.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, name: P0) -> windows_core::Result<()> @@ -1738,18 +1738,18 @@ impl IDataCollector { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn OutputLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Index(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Index)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIndex(&self, index: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetIndex)(windows_core::Interface::as_raw(self), index).ok() } pub unsafe fn Xml(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Xml)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1757,14 +1757,14 @@ impl IDataCollector { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetXml)(windows_core::Interface::as_raw(self), xml.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateOutputLocation(&self, latest: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateOutputLocation)(windows_core::Interface::as_raw(self), latest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1781,31 +1781,31 @@ pub struct IDataCollector_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetDataCollectorSet: usize, pub DataCollectorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DataCollectorType) -> windows_core::HRESULT, - pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub FileNameFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AutoPathFormat) -> windows_core::HRESULT, pub SetFileNameFormat: unsafe extern "system" fn(*mut core::ffi::c_void, AutoPathFormat) -> windows_core::HRESULT, - pub FileNameFormatPattern: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFileNameFormatPattern: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FileNameFormatPattern: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileNameFormatPattern: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub LogAppend: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetLogAppend: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub LogCircular: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetLogCircular: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub LogOverwrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetLogOverwrite: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Index: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub SetXml: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetXml: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetXml: usize, - pub CreateOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataCollectorCollection, IDataCollectorCollection_Vtbl, 0x03837502_098b_11d8_9414_505054503030); @@ -1813,7 +1813,7 @@ windows_core::imp::define_interface!(IDataCollectorCollection, IDataCollectorCol impl std::ops::Deref for IDataCollectorCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1821,7 +1821,7 @@ windows_core::imp::interface_hierarchy!(IDataCollectorCollection, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IDataCollectorCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1829,11 +1829,11 @@ impl IDataCollectorCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1868,7 +1868,7 @@ impl IDataCollectorCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateDataCollector(&self, r#type: DataCollectorType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDataCollector)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1878,7 +1878,7 @@ pub struct IDataCollectorCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1886,14 +1886,14 @@ pub struct IDataCollectorCollection_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddRange: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateDataCollectorFromXml: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateDataCollectorFromXml: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateDataCollectorFromXml: usize, #[cfg(feature = "Win32_System_Com")] @@ -1907,7 +1907,7 @@ windows_core::imp::define_interface!(IDataCollectorSet, IDataCollectorSet_Vtbl, impl std::ops::Deref for IDataCollectorSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1916,18 +1916,18 @@ windows_core::imp::interface_hierarchy!(IDataCollectorSet, windows_core::IUnknow impl IDataCollectorSet { #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataCollectors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataCollectors)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Duration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Duration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDuration(&self, seconds: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetDuration)(windows_core::Interface::as_raw(self), seconds).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, description: P0) -> windows_core::Result<()> @@ -1937,11 +1937,11 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), description.param().abi()).ok() } pub unsafe fn DescriptionUnresolved(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DescriptionUnresolved)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDisplayName(&self, displayname: P0) -> windows_core::Result<()> @@ -1951,12 +1951,12 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), displayname.param().abi()).ok() } pub unsafe fn DisplayNameUnresolved(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayNameUnresolved)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Keywords(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Keywords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1964,7 +1964,7 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetKeywords)(windows_core::Interface::as_raw(self), keywords).ok() } pub unsafe fn LatestOutputLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LatestOutputLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLatestOutputLocation(&self, path: P0) -> windows_core::Result<()> @@ -1974,15 +1974,15 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetLatestOutputLocation)(windows_core::Interface::as_raw(self), path.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OutputLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutputLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RootPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRootPath(&self, folder: P0) -> windows_core::Result<()> @@ -1992,7 +1992,7 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetRootPath)(windows_core::Interface::as_raw(self), folder.param().abi()).ok() } pub unsafe fn Segment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Segment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSegment(&self, segment: P0) -> windows_core::Result<()> @@ -2002,36 +2002,36 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetSegment)(windows_core::Interface::as_raw(self), segment.param().abi()).ok() } pub unsafe fn SegmentMaxDuration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SegmentMaxDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SegmentMaxSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SerialNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSerialNumber(&self, index: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetSerialNumber)(windows_core::Interface::as_raw(self), index).ok() } pub unsafe fn Server(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Server)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Subdirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subdirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubdirectory(&self, folder: P0) -> windows_core::Result<()> @@ -2041,14 +2041,14 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetSubdirectory)(windows_core::Interface::as_raw(self), folder.param().abi()).ok() } pub unsafe fn SubdirectoryFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubdirectoryFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSubdirectoryFormat(&self, format: AutoPathFormat) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetSubdirectoryFormat)(windows_core::Interface::as_raw(self), format).ok() } pub unsafe fn SubdirectoryFormatPattern(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubdirectoryFormatPattern)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSubdirectoryFormatPattern(&self, pattern: P0) -> windows_core::Result<()> @@ -2058,7 +2058,7 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetSubdirectoryFormatPattern)(windows_core::Interface::as_raw(self), pattern.param().abi()).ok() } pub unsafe fn Task(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Task)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTask(&self, task: P0) -> windows_core::Result<()> @@ -2068,7 +2068,7 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetTask)(windows_core::Interface::as_raw(self), task.param().abi()).ok() } pub unsafe fn TaskRunAsSelf(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TaskRunAsSelf)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTaskRunAsSelf(&self, runasself: P0) -> windows_core::Result<()> @@ -2078,7 +2078,7 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetTaskRunAsSelf)(windows_core::Interface::as_raw(self), runasself.param().abi()).ok() } pub unsafe fn TaskArguments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TaskArguments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTaskArguments(&self, task: P0) -> windows_core::Result<()> @@ -2088,7 +2088,7 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetTaskArguments)(windows_core::Interface::as_raw(self), task.param().abi()).ok() } pub unsafe fn TaskUserTextArguments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TaskUserTextArguments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTaskUserTextArguments(&self, usertext: P0) -> windows_core::Result<()> @@ -2099,11 +2099,11 @@ impl IDataCollectorSet { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Schedules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Schedules)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SchedulesEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SchedulesEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSchedulesEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -2113,15 +2113,15 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetSchedulesEnabled)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn UserAccount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserAccount)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Xml(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Xml)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Security(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSecurity(&self, bstrsecurity: P0) -> windows_core::Result<()> @@ -2131,7 +2131,7 @@ impl IDataCollectorSet { (windows_core::Interface::vtable(self).SetSecurity)(windows_core::Interface::as_raw(self), bstrsecurity.param().abi()).ok() } pub unsafe fn StopOnCompletion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StopOnCompletion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStopOnCompletion(&self, stop: P0) -> windows_core::Result<()> @@ -2142,7 +2142,7 @@ impl IDataCollectorSet { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DataManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCredentials(&self, user: P0, password: P1) -> windows_core::Result<()> @@ -2165,7 +2165,7 @@ impl IDataCollectorSet { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Commit)(windows_core::Interface::as_raw(self), name.param().abi(), server.param().abi(), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -2188,7 +2188,7 @@ impl IDataCollectorSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetXml)(windows_core::Interface::as_raw(self), xml.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, key: P0, value: P1) -> windows_core::Result<()> @@ -2202,7 +2202,7 @@ impl IDataCollectorSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), key.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2216,12 +2216,12 @@ pub struct IDataCollectorSet_Vtbl { DataCollectors: usize, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DescriptionUnresolved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayNameUnresolved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DescriptionUnresolved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayNameUnresolved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Keywords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2230,12 +2230,12 @@ pub struct IDataCollectorSet_Vtbl { pub SetKeywords: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetKeywords: usize, - pub LatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RootPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRootPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLatestOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RootPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRootPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Segment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetSegment: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SegmentMaxDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -2244,53 +2244,53 @@ pub struct IDataCollectorSet_Vtbl { pub SetSegmentMaxSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSerialNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub Server: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Server: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DataCollectorSetStatus) -> windows_core::HRESULT, - pub Subdirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubdirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subdirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubdirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SubdirectoryFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AutoPathFormat) -> windows_core::HRESULT, pub SetSubdirectoryFormat: unsafe extern "system" fn(*mut core::ffi::c_void, AutoPathFormat) -> windows_core::HRESULT, - pub SubdirectoryFormatPattern: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubdirectoryFormatPattern: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SubdirectoryFormatPattern: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubdirectoryFormatPattern: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Task: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub TaskRunAsSelf: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetTaskRunAsSelf: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub TaskArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTaskArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TaskUserTextArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTaskUserTextArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTaskArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TaskUserTextArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTaskUserTextArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Schedules: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Schedules: usize, pub SchedulesEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetSchedulesEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub UserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Security: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StopOnCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetStopOnCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DataManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DataManager: usize, - pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, CommitMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, CommitMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Commit: usize, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub SetXml: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetXml: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetXml: usize, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataCollectorSetCollection, IDataCollectorSetCollection_Vtbl, 0x03837524_098b_11d8_9414_505054503030); @@ -2298,7 +2298,7 @@ windows_core::imp::define_interface!(IDataCollectorSetCollection, IDataCollector impl std::ops::Deref for IDataCollectorSetCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2306,7 +2306,7 @@ windows_core::imp::interface_hierarchy!(IDataCollectorSetCollection, windows_cor #[cfg(feature = "Win32_System_Com")] impl IDataCollectorSetCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2314,11 +2314,11 @@ impl IDataCollectorSetCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2358,7 +2358,7 @@ pub struct IDataCollectorSetCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2366,13 +2366,13 @@ pub struct IDataCollectorSetCollection_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddRange: usize, - pub GetDataCollectorSets: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDataCollectorSets: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataManager, IDataManager_Vtbl, 0x03837541_098b_11d8_9414_505054503030); @@ -2380,7 +2380,7 @@ windows_core::imp::define_interface!(IDataManager, IDataManager_Vtbl, 0x03837541 impl std::ops::Deref for IDataManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2388,7 +2388,7 @@ windows_core::imp::interface_hierarchy!(IDataManager, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IDataManager { pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, fenabled: P0) -> windows_core::Result<()> @@ -2398,7 +2398,7 @@ impl IDataManager { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn CheckBeforeRunning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckBeforeRunning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCheckBeforeRunning(&self, fcheck: P0) -> windows_core::Result<()> @@ -2408,28 +2408,28 @@ impl IDataManager { (windows_core::Interface::vtable(self).SetCheckBeforeRunning)(windows_core::Interface::as_raw(self), fcheck.param().abi()).ok() } pub unsafe fn MinFreeDisk(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinFreeDisk)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxFolderCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResourcePolicy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetResourcePolicy(&self, policy: ResourcePolicy) -> windows_core::Result<()> { @@ -2437,11 +2437,11 @@ impl IDataManager { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FolderActions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FolderActions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReportSchema(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportSchema)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetReportSchema(&self, reportschema: P0) -> windows_core::Result<()> @@ -2451,7 +2451,7 @@ impl IDataManager { (windows_core::Interface::vtable(self).SetReportSchema)(windows_core::Interface::as_raw(self), reportschema.param().abi()).ok() } pub unsafe fn ReportFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetReportFileName(&self, pbstrfilename: P0) -> windows_core::Result<()> @@ -2461,7 +2461,7 @@ impl IDataManager { (windows_core::Interface::vtable(self).SetReportFileName)(windows_core::Interface::as_raw(self), pbstrfilename.param().abi()).ok() } pub unsafe fn RuleTargetFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RuleTargetFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRuleTargetFileName(&self, filename: P0) -> windows_core::Result<()> @@ -2471,7 +2471,7 @@ impl IDataManager { (windows_core::Interface::vtable(self).SetRuleTargetFileName)(windows_core::Interface::as_raw(self), filename.param().abi()).ok() } pub unsafe fn EventsFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventsFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventsFileName(&self, pbstrfilename: P0) -> windows_core::Result<()> @@ -2481,7 +2481,7 @@ impl IDataManager { (windows_core::Interface::vtable(self).SetEventsFileName)(windows_core::Interface::as_raw(self), pbstrfilename.param().abi()).ok() } pub unsafe fn Rules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rules)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRules(&self, bstrxml: P0) -> windows_core::Result<()> @@ -2495,7 +2495,7 @@ impl IDataManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Run)(windows_core::Interface::as_raw(self), steps, bstrfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Extract(&self, cabfilename: P0, destinationpath: P1) -> windows_core::Result<()> @@ -2526,21 +2526,21 @@ pub struct IDataManager_Vtbl { pub FolderActions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FolderActions: usize, - pub ReportSchema: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReportSchema: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReportFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReportFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RuleTargetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRuleTargetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EventsFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEventsFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Rules: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRules: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - #[cfg(feature = "Win32_System_Com")] - pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, DataManagerSteps, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReportSchema: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReportSchema: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReportFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReportFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RuleTargetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRuleTargetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EventsFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEventsFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Rules: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRules: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + #[cfg(feature = "Win32_System_Com")] + pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, DataManagerSteps, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Run: usize, - pub Extract: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Extract: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFolderAction, IFolderAction_Vtbl, 0x03837543_098b_11d8_9414_505054503030); @@ -2548,7 +2548,7 @@ windows_core::imp::define_interface!(IFolderAction, IFolderAction_Vtbl, 0x038375 impl std::ops::Deref for IFolderAction { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2556,28 +2556,28 @@ windows_core::imp::interface_hierarchy!(IFolderAction, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IFolderAction { pub unsafe fn Age(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Age)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Actions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetActions(&self, steps: FolderActionSteps) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetActions)(windows_core::Interface::as_raw(self), steps).ok() } pub unsafe fn SendCabTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendCabTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSendCabTo(&self, bstrdestination: P0) -> windows_core::Result<()> @@ -2597,8 +2597,8 @@ pub struct IFolderAction_Vtbl { pub SetSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Actions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FolderActionSteps) -> windows_core::HRESULT, pub SetActions: unsafe extern "system" fn(*mut core::ffi::c_void, FolderActionSteps) -> windows_core::HRESULT, - pub SendCabTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSendCabTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SendCabTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSendCabTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFolderActionCollection, IFolderActionCollection_Vtbl, 0x03837544_098b_11d8_9414_505054503030); @@ -2606,7 +2606,7 @@ windows_core::imp::define_interface!(IFolderActionCollection, IFolderActionColle impl std::ops::Deref for IFolderActionCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2614,7 +2614,7 @@ windows_core::imp::interface_hierarchy!(IFolderActionCollection, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IFolderActionCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2622,11 +2622,11 @@ impl IFolderActionCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2654,7 +2654,7 @@ impl IFolderActionCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateFolderAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFolderAction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2664,7 +2664,7 @@ pub struct IFolderActionCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2672,7 +2672,7 @@ pub struct IFolderActionCollection_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2687,20 +2687,20 @@ windows_core::imp::define_interface!(ILogFileItem, ILogFileItem_Vtbl, 0xd6b518dd impl std::ops::Deref for ILogFileItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILogFileItem, windows_core::IUnknown); impl ILogFileItem { pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ILogFileItem_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ILogFiles, ILogFiles_Vtbl, 0x6a2a97e6_6851_41ea_87ad_2a8225335865); @@ -2708,7 +2708,7 @@ windows_core::imp::define_interface!(ILogFiles, ILogFiles_Vtbl, 0x6a2a97e6_6851_ impl std::ops::Deref for ILogFiles { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2716,11 +2716,11 @@ windows_core::imp::interface_hierarchy!(ILogFiles, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl ILogFiles { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2728,7 +2728,7 @@ impl ILogFiles { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2736,7 +2736,7 @@ impl ILogFiles { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), pathname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, index: P0) -> windows_core::Result<()> @@ -2753,14 +2753,14 @@ pub struct ILogFiles_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPerformanceCounterDataCollector, IPerformanceCounterDataCollector_Vtbl, 0x03837506_098b_11d8_9414_505054503030); @@ -2768,7 +2768,7 @@ windows_core::imp::define_interface!(IPerformanceCounterDataCollector, IPerforma impl std::ops::Deref for IPerformanceCounterDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2776,7 +2776,7 @@ windows_core::imp::interface_hierarchy!(IPerformanceCounterDataCollector, window #[cfg(feature = "Win32_System_Com")] impl IPerformanceCounterDataCollector { pub unsafe fn DataSourceName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataSourceName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDataSourceName(&self, dsn: P0) -> windows_core::Result<()> @@ -2787,7 +2787,7 @@ impl IPerformanceCounterDataCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PerformanceCounters(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PerformanceCounters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2795,21 +2795,21 @@ impl IPerformanceCounterDataCollector { (windows_core::Interface::vtable(self).SetPerformanceCounters)(windows_core::Interface::as_raw(self), counters).ok() } pub unsafe fn LogFileFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogFileFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SampleInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SegmentMaxRecords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSegmentMaxRecords(&self, records: u32) -> windows_core::Result<()> { @@ -2820,8 +2820,8 @@ impl IPerformanceCounterDataCollector { #[repr(C)] pub struct IPerformanceCounterDataCollector_Vtbl { pub base__: IDataCollector_Vtbl, - pub DataSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDataSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DataSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDataSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub PerformanceCounters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2843,7 +2843,7 @@ windows_core::imp::define_interface!(ISchedule, ISchedule_Vtbl, 0x0383753a_098b_ impl std::ops::Deref for ISchedule { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2851,7 +2851,7 @@ windows_core::imp::interface_hierarchy!(ISchedule, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl ISchedule { pub unsafe fn StartDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartDate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStartDate(&self, start: P0) -> windows_core::Result<()> @@ -2861,7 +2861,7 @@ impl ISchedule { (windows_core::Interface::vtable(self).SetStartDate)(windows_core::Interface::as_raw(self), start.param().abi()).ok() } pub unsafe fn EndDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndDate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEndDate(&self, end: P0) -> windows_core::Result<()> @@ -2871,7 +2871,7 @@ impl ISchedule { (windows_core::Interface::vtable(self).SetEndDate)(windows_core::Interface::as_raw(self), end.param().abi()).ok() } pub unsafe fn StartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStartTime(&self, start: P0) -> windows_core::Result<()> @@ -2881,7 +2881,7 @@ impl ISchedule { (windows_core::Interface::vtable(self).SetStartTime)(windows_core::Interface::as_raw(self), start.param().abi()).ok() } pub unsafe fn Days(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Days)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDays(&self, days: WeekDays) -> windows_core::Result<()> { @@ -2892,12 +2892,12 @@ impl ISchedule { #[repr(C)] pub struct ISchedule_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub StartDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStartDate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EndDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEndDate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStartDate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EndDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEndDate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Days: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WeekDays) -> windows_core::HRESULT, pub SetDays: unsafe extern "system" fn(*mut core::ffi::c_void, WeekDays) -> windows_core::HRESULT, } @@ -2907,7 +2907,7 @@ windows_core::imp::define_interface!(IScheduleCollection, IScheduleCollection_Vt impl std::ops::Deref for IScheduleCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2915,7 +2915,7 @@ windows_core::imp::interface_hierarchy!(IScheduleCollection, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IScheduleCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2923,11 +2923,11 @@ impl IScheduleCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2955,7 +2955,7 @@ impl IScheduleCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateSchedule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSchedule)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2965,7 +2965,7 @@ pub struct IScheduleCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2973,7 +2973,7 @@ pub struct IScheduleCollection_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2988,34 +2988,34 @@ windows_core::imp::define_interface!(ISystemMonitor, ISystemMonitor_Vtbl, 0x194e impl std::ops::Deref for ISystemMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISystemMonitor, windows_core::IUnknown); impl ISystemMonitor { pub unsafe fn Appearance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Appearance)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BorderStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ForeColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetForeColor(&self, color: u32) -> windows_core::Result<()> { @@ -3023,7 +3023,7 @@ impl ISystemMonitor { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Font(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Font)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -3035,7 +3035,7 @@ impl ISystemMonitor { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Counters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Counters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetShowVerticalGrid(&self, bstate: P0) -> windows_core::Result<()> @@ -3045,7 +3045,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetShowVerticalGrid)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowVerticalGrid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowVerticalGrid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowHorizontalGrid(&self, bstate: P0) -> windows_core::Result<()> @@ -3055,7 +3055,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetShowHorizontalGrid)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowHorizontalGrid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowHorizontalGrid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowLegend(&self, bstate: P0) -> windows_core::Result<()> @@ -3065,7 +3065,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetShowLegend)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowLegend(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowLegend)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowScaleLabels(&self, bstate: P0) -> windows_core::Result<()> @@ -3075,7 +3075,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetShowScaleLabels)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowScaleLabels(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowScaleLabels)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowValueBar(&self, bstate: P0) -> windows_core::Result<()> @@ -3085,35 +3085,35 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetShowValueBar)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowValueBar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowValueBar)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaximumScale)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinimumScale)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UpdateInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetManualUpdate(&self, bstate: P0) -> windows_core::Result<()> @@ -3123,7 +3123,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetManualUpdate)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ManualUpdate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ManualUpdate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGraphTitle(&self, bstitle: P0) -> windows_core::Result<()> @@ -3133,7 +3133,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetGraphTitle)(windows_core::Interface::as_raw(self), bstitle.param().abi()).ok() } pub unsafe fn GraphTitle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GraphTitle)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetYAxisLabel(&self, bstitle: P0) -> windows_core::Result<()> @@ -3143,7 +3143,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetYAxisLabel)(windows_core::Interface::as_raw(self), bstitle.param().abi()).ok() } pub unsafe fn YAxisLabel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).YAxisLabel)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CollectSample(&self) -> windows_core::Result<()> { @@ -3159,14 +3159,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Counter)(windows_core::Interface::as_raw(self), iindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddCounter(&self, bspath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddCounter)(windows_core::Interface::as_raw(self), bspath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteCounter(&self, pctr: P0) -> windows_core::Result<()> @@ -3176,7 +3176,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).DeleteCounter)(windows_core::Interface::as_raw(self), pctr.param().abi()).ok() } pub unsafe fn BackColorCtl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackColorCtl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBackColorCtl(&self, color: u32) -> windows_core::Result<()> { @@ -3189,39 +3189,39 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetLogFileName)(windows_core::Interface::as_raw(self), bsfilename.param().abi()).ok() } pub unsafe fn LogFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogViewStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogViewStop)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GridColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GridColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TimeBarColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Highlight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHighlight(&self, bstate: P0) -> windows_core::Result<()> @@ -3231,7 +3231,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetHighlight)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowToolbar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowToolbar)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowToolbar(&self, bstate: P0) -> windows_core::Result<()> @@ -3256,14 +3256,14 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetReadOnly)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportValueType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMonitorDuplicateInstances(&self, bstate: P0) -> windows_core::Result<()> @@ -3273,26 +3273,26 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetMonitorDuplicateInstances)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn MonitorDuplicateInstances(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MonitorDuplicateInstances)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayFilter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn LogFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogFiles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataSourceType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSqlDsnName(&self, bssqldsnname: P0) -> windows_core::Result<()> @@ -3302,7 +3302,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetSqlDsnName)(windows_core::Interface::as_raw(self), bssqldsnname.param().abi()).ok() } pub unsafe fn SqlDsnName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SqlDsnName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSqlLogSetName(&self, bssqllogsetname: P0) -> windows_core::Result<()> @@ -3312,7 +3312,7 @@ impl ISystemMonitor { (windows_core::Interface::vtable(self).SetSqlLogSetName)(windows_core::Interface::as_raw(self), bssqllogsetname.param().abi()).ok() } pub unsafe fn SqlLogSetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SqlLogSetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3359,21 +3359,21 @@ pub struct ISystemMonitor_Vtbl { pub DisplayType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayTypeConstants) -> windows_core::HRESULT, pub SetManualUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ManualUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetGraphTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GraphTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetYAxisLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YAxisLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGraphTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GraphTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetYAxisLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YAxisLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CollectSample: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateGraph: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub BrowseCounters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisplayProperties: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Counter: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddCounter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddCounter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteCounter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub BackColorCtl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetBackColorCtl: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub SetLogFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LogFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLogFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetLogViewStart: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub LogViewStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetLogViewStop: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, @@ -3403,16 +3403,16 @@ pub struct ISystemMonitor_Vtbl { LogFiles: usize, pub SetDataSourceType: unsafe extern "system" fn(*mut core::ffi::c_void, DataSourceTypeConstants) -> windows_core::HRESULT, pub DataSourceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DataSourceTypeConstants) -> windows_core::HRESULT, - pub SetSqlDsnName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SqlDsnName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSqlLogSetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SqlLogSetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSqlDsnName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SqlDsnName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSqlLogSetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SqlLogSetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemMonitor2, ISystemMonitor2_Vtbl, 0x08e3206a_5fd2_4fde_a8a5_8cb3b63d2677); impl std::ops::Deref for ISystemMonitor2 { type Target = ISystemMonitor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISystemMonitor2, windows_core::IUnknown, ISystemMonitor); @@ -3424,7 +3424,7 @@ impl ISystemMonitor2 { (windows_core::Interface::vtable(self).SetEnableDigitGrouping)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn EnableDigitGrouping(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableDigitGrouping)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableToolTips(&self, bstate: P0) -> windows_core::Result<()> @@ -3434,7 +3434,7 @@ impl ISystemMonitor2 { (windows_core::Interface::vtable(self).SetEnableToolTips)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn EnableToolTips(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableToolTips)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowTimeAxisLabels(&self, bstate: P0) -> windows_core::Result<()> @@ -3444,7 +3444,7 @@ impl ISystemMonitor2 { (windows_core::Interface::vtable(self).SetShowTimeAxisLabels)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowTimeAxisLabels(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowTimeAxisLabels)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetChartScroll(&self, bscroll: P0) -> windows_core::Result<()> @@ -3454,14 +3454,14 @@ impl ISystemMonitor2 { (windows_core::Interface::vtable(self).SetChartScroll)(windows_core::Interface::as_raw(self), bscroll.param().abi()).ok() } pub unsafe fn ChartScroll(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChartScroll)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataPointCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ScaleToFit(&self, bselectedcountersonly: P0) -> windows_core::Result<()> @@ -3486,11 +3486,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogSourceStartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LogSourceStopTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogSourceStopTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogViewRange(&self, starttime: f64, stoptime: f64) -> windows_core::Result<()> { @@ -3526,21 +3526,21 @@ pub struct ISystemMonitor2_Vtbl { pub SetDataPointCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DataPointCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ScaleToFit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SaveAs: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SysmonFileType) -> windows_core::HRESULT, - pub Relog: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SysmonFileType, i32) -> windows_core::HRESULT, + pub SaveAs: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SysmonFileType) -> windows_core::HRESULT, + pub Relog: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SysmonFileType, i32) -> windows_core::HRESULT, pub ClearData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub LogSourceStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub LogSourceStopTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetLogViewRange: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, pub GetLogViewRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64, *mut f64) -> windows_core::HRESULT, pub BatchingLock: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, SysmonBatchReason) -> windows_core::HRESULT, - pub LoadSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoadSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemMonitorEvents, ISystemMonitorEvents_Vtbl, 0xee660ea0_4abd_11cf_943a_008029004347); impl std::ops::Deref for ISystemMonitorEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISystemMonitorEvents, windows_core::IUnknown); @@ -3576,7 +3576,7 @@ windows_core::imp::define_interface!(ITraceDataCollector, ITraceDataCollector_Vt impl std::ops::Deref for ITraceDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3584,95 +3584,95 @@ windows_core::imp::interface_hierarchy!(ITraceDataCollector, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ITraceDataCollector { pub unsafe fn BufferSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BufferSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BuffersLost)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BuffersWritten)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClockType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventsLost)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedModes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FlushTimer)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FreeBuffers)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Guid)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsKernelTrace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MaximumBuffers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaximumBuffers)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinimumBuffers)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfBuffers)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreallocateFile)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPreallocateFile(&self, allocate: P0) -> windows_core::Result<()> @@ -3682,7 +3682,7 @@ impl ITraceDataCollector { (windows_core::Interface::vtable(self).SetPreallocateFile)(windows_core::Interface::as_raw(self), allocate.param().abi()).ok() } pub unsafe fn ProcessMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProcessMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProcessMode(&self, process: P0) -> windows_core::Result<()> @@ -3692,21 +3692,21 @@ impl ITraceDataCollector { (windows_core::Interface::vtable(self).SetProcessMode)(windows_core::Interface::as_raw(self), process.param().abi()).ok() } pub unsafe fn RealTimeBuffersLost(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RealTimeBuffersLost)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSessionId(&self, id: u64) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetSessionId)(windows_core::Interface::as_raw(self), id).ok() } pub unsafe fn SessionName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSessionName(&self, name: P0) -> windows_core::Result<()> @@ -3716,14 +3716,14 @@ impl ITraceDataCollector { (windows_core::Interface::vtable(self).SetSessionName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn SessionThreadId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionThreadId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StreamMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStreamMode(&self, mode: StreamMode) -> windows_core::Result<()> { @@ -3731,7 +3731,7 @@ impl ITraceDataCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TraceDataProviders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TraceDataProviders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3772,8 +3772,8 @@ pub struct ITraceDataCollector_Vtbl { pub SetRealTimeBuffersLost: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub SetSessionId: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, - pub SessionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSessionName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SessionName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSessionName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SessionThreadId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSessionThreadId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub StreamMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StreamMode) -> windows_core::HRESULT, @@ -3789,7 +3789,7 @@ windows_core::imp::define_interface!(ITraceDataProvider, ITraceDataProvider_Vtbl impl std::ops::Deref for ITraceDataProvider { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3797,7 +3797,7 @@ windows_core::imp::interface_hierarchy!(ITraceDataProvider, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ITraceDataProvider { pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDisplayName(&self, name: P0) -> windows_core::Result<()> @@ -3807,7 +3807,7 @@ impl ITraceDataProvider { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), name.param().abi()).ok() } pub unsafe fn Guid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Guid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGuid(&self, guid: windows_core::GUID) -> windows_core::Result<()> { @@ -3815,26 +3815,26 @@ impl ITraceDataProvider { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Level(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Level)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn KeywordsAny(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeywordsAny)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn KeywordsAll(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeywordsAll)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FilterEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FilterEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFilterEnabled(&self, filterenabled: P0) -> windows_core::Result<()> @@ -3844,7 +3844,7 @@ impl ITraceDataProvider { (windows_core::Interface::vtable(self).SetFilterEnabled)(windows_core::Interface::as_raw(self), filterenabled.param().abi()).ok() } pub unsafe fn FilterType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FilterType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFilterType(&self, ultype: u32) -> windows_core::Result<()> { @@ -3852,7 +3852,7 @@ impl ITraceDataProvider { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FilterData(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FilterData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3880,12 +3880,12 @@ impl ITraceDataProvider { (windows_core::Interface::vtable(self).SetSecurity)(windows_core::Interface::as_raw(self), sddl.param().abi()).ok() } pub unsafe fn GetSecurity(&self, securityinfo: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurity)(windows_core::Interface::as_raw(self), securityinfo, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRegisteredProcesses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegisteredProcesses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3893,8 +3893,8 @@ impl ITraceDataProvider { #[repr(C)] pub struct ITraceDataProvider_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetGuid: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -3925,13 +3925,13 @@ pub struct ITraceDataProvider_Vtbl { pub SetFilterData: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetFilterData: usize, - pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Resolve: usize, - pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetRegisteredProcesses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3943,7 +3943,7 @@ windows_core::imp::define_interface!(ITraceDataProviderCollection, ITraceDataPro impl std::ops::Deref for ITraceDataProviderCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3951,7 +3951,7 @@ windows_core::imp::interface_hierarchy!(ITraceDataProviderCollection, windows_co #[cfg(feature = "Win32_System_Com")] impl ITraceDataProviderCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -3959,11 +3959,11 @@ impl ITraceDataProviderCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3991,7 +3991,7 @@ impl ITraceDataProviderCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateTraceDataProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTraceDataProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTraceDataProviders(&self, server: P0) -> windows_core::Result<()> @@ -4013,7 +4013,7 @@ pub struct ITraceDataProviderCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4021,7 +4021,7 @@ pub struct ITraceDataProviderCollection_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4031,8 +4031,8 @@ pub struct ITraceDataProviderCollection_Vtbl { pub CreateTraceDataProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateTraceDataProvider: usize, - pub GetTraceDataProviders: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetTraceDataProvidersByProcess: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub GetTraceDataProviders: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTraceDataProvidersByProcess: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IValueMap, IValueMap_Vtbl, 0x03837534_098b_11d8_9414_505054503030); @@ -4040,7 +4040,7 @@ windows_core::imp::define_interface!(IValueMap, IValueMap_Vtbl, 0x03837534_098b_ impl std::ops::Deref for IValueMap { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4048,7 +4048,7 @@ windows_core::imp::interface_hierarchy!(IValueMap, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IValueMap { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -4056,15 +4056,15 @@ impl IValueMap { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, description: P0) -> windows_core::Result<()> @@ -4074,7 +4074,7 @@ impl IValueMap { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), description.param().abi()).ok() } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, value: P0) -> windows_core::Result<()> @@ -4084,7 +4084,7 @@ impl IValueMap { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ValueMapType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValueMapType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetValueMapType(&self, r#type: ValueMapType) -> windows_core::Result<()> { @@ -4114,7 +4114,7 @@ impl IValueMap { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateValueMapItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateValueMapItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4124,18 +4124,18 @@ pub struct IValueMap_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ValueMapType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ValueMapType) -> windows_core::HRESULT, pub SetValueMapType: unsafe extern "system" fn(*mut core::ffi::c_void, ValueMapType) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4152,7 +4152,7 @@ windows_core::imp::define_interface!(IValueMapItem, IValueMapItem_Vtbl, 0x038375 impl std::ops::Deref for IValueMapItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4160,7 +4160,7 @@ windows_core::imp::interface_hierarchy!(IValueMapItem, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IValueMapItem { pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, description: P0) -> windows_core::Result<()> @@ -4170,7 +4170,7 @@ impl IValueMapItem { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), description.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -4180,7 +4180,7 @@ impl IValueMapItem { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn Key(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Key)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetKey(&self, key: P0) -> windows_core::Result<()> @@ -4190,7 +4190,7 @@ impl IValueMapItem { (windows_core::Interface::vtable(self).SetKey)(windows_core::Interface::as_raw(self), key.param().abi()).ok() } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, value: P0) -> windows_core::Result<()> @@ -4200,7 +4200,7 @@ impl IValueMapItem { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ValueMapType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValueMapType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetValueMapType(&self, r#type: ValueMapType) -> windows_core::Result<()> { @@ -4211,14 +4211,14 @@ impl IValueMapItem { #[repr(C)] pub struct IValueMapItem_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetKey: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetKey: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ValueMapType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ValueMapType) -> windows_core::HRESULT, pub SetValueMapType: unsafe extern "system" fn(*mut core::ffi::c_void, ValueMapType) -> windows_core::HRESULT, } @@ -4226,45 +4226,45 @@ windows_core::imp::define_interface!(_ICounterItemUnion, _ICounterItemUnion_Vtbl impl std::ops::Deref for _ICounterItemUnion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(_ICounterItemUnion, windows_core::IUnknown); impl _ICounterItemUnion { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Color)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LineStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScaleFactor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetValue(&self, value: *mut f64, status: *mut i32) -> windows_core::Result<()> { @@ -4280,7 +4280,7 @@ impl _ICounterItemUnion { (windows_core::Interface::vtable(self).SetSelected)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn Selected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Selected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVisible(&self, bstate: P0) -> windows_core::Result<()> @@ -4290,11 +4290,11 @@ impl _ICounterItemUnion { (windows_core::Interface::vtable(self).SetVisible)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn Visible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Visible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataAt)(windows_core::Interface::as_raw(self), iindex, iwhich, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4310,47 +4310,47 @@ pub struct _ICounterItemUnion_Vtbl { pub LineStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetScaleFactor: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ScaleFactor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64, *mut i32) -> windows_core::HRESULT, pub GetStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64, *mut f64, *mut f64, *mut i32) -> windows_core::HRESULT, pub SetSelected: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Selected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Visible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetDataAt: unsafe extern "system" fn(*mut core::ffi::c_void, i32, SysmonDataType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDataAt: unsafe extern "system" fn(*mut core::ffi::c_void, i32, SysmonDataType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(_ISystemMonitorUnion, _ISystemMonitorUnion_Vtbl, 0xc8a77338_265f_4de5_aa25_c7da1ce5a8f4); impl std::ops::Deref for _ISystemMonitorUnion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(_ISystemMonitorUnion, windows_core::IUnknown); impl _ISystemMonitorUnion { pub unsafe fn Appearance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Appearance)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BorderStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ForeColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetForeColor(&self, color: u32) -> windows_core::Result<()> { @@ -4358,7 +4358,7 @@ impl _ISystemMonitorUnion { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Font(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Font)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -4370,7 +4370,7 @@ impl _ISystemMonitorUnion { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Counters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Counters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetShowVerticalGrid(&self, bstate: P0) -> windows_core::Result<()> @@ -4380,7 +4380,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetShowVerticalGrid)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowVerticalGrid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowVerticalGrid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowHorizontalGrid(&self, bstate: P0) -> windows_core::Result<()> @@ -4390,7 +4390,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetShowHorizontalGrid)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowHorizontalGrid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowHorizontalGrid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowLegend(&self, bstate: P0) -> windows_core::Result<()> @@ -4400,7 +4400,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetShowLegend)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowLegend(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowLegend)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowScaleLabels(&self, bstate: P0) -> windows_core::Result<()> @@ -4410,7 +4410,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetShowScaleLabels)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowScaleLabels(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowScaleLabels)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowValueBar(&self, bstate: P0) -> windows_core::Result<()> @@ -4420,35 +4420,35 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetShowValueBar)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowValueBar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowValueBar)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaximumScale)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinimumScale)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UpdateInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetManualUpdate(&self, bstate: P0) -> windows_core::Result<()> @@ -4458,7 +4458,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetManualUpdate)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ManualUpdate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ManualUpdate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGraphTitle(&self, bstitle: P0) -> windows_core::Result<()> @@ -4468,7 +4468,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetGraphTitle)(windows_core::Interface::as_raw(self), bstitle.param().abi()).ok() } pub unsafe fn GraphTitle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GraphTitle)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetYAxisLabel(&self, bstitle: P0) -> windows_core::Result<()> @@ -4478,7 +4478,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetYAxisLabel)(windows_core::Interface::as_raw(self), bstitle.param().abi()).ok() } pub unsafe fn YAxisLabel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).YAxisLabel)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CollectSample(&self) -> windows_core::Result<()> { @@ -4494,14 +4494,14 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Counter)(windows_core::Interface::as_raw(self), iindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddCounter(&self, bspath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddCounter)(windows_core::Interface::as_raw(self), bspath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteCounter(&self, pctr: P0) -> windows_core::Result<()> @@ -4511,7 +4511,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).DeleteCounter)(windows_core::Interface::as_raw(self), pctr.param().abi()).ok() } pub unsafe fn BackColorCtl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackColorCtl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBackColorCtl(&self, color: u32) -> windows_core::Result<()> { @@ -4524,39 +4524,39 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetLogFileName)(windows_core::Interface::as_raw(self), bsfilename.param().abi()).ok() } pub unsafe fn LogFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogFileName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogViewStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogViewStop)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GridColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GridColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TimeBarColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Highlight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHighlight(&self, bstate: P0) -> windows_core::Result<()> @@ -4566,7 +4566,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetHighlight)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowToolbar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowToolbar)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowToolbar(&self, bstate: P0) -> windows_core::Result<()> @@ -4591,14 +4591,14 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetReadOnly)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportValueType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMonitorDuplicateInstances(&self, bstate: P0) -> windows_core::Result<()> @@ -4608,26 +4608,26 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetMonitorDuplicateInstances)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn MonitorDuplicateInstances(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MonitorDuplicateInstances)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayFilter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn LogFiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogFiles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataSourceType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSqlDsnName(&self, bssqldsnname: P0) -> windows_core::Result<()> @@ -4637,7 +4637,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetSqlDsnName)(windows_core::Interface::as_raw(self), bssqldsnname.param().abi()).ok() } pub unsafe fn SqlDsnName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SqlDsnName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSqlLogSetName(&self, bssqllogsetname: P0) -> windows_core::Result<()> @@ -4647,7 +4647,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetSqlLogSetName)(windows_core::Interface::as_raw(self), bssqllogsetname.param().abi()).ok() } pub unsafe fn SqlLogSetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SqlLogSetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEnableDigitGrouping(&self, bstate: P0) -> windows_core::Result<()> @@ -4657,7 +4657,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetEnableDigitGrouping)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn EnableDigitGrouping(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableDigitGrouping)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnableToolTips(&self, bstate: P0) -> windows_core::Result<()> @@ -4667,7 +4667,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetEnableToolTips)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn EnableToolTips(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableToolTips)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowTimeAxisLabels(&self, bstate: P0) -> windows_core::Result<()> @@ -4677,7 +4677,7 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetShowTimeAxisLabels)(windows_core::Interface::as_raw(self), bstate.param().abi()).ok() } pub unsafe fn ShowTimeAxisLabels(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowTimeAxisLabels)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetChartScroll(&self, bscroll: P0) -> windows_core::Result<()> @@ -4687,14 +4687,14 @@ impl _ISystemMonitorUnion { (windows_core::Interface::vtable(self).SetChartScroll)(windows_core::Interface::as_raw(self), bscroll.param().abi()).ok() } pub unsafe fn ChartScroll(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChartScroll)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataPointCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ScaleToFit(&self, bselectedcountersonly: P0) -> windows_core::Result<()> @@ -4719,11 +4719,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogSourceStartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LogSourceStopTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LogSourceStopTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLogViewRange(&self, starttime: f64, stoptime: f64) -> windows_core::Result<()> { @@ -4788,21 +4788,21 @@ pub struct _ISystemMonitorUnion_Vtbl { pub DisplayType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayTypeConstants) -> windows_core::HRESULT, pub SetManualUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ManualUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetGraphTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GraphTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetYAxisLabel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub YAxisLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGraphTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GraphTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetYAxisLabel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub YAxisLabel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CollectSample: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateGraph: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub BrowseCounters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisplayProperties: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Counter: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddCounter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddCounter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteCounter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub BackColorCtl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetBackColorCtl: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub SetLogFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LogFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLogFileName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LogFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetLogViewStart: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub LogViewStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetLogViewStop: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, @@ -4832,10 +4832,10 @@ pub struct _ISystemMonitorUnion_Vtbl { LogFiles: usize, pub SetDataSourceType: unsafe extern "system" fn(*mut core::ffi::c_void, DataSourceTypeConstants) -> windows_core::HRESULT, pub DataSourceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DataSourceTypeConstants) -> windows_core::HRESULT, - pub SetSqlDsnName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SqlDsnName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSqlLogSetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SqlLogSetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSqlDsnName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SqlDsnName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSqlLogSetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SqlLogSetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetEnableDigitGrouping: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub EnableDigitGrouping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnableToolTips: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -4847,15 +4847,15 @@ pub struct _ISystemMonitorUnion_Vtbl { pub SetDataPointCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DataPointCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ScaleToFit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SaveAs: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SysmonFileType) -> windows_core::HRESULT, - pub Relog: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SysmonFileType, i32) -> windows_core::HRESULT, + pub SaveAs: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SysmonFileType) -> windows_core::HRESULT, + pub Relog: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, SysmonFileType, i32) -> windows_core::HRESULT, pub ClearData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub LogSourceStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub LogSourceStopTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetLogViewRange: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, pub GetLogViewRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64, *mut f64) -> windows_core::HRESULT, pub BatchingLock: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, SysmonBatchReason) -> windows_core::HRESULT, - pub LoadSettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LoadSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } pub const DATA_SOURCE_REGISTRY: REAL_TIME_DATA_SOURCE_ID_FLAGS = REAL_TIME_DATA_SOURCE_ID_FLAGS(1u32); pub const DATA_SOURCE_WBEM: REAL_TIME_DATA_SOURCE_ID_FLAGS = REAL_TIME_DATA_SOURCE_ID_FLAGS(4u32); diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs index bb64dfb40f..5cbfe76ccf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs @@ -73,7 +73,7 @@ impl IRTCBuddy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Notes, Impl: IRTCBuddy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnotes: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Notes, Impl: IRTCBuddy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnotes: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCBuddy_Impl::Notes(this) { @@ -148,7 +148,7 @@ impl IRTCBuddy2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_PresenceProperty, Impl: IRTCBuddy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enproperty: RTC_PRESENCE_PROPERTY, pbstrproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_PresenceProperty, Impl: IRTCBuddy2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enproperty: RTC_PRESENCE_PROPERTY, pbstrproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCBuddy2_Impl::get_PresenceProperty(this, core::mem::transmute_copy(&enproperty)) { @@ -267,7 +267,7 @@ impl IRTCBuddyEvent2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IRTCBuddyEvent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IRTCBuddyEvent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCBuddyEvent2_Impl::StatusText(this) { @@ -306,7 +306,7 @@ impl windows_core::RuntimeName for IRTCBuddyGroup {} #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyGroup_Vtbl { pub const fn new, Impl: IRTCBuddyGroup_Impl, const OFFSET: isize>() -> IRTCBuddyGroup_Vtbl { - unsafe extern "system" fn Name, Impl: IRTCBuddyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrgroupname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRTCBuddyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrgroupname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCBuddyGroup_Impl::Name(this) { @@ -317,7 +317,7 @@ impl IRTCBuddyGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IRTCBuddyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IRTCBuddyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCBuddyGroup_Impl::SetName(this, core::mem::transmute(&bstrgroupname)).into() @@ -354,7 +354,7 @@ impl IRTCBuddyGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Data, Impl: IRTCBuddyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Data, Impl: IRTCBuddyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCBuddyGroup_Impl::Data(this) { @@ -365,7 +365,7 @@ impl IRTCBuddyGroup_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetData, Impl: IRTCBuddyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetData, Impl: IRTCBuddyGroup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCBuddyGroup_Impl::SetData(this, core::mem::transmute(&bstrdata)).into() @@ -574,7 +574,7 @@ impl IRTCClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateSession, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entype: RTC_SESSION_TYPE, bstrlocalphoneuri: std::mem::MaybeUninit, pprofile: *mut core::ffi::c_void, lflags: i32, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateSession, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entype: RTC_SESSION_TYPE, bstrlocalphoneuri: core::mem::MaybeUninit, pprofile: *mut core::ffi::c_void, lflags: i32, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClient_Impl::CreateSession(this, core::mem::transmute_copy(&entype), core::mem::transmute(&bstrlocalphoneuri), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { @@ -601,7 +601,7 @@ impl IRTCClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_NetworkAddresses, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ftcp: super::super::Foundation::VARIANT_BOOL, fexternal: super::super::Foundation::VARIANT_BOOL, pvaddresses: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_NetworkAddresses, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ftcp: super::super::Foundation::VARIANT_BOOL, fexternal: super::super::Foundation::VARIANT_BOOL, pvaddresses: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClient_Impl::get_NetworkAddresses(this, core::mem::transmute_copy(&ftcp), core::mem::transmute_copy(&fexternal)) { @@ -655,12 +655,12 @@ impl IRTCClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_PreferredAudioDevice, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, endevice: RTC_AUDIO_DEVICE, bstrdevicename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_PreferredAudioDevice, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, endevice: RTC_AUDIO_DEVICE, bstrdevicename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClient_Impl::put_PreferredAudioDevice(this, core::mem::transmute_copy(&endevice), core::mem::transmute(&bstrdevicename)).into() } - unsafe extern "system" fn get_PreferredAudioDevice, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, endevice: RTC_AUDIO_DEVICE, pbstrdevicename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_PreferredAudioDevice, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, endevice: RTC_AUDIO_DEVICE, pbstrdevicename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClient_Impl::get_PreferredAudioDevice(this, core::mem::transmute_copy(&endevice)) { @@ -703,12 +703,12 @@ impl IRTCClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPreferredVideoDevice, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPreferredVideoDevice, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdevicename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClient_Impl::SetPreferredVideoDevice(this, core::mem::transmute(&bstrdevicename)).into() } - unsafe extern "system" fn PreferredVideoDevice, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PreferredVideoDevice, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdevicename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClient_Impl::PreferredVideoDevice(this) { @@ -794,7 +794,7 @@ impl IRTCClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LocalUserURI, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseruri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalUserURI, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseruri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClient_Impl::LocalUserURI(this) { @@ -805,12 +805,12 @@ impl IRTCClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalUserURI, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstruseruri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalUserURI, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstruseruri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClient_Impl::SetLocalUserURI(this, core::mem::transmute(&bstruseruri)).into() } - unsafe extern "system" fn LocalUserName, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrusername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalUserName, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrusername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClient_Impl::LocalUserName(this) { @@ -821,7 +821,7 @@ impl IRTCClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocalUserName, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalUserName, Impl: IRTCClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClient_Impl::SetLocalUserName(this, core::mem::transmute(&bstrusername)).into() @@ -955,12 +955,12 @@ impl IRTCClient2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientName, Impl: IRTCClient2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclientname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientName, Impl: IRTCClient2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclientname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClient2_Impl::SetClientName(this, core::mem::transmute(&bstrclientname)).into() } - unsafe extern "system" fn SetClientCurVer, Impl: IRTCClient2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclientcurver: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientCurVer, Impl: IRTCClient2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclientcurver: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClient2_Impl::SetClientCurVer(this, core::mem::transmute(&bstrclientcurver)).into() @@ -970,7 +970,7 @@ impl IRTCClient2_Vtbl { let this = (*this).get_impl(); IRTCClient2_Impl::InitializeEx(this, core::mem::transmute_copy(&lflags)).into() } - unsafe extern "system" fn CreateSessionWithDescription, Impl: IRTCClient2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: std::mem::MaybeUninit, bstrsessiondescription: std::mem::MaybeUninit, pprofile: *mut core::ffi::c_void, lflags: i32, ppsession2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateSessionWithDescription, Impl: IRTCClient2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: core::mem::MaybeUninit, bstrsessiondescription: core::mem::MaybeUninit, pprofile: *mut core::ffi::c_void, lflags: i32, ppsession2: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClient2_Impl::CreateSessionWithDescription(this, core::mem::transmute(&bstrcontenttype), core::mem::transmute(&bstrsessiondescription), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { @@ -1089,12 +1089,12 @@ pub trait IRTCClientPortManagement_Impl: Sized { impl windows_core::RuntimeName for IRTCClientPortManagement {} impl IRTCClientPortManagement_Vtbl { pub const fn new, Impl: IRTCClientPortManagement_Impl, const OFFSET: isize>() -> IRTCClientPortManagement_Vtbl { - unsafe extern "system" fn StartListenAddressAndPort, Impl: IRTCClientPortManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternallocaladdress: std::mem::MaybeUninit, linternallocalport: i32) -> windows_core::HRESULT { + unsafe extern "system" fn StartListenAddressAndPort, Impl: IRTCClientPortManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternallocaladdress: core::mem::MaybeUninit, linternallocalport: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPortManagement_Impl::StartListenAddressAndPort(this, core::mem::transmute(&bstrinternallocaladdress), core::mem::transmute_copy(&linternallocalport)).into() } - unsafe extern "system" fn StopListenAddressAndPort, Impl: IRTCClientPortManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternallocaladdress: std::mem::MaybeUninit, linternallocalport: i32) -> windows_core::HRESULT { + unsafe extern "system" fn StopListenAddressAndPort, Impl: IRTCClientPortManagement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternallocaladdress: core::mem::MaybeUninit, linternallocalport: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPortManagement_Impl::StopListenAddressAndPort(this, core::mem::transmute(&bstrinternallocaladdress), core::mem::transmute_copy(&linternallocalport)).into() @@ -1141,17 +1141,17 @@ impl windows_core::RuntimeName for IRTCClientPresence {} #[cfg(feature = "Win32_System_Com")] impl IRTCClientPresence_Vtbl { pub const fn new, Impl: IRTCClientPresence_Impl, const OFFSET: isize>() -> IRTCClientPresence_Vtbl { - unsafe extern "system" fn EnablePresence, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fusestorage: super::super::Foundation::VARIANT_BOOL, varstorage: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnablePresence, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fusestorage: super::super::Foundation::VARIANT_BOOL, varstorage: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPresence_Impl::EnablePresence(this, core::mem::transmute_copy(&fusestorage), core::mem::transmute(&varstorage)).into() } - unsafe extern "system" fn Export, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varstorage: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Export, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varstorage: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPresence_Impl::Export(this, core::mem::transmute(&varstorage)).into() } - unsafe extern "system" fn Import, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varstorage: std::mem::MaybeUninit, freplaceall: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn Import, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varstorage: core::mem::MaybeUninit, freplaceall: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPresence_Impl::Import(this, core::mem::transmute(&varstorage), core::mem::transmute_copy(&freplaceall)).into() @@ -1178,7 +1178,7 @@ impl IRTCClientPresence_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Buddy, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: std::mem::MaybeUninit, ppbuddy: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Buddy, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: core::mem::MaybeUninit, ppbuddy: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence_Impl::get_Buddy(this, core::mem::transmute(&bstrpresentityuri)) { @@ -1189,7 +1189,7 @@ impl IRTCClientPresence_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddBuddy, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: std::mem::MaybeUninit, bstrusername: std::mem::MaybeUninit, bstrdata: std::mem::MaybeUninit, fpersistent: super::super::Foundation::VARIANT_BOOL, pprofile: *mut core::ffi::c_void, lflags: i32, ppbuddy: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddBuddy, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: core::mem::MaybeUninit, bstrusername: core::mem::MaybeUninit, bstrdata: core::mem::MaybeUninit, fpersistent: super::super::Foundation::VARIANT_BOOL, pprofile: *mut core::ffi::c_void, lflags: i32, ppbuddy: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence_Impl::AddBuddy(this, core::mem::transmute(&bstrpresentityuri), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrdata), core::mem::transmute_copy(&fpersistent), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { @@ -1227,7 +1227,7 @@ impl IRTCClientPresence_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Watcher, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: std::mem::MaybeUninit, ppwatcher: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Watcher, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: core::mem::MaybeUninit, ppwatcher: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence_Impl::get_Watcher(this, core::mem::transmute(&bstrpresentityuri)) { @@ -1238,7 +1238,7 @@ impl IRTCClientPresence_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddWatcher, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: std::mem::MaybeUninit, bstrusername: std::mem::MaybeUninit, bstrdata: std::mem::MaybeUninit, fblocked: super::super::Foundation::VARIANT_BOOL, fpersistent: super::super::Foundation::VARIANT_BOOL, ppwatcher: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddWatcher, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: core::mem::MaybeUninit, bstrusername: core::mem::MaybeUninit, bstrdata: core::mem::MaybeUninit, fblocked: super::super::Foundation::VARIANT_BOOL, fpersistent: super::super::Foundation::VARIANT_BOOL, ppwatcher: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence_Impl::AddWatcher(this, core::mem::transmute(&bstrpresentityuri), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrdata), core::mem::transmute_copy(&fblocked), core::mem::transmute_copy(&fpersistent)) { @@ -1254,7 +1254,7 @@ impl IRTCClientPresence_Vtbl { let this = (*this).get_impl(); IRTCClientPresence_Impl::RemoveWatcher(this, windows_core::from_raw_borrowed(&pwatcher)).into() } - unsafe extern "system" fn SetLocalPresenceInfo, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enstatus: RTC_PRESENCE_STATUS, bstrnotes: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocalPresenceInfo, Impl: IRTCClientPresence_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enstatus: RTC_PRESENCE_STATUS, bstrnotes: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPresence_Impl::SetLocalPresenceInfo(this, core::mem::transmute_copy(&enstatus), core::mem::transmute(&bstrnotes)).into() @@ -1340,7 +1340,7 @@ impl windows_core::RuntimeName for IRTCClientPresence2 {} #[cfg(feature = "Win32_System_Com")] impl IRTCClientPresence2_Vtbl { pub const fn new, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>() -> IRTCClientPresence2_Vtbl { - unsafe extern "system" fn EnablePresenceEx, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprofile: *mut core::ffi::c_void, varstorage: std::mem::MaybeUninit, lflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn EnablePresenceEx, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprofile: *mut core::ffi::c_void, varstorage: core::mem::MaybeUninit, lflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPresence2_Impl::EnablePresenceEx(this, windows_core::from_raw_borrowed(&pprofile), core::mem::transmute(&varstorage), core::mem::transmute_copy(&lflags)).into() @@ -1350,7 +1350,7 @@ impl IRTCClientPresence2_Vtbl { let this = (*this).get_impl(); IRTCClientPresence2_Impl::DisablePresence(this).into() } - unsafe extern "system" fn AddGroup, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, bstrdata: std::mem::MaybeUninit, pprofile: *mut core::ffi::c_void, lflags: i32, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddGroup, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, bstrdata: core::mem::MaybeUninit, pprofile: *mut core::ffi::c_void, lflags: i32, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence2_Impl::AddGroup(this, core::mem::transmute(&bstrgroupname), core::mem::transmute(&bstrdata), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { @@ -1388,7 +1388,7 @@ impl IRTCClientPresence2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Group, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: std::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Group, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupname: core::mem::MaybeUninit, ppgroup: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence2_Impl::get_Group(this, core::mem::transmute(&bstrgroupname)) { @@ -1399,7 +1399,7 @@ impl IRTCClientPresence2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddWatcherEx, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: std::mem::MaybeUninit, bstrusername: std::mem::MaybeUninit, bstrdata: std::mem::MaybeUninit, enstate: RTC_WATCHER_STATE, fpersistent: super::super::Foundation::VARIANT_BOOL, enscope: RTC_ACE_SCOPE, pprofile: *mut core::ffi::c_void, lflags: i32, ppwatcher: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddWatcherEx, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: core::mem::MaybeUninit, bstrusername: core::mem::MaybeUninit, bstrdata: core::mem::MaybeUninit, enstate: RTC_WATCHER_STATE, fpersistent: super::super::Foundation::VARIANT_BOOL, enscope: RTC_ACE_SCOPE, pprofile: *mut core::ffi::c_void, lflags: i32, ppwatcher: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence2_Impl::AddWatcherEx(this, core::mem::transmute(&bstrpresentityuri), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrdata), core::mem::transmute_copy(&enstate), core::mem::transmute_copy(&fpersistent), core::mem::transmute_copy(&enscope), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { @@ -1410,7 +1410,7 @@ impl IRTCClientPresence2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_WatcherEx, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enmode: RTC_WATCHER_MATCH_MODE, bstrpresentityuri: std::mem::MaybeUninit, ppwatcher: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_WatcherEx, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enmode: RTC_WATCHER_MATCH_MODE, bstrpresentityuri: core::mem::MaybeUninit, ppwatcher: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence2_Impl::get_WatcherEx(this, core::mem::transmute_copy(&enmode), core::mem::transmute(&bstrpresentityuri)) { @@ -1421,12 +1421,12 @@ impl IRTCClientPresence2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_PresenceProperty, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enproperty: RTC_PRESENCE_PROPERTY, bstrproperty: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_PresenceProperty, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enproperty: RTC_PRESENCE_PROPERTY, bstrproperty: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPresence2_Impl::put_PresenceProperty(this, core::mem::transmute_copy(&enproperty), core::mem::transmute(&bstrproperty)).into() } - unsafe extern "system" fn get_PresenceProperty, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enproperty: RTC_PRESENCE_PROPERTY, pbstrproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_PresenceProperty, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enproperty: RTC_PRESENCE_PROPERTY, pbstrproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence2_Impl::get_PresenceProperty(this, core::mem::transmute_copy(&enproperty)) { @@ -1437,22 +1437,22 @@ impl IRTCClientPresence2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPresenceData, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnamespace: std::mem::MaybeUninit, bstrdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPresenceData, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnamespace: core::mem::MaybeUninit, bstrdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPresence2_Impl::SetPresenceData(this, core::mem::transmute(&bstrnamespace), core::mem::transmute(&bstrdata)).into() } - unsafe extern "system" fn GetPresenceData, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnamespace: *mut std::mem::MaybeUninit, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPresenceData, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnamespace: *mut core::mem::MaybeUninit, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPresence2_Impl::GetPresenceData(this, core::mem::transmute_copy(&pbstrnamespace), core::mem::transmute_copy(&pbstrdata)).into() } - unsafe extern "system" fn GetLocalPresenceInfo, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, penstatus: *mut RTC_PRESENCE_STATUS, pbstrnotes: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLocalPresenceInfo, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, penstatus: *mut RTC_PRESENCE_STATUS, pbstrnotes: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientPresence2_Impl::GetLocalPresenceInfo(this, core::mem::transmute_copy(&penstatus), core::mem::transmute_copy(&pbstrnotes)).into() } - unsafe extern "system" fn AddBuddyEx, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: std::mem::MaybeUninit, bstrusername: std::mem::MaybeUninit, bstrdata: std::mem::MaybeUninit, fpersistent: super::super::Foundation::VARIANT_BOOL, ensubscriptiontype: RTC_BUDDY_SUBSCRIPTION_TYPE, pprofile: *mut core::ffi::c_void, lflags: i32, ppbuddy: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddBuddyEx, Impl: IRTCClientPresence2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: core::mem::MaybeUninit, bstrusername: core::mem::MaybeUninit, bstrdata: core::mem::MaybeUninit, fpersistent: super::super::Foundation::VARIANT_BOOL, ensubscriptiontype: RTC_BUDDY_SUBSCRIPTION_TYPE, pprofile: *mut core::ffi::c_void, lflags: i32, ppbuddy: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientPresence2_Impl::AddBuddyEx(this, core::mem::transmute(&bstrpresentityuri), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrdata), core::mem::transmute_copy(&fpersistent), core::mem::transmute_copy(&ensubscriptiontype), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)) { @@ -1501,7 +1501,7 @@ impl windows_core::RuntimeName for IRTCClientProvisioning {} #[cfg(feature = "Win32_System_Com")] impl IRTCClientProvisioning_Vtbl { pub const fn new, Impl: IRTCClientProvisioning_Impl, const OFFSET: isize>() -> IRTCClientProvisioning_Vtbl { - unsafe extern "system" fn CreateProfile, Impl: IRTCClientProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprofilexml: std::mem::MaybeUninit, ppprofile: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateProfile, Impl: IRTCClientProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprofilexml: core::mem::MaybeUninit, ppprofile: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCClientProvisioning_Impl::CreateProfile(this, core::mem::transmute(&bstrprofilexml)) { @@ -1544,7 +1544,7 @@ impl IRTCClientProvisioning_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetProfile, Impl: IRTCClientProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstruseraccount: std::mem::MaybeUninit, bstruserpassword: std::mem::MaybeUninit, bstruseruri: std::mem::MaybeUninit, bstrserver: std::mem::MaybeUninit, ltransport: i32, lcookie: isize) -> windows_core::HRESULT { + unsafe extern "system" fn GetProfile, Impl: IRTCClientProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstruseraccount: core::mem::MaybeUninit, bstruserpassword: core::mem::MaybeUninit, bstruseruri: core::mem::MaybeUninit, bstrserver: core::mem::MaybeUninit, ltransport: i32, lcookie: isize) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCClientProvisioning_Impl::GetProfile(this, core::mem::transmute(&bstruseraccount), core::mem::transmute(&bstruserpassword), core::mem::transmute(&bstruseruri), core::mem::transmute(&bstrserver), core::mem::transmute_copy(<ransport), core::mem::transmute_copy(&lcookie)).into() @@ -1617,7 +1617,7 @@ impl IRTCCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IRTCCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvariant: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IRTCCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pvariant: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -2046,7 +2046,7 @@ impl IRTCInfoEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Info, Impl: IRTCInfoEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrinfo: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Info, Impl: IRTCInfoEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrinfo: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCInfoEvent_Impl::Info(this) { @@ -2057,7 +2057,7 @@ impl IRTCInfoEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InfoHeader, Impl: IRTCInfoEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrinfoheader: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InfoHeader, Impl: IRTCInfoEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrinfoheader: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCInfoEvent_Impl::InfoHeader(this) { @@ -2345,7 +2345,7 @@ impl IRTCMessagingEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Message, Impl: IRTCMessagingEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmessage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Message, Impl: IRTCMessagingEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmessage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCMessagingEvent_Impl::Message(this) { @@ -2356,7 +2356,7 @@ impl IRTCMessagingEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MessageHeader, Impl: IRTCMessagingEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmessageheader: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MessageHeader, Impl: IRTCMessagingEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrmessageheader: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCMessagingEvent_Impl::MessageHeader(this) { @@ -2402,7 +2402,7 @@ pub trait IRTCParticipant_Impl: Sized { impl windows_core::RuntimeName for IRTCParticipant {} impl IRTCParticipant_Vtbl { pub const fn new, Impl: IRTCParticipant_Impl, const OFFSET: isize>() -> IRTCParticipant_Vtbl { - unsafe extern "system" fn UserURI, Impl: IRTCParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseruri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserURI, Impl: IRTCParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseruri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCParticipant_Impl::UserURI(this) { @@ -2413,7 +2413,7 @@ impl IRTCParticipant_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IRTCParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRTCParticipant_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCParticipant_Impl::Name(this) { @@ -2533,17 +2533,17 @@ pub trait IRTCPortManager_Impl: Sized { impl windows_core::RuntimeName for IRTCPortManager {} impl IRTCPortManager_Vtbl { pub const fn new, Impl: IRTCPortManager_Impl, const OFFSET: isize>() -> IRTCPortManager_Vtbl { - unsafe extern "system" fn GetMapping, Impl: IRTCPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremoteaddress: std::mem::MaybeUninit, enporttype: RTC_PORT_TYPE, pbstrinternallocaladdress: *mut std::mem::MaybeUninit, plinternallocalport: *mut i32, pbstrexternallocaladdress: *mut std::mem::MaybeUninit, plexternallocalport: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetMapping, Impl: IRTCPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremoteaddress: core::mem::MaybeUninit, enporttype: RTC_PORT_TYPE, pbstrinternallocaladdress: *mut core::mem::MaybeUninit, plinternallocalport: *mut i32, pbstrexternallocaladdress: *mut core::mem::MaybeUninit, plexternallocalport: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCPortManager_Impl::GetMapping(this, core::mem::transmute(&bstrremoteaddress), core::mem::transmute_copy(&enporttype), core::mem::transmute_copy(&pbstrinternallocaladdress), core::mem::transmute_copy(&plinternallocalport), core::mem::transmute_copy(&pbstrexternallocaladdress), core::mem::transmute_copy(&plexternallocalport)).into() } - unsafe extern "system" fn UpdateRemoteAddress, Impl: IRTCPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremoteaddress: std::mem::MaybeUninit, bstrinternallocaladdress: std::mem::MaybeUninit, linternallocalport: i32, bstrexternallocaladdress: std::mem::MaybeUninit, lexternallocalport: i32) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateRemoteAddress, Impl: IRTCPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrremoteaddress: core::mem::MaybeUninit, bstrinternallocaladdress: core::mem::MaybeUninit, linternallocalport: i32, bstrexternallocaladdress: core::mem::MaybeUninit, lexternallocalport: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCPortManager_Impl::UpdateRemoteAddress(this, core::mem::transmute(&bstrremoteaddress), core::mem::transmute(&bstrinternallocaladdress), core::mem::transmute_copy(&linternallocalport), core::mem::transmute(&bstrexternallocaladdress), core::mem::transmute_copy(&lexternallocalport)).into() } - unsafe extern "system" fn ReleaseMapping, Impl: IRTCPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternallocaladdress: std::mem::MaybeUninit, linternallocalport: i32, bstrexternallocaladdress: std::mem::MaybeUninit, lexternallocaladdress: i32) -> windows_core::HRESULT { + unsafe extern "system" fn ReleaseMapping, Impl: IRTCPortManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinternallocaladdress: core::mem::MaybeUninit, linternallocalport: i32, bstrexternallocaladdress: core::mem::MaybeUninit, lexternallocaladdress: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCPortManager_Impl::ReleaseMapping(this, core::mem::transmute(&bstrinternallocaladdress), core::mem::transmute_copy(&linternallocalport), core::mem::transmute(&bstrexternallocaladdress), core::mem::transmute_copy(&lexternallocaladdress)).into() @@ -2572,7 +2572,7 @@ pub trait IRTCPresenceContact_Impl: Sized { impl windows_core::RuntimeName for IRTCPresenceContact {} impl IRTCPresenceContact_Vtbl { pub const fn new, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>() -> IRTCPresenceContact_Vtbl { - unsafe extern "system" fn PresentityURI, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpresentityuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PresentityURI, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrpresentityuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCPresenceContact_Impl::PresentityURI(this) { @@ -2583,12 +2583,12 @@ impl IRTCPresenceContact_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPresentityURI, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPresentityURI, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpresentityuri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCPresenceContact_Impl::SetPresentityURI(this, core::mem::transmute(&bstrpresentityuri)).into() } - unsafe extern "system" fn Name, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCPresenceContact_Impl::Name(this) { @@ -2599,12 +2599,12 @@ impl IRTCPresenceContact_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCPresenceContact_Impl::SetName(this, core::mem::transmute(&bstrname)).into() } - unsafe extern "system" fn Data, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Data, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCPresenceContact_Impl::Data(this) { @@ -2615,7 +2615,7 @@ impl IRTCPresenceContact_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetData, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetData, Impl: IRTCPresenceContact_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCPresenceContact_Impl::SetData(this, core::mem::transmute(&bstrdata)).into() @@ -2674,7 +2674,7 @@ impl IRTCPresenceDataEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IRTCPresenceDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IRTCPresenceDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCPresenceDataEvent_Impl::StatusText(this) { @@ -2685,7 +2685,7 @@ impl IRTCPresenceDataEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPresenceData, Impl: IRTCPresenceDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnamespace: *mut std::mem::MaybeUninit, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPresenceData, Impl: IRTCPresenceDataEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnamespace: *mut core::mem::MaybeUninit, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCPresenceDataEvent_Impl::GetPresenceData(this, core::mem::transmute_copy(&pbstrnamespace), core::mem::transmute_copy(&pbstrdata)).into() @@ -2721,7 +2721,7 @@ impl IRTCPresenceDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Notes, Impl: IRTCPresenceDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnotes: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Notes, Impl: IRTCPresenceDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnotes: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCPresenceDevice_Impl::Notes(this) { @@ -2732,7 +2732,7 @@ impl IRTCPresenceDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_PresenceProperty, Impl: IRTCPresenceDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enproperty: RTC_PRESENCE_PROPERTY, pbstrproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_PresenceProperty, Impl: IRTCPresenceDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enproperty: RTC_PRESENCE_PROPERTY, pbstrproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCPresenceDevice_Impl::get_PresenceProperty(this, core::mem::transmute_copy(&enproperty)) { @@ -2743,7 +2743,7 @@ impl IRTCPresenceDevice_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPresenceData, Impl: IRTCPresenceDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnamespace: *mut std::mem::MaybeUninit, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPresenceData, Impl: IRTCPresenceDevice_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnamespace: *mut core::mem::MaybeUninit, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCPresenceDevice_Impl::GetPresenceData(this, core::mem::transmute_copy(&pbstrnamespace), core::mem::transmute_copy(&pbstrdata)).into() @@ -2783,7 +2783,7 @@ impl IRTCPresencePropertyEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IRTCPresencePropertyEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IRTCPresencePropertyEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCPresencePropertyEvent_Impl::StatusText(this) { @@ -2805,7 +2805,7 @@ impl IRTCPresencePropertyEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: IRTCPresencePropertyEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IRTCPresencePropertyEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCPresencePropertyEvent_Impl::Value(this) { @@ -2850,7 +2850,7 @@ impl IRTCPresenceStatusEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IRTCPresenceStatusEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IRTCPresenceStatusEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCPresenceStatusEvent_Impl::StatusText(this) { @@ -2861,7 +2861,7 @@ impl IRTCPresenceStatusEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLocalPresenceInfo, Impl: IRTCPresenceStatusEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, penstatus: *mut RTC_PRESENCE_STATUS, pbstrnotes: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLocalPresenceInfo, Impl: IRTCPresenceStatusEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, penstatus: *mut RTC_PRESENCE_STATUS, pbstrnotes: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCPresenceStatusEvent_Impl::GetLocalPresenceInfo(this, core::mem::transmute_copy(&penstatus), core::mem::transmute_copy(&pbstrnotes)).into() @@ -2900,7 +2900,7 @@ pub trait IRTCProfile_Impl: Sized { impl windows_core::RuntimeName for IRTCProfile {} impl IRTCProfile_Vtbl { pub const fn new, Impl: IRTCProfile_Impl, const OFFSET: isize>() -> IRTCProfile_Vtbl { - unsafe extern "system" fn Key, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrkey: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Key, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrkey: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::Key(this) { @@ -2911,7 +2911,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::Name(this) { @@ -2922,7 +2922,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn XML, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn XML, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::XML(this) { @@ -2933,7 +2933,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProviderName, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderName, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::ProviderName(this) { @@ -2944,7 +2944,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_ProviderURI, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enuri: RTC_PROVIDER_URI, pbstruri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_ProviderURI, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, enuri: RTC_PROVIDER_URI, pbstruri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::get_ProviderURI(this, core::mem::transmute_copy(&enuri)) { @@ -2955,7 +2955,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProviderData, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProviderData, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::ProviderData(this) { @@ -2966,7 +2966,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClientName, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientName, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::ClientName(this) { @@ -2988,7 +2988,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClientMinVer, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrminver: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientMinVer, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrminver: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::ClientMinVer(this) { @@ -2999,7 +2999,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClientCurVer, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcurver: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientCurVer, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcurver: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::ClientCurVer(this) { @@ -3010,7 +3010,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClientUpdateURI, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrupdateuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientUpdateURI, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrupdateuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::ClientUpdateURI(this) { @@ -3021,7 +3021,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClientData, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientData, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::ClientData(this) { @@ -3032,7 +3032,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserURI, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseruri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserURI, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseruri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::UserURI(this) { @@ -3043,7 +3043,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserName, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrusername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserName, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrusername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::UserName(this) { @@ -3054,7 +3054,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserAccount, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseraccount: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserAccount, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseraccount: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile_Impl::UserAccount(this) { @@ -3065,7 +3065,7 @@ impl IRTCProfile_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCredentials, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstruseruri: std::mem::MaybeUninit, bstruseraccount: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCredentials, Impl: IRTCProfile_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstruseruri: core::mem::MaybeUninit, bstruseraccount: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCProfile_Impl::SetCredentials(this, core::mem::transmute(&bstruseruri), core::mem::transmute(&bstruseraccount), core::mem::transmute(&bstrpassword)).into() @@ -3127,7 +3127,7 @@ pub trait IRTCProfile2_Impl: Sized + IRTCProfile_Impl { impl windows_core::RuntimeName for IRTCProfile2 {} impl IRTCProfile2_Vtbl { pub const fn new, Impl: IRTCProfile2_Impl, const OFFSET: isize>() -> IRTCProfile2_Vtbl { - unsafe extern "system" fn Realm, Impl: IRTCProfile2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrealm: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Realm, Impl: IRTCProfile2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrealm: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCProfile2_Impl::Realm(this) { @@ -3138,7 +3138,7 @@ impl IRTCProfile2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRealm, Impl: IRTCProfile2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRealm, Impl: IRTCProfile2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrealm: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCProfile2_Impl::SetRealm(this, core::mem::transmute(&bstrrealm)).into() @@ -3276,7 +3276,7 @@ impl IRTCReInviteEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Accept, Impl: IRTCReInviteEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: std::mem::MaybeUninit, bstrsessiondescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Accept, Impl: IRTCReInviteEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: core::mem::MaybeUninit, bstrsessiondescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCReInviteEvent_Impl::Accept(this, core::mem::transmute(&bstrcontenttype), core::mem::transmute(&bstrsessiondescription)).into() @@ -3297,7 +3297,7 @@ impl IRTCReInviteEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRemoteSessionDescription, Impl: IRTCReInviteEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontenttype: *mut std::mem::MaybeUninit, pbstrsessiondescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRemoteSessionDescription, Impl: IRTCReInviteEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontenttype: *mut core::mem::MaybeUninit, pbstrsessiondescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCReInviteEvent_Impl::GetRemoteSessionDescription(this, core::mem::transmute_copy(&pbstrcontenttype), core::mem::transmute_copy(&pbstrsessiondescription)).into() @@ -3360,7 +3360,7 @@ impl IRTCRegistrationStateChangeEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IRTCRegistrationStateChangeEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IRTCRegistrationStateChangeEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCRegistrationStateChangeEvent_Impl::StatusText(this) { @@ -3428,7 +3428,7 @@ impl IRTCRoamingEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IRTCRoamingEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IRTCRoamingEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCRoamingEvent_Impl::StatusText(this) { @@ -3544,12 +3544,12 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); IRTCSession_Impl::Terminate(this, core::mem::transmute_copy(&enreason)).into() } - unsafe extern "system" fn Redirect, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entype: RTC_SESSION_TYPE, bstrlocalphoneuri: std::mem::MaybeUninit, pprofile: *mut core::ffi::c_void, lflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Redirect, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, entype: RTC_SESSION_TYPE, bstrlocalphoneuri: core::mem::MaybeUninit, pprofile: *mut core::ffi::c_void, lflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSession_Impl::Redirect(this, core::mem::transmute_copy(&entype), core::mem::transmute(&bstrlocalphoneuri), windows_core::from_raw_borrowed(&pprofile), core::mem::transmute_copy(&lflags)).into() } - unsafe extern "system" fn AddParticipant, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraddress: std::mem::MaybeUninit, bstrname: std::mem::MaybeUninit, ppparticipant: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddParticipant, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraddress: core::mem::MaybeUninit, bstrname: core::mem::MaybeUninit, ppparticipant: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSession_Impl::AddParticipant(this, core::mem::transmute(&bstraddress), core::mem::transmute(&bstrname)) { @@ -3587,7 +3587,7 @@ impl IRTCSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RedirectedUserURI, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseruri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RedirectedUserURI, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruseruri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSession_Impl::RedirectedUserURI(this) { @@ -3598,7 +3598,7 @@ impl IRTCSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RedirectedUserName, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrusername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RedirectedUserName, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrusername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSession_Impl::RedirectedUserName(this) { @@ -3614,7 +3614,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); IRTCSession_Impl::NextRedirectedUser(this).into() } - unsafe extern "system" fn SendMessage, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageheader: std::mem::MaybeUninit, bstrmessage: std::mem::MaybeUninit, lcookie: isize) -> windows_core::HRESULT { + unsafe extern "system" fn SendMessage, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessageheader: core::mem::MaybeUninit, bstrmessage: core::mem::MaybeUninit, lcookie: isize) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSession_Impl::SendMessage(this, core::mem::transmute(&bstrmessageheader), core::mem::transmute(&bstrmessage), core::mem::transmute_copy(&lcookie)).into() @@ -3634,7 +3634,7 @@ impl IRTCSession_Vtbl { let this = (*this).get_impl(); IRTCSession_Impl::RemoveStream(this, core::mem::transmute_copy(&lmediatype), core::mem::transmute_copy(&lcookie)).into() } - unsafe extern "system" fn put_EncryptionKey, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lmediatype: i32, encryptionkey: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_EncryptionKey, Impl: IRTCSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lmediatype: i32, encryptionkey: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSession_Impl::put_EncryptionKey(this, core::mem::transmute_copy(&lmediatype), core::mem::transmute(&encryptionkey)).into() @@ -3681,7 +3681,7 @@ impl windows_core::RuntimeName for IRTCSession2 {} #[cfg(feature = "Win32_System_Com")] impl IRTCSession2_Vtbl { pub const fn new, Impl: IRTCSession2_Impl, const OFFSET: isize>() -> IRTCSession2_Vtbl { - unsafe extern "system" fn SendInfo, Impl: IRTCSession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinfoheader: std::mem::MaybeUninit, bstrinfo: std::mem::MaybeUninit, lcookie: isize) -> windows_core::HRESULT { + unsafe extern "system" fn SendInfo, Impl: IRTCSession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrinfoheader: core::mem::MaybeUninit, bstrinfo: core::mem::MaybeUninit, lcookie: isize) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSession2_Impl::SendInfo(this, core::mem::transmute(&bstrinfoheader), core::mem::transmute(&bstrinfo), core::mem::transmute_copy(&lcookie)).into() @@ -3713,12 +3713,12 @@ impl IRTCSession2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AnswerWithSessionDescription, Impl: IRTCSession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: std::mem::MaybeUninit, bstrsessiondescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AnswerWithSessionDescription, Impl: IRTCSession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: core::mem::MaybeUninit, bstrsessiondescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSession2_Impl::AnswerWithSessionDescription(this, core::mem::transmute(&bstrcontenttype), core::mem::transmute(&bstrsessiondescription)).into() } - unsafe extern "system" fn ReInviteWithSessionDescription, Impl: IRTCSession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: std::mem::MaybeUninit, bstrsessiondescription: std::mem::MaybeUninit, lcookie: isize) -> windows_core::HRESULT { + unsafe extern "system" fn ReInviteWithSessionDescription, Impl: IRTCSession2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: core::mem::MaybeUninit, bstrsessiondescription: core::mem::MaybeUninit, lcookie: isize) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSession2_Impl::ReInviteWithSessionDescription(this, core::mem::transmute(&bstrcontenttype), core::mem::transmute(&bstrsessiondescription), core::mem::transmute_copy(&lcookie)).into() @@ -3761,22 +3761,22 @@ impl IRTCSessionCallControl_Vtbl { let this = (*this).get_impl(); IRTCSessionCallControl_Impl::UnHold(this, core::mem::transmute_copy(&lcookie)).into() } - unsafe extern "system" fn Forward, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrforwardtouri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Forward, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrforwardtouri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSessionCallControl_Impl::Forward(this, core::mem::transmute(&bstrforwardtouri)).into() } - unsafe extern "system" fn Refer, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrefertouri: std::mem::MaybeUninit, bstrrefercookie: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Refer, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrefertouri: core::mem::MaybeUninit, bstrrefercookie: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSessionCallControl_Impl::Refer(this, core::mem::transmute(&bstrrefertouri), core::mem::transmute(&bstrrefercookie)).into() } - unsafe extern "system" fn SetReferredByURI, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreferredbyuri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetReferredByURI, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrreferredbyuri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSessionCallControl_Impl::SetReferredByURI(this, core::mem::transmute(&bstrreferredbyuri)).into() } - unsafe extern "system" fn ReferredByURI, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreferredbyuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReferredByURI, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreferredbyuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSessionCallControl_Impl::ReferredByURI(this) { @@ -3787,12 +3787,12 @@ impl IRTCSessionCallControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetReferCookie, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrefercookie: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetReferCookie, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrefercookie: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSessionCallControl_Impl::SetReferCookie(this, core::mem::transmute(&bstrrefercookie)).into() } - unsafe extern "system" fn ReferCookie, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrefercookie: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReferCookie, Impl: IRTCSessionCallControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrefercookie: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSessionCallControl_Impl::ReferCookie(this) { @@ -3837,7 +3837,7 @@ pub trait IRTCSessionDescriptionManager_Impl: Sized { impl windows_core::RuntimeName for IRTCSessionDescriptionManager {} impl IRTCSessionDescriptionManager_Vtbl { pub const fn new, Impl: IRTCSessionDescriptionManager_Impl, const OFFSET: isize>() -> IRTCSessionDescriptionManager_Vtbl { - unsafe extern "system" fn EvaluateSessionDescription, Impl: IRTCSessionDescriptionManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: std::mem::MaybeUninit, bstrsessiondescription: std::mem::MaybeUninit, pfapplicationsession: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn EvaluateSessionDescription, Impl: IRTCSessionDescriptionManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcontenttype: core::mem::MaybeUninit, bstrsessiondescription: core::mem::MaybeUninit, pfapplicationsession: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSessionDescriptionManager_Impl::EvaluateSessionDescription(this, core::mem::transmute(&bstrcontenttype), core::mem::transmute(&bstrsessiondescription), core::mem::transmute_copy(&pfapplicationsession)).into() @@ -3893,7 +3893,7 @@ impl IRTCSessionOperationCompleteEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IRTCSessionOperationCompleteEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IRTCSessionOperationCompleteEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSessionOperationCompleteEvent_Impl::StatusText(this) { @@ -3937,7 +3937,7 @@ impl IRTCSessionOperationCompleteEvent2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRemoteSessionDescription, Impl: IRTCSessionOperationCompleteEvent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontenttype: *mut std::mem::MaybeUninit, pbstrsessiondescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRemoteSessionDescription, Impl: IRTCSessionOperationCompleteEvent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontenttype: *mut core::mem::MaybeUninit, pbstrsessiondescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSessionOperationCompleteEvent2_Impl::GetRemoteSessionDescription(this, core::mem::transmute_copy(&pbstrcontenttype), core::mem::transmute_copy(&pbstrsessiondescription)).into() @@ -4014,7 +4014,7 @@ impl IRTCSessionReferStatusEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IRTCSessionReferStatusEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IRTCSessionReferStatusEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSessionReferStatusEvent_Impl::StatusText(this) { @@ -4063,7 +4063,7 @@ impl IRTCSessionReferredEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReferredByURI, Impl: IRTCSessionReferredEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreferredbyuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReferredByURI, Impl: IRTCSessionReferredEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreferredbyuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSessionReferredEvent_Impl::ReferredByURI(this) { @@ -4074,7 +4074,7 @@ impl IRTCSessionReferredEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReferToURI, Impl: IRTCSessionReferredEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreferouri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReferToURI, Impl: IRTCSessionReferredEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrreferouri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSessionReferredEvent_Impl::ReferToURI(this) { @@ -4085,7 +4085,7 @@ impl IRTCSessionReferredEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReferCookie, Impl: IRTCSessionReferredEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrefercookie: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReferCookie, Impl: IRTCSessionReferredEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrrefercookie: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSessionReferredEvent_Impl::ReferCookie(this) { @@ -4171,7 +4171,7 @@ impl IRTCSessionStateChangeEvent_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StatusText, Impl: IRTCSessionStateChangeEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IRTCSessionStateChangeEvent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCSessionStateChangeEvent_Impl::StatusText(this) { @@ -4239,7 +4239,7 @@ impl IRTCSessionStateChangeEvent2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRemoteSessionDescription, Impl: IRTCSessionStateChangeEvent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontenttype: *mut std::mem::MaybeUninit, pbstrsessiondescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRemoteSessionDescription, Impl: IRTCSessionStateChangeEvent2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcontenttype: *mut core::mem::MaybeUninit, pbstrsessiondescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCSessionStateChangeEvent2_Impl::GetRemoteSessionDescription(this, core::mem::transmute_copy(&pbstrcontenttype), core::mem::transmute_copy(&pbstrsessiondescription)).into() @@ -4301,12 +4301,12 @@ pub trait IRTCUserSearchQuery_Impl: Sized { impl windows_core::RuntimeName for IRTCUserSearchQuery {} impl IRTCUserSearchQuery_Vtbl { pub const fn new, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>() -> IRTCUserSearchQuery_Vtbl { - unsafe extern "system" fn put_SearchTerm, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstrvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_SearchTerm, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstrvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCUserSearchQuery_Impl::put_SearchTerm(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstrvalue)).into() } - unsafe extern "system" fn get_SearchTerm, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_SearchTerm, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCUserSearchQuery_Impl::get_SearchTerm(this, core::mem::transmute(&bstrname)) { @@ -4317,7 +4317,7 @@ impl IRTCUserSearchQuery_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SearchTerms, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnames: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SearchTerms, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrnames: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCUserSearchQuery_Impl::SearchTerms(this) { @@ -4344,12 +4344,12 @@ impl IRTCUserSearchQuery_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSearchDomain, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdomain: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSearchDomain, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdomain: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRTCUserSearchQuery_Impl::SetSearchDomain(this, core::mem::transmute(&bstrdomain)).into() } - unsafe extern "system" fn SearchDomain, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdomain: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SearchDomain, Impl: IRTCUserSearchQuery_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdomain: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCUserSearchQuery_Impl::SearchDomain(this) { @@ -4381,7 +4381,7 @@ pub trait IRTCUserSearchResult_Impl: Sized { impl windows_core::RuntimeName for IRTCUserSearchResult {} impl IRTCUserSearchResult_Vtbl { pub const fn new, Impl: IRTCUserSearchResult_Impl, const OFFSET: isize>() -> IRTCUserSearchResult_Vtbl { - unsafe extern "system" fn get_Value, Impl: IRTCUserSearchResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encolumn: RTC_USER_SEARCH_COLUMN, pbstrvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Value, Impl: IRTCUserSearchResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, encolumn: RTC_USER_SEARCH_COLUMN, pbstrvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRTCUserSearchResult_Impl::get_Value(this, core::mem::transmute_copy(&encolumn)) { 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 1b09cdfd13..595171d98a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(INetworkTransportSettings, INetworkTranspor impl std::ops::Deref for INetworkTransportSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetworkTransportSettings, windows_core::IUnknown); @@ -32,7 +32,7 @@ windows_core::imp::define_interface!(INotificationTransportSync, INotificationTr impl std::ops::Deref for INotificationTransportSync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INotificationTransportSync, windows_core::IUnknown); @@ -54,17 +54,17 @@ windows_core::imp::define_interface!(IRTCBuddy, IRTCBuddy_Vtbl, 0xfcb136c8_7b90_ impl std::ops::Deref for IRTCBuddy { type Target = IRTCPresenceContact; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCBuddy, windows_core::IUnknown, IRTCPresenceContact); impl IRTCBuddy { pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Notes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Notes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -72,48 +72,48 @@ impl IRTCBuddy { pub struct IRTCBuddy_Vtbl { pub base__: IRTCPresenceContact_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRESENCE_STATUS) -> windows_core::HRESULT, - pub Notes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Notes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCBuddy2, IRTCBuddy2_Vtbl, 0x102f9588_23e7_40e3_954d_cd7a1d5c0361); impl std::ops::Deref for IRTCBuddy2 { type Target = IRTCBuddy; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCBuddy2, windows_core::IUnknown, IRTCPresenceContact, IRTCBuddy); impl IRTCBuddy2 { pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Groups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Groups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_PresenceProperty(&self, enproperty: RTC_PRESENCE_PROPERTY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PresenceProperty)(windows_core::Interface::as_raw(self), enproperty, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumeratePresenceDevices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumeratePresenceDevices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PresenceDevices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PresenceDevices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SubscriptionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubscriptionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -127,7 +127,7 @@ pub struct IRTCBuddy2_Vtbl { pub Groups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Groups: usize, - pub get_PresenceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_PROPERTY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_PresenceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_PROPERTY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumeratePresenceDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub PresenceDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -141,7 +141,7 @@ windows_core::imp::define_interface!(IRTCBuddyEvent, IRTCBuddyEvent_Vtbl, 0xf36d impl std::ops::Deref for IRTCBuddyEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -149,7 +149,7 @@ windows_core::imp::interface_hierarchy!(IRTCBuddyEvent, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyEvent { pub unsafe fn Buddy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Buddy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -165,7 +165,7 @@ windows_core::imp::define_interface!(IRTCBuddyEvent2, IRTCBuddyEvent2_Vtbl, 0x48 impl std::ops::Deref for IRTCBuddyEvent2 { type Target = IRTCBuddyEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -173,15 +173,15 @@ windows_core::imp::interface_hierarchy!(IRTCBuddyEvent2, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyEvent2 { pub unsafe fn EventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -191,19 +191,19 @@ pub struct IRTCBuddyEvent2_Vtbl { pub base__: IRTCBuddyEvent_Vtbl, pub EventType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_BUDDY_EVENT_TYPE) -> windows_core::HRESULT, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCBuddyGroup, IRTCBuddyGroup_Vtbl, 0x60361e68_9164_4389_a4c6_d0b3925bda5e); impl std::ops::Deref for IRTCBuddyGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCBuddyGroup, windows_core::IUnknown); impl IRTCBuddyGroup { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrgroupname: P0) -> windows_core::Result<()> @@ -225,16 +225,16 @@ impl IRTCBuddyGroup { (windows_core::Interface::vtable(self).RemoveBuddy)(windows_core::Interface::as_raw(self), pbuddy.param().abi()).ok() } pub unsafe fn EnumerateBuddies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateBuddies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Buddies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Buddies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Data(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Data)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetData(&self, bstrdata: P0) -> windows_core::Result<()> @@ -244,15 +244,15 @@ impl IRTCBuddyGroup { (windows_core::Interface::vtable(self).SetData)(windows_core::Interface::as_raw(self), bstrdata.param().abi()).ok() } pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IRTCBuddyGroup_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddBuddy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveBuddy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateBuddies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -260,8 +260,8 @@ pub struct IRTCBuddyGroup_Vtbl { pub Buddies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Buddies: usize, - pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -270,7 +270,7 @@ windows_core::imp::define_interface!(IRTCBuddyGroupEvent, IRTCBuddyGroupEvent_Vt impl std::ops::Deref for IRTCBuddyGroupEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -278,19 +278,19 @@ windows_core::imp::interface_hierarchy!(IRTCBuddyGroupEvent, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyGroupEvent { pub unsafe fn EventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Group(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Group)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Buddy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Buddy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -307,7 +307,7 @@ windows_core::imp::define_interface!(IRTCClient, IRTCClient_Vtbl, 0x07829e45_9a3 impl std::ops::Deref for IRTCClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCClient, windows_core::IUnknown); @@ -325,7 +325,7 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventFilter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPreferredMediaTypes(&self, lmediatypes: i32, fpersistent: P0) -> windows_core::Result<()> @@ -335,11 +335,11 @@ impl IRTCClient { (windows_core::Interface::vtable(self).SetPreferredMediaTypes)(windows_core::Interface::as_raw(self), lmediatypes, fpersistent.param().abi()).ok() } pub unsafe fn PreferredMediaTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredMediaTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MediaCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CreateSession(&self, entype: RTC_SESSION_TYPE, bstrlocalphoneuri: P0, pprofile: P1, lflags: i32) -> windows_core::Result @@ -347,14 +347,14 @@ impl IRTCClient { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSession)(windows_core::Interface::as_raw(self), entype, bstrlocalphoneuri.param().abi(), pprofile.param().abi(), lflags, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ListenForIncomingSessions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_NetworkAddresses(&self, ftcp: P0, fexternal: P1) -> windows_core::Result @@ -362,14 +362,14 @@ impl IRTCClient { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_NetworkAddresses)(windows_core::Interface::as_raw(self), ftcp.param().abi(), fexternal.param().abi(), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Volume)(windows_core::Interface::as_raw(self), endevice, &mut result__).map(|| result__) } pub unsafe fn put_AudioMuted(&self, endevice: RTC_AUDIO_DEVICE, fmuted: P0) -> windows_core::Result<()> @@ -379,12 +379,12 @@ impl IRTCClient { (windows_core::Interface::vtable(self).put_AudioMuted)(windows_core::Interface::as_raw(self), endevice, fmuted.param().abi()).ok() } pub unsafe fn get_AudioMuted(&self, endevice: RTC_AUDIO_DEVICE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AudioMuted)(windows_core::Interface::as_raw(self), endevice, &mut result__).map(|| result__) } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_IVideoWindow)(windows_core::Interface::as_raw(self), endevice, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_PreferredAudioDevice(&self, endevice: RTC_AUDIO_DEVICE, bstrdevicename: P0) -> windows_core::Result<()> @@ -394,14 +394,14 @@ impl IRTCClient { (windows_core::Interface::vtable(self).put_PreferredAudioDevice)(windows_core::Interface::as_raw(self), endevice, bstrdevicename.param().abi()).ok() } pub unsafe fn get_PreferredAudioDevice(&self, endevice: RTC_AUDIO_DEVICE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PreferredAudioDevice)(windows_core::Interface::as_raw(self), endevice, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PreferredVolume)(windows_core::Interface::as_raw(self), endevice, &mut result__).map(|| result__) } pub unsafe fn SetPreferredAEC(&self, benable: P0) -> windows_core::Result<()> @@ -411,7 +411,7 @@ impl IRTCClient { (windows_core::Interface::vtable(self).SetPreferredAEC)(windows_core::Interface::as_raw(self), benable.param().abi()).ok() } pub unsafe fn PreferredAEC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredAEC)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPreferredVideoDevice(&self, bstrdevicename: P0) -> windows_core::Result<()> @@ -421,29 +421,29 @@ impl IRTCClient { (windows_core::Interface::vtable(self).SetPreferredVideoDevice)(windows_core::Interface::as_raw(self), bstrdevicename.param().abi()).ok() } pub unsafe fn PreferredVideoDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredVideoDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ActiveMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActiveMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxBitrate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TemporalSpatialTradeOff)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NetworkQuality(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkQuality)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StartT120Applet(&self, enapplet: RTC_T120_APPLET) -> windows_core::Result<()> { @@ -453,11 +453,11 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_IsT120AppletRunning)(windows_core::Interface::as_raw(self), enapplet, &mut result__).map(|| result__) } pub unsafe fn LocalUserURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalUserURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalUserURI(&self, bstruseruri: P0) -> windows_core::Result<()> @@ -467,7 +467,7 @@ impl IRTCClient { (windows_core::Interface::vtable(self).SetLocalUserURI)(windows_core::Interface::as_raw(self), bstruseruri.param().abi()).ok() } pub unsafe fn LocalUserName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalUserName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocalUserName(&self, bstrusername: P0) -> windows_core::Result<()> @@ -489,7 +489,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTuned)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -504,10 +504,10 @@ pub struct IRTCClient_Vtbl { pub SetPreferredMediaTypes: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub PreferredMediaTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MediaCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SESSION_TYPE, std::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SESSION_TYPE, core::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetListenForIncomingSessions: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_LISTEN_MODE) -> windows_core::HRESULT, pub ListenForIncomingSessions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_LISTEN_MODE) -> windows_core::HRESULT, - pub get_NetworkAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_NetworkAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub put_Volume: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_AUDIO_DEVICE, i32) -> windows_core::HRESULT, pub get_Volume: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_AUDIO_DEVICE, *mut i32) -> windows_core::HRESULT, pub put_AudioMuted: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_AUDIO_DEVICE, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -516,14 +516,14 @@ pub struct IRTCClient_Vtbl { pub get_IVideoWindow: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_VIDEO_DEVICE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_Media_DirectShow", feature = "Win32_System_Com")))] get_IVideoWindow: usize, - pub put_PreferredAudioDevice: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_AUDIO_DEVICE, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_PreferredAudioDevice: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_AUDIO_DEVICE, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_PreferredAudioDevice: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_AUDIO_DEVICE, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_PreferredAudioDevice: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_AUDIO_DEVICE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub put_PreferredVolume: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_AUDIO_DEVICE, i32) -> windows_core::HRESULT, pub get_PreferredVolume: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_AUDIO_DEVICE, *mut i32) -> windows_core::HRESULT, pub SetPreferredAEC: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub PreferredAEC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetPreferredVideoDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PreferredVideoDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPreferredVideoDevice: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PreferredVideoDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ActiveMedia: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MaxBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -533,10 +533,10 @@ pub struct IRTCClient_Vtbl { pub StartT120Applet: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_T120_APPLET) -> windows_core::HRESULT, pub StopT120Applets: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub get_IsT120AppletRunning: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_T120_APPLET, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub LocalUserURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalUserURI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocalUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocalUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalUserURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalUserURI: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub PlayRing: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_RING_TYPE, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SendDTMF: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_DTMF) -> windows_core::HRESULT, pub InvokeTuningWizard: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, @@ -546,7 +546,7 @@ windows_core::imp::define_interface!(IRTCClient2, IRTCClient2_Vtbl, 0x0c91d71d_1 impl std::ops::Deref for IRTCClient2 { type Target = IRTCClient; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCClient2, windows_core::IUnknown, IRTCClient); @@ -555,7 +555,7 @@ impl IRTCClient2 { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AnswerMode)(windows_core::Interface::as_raw(self), entype, &mut result__).map(|| result__) } pub unsafe fn InvokeTuningWizardEx(&self, hwndparent: isize, fallowaudio: P0, fallowvideo: P1) -> windows_core::Result<()> @@ -566,7 +566,7 @@ impl IRTCClient2 { (windows_core::Interface::vtable(self).InvokeTuningWizardEx)(windows_core::Interface::as_raw(self), hwndparent, fallowaudio.param().abi(), fallowvideo.param().abi()).ok() } pub unsafe fn Version(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Version)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClientName(&self, bstrclientname: P0) -> windows_core::Result<()> @@ -590,7 +590,7 @@ impl IRTCClient2 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSessionWithDescription)(windows_core::Interface::as_raw(self), bstrcontenttype.param().abi(), bstrsessiondescription.param().abi(), pprofile.param().abi(), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSessionDescriptionManager(&self, psessiondescriptionmanager: P0) -> windows_core::Result<()> @@ -603,14 +603,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PreferredSecurityLevel)(windows_core::Interface::as_raw(self), ensecuritytype, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_AllowedPorts)(windows_core::Interface::as_raw(self), ltransport, &mut result__).map(|| result__) } } @@ -621,10 +621,10 @@ pub struct IRTCClient2_Vtbl { pub get_AnswerMode: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SESSION_TYPE, *mut RTC_ANSWER_MODE) -> windows_core::HRESULT, pub InvokeTuningWizardEx: unsafe extern "system" fn(*mut core::ffi::c_void, isize, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClientCurVer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientCurVer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub InitializeEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CreateSessionWithDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSessionWithDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSessionDescriptionManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub put_PreferredSecurityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SECURITY_TYPE, RTC_SECURITY_LEVEL) -> windows_core::HRESULT, pub get_PreferredSecurityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SECURITY_TYPE, *mut RTC_SECURITY_LEVEL) -> windows_core::HRESULT, @@ -637,7 +637,7 @@ windows_core::imp::define_interface!(IRTCClientEvent, IRTCClientEvent_Vtbl, 0x2b impl std::ops::Deref for IRTCClientEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -645,11 +645,11 @@ windows_core::imp::interface_hierarchy!(IRTCClientEvent, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IRTCClientEvent { pub unsafe fn EventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Client(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Client)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -664,7 +664,7 @@ windows_core::imp::define_interface!(IRTCClientPortManagement, IRTCClientPortMan impl std::ops::Deref for IRTCClientPortManagement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCClientPortManagement, windows_core::IUnknown); @@ -688,15 +688,15 @@ impl IRTCClientPortManagement { #[repr(C)] pub struct IRTCClientPortManagement_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub StartListenAddressAndPort: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub StopListenAddressAndPort: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub StartListenAddressAndPort: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub StopListenAddressAndPort: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub GetPortRange: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PORT_TYPE, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClientPresence, IRTCClientPresence_Vtbl, 0x11c3cbcc_0744_42d1_968a_51aa1bb274c6); impl std::ops::Deref for IRTCClientPresence { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCClientPresence, windows_core::IUnknown); @@ -722,19 +722,19 @@ impl IRTCClientPresence { (windows_core::Interface::vtable(self).Import)(windows_core::Interface::as_raw(self), varstorage.param().abi(), freplaceall.param().abi()).ok() } pub unsafe fn EnumerateBuddies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateBuddies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Buddies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Buddies)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Buddy(&self, bstrpresentityuri: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Buddy)(windows_core::Interface::as_raw(self), bstrpresentityuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddBuddy(&self, bstrpresentityuri: P0, bstrusername: P1, bstrdata: P2, fpersistent: P3, pprofile: P4, lflags: i32) -> windows_core::Result @@ -745,7 +745,7 @@ impl IRTCClientPresence { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBuddy)(windows_core::Interface::as_raw(self), bstrpresentityuri.param().abi(), bstrusername.param().abi(), bstrdata.param().abi(), fpersistent.param().abi(), pprofile.param().abi(), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveBuddy(&self, pbuddy: P0) -> windows_core::Result<()> @@ -755,19 +755,19 @@ impl IRTCClientPresence { (windows_core::Interface::vtable(self).RemoveBuddy)(windows_core::Interface::as_raw(self), pbuddy.param().abi()).ok() } pub unsafe fn EnumerateWatchers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateWatchers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Watchers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Watchers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Watcher(&self, bstrpresentityuri: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Watcher)(windows_core::Interface::as_raw(self), bstrpresentityuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddWatcher(&self, bstrpresentityuri: P0, bstrusername: P1, bstrdata: P2, fblocked: P3, fpersistent: P4) -> windows_core::Result @@ -778,7 +778,7 @@ impl IRTCClientPresence { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddWatcher)(windows_core::Interface::as_raw(self), bstrpresentityuri.param().abi(), bstrusername.param().abi(), bstrdata.param().abi(), fblocked.param().abi(), fpersistent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveWatcher(&self, pwatcher: P0) -> windows_core::Result<()> @@ -794,14 +794,14 @@ impl IRTCClientPresence { (windows_core::Interface::vtable(self).SetLocalPresenceInfo)(windows_core::Interface::as_raw(self), enstatus, bstrnotes.param().abi()).ok() } pub unsafe fn OfferWatcherMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OfferWatcherMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrivacyMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPrivacyMode(&self, enmode: RTC_PRIVACY_MODE) -> windows_core::Result<()> { @@ -811,26 +811,26 @@ impl IRTCClientPresence { #[repr(C)] pub struct IRTCClientPresence_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub EnablePresence: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Export: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub EnablePresence: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Export: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub EnumerateBuddies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Buddies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Buddies: usize, - pub get_Buddy: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddBuddy: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Buddy: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddBuddy: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveBuddy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateWatchers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Watchers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Watchers: usize, - pub get_Watcher: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Watcher: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetLocalPresenceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_STATUS, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocalPresenceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_STATUS, core::mem::MaybeUninit) -> windows_core::HRESULT, pub OfferWatcherMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_OFFER_WATCHER_MODE) -> windows_core::HRESULT, pub SetOfferWatcherMode: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_OFFER_WATCHER_MODE) -> windows_core::HRESULT, pub PrivacyMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRIVACY_MODE) -> windows_core::HRESULT, @@ -840,7 +840,7 @@ windows_core::imp::define_interface!(IRTCClientPresence2, IRTCClientPresence2_Vt impl std::ops::Deref for IRTCClientPresence2 { type Target = IRTCClientPresence; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCClientPresence2, windows_core::IUnknown, IRTCClientPresence); @@ -861,7 +861,7 @@ impl IRTCClientPresence2 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddGroup)(windows_core::Interface::as_raw(self), bstrgroupname.param().abi(), bstrdata.param().abi(), pprofile.param().abi(), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveGroup(&self, pgroup: P0) -> windows_core::Result<()> @@ -871,19 +871,19 @@ impl IRTCClientPresence2 { (windows_core::Interface::vtable(self).RemoveGroup)(windows_core::Interface::as_raw(self), pgroup.param().abi()).ok() } pub unsafe fn EnumerateGroups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateGroups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Groups(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Groups)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_Group(&self, bstrgroupname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Group)(windows_core::Interface::as_raw(self), bstrgroupname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddWatcherEx(&self, bstrpresentityuri: P0, bstrusername: P1, bstrdata: P2, enstate: RTC_WATCHER_STATE, fpersistent: P3, enscope: RTC_ACE_SCOPE, pprofile: P4, lflags: i32) -> windows_core::Result @@ -894,14 +894,14 @@ impl IRTCClientPresence2 { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddWatcherEx)(windows_core::Interface::as_raw(self), bstrpresentityuri.param().abi(), bstrusername.param().abi(), bstrdata.param().abi(), enstate, fpersistent.param().abi(), enscope, pprofile.param().abi(), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_WatcherEx(&self, enmode: RTC_WATCHER_MATCH_MODE, bstrpresentityuri: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_WatcherEx)(windows_core::Interface::as_raw(self), enmode, bstrpresentityuri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_PresenceProperty(&self, enproperty: RTC_PRESENCE_PROPERTY, bstrproperty: P0) -> windows_core::Result<()> @@ -911,7 +911,7 @@ impl IRTCClientPresence2 { (windows_core::Interface::vtable(self).put_PresenceProperty)(windows_core::Interface::as_raw(self), enproperty, bstrproperty.param().abi()).ok() } pub unsafe fn get_PresenceProperty(&self, enproperty: RTC_PRESENCE_PROPERTY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PresenceProperty)(windows_core::Interface::as_raw(self), enproperty, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPresenceData(&self, bstrnamespace: P0, bstrdata: P1) -> windows_core::Result<()> @@ -935,37 +935,37 @@ impl IRTCClientPresence2 { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddBuddyEx)(windows_core::Interface::as_raw(self), bstrpresentityuri.param().abi(), bstrusername.param().abi(), bstrdata.param().abi(), fpersistent.param().abi(), ensubscriptiontype, pprofile.param().abi(), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IRTCClientPresence2_Vtbl { pub base__: IRTCClientPresence_Vtbl, - pub EnablePresenceEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub EnablePresenceEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub DisablePresence: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddGroup: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Groups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Groups: usize, - pub get_Group: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddWatcherEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, RTC_WATCHER_STATE, super::super::Foundation::VARIANT_BOOL, RTC_ACE_SCOPE, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub get_WatcherEx: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_WATCHER_MATCH_MODE, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub put_PresenceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_PROPERTY, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_PresenceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_PROPERTY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetLocalPresenceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRESENCE_STATUS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddBuddyEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, RTC_BUDDY_SUBSCRIPTION_TYPE, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Group: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddWatcherEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, RTC_WATCHER_STATE, super::super::Foundation::VARIANT_BOOL, RTC_ACE_SCOPE, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_WatcherEx: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_WATCHER_MATCH_MODE, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub put_PresenceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_PROPERTY, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_PresenceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_PROPERTY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLocalPresenceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRESENCE_STATUS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddBuddyEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, RTC_BUDDY_SUBSCRIPTION_TYPE, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClientProvisioning, IRTCClientProvisioning_Vtbl, 0xb9f5cf06_65b9_4a80_a0e6_73cae3ef3822); impl std::ops::Deref for IRTCClientProvisioning { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCClientProvisioning, windows_core::IUnknown); @@ -974,7 +974,7 @@ impl IRTCClientProvisioning { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateProfile)(windows_core::Interface::as_raw(self), bstrprofilexml.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnableProfile(&self, pprofile: P0, lregisterflags: i32) -> windows_core::Result<()> @@ -990,12 +990,12 @@ impl IRTCClientProvisioning { (windows_core::Interface::vtable(self).DisableProfile)(windows_core::Interface::as_raw(self), pprofile.param().abi()).ok() } pub unsafe fn EnumerateProfiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateProfiles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Profiles(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profiles)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetProfile(&self, bstruseraccount: P0, bstruserpassword: P1, bstruseruri: P2, bstrserver: P3, ltransport: i32, lcookie: isize) -> windows_core::Result<()> @@ -1008,14 +1008,14 @@ impl IRTCClientProvisioning { (windows_core::Interface::vtable(self).GetProfile)(windows_core::Interface::as_raw(self), bstruseraccount.param().abi(), bstruserpassword.param().abi(), bstruseruri.param().abi(), bstrserver.param().abi(), ltransport, lcookie).ok() } pub unsafe fn SessionCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IRTCClientProvisioning_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateProfile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateProfile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DisableProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateProfiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1023,14 +1023,14 @@ pub struct IRTCClientProvisioning_Vtbl { pub Profiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Profiles: usize, - pub GetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, isize) -> windows_core::HRESULT, + pub GetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, isize) -> windows_core::HRESULT, pub SessionCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClientProvisioning2, IRTCClientProvisioning2_Vtbl, 0xa70909b5_f40e_4587_bb75_e6bc0845023e); impl std::ops::Deref for IRTCClientProvisioning2 { type Target = IRTCClientProvisioning; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCClientProvisioning2, windows_core::IUnknown, IRTCClientProvisioning); @@ -1053,7 +1053,7 @@ windows_core::imp::define_interface!(IRTCCollection, IRTCCollection_Vtbl, 0xec7c impl std::ops::Deref for IRTCCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1061,15 +1061,15 @@ windows_core::imp::interface_hierarchy!(IRTCCollection, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IRTCCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1078,7 +1078,7 @@ impl IRTCCollection { pub struct IRTCCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -1087,7 +1087,7 @@ windows_core::imp::define_interface!(IRTCDispatchEventNotification, IRTCDispatch impl std::ops::Deref for IRTCDispatchEventNotification { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1103,7 +1103,7 @@ windows_core::imp::define_interface!(IRTCEnumBuddies, IRTCEnumBuddies_Vtbl, 0xf7 impl std::ops::Deref for IRTCEnumBuddies { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCEnumBuddies, windows_core::IUnknown); @@ -1118,7 +1118,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1134,7 +1134,7 @@ windows_core::imp::define_interface!(IRTCEnumGroups, IRTCEnumGroups_Vtbl, 0x7423 impl std::ops::Deref for IRTCEnumGroups { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCEnumGroups, windows_core::IUnknown); @@ -1149,7 +1149,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1165,7 +1165,7 @@ windows_core::imp::define_interface!(IRTCEnumParticipants, IRTCEnumParticipants_ impl std::ops::Deref for IRTCEnumParticipants { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCEnumParticipants, windows_core::IUnknown); @@ -1180,7 +1180,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1196,7 +1196,7 @@ windows_core::imp::define_interface!(IRTCEnumPresenceDevices, IRTCEnumPresenceDe impl std::ops::Deref for IRTCEnumPresenceDevices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCEnumPresenceDevices, windows_core::IUnknown); @@ -1211,7 +1211,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1227,7 +1227,7 @@ windows_core::imp::define_interface!(IRTCEnumProfiles, IRTCEnumProfiles_Vtbl, 0x impl std::ops::Deref for IRTCEnumProfiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCEnumProfiles, windows_core::IUnknown); @@ -1242,7 +1242,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1258,7 +1258,7 @@ windows_core::imp::define_interface!(IRTCEnumUserSearchResults, IRTCEnumUserSear impl std::ops::Deref for IRTCEnumUserSearchResults { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCEnumUserSearchResults, windows_core::IUnknown); @@ -1273,7 +1273,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1289,7 +1289,7 @@ windows_core::imp::define_interface!(IRTCEnumWatchers, IRTCEnumWatchers_Vtbl, 0x impl std::ops::Deref for IRTCEnumWatchers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCEnumWatchers, windows_core::IUnknown); @@ -1304,7 +1304,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1320,7 +1320,7 @@ windows_core::imp::define_interface!(IRTCEventNotification, IRTCEventNotificatio impl std::ops::Deref for IRTCEventNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCEventNotification, windows_core::IUnknown); @@ -1347,7 +1347,7 @@ windows_core::imp::define_interface!(IRTCInfoEvent, IRTCInfoEvent_Vtbl, 0x4e1d68 impl std::ops::Deref for IRTCInfoEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1355,19 +1355,19 @@ windows_core::imp::interface_hierarchy!(IRTCInfoEvent, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IRTCInfoEvent { pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Participant(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Participant)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Info(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Info)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InfoHeader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InfoHeader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1377,8 +1377,8 @@ pub struct IRTCInfoEvent_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Participant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Info: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InfoHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Info: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InfoHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCIntensityEvent, IRTCIntensityEvent_Vtbl, 0x4c23bf51_390c_4992_a41d_41eec05b2a4b); @@ -1386,7 +1386,7 @@ windows_core::imp::define_interface!(IRTCIntensityEvent, IRTCIntensityEvent_Vtbl impl std::ops::Deref for IRTCIntensityEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1394,19 +1394,19 @@ windows_core::imp::interface_hierarchy!(IRTCIntensityEvent, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IRTCIntensityEvent { pub unsafe fn Level(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Level)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Min(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Min)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Max(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Max)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Direction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Direction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1425,7 +1425,7 @@ windows_core::imp::define_interface!(IRTCMediaEvent, IRTCMediaEvent_Vtbl, 0x0999 impl std::ops::Deref for IRTCMediaEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1433,15 +1433,15 @@ windows_core::imp::interface_hierarchy!(IRTCMediaEvent, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IRTCMediaEvent { pub unsafe fn MediaType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EventReason(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventReason)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1459,7 +1459,7 @@ windows_core::imp::define_interface!(IRTCMediaRequestEvent, IRTCMediaRequestEven impl std::ops::Deref for IRTCMediaRequestEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1467,29 +1467,29 @@ windows_core::imp::interface_hierarchy!(IRTCMediaRequestEvent, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IRTCMediaRequestEvent { pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProposedMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProposedMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentMedia(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentMedia)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RemotePreferredSecurityLevel)(windows_core::Interface::as_raw(self), ensecuritytype, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1511,7 +1511,7 @@ windows_core::imp::define_interface!(IRTCMessagingEvent, IRTCMessagingEvent_Vtbl impl std::ops::Deref for IRTCMessagingEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1519,27 +1519,27 @@ windows_core::imp::interface_hierarchy!(IRTCMessagingEvent, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IRTCMessagingEvent { pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Participant(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Participant)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Message(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Message)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MessageHeader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MessageHeader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1550,45 +1550,45 @@ pub struct IRTCMessagingEvent_Vtbl { pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Participant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EventType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_MESSAGING_EVENT_TYPE) -> windows_core::HRESULT, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MessageHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MessageHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub UserStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_MESSAGING_USER_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCParticipant, IRTCParticipant_Vtbl, 0xae86add5_26b1_4414_af1d_b94cd938d739); impl std::ops::Deref for IRTCParticipant { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCParticipant, windows_core::IUnknown); impl IRTCParticipant { pub unsafe fn UserURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Removable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Removable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IRTCParticipant_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub UserURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Removable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PARTICIPANT_STATE) -> windows_core::HRESULT, pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1599,7 +1599,7 @@ windows_core::imp::define_interface!(IRTCParticipantStateChangeEvent, IRTCPartic impl std::ops::Deref for IRTCParticipantStateChangeEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1607,15 +1607,15 @@ windows_core::imp::interface_hierarchy!(IRTCParticipantStateChangeEvent, windows #[cfg(feature = "Win32_System_Com")] impl IRTCParticipantStateChangeEvent { pub unsafe fn Participant(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Participant)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1631,7 +1631,7 @@ windows_core::imp::define_interface!(IRTCPortManager, IRTCPortManager_Vtbl, 0xda impl std::ops::Deref for IRTCPortManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCPortManager, windows_core::IUnknown); @@ -1661,21 +1661,21 @@ impl IRTCPortManager { #[repr(C)] pub struct IRTCPortManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetMapping: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, RTC_PORT_TYPE, *mut std::mem::MaybeUninit, *mut i32, *mut std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub UpdateRemoteAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub ReleaseMapping: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub GetMapping: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, RTC_PORT_TYPE, *mut core::mem::MaybeUninit, *mut i32, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub UpdateRemoteAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub ReleaseMapping: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCPresenceContact, IRTCPresenceContact_Vtbl, 0x8b22f92c_cd90_42db_a733_212205c3e3df); impl std::ops::Deref for IRTCPresenceContact { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCPresenceContact, windows_core::IUnknown); impl IRTCPresenceContact { pub unsafe fn PresentityURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PresentityURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPresentityURI(&self, bstrpresentityuri: P0) -> windows_core::Result<()> @@ -1685,7 +1685,7 @@ impl IRTCPresenceContact { (windows_core::Interface::vtable(self).SetPresentityURI)(windows_core::Interface::as_raw(self), bstrpresentityuri.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstrname: P0) -> windows_core::Result<()> @@ -1695,7 +1695,7 @@ impl IRTCPresenceContact { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstrname.param().abi()).ok() } pub unsafe fn Data(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Data)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetData(&self, bstrdata: P0) -> windows_core::Result<()> @@ -1705,7 +1705,7 @@ impl IRTCPresenceContact { (windows_core::Interface::vtable(self).SetData)(windows_core::Interface::as_raw(self), bstrdata.param().abi()).ok() } pub unsafe fn Persistent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Persistent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPersistent(&self, fpersistent: P0) -> windows_core::Result<()> @@ -1718,12 +1718,12 @@ impl IRTCPresenceContact { #[repr(C)] pub struct IRTCPresenceContact_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub PresentityURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPresentityURI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PresentityURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPresentityURI: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Persistent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetPersistent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -1733,7 +1733,7 @@ windows_core::imp::define_interface!(IRTCPresenceDataEvent, IRTCPresenceDataEven impl std::ops::Deref for IRTCPresenceDataEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1741,11 +1741,11 @@ windows_core::imp::interface_hierarchy!(IRTCPresenceDataEvent, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IRTCPresenceDataEvent { pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPresenceData(&self, pbstrnamespace: *mut windows_core::BSTR, pbstrdata: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -1757,28 +1757,28 @@ impl IRTCPresenceDataEvent { pub struct IRTCPresenceDataEvent_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCPresenceDevice, IRTCPresenceDevice_Vtbl, 0xbc6a90dd_ad9a_48da_9b0c_2515e38521ad); impl std::ops::Deref for IRTCPresenceDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCPresenceDevice, windows_core::IUnknown); impl IRTCPresenceDevice { pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Notes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Notes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_PresenceProperty(&self, enproperty: RTC_PRESENCE_PROPERTY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PresenceProperty)(windows_core::Interface::as_raw(self), enproperty, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPresenceData(&self, pbstrnamespace: *mut windows_core::BSTR, pbstrdata: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -1789,9 +1789,9 @@ impl IRTCPresenceDevice { pub struct IRTCPresenceDevice_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRESENCE_STATUS) -> windows_core::HRESULT, - pub Notes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_PresenceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_PROPERTY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Notes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_PresenceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRESENCE_PROPERTY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCPresencePropertyEvent, IRTCPresencePropertyEvent_Vtbl, 0xf777f570_a820_49d5_86bd_e099493f1518); @@ -1799,7 +1799,7 @@ windows_core::imp::define_interface!(IRTCPresencePropertyEvent, IRTCPresenceProp impl std::ops::Deref for IRTCPresencePropertyEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1807,19 +1807,19 @@ windows_core::imp::interface_hierarchy!(IRTCPresencePropertyEvent, windows_core: #[cfg(feature = "Win32_System_Com")] impl IRTCPresencePropertyEvent { pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PresenceProperty(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PresenceProperty)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1828,9 +1828,9 @@ impl IRTCPresencePropertyEvent { pub struct IRTCPresencePropertyEvent_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PresenceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRESENCE_PROPERTY) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCPresenceStatusEvent, IRTCPresenceStatusEvent_Vtbl, 0x78673f32_4a0f_462c_89aa_ee7706707678); @@ -1838,7 +1838,7 @@ windows_core::imp::define_interface!(IRTCPresenceStatusEvent, IRTCPresenceStatus impl std::ops::Deref for IRTCPresenceStatusEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1846,11 +1846,11 @@ windows_core::imp::interface_hierarchy!(IRTCPresenceStatusEvent, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IRTCPresenceStatusEvent { pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLocalPresenceInfo(&self, penstatus: *mut RTC_PRESENCE_STATUS, pbstrnotes: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -1862,76 +1862,76 @@ impl IRTCPresenceStatusEvent { pub struct IRTCPresenceStatusEvent_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetLocalPresenceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRESENCE_STATUS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLocalPresenceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRESENCE_STATUS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCProfile, IRTCProfile_Vtbl, 0xd07eca9e_4062_4dd4_9e7d_722a49ba7303); impl std::ops::Deref for IRTCProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCProfile, windows_core::IUnknown); impl IRTCProfile { pub unsafe fn Key(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Key)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn XML(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).XML)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProviderName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_ProviderURI(&self, enuri: RTC_PROVIDER_URI) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_ProviderURI)(windows_core::Interface::as_raw(self), enuri, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProviderData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClientName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClientBanner(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientBanner)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ClientMinVer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientMinVer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClientCurVer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientCurVer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClientUpdateURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientUpdateURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClientData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserAccount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserAccount)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCredentials(&self, bstruseruri: P0, bstruseraccount: P1, bstrpassword: P2) -> windows_core::Result<()> @@ -1943,33 +1943,33 @@ impl IRTCProfile { (windows_core::Interface::vtable(self).SetCredentials)(windows_core::Interface::as_raw(self), bstruseruri.param().abi(), bstruseraccount.param().abi(), bstrpassword.param().abi()).ok() } pub unsafe fn SessionCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IRTCProfile_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_ProviderURI: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PROVIDER_URI, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProviderData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Key: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_ProviderURI: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PROVIDER_URI, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProviderData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClientBanner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ClientMinVer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClientCurVer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClientUpdateURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ClientData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientMinVer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientCurVer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientUpdateURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SessionCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_REGISTRATION_STATE) -> windows_core::HRESULT, } @@ -1977,13 +1977,13 @@ windows_core::imp::define_interface!(IRTCProfile2, IRTCProfile2_Vtbl, 0x4b81f84e impl std::ops::Deref for IRTCProfile2 { type Target = IRTCProfile; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCProfile2, windows_core::IUnknown, IRTCProfile); impl IRTCProfile2 { pub unsafe fn Realm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Realm)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRealm(&self, bstrrealm: P0) -> windows_core::Result<()> @@ -1993,7 +1993,7 @@ impl IRTCProfile2 { (windows_core::Interface::vtable(self).SetRealm)(windows_core::Interface::as_raw(self), bstrrealm.param().abi()).ok() } pub unsafe fn AllowedAuth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowedAuth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowedAuth(&self, lallowedauth: i32) -> windows_core::Result<()> { @@ -2003,8 +2003,8 @@ impl IRTCProfile2 { #[repr(C)] pub struct IRTCProfile2_Vtbl { pub base__: IRTCProfile_Vtbl, - pub Realm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRealm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Realm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRealm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AllowedAuth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAllowedAuth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -2014,7 +2014,7 @@ windows_core::imp::define_interface!(IRTCProfileEvent, IRTCProfileEvent_Vtbl, 0x impl std::ops::Deref for IRTCProfileEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2022,15 +2022,15 @@ windows_core::imp::interface_hierarchy!(IRTCProfileEvent, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IRTCProfileEvent { pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cookie(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cookie)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2048,7 +2048,7 @@ windows_core::imp::define_interface!(IRTCProfileEvent2, IRTCProfileEvent2_Vtbl, impl std::ops::Deref for IRTCProfileEvent2 { type Target = IRTCProfileEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2056,7 +2056,7 @@ windows_core::imp::interface_hierarchy!(IRTCProfileEvent2, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IRTCProfileEvent2 { pub unsafe fn EventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2072,7 +2072,7 @@ windows_core::imp::define_interface!(IRTCReInviteEvent, IRTCReInviteEvent_Vtbl, impl std::ops::Deref for IRTCReInviteEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2080,7 +2080,7 @@ windows_core::imp::interface_hierarchy!(IRTCReInviteEvent, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IRTCReInviteEvent { pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Accept(&self, bstrcontenttype: P0, bstrsessiondescription: P1) -> windows_core::Result<()> @@ -2094,7 +2094,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRemoteSessionDescription(&self, pbstrcontenttype: *mut windows_core::BSTR, pbstrsessiondescription: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -2106,10 +2106,10 @@ impl IRTCReInviteEvent { pub struct IRTCReInviteEvent_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Accept: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Accept: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Reject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_REINVITE_STATE) -> windows_core::HRESULT, - pub GetRemoteSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRemoteSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCRegistrationStateChangeEvent, IRTCRegistrationStateChangeEvent_Vtbl, 0x62d0991b_50ab_4f02_b948_ca94f26f8f95); @@ -2117,7 +2117,7 @@ windows_core::imp::define_interface!(IRTCRegistrationStateChangeEvent, IRTCRegis impl std::ops::Deref for IRTCRegistrationStateChangeEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2125,19 +2125,19 @@ windows_core::imp::interface_hierarchy!(IRTCRegistrationStateChangeEvent, window #[cfg(feature = "Win32_System_Com")] impl IRTCRegistrationStateChangeEvent { pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2148,7 +2148,7 @@ pub struct IRTCRegistrationStateChangeEvent_Vtbl { pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_REGISTRATION_STATE) -> windows_core::HRESULT, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCRoamingEvent, IRTCRoamingEvent_Vtbl, 0x79960a6b_0cb1_4dc8_a805_7318e99902e8); @@ -2156,7 +2156,7 @@ windows_core::imp::define_interface!(IRTCRoamingEvent, IRTCRoamingEvent_Vtbl, 0x impl std::ops::Deref for IRTCRoamingEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2164,19 +2164,19 @@ windows_core::imp::interface_hierarchy!(IRTCRoamingEvent, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IRTCRoamingEvent { pub unsafe fn EventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2187,36 +2187,36 @@ pub struct IRTCRoamingEvent_Vtbl { pub EventType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_ROAMING_EVENT_TYPE) -> windows_core::HRESULT, pub Profile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSession, IRTCSession_Vtbl, 0x387c8086_99be_42fb_9973_7c0fc0ca9fa8); impl std::ops::Deref for IRTCSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCSession, windows_core::IUnknown); impl IRTCSession { pub unsafe fn Client(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Client)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Participants(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Participants)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Answer(&self) -> windows_core::Result<()> { @@ -2237,7 +2237,7 @@ impl IRTCSession { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddParticipant)(windows_core::Interface::as_raw(self), bstraddress.param().abi(), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveParticipant(&self, pparticipant: P0) -> windows_core::Result<()> @@ -2247,19 +2247,19 @@ impl IRTCSession { (windows_core::Interface::vtable(self).RemoveParticipant)(windows_core::Interface::as_raw(self), pparticipant.param().abi()).ok() } pub unsafe fn EnumerateParticipants(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateParticipants)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CanAddParticipants(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanAddParticipants)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RedirectedUserURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RedirectedUserURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RedirectedUserName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RedirectedUserName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NextRedirectedUser(&self) -> windows_core::Result<()> { @@ -2301,25 +2301,25 @@ pub struct IRTCSession_Vtbl { Participants: usize, pub Answer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_TERMINATE_REASON) -> windows_core::HRESULT, - pub Redirect: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SESSION_TYPE, std::mem::MaybeUninit, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub AddParticipant: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Redirect: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SESSION_TYPE, core::mem::MaybeUninit, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, + pub AddParticipant: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveParticipant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateParticipants: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CanAddParticipants: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub RedirectedUserURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RedirectedUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RedirectedUserURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RedirectedUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub NextRedirectedUser: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SendMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, isize) -> windows_core::HRESULT, + pub SendMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, isize) -> windows_core::HRESULT, pub SendMessageStatus: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_MESSAGING_USER_STATUS, isize) -> windows_core::HRESULT, pub AddStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32, isize) -> windows_core::HRESULT, pub RemoveStream: unsafe extern "system" fn(*mut core::ffi::c_void, i32, isize) -> windows_core::HRESULT, - pub put_EncryptionKey: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_EncryptionKey: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSession2, IRTCSession2_Vtbl, 0x17d7cdfc_b007_484c_99d2_86a8a820991d); impl std::ops::Deref for IRTCSession2 { type Target = IRTCSession; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCSession2, windows_core::IUnknown, IRTCSession); @@ -2335,11 +2335,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_PreferredSecurityLevel)(windows_core::Interface::as_raw(self), ensecuritytype, &mut result__).map(|| result__) } pub unsafe fn IsSecurityEnabled(&self, ensecuritytype: RTC_SECURITY_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSecurityEnabled)(windows_core::Interface::as_raw(self), ensecuritytype, &mut result__).map(|| result__) } pub unsafe fn AnswerWithSessionDescription(&self, bstrcontenttype: P0, bstrsessiondescription: P1) -> windows_core::Result<()> @@ -2360,18 +2360,18 @@ impl IRTCSession2 { #[repr(C)] pub struct IRTCSession2_Vtbl { pub base__: IRTCSession_Vtbl, - pub SendInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, isize) -> windows_core::HRESULT, + pub SendInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, isize) -> windows_core::HRESULT, pub put_PreferredSecurityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SECURITY_TYPE, RTC_SECURITY_LEVEL) -> windows_core::HRESULT, pub get_PreferredSecurityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SECURITY_TYPE, *mut RTC_SECURITY_LEVEL) -> windows_core::HRESULT, pub IsSecurityEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SECURITY_TYPE, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub AnswerWithSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReInviteWithSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, isize) -> windows_core::HRESULT, + pub AnswerWithSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReInviteWithSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, isize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSessionCallControl, IRTCSessionCallControl_Vtbl, 0xe9a50d94_190b_4f82_9530_3b8ebf60758a); impl std::ops::Deref for IRTCSessionCallControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCSessionCallControl, windows_core::IUnknown); @@ -2402,7 +2402,7 @@ impl IRTCSessionCallControl { (windows_core::Interface::vtable(self).SetReferredByURI)(windows_core::Interface::as_raw(self), bstrreferredbyuri.param().abi()).ok() } pub unsafe fn ReferredByURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReferredByURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetReferCookie(&self, bstrrefercookie: P0) -> windows_core::Result<()> @@ -2412,11 +2412,11 @@ impl IRTCSessionCallControl { (windows_core::Interface::vtable(self).SetReferCookie)(windows_core::Interface::as_raw(self), bstrrefercookie.param().abi()).ok() } pub unsafe fn ReferCookie(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReferCookie)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsReferred(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsReferred)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2425,19 +2425,19 @@ pub struct IRTCSessionCallControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Hold: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, pub UnHold: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, - pub Forward: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Refer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReferredByURI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReferredByURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReferCookie: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReferCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Forward: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Refer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReferredByURI: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReferredByURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReferCookie: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReferCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsReferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSessionDescriptionManager, IRTCSessionDescriptionManager_Vtbl, 0xba7f518e_d336_4070_93a6_865395c843f9); impl std::ops::Deref for IRTCSessionDescriptionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCSessionDescriptionManager, windows_core::IUnknown); @@ -2453,7 +2453,7 @@ impl IRTCSessionDescriptionManager { #[repr(C)] pub struct IRTCSessionDescriptionManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub EvaluateSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub EvaluateSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionOperationCompleteEvent, IRTCSessionOperationCompleteEvent_Vtbl, 0xa6bff4c0_f7c8_4d3c_9a41_3550f78a95b0); @@ -2461,7 +2461,7 @@ windows_core::imp::define_interface!(IRTCSessionOperationCompleteEvent, IRTCSess impl std::ops::Deref for IRTCSessionOperationCompleteEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2469,19 +2469,19 @@ windows_core::imp::interface_hierarchy!(IRTCSessionOperationCompleteEvent, windo #[cfg(feature = "Win32_System_Com")] impl IRTCSessionOperationCompleteEvent { pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cookie(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cookie)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2492,7 +2492,7 @@ pub struct IRTCSessionOperationCompleteEvent_Vtbl { pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Cookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut isize) -> windows_core::HRESULT, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionOperationCompleteEvent2, IRTCSessionOperationCompleteEvent2_Vtbl, 0xf6fc2a9b_d5bc_4241_b436_1b8460c13832); @@ -2500,7 +2500,7 @@ windows_core::imp::define_interface!(IRTCSessionOperationCompleteEvent2, IRTCSes impl std::ops::Deref for IRTCSessionOperationCompleteEvent2 { type Target = IRTCSessionOperationCompleteEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2508,7 +2508,7 @@ windows_core::imp::interface_hierarchy!(IRTCSessionOperationCompleteEvent2, wind #[cfg(feature = "Win32_System_Com")] impl IRTCSessionOperationCompleteEvent2 { pub unsafe fn Participant(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Participant)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRemoteSessionDescription(&self, pbstrcontenttype: *mut windows_core::BSTR, pbstrsessiondescription: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -2520,13 +2520,13 @@ impl IRTCSessionOperationCompleteEvent2 { pub struct IRTCSessionOperationCompleteEvent2_Vtbl { pub base__: IRTCSessionOperationCompleteEvent_Vtbl, pub Participant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetRemoteSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRemoteSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSessionPortManagement, IRTCSessionPortManagement_Vtbl, 0xa072f1d6_0286_4e1f_85f2_17a2948456ec); impl std::ops::Deref for IRTCSessionPortManagement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCSessionPortManagement, windows_core::IUnknown); @@ -2549,7 +2549,7 @@ windows_core::imp::define_interface!(IRTCSessionReferStatusEvent, IRTCSessionRef impl std::ops::Deref for IRTCSessionReferStatusEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2557,19 +2557,19 @@ windows_core::imp::interface_hierarchy!(IRTCSessionReferStatusEvent, windows_cor #[cfg(feature = "Win32_System_Com")] impl IRTCSessionReferStatusEvent { pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReferStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReferStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2580,7 +2580,7 @@ pub struct IRTCSessionReferStatusEvent_Vtbl { pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReferStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_SESSION_REFER_STATUS) -> windows_core::HRESULT, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionReferredEvent, IRTCSessionReferredEvent_Vtbl, 0x176a6828_4fcc_4f28_a862_04597a6cf1c4); @@ -2588,7 +2588,7 @@ windows_core::imp::define_interface!(IRTCSessionReferredEvent, IRTCSessionReferr impl std::ops::Deref for IRTCSessionReferredEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2596,19 +2596,19 @@ windows_core::imp::interface_hierarchy!(IRTCSessionReferredEvent, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IRTCSessionReferredEvent { pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReferredByURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReferredByURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReferToURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReferToURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReferCookie(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReferCookie)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Accept(&self) -> windows_core::Result<()> { @@ -2626,9 +2626,9 @@ impl IRTCSessionReferredEvent { pub struct IRTCSessionReferredEvent_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ReferredByURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReferToURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReferCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReferredByURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReferToURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReferCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Accept: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetReferredSessionState: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SESSION_STATE) -> windows_core::HRESULT, @@ -2639,7 +2639,7 @@ windows_core::imp::define_interface!(IRTCSessionStateChangeEvent, IRTCSessionSta impl std::ops::Deref for IRTCSessionStateChangeEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2647,19 +2647,19 @@ windows_core::imp::interface_hierarchy!(IRTCSessionStateChangeEvent, windows_cor #[cfg(feature = "Win32_System_Com")] impl IRTCSessionStateChangeEvent { pub unsafe fn Session(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Session)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2670,7 +2670,7 @@ pub struct IRTCSessionStateChangeEvent_Vtbl { pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_SESSION_STATE) -> windows_core::HRESULT, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionStateChangeEvent2, IRTCSessionStateChangeEvent2_Vtbl, 0x4f933171_6f95_4880_80d9_2ec8d495d261); @@ -2678,7 +2678,7 @@ windows_core::imp::define_interface!(IRTCSessionStateChangeEvent2, IRTCSessionSt impl std::ops::Deref for IRTCSessionStateChangeEvent2 { type Target = IRTCSessionStateChangeEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2686,15 +2686,15 @@ windows_core::imp::interface_hierarchy!(IRTCSessionStateChangeEvent2, windows_co #[cfg(feature = "Win32_System_Com")] impl IRTCSessionStateChangeEvent2 { pub unsafe fn MediaTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MediaTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn get_RemotePreferredSecurityLevel(&self, ensecuritytype: RTC_SECURITY_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_RemotePreferredSecurityLevel)(windows_core::Interface::as_raw(self), ensecuritytype, &mut result__).map(|| result__) } pub unsafe fn IsForked(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsForked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRemoteSessionDescription(&self, pbstrcontenttype: *mut windows_core::BSTR, pbstrsessiondescription: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -2708,19 +2708,19 @@ pub struct IRTCSessionStateChangeEvent2_Vtbl { pub MediaTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub get_RemotePreferredSecurityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SECURITY_TYPE, *mut RTC_SECURITY_LEVEL) -> windows_core::HRESULT, pub IsForked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetRemoteSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRemoteSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCUserSearch, IRTCUserSearch_Vtbl, 0xb619882b_860c_4db4_be1b_693b6505bbe5); impl std::ops::Deref for IRTCUserSearch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCUserSearch, windows_core::IUnknown); impl IRTCUserSearch { pub unsafe fn CreateQuery(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateQuery)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExecuteSearch(&self, pquery: P0, pprofile: P1, lcookie: isize) -> windows_core::Result<()> @@ -2741,7 +2741,7 @@ windows_core::imp::define_interface!(IRTCUserSearchQuery, IRTCUserSearchQuery_Vt impl std::ops::Deref for IRTCUserSearchQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCUserSearchQuery, windows_core::IUnknown); @@ -2757,18 +2757,18 @@ impl IRTCUserSearchQuery { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SearchTerm)(windows_core::Interface::as_raw(self), bstrname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SearchTerms(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchTerms)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_SearchPreference)(windows_core::Interface::as_raw(self), enpreference, &mut result__).map(|| result__) } pub unsafe fn SetSearchDomain(&self, bstrdomain: P0) -> windows_core::Result<()> @@ -2778,39 +2778,39 @@ impl IRTCUserSearchQuery { (windows_core::Interface::vtable(self).SetSearchDomain)(windows_core::Interface::as_raw(self), bstrdomain.param().abi()).ok() } pub unsafe fn SearchDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchDomain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IRTCUserSearchQuery_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub put_SearchTerm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_SearchTerm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SearchTerms: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_SearchTerm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_SearchTerm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SearchTerms: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub put_SearchPreference: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_USER_SEARCH_PREFERENCE, i32) -> windows_core::HRESULT, pub get_SearchPreference: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_USER_SEARCH_PREFERENCE, *mut i32) -> windows_core::HRESULT, - pub SetSearchDomain: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SearchDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSearchDomain: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SearchDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCUserSearchResult, IRTCUserSearchResult_Vtbl, 0x851278b2_9592_480f_8db5_2de86b26b54d); impl std::ops::Deref for IRTCUserSearchResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCUserSearchResult, windows_core::IUnknown); impl IRTCUserSearchResult { pub unsafe fn get_Value(&self, encolumn: RTC_USER_SEARCH_COLUMN) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Value)(windows_core::Interface::as_raw(self), encolumn, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IRTCUserSearchResult_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_USER_SEARCH_COLUMN, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_USER_SEARCH_COLUMN, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCUserSearchResultsEvent, IRTCUserSearchResultsEvent_Vtbl, 0xd8c8c3cd_7fac_4088_81c5_c24cbc0938e3); @@ -2818,7 +2818,7 @@ windows_core::imp::define_interface!(IRTCUserSearchResultsEvent, IRTCUserSearchR impl std::ops::Deref for IRTCUserSearchResultsEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2826,32 +2826,32 @@ windows_core::imp::interface_hierarchy!(IRTCUserSearchResultsEvent, windows_core #[cfg(feature = "Win32_System_Com")] impl IRTCUserSearchResultsEvent { pub unsafe fn EnumerateResults(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateResults)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Results(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Results)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Query(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Query)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cookie(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cookie)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoreAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoreAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2874,13 +2874,13 @@ windows_core::imp::define_interface!(IRTCWatcher, IRTCWatcher_Vtbl, 0xc7cedad8_3 impl std::ops::Deref for IRTCWatcher { type Target = IRTCPresenceContact; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCWatcher, windows_core::IUnknown, IRTCPresenceContact); impl IRTCWatcher { pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetState(&self, enstate: RTC_WATCHER_STATE) -> windows_core::Result<()> { @@ -2897,17 +2897,17 @@ windows_core::imp::define_interface!(IRTCWatcher2, IRTCWatcher2_Vtbl, 0xd4d9967f impl std::ops::Deref for IRTCWatcher2 { type Target = IRTCWatcher; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRTCWatcher2, windows_core::IUnknown, IRTCPresenceContact, IRTCWatcher); impl IRTCWatcher2 { pub unsafe fn Profile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Profile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Scope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scope)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2923,7 +2923,7 @@ windows_core::imp::define_interface!(IRTCWatcherEvent, IRTCWatcherEvent_Vtbl, 0x impl std::ops::Deref for IRTCWatcherEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2931,7 +2931,7 @@ windows_core::imp::interface_hierarchy!(IRTCWatcherEvent, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IRTCWatcherEvent { pub unsafe fn Watcher(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Watcher)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2947,7 +2947,7 @@ windows_core::imp::define_interface!(IRTCWatcherEvent2, IRTCWatcherEvent2_Vtbl, impl std::ops::Deref for IRTCWatcherEvent2 { type Target = IRTCWatcherEvent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2955,11 +2955,11 @@ windows_core::imp::interface_hierarchy!(IRTCWatcherEvent2, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IRTCWatcherEvent2 { pub unsafe fn EventType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StatusCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2974,7 +2974,7 @@ windows_core::imp::define_interface!(ITransportSettingsInternal, ITransportSetti impl std::ops::Deref for ITransportSettingsInternal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransportSettingsInternal, windows_core::IUnknown); 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 38d0dda326..b518103060 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Recovery/mod.rs @@ -9,7 +9,7 @@ where #[inline] pub unsafe fn ApplicationRecoveryInProgress() -> windows_core::Result { windows_targets::link!("kernel32.dll" "system" fn ApplicationRecoveryInProgress(pbcancelled : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ApplicationRecoveryInProgress(&mut result__).map(|| result__) } #[cfg(feature = "Win32_System_WindowsProgramming")] diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs index 6f1a0e6f20..ea397b63ad 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs @@ -49,7 +49,7 @@ impl IRendezvousSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemoteUser, Impl: IRendezvousSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoteUser, Impl: IRendezvousSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrusername: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRendezvousSession_Impl::RemoteUser(this) { @@ -71,12 +71,12 @@ impl IRendezvousSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SendContextData, Impl: IRendezvousSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SendContextData, Impl: IRendezvousSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRendezvousSession_Impl::SendContextData(this, core::mem::transmute(&bstrdata)).into() } - unsafe extern "system" fn Terminate, Impl: IRendezvousSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hr: windows_core::HRESULT, bstrappdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Terminate, Impl: IRendezvousSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hr: windows_core::HRESULT, bstrappdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRendezvousSession_Impl::Terminate(this, core::mem::transmute_copy(&hr), core::mem::transmute(&bstrappdata)).into() 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 c8162a1629..eb611c8497 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(DRendezvousSessionEvents, DRendezvousSessio impl std::ops::Deref for DRendezvousSessionEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20,7 +20,7 @@ windows_core::imp::define_interface!(IRendezvousApplication, IRendezvousApplicat impl std::ops::Deref for IRendezvousApplication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRendezvousApplication, windows_core::IUnknown); @@ -41,21 +41,21 @@ windows_core::imp::define_interface!(IRendezvousSession, IRendezvousSession_Vtbl impl std::ops::Deref for IRendezvousSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRendezvousSession, windows_core::IUnknown); impl IRendezvousSession { pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemoteUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoteUser)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Flags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SendContextData(&self, bstrdata: P0) -> windows_core::Result<()> @@ -75,10 +75,10 @@ impl IRendezvousSession { pub struct IRendezvousSession_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RENDEZVOUS_SESSION_STATE) -> windows_core::HRESULT, - pub RemoteUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoteUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub SendContextData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SendContextData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, core::mem::MaybeUninit) -> windows_core::HRESULT, } pub const DISPID_EVENT_ON_CONTEXT_DATA: u32 = 7u32; pub const DISPID_EVENT_ON_SEND_ERROR: u32 = 8u32; diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs index 72f6e75e3d..169673a892 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs @@ -36,7 +36,7 @@ impl windows_core::RuntimeName for IADsTSUserEx {} #[cfg(feature = "Win32_System_Com")] impl IADsTSUserEx_Vtbl { pub const fn new, Impl: IADsTSUserEx_Impl, const OFFSET: isize>() -> IADsTSUserEx_Vtbl { - unsafe extern "system" fn TerminalServicesProfilePath, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TerminalServicesProfilePath, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesProfilePath(this) { @@ -47,12 +47,12 @@ impl IADsTSUserEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTerminalServicesProfilePath, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTerminalServicesProfilePath, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsTSUserEx_Impl::SetTerminalServicesProfilePath(this, core::mem::transmute(&pnewval)).into() } - unsafe extern "system" fn TerminalServicesHomeDirectory, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TerminalServicesHomeDirectory, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesHomeDirectory(this) { @@ -63,12 +63,12 @@ impl IADsTSUserEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTerminalServicesHomeDirectory, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTerminalServicesHomeDirectory, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsTSUserEx_Impl::SetTerminalServicesHomeDirectory(this, core::mem::transmute(&pnewval)).into() } - unsafe extern "system" fn TerminalServicesHomeDrive, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TerminalServicesHomeDrive, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesHomeDrive(this) { @@ -79,7 +79,7 @@ impl IADsTSUserEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTerminalServicesHomeDrive, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTerminalServicesHomeDrive, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsTSUserEx_Impl::SetTerminalServicesHomeDrive(this, core::mem::transmute(&pnewval)).into() @@ -244,7 +244,7 @@ impl IADsTSUserEx_Vtbl { let this = (*this).get_impl(); IADsTSUserEx_Impl::SetDefaultToMainPrinter(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn TerminalServicesWorkDirectory, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TerminalServicesWorkDirectory, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesWorkDirectory(this) { @@ -255,12 +255,12 @@ impl IADsTSUserEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTerminalServicesWorkDirectory, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTerminalServicesWorkDirectory, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsTSUserEx_Impl::SetTerminalServicesWorkDirectory(this, core::mem::transmute(&pnewval)).into() } - unsafe extern "system" fn TerminalServicesInitialProgram, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TerminalServicesInitialProgram, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IADsTSUserEx_Impl::TerminalServicesInitialProgram(this) { @@ -271,7 +271,7 @@ impl IADsTSUserEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTerminalServicesInitialProgram, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTerminalServicesInitialProgram, Impl: IADsTSUserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pnewval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IADsTSUserEx_Impl::SetTerminalServicesInitialProgram(this, core::mem::transmute(&pnewval)).into() @@ -651,7 +651,7 @@ impl IRemoteDesktopClient_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteSavedCredentials, Impl: IRemoteDesktopClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteSavedCredentials, Impl: IRemoteDesktopClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteDesktopClient_Impl::DeleteSavedCredentials(this, core::mem::transmute(&servername)).into() @@ -661,12 +661,12 @@ impl IRemoteDesktopClient_Vtbl { let this = (*this).get_impl(); IRemoteDesktopClient_Impl::UpdateSessionDisplaySettings(this, core::mem::transmute_copy(&width), core::mem::transmute_copy(&height)).into() } - unsafe extern "system" fn attachEvent, Impl: IRemoteDesktopClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: std::mem::MaybeUninit, callback: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn attachEvent, Impl: IRemoteDesktopClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: core::mem::MaybeUninit, callback: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteDesktopClient_Impl::attachEvent(this, core::mem::transmute(&eventname), windows_core::from_raw_borrowed(&callback)).into() } - unsafe extern "system" fn detachEvent, Impl: IRemoteDesktopClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: std::mem::MaybeUninit, callback: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn detachEvent, Impl: IRemoteDesktopClient_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventname: core::mem::MaybeUninit, callback: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteDesktopClient_Impl::detachEvent(this, core::mem::transmute(&eventname), windows_core::from_raw_borrowed(&callback)).into() @@ -716,7 +716,7 @@ impl IRemoteDesktopClientActions_Vtbl { let this = (*this).get_impl(); IRemoteDesktopClientActions_Impl::ExecuteRemoteAction(this, core::mem::transmute_copy(&remoteaction)).into() } - unsafe extern "system" fn GetSnapshot, Impl: IRemoteDesktopClientActions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapshotencoding: SnapshotEncodingType, snapshotformat: SnapshotFormatType, snapshotwidth: u32, snapshotheight: u32, snapshotdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSnapshot, Impl: IRemoteDesktopClientActions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, snapshotencoding: SnapshotEncodingType, snapshotformat: SnapshotFormatType, snapshotwidth: u32, snapshotheight: u32, snapshotdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRemoteDesktopClientActions_Impl::GetSnapshot(this, core::mem::transmute_copy(&snapshotencoding), core::mem::transmute_copy(&snapshotformat), core::mem::transmute_copy(&snapshotwidth), core::mem::transmute_copy(&snapshotheight)) { @@ -751,12 +751,12 @@ impl windows_core::RuntimeName for IRemoteDesktopClientSettings {} #[cfg(feature = "Win32_System_Com")] impl IRemoteDesktopClientSettings_Vtbl { pub const fn new, Impl: IRemoteDesktopClientSettings_Impl, const OFFSET: isize>() -> IRemoteDesktopClientSettings_Vtbl { - unsafe extern "system" fn ApplySettings, Impl: IRemoteDesktopClientSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rdpfilecontents: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplySettings, Impl: IRemoteDesktopClientSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rdpfilecontents: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteDesktopClientSettings_Impl::ApplySettings(this, core::mem::transmute(&rdpfilecontents)).into() } - unsafe extern "system" fn RetrieveSettings, Impl: IRemoteDesktopClientSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rdpfilecontents: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RetrieveSettings, Impl: IRemoteDesktopClientSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rdpfilecontents: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRemoteDesktopClientSettings_Impl::RetrieveSettings(this) { @@ -767,7 +767,7 @@ impl IRemoteDesktopClientSettings_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRdpProperty, Impl: IRemoteDesktopClientSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRdpProperty, Impl: IRemoteDesktopClientSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRemoteDesktopClientSettings_Impl::GetRdpProperty(this, core::mem::transmute(&propertyname)) { @@ -778,7 +778,7 @@ impl IRemoteDesktopClientSettings_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRdpProperty, Impl: IRemoteDesktopClientSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRdpProperty, Impl: IRemoteDesktopClientSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteDesktopClientSettings_Impl::SetRdpProperty(this, core::mem::transmute(&propertyname), core::mem::transmute(&value)).into() @@ -877,7 +877,7 @@ pub trait IRemoteSystemAdditionalInfoProvider_Impl: Sized { impl windows_core::RuntimeName for IRemoteSystemAdditionalInfoProvider {} impl IRemoteSystemAdditionalInfoProvider_Vtbl { pub const fn new, Impl: IRemoteSystemAdditionalInfoProvider_Impl, const OFFSET: isize>() -> IRemoteSystemAdditionalInfoProvider_Vtbl { - unsafe extern "system" fn GetAdditionalInfo, Impl: IRemoteSystemAdditionalInfoProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deduplicationid: *mut std::mem::MaybeUninit, riid: *const windows_core::GUID, mapview: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetAdditionalInfo, Impl: IRemoteSystemAdditionalInfoProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, deduplicationid: *mut core::mem::MaybeUninit, riid: *const windows_core::GUID, mapview: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteSystemAdditionalInfoProvider_Impl::GetAdditionalInfo(this, core::mem::transmute_copy(&deduplicationid), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&mapview)).into() @@ -914,7 +914,7 @@ pub trait ITSGAuthenticateUserSink_Impl: Sized { impl windows_core::RuntimeName for ITSGAuthenticateUserSink {} impl ITSGAuthenticateUserSink_Vtbl { pub const fn new, Impl: ITSGAuthenticateUserSink_Impl, const OFFSET: isize>() -> ITSGAuthenticateUserSink_Vtbl { - unsafe extern "system" fn OnUserAuthenticated, Impl: ITSGAuthenticateUserSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: std::mem::MaybeUninit, userdomain: std::mem::MaybeUninit, context: usize, usertoken: super::super::Foundation::HANDLE_PTR) -> windows_core::HRESULT { + unsafe extern "system" fn OnUserAuthenticated, Impl: ITSGAuthenticateUserSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: core::mem::MaybeUninit, userdomain: core::mem::MaybeUninit, context: usize, usertoken: super::super::Foundation::HANDLE_PTR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITSGAuthenticateUserSink_Impl::OnUserAuthenticated(this, core::mem::transmute(&username), core::mem::transmute(&userdomain), core::mem::transmute_copy(&context), core::mem::transmute_copy(&usertoken)).into() @@ -996,7 +996,7 @@ pub trait ITSGAuthorizeResourceSink_Impl: Sized { impl windows_core::RuntimeName for ITSGAuthorizeResourceSink {} impl ITSGAuthorizeResourceSink_Vtbl { pub const fn new, Impl: ITSGAuthorizeResourceSink_Impl, const OFFSET: isize>() -> ITSGAuthorizeResourceSink_Vtbl { - unsafe extern "system" fn OnChannelAuthorized, Impl: ITSGAuthorizeResourceSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrin: windows_core::HRESULT, mainsessionid: windows_core::GUID, subsessionid: i32, allowedresourcenames: *const std::mem::MaybeUninit, numallowedresourcenames: u32, failedresourcenames: *const std::mem::MaybeUninit, numfailedresourcenames: u32) -> windows_core::HRESULT { + unsafe extern "system" fn OnChannelAuthorized, Impl: ITSGAuthorizeResourceSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrin: windows_core::HRESULT, mainsessionid: windows_core::GUID, subsessionid: i32, allowedresourcenames: *const core::mem::MaybeUninit, numallowedresourcenames: u32, failedresourcenames: *const core::mem::MaybeUninit, numfailedresourcenames: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITSGAuthorizeResourceSink_Impl::OnChannelAuthorized(this, core::mem::transmute_copy(&hrin), core::mem::transmute(&mainsessionid), core::mem::transmute_copy(&subsessionid), core::mem::transmute_copy(&allowedresourcenames), core::mem::transmute_copy(&numallowedresourcenames), core::mem::transmute_copy(&failedresourcenames), core::mem::transmute_copy(&numfailedresourcenames)).into() @@ -1016,12 +1016,12 @@ pub trait ITSGPolicyEngine_Impl: Sized { impl windows_core::RuntimeName for ITSGPolicyEngine {} impl ITSGPolicyEngine_Vtbl { pub const fn new, Impl: ITSGPolicyEngine_Impl, const OFFSET: isize>() -> ITSGPolicyEngine_Vtbl { - unsafe extern "system" fn AuthorizeConnection, Impl: ITSGPolicyEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mainsessionid: windows_core::GUID, username: std::mem::MaybeUninit, authtype: AAAuthSchemes, clientmachineip: std::mem::MaybeUninit, clientmachinename: std::mem::MaybeUninit, sohdata: *const u8, numsohbytes: u32, cookiedata: *const u8, numcookiebytes: u32, usertoken: super::super::Foundation::HANDLE_PTR, psink: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AuthorizeConnection, Impl: ITSGPolicyEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mainsessionid: windows_core::GUID, username: core::mem::MaybeUninit, authtype: AAAuthSchemes, clientmachineip: core::mem::MaybeUninit, clientmachinename: core::mem::MaybeUninit, sohdata: *const u8, numsohbytes: u32, cookiedata: *const u8, numcookiebytes: u32, usertoken: super::super::Foundation::HANDLE_PTR, psink: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITSGPolicyEngine_Impl::AuthorizeConnection(this, core::mem::transmute(&mainsessionid), core::mem::transmute(&username), core::mem::transmute_copy(&authtype), core::mem::transmute(&clientmachineip), core::mem::transmute(&clientmachinename), core::mem::transmute_copy(&sohdata), core::mem::transmute_copy(&numsohbytes), core::mem::transmute_copy(&cookiedata), core::mem::transmute_copy(&numcookiebytes), core::mem::transmute_copy(&usertoken), windows_core::from_raw_borrowed(&psink)).into() } - unsafe extern "system" fn AuthorizeResource, Impl: ITSGPolicyEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mainsessionid: windows_core::GUID, subsessionid: i32, username: std::mem::MaybeUninit, resourcenames: *const std::mem::MaybeUninit, numresources: u32, alternateresourcenames: *const std::mem::MaybeUninit, numalternateresourcename: u32, portnumber: u32, operation: std::mem::MaybeUninit, cookie: *const u8, numbytesincookie: u32, psink: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AuthorizeResource, Impl: ITSGPolicyEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, mainsessionid: windows_core::GUID, subsessionid: i32, username: core::mem::MaybeUninit, resourcenames: *const core::mem::MaybeUninit, numresources: u32, alternateresourcenames: *const core::mem::MaybeUninit, numalternateresourcename: u32, portnumber: u32, operation: core::mem::MaybeUninit, cookie: *const u8, numbytesincookie: u32, psink: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITSGPolicyEngine_Impl::AuthorizeResource( @@ -1119,7 +1119,7 @@ impl windows_core::RuntimeName for ITsSbClientConnection {} #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbClientConnection_Vtbl { pub const fn new, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>() -> ITsSbClientConnection_Vtbl { - unsafe extern "system" fn UserName, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserName, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbClientConnection_Impl::UserName(this) { @@ -1130,7 +1130,7 @@ impl ITsSbClientConnection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Domain, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Domain, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbClientConnection_Impl::Domain(this) { @@ -1141,7 +1141,7 @@ impl ITsSbClientConnection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InitialProgram, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitialProgram, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbClientConnection_Impl::InitialProgram(this) { @@ -1163,7 +1163,7 @@ impl ITsSbClientConnection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FarmName, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FarmName, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbClientConnection_Impl::FarmName(this) { @@ -1174,12 +1174,12 @@ impl ITsSbClientConnection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PutContext, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contextid: std::mem::MaybeUninit, context: std::mem::MaybeUninit, existingcontext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutContext, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contextid: core::mem::MaybeUninit, context: core::mem::MaybeUninit, existingcontext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbClientConnection_Impl::PutContext(this, core::mem::transmute(&contextid), core::mem::transmute(&context), core::mem::transmute_copy(&existingcontext)).into() } - unsafe extern "system" fn GetContext, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contextid: std::mem::MaybeUninit, context: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetContext, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, contextid: core::mem::MaybeUninit, context: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbClientConnection_Impl::GetContext(this, core::mem::transmute(&contextid)) { @@ -1206,7 +1206,7 @@ impl ITsSbClientConnection_Vtbl { let this = (*this).get_impl(); ITsSbClientConnection_Impl::get_ConnectionError(this).into() } - unsafe extern "system" fn SamUserAccount, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SamUserAccount, Impl: ITsSbClientConnection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbClientConnection_Impl::SamUserAccount(this) { @@ -1320,7 +1320,7 @@ impl windows_core::RuntimeName for ITsSbEnvironment {} #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbEnvironment_Vtbl { pub const fn new, Impl: ITsSbEnvironment_Impl, const OFFSET: isize>() -> ITsSbEnvironment_Vtbl { - unsafe extern "system" fn Name, Impl: ITsSbEnvironment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITsSbEnvironment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbEnvironment_Impl::Name(this) { @@ -1410,7 +1410,7 @@ impl ITsSbFilterPluginStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteProperties, Impl: ITsSbFilterPluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteProperties, Impl: ITsSbFilterPluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbFilterPluginStore_Impl::DeleteProperties(this, core::mem::transmute(&propertyname)).into() @@ -1474,7 +1474,7 @@ impl windows_core::RuntimeName for ITsSbGlobalStore {} #[cfg(feature = "Win32_System_Com")] impl ITsSbGlobalStore_Vtbl { pub const fn new, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>() -> ITsSbGlobalStore_Vtbl { - unsafe extern "system" fn QueryTarget, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: std::mem::MaybeUninit, targetname: std::mem::MaybeUninit, farmname: std::mem::MaybeUninit, pptarget: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QueryTarget, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: core::mem::MaybeUninit, targetname: core::mem::MaybeUninit, farmname: core::mem::MaybeUninit, pptarget: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbGlobalStore_Impl::QueryTarget(this, core::mem::transmute(&providername), core::mem::transmute(&targetname), core::mem::transmute(&farmname)) { @@ -1485,7 +1485,7 @@ impl ITsSbGlobalStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn QuerySessionBySessionId, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: std::mem::MaybeUninit, dwsessionid: u32, targetname: std::mem::MaybeUninit, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QuerySessionBySessionId, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: core::mem::MaybeUninit, dwsessionid: u32, targetname: core::mem::MaybeUninit, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbGlobalStore_Impl::QuerySessionBySessionId(this, core::mem::transmute(&providername), core::mem::transmute_copy(&dwsessionid), core::mem::transmute(&targetname)) { @@ -1496,27 +1496,27 @@ impl ITsSbGlobalStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EnumerateFarms, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: std::mem::MaybeUninit, pdwcount: *mut u32, pval: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateFarms, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: core::mem::MaybeUninit, pdwcount: *mut u32, pval: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbGlobalStore_Impl::EnumerateFarms(this, core::mem::transmute(&providername), core::mem::transmute_copy(&pdwcount), core::mem::transmute_copy(&pval)).into() } - unsafe extern "system" fn EnumerateTargets, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: std::mem::MaybeUninit, farmname: std::mem::MaybeUninit, envname: std::mem::MaybeUninit, pdwcount: *mut u32, pval: *mut *mut Option) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateTargets, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: core::mem::MaybeUninit, farmname: core::mem::MaybeUninit, envname: core::mem::MaybeUninit, pdwcount: *mut u32, pval: *mut *mut Option) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbGlobalStore_Impl::EnumerateTargets(this, core::mem::transmute(&providername), core::mem::transmute(&farmname), core::mem::transmute(&envname), core::mem::transmute_copy(&pdwcount), core::mem::transmute_copy(&pval)).into() } - unsafe extern "system" fn EnumerateEnvironmentsByProvider, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: std::mem::MaybeUninit, pdwcount: *mut u32, ppval: *mut *mut Option) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateEnvironmentsByProvider, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: core::mem::MaybeUninit, pdwcount: *mut u32, ppval: *mut *mut Option) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbGlobalStore_Impl::EnumerateEnvironmentsByProvider(this, core::mem::transmute(&providername), core::mem::transmute_copy(&pdwcount), core::mem::transmute_copy(&ppval)).into() } - unsafe extern "system" fn EnumerateSessions, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: std::mem::MaybeUninit, targetname: std::mem::MaybeUninit, username: std::mem::MaybeUninit, userdomain: std::mem::MaybeUninit, poolname: std::mem::MaybeUninit, initialprogram: std::mem::MaybeUninit, psessionstate: *const TSSESSION_STATE, pdwcount: *mut u32, ppval: *mut *mut Option) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateSessions, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, providername: core::mem::MaybeUninit, targetname: core::mem::MaybeUninit, username: core::mem::MaybeUninit, userdomain: core::mem::MaybeUninit, poolname: core::mem::MaybeUninit, initialprogram: core::mem::MaybeUninit, psessionstate: *const TSSESSION_STATE, pdwcount: *mut u32, ppval: *mut *mut Option) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbGlobalStore_Impl::EnumerateSessions(this, core::mem::transmute(&providername), core::mem::transmute(&targetname), core::mem::transmute(&username), core::mem::transmute(&userdomain), core::mem::transmute(&poolname), core::mem::transmute(&initialprogram), core::mem::transmute_copy(&psessionstate), core::mem::transmute_copy(&pdwcount), core::mem::transmute_copy(&ppval)).into() } - unsafe extern "system" fn GetFarmProperty, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, farmname: std::mem::MaybeUninit, propertyname: std::mem::MaybeUninit, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFarmProperty, Impl: ITsSbGlobalStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, farmname: core::mem::MaybeUninit, propertyname: core::mem::MaybeUninit, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbGlobalStore_Impl::GetFarmProperty(this, core::mem::transmute(&farmname), core::mem::transmute(&propertyname), core::mem::transmute_copy(&pvarvalue)).into() @@ -1542,7 +1542,7 @@ pub trait ITsSbLoadBalanceResult_Impl: Sized { impl windows_core::RuntimeName for ITsSbLoadBalanceResult {} impl ITsSbLoadBalanceResult_Vtbl { pub const fn new, Impl: ITsSbLoadBalanceResult_Impl, const OFFSET: isize>() -> ITsSbLoadBalanceResult_Vtbl { - unsafe extern "system" fn TargetName, Impl: ITsSbLoadBalanceResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetName, Impl: ITsSbLoadBalanceResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbLoadBalanceResult_Impl::TargetName(this) { @@ -1776,7 +1776,7 @@ impl windows_core::RuntimeName for ITsSbProvider {} #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbProvider_Vtbl { pub const fn new, Impl: ITsSbProvider_Impl, const OFFSET: isize>() -> ITsSbProvider_Vtbl { - unsafe extern "system" fn CreateTargetObject, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, environmentname: std::mem::MaybeUninit, pptarget: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateTargetObject, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, environmentname: core::mem::MaybeUninit, pptarget: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateTargetObject(this, core::mem::transmute(&targetname), core::mem::transmute(&environmentname)) { @@ -1787,7 +1787,7 @@ impl ITsSbProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateLoadBalanceResultObject, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, pplbresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateLoadBalanceResultObject, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, pplbresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateLoadBalanceResultObject(this, core::mem::transmute(&targetname)) { @@ -1798,7 +1798,7 @@ impl ITsSbProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateSessionObject, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, username: std::mem::MaybeUninit, domain: std::mem::MaybeUninit, sessionid: u32, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateSessionObject, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, username: core::mem::MaybeUninit, domain: core::mem::MaybeUninit, sessionid: u32, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateSessionObject(this, core::mem::transmute(&targetname), core::mem::transmute(&username), core::mem::transmute(&domain), core::mem::transmute_copy(&sessionid)) { @@ -1831,7 +1831,7 @@ impl ITsSbProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateEnvironmentObject, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, serverweight: u32, ppenvironment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateEnvironmentObject, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, serverweight: u32, ppenvironment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbProvider_Impl::CreateEnvironmentObject(this, core::mem::transmute(&name), core::mem::transmute_copy(&serverweight)) { @@ -1864,12 +1864,12 @@ impl ITsSbProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterForNotification, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, notificationtype: u32, resourcetomonitor: std::mem::MaybeUninit, ppluginnotification: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterForNotification, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, notificationtype: u32, resourcetomonitor: core::mem::MaybeUninit, ppluginnotification: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbProvider_Impl::RegisterForNotification(this, core::mem::transmute_copy(¬ificationtype), core::mem::transmute(&resourcetomonitor), windows_core::from_raw_borrowed(&ppluginnotification)).into() } - unsafe extern "system" fn UnRegisterForNotification, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, notificationtype: u32, resourcetomonitor: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UnRegisterForNotification, Impl: ITsSbProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, notificationtype: u32, resourcetomonitor: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbProvider_Impl::UnRegisterForNotification(this, core::mem::transmute_copy(¬ificationtype), core::mem::transmute(&resourcetomonitor)).into() @@ -1928,22 +1928,22 @@ impl windows_core::RuntimeName for ITsSbProvisioning {} #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbProvisioning_Vtbl { pub const fn new, Impl: ITsSbProvisioning_Impl, const OFFSET: isize>() -> ITsSbProvisioning_Vtbl { - unsafe extern "system" fn CreateVirtualMachines, Impl: ITsSbProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, jobxmlstring: std::mem::MaybeUninit, jobguid: std::mem::MaybeUninit, psink: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateVirtualMachines, Impl: ITsSbProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, jobxmlstring: core::mem::MaybeUninit, jobguid: core::mem::MaybeUninit, psink: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbProvisioning_Impl::CreateVirtualMachines(this, core::mem::transmute(&jobxmlstring), core::mem::transmute(&jobguid), windows_core::from_raw_borrowed(&psink)).into() } - unsafe extern "system" fn PatchVirtualMachines, Impl: ITsSbProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, jobxmlstring: std::mem::MaybeUninit, jobguid: std::mem::MaybeUninit, psink: *mut core::ffi::c_void, pvmpatchinfo: *const VM_PATCH_INFO) -> windows_core::HRESULT { + unsafe extern "system" fn PatchVirtualMachines, Impl: ITsSbProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, jobxmlstring: core::mem::MaybeUninit, jobguid: core::mem::MaybeUninit, psink: *mut core::ffi::c_void, pvmpatchinfo: *const VM_PATCH_INFO) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbProvisioning_Impl::PatchVirtualMachines(this, core::mem::transmute(&jobxmlstring), core::mem::transmute(&jobguid), windows_core::from_raw_borrowed(&psink), core::mem::transmute_copy(&pvmpatchinfo)).into() } - unsafe extern "system" fn DeleteVirtualMachines, Impl: ITsSbProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, jobxmlstring: std::mem::MaybeUninit, jobguid: std::mem::MaybeUninit, psink: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteVirtualMachines, Impl: ITsSbProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, jobxmlstring: core::mem::MaybeUninit, jobguid: core::mem::MaybeUninit, psink: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbProvisioning_Impl::DeleteVirtualMachines(this, core::mem::transmute(&jobxmlstring), core::mem::transmute(&jobguid), windows_core::from_raw_borrowed(&psink)).into() } - unsafe extern "system" fn CancelJob, Impl: ITsSbProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, jobguid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CancelJob, Impl: ITsSbProvisioning_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, jobguid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbProvisioning_Impl::CancelJob(this, core::mem::transmute(&jobguid)).into() @@ -1976,12 +1976,12 @@ impl ITsSbProvisioningPluginNotifySink_Vtbl { let this = (*this).get_impl(); ITsSbProvisioningPluginNotifySink_Impl::OnJobCreated(this, core::mem::transmute_copy(&pvmnotifyinfo)).into() } - unsafe extern "system" fn OnVirtualMachineStatusChanged, Impl: ITsSbProvisioningPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvmnotifyentry: *const VM_NOTIFY_ENTRY, vmnotifystatus: VM_NOTIFY_STATUS, errorcode: windows_core::HRESULT, errordescr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnVirtualMachineStatusChanged, Impl: ITsSbProvisioningPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvmnotifyentry: *const VM_NOTIFY_ENTRY, vmnotifystatus: VM_NOTIFY_STATUS, errorcode: windows_core::HRESULT, errordescr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbProvisioningPluginNotifySink_Impl::OnVirtualMachineStatusChanged(this, core::mem::transmute_copy(&pvmnotifyentry), core::mem::transmute_copy(&vmnotifystatus), core::mem::transmute_copy(&errorcode), core::mem::transmute(&errordescr)).into() } - unsafe extern "system" fn OnJobCompleted, Impl: ITsSbProvisioningPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resultcode: windows_core::HRESULT, resultdescription: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnJobCompleted, Impl: ITsSbProvisioningPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resultcode: windows_core::HRESULT, resultdescription: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbProvisioningPluginNotifySink_Impl::OnJobCompleted(this, core::mem::transmute_copy(&resultcode), core::mem::transmute(&resultdescription)).into() @@ -1996,7 +1996,7 @@ impl ITsSbProvisioningPluginNotifySink_Vtbl { let this = (*this).get_impl(); ITsSbProvisioningPluginNotifySink_Impl::LockVirtualMachine(this, core::mem::transmute_copy(&pvmnotifyentry)).into() } - unsafe extern "system" fn OnVirtualMachineHostStatusChanged, Impl: ITsSbProvisioningPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vmhost: std::mem::MaybeUninit, vmhostnotifystatus: VM_HOST_NOTIFY_STATUS, errorcode: windows_core::HRESULT, errordescr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnVirtualMachineHostStatusChanged, Impl: ITsSbProvisioningPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vmhost: core::mem::MaybeUninit, vmhostnotifystatus: VM_HOST_NOTIFY_STATUS, errorcode: windows_core::HRESULT, errordescr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbProvisioningPluginNotifySink_Impl::OnVirtualMachineHostStatusChanged(this, core::mem::transmute(&vmhost), core::mem::transmute_copy(&vmhostnotifystatus), core::mem::transmute_copy(&errorcode), core::mem::transmute(&errordescr)).into() @@ -2057,17 +2057,17 @@ pub trait ITsSbResourceNotificationEx_Impl: Sized { impl windows_core::RuntimeName for ITsSbResourceNotificationEx {} impl ITsSbResourceNotificationEx_Vtbl { pub const fn new, Impl: ITsSbResourceNotificationEx_Impl, const OFFSET: isize>() -> ITsSbResourceNotificationEx_Vtbl { - unsafe extern "system" fn NotifySessionChangeEx, Impl: ITsSbResourceNotificationEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, username: std::mem::MaybeUninit, domain: std::mem::MaybeUninit, sessionid: u32, sessionstate: TSSESSION_STATE) -> windows_core::HRESULT { + unsafe extern "system" fn NotifySessionChangeEx, Impl: ITsSbResourceNotificationEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, username: core::mem::MaybeUninit, domain: core::mem::MaybeUninit, sessionid: u32, sessionstate: TSSESSION_STATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourceNotificationEx_Impl::NotifySessionChangeEx(this, core::mem::transmute(&targetname), core::mem::transmute(&username), core::mem::transmute(&domain), core::mem::transmute_copy(&sessionid), core::mem::transmute_copy(&sessionstate)).into() } - unsafe extern "system" fn NotifyTargetChangeEx, Impl: ITsSbResourceNotificationEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, targetchangetype: u32) -> windows_core::HRESULT { + unsafe extern "system" fn NotifyTargetChangeEx, Impl: ITsSbResourceNotificationEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, targetchangetype: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourceNotificationEx_Impl::NotifyTargetChangeEx(this, core::mem::transmute(&targetname), core::mem::transmute_copy(&targetchangetype)).into() } - unsafe extern "system" fn NotifyClientConnectionStateChangeEx, Impl: ITsSbResourceNotificationEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: std::mem::MaybeUninit, domain: std::mem::MaybeUninit, initialprogram: std::mem::MaybeUninit, poolname: std::mem::MaybeUninit, targetname: std::mem::MaybeUninit, connectionchangetype: CONNECTION_CHANGE_NOTIFICATION) -> windows_core::HRESULT { + unsafe extern "system" fn NotifyClientConnectionStateChangeEx, Impl: ITsSbResourceNotificationEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: core::mem::MaybeUninit, domain: core::mem::MaybeUninit, initialprogram: core::mem::MaybeUninit, poolname: core::mem::MaybeUninit, targetname: core::mem::MaybeUninit, connectionchangetype: CONNECTION_CHANGE_NOTIFICATION) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourceNotificationEx_Impl::NotifyClientConnectionStateChangeEx(this, core::mem::transmute(&username), core::mem::transmute(&domain), core::mem::transmute(&initialprogram), core::mem::transmute(&poolname), core::mem::transmute(&targetname), core::mem::transmute_copy(&connectionchangetype)).into() @@ -2132,7 +2132,7 @@ impl windows_core::RuntimeName for ITsSbResourcePluginStore {} #[cfg(feature = "Win32_System_Com")] impl ITsSbResourcePluginStore_Vtbl { pub const fn new, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>() -> ITsSbResourcePluginStore_Vtbl { - unsafe extern "system" fn QueryTarget, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, farmname: std::mem::MaybeUninit, pptarget: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QueryTarget, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, farmname: core::mem::MaybeUninit, pptarget: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::QueryTarget(this, core::mem::transmute(&targetname), core::mem::transmute(&farmname)) { @@ -2143,7 +2143,7 @@ impl ITsSbResourcePluginStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn QuerySessionBySessionId, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwsessionid: u32, targetname: std::mem::MaybeUninit, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QuerySessionBySessionId, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwsessionid: u32, targetname: core::mem::MaybeUninit, ppsession: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::QuerySessionBySessionId(this, core::mem::transmute_copy(&dwsessionid), core::mem::transmute(&targetname)) { @@ -2169,7 +2169,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::AddEnvironmentToStore(this, windows_core::from_raw_borrowed(&penvironment)).into() } - unsafe extern "system" fn RemoveEnvironmentFromStore, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, environmentname: std::mem::MaybeUninit, bignoreowner: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveEnvironmentFromStore, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, environmentname: core::mem::MaybeUninit, bignoreowner: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::RemoveEnvironmentFromStore(this, core::mem::transmute(&environmentname), core::mem::transmute_copy(&bignoreowner)).into() @@ -2179,7 +2179,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::EnumerateFarms(this, core::mem::transmute_copy(&pdwcount), core::mem::transmute_copy(&pval)).into() } - unsafe extern "system" fn QueryEnvironment, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, environmentname: std::mem::MaybeUninit, ppenvironment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QueryEnvironment, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, environmentname: core::mem::MaybeUninit, ppenvironment: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::QueryEnvironment(this, core::mem::transmute(&environmentname)) { @@ -2210,17 +2210,17 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::SaveSession(this, windows_core::from_raw_borrowed(&psession)).into() } - unsafe extern "system" fn SetTargetProperty, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, propertyname: std::mem::MaybeUninit, pproperty: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTargetProperty, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, propertyname: core::mem::MaybeUninit, pproperty: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::SetTargetProperty(this, core::mem::transmute(&targetname), core::mem::transmute(&propertyname), core::mem::transmute_copy(&pproperty)).into() } - unsafe extern "system" fn SetEnvironmentProperty, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, environmentname: std::mem::MaybeUninit, propertyname: std::mem::MaybeUninit, pproperty: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEnvironmentProperty, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, environmentname: core::mem::MaybeUninit, propertyname: core::mem::MaybeUninit, pproperty: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::SetEnvironmentProperty(this, core::mem::transmute(&environmentname), core::mem::transmute(&propertyname), core::mem::transmute_copy(&pproperty)).into() } - unsafe extern "system" fn SetTargetState, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, newstate: TARGET_STATE, poldstate: *mut TARGET_STATE) -> windows_core::HRESULT { + unsafe extern "system" fn SetTargetState, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, newstate: TARGET_STATE, poldstate: *mut TARGET_STATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::SetTargetState(this, core::mem::transmute(&targetname), core::mem::transmute_copy(&newstate)) { @@ -2236,37 +2236,37 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::SetSessionState(this, windows_core::from_raw_borrowed(&sbsession)).into() } - unsafe extern "system" fn EnumerateTargets, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, farmname: std::mem::MaybeUninit, envname: std::mem::MaybeUninit, sortbyfieldid: TS_SB_SORT_BY, sortybypropname: std::mem::MaybeUninit, pdwcount: *mut u32, pval: *mut *mut Option) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateTargets, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, farmname: core::mem::MaybeUninit, envname: core::mem::MaybeUninit, sortbyfieldid: TS_SB_SORT_BY, sortybypropname: core::mem::MaybeUninit, pdwcount: *mut u32, pval: *mut *mut Option) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::EnumerateTargets(this, core::mem::transmute(&farmname), core::mem::transmute(&envname), core::mem::transmute_copy(&sortbyfieldid), core::mem::transmute(&sortybypropname), core::mem::transmute_copy(&pdwcount), core::mem::transmute_copy(&pval)).into() } - unsafe extern "system" fn EnumerateSessions, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, username: std::mem::MaybeUninit, userdomain: std::mem::MaybeUninit, poolname: std::mem::MaybeUninit, initialprogram: std::mem::MaybeUninit, psessionstate: *const TSSESSION_STATE, pdwcount: *mut u32, ppval: *mut *mut Option) -> windows_core::HRESULT { + unsafe extern "system" fn EnumerateSessions, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, username: core::mem::MaybeUninit, userdomain: core::mem::MaybeUninit, poolname: core::mem::MaybeUninit, initialprogram: core::mem::MaybeUninit, psessionstate: *const TSSESSION_STATE, pdwcount: *mut u32, ppval: *mut *mut Option) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::EnumerateSessions(this, core::mem::transmute(&targetname), core::mem::transmute(&username), core::mem::transmute(&userdomain), core::mem::transmute(&poolname), core::mem::transmute(&initialprogram), core::mem::transmute_copy(&psessionstate), core::mem::transmute_copy(&pdwcount), core::mem::transmute_copy(&ppval)).into() } - unsafe extern "system" fn GetFarmProperty, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, farmname: std::mem::MaybeUninit, propertyname: std::mem::MaybeUninit, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFarmProperty, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, farmname: core::mem::MaybeUninit, propertyname: core::mem::MaybeUninit, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::GetFarmProperty(this, core::mem::transmute(&farmname), core::mem::transmute(&propertyname), core::mem::transmute_copy(&pvarvalue)).into() } - unsafe extern "system" fn DeleteTarget, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, hostname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteTarget, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, hostname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::DeleteTarget(this, core::mem::transmute(&targetname), core::mem::transmute(&hostname)).into() } - unsafe extern "system" fn SetTargetPropertyWithVersionCheck, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptarget: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, pproperty: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTargetPropertyWithVersionCheck, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptarget: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, pproperty: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::SetTargetPropertyWithVersionCheck(this, windows_core::from_raw_borrowed(&ptarget), core::mem::transmute(&propertyname), core::mem::transmute_copy(&pproperty)).into() } - unsafe extern "system" fn SetEnvironmentPropertyWithVersionCheck, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, penvironment: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, pproperty: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEnvironmentPropertyWithVersionCheck, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, penvironment: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, pproperty: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::SetEnvironmentPropertyWithVersionCheck(this, windows_core::from_raw_borrowed(&penvironment), core::mem::transmute(&propertyname), core::mem::transmute_copy(&pproperty)).into() } - unsafe extern "system" fn AcquireTargetLock, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit, dwtimeout: u32, ppcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AcquireTargetLock, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit, dwtimeout: u32, ppcontext: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::AcquireTargetLock(this, core::mem::transmute(&targetname), core::mem::transmute_copy(&dwtimeout)) { @@ -2282,7 +2282,7 @@ impl ITsSbResourcePluginStore_Vtbl { let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::ReleaseTargetLock(this, windows_core::from_raw_borrowed(&pcontext)).into() } - unsafe extern "system" fn TestAndSetServerState, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poolname: std::mem::MaybeUninit, serverfqdn: std::mem::MaybeUninit, newstate: TARGET_STATE, teststate: TARGET_STATE, pinitstate: *mut TARGET_STATE) -> windows_core::HRESULT { + unsafe extern "system" fn TestAndSetServerState, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poolname: core::mem::MaybeUninit, serverfqdn: core::mem::MaybeUninit, newstate: TARGET_STATE, teststate: TARGET_STATE, pinitstate: *mut TARGET_STATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::TestAndSetServerState(this, core::mem::transmute(&poolname), core::mem::transmute(&serverfqdn), core::mem::transmute_copy(&newstate), core::mem::transmute_copy(&teststate)) { @@ -2293,12 +2293,12 @@ impl ITsSbResourcePluginStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServerWaitingToStart, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poolname: std::mem::MaybeUninit, servername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServerWaitingToStart, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poolname: core::mem::MaybeUninit, servername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::SetServerWaitingToStart(this, core::mem::transmute(&poolname), core::mem::transmute(&servername)).into() } - unsafe extern "system" fn GetServerState, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poolname: std::mem::MaybeUninit, serverfqdn: std::mem::MaybeUninit, pstate: *mut TARGET_STATE) -> windows_core::HRESULT { + unsafe extern "system" fn GetServerState, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, poolname: core::mem::MaybeUninit, serverfqdn: core::mem::MaybeUninit, pstate: *mut TARGET_STATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbResourcePluginStore_Impl::GetServerState(this, core::mem::transmute(&poolname), core::mem::transmute(&serverfqdn)) { @@ -2309,7 +2309,7 @@ impl ITsSbResourcePluginStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServerDrainMode, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serverfqdn: std::mem::MaybeUninit, drainmode: u32) -> windows_core::HRESULT { + unsafe extern "system" fn SetServerDrainMode, Impl: ITsSbResourcePluginStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serverfqdn: core::mem::MaybeUninit, drainmode: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbResourcePluginStore_Impl::SetServerDrainMode(this, core::mem::transmute(&serverfqdn), core::mem::transmute_copy(&drainmode)).into() @@ -2410,7 +2410,7 @@ impl ITsSbSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TargetName, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetName, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbSession_Impl::TargetName(this) { @@ -2421,12 +2421,12 @@ impl ITsSbSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTargetName, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTargetName, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbSession_Impl::SetTargetName(this, core::mem::transmute(&targetname)).into() } - unsafe extern "system" fn Username, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Username, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, username: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbSession_Impl::Username(this) { @@ -2437,7 +2437,7 @@ impl ITsSbSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Domain, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, domain: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Domain, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, domain: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbSession_Impl::Domain(this) { @@ -2496,7 +2496,7 @@ impl ITsSbSession_Vtbl { let this = (*this).get_impl(); ITsSbSession_Impl::SetDisconnectTime(this, core::mem::transmute(&time)).into() } - unsafe extern "system" fn InitialProgram, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, app: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InitialProgram, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, app: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbSession_Impl::InitialProgram(this) { @@ -2507,7 +2507,7 @@ impl ITsSbSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetInitialProgram, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, application: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInitialProgram, Impl: ITsSbSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, application: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbSession_Impl::SetInitialProgram(this, core::mem::transmute(&application)).into() @@ -2596,7 +2596,7 @@ impl windows_core::RuntimeName for ITsSbTarget {} #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbTarget_Vtbl { pub const fn new, Impl: ITsSbTarget_Impl, const OFFSET: isize>() -> ITsSbTarget_Vtbl { - unsafe extern "system" fn TargetName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbTarget_Impl::TargetName(this) { @@ -2607,12 +2607,12 @@ impl ITsSbTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTargetName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTargetName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTarget_Impl::SetTargetName(this, core::mem::transmute(&val)).into() } - unsafe extern "system" fn FarmName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FarmName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbTarget_Impl::FarmName(this) { @@ -2623,12 +2623,12 @@ impl ITsSbTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFarmName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFarmName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTarget_Impl::SetFarmName(this, core::mem::transmute(&val)).into() } - unsafe extern "system" fn TargetFQDN, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetfqdnname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetFQDN, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetfqdnname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbTarget_Impl::TargetFQDN(this) { @@ -2639,12 +2639,12 @@ impl ITsSbTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTargetFQDN, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTargetFQDN, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTarget_Impl::SetTargetFQDN(this, core::mem::transmute(&val)).into() } - unsafe extern "system" fn TargetNetbios, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetnetbiosname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetNetbios, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetnetbiosname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbTarget_Impl::TargetNetbios(this) { @@ -2655,7 +2655,7 @@ impl ITsSbTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTargetNetbios, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTargetNetbios, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTarget_Impl::SetTargetNetbios(this, core::mem::transmute(&val)).into() @@ -2702,7 +2702,7 @@ impl ITsSbTarget_Vtbl { let this = (*this).get_impl(); ITsSbTarget_Impl::SetTargetPropertySet(this, windows_core::from_raw_borrowed(&pval)).into() } - unsafe extern "system" fn EnvironmentName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnvironmentName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbTarget_Impl::EnvironmentName(this) { @@ -2713,7 +2713,7 @@ impl ITsSbTarget_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEnvironmentName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEnvironmentName, Impl: ITsSbTarget_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTarget_Impl::SetEnvironmentName(this, core::mem::transmute(&val)).into() @@ -2808,7 +2808,7 @@ impl windows_core::RuntimeName for ITsSbTaskInfo {} #[cfg(feature = "Win32_System_Com")] impl ITsSbTaskInfo_Vtbl { pub const fn new, Impl: ITsSbTaskInfo_Impl, const OFFSET: isize>() -> ITsSbTaskInfo_Vtbl { - unsafe extern "system" fn TargetId, Impl: ITsSbTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetId, Impl: ITsSbTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::TargetId(this) { @@ -2852,7 +2852,7 @@ impl ITsSbTaskInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Identifier, Impl: ITsSbTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidentifier: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Identifier, Impl: ITsSbTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidentifier: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::Identifier(this) { @@ -2863,7 +2863,7 @@ impl ITsSbTaskInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Label, Impl: ITsSbTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plabel: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Label, Impl: ITsSbTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, plabel: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::Label(this) { @@ -2885,7 +2885,7 @@ impl ITsSbTaskInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Plugin, Impl: ITsSbTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pplugin: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Plugin, Impl: ITsSbTaskInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pplugin: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITsSbTaskInfo_Impl::Plugin(this) { @@ -2939,7 +2939,7 @@ impl ITsSbTaskPlugin_Vtbl { let this = (*this).get_impl(); ITsSbTaskPlugin_Impl::InitializeTaskPlugin(this, windows_core::from_raw_borrowed(&pitssbtaskpluginnotifysink)).into() } - unsafe extern "system" fn SetTaskQueue, Impl: ITsSbTaskPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhostname: std::mem::MaybeUninit, sbtaskinfosize: u32, pitssbtaskinfo: *const *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SetTaskQueue, Impl: ITsSbTaskPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhostname: core::mem::MaybeUninit, sbtaskinfosize: u32, pitssbtaskinfo: *const *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTaskPlugin_Impl::SetTaskQueue(this, core::mem::transmute(&pszhostname), core::mem::transmute_copy(&sbtaskinfosize), core::mem::transmute_copy(&pitssbtaskinfo)).into() @@ -2966,22 +2966,22 @@ impl windows_core::RuntimeName for ITsSbTaskPluginNotifySink {} #[cfg(feature = "Win32_System_Com")] impl ITsSbTaskPluginNotifySink_Vtbl { pub const fn new, Impl: ITsSbTaskPluginNotifySink_Impl, const OFFSET: isize>() -> ITsSbTaskPluginNotifySink_Vtbl { - unsafe extern "system" fn OnSetTaskTime, Impl: ITsSbTaskPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sztargetname: std::mem::MaybeUninit, taskstarttime: super::super::Foundation::FILETIME, taskendtime: super::super::Foundation::FILETIME, taskdeadline: super::super::Foundation::FILETIME, sztasklabel: std::mem::MaybeUninit, sztaskidentifier: std::mem::MaybeUninit, sztaskplugin: std::mem::MaybeUninit, dwtaskstatus: u32, sacontext: *const super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn OnSetTaskTime, Impl: ITsSbTaskPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sztargetname: core::mem::MaybeUninit, taskstarttime: super::super::Foundation::FILETIME, taskendtime: super::super::Foundation::FILETIME, taskdeadline: super::super::Foundation::FILETIME, sztasklabel: core::mem::MaybeUninit, sztaskidentifier: core::mem::MaybeUninit, sztaskplugin: core::mem::MaybeUninit, dwtaskstatus: u32, sacontext: *const super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTaskPluginNotifySink_Impl::OnSetTaskTime(this, core::mem::transmute(&sztargetname), core::mem::transmute(&taskstarttime), core::mem::transmute(&taskendtime), core::mem::transmute(&taskdeadline), core::mem::transmute(&sztasklabel), core::mem::transmute(&sztaskidentifier), core::mem::transmute(&sztaskplugin), core::mem::transmute_copy(&dwtaskstatus), core::mem::transmute_copy(&sacontext)).into() } - unsafe extern "system" fn OnDeleteTaskTime, Impl: ITsSbTaskPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sztargetname: std::mem::MaybeUninit, sztaskidentifier: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnDeleteTaskTime, Impl: ITsSbTaskPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sztargetname: core::mem::MaybeUninit, sztaskidentifier: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTaskPluginNotifySink_Impl::OnDeleteTaskTime(this, core::mem::transmute(&sztargetname), core::mem::transmute(&sztaskidentifier)).into() } - unsafe extern "system" fn OnUpdateTaskStatus, Impl: ITsSbTaskPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sztargetname: std::mem::MaybeUninit, taskidentifier: std::mem::MaybeUninit, taskstatus: RDV_TASK_STATUS) -> windows_core::HRESULT { + unsafe extern "system" fn OnUpdateTaskStatus, Impl: ITsSbTaskPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sztargetname: core::mem::MaybeUninit, taskidentifier: core::mem::MaybeUninit, taskstatus: RDV_TASK_STATUS) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTaskPluginNotifySink_Impl::OnUpdateTaskStatus(this, core::mem::transmute(&sztargetname), core::mem::transmute(&taskidentifier), core::mem::transmute_copy(&taskstatus)).into() } - unsafe extern "system" fn OnReportTasks, Impl: ITsSbTaskPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szhostname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnReportTasks, Impl: ITsSbTaskPluginNotifySink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, szhostname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITsSbTaskPluginNotifySink_Impl::OnReportTasks(this, core::mem::transmute(&szhostname)).into() @@ -3940,7 +3940,7 @@ pub trait IWTSListenerCallback_Impl: Sized { impl windows_core::RuntimeName for IWTSListenerCallback {} impl IWTSListenerCallback_Vtbl { pub const fn new, Impl: IWTSListenerCallback_Impl, const OFFSET: isize>() -> IWTSListenerCallback_Vtbl { - unsafe extern "system" fn OnNewChannelConnection, Impl: IWTSListenerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pchannel: *mut core::ffi::c_void, data: std::mem::MaybeUninit, pbaccept: *mut super::super::Foundation::BOOL, ppcallback: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OnNewChannelConnection, Impl: IWTSListenerCallback_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pchannel: *mut core::ffi::c_void, data: core::mem::MaybeUninit, pbaccept: *mut super::super::Foundation::BOOL, ppcallback: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWTSListenerCallback_Impl::OnNewChannelConnection(this, windows_core::from_raw_borrowed(&pchannel), core::mem::transmute(&data), core::mem::transmute_copy(&pbaccept), core::mem::transmute_copy(&ppcallback)).into() @@ -4688,7 +4688,7 @@ impl IWorkspace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StartRemoteApplication, Impl: IWorkspace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit, psaparams: *const super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn StartRemoteApplication, Impl: IWorkspace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit, psaparams: *const super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspace_Impl::StartRemoteApplication(this, core::mem::transmute(&bstrworkspaceid), core::mem::transmute_copy(&psaparams)).into() @@ -4724,7 +4724,7 @@ impl windows_core::RuntimeName for IWorkspace2 {} #[cfg(feature = "Win32_System_Com")] impl IWorkspace2_Vtbl { pub const fn new, Impl: IWorkspace2_Impl, const OFFSET: isize>() -> IWorkspace2_Vtbl { - unsafe extern "system" fn StartRemoteApplicationEx, Impl: IWorkspace2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit, bstrrequestingappid: std::mem::MaybeUninit, bstrrequestingappfamilyname: std::mem::MaybeUninit, blaunchintoimmersiveclient: super::super::Foundation::VARIANT_BOOL, bstrimmersiveclientactivationcontext: std::mem::MaybeUninit, psaparams: *const super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn StartRemoteApplicationEx, Impl: IWorkspace2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit, bstrrequestingappid: core::mem::MaybeUninit, bstrrequestingappfamilyname: core::mem::MaybeUninit, blaunchintoimmersiveclient: super::super::Foundation::VARIANT_BOOL, bstrimmersiveclientactivationcontext: core::mem::MaybeUninit, psaparams: *const super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspace2_Impl::StartRemoteApplicationEx(this, core::mem::transmute(&bstrworkspaceid), core::mem::transmute(&bstrrequestingappid), core::mem::transmute(&bstrrequestingappfamilyname), core::mem::transmute_copy(&blaunchintoimmersiveclient), core::mem::transmute(&bstrimmersiveclientactivationcontext), core::mem::transmute_copy(&psaparams)).into() @@ -4745,7 +4745,7 @@ impl windows_core::RuntimeName for IWorkspace3 {} #[cfg(feature = "Win32_System_Com")] impl IWorkspace3_Vtbl { pub const fn new, Impl: IWorkspace3_Impl, const OFFSET: isize>() -> IWorkspace3_Vtbl { - unsafe extern "system" fn GetClaimsToken2, Impl: IWorkspace3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclaimshint: std::mem::MaybeUninit, bstruserhint: std::mem::MaybeUninit, claimcookie: u32, hwndcreduiparent: u32, rectcreduiparent: super::super::Foundation::RECT, pbstraccesstoken: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetClaimsToken2, Impl: IWorkspace3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclaimshint: core::mem::MaybeUninit, bstruserhint: core::mem::MaybeUninit, claimcookie: u32, hwndcreduiparent: u32, rectcreduiparent: super::super::Foundation::RECT, pbstraccesstoken: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWorkspace3_Impl::GetClaimsToken2(this, core::mem::transmute(&bstrclaimshint), core::mem::transmute(&bstruserhint), core::mem::transmute_copy(&claimcookie), core::mem::transmute_copy(&hwndcreduiparent), core::mem::transmute(&rectcreduiparent)) { @@ -4756,7 +4756,7 @@ impl IWorkspace3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClaimsToken, Impl: IWorkspace3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraccesstoken: std::mem::MaybeUninit, ullaccesstokenexpiration: u64, bstrrefreshtoken: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClaimsToken, Impl: IWorkspace3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstraccesstoken: core::mem::MaybeUninit, ullaccesstokenexpiration: u64, bstrrefreshtoken: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspace3_Impl::SetClaimsToken(this, core::mem::transmute(&bstraccesstoken), core::mem::transmute_copy(&ullaccesstokenexpiration), core::mem::transmute(&bstrrefreshtoken)).into() @@ -4779,7 +4779,7 @@ pub trait IWorkspaceClientExt_Impl: Sized { impl windows_core::RuntimeName for IWorkspaceClientExt {} impl IWorkspaceClientExt_Vtbl { pub const fn new, Impl: IWorkspaceClientExt_Impl, const OFFSET: isize>() -> IWorkspaceClientExt_Vtbl { - unsafe extern "system" fn GetResourceId, Impl: IWorkspaceClientExt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetResourceId, Impl: IWorkspaceClientExt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWorkspaceClientExt_Impl::GetResourceId(this) { @@ -4790,7 +4790,7 @@ impl IWorkspaceClientExt_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetResourceDisplayName, Impl: IWorkspaceClientExt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspacedisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetResourceDisplayName, Impl: IWorkspaceClientExt_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspacedisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWorkspaceClientExt_Impl::GetResourceDisplayName(this) { @@ -4857,7 +4857,7 @@ pub trait IWorkspaceRegistration2_Impl: Sized + IWorkspaceRegistration_Impl { impl windows_core::RuntimeName for IWorkspaceRegistration2 {} impl IWorkspaceRegistration2_Vtbl { pub const fn new, Impl: IWorkspaceRegistration2_Impl, const OFFSET: isize>() -> IWorkspaceRegistration2_Vtbl { - unsafe extern "system" fn AddResourceEx, Impl: IWorkspaceRegistration2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punk: *mut core::ffi::c_void, bstreventloguploadaddress: std::mem::MaybeUninit, pdwcookie: *mut u32, correlationid: windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn AddResourceEx, Impl: IWorkspaceRegistration2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punk: *mut core::ffi::c_void, bstreventloguploadaddress: core::mem::MaybeUninit, pdwcookie: *mut u32, correlationid: windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceRegistration2_Impl::AddResourceEx(this, windows_core::from_raw_borrowed(&punk), core::mem::transmute(&bstreventloguploadaddress), core::mem::transmute_copy(&pdwcookie), core::mem::transmute(&correlationid)).into() @@ -4885,12 +4885,12 @@ pub trait IWorkspaceReportMessage_Impl: Sized { impl windows_core::RuntimeName for IWorkspaceReportMessage {} impl IWorkspaceReportMessage_Vtbl { pub const fn new, Impl: IWorkspaceReportMessage_Impl, const OFFSET: isize>() -> IWorkspaceReportMessage_Vtbl { - unsafe extern "system" fn RegisterErrorLogMessage, Impl: IWorkspaceReportMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessage: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterErrorLogMessage, Impl: IWorkspaceReportMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmessage: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceReportMessage_Impl::RegisterErrorLogMessage(this, core::mem::transmute(&bstrmessage)).into() } - unsafe extern "system" fn IsErrorMessageRegistered, Impl: IWorkspaceReportMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrwkspid: std::mem::MaybeUninit, dwerrortype: u32, bstrerrormessagetype: std::mem::MaybeUninit, dwerrorcode: u32, pferrorexist: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsErrorMessageRegistered, Impl: IWorkspaceReportMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrwkspid: core::mem::MaybeUninit, dwerrortype: u32, bstrerrormessagetype: core::mem::MaybeUninit, dwerrorcode: u32, pferrorexist: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWorkspaceReportMessage_Impl::IsErrorMessageRegistered(this, core::mem::transmute(&bstrwkspid), core::mem::transmute_copy(&dwerrortype), core::mem::transmute(&bstrerrormessagetype), core::mem::transmute_copy(&dwerrorcode)) { @@ -4901,7 +4901,7 @@ impl IWorkspaceReportMessage_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterErrorEvent, Impl: IWorkspaceReportMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrwkspid: std::mem::MaybeUninit, dwerrortype: u32, bstrerrormessagetype: std::mem::MaybeUninit, dwerrorcode: u32) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterErrorEvent, Impl: IWorkspaceReportMessage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrwkspid: core::mem::MaybeUninit, dwerrortype: u32, bstrerrormessagetype: core::mem::MaybeUninit, dwerrorcode: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceReportMessage_Impl::RegisterErrorEvent(this, core::mem::transmute(&bstrwkspid), core::mem::transmute_copy(&dwerrortype), core::mem::transmute(&bstrerrormessagetype), core::mem::transmute_copy(&dwerrorcode)).into() @@ -4930,12 +4930,12 @@ impl windows_core::RuntimeName for IWorkspaceResTypeRegistry {} #[cfg(feature = "Win32_System_Com")] impl IWorkspaceResTypeRegistry_Vtbl { pub const fn new, Impl: IWorkspaceResTypeRegistry_Impl, const OFFSET: isize>() -> IWorkspaceResTypeRegistry_Vtbl { - unsafe extern "system" fn AddResourceType, Impl: IWorkspaceResTypeRegistry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmachinewide: super::super::Foundation::VARIANT_BOOL, bstrfileextension: std::mem::MaybeUninit, bstrlauncher: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddResourceType, Impl: IWorkspaceResTypeRegistry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmachinewide: super::super::Foundation::VARIANT_BOOL, bstrfileextension: core::mem::MaybeUninit, bstrlauncher: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceResTypeRegistry_Impl::AddResourceType(this, core::mem::transmute_copy(&fmachinewide), core::mem::transmute(&bstrfileextension), core::mem::transmute(&bstrlauncher)).into() } - unsafe extern "system" fn DeleteResourceType, Impl: IWorkspaceResTypeRegistry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmachinewide: super::super::Foundation::VARIANT_BOOL, bstrfileextension: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteResourceType, Impl: IWorkspaceResTypeRegistry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmachinewide: super::super::Foundation::VARIANT_BOOL, bstrfileextension: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceResTypeRegistry_Impl::DeleteResourceType(this, core::mem::transmute_copy(&fmachinewide), core::mem::transmute(&bstrfileextension)).into() @@ -4951,7 +4951,7 @@ impl IWorkspaceResTypeRegistry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetResourceTypeInfo, Impl: IWorkspaceResTypeRegistry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmachinewide: super::super::Foundation::VARIANT_BOOL, bstrfileextension: std::mem::MaybeUninit, pbstrlauncher: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetResourceTypeInfo, Impl: IWorkspaceResTypeRegistry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmachinewide: super::super::Foundation::VARIANT_BOOL, bstrfileextension: core::mem::MaybeUninit, pbstrlauncher: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWorkspaceResTypeRegistry_Impl::GetResourceTypeInfo(this, core::mem::transmute_copy(&fmachinewide), core::mem::transmute(&bstrfileextension)) { @@ -4962,7 +4962,7 @@ impl IWorkspaceResTypeRegistry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ModifyResourceType, Impl: IWorkspaceResTypeRegistry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmachinewide: super::super::Foundation::VARIANT_BOOL, bstrfileextension: std::mem::MaybeUninit, bstrlauncher: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ModifyResourceType, Impl: IWorkspaceResTypeRegistry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmachinewide: super::super::Foundation::VARIANT_BOOL, bstrfileextension: core::mem::MaybeUninit, bstrlauncher: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceResTypeRegistry_Impl::ModifyResourceType(this, core::mem::transmute_copy(&fmachinewide), core::mem::transmute(&bstrfileextension), core::mem::transmute(&bstrlauncher)).into() @@ -4995,17 +4995,17 @@ impl windows_core::RuntimeName for IWorkspaceScriptable {} #[cfg(feature = "Win32_System_Com")] impl IWorkspaceScriptable_Vtbl { pub const fn new, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>() -> IWorkspaceScriptable_Vtbl { - unsafe extern "system" fn DisconnectWorkspace, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisconnectWorkspace, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceScriptable_Impl::DisconnectWorkspace(this, core::mem::transmute(&bstrworkspaceid)).into() } - unsafe extern "system" fn StartWorkspace, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit, bstrusername: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, bstrworkspaceparams: std::mem::MaybeUninit, ltimeout: i32, lflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn StartWorkspace, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit, bstrusername: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, bstrworkspaceparams: core::mem::MaybeUninit, ltimeout: i32, lflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceScriptable_Impl::StartWorkspace(this, core::mem::transmute(&bstrworkspaceid), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrpassword), core::mem::transmute(&bstrworkspaceparams), core::mem::transmute_copy(<imeout), core::mem::transmute_copy(&lflags)).into() } - unsafe extern "system" fn IsWorkspaceCredentialSpecified, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit, bcountunauthenticatedcredentials: super::super::Foundation::VARIANT_BOOL, pbcredexist: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsWorkspaceCredentialSpecified, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit, bcountunauthenticatedcredentials: super::super::Foundation::VARIANT_BOOL, pbcredexist: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWorkspaceScriptable_Impl::IsWorkspaceCredentialSpecified(this, core::mem::transmute(&bstrworkspaceid), core::mem::transmute_copy(&bcountunauthenticatedcredentials)) { @@ -5027,17 +5027,17 @@ impl IWorkspaceScriptable_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClearWorkspaceCredential, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClearWorkspaceCredential, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceScriptable_Impl::ClearWorkspaceCredential(this, core::mem::transmute(&bstrworkspaceid)).into() } - unsafe extern "system" fn OnAuthenticated, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit, bstrusername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnAuthenticated, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit, bstrusername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceScriptable_Impl::OnAuthenticated(this, core::mem::transmute(&bstrworkspaceid), core::mem::transmute(&bstrusername)).into() } - unsafe extern "system" fn DisconnectWorkspaceByFriendlyName, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspacefriendlyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisconnectWorkspaceByFriendlyName, Impl: IWorkspaceScriptable_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspacefriendlyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceScriptable_Impl::DisconnectWorkspaceByFriendlyName(this, core::mem::transmute(&bstrworkspacefriendlyname)).into() @@ -5067,12 +5067,12 @@ impl windows_core::RuntimeName for IWorkspaceScriptable2 {} #[cfg(feature = "Win32_System_Com")] impl IWorkspaceScriptable2_Vtbl { pub const fn new, Impl: IWorkspaceScriptable2_Impl, const OFFSET: isize>() -> IWorkspaceScriptable2_Vtbl { - unsafe extern "system" fn StartWorkspaceEx, Impl: IWorkspaceScriptable2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit, bstrworkspacefriendlyname: std::mem::MaybeUninit, bstrredirectorname: std::mem::MaybeUninit, bstrusername: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, bstrappcontainer: std::mem::MaybeUninit, bstrworkspaceparams: std::mem::MaybeUninit, ltimeout: i32, lflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn StartWorkspaceEx, Impl: IWorkspaceScriptable2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit, bstrworkspacefriendlyname: core::mem::MaybeUninit, bstrredirectorname: core::mem::MaybeUninit, bstrusername: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, bstrappcontainer: core::mem::MaybeUninit, bstrworkspaceparams: core::mem::MaybeUninit, ltimeout: i32, lflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceScriptable2_Impl::StartWorkspaceEx(this, core::mem::transmute(&bstrworkspaceid), core::mem::transmute(&bstrworkspacefriendlyname), core::mem::transmute(&bstrredirectorname), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrpassword), core::mem::transmute(&bstrappcontainer), core::mem::transmute(&bstrworkspaceparams), core::mem::transmute_copy(<imeout), core::mem::transmute_copy(&lflags)).into() } - unsafe extern "system" fn ResourceDismissed, Impl: IWorkspaceScriptable2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit, bstrworkspacefriendlyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResourceDismissed, Impl: IWorkspaceScriptable2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit, bstrworkspacefriendlyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceScriptable2_Impl::ResourceDismissed(this, core::mem::transmute(&bstrworkspaceid), core::mem::transmute(&bstrworkspacefriendlyname)).into() @@ -5096,7 +5096,7 @@ impl windows_core::RuntimeName for IWorkspaceScriptable3 {} #[cfg(feature = "Win32_System_Com")] impl IWorkspaceScriptable3_Vtbl { pub const fn new, Impl: IWorkspaceScriptable3_Impl, const OFFSET: isize>() -> IWorkspaceScriptable3_Vtbl { - unsafe extern "system" fn StartWorkspaceEx2, Impl: IWorkspaceScriptable3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: std::mem::MaybeUninit, bstrworkspacefriendlyname: std::mem::MaybeUninit, bstrredirectorname: std::mem::MaybeUninit, bstrusername: std::mem::MaybeUninit, bstrpassword: std::mem::MaybeUninit, bstrappcontainer: std::mem::MaybeUninit, bstrworkspaceparams: std::mem::MaybeUninit, ltimeout: i32, lflags: i32, bstreventloguploadaddress: std::mem::MaybeUninit, correlationid: windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn StartWorkspaceEx2, Impl: IWorkspaceScriptable3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrworkspaceid: core::mem::MaybeUninit, bstrworkspacefriendlyname: core::mem::MaybeUninit, bstrredirectorname: core::mem::MaybeUninit, bstrusername: core::mem::MaybeUninit, bstrpassword: core::mem::MaybeUninit, bstrappcontainer: core::mem::MaybeUninit, bstrworkspaceparams: core::mem::MaybeUninit, ltimeout: i32, lflags: i32, bstreventloguploadaddress: core::mem::MaybeUninit, correlationid: windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWorkspaceScriptable3_Impl::StartWorkspaceEx2(this, core::mem::transmute(&bstrworkspaceid), core::mem::transmute(&bstrworkspacefriendlyname), core::mem::transmute(&bstrredirectorname), core::mem::transmute(&bstrusername), core::mem::transmute(&bstrpassword), core::mem::transmute(&bstrappcontainer), core::mem::transmute(&bstrworkspaceparams), core::mem::transmute_copy(<imeout), core::mem::transmute_copy(&lflags), core::mem::transmute(&bstreventloguploadaddress), core::mem::transmute(&correlationid)).into() @@ -5139,7 +5139,7 @@ impl ItsPubPlugin_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn pluginName, Impl: ItsPubPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn pluginName, Impl: ItsPubPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ItsPubPlugin_Impl::pluginName(this) { @@ -5150,7 +5150,7 @@ impl ItsPubPlugin_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn pluginVersion, Impl: ItsPubPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn pluginVersion, Impl: ItsPubPlugin_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ItsPubPlugin_Impl::pluginVersion(this) { 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 d29a392c6e..172f005f25 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -531,7 +531,7 @@ windows_core::imp::define_interface!(IADsTSUserEx, IADsTSUserEx_Vtbl, 0xc4930e79 impl std::ops::Deref for IADsTSUserEx { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -539,7 +539,7 @@ windows_core::imp::interface_hierarchy!(IADsTSUserEx, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IADsTSUserEx { pub unsafe fn TerminalServicesProfilePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TerminalServicesProfilePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTerminalServicesProfilePath(&self, pnewval: P0) -> windows_core::Result<()> @@ -549,7 +549,7 @@ impl IADsTSUserEx { (windows_core::Interface::vtable(self).SetTerminalServicesProfilePath)(windows_core::Interface::as_raw(self), pnewval.param().abi()).ok() } pub unsafe fn TerminalServicesHomeDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TerminalServicesHomeDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTerminalServicesHomeDirectory(&self, pnewval: P0) -> windows_core::Result<()> @@ -559,7 +559,7 @@ impl IADsTSUserEx { (windows_core::Interface::vtable(self).SetTerminalServicesHomeDirectory)(windows_core::Interface::as_raw(self), pnewval.param().abi()).ok() } pub unsafe fn TerminalServicesHomeDrive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TerminalServicesHomeDrive)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTerminalServicesHomeDrive(&self, pnewval: P0) -> windows_core::Result<()> @@ -569,77 +569,77 @@ impl IADsTSUserEx { (windows_core::Interface::vtable(self).SetTerminalServicesHomeDrive)(windows_core::Interface::as_raw(self), pnewval.param().abi()).ok() } pub unsafe fn AllowLogon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowLogon)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnableRemoteControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxDisconnectionTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxConnectionTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxIdleTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReconnectionAction)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BrokenConnectionAction)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectClientDrivesAtLogon)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectClientPrintersAtLogon)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultToMainPrinter)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefaultToMainPrinter(&self, newval: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetDefaultToMainPrinter)(windows_core::Interface::as_raw(self), newval).ok() } pub unsafe fn TerminalServicesWorkDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TerminalServicesWorkDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTerminalServicesWorkDirectory(&self, pnewval: P0) -> windows_core::Result<()> @@ -649,7 +649,7 @@ impl IADsTSUserEx { (windows_core::Interface::vtable(self).SetTerminalServicesWorkDirectory)(windows_core::Interface::as_raw(self), pnewval.param().abi()).ok() } pub unsafe fn TerminalServicesInitialProgram(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TerminalServicesInitialProgram)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTerminalServicesInitialProgram(&self, pnewval: P0) -> windows_core::Result<()> @@ -663,12 +663,12 @@ impl IADsTSUserEx { #[repr(C)] pub struct IADsTSUserEx_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub TerminalServicesProfilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTerminalServicesProfilePath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TerminalServicesHomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTerminalServicesHomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TerminalServicesHomeDrive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTerminalServicesHomeDrive: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TerminalServicesProfilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTerminalServicesProfilePath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TerminalServicesHomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTerminalServicesHomeDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TerminalServicesHomeDrive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTerminalServicesHomeDrive: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AllowLogon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAllowLogon: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EnableRemoteControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -689,16 +689,16 @@ pub struct IADsTSUserEx_Vtbl { pub SetConnectClientPrintersAtLogon: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DefaultToMainPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDefaultToMainPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub TerminalServicesWorkDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTerminalServicesWorkDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TerminalServicesInitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTerminalServicesInitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TerminalServicesWorkDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTerminalServicesWorkDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TerminalServicesInitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTerminalServicesInitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioDeviceEndpoint, IAudioDeviceEndpoint_Vtbl, 0xd4952f5a_a0b2_4cc4_8b82_9358488dd8ac); impl std::ops::Deref for IAudioDeviceEndpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioDeviceEndpoint, windows_core::IUnknown); @@ -707,11 +707,11 @@ impl IAudioDeviceEndpoint { (windows_core::Interface::vtable(self).SetBuffer)(windows_core::Interface::as_raw(self), maxperiod, u32latencycoefficient).ok() } pub unsafe fn GetRTCaps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRTCaps)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEventDrivenCapable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventDrivenCapable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WriteExclusiveModeParametersToSharedMemory(&self, htargetprocess: usize, hnsperiod: i64, hnsbufferduration: i64, u32latencycoefficient: u32, pu32sharedmemorysize: *mut u32, phsharedmemory: *mut usize) -> windows_core::Result<()> { @@ -730,22 +730,22 @@ windows_core::imp::define_interface!(IAudioEndpoint, IAudioEndpoint_Vtbl, 0x30a9 impl std::ops::Deref for IAudioEndpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpoint, windows_core::IUnknown); impl IAudioEndpoint { #[cfg(feature = "Win32_Media_Audio")] pub unsafe fn GetFrameFormat(&self) -> windows_core::Result<*mut super::super::Media::Audio::WAVEFORMATEX> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFramesPerPacket(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFramesPerPacket)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLatency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLatency)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStreamFlags(&self, streamflags: u32) -> windows_core::Result<()> { @@ -774,7 +774,7 @@ windows_core::imp::define_interface!(IAudioEndpointControl, IAudioEndpointContro impl std::ops::Deref for IAudioEndpointControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointControl, windows_core::IUnknown); @@ -800,7 +800,7 @@ windows_core::imp::define_interface!(IAudioEndpointRT, IAudioEndpointRT_Vtbl, 0x impl std::ops::Deref for IAudioEndpointRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioEndpointRT, windows_core::IUnknown); @@ -830,7 +830,7 @@ windows_core::imp::define_interface!(IAudioInputEndpointRT, IAudioInputEndpointR impl std::ops::Deref for IAudioInputEndpointRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioInputEndpointRT, windows_core::IUnknown); @@ -860,7 +860,7 @@ windows_core::imp::define_interface!(IAudioOutputEndpointRT, IAudioOutputEndpoin impl std::ops::Deref for IAudioOutputEndpointRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioOutputEndpointRT, windows_core::IUnknown); @@ -892,7 +892,7 @@ windows_core::imp::define_interface!(IRemoteDesktopClient, IRemoteDesktopClient_ impl std::ops::Deref for IRemoteDesktopClient { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -910,17 +910,17 @@ impl IRemoteDesktopClient { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Settings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Settings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Actions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Actions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TouchPointer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TouchPointer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteSavedCredentials(&self, servername: P0) -> windows_core::Result<()> @@ -968,14 +968,14 @@ pub struct IRemoteDesktopClient_Vtbl { pub TouchPointer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] TouchPointer: usize, - pub DeleteSavedCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteSavedCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub UpdateSessionDisplaySettings: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub attachEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub attachEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] attachEvent: usize, #[cfg(feature = "Win32_System_Com")] - pub detachEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub detachEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] detachEvent: usize, } @@ -985,7 +985,7 @@ windows_core::imp::define_interface!(IRemoteDesktopClientActions, IRemoteDesktop impl std::ops::Deref for IRemoteDesktopClientActions { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1002,7 +1002,7 @@ impl IRemoteDesktopClientActions { (windows_core::Interface::vtable(self).ExecuteRemoteAction)(windows_core::Interface::as_raw(self), remoteaction).ok() } pub unsafe fn GetSnapshot(&self, snapshotencoding: SnapshotEncodingType, snapshotformat: SnapshotFormatType, snapshotwidth: u32, snapshotheight: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSnapshot)(windows_core::Interface::as_raw(self), snapshotencoding, snapshotformat, snapshotwidth, snapshotheight, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1013,7 +1013,7 @@ pub struct IRemoteDesktopClientActions_Vtbl { pub SuspendScreenUpdates: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ResumeScreenUpdates: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ExecuteRemoteAction: unsafe extern "system" fn(*mut core::ffi::c_void, RemoteActionType) -> windows_core::HRESULT, - pub GetSnapshot: unsafe extern "system" fn(*mut core::ffi::c_void, SnapshotEncodingType, SnapshotFormatType, u32, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSnapshot: unsafe extern "system" fn(*mut core::ffi::c_void, SnapshotEncodingType, SnapshotFormatType, u32, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRemoteDesktopClientSettings, IRemoteDesktopClientSettings_Vtbl, 0x48a0f2a7_2713_431f_bbac_6f4558e7d64d); @@ -1021,7 +1021,7 @@ windows_core::imp::define_interface!(IRemoteDesktopClientSettings, IRemoteDeskto impl std::ops::Deref for IRemoteDesktopClientSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1035,14 +1035,14 @@ impl IRemoteDesktopClientSettings { (windows_core::Interface::vtable(self).ApplySettings)(windows_core::Interface::as_raw(self), rdpfilecontents.param().abi()).ok() } pub unsafe fn RetrieveSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetrieveSettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRdpProperty(&self, propertyname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRdpProperty)(windows_core::Interface::as_raw(self), propertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRdpProperty(&self, propertyname: P0, value: P1) -> windows_core::Result<()> @@ -1057,10 +1057,10 @@ impl IRemoteDesktopClientSettings { #[repr(C)] pub struct IRemoteDesktopClientSettings_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ApplySettings: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RetrieveSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRdpProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRdpProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplySettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RetrieveSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRdpProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRdpProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRemoteDesktopClientTouchPointer, IRemoteDesktopClientTouchPointer_Vtbl, 0x260ec22d_8cbc_44b5_9e88_2a37f6c93ae9); @@ -1068,7 +1068,7 @@ windows_core::imp::define_interface!(IRemoteDesktopClientTouchPointer, IRemoteDe impl std::ops::Deref for IRemoteDesktopClientTouchPointer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1082,7 +1082,7 @@ impl IRemoteDesktopClientTouchPointer { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEventsEnabled(&self, eventsenabled: P0) -> windows_core::Result<()> @@ -1092,14 +1092,14 @@ impl IRemoteDesktopClientTouchPointer { (windows_core::Interface::vtable(self).SetEventsEnabled)(windows_core::Interface::as_raw(self), eventsenabled.param().abi()).ok() } pub unsafe fn EventsEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EventsEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PointerSpeed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1118,7 +1118,7 @@ windows_core::imp::define_interface!(IRemoteSystemAdditionalInfoProvider, IRemot impl std::ops::Deref for IRemoteSystemAdditionalInfoProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRemoteSystemAdditionalInfoProvider, windows_core::IUnknown); @@ -1134,13 +1134,13 @@ impl IRemoteSystemAdditionalInfoProvider { #[repr(C)] pub struct IRemoteSystemAdditionalInfoProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetAdditionalInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAdditionalInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITSGAccountingEngine, ITSGAccountingEngine_Vtbl, 0x4ce2a0c9_e874_4f1a_86f4_06bbb9115338); impl std::ops::Deref for ITSGAccountingEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITSGAccountingEngine, windows_core::IUnknown); @@ -1158,7 +1158,7 @@ windows_core::imp::define_interface!(ITSGAuthenticateUserSink, ITSGAuthenticateU impl std::ops::Deref for ITSGAuthenticateUserSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITSGAuthenticateUserSink, windows_core::IUnknown); @@ -1184,7 +1184,7 @@ impl ITSGAuthenticateUserSink { #[repr(C)] pub struct ITSGAuthenticateUserSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnUserAuthenticated: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, usize, super::super::Foundation::HANDLE_PTR) -> windows_core::HRESULT, + pub OnUserAuthenticated: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, usize, super::super::Foundation::HANDLE_PTR) -> windows_core::HRESULT, pub OnUserAuthenticationFailed: unsafe extern "system" fn(*mut core::ffi::c_void, usize, windows_core::HRESULT, windows_core::HRESULT) -> windows_core::HRESULT, pub ReauthenticateUser: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, pub DisconnectUser: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, @@ -1193,7 +1193,7 @@ windows_core::imp::define_interface!(ITSGAuthenticationEngine, ITSGAuthenticatio impl std::ops::Deref for ITSGAuthenticationEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITSGAuthenticationEngine, windows_core::IUnknown); @@ -1218,7 +1218,7 @@ windows_core::imp::define_interface!(ITSGAuthorizeConnectionSink, ITSGAuthorizeC impl std::ops::Deref for ITSGAuthorizeConnectionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITSGAuthorizeConnectionSink, windows_core::IUnknown); @@ -1236,7 +1236,7 @@ windows_core::imp::define_interface!(ITSGAuthorizeResourceSink, ITSGAuthorizeRes impl std::ops::Deref for ITSGAuthorizeResourceSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITSGAuthorizeResourceSink, windows_core::IUnknown); @@ -1248,13 +1248,13 @@ impl ITSGAuthorizeResourceSink { #[repr(C)] pub struct ITSGAuthorizeResourceSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnChannelAuthorized: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, windows_core::GUID, i32, *const std::mem::MaybeUninit, u32, *const std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub OnChannelAuthorized: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, windows_core::GUID, i32, *const core::mem::MaybeUninit, u32, *const core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITSGPolicyEngine, ITSGPolicyEngine_Vtbl, 0x8bc24f08_6223_42f4_a5b4_8e37cd135bbd); impl std::ops::Deref for ITSGPolicyEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITSGPolicyEngine, windows_core::IUnknown); @@ -1281,15 +1281,15 @@ impl ITSGPolicyEngine { (windows_core::Interface::vtable(self).Refresh)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsQuarantineEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsQuarantineEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct ITSGPolicyEngine_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub AuthorizeConnection: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, std::mem::MaybeUninit, AAAuthSchemes, std::mem::MaybeUninit, std::mem::MaybeUninit, *const u8, u32, *const u8, u32, super::super::Foundation::HANDLE_PTR, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub AuthorizeResource: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, i32, std::mem::MaybeUninit, *const std::mem::MaybeUninit, u32, *const std::mem::MaybeUninit, u32, u32, std::mem::MaybeUninit, *const u8, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AuthorizeConnection: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, core::mem::MaybeUninit, AAAuthSchemes, core::mem::MaybeUninit, core::mem::MaybeUninit, *const u8, u32, *const u8, u32, super::super::Foundation::HANDLE_PTR, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AuthorizeResource: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, i32, core::mem::MaybeUninit, *const core::mem::MaybeUninit, u32, *const core::mem::MaybeUninit, u32, u32, core::mem::MaybeUninit, *const u8, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsQuarantineEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } @@ -1297,7 +1297,7 @@ windows_core::imp::define_interface!(ITsSbBaseNotifySink, ITsSbBaseNotifySink_Vt impl std::ops::Deref for ITsSbBaseNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbBaseNotifySink, windows_core::IUnknown); @@ -1319,29 +1319,29 @@ windows_core::imp::define_interface!(ITsSbClientConnection, ITsSbClientConnectio impl std::ops::Deref for ITsSbClientConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbClientConnection, windows_core::IUnknown); impl ITsSbClientConnection { pub unsafe fn UserName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Domain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Domain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitialProgram(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialProgram)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoadBalanceResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadBalanceResult)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FarmName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FarmName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PutContext(&self, contextid: P0, context: P1, existingcontext: Option<*mut windows_core::VARIANT>) -> windows_core::Result<()> @@ -1355,55 +1355,55 @@ impl ITsSbClientConnection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), contextid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Environment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Environment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_ConnectionError(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).get_ConnectionError)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn SamUserAccount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SamUserAccount)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn ClientConnectionPropertySet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientConnectionPropertySet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsFirstAssignment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFirstAssignment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RdFarmType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RdFarmType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UserSidString(&self) -> windows_core::Result<*mut i8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserSidString)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDisconnectedSession(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisconnectedSession)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ITsSbClientConnection_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LoadBalanceResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FarmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FarmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Environment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_ConnectionError: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SamUserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SamUserAccount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub ClientConnectionPropertySet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] @@ -1419,7 +1419,7 @@ windows_core::imp::define_interface!(ITsSbClientConnectionPropertySet, ITsSbClie impl std::ops::Deref for ITsSbClientConnectionPropertySet { type Target = ITsSbPropertySet; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1435,22 +1435,22 @@ windows_core::imp::define_interface!(ITsSbEnvironment, ITsSbEnvironment_Vtbl, 0x impl std::ops::Deref for ITsSbEnvironment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbEnvironment, windows_core::IUnknown); impl ITsSbEnvironment { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServerWeight(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerWeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn EnvironmentPropertySet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnvironmentPropertySet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1464,7 +1464,7 @@ impl ITsSbEnvironment { #[repr(C)] pub struct ITsSbEnvironment_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ServerWeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub EnvironmentPropertySet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1481,7 +1481,7 @@ windows_core::imp::define_interface!(ITsSbEnvironmentPropertySet, ITsSbEnvironme impl std::ops::Deref for ITsSbEnvironmentPropertySet { type Target = ITsSbPropertySet; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1497,7 +1497,7 @@ windows_core::imp::define_interface!(ITsSbFilterPluginStore, ITsSbFilterPluginSt impl std::ops::Deref for ITsSbFilterPluginStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbFilterPluginStore, windows_core::IUnknown); @@ -1511,7 +1511,7 @@ impl ITsSbFilterPluginStore { } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn EnumerateProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteProperties(&self, propertyname: P0) -> windows_core::Result<()> @@ -1532,13 +1532,13 @@ pub struct ITsSbFilterPluginStore_Vtbl { pub EnumerateProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] EnumerateProperties: usize, - pub DeleteProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbGenericNotifySink, ITsSbGenericNotifySink_Vtbl, 0x4c4c8c4f_300b_46ad_9164_8468a7e7568c); impl std::ops::Deref for ITsSbGenericNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbGenericNotifySink, windows_core::IUnknown); @@ -1547,7 +1547,7 @@ impl ITsSbGenericNotifySink { (windows_core::Interface::vtable(self).OnCompleted)(windows_core::Interface::as_raw(self), status).ok() } pub unsafe fn GetWaitTimeout(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWaitTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1561,7 +1561,7 @@ windows_core::imp::define_interface!(ITsSbGlobalStore, ITsSbGlobalStore_Vtbl, 0x impl std::ops::Deref for ITsSbGlobalStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbGlobalStore, windows_core::IUnknown); @@ -1572,7 +1572,7 @@ impl ITsSbGlobalStore { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryTarget)(windows_core::Interface::as_raw(self), providername.param().abi(), targetname.param().abi(), farmname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QuerySessionBySessionId(&self, providername: P0, dwsessionid: u32, targetname: P1) -> windows_core::Result @@ -1580,7 +1580,7 @@ impl ITsSbGlobalStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuerySessionBySessionId)(windows_core::Interface::as_raw(self), providername.param().abi(), dwsessionid, targetname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1626,41 +1626,41 @@ impl ITsSbGlobalStore { #[repr(C)] pub struct ITsSbGlobalStore_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub QueryTarget: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub QuerySessionBySessionId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryTarget: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QuerySessionBySessionId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub EnumerateFarms: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub EnumerateFarms: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumerateFarms: usize, - pub EnumerateTargets: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut u32, *mut *mut Option) -> windows_core::HRESULT, - pub EnumerateEnvironmentsByProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32, *mut *mut Option) -> windows_core::HRESULT, - pub EnumerateSessions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *const TSSESSION_STATE, *mut u32, *mut *mut Option) -> windows_core::HRESULT, - pub GetFarmProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnumerateTargets: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut u32, *mut *mut Option) -> windows_core::HRESULT, + pub EnumerateEnvironmentsByProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32, *mut *mut Option) -> windows_core::HRESULT, + pub EnumerateSessions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *const TSSESSION_STATE, *mut u32, *mut *mut Option) -> windows_core::HRESULT, + pub GetFarmProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbLoadBalanceResult, ITsSbLoadBalanceResult_Vtbl, 0x24fdb7ac_fea6_11dc_9672_9a8956d89593); impl std::ops::Deref for ITsSbLoadBalanceResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbLoadBalanceResult, windows_core::IUnknown); impl ITsSbLoadBalanceResult { pub unsafe fn TargetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ITsSbLoadBalanceResult_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbLoadBalancing, ITsSbLoadBalancing_Vtbl, 0x24329274_9eb7_11dc_ae98_f2b456d89593); impl std::ops::Deref for ITsSbLoadBalancing { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbLoadBalancing, windows_core::IUnknown, ITsSbPlugin); @@ -1682,7 +1682,7 @@ windows_core::imp::define_interface!(ITsSbLoadBalancingNotifySink, ITsSbLoadBala impl std::ops::Deref for ITsSbLoadBalancingNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbLoadBalancingNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); @@ -1704,7 +1704,7 @@ windows_core::imp::define_interface!(ITsSbOrchestration, ITsSbOrchestration_Vtbl impl std::ops::Deref for ITsSbOrchestration { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbOrchestration, windows_core::IUnknown, ITsSbPlugin); @@ -1726,7 +1726,7 @@ windows_core::imp::define_interface!(ITsSbOrchestrationNotifySink, ITsSbOrchestr impl std::ops::Deref for ITsSbOrchestrationNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbOrchestrationNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); @@ -1747,7 +1747,7 @@ windows_core::imp::define_interface!(ITsSbPlacement, ITsSbPlacement_Vtbl, 0xdaad impl std::ops::Deref for ITsSbPlacement { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbPlacement, windows_core::IUnknown, ITsSbPlugin); @@ -1769,7 +1769,7 @@ windows_core::imp::define_interface!(ITsSbPlacementNotifySink, ITsSbPlacementNot impl std::ops::Deref for ITsSbPlacementNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbPlacementNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); @@ -1790,7 +1790,7 @@ windows_core::imp::define_interface!(ITsSbPlugin, ITsSbPlugin_Vtbl, 0x48cd7406_c impl std::ops::Deref for ITsSbPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbPlugin, windows_core::IUnknown); @@ -1821,7 +1821,7 @@ windows_core::imp::define_interface!(ITsSbPluginNotifySink, ITsSbPluginNotifySin impl std::ops::Deref for ITsSbPluginNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbPluginNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); @@ -1845,7 +1845,7 @@ windows_core::imp::define_interface!(ITsSbPluginPropertySet, ITsSbPluginProperty impl std::ops::Deref for ITsSbPluginPropertySet { type Target = ITsSbPropertySet; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1863,7 +1863,7 @@ windows_core::imp::define_interface!(ITsSbPropertySet, ITsSbPropertySet_Vtbl, 0x impl std::ops::Deref for ITsSbPropertySet { type Target = super::Com::StructuredStorage::IPropertyBag; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1879,7 +1879,7 @@ windows_core::imp::define_interface!(ITsSbProvider, ITsSbProvider_Vtbl, 0x87a409 impl std::ops::Deref for ITsSbProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbProvider, windows_core::IUnknown); @@ -1889,14 +1889,14 @@ impl ITsSbProvider { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTargetObject)(windows_core::Interface::as_raw(self), targetname.param().abi(), environmentname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLoadBalanceResultObject(&self, targetname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLoadBalanceResultObject)(windows_core::Interface::as_raw(self), targetname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSessionObject(&self, targetname: P0, username: P1, domain: P2, sessionid: u32) -> windows_core::Result @@ -1905,32 +1905,32 @@ impl ITsSbProvider { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSessionObject)(windows_core::Interface::as_raw(self), targetname.param().abi(), username.param().abi(), domain.param().abi(), sessionid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn CreatePluginPropertySet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePluginPropertySet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn CreateTargetPropertySetObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTargetPropertySetObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateEnvironmentObject(&self, name: P0, serverweight: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEnvironmentObject)(windows_core::Interface::as_raw(self), name.param().abi(), serverweight, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetResourcePluginStore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourcePluginStore)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilterPluginStore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterPluginStore)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterForNotification(&self, notificationtype: u32, resourcetomonitor: P0, ppluginnotification: P1) -> windows_core::Result<()> @@ -1947,21 +1947,21 @@ impl ITsSbProvider { (windows_core::Interface::vtable(self).UnRegisterForNotification)(windows_core::Interface::as_raw(self), notificationtype, resourcetomonitor.param().abi()).ok() } pub unsafe fn GetInstanceOfGlobalStore(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstanceOfGlobalStore)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn CreateEnvironmentPropertySetObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEnvironmentPropertySetObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ITsSbProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CreateTargetObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateLoadBalanceResultObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateSessionObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateTargetObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLoadBalanceResultObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSessionObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub CreatePluginPropertySet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] @@ -1970,11 +1970,11 @@ pub struct ITsSbProvider_Vtbl { pub CreateTargetPropertySetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] CreateTargetPropertySetObject: usize, - pub CreateEnvironmentObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateEnvironmentObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetResourcePluginStore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFilterPluginStore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RegisterForNotification: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub UnRegisterForNotification: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterForNotification: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub UnRegisterForNotification: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetInstanceOfGlobalStore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub CreateEnvironmentPropertySetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1985,7 +1985,7 @@ windows_core::imp::define_interface!(ITsSbProvisioning, ITsSbProvisioning_Vtbl, impl std::ops::Deref for ITsSbProvisioning { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbProvisioning, windows_core::IUnknown, ITsSbPlugin); @@ -2024,16 +2024,16 @@ impl ITsSbProvisioning { #[repr(C)] pub struct ITsSbProvisioning_Vtbl { pub base__: ITsSbPlugin_Vtbl, - pub CreateVirtualMachines: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub PatchVirtualMachines: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, *const VM_PATCH_INFO) -> windows_core::HRESULT, - pub DeleteVirtualMachines: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CancelJob: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateVirtualMachines: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub PatchVirtualMachines: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *const VM_PATCH_INFO) -> windows_core::HRESULT, + pub DeleteVirtualMachines: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CancelJob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbProvisioningPluginNotifySink, ITsSbProvisioningPluginNotifySink_Vtbl, 0xaca87a8e_818b_4581_a032_49c3dfb9c701); impl std::ops::Deref for ITsSbProvisioningPluginNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbProvisioningPluginNotifySink, windows_core::IUnknown); @@ -2071,17 +2071,17 @@ impl ITsSbProvisioningPluginNotifySink { pub struct ITsSbProvisioningPluginNotifySink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnJobCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *const VM_NOTIFY_INFO) -> windows_core::HRESULT, - pub OnVirtualMachineStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *const VM_NOTIFY_ENTRY, VM_NOTIFY_STATUS, windows_core::HRESULT, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OnJobCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnVirtualMachineStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *const VM_NOTIFY_ENTRY, VM_NOTIFY_STATUS, windows_core::HRESULT, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnJobCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, core::mem::MaybeUninit) -> windows_core::HRESULT, pub OnJobCancelled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub LockVirtualMachine: unsafe extern "system" fn(*mut core::ffi::c_void, *const VM_NOTIFY_ENTRY) -> windows_core::HRESULT, - pub OnVirtualMachineHostStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, VM_HOST_NOTIFY_STATUS, windows_core::HRESULT, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnVirtualMachineHostStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, VM_HOST_NOTIFY_STATUS, windows_core::HRESULT, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbResourceNotification, ITsSbResourceNotification_Vtbl, 0x65d3e85a_c39b_11dc_b92d_3cd255d89593); impl std::ops::Deref for ITsSbResourceNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbResourceNotification, windows_core::IUnknown); @@ -2116,7 +2116,7 @@ windows_core::imp::define_interface!(ITsSbResourceNotificationEx, ITsSbResourceN impl std::ops::Deref for ITsSbResourceNotificationEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbResourceNotificationEx, windows_core::IUnknown); @@ -2149,15 +2149,15 @@ impl ITsSbResourceNotificationEx { #[repr(C)] pub struct ITsSbResourceNotificationEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub NotifySessionChangeEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, TSSESSION_STATE) -> windows_core::HRESULT, - pub NotifyTargetChangeEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, - pub NotifyClientConnectionStateChangeEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, CONNECTION_CHANGE_NOTIFICATION) -> windows_core::HRESULT, + pub NotifySessionChangeEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, TSSESSION_STATE) -> windows_core::HRESULT, + pub NotifyTargetChangeEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub NotifyClientConnectionStateChangeEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, CONNECTION_CHANGE_NOTIFICATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbResourcePlugin, ITsSbResourcePlugin_Vtbl, 0xea8db42c_98ed_4535_a88b_2a164f35490f); impl std::ops::Deref for ITsSbResourcePlugin { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbResourcePlugin, windows_core::IUnknown, ITsSbPlugin); @@ -2170,7 +2170,7 @@ windows_core::imp::define_interface!(ITsSbResourcePluginStore, ITsSbResourcePlug impl std::ops::Deref for ITsSbResourcePluginStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbResourcePluginStore, windows_core::IUnknown); @@ -2180,14 +2180,14 @@ impl ITsSbResourcePluginStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryTarget)(windows_core::Interface::as_raw(self), targetname.param().abi(), farmname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QuerySessionBySessionId(&self, dwsessionid: u32, targetname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuerySessionBySessionId)(windows_core::Interface::as_raw(self), dwsessionid, targetname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddTargetToStore(&self, ptarget: P0) -> windows_core::Result<()> @@ -2223,7 +2223,7 @@ impl ITsSbResourcePluginStore { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryEnvironment)(windows_core::Interface::as_raw(self), environmentname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateEnvironments(&self, pdwcount: *mut u32, pval: *mut *mut Option) -> windows_core::Result<()> { @@ -2267,7 +2267,7 @@ impl ITsSbResourcePluginStore { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetTargetState)(windows_core::Interface::as_raw(self), targetname.param().abi(), newstate, &mut result__).map(|| result__) } pub unsafe fn SetSessionState(&self, sbsession: P0) -> windows_core::Result<()> @@ -2326,7 +2326,7 @@ impl ITsSbResourcePluginStore { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AcquireTargetLock)(windows_core::Interface::as_raw(self), targetname.param().abi(), dwtimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReleaseTargetLock(&self, pcontext: P0) -> windows_core::Result<()> @@ -2340,7 +2340,7 @@ impl ITsSbResourcePluginStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TestAndSetServerState)(windows_core::Interface::as_raw(self), poolname.param().abi(), serverfqdn.param().abi(), newstate, teststate, &mut result__).map(|| result__) } pub unsafe fn SetServerWaitingToStart(&self, poolname: P0, servername: P1) -> windows_core::Result<()> @@ -2355,7 +2355,7 @@ impl ITsSbResourcePluginStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServerState)(windows_core::Interface::as_raw(self), poolname.param().abi(), serverfqdn.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetServerDrainMode(&self, serverfqdn: P0, drainmode: u32) -> windows_core::Result<()> @@ -2368,43 +2368,43 @@ impl ITsSbResourcePluginStore { #[repr(C)] pub struct ITsSbResourcePluginStore_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub QueryTarget: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub QuerySessionBySessionId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryTarget: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QuerySessionBySessionId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddTargetToStore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddSessionToStore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddEnvironmentToStore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub RemoveEnvironmentFromStore: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub RemoveEnvironmentFromStore: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub EnumerateFarms: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EnumerateFarms: usize, - pub QueryEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateEnvironments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut Option) -> windows_core::HRESULT, pub SaveTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SaveEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SaveSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetTargetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEnvironmentProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTargetState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, TARGET_STATE, *mut TARGET_STATE) -> windows_core::HRESULT, + pub SetTargetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEnvironmentProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTargetState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, TARGET_STATE, *mut TARGET_STATE) -> windows_core::HRESULT, pub SetSessionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub EnumerateTargets: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, TS_SB_SORT_BY, std::mem::MaybeUninit, *mut u32, *mut *mut Option) -> windows_core::HRESULT, - pub EnumerateSessions: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *const TSSESSION_STATE, *mut u32, *mut *mut Option) -> windows_core::HRESULT, - pub GetFarmProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteTarget: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTargetPropertyWithVersionCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEnvironmentPropertyWithVersionCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AcquireTargetLock: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub EnumerateTargets: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, TS_SB_SORT_BY, core::mem::MaybeUninit, *mut u32, *mut *mut Option) -> windows_core::HRESULT, + pub EnumerateSessions: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *const TSSESSION_STATE, *mut u32, *mut *mut Option) -> windows_core::HRESULT, + pub GetFarmProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteTarget: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTargetPropertyWithVersionCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEnvironmentPropertyWithVersionCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AcquireTargetLock: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseTargetLock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub TestAndSetServerState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, TARGET_STATE, TARGET_STATE, *mut TARGET_STATE) -> windows_core::HRESULT, - pub SetServerWaitingToStart: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetServerState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut TARGET_STATE) -> windows_core::HRESULT, - pub SetServerDrainMode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub TestAndSetServerState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, TARGET_STATE, TARGET_STATE, *mut TARGET_STATE) -> windows_core::HRESULT, + pub SetServerWaitingToStart: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetServerState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut TARGET_STATE) -> windows_core::HRESULT, + pub SetServerDrainMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbServiceNotification, ITsSbServiceNotification_Vtbl, 0x86cb68ae_86e0_4f57_8a64_bb7406bc5550); impl std::ops::Deref for ITsSbServiceNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbServiceNotification, windows_core::IUnknown); @@ -2426,17 +2426,17 @@ windows_core::imp::define_interface!(ITsSbSession, ITsSbSession_Vtbl, 0xd453aac7 impl std::ops::Deref for ITsSbSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbSession, windows_core::IUnknown); impl ITsSbSession { pub unsafe fn SessionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TargetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTargetName(&self, targetname: P0) -> windows_core::Result<()> @@ -2446,36 +2446,36 @@ impl ITsSbSession { (windows_core::Interface::vtable(self).SetTargetName)(windows_core::Interface::as_raw(self), targetname.param().abi()).ok() } pub unsafe fn Username(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Username)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Domain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Domain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetState(&self, state: TSSESSION_STATE) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetState)(windows_core::Interface::as_raw(self), state).ok() } pub unsafe fn CreateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCreateTime(&self, time: super::super::Foundation::FILETIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetCreateTime)(windows_core::Interface::as_raw(self), core::mem::transmute(time)).ok() } pub unsafe fn DisconnectTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisconnectTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDisconnectTime(&self, time: super::super::Foundation::FILETIME) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetDisconnectTime)(windows_core::Interface::as_raw(self), core::mem::transmute(time)).ok() } pub unsafe fn InitialProgram(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialProgram)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetInitialProgram(&self, application: P0) -> windows_core::Result<()> @@ -2485,14 +2485,14 @@ impl ITsSbSession { (windows_core::Interface::vtable(self).SetInitialProgram)(windows_core::Interface::as_raw(self), application.param().abi()).ok() } pub unsafe fn ClientDisplay(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientDisplay)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProtocolType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProtocolType(&self, val: u32) -> windows_core::Result<()> { @@ -2503,18 +2503,18 @@ impl ITsSbSession { pub struct ITsSbSession_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTargetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Username: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTargetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Username: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Domain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TSSESSION_STATE) -> windows_core::HRESULT, pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, TSSESSION_STATE) -> windows_core::HRESULT, pub CreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub SetCreateTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub DisconnectTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub SetDisconnectTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::FILETIME) -> windows_core::HRESULT, - pub InitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClientDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CLIENT_DISPLAY) -> windows_core::HRESULT, pub SetClientDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, CLIENT_DISPLAY) -> windows_core::HRESULT, pub ProtocolType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -2524,13 +2524,13 @@ windows_core::imp::define_interface!(ITsSbTarget, ITsSbTarget_Vtbl, 0x16616ecc_2 impl std::ops::Deref for ITsSbTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbTarget, windows_core::IUnknown); impl ITsSbTarget { pub unsafe fn TargetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTargetName(&self, val: P0) -> windows_core::Result<()> @@ -2540,7 +2540,7 @@ impl ITsSbTarget { (windows_core::Interface::vtable(self).SetTargetName)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn FarmName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FarmName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFarmName(&self, val: P0) -> windows_core::Result<()> @@ -2550,7 +2550,7 @@ impl ITsSbTarget { (windows_core::Interface::vtable(self).SetFarmName)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn TargetFQDN(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetFQDN)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTargetFQDN(&self, val: P0) -> windows_core::Result<()> @@ -2560,7 +2560,7 @@ impl ITsSbTarget { (windows_core::Interface::vtable(self).SetTargetFQDN)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn TargetNetbios(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetNetbios)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTargetNetbios(&self, val: P0) -> windows_core::Result<()> @@ -2576,7 +2576,7 @@ impl ITsSbTarget { (windows_core::Interface::vtable(self).put_IpAddresses)(windows_core::Interface::as_raw(self), core::mem::transmute(sockaddr.as_ptr()), sockaddr.len().try_into().unwrap()).ok() } pub unsafe fn TargetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTargetState(&self, state: TARGET_STATE) -> windows_core::Result<()> { @@ -2584,7 +2584,7 @@ impl ITsSbTarget { } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn TargetPropertySet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetPropertySet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -2595,7 +2595,7 @@ impl ITsSbTarget { (windows_core::Interface::vtable(self).SetTargetPropertySet)(windows_core::Interface::as_raw(self), pval.param().abi()).ok() } pub unsafe fn EnvironmentName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnvironmentName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEnvironmentName(&self, val: P0) -> windows_core::Result<()> @@ -2605,29 +2605,29 @@ impl ITsSbTarget { (windows_core::Interface::vtable(self).SetEnvironmentName)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn NumSessions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumSessions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumPendingConnections(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumPendingConnections)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TargetLoad(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetLoad)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct ITsSbTarget_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTargetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FarmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFarmName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TargetFQDN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTargetFQDN: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TargetNetbios: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTargetNetbios: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTargetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FarmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFarmName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetFQDN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTargetFQDN: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetNetbios: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTargetNetbios: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub get_IpAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TSSD_ConnectionPoint, *mut u32) -> windows_core::HRESULT, pub put_IpAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *const TSSD_ConnectionPoint, u32) -> windows_core::HRESULT, pub TargetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TARGET_STATE) -> windows_core::HRESULT, @@ -2640,8 +2640,8 @@ pub struct ITsSbTarget_Vtbl { pub SetTargetPropertySet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] SetTargetPropertySet: usize, - pub EnvironmentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEnvironmentName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnvironmentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEnvironmentName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub NumSessions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub NumPendingConnections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub TargetLoad: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -2652,7 +2652,7 @@ windows_core::imp::define_interface!(ITsSbTargetPropertySet, ITsSbTargetProperty impl std::ops::Deref for ITsSbTargetPropertySet { type Target = ITsSbPropertySet; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -2668,70 +2668,70 @@ windows_core::imp::define_interface!(ITsSbTaskInfo, ITsSbTaskInfo_Vtbl, 0x523d10 impl std::ops::Deref for ITsSbTaskInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbTaskInfo, windows_core::IUnknown); impl ITsSbTaskInfo { pub unsafe fn TargetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn StartTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EndTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Deadline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Deadline)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Identifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Identifier)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Label(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Label)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Context(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Context)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Plugin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Plugin)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct ITsSbTaskInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub TargetId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub EndTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, - pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Label: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Context: usize, - pub Plugin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Plugin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RDV_TASK_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbTaskPlugin, ITsSbTaskPlugin_Vtbl, 0xfa22ef0f_8705_41be_93bc_44bdbcf1c9c4); impl std::ops::Deref for ITsSbTaskPlugin { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbTaskPlugin, windows_core::IUnknown, ITsSbPlugin); @@ -2753,13 +2753,13 @@ impl ITsSbTaskPlugin { pub struct ITsSbTaskPlugin_Vtbl { pub base__: ITsSbPlugin_Vtbl, pub InitializeTaskPlugin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetTaskQueue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetTaskQueue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbTaskPluginNotifySink, ITsSbTaskPluginNotifySink_Vtbl, 0x6aaf899e_c2ec_45ee_aa37_45e60895261a); impl std::ops::Deref for ITsSbTaskPluginNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITsSbTaskPluginNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); @@ -2799,24 +2799,24 @@ impl ITsSbTaskPluginNotifySink { pub struct ITsSbTaskPluginNotifySink_Vtbl { pub base__: ITsSbBaseNotifySink_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub OnSetTaskTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::FILETIME, super::super::Foundation::FILETIME, super::super::Foundation::FILETIME, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub OnSetTaskTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::FILETIME, super::super::Foundation::FILETIME, super::super::Foundation::FILETIME, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnSetTaskTime: usize, - pub OnDeleteTaskTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OnUpdateTaskStatus: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, RDV_TASK_STATUS) -> windows_core::HRESULT, - pub OnReportTasks: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnDeleteTaskTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnUpdateTaskStatus: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, RDV_TASK_STATUS) -> windows_core::HRESULT, + pub OnReportTasks: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsEnhancedFastReconnectArbitrator, IWRdsEnhancedFastReconnectArbitrator_Vtbl, 0x5718ae9b_47f2_499f_b634_d8175bd51131); impl std::ops::Deref for IWRdsEnhancedFastReconnectArbitrator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsEnhancedFastReconnectArbitrator, windows_core::IUnknown); impl IWRdsEnhancedFastReconnectArbitrator { pub unsafe fn GetSessionForEnhancedFastReconnect(&self, psessionidarray: *const i32, dwsessioncount: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSessionForEnhancedFastReconnect)(windows_core::Interface::as_raw(self), psessionidarray, dwsessioncount, &mut result__).map(|| result__) } } @@ -2829,7 +2829,7 @@ windows_core::imp::define_interface!(IWRdsGraphicsChannel, IWRdsGraphicsChannel_ impl std::ops::Deref for IWRdsGraphicsChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsGraphicsChannel, windows_core::IUnknown); @@ -2862,7 +2862,7 @@ windows_core::imp::define_interface!(IWRdsGraphicsChannelEvents, IWRdsGraphicsCh impl std::ops::Deref for IWRdsGraphicsChannelEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsGraphicsChannelEvents, windows_core::IUnknown); @@ -2903,13 +2903,13 @@ windows_core::imp::define_interface!(IWRdsGraphicsChannelManager, IWRdsGraphicsC impl std::ops::Deref for IWRdsGraphicsChannelManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsGraphicsChannelManager, windows_core::IUnknown); impl IWRdsGraphicsChannelManager { pub unsafe fn CreateChannel(&self, pszchannelname: *const u8, channeltype: WRdsGraphicsChannelType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateChannel)(windows_core::Interface::as_raw(self), pszchannelname, channeltype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2922,13 +2922,13 @@ windows_core::imp::define_interface!(IWRdsProtocolConnection, IWRdsProtocolConne impl std::ops::Deref for IWRdsProtocolConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolConnection, windows_core::IUnknown); impl IWRdsProtocolConnection { pub unsafe fn GetLogonErrorRedirector(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogonErrorRedirector)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AcceptConnection(&self) -> windows_core::Result<()> { @@ -2944,7 +2944,7 @@ impl IWRdsProtocolConnection { (windows_core::Interface::vtable(self).GetUserCredentials)(windows_core::Interface::as_raw(self), pusercreds).ok() } pub unsafe fn GetLicenseConnection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLicenseConnection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AuthenticateClientToSession(&self, sessionid: *mut WTS_SESSION_ID) -> windows_core::Result<()> { @@ -2960,7 +2960,7 @@ impl IWRdsProtocolConnection { (windows_core::Interface::vtable(self).GetInputHandles)(windows_core::Interface::as_raw(self), pkeyboardhandle, pmousehandle, pbeephandle).ok() } pub unsafe fn GetVideoHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVideoHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ConnectNotify(&self, sessionid: u32) -> windows_core::Result<()> { @@ -3002,7 +3002,7 @@ impl IWRdsProtocolConnection { (windows_core::Interface::vtable(self).GetProtocolStatus)(windows_core::Interface::as_raw(self), pprotocolstatus).ok() } pub unsafe fn GetLastInputTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastInputTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetErrorInfo(&self, ulerror: u32) -> windows_core::Result<()> { @@ -3013,14 +3013,14 @@ impl IWRdsProtocolConnection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVirtualChannel)(windows_core::Interface::as_raw(self), szendpointname.param().abi(), bstatic.param().abi(), requestedpriority, &mut result__).map(|| 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().try_into().unwrap(), ppropertyentriesout.len().try_into().unwrap(), core::mem::transmute(ppropertyentriesin.as_ptr()), core::mem::transmute(ppropertyentriesout.as_ptr())).ok() } pub unsafe fn GetShadowConnection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShadowConnection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NotifyCommandProcessCreated(&self, sessionid: u32) -> windows_core::Result<()> { @@ -3059,7 +3059,7 @@ windows_core::imp::define_interface!(IWRdsProtocolConnectionCallback, IWRdsProto impl std::ops::Deref for IWRdsProtocolConnectionCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolConnectionCallback, windows_core::IUnknown); @@ -3077,7 +3077,7 @@ impl IWRdsProtocolConnectionCallback { (windows_core::Interface::vtable(self).RedrawWindow)(windows_core::Interface::as_raw(self), rect).ok() } pub unsafe fn GetConnectionId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnectionId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3094,7 +3094,7 @@ windows_core::imp::define_interface!(IWRdsProtocolConnectionSettings, IWRdsProto impl std::ops::Deref for IWRdsProtocolConnectionSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolConnectionSettings, windows_core::IUnknown); @@ -3116,7 +3116,7 @@ windows_core::imp::define_interface!(IWRdsProtocolLicenseConnection, IWRdsProtoc impl std::ops::Deref for IWRdsProtocolLicenseConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolLicenseConnection, windows_core::IUnknown); @@ -3146,13 +3146,13 @@ windows_core::imp::define_interface!(IWRdsProtocolListener, IWRdsProtocolListene impl std::ops::Deref for IWRdsProtocolListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolListener, windows_core::IUnknown); impl IWRdsProtocolListener { pub unsafe fn GetSettings(&self, wrdslistenersettinglevel: WRDS_LISTENER_SETTING_LEVEL) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSettings)(windows_core::Interface::as_raw(self), wrdslistenersettinglevel, &mut result__).map(|| result__) } pub unsafe fn StartListen(&self, pcallback: P0) -> windows_core::Result<()> @@ -3176,7 +3176,7 @@ windows_core::imp::define_interface!(IWRdsProtocolListenerCallback, IWRdsProtoco impl std::ops::Deref for IWRdsProtocolListenerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolListenerCallback, windows_core::IUnknown); @@ -3185,7 +3185,7 @@ impl IWRdsProtocolListenerCallback { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnConnected)(windows_core::Interface::as_raw(self), pconnection.param().abi(), pwrdsconnectionsettings, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3198,7 +3198,7 @@ windows_core::imp::define_interface!(IWRdsProtocolLogonErrorRedirector, IWRdsPro impl std::ops::Deref for IWRdsProtocolLogonErrorRedirector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolLogonErrorRedirector, windows_core::IUnknown); @@ -3210,7 +3210,7 @@ impl IWRdsProtocolLogonErrorRedirector { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RedirectStatus)(windows_core::Interface::as_raw(self), pszmessage.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RedirectMessage(&self, pszcaption: P0, pszmessage: P1, utype: u32) -> windows_core::Result @@ -3218,7 +3218,7 @@ impl IWRdsProtocolLogonErrorRedirector { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RedirectMessage)(windows_core::Interface::as_raw(self), pszcaption.param().abi(), pszmessage.param().abi(), utype, &mut result__).map(|| result__) } pub unsafe fn RedirectLogonError(&self, ntsstatus: i32, ntssubstatus: i32, pszcaption: P0, pszmessage: P1, utype: u32) -> windows_core::Result @@ -3226,7 +3226,7 @@ impl IWRdsProtocolLogonErrorRedirector { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RedirectLogonError)(windows_core::Interface::as_raw(self), ntsstatus, ntssubstatus, pszcaption.param().abi(), pszmessage.param().abi(), utype, &mut result__).map(|| result__) } } @@ -3242,7 +3242,7 @@ windows_core::imp::define_interface!(IWRdsProtocolManager, IWRdsProtocolManager_ impl std::ops::Deref for IWRdsProtocolManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolManager, windows_core::IUnknown); @@ -3257,7 +3257,7 @@ impl IWRdsProtocolManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateListener)(windows_core::Interface::as_raw(self), wszlistenername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NotifyServiceStateChange(&self, ptsservicestatechange: *const WTS_SERVICE_STATE) -> windows_core::Result<()> { @@ -3295,7 +3295,7 @@ windows_core::imp::define_interface!(IWRdsProtocolSettings, IWRdsProtocolSetting impl std::ops::Deref for IWRdsProtocolSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolSettings, windows_core::IUnknown); @@ -3317,7 +3317,7 @@ windows_core::imp::define_interface!(IWRdsProtocolShadowCallback, IWRdsProtocolS impl std::ops::Deref for IWRdsProtocolShadowCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolShadowCallback, windows_core::IUnknown); @@ -3343,7 +3343,7 @@ windows_core::imp::define_interface!(IWRdsProtocolShadowConnection, IWRdsProtoco impl std::ops::Deref for IWRdsProtocolShadowConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsProtocolShadowConnection, windows_core::IUnknown); @@ -3376,7 +3376,7 @@ windows_core::imp::define_interface!(IWRdsWddmIddProps, IWRdsWddmIddProps_Vtbl, impl std::ops::Deref for IWRdsWddmIddProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsWddmIddProps, windows_core::IUnknown); @@ -3412,7 +3412,7 @@ windows_core::imp::define_interface!(IWRdsWddmIddProps1, IWRdsWddmIddProps1_Vtbl impl std::ops::Deref for IWRdsWddmIddProps1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWRdsWddmIddProps1, windows_core::IUnknown); @@ -3441,7 +3441,7 @@ windows_core::imp::define_interface!(IWTSBitmapRenderService, IWTSBitmapRenderSe impl std::ops::Deref for IWTSBitmapRenderService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSBitmapRenderService, windows_core::IUnknown); @@ -3450,7 +3450,7 @@ impl IWTSBitmapRenderService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMappedRenderer)(windows_core::Interface::as_raw(self), mappingid, pmappedrenderercallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3463,7 +3463,7 @@ windows_core::imp::define_interface!(IWTSBitmapRenderer, IWTSBitmapRenderer_Vtbl impl std::ops::Deref for IWTSBitmapRenderer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSBitmapRenderer, windows_core::IUnknown); @@ -3472,7 +3472,7 @@ impl IWTSBitmapRenderer { (windows_core::Interface::vtable(self).Render)(windows_core::Interface::as_raw(self), core::mem::transmute(imageformat), dwwidth, dwheight, cbstride, pimagebuffer.len().try_into().unwrap(), core::mem::transmute(pimagebuffer.as_ptr())).ok() } pub unsafe fn GetRendererStatistics(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRendererStatistics)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemoveMapping(&self) -> windows_core::Result<()> { @@ -3490,7 +3490,7 @@ windows_core::imp::define_interface!(IWTSBitmapRendererCallback, IWTSBitmapRende impl std::ops::Deref for IWTSBitmapRendererCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSBitmapRendererCallback, windows_core::IUnknown); @@ -3508,14 +3508,14 @@ windows_core::imp::define_interface!(IWTSListener, IWTSListener_Vtbl, 0xa1230206 impl std::ops::Deref for IWTSListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSListener, windows_core::IUnknown); impl IWTSListener { #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetConfiguration(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConfiguration)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3531,7 +3531,7 @@ windows_core::imp::define_interface!(IWTSListenerCallback, IWTSListenerCallback_ impl std::ops::Deref for IWTSListenerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSListenerCallback, windows_core::IUnknown); @@ -3547,13 +3547,13 @@ impl IWTSListenerCallback { #[repr(C)] pub struct IWTSListenerCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnNewChannelConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OnNewChannelConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSPlugin, IWTSPlugin_Vtbl, 0xa1230201_1439_4e62_a414_190d0ac3d40e); impl std::ops::Deref for IWTSPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSPlugin, windows_core::IUnknown); @@ -3586,13 +3586,13 @@ windows_core::imp::define_interface!(IWTSPluginServiceProvider, IWTSPluginServic impl std::ops::Deref for IWTSPluginServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSPluginServiceProvider, windows_core::IUnknown); impl IWTSPluginServiceProvider { pub unsafe fn GetService(&self, serviceid: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetService)(windows_core::Interface::as_raw(self), core::mem::transmute(serviceid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3605,13 +3605,13 @@ windows_core::imp::define_interface!(IWTSProtocolConnection, IWTSProtocolConnect impl std::ops::Deref for IWTSProtocolConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSProtocolConnection, windows_core::IUnknown); impl IWTSProtocolConnection { pub unsafe fn GetLogonErrorRedirector(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLogonErrorRedirector)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SendPolicyData(&self, ppolicydata: *const WTS_POLICY_DATA) -> windows_core::Result<()> { @@ -3627,7 +3627,7 @@ impl IWTSProtocolConnection { (windows_core::Interface::vtable(self).GetUserCredentials)(windows_core::Interface::as_raw(self), pusercreds).ok() } pub unsafe fn GetLicenseConnection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLicenseConnection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AuthenticateClientToSession(&self, sessionid: *mut WTS_SESSION_ID) -> windows_core::Result<()> { @@ -3678,7 +3678,7 @@ impl IWTSProtocolConnection { (windows_core::Interface::vtable(self).GetProtocolStatus)(windows_core::Interface::as_raw(self), pprotocolstatus).ok() } pub unsafe fn GetLastInputTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastInputTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetErrorInfo(&self, ulerror: u32) -> windows_core::Result<()> { @@ -3692,14 +3692,14 @@ impl IWTSProtocolConnection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateVirtualChannel)(windows_core::Interface::as_raw(self), szendpointname.param().abi(), bstatic.param().abi(), requestedpriority, &mut result__).map(|| 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().try_into().unwrap(), ppropertyentriesout.len().try_into().unwrap(), core::mem::transmute(ppropertyentriesin.as_ptr()), core::mem::transmute(ppropertyentriesout.as_ptr())).ok() } pub unsafe fn GetShadowConnection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShadowConnection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3734,7 +3734,7 @@ windows_core::imp::define_interface!(IWTSProtocolConnectionCallback, IWTSProtoco impl std::ops::Deref for IWTSProtocolConnectionCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSProtocolConnectionCallback, windows_core::IUnknown); @@ -3768,7 +3768,7 @@ windows_core::imp::define_interface!(IWTSProtocolLicenseConnection, IWTSProtocol impl std::ops::Deref for IWTSProtocolLicenseConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSProtocolLicenseConnection, windows_core::IUnknown); @@ -3798,7 +3798,7 @@ windows_core::imp::define_interface!(IWTSProtocolListener, IWTSProtocolListener_ impl std::ops::Deref for IWTSProtocolListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSProtocolListener, windows_core::IUnknown); @@ -3823,7 +3823,7 @@ windows_core::imp::define_interface!(IWTSProtocolListenerCallback, IWTSProtocolL impl std::ops::Deref for IWTSProtocolListenerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSProtocolListenerCallback, windows_core::IUnknown); @@ -3832,7 +3832,7 @@ impl IWTSProtocolListenerCallback { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnConnected)(windows_core::Interface::as_raw(self), pconnection.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3845,7 +3845,7 @@ windows_core::imp::define_interface!(IWTSProtocolLogonErrorRedirector, IWTSProto impl std::ops::Deref for IWTSProtocolLogonErrorRedirector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSProtocolLogonErrorRedirector, windows_core::IUnknown); @@ -3857,7 +3857,7 @@ impl IWTSProtocolLogonErrorRedirector { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RedirectStatus)(windows_core::Interface::as_raw(self), pszmessage.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RedirectMessage(&self, pszcaption: P0, pszmessage: P1, utype: u32) -> windows_core::Result @@ -3865,7 +3865,7 @@ impl IWTSProtocolLogonErrorRedirector { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RedirectMessage)(windows_core::Interface::as_raw(self), pszcaption.param().abi(), pszmessage.param().abi(), utype, &mut result__).map(|| result__) } pub unsafe fn RedirectLogonError(&self, ntsstatus: i32, ntssubstatus: i32, pszcaption: P0, pszmessage: P1, utype: u32) -> windows_core::Result @@ -3873,7 +3873,7 @@ impl IWTSProtocolLogonErrorRedirector { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RedirectLogonError)(windows_core::Interface::as_raw(self), ntsstatus, ntssubstatus, pszcaption.param().abi(), pszmessage.param().abi(), utype, &mut result__).map(|| result__) } } @@ -3889,7 +3889,7 @@ windows_core::imp::define_interface!(IWTSProtocolManager, IWTSProtocolManager_Vt impl std::ops::Deref for IWTSProtocolManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSProtocolManager, windows_core::IUnknown); @@ -3898,7 +3898,7 @@ impl IWTSProtocolManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateListener)(windows_core::Interface::as_raw(self), wszlistenername.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NotifyServiceStateChange(&self, ptsservicestatechange: *const WTS_SERVICE_STATE) -> windows_core::Result<()> { @@ -3927,7 +3927,7 @@ windows_core::imp::define_interface!(IWTSProtocolShadowCallback, IWTSProtocolSha impl std::ops::Deref for IWTSProtocolShadowCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSProtocolShadowCallback, windows_core::IUnknown); @@ -3953,7 +3953,7 @@ windows_core::imp::define_interface!(IWTSProtocolShadowConnection, IWTSProtocolS impl std::ops::Deref for IWTSProtocolShadowConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSProtocolShadowConnection, windows_core::IUnknown); @@ -3986,13 +3986,13 @@ windows_core::imp::define_interface!(IWTSSBPlugin, IWTSSBPlugin_Vtbl, 0xdc44be78 impl std::ops::Deref for IWTSSBPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSSBPlugin, windows_core::IUnknown); impl IWTSSBPlugin { pub unsafe fn Initialize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WTSSBX_MachineChangeNotification(&self, notificationtype: WTSSBX_NOTIFICATION_TYPE, machineid: i32, pmachineinfo: *const WTSSBX_MACHINE_INFO) -> windows_core::Result<()> { @@ -4036,7 +4036,7 @@ windows_core::imp::define_interface!(IWTSVirtualChannel, IWTSVirtualChannel_Vtbl impl std::ops::Deref for IWTSVirtualChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSVirtualChannel, windows_core::IUnknown); @@ -4061,7 +4061,7 @@ windows_core::imp::define_interface!(IWTSVirtualChannelCallback, IWTSVirtualChan impl std::ops::Deref for IWTSVirtualChannelCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSVirtualChannelCallback, windows_core::IUnknown); @@ -4083,7 +4083,7 @@ windows_core::imp::define_interface!(IWTSVirtualChannelManager, IWTSVirtualChann impl std::ops::Deref for IWTSVirtualChannelManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWTSVirtualChannelManager, windows_core::IUnknown); @@ -4093,7 +4093,7 @@ impl IWTSVirtualChannelManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateListener)(windows_core::Interface::as_raw(self), pszchannelname.param().abi(), uflags, plistenercallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4106,14 +4106,14 @@ windows_core::imp::define_interface!(IWorkspace, IWorkspace_Vtbl, 0xb922bbb8_4c5 impl std::ops::Deref for IWorkspace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWorkspace, windows_core::IUnknown); impl IWorkspace { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWorkspaceNames(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWorkspaceNames)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -4124,7 +4124,7 @@ impl IWorkspace { (windows_core::Interface::vtable(self).StartRemoteApplication)(windows_core::Interface::as_raw(self), bstrworkspaceid.param().abi(), psaparams).ok() } pub unsafe fn GetProcessId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProcessId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4136,7 +4136,7 @@ pub struct IWorkspace_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetWorkspaceNames: usize, #[cfg(feature = "Win32_System_Com")] - pub StartRemoteApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub StartRemoteApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] StartRemoteApplication: usize, pub GetProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -4145,7 +4145,7 @@ windows_core::imp::define_interface!(IWorkspace2, IWorkspace2_Vtbl, 0x96d8d7cf_7 impl std::ops::Deref for IWorkspace2 { type Target = IWorkspace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWorkspace2, windows_core::IUnknown, IWorkspace); @@ -4166,7 +4166,7 @@ impl IWorkspace2 { pub struct IWorkspace2_Vtbl { pub base__: IWorkspace_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub StartRemoteApplicationEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub StartRemoteApplicationEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, *const super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] StartRemoteApplicationEx: usize, } @@ -4174,7 +4174,7 @@ windows_core::imp::define_interface!(IWorkspace3, IWorkspace3_Vtbl, 0x1becbe4a_d impl std::ops::Deref for IWorkspace3 { type Target = IWorkspace2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWorkspace3, windows_core::IUnknown, IWorkspace, IWorkspace2); @@ -4184,7 +4184,7 @@ impl IWorkspace3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClaimsToken2)(windows_core::Interface::as_raw(self), bstrclaimshint.param().abi(), bstruserhint.param().abi(), claimcookie, hwndcreduiparent, core::mem::transmute(rectcreduiparent), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClaimsToken(&self, bstraccesstoken: P0, ullaccesstokenexpiration: u64, bstrrefreshtoken: P1) -> windows_core::Result<()> @@ -4198,24 +4198,24 @@ impl IWorkspace3 { #[repr(C)] pub struct IWorkspace3_Vtbl { pub base__: IWorkspace2_Vtbl, - pub GetClaimsToken2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, u32, super::super::Foundation::RECT, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClaimsToken: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u64, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetClaimsToken2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, u32, super::super::Foundation::RECT, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClaimsToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u64, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkspaceClientExt, IWorkspaceClientExt_Vtbl, 0x12b952f4_41ca_4f21_a829_a6d07d9a16e5); impl std::ops::Deref for IWorkspaceClientExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWorkspaceClientExt, windows_core::IUnknown); impl IWorkspaceClientExt { pub unsafe fn GetResourceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourceId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetResourceDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourceDisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IssueDisconnect(&self) -> windows_core::Result<()> { @@ -4225,15 +4225,15 @@ impl IWorkspaceClientExt { #[repr(C)] pub struct IWorkspaceClientExt_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetResourceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetResourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetResourceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetResourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IssueDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkspaceRegistration, IWorkspaceRegistration_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e6); impl std::ops::Deref for IWorkspaceRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWorkspaceRegistration, windows_core::IUnknown); @@ -4242,7 +4242,7 @@ impl IWorkspaceRegistration { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddResource)(windows_core::Interface::as_raw(self), punk.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveResource(&self, dwcookieconnection: u32) -> windows_core::Result<()> { @@ -4259,7 +4259,7 @@ windows_core::imp::define_interface!(IWorkspaceRegistration2, IWorkspaceRegistra impl std::ops::Deref for IWorkspaceRegistration2 { type Target = IWorkspaceRegistration; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWorkspaceRegistration2, windows_core::IUnknown, IWorkspaceRegistration); @@ -4278,14 +4278,14 @@ impl IWorkspaceRegistration2 { #[repr(C)] pub struct IWorkspaceRegistration2_Vtbl { pub base__: IWorkspaceRegistration_Vtbl, - pub AddResourceEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32, windows_core::GUID) -> windows_core::HRESULT, + pub AddResourceEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32, windows_core::GUID) -> windows_core::HRESULT, pub RemoveResourceEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkspaceReportMessage, IWorkspaceReportMessage_Vtbl, 0xa7c06739_500f_4e8c_99a8_2bd6955899eb); impl std::ops::Deref for IWorkspaceReportMessage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWorkspaceReportMessage, windows_core::IUnknown); @@ -4301,7 +4301,7 @@ impl IWorkspaceReportMessage { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsErrorMessageRegistered)(windows_core::Interface::as_raw(self), bstrwkspid.param().abi(), dwerrortype, bstrerrormessagetype.param().abi(), dwerrorcode, &mut result__).map(|| result__) } pub unsafe fn RegisterErrorEvent(&self, bstrwkspid: P0, dwerrortype: u32, bstrerrormessagetype: P1, dwerrorcode: u32) -> windows_core::Result<()> @@ -4315,9 +4315,9 @@ impl IWorkspaceReportMessage { #[repr(C)] pub struct IWorkspaceReportMessage_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub RegisterErrorLogMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsErrorMessageRegistered: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, std::mem::MaybeUninit, u32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub RegisterErrorEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub RegisterErrorLogMessage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsErrorMessageRegistered: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, core::mem::MaybeUninit, u32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub RegisterErrorEvent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWorkspaceResTypeRegistry, IWorkspaceResTypeRegistry_Vtbl, 0x1d428c79_6e2e_4351_a361_c0401a03a0ba); @@ -4325,7 +4325,7 @@ windows_core::imp::define_interface!(IWorkspaceResTypeRegistry, IWorkspaceResTyp impl std::ops::Deref for IWorkspaceResTypeRegistry { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4352,7 +4352,7 @@ impl IWorkspaceResTypeRegistry { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegisteredFileExtensions)(windows_core::Interface::as_raw(self), fmachinewide.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetResourceTypeInfo(&self, fmachinewide: P0, bstrfileextension: P1) -> windows_core::Result @@ -4360,7 +4360,7 @@ impl IWorkspaceResTypeRegistry { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourceTypeInfo)(windows_core::Interface::as_raw(self), fmachinewide.param().abi(), bstrfileextension.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ModifyResourceType(&self, fmachinewide: P0, bstrfileextension: P1, bstrlauncher: P2) -> windows_core::Result<()> @@ -4376,14 +4376,14 @@ impl IWorkspaceResTypeRegistry { #[repr(C)] pub struct IWorkspaceResTypeRegistry_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub AddResourceType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DeleteResourceType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddResourceType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteResourceType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetRegisteredFileExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetRegisteredFileExtensions: usize, - pub GetResourceTypeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ModifyResourceType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetResourceTypeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ModifyResourceType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWorkspaceScriptable, IWorkspaceScriptable_Vtbl, 0xefea49a2_dda5_429d_8f42_b23b92c4c347); @@ -4391,7 +4391,7 @@ windows_core::imp::define_interface!(IWorkspaceScriptable, IWorkspaceScriptable_ impl std::ops::Deref for IWorkspaceScriptable { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4418,11 +4418,11 @@ impl IWorkspaceScriptable { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWorkspaceCredentialSpecified)(windows_core::Interface::as_raw(self), bstrworkspaceid.param().abi(), bcountunauthenticatedcredentials.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IsWorkspaceSSOEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWorkspaceSSOEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ClearWorkspaceCredential(&self, bstrworkspaceid: P0) -> windows_core::Result<()> @@ -4449,13 +4449,13 @@ impl IWorkspaceScriptable { #[repr(C)] pub struct IWorkspaceScriptable_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub DisconnectWorkspace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StartWorkspace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, - pub IsWorkspaceCredentialSpecified: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub DisconnectWorkspace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartWorkspace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, + pub IsWorkspaceCredentialSpecified: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsWorkspaceSSOEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ClearWorkspaceCredential: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub OnAuthenticated: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisconnectWorkspaceByFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClearWorkspaceCredential: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnAuthenticated: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisconnectWorkspaceByFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWorkspaceScriptable2, IWorkspaceScriptable2_Vtbl, 0xefea49a2_dda5_429d_8f42_b33ba2c4c348); @@ -4463,7 +4463,7 @@ windows_core::imp::define_interface!(IWorkspaceScriptable2, IWorkspaceScriptable impl std::ops::Deref for IWorkspaceScriptable2 { type Target = IWorkspaceScriptable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4494,8 +4494,8 @@ impl IWorkspaceScriptable2 { #[repr(C)] pub struct IWorkspaceScriptable2_Vtbl { pub base__: IWorkspaceScriptable_Vtbl, - pub StartWorkspaceEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, - pub ResourceDismissed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartWorkspaceEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, i32) -> windows_core::HRESULT, + pub ResourceDismissed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWorkspaceScriptable3, IWorkspaceScriptable3_Vtbl, 0x531e6512_2cbf_4bd2_80a5_d90a71636a9a); @@ -4503,7 +4503,7 @@ windows_core::imp::define_interface!(IWorkspaceScriptable3, IWorkspaceScriptable impl std::ops::Deref for IWorkspaceScriptable3 { type Target = IWorkspaceScriptable2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4528,13 +4528,13 @@ impl IWorkspaceScriptable3 { #[repr(C)] pub struct IWorkspaceScriptable3_Vtbl { pub base__: IWorkspaceScriptable2_Vtbl, - pub StartWorkspaceEx2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, i32, std::mem::MaybeUninit, windows_core::GUID) -> windows_core::HRESULT, + pub StartWorkspaceEx2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, i32, core::mem::MaybeUninit, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ItsPubPlugin, ItsPubPlugin_Vtbl, 0x70c04b05_f347_412b_822f_36c99c54ca45); impl std::ops::Deref for ItsPubPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ItsPubPlugin, windows_core::IUnknown); @@ -4552,15 +4552,15 @@ impl ItsPubPlugin { (windows_core::Interface::vtable(self).GetResource)(windows_core::Interface::as_raw(self), alias.param().abi(), flags, resource).ok() } pub unsafe fn GetCacheLastUpdateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCacheLastUpdateTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn pluginName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).pluginName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn pluginVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).pluginVersion)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ResolveResource(&self, resourcetype: *mut u32, resourcelocation: &mut [u16; 256], endpointname: &mut [u16; 256], userid: P0, alias: P1) -> windows_core::Result<()> @@ -4577,15 +4577,15 @@ pub struct ItsPubPlugin_Vtbl { pub GetResourceList: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut i32, *mut *mut pluginResource) -> windows_core::HRESULT, pub GetResource: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut pluginResource) -> windows_core::HRESULT, pub GetCacheLastUpdateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, - pub pluginName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub pluginVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub pluginName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub pluginVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ResolveResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, windows_core::PWSTR, windows_core::PWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ItsPubPlugin2, ItsPubPlugin2_Vtbl, 0xfa4ce418_aad7_4ec6_bad1_0a321ba465d5); impl std::ops::Deref for ItsPubPlugin2 { type Target = ItsPubPlugin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ItsPubPlugin2, windows_core::IUnknown, ItsPubPlugin); @@ -4632,7 +4632,7 @@ windows_core::imp::define_interface!(_ITSWkspEvents, _ITSWkspEvents_Vtbl, 0xb922 impl std::ops::Deref for _ITSWkspEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5792,15 +5792,15 @@ impl core::fmt::Debug for WTS_VIRTUAL_CLASS { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct AAAccountingData { - pub userName: std::mem::ManuallyDrop, - pub clientName: std::mem::ManuallyDrop, + pub userName: core::mem::ManuallyDrop, + pub clientName: core::mem::ManuallyDrop, pub authType: AAAuthSchemes, - pub resourceName: std::mem::ManuallyDrop, + pub resourceName: core::mem::ManuallyDrop, pub portNumber: i32, - pub protocolName: std::mem::ManuallyDrop, + pub protocolName: core::mem::ManuallyDrop, pub numberOfBytesReceived: i32, pub numberOfBytesTransfered: i32, - pub reasonForDisconnect: std::mem::ManuallyDrop, + pub reasonForDisconnect: core::mem::ManuallyDrop, pub mainSessionId: windows_core::GUID, pub subSessionId: i32, } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs index 39d943c112..d42d38e565 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs @@ -10,7 +10,7 @@ impl windows_core::RuntimeName for IWSMan {} #[cfg(feature = "Win32_System_Com")] impl IWSMan_Vtbl { pub const fn new, Impl: IWSMan_Impl, const OFFSET: isize>() -> IWSMan_Vtbl { - unsafe extern "system" fn CreateSession, Impl: IWSMan_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, connection: std::mem::MaybeUninit, flags: i32, connectionoptions: *mut core::ffi::c_void, session: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateSession, Impl: IWSMan_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, connection: core::mem::MaybeUninit, flags: i32, connectionoptions: *mut core::ffi::c_void, session: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSMan_Impl::CreateSession(this, core::mem::transmute(&connection), core::mem::transmute_copy(&flags), windows_core::from_raw_borrowed(&connectionoptions)) { @@ -32,7 +32,7 @@ impl IWSMan_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CommandLine, Impl: IWSMan_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CommandLine, Impl: IWSMan_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSMan_Impl::CommandLine(this) { @@ -43,7 +43,7 @@ impl IWSMan_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Error, Impl: IWSMan_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Error, Impl: IWSMan_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSMan_Impl::Error(this) { @@ -77,7 +77,7 @@ impl windows_core::RuntimeName for IWSManConnectionOptions {} #[cfg(feature = "Win32_System_Com")] impl IWSManConnectionOptions_Vtbl { pub const fn new, Impl: IWSManConnectionOptions_Impl, const OFFSET: isize>() -> IWSManConnectionOptions_Vtbl { - unsafe extern "system" fn UserName, Impl: IWSManConnectionOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserName, Impl: IWSManConnectionOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManConnectionOptions_Impl::UserName(this) { @@ -88,12 +88,12 @@ impl IWSManConnectionOptions_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUserName, Impl: IWSManConnectionOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUserName, Impl: IWSManConnectionOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManConnectionOptions_Impl::SetUserName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn SetPassword, Impl: IWSManConnectionOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, password: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPassword, Impl: IWSManConnectionOptions_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, password: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManConnectionOptions_Impl::SetPassword(this, core::mem::transmute(&password)).into() @@ -119,7 +119,7 @@ impl windows_core::RuntimeName for IWSManConnectionOptionsEx {} #[cfg(feature = "Win32_System_Com")] impl IWSManConnectionOptionsEx_Vtbl { pub const fn new, Impl: IWSManConnectionOptionsEx_Impl, const OFFSET: isize>() -> IWSManConnectionOptionsEx_Vtbl { - unsafe extern "system" fn CertificateThumbprint, Impl: IWSManConnectionOptionsEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, thumbprint: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CertificateThumbprint, Impl: IWSManConnectionOptionsEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, thumbprint: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManConnectionOptionsEx_Impl::CertificateThumbprint(this) { @@ -130,7 +130,7 @@ impl IWSManConnectionOptionsEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetCertificateThumbprint, Impl: IWSManConnectionOptionsEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, thumbprint: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCertificateThumbprint, Impl: IWSManConnectionOptionsEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, thumbprint: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManConnectionOptionsEx_Impl::SetCertificateThumbprint(this, core::mem::transmute(&thumbprint)).into() @@ -161,7 +161,7 @@ impl windows_core::RuntimeName for IWSManConnectionOptionsEx2 {} #[cfg(feature = "Win32_System_Com")] impl IWSManConnectionOptionsEx2_Vtbl { pub const fn new, Impl: IWSManConnectionOptionsEx2_Impl, const OFFSET: isize>() -> IWSManConnectionOptionsEx2_Vtbl { - unsafe extern "system" fn SetProxy, Impl: IWSManConnectionOptionsEx2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, accesstype: i32, authenticationmechanism: i32, username: std::mem::MaybeUninit, password: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetProxy, Impl: IWSManConnectionOptionsEx2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, accesstype: i32, authenticationmechanism: i32, username: core::mem::MaybeUninit, password: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManConnectionOptionsEx2_Impl::SetProxy(this, core::mem::transmute_copy(&accesstype), core::mem::transmute_copy(&authenticationmechanism), core::mem::transmute(&username), core::mem::transmute(&password)).into() @@ -270,7 +270,7 @@ impl windows_core::RuntimeName for IWSManEnumerator {} #[cfg(feature = "Win32_System_Com")] impl IWSManEnumerator_Vtbl { pub const fn new, Impl: IWSManEnumerator_Impl, const OFFSET: isize>() -> IWSManEnumerator_Vtbl { - unsafe extern "system" fn ReadItem, Impl: IWSManEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resource: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadItem, Impl: IWSManEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resource: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManEnumerator_Impl::ReadItem(this) { @@ -292,7 +292,7 @@ impl IWSManEnumerator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Error, Impl: IWSManEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Error, Impl: IWSManEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManEnumerator_Impl::Error(this) { @@ -342,7 +342,7 @@ impl windows_core::RuntimeName for IWSManEx {} #[cfg(feature = "Win32_System_Com")] impl IWSManEx_Vtbl { pub const fn new, Impl: IWSManEx_Impl, const OFFSET: isize>() -> IWSManEx_Vtbl { - unsafe extern "system" fn CreateResourceLocator, Impl: IWSManEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresourcelocator: std::mem::MaybeUninit, newresourcelocator: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateResourceLocator, Impl: IWSManEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresourcelocator: core::mem::MaybeUninit, newresourcelocator: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManEx_Impl::CreateResourceLocator(this, core::mem::transmute(&strresourcelocator)) { @@ -507,7 +507,7 @@ impl IWSManEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetErrorMessage, Impl: IWSManEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errornumber: u32, errormessage: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetErrorMessage, Impl: IWSManEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, errornumber: u32, errormessage: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManEx_Impl::GetErrorMessage(this, core::mem::transmute_copy(&errornumber)) { @@ -735,7 +735,7 @@ impl windows_core::RuntimeName for IWSManInternal {} #[cfg(feature = "Win32_System_Com")] impl IWSManInternal_Vtbl { pub const fn new, Impl: IWSManInternal_Impl, const OFFSET: isize>() -> IWSManInternal_Vtbl { - unsafe extern "system" fn ConfigSDDL, Impl: IWSManInternal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, session: *mut core::ffi::c_void, resourceuri: std::mem::MaybeUninit, flags: i32, resource: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConfigSDDL, Impl: IWSManInternal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, session: *mut core::ffi::c_void, resourceuri: core::mem::MaybeUninit, flags: i32, resource: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManInternal_Impl::ConfigSDDL(this, windows_core::from_raw_borrowed(&session), core::mem::transmute(&resourceuri), core::mem::transmute_copy(&flags)) { @@ -773,12 +773,12 @@ impl windows_core::RuntimeName for IWSManResourceLocator {} #[cfg(feature = "Win32_System_Com")] impl IWSManResourceLocator_Vtbl { pub const fn new, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>() -> IWSManResourceLocator_Vtbl { - unsafe extern "system" fn SetResourceURI, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetResourceURI, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManResourceLocator_Impl::SetResourceURI(this, core::mem::transmute(&uri)).into() } - unsafe extern "system" fn ResourceURI, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ResourceURI, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManResourceLocator_Impl::ResourceURI(this) { @@ -789,7 +789,7 @@ impl IWSManResourceLocator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddSelector, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceselname: std::mem::MaybeUninit, selvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddSelector, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceselname: core::mem::MaybeUninit, selvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManResourceLocator_Impl::AddSelector(this, core::mem::transmute(&resourceselname), core::mem::transmute(&selvalue)).into() @@ -799,7 +799,7 @@ impl IWSManResourceLocator_Vtbl { let this = (*this).get_impl(); IWSManResourceLocator_Impl::ClearSelectors(this).into() } - unsafe extern "system" fn FragmentPath, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FragmentPath, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManResourceLocator_Impl::FragmentPath(this) { @@ -810,12 +810,12 @@ impl IWSManResourceLocator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFragmentPath, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFragmentPath, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManResourceLocator_Impl::SetFragmentPath(this, core::mem::transmute(&text)).into() } - unsafe extern "system" fn FragmentDialect, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FragmentDialect, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManResourceLocator_Impl::FragmentDialect(this) { @@ -826,12 +826,12 @@ impl IWSManResourceLocator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFragmentDialect, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFragmentDialect, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManResourceLocator_Impl::SetFragmentDialect(this, core::mem::transmute(&text)).into() } - unsafe extern "system" fn AddOption, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, optionname: std::mem::MaybeUninit, optionvalue: std::mem::MaybeUninit, mustcomply: super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn AddOption, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, optionname: core::mem::MaybeUninit, optionvalue: core::mem::MaybeUninit, mustcomply: super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManResourceLocator_Impl::AddOption(this, core::mem::transmute(&optionname), core::mem::transmute(&optionvalue), core::mem::transmute_copy(&mustcomply)).into() @@ -857,7 +857,7 @@ impl IWSManResourceLocator_Vtbl { let this = (*this).get_impl(); IWSManResourceLocator_Impl::ClearOptions(this).into() } - unsafe extern "system" fn Error, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Error, Impl: IWSManResourceLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManResourceLocator_Impl::Error(this) { @@ -919,7 +919,7 @@ impl windows_core::RuntimeName for IWSManSession {} #[cfg(feature = "Win32_System_Com")] impl IWSManSession_Vtbl { pub const fn new, Impl: IWSManSession_Impl, const OFFSET: isize>() -> IWSManSession_Vtbl { - unsafe extern "system" fn Get, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: std::mem::MaybeUninit, flags: i32, resource: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Get, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: core::mem::MaybeUninit, flags: i32, resource: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManSession_Impl::Get(this, core::mem::transmute(&resourceuri), core::mem::transmute_copy(&flags)) { @@ -930,7 +930,7 @@ impl IWSManSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Put, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: std::mem::MaybeUninit, resource: std::mem::MaybeUninit, flags: i32, resultresource: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Put, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: core::mem::MaybeUninit, resource: core::mem::MaybeUninit, flags: i32, resultresource: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManSession_Impl::Put(this, core::mem::transmute(&resourceuri), core::mem::transmute(&resource), core::mem::transmute_copy(&flags)) { @@ -941,7 +941,7 @@ impl IWSManSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Create, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: std::mem::MaybeUninit, resource: std::mem::MaybeUninit, flags: i32, newuri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Create, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: core::mem::MaybeUninit, resource: core::mem::MaybeUninit, flags: i32, newuri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManSession_Impl::Create(this, core::mem::transmute(&resourceuri), core::mem::transmute(&resource), core::mem::transmute_copy(&flags)) { @@ -952,12 +952,12 @@ impl IWSManSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Delete, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: std::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Delete, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: core::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSManSession_Impl::Delete(this, core::mem::transmute(&resourceuri), core::mem::transmute_copy(&flags)).into() } - unsafe extern "system" fn Invoke, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, actionuri: std::mem::MaybeUninit, resourceuri: std::mem::MaybeUninit, parameters: std::mem::MaybeUninit, flags: i32, result: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Invoke, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, actionuri: core::mem::MaybeUninit, resourceuri: core::mem::MaybeUninit, parameters: core::mem::MaybeUninit, flags: i32, result: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManSession_Impl::Invoke(this, core::mem::transmute(&actionuri), core::mem::transmute(&resourceuri), core::mem::transmute(¶meters), core::mem::transmute_copy(&flags)) { @@ -968,7 +968,7 @@ impl IWSManSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Enumerate, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: std::mem::MaybeUninit, filter: std::mem::MaybeUninit, dialect: std::mem::MaybeUninit, flags: i32, resultset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Enumerate, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, resourceuri: core::mem::MaybeUninit, filter: core::mem::MaybeUninit, dialect: core::mem::MaybeUninit, flags: i32, resultset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManSession_Impl::Enumerate(this, core::mem::transmute(&resourceuri), core::mem::transmute(&filter), core::mem::transmute(&dialect), core::mem::transmute_copy(&flags)) { @@ -979,7 +979,7 @@ impl IWSManSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Identify, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, result: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Identify, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, result: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManSession_Impl::Identify(this, core::mem::transmute_copy(&flags)) { @@ -990,7 +990,7 @@ impl IWSManSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Error, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Error, Impl: IWSManSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWSManSession_Impl::Error(this) { 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 7ab90c1871..73408d0b31 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -38,7 +38,7 @@ where P2: windows_core::Param, { windows_targets::link!("wsmsvc.dll" "system" fn WSManConnectShell(session : WSMAN_SESSION_HANDLE, flags : u32, resourceuri : windows_core::PCWSTR, shellid : windows_core::PCWSTR, options : *const WSMAN_OPTION_SET, connectxml : *const WSMAN_DATA, r#async : *const WSMAN_SHELL_ASYNC, shell : *mut WSMAN_SHELL_HANDLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSManConnectShell(session.param().abi(), flags, resourceuri.param().abi(), shellid.param().abi(), core::mem::transmute(options.unwrap_or(std::ptr::null())), core::mem::transmute(connectxml.unwrap_or(std::ptr::null())), r#async, &mut result__); result__ } @@ -49,7 +49,7 @@ where P1: windows_core::Param, { windows_targets::link!("wsmsvc.dll" "system" fn WSManConnectShellCommand(shell : WSMAN_SHELL_HANDLE, flags : u32, commandid : windows_core::PCWSTR, options : *const WSMAN_OPTION_SET, connectxml : *const WSMAN_DATA, r#async : *const WSMAN_SHELL_ASYNC, command : *mut WSMAN_COMMAND_HANDLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSManConnectShellCommand(shell.param().abi(), flags, commandid.param().abi(), core::mem::transmute(options.unwrap_or(std::ptr::null())), core::mem::transmute(connectxml.unwrap_or(std::ptr::null())), r#async, &mut result__); result__ } @@ -69,7 +69,7 @@ where P1: windows_core::Param, { windows_targets::link!("wsmsvc.dll" "system" fn WSManCreateShell(session : WSMAN_SESSION_HANDLE, flags : u32, resourceuri : windows_core::PCWSTR, startupinfo : *const WSMAN_SHELL_STARTUP_INFO_V11, options : *const WSMAN_OPTION_SET, createxml : *const WSMAN_DATA, r#async : *const WSMAN_SHELL_ASYNC, shell : *mut WSMAN_SHELL_HANDLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSManCreateShell(session.param().abi(), flags, resourceuri.param().abi(), core::mem::transmute(startupinfo.unwrap_or(std::ptr::null())), core::mem::transmute(options.unwrap_or(std::ptr::null())), core::mem::transmute(createxml.unwrap_or(std::ptr::null())), r#async, &mut result__); result__ } @@ -81,7 +81,7 @@ where P2: windows_core::Param, { windows_targets::link!("wsmsvc.dll" "system" fn WSManCreateShellEx(session : WSMAN_SESSION_HANDLE, flags : u32, resourceuri : windows_core::PCWSTR, shellid : windows_core::PCWSTR, startupinfo : *const WSMAN_SHELL_STARTUP_INFO_V11, options : *const WSMAN_OPTION_SET, createxml : *const WSMAN_DATA, r#async : *const WSMAN_SHELL_ASYNC, shell : *mut WSMAN_SHELL_HANDLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSManCreateShellEx(session.param().abi(), flags, resourceuri.param().abi(), shellid.param().abi(), core::mem::transmute(startupinfo.unwrap_or(std::ptr::null())), core::mem::transmute(options.unwrap_or(std::ptr::null())), core::mem::transmute(createxml.unwrap_or(std::ptr::null())), r#async, &mut result__); result__ } @@ -206,7 +206,7 @@ where P1: windows_core::Param, { windows_targets::link!("wsmsvc.dll" "system" fn WSManReceiveShellOutput(shell : WSMAN_SHELL_HANDLE, command : WSMAN_COMMAND_HANDLE, flags : u32, desiredstreamset : *const WSMAN_STREAM_ID_SET, r#async : *const WSMAN_SHELL_ASYNC, receiveoperation : *mut WSMAN_OPERATION_HANDLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSManReceiveShellOutput(shell.param().abi(), command.param().abi(), flags, core::mem::transmute(desiredstreamset.unwrap_or(std::ptr::null())), r#async, &mut result__); result__ } @@ -233,7 +233,7 @@ where P1: windows_core::Param, { windows_targets::link!("wsmsvc.dll" "system" fn WSManRunShellCommand(shell : WSMAN_SHELL_HANDLE, flags : u32, commandline : windows_core::PCWSTR, args : *const WSMAN_COMMAND_ARG_SET, options : *const WSMAN_OPTION_SET, r#async : *const WSMAN_SHELL_ASYNC, command : *mut WSMAN_COMMAND_HANDLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSManRunShellCommand(shell.param().abi(), flags, commandline.param().abi(), core::mem::transmute(args.unwrap_or(std::ptr::null())), core::mem::transmute(options.unwrap_or(std::ptr::null())), r#async, &mut result__); result__ } @@ -245,7 +245,7 @@ where P2: windows_core::Param, { windows_targets::link!("wsmsvc.dll" "system" fn WSManRunShellCommandEx(shell : WSMAN_SHELL_HANDLE, flags : u32, commandid : windows_core::PCWSTR, commandline : windows_core::PCWSTR, args : *const WSMAN_COMMAND_ARG_SET, options : *const WSMAN_OPTION_SET, r#async : *const WSMAN_SHELL_ASYNC, command : *mut WSMAN_COMMAND_HANDLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSManRunShellCommandEx(shell.param().abi(), flags, commandid.param().abi(), commandline.param().abi(), core::mem::transmute(args.unwrap_or(std::ptr::null())), core::mem::transmute(options.unwrap_or(std::ptr::null())), r#async, &mut result__); result__ } @@ -258,7 +258,7 @@ where P3: windows_core::Param, { windows_targets::link!("wsmsvc.dll" "system" fn WSManSendShellInput(shell : WSMAN_SHELL_HANDLE, command : WSMAN_COMMAND_HANDLE, flags : u32, streamid : windows_core::PCWSTR, streamdata : *const WSMAN_DATA, endofstream : super::super::Foundation:: BOOL, r#async : *const WSMAN_SHELL_ASYNC, sendoperation : *mut WSMAN_OPERATION_HANDLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSManSendShellInput(shell.param().abi(), command.param().abi(), flags, streamid.param().abi(), streamdata, endofstream.param().abi(), r#async, &mut result__); result__ } @@ -278,7 +278,7 @@ where P2: windows_core::Param, { windows_targets::link!("wsmsvc.dll" "system" fn WSManSignalShell(shell : WSMAN_SHELL_HANDLE, command : WSMAN_COMMAND_HANDLE, flags : u32, code : windows_core::PCWSTR, r#async : *const WSMAN_SHELL_ASYNC, signaloperation : *mut WSMAN_OPERATION_HANDLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WSManSignalShell(shell.param().abi(), command.param().abi(), flags, code.param().abi(), r#async, &mut result__); result__ } @@ -288,7 +288,7 @@ windows_core::imp::define_interface!(IWSMan, IWSMan_Vtbl, 0x190d8637_5cd3_496d_a impl std::ops::Deref for IWSMan { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -301,20 +301,20 @@ impl IWSMan { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSession)(windows_core::Interface::as_raw(self), connection.param().abi(), flags, connectionoptions.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateConnectionOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateConnectionOptions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CommandLine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CommandLine)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -323,15 +323,15 @@ impl IWSMan { pub struct IWSMan_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateSession: usize, #[cfg(feature = "Win32_System_Com")] pub CreateConnectionOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateConnectionOptions: usize, - pub CommandLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CommandLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManConnectionOptions, IWSManConnectionOptions_Vtbl, 0xf704e861_9e52_464f_b786_da5eb2320fdd); @@ -339,7 +339,7 @@ windows_core::imp::define_interface!(IWSManConnectionOptions, IWSManConnectionOp impl std::ops::Deref for IWSManConnectionOptions { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -347,7 +347,7 @@ windows_core::imp::interface_hierarchy!(IWSManConnectionOptions, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IWSManConnectionOptions { pub unsafe fn UserName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUserName(&self, name: P0) -> windows_core::Result<()> @@ -367,9 +367,9 @@ impl IWSManConnectionOptions { #[repr(C)] pub struct IWSManConnectionOptions_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManConnectionOptionsEx, IWSManConnectionOptionsEx_Vtbl, 0xef43edf7_2a48_4d93_9526_8bd6ab6d4a6b); @@ -377,7 +377,7 @@ windows_core::imp::define_interface!(IWSManConnectionOptionsEx, IWSManConnection impl std::ops::Deref for IWSManConnectionOptionsEx { type Target = IWSManConnectionOptions; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -385,7 +385,7 @@ windows_core::imp::interface_hierarchy!(IWSManConnectionOptionsEx, windows_core: #[cfg(feature = "Win32_System_Com")] impl IWSManConnectionOptionsEx { pub unsafe fn CertificateThumbprint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CertificateThumbprint)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCertificateThumbprint(&self, thumbprint: P0) -> windows_core::Result<()> @@ -399,8 +399,8 @@ impl IWSManConnectionOptionsEx { #[repr(C)] pub struct IWSManConnectionOptionsEx_Vtbl { pub base__: IWSManConnectionOptions_Vtbl, - pub CertificateThumbprint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCertificateThumbprint: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CertificateThumbprint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCertificateThumbprint: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManConnectionOptionsEx2, IWSManConnectionOptionsEx2_Vtbl, 0xf500c9ec_24ee_48ab_b38d_fc9a164c658e); @@ -408,7 +408,7 @@ windows_core::imp::define_interface!(IWSManConnectionOptionsEx2, IWSManConnectio impl std::ops::Deref for IWSManConnectionOptionsEx2 { type Target = IWSManConnectionOptionsEx; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -423,31 +423,31 @@ impl IWSManConnectionOptionsEx2 { (windows_core::Interface::vtable(self).SetProxy)(windows_core::Interface::as_raw(self), accesstype, authenticationmechanism, username.param().abi(), password.param().abi()).ok() } pub unsafe fn ProxyIEConfig(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyIEConfig)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProxyWinHttpConfig(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyWinHttpConfig)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProxyAutoDetect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyAutoDetect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProxyNoProxyServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyNoProxyServer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProxyAuthenticationUseNegotiate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyAuthenticationUseNegotiate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProxyAuthenticationUseBasic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyAuthenticationUseBasic)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProxyAuthenticationUseDigest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyAuthenticationUseDigest)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -455,7 +455,7 @@ impl IWSManConnectionOptionsEx2 { #[repr(C)] pub struct IWSManConnectionOptionsEx2_Vtbl { pub base__: IWSManConnectionOptionsEx_Vtbl, - pub SetProxy: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetProxy: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProxyIEConfig: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ProxyWinHttpConfig: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ProxyAutoDetect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -470,7 +470,7 @@ windows_core::imp::define_interface!(IWSManEnumerator, IWSManEnumerator_Vtbl, 0x impl std::ops::Deref for IWSManEnumerator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -478,15 +478,15 @@ windows_core::imp::interface_hierarchy!(IWSManEnumerator, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IWSManEnumerator { pub unsafe fn ReadItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AtEndOfStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AtEndOfStream)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -494,9 +494,9 @@ impl IWSManEnumerator { #[repr(C)] pub struct IWSManEnumerator_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ReadItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AtEndOfStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManEx, IWSManEx_Vtbl, 0x2d53bdaa_798e_49e6_a1aa_74d01256f411); @@ -504,7 +504,7 @@ windows_core::imp::define_interface!(IWSManEx, IWSManEx_Vtbl, 0x2d53bdaa_798e_49 impl std::ops::Deref for IWSManEx { type Target = IWSMan; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -516,83 +516,83 @@ impl IWSManEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateResourceLocator)(windows_core::Interface::as_raw(self), strresourcelocator.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SessionFlagUTF8(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUTF8)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagCredUsernamePassword(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagCredUsernamePassword)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagSkipCACheck(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagSkipCACheck)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagSkipCNCheck(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagSkipCNCheck)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagUseDigest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUseDigest)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagUseNegotiate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUseNegotiate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagUseBasic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUseBasic)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagUseKerberos(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUseKerberos)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagNoEncryption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagNoEncryption)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagEnableSPNServerPort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagEnableSPNServerPort)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagUseNoAuthentication(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUseNoAuthentication)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerationFlagNonXmlText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationFlagNonXmlText)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerationFlagReturnEPR(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationFlagReturnEPR)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerationFlagReturnObjectAndEPR(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationFlagReturnObjectAndEPR)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetErrorMessage(&self, errornumber: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorMessage)(windows_core::Interface::as_raw(self), errornumber, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerationFlagHierarchyDeep(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationFlagHierarchyDeep)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerationFlagHierarchyShallow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationFlagHierarchyShallow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationFlagHierarchyDeepBasePropsOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerationFlagReturnObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationFlagReturnObject)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -601,7 +601,7 @@ impl IWSManEx { pub struct IWSManEx_Vtbl { pub base__: IWSMan_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub CreateResourceLocator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateResourceLocator: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateResourceLocator: usize, pub SessionFlagUTF8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -618,7 +618,7 @@ pub struct IWSManEx_Vtbl { pub EnumerationFlagNonXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnumerationFlagReturnEPR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnumerationFlagReturnObjectAndEPR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub GetErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumerationFlagHierarchyDeep: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnumerationFlagHierarchyShallow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub EnumerationFlagHierarchyDeepBasePropsOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -630,7 +630,7 @@ windows_core::imp::define_interface!(IWSManEx2, IWSManEx2_Vtbl, 0x1d1b5ae0_42d9_ impl std::ops::Deref for IWSManEx2 { type Target = IWSManEx; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -638,7 +638,7 @@ windows_core::imp::interface_hierarchy!(IWSManEx2, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IWSManEx2 { pub unsafe fn SessionFlagUseClientCertificate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUseClientCertificate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -654,7 +654,7 @@ windows_core::imp::define_interface!(IWSManEx3, IWSManEx3_Vtbl, 0x6400e966_011d_ impl std::ops::Deref for IWSManEx3 { type Target = IWSManEx2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -662,31 +662,31 @@ windows_core::imp::interface_hierarchy!(IWSManEx3, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IWSManEx3 { pub unsafe fn SessionFlagUTF16(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUTF16)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagUseCredSsp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUseCredSsp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerationFlagAssociationInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationFlagAssociationInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumerationFlagAssociatedInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationFlagAssociatedInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagSkipRevocationCheck(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagSkipRevocationCheck)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagAllowNegotiateImplicitCredentials(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagAllowNegotiateImplicitCredentials)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SessionFlagUseSsl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SessionFlagUseSsl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -708,7 +708,7 @@ windows_core::imp::define_interface!(IWSManInternal, IWSManInternal_Vtbl, 0x04ae impl std::ops::Deref for IWSManInternal { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -721,7 +721,7 @@ impl IWSManInternal { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConfigSDDL)(windows_core::Interface::as_raw(self), session.param().abi(), resourceuri.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -730,7 +730,7 @@ impl IWSManInternal { pub struct IWSManInternal_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub ConfigSDDL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConfigSDDL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ConfigSDDL: usize, } @@ -740,7 +740,7 @@ windows_core::imp::define_interface!(IWSManResourceLocator, IWSManResourceLocato impl std::ops::Deref for IWSManResourceLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -754,7 +754,7 @@ impl IWSManResourceLocator { (windows_core::Interface::vtable(self).SetResourceURI)(windows_core::Interface::as_raw(self), uri.param().abi()).ok() } pub unsafe fn ResourceURI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResourceURI)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddSelector(&self, resourceselname: P0, selvalue: P1) -> windows_core::Result<()> @@ -768,7 +768,7 @@ impl IWSManResourceLocator { (windows_core::Interface::vtable(self).ClearSelectors)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn FragmentPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FragmentPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFragmentPath(&self, text: P0) -> windows_core::Result<()> @@ -778,7 +778,7 @@ impl IWSManResourceLocator { (windows_core::Interface::vtable(self).SetFragmentPath)(windows_core::Interface::as_raw(self), text.param().abi()).ok() } pub unsafe fn FragmentDialect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FragmentDialect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFragmentDialect(&self, text: P0) -> windows_core::Result<()> @@ -802,14 +802,14 @@ impl IWSManResourceLocator { (windows_core::Interface::vtable(self).SetMustUnderstandOptions)(windows_core::Interface::as_raw(self), mustunderstand.param().abi()).ok() } pub unsafe fn MustUnderstandOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MustUnderstandOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ClearOptions(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).ClearOptions)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -817,25 +817,25 @@ impl IWSManResourceLocator { #[repr(C)] pub struct IWSManResourceLocator_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub SetResourceURI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ResourceURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddSelector: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetResourceURI: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ResourceURI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddSelector: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ClearSelectors: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub FragmentPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFragmentPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FragmentDialect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFragmentDialect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddOption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub FragmentPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFragmentPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FragmentDialect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFragmentDialect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddOption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetMustUnderstandOptions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MustUnderstandOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ClearOptions: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSManResourceLocatorInternal, IWSManResourceLocatorInternal_Vtbl, 0xeffaead7_7ec8_4716_b9be_f2e7e9fb4adb); impl std::ops::Deref for IWSManResourceLocatorInternal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWSManResourceLocatorInternal, windows_core::IUnknown); @@ -850,7 +850,7 @@ windows_core::imp::define_interface!(IWSManSession, IWSManSession_Vtbl, 0xfc84fc impl std::ops::Deref for IWSManSession { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -861,7 +861,7 @@ impl IWSManSession { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), resourceuri.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Put(&self, resourceuri: P0, resource: P1, flags: i32) -> windows_core::Result @@ -869,7 +869,7 @@ impl IWSManSession { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Put)(windows_core::Interface::as_raw(self), resourceuri.param().abi(), resource.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Create(&self, resourceuri: P0, resource: P1, flags: i32) -> windows_core::Result @@ -877,7 +877,7 @@ impl IWSManSession { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), resourceuri.param().abi(), resource.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, resourceuri: P0, flags: i32) -> windows_core::Result<()> @@ -892,7 +892,7 @@ impl IWSManSession { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Invoke)(windows_core::Interface::as_raw(self), actionuri.param().abi(), resourceuri.param().abi(), parameters.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -902,26 +902,26 @@ impl IWSManSession { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enumerate)(windows_core::Interface::as_raw(self), resourceuri.param().abi(), filter.param().abi(), dialect.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Identify(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Identify)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Error(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Error)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BatchItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BatchItems)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Timeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTimeout(&self, value: i32) -> windows_core::Result<()> { @@ -932,17 +932,17 @@ impl IWSManSession { #[repr(C)] pub struct IWSManSession_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Enumerate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Enumerate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Enumerate: usize, - pub Identify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Identify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub BatchItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBatchItems: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Timeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs index 1b9a01452c..7a57c16013 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs @@ -4273,7 +4273,7 @@ pub struct MIDL_STUB_MESSAGE { pub pvDestContext: *mut core::ffi::c_void, pub SavedContextHandles: *mut *mut NDR_SCONTEXT, pub ParamNumber: i32, - pub pRpcChannelBuffer: std::mem::ManuallyDrop>, + pub pRpcChannelBuffer: core::mem::ManuallyDrop>, pub pArrayInfo: *mut ARRAY_INFO, pub SizePtrCountArray: *mut u32, pub SizePtrOffsetArray: *mut u32, @@ -5497,7 +5497,7 @@ impl Default for NDR_USER_MARSHAL_INFO { #[repr(C)] #[cfg(feature = "Win32_System_Com")] pub union NDR_USER_MARSHAL_INFO_0 { - pub Level1: std::mem::ManuallyDrop, + pub Level1: core::mem::ManuallyDrop, } #[cfg(feature = "Win32_System_Com")] impl Clone for NDR_USER_MARSHAL_INFO_0 { @@ -5523,7 +5523,7 @@ pub struct NDR_USER_MARSHAL_INFO_LEVEL1 { pub BufferSize: u32, pub pfnAllocate: isize, pub pfnFree: isize, - pub pRpcChannelBuffer: std::mem::ManuallyDrop>, + pub pRpcChannelBuffer: core::mem::ManuallyDrop>, pub Reserved: [usize; 5], } #[cfg(feature = "Win32_System_Com")] diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs index 7c926c5a5f..01353229d8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs @@ -750,7 +750,7 @@ impl ICondition_Vtbl { let this = (*this).get_impl(); ICondition_Impl::GetSubConditions(this, core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppv)).into() } - unsafe extern "system" fn GetComparisonInfo, Impl: ICondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppszpropertyname: *mut windows_core::PWSTR, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetComparisonInfo, Impl: ICondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppszpropertyname: *mut windows_core::PWSTR, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICondition_Impl::GetComparisonInfo(this, core::mem::transmute_copy(&ppszpropertyname), core::mem::transmute_copy(&pcop), core::mem::transmute_copy(&ppropvar)).into() @@ -829,7 +829,7 @@ impl ICondition2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetLeafConditionInfo, Impl: ICondition2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLeafConditionInfo, Impl: ICondition2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pcop: *mut Common::CONDITION_OPERATION, ppropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICondition2_Impl::GetLeafConditionInfo(this, core::mem::transmute_copy(&ppropkey), core::mem::transmute_copy(&pcop), core::mem::transmute_copy(&ppropvar)).into() @@ -878,7 +878,7 @@ impl IConditionFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MakeLeaf, Impl: IConditionFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszpropertyname: windows_core::PCWSTR, cop: Common::CONDITION_OPERATION, pszvaluetype: windows_core::PCWSTR, ppropvar: *const std::mem::MaybeUninit, ppropertynameterm: *mut core::ffi::c_void, poperationterm: *mut core::ffi::c_void, pvalueterm: *mut core::ffi::c_void, fexpand: super::super::Foundation::BOOL, ppcresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn MakeLeaf, Impl: IConditionFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszpropertyname: windows_core::PCWSTR, cop: Common::CONDITION_OPERATION, pszvaluetype: windows_core::PCWSTR, ppropvar: *const core::mem::MaybeUninit, ppropertynameterm: *mut core::ffi::c_void, poperationterm: *mut core::ffi::c_void, pvalueterm: *mut core::ffi::c_void, fexpand: super::super::Foundation::BOOL, ppcresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IConditionFactory_Impl::MakeLeaf(this, core::mem::transmute(&pszpropertyname), core::mem::transmute_copy(&cop), core::mem::transmute(&pszvaluetype), core::mem::transmute_copy(&ppropvar), windows_core::from_raw_borrowed(&ppropertynameterm), windows_core::from_raw_borrowed(&poperationterm), windows_core::from_raw_borrowed(&pvalueterm), core::mem::transmute_copy(&fexpand)) { @@ -964,7 +964,7 @@ impl IConditionFactory2_Vtbl { let this = (*this).get_impl(); IConditionFactory2_Impl::CreateBooleanLeaf(this, core::mem::transmute_copy(&propkey), core::mem::transmute_copy(&cop), core::mem::transmute_copy(&fvalue), core::mem::transmute_copy(&cco), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppv)).into() } - unsafe extern "system" fn CreateLeaf, Impl: IConditionFactory2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, cop: Common::CONDITION_OPERATION, propvar: *const std::mem::MaybeUninit, pszsemantictype: windows_core::PCWSTR, pszlocalename: windows_core::PCWSTR, ppropertynameterm: *mut core::ffi::c_void, poperationterm: *mut core::ffi::c_void, pvalueterm: *mut core::ffi::c_void, cco: CONDITION_CREATION_OPTIONS, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateLeaf, Impl: IConditionFactory2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, cop: Common::CONDITION_OPERATION, propvar: *const core::mem::MaybeUninit, pszsemantictype: windows_core::PCWSTR, pszlocalename: windows_core::PCWSTR, ppropertynameterm: *mut core::ffi::c_void, poperationterm: *mut core::ffi::c_void, pvalueterm: *mut core::ffi::c_void, cco: CONDITION_CREATION_OPTIONS, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IConditionFactory2_Impl::CreateLeaf(this, core::mem::transmute_copy(&propkey), core::mem::transmute_copy(&cop), core::mem::transmute_copy(&propvar), core::mem::transmute(&pszsemantictype), core::mem::transmute(&pszlocalename), windows_core::from_raw_borrowed(&ppropertynameterm), windows_core::from_raw_borrowed(&poperationterm), windows_core::from_raw_borrowed(&pvalueterm), core::mem::transmute_copy(&cco), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppv)).into() @@ -1024,7 +1024,7 @@ impl IConditionGenerator_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DefaultPhrase, Impl: IConditionGenerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszvaluetype: windows_core::PCWSTR, ppropvar: *const std::mem::MaybeUninit, fuseenglish: super::super::Foundation::BOOL, ppszphrase: *mut windows_core::PWSTR) -> windows_core::HRESULT { + unsafe extern "system" fn DefaultPhrase, Impl: IConditionGenerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszvaluetype: windows_core::PCWSTR, ppropvar: *const core::mem::MaybeUninit, fuseenglish: super::super::Foundation::BOOL, ppszphrase: *mut windows_core::PWSTR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IConditionGenerator_Impl::DefaultPhrase(this, core::mem::transmute(&pszvaluetype), core::mem::transmute_copy(&ppropvar), core::mem::transmute_copy(&fuseenglish), core::mem::transmute_copy(&ppszphrase)).into() @@ -1422,7 +1422,7 @@ impl windows_core::RuntimeName for IDBSchemaRowset {} #[cfg(feature = "Win32_Storage_IndexServer")] impl IDBSchemaRowset_Vtbl { pub const fn new, Impl: IDBSchemaRowset_Impl, const OFFSET: isize>() -> IDBSchemaRowset_Vtbl { - unsafe extern "system" fn GetRowset, Impl: IDBSchemaRowset_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punkouter: *mut core::ffi::c_void, rguidschema: *const windows_core::GUID, crestrictions: u32, rgrestrictions: *const std::mem::MaybeUninit, riid: *const windows_core::GUID, cpropertysets: u32, rgpropertysets: *mut DBPROPSET, pprowset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetRowset, Impl: IDBSchemaRowset_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punkouter: *mut core::ffi::c_void, rguidschema: *const windows_core::GUID, crestrictions: u32, rgrestrictions: *const core::mem::MaybeUninit, riid: *const windows_core::GUID, cpropertysets: u32, rgpropertysets: *mut DBPROPSET, pprowset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDBSchemaRowset_Impl::GetRowset(this, windows_core::from_raw_borrowed(&punkouter), core::mem::transmute_copy(&rguidschema), core::mem::transmute_copy(&crestrictions), core::mem::transmute_copy(&rgrestrictions), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&cpropertysets), core::mem::transmute_copy(&rgpropertysets), core::mem::transmute_copy(&pprowset)).into() @@ -1947,12 +1947,12 @@ impl windows_core::RuntimeName for IErrorLookup {} #[cfg(feature = "Win32_System_Com")] impl IErrorLookup_Vtbl { pub const fn new, Impl: IErrorLookup_Impl, const OFFSET: isize>() -> IErrorLookup_Vtbl { - unsafe extern "system" fn GetErrorDescription, Impl: IErrorLookup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrerror: windows_core::HRESULT, dwlookupid: u32, pdispparams: *const super::Com::DISPPARAMS, lcid: u32, pbstrsource: *mut std::mem::MaybeUninit, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetErrorDescription, Impl: IErrorLookup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrerror: windows_core::HRESULT, dwlookupid: u32, pdispparams: *const super::Com::DISPPARAMS, lcid: u32, pbstrsource: *mut core::mem::MaybeUninit, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IErrorLookup_Impl::GetErrorDescription(this, core::mem::transmute_copy(&hrerror), core::mem::transmute_copy(&dwlookupid), core::mem::transmute_copy(&pdispparams), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&pbstrsource), core::mem::transmute_copy(&pbstrdescription)).into() } - unsafe extern "system" fn GetHelpInfo, Impl: IErrorLookup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrerror: windows_core::HRESULT, dwlookupid: u32, lcid: u32, pbstrhelpfile: *mut std::mem::MaybeUninit, pdwhelpcontext: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetHelpInfo, Impl: IErrorLookup_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hrerror: windows_core::HRESULT, dwlookupid: u32, lcid: u32, pbstrhelpfile: *mut core::mem::MaybeUninit, pdwhelpcontext: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IErrorLookup_Impl::GetHelpInfo(this, core::mem::transmute_copy(&hrerror), core::mem::transmute_copy(&dwlookupid), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&pbstrhelpfile), core::mem::transmute_copy(&pdwhelpcontext)).into() @@ -2199,7 +2199,7 @@ pub trait IInterval_Impl: Sized { impl windows_core::RuntimeName for IInterval {} impl IInterval_Vtbl { pub const fn new, Impl: IInterval_Impl, const OFFSET: isize>() -> IInterval_Vtbl { - unsafe extern "system" fn GetLimits, Impl: IInterval_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pilklower: *mut INTERVAL_LIMIT_KIND, ppropvarlower: *mut std::mem::MaybeUninit, pilkupper: *mut INTERVAL_LIMIT_KIND, ppropvarupper: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLimits, Impl: IInterval_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pilklower: *mut INTERVAL_LIMIT_KIND, ppropvarlower: *mut core::mem::MaybeUninit, pilkupper: *mut INTERVAL_LIMIT_KIND, ppropvarupper: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInterval_Impl::GetLimits(this, core::mem::transmute_copy(&pilklower), core::mem::transmute_copy(&ppropvarlower), core::mem::transmute_copy(&pilkupper), core::mem::transmute_copy(&ppropvarupper)).into() @@ -2707,12 +2707,12 @@ impl IQueryParser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOption, Impl: IQueryParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: STRUCTURED_QUERY_SINGLE_OPTION, poptionvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOption, Impl: IQueryParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: STRUCTURED_QUERY_SINGLE_OPTION, poptionvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IQueryParser_Impl::SetOption(this, core::mem::transmute_copy(&option), core::mem::transmute_copy(&poptionvalue)).into() } - unsafe extern "system" fn GetOption, Impl: IQueryParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: STRUCTURED_QUERY_SINGLE_OPTION, poptionvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetOption, Impl: IQueryParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: STRUCTURED_QUERY_SINGLE_OPTION, poptionvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IQueryParser_Impl::GetOption(this, core::mem::transmute_copy(&option)) { @@ -2723,7 +2723,7 @@ impl IQueryParser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetMultiOption, Impl: IQueryParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: STRUCTURED_QUERY_MULTIOPTION, pszoptionkey: windows_core::PCWSTR, poptionvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMultiOption, Impl: IQueryParser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: STRUCTURED_QUERY_MULTIOPTION, pszoptionkey: windows_core::PCWSTR, poptionvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IQueryParser_Impl::SetMultiOption(this, core::mem::transmute_copy(&option), core::mem::transmute(&pszoptionkey), core::mem::transmute_copy(&poptionvalue)).into() @@ -2800,7 +2800,7 @@ impl IQueryParserManager_Vtbl { let this = (*this).get_impl(); IQueryParserManager_Impl::InitializeOptions(this, core::mem::transmute_copy(&funderstandnqs), core::mem::transmute_copy(&fautowildcard), windows_core::from_raw_borrowed(&pqueryparser)).into() } - unsafe extern "system" fn SetOption, Impl: IQueryParserManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: QUERY_PARSER_MANAGER_OPTION, poptionvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOption, Impl: IQueryParserManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, option: QUERY_PARSER_MANAGER_OPTION, poptionvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IQueryParserManager_Impl::SetOption(this, core::mem::transmute_copy(&option), core::mem::transmute_copy(&poptionvalue)).into() @@ -2986,7 +2986,7 @@ pub trait IRichChunk_Impl: Sized { impl windows_core::RuntimeName for IRichChunk {} impl IRichChunk_Vtbl { pub const fn new, Impl: IRichChunk_Impl, const OFFSET: isize>() -> IRichChunk_Vtbl { - unsafe extern "system" fn GetData, Impl: IRichChunk_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfirstpos: *mut u32, plength: *mut u32, ppsz: *mut windows_core::PWSTR, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetData, Impl: IRichChunk_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfirstpos: *mut u32, plength: *mut u32, ppsz: *mut windows_core::PWSTR, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRichChunk_Impl::GetData(this, core::mem::transmute_copy(&pfirstpos), core::mem::transmute_copy(&plength), core::mem::transmute_copy(&ppsz), core::mem::transmute_copy(&pvalue)).into() @@ -3429,22 +3429,22 @@ pub trait IRowsetEvents_Impl: Sized { impl windows_core::RuntimeName for IRowsetEvents {} impl IRowsetEvents_Vtbl { pub const fn new, Impl: IRowsetEvents_Impl, const OFFSET: isize>() -> IRowsetEvents_Vtbl { - unsafe extern "system" fn OnNewItem, Impl: IRowsetEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemid: *const std::mem::MaybeUninit, newitemstate: ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT { + unsafe extern "system" fn OnNewItem, Impl: IRowsetEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemid: *const core::mem::MaybeUninit, newitemstate: ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRowsetEvents_Impl::OnNewItem(this, core::mem::transmute_copy(&itemid), core::mem::transmute_copy(&newitemstate)).into() } - unsafe extern "system" fn OnChangedItem, Impl: IRowsetEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemid: *const std::mem::MaybeUninit, rowsetitemstate: ROWSETEVENT_ITEMSTATE, changeditemstate: ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT { + unsafe extern "system" fn OnChangedItem, Impl: IRowsetEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemid: *const core::mem::MaybeUninit, rowsetitemstate: ROWSETEVENT_ITEMSTATE, changeditemstate: ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRowsetEvents_Impl::OnChangedItem(this, core::mem::transmute_copy(&itemid), core::mem::transmute_copy(&rowsetitemstate), core::mem::transmute_copy(&changeditemstate)).into() } - unsafe extern "system" fn OnDeletedItem, Impl: IRowsetEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemid: *const std::mem::MaybeUninit, deleteditemstate: ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT { + unsafe extern "system" fn OnDeletedItem, Impl: IRowsetEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, itemid: *const core::mem::MaybeUninit, deleteditemstate: ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRowsetEvents_Impl::OnDeletedItem(this, core::mem::transmute_copy(&itemid), core::mem::transmute_copy(&deleteditemstate)).into() } - unsafe extern "system" fn OnRowsetEvent, Impl: IRowsetEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventtype: ROWSETEVENT_TYPE, eventdata: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnRowsetEvent, Impl: IRowsetEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, eventtype: ROWSETEVENT_TYPE, eventdata: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRowsetEvents_Impl::OnRowsetEvent(this, core::mem::transmute_copy(&eventtype), core::mem::transmute_copy(&eventdata)).into() @@ -4140,7 +4140,7 @@ pub trait ISQLErrorInfo_Impl: Sized { impl windows_core::RuntimeName for ISQLErrorInfo {} impl ISQLErrorInfo_Vtbl { pub const fn new, Impl: ISQLErrorInfo_Impl, const OFFSET: isize>() -> ISQLErrorInfo_Vtbl { - unsafe extern "system" fn GetSQLInfo, Impl: ISQLErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsqlstate: *mut std::mem::MaybeUninit, plnativeerror: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetSQLInfo, Impl: ISQLErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsqlstate: *mut core::mem::MaybeUninit, plnativeerror: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISQLErrorInfo_Impl::GetSQLInfo(this, core::mem::transmute_copy(&pbstrsqlstate), core::mem::transmute_copy(&plnativeerror)).into() @@ -4432,7 +4432,7 @@ impl ISearchCatalogManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetParameter, Impl: ISearchCatalogManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetParameter, Impl: ISearchCatalogManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISearchCatalogManager_Impl::SetParameter(this, core::mem::transmute(&pszname), core::mem::transmute_copy(&pvalue)).into() @@ -4992,7 +4992,7 @@ impl ISearchManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetParameter, Impl: ISearchManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetParameter, Impl: ISearchManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISearchManager_Impl::SetParameter(this, core::mem::transmute(&pszname), core::mem::transmute_copy(&pvalue)).into() @@ -6107,12 +6107,12 @@ impl ISubscriptionItem_Vtbl { let this = (*this).get_impl(); ISubscriptionItem_Impl::SetSubscriptionItemInfo(this, core::mem::transmute_copy(&psubscriptioniteminfo)).into() } - unsafe extern "system" fn ReadProperties, Impl: ISubscriptionItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ncount: u32, rgwszname: *const windows_core::PCWSTR, rgvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadProperties, Impl: ISubscriptionItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ncount: u32, rgwszname: *const windows_core::PCWSTR, rgvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISubscriptionItem_Impl::ReadProperties(this, core::mem::transmute_copy(&ncount), core::mem::transmute_copy(&rgwszname), core::mem::transmute_copy(&rgvalue)).into() } - unsafe extern "system" fn WriteProperties, Impl: ISubscriptionItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ncount: u32, rgwszname: *const windows_core::PCWSTR, rgvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WriteProperties, Impl: ISubscriptionItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ncount: u32, rgwszname: *const windows_core::PCWSTR, rgvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISubscriptionItem_Impl::WriteProperties(this, core::mem::transmute_copy(&ncount), core::mem::transmute_copy(&rgwszname), core::mem::transmute_copy(&rgvalue)).into() @@ -6718,8 +6718,8 @@ impl IUMS_ImplVtbl { impl IUMS { pub fn new<'a, T: IUMS_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IUMS_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IUMSInitialize_Impl: Sized { @@ -6760,7 +6760,7 @@ impl windows_core::RuntimeName for IUrlAccessor {} #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl IUrlAccessor_Vtbl { pub const fn new, Impl: IUrlAccessor_Impl, const OFFSET: isize>() -> IUrlAccessor_Vtbl { - unsafe extern "system" fn AddRequestParameter, Impl: IUrlAccessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pspec: *const super::Com::StructuredStorage::PROPSPEC, pvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddRequestParameter, Impl: IUrlAccessor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pspec: *const super::Com::StructuredStorage::PROPSPEC, pvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUrlAccessor_Impl::AddRequestParameter(this, core::mem::transmute_copy(&pspec), core::mem::transmute_copy(&pvar)).into() @@ -7291,7 +7291,7 @@ impl OLEDBSimpleProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getVariant, Impl: OLEDBSimpleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, irow: isize, icolumn: isize, format: OSPFORMAT, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getVariant, Impl: OLEDBSimpleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, irow: isize, icolumn: isize, format: OSPFORMAT, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::getVariant(this, core::mem::transmute_copy(&irow), core::mem::transmute_copy(&icolumn), core::mem::transmute_copy(&format)) { @@ -7302,12 +7302,12 @@ impl OLEDBSimpleProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setVariant, Impl: OLEDBSimpleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, irow: isize, icolumn: isize, format: OSPFORMAT, var: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setVariant, Impl: OLEDBSimpleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, irow: isize, icolumn: isize, format: OSPFORMAT, var: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); OLEDBSimpleProvider_Impl::setVariant(this, core::mem::transmute_copy(&irow), core::mem::transmute_copy(&icolumn), core::mem::transmute_copy(&format), core::mem::transmute(&var)).into() } - unsafe extern "system" fn getLocale, Impl: OLEDBSimpleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlocale: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getLocale, Impl: OLEDBSimpleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrlocale: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::getLocale(this) { @@ -7340,7 +7340,7 @@ impl OLEDBSimpleProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn find, Impl: OLEDBSimpleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, irowstart: isize, icolumn: isize, val: std::mem::MaybeUninit, findflags: OSPFIND, comptype: OSPCOMP, pirowfound: *mut isize) -> windows_core::HRESULT { + unsafe extern "system" fn find, Impl: OLEDBSimpleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, irowstart: isize, icolumn: isize, val: core::mem::MaybeUninit, findflags: OSPFIND, comptype: OSPCOMP, pirowfound: *mut isize) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match OLEDBSimpleProvider_Impl::find(this, core::mem::transmute_copy(&irowstart), core::mem::transmute_copy(&icolumn), core::mem::transmute(&val), core::mem::transmute_copy(&findflags), core::mem::transmute_copy(&comptype)) { 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 c0b64ca8c5..9dfdf63d82 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -1631,21 +1631,21 @@ windows_core::imp::define_interface!(DataSource, DataSource_Vtbl, 0x7c0ffab3_cd8 impl std::ops::Deref for DataSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(DataSource, windows_core::IUnknown); impl DataSource { pub unsafe fn getDataMember(&self, bstrdm: *const u16, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getDataMember)(windows_core::Interface::as_raw(self), bstrdm, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getDataMemberName(&self, lindex: i32) -> windows_core::Result<*mut u16> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getDataMemberName)(windows_core::Interface::as_raw(self), lindex, &mut result__).map(|| result__) } pub unsafe fn getDataMemberCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getDataMemberCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn addDataSourceListener(&self, pdsl: P0) -> windows_core::Result<()> @@ -1674,7 +1674,7 @@ windows_core::imp::define_interface!(DataSourceListener, DataSourceListener_Vtbl impl std::ops::Deref for DataSourceListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(DataSourceListener, windows_core::IUnknown); @@ -1702,7 +1702,7 @@ windows_core::imp::define_interface!(DataSourceObject, DataSourceObject_Vtbl, 0x impl std::ops::Deref for DataSourceObject { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1718,7 +1718,7 @@ windows_core::imp::define_interface!(IAccessor, IAccessor_Vtbl, 0x0c733a8c_2a1c_ impl std::ops::Deref for IAccessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccessor, windows_core::IUnknown); @@ -1765,7 +1765,7 @@ windows_core::imp::define_interface!(IAlterIndex, IAlterIndex_Vtbl, 0x0c733aa6_2 impl std::ops::Deref for IAlterIndex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAlterIndex, windows_core::IUnknown); @@ -1787,7 +1787,7 @@ windows_core::imp::define_interface!(IAlterTable, IAlterTable_Vtbl, 0x0c733aa5_2 impl std::ops::Deref for IAlterTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAlterTable, windows_core::IUnknown); @@ -1817,7 +1817,7 @@ windows_core::imp::define_interface!(IBindResource, IBindResource_Vtbl, 0x0c733a impl std::ops::Deref for IBindResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBindResource, windows_core::IUnknown); @@ -1844,7 +1844,7 @@ windows_core::imp::define_interface!(IChapteredRowset, IChapteredRowset_Vtbl, 0x impl std::ops::Deref for IChapteredRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IChapteredRowset, windows_core::IUnknown); @@ -1866,7 +1866,7 @@ windows_core::imp::define_interface!(IColumnMapper, IColumnMapper_Vtbl, 0x0b63e3 impl std::ops::Deref for IColumnMapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IColumnMapper, windows_core::IUnknown); @@ -1911,7 +1911,7 @@ windows_core::imp::define_interface!(IColumnMapperCreator, IColumnMapperCreator_ impl std::ops::Deref for IColumnMapperCreator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IColumnMapperCreator, windows_core::IUnknown); @@ -1921,7 +1921,7 @@ impl IColumnMapperCreator { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnMapper)(windows_core::Interface::as_raw(self), wcsmachinename.param().abi(), wcscatalogname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1934,7 +1934,7 @@ windows_core::imp::define_interface!(IColumnsInfo, IColumnsInfo_Vtbl, 0x0c733a11 impl std::ops::Deref for IColumnsInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IColumnsInfo, windows_core::IUnknown); @@ -1964,7 +1964,7 @@ windows_core::imp::define_interface!(IColumnsInfo2, IColumnsInfo2_Vtbl, 0x0c733a impl std::ops::Deref for IColumnsInfo2 { type Target = IColumnsInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IColumnsInfo2, windows_core::IUnknown, IColumnsInfo); @@ -1986,7 +1986,7 @@ windows_core::imp::define_interface!(IColumnsRowset, IColumnsRowset_Vtbl, 0x0c73 impl std::ops::Deref for IColumnsRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IColumnsRowset, windows_core::IUnknown); @@ -2019,7 +2019,7 @@ windows_core::imp::define_interface!(ICommand, ICommand_Vtbl, 0x0c733a63_2a1c_11 impl std::ops::Deref for ICommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommand, windows_core::IUnknown); @@ -2034,7 +2034,7 @@ impl ICommand { (windows_core::Interface::vtable(self).Execute)(windows_core::Interface::as_raw(self), punkouter.param().abi(), riid, core::mem::transmute(pparams.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pcrowsaffected.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pprowset.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetDBSession(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDBSession)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2049,7 +2049,7 @@ windows_core::imp::define_interface!(ICommandCost, ICommandCost_Vtbl, 0x0c733a4e impl std::ops::Deref for ICommandCost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommandCost, windows_core::IUnknown); @@ -2105,7 +2105,7 @@ windows_core::imp::define_interface!(ICommandPersist, ICommandPersist_Vtbl, 0x0c impl std::ops::Deref for ICommandPersist { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommandPersist, windows_core::IUnknown); @@ -2116,7 +2116,7 @@ impl ICommandPersist { } #[cfg(feature = "Win32_Storage_IndexServer")] pub unsafe fn GetCurrentCommand(&self) -> windows_core::Result<*mut super::super::Storage::IndexServer::DBID> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentCommand)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Storage_IndexServer")] @@ -2152,7 +2152,7 @@ windows_core::imp::define_interface!(ICommandPrepare, ICommandPrepare_Vtbl, 0x0c impl std::ops::Deref for ICommandPrepare { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommandPrepare, windows_core::IUnknown); @@ -2174,7 +2174,7 @@ windows_core::imp::define_interface!(ICommandProperties, ICommandProperties_Vtbl impl std::ops::Deref for ICommandProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommandProperties, windows_core::IUnknown); @@ -2204,7 +2204,7 @@ windows_core::imp::define_interface!(ICommandStream, ICommandStream_Vtbl, 0x0c73 impl std::ops::Deref for ICommandStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommandStream, windows_core::IUnknown); @@ -2229,7 +2229,7 @@ windows_core::imp::define_interface!(ICommandText, ICommandText_Vtbl, 0x0c733a27 impl std::ops::Deref for ICommandText { type Target = ICommand; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommandText, windows_core::IUnknown, ICommand); @@ -2254,7 +2254,7 @@ windows_core::imp::define_interface!(ICommandValidate, ICommandValidate_Vtbl, 0x impl std::ops::Deref for ICommandValidate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommandValidate, windows_core::IUnknown); @@ -2276,7 +2276,7 @@ windows_core::imp::define_interface!(ICommandWithParameters, ICommandWithParamet impl std::ops::Deref for ICommandWithParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommandWithParameters, windows_core::IUnknown); @@ -2308,7 +2308,7 @@ windows_core::imp::define_interface!(ICondition, ICondition_Vtbl, 0x0fc988d4_c93 impl std::ops::Deref for ICondition { type Target = super::Com::IPersistStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2317,7 +2317,7 @@ windows_core::imp::interface_hierarchy!(ICondition, windows_core::IUnknown, supe impl ICondition { #[cfg(feature = "Win32_System_Search_Common")] pub unsafe fn GetConditionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConditionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSubConditions(&self) -> windows_core::Result @@ -2332,11 +2332,11 @@ impl ICondition { (windows_core::Interface::vtable(self).GetComparisonInfo)(windows_core::Interface::as_raw(self), core::mem::transmute(ppszpropertyname.unwrap_or(std::ptr::null_mut())), core::mem::transmute(pcop.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppropvar.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetValueType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValueType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValueNormalization(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValueNormalization)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInputTerms(&self, pppropertyterm: Option<*mut Option>, ppoperationterm: Option<*mut Option>, ppvalueterm: Option<*mut Option>) -> windows_core::Result<()> { @@ -2344,7 +2344,7 @@ impl ICondition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2358,7 +2358,7 @@ pub struct ICondition_Vtbl { GetConditionType: usize, pub GetSubConditions: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Search_Common")] - pub GetComparisonInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut Common::CONDITION_OPERATION, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetComparisonInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut Common::CONDITION_OPERATION, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Search_Common"))] GetComparisonInfo: usize, pub GetValueType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, @@ -2375,7 +2375,7 @@ windows_core::imp::define_interface!(ICondition2, ICondition2_Vtbl, 0x0db8851d_2 impl std::ops::Deref for ICondition2 { type Target = ICondition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2383,7 +2383,7 @@ windows_core::imp::interface_hierarchy!(ICondition2, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ICondition2 { pub unsafe fn GetLocale(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLocale)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2397,7 +2397,7 @@ pub struct ICondition2_Vtbl { pub base__: ICondition_Vtbl, pub GetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] - pub GetLeafConditionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut Common::CONDITION_OPERATION, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLeafConditionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut Common::CONDITION_OPERATION, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] GetLeafConditionInfo: usize, } @@ -2405,7 +2405,7 @@ windows_core::imp::define_interface!(IConditionFactory, IConditionFactory_Vtbl, impl std::ops::Deref for IConditionFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConditionFactory, windows_core::IUnknown); @@ -2416,7 +2416,7 @@ impl IConditionFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MakeNot)(windows_core::Interface::as_raw(self), pcsub.param().abi(), fsimplify.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Search_Common"))] @@ -2425,7 +2425,7 @@ impl IConditionFactory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MakeAndOr)(windows_core::Interface::as_raw(self), ct, peusubs.param().abi(), fsimplify.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Search_Common"))] @@ -2438,7 +2438,7 @@ impl IConditionFactory { P4: windows_core::Param, P5: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MakeLeaf)(windows_core::Interface::as_raw(self), pszpropertyname.param().abi(), cop, pszvaluetype.param().abi(), core::mem::transmute(ppropvar), ppropertynameterm.param().abi(), poperationterm.param().abi(), pvalueterm.param().abi(), fexpand.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2446,7 +2446,7 @@ impl IConditionFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Resolve)(windows_core::Interface::as_raw(self), pc.param().abi(), sqro, core::mem::transmute(pstreferencetime.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2462,7 +2462,7 @@ pub struct IConditionFactory_Vtbl { #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Search_Common")))] MakeAndOr: usize, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Search_Common"))] - pub MakeLeaf: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, Common::CONDITION_OPERATION, windows_core::PCWSTR, *const std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub MakeLeaf: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, Common::CONDITION_OPERATION, windows_core::PCWSTR, *const core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Search_Common")))] MakeLeaf: usize, #[cfg(feature = "Win32_System_Com")] @@ -2474,7 +2474,7 @@ windows_core::imp::define_interface!(IConditionFactory2, IConditionFactory2_Vtbl impl std::ops::Deref for IConditionFactory2 { type Target = IConditionFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConditionFactory2, windows_core::IUnknown, IConditionFactory); @@ -2592,7 +2592,7 @@ pub struct IConditionFactory2_Vtbl { #[cfg(not(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] CreateBooleanLeaf: usize, #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] - pub CreateLeaf: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, Common::CONDITION_OPERATION, *const std::mem::MaybeUninit, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, CONDITION_CREATION_OPTIONS, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateLeaf: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, Common::CONDITION_OPERATION, *const core::mem::MaybeUninit, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, CONDITION_CREATION_OPTIONS, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] CreateLeaf: usize, #[cfg(feature = "Win32_System_Com")] @@ -2604,7 +2604,7 @@ windows_core::imp::define_interface!(IConditionGenerator, IConditionGenerator_Vt impl std::ops::Deref for IConditionGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConditionGenerator, windows_core::IUnknown); @@ -2636,7 +2636,7 @@ impl IConditionGenerator { P7: windows_core::Param, P8: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateForLeaf)(windows_core::Interface::as_raw(self), pconditionfactory.param().abi(), pszpropertyname.param().abi(), cop, pszvaluetype.param().abi(), pszvalue.param().abi(), pszvalue2.param().abi(), ppropertynameterm.param().abi(), poperationterm.param().abi(), pvalueterm.param().abi(), automaticwildcard.param().abi(), pnostringquery, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DefaultPhrase(&self, pszvaluetype: P0, ppropvar: *const windows_core::PROPVARIANT, fuseenglish: P1, ppszphrase: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> @@ -2656,13 +2656,13 @@ pub struct IConditionGenerator_Vtbl { pub GenerateForLeaf: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, Common::CONDITION_OPERATION, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Search_Common")))] GenerateForLeaf: usize, - pub DefaultPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit, super::super::Foundation::BOOL, *mut windows_core::PWSTR) -> windows_core::HRESULT, + pub DefaultPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit, super::super::Foundation::BOOL, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConvertType, IConvertType_Vtbl, 0x0c733a88_2a1c_11ce_ade5_00aa0044773d); impl std::ops::Deref for IConvertType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConvertType, windows_core::IUnknown); @@ -2680,7 +2680,7 @@ windows_core::imp::define_interface!(ICreateRow, ICreateRow_Vtbl, 0x0c733ab2_2a1 impl std::ops::Deref for ICreateRow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateRow, windows_core::IUnknown); @@ -2707,7 +2707,7 @@ windows_core::imp::define_interface!(IDBAsynchNotify, IDBAsynchNotify_Vtbl, 0x0c impl std::ops::Deref for IDBAsynchNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBAsynchNotify, windows_core::IUnknown); @@ -2739,7 +2739,7 @@ windows_core::imp::define_interface!(IDBAsynchStatus, IDBAsynchStatus_Vtbl, 0x0c impl std::ops::Deref for IDBAsynchStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBAsynchStatus, windows_core::IUnknown); @@ -2761,7 +2761,7 @@ windows_core::imp::define_interface!(IDBBinderProperties, IDBBinderProperties_Vt impl std::ops::Deref for IDBBinderProperties { type Target = IDBProperties; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBBinderProperties, windows_core::IUnknown, IDBProperties); @@ -2779,7 +2779,7 @@ windows_core::imp::define_interface!(IDBCreateCommand, IDBCreateCommand_Vtbl, 0x impl std::ops::Deref for IDBCreateCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBCreateCommand, windows_core::IUnknown); @@ -2788,7 +2788,7 @@ impl IDBCreateCommand { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCommand)(windows_core::Interface::as_raw(self), punkouter.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2801,7 +2801,7 @@ windows_core::imp::define_interface!(IDBCreateSession, IDBCreateSession_Vtbl, 0x impl std::ops::Deref for IDBCreateSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBCreateSession, windows_core::IUnknown); @@ -2810,7 +2810,7 @@ impl IDBCreateSession { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSession)(windows_core::Interface::as_raw(self), punkouter.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2823,7 +2823,7 @@ windows_core::imp::define_interface!(IDBDataSourceAdmin, IDBDataSourceAdmin_Vtbl impl std::ops::Deref for IDBDataSourceAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBDataSourceAdmin, windows_core::IUnknown); @@ -2868,13 +2868,13 @@ windows_core::imp::define_interface!(IDBInfo, IDBInfo_Vtbl, 0x0c733a89_2a1c_11ce impl std::ops::Deref for IDBInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBInfo, windows_core::IUnknown); impl IDBInfo { pub unsafe fn GetKeywords(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeywords)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLiteralInfo(&self, rgliterals: Option<&[u32]>, pcliteralinfo: *mut u32, prgliteralinfo: *mut *mut DBLITERALINFO, ppcharbuffer: *mut *mut u16) -> windows_core::Result<()> { @@ -2891,7 +2891,7 @@ windows_core::imp::define_interface!(IDBInitialize, IDBInitialize_Vtbl, 0x0c733a impl std::ops::Deref for IDBInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBInitialize, windows_core::IUnknown); @@ -2913,7 +2913,7 @@ windows_core::imp::define_interface!(IDBPromptInitialize, IDBPromptInitialize_Vt impl std::ops::Deref for IDBPromptInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBPromptInitialize, windows_core::IUnknown); @@ -2932,7 +2932,7 @@ impl IDBPromptInitialize { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PromptFileName)(windows_core::Interface::as_raw(self), hwndparent.param().abi(), dwpromptoptions, pwszinitialdirectory.param().abi(), pwszinitialfile.param().abi(), &mut result__).map(|| result__) } } @@ -2946,7 +2946,7 @@ windows_core::imp::define_interface!(IDBProperties, IDBProperties_Vtbl, 0x0c733a impl std::ops::Deref for IDBProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBProperties, windows_core::IUnknown); @@ -2984,7 +2984,7 @@ windows_core::imp::define_interface!(IDBSchemaCommand, IDBSchemaCommand_Vtbl, 0x impl std::ops::Deref for IDBSchemaCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBSchemaCommand, windows_core::IUnknown); @@ -2993,7 +2993,7 @@ impl IDBSchemaCommand { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCommand)(windows_core::Interface::as_raw(self), punkouter.param().abi(), rguidschema, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSchemas(&self, pcschemas: *mut u32, prgschemas: *mut *mut windows_core::GUID) -> windows_core::Result<()> { @@ -3010,7 +3010,7 @@ windows_core::imp::define_interface!(IDBSchemaRowset, IDBSchemaRowset_Vtbl, 0x0c impl std::ops::Deref for IDBSchemaRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDBSchemaRowset, windows_core::IUnknown); @@ -3030,7 +3030,7 @@ impl IDBSchemaRowset { pub struct IDBSchemaRowset_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_Storage_IndexServer")] - pub GetRowset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, u32, *const std::mem::MaybeUninit, *const windows_core::GUID, u32, *mut DBPROPSET, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetRowset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, u32, *const core::mem::MaybeUninit, *const windows_core::GUID, u32, *mut DBPROPSET, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_Storage_IndexServer"))] GetRowset: usize, pub GetSchemas: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID, *mut *mut u32) -> windows_core::HRESULT, @@ -3039,7 +3039,7 @@ windows_core::imp::define_interface!(IDCInfo, IDCInfo_Vtbl, 0x0c733a9c_2a1c_11ce impl std::ops::Deref for IDCInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDCInfo, windows_core::IUnknown); @@ -3061,7 +3061,7 @@ windows_core::imp::define_interface!(IDataConvert, IDataConvert_Vtbl, 0x0c733a8d impl std::ops::Deref for IDataConvert { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataConvert, windows_core::IUnknown); @@ -3087,7 +3087,7 @@ windows_core::imp::define_interface!(IDataInitialize, IDataInitialize_Vtbl, 0x22 impl std::ops::Deref for IDataInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataInitialize, windows_core::IUnknown); @@ -3103,7 +3103,7 @@ impl IDataInitialize { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInitializationString)(windows_core::Interface::as_raw(self), pdatasource.param().abi(), fincludepassword, &mut result__).map(|| result__) } pub unsafe fn CreateDBInstance(&self, clsidprovider: *const windows_core::GUID, punkouter: P0, dwclsctx: u32, pwszreserved: P1, riid: *const windows_core::GUID) -> windows_core::Result @@ -3111,7 +3111,7 @@ impl IDataInitialize { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDBInstance)(windows_core::Interface::as_raw(self), clsidprovider, punkouter.param().abi(), dwclsctx, pwszreserved.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3126,7 +3126,7 @@ impl IDataInitialize { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadStringFromStorage)(windows_core::Interface::as_raw(self), pwszfilename.param().abi(), &mut result__).map(|| result__) } pub unsafe fn WriteStringToStorage(&self, pwszfilename: P0, pwszinitializationstring: P1, dwcreationdisposition: u32) -> windows_core::Result<()> @@ -3156,7 +3156,7 @@ windows_core::imp::define_interface!(IDataSourceLocator, IDataSourceLocator_Vtbl impl std::ops::Deref for IDataSourceLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3164,7 +3164,7 @@ windows_core::imp::interface_hierarchy!(IDataSourceLocator, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl IDataSourceLocator { pub unsafe fn hWnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).hWnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SethWnd(&self, hwndparent: P0) -> windows_core::Result<()> @@ -3175,7 +3175,7 @@ impl IDataSourceLocator { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn PromptNew(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PromptNew)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3202,7 +3202,7 @@ windows_core::imp::define_interface!(IEntity, IEntity_Vtbl, 0x24264891_e80b_4fd3 impl std::ops::Deref for IEntity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEntity, windows_core::IUnknown); @@ -3211,7 +3211,7 @@ impl IEntity { (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), core::mem::transmute(ppszname.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn Base(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Base)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Relationships(&self) -> windows_core::Result @@ -3225,7 +3225,7 @@ impl IEntity { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelationship)(windows_core::Interface::as_raw(self), pszrelationname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MetaData(&self) -> windows_core::Result @@ -3246,7 +3246,7 @@ impl IEntity { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamedEntity)(windows_core::Interface::as_raw(self), pszvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DefaultPhrase(&self, ppszphrase: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -3269,7 +3269,7 @@ windows_core::imp::define_interface!(IEnumItemProperties, IEnumItemProperties_Vt impl std::ops::Deref for IEnumItemProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumItemProperties, windows_core::IUnknown); @@ -3284,11 +3284,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3305,7 +3305,7 @@ windows_core::imp::define_interface!(IEnumSearchRoots, IEnumSearchRoots_Vtbl, 0x impl std::ops::Deref for IEnumSearchRoots { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSearchRoots, windows_core::IUnknown); @@ -3320,7 +3320,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3336,7 +3336,7 @@ windows_core::imp::define_interface!(IEnumSearchScopeRules, IEnumSearchScopeRule impl std::ops::Deref for IEnumSearchScopeRules { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSearchScopeRules, windows_core::IUnknown); @@ -3351,7 +3351,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3367,7 +3367,7 @@ windows_core::imp::define_interface!(IEnumSubscription, IEnumSubscription_Vtbl, impl std::ops::Deref for IEnumSubscription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSubscription, windows_core::IUnknown); @@ -3382,11 +3382,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3403,7 +3403,7 @@ windows_core::imp::define_interface!(IErrorLookup, IErrorLookup_Vtbl, 0x0c733a66 impl std::ops::Deref for IErrorLookup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IErrorLookup, windows_core::IUnknown); @@ -3423,17 +3423,17 @@ impl IErrorLookup { pub struct IErrorLookup_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, *const super::Com::DISPPARAMS, u32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, *const super::Com::DISPPARAMS, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetErrorDescription: usize, - pub GetHelpInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub GetHelpInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub ReleaseErrors: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IErrorRecords, IErrorRecords_Vtbl, 0x0c733a67_2a1c_11ce_ade5_00aa0044773d); impl std::ops::Deref for IErrorRecords { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IErrorRecords, windows_core::IUnknown); @@ -3449,21 +3449,21 @@ impl IErrorRecords { (windows_core::Interface::vtable(self).GetBasicErrorInfo)(windows_core::Interface::as_raw(self), ulrecordnum, perrorinfo).ok() } pub unsafe fn GetCustomErrorObject(&self, ulrecordnum: u32, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCustomErrorObject)(windows_core::Interface::as_raw(self), ulrecordnum, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetErrorInfo(&self, ulrecordnum: u32, lcid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorInfo)(windows_core::Interface::as_raw(self), ulrecordnum, lcid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetErrorParameters(&self, ulrecordnum: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorParameters)(windows_core::Interface::as_raw(self), ulrecordnum, &mut result__).map(|| result__) } pub unsafe fn GetRecordCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRecordCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3490,13 +3490,13 @@ windows_core::imp::define_interface!(IGetDataSource, IGetDataSource_Vtbl, 0x0c73 impl std::ops::Deref for IGetDataSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetDataSource, windows_core::IUnknown); impl IGetDataSource { pub unsafe fn GetDataSource(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataSource)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3509,7 +3509,7 @@ windows_core::imp::define_interface!(IGetRow, IGetRow_Vtbl, 0x0c733aaf_2a1c_11ce impl std::ops::Deref for IGetRow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetRow, windows_core::IUnknown); @@ -3518,11 +3518,11 @@ impl IGetRow { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRowFromHROW)(windows_core::Interface::as_raw(self), punkouter.param().abi(), hrow, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetURLFromHROW(&self, hrow: usize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURLFromHROW)(windows_core::Interface::as_raw(self), hrow, &mut result__).map(|| result__) } } @@ -3536,13 +3536,13 @@ windows_core::imp::define_interface!(IGetSession, IGetSession_Vtbl, 0x0c733aba_2 impl std::ops::Deref for IGetSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetSession, windows_core::IUnknown); impl IGetSession { pub unsafe fn GetSession(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSession)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3555,13 +3555,13 @@ windows_core::imp::define_interface!(IGetSourceRow, IGetSourceRow_Vtbl, 0x0c733a impl std::ops::Deref for IGetSourceRow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetSourceRow, windows_core::IUnknown); impl IGetSourceRow { pub unsafe fn GetSourceRow(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceRow)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3574,7 +3574,7 @@ windows_core::imp::define_interface!(IIndexDefinition, IIndexDefinition_Vtbl, 0x impl std::ops::Deref for IIndexDefinition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIndexDefinition, windows_core::IUnknown); @@ -3604,7 +3604,7 @@ windows_core::imp::define_interface!(IInterval, IInterval_Vtbl, 0x6bf0a714_3c18_ impl std::ops::Deref for IInterval { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInterval, windows_core::IUnknown); @@ -3616,13 +3616,13 @@ impl IInterval { #[repr(C)] pub struct IInterval_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetLimits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut INTERVAL_LIMIT_KIND, *mut std::mem::MaybeUninit, *mut INTERVAL_LIMIT_KIND, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLimits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut INTERVAL_LIMIT_KIND, *mut core::mem::MaybeUninit, *mut INTERVAL_LIMIT_KIND, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoadFilter, ILoadFilter_Vtbl, 0xc7310722_ac80_11d1_8df3_00c04fb6ef4f); impl std::ops::Deref for ILoadFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILoadFilter, windows_core::IUnknown); @@ -3676,7 +3676,7 @@ windows_core::imp::define_interface!(ILoadFilterWithPrivateComActivation, ILoadF impl std::ops::Deref for ILoadFilterWithPrivateComActivation { type Target = ILoadFilter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILoadFilterWithPrivateComActivation, windows_core::IUnknown, ILoadFilter); @@ -3701,7 +3701,7 @@ windows_core::imp::define_interface!(IMDDataset, IMDDataset_Vtbl, 0xa07cccd1_814 impl std::ops::Deref for IMDDataset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDDataset, windows_core::IUnknown); @@ -3726,7 +3726,7 @@ impl IMDDataset { (windows_core::Interface::vtable(self).GetCellData)(windows_core::Interface::as_raw(self), haccessor.param().abi(), ulstartcell, ulendcell, pdata).ok() } pub unsafe fn GetSpecification(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpecification)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3746,17 +3746,17 @@ windows_core::imp::define_interface!(IMDFind, IMDFind_Vtbl, 0xa07cccd2_8148_11d0 impl std::ops::Deref for IMDFind { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDFind, windows_core::IUnknown); impl IMDFind { pub unsafe fn FindCell(&self, ulstartingordinal: usize, rgpwszmember: &[windows_core::PCWSTR]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindCell)(windows_core::Interface::as_raw(self), ulstartingordinal, rgpwszmember.len().try_into().unwrap(), core::mem::transmute(rgpwszmember.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn FindTuple(&self, ulaxisidentifier: u32, ulstartingordinal: usize, rgpwszmember: &[windows_core::PCWSTR]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindTuple)(windows_core::Interface::as_raw(self), ulaxisidentifier, ulstartingordinal, rgpwszmember.len().try_into().unwrap(), core::mem::transmute(rgpwszmember.as_ptr()), &mut result__).map(|| result__) } } @@ -3770,7 +3770,7 @@ windows_core::imp::define_interface!(IMDRangeRowset, IMDRangeRowset_Vtbl, 0x0c73 impl std::ops::Deref for IMDRangeRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMDRangeRowset, windows_core::IUnknown); @@ -3795,7 +3795,7 @@ windows_core::imp::define_interface!(IMetaData, IMetaData_Vtbl, 0x780102b0_c43b_ impl std::ops::Deref for IMetaData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaData, windows_core::IUnknown); @@ -3813,7 +3813,7 @@ windows_core::imp::define_interface!(IMultipleResults, IMultipleResults_Vtbl, 0x impl std::ops::Deref for IMultipleResults { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMultipleResults, windows_core::IUnknown); @@ -3834,13 +3834,13 @@ windows_core::imp::define_interface!(INamedEntity, INamedEntity_Vtbl, 0xabdbd0b1 impl std::ops::Deref for INamedEntity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INamedEntity, windows_core::IUnknown); impl INamedEntity { pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultPhrase(&self, ppszphrase: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -3857,7 +3857,7 @@ windows_core::imp::define_interface!(INamedEntityCollector, INamedEntityCollecto impl std::ops::Deref for INamedEntityCollector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INamedEntityCollector, windows_core::IUnknown); @@ -3879,7 +3879,7 @@ windows_core::imp::define_interface!(IObjectAccessControl, IObjectAccessControl_ impl std::ops::Deref for IObjectAccessControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectAccessControl, windows_core::IUnknown); @@ -3890,12 +3890,12 @@ impl IObjectAccessControl { } #[cfg(all(feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub unsafe fn GetObjectOwner(&self, pobject: *const SEC_OBJECT) -> windows_core::Result<*mut super::super::Security::Authorization::TRUSTEE_W> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectOwner)(windows_core::Interface::as_raw(self), pobject, &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] pub unsafe fn IsObjectAccessAllowed(&self, pobject: *const SEC_OBJECT, paccessentry: *const super::super::Security::Authorization::EXPLICIT_ACCESS_W) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsObjectAccessAllowed)(windows_core::Interface::as_raw(self), pobject, paccessentry, &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] @@ -3935,21 +3935,21 @@ windows_core::imp::define_interface!(IOpLockStatus, IOpLockStatus_Vtbl, 0xc73106 impl std::ops::Deref for IOpLockStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpLockStatus, windows_core::IUnknown); impl IOpLockStatus { pub unsafe fn IsOplockValid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOplockValid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsOplockBroken(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOplockBroken)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOplockEventHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOplockEventHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3964,7 +3964,7 @@ windows_core::imp::define_interface!(IOpenRowset, IOpenRowset_Vtbl, 0x0c733a69_2 impl std::ops::Deref for IOpenRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenRowset, windows_core::IUnknown); @@ -3989,7 +3989,7 @@ windows_core::imp::define_interface!(IParentRowset, IParentRowset_Vtbl, 0x0c733a impl std::ops::Deref for IParentRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IParentRowset, windows_core::IUnknown); @@ -3998,7 +3998,7 @@ impl IParentRowset { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChildRowset)(windows_core::Interface::as_raw(self), punkouter.param().abi(), iordinal, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4011,7 +4011,7 @@ windows_core::imp::define_interface!(IProtocolHandlerSite, IProtocolHandlerSite_ impl std::ops::Deref for IProtocolHandlerSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProtocolHandlerSite, windows_core::IUnknown); @@ -4022,7 +4022,7 @@ impl IProtocolHandlerSite { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilter)(windows_core::Interface::as_raw(self), pclsidobj, pcwszcontenttype.param().abi(), pcwszextension.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4038,14 +4038,14 @@ windows_core::imp::define_interface!(IProvideMoniker, IProvideMoniker_Vtbl, 0x0c impl std::ops::Deref for IProvideMoniker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvideMoniker, windows_core::IUnknown); impl IProvideMoniker { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMoniker(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMoniker)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4061,7 +4061,7 @@ windows_core::imp::define_interface!(IQueryParser, IQueryParser_Vtbl, 0x2ebdee67 impl std::ops::Deref for IQueryParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryParser, windows_core::IUnknown); @@ -4072,14 +4072,14 @@ impl IQueryParser { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parse)(windows_core::Interface::as_raw(self), pszinputstring.param().abi(), pcustomproperties.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOption(&self, option: STRUCTURED_QUERY_SINGLE_OPTION, poptionvalue: *const windows_core::PROPVARIANT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetOption)(windows_core::Interface::as_raw(self), option, core::mem::transmute(poptionvalue)).ok() } pub unsafe fn GetOption(&self, option: STRUCTURED_QUERY_SINGLE_OPTION) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOption)(windows_core::Interface::as_raw(self), option, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetMultiOption(&self, option: STRUCTURED_QUERY_MULTIOPTION, pszoptionkey: P0, poptionvalue: *const windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -4089,7 +4089,7 @@ impl IQueryParser { (windows_core::Interface::vtable(self).SetMultiOption)(windows_core::Interface::as_raw(self), option, pszoptionkey.param().abi(), core::mem::transmute(poptionvalue)).ok() } pub unsafe fn GetSchemaProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSchemaProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4098,7 +4098,7 @@ impl IQueryParser { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RestateToString)(windows_core::Interface::as_raw(self), pcondition.param().abi(), fuseenglish.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ParsePropertyValue(&self, pszpropertyname: P0, pszinputstring: P1) -> windows_core::Result @@ -4106,7 +4106,7 @@ impl IQueryParser { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParsePropertyValue)(windows_core::Interface::as_raw(self), pszpropertyname.param().abi(), pszinputstring.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4125,9 +4125,9 @@ pub struct IQueryParser_Vtbl { pub Parse: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Parse: usize, - pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, STRUCTURED_QUERY_SINGLE_OPTION, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, STRUCTURED_QUERY_SINGLE_OPTION, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMultiOption: unsafe extern "system" fn(*mut core::ffi::c_void, STRUCTURED_QUERY_MULTIOPTION, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, STRUCTURED_QUERY_SINGLE_OPTION, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, STRUCTURED_QUERY_SINGLE_OPTION, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMultiOption: unsafe extern "system" fn(*mut core::ffi::c_void, STRUCTURED_QUERY_MULTIOPTION, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSchemaProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RestateToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut windows_core::PWSTR) -> windows_core::HRESULT, @@ -4143,7 +4143,7 @@ windows_core::imp::define_interface!(IQueryParserManager, IQueryParserManager_Vt impl std::ops::Deref for IQueryParserManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryParserManager, windows_core::IUnknown); @@ -4173,13 +4173,13 @@ pub struct IQueryParserManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateLoadedParser: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u16, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InitializeOptions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, QUERY_PARSER_MANAGER_OPTION, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, QUERY_PARSER_MANAGER_OPTION, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQuerySolution, IQuerySolution_Vtbl, 0xd6ebc66b_8921_4193_afdd_a1789fb7ff57); impl std::ops::Deref for IQuerySolution { type Target = IConditionFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQuerySolution, windows_core::IUnknown, IConditionFactory); @@ -4213,7 +4213,7 @@ windows_core::imp::define_interface!(IReadData, IReadData_Vtbl, 0x0c733a6a_2a1c_ impl std::ops::Deref for IReadData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IReadData, windows_core::IUnknown); @@ -4238,7 +4238,7 @@ windows_core::imp::define_interface!(IRegisterProvider, IRegisterProvider_Vtbl, impl std::ops::Deref for IRegisterProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRegisterProvider, windows_core::IUnknown); @@ -4247,7 +4247,7 @@ impl IRegisterProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURLMapping)(windows_core::Interface::as_raw(self), pwszurl.param().abi(), dwreserved, &mut result__).map(|| result__) } pub unsafe fn SetURLMapping(&self, pwszurl: P0, dwreserved: usize, rclsidprovider: *const windows_core::GUID) -> windows_core::Result<()> @@ -4274,7 +4274,7 @@ windows_core::imp::define_interface!(IRelationship, IRelationship_Vtbl, 0x276928 impl std::ops::Deref for IRelationship { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRelationship, windows_core::IUnknown); @@ -4283,11 +4283,11 @@ impl IRelationship { (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), core::mem::transmute(ppszname.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn IsReal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsReal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Destination(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Destination)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MetaData(&self) -> windows_core::Result @@ -4314,7 +4314,7 @@ windows_core::imp::define_interface!(IRichChunk, IRichChunk_Vtbl, 0x4fdef69c_dbc impl std::ops::Deref for IRichChunk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRichChunk, windows_core::IUnknown); @@ -4326,13 +4326,13 @@ impl IRichChunk { #[repr(C)] pub struct IRichChunk_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut windows_core::PWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut windows_core::PWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRow, IRow_Vtbl, 0x0c733ab4_2a1c_11ce_ade5_00aa0044773d); impl std::ops::Deref for IRow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRow, windows_core::IUnknown); @@ -4369,7 +4369,7 @@ windows_core::imp::define_interface!(IRowChange, IRowChange_Vtbl, 0x0c733ab5_2a1 impl std::ops::Deref for IRowChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowChange, windows_core::IUnknown); @@ -4391,7 +4391,7 @@ windows_core::imp::define_interface!(IRowPosition, IRowPosition_Vtbl, 0x0c733a94 impl std::ops::Deref for IRowPosition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowPosition, windows_core::IUnknown); @@ -4403,7 +4403,7 @@ impl IRowPosition { (windows_core::Interface::vtable(self).GetRowPosition)(windows_core::Interface::as_raw(self), core::mem::transmute(phchapter.unwrap_or(std::ptr::null_mut())), phrow, core::mem::transmute(pdwpositionflags.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetRowset(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRowset)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Initialize(&self, prowset: P0) -> windows_core::Result<()> @@ -4429,7 +4429,7 @@ windows_core::imp::define_interface!(IRowPositionChange, IRowPositionChange_Vtbl impl std::ops::Deref for IRowPositionChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowPositionChange, windows_core::IUnknown); @@ -4450,7 +4450,7 @@ windows_core::imp::define_interface!(IRowSchemaChange, IRowSchemaChange_Vtbl, 0x impl std::ops::Deref for IRowSchemaChange { type Target = IRowChange; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowSchemaChange, windows_core::IUnknown, IRowChange); @@ -4480,7 +4480,7 @@ windows_core::imp::define_interface!(IRowset, IRowset_Vtbl, 0x0c733a7c_2a1c_11ce impl std::ops::Deref for IRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowset, windows_core::IUnknown); @@ -4517,7 +4517,7 @@ windows_core::imp::define_interface!(IRowsetAsynch, IRowsetAsynch_Vtbl, 0x0c733a impl std::ops::Deref for IRowsetAsynch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetAsynch, windows_core::IUnknown); @@ -4539,7 +4539,7 @@ windows_core::imp::define_interface!(IRowsetBookmark, IRowsetBookmark_Vtbl, 0x0c impl std::ops::Deref for IRowsetBookmark { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetBookmark, windows_core::IUnknown); @@ -4557,7 +4557,7 @@ windows_core::imp::define_interface!(IRowsetChange, IRowsetChange_Vtbl, 0x0c733a impl std::ops::Deref for IRowsetChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetChange, windows_core::IUnknown); @@ -4575,7 +4575,7 @@ impl IRowsetChange { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InsertRow)(windows_core::Interface::as_raw(self), hreserved, haccessor.param().abi(), pdata, &mut result__).map(|| result__) } } @@ -4590,7 +4590,7 @@ windows_core::imp::define_interface!(IRowsetChangeExtInfo, IRowsetChangeExtInfo_ impl std::ops::Deref for IRowsetChangeExtInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetChangeExtInfo, windows_core::IUnknown); @@ -4612,7 +4612,7 @@ windows_core::imp::define_interface!(IRowsetChapterMember, IRowsetChapterMember_ impl std::ops::Deref for IRowsetChapterMember { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetChapterMember, windows_core::IUnknown); @@ -4630,7 +4630,7 @@ windows_core::imp::define_interface!(IRowsetCopyRows, IRowsetCopyRows_Vtbl, 0x0c impl std::ops::Deref for IRowsetCopyRows { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetCopyRows, windows_core::IUnknown); @@ -4642,14 +4642,14 @@ impl IRowsetCopyRows { (windows_core::Interface::vtable(self).CopyByHROWS)(windows_core::Interface::as_raw(self), hsourceid, hreserved, rghrows.len().try_into().unwrap(), core::mem::transmute(rghrows.as_ptr()), bflags).ok() } pub unsafe fn CopyRows(&self, hsourceid: u16, hreserved: usize, crows: isize, bflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyRows)(windows_core::Interface::as_raw(self), hsourceid, hreserved, crows, bflags, &mut result__).map(|| result__) } pub unsafe fn DefineSource(&self, prowsetsource: P0, ccolids: usize, rgsourcecolumns: *const isize, rgtargetcolumns: *const isize) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefineSource)(windows_core::Interface::as_raw(self), prowsetsource.param().abi(), ccolids, rgsourcecolumns, rgtargetcolumns, &mut result__).map(|| result__) } } @@ -4665,14 +4665,14 @@ windows_core::imp::define_interface!(IRowsetCurrentIndex, IRowsetCurrentIndex_Vt impl std::ops::Deref for IRowsetCurrentIndex { type Target = IRowsetIndex; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetCurrentIndex, windows_core::IUnknown, IRowsetIndex); impl IRowsetCurrentIndex { #[cfg(feature = "Win32_Storage_IndexServer")] pub unsafe fn GetIndex(&self) -> windows_core::Result<*mut super::super::Storage::IndexServer::DBID> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Storage_IndexServer")] @@ -4696,7 +4696,7 @@ windows_core::imp::define_interface!(IRowsetEvents, IRowsetEvents_Vtbl, 0x1551ae impl std::ops::Deref for IRowsetEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetEvents, windows_core::IUnknown); @@ -4717,16 +4717,16 @@ impl IRowsetEvents { #[repr(C)] pub struct IRowsetEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnNewItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT, - pub OnChangedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, ROWSETEVENT_ITEMSTATE, ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT, - pub OnDeletedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT, - pub OnRowsetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, ROWSETEVENT_TYPE, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnNewItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT, + pub OnChangedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, ROWSETEVENT_ITEMSTATE, ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT, + pub OnDeletedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, ROWSETEVENT_ITEMSTATE) -> windows_core::HRESULT, + pub OnRowsetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, ROWSETEVENT_TYPE, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetExactScroll, IRowsetExactScroll_Vtbl, 0x0c733a7f_2a1c_11ce_ade5_00aa0044773d); impl std::ops::Deref for IRowsetExactScroll { type Target = IRowsetScroll; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetExactScroll, windows_core::IUnknown, IRowset, IRowsetLocate, IRowsetScroll); @@ -4744,7 +4744,7 @@ windows_core::imp::define_interface!(IRowsetFastLoad, IRowsetFastLoad_Vtbl, 0x5c impl std::ops::Deref for IRowsetFastLoad { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetFastLoad, windows_core::IUnknown); @@ -4772,7 +4772,7 @@ windows_core::imp::define_interface!(IRowsetFind, IRowsetFind_Vtbl, 0x0c733a9d_2 impl std::ops::Deref for IRowsetFind { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetFind, windows_core::IUnknown); @@ -4793,7 +4793,7 @@ windows_core::imp::define_interface!(IRowsetIdentity, IRowsetIdentity_Vtbl, 0x0c impl std::ops::Deref for IRowsetIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetIdentity, windows_core::IUnknown); @@ -4811,7 +4811,7 @@ windows_core::imp::define_interface!(IRowsetIndex, IRowsetIndex_Vtbl, 0x0c733a82 impl std::ops::Deref for IRowsetIndex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetIndex, windows_core::IUnknown); @@ -4847,7 +4847,7 @@ windows_core::imp::define_interface!(IRowsetInfo, IRowsetInfo_Vtbl, 0x0c733a55_2 impl std::ops::Deref for IRowsetInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetInfo, windows_core::IUnknown); @@ -4857,11 +4857,11 @@ impl IRowsetInfo { (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), rgpropertyidsets.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(rgpropertyidsets.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pcpropertysets, prgpropertysets).ok() } pub unsafe fn GetReferencedRowset(&self, iordinal: usize, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReferencedRowset)(windows_core::Interface::as_raw(self), iordinal, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSpecification(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpecification)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4879,7 +4879,7 @@ windows_core::imp::define_interface!(IRowsetKeys, IRowsetKeys_Vtbl, 0x0c733a12_2 impl std::ops::Deref for IRowsetKeys { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetKeys, windows_core::IUnknown); @@ -4897,13 +4897,13 @@ windows_core::imp::define_interface!(IRowsetLocate, IRowsetLocate_Vtbl, 0x0c733a impl std::ops::Deref for IRowsetLocate { type Target = IRowset; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetLocate, windows_core::IUnknown, IRowset); impl IRowsetLocate { pub unsafe fn Compare(&self, hreserved: usize, pbookmark1: &[u8], pbookmark2: &[u8]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Compare)(windows_core::Interface::as_raw(self), hreserved, pbookmark1.len().try_into().unwrap(), core::mem::transmute(pbookmark1.as_ptr()), pbookmark2.len().try_into().unwrap(), core::mem::transmute(pbookmark2.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn GetRowsAt(&self, hreserved1: usize, hreserved2: usize, pbookmark: &[u8], lrowsoffset: isize, pcrowsobtained: *mut usize, prghrows: &mut [*mut usize]) -> windows_core::Result<()> { @@ -4928,7 +4928,7 @@ windows_core::imp::define_interface!(IRowsetNewRowAfter, IRowsetNewRowAfter_Vtbl impl std::ops::Deref for IRowsetNewRowAfter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetNewRowAfter, windows_core::IUnknown); @@ -4937,7 +4937,7 @@ impl IRowsetNewRowAfter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetNewDataAfter)(windows_core::Interface::as_raw(self), hchapter, pbmprevious.len().try_into().unwrap(), core::mem::transmute(pbmprevious.as_ptr()), haccessor.param().abi(), pdata, &mut result__).map(|| result__) } } @@ -4950,7 +4950,7 @@ windows_core::imp::define_interface!(IRowsetNextRowset, IRowsetNextRowset_Vtbl, impl std::ops::Deref for IRowsetNextRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetNextRowset, windows_core::IUnknown); @@ -4959,7 +4959,7 @@ impl IRowsetNextRowset { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextRowset)(windows_core::Interface::as_raw(self), punkouter.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4972,7 +4972,7 @@ windows_core::imp::define_interface!(IRowsetNotify, IRowsetNotify_Vtbl, 0x0c733a impl std::ops::Deref for IRowsetNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetNotify, windows_core::IUnknown); @@ -5010,7 +5010,7 @@ windows_core::imp::define_interface!(IRowsetPrioritization, IRowsetPrioritizatio impl std::ops::Deref for IRowsetPrioritization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetPrioritization, windows_core::IUnknown); @@ -5036,7 +5036,7 @@ windows_core::imp::define_interface!(IRowsetQueryStatus, IRowsetQueryStatus_Vtbl impl std::ops::Deref for IRowsetQueryStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetQueryStatus, windows_core::IUnknown); @@ -5058,7 +5058,7 @@ windows_core::imp::define_interface!(IRowsetRefresh, IRowsetRefresh_Vtbl, 0x0c73 impl std::ops::Deref for IRowsetRefresh { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetRefresh, windows_core::IUnknown); @@ -5086,7 +5086,7 @@ windows_core::imp::define_interface!(IRowsetResynch, IRowsetResynch_Vtbl, 0x0c73 impl std::ops::Deref for IRowsetResynch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetResynch, windows_core::IUnknown); @@ -5111,7 +5111,7 @@ windows_core::imp::define_interface!(IRowsetScroll, IRowsetScroll_Vtbl, 0x0c733a impl std::ops::Deref for IRowsetScroll { type Target = IRowsetLocate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetScroll, windows_core::IUnknown, IRowset, IRowsetLocate); @@ -5133,7 +5133,7 @@ windows_core::imp::define_interface!(IRowsetUpdate, IRowsetUpdate_Vtbl, 0x0c733a impl std::ops::Deref for IRowsetUpdate { type Target = IRowsetChange; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetUpdate, windows_core::IUnknown, IRowsetChange); @@ -5170,7 +5170,7 @@ windows_core::imp::define_interface!(IRowsetView, IRowsetView_Vtbl, 0x0c733a99_2 impl std::ops::Deref for IRowsetView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetView, windows_core::IUnknown); @@ -5179,7 +5179,7 @@ impl IRowsetView { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateView)(windows_core::Interface::as_raw(self), punkouter.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetView(&self, hchapter: usize, riid: *const windows_core::GUID, phchaptersource: *mut usize, ppview: *mut Option) -> windows_core::Result<()> { @@ -5196,7 +5196,7 @@ windows_core::imp::define_interface!(IRowsetWatchAll, IRowsetWatchAll_Vtbl, 0x0c impl std::ops::Deref for IRowsetWatchAll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetWatchAll, windows_core::IUnknown); @@ -5222,7 +5222,7 @@ windows_core::imp::define_interface!(IRowsetWatchNotify, IRowsetWatchNotify_Vtbl impl std::ops::Deref for IRowsetWatchNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetWatchNotify, windows_core::IUnknown); @@ -5243,13 +5243,13 @@ windows_core::imp::define_interface!(IRowsetWatchRegion, IRowsetWatchRegion_Vtbl impl std::ops::Deref for IRowsetWatchRegion { type Target = IRowsetWatchAll; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetWatchRegion, windows_core::IUnknown, IRowsetWatchAll); impl IRowsetWatchRegion { pub unsafe fn CreateWatchRegion(&self, dwwatchmode: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateWatchRegion)(windows_core::Interface::as_raw(self), dwwatchmode, &mut result__).map(|| result__) } pub unsafe fn ChangeWatchMode(&self, hregion: usize, dwwatchmode: u32) -> windows_core::Result<()> { @@ -5282,7 +5282,7 @@ windows_core::imp::define_interface!(IRowsetWithParameters, IRowsetWithParameter impl std::ops::Deref for IRowsetWithParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRowsetWithParameters, windows_core::IUnknown); @@ -5308,7 +5308,7 @@ windows_core::imp::define_interface!(ISQLErrorInfo, ISQLErrorInfo_Vtbl, 0x0c733a impl std::ops::Deref for ISQLErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISQLErrorInfo, windows_core::IUnknown); @@ -5320,13 +5320,13 @@ impl ISQLErrorInfo { #[repr(C)] pub struct ISQLErrorInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetSQLInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetSQLInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISQLGetDiagField, ISQLGetDiagField_Vtbl, 0x228972f1_b5ff_11d0_8a80_00c04fd611cd); impl std::ops::Deref for ISQLGetDiagField { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISQLGetDiagField, windows_core::IUnknown); @@ -5344,7 +5344,7 @@ windows_core::imp::define_interface!(ISQLRequestDiagFields, ISQLRequestDiagField impl std::ops::Deref for ISQLRequestDiagFields { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISQLRequestDiagFields, windows_core::IUnknown); @@ -5366,7 +5366,7 @@ windows_core::imp::define_interface!(ISQLServerErrorInfo, ISQLServerErrorInfo_Vt impl std::ops::Deref for ISQLServerErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISQLServerErrorInfo, windows_core::IUnknown); @@ -5384,7 +5384,7 @@ windows_core::imp::define_interface!(ISchemaLocalizerSupport, ISchemaLocalizerSu impl std::ops::Deref for ISchemaLocalizerSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISchemaLocalizerSupport, windows_core::IUnknown); @@ -5393,7 +5393,7 @@ impl ISchemaLocalizerSupport { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Localize)(windows_core::Interface::as_raw(self), pszglobalstring.param().abi(), &mut result__).map(|| result__) } } @@ -5406,7 +5406,7 @@ windows_core::imp::define_interface!(ISchemaLock, ISchemaLock_Vtbl, 0x4c2389fb_2 impl std::ops::Deref for ISchemaLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISchemaLock, windows_core::IUnknown); @@ -5435,7 +5435,7 @@ windows_core::imp::define_interface!(ISchemaProvider, ISchemaProvider_Vtbl, 0x8c impl std::ops::Deref for ISchemaProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISchemaProvider, windows_core::IUnknown); @@ -5448,14 +5448,14 @@ impl ISchemaProvider { (windows_core::Interface::vtable(self).Entities)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RootEntity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootEntity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEntity(&self, pszentityname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntity)(windows_core::Interface::as_raw(self), pszentityname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MetaData(&self) -> windows_core::Result @@ -5501,7 +5501,7 @@ windows_core::imp::define_interface!(IScopedOperations, IScopedOperations_Vtbl, impl std::ops::Deref for IScopedOperations { type Target = IBindResource; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScopedOperations, windows_core::IUnknown, IBindResource); @@ -5552,20 +5552,20 @@ windows_core::imp::define_interface!(ISearchCatalogManager, ISearchCatalogManage impl std::ops::Deref for ISearchCatalogManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchCatalogManager, windows_core::IUnknown); impl ISearchCatalogManager { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetParameter(&self, pszname: P0) -> windows_core::Result<*mut windows_core::PROPVARIANT> where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParameter)(windows_core::Interface::as_raw(self), pszname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetParameter(&self, pszname: P0, pvalue: *const windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -5599,36 +5599,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfItems)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), plincrementalcount, plnotificationqueue, plhighpriorityqueue).ok() } pub unsafe fn URLBeingIndexed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).URLBeingIndexed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetURLIndexingState(&self, pszurl: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURLIndexingState)(windows_core::Interface::as_raw(self), pszurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetPersistentItemsChangedSink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPersistentItemsChangedSink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterViewForNotification(&self, pszview: P0, pviewchangedsink: P1) -> windows_core::Result @@ -5636,7 +5636,7 @@ impl ISearchCatalogManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterViewForNotification)(windows_core::Interface::as_raw(self), pszview.param().abi(), pviewchangedsink.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetItemsChangedSink(&self, pisearchnotifyinlinesite: P0, pguidcatalogresetsignature: *mut windows_core::GUID, pguidcheckpointsignature: *mut windows_core::GUID, pdwlastcheckpointnumber: *mut u32) -> windows_core::Result @@ -5659,11 +5659,11 @@ impl ISearchCatalogManager { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumerateExcludedExtensions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateExcludedExtensions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetQueryHelper(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQueryHelper)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDiacriticSensitivity(&self, fdiacriticsensitive: P0) -> windows_core::Result<()> @@ -5673,11 +5673,11 @@ impl ISearchCatalogManager { (windows_core::Interface::vtable(self).SetDiacriticSensitivity)(windows_core::Interface::as_raw(self), fdiacriticsensitive.param().abi()).ok() } pub unsafe fn DiacriticSensitivity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DiacriticSensitivity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCrawlScopeManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCrawlScopeManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5686,7 +5686,7 @@ pub struct ISearchCatalogManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut windows_core::PROPVARIANT) -> windows_core::HRESULT, - pub SetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCatalogStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CatalogStatus, *mut CatalogPausedReason) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reindex: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -5718,7 +5718,7 @@ windows_core::imp::define_interface!(ISearchCatalogManager2, ISearchCatalogManag impl std::ops::Deref for ISearchCatalogManager2 { type Target = ISearchCatalogManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchCatalogManager2, windows_core::IUnknown, ISearchCatalogManager); @@ -5739,7 +5739,7 @@ windows_core::imp::define_interface!(ISearchCrawlScopeManager, ISearchCrawlScope impl std::ops::Deref for ISearchCrawlScopeManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchCrawlScopeManager, windows_core::IUnknown); @@ -5764,7 +5764,7 @@ impl ISearchCrawlScopeManager { (windows_core::Interface::vtable(self).RemoveRoot)(windows_core::Interface::as_raw(self), pszurl.param().abi()).ok() } pub unsafe fn EnumerateRoots(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateRoots)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddHierarchicalScope(&self, pszurl: P0, finclude: P1, fdefault: P2, foverridechildren: P3) -> windows_core::Result<()> @@ -5791,28 +5791,28 @@ impl ISearchCrawlScopeManager { (windows_core::Interface::vtable(self).RemoveScopeRule)(windows_core::Interface::as_raw(self), pszrule.param().abi()).ok() } pub unsafe fn EnumerateScopeRules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateScopeRules)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HasParentScopeRule(&self, pszurl: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasParentScopeRule)(windows_core::Interface::as_raw(self), pszurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn HasChildScopeRule(&self, pszurl: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasChildScopeRule)(windows_core::Interface::as_raw(self), pszurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IncludedInCrawlScope(&self, pszurl: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncludedInCrawlScope)(windows_core::Interface::as_raw(self), pszurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IncludedInCrawlScopeEx(&self, pszurl: P0, pfisincluded: *mut super::super::Foundation::BOOL, preason: *mut CLUSION_REASON) -> windows_core::Result<()> @@ -5831,7 +5831,7 @@ impl ISearchCrawlScopeManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentScopeVersionId)(windows_core::Interface::as_raw(self), pszurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RemoveDefaultScopeRule(&self, pszurl: P0) -> windows_core::Result<()> @@ -5865,7 +5865,7 @@ windows_core::imp::define_interface!(ISearchCrawlScopeManager2, ISearchCrawlScop impl std::ops::Deref for ISearchCrawlScopeManager2 { type Target = ISearchCrawlScopeManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchCrawlScopeManager2, windows_core::IUnknown, ISearchCrawlScopeManager); @@ -5883,7 +5883,7 @@ windows_core::imp::define_interface!(ISearchItemsChangedSink, ISearchItemsChange impl std::ops::Deref for ISearchItemsChangedSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchItemsChangedSink, windows_core::IUnknown); @@ -5919,7 +5919,7 @@ windows_core::imp::define_interface!(ISearchLanguageSupport, ISearchLanguageSupp impl std::ops::Deref for ISearchLanguageSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchLanguageSupport, windows_core::IUnknown); @@ -5931,7 +5931,7 @@ impl ISearchLanguageSupport { (windows_core::Interface::vtable(self).SetDiacriticSensitivity)(windows_core::Interface::as_raw(self), fdiacriticsensitive.param().abi()).ok() } pub unsafe fn GetDiacriticSensitivity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDiacriticSensitivity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LoadWordBreaker(&self, lcid: u32, plcidused: *mut u32) -> windows_core::Result @@ -5949,7 +5949,7 @@ impl ISearchLanguageSupport { (windows_core::Interface::vtable(self).LoadStemmer)(windows_core::Interface::as_raw(self), lcid, &T::IID, &mut result__, plcidused).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsPrefixNormalized(&self, pwcsquerytoken: &[u16], pwcsdocumenttoken: &[u16]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPrefixNormalized)(windows_core::Interface::as_raw(self), core::mem::transmute(pwcsquerytoken.as_ptr()), pwcsquerytoken.len().try_into().unwrap(), core::mem::transmute(pwcsdocumenttoken.as_ptr()), pwcsdocumenttoken.len().try_into().unwrap(), &mut result__).map(|| result__) } } @@ -5966,13 +5966,13 @@ windows_core::imp::define_interface!(ISearchManager, ISearchManager_Vtbl, 0xab31 impl std::ops::Deref for ISearchManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchManager, windows_core::IUnknown); impl ISearchManager { pub unsafe fn GetIndexerVersionStr(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndexerVersionStr)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIndexerVersion(&self, pdwmajor: *mut u32, pdwminor: *mut u32) -> windows_core::Result<()> { @@ -5982,7 +5982,7 @@ impl ISearchManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParameter)(windows_core::Interface::as_raw(self), pszname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetParameter(&self, pszname: P0, pvalue: *const windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -5992,11 +5992,11 @@ impl ISearchManager { (windows_core::Interface::vtable(self).SetParameter)(windows_core::Interface::as_raw(self), pszname.param().abi(), core::mem::transmute(pvalue)).ok() } pub unsafe fn ProxyName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BypassList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BypassList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProxy(&self, suseproxy: PROXY_ACCESS, flocalbypassproxy: P0, dwportnumber: u32, pszproxyname: P1, pszbypasslist: P2) -> windows_core::Result<()> @@ -6011,11 +6011,11 @@ impl ISearchManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCatalog)(windows_core::Interface::as_raw(self), pszcatalog.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UserAgent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserAgent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUserAgent(&self, pszuseragent: P0) -> windows_core::Result<()> @@ -6025,15 +6025,15 @@ impl ISearchManager { (windows_core::Interface::vtable(self).SetUserAgent)(windows_core::Interface::as_raw(self), pszuseragent.param().abi()).ok() } pub unsafe fn UseProxy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseProxy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LocalBypass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocalBypass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PortNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PortNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6043,7 +6043,7 @@ pub struct ISearchManager_Vtbl { pub GetIndexerVersionStr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetIndexerVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub GetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut windows_core::PROPVARIANT) -> windows_core::HRESULT, - pub SetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProxyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub BypassList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub SetProxy: unsafe extern "system" fn(*mut core::ffi::c_void, PROXY_ACCESS, super::super::Foundation::BOOL, u32, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, @@ -6058,7 +6058,7 @@ windows_core::imp::define_interface!(ISearchManager2, ISearchManager2_Vtbl, 0xdb impl std::ops::Deref for ISearchManager2 { type Target = ISearchManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchManager2, windows_core::IUnknown, ISearchManager); @@ -6067,7 +6067,7 @@ impl ISearchManager2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCatalog)(windows_core::Interface::as_raw(self), pszcatalog.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteCatalog(&self, pszcatalog: P0) -> windows_core::Result<()> @@ -6087,7 +6087,7 @@ windows_core::imp::define_interface!(ISearchNotifyInlineSite, ISearchNotifyInlin impl std::ops::Deref for ISearchNotifyInlineSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchNotifyInlineSite, windows_core::IUnknown); @@ -6109,7 +6109,7 @@ windows_core::imp::define_interface!(ISearchPersistentItemsChangedSink, ISearchP impl std::ops::Deref for ISearchPersistentItemsChangedSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchPersistentItemsChangedSink, windows_core::IUnknown); @@ -6141,7 +6141,7 @@ windows_core::imp::define_interface!(ISearchProtocol, ISearchProtocol_Vtbl, 0xc7 impl std::ops::Deref for ISearchProtocol { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchProtocol, windows_core::IUnknown); @@ -6156,7 +6156,7 @@ impl ISearchProtocol { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAccessor)(windows_core::Interface::as_raw(self), pcwszurl.param().abi(), pauthenticationinfo, pincrementalaccessinfo, piteminfo, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CloseAccessor(&self, paccessor: P0) -> windows_core::Result<()> @@ -6181,7 +6181,7 @@ windows_core::imp::define_interface!(ISearchProtocol2, ISearchProtocol2_Vtbl, 0x impl std::ops::Deref for ISearchProtocol2 { type Target = ISearchProtocol; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchProtocol2, windows_core::IUnknown, ISearchProtocol); @@ -6191,7 +6191,7 @@ impl ISearchProtocol2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAccessorEx)(windows_core::Interface::as_raw(self), pcwszurl.param().abi(), pauthenticationinfo, pincrementalaccessinfo, piteminfo, puserdata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6207,7 +6207,7 @@ windows_core::imp::define_interface!(ISearchProtocolThreadContext, ISearchProtoc impl std::ops::Deref for ISearchProtocolThreadContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchProtocolThreadContext, windows_core::IUnknown); @@ -6233,41 +6233,41 @@ windows_core::imp::define_interface!(ISearchQueryHelper, ISearchQueryHelper_Vtbl impl std::ops::Deref for ISearchQueryHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchQueryHelper, windows_core::IUnknown); impl ISearchQueryHelper { pub unsafe fn ConnectionString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectionString)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryContentLocale)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryKeywordLocale)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryTermExpansion)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuerySyntax)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetQueryContentProperties(&self, pszcontentproperties: P0) -> windows_core::Result<()> @@ -6277,7 +6277,7 @@ impl ISearchQueryHelper { (windows_core::Interface::vtable(self).SetQueryContentProperties)(windows_core::Interface::as_raw(self), pszcontentproperties.param().abi()).ok() } pub unsafe fn QueryContentProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryContentProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetQuerySelectColumns(&self, pszselectcolumns: P0) -> windows_core::Result<()> @@ -6287,7 +6287,7 @@ impl ISearchQueryHelper { (windows_core::Interface::vtable(self).SetQuerySelectColumns)(windows_core::Interface::as_raw(self), pszselectcolumns.param().abi()).ok() } pub unsafe fn QuerySelectColumns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuerySelectColumns)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetQueryWhereRestrictions(&self, pszrestrictions: P0) -> windows_core::Result<()> @@ -6297,7 +6297,7 @@ impl ISearchQueryHelper { (windows_core::Interface::vtable(self).SetQueryWhereRestrictions)(windows_core::Interface::as_raw(self), pszrestrictions.param().abi()).ok() } pub unsafe fn QueryWhereRestrictions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryWhereRestrictions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetQuerySorting(&self, pszsorting: P0) -> windows_core::Result<()> @@ -6307,14 +6307,14 @@ impl ISearchQueryHelper { (windows_core::Interface::vtable(self).SetQuerySorting)(windows_core::Interface::as_raw(self), pszsorting.param().abi()).ok() } pub unsafe fn QuerySorting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QuerySorting)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GenerateSQLFromUserQuery(&self, pszquery: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GenerateSQLFromUserQuery)(windows_core::Interface::as_raw(self), pszquery.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -6325,7 +6325,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryMaxResults)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6361,7 +6361,7 @@ windows_core::imp::define_interface!(ISearchQueryHits, ISearchQueryHits_Vtbl, 0x impl std::ops::Deref for ISearchQueryHits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchQueryHits, windows_core::IUnknown); @@ -6402,7 +6402,7 @@ windows_core::imp::define_interface!(ISearchRoot, ISearchRoot_Vtbl, 0x04c18ccf_1 impl std::ops::Deref for ISearchRoot { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchRoot, windows_core::IUnknown); @@ -6414,7 +6414,7 @@ impl ISearchRoot { (windows_core::Interface::vtable(self).SetSchedule)(windows_core::Interface::as_raw(self), psztaskarg.param().abi()).ok() } pub unsafe fn Schedule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Schedule)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRootURL(&self, pszurl: P0) -> windows_core::Result<()> @@ -6424,7 +6424,7 @@ impl ISearchRoot { (windows_core::Interface::vtable(self).SetRootURL)(windows_core::Interface::as_raw(self), pszurl.param().abi()).ok() } pub unsafe fn RootURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsHierarchical(&self, fishierarchical: P0) -> windows_core::Result<()> @@ -6434,7 +6434,7 @@ impl ISearchRoot { (windows_core::Interface::vtable(self).SetIsHierarchical)(windows_core::Interface::as_raw(self), fishierarchical.param().abi()).ok() } pub unsafe fn IsHierarchical(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsHierarchical)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetProvidesNotifications(&self, fprovidesnotifications: P0) -> windows_core::Result<()> @@ -6444,7 +6444,7 @@ impl ISearchRoot { (windows_core::Interface::vtable(self).SetProvidesNotifications)(windows_core::Interface::as_raw(self), fprovidesnotifications.param().abi()).ok() } pub unsafe fn ProvidesNotifications(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProvidesNotifications)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseNotificationsOnly(&self, fusenotificationsonly: P0) -> windows_core::Result<()> @@ -6454,21 +6454,21 @@ impl ISearchRoot { (windows_core::Interface::vtable(self).SetUseNotificationsOnly)(windows_core::Interface::as_raw(self), fusenotificationsonly.param().abi()).ok() } pub unsafe fn UseNotificationsOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseNotificationsOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerationDepth)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HostDepth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFollowDirectories(&self, ffollowdirectories: P0) -> windows_core::Result<()> @@ -6478,14 +6478,14 @@ impl ISearchRoot { (windows_core::Interface::vtable(self).SetFollowDirectories)(windows_core::Interface::as_raw(self), ffollowdirectories.param().abi()).ok() } pub unsafe fn FollowDirectories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FollowDirectories)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthenticationType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUser(&self, pszuser: P0) -> windows_core::Result<()> @@ -6495,7 +6495,7 @@ impl ISearchRoot { (windows_core::Interface::vtable(self).SetUser)(windows_core::Interface::as_raw(self), pszuser.param().abi()).ok() } pub unsafe fn User(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).User)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPassword(&self, pszpassword: P0) -> windows_core::Result<()> @@ -6505,7 +6505,7 @@ impl ISearchRoot { (windows_core::Interface::vtable(self).SetPassword)(windows_core::Interface::as_raw(self), pszpassword.param().abi()).ok() } pub unsafe fn Password(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Password)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6539,25 +6539,25 @@ windows_core::imp::define_interface!(ISearchScopeRule, ISearchScopeRule_Vtbl, 0x impl std::ops::Deref for ISearchScopeRule { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchScopeRule, windows_core::IUnknown); impl ISearchScopeRule { pub unsafe fn PatternOrURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PatternOrURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsIncluded(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsIncluded)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDefault(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDefault)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FollowFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FollowFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6573,7 +6573,7 @@ windows_core::imp::define_interface!(ISearchViewChangedSink, ISearchViewChangedS impl std::ops::Deref for ISearchViewChangedSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchViewChangedSink, windows_core::IUnknown); @@ -6595,21 +6595,21 @@ windows_core::imp::define_interface!(ISecurityInfo, ISecurityInfo_Vtbl, 0x0c733a impl std::ops::Deref for ISecurityInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISecurityInfo, windows_core::IUnknown); impl ISecurityInfo { #[cfg(feature = "Win32_Security_Authorization")] pub unsafe fn GetCurrentTrustee(&self) -> windows_core::Result<*mut super::super::Security::Authorization::TRUSTEE_W> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentTrustee)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetObjectTypes(&self, cobjecttypes: *mut u32, rgobjecttypes: *mut *mut windows_core::GUID) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetObjectTypes)(windows_core::Interface::as_raw(self), cobjecttypes, rgobjecttypes).ok() } pub unsafe fn GetPermissions(&self, objecttype: windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPermissions)(windows_core::Interface::as_raw(self), core::mem::transmute(objecttype), &mut result__).map(|| result__) } } @@ -6627,7 +6627,7 @@ windows_core::imp::define_interface!(IService, IService_Vtbl, 0x06210e88_01f5_11 impl std::ops::Deref for IService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IService, windows_core::IUnknown); @@ -6648,7 +6648,7 @@ windows_core::imp::define_interface!(ISessionProperties, ISessionProperties_Vtbl impl std::ops::Deref for ISessionProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISessionProperties, windows_core::IUnknown); @@ -6678,7 +6678,7 @@ windows_core::imp::define_interface!(ISimpleCommandCreator, ISimpleCommandCreato impl std::ops::Deref for ISimpleCommandCreator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISimpleCommandCreator, windows_core::IUnknown); @@ -6714,7 +6714,7 @@ windows_core::imp::define_interface!(ISourcesRowset, ISourcesRowset_Vtbl, 0x0c73 impl std::ops::Deref for ISourcesRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISourcesRowset, windows_core::IUnknown); @@ -6739,7 +6739,7 @@ windows_core::imp::define_interface!(IStemmer, IStemmer_Vtbl, 0xefbaf140_7f42_11 impl std::ops::Deref for IStemmer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStemmer, windows_core::IUnknown); @@ -6769,13 +6769,13 @@ windows_core::imp::define_interface!(ISubscriptionItem, ISubscriptionItem_Vtbl, impl std::ops::Deref for ISubscriptionItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISubscriptionItem, windows_core::IUnknown); impl ISubscriptionItem { pub unsafe fn GetCookie(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCookie)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSubscriptionItemInfo(&self, psubscriptioniteminfo: *mut SUBSCRIPTIONITEMINFO) -> windows_core::Result<()> { @@ -6791,7 +6791,7 @@ impl ISubscriptionItem { (windows_core::Interface::vtable(self).WriteProperties)(windows_core::Interface::as_raw(self), ncount, rgwszname, core::mem::transmute(rgvalue)).ok() } pub unsafe fn EnumProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NotifyChanged(&self) -> windows_core::Result<()> { @@ -6804,8 +6804,8 @@ pub struct ISubscriptionItem_Vtbl { pub GetCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetSubscriptionItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SUBSCRIPTIONITEMINFO) -> windows_core::HRESULT, pub SetSubscriptionItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const SUBSCRIPTIONITEMINFO) -> windows_core::HRESULT, - pub ReadProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WriteProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WriteProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub EnumProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -6813,7 +6813,7 @@ windows_core::imp::define_interface!(ISubscriptionMgr, ISubscriptionMgr_Vtbl, 0x impl std::ops::Deref for ISubscriptionMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISubscriptionMgr, windows_core::IUnknown); @@ -6838,7 +6838,7 @@ impl ISubscriptionMgr { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSubscribed)(windows_core::Interface::as_raw(self), pwszurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSubscriptionInfo(&self, pwszurl: P0, pinfo: *mut SUBSCRIPTIONINFO) -> windows_core::Result<()> @@ -6882,7 +6882,7 @@ windows_core::imp::define_interface!(ISubscriptionMgr2, ISubscriptionMgr2_Vtbl, impl std::ops::Deref for ISubscriptionMgr2 { type Target = ISubscriptionMgr; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISubscriptionMgr2, windows_core::IUnknown, ISubscriptionMgr); @@ -6891,18 +6891,18 @@ impl ISubscriptionMgr2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemFromURL)(windows_core::Interface::as_raw(self), pwszurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetItemFromCookie(&self, psubscriptioncookie: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemFromCookie)(windows_core::Interface::as_raw(self), psubscriptioncookie, &mut result__).and_then(|| windows_core::Type::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), dwnumcookies, pcookies, pdwrunstate).ok() } pub unsafe fn EnumSubscriptions(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumSubscriptions)(windows_core::Interface::as_raw(self), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UpdateItems(&self, dwflags: u32, pcookies: &[windows_core::GUID]) -> windows_core::Result<()> { @@ -6930,7 +6930,7 @@ windows_core::imp::define_interface!(ITableCreation, ITableCreation_Vtbl, 0x0c73 impl std::ops::Deref for ITableCreation { type Target = ITableDefinition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITableCreation, windows_core::IUnknown, ITableDefinition); @@ -6963,7 +6963,7 @@ windows_core::imp::define_interface!(ITableDefinition, ITableDefinition_Vtbl, 0x impl std::ops::Deref for ITableDefinition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITableDefinition, windows_core::IUnknown); @@ -7024,7 +7024,7 @@ windows_core::imp::define_interface!(ITableDefinitionWithConstraints, ITableDefi impl std::ops::Deref for ITableDefinitionWithConstraints { type Target = ITableCreation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITableDefinitionWithConstraints, windows_core::IUnknown, ITableDefinition, ITableCreation); @@ -7065,7 +7065,7 @@ windows_core::imp::define_interface!(ITableRename, ITableRename_Vtbl, 0x0c733a77 impl std::ops::Deref for ITableRename { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITableRename, windows_core::IUnknown); @@ -7095,7 +7095,7 @@ windows_core::imp::define_interface!(ITokenCollection, ITokenCollection_Vtbl, 0x impl std::ops::Deref for ITokenCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITokenCollection, windows_core::IUnknown); @@ -7117,14 +7117,14 @@ windows_core::imp::define_interface!(ITransactionJoin, ITransactionJoin_Vtbl, 0x impl std::ops::Deref for ITransactionJoin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionJoin, windows_core::IUnknown); impl ITransactionJoin { #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn GetOptionsObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionsObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] @@ -7154,7 +7154,7 @@ windows_core::imp::define_interface!(ITransactionLocal, ITransactionLocal_Vtbl, impl std::ops::Deref for ITransactionLocal { type Target = super::DistributedTransactionCoordinator::ITransaction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] @@ -7163,7 +7163,7 @@ windows_core::imp::interface_hierarchy!(ITransactionLocal, windows_core::IUnknow impl ITransactionLocal { #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn GetOptionsObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptionsObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] @@ -7191,14 +7191,14 @@ windows_core::imp::define_interface!(ITransactionObject, ITransactionObject_Vtbl impl std::ops::Deref for ITransactionObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransactionObject, windows_core::IUnknown); impl ITransactionObject { #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] pub unsafe fn GetTransactionObject(&self, ultransactionlevel: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransactionObject)(windows_core::Interface::as_raw(self), ultransactionlevel, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7214,7 +7214,7 @@ windows_core::imp::define_interface!(ITrusteeAdmin, ITrusteeAdmin_Vtbl, 0x0c733a impl std::ops::Deref for ITrusteeAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITrusteeAdmin, windows_core::IUnknown); @@ -7268,7 +7268,7 @@ windows_core::imp::define_interface!(ITrusteeGroupAdmin, ITrusteeGroupAdmin_Vtbl impl std::ops::Deref for ITrusteeGroupAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITrusteeGroupAdmin, windows_core::IUnknown); @@ -7283,7 +7283,7 @@ impl ITrusteeGroupAdmin { } #[cfg(feature = "Win32_Security_Authorization")] pub unsafe fn IsMember(&self, pmembershiptrustee: *const super::super::Security::Authorization::TRUSTEE_W, pmembertrustee: *const super::super::Security::Authorization::TRUSTEE_W) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMember)(windows_core::Interface::as_raw(self), pmembershiptrustee, pmembertrustee, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Security_Authorization")] @@ -7349,7 +7349,7 @@ windows_core::imp::define_interface!(IUMSInitialize, IUMSInitialize_Vtbl, 0x5cf4 impl std::ops::Deref for IUMSInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUMSInitialize, windows_core::IUnknown); @@ -7367,7 +7367,7 @@ windows_core::imp::define_interface!(IUrlAccessor, IUrlAccessor_Vtbl, 0x0b63e318 impl std::ops::Deref for IUrlAccessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUrlAccessor, windows_core::IUnknown); @@ -7380,7 +7380,7 @@ impl IUrlAccessor { (windows_core::Interface::vtable(self).GetDocFormat)(windows_core::Interface::as_raw(self), core::mem::transmute(wszdocformat.as_ptr()), wszdocformat.len().try_into().unwrap(), pdwlength).ok() } pub unsafe fn GetCLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCLSID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHost(&self, wszhost: &mut [u16], pdwlength: *mut u32) -> windows_core::Result<()> { @@ -7390,11 +7390,11 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastModified(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastModified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFileName(&self, wszfilename: &mut [u16], pdwlength: *mut u32) -> windows_core::Result<()> { @@ -7407,17 +7407,17 @@ impl IUrlAccessor { (windows_core::Interface::vtable(self).GetRedirectedURL)(windows_core::Interface::as_raw(self), core::mem::transmute(wszredirectedurl.as_ptr()), wszredirectedurl.len().try_into().unwrap(), pdwlength).ok() } pub unsafe fn GetSecurityProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityProvider)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn BindToStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BindToStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Storage_IndexServer")] pub unsafe fn BindToFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BindToFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7425,7 +7425,7 @@ impl IUrlAccessor { pub struct IUrlAccessor_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_System_Com_StructuredStorage")] - pub AddRequestParameter: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::StructuredStorage::PROPSPEC, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddRequestParameter: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Com::StructuredStorage::PROPSPEC, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] AddRequestParameter: usize, pub GetDocFormat: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, @@ -7451,7 +7451,7 @@ windows_core::imp::define_interface!(IUrlAccessor2, IUrlAccessor2_Vtbl, 0xc73107 impl std::ops::Deref for IUrlAccessor2 { type Target = IUrlAccessor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUrlAccessor2, windows_core::IUnknown, IUrlAccessor); @@ -7477,7 +7477,7 @@ windows_core::imp::define_interface!(IUrlAccessor3, IUrlAccessor3_Vtbl, 0x6fbc70 impl std::ops::Deref for IUrlAccessor3 { type Target = IUrlAccessor2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUrlAccessor3, windows_core::IUnknown, IUrlAccessor, IUrlAccessor2); @@ -7502,18 +7502,18 @@ windows_core::imp::define_interface!(IUrlAccessor4, IUrlAccessor4_Vtbl, 0x5cc510 impl std::ops::Deref for IUrlAccessor4 { type Target = IUrlAccessor3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUrlAccessor4, windows_core::IUnknown, IUrlAccessor, IUrlAccessor2, IUrlAccessor3); impl IUrlAccessor4 { pub unsafe fn ShouldIndexItemContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShouldIndexItemContent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn ShouldIndexProperty(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShouldIndexProperty)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } } @@ -7530,13 +7530,13 @@ windows_core::imp::define_interface!(IViewChapter, IViewChapter_Vtbl, 0x0c733a98 impl std::ops::Deref for IViewChapter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewChapter, windows_core::IUnknown); impl IViewChapter { pub unsafe fn GetSpecification(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpecification)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenViewChapter(&self, hsource: usize, phviewchapter: Option<*mut usize>) -> windows_core::Result<()> { @@ -7553,7 +7553,7 @@ windows_core::imp::define_interface!(IViewFilter, IViewFilter_Vtbl, 0x0c733a9b_2 impl std::ops::Deref for IViewFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewFilter, windows_core::IUnknown); @@ -7589,20 +7589,20 @@ windows_core::imp::define_interface!(IViewRowset, IViewRowset_Vtbl, 0x0c733a97_2 impl std::ops::Deref for IViewRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewRowset, windows_core::IUnknown); impl IViewRowset { pub unsafe fn GetSpecification(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpecification)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenViewRowset(&self, punkouter: P0, riid: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenViewRowset)(windows_core::Interface::as_raw(self), punkouter.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7616,7 +7616,7 @@ windows_core::imp::define_interface!(IViewSort, IViewSort_Vtbl, 0x0c733a9a_2a1c_ impl std::ops::Deref for IViewSort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewSort, windows_core::IUnknown); @@ -7638,7 +7638,7 @@ windows_core::imp::define_interface!(IWordBreaker, IWordBreaker_Vtbl, 0xd53552c8 impl std::ops::Deref for IWordBreaker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWordBreaker, windows_core::IUnknown); @@ -7684,7 +7684,7 @@ windows_core::imp::define_interface!(IWordFormSink, IWordFormSink_Vtbl, 0xfe77c3 impl std::ops::Deref for IWordFormSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWordFormSink, windows_core::IUnknown); @@ -7712,7 +7712,7 @@ windows_core::imp::define_interface!(IWordSink, IWordSink_Vtbl, 0xcc907054_c058_ impl std::ops::Deref for IWordSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWordSink, windows_core::IUnknown); @@ -7756,25 +7756,25 @@ windows_core::imp::define_interface!(OLEDBSimpleProvider, OLEDBSimpleProvider_Vt impl std::ops::Deref for OLEDBSimpleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(OLEDBSimpleProvider, windows_core::IUnknown); impl OLEDBSimpleProvider { pub unsafe fn getRowCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getRowCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getColumnCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getColumnCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getRWStatus(&self, irow: isize, icolumn: isize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getRWStatus)(windows_core::Interface::as_raw(self), irow, icolumn, &mut result__).map(|| result__) } pub unsafe fn getVariant(&self, irow: isize, icolumn: isize, format: OSPFORMAT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getVariant)(windows_core::Interface::as_raw(self), irow, icolumn, format, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setVariant(&self, irow: isize, icolumn: isize, format: OSPFORMAT, var: P0) -> windows_core::Result<()> @@ -7784,22 +7784,22 @@ impl OLEDBSimpleProvider { (windows_core::Interface::vtable(self).setVariant)(windows_core::Interface::as_raw(self), irow, icolumn, format, var.param().abi()).ok() } pub unsafe fn getLocale(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getLocale)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn deleteRows(&self, irow: isize, crows: isize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).deleteRows)(windows_core::Interface::as_raw(self), irow, crows, &mut result__).map(|| result__) } pub unsafe fn insertRows(&self, irow: isize, crows: isize) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).insertRows)(windows_core::Interface::as_raw(self), irow, crows, &mut result__).map(|| result__) } pub unsafe fn find(&self, irowstart: isize, icolumn: isize, val: P0, findflags: OSPFIND, comptype: OSPCOMP) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).find)(windows_core::Interface::as_raw(self), irowstart, icolumn, val.param().abi(), findflags, comptype, &mut result__).map(|| result__) } pub unsafe fn addOLEDBSimpleProviderListener(&self, pospilistener: P0) -> windows_core::Result<()> @@ -7815,11 +7815,11 @@ impl OLEDBSimpleProvider { (windows_core::Interface::vtable(self).removeOLEDBSimpleProviderListener)(windows_core::Interface::as_raw(self), pospilistener.param().abi()).ok() } pub unsafe fn isAsync(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).isAsync)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getEstimatedRows(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getEstimatedRows)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn stopTransfer(&self) -> windows_core::Result<()> { @@ -7832,12 +7832,12 @@ pub struct OLEDBSimpleProvider_Vtbl { pub getRowCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut isize) -> windows_core::HRESULT, pub getColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut isize) -> windows_core::HRESULT, pub getRWStatus: unsafe extern "system" fn(*mut core::ffi::c_void, isize, isize, *mut OSPRW) -> windows_core::HRESULT, - pub getVariant: unsafe extern "system" fn(*mut core::ffi::c_void, isize, isize, OSPFORMAT, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setVariant: unsafe extern "system" fn(*mut core::ffi::c_void, isize, isize, OSPFORMAT, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getLocale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getVariant: unsafe extern "system" fn(*mut core::ffi::c_void, isize, isize, OSPFORMAT, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setVariant: unsafe extern "system" fn(*mut core::ffi::c_void, isize, isize, OSPFORMAT, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getLocale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub deleteRows: unsafe extern "system" fn(*mut core::ffi::c_void, isize, isize, *mut isize) -> windows_core::HRESULT, pub insertRows: unsafe extern "system" fn(*mut core::ffi::c_void, isize, isize, *mut isize) -> windows_core::HRESULT, - pub find: unsafe extern "system" fn(*mut core::ffi::c_void, isize, isize, std::mem::MaybeUninit, OSPFIND, OSPCOMP, *mut isize) -> windows_core::HRESULT, + pub find: unsafe extern "system" fn(*mut core::ffi::c_void, isize, isize, core::mem::MaybeUninit, OSPFIND, OSPCOMP, *mut isize) -> windows_core::HRESULT, pub addOLEDBSimpleProviderListener: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub removeOLEDBSimpleProviderListener: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub isAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -7848,7 +7848,7 @@ windows_core::imp::define_interface!(OLEDBSimpleProviderListener, OLEDBSimplePro impl std::ops::Deref for OLEDBSimpleProviderListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(OLEDBSimpleProviderListener, windows_core::IUnknown); @@ -13991,7 +13991,7 @@ pub struct DBBINDING { pub obValue: usize, pub obLength: usize, pub obStatus: usize, - pub pTypeInfo: std::mem::ManuallyDrop>, + pub pTypeInfo: core::mem::ManuallyDrop>, pub pObject: *mut DBOBJECT, pub pBindExt: *mut DBBINDEXT, pub dwPart: u32, @@ -14030,7 +14030,7 @@ pub struct DBBINDING { pub obValue: usize, pub obLength: usize, pub obStatus: usize, - pub pTypeInfo: std::mem::ManuallyDrop>, + pub pTypeInfo: core::mem::ManuallyDrop>, pub pObject: *mut DBOBJECT, pub pBindExt: *mut DBBINDEXT, pub dwPart: u32, @@ -14113,7 +14113,7 @@ impl Default for DBCOLUMNACCESS { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] pub struct DBCOLUMNDESC { pub pwszTypeName: windows_core::PWSTR, - pub pTypeInfo: std::mem::ManuallyDrop>, + pub pTypeInfo: core::mem::ManuallyDrop>, pub rgPropertySets: *mut DBPROPSET, pub pclsid: *mut windows_core::GUID, pub cPropertySets: u32, @@ -14147,7 +14147,7 @@ impl Default for DBCOLUMNDESC { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] pub struct DBCOLUMNDESC { pub pwszTypeName: windows_core::PWSTR, - pub pTypeInfo: std::mem::ManuallyDrop>, + pub pTypeInfo: core::mem::ManuallyDrop>, pub rgPropertySets: *mut DBPROPSET, pub pclsid: *mut windows_core::GUID, pub cPropertySets: u32, @@ -14174,7 +14174,7 @@ impl Default for DBCOLUMNDESC { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] pub struct DBCOLUMNINFO { pub pwszName: windows_core::PWSTR, - pub pTypeInfo: std::mem::ManuallyDrop>, + pub pTypeInfo: core::mem::ManuallyDrop>, pub iOrdinal: usize, pub dwFlags: u32, pub ulColumnSize: usize, @@ -14207,7 +14207,7 @@ impl Default for DBCOLUMNINFO { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] pub struct DBCOLUMNINFO { pub pwszName: windows_core::PWSTR, - pub pTypeInfo: std::mem::ManuallyDrop>, + pub pTypeInfo: core::mem::ManuallyDrop>, pub iOrdinal: usize, pub dwFlags: u32, pub ulColumnSize: usize, @@ -14410,9 +14410,9 @@ impl Default for DBFAILUREINFO { #[repr(C)] #[cfg(any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "x86_64"))] pub struct DBIMPLICITSESSION { - pub pUnkOuter: std::mem::ManuallyDrop>, + pub pUnkOuter: core::mem::ManuallyDrop>, pub piid: *mut windows_core::GUID, - pub pSession: std::mem::ManuallyDrop>, + pub pSession: core::mem::ManuallyDrop>, } #[cfg(any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "x86_64"))] impl Clone for DBIMPLICITSESSION { @@ -14433,9 +14433,9 @@ impl Default for DBIMPLICITSESSION { #[repr(C, packed(2))] #[cfg(target_arch = "x86")] pub struct DBIMPLICITSESSION { - pub pUnkOuter: std::mem::ManuallyDrop>, + pub pUnkOuter: core::mem::ManuallyDrop>, pub piid: *mut windows_core::GUID, - pub pSession: std::mem::ManuallyDrop>, + pub pSession: core::mem::ManuallyDrop>, } #[cfg(target_arch = "x86")] impl windows_core::TypeKind for DBIMPLICITSESSION { @@ -14626,7 +14626,7 @@ pub struct DBPARAMINFO { pub dwFlags: u32, pub iOrdinal: usize, pub pwszName: windows_core::PWSTR, - pub pTypeInfo: std::mem::ManuallyDrop>, + pub pTypeInfo: core::mem::ManuallyDrop>, pub ulParamSize: usize, pub wType: u16, pub bPrecision: u8, @@ -14658,7 +14658,7 @@ pub struct DBPARAMINFO { pub dwFlags: u32, pub iOrdinal: usize, pub pwszName: windows_core::PWSTR, - pub pTypeInfo: std::mem::ManuallyDrop>, + pub pTypeInfo: core::mem::ManuallyDrop>, pub ulParamSize: usize, pub wType: u16, pub bPrecision: u8, @@ -14720,7 +14720,7 @@ pub struct DBPROP { pub dwOptions: u32, pub dwStatus: u32, pub colid: super::super::Storage::IndexServer::DBID, - pub vValue: std::mem::ManuallyDrop, + pub vValue: core::mem::ManuallyDrop, } #[cfg(any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "x86_64"))] #[cfg(feature = "Win32_Storage_IndexServer")] @@ -14749,7 +14749,7 @@ pub struct DBPROP { pub dwOptions: u32, pub dwStatus: u32, pub colid: super::super::Storage::IndexServer::DBID, - pub vValue: std::mem::ManuallyDrop, + pub vValue: core::mem::ManuallyDrop, } #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_Storage_IndexServer")] @@ -14807,7 +14807,7 @@ pub struct DBPROPINFO { pub dwPropertyID: u32, pub dwFlags: u32, pub vtType: super::Variant::VARENUM, - pub vValues: std::mem::ManuallyDrop, + pub vValues: core::mem::ManuallyDrop, } #[cfg(any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Variant")] @@ -14836,7 +14836,7 @@ pub struct DBPROPINFO { pub dwPropertyID: u32, pub dwFlags: u32, pub vtType: super::Variant::VARENUM, - pub vValues: std::mem::ManuallyDrop, + pub vValues: core::mem::ManuallyDrop, } #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_System_Variant")] @@ -15129,7 +15129,7 @@ impl Default for DB_VARNUMERIC { #[derive(Debug, Eq, PartialEq)] pub struct DCINFO { pub eInfoType: u32, - pub vData: std::mem::ManuallyDrop, + pub vData: core::mem::ManuallyDrop, } impl Clone for DCINFO { fn clone(&self) -> Self { @@ -15249,7 +15249,7 @@ impl Default for INCREMENTAL_ACCESS_INFO { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct ITEMPROP { - pub variantValue: std::mem::ManuallyDrop, + pub variantValue: core::mem::ManuallyDrop, pub pwszName: windows_core::PWSTR, } impl Clone for ITEMPROP { @@ -15287,7 +15287,7 @@ pub const Interval: windows_core::GUID = windows_core::GUID::from_u128(0xd957171 #[derive(Debug, Eq, PartialEq)] pub struct KAGGETDIAG { pub ulSize: u32, - pub vDiagInfo: std::mem::ManuallyDrop, + pub vDiagInfo: core::mem::ManuallyDrop, pub sDiagField: i16, } impl Clone for KAGGETDIAG { @@ -15473,7 +15473,7 @@ pub const PDPO: windows_core::GUID = windows_core::GUID::from_u128(0xccb4ec60_b9 pub struct PROPERTYRESTRICTION { pub rel: u32, pub prop: super::super::Storage::IndexServer::FULLPROPSPEC, - pub prval: std::mem::ManuallyDrop, + pub prval: core::mem::ManuallyDrop, } #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl Clone for PROPERTYRESTRICTION { @@ -15559,7 +15559,7 @@ pub union RESTRICTION_0 { pub nr: NOTRESTRICTION, pub cr: CONTENTRESTRICTION, pub nlr: NATLANGUAGERESTRICTION, - pub pr: std::mem::ManuallyDrop, + pub pr: core::mem::ManuallyDrop, } #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com_StructuredStorage"))] impl Clone for RESTRICTION_0 { @@ -15581,7 +15581,7 @@ impl Default for RESTRICTION_0 { #[cfg(any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Com")] pub struct RMTPACK { - pub pISeqStream: std::mem::ManuallyDrop>, + pub pISeqStream: core::mem::ManuallyDrop>, pub cbData: u32, pub cBSTR: u32, pub rgBSTR: *mut windows_core::BSTR, @@ -15619,7 +15619,7 @@ impl Default for RMTPACK { #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_System_Com")] pub struct RMTPACK { - pub pISeqStream: std::mem::ManuallyDrop>, + pub pISeqStream: core::mem::ManuallyDrop>, pub cbData: u32, pub cBSTR: u32, pub rgBSTR: *mut windows_core::BSTR, @@ -15650,7 +15650,7 @@ pub const RootBinder: windows_core::GUID = windows_core::GUID::from_u128(0xff151 #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct SEARCH_COLUMN_PROPERTIES { - pub Value: std::mem::ManuallyDrop, + pub Value: core::mem::ManuallyDrop, pub lcid: u32, } impl Clone for SEARCH_COLUMN_PROPERTIES { @@ -16013,7 +16013,7 @@ pub union SSVARIANT_0 { pub BinaryVal: SSVARIANT_0_1, pub tsDateTimeVal: DBTIMESTAMP, pub UnknownType: SSVARIANT_0_4, - pub BLOBType: std::mem::ManuallyDrop, + pub BLOBType: core::mem::ManuallyDrop, } #[cfg(feature = "Win32_System_Com")] impl Clone for SSVARIANT_0 { @@ -16035,7 +16035,7 @@ impl Default for SSVARIANT_0 { #[cfg(feature = "Win32_System_Com")] pub struct SSVARIANT_0_0 { pub dbobj: DBOBJECT, - pub pUnk: std::mem::ManuallyDrop>, + pub pUnk: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_System_Com")] impl Clone for SSVARIANT_0_0 { @@ -16147,9 +16147,9 @@ pub struct SUBSCRIPTIONINFO { pub bChangesOnly: super::super::Foundation::BOOL, pub bNeedPassword: super::super::Foundation::BOOL, pub fChannelFlags: u32, - pub bstrUserName: std::mem::ManuallyDrop, - pub bstrPassword: std::mem::ManuallyDrop, - pub bstrFriendlyName: std::mem::ManuallyDrop, + pub bstrUserName: core::mem::ManuallyDrop, + pub bstrPassword: core::mem::ManuallyDrop, + pub bstrFriendlyName: core::mem::ManuallyDrop, pub dwMaxSizeKB: u32, pub subType: SUBSCRIPTIONTYPE, pub fTaskFlags: u32, diff --git a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs index 8bfc417d51..74e62aa530 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs @@ -7,7 +7,7 @@ impl windows_core::RuntimeName for IWSCDefaultProduct {} #[cfg(feature = "Win32_System_Com")] impl IWSCDefaultProduct_Vtbl { pub const fn new, Impl: IWSCDefaultProduct_Impl, const OFFSET: isize>() -> IWSCDefaultProduct_Vtbl { - unsafe extern "system" fn SetDefaultProduct, Impl: IWSCDefaultProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, etype: SECURITY_PRODUCT_TYPE, pguid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDefaultProduct, Impl: IWSCDefaultProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, etype: SECURITY_PRODUCT_TYPE, pguid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWSCDefaultProduct_Impl::SetDefaultProduct(this, core::mem::transmute_copy(&etype), core::mem::transmute(&pguid)).into() @@ -82,7 +82,7 @@ impl windows_core::RuntimeName for IWscProduct {} #[cfg(feature = "Win32_System_Com")] impl IWscProduct_Vtbl { pub const fn new, Impl: IWscProduct_Impl, const OFFSET: isize>() -> IWscProduct_Vtbl { - unsafe extern "system" fn ProductName, Impl: IWscProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProductName, Impl: IWscProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWscProduct_Impl::ProductName(this) { @@ -115,7 +115,7 @@ impl IWscProduct_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RemediationPath, Impl: IWscProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemediationPath, Impl: IWscProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWscProduct_Impl::RemediationPath(this) { @@ -126,7 +126,7 @@ impl IWscProduct_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProductStateTimestamp, Impl: IWscProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProductStateTimestamp, Impl: IWscProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWscProduct_Impl::ProductStateTimestamp(this) { @@ -137,7 +137,7 @@ impl IWscProduct_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProductGuid, Impl: IWscProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProductGuid, Impl: IWscProduct_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWscProduct_Impl::ProductGuid(this) { 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 9096002417..c36ab8fd44 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs @@ -1,7 +1,7 @@ #[inline] pub unsafe fn WscGetAntiMalwareUri() -> windows_core::Result { windows_targets::link!("wscapi.dll" "system" fn WscGetAntiMalwareUri(ppszuri : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WscGetAntiMalwareUri(&mut result__).map(|| result__) } #[inline] @@ -39,7 +39,7 @@ windows_core::imp::define_interface!(IWSCDefaultProduct, IWSCDefaultProduct_Vtbl impl std::ops::Deref for IWSCDefaultProduct { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -57,7 +57,7 @@ impl IWSCDefaultProduct { #[repr(C)] pub struct IWSCDefaultProduct_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub SetDefaultProduct: unsafe extern "system" fn(*mut core::ffi::c_void, SECURITY_PRODUCT_TYPE, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDefaultProduct: unsafe extern "system" fn(*mut core::ffi::c_void, SECURITY_PRODUCT_TYPE, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSCProductList, IWSCProductList_Vtbl, 0x722a338c_6e8e_4e72_ac27_1417fb0c81c2); @@ -65,7 +65,7 @@ windows_core::imp::define_interface!(IWSCProductList, IWSCProductList_Vtbl, 0x72 impl std::ops::Deref for IWSCProductList { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -76,12 +76,12 @@ impl IWSCProductList { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), provider.0 as _).ok() } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -102,7 +102,7 @@ windows_core::imp::define_interface!(IWscProduct, IWscProduct_Vtbl, 0x8c38232e_3 impl std::ops::Deref for IWscProduct { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -110,31 +110,31 @@ windows_core::imp::interface_hierarchy!(IWscProduct, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IWscProduct { pub unsafe fn ProductName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProductState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SignatureStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignatureStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemediationPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemediationPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProductStateTimestamp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductStateTimestamp)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProductGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProductIsDefault(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProductIsDefault)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -142,12 +142,12 @@ impl IWscProduct { #[repr(C)] pub struct IWscProduct_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ProductName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProductState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WSC_SECURITY_PRODUCT_STATE) -> windows_core::HRESULT, pub SignatureStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WSC_SECURITY_SIGNATURE_STATUS) -> windows_core::HRESULT, - pub RemediationPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProductStateTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ProductGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemediationPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductStateTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProductGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ProductIsDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -156,7 +156,7 @@ windows_core::imp::define_interface!(IWscProduct2, IWscProduct2_Vtbl, 0xf896ca54 impl std::ops::Deref for IWscProduct2 { type Target = IWscProduct; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -164,27 +164,27 @@ windows_core::imp::interface_hierarchy!(IWscProduct2, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IWscProduct2 { pub unsafe fn AntivirusScanSubstatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AntivirusScanSubstatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AntivirusSettingsSubstatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AntivirusSettingsSubstatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AntivirusProtectionUpdateSubstatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AntivirusProtectionUpdateSubstatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FirewallDomainProfileSubstatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirewallDomainProfileSubstatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FirewallPrivateProfileSubstatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirewallPrivateProfileSubstatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FirewallPublicProfileSubstatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirewallPublicProfileSubstatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -205,7 +205,7 @@ windows_core::imp::define_interface!(IWscProduct3, IWscProduct3_Vtbl, 0x55536524 impl std::ops::Deref for IWscProduct3 { type Target = IWscProduct2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -213,7 +213,7 @@ windows_core::imp::interface_hierarchy!(IWscProduct3, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IWscProduct3 { pub unsafe fn AntivirusDaysUntilExpired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AntivirusDaysUntilExpired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } 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 71c5791888..c7eeef5fb6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs @@ -2,13 +2,13 @@ windows_core::imp::define_interface!(IWsbApplicationAsync, IWsbApplicationAsync_ impl std::ops::Deref for IWsbApplicationAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWsbApplicationAsync, windows_core::IUnknown); impl IWsbApplicationAsync { pub unsafe fn QueryStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Abort(&self) -> windows_core::Result<()> { @@ -25,7 +25,7 @@ windows_core::imp::define_interface!(IWsbApplicationBackupSupport, IWsbApplicati impl std::ops::Deref for IWsbApplicationBackupSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWsbApplicationBackupSupport, windows_core::IUnknown); @@ -36,7 +36,7 @@ impl IWsbApplicationBackupSupport { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckConsistency)(windows_core::Interface::as_raw(self), wszwritermetadata.param().abi(), wszcomponentname.param().abi(), wszcomponentlogicalpath.param().abi(), cvolumes, rgwszsourcevolumepath, rgwszsnapshotvolumepath, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -49,7 +49,7 @@ windows_core::imp::define_interface!(IWsbApplicationRestoreSupport, IWsbApplicat impl std::ops::Deref for IWsbApplicationRestoreSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWsbApplicationRestoreSupport, windows_core::IUnknown); @@ -76,7 +76,7 @@ impl IWsbApplicationRestoreSupport { (windows_core::Interface::vtable(self).OrderComponents)(windows_core::Interface::as_raw(self), ccomponents, rgcomponentname, rgcomponentlogicalpaths, prgcomponentname, prgcomponentlogicalpath).ok() } pub unsafe fn IsRollForwardSupported(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRollForwardSupported)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs index 6dbb007704..eaf1cf3b56 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs @@ -6,7 +6,7 @@ pub trait IItemEnumerator_Impl: Sized { impl windows_core::RuntimeName for IItemEnumerator {} impl IItemEnumerator_Vtbl { pub const fn new, Impl: IItemEnumerator_Impl, const OFFSET: isize>() -> IItemEnumerator_Vtbl { - unsafe extern "system" fn Current, Impl: IItemEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Current, Impl: IItemEnumerator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, item: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IItemEnumerator_Impl::Current(this) { @@ -173,7 +173,7 @@ impl ISettingsEngine_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetErrorDescription, Impl: ISettingsEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hresult: i32, message: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetErrorDescription, Impl: ISettingsEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hresult: i32, message: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsEngine_Impl::GetErrorDescription(this, core::mem::transmute_copy(&hresult)) { @@ -216,7 +216,7 @@ impl ISettingsEngine_Vtbl { let this = (*this).get_impl(); ISettingsEngine_Impl::UnloadStore(this, core::mem::transmute_copy(&reserved)).into() } - unsafe extern "system" fn RegisterNamespace, Impl: ISettingsEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, settingsid: *mut core::ffi::c_void, stream: *mut core::ffi::c_void, pushsettings: super::super::Foundation::BOOL, results: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterNamespace, Impl: ISettingsEngine_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, settingsid: *mut core::ffi::c_void, stream: *mut core::ffi::c_void, pushsettings: super::super::Foundation::BOOL, results: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsEngine_Impl::RegisterNamespace(this, windows_core::from_raw_borrowed(&settingsid), windows_core::from_raw_borrowed(&stream), core::mem::transmute_copy(&pushsettings)) { @@ -330,7 +330,7 @@ pub trait ISettingsIdentity_Impl: Sized { impl windows_core::RuntimeName for ISettingsIdentity {} impl ISettingsIdentity_Vtbl { pub const fn new, Impl: ISettingsIdentity_Impl, const OFFSET: isize>() -> ISettingsIdentity_Vtbl { - unsafe extern "system" fn GetAttribute, Impl: ISettingsIdentity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reserved: *const core::ffi::c_void, name: windows_core::PCWSTR, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttribute, Impl: ISettingsIdentity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reserved: *const core::ffi::c_void, name: windows_core::PCWSTR, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsIdentity_Impl::GetAttribute(this, core::mem::transmute_copy(&reserved), core::mem::transmute(&name)) { @@ -401,7 +401,7 @@ pub trait ISettingsItem_Impl: Sized { impl windows_core::RuntimeName for ISettingsItem {} impl ISettingsItem_Vtbl { pub const fn new, Impl: ISettingsItem_Impl, const OFFSET: isize>() -> ISettingsItem_Vtbl { - unsafe extern "system" fn GetName, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsItem_Impl::GetName(this) { @@ -412,7 +412,7 @@ impl ISettingsItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsItem_Impl::GetValue(this) { @@ -423,7 +423,7 @@ impl ISettingsItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISettingsItem_Impl::SetValue(this, core::mem::transmute_copy(&value)).into() @@ -526,7 +526,7 @@ impl ISettingsItem_Vtbl { let this = (*this).get_impl(); ISettingsItem_Impl::RemoveSettingByPath(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn GetListKeyInformation, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keyname: *mut std::mem::MaybeUninit, datatype: *mut WcmDataType) -> windows_core::HRESULT { + unsafe extern "system" fn GetListKeyInformation, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keyname: *mut core::mem::MaybeUninit, datatype: *mut WcmDataType) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsItem_Impl::GetListKeyInformation(this, core::mem::transmute_copy(&keyname)) { @@ -537,7 +537,7 @@ impl ISettingsItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateListElement, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keydata: *const std::mem::MaybeUninit, child: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateListElement, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, keydata: *const core::mem::MaybeUninit, child: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsItem_Impl::CreateListElement(this, core::mem::transmute_copy(&keydata)) { @@ -564,7 +564,7 @@ impl ISettingsItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAttribute, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: windows_core::PCWSTR, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttribute, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: windows_core::PCWSTR, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsItem_Impl::GetAttribute(this, core::mem::transmute(&name)) { @@ -575,7 +575,7 @@ impl ISettingsItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPath, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPath, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsItem_Impl::GetPath(this) { @@ -597,7 +597,7 @@ impl ISettingsItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRestriction, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, restrictionfacet: WcmRestrictionFacets, facetdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRestriction, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, restrictionfacet: WcmRestrictionFacets, facetdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsItem_Impl::GetRestriction(this, core::mem::transmute_copy(&restrictionfacet)) { @@ -608,7 +608,7 @@ impl ISettingsItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetKeyValue, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetKeyValue, Impl: ISettingsItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsItem_Impl::GetKeyValue(this) { @@ -721,7 +721,7 @@ impl ISettingsNamespace_Vtbl { let this = (*this).get_impl(); ISettingsNamespace_Impl::RemoveSettingByPath(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn GetAttribute, Impl: ISettingsNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: windows_core::PCWSTR, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttribute, Impl: ISettingsNamespace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: windows_core::PCWSTR, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsNamespace_Impl::GetAttribute(this, core::mem::transmute(&name)) { @@ -758,7 +758,7 @@ pub trait ISettingsResult_Impl: Sized { impl windows_core::RuntimeName for ISettingsResult {} impl ISettingsResult_Vtbl { pub const fn new, Impl: ISettingsResult_Impl, const OFFSET: isize>() -> ISettingsResult_Vtbl { - unsafe extern "system" fn GetDescription, Impl: ISettingsResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: ISettingsResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsResult_Impl::GetDescription(this) { @@ -780,7 +780,7 @@ impl ISettingsResult_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetContextDescription, Impl: ISettingsResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetContextDescription, Impl: ISettingsResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsResult_Impl::GetContextDescription(this) { @@ -813,7 +813,7 @@ impl ISettingsResult_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSource, Impl: ISettingsResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSource, Impl: ISettingsResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISettingsResult_Impl::GetSource(this) { @@ -880,7 +880,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); ITargetInfo_Impl::SetTargetMode(this, core::mem::transmute_copy(&targetmode)).into() } - unsafe extern "system" fn GetTemporaryStoreLocation, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, temporarystorelocation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTemporaryStoreLocation, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, temporarystorelocation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITargetInfo_Impl::GetTemporaryStoreLocation(this) { @@ -896,7 +896,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); ITargetInfo_Impl::SetTemporaryStoreLocation(this, core::mem::transmute(&temporarystorelocation)).into() } - unsafe extern "system" fn GetTargetID, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTargetID, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITargetInfo_Impl::GetTargetID(this) { @@ -912,7 +912,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); ITargetInfo_Impl::SetTargetID(this, core::mem::transmute(&targetid)).into() } - unsafe extern "system" fn GetTargetProcessorArchitecture, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, processorarchitecture: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTargetProcessorArchitecture, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, processorarchitecture: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITargetInfo_Impl::GetTargetProcessorArchitecture(this) { @@ -928,7 +928,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); ITargetInfo_Impl::SetTargetProcessorArchitecture(this, core::mem::transmute(&processorarchitecture)).into() } - unsafe extern "system" fn GetProperty, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offline: super::super::Foundation::BOOL, property: windows_core::PCWSTR, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offline: super::super::Foundation::BOOL, property: windows_core::PCWSTR, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITargetInfo_Impl::GetProperty(this, core::mem::transmute_copy(&offline), core::mem::transmute(&property)) { @@ -955,7 +955,7 @@ impl ITargetInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExpandTarget, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offline: super::super::Foundation::BOOL, location: windows_core::PCWSTR, expandedlocation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExpandTarget, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offline: super::super::Foundation::BOOL, location: windows_core::PCWSTR, expandedlocation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITargetInfo_Impl::ExpandTarget(this, core::mem::transmute_copy(&offline), core::mem::transmute(&location)) { @@ -966,7 +966,7 @@ impl ITargetInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExpandTargetPath, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offline: super::super::Foundation::BOOL, location: windows_core::PCWSTR, expandedlocation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExpandTargetPath, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, offline: super::super::Foundation::BOOL, location: windows_core::PCWSTR, expandedlocation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITargetInfo_Impl::ExpandTargetPath(this, core::mem::transmute_copy(&offline), core::mem::transmute(&location)) { @@ -998,7 +998,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); ITargetInfo_Impl::SetWow64Context(this, core::mem::transmute(&installermodule), core::mem::transmute_copy(&wow64context)).into() } - unsafe extern "system" fn TranslateWow64, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clientarchitecture: windows_core::PCWSTR, value: windows_core::PCWSTR, translatedvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TranslateWow64, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clientarchitecture: windows_core::PCWSTR, value: windows_core::PCWSTR, translatedvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITargetInfo_Impl::TranslateWow64(this, core::mem::transmute(&clientarchitecture), core::mem::transmute(&value)) { @@ -1014,7 +1014,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); ITargetInfo_Impl::SetSchemaHiveLocation(this, core::mem::transmute(&pwzhivedir)).into() } - unsafe extern "system" fn GetSchemaHiveLocation, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phivelocation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSchemaHiveLocation, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phivelocation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITargetInfo_Impl::GetSchemaHiveLocation(this) { @@ -1030,7 +1030,7 @@ impl ITargetInfo_Vtbl { let this = (*this).get_impl(); ITargetInfo_Impl::SetSchemaHiveMountName(this, core::mem::transmute(&pwzmountname)).into() } - unsafe extern "system" fn GetSchemaHiveMountName, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pmountname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSchemaHiveMountName, Impl: ITargetInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pmountname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITargetInfo_Impl::GetSchemaHiveMountName(this) { 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 a72f16fbec..9e0789d6f4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs @@ -2,17 +2,17 @@ windows_core::imp::define_interface!(IItemEnumerator, IItemEnumerator_Vtbl, 0x9f impl std::ops::Deref for IItemEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IItemEnumerator, windows_core::IUnknown); impl IItemEnumerator { pub unsafe fn Current(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Current)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MoveNext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -22,7 +22,7 @@ impl IItemEnumerator { #[repr(C)] pub struct IItemEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Current: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Current: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -30,7 +30,7 @@ windows_core::imp::define_interface!(ISettingsContext, ISettingsContext_Vtbl, 0x impl std::ops::Deref for ISettingsContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISettingsContext, windows_core::IUnknown); @@ -49,18 +49,18 @@ impl ISettingsContext { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Deserialize)(windows_core::Interface::as_raw(self), pstream.param().abi(), ptarget.param().abi(), pppresults, &mut result__).map(|| result__) } pub unsafe fn SetUserData(&self, puserdata: *const core::ffi::c_void) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetUserData)(windows_core::Interface::as_raw(self), puserdata).ok() } pub unsafe fn GetUserData(&self) -> windows_core::Result<*mut core::ffi::c_void> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNamespaces(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamespaces)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStoredSettings(&self, pidentity: P0, ppaddedsettings: *mut Option, ppmodifiedsettings: *mut Option, ppdeletedsettings: *mut Option) -> windows_core::Result<()> @@ -98,32 +98,32 @@ windows_core::imp::define_interface!(ISettingsEngine, ISettingsEngine_Vtbl, 0x9f impl std::ops::Deref for ISettingsEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamespaces)(windows_core::Interface::as_raw(self), flags, reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNamespace(&self, settingsid: P0, access: WcmNamespaceAccess, reserved: *const core::ffi::c_void) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamespace)(windows_core::Interface::as_raw(self), settingsid.param().abi(), access, reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetErrorDescription(&self, hresult: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorDescription)(windows_core::Interface::as_raw(self), hresult, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSettingsIdentity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSettingsIdentity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStoreStatus(&self, reserved: *const core::ffi::c_void) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStoreStatus)(windows_core::Interface::as_raw(self), reserved, &mut result__).map(|| result__) } pub unsafe fn LoadStore(&self, flags: u32) -> windows_core::Result<()> { @@ -139,7 +139,7 @@ impl ISettingsEngine { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterNamespace)(windows_core::Interface::as_raw(self), settingsid.param().abi(), stream.param().abi(), pushsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnregisterNamespace(&self, settingsid: P0, removesettings: P1) -> windows_core::Result<()> @@ -150,11 +150,11 @@ impl ISettingsEngine { (windows_core::Interface::vtable(self).UnregisterNamespace)(windows_core::Interface::as_raw(self), settingsid.param().abi(), removesettings.param().abi()).ok() } pub unsafe fn CreateTargetInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTargetInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTargetInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTargetInfo(&self, target: P0) -> windows_core::Result<()> @@ -164,7 +164,7 @@ impl ISettingsEngine { (windows_core::Interface::vtable(self).SetTargetInfo)(windows_core::Interface::as_raw(self), target.param().abi()).ok() } pub unsafe fn CreateSettingsContext(&self, flags: u32, reserved: *const core::ffi::c_void) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSettingsContext)(windows_core::Interface::as_raw(self), flags, reserved, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSettingsContext(&self, settingscontext: P0) -> windows_core::Result<()> @@ -177,11 +177,11 @@ impl ISettingsEngine { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplySettingsContext)(windows_core::Interface::as_raw(self), settingscontext.param().abi(), pppwzidentities, &mut result__).map(|| result__) } pub unsafe fn GetSettingsContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSettingsContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -190,13 +190,13 @@ pub struct ISettingsEngine_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNamespaces: unsafe extern "system" fn(*mut core::ffi::c_void, WcmNamespaceEnumerationFlags, *const core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WcmNamespaceAccess, *const core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CreateSettingsIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStoreStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *mut WcmUserStatus) -> windows_core::HRESULT, pub LoadStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub UnloadStore: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub RegisterNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RegisterNamespace: usize, pub UnregisterNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -212,7 +212,7 @@ windows_core::imp::define_interface!(ISettingsIdentity, ISettingsIdentity_Vtbl, impl std::ops::Deref for ISettingsIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISettingsIdentity, windows_core::IUnknown); @@ -221,7 +221,7 @@ impl ISettingsIdentity { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttribute)(windows_core::Interface::as_raw(self), reserved, name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAttribute(&self, reserved: *const core::ffi::c_void, name: P0, value: P1) -> windows_core::Result<()> @@ -232,7 +232,7 @@ impl ISettingsIdentity { (windows_core::Interface::vtable(self).SetAttribute)(windows_core::Interface::as_raw(self), reserved, name.param().abi(), value.param().abi()).ok() } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFlags(&self, flags: u32) -> windows_core::Result<()> { @@ -242,7 +242,7 @@ impl ISettingsIdentity { #[repr(C)] pub struct ISettingsIdentity_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, @@ -251,64 +251,64 @@ windows_core::imp::define_interface!(ISettingsItem, ISettingsItem_Vtbl, 0x9f7d7b impl std::ops::Deref for ISettingsItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISettingsItem, windows_core::IUnknown); impl ISettingsItem { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, value: *const windows_core::VARIANT) -> windows_core::Result<()> { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSettingType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValueRaw(&self, data: *mut *mut u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValueRaw)(windows_core::Interface::as_raw(self), data, &mut result__).map(|| result__) } pub unsafe fn SetValueRaw(&self, datatype: i32, data: &[u8]) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetValueRaw)(windows_core::Interface::as_raw(self), datatype, core::mem::transmute(data.as_ptr()), data.len().try_into().unwrap()).ok() } pub unsafe fn HasChild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasChild)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Children(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Children)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetChild(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChild)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSettingByPath(&self, path: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSettingByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSettingByPath(&self, path: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSettingByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveSettingByPath(&self, path: P0) -> windows_core::Result<()> @@ -318,11 +318,11 @@ impl ISettingsItem { (windows_core::Interface::vtable(self).RemoveSettingByPath)(windows_core::Interface::as_raw(self), path.param().abi()).ok() } pub unsafe fn GetListKeyInformation(&self, keyname: *mut windows_core::BSTR) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListKeyInformation)(windows_core::Interface::as_raw(self), core::mem::transmute(keyname), &mut result__).map(|| result__) } pub unsafe fn CreateListElement(&self, keydata: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateListElement)(windows_core::Interface::as_raw(self), core::mem::transmute(keydata), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveListElement(&self, elementname: P0) -> windows_core::Result<()> @@ -332,39 +332,39 @@ impl ISettingsItem { (windows_core::Interface::vtable(self).RemoveListElement)(windows_core::Interface::as_raw(self), elementname.param().abi()).ok() } pub unsafe fn Attributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Attributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAttribute(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttribute)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRestrictionFacets(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestrictionFacets)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRestriction(&self, restrictionfacet: WcmRestrictionFacets) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestriction)(windows_core::Interface::as_raw(self), restrictionfacet, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetKeyValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ISettingsItem_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSettingType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WcmSettingType) -> windows_core::HRESULT, pub GetDataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WcmDataType) -> windows_core::HRESULT, pub GetValueRaw: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, @@ -375,52 +375,52 @@ pub struct ISettingsItem_Vtbl { pub GetSettingByPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSettingByPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveSettingByPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetListKeyInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut WcmDataType) -> windows_core::HRESULT, - pub CreateListElement: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetListKeyInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut WcmDataType) -> windows_core::HRESULT, + pub CreateListElement: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveListElement: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Attributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetRestrictionFacets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WcmRestrictionFacets) -> windows_core::HRESULT, - pub GetRestriction: unsafe extern "system" fn(*mut core::ffi::c_void, WcmRestrictionFacets, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetKeyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRestriction: unsafe extern "system" fn(*mut core::ffi::c_void, WcmRestrictionFacets, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetKeyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISettingsNamespace, ISettingsNamespace_Vtbl, 0x9f7d7bba_20b3_11da_81a5_0030f1642e3c); impl std::ops::Deref for ISettingsNamespace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISettingsNamespace, windows_core::IUnknown); impl ISettingsNamespace { pub unsafe fn GetIdentity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIdentity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Settings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Settings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Save(&self, pushsettings: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), pushsettings.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSettingByPath(&self, path: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSettingByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSettingByPath(&self, path: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSettingByPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveSettingByPath(&self, path: P0) -> windows_core::Result<()> @@ -433,7 +433,7 @@ impl ISettingsNamespace { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttribute)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -446,70 +446,70 @@ pub struct ISettingsNamespace_Vtbl { pub GetSettingByPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSettingByPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveSettingByPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISettingsResult, ISettingsResult_Vtbl, 0x9f7d7bbc_20b3_11da_81a5_0030f1642e3c); impl std::ops::Deref for ISettingsResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISettingsResult, windows_core::IUnknown); impl ISettingsResult { pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetErrorCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContextDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContextDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLine)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetColumn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumn)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ISettingsResult_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, - pub GetContextDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetContextDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetColumn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetInfo, ITargetInfo_Vtbl, 0x9f7d7bb8_20b3_11da_81a5_0030f1642e3c); impl std::ops::Deref for ITargetInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITargetInfo, windows_core::IUnknown); impl ITargetInfo { pub unsafe fn GetTargetMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTargetMode(&self, targetmode: WcmTargetMode) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetTargetMode)(windows_core::Interface::as_raw(self), targetmode).ok() } pub unsafe fn GetTemporaryStoreLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTemporaryStoreLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTemporaryStoreLocation(&self, temporarystorelocation: P0) -> windows_core::Result<()> @@ -519,14 +519,14 @@ impl ITargetInfo { (windows_core::Interface::vtable(self).SetTemporaryStoreLocation)(windows_core::Interface::as_raw(self), temporarystorelocation.param().abi()).ok() } pub unsafe fn GetTargetID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTargetID(&self, targetid: windows_core::GUID) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetTargetID)(windows_core::Interface::as_raw(self), core::mem::transmute(targetid)).ok() } pub unsafe fn GetTargetProcessorArchitecture(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetProcessorArchitecture)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTargetProcessorArchitecture(&self, processorarchitecture: P0) -> windows_core::Result<()> @@ -540,7 +540,7 @@ impl ITargetInfo { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), offline.param().abi(), property.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetProperty(&self, offline: P0, property: P1, value: P2) -> windows_core::Result<()> @@ -552,7 +552,7 @@ impl ITargetInfo { (windows_core::Interface::vtable(self).SetProperty)(windows_core::Interface::as_raw(self), offline.param().abi(), property.param().abi(), value.param().abi()).ok() } pub unsafe fn GetEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExpandTarget(&self, offline: P0, location: P1) -> windows_core::Result @@ -560,7 +560,7 @@ impl ITargetInfo { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpandTarget)(windows_core::Interface::as_raw(self), offline.param().abi(), location.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExpandTargetPath(&self, offline: P0, location: P1) -> windows_core::Result @@ -568,7 +568,7 @@ impl ITargetInfo { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpandTargetPath)(windows_core::Interface::as_raw(self), offline.param().abi(), location.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetModulePath(&self, module: P0, path: P1) -> windows_core::Result<()> @@ -582,7 +582,7 @@ impl ITargetInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadModule)(windows_core::Interface::as_raw(self), module.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetWow64Context(&self, installermodule: P0, wow64context: *const u8) -> windows_core::Result<()> @@ -596,7 +596,7 @@ impl ITargetInfo { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TranslateWow64)(windows_core::Interface::as_raw(self), clientarchitecture.param().abi(), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSchemaHiveLocation(&self, pwzhivedir: P0) -> windows_core::Result<()> @@ -606,7 +606,7 @@ impl ITargetInfo { (windows_core::Interface::vtable(self).SetSchemaHiveLocation)(windows_core::Interface::as_raw(self), pwzhivedir.param().abi()).ok() } pub unsafe fn GetSchemaHiveLocation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSchemaHiveLocation)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSchemaHiveMountName(&self, pwzmountname: P0) -> windows_core::Result<()> @@ -616,7 +616,7 @@ impl ITargetInfo { (windows_core::Interface::vtable(self).SetSchemaHiveMountName)(windows_core::Interface::as_raw(self), pwzmountname.param().abi()).ok() } pub unsafe fn GetSchemaHiveMountName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSchemaHiveMountName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -625,25 +625,25 @@ pub struct ITargetInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetTargetMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WcmTargetMode) -> windows_core::HRESULT, pub SetTargetMode: unsafe extern "system" fn(*mut core::ffi::c_void, WcmTargetMode) -> windows_core::HRESULT, - pub GetTemporaryStoreLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTemporaryStoreLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetTemporaryStoreLocation: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetTargetID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTargetID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetTargetID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, - pub GetTargetProcessorArchitecture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTargetProcessorArchitecture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetTargetProcessorArchitecture: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExpandTarget: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExpandTargetPath: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExpandTarget: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExpandTargetPath: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetModulePath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub LoadModule: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::HMODULE) -> windows_core::HRESULT, pub SetWow64Context: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8) -> windows_core::HRESULT, - pub TranslateWow64: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TranslateWow64: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetSchemaHiveLocation: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetSchemaHiveLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSchemaHiveLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetSchemaHiveMountName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub GetSchemaHiveMountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSchemaHiveMountName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub const AllEnumeration: WcmNamespaceEnumerationFlags = WcmNamespaceEnumerationFlags(3i32); pub const LIMITED_VALIDATION_MODE: u32 = 1u32; diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs index 4bae08f604..97367470e7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs @@ -27,7 +27,7 @@ impl windows_core::RuntimeName for ISideShowCapabilities {} #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl ISideShowCapabilities_Vtbl { pub const fn new, Impl: ISideShowCapabilities_Impl, const OFFSET: isize>() -> ISideShowCapabilities_Vtbl { - unsafe extern "system" fn GetCapability, Impl: ISideShowCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCapability, Impl: ISideShowCapabilities_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISideShowCapabilities_Impl::GetCapability(this, core::mem::transmute_copy(&in_keycapability), core::mem::transmute_copy(&inout_pvalue)).into() @@ -435,7 +435,7 @@ pub trait ISideShowPropVariantCollection_Impl: Sized { impl windows_core::RuntimeName for ISideShowPropVariantCollection {} impl ISideShowPropVariantCollection_Vtbl { pub const fn new, Impl: ISideShowPropVariantCollection_Impl, const OFFSET: isize>() -> ISideShowPropVariantCollection_Vtbl { - unsafe extern "system" fn Add, Impl: ISideShowPropVariantCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ISideShowPropVariantCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISideShowPropVariantCollection_Impl::Add(this, core::mem::transmute_copy(&pvalue)).into() @@ -445,7 +445,7 @@ impl ISideShowPropVariantCollection_Vtbl { let this = (*this).get_impl(); ISideShowPropVariantCollection_Impl::Clear(this).into() } - unsafe extern "system" fn GetAt, Impl: ISideShowPropVariantCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: u32, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAt, Impl: ISideShowPropVariantCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dwindex: u32, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISideShowPropVariantCollection_Impl::GetAt(this, core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&pvalue)).into() 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 bb5191f0ab..e487e3d5ef 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ISideShowBulkCapabilities, ISideShowBulkCap impl std::ops::Deref for ISideShowBulkCapabilities { type Target = ISideShowCapabilities; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowBulkCapabilities, windows_core::IUnknown, ISideShowCapabilities); @@ -23,7 +23,7 @@ windows_core::imp::define_interface!(ISideShowCapabilities, ISideShowCapabilitie impl std::ops::Deref for ISideShowCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowCapabilities, windows_core::IUnknown); @@ -37,7 +37,7 @@ impl ISideShowCapabilities { pub struct ISideShowCapabilities_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetCapability: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCapability: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetCapability: usize, } @@ -45,17 +45,17 @@ windows_core::imp::define_interface!(ISideShowCapabilitiesCollection, ISideShowC impl std::ops::Deref for ISideShowCapabilitiesCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowCapabilitiesCollection, windows_core::IUnknown); impl ISideShowCapabilitiesCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, in_dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), in_dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -69,7 +69,7 @@ windows_core::imp::define_interface!(ISideShowContent, ISideShowContent_Vtbl, 0x impl std::ops::Deref for ISideShowContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowContent, windows_core::IUnknown); @@ -81,11 +81,11 @@ impl ISideShowContent { (windows_core::Interface::vtable(self).GetContent)(windows_core::Interface::as_raw(self), in_picapabilities.param().abi(), out_pdwsize, out_ppbdata).ok() } pub unsafe fn ContentId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContentId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DifferentiateContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DifferentiateContent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -100,7 +100,7 @@ windows_core::imp::define_interface!(ISideShowContentManager, ISideShowContentMa impl std::ops::Deref for ISideShowContentManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowContentManager, windows_core::IUnknown); @@ -124,7 +124,7 @@ impl ISideShowContentManager { (windows_core::Interface::vtable(self).SetEventSink)(windows_core::Interface::as_raw(self), in_pievents.param().abi()).ok() } pub unsafe fn GetDeviceCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceCapabilities)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -141,13 +141,13 @@ windows_core::imp::define_interface!(ISideShowEvents, ISideShowEvents_Vtbl, 0x61 impl std::ops::Deref for ISideShowEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowEvents, windows_core::IUnknown); impl ISideShowEvents { pub unsafe fn ContentMissing(&self, in_contentid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContentMissing)(windows_core::Interface::as_raw(self), in_contentid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ApplicationEvent(&self, in_picapabilities: P0, in_dweventid: u32, in_pbeventdata: Option<&[u8]>) -> windows_core::Result<()> @@ -181,7 +181,7 @@ windows_core::imp::define_interface!(ISideShowKeyCollection, ISideShowKeyCollect impl std::ops::Deref for ISideShowKeyCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowKeyCollection, windows_core::IUnknown); @@ -223,20 +223,20 @@ windows_core::imp::define_interface!(ISideShowNotification, ISideShowNotificatio impl std::ops::Deref for ISideShowNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowNotification, windows_core::IUnknown); impl ISideShowNotification { pub unsafe fn NotificationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NotificationId)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTitle(&self, in_pwsztitle: P0) -> windows_core::Result<()> @@ -246,7 +246,7 @@ impl ISideShowNotification { (windows_core::Interface::vtable(self).SetTitle)(windows_core::Interface::as_raw(self), in_pwsztitle.param().abi()).ok() } pub unsafe fn Message(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Message)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMessage(&self, in_pwszmessage: P0) -> windows_core::Result<()> @@ -257,7 +257,7 @@ impl ISideShowNotification { } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn Image(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Image)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -268,7 +268,7 @@ impl ISideShowNotification { (windows_core::Interface::vtable(self).SetImage)(windows_core::Interface::as_raw(self), in_hicon.param().abi()).ok() } pub unsafe fn ExpirationTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpirationTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExpirationTime(&self, in_ptime: Option<*const super::super::Foundation::SYSTEMTIME>) -> windows_core::Result<()> { @@ -299,7 +299,7 @@ windows_core::imp::define_interface!(ISideShowNotificationManager, ISideShowNoti impl std::ops::Deref for ISideShowNotificationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowNotificationManager, windows_core::IUnknown); @@ -328,7 +328,7 @@ windows_core::imp::define_interface!(ISideShowPropVariantCollection, ISideShowPr impl std::ops::Deref for ISideShowPropVariantCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISideShowPropVariantCollection, windows_core::IUnknown); @@ -352,9 +352,9 @@ impl ISideShowPropVariantCollection { #[repr(C)] pub struct ISideShowPropVariantCollection_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32) -> windows_core::HRESULT, pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } @@ -362,17 +362,17 @@ windows_core::imp::define_interface!(ISideShowSession, ISideShowSession_Vtbl, 0x impl std::ops::Deref for ISideShowSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterContent)(windows_core::Interface::as_raw(self), in_applicationid, in_endpointid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterNotifications(&self, in_applicationid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterNotifications)(windows_core::Interface::as_raw(self), in_applicationid, &mut result__).and_then(|| windows_core::Type::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 5a73d2f1a9..7a3919ca51 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SubsystemForLinux/mod.rs @@ -33,7 +33,7 @@ where P5: windows_core::Param, { windows_targets::link!("api-ms-win-wsl-api-l1-1-0.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WslLaunch(distributionname.param().abi(), command.param().abi(), usecurrentworkingdirectory.param().abi(), stdin.param().abi(), stdout.param().abi(), stderr.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -44,7 +44,7 @@ where P2: windows_core::Param, { windows_targets::link!("api-ms-win-wsl-api-l1-1-0.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WslLaunchInteractive(distributionname.param().abi(), command.param().abi(), usecurrentworkingdirectory.param().abi(), &mut result__).map(|| result__) } #[inline] 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 cd1759aba7..debc75e2e5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs @@ -34,13 +34,13 @@ pub unsafe fn GetFirmwareType(firmwaretype: *mut FIRMWARE_TYPE) -> windows_core: #[inline] pub unsafe fn GetIntegratedDisplaySize() -> windows_core::Result { windows_targets::link!("api-ms-win-core-sysinfo-l1-2-3.dll" "system" fn GetIntegratedDisplaySize(sizeininches : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetIntegratedDisplaySize(&mut result__).map(|| result__) } #[inline] pub unsafe fn GetLocalTime() -> super::super::Foundation::SYSTEMTIME { windows_targets::link!("kernel32.dll" "system" fn GetLocalTime(lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetLocalTime(&mut result__); result__ } @@ -125,7 +125,7 @@ pub unsafe fn GetSystemLeapSecondInformation(enabled: *mut super::super::Foundat #[inline] pub unsafe fn GetSystemTime() -> super::super::Foundation::SYSTEMTIME { windows_targets::link!("kernel32.dll" "system" fn GetSystemTime(lpsystemtime : *mut super::super::Foundation:: SYSTEMTIME)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetSystemTime(&mut result__); result__ } @@ -142,14 +142,14 @@ pub unsafe fn GetSystemTimeAdjustmentPrecise(lptimeadjustment: *mut u64, lptimei #[inline] pub unsafe fn GetSystemTimeAsFileTime() -> super::super::Foundation::FILETIME { windows_targets::link!("kernel32.dll" "system" fn GetSystemTimeAsFileTime(lpsystemtimeasfiletime : *mut super::super::Foundation:: FILETIME)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetSystemTimeAsFileTime(&mut result__); result__ } #[inline] pub unsafe fn GetSystemTimePreciseAsFileTime() -> super::super::Foundation::FILETIME { windows_targets::link!("kernel32.dll" "system" fn GetSystemTimePreciseAsFileTime(lpsystemtimeasfiletime : *mut super::super::Foundation:: FILETIME)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetSystemTimePreciseAsFileTime(&mut result__); result__ } @@ -236,7 +236,7 @@ pub unsafe fn IsUserCetAvailableInEnvironment(usercetenvironment: USER_CET_ENVIR #[inline] pub unsafe fn IsWow64GuestMachineSupported(wowguestmachine: IMAGE_FILE_MACHINE) -> windows_core::Result { windows_targets::link!("kernel32.dll" "system" fn IsWow64GuestMachineSupported(wowguestmachine : IMAGE_FILE_MACHINE, machineissupported : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IsWow64GuestMachineSupported(wowguestmachine, &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs index 43a1ade79f..73aa5ba9e5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs @@ -9,12 +9,12 @@ impl windows_core::RuntimeName for IAction {} #[cfg(feature = "Win32_System_Com")] impl IAction_Vtbl { pub const fn new, Impl: IAction_Impl, const OFFSET: isize>() -> IAction_Vtbl { - unsafe extern "system" fn Id, Impl: IAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAction_Impl::Id(this, core::mem::transmute_copy(&pid)).into() } - unsafe extern "system" fn SetId, Impl: IAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetId, Impl: IAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAction_Impl::SetId(this, core::mem::transmute(&id)).into() @@ -80,12 +80,12 @@ impl IActionCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn XmlText, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn XmlText, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActionCollection_Impl::XmlText(this, core::mem::transmute_copy(&ptext)).into() } - unsafe extern "system" fn SetXmlText, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetXmlText, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActionCollection_Impl::SetXmlText(this, core::mem::transmute(&text)).into() @@ -101,7 +101,7 @@ impl IActionCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActionCollection_Impl::Remove(this, core::mem::transmute(&index)).into() @@ -111,12 +111,12 @@ impl IActionCollection_Vtbl { let this = (*this).get_impl(); IActionCollection_Impl::Clear(this).into() } - unsafe extern "system" fn Context, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Context, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActionCollection_Impl::Context(this, core::mem::transmute_copy(&pcontext)).into() } - unsafe extern "system" fn SetContext, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetContext, Impl: IActionCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IActionCollection_Impl::SetContext(this, core::mem::transmute(&context)).into() @@ -149,12 +149,12 @@ impl windows_core::RuntimeName for IBootTrigger {} #[cfg(feature = "Win32_System_Com")] impl IBootTrigger_Vtbl { pub const fn new, Impl: IBootTrigger_Impl, const OFFSET: isize>() -> IBootTrigger_Vtbl { - unsafe extern "system" fn Delay, Impl: IBootTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Delay, Impl: IBootTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBootTrigger_Impl::Delay(this, core::mem::transmute_copy(&pdelay)).into() } - unsafe extern "system" fn SetDelay, Impl: IBootTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDelay, Impl: IBootTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBootTrigger_Impl::SetDelay(this, core::mem::transmute(&delay)).into() @@ -177,22 +177,22 @@ impl windows_core::RuntimeName for IComHandlerAction {} #[cfg(feature = "Win32_System_Com")] impl IComHandlerAction_Vtbl { pub const fn new, Impl: IComHandlerAction_Impl, const OFFSET: isize>() -> IComHandlerAction_Vtbl { - unsafe extern "system" fn ClassId, Impl: IComHandlerAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pclsid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClassId, Impl: IComHandlerAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pclsid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComHandlerAction_Impl::ClassId(this, core::mem::transmute_copy(&pclsid)).into() } - unsafe extern "system" fn SetClassId, Impl: IComHandlerAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClassId, Impl: IComHandlerAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, clsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComHandlerAction_Impl::SetClassId(this, core::mem::transmute(&clsid)).into() } - unsafe extern "system" fn Data, Impl: IComHandlerAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Data, Impl: IComHandlerAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComHandlerAction_Impl::Data(this, core::mem::transmute_copy(&pdata)).into() } - unsafe extern "system" fn SetData, Impl: IComHandlerAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetData, Impl: IComHandlerAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComHandlerAction_Impl::SetData(this, core::mem::transmute(&data)).into() @@ -231,12 +231,12 @@ impl IDailyTrigger_Vtbl { let this = (*this).get_impl(); IDailyTrigger_Impl::SetDaysInterval(this, core::mem::transmute_copy(&days)).into() } - unsafe extern "system" fn RandomDelay, Impl: IDailyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RandomDelay, Impl: IDailyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDailyTrigger_Impl::RandomDelay(this, core::mem::transmute_copy(&prandomdelay)).into() } - unsafe extern "system" fn SetRandomDelay, Impl: IDailyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRandomDelay, Impl: IDailyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDailyTrigger_Impl::SetRandomDelay(this, core::mem::transmute(&randomdelay)).into() @@ -281,72 +281,72 @@ impl windows_core::RuntimeName for IEmailAction {} #[cfg(feature = "Win32_System_Com")] impl IEmailAction_Vtbl { pub const fn new, Impl: IEmailAction_Impl, const OFFSET: isize>() -> IEmailAction_Vtbl { - unsafe extern "system" fn Server, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pserver: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Server, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pserver: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::Server(this, core::mem::transmute_copy(&pserver)).into() } - unsafe extern "system" fn SetServer, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServer, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, server: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::SetServer(this, core::mem::transmute(&server)).into() } - unsafe extern "system" fn Subject, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psubject: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Subject, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psubject: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::Subject(this, core::mem::transmute_copy(&psubject)).into() } - unsafe extern "system" fn SetSubject, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subject: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubject, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subject: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::SetSubject(this, core::mem::transmute(&subject)).into() } - unsafe extern "system" fn To, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pto: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn To, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pto: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::To(this, core::mem::transmute_copy(&pto)).into() } - unsafe extern "system" fn SetTo, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, to: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTo, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, to: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::SetTo(this, core::mem::transmute(&to)).into() } - unsafe extern "system" fn Cc, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Cc, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::Cc(this, core::mem::transmute_copy(&pcc)).into() } - unsafe extern "system" fn SetCc, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cc: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCc, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cc: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::SetCc(this, core::mem::transmute(&cc)).into() } - unsafe extern "system" fn Bcc, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbcc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Bcc, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbcc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::Bcc(this, core::mem::transmute_copy(&pbcc)).into() } - unsafe extern "system" fn SetBcc, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bcc: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBcc, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bcc: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::SetBcc(this, core::mem::transmute(&bcc)).into() } - unsafe extern "system" fn ReplyTo, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, preplyto: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReplyTo, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, preplyto: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::ReplyTo(this, core::mem::transmute_copy(&preplyto)).into() } - unsafe extern "system" fn SetReplyTo, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, replyto: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetReplyTo, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, replyto: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::SetReplyTo(this, core::mem::transmute(&replyto)).into() } - unsafe extern "system" fn From, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfrom: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn From, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfrom: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::From(this, core::mem::transmute_copy(&pfrom)).into() } - unsafe extern "system" fn SetFrom, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, from: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFrom, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, from: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::SetFrom(this, core::mem::transmute(&from)).into() @@ -367,12 +367,12 @@ impl IEmailAction_Vtbl { let this = (*this).get_impl(); IEmailAction_Impl::SetHeaderFields(this, windows_core::from_raw_borrowed(&pheaderfields)).into() } - unsafe extern "system" fn Body, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Body, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::Body(this, core::mem::transmute_copy(&pbody)).into() } - unsafe extern "system" fn SetBody, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetBody, Impl: IEmailAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, body: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEmailAction_Impl::SetBody(this, core::mem::transmute(&body)).into() @@ -476,22 +476,22 @@ impl windows_core::RuntimeName for IEventTrigger {} #[cfg(feature = "Win32_System_Com")] impl IEventTrigger_Vtbl { pub const fn new, Impl: IEventTrigger_Impl, const OFFSET: isize>() -> IEventTrigger_Vtbl { - unsafe extern "system" fn Subscription, Impl: IEventTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pquery: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Subscription, Impl: IEventTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pquery: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventTrigger_Impl::Subscription(this, core::mem::transmute_copy(&pquery)).into() } - unsafe extern "system" fn SetSubscription, Impl: IEventTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, query: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSubscription, Impl: IEventTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, query: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventTrigger_Impl::SetSubscription(this, core::mem::transmute(&query)).into() } - unsafe extern "system" fn Delay, Impl: IEventTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Delay, Impl: IEventTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventTrigger_Impl::Delay(this, core::mem::transmute_copy(&pdelay)).into() } - unsafe extern "system" fn SetDelay, Impl: IEventTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDelay, Impl: IEventTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEventTrigger_Impl::SetDelay(this, core::mem::transmute(&delay)).into() @@ -540,32 +540,32 @@ impl windows_core::RuntimeName for IExecAction {} #[cfg(feature = "Win32_System_Com")] impl IExecAction_Vtbl { pub const fn new, Impl: IExecAction_Impl, const OFFSET: isize>() -> IExecAction_Vtbl { - unsafe extern "system" fn Path, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IExecAction_Impl::Path(this, core::mem::transmute_copy(&ppath)).into() } - unsafe extern "system" fn SetPath, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPath, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IExecAction_Impl::SetPath(this, core::mem::transmute(&path)).into() } - unsafe extern "system" fn Arguments, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pargument: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Arguments, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pargument: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IExecAction_Impl::Arguments(this, core::mem::transmute_copy(&pargument)).into() } - unsafe extern "system" fn SetArguments, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, argument: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetArguments, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, argument: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IExecAction_Impl::SetArguments(this, core::mem::transmute(&argument)).into() } - unsafe extern "system" fn WorkingDirectory, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pworkingdirectory: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WorkingDirectory, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pworkingdirectory: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IExecAction_Impl::WorkingDirectory(this, core::mem::transmute_copy(&pworkingdirectory)).into() } - unsafe extern "system" fn SetWorkingDirectory, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, workingdirectory: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetWorkingDirectory, Impl: IExecAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, workingdirectory: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IExecAction_Impl::SetWorkingDirectory(this, core::mem::transmute(&workingdirectory)).into() @@ -630,22 +630,22 @@ impl windows_core::RuntimeName for IIdleSettings {} #[cfg(feature = "Win32_System_Com")] impl IIdleSettings_Vtbl { pub const fn new, Impl: IIdleSettings_Impl, const OFFSET: isize>() -> IIdleSettings_Vtbl { - unsafe extern "system" fn IdleDuration, Impl: IIdleSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IdleDuration, Impl: IIdleSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IIdleSettings_Impl::IdleDuration(this, core::mem::transmute_copy(&pdelay)).into() } - unsafe extern "system" fn SetIdleDuration, Impl: IIdleSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetIdleDuration, Impl: IIdleSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IIdleSettings_Impl::SetIdleDuration(this, core::mem::transmute(&delay)).into() } - unsafe extern "system" fn WaitTimeout, Impl: IIdleSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptimeout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WaitTimeout, Impl: IIdleSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptimeout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IIdleSettings_Impl::WaitTimeout(this, core::mem::transmute_copy(&ptimeout)).into() } - unsafe extern "system" fn SetWaitTimeout, Impl: IIdleSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timeout: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetWaitTimeout, Impl: IIdleSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timeout: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IIdleSettings_Impl::SetWaitTimeout(this, core::mem::transmute(&timeout)).into() @@ -711,22 +711,22 @@ impl windows_core::RuntimeName for ILogonTrigger {} #[cfg(feature = "Win32_System_Com")] impl ILogonTrigger_Vtbl { pub const fn new, Impl: ILogonTrigger_Impl, const OFFSET: isize>() -> ILogonTrigger_Vtbl { - unsafe extern "system" fn Delay, Impl: ILogonTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Delay, Impl: ILogonTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILogonTrigger_Impl::Delay(this, core::mem::transmute_copy(&pdelay)).into() } - unsafe extern "system" fn SetDelay, Impl: ILogonTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDelay, Impl: ILogonTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILogonTrigger_Impl::SetDelay(this, core::mem::transmute(&delay)).into() } - unsafe extern "system" fn UserId, Impl: ILogonTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserId, Impl: ILogonTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILogonTrigger_Impl::UserId(this, core::mem::transmute_copy(&puser)).into() } - unsafe extern "system" fn SetUserId, Impl: ILogonTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUserId, Impl: ILogonTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILogonTrigger_Impl::SetUserId(this, core::mem::transmute(&user)).into() @@ -757,22 +757,22 @@ impl windows_core::RuntimeName for IMaintenanceSettings {} #[cfg(feature = "Win32_System_Com")] impl IMaintenanceSettings_Vtbl { pub const fn new, Impl: IMaintenanceSettings_Impl, const OFFSET: isize>() -> IMaintenanceSettings_Vtbl { - unsafe extern "system" fn SetPeriod, Impl: IMaintenanceSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPeriod, Impl: IMaintenanceSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMaintenanceSettings_Impl::SetPeriod(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Period, Impl: IMaintenanceSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, target: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Period, Impl: IMaintenanceSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, target: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMaintenanceSettings_Impl::Period(this, core::mem::transmute_copy(&target)).into() } - unsafe extern "system" fn SetDeadline, Impl: IMaintenanceSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDeadline, Impl: IMaintenanceSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMaintenanceSettings_Impl::SetDeadline(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn Deadline, Impl: IMaintenanceSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, target: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Deadline, Impl: IMaintenanceSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, target: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMaintenanceSettings_Impl::Deadline(this, core::mem::transmute_copy(&target)).into() @@ -859,12 +859,12 @@ impl IMonthlyDOWTrigger_Vtbl { let this = (*this).get_impl(); IMonthlyDOWTrigger_Impl::SetRunOnLastWeekOfMonth(this, core::mem::transmute_copy(&lastweek)).into() } - unsafe extern "system" fn RandomDelay, Impl: IMonthlyDOWTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RandomDelay, Impl: IMonthlyDOWTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMonthlyDOWTrigger_Impl::RandomDelay(this, core::mem::transmute_copy(&prandomdelay)).into() } - unsafe extern "system" fn SetRandomDelay, Impl: IMonthlyDOWTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRandomDelay, Impl: IMonthlyDOWTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMonthlyDOWTrigger_Impl::SetRandomDelay(this, core::mem::transmute(&randomdelay)).into() @@ -933,12 +933,12 @@ impl IMonthlyTrigger_Vtbl { let this = (*this).get_impl(); IMonthlyTrigger_Impl::SetRunOnLastDayOfMonth(this, core::mem::transmute_copy(&lastday)).into() } - unsafe extern "system" fn RandomDelay, Impl: IMonthlyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RandomDelay, Impl: IMonthlyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMonthlyTrigger_Impl::RandomDelay(this, core::mem::transmute_copy(&prandomdelay)).into() } - unsafe extern "system" fn SetRandomDelay, Impl: IMonthlyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRandomDelay, Impl: IMonthlyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMonthlyTrigger_Impl::SetRandomDelay(this, core::mem::transmute(&randomdelay)).into() @@ -971,22 +971,22 @@ impl windows_core::RuntimeName for INetworkSettings {} #[cfg(feature = "Win32_System_Com")] impl INetworkSettings_Vtbl { pub const fn new, Impl: INetworkSettings_Impl, const OFFSET: isize>() -> INetworkSettings_Vtbl { - unsafe extern "system" fn Name, Impl: INetworkSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: INetworkSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetworkSettings_Impl::Name(this, core::mem::transmute_copy(&pname)).into() } - unsafe extern "system" fn SetName, Impl: INetworkSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: INetworkSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetworkSettings_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn Id, Impl: INetworkSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: INetworkSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetworkSettings_Impl::Id(this, core::mem::transmute_copy(&pid)).into() } - unsafe extern "system" fn SetId, Impl: INetworkSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetId, Impl: INetworkSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INetworkSettings_Impl::SetId(this, core::mem::transmute(&id)).into() @@ -1023,32 +1023,32 @@ impl windows_core::RuntimeName for IPrincipal {} #[cfg(feature = "Win32_System_Com")] impl IPrincipal_Vtbl { pub const fn new, Impl: IPrincipal_Impl, const OFFSET: isize>() -> IPrincipal_Vtbl { - unsafe extern "system" fn Id, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal_Impl::Id(this, core::mem::transmute_copy(&pid)).into() } - unsafe extern "system" fn SetId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal_Impl::SetId(this, core::mem::transmute(&id)).into() } - unsafe extern "system" fn DisplayName, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal_Impl::DisplayName(this, core::mem::transmute_copy(&pname)).into() } - unsafe extern "system" fn SetDisplayName, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal_Impl::SetDisplayName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn UserId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal_Impl::UserId(this, core::mem::transmute_copy(&puser)).into() } - unsafe extern "system" fn SetUserId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUserId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal_Impl::SetUserId(this, core::mem::transmute(&user)).into() @@ -1063,12 +1063,12 @@ impl IPrincipal_Vtbl { let this = (*this).get_impl(); IPrincipal_Impl::SetLogonType(this, core::mem::transmute_copy(&logon)).into() } - unsafe extern "system" fn GroupId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pgroup: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GroupId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pgroup: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal_Impl::GroupId(this, core::mem::transmute_copy(&pgroup)).into() } - unsafe extern "system" fn SetGroupId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, group: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGroupId, Impl: IPrincipal_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, group: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal_Impl::SetGroupId(this, core::mem::transmute(&group)).into() @@ -1131,12 +1131,12 @@ impl IPrincipal2_Vtbl { let this = (*this).get_impl(); IPrincipal2_Impl::RequiredPrivilegeCount(this, core::mem::transmute_copy(&pcount)).into() } - unsafe extern "system" fn get_RequiredPrivilege, Impl: IPrincipal2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pprivilege: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_RequiredPrivilege, Impl: IPrincipal2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, pprivilege: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal2_Impl::get_RequiredPrivilege(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&pprivilege)).into() } - unsafe extern "system" fn AddRequiredPrivilege, Impl: IPrincipal2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, privilege: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddRequiredPrivilege, Impl: IPrincipal2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, privilege: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPrincipal2_Impl::AddRequiredPrivilege(this, core::mem::transmute(&privilege)).into() @@ -1206,7 +1206,7 @@ impl windows_core::RuntimeName for IRegisteredTask {} #[cfg(feature = "Win32_System_Com")] impl IRegisteredTask_Vtbl { pub const fn new, Impl: IRegisteredTask_Impl, const OFFSET: isize>() -> IRegisteredTask_Vtbl { - unsafe extern "system" fn Name, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRegisteredTask_Impl::Name(this) { @@ -1217,7 +1217,7 @@ impl IRegisteredTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRegisteredTask_Impl::Path(this) { @@ -1255,7 +1255,7 @@ impl IRegisteredTask_Vtbl { let this = (*this).get_impl(); IRegisteredTask_Impl::SetEnabled(this, core::mem::transmute_copy(&enabled)).into() } - unsafe extern "system" fn Run, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, params: std::mem::MaybeUninit, pprunningtask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Run, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, params: core::mem::MaybeUninit, pprunningtask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRegisteredTask_Impl::Run(this, core::mem::transmute(¶ms)) { @@ -1266,7 +1266,7 @@ impl IRegisteredTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RunEx, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, params: std::mem::MaybeUninit, flags: i32, sessionid: i32, user: std::mem::MaybeUninit, pprunningtask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RunEx, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, params: core::mem::MaybeUninit, flags: i32, sessionid: i32, user: core::mem::MaybeUninit, pprunningtask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRegisteredTask_Impl::RunEx(this, core::mem::transmute(¶ms), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&sessionid), core::mem::transmute(&user)) { @@ -1343,7 +1343,7 @@ impl IRegisteredTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Xml, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pxml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Xml, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pxml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRegisteredTask_Impl::Xml(this) { @@ -1354,7 +1354,7 @@ impl IRegisteredTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSecurityDescriptor, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securityinformation: i32, psddl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSecurityDescriptor, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securityinformation: i32, psddl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRegisteredTask_Impl::GetSecurityDescriptor(this, core::mem::transmute_copy(&securityinformation)) { @@ -1365,7 +1365,7 @@ impl IRegisteredTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSecurityDescriptor, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sddl: std::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurityDescriptor, Impl: IRegisteredTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sddl: core::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegisteredTask_Impl::SetSecurityDescriptor(this, core::mem::transmute(&sddl), core::mem::transmute_copy(&flags)).into() @@ -1428,7 +1428,7 @@ impl IRegisteredTaskCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IRegisteredTaskCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppregisteredtask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IRegisteredTaskCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppregisteredtask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRegisteredTaskCollection_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -1487,92 +1487,92 @@ impl windows_core::RuntimeName for IRegistrationInfo {} #[cfg(feature = "Win32_System_Com")] impl IRegistrationInfo_Vtbl { pub const fn new, Impl: IRegistrationInfo_Impl, const OFFSET: isize>() -> IRegistrationInfo_Vtbl { - unsafe extern "system" fn Description, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::Description(this, core::mem::transmute_copy(&pdescription)).into() } - unsafe extern "system" fn SetDescription, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SetDescription(this, core::mem::transmute(&description)).into() } - unsafe extern "system" fn Author, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pauthor: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Author, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pauthor: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::Author(this, core::mem::transmute_copy(&pauthor)).into() } - unsafe extern "system" fn SetAuthor, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, author: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAuthor, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, author: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SetAuthor(this, core::mem::transmute(&author)).into() } - unsafe extern "system" fn Version, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pversion: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Version, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pversion: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::Version(this, core::mem::transmute_copy(&pversion)).into() } - unsafe extern "system" fn SetVersion, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetVersion, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, version: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SetVersion(this, core::mem::transmute(&version)).into() } - unsafe extern "system" fn Date, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Date, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::Date(this, core::mem::transmute_copy(&pdate)).into() } - unsafe extern "system" fn SetDate, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, date: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDate, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, date: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SetDate(this, core::mem::transmute(&date)).into() } - unsafe extern "system" fn Documentation, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdocumentation: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Documentation, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdocumentation: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::Documentation(this, core::mem::transmute_copy(&pdocumentation)).into() } - unsafe extern "system" fn SetDocumentation, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, documentation: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDocumentation, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, documentation: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SetDocumentation(this, core::mem::transmute(&documentation)).into() } - unsafe extern "system" fn XmlText, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn XmlText, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::XmlText(this, core::mem::transmute_copy(&ptext)).into() } - unsafe extern "system" fn SetXmlText, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetXmlText, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SetXmlText(this, core::mem::transmute(&text)).into() } - unsafe extern "system" fn URI, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn URI, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::URI(this, core::mem::transmute_copy(&puri)).into() } - unsafe extern "system" fn SetURI, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetURI, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uri: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SetURI(this, core::mem::transmute(&uri)).into() } - unsafe extern "system" fn SecurityDescriptor, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psddl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SecurityDescriptor, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psddl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SecurityDescriptor(this, core::mem::transmute_copy(&psddl)).into() } - unsafe extern "system" fn SetSecurityDescriptor, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sddl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurityDescriptor, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sddl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SetSecurityDescriptor(this, core::mem::transmute(&sddl)).into() } - unsafe extern "system" fn Source, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psource: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Source, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psource: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::Source(this, core::mem::transmute_copy(&psource)).into() } - unsafe extern "system" fn SetSource, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, source: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSource, Impl: IRegistrationInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, source: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationInfo_Impl::SetSource(this, core::mem::transmute(&source)).into() @@ -1613,12 +1613,12 @@ impl windows_core::RuntimeName for IRegistrationTrigger {} #[cfg(feature = "Win32_System_Com")] impl IRegistrationTrigger_Vtbl { pub const fn new, Impl: IRegistrationTrigger_Impl, const OFFSET: isize>() -> IRegistrationTrigger_Vtbl { - unsafe extern "system" fn Delay, Impl: IRegistrationTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Delay, Impl: IRegistrationTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationTrigger_Impl::Delay(this, core::mem::transmute_copy(&pdelay)).into() } - unsafe extern "system" fn SetDelay, Impl: IRegistrationTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDelay, Impl: IRegistrationTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRegistrationTrigger_Impl::SetDelay(this, core::mem::transmute(&delay)).into() @@ -1643,22 +1643,22 @@ impl windows_core::RuntimeName for IRepetitionPattern {} #[cfg(feature = "Win32_System_Com")] impl IRepetitionPattern_Vtbl { pub const fn new, Impl: IRepetitionPattern_Impl, const OFFSET: isize>() -> IRepetitionPattern_Vtbl { - unsafe extern "system" fn Interval, Impl: IRepetitionPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinterval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Interval, Impl: IRepetitionPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinterval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRepetitionPattern_Impl::Interval(this, core::mem::transmute_copy(&pinterval)).into() } - unsafe extern "system" fn SetInterval, Impl: IRepetitionPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetInterval, Impl: IRepetitionPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, interval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRepetitionPattern_Impl::SetInterval(this, core::mem::transmute(&interval)).into() } - unsafe extern "system" fn Duration, Impl: IRepetitionPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pduration: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Duration, Impl: IRepetitionPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pduration: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRepetitionPattern_Impl::Duration(this, core::mem::transmute_copy(&pduration)).into() } - unsafe extern "system" fn SetDuration, Impl: IRepetitionPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, duration: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDuration, Impl: IRepetitionPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, duration: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRepetitionPattern_Impl::SetDuration(this, core::mem::transmute(&duration)).into() @@ -1703,7 +1703,7 @@ impl windows_core::RuntimeName for IRunningTask {} #[cfg(feature = "Win32_System_Com")] impl IRunningTask_Vtbl { pub const fn new, Impl: IRunningTask_Impl, const OFFSET: isize>() -> IRunningTask_Vtbl { - unsafe extern "system" fn Name, Impl: IRunningTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IRunningTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRunningTask_Impl::Name(this) { @@ -1714,7 +1714,7 @@ impl IRunningTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InstanceGuid, Impl: IRunningTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstanceGuid, Impl: IRunningTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pguid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRunningTask_Impl::InstanceGuid(this) { @@ -1725,7 +1725,7 @@ impl IRunningTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: IRunningTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IRunningTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRunningTask_Impl::Path(this) { @@ -1747,7 +1747,7 @@ impl IRunningTask_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentAction, Impl: IRunningTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentAction, Impl: IRunningTask_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRunningTask_Impl::CurrentAction(this) { @@ -1817,7 +1817,7 @@ impl IRunningTaskCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: IRunningTaskCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, pprunningtask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IRunningTaskCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, pprunningtask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRunningTaskCollection_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -2152,22 +2152,22 @@ impl windows_core::RuntimeName for ISessionStateChangeTrigger {} #[cfg(feature = "Win32_System_Com")] impl ISessionStateChangeTrigger_Vtbl { pub const fn new, Impl: ISessionStateChangeTrigger_Impl, const OFFSET: isize>() -> ISessionStateChangeTrigger_Vtbl { - unsafe extern "system" fn Delay, Impl: ISessionStateChangeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Delay, Impl: ISessionStateChangeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISessionStateChangeTrigger_Impl::Delay(this, core::mem::transmute_copy(&pdelay)).into() } - unsafe extern "system" fn SetDelay, Impl: ISessionStateChangeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDelay, Impl: ISessionStateChangeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, delay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISessionStateChangeTrigger_Impl::SetDelay(this, core::mem::transmute(&delay)).into() } - unsafe extern "system" fn UserId, Impl: ISessionStateChangeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserId, Impl: ISessionStateChangeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISessionStateChangeTrigger_Impl::UserId(this, core::mem::transmute_copy(&puser)).into() } - unsafe extern "system" fn SetUserId, Impl: ISessionStateChangeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUserId, Impl: ISessionStateChangeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, user: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISessionStateChangeTrigger_Impl::SetUserId(this, core::mem::transmute(&user)).into() @@ -2208,22 +2208,22 @@ impl windows_core::RuntimeName for IShowMessageAction {} #[cfg(feature = "Win32_System_Com")] impl IShowMessageAction_Vtbl { pub const fn new, Impl: IShowMessageAction_Impl, const OFFSET: isize>() -> IShowMessageAction_Vtbl { - unsafe extern "system" fn Title, Impl: IShowMessageAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptitle: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IShowMessageAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptitle: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShowMessageAction_Impl::Title(this, core::mem::transmute_copy(&ptitle)).into() } - unsafe extern "system" fn SetTitle, Impl: IShowMessageAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, title: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTitle, Impl: IShowMessageAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, title: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShowMessageAction_Impl::SetTitle(this, core::mem::transmute(&title)).into() } - unsafe extern "system" fn MessageBody, Impl: IShowMessageAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pmessagebody: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MessageBody, Impl: IShowMessageAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pmessagebody: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShowMessageAction_Impl::MessageBody(this, core::mem::transmute_copy(&pmessagebody)).into() } - unsafe extern "system" fn SetMessageBody, Impl: IShowMessageAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagebody: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetMessageBody, Impl: IShowMessageAction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, messagebody: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShowMessageAction_Impl::SetMessageBody(this, core::mem::transmute(&messagebody)).into() @@ -2443,12 +2443,12 @@ impl ITaskDefinition_Vtbl { let this = (*this).get_impl(); ITaskDefinition_Impl::SetSettings(this, windows_core::from_raw_borrowed(&psettings)).into() } - unsafe extern "system" fn Data, Impl: ITaskDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Data, Impl: ITaskDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskDefinition_Impl::Data(this, core::mem::transmute_copy(&pdata)).into() } - unsafe extern "system" fn SetData, Impl: ITaskDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetData, Impl: ITaskDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskDefinition_Impl::SetData(this, core::mem::transmute(&data)).into() @@ -2485,12 +2485,12 @@ impl ITaskDefinition_Vtbl { let this = (*this).get_impl(); ITaskDefinition_Impl::SetActions(this, windows_core::from_raw_borrowed(&pactions)).into() } - unsafe extern "system" fn XmlText, Impl: ITaskDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pxml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn XmlText, Impl: ITaskDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pxml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskDefinition_Impl::XmlText(this, core::mem::transmute_copy(&pxml)).into() } - unsafe extern "system" fn SetXmlText, Impl: ITaskDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetXmlText, Impl: ITaskDefinition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xml: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskDefinition_Impl::SetXmlText(this, core::mem::transmute(&xml)).into() @@ -2538,7 +2538,7 @@ impl windows_core::RuntimeName for ITaskFolder {} #[cfg(feature = "Win32_System_Com")] impl ITaskFolder_Vtbl { pub const fn new, Impl: ITaskFolder_Impl, const OFFSET: isize>() -> ITaskFolder_Vtbl { - unsafe extern "system" fn Name, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskFolder_Impl::Name(this) { @@ -2549,7 +2549,7 @@ impl ITaskFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskFolder_Impl::Path(this) { @@ -2560,7 +2560,7 @@ impl ITaskFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFolder, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, ppfolder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFolder, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, ppfolder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskFolder_Impl::GetFolder(this, core::mem::transmute(&path)) { @@ -2582,7 +2582,7 @@ impl ITaskFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateFolder, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subfoldername: std::mem::MaybeUninit, sddl: std::mem::MaybeUninit, ppfolder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFolder, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subfoldername: core::mem::MaybeUninit, sddl: core::mem::MaybeUninit, ppfolder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskFolder_Impl::CreateFolder(this, core::mem::transmute(&subfoldername), core::mem::transmute(&sddl)) { @@ -2593,12 +2593,12 @@ impl ITaskFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteFolder, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subfoldername: std::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteFolder, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, subfoldername: core::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskFolder_Impl::DeleteFolder(this, core::mem::transmute(&subfoldername), core::mem::transmute_copy(&flags)).into() } - unsafe extern "system" fn GetTask, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetTask, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskFolder_Impl::GetTask(this, core::mem::transmute(&path)) { @@ -2620,12 +2620,12 @@ impl ITaskFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DeleteTask, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteTask, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskFolder_Impl::DeleteTask(this, core::mem::transmute(&name), core::mem::transmute_copy(&flags)).into() } - unsafe extern "system" fn RegisterTask, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, xmltext: std::mem::MaybeUninit, flags: i32, userid: std::mem::MaybeUninit, password: std::mem::MaybeUninit, logontype: TASK_LOGON_TYPE, sddl: std::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterTask, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, xmltext: core::mem::MaybeUninit, flags: i32, userid: core::mem::MaybeUninit, password: core::mem::MaybeUninit, logontype: TASK_LOGON_TYPE, sddl: core::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskFolder_Impl::RegisterTask(this, core::mem::transmute(&path), core::mem::transmute(&xmltext), core::mem::transmute_copy(&flags), core::mem::transmute(&userid), core::mem::transmute(&password), core::mem::transmute_copy(&logontype), core::mem::transmute(&sddl)) { @@ -2636,7 +2636,7 @@ impl ITaskFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterTaskDefinition, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, pdefinition: *mut core::ffi::c_void, flags: i32, userid: std::mem::MaybeUninit, password: std::mem::MaybeUninit, logontype: TASK_LOGON_TYPE, sddl: std::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterTaskDefinition, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, pdefinition: *mut core::ffi::c_void, flags: i32, userid: core::mem::MaybeUninit, password: core::mem::MaybeUninit, logontype: TASK_LOGON_TYPE, sddl: core::mem::MaybeUninit, pptask: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskFolder_Impl::RegisterTaskDefinition(this, core::mem::transmute(&path), windows_core::from_raw_borrowed(&pdefinition), core::mem::transmute_copy(&flags), core::mem::transmute(&userid), core::mem::transmute(&password), core::mem::transmute_copy(&logontype), core::mem::transmute(&sddl)) { @@ -2647,7 +2647,7 @@ impl ITaskFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSecurityDescriptor, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securityinformation: i32, psddl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSecurityDescriptor, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, securityinformation: i32, psddl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskFolder_Impl::GetSecurityDescriptor(this, core::mem::transmute_copy(&securityinformation)) { @@ -2658,7 +2658,7 @@ impl ITaskFolder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSecurityDescriptor, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sddl: std::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetSecurityDescriptor, Impl: ITaskFolder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sddl: core::mem::MaybeUninit, flags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskFolder_Impl::SetSecurityDescriptor(this, core::mem::transmute(&sddl), core::mem::transmute_copy(&flags)).into() @@ -2706,7 +2706,7 @@ impl ITaskFolderCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_Item, Impl: ITaskFolderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppfolder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: ITaskFolderCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppfolder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskFolderCollection_Impl::get_Item(this, core::mem::transmute(&index)) { @@ -2748,7 +2748,7 @@ pub trait ITaskHandler_Impl: Sized { impl windows_core::RuntimeName for ITaskHandler {} impl ITaskHandler_Vtbl { pub const fn new, Impl: ITaskHandler_Impl, const OFFSET: isize>() -> ITaskHandler_Vtbl { - unsafe extern "system" fn Start, Impl: ITaskHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phandlerservices: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Start, Impl: ITaskHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, phandlerservices: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskHandler_Impl::Start(this, windows_core::from_raw_borrowed(&phandlerservices), core::mem::transmute(&data)).into() @@ -2793,7 +2793,7 @@ pub trait ITaskHandlerStatus_Impl: Sized { impl windows_core::RuntimeName for ITaskHandlerStatus {} impl ITaskHandlerStatus_Vtbl { pub const fn new, Impl: ITaskHandlerStatus_Impl, const OFFSET: isize>() -> ITaskHandlerStatus_Vtbl { - unsafe extern "system" fn UpdateStatus, Impl: ITaskHandlerStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, percentcomplete: i16, statusmessage: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateStatus, Impl: ITaskHandlerStatus_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, percentcomplete: i16, statusmessage: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskHandlerStatus_Impl::UpdateStatus(this, core::mem::transmute_copy(&percentcomplete), core::mem::transmute(&statusmessage)).into() @@ -2854,7 +2854,7 @@ impl ITaskNamedValueCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Create, Impl: ITaskNamedValueCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit, pppair: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Create, Impl: ITaskNamedValueCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit, pppair: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskNamedValueCollection_Impl::Create(this, core::mem::transmute(&name), core::mem::transmute(&value)) { @@ -2901,22 +2901,22 @@ impl windows_core::RuntimeName for ITaskNamedValuePair {} #[cfg(feature = "Win32_System_Com")] impl ITaskNamedValuePair_Vtbl { pub const fn new, Impl: ITaskNamedValuePair_Impl, const OFFSET: isize>() -> ITaskNamedValuePair_Vtbl { - unsafe extern "system" fn Name, Impl: ITaskNamedValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ITaskNamedValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskNamedValuePair_Impl::Name(this, core::mem::transmute_copy(&pname)).into() } - unsafe extern "system" fn SetName, Impl: ITaskNamedValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: ITaskNamedValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskNamedValuePair_Impl::SetName(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn Value, Impl: ITaskNamedValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ITaskNamedValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskNamedValuePair_Impl::Value(this, core::mem::transmute_copy(&pvalue)).into() } - unsafe extern "system" fn SetValue, Impl: ITaskNamedValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ITaskNamedValuePair_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskNamedValuePair_Impl::SetValue(this, core::mem::transmute(&value)).into() @@ -3043,7 +3043,7 @@ impl windows_core::RuntimeName for ITaskService {} #[cfg(feature = "Win32_System_Com")] impl ITaskService_Vtbl { pub const fn new, Impl: ITaskService_Impl, const OFFSET: isize>() -> ITaskService_Vtbl { - unsafe extern "system" fn GetFolder, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, ppfolder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetFolder, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, ppfolder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskService_Impl::GetFolder(this, core::mem::transmute(&path)) { @@ -3076,7 +3076,7 @@ impl ITaskService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Connect, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servername: std::mem::MaybeUninit, user: std::mem::MaybeUninit, domain: std::mem::MaybeUninit, password: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Connect, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servername: core::mem::MaybeUninit, user: core::mem::MaybeUninit, domain: core::mem::MaybeUninit, password: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskService_Impl::Connect(this, core::mem::transmute(&servername), core::mem::transmute(&user), core::mem::transmute(&domain), core::mem::transmute(&password)).into() @@ -3092,7 +3092,7 @@ impl ITaskService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TargetServer, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pserver: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TargetServer, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pserver: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskService_Impl::TargetServer(this) { @@ -3103,7 +3103,7 @@ impl ITaskService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ConnectedUser, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectedUser, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, puser: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskService_Impl::ConnectedUser(this) { @@ -3114,7 +3114,7 @@ impl ITaskService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ConnectedDomain, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdomain: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectedDomain, Impl: ITaskService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pdomain: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskService_Impl::ConnectedDomain(this) { @@ -3211,12 +3211,12 @@ impl ITaskSettings_Vtbl { let this = (*this).get_impl(); ITaskSettings_Impl::SetAllowDemandStart(this, core::mem::transmute_copy(&allowdemandstart)).into() } - unsafe extern "system" fn RestartInterval, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prestartinterval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RestartInterval, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prestartinterval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskSettings_Impl::RestartInterval(this, core::mem::transmute_copy(&prestartinterval)).into() } - unsafe extern "system" fn SetRestartInterval, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, restartinterval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRestartInterval, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, restartinterval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskSettings_Impl::SetRestartInterval(this, core::mem::transmute(&restartinterval)).into() @@ -3281,12 +3281,12 @@ impl ITaskSettings_Vtbl { let this = (*this).get_impl(); ITaskSettings_Impl::SetStartWhenAvailable(this, core::mem::transmute_copy(&startwhenavailable)).into() } - unsafe extern "system" fn XmlText, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn XmlText, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskSettings_Impl::XmlText(this, core::mem::transmute_copy(&ptext)).into() } - unsafe extern "system" fn SetXmlText, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetXmlText, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskSettings_Impl::SetXmlText(this, core::mem::transmute(&text)).into() @@ -3301,12 +3301,12 @@ impl ITaskSettings_Vtbl { let this = (*this).get_impl(); ITaskSettings_Impl::SetRunOnlyIfNetworkAvailable(this, core::mem::transmute_copy(&runonlyifnetworkavailable)).into() } - unsafe extern "system" fn ExecutionTimeLimit, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pexecutiontimelimit: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExecutionTimeLimit, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pexecutiontimelimit: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskSettings_Impl::ExecutionTimeLimit(this, core::mem::transmute_copy(&pexecutiontimelimit)).into() } - unsafe extern "system" fn SetExecutionTimeLimit, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, executiontimelimit: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExecutionTimeLimit, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, executiontimelimit: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskSettings_Impl::SetExecutionTimeLimit(this, core::mem::transmute(&executiontimelimit)).into() @@ -3321,12 +3321,12 @@ impl ITaskSettings_Vtbl { let this = (*this).get_impl(); ITaskSettings_Impl::SetEnabled(this, core::mem::transmute_copy(&enabled)).into() } - unsafe extern "system" fn DeleteExpiredTaskAfter, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pexpirationdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteExpiredTaskAfter, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pexpirationdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskSettings_Impl::DeleteExpiredTaskAfter(this, core::mem::transmute_copy(&pexpirationdelay)).into() } - unsafe extern "system" fn SetDeleteExpiredTaskAfter, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expirationdelay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDeleteExpiredTaskAfter, Impl: ITaskSettings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, expirationdelay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskSettings_Impl::SetDeleteExpiredTaskAfter(this, core::mem::transmute(&expirationdelay)).into() @@ -3644,7 +3644,7 @@ pub trait ITaskVariables_Impl: Sized { impl windows_core::RuntimeName for ITaskVariables {} impl ITaskVariables_Vtbl { pub const fn new, Impl: ITaskVariables_Impl, const OFFSET: isize>() -> ITaskVariables_Vtbl { - unsafe extern "system" fn GetInput, Impl: ITaskVariables_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinput: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetInput, Impl: ITaskVariables_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinput: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskVariables_Impl::GetInput(this) { @@ -3655,12 +3655,12 @@ impl ITaskVariables_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOutput, Impl: ITaskVariables_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, input: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOutput, Impl: ITaskVariables_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, input: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITaskVariables_Impl::SetOutput(this, core::mem::transmute(&input)).into() } - unsafe extern "system" fn GetContext, Impl: ITaskVariables_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetContext, Impl: ITaskVariables_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pcontext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITaskVariables_Impl::GetContext(this) { @@ -3692,12 +3692,12 @@ impl windows_core::RuntimeName for ITimeTrigger {} #[cfg(feature = "Win32_System_Com")] impl ITimeTrigger_Vtbl { pub const fn new, Impl: ITimeTrigger_Impl, const OFFSET: isize>() -> ITimeTrigger_Vtbl { - unsafe extern "system" fn RandomDelay, Impl: ITimeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RandomDelay, Impl: ITimeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITimeTrigger_Impl::RandomDelay(this, core::mem::transmute_copy(&prandomdelay)).into() } - unsafe extern "system" fn SetRandomDelay, Impl: ITimeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRandomDelay, Impl: ITimeTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITimeTrigger_Impl::SetRandomDelay(this, core::mem::transmute(&randomdelay)).into() @@ -3738,12 +3738,12 @@ impl ITrigger_Vtbl { let this = (*this).get_impl(); ITrigger_Impl::Type(this, core::mem::transmute_copy(&ptype)).into() } - unsafe extern "system" fn Id, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITrigger_Impl::Id(this, core::mem::transmute_copy(&pid)).into() } - unsafe extern "system" fn SetId, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetId, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITrigger_Impl::SetId(this, core::mem::transmute(&id)).into() @@ -3764,32 +3764,32 @@ impl ITrigger_Vtbl { let this = (*this).get_impl(); ITrigger_Impl::SetRepetition(this, windows_core::from_raw_borrowed(&prepeat)).into() } - unsafe extern "system" fn ExecutionTimeLimit, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptimelimit: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExecutionTimeLimit, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ptimelimit: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITrigger_Impl::ExecutionTimeLimit(this, core::mem::transmute_copy(&ptimelimit)).into() } - unsafe extern "system" fn SetExecutionTimeLimit, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timelimit: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetExecutionTimeLimit, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, timelimit: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITrigger_Impl::SetExecutionTimeLimit(this, core::mem::transmute(&timelimit)).into() } - unsafe extern "system" fn StartBoundary, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstart: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StartBoundary, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstart: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITrigger_Impl::StartBoundary(this, core::mem::transmute_copy(&pstart)).into() } - unsafe extern "system" fn SetStartBoundary, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStartBoundary, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, start: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITrigger_Impl::SetStartBoundary(this, core::mem::transmute(&start)).into() } - unsafe extern "system" fn EndBoundary, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pend: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EndBoundary, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pend: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITrigger_Impl::EndBoundary(this, core::mem::transmute_copy(&pend)).into() } - unsafe extern "system" fn SetEndBoundary, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, end: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEndBoundary, Impl: ITrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, end: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITrigger_Impl::SetEndBoundary(this, core::mem::transmute(&end)).into() @@ -3877,7 +3877,7 @@ impl ITriggerCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: ITriggerCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: ITriggerCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITriggerCollection_Impl::Remove(this, core::mem::transmute(&index)).into() @@ -3935,12 +3935,12 @@ impl IWeeklyTrigger_Vtbl { let this = (*this).get_impl(); IWeeklyTrigger_Impl::SetWeeksInterval(this, core::mem::transmute_copy(&weeks)).into() } - unsafe extern "system" fn RandomDelay, Impl: IWeeklyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RandomDelay, Impl: IWeeklyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prandomdelay: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWeeklyTrigger_Impl::RandomDelay(this, core::mem::transmute_copy(&prandomdelay)).into() } - unsafe extern "system" fn SetRandomDelay, Impl: IWeeklyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRandomDelay, Impl: IWeeklyTrigger_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, randomdelay: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWeeklyTrigger_Impl::SetRandomDelay(this, core::mem::transmute(&randomdelay)).into() 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 4f64236026..3cb1ac4c35 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IAction, IAction_Vtbl, 0xbae54997_48b1_4cbe impl std::ops::Deref for IAction { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -28,8 +28,8 @@ impl IAction { #[repr(C)] pub struct IAction_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_ACTION_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -38,7 +38,7 @@ windows_core::imp::define_interface!(IActionCollection, IActionCollection_Vtbl, impl std::ops::Deref for IActionCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -50,11 +50,11 @@ impl IActionCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn XmlText(&self, ptext: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -68,7 +68,7 @@ impl IActionCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Create(&self, r#type: TASK_ACTION_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, index: P0) -> windows_core::Result<()> @@ -100,16 +100,16 @@ pub struct IActionCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub XmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_ACTION_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Create: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBootTrigger, IBootTrigger_Vtbl, 0x2a9c35da_d357_41f4_bbc1_207ac1b1f3cb); @@ -117,7 +117,7 @@ windows_core::imp::define_interface!(IBootTrigger, IBootTrigger_Vtbl, 0x2a9c35da impl std::ops::Deref for IBootTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -138,8 +138,8 @@ impl IBootTrigger { #[repr(C)] pub struct IBootTrigger_Vtbl { pub base__: ITrigger_Vtbl, - pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IComHandlerAction, IComHandlerAction_Vtbl, 0x6d2fd252_75c5_4f66_90ba_2a7d8cc3039f); @@ -147,7 +147,7 @@ windows_core::imp::define_interface!(IComHandlerAction, IComHandlerAction_Vtbl, impl std::ops::Deref for IComHandlerAction { type Target = IAction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -177,10 +177,10 @@ impl IComHandlerAction { #[repr(C)] pub struct IComHandlerAction_Vtbl { pub base__: IAction_Vtbl, - pub ClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClassId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClassId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDailyTrigger, IDailyTrigger_Vtbl, 0x126c5cd8_b288_41d5_8dbf_e491446adc5c); @@ -188,7 +188,7 @@ windows_core::imp::define_interface!(IDailyTrigger, IDailyTrigger_Vtbl, 0x126c5c impl std::ops::Deref for IDailyTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -217,8 +217,8 @@ pub struct IDailyTrigger_Vtbl { pub base__: ITrigger_Vtbl, pub DaysInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub SetDaysInterval: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, - pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEmailAction, IEmailAction_Vtbl, 0x10f62c64_7e16_4314_a0c2_0c3683f99d40); @@ -226,7 +226,7 @@ windows_core::imp::define_interface!(IEmailAction, IEmailAction_Vtbl, 0x10f62c64 impl std::ops::Deref for IEmailAction { type Target = IAction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -298,7 +298,7 @@ impl IEmailAction { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn HeaderFields(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HeaderFields)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -330,20 +330,20 @@ impl IEmailAction { #[repr(C)] pub struct IEmailAction_Vtbl { pub base__: IAction_Vtbl, - pub Server: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Cc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetCc: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Bcc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBcc: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ReplyTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetReplyTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFrom: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Server: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub To: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Cc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCc: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Bcc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBcc: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReplyTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetReplyTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub From: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFrom: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub HeaderFields: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -352,8 +352,8 @@ pub struct IEmailAction_Vtbl { pub SetHeaderFields: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetHeaderFields: usize, - pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Attachments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -367,7 +367,7 @@ windows_core::imp::define_interface!(IEnumWorkItems, IEnumWorkItems_Vtbl, 0x148b impl std::ops::Deref for IEnumWorkItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumWorkItems, windows_core::IUnknown); @@ -382,7 +382,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -400,7 +400,7 @@ windows_core::imp::define_interface!(IEventTrigger, IEventTrigger_Vtbl, 0xd45b01 impl std::ops::Deref for IEventTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -427,7 +427,7 @@ impl IEventTrigger { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ValueQueries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ValueQueries)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -442,10 +442,10 @@ impl IEventTrigger { #[repr(C)] pub struct IEventTrigger_Vtbl { pub base__: ITrigger_Vtbl, - pub Subscription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Subscription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub ValueQueries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -461,7 +461,7 @@ windows_core::imp::define_interface!(IExecAction, IExecAction_Vtbl, 0x4c3d624d_f impl std::ops::Deref for IExecAction { type Target = IAction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -500,12 +500,12 @@ impl IExecAction { #[repr(C)] pub struct IExecAction_Vtbl { pub base__: IAction_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IExecAction2, IExecAction2_Vtbl, 0xf2a82542_bda5_4e6b_9143_e2bf4f8987b6); @@ -513,7 +513,7 @@ windows_core::imp::define_interface!(IExecAction2, IExecAction2_Vtbl, 0xf2a82542 impl std::ops::Deref for IExecAction2 { type Target = IExecAction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -543,7 +543,7 @@ windows_core::imp::define_interface!(IIdleSettings, IIdleSettings_Vtbl, 0x845944 impl std::ops::Deref for IIdleSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -591,10 +591,10 @@ impl IIdleSettings { #[repr(C)] pub struct IIdleSettings_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub IdleDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetIdleDuration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WaitTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetWaitTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IdleDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetIdleDuration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WaitTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWaitTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StopOnIdleEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetStopOnIdleEnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub RestartOnIdle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -606,7 +606,7 @@ windows_core::imp::define_interface!(IIdleTrigger, IIdleTrigger_Vtbl, 0xd537d2b0 impl std::ops::Deref for IIdleTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -624,7 +624,7 @@ windows_core::imp::define_interface!(ILogonTrigger, ILogonTrigger_Vtbl, 0x72dade impl std::ops::Deref for ILogonTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -654,10 +654,10 @@ impl ILogonTrigger { #[repr(C)] pub struct ILogonTrigger_Vtbl { pub base__: ITrigger_Vtbl, - pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMaintenanceSettings, IMaintenanceSettings_Vtbl, 0xa6024fa8_9652_4adb_a6bf_5cfcd877a7ba); @@ -665,7 +665,7 @@ windows_core::imp::define_interface!(IMaintenanceSettings, IMaintenanceSettings_ impl std::ops::Deref for IMaintenanceSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -704,10 +704,10 @@ impl IMaintenanceSettings { #[repr(C)] pub struct IMaintenanceSettings_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub SetPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Period: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDeadline: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Period: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDeadline: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetExclusive: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Exclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -717,7 +717,7 @@ windows_core::imp::define_interface!(IMonthlyDOWTrigger, IMonthlyDOWTrigger_Vtbl impl std::ops::Deref for IMonthlyDOWTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -773,8 +773,8 @@ pub struct IMonthlyDOWTrigger_Vtbl { pub SetMonthsOfYear: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, pub RunOnLastWeekOfMonth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetRunOnLastWeekOfMonth: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMonthlyTrigger, IMonthlyTrigger_Vtbl, 0x97c45ef1_6b02_4a1a_9c0e_1ebfba1500ac); @@ -782,7 +782,7 @@ windows_core::imp::define_interface!(IMonthlyTrigger, IMonthlyTrigger_Vtbl, 0x97 impl std::ops::Deref for IMonthlyTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -830,8 +830,8 @@ pub struct IMonthlyTrigger_Vtbl { pub SetMonthsOfYear: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, pub RunOnLastDayOfMonth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetRunOnLastDayOfMonth: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetworkSettings, INetworkSettings_Vtbl, 0x9f7dea84_c30b_4245_80b6_00e9f646f1b4); @@ -839,7 +839,7 @@ windows_core::imp::define_interface!(INetworkSettings, INetworkSettings_Vtbl, 0x impl std::ops::Deref for INetworkSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -869,10 +869,10 @@ impl INetworkSettings { #[repr(C)] pub struct INetworkSettings_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrincipal, IPrincipal_Vtbl, 0xd98d51e5_c9b4_496a_a9c1_18980261cf0f); @@ -880,7 +880,7 @@ windows_core::imp::define_interface!(IPrincipal, IPrincipal_Vtbl, 0xd98d51e5_c9b impl std::ops::Deref for IPrincipal { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -940,16 +940,16 @@ impl IPrincipal { #[repr(C)] pub struct IPrincipal_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub LogonType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_LOGON_TYPE) -> windows_core::HRESULT, pub SetLogonType: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_LOGON_TYPE) -> windows_core::HRESULT, - pub GroupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGroupId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GroupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGroupId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RunLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_RUNLEVEL_TYPE) -> windows_core::HRESULT, pub SetRunLevel: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_RUNLEVEL_TYPE) -> windows_core::HRESULT, } @@ -959,7 +959,7 @@ windows_core::imp::define_interface!(IPrincipal2, IPrincipal2_Vtbl, 0x248919ae_e impl std::ops::Deref for IPrincipal2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -992,14 +992,14 @@ pub struct IPrincipal2_Vtbl { pub ProcessTokenSidType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_PROCESSTOKENSID_TYPE) -> windows_core::HRESULT, pub SetProcessTokenSidType: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_PROCESSTOKENSID_TYPE) -> windows_core::HRESULT, pub RequiredPrivilegeCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub get_RequiredPrivilege: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddRequiredPrivilege: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_RequiredPrivilege: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddRequiredPrivilege: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvideTaskPage, IProvideTaskPage_Vtbl, 0x4086658a_cbbb_11cf_b604_00c04fd8d565); impl std::ops::Deref for IProvideTaskPage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProvideTaskPage, windows_core::IUnknown); @@ -1009,7 +1009,7 @@ impl IProvideTaskPage { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPage)(windows_core::Interface::as_raw(self), tptype, fpersistchanges.param().abi(), &mut result__).map(|| result__) } } @@ -1027,7 +1027,7 @@ windows_core::imp::define_interface!(IRegisteredTask, IRegisteredTask_Vtbl, 0x9c impl std::ops::Deref for IRegisteredTask { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1035,19 +1035,19 @@ windows_core::imp::interface_hierarchy!(IRegisteredTask, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IRegisteredTask { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, enabled: P0) -> windows_core::Result<()> @@ -1061,7 +1061,7 @@ impl IRegisteredTask { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Run)(windows_core::Interface::as_raw(self), params.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1070,41 +1070,41 @@ impl IRegisteredTask { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RunEx)(windows_core::Interface::as_raw(self), params.param().abi(), flags, sessionid, user.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetInstances(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstances)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastRunTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastRunTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LastTaskResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastTaskResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NumberOfMissedRuns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NumberOfMissedRuns)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NextRunTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextRunTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Definition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Definition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Xml(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Xml)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSecurityDescriptor(&self, securityinformation: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityDescriptor)(windows_core::Interface::as_raw(self), securityinformation, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSecurityDescriptor(&self, sddl: P0, flags: i32) -> windows_core::Result<()> @@ -1124,17 +1124,17 @@ impl IRegisteredTask { #[repr(C)] pub struct IRegisteredTask_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_STATE) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Run: usize, #[cfg(feature = "Win32_System_Com")] - pub RunEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RunEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RunEx: usize, #[cfg(feature = "Win32_System_Com")] @@ -1149,9 +1149,9 @@ pub struct IRegisteredTask_Vtbl { pub Definition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Definition: usize, - pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Xml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetRunTimes: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::SYSTEMTIME, *const super::super::Foundation::SYSTEMTIME, *mut u32, *mut *mut super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, } @@ -1161,7 +1161,7 @@ windows_core::imp::define_interface!(IRegisteredTaskCollection, IRegisteredTaskC impl std::ops::Deref for IRegisteredTaskCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1169,7 +1169,7 @@ windows_core::imp::interface_hierarchy!(IRegisteredTaskCollection, windows_core: #[cfg(feature = "Win32_System_Com")] impl IRegisteredTaskCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1177,11 +1177,11 @@ impl IRegisteredTaskCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1191,7 +1191,7 @@ pub struct IRegisteredTaskCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1202,7 +1202,7 @@ windows_core::imp::define_interface!(IRegistrationInfo, IRegistrationInfo_Vtbl, impl std::ops::Deref for IRegistrationInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1295,24 +1295,24 @@ impl IRegistrationInfo { #[repr(C)] pub struct IRegistrationInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAuthor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Date: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Documentation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDocumentation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub XmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub URI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetURI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAuthor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Date: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Documentation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDocumentation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub URI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetURI: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRegistrationTrigger, IRegistrationTrigger_Vtbl, 0x4c8fec3a_c218_4e0c_b23d_629024db91a2); @@ -1320,7 +1320,7 @@ windows_core::imp::define_interface!(IRegistrationTrigger, IRegistrationTrigger_ impl std::ops::Deref for IRegistrationTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1341,8 +1341,8 @@ impl IRegistrationTrigger { #[repr(C)] pub struct IRegistrationTrigger_Vtbl { pub base__: ITrigger_Vtbl, - pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRepetitionPattern, IRepetitionPattern_Vtbl, 0x7fb9acf1_26be_400e_85b5_294b9c75dfd6); @@ -1350,7 +1350,7 @@ windows_core::imp::define_interface!(IRepetitionPattern, IRepetitionPattern_Vtbl impl std::ops::Deref for IRepetitionPattern { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1389,10 +1389,10 @@ impl IRepetitionPattern { #[repr(C)] pub struct IRepetitionPattern_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Interval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetInterval: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Interval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetInterval: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StopAtDurationEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetStopAtDurationEnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -1402,7 +1402,7 @@ windows_core::imp::define_interface!(IRunningTask, IRunningTask_Vtbl, 0x653758fb impl std::ops::Deref for IRunningTask { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1410,23 +1410,23 @@ windows_core::imp::interface_hierarchy!(IRunningTask, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IRunningTask { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InstanceGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstanceGuid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Stop(&self) -> windows_core::Result<()> { @@ -1436,7 +1436,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnginePID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1444,11 +1444,11 @@ impl IRunningTask { #[repr(C)] pub struct IRunningTask_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InstanceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstanceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_STATE) -> windows_core::HRESULT, - pub CurrentAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnginePID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -1459,7 +1459,7 @@ windows_core::imp::define_interface!(IRunningTaskCollection, IRunningTaskCollect impl std::ops::Deref for IRunningTaskCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1467,7 +1467,7 @@ windows_core::imp::interface_hierarchy!(IRunningTaskCollection, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IRunningTaskCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1475,11 +1475,11 @@ impl IRunningTaskCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1489,7 +1489,7 @@ pub struct IRunningTaskCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1498,7 +1498,7 @@ windows_core::imp::define_interface!(IScheduledWorkItem, IScheduledWorkItem_Vtbl impl std::ops::Deref for IScheduledWorkItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScheduledWorkItem, windows_core::IUnknown); @@ -1510,15 +1510,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTriggerCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTrigger(&self, itrigger: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTrigger)(windows_core::Interface::as_raw(self), itrigger, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTriggerString(&self, itrigger: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTriggerString)(windows_core::Interface::as_raw(self), itrigger, &mut result__).map(|| result__) } pub unsafe fn GetRunTimes(&self, pstbegin: *const super::super::Foundation::SYSTEMTIME, pstend: *const super::super::Foundation::SYSTEMTIME, pcount: *mut u16, rgsttasktimes: *mut *mut super::super::Foundation::SYSTEMTIME) -> windows_core::Result<()> { @@ -1546,15 +1546,15 @@ impl IScheduledWorkItem { (windows_core::Interface::vtable(self).EditWorkItem)(windows_core::Interface::as_raw(self), hparent.param().abi(), dwreserved).ok() } pub unsafe fn GetMostRecentRunTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMostRecentRunTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExitCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExitCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetComment(&self, pwszcomment: P0) -> windows_core::Result<()> @@ -1564,7 +1564,7 @@ impl IScheduledWorkItem { (windows_core::Interface::vtable(self).SetComment)(windows_core::Interface::as_raw(self), pwszcomment.param().abi()).ok() } pub unsafe fn GetComment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCreator(&self, pwszcreator: P0) -> windows_core::Result<()> @@ -1574,7 +1574,7 @@ impl IScheduledWorkItem { (windows_core::Interface::vtable(self).SetCreator)(windows_core::Interface::as_raw(self), pwszcreator.param().abi()).ok() } pub unsafe fn GetCreator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCreator)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWorkItemData(&self, cbdata: u16, rgbdata: *const u8) -> windows_core::Result<()> { @@ -1587,21 +1587,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorRetryCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorRetryInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAccountInformation(&self, pwszaccountname: P0, pwszpassword: P1) -> windows_core::Result<()> @@ -1612,7 +1612,7 @@ impl IScheduledWorkItem { (windows_core::Interface::vtable(self).SetAccountInformation)(windows_core::Interface::as_raw(self), pwszaccountname.param().abi(), pwszpassword.param().abi()).ok() } pub unsafe fn GetAccountInformation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccountInformation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1655,7 +1655,7 @@ windows_core::imp::define_interface!(ISessionStateChangeTrigger, ISessionStateCh impl std::ops::Deref for ISessionStateChangeTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1691,10 +1691,10 @@ impl ISessionStateChangeTrigger { #[repr(C)] pub struct ISessionStateChangeTrigger_Vtbl { pub base__: ITrigger_Vtbl, - pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub StateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_SESSION_STATE_CHANGE_TYPE) -> windows_core::HRESULT, pub SetStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_SESSION_STATE_CHANGE_TYPE) -> windows_core::HRESULT, } @@ -1704,7 +1704,7 @@ windows_core::imp::define_interface!(IShowMessageAction, IShowMessageAction_Vtbl impl std::ops::Deref for IShowMessageAction { type Target = IAction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1734,16 +1734,16 @@ impl IShowMessageAction { #[repr(C)] pub struct IShowMessageAction_Vtbl { pub base__: IAction_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MessageBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetMessageBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MessageBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetMessageBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITask, ITask_Vtbl, 0x148bd524_a2ab_11ce_b11f_00aa00530503); impl std::ops::Deref for ITask { type Target = IScheduledWorkItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITask, windows_core::IUnknown, IScheduledWorkItem); @@ -1755,7 +1755,7 @@ impl ITask { (windows_core::Interface::vtable(self).SetApplicationName)(windows_core::Interface::as_raw(self), pwszapplicationname.param().abi()).ok() } pub unsafe fn GetApplicationName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplicationName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetParameters(&self, pwszparameters: P0) -> windows_core::Result<()> @@ -1765,7 +1765,7 @@ impl ITask { (windows_core::Interface::vtable(self).SetParameters)(windows_core::Interface::as_raw(self), pwszparameters.param().abi()).ok() } pub unsafe fn GetParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParameters)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWorkingDirectory(&self, pwszworkingdirectory: P0) -> windows_core::Result<()> @@ -1775,28 +1775,28 @@ impl ITask { (windows_core::Interface::vtable(self).SetWorkingDirectory)(windows_core::Interface::as_raw(self), pwszworkingdirectory.param().abi()).ok() } pub unsafe fn GetWorkingDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWorkingDirectory)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTaskFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxRunTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1822,7 +1822,7 @@ windows_core::imp::define_interface!(ITaskDefinition, ITaskDefinition_Vtbl, 0xf5 impl std::ops::Deref for ITaskDefinition { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1831,7 +1831,7 @@ windows_core::imp::interface_hierarchy!(ITaskDefinition, windows_core::IUnknown, impl ITaskDefinition { #[cfg(feature = "Win32_System_Com")] pub unsafe fn RegistrationInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegistrationInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1843,7 +1843,7 @@ impl ITaskDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Triggers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Triggers)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1855,7 +1855,7 @@ impl ITaskDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Settings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Settings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1876,7 +1876,7 @@ impl ITaskDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Principal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Principal)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1888,7 +1888,7 @@ impl ITaskDefinition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Actions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Actions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1936,8 +1936,8 @@ pub struct ITaskDefinition_Vtbl { pub SetSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetSettings: usize, - pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Principal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1954,8 +1954,8 @@ pub struct ITaskDefinition_Vtbl { pub SetActions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetActions: usize, - pub XmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskFolder, ITaskFolder_Vtbl, 0x8cfac062_a080_4c15_9a88_aa7c2af80dfc); @@ -1963,7 +1963,7 @@ windows_core::imp::define_interface!(ITaskFolder, ITaskFolder_Vtbl, 0x8cfac062_a impl std::ops::Deref for ITaskFolder { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1971,11 +1971,11 @@ windows_core::imp::interface_hierarchy!(ITaskFolder, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ITaskFolder { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1983,12 +1983,12 @@ impl ITaskFolder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolder)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFolders(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolders)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1997,7 +1997,7 @@ impl ITaskFolder { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFolder)(windows_core::Interface::as_raw(self), subfoldername.param().abi(), sddl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteFolder(&self, subfoldername: P0, flags: i32) -> windows_core::Result<()> @@ -2011,12 +2011,12 @@ impl ITaskFolder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTask)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTasks(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTasks)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteTask(&self, name: P0, flags: i32) -> windows_core::Result<()> @@ -2034,7 +2034,7 @@ impl ITaskFolder { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterTask)(windows_core::Interface::as_raw(self), path.param().abi(), xmltext.param().abi(), flags, userid.param().abi(), password.param().abi(), logontype, sddl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2046,11 +2046,11 @@ impl ITaskFolder { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterTaskDefinition)(windows_core::Interface::as_raw(self), path.param().abi(), pdefinition.param().abi(), flags, userid.param().abi(), password.param().abi(), logontype, sddl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSecurityDescriptor(&self, securityinformation: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSecurityDescriptor)(windows_core::Interface::as_raw(self), securityinformation, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSecurityDescriptor(&self, sddl: P0, flags: i32) -> windows_core::Result<()> @@ -2064,10 +2064,10 @@ impl ITaskFolder { #[repr(C)] pub struct ITaskFolder_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFolder: usize, #[cfg(feature = "Win32_System_Com")] @@ -2075,29 +2075,29 @@ pub struct ITaskFolder_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetFolders: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateFolder: usize, - pub DeleteFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub DeleteFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetTask: usize, #[cfg(feature = "Win32_System_Com")] pub GetTasks: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetTasks: usize, - pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub DeleteTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub RegisterTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, TASK_LOGON_TYPE, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterTask: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, TASK_LOGON_TYPE, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RegisterTask: usize, #[cfg(feature = "Win32_System_Com")] - pub RegisterTaskDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, TASK_LOGON_TYPE, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RegisterTaskDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, TASK_LOGON_TYPE, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RegisterTaskDefinition: usize, - pub GetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub GetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskFolderCollection, ITaskFolderCollection_Vtbl, 0x79184a66_8664_423f_97f1_637356a5d812); @@ -2105,7 +2105,7 @@ windows_core::imp::define_interface!(ITaskFolderCollection, ITaskFolderCollectio impl std::ops::Deref for ITaskFolderCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2113,7 +2113,7 @@ windows_core::imp::interface_hierarchy!(ITaskFolderCollection, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ITaskFolderCollection { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2121,11 +2121,11 @@ impl ITaskFolderCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2135,7 +2135,7 @@ pub struct ITaskFolderCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2144,7 +2144,7 @@ windows_core::imp::define_interface!(ITaskHandler, ITaskHandler_Vtbl, 0x839d7762 impl std::ops::Deref for ITaskHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITaskHandler, windows_core::IUnknown); @@ -2157,7 +2157,7 @@ impl ITaskHandler { (windows_core::Interface::vtable(self).Start)(windows_core::Interface::as_raw(self), phandlerservices.param().abi(), data.param().abi()).ok() } pub unsafe fn Stop(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Stop)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Pause(&self) -> windows_core::Result<()> { @@ -2170,7 +2170,7 @@ impl ITaskHandler { #[repr(C)] pub struct ITaskHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2179,7 +2179,7 @@ windows_core::imp::define_interface!(ITaskHandlerStatus, ITaskHandlerStatus_Vtbl impl std::ops::Deref for ITaskHandlerStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITaskHandlerStatus, windows_core::IUnknown); @@ -2197,7 +2197,7 @@ impl ITaskHandlerStatus { #[repr(C)] pub struct ITaskHandlerStatus_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub UpdateStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i16, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdateStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i16, core::mem::MaybeUninit) -> windows_core::HRESULT, pub TaskCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2206,7 +2206,7 @@ windows_core::imp::define_interface!(ITaskNamedValueCollection, ITaskNamedValueC impl std::ops::Deref for ITaskNamedValueCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2218,11 +2218,11 @@ impl ITaskNamedValueCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2231,7 +2231,7 @@ impl ITaskNamedValueCollection { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), name.param().abi(), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, index: i32) -> windows_core::Result<()> { @@ -2252,7 +2252,7 @@ pub struct ITaskNamedValueCollection_Vtbl { get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Create: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -2264,7 +2264,7 @@ windows_core::imp::define_interface!(ITaskNamedValuePair, ITaskNamedValuePair_Vt impl std::ops::Deref for ITaskNamedValuePair { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2294,16 +2294,16 @@ impl ITaskNamedValuePair { #[repr(C)] pub struct ITaskNamedValuePair_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskScheduler, ITaskScheduler_Vtbl, 0x148bd527_a2ab_11ce_b11f_00aa00530503); impl std::ops::Deref for ITaskScheduler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITaskScheduler, windows_core::IUnknown); @@ -2315,18 +2315,18 @@ impl ITaskScheduler { (windows_core::Interface::vtable(self).SetTargetComputer)(windows_core::Interface::as_raw(self), pwszcomputer.param().abi()).ok() } pub unsafe fn GetTargetComputer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetComputer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Enum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Activate(&self, pwszname: P0, riid: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Activate)(windows_core::Interface::as_raw(self), pwszname.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self, pwszname: P0) -> windows_core::Result<()> @@ -2339,7 +2339,7 @@ impl ITaskScheduler { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NewWorkItem)(windows_core::Interface::as_raw(self), pwsztaskname.param().abi(), rclsid, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddWorkItem(&self, pwsztaskname: P0, pworkitem: P1) -> windows_core::Result<()> @@ -2374,7 +2374,7 @@ windows_core::imp::define_interface!(ITaskService, ITaskService_Vtbl, 0x2faba4c7 impl std::ops::Deref for ITaskService { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2386,17 +2386,17 @@ impl ITaskService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolder)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRunningTasks(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRunningTasks)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NewTask(&self, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NewTask)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Connect(&self, servername: P0, user: P1, domain: P2, password: P3) -> windows_core::Result<()> @@ -2409,23 +2409,23 @@ impl ITaskService { (windows_core::Interface::vtable(self).Connect)(windows_core::Interface::as_raw(self), servername.param().abi(), user.param().abi(), domain.param().abi(), password.param().abi()).ok() } pub unsafe fn Connected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Connected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TargetServer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TargetServer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ConnectedUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectedUser)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ConnectedDomain(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectedDomain)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HighestVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HighestVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2434,7 +2434,7 @@ impl ITaskService { pub struct ITaskService_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetFolder: usize, #[cfg(feature = "Win32_System_Com")] @@ -2445,11 +2445,11 @@ pub struct ITaskService_Vtbl { pub NewTask: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] NewTask: usize, - pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Connected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub TargetServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConnectedUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ConnectedDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TargetServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectedUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ConnectedDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HighestVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2458,7 +2458,7 @@ windows_core::imp::define_interface!(ITaskSettings, ITaskSettings_Vtbl, 0x8fd471 impl std::ops::Deref for ITaskSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2599,7 +2599,7 @@ impl ITaskSettings { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IdleSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IdleSettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2629,7 +2629,7 @@ impl ITaskSettings { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn NetworkSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NetworkSettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2646,8 +2646,8 @@ pub struct ITaskSettings_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub AllowDemandStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAllowDemandStart: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub RestartInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRestartInterval: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RestartInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRestartInterval: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RestartCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetRestartCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MultipleInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_INSTANCES_POLICY) -> windows_core::HRESULT, @@ -2660,16 +2660,16 @@ pub struct ITaskSettings_Vtbl { pub SetAllowHardTerminate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub StartWhenAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetStartWhenAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub XmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub XmlText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RunOnlyIfNetworkAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetRunOnlyIfNetworkAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ExecutionTimeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExecutionTimeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecutionTimeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExecutionTimeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DeleteExpiredTaskAfter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDeleteExpiredTaskAfter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteExpiredTaskAfter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDeleteExpiredTaskAfter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Compatibility: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_COMPATIBILITY) -> windows_core::HRESULT, @@ -2703,7 +2703,7 @@ windows_core::imp::define_interface!(ITaskSettings2, ITaskSettings2_Vtbl, 0x2c05 impl std::ops::Deref for ITaskSettings2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2744,7 +2744,7 @@ windows_core::imp::define_interface!(ITaskSettings3, ITaskSettings3_Vtbl, 0x0ad9 impl std::ops::Deref for ITaskSettings3 { type Target = ITaskSettings; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2771,7 +2771,7 @@ impl ITaskSettings3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn MaintenanceSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaintenanceSettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2783,7 +2783,7 @@ impl ITaskSettings3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateMaintenanceSettings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateMaintenanceSettings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Volatile(&self, pvolatile: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { @@ -2823,7 +2823,7 @@ windows_core::imp::define_interface!(ITaskTrigger, ITaskTrigger_Vtbl, 0x148bd52b impl std::ops::Deref for ITaskTrigger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITaskTrigger, windows_core::IUnknown); @@ -2835,7 +2835,7 @@ impl ITaskTrigger { (windows_core::Interface::vtable(self).GetTrigger)(windows_core::Interface::as_raw(self), ptrigger).ok() } pub unsafe fn GetTriggerString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTriggerString)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2850,13 +2850,13 @@ windows_core::imp::define_interface!(ITaskVariables, ITaskVariables_Vtbl, 0x3e4c impl std::ops::Deref for ITaskVariables { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITaskVariables, windows_core::IUnknown); impl ITaskVariables { pub unsafe fn GetInput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInput)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOutput(&self, input: P0) -> windows_core::Result<()> @@ -2866,16 +2866,16 @@ impl ITaskVariables { (windows_core::Interface::vtable(self).SetOutput)(windows_core::Interface::as_raw(self), input.param().abi()).ok() } pub unsafe fn GetContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ITaskVariables_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetOutput: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOutput: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITimeTrigger, ITimeTrigger_Vtbl, 0xb45747e0_eba7_4276_9f29_85c5bb300006); @@ -2883,7 +2883,7 @@ windows_core::imp::define_interface!(ITimeTrigger, ITimeTrigger_Vtbl, 0xb45747e0 impl std::ops::Deref for ITimeTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2904,8 +2904,8 @@ impl ITimeTrigger { #[repr(C)] pub struct ITimeTrigger_Vtbl { pub base__: ITrigger_Vtbl, - pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITrigger, ITrigger_Vtbl, 0x09941815_ea89_4b5b_89e0_2a773801fac3); @@ -2913,7 +2913,7 @@ windows_core::imp::define_interface!(ITrigger, ITrigger_Vtbl, 0x09941815_ea89_4b impl std::ops::Deref for ITrigger { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2934,7 +2934,7 @@ impl ITrigger { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Repetition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Repetition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2986,8 +2986,8 @@ impl ITrigger { pub struct ITrigger_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_TRIGGER_TYPE2) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Repetition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2996,12 +2996,12 @@ pub struct ITrigger_Vtbl { pub SetRepetition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetRepetition: usize, - pub ExecutionTimeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetExecutionTimeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub StartBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStartBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub EndBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEndBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecutionTimeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetExecutionTimeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub StartBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStartBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub EndBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEndBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -3011,7 +3011,7 @@ windows_core::imp::define_interface!(ITriggerCollection, ITriggerCollection_Vtbl impl std::ops::Deref for ITriggerCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3023,16 +3023,16 @@ impl ITriggerCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Create(&self, r#type: TASK_TRIGGER_TYPE2) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, index: P0) -> windows_core::Result<()> @@ -3059,7 +3059,7 @@ pub struct ITriggerCollection_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_TRIGGER_TYPE2, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Create: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -3068,7 +3068,7 @@ windows_core::imp::define_interface!(IWeeklyTrigger, IWeeklyTrigger_Vtbl, 0x5038 impl std::ops::Deref for IWeeklyTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3105,8 +3105,8 @@ pub struct IWeeklyTrigger_Vtbl { pub SetDaysOfWeek: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, pub WeeksInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub SetWeeksInterval: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, - pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } pub const CLSID_CTask: windows_core::GUID = windows_core::GUID::from_u128(0x148bd520_a2ab_11ce_b11f_00aa00530503); pub const CLSID_CTaskScheduler: windows_core::GUID = windows_core::GUID::from_u128(0x148bd52a_a2ab_11ce_b11f_00aa00530503); 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 7c243823ec..4b36f4e859 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs @@ -812,7 +812,7 @@ pub unsafe fn GetCurrentProcessorNumber() -> u32 { #[inline] pub unsafe fn GetCurrentProcessorNumberEx() -> super::Kernel::PROCESSOR_NUMBER { windows_targets::link!("kernel32.dll" "system" fn GetCurrentProcessorNumberEx(procnumber : *mut super::Kernel:: PROCESSOR_NUMBER)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetCurrentProcessorNumberEx(&mut result__); result__ } @@ -863,7 +863,7 @@ where #[inline] pub unsafe fn GetMachineTypeAttributes(machine: u16) -> windows_core::Result { windows_targets::link!("kernel32.dll" "system" fn GetMachineTypeAttributes(machine : u16, machinetypeattributes : *mut MACHINE_ATTRIBUTES) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetMachineTypeAttributes(machine, &mut result__).map(|| result__) } #[inline] @@ -1094,7 +1094,7 @@ where P0: windows_core::Param, { windows_targets::link!("kernel32.dll" "system" fn GetThreadDescription(hthread : super::super::Foundation:: HANDLE, ppszthreaddescription : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThreadDescription(hthread.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_SystemInformation")] @@ -1211,14 +1211,14 @@ pub unsafe fn InitOnceExecuteOnce(initonce: *mut INIT_ONCE, initfn: PINIT_ONCE_F #[inline] pub unsafe fn InitOnceInitialize() -> INIT_ONCE { windows_targets::link!("kernel32.dll" "system" fn InitOnceInitialize(initonce : *mut INIT_ONCE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); InitOnceInitialize(&mut result__); result__ } #[inline] pub unsafe fn InitializeConditionVariable() -> CONDITION_VARIABLE { windows_targets::link!("kernel32.dll" "system" fn InitializeConditionVariable(conditionvariable : *mut CONDITION_VARIABLE)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); InitializeConditionVariable(&mut result__); result__ } @@ -1249,14 +1249,14 @@ pub unsafe fn InitializeProcThreadAttributeList(lpattributelist: LPPROC_THREAD_A #[inline] pub unsafe fn InitializeSListHead() -> super::Kernel::SLIST_HEADER { windows_targets::link!("kernel32.dll" "system" fn InitializeSListHead(listhead : *mut super::Kernel:: SLIST_HEADER)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); InitializeSListHead(&mut result__); result__ } #[inline] pub unsafe fn InitializeSRWLock() -> SRWLOCK { windows_targets::link!("kernel32.dll" "system" fn InitializeSRWLock(srwlock : *mut SRWLOCK)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); InitializeSRWLock(&mut result__); result__ } @@ -1623,13 +1623,13 @@ where #[inline] pub unsafe fn RtwqAllocateSerialWorkQueue(workqueueidin: u32) -> windows_core::Result { windows_targets::link!("rtworkq.dll" "system" fn RtwqAllocateSerialWorkQueue(workqueueidin : u32, workqueueidout : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtwqAllocateSerialWorkQueue(workqueueidin, &mut result__).map(|| result__) } #[inline] pub unsafe fn RtwqAllocateWorkQueue(workqueuetype: RTWQ_WORKQUEUE_TYPE) -> windows_core::Result { windows_targets::link!("rtworkq.dll" "system" fn RtwqAllocateWorkQueue(workqueuetype : RTWQ_WORKQUEUE_TYPE, workqueueid : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtwqAllocateWorkQueue(workqueuetype, &mut result__).map(|| result__) } #[inline] @@ -1672,7 +1672,7 @@ where P2: windows_core::Param, { windows_targets::link!("rtworkq.dll" "system" fn RtwqCreateAsyncResult(appobject : * mut core::ffi::c_void, callback : * mut core::ffi::c_void, appstate : * mut core::ffi::c_void, asyncresult : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtwqCreateAsyncResult(appobject.param().abi(), callback.param().abi(), appstate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1681,7 +1681,7 @@ where P0: windows_core::Param, { windows_targets::link!("rtworkq.dll" "system" fn RtwqEndRegisterWorkQueueWithMMCSS(result : * mut core::ffi::c_void, taskid : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtwqEndRegisterWorkQueueWithMMCSS(result.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1692,13 +1692,13 @@ pub unsafe fn RtwqGetWorkQueueMMCSSClass(workqueueid: u32, usageclass: windows_c #[inline] pub unsafe fn RtwqGetWorkQueueMMCSSPriority(workqueueid: u32) -> windows_core::Result { windows_targets::link!("rtworkq.dll" "system" fn RtwqGetWorkQueueMMCSSPriority(workqueueid : u32, priority : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtwqGetWorkQueueMMCSSPriority(workqueueid, &mut result__).map(|| result__) } #[inline] pub unsafe fn RtwqGetWorkQueueMMCSSTaskId(workqueueid: u32) -> windows_core::Result { windows_targets::link!("rtworkq.dll" "system" fn RtwqGetWorkQueueMMCSSTaskId(workqueueid : u32, taskid : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtwqGetWorkQueueMMCSSTaskId(workqueueid, &mut result__).map(|| result__) } #[inline] @@ -1715,7 +1715,7 @@ where P0: windows_core::Param, { windows_targets::link!("rtworkq.dll" "system" fn RtwqJoinWorkQueue(workqueueid : u32, hfile : super::super::Foundation:: HANDLE, out : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtwqJoinWorkQueue(workqueueid, hfile.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1785,13 +1785,13 @@ where #[inline] pub unsafe fn RtwqSetDeadline(workqueueid: u32, deadlineinhns: i64) -> windows_core::Result { windows_targets::link!("rtworkq.dll" "system" fn RtwqSetDeadline(workqueueid : u32, deadlineinhns : i64, prequest : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtwqSetDeadline(workqueueid, deadlineinhns, &mut result__).map(|| result__) } #[inline] pub unsafe fn RtwqSetDeadline2(workqueueid: u32, deadlineinhns: i64, predeadlineinhns: i64) -> windows_core::Result { windows_targets::link!("rtworkq.dll" "system" fn RtwqSetDeadline2(workqueueid : u32, deadlineinhns : i64, predeadlineinhns : i64, prequest : *mut super::super::Foundation:: HANDLE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RtwqSetDeadline2(workqueueid, deadlineinhns, predeadlineinhns, &mut result__).map(|| result__) } #[inline] @@ -2443,7 +2443,7 @@ windows_core::imp::define_interface!(IRtwqAsyncCallback, IRtwqAsyncCallback_Vtbl impl std::ops::Deref for IRtwqAsyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRtwqAsyncCallback, windows_core::IUnknown); @@ -2468,13 +2468,13 @@ windows_core::imp::define_interface!(IRtwqAsyncResult, IRtwqAsyncResult_Vtbl, 0x impl std::ops::Deref for IRtwqAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRtwqAsyncResult, windows_core::IUnknown); impl IRtwqAsyncResult { pub unsafe fn GetState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStatus(&self) -> windows_core::Result<()> { @@ -2484,7 +2484,7 @@ impl IRtwqAsyncResult { (windows_core::Interface::vtable(self).SetStatus)(windows_core::Interface::as_raw(self), hrstatus).ok() } pub unsafe fn GetObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStateNoAddRef(&self) -> Option { @@ -2504,7 +2504,7 @@ windows_core::imp::define_interface!(IRtwqPlatformEvents, IRtwqPlatformEvents_Vt impl std::ops::Deref for IRtwqPlatformEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRtwqPlatformEvents, windows_core::IUnknown); @@ -2530,7 +2530,7 @@ windows_core::imp::define_interface!(RTWQASYNCRESULT, RTWQASYNCRESULT_Vtbl, 0); impl std::ops::Deref for RTWQASYNCRESULT { type Target = IRtwqAsyncResult; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(RTWQASYNCRESULT, windows_core::IUnknown, IRtwqAsyncResult); diff --git a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs index 9ec0efa44b..03938e19df 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs @@ -10,7 +10,7 @@ impl windows_core::RuntimeName for ICatalog {} #[cfg(feature = "Win32_System_Com")] impl ICatalog_Vtbl { pub const fn new, Impl: ICatalog_Impl, const OFFSET: isize>() -> ICatalog_Vtbl { - unsafe extern "system" fn GetCollection, Impl: ICatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollname: std::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetCollection, Impl: ICatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcollname: core::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICatalog_Impl::GetCollection(this, core::mem::transmute(&bstrcollname)) { @@ -21,7 +21,7 @@ impl ICatalog_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Connect, Impl: ICatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnectstring: std::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Connect, Impl: ICatalog_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrconnectstring: core::mem::MaybeUninit, ppcatalogcollection: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICatalog_Impl::Connect(this, core::mem::transmute(&bstrconnectstring)) { @@ -66,22 +66,22 @@ impl windows_core::RuntimeName for IComponentUtil {} #[cfg(feature = "Win32_System_Com")] impl IComponentUtil_Vtbl { pub const fn new, Impl: IComponentUtil_Impl, const OFFSET: isize>() -> IComponentUtil_Vtbl { - unsafe extern "system" fn InstallComponent, Impl: IComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdllfile: std::mem::MaybeUninit, bstrtypelibfile: std::mem::MaybeUninit, bstrproxystubdllfile: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallComponent, Impl: IComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdllfile: core::mem::MaybeUninit, bstrtypelibfile: core::mem::MaybeUninit, bstrproxystubdllfile: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentUtil_Impl::InstallComponent(this, core::mem::transmute(&bstrdllfile), core::mem::transmute(&bstrtypelibfile), core::mem::transmute(&bstrproxystubdllfile)).into() } - unsafe extern "system" fn ImportComponent, Impl: IComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImportComponent, Impl: IComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentUtil_Impl::ImportComponent(this, core::mem::transmute(&bstrclsid)).into() } - unsafe extern "system" fn ImportComponentByName, Impl: IComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprogid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImportComponentByName, Impl: IComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprogid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentUtil_Impl::ImportComponentByName(this, core::mem::transmute(&bstrprogid)).into() } - unsafe extern "system" fn GetCLSIDs, Impl: IComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdllfile: std::mem::MaybeUninit, bstrtypelibfile: std::mem::MaybeUninit, aclsids: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn GetCLSIDs, Impl: IComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdllfile: core::mem::MaybeUninit, bstrtypelibfile: core::mem::MaybeUninit, aclsids: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IComponentUtil_Impl::GetCLSIDs(this, core::mem::transmute(&bstrdllfile), core::mem::transmute(&bstrtypelibfile), core::mem::transmute_copy(&aclsids)).into() @@ -109,17 +109,17 @@ impl windows_core::RuntimeName for IPackageUtil {} #[cfg(feature = "Win32_System_Com")] impl IPackageUtil_Vtbl { pub const fn new, Impl: IPackageUtil_Impl, const OFFSET: isize>() -> IPackageUtil_Vtbl { - unsafe extern "system" fn InstallPackage, Impl: IPackageUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpackagefile: std::mem::MaybeUninit, bstrinstallpath: std::mem::MaybeUninit, loptions: i32) -> windows_core::HRESULT { + unsafe extern "system" fn InstallPackage, Impl: IPackageUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpackagefile: core::mem::MaybeUninit, bstrinstallpath: core::mem::MaybeUninit, loptions: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPackageUtil_Impl::InstallPackage(this, core::mem::transmute(&bstrpackagefile), core::mem::transmute(&bstrinstallpath), core::mem::transmute_copy(&loptions)).into() } - unsafe extern "system" fn ExportPackage, Impl: IPackageUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpackageid: std::mem::MaybeUninit, bstrpackagefile: std::mem::MaybeUninit, loptions: i32) -> windows_core::HRESULT { + unsafe extern "system" fn ExportPackage, Impl: IPackageUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpackageid: core::mem::MaybeUninit, bstrpackagefile: core::mem::MaybeUninit, loptions: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPackageUtil_Impl::ExportPackage(this, core::mem::transmute(&bstrpackageid), core::mem::transmute(&bstrpackagefile), core::mem::transmute_copy(&loptions)).into() } - unsafe extern "system" fn ShutdownPackage, Impl: IPackageUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpackageid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShutdownPackage, Impl: IPackageUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpackageid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPackageUtil_Impl::ShutdownPackage(this, core::mem::transmute(&bstrpackageid)).into() @@ -145,12 +145,12 @@ impl windows_core::RuntimeName for IRemoteComponentUtil {} #[cfg(feature = "Win32_System_Com")] impl IRemoteComponentUtil_Vtbl { pub const fn new, Impl: IRemoteComponentUtil_Impl, const OFFSET: isize>() -> IRemoteComponentUtil_Vtbl { - unsafe extern "system" fn InstallRemoteComponent, Impl: IRemoteComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserver: std::mem::MaybeUninit, bstrpackageid: std::mem::MaybeUninit, bstrclsid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallRemoteComponent, Impl: IRemoteComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserver: core::mem::MaybeUninit, bstrpackageid: core::mem::MaybeUninit, bstrclsid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteComponentUtil_Impl::InstallRemoteComponent(this, core::mem::transmute(&bstrserver), core::mem::transmute(&bstrpackageid), core::mem::transmute(&bstrclsid)).into() } - unsafe extern "system" fn InstallRemoteComponentByName, Impl: IRemoteComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserver: std::mem::MaybeUninit, bstrpackagename: std::mem::MaybeUninit, bstrprogid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InstallRemoteComponentByName, Impl: IRemoteComponentUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrserver: core::mem::MaybeUninit, bstrpackagename: core::mem::MaybeUninit, bstrprogid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRemoteComponentUtil_Impl::InstallRemoteComponentByName(this, core::mem::transmute(&bstrserver), core::mem::transmute(&bstrpackagename), core::mem::transmute(&bstrprogid)).into() @@ -175,12 +175,12 @@ impl windows_core::RuntimeName for IRoleAssociationUtil {} #[cfg(feature = "Win32_System_Com")] impl IRoleAssociationUtil_Vtbl { pub const fn new, Impl: IRoleAssociationUtil_Impl, const OFFSET: isize>() -> IRoleAssociationUtil_Vtbl { - unsafe extern "system" fn AssociateRole, Impl: IRoleAssociationUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AssociateRole, Impl: IRoleAssociationUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrroleid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRoleAssociationUtil_Impl::AssociateRole(this, core::mem::transmute(&bstrroleid)).into() } - unsafe extern "system" fn AssociateRoleByName, Impl: IRoleAssociationUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AssociateRoleByName, Impl: IRoleAssociationUtil_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrolename: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRoleAssociationUtil_Impl::AssociateRoleByName(this, core::mem::transmute(&bstrrolename)).into() 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 2a9f01fa9e..2f6396c5a7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(ICatalog, ICatalog_Vtbl, 0x6eb22870_8a19_11 impl std::ops::Deref for ICatalog { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -16,7 +16,7 @@ impl ICatalog { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCollection)(windows_core::Interface::as_raw(self), bstrcollname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -24,7 +24,7 @@ impl ICatalog { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Connect)(windows_core::Interface::as_raw(self), bstrconnectstring.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MajorVersion(&self, retval: *mut i32) -> windows_core::Result<()> { @@ -39,11 +39,11 @@ impl ICatalog { pub struct ICatalog_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub GetCollection: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetCollection: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetCollection: usize, #[cfg(feature = "Win32_System_Com")] - pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Connect: usize, pub MajorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -55,7 +55,7 @@ windows_core::imp::define_interface!(IComponentUtil, IComponentUtil_Vtbl, 0x6eb2 impl std::ops::Deref for IComponentUtil { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -95,11 +95,11 @@ impl IComponentUtil { #[repr(C)] pub struct IComponentUtil_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub InstallComponent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImportComponent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImportComponentByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallComponent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImportComponent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImportComponentByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetCLSIDs: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub GetCLSIDs: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetCLSIDs: usize, } @@ -109,7 +109,7 @@ windows_core::imp::define_interface!(IPackageUtil, IPackageUtil_Vtbl, 0x6eb22874 impl std::ops::Deref for IPackageUtil { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -141,9 +141,9 @@ impl IPackageUtil { #[repr(C)] pub struct IPackageUtil_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub InstallPackage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub ExportPackage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub ShutdownPackage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallPackage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub ExportPackage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub ShutdownPackage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRemoteComponentUtil, IRemoteComponentUtil_Vtbl, 0x6eb22875_8a19_11d0_81b6_00a0c9231c29); @@ -151,7 +151,7 @@ windows_core::imp::define_interface!(IRemoteComponentUtil, IRemoteComponentUtil_ impl std::ops::Deref for IRemoteComponentUtil { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -179,8 +179,8 @@ impl IRemoteComponentUtil { #[repr(C)] pub struct IRemoteComponentUtil_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub InstallRemoteComponent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InstallRemoteComponentByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallRemoteComponent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InstallRemoteComponentByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRoleAssociationUtil, IRoleAssociationUtil_Vtbl, 0x6eb22876_8a19_11d0_81b6_00a0c9231c29); @@ -188,7 +188,7 @@ windows_core::imp::define_interface!(IRoleAssociationUtil, IRoleAssociationUtil_ impl std::ops::Deref for IRoleAssociationUtil { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -212,8 +212,8 @@ impl IRoleAssociationUtil { #[repr(C)] pub struct IRoleAssociationUtil_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub AssociateRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AssociateRoleByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AssociateRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AssociateRoleByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } pub const mtsErrAlreadyInstalled: MTSAdminErrorCodes = MTSAdminErrorCodes(-2146368508i32); pub const mtsErrAuthenticationLevel: MTSAdminErrorCodes = MTSAdminErrorCodes(-2146368493i32); diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs index 1547fecd13..ceec29a30f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs @@ -111,7 +111,7 @@ impl windows_core::RuntimeName for IAutomaticUpdatesResults {} #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesResults_Vtbl { pub const fn new, Impl: IAutomaticUpdatesResults_Impl, const OFFSET: isize>() -> IAutomaticUpdatesResults_Vtbl { - unsafe extern "system" fn LastSearchSuccessDate, Impl: IAutomaticUpdatesResults_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastSearchSuccessDate, Impl: IAutomaticUpdatesResults_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAutomaticUpdatesResults_Impl::LastSearchSuccessDate(this) { @@ -122,7 +122,7 @@ impl IAutomaticUpdatesResults_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LastInstallationSuccessDate, Impl: IAutomaticUpdatesResults_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastInstallationSuccessDate, Impl: IAutomaticUpdatesResults_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAutomaticUpdatesResults_Impl::LastInstallationSuccessDate(this) { @@ -381,7 +381,7 @@ impl windows_core::RuntimeName for ICategory {} #[cfg(feature = "Win32_System_Com")] impl ICategory_Vtbl { pub const fn new, Impl: ICategory_Impl, const OFFSET: isize>() -> ICategory_Vtbl { - unsafe extern "system" fn Name, Impl: ICategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ICategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICategory_Impl::Name(this) { @@ -392,7 +392,7 @@ impl ICategory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CategoryID, Impl: ICategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CategoryID, Impl: ICategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICategory_Impl::CategoryID(this) { @@ -414,7 +414,7 @@ impl ICategory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: ICategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: ICategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICategory_Impl::Description(this) { @@ -458,7 +458,7 @@ impl ICategory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Type, Impl: ICategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Type, Impl: ICategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICategory_Impl::Type(this) { @@ -599,7 +599,7 @@ impl windows_core::RuntimeName for IDownloadJob {} #[cfg(feature = "Win32_System_Com")] impl IDownloadJob_Vtbl { pub const fn new, Impl: IDownloadJob_Impl, const OFFSET: isize>() -> IDownloadJob_Vtbl { - unsafe extern "system" fn AsyncState, Impl: IDownloadJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AsyncState, Impl: IDownloadJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDownloadJob_Impl::AsyncState(this) { @@ -913,7 +913,7 @@ impl windows_core::RuntimeName for IImageInformation {} #[cfg(feature = "Win32_System_Com")] impl IImageInformation_Vtbl { pub const fn new, Impl: IImageInformation_Impl, const OFFSET: isize>() -> IImageInformation_Vtbl { - unsafe extern "system" fn AltText, Impl: IImageInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AltText, Impl: IImageInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IImageInformation_Impl::AltText(this) { @@ -935,7 +935,7 @@ impl IImageInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Source, Impl: IImageInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Source, Impl: IImageInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IImageInformation_Impl::Source(this) { @@ -978,7 +978,7 @@ impl windows_core::RuntimeName for IInstallationAgent {} #[cfg(feature = "Win32_System_Com")] impl IInstallationAgent_Vtbl { pub const fn new, Impl: IInstallationAgent_Impl, const OFFSET: isize>() -> IInstallationAgent_Vtbl { - unsafe extern "system" fn RecordInstallationResult, Impl: IInstallationAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, installationresultcookie: std::mem::MaybeUninit, hresult: i32, extendedreportingdata: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RecordInstallationResult, Impl: IInstallationAgent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, installationresultcookie: core::mem::MaybeUninit, hresult: i32, extendedreportingdata: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInstallationAgent_Impl::RecordInstallationResult(this, core::mem::transmute(&installationresultcookie), core::mem::transmute_copy(&hresult), windows_core::from_raw_borrowed(&extendedreportingdata)).into() @@ -1107,7 +1107,7 @@ impl windows_core::RuntimeName for IInstallationJob {} #[cfg(feature = "Win32_System_Com")] impl IInstallationJob_Vtbl { pub const fn new, Impl: IInstallationJob_Impl, const OFFSET: isize>() -> IInstallationJob_Vtbl { - unsafe extern "system" fn AsyncState, Impl: IInstallationJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AsyncState, Impl: IInstallationJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInstallationJob_Impl::AsyncState(this) { @@ -1366,7 +1366,7 @@ impl windows_core::RuntimeName for IInvalidProductLicenseException {} #[cfg(feature = "Win32_System_Com")] impl IInvalidProductLicenseException_Vtbl { pub const fn new, Impl: IInvalidProductLicenseException_Impl, const OFFSET: isize>() -> IInvalidProductLicenseException_Vtbl { - unsafe extern "system" fn Product, Impl: IInvalidProductLicenseException_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Product, Impl: IInvalidProductLicenseException_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInvalidProductLicenseException_Impl::Product(this) { @@ -1428,7 +1428,7 @@ impl windows_core::RuntimeName for ISearchJob {} #[cfg(feature = "Win32_System_Com")] impl ISearchJob_Vtbl { pub const fn new, Impl: ISearchJob_Impl, const OFFSET: isize>() -> ISearchJob_Vtbl { - unsafe extern "system" fn AsyncState, Impl: ISearchJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AsyncState, Impl: ISearchJob_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISearchJob_Impl::AsyncState(this) { @@ -1558,7 +1558,7 @@ impl windows_core::RuntimeName for IStringCollection {} #[cfg(feature = "Win32_System_Com")] impl IStringCollection_Vtbl { pub const fn new, Impl: IStringCollection_Impl, const OFFSET: isize>() -> IStringCollection_Vtbl { - unsafe extern "system" fn get_Item, Impl: IStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Item, Impl: IStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStringCollection_Impl::get_Item(this, core::mem::transmute_copy(&index)) { @@ -1569,7 +1569,7 @@ impl IStringCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Item, Impl: IStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_Item, Impl: IStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStringCollection_Impl::put_Item(this, core::mem::transmute_copy(&index), core::mem::transmute(&value)).into() @@ -1607,7 +1607,7 @@ impl IStringCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit, retval: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit, retval: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStringCollection_Impl::Add(this, core::mem::transmute(&value)) { @@ -1634,7 +1634,7 @@ impl IStringCollection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Insert, Impl: IStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Insert, Impl: IStringCollection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IStringCollection_Impl::Insert(this, core::mem::transmute_copy(&index), core::mem::transmute(&value)).into() @@ -1672,7 +1672,7 @@ impl windows_core::RuntimeName for ISystemInformation {} #[cfg(feature = "Win32_System_Com")] impl ISystemInformation_Vtbl { pub const fn new, Impl: ISystemInformation_Impl, const OFFSET: isize>() -> ISystemInformation_Vtbl { - unsafe extern "system" fn OemHardwareSupportLink, Impl: ISystemInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OemHardwareSupportLink, Impl: ISystemInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISystemInformation_Impl::OemHardwareSupportLink(this) { @@ -1757,7 +1757,7 @@ impl windows_core::RuntimeName for IUpdate {} #[cfg(feature = "Win32_System_Com")] impl IUpdate_Vtbl { pub const fn new, Impl: IUpdate_Impl, const OFFSET: isize>() -> IUpdate_Vtbl { - unsafe extern "system" fn Title, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdate_Impl::Title(this) { @@ -1812,7 +1812,7 @@ impl IUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Deadline, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Deadline, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdate_Impl::Deadline(this) { @@ -1845,7 +1845,7 @@ impl IUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdate_Impl::Description(this) { @@ -1867,7 +1867,7 @@ impl IUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EulaText, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EulaText, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdate_Impl::EulaText(this) { @@ -1878,7 +1878,7 @@ impl IUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn HandlerID, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HandlerID, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdate_Impl::HandlerID(this) { @@ -2048,7 +2048,7 @@ impl IUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MsrcSeverity, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MsrcSeverity, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdate_Impl::MsrcSeverity(this) { @@ -2092,7 +2092,7 @@ impl IUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReleaseNotes, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReleaseNotes, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdate_Impl::ReleaseNotes(this) { @@ -2125,7 +2125,7 @@ impl IUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SupportUrl, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SupportUrl, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdate_Impl::SupportUrl(this) { @@ -2147,7 +2147,7 @@ impl IUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UninstallationNotes, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UninstallationNotes, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdate_Impl::UninstallationNotes(this) { @@ -2207,7 +2207,7 @@ impl IUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CopyFromCache, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: std::mem::MaybeUninit, toextractcabfiles: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn CopyFromCache, Impl: IUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: core::mem::MaybeUninit, toextractcabfiles: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdate_Impl::CopyFromCache(this, core::mem::transmute(&path), core::mem::transmute_copy(&toextractcabfiles)).into() @@ -2574,7 +2574,7 @@ impl windows_core::RuntimeName for IUpdateDownloadContent {} #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloadContent_Vtbl { pub const fn new, Impl: IUpdateDownloadContent_Impl, const OFFSET: isize>() -> IUpdateDownloadContent_Vtbl { - unsafe extern "system" fn DownloadUrl, Impl: IUpdateDownloadContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DownloadUrl, Impl: IUpdateDownloadContent_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateDownloadContent_Impl::DownloadUrl(this) { @@ -2736,7 +2736,7 @@ impl windows_core::RuntimeName for IUpdateDownloader {} #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloader_Vtbl { pub const fn new, Impl: IUpdateDownloader_Impl, const OFFSET: isize>() -> IUpdateDownloader_Vtbl { - unsafe extern "system" fn ClientApplicationID, Impl: IUpdateDownloader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientApplicationID, Impl: IUpdateDownloader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateDownloader_Impl::ClientApplicationID(this) { @@ -2747,7 +2747,7 @@ impl IUpdateDownloader_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateDownloader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateDownloader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateDownloader_Impl::SetClientApplicationID(this, core::mem::transmute(&value)).into() @@ -2800,7 +2800,7 @@ impl IUpdateDownloader_Vtbl { let this = (*this).get_impl(); IUpdateDownloader_Impl::SetUpdates(this, windows_core::from_raw_borrowed(&value)).into() } - unsafe extern "system" fn BeginDownload, Impl: IUpdateDownloader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, onprogresschanged: *mut core::ffi::c_void, oncompleted: *mut core::ffi::c_void, state: std::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn BeginDownload, Impl: IUpdateDownloader_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, onprogresschanged: *mut core::ffi::c_void, oncompleted: *mut core::ffi::c_void, state: core::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateDownloader_Impl::BeginDownload(this, windows_core::from_raw_borrowed(&onprogresschanged), windows_core::from_raw_borrowed(&oncompleted), core::mem::transmute(&state)) { @@ -2863,7 +2863,7 @@ impl windows_core::RuntimeName for IUpdateException {} #[cfg(feature = "Win32_System_Com")] impl IUpdateException_Vtbl { pub const fn new, Impl: IUpdateException_Impl, const OFFSET: isize>() -> IUpdateException_Vtbl { - unsafe extern "system" fn Message, Impl: IUpdateException_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Message, Impl: IUpdateException_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateException_Impl::Message(this) { @@ -3039,7 +3039,7 @@ impl IUpdateHistoryEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Title, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::Title(this) { @@ -3050,7 +3050,7 @@ impl IUpdateHistoryEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::Description(this) { @@ -3072,7 +3072,7 @@ impl IUpdateHistoryEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClientApplicationID, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientApplicationID, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::ClientApplicationID(this) { @@ -3094,7 +3094,7 @@ impl IUpdateHistoryEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceID, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceID, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::ServiceID(this) { @@ -3116,7 +3116,7 @@ impl IUpdateHistoryEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UninstallationNotes, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UninstallationNotes, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::UninstallationNotes(this) { @@ -3127,7 +3127,7 @@ impl IUpdateHistoryEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SupportUrl, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SupportUrl, Impl: IUpdateHistoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateHistoryEntry_Impl::SupportUrl(this) { @@ -3262,7 +3262,7 @@ impl IUpdateIdentity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UpdateID, Impl: IUpdateIdentity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateID, Impl: IUpdateIdentity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateIdentity_Impl::UpdateID(this) { @@ -3367,7 +3367,7 @@ impl windows_core::RuntimeName for IUpdateInstaller {} #[cfg(feature = "Win32_System_Com")] impl IUpdateInstaller_Vtbl { pub const fn new, Impl: IUpdateInstaller_Impl, const OFFSET: isize>() -> IUpdateInstaller_Vtbl { - unsafe extern "system" fn ClientApplicationID, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientApplicationID, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateInstaller_Impl::ClientApplicationID(this) { @@ -3378,7 +3378,7 @@ impl IUpdateInstaller_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateInstaller_Impl::SetClientApplicationID(this, core::mem::transmute(&value)).into() @@ -3447,7 +3447,7 @@ impl IUpdateInstaller_Vtbl { let this = (*this).get_impl(); IUpdateInstaller_Impl::SetUpdates(this, windows_core::from_raw_borrowed(&value)).into() } - unsafe extern "system" fn BeginInstall, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, onprogresschanged: *mut core::ffi::c_void, oncompleted: *mut core::ffi::c_void, state: std::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn BeginInstall, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, onprogresschanged: *mut core::ffi::c_void, oncompleted: *mut core::ffi::c_void, state: core::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateInstaller_Impl::BeginInstall(this, windows_core::from_raw_borrowed(&onprogresschanged), windows_core::from_raw_borrowed(&oncompleted), core::mem::transmute(&state)) { @@ -3458,7 +3458,7 @@ impl IUpdateInstaller_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BeginUninstall, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, onprogresschanged: *mut core::ffi::c_void, oncompleted: *mut core::ffi::c_void, state: std::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn BeginUninstall, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, onprogresschanged: *mut core::ffi::c_void, oncompleted: *mut core::ffi::c_void, state: core::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateInstaller_Impl::BeginUninstall(this, windows_core::from_raw_borrowed(&onprogresschanged), windows_core::from_raw_borrowed(&oncompleted), core::mem::transmute(&state)) { @@ -3502,7 +3502,7 @@ impl IUpdateInstaller_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RunWizard, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dialogtitle: std::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RunWizard, Impl: IUpdateInstaller_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dialogtitle: core::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateInstaller_Impl::RunWizard(this, core::mem::transmute(&dialogtitle)) { @@ -3742,7 +3742,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); IUpdateSearcher_Impl::SetCanAutomaticallyUpgradeService(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn ClientApplicationID, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientApplicationID, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateSearcher_Impl::ClientApplicationID(this) { @@ -3753,7 +3753,7 @@ impl IUpdateSearcher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateSearcher_Impl::SetClientApplicationID(this, core::mem::transmute(&value)).into() @@ -3790,7 +3790,7 @@ impl IUpdateSearcher_Vtbl { let this = (*this).get_impl(); IUpdateSearcher_Impl::SetServerSelection(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn BeginSearch, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, criteria: std::mem::MaybeUninit, oncompleted: *mut core::ffi::c_void, state: std::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn BeginSearch, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, criteria: core::mem::MaybeUninit, oncompleted: *mut core::ffi::c_void, state: core::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateSearcher_Impl::BeginSearch(this, core::mem::transmute(&criteria), windows_core::from_raw_borrowed(&oncompleted), core::mem::transmute(&state)) { @@ -3812,7 +3812,7 @@ impl IUpdateSearcher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn EscapeString, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unescaped: std::mem::MaybeUninit, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EscapeString, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unescaped: core::mem::MaybeUninit, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateSearcher_Impl::EscapeString(this, core::mem::transmute(&unescaped)) { @@ -3834,7 +3834,7 @@ impl IUpdateSearcher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Search, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, criteria: std::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Search, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, criteria: core::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateSearcher_Impl::Search(this, core::mem::transmute(&criteria)) { @@ -3872,7 +3872,7 @@ impl IUpdateSearcher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceID, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceID, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateSearcher_Impl::ServiceID(this) { @@ -3883,7 +3883,7 @@ impl IUpdateSearcher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServiceID, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServiceID, Impl: IUpdateSearcher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateSearcher_Impl::SetServiceID(this, core::mem::transmute(&value)).into() @@ -4007,7 +4007,7 @@ impl windows_core::RuntimeName for IUpdateService {} #[cfg(feature = "Win32_System_Com")] impl IUpdateService_Vtbl { pub const fn new, Impl: IUpdateService_Impl, const OFFSET: isize>() -> IUpdateService_Vtbl { - unsafe extern "system" fn Name, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateService_Impl::Name(this) { @@ -4018,7 +4018,7 @@ impl IUpdateService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ContentValidationCert, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ContentValidationCert, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateService_Impl::ContentValidationCert(this) { @@ -4095,7 +4095,7 @@ impl IUpdateService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceID, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceID, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateService_Impl::ServiceID(this) { @@ -4128,7 +4128,7 @@ impl IUpdateService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceUrl, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceUrl, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateService_Impl::ServiceUrl(this) { @@ -4139,7 +4139,7 @@ impl IUpdateService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetupPrefix, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetupPrefix, Impl: IUpdateService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateService_Impl::SetupPrefix(this) { @@ -4278,7 +4278,7 @@ impl IUpdateServiceManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddService, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: std::mem::MaybeUninit, authorizationcabpath: std::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddService, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: core::mem::MaybeUninit, authorizationcabpath: core::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateServiceManager_Impl::AddService(this, core::mem::transmute(&serviceid), core::mem::transmute(&authorizationcabpath)) { @@ -4289,22 +4289,22 @@ impl IUpdateServiceManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterServiceWithAU, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterServiceWithAU, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateServiceManager_Impl::RegisterServiceWithAU(this, core::mem::transmute(&serviceid)).into() } - unsafe extern "system" fn RemoveService, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveService, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateServiceManager_Impl::RemoveService(this, core::mem::transmute(&serviceid)).into() } - unsafe extern "system" fn UnregisterServiceWithAU, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UnregisterServiceWithAU, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateServiceManager_Impl::UnregisterServiceWithAU(this, core::mem::transmute(&serviceid)).into() } - unsafe extern "system" fn AddScanPackageService, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: std::mem::MaybeUninit, scanfilelocation: std::mem::MaybeUninit, flags: i32, ppservice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddScanPackageService, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: core::mem::MaybeUninit, scanfilelocation: core::mem::MaybeUninit, flags: i32, ppservice: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateServiceManager_Impl::AddScanPackageService(this, core::mem::transmute(&servicename), core::mem::transmute(&scanfilelocation), core::mem::transmute_copy(&flags)) { @@ -4315,7 +4315,7 @@ impl IUpdateServiceManager_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetOption, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, optionname: std::mem::MaybeUninit, optionvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOption, Impl: IUpdateServiceManager_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, optionname: core::mem::MaybeUninit, optionvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateServiceManager_Impl::SetOption(this, core::mem::transmute(&optionname), core::mem::transmute(&optionvalue)).into() @@ -4347,7 +4347,7 @@ impl windows_core::RuntimeName for IUpdateServiceManager2 {} #[cfg(feature = "Win32_System_Com")] impl IUpdateServiceManager2_Vtbl { pub const fn new, Impl: IUpdateServiceManager2_Impl, const OFFSET: isize>() -> IUpdateServiceManager2_Vtbl { - unsafe extern "system" fn ClientApplicationID, Impl: IUpdateServiceManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientApplicationID, Impl: IUpdateServiceManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateServiceManager2_Impl::ClientApplicationID(this) { @@ -4358,12 +4358,12 @@ impl IUpdateServiceManager2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateServiceManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateServiceManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateServiceManager2_Impl::SetClientApplicationID(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn QueryServiceRegistration, Impl: IUpdateServiceManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: std::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QueryServiceRegistration, Impl: IUpdateServiceManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: core::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateServiceManager2_Impl::QueryServiceRegistration(this, core::mem::transmute(&serviceid)) { @@ -4374,7 +4374,7 @@ impl IUpdateServiceManager2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddService2, Impl: IUpdateServiceManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: std::mem::MaybeUninit, flags: i32, authorizationcabpath: std::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddService2, Impl: IUpdateServiceManager2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, serviceid: core::mem::MaybeUninit, flags: i32, authorizationcabpath: core::mem::MaybeUninit, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateServiceManager2_Impl::AddService2(this, core::mem::transmute(&serviceid), core::mem::transmute_copy(&flags), core::mem::transmute(&authorizationcabpath)) { @@ -4420,7 +4420,7 @@ impl IUpdateServiceRegistration_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceID, Impl: IUpdateServiceRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceID, Impl: IUpdateServiceRegistration_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateServiceRegistration_Impl::ServiceID(this) { @@ -4481,7 +4481,7 @@ impl windows_core::RuntimeName for IUpdateSession {} #[cfg(feature = "Win32_System_Com")] impl IUpdateSession_Vtbl { pub const fn new, Impl: IUpdateSession_Impl, const OFFSET: isize>() -> IUpdateSession_Vtbl { - unsafe extern "system" fn ClientApplicationID, Impl: IUpdateSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClientApplicationID, Impl: IUpdateSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateSession_Impl::ClientApplicationID(this) { @@ -4492,7 +4492,7 @@ impl IUpdateSession_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClientApplicationID, Impl: IUpdateSession_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUpdateSession_Impl::SetClientApplicationID(this, core::mem::transmute(&value)).into() @@ -4630,7 +4630,7 @@ impl IUpdateSession3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn QueryHistory, Impl: IUpdateSession3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, criteria: std::mem::MaybeUninit, startindex: i32, count: i32, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn QueryHistory, Impl: IUpdateSession3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, criteria: core::mem::MaybeUninit, startindex: i32, count: i32, retval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUpdateSession3_Impl::QueryHistory(this, core::mem::transmute(&criteria), core::mem::transmute_copy(&startindex), core::mem::transmute_copy(&count)) { @@ -4673,7 +4673,7 @@ impl windows_core::RuntimeName for IWebProxy {} #[cfg(feature = "Win32_System_Com")] impl IWebProxy_Vtbl { pub const fn new, Impl: IWebProxy_Impl, const OFFSET: isize>() -> IWebProxy_Vtbl { - unsafe extern "system" fn Address, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Address, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebProxy_Impl::Address(this) { @@ -4684,7 +4684,7 @@ impl IWebProxy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAddress, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAddress, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebProxy_Impl::SetAddress(this, core::mem::transmute(&value)).into() @@ -4732,7 +4732,7 @@ impl IWebProxy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UserName, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UserName, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebProxy_Impl::UserName(this) { @@ -4743,22 +4743,22 @@ impl IWebProxy_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUserName, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUserName, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebProxy_Impl::SetUserName(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn SetPassword, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPassword, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebProxy_Impl::SetPassword(this, core::mem::transmute(&value)).into() } - unsafe extern "system" fn PromptForCredentials, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parentwindow: *mut core::ffi::c_void, title: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PromptForCredentials, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parentwindow: *mut core::ffi::c_void, title: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebProxy_Impl::PromptForCredentials(this, windows_core::from_raw_borrowed(&parentwindow), core::mem::transmute(&title)).into() } - unsafe extern "system" fn PromptForCredentialsFromHwnd, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parentwindow: super::super::Foundation::HWND, title: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PromptForCredentialsFromHwnd, Impl: IWebProxy_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parentwindow: super::super::Foundation::HWND, title: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebProxy_Impl::PromptForCredentialsFromHwnd(this, core::mem::transmute_copy(&parentwindow), core::mem::transmute(&title)).into() @@ -4817,7 +4817,7 @@ impl windows_core::RuntimeName for IWindowsDriverUpdate {} #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate_Vtbl { pub const fn new, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>() -> IWindowsDriverUpdate_Vtbl { - unsafe extern "system" fn DriverClass, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverClass, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverClass(this) { @@ -4828,7 +4828,7 @@ impl IWindowsDriverUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DriverHardwareID, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverHardwareID, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverHardwareID(this) { @@ -4839,7 +4839,7 @@ impl IWindowsDriverUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DriverManufacturer, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverManufacturer, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverManufacturer(this) { @@ -4850,7 +4850,7 @@ impl IWindowsDriverUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DriverModel, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverModel, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverModel(this) { @@ -4861,7 +4861,7 @@ impl IWindowsDriverUpdate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DriverProvider, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverProvider, Impl: IWindowsDriverUpdate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdate_Impl::DriverProvider(this) { @@ -5109,7 +5109,7 @@ impl windows_core::RuntimeName for IWindowsDriverUpdateEntry {} #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdateEntry_Vtbl { pub const fn new, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>() -> IWindowsDriverUpdateEntry_Vtbl { - unsafe extern "system" fn DriverClass, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverClass, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverClass(this) { @@ -5120,7 +5120,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DriverHardwareID, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverHardwareID, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverHardwareID(this) { @@ -5131,7 +5131,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DriverManufacturer, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverManufacturer, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverManufacturer(this) { @@ -5142,7 +5142,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DriverModel, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverModel, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverModel(this) { @@ -5153,7 +5153,7 @@ impl IWindowsDriverUpdateEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DriverProvider, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DriverProvider, Impl: IWindowsDriverUpdateEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsDriverUpdateEntry_Impl::DriverProvider(this) { @@ -5277,7 +5277,7 @@ impl windows_core::RuntimeName for IWindowsUpdateAgentInfo {} #[cfg(feature = "Win32_System_Com")] impl IWindowsUpdateAgentInfo_Vtbl { pub const fn new, Impl: IWindowsUpdateAgentInfo_Impl, const OFFSET: isize>() -> IWindowsUpdateAgentInfo_Vtbl { - unsafe extern "system" fn GetInfo, Impl: IWindowsUpdateAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varinfoidentifier: std::mem::MaybeUninit, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetInfo, Impl: IWindowsUpdateAgentInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varinfoidentifier: core::mem::MaybeUninit, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWindowsUpdateAgentInfo_Impl::GetInfo(this, core::mem::transmute(&varinfoidentifier)) { 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 b56020e048..8aedbec88a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs @@ -4,7 +4,7 @@ windows_core::imp::define_interface!(IAutomaticUpdates, IAutomaticUpdates_Vtbl, impl std::ops::Deref for IAutomaticUpdates { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -25,11 +25,11 @@ impl IAutomaticUpdates { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Settings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Settings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnableService(&self) -> windows_core::Result<()> { @@ -57,7 +57,7 @@ windows_core::imp::define_interface!(IAutomaticUpdates2, IAutomaticUpdates2_Vtbl impl std::ops::Deref for IAutomaticUpdates2 { type Target = IAutomaticUpdates; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -66,7 +66,7 @@ windows_core::imp::interface_hierarchy!(IAutomaticUpdates2, windows_core::IUnkno impl IAutomaticUpdates2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Results(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Results)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -85,7 +85,7 @@ windows_core::imp::define_interface!(IAutomaticUpdatesResults, IAutomaticUpdates impl std::ops::Deref for IAutomaticUpdatesResults { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -93,11 +93,11 @@ windows_core::imp::interface_hierarchy!(IAutomaticUpdatesResults, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesResults { pub unsafe fn LastSearchSuccessDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastSearchSuccessDate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastInstallationSuccessDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastInstallationSuccessDate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -105,8 +105,8 @@ impl IAutomaticUpdatesResults { #[repr(C)] pub struct IAutomaticUpdatesResults_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub LastSearchSuccessDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LastInstallationSuccessDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastSearchSuccessDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastInstallationSuccessDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAutomaticUpdatesSettings, IAutomaticUpdatesSettings_Vtbl, 0x2ee48f22_af3c_405f_8970_f71be12ee9a2); @@ -114,7 +114,7 @@ windows_core::imp::define_interface!(IAutomaticUpdatesSettings, IAutomaticUpdate impl std::ops::Deref for IAutomaticUpdatesSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -122,29 +122,29 @@ windows_core::imp::interface_hierarchy!(IAutomaticUpdatesSettings, windows_core: #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesSettings { pub unsafe fn NotificationLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NotificationLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Required(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Required)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ScheduledInstallationDay(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScheduledInstallationDay)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScheduledInstallationTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScheduledInstallationTime(&self, value: i32) -> windows_core::Result<()> { @@ -178,7 +178,7 @@ windows_core::imp::define_interface!(IAutomaticUpdatesSettings2, IAutomaticUpdat impl std::ops::Deref for IAutomaticUpdatesSettings2 { type Target = IAutomaticUpdatesSettings; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -186,7 +186,7 @@ windows_core::imp::interface_hierarchy!(IAutomaticUpdatesSettings2, windows_core #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesSettings2 { pub unsafe fn IncludeRecommendedUpdates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncludeRecommendedUpdates)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIncludeRecommendedUpdates(&self, value: P0) -> windows_core::Result<()> @@ -196,7 +196,7 @@ impl IAutomaticUpdatesSettings2 { (windows_core::Interface::vtable(self).SetIncludeRecommendedUpdates)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn CheckPermission(&self, usertype: AutomaticUpdatesUserType, permissiontype: AutomaticUpdatesPermissionType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckPermission)(windows_core::Interface::as_raw(self), usertype, permissiontype, &mut result__).map(|| result__) } } @@ -214,7 +214,7 @@ windows_core::imp::define_interface!(IAutomaticUpdatesSettings3, IAutomaticUpdat impl std::ops::Deref for IAutomaticUpdatesSettings3 { type Target = IAutomaticUpdatesSettings2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -222,7 +222,7 @@ windows_core::imp::interface_hierarchy!(IAutomaticUpdatesSettings3, windows_core #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesSettings3 { pub unsafe fn NonAdministratorsElevated(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NonAdministratorsElevated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNonAdministratorsElevated(&self, value: P0) -> windows_core::Result<()> @@ -232,7 +232,7 @@ impl IAutomaticUpdatesSettings3 { (windows_core::Interface::vtable(self).SetNonAdministratorsElevated)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn FeaturedUpdatesEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FeaturedUpdatesEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFeaturedUpdatesEnabled(&self, value: P0) -> windows_core::Result<()> @@ -257,7 +257,7 @@ windows_core::imp::define_interface!(ICategory, ICategory_Vtbl, 0x81ddc1b8_9d35_ impl std::ops::Deref for ICategory { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -265,43 +265,43 @@ windows_core::imp::interface_hierarchy!(ICategory, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl ICategory { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CategoryID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CategoryID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Children(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Children)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Image)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Order(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Order)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Updates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -309,13 +309,13 @@ impl ICategory { #[repr(C)] pub struct ICategory_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CategoryID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CategoryID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Children: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Children: usize, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Image: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -325,7 +325,7 @@ pub struct ICategory_Vtbl { pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Parent: usize, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Updates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -337,7 +337,7 @@ windows_core::imp::define_interface!(ICategoryCollection, ICategoryCollection_Vt impl std::ops::Deref for ICategoryCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -346,15 +346,15 @@ windows_core::imp::interface_hierarchy!(ICategoryCollection, windows_core::IUnkn impl ICategoryCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -373,7 +373,7 @@ windows_core::imp::define_interface!(IDownloadCompletedCallback, IDownloadComple impl std::ops::Deref for IDownloadCompletedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDownloadCompletedCallback, windows_core::IUnknown); @@ -401,7 +401,7 @@ windows_core::imp::define_interface!(IDownloadCompletedCallbackArgs, IDownloadCo impl std::ops::Deref for IDownloadCompletedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -419,7 +419,7 @@ windows_core::imp::define_interface!(IDownloadJob, IDownloadJob_Vtbl, 0xc574de85 impl std::ops::Deref for IDownloadJob { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -427,16 +427,16 @@ windows_core::imp::interface_hierarchy!(IDownloadJob, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl IDownloadJob { pub unsafe fn AsyncState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AsyncState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsCompleted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCompleted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Updates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CleanUp(&self) -> windows_core::Result<()> { @@ -444,7 +444,7 @@ impl IDownloadJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProgress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAbort(&self) -> windows_core::Result<()> { @@ -455,7 +455,7 @@ impl IDownloadJob { #[repr(C)] pub struct IDownloadJob_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub AsyncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AsyncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Updates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -474,7 +474,7 @@ windows_core::imp::define_interface!(IDownloadProgress, IDownloadProgress_Vtbl, impl std::ops::Deref for IDownloadProgress { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -482,40 +482,40 @@ windows_core::imp::interface_hierarchy!(IDownloadProgress, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IDownloadProgress { pub unsafe fn CurrentUpdateBytesDownloaded(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentUpdateBytesDownloaded)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentUpdateBytesToDownload(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentUpdateBytesToDownload)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentUpdateIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentUpdateIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PercentComplete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PercentComplete)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalBytesDownloaded(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalBytesDownloaded)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TotalBytesToDownload(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TotalBytesToDownload)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUpdateResult(&self, updateindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUpdateResult)(windows_core::Interface::as_raw(self), updateindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentUpdateDownloadPhase(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentUpdateDownloadPhase)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentUpdatePercentComplete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentUpdatePercentComplete)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -540,7 +540,7 @@ windows_core::imp::define_interface!(IDownloadProgressChangedCallback, IDownload impl std::ops::Deref for IDownloadProgressChangedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDownloadProgressChangedCallback, windows_core::IUnknown); @@ -568,7 +568,7 @@ windows_core::imp::define_interface!(IDownloadProgressChangedCallbackArgs, IDown impl std::ops::Deref for IDownloadProgressChangedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -577,7 +577,7 @@ windows_core::imp::interface_hierarchy!(IDownloadProgressChangedCallbackArgs, wi impl IDownloadProgressChangedCallbackArgs { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Progress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Progress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -596,7 +596,7 @@ windows_core::imp::define_interface!(IDownloadResult, IDownloadResult_Vtbl, 0xda impl std::ops::Deref for IDownloadResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -604,16 +604,16 @@ windows_core::imp::interface_hierarchy!(IDownloadResult, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IDownloadResult { pub unsafe fn HResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResultCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUpdateResult(&self, updateindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUpdateResult)(windows_core::Interface::as_raw(self), updateindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -634,7 +634,7 @@ windows_core::imp::define_interface!(IImageInformation, IImageInformation_Vtbl, impl std::ops::Deref for IImageInformation { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -642,19 +642,19 @@ windows_core::imp::interface_hierarchy!(IImageInformation, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IImageInformation { pub unsafe fn AltText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AltText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Height(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Height)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Source(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Source)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Width(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -662,9 +662,9 @@ impl IImageInformation { #[repr(C)] pub struct IImageInformation_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub AltText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AltText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -673,7 +673,7 @@ windows_core::imp::define_interface!(IInstallationAgent, IInstallationAgent_Vtbl impl std::ops::Deref for IInstallationAgent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -694,7 +694,7 @@ impl IInstallationAgent { pub struct IInstallationAgent_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub RecordInstallationResult: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RecordInstallationResult: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RecordInstallationResult: usize, } @@ -704,7 +704,7 @@ windows_core::imp::define_interface!(IInstallationBehavior, IInstallationBehavio impl std::ops::Deref for IInstallationBehavior { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -712,19 +712,19 @@ windows_core::imp::interface_hierarchy!(IInstallationBehavior, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IInstallationBehavior { pub unsafe fn CanRequestUserInput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanRequestUserInput)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Impact(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Impact)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RebootBehavior(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RebootBehavior)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RequiresNetworkConnectivity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequiresNetworkConnectivity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -741,7 +741,7 @@ windows_core::imp::define_interface!(IInstallationCompletedCallback, IInstallati impl std::ops::Deref for IInstallationCompletedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInstallationCompletedCallback, windows_core::IUnknown); @@ -769,7 +769,7 @@ windows_core::imp::define_interface!(IInstallationCompletedCallbackArgs, IInstal impl std::ops::Deref for IInstallationCompletedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -787,7 +787,7 @@ windows_core::imp::define_interface!(IInstallationJob, IInstallationJob_Vtbl, 0x impl std::ops::Deref for IInstallationJob { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -795,16 +795,16 @@ windows_core::imp::interface_hierarchy!(IInstallationJob, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IInstallationJob { pub unsafe fn AsyncState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AsyncState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsCompleted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCompleted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Updates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CleanUp(&self) -> windows_core::Result<()> { @@ -812,7 +812,7 @@ impl IInstallationJob { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetProgress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAbort(&self) -> windows_core::Result<()> { @@ -823,7 +823,7 @@ impl IInstallationJob { #[repr(C)] pub struct IInstallationJob_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub AsyncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AsyncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Updates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -842,7 +842,7 @@ windows_core::imp::define_interface!(IInstallationProgress, IInstallationProgres impl std::ops::Deref for IInstallationProgress { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -850,20 +850,20 @@ windows_core::imp::interface_hierarchy!(IInstallationProgress, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IInstallationProgress { pub unsafe fn CurrentUpdateIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentUpdateIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentUpdatePercentComplete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentUpdatePercentComplete)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PercentComplete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PercentComplete)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUpdateResult(&self, updateindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUpdateResult)(windows_core::Interface::as_raw(self), updateindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -883,7 +883,7 @@ windows_core::imp::define_interface!(IInstallationProgressChangedCallback, IInst impl std::ops::Deref for IInstallationProgressChangedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInstallationProgressChangedCallback, windows_core::IUnknown); @@ -911,7 +911,7 @@ windows_core::imp::define_interface!(IInstallationProgressChangedCallbackArgs, I impl std::ops::Deref for IInstallationProgressChangedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -920,7 +920,7 @@ windows_core::imp::interface_hierarchy!(IInstallationProgressChangedCallbackArgs impl IInstallationProgressChangedCallbackArgs { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Progress(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Progress)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -939,7 +939,7 @@ windows_core::imp::define_interface!(IInstallationResult, IInstallationResult_Vt impl std::ops::Deref for IInstallationResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -947,20 +947,20 @@ windows_core::imp::interface_hierarchy!(IInstallationResult, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IInstallationResult { pub unsafe fn HResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RebootRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RebootRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResultCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetUpdateResult(&self, updateindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUpdateResult)(windows_core::Interface::as_raw(self), updateindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -982,7 +982,7 @@ windows_core::imp::define_interface!(IInvalidProductLicenseException, IInvalidPr impl std::ops::Deref for IInvalidProductLicenseException { type Target = IUpdateException; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -990,7 +990,7 @@ windows_core::imp::interface_hierarchy!(IInvalidProductLicenseException, windows #[cfg(feature = "Win32_System_Com")] impl IInvalidProductLicenseException { pub unsafe fn Product(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Product)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -998,13 +998,13 @@ impl IInvalidProductLicenseException { #[repr(C)] pub struct IInvalidProductLicenseException_Vtbl { pub base__: IUpdateException_Vtbl, - pub Product: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Product: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchCompletedCallback, ISearchCompletedCallback_Vtbl, 0x88aee058_d4b0_4725_a2f1_814a67ae964c); impl std::ops::Deref for ISearchCompletedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchCompletedCallback, windows_core::IUnknown); @@ -1032,7 +1032,7 @@ windows_core::imp::define_interface!(ISearchCompletedCallbackArgs, ISearchComple impl std::ops::Deref for ISearchCompletedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1050,7 +1050,7 @@ windows_core::imp::define_interface!(ISearchJob, ISearchJob_Vtbl, 0x7366ea16_7a1 impl std::ops::Deref for ISearchJob { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1058,11 +1058,11 @@ windows_core::imp::interface_hierarchy!(ISearchJob, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl ISearchJob { pub unsafe fn AsyncState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AsyncState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsCompleted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsCompleted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CleanUp(&self) -> windows_core::Result<()> { @@ -1076,7 +1076,7 @@ impl ISearchJob { #[repr(C)] pub struct ISearchJob_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub AsyncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AsyncState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CleanUp: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1087,7 +1087,7 @@ windows_core::imp::define_interface!(ISearchResult, ISearchResult_Vtbl, 0xd40cff impl std::ops::Deref for ISearchResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1095,22 +1095,22 @@ windows_core::imp::interface_hierarchy!(ISearchResult, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl ISearchResult { pub unsafe fn ResultCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RootCategories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RootCategories)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Updates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Warnings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Warnings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1138,7 +1138,7 @@ windows_core::imp::define_interface!(IStringCollection, IStringCollection_Vtbl, impl std::ops::Deref for IStringCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1146,7 +1146,7 @@ windows_core::imp::interface_hierarchy!(IStringCollection, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IStringCollection { pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_Item(&self, index: i32, value: P0) -> windows_core::Result<()> @@ -1156,22 +1156,22 @@ impl IStringCollection { (windows_core::Interface::vtable(self).put_Item)(windows_core::Interface::as_raw(self), index, value.param().abi()).ok() } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Add(&self, value: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), value.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Clear(&self) -> windows_core::Result<()> { @@ -1179,7 +1179,7 @@ impl IStringCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Copy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Copy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Insert(&self, index: i32, value: P0) -> windows_core::Result<()> @@ -1196,18 +1196,18 @@ impl IStringCollection { #[repr(C)] pub struct IStringCollection_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Copy: usize, - pub Insert: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Insert: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -1216,7 +1216,7 @@ windows_core::imp::define_interface!(ISystemInformation, ISystemInformation_Vtbl impl std::ops::Deref for ISystemInformation { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1224,11 +1224,11 @@ windows_core::imp::interface_hierarchy!(ISystemInformation, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISystemInformation { pub unsafe fn OemHardwareSupportLink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OemHardwareSupportLink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RebootRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RebootRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1236,7 +1236,7 @@ impl ISystemInformation { #[repr(C)] pub struct ISystemInformation_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub OemHardwareSupportLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OemHardwareSupportLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RebootRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -1245,7 +1245,7 @@ windows_core::imp::define_interface!(IUpdate, IUpdate_Vtbl, 0x6a92b07a_d821_4682 impl std::ops::Deref for IUpdate { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1253,80 +1253,80 @@ windows_core::imp::interface_hierarchy!(IUpdate, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl IUpdate { pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AutoSelectOnWebSites(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoSelectOnWebSites)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn BundledUpdates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BundledUpdates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CanRequireSource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanRequireSource)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Categories)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Deadline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Deadline)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeltaCompressedContentAvailable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeltaCompressedContentAvailable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeltaCompressedContentPreferred(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeltaCompressedContentPreferred)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EulaAccepted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EulaAccepted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EulaText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EulaText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HandlerID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HandlerID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Identity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Identity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Image(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Image)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn InstallationBehavior(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstallationBehavior)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsBeta(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsBeta)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsDownloaded(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDownloaded)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsHidden(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsHidden)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsHidden(&self, value: P0) -> windows_core::Result<()> @@ -1336,101 +1336,101 @@ impl IUpdate { (windows_core::Interface::vtable(self).SetIsHidden)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn IsInstalled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInstalled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsMandatory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMandatory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsUninstallable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsUninstallable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Languages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Languages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastDeploymentChangeTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastDeploymentChangeTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MaxDownloadSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxDownloadSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinDownloadSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinDownloadSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn MoreInfoUrls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoreInfoUrls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MsrcSeverity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MsrcSeverity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RecommendedCpuSpeed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecommendedCpuSpeed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RecommendedHardDiskSpace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecommendedHardDiskSpace)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RecommendedMemory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecommendedMemory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReleaseNotes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReleaseNotes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SecurityBulletinIDs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SecurityBulletinIDs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SupersededUpdateIDs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupersededUpdateIDs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UninstallationNotes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UninstallationNotes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationBehavior(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UninstallationBehavior)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UninstallationSteps)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn KBArticleIDs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KBArticleIDs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeploymentAction)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CopyFromCache(&self, path: P0, toextractcabfiles: P1) -> windows_core::Result<()> @@ -1441,12 +1441,12 @@ impl IUpdate { (windows_core::Interface::vtable(self).CopyFromCache)(windows_core::Interface::as_raw(self), path.param().abi(), toextractcabfiles.param().abi()).ok() } pub unsafe fn DownloadPriority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DownloadContents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadContents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1454,7 +1454,7 @@ impl IUpdate { #[repr(C)] pub struct IUpdate_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AutoSelectOnWebSites: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub BundledUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1465,13 +1465,13 @@ pub struct IUpdate_Vtbl { pub Categories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Categories: usize, - pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeltaCompressedContentAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DeltaCompressedContentPreferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EulaAccepted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub EulaText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub HandlerID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EulaText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub HandlerID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Identity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1502,11 +1502,11 @@ pub struct IUpdate_Vtbl { pub MoreInfoUrls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] MoreInfoUrls: usize, - pub MsrcSeverity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub MsrcSeverity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RecommendedCpuSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RecommendedHardDiskSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RecommendedMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ReleaseNotes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReleaseNotes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SecurityBulletinIDs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1515,9 +1515,9 @@ pub struct IUpdate_Vtbl { pub SupersededUpdateIDs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SupersededUpdateIDs: usize, - pub SupportUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SupportUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UpdateType) -> windows_core::HRESULT, - pub UninstallationNotes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UninstallationNotes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub UninstallationBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1532,7 +1532,7 @@ pub struct IUpdate_Vtbl { KBArticleIDs: usize, pub AcceptEula: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DeploymentAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeploymentAction) -> windows_core::HRESULT, - pub CopyFromCache: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub CopyFromCache: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DownloadPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DownloadPriority) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DownloadContents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1545,7 +1545,7 @@ windows_core::imp::define_interface!(IUpdate2, IUpdate2_Vtbl, 0x144fe9b0_d23d_4a impl std::ops::Deref for IUpdate2 { type Target = IUpdate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1553,16 +1553,16 @@ windows_core::imp::interface_hierarchy!(IUpdate2, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IUpdate2 { pub unsafe fn RebootRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RebootRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPresent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPresent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CveIDs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1594,7 +1594,7 @@ windows_core::imp::define_interface!(IUpdate3, IUpdate3_Vtbl, 0x112eda6b_95b3_47 impl std::ops::Deref for IUpdate3 { type Target = IUpdate2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1602,7 +1602,7 @@ windows_core::imp::interface_hierarchy!(IUpdate3, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IUpdate3 { pub unsafe fn BrowseOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BrowseOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1618,7 +1618,7 @@ windows_core::imp::define_interface!(IUpdate4, IUpdate4_Vtbl, 0x27e94b0d_5139_49 impl std::ops::Deref for IUpdate4 { type Target = IUpdate3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1626,7 +1626,7 @@ windows_core::imp::interface_hierarchy!(IUpdate4, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IUpdate4 { pub unsafe fn PerUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PerUser)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1642,7 +1642,7 @@ windows_core::imp::define_interface!(IUpdate5, IUpdate5_Vtbl, 0xc1c2f21a_d2f4_49 impl std::ops::Deref for IUpdate5 { type Target = IUpdate4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1650,11 +1650,11 @@ windows_core::imp::interface_hierarchy!(IUpdate5, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IUpdate5 { pub unsafe fn AutoSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AutoDownload(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoDownload)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1671,7 +1671,7 @@ windows_core::imp::define_interface!(IUpdateCollection, IUpdateCollection_Vtbl, impl std::ops::Deref for IUpdateCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1680,7 +1680,7 @@ windows_core::imp::interface_hierarchy!(IUpdateCollection, windows_core::IUnknow impl IUpdateCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1691,15 +1691,15 @@ impl IUpdateCollection { (windows_core::Interface::vtable(self).put_Item)(windows_core::Interface::as_raw(self), index, value.param().abi()).ok() } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1707,7 +1707,7 @@ impl IUpdateCollection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), value.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Clear(&self) -> windows_core::Result<()> { @@ -1715,7 +1715,7 @@ impl IUpdateCollection { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Copy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Copy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1765,7 +1765,7 @@ windows_core::imp::define_interface!(IUpdateDownloadContent, IUpdateDownloadCont impl std::ops::Deref for IUpdateDownloadContent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1773,7 +1773,7 @@ windows_core::imp::interface_hierarchy!(IUpdateDownloadContent, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloadContent { pub unsafe fn DownloadUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DownloadUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1781,7 +1781,7 @@ impl IUpdateDownloadContent { #[repr(C)] pub struct IUpdateDownloadContent_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub DownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateDownloadContent2, IUpdateDownloadContent2_Vtbl, 0xc97ad11b_f257_420b_9d9f_377f733f6f68); @@ -1789,7 +1789,7 @@ windows_core::imp::define_interface!(IUpdateDownloadContent2, IUpdateDownloadCon impl std::ops::Deref for IUpdateDownloadContent2 { type Target = IUpdateDownloadContent; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1797,7 +1797,7 @@ windows_core::imp::interface_hierarchy!(IUpdateDownloadContent2, windows_core::I #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloadContent2 { pub unsafe fn IsDeltaCompressedContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDeltaCompressedContent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1813,7 +1813,7 @@ windows_core::imp::define_interface!(IUpdateDownloadContentCollection, IUpdateDo impl std::ops::Deref for IUpdateDownloadContentCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1822,15 +1822,15 @@ windows_core::imp::interface_hierarchy!(IUpdateDownloadContentCollection, window impl IUpdateDownloadContentCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1851,7 +1851,7 @@ windows_core::imp::define_interface!(IUpdateDownloadResult, IUpdateDownloadResul impl std::ops::Deref for IUpdateDownloadResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1859,11 +1859,11 @@ windows_core::imp::interface_hierarchy!(IUpdateDownloadResult, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloadResult { pub unsafe fn HResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResultCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1880,7 +1880,7 @@ windows_core::imp::define_interface!(IUpdateDownloader, IUpdateDownloader_Vtbl, impl std::ops::Deref for IUpdateDownloader { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1888,7 +1888,7 @@ windows_core::imp::interface_hierarchy!(IUpdateDownloader, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloader { pub unsafe fn ClientApplicationID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientApplicationID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClientApplicationID(&self, value: P0) -> windows_core::Result<()> @@ -1898,7 +1898,7 @@ impl IUpdateDownloader { (windows_core::Interface::vtable(self).SetClientApplicationID)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn IsForced(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsForced)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsForced(&self, value: P0) -> windows_core::Result<()> @@ -1908,7 +1908,7 @@ impl IUpdateDownloader { (windows_core::Interface::vtable(self).SetIsForced)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Priority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Priority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPriority(&self, value: DownloadPriority) -> windows_core::Result<()> { @@ -1916,7 +1916,7 @@ impl IUpdateDownloader { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Updates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1933,12 +1933,12 @@ impl IUpdateDownloader { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginDownload)(windows_core::Interface::as_raw(self), onprogresschanged.param().abi(), oncompleted.param().abi(), state.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Download(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Download)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1946,7 +1946,7 @@ impl IUpdateDownloader { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndDownload)(windows_core::Interface::as_raw(self), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1954,8 +1954,8 @@ impl IUpdateDownloader { #[repr(C)] pub struct IUpdateDownloader_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsForced: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIsForced: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DownloadPriority) -> windows_core::HRESULT, @@ -1969,7 +1969,7 @@ pub struct IUpdateDownloader_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetUpdates: usize, #[cfg(feature = "Win32_System_Com")] - pub BeginDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BeginDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] BeginDownload: usize, #[cfg(feature = "Win32_System_Com")] @@ -1987,7 +1987,7 @@ windows_core::imp::define_interface!(IUpdateException, IUpdateException_Vtbl, 0x impl std::ops::Deref for IUpdateException { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1995,15 +1995,15 @@ windows_core::imp::interface_hierarchy!(IUpdateException, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IUpdateException { pub unsafe fn Message(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Message)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Context(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Context)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2011,7 +2011,7 @@ impl IUpdateException { #[repr(C)] pub struct IUpdateException_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UpdateExceptionContext) -> windows_core::HRESULT, } @@ -2021,7 +2021,7 @@ windows_core::imp::define_interface!(IUpdateExceptionCollection, IUpdateExceptio impl std::ops::Deref for IUpdateExceptionCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2030,15 +2030,15 @@ windows_core::imp::interface_hierarchy!(IUpdateExceptionCollection, windows_core impl IUpdateExceptionCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2059,7 +2059,7 @@ windows_core::imp::define_interface!(IUpdateHistoryEntry, IUpdateHistoryEntry_Vt impl std::ops::Deref for IUpdateHistoryEntry { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2067,61 +2067,61 @@ windows_core::imp::interface_hierarchy!(IUpdateHistoryEntry, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl IUpdateHistoryEntry { pub unsafe fn Operation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Operation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResultCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Date(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Date)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn UpdateIdentity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UpdateIdentity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnmappedResultCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UnmappedResultCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ClientApplicationID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientApplicationID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServerSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ServiceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn UninstallationSteps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UninstallationSteps)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UninstallationNotes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UninstallationNotes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2137,18 +2137,18 @@ pub struct IUpdateHistoryEntry_Vtbl { pub UpdateIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] UpdateIdentity: usize, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub UnmappedResultCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ServerSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ServerSelection) -> windows_core::HRESULT, - pub ServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub UninstallationSteps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] UninstallationSteps: usize, - pub UninstallationNotes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SupportUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UninstallationNotes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SupportUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateHistoryEntry2, IUpdateHistoryEntry2_Vtbl, 0xc2bfb780_4539_4132_ab8c_0a8772013ab6); @@ -2156,7 +2156,7 @@ windows_core::imp::define_interface!(IUpdateHistoryEntry2, IUpdateHistoryEntry2_ impl std::ops::Deref for IUpdateHistoryEntry2 { type Target = IUpdateHistoryEntry; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2165,7 +2165,7 @@ windows_core::imp::interface_hierarchy!(IUpdateHistoryEntry2, windows_core::IUnk impl IUpdateHistoryEntry2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Categories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Categories)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2184,7 +2184,7 @@ windows_core::imp::define_interface!(IUpdateHistoryEntryCollection, IUpdateHisto impl std::ops::Deref for IUpdateHistoryEntryCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2193,15 +2193,15 @@ windows_core::imp::interface_hierarchy!(IUpdateHistoryEntryCollection, windows_c impl IUpdateHistoryEntryCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2222,7 +2222,7 @@ windows_core::imp::define_interface!(IUpdateIdentity, IUpdateIdentity_Vtbl, 0x46 impl std::ops::Deref for IUpdateIdentity { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2230,11 +2230,11 @@ windows_core::imp::interface_hierarchy!(IUpdateIdentity, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IUpdateIdentity { pub unsafe fn RevisionNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RevisionNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UpdateID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UpdateID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2243,7 +2243,7 @@ impl IUpdateIdentity { pub struct IUpdateIdentity_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub RevisionNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub UpdateID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdateID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateInstallationResult, IUpdateInstallationResult_Vtbl, 0xd940f0f8_3cbb_4fd0_993f_471e7f2328ad); @@ -2251,7 +2251,7 @@ windows_core::imp::define_interface!(IUpdateInstallationResult, IUpdateInstallat impl std::ops::Deref for IUpdateInstallationResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2259,15 +2259,15 @@ windows_core::imp::interface_hierarchy!(IUpdateInstallationResult, windows_core: #[cfg(feature = "Win32_System_Com")] impl IUpdateInstallationResult { pub unsafe fn HResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HResult)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RebootRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RebootRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResultCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2285,7 +2285,7 @@ windows_core::imp::define_interface!(IUpdateInstaller, IUpdateInstaller_Vtbl, 0x impl std::ops::Deref for IUpdateInstaller { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2293,7 +2293,7 @@ windows_core::imp::interface_hierarchy!(IUpdateInstaller, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IUpdateInstaller { pub unsafe fn ClientApplicationID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientApplicationID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClientApplicationID(&self, value: P0) -> windows_core::Result<()> @@ -2303,7 +2303,7 @@ impl IUpdateInstaller { (windows_core::Interface::vtable(self).SetClientApplicationID)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn IsForced(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsForced)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsForced(&self, value: P0) -> windows_core::Result<()> @@ -2313,7 +2313,7 @@ impl IUpdateInstaller { (windows_core::Interface::vtable(self).SetIsForced)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ParentHwnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentHwnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetParentHwnd(&self, value: P0) -> windows_core::Result<()> @@ -2329,12 +2329,12 @@ impl IUpdateInstaller { (windows_core::Interface::vtable(self).SetParentWindow)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ParentWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentWindow)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Updates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Updates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2351,7 +2351,7 @@ impl IUpdateInstaller { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginInstall)(windows_core::Interface::as_raw(self), onprogresschanged.param().abi(), oncompleted.param().abi(), state.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2361,7 +2361,7 @@ impl IUpdateInstaller { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginUninstall)(windows_core::Interface::as_raw(self), onprogresschanged.param().abi(), oncompleted.param().abi(), state.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2369,7 +2369,7 @@ impl IUpdateInstaller { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndInstall)(windows_core::Interface::as_raw(self), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2377,12 +2377,12 @@ impl IUpdateInstaller { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndUninstall)(windows_core::Interface::as_raw(self), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Install(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Install)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2390,20 +2390,20 @@ impl IUpdateInstaller { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RunWizard)(windows_core::Interface::as_raw(self), dialogtitle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsBusy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsBusy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Uninstall(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Uninstall)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AllowSourcePrompts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowSourcePrompts)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAllowSourcePrompts(&self, value: P0) -> windows_core::Result<()> @@ -2413,7 +2413,7 @@ impl IUpdateInstaller { (windows_core::Interface::vtable(self).SetAllowSourcePrompts)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn RebootRequiredBeforeInstallation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RebootRequiredBeforeInstallation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2421,8 +2421,8 @@ impl IUpdateInstaller { #[repr(C)] pub struct IUpdateInstaller_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsForced: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIsForced: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ParentHwnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, @@ -2438,11 +2438,11 @@ pub struct IUpdateInstaller_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetUpdates: usize, #[cfg(feature = "Win32_System_Com")] - pub BeginInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BeginInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] BeginInstall: usize, #[cfg(feature = "Win32_System_Com")] - pub BeginUninstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BeginUninstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] BeginUninstall: usize, #[cfg(feature = "Win32_System_Com")] @@ -2458,7 +2458,7 @@ pub struct IUpdateInstaller_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Install: usize, #[cfg(feature = "Win32_System_Com")] - pub RunWizard: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RunWizard: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RunWizard: usize, pub IsBusy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -2476,7 +2476,7 @@ windows_core::imp::define_interface!(IUpdateInstaller2, IUpdateInstaller2_Vtbl, impl std::ops::Deref for IUpdateInstaller2 { type Target = IUpdateInstaller; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2484,7 +2484,7 @@ windows_core::imp::interface_hierarchy!(IUpdateInstaller2, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IUpdateInstaller2 { pub unsafe fn ForceQuiet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ForceQuiet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetForceQuiet(&self, value: P0) -> windows_core::Result<()> @@ -2507,7 +2507,7 @@ windows_core::imp::define_interface!(IUpdateInstaller3, IUpdateInstaller3_Vtbl, impl std::ops::Deref for IUpdateInstaller3 { type Target = IUpdateInstaller2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2515,7 +2515,7 @@ windows_core::imp::interface_hierarchy!(IUpdateInstaller3, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IUpdateInstaller3 { pub unsafe fn AttemptCloseAppsIfNecessary(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttemptCloseAppsIfNecessary)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAttemptCloseAppsIfNecessary(&self, value: P0) -> windows_core::Result<()> @@ -2538,7 +2538,7 @@ windows_core::imp::define_interface!(IUpdateInstaller4, IUpdateInstaller4_Vtbl, impl std::ops::Deref for IUpdateInstaller4 { type Target = IUpdateInstaller3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2559,7 +2559,7 @@ windows_core::imp::define_interface!(IUpdateLockdown, IUpdateLockdown_Vtbl, 0xa9 impl std::ops::Deref for IUpdateLockdown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUpdateLockdown, windows_core::IUnknown); @@ -2579,7 +2579,7 @@ windows_core::imp::define_interface!(IUpdateSearcher, IUpdateSearcher_Vtbl, 0x8f impl std::ops::Deref for IUpdateSearcher { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2587,7 +2587,7 @@ windows_core::imp::interface_hierarchy!(IUpdateSearcher, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IUpdateSearcher { pub unsafe fn CanAutomaticallyUpgradeService(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanAutomaticallyUpgradeService)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCanAutomaticallyUpgradeService(&self, value: P0) -> windows_core::Result<()> @@ -2597,7 +2597,7 @@ impl IUpdateSearcher { (windows_core::Interface::vtable(self).SetCanAutomaticallyUpgradeService)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ClientApplicationID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientApplicationID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClientApplicationID(&self, value: P0) -> windows_core::Result<()> @@ -2607,7 +2607,7 @@ impl IUpdateSearcher { (windows_core::Interface::vtable(self).SetClientApplicationID)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn IncludePotentiallySupersededUpdates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncludePotentiallySupersededUpdates)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIncludePotentiallySupersededUpdates(&self, value: P0) -> windows_core::Result<()> @@ -2617,7 +2617,7 @@ impl IUpdateSearcher { (windows_core::Interface::vtable(self).SetIncludePotentiallySupersededUpdates)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ServerSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServerSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetServerSelection(&self, value: ServerSelection) -> windows_core::Result<()> { @@ -2630,7 +2630,7 @@ impl IUpdateSearcher { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BeginSearch)(windows_core::Interface::as_raw(self), criteria.param().abi(), oncompleted.param().abi(), state.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2638,19 +2638,19 @@ impl IUpdateSearcher { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndSearch)(windows_core::Interface::as_raw(self), searchjob.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EscapeString(&self, unescaped: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EscapeString)(windows_core::Interface::as_raw(self), unescaped.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn QueryHistory(&self, startindex: i32, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryHistory)(windows_core::Interface::as_raw(self), startindex, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2658,11 +2658,11 @@ impl IUpdateSearcher { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Search)(windows_core::Interface::as_raw(self), criteria.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Online(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Online)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOnline(&self, value: P0) -> windows_core::Result<()> @@ -2672,11 +2672,11 @@ impl IUpdateSearcher { (windows_core::Interface::vtable(self).SetOnline)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn GetTotalHistoryCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTotalHistoryCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ServiceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServiceID(&self, value: P0) -> windows_core::Result<()> @@ -2692,34 +2692,34 @@ pub struct IUpdateSearcher_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub CanAutomaticallyUpgradeService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetCanAutomaticallyUpgradeService: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IncludePotentiallySupersededUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIncludePotentiallySupersededUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ServerSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ServerSelection) -> windows_core::HRESULT, pub SetServerSelection: unsafe extern "system" fn(*mut core::ffi::c_void, ServerSelection) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub BeginSearch: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BeginSearch: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] BeginSearch: usize, #[cfg(feature = "Win32_System_Com")] pub EndSearch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] EndSearch: usize, - pub EscapeString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EscapeString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub QueryHistory: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] QueryHistory: usize, #[cfg(feature = "Win32_System_Com")] - pub Search: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Search: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Search: usize, pub Online: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetOnline: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetTotalHistoryCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateSearcher2, IUpdateSearcher2_Vtbl, 0x4cbdcb2d_1589_4beb_bd1c_3e582ff0add0); @@ -2727,7 +2727,7 @@ windows_core::imp::define_interface!(IUpdateSearcher2, IUpdateSearcher2_Vtbl, 0x impl std::ops::Deref for IUpdateSearcher2 { type Target = IUpdateSearcher; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2735,7 +2735,7 @@ windows_core::imp::interface_hierarchy!(IUpdateSearcher2, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IUpdateSearcher2 { pub unsafe fn IgnoreDownloadPriority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IgnoreDownloadPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIgnoreDownloadPriority(&self, value: P0) -> windows_core::Result<()> @@ -2758,7 +2758,7 @@ windows_core::imp::define_interface!(IUpdateSearcher3, IUpdateSearcher3_Vtbl, 0x impl std::ops::Deref for IUpdateSearcher3 { type Target = IUpdateSearcher2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2766,7 +2766,7 @@ windows_core::imp::interface_hierarchy!(IUpdateSearcher3, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IUpdateSearcher3 { pub unsafe fn SearchScope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchScope)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSearchScope(&self, value: SearchScope) -> windows_core::Result<()> { @@ -2786,7 +2786,7 @@ windows_core::imp::define_interface!(IUpdateService, IUpdateService_Vtbl, 0x76b3 impl std::ops::Deref for IUpdateService { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2794,56 +2794,56 @@ windows_core::imp::interface_hierarchy!(IUpdateService, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IUpdateService { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ContentValidationCert(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContentValidationCert)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExpirationDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpirationDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsManaged(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsManaged)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsRegisteredWithAU(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRegisteredWithAU)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IssueDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IssueDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OffersWindowsUpdates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OffersWindowsUpdates)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RedirectUrls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RedirectUrls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsScanPackageService(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsScanPackageService)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanRegisterWithAU(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanRegisterWithAU)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ServiceUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetupPrefix(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetupPrefix)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2851,8 +2851,8 @@ impl IUpdateService { #[repr(C)] pub struct IUpdateService_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ContentValidationCert: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ContentValidationCert: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub ExpirationDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub IsManaged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsRegisteredWithAU: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -2862,11 +2862,11 @@ pub struct IUpdateService_Vtbl { pub RedirectUrls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RedirectUrls: usize, - pub ServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsScanPackageService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CanRegisterWithAU: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub ServiceUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetupPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetupPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateService2, IUpdateService2_Vtbl, 0x1518b460_6518_4172_940f_c75883b24ceb); @@ -2874,7 +2874,7 @@ windows_core::imp::define_interface!(IUpdateService2, IUpdateService2_Vtbl, 0x15 impl std::ops::Deref for IUpdateService2 { type Target = IUpdateService; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2882,7 +2882,7 @@ windows_core::imp::interface_hierarchy!(IUpdateService2, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IUpdateService2 { pub unsafe fn IsDefaultAUService(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDefaultAUService)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2898,7 +2898,7 @@ windows_core::imp::define_interface!(IUpdateServiceCollection, IUpdateServiceCol impl std::ops::Deref for IUpdateServiceCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2907,15 +2907,15 @@ windows_core::imp::interface_hierarchy!(IUpdateServiceCollection, windows_core:: impl IUpdateServiceCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2936,7 +2936,7 @@ windows_core::imp::define_interface!(IUpdateServiceManager, IUpdateServiceManage impl std::ops::Deref for IUpdateServiceManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2945,7 +2945,7 @@ windows_core::imp::interface_hierarchy!(IUpdateServiceManager, windows_core::IUn impl IUpdateServiceManager { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Services(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Services)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2954,7 +2954,7 @@ impl IUpdateServiceManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddService)(windows_core::Interface::as_raw(self), serviceid.param().abi(), authorizationcabpath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterServiceWithAU(&self, serviceid: P0) -> windows_core::Result<()> @@ -2981,7 +2981,7 @@ impl IUpdateServiceManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddScanPackageService)(windows_core::Interface::as_raw(self), servicename.param().abi(), scanfilelocation.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetOption(&self, optionname: P0, optionvalue: P1) -> windows_core::Result<()> @@ -3001,17 +3001,17 @@ pub struct IUpdateServiceManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Services: usize, #[cfg(feature = "Win32_System_Com")] - pub AddService: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddService: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddService: usize, - pub RegisterServiceWithAU: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveService: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UnregisterServiceWithAU: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RegisterServiceWithAU: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveService: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnregisterServiceWithAU: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub AddScanPackageService: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddScanPackageService: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddScanPackageService: usize, - pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateServiceManager2, IUpdateServiceManager2_Vtbl, 0x0bb8531d_7e8d_424f_986c_a0b8f60a3e7b); @@ -3019,7 +3019,7 @@ windows_core::imp::define_interface!(IUpdateServiceManager2, IUpdateServiceManag impl std::ops::Deref for IUpdateServiceManager2 { type Target = IUpdateServiceManager; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3027,7 +3027,7 @@ windows_core::imp::interface_hierarchy!(IUpdateServiceManager2, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IUpdateServiceManager2 { pub unsafe fn ClientApplicationID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientApplicationID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClientApplicationID(&self, value: P0) -> windows_core::Result<()> @@ -3041,7 +3041,7 @@ impl IUpdateServiceManager2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryServiceRegistration)(windows_core::Interface::as_raw(self), serviceid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3050,7 +3050,7 @@ impl IUpdateServiceManager2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddService2)(windows_core::Interface::as_raw(self), serviceid.param().abi(), flags, authorizationcabpath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3058,14 +3058,14 @@ impl IUpdateServiceManager2 { #[repr(C)] pub struct IUpdateServiceManager2_Vtbl { pub base__: IUpdateServiceManager_Vtbl, - pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub QueryServiceRegistration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryServiceRegistration: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] QueryServiceRegistration: usize, #[cfg(feature = "Win32_System_Com")] - pub AddService2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddService2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddService2: usize, } @@ -3075,7 +3075,7 @@ windows_core::imp::define_interface!(IUpdateServiceRegistration, IUpdateServiceR impl std::ops::Deref for IUpdateServiceRegistration { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3083,20 +3083,20 @@ windows_core::imp::interface_hierarchy!(IUpdateServiceRegistration, windows_core #[cfg(feature = "Win32_System_Com")] impl IUpdateServiceRegistration { pub unsafe fn RegistrationState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegistrationState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ServiceID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsPendingRegistrationWithAU(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPendingRegistrationWithAU)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Service(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Service)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3105,7 +3105,7 @@ impl IUpdateServiceRegistration { pub struct IUpdateServiceRegistration_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub RegistrationState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UpdateServiceRegistrationState) -> windows_core::HRESULT, - pub ServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsPendingRegistrationWithAU: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Service: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3118,7 +3118,7 @@ windows_core::imp::define_interface!(IUpdateSession, IUpdateSession_Vtbl, 0x8168 impl std::ops::Deref for IUpdateSession { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3126,7 +3126,7 @@ windows_core::imp::interface_hierarchy!(IUpdateSession, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IUpdateSession { pub unsafe fn ClientApplicationID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClientApplicationID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClientApplicationID(&self, value: P0) -> windows_core::Result<()> @@ -3136,12 +3136,12 @@ impl IUpdateSession { (windows_core::Interface::vtable(self).SetClientApplicationID)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn WebProxy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WebProxy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3153,17 +3153,17 @@ impl IUpdateSession { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateSearcher(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateUpdateSearcher)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateDownloader(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateUpdateDownloader)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateInstaller(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateUpdateInstaller)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3171,8 +3171,8 @@ impl IUpdateSession { #[repr(C)] pub struct IUpdateSession_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClientApplicationID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub WebProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3201,7 +3201,7 @@ windows_core::imp::define_interface!(IUpdateSession2, IUpdateSession2_Vtbl, 0x91 impl std::ops::Deref for IUpdateSession2 { type Target = IUpdateSession; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3209,7 +3209,7 @@ windows_core::imp::interface_hierarchy!(IUpdateSession2, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IUpdateSession2 { pub unsafe fn UserLocale(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserLocale)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUserLocale(&self, lcid: u32) -> windows_core::Result<()> { @@ -3229,7 +3229,7 @@ windows_core::imp::define_interface!(IUpdateSession3, IUpdateSession3_Vtbl, 0x91 impl std::ops::Deref for IUpdateSession3 { type Target = IUpdateSession2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3238,7 +3238,7 @@ windows_core::imp::interface_hierarchy!(IUpdateSession3, windows_core::IUnknown, impl IUpdateSession3 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateUpdateServiceManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateUpdateServiceManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3246,7 +3246,7 @@ impl IUpdateSession3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryHistory)(windows_core::Interface::as_raw(self), criteria.param().abi(), startindex, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3259,7 +3259,7 @@ pub struct IUpdateSession3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateUpdateServiceManager: usize, #[cfg(feature = "Win32_System_Com")] - pub QueryHistory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub QueryHistory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] QueryHistory: usize, } @@ -3269,7 +3269,7 @@ windows_core::imp::define_interface!(IWebProxy, IWebProxy_Vtbl, 0x174c81fe_aecd_ impl std::ops::Deref for IWebProxy { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3277,7 +3277,7 @@ windows_core::imp::interface_hierarchy!(IWebProxy, windows_core::IUnknown, super #[cfg(feature = "Win32_System_Com")] impl IWebProxy { pub unsafe fn Address(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Address)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAddress(&self, value: P0) -> windows_core::Result<()> @@ -3288,7 +3288,7 @@ impl IWebProxy { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn BypassList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BypassList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3299,7 +3299,7 @@ impl IWebProxy { (windows_core::Interface::vtable(self).SetBypassList)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn BypassProxyOnLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BypassProxyOnLocal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBypassProxyOnLocal(&self, value: P0) -> windows_core::Result<()> @@ -3309,11 +3309,11 @@ impl IWebProxy { (windows_core::Interface::vtable(self).SetBypassProxyOnLocal)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn ReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UserName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetUserName(&self, value: P0) -> windows_core::Result<()> @@ -3343,7 +3343,7 @@ impl IWebProxy { (windows_core::Interface::vtable(self).PromptForCredentialsFromHwnd)(windows_core::Interface::as_raw(self), parentwindow.param().abi(), title.param().abi()).ok() } pub unsafe fn AutoDetect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoDetect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoDetect(&self, value: P0) -> windows_core::Result<()> @@ -3357,8 +3357,8 @@ impl IWebProxy { #[repr(C)] pub struct IWebProxy_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Address: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub BypassList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3370,11 +3370,11 @@ pub struct IWebProxy_Vtbl { pub BypassProxyOnLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetBypassProxyOnLocal: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PromptForCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PromptForCredentialsFromHwnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUserName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PromptForCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PromptForCredentialsFromHwnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AutoDetect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAutoDetect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -3384,7 +3384,7 @@ windows_core::imp::define_interface!(IWindowsDriverUpdate, IWindowsDriverUpdate_ impl std::ops::Deref for IWindowsDriverUpdate { type Target = IUpdate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3392,35 +3392,35 @@ windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate { pub unsafe fn DriverClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverClass)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverHardwareID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverHardwareID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverManufacturer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverManufacturer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverModel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverModel)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverVerDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverVerDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceProblemNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceProblemNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3428,11 +3428,11 @@ impl IWindowsDriverUpdate { #[repr(C)] pub struct IWindowsDriverUpdate_Vtbl { pub base__: IUpdate_Vtbl, - pub DriverClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DriverHardwareID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DriverManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DriverModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DriverProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverHardwareID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DriverVerDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub DeviceProblemNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DeviceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3443,7 +3443,7 @@ windows_core::imp::define_interface!(IWindowsDriverUpdate2, IWindowsDriverUpdate impl std::ops::Deref for IWindowsDriverUpdate2 { type Target = IWindowsDriverUpdate; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3451,16 +3451,16 @@ windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate2, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate2 { pub unsafe fn RebootRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RebootRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPresent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPresent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CveIDs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CveIDs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3492,7 +3492,7 @@ windows_core::imp::define_interface!(IWindowsDriverUpdate3, IWindowsDriverUpdate impl std::ops::Deref for IWindowsDriverUpdate3 { type Target = IWindowsDriverUpdate2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3500,7 +3500,7 @@ windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate3, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate3 { pub unsafe fn BrowseOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BrowseOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3516,7 +3516,7 @@ windows_core::imp::define_interface!(IWindowsDriverUpdate4, IWindowsDriverUpdate impl std::ops::Deref for IWindowsDriverUpdate4 { type Target = IWindowsDriverUpdate3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3525,11 +3525,11 @@ windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate4, windows_core::IUn impl IWindowsDriverUpdate4 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn WindowsDriverUpdateEntries(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowsDriverUpdateEntries)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PerUser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PerUser)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3549,7 +3549,7 @@ windows_core::imp::define_interface!(IWindowsDriverUpdate5, IWindowsDriverUpdate impl std::ops::Deref for IWindowsDriverUpdate5 { type Target = IWindowsDriverUpdate4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3557,11 +3557,11 @@ windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate5, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate5 { pub unsafe fn AutoSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AutoDownload(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoDownload)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3578,7 +3578,7 @@ windows_core::imp::define_interface!(IWindowsDriverUpdateEntry, IWindowsDriverUp impl std::ops::Deref for IWindowsDriverUpdateEntry { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3586,35 +3586,35 @@ windows_core::imp::interface_hierarchy!(IWindowsDriverUpdateEntry, windows_core: #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdateEntry { pub unsafe fn DriverClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverClass)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverHardwareID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverHardwareID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverManufacturer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverManufacturer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverModel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverModel)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DriverVerDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverVerDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceProblemNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceProblemNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeviceStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3622,11 +3622,11 @@ impl IWindowsDriverUpdateEntry { #[repr(C)] pub struct IWindowsDriverUpdateEntry_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub DriverClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DriverHardwareID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DriverManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DriverModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DriverProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverHardwareID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverManufacturer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DriverProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DriverVerDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub DeviceProblemNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DeviceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3637,7 +3637,7 @@ windows_core::imp::define_interface!(IWindowsDriverUpdateEntryCollection, IWindo impl std::ops::Deref for IWindowsDriverUpdateEntryCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3646,15 +3646,15 @@ windows_core::imp::interface_hierarchy!(IWindowsDriverUpdateEntryCollection, win impl IWindowsDriverUpdateEntryCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn get_Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3675,7 +3675,7 @@ windows_core::imp::define_interface!(IWindowsUpdateAgentInfo, IWindowsUpdateAgen impl std::ops::Deref for IWindowsUpdateAgentInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3686,7 +3686,7 @@ impl IWindowsUpdateAgentInfo { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInfo)(windows_core::Interface::as_raw(self), varinfoidentifier.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3694,7 +3694,7 @@ impl IWindowsUpdateAgentInfo { #[repr(C)] pub struct IWindowsUpdateAgentInfo_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub const LIBID_WUApiLib: windows_core::GUID = windows_core::GUID::from_u128(0xb596cc9f_56e5_419e_a622_e01bb457431e); pub const UPDATE_LOCKDOWN_WEBSITE_ACCESS: u32 = 1u32; 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 461f665b2c..86693b78ac 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs @@ -2,13 +2,13 @@ windows_core::imp::define_interface!(IWaaSAssessor, IWaaSAssessor_Vtbl, 0x2347bb impl std::ops::Deref for IWaaSAssessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWaaSAssessor, windows_core::IUnknown); impl IWaaSAssessor { pub unsafe fn GetOSUpdateAssessment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOSUpdateAssessment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Variant/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Variant/mod.rs index b842cb8b05..3c63856be5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Variant/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Variant/mod.rs @@ -1,6 +1,6 @@ #[inline] pub unsafe fn ClearVariantArray(pvars: &mut [windows_core::VARIANT]) { - windows_targets::link!("propsys.dll" "system" fn ClearVariantArray(pvars : *mut std::mem::MaybeUninit < windows_core::VARIANT >, cvars : u32)); + windows_targets::link!("propsys.dll" "system" fn ClearVariantArray(pvars : *mut core::mem::MaybeUninit < windows_core::VARIANT >, cvars : u32)); ClearVariantArray(core::mem::transmute(pvars.as_ptr()), pvars.len().try_into().unwrap()) } #[inline] @@ -10,56 +10,56 @@ pub unsafe fn DosDateTimeToVariantTime(wdosdate: u16, wdostime: u16, pvtime: *mu } #[inline] pub unsafe fn InitVariantFromBooleanArray(prgf: &[super::super::Foundation::BOOL]) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromBooleanArray(prgf : *const super::super::Foundation:: BOOL, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromBooleanArray(prgf : *const super::super::Foundation:: BOOL, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromBooleanArray(core::mem::transmute(prgf.as_ptr()), prgf.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromBuffer(pv: *const core::ffi::c_void, cb: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromBuffer(pv : *const core::ffi::c_void, cb : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromBuffer(pv : *const core::ffi::c_void, cb : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromBuffer(pv, cb, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromDoubleArray(prgn: &[f64]) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromDoubleArray(prgn : *const f64, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromDoubleArray(prgn : *const f64, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromDoubleArray(core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromFileTime(pft: *const super::super::Foundation::FILETIME) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromFileTime(pft : *const super::super::Foundation:: FILETIME, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromFileTime(pft : *const super::super::Foundation:: FILETIME, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromFileTime(pft, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromFileTimeArray(prgft: Option<&[super::super::Foundation::FILETIME]>) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromFileTimeArray(prgft : *const super::super::Foundation:: FILETIME, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromFileTimeArray(prgft : *const super::super::Foundation:: FILETIME, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromFileTimeArray(core::mem::transmute(prgft.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), prgft.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromGUIDAsString(guid: *const windows_core::GUID) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromGUIDAsString(guid : *const windows_core::GUID, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromGUIDAsString(guid : *const windows_core::GUID, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromGUIDAsString(guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromInt16Array(prgn: &[i16]) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromInt16Array(prgn : *const i16, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromInt16Array(prgn : *const i16, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromInt16Array(core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromInt32Array(prgn: &[i32]) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromInt32Array(prgn : *const i32, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromInt32Array(prgn : *const i32, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromInt32Array(core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromInt64Array(prgn: &[i64]) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromInt64Array(prgn : *const i64, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromInt64Array(prgn : *const i64, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromInt64Array(core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -67,38 +67,38 @@ pub unsafe fn InitVariantFromResource(hinst: P0, id: u32) -> windows_core::R where P0: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromResource(hinst : super::super::Foundation:: HINSTANCE, id : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromResource(hinst : super::super::Foundation:: HINSTANCE, id : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromResource(hinst.param().abi(), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromStringArray(prgsz: &[windows_core::PCWSTR]) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromStringArray(prgsz : *const windows_core::PCWSTR, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromStringArray(prgsz : *const windows_core::PCWSTR, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromStringArray(core::mem::transmute(prgsz.as_ptr()), prgsz.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromUInt16Array(prgn: &[u16]) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromUInt16Array(prgn : *const u16, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromUInt16Array(prgn : *const u16, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromUInt16Array(core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromUInt32Array(prgn: &[u32]) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromUInt32Array(prgn : *const u32, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromUInt32Array(prgn : *const u32, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromUInt32Array(core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromUInt64Array(prgn: &[u64]) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromUInt64Array(prgn : *const u64, celems : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromUInt64Array(prgn : *const u64, celems : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromUInt64Array(core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn InitVariantFromVariantArrayElem(varin: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromVariantArrayElem(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromVariantArrayElem(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromVariantArrayElem(core::mem::transmute(varin), ielem, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -108,139 +108,139 @@ pub unsafe fn SystemTimeToVariantTime(lpsystemtime: *const super::super::Foundat } #[inline] pub unsafe fn VARIANT_UserFree(param0: *const u32, param1: *const windows_core::VARIANT) { - windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserFree(param0 : *const u32, param1 : *const std::mem::MaybeUninit < windows_core::VARIANT >)); + windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserFree(param0 : *const u32, param1 : *const core::mem::MaybeUninit < windows_core::VARIANT >)); VARIANT_UserFree(param0, core::mem::transmute(param1)) } #[inline] pub unsafe fn VARIANT_UserFree64(param0: *const u32, param1: *const windows_core::VARIANT) { - windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserFree64(param0 : *const u32, param1 : *const std::mem::MaybeUninit < windows_core::VARIANT >)); + windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserFree64(param0 : *const u32, param1 : *const core::mem::MaybeUninit < windows_core::VARIANT >)); VARIANT_UserFree64(param0, core::mem::transmute(param1)) } #[inline] pub unsafe fn VARIANT_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const windows_core::VARIANT) -> *mut u8 { - windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const std::mem::MaybeUninit < windows_core::VARIANT >) -> *mut u8); + windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const core::mem::MaybeUninit < windows_core::VARIANT >) -> *mut u8); VARIANT_UserMarshal(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn VARIANT_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const windows_core::VARIANT) -> *mut u8 { - windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const std::mem::MaybeUninit < windows_core::VARIANT >) -> *mut u8); + windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const core::mem::MaybeUninit < windows_core::VARIANT >) -> *mut u8); VARIANT_UserMarshal64(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn VARIANT_UserSize(param0: *const u32, param1: u32, param2: *const windows_core::VARIANT) -> u32 { - windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserSize(param0 : *const u32, param1 : u32, param2 : *const std::mem::MaybeUninit < windows_core::VARIANT >) -> u32); + windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserSize(param0 : *const u32, param1 : u32, param2 : *const core::mem::MaybeUninit < windows_core::VARIANT >) -> u32); VARIANT_UserSize(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn VARIANT_UserSize64(param0: *const u32, param1: u32, param2: *const windows_core::VARIANT) -> u32 { - windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserSize64(param0 : *const u32, param1 : u32, param2 : *const std::mem::MaybeUninit < windows_core::VARIANT >) -> u32); + windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserSize64(param0 : *const u32, param1 : u32, param2 : *const core::mem::MaybeUninit < windows_core::VARIANT >) -> u32); VARIANT_UserSize64(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn VARIANT_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut windows_core::VARIANT) -> *mut u8 { - windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> *mut u8); + windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> *mut u8); VARIANT_UserUnmarshal(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn VARIANT_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut windows_core::VARIANT) -> *mut u8 { - windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> *mut u8); + windows_targets::link!("oleaut32.dll" "system" fn VARIANT_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> *mut u8); VARIANT_UserUnmarshal64(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn VariantChangeType(pvargdest: *mut windows_core::VARIANT, pvarsrc: *const windows_core::VARIANT, wflags: VAR_CHANGE_FLAGS, vt: VARENUM) -> windows_core::Result<()> { - windows_targets::link!("oleaut32.dll" "system" fn VariantChangeType(pvargdest : *mut std::mem::MaybeUninit < windows_core::VARIANT >, pvarsrc : *const std::mem::MaybeUninit < windows_core::VARIANT >, wflags : VAR_CHANGE_FLAGS, vt : VARENUM) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn VariantChangeType(pvargdest : *mut core::mem::MaybeUninit < windows_core::VARIANT >, pvarsrc : *const core::mem::MaybeUninit < windows_core::VARIANT >, wflags : VAR_CHANGE_FLAGS, vt : VARENUM) -> windows_core::HRESULT); VariantChangeType(core::mem::transmute(pvargdest), core::mem::transmute(pvarsrc), wflags, vt).ok() } #[inline] pub unsafe fn VariantChangeTypeEx(pvargdest: *mut windows_core::VARIANT, pvarsrc: *const windows_core::VARIANT, lcid: u32, wflags: VAR_CHANGE_FLAGS, vt: VARENUM) -> windows_core::Result<()> { - windows_targets::link!("oleaut32.dll" "system" fn VariantChangeTypeEx(pvargdest : *mut std::mem::MaybeUninit < windows_core::VARIANT >, pvarsrc : *const std::mem::MaybeUninit < windows_core::VARIANT >, lcid : u32, wflags : VAR_CHANGE_FLAGS, vt : VARENUM) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn VariantChangeTypeEx(pvargdest : *mut core::mem::MaybeUninit < windows_core::VARIANT >, pvarsrc : *const core::mem::MaybeUninit < windows_core::VARIANT >, lcid : u32, wflags : VAR_CHANGE_FLAGS, vt : VARENUM) -> windows_core::HRESULT); VariantChangeTypeEx(core::mem::transmute(pvargdest), core::mem::transmute(pvarsrc), lcid, wflags, vt).ok() } #[inline] pub unsafe fn VariantClear(pvarg: *mut windows_core::VARIANT) -> windows_core::Result<()> { - windows_targets::link!("oleaut32.dll" "system" fn VariantClear(pvarg : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn VariantClear(pvarg : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); VariantClear(core::mem::transmute(pvarg)).ok() } #[inline] pub unsafe fn VariantCompare(var1: *const windows_core::VARIANT, var2: *const windows_core::VARIANT) -> i32 { - windows_targets::link!("propsys.dll" "system" fn VariantCompare(var1 : *const std::mem::MaybeUninit < windows_core::VARIANT >, var2 : *const std::mem::MaybeUninit < windows_core::VARIANT >) -> i32); + windows_targets::link!("propsys.dll" "system" fn VariantCompare(var1 : *const core::mem::MaybeUninit < windows_core::VARIANT >, var2 : *const core::mem::MaybeUninit < windows_core::VARIANT >) -> i32); VariantCompare(core::mem::transmute(var1), core::mem::transmute(var2)) } #[inline] pub unsafe fn VariantCopy(pvargdest: *mut windows_core::VARIANT, pvargsrc: *const windows_core::VARIANT) -> windows_core::Result<()> { - windows_targets::link!("oleaut32.dll" "system" fn VariantCopy(pvargdest : *mut std::mem::MaybeUninit < windows_core::VARIANT >, pvargsrc : *const std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn VariantCopy(pvargdest : *mut core::mem::MaybeUninit < windows_core::VARIANT >, pvargsrc : *const core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); VariantCopy(core::mem::transmute(pvargdest), core::mem::transmute(pvargsrc)).ok() } #[inline] pub unsafe fn VariantCopyInd(pvardest: *mut windows_core::VARIANT, pvargsrc: *const windows_core::VARIANT) -> windows_core::Result<()> { - windows_targets::link!("oleaut32.dll" "system" fn VariantCopyInd(pvardest : *mut std::mem::MaybeUninit < windows_core::VARIANT >, pvargsrc : *const std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("oleaut32.dll" "system" fn VariantCopyInd(pvardest : *mut core::mem::MaybeUninit < windows_core::VARIANT >, pvargsrc : *const core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); VariantCopyInd(core::mem::transmute(pvardest), core::mem::transmute(pvargsrc)).ok() } #[inline] pub unsafe fn VariantGetBooleanElem(var: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantGetBooleanElem(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pfval : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantGetBooleanElem(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pfval : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantGetBooleanElem(core::mem::transmute(var), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantGetDoubleElem(var: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantGetDoubleElem(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantGetDoubleElem(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut f64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantGetDoubleElem(core::mem::transmute(var), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantGetElementCount(varin: *const windows_core::VARIANT) -> u32 { - windows_targets::link!("propsys.dll" "system" fn VariantGetElementCount(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >) -> u32); + windows_targets::link!("propsys.dll" "system" fn VariantGetElementCount(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >) -> u32); VariantGetElementCount(core::mem::transmute(varin)) } #[inline] pub unsafe fn VariantGetInt16Elem(var: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantGetInt16Elem(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantGetInt16Elem(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut i16) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantGetInt16Elem(core::mem::transmute(var), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantGetInt32Elem(var: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantGetInt32Elem(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantGetInt32Elem(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut i32) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantGetInt32Elem(core::mem::transmute(var), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantGetInt64Elem(var: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantGetInt64Elem(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantGetInt64Elem(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut i64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantGetInt64Elem(core::mem::transmute(var), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantGetStringElem(var: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantGetStringElem(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, ppszval : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantGetStringElem(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, ppszval : *mut windows_core::PWSTR) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantGetStringElem(core::mem::transmute(var), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantGetUInt16Elem(var: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantGetUInt16Elem(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantGetUInt16Elem(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut u16) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantGetUInt16Elem(core::mem::transmute(var), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantGetUInt32Elem(var: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantGetUInt32Elem(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantGetUInt32Elem(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut u32) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantGetUInt32Elem(core::mem::transmute(var), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantGetUInt64Elem(var: *const windows_core::VARIANT, ielem: u32) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantGetUInt64Elem(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantGetUInt64Elem(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, ielem : u32, pnval : *mut u64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantGetUInt64Elem(core::mem::transmute(var), ielem, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantInit() -> windows_core::VARIANT { - windows_targets::link!("oleaut32.dll" "system" fn VariantInit(pvarg : *mut std::mem::MaybeUninit < windows_core::VARIANT >)); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("oleaut32.dll" "system" fn VariantInit(pvarg : *mut core::mem::MaybeUninit < windows_core::VARIANT >)); + let mut result__ = core::mem::zeroed(); VariantInit(&mut result__); - std::mem::transmute(result__) + core::mem::transmute(result__) } #[inline] pub unsafe fn VariantTimeToDosDateTime(vtime: f64, pwdosdate: *mut u16, pwdostime: *mut u16) -> i32 { @@ -254,18 +254,18 @@ pub unsafe fn VariantTimeToSystemTime(vtime: f64, lpsystemtime: *mut super::supe } #[inline] pub unsafe fn VariantToBoolean(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToBoolean(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pfret : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToBoolean(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pfret : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToBoolean(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToBooleanArray(var: *const windows_core::VARIANT, prgf: &mut [super::super::Foundation::BOOL], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToBooleanArray(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, prgf : *mut super::super::Foundation:: BOOL, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToBooleanArray(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, prgf : *mut super::super::Foundation:: BOOL, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToBooleanArray(core::mem::transmute(var), core::mem::transmute(prgf.as_ptr()), prgf.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn VariantToBooleanArrayAlloc(var: *const windows_core::VARIANT, pprgf: *mut *mut super::super::Foundation::BOOL, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToBooleanArrayAlloc(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, pprgf : *mut *mut super::super::Foundation:: BOOL, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToBooleanArrayAlloc(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, pprgf : *mut *mut super::super::Foundation:: BOOL, pcelem : *mut u32) -> windows_core::HRESULT); VariantToBooleanArrayAlloc(core::mem::transmute(var), pprgf, pcelem).ok() } #[inline] @@ -273,134 +273,134 @@ pub unsafe fn VariantToBooleanWithDefault(varin: *const windows_core::VARIAN where P0: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn VariantToBooleanWithDefault(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, fdefault : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); + windows_targets::link!("propsys.dll" "system" fn VariantToBooleanWithDefault(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, fdefault : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); VariantToBooleanWithDefault(core::mem::transmute(varin), fdefault.param().abi()) } #[inline] pub unsafe fn VariantToBuffer(varin: *const windows_core::VARIANT, pv: *mut core::ffi::c_void, cb: u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToBuffer(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pv : *mut core::ffi::c_void, cb : u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToBuffer(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pv : *mut core::ffi::c_void, cb : u32) -> windows_core::HRESULT); VariantToBuffer(core::mem::transmute(varin), pv, cb).ok() } #[inline] pub unsafe fn VariantToDosDateTime(varin: *const windows_core::VARIANT, pwdate: *mut u16, pwtime: *mut u16) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToDosDateTime(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pwdate : *mut u16, pwtime : *mut u16) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToDosDateTime(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pwdate : *mut u16, pwtime : *mut u16) -> windows_core::HRESULT); VariantToDosDateTime(core::mem::transmute(varin), pwdate, pwtime).ok() } #[inline] pub unsafe fn VariantToDouble(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToDouble(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pdblret : *mut f64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToDouble(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pdblret : *mut f64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToDouble(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToDoubleArray(var: *const windows_core::VARIANT, prgn: &mut [f64], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToDoubleArray(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut f64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToDoubleArray(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut f64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToDoubleArray(core::mem::transmute(var), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn VariantToDoubleArrayAlloc(var: *const windows_core::VARIANT, pprgn: *mut *mut f64, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToDoubleArrayAlloc(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut f64, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToDoubleArrayAlloc(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut f64, pcelem : *mut u32) -> windows_core::HRESULT); VariantToDoubleArrayAlloc(core::mem::transmute(var), pprgn, pcelem).ok() } #[inline] pub unsafe fn VariantToDoubleWithDefault(varin: *const windows_core::VARIANT, dbldefault: f64) -> f64 { - windows_targets::link!("propsys.dll" "system" fn VariantToDoubleWithDefault(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, dbldefault : f64) -> f64); + windows_targets::link!("propsys.dll" "system" fn VariantToDoubleWithDefault(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, dbldefault : f64) -> f64); VariantToDoubleWithDefault(core::mem::transmute(varin), dbldefault) } #[inline] pub unsafe fn VariantToFileTime(varin: *const windows_core::VARIANT, stfout: PSTIME_FLAGS) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToFileTime(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, stfout : PSTIME_FLAGS, pftout : *mut super::super::Foundation:: FILETIME) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToFileTime(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, stfout : PSTIME_FLAGS, pftout : *mut super::super::Foundation:: FILETIME) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToFileTime(core::mem::transmute(varin), stfout, &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToGUID(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToGUID(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pguid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToGUID(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pguid : *mut windows_core::GUID) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToGUID(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToInt16(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToInt16(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, piret : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToInt16(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, piret : *mut i16) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToInt16(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToInt16Array(var: *const windows_core::VARIANT, prgn: &mut [i16], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToInt16Array(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut i16, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToInt16Array(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut i16, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToInt16Array(core::mem::transmute(var), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn VariantToInt16ArrayAlloc(var: *const windows_core::VARIANT, pprgn: *mut *mut i16, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToInt16ArrayAlloc(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut i16, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToInt16ArrayAlloc(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut i16, pcelem : *mut u32) -> windows_core::HRESULT); VariantToInt16ArrayAlloc(core::mem::transmute(var), pprgn, pcelem).ok() } #[inline] pub unsafe fn VariantToInt16WithDefault(varin: *const windows_core::VARIANT, idefault: i16) -> i16 { - windows_targets::link!("propsys.dll" "system" fn VariantToInt16WithDefault(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, idefault : i16) -> i16); + windows_targets::link!("propsys.dll" "system" fn VariantToInt16WithDefault(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, idefault : i16) -> i16); VariantToInt16WithDefault(core::mem::transmute(varin), idefault) } #[inline] pub unsafe fn VariantToInt32(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToInt32(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, plret : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToInt32(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, plret : *mut i32) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToInt32(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToInt32Array(var: *const windows_core::VARIANT, prgn: &mut [i32], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToInt32Array(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut i32, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToInt32Array(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut i32, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToInt32Array(core::mem::transmute(var), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn VariantToInt32ArrayAlloc(var: *const windows_core::VARIANT, pprgn: *mut *mut i32, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToInt32ArrayAlloc(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut i32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToInt32ArrayAlloc(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut i32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToInt32ArrayAlloc(core::mem::transmute(var), pprgn, pcelem).ok() } #[inline] pub unsafe fn VariantToInt32WithDefault(varin: *const windows_core::VARIANT, ldefault: i32) -> i32 { - windows_targets::link!("propsys.dll" "system" fn VariantToInt32WithDefault(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, ldefault : i32) -> i32); + windows_targets::link!("propsys.dll" "system" fn VariantToInt32WithDefault(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, ldefault : i32) -> i32); VariantToInt32WithDefault(core::mem::transmute(varin), ldefault) } #[inline] pub unsafe fn VariantToInt64(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToInt64(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pllret : *mut i64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToInt64(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pllret : *mut i64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToInt64(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToInt64Array(var: *const windows_core::VARIANT, prgn: &mut [i64], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToInt64Array(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut i64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToInt64Array(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut i64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToInt64Array(core::mem::transmute(var), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn VariantToInt64ArrayAlloc(var: *const windows_core::VARIANT, pprgn: *mut *mut i64, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToInt64ArrayAlloc(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut i64, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToInt64ArrayAlloc(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut i64, pcelem : *mut u32) -> windows_core::HRESULT); VariantToInt64ArrayAlloc(core::mem::transmute(var), pprgn, pcelem).ok() } #[inline] pub unsafe fn VariantToInt64WithDefault(varin: *const windows_core::VARIANT, lldefault: i64) -> i64 { - windows_targets::link!("propsys.dll" "system" fn VariantToInt64WithDefault(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, lldefault : i64) -> i64); + windows_targets::link!("propsys.dll" "system" fn VariantToInt64WithDefault(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, lldefault : i64) -> i64); VariantToInt64WithDefault(core::mem::transmute(varin), lldefault) } #[inline] pub unsafe fn VariantToString(varin: *const windows_core::VARIANT, pszbuf: &mut [u16]) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToString(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pszbuf : windows_core::PWSTR, cchbuf : u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToString(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pszbuf : windows_core::PWSTR, cchbuf : u32) -> windows_core::HRESULT); VariantToString(core::mem::transmute(varin), core::mem::transmute(pszbuf.as_ptr()), pszbuf.len().try_into().unwrap()).ok() } #[inline] pub unsafe fn VariantToStringAlloc(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToStringAlloc(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, ppszbuf : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToStringAlloc(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, ppszbuf : *mut windows_core::PWSTR) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToStringAlloc(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToStringArray(var: *const windows_core::VARIANT, prgsz: &mut [windows_core::PWSTR], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToStringArray(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, prgsz : *mut windows_core::PWSTR, crgsz : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToStringArray(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, prgsz : *mut windows_core::PWSTR, crgsz : u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToStringArray(core::mem::transmute(var), core::mem::transmute(prgsz.as_ptr()), prgsz.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn VariantToStringArrayAlloc(var: *const windows_core::VARIANT, pprgsz: *mut *mut windows_core::PWSTR, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToStringArrayAlloc(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, pprgsz : *mut *mut windows_core::PWSTR, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToStringArrayAlloc(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, pprgsz : *mut *mut windows_core::PWSTR, pcelem : *mut u32) -> windows_core::HRESULT); VariantToStringArrayAlloc(core::mem::transmute(var), pprgsz, pcelem).ok() } #[inline] @@ -408,70 +408,70 @@ pub unsafe fn VariantToStringWithDefault(varin: *const windows_core::VARIANT where P0: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn VariantToStringWithDefault(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pszdefault : windows_core::PCWSTR) -> windows_core::PCWSTR); + windows_targets::link!("propsys.dll" "system" fn VariantToStringWithDefault(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pszdefault : windows_core::PCWSTR) -> windows_core::PCWSTR); VariantToStringWithDefault(core::mem::transmute(varin), pszdefault.param().abi()) } #[inline] pub unsafe fn VariantToUInt16(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt16(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, puiret : *mut u16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt16(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, puiret : *mut u16) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToUInt16(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToUInt16Array(var: *const windows_core::VARIANT, prgn: &mut [u16], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt16Array(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut u16, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt16Array(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut u16, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToUInt16Array(core::mem::transmute(var), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn VariantToUInt16ArrayAlloc(var: *const windows_core::VARIANT, pprgn: *mut *mut u16, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt16ArrayAlloc(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut u16, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt16ArrayAlloc(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut u16, pcelem : *mut u32) -> windows_core::HRESULT); VariantToUInt16ArrayAlloc(core::mem::transmute(var), pprgn, pcelem).ok() } #[inline] pub unsafe fn VariantToUInt16WithDefault(varin: *const windows_core::VARIANT, uidefault: u16) -> u16 { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt16WithDefault(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, uidefault : u16) -> u16); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt16WithDefault(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, uidefault : u16) -> u16); VariantToUInt16WithDefault(core::mem::transmute(varin), uidefault) } #[inline] pub unsafe fn VariantToUInt32(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt32(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pulret : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt32(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pulret : *mut u32) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToUInt32(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToUInt32Array(var: *const windows_core::VARIANT, prgn: &mut [u32], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt32Array(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut u32, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt32Array(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut u32, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToUInt32Array(core::mem::transmute(var), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn VariantToUInt32ArrayAlloc(var: *const windows_core::VARIANT, pprgn: *mut *mut u32, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt32ArrayAlloc(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt32ArrayAlloc(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToUInt32ArrayAlloc(core::mem::transmute(var), pprgn, pcelem).ok() } #[inline] pub unsafe fn VariantToUInt32WithDefault(varin: *const windows_core::VARIANT, uldefault: u32) -> u32 { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt32WithDefault(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, uldefault : u32) -> u32); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt32WithDefault(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, uldefault : u32) -> u32); VariantToUInt32WithDefault(core::mem::transmute(varin), uldefault) } #[inline] pub unsafe fn VariantToUInt64(varin: *const windows_core::VARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt64(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pullret : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt64(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pullret : *mut u64) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); VariantToUInt64(core::mem::transmute(varin), &mut result__).map(|| result__) } #[inline] pub unsafe fn VariantToUInt64Array(var: *const windows_core::VARIANT, prgn: &mut [u64], pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt64Array(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut u64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt64Array(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, prgn : *mut u64, crgn : u32, pcelem : *mut u32) -> windows_core::HRESULT); VariantToUInt64Array(core::mem::transmute(var), core::mem::transmute(prgn.as_ptr()), prgn.len().try_into().unwrap(), pcelem).ok() } #[inline] pub unsafe fn VariantToUInt64ArrayAlloc(var: *const windows_core::VARIANT, pprgn: *mut *mut u64, pcelem: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt64ArrayAlloc(var : *const std::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut u64, pcelem : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt64ArrayAlloc(var : *const core::mem::MaybeUninit < windows_core::VARIANT >, pprgn : *mut *mut u64, pcelem : *mut u32) -> windows_core::HRESULT); VariantToUInt64ArrayAlloc(core::mem::transmute(var), pprgn, pcelem).ok() } #[inline] pub unsafe fn VariantToUInt64WithDefault(varin: *const windows_core::VARIANT, ulldefault: u64) -> u64 { - windows_targets::link!("propsys.dll" "system" fn VariantToUInt64WithDefault(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, ulldefault : u64) -> u64); + windows_targets::link!("propsys.dll" "system" fn VariantToUInt64WithDefault(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, ulldefault : u64) -> u64); VariantToUInt64WithDefault(core::mem::transmute(varin), ulldefault) } pub const DPF_ERROR: DRAWPROGRESSFLAGS = DRAWPROGRESSFLAGS(4i32); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs index 6427a2ece2..d3c5f22295 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs @@ -72,12 +72,12 @@ pub trait IWindowsDevicesAllJoynBusObjectInterop_Impl: Sized { impl windows_core::RuntimeName for IWindowsDevicesAllJoynBusObjectInterop {} impl IWindowsDevicesAllJoynBusObjectInterop_Vtbl { pub const fn new, Impl: IWindowsDevicesAllJoynBusObjectInterop_Impl, const OFFSET: isize>() -> IWindowsDevicesAllJoynBusObjectInterop_Vtbl { - unsafe extern "system" fn AddPropertyGetHandler, Impl: IWindowsDevicesAllJoynBusObjectInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *const core::ffi::c_void, interfacename: std::mem::MaybeUninit, callback: isize) -> windows_core::HRESULT { + unsafe extern "system" fn AddPropertyGetHandler, Impl: IWindowsDevicesAllJoynBusObjectInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *const core::ffi::c_void, interfacename: core::mem::MaybeUninit, callback: isize) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWindowsDevicesAllJoynBusObjectInterop_Impl::AddPropertyGetHandler(this, core::mem::transmute_copy(&context), core::mem::transmute(&interfacename), core::mem::transmute_copy(&callback)).into() } - unsafe extern "system" fn AddPropertySetHandler, Impl: IWindowsDevicesAllJoynBusObjectInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *const core::ffi::c_void, interfacename: std::mem::MaybeUninit, callback: isize) -> windows_core::HRESULT { + unsafe extern "system" fn AddPropertySetHandler, Impl: IWindowsDevicesAllJoynBusObjectInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, context: *const core::ffi::c_void, interfacename: core::mem::MaybeUninit, callback: isize) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWindowsDevicesAllJoynBusObjectInterop_Impl::AddPropertySetHandler(this, core::mem::transmute_copy(&context), core::mem::transmute(&interfacename), core::mem::transmute_copy(&callback)).into() 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 9375bdfe67..aa41d50d58 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusAttachmentFactoryI impl std::ops::Deref for IWindowsDevicesAllJoynBusAttachmentFactoryInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentFactoryInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -24,13 +24,13 @@ windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusAttachmentInterop, impl std::ops::Deref for IWindowsDevicesAllJoynBusAttachmentInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentInterop, windows_core::IUnknown, windows_core::IInspectable); impl IWindowsDevicesAllJoynBusAttachmentInterop { pub unsafe fn Win32Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Win32Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -43,7 +43,7 @@ windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusObjectFactoryInter impl std::ops::Deref for IWindowsDevicesAllJoynBusObjectFactoryInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectFactoryInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -65,7 +65,7 @@ windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusObjectInterop, IWi impl std::ops::Deref for IWindowsDevicesAllJoynBusObjectInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -77,15 +77,15 @@ impl IWindowsDevicesAllJoynBusObjectInterop { (windows_core::Interface::vtable(self).AddPropertySetHandler)(windows_core::Interface::as_raw(self), context, core::mem::transmute_copy(interfacename), callback).ok() } pub unsafe fn Win32Handle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Win32Handle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IWindowsDevicesAllJoynBusObjectInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub AddPropertyGetHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, std::mem::MaybeUninit, isize) -> windows_core::HRESULT, - pub AddPropertySetHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, std::mem::MaybeUninit, isize) -> windows_core::HRESULT, + pub AddPropertyGetHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, core::mem::MaybeUninit, isize) -> windows_core::HRESULT, + pub AddPropertySetHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, core::mem::MaybeUninit, isize) -> windows_core::HRESULT, pub Win32Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } #[cfg(feature = "implement")] 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 07aad7ca7d..3f8ddede0b 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ICompositionCapabilitiesInteropFactory, ICo impl std::ops::Deref for ICompositionCapabilitiesInteropFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionCapabilitiesInteropFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -12,7 +12,7 @@ impl ICompositionCapabilitiesInteropFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -28,7 +28,7 @@ windows_core::imp::define_interface!(ICompositionDrawingSurfaceInterop, IComposi impl std::ops::Deref for ICompositionDrawingSurfaceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionDrawingSurfaceInterop, windows_core::IUnknown); @@ -70,7 +70,7 @@ windows_core::imp::define_interface!(ICompositionDrawingSurfaceInterop2, ICompos impl std::ops::Deref for ICompositionDrawingSurfaceInterop2 { type Target = ICompositionDrawingSurfaceInterop; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionDrawingSurfaceInterop2, windows_core::IUnknown, ICompositionDrawingSurfaceInterop); @@ -91,13 +91,13 @@ windows_core::imp::define_interface!(ICompositionGraphicsDeviceInterop, IComposi impl std::ops::Deref for ICompositionGraphicsDeviceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionGraphicsDeviceInterop, windows_core::IUnknown); impl ICompositionGraphicsDeviceInterop { pub unsafe fn GetRenderingDevice(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRenderingDevice)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRenderingDevice(&self, value: P0) -> windows_core::Result<()> @@ -117,7 +117,7 @@ windows_core::imp::define_interface!(ICompositionTextureInterop, ICompositionTex impl std::ops::Deref for ICompositionTextureInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositionTextureInterop, windows_core::IUnknown); @@ -135,7 +135,7 @@ windows_core::imp::define_interface!(ICompositorDesktopInterop, ICompositorDeskt impl std::ops::Deref for ICompositorDesktopInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositorDesktopInterop, windows_core::IUnknown); @@ -146,7 +146,7 @@ impl ICompositorDesktopInterop { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDesktopWindowTarget)(windows_core::Interface::as_raw(self), hwndtarget.param().abi(), istopmost.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnsureOnThread(&self, threadid: u32) -> windows_core::Result<()> { @@ -166,7 +166,7 @@ windows_core::imp::define_interface!(ICompositorInterop, ICompositorInterop_Vtbl impl std::ops::Deref for ICompositorInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositorInterop, windows_core::IUnknown); @@ -176,7 +176,7 @@ impl ICompositorInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCompositionSurfaceForHandle)(windows_core::Interface::as_raw(self), swapchain.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "UI_Composition")] @@ -184,7 +184,7 @@ impl ICompositorInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCompositionSurfaceForSwapChain)(windows_core::Interface::as_raw(self), swapchain.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "UI_Composition")] @@ -192,7 +192,7 @@ impl ICompositorInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateGraphicsDevice)(windows_core::Interface::as_raw(self), renderingdevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -216,7 +216,7 @@ windows_core::imp::define_interface!(ICompositorInterop2, ICompositorInterop2_Vt impl std::ops::Deref for ICompositorInterop2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICompositorInterop2, windows_core::IUnknown); @@ -225,7 +225,7 @@ impl ICompositorInterop2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckCompositionTextureSupport)(windows_core::Interface::as_raw(self), renderingdevice.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "UI_Composition")] @@ -233,7 +233,7 @@ impl ICompositorInterop2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCompositionTexture)(windows_core::Interface::as_raw(self), d3dtexture.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -250,13 +250,13 @@ windows_core::imp::define_interface!(IDesktopWindowTargetInterop, IDesktopWindow impl std::ops::Deref for IDesktopWindowTargetInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDesktopWindowTargetInterop, windows_core::IUnknown); impl IDesktopWindowTargetInterop { pub unsafe fn Hwnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Hwnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -269,7 +269,7 @@ windows_core::imp::define_interface!(IVisualInteractionSourceInterop, IVisualInt impl std::ops::Deref for IVisualInteractionSourceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVisualInteractionSourceInterop, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs index 371f742864..60186f19ed 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ICoreFrameworkInputViewInterop, ICoreFramew impl std::ops::Deref for ICoreFrameworkInputViewInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreFrameworkInputViewInterop, windows_core::IUnknown, windows_core::IInspectable); 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 9d298ea6a8..89f25eb7cb 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 @@ -5,7 +5,7 @@ where P0: windows_core::Param, { windows_targets::link!("d3d11.dll" "system" fn CreateDirect3D11DeviceFromDXGIDevice(dxgidevice : * mut core::ffi::c_void, graphicsdevice : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateDirect3D11DeviceFromDXGIDevice(dxgidevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi")] @@ -15,14 +15,14 @@ where P0: windows_core::Param, { windows_targets::link!("d3d11.dll" "system" fn CreateDirect3D11SurfaceFromDXGISurface(dgxisurface : * mut core::ffi::c_void, graphicssurface : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateDirect3D11SurfaceFromDXGISurface(dgxisurface.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IDirect3DDxgiInterfaceAccess, IDirect3DDxgiInterfaceAccess_Vtbl, 0xa9b3d012_3df2_4ee3_b8d1_8695f457d3c1); impl std::ops::Deref for IDirect3DDxgiInterfaceAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDirect3DDxgiInterfaceAccess, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs index dfad8a38b8..808d84cf6e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs @@ -8,7 +8,7 @@ impl windows_core::RuntimeName for IDisplayDeviceInterop {} #[cfg(feature = "Win32_Security")] impl IDisplayDeviceInterop_Vtbl { pub const fn new, Impl: IDisplayDeviceInterop_Impl, const OFFSET: isize>() -> IDisplayDeviceInterop_Vtbl { - unsafe extern "system" fn CreateSharedHandle, Impl: IDisplayDeviceInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobject: *mut core::ffi::c_void, psecurityattributes: *const super::super::super::Security::SECURITY_ATTRIBUTES, access: u32, name: std::mem::MaybeUninit, phandle: *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT { + unsafe extern "system" fn CreateSharedHandle, Impl: IDisplayDeviceInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pobject: *mut core::ffi::c_void, psecurityattributes: *const super::super::super::Security::SECURITY_ATTRIBUTES, access: u32, name: core::mem::MaybeUninit, phandle: *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDisplayDeviceInterop_Impl::CreateSharedHandle(this, windows_core::from_raw_borrowed(&pobject), core::mem::transmute_copy(&psecurityattributes), core::mem::transmute_copy(&access), core::mem::transmute(&name)) { 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 4b0d12de8a..3b1b61e6ce 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IDisplayDeviceInterop, IDisplayDeviceIntero impl std::ops::Deref for IDisplayDeviceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDisplayDeviceInterop, windows_core::IUnknown); @@ -12,14 +12,14 @@ impl IDisplayDeviceInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSharedHandle)(windows_core::Interface::as_raw(self), pobject.param().abi(), psecurityattributes, access, core::mem::transmute_copy(name), &mut result__).map(|| result__) } pub unsafe fn OpenSharedHandle(&self, nthandle: P0, riid: windows_core::GUID) -> windows_core::Result<*mut core::ffi::c_void> where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenSharedHandle)(windows_core::Interface::as_raw(self), nthandle.param().abi(), core::mem::transmute(riid), &mut result__).map(|| result__) } } @@ -27,7 +27,7 @@ impl IDisplayDeviceInterop { pub struct IDisplayDeviceInterop_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_Security")] - pub CreateSharedHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::super::Security::SECURITY_ATTRIBUTES, u32, std::mem::MaybeUninit, *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, + pub CreateSharedHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::super::Security::SECURITY_ATTRIBUTES, u32, core::mem::MaybeUninit, *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_Security"))] CreateSharedHandle: usize, pub OpenSharedHandle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HANDLE, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -36,17 +36,17 @@ windows_core::imp::define_interface!(IDisplayPathInterop, IDisplayPathInterop_Vt impl std::ops::Deref for IDisplayPathInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDisplayPathInterop, windows_core::IUnknown); impl IDisplayPathInterop { pub unsafe fn CreateSourcePresentationHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSourcePresentationHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSourceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs index 767df10dcb..45c2d39738 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IGraphicsCaptureItemInterop, IGraphicsCaptu impl std::ops::Deref for IGraphicsCaptureItemInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGraphicsCaptureItemInterop, windows_core::IUnknown); 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 15c8eb5a45..f943df3854 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 @@ -2,14 +2,14 @@ windows_core::imp::define_interface!(IGeometrySource2DInterop, IGeometrySource2D impl std::ops::Deref for IGeometrySource2DInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGeometrySource2DInterop, windows_core::IUnknown); impl IGeometrySource2DInterop { #[cfg(feature = "Win32_Graphics_Direct2D")] pub unsafe fn GetGeometry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGeometry)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D")] @@ -17,7 +17,7 @@ impl IGeometrySource2DInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TryGetGeometryUsingFactory)(windows_core::Interface::as_raw(self), factory.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -37,13 +37,13 @@ windows_core::imp::define_interface!(IGraphicsEffectD2D1Interop, IGraphicsEffect impl std::ops::Deref for IGraphicsEffectD2D1Interop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGraphicsEffectD2D1Interop, windows_core::IUnknown); impl IGraphicsEffectD2D1Interop { pub unsafe fn GetEffectId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNamedPropertyMapping(&self, name: P0, index: *mut u32, mapping: *mut GRAPHICS_EFFECT_PROPERTY_MAPPING) -> windows_core::Result<()> @@ -53,21 +53,21 @@ impl IGraphicsEffectD2D1Interop { (windows_core::Interface::vtable(self).GetNamedPropertyMapping)(windows_core::Interface::as_raw(self), name.param().abi(), index, mapping).ok() } pub unsafe fn GetPropertyCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Foundation")] pub unsafe fn GetProperty(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Graphics_Effects")] pub unsafe fn GetSource(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSource)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs index 90ac1d189b..e85a230914 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ISoftwareBitmapNative, ISoftwareBitmapNativ impl std::ops::Deref for ISoftwareBitmapNative { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISoftwareBitmapNative, windows_core::IUnknown, windows_core::IInspectable); @@ -24,7 +24,7 @@ windows_core::imp::define_interface!(ISoftwareBitmapNativeFactory, ISoftwareBitm impl std::ops::Deref for ISoftwareBitmapNativeFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISoftwareBitmapNativeFactory, windows_core::IUnknown, windows_core::IInspectable); 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 2e38c39274..3261df5253 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IHolographicCameraInterop, IHolographicCame impl std::ops::Deref for IHolographicCameraInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHolographicCameraInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -12,7 +12,7 @@ impl IHolographicCameraInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDirect3D12BackBufferResource)(windows_core::Interface::as_raw(self), pdevice.param().abi(), ptexture2ddesc, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -21,7 +21,7 @@ impl IHolographicCameraInterop { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDirect3D12HardwareProtectedBackBufferResource)(windows_core::Interface::as_raw(self), pdevice.param().abi(), ptexture2ddesc, pprotectedresourcesession.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -76,7 +76,7 @@ windows_core::imp::define_interface!(IHolographicCameraRenderingParametersIntero impl std::ops::Deref for IHolographicCameraRenderingParametersInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHolographicCameraRenderingParametersInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -116,7 +116,7 @@ windows_core::imp::define_interface!(IHolographicQuadLayerInterop, IHolographicQ impl std::ops::Deref for IHolographicQuadLayerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHolographicQuadLayerInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -126,7 +126,7 @@ impl IHolographicQuadLayerInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDirect3D12ContentBufferResource)(windows_core::Interface::as_raw(self), pdevice.param().abi(), ptexture2ddesc, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -135,7 +135,7 @@ impl IHolographicQuadLayerInterop { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDirect3D12HardwareProtectedContentBufferResource)(windows_core::Interface::as_raw(self), pdevice.param().abi(), ptexture2ddesc, pprotectedresourcesession.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -190,7 +190,7 @@ windows_core::imp::define_interface!(IHolographicQuadLayerUpdateParametersIntero impl std::ops::Deref for IHolographicQuadLayerUpdateParametersInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHolographicQuadLayerUpdateParametersInterop, windows_core::IUnknown, windows_core::IInspectable); 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 dbe4bd29aa..56c58bea25 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IIsolatedEnvironmentInterop, IIsolatedEnvir impl std::ops::Deref for IIsolatedEnvironmentInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIsolatedEnvironmentInterop, windows_core::IUnknown); @@ -11,7 +11,7 @@ impl IIsolatedEnvironmentInterop { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHostHwndInterop)(windows_core::Interface::as_raw(self), containerhwnd.param().abi(), &mut result__).map(|| 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 3ab622cc9f..d1ff9351f7 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(ILearningModelDeviceFactoryNative, ILearnin impl std::ops::Deref for ILearningModelDeviceFactoryNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILearningModelDeviceFactoryNative, windows_core::IUnknown); @@ -12,7 +12,7 @@ impl ILearningModelDeviceFactoryNative { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFromD3D12CommandQueue)(windows_core::Interface::as_raw(self), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -28,14 +28,14 @@ windows_core::imp::define_interface!(ILearningModelOperatorProviderNative, ILear impl std::ops::Deref for ILearningModelOperatorProviderNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILearningModelOperatorProviderNative, windows_core::IUnknown); impl ILearningModelOperatorProviderNative { #[cfg(feature = "Win32_AI_MachineLearning_WinML")] pub unsafe fn GetRegistry(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegistry)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -51,7 +51,7 @@ windows_core::imp::define_interface!(ILearningModelSessionOptionsNative, ILearni impl std::ops::Deref for ILearningModelSessionOptionsNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILearningModelSessionOptionsNative, windows_core::IUnknown); @@ -69,7 +69,7 @@ windows_core::imp::define_interface!(ILearningModelSessionOptionsNative1, ILearn impl std::ops::Deref for ILearningModelSessionOptionsNative1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILearningModelSessionOptionsNative1, windows_core::IUnknown); @@ -87,7 +87,7 @@ windows_core::imp::define_interface!(ITensorNative, ITensorNative_Vtbl, 0x52f547 impl std::ops::Deref for ITensorNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITensorNative, windows_core::IUnknown); @@ -97,7 +97,7 @@ impl ITensorNative { } #[cfg(feature = "Win32_Graphics_Direct3D12")] pub unsafe fn GetD3D12Resource(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetD3D12Resource)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -114,7 +114,7 @@ windows_core::imp::define_interface!(ITensorStaticsNative, ITensorStaticsNative_ impl std::ops::Deref for ITensorStaticsNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITensorStaticsNative, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs index 14c93cf19f..f2ca69e20f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IAudioFrameNative, IAudioFrameNative_Vtbl, impl std::ops::Deref for IAudioFrameNative { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioFrameNative, windows_core::IUnknown, windows_core::IInspectable); @@ -24,7 +24,7 @@ windows_core::imp::define_interface!(IAudioFrameNativeFactory, IAudioFrameNative impl std::ops::Deref for IAudioFrameNativeFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioFrameNativeFactory, windows_core::IUnknown, windows_core::IInspectable); @@ -52,7 +52,7 @@ windows_core::imp::define_interface!(IVideoFrameNative, IVideoFrameNative_Vtbl, impl std::ops::Deref for IVideoFrameNative { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVideoFrameNative, windows_core::IUnknown, windows_core::IInspectable); @@ -82,7 +82,7 @@ windows_core::imp::define_interface!(IVideoFrameNativeFactory, IVideoFrameNative impl std::ops::Deref for IVideoFrameNativeFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVideoFrameNativeFactory, windows_core::IUnknown, windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs index 82c7acee92..bef0d95cba 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs @@ -416,12 +416,12 @@ impl windows_core::RuntimeName for IMetaDataDispenserEx {} #[cfg(feature = "Win32_System_Com")] impl IMetaDataDispenserEx_Vtbl { pub const fn new, Impl: IMetaDataDispenserEx_Impl, const OFFSET: isize>() -> IMetaDataDispenserEx_Vtbl { - unsafe extern "system" fn SetOption, Impl: IMetaDataDispenserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, optionid: *const windows_core::GUID, value: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetOption, Impl: IMetaDataDispenserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, optionid: *const windows_core::GUID, value: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMetaDataDispenserEx_Impl::SetOption(this, core::mem::transmute_copy(&optionid), core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn GetOption, Impl: IMetaDataDispenserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, optionid: *const windows_core::GUID, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetOption, Impl: IMetaDataDispenserEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, optionid: *const windows_core::GUID, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMetaDataDispenserEx_Impl::GetOption(this, core::mem::transmute_copy(&optionid), core::mem::transmute_copy(&pvalue)).into() @@ -1773,8 +1773,8 @@ impl IRoMetaDataLocator_ImplVtbl { impl IRoMetaDataLocator { pub fn new<'a, T: IRoMetaDataLocator_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IRoMetaDataLocator_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } pub trait IRoSimpleMetaDataBuilder_Impl: Sized { @@ -1863,7 +1863,7 @@ impl IRoSimpleMetaDataBuilder_ImplVtbl { impl IRoSimpleMetaDataBuilder { pub fn new<'a, T: IRoSimpleMetaDataBuilder_Impl>(this: &'a T) -> windows_core::ScopedInterface<'a, Self> { let this = windows_core::ScopedHeap { vtable: &IRoSimpleMetaDataBuilder_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; - let this = std::mem::ManuallyDrop::new(Box::new(this)); - unsafe { windows_core::ScopedInterface::new(std::mem::transmute(&this.vtable)) } + let this = core::mem::ManuallyDrop::new(Box::new(this)); + unsafe { windows_core::ScopedInterface::new(core::mem::transmute(&this.vtable)) } } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs index a4f2ad0bf3..37a43d9f59 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs @@ -7,14 +7,14 @@ pub unsafe fn MetaDataGetDispenser(rclsid: *const windows_core::GUID, riid: *con #[inline] pub unsafe fn RoCreateNonAgilePropertySet() -> windows_core::Result { windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-1.dll" "system" fn RoCreateNonAgilePropertySet(pppropertyset : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoCreateNonAgilePropertySet(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Storage_Streams")] #[inline] pub unsafe fn RoCreatePropertySetSerializer() -> windows_core::Result { windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-1.dll" "system" fn RoCreatePropertySetSerializer(pppropertysetserializer : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoCreatePropertySetSerializer(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -30,7 +30,7 @@ pub unsafe fn RoGetMetaDataFile(name: &windows_core::HSTRING, metadatadispen where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-0.dll" "system" fn RoGetMetaDataFile(name : std::mem::MaybeUninit < windows_core::HSTRING >, metadatadispenser : * mut core::ffi::c_void, metadatafilepath : *mut std::mem::MaybeUninit < windows_core::HSTRING >, metadataimport : *mut * mut core::ffi::c_void, typedeftoken : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-0.dll" "system" fn RoGetMetaDataFile(name : core::mem::MaybeUninit < windows_core::HSTRING >, metadatadispenser : * mut core::ffi::c_void, metadatafilepath : *mut core::mem::MaybeUninit < windows_core::HSTRING >, metadataimport : *mut * mut core::ffi::c_void, typedeftoken : *mut u32) -> windows_core::HRESULT); RoGetMetaDataFile(core::mem::transmute_copy(name), metadatadispenser.param().abi(), core::mem::transmute(metadatafilepath.unwrap_or(std::ptr::null_mut())), core::mem::transmute(metadataimport.unwrap_or(std::ptr::null_mut())), core::mem::transmute(typedeftoken.unwrap_or(std::ptr::null_mut()))).ok() } #[inline] @@ -47,7 +47,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-1.dll" "system" fn RoIsApiContractMajorVersionPresent(name : windows_core::PCWSTR, majorversion : u16, present : *mut super::super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoIsApiContractMajorVersionPresent(name.param().abi(), majorversion, &mut result__).map(|| result__) } #[inline] @@ -56,7 +56,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-1.dll" "system" fn RoIsApiContractPresent(name : windows_core::PCWSTR, majorversion : u16, minorversion : u16, present : *mut super::super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoIsApiContractPresent(name.param().abi(), majorversion, minorversion, &mut result__).map(|| result__) } #[inline] @@ -69,12 +69,12 @@ where } #[inline] pub unsafe fn RoParseTypeName(typename: &windows_core::HSTRING, partscount: *mut u32, typenameparts: *mut *mut windows_core::HSTRING) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-0.dll" "system" fn RoParseTypeName(typename : std::mem::MaybeUninit < windows_core::HSTRING >, partscount : *mut u32, typenameparts : *mut *mut windows_core::HSTRING) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-0.dll" "system" fn RoParseTypeName(typename : core::mem::MaybeUninit < windows_core::HSTRING >, partscount : *mut u32, typenameparts : *mut *mut windows_core::HSTRING) -> windows_core::HRESULT); RoParseTypeName(core::mem::transmute_copy(typename), partscount, typenameparts).ok() } #[inline] pub unsafe fn RoResolveNamespace(name: &windows_core::HSTRING, windowsmetadatadir: &windows_core::HSTRING, packagegraphdirs: Option<&[windows_core::HSTRING]>, metadatafilepathscount: Option<*mut u32>, metadatafilepaths: Option<*mut *mut windows_core::HSTRING>, subnamespacescount: Option<*mut u32>, subnamespaces: Option<*mut *mut windows_core::HSTRING>) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-0.dll" "system" fn RoResolveNamespace(name : std::mem::MaybeUninit < windows_core::HSTRING >, windowsmetadatadir : std::mem::MaybeUninit < windows_core::HSTRING >, packagegraphdirscount : u32, packagegraphdirs : *const std::mem::MaybeUninit < windows_core::HSTRING >, metadatafilepathscount : *mut u32, metadatafilepaths : *mut *mut windows_core::HSTRING, subnamespacescount : *mut u32, subnamespaces : *mut *mut windows_core::HSTRING) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-ro-typeresolution-l1-1-0.dll" "system" fn RoResolveNamespace(name : core::mem::MaybeUninit < windows_core::HSTRING >, windowsmetadatadir : core::mem::MaybeUninit < windows_core::HSTRING >, packagegraphdirscount : u32, packagegraphdirs : *const core::mem::MaybeUninit < windows_core::HSTRING >, metadatafilepathscount : *mut u32, metadatafilepaths : *mut *mut windows_core::HSTRING, subnamespacescount : *mut u32, subnamespaces : *mut *mut windows_core::HSTRING) -> windows_core::HRESULT); RoResolveNamespace( core::mem::transmute_copy(name), core::mem::transmute_copy(windowsmetadatadir), @@ -91,7 +91,7 @@ windows_core::imp::define_interface!(ICeeGen, ICeeGen_Vtbl, 0x7ed1bdff_8e36_11d2 impl std::ops::Deref for ICeeGen { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICeeGen, windows_core::IUnknown); @@ -112,7 +112,7 @@ impl ICeeGen { (windows_core::Interface::vtable(self).GetMethodBuffer)(windows_core::Interface::as_raw(self), rva, lpbuffer).ok() } pub unsafe fn GetIMapTokenIface(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIMapTokenIface)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GenerateCeeFile(&self) -> windows_core::Result<()> { @@ -172,7 +172,7 @@ windows_core::imp::define_interface!(IHostFilter, IHostFilter_Vtbl, 0xd0e80dd3_1 impl std::ops::Deref for IHostFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHostFilter, windows_core::IUnknown); @@ -190,7 +190,7 @@ windows_core::imp::define_interface!(IMapToken, IMapToken_Vtbl, 0x06a3ea8b_0225_ impl std::ops::Deref for IMapToken { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMapToken, windows_core::IUnknown); @@ -208,7 +208,7 @@ windows_core::imp::define_interface!(IMetaDataAssemblyEmit, IMetaDataAssemblyEmi impl std::ops::Deref for IMetaDataAssemblyEmit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataAssemblyEmit, windows_core::IUnknown); @@ -283,7 +283,7 @@ windows_core::imp::define_interface!(IMetaDataAssemblyImport, IMetaDataAssemblyI impl std::ops::Deref for IMetaDataAssemblyImport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataAssemblyImport, windows_core::IUnknown); @@ -364,24 +364,24 @@ windows_core::imp::define_interface!(IMetaDataDispenser, IMetaDataDispenser_Vtbl impl std::ops::Deref for IMetaDataDispenser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataDispenser, windows_core::IUnknown); impl IMetaDataDispenser { pub unsafe fn DefineScope(&self, rclsid: *const windows_core::GUID, dwcreateflags: u32, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefineScope)(windows_core::Interface::as_raw(self), rclsid, dwcreateflags, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenScope(&self, szscope: P0, dwopenflags: u32, riid: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenScope)(windows_core::Interface::as_raw(self), szscope.param().abi(), dwopenflags, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenScopeOnMemory(&self, pdata: *const core::ffi::c_void, cbdata: u32, dwopenflags: u32, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenScopeOnMemory)(windows_core::Interface::as_raw(self), pdata, cbdata, dwopenflags, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -396,7 +396,7 @@ windows_core::imp::define_interface!(IMetaDataDispenserEx, IMetaDataDispenserEx_ impl std::ops::Deref for IMetaDataDispenserEx { type Target = IMetaDataDispenser; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataDispenserEx, windows_core::IUnknown, IMetaDataDispenser); @@ -412,7 +412,7 @@ impl IMetaDataDispenserEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenScopeOnITypeInfo)(windows_core::Interface::as_raw(self), piti.param().abi(), dwopenflags, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCORSystemDirectory(&self, szbuffer: Option<&mut [u16]>, pchbuffer: *mut u32) -> windows_core::Result<()> { @@ -442,8 +442,8 @@ impl IMetaDataDispenserEx { #[repr(C)] pub struct IMetaDataDispenserEx_Vtbl { pub base__: IMetaDataDispenser_Vtbl, - pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetOption: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub OpenScopeOnITypeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -456,7 +456,7 @@ windows_core::imp::define_interface!(IMetaDataEmit, IMetaDataEmit_Vtbl, 0xba3fee impl std::ops::Deref for IMetaDataEmit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataEmit, windows_core::IUnknown); @@ -748,7 +748,7 @@ windows_core::imp::define_interface!(IMetaDataEmit2, IMetaDataEmit2_Vtbl, 0xf5dd impl std::ops::Deref for IMetaDataEmit2 { type Target = IMetaDataEmit; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataEmit2, windows_core::IUnknown, IMetaDataEmit); @@ -810,7 +810,7 @@ windows_core::imp::define_interface!(IMetaDataError, IMetaDataError_Vtbl, 0xb81f impl std::ops::Deref for IMetaDataError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataError, windows_core::IUnknown); @@ -828,7 +828,7 @@ windows_core::imp::define_interface!(IMetaDataFilter, IMetaDataFilter_Vtbl, 0xd0 impl std::ops::Deref for IMetaDataFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataFilter, windows_core::IUnknown); @@ -854,7 +854,7 @@ windows_core::imp::define_interface!(IMetaDataImport, IMetaDataImport_Vtbl, 0x7d impl std::ops::Deref for IMetaDataImport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataImport, windows_core::IUnknown); @@ -1152,7 +1152,7 @@ windows_core::imp::define_interface!(IMetaDataImport2, IMetaDataImport2_Vtbl, 0x impl std::ops::Deref for IMetaDataImport2 { type Target = IMetaDataImport; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataImport2, windows_core::IUnknown, IMetaDataImport); @@ -1198,7 +1198,7 @@ windows_core::imp::define_interface!(IMetaDataInfo, IMetaDataInfo_Vtbl, 0x7998ea impl std::ops::Deref for IMetaDataInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataInfo, windows_core::IUnknown); @@ -1216,7 +1216,7 @@ windows_core::imp::define_interface!(IMetaDataTables, IMetaDataTables_Vtbl, 0xd8 impl std::ops::Deref for IMetaDataTables { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataTables, windows_core::IUnknown); @@ -1306,7 +1306,7 @@ windows_core::imp::define_interface!(IMetaDataTables2, IMetaDataTables2_Vtbl, 0x impl std::ops::Deref for IMetaDataTables2 { type Target = IMetaDataTables; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataTables2, windows_core::IUnknown, IMetaDataTables); @@ -1328,7 +1328,7 @@ windows_core::imp::define_interface!(IMetaDataValidate, IMetaDataValidate_Vtbl, impl std::ops::Deref for IMetaDataValidate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataValidate, windows_core::IUnknown); @@ -1353,7 +1353,7 @@ windows_core::imp::define_interface!(IMetaDataWinMDImport, IMetaDataWinMDImport_ impl std::ops::Deref for IMetaDataWinMDImport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMetaDataWinMDImport, windows_core::IUnknown); 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 3be4ef7d86..9826cca493 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 @@ -5,14 +5,14 @@ where P0: windows_core::Param, { windows_targets::link!("windows.data.pdf.dll" "system" fn PdfCreateRenderer(pdevice : * mut core::ffi::c_void, pprenderer : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PdfCreateRenderer(pdevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IPdfRendererNative, IPdfRendererNative_Vtbl, 0x7d9dcd91_d277_4947_8527_07a0daeda94a); impl std::ops::Deref for IPdfRendererNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPdfRendererNative, windows_core::IUnknown); 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 fba1e4cb4c..577881efbc 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IPrintManagerInterop, IPrintManagerInterop_ impl std::ops::Deref for IPrintManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintManagerInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -34,24 +34,24 @@ windows_core::imp::define_interface!(IPrintWorkflowConfigurationNative, IPrintWo impl std::ops::Deref for IPrintWorkflowConfigurationNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintWorkflowConfigurationNative, windows_core::IUnknown); impl IPrintWorkflowConfigurationNative { #[cfg(all(feature = "Win32_Graphics_Printing", feature = "Win32_System_Com"))] pub unsafe fn PrinterQueue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrinterQueue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Printing", feature = "Win32_System_Com"))] pub unsafe fn DriverProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DriverProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Printing", feature = "Win32_System_Com"))] pub unsafe fn UserProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UserProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -75,7 +75,7 @@ windows_core::imp::define_interface!(IPrintWorkflowObjectModelSourceFileContentN impl std::ops::Deref for IPrintWorkflowObjectModelSourceFileContentNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintWorkflowObjectModelSourceFileContentNative, windows_core::IUnknown); @@ -88,7 +88,7 @@ impl IPrintWorkflowObjectModelSourceFileContentNative { } #[cfg(feature = "Win32_Storage_Xps")] pub unsafe fn ObjectFactory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectFactory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -105,14 +105,14 @@ windows_core::imp::define_interface!(IPrintWorkflowXpsObjectModelTargetPackageNa impl std::ops::Deref for IPrintWorkflowXpsObjectModelTargetPackageNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintWorkflowXpsObjectModelTargetPackageNative, windows_core::IUnknown); impl IPrintWorkflowXpsObjectModelTargetPackageNative { #[cfg(feature = "Win32_Storage_Xps")] pub unsafe fn DocumentPackageTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DocumentPackageTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -128,7 +128,7 @@ windows_core::imp::define_interface!(IPrintWorkflowXpsReceiver, IPrintWorkflowXp impl std::ops::Deref for IPrintWorkflowXpsReceiver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintWorkflowXpsReceiver, windows_core::IUnknown); @@ -188,7 +188,7 @@ windows_core::imp::define_interface!(IPrintWorkflowXpsReceiver2, IPrintWorkflowX impl std::ops::Deref for IPrintWorkflowXpsReceiver2 { type Target = IPrintWorkflowXpsReceiver; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintWorkflowXpsReceiver2, windows_core::IUnknown, IPrintWorkflowXpsReceiver); @@ -206,7 +206,7 @@ windows_core::imp::define_interface!(IPrinting3DManagerInterop, IPrinting3DManag impl std::ops::Deref for IPrinting3DManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrinting3DManagerInterop, windows_core::IUnknown, windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs index ca3f451acb..f694cecdcc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IDDEInitializer, IDDEInitializer_Vtbl, 0x30 impl std::ops::Deref for IDDEInitializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDDEInitializer, windows_core::IUnknown); 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 59066442d5..f4b698c238 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 @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IOplockBreakingHandler, IOplockBreakingHand impl std::ops::Deref for IOplockBreakingHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOplockBreakingHandler, windows_core::IUnknown); @@ -20,13 +20,13 @@ windows_core::imp::define_interface!(IRandomAccessStreamFileAccessMode, IRandomA impl std::ops::Deref for IRandomAccessStreamFileAccessMode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRandomAccessStreamFileAccessMode, windows_core::IUnknown); impl IRandomAccessStreamFileAccessMode { pub unsafe fn GetMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -39,7 +39,7 @@ windows_core::imp::define_interface!(IStorageFolderHandleAccess, IStorageFolderH impl std::ops::Deref for IStorageFolderHandleAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageFolderHandleAccess, windows_core::IUnknown); @@ -49,7 +49,7 @@ impl IStorageFolderHandleAccess { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), filename.param().abi(), creationoptions, accessoptions, sharingoptions, options, oplockbreakinghandler.param().abi(), &mut result__).map(|| result__) } } @@ -62,7 +62,7 @@ windows_core::imp::define_interface!(IStorageItemHandleAccess, IStorageItemHandl impl std::ops::Deref for IStorageItemHandleAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageItemHandleAccess, windows_core::IUnknown); @@ -71,7 +71,7 @@ impl IStorageItemHandleAccess { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Create)(windows_core::Interface::as_raw(self), accessoptions, sharingoptions, options, oplockbreakinghandler.param().abi(), &mut result__).map(|| result__) } } @@ -84,7 +84,7 @@ windows_core::imp::define_interface!(IUnbufferedFileHandleOplockCallback, IUnbuf impl std::ops::Deref for IUnbufferedFileHandleOplockCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUnbufferedFileHandleOplockCallback, windows_core::IUnknown); @@ -102,7 +102,7 @@ windows_core::imp::define_interface!(IUnbufferedFileHandleProvider, IUnbufferedF impl std::ops::Deref for IUnbufferedFileHandleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUnbufferedFileHandleProvider, windows_core::IUnknown); @@ -111,7 +111,7 @@ impl IUnbufferedFileHandleProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OpenUnbufferedFileHandle)(windows_core::Interface::as_raw(self), oplockbreakcallback.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CloseUnbufferedFileHandle(&self) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs index 2a8459928c..a05ef5375e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs @@ -503,7 +503,7 @@ pub trait ICorrelationVectorInformation_Impl: Sized { impl windows_core::RuntimeName for ICorrelationVectorInformation {} impl ICorrelationVectorInformation_Vtbl { pub const fn new, Impl: ICorrelationVectorInformation_Impl, const OFFSET: isize>() -> ICorrelationVectorInformation_Vtbl { - unsafe extern "system" fn LastCorrelationVectorForThread, Impl: ICorrelationVectorInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cv: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LastCorrelationVectorForThread, Impl: ICorrelationVectorInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cv: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICorrelationVectorInformation_Impl::LastCorrelationVectorForThread(this) { @@ -514,7 +514,7 @@ impl ICorrelationVectorInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NextCorrelationVectorForThread, Impl: ICorrelationVectorInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cv: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NextCorrelationVectorForThread, Impl: ICorrelationVectorInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cv: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICorrelationVectorInformation_Impl::NextCorrelationVectorForThread(this) { @@ -525,7 +525,7 @@ impl ICorrelationVectorInformation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNextCorrelationVectorForThread, Impl: ICorrelationVectorInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cv: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNextCorrelationVectorForThread, Impl: ICorrelationVectorInformation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cv: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICorrelationVectorInformation_Impl::SetNextCorrelationVectorForThread(this, core::mem::transmute(&cv)).into() @@ -547,7 +547,7 @@ pub trait ICorrelationVectorSource_Impl: Sized { impl windows_core::RuntimeName for ICorrelationVectorSource {} impl ICorrelationVectorSource_Vtbl { pub const fn new, Impl: ICorrelationVectorSource_Impl, const OFFSET: isize>() -> ICorrelationVectorSource_Vtbl { - unsafe extern "system" fn CorrelationVector, Impl: ICorrelationVectorSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cv: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CorrelationVector, Impl: ICorrelationVectorSource_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cv: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICorrelationVectorSource_Impl::CorrelationVector(this) { @@ -801,12 +801,12 @@ pub trait IRestrictedErrorInfo_Impl: Sized { impl windows_core::RuntimeName for IRestrictedErrorInfo {} impl IRestrictedErrorInfo_Vtbl { pub const fn new, Impl: IRestrictedErrorInfo_Impl, const OFFSET: isize>() -> IRestrictedErrorInfo_Vtbl { - unsafe extern "system" fn GetErrorDetails, Impl: IRestrictedErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut std::mem::MaybeUninit, error: *mut windows_core::HRESULT, restricteddescription: *mut std::mem::MaybeUninit, capabilitysid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetErrorDetails, Impl: IRestrictedErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, description: *mut core::mem::MaybeUninit, error: *mut windows_core::HRESULT, restricteddescription: *mut core::mem::MaybeUninit, capabilitysid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRestrictedErrorInfo_Impl::GetErrorDetails(this, core::mem::transmute_copy(&description), core::mem::transmute_copy(&error), core::mem::transmute_copy(&restricteddescription), core::mem::transmute_copy(&capabilitysid)).into() } - unsafe extern "system" fn GetReference, Impl: IRestrictedErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reference: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetReference, Impl: IRestrictedErrorInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reference: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRestrictedErrorInfo_Impl::GetReference(this) { @@ -970,7 +970,7 @@ pub trait IUserActivitySourceHostInterop_Impl: Sized { impl windows_core::RuntimeName for IUserActivitySourceHostInterop {} impl IUserActivitySourceHostInterop_Vtbl { pub const fn new, Impl: IUserActivitySourceHostInterop_Impl, const OFFSET: isize>() -> IUserActivitySourceHostInterop_Vtbl { - unsafe extern "system" fn SetActivitySourceHost, Impl: IUserActivitySourceHostInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, activitysourcehost: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetActivitySourceHost, Impl: IUserActivitySourceHostInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, activitysourcehost: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUserActivitySourceHostInterop_Impl::SetActivitySourceHost(this, core::mem::transmute(&activitysourcehost)).into() @@ -990,7 +990,7 @@ pub trait IUserConsentVerifierInterop_Impl: Sized { impl windows_core::RuntimeName for IUserConsentVerifierInterop {} impl IUserConsentVerifierInterop_Vtbl { pub const fn new, Impl: IUserConsentVerifierInterop_Impl, const OFFSET: isize>() -> IUserConsentVerifierInterop_Vtbl { - unsafe extern "system" fn RequestVerificationForWindowAsync, Impl: IUserConsentVerifierInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, message: std::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn RequestVerificationForWindowAsync, Impl: IUserConsentVerifierInterop_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, appwindow: super::super::Foundation::HWND, message: core::mem::MaybeUninit, riid: *const windows_core::GUID, asyncoperation: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUserConsentVerifierInterop_Impl::RequestVerificationForWindowAsync(this, core::mem::transmute_copy(&appwindow), core::mem::transmute(&message), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&asyncoperation)).into() 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 05fdbcdd8a..641b0b2a22 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs @@ -31,7 +31,7 @@ pub mod Storage; #[inline] pub unsafe fn CoDecodeProxy(dwclientpid: u32, ui64proxyaddress: u64) -> windows_core::Result { windows_targets::link!("ole32.dll" "system" fn CoDecodeProxy(dwclientpid : u32, ui64proxyaddress : u64, pserverinformation : *mut ServerInformation) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CoDecodeProxy(dwclientpid, ui64proxyaddress, &mut result__).map(|| result__) } #[inline] @@ -57,7 +57,7 @@ where #[inline] pub unsafe fn CreateDispatcherQueueController(options: DispatcherQueueOptions) -> windows_core::Result { windows_targets::link!("coremessaging.dll" "system" fn CreateDispatcherQueueController(options : DispatcherQueueOptions, dispatcherqueuecontroller : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateDispatcherQueueController(core::mem::transmute(options), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -94,47 +94,47 @@ where #[inline] pub unsafe fn GetRestrictedErrorInfo() -> windows_core::Result { windows_targets::link!("api-ms-win-core-winrt-error-l1-1-0.dll" "system" fn GetRestrictedErrorInfo(pprestrictederrorinfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetRestrictedErrorInfo(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn HSTRING_UserFree(param0: *const u32, param1: *const windows_core::HSTRING) { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserFree(param0 : *const u32, param1 : *const std::mem::MaybeUninit < windows_core::HSTRING >)); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserFree(param0 : *const u32, param1 : *const core::mem::MaybeUninit < windows_core::HSTRING >)); HSTRING_UserFree(param0, core::mem::transmute(param1)) } #[inline] pub unsafe fn HSTRING_UserFree64(param0: *const u32, param1: *const windows_core::HSTRING) { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserFree64(param0 : *const u32, param1 : *const std::mem::MaybeUninit < windows_core::HSTRING >)); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserFree64(param0 : *const u32, param1 : *const core::mem::MaybeUninit < windows_core::HSTRING >)); HSTRING_UserFree64(param0, core::mem::transmute(param1)) } #[inline] pub unsafe fn HSTRING_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const windows_core::HSTRING) -> *mut u8 { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const std::mem::MaybeUninit < windows_core::HSTRING >) -> *mut u8); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserMarshal(param0 : *const u32, param1 : *mut u8, param2 : *const core::mem::MaybeUninit < windows_core::HSTRING >) -> *mut u8); HSTRING_UserMarshal(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn HSTRING_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const windows_core::HSTRING) -> *mut u8 { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const std::mem::MaybeUninit < windows_core::HSTRING >) -> *mut u8); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserMarshal64(param0 : *const u32, param1 : *mut u8, param2 : *const core::mem::MaybeUninit < windows_core::HSTRING >) -> *mut u8); HSTRING_UserMarshal64(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn HSTRING_UserSize(param0: *const u32, param1: u32, param2: *const windows_core::HSTRING) -> u32 { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserSize(param0 : *const u32, param1 : u32, param2 : *const std::mem::MaybeUninit < windows_core::HSTRING >) -> u32); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserSize(param0 : *const u32, param1 : u32, param2 : *const core::mem::MaybeUninit < windows_core::HSTRING >) -> u32); HSTRING_UserSize(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn HSTRING_UserSize64(param0: *const u32, param1: u32, param2: *const windows_core::HSTRING) -> u32 { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserSize64(param0 : *const u32, param1 : u32, param2 : *const std::mem::MaybeUninit < windows_core::HSTRING >) -> u32); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserSize64(param0 : *const u32, param1 : u32, param2 : *const core::mem::MaybeUninit < windows_core::HSTRING >) -> u32); HSTRING_UserSize64(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn HSTRING_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut windows_core::HSTRING) -> *mut u8 { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> *mut u8); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserUnmarshal(param0 : *const u32, param1 : *const u8, param2 : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> *mut u8); HSTRING_UserUnmarshal(param0, param1, core::mem::transmute(param2)) } #[inline] pub unsafe fn HSTRING_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut windows_core::HSTRING) -> *mut u8 { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> *mut u8); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn HSTRING_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> *mut u8); HSTRING_UserUnmarshal64(param0, param1, core::mem::transmute(param2)) } #[inline] @@ -144,8 +144,8 @@ pub unsafe fn IsErrorPropagationEnabled() -> super::super::Foundation::BOOL { } #[inline] pub unsafe fn RoActivateInstance(activatableclassid: &windows_core::HSTRING) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoActivateInstance(activatableclassid : std::mem::MaybeUninit < windows_core::HSTRING >, instance : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoActivateInstance(activatableclassid : core::mem::MaybeUninit < windows_core::HSTRING >, instance : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); RoActivateInstance(core::mem::transmute_copy(activatableclassid), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -168,7 +168,7 @@ pub unsafe fn RoGetActivationFactory(activatableclassid: &windows_core::HSTRI where T: windows_core::Interface, { - windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoGetActivationFactory(activatableclassid : std::mem::MaybeUninit < windows_core::HSTRING >, iid : *const windows_core::GUID, factory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoGetActivationFactory(activatableclassid : core::mem::MaybeUninit < windows_core::HSTRING >, iid : *const windows_core::GUID, factory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); let mut result__ = std::ptr::null_mut(); RoGetActivationFactory(core::mem::transmute_copy(activatableclassid), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } @@ -178,37 +178,37 @@ where P0: windows_core::Param, { windows_targets::link!("ole32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoGetAgileReference(options, riid, punk.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn RoGetApartmentIdentifier() -> windows_core::Result { windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoGetApartmentIdentifier(apartmentidentifier : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoGetApartmentIdentifier(&mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_Marshal")] #[inline] pub unsafe fn RoGetBufferMarshaler() -> windows_core::Result { windows_targets::link!("api-ms-win-core-winrt-robuffer-l1-1-0.dll" "system" fn RoGetBufferMarshaler(buffermarshaler : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoGetBufferMarshaler(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn RoGetErrorReportingFlags() -> windows_core::Result { windows_targets::link!("api-ms-win-core-winrt-error-l1-1-0.dll" "system" fn RoGetErrorReportingFlags(pflags : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoGetErrorReportingFlags(&mut result__).map(|| result__) } #[inline] pub unsafe fn RoGetMatchingRestrictedErrorInfo(hrin: windows_core::HRESULT) -> windows_core::Result { windows_targets::link!("api-ms-win-core-winrt-error-l1-1-1.dll" "system" fn RoGetMatchingRestrictedErrorInfo(hrin : windows_core::HRESULT, pprestrictederrorinfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoGetMatchingRestrictedErrorInfo(hrin, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn RoGetServerActivatableClasses(servername: &windows_core::HSTRING, activatableclassids: *mut *mut windows_core::HSTRING, count: *mut u32) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-core-winrt-registration-l1-1-0.dll" "system" fn RoGetServerActivatableClasses(servername : std::mem::MaybeUninit < windows_core::HSTRING >, activatableclassids : *mut *mut windows_core::HSTRING, count : *mut u32) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-core-winrt-registration-l1-1-0.dll" "system" fn RoGetServerActivatableClasses(servername : core::mem::MaybeUninit < windows_core::HSTRING >, activatableclassids : *mut *mut windows_core::HSTRING, count : *mut u32) -> windows_core::HRESULT); RoGetServerActivatableClasses(core::mem::transmute_copy(servername), activatableclassids, count).ok() } #[inline] @@ -224,12 +224,12 @@ pub unsafe fn RoInspectCapturedStackBackTrace(targeterrorinfoaddress: usize, mac #[inline] pub unsafe fn RoInspectThreadErrorInfo(targettebaddress: usize, machine: u16, readmemorycallback: PINSPECT_MEMORY_CALLBACK, context: Option<*const core::ffi::c_void>) -> windows_core::Result { windows_targets::link!("api-ms-win-core-winrt-error-l1-1-1.dll" "system" fn RoInspectThreadErrorInfo(targettebaddress : usize, machine : u16, readmemorycallback : PINSPECT_MEMORY_CALLBACK, context : *const core::ffi::c_void, targeterrorinfoaddress : *mut usize) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoInspectThreadErrorInfo(targettebaddress, machine, readmemorycallback, core::mem::transmute(context.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] pub unsafe fn RoOriginateError(error: windows_core::HRESULT, message: &windows_core::HSTRING) -> super::super::Foundation::BOOL { - windows_targets::link!("api-ms-win-core-winrt-error-l1-1-0.dll" "system" fn RoOriginateError(error : windows_core::HRESULT, message : std::mem::MaybeUninit < windows_core::HSTRING >) -> super::super::Foundation:: BOOL); + windows_targets::link!("api-ms-win-core-winrt-error-l1-1-0.dll" "system" fn RoOriginateError(error : windows_core::HRESULT, message : core::mem::MaybeUninit < windows_core::HSTRING >) -> super::super::Foundation:: BOOL); RoOriginateError(error, core::mem::transmute_copy(message)) } #[inline] @@ -242,13 +242,13 @@ pub unsafe fn RoOriginateLanguageException(error: windows_core::HRESULT, mes where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-core-winrt-error-l1-1-1.dll" "system" fn RoOriginateLanguageException(error : windows_core::HRESULT, message : std::mem::MaybeUninit < windows_core::HSTRING >, languageexception : * mut core::ffi::c_void) -> super::super::Foundation:: BOOL); + windows_targets::link!("api-ms-win-core-winrt-error-l1-1-1.dll" "system" fn RoOriginateLanguageException(error : windows_core::HRESULT, message : core::mem::MaybeUninit < windows_core::HSTRING >, languageexception : * mut core::ffi::c_void) -> super::super::Foundation:: BOOL); RoOriginateLanguageException(error, core::mem::transmute_copy(message), languageexception.param().abi()) } #[inline] pub unsafe fn RoRegisterActivationFactories(activatableclassids: *const windows_core::HSTRING, activationfactorycallbacks: *const PFNGETACTIVATIONFACTORY, count: u32) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoRegisterActivationFactories(activatableclassids : *const std::mem::MaybeUninit < windows_core::HSTRING >, activationfactorycallbacks : *const PFNGETACTIVATIONFACTORY, count : u32, cookie : *mut RO_REGISTRATION_COOKIE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoRegisterActivationFactories(activatableclassids : *const core::mem::MaybeUninit < windows_core::HSTRING >, activationfactorycallbacks : *const PFNGETACTIVATIONFACTORY, count : u32, cookie : *mut RO_REGISTRATION_COOKIE) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); RoRegisterActivationFactories(core::mem::transmute(activatableclassids), activationfactorycallbacks, count, &mut result__).map(|| result__) } #[inline] @@ -282,7 +282,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-core-winrt-error-l1-1-0.dll" "system" fn RoResolveRestrictedErrorInfoReference(reference : windows_core::PCWSTR, pprestrictederrorinfo : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RoResolveRestrictedErrorInfoReference(reference.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -300,7 +300,7 @@ pub unsafe fn RoSetErrorReportingFlags(flags: u32) -> windows_core::Result<()> { } #[inline] pub unsafe fn RoTransformError(olderror: windows_core::HRESULT, newerror: windows_core::HRESULT, message: &windows_core::HSTRING) -> super::super::Foundation::BOOL { - windows_targets::link!("api-ms-win-core-winrt-error-l1-1-0.dll" "system" fn RoTransformError(olderror : windows_core::HRESULT, newerror : windows_core::HRESULT, message : std::mem::MaybeUninit < windows_core::HSTRING >) -> super::super::Foundation:: BOOL); + windows_targets::link!("api-ms-win-core-winrt-error-l1-1-0.dll" "system" fn RoTransformError(olderror : windows_core::HRESULT, newerror : windows_core::HRESULT, message : core::mem::MaybeUninit < windows_core::HSTRING >) -> super::super::Foundation:: BOOL); RoTransformError(olderror, newerror, core::mem::transmute_copy(message)) } #[inline] @@ -331,20 +331,20 @@ where } #[inline] pub unsafe fn WindowsCompareStringOrdinal(string1: &windows_core::HSTRING, string2: &windows_core::HSTRING) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsCompareStringOrdinal(string1 : std::mem::MaybeUninit < windows_core::HSTRING >, string2 : std::mem::MaybeUninit < windows_core::HSTRING >, result : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsCompareStringOrdinal(string1 : core::mem::MaybeUninit < windows_core::HSTRING >, string2 : core::mem::MaybeUninit < windows_core::HSTRING >, result : *mut i32) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsCompareStringOrdinal(core::mem::transmute_copy(string1), core::mem::transmute_copy(string2), &mut result__).map(|| result__) } #[inline] pub unsafe fn WindowsConcatString(string1: &windows_core::HSTRING, string2: &windows_core::HSTRING) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsConcatString(string1 : std::mem::MaybeUninit < windows_core::HSTRING >, string2 : std::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsConcatString(string1 : core::mem::MaybeUninit < windows_core::HSTRING >, string2 : core::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsConcatString(core::mem::transmute_copy(string1), core::mem::transmute_copy(string2), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WindowsCreateString(sourcestring: Option<&[u16]>) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsCreateString(sourcestring : windows_core::PCWSTR, length : u32, string : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsCreateString(sourcestring : windows_core::PCWSTR, length : u32, string : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsCreateString(core::mem::transmute(sourcestring.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), sourcestring.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -352,12 +352,12 @@ pub unsafe fn WindowsCreateStringReference(sourcestring: P0, length: u32, hs where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsCreateStringReference(sourcestring : windows_core::PCWSTR, length : u32, hstringheader : *mut HSTRING_HEADER, string : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsCreateStringReference(sourcestring : windows_core::PCWSTR, length : u32, hstringheader : *mut HSTRING_HEADER, string : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); WindowsCreateStringReference(sourcestring.param().abi(), length, hstringheader, core::mem::transmute(string)).ok() } #[inline] pub unsafe fn WindowsDeleteString(string: &windows_core::HSTRING) -> windows_core::Result<()> { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsDeleteString(string : std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsDeleteString(string : core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); WindowsDeleteString(core::mem::transmute_copy(string)).ok() } #[inline] @@ -370,18 +370,18 @@ where } #[inline] pub unsafe fn WindowsDuplicateString(string: &windows_core::HSTRING) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsDuplicateString(string : std::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsDuplicateString(string : core::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsDuplicateString(core::mem::transmute_copy(string), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WindowsGetStringLen(string: &windows_core::HSTRING) -> u32 { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsGetStringLen(string : std::mem::MaybeUninit < windows_core::HSTRING >) -> u32); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsGetStringLen(string : core::mem::MaybeUninit < windows_core::HSTRING >) -> u32); WindowsGetStringLen(core::mem::transmute_copy(string)) } #[inline] pub unsafe fn WindowsGetStringRawBuffer(string: &windows_core::HSTRING, length: Option<*mut u32>) -> windows_core::PCWSTR { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsGetStringRawBuffer(string : std::mem::MaybeUninit < windows_core::HSTRING >, length : *mut u32) -> windows_core::PCWSTR); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsGetStringRawBuffer(string : core::mem::MaybeUninit < windows_core::HSTRING >, length : *mut u32) -> windows_core::PCWSTR); WindowsGetStringRawBuffer(core::mem::transmute_copy(string), core::mem::transmute(length.unwrap_or(std::ptr::null_mut()))) } #[inline] @@ -396,7 +396,7 @@ pub unsafe fn WindowsInspectString2(targethstring: u64, machine: u16, callback: } #[inline] pub unsafe fn WindowsIsStringEmpty(string: &windows_core::HSTRING) -> super::super::Foundation::BOOL { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsIsStringEmpty(string : std::mem::MaybeUninit < windows_core::HSTRING >) -> super::super::Foundation:: BOOL); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsIsStringEmpty(string : core::mem::MaybeUninit < windows_core::HSTRING >) -> super::super::Foundation:: BOOL); WindowsIsStringEmpty(core::mem::transmute_copy(string)) } #[inline] @@ -409,51 +409,51 @@ pub unsafe fn WindowsPromoteStringBuffer(bufferhandle: P0) -> windows_core:: where P0: windows_core::Param, { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsPromoteStringBuffer(bufferhandle : HSTRING_BUFFER, string : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsPromoteStringBuffer(bufferhandle : HSTRING_BUFFER, string : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsPromoteStringBuffer(bufferhandle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WindowsReplaceString(string: &windows_core::HSTRING, stringreplaced: &windows_core::HSTRING, stringreplacewith: &windows_core::HSTRING) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsReplaceString(string : std::mem::MaybeUninit < windows_core::HSTRING >, stringreplaced : std::mem::MaybeUninit < windows_core::HSTRING >, stringreplacewith : std::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsReplaceString(string : core::mem::MaybeUninit < windows_core::HSTRING >, stringreplaced : core::mem::MaybeUninit < windows_core::HSTRING >, stringreplacewith : core::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsReplaceString(core::mem::transmute_copy(string), core::mem::transmute_copy(stringreplaced), core::mem::transmute_copy(stringreplacewith), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WindowsStringHasEmbeddedNull(string: &windows_core::HSTRING) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsStringHasEmbeddedNull(string : std::mem::MaybeUninit < windows_core::HSTRING >, hasembednull : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsStringHasEmbeddedNull(string : core::mem::MaybeUninit < windows_core::HSTRING >, hasembednull : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsStringHasEmbeddedNull(core::mem::transmute_copy(string), &mut result__).map(|| result__) } #[inline] pub unsafe fn WindowsSubstring(string: &windows_core::HSTRING, startindex: u32) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsSubstring(string : std::mem::MaybeUninit < windows_core::HSTRING >, startindex : u32, newstring : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsSubstring(string : core::mem::MaybeUninit < windows_core::HSTRING >, startindex : u32, newstring : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsSubstring(core::mem::transmute_copy(string), startindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WindowsSubstringWithSpecifiedLength(string: &windows_core::HSTRING, startindex: u32, length: u32) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsSubstringWithSpecifiedLength(string : std::mem::MaybeUninit < windows_core::HSTRING >, startindex : u32, length : u32, newstring : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsSubstringWithSpecifiedLength(string : core::mem::MaybeUninit < windows_core::HSTRING >, startindex : u32, length : u32, newstring : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsSubstringWithSpecifiedLength(core::mem::transmute_copy(string), startindex, length, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WindowsTrimStringEnd(string: &windows_core::HSTRING, trimstring: &windows_core::HSTRING) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsTrimStringEnd(string : std::mem::MaybeUninit < windows_core::HSTRING >, trimstring : std::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsTrimStringEnd(string : core::mem::MaybeUninit < windows_core::HSTRING >, trimstring : core::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsTrimStringEnd(core::mem::transmute_copy(string), core::mem::transmute_copy(trimstring), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn WindowsTrimStringStart(string: &windows_core::HSTRING, trimstring: &windows_core::HSTRING) -> windows_core::Result { - windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsTrimStringStart(string : std::mem::MaybeUninit < windows_core::HSTRING >, trimstring : std::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut std::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("api-ms-win-core-winrt-string-l1-1-0.dll" "system" fn WindowsTrimStringStart(string : core::mem::MaybeUninit < windows_core::HSTRING >, trimstring : core::mem::MaybeUninit < windows_core::HSTRING >, newstring : *mut core::mem::MaybeUninit < windows_core::HSTRING >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); WindowsTrimStringStart(core::mem::transmute_copy(string), core::mem::transmute_copy(trimstring), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IAccountsSettingsPaneInterop, IAccountsSettingsPaneInterop_Vtbl, 0xd3ee12ad_3865_4362_9746_b75a682df0e6); impl std::ops::Deref for IAccountsSettingsPaneInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccountsSettingsPaneInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -494,13 +494,13 @@ windows_core::imp::define_interface!(IActivationFactory, IActivationFactory_Vtbl impl std::ops::Deref for IActivationFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActivationFactory, windows_core::IUnknown, windows_core::IInspectable); impl IActivationFactory { pub unsafe fn ActivateInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateInstance)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -513,7 +513,7 @@ windows_core::imp::define_interface!(IAgileReference, IAgileReference_Vtbl, 0xc0 impl std::ops::Deref for IAgileReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAgileReference, windows_core::IUnknown); @@ -535,7 +535,7 @@ windows_core::imp::define_interface!(IApartmentShutdown, IApartmentShutdown_Vtbl impl std::ops::Deref for IApartmentShutdown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApartmentShutdown, windows_core::IUnknown); @@ -553,7 +553,7 @@ windows_core::imp::define_interface!(IAppServiceConnectionExtendedExecution, IAp impl std::ops::Deref for IAppServiceConnectionExtendedExecution { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppServiceConnectionExtendedExecution, windows_core::IUnknown); @@ -575,13 +575,13 @@ windows_core::imp::define_interface!(IBufferByteAccess, IBufferByteAccess_Vtbl, impl std::ops::Deref for IBufferByteAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBufferByteAccess, windows_core::IUnknown); impl IBufferByteAccess { pub unsafe fn Buffer(&self) -> windows_core::Result<*mut u8> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Buffer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -594,7 +594,7 @@ windows_core::imp::define_interface!(ICastingController, ICastingController_Vtbl impl std::ops::Deref for ICastingController { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICastingController, windows_core::IUnknown); @@ -616,7 +616,7 @@ impl ICastingController { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), eventhandler.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnAdvise(&self, cookie: u32) -> windows_core::Result<()> { @@ -636,7 +636,7 @@ windows_core::imp::define_interface!(ICastingEventHandler, ICastingEventHandler_ impl std::ops::Deref for ICastingEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICastingEventHandler, windows_core::IUnknown); @@ -661,18 +661,18 @@ windows_core::imp::define_interface!(ICastingSourceInfo, ICastingSourceInfo_Vtbl impl std::ops::Deref for ICastingSourceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICastingSourceInfo, windows_core::IUnknown); impl ICastingSourceInfo { pub unsafe fn GetController(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetController)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -689,7 +689,7 @@ windows_core::imp::define_interface!(ICoreInputInterop, ICoreInputInterop_Vtbl, impl std::ops::Deref for ICoreInputInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreInputInterop, windows_core::IUnknown); @@ -714,13 +714,13 @@ windows_core::imp::define_interface!(ICoreInputInterop2, ICoreInputInterop2_Vtbl impl std::ops::Deref for ICoreInputInterop2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreInputInterop2, windows_core::IUnknown, windows_core::IInspectable); impl ICoreInputInterop2 { pub unsafe fn WindowHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ChangeHostingContext(&self, newparentwindow: P0, newviewinstanceid: u32) -> windows_core::Result<()> @@ -740,37 +740,37 @@ windows_core::imp::define_interface!(ICoreWindowAdapterInterop, ICoreWindowAdapt impl std::ops::Deref for ICoreWindowAdapterInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreWindowAdapterInterop, windows_core::IUnknown, windows_core::IInspectable); impl ICoreWindowAdapterInterop { pub unsafe fn AppActivationClientAdapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AppActivationClientAdapter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ApplicationViewClientAdapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplicationViewClientAdapter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CoreApplicationViewClientAdapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CoreApplicationViewClientAdapter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HoloViewClientAdapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HoloViewClientAdapter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PositionerClientAdapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PositionerClientAdapter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SystemNavigationClientAdapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SystemNavigationClientAdapter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TitleBarClientAdapter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TitleBarClientAdapter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetWindowClientAdapter(&self, value: P0) -> windows_core::Result<()> @@ -796,7 +796,7 @@ windows_core::imp::define_interface!(ICoreWindowComponentInterop, ICoreWindowCom impl std::ops::Deref for ICoreWindowComponentInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreWindowComponentInterop, windows_core::IUnknown); @@ -809,7 +809,7 @@ impl ICoreWindowComponentInterop { (windows_core::Interface::vtable(self).ConfigureComponentInput)(windows_core::Interface::as_raw(self), hostviewinstanceid, hwndhost.param().abi(), inputsourcevisual.param().abi()).ok() } pub unsafe fn GetViewInstanceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewInstanceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -823,13 +823,13 @@ windows_core::imp::define_interface!(ICoreWindowInterop, ICoreWindowInterop_Vtbl impl std::ops::Deref for ICoreWindowInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreWindowInterop, windows_core::IUnknown); impl ICoreWindowInterop { pub unsafe fn WindowHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMessageHandled(&self, value: u8) -> windows_core::Result<()> { @@ -846,17 +846,17 @@ windows_core::imp::define_interface!(ICorrelationVectorInformation, ICorrelation impl std::ops::Deref for ICorrelationVectorInformation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorrelationVectorInformation, windows_core::IUnknown, windows_core::IInspectable); impl ICorrelationVectorInformation { pub unsafe fn LastCorrelationVectorForThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastCorrelationVectorForThread)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NextCorrelationVectorForThread(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextCorrelationVectorForThread)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNextCorrelationVectorForThread(&self, cv: &windows_core::HSTRING) -> windows_core::Result<()> { @@ -866,34 +866,34 @@ impl ICorrelationVectorInformation { #[repr(C)] pub struct ICorrelationVectorInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub LastCorrelationVectorForThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub NextCorrelationVectorForThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNextCorrelationVectorForThread: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LastCorrelationVectorForThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub NextCorrelationVectorForThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNextCorrelationVectorForThread: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorrelationVectorSource, ICorrelationVectorSource_Vtbl, 0x152b8a3b_b9b9_4685_b56e_974847bc7545); impl std::ops::Deref for ICorrelationVectorSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICorrelationVectorSource, windows_core::IUnknown); impl ICorrelationVectorSource { pub unsafe fn CorrelationVector(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CorrelationVector)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ICorrelationVectorSource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CorrelationVector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CorrelationVector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDragDropManagerInterop, IDragDropManagerInterop_Vtbl, 0x5ad8cba7_4c01_4dac_9074_827894292d63); impl std::ops::Deref for IDragDropManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDragDropManagerInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -916,7 +916,7 @@ windows_core::imp::define_interface!(IHolographicSpaceInterop, IHolographicSpace impl std::ops::Deref for IHolographicSpaceInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHolographicSpaceInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -939,7 +939,7 @@ windows_core::imp::define_interface!(IInputPaneInterop, IInputPaneInterop_Vtbl, impl std::ops::Deref for IInputPaneInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputPaneInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -962,13 +962,13 @@ windows_core::imp::define_interface!(ILanguageExceptionErrorInfo, ILanguageExcep impl std::ops::Deref for ILanguageExceptionErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILanguageExceptionErrorInfo, windows_core::IUnknown); impl ILanguageExceptionErrorInfo { pub unsafe fn GetLanguageException(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguageException)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -981,13 +981,13 @@ windows_core::imp::define_interface!(ILanguageExceptionErrorInfo2, ILanguageExce impl std::ops::Deref for ILanguageExceptionErrorInfo2 { type Target = ILanguageExceptionErrorInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILanguageExceptionErrorInfo2, windows_core::IUnknown, ILanguageExceptionErrorInfo); impl ILanguageExceptionErrorInfo2 { pub unsafe fn GetPreviousLanguageExceptionErrorInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousLanguageExceptionErrorInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CapturePropagationContext(&self, languageexception: P0) -> windows_core::Result<()> @@ -997,7 +997,7 @@ impl ILanguageExceptionErrorInfo2 { (windows_core::Interface::vtable(self).CapturePropagationContext)(windows_core::Interface::as_raw(self), languageexception.param().abi()).ok() } pub unsafe fn GetPropagationContextHead(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropagationContextHead)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1012,7 +1012,7 @@ windows_core::imp::define_interface!(ILanguageExceptionStackBackTrace, ILanguage impl std::ops::Deref for ILanguageExceptionStackBackTrace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILanguageExceptionStackBackTrace, windows_core::IUnknown); @@ -1030,13 +1030,13 @@ windows_core::imp::define_interface!(ILanguageExceptionTransform, ILanguageExcep impl std::ops::Deref for ILanguageExceptionTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILanguageExceptionTransform, windows_core::IUnknown); impl ILanguageExceptionTransform { pub unsafe fn GetTransformedRestrictedErrorInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTransformedRestrictedErrorInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1049,7 +1049,7 @@ windows_core::imp::define_interface!(IMemoryBufferByteAccess, IMemoryBufferByteA impl std::ops::Deref for IMemoryBufferByteAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMemoryBufferByteAccess, windows_core::IUnknown); @@ -1067,7 +1067,7 @@ windows_core::imp::define_interface!(IMessageDispatcher, IMessageDispatcher_Vtbl impl std::ops::Deref for IMessageDispatcher { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMessageDispatcher, windows_core::IUnknown, windows_core::IInspectable); @@ -1085,7 +1085,7 @@ windows_core::imp::define_interface!(IPlayToManagerInterop, IPlayToManagerIntero impl std::ops::Deref for IPlayToManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPlayToManagerInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -1115,7 +1115,7 @@ windows_core::imp::define_interface!(IRestrictedErrorInfo, IRestrictedErrorInfo_ impl std::ops::Deref for IRestrictedErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRestrictedErrorInfo, windows_core::IUnknown); @@ -1124,7 +1124,7 @@ impl IRestrictedErrorInfo { (windows_core::Interface::vtable(self).GetErrorDetails)(windows_core::Interface::as_raw(self), core::mem::transmute(description), error, core::mem::transmute(restricteddescription), core::mem::transmute(capabilitysid)).ok() } pub unsafe fn GetReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReference)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1133,20 +1133,20 @@ unsafe impl Sync for IRestrictedErrorInfo {} #[repr(C)] pub struct IRestrictedErrorInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetErrorDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut windows_core::HRESULT, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetErrorDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut windows_core::HRESULT, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShareWindowCommandEventArgsInterop, IShareWindowCommandEventArgsInterop_Vtbl, 0x6571a721_643d_43d4_aca4_6b6f5f30f1ad); impl std::ops::Deref for IShareWindowCommandEventArgsInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShareWindowCommandEventArgsInterop, windows_core::IUnknown); impl IShareWindowCommandEventArgsInterop { pub unsafe fn GetWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1159,7 +1159,7 @@ windows_core::imp::define_interface!(IShareWindowCommandSourceInterop, IShareWin impl std::ops::Deref for IShareWindowCommandSourceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShareWindowCommandSourceInterop, windows_core::IUnknown); @@ -1182,7 +1182,7 @@ windows_core::imp::define_interface!(ISpatialInteractionManagerInterop, ISpatial impl std::ops::Deref for ISpatialInteractionManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpatialInteractionManagerInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -1205,7 +1205,7 @@ windows_core::imp::define_interface!(ISystemMediaTransportControlsInterop, ISyst impl std::ops::Deref for ISystemMediaTransportControlsInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISystemMediaTransportControlsInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -1228,7 +1228,7 @@ windows_core::imp::define_interface!(IUIViewSettingsInterop, IUIViewSettingsInte impl std::ops::Deref for IUIViewSettingsInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIViewSettingsInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -1251,7 +1251,7 @@ windows_core::imp::define_interface!(IUserActivityInterop, IUserActivityInterop_ impl std::ops::Deref for IUserActivityInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserActivityInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -1274,7 +1274,7 @@ windows_core::imp::define_interface!(IUserActivityRequestManagerInterop, IUserAc impl std::ops::Deref for IUserActivityRequestManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserActivityRequestManagerInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -1297,7 +1297,7 @@ windows_core::imp::define_interface!(IUserActivitySourceHostInterop, IUserActivi impl std::ops::Deref for IUserActivitySourceHostInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserActivitySourceHostInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -1309,13 +1309,13 @@ impl IUserActivitySourceHostInterop { #[repr(C)] pub struct IUserActivitySourceHostInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub SetActivitySourceHost: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetActivitySourceHost: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserConsentVerifierInterop, IUserConsentVerifierInterop_Vtbl, 0x39e050c3_4e74_441a_8dc0_b81104df949c); impl std::ops::Deref for IUserConsentVerifierInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserConsentVerifierInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -1332,13 +1332,13 @@ impl IUserConsentVerifierInterop { #[repr(C)] pub struct IUserConsentVerifierInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, - pub RequestVerificationForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, std::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub RequestVerificationForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWeakReference, IWeakReference_Vtbl, 0x00000037_0000_0000_c000_000000000046); impl std::ops::Deref for IWeakReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWeakReference, windows_core::IUnknown); @@ -1360,13 +1360,13 @@ windows_core::imp::define_interface!(IWeakReferenceSource, IWeakReferenceSource_ impl std::ops::Deref for IWeakReferenceSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWeakReferenceSource, windows_core::IUnknown); impl IWeakReferenceSource { pub unsafe fn GetWeakReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWeakReference)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1379,7 +1379,7 @@ windows_core::imp::define_interface!(IWebAuthenticationCoreManagerInterop, IWebA impl std::ops::Deref for IWebAuthenticationCoreManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebAuthenticationCoreManagerInterop, windows_core::IUnknown, windows_core::IInspectable); diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs index edf859e9c6..83354eadbf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs @@ -51,7 +51,7 @@ impl ICameraUIControl_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetActiveItem, Impl: ICameraUIControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstractiveitempath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetActiveItem, Impl: ICameraUIControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstractiveitempath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICameraUIControl_Impl::GetActiveItem(this, core::mem::transmute_copy(&pbstractiveitempath)).into() @@ -142,7 +142,7 @@ pub trait IClipServiceNotificationHelper_Impl: Sized { impl windows_core::RuntimeName for IClipServiceNotificationHelper {} impl IClipServiceNotificationHelper_Vtbl { pub const fn new, Impl: IClipServiceNotificationHelper_Impl, const OFFSET: isize>() -> IClipServiceNotificationHelper_Vtbl { - unsafe extern "system" fn ShowToast, Impl: IClipServiceNotificationHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, titletext: std::mem::MaybeUninit, bodytext: std::mem::MaybeUninit, packagename: std::mem::MaybeUninit, appid: std::mem::MaybeUninit, launchcommand: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShowToast, Impl: IClipServiceNotificationHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, titletext: core::mem::MaybeUninit, bodytext: core::mem::MaybeUninit, packagename: core::mem::MaybeUninit, appid: core::mem::MaybeUninit, launchcommand: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IClipServiceNotificationHelper_Impl::ShowToast(this, core::mem::transmute(&titletext), core::mem::transmute(&bodytext), core::mem::transmute(&packagename), core::mem::transmute(&appid), core::mem::transmute(&launchcommand)).into() @@ -227,7 +227,7 @@ impl IEditionUpgradeBroker_Vtbl { let this = (*this).get_impl(); IEditionUpgradeBroker_Impl::InitializeParentWindow(this, core::mem::transmute_copy(&parenthandle)).into() } - unsafe extern "system" fn UpdateOperatingSystem, Impl: IEditionUpgradeBroker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parameter: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateOperatingSystem, Impl: IEditionUpgradeBroker_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, parameter: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IEditionUpgradeBroker_Impl::UpdateOperatingSystem(this, core::mem::transmute(¶meter)).into() @@ -326,7 +326,7 @@ pub trait IFClipNotificationHelper_Impl: Sized { impl windows_core::RuntimeName for IFClipNotificationHelper {} impl IFClipNotificationHelper_Vtbl { pub const fn new, Impl: IFClipNotificationHelper_Impl, const OFFSET: isize>() -> IFClipNotificationHelper_Vtbl { - unsafe extern "system" fn ShowSystemDialog, Impl: IFClipNotificationHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, titletext: std::mem::MaybeUninit, bodytext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShowSystemDialog, Impl: IFClipNotificationHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, titletext: core::mem::MaybeUninit, bodytext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFClipNotificationHelper_Impl::ShowSystemDialog(this, core::mem::transmute(&titletext), core::mem::transmute(&bodytext)).into() 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 a1e14bb328..b9797d5a6d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -808,7 +808,7 @@ where #[inline] pub unsafe fn QueryAuxiliaryCounterFrequency() -> windows_core::Result { windows_targets::link!("api-ms-win-core-realtime-l1-1-2.dll" "system" fn QueryAuxiliaryCounterFrequency(lpauxiliarycounterfrequency : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); QueryAuxiliaryCounterFrequency(&mut result__).map(|| result__) } #[inline] @@ -824,14 +824,14 @@ pub unsafe fn QueryIdleProcessorCycleTimeEx(group: u16, bufferlength: *mut u32, #[inline] pub unsafe fn QueryInterruptTime() -> u64 { windows_targets::link!("api-ms-win-core-realtime-l1-1-1.dll" "system" fn QueryInterruptTime(lpinterrupttime : *mut u64)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); QueryInterruptTime(&mut result__); result__ } #[inline] pub unsafe fn QueryInterruptTimePrecise() -> u64 { windows_targets::link!("api-ms-win-core-realtime-l1-1-1.dll" "system" fn QueryInterruptTimePrecise(lpinterrupttimeprecise : *mut u64)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); QueryInterruptTimePrecise(&mut result__); result__ } @@ -859,7 +859,7 @@ pub unsafe fn QueryUnbiasedInterruptTime(unbiasedtime: *mut u64) -> super::super #[inline] pub unsafe fn QueryUnbiasedInterruptTimePrecise() -> u64 { windows_targets::link!("api-ms-win-core-realtime-l1-1-1.dll" "system" fn QueryUnbiasedInterruptTimePrecise(lpunbiasedinterrupttimeprecise : *mut u64)); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); QueryUnbiasedInterruptTimePrecise(&mut result__); result__ } @@ -1411,7 +1411,7 @@ where P0: windows_core::Param, { windows_targets::link!("wldp.dll" "system" fn WldpCanExecuteBuffer(host : *const windows_core::GUID, options : WLDP_EXECUTION_EVALUATION_OPTIONS, buffer : *const u8, buffersize : u32, auditinfo : windows_core::PCWSTR, result : *mut WLDP_EXECUTION_POLICY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WldpCanExecuteBuffer(host, options, core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), auditinfo.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1421,7 +1421,7 @@ where P1: windows_core::Param, { windows_targets::link!("wldp.dll" "system" fn WldpCanExecuteFile(host : *const windows_core::GUID, options : WLDP_EXECUTION_EVALUATION_OPTIONS, filehandle : super::super::Foundation:: HANDLE, auditinfo : windows_core::PCWSTR, result : *mut WLDP_EXECUTION_POLICY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WldpCanExecuteFile(host, options, filehandle.param().abi(), auditinfo.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1432,7 +1432,7 @@ where P1: windows_core::Param, { windows_targets::link!("wldp.dll" "system" fn WldpCanExecuteStream(host : *const windows_core::GUID, options : WLDP_EXECUTION_EVALUATION_OPTIONS, stream : * mut core::ffi::c_void, auditinfo : windows_core::PCWSTR, result : *mut WLDP_EXECUTION_POLICY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WldpCanExecuteStream(host, options, stream.param().abi(), auditinfo.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1448,7 +1448,7 @@ pub unsafe fn WldpIsClassInApprovedList(classid: *const windows_core::GUID, host #[inline] pub unsafe fn WldpIsDynamicCodePolicyEnabled() -> windows_core::Result { windows_targets::link!("wldp.dll" "system" fn WldpIsDynamicCodePolicyEnabled(isenabled : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); WldpIsDynamicCodePolicyEnabled(&mut result__).map(|| result__) } #[inline] @@ -1670,7 +1670,7 @@ windows_core::imp::define_interface!(ICameraUIControl, ICameraUIControl_Vtbl, 0x impl std::ops::Deref for ICameraUIControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICameraUIControl, windows_core::IUnknown); @@ -1687,14 +1687,14 @@ impl ICameraUIControl { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Suspend(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Suspend)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentViewType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetActiveItem(&self, pbstractiveitempath: Option<*mut windows_core::BSTR>) -> windows_core::Result<()> { @@ -1702,7 +1702,7 @@ impl ICameraUIControl { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelectedItems(&self) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectedItems)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemoveCapturedItem(&self, pszpath: P0) -> windows_core::Result<()> @@ -1720,7 +1720,7 @@ pub struct ICameraUIControl_Vtbl { pub Suspend: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurrentViewType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CameraUIControlViewType) -> windows_core::HRESULT, - pub GetActiveItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetActiveItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetSelectedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1731,7 +1731,7 @@ windows_core::imp::define_interface!(ICameraUIControlEventCallback, ICameraUICon impl std::ops::Deref for ICameraUIControlEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICameraUIControlEventCallback, windows_core::IUnknown); @@ -1771,7 +1771,7 @@ windows_core::imp::define_interface!(IClipServiceNotificationHelper, IClipServic impl std::ops::Deref for IClipServiceNotificationHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IClipServiceNotificationHelper, windows_core::IUnknown); @@ -1790,19 +1790,19 @@ impl IClipServiceNotificationHelper { #[repr(C)] pub struct IClipServiceNotificationHelper_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ShowToast: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShowToast: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContainerActivationHelper, IContainerActivationHelper_Vtbl, 0xb524f93f_80d5_4ec7_ae9e_d66e93ade1fa); impl std::ops::Deref for IContainerActivationHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContainerActivationHelper, windows_core::IUnknown); impl IContainerActivationHelper { pub unsafe fn CanActivateClientVM(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanActivateClientVM)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1815,7 +1815,7 @@ windows_core::imp::define_interface!(IDefaultBrowserSyncSettings, IDefaultBrowse impl std::ops::Deref for IDefaultBrowserSyncSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDefaultBrowserSyncSettings, windows_core::IUnknown); @@ -1833,7 +1833,7 @@ windows_core::imp::define_interface!(IDeleteBrowsingHistory, IDeleteBrowsingHist impl std::ops::Deref for IDeleteBrowsingHistory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDeleteBrowsingHistory, windows_core::IUnknown); @@ -1851,7 +1851,7 @@ windows_core::imp::define_interface!(IEditionUpgradeBroker, IEditionUpgradeBroke impl std::ops::Deref for IEditionUpgradeBroker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEditionUpgradeBroker, windows_core::IUnknown); @@ -1883,7 +1883,7 @@ pub struct IEditionUpgradeBroker_Vtbl { pub InitializeParentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::Ole::OLE_HANDLE) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] InitializeParentWindow: usize, - pub UpdateOperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdateOperatingSystem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ShowProductKeyUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CanUpgrade: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -1891,13 +1891,13 @@ windows_core::imp::define_interface!(IEditionUpgradeHelper, IEditionUpgradeHelpe impl std::ops::Deref for IEditionUpgradeHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEditionUpgradeHelper, windows_core::IUnknown); impl IEditionUpgradeHelper { pub unsafe fn CanUpgrade(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanUpgrade)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UpdateOperatingSystem(&self, contentid: P0) -> windows_core::Result<()> @@ -1910,11 +1910,11 @@ impl IEditionUpgradeHelper { (windows_core::Interface::vtable(self).ShowProductKeyUI)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetOsProductContentId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOsProductContentId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGenuineLocalStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGenuineLocalStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1931,7 +1931,7 @@ windows_core::imp::define_interface!(IFClipNotificationHelper, IFClipNotificatio impl std::ops::Deref for IFClipNotificationHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFClipNotificationHelper, windows_core::IUnknown); @@ -1947,19 +1947,19 @@ impl IFClipNotificationHelper { #[repr(C)] pub struct IFClipNotificationHelper_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ShowSystemDialog: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShowSystemDialog: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsLockModeHelper, IWindowsLockModeHelper_Vtbl, 0xf342d19e_cc22_4648_bb5d_03ccf75b47c5); impl std::ops::Deref for IWindowsLockModeHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWindowsLockModeHelper, windows_core::IUnknown); impl IWindowsLockModeHelper { pub unsafe fn GetSMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } 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 45bd635369..038122972f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IAsynchronousDataRetriever, IAsynchronousDa impl std::ops::Deref for IAsynchronousDataRetriever { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAsynchronousDataRetriever, windows_core::IUnknown); @@ -41,25 +41,25 @@ windows_core::imp::define_interface!(IChangeConflict, IChangeConflict_Vtbl, 0x01 impl std::ops::Deref for IChangeConflict { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IChangeConflict, windows_core::IUnknown); impl IChangeConflict { pub unsafe fn GetDestinationProviderConflictingChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDestinationProviderConflictingChange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceProviderConflictingChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceProviderConflictingChange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDestinationProviderConflictingData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDestinationProviderConflictingData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceProviderConflictingData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceProviderConflictingData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetResolveActionForChange(&self, presolveaction: *mut SYNC_RESOLVE_ACTION) -> windows_core::Result<()> { @@ -97,7 +97,7 @@ windows_core::imp::define_interface!(IChangeUnitException, IChangeUnitException_ impl std::ops::Deref for IChangeUnitException { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IChangeUnitException, windows_core::IUnknown); @@ -123,7 +123,7 @@ windows_core::imp::define_interface!(IChangeUnitListFilterInfo, IChangeUnitListF impl std::ops::Deref for IChangeUnitListFilterInfo { type Target = ISyncFilterInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IChangeUnitListFilterInfo, windows_core::IUnknown, ISyncFilterInfo); @@ -149,7 +149,7 @@ windows_core::imp::define_interface!(IClockVector, IClockVector_Vtbl, 0x14b2274a impl std::ops::Deref for IClockVector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IClockVector, windows_core::IUnknown); @@ -171,7 +171,7 @@ windows_core::imp::define_interface!(IClockVectorElement, IClockVectorElement_Vt impl std::ops::Deref for IClockVectorElement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IClockVectorElement, windows_core::IUnknown); @@ -193,7 +193,7 @@ windows_core::imp::define_interface!(ICombinedFilterInfo, ICombinedFilterInfo_Vt impl std::ops::Deref for ICombinedFilterInfo { type Target = ISyncFilterInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICombinedFilterInfo, windows_core::IUnknown, ISyncFilterInfo); @@ -202,7 +202,7 @@ impl ICombinedFilterInfo { (windows_core::Interface::vtable(self).GetFilterCount)(windows_core::Interface::as_raw(self), pdwfiltercount).ok() } pub unsafe fn GetFilterInfo(&self, dwfilterindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterInfo)(windows_core::Interface::as_raw(self), dwfilterindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilterCombinationType(&self, pfiltercombinationtype: *mut FILTER_COMBINATION_TYPE) -> windows_core::Result<()> { @@ -220,33 +220,33 @@ windows_core::imp::define_interface!(IConstraintConflict, IConstraintConflict_Vt impl std::ops::Deref for IConstraintConflict { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConstraintConflict, windows_core::IUnknown); impl IConstraintConflict { pub unsafe fn GetDestinationProviderConflictingChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDestinationProviderConflictingChange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceProviderConflictingChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceProviderConflictingChange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDestinationProviderOriginalChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDestinationProviderOriginalChange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDestinationProviderConflictingData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDestinationProviderConflictingData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceProviderConflictingData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceProviderConflictingData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDestinationProviderOriginalData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDestinationProviderOriginalData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConstraintResolveActionForChange(&self, pconstraintresolveaction: *mut SYNC_CONSTRAINT_RESOLVE_ACTION) -> windows_core::Result<()> { @@ -294,7 +294,7 @@ windows_core::imp::define_interface!(IConstructReplicaKeyMap, IConstructReplicaK impl std::ops::Deref for IConstructReplicaKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConstructReplicaKeyMap, windows_core::IUnknown); @@ -312,7 +312,7 @@ windows_core::imp::define_interface!(ICoreFragment, ICoreFragment_Vtbl, 0x613b2a impl std::ops::Deref for ICoreFragment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreFragment, windows_core::IUnknown); @@ -346,7 +346,7 @@ windows_core::imp::define_interface!(ICoreFragmentInspector, ICoreFragmentInspec impl std::ops::Deref for ICoreFragmentInspector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoreFragmentInspector, windows_core::IUnknown); @@ -368,13 +368,13 @@ windows_core::imp::define_interface!(ICustomFilterInfo, ICustomFilterInfo_Vtbl, impl std::ops::Deref for ICustomFilterInfo { type Target = ISyncFilterInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICustomFilterInfo, windows_core::IUnknown, ISyncFilterInfo); impl ICustomFilterInfo { pub unsafe fn GetSyncFilter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -387,7 +387,7 @@ windows_core::imp::define_interface!(IDataRetrieverCallback, IDataRetrieverCallb impl std::ops::Deref for IDataRetrieverCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataRetrieverCallback, windows_core::IUnknown); @@ -412,7 +412,7 @@ windows_core::imp::define_interface!(IEnumChangeUnitExceptions, IEnumChangeUnitE impl std::ops::Deref for IEnumChangeUnitExceptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumChangeUnitExceptions, windows_core::IUnknown); @@ -427,7 +427,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -443,7 +443,7 @@ windows_core::imp::define_interface!(IEnumClockVector, IEnumClockVector_Vtbl, 0x impl std::ops::Deref for IEnumClockVector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumClockVector, windows_core::IUnknown); @@ -458,7 +458,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -474,7 +474,7 @@ windows_core::imp::define_interface!(IEnumFeedClockVector, IEnumFeedClockVector_ impl std::ops::Deref for IEnumFeedClockVector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumFeedClockVector, windows_core::IUnknown); @@ -489,7 +489,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -505,7 +505,7 @@ windows_core::imp::define_interface!(IEnumItemIds, IEnumItemIds_Vtbl, 0x43aa3f61 impl std::ops::Deref for IEnumItemIds { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumItemIds, windows_core::IUnknown); @@ -523,7 +523,7 @@ windows_core::imp::define_interface!(IEnumRangeExceptions, IEnumRangeExceptions_ impl std::ops::Deref for IEnumRangeExceptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumRangeExceptions, windows_core::IUnknown); @@ -538,7 +538,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -554,7 +554,7 @@ windows_core::imp::define_interface!(IEnumSingleItemExceptions, IEnumSingleItemE impl std::ops::Deref for IEnumSingleItemExceptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSingleItemExceptions, windows_core::IUnknown); @@ -569,7 +569,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -585,7 +585,7 @@ windows_core::imp::define_interface!(IEnumSyncChangeUnits, IEnumSyncChangeUnits_ impl std::ops::Deref for IEnumSyncChangeUnits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSyncChangeUnits, windows_core::IUnknown); @@ -600,7 +600,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -616,7 +616,7 @@ windows_core::imp::define_interface!(IEnumSyncChanges, IEnumSyncChanges_Vtbl, 0x impl std::ops::Deref for IEnumSyncChanges { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSyncChanges, windows_core::IUnknown); @@ -631,7 +631,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -647,7 +647,7 @@ windows_core::imp::define_interface!(IEnumSyncProviderConfigUIInfos, IEnumSyncPr impl std::ops::Deref for IEnumSyncProviderConfigUIInfos { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSyncProviderConfigUIInfos, windows_core::IUnknown); @@ -663,7 +663,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -682,7 +682,7 @@ windows_core::imp::define_interface!(IEnumSyncProviderInfos, IEnumSyncProviderIn impl std::ops::Deref for IEnumSyncProviderInfos { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSyncProviderInfos, windows_core::IUnknown); @@ -698,7 +698,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -717,7 +717,7 @@ windows_core::imp::define_interface!(IFeedClockVector, IFeedClockVector_Vtbl, 0x impl std::ops::Deref for IFeedClockVector { type Target = IClockVector; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFeedClockVector, windows_core::IUnknown, IClockVector); @@ -739,7 +739,7 @@ windows_core::imp::define_interface!(IFeedClockVectorElement, IFeedClockVectorEl impl std::ops::Deref for IFeedClockVectorElement { type Target = IClockVectorElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFeedClockVectorElement, windows_core::IUnknown, IClockVectorElement); @@ -761,7 +761,7 @@ windows_core::imp::define_interface!(IFilterKeyMap, IFilterKeyMap_Vtbl, 0xca1696 impl std::ops::Deref for IFilterKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterKeyMap, windows_core::IUnknown); @@ -776,7 +776,7 @@ impl IFilterKeyMap { (windows_core::Interface::vtable(self).AddFilter)(windows_core::Interface::as_raw(self), pisyncfilter.param().abi(), pdwfilterkey).ok() } pub unsafe fn GetFilter(&self, dwfilterkey: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilter)(windows_core::Interface::as_raw(self), dwfilterkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Serialize(&self, pbfilterkeymap: *mut u8, pcbfilterkeymap: *mut u32) -> windows_core::Result<()> { @@ -795,7 +795,7 @@ windows_core::imp::define_interface!(IFilterRequestCallback, IFilterRequestCallb impl std::ops::Deref for IFilterRequestCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterRequestCallback, windows_core::IUnknown); @@ -816,7 +816,7 @@ windows_core::imp::define_interface!(IFilterTrackingProvider, IFilterTrackingPro impl std::ops::Deref for IFilterTrackingProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterTrackingProvider, windows_core::IUnknown); @@ -844,7 +844,7 @@ windows_core::imp::define_interface!(IFilterTrackingRequestCallback, IFilterTrac impl std::ops::Deref for IFilterTrackingRequestCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterTrackingRequestCallback, windows_core::IUnknown); @@ -865,7 +865,7 @@ windows_core::imp::define_interface!(IFilterTrackingSyncChangeBuilder, IFilterTr impl std::ops::Deref for IFilterTrackingSyncChangeBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFilterTrackingSyncChangeBuilder, windows_core::IUnknown); @@ -887,7 +887,7 @@ windows_core::imp::define_interface!(IForgottenKnowledge, IForgottenKnowledge_Vt impl std::ops::Deref for IForgottenKnowledge { type Target = ISyncKnowledge; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IForgottenKnowledge, windows_core::IUnknown, ISyncKnowledge); @@ -908,7 +908,7 @@ windows_core::imp::define_interface!(IKnowledgeSyncProvider, IKnowledgeSyncProvi impl std::ops::Deref for IKnowledgeSyncProvider { type Target = ISyncProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKnowledgeSyncProvider, windows_core::IUnknown, ISyncProvider); @@ -972,13 +972,13 @@ windows_core::imp::define_interface!(ILoadChangeContext, ILoadChangeContext_Vtbl impl std::ops::Deref for ILoadChangeContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILoadChangeContext, windows_core::IUnknown); impl ILoadChangeContext { pub unsafe fn GetSyncChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncChange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRecoverableErrorOnChange(&self, hrerror: windows_core::HRESULT, perrordata: P0) -> windows_core::Result<()> @@ -1006,7 +1006,7 @@ windows_core::imp::define_interface!(IProviderConverter, IProviderConverter_Vtbl impl std::ops::Deref for IProviderConverter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProviderConverter, windows_core::IUnknown); @@ -1027,7 +1027,7 @@ windows_core::imp::define_interface!(IRangeException, IRangeException_Vtbl, 0x75 impl std::ops::Deref for IRangeException { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRangeException, windows_core::IUnknown); @@ -1053,7 +1053,7 @@ windows_core::imp::define_interface!(IRecoverableError, IRecoverableError_Vtbl, impl std::ops::Deref for IRecoverableError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRecoverableError, windows_core::IUnknown); @@ -1065,7 +1065,7 @@ impl IRecoverableError { (windows_core::Interface::vtable(self).GetProvider)(windows_core::Interface::as_raw(self), pproviderrole).ok() } pub unsafe fn GetChangeWithRecoverableError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChangeWithRecoverableError)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRecoverableErrorDataForChange(&self, phrerror: *mut windows_core::HRESULT, pperrordata: *mut Option) -> windows_core::Result<()> { @@ -1091,7 +1091,7 @@ windows_core::imp::define_interface!(IRecoverableErrorData, IRecoverableErrorDat impl std::ops::Deref for IRecoverableErrorData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRecoverableErrorData, windows_core::IUnknown); @@ -1127,7 +1127,7 @@ windows_core::imp::define_interface!(IRegisteredSyncProvider, IRegisteredSyncPro impl std::ops::Deref for IRegisteredSyncProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRegisteredSyncProvider, windows_core::IUnknown); @@ -1140,7 +1140,7 @@ impl IRegisteredSyncProvider { (windows_core::Interface::vtable(self).Init)(windows_core::Interface::as_raw(self), pguidinstanceid, pguidcontenttype, pcontextpropertystore.param().abi()).ok() } pub unsafe fn GetInstanceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstanceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -1161,7 +1161,7 @@ windows_core::imp::define_interface!(IReplicaKeyMap, IReplicaKeyMap_Vtbl, 0x2209 impl std::ops::Deref for IReplicaKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IReplicaKeyMap, windows_core::IUnknown); @@ -1187,7 +1187,7 @@ windows_core::imp::define_interface!(IRequestFilteredSync, IRequestFilteredSync_ impl std::ops::Deref for IRequestFilteredSync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRequestFilteredSync, windows_core::IUnknown); @@ -1208,7 +1208,7 @@ windows_core::imp::define_interface!(ISingleItemException, ISingleItemException_ impl std::ops::Deref for ISingleItemException { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISingleItemException, windows_core::IUnknown); @@ -1230,7 +1230,7 @@ windows_core::imp::define_interface!(ISupportFilteredSync, ISupportFilteredSync_ impl std::ops::Deref for ISupportFilteredSync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISupportFilteredSync, windows_core::IUnknown); @@ -1251,7 +1251,7 @@ windows_core::imp::define_interface!(ISupportLastWriteTime, ISupportLastWriteTim impl std::ops::Deref for ISupportLastWriteTime { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISupportLastWriteTime, windows_core::IUnknown); @@ -1273,7 +1273,7 @@ windows_core::imp::define_interface!(ISyncCallback, ISyncCallback_Vtbl, 0x059979 impl std::ops::Deref for ISyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncCallback, windows_core::IUnknown); @@ -1316,7 +1316,7 @@ windows_core::imp::define_interface!(ISyncCallback2, ISyncCallback2_Vtbl, 0x47ce impl std::ops::Deref for ISyncCallback2 { type Target = ISyncCallback; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncCallback2, windows_core::IUnknown, ISyncCallback); @@ -1338,7 +1338,7 @@ windows_core::imp::define_interface!(ISyncChange, ISyncChange_Vtbl, 0xa1952beb_0 impl std::ops::Deref for ISyncChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChange, windows_core::IUnknown); @@ -1362,15 +1362,15 @@ impl ISyncChange { (windows_core::Interface::vtable(self).GetWorkEstimate)(windows_core::Interface::as_raw(self), pdwwork).ok() } pub unsafe fn GetChangeUnits(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChangeUnits)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMadeWithKnowledge(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMadeWithKnowledge)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLearnedKnowledge(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedKnowledge)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetWorkEstimate(&self, dwwork: u32) -> windows_core::Result<()> { @@ -1395,7 +1395,7 @@ windows_core::imp::define_interface!(ISyncChangeBatch, ISyncChangeBatch_Vtbl, 0x impl std::ops::Deref for ISyncChangeBatch { type Target = ISyncChangeBatchBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeBatch, windows_core::IUnknown, ISyncChangeBatchBase); @@ -1414,7 +1414,7 @@ impl ISyncChangeBatch { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddLoggedConflict)(windows_core::Interface::as_raw(self), pbownerreplicaid, pbitemid, pchangeversion, pcreationversion, dwflags, dwworkforchange, pconflictknowledge.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1429,20 +1429,20 @@ windows_core::imp::define_interface!(ISyncChangeBatch2, ISyncChangeBatch2_Vtbl, impl std::ops::Deref for ISyncChangeBatch2 { type Target = ISyncChangeBatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeBatch2, windows_core::IUnknown, ISyncChangeBatchBase, ISyncChangeBatch); impl ISyncChangeBatch2 { 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddMergeTombstoneMetadataToGroup)(windows_core::Interface::as_raw(self), pbownerreplicaid, pbwinneritemid, pbitemid, pchangeversion, pcreationversion, dwworkforchange, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddMergeTombstoneLoggedConflict(&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: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddMergeTombstoneLoggedConflict)(windows_core::Interface::as_raw(self), pbownerreplicaid, pbwinneritemid, pbitemid, pchangeversion, pcreationversion, dwworkforchange, pconflictknowledge.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1456,17 +1456,17 @@ windows_core::imp::define_interface!(ISyncChangeBatchAdvanced, ISyncChangeBatchA impl std::ops::Deref for ISyncChangeBatchAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeBatchAdvanced, windows_core::IUnknown); impl ISyncChangeBatchAdvanced { pub unsafe fn GetFilterInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ConvertFullEnumerationChangeBatchToRegularChangeBatch(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConvertFullEnumerationChangeBatchToRegularChangeBatch)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUpperBoundItemId(&self, pbitemid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -1488,13 +1488,13 @@ windows_core::imp::define_interface!(ISyncChangeBatchBase, ISyncChangeBatchBase_ impl std::ops::Deref for ISyncChangeBatchBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeBatchBase, windows_core::IUnknown); impl ISyncChangeBatchBase { pub unsafe fn GetChangeEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChangeEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIsLastBatch(&self, pflastbatch: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -1516,19 +1516,19 @@ impl ISyncChangeBatchBase { (windows_core::Interface::vtable(self).EndOrderedGroup)(windows_core::Interface::as_raw(self), pbupperbound, pmadewithknowledge.param().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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddItemMetadataToGroup)(windows_core::Interface::as_raw(self), pbownerreplicaid, pbitemid, pchangeversion, pcreationversion, dwflags, dwworkforchange, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLearnedKnowledge(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedKnowledge)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPrerequisiteKnowledge(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrerequisiteKnowledge)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSourceForgottenKnowledge(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceForgottenKnowledge)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLastBatch(&self) -> windows_core::Result<()> { @@ -1566,7 +1566,7 @@ windows_core::imp::define_interface!(ISyncChangeBatchBase2, ISyncChangeBatchBase impl std::ops::Deref for ISyncChangeBatchBase2 { type Target = ISyncChangeBatchBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeBatchBase2, windows_core::IUnknown, ISyncChangeBatchBase); @@ -1584,13 +1584,13 @@ windows_core::imp::define_interface!(ISyncChangeBatchWithFilterKeyMap, ISyncChan impl std::ops::Deref for ISyncChangeBatchWithFilterKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeBatchWithFilterKeyMap, windows_core::IUnknown); impl ISyncChangeBatchWithFilterKeyMap { pub unsafe fn GetFilterKeyMap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterKeyMap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFilterKeyMap(&self, pifilterkeymap: P0) -> windows_core::Result<()> @@ -1610,7 +1610,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteredReplicaLearnedKnowledge)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLearnedFilterForgottenKnowledge(&self, pdestinationknowledge: P0, pnewmoveins: P1, dwfilterkey: u32) -> windows_core::Result @@ -1618,7 +1618,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedFilterForgottenKnowledge)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), dwfilterkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilteredReplicaLearnedForgottenKnowledge(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> windows_core::Result @@ -1626,7 +1626,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteredReplicaLearnedForgottenKnowledge)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> windows_core::Result @@ -1634,7 +1634,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete(&self, pdestinationknowledge: P0, pnewmoveins: P1, dwfilterkey: u32) -> windows_core::Result @@ -1642,7 +1642,7 @@ impl ISyncChangeBatchWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), dwfilterkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1662,7 +1662,7 @@ windows_core::imp::define_interface!(ISyncChangeBatchWithPrerequisite, ISyncChan impl std::ops::Deref for ISyncChangeBatchWithPrerequisite { type Target = ISyncChangeBatchBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeBatchWithPrerequisite, windows_core::IUnknown, ISyncChangeBatchBase); @@ -1677,11 +1677,11 @@ impl ISyncChangeBatchWithPrerequisite { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedKnowledgeWithPrerequisite)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLearnedForgottenKnowledge(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedForgottenKnowledge)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1696,7 +1696,7 @@ windows_core::imp::define_interface!(ISyncChangeBuilder, ISyncChangeBuilder_Vtbl impl std::ops::Deref for ISyncChangeBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeBuilder, windows_core::IUnknown); @@ -1714,13 +1714,13 @@ windows_core::imp::define_interface!(ISyncChangeUnit, ISyncChangeUnit_Vtbl, 0x60 impl std::ops::Deref for ISyncChangeUnit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeUnit, windows_core::IUnknown); impl ISyncChangeUnit { pub unsafe fn GetItemChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemChange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetChangeUnitId(&self, pbchangeunitid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -1741,7 +1741,7 @@ windows_core::imp::define_interface!(ISyncChangeWithFilterKeyMap, ISyncChangeWit impl std::ops::Deref for ISyncChangeWithFilterKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeWithFilterKeyMap, windows_core::IUnknown); @@ -1756,7 +1756,7 @@ impl ISyncChangeWithFilterKeyMap { (windows_core::Interface::vtable(self).GetAllChangeUnitsPresentFlag)(windows_core::Interface::as_raw(self), pfallchangeunitspresent).ok() } pub unsafe fn GetFilterForgottenKnowledge(&self, dwfilterkey: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilterForgottenKnowledge)(windows_core::Interface::as_raw(self), dwfilterkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilteredReplicaLearnedKnowledge(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> windows_core::Result @@ -1764,7 +1764,7 @@ impl ISyncChangeWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteredReplicaLearnedKnowledge)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLearnedFilterForgottenKnowledge(&self, pdestinationknowledge: P0, pnewmoveins: P1, dwfilterkey: u32) -> windows_core::Result @@ -1772,7 +1772,7 @@ impl ISyncChangeWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedFilterForgottenKnowledge)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), dwfilterkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilteredReplicaLearnedForgottenKnowledge(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> windows_core::Result @@ -1780,7 +1780,7 @@ impl ISyncChangeWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteredReplicaLearnedForgottenKnowledge)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete(&self, pdestinationknowledge: P0, pnewmoveins: P1) -> windows_core::Result @@ -1788,7 +1788,7 @@ impl ISyncChangeWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete(&self, pdestinationknowledge: P0, pnewmoveins: P1, dwfilterkey: u32) -> windows_core::Result @@ -1796,7 +1796,7 @@ impl ISyncChangeWithFilterKeyMap { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), pnewmoveins.param().abi(), dwfilterkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1817,20 +1817,20 @@ windows_core::imp::define_interface!(ISyncChangeWithPrerequisite, ISyncChangeWit impl std::ops::Deref for ISyncChangeWithPrerequisite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncChangeWithPrerequisite, windows_core::IUnknown); impl ISyncChangeWithPrerequisite { pub unsafe fn GetPrerequisiteKnowledge(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPrerequisiteKnowledge)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLearnedKnowledgeWithPrerequisite(&self, pdestinationknowledge: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedKnowledgeWithPrerequisite)(windows_core::Interface::as_raw(self), pdestinationknowledge.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1844,7 +1844,7 @@ windows_core::imp::define_interface!(ISyncConstraintCallback, ISyncConstraintCal impl std::ops::Deref for ISyncConstraintCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncConstraintCallback, windows_core::IUnknown); @@ -1865,7 +1865,7 @@ windows_core::imp::define_interface!(ISyncDataConverter, ISyncDataConverter_Vtbl impl std::ops::Deref for ISyncDataConverter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncDataConverter, windows_core::IUnknown); @@ -1875,7 +1875,7 @@ impl ISyncDataConverter { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConvertDataRetrieverFromProviderFormat)(windows_core::Interface::as_raw(self), punkdataretrieverin.param().abi(), penumsyncchanges.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ConvertDataRetrieverToProviderFormat(&self, punkdataretrieverin: P0, penumsyncchanges: P1) -> windows_core::Result @@ -1883,7 +1883,7 @@ impl ISyncDataConverter { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConvertDataRetrieverToProviderFormat)(windows_core::Interface::as_raw(self), punkdataretrieverin.param().abi(), penumsyncchanges.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ConvertDataFromProviderFormat(&self, pdatacontext: P0, punkdatain: P1) -> windows_core::Result @@ -1891,7 +1891,7 @@ impl ISyncDataConverter { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConvertDataFromProviderFormat)(windows_core::Interface::as_raw(self), pdatacontext.param().abi(), punkdatain.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ConvertDataToProviderFormat(&self, pdatacontext: P0, punkdataout: P1) -> windows_core::Result @@ -1899,7 +1899,7 @@ impl ISyncDataConverter { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConvertDataToProviderFormat)(windows_core::Interface::as_raw(self), pdatacontext.param().abi(), punkdataout.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1915,7 +1915,7 @@ windows_core::imp::define_interface!(ISyncFilter, ISyncFilter_Vtbl, 0x087a3f15_0 impl std::ops::Deref for ISyncFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncFilter, windows_core::IUnknown); @@ -1940,13 +1940,13 @@ windows_core::imp::define_interface!(ISyncFilterDeserializer, ISyncFilterDeseria impl std::ops::Deref for ISyncFilterDeserializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncFilterDeserializer, windows_core::IUnknown); impl ISyncFilterDeserializer { pub unsafe fn DeserializeSyncFilter(&self, pbsyncfilter: *const u8, dwcbsyncfilter: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeserializeSyncFilter)(windows_core::Interface::as_raw(self), pbsyncfilter, dwcbsyncfilter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1959,7 +1959,7 @@ windows_core::imp::define_interface!(ISyncFilterInfo, ISyncFilterInfo_Vtbl, 0x79 impl std::ops::Deref for ISyncFilterInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncFilterInfo, windows_core::IUnknown); @@ -1977,7 +1977,7 @@ windows_core::imp::define_interface!(ISyncFilterInfo2, ISyncFilterInfo2_Vtbl, 0x impl std::ops::Deref for ISyncFilterInfo2 { type Target = ISyncFilterInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncFilterInfo2, windows_core::IUnknown, ISyncFilterInfo); @@ -1995,17 +1995,17 @@ windows_core::imp::define_interface!(ISyncFullEnumerationChange, ISyncFullEnumer impl std::ops::Deref for ISyncFullEnumerationChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncFullEnumerationChange, windows_core::IUnknown); impl ISyncFullEnumerationChange { pub unsafe fn GetLearnedKnowledgeAfterRecoveryComplete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedKnowledgeAfterRecoveryComplete)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLearnedForgottenKnowledge(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedForgottenKnowledge)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2019,13 +2019,13 @@ windows_core::imp::define_interface!(ISyncFullEnumerationChangeBatch, ISyncFullE impl std::ops::Deref for ISyncFullEnumerationChangeBatch { type Target = ISyncChangeBatchBase; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncFullEnumerationChangeBatch, windows_core::IUnknown, ISyncChangeBatchBase); impl ISyncFullEnumerationChangeBatch { pub unsafe fn GetLearnedKnowledgeAfterRecoveryComplete(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLearnedKnowledgeAfterRecoveryComplete)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetClosedLowerBoundItemId(&self, pbclosedlowerbounditemid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -2046,13 +2046,13 @@ windows_core::imp::define_interface!(ISyncFullEnumerationChangeBatch2, ISyncFull impl std::ops::Deref for ISyncFullEnumerationChangeBatch2 { type Target = ISyncFullEnumerationChangeBatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncFullEnumerationChangeBatch2, windows_core::IUnknown, ISyncChangeBatchBase, ISyncFullEnumerationChangeBatch); impl ISyncFullEnumerationChangeBatch2 { 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddMergeTombstoneMetadataToGroup)(windows_core::Interface::as_raw(self), pbownerreplicaid, pbwinneritemid, pbitemid, pchangeversion, pcreationversion, dwworkforchange, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2065,7 +2065,7 @@ windows_core::imp::define_interface!(ISyncKnowledge, ISyncKnowledge_Vtbl, 0x615b impl std::ops::Deref for ISyncKnowledge { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncKnowledge, windows_core::IUnknown); @@ -2092,11 +2092,11 @@ impl ISyncKnowledge { (windows_core::Interface::vtable(self).GetScopeVector)(windows_core::Interface::as_raw(self), riid, ppunk).ok() } pub unsafe fn GetReplicaKeyMap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReplicaKeyMap)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ConvertVersion(&self, pknowledgein: P0, pbcurrentownerid: *const u8, pversionin: *const SYNC_VERSION, pbnewownerid: *mut u8, pcbidsize: *mut u32, pversionout: *mut SYNC_VERSION) -> windows_core::Result<()> @@ -2109,7 +2109,7 @@ impl ISyncKnowledge { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MapRemoteToLocal)(windows_core::Interface::as_raw(self), premoteknowledge.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Union(&self, pknowledge: P0) -> windows_core::Result<()> @@ -2119,15 +2119,15 @@ impl ISyncKnowledge { (windows_core::Interface::vtable(self).Union)(windows_core::Interface::as_raw(self), pknowledge.param().abi()).ok() } pub unsafe fn ProjectOntoItem(&self, pbitemid: *const u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProjectOntoItem)(windows_core::Interface::as_raw(self), pbitemid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProjectOntoChangeUnit(&self, pbitemid: *const u8, pbchangeunitid: *const u8) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProjectOntoChangeUnit)(windows_core::Interface::as_raw(self), pbitemid, pbchangeunitid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProjectOntoRange(&self, psrngsyncrange: *const SYNC_RANGE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProjectOntoRange)(windows_core::Interface::as_raw(self), psrngsyncrange, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExcludeItem(&self, pbitemid: *const u8) -> windows_core::Result<()> { @@ -2196,7 +2196,7 @@ windows_core::imp::define_interface!(ISyncKnowledge2, ISyncKnowledge2_Vtbl, 0xed impl std::ops::Deref for ISyncKnowledge2 { type Target = ISyncKnowledge; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncKnowledge2, windows_core::IUnknown, ISyncKnowledge); @@ -2205,7 +2205,7 @@ impl ISyncKnowledge2 { (windows_core::Interface::vtable(self).GetIdParameters)(windows_core::Interface::as_raw(self), pidparameters).ok() } pub unsafe fn ProjectOntoColumnSet(&self, ppcolumns: *const *const u8, count: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProjectOntoColumnSet)(windows_core::Interface::as_raw(self), ppcolumns, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SerializeWithOptions(&self, targetformatversion: SYNC_SERIALIZATION_VERSION, dwflags: u32, pbbuffer: *mut u8, pdwserializedsize: *mut u32) -> windows_core::Result<()> { @@ -2243,14 +2243,14 @@ impl ISyncKnowledge2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProjectOntoKnowledgeWithPrerequisite)(windows_core::Interface::as_raw(self), pprerequisiteknowledge.param().abi(), ptemplateknowledge.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Complement(&self, psyncknowledge: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Complement)(windows_core::Interface::as_raw(self), psyncknowledge.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IntersectsWithKnowledge(&self, psyncknowledge: P0) -> windows_core::Result<()> @@ -2260,7 +2260,7 @@ impl ISyncKnowledge2 { (windows_core::Interface::vtable(self).IntersectsWithKnowledge)(windows_core::Interface::as_raw(self), psyncknowledge.param().abi()).ok() } pub unsafe fn GetKnowledgeCookie(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKnowledgeCookie)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CompareToKnowledgeCookie(&self, pknowledgecookie: P0, presult: *mut KNOWLEDGE_COOKIE_COMPARISON_RESULT) -> windows_core::Result<()> @@ -2292,7 +2292,7 @@ windows_core::imp::define_interface!(ISyncMergeTombstoneChange, ISyncMergeTombst impl std::ops::Deref for ISyncMergeTombstoneChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMergeTombstoneChange, windows_core::IUnknown); @@ -2310,7 +2310,7 @@ windows_core::imp::define_interface!(ISyncProvider, ISyncProvider_Vtbl, 0x8f6570 impl std::ops::Deref for ISyncProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncProvider, windows_core::IUnknown); @@ -2328,7 +2328,7 @@ windows_core::imp::define_interface!(ISyncProviderConfigUI, ISyncProviderConfigU impl std::ops::Deref for ISyncProviderConfigUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncProviderConfigUI, windows_core::IUnknown); @@ -2342,7 +2342,7 @@ impl ISyncProviderConfigUI { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetRegisteredProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegisteredProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2351,7 +2351,7 @@ impl ISyncProviderConfigUI { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAndRegisterNewSyncProvider)(windows_core::Interface::as_raw(self), hwndparent.param().abi(), punkcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2390,7 +2390,7 @@ windows_core::imp::define_interface!(ISyncProviderConfigUIInfo, ISyncProviderCon impl std::ops::Deref for ISyncProviderConfigUIInfo { type Target = super::super::UI::Shell::PropertiesSystem::IPropertyStore; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2398,7 +2398,7 @@ windows_core::imp::interface_hierarchy!(ISyncProviderConfigUIInfo, windows_core: #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl ISyncProviderConfigUIInfo { pub unsafe fn GetSyncProviderConfigUI(&self, dwclscontext: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncProviderConfigUI)(windows_core::Interface::as_raw(self), dwclscontext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2414,7 +2414,7 @@ windows_core::imp::define_interface!(ISyncProviderInfo, ISyncProviderInfo_Vtbl, impl std::ops::Deref for ISyncProviderInfo { type Target = super::super::UI::Shell::PropertiesSystem::IPropertyStore; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2422,7 +2422,7 @@ windows_core::imp::interface_hierarchy!(ISyncProviderInfo, windows_core::IUnknow #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl ISyncProviderInfo { pub unsafe fn GetSyncProvider(&self, dwclscontext: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncProvider)(windows_core::Interface::as_raw(self), dwclscontext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2436,26 +2436,26 @@ windows_core::imp::define_interface!(ISyncProviderRegistration, ISyncProviderReg impl std::ops::Deref for ISyncProviderRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncProviderRegistration, windows_core::IUnknown); impl ISyncProviderRegistration { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn CreateSyncProviderConfigUIRegistrationInstance(&self, pconfiguiconfig: *const SyncProviderConfigUIConfiguration) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSyncProviderConfigUIRegistrationInstance)(windows_core::Interface::as_raw(self), pconfiguiconfig, &mut result__).and_then(|| windows_core::Type::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), pguidinstanceid).ok() } pub unsafe fn EnumerateSyncProviderConfigUIs(&self, pguidcontenttype: Option<*const windows_core::GUID>, dwsupportedarchitecture: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateSyncProviderConfigUIs)(windows_core::Interface::as_raw(self), core::mem::transmute(pguidcontenttype.unwrap_or(std::ptr::null())), dwsupportedarchitecture, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn CreateSyncProviderRegistrationInstance(&self, pproviderconfiguration: *const SyncProviderConfiguration) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSyncProviderRegistrationInstance)(windows_core::Interface::as_raw(self), pproviderconfiguration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnregisterSyncProvider(&self, pguidinstanceid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -2463,33 +2463,33 @@ impl ISyncProviderRegistration { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetSyncProviderConfigUIInfoforProvider(&self, pguidproviderinstanceid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncProviderConfigUIInfoforProvider)(windows_core::Interface::as_raw(self), pguidproviderinstanceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumerateSyncProviders(&self, pguidcontenttype: Option<*const windows_core::GUID>, dwstateflagstofiltermask: u32, dwstateflagstofilter: u32, refproviderclsid: *const windows_core::GUID, dwsupportedarchitecture: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumerateSyncProviders)(windows_core::Interface::as_raw(self), core::mem::transmute(pguidcontenttype.unwrap_or(std::ptr::null())), dwstateflagstofiltermask, dwstateflagstofilter, refproviderclsid, dwsupportedarchitecture, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetSyncProviderInfo(&self, pguidinstanceid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncProviderInfo)(windows_core::Interface::as_raw(self), pguidinstanceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSyncProviderFromInstanceId(&self, pguidinstanceid: *const windows_core::GUID, dwclscontext: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncProviderFromInstanceId)(windows_core::Interface::as_raw(self), pguidinstanceid, dwclscontext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetSyncProviderConfigUIInfo(&self, pguidinstanceid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncProviderConfigUIInfo)(windows_core::Interface::as_raw(self), pguidinstanceid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSyncProviderConfigUIFromInstanceId(&self, pguidinstanceid: *const windows_core::GUID, dwclscontext: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncProviderConfigUIFromInstanceId)(windows_core::Interface::as_raw(self), pguidinstanceid, dwclscontext, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSyncProviderState(&self, pguidinstanceid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncProviderState)(windows_core::Interface::as_raw(self), pguidinstanceid, &mut result__).map(|| result__) } pub unsafe fn SetSyncProviderState(&self, pguidinstanceid: *const windows_core::GUID, dwstateflagsmask: u32, dwstateflags: u32) -> windows_core::Result<()> { @@ -2508,7 +2508,7 @@ impl ISyncProviderRegistration { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChange)(windows_core::Interface::as_raw(self), hevent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2551,17 +2551,17 @@ windows_core::imp::define_interface!(ISyncRegistrationChange, ISyncRegistrationC impl std::ops::Deref for ISyncRegistrationChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncRegistrationChange, windows_core::IUnknown); impl ISyncRegistrationChange { pub unsafe fn GetEvent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEvent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInstanceId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstanceId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2575,13 +2575,13 @@ windows_core::imp::define_interface!(ISyncSessionExtendedErrorInfo, ISyncSession impl std::ops::Deref for ISyncSessionExtendedErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncSessionExtendedErrorInfo, windows_core::IUnknown); impl ISyncSessionExtendedErrorInfo { pub unsafe fn GetSyncProviderWithError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncProviderWithError)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2594,7 +2594,7 @@ windows_core::imp::define_interface!(ISyncSessionState, ISyncSessionState_Vtbl, impl std::ops::Deref for ISyncSessionState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncSessionState, windows_core::IUnknown); @@ -2636,7 +2636,7 @@ windows_core::imp::define_interface!(ISyncSessionState2, ISyncSessionState2_Vtbl impl std::ops::Deref for ISyncSessionState2 { type Target = ISyncSessionState; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncSessionState2, windows_core::IUnknown, ISyncSessionState); @@ -2661,7 +2661,7 @@ windows_core::imp::define_interface!(ISynchronousDataRetriever, ISynchronousData impl std::ops::Deref for ISynchronousDataRetriever { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISynchronousDataRetriever, windows_core::IUnknown); @@ -2673,7 +2673,7 @@ impl ISynchronousDataRetriever { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadChangeData)(windows_core::Interface::as_raw(self), ploadchangecontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs index 41a974deaa..7c3032848e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs @@ -134,7 +134,7 @@ impl windows_core::RuntimeName for ISWbemDateTime {} #[cfg(feature = "Win32_System_Com")] impl ISWbemDateTime_Vtbl { pub const fn new, Impl: ISWbemDateTime_Impl, const OFFSET: isize>() -> ISWbemDateTime_Vtbl { - unsafe extern "system" fn Value, Impl: ISWbemDateTime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ISWbemDateTime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemDateTime_Impl::Value(this) { @@ -145,7 +145,7 @@ impl ISWbemDateTime_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: ISWbemDateTime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ISWbemDateTime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemDateTime_Impl::SetValue(this, core::mem::transmute(&strvalue)).into() @@ -438,7 +438,7 @@ impl ISWbemDateTime_Vtbl { let this = (*this).get_impl(); ISWbemDateTime_Impl::SetVarDate(this, core::mem::transmute_copy(&dvardate), core::mem::transmute_copy(&bislocal)).into() } - unsafe extern "system" fn GetFileTime, Impl: ISWbemDateTime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bislocal: super::super::Foundation::VARIANT_BOOL, strfiletime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFileTime, Impl: ISWbemDateTime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bislocal: super::super::Foundation::VARIANT_BOOL, strfiletime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemDateTime_Impl::GetFileTime(this, core::mem::transmute_copy(&bislocal)) { @@ -449,7 +449,7 @@ impl ISWbemDateTime_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFileTime, Impl: ISWbemDateTime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfiletime: std::mem::MaybeUninit, bislocal: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetFileTime, Impl: ISWbemDateTime_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfiletime: core::mem::MaybeUninit, bislocal: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemDateTime_Impl::SetFileTime(this, core::mem::transmute(&strfiletime), core::mem::transmute_copy(&bislocal)).into() @@ -567,7 +567,7 @@ impl windows_core::RuntimeName for ISWbemLocator {} #[cfg(feature = "Win32_System_Com")] impl ISWbemLocator_Vtbl { pub const fn new, Impl: ISWbemLocator_Impl, const OFFSET: isize>() -> ISWbemLocator_Vtbl { - unsafe extern "system" fn ConnectServer, Impl: ISWbemLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserver: std::mem::MaybeUninit, strnamespace: std::mem::MaybeUninit, struser: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit, strlocale: std::mem::MaybeUninit, strauthority: std::mem::MaybeUninit, isecurityflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemservices: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectServer, Impl: ISWbemLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserver: core::mem::MaybeUninit, strnamespace: core::mem::MaybeUninit, struser: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit, strlocale: core::mem::MaybeUninit, strauthority: core::mem::MaybeUninit, isecurityflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemservices: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemLocator_Impl::ConnectServer(this, core::mem::transmute(&strserver), core::mem::transmute(&strnamespace), core::mem::transmute(&struser), core::mem::transmute(&strpassword), core::mem::transmute(&strlocale), core::mem::transmute(&strauthority), core::mem::transmute_copy(&isecurityflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -612,7 +612,7 @@ impl windows_core::RuntimeName for ISWbemMethod {} #[cfg(feature = "Win32_System_Com")] impl ISWbemMethod_Vtbl { pub const fn new, Impl: ISWbemMethod_Impl, const OFFSET: isize>() -> ISWbemMethod_Vtbl { - unsafe extern "system" fn Name, Impl: ISWbemMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISWbemMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemMethod_Impl::Name(this) { @@ -623,7 +623,7 @@ impl ISWbemMethod_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Origin, Impl: ISWbemMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strorigin: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Origin, Impl: ISWbemMethod_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strorigin: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemMethod_Impl::Origin(this) { @@ -702,7 +702,7 @@ impl ISWbemMethodSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: ISWbemMethodSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, iflags: i32, objwbemmethod: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: ISWbemMethodSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, iflags: i32, objwbemmethod: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemMethodSet_Impl::Item(this, core::mem::transmute(&strname), core::mem::transmute_copy(&iflags)) { @@ -746,7 +746,7 @@ impl windows_core::RuntimeName for ISWbemNamedValue {} #[cfg(feature = "Win32_System_Com")] impl ISWbemNamedValue_Vtbl { pub const fn new, Impl: ISWbemNamedValue_Impl, const OFFSET: isize>() -> ISWbemNamedValue_Vtbl { - unsafe extern "system" fn Value, Impl: ISWbemNamedValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ISWbemNamedValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemNamedValue_Impl::Value(this) { @@ -757,12 +757,12 @@ impl ISWbemNamedValue_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: ISWbemNamedValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ISWbemNamedValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemNamedValue_Impl::SetValue(this, core::mem::transmute_copy(&varvalue)).into() } - unsafe extern "system" fn Name, Impl: ISWbemNamedValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISWbemNamedValue_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemNamedValue_Impl::Name(this) { @@ -810,7 +810,7 @@ impl ISWbemNamedValueSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: ISWbemNamedValueSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: ISWbemNamedValueSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemNamedValueSet_Impl::Item(this, core::mem::transmute(&strname), core::mem::transmute_copy(&iflags)) { @@ -832,7 +832,7 @@ impl ISWbemNamedValueSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ISWbemNamedValueSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, varvalue: *const std::mem::MaybeUninit, iflags: i32, objwbemnamedvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ISWbemNamedValueSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, varvalue: *const core::mem::MaybeUninit, iflags: i32, objwbemnamedvalue: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemNamedValueSet_Impl::Add(this, core::mem::transmute(&strname), core::mem::transmute_copy(&varvalue), core::mem::transmute_copy(&iflags)) { @@ -843,7 +843,7 @@ impl ISWbemNamedValueSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: ISWbemNamedValueSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, iflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: ISWbemNamedValueSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, iflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemNamedValueSet_Impl::Remove(this, core::mem::transmute(&strname), core::mem::transmute_copy(&iflags)).into() @@ -970,7 +970,7 @@ impl ISWbemObject_Vtbl { let this = (*this).get_impl(); ISWbemObject_Impl::SubclassesAsync_(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() } - unsafe extern "system" fn Associators_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strassocclass: std::mem::MaybeUninit, strresultclass: std::mem::MaybeUninit, strresultrole: std::mem::MaybeUninit, strrole: std::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredassocqualifier: std::mem::MaybeUninit, strrequiredqualifier: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Associators_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strassocclass: core::mem::MaybeUninit, strresultclass: core::mem::MaybeUninit, strresultrole: core::mem::MaybeUninit, strrole: core::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredassocqualifier: core::mem::MaybeUninit, strrequiredqualifier: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObject_Impl::Associators_(this, core::mem::transmute(&strassocclass), core::mem::transmute(&strresultclass), core::mem::transmute(&strresultrole), core::mem::transmute(&strrole), core::mem::transmute_copy(&bclassesonly), core::mem::transmute_copy(&bschemaonly), core::mem::transmute(&strrequiredassocqualifier), core::mem::transmute(&strrequiredqualifier), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -984,14 +984,14 @@ impl ISWbemObject_Vtbl { unsafe extern "system" fn AssociatorsAsync_, Impl: ISWbemObject_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, - strassocclass: std::mem::MaybeUninit, - strresultclass: std::mem::MaybeUninit, - strresultrole: std::mem::MaybeUninit, - strrole: std::mem::MaybeUninit, + strassocclass: core::mem::MaybeUninit, + strresultclass: core::mem::MaybeUninit, + strresultrole: core::mem::MaybeUninit, + strrole: core::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, - strrequiredassocqualifier: std::mem::MaybeUninit, - strrequiredqualifier: std::mem::MaybeUninit, + strrequiredassocqualifier: core::mem::MaybeUninit, + strrequiredqualifier: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void, @@ -1015,7 +1015,7 @@ impl ISWbemObject_Vtbl { ) .into() } - unsafe extern "system" fn References_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresultclass: std::mem::MaybeUninit, strrole: std::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredqualifier: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn References_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strresultclass: core::mem::MaybeUninit, strrole: core::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredqualifier: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObject_Impl::References_(this, core::mem::transmute(&strresultclass), core::mem::transmute(&strrole), core::mem::transmute_copy(&bclassesonly), core::mem::transmute_copy(&bschemaonly), core::mem::transmute(&strrequiredqualifier), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -1026,12 +1026,12 @@ impl ISWbemObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReferencesAsync_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strresultclass: std::mem::MaybeUninit, strrole: std::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredqualifier: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReferencesAsync_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strresultclass: core::mem::MaybeUninit, strrole: core::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredqualifier: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObject_Impl::ReferencesAsync_(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strresultclass), core::mem::transmute(&strrole), core::mem::transmute_copy(&bclassesonly), core::mem::transmute_copy(&bschemaonly), core::mem::transmute(&strrequiredqualifier), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() } - unsafe extern "system" fn ExecMethod_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strmethodname: std::mem::MaybeUninit, objwbeminparameters: *mut core::ffi::c_void, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemoutparameters: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecMethod_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strmethodname: core::mem::MaybeUninit, objwbeminparameters: *mut core::ffi::c_void, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemoutparameters: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObject_Impl::ExecMethod_(this, core::mem::transmute(&strmethodname), windows_core::from_raw_borrowed(&objwbeminparameters), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -1042,7 +1042,7 @@ impl ISWbemObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExecMethodAsync_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strmethodname: std::mem::MaybeUninit, objwbeminparameters: *mut core::ffi::c_void, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecMethodAsync_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strmethodname: core::mem::MaybeUninit, objwbeminparameters: *mut core::ffi::c_void, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObject_Impl::ExecMethodAsync_(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strmethodname), windows_core::from_raw_borrowed(&objwbeminparameters), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() @@ -1058,7 +1058,7 @@ impl ISWbemObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetObjectText_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iflags: i32, strobjecttext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetObjectText_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iflags: i32, strobjecttext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObject_Impl::GetObjectText_(this, core::mem::transmute_copy(&iflags)) { @@ -1135,7 +1135,7 @@ impl ISWbemObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Derivation_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclassnamearray: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Derivation_, Impl: ISWbemObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclassnamearray: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObject_Impl::Derivation_(this) { @@ -1229,7 +1229,7 @@ impl ISWbemObjectEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetText_, Impl: ISWbemObjectEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, bstext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText_, Impl: ISWbemObjectEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, bstext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectEx_Impl::GetText_(this, core::mem::transmute_copy(&iobjecttextformat), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -1240,7 +1240,7 @@ impl ISWbemObjectEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFromText_, Impl: ISWbemObjectEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstext: std::mem::MaybeUninit, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SetFromText_, Impl: ISWbemObjectEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstext: core::mem::MaybeUninit, iobjecttextformat: WbemObjectTextFormatEnum, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObjectEx_Impl::SetFromText_(this, core::mem::transmute(&bstext), core::mem::transmute_copy(&iobjecttextformat), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)).into() @@ -1288,7 +1288,7 @@ impl windows_core::RuntimeName for ISWbemObjectPath {} #[cfg(feature = "Win32_System_Com")] impl ISWbemObjectPath_Vtbl { pub const fn new, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>() -> ISWbemObjectPath_Vtbl { - unsafe extern "system" fn Path, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Path(this) { @@ -1299,12 +1299,12 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPath, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPath, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObjectPath_Impl::SetPath(this, core::mem::transmute(&strpath)).into() } - unsafe extern "system" fn RelPath, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strrelpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RelPath, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strrelpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectPath_Impl::RelPath(this) { @@ -1315,12 +1315,12 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRelPath, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strrelpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRelPath, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strrelpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObjectPath_Impl::SetRelPath(this, core::mem::transmute(&strrelpath)).into() } - unsafe extern "system" fn Server, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserver: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Server, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserver: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Server(this) { @@ -1331,12 +1331,12 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetServer, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserver: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetServer, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strserver: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObjectPath_Impl::SetServer(this, core::mem::transmute(&strserver)).into() } - unsafe extern "system" fn Namespace, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespace: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Namespace, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespace: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Namespace(this) { @@ -1347,12 +1347,12 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNamespace, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespace: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNamespace, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespace: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObjectPath_Impl::SetNamespace(this, core::mem::transmute(&strnamespace)).into() } - unsafe extern "system" fn ParentNamespace, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strparentnamespace: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ParentNamespace, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strparentnamespace: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectPath_Impl::ParentNamespace(this) { @@ -1363,7 +1363,7 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectPath_Impl::DisplayName(this) { @@ -1374,12 +1374,12 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDisplayName, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdisplayname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDisplayName, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdisplayname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObjectPath_Impl::SetDisplayName(this, core::mem::transmute(&strdisplayname)).into() } - unsafe extern "system" fn Class, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Class, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Class(this) { @@ -1390,7 +1390,7 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetClass, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetClass, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObjectPath_Impl::SetClass(this, core::mem::transmute(&strclass)).into() @@ -1449,7 +1449,7 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Locale, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strlocale: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Locale, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strlocale: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Locale(this) { @@ -1460,12 +1460,12 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetLocale, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strlocale: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetLocale, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strlocale: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObjectPath_Impl::SetLocale(this, core::mem::transmute(&strlocale)).into() } - unsafe extern "system" fn Authority, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strauthority: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Authority, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strauthority: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectPath_Impl::Authority(this) { @@ -1476,7 +1476,7 @@ impl ISWbemObjectPath_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetAuthority, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strauthority: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetAuthority, Impl: ISWbemObjectPath_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strauthority: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemObjectPath_Impl::SetAuthority(this, core::mem::transmute(&strauthority)).into() @@ -1536,7 +1536,7 @@ impl ISWbemObjectSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: ISWbemObjectSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, iflags: i32, objwbemobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: ISWbemObjectSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, iflags: i32, objwbemobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemObjectSet_Impl::Item(this, core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&iflags)) { @@ -1622,7 +1622,7 @@ impl ISWbemPrivilege_Vtbl { let this = (*this).get_impl(); ISWbemPrivilege_Impl::SetIsEnabled(this, core::mem::transmute_copy(&bisenabled)).into() } - unsafe extern "system" fn Name, Impl: ISWbemPrivilege_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISWbemPrivilege_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemPrivilege_Impl::Name(this) { @@ -1633,7 +1633,7 @@ impl ISWbemPrivilege_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DisplayName, Impl: ISWbemPrivilege_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DisplayName, Impl: ISWbemPrivilege_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemPrivilege_Impl::DisplayName(this) { @@ -1737,7 +1737,7 @@ impl ISWbemPrivilegeSet_Vtbl { let this = (*this).get_impl(); ISWbemPrivilegeSet_Impl::DeleteAll(this).into() } - unsafe extern "system" fn AddAsString, Impl: ISWbemPrivilegeSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprivilege: std::mem::MaybeUninit, bisenabled: super::super::Foundation::VARIANT_BOOL, objwbemprivilege: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddAsString, Impl: ISWbemPrivilegeSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strprivilege: core::mem::MaybeUninit, bisenabled: super::super::Foundation::VARIANT_BOOL, objwbemprivilege: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemPrivilegeSet_Impl::AddAsString(this, core::mem::transmute(&strprivilege), core::mem::transmute_copy(&bisenabled)) { @@ -1779,7 +1779,7 @@ impl windows_core::RuntimeName for ISWbemProperty {} #[cfg(feature = "Win32_System_Com")] impl ISWbemProperty_Vtbl { pub const fn new, Impl: ISWbemProperty_Impl, const OFFSET: isize>() -> ISWbemProperty_Vtbl { - unsafe extern "system" fn Value, Impl: ISWbemProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ISWbemProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemProperty_Impl::Value(this) { @@ -1790,12 +1790,12 @@ impl ISWbemProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: ISWbemProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ISWbemProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemProperty_Impl::SetValue(this, core::mem::transmute_copy(&varvalue)).into() } - unsafe extern "system" fn Name, Impl: ISWbemProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISWbemProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemProperty_Impl::Name(this) { @@ -1817,7 +1817,7 @@ impl ISWbemProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Origin, Impl: ISWbemProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strorigin: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Origin, Impl: ISWbemProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strorigin: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemProperty_Impl::Origin(this) { @@ -1901,7 +1901,7 @@ impl ISWbemPropertySet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: ISWbemPropertySet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, iflags: i32, objwbemproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: ISWbemPropertySet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, iflags: i32, objwbemproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemPropertySet_Impl::Item(this, core::mem::transmute(&strname), core::mem::transmute_copy(&iflags)) { @@ -1923,7 +1923,7 @@ impl ISWbemPropertySet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ISWbemPropertySet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, icimtype: WbemCimtypeEnum, bisarray: super::super::Foundation::VARIANT_BOOL, iflags: i32, objwbemproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ISWbemPropertySet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, icimtype: WbemCimtypeEnum, bisarray: super::super::Foundation::VARIANT_BOOL, iflags: i32, objwbemproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemPropertySet_Impl::Add(this, core::mem::transmute(&strname), core::mem::transmute_copy(&icimtype), core::mem::transmute_copy(&bisarray), core::mem::transmute_copy(&iflags)) { @@ -1934,7 +1934,7 @@ impl ISWbemPropertySet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: ISWbemPropertySet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, iflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: ISWbemPropertySet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, iflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemPropertySet_Impl::Remove(this, core::mem::transmute(&strname), core::mem::transmute_copy(&iflags)).into() @@ -1971,7 +1971,7 @@ impl windows_core::RuntimeName for ISWbemQualifier {} #[cfg(feature = "Win32_System_Com")] impl ISWbemQualifier_Vtbl { pub const fn new, Impl: ISWbemQualifier_Impl, const OFFSET: isize>() -> ISWbemQualifier_Vtbl { - unsafe extern "system" fn Value, Impl: ISWbemQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ISWbemQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemQualifier_Impl::Value(this) { @@ -1982,12 +1982,12 @@ impl ISWbemQualifier_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: ISWbemQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ISWbemQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemQualifier_Impl::SetValue(this, core::mem::transmute_copy(&varvalue)).into() } - unsafe extern "system" fn Name, Impl: ISWbemQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ISWbemQualifier_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemQualifier_Impl::Name(this) { @@ -2111,7 +2111,7 @@ impl ISWbemQualifierSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: ISWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, iflags: i32, objwbemqualifier: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: ISWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, iflags: i32, objwbemqualifier: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemQualifierSet_Impl::Item(this, core::mem::transmute(&name), core::mem::transmute_copy(&iflags)) { @@ -2133,7 +2133,7 @@ impl ISWbemQualifierSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ISWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, varval: *const std::mem::MaybeUninit, bpropagatestosubclass: super::super::Foundation::VARIANT_BOOL, bpropagatestoinstance: super::super::Foundation::VARIANT_BOOL, bisoverridable: super::super::Foundation::VARIANT_BOOL, iflags: i32, objwbemqualifier: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ISWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, varval: *const core::mem::MaybeUninit, bpropagatestosubclass: super::super::Foundation::VARIANT_BOOL, bpropagatestoinstance: super::super::Foundation::VARIANT_BOOL, bisoverridable: super::super::Foundation::VARIANT_BOOL, iflags: i32, objwbemqualifier: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemQualifierSet_Impl::Add(this, core::mem::transmute(&strname), core::mem::transmute_copy(&varval), core::mem::transmute_copy(&bpropagatestosubclass), core::mem::transmute_copy(&bpropagatestoinstance), core::mem::transmute_copy(&bisoverridable), core::mem::transmute_copy(&iflags)) { @@ -2144,7 +2144,7 @@ impl ISWbemQualifierSet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: ISWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, iflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: ISWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, iflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemQualifierSet_Impl::Remove(this, core::mem::transmute(&strname), core::mem::transmute_copy(&iflags)).into() @@ -2301,7 +2301,7 @@ impl ISWbemRefresher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ISWbemRefresher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemservices: *mut core::ffi::c_void, bsinstancepath: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemrefreshableitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ISWbemRefresher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemservices: *mut core::ffi::c_void, bsinstancepath: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemrefreshableitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemRefresher_Impl::Add(this, windows_core::from_raw_borrowed(&objwbemservices), core::mem::transmute(&bsinstancepath), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -2312,7 +2312,7 @@ impl ISWbemRefresher_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddEnum, Impl: ISWbemRefresher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemservices: *mut core::ffi::c_void, bsclassname: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemrefreshableitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AddEnum, Impl: ISWbemRefresher_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemservices: *mut core::ffi::c_void, bsclassname: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemrefreshableitem: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemRefresher_Impl::AddEnum(this, windows_core::from_raw_borrowed(&objwbemservices), core::mem::transmute(&bsclassname), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -2468,7 +2468,7 @@ impl windows_core::RuntimeName for ISWbemServices {} #[cfg(feature = "Win32_System_Com")] impl ISWbemServices_Vtbl { pub const fn new, Impl: ISWbemServices_Impl, const OFFSET: isize>() -> ISWbemServices_Vtbl { - unsafe extern "system" fn Get, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Get, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobject: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemServices_Impl::Get(this, core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -2479,22 +2479,22 @@ impl ISWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemServices_Impl::GetAsync(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() } - unsafe extern "system" fn Delete, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Delete, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemServices_Impl::Delete(this, core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)).into() } - unsafe extern "system" fn DeleteAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemServices_Impl::DeleteAsync(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() } - unsafe extern "system" fn InstancesOf, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InstancesOf, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemServices_Impl::InstancesOf(this, core::mem::transmute(&strclass), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -2505,12 +2505,12 @@ impl ISWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InstancesOfAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strclass: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InstancesOfAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strclass: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemServices_Impl::InstancesOfAsync(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strclass), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() } - unsafe extern "system" fn SubclassesOf, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsuperclass: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SubclassesOf, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsuperclass: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemServices_Impl::SubclassesOf(this, core::mem::transmute(&strsuperclass), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -2521,12 +2521,12 @@ impl ISWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SubclassesOfAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strsuperclass: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SubclassesOfAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strsuperclass: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemServices_Impl::SubclassesOfAsync(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strsuperclass), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() } - unsafe extern "system" fn ExecQuery, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquery: std::mem::MaybeUninit, strquerylanguage: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecQuery, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquery: core::mem::MaybeUninit, strquerylanguage: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemServices_Impl::ExecQuery(this, core::mem::transmute(&strquery), core::mem::transmute(&strquerylanguage), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -2537,22 +2537,22 @@ impl ISWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExecQueryAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strquery: std::mem::MaybeUninit, strquerylanguage: std::mem::MaybeUninit, lflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecQueryAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strquery: core::mem::MaybeUninit, strquerylanguage: core::mem::MaybeUninit, lflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemServices_Impl::ExecQueryAsync(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strquery), core::mem::transmute(&strquerylanguage), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() } unsafe extern "system" fn AssociatorsOf, Impl: ISWbemServices_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, - strobjectpath: std::mem::MaybeUninit, - strassocclass: std::mem::MaybeUninit, - strresultclass: std::mem::MaybeUninit, - strresultrole: std::mem::MaybeUninit, - strrole: std::mem::MaybeUninit, + strobjectpath: core::mem::MaybeUninit, + strassocclass: core::mem::MaybeUninit, + strresultclass: core::mem::MaybeUninit, + strresultrole: core::mem::MaybeUninit, + strrole: core::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, - strrequiredassocqualifier: std::mem::MaybeUninit, - strrequiredqualifier: std::mem::MaybeUninit, + strrequiredassocqualifier: core::mem::MaybeUninit, + strrequiredqualifier: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void, @@ -2570,15 +2570,15 @@ impl ISWbemServices_Vtbl { unsafe extern "system" fn AssociatorsOfAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>( this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, - strobjectpath: std::mem::MaybeUninit, - strassocclass: std::mem::MaybeUninit, - strresultclass: std::mem::MaybeUninit, - strresultrole: std::mem::MaybeUninit, - strrole: std::mem::MaybeUninit, + strobjectpath: core::mem::MaybeUninit, + strassocclass: core::mem::MaybeUninit, + strresultclass: core::mem::MaybeUninit, + strresultrole: core::mem::MaybeUninit, + strrole: core::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, - strrequiredassocqualifier: std::mem::MaybeUninit, - strrequiredqualifier: std::mem::MaybeUninit, + strrequiredassocqualifier: core::mem::MaybeUninit, + strrequiredqualifier: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void, @@ -2603,7 +2603,7 @@ impl ISWbemServices_Vtbl { ) .into() } - unsafe extern "system" fn ReferencesTo, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, strresultclass: std::mem::MaybeUninit, strrole: std::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredqualifier: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReferencesTo, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, strresultclass: core::mem::MaybeUninit, strrole: core::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredqualifier: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemobjectset: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemServices_Impl::ReferencesTo(this, core::mem::transmute(&strobjectpath), core::mem::transmute(&strresultclass), core::mem::transmute(&strrole), core::mem::transmute_copy(&bclassesonly), core::mem::transmute_copy(&bschemaonly), core::mem::transmute(&strrequiredqualifier), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -2614,12 +2614,12 @@ impl ISWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ReferencesToAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, strresultclass: std::mem::MaybeUninit, strrole: std::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredqualifier: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ReferencesToAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, strresultclass: core::mem::MaybeUninit, strrole: core::mem::MaybeUninit, bclassesonly: super::super::Foundation::VARIANT_BOOL, bschemaonly: super::super::Foundation::VARIANT_BOOL, strrequiredqualifier: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemServices_Impl::ReferencesToAsync(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strobjectpath), core::mem::transmute(&strresultclass), core::mem::transmute(&strrole), core::mem::transmute_copy(&bclassesonly), core::mem::transmute_copy(&bschemaonly), core::mem::transmute(&strrequiredqualifier), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() } - unsafe extern "system" fn ExecNotificationQuery, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquery: std::mem::MaybeUninit, strquerylanguage: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemeventsource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecNotificationQuery, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquery: core::mem::MaybeUninit, strquerylanguage: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemeventsource: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemServices_Impl::ExecNotificationQuery(this, core::mem::transmute(&strquery), core::mem::transmute(&strquerylanguage), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -2630,12 +2630,12 @@ impl ISWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExecNotificationQueryAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strquery: std::mem::MaybeUninit, strquerylanguage: std::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecNotificationQueryAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strquery: core::mem::MaybeUninit, strquerylanguage: core::mem::MaybeUninit, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemServices_Impl::ExecNotificationQueryAsync(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strquery), core::mem::transmute(&strquerylanguage), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() } - unsafe extern "system" fn ExecMethod, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, strmethodname: std::mem::MaybeUninit, objwbeminparameters: *mut core::ffi::c_void, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemoutparameters: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecMethod, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, strmethodname: core::mem::MaybeUninit, objwbeminparameters: *mut core::ffi::c_void, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemoutparameters: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISWbemServices_Impl::ExecMethod(this, core::mem::transmute(&strobjectpath), core::mem::transmute(&strmethodname), windows_core::from_raw_borrowed(&objwbeminparameters), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset)) { @@ -2646,7 +2646,7 @@ impl ISWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExecMethodAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, strmethodname: std::mem::MaybeUninit, objwbeminparameters: *mut core::ffi::c_void, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecMethodAsync, Impl: ISWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, objwbemsink: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, strmethodname: core::mem::MaybeUninit, objwbeminparameters: *mut core::ffi::c_void, iflags: i32, objwbemnamedvalueset: *mut core::ffi::c_void, objwbemasynccontext: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ISWbemServices_Impl::ExecMethodAsync(this, windows_core::from_raw_borrowed(&objwbemsink), core::mem::transmute(&strobjectpath), core::mem::transmute(&strmethodname), windows_core::from_raw_borrowed(&objwbeminparameters), core::mem::transmute_copy(&iflags), windows_core::from_raw_borrowed(&objwbemnamedvalueset), windows_core::from_raw_borrowed(&objwbemasynccontext)).into() @@ -2788,7 +2788,7 @@ impl windows_core::RuntimeName for IWMIExtension {} #[cfg(feature = "Win32_System_Com")] impl IWMIExtension_Vtbl { pub const fn new, Impl: IWMIExtension_Impl, const OFFSET: isize>() -> IWMIExtension_Vtbl { - unsafe extern "system" fn WMIObjectPath, Impl: IWMIExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strwmiobjectpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WMIObjectPath, Impl: IWMIExtension_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strwmiobjectpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWMIExtension_Impl::WMIObjectPath(this) { @@ -2923,7 +2923,7 @@ impl IWbemCallResult_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetResultString, Impl: IWbemCallResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ltimeout: i32, pstrresultstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetResultString, Impl: IWbemCallResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ltimeout: i32, pstrresultstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemCallResult_Impl::GetResultString(this, core::mem::transmute_copy(<imeout)) { @@ -3011,12 +3011,12 @@ impl IWbemClassObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Get, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pval: *mut std::mem::MaybeUninit, ptype: *mut i32, plflavor: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Get, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pval: *mut core::mem::MaybeUninit, ptype: *mut i32, plflavor: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemClassObject_Impl::Get(this, core::mem::transmute(&wszname), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pval), core::mem::transmute_copy(&ptype), core::mem::transmute_copy(&plflavor)).into() } - unsafe extern "system" fn Put, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pval: *const std::mem::MaybeUninit, r#type: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Put, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pval: *const core::mem::MaybeUninit, r#type: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemClassObject_Impl::Put(this, core::mem::transmute(&wszname), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pval), core::mem::transmute_copy(&r#type)).into() @@ -3026,7 +3026,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); IWbemClassObject_Impl::Delete(this, core::mem::transmute(&wszname)).into() } - unsafe extern "system" fn GetNames, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszqualifiername: windows_core::PCWSTR, lflags: WBEM_CONDITION_FLAG_TYPE, pqualifierval: *const std::mem::MaybeUninit, pnames: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { + unsafe extern "system" fn GetNames, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszqualifiername: windows_core::PCWSTR, lflags: WBEM_CONDITION_FLAG_TYPE, pqualifierval: *const core::mem::MaybeUninit, pnames: *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemClassObject_Impl::GetNames(this, core::mem::transmute(&wszqualifiername), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pqualifierval)) { @@ -3042,7 +3042,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); IWbemClassObject_Impl::BeginEnumeration(this, core::mem::transmute_copy(&lenumflags)).into() } - unsafe extern "system" fn Next, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, strname: *mut std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit, ptype: *mut i32, plflavor: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, strname: *mut core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit, ptype: *mut i32, plflavor: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemClassObject_Impl::Next(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&strname), core::mem::transmute_copy(&pval), core::mem::transmute_copy(&ptype), core::mem::transmute_copy(&plflavor)).into() @@ -3074,7 +3074,7 @@ impl IWbemClassObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetObjectText, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pstrobjecttext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetObjectText, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pstrobjecttext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemClassObject_Impl::GetObjectText(this, core::mem::transmute_copy(&lflags)) { @@ -3112,7 +3112,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); IWbemClassObject_Impl::CompareTo(this, core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pcompareto)).into() } - unsafe extern "system" fn GetPropertyOrigin, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, pstrclassname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyOrigin, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, pstrclassname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemClassObject_Impl::GetPropertyOrigin(this, core::mem::transmute(&wszname)) { @@ -3148,7 +3148,7 @@ impl IWbemClassObject_Vtbl { let this = (*this).get_impl(); IWbemClassObject_Impl::BeginMethodEnumeration(this, core::mem::transmute_copy(&lenumflags)).into() } - unsafe extern "system" fn NextMethod, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pstrname: *mut std::mem::MaybeUninit, ppinsignature: *mut *mut core::ffi::c_void, ppoutsignature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn NextMethod, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pstrname: *mut core::mem::MaybeUninit, ppinsignature: *mut *mut core::ffi::c_void, ppoutsignature: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemClassObject_Impl::NextMethod(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pstrname), core::mem::transmute_copy(&ppinsignature), core::mem::transmute_copy(&ppoutsignature)).into() @@ -3169,7 +3169,7 @@ impl IWbemClassObject_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMethodOrigin, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszmethodname: windows_core::PCWSTR, pstrclassname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMethodOrigin, Impl: IWbemClassObject_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszmethodname: windows_core::PCWSTR, pstrclassname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemClassObject_Impl::GetMethodOrigin(this, core::mem::transmute(&wszmethodname)) { @@ -3220,12 +3220,12 @@ pub trait IWbemClientConnectionTransport_Impl: Sized { impl windows_core::RuntimeName for IWbemClientConnectionTransport {} impl IWbemClientConnectionTransport_Vtbl { pub const fn new, Impl: IWbemClientConnectionTransport_Impl, const OFFSET: isize>() -> IWbemClientConnectionTransport_Vtbl { - unsafe extern "system" fn Open, Impl: IWbemClientConnectionTransport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, straddresstype: std::mem::MaybeUninit, dwbinaryaddresslength: u32, abbinaryaddress: *const u8, strobject: std::mem::MaybeUninit, struser: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit, strlocale: std::mem::MaybeUninit, lflags: i32, pctx: *mut core::ffi::c_void, riid: *const windows_core::GUID, pinterface: *mut *mut core::ffi::c_void, pcallres: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Open, Impl: IWbemClientConnectionTransport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, straddresstype: core::mem::MaybeUninit, dwbinaryaddresslength: u32, abbinaryaddress: *const u8, strobject: core::mem::MaybeUninit, struser: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit, strlocale: core::mem::MaybeUninit, lflags: i32, pctx: *mut core::ffi::c_void, riid: *const windows_core::GUID, pinterface: *mut *mut core::ffi::c_void, pcallres: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemClientConnectionTransport_Impl::Open(this, core::mem::transmute(&straddresstype), core::mem::transmute_copy(&dwbinaryaddresslength), core::mem::transmute_copy(&abbinaryaddress), core::mem::transmute(&strobject), core::mem::transmute(&struser), core::mem::transmute(&strpassword), core::mem::transmute(&strlocale), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&pinterface), core::mem::transmute_copy(&pcallres)).into() } - unsafe extern "system" fn OpenAsync, Impl: IWbemClientConnectionTransport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, straddresstype: std::mem::MaybeUninit, dwbinaryaddresslength: u32, abbinaryaddress: *const u8, strobject: std::mem::MaybeUninit, struser: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit, strlocale: std::mem::MaybeUninit, lflags: i32, pctx: *mut core::ffi::c_void, riid: *const windows_core::GUID, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenAsync, Impl: IWbemClientConnectionTransport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, straddresstype: core::mem::MaybeUninit, dwbinaryaddresslength: u32, abbinaryaddress: *const u8, strobject: core::mem::MaybeUninit, struser: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit, strlocale: core::mem::MaybeUninit, lflags: i32, pctx: *mut core::ffi::c_void, riid: *const windows_core::GUID, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemClientConnectionTransport_Impl::OpenAsync(this, core::mem::transmute(&straddresstype), core::mem::transmute_copy(&dwbinaryaddresslength), core::mem::transmute_copy(&abbinaryaddress), core::mem::transmute(&strobject), core::mem::transmute(&struser), core::mem::transmute(&strpassword), core::mem::transmute(&strlocale), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), core::mem::transmute_copy(&riid), windows_core::from_raw_borrowed(&presponsehandler)).into() @@ -3252,7 +3252,7 @@ pub trait IWbemClientTransport_Impl: Sized { impl windows_core::RuntimeName for IWbemClientTransport {} impl IWbemClientTransport_Vtbl { pub const fn new, Impl: IWbemClientTransport_Impl, const OFFSET: isize>() -> IWbemClientTransport_Vtbl { - unsafe extern "system" fn ConnectServer, Impl: IWbemClientTransport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, straddresstype: std::mem::MaybeUninit, dwbinaryaddresslength: u32, abbinaryaddress: *const u8, strnetworkresource: std::mem::MaybeUninit, struser: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit, strlocale: std::mem::MaybeUninit, lsecurityflags: i32, strauthority: std::mem::MaybeUninit, pctx: *mut core::ffi::c_void, ppnamespace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectServer, Impl: IWbemClientTransport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, straddresstype: core::mem::MaybeUninit, dwbinaryaddresslength: u32, abbinaryaddress: *const u8, strnetworkresource: core::mem::MaybeUninit, struser: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit, strlocale: core::mem::MaybeUninit, lsecurityflags: i32, strauthority: core::mem::MaybeUninit, pctx: *mut core::ffi::c_void, ppnamespace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemClientTransport_Impl::ConnectServer(this, core::mem::transmute(&straddresstype), core::mem::transmute_copy(&dwbinaryaddresslength), core::mem::transmute_copy(&abbinaryaddress), core::mem::transmute(&strnetworkresource), core::mem::transmute(&struser), core::mem::transmute(&strpassword), core::mem::transmute(&strlocale), core::mem::transmute_copy(&lsecurityflags), core::mem::transmute(&strauthority), windows_core::from_raw_borrowed(&pctx)) { @@ -3419,7 +3419,7 @@ impl IWbemContext_Vtbl { let this = (*this).get_impl(); IWbemContext_Impl::BeginEnumeration(this, core::mem::transmute_copy(&lflags)).into() } - unsafe extern "system" fn Next, Impl: IWbemContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pstrname: *mut std::mem::MaybeUninit, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IWbemContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pstrname: *mut core::mem::MaybeUninit, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemContext_Impl::Next(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pstrname), core::mem::transmute_copy(&pvalue)).into() @@ -3429,12 +3429,12 @@ impl IWbemContext_Vtbl { let this = (*this).get_impl(); IWbemContext_Impl::EndEnumeration(this).into() } - unsafe extern "system" fn SetValue, Impl: IWbemContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IWbemContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemContext_Impl::SetValue(this, core::mem::transmute(&wszname), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pvalue)).into() } - unsafe extern "system" fn GetValue, Impl: IWbemContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IWbemContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemContext_Impl::GetValue(this, core::mem::transmute(&wszname), core::mem::transmute_copy(&lflags)) { @@ -3848,7 +3848,7 @@ pub trait IWbemLocator_Impl: Sized { impl windows_core::RuntimeName for IWbemLocator {} impl IWbemLocator_Vtbl { pub const fn new, Impl: IWbemLocator_Impl, const OFFSET: isize>() -> IWbemLocator_Vtbl { - unsafe extern "system" fn ConnectServer, Impl: IWbemLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnetworkresource: std::mem::MaybeUninit, struser: std::mem::MaybeUninit, strpassword: std::mem::MaybeUninit, strlocale: std::mem::MaybeUninit, lsecurityflags: i32, strauthority: std::mem::MaybeUninit, pctx: *mut core::ffi::c_void, ppnamespace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ConnectServer, Impl: IWbemLocator_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnetworkresource: core::mem::MaybeUninit, struser: core::mem::MaybeUninit, strpassword: core::mem::MaybeUninit, strlocale: core::mem::MaybeUninit, lsecurityflags: i32, strauthority: core::mem::MaybeUninit, pctx: *mut core::ffi::c_void, ppnamespace: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemLocator_Impl::ConnectServer(this, core::mem::transmute(&strnetworkresource), core::mem::transmute(&struser), core::mem::transmute(&strpassword), core::mem::transmute(&strlocale), core::mem::transmute_copy(&lsecurityflags), core::mem::transmute(&strauthority), windows_core::from_raw_borrowed(&pctx)) { @@ -3930,7 +3930,7 @@ impl IWbemObjectAccess_Vtbl { let this = (*this).get_impl(); IWbemObjectAccess_Impl::WriteQWORD(this, core::mem::transmute_copy(&lhandle), core::mem::transmute_copy(&pw)).into() } - unsafe extern "system" fn GetPropertyInfoByHandle, Impl: IWbemObjectAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lhandle: i32, pstrname: *mut std::mem::MaybeUninit, ptype: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyInfoByHandle, Impl: IWbemObjectAccess_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lhandle: i32, pstrname: *mut core::mem::MaybeUninit, ptype: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemObjectAccess_Impl::GetPropertyInfoByHandle(this, core::mem::transmute_copy(&lhandle), core::mem::transmute_copy(&pstrname), core::mem::transmute_copy(&ptype)).into() @@ -3975,7 +3975,7 @@ impl IWbemObjectSink_Vtbl { let this = (*this).get_impl(); IWbemObjectSink_Impl::Indicate(this, core::mem::transmute_copy(&lobjectcount), core::mem::transmute_copy(&apobjarray)).into() } - unsafe extern "system" fn SetStatus, Impl: IWbemObjectSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, hresult: windows_core::HRESULT, strparam: std::mem::MaybeUninit, pobjparam: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SetStatus, Impl: IWbemObjectSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, hresult: windows_core::HRESULT, strparam: core::mem::MaybeUninit, pobjparam: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemObjectSink_Impl::SetStatus(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&hresult), core::mem::transmute(&strparam), windows_core::from_raw_borrowed(&pobjparam)).into() @@ -4000,7 +4000,7 @@ pub trait IWbemObjectSinkEx_Impl: Sized + IWbemObjectSink_Impl { impl windows_core::RuntimeName for IWbemObjectSinkEx {} impl IWbemObjectSinkEx_Vtbl { pub const fn new, Impl: IWbemObjectSinkEx_Impl, const OFFSET: isize>() -> IWbemObjectSinkEx_Vtbl { - unsafe extern "system" fn WriteMessage, Impl: IWbemObjectSinkEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uchannel: u32, strmessage: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WriteMessage, Impl: IWbemObjectSinkEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uchannel: u32, strmessage: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemObjectSinkEx_Impl::WriteMessage(this, core::mem::transmute_copy(&uchannel), core::mem::transmute(&strmessage)).into() @@ -4016,7 +4016,7 @@ impl IWbemObjectSinkEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PromptUser, Impl: IWbemObjectSinkEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strmessage: std::mem::MaybeUninit, uprompttype: u8, pureturned: *mut u8) -> windows_core::HRESULT { + unsafe extern "system" fn PromptUser, Impl: IWbemObjectSinkEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strmessage: core::mem::MaybeUninit, uprompttype: u8, pureturned: *mut u8) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemObjectSinkEx_Impl::PromptUser(this, core::mem::transmute(&strmessage), core::mem::transmute_copy(&uprompttype)) { @@ -4027,12 +4027,12 @@ impl IWbemObjectSinkEx_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn WriteProgress, Impl: IWbemObjectSinkEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, stractivity: std::mem::MaybeUninit, strcurrentoperation: std::mem::MaybeUninit, strstatusdescription: std::mem::MaybeUninit, upercentcomplete: u32, usecondsremaining: u32) -> windows_core::HRESULT { + unsafe extern "system" fn WriteProgress, Impl: IWbemObjectSinkEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, stractivity: core::mem::MaybeUninit, strcurrentoperation: core::mem::MaybeUninit, strstatusdescription: core::mem::MaybeUninit, upercentcomplete: u32, usecondsremaining: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemObjectSinkEx_Impl::WriteProgress(this, core::mem::transmute(&stractivity), core::mem::transmute(&strcurrentoperation), core::mem::transmute(&strstatusdescription), core::mem::transmute_copy(&upercentcomplete), core::mem::transmute_copy(&usecondsremaining)).into() } - unsafe extern "system" fn WriteStreamParameter, Impl: IWbemObjectSinkEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit, vtvalue: *const std::mem::MaybeUninit, ultype: u32, ulflags: u32) -> windows_core::HRESULT { + unsafe extern "system" fn WriteStreamParameter, Impl: IWbemObjectSinkEx_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit, vtvalue: *const core::mem::MaybeUninit, ultype: u32, ulflags: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemObjectSinkEx_Impl::WriteStreamParameter(this, core::mem::transmute(&strname), core::mem::transmute_copy(&vtvalue), core::mem::transmute_copy(&ultype), core::mem::transmute_copy(&ulflags)).into() @@ -4057,7 +4057,7 @@ pub trait IWbemObjectTextSrc_Impl: Sized { impl windows_core::RuntimeName for IWbemObjectTextSrc {} impl IWbemObjectTextSrc_Vtbl { pub const fn new, Impl: IWbemObjectTextSrc_Impl, const OFFSET: isize>() -> IWbemObjectTextSrc_Vtbl { - unsafe extern "system" fn GetText, Impl: IWbemObjectTextSrc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pobj: *mut core::ffi::c_void, uobjtextformat: u32, pctx: *mut core::ffi::c_void, strtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: IWbemObjectTextSrc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pobj: *mut core::ffi::c_void, uobjtextformat: u32, pctx: *mut core::ffi::c_void, strtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemObjectTextSrc_Impl::GetText(this, core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pobj), core::mem::transmute_copy(&uobjtextformat), windows_core::from_raw_borrowed(&pctx)) { @@ -4068,7 +4068,7 @@ impl IWbemObjectTextSrc_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateFromText, Impl: IWbemObjectTextSrc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, strtext: std::mem::MaybeUninit, uobjtextformat: u32, pctx: *mut core::ffi::c_void, pnewobj: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateFromText, Impl: IWbemObjectTextSrc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, strtext: core::mem::MaybeUninit, uobjtextformat: u32, pctx: *mut core::ffi::c_void, pnewobj: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemObjectTextSrc_Impl::CreateFromText(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&strtext), core::mem::transmute_copy(&uobjtextformat), windows_core::from_raw_borrowed(&pctx)) { @@ -4339,7 +4339,7 @@ impl IWbemPathKeyList_Vtbl { let this = (*this).get_impl(); IWbemPathKeyList_Impl::SetKey(this, core::mem::transmute(&wszname), core::mem::transmute_copy(&uflags), core::mem::transmute_copy(&ucimtype), core::mem::transmute_copy(&pkeyval)).into() } - unsafe extern "system" fn SetKey2, Impl: IWbemPathKeyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, uflags: u32, ucimtype: u32, pkeyval: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetKey2, Impl: IWbemPathKeyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, uflags: u32, ucimtype: u32, pkeyval: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemPathKeyList_Impl::SetKey2(this, core::mem::transmute(&wszname), core::mem::transmute_copy(&uflags), core::mem::transmute_copy(&ucimtype), core::mem::transmute_copy(&pkeyval)).into() @@ -4349,7 +4349,7 @@ impl IWbemPathKeyList_Vtbl { let this = (*this).get_impl(); IWbemPathKeyList_Impl::GetKey(this, core::mem::transmute_copy(&ukeyix), core::mem::transmute_copy(&uflags), core::mem::transmute_copy(&punamebufsize), core::mem::transmute_copy(&pszkeyname), core::mem::transmute_copy(&pukeyvalbufsize), core::mem::transmute_copy(&pkeyval), core::mem::transmute_copy(&puapparentcimtype)).into() } - unsafe extern "system" fn GetKey2, Impl: IWbemPathKeyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: windows_core::PWSTR, pkeyvalue: *mut std::mem::MaybeUninit, puapparentcimtype: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetKey2, Impl: IWbemPathKeyList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ukeyix: u32, uflags: u32, punamebufsize: *mut u32, pszkeyname: windows_core::PWSTR, pkeyvalue: *mut core::mem::MaybeUninit, puapparentcimtype: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemPathKeyList_Impl::GetKey2(this, core::mem::transmute_copy(&ukeyix), core::mem::transmute_copy(&uflags), core::mem::transmute_copy(&punamebufsize), core::mem::transmute_copy(&pszkeyname), core::mem::transmute_copy(&pkeyvalue), core::mem::transmute_copy(&puapparentcimtype)).into() @@ -4410,7 +4410,7 @@ pub trait IWbemPropertyProvider_Impl: Sized { impl windows_core::RuntimeName for IWbemPropertyProvider {} impl IWbemPropertyProvider_Vtbl { pub const fn new, Impl: IWbemPropertyProvider_Impl, const OFFSET: isize>() -> IWbemPropertyProvider_Vtbl { - unsafe extern "system" fn GetProperty, Impl: IWbemPropertyProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, strlocale: std::mem::MaybeUninit, strclassmapping: std::mem::MaybeUninit, strinstmapping: std::mem::MaybeUninit, strpropmapping: std::mem::MaybeUninit, pvvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IWbemPropertyProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, strlocale: core::mem::MaybeUninit, strclassmapping: core::mem::MaybeUninit, strinstmapping: core::mem::MaybeUninit, strpropmapping: core::mem::MaybeUninit, pvvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemPropertyProvider_Impl::GetProperty(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&strlocale), core::mem::transmute(&strclassmapping), core::mem::transmute(&strinstmapping), core::mem::transmute(&strpropmapping)) { @@ -4421,7 +4421,7 @@ impl IWbemPropertyProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PutProperty, Impl: IWbemPropertyProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, strlocale: std::mem::MaybeUninit, strclassmapping: std::mem::MaybeUninit, strinstmapping: std::mem::MaybeUninit, strpropmapping: std::mem::MaybeUninit, pvvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutProperty, Impl: IWbemPropertyProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, strlocale: core::mem::MaybeUninit, strclassmapping: core::mem::MaybeUninit, strinstmapping: core::mem::MaybeUninit, strpropmapping: core::mem::MaybeUninit, pvvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemPropertyProvider_Impl::PutProperty(this, core::mem::transmute_copy(&lflags), core::mem::transmute(&strlocale), core::mem::transmute(&strclassmapping), core::mem::transmute(&strinstmapping), core::mem::transmute(&strpropmapping), core::mem::transmute_copy(&pvvalue)).into() @@ -4502,12 +4502,12 @@ impl windows_core::RuntimeName for IWbemQualifierSet {} #[cfg(feature = "Win32_System_Com")] impl IWbemQualifierSet_Vtbl { pub const fn new, Impl: IWbemQualifierSet_Impl, const OFFSET: isize>() -> IWbemQualifierSet_Vtbl { - unsafe extern "system" fn Get, Impl: IWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pval: *mut std::mem::MaybeUninit, plflavor: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Get, Impl: IWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, lflags: i32, pval: *mut core::mem::MaybeUninit, plflavor: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemQualifierSet_Impl::Get(this, core::mem::transmute(&wszname), core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pval), core::mem::transmute_copy(&plflavor)).into() } - unsafe extern "system" fn Put, Impl: IWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, pval: *const std::mem::MaybeUninit, lflavor: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Put, Impl: IWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, wszname: windows_core::PCWSTR, pval: *const core::mem::MaybeUninit, lflavor: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemQualifierSet_Impl::Put(this, core::mem::transmute(&wszname), core::mem::transmute_copy(&pval), core::mem::transmute_copy(&lflavor)).into() @@ -4533,7 +4533,7 @@ impl IWbemQualifierSet_Vtbl { let this = (*this).get_impl(); IWbemQualifierSet_Impl::BeginEnumeration(this, core::mem::transmute_copy(&lflags)).into() } - unsafe extern "system" fn Next, Impl: IWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pstrname: *mut std::mem::MaybeUninit, pval: *mut std::mem::MaybeUninit, plflavor: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn Next, Impl: IWbemQualifierSet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lflags: i32, pstrname: *mut core::mem::MaybeUninit, pval: *mut core::mem::MaybeUninit, plflavor: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemQualifierSet_Impl::Next(this, core::mem::transmute_copy(&lflags), core::mem::transmute_copy(&pstrname), core::mem::transmute_copy(&pval), core::mem::transmute_copy(&plflavor)).into() @@ -4665,7 +4665,7 @@ pub trait IWbemServices_Impl: Sized { impl windows_core::RuntimeName for IWbemServices {} impl IWbemServices_Vtbl { pub const fn new, Impl: IWbemServices_Impl, const OFFSET: isize>() -> IWbemServices_Vtbl { - unsafe extern "system" fn OpenNamespace, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespace: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppworkingnamespace: *mut *mut core::ffi::c_void, ppresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn OpenNamespace, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strnamespace: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppworkingnamespace: *mut *mut core::ffi::c_void, ppresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::OpenNamespace(this, core::mem::transmute(&strnamespace), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), core::mem::transmute_copy(&ppworkingnamespace), core::mem::transmute_copy(&ppresult)).into() @@ -4686,12 +4686,12 @@ impl IWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetObject, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppobject: *mut *mut core::ffi::c_void, ppcallresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetObject, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppobject: *mut *mut core::ffi::c_void, ppcallresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::GetObject(this, core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), core::mem::transmute_copy(&ppobject), core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn GetObjectAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetObjectAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::GetObjectAsync(this, core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&presponsehandler)).into() @@ -4706,17 +4706,17 @@ impl IWbemServices_Vtbl { let this = (*this).get_impl(); IWbemServices_Impl::PutClassAsync(this, windows_core::from_raw_borrowed(&pobject), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn DeleteClass, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppcallresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteClass, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppcallresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::DeleteClass(this, core::mem::transmute(&strclass), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn DeleteClassAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteClassAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strclass: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::DeleteClassAsync(this, core::mem::transmute(&strclass), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn CreateClassEnum, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsuperclass: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateClassEnum, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsuperclass: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemServices_Impl::CreateClassEnum(this, core::mem::transmute(&strsuperclass), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { @@ -4727,7 +4727,7 @@ impl IWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateClassEnumAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsuperclass: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateClassEnumAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsuperclass: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::CreateClassEnumAsync(this, core::mem::transmute(&strsuperclass), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&presponsehandler)).into() @@ -4742,17 +4742,17 @@ impl IWbemServices_Vtbl { let this = (*this).get_impl(); IWbemServices_Impl::PutInstanceAsync(this, windows_core::from_raw_borrowed(&pinst), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn DeleteInstance, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppcallresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteInstance, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppcallresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::DeleteInstance(this, core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn DeleteInstanceAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteInstanceAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::DeleteInstanceAsync(this, core::mem::transmute(&strobjectpath), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn CreateInstanceEnum, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilter: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstanceEnum, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilter: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemServices_Impl::CreateInstanceEnum(this, core::mem::transmute(&strfilter), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { @@ -4763,12 +4763,12 @@ impl IWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreateInstanceEnumAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilter: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateInstanceEnumAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strfilter: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::CreateInstanceEnumAsync(this, core::mem::transmute(&strfilter), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn ExecQuery, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquerylanguage: std::mem::MaybeUninit, strquery: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecQuery, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquerylanguage: core::mem::MaybeUninit, strquery: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemServices_Impl::ExecQuery(this, core::mem::transmute(&strquerylanguage), core::mem::transmute(&strquery), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { @@ -4779,12 +4779,12 @@ impl IWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExecQueryAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquerylanguage: std::mem::MaybeUninit, strquery: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecQueryAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquerylanguage: core::mem::MaybeUninit, strquery: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::ExecQueryAsync(this, core::mem::transmute(&strquerylanguage), core::mem::transmute(&strquery), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn ExecNotificationQuery, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquerylanguage: std::mem::MaybeUninit, strquery: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecNotificationQuery, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquerylanguage: core::mem::MaybeUninit, strquery: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, ppenum: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemServices_Impl::ExecNotificationQuery(this, core::mem::transmute(&strquerylanguage), core::mem::transmute(&strquery), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx)) { @@ -4795,17 +4795,17 @@ impl IWbemServices_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExecNotificationQueryAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquerylanguage: std::mem::MaybeUninit, strquery: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecNotificationQueryAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strquerylanguage: core::mem::MaybeUninit, strquery: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::ExecNotificationQueryAsync(this, core::mem::transmute(&strquerylanguage), core::mem::transmute(&strquery), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn ExecMethod, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, strmethodname: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, pinparams: *mut core::ffi::c_void, ppoutparams: *mut *mut core::ffi::c_void, ppcallresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecMethod, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, strmethodname: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, pinparams: *mut core::ffi::c_void, ppoutparams: *mut *mut core::ffi::c_void, ppcallresult: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::ExecMethod(this, core::mem::transmute(&strobjectpath), core::mem::transmute(&strmethodname), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&pinparams), core::mem::transmute_copy(&ppoutparams), core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn ExecMethodAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: std::mem::MaybeUninit, strmethodname: std::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, pinparams: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ExecMethodAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strobjectpath: core::mem::MaybeUninit, strmethodname: core::mem::MaybeUninit, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut core::ffi::c_void, pinparams: *mut core::ffi::c_void, presponsehandler: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWbemServices_Impl::ExecMethodAsync(this, core::mem::transmute(&strobjectpath), core::mem::transmute(&strmethodname), core::mem::transmute_copy(&lflags), windows_core::from_raw_borrowed(&pctx), windows_core::from_raw_borrowed(&pinparams), windows_core::from_raw_borrowed(&presponsehandler)).into() @@ -4865,7 +4865,7 @@ pub trait IWbemStatusCodeText_Impl: Sized { impl windows_core::RuntimeName for IWbemStatusCodeText {} impl IWbemStatusCodeText_Vtbl { pub const fn new, Impl: IWbemStatusCodeText_Impl, const OFFSET: isize>() -> IWbemStatusCodeText_Vtbl { - unsafe extern "system" fn GetErrorCodeText, Impl: IWbemStatusCodeText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hres: windows_core::HRESULT, localeid: u32, lflags: i32, messagetext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetErrorCodeText, Impl: IWbemStatusCodeText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hres: windows_core::HRESULT, localeid: u32, lflags: i32, messagetext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemStatusCodeText_Impl::GetErrorCodeText(this, core::mem::transmute_copy(&hres), core::mem::transmute_copy(&localeid), core::mem::transmute_copy(&lflags)) { @@ -4876,7 +4876,7 @@ impl IWbemStatusCodeText_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFacilityCodeText, Impl: IWbemStatusCodeText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hres: windows_core::HRESULT, localeid: u32, lflags: i32, messagetext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFacilityCodeText, Impl: IWbemStatusCodeText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hres: windows_core::HRESULT, localeid: u32, lflags: i32, messagetext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWbemStatusCodeText_Impl::GetFacilityCodeText(this, core::mem::transmute_copy(&hres), core::mem::transmute_copy(&localeid), core::mem::transmute_copy(&lflags)) { 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 2d6bfd5670..dc695b5a5b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -7,7 +7,7 @@ windows_core::imp::define_interface!(IEnumWbemClassObject, IEnumWbemClassObject_ impl std::ops::Deref for IEnumWbemClassObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumWbemClassObject, windows_core::IUnknown); @@ -25,7 +25,7 @@ impl IEnumWbemClassObject { (windows_core::Interface::vtable(self).NextAsync)(windows_core::Interface::as_raw(self), ucount, psink.param().abi()) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Skip(&self, ltimeout: i32, ncount: u32) -> windows_core::HRESULT { @@ -45,7 +45,7 @@ windows_core::imp::define_interface!(IMofCompiler, IMofCompiler_Vtbl, 0x6daf974e impl std::ops::Deref for IMofCompiler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMofCompiler, windows_core::IUnknown); @@ -91,7 +91,7 @@ windows_core::imp::define_interface!(ISWbemDateTime, ISWbemDateTime_Vtbl, 0x5e97 impl std::ops::Deref for ISWbemDateTime { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -99,7 +99,7 @@ windows_core::imp::interface_hierarchy!(ISWbemDateTime, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISWbemDateTime { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, strvalue: P0) -> windows_core::Result<()> @@ -109,14 +109,14 @@ impl ISWbemDateTime { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), strvalue.param().abi()).ok() } pub unsafe fn Year(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Year)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).YearSpecified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetYearSpecified(&self, byearspecified: P0) -> windows_core::Result<()> @@ -126,14 +126,14 @@ impl ISWbemDateTime { (windows_core::Interface::vtable(self).SetYearSpecified)(windows_core::Interface::as_raw(self), byearspecified.param().abi()).ok() } pub unsafe fn Month(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Month)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MonthSpecified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMonthSpecified(&self, bmonthspecified: P0) -> windows_core::Result<()> @@ -143,14 +143,14 @@ impl ISWbemDateTime { (windows_core::Interface::vtable(self).SetMonthSpecified)(windows_core::Interface::as_raw(self), bmonthspecified.param().abi()).ok() } pub unsafe fn Day(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Day)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DaySpecified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDaySpecified(&self, bdayspecified: P0) -> windows_core::Result<()> @@ -160,14 +160,14 @@ impl ISWbemDateTime { (windows_core::Interface::vtable(self).SetDaySpecified)(windows_core::Interface::as_raw(self), bdayspecified.param().abi()).ok() } pub unsafe fn Hours(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Hours)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HoursSpecified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHoursSpecified(&self, bhoursspecified: P0) -> windows_core::Result<()> @@ -177,14 +177,14 @@ impl ISWbemDateTime { (windows_core::Interface::vtable(self).SetHoursSpecified)(windows_core::Interface::as_raw(self), bhoursspecified.param().abi()).ok() } pub unsafe fn Minutes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Minutes)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinutesSpecified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMinutesSpecified(&self, bminutesspecified: P0) -> windows_core::Result<()> @@ -194,14 +194,14 @@ impl ISWbemDateTime { (windows_core::Interface::vtable(self).SetMinutesSpecified)(windows_core::Interface::as_raw(self), bminutesspecified.param().abi()).ok() } pub unsafe fn Seconds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Seconds)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SecondsSpecified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSecondsSpecified(&self, bsecondsspecified: P0) -> windows_core::Result<()> @@ -211,14 +211,14 @@ impl ISWbemDateTime { (windows_core::Interface::vtable(self).SetSecondsSpecified)(windows_core::Interface::as_raw(self), bsecondsspecified.param().abi()).ok() } pub unsafe fn Microseconds(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Microseconds)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MicrosecondsSpecified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMicrosecondsSpecified(&self, bmicrosecondsspecified: P0) -> windows_core::Result<()> @@ -228,14 +228,14 @@ impl ISWbemDateTime { (windows_core::Interface::vtable(self).SetMicrosecondsSpecified)(windows_core::Interface::as_raw(self), bmicrosecondsspecified.param().abi()).ok() } pub unsafe fn UTC(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UTC)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UTCSpecified)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUTCSpecified(&self, butcspecified: P0) -> windows_core::Result<()> @@ -245,7 +245,7 @@ impl ISWbemDateTime { (windows_core::Interface::vtable(self).SetUTCSpecified)(windows_core::Interface::as_raw(self), butcspecified.param().abi()).ok() } pub unsafe fn IsInterval(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInterval)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsInterval(&self, bisinterval: P0) -> windows_core::Result<()> @@ -258,7 +258,7 @@ impl ISWbemDateTime { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVarDate)(windows_core::Interface::as_raw(self), bislocal.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetVarDate(&self, dvardate: f64, bislocal: P0) -> windows_core::Result<()> @@ -271,7 +271,7 @@ impl ISWbemDateTime { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileTime)(windows_core::Interface::as_raw(self), bislocal.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFileTime(&self, strfiletime: P0, bislocal: P1) -> windows_core::Result<()> @@ -286,8 +286,8 @@ impl ISWbemDateTime { #[repr(C)] pub struct ISWbemDateTime_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Year: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetYear: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub YearSpecified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -324,8 +324,8 @@ pub struct ISWbemDateTime_Vtbl { pub SetIsInterval: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetVarDate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut f64) -> windows_core::HRESULT, pub SetVarDate: unsafe extern "system" fn(*mut core::ffi::c_void, f64, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetFileTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFileTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetFileTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFileTime: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemEventSource, ISWbemEventSource_Vtbl, 0x27d54d92_0ebe_11d2_8b22_00600806d9b6); @@ -333,7 +333,7 @@ windows_core::imp::define_interface!(ISWbemEventSource, ISWbemEventSource_Vtbl, impl std::ops::Deref for ISWbemEventSource { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -342,12 +342,12 @@ windows_core::imp::interface_hierarchy!(ISWbemEventSource, windows_core::IUnknow impl ISWbemEventSource { #[cfg(feature = "Win32_System_Com")] pub unsafe fn NextEvent(&self, itimeoutms: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NextEvent)(windows_core::Interface::as_raw(self), itimeoutms, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -370,7 +370,7 @@ windows_core::imp::define_interface!(ISWbemLastError, ISWbemLastError_Vtbl, 0xd9 impl std::ops::Deref for ISWbemLastError { type Target = ISWbemObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -388,7 +388,7 @@ windows_core::imp::define_interface!(ISWbemLocator, ISWbemLocator_Vtbl, 0x76a641 impl std::ops::Deref for ISWbemLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -406,12 +406,12 @@ impl ISWbemLocator { P5: windows_core::Param, P6: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectServer)(windows_core::Interface::as_raw(self), strserver.param().abi(), strnamespace.param().abi(), struser.param().abi(), strpassword.param().abi(), strlocale.param().abi(), strauthority.param().abi(), isecurityflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -420,7 +420,7 @@ impl ISWbemLocator { pub struct ISWbemLocator_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub ConnectServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ConnectServer: usize, #[cfg(feature = "Win32_System_Com")] @@ -434,7 +434,7 @@ windows_core::imp::define_interface!(ISWbemMethod, ISWbemMethod_Vtbl, 0x422e8e90 impl std::ops::Deref for ISWbemMethod { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -442,26 +442,26 @@ windows_core::imp::interface_hierarchy!(ISWbemMethod, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl ISWbemMethod { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Origin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Origin)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn InParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InParameters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn OutParameters(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OutParameters)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Qualifiers_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -469,8 +469,8 @@ impl ISWbemMethod { #[repr(C)] pub struct ISWbemMethod_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Origin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Origin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub InParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -490,7 +490,7 @@ windows_core::imp::define_interface!(ISWbemMethodSet, ISWbemMethodSet_Vtbl, 0xc9 impl std::ops::Deref for ISWbemMethodSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -498,7 +498,7 @@ windows_core::imp::interface_hierarchy!(ISWbemMethodSet, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISWbemMethodSet { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -506,11 +506,11 @@ impl ISWbemMethodSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), strname.param().abi(), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -520,7 +520,7 @@ pub struct ISWbemMethodSet_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -531,7 +531,7 @@ windows_core::imp::define_interface!(ISWbemNamedValue, ISWbemNamedValue_Vtbl, 0x impl std::ops::Deref for ISWbemNamedValue { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -539,14 +539,14 @@ windows_core::imp::interface_hierarchy!(ISWbemNamedValue, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl ISWbemNamedValue { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, varvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute(varvalue)).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -554,9 +554,9 @@ impl ISWbemNamedValue { #[repr(C)] pub struct ISWbemNamedValue_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemNamedValueSet, ISWbemNamedValueSet_Vtbl, 0xcf2376ea_ce8c_11d1_8b05_00600806d9b6); @@ -564,7 +564,7 @@ windows_core::imp::define_interface!(ISWbemNamedValueSet, ISWbemNamedValueSet_Vt impl std::ops::Deref for ISWbemNamedValueSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -572,7 +572,7 @@ windows_core::imp::interface_hierarchy!(ISWbemNamedValueSet, windows_core::IUnkn #[cfg(feature = "Win32_System_Com")] impl ISWbemNamedValueSet { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -580,11 +580,11 @@ impl ISWbemNamedValueSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), strname.param().abi(), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -592,7 +592,7 @@ impl ISWbemNamedValueSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), strname.param().abi(), core::mem::transmute(varvalue), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, strname: P0, iflags: i32) -> windows_core::Result<()> @@ -603,7 +603,7 @@ impl ISWbemNamedValueSet { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteAll(&self) -> windows_core::Result<()> { @@ -616,15 +616,15 @@ pub struct ISWbemNamedValueSet_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -637,7 +637,7 @@ windows_core::imp::define_interface!(ISWbemObject, ISWbemObject_Vtbl, 0x76a6415a impl std::ops::Deref for ISWbemObject { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -649,7 +649,7 @@ impl ISWbemObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Put_)(windows_core::Interface::as_raw(self), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -682,7 +682,7 @@ impl ISWbemObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Instances_)(windows_core::Interface::as_raw(self), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -699,7 +699,7 @@ impl ISWbemObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Subclasses_)(windows_core::Interface::as_raw(self), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -724,7 +724,7 @@ impl ISWbemObject { P7: windows_core::Param, P8: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Associators_)(windows_core::Interface::as_raw(self), strassocclass.param().abi(), strresultclass.param().abi(), strresultrole.param().abi(), strrole.param().abi(), bclassesonly.param().abi(), bschemaonly.param().abi(), strrequiredassocqualifier.param().abi(), strrequiredqualifier.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -754,7 +754,7 @@ impl ISWbemObject { P4: windows_core::Param, P5: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).References_)(windows_core::Interface::as_raw(self), strresultclass.param().abi(), strrole.param().abi(), bclassesonly.param().abi(), bschemaonly.param().abi(), strrequiredqualifier.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -778,7 +778,7 @@ impl ISWbemObject { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecMethod_)(windows_core::Interface::as_raw(self), strmethodname.param().abi(), objwbeminparameters.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -794,21 +794,21 @@ impl ISWbemObject { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetObjectText_(&self, iflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectText_)(windows_core::Interface::as_raw(self), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SpawnDerivedClass_(&self, iflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SpawnDerivedClass_)(windows_core::Interface::as_raw(self), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SpawnInstance_(&self, iflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SpawnInstance_)(windows_core::Interface::as_raw(self), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -816,36 +816,36 @@ impl ISWbemObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareTo_)(windows_core::Interface::as_raw(self), objwbemobject.param().abi(), iflags, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Qualifiers_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Properties_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Properties_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Methods_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Methods_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Derivation_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Derivation_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Path_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -886,34 +886,34 @@ pub struct ISWbemObject_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SubclassesAsync_: usize, #[cfg(feature = "Win32_System_Com")] - pub Associators_: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Associators_: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Associators_: usize, #[cfg(feature = "Win32_System_Com")] - pub AssociatorsAsync_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AssociatorsAsync_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AssociatorsAsync_: usize, #[cfg(feature = "Win32_System_Com")] - pub References_: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub References_: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] References_: usize, #[cfg(feature = "Win32_System_Com")] - pub ReferencesAsync_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReferencesAsync_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReferencesAsync_: usize, #[cfg(feature = "Win32_System_Com")] - pub ExecMethod_: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecMethod_: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExecMethod_: usize, #[cfg(feature = "Win32_System_Com")] - pub ExecMethodAsync_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecMethodAsync_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExecMethodAsync_: usize, #[cfg(feature = "Win32_System_Com")] pub Clone_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Clone_: usize, - pub GetObjectText_: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetObjectText_: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SpawnDerivedClass_: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -938,7 +938,7 @@ pub struct ISWbemObject_Vtbl { pub Methods_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Methods_: usize, - pub Derivation_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Derivation_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Path_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -954,7 +954,7 @@ windows_core::imp::define_interface!(ISWbemObjectEx, ISWbemObjectEx_Vtbl, 0x269a impl std::ops::Deref for ISWbemObjectEx { type Target = ISWbemObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -970,7 +970,7 @@ impl ISWbemObjectEx { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SystemProperties_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SystemProperties_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -978,7 +978,7 @@ impl ISWbemObjectEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText_)(windows_core::Interface::as_raw(self), iobjecttextformat, iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1003,11 +1003,11 @@ pub struct ISWbemObjectEx_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SystemProperties_: usize, #[cfg(feature = "Win32_System_Com")] - pub GetText_: unsafe extern "system" fn(*mut core::ffi::c_void, WbemObjectTextFormatEnum, i32, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText_: unsafe extern "system" fn(*mut core::ffi::c_void, WbemObjectTextFormatEnum, i32, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetText_: usize, #[cfg(feature = "Win32_System_Com")] - pub SetFromText_: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WbemObjectTextFormatEnum, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetFromText_: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WbemObjectTextFormatEnum, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetFromText_: usize, } @@ -1017,7 +1017,7 @@ windows_core::imp::define_interface!(ISWbemObjectPath, ISWbemObjectPath_Vtbl, 0x impl std::ops::Deref for ISWbemObjectPath { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1025,7 +1025,7 @@ windows_core::imp::interface_hierarchy!(ISWbemObjectPath, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl ISWbemObjectPath { pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPath(&self, strpath: P0) -> windows_core::Result<()> @@ -1035,7 +1035,7 @@ impl ISWbemObjectPath { (windows_core::Interface::vtable(self).SetPath)(windows_core::Interface::as_raw(self), strpath.param().abi()).ok() } pub unsafe fn RelPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RelPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRelPath(&self, strrelpath: P0) -> windows_core::Result<()> @@ -1045,7 +1045,7 @@ impl ISWbemObjectPath { (windows_core::Interface::vtable(self).SetRelPath)(windows_core::Interface::as_raw(self), strrelpath.param().abi()).ok() } pub unsafe fn Server(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Server)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetServer(&self, strserver: P0) -> windows_core::Result<()> @@ -1055,7 +1055,7 @@ impl ISWbemObjectPath { (windows_core::Interface::vtable(self).SetServer)(windows_core::Interface::as_raw(self), strserver.param().abi()).ok() } pub unsafe fn Namespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Namespace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNamespace(&self, strnamespace: P0) -> windows_core::Result<()> @@ -1065,11 +1065,11 @@ impl ISWbemObjectPath { (windows_core::Interface::vtable(self).SetNamespace)(windows_core::Interface::as_raw(self), strnamespace.param().abi()).ok() } pub unsafe fn ParentNamespace(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentNamespace)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDisplayName(&self, strdisplayname: P0) -> windows_core::Result<()> @@ -1079,7 +1079,7 @@ impl ISWbemObjectPath { (windows_core::Interface::vtable(self).SetDisplayName)(windows_core::Interface::as_raw(self), strdisplayname.param().abi()).ok() } pub unsafe fn Class(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Class)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetClass(&self, strclass: P0) -> windows_core::Result<()> @@ -1089,14 +1089,14 @@ impl ISWbemObjectPath { (windows_core::Interface::vtable(self).SetClass)(windows_core::Interface::as_raw(self), strclass.param().abi()).ok() } pub unsafe fn IsClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsClass)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSingleton)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAsSingleton(&self) -> windows_core::Result<()> { @@ -1104,16 +1104,16 @@ impl ISWbemObjectPath { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Keys(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Keys)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Locale(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Locale)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLocale(&self, strlocale: P0) -> windows_core::Result<()> @@ -1123,7 +1123,7 @@ impl ISWbemObjectPath { (windows_core::Interface::vtable(self).SetLocale)(windows_core::Interface::as_raw(self), strlocale.param().abi()).ok() } pub unsafe fn Authority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Authority)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetAuthority(&self, strauthority: P0) -> windows_core::Result<()> @@ -1137,19 +1137,19 @@ impl ISWbemObjectPath { #[repr(C)] pub struct ISWbemObjectPath_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RelPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRelPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Server: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Namespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ParentNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Class: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetClass: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RelPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRelPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Server: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Namespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ParentNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Class: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetClass: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetAsClass: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsSingleton: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1162,10 +1162,10 @@ pub struct ISWbemObjectPath_Vtbl { pub Security_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Security_: usize, - pub Locale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Authority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetAuthority: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Locale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Authority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetAuthority: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemObjectSet, ISWbemObjectSet_Vtbl, 0x76a6415f_cb41_11d1_8b02_00600806d9b6); @@ -1173,7 +1173,7 @@ windows_core::imp::define_interface!(ISWbemObjectSet, ISWbemObjectSet_Vtbl, 0x76 impl std::ops::Deref for ISWbemObjectSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1181,7 +1181,7 @@ windows_core::imp::interface_hierarchy!(ISWbemObjectSet, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISWbemObjectSet { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1189,21 +1189,21 @@ impl ISWbemObjectSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), strobjectpath.param().abi(), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ItemIndex(&self, lindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemIndex)(windows_core::Interface::as_raw(self), lindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1213,7 +1213,7 @@ pub struct ISWbemObjectSet_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -1232,7 +1232,7 @@ windows_core::imp::define_interface!(ISWbemPrivilege, ISWbemPrivilege_Vtbl, 0x26 impl std::ops::Deref for ISWbemPrivilege { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1240,7 +1240,7 @@ windows_core::imp::interface_hierarchy!(ISWbemPrivilege, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISWbemPrivilege { pub unsafe fn IsEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsEnabled(&self, bisenabled: P0) -> windows_core::Result<()> @@ -1250,15 +1250,15 @@ impl ISWbemPrivilege { (windows_core::Interface::vtable(self).SetIsEnabled)(windows_core::Interface::as_raw(self), bisenabled.param().abi()).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Identifier(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Identifier)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1268,8 +1268,8 @@ pub struct ISWbemPrivilege_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetIsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WbemPrivilegeEnum) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -1278,7 +1278,7 @@ windows_core::imp::define_interface!(ISWbemPrivilegeSet, ISWbemPrivilegeSet_Vtbl impl std::ops::Deref for ISWbemPrivilegeSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1286,16 +1286,16 @@ windows_core::imp::interface_hierarchy!(ISWbemPrivilegeSet, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISWbemPrivilegeSet { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, iprivilege: WbemPrivilegeEnum) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), iprivilege, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1303,7 +1303,7 @@ impl ISWbemPrivilegeSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), iprivilege, bisenabled.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, iprivilege: WbemPrivilegeEnum) -> windows_core::Result<()> { @@ -1318,7 +1318,7 @@ impl ISWbemPrivilegeSet { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddAsString)(windows_core::Interface::as_raw(self), strprivilege.param().abi(), bisenabled.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1339,7 +1339,7 @@ pub struct ISWbemPrivilegeSet_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, WbemPrivilegeEnum) -> windows_core::HRESULT, pub DeleteAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub AddAsString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddAsString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddAsString: usize, } @@ -1349,7 +1349,7 @@ windows_core::imp::define_interface!(ISWbemProperty, ISWbemProperty_Vtbl, 0x1a38 impl std::ops::Deref for ISWbemProperty { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1357,35 +1357,35 @@ windows_core::imp::interface_hierarchy!(ISWbemProperty, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISWbemProperty { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, varvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute(varvalue)).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLocal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Origin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Origin)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CIMType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CIMType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Qualifiers_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Qualifiers_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsArray(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsArray)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1393,11 +1393,11 @@ impl ISWbemProperty { #[repr(C)] pub struct ISWbemProperty_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Origin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Origin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CIMType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WbemCimtypeEnum) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Qualifiers_: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1411,7 +1411,7 @@ windows_core::imp::define_interface!(ISWbemPropertySet, ISWbemPropertySet_Vtbl, impl std::ops::Deref for ISWbemPropertySet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1419,7 +1419,7 @@ windows_core::imp::interface_hierarchy!(ISWbemPropertySet, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl ISWbemPropertySet { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1427,11 +1427,11 @@ impl ISWbemPropertySet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), strname.param().abi(), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1440,7 +1440,7 @@ impl ISWbemPropertySet { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), strname.param().abi(), icimtype, bisarray.param().abi(), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, strname: P0, iflags: i32) -> windows_core::Result<()> @@ -1456,15 +1456,15 @@ pub struct ISWbemPropertySet_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WbemCimtypeEnum, super::super::Foundation::VARIANT_BOOL, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WbemCimtypeEnum, super::super::Foundation::VARIANT_BOOL, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemQualifier, ISWbemQualifier_Vtbl, 0x79b05932_d3b7_11d1_8b06_00600806d9b6); @@ -1472,7 +1472,7 @@ windows_core::imp::define_interface!(ISWbemQualifier, ISWbemQualifier_Vtbl, 0x79 impl std::ops::Deref for ISWbemQualifier { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1480,22 +1480,22 @@ windows_core::imp::interface_hierarchy!(ISWbemQualifier, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISWbemQualifier { pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, varvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), core::mem::transmute(varvalue)).ok() } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsLocal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLocal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PropagatesToSubclass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropagatesToSubclass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPropagatesToSubclass(&self, bpropagatestosubclass: P0) -> windows_core::Result<()> @@ -1505,7 +1505,7 @@ impl ISWbemQualifier { (windows_core::Interface::vtable(self).SetPropagatesToSubclass)(windows_core::Interface::as_raw(self), bpropagatestosubclass.param().abi()).ok() } pub unsafe fn PropagatesToInstance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropagatesToInstance)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPropagatesToInstance(&self, bpropagatestoinstance: P0) -> windows_core::Result<()> @@ -1515,7 +1515,7 @@ impl ISWbemQualifier { (windows_core::Interface::vtable(self).SetPropagatesToInstance)(windows_core::Interface::as_raw(self), bpropagatestoinstance.param().abi()).ok() } pub unsafe fn IsOverridable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsOverridable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIsOverridable(&self, bisoverridable: P0) -> windows_core::Result<()> @@ -1525,7 +1525,7 @@ impl ISWbemQualifier { (windows_core::Interface::vtable(self).SetIsOverridable)(windows_core::Interface::as_raw(self), bisoverridable.param().abi()).ok() } pub unsafe fn IsAmended(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAmended)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1533,9 +1533,9 @@ impl ISWbemQualifier { #[repr(C)] pub struct ISWbemQualifier_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub PropagatesToSubclass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetPropagatesToSubclass: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1551,7 +1551,7 @@ windows_core::imp::define_interface!(ISWbemQualifierSet, ISWbemQualifierSet_Vtbl impl std::ops::Deref for ISWbemQualifierSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1559,7 +1559,7 @@ windows_core::imp::interface_hierarchy!(ISWbemQualifierSet, windows_core::IUnkno #[cfg(feature = "Win32_System_Com")] impl ISWbemQualifierSet { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1567,11 +1567,11 @@ impl ISWbemQualifierSet { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), name.param().abi(), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1582,7 +1582,7 @@ impl ISWbemQualifierSet { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), strname.param().abi(), core::mem::transmute(varval), bpropagatestosubclass.param().abi(), bpropagatestoinstance.param().abi(), bisoverridable.param().abi(), iflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, strname: P0, iflags: i32) -> windows_core::Result<()> @@ -1598,15 +1598,15 @@ pub struct ISWbemQualifierSet_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemRefreshableItem, ISWbemRefreshableItem_Vtbl, 0x5ad4bf92_daab_11d3_b38f_00105a1f473a); @@ -1614,7 +1614,7 @@ windows_core::imp::define_interface!(ISWbemRefreshableItem, ISWbemRefreshableIte impl std::ops::Deref for ISWbemRefreshableItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1622,26 +1622,26 @@ windows_core::imp::interface_hierarchy!(ISWbemRefreshableItem, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl ISWbemRefreshableItem { pub unsafe fn Index(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Index)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Refresher(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Refresher)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Object(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Object)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ObjectSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ObjectSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, iflags: i32) -> windows_core::Result<()> { @@ -1674,7 +1674,7 @@ windows_core::imp::define_interface!(ISWbemRefresher, ISWbemRefresher_Vtbl, 0x14 impl std::ops::Deref for ISWbemRefresher { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1682,16 +1682,16 @@ windows_core::imp::interface_hierarchy!(ISWbemRefresher, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISWbemRefresher { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, iindex: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), iindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1701,7 +1701,7 @@ impl ISWbemRefresher { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), objwbemservices.param().abi(), bsinstancepath.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1711,7 +1711,7 @@ impl ISWbemRefresher { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddEnum)(windows_core::Interface::as_raw(self), objwbemservices.param().abi(), bsclassname.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, iindex: i32, iflags: i32) -> windows_core::Result<()> { @@ -1721,7 +1721,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoReconnect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoReconnect(&self, bcount: P0) -> windows_core::Result<()> @@ -1745,11 +1745,11 @@ pub struct ISWbemRefresher_Vtbl { Item: usize, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, #[cfg(feature = "Win32_System_Com")] - pub AddEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AddEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddEnum: usize, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, @@ -1764,7 +1764,7 @@ windows_core::imp::define_interface!(ISWbemSecurity, ISWbemSecurity_Vtbl, 0xb54d impl std::ops::Deref for ISWbemSecurity { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1772,14 +1772,14 @@ windows_core::imp::interface_hierarchy!(ISWbemSecurity, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ISWbemSecurity { pub unsafe fn ImpersonationLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImpersonationLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AuthenticationLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAuthenticationLevel(&self, iauthenticationlevel: WbemAuthenticationLevelEnum) -> windows_core::Result<()> { @@ -1787,7 +1787,7 @@ impl ISWbemSecurity { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Privileges(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Privileges)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1810,7 +1810,7 @@ windows_core::imp::define_interface!(ISWbemServices, ISWbemServices_Vtbl, 0x76a6 impl std::ops::Deref for ISWbemServices { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1823,7 +1823,7 @@ impl ISWbemServices { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), strobjectpath.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1860,7 +1860,7 @@ impl ISWbemServices { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstancesOf)(windows_core::Interface::as_raw(self), strclass.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1879,7 +1879,7 @@ impl ISWbemServices { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubclassesOf)(windows_core::Interface::as_raw(self), strsuperclass.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1899,7 +1899,7 @@ impl ISWbemServices { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecQuery)(windows_core::Interface::as_raw(self), strquery.param().abi(), strquerylanguage.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1927,7 +1927,7 @@ impl ISWbemServices { P8: windows_core::Param, P9: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssociatorsOf)(windows_core::Interface::as_raw(self), strobjectpath.param().abi(), strassocclass.param().abi(), strresultclass.param().abi(), strresultrole.param().abi(), strrole.param().abi(), bclassesonly.param().abi(), bschemaonly.param().abi(), strrequiredassocqualifier.param().abi(), strrequiredqualifier.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1959,7 +1959,7 @@ impl ISWbemServices { P5: windows_core::Param, P6: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReferencesTo)(windows_core::Interface::as_raw(self), strobjectpath.param().abi(), strresultclass.param().abi(), strrole.param().abi(), bclassesonly.param().abi(), bschemaonly.param().abi(), strrequiredqualifier.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1984,7 +1984,7 @@ impl ISWbemServices { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecNotificationQuery)(windows_core::Interface::as_raw(self), strquery.param().abi(), strquerylanguage.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2006,7 +2006,7 @@ impl ISWbemServices { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecMethod)(windows_core::Interface::as_raw(self), strobjectpath.param().abi(), strmethodname.param().abi(), objwbeminparameters.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2023,7 +2023,7 @@ impl ISWbemServices { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Security_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Security_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2032,75 +2032,75 @@ impl ISWbemServices { pub struct ISWbemServices_Vtbl { pub base__: super::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Get: usize, #[cfg(feature = "Win32_System_Com")] - pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetAsync: usize, #[cfg(feature = "Win32_System_Com")] - pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Delete: usize, #[cfg(feature = "Win32_System_Com")] - pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] DeleteAsync: usize, #[cfg(feature = "Win32_System_Com")] - pub InstancesOf: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InstancesOf: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InstancesOf: usize, #[cfg(feature = "Win32_System_Com")] - pub InstancesOfAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InstancesOfAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InstancesOfAsync: usize, #[cfg(feature = "Win32_System_Com")] - pub SubclassesOf: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SubclassesOf: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SubclassesOf: usize, #[cfg(feature = "Win32_System_Com")] - pub SubclassesOfAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SubclassesOfAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SubclassesOfAsync: usize, #[cfg(feature = "Win32_System_Com")] - pub ExecQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExecQuery: usize, #[cfg(feature = "Win32_System_Com")] - pub ExecQueryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecQueryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExecQueryAsync: usize, #[cfg(feature = "Win32_System_Com")] - pub AssociatorsOf: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AssociatorsOf: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AssociatorsOf: usize, #[cfg(feature = "Win32_System_Com")] - pub AssociatorsOfAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AssociatorsOfAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AssociatorsOfAsync: usize, #[cfg(feature = "Win32_System_Com")] - pub ReferencesTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReferencesTo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReferencesTo: usize, #[cfg(feature = "Win32_System_Com")] - pub ReferencesToAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ReferencesToAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ReferencesToAsync: usize, #[cfg(feature = "Win32_System_Com")] - pub ExecNotificationQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecNotificationQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExecNotificationQuery: usize, #[cfg(feature = "Win32_System_Com")] - pub ExecNotificationQueryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecNotificationQueryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExecNotificationQueryAsync: usize, #[cfg(feature = "Win32_System_Com")] - pub ExecMethod: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecMethod: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExecMethod: usize, #[cfg(feature = "Win32_System_Com")] - pub ExecMethodAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecMethodAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExecMethodAsync: usize, #[cfg(feature = "Win32_System_Com")] @@ -2114,7 +2114,7 @@ windows_core::imp::define_interface!(ISWbemServicesEx, ISWbemServicesEx_Vtbl, 0x impl std::ops::Deref for ISWbemServicesEx { type Target = ISWbemServices; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2127,7 +2127,7 @@ impl ISWbemServicesEx { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Put)(windows_core::Interface::as_raw(self), objwbemobject.param().abi(), iflags, objwbemnamedvalueset.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2160,7 +2160,7 @@ windows_core::imp::define_interface!(ISWbemSink, ISWbemSink_Vtbl, 0x75718c9f_f02 impl std::ops::Deref for ISWbemSink { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2183,7 +2183,7 @@ windows_core::imp::define_interface!(ISWbemSinkEvents, ISWbemSinkEvents_Vtbl, 0x impl std::ops::Deref for ISWbemSinkEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2199,7 +2199,7 @@ windows_core::imp::define_interface!(IUnsecuredApartment, IUnsecuredApartment_Vt impl std::ops::Deref for IUnsecuredApartment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUnsecuredApartment, windows_core::IUnknown); @@ -2208,7 +2208,7 @@ impl IUnsecuredApartment { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateObjectStub)(windows_core::Interface::as_raw(self), pobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2223,7 +2223,7 @@ windows_core::imp::define_interface!(IWMIExtension, IWMIExtension_Vtbl, 0xadc1f0 impl std::ops::Deref for IWMIExtension { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2231,17 +2231,17 @@ windows_core::imp::interface_hierarchy!(IWMIExtension, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IWMIExtension { pub unsafe fn WMIObjectPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WMIObjectPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWMIObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWMIObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWMIServices(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWMIServices)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2249,7 +2249,7 @@ impl IWMIExtension { #[repr(C)] pub struct IWMIExtension_Vtbl { pub base__: super::Com::IDispatch_Vtbl, - pub WMIObjectPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WMIObjectPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetWMIObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2263,7 +2263,7 @@ windows_core::imp::define_interface!(IWbemAddressResolution, IWbemAddressResolut impl std::ops::Deref for IWbemAddressResolution { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemAddressResolution, windows_core::IUnknown); @@ -2284,7 +2284,7 @@ windows_core::imp::define_interface!(IWbemBackupRestore, IWbemBackupRestore_Vtbl impl std::ops::Deref for IWbemBackupRestore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemBackupRestore, windows_core::IUnknown); @@ -2312,7 +2312,7 @@ windows_core::imp::define_interface!(IWbemBackupRestoreEx, IWbemBackupRestoreEx_ impl std::ops::Deref for IWbemBackupRestoreEx { type Target = IWbemBackupRestore; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemBackupRestoreEx, windows_core::IUnknown, IWbemBackupRestore); @@ -2334,25 +2334,25 @@ windows_core::imp::define_interface!(IWbemCallResult, IWbemCallResult_Vtbl, 0x44 impl std::ops::Deref for IWbemCallResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemCallResult, windows_core::IUnknown); impl IWbemCallResult { pub unsafe fn GetResultObject(&self, ltimeout: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResultObject)(windows_core::Interface::as_raw(self), ltimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetResultString(&self, ltimeout: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResultString)(windows_core::Interface::as_raw(self), ltimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetResultServices(&self, ltimeout: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResultServices)(windows_core::Interface::as_raw(self), ltimeout, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCallStatus(&self, ltimeout: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCallStatus)(windows_core::Interface::as_raw(self), ltimeout, &mut result__).map(|| result__) } } @@ -2360,7 +2360,7 @@ impl IWbemCallResult { pub struct IWbemCallResult_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetResultObject: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetResultString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetResultString: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetResultServices: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCallStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } @@ -2368,13 +2368,13 @@ windows_core::imp::define_interface!(IWbemClassObject, IWbemClassObject_Vtbl, 0x impl std::ops::Deref for IWbemClassObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemClassObject, windows_core::IUnknown); impl IWbemClassObject { pub unsafe fn GetQualifierSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetQualifierSet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Get(&self, wszname: P0, lflags: i32, pval: *mut windows_core::VARIANT, ptype: Option<*mut i32>, plflavor: Option<*mut i32>) -> windows_core::Result<()> @@ -2400,7 +2400,7 @@ impl IWbemClassObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNames)(windows_core::Interface::as_raw(self), wszqualifiername.param().abi(), lflags, core::mem::transmute(pqualifierval), &mut result__).map(|| result__) } pub unsafe fn BeginEnumeration(&self, lenumflags: i32) -> windows_core::Result<()> { @@ -2416,23 +2416,23 @@ impl IWbemClassObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyQualifierSet)(windows_core::Interface::as_raw(self), wszproperty.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetObjectText(&self, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectText)(windows_core::Interface::as_raw(self), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SpawnDerivedClass(&self, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SpawnDerivedClass)(windows_core::Interface::as_raw(self), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SpawnInstance(&self, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SpawnInstance)(windows_core::Interface::as_raw(self), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CompareTo(&self, lflags: WBEM_COMPARISON_FLAG, pcompareto: P0) -> windows_core::Result<()> @@ -2445,7 +2445,7 @@ impl IWbemClassObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyOrigin)(windows_core::Interface::as_raw(self), wszname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InheritsFrom(&self, strancestor: P0) -> windows_core::Result<()> @@ -2487,14 +2487,14 @@ impl IWbemClassObject { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMethodQualifierSet)(windows_core::Interface::as_raw(self), wszmethod.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMethodOrigin(&self, wszmethodname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMethodOrigin)(windows_core::Interface::as_raw(self), wszmethodname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2502,38 +2502,38 @@ impl IWbemClassObject { pub struct IWbemClassObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetQualifierSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut std::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, - pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *const std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut core::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, + pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *const core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub GetNames: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, WBEM_CONDITION_FLAG_TYPE, *const std::mem::MaybeUninit, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, + pub GetNames: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, WBEM_CONDITION_FLAG_TYPE, *const core::mem::MaybeUninit, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetNames: usize, pub BeginEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, pub EndEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPropertyQualifierSet: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetObjectText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetObjectText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SpawnDerivedClass: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SpawnInstance: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CompareTo: unsafe extern "system" fn(*mut core::ffi::c_void, WBEM_COMPARISON_FLAG, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetPropertyOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPropertyOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub InheritsFrom: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetMethod: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PutMethod: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteMethod: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub BeginMethodEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub NextMethod: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub NextMethod: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndMethodEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMethodQualifierSet: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetMethodOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMethodOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemClientConnectionTransport, IWbemClientConnectionTransport_Vtbl, 0xa889c72a_fcc1_4a9e_af61_ed071333fb5b); impl std::ops::Deref for IWbemClientConnectionTransport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemClientConnectionTransport, windows_core::IUnknown); @@ -2573,15 +2573,15 @@ impl IWbemClientConnectionTransport { #[repr(C)] pub struct IWbemClientConnectionTransport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u8, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u8, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, *mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemClientTransport, IWbemClientTransport_Vtbl, 0xf7ce2e11_8c90_11d1_9e7b_00c04fc324a8); impl std::ops::Deref for IWbemClientTransport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemClientTransport, windows_core::IUnknown); @@ -2596,20 +2596,20 @@ impl IWbemClientTransport { P5: windows_core::Param, P6: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectServer)(windows_core::Interface::as_raw(self), straddresstype.param().abi(), abbinaryaddress.len().try_into().unwrap(), core::mem::transmute(abbinaryaddress.as_ptr()), strnetworkresource.param().abi(), struser.param().abi(), strpassword.param().abi(), strlocale.param().abi(), lsecurityflags, strauthority.param().abi(), pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IWbemClientTransport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ConnectServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, *const u8, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemConfigureRefresher, IWbemConfigureRefresher_Vtbl, 0x49353c92_516b_11d1_aea6_00c04fb68820); impl std::ops::Deref for IWbemConfigureRefresher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemConfigureRefresher, windows_core::IUnknown); @@ -2661,7 +2661,7 @@ windows_core::imp::define_interface!(IWbemConnectorLogin, IWbemConnectorLogin_Vt impl std::ops::Deref for IWbemConnectorLogin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemConnectorLogin, windows_core::IUnknown); @@ -2686,7 +2686,7 @@ windows_core::imp::define_interface!(IWbemConstructClassObject, IWbemConstructCl impl std::ops::Deref for IWbemConstructClassObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemConstructClassObject, windows_core::IUnknown); @@ -2726,18 +2726,18 @@ windows_core::imp::define_interface!(IWbemContext, IWbemContext_Vtbl, 0x44aca674 impl std::ops::Deref for IWbemContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemContext, windows_core::IUnknown); impl IWbemContext { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNames(&self, lflags: i32) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNames)(windows_core::Interface::as_raw(self), lflags, &mut result__).map(|| result__) } pub unsafe fn BeginEnumeration(&self, lflags: i32) -> windows_core::Result<()> { @@ -2759,7 +2759,7 @@ impl IWbemContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), wszname.param().abi(), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteValue(&self, wszname: P0, lflags: i32) -> windows_core::Result<()> @@ -2781,10 +2781,10 @@ pub struct IWbemContext_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetNames: usize, pub BeginEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub EndEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DeleteValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, pub DeleteAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -2792,7 +2792,7 @@ windows_core::imp::define_interface!(IWbemDecoupledBasicEventProvider, IWbemDeco impl std::ops::Deref for IWbemDecoupledBasicEventProvider { type Target = IWbemDecoupledRegistrar; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemDecoupledBasicEventProvider, windows_core::IUnknown, IWbemDecoupledRegistrar); @@ -2801,14 +2801,14 @@ impl IWbemDecoupledBasicEventProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSink)(windows_core::Interface::as_raw(self), a_flags, a_context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetService(&self, a_flags: i32, a_context: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetService)(windows_core::Interface::as_raw(self), a_flags, a_context.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2822,7 +2822,7 @@ windows_core::imp::define_interface!(IWbemDecoupledRegistrar, IWbemDecoupledRegi impl std::ops::Deref for IWbemDecoupledRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemDecoupledRegistrar, windows_core::IUnknown); @@ -2852,7 +2852,7 @@ windows_core::imp::define_interface!(IWbemEventConsumerProvider, IWbemEventConsu impl std::ops::Deref for IWbemEventConsumerProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemEventConsumerProvider, windows_core::IUnknown); @@ -2861,7 +2861,7 @@ impl IWbemEventConsumerProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindConsumer)(windows_core::Interface::as_raw(self), plogicalconsumer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2874,7 +2874,7 @@ windows_core::imp::define_interface!(IWbemEventProvider, IWbemEventProvider_Vtbl impl std::ops::Deref for IWbemEventProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemEventProvider, windows_core::IUnknown); @@ -2895,7 +2895,7 @@ windows_core::imp::define_interface!(IWbemEventProviderQuerySink, IWbemEventProv impl std::ops::Deref for IWbemEventProviderQuerySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemEventProviderQuerySink, windows_core::IUnknown); @@ -2917,7 +2917,7 @@ windows_core::imp::define_interface!(IWbemEventProviderSecurity, IWbemEventProvi impl std::ops::Deref for IWbemEventProviderSecurity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemEventProviderSecurity, windows_core::IUnknown); @@ -2935,7 +2935,7 @@ windows_core::imp::define_interface!(IWbemEventSink, IWbemEventSink_Vtbl, 0x3ae0 impl std::ops::Deref for IWbemEventSink { type Target = IWbemObjectSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemEventSink, windows_core::IUnknown, IWbemObjectSink); @@ -2950,7 +2950,7 @@ impl IWbemEventSink { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRestrictedSink)(windows_core::Interface::as_raw(self), awszqueries.len().try_into().unwrap(), core::mem::transmute(awszqueries.as_ptr()), pcallback.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBatchingParameters(&self, lflags: i32, dwmaxbuffersize: u32, dwmaxsendlatency: u32) -> windows_core::Result<()> { @@ -2969,7 +2969,7 @@ windows_core::imp::define_interface!(IWbemHiPerfEnum, IWbemHiPerfEnum_Vtbl, 0x27 impl std::ops::Deref for IWbemHiPerfEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemHiPerfEnum, windows_core::IUnknown); @@ -2999,7 +2999,7 @@ windows_core::imp::define_interface!(IWbemHiPerfProvider, IWbemHiPerfProvider_Vt impl std::ops::Deref for IWbemHiPerfProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemHiPerfProvider, windows_core::IUnknown); @@ -3017,7 +3017,7 @@ impl IWbemHiPerfProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRefresher)(windows_core::Interface::as_raw(self), pnamespace.param().abi(), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRefreshableObject(&self, pnamespace: P0, ptemplate: P1, prefresher: P2, lflags: i32, pcontext: P3, pprefreshable: *mut Option, plid: *mut i32) -> windows_core::Result<()> @@ -3043,7 +3043,7 @@ impl IWbemHiPerfProvider { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRefreshableEnum)(windows_core::Interface::as_raw(self), pnamespace.param().abi(), wszclass.param().abi(), prefresher.param().abi(), lflags, pcontext.param().abi(), phiperfenum.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetObjects(&self, pnamespace: P0, apobj: &mut [Option], lflags: i32, pcontext: P1) -> windows_core::Result<()> @@ -3068,7 +3068,7 @@ windows_core::imp::define_interface!(IWbemLevel1Login, IWbemLevel1Login_Vtbl, 0x impl std::ops::Deref for IWbemLevel1Login { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemLevel1Login, windows_core::IUnknown); @@ -3077,7 +3077,7 @@ impl IWbemLevel1Login { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EstablishPosition)(windows_core::Interface::as_raw(self), wszlocalelist.param().abi(), dwnumlocales, &mut result__).map(|| result__) } pub unsafe fn RequestChallenge(&self, wsznetworkresource: P0, wszuser: P1) -> windows_core::Result @@ -3085,7 +3085,7 @@ impl IWbemLevel1Login { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestChallenge)(windows_core::Interface::as_raw(self), wsznetworkresource.param().abi(), wszuser.param().abi(), &mut result__).map(|| result__) } pub unsafe fn WBEMLogin(&self, wszpreferredlocale: P0, accesstoken: *const u8, lflags: i32, pctx: P1) -> windows_core::Result @@ -3093,7 +3093,7 @@ impl IWbemLevel1Login { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WBEMLogin)(windows_core::Interface::as_raw(self), wszpreferredlocale.param().abi(), accesstoken, lflags, pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NTLMLogin(&self, wsznetworkresource: P0, wszpreferredlocale: P1, lflags: i32, pctx: P2) -> windows_core::Result @@ -3102,7 +3102,7 @@ impl IWbemLevel1Login { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NTLMLogin)(windows_core::Interface::as_raw(self), wsznetworkresource.param().abi(), wszpreferredlocale.param().abi(), lflags, pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3118,7 +3118,7 @@ windows_core::imp::define_interface!(IWbemLocator, IWbemLocator_Vtbl, 0xdc12a687 impl std::ops::Deref for IWbemLocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemLocator, windows_core::IUnknown); @@ -3132,20 +3132,20 @@ impl IWbemLocator { P4: windows_core::Param, P5: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectServer)(windows_core::Interface::as_raw(self), strnetworkresource.param().abi(), struser.param().abi(), strpassword.param().abi(), strlocale.param().abi(), lsecurityflags, strauthority.param().abi(), pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IWbemLocator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ConnectServer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ConnectServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemObjectAccess, IWbemObjectAccess_Vtbl, 0x49353c9a_516b_11d1_aea6_00c04fb68820); impl std::ops::Deref for IWbemObjectAccess { type Target = IWbemClassObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemObjectAccess, windows_core::IUnknown, IWbemClassObject); @@ -3163,14 +3163,14 @@ impl IWbemObjectAccess { (windows_core::Interface::vtable(self).ReadPropertyValue)(windows_core::Interface::as_raw(self), lhandle, adata.len().try_into().unwrap(), plnumbytes, core::mem::transmute(adata.as_ptr())).ok() } pub unsafe fn ReadDWORD(&self, lhandle: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadDWORD)(windows_core::Interface::as_raw(self), lhandle, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadQWORD)(windows_core::Interface::as_raw(self), lhandle, &mut result__).map(|| result__) } pub unsafe fn WriteQWORD(&self, lhandle: i32, pw: u64) -> windows_core::Result<()> { @@ -3196,7 +3196,7 @@ pub struct IWbemObjectAccess_Vtbl { pub WriteDWORD: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32) -> windows_core::HRESULT, pub ReadQWORD: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut u64) -> windows_core::HRESULT, pub WriteQWORD: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u64) -> windows_core::HRESULT, - pub GetPropertyInfoByHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetPropertyInfoByHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub Lock: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } @@ -3204,7 +3204,7 @@ windows_core::imp::define_interface!(IWbemObjectSink, IWbemObjectSink_Vtbl, 0x7c impl std::ops::Deref for IWbemObjectSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemObjectSink, windows_core::IUnknown); @@ -3224,13 +3224,13 @@ impl IWbemObjectSink { pub struct IWbemObjectSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Indicate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, windows_core::HRESULT, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, windows_core::HRESULT, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemObjectSinkEx, IWbemObjectSinkEx_Vtbl, 0xe7d35cfa_348b_485e_b524_252725d697ca); impl std::ops::Deref for IWbemObjectSinkEx { type Target = IWbemObjectSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemObjectSinkEx, windows_core::IUnknown, IWbemObjectSink); @@ -3245,14 +3245,14 @@ impl IWbemObjectSinkEx { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WriteError)(windows_core::Interface::as_raw(self), pobjerror.param().abi(), &mut result__).map(|| result__) } pub unsafe fn PromptUser(&self, strmessage: P0, uprompttype: u8) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PromptUser)(windows_core::Interface::as_raw(self), strmessage.param().abi(), uprompttype, &mut result__).map(|| result__) } pub unsafe fn WriteProgress(&self, stractivity: P0, strcurrentoperation: P1, strstatusdescription: P2, upercentcomplete: u32, usecondsremaining: u32) -> windows_core::Result<()> @@ -3273,17 +3273,17 @@ impl IWbemObjectSinkEx { #[repr(C)] pub struct IWbemObjectSinkEx_Vtbl { pub base__: IWbemObjectSink_Vtbl, - pub WriteMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub WriteMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub WriteError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, - pub PromptUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u8, *mut u8) -> windows_core::HRESULT, - pub WriteProgress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, u32) -> windows_core::HRESULT, - pub WriteStreamParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, u32, u32) -> windows_core::HRESULT, + pub PromptUser: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u8, *mut u8) -> windows_core::HRESULT, + pub WriteProgress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, u32) -> windows_core::HRESULT, + pub WriteStreamParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemObjectTextSrc, IWbemObjectTextSrc_Vtbl, 0xbfbf883a_cad7_11d3_a11b_00105a1f515a); impl std::ops::Deref for IWbemObjectTextSrc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemObjectTextSrc, windows_core::IUnknown); @@ -3293,7 +3293,7 @@ impl IWbemObjectTextSrc { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), lflags, pobj.param().abi(), uobjtextformat, pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFromText(&self, lflags: i32, strtext: P0, uobjtextformat: u32, pctx: P1) -> windows_core::Result @@ -3301,21 +3301,21 @@ impl IWbemObjectTextSrc { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFromText)(windows_core::Interface::as_raw(self), lflags, strtext.param().abi(), uobjtextformat, pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IWbemObjectTextSrc_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CreateFromText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CreateFromText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemPath, IWbemPath_Vtbl, 0x3bc15af2_736c_477e_9e51_238af8667dcc); impl std::ops::Deref for IWbemPath { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemPath, windows_core::IUnknown); @@ -3330,7 +3330,7 @@ impl IWbemPath { (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), lflags, pubufflength, core::mem::transmute(psztext)).ok() } pub unsafe fn GetInfo(&self, urequestedinfo: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInfo)(windows_core::Interface::as_raw(self), urequestedinfo, &mut result__).map(|| result__) } pub unsafe fn SetServer(&self, name: P0) -> windows_core::Result<()> @@ -3343,7 +3343,7 @@ impl IWbemPath { (windows_core::Interface::vtable(self).GetServer)(windows_core::Interface::as_raw(self), punamebuflength, core::mem::transmute(pname)).ok() } pub unsafe fn GetNamespaceCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamespaceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNamespaceAt(&self, uindex: u32, pszname: P0) -> windows_core::Result<()> @@ -3362,7 +3362,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScopeCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetScope(&self, uindex: u32, pszclass: P0) -> windows_core::Result<()> @@ -3399,7 +3399,7 @@ impl IWbemPath { (windows_core::Interface::vtable(self).GetClassName)(windows_core::Interface::as_raw(self), pubufflength, core::mem::transmute(pszname)).ok() } pub unsafe fn GetKeyList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateClassPart(&self, lflags: i32, name: P0) -> windows_core::Result<()> @@ -3472,13 +3472,13 @@ windows_core::imp::define_interface!(IWbemPathKeyList, IWbemPathKeyList_Vtbl, 0x impl std::ops::Deref for IWbemPathKeyList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemPathKeyList, windows_core::IUnknown); impl IWbemPathKeyList { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetKey(&self, wszname: P0, uflags: u32, ucimtype: u32, pkeyval: *const core::ffi::c_void) -> windows_core::Result<()> @@ -3512,7 +3512,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInfo)(windows_core::Interface::as_raw(self), urequestedinfo, &mut result__).map(|| result__) } pub unsafe fn GetText(&self, lflags: i32, pubufflength: *mut u32, psztext: windows_core::PWSTR) -> windows_core::Result<()> { @@ -3524,9 +3524,9 @@ pub struct IWbemPathKeyList_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetKey: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, *const core::ffi::c_void) -> windows_core::HRESULT, - pub SetKey2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetKey2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetKey: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32, windows_core::PWSTR, *mut u32, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetKey2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32, windows_core::PWSTR, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub GetKey2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32, windows_core::PWSTR, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub RemoveKey: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub RemoveAllKeys: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub MakeSingleton: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, @@ -3537,7 +3537,7 @@ windows_core::imp::define_interface!(IWbemPropertyProvider, IWbemPropertyProvide impl std::ops::Deref for IWbemPropertyProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemPropertyProvider, windows_core::IUnknown); @@ -3549,7 +3549,7 @@ impl IWbemPropertyProvider { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), lflags, strlocale.param().abi(), strclassmapping.param().abi(), strinstmapping.param().abi(), strpropmapping.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PutProperty(&self, lflags: i32, strlocale: P0, strclassmapping: P1, strinstmapping: P2, strpropmapping: P3, pvvalue: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -3565,14 +3565,14 @@ impl IWbemPropertyProvider { #[repr(C)] pub struct IWbemPropertyProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemProviderIdentity, IWbemProviderIdentity_Vtbl, 0x631f7d97_d993_11d2_b339_00105a1f4aaf); impl std::ops::Deref for IWbemProviderIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemProviderIdentity, windows_core::IUnknown); @@ -3593,7 +3593,7 @@ windows_core::imp::define_interface!(IWbemProviderInit, IWbemProviderInit_Vtbl, impl std::ops::Deref for IWbemProviderInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemProviderInit, windows_core::IUnknown); @@ -3619,7 +3619,7 @@ windows_core::imp::define_interface!(IWbemProviderInitSink, IWbemProviderInitSin impl std::ops::Deref for IWbemProviderInitSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemProviderInitSink, windows_core::IUnknown); @@ -3637,7 +3637,7 @@ windows_core::imp::define_interface!(IWbemQualifierSet, IWbemQualifierSet_Vtbl, impl std::ops::Deref for IWbemQualifierSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemQualifierSet, windows_core::IUnknown); @@ -3662,7 +3662,7 @@ impl IWbemQualifierSet { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetNames(&self, lflags: i32) -> windows_core::Result<*mut super::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNames)(windows_core::Interface::as_raw(self), lflags, &mut result__).map(|| result__) } pub unsafe fn BeginEnumeration(&self, lflags: i32) -> windows_core::Result<()> { @@ -3678,22 +3678,22 @@ impl IWbemQualifierSet { #[repr(C)] pub struct IWbemQualifierSet_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetNames: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut super::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetNames: usize, pub BeginEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, pub EndEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemQuery, IWbemQuery_Vtbl, 0x81166f58_dd98_11d3_a120_00105a1f515a); impl std::ops::Deref for IWbemQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemQuery, windows_core::IUnknown); @@ -3739,7 +3739,7 @@ windows_core::imp::define_interface!(IWbemRefresher, IWbemRefresher_Vtbl, 0x4935 impl std::ops::Deref for IWbemRefresher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemRefresher, windows_core::IUnknown); @@ -3757,7 +3757,7 @@ windows_core::imp::define_interface!(IWbemServices, IWbemServices_Vtbl, 0x9556dc impl std::ops::Deref for IWbemServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemServices, windows_core::IUnknown); @@ -3776,7 +3776,7 @@ impl IWbemServices { (windows_core::Interface::vtable(self).CancelAsyncCall)(windows_core::Interface::as_raw(self), psink.param().abi()).ok() } pub unsafe fn QueryObjectSink(&self, lflags: WBEM_GENERIC_FLAG_TYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryObjectSink)(windows_core::Interface::as_raw(self), lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetObject(&self, strobjectpath: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, ppobject: Option<*mut Option>, ppcallresult: Option<*mut Option>) -> windows_core::Result<()> @@ -3829,7 +3829,7 @@ impl IWbemServices { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClassEnum)(windows_core::Interface::as_raw(self), strsuperclass.param().abi(), lflags, pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateClassEnumAsync(&self, strsuperclass: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, presponsehandler: P2) -> windows_core::Result<()> @@ -3875,7 +3875,7 @@ impl IWbemServices { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstanceEnum)(windows_core::Interface::as_raw(self), strfilter.param().abi(), lflags, pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInstanceEnumAsync(&self, strfilter: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, presponsehandler: P2) -> windows_core::Result<()> @@ -3892,7 +3892,7 @@ impl IWbemServices { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecQuery)(windows_core::Interface::as_raw(self), strquerylanguage.param().abi(), strquery.param().abi(), lflags, pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExecQueryAsync(&self, strquerylanguage: P0, strquery: P1, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P2, presponsehandler: P3) -> windows_core::Result<()> @@ -3910,7 +3910,7 @@ impl IWbemServices { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecNotificationQuery)(windows_core::Interface::as_raw(self), strquerylanguage.param().abi(), strquery.param().abi(), lflags, pctx.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExecNotificationQueryAsync(&self, strquerylanguage: P0, strquery: P1, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P2, presponsehandler: P3) -> windows_core::Result<()> @@ -3945,35 +3945,35 @@ impl IWbemServices { #[repr(C)] pub struct IWbemServices_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OpenNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub OpenNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelAsyncCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub QueryObjectSink: unsafe extern "system" fn(*mut core::ffi::c_void, WBEM_GENERIC_FLAG_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetObjectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetObjectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PutClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PutClassAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteClass: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteClassAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateClassEnum: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateClassEnumAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteClass: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteClassAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateClassEnum: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateClassEnumAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PutInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PutInstanceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteInstance: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub DeleteInstanceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateInstanceEnum: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreateInstanceEnumAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExecQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExecQueryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExecNotificationQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExecNotificationQueryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExecMethod: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExecMethodAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub DeleteInstanceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstanceEnum: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateInstanceEnumAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecQueryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecNotificationQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecNotificationQueryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecMethod: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ExecMethodAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemShutdown, IWbemShutdown_Vtbl, 0xb7b31df9_d515_11d3_a11c_00105a1f515a); impl std::ops::Deref for IWbemShutdown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemShutdown, windows_core::IUnknown); @@ -3994,31 +3994,31 @@ windows_core::imp::define_interface!(IWbemStatusCodeText, IWbemStatusCodeText_Vt impl std::ops::Deref for IWbemStatusCodeText { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemStatusCodeText, windows_core::IUnknown); impl IWbemStatusCodeText { pub unsafe fn GetErrorCodeText(&self, hres: windows_core::HRESULT, localeid: u32, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorCodeText)(windows_core::Interface::as_raw(self), hres, localeid, lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFacilityCodeText(&self, hres: windows_core::HRESULT, localeid: u32, lflags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFacilityCodeText)(windows_core::Interface::as_raw(self), hres, localeid, lflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IWbemStatusCodeText_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetErrorCodeText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetFacilityCodeText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetErrorCodeText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetFacilityCodeText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemTransport, IWbemTransport_Vtbl, 0x553fe584_2156_11d0_b6ae_00aa003240c7); impl std::ops::Deref for IWbemTransport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemTransport, windows_core::IUnknown); @@ -4036,7 +4036,7 @@ windows_core::imp::define_interface!(IWbemUnboundObjectSink, IWbemUnboundObjectS impl std::ops::Deref for IWbemUnboundObjectSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemUnboundObjectSink, windows_core::IUnknown); @@ -4057,7 +4057,7 @@ windows_core::imp::define_interface!(IWbemUnsecuredApartment, IWbemUnsecuredApar impl std::ops::Deref for IWbemUnsecuredApartment { type Target = IUnsecuredApartment; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWbemUnsecuredApartment, windows_core::IUnknown, IUnsecuredApartment); @@ -4067,7 +4067,7 @@ impl IWbemUnsecuredApartment { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSinkStub)(windows_core::Interface::as_raw(self), psink.param().abi(), dwflags, wszreserved.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8278,7 +8278,7 @@ pub struct SWbemAssocQueryInf { pub m_uVersion: u32, pub m_uAnalysisType: u32, pub m_uFeatureMask: u32, - pub m_pPath: std::mem::ManuallyDrop>, + pub m_pPath: core::mem::ManuallyDrop>, pub m_pszPath: windows_core::PWSTR, pub m_pszQueryText: windows_core::PWSTR, pub m_pszResultClass: windows_core::PWSTR, diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs index beff9df7ba..25c25f6df9 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs @@ -21,7 +21,7 @@ pub trait IAccPropServer_Impl: Sized { impl windows_core::RuntimeName for IAccPropServer {} impl IAccPropServer_Vtbl { pub const fn new, Impl: IAccPropServer_Impl, const OFFSET: isize>() -> IAccPropServer_Vtbl { - unsafe extern "system" fn GetPropValue, Impl: IAccPropServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidstring: *const u8, dwidstringlen: u32, idprop: windows_core::GUID, pvarvalue: *mut std::mem::MaybeUninit, pfhasprop: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropValue, Impl: IAccPropServer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidstring: *const u8, dwidstringlen: u32, idprop: windows_core::GUID, pvarvalue: *mut core::mem::MaybeUninit, pfhasprop: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccPropServer_Impl::GetPropValue(this, core::mem::transmute_copy(&pidstring), core::mem::transmute_copy(&dwidstringlen), core::mem::transmute(&idprop), core::mem::transmute_copy(&pvarvalue), core::mem::transmute_copy(&pfhasprop)).into() @@ -55,7 +55,7 @@ impl windows_core::RuntimeName for IAccPropServices {} #[cfg(feature = "Win32_UI_WindowsAndMessaging")] impl IAccPropServices_Vtbl { pub const fn new, Impl: IAccPropServices_Impl, const OFFSET: isize>() -> IAccPropServices_Vtbl { - unsafe extern "system" fn SetPropValue, Impl: IAccPropServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidstring: *const u8, dwidstringlen: u32, idprop: windows_core::GUID, var: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPropValue, Impl: IAccPropServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidstring: *const u8, dwidstringlen: u32, idprop: windows_core::GUID, var: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccPropServices_Impl::SetPropValue(this, core::mem::transmute_copy(&pidstring), core::mem::transmute_copy(&dwidstringlen), core::mem::transmute(&idprop), core::mem::transmute(&var)).into() @@ -70,7 +70,7 @@ impl IAccPropServices_Vtbl { let this = (*this).get_impl(); IAccPropServices_Impl::ClearProps(this, core::mem::transmute_copy(&pidstring), core::mem::transmute_copy(&dwidstringlen), core::mem::transmute_copy(&paprops), core::mem::transmute_copy(&cprops)).into() } - unsafe extern "system" fn SetHwndProp, Impl: IAccPropServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: super::super::Foundation::HWND, idobject: u32, idchild: u32, idprop: windows_core::GUID, var: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHwndProp, Impl: IAccPropServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: super::super::Foundation::HWND, idobject: u32, idchild: u32, idprop: windows_core::GUID, var: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccPropServices_Impl::SetHwndProp(this, core::mem::transmute_copy(&hwnd), core::mem::transmute_copy(&idobject), core::mem::transmute_copy(&idchild), core::mem::transmute(&idprop), core::mem::transmute(&var)).into() @@ -100,7 +100,7 @@ impl IAccPropServices_Vtbl { let this = (*this).get_impl(); IAccPropServices_Impl::DecomposeHwndIdentityString(this, core::mem::transmute_copy(&pidstring), core::mem::transmute_copy(&dwidstringlen), core::mem::transmute_copy(&phwnd), core::mem::transmute_copy(&pidobject), core::mem::transmute_copy(&pidchild)).into() } - unsafe extern "system" fn SetHmenuProp, Impl: IAccPropServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hmenu: super::WindowsAndMessaging::HMENU, idchild: u32, idprop: windows_core::GUID, var: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHmenuProp, Impl: IAccPropServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hmenu: super::WindowsAndMessaging::HMENU, idchild: u32, idprop: windows_core::GUID, var: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccPropServices_Impl::SetHmenuProp(this, core::mem::transmute_copy(&hmenu), core::mem::transmute_copy(&idchild), core::mem::transmute(&idprop), core::mem::transmute(&var)).into() @@ -204,7 +204,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accChild, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, ppdispchild: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn get_accChild, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, ppdispchild: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accChild(this, core::mem::transmute(&varchild)) { @@ -215,7 +215,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accName, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, pszname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_accName, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, pszname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accName(this, core::mem::transmute(&varchild)) { @@ -226,7 +226,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accValue, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, pszvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_accValue, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, pszvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accValue(this, core::mem::transmute(&varchild)) { @@ -237,7 +237,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accDescription, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, pszdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_accDescription, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, pszdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accDescription(this, core::mem::transmute(&varchild)) { @@ -248,7 +248,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accRole, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, pvarrole: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_accRole, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, pvarrole: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accRole(this, core::mem::transmute(&varchild)) { @@ -259,7 +259,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accState, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, pvarstate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_accState, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, pvarstate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accState(this, core::mem::transmute(&varchild)) { @@ -270,7 +270,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accHelp, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, pszhelp: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_accHelp, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, pszhelp: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accHelp(this, core::mem::transmute(&varchild)) { @@ -281,7 +281,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accHelpTopic, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhelpfile: *mut std::mem::MaybeUninit, varchild: std::mem::MaybeUninit, pidtopic: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn get_accHelpTopic, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhelpfile: *mut core::mem::MaybeUninit, varchild: core::mem::MaybeUninit, pidtopic: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accHelpTopic(this, core::mem::transmute_copy(&pszhelpfile), core::mem::transmute(&varchild)) { @@ -292,7 +292,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accKeyboardShortcut, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, pszkeyboardshortcut: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_accKeyboardShortcut, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, pszkeyboardshortcut: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accKeyboardShortcut(this, core::mem::transmute(&varchild)) { @@ -303,7 +303,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn accFocus, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarchild: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn accFocus, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarchild: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::accFocus(this) { @@ -314,7 +314,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn accSelection, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarchildren: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn accSelection, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarchildren: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::accSelection(this) { @@ -325,7 +325,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn get_accDefaultAction, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, pszdefaultaction: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_accDefaultAction, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, pszdefaultaction: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::get_accDefaultAction(this, core::mem::transmute(&varchild)) { @@ -336,17 +336,17 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn accSelect, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flagsselect: i32, varchild: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn accSelect, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flagsselect: i32, varchild: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccessible_Impl::accSelect(this, core::mem::transmute_copy(&flagsselect), core::mem::transmute(&varchild)).into() } - unsafe extern "system" fn accLocation, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pxleft: *mut i32, pytop: *mut i32, pcxwidth: *mut i32, pcyheight: *mut i32, varchild: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn accLocation, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pxleft: *mut i32, pytop: *mut i32, pcxwidth: *mut i32, pcyheight: *mut i32, varchild: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccessible_Impl::accLocation(this, core::mem::transmute_copy(&pxleft), core::mem::transmute_copy(&pytop), core::mem::transmute_copy(&pcxwidth), core::mem::transmute_copy(&pcyheight), core::mem::transmute(&varchild)).into() } - unsafe extern "system" fn accNavigate, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, navdir: i32, varstart: std::mem::MaybeUninit, pvarendupat: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn accNavigate, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, navdir: i32, varstart: core::mem::MaybeUninit, pvarendupat: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::accNavigate(this, core::mem::transmute_copy(&navdir), core::mem::transmute(&varstart)) { @@ -357,7 +357,7 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn accHitTest, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xleft: i32, ytop: i32, pvarchild: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn accHitTest, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, xleft: i32, ytop: i32, pvarchild: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccessible_Impl::accHitTest(this, core::mem::transmute_copy(&xleft), core::mem::transmute_copy(&ytop)) { @@ -368,17 +368,17 @@ impl IAccessible_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn accDoDefaultAction, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn accDoDefaultAction, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccessible_Impl::accDoDefaultAction(this, core::mem::transmute(&varchild)).into() } - unsafe extern "system" fn put_accName, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, szname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_accName, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, szname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccessible_Impl::put_accName(this, core::mem::transmute(&varchild), core::mem::transmute(&szname)).into() } - unsafe extern "system" fn put_accValue, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: std::mem::MaybeUninit, szvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_accValue, Impl: IAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varchild: core::mem::MaybeUninit, szvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccessible_Impl::put_accValue(this, core::mem::transmute(&varchild), core::mem::transmute(&szvalue)).into() @@ -625,7 +625,7 @@ impl IAnnotationProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AnnotationTypeName, Impl: IAnnotationProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AnnotationTypeName, Impl: IAnnotationProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAnnotationProvider_Impl::AnnotationTypeName(this) { @@ -636,7 +636,7 @@ impl IAnnotationProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Author, Impl: IAnnotationProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Author, Impl: IAnnotationProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAnnotationProvider_Impl::Author(this) { @@ -647,7 +647,7 @@ impl IAnnotationProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DateTime, Impl: IAnnotationProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DateTime, Impl: IAnnotationProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAnnotationProvider_Impl::DateTime(this) { @@ -761,7 +761,7 @@ impl IDragProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DropEffect, Impl: IDragProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DropEffect, Impl: IDragProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDragProvider_Impl::DropEffect(this) { @@ -816,7 +816,7 @@ impl windows_core::RuntimeName for IDropTargetProvider {} #[cfg(feature = "Win32_System_Com")] impl IDropTargetProvider_Vtbl { pub const fn new, Impl: IDropTargetProvider_Impl, const OFFSET: isize>() -> IDropTargetProvider_Vtbl { - unsafe extern "system" fn DropTargetEffect, Impl: IDropTargetProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DropTargetEffect, Impl: IDropTargetProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IDropTargetProvider_Impl::DropTargetEffect(this) { @@ -1041,7 +1041,7 @@ pub trait IItemContainerProvider_Impl: Sized { impl windows_core::RuntimeName for IItemContainerProvider {} impl IItemContainerProvider_Vtbl { pub const fn new, Impl: IItemContainerProvider_Impl, const OFFSET: isize>() -> IItemContainerProvider_Vtbl { - unsafe extern "system" fn FindItemByProperty, Impl: IItemContainerProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstartafter: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, value: std::mem::MaybeUninit, pfound: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindItemByProperty, Impl: IItemContainerProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstartafter: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, value: core::mem::MaybeUninit, pfound: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IItemContainerProvider_Impl::FindItemByProperty(this, windows_core::from_raw_borrowed(&pstartafter), core::mem::transmute_copy(&propertyid), core::mem::transmute(&value)) { @@ -1117,7 +1117,7 @@ impl ILegacyIAccessibleProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::Name(this) { @@ -1128,7 +1128,7 @@ impl ILegacyIAccessibleProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::Value(this) { @@ -1139,7 +1139,7 @@ impl ILegacyIAccessibleProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Description, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::Description(this) { @@ -1172,7 +1172,7 @@ impl ILegacyIAccessibleProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Help, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhelp: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Help, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhelp: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::Help(this) { @@ -1183,7 +1183,7 @@ impl ILegacyIAccessibleProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn KeyboardShortcut, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszkeyboardshortcut: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn KeyboardShortcut, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszkeyboardshortcut: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::KeyboardShortcut(this) { @@ -1205,7 +1205,7 @@ impl ILegacyIAccessibleProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DefaultAction, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdefaultaction: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DefaultAction, Impl: ILegacyIAccessibleProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdefaultaction: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILegacyIAccessibleProvider_Impl::DefaultAction(this) { @@ -1250,7 +1250,7 @@ impl windows_core::RuntimeName for IMultipleViewProvider {} #[cfg(feature = "Win32_System_Com")] impl IMultipleViewProvider_Vtbl { pub const fn new, Impl: IMultipleViewProvider_Impl, const OFFSET: isize>() -> IMultipleViewProvider_Vtbl { - unsafe extern "system" fn GetViewName, Impl: IMultipleViewProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, viewid: i32, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetViewName, Impl: IMultipleViewProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, viewid: i32, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IMultipleViewProvider_Impl::GetViewName(this, core::mem::transmute_copy(&viewid)) { @@ -1351,7 +1351,7 @@ impl windows_core::RuntimeName for IProxyProviderWinEventSink {} #[cfg(feature = "Win32_System_Com")] impl IProxyProviderWinEventSink_Vtbl { pub const fn new, Impl: IProxyProviderWinEventSink_Impl, const OFFSET: isize>() -> IProxyProviderWinEventSink_Vtbl { - unsafe extern "system" fn AddAutomationPropertyChangedEvent, Impl: IProxyProviderWinEventSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprovider: *mut core::ffi::c_void, id: UIA_PROPERTY_ID, newvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddAutomationPropertyChangedEvent, Impl: IProxyProviderWinEventSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pprovider: *mut core::ffi::c_void, id: UIA_PROPERTY_ID, newvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IProxyProviderWinEventSink_Impl::AddAutomationPropertyChangedEvent(this, windows_core::from_raw_borrowed(&pprovider), core::mem::transmute_copy(&id), core::mem::transmute(&newvalue)).into() @@ -1712,7 +1712,7 @@ impl IRawElementProviderSimple_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPropertyValue, Impl: IRawElementProviderSimple_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyValue, Impl: IRawElementProviderSimple_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRawElementProviderSimple_Impl::GetPropertyValue(this, core::mem::transmute_copy(&propertyid)) { @@ -1769,7 +1769,7 @@ pub trait IRawElementProviderSimple3_Impl: Sized + IRawElementProviderSimple2_Im impl windows_core::RuntimeName for IRawElementProviderSimple3 {} impl IRawElementProviderSimple3_Vtbl { pub const fn new, Impl: IRawElementProviderSimple3_Impl, const OFFSET: isize>() -> IRawElementProviderSimple3_Vtbl { - unsafe extern "system" fn GetMetadataValue, Impl: IRawElementProviderSimple3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetid: i32, metadataid: UIA_METADATA_ID, returnval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMetadataValue, Impl: IRawElementProviderSimple3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetid: i32, metadataid: UIA_METADATA_ID, returnval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IRawElementProviderSimple3_Impl::GetMetadataValue(this, core::mem::transmute_copy(&targetid), core::mem::transmute_copy(&metadataid)) { @@ -2194,7 +2194,7 @@ impl windows_core::RuntimeName for ISpreadsheetItemProvider {} #[cfg(feature = "Win32_System_Com")] impl ISpreadsheetItemProvider_Vtbl { pub const fn new, Impl: ISpreadsheetItemProvider_Impl, const OFFSET: isize>() -> ISpreadsheetItemProvider_Vtbl { - unsafe extern "system" fn Formula, Impl: ISpreadsheetItemProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Formula, Impl: ISpreadsheetItemProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISpreadsheetItemProvider_Impl::Formula(this) { @@ -2284,7 +2284,7 @@ impl IStylesProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn StyleName, Impl: IStylesProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StyleName, Impl: IStylesProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStylesProvider_Impl::StyleName(this) { @@ -2306,7 +2306,7 @@ impl IStylesProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FillPatternStyle, Impl: IStylesProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FillPatternStyle, Impl: IStylesProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStylesProvider_Impl::FillPatternStyle(this) { @@ -2317,7 +2317,7 @@ impl IStylesProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Shape, Impl: IStylesProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Shape, Impl: IStylesProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStylesProvider_Impl::Shape(this) { @@ -2339,7 +2339,7 @@ impl IStylesProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExtendedProperties, Impl: IStylesProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtendedProperties, Impl: IStylesProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IStylesProvider_Impl::ExtendedProperties(this) { @@ -2770,7 +2770,7 @@ impl ITextRangeProvider_Vtbl { let this = (*this).get_impl(); ITextRangeProvider_Impl::ExpandToEnclosingUnit(this, core::mem::transmute_copy(&unit)).into() } - unsafe extern "system" fn FindAttribute, Impl: ITextRangeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributeid: UIA_TEXTATTRIBUTE_ID, val: std::mem::MaybeUninit, backward: super::super::Foundation::BOOL, pretval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindAttribute, Impl: ITextRangeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributeid: UIA_TEXTATTRIBUTE_ID, val: core::mem::MaybeUninit, backward: super::super::Foundation::BOOL, pretval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRangeProvider_Impl::FindAttribute(this, core::mem::transmute_copy(&attributeid), core::mem::transmute(&val), core::mem::transmute_copy(&backward)) { @@ -2781,7 +2781,7 @@ impl ITextRangeProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindText, Impl: ITextRangeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit, backward: super::super::Foundation::BOOL, ignorecase: super::super::Foundation::BOOL, pretval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindText, Impl: ITextRangeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit, backward: super::super::Foundation::BOOL, ignorecase: super::super::Foundation::BOOL, pretval: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRangeProvider_Impl::FindText(this, core::mem::transmute(&text), core::mem::transmute_copy(&backward), core::mem::transmute_copy(&ignorecase)) { @@ -2792,7 +2792,7 @@ impl ITextRangeProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAttributeValue, Impl: ITextRangeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributeid: UIA_TEXTATTRIBUTE_ID, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttributeValue, Impl: ITextRangeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attributeid: UIA_TEXTATTRIBUTE_ID, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRangeProvider_Impl::GetAttributeValue(this, core::mem::transmute_copy(&attributeid)) { @@ -2825,7 +2825,7 @@ impl ITextRangeProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetText, Impl: ITextRangeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxlength: i32, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: ITextRangeProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxlength: i32, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRangeProvider_Impl::GetText(this, core::mem::transmute_copy(&maxlength)) { @@ -3408,7 +3408,7 @@ impl IUIAutomation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreatePropertyCondition, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, value: std::mem::MaybeUninit, newcondition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreatePropertyCondition, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, value: core::mem::MaybeUninit, newcondition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomation_Impl::CreatePropertyCondition(this, core::mem::transmute_copy(&propertyid), core::mem::transmute(&value)) { @@ -3419,7 +3419,7 @@ impl IUIAutomation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CreatePropertyConditionEx, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, value: std::mem::MaybeUninit, flags: PropertyConditionFlags, newcondition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreatePropertyConditionEx, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, value: core::mem::MaybeUninit, flags: PropertyConditionFlags, newcondition: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomation_Impl::CreatePropertyConditionEx(this, core::mem::transmute_copy(&propertyid), core::mem::transmute(&value), core::mem::transmute_copy(&flags)) { @@ -3579,7 +3579,7 @@ impl IUIAutomation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RectToVariant, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rc: super::super::Foundation::RECT, var: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RectToVariant, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rc: super::super::Foundation::RECT, var: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomation_Impl::RectToVariant(this, core::mem::transmute(&rc)) { @@ -3590,7 +3590,7 @@ impl IUIAutomation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn VariantToRect, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: std::mem::MaybeUninit, rc: *mut super::super::Foundation::RECT) -> windows_core::HRESULT { + unsafe extern "system" fn VariantToRect, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: core::mem::MaybeUninit, rc: *mut super::super::Foundation::RECT) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomation_Impl::VariantToRect(this, core::mem::transmute(&var)) { @@ -3634,7 +3634,7 @@ impl IUIAutomation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPropertyProgrammaticName, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: UIA_PROPERTY_ID, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyProgrammaticName, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: UIA_PROPERTY_ID, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomation_Impl::GetPropertyProgrammaticName(this, core::mem::transmute_copy(&property)) { @@ -3645,7 +3645,7 @@ impl IUIAutomation_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPatternProgrammaticName, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: UIA_PATTERN_ID, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPatternProgrammaticName, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pattern: UIA_PATTERN_ID, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomation_Impl::GetPatternProgrammaticName(this, core::mem::transmute_copy(&pattern)) { @@ -3666,7 +3666,7 @@ impl IUIAutomation_Vtbl { let this = (*this).get_impl(); IUIAutomation_Impl::PollForPotentialSupportedProperties(this, windows_core::from_raw_borrowed(&pelement), core::mem::transmute_copy(&propertyids), core::mem::transmute_copy(&propertynames)).into() } - unsafe extern "system" fn CheckNotSupported, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit, isnotsupported: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn CheckNotSupported, Impl: IUIAutomation_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit, isnotsupported: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomation_Impl::CheckNotSupported(this, core::mem::transmute(&value)) { @@ -4142,7 +4142,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentAnnotationTypeName, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentAnnotationTypeName, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CurrentAnnotationTypeName(this) { @@ -4153,7 +4153,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentAuthor, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentAuthor, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CurrentAuthor(this) { @@ -4164,7 +4164,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentDateTime, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentDateTime, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CurrentDateTime(this) { @@ -4197,7 +4197,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedAnnotationTypeName, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedAnnotationTypeName, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CachedAnnotationTypeName(this) { @@ -4208,7 +4208,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedAuthor, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedAuthor, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CachedAuthor(this) { @@ -4219,7 +4219,7 @@ impl IUIAutomationAnnotationPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedDateTime, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedDateTime, Impl: IUIAutomationAnnotationPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationAnnotationPattern_Impl::CachedDateTime(this) { @@ -4516,7 +4516,7 @@ impl IUIAutomationDragPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentDropEffect, Impl: IUIAutomationDragPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentDropEffect, Impl: IUIAutomationDragPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::CurrentDropEffect(this) { @@ -4527,7 +4527,7 @@ impl IUIAutomationDragPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedDropEffect, Impl: IUIAutomationDragPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedDropEffect, Impl: IUIAutomationDragPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationDragPattern_Impl::CachedDropEffect(this) { @@ -4610,7 +4610,7 @@ impl windows_core::RuntimeName for IUIAutomationDropTargetPattern {} #[cfg(feature = "Win32_System_Com")] impl IUIAutomationDropTargetPattern_Vtbl { pub const fn new, Impl: IUIAutomationDropTargetPattern_Impl, const OFFSET: isize>() -> IUIAutomationDropTargetPattern_Vtbl { - unsafe extern "system" fn CurrentDropTargetEffect, Impl: IUIAutomationDropTargetPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentDropTargetEffect, Impl: IUIAutomationDropTargetPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationDropTargetPattern_Impl::CurrentDropTargetEffect(this) { @@ -4621,7 +4621,7 @@ impl IUIAutomationDropTargetPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedDropTargetEffect, Impl: IUIAutomationDropTargetPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedDropTargetEffect, Impl: IUIAutomationDropTargetPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationDropTargetPattern_Impl::CachedDropTargetEffect(this) { @@ -4827,7 +4827,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCurrentPropertyValue, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCurrentPropertyValue, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCurrentPropertyValue(this, core::mem::transmute_copy(&propertyid)) { @@ -4838,7 +4838,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCurrentPropertyValueEx, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: super::super::Foundation::BOOL, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCurrentPropertyValueEx, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: super::super::Foundation::BOOL, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCurrentPropertyValueEx(this, core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&ignoredefaultvalue)) { @@ -4849,7 +4849,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCachedPropertyValue, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCachedPropertyValue, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCachedPropertyValue(this, core::mem::transmute_copy(&propertyid)) { @@ -4860,7 +4860,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCachedPropertyValueEx, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: super::super::Foundation::BOOL, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCachedPropertyValueEx, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: super::super::Foundation::BOOL, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::GetCachedPropertyValueEx(this, core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&ignoredefaultvalue)) { @@ -4947,7 +4947,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentLocalizedControlType, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentLocalizedControlType, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentLocalizedControlType(this) { @@ -4958,7 +4958,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentName, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentName, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentName(this) { @@ -4969,7 +4969,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentAcceleratorKey, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentAcceleratorKey, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAcceleratorKey(this) { @@ -4980,7 +4980,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentAccessKey, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentAccessKey, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAccessKey(this) { @@ -5024,7 +5024,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentAutomationId, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentAutomationId, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAutomationId(this) { @@ -5035,7 +5035,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentClassName, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentClassName, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentClassName(this) { @@ -5046,7 +5046,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentHelpText, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentHelpText, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentHelpText(this) { @@ -5112,7 +5112,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentItemType, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentItemType, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentItemType(this) { @@ -5145,7 +5145,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentFrameworkId, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentFrameworkId, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentFrameworkId(this) { @@ -5167,7 +5167,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentItemStatus, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentItemStatus, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentItemStatus(this) { @@ -5200,7 +5200,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentAriaRole, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentAriaRole, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAriaRole(this) { @@ -5211,7 +5211,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentAriaProperties, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentAriaProperties, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentAriaProperties(this) { @@ -5266,7 +5266,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentProviderDescription, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentProviderDescription, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CurrentProviderDescription(this) { @@ -5299,7 +5299,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedLocalizedControlType, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedLocalizedControlType, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedLocalizedControlType(this) { @@ -5310,7 +5310,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedName, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedName, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedName(this) { @@ -5321,7 +5321,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedAcceleratorKey, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedAcceleratorKey, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAcceleratorKey(this) { @@ -5332,7 +5332,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedAccessKey, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedAccessKey, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAccessKey(this) { @@ -5376,7 +5376,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedAutomationId, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedAutomationId, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAutomationId(this) { @@ -5387,7 +5387,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedClassName, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedClassName, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedClassName(this) { @@ -5398,7 +5398,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedHelpText, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedHelpText, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedHelpText(this) { @@ -5464,7 +5464,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedItemType, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedItemType, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedItemType(this) { @@ -5497,7 +5497,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedFrameworkId, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedFrameworkId, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedFrameworkId(this) { @@ -5519,7 +5519,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedItemStatus, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedItemStatus, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedItemStatus(this) { @@ -5552,7 +5552,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedAriaRole, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedAriaRole, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAriaRole(this) { @@ -5563,7 +5563,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedAriaProperties, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedAriaProperties, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedAriaProperties(this) { @@ -5618,7 +5618,7 @@ impl IUIAutomationElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedProviderDescription, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedProviderDescription, Impl: IUIAutomationElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement_Impl::CachedProviderDescription(this) { @@ -6042,7 +6042,7 @@ impl IUIAutomationElement5_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentLocalizedLandmarkType, Impl: IUIAutomationElement5_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentLocalizedLandmarkType, Impl: IUIAutomationElement5_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement5_Impl::CurrentLocalizedLandmarkType(this) { @@ -6064,7 +6064,7 @@ impl IUIAutomationElement5_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedLocalizedLandmarkType, Impl: IUIAutomationElement5_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedLocalizedLandmarkType, Impl: IUIAutomationElement5_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement5_Impl::CachedLocalizedLandmarkType(this) { @@ -6097,7 +6097,7 @@ impl windows_core::RuntimeName for IUIAutomationElement6 {} #[cfg(feature = "Win32_System_Com")] impl IUIAutomationElement6_Vtbl { pub const fn new, Impl: IUIAutomationElement6_Impl, const OFFSET: isize>() -> IUIAutomationElement6_Vtbl { - unsafe extern "system" fn CurrentFullDescription, Impl: IUIAutomationElement6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentFullDescription, Impl: IUIAutomationElement6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement6_Impl::CurrentFullDescription(this) { @@ -6108,7 +6108,7 @@ impl IUIAutomationElement6_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedFullDescription, Impl: IUIAutomationElement6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedFullDescription, Impl: IUIAutomationElement6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement6_Impl::CachedFullDescription(this) { @@ -6186,7 +6186,7 @@ impl IUIAutomationElement7_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCurrentMetadataValue, Impl: IUIAutomationElement7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetid: i32, metadataid: UIA_METADATA_ID, returnval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCurrentMetadataValue, Impl: IUIAutomationElement7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, targetid: i32, metadataid: UIA_METADATA_ID, returnval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationElement7_Impl::GetCurrentMetadataValue(this, core::mem::transmute_copy(&targetid), core::mem::transmute_copy(&metadataid)) { @@ -6726,7 +6726,7 @@ pub trait IUIAutomationItemContainerPattern_Impl: Sized { impl windows_core::RuntimeName for IUIAutomationItemContainerPattern {} impl IUIAutomationItemContainerPattern_Vtbl { pub const fn new, Impl: IUIAutomationItemContainerPattern_Impl, const OFFSET: isize>() -> IUIAutomationItemContainerPattern_Vtbl { - unsafe extern "system" fn FindItemByProperty, Impl: IUIAutomationItemContainerPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstartafter: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, value: std::mem::MaybeUninit, pfound: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindItemByProperty, Impl: IUIAutomationItemContainerPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstartafter: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, value: core::mem::MaybeUninit, pfound: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationItemContainerPattern_Impl::FindItemByProperty(this, windows_core::from_raw_borrowed(&pstartafter), core::mem::transmute_copy(&propertyid), core::mem::transmute(&value)) { @@ -6801,7 +6801,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentName, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentName, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentName(this) { @@ -6812,7 +6812,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentValue, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentValue, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentValue(this) { @@ -6823,7 +6823,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentDescription, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentDescription, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentDescription(this) { @@ -6856,7 +6856,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentHelp, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhelp: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentHelp, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhelp: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentHelp(this) { @@ -6867,7 +6867,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentKeyboardShortcut, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszkeyboardshortcut: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentKeyboardShortcut, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszkeyboardshortcut: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentKeyboardShortcut(this) { @@ -6889,7 +6889,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentDefaultAction, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdefaultaction: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentDefaultAction, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdefaultaction: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CurrentDefaultAction(this) { @@ -6911,7 +6911,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedName, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedName, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedName(this) { @@ -6922,7 +6922,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedValue, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedValue, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedValue(this) { @@ -6933,7 +6933,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedDescription, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedDescription, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedDescription(this) { @@ -6966,7 +6966,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedHelp, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhelp: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedHelp, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszhelp: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedHelp(this) { @@ -6977,7 +6977,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedKeyboardShortcut, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszkeyboardshortcut: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedKeyboardShortcut, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszkeyboardshortcut: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedKeyboardShortcut(this) { @@ -6999,7 +6999,7 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedDefaultAction, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdefaultaction: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedDefaultAction, Impl: IUIAutomationLegacyIAccessiblePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszdefaultaction: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationLegacyIAccessiblePattern_Impl::CachedDefaultAction(this) { @@ -7067,7 +7067,7 @@ impl windows_core::RuntimeName for IUIAutomationMultipleViewPattern {} #[cfg(feature = "Win32_System_Com")] impl IUIAutomationMultipleViewPattern_Vtbl { pub const fn new, Impl: IUIAutomationMultipleViewPattern_Impl, const OFFSET: isize>() -> IUIAutomationMultipleViewPattern_Vtbl { - unsafe extern "system" fn GetViewName, Impl: IUIAutomationMultipleViewPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, view: i32, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetViewName, Impl: IUIAutomationMultipleViewPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, view: i32, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationMultipleViewPattern_Impl::GetViewName(this, core::mem::transmute_copy(&view)) { @@ -7170,7 +7170,7 @@ pub trait IUIAutomationNotificationEventHandler_Impl: Sized { impl windows_core::RuntimeName for IUIAutomationNotificationEventHandler {} impl IUIAutomationNotificationEventHandler_Vtbl { pub const fn new, Impl: IUIAutomationNotificationEventHandler_Impl, const OFFSET: isize>() -> IUIAutomationNotificationEventHandler_Vtbl { - unsafe extern "system" fn HandleNotificationEvent, Impl: IUIAutomationNotificationEventHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sender: *mut core::ffi::c_void, notificationkind: NotificationKind, notificationprocessing: NotificationProcessing, displaystring: std::mem::MaybeUninit, activityid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HandleNotificationEvent, Impl: IUIAutomationNotificationEventHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sender: *mut core::ffi::c_void, notificationkind: NotificationKind, notificationprocessing: NotificationProcessing, displaystring: core::mem::MaybeUninit, activityid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUIAutomationNotificationEventHandler_Impl::HandleNotificationEvent(this, windows_core::from_raw_borrowed(&sender), core::mem::transmute_copy(¬ificationkind), core::mem::transmute_copy(¬ificationprocessing), core::mem::transmute(&displaystring), core::mem::transmute(&activityid)).into() @@ -7319,7 +7319,7 @@ pub trait IUIAutomationPropertyChangedEventHandler_Impl: Sized { impl windows_core::RuntimeName for IUIAutomationPropertyChangedEventHandler {} impl IUIAutomationPropertyChangedEventHandler_Vtbl { pub const fn new, Impl: IUIAutomationPropertyChangedEventHandler_Impl, const OFFSET: isize>() -> IUIAutomationPropertyChangedEventHandler_Vtbl { - unsafe extern "system" fn HandlePropertyChangedEvent, Impl: IUIAutomationPropertyChangedEventHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sender: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, newvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn HandlePropertyChangedEvent, Impl: IUIAutomationPropertyChangedEventHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, sender: *mut core::ffi::c_void, propertyid: UIA_PROPERTY_ID, newvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUIAutomationPropertyChangedEventHandler_Impl::HandlePropertyChangedEvent(this, windows_core::from_raw_borrowed(&sender), core::mem::transmute_copy(&propertyid), core::mem::transmute(&newvalue)).into() @@ -7349,7 +7349,7 @@ impl IUIAutomationPropertyCondition_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PropertyValue, Impl: IUIAutomationPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PropertyValue, Impl: IUIAutomationPropertyCondition_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationPropertyCondition_Impl::PropertyValue(this) { @@ -7400,7 +7400,7 @@ impl IUIAutomationProxyFactory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ProxyFactoryId, Impl: IUIAutomationProxyFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoryid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ProxyFactoryId, Impl: IUIAutomationProxyFactory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoryid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationProxyFactory_Impl::ProxyFactoryId(this) { @@ -7453,7 +7453,7 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ClassName, Impl: IUIAutomationProxyFactoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, classname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ClassName, Impl: IUIAutomationProxyFactoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, classname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationProxyFactoryEntry_Impl::ClassName(this) { @@ -7464,7 +7464,7 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ImageName, Impl: IUIAutomationProxyFactoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagename: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImageName, Impl: IUIAutomationProxyFactoryEntry_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, imagename: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationProxyFactoryEntry_Impl::ImageName(this) { @@ -8397,7 +8397,7 @@ impl windows_core::RuntimeName for IUIAutomationSpreadsheetItemPattern {} #[cfg(feature = "Win32_System_Com")] impl IUIAutomationSpreadsheetItemPattern_Vtbl { pub const fn new, Impl: IUIAutomationSpreadsheetItemPattern_Impl, const OFFSET: isize>() -> IUIAutomationSpreadsheetItemPattern_Vtbl { - unsafe extern "system" fn CurrentFormula, Impl: IUIAutomationSpreadsheetItemPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentFormula, Impl: IUIAutomationSpreadsheetItemPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationSpreadsheetItemPattern_Impl::CurrentFormula(this) { @@ -8430,7 +8430,7 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedFormula, Impl: IUIAutomationSpreadsheetItemPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedFormula, Impl: IUIAutomationSpreadsheetItemPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationSpreadsheetItemPattern_Impl::CachedFormula(this) { @@ -8483,7 +8483,7 @@ pub trait IUIAutomationSpreadsheetPattern_Impl: Sized { impl windows_core::RuntimeName for IUIAutomationSpreadsheetPattern {} impl IUIAutomationSpreadsheetPattern_Vtbl { pub const fn new, Impl: IUIAutomationSpreadsheetPattern_Impl, const OFFSET: isize>() -> IUIAutomationSpreadsheetPattern_Vtbl { - unsafe extern "system" fn GetItemByName, Impl: IUIAutomationSpreadsheetPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, element: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemByName, Impl: IUIAutomationSpreadsheetPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, element: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationSpreadsheetPattern_Impl::GetItemByName(this, core::mem::transmute(&name)) { @@ -8555,7 +8555,7 @@ impl IUIAutomationStylesPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentStyleName, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentStyleName, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentStyleName(this) { @@ -8577,7 +8577,7 @@ impl IUIAutomationStylesPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentFillPatternStyle, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentFillPatternStyle, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentFillPatternStyle(this) { @@ -8588,7 +8588,7 @@ impl IUIAutomationStylesPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentShape, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentShape, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentShape(this) { @@ -8610,7 +8610,7 @@ impl IUIAutomationStylesPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CurrentExtendedProperties, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentExtendedProperties, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CurrentExtendedProperties(this) { @@ -8637,7 +8637,7 @@ impl IUIAutomationStylesPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedStyleName, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedStyleName, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedStyleName(this) { @@ -8659,7 +8659,7 @@ impl IUIAutomationStylesPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedFillPatternStyle, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedFillPatternStyle, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedFillPatternStyle(this) { @@ -8670,7 +8670,7 @@ impl IUIAutomationStylesPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedShape, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedShape, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedShape(this) { @@ -8692,7 +8692,7 @@ impl IUIAutomationStylesPattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedExtendedProperties, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedExtendedProperties, Impl: IUIAutomationStylesPattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationStylesPattern_Impl::CachedExtendedProperties(this) { @@ -9210,7 +9210,7 @@ impl IUIAutomationTextRange_Vtbl { let this = (*this).get_impl(); IUIAutomationTextRange_Impl::ExpandToEnclosingUnit(this, core::mem::transmute_copy(&textunit)).into() } - unsafe extern "system" fn FindAttribute, Impl: IUIAutomationTextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attr: UIA_TEXTATTRIBUTE_ID, val: std::mem::MaybeUninit, backward: super::super::Foundation::BOOL, found: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindAttribute, Impl: IUIAutomationTextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attr: UIA_TEXTATTRIBUTE_ID, val: core::mem::MaybeUninit, backward: super::super::Foundation::BOOL, found: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::FindAttribute(this, core::mem::transmute_copy(&attr), core::mem::transmute(&val), core::mem::transmute_copy(&backward)) { @@ -9221,7 +9221,7 @@ impl IUIAutomationTextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindText, Impl: IUIAutomationTextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: std::mem::MaybeUninit, backward: super::super::Foundation::BOOL, ignorecase: super::super::Foundation::BOOL, found: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindText, Impl: IUIAutomationTextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, text: core::mem::MaybeUninit, backward: super::super::Foundation::BOOL, ignorecase: super::super::Foundation::BOOL, found: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::FindText(this, core::mem::transmute(&text), core::mem::transmute_copy(&backward), core::mem::transmute_copy(&ignorecase)) { @@ -9232,7 +9232,7 @@ impl IUIAutomationTextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAttributeValue, Impl: IUIAutomationTextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attr: UIA_TEXTATTRIBUTE_ID, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttributeValue, Impl: IUIAutomationTextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, attr: UIA_TEXTATTRIBUTE_ID, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::GetAttributeValue(this, core::mem::transmute_copy(&attr)) { @@ -9265,7 +9265,7 @@ impl IUIAutomationTextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetText, Impl: IUIAutomationTextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxlength: i32, text: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: IUIAutomationTextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, maxlength: i32, text: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationTextRange_Impl::GetText(this, core::mem::transmute_copy(&maxlength)) { @@ -9955,12 +9955,12 @@ pub trait IUIAutomationValuePattern_Impl: Sized { impl windows_core::RuntimeName for IUIAutomationValuePattern {} impl IUIAutomationValuePattern_Vtbl { pub const fn new, Impl: IUIAutomationValuePattern_Impl, const OFFSET: isize>() -> IUIAutomationValuePattern_Vtbl { - unsafe extern "system" fn SetValue, Impl: IUIAutomationValuePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IUIAutomationValuePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, val: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUIAutomationValuePattern_Impl::SetValue(this, core::mem::transmute(&val)).into() } - unsafe extern "system" fn CurrentValue, Impl: IUIAutomationValuePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CurrentValue, Impl: IUIAutomationValuePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationValuePattern_Impl::CurrentValue(this) { @@ -9982,7 +9982,7 @@ impl IUIAutomationValuePattern_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CachedValue, Impl: IUIAutomationValuePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CachedValue, Impl: IUIAutomationValuePattern_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, retval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIAutomationValuePattern_Impl::CachedValue(this) { @@ -10243,7 +10243,7 @@ impl IValueProvider_Vtbl { let this = (*this).get_impl(); IValueProvider_Impl::SetValue(this, core::mem::transmute(&val)).into() } - unsafe extern "system" fn Value, Impl: IValueProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: IValueProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IValueProvider_Impl::Value(this) { 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 e99307e7d1..6bb1f18ad4 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs @@ -21,7 +21,7 @@ pub unsafe fn AccessibleChildren(pacccontainer: P0, ichildstart: i32, rgvarc where P0: windows_core::Param, { - windows_targets::link!("oleacc.dll" "system" fn AccessibleChildren(pacccontainer : * mut core::ffi::c_void, ichildstart : i32, cchildren : i32, rgvarchildren : *mut std::mem::MaybeUninit < windows_core::VARIANT >, pcobtained : *mut i32) -> windows_core::HRESULT); + windows_targets::link!("oleacc.dll" "system" fn AccessibleChildren(pacccontainer : * mut core::ffi::c_void, ichildstart : i32, cchildren : i32, rgvarchildren : *mut core::mem::MaybeUninit < windows_core::VARIANT >, pcobtained : *mut i32) -> windows_core::HRESULT); AccessibleChildren(pacccontainer.param().abi(), ichildstart, rgvarchildren.len().try_into().unwrap(), core::mem::transmute(rgvarchildren.as_ptr()), pcobtained).ok() } #[cfg(feature = "Win32_System_Com")] @@ -30,13 +30,13 @@ pub unsafe fn AccessibleObjectFromEvent(hwnd: P0, dwid: u32, dwchildid: u32, where P0: windows_core::Param, { - windows_targets::link!("oleacc.dll" "system" fn AccessibleObjectFromEvent(hwnd : super::super::Foundation:: HWND, dwid : u32, dwchildid : u32, ppacc : *mut * mut core::ffi::c_void, pvarchild : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("oleacc.dll" "system" fn AccessibleObjectFromEvent(hwnd : super::super::Foundation:: HWND, dwid : u32, dwchildid : u32, ppacc : *mut * mut core::ffi::c_void, pvarchild : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); AccessibleObjectFromEvent(hwnd.param().abi(), dwid, dwchildid, core::mem::transmute(ppacc), core::mem::transmute(pvarchild)).ok() } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn AccessibleObjectFromPoint(ptscreen: super::super::Foundation::POINT, ppacc: *mut Option, pvarchild: *mut windows_core::VARIANT) -> windows_core::Result<()> { - windows_targets::link!("oleacc.dll" "system" fn AccessibleObjectFromPoint(ptscreen : super::super::Foundation:: POINT, ppacc : *mut * mut core::ffi::c_void, pvarchild : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("oleacc.dll" "system" fn AccessibleObjectFromPoint(ptscreen : super::super::Foundation:: POINT, ppacc : *mut * mut core::ffi::c_void, pvarchild : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); AccessibleObjectFromPoint(core::mem::transmute(ptscreen), core::mem::transmute(ppacc), core::mem::transmute(pvarchild)).ok() } #[inline] @@ -150,7 +150,7 @@ where P1: windows_core::Param, P2: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn ItemContainerPattern_FindItemByProperty(hobj : HUIAPATTERNOBJECT, hnodestartafter : HUIANODE, propertyid : i32, value : std::mem::MaybeUninit < windows_core::VARIANT >, pfound : *mut HUIANODE) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn ItemContainerPattern_FindItemByProperty(hobj : HUIAPATTERNOBJECT, hnodestartafter : HUIANODE, propertyid : i32, value : core::mem::MaybeUninit < windows_core::VARIANT >, pfound : *mut HUIANODE) -> windows_core::HRESULT); ItemContainerPattern_FindItemByProperty(hobj.param().abi(), hnodestartafter.param().abi(), propertyid, value.param().abi(), pfound).ok() } #[inline] @@ -168,7 +168,7 @@ where P0: windows_core::Param, { windows_targets::link!("uiautomationcore.dll" "system" fn LegacyIAccessiblePattern_GetIAccessible(hobj : HUIAPATTERNOBJECT, paccessible : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); LegacyIAccessiblePattern_GetIAccessible(hobj.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -202,7 +202,7 @@ pub unsafe fn MultipleViewPattern_GetViewName(hobj: P0, viewid: i32, ppstr: where P0: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn MultipleViewPattern_GetViewName(hobj : HUIAPATTERNOBJECT, viewid : i32, ppstr : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn MultipleViewPattern_GetViewName(hobj : HUIAPATTERNOBJECT, viewid : i32, ppstr : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); MultipleViewPattern_GetViewName(hobj.param().abi(), viewid, core::mem::transmute(ppstr)).ok() } #[inline] @@ -429,7 +429,7 @@ where P1: windows_core::Param, P2: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_FindAttribute(hobj : HUIATEXTRANGE, attributeid : i32, val : std::mem::MaybeUninit < windows_core::VARIANT >, backward : super::super::Foundation:: BOOL, pretval : *mut HUIATEXTRANGE) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_FindAttribute(hobj : HUIATEXTRANGE, attributeid : i32, val : core::mem::MaybeUninit < windows_core::VARIANT >, backward : super::super::Foundation:: BOOL, pretval : *mut HUIATEXTRANGE) -> windows_core::HRESULT); TextRange_FindAttribute(hobj.param().abi(), attributeid, val.param().abi(), backward.param().abi(), pretval).ok() } #[inline] @@ -440,7 +440,7 @@ where P2: windows_core::Param, P3: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_FindText(hobj : HUIATEXTRANGE, text : std::mem::MaybeUninit < windows_core::BSTR >, backward : super::super::Foundation:: BOOL, ignorecase : super::super::Foundation:: BOOL, pretval : *mut HUIATEXTRANGE) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_FindText(hobj : HUIATEXTRANGE, text : core::mem::MaybeUninit < windows_core::BSTR >, backward : super::super::Foundation:: BOOL, ignorecase : super::super::Foundation:: BOOL, pretval : *mut HUIATEXTRANGE) -> windows_core::HRESULT); TextRange_FindText(hobj.param().abi(), text.param().abi(), backward.param().abi(), ignorecase.param().abi(), pretval).ok() } #[inline] @@ -448,7 +448,7 @@ pub unsafe fn TextRange_GetAttributeValue(hobj: P0, attributeid: i32, pretva where P0: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_GetAttributeValue(hobj : HUIATEXTRANGE, attributeid : i32, pretval : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_GetAttributeValue(hobj : HUIATEXTRANGE, attributeid : i32, pretval : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); TextRange_GetAttributeValue(hobj.param().abi(), attributeid, core::mem::transmute(pretval)).ok() } #[cfg(feature = "Win32_System_Com")] @@ -482,7 +482,7 @@ pub unsafe fn TextRange_GetText(hobj: P0, maxlength: i32, pretval: *mut wind where P0: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_GetText(hobj : HUIATEXTRANGE, maxlength : i32, pretval : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn TextRange_GetText(hobj : HUIATEXTRANGE, maxlength : i32, pretval : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); TextRange_GetText(hobj.param().abi(), maxlength, core::mem::transmute(pretval)).ok() } #[inline] @@ -623,7 +623,7 @@ where } #[inline] pub unsafe fn UiaGetErrorDescription(pdescription: *mut windows_core::BSTR) -> super::super::Foundation::BOOL { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetErrorDescription(pdescription : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> super::super::Foundation:: BOOL); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetErrorDescription(pdescription : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> super::super::Foundation:: BOOL); UiaGetErrorDescription(core::mem::transmute(pdescription)) } #[inline] @@ -639,19 +639,19 @@ pub unsafe fn UiaGetPropertyValue(hnode: P0, propertyid: i32, pvalue: *mut w where P0: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetPropertyValue(hnode : HUIANODE, propertyid : i32, pvalue : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetPropertyValue(hnode : HUIANODE, propertyid : i32, pvalue : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); UiaGetPropertyValue(hnode.param().abi(), propertyid, core::mem::transmute(pvalue)).ok() } #[inline] pub unsafe fn UiaGetReservedMixedAttributeValue() -> windows_core::Result { windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetReservedMixedAttributeValue(punkmixedattributevalue : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); UiaGetReservedMixedAttributeValue(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn UiaGetReservedNotSupportedValue() -> windows_core::Result { windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetReservedNotSupportedValue(punknotsupportedvalue : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); UiaGetReservedNotSupportedValue(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -674,22 +674,22 @@ pub unsafe fn UiaGetUpdatedCache(hnode: P0, prequest: *mut UiaCacheRequest, where P0: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetUpdatedCache(hnode : HUIANODE, prequest : *mut UiaCacheRequest, normalizestate : NormalizeState, pnormalizecondition : *mut UiaCondition, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaGetUpdatedCache(hnode : HUIANODE, prequest : *mut UiaCacheRequest, normalizestate : NormalizeState, pnormalizecondition : *mut UiaCondition, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); UiaGetUpdatedCache(hnode.param().abi(), prequest, normalizestate, pnormalizecondition, pprequesteddata, core::mem::transmute(pptreestructure)).ok() } #[inline] pub unsafe fn UiaHPatternObjectFromVariant(pvar: *mut windows_core::VARIANT, phobj: *mut HUIAPATTERNOBJECT) -> windows_core::Result<()> { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaHPatternObjectFromVariant(pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >, phobj : *mut HUIAPATTERNOBJECT) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaHPatternObjectFromVariant(pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >, phobj : *mut HUIAPATTERNOBJECT) -> windows_core::HRESULT); UiaHPatternObjectFromVariant(core::mem::transmute(pvar), phobj).ok() } #[inline] pub unsafe fn UiaHTextRangeFromVariant(pvar: *mut windows_core::VARIANT, phtextrange: *mut HUIATEXTRANGE) -> windows_core::Result<()> { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaHTextRangeFromVariant(pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >, phtextrange : *mut HUIATEXTRANGE) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaHTextRangeFromVariant(pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >, phtextrange : *mut HUIATEXTRANGE) -> windows_core::HRESULT); UiaHTextRangeFromVariant(core::mem::transmute(pvar), phtextrange).ok() } #[inline] pub unsafe fn UiaHUiaNodeFromVariant(pvar: *mut windows_core::VARIANT, phnode: *mut HUIANODE) -> windows_core::Result<()> { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaHUiaNodeFromVariant(pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >, phnode : *mut HUIANODE) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaHUiaNodeFromVariant(pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >, phnode : *mut HUIANODE) -> windows_core::HRESULT); UiaHUiaNodeFromVariant(core::mem::transmute(pvar), phnode).ok() } #[inline] @@ -706,7 +706,7 @@ where P0: windows_core::Param, { windows_targets::link!("uiautomationcore.dll" "system" fn UiaHostProviderFromHwnd(hwnd : super::super::Foundation:: HWND, ppprovider : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); UiaHostProviderFromHwnd(hwnd.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -715,7 +715,7 @@ pub unsafe fn UiaIAccessibleFromProvider(pprovider: P0, dwflags: u32, ppacce where P0: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaIAccessibleFromProvider(pprovider : * mut core::ffi::c_void, dwflags : u32, ppaccessible : *mut * mut core::ffi::c_void, pvarchild : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaIAccessibleFromProvider(pprovider : * mut core::ffi::c_void, dwflags : u32, ppaccessible : *mut * mut core::ffi::c_void, pvarchild : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); UiaIAccessibleFromProvider(pprovider.param().abi(), dwflags, core::mem::transmute(ppaccessible), core::mem::transmute(pvarchild)).ok() } #[inline] @@ -729,13 +729,13 @@ pub unsafe fn UiaNavigate(hnode: P0, direction: NavigateDirection, pconditio where P0: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaNavigate(hnode : HUIANODE, direction : NavigateDirection, pcondition : *mut UiaCondition, prequest : *mut UiaCacheRequest, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaNavigate(hnode : HUIANODE, direction : NavigateDirection, pcondition : *mut UiaCondition, prequest : *mut UiaCacheRequest, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); UiaNavigate(hnode.param().abi(), direction, pcondition, prequest, pprequesteddata, core::mem::transmute(pptreestructure)).ok() } #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn UiaNodeFromFocus(prequest: *mut UiaCacheRequest, pprequesteddata: *mut *mut super::super::System::Com::SAFEARRAY, pptreestructure: *mut windows_core::BSTR) -> windows_core::Result<()> { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaNodeFromFocus(prequest : *mut UiaCacheRequest, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaNodeFromFocus(prequest : *mut UiaCacheRequest, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); UiaNodeFromFocus(prequest, pprequesteddata, core::mem::transmute(pptreestructure)).ok() } #[inline] @@ -749,7 +749,7 @@ where #[cfg(feature = "Win32_System_Com")] #[inline] pub unsafe fn UiaNodeFromPoint(x: f64, y: f64, prequest: *mut UiaCacheRequest, pprequesteddata: *mut *mut super::super::System::Com::SAFEARRAY, pptreestructure: *mut windows_core::BSTR) -> windows_core::Result<()> { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaNodeFromPoint(x : f64, y : f64, prequest : *mut UiaCacheRequest, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaNodeFromPoint(x : f64, y : f64, prequest : *mut UiaCacheRequest, pprequesteddata : *mut *mut super::super::System::Com:: SAFEARRAY, pptreestructure : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); UiaNodeFromPoint(x, y, prequest, pprequesteddata, core::mem::transmute(pptreestructure)).ok() } #[inline] @@ -782,7 +782,7 @@ where P0: windows_core::Param, { windows_targets::link!("uiautomationcore.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); UiaProviderForNonClient(hwnd.param().abi(), idobject, idchild, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -792,7 +792,7 @@ where P0: windows_core::Param, { windows_targets::link!("uiautomationcore.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); UiaProviderFromIAccessible(paccessible.param().abi(), idchild, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -827,7 +827,7 @@ where P1: windows_core::Param, P2: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseAutomationPropertyChangedEvent(pprovider : * mut core::ffi::c_void, id : UIA_PROPERTY_ID, oldvalue : std::mem::MaybeUninit < windows_core::VARIANT >, newvalue : std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseAutomationPropertyChangedEvent(pprovider : * mut core::ffi::c_void, id : UIA_PROPERTY_ID, oldvalue : core::mem::MaybeUninit < windows_core::VARIANT >, newvalue : core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); UiaRaiseAutomationPropertyChangedEvent(pprovider.param().abi(), id, oldvalue.param().abi(), newvalue.param().abi()).ok() } #[inline] @@ -845,7 +845,7 @@ where P1: windows_core::Param, P2: windows_core::Param, { - windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseNotificationEvent(provider : * mut core::ffi::c_void, notificationkind : NotificationKind, notificationprocessing : NotificationProcessing, displaystring : std::mem::MaybeUninit < windows_core::BSTR >, activityid : std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("uiautomationcore.dll" "system" fn UiaRaiseNotificationEvent(provider : * mut core::ffi::c_void, notificationkind : NotificationKind, notificationprocessing : NotificationProcessing, displaystring : core::mem::MaybeUninit < windows_core::BSTR >, activityid : core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); UiaRaiseNotificationEvent(provider.param().abi(), notificationkind, notificationprocessing, displaystring.param().abi(), activityid.param().abi()).ok() } #[inline] @@ -986,7 +986,7 @@ windows_core::imp::define_interface!(IAccIdentity, IAccIdentity_Vtbl, 0x7852b78d impl std::ops::Deref for IAccIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccIdentity, windows_core::IUnknown); @@ -1004,7 +1004,7 @@ windows_core::imp::define_interface!(IAccPropServer, IAccPropServer_Vtbl, 0x76c0 impl std::ops::Deref for IAccPropServer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccPropServer, windows_core::IUnknown); @@ -1016,13 +1016,13 @@ impl IAccPropServer { #[repr(C)] pub struct IAccPropServer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetPropValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, windows_core::GUID, *mut std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub GetPropValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, windows_core::GUID, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccPropServices, IAccPropServices_Vtbl, 0x6e26e776_04f0_495d_80e4_3330352e3169); impl std::ops::Deref for IAccPropServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccPropServices, windows_core::IUnknown); @@ -1124,17 +1124,17 @@ impl IAccPropServices { #[repr(C)] pub struct IAccPropServices_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub SetPropValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, windows_core::GUID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPropValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetPropServer: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const windows_core::GUID, i32, *mut core::ffi::c_void, AnnoScope) -> windows_core::HRESULT, pub ClearProps: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const windows_core::GUID, i32) -> windows_core::HRESULT, - pub SetHwndProp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, windows_core::GUID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHwndProp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetHwndPropStr: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, windows_core::GUID, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetHwndPropServer: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, *const windows_core::GUID, i32, *mut core::ffi::c_void, AnnoScope) -> windows_core::HRESULT, pub ClearHwndProps: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, *const windows_core::GUID, i32) -> windows_core::HRESULT, pub ComposeHwndIdentityString: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub DecomposeHwndIdentityString: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut super::super::Foundation::HWND, *mut u32, *mut u32) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_WindowsAndMessaging")] - pub SetHmenuProp: unsafe extern "system" fn(*mut core::ffi::c_void, super::WindowsAndMessaging::HMENU, u32, windows_core::GUID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHmenuProp: unsafe extern "system" fn(*mut core::ffi::c_void, super::WindowsAndMessaging::HMENU, u32, windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] SetHmenuProp: usize, #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -1164,7 +1164,7 @@ windows_core::imp::define_interface!(IAccessible, IAccessible_Vtbl, 0x618736e0_3 impl std::ops::Deref for IAccessible { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1173,11 +1173,11 @@ windows_core::imp::interface_hierarchy!(IAccessible, windows_core::IUnknown, sup impl IAccessible { #[cfg(feature = "Win32_System_Com")] pub unsafe fn accParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn accChildCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accChildCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1185,78 +1185,78 @@ impl IAccessible { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accChild)(windows_core::Interface::as_raw(self), varchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_accName(&self, varchild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accName)(windows_core::Interface::as_raw(self), varchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_accValue(&self, varchild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accValue)(windows_core::Interface::as_raw(self), varchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_accDescription(&self, varchild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accDescription)(windows_core::Interface::as_raw(self), varchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_accRole(&self, varchild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accRole)(windows_core::Interface::as_raw(self), varchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_accState(&self, varchild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accState)(windows_core::Interface::as_raw(self), varchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_accHelp(&self, varchild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accHelp)(windows_core::Interface::as_raw(self), varchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_accHelpTopic(&self, pszhelpfile: *mut windows_core::BSTR, varchild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accHelpTopic)(windows_core::Interface::as_raw(self), core::mem::transmute(pszhelpfile), varchild.param().abi(), &mut result__).map(|| result__) } pub unsafe fn get_accKeyboardShortcut(&self, varchild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accKeyboardShortcut)(windows_core::Interface::as_raw(self), varchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn accFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accFocus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn accSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accSelection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_accDefaultAction(&self, varchild: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_accDefaultAction)(windows_core::Interface::as_raw(self), varchild.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn accSelect(&self, flagsselect: i32, varchild: P0) -> windows_core::Result<()> @@ -1275,11 +1275,11 @@ impl IAccessible { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accNavigate)(windows_core::Interface::as_raw(self), navdir, varstart.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn accHitTest(&self, xleft: i32, ytop: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).accHitTest)(windows_core::Interface::as_raw(self), xleft, ytop, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn accDoDefaultAction(&self, varchild: P0) -> windows_core::Result<()> @@ -1313,39 +1313,39 @@ pub struct IAccessible_Vtbl { accParent: usize, pub accChildCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub get_accChild: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub get_accChild: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] get_accChild: usize, - pub get_accName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_accValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_accDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_accRole: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_accState: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_accHelp: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_accHelpTopic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub get_accKeyboardShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub accFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub accSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_accDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub accSelect: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub accLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, *mut i32, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub accNavigate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub accHitTest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub accDoDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_accName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_accValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_accName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_accValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_accDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_accRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_accState: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_accHelp: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_accHelpTopic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub get_accKeyboardShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub accFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub accSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_accDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub accSelect: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub accLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, *mut i32, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub accNavigate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub accHitTest: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub accDoDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_accName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_accValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccessibleEx, IAccessibleEx_Vtbl, 0xf8b80ada_2c44_48d0_89be_5ff23c9cd875); impl std::ops::Deref for IAccessibleEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccessibleEx, windows_core::IUnknown); impl IAccessibleEx { pub unsafe fn GetObjectForChild(&self, idchild: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectForChild)(windows_core::Interface::as_raw(self), idchild, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1354,14 +1354,14 @@ impl IAccessibleEx { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRuntimeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ConvertReturnedElement(&self, pin: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConvertReturnedElement)(windows_core::Interface::as_raw(self), pin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1383,14 +1383,14 @@ windows_core::imp::define_interface!(IAccessibleHandler, IAccessibleHandler_Vtbl impl std::ops::Deref for IAccessibleHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccessibleHandler, windows_core::IUnknown); impl IAccessibleHandler { #[cfg(feature = "Win32_System_Com")] pub unsafe fn AccessibleObjectFromID(&self, hwnd: i32, lobjectid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AccessibleObjectFromID)(windows_core::Interface::as_raw(self), hwnd, lobjectid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1406,21 +1406,21 @@ windows_core::imp::define_interface!(IAccessibleHostingElementProviders, IAccess impl std::ops::Deref for IAccessibleHostingElementProviders { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccessibleHostingElementProviders, windows_core::IUnknown); impl IAccessibleHostingElementProviders { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEmbeddedFragmentRoots(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmbeddedFragmentRoots)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetObjectIdForProvider(&self, pprovider: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectIdForProvider)(windows_core::Interface::as_raw(self), pprovider.param().abi(), &mut result__).map(|| result__) } } @@ -1437,7 +1437,7 @@ windows_core::imp::define_interface!(IAccessibleWindowlessSite, IAccessibleWindo impl std::ops::Deref for IAccessibleWindowlessSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccessibleWindowlessSite, windows_core::IUnknown); @@ -1446,7 +1446,7 @@ impl IAccessibleWindowlessSite { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AcquireObjectIdRange)(windows_core::Interface::as_raw(self), rangesize, prangeowner.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ReleaseObjectIdRange(&self, rangebase: i32, prangeowner: P0) -> windows_core::Result<()> @@ -1460,12 +1460,12 @@ impl IAccessibleWindowlessSite { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryObjectIdRanges)(windows_core::Interface::as_raw(self), prangesowner.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetParentAccessible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentAccessible)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1487,29 +1487,29 @@ windows_core::imp::define_interface!(IAnnotationProvider, IAnnotationProvider_Vt impl std::ops::Deref for IAnnotationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAnnotationProvider, windows_core::IUnknown); impl IAnnotationProvider { pub unsafe fn AnnotationTypeId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AnnotationTypeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AnnotationTypeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AnnotationTypeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Author(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Author)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DateTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Target(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Target)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1517,22 +1517,22 @@ impl IAnnotationProvider { pub struct IAnnotationProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AnnotationTypeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_ANNOTATIONTYPE) -> windows_core::HRESULT, - pub AnnotationTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub DateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AnnotationTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Author: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub DateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICustomNavigationProvider, ICustomNavigationProvider_Vtbl, 0x2062a28a_8c07_4b94_8e12_7037c622aeb8); impl std::ops::Deref for ICustomNavigationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICustomNavigationProvider, windows_core::IUnknown); impl ICustomNavigationProvider { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Navigate)(windows_core::Interface::as_raw(self), direction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1545,7 +1545,7 @@ windows_core::imp::define_interface!(IDockProvider, IDockProvider_Vtbl, 0x159bc7 impl std::ops::Deref for IDockProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDockProvider, windows_core::IUnknown); @@ -1554,7 +1554,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DockPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1568,27 +1568,27 @@ windows_core::imp::define_interface!(IDragProvider, IDragProvider_Vtbl, 0x6aa7bb impl std::ops::Deref for IDragProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDragProvider, windows_core::IUnknown); impl IDragProvider { pub unsafe fn IsGrabbed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsGrabbed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DropEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DropEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DropEffects(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DropEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetGrabbedItems(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGrabbedItems)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1596,7 +1596,7 @@ impl IDragProvider { pub struct IDragProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsGrabbed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub DropEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DropEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DropEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1610,25 +1610,25 @@ windows_core::imp::define_interface!(IDropTargetProvider, IDropTargetProvider_Vt impl std::ops::Deref for IDropTargetProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDropTargetProvider, windows_core::IUnknown); impl IDropTargetProvider { pub unsafe fn DropTargetEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DropTargetEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DropTargetEffects(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DropTargetEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IDropTargetProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub DropTargetEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DropTargetEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DropTargetEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1638,7 +1638,7 @@ windows_core::imp::define_interface!(IExpandCollapseProvider, IExpandCollapsePro impl std::ops::Deref for IExpandCollapseProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExpandCollapseProvider, windows_core::IUnknown); @@ -1650,7 +1650,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpandCollapseState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1665,29 +1665,29 @@ windows_core::imp::define_interface!(IGridItemProvider, IGridItemProvider_Vtbl, impl std::ops::Deref for IGridItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGridItemProvider, windows_core::IUnknown); impl IGridItemProvider { pub unsafe fn Row(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Row)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Column(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Column)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RowSpan(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RowSpan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ColumnSpan(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ColumnSpan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ContainingGrid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContainingGrid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1704,21 +1704,21 @@ windows_core::imp::define_interface!(IGridProvider, IGridProvider_Vtbl, 0xb17d61 impl std::ops::Deref for IGridProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGridProvider, windows_core::IUnknown); impl IGridProvider { pub unsafe fn GetItem(&self, row: i32, column: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), row, column, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RowCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RowCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ColumnCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ColumnCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1733,7 +1733,7 @@ windows_core::imp::define_interface!(IInvokeProvider, IInvokeProvider_Vtbl, 0x54 impl std::ops::Deref for IInvokeProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInvokeProvider, windows_core::IUnknown); @@ -1751,7 +1751,7 @@ windows_core::imp::define_interface!(IItemContainerProvider, IItemContainerProvi impl std::ops::Deref for IItemContainerProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IItemContainerProvider, windows_core::IUnknown); @@ -1761,20 +1761,20 @@ impl IItemContainerProvider { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindItemByProperty)(windows_core::Interface::as_raw(self), pstartafter.param().abi(), propertyid, value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IItemContainerProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub FindItemByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindItemByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILegacyIAccessibleProvider, ILegacyIAccessibleProvider_Vtbl, 0xe44c3566_915d_4070_99c6_047bff5a08f5); impl std::ops::Deref for ILegacyIAccessibleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILegacyIAccessibleProvider, windows_core::IUnknown); @@ -1793,48 +1793,48 @@ impl ILegacyIAccessibleProvider { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetIAccessible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIAccessible)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ChildId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChildId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Role(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Role)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Help(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Help)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn KeyboardShortcut(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeyboardShortcut)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultAction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1849,49 +1849,49 @@ pub struct ILegacyIAccessibleProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetIAccessible: usize, pub ChildId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Role: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Help: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub KeyboardShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Help: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub KeyboardShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetSelection: usize, - pub DefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMultipleViewProvider, IMultipleViewProvider_Vtbl, 0x6278cab1_b556_4a1a_b4e0_418acc523201); impl std::ops::Deref for IMultipleViewProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMultipleViewProvider, windows_core::IUnknown); impl IMultipleViewProvider { pub unsafe fn GetViewName(&self, viewid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewName)(windows_core::Interface::as_raw(self), viewid, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentView)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSupportedViews(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedViews)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IMultipleViewProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetViewName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetViewName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -1903,13 +1903,13 @@ windows_core::imp::define_interface!(IObjectModelProvider, IObjectModelProvider_ impl std::ops::Deref for IObjectModelProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectModelProvider, windows_core::IUnknown); impl IObjectModelProvider { pub unsafe fn GetUnderlyingObjectModel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnderlyingObjectModel)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1922,7 +1922,7 @@ windows_core::imp::define_interface!(IProxyProviderWinEventHandler, IProxyProvid impl std::ops::Deref for IProxyProviderWinEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProxyProviderWinEventHandler, windows_core::IUnknown); @@ -1944,7 +1944,7 @@ windows_core::imp::define_interface!(IProxyProviderWinEventSink, IProxyProviderW impl std::ops::Deref for IProxyProviderWinEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProxyProviderWinEventSink, windows_core::IUnknown); @@ -1973,7 +1973,7 @@ impl IProxyProviderWinEventSink { #[repr(C)] pub struct IProxyProviderWinEventSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub AddAutomationPropertyChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddAutomationPropertyChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddAutomationEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_EVENT_ID) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub AddStructureChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, StructureChangeType, *const super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, @@ -1984,7 +1984,7 @@ windows_core::imp::define_interface!(IRangeValueProvider, IRangeValueProvider_Vt impl std::ops::Deref for IRangeValueProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRangeValueProvider, windows_core::IUnknown); @@ -1993,27 +1993,27 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Maximum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Maximum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Minimum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Minimum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn LargeChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LargeChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SmallChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SmallChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2032,7 +2032,7 @@ windows_core::imp::define_interface!(IRawElementProviderAdviseEvents, IRawElemen impl std::ops::Deref for IRawElementProviderAdviseEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawElementProviderAdviseEvents, windows_core::IUnknown); @@ -2062,34 +2062,34 @@ windows_core::imp::define_interface!(IRawElementProviderFragment, IRawElementPro impl std::ops::Deref for IRawElementProviderFragment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawElementProviderFragment, windows_core::IUnknown); impl IRawElementProviderFragment { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Navigate)(windows_core::Interface::as_raw(self), direction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRuntimeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BoundingRectangle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BoundingRectangle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEmbeddedFragmentRoots(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmbeddedFragmentRoots)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FragmentRoot)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2113,17 +2113,17 @@ windows_core::imp::define_interface!(IRawElementProviderFragmentRoot, IRawElemen impl std::ops::Deref for IRawElementProviderFragmentRoot { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawElementProviderFragmentRoot, windows_core::IUnknown); impl IRawElementProviderFragmentRoot { pub unsafe fn ElementProviderFromPoint(&self, x: f64, y: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElementProviderFromPoint)(windows_core::Interface::as_raw(self), x, y, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFocus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2137,14 +2137,14 @@ windows_core::imp::define_interface!(IRawElementProviderHostingAccessibles, IRaw impl std::ops::Deref for IRawElementProviderHostingAccessibles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawElementProviderHostingAccessibles, windows_core::IUnknown); impl IRawElementProviderHostingAccessibles { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetEmbeddedAccessibles(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmbeddedAccessibles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2160,7 +2160,7 @@ windows_core::imp::define_interface!(IRawElementProviderHwndOverride, IRawElemen impl std::ops::Deref for IRawElementProviderHwndOverride { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawElementProviderHwndOverride, windows_core::IUnknown); @@ -2169,7 +2169,7 @@ impl IRawElementProviderHwndOverride { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOverrideProviderForHwnd)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2182,25 +2182,25 @@ windows_core::imp::define_interface!(IRawElementProviderSimple, IRawElementProvi impl std::ops::Deref for IRawElementProviderSimple { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawElementProviderSimple, windows_core::IUnknown); impl IRawElementProviderSimple { pub unsafe fn ProviderOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProviderOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPatternProvider(&self, patternid: UIA_PATTERN_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPatternProvider)(windows_core::Interface::as_raw(self), patternid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyValue(&self, propertyid: UIA_PROPERTY_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyValue)(windows_core::Interface::as_raw(self), propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HostRawElementProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HostRawElementProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2209,14 +2209,14 @@ pub struct IRawElementProviderSimple_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProviderOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ProviderOptions) -> windows_core::HRESULT, pub GetPatternProvider: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PATTERN_ID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HostRawElementProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawElementProviderSimple2, IRawElementProviderSimple2_Vtbl, 0xa0a839a9_8da1_4a82_806a_8e0d44e79f56); impl std::ops::Deref for IRawElementProviderSimple2 { type Target = IRawElementProviderSimple; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawElementProviderSimple2, windows_core::IUnknown, IRawElementProviderSimple); @@ -2234,37 +2234,37 @@ windows_core::imp::define_interface!(IRawElementProviderSimple3, IRawElementProv impl std::ops::Deref for IRawElementProviderSimple3 { type Target = IRawElementProviderSimple2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawElementProviderSimple3, windows_core::IUnknown, IRawElementProviderSimple, IRawElementProviderSimple2); impl IRawElementProviderSimple3 { pub unsafe fn GetMetadataValue(&self, targetid: i32, metadataid: UIA_METADATA_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMetadataValue)(windows_core::Interface::as_raw(self), targetid, metadataid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IRawElementProviderSimple3_Vtbl { pub base__: IRawElementProviderSimple2_Vtbl, - pub GetMetadataValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, UIA_METADATA_ID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetMetadataValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, UIA_METADATA_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawElementProviderWindowlessSite, IRawElementProviderWindowlessSite_Vtbl, 0x0a2a93cc_bfad_42ac_9b2e_0991fb0d3ea0); impl std::ops::Deref for IRawElementProviderWindowlessSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRawElementProviderWindowlessSite, windows_core::IUnknown); impl IRawElementProviderWindowlessSite { pub unsafe fn GetAdjacentFragment(&self, direction: NavigateDirection) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdjacentFragment)(windows_core::Interface::as_raw(self), direction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeIdPrefix(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRuntimeIdPrefix)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2281,7 +2281,7 @@ windows_core::imp::define_interface!(IRichEditUiaInformation, IRichEditUiaInform impl std::ops::Deref for IRichEditUiaInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRichEditUiaInformation, windows_core::IUnknown); @@ -2303,7 +2303,7 @@ windows_core::imp::define_interface!(IRicheditWindowlessAccessibility, IRichedit impl std::ops::Deref for IRicheditWindowlessAccessibility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRicheditWindowlessAccessibility, windows_core::IUnknown); @@ -2312,7 +2312,7 @@ impl IRicheditWindowlessAccessibility { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateProvider)(windows_core::Interface::as_raw(self), psite.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2325,7 +2325,7 @@ windows_core::imp::define_interface!(IScrollItemProvider, IScrollItemProvider_Vt impl std::ops::Deref for IScrollItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScrollItemProvider, windows_core::IUnknown); @@ -2343,7 +2343,7 @@ windows_core::imp::define_interface!(IScrollProvider, IScrollProvider_Vtbl, 0xb3 impl std::ops::Deref for IScrollProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScrollProvider, windows_core::IUnknown); @@ -2355,27 +2355,27 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HorizontalScrollPercent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VerticalScrollPercent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VerticalScrollPercent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HorizontalViewSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HorizontalViewSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VerticalViewSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VerticalViewSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn HorizontallyScrollable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HorizontallyScrollable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VerticallyScrollable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VerticallyScrollable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2395,7 +2395,7 @@ windows_core::imp::define_interface!(ISelectionItemProvider, ISelectionItemProvi impl std::ops::Deref for ISelectionItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISelectionItemProvider, windows_core::IUnknown); @@ -2410,11 +2410,11 @@ impl ISelectionItemProvider { (windows_core::Interface::vtable(self).RemoveFromSelection)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsSelected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSelected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SelectionContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectionContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2431,22 +2431,22 @@ windows_core::imp::define_interface!(ISelectionProvider, ISelectionProvider_Vtbl impl std::ops::Deref for ISelectionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISelectionProvider, windows_core::IUnknown); impl ISelectionProvider { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanSelectMultiple(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanSelectMultiple)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsSelectionRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSelectionRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2464,25 +2464,25 @@ windows_core::imp::define_interface!(ISelectionProvider2, ISelectionProvider2_Vt impl std::ops::Deref for ISelectionProvider2 { type Target = ISelectionProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISelectionProvider2, windows_core::IUnknown, ISelectionProvider); impl ISelectionProvider2 { pub unsafe fn FirstSelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FirstSelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastSelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LastSelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentSelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentSelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2498,30 +2498,30 @@ windows_core::imp::define_interface!(ISpreadsheetItemProvider, ISpreadsheetItemP impl std::ops::Deref for ISpreadsheetItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpreadsheetItemProvider, windows_core::IUnknown); impl ISpreadsheetItemProvider { pub unsafe fn Formula(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Formula)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAnnotationObjects(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAnnotationObjects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAnnotationTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAnnotationTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct ISpreadsheetItemProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Formula: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Formula: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetAnnotationObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -2535,7 +2535,7 @@ windows_core::imp::define_interface!(ISpreadsheetProvider, ISpreadsheetProvider_ impl std::ops::Deref for ISpreadsheetProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpreadsheetProvider, windows_core::IUnknown); @@ -2544,7 +2544,7 @@ impl ISpreadsheetProvider { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemByName)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2557,37 +2557,37 @@ windows_core::imp::define_interface!(IStylesProvider, IStylesProvider_Vtbl, 0x19 impl std::ops::Deref for IStylesProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStylesProvider, windows_core::IUnknown); impl IStylesProvider { pub unsafe fn StyleId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StyleId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn StyleName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StyleName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FillColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FillColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FillPatternStyle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FillPatternStyle)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Shape(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Shape)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FillPatternColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FillPatternColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ExtendedProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2595,18 +2595,18 @@ impl IStylesProvider { pub struct IStylesProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub StyleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_STYLE_ID) -> windows_core::HRESULT, - pub StyleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StyleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FillColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub FillPatternStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Shape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FillPatternStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Shape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub FillPatternColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub ExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISynchronizedInputProvider, ISynchronizedInputProvider_Vtbl, 0x29db1a06_02ce_4cf7_9b42_565d4fab20ee); impl std::ops::Deref for ISynchronizedInputProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISynchronizedInputProvider, windows_core::IUnknown); @@ -2628,19 +2628,19 @@ windows_core::imp::define_interface!(ITableItemProvider, ITableItemProvider_Vtbl impl std::ops::Deref for ITableItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITableItemProvider, windows_core::IUnknown); impl ITableItemProvider { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRowHeaderItems(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRowHeaderItems)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetColumnHeaderItems(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnHeaderItems)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2660,23 +2660,23 @@ windows_core::imp::define_interface!(ITableProvider, ITableProvider_Vtbl, 0x9c86 impl std::ops::Deref for ITableProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITableProvider, windows_core::IUnknown); impl ITableProvider { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRowHeaders(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRowHeaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetColumnHeaders(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnHeaders)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RowOrColumnMajor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RowOrColumnMajor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2697,17 +2697,17 @@ windows_core::imp::define_interface!(ITextChildProvider, ITextChildProvider_Vtbl impl std::ops::Deref for ITextChildProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextChildProvider, windows_core::IUnknown); impl ITextChildProvider { pub unsafe fn TextContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TextContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TextRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TextRange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2721,17 +2721,17 @@ windows_core::imp::define_interface!(ITextEditProvider, ITextEditProvider_Vtbl, impl std::ops::Deref for ITextEditProvider { type Target = ITextProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextEditProvider, windows_core::IUnknown, ITextProvider); impl ITextEditProvider { pub unsafe fn GetActiveComposition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveComposition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConversionTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConversionTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2745,38 +2745,38 @@ windows_core::imp::define_interface!(ITextProvider, ITextProvider_Vtbl, 0x3589c9 impl std::ops::Deref for ITextProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextProvider, windows_core::IUnknown); impl ITextProvider { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetVisibleRanges(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisibleRanges)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RangeFromChild(&self, childelement: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeFromChild)(windows_core::Interface::as_raw(self), childelement.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RangeFromPoint(&self, point: UiaPoint) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeFromPoint)(windows_core::Interface::as_raw(self), core::mem::transmute(point), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DocumentRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DocumentRange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportedTextSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedTextSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2800,7 +2800,7 @@ windows_core::imp::define_interface!(ITextProvider2, ITextProvider2_Vtbl, 0x0dc5 impl std::ops::Deref for ITextProvider2 { type Target = ITextProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextProvider2, windows_core::IUnknown, ITextProvider); @@ -2809,11 +2809,11 @@ impl ITextProvider2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeFromAnnotation)(windows_core::Interface::as_raw(self), annotationelement.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCaretRange(&self, isactive: *mut super::super::Foundation::BOOL) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaretRange)(windows_core::Interface::as_raw(self), isactive, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2827,27 +2827,27 @@ windows_core::imp::define_interface!(ITextRangeProvider, ITextRangeProvider_Vtbl impl std::ops::Deref for ITextRangeProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextRangeProvider, windows_core::IUnknown); impl ITextRangeProvider { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Compare(&self, range: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Compare)(windows_core::Interface::as_raw(self), range.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CompareEndpoints(&self, endpoint: TextPatternRangeEndpoint, targetrange: P0, targetendpoint: TextPatternRangeEndpoint) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareEndpoints)(windows_core::Interface::as_raw(self), endpoint, targetrange.param().abi(), targetendpoint, &mut result__).map(|| result__) } pub unsafe fn ExpandToEnclosingUnit(&self, unit: TextUnit) -> windows_core::Result<()> { @@ -2858,7 +2858,7 @@ impl ITextRangeProvider { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindAttribute)(windows_core::Interface::as_raw(self), attributeid, val.param().abi(), backward.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindText(&self, text: P0, backward: P1, ignorecase: P2) -> windows_core::Result @@ -2867,32 +2867,32 @@ impl ITextRangeProvider { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindText)(windows_core::Interface::as_raw(self), text.param().abi(), backward.param().abi(), ignorecase.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAttributeValue(&self, attributeid: UIA_TEXTATTRIBUTE_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeValue)(windows_core::Interface::as_raw(self), attributeid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingRectangles(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoundingRectangles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEnclosingElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnclosingElement)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetText(&self, maxlength: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), maxlength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Move(&self, unit: TextUnit, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Move)(windows_core::Interface::as_raw(self), unit, count, &mut result__).map(|| result__) } pub unsafe fn MoveEndpointByUnit(&self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveEndpointByUnit)(windows_core::Interface::as_raw(self), endpoint, unit, count, &mut result__).map(|| result__) } pub unsafe fn MoveEndpointByRange(&self, endpoint: TextPatternRangeEndpoint, targetrange: P0, targetendpoint: TextPatternRangeEndpoint) -> windows_core::Result<()> @@ -2918,7 +2918,7 @@ impl ITextRangeProvider { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetChildren(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChildren)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2929,15 +2929,15 @@ pub struct ITextRangeProvider_Vtbl { pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CompareEndpoints: unsafe extern "system" fn(*mut core::ffi::c_void, TextPatternRangeEndpoint, *mut core::ffi::c_void, TextPatternRangeEndpoint, *mut i32) -> windows_core::HRESULT, pub ExpandToEnclosingUnit: unsafe extern "system" fn(*mut core::ffi::c_void, TextUnit) -> windows_core::HRESULT, - pub FindAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_TEXTATTRIBUTE_ID, std::mem::MaybeUninit, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FindText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAttributeValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_TEXTATTRIBUTE_ID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FindAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_TEXTATTRIBUTE_ID, core::mem::MaybeUninit, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAttributeValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_TEXTATTRIBUTE_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetBoundingRectangles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetBoundingRectangles: usize, pub GetEnclosingElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, TextUnit, i32, *mut i32) -> windows_core::HRESULT, pub MoveEndpointByUnit: unsafe extern "system" fn(*mut core::ffi::c_void, TextPatternRangeEndpoint, TextUnit, i32, *mut i32) -> windows_core::HRESULT, pub MoveEndpointByRange: unsafe extern "system" fn(*mut core::ffi::c_void, TextPatternRangeEndpoint, *mut core::ffi::c_void, TextPatternRangeEndpoint) -> windows_core::HRESULT, @@ -2954,7 +2954,7 @@ windows_core::imp::define_interface!(ITextRangeProvider2, ITextRangeProvider2_Vt impl std::ops::Deref for ITextRangeProvider2 { type Target = ITextRangeProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextRangeProvider2, windows_core::IUnknown, ITextRangeProvider); @@ -2972,7 +2972,7 @@ windows_core::imp::define_interface!(IToggleProvider, IToggleProvider_Vtbl, 0x56 impl std::ops::Deref for IToggleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IToggleProvider, windows_core::IUnknown); @@ -2981,7 +2981,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ToggleState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2995,7 +2995,7 @@ windows_core::imp::define_interface!(ITransformProvider, ITransformProvider_Vtbl impl std::ops::Deref for ITransformProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransformProvider, windows_core::IUnknown); @@ -3010,15 +3010,15 @@ impl ITransformProvider { (windows_core::Interface::vtable(self).Rotate)(windows_core::Interface::as_raw(self), degrees).ok() } pub unsafe fn CanMove(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanMove)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanResize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanResize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanRotate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanRotate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3036,7 +3036,7 @@ windows_core::imp::define_interface!(ITransformProvider2, ITransformProvider2_Vt impl std::ops::Deref for ITransformProvider2 { type Target = ITransformProvider; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransformProvider2, windows_core::IUnknown, ITransformProvider); @@ -3045,19 +3045,19 @@ impl ITransformProvider2 { (windows_core::Interface::vtable(self).Zoom)(windows_core::Interface::as_raw(self), zoom).ok() } pub unsafe fn CanZoom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanZoom)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ZoomLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ZoomLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ZoomMinimum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ZoomMinimum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ZoomMaximum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ZoomMaximum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ZoomByUnit(&self, zoomunit: ZoomUnit) -> windows_core::Result<()> { @@ -3078,7 +3078,7 @@ windows_core::imp::define_interface!(IUIAutomation, IUIAutomation_Vtbl, 0x30cbe5 impl std::ops::Deref for IUIAutomation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomation, windows_core::IUnknown); @@ -3088,38 +3088,38 @@ impl IUIAutomation { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareElements)(windows_core::Interface::as_raw(self), el1.param().abi(), el2.param().abi(), &mut result__).map(|| result__) } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareRuntimeIds)(windows_core::Interface::as_raw(self), runtimeid1, runtimeid2, &mut result__).map(|| result__) } pub unsafe fn GetRootElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootElement)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ElementFromHandle(&self, hwnd: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElementFromHandle)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ElementFromPoint(&self, pt: super::super::Foundation::POINT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElementFromPoint)(windows_core::Interface::as_raw(self), core::mem::transmute(pt), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFocusedElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFocusedElement)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRootElementBuildCache(&self, cacherequest: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootElementBuildCache)(windows_core::Interface::as_raw(self), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ElementFromHandleBuildCache(&self, hwnd: P0, cacherequest: P1) -> windows_core::Result @@ -3127,78 +3127,78 @@ impl IUIAutomation { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElementFromHandleBuildCache)(windows_core::Interface::as_raw(self), hwnd.param().abi(), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ElementFromPointBuildCache(&self, pt: super::super::Foundation::POINT, cacherequest: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElementFromPointBuildCache)(windows_core::Interface::as_raw(self), core::mem::transmute(pt), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFocusedElementBuildCache(&self, cacherequest: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFocusedElementBuildCache)(windows_core::Interface::as_raw(self), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTreeWalker(&self, pcondition: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTreeWalker)(windows_core::Interface::as_raw(self), pcondition.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ControlViewWalker(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ControlViewWalker)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ContentViewWalker(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContentViewWalker)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RawViewWalker(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RawViewWalker)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RawViewCondition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RawViewCondition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ControlViewCondition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ControlViewCondition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ContentViewCondition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ContentViewCondition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCacheRequest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCacheRequest)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateTrueCondition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTrueCondition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateFalseCondition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateFalseCondition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePropertyCondition(&self, propertyid: UIA_PROPERTY_ID, value: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePropertyCondition)(windows_core::Interface::as_raw(self), propertyid, value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreatePropertyConditionEx(&self, propertyid: UIA_PROPERTY_ID, value: P0, flags: PropertyConditionFlags) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePropertyConditionEx)(windows_core::Interface::as_raw(self), propertyid, value.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAndCondition(&self, condition1: P0, condition2: P1) -> windows_core::Result @@ -3206,16 +3206,16 @@ impl IUIAutomation { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAndCondition)(windows_core::Interface::as_raw(self), condition1.param().abi(), condition2.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateAndConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAndConditionFromArray)(windows_core::Interface::as_raw(self), conditions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAndConditionFromNativeArray(&self, conditions: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAndConditionFromNativeArray)(windows_core::Interface::as_raw(self), core::mem::transmute(conditions.as_ptr()), conditions.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateOrCondition(&self, condition1: P0, condition2: P1) -> windows_core::Result @@ -3223,23 +3223,23 @@ impl IUIAutomation { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateOrCondition)(windows_core::Interface::as_raw(self), condition1.param().abi(), condition2.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateOrConditionFromArray(&self, conditions: *const super::super::System::Com::SAFEARRAY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateOrConditionFromArray)(windows_core::Interface::as_raw(self), conditions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateOrConditionFromNativeArray(&self, conditions: &[Option]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateOrConditionFromNativeArray)(windows_core::Interface::as_raw(self), core::mem::transmute(conditions.as_ptr()), conditions.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateNotCondition(&self, condition: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateNotCondition)(windows_core::Interface::as_raw(self), condition.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddAutomationEventHandler(&self, eventid: UIA_EVENT_ID, element: P0, scope: TreeScope, cacherequest: P1, handler: P2) -> windows_core::Result<()> @@ -3314,47 +3314,47 @@ impl IUIAutomation { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IntNativeArrayToSafeArray(&self, array: &[i32]) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IntNativeArrayToSafeArray)(windows_core::Interface::as_raw(self), core::mem::transmute(array.as_ptr()), array.len().try_into().unwrap(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn IntSafeArrayToNativeArray(&self, intarray: *const super::super::System::Com::SAFEARRAY, array: *mut *mut i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IntSafeArrayToNativeArray)(windows_core::Interface::as_raw(self), intarray, array, &mut result__).map(|| result__) } pub unsafe fn RectToVariant(&self, rc: super::super::Foundation::RECT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RectToVariant)(windows_core::Interface::as_raw(self), core::mem::transmute(rc), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn VariantToRect(&self, var: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VariantToRect)(windows_core::Interface::as_raw(self), var.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SafeArrayToRectNativeArray(&self, rects: *const super::super::System::Com::SAFEARRAY, rectarray: *mut *mut super::super::Foundation::RECT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SafeArrayToRectNativeArray)(windows_core::Interface::as_raw(self), rects, rectarray, &mut result__).map(|| result__) } pub unsafe fn CreateProxyFactoryEntry(&self, factory: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateProxyFactoryEntry)(windows_core::Interface::as_raw(self), factory.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProxyFactoryMapping(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyFactoryMapping)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyProgrammaticName(&self, property: UIA_PROPERTY_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyProgrammaticName)(windows_core::Interface::as_raw(self), property, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPatternProgrammaticName(&self, pattern: UIA_PATTERN_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPatternProgrammaticName)(windows_core::Interface::as_raw(self), pattern, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3375,15 +3375,15 @@ impl IUIAutomation { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CheckNotSupported)(windows_core::Interface::as_raw(self), value.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ReservedNotSupportedValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReservedNotSupportedValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReservedMixedAttributeValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReservedMixedAttributeValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3391,7 +3391,7 @@ impl IUIAutomation { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElementFromIAccessible)(windows_core::Interface::as_raw(self), accessible.param().abi(), childid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3400,7 +3400,7 @@ impl IUIAutomation { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElementFromIAccessibleBuildCache)(windows_core::Interface::as_raw(self), accessible.param().abi(), childid, cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3430,8 +3430,8 @@ pub struct IUIAutomation_Vtbl { pub CreateCacheRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateTrueCondition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFalseCondition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreatePropertyCondition: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CreatePropertyConditionEx: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, std::mem::MaybeUninit, PropertyConditionFlags, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePropertyCondition: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreatePropertyConditionEx: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, core::mem::MaybeUninit, PropertyConditionFlags, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateAndCondition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateAndConditionFromArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3466,16 +3466,16 @@ pub struct IUIAutomation_Vtbl { pub IntSafeArrayToNativeArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY, *mut *mut i32, *mut i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] IntSafeArrayToNativeArray: usize, - pub RectToVariant: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::RECT, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub VariantToRect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, + pub RectToVariant: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::RECT, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub VariantToRect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SafeArrayToRectNativeArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::System::Com::SAFEARRAY, *mut *mut super::super::Foundation::RECT, *mut i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SafeArrayToRectNativeArray: usize, pub CreateProxyFactoryEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProxyFactoryMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetPropertyProgrammaticName: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPatternProgrammaticName: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PATTERN_ID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPropertyProgrammaticName: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPatternProgrammaticName: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PATTERN_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub PollForPotentialSupportedPatterns: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3484,7 +3484,7 @@ pub struct IUIAutomation_Vtbl { pub PollForPotentialSupportedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PollForPotentialSupportedProperties: usize, - pub CheckNotSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, + pub CheckNotSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ReservedNotSupportedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReservedMixedAttributeValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -3500,13 +3500,13 @@ windows_core::imp::define_interface!(IUIAutomation2, IUIAutomation2_Vtbl, 0x3472 impl std::ops::Deref for IUIAutomation2 { type Target = IUIAutomation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomation2, windows_core::IUnknown, IUIAutomation); impl IUIAutomation2 { pub unsafe fn AutoSetFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoSetFocus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoSetFocus(&self, autosetfocus: P0) -> windows_core::Result<()> @@ -3516,14 +3516,14 @@ impl IUIAutomation2 { (windows_core::Interface::vtable(self).SetAutoSetFocus)(windows_core::Interface::as_raw(self), autosetfocus.param().abi()).ok() } pub unsafe fn ConnectionTimeout(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectionTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TransactionTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTransactionTimeout(&self, timeout: u32) -> windows_core::Result<()> { @@ -3544,7 +3544,7 @@ windows_core::imp::define_interface!(IUIAutomation3, IUIAutomation3_Vtbl, 0x73d7 impl std::ops::Deref for IUIAutomation3 { type Target = IUIAutomation2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomation3, windows_core::IUnknown, IUIAutomation, IUIAutomation2); @@ -3575,7 +3575,7 @@ windows_core::imp::define_interface!(IUIAutomation4, IUIAutomation4_Vtbl, 0x1189 impl std::ops::Deref for IUIAutomation4 { type Target = IUIAutomation3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomation4, windows_core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3); @@ -3606,7 +3606,7 @@ windows_core::imp::define_interface!(IUIAutomation5, IUIAutomation5_Vtbl, 0x25f7 impl std::ops::Deref for IUIAutomation5 { type Target = IUIAutomation4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomation5, windows_core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4); @@ -3637,13 +3637,13 @@ windows_core::imp::define_interface!(IUIAutomation6, IUIAutomation6_Vtbl, 0xaae0 impl std::ops::Deref for IUIAutomation6 { type Target = IUIAutomation5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomation6, windows_core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4, IUIAutomation5); impl IUIAutomation6 { pub unsafe fn CreateEventHandlerGroup(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEventHandlerGroup)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddEventHandlerGroup(&self, element: P0, handlergroup: P1) -> windows_core::Result<()> @@ -3661,14 +3661,14 @@ impl IUIAutomation6 { (windows_core::Interface::vtable(self).RemoveEventHandlerGroup)(windows_core::Interface::as_raw(self), element.param().abi(), handlergroup.param().abi()).ok() } pub unsafe fn ConnectionRecoveryBehavior(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConnectionRecoveryBehavior)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CoalesceEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCoalesceEvents(&self, coalesceeventsoptions: CoalesceEventsOptions) -> windows_core::Result<()> { @@ -3707,7 +3707,7 @@ windows_core::imp::define_interface!(IUIAutomationActiveTextPositionChangedEvent impl std::ops::Deref for IUIAutomationActiveTextPositionChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationActiveTextPositionChangedEventHandler, windows_core::IUnknown); @@ -3729,13 +3729,13 @@ windows_core::imp::define_interface!(IUIAutomationAndCondition, IUIAutomationAnd impl std::ops::Deref for IUIAutomationAndCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationAndCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationAndCondition { pub unsafe fn ChildCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChildCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetChildrenAsNativeArray(&self, childarray: *mut *mut Option, childarraycount: *mut i32) -> windows_core::Result<()> { @@ -3743,7 +3743,7 @@ impl IUIAutomationAndCondition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetChildren(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChildren)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3761,49 +3761,49 @@ windows_core::imp::define_interface!(IUIAutomationAnnotationPattern, IUIAutomati impl std::ops::Deref for IUIAutomationAnnotationPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationAnnotationPattern, windows_core::IUnknown); impl IUIAutomationAnnotationPattern { pub unsafe fn CurrentAnnotationTypeId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAnnotationTypeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentAnnotationTypeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAnnotationTypeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentAuthor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAuthor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentDateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDateTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedAnnotationTypeId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAnnotationTypeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedAnnotationTypeName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAnnotationTypeName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedAuthor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAuthor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedDateTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedDateTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3811,27 +3811,27 @@ impl IUIAutomationAnnotationPattern { pub struct IUIAutomationAnnotationPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CurrentAnnotationTypeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_ANNOTATIONTYPE) -> windows_core::HRESULT, - pub CurrentAnnotationTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentAuthor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentAnnotationTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentAuthor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CachedAnnotationTypeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_ANNOTATIONTYPE) -> windows_core::HRESULT, - pub CachedAnnotationTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedAuthor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedAnnotationTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedAuthor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationBoolCondition, IUIAutomationBoolCondition_Vtbl, 0x1b4e1f2e_75eb_4d0b_8952_5a69988e2307); impl std::ops::Deref for IUIAutomationBoolCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationBoolCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationBoolCondition { pub unsafe fn BooleanValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BooleanValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3844,7 +3844,7 @@ windows_core::imp::define_interface!(IUIAutomationCacheRequest, IUIAutomationCac impl std::ops::Deref for IUIAutomationCacheRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationCacheRequest, windows_core::IUnknown); @@ -3856,18 +3856,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TreeScope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TreeScope)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TreeFilter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTreeFilter(&self, filter: P0) -> windows_core::Result<()> @@ -3877,7 +3877,7 @@ impl IUIAutomationCacheRequest { (windows_core::Interface::vtable(self).SetTreeFilter)(windows_core::Interface::as_raw(self), filter.param().abi()).ok() } pub unsafe fn AutomationElementMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutomationElementMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutomationElementMode(&self, mode: AutomationElementMode) -> windows_core::Result<()> { @@ -3901,7 +3901,7 @@ windows_core::imp::define_interface!(IUIAutomationChangesEventHandler, IUIAutoma impl std::ops::Deref for IUIAutomationChangesEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationChangesEventHandler, windows_core::IUnknown); @@ -3922,7 +3922,7 @@ windows_core::imp::define_interface!(IUIAutomationCondition, IUIAutomationCondit impl std::ops::Deref for IUIAutomationCondition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationCondition, windows_core::IUnknown); @@ -3935,13 +3935,13 @@ windows_core::imp::define_interface!(IUIAutomationCustomNavigationPattern, IUIAu impl std::ops::Deref for IUIAutomationCustomNavigationPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationCustomNavigationPattern, windows_core::IUnknown); impl IUIAutomationCustomNavigationPattern { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Navigate)(windows_core::Interface::as_raw(self), direction, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3954,7 +3954,7 @@ windows_core::imp::define_interface!(IUIAutomationDockPattern, IUIAutomationDock impl std::ops::Deref for IUIAutomationDockPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationDockPattern, windows_core::IUnknown); @@ -3963,11 +3963,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDockPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedDockPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedDockPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3982,43 +3982,43 @@ windows_core::imp::define_interface!(IUIAutomationDragPattern, IUIAutomationDrag impl std::ops::Deref for IUIAutomationDragPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationDragPattern, windows_core::IUnknown); impl IUIAutomationDragPattern { pub unsafe fn CurrentIsGrabbed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsGrabbed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsGrabbed(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsGrabbed)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentDropEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDropEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedDropEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedDropEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentDropEffects(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDropEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedDropEffects(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedDropEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentGrabbedItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentGrabbedItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedGrabbedItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedGrabbedItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4027,8 +4027,8 @@ pub struct IUIAutomationDragPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CurrentIsGrabbed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedIsGrabbed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub CurrentDropEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedDropEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentDropEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedDropEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CurrentDropEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4044,35 +4044,35 @@ windows_core::imp::define_interface!(IUIAutomationDropTargetPattern, IUIAutomati impl std::ops::Deref for IUIAutomationDropTargetPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationDropTargetPattern, windows_core::IUnknown); impl IUIAutomationDropTargetPattern { pub unsafe fn CurrentDropTargetEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDropTargetEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedDropTargetEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedDropTargetEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentDropTargetEffects(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDropTargetEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedDropTargetEffects(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedDropTargetEffects)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IUIAutomationDropTargetPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CurrentDropTargetEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedDropTargetEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentDropTargetEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedDropTargetEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CurrentDropTargetEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4086,7 +4086,7 @@ windows_core::imp::define_interface!(IUIAutomationElement, IUIAutomationElement_ impl std::ops::Deref for IUIAutomationElement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElement, windows_core::IUnknown); @@ -4096,21 +4096,21 @@ impl IUIAutomationElement { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRuntimeId(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRuntimeId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FindFirst(&self, scope: TreeScope, condition: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirst)(windows_core::Interface::as_raw(self), scope, condition.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindAll(&self, scope: TreeScope, condition: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindAll)(windows_core::Interface::as_raw(self), scope, condition.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstBuildCache(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> windows_core::Result @@ -4118,7 +4118,7 @@ impl IUIAutomationElement { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstBuildCache)(windows_core::Interface::as_raw(self), scope, condition.param().abi(), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindAllBuildCache(&self, scope: TreeScope, condition: P0, cacherequest: P1) -> windows_core::Result @@ -4126,36 +4126,36 @@ impl IUIAutomationElement { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindAllBuildCache)(windows_core::Interface::as_raw(self), scope, condition.param().abi(), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BuildUpdatedCache(&self, cacherequest: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BuildUpdatedCache)(windows_core::Interface::as_raw(self), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentPropertyValue(&self, propertyid: UIA_PROPERTY_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPropertyValue)(windows_core::Interface::as_raw(self), propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentPropertyValueEx(&self, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPropertyValueEx)(windows_core::Interface::as_raw(self), propertyid, ignoredefaultvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedPropertyValue(&self, propertyid: UIA_PROPERTY_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedPropertyValue)(windows_core::Interface::as_raw(self), propertyid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedPropertyValueEx(&self, propertyid: UIA_PROPERTY_ID, ignoredefaultvalue: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedPropertyValueEx)(windows_core::Interface::as_raw(self), propertyid, ignoredefaultvalue.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentPatternAs(&self, patternid: UIA_PATTERN_ID) -> windows_core::Result @@ -4173,279 +4173,279 @@ impl IUIAutomationElement { (windows_core::Interface::vtable(self).GetCachedPatternAs)(windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPattern)(windows_core::Interface::as_raw(self), patternid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedPattern(&self, patternid: UIA_PATTERN_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedPattern)(windows_core::Interface::as_raw(self), patternid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedChildren(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedChildren)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentProcessId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentProcessId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentControlType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentControlType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentLocalizedControlType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentLocalizedControlType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentAcceleratorKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAcceleratorKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentAccessKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAccessKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentHasKeyboardFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentHasKeyboardFocus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentIsKeyboardFocusable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsKeyboardFocusable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentIsEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentAutomationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAutomationId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentClassName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentClassName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentHelpText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentHelpText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentCulture(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCulture)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentIsControlElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsControlElement)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentIsContentElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsContentElement)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentIsPassword(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsPassword)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentNativeWindowHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentNativeWindowHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentItemType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentItemType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentIsOffscreen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsOffscreen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentOrientation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentOrientation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentFrameworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFrameworkId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentIsRequiredForForm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsRequiredForForm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentItemStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentItemStatus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentBoundingRectangle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentBoundingRectangle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentLabeledBy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentLabeledBy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentAriaRole(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAriaRole)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentAriaProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAriaProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentIsDataValidForForm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsDataValidForForm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentControllerFor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentControllerFor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentDescribedBy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDescribedBy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentFlowsTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFlowsTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentProviderDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentProviderDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedProcessId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedProcessId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedControlType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedControlType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedLocalizedControlType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedLocalizedControlType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedAcceleratorKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAcceleratorKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedAccessKey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAccessKey)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedHasKeyboardFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedHasKeyboardFocus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsKeyboardFocusable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsKeyboardFocusable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedAutomationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAutomationId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedClassName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedClassName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedHelpText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedHelpText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedCulture(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCulture)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsControlElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsControlElement)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsContentElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsContentElement)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsPassword(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsPassword)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedNativeWindowHandle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedNativeWindowHandle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedItemType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedItemType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedIsOffscreen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsOffscreen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedOrientation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedOrientation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedFrameworkId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedFrameworkId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedIsRequiredForForm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsRequiredForForm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedItemStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedItemStatus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedBoundingRectangle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedBoundingRectangle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedLabeledBy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedLabeledBy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedAriaRole(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAriaRole)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedAriaProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAriaProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedIsDataValidForForm(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsDataValidForForm)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedControllerFor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedControllerFor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedDescribedBy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedDescribedBy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedFlowsTo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedFlowsTo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedProviderDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedProviderDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetClickablePoint(&self, clickable: *mut super::super::Foundation::POINT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClickablePoint)(windows_core::Interface::as_raw(self), clickable, &mut result__).map(|| result__) } } @@ -4462,10 +4462,10 @@ pub struct IUIAutomationElement_Vtbl { pub FindFirstBuildCache: unsafe extern "system" fn(*mut core::ffi::c_void, TreeScope, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FindAllBuildCache: unsafe extern "system" fn(*mut core::ffi::c_void, TreeScope, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BuildUpdatedCache: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCurrentPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCurrentPropertyValueEx: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, super::super::Foundation::BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCachedPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCachedPropertyValueEx: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, super::super::Foundation::BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCurrentPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCurrentPropertyValueEx: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, super::super::Foundation::BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCachedPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCachedPropertyValueEx: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, super::super::Foundation::BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCurrentPatternAs: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PATTERN_ID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCachedPatternAs: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PATTERN_ID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurrentPattern: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PATTERN_ID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4474,101 +4474,101 @@ pub struct IUIAutomationElement_Vtbl { pub GetCachedChildren: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CurrentProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentControlType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_CONTROLTYPE_ID) -> windows_core::HRESULT, - pub CurrentLocalizedControlType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentAcceleratorKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentAccessKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentLocalizedControlType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentAcceleratorKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentAccessKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentHasKeyboardFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CurrentIsKeyboardFocusable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CurrentIsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub CurrentAutomationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentClassName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentHelpText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentAutomationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentClassName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentHelpText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentCulture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CurrentIsControlElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CurrentIsContentElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CurrentIsPassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CurrentNativeWindowHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, - pub CurrentItemType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentItemType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentIsOffscreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CurrentOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OrientationType) -> windows_core::HRESULT, - pub CurrentFrameworkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentFrameworkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentIsRequiredForForm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub CurrentItemStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentItemStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentBoundingRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub CurrentLabeledBy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CurrentAriaRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentAriaProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentAriaRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentAriaProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentIsDataValidForForm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CurrentControllerFor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CurrentDescribedBy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CurrentFlowsTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CurrentProviderDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentProviderDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CachedControlType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_CONTROLTYPE_ID) -> windows_core::HRESULT, - pub CachedLocalizedControlType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedAcceleratorKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedAccessKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedLocalizedControlType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedAcceleratorKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedAccessKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedHasKeyboardFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedIsKeyboardFocusable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedIsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub CachedAutomationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedClassName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedHelpText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedAutomationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedClassName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedHelpText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedCulture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CachedIsControlElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedIsContentElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedIsPassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedNativeWindowHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, - pub CachedItemType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedItemType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedIsOffscreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OrientationType) -> windows_core::HRESULT, - pub CachedFrameworkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedFrameworkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedIsRequiredForForm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub CachedItemStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedItemStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedBoundingRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub CachedLabeledBy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CachedAriaRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedAriaProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedAriaRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedAriaProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedIsDataValidForForm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedControllerFor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CachedDescribedBy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CachedFlowsTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CachedProviderDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedProviderDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetClickablePoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::POINT, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement2, IUIAutomationElement2_Vtbl, 0x6749c683_f70d_4487_a698_5f79d55290d6); impl std::ops::Deref for IUIAutomationElement2 { type Target = IUIAutomationElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElement2, windows_core::IUnknown, IUIAutomationElement); impl IUIAutomationElement2 { pub unsafe fn CurrentOptimizeForVisualContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentOptimizeForVisualContent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedOptimizeForVisualContent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedOptimizeForVisualContent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentLiveSetting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentLiveSetting)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedLiveSetting(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedLiveSetting)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentFlowsFrom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFlowsFrom)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedFlowsFrom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedFlowsFrom)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4586,7 +4586,7 @@ windows_core::imp::define_interface!(IUIAutomationElement3, IUIAutomationElement impl std::ops::Deref for IUIAutomationElement3 { type Target = IUIAutomationElement2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElement3, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2); @@ -4595,11 +4595,11 @@ impl IUIAutomationElement3 { (windows_core::Interface::vtable(self).ShowContextMenu)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn CurrentIsPeripheral(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsPeripheral)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsPeripheral(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsPeripheral)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4614,51 +4614,51 @@ windows_core::imp::define_interface!(IUIAutomationElement4, IUIAutomationElement impl std::ops::Deref for IUIAutomationElement4 { type Target = IUIAutomationElement3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElement4, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3); impl IUIAutomationElement4 { pub unsafe fn CurrentPositionInSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPositionInSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentSizeOfSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentSizeOfSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CurrentAnnotationTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAnnotationTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentAnnotationObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentAnnotationObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedPositionInSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedPositionInSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedSizeOfSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedSizeOfSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CachedAnnotationTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAnnotationTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedAnnotationObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedAnnotationObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4686,25 +4686,25 @@ windows_core::imp::define_interface!(IUIAutomationElement5, IUIAutomationElement impl std::ops::Deref for IUIAutomationElement5 { type Target = IUIAutomationElement4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElement5, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4); impl IUIAutomationElement5 { pub unsafe fn CurrentLandmarkType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentLandmarkType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentLocalizedLandmarkType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentLocalizedLandmarkType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedLandmarkType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedLandmarkType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedLocalizedLandmarkType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedLocalizedLandmarkType)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4712,39 +4712,39 @@ impl IUIAutomationElement5 { pub struct IUIAutomationElement5_Vtbl { pub base__: IUIAutomationElement4_Vtbl, pub CurrentLandmarkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_LANDMARKTYPE_ID) -> windows_core::HRESULT, - pub CurrentLocalizedLandmarkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentLocalizedLandmarkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedLandmarkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_LANDMARKTYPE_ID) -> windows_core::HRESULT, - pub CachedLocalizedLandmarkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedLocalizedLandmarkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement6, IUIAutomationElement6_Vtbl, 0x4780d450_8bca_4977_afa5_a4a517f555e3); impl std::ops::Deref for IUIAutomationElement6 { type Target = IUIAutomationElement5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElement6, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5); impl IUIAutomationElement6 { pub unsafe fn CurrentFullDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFullDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedFullDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedFullDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IUIAutomationElement6_Vtbl { pub base__: IUIAutomationElement5_Vtbl, - pub CurrentFullDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedFullDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentFullDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedFullDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement7, IUIAutomationElement7_Vtbl, 0x204e8572_cfc3_4c11_b0c8_7da7420750b7); impl std::ops::Deref for IUIAutomationElement7 { type Target = IUIAutomationElement6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElement7, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6); @@ -4754,7 +4754,7 @@ impl IUIAutomationElement7 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstWithOptions)(windows_core::Interface::as_raw(self), scope, condition.param().abi(), traversaloptions, root.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindAllWithOptions(&self, scope: TreeScope, condition: P0, traversaloptions: TreeTraversalOptions, root: P1) -> windows_core::Result @@ -4762,7 +4762,7 @@ impl IUIAutomationElement7 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindAllWithOptions)(windows_core::Interface::as_raw(self), scope, condition.param().abi(), traversaloptions, root.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFirstWithOptionsBuildCache(&self, scope: TreeScope, condition: P0, cacherequest: P1, traversaloptions: TreeTraversalOptions, root: P2) -> windows_core::Result @@ -4771,7 +4771,7 @@ impl IUIAutomationElement7 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFirstWithOptionsBuildCache)(windows_core::Interface::as_raw(self), scope, condition.param().abi(), cacherequest.param().abi(), traversaloptions, root.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindAllWithOptionsBuildCache(&self, scope: TreeScope, condition: P0, cacherequest: P1, traversaloptions: TreeTraversalOptions, root: P2) -> windows_core::Result @@ -4780,11 +4780,11 @@ impl IUIAutomationElement7 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindAllWithOptionsBuildCache)(windows_core::Interface::as_raw(self), scope, condition.param().abi(), cacherequest.param().abi(), traversaloptions, root.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentMetadataValue(&self, targetid: i32, metadataid: UIA_METADATA_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentMetadataValue)(windows_core::Interface::as_raw(self), targetid, metadataid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4795,23 +4795,23 @@ pub struct IUIAutomationElement7_Vtbl { pub FindAllWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, TreeScope, *mut core::ffi::c_void, TreeTraversalOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FindFirstWithOptionsBuildCache: unsafe extern "system" fn(*mut core::ffi::c_void, TreeScope, *mut core::ffi::c_void, *mut core::ffi::c_void, TreeTraversalOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FindAllWithOptionsBuildCache: unsafe extern "system" fn(*mut core::ffi::c_void, TreeScope, *mut core::ffi::c_void, *mut core::ffi::c_void, TreeTraversalOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCurrentMetadataValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, UIA_METADATA_ID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCurrentMetadataValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, UIA_METADATA_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement8, IUIAutomationElement8_Vtbl, 0x8c60217d_5411_4cde_bcc0_1ceda223830c); impl std::ops::Deref for IUIAutomationElement8 { type Target = IUIAutomationElement7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElement8, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7); impl IUIAutomationElement8 { pub unsafe fn CurrentHeadingLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentHeadingLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedHeadingLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedHeadingLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4825,17 +4825,17 @@ windows_core::imp::define_interface!(IUIAutomationElement9, IUIAutomationElement impl std::ops::Deref for IUIAutomationElement9 { type Target = IUIAutomationElement8; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElement9, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7, IUIAutomationElement8); impl IUIAutomationElement9 { pub unsafe fn CurrentIsDialog(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsDialog)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsDialog(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsDialog)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4849,17 +4849,17 @@ windows_core::imp::define_interface!(IUIAutomationElementArray, IUIAutomationEle impl std::ops::Deref for IUIAutomationElementArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationElementArray, windows_core::IUnknown); impl IUIAutomationElementArray { pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetElement(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElement)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4873,7 +4873,7 @@ windows_core::imp::define_interface!(IUIAutomationEventHandler, IUIAutomationEve impl std::ops::Deref for IUIAutomationEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationEventHandler, windows_core::IUnknown); @@ -4894,7 +4894,7 @@ windows_core::imp::define_interface!(IUIAutomationEventHandlerGroup, IUIAutomati impl std::ops::Deref for IUIAutomationEventHandlerGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationEventHandlerGroup, windows_core::IUnknown); @@ -4964,7 +4964,7 @@ windows_core::imp::define_interface!(IUIAutomationExpandCollapsePattern, IUIAuto impl std::ops::Deref for IUIAutomationExpandCollapsePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationExpandCollapsePattern, windows_core::IUnknown); @@ -4976,11 +4976,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentExpandCollapseState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedExpandCollapseState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedExpandCollapseState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4996,7 +4996,7 @@ windows_core::imp::define_interface!(IUIAutomationFocusChangedEventHandler, IUIA impl std::ops::Deref for IUIAutomationFocusChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationFocusChangedEventHandler, windows_core::IUnknown); @@ -5017,49 +5017,49 @@ windows_core::imp::define_interface!(IUIAutomationGridItemPattern, IUIAutomation impl std::ops::Deref for IUIAutomationGridItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationGridItemPattern, windows_core::IUnknown); impl IUIAutomationGridItemPattern { pub unsafe fn CurrentContainingGrid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentContainingGrid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentRow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentRow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentColumn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentColumn)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentRowSpan(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentRowSpan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentColumnSpan(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentColumnSpan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedContainingGrid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedContainingGrid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedRow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedRow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedColumn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedColumn)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedRowSpan(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedRowSpan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedColumnSpan(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedColumnSpan)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5081,29 +5081,29 @@ windows_core::imp::define_interface!(IUIAutomationGridPattern, IUIAutomationGrid impl std::ops::Deref for IUIAutomationGridPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationGridPattern, windows_core::IUnknown); impl IUIAutomationGridPattern { pub unsafe fn GetItem(&self, row: i32, column: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), row, column, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentRowCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentRowCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentColumnCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentColumnCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedRowCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedRowCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedColumnCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedColumnCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5120,7 +5120,7 @@ windows_core::imp::define_interface!(IUIAutomationInvokePattern, IUIAutomationIn impl std::ops::Deref for IUIAutomationInvokePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationInvokePattern, windows_core::IUnknown); @@ -5138,7 +5138,7 @@ windows_core::imp::define_interface!(IUIAutomationItemContainerPattern, IUIAutom impl std::ops::Deref for IUIAutomationItemContainerPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationItemContainerPattern, windows_core::IUnknown); @@ -5148,20 +5148,20 @@ impl IUIAutomationItemContainerPattern { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindItemByProperty)(windows_core::Interface::as_raw(self), pstartafter.param().abi(), propertyid, value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IUIAutomationItemContainerPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub FindItemByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindItemByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationLegacyIAccessiblePattern, IUIAutomationLegacyIAccessiblePattern_Vtbl, 0x828055ad_355b_4435_86d5_3b51c14a9b1b); impl std::ops::Deref for IUIAutomationLegacyIAccessiblePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationLegacyIAccessiblePattern, windows_core::IUnknown); @@ -5179,88 +5179,88 @@ impl IUIAutomationLegacyIAccessiblePattern { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), szvalue.param().abi()).ok() } pub unsafe fn CurrentChildId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentChildId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentRole(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentRole)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentHelp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentHelp)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentKeyboardShortcut(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentKeyboardShortcut)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSelection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentDefaultAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentDefaultAction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedChildId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedChildId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedRole(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedRole)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedHelp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedHelp)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedKeyboardShortcut(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedKeyboardShortcut)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedSelection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedDefaultAction(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedDefaultAction)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetIAccessible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIAccessible)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5271,25 +5271,25 @@ pub struct IUIAutomationLegacyIAccessiblePattern_Vtbl { pub DoDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub CurrentChildId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CurrentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CurrentState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub CurrentHelp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentKeyboardShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentHelp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentKeyboardShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCurrentSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CurrentDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedChildId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CachedName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CachedState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub CachedHelp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedKeyboardShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedHelp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedKeyboardShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCachedSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CachedDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedDefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetIAccessible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -5299,41 +5299,41 @@ windows_core::imp::define_interface!(IUIAutomationMultipleViewPattern, IUIAutoma impl std::ops::Deref for IUIAutomationMultipleViewPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationMultipleViewPattern, windows_core::IUnknown); impl IUIAutomationMultipleViewPattern { pub unsafe fn GetViewName(&self, view: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewName)(windows_core::Interface::as_raw(self), view, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCurrentView)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCurrentSupportedViews(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSupportedViews)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedCurrentView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCurrentView)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCachedSupportedViews(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedSupportedViews)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IUIAutomationMultipleViewPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetViewName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetViewName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CurrentCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -5350,13 +5350,13 @@ windows_core::imp::define_interface!(IUIAutomationNotCondition, IUIAutomationNot impl std::ops::Deref for IUIAutomationNotCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationNotCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationNotCondition { pub unsafe fn GetChild(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChild)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5369,7 +5369,7 @@ windows_core::imp::define_interface!(IUIAutomationNotificationEventHandler, IUIA impl std::ops::Deref for IUIAutomationNotificationEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationNotificationEventHandler, windows_core::IUnknown); @@ -5386,19 +5386,19 @@ impl IUIAutomationNotificationEventHandler { #[repr(C)] pub struct IUIAutomationNotificationEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub HandleNotificationEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, NotificationKind, NotificationProcessing, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HandleNotificationEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, NotificationKind, NotificationProcessing, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationObjectModelPattern, IUIAutomationObjectModelPattern_Vtbl, 0x71c284b3_c14d_4d14_981e_19751b0d756d); impl std::ops::Deref for IUIAutomationObjectModelPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationObjectModelPattern, windows_core::IUnknown); impl IUIAutomationObjectModelPattern { pub unsafe fn GetUnderlyingObjectModel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnderlyingObjectModel)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5411,13 +5411,13 @@ windows_core::imp::define_interface!(IUIAutomationOrCondition, IUIAutomationOrCo impl std::ops::Deref for IUIAutomationOrCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationOrCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationOrCondition { pub unsafe fn ChildCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChildCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetChildrenAsNativeArray(&self, childarray: *mut *mut Option, childarraycount: *mut i32) -> windows_core::Result<()> { @@ -5425,7 +5425,7 @@ impl IUIAutomationOrCondition { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetChildren(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChildren)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5443,7 +5443,7 @@ windows_core::imp::define_interface!(IUIAutomationPatternHandler, IUIAutomationP impl std::ops::Deref for IUIAutomationPatternHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationPatternHandler, windows_core::IUnknown); @@ -5452,7 +5452,7 @@ impl IUIAutomationPatternHandler { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateClientWrapper)(windows_core::Interface::as_raw(self), ppatterninstance.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Dispatch(&self, ptarget: P0, index: u32, pparams: *const UIAutomationParameter, cparams: u32) -> windows_core::Result<()> @@ -5472,7 +5472,7 @@ windows_core::imp::define_interface!(IUIAutomationPatternInstance, IUIAutomation impl std::ops::Deref for IUIAutomationPatternInstance { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationPatternInstance, windows_core::IUnknown); @@ -5497,7 +5497,7 @@ windows_core::imp::define_interface!(IUIAutomationPropertyChangedEventHandler, I impl std::ops::Deref for IUIAutomationPropertyChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationPropertyChangedEventHandler, windows_core::IUnknown); @@ -5513,27 +5513,27 @@ impl IUIAutomationPropertyChangedEventHandler { #[repr(C)] pub struct IUIAutomationPropertyChangedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub HandlePropertyChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub HandlePropertyChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationPropertyCondition, IUIAutomationPropertyCondition_Vtbl, 0x99ebf2cb_5578_4267_9ad4_afd6ea77e94b); impl std::ops::Deref for IUIAutomationPropertyCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationPropertyCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationPropertyCondition { pub unsafe fn PropertyId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PropertyValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PropertyConditionFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PropertyConditionFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5541,14 +5541,14 @@ impl IUIAutomationPropertyCondition { pub struct IUIAutomationPropertyCondition_Vtbl { pub base__: IUIAutomationCondition_Vtbl, pub PropertyId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_PROPERTY_ID) -> windows_core::HRESULT, - pub PropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PropertyConditionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PropertyConditionFlags) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationProxyFactory, IUIAutomationProxyFactory_Vtbl, 0x85b94ecd_849d_42b6_b94d_d6db23fdf5a4); impl std::ops::Deref for IUIAutomationProxyFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationProxyFactory, windows_core::IUnknown); @@ -5557,11 +5557,11 @@ impl IUIAutomationProxyFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateProvider)(windows_core::Interface::as_raw(self), hwnd.param().abi(), idobject, idchild, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProxyFactoryId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyFactoryId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5569,39 +5569,39 @@ impl IUIAutomationProxyFactory { pub struct IUIAutomationProxyFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateProvider: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ProxyFactoryId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ProxyFactoryId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationProxyFactoryEntry, IUIAutomationProxyFactoryEntry_Vtbl, 0xd50e472e_b64b_490c_bca1_d30696f9f289); impl std::ops::Deref for IUIAutomationProxyFactoryEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationProxyFactoryEntry, windows_core::IUnknown); impl IUIAutomationProxyFactoryEntry { pub unsafe fn ProxyFactory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProxyFactory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClassName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClassName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ImageName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ImageName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AllowSubstringMatch(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AllowSubstringMatch)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanCheckBaseClass(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanCheckBaseClass)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn NeedsAdviseEvents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NeedsAdviseEvents)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClassName(&self, classname: P0) -> windows_core::Result<()> @@ -5640,7 +5640,7 @@ impl IUIAutomationProxyFactoryEntry { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetWinEventsForAutomationEvent(&self, eventid: UIA_EVENT_ID, propertyid: UIA_PROPERTY_ID) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWinEventsForAutomationEvent)(windows_core::Interface::as_raw(self), eventid, propertyid, &mut result__).map(|| result__) } } @@ -5648,8 +5648,8 @@ impl IUIAutomationProxyFactoryEntry { pub struct IUIAutomationProxyFactoryEntry_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProxyFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub ClassName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ClassName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub AllowSubstringMatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CanCheckBaseClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub NeedsAdviseEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -5671,22 +5671,22 @@ windows_core::imp::define_interface!(IUIAutomationProxyFactoryMapping, IUIAutoma impl std::ops::Deref for IUIAutomationProxyFactoryMapping { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationProxyFactoryMapping, windows_core::IUnknown); impl IUIAutomationProxyFactoryMapping { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTable(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEntry(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEntry)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5739,7 +5739,7 @@ windows_core::imp::define_interface!(IUIAutomationRangeValuePattern, IUIAutomati impl std::ops::Deref for IUIAutomationRangeValuePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationRangeValuePattern, windows_core::IUnknown); @@ -5748,51 +5748,51 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentIsReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentMaximum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentMaximum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentMinimum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentMinimum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentLargeChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentLargeChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentSmallChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentSmallChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedMaximum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedMaximum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedMinimum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedMinimum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedLargeChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedLargeChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedSmallChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedSmallChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5817,17 +5817,17 @@ windows_core::imp::define_interface!(IUIAutomationRegistrar, IUIAutomationRegist impl std::ops::Deref for IUIAutomationRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationRegistrar, windows_core::IUnknown); impl IUIAutomationRegistrar { pub unsafe fn RegisterProperty(&self, property: *const UIAutomationPropertyInfo) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterProperty)(windows_core::Interface::as_raw(self), property, &mut result__).map(|| result__) } pub unsafe fn RegisterEvent(&self, event: *const UIAutomationEventInfo) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterEvent)(windows_core::Interface::as_raw(self), event, &mut result__).map(|| result__) } pub unsafe fn RegisterPattern(&self, pattern: *const UIAutomationPatternInfo, ppatternid: *mut i32, ppatternavailablepropertyid: *mut i32, ppropertyids: &mut [i32], peventids: &mut [i32]) -> windows_core::Result<()> { @@ -5845,7 +5845,7 @@ windows_core::imp::define_interface!(IUIAutomationScrollItemPattern, IUIAutomati impl std::ops::Deref for IUIAutomationScrollItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationScrollItemPattern, windows_core::IUnknown); @@ -5863,7 +5863,7 @@ windows_core::imp::define_interface!(IUIAutomationScrollPattern, IUIAutomationSc impl std::ops::Deref for IUIAutomationScrollPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationScrollPattern, windows_core::IUnknown); @@ -5875,51 +5875,51 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentHorizontalScrollPercent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentVerticalScrollPercent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentVerticalScrollPercent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentHorizontalViewSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentHorizontalViewSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentVerticalViewSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentVerticalViewSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentHorizontallyScrollable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentHorizontallyScrollable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentVerticallyScrollable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentVerticallyScrollable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedHorizontalScrollPercent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedHorizontalScrollPercent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedVerticalScrollPercent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedVerticalScrollPercent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedHorizontalViewSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedHorizontalViewSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedVerticalViewSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedVerticalViewSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedHorizontallyScrollable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedHorizontallyScrollable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedVerticallyScrollable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedVerticallyScrollable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5945,7 +5945,7 @@ windows_core::imp::define_interface!(IUIAutomationSelectionItemPattern, IUIAutom impl std::ops::Deref for IUIAutomationSelectionItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationSelectionItemPattern, windows_core::IUnknown); @@ -5960,19 +5960,19 @@ impl IUIAutomationSelectionItemPattern { (windows_core::Interface::vtable(self).RemoveFromSelection)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn CurrentIsSelected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsSelected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentSelectionContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentSelectionContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedIsSelected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsSelected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedSelectionContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedSelectionContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5991,33 +5991,33 @@ windows_core::imp::define_interface!(IUIAutomationSelectionPattern, IUIAutomatio impl std::ops::Deref for IUIAutomationSelectionPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationSelectionPattern, windows_core::IUnknown); impl IUIAutomationSelectionPattern { pub unsafe fn GetCurrentSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSelection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentCanSelectMultiple(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCanSelectMultiple)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentIsSelectionRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsSelectionRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCachedSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedSelection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedCanSelectMultiple(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCanSelectMultiple)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsSelectionRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsSelectionRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6035,41 +6035,41 @@ windows_core::imp::define_interface!(IUIAutomationSelectionPattern2, IUIAutomati impl std::ops::Deref for IUIAutomationSelectionPattern2 { type Target = IUIAutomationSelectionPattern; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationSelectionPattern2, windows_core::IUnknown, IUIAutomationSelectionPattern); impl IUIAutomationSelectionPattern2 { pub unsafe fn CurrentFirstSelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFirstSelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentLastSelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentLastSelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentCurrentSelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCurrentSelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedFirstSelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedFirstSelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedLastSelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedLastSelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedCurrentSelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCurrentSelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6089,48 +6089,48 @@ windows_core::imp::define_interface!(IUIAutomationSpreadsheetItemPattern, IUIAut impl std::ops::Deref for IUIAutomationSpreadsheetItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationSpreadsheetItemPattern, windows_core::IUnknown); impl IUIAutomationSpreadsheetItemPattern { pub unsafe fn CurrentFormula(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFormula)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentAnnotationObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentAnnotationObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCurrentAnnotationTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentAnnotationTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedFormula(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedFormula)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedAnnotationObjects(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedAnnotationObjects)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetCachedAnnotationTypes(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedAnnotationTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IUIAutomationSpreadsheetItemPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CurrentFormula: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentFormula: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCurrentAnnotationObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetCurrentAnnotationTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetCurrentAnnotationTypes: usize, - pub CachedFormula: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedFormula: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCachedAnnotationObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetCachedAnnotationTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, @@ -6141,7 +6141,7 @@ windows_core::imp::define_interface!(IUIAutomationSpreadsheetPattern, IUIAutomat impl std::ops::Deref for IUIAutomationSpreadsheetPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationSpreadsheetPattern, windows_core::IUnknown); @@ -6150,20 +6150,20 @@ impl IUIAutomationSpreadsheetPattern { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemByName)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IUIAutomationSpreadsheetPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationStructureChangedEventHandler, IUIAutomationStructureChangedEventHandler_Vtbl, 0xe81d1b4e_11c5_42f8_9754_e7036c79f054); impl std::ops::Deref for IUIAutomationStructureChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationStructureChangedEventHandler, windows_core::IUnknown); @@ -6188,68 +6188,68 @@ windows_core::imp::define_interface!(IUIAutomationStylesPattern, IUIAutomationSt impl std::ops::Deref for IUIAutomationStylesPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationStylesPattern, windows_core::IUnknown); impl IUIAutomationStylesPattern { pub unsafe fn CurrentStyleId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentStyleId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentStyleName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentStyleName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentFillColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFillColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentFillPatternStyle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFillPatternStyle)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentShape(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentShape)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentFillPatternColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentFillPatternColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentExtendedProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentExtendedProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentExtendedPropertiesAsArray(&self, propertyarray: *mut *mut ExtendedProperty, propertycount: *mut i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCurrentExtendedPropertiesAsArray)(windows_core::Interface::as_raw(self), propertyarray, propertycount).ok() } pub unsafe fn CachedStyleId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedStyleId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedStyleName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedStyleName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedFillColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedFillColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedFillPatternStyle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedFillPatternStyle)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedShape(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedShape)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedFillPatternColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedFillPatternColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedExtendedProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedExtendedProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedExtendedPropertiesAsArray(&self, propertyarray: *mut *mut ExtendedProperty, propertycount: *mut i32) -> windows_core::Result<()> { @@ -6260,27 +6260,27 @@ impl IUIAutomationStylesPattern { pub struct IUIAutomationStylesPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CurrentStyleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_STYLE_ID) -> windows_core::HRESULT, - pub CurrentStyleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentStyleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentFillColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CurrentFillPatternStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentShape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentFillPatternStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentShape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentFillPatternColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CurrentExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCurrentExtendedPropertiesAsArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut ExtendedProperty, *mut i32) -> windows_core::HRESULT, pub CachedStyleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_STYLE_ID) -> windows_core::HRESULT, - pub CachedStyleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedStyleName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedFillColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CachedFillPatternStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CachedShape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedFillPatternStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedShape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedFillPatternColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub CachedExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCachedExtendedPropertiesAsArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut ExtendedProperty, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationSynchronizedInputPattern, IUIAutomationSynchronizedInputPattern_Vtbl, 0x2233be0b_afb7_448b_9fda_3b378aa5eae1); impl std::ops::Deref for IUIAutomationSynchronizedInputPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationSynchronizedInputPattern, windows_core::IUnknown); @@ -6302,25 +6302,25 @@ windows_core::imp::define_interface!(IUIAutomationTableItemPattern, IUIAutomatio impl std::ops::Deref for IUIAutomationTableItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTableItemPattern, windows_core::IUnknown); impl IUIAutomationTableItemPattern { pub unsafe fn GetCurrentRowHeaderItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentRowHeaderItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentColumnHeaderItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentColumnHeaderItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedRowHeaderItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedRowHeaderItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedColumnHeaderItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedColumnHeaderItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6336,33 +6336,33 @@ windows_core::imp::define_interface!(IUIAutomationTablePattern, IUIAutomationTab impl std::ops::Deref for IUIAutomationTablePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTablePattern, windows_core::IUnknown); impl IUIAutomationTablePattern { pub unsafe fn GetCurrentRowHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentRowHeaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentColumnHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentColumnHeaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentRowOrColumnMajor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentRowOrColumnMajor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCachedRowHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedRowHeaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedColumnHeaders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCachedColumnHeaders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedRowOrColumnMajor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedRowOrColumnMajor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6380,17 +6380,17 @@ windows_core::imp::define_interface!(IUIAutomationTextChildPattern, IUIAutomatio impl std::ops::Deref for IUIAutomationTextChildPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTextChildPattern, windows_core::IUnknown); impl IUIAutomationTextChildPattern { pub unsafe fn TextContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TextContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TextRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TextRange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6404,17 +6404,17 @@ windows_core::imp::define_interface!(IUIAutomationTextEditPattern, IUIAutomation impl std::ops::Deref for IUIAutomationTextEditPattern { type Target = IUIAutomationTextPattern; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTextEditPattern, windows_core::IUnknown, IUIAutomationTextPattern); impl IUIAutomationTextEditPattern { pub unsafe fn GetActiveComposition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveComposition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConversionTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConversionTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6428,7 +6428,7 @@ windows_core::imp::define_interface!(IUIAutomationTextEditTextChangedEventHandle impl std::ops::Deref for IUIAutomationTextEditTextChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTextEditTextChangedEventHandler, windows_core::IUnknown); @@ -6453,36 +6453,36 @@ windows_core::imp::define_interface!(IUIAutomationTextPattern, IUIAutomationText impl std::ops::Deref for IUIAutomationTextPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTextPattern, windows_core::IUnknown); impl IUIAutomationTextPattern { pub unsafe fn RangeFromPoint(&self, pt: super::super::Foundation::POINT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeFromPoint)(windows_core::Interface::as_raw(self), core::mem::transmute(pt), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RangeFromChild(&self, child: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeFromChild)(windows_core::Interface::as_raw(self), child.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVisibleRanges(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisibleRanges)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DocumentRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DocumentRange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportedTextSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedTextSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6500,7 +6500,7 @@ windows_core::imp::define_interface!(IUIAutomationTextPattern2, IUIAutomationTex impl std::ops::Deref for IUIAutomationTextPattern2 { type Target = IUIAutomationTextPattern; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTextPattern2, windows_core::IUnknown, IUIAutomationTextPattern); @@ -6509,11 +6509,11 @@ impl IUIAutomationTextPattern2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeFromAnnotation)(windows_core::Interface::as_raw(self), annotation.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCaretRange(&self, isactive: *mut super::super::Foundation::BOOL) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaretRange)(windows_core::Interface::as_raw(self), isactive, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6527,27 +6527,27 @@ windows_core::imp::define_interface!(IUIAutomationTextRange, IUIAutomationTextRa impl std::ops::Deref for IUIAutomationTextRange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTextRange, windows_core::IUnknown); impl IUIAutomationTextRange { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Compare(&self, range: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Compare)(windows_core::Interface::as_raw(self), range.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CompareEndpoints(&self, srcendpoint: TextPatternRangeEndpoint, range: P0, targetendpoint: TextPatternRangeEndpoint) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareEndpoints)(windows_core::Interface::as_raw(self), srcendpoint, range.param().abi(), targetendpoint, &mut result__).map(|| result__) } pub unsafe fn ExpandToEnclosingUnit(&self, textunit: TextUnit) -> windows_core::Result<()> { @@ -6558,7 +6558,7 @@ impl IUIAutomationTextRange { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindAttribute)(windows_core::Interface::as_raw(self), attr, val.param().abi(), backward.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindText(&self, text: P0, backward: P1, ignorecase: P2) -> windows_core::Result @@ -6567,32 +6567,32 @@ impl IUIAutomationTextRange { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindText)(windows_core::Interface::as_raw(self), text.param().abi(), backward.param().abi(), ignorecase.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAttributeValue(&self, attr: UIA_TEXTATTRIBUTE_ID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeValue)(windows_core::Interface::as_raw(self), attr, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingRectangles(&self) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoundingRectangles)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEnclosingElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnclosingElement)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetText(&self, maxlength: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), maxlength, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Move(&self, unit: TextUnit, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Move)(windows_core::Interface::as_raw(self), unit, count, &mut result__).map(|| result__) } pub unsafe fn MoveEndpointByUnit(&self, endpoint: TextPatternRangeEndpoint, unit: TextUnit, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveEndpointByUnit)(windows_core::Interface::as_raw(self), endpoint, unit, count, &mut result__).map(|| result__) } pub unsafe fn MoveEndpointByRange(&self, srcendpoint: TextPatternRangeEndpoint, range: P0, targetendpoint: TextPatternRangeEndpoint) -> windows_core::Result<()> @@ -6617,7 +6617,7 @@ impl IUIAutomationTextRange { (windows_core::Interface::vtable(self).ScrollIntoView)(windows_core::Interface::as_raw(self), aligntotop.param().abi()).ok() } pub unsafe fn GetChildren(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChildren)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6628,15 +6628,15 @@ pub struct IUIAutomationTextRange_Vtbl { pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CompareEndpoints: unsafe extern "system" fn(*mut core::ffi::c_void, TextPatternRangeEndpoint, *mut core::ffi::c_void, TextPatternRangeEndpoint, *mut i32) -> windows_core::HRESULT, pub ExpandToEnclosingUnit: unsafe extern "system" fn(*mut core::ffi::c_void, TextUnit) -> windows_core::HRESULT, - pub FindAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_TEXTATTRIBUTE_ID, std::mem::MaybeUninit, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FindText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetAttributeValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_TEXTATTRIBUTE_ID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FindAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_TEXTATTRIBUTE_ID, core::mem::MaybeUninit, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub GetAttributeValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_TEXTATTRIBUTE_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetBoundingRectangles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetBoundingRectangles: usize, pub GetEnclosingElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, TextUnit, i32, *mut i32) -> windows_core::HRESULT, pub MoveEndpointByUnit: unsafe extern "system" fn(*mut core::ffi::c_void, TextPatternRangeEndpoint, TextUnit, i32, *mut i32) -> windows_core::HRESULT, pub MoveEndpointByRange: unsafe extern "system" fn(*mut core::ffi::c_void, TextPatternRangeEndpoint, *mut core::ffi::c_void, TextPatternRangeEndpoint) -> windows_core::HRESULT, @@ -6650,7 +6650,7 @@ windows_core::imp::define_interface!(IUIAutomationTextRange2, IUIAutomationTextR impl std::ops::Deref for IUIAutomationTextRange2 { type Target = IUIAutomationTextRange; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTextRange2, windows_core::IUnknown, IUIAutomationTextRange); @@ -6668,7 +6668,7 @@ windows_core::imp::define_interface!(IUIAutomationTextRange3, IUIAutomationTextR impl std::ops::Deref for IUIAutomationTextRange3 { type Target = IUIAutomationTextRange2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTextRange3, windows_core::IUnknown, IUIAutomationTextRange, IUIAutomationTextRange2); @@ -6677,19 +6677,19 @@ impl IUIAutomationTextRange3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnclosingElementBuildCache)(windows_core::Interface::as_raw(self), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetChildrenBuildCache(&self, cacherequest: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChildrenBuildCache)(windows_core::Interface::as_raw(self), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetAttributeValues(&self, attributeids: &[UIA_TEXTATTRIBUTE_ID]) -> windows_core::Result<*mut super::super::System::Com::SAFEARRAY> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributeValues)(windows_core::Interface::as_raw(self), core::mem::transmute(attributeids.as_ptr()), attributeids.len().try_into().unwrap(), &mut result__).map(|| result__) } } @@ -6707,17 +6707,17 @@ windows_core::imp::define_interface!(IUIAutomationTextRangeArray, IUIAutomationT impl std::ops::Deref for IUIAutomationTextRangeArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTextRangeArray, windows_core::IUnknown); impl IUIAutomationTextRangeArray { pub unsafe fn Length(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Length)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetElement(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElement)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6731,7 +6731,7 @@ windows_core::imp::define_interface!(IUIAutomationTogglePattern, IUIAutomationTo impl std::ops::Deref for IUIAutomationTogglePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTogglePattern, windows_core::IUnknown); @@ -6740,11 +6740,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentToggleState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedToggleState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedToggleState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6759,7 +6759,7 @@ windows_core::imp::define_interface!(IUIAutomationTransformPattern, IUIAutomatio impl std::ops::Deref for IUIAutomationTransformPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTransformPattern, windows_core::IUnknown); @@ -6774,27 +6774,27 @@ impl IUIAutomationTransformPattern { (windows_core::Interface::vtable(self).Rotate)(windows_core::Interface::as_raw(self), degrees).ok() } pub unsafe fn CurrentCanMove(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCanMove)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentCanResize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCanResize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentCanRotate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCanRotate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedCanMove(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCanMove)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedCanResize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCanResize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedCanRotate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCanRotate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6815,7 +6815,7 @@ windows_core::imp::define_interface!(IUIAutomationTransformPattern2, IUIAutomati impl std::ops::Deref for IUIAutomationTransformPattern2 { type Target = IUIAutomationTransformPattern; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTransformPattern2, windows_core::IUnknown, IUIAutomationTransformPattern); @@ -6827,35 +6827,35 @@ impl IUIAutomationTransformPattern2 { (windows_core::Interface::vtable(self).ZoomByUnit)(windows_core::Interface::as_raw(self), zoomunit).ok() } pub unsafe fn CurrentCanZoom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCanZoom)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedCanZoom(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCanZoom)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentZoomLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentZoomLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedZoomLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedZoomLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentZoomMinimum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentZoomMinimum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedZoomMinimum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedZoomMinimum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentZoomMaximum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentZoomMaximum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedZoomMaximum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedZoomMaximum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6877,7 +6877,7 @@ windows_core::imp::define_interface!(IUIAutomationTreeWalker, IUIAutomationTreeW impl std::ops::Deref for IUIAutomationTreeWalker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationTreeWalker, windows_core::IUnknown); @@ -6886,42 +6886,42 @@ impl IUIAutomationTreeWalker { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentElement)(windows_core::Interface::as_raw(self), element.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFirstChildElement(&self, element: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstChildElement)(windows_core::Interface::as_raw(self), element.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLastChildElement(&self, element: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastChildElement)(windows_core::Interface::as_raw(self), element.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNextSiblingElement(&self, element: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextSiblingElement)(windows_core::Interface::as_raw(self), element.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPreviousSiblingElement(&self, element: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousSiblingElement)(windows_core::Interface::as_raw(self), element.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NormalizeElement(&self, element: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NormalizeElement)(windows_core::Interface::as_raw(self), element.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParentElementBuildCache(&self, element: P0, cacherequest: P1) -> windows_core::Result @@ -6929,7 +6929,7 @@ impl IUIAutomationTreeWalker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentElementBuildCache)(windows_core::Interface::as_raw(self), element.param().abi(), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFirstChildElementBuildCache(&self, element: P0, cacherequest: P1) -> windows_core::Result @@ -6937,7 +6937,7 @@ impl IUIAutomationTreeWalker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstChildElementBuildCache)(windows_core::Interface::as_raw(self), element.param().abi(), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLastChildElementBuildCache(&self, element: P0, cacherequest: P1) -> windows_core::Result @@ -6945,7 +6945,7 @@ impl IUIAutomationTreeWalker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastChildElementBuildCache)(windows_core::Interface::as_raw(self), element.param().abi(), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNextSiblingElementBuildCache(&self, element: P0, cacherequest: P1) -> windows_core::Result @@ -6953,7 +6953,7 @@ impl IUIAutomationTreeWalker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextSiblingElementBuildCache)(windows_core::Interface::as_raw(self), element.param().abi(), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPreviousSiblingElementBuildCache(&self, element: P0, cacherequest: P1) -> windows_core::Result @@ -6961,7 +6961,7 @@ impl IUIAutomationTreeWalker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousSiblingElementBuildCache)(windows_core::Interface::as_raw(self), element.param().abi(), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NormalizeElementBuildCache(&self, element: P0, cacherequest: P1) -> windows_core::Result @@ -6969,11 +6969,11 @@ impl IUIAutomationTreeWalker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NormalizeElementBuildCache)(windows_core::Interface::as_raw(self), element.param().abi(), cacherequest.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Condition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Condition)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6998,7 +6998,7 @@ windows_core::imp::define_interface!(IUIAutomationValuePattern, IUIAutomationVal impl std::ops::Deref for IUIAutomationValuePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationValuePattern, windows_core::IUnknown); @@ -7010,36 +7010,36 @@ impl IUIAutomationValuePattern { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn CurrentValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CurrentIsReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CachedIsReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IUIAutomationValuePattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CurrentValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CurrentValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentIsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub CachedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CachedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub CachedIsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationVirtualizedItemPattern, IUIAutomationVirtualizedItemPattern_Vtbl, 0x6ba3d7a6_04cf_4f11_8793_a8d1cde9969f); impl std::ops::Deref for IUIAutomationVirtualizedItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationVirtualizedItemPattern, windows_core::IUnknown); @@ -7057,7 +7057,7 @@ windows_core::imp::define_interface!(IUIAutomationWindowPattern, IUIAutomationWi impl std::ops::Deref for IUIAutomationWindowPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAutomationWindowPattern, windows_core::IUnknown); @@ -7066,58 +7066,58 @@ impl IUIAutomationWindowPattern { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn WaitForInputIdle(&self, milliseconds: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitForInputIdle)(windows_core::Interface::as_raw(self), milliseconds, &mut result__).map(|| result__) } pub unsafe fn SetWindowVisualState(&self, state: WindowVisualState) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetWindowVisualState)(windows_core::Interface::as_raw(self), state).ok() } pub unsafe fn CurrentCanMaximize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCanMaximize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentCanMinimize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCanMinimize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentIsModal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsModal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentIsTopmost(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentIsTopmost)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentWindowVisualState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentWindowVisualState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentWindowInteractionState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentWindowInteractionState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedCanMaximize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCanMaximize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedCanMinimize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedCanMinimize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsModal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsModal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedIsTopmost(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedIsTopmost)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedWindowVisualState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedWindowVisualState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CachedWindowInteractionState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CachedWindowInteractionState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7144,7 +7144,7 @@ windows_core::imp::define_interface!(IValueProvider, IValueProvider_Vtbl, 0xc793 impl std::ops::Deref for IValueProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IValueProvider, windows_core::IUnknown); @@ -7156,11 +7156,11 @@ impl IValueProvider { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), val.param().abi()).ok() } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsReadOnly(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsReadOnly)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7168,14 +7168,14 @@ impl IValueProvider { pub struct IValueProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVirtualizedItemProvider, IVirtualizedItemProvider_Vtbl, 0xcb98b665_2d35_4fac_ad35_f3c60d0c0b8b); impl std::ops::Deref for IVirtualizedItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVirtualizedItemProvider, windows_core::IUnknown); @@ -7193,7 +7193,7 @@ windows_core::imp::define_interface!(IWindowProvider, IWindowProvider_Vtbl, 0x98 impl std::ops::Deref for IWindowProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWindowProvider, windows_core::IUnknown); @@ -7205,31 +7205,31 @@ impl IWindowProvider { (windows_core::Interface::vtable(self).Close)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn WaitForInputIdle(&self, milliseconds: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WaitForInputIdle)(windows_core::Interface::as_raw(self), milliseconds, &mut result__).map(|| result__) } pub unsafe fn CanMaximize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanMaximize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanMinimize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanMinimize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsModal(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsModal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WindowVisualState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowVisualState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn WindowInteractionState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowInteractionState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsTopmost(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTopmost)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9513,8 +9513,8 @@ pub const CUIAutomationRegistrar: windows_core::GUID = windows_core::GUID::from_ #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct ExtendedProperty { - pub PropertyName: std::mem::ManuallyDrop, - pub PropertyValue: std::mem::ManuallyDrop, + pub PropertyName: core::mem::ManuallyDrop, + pub PropertyValue: core::mem::ManuallyDrop, } impl Clone for ExtendedProperty { fn clone(&self) -> Self { @@ -9871,7 +9871,7 @@ pub struct UIAutomationPatternInfo { pub pMethods: *mut UIAutomationMethodInfo, pub cEvents: u32, pub pEvents: *mut UIAutomationEventInfo, - pub pPatternHandler: std::mem::ManuallyDrop>, + pub pPatternHandler: core::mem::ManuallyDrop>, } impl Clone for UIAutomationPatternInfo { fn clone(&self) -> Self { @@ -9955,8 +9955,8 @@ impl Default for UiaCacheRequest { #[derive(Debug, Eq, PartialEq)] pub struct UiaChangeInfo { pub uiaId: i32, - pub payload: std::mem::ManuallyDrop, - pub extraInfo: std::mem::ManuallyDrop, + pub payload: core::mem::ManuallyDrop, + pub extraInfo: core::mem::ManuallyDrop, } impl Clone for UiaChangeInfo { fn clone(&self) -> Self { @@ -10064,8 +10064,8 @@ pub struct UiaPropertyChangedEventArgs { pub Type: EventArgsType, pub EventId: UIA_EVENT_ID, pub PropertyId: i32, - pub OldValue: std::mem::ManuallyDrop, - pub NewValue: std::mem::ManuallyDrop, + pub OldValue: core::mem::ManuallyDrop, + pub NewValue: core::mem::ManuallyDrop, } impl Clone for UiaPropertyChangedEventArgs { fn clone(&self) -> Self { @@ -10085,7 +10085,7 @@ impl Default for UiaPropertyChangedEventArgs { pub struct UiaPropertyCondition { pub ConditionType: ConditionType, pub PropertyId: UIA_PROPERTY_ID, - pub Value: std::mem::ManuallyDrop, + pub Value: core::mem::ManuallyDrop, pub Flags: PropertyConditionFlags, } impl Clone for UiaPropertyCondition { 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 1b22e57bfa..e6a996b10f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IUIAnimationInterpolator, IUIAnimationInter impl std::ops::Deref for IUIAnimationInterpolator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationInterpolator, windows_core::IUnknown); @@ -14,19 +14,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFinalValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFinalValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InterpolateValue(&self, offset: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InterpolateValue)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn InterpolateVelocity(&self, offset: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InterpolateVelocity)(windows_core::Interface::as_raw(self), offset, &mut result__).map(|| result__) } pub unsafe fn GetDependencies(&self, initialvaluedependencies: *mut UI_ANIMATION_DEPENDENCIES, initialvelocitydependencies: *mut UI_ANIMATION_DEPENDENCIES, durationdependencies: *mut UI_ANIMATION_DEPENDENCIES) -> windows_core::Result<()> { @@ -48,13 +48,13 @@ windows_core::imp::define_interface!(IUIAnimationInterpolator2, IUIAnimationInte impl std::ops::Deref for IUIAnimationInterpolator2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationInterpolator2, windows_core::IUnknown); impl IUIAnimationInterpolator2 { pub unsafe fn GetDimension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDimension)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInitialValueAndVelocity(&self, initialvalue: *const f64, initialvelocity: *const f64, cdimension: u32) -> windows_core::Result<()> { @@ -64,7 +64,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFinalValue(&self, value: &mut [f64]) -> windows_core::Result<()> { @@ -103,7 +103,7 @@ windows_core::imp::define_interface!(IUIAnimationLoopIterationChangeHandler2, IU impl std::ops::Deref for IUIAnimationLoopIterationChangeHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationLoopIterationChangeHandler2, windows_core::IUnknown); @@ -124,13 +124,13 @@ windows_core::imp::define_interface!(IUIAnimationManager, IUIAnimationManager_Vt impl std::ops::Deref for IUIAnimationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationManager, windows_core::IUnknown); impl IUIAnimationManager { pub unsafe fn CreateAnimationVariable(&self, initialvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAnimationVariable)(windows_core::Interface::as_raw(self), initialvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ScheduleTransition(&self, variable: P0, transition: P1, timenow: f64) -> windows_core::Result<()> @@ -141,7 +141,7 @@ impl IUIAnimationManager { (windows_core::Interface::vtable(self).ScheduleTransition)(windows_core::Interface::as_raw(self), variable.param().abi(), transition.param().abi(), timenow).ok() } pub unsafe fn CreateStoryboard(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStoryboard)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FinishAllStoryboards(&self, completiondeadline: f64) -> windows_core::Result<()> { @@ -157,18 +157,18 @@ impl IUIAnimationManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVariableFromTag)(windows_core::Interface::as_raw(self), object.param().abi(), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStoryboardFromTag(&self, object: P0, id: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStoryboardFromTag)(windows_core::Interface::as_raw(self), object.param().abi(), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAnimationMode(&self, mode: UI_ANIMATION_MODE) -> windows_core::Result<()> { @@ -244,17 +244,17 @@ windows_core::imp::define_interface!(IUIAnimationManager2, IUIAnimationManager2_ impl std::ops::Deref for IUIAnimationManager2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationManager2, windows_core::IUnknown); impl IUIAnimationManager2 { pub unsafe fn CreateAnimationVectorVariable(&self, initialvalue: &[f64]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAnimationVectorVariable)(windows_core::Interface::as_raw(self), core::mem::transmute(initialvalue.as_ptr()), initialvalue.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAnimationVariable(&self, initialvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAnimationVariable)(windows_core::Interface::as_raw(self), initialvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ScheduleTransition(&self, variable: P0, transition: P1, timenow: f64) -> windows_core::Result<()> @@ -265,7 +265,7 @@ impl IUIAnimationManager2 { (windows_core::Interface::vtable(self).ScheduleTransition)(windows_core::Interface::as_raw(self), variable.param().abi(), transition.param().abi(), timenow).ok() } pub unsafe fn CreateStoryboard(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStoryboard)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FinishAllStoryboards(&self, completiondeadline: f64) -> windows_core::Result<()> { @@ -281,22 +281,22 @@ impl IUIAnimationManager2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVariableFromTag)(windows_core::Interface::as_raw(self), object.param().abi(), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStoryboardFromTag(&self, object: P0, id: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStoryboardFromTag)(windows_core::Interface::as_raw(self), object.param().abi(), id, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EstimateNextEventTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EstimateNextEventTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAnimationMode(&self, mode: UI_ANIMATION_MODE) -> windows_core::Result<()> { @@ -375,7 +375,7 @@ windows_core::imp::define_interface!(IUIAnimationManagerEventHandler, IUIAnimati impl std::ops::Deref for IUIAnimationManagerEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationManagerEventHandler, windows_core::IUnknown); @@ -393,7 +393,7 @@ windows_core::imp::define_interface!(IUIAnimationManagerEventHandler2, IUIAnimat impl std::ops::Deref for IUIAnimationManagerEventHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationManagerEventHandler2, windows_core::IUnknown); @@ -411,7 +411,7 @@ windows_core::imp::define_interface!(IUIAnimationPrimitiveInterpolation, IUIAnim impl std::ops::Deref for IUIAnimationPrimitiveInterpolation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationPrimitiveInterpolation, windows_core::IUnknown); @@ -433,7 +433,7 @@ windows_core::imp::define_interface!(IUIAnimationPriorityComparison, IUIAnimatio impl std::ops::Deref for IUIAnimationPriorityComparison { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationPriorityComparison, windows_core::IUnknown); @@ -455,7 +455,7 @@ windows_core::imp::define_interface!(IUIAnimationPriorityComparison2, IUIAnimati impl std::ops::Deref for IUIAnimationPriorityComparison2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationPriorityComparison2, windows_core::IUnknown); @@ -477,7 +477,7 @@ windows_core::imp::define_interface!(IUIAnimationStoryboard, IUIAnimationStorybo impl std::ops::Deref for IUIAnimationStoryboard { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationStoryboard, windows_core::IUnknown); @@ -493,14 +493,14 @@ impl IUIAnimationStoryboard { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddKeyframeAtOffset)(windows_core::Interface::as_raw(self), existingkeyframe.param().abi(), offset, &mut result__).map(|| result__) } pub unsafe fn AddKeyframeAfterTransition(&self, transition: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddKeyframeAfterTransition)(windows_core::Interface::as_raw(self), transition.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AddTransitionAtKeyframe(&self, variable: P0, transition: P1, startkeyframe: P2) -> windows_core::Result<()> @@ -558,11 +558,11 @@ impl IUIAnimationStoryboard { (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), core::mem::transmute(object.unwrap_or(std::ptr::null_mut())), core::mem::transmute(id.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetElapsedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElapsedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStoryboardEventHandler(&self, handler: P0) -> windows_core::Result<()> @@ -597,7 +597,7 @@ windows_core::imp::define_interface!(IUIAnimationStoryboard2, IUIAnimationStoryb impl std::ops::Deref for IUIAnimationStoryboard2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationStoryboard2, windows_core::IUnknown); @@ -613,14 +613,14 @@ impl IUIAnimationStoryboard2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddKeyframeAtOffset)(windows_core::Interface::as_raw(self), existingkeyframe.param().abi(), offset, &mut result__).map(|| result__) } pub unsafe fn AddKeyframeAfterTransition(&self, transition: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddKeyframeAfterTransition)(windows_core::Interface::as_raw(self), transition.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AddTransitionAtKeyframe(&self, variable: P0, transition: P1, startkeyframe: P2) -> windows_core::Result<()> @@ -683,11 +683,11 @@ impl IUIAnimationStoryboard2 { (windows_core::Interface::vtable(self).GetTag)(windows_core::Interface::as_raw(self), core::mem::transmute(object.unwrap_or(std::ptr::null_mut())), core::mem::transmute(id.unwrap_or(std::ptr::null_mut()))).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetElapsedTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetElapsedTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStoryboardEventHandler(&self, handler: P0, fregisterstatuschangefornextanimationevent: P1, fregisterupdatefornextanimationevent: P2) -> windows_core::Result<()> @@ -725,7 +725,7 @@ windows_core::imp::define_interface!(IUIAnimationStoryboardEventHandler, IUIAnim impl std::ops::Deref for IUIAnimationStoryboardEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationStoryboardEventHandler, windows_core::IUnknown); @@ -753,7 +753,7 @@ windows_core::imp::define_interface!(IUIAnimationStoryboardEventHandler2, IUIAni impl std::ops::Deref for IUIAnimationStoryboardEventHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationStoryboardEventHandler2, windows_core::IUnknown); @@ -781,7 +781,7 @@ windows_core::imp::define_interface!(IUIAnimationTimer, IUIAnimationTimer_Vtbl, impl std::ops::Deref for IUIAnimationTimer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTimer, windows_core::IUnknown); @@ -808,7 +808,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFrameRateThreshold(&self, framespersecond: u32) -> windows_core::Result<()> { @@ -830,7 +830,7 @@ windows_core::imp::define_interface!(IUIAnimationTimerClientEventHandler, IUIAni impl std::ops::Deref for IUIAnimationTimerClientEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTimerClientEventHandler, windows_core::IUnknown); @@ -848,7 +848,7 @@ windows_core::imp::define_interface!(IUIAnimationTimerEventHandler, IUIAnimation impl std::ops::Deref for IUIAnimationTimerEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTimerEventHandler, windows_core::IUnknown); @@ -874,13 +874,13 @@ windows_core::imp::define_interface!(IUIAnimationTimerUpdateHandler, IUIAnimatio impl std::ops::Deref for IUIAnimationTimerUpdateHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTimerUpdateHandler, windows_core::IUnknown); impl IUIAnimationTimerUpdateHandler { pub unsafe fn OnUpdate(&self, timenow: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnUpdate)(windows_core::Interface::as_raw(self), timenow, &mut result__).map(|| result__) } pub unsafe fn SetTimerClientEventHandler(&self, handler: P0) -> windows_core::Result<()> @@ -904,7 +904,7 @@ windows_core::imp::define_interface!(IUIAnimationTransition, IUIAnimationTransit impl std::ops::Deref for IUIAnimationTransition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTransition, windows_core::IUnknown); @@ -919,7 +919,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -935,13 +935,13 @@ windows_core::imp::define_interface!(IUIAnimationTransition2, IUIAnimationTransi impl std::ops::Deref for IUIAnimationTransition2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTransition2, windows_core::IUnknown); impl IUIAnimationTransition2 { pub unsafe fn GetDimension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDimension)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInitialValue(&self, value: f64) -> windows_core::Result<()> { @@ -960,7 +960,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuration)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -979,7 +979,7 @@ windows_core::imp::define_interface!(IUIAnimationTransitionFactory, IUIAnimation impl std::ops::Deref for IUIAnimationTransitionFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTransitionFactory, windows_core::IUnknown); @@ -988,7 +988,7 @@ impl IUIAnimationTransitionFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransition)(windows_core::Interface::as_raw(self), interpolator.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1001,7 +1001,7 @@ windows_core::imp::define_interface!(IUIAnimationTransitionFactory2, IUIAnimatio impl std::ops::Deref for IUIAnimationTransitionFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTransitionFactory2, windows_core::IUnknown); @@ -1010,7 +1010,7 @@ impl IUIAnimationTransitionFactory2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTransition)(windows_core::Interface::as_raw(self), interpolator.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1023,57 +1023,57 @@ windows_core::imp::define_interface!(IUIAnimationTransitionLibrary, IUIAnimation impl std::ops::Deref for IUIAnimationTransitionLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTransitionLibrary, windows_core::IUnknown); impl IUIAnimationTransitionLibrary { pub unsafe fn CreateInstantaneousTransition(&self, finalvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstantaneousTransition)(windows_core::Interface::as_raw(self), finalvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateConstantTransition(&self, duration: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateConstantTransition)(windows_core::Interface::as_raw(self), duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDiscreteTransition(&self, delay: f64, finalvalue: f64, hold: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDiscreteTransition)(windows_core::Interface::as_raw(self), delay, finalvalue, hold, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLinearTransition(&self, duration: f64, finalvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLinearTransition)(windows_core::Interface::as_raw(self), duration, finalvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLinearTransitionFromSpeed(&self, speed: f64, finalvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLinearTransitionFromSpeed)(windows_core::Interface::as_raw(self), speed, finalvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSinusoidalTransitionFromVelocity(&self, duration: f64, period: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSinusoidalTransitionFromVelocity)(windows_core::Interface::as_raw(self), duration, period, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSinusoidalTransitionFromRange)(windows_core::Interface::as_raw(self), duration, minimumvalue, maximumvalue, period, slope, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAccelerateDecelerateTransition(&self, duration: f64, finalvalue: f64, accelerationratio: f64, decelerationratio: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAccelerateDecelerateTransition)(windows_core::Interface::as_raw(self), duration, finalvalue, accelerationratio, decelerationratio, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateReversalTransition(&self, duration: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateReversalTransition)(windows_core::Interface::as_raw(self), duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCubicTransition(&self, duration: f64, finalvalue: f64, finalvelocity: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCubicTransition)(windows_core::Interface::as_raw(self), duration, finalvalue, finalvelocity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSmoothStopTransition(&self, maximumduration: f64, finalvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSmoothStopTransition)(windows_core::Interface::as_raw(self), maximumduration, finalvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateParabolicTransitionFromAcceleration(&self, finalvalue: f64, finalvelocity: f64, acceleration: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateParabolicTransitionFromAcceleration)(windows_core::Interface::as_raw(self), finalvalue, finalvelocity, acceleration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1097,85 +1097,85 @@ windows_core::imp::define_interface!(IUIAnimationTransitionLibrary2, IUIAnimatio impl std::ops::Deref for IUIAnimationTransitionLibrary2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationTransitionLibrary2, windows_core::IUnknown); impl IUIAnimationTransitionLibrary2 { pub unsafe fn CreateInstantaneousTransition(&self, finalvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstantaneousTransition)(windows_core::Interface::as_raw(self), finalvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInstantaneousVectorTransition(&self, finalvalue: &[f64]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInstantaneousVectorTransition)(windows_core::Interface::as_raw(self), core::mem::transmute(finalvalue.as_ptr()), finalvalue.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateConstantTransition(&self, duration: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateConstantTransition)(windows_core::Interface::as_raw(self), duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDiscreteTransition(&self, delay: f64, finalvalue: f64, hold: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDiscreteTransition)(windows_core::Interface::as_raw(self), delay, finalvalue, hold, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateDiscreteVectorTransition(&self, delay: f64, finalvalue: &[f64], hold: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDiscreteVectorTransition)(windows_core::Interface::as_raw(self), delay, core::mem::transmute(finalvalue.as_ptr()), finalvalue.len().try_into().unwrap(), hold, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLinearTransition(&self, duration: f64, finalvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLinearTransition)(windows_core::Interface::as_raw(self), duration, finalvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLinearVectorTransition(&self, duration: f64, finalvalue: &[f64]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLinearVectorTransition)(windows_core::Interface::as_raw(self), duration, core::mem::transmute(finalvalue.as_ptr()), finalvalue.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLinearTransitionFromSpeed(&self, speed: f64, finalvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLinearTransitionFromSpeed)(windows_core::Interface::as_raw(self), speed, finalvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateLinearVectorTransitionFromSpeed(&self, speed: f64, finalvalue: &[f64]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateLinearVectorTransitionFromSpeed)(windows_core::Interface::as_raw(self), speed, core::mem::transmute(finalvalue.as_ptr()), finalvalue.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSinusoidalTransitionFromVelocity(&self, duration: f64, period: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSinusoidalTransitionFromVelocity)(windows_core::Interface::as_raw(self), duration, period, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSinusoidalTransitionFromRange)(windows_core::Interface::as_raw(self), duration, minimumvalue, maximumvalue, period, slope, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAccelerateDecelerateTransition(&self, duration: f64, finalvalue: f64, accelerationratio: f64, decelerationratio: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateAccelerateDecelerateTransition)(windows_core::Interface::as_raw(self), duration, finalvalue, accelerationratio, decelerationratio, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateReversalTransition(&self, duration: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateReversalTransition)(windows_core::Interface::as_raw(self), duration, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCubicTransition(&self, duration: f64, finalvalue: f64, finalvelocity: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCubicTransition)(windows_core::Interface::as_raw(self), duration, finalvalue, finalvelocity, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCubicVectorTransition(&self, duration: f64, finalvalue: *const f64, finalvelocity: *const f64, cdimension: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCubicVectorTransition)(windows_core::Interface::as_raw(self), duration, finalvalue, finalvelocity, cdimension, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSmoothStopTransition(&self, maximumduration: f64, finalvalue: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSmoothStopTransition)(windows_core::Interface::as_raw(self), maximumduration, finalvalue, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateParabolicTransitionFromAcceleration(&self, finalvalue: f64, finalvelocity: f64, acceleration: f64) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateParabolicTransitionFromAcceleration)(windows_core::Interface::as_raw(self), finalvalue, finalvelocity, acceleration, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCubicBezierLinearTransition)(windows_core::Interface::as_raw(self), duration, finalvalue, x1, y1, x2, y2, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateCubicBezierLinearVectorTransition)(windows_core::Interface::as_raw(self), duration, core::mem::transmute(finalvalue.as_ptr()), finalvalue.len().try_into().unwrap(), x1, y1, x2, y2, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1206,37 +1206,37 @@ windows_core::imp::define_interface!(IUIAnimationVariable, IUIAnimationVariable_ impl std::ops::Deref for IUIAnimationVariable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationVariable, windows_core::IUnknown); impl IUIAnimationVariable { pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFinalValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFinalValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPreviousValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIntegerValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIntegerValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFinalIntegerValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFinalIntegerValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPreviousIntegerValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousIntegerValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCurrentStoryboard(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentStoryboard)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLowerBound(&self, bound: f64) -> windows_core::Result<()> { @@ -1292,17 +1292,17 @@ windows_core::imp::define_interface!(IUIAnimationVariable2, IUIAnimationVariable impl std::ops::Deref for IUIAnimationVariable2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationVariable2, windows_core::IUnknown); impl IUIAnimationVariable2 { pub unsafe fn GetDimension(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDimension)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVectorValue(&self, value: &mut [f64]) -> windows_core::Result<()> { @@ -1320,42 +1320,42 @@ impl IUIAnimationVariable2 { (windows_core::Interface::vtable(self).GetVectorCurve)(windows_core::Interface::as_raw(self), core::mem::transmute(animation.as_ptr()), animation.len().try_into().unwrap()).ok() } pub unsafe fn GetFinalValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFinalValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(finalvalue.as_ptr()), finalvalue.len().try_into().unwrap()).ok() } pub unsafe fn GetPreviousValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(previousvalue.as_ptr()), previousvalue.len().try_into().unwrap()).ok() } pub unsafe fn GetIntegerValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIntegerValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(value.as_ptr()), value.len().try_into().unwrap()).ok() } pub unsafe fn GetFinalIntegerValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFinalIntegerValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(finalvalue.as_ptr()), finalvalue.len().try_into().unwrap()).ok() } pub unsafe fn GetPreviousIntegerValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousIntegerValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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(previousvalue.as_ptr()), previousvalue.len().try_into().unwrap()).ok() } pub unsafe fn GetCurrentStoryboard(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentStoryboard)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetLowerBound(&self, bound: f64) -> windows_core::Result<()> { @@ -1443,7 +1443,7 @@ windows_core::imp::define_interface!(IUIAnimationVariableChangeHandler, IUIAnima impl std::ops::Deref for IUIAnimationVariableChangeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationVariableChangeHandler, windows_core::IUnknown); @@ -1465,7 +1465,7 @@ windows_core::imp::define_interface!(IUIAnimationVariableChangeHandler2, IUIAnim impl std::ops::Deref for IUIAnimationVariableChangeHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationVariableChangeHandler2, windows_core::IUnknown); @@ -1487,7 +1487,7 @@ windows_core::imp::define_interface!(IUIAnimationVariableCurveChangeHandler2, IU impl std::ops::Deref for IUIAnimationVariableCurveChangeHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationVariableCurveChangeHandler2, windows_core::IUnknown); @@ -1508,7 +1508,7 @@ windows_core::imp::define_interface!(IUIAnimationVariableIntegerChangeHandler, I impl std::ops::Deref for IUIAnimationVariableIntegerChangeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler, windows_core::IUnknown); @@ -1530,7 +1530,7 @@ windows_core::imp::define_interface!(IUIAnimationVariableIntegerChangeHandler2, impl std::ops::Deref for IUIAnimationVariableIntegerChangeHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler2, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs index ebab85aa6a..8d18cb5b6b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs @@ -14,7 +14,7 @@ pub trait IDeviceModelPlugIn_Impl: Sized { impl windows_core::RuntimeName for IDeviceModelPlugIn {} impl IDeviceModelPlugIn_Vtbl { pub const fn new, Impl: IDeviceModelPlugIn_Impl, const OFFSET: isize>() -> IDeviceModelPlugIn_Vtbl { - unsafe extern "system" fn Initialize, Impl: IDeviceModelPlugIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: std::mem::MaybeUninit, cnummodels: u32, imodelposition: u32) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IDeviceModelPlugIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: core::mem::MaybeUninit, cnummodels: u32, imodelposition: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDeviceModelPlugIn_Impl::Initialize(this, core::mem::transmute(&bstrxml), core::mem::transmute_copy(&cnummodels), core::mem::transmute_copy(&imodelposition)).into() @@ -119,7 +119,7 @@ pub trait IGamutMapModelPlugIn_Impl: Sized { impl windows_core::RuntimeName for IGamutMapModelPlugIn {} impl IGamutMapModelPlugIn_Vtbl { pub const fn new, Impl: IGamutMapModelPlugIn_Impl, const OFFSET: isize>() -> IGamutMapModelPlugIn_Vtbl { - unsafe extern "system" fn Initialize, Impl: IGamutMapModelPlugIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: std::mem::MaybeUninit, psrcplugin: *mut core::ffi::c_void, pdestplugin: *mut core::ffi::c_void, psrcgbd: *const GamutBoundaryDescription, pdestgbd: *const GamutBoundaryDescription) -> windows_core::HRESULT { + unsafe extern "system" fn Initialize, Impl: IGamutMapModelPlugIn_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrxml: core::mem::MaybeUninit, psrcplugin: *mut core::ffi::c_void, pdestplugin: *mut core::ffi::c_void, psrcgbd: *const GamutBoundaryDescription, pdestgbd: *const GamutBoundaryDescription) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IGamutMapModelPlugIn_Impl::Initialize(this, core::mem::transmute(&bstrxml), windows_core::from_raw_borrowed(&psrcplugin), windows_core::from_raw_borrowed(&pdestplugin), core::mem::transmute_copy(&psrcgbd), core::mem::transmute_copy(&pdestgbd)).into() 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 84db7cf2dc..b55eed9367 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -199,7 +199,7 @@ where #[inline] pub unsafe fn ColorProfileGetDisplayDefault(scope: WCS_PROFILE_MANAGEMENT_SCOPE, targetadapterid: super::super::Foundation::LUID, sourceid: u32, profiletype: COLORPROFILETYPE, profilesubtype: COLORPROFILESUBTYPE) -> windows_core::Result { windows_targets::link!("mscms.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ColorProfileGetDisplayDefault(scope, core::mem::transmute(targetadapterid), sourceid, profiletype, profilesubtype, &mut result__).map(|| result__) } #[inline] @@ -210,7 +210,7 @@ pub unsafe fn ColorProfileGetDisplayList(scope: WCS_PROFILE_MANAGEMENT_SCOPE, ta #[inline] pub unsafe fn ColorProfileGetDisplayUserScope(targetadapterid: super::super::Foundation::LUID, sourceid: u32) -> windows_core::Result { windows_targets::link!("mscms.dll" "system" fn ColorProfileGetDisplayUserScope(targetadapterid : super::super::Foundation:: LUID, sourceid : u32, scope : *mut WCS_PROFILE_MANAGEMENT_SCOPE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ColorProfileGetDisplayUserScope(core::mem::transmute(targetadapterid), sourceid, &mut result__).map(|| result__) } #[inline] @@ -841,7 +841,7 @@ windows_core::imp::define_interface!(IDeviceModelPlugIn, IDeviceModelPlugIn_Vtbl impl std::ops::Deref for IDeviceModelPlugIn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDeviceModelPlugIn, windows_core::IUnknown); @@ -853,18 +853,18 @@ impl IDeviceModelPlugIn { (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), bstrxml.param().abi(), cnummodels, imodelposition).ok() } pub unsafe fn GetNumChannels(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumChannels)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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().try_into().unwrap(), cchannels, pdevicevalues, core::mem::transmute(pxyzcolors.as_ptr())).ok() } pub unsafe fn ColorimetricToDeviceColors(&self, cchannels: u32, pxyzcolors: &[XYZColorF]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ColorimetricToDeviceColors)(windows_core::Interface::as_raw(self), pxyzcolors.len().try_into().unwrap(), cchannels, core::mem::transmute(pxyzcolors.as_ptr()), &mut result__).map(|| result__) } pub unsafe fn ColorimetricToDeviceColorsWithBlack(&self, ccolors: u32, cchannels: u32, pxyzcolors: *const XYZColorF, pblackinformation: *const BlackInformation) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ColorimetricToDeviceColorsWithBlack)(windows_core::Interface::as_raw(self), ccolors, cchannels, pxyzcolors, pblackinformation, &mut result__).map(|| result__) } pub unsafe fn SetTransformDeviceModelInfo(&self, imodelposition: u32, pidevicemodelother: P0) -> windows_core::Result<()> @@ -883,7 +883,7 @@ impl IDeviceModelPlugIn { (windows_core::Interface::vtable(self).GetGamutBoundaryMesh)(windows_core::Interface::as_raw(self), cchannels, cvertices, ptriangles.len().try_into().unwrap(), pvertices, core::mem::transmute(ptriangles.as_ptr())).ok() } pub unsafe fn GetNeutralAxisSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNeutralAxisSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNeutralAxis(&self, pxyzcolors: &mut [XYZColorF]) -> windows_core::Result<()> { @@ -893,7 +893,7 @@ impl IDeviceModelPlugIn { #[repr(C)] pub struct IDeviceModelPlugIn_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, u32) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, u32) -> windows_core::HRESULT, pub GetNumChannels: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub DeviceToColorimetricColors: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const f32, *mut XYZColorF) -> windows_core::HRESULT, pub ColorimetricToDeviceColors: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const XYZColorF, *mut f32) -> windows_core::HRESULT, @@ -909,7 +909,7 @@ windows_core::imp::define_interface!(IGamutMapModelPlugIn, IGamutMapModelPlugIn_ impl std::ops::Deref for IGamutMapModelPlugIn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGamutMapModelPlugIn, windows_core::IUnknown); @@ -929,7 +929,7 @@ impl IGamutMapModelPlugIn { #[repr(C)] pub struct IGamutMapModelPlugIn_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *const GamutBoundaryDescription, *const GamutBoundaryDescription) -> windows_core::HRESULT, + pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut core::ffi::c_void, *const GamutBoundaryDescription, *const GamutBoundaryDescription) -> windows_core::HRESULT, pub SourceToDestinationAppearanceColors: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const JChColorF, *mut JChColorF) -> windows_core::HRESULT, } pub const ATTRIB_MATTE: u32 = 2u32; diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs index c2f3db0ae0..917f4b2f9b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs @@ -119,7 +119,7 @@ windows_core::imp::define_interface!(IPrintDialogCallback, IPrintDialogCallback_ impl std::ops::Deref for IPrintDialogCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintDialogCallback, windows_core::IUnknown); @@ -150,7 +150,7 @@ windows_core::imp::define_interface!(IPrintDialogServices, IPrintDialogServices_ impl std::ops::Deref for IPrintDialogServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintDialogServices, windows_core::IUnknown); @@ -1843,7 +1843,7 @@ pub struct PRINTDLGEXA { pub nCopies: u32, pub hInstance: super::super::super::Foundation::HINSTANCE, pub lpPrintTemplateName: windows_core::PCSTR, - pub lpCallback: std::mem::ManuallyDrop>, + pub lpCallback: core::mem::ManuallyDrop>, pub nPropertyPages: u32, pub lphPropertyPages: *mut super::HPROPSHEETPAGE, pub nStartPage: u32, @@ -1888,7 +1888,7 @@ pub struct PRINTDLGEXA { pub nCopies: u32, pub hInstance: super::super::super::Foundation::HINSTANCE, pub lpPrintTemplateName: windows_core::PCSTR, - pub lpCallback: std::mem::ManuallyDrop>, + pub lpCallback: core::mem::ManuallyDrop>, pub nPropertyPages: u32, pub lphPropertyPages: *mut super::HPROPSHEETPAGE, pub nStartPage: u32, @@ -1926,7 +1926,7 @@ pub struct PRINTDLGEXW { pub nCopies: u32, pub hInstance: super::super::super::Foundation::HINSTANCE, pub lpPrintTemplateName: windows_core::PCWSTR, - pub lpCallback: std::mem::ManuallyDrop>, + pub lpCallback: core::mem::ManuallyDrop>, pub nPropertyPages: u32, pub lphPropertyPages: *mut super::HPROPSHEETPAGE, pub nStartPage: u32, @@ -1971,7 +1971,7 @@ pub struct PRINTDLGEXW { pub nCopies: u32, pub hInstance: super::super::super::Foundation::HINSTANCE, pub lpPrintTemplateName: windows_core::PCWSTR, - pub lpCallback: std::mem::ManuallyDrop>, + pub lpCallback: core::mem::ManuallyDrop>, pub nPropertyPages: u32, pub lphPropertyPages: *mut super::HPROPSHEETPAGE, pub nStartPage: u32, diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs index 2caea33106..7bd481e12f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs @@ -230,7 +230,7 @@ pub trait IRicheditUiaOverrides_Impl: Sized { impl windows_core::RuntimeName for IRicheditUiaOverrides {} impl IRicheditUiaOverrides_Vtbl { pub const fn new, Impl: IRicheditUiaOverrides_Impl, const OFFSET: isize>() -> IRicheditUiaOverrides_Vtbl { - unsafe extern "system" fn GetPropertyOverrideValue, Impl: IRicheditUiaOverrides_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: i32, pretvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyOverrideValue, Impl: IRicheditUiaOverrides_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyid: i32, pretvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IRicheditUiaOverrides_Impl::GetPropertyOverrideValue(this, core::mem::transmute_copy(&propertyid), core::mem::transmute_copy(&pretvalue)).into() @@ -281,7 +281,7 @@ impl windows_core::RuntimeName for ITextDocument {} #[cfg(feature = "Win32_System_Com")] impl ITextDocument_Vtbl { pub const fn new, Impl: ITextDocument_Impl, const OFFSET: isize>() -> ITextDocument_Vtbl { - unsafe extern "system" fn GetName, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextDocument_Impl::GetName(this) { @@ -362,12 +362,12 @@ impl ITextDocument_Vtbl { let this = (*this).get_impl(); ITextDocument_Impl::New(this).into() } - unsafe extern "system" fn Open, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const std::mem::MaybeUninit, flags: tomConstants, codepage: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Open, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const core::mem::MaybeUninit, flags: tomConstants, codepage: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextDocument_Impl::Open(this, core::mem::transmute_copy(&pvar), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&codepage)).into() } - unsafe extern "system" fn Save, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const std::mem::MaybeUninit, flags: tomConstants, codepage: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Save, Impl: ITextDocument_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const core::mem::MaybeUninit, flags: tomConstants, codepage: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextDocument_Impl::Save(this, core::mem::transmute_copy(&pvar), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&codepage)).into() @@ -597,7 +597,7 @@ impl ITextDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetGenerator, Impl: ITextDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetGenerator, Impl: ITextDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextDocument2_Impl::GetGenerator(this) { @@ -732,7 +732,7 @@ impl ITextDocument2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPreferredFont, Impl: ITextDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut std::mem::MaybeUninit, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetPreferredFont, Impl: ITextDocument2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut core::mem::MaybeUninit, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextDocument2_Impl::GetPreferredFont(this, core::mem::transmute_copy(&cp), core::mem::transmute_copy(&charrep), core::mem::transmute_copy(&options), core::mem::transmute_copy(&curcharrep), core::mem::transmute_copy(&curfontsize), core::mem::transmute_copy(&pbstr), core::mem::transmute_copy(&ppitchandfamily), core::mem::transmute_copy(&pnewfontsize)).into() @@ -1028,7 +1028,7 @@ impl ITextDocument2Old_Vtbl { let this = (*this).get_impl(); ITextDocument2Old_Impl::ReleaseImmContext(this, core::mem::transmute_copy(&context)).into() } - unsafe extern "system" fn GetPreferredFont, Impl: ITextDocument2Old_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut std::mem::MaybeUninit, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetPreferredFont, Impl: ITextDocument2Old_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut core::mem::MaybeUninit, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextDocument2Old_Impl::GetPreferredFont(this, core::mem::transmute_copy(&cp), core::mem::transmute_copy(&charrep), core::mem::transmute_copy(&option), core::mem::transmute_copy(&charrepcur), core::mem::transmute_copy(&curfontsize), core::mem::transmute_copy(&pbstr), core::mem::transmute_copy(&ppitchandfamily), core::mem::transmute_copy(&pnewfontsize)).into() @@ -1485,7 +1485,7 @@ impl ITextFont_Vtbl { let this = (*this).get_impl(); ITextFont_Impl::SetLanguageID(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn GetName, Impl: ITextFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: ITextFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextFont_Impl::GetName(this) { @@ -1496,7 +1496,7 @@ impl ITextFont_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: ITextFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: ITextFont_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextFont_Impl::SetName(this, core::mem::transmute(&bstr)).into() @@ -3352,7 +3352,7 @@ impl windows_core::RuntimeName for ITextRange {} #[cfg(feature = "Win32_System_Com")] impl ITextRange_Vtbl { pub const fn new, Impl: ITextRange_Impl, const OFFSET: isize>() -> ITextRange_Vtbl { - unsafe extern "system" fn GetText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::GetText(this) { @@ -3363,7 +3363,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange_Impl::SetText(this, core::mem::transmute(&bstr)).into() @@ -3627,7 +3627,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MoveWhile, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const std::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn MoveWhile, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const core::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::MoveWhile(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { @@ -3638,7 +3638,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MoveStartWhile, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const std::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn MoveStartWhile, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const core::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::MoveStartWhile(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { @@ -3649,7 +3649,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MoveEndWhile, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const std::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn MoveEndWhile, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const core::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::MoveEndWhile(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { @@ -3660,7 +3660,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MoveUntil, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const std::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn MoveUntil, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const core::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::MoveUntil(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { @@ -3671,7 +3671,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MoveStartUntil, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const std::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn MoveStartUntil, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const core::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::MoveStartUntil(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { @@ -3682,7 +3682,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn MoveEndUntil, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const std::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn MoveEndUntil, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cset: *const core::mem::MaybeUninit, count: i32, pdelta: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::MoveEndUntil(this, core::mem::transmute_copy(&cset), core::mem::transmute_copy(&count)) { @@ -3693,7 +3693,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit, count: i32, flags: tomConstants, plength: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn FindText, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit, count: i32, flags: tomConstants, plength: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::FindText(this, core::mem::transmute(&bstr), core::mem::transmute_copy(&count), core::mem::transmute_copy(&flags)) { @@ -3704,7 +3704,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindTextStart, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit, count: i32, flags: tomConstants, plength: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn FindTextStart, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit, count: i32, flags: tomConstants, plength: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::FindTextStart(this, core::mem::transmute(&bstr), core::mem::transmute_copy(&count), core::mem::transmute_copy(&flags)) { @@ -3715,7 +3715,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindTextEnd, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit, count: i32, flags: tomConstants, plength: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn FindTextEnd, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit, count: i32, flags: tomConstants, plength: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::FindTextEnd(this, core::mem::transmute(&bstr), core::mem::transmute_copy(&count), core::mem::transmute_copy(&flags)) { @@ -3737,7 +3737,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Cut, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Cut, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::Cut(this) { @@ -3748,7 +3748,7 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Copy, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Copy, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::Copy(this) { @@ -3759,12 +3759,12 @@ impl ITextRange_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Paste, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const std::mem::MaybeUninit, format: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Paste, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const core::mem::MaybeUninit, format: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange_Impl::Paste(this, core::mem::transmute_copy(&pvar), core::mem::transmute_copy(&format)).into() } - unsafe extern "system" fn CanPaste, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const std::mem::MaybeUninit, format: i32, pvalue: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn CanPaste, Impl: ITextRange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *const core::mem::MaybeUninit, format: i32, pvalue: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange_Impl::CanPaste(this, core::mem::transmute_copy(&pvar), core::mem::transmute_copy(&format)) { @@ -4076,7 +4076,7 @@ impl ITextRange2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetURL, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetURL, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange2_Impl::GetURL(this) { @@ -4087,7 +4087,7 @@ impl ITextRange2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetURL, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetURL, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange2_Impl::SetURL(this, core::mem::transmute(&bstr)).into() @@ -4154,7 +4154,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); ITextRange2_Impl::GetSubrange(this, core::mem::transmute_copy(&isubrange), core::mem::transmute_copy(&pcpfirst), core::mem::transmute_copy(&pcplim)).into() } - unsafe extern "system" fn GetText2, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText2, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange2_Impl::GetText2(this, core::mem::transmute_copy(&flags)) { @@ -4195,7 +4195,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); ITextRange2_Impl::SetProperty(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn SetText2, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetText2, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange2_Impl::SetText2(this, core::mem::transmute_copy(&flags), core::mem::transmute(&bstr)).into() @@ -4210,7 +4210,7 @@ impl ITextRange2_Vtbl { let this = (*this).get_impl(); ITextRange2_Impl::SetInlineObject(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&align), core::mem::transmute_copy(&char), core::mem::transmute_copy(&char1), core::mem::transmute_copy(&char2), core::mem::transmute_copy(&count), core::mem::transmute_copy(&texstyle), core::mem::transmute_copy(&ccol)).into() } - unsafe extern "system" fn GetMathFunctionType, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit, pvalue: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetMathFunctionType, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit, pvalue: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextRange2_Impl::GetMathFunctionType(this, core::mem::transmute(&bstr)) { @@ -4221,7 +4221,7 @@ impl ITextRange2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InsertImage, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, width: i32, height: i32, ascent: i32, r#type: i32, bstralttext: std::mem::MaybeUninit, pstream: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn InsertImage, Impl: ITextRange2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, width: i32, height: i32, ascent: i32, r#type: i32, bstralttext: core::mem::MaybeUninit, pstream: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextRange2_Impl::InsertImage(this, core::mem::transmute_copy(&width), core::mem::transmute_copy(&height), core::mem::transmute_copy(&ascent), core::mem::transmute_copy(&r#type), core::mem::transmute(&bstralttext), windows_core::from_raw_borrowed(&pstream)).into() @@ -4849,7 +4849,7 @@ impl ITextSelection_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn TypeText, Impl: ITextSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TypeText, Impl: ITextSelection_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextSelection_Impl::TypeText(this, core::mem::transmute(&bstr)).into() @@ -4961,7 +4961,7 @@ impl ITextServices_Vtbl { let this = (*this).get_impl(); ITextServices_Impl::OnTxUIDeactivate(this).into() } - unsafe extern "system" fn TxGetText, Impl: ITextServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TxGetText, Impl: ITextServices_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextServices_Impl::TxGetText(this, core::mem::transmute_copy(&pbstrtext)).into() @@ -5159,7 +5159,7 @@ impl ITextStory_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetText, Impl: ITextStory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: ITextStory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITextStory_Impl::GetText(this, core::mem::transmute_copy(&flags)) { @@ -5180,7 +5180,7 @@ impl ITextStory_Vtbl { let this = (*this).get_impl(); ITextStory_Impl::SetProperty(this, core::mem::transmute_copy(&r#type), core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn SetText, Impl: ITextStory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetText, Impl: ITextStory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, flags: i32, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextStory_Impl::SetText(this, core::mem::transmute_copy(&flags), core::mem::transmute(&bstr)).into() @@ -5333,7 +5333,7 @@ impl ITextStrings_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: ITextStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: ITextStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextStrings_Impl::Add(this, core::mem::transmute(&bstr)).into() @@ -5348,7 +5348,7 @@ impl ITextStrings_Vtbl { let this = (*this).get_impl(); ITextStrings_Impl::Cat2(this, core::mem::transmute_copy(&istring)).into() } - unsafe extern "system" fn CatTop2, Impl: ITextStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CatTop2, Impl: ITextStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextStrings_Impl::CatTop2(this, core::mem::transmute(&bstr)).into() @@ -5384,7 +5384,7 @@ impl ITextStrings_Vtbl { let this = (*this).get_impl(); ITextStrings_Impl::MoveBoundary(this, core::mem::transmute_copy(&istring), core::mem::transmute_copy(&cch)).into() } - unsafe extern "system" fn PrefixTop, Impl: ITextStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrefixTop, Impl: ITextStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextStrings_Impl::PrefixTop(this, core::mem::transmute(&bstr)).into() @@ -5404,7 +5404,7 @@ impl ITextStrings_Vtbl { let this = (*this).get_impl(); ITextStrings_Impl::SetOpCp(this, core::mem::transmute_copy(&istring), core::mem::transmute_copy(&cp)).into() } - unsafe extern "system" fn SuffixTop, Impl: ITextStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit, prange: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn SuffixTop, Impl: ITextStrings_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit, prange: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITextStrings_Impl::SuffixTop(this, core::mem::transmute(&bstr), windows_core::from_raw_borrowed(&prange)).into() 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 08fe818807..9d11561ab5 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 @@ -2,14 +2,14 @@ windows_core::imp::define_interface!(IRichEditOle, IRichEditOle_Vtbl, 0x00020d00 impl std::ops::Deref for IRichEditOle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRichEditOle, windows_core::IUnknown); impl IRichEditOle { #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetClientSite(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClientSite)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetObjectCount(&self) -> i32 { @@ -125,14 +125,14 @@ windows_core::imp::define_interface!(IRichEditOleCallback, IRichEditOleCallback_ impl std::ops::Deref for IRichEditOleCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRichEditOleCallback, windows_core::IUnknown); impl IRichEditOleCallback { #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetNewStorage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNewStorage)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] @@ -235,7 +235,7 @@ windows_core::imp::define_interface!(IRicheditUiaOverrides, IRicheditUiaOverride impl std::ops::Deref for IRicheditUiaOverrides { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRicheditUiaOverrides, windows_core::IUnknown); @@ -247,7 +247,7 @@ impl IRicheditUiaOverrides { #[repr(C)] pub struct IRicheditUiaOverrides_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetPropertyOverrideValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPropertyOverrideValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextDisplays, ITextDisplays_Vtbl, 0xc241f5f2_7206_11d8_a2c7_00a0d1d6c6b3); @@ -255,7 +255,7 @@ windows_core::imp::define_interface!(ITextDisplays, ITextDisplays_Vtbl, 0xc241f5 impl std::ops::Deref for ITextDisplays { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -273,7 +273,7 @@ windows_core::imp::define_interface!(ITextDocument, ITextDocument_Vtbl, 0x8cc497 impl std::ops::Deref for ITextDocument { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -281,32 +281,32 @@ windows_core::imp::interface_hierarchy!(ITextDocument, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl ITextDocument { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStoryCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStoryCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStoryRanges(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStoryRanges)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSaved(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSaved)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultTabStop)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefaultTabStop(&self, value: f32) -> windows_core::Result<()> { @@ -322,11 +322,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Freeze)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Unfreeze(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Unfreeze)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BeginEditCollection(&self) -> windows_core::Result<()> { @@ -336,21 +336,21 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Undo)(windows_core::Interface::as_raw(self), count, &mut result__).map(|| result__) } pub unsafe fn Redo(&self, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Redo)(windows_core::Interface::as_raw(self), count, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Range)(windows_core::Interface::as_raw(self), cpactive, cpanchor, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeFromPoint)(windows_core::Interface::as_raw(self), x, y, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -358,7 +358,7 @@ impl ITextDocument { #[repr(C)] pub struct ITextDocument_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -373,8 +373,8 @@ pub struct ITextDocument_Vtbl { pub GetDefaultTabStop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetDefaultTabStop: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub New: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, tomConstants, i32) -> windows_core::HRESULT, - pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, tomConstants, i32) -> windows_core::HRESULT, + pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, tomConstants, i32) -> windows_core::HRESULT, + pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, tomConstants, i32) -> windows_core::HRESULT, pub Freeze: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Unfreeze: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub BeginEditCollection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -396,7 +396,7 @@ windows_core::imp::define_interface!(ITextDocument2, ITextDocument2_Vtbl, 0xc241 impl std::ops::Deref for ITextDocument2 { type Target = ITextDocument; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -404,7 +404,7 @@ windows_core::imp::interface_hierarchy!(ITextDocument2, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ITextDocument2 { pub unsafe fn GetCaretType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaretType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCaretType(&self, value: i32) -> windows_core::Result<()> { @@ -412,12 +412,12 @@ impl ITextDocument2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDisplays(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplays)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocumentFont(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentFont)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -429,7 +429,7 @@ impl ITextDocument2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocumentPara(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentPara)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -440,18 +440,18 @@ impl ITextDocument2 { (windows_core::Interface::vtable(self).SetDocumentPara)(windows_core::Interface::as_raw(self), ppara.param().abi()).ok() } pub unsafe fn GetEastAsianFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEastAsianFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGenerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGenerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotificationMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotificationMode(&self, value: i32) -> windows_core::Result<()> { @@ -459,24 +459,24 @@ impl ITextDocument2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStoryRanges2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStoryRanges2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTypographyOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypographyOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVersion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AttachMsgFilter(&self, pfilter: P0) -> windows_core::Result<()> @@ -489,30 +489,30 @@ impl ITextDocument2 { (windows_core::Interface::vtable(self).CheckTextLimit)(windows_core::Interface::as_raw(self), cch, pcch).ok() } pub unsafe fn GetCallManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCallManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(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, pleft, ptop, pright, pbottom).ok() } pub unsafe fn GetEffectColor(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectColor)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetImmContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImmContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPreferredFont(&self, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut windows_core::BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetPreferredFont)(windows_core::Interface::as_raw(self), cp, charrep, options, curcharrep, curfontsize, core::mem::transmute(pbstr), ppitchandfamily, pnewfontsize).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), r#type, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStrings(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrings)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Notify(&self, notify: i32) -> windows_core::Result<()> { @@ -520,12 +520,12 @@ impl ITextDocument2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Range2(&self, cpactive: i32, cpanchor: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Range2)(windows_core::Interface::as_raw(self), cpactive, cpanchor, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RangeFromPoint2(&self, x: i32, y: i32, r#type: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RangeFromPoint2)(windows_core::Interface::as_raw(self), x, y, r#type, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReleaseCallManager(&self, pvoid: P0) -> windows_core::Result<()> @@ -556,14 +556,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMathProperties)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveStory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetActiveStory(&self, pstory: P0) -> windows_core::Result<()> @@ -573,15 +573,15 @@ impl ITextDocument2 { (windows_core::Interface::vtable(self).SetActiveStory)(windows_core::Interface::as_raw(self), pstory.param().abi()).ok() } pub unsafe fn GetMainStory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMainStory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNewStory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNewStory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStory(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStory)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -612,7 +612,7 @@ pub struct ITextDocument2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetDocumentPara: usize, pub GetEastAsianFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut tomConstants) -> windows_core::HRESULT, - pub GetGenerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetGenerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetIMEInProgress: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetNotificationMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetNotificationMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, @@ -633,7 +633,7 @@ pub struct ITextDocument2_Vtbl { pub GetClientRect: unsafe extern "system" fn(*mut core::ffi::c_void, tomConstants, *mut i32, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, pub GetEffectColor: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub GetImmContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, - pub GetPreferredFont: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, *mut std::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, + pub GetPreferredFont: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, *mut core::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetStrings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -670,7 +670,7 @@ windows_core::imp::define_interface!(ITextDocument2Old, ITextDocument2Old_Vtbl, impl std::ops::Deref for ITextDocument2Old { type Target = ITextDocument; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -690,18 +690,18 @@ impl ITextDocument2Old { (windows_core::Interface::vtable(self).SetEffectColor)(windows_core::Interface::as_raw(self), index, cr.param().abi()).ok() } pub unsafe fn GetEffectColor(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEffectColor)(windows_core::Interface::as_raw(self), index, &mut result__).map(|| result__) } pub unsafe fn GetCaretType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCaretType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImmContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ReleaseImmContext(&self, context: i64) -> windows_core::Result<()> { @@ -711,7 +711,7 @@ impl ITextDocument2Old { (windows_core::Interface::vtable(self).GetPreferredFont)(windows_core::Interface::as_raw(self), cp, charrep, option, charrepcur, curfontsize, core::mem::transmute(pbstr), ppitchandfamily, pnewfontsize).ok() } pub unsafe fn GetNotificationMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNotificationMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetNotificationMode(&self, mode: i32) -> windows_core::Result<()> { @@ -722,15 +722,15 @@ impl ITextDocument2Old { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetSelection2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFEFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFEFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UpdateWindow(&self) -> windows_core::Result<()> { @@ -753,16 +753,16 @@ impl ITextDocument2Old { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocumentFont(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentFont)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocumentPara(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentPara)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCallManager(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCallManager)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReleaseCallManager(&self, pvoid: P0) -> windows_core::Result<()> @@ -783,7 +783,7 @@ pub struct ITextDocument2Old_Vtbl { pub SetCaretType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetImmContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub ReleaseImmContext: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, - pub GetPreferredFont: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, *mut std::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, + pub GetPreferredFont: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, *mut core::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, pub GetNotificationMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetNotificationMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetClientRect: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, @@ -816,7 +816,7 @@ windows_core::imp::define_interface!(ITextFont, ITextFont_Vtbl, 0x8cc497c3_a1df_ impl std::ops::Deref for ITextFont { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -825,7 +825,7 @@ windows_core::imp::interface_hierarchy!(ITextFont, windows_core::IUnknown, super impl ITextFont { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuplicate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -836,7 +836,7 @@ impl ITextFont { (windows_core::Interface::vtable(self).SetDuplicate)(windows_core::Interface::as_raw(self), pfont.param().abi()).ok() } pub unsafe fn CanChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -844,98 +844,98 @@ impl ITextFont { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), pfont.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAllCaps)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAnimation)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBold)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmboss)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetForeColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHidden)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEngrave)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItalic)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKerning)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguageID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLanguageID(&self, value: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetLanguageID)(windows_core::Interface::as_raw(self), value).ok() } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bstr: P0) -> windows_core::Result<()> @@ -945,84 +945,84 @@ impl ITextFont { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bstr.param().abi()).ok() } pub unsafe fn GetOutline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutline)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProtected)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShadow)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSmallCaps)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpacing)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrikeThrough)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubscript)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSuperscript)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnderline)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWeight(&self, value: i32) -> windows_core::Result<()> { @@ -1071,8 +1071,8 @@ pub struct ITextFont_Vtbl { pub SetKerning: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub GetLanguageID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLanguageID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetOutline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetOutline: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, @@ -1104,7 +1104,7 @@ windows_core::imp::define_interface!(ITextFont2, ITextFont2_Vtbl, 0xc241f5e3_720 impl std::ops::Deref for ITextFont2 { type Target = ITextFont; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1112,60 +1112,60 @@ windows_core::imp::interface_hierarchy!(ITextFont2, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl ITextFont2 { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAutoLigatures(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutoLigatures)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutospaceAlpha)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutospaceNumeric)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAutospaceParens)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCharRep)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCompressionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCookie)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDoubleStrike)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDoubleStrike(&self, value: i32) -> windows_core::Result<()> { @@ -1173,7 +1173,7 @@ impl ITextFont2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuplicate2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1184,67 +1184,67 @@ impl ITextFont2 { (windows_core::Interface::vtable(self).SetDuplicate2)(windows_core::Interface::as_raw(self), pfont.param().abi()).ok() } pub unsafe fn GetLinkType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLinkType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMathZone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMathZone)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModWidthPairs)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetModWidthSpace)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOldNumbers)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOverlapping)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPositionSubSuper)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScaling)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpaceExtension)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUnderlinePositionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUnderlinePositionMode(&self, value: i32) -> windows_core::Result<()> { @@ -1257,7 +1257,7 @@ impl ITextFont2 { (windows_core::Interface::vtable(self).GetEffects2)(windows_core::Interface::as_raw(self), pvalue, pmask).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), r#type, &mut result__).map(|| result__) } pub unsafe fn GetPropertyInfo(&self, index: i32, ptype: *mut i32, pvalue: *mut i32) -> windows_core::Result<()> { @@ -1268,7 +1268,7 @@ impl ITextFont2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual2)(windows_core::Interface::as_raw(self), pfont.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetEffects(&self, value: i32, mask: i32) -> windows_core::Result<()> { @@ -1345,7 +1345,7 @@ windows_core::imp::define_interface!(ITextHost, ITextHost_Vtbl, 0); impl std::ops::Deref for ITextHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextHost, windows_core::IUnknown); @@ -1480,7 +1480,7 @@ impl ITextHost { (windows_core::Interface::vtable(self).TxGetScrollBars)(windows_core::Interface::as_raw(self), pdwscrollbar).ok() } pub unsafe fn TxGetPasswordChar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TxGetPasswordChar)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TxGetAcceleratorPos(&self, pcp: *mut i32) -> windows_core::Result<()> { @@ -1597,7 +1597,7 @@ windows_core::imp::define_interface!(ITextHost2, ITextHost2_Vtbl, 0); impl std::ops::Deref for ITextHost2 { type Target = ITextHost; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextHost2, windows_core::IUnknown, ITextHost); @@ -1681,7 +1681,7 @@ windows_core::imp::define_interface!(ITextPara, ITextPara_Vtbl, 0x8cc497c4_a1df_ impl std::ops::Deref for ITextPara { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1690,7 +1690,7 @@ windows_core::imp::interface_hierarchy!(ITextPara, windows_core::IUnknown, super impl ITextPara { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuplicate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1701,7 +1701,7 @@ impl ITextPara { (windows_core::Interface::vtable(self).SetDuplicate)(windows_core::Interface::as_raw(self), ppara.param().abi()).ok() } pub unsafe fn CanChange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1709,114 +1709,114 @@ impl ITextPara { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), ppara.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlignment)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHyphenation)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstLineIndent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetKeepTogether(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeepTogether)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeepWithNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLeftIndent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLineSpacing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLineSpacing)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLineSpacingRule(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLineSpacingRule)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetListAlignment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListAlignment)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListLevelIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListTab)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetListType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNoLineNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPageBreakBefore)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRightIndent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRightIndent(&self, value: f32) -> windows_core::Result<()> { @@ -1829,28 +1829,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpaceAfter)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSpaceBefore)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWidowControl)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTabCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddTab(&self, tbpos: f32, tbalign: i32, tbleader: i32) -> windows_core::Result<()> { @@ -1934,7 +1934,7 @@ windows_core::imp::define_interface!(ITextPara2, ITextPara2_Vtbl, 0xc241f5e4_720 impl std::ops::Deref for ITextPara2 { type Target = ITextPara; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1942,12 +1942,12 @@ windows_core::imp::interface_hierarchy!(ITextPara2, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl ITextPara2 { pub unsafe fn GetBorders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBorders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuplicate2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1958,28 +1958,28 @@ impl ITextPara2 { (windows_core::Interface::vtable(self).SetDuplicate2)(windows_core::Interface::as_raw(self), ppara.param().abi()).ok() } pub unsafe fn GetFontAlignment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFontAlignment)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHangingPunctuation)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSnapToGrid)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTrimPunctuationAtStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTrimPunctuationAtStart(&self, value: i32) -> windows_core::Result<()> { @@ -1989,7 +1989,7 @@ impl ITextPara2 { (windows_core::Interface::vtable(self).GetEffects)(windows_core::Interface::as_raw(self), pvalue, pmask).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), r#type, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1997,7 +1997,7 @@ impl ITextPara2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual2)(windows_core::Interface::as_raw(self), ppara.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetEffects(&self, value: i32, mask: i32) -> windows_core::Result<()> { @@ -2043,7 +2043,7 @@ windows_core::imp::define_interface!(ITextRange, ITextRange_Vtbl, 0x8cc497c2_a1d impl std::ops::Deref for ITextRange { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2051,7 +2051,7 @@ windows_core::imp::interface_hierarchy!(ITextRange, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl ITextRange { pub unsafe fn GetText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetText(&self, bstr: P0) -> windows_core::Result<()> @@ -2061,7 +2061,7 @@ impl ITextRange { (windows_core::Interface::vtable(self).SetText)(windows_core::Interface::as_raw(self), bstr.param().abi()).ok() } pub unsafe fn GetChar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChar)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetChar(&self, char: i32) -> windows_core::Result<()> { @@ -2069,12 +2069,12 @@ impl ITextRange { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuplicate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormattedText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2085,14 +2085,14 @@ impl ITextRange { (windows_core::Interface::vtable(self).SetFormattedText)(windows_core::Interface::as_raw(self), prange.param().abi()).ok() } pub unsafe fn GetStart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnd(&self, cplim: i32) -> windows_core::Result<()> { @@ -2100,7 +2100,7 @@ impl ITextRange { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFont(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFont)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2112,7 +2112,7 @@ impl ITextRange { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPara(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPara)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2123,22 +2123,22 @@ impl ITextRange { (windows_core::Interface::vtable(self).SetPara)(windows_core::Interface::as_raw(self), ppara.param().abi()).ok() } pub unsafe fn GetStoryLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStoryLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStoryType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStoryType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Expand)(windows_core::Interface::as_raw(self), unit, &mut result__).map(|| result__) } pub unsafe fn GetIndex(&self, unit: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndex)(windows_core::Interface::as_raw(self), unit, &mut result__).map(|| result__) } pub unsafe fn SetIndex(&self, unit: i32, index: i32, extend: i32) -> windows_core::Result<()> { @@ -2152,7 +2152,7 @@ impl ITextRange { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InRange)(windows_core::Interface::as_raw(self), prange.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2160,7 +2160,7 @@ impl ITextRange { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InStory)(windows_core::Interface::as_raw(self), prange.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2168,98 +2168,98 @@ impl ITextRange { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), prange.param().abi(), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartOf)(windows_core::Interface::as_raw(self), unit, extend, &mut result__).map(|| result__) } pub unsafe fn EndOf(&self, unit: i32, extend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndOf)(windows_core::Interface::as_raw(self), unit, extend, &mut result__).map(|| result__) } pub unsafe fn Move(&self, unit: i32, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Move)(windows_core::Interface::as_raw(self), unit, count, &mut result__).map(|| result__) } pub unsafe fn MoveStart(&self, unit: i32, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveStart)(windows_core::Interface::as_raw(self), unit, count, &mut result__).map(|| result__) } pub unsafe fn MoveEnd(&self, unit: i32, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveEnd)(windows_core::Interface::as_raw(self), unit, count, &mut result__).map(|| result__) } pub unsafe fn MoveWhile(&self, cset: *const windows_core::VARIANT, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveWhile)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } pub unsafe fn MoveStartWhile(&self, cset: *const windows_core::VARIANT, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveStartWhile)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } pub unsafe fn MoveEndWhile(&self, cset: *const windows_core::VARIANT, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveEndWhile)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } pub unsafe fn MoveUntil(&self, cset: *const windows_core::VARIANT, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveUntil)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } pub unsafe fn MoveStartUntil(&self, cset: *const windows_core::VARIANT, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveStartUntil)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } pub unsafe fn MoveEndUntil(&self, cset: *const windows_core::VARIANT, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveEndUntil)(windows_core::Interface::as_raw(self), core::mem::transmute(cset), count, &mut result__).map(|| result__) } pub unsafe fn FindText(&self, bstr: P0, count: i32, flags: tomConstants) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindText)(windows_core::Interface::as_raw(self), bstr.param().abi(), count, flags, &mut result__).map(|| result__) } pub unsafe fn FindTextStart(&self, bstr: P0, count: i32, flags: tomConstants) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindTextStart)(windows_core::Interface::as_raw(self), bstr.param().abi(), count, flags, &mut result__).map(|| result__) } pub unsafe fn FindTextEnd(&self, bstr: P0, count: i32, flags: tomConstants) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindTextEnd)(windows_core::Interface::as_raw(self), bstr.param().abi(), count, flags, &mut result__).map(|| result__) } pub unsafe fn Delete(&self, unit: i32, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Delete)(windows_core::Interface::as_raw(self), unit, count, &mut result__).map(|| result__) } pub unsafe fn Cut(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cut)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Copy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Copy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Paste(&self, pvar: *const windows_core::VARIANT, format: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Paste)(windows_core::Interface::as_raw(self), core::mem::transmute(pvar), format).ok() } pub unsafe fn CanPaste(&self, pvar: *const windows_core::VARIANT, format: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanPaste)(windows_core::Interface::as_raw(self), core::mem::transmute(pvar), format, &mut result__).map(|| result__) } pub unsafe fn CanEdit(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanEdit)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ChangeCase(&self, r#type: tomConstants) -> windows_core::Result<()> { @@ -2275,7 +2275,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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmbeddedObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2283,8 +2283,8 @@ impl ITextRange { #[repr(C)] pub struct ITextRange_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetChar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetChar: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -2344,20 +2344,20 @@ pub struct ITextRange_Vtbl { pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, pub MoveStart: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, pub MoveEnd: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, - pub MoveWhile: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub MoveStartWhile: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub MoveEndWhile: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub MoveUntil: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub MoveStartUntil: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub MoveEndUntil: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, - pub FindText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, tomConstants, *mut i32) -> windows_core::HRESULT, - pub FindTextStart: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, tomConstants, *mut i32) -> windows_core::HRESULT, - pub FindTextEnd: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, tomConstants, *mut i32) -> windows_core::HRESULT, + pub MoveWhile: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub MoveStartWhile: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub MoveEndWhile: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub MoveUntil: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub MoveStartUntil: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub MoveEndUntil: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub FindText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, tomConstants, *mut i32) -> windows_core::HRESULT, + pub FindTextStart: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, tomConstants, *mut i32) -> windows_core::HRESULT, + pub FindTextEnd: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, tomConstants, *mut i32) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, - pub Cut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Paste: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub CanPaste: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, + pub Cut: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Paste: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub CanPaste: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32, *mut i32) -> windows_core::HRESULT, pub CanEdit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ChangeCase: unsafe extern "system" fn(*mut core::ffi::c_void, tomConstants) -> windows_core::HRESULT, pub GetPoint: unsafe extern "system" fn(*mut core::ffi::c_void, tomConstants, *mut i32, *mut i32) -> windows_core::HRESULT, @@ -2371,7 +2371,7 @@ windows_core::imp::define_interface!(ITextRange2, ITextRange2_Vtbl, 0xc241f5e2_7 impl std::ops::Deref for ITextRange2 { type Target = ITextSelection; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2379,29 +2379,29 @@ windows_core::imp::interface_hierarchy!(ITextRange2, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl ITextRange2 { pub unsafe fn GetCch(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCch)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCells(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCells)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetColumn(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumn)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDuplicate2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDuplicate2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFont2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFont2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2413,7 +2413,7 @@ impl ITextRange2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormattedText2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2424,7 +2424,7 @@ impl ITextRange2 { (windows_core::Interface::vtable(self).SetFormattedText2)(windows_core::Interface::as_raw(self), prange.param().abi()).ok() } pub unsafe fn GetGravity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGravity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetGravity(&self, value: i32) -> windows_core::Result<()> { @@ -2432,7 +2432,7 @@ impl ITextRange2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetPara2(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPara2)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2444,19 +2444,19 @@ impl ITextRange2 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRow)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStartPara(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStartPara)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTable)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetURL(&self, bstr: P0) -> windows_core::Result<()> @@ -2479,7 +2479,7 @@ impl ITextRange2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Find)(windows_core::Interface::as_raw(self), prange.param().abi(), count, flags, &mut result__).map(|| result__) } pub unsafe fn GetChar2(&self, pchar: *mut i32, offset: i32) -> windows_core::Result<()> { @@ -2492,7 +2492,7 @@ impl ITextRange2 { (windows_core::Interface::vtable(self).GetInlineObject)(windows_core::Interface::as_raw(self), ptype, palign, pchar, pchar1, pchar2, pcount, ptexstyle, pccol, plevel).ok() } pub unsafe fn GetProperty(&self, r#type: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), r#type, &mut result__).map(|| 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<()> { @@ -2502,7 +2502,7 @@ impl ITextRange2 { (windows_core::Interface::vtable(self).GetSubrange)(windows_core::Interface::as_raw(self), isubrange, pcpfirst, pcplim).ok() } pub unsafe fn GetText2(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText2)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HexToUnicode(&self) -> windows_core::Result<()> { @@ -2539,7 +2539,7 @@ impl ITextRange2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMathFunctionType)(windows_core::Interface::as_raw(self), bstr.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2595,8 +2595,8 @@ pub struct ITextRange2_Vtbl { GetRow: usize, pub GetStartPara: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetTable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AddSubrange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32) -> windows_core::HRESULT, pub BuildUpMath: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DeleteSubrange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, @@ -2610,19 +2610,19 @@ pub struct ITextRange2_Vtbl { pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub GetRect: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, pub GetSubrange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, *mut i32) -> windows_core::HRESULT, - pub GetText2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HexToUnicode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub InsertTable: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32) -> windows_core::HRESULT, pub Linearize: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetActiveSubrange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub SetDropCap: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, - pub SetText2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, pub UnicodeToHex: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetInlineObject: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, i32, i32, i32) -> windows_core::HRESULT, - pub GetMathFunctionType: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub GetMathFunctionType: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub InsertImage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub InsertImage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] InsertImage: usize, } @@ -2632,7 +2632,7 @@ windows_core::imp::define_interface!(ITextRow, ITextRow_Vtbl, 0xc241f5ef_7206_11 impl std::ops::Deref for ITextRow { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2640,123 +2640,123 @@ windows_core::imp::interface_hierarchy!(ITextRow, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl ITextRow { pub unsafe fn GetAlignment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlignment)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellCountCache)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellMargin)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndent)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeepTogether)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeepWithNext)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNestLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRTL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRTL)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellAlignment)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellColorBack)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellColorFore)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellMergeFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellShading)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellVerticalText)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCellWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCellWidth(&self, value: i32) -> windows_core::Result<()> { @@ -2778,11 +2778,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanChange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self, r#type: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), r#type, &mut result__).map(|| result__) } pub unsafe fn Insert(&self, crow: i32) -> windows_core::Result<()> { @@ -2793,7 +2793,7 @@ impl ITextRow { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), prow.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Reset(&self, value: i32) -> windows_core::Result<()> { @@ -2863,7 +2863,7 @@ windows_core::imp::define_interface!(ITextSelection, ITextSelection_Vtbl, 0x8cc4 impl std::ops::Deref for ITextSelection { type Target = ITextRange; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2871,38 +2871,38 @@ windows_core::imp::interface_hierarchy!(ITextSelection, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl ITextSelection { pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MoveLeft(&self, unit: i32, count: i32, extend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveLeft)(windows_core::Interface::as_raw(self), unit, count, extend, &mut result__).map(|| result__) } pub unsafe fn MoveRight(&self, unit: i32, count: i32, extend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveRight)(windows_core::Interface::as_raw(self), unit, count, extend, &mut result__).map(|| result__) } pub unsafe fn MoveUp(&self, unit: i32, count: i32, extend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveUp)(windows_core::Interface::as_raw(self), unit, count, extend, &mut result__).map(|| result__) } pub unsafe fn MoveDown(&self, unit: i32, count: i32, extend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveDown)(windows_core::Interface::as_raw(self), unit, count, extend, &mut result__).map(|| result__) } pub unsafe fn HomeKey(&self, unit: tomConstants, extend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HomeKey)(windows_core::Interface::as_raw(self), unit, extend, &mut result__).map(|| result__) } pub unsafe fn EndKey(&self, unit: i32, extend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EndKey)(windows_core::Interface::as_raw(self), unit, extend, &mut result__).map(|| result__) } pub unsafe fn TypeText(&self, bstr: P0) -> windows_core::Result<()> @@ -2925,7 +2925,7 @@ pub struct ITextSelection_Vtbl { pub MoveDown: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, *mut i32) -> windows_core::HRESULT, pub HomeKey: unsafe extern "system" fn(*mut core::ffi::c_void, tomConstants, i32, *mut i32) -> windows_core::HRESULT, pub EndKey: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, - pub TypeText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TypeText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextSelection2, ITextSelection2_Vtbl, 0xc241f5e1_7206_11d8_a2c7_00a0d1d6c6b3); @@ -2933,7 +2933,7 @@ windows_core::imp::define_interface!(ITextSelection2, ITextSelection2_Vtbl, 0xc2 impl std::ops::Deref for ITextSelection2 { type Target = ITextRange2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2949,7 +2949,7 @@ windows_core::imp::define_interface!(ITextServices, ITextServices_Vtbl, 0); impl std::ops::Deref for ITextServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextServices, windows_core::IUnknown); @@ -3028,7 +3028,7 @@ impl ITextServices { } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn TxGetDropTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TxGetDropTarget)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnTxPropertyBitsChange(&self, dwmask: u32, dwbits: u32) -> windows_core::Result<()> { @@ -3060,7 +3060,7 @@ pub struct ITextServices_Vtbl { pub OnTxInPlaceDeactivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnTxUIActivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnTxUIDeactivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub TxGetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TxGetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub TxSetText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub TxGetCurTargetX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TxGetBaseLinePos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -3079,7 +3079,7 @@ windows_core::imp::define_interface!(ITextServices2, ITextServices2_Vtbl, 0); impl std::ops::Deref for ITextServices2 { type Target = ITextServices; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextServices2, windows_core::IUnknown, ITextServices); @@ -3116,44 +3116,44 @@ windows_core::imp::define_interface!(ITextStory, ITextStory_Vtbl, 0xc241f5f3_720 impl std::ops::Deref for ITextStory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStory, windows_core::IUnknown); impl ITextStory { pub unsafe fn GetActive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActive)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplay)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), r#type, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetRange(&self, cpactive: i32, cpanchor: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRange)(windows_core::Interface::as_raw(self), cpactive, cpanchor, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetText(&self, flags: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFormattedText(&self, punk: P0) -> windows_core::Result<()> @@ -3186,10 +3186,10 @@ pub struct ITextStory_Vtbl { pub GetRange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetRange: usize, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetFormattedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextStoryRanges, ITextStoryRanges_Vtbl, 0x8cc497c5_a1df_11ce_8098_00aa0047be5d); @@ -3197,7 +3197,7 @@ windows_core::imp::define_interface!(ITextStoryRanges, ITextStoryRanges_Vtbl, 0x impl std::ops::Deref for ITextStoryRanges { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3205,16 +3205,16 @@ windows_core::imp::interface_hierarchy!(ITextStoryRanges, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl ITextStoryRanges { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3235,7 +3235,7 @@ windows_core::imp::define_interface!(ITextStoryRanges2, ITextStoryRanges2_Vtbl, impl std::ops::Deref for ITextStoryRanges2 { type Target = ITextStoryRanges; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3244,7 +3244,7 @@ windows_core::imp::interface_hierarchy!(ITextStoryRanges2, windows_core::IUnknow impl ITextStoryRanges2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item2(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item2)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3263,7 +3263,7 @@ windows_core::imp::define_interface!(ITextStrings, ITextStrings_Vtbl, 0xc241f5e7 impl std::ops::Deref for ITextStrings { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3272,11 +3272,11 @@ windows_core::imp::interface_hierarchy!(ITextStrings, windows_core::IUnknown, su impl ITextStrings { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Add(&self, bstr: P0) -> windows_core::Result<()> @@ -3316,7 +3316,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.param().abi()).ok() } pub unsafe fn GetCch(&self, istring: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCch)(windows_core::Interface::as_raw(self), istring, &mut result__).map(|| result__) } pub unsafe fn InsertNullStr(&self, istring: i32) -> windows_core::Result<()> { @@ -3366,13 +3366,13 @@ pub struct ITextStrings_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Append: usize, pub Cat2: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub CatTop2: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CatTop2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DeleteRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3384,7 +3384,7 @@ pub struct ITextStrings_Vtbl { pub GetCch: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub InsertNullStr: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MoveBoundary: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, - pub PrefixTop: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrefixTop: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SetFormattedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3392,7 +3392,7 @@ pub struct ITextStrings_Vtbl { SetFormattedText: usize, pub SetOpCp: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub SuffixTop: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SuffixTop: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SuffixTop: usize, pub Swap: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6387,9 +6387,9 @@ pub struct REOBJECT { pub cbStruct: u32, pub cp: i32, pub clsid: windows_core::GUID, - pub poleobj: std::mem::ManuallyDrop>, - pub pstg: std::mem::ManuallyDrop>, - pub polesite: std::mem::ManuallyDrop>, + pub poleobj: core::mem::ManuallyDrop>, + pub pstg: core::mem::ManuallyDrop>, + pub polesite: core::mem::ManuallyDrop>, pub sizel: super::super::super::Foundation::SIZE, pub dvaspect: u32, pub dwFlags: REOBJECT_FLAGS, @@ -6494,7 +6494,7 @@ pub struct RICHEDIT_IMAGE_PARAMETERS { pub Ascent: i32, pub Type: i32, pub pwszAlternateText: windows_core::PCWSTR, - pub pIStream: std::mem::ManuallyDrop>, + pub pIStream: core::mem::ManuallyDrop>, } #[cfg(any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Com")] @@ -6517,7 +6517,7 @@ pub struct RICHEDIT_IMAGE_PARAMETERS { pub Ascent: i32, pub Type: i32, pub pwszAlternateText: windows_core::PCWSTR, - pub pIStream: std::mem::ManuallyDrop>, + pub pIStream: core::mem::ManuallyDrop>, } #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_System_Com")] 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 7c1ff68d27..fc7049a5bc 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -789,7 +789,7 @@ pub unsafe fn GetBufferedPaintTargetDC(hbufferedpaint: isize) -> super::super::G #[inline] pub unsafe fn GetBufferedPaintTargetRect(hbufferedpaint: isize) -> windows_core::Result { windows_targets::link!("uxtheme.dll" "system" fn GetBufferedPaintTargetRect(hbufferedpaint : isize, prc : *mut super::super::Foundation:: RECT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetBufferedPaintTargetRect(hbufferedpaint, &mut result__).map(|| result__) } #[inline] @@ -855,7 +855,7 @@ where P1: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeBackgroundContentRect(htheme : HTHEME, 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeBackgroundContentRect(htheme.param().abi(), hdc.param().abi(), ipartid, istateid, pboundingrect, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -866,7 +866,7 @@ where P1: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeBackgroundExtent(htheme : HTHEME, 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeBackgroundExtent(htheme.param().abi(), hdc.param().abi(), ipartid, istateid, pcontentrect, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -877,7 +877,7 @@ where P1: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeBackgroundRegion(htheme : HTHEME, 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeBackgroundRegion(htheme.param().abi(), hdc.param().abi(), ipartid, istateid, prect, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -887,7 +887,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeBitmap(htheme : HTHEME, ipartid : i32, istateid : i32, ipropid : i32, dwflags : GET_THEME_BITMAP_FLAGS, phbitmap : *mut super::super::Graphics::Gdi:: HBITMAP) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeBitmap(htheme.param().abi(), ipartid, istateid, ipropid.0 as _, dwflags, &mut result__).map(|| result__) } #[inline] @@ -896,7 +896,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeBool(htheme : HTHEME, ipartid : i32, istateid : i32, ipropid : i32, pfval : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeBool(htheme.param().abi(), ipartid, istateid, ipropid.0 as _, &mut result__).map(|| result__) } #[inline] @@ -905,7 +905,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeColor(htheme : HTHEME, ipartid : i32, istateid : i32, ipropid : i32, pcolor : *mut super::super::Foundation:: COLORREF) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeColor(htheme.param().abi(), ipartid, istateid, ipropid.0 as _, &mut result__).map(|| result__) } #[inline] @@ -923,7 +923,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeEnumValue(htheme : HTHEME, ipartid : i32, istateid : i32, ipropid : i32, pival : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeEnumValue(htheme.param().abi(), ipartid, istateid, ipropid.0 as _, &mut result__).map(|| result__) } #[inline] @@ -950,7 +950,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeInt(htheme : HTHEME, ipartid : i32, istateid : i32, ipropid : i32, pival : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeInt(htheme.param().abi(), ipartid, istateid, ipropid.0 as _, &mut result__).map(|| result__) } #[inline] @@ -969,7 +969,7 @@ where P1: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeMargins(htheme : HTHEME, 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeMargins(htheme.param().abi(), hdc.param().abi(), ipartid, istateid, ipropid.0 as _, core::mem::transmute(prc.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -980,7 +980,7 @@ where P1: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeMetric(htheme : HTHEME, hdc : super::super::Graphics::Gdi:: HDC, ipartid : i32, istateid : i32, ipropid : i32, pival : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeMetric(htheme.param().abi(), hdc.param().abi(), ipartid, istateid, ipropid.0 as _, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -991,7 +991,7 @@ where P1: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemePartSize(htheme : HTHEME, 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemePartSize(htheme.param().abi(), hdc.param().abi(), ipartid, istateid, core::mem::transmute(prc.unwrap_or(std::ptr::null())), esize, &mut result__).map(|| result__) } #[inline] @@ -1000,7 +1000,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemePosition(htheme : HTHEME, ipartid : i32, istateid : i32, ipropid : i32, ppoint : *mut super::super::Foundation:: POINT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemePosition(htheme.param().abi(), ipartid, istateid, ipropid.0 as _, &mut result__).map(|| result__) } #[inline] @@ -1009,7 +1009,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemePropertyOrigin(htheme : HTHEME, ipartid : i32, istateid : i32, ipropid : i32, porigin : *mut PROPERTYORIGIN) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemePropertyOrigin(htheme.param().abi(), ipartid, istateid, ipropid, &mut result__).map(|| result__) } #[inline] @@ -1018,7 +1018,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeRect(htheme : HTHEME, ipartid : i32, istateid : i32, ipropid : i32, prect : *mut super::super::Foundation:: RECT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeRect(htheme.param().abi(), ipartid, istateid, ipropid, &mut result__).map(|| result__) } #[inline] @@ -1078,7 +1078,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeSysInt(htheme : HTHEME, iintid : i32, pivalue : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeSysInt(htheme.param().abi(), iintid.0 as _, &mut result__).map(|| result__) } #[inline] @@ -1105,7 +1105,7 @@ where P1: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeTextExtent(htheme : HTHEME, hdc : super::super::Graphics::Gdi:: HDC, ipartid : i32, istateid : i32, psztext : windows_core::PCWSTR, cchcharcount : i32, dwtextflags : super::super::Graphics::Gdi:: DRAW_TEXT_FORMAT, pboundingrect : *const super::super::Foundation:: RECT, pextentrect : *mut super::super::Foundation:: RECT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeTextExtent(htheme.param().abi(), hdc.param().abi(), ipartid, istateid, core::mem::transmute(psztext.as_ptr()), psztext.len().try_into().unwrap(), dwtextflags, core::mem::transmute(pboundingrect.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1132,7 +1132,7 @@ where P0: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn GetThemeTransitionDuration(htheme : HTHEME, ipartid : i32, istateidfrom : i32, istateidto : i32, ipropid : i32, pdwduration : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetThemeTransitionDuration(htheme.param().abi(), ipartid, istateidfrom, istateidto, ipropid, &mut result__).map(|| result__) } #[inline] @@ -1168,7 +1168,7 @@ where P2: windows_core::Param, { windows_targets::link!("uxtheme.dll" "system" fn HitTestThemeBackground(htheme : HTHEME, hdc : super::super::Graphics::Gdi:: HDC, ipartid : i32, istateid : i32, dwoptions : HIT_TEST_BACKGROUND_OPTIONS, 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HitTestThemeBackground(htheme.param().abi(), hdc.param().abi(), ipartid, istateid, dwoptions, prect, hrgn.param().abi(), core::mem::transmute(pttest), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1581,7 +1581,7 @@ where P1: windows_core::Param, { windows_targets::link!("comctl32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); LoadIconMetric(hinst.param().abi(), pszname.param().abi(), lims, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -1592,7 +1592,7 @@ where P1: windows_core::Param, { windows_targets::link!("comctl32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); LoadIconWithScaleDown(hinst.param().abi(), pszname.param().abi(), cx, cy, &mut result__).map(|| result__) } #[inline] @@ -1795,7 +1795,7 @@ windows_core::imp::define_interface!(IImageList, IImageList_Vtbl, 0x46eb5926_582 impl std::ops::Deref for IImageList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImageList, windows_core::IUnknown); @@ -1806,7 +1806,7 @@ impl IImageList { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), hbmimage.param().abi(), hbmmask.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -1814,7 +1814,7 @@ impl IImageList { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReplaceIcon)(windows_core::Interface::as_raw(self), i, hicon.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetOverlayImage(&self, iimage: i32, ioverlay: i32) -> windows_core::Result<()> { @@ -1834,7 +1834,7 @@ impl IImageList { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddMasked)(windows_core::Interface::as_raw(self), hbmimage.param().abi(), crmask.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1846,7 +1846,7 @@ impl IImageList { } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetIcon(&self, i: i32, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIcon)(windows_core::Interface::as_raw(self), i, flags, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1869,7 +1869,7 @@ impl IImageList { (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), riid, ppv).ok() } pub unsafe fn GetImageRect(&self, i: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageRect)(windows_core::Interface::as_raw(self), i, &mut result__).map(|| result__) } pub unsafe fn GetIconSize(&self, cx: *mut i32, cy: *mut i32) -> windows_core::Result<()> { @@ -1879,7 +1879,7 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetImageCount(&self, unewcount: u32) -> windows_core::Result<()> { @@ -1889,11 +1889,11 @@ impl IImageList { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetBkColor)(windows_core::Interface::as_raw(self), clrbk.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetBkColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBkColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BeginDrag(&self, itrack: i32, dxhotspot: i32, dyhotspot: i32) -> windows_core::Result<()> { @@ -1933,11 +1933,11 @@ impl IImageList { (windows_core::Interface::vtable(self).GetDragImage)(windows_core::Interface::as_raw(self), core::mem::transmute(ppt.unwrap_or(std::ptr::null_mut())), core::mem::transmute(ppthotspot.unwrap_or(std::ptr::null_mut())), riid, ppv).ok() } pub unsafe fn GetItemFlags(&self, i: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemFlags)(windows_core::Interface::as_raw(self), i, &mut result__).map(|| result__) } pub unsafe fn GetOverlayImage(&self, ioverlay: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOverlayImage)(windows_core::Interface::as_raw(self), ioverlay, &mut result__).map(|| result__) } } @@ -1999,7 +1999,7 @@ windows_core::imp::define_interface!(IImageList2, IImageList2_Vtbl, 0x192b9d83_5 impl std::ops::Deref for IImageList2 { type Target = IImageList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImageList2, windows_core::IUnknown, IImageList); 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 516786ea63..423995fb46 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/HiDpi/mod.rs @@ -92,7 +92,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-shcore-scaling-l1-1-1.dll" "system" fn GetProcessDpiAwareness(hprocess : super::super::Foundation:: HANDLE, value : *mut PROCESS_DPI_AWARENESS) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetProcessDpiAwareness(hprocess.param().abi(), &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs index 59617d32e1..09cf747775 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs @@ -1986,12 +1986,12 @@ impl IFELanguage_Vtbl { let this = (*this).get_impl(); IFELanguage_Impl::GetConversionModeCaps(this, core::mem::transmute_copy(&pdwcaps)).into() } - unsafe extern "system" fn GetPhonetic, Impl: IFELanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, string: std::mem::MaybeUninit, start: i32, length: i32, phonetic: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPhonetic, Impl: IFELanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, string: core::mem::MaybeUninit, start: i32, length: i32, phonetic: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFELanguage_Impl::GetPhonetic(this, core::mem::transmute(&string), core::mem::transmute_copy(&start), core::mem::transmute_copy(&length), core::mem::transmute_copy(&phonetic)).into() } - unsafe extern "system" fn GetConversion, Impl: IFELanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, string: std::mem::MaybeUninit, start: i32, length: i32, result: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetConversion, Impl: IFELanguage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, string: core::mem::MaybeUninit, start: i32, length: i32, result: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFELanguage_Impl::GetConversion(this, core::mem::transmute(&string), core::mem::transmute_copy(&start), core::mem::transmute_copy(&length), core::mem::transmute_copy(&result)).into() @@ -2093,7 +2093,7 @@ impl IImePlugInDictDictionaryList_Vtbl { let this = (*this).get_impl(); IImePlugInDictDictionaryList_Impl::GetDictionariesInUse(this, core::mem::transmute_copy(&prgdictionaryguid), core::mem::transmute_copy(&prgdatecreated), core::mem::transmute_copy(&prgfencrypted)).into() } - unsafe extern "system" fn DeleteDictionary, Impl: IImePlugInDictDictionaryList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdictionaryguid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DeleteDictionary, Impl: IImePlugInDictDictionaryList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdictionaryguid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IImePlugInDictDictionaryList_Impl::DeleteDictionary(this, core::mem::transmute(&bstrdictionaryguid)).into() 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 57df4b33ea..c9988d730a 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 @@ -745,7 +745,7 @@ windows_core::imp::define_interface!(IActiveIME, IActiveIME_Vtbl, 0x6fe20962_d07 impl std::ops::Deref for IActiveIME { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveIME, windows_core::IUnknown); @@ -845,15 +845,15 @@ impl IActiveIME { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRegisterWord)(windows_core::Interface::as_raw(self), szreading.param().abi(), dwstyle, szregister.param().abi(), pdata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCodePageA(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodePageA)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLangId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLangId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -909,7 +909,7 @@ windows_core::imp::define_interface!(IActiveIME2, IActiveIME2_Vtbl, 0xe1c4bf0e_2 impl std::ops::Deref for IActiveIME2 { type Target = IActiveIME; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveIME2, windows_core::IUnknown, IActiveIME); @@ -934,7 +934,7 @@ windows_core::imp::define_interface!(IActiveIMMApp, IActiveIMMApp_Vtbl, 0x08c0e0 impl std::ops::Deref for IActiveIMMApp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveIMMApp, windows_core::IUnknown); @@ -945,7 +945,7 @@ impl IActiveIMMApp { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssociateContext)(windows_core::Interface::as_raw(self), hwnd.param().abi(), hime.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -966,7 +966,7 @@ impl IActiveIMMApp { } #[cfg(feature = "Win32_Globalization")] pub unsafe fn CreateContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Globalization")] @@ -983,7 +983,7 @@ impl IActiveIMMApp { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRegisterWordA)(windows_core::Interface::as_raw(self), hkl.param().abi(), szreading.param().abi(), dwstyle, szregister.param().abi(), pdata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_TextServices")] @@ -993,7 +993,7 @@ impl IActiveIMMApp { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRegisterWordW)(windows_core::Interface::as_raw(self), hkl.param().abi(), szreading.param().abi(), dwstyle, szregister.param().abi(), pdata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] @@ -1087,7 +1087,7 @@ impl IActiveIMMApp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] @@ -1119,7 +1119,7 @@ impl IActiveIMMApp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultIMEWnd)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1176,7 +1176,7 @@ impl IActiveIMMApp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), hkl.param().abi(), fdwindex, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1198,14 +1198,14 @@ impl IActiveIMMApp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatusWindowPos)(windows_core::Interface::as_raw(self), himc.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetVirtualKey(&self, hwnd: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVirtualKey)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1214,7 +1214,7 @@ impl IActiveIMMApp { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstallIMEA)(windows_core::Interface::as_raw(self), szimefilename.param().abi(), szlayouttext.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1223,7 +1223,7 @@ impl IActiveIMMApp { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstallIMEW)(windows_core::Interface::as_raw(self), szimefilename.param().abi(), szlayouttext.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1385,7 +1385,7 @@ impl IActiveIMMApp { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnDefWindowProc)(windows_core::Interface::as_raw(self), hwnd.param().abi(), msg, wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn FilterClientWindows(&self, aaclasslist: *const u16, usize: u32) -> windows_core::Result<()> { @@ -1396,7 +1396,7 @@ impl IActiveIMMApp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodePageA)(windows_core::Interface::as_raw(self), hkl.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1404,7 +1404,7 @@ impl IActiveIMMApp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLangId)(windows_core::Interface::as_raw(self), hkl.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Globalization")] @@ -1433,7 +1433,7 @@ impl IActiveIMMApp { (windows_core::Interface::vtable(self).GetImeMenuItemsW)(windows_core::Interface::as_raw(self), himc.param().abi(), dwflags, dwtype, pimeparentmenu, pimemenu, dwsize, pdwresult).ok() } pub unsafe fn EnumInputContext(&self, idthread: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumInputContext)(windows_core::Interface::as_raw(self), idthread, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1684,7 +1684,7 @@ windows_core::imp::define_interface!(IActiveIMMIME, IActiveIMMIME_Vtbl, 0x08c034 impl std::ops::Deref for IActiveIMMIME { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveIMMIME, windows_core::IUnknown); @@ -1695,7 +1695,7 @@ impl IActiveIMMIME { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssociateContext)(windows_core::Interface::as_raw(self), hwnd.param().abi(), hime.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1716,7 +1716,7 @@ impl IActiveIMMIME { } #[cfg(feature = "Win32_Globalization")] pub unsafe fn CreateContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Globalization")] @@ -1733,7 +1733,7 @@ impl IActiveIMMIME { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRegisterWordA)(windows_core::Interface::as_raw(self), hkl.param().abi(), szreading.param().abi(), dwstyle, szregister.param().abi(), pdata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1743,7 +1743,7 @@ impl IActiveIMMIME { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumRegisterWordW)(windows_core::Interface::as_raw(self), hkl.param().abi(), szreading.param().abi(), dwstyle, szregister.param().abi(), pdata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] @@ -1837,7 +1837,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] @@ -1869,7 +1869,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultIMEWnd)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1926,7 +1926,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), hkl.param().abi(), fdwindex, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1948,14 +1948,14 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatusWindowPos)(windows_core::Interface::as_raw(self), himc.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetVirtualKey(&self, hwnd: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVirtualKey)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1964,7 +1964,7 @@ impl IActiveIMMIME { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstallIMEA)(windows_core::Interface::as_raw(self), szimefilename.param().abi(), szlayouttext.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -1973,7 +1973,7 @@ impl IActiveIMMIME { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstallIMEW)(windows_core::Interface::as_raw(self), szimefilename.param().abi(), szlayouttext.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -2132,7 +2132,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LockIMC)(windows_core::Interface::as_raw(self), himc.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Globalization")] @@ -2147,12 +2147,12 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIMCLockCount)(windows_core::Interface::as_raw(self), himc.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Globalization")] pub unsafe fn CreateIMCC(&self, dwsize: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateIMCC)(windows_core::Interface::as_raw(self), dwsize, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Globalization")] @@ -2181,7 +2181,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReSizeIMCC)(windows_core::Interface::as_raw(self), himcc.param().abi(), dwsize, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Globalization")] @@ -2189,7 +2189,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIMCCSize)(windows_core::Interface::as_raw(self), himcc.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Globalization")] @@ -2197,7 +2197,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIMCCLockCount)(windows_core::Interface::as_raw(self), himcc.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -2215,7 +2215,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSoftKeyboard)(windows_core::Interface::as_raw(self), utype, howner.param().abi(), x, y, &mut result__).map(|| result__) } pub unsafe fn DestroySoftKeyboard(&self, hsoftkbdwnd: P0) -> windows_core::Result<()> @@ -2235,7 +2235,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodePageA)(windows_core::Interface::as_raw(self), hkl.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_TextServices")] @@ -2243,7 +2243,7 @@ impl IActiveIMMIME { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLangId)(windows_core::Interface::as_raw(self), hkl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn KeybdEvent(&self, lgidime: u16, bvk: u8, bscan: u8, dwflags: u32, dwextrainfo: u32) -> windows_core::Result<()> { @@ -2281,7 +2281,7 @@ impl IActiveIMMIME { (windows_core::Interface::vtable(self).GetImeMenuItemsW)(windows_core::Interface::as_raw(self), himc.param().abi(), dwflags, dwtype, pimeparentmenu, pimemenu, dwsize, pdwresult).ok() } pub unsafe fn EnumInputContext(&self, idthread: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumInputContext)(windows_core::Interface::as_raw(self), idthread, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Globalization")] @@ -2291,7 +2291,7 @@ impl IActiveIMMIME { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestMessageA)(windows_core::Interface::as_raw(self), himc.param().abi(), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Globalization")] @@ -2301,7 +2301,7 @@ impl IActiveIMMIME { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestMessageW)(windows_core::Interface::as_raw(self), himc.param().abi(), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SendIMCA(&self, hwnd: P0, umsg: u32, wparam: P1, lparam: P2) -> windows_core::Result @@ -2310,7 +2310,7 @@ impl IActiveIMMIME { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendIMCA)(windows_core::Interface::as_raw(self), hwnd.param().abi(), umsg, wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SendIMCW(&self, hwnd: P0, umsg: u32, wparam: P1, lparam: P2) -> windows_core::Result @@ -2319,7 +2319,7 @@ impl IActiveIMMIME { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SendIMCW)(windows_core::Interface::as_raw(self), hwnd.param().abi(), umsg, wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IsSleeping(&self) -> windows_core::Result<()> { @@ -2638,7 +2638,7 @@ windows_core::imp::define_interface!(IActiveIMMMessagePumpOwner, IActiveIMMMessa impl std::ops::Deref for IActiveIMMMessagePumpOwner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveIMMMessagePumpOwner, windows_core::IUnknown); @@ -2654,7 +2654,7 @@ impl IActiveIMMMessagePumpOwner { (windows_core::Interface::vtable(self).OnTranslateMessage)(windows_core::Interface::as_raw(self), pmsg).ok() } pub unsafe fn Pause(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Pause)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Resume(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -2677,7 +2677,7 @@ windows_core::imp::define_interface!(IActiveIMMRegistrar, IActiveIMMRegistrar_Vt impl std::ops::Deref for IActiveIMMRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveIMMRegistrar, windows_core::IUnknown); @@ -2703,13 +2703,13 @@ windows_core::imp::define_interface!(IEnumInputContext, IEnumInputContext_Vtbl, impl std::ops::Deref for IEnumInputContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumInputContext, windows_core::IUnknown); impl IEnumInputContext { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Globalization")] @@ -2738,13 +2738,13 @@ windows_core::imp::define_interface!(IEnumRegisterWordA, IEnumRegisterWordA_Vtbl impl std::ops::Deref for IEnumRegisterWordA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumRegisterWordA, windows_core::IUnknown); impl IEnumRegisterWordA { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, ulcount: u32, rgregisterword: *mut REGISTERWORDA, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -2769,13 +2769,13 @@ windows_core::imp::define_interface!(IEnumRegisterWordW, IEnumRegisterWordW_Vtbl impl std::ops::Deref for IEnumRegisterWordW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumRegisterWordW, windows_core::IUnknown); impl IEnumRegisterWordW { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, ulcount: u32, rgregisterword: *mut REGISTERWORDW, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -2802,7 +2802,7 @@ windows_core::imp::define_interface!(IFEClassFactory, IFEClassFactory_Vtbl, 0); impl std::ops::Deref for IFEClassFactory { type Target = super::super::super::System::Com::IClassFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2818,7 +2818,7 @@ windows_core::imp::define_interface!(IFECommon, IFECommon_Vtbl, 0x019f7151_e6db_ impl std::ops::Deref for IFECommon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFECommon, windows_core::IUnknown); @@ -2848,7 +2848,7 @@ windows_core::imp::define_interface!(IFEDictionary, IFEDictionary_Vtbl, 0x019f71 impl std::ops::Deref for IFEDictionary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFEDictionary, windows_core::IUnknown); @@ -2950,7 +2950,7 @@ windows_core::imp::define_interface!(IFELanguage, IFELanguage_Vtbl, 0x019f7152_e impl std::ops::Deref for IFELanguage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFELanguage, windows_core::IUnknown); @@ -2990,14 +2990,14 @@ pub struct IFELanguage_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetJMorphResult: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, i32, windows_core::PCWSTR, *mut u32, *mut *mut MORRSLT) -> windows_core::HRESULT, pub GetConversionModeCaps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetPhonetic: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetConversion: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPhonetic: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetConversion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImePad, IImePad_Vtbl, 0x5d8e643a_c3a9_11d1_afef_00805f0c8b6d); impl std::ops::Deref for IImePad { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImePad, windows_core::IUnknown); @@ -3020,7 +3020,7 @@ windows_core::imp::define_interface!(IImePadApplet, IImePadApplet_Vtbl, 0x5d8e64 impl std::ops::Deref for IImePadApplet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImePadApplet, windows_core::IUnknown); @@ -3069,7 +3069,7 @@ windows_core::imp::define_interface!(IImePlugInDictDictionaryList, IImePlugInDic impl std::ops::Deref for IImePlugInDictDictionaryList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImePlugInDictDictionaryList, windows_core::IUnknown); @@ -3092,13 +3092,13 @@ pub struct IImePlugInDictDictionaryList_Vtbl { pub GetDictionariesInUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut super::super::super::System::Com::SAFEARRAY, *mut *mut super::super::super::System::Com::SAFEARRAY, *mut *mut super::super::super::System::Com::SAFEARRAY) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetDictionariesInUse: usize, - pub DeleteDictionary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DeleteDictionary: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImeSpecifyApplets, IImeSpecifyApplets_Vtbl, 0x5d8e643c_c3a9_11d1_afef_00805f0c8b6d); impl std::ops::Deref for IImeSpecifyApplets { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImeSpecifyApplets, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs index ea392909b6..dc531c3386 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IInkCommitRequestHandler, IInkCommitRequest impl std::ops::Deref for IInkCommitRequestHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkCommitRequestHandler, windows_core::IUnknown); @@ -20,7 +20,7 @@ windows_core::imp::define_interface!(IInkD2DRenderer, IInkD2DRenderer_Vtbl, 0x40 impl std::ops::Deref for IInkD2DRenderer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkD2DRenderer, windows_core::IUnknown); @@ -43,7 +43,7 @@ windows_core::imp::define_interface!(IInkD2DRenderer2, IInkD2DRenderer2_Vtbl, 0x impl std::ops::Deref for IInkD2DRenderer2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkD2DRenderer2, windows_core::IUnknown); @@ -65,7 +65,7 @@ windows_core::imp::define_interface!(IInkDesktopHost, IInkDesktopHost_Vtbl, 0x4c impl std::ops::Deref for IInkDesktopHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkDesktopHost, windows_core::IUnknown); @@ -103,7 +103,7 @@ windows_core::imp::define_interface!(IInkHostWorkItem, IInkHostWorkItem_Vtbl, 0x impl std::ops::Deref for IInkHostWorkItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkHostWorkItem, windows_core::IUnknown); @@ -121,7 +121,7 @@ windows_core::imp::define_interface!(IInkPresenterDesktop, IInkPresenterDesktop_ impl std::ops::Deref for IInkPresenterDesktop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkPresenterDesktop, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs index f3d27ed62c..e8f24bccae 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IRadialControllerConfigurationInterop, IRad impl std::ops::Deref for IRadialControllerConfigurationInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRadialControllerConfigurationInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -25,7 +25,7 @@ windows_core::imp::define_interface!(IRadialControllerIndependentInputSourceInte impl std::ops::Deref for IRadialControllerIndependentInputSourceInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRadialControllerIndependentInputSourceInterop, windows_core::IUnknown, windows_core::IInspectable); @@ -48,7 +48,7 @@ windows_core::imp::define_interface!(IRadialControllerInterop, IRadialController impl std::ops::Deref for IRadialControllerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRadialControllerInterop, windows_core::IUnknown, windows_core::IInspectable); 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 3e45755bbb..51f593773f 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 @@ -82,160 +82,160 @@ windows_core::imp::define_interface!(IInertiaProcessor, IInertiaProcessor_Vtbl, impl std::ops::Deref for IInertiaProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInertiaProcessor, windows_core::IUnknown); impl IInertiaProcessor { pub unsafe fn InitialOriginX(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialOriginX)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialOriginY)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialVelocityX)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialVelocityY)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialAngularVelocity)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialExpansionVelocity)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialRadius)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BoundaryLeft)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BoundaryTop)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BoundaryRight)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BoundaryBottom)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElasticMarginLeft)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElasticMarginTop)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElasticMarginRight)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ElasticMarginBottom)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredDisplacement)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredRotation)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredExpansion)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredDeceleration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredAngularDeceleration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredExpansionDeceleration)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InitialTimestamp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInitialTimestamp(&self, timestamp: u32) -> windows_core::Result<()> { @@ -245,11 +245,11 @@ impl IInertiaProcessor { (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn Process(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Process)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ProcessTime(&self, timestamp: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProcessTime)(windows_core::Interface::as_raw(self), timestamp, &mut result__).map(|| result__) } pub unsafe fn Complete(&self) -> windows_core::Result<()> { @@ -316,34 +316,34 @@ windows_core::imp::define_interface!(IManipulationProcessor, IManipulationProces impl std::ops::Deref for IManipulationProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IManipulationProcessor, windows_core::IUnknown); impl IManipulationProcessor { pub unsafe fn SupportedManipulations(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedManipulations)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PivotPointX)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PivotPointY)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PivotRadius)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPivotRadius(&self, pivotradius: f32) -> windows_core::Result<()> { @@ -371,23 +371,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVelocityX)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetVelocityY(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVelocityY)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetExpansionVelocity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExpansionVelocity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAngularVelocity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAngularVelocity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MinimumScaleRotateRadius(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MinimumScaleRotateRadius)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMinimumScaleRotateRadius(&self, minradius: f32) -> windows_core::Result<()> { @@ -423,7 +423,7 @@ windows_core::imp::define_interface!(_IManipulationEvents, _IManipulationEvents_ impl std::ops::Deref for _IManipulationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(_IManipulationEvents, windows_core::IUnknown); 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 4ac7b831fd..6331ad8635 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/InteractionContext/mod.rs @@ -18,7 +18,7 @@ where #[inline] pub unsafe fn CreateInteractionContext() -> windows_core::Result { windows_targets::link!("ninput.dll" "system" fn CreateInteractionContext(interactioncontext : *mut HINTERACTIONCONTEXT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateInteractionContext(&mut result__).map(|| result__) } #[inline] @@ -35,7 +35,7 @@ where P0: windows_core::Param, { windows_targets::link!("ninput.dll" "system" fn GetCrossSlideParameterInteractionContext(interactioncontext : HINTERACTIONCONTEXT, threshold : CROSS_SLIDE_THRESHOLD, distance : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetCrossSlideParameterInteractionContext(interactioncontext.param().abi(), threshold, &mut result__).map(|| result__) } #[inline] @@ -44,7 +44,7 @@ where P0: windows_core::Param, { windows_targets::link!("ninput.dll" "system" fn GetHoldParameterInteractionContext(interactioncontext : HINTERACTIONCONTEXT, parameter : HOLD_PARAMETER, value : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetHoldParameterInteractionContext(interactioncontext.param().abi(), parameter, &mut result__).map(|| result__) } #[inline] @@ -53,7 +53,7 @@ where P0: windows_core::Param, { windows_targets::link!("ninput.dll" "system" fn GetInertiaParameterInteractionContext(interactioncontext : HINTERACTIONCONTEXT, inertiaparameter : INERTIA_PARAMETER, value : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetInertiaParameterInteractionContext(interactioncontext.param().abi(), inertiaparameter, &mut result__).map(|| result__) } #[inline] @@ -70,7 +70,7 @@ where P0: windows_core::Param, { windows_targets::link!("ninput.dll" "system" fn GetMouseWheelParameterInteractionContext(interactioncontext : HINTERACTIONCONTEXT, parameter : MOUSE_WHEEL_PARAMETER, value : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetMouseWheelParameterInteractionContext(interactioncontext.param().abi(), parameter, &mut result__).map(|| result__) } #[inline] @@ -79,7 +79,7 @@ where P0: windows_core::Param, { windows_targets::link!("ninput.dll" "system" fn GetPropertyInteractionContext(interactioncontext : HINTERACTIONCONTEXT, contextproperty : INTERACTION_CONTEXT_PROPERTY, value : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetPropertyInteractionContext(interactioncontext.param().abi(), contextproperty, &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_UI_Input_Pointer", feature = "Win32_UI_WindowsAndMessaging"))] @@ -89,7 +89,7 @@ where P0: windows_core::Param, { windows_targets::link!("ninput.dll" "system" fn GetStateInteractionContext(interactioncontext : HINTERACTIONCONTEXT, pointerinfo : *const super::Input::Pointer:: POINTER_INFO, state : *mut INTERACTION_STATE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetStateInteractionContext(interactioncontext.param().abi(), core::mem::transmute(pointerinfo.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } #[inline] @@ -98,7 +98,7 @@ where P0: windows_core::Param, { windows_targets::link!("ninput.dll" "system" fn GetTapParameterInteractionContext(interactioncontext : HINTERACTIONCONTEXT, parameter : TAP_PARAMETER, value : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetTapParameterInteractionContext(interactioncontext.param().abi(), parameter, &mut result__).map(|| result__) } #[inline] @@ -107,7 +107,7 @@ where P0: windows_core::Param, { windows_targets::link!("ninput.dll" "system" fn GetTranslationParameterInteractionContext(interactioncontext : HINTERACTIONCONTEXT, parameter : TRANSLATION_PARAMETER, value : *mut f32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetTranslationParameterInteractionContext(interactioncontext.param().abi(), parameter, &mut result__).map(|| result__) } #[inline] 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 bcb4285bd8..5b84e81287 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IADesktopP2, IADesktopP2_Vtbl, 0xb22754e2_4 impl std::ops::Deref for IADesktopP2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IADesktopP2, windows_core::IUnknown); @@ -39,7 +39,7 @@ windows_core::imp::define_interface!(IActiveDesktopP, IActiveDesktopP_Vtbl, 0x52 impl std::ops::Deref for IActiveDesktopP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveDesktopP, windows_core::IUnknown); @@ -72,7 +72,7 @@ windows_core::imp::define_interface!(IBriefcaseInitiator, IBriefcaseInitiator_Vt impl std::ops::Deref for IBriefcaseInitiator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBriefcaseInitiator, windows_core::IUnknown); @@ -97,7 +97,7 @@ windows_core::imp::define_interface!(IEmptyVolumeCache, IEmptyVolumeCache_Vtbl, impl std::ops::Deref for IEmptyVolumeCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEmptyVolumeCache, windows_core::IUnknown); @@ -129,7 +129,7 @@ impl IEmptyVolumeCache { (windows_core::Interface::vtable(self).ShowProperties)(windows_core::Interface::as_raw(self), hwnd.param().abi()).ok() } pub unsafe fn Deactivate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Deactivate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -149,7 +149,7 @@ windows_core::imp::define_interface!(IEmptyVolumeCache2, IEmptyVolumeCache2_Vtbl impl std::ops::Deref for IEmptyVolumeCache2 { type Target = IEmptyVolumeCache; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEmptyVolumeCache2, windows_core::IUnknown, IEmptyVolumeCache); @@ -176,7 +176,7 @@ windows_core::imp::define_interface!(IEmptyVolumeCacheCallBack, IEmptyVolumeCach impl std::ops::Deref for IEmptyVolumeCacheCallBack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEmptyVolumeCacheCallBack, windows_core::IUnknown); @@ -204,7 +204,7 @@ windows_core::imp::define_interface!(IReconcilableObject, IReconcilableObject_Vt impl std::ops::Deref for IReconcilableObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IReconcilableObject, windows_core::IUnknown); @@ -220,7 +220,7 @@ impl IReconcilableObject { (windows_core::Interface::vtable(self).Reconcile)(windows_core::Interface::as_raw(self), pinitiator.param().abi(), dwflags, hwndowner.param().abi(), hwndprogressfeedback.param().abi(), rgpmkotherinput.len().try_into().unwrap(), core::mem::transmute(rgpmkotherinput.as_ptr()), ploutindex, pstgnewresidues.param().abi(), core::mem::transmute(pvreserved.unwrap_or(std::ptr::null()))).ok() } pub unsafe fn GetProgressFeedbackMaxEstimate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgressFeedbackMaxEstimate)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -237,7 +237,7 @@ windows_core::imp::define_interface!(IReconcileInitiator, IReconcileInitiator_Vt impl std::ops::Deref for IReconcileInitiator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IReconcileInitiator, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs index eac4b82629..ec50dca215 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(INotificationActivationCallback, INotificat impl std::ops::Deref for INotificationActivationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INotificationActivationCallback, windows_core::IUnknown); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs index c7511ad79a..842f4b7735 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs @@ -139,12 +139,12 @@ impl windows_core::RuntimeName for IUICommandHandler {} #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl IUICommandHandler_Vtbl { pub const fn new, Impl: IUICommandHandler_Impl, const OFFSET: isize>() -> IUICommandHandler_Vtbl { - unsafe extern "system" fn Execute, Impl: IUICommandHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commandid: u32, verb: UI_EXECUTIONVERB, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const std::mem::MaybeUninit, commandexecutionproperties: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Execute, Impl: IUICommandHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commandid: u32, verb: UI_EXECUTIONVERB, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const core::mem::MaybeUninit, commandexecutionproperties: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUICommandHandler_Impl::Execute(this, core::mem::transmute_copy(&commandid), core::mem::transmute_copy(&verb), core::mem::transmute_copy(&key), core::mem::transmute_copy(¤tvalue), windows_core::from_raw_borrowed(&commandexecutionproperties)).into() } - unsafe extern "system" fn UpdateProperty, Impl: IUICommandHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const std::mem::MaybeUninit, newvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UpdateProperty, Impl: IUICommandHandler_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: *const core::mem::MaybeUninit, newvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUICommandHandler_Impl::UpdateProperty(this, core::mem::transmute_copy(&commandid), core::mem::transmute_copy(&key), core::mem::transmute_copy(¤tvalue)) { @@ -253,7 +253,7 @@ impl IUIFramework_Vtbl { let this = (*this).get_impl(); IUIFramework_Impl::GetView(this, core::mem::transmute_copy(&viewid), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppv)).into() } - unsafe extern "system" fn GetUICommandProperty, Impl: IUIFramework_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUICommandProperty, Impl: IUIFramework_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUIFramework_Impl::GetUICommandProperty(this, core::mem::transmute_copy(&commandid), core::mem::transmute_copy(&key)) { @@ -264,7 +264,7 @@ impl IUIFramework_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetUICommandProperty, Impl: IUIFramework_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetUICommandProperty, Impl: IUIFramework_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IUIFramework_Impl::SetUICommandProperty(this, core::mem::transmute_copy(&commandid), core::mem::transmute_copy(&key), core::mem::transmute_copy(&value)).into() @@ -405,7 +405,7 @@ impl windows_core::RuntimeName for IUISimplePropertySet {} #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl IUISimplePropertySet_Vtbl { pub const fn new, Impl: IUISimplePropertySet_Impl, const OFFSET: isize>() -> IUISimplePropertySet_Vtbl { - unsafe extern "system" fn GetValue, Impl: IUISimplePropertySet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IUISimplePropertySet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IUISimplePropertySet_Impl::GetValue(this, core::mem::transmute_copy(&key)) { 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 512fdbab3a..29d3b9e42f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IUIApplication, IUIApplication_Vtbl, 0xd428 impl std::ops::Deref for IUIApplication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIApplication, windows_core::IUnknown); @@ -14,7 +14,7 @@ impl IUIApplication { (windows_core::Interface::vtable(self).OnViewChanged)(windows_core::Interface::as_raw(self), viewid, typeid, view.param().abi(), verb, ureasoncode).ok() } pub unsafe fn OnCreateUICommand(&self, commandid: u32, typeid: UI_COMMANDTYPE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnCreateUICommand)(windows_core::Interface::as_raw(self), commandid, typeid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnDestroyUICommand(&self, commandid: u32, typeid: UI_COMMANDTYPE, commandhandler: P0) -> windows_core::Result<()> @@ -35,17 +35,17 @@ windows_core::imp::define_interface!(IUICollection, IUICollection_Vtbl, 0xdf4f45 impl std::ops::Deref for IUICollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUICollection, windows_core::IUnknown); impl IUICollection { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItem(&self, index: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Add(&self, item: P0) -> windows_core::Result<()> @@ -88,7 +88,7 @@ windows_core::imp::define_interface!(IUICollectionChangedEvent, IUICollectionCha impl std::ops::Deref for IUICollectionChangedEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUICollectionChangedEvent, windows_core::IUnknown); @@ -110,7 +110,7 @@ windows_core::imp::define_interface!(IUICommandHandler, IUICommandHandler_Vtbl, impl std::ops::Deref for IUICommandHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUICommandHandler, windows_core::IUnknown); @@ -124,7 +124,7 @@ impl IUICommandHandler { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn UpdateProperty(&self, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY, currentvalue: Option<*const windows_core::PROPVARIANT>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UpdateProperty)(windows_core::Interface::as_raw(self), commandid, key, core::mem::transmute(currentvalue.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -132,11 +132,11 @@ impl IUICommandHandler { pub struct IUICommandHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, UI_EXECUTIONVERB, *const super::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, UI_EXECUTIONVERB, *const super::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Execute: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub UpdateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdateProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] UpdateProperty: usize, } @@ -144,7 +144,7 @@ windows_core::imp::define_interface!(IUIContextualUI, IUIContextualUI_Vtbl, 0xee impl std::ops::Deref for IUIContextualUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIContextualUI, windows_core::IUnknown); @@ -162,7 +162,7 @@ windows_core::imp::define_interface!(IUIEventLogger, IUIEventLogger_Vtbl, 0xec3e impl std::ops::Deref for IUIEventLogger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIEventLogger, windows_core::IUnknown); @@ -180,7 +180,7 @@ windows_core::imp::define_interface!(IUIEventingManager, IUIEventingManager_Vtbl impl std::ops::Deref for IUIEventingManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIEventingManager, windows_core::IUnknown); @@ -201,7 +201,7 @@ windows_core::imp::define_interface!(IUIFramework, IUIFramework_Vtbl, 0xf4f0385d impl std::ops::Deref for IUIFramework { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIFramework, windows_core::IUnknown); @@ -228,7 +228,7 @@ impl IUIFramework { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetUICommandProperty(&self, commandid: u32, key: *const super::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUICommandProperty)(windows_core::Interface::as_raw(self), commandid, key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -254,11 +254,11 @@ pub struct IUIFramework_Vtbl { pub LoadUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HINSTANCE, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetView: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetUICommandProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUICommandProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetUICommandProperty: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub SetUICommandProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::Shell::PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetUICommandProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::Shell::PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] SetUICommandProperty: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -272,14 +272,14 @@ windows_core::imp::define_interface!(IUIImage, IUIImage_Vtbl, 0x23c8c838_4de6_43 impl std::ops::Deref for IUIImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIImage, windows_core::IUnknown); impl IUIImage { #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitmap)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -295,7 +295,7 @@ windows_core::imp::define_interface!(IUIImageFromBitmap, IUIImageFromBitmap_Vtbl impl std::ops::Deref for IUIImageFromBitmap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIImageFromBitmap, windows_core::IUnknown); @@ -305,7 +305,7 @@ impl IUIImageFromBitmap { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateImage)(windows_core::Interface::as_raw(self), bitmap.param().abi(), options, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -321,13 +321,13 @@ windows_core::imp::define_interface!(IUIRibbon, IUIRibbon_Vtbl, 0x803982ab_370a_ impl std::ops::Deref for IUIRibbon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIRibbon, windows_core::IUnknown); impl IUIRibbon { pub unsafe fn GetHeight(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -362,14 +362,14 @@ windows_core::imp::define_interface!(IUISimplePropertySet, IUISimplePropertySet_ impl std::ops::Deref for IUISimplePropertySet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUISimplePropertySet, windows_core::IUnknown); impl IUISimplePropertySet { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetValue(&self, key: *const super::Shell::PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -377,7 +377,7 @@ impl IUISimplePropertySet { pub struct IUISimplePropertySet_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Shell::PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::Shell::PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetValue: usize, } 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 e65c758acb..242e0c5205 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 @@ -2,13 +2,13 @@ windows_core::imp::define_interface!(IObjectArray, IObjectArray_Vtbl, 0x92ca9dcd impl std::ops::Deref for IObjectArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectArray, windows_core::IUnknown); impl IObjectArray { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, uiindex: u32) -> windows_core::Result @@ -29,7 +29,7 @@ windows_core::imp::define_interface!(IObjectCollection, IObjectCollection_Vtbl, impl std::ops::Deref for IObjectCollection { type Target = IObjectArray; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectCollection, windows_core::IUnknown, IObjectArray); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs index af004cafa2..eecf81f003 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs @@ -78,7 +78,7 @@ pub trait INamedPropertyStore_Impl: Sized { impl windows_core::RuntimeName for INamedPropertyStore {} impl INamedPropertyStore_Vtbl { pub const fn new, Impl: INamedPropertyStore_Impl, const OFFSET: isize>() -> INamedPropertyStore_Vtbl { - unsafe extern "system" fn GetNamedValue, Impl: INamedPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, ppropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetNamedValue, Impl: INamedPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, ppropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INamedPropertyStore_Impl::GetNamedValue(this, core::mem::transmute(&pszname)) { @@ -89,7 +89,7 @@ impl INamedPropertyStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNamedValue, Impl: INamedPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, propvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetNamedValue, Impl: INamedPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszname: windows_core::PCWSTR, propvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INamedPropertyStore_Impl::SetNamedValue(this, core::mem::transmute(&pszname), core::mem::transmute_copy(&propvar)).into() @@ -105,7 +105,7 @@ impl INamedPropertyStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetNameAt, Impl: INamedPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iprop: u32, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetNameAt, Impl: INamedPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iprop: u32, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INamedPropertyStore_Impl::GetNameAt(this, core::mem::transmute_copy(&iprop)) { @@ -228,7 +228,7 @@ pub trait IPropertyChange_Impl: Sized + IObjectWithPropertyKey_Impl { impl windows_core::RuntimeName for IPropertyChange {} impl IPropertyChange_Vtbl { pub const fn new, Impl: IPropertyChange_Impl, const OFFSET: isize>() -> IPropertyChange_Vtbl { - unsafe extern "system" fn ApplyToPropVariant, Impl: IPropertyChange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvarin: *const std::mem::MaybeUninit, ppropvarout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ApplyToPropVariant, Impl: IPropertyChange_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvarin: *const core::mem::MaybeUninit, ppropvarout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertyChange_Impl::ApplyToPropVariant(this, core::mem::transmute_copy(&propvarin)) { @@ -468,7 +468,7 @@ impl IPropertyDescription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRelativeDescription, Impl: IPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvar1: *const std::mem::MaybeUninit, propvar2: *const std::mem::MaybeUninit, ppszdesc1: *mut windows_core::PWSTR, ppszdesc2: *mut windows_core::PWSTR) -> windows_core::HRESULT { + unsafe extern "system" fn GetRelativeDescription, Impl: IPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvar1: *const core::mem::MaybeUninit, propvar2: *const core::mem::MaybeUninit, ppszdesc1: *mut windows_core::PWSTR, ppszdesc2: *mut windows_core::PWSTR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyDescription_Impl::GetRelativeDescription(this, core::mem::transmute_copy(&propvar1), core::mem::transmute_copy(&propvar2), core::mem::transmute_copy(&ppszdesc1), core::mem::transmute_copy(&ppszdesc2)).into() @@ -516,12 +516,12 @@ impl IPropertyDescription_Vtbl { let this = (*this).get_impl(); IPropertyDescription_Impl::GetEnumTypeList(this, core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppv)).into() } - unsafe extern "system" fn CoerceToCanonicalValue, Impl: IPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CoerceToCanonicalValue, Impl: IPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyDescription_Impl::CoerceToCanonicalValue(this, core::mem::transmute_copy(&ppropvar)).into() } - unsafe extern "system" fn FormatForDisplay, Impl: IPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvar: *const std::mem::MaybeUninit, pdfflags: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut windows_core::PWSTR) -> windows_core::HRESULT { + unsafe extern "system" fn FormatForDisplay, Impl: IPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvar: *const core::mem::MaybeUninit, pdfflags: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut windows_core::PWSTR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertyDescription_Impl::FormatForDisplay(this, core::mem::transmute_copy(&propvar), core::mem::transmute_copy(&pdfflags)) { @@ -532,7 +532,7 @@ impl IPropertyDescription_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsValueCanonical, Impl: IPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IsValueCanonical, Impl: IPropertyDescription_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyDescription_Impl::IsValueCanonical(this, core::mem::transmute_copy(&propvar)).into() @@ -575,7 +575,7 @@ impl windows_core::RuntimeName for IPropertyDescription2 {} #[cfg(feature = "Win32_System_Search_Common")] impl IPropertyDescription2_Vtbl { pub const fn new, Impl: IPropertyDescription2_Impl, const OFFSET: isize>() -> IPropertyDescription2_Vtbl { - unsafe extern "system" fn GetImageReferenceForValue, Impl: IPropertyDescription2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvar: *const std::mem::MaybeUninit, ppszimageres: *mut windows_core::PWSTR) -> windows_core::HRESULT { + unsafe extern "system" fn GetImageReferenceForValue, Impl: IPropertyDescription2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvar: *const core::mem::MaybeUninit, ppszimageres: *mut windows_core::PWSTR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertyDescription2_Impl::GetImageReferenceForValue(this, core::mem::transmute_copy(&propvar)) { @@ -767,7 +767,7 @@ impl IPropertyEnumType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: IPropertyEnumType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IPropertyEnumType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertyEnumType_Impl::GetValue(this) { @@ -778,7 +778,7 @@ impl IPropertyEnumType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRangeMinValue, Impl: IPropertyEnumType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvarmin: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRangeMinValue, Impl: IPropertyEnumType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvarmin: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertyEnumType_Impl::GetRangeMinValue(this) { @@ -789,7 +789,7 @@ impl IPropertyEnumType_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRangeSetValue, Impl: IPropertyEnumType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvarset: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRangeSetValue, Impl: IPropertyEnumType_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ppropvarset: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertyEnumType_Impl::GetRangeSetValue(this) { @@ -877,7 +877,7 @@ impl IPropertyEnumTypeList_Vtbl { let this = (*this).get_impl(); IPropertyEnumTypeList_Impl::GetConditionAt(this, core::mem::transmute_copy(&nindex), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppv)).into() } - unsafe extern "system" fn FindMatchingIndex, Impl: IPropertyEnumTypeList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvarcmp: *const std::mem::MaybeUninit, pnindex: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn FindMatchingIndex, Impl: IPropertyEnumTypeList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propvarcmp: *const core::mem::MaybeUninit, pnindex: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertyEnumTypeList_Impl::FindMatchingIndex(this, core::mem::transmute_copy(&propvarcmp)) { @@ -926,7 +926,7 @@ impl IPropertyStore_Vtbl { let this = (*this).get_impl(); IPropertyStore_Impl::GetAt(this, core::mem::transmute_copy(&iprop), core::mem::transmute_copy(&pkey)).into() } - unsafe extern "system" fn GetValue, Impl: IPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, pv: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: IPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, pv: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertyStore_Impl::GetValue(this, core::mem::transmute_copy(&key)) { @@ -937,7 +937,7 @@ impl IPropertyStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetValue, Impl: IPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, propvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: IPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, propvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyStore_Impl::SetValue(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&propvar)).into() @@ -980,7 +980,7 @@ impl IPropertyStoreCache_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValueAndState, Impl: IPropertyStoreCache_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, ppropvar: *mut std::mem::MaybeUninit, pstate: *mut PSC_STATE) -> windows_core::HRESULT { + unsafe extern "system" fn GetValueAndState, Impl: IPropertyStoreCache_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, ppropvar: *mut core::mem::MaybeUninit, pstate: *mut PSC_STATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyStoreCache_Impl::GetValueAndState(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&ppropvar), core::mem::transmute_copy(&pstate)).into() @@ -990,7 +990,7 @@ impl IPropertyStoreCache_Vtbl { let this = (*this).get_impl(); IPropertyStoreCache_Impl::SetState(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&state)).into() } - unsafe extern "system" fn SetValueAndState, Impl: IPropertyStoreCache_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, ppropvar: *const std::mem::MaybeUninit, state: PSC_STATE) -> windows_core::HRESULT { + unsafe extern "system" fn SetValueAndState, Impl: IPropertyStoreCache_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, ppropvar: *const core::mem::MaybeUninit, state: PSC_STATE) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyStoreCache_Impl::SetValueAndState(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&ppropvar), core::mem::transmute_copy(&state)).into() @@ -1085,12 +1085,12 @@ impl IPropertySystem_Vtbl { let this = (*this).get_impl(); IPropertySystem_Impl::EnumeratePropertyDescriptions(this, core::mem::transmute_copy(&filteron), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&ppv)).into() } - unsafe extern "system" fn FormatForDisplay, Impl: IPropertySystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, propvar: *const std::mem::MaybeUninit, pdff: PROPDESC_FORMAT_FLAGS, psztext: windows_core::PWSTR, cchtext: u32) -> windows_core::HRESULT { + unsafe extern "system" fn FormatForDisplay, Impl: IPropertySystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, propvar: *const core::mem::MaybeUninit, pdff: PROPDESC_FORMAT_FLAGS, psztext: windows_core::PWSTR, cchtext: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertySystem_Impl::FormatForDisplay(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&propvar), core::mem::transmute_copy(&pdff), core::mem::transmute_copy(&psztext), core::mem::transmute_copy(&cchtext)).into() } - unsafe extern "system" fn FormatForDisplayAlloc, Impl: IPropertySystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, propvar: *const std::mem::MaybeUninit, pdff: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut windows_core::PWSTR) -> windows_core::HRESULT { + unsafe extern "system" fn FormatForDisplayAlloc, Impl: IPropertySystem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PROPERTYKEY, propvar: *const core::mem::MaybeUninit, pdff: PROPDESC_FORMAT_FLAGS, ppszdisplay: *mut windows_core::PWSTR) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPropertySystem_Impl::FormatForDisplayAlloc(this, core::mem::transmute_copy(&key), core::mem::transmute_copy(&propvar), core::mem::transmute_copy(&pdff)) { @@ -1205,7 +1205,7 @@ impl IPropertyUI_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FormatForDisplay, Impl: IPropertyUI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmtid: *const windows_core::GUID, pid: u32, ppropvar: *const std::mem::MaybeUninit, puiff: PROPERTYUI_FORMAT_FLAGS, pwsztext: windows_core::PWSTR, cchtext: u32) -> windows_core::HRESULT { + unsafe extern "system" fn FormatForDisplay, Impl: IPropertyUI_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fmtid: *const windows_core::GUID, pid: u32, ppropvar: *const core::mem::MaybeUninit, puiff: PROPERTYUI_FORMAT_FLAGS, pwsztext: windows_core::PWSTR, cchtext: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPropertyUI_Impl::FormatForDisplay(this, core::mem::transmute_copy(&fmtid), core::mem::transmute_copy(&pid), core::mem::transmute_copy(&ppropvar), core::mem::transmute_copy(&puiff), core::mem::transmute_copy(&pwsztext), core::mem::transmute_copy(&cchtext)).into() 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 d8446bc865..264152bba1 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 @@ -1,6 +1,6 @@ #[inline] pub unsafe fn PSCoerceToCanonicalValue(key: *const PROPERTYKEY, ppropvar: *mut windows_core::PROPVARIANT) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PSCoerceToCanonicalValue(key : *const PROPERTYKEY, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PSCoerceToCanonicalValue(key : *const PROPERTYKEY, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); PSCoerceToCanonicalValue(key, core::mem::transmute(ppropvar)).ok() } #[inline] @@ -31,7 +31,7 @@ pub unsafe fn PSCreateMultiplexPropertyStore(prgpunkstores: &[Option, rgflags: Option<*const PKA_FLAGS>, rgpropvar: Option<*const windows_core::PROPVARIANT>, cchanges: u32, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PSCreatePropertyChangeArray(rgpropkey : *const PROPERTYKEY, rgflags : *const PKA_FLAGS, rgpropvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, cchanges : u32, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PSCreatePropertyChangeArray(rgpropkey : *const PROPERTYKEY, rgflags : *const PKA_FLAGS, rgpropvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, cchanges : u32, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); PSCreatePropertyChangeArray(core::mem::transmute(rgpropkey.unwrap_or(std::ptr::null())), core::mem::transmute(rgflags.unwrap_or(std::ptr::null())), core::mem::transmute(rgpropvar.unwrap_or(std::ptr::null())), cchanges, riid, ppv).ok() } #[inline] @@ -53,7 +53,7 @@ where } #[inline] pub unsafe fn PSCreateSimplePropertyChange(flags: PKA_FLAGS, key: *const PROPERTYKEY, propvar: *const windows_core::PROPVARIANT, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PSCreateSimplePropertyChange(flags : PKA_FLAGS, key : *const PROPERTYKEY, propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PSCreateSimplePropertyChange(flags : PKA_FLAGS, key : *const PROPERTYKEY, propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); PSCreateSimplePropertyChange(flags, key, core::mem::transmute(propvar), riid, ppv).ok() } #[inline] @@ -63,13 +63,13 @@ pub unsafe fn PSEnumeratePropertyDescriptions(filteron: PROPDESC_ENUMFILTER, rii } #[inline] pub unsafe fn PSFormatForDisplay(propkey: *const PROPERTYKEY, propvar: *const windows_core::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS, pwsztext: &mut [u16]) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PSFormatForDisplay(propkey : *const PROPERTYKEY, propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pdfflags : PROPDESC_FORMAT_FLAGS, pwsztext : windows_core::PWSTR, cchtext : u32) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PSFormatForDisplay(propkey : *const PROPERTYKEY, propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pdfflags : PROPDESC_FORMAT_FLAGS, pwsztext : windows_core::PWSTR, cchtext : u32) -> windows_core::HRESULT); PSFormatForDisplay(propkey, core::mem::transmute(propvar), pdfflags, core::mem::transmute(pwsztext.as_ptr()), pwsztext.len().try_into().unwrap()).ok() } #[inline] pub unsafe fn PSFormatForDisplayAlloc(key: *const PROPERTYKEY, propvar: *const windows_core::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PSFormatForDisplayAlloc(key : *const PROPERTYKEY, propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pdff : PROPDESC_FORMAT_FLAGS, ppszdisplay : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PSFormatForDisplayAlloc(key : *const PROPERTYKEY, propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pdff : PROPDESC_FORMAT_FLAGS, ppszdisplay : *mut windows_core::PWSTR) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PSFormatForDisplayAlloc(key, core::mem::transmute(propvar), pdff, &mut result__).map(|| result__) } #[inline] @@ -79,13 +79,13 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSFormatPropertyValue(pps.param().abi(), ppd.param().abi(), pdff, &mut result__).map(|| result__) } #[inline] pub unsafe fn PSGetImageReferenceForValue(propkey: *const PROPERTYKEY, propvar: *const windows_core::PROPVARIANT) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn PSGetImageReferenceForValue(propkey : *const PROPERTYKEY, propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, ppszimageres : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PSGetImageReferenceForValue(propkey : *const PROPERTYKEY, propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, ppszimageres : *mut windows_core::PWSTR) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PSGetImageReferenceForValue(propkey, core::mem::transmute(propvar), &mut result__).map(|| result__) } #[inline] @@ -110,7 +110,7 @@ where #[inline] pub unsafe fn PSGetNameFromPropertyKey(propkey: *const PROPERTYKEY) -> windows_core::Result { windows_targets::link!("propsys.dll" "system" fn PSGetNameFromPropertyKey(propkey : *const PROPERTYKEY, ppszcanonicalname : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSGetNameFromPropertyKey(propkey, &mut result__).map(|| result__) } #[inline] @@ -119,8 +119,8 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn PSGetNamedPropertyFromPropertyStorage(psps : PCUSERIALIZEDPROPSTORAGE, cb : u32, pszname : windows_core::PCWSTR, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PSGetNamedPropertyFromPropertyStorage(psps : PCUSERIALIZEDPROPSTORAGE, cb : u32, pszname : windows_core::PCWSTR, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PSGetNamedPropertyFromPropertyStorage(psps.param().abi(), cb, pszname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -149,8 +149,8 @@ pub unsafe fn PSGetPropertyFromPropertyStorage(psps: P0, cb: u32, rpkey: *co where P0: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn PSGetPropertyFromPropertyStorage(psps : PCUSERIALIZEDPROPSTORAGE, cb : u32, rpkey : *const PROPERTYKEY, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PSGetPropertyFromPropertyStorage(psps : PCUSERIALIZEDPROPSTORAGE, cb : u32, rpkey : *const PROPERTYKEY, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PSGetPropertyFromPropertyStorage(psps.param().abi(), cb, rpkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -172,8 +172,8 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn PSGetPropertyValue(pps : * mut core::ffi::c_void, ppd : * mut core::ffi::c_void, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PSGetPropertyValue(pps : * mut core::ffi::c_void, ppd : * mut core::ffi::c_void, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PSGetPropertyValue(pps.param().abi(), ppd.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -182,7 +182,7 @@ where P0: windows_core::Param, { windows_targets::link!("propsys.dll" "system" fn PSLookupPropertyHandlerCLSID(pszfilepath : windows_core::PCWSTR, pclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSLookupPropertyHandlerCLSID(pszfilepath.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -203,7 +203,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadBOOL(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -213,8 +213,8 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadBSTR(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, value : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadBSTR(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, value : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadBSTR(propbag.param().abi(), propname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -225,7 +225,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadDWORD(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, value : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadDWORD(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -236,7 +236,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadGUID(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -247,7 +247,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadInt(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, value : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadInt(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -258,7 +258,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadLONG(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, value : *mut i32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadLONG(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -269,7 +269,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadPOINTL(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -280,7 +280,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadPOINTS(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -301,7 +301,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadRECTL(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -312,7 +312,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadSHORT(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, value : *mut i16) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadSHORT(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -333,7 +333,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadStrAlloc(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -344,7 +344,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadStream(propbag.param().abi(), propname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -354,7 +354,7 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadType(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, var : *mut std::mem::MaybeUninit < windows_core::VARIANT >, r#type : super::super::super::System::Variant:: VARENUM) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadType(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, var : *mut core::mem::MaybeUninit < windows_core::VARIANT >, r#type : super::super::super::System::Variant:: VARENUM) -> windows_core::HRESULT); PSPropertyBag_ReadType(propbag.param().abi(), propname.param().abi(), core::mem::transmute(var), r#type).ok() } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -365,7 +365,7 @@ where P1: windows_core::Param, { windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_ReadULONGLONG(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, value : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PSPropertyBag_ReadULONGLONG(propbag.param().abi(), propname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -397,7 +397,7 @@ where P1: windows_core::Param, P2: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteBSTR(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, value : std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PSPropertyBag_WriteBSTR(propbag : * mut core::ffi::c_void, propname : windows_core::PCWSTR, value : core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); PSPropertyBag_WriteBSTR(propbag.param().abi(), propname.param().abi(), value.param().abi()).ok() } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -560,7 +560,7 @@ where P0: windows_core::Param, P1: windows_core::Param, { - windows_targets::link!("propsys.dll" "system" fn PSSetPropertyValue(pps : * mut core::ffi::c_void, ppd : * mut core::ffi::c_void, propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PSSetPropertyValue(pps : * mut core::ffi::c_void, ppd : * mut core::ffi::c_void, propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); PSSetPropertyValue(pps.param().abi(), ppd.param().abi(), core::mem::transmute(propvar)).ok() } #[inline] @@ -663,7 +663,7 @@ pub unsafe fn SHPropStgReadMultiple(pps: P0, ucodepage: u32, cpspec: u32, rg where P0: windows_core::Param, { - windows_targets::link!("shell32.dll" "system" fn SHPropStgReadMultiple(pps : * mut core::ffi::c_void, ucodepage : u32, cpspec : u32, rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC, rgvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + windows_targets::link!("shell32.dll" "system" fn SHPropStgReadMultiple(pps : * mut core::ffi::c_void, ucodepage : u32, cpspec : u32, rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC, rgvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); SHPropStgReadMultiple(pps.param().abi(), ucodepage, cpspec, rgpspec, core::mem::transmute(rgvar)).ok() } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -672,14 +672,14 @@ pub unsafe fn SHPropStgWriteMultiple(pps: P0, pucodepage: Option<*mut u32>, where P0: windows_core::Param, { - windows_targets::link!("shell32.dll" "system" fn SHPropStgWriteMultiple(pps : * mut core::ffi::c_void, pucodepage : *mut u32, cpspec : u32, rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC, rgvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >, propidnamefirst : u32) -> windows_core::HRESULT); + windows_targets::link!("shell32.dll" "system" fn SHPropStgWriteMultiple(pps : * mut core::ffi::c_void, pucodepage : *mut u32, cpspec : u32, rgpspec : *const super::super::super::System::Com::StructuredStorage:: PROPSPEC, rgvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >, propidnamefirst : u32) -> windows_core::HRESULT); SHPropStgWriteMultiple(pps.param().abi(), core::mem::transmute(pucodepage.unwrap_or(std::ptr::null_mut())), cpspec, rgpspec, core::mem::transmute(rgvar), propidnamefirst).ok() } windows_core::imp::define_interface!(ICreateObject, ICreateObject_Vtbl, 0x75121952_e0d0_43e5_9380_1d80483acf72); impl std::ops::Deref for ICreateObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateObject, windows_core::IUnknown); @@ -702,7 +702,7 @@ windows_core::imp::define_interface!(IDelayedPropertyStoreFactory, IDelayedPrope impl std::ops::Deref for IDelayedPropertyStoreFactory { type Target = IPropertyStoreFactory; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDelayedPropertyStoreFactory, windows_core::IUnknown, IPropertyStoreFactory); @@ -724,7 +724,7 @@ windows_core::imp::define_interface!(IInitializeWithFile, IInitializeWithFile_Vt impl std::ops::Deref for IInitializeWithFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeWithFile, windows_core::IUnknown); @@ -745,7 +745,7 @@ windows_core::imp::define_interface!(IInitializeWithStream, IInitializeWithStrea impl std::ops::Deref for IInitializeWithStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeWithStream, windows_core::IUnknown); @@ -770,7 +770,7 @@ windows_core::imp::define_interface!(INamedPropertyStore, INamedPropertyStore_Vt impl std::ops::Deref for INamedPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INamedPropertyStore, windows_core::IUnknown); @@ -779,7 +779,7 @@ impl INamedPropertyStore { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamedValue)(windows_core::Interface::as_raw(self), pszname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNamedValue(&self, pszname: P0, propvar: *const windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -789,27 +789,27 @@ impl INamedPropertyStore { (windows_core::Interface::vtable(self).SetNamedValue)(windows_core::Interface::as_raw(self), pszname.param().abi(), core::mem::transmute(propvar)).ok() } pub unsafe fn GetNameCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNameCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNameAt(&self, iprop: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNameAt)(windows_core::Interface::as_raw(self), iprop, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct INamedPropertyStore_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetNamedValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetNamedValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNamedValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetNamedValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetNameCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetNameAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetNameAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectWithPropertyKey, IObjectWithPropertyKey_Vtbl, 0xfc0ca0a7_c316_4fd2_9031_3e628e6d4f23); impl std::ops::Deref for IObjectWithPropertyKey { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectWithPropertyKey, windows_core::IUnknown); @@ -831,7 +831,7 @@ windows_core::imp::define_interface!(IPersistSerializedPropStorage, IPersistSeri impl std::ops::Deref for IPersistSerializedPropStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistSerializedPropStorage, windows_core::IUnknown); @@ -860,13 +860,13 @@ windows_core::imp::define_interface!(IPersistSerializedPropStorage2, IPersistSer impl std::ops::Deref for IPersistSerializedPropStorage2 { type Target = IPersistSerializedPropStorage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPersistSerializedPropStorage2, windows_core::IUnknown, IPersistSerializedPropStorage); impl IPersistSerializedPropStorage2 { pub unsafe fn GetPropertyStorageSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyStorageSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPropertyStorageBuffer(&self, psps: *mut SERIALIZEDPROPSTORAGE, cb: u32, pcbwritten: *mut u32) -> windows_core::Result<()> { @@ -883,32 +883,32 @@ windows_core::imp::define_interface!(IPropertyChange, IPropertyChange_Vtbl, 0xf9 impl std::ops::Deref for IPropertyChange { type Target = IObjectWithPropertyKey; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyChange, windows_core::IUnknown, IObjectWithPropertyKey); impl IPropertyChange { pub unsafe fn ApplyToPropVariant(&self, propvarin: *const windows_core::PROPVARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplyToPropVariant)(windows_core::Interface::as_raw(self), core::mem::transmute(propvarin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IPropertyChange_Vtbl { pub base__: IObjectWithPropertyKey_Vtbl, - pub ApplyToPropVariant: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ApplyToPropVariant: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyChangeArray, IPropertyChangeArray_Vtbl, 0x380f5cad_1b5e_42f2_805d_637fd392d31e); impl std::ops::Deref for IPropertyChangeArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyChangeArray, windows_core::IUnknown); impl IPropertyChangeArray { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, iindex: u32) -> windows_core::Result @@ -958,7 +958,7 @@ windows_core::imp::define_interface!(IPropertyDescription, IPropertyDescription_ impl std::ops::Deref for IPropertyDescription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyDescription, windows_core::IUnknown); @@ -967,65 +967,65 @@ impl IPropertyDescription { (windows_core::Interface::vtable(self).GetPropertyKey)(windows_core::Interface::as_raw(self), pkey).ok() } pub unsafe fn GetCanonicalName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCanonicalName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPropertyType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEditInvitation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEditInvitation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypeFlags(&self, mask: PROPDESC_TYPE_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeFlags)(windows_core::Interface::as_raw(self), mask, &mut result__).map(|| result__) } pub unsafe fn GetViewFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDefaultColumnWidth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultColumnWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDisplayType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetColumnState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetGroupingRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroupingRange)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRelativeDescriptionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelativeDescriptionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRelativeDescription(&self, propvar1: *const windows_core::PROPVARIANT, propvar2: *const windows_core::PROPVARIANT, ppszdesc1: *mut windows_core::PWSTR, ppszdesc2: *mut windows_core::PWSTR) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetRelativeDescription)(windows_core::Interface::as_raw(self), core::mem::transmute(propvar1), core::mem::transmute(propvar2), ppszdesc1, ppszdesc2).ok() } pub unsafe fn GetSortDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSortDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSortDescriptionLabel(&self, fdescending: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSortDescriptionLabel)(windows_core::Interface::as_raw(self), fdescending.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetAggregationType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAggregationType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Search_Common")] @@ -1043,7 +1043,7 @@ impl IPropertyDescription { (windows_core::Interface::vtable(self).CoerceToCanonicalValue)(windows_core::Interface::as_raw(self), core::mem::transmute(ppropvar)).ok() } pub unsafe fn FormatForDisplay(&self, propvar: *const windows_core::PROPVARIANT, pdfflags: PROPDESC_FORMAT_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatForDisplay)(windows_core::Interface::as_raw(self), core::mem::transmute(propvar), pdfflags, &mut result__).map(|| result__) } pub unsafe fn IsValueCanonical(&self, propvar: *const windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -1065,7 +1065,7 @@ pub struct IPropertyDescription_Vtbl { pub GetColumnState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetGroupingRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PROPDESC_GROUPING_RANGE) -> windows_core::HRESULT, pub GetRelativeDescriptionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PROPDESC_RELATIVEDESCRIPTION_TYPE) -> windows_core::HRESULT, - pub GetRelativeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, + pub GetRelativeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetSortDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PROPDESC_SORTDESCRIPTION) -> windows_core::HRESULT, pub GetSortDescriptionLabel: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetAggregationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PROPDESC_AGGREGATION_TYPE) -> windows_core::HRESULT, @@ -1074,34 +1074,34 @@ pub struct IPropertyDescription_Vtbl { #[cfg(not(feature = "Win32_System_Search_Common"))] GetConditionType: usize, pub GetEnumTypeList: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub CoerceToCanonicalValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FormatForDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, PROPDESC_FORMAT_FLAGS, *mut windows_core::PWSTR) -> windows_core::HRESULT, - pub IsValueCanonical: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CoerceToCanonicalValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FormatForDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, PROPDESC_FORMAT_FLAGS, *mut windows_core::PWSTR) -> windows_core::HRESULT, + pub IsValueCanonical: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyDescription2, IPropertyDescription2_Vtbl, 0x57d2eded_5062_400e_b107_5dae79fe57a6); impl std::ops::Deref for IPropertyDescription2 { type Target = IPropertyDescription; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyDescription2, windows_core::IUnknown, IPropertyDescription); impl IPropertyDescription2 { pub unsafe fn GetImageReferenceForValue(&self, propvar: *const windows_core::PROPVARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageReferenceForValue)(windows_core::Interface::as_raw(self), core::mem::transmute(propvar), &mut result__).map(|| result__) } } #[repr(C)] pub struct IPropertyDescription2_Vtbl { pub base__: IPropertyDescription_Vtbl, - pub GetImageReferenceForValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut windows_core::PWSTR) -> windows_core::HRESULT, + pub GetImageReferenceForValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyDescriptionAliasInfo, IPropertyDescriptionAliasInfo_Vtbl, 0xf67104fc_2af9_46fd_b32d_243c1404f3d1); impl std::ops::Deref for IPropertyDescriptionAliasInfo { type Target = IPropertyDescription; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyDescriptionAliasInfo, windows_core::IUnknown, IPropertyDescription); @@ -1131,13 +1131,13 @@ windows_core::imp::define_interface!(IPropertyDescriptionList, IPropertyDescript impl std::ops::Deref for IPropertyDescriptionList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyDescriptionList, windows_core::IUnknown); impl IPropertyDescriptionList { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, ielem: u32) -> windows_core::Result @@ -1158,7 +1158,7 @@ windows_core::imp::define_interface!(IPropertyDescriptionRelatedPropertyInfo, IP impl std::ops::Deref for IPropertyDescriptionRelatedPropertyInfo { type Target = IPropertyDescription; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyDescriptionRelatedPropertyInfo, windows_core::IUnknown, IPropertyDescription); @@ -1181,25 +1181,25 @@ windows_core::imp::define_interface!(IPropertyDescriptionSearchInfo, IPropertyDe impl std::ops::Deref for IPropertyDescriptionSearchInfo { type Target = IPropertyDescription; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyDescriptionSearchInfo, windows_core::IUnknown, IPropertyDescription); impl IPropertyDescriptionSearchInfo { pub unsafe fn GetSearchInfoFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSearchInfoFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetColumnIndexType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnIndexType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProjectionString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProjectionString)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMaxSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1215,29 +1215,29 @@ windows_core::imp::define_interface!(IPropertyEnumType, IPropertyEnumType_Vtbl, impl std::ops::Deref for IPropertyEnumType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyEnumType, windows_core::IUnknown); impl IPropertyEnumType { pub unsafe fn GetEnumType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRangeMinValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRangeMinValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRangeSetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRangeSetValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayText)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1245,22 +1245,22 @@ impl IPropertyEnumType { pub struct IPropertyEnumType_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetEnumType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PROPENUMTYPE) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRangeMinValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetRangeSetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRangeMinValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRangeSetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyEnumType2, IPropertyEnumType2_Vtbl, 0x9b6e051c_5ddd_4321_9070_fe2acb55e794); impl std::ops::Deref for IPropertyEnumType2 { type Target = IPropertyEnumType; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyEnumType2, windows_core::IUnknown, IPropertyEnumType); impl IPropertyEnumType2 { pub unsafe fn GetImageReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImageReference)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1273,13 +1273,13 @@ windows_core::imp::define_interface!(IPropertyEnumTypeList, IPropertyEnumTypeLis impl std::ops::Deref for IPropertyEnumTypeList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyEnumTypeList, windows_core::IUnknown); impl IPropertyEnumTypeList { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, itype: u32) -> windows_core::Result @@ -1297,7 +1297,7 @@ impl IPropertyEnumTypeList { (windows_core::Interface::vtable(self).GetConditionAt)(windows_core::Interface::as_raw(self), nindex, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindMatchingIndex(&self, propvarcmp: *const windows_core::PROPVARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindMatchingIndex)(windows_core::Interface::as_raw(self), core::mem::transmute(propvarcmp), &mut result__).map(|| result__) } } @@ -1307,26 +1307,26 @@ pub struct IPropertyEnumTypeList_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetConditionAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FindMatchingIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub FindMatchingIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyStore, IPropertyStore_Vtbl, 0x886d8eeb_8cf2_4446_8d02_cdba1dbdcf99); impl std::ops::Deref for IPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyStore, windows_core::IUnknown); impl IPropertyStore { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, iprop: u32, pkey: *mut PROPERTYKEY) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), iprop, pkey).ok() } pub unsafe fn GetValue(&self, key: *const PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetValue(&self, key: *const PROPERTYKEY, propvar: *const windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -1341,21 +1341,21 @@ pub struct IPropertyStore_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut PROPERTYKEY) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyStoreCache, IPropertyStoreCache_Vtbl, 0x3017056d_9a91_4e90_937d_746c72abbf4f); impl std::ops::Deref for IPropertyStoreCache { type Target = IPropertyStore; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyStoreCache, windows_core::IUnknown, IPropertyStore); impl IPropertyStoreCache { pub unsafe fn GetState(&self, key: *const PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } pub unsafe fn GetValueAndState(&self, key: *const PROPERTYKEY, ppropvar: *mut windows_core::PROPVARIANT, pstate: *mut PSC_STATE) -> windows_core::Result<()> { @@ -1372,15 +1372,15 @@ impl IPropertyStoreCache { pub struct IPropertyStoreCache_Vtbl { pub base__: IPropertyStore_Vtbl, pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *mut PSC_STATE) -> windows_core::HRESULT, - pub GetValueAndState: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *mut std::mem::MaybeUninit, *mut PSC_STATE) -> windows_core::HRESULT, + pub GetValueAndState: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *mut core::mem::MaybeUninit, *mut PSC_STATE) -> windows_core::HRESULT, pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, PSC_STATE) -> windows_core::HRESULT, - pub SetValueAndState: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const std::mem::MaybeUninit, PSC_STATE) -> windows_core::HRESULT, + pub SetValueAndState: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const core::mem::MaybeUninit, PSC_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyStoreCapabilities, IPropertyStoreCapabilities_Vtbl, 0xc8e2d566_186e_4d49_bf41_6909ead56acc); impl std::ops::Deref for IPropertyStoreCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyStoreCapabilities, windows_core::IUnknown); @@ -1398,7 +1398,7 @@ windows_core::imp::define_interface!(IPropertyStoreFactory, IPropertyStoreFactor impl std::ops::Deref for IPropertyStoreFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyStoreFactory, windows_core::IUnknown); @@ -1429,7 +1429,7 @@ windows_core::imp::define_interface!(IPropertySystem, IPropertySystem_Vtbl, 0xca impl std::ops::Deref for IPropertySystem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertySystem, windows_core::IUnknown); @@ -1468,7 +1468,7 @@ impl IPropertySystem { (windows_core::Interface::vtable(self).FormatForDisplay)(windows_core::Interface::as_raw(self), key, core::mem::transmute(propvar), pdff, core::mem::transmute(psztext.as_ptr()), psztext.len().try_into().unwrap()).ok() } pub unsafe fn FormatForDisplayAlloc(&self, key: *const PROPERTYKEY, propvar: *const windows_core::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FormatForDisplayAlloc)(windows_core::Interface::as_raw(self), key, core::mem::transmute(propvar), pdff, &mut result__).map(|| result__) } pub unsafe fn RegisterPropertySchema(&self, pszpath: P0) -> windows_core::Result<()> @@ -1494,8 +1494,8 @@ pub struct IPropertySystem_Vtbl { pub GetPropertyDescriptionByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPropertyDescriptionListFromString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumeratePropertyDescriptions: unsafe extern "system" fn(*mut core::ffi::c_void, PROPDESC_ENUMFILTER, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub FormatForDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const std::mem::MaybeUninit, PROPDESC_FORMAT_FLAGS, windows_core::PWSTR, u32) -> windows_core::HRESULT, - pub FormatForDisplayAlloc: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const std::mem::MaybeUninit, PROPDESC_FORMAT_FLAGS, *mut windows_core::PWSTR) -> windows_core::HRESULT, + pub FormatForDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const core::mem::MaybeUninit, PROPDESC_FORMAT_FLAGS, windows_core::PWSTR, u32) -> windows_core::HRESULT, + pub FormatForDisplayAlloc: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const core::mem::MaybeUninit, PROPDESC_FORMAT_FLAGS, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub RegisterPropertySchema: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub UnregisterPropertySchema: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub RefreshPropertySchema: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1504,7 +1504,7 @@ windows_core::imp::define_interface!(IPropertySystemChangeNotify, IPropertySyste impl std::ops::Deref for IPropertySystemChangeNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertySystemChangeNotify, windows_core::IUnknown); @@ -1522,7 +1522,7 @@ windows_core::imp::define_interface!(IPropertyUI, IPropertyUI_Vtbl, 0x757a7d9f_9 impl std::ops::Deref for IPropertyUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyUI, windows_core::IUnknown); @@ -1543,11 +1543,11 @@ impl IPropertyUI { (windows_core::Interface::vtable(self).GetPropertyDescription)(windows_core::Interface::as_raw(self), fmtid, pid, core::mem::transmute(pwsztext.as_ptr()), pwsztext.len().try_into().unwrap()).ok() } pub unsafe fn GetDefaultWidth(&self, fmtid: *const windows_core::GUID, pid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultWidth)(windows_core::Interface::as_raw(self), fmtid, pid, &mut result__).map(|| result__) } pub unsafe fn GetFlags(&self, fmtid: *const windows_core::GUID, pid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), fmtid, pid, &mut result__).map(|| result__) } pub unsafe fn FormatForDisplay(&self, fmtid: *const windows_core::GUID, pid: u32, ppropvar: *const windows_core::PROPVARIANT, puiff: PROPERTYUI_FORMAT_FLAGS, pwsztext: &mut [u16]) -> windows_core::Result<()> { @@ -1566,7 +1566,7 @@ pub struct IPropertyUI_Vtbl { pub GetPropertyDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, windows_core::PWSTR, u32) -> windows_core::HRESULT, pub GetDefaultWidth: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut u32) -> windows_core::HRESULT, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut PROPERTYUI_FLAGS) -> windows_core::HRESULT, - pub FormatForDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const std::mem::MaybeUninit, PROPERTYUI_FORMAT_FLAGS, windows_core::PWSTR, u32) -> windows_core::HRESULT, + pub FormatForDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const core::mem::MaybeUninit, PROPERTYUI_FORMAT_FLAGS, windows_core::PWSTR, u32) -> windows_core::HRESULT, pub GetHelpInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } pub const FPSPS_DEFAULT: _PERSIST_SPROPSTORE_FLAGS = _PERSIST_SPROPSTORE_FLAGS(0i32); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs index 8fdaff1ec1..31a19e5041 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs @@ -38,7 +38,7 @@ impl windows_core::RuntimeName for DFConstraint {} #[cfg(feature = "Win32_System_Com")] impl DFConstraint_Vtbl { pub const fn new, Impl: DFConstraint_Impl, const OFFSET: isize>() -> DFConstraint_Vtbl { - unsafe extern "system" fn Name, Impl: DFConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: DFConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match DFConstraint_Impl::Name(this) { @@ -49,7 +49,7 @@ impl DFConstraint_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Value, Impl: DFConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pv: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Value, Impl: DFConstraint_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pv: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match DFConstraint_Impl::Value(this) { @@ -153,7 +153,7 @@ impl windows_core::RuntimeName for Folder {} #[cfg(feature = "Win32_System_Com")] impl Folder_Vtbl { pub const fn new, Impl: Folder_Impl, const OFFSET: isize>() -> Folder_Vtbl { - unsafe extern "system" fn Title, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Title, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Folder_Impl::Title(this) { @@ -208,7 +208,7 @@ impl Folder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ParseName, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bname: std::mem::MaybeUninit, ppid: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn ParseName, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bname: core::mem::MaybeUninit, ppid: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Folder_Impl::ParseName(this, core::mem::transmute(&bname)) { @@ -219,22 +219,22 @@ impl Folder_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NewFolder, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bname: std::mem::MaybeUninit, voptions: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NewFolder, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bname: core::mem::MaybeUninit, voptions: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); Folder_Impl::NewFolder(this, core::mem::transmute(&bname), core::mem::transmute(&voptions)).into() } - unsafe extern "system" fn MoveHere, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vitem: std::mem::MaybeUninit, voptions: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn MoveHere, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vitem: core::mem::MaybeUninit, voptions: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); Folder_Impl::MoveHere(this, core::mem::transmute(&vitem), core::mem::transmute(&voptions)).into() } - unsafe extern "system" fn CopyHere, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vitem: std::mem::MaybeUninit, voptions: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CopyHere, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vitem: core::mem::MaybeUninit, voptions: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); Folder_Impl::CopyHere(this, core::mem::transmute(&vitem), core::mem::transmute(&voptions)).into() } - unsafe extern "system" fn GetDetailsOf, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vitem: std::mem::MaybeUninit, icolumn: i32, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDetailsOf, Impl: Folder_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vitem: core::mem::MaybeUninit, icolumn: i32, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Folder_Impl::GetDetailsOf(this, core::mem::transmute(&vitem), core::mem::transmute_copy(&icolumn)) { @@ -415,7 +415,7 @@ impl FolderItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match FolderItem_Impl::Name(this) { @@ -426,12 +426,12 @@ impl FolderItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetName, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetName, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); FolderItem_Impl::SetName(this, core::mem::transmute(&bs)).into() } - unsafe extern "system" fn Path, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match FolderItem_Impl::Path(this) { @@ -535,7 +535,7 @@ impl FolderItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Type, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Type, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match FolderItem_Impl::Type(this) { @@ -557,7 +557,7 @@ impl FolderItem_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn InvokeVerb, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vverb: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeVerb, Impl: FolderItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vverb: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); FolderItem_Impl::InvokeVerb(this, core::mem::transmute(&vverb)).into() @@ -597,12 +597,12 @@ impl windows_core::RuntimeName for FolderItem2 {} #[cfg(feature = "Win32_System_Com")] impl FolderItem2_Vtbl { pub const fn new, Impl: FolderItem2_Impl, const OFFSET: isize>() -> FolderItem2_Vtbl { - unsafe extern "system" fn InvokeVerbEx, Impl: FolderItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vverb: std::mem::MaybeUninit, vargs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeVerbEx, Impl: FolderItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vverb: core::mem::MaybeUninit, vargs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); FolderItem2_Impl::InvokeVerbEx(this, core::mem::transmute(&vverb), core::mem::transmute(&vargs)).into() } - unsafe extern "system" fn ExtendedProperty, Impl: FolderItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: std::mem::MaybeUninit, pvret: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExtendedProperty, Impl: FolderItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropname: core::mem::MaybeUninit, pvret: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match FolderItem2_Impl::ExtendedProperty(this, core::mem::transmute(&bstrpropname)) { @@ -657,7 +657,7 @@ impl FolderItemVerb_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: FolderItemVerb_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: FolderItemVerb_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match FolderItemVerb_Impl::Name(this) { @@ -731,7 +731,7 @@ impl FolderItemVerbs_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: FolderItemVerbs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppid: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: FolderItemVerbs_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppid: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match FolderItemVerbs_Impl::Item(this, core::mem::transmute(&index)) { @@ -812,7 +812,7 @@ impl FolderItems_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: FolderItems_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, ppid: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: FolderItems_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, ppid: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match FolderItems_Impl::Item(this, core::mem::transmute(&index)) { @@ -856,7 +856,7 @@ impl windows_core::RuntimeName for FolderItems2 {} #[cfg(feature = "Win32_System_Com")] impl FolderItems2_Vtbl { pub const fn new, Impl: FolderItems2_Impl, const OFFSET: isize>() -> FolderItems2_Vtbl { - unsafe extern "system" fn InvokeVerbEx, Impl: FolderItems2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vverb: std::mem::MaybeUninit, vargs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeVerbEx, Impl: FolderItems2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vverb: core::mem::MaybeUninit, vargs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); FolderItems2_Impl::InvokeVerbEx(this, core::mem::transmute(&vverb), core::mem::transmute(&vargs)).into() @@ -877,7 +877,7 @@ impl windows_core::RuntimeName for FolderItems3 {} #[cfg(feature = "Win32_System_Com")] impl FolderItems3_Vtbl { pub const fn new, Impl: FolderItems3_Impl, const OFFSET: isize>() -> FolderItems3_Vtbl { - unsafe extern "system" fn Filter, Impl: FolderItems3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, grfflags: i32, bstrfilespec: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Filter, Impl: FolderItems3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, grfflags: i32, bstrfilespec: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); FolderItems3_Impl::Filter(this, core::mem::transmute_copy(&grfflags), core::mem::transmute(&bstrfilespec)).into() @@ -2425,7 +2425,7 @@ impl IBrowserService_Vtbl { let this = (*this).get_impl(); IBrowserService_Impl::CacheOLEServer(this, windows_core::from_raw_borrowed(&pole)).into() } - unsafe extern "system" fn GetSetCodePage, Impl: IBrowserService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarin: *const std::mem::MaybeUninit, pvarout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSetCodePage, Impl: IBrowserService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarin: *const core::mem::MaybeUninit, pvarout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBrowserService_Impl::GetSetCodePage(this, core::mem::transmute_copy(&pvarin)) { @@ -2436,7 +2436,7 @@ impl IBrowserService_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn OnHttpEquiv, Impl: IBrowserService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psv: *mut core::ffi::c_void, fdone: super::super::Foundation::BOOL, pvarargin: *const std::mem::MaybeUninit, pvarargout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnHttpEquiv, Impl: IBrowserService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psv: *mut core::ffi::c_void, fdone: super::super::Foundation::BOOL, pvarargin: *const core::mem::MaybeUninit, pvarargout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IBrowserService_Impl::OnHttpEquiv(this, windows_core::from_raw_borrowed(&psv), core::mem::transmute_copy(&fdone), core::mem::transmute_copy(&pvarargin)) { @@ -2765,7 +2765,7 @@ impl IBrowserService2_Vtbl { let this = (*this).get_impl(); IBrowserService2_Impl::_SwitchActivationNow(this).into() } - unsafe extern "system" fn _ExecChildren, Impl: IBrowserService2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punkbar: *mut core::ffi::c_void, fbroadcast: super::super::Foundation::BOOL, pguidcmdgroup: *const windows_core::GUID, ncmdid: u32, ncmdexecopt: u32, pvarargin: *const std::mem::MaybeUninit, pvarargout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn _ExecChildren, Impl: IBrowserService2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punkbar: *mut core::ffi::c_void, fbroadcast: super::super::Foundation::BOOL, pguidcmdgroup: *const windows_core::GUID, ncmdid: u32, ncmdexecopt: u32, pvarargin: *const core::mem::MaybeUninit, pvarargout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IBrowserService2_Impl::_ExecChildren(this, windows_core::from_raw_borrowed(&punkbar), core::mem::transmute_copy(&fbroadcast), core::mem::transmute_copy(&pguidcmdgroup), core::mem::transmute_copy(&ncmdid), core::mem::transmute_copy(&ncmdexecopt), core::mem::transmute_copy(&pvarargin), core::mem::transmute_copy(&pvarargout)).into() @@ -3303,7 +3303,7 @@ impl IColumnProvider_Vtbl { let this = (*this).get_impl(); IColumnProvider_Impl::GetColumnInfo(this, core::mem::transmute_copy(&dwindex), core::mem::transmute_copy(&psci)).into() } - unsafe extern "system" fn GetItemData, Impl: IColumnProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pscid: *const PropertiesSystem::PROPERTYKEY, pscd: *const SHCOLUMNDATA, pvardata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemData, Impl: IColumnProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pscid: *const PropertiesSystem::PROPERTYKEY, pscd: *const SHCOLUMNDATA, pvardata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IColumnProvider_Impl::GetItemData(this, core::mem::transmute_copy(&pscid), core::mem::transmute_copy(&pscd)) { @@ -4275,7 +4275,7 @@ impl ICredentialProviderUser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetValue, Impl: ICredentialProviderUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PropertiesSystem::PROPERTYKEY, value: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: ICredentialProviderUser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PropertiesSystem::PROPERTYKEY, value: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ICredentialProviderUser_Impl::GetValue(this, core::mem::transmute_copy(&key)) { @@ -5163,7 +5163,7 @@ pub trait IDocViewSite_Impl: Sized { impl windows_core::RuntimeName for IDocViewSite {} impl IDocViewSite_Vtbl { pub const fn new, Impl: IDocViewSite_Impl, const OFFSET: isize>() -> IDocViewSite_Vtbl { - unsafe extern "system" fn OnSetTitle, Impl: IDocViewSite_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvtitle: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnSetTitle, Impl: IDocViewSite_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvtitle: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDocViewSite_Impl::OnSetTitle(this, core::mem::transmute_copy(&pvtitle)).into() @@ -6256,7 +6256,7 @@ impl IExpDispSupport_Vtbl { let this = (*this).get_impl(); IExpDispSupport_Impl::OnTranslateAccelerator(this, core::mem::transmute_copy(&pmsg), core::mem::transmute_copy(&grfmodifiers)).into() } - unsafe extern "system" fn OnInvoke, Impl: IExpDispSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, iid: *const windows_core::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Com::DISPPARAMS, pvarresult: *mut std::mem::MaybeUninit, pexcepinfo: *mut super::super::System::Com::EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn OnInvoke, Impl: IExpDispSupport_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, iid: *const windows_core::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Com::DISPPARAMS, pvarresult: *mut core::mem::MaybeUninit, pexcepinfo: *mut super::super::System::Com::EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IExpDispSupport_Impl::OnInvoke(this, core::mem::transmute_copy(&dispidmember), core::mem::transmute_copy(&iid), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&pdispparams), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&pexcepinfo), core::mem::transmute_copy(&puargerr)).into() @@ -6299,7 +6299,7 @@ impl IExpDispSupportXP_Vtbl { let this = (*this).get_impl(); IExpDispSupportXP_Impl::OnTranslateAccelerator(this, core::mem::transmute_copy(&pmsg), core::mem::transmute_copy(&grfmodifiers)).into() } - unsafe extern "system" fn OnInvoke, Impl: IExpDispSupportXP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, iid: *const windows_core::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Com::DISPPARAMS, pvarresult: *mut std::mem::MaybeUninit, pexcepinfo: *mut super::super::System::Com::EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn OnInvoke, Impl: IExpDispSupportXP_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, dispidmember: i32, iid: *const windows_core::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Com::DISPPARAMS, pvarresult: *mut core::mem::MaybeUninit, pexcepinfo: *mut super::super::System::Com::EXCEPINFO, puargerr: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IExpDispSupportXP_Impl::OnInvoke(this, core::mem::transmute_copy(&dispidmember), core::mem::transmute_copy(&iid), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&wflags), core::mem::transmute_copy(&pdispparams), core::mem::transmute_copy(&pvarresult), core::mem::transmute_copy(&pexcepinfo), core::mem::transmute_copy(&puargerr)).into() @@ -7926,12 +7926,12 @@ impl IFileSearchBand_Vtbl { let this = (*this).get_impl(); IFileSearchBand_Impl::SetFocus(this).into() } - unsafe extern "system" fn SetSearchParameters, Impl: IFileSearchBand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsearchid: *const std::mem::MaybeUninit, bnavtoresults: super::super::Foundation::VARIANT_BOOL, pvarscope: *const std::mem::MaybeUninit, pvarqueryfile: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSearchParameters, Impl: IFileSearchBand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsearchid: *const core::mem::MaybeUninit, bnavtoresults: super::super::Foundation::VARIANT_BOOL, pvarscope: *const core::mem::MaybeUninit, pvarqueryfile: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFileSearchBand_Impl::SetSearchParameters(this, core::mem::transmute_copy(&pbstrsearchid), core::mem::transmute_copy(&bnavtoresults), core::mem::transmute_copy(&pvarscope), core::mem::transmute_copy(&pvarqueryfile)).into() } - unsafe extern "system" fn SearchID, Impl: IFileSearchBand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsearchid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SearchID, Impl: IFileSearchBand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsearchid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSearchBand_Impl::SearchID(this) { @@ -7942,7 +7942,7 @@ impl IFileSearchBand_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Scope, Impl: IFileSearchBand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarscope: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Scope, Impl: IFileSearchBand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarscope: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSearchBand_Impl::Scope(this) { @@ -7953,7 +7953,7 @@ impl IFileSearchBand_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn QueryFile, Impl: IFileSearchBand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarfile: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn QueryFile, Impl: IFileSearchBand_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarfile: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFileSearchBand_Impl::QueryFile(this) { @@ -8386,12 +8386,12 @@ impl IFolderView2_Vtbl { let this = (*this).get_impl(); IFolderView2_Impl::GetGroupBy(this, core::mem::transmute_copy(&pkey), core::mem::transmute_copy(&pfascending)).into() } - unsafe extern "system" fn SetViewProperty, Impl: IFolderView2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidl: *const Common::ITEMIDLIST, propkey: *const PropertiesSystem::PROPERTYKEY, propvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetViewProperty, Impl: IFolderView2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidl: *const Common::ITEMIDLIST, propkey: *const PropertiesSystem::PROPERTYKEY, propvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IFolderView2_Impl::SetViewProperty(this, core::mem::transmute_copy(&pidl), core::mem::transmute_copy(&propkey), core::mem::transmute_copy(&propvar)).into() } - unsafe extern "system" fn GetViewProperty, Impl: IFolderView2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidl: *const Common::ITEMIDLIST, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetViewProperty, Impl: IFolderView2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidl: *const Common::ITEMIDLIST, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IFolderView2_Impl::GetViewProperty(this, core::mem::transmute_copy(&pidl), core::mem::transmute_copy(&propkey)) { @@ -10374,7 +10374,7 @@ pub trait INameSpaceTreeAccessible_Impl: Sized { impl windows_core::RuntimeName for INameSpaceTreeAccessible {} impl INameSpaceTreeAccessible_Vtbl { pub const fn new, Impl: INameSpaceTreeAccessible_Impl, const OFFSET: isize>() -> INameSpaceTreeAccessible_Vtbl { - unsafe extern "system" fn OnGetDefaultAccessibilityAction, Impl: INameSpaceTreeAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psi: *mut core::ffi::c_void, pbstrdefaultaction: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnGetDefaultAccessibilityAction, Impl: INameSpaceTreeAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psi: *mut core::ffi::c_void, pbstrdefaultaction: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INameSpaceTreeAccessible_Impl::OnGetDefaultAccessibilityAction(this, windows_core::from_raw_borrowed(&psi)) { @@ -10390,7 +10390,7 @@ impl INameSpaceTreeAccessible_Vtbl { let this = (*this).get_impl(); INameSpaceTreeAccessible_Impl::OnDoDefaultAccessibilityAction(this, windows_core::from_raw_borrowed(&psi)).into() } - unsafe extern "system" fn OnGetAccessibilityRole, Impl: INameSpaceTreeAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psi: *mut core::ffi::c_void, pvarrole: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnGetAccessibilityRole, Impl: INameSpaceTreeAccessible_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, psi: *mut core::ffi::c_void, pvarrole: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INameSpaceTreeAccessible_Impl::OnGetAccessibilityRole(this, windows_core::from_raw_borrowed(&psi)) { @@ -10934,12 +10934,12 @@ pub trait INamedPropertyBag_Impl: Sized { impl windows_core::RuntimeName for INamedPropertyBag {} impl INamedPropertyBag_Vtbl { pub const fn new, Impl: INamedPropertyBag_Impl, const OFFSET: isize>() -> INamedPropertyBag_Vtbl { - unsafe extern "system" fn ReadPropertyNPB, Impl: INamedPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszbagname: windows_core::PCWSTR, pszpropname: windows_core::PCWSTR, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ReadPropertyNPB, Impl: INamedPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszbagname: windows_core::PCWSTR, pszpropname: windows_core::PCWSTR, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INamedPropertyBag_Impl::ReadPropertyNPB(this, core::mem::transmute(&pszbagname), core::mem::transmute(&pszpropname), core::mem::transmute_copy(&pvar)).into() } - unsafe extern "system" fn WritePropertyNPB, Impl: INamedPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszbagname: windows_core::PCWSTR, pszpropname: windows_core::PCWSTR, pvar: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WritePropertyNPB, Impl: INamedPropertyBag_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pszbagname: windows_core::PCWSTR, pszpropname: windows_core::PCWSTR, pvar: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); INamedPropertyBag_Impl::WritePropertyNPB(this, core::mem::transmute(&pszbagname), core::mem::transmute(&pszpropname), core::mem::transmute_copy(&pvar)).into() @@ -11258,7 +11258,7 @@ impl windows_core::RuntimeName for INewWDEvents {} #[cfg(feature = "Win32_System_Com")] impl INewWDEvents_Vtbl { pub const fn new, Impl: INewWDEvents_Impl, const OFFSET: isize>() -> INewWDEvents_Vtbl { - unsafe extern "system" fn PassportAuthenticate, Impl: INewWDEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsigninurl: std::mem::MaybeUninit, pvfauthenitcated: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn PassportAuthenticate, Impl: INewWDEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsigninurl: core::mem::MaybeUninit, pvfauthenitcated: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match INewWDEvents_Impl::PassportAuthenticate(this, core::mem::transmute(&bstrsigninurl)) { @@ -12930,7 +12930,7 @@ impl IScriptErrorList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getErrorMsg, Impl: IScriptErrorList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getErrorMsg, Impl: IScriptErrorList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptErrorList_Impl::getErrorMsg(this) { @@ -12941,7 +12941,7 @@ impl IScriptErrorList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getErrorUrl, Impl: IScriptErrorList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getErrorUrl, Impl: IScriptErrorList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IScriptErrorList_Impl::getErrorUrl(this) { @@ -13058,7 +13058,7 @@ pub trait ISearchContext_Impl: Sized { impl windows_core::RuntimeName for ISearchContext {} impl ISearchContext_Vtbl { pub const fn new, Impl: ISearchContext_Impl, const OFFSET: isize>() -> ISearchContext_Vtbl { - unsafe extern "system" fn GetSearchUrl, Impl: ISearchContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsearchurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSearchUrl, Impl: ISearchContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsearchurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISearchContext_Impl::GetSearchUrl(this) { @@ -13069,7 +13069,7 @@ impl ISearchContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSearchText, Impl: ISearchContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsearchtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSearchText, Impl: ISearchContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsearchtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISearchContext_Impl::GetSearchText(this) { @@ -13633,7 +13633,7 @@ impl IShellDispatch_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NameSpace, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdir: std::mem::MaybeUninit, ppsdf: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn NameSpace, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdir: core::mem::MaybeUninit, ppsdf: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch_Impl::NameSpace(this, core::mem::transmute(&vdir)) { @@ -13644,7 +13644,7 @@ impl IShellDispatch_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BrowseForFolder, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: i32, title: std::mem::MaybeUninit, options: i32, rootfolder: std::mem::MaybeUninit, ppsdf: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn BrowseForFolder, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwnd: i32, title: core::mem::MaybeUninit, options: i32, rootfolder: core::mem::MaybeUninit, ppsdf: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch_Impl::BrowseForFolder(this, core::mem::transmute_copy(&hwnd), core::mem::transmute(&title), core::mem::transmute_copy(&options), core::mem::transmute(&rootfolder)) { @@ -13666,12 +13666,12 @@ impl IShellDispatch_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Open, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdir: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Open, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdir: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellDispatch_Impl::Open(this, core::mem::transmute(&vdir)).into() } - unsafe extern "system" fn Explore, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdir: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Explore, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vdir: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellDispatch_Impl::Explore(this, core::mem::transmute(&vdir)).into() @@ -13751,7 +13751,7 @@ impl IShellDispatch_Vtbl { let this = (*this).get_impl(); IShellDispatch_Impl::RefreshMenu(this).into() } - unsafe extern "system" fn ControlPanelItem, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdir: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ControlPanelItem, Impl: IShellDispatch_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrdir: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellDispatch_Impl::ControlPanelItem(this, core::mem::transmute(&bstrdir)).into() @@ -13804,7 +13804,7 @@ impl windows_core::RuntimeName for IShellDispatch2 {} #[cfg(feature = "Win32_System_Com")] impl IShellDispatch2_Vtbl { pub const fn new, Impl: IShellDispatch2_Impl, const OFFSET: isize>() -> IShellDispatch2_Vtbl { - unsafe extern "system" fn IsRestricted, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, group: std::mem::MaybeUninit, restriction: std::mem::MaybeUninit, plrestrictvalue: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn IsRestricted, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, group: core::mem::MaybeUninit, restriction: core::mem::MaybeUninit, plrestrictvalue: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch2_Impl::IsRestricted(this, core::mem::transmute(&group), core::mem::transmute(&restriction)) { @@ -13815,17 +13815,17 @@ impl IShellDispatch2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ShellExecute, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: std::mem::MaybeUninit, vargs: std::mem::MaybeUninit, vdir: std::mem::MaybeUninit, voperation: std::mem::MaybeUninit, vshow: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShellExecute, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, file: core::mem::MaybeUninit, vargs: core::mem::MaybeUninit, vdir: core::mem::MaybeUninit, voperation: core::mem::MaybeUninit, vshow: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellDispatch2_Impl::ShellExecute(this, core::mem::transmute(&file), core::mem::transmute(&vargs), core::mem::transmute(&vdir), core::mem::transmute(&voperation), core::mem::transmute(&vshow)).into() } - unsafe extern "system" fn FindPrinter, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, location: std::mem::MaybeUninit, model: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FindPrinter, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, location: core::mem::MaybeUninit, model: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellDispatch2_Impl::FindPrinter(this, core::mem::transmute(&name), core::mem::transmute(&location), core::mem::transmute(&model)).into() } - unsafe extern "system" fn GetSystemInformation, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, pv: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSystemInformation, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, pv: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch2_Impl::GetSystemInformation(this, core::mem::transmute(&name)) { @@ -13836,7 +13836,7 @@ impl IShellDispatch2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceStart, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: std::mem::MaybeUninit, persistent: std::mem::MaybeUninit, psuccess: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceStart, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: core::mem::MaybeUninit, persistent: core::mem::MaybeUninit, psuccess: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch2_Impl::ServiceStart(this, core::mem::transmute(&servicename), core::mem::transmute(&persistent)) { @@ -13847,7 +13847,7 @@ impl IShellDispatch2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ServiceStop, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: std::mem::MaybeUninit, persistent: std::mem::MaybeUninit, psuccess: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ServiceStop, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: core::mem::MaybeUninit, persistent: core::mem::MaybeUninit, psuccess: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch2_Impl::ServiceStop(this, core::mem::transmute(&servicename), core::mem::transmute(&persistent)) { @@ -13858,7 +13858,7 @@ impl IShellDispatch2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsServiceRunning, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: std::mem::MaybeUninit, prunning: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn IsServiceRunning, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: core::mem::MaybeUninit, prunning: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch2_Impl::IsServiceRunning(this, core::mem::transmute(&servicename)) { @@ -13869,7 +13869,7 @@ impl IShellDispatch2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn CanStartStopService, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: std::mem::MaybeUninit, pcanstartstop: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CanStartStopService, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, servicename: core::mem::MaybeUninit, pcanstartstop: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch2_Impl::CanStartStopService(this, core::mem::transmute(&servicename)) { @@ -13880,7 +13880,7 @@ impl IShellDispatch2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ShowBrowserBar, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclsid: std::mem::MaybeUninit, bshow: std::mem::MaybeUninit, psuccess: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShowBrowserBar, Impl: IShellDispatch2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrclsid: core::mem::MaybeUninit, bshow: core::mem::MaybeUninit, psuccess: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch2_Impl::ShowBrowserBar(this, core::mem::transmute(&bstrclsid), core::mem::transmute(&bshow)) { @@ -13917,7 +13917,7 @@ impl windows_core::RuntimeName for IShellDispatch3 {} #[cfg(feature = "Win32_System_Com")] impl IShellDispatch3_Vtbl { pub const fn new, Impl: IShellDispatch3_Impl, const OFFSET: isize>() -> IShellDispatch3_Vtbl { - unsafe extern "system" fn AddToRecent, Impl: IShellDispatch3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varfile: std::mem::MaybeUninit, bstrcategory: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddToRecent, Impl: IShellDispatch3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varfile: core::mem::MaybeUninit, bstrcategory: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellDispatch3_Impl::AddToRecent(this, core::mem::transmute(&varfile), core::mem::transmute(&bstrcategory)).into() @@ -13950,7 +13950,7 @@ impl IShellDispatch4_Vtbl { let this = (*this).get_impl(); IShellDispatch4_Impl::ToggleDesktop(this).into() } - unsafe extern "system" fn ExplorerPolicy, Impl: IShellDispatch4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpolicyname: std::mem::MaybeUninit, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExplorerPolicy, Impl: IShellDispatch4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpolicyname: core::mem::MaybeUninit, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellDispatch4_Impl::ExplorerPolicy(this, core::mem::transmute(&bstrpolicyname)) { @@ -14100,7 +14100,7 @@ impl IShellFavoritesNameSpace_Vtbl { let this = (*this).get_impl(); IShellFavoritesNameSpace_Impl::Export(this).into() } - unsafe extern "system" fn InvokeContextMenuCommand, Impl: IShellFavoritesNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcommand: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InvokeContextMenuCommand, Impl: IShellFavoritesNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strcommand: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellFavoritesNameSpace_Impl::InvokeContextMenuCommand(this, core::mem::transmute(&strcommand)).into() @@ -14143,7 +14143,7 @@ impl IShellFavoritesNameSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRoot, Impl: IShellFavoritesNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfullpath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRoot, Impl: IShellFavoritesNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfullpath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellFavoritesNameSpace_Impl::SetRoot(this, core::mem::transmute(&bstrfullpath)).into() @@ -14308,7 +14308,7 @@ impl IShellFolder2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDetailsEx, Impl: IShellFolder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidl: *const Common::ITEMIDLIST, pscid: *const PropertiesSystem::PROPERTYKEY, pv: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDetailsEx, Impl: IShellFolder2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pidl: *const Common::ITEMIDLIST, pscid: *const PropertiesSystem::PROPERTYKEY, pv: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellFolder2_Impl::GetDetailsEx(this, core::mem::transmute_copy(&pidl), core::mem::transmute_copy(&pscid)) { @@ -14748,12 +14748,12 @@ impl IShellFolderViewDual_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SelectItem, Impl: IShellFolderViewDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvfi: *const std::mem::MaybeUninit, dwflags: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SelectItem, Impl: IShellFolderViewDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvfi: *const core::mem::MaybeUninit, dwflags: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellFolderViewDual_Impl::SelectItem(this, core::mem::transmute_copy(&pvfi), core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn PopupItemMenu, Impl: IShellFolderViewDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfi: *mut core::ffi::c_void, vx: std::mem::MaybeUninit, vy: std::mem::MaybeUninit, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PopupItemMenu, Impl: IShellFolderViewDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pfi: *mut core::ffi::c_void, vx: core::mem::MaybeUninit, vy: core::mem::MaybeUninit, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellFolderViewDual_Impl::PopupItemMenu(this, windows_core::from_raw_borrowed(&pfi), core::mem::transmute(&vx), core::mem::transmute(&vy)) { @@ -14863,7 +14863,7 @@ impl windows_core::RuntimeName for IShellFolderViewDual3 {} #[cfg(feature = "Win32_System_Com")] impl IShellFolderViewDual3_Vtbl { pub const fn new, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>() -> IShellFolderViewDual3_Vtbl { - unsafe extern "system" fn GroupBy, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrgroupby: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GroupBy, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrgroupby: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellFolderViewDual3_Impl::GroupBy(this) { @@ -14874,7 +14874,7 @@ impl IShellFolderViewDual3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetGroupBy, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupby: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetGroupBy, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrgroupby: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellFolderViewDual3_Impl::SetGroupBy(this, core::mem::transmute(&bstrgroupby)).into() @@ -14895,7 +14895,7 @@ impl IShellFolderViewDual3_Vtbl { let this = (*this).get_impl(); IShellFolderViewDual3_Impl::SetFolderFlags(this, core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn SortColumns, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsortcolumns: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SortColumns, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsortcolumns: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellFolderViewDual3_Impl::SortColumns(this) { @@ -14906,7 +14906,7 @@ impl IShellFolderViewDual3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSortColumns, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsortcolumns: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSortColumns, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrsortcolumns: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellFolderViewDual3_Impl::SetSortColumns(this, core::mem::transmute(&bstrsortcolumns)).into() @@ -14927,7 +14927,7 @@ impl IShellFolderViewDual3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FilterView, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfiltertext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FilterView, Impl: IShellFolderViewDual3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrfiltertext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellFolderViewDual3_Impl::FilterView(this, core::mem::transmute(&bstrfiltertext)).into() @@ -15537,7 +15537,7 @@ impl IShellItem2_Vtbl { let this = (*this).get_impl(); IShellItem2_Impl::Update(this, windows_core::from_raw_borrowed(&pbc)).into() } - unsafe extern "system" fn GetProperty, Impl: IShellItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IShellItem2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, key: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellItem2_Impl::GetProperty(this, core::mem::transmute_copy(&key)) { @@ -16301,7 +16301,7 @@ impl windows_core::RuntimeName for IShellLinkDual {} #[cfg(feature = "Win32_System_Com")] impl IShellLinkDual_Vtbl { pub const fn new, Impl: IShellLinkDual_Impl, const OFFSET: isize>() -> IShellLinkDual_Vtbl { - unsafe extern "system" fn Path, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellLinkDual_Impl::Path(this) { @@ -16312,12 +16312,12 @@ impl IShellLinkDual_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPath, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPath, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellLinkDual_Impl::SetPath(this, core::mem::transmute(&bs)).into() } - unsafe extern "system" fn Description, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Description, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellLinkDual_Impl::Description(this) { @@ -16328,12 +16328,12 @@ impl IShellLinkDual_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDescription, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDescription, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellLinkDual_Impl::SetDescription(this, core::mem::transmute(&bs)).into() } - unsafe extern "system" fn WorkingDirectory, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn WorkingDirectory, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellLinkDual_Impl::WorkingDirectory(this) { @@ -16344,12 +16344,12 @@ impl IShellLinkDual_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetWorkingDirectory, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetWorkingDirectory, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellLinkDual_Impl::SetWorkingDirectory(this, core::mem::transmute(&bs)).into() } - unsafe extern "system" fn Arguments, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Arguments, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellLinkDual_Impl::Arguments(this) { @@ -16360,7 +16360,7 @@ impl IShellLinkDual_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetArguments, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetArguments, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellLinkDual_Impl::SetArguments(this, core::mem::transmute(&bs)).into() @@ -16402,7 +16402,7 @@ impl IShellLinkDual_Vtbl { let this = (*this).get_impl(); IShellLinkDual_Impl::Resolve(this, core::mem::transmute_copy(&fflags)).into() } - unsafe extern "system" fn GetIconLocation, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut std::mem::MaybeUninit, piicon: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn GetIconLocation, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbs: *mut core::mem::MaybeUninit, piicon: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellLinkDual_Impl::GetIconLocation(this, core::mem::transmute_copy(&pbs)) { @@ -16413,12 +16413,12 @@ impl IShellLinkDual_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetIconLocation, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: std::mem::MaybeUninit, iicon: i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetIconLocation, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bs: core::mem::MaybeUninit, iicon: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellLinkDual_Impl::SetIconLocation(this, core::mem::transmute(&bs), core::mem::transmute_copy(&iicon)).into() } - unsafe extern "system" fn Save, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vwhere: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Save, Impl: IShellLinkDual_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vwhere: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellLinkDual_Impl::Save(this, core::mem::transmute(&vwhere)).into() @@ -16793,7 +16793,7 @@ impl IShellNameSpace_Vtbl { let this = (*this).get_impl(); IShellNameSpace_Impl::SetSelectedItem(this, windows_core::from_raw_borrowed(&pitem)).into() } - unsafe extern "system" fn Root, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Root, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellNameSpace_Impl::Root(this) { @@ -16804,7 +16804,7 @@ impl IShellNameSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetRoot, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetRoot, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellNameSpace_Impl::SetRoot(this, core::mem::transmute(&var)).into() @@ -16873,7 +16873,7 @@ impl IShellNameSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Columns, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcolumns: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Columns, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcolumns: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellNameSpace_Impl::Columns(this) { @@ -16884,7 +16884,7 @@ impl IShellNameSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetColumns, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcolumns: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetColumns, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcolumns: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellNameSpace_Impl::SetColumns(this, core::mem::transmute(&bstrcolumns)).into() @@ -16916,7 +16916,7 @@ impl IShellNameSpace_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Expand, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: std::mem::MaybeUninit, idepth: i32) -> windows_core::HRESULT { + unsafe extern "system" fn Expand, Impl: IShellNameSpace_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, var: core::mem::MaybeUninit, idepth: i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellNameSpace_Impl::Expand(this, core::mem::transmute(&var), core::mem::transmute_copy(&idepth)).into() @@ -17096,22 +17096,22 @@ impl IShellUIHelper_Vtbl { let this = (*this).get_impl(); IShellUIHelper_Impl::RefreshOfflineDesktop(this).into() } - unsafe extern "system" fn AddFavorite, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit, title: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddFavorite, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit, title: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper_Impl::AddFavorite(this, core::mem::transmute(&url), core::mem::transmute_copy(&title)).into() } - unsafe extern "system" fn AddChannel, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddChannel, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper_Impl::AddChannel(this, core::mem::transmute(&url)).into() } - unsafe extern "system" fn AddDesktopComponent, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit, r#type: std::mem::MaybeUninit, left: *const std::mem::MaybeUninit, top: *const std::mem::MaybeUninit, width: *const std::mem::MaybeUninit, height: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddDesktopComponent, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit, r#type: core::mem::MaybeUninit, left: *const core::mem::MaybeUninit, top: *const core::mem::MaybeUninit, width: *const core::mem::MaybeUninit, height: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper_Impl::AddDesktopComponent(this, core::mem::transmute(&url), core::mem::transmute(&r#type), core::mem::transmute_copy(&left), core::mem::transmute_copy(&top), core::mem::transmute_copy(&width), core::mem::transmute_copy(&height)).into() } - unsafe extern "system" fn IsSubscribed, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit, pbool: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsSubscribed, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit, pbool: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper_Impl::IsSubscribed(this, core::mem::transmute(&url)) { @@ -17122,32 +17122,32 @@ impl IShellUIHelper_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn NavigateAndFind, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit, strquery: std::mem::MaybeUninit, vartargetframe: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NavigateAndFind, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit, strquery: core::mem::MaybeUninit, vartargetframe: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper_Impl::NavigateAndFind(this, core::mem::transmute(&url), core::mem::transmute(&strquery), core::mem::transmute_copy(&vartargetframe)).into() } - unsafe extern "system" fn ImportExportFavorites, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fimport: super::super::Foundation::VARIANT_BOOL, strimpexppath: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ImportExportFavorites, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fimport: super::super::Foundation::VARIANT_BOOL, strimpexppath: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper_Impl::ImportExportFavorites(this, core::mem::transmute_copy(&fimport), core::mem::transmute(&strimpexppath)).into() } - unsafe extern "system" fn AutoCompleteSaveForm, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, form: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AutoCompleteSaveForm, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, form: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper_Impl::AutoCompleteSaveForm(this, core::mem::transmute_copy(&form)).into() } - unsafe extern "system" fn AutoScan, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsearch: std::mem::MaybeUninit, strfailureurl: std::mem::MaybeUninit, pvartargetframe: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AutoScan, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strsearch: core::mem::MaybeUninit, strfailureurl: core::mem::MaybeUninit, pvartargetframe: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper_Impl::AutoScan(this, core::mem::transmute(&strsearch), core::mem::transmute(&strfailureurl), core::mem::transmute_copy(&pvartargetframe)).into() } - unsafe extern "system" fn AutoCompleteAttach, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reserved: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AutoCompleteAttach, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, reserved: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper_Impl::AutoCompleteAttach(this, core::mem::transmute_copy(&reserved)).into() } - unsafe extern "system" fn ShowBrowserUI, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, pvarin: *const std::mem::MaybeUninit, pvarout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShowBrowserUI, Impl: IShellUIHelper_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, pvarin: *const core::mem::MaybeUninit, pvarout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper_Impl::ShowBrowserUI(this, core::mem::transmute(&bstrname), core::mem::transmute_copy(&pvarin)) { @@ -17203,7 +17203,7 @@ impl windows_core::RuntimeName for IShellUIHelper2 {} #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper2_Vtbl { pub const fn new, Impl: IShellUIHelper2_Impl, const OFFSET: isize>() -> IShellUIHelper2_Vtbl { - unsafe extern "system" fn AddSearchProvider, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddSearchProvider, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper2_Impl::AddSearchProvider(this, core::mem::transmute(&url)).into() @@ -17218,7 +17218,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); IShellUIHelper2_Impl::SkipRunOnce(this).into() } - unsafe extern "system" fn CustomizeSettings, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fsqm: super::super::Foundation::VARIANT_BOOL, fphishing: super::super::Foundation::VARIANT_BOOL, bstrlocale: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CustomizeSettings, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fsqm: super::super::Foundation::VARIANT_BOOL, fphishing: super::super::Foundation::VARIANT_BOOL, bstrlocale: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper2_Impl::CustomizeSettings(this, core::mem::transmute_copy(&fsqm), core::mem::transmute_copy(&fphishing), core::mem::transmute(&bstrlocale)).into() @@ -17245,7 +17245,7 @@ impl IShellUIHelper2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BrandImageUri, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BrandImageUri, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstruri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper2_Impl::BrandImageUri(this) { @@ -17271,7 +17271,7 @@ impl IShellUIHelper2_Vtbl { let this = (*this).get_impl(); IShellUIHelper2_Impl::CustomizeClearType(this, core::mem::transmute_copy(&fset)).into() } - unsafe extern "system" fn IsSearchProviderInstalled, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit, pdwresult: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn IsSearchProviderInstalled, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit, pdwresult: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper2_Impl::IsSearchProviderInstalled(this, core::mem::transmute(&url)) { @@ -17293,7 +17293,7 @@ impl IShellUIHelper2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn DefaultSearchProvider, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DefaultSearchProvider, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper2_Impl::DefaultSearchProvider(this) { @@ -17320,7 +17320,7 @@ impl IShellUIHelper2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SearchGuideUrl, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SearchGuideUrl, Impl: IShellUIHelper2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper2_Impl::SearchGuideUrl(this) { @@ -17376,12 +17376,12 @@ impl windows_core::RuntimeName for IShellUIHelper3 {} #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper3_Vtbl { pub const fn new, Impl: IShellUIHelper3_Impl, const OFFSET: isize>() -> IShellUIHelper3_Vtbl { - unsafe extern "system" fn AddService, Impl: IShellUIHelper3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddService, Impl: IShellUIHelper3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper3_Impl::AddService(this, core::mem::transmute(&url)).into() } - unsafe extern "system" fn IsServiceInstalled, Impl: IShellUIHelper3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit, verb: std::mem::MaybeUninit, pdwresult: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn IsServiceInstalled, Impl: IShellUIHelper3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit, verb: core::mem::MaybeUninit, pdwresult: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper3_Impl::IsServiceInstalled(this, core::mem::transmute(&url), core::mem::transmute(&verb)) { @@ -17403,7 +17403,7 @@ impl IShellUIHelper3_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn AddToFavoritesBar, Impl: IShellUIHelper3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit, title: std::mem::MaybeUninit, r#type: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddToFavoritesBar, Impl: IShellUIHelper3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit, title: core::mem::MaybeUninit, r#type: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper3_Impl::AddToFavoritesBar(this, core::mem::transmute(&url), core::mem::transmute(&title), core::mem::transmute_copy(&r#type)).into() @@ -17444,7 +17444,7 @@ impl IShellUIHelper3_Vtbl { let this = (*this).get_impl(); IShellUIHelper3_Impl::EnableSuggestedSites(this, core::mem::transmute_copy(&fenable)).into() } - unsafe extern "system" fn NavigateToSuggestedSites, Impl: IShellUIHelper3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrelativeurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn NavigateToSuggestedSites, Impl: IShellUIHelper3_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrrelativeurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper3_Impl::NavigateToSuggestedSites(this, core::mem::transmute(&bstrrelativeurl)).into() @@ -17522,7 +17522,7 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); IShellUIHelper4_Impl::msSiteModeShowThumbBar(this).into() } - unsafe extern "system" fn msSiteModeAddThumbBarButton, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstriconurl: std::mem::MaybeUninit, bstrtooltip: std::mem::MaybeUninit, pvarbuttonid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msSiteModeAddThumbBarButton, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstriconurl: core::mem::MaybeUninit, bstrtooltip: core::mem::MaybeUninit, pvarbuttonid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper4_Impl::msSiteModeAddThumbBarButton(this, core::mem::transmute(&bstriconurl), core::mem::transmute(&bstrtooltip)) { @@ -17533,12 +17533,12 @@ impl IShellUIHelper4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn msSiteModeUpdateThumbBarButton, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, buttonid: std::mem::MaybeUninit, fenabled: super::super::Foundation::VARIANT_BOOL, fvisible: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn msSiteModeUpdateThumbBarButton, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, buttonid: core::mem::MaybeUninit, fenabled: super::super::Foundation::VARIANT_BOOL, fvisible: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper4_Impl::msSiteModeUpdateThumbBarButton(this, core::mem::transmute(&buttonid), core::mem::transmute_copy(&fenabled), core::mem::transmute_copy(&fvisible)).into() } - unsafe extern "system" fn msSiteModeSetIconOverlay, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iconurl: std::mem::MaybeUninit, pvardescription: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msSiteModeSetIconOverlay, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, iconurl: core::mem::MaybeUninit, pvardescription: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper4_Impl::msSiteModeSetIconOverlay(this, core::mem::transmute(&iconurl), core::mem::transmute_copy(&pvardescription)).into() @@ -17553,12 +17553,12 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); IShellUIHelper4_Impl::msAddSiteMode(this).into() } - unsafe extern "system" fn msSiteModeCreateJumpList, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrheader: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msSiteModeCreateJumpList, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrheader: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper4_Impl::msSiteModeCreateJumpList(this, core::mem::transmute(&bstrheader)).into() } - unsafe extern "system" fn msSiteModeAddJumpListItem, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: std::mem::MaybeUninit, bstractionuri: std::mem::MaybeUninit, bstriconuri: std::mem::MaybeUninit, pvarwindowtype: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msSiteModeAddJumpListItem, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrname: core::mem::MaybeUninit, bstractionuri: core::mem::MaybeUninit, bstriconuri: core::mem::MaybeUninit, pvarwindowtype: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper4_Impl::msSiteModeAddJumpListItem(this, core::mem::transmute(&bstrname), core::mem::transmute(&bstractionuri), core::mem::transmute(&bstriconuri), core::mem::transmute_copy(&pvarwindowtype)).into() @@ -17573,7 +17573,7 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); IShellUIHelper4_Impl::msSiteModeShowJumpList(this).into() } - unsafe extern "system" fn msSiteModeAddButtonStyle, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uibuttonid: std::mem::MaybeUninit, bstriconurl: std::mem::MaybeUninit, bstrtooltip: std::mem::MaybeUninit, pvarstyleid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msSiteModeAddButtonStyle, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uibuttonid: core::mem::MaybeUninit, bstriconurl: core::mem::MaybeUninit, bstrtooltip: core::mem::MaybeUninit, pvarstyleid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper4_Impl::msSiteModeAddButtonStyle(this, core::mem::transmute(&uibuttonid), core::mem::transmute(&bstriconurl), core::mem::transmute(&bstrtooltip)) { @@ -17584,7 +17584,7 @@ impl IShellUIHelper4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn msSiteModeShowButtonStyle, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uibuttonid: std::mem::MaybeUninit, uistyleid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msSiteModeShowButtonStyle, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uibuttonid: core::mem::MaybeUninit, uistyleid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper4_Impl::msSiteModeShowButtonStyle(this, core::mem::transmute(&uibuttonid), core::mem::transmute(&uistyleid)).into() @@ -17594,7 +17594,7 @@ impl IShellUIHelper4_Vtbl { let this = (*this).get_impl(); IShellUIHelper4_Impl::msSiteModeActivate(this).into() } - unsafe extern "system" fn msIsSiteModeFirstRun, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fpreservestate: super::super::Foundation::VARIANT_BOOL, puifirstrun: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msIsSiteModeFirstRun, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fpreservestate: super::super::Foundation::VARIANT_BOOL, puifirstrun: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper4_Impl::msIsSiteModeFirstRun(this, core::mem::transmute_copy(&fpreservestate)) { @@ -17605,7 +17605,7 @@ impl IShellUIHelper4_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn msAddTrackingProtectionList, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit, bstrfiltername: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msAddTrackingProtectionList, Impl: IShellUIHelper4_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit, bstrfiltername: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper4_Impl::msAddTrackingProtectionList(this, core::mem::transmute(&url), core::mem::transmute(&bstrfiltername)).into() @@ -17673,7 +17673,7 @@ impl windows_core::RuntimeName for IShellUIHelper5 {} #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper5_Vtbl { pub const fn new, Impl: IShellUIHelper5_Impl, const OFFSET: isize>() -> IShellUIHelper5_Vtbl { - unsafe extern "system" fn msProvisionNetworks, Impl: IShellUIHelper5_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovisioningxml: std::mem::MaybeUninit, puiresult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msProvisionNetworks, Impl: IShellUIHelper5_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrprovisioningxml: core::mem::MaybeUninit, puiresult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper5_Impl::msProvisionNetworks(this, core::mem::transmute(&bstrprovisioningxml)) { @@ -17756,12 +17756,12 @@ impl IShellUIHelper6_Vtbl { let this = (*this).get_impl(); IShellUIHelper6_Impl::msStopPeriodicTileUpdate(this).into() } - unsafe extern "system" fn msStartPeriodicTileUpdate, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pollinguris: std::mem::MaybeUninit, starttime: std::mem::MaybeUninit, uiupdaterecurrence: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msStartPeriodicTileUpdate, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pollinguris: core::mem::MaybeUninit, starttime: core::mem::MaybeUninit, uiupdaterecurrence: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper6_Impl::msStartPeriodicTileUpdate(this, core::mem::transmute(&pollinguris), core::mem::transmute(&starttime), core::mem::transmute(&uiupdaterecurrence)).into() } - unsafe extern "system" fn msStartPeriodicTileUpdateBatch, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pollinguris: std::mem::MaybeUninit, starttime: std::mem::MaybeUninit, uiupdaterecurrence: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msStartPeriodicTileUpdateBatch, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pollinguris: core::mem::MaybeUninit, starttime: core::mem::MaybeUninit, uiupdaterecurrence: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper6_Impl::msStartPeriodicTileUpdateBatch(this, core::mem::transmute(&pollinguris), core::mem::transmute(&starttime), core::mem::transmute(&uiupdaterecurrence)).into() @@ -17776,7 +17776,7 @@ impl IShellUIHelper6_Vtbl { let this = (*this).get_impl(); IShellUIHelper6_Impl::msEnableTileNotificationQueue(this, core::mem::transmute_copy(&fchange)).into() } - unsafe extern "system" fn msPinnedSiteState, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsitestate: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msPinnedSiteState, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarsitestate: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper6_Impl::msPinnedSiteState(this) { @@ -17802,17 +17802,17 @@ impl IShellUIHelper6_Vtbl { let this = (*this).get_impl(); IShellUIHelper6_Impl::msEnableTileNotificationQueueForSquare310x310(this, core::mem::transmute_copy(&fchange)).into() } - unsafe extern "system" fn msScheduledTileNotification, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnotificationxml: std::mem::MaybeUninit, bstrnotificationid: std::mem::MaybeUninit, bstrnotificationtag: std::mem::MaybeUninit, starttime: std::mem::MaybeUninit, expirationtime: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msScheduledTileNotification, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnotificationxml: core::mem::MaybeUninit, bstrnotificationid: core::mem::MaybeUninit, bstrnotificationtag: core::mem::MaybeUninit, starttime: core::mem::MaybeUninit, expirationtime: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper6_Impl::msScheduledTileNotification(this, core::mem::transmute(&bstrnotificationxml), core::mem::transmute(&bstrnotificationid), core::mem::transmute(&bstrnotificationtag), core::mem::transmute(&starttime), core::mem::transmute(&expirationtime)).into() } - unsafe extern "system" fn msRemoveScheduledTileNotification, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnotificationid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msRemoveScheduledTileNotification, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrnotificationid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper6_Impl::msRemoveScheduledTileNotification(this, core::mem::transmute(&bstrnotificationid)).into() } - unsafe extern "system" fn msStartPeriodicBadgeUpdate, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pollinguri: std::mem::MaybeUninit, starttime: std::mem::MaybeUninit, uiupdaterecurrence: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn msStartPeriodicBadgeUpdate, Impl: IShellUIHelper6_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pollinguri: core::mem::MaybeUninit, starttime: core::mem::MaybeUninit, uiupdaterecurrence: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper6_Impl::msStartPeriodicBadgeUpdate(this, core::mem::transmute(&pollinguri), core::mem::transmute(&starttime), core::mem::transmute(&uiupdaterecurrence)).into() @@ -17866,12 +17866,12 @@ impl windows_core::RuntimeName for IShellUIHelper7 {} #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper7_Vtbl { pub const fn new, Impl: IShellUIHelper7_Impl, const OFFSET: isize>() -> IShellUIHelper7_Vtbl { - unsafe extern "system" fn SetExperimentalFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrflagstring: std::mem::MaybeUninit, vfflag: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetExperimentalFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrflagstring: core::mem::MaybeUninit, vfflag: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper7_Impl::SetExperimentalFlag(this, core::mem::transmute(&bstrflagstring), core::mem::transmute_copy(&vfflag)).into() } - unsafe extern "system" fn GetExperimentalFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrflagstring: std::mem::MaybeUninit, vfflag: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetExperimentalFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrflagstring: core::mem::MaybeUninit, vfflag: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper7_Impl::GetExperimentalFlag(this, core::mem::transmute(&bstrflagstring)) { @@ -17882,12 +17882,12 @@ impl IShellUIHelper7_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetExperimentalValue, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluestring: std::mem::MaybeUninit, dwvalue: u32) -> windows_core::HRESULT { + unsafe extern "system" fn SetExperimentalValue, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluestring: core::mem::MaybeUninit, dwvalue: u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper7_Impl::SetExperimentalValue(this, core::mem::transmute(&bstrvaluestring), core::mem::transmute_copy(&dwvalue)).into() } - unsafe extern "system" fn GetExperimentalValue, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluestring: std::mem::MaybeUninit, pdwvalue: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetExperimentalValue, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrvaluestring: core::mem::MaybeUninit, pdwvalue: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper7_Impl::GetExperimentalValue(this, core::mem::transmute(&bstrvaluestring)) { @@ -17903,7 +17903,7 @@ impl IShellUIHelper7_Vtbl { let this = (*this).get_impl(); IShellUIHelper7_Impl::ResetAllExperimentalFlagsAndValues(this).into() } - unsafe extern "system" fn GetNeedIEAutoLaunchFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, flag: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn GetNeedIEAutoLaunchFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, flag: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper7_Impl::GetNeedIEAutoLaunchFlag(this, core::mem::transmute(&bstrurl)) { @@ -17914,12 +17914,12 @@ impl IShellUIHelper7_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetNeedIEAutoLaunchFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, flag: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn SetNeedIEAutoLaunchFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, flag: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper7_Impl::SetNeedIEAutoLaunchFlag(this, core::mem::transmute(&bstrurl), core::mem::transmute_copy(&flag)).into() } - unsafe extern "system" fn HasNeedIEAutoLaunchFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn HasNeedIEAutoLaunchFlag, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, exists: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper7_Impl::HasNeedIEAutoLaunchFlag(this, core::mem::transmute(&bstrurl)) { @@ -17930,7 +17930,7 @@ impl IShellUIHelper7_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LaunchIE, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, automated: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn LaunchIE, Impl: IShellUIHelper7_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, automated: super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper7_Impl::LaunchIE(this, core::mem::transmute(&bstrurl), core::mem::transmute_copy(&automated)).into() @@ -17967,7 +17967,7 @@ impl windows_core::RuntimeName for IShellUIHelper8 {} #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper8_Vtbl { pub const fn new, Impl: IShellUIHelper8_Impl, const OFFSET: isize>() -> IShellUIHelper8_Vtbl { - unsafe extern "system" fn GetCVListData, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrresult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCVListData, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrresult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper8_Impl::GetCVListData(this) { @@ -17978,7 +17978,7 @@ impl IShellUIHelper8_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCVListLocalData, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrresult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCVListLocalData, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrresult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper8_Impl::GetCVListLocalData(this) { @@ -17989,7 +17989,7 @@ impl IShellUIHelper8_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetEMIEListData, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrresult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEMIEListData, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrresult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper8_Impl::GetEMIEListData(this) { @@ -18000,7 +18000,7 @@ impl IShellUIHelper8_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetEMIEListLocalData, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrresult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetEMIEListLocalData, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrresult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellUIHelper8_Impl::GetEMIEListLocalData(this) { @@ -18021,7 +18021,7 @@ impl IShellUIHelper8_Vtbl { let this = (*this).get_impl(); IShellUIHelper8_Impl::OpenFavoritesSettings(this).into() } - unsafe extern "system" fn LaunchInHVSI, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LaunchInHVSI, Impl: IShellUIHelper8_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellUIHelper8_Impl::LaunchInHVSI(this, core::mem::transmute(&bstrurl)).into() @@ -18272,7 +18272,7 @@ impl IShellWindows_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: IShellWindows_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: std::mem::MaybeUninit, folder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: IShellWindows_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: core::mem::MaybeUninit, folder: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellWindows_Impl::Item(this, core::mem::transmute(&index)) { @@ -18305,7 +18305,7 @@ impl IShellWindows_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RegisterPending, Impl: IShellWindows_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lthreadid: i32, pvarloc: *const std::mem::MaybeUninit, pvarlocroot: *const std::mem::MaybeUninit, swclass: ShellWindowTypeConstants, plcookie: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn RegisterPending, Impl: IShellWindows_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lthreadid: i32, pvarloc: *const core::mem::MaybeUninit, pvarlocroot: *const core::mem::MaybeUninit, swclass: ShellWindowTypeConstants, plcookie: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellWindows_Impl::RegisterPending(this, core::mem::transmute_copy(<hreadid), core::mem::transmute_copy(&pvarloc), core::mem::transmute_copy(&pvarlocroot), core::mem::transmute_copy(&swclass)) { @@ -18321,7 +18321,7 @@ impl IShellWindows_Vtbl { let this = (*this).get_impl(); IShellWindows_Impl::Revoke(this, core::mem::transmute_copy(&lcookie)).into() } - unsafe extern "system" fn OnNavigate, Impl: IShellWindows_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcookie: i32, pvarloc: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnNavigate, Impl: IShellWindows_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, lcookie: i32, pvarloc: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IShellWindows_Impl::OnNavigate(this, core::mem::transmute_copy(&lcookie), core::mem::transmute_copy(&pvarloc)).into() @@ -18331,7 +18331,7 @@ impl IShellWindows_Vtbl { let this = (*this).get_impl(); IShellWindows_Impl::OnActivated(this, core::mem::transmute_copy(&lcookie), core::mem::transmute_copy(&factive)).into() } - unsafe extern "system" fn FindWindowSW, Impl: IShellWindows_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarloc: *const std::mem::MaybeUninit, pvarlocroot: *const std::mem::MaybeUninit, swclass: ShellWindowTypeConstants, phwnd: *mut i32, swfwoptions: ShellWindowFindWindowOptions, ppdispout: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn FindWindowSW, Impl: IShellWindows_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarloc: *const core::mem::MaybeUninit, pvarlocroot: *const core::mem::MaybeUninit, swclass: ShellWindowTypeConstants, phwnd: *mut i32, swfwoptions: ShellWindowFindWindowOptions, ppdispout: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IShellWindows_Impl::FindWindowSW(this, core::mem::transmute_copy(&pvarloc), core::mem::transmute_copy(&pvarlocroot), core::mem::transmute_copy(&swclass), core::mem::transmute_copy(&phwnd), core::mem::transmute_copy(&swfwoptions)) { @@ -18709,7 +18709,7 @@ impl windows_core::RuntimeName for ISyncMgrConflict {} #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] impl ISyncMgrConflict_Vtbl { pub const fn new, Impl: ISyncMgrConflict_Impl, const OFFSET: isize>() -> ISyncMgrConflict_Vtbl { - unsafe extern "system" fn GetProperty, Impl: ISyncMgrConflict_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: ISyncMgrConflict_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propkey: *const PropertiesSystem::PROPERTYKEY, ppropvar: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ISyncMgrConflict_Impl::GetProperty(this, core::mem::transmute_copy(&propkey)) { @@ -21858,7 +21858,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); IWebBrowser_Impl::GoSearch(this).into() } - unsafe extern "system" fn Navigate, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: std::mem::MaybeUninit, flags: *const std::mem::MaybeUninit, targetframename: *const std::mem::MaybeUninit, postdata: *const std::mem::MaybeUninit, headers: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Navigate, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: core::mem::MaybeUninit, flags: *const core::mem::MaybeUninit, targetframename: *const core::mem::MaybeUninit, postdata: *const core::mem::MaybeUninit, headers: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebBrowser_Impl::Navigate(this, core::mem::transmute(&url), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&targetframename), core::mem::transmute_copy(&postdata), core::mem::transmute_copy(&headers)).into() @@ -21868,7 +21868,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); IWebBrowser_Impl::Refresh(this).into() } - unsafe extern "system" fn Refresh2, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, level: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Refresh2, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, level: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebBrowser_Impl::Refresh2(this, core::mem::transmute_copy(&level)).into() @@ -21933,7 +21933,7 @@ impl IWebBrowser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Type, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Type, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, r#type: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebBrowser_Impl::Type(this) { @@ -22008,7 +22008,7 @@ impl IWebBrowser_Vtbl { let this = (*this).get_impl(); IWebBrowser_Impl::SetHeight(this, core::mem::transmute_copy(&height)).into() } - unsafe extern "system" fn LocationName, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locationname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocationName, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locationname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebBrowser_Impl::LocationName(this) { @@ -22019,7 +22019,7 @@ impl IWebBrowser_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LocationURL, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locationurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocationURL, Impl: IWebBrowser_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, locationurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebBrowser_Impl::LocationURL(this) { @@ -22101,7 +22101,7 @@ impl windows_core::RuntimeName for IWebBrowser2 {} #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] impl IWebBrowser2_Vtbl { pub const fn new, Impl: IWebBrowser2_Impl, const OFFSET: isize>() -> IWebBrowser2_Vtbl { - unsafe extern "system" fn Navigate2, Impl: IWebBrowser2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: *const std::mem::MaybeUninit, flags: *const std::mem::MaybeUninit, targetframename: *const std::mem::MaybeUninit, postdata: *const std::mem::MaybeUninit, headers: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Navigate2, Impl: IWebBrowser2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, url: *const core::mem::MaybeUninit, flags: *const core::mem::MaybeUninit, targetframename: *const core::mem::MaybeUninit, postdata: *const core::mem::MaybeUninit, headers: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebBrowser2_Impl::Navigate2(this, core::mem::transmute_copy(&url), core::mem::transmute_copy(&flags), core::mem::transmute_copy(&targetframename), core::mem::transmute_copy(&postdata), core::mem::transmute_copy(&headers)).into() @@ -22117,12 +22117,12 @@ impl IWebBrowser2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ExecWB, Impl: IWebBrowser2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cmdid: super::super::System::Ole::OLECMDID, cmdexecopt: super::super::System::Ole::OLECMDEXECOPT, pvain: *const std::mem::MaybeUninit, pvaout: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ExecWB, Impl: IWebBrowser2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cmdid: super::super::System::Ole::OLECMDID, cmdexecopt: super::super::System::Ole::OLECMDEXECOPT, pvain: *const core::mem::MaybeUninit, pvaout: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebBrowser2_Impl::ExecWB(this, core::mem::transmute_copy(&cmdid), core::mem::transmute_copy(&cmdexecopt), core::mem::transmute_copy(&pvain), core::mem::transmute_copy(&pvaout)).into() } - unsafe extern "system" fn ShowBrowserBar, Impl: IWebBrowser2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaclsid: *const std::mem::MaybeUninit, pvarshow: *const std::mem::MaybeUninit, pvarsize: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ShowBrowserBar, Impl: IWebBrowser2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvaclsid: *const core::mem::MaybeUninit, pvarshow: *const core::mem::MaybeUninit, pvarsize: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebBrowser2_Impl::ShowBrowserBar(this, core::mem::transmute_copy(&pvaclsid), core::mem::transmute_copy(&pvarshow), core::mem::transmute_copy(&pvarsize)).into() @@ -22315,12 +22315,12 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); IWebBrowserApp_Impl::ClientToWindow(this, core::mem::transmute_copy(&pcx), core::mem::transmute_copy(&pcy)).into() } - unsafe extern "system" fn PutProperty, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: std::mem::MaybeUninit, vtvalue: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PutProperty, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: core::mem::MaybeUninit, vtvalue: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebBrowserApp_Impl::PutProperty(this, core::mem::transmute(&property), core::mem::transmute(&vtvalue)).into() } - unsafe extern "system" fn GetProperty, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: std::mem::MaybeUninit, pvtvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetProperty, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, property: core::mem::MaybeUninit, pvtvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebBrowserApp_Impl::GetProperty(this, core::mem::transmute(&property)) { @@ -22331,7 +22331,7 @@ impl IWebBrowserApp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Name, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebBrowserApp_Impl::Name(this) { @@ -22353,7 +22353,7 @@ impl IWebBrowserApp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FullName, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fullname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FullName, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fullname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebBrowserApp_Impl::FullName(this) { @@ -22364,7 +22364,7 @@ impl IWebBrowserApp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Path, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Path, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, path: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebBrowserApp_Impl::Path(this) { @@ -22407,7 +22407,7 @@ impl IWebBrowserApp_Vtbl { let this = (*this).get_impl(); IWebBrowserApp_Impl::SetStatusBar(this, core::mem::transmute_copy(&value)).into() } - unsafe extern "system" fn StatusText, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, statustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn StatusText, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, statustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebBrowserApp_Impl::StatusText(this) { @@ -22418,7 +22418,7 @@ impl IWebBrowserApp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetStatusText, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, statustext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetStatusText, Impl: IWebBrowserApp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, statustext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebBrowserApp_Impl::SetStatusText(this, core::mem::transmute(&statustext)).into() @@ -22561,12 +22561,12 @@ impl IWebWizardHost_Vtbl { let this = (*this).get_impl(); IWebWizardHost_Impl::Cancel(this).into() } - unsafe extern "system" fn SetCaption, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaption: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCaption, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrcaption: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebWizardHost_Impl::SetCaption(this, core::mem::transmute(&bstrcaption)).into() } - unsafe extern "system" fn Caption, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcaption: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Caption, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcaption: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebWizardHost_Impl::Caption(this) { @@ -22577,12 +22577,12 @@ impl IWebWizardHost_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn put_Property, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit, pvproperty: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn put_Property, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit, pvproperty: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebWizardHost_Impl::put_Property(this, core::mem::transmute(&bstrpropertyname), core::mem::transmute_copy(&pvproperty)).into() } - unsafe extern "system" fn get_Property, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit, pvproperty: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn get_Property, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit, pvproperty: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebWizardHost_Impl::get_Property(this, core::mem::transmute(&bstrpropertyname)) { @@ -22598,7 +22598,7 @@ impl IWebWizardHost_Vtbl { let this = (*this).get_impl(); IWebWizardHost_Impl::SetWizardButtons(this, core::mem::transmute_copy(&vfenableback), core::mem::transmute_copy(&vfenablenext), core::mem::transmute_copy(&vflastpage)).into() } - unsafe extern "system" fn SetHeaderText, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrheadertitle: std::mem::MaybeUninit, bstrheadersubtitle: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetHeaderText, Impl: IWebWizardHost_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrheadertitle: core::mem::MaybeUninit, bstrheadersubtitle: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IWebWizardHost_Impl::SetHeaderText(this, core::mem::transmute(&bstrheadertitle), core::mem::transmute(&bstrheadersubtitle)).into() @@ -22629,7 +22629,7 @@ impl windows_core::RuntimeName for IWebWizardHost2 {} #[cfg(feature = "Win32_System_Com")] impl IWebWizardHost2_Vtbl { pub const fn new, Impl: IWebWizardHost2_Impl, const OFFSET: isize>() -> IWebWizardHost2_Vtbl { - unsafe extern "system" fn SignString, Impl: IWebWizardHost2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: std::mem::MaybeUninit, signedvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SignString, Impl: IWebWizardHost2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, value: core::mem::MaybeUninit, signedvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebWizardHost2_Impl::SignString(this, core::mem::transmute(&value)) { 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 06760f2643..4253b1b289 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -27,7 +27,7 @@ pub unsafe fn AssocGetDetailsOfPropKey(psf: P0, pidl: *const Common::ITEMIDL where P0: windows_core::Param, { - windows_targets::link!("shell32.dll" "system" fn AssocGetDetailsOfPropKey(psf : * mut core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, pkey : *const PropertiesSystem:: PROPERTYKEY, pv : *mut std::mem::MaybeUninit < windows_core::VARIANT >, pffoundpropkey : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); + windows_targets::link!("shell32.dll" "system" fn AssocGetDetailsOfPropKey(psf : * mut core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, pkey : *const PropertiesSystem:: PROPERTYKEY, pv : *mut core::mem::MaybeUninit < windows_core::VARIANT >, pffoundpropkey : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); AssocGetDetailsOfPropKey(psf.param().abi(), pidl, pkey, core::mem::transmute(pv), core::mem::transmute(pffoundpropkey.unwrap_or(std::ptr::null_mut()))).ok() } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -55,7 +55,7 @@ where P1: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn AssocQueryKeyA(flags : ASSOCF, key : ASSOCKEY, pszassoc : windows_core::PCSTR, pszextra : windows_core::PCSTR, phkeyout : *mut super::super::System::Registry:: HKEY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AssocQueryKeyA(flags, key, pszassoc.param().abi(), pszextra.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Registry")] @@ -66,7 +66,7 @@ where P1: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn AssocQueryKeyW(flags : ASSOCF, key : ASSOCKEY, pszassoc : windows_core::PCWSTR, pszextra : windows_core::PCWSTR, phkeyout : *mut super::super::System::Registry:: HKEY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); AssocQueryKeyW(flags, key, pszassoc.param().abi(), pszextra.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -115,14 +115,14 @@ where P1: windows_core::Param, { windows_targets::link!("shell32.dll" "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 : LPFNDFMCALLBACK, nkeys : u32, ahkeys : *const super::super::System::Registry:: HKEY, ppcm : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CDefFolderMenu_Create2(core::mem::transmute(pidlfolder.unwrap_or(std::ptr::null())), hwnd.param().abi(), apidl.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(apidl.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), psf.param().abi(), pfn, ahkeys.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(ahkeys.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn CIDLData_CreateFromIDArray(pidlfolder: *const Common::ITEMIDLIST, apidl: Option<&[*const Common::ITEMIDLIST]>) -> windows_core::Result { windows_targets::link!("shell32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CIDLData_CreateFromIDArray(pidlfolder, apidl.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(apidl.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -449,7 +449,7 @@ pub unsafe fn GetAllUsersProfileDirectoryW(lpprofiledir: windows_core::PWSTR, lp #[inline] pub unsafe fn GetCurrentProcessExplicitAppUserModelID() -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn GetCurrentProcessExplicitAppUserModelID(appid : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetCurrentProcessExplicitAppUserModelID(&mut result__).map(|| result__) } #[inline] @@ -525,7 +525,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-shcore-scaling-l1-1-1.dll" "system" fn GetScaleFactorForMonitor(hmon : super::super::Graphics::Gdi:: HMONITOR, pscale : *mut Common:: DEVICE_SCALE_FACTOR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); GetScaleFactorForMonitor(hmon.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -726,7 +726,7 @@ where #[inline] pub unsafe fn HlinkGetSpecialReference(ureference: u32) -> windows_core::Result { windows_targets::link!("hlink.dll" "system" fn HlinkGetSpecialReference(ureference : u32, ppwzreference : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HlinkGetSpecialReference(ureference, &mut result__).map(|| result__) } #[inline] @@ -736,7 +736,7 @@ where P1: windows_core::Param, { windows_targets::link!("hlink.dll" "system" fn HlinkGetValueFromParams(pwzparams : windows_core::PCWSTR, pwzname : windows_core::PCWSTR, ppwzvalue : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HlinkGetValueFromParams(pwzparams.param().abi(), pwzname.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -818,7 +818,7 @@ where P1: windows_core::Param, { windows_targets::link!("hlink.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HlinkPreprocessMoniker(pibc.param().abi(), pimkin.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -895,7 +895,7 @@ where P0: windows_core::Param, { windows_targets::link!("hlink.dll" "system" fn HlinkTranslateURL(pwzurl : windows_core::PCWSTR, grfflags : u32, ppwztranslatedurl : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); HlinkTranslateURL(pwzurl.param().abi(), grfflags, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1008,7 +1008,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "system" fn ILLoadFromStreamEx(pstm : * mut core::ffi::c_void, pidl : *mut *mut Common:: ITEMIDLIST) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); ILLoadFromStreamEx(pstm.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -1052,7 +1052,7 @@ where P0: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn IStream_ReadPidl(pstm : * mut core::ffi::c_void, ppidlout : *mut *mut Common:: ITEMIDLIST) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IStream_ReadPidl(pstm.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1062,7 +1062,7 @@ where P0: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn IStream_ReadStr(pstm : * mut core::ffi::c_void, ppsz : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IStream_ReadStr(pstm.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1081,7 +1081,7 @@ where P0: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn IStream_Size(pstm : * mut core::ffi::c_void, pui : *mut u64) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IStream_Size(pstm.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1133,7 +1133,7 @@ where P0: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn IUnknown_GetWindow(punk : * mut core::ffi::c_void, phwnd : *mut super::super::Foundation:: HWND) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IUnknown_GetWindow(punk.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -1179,14 +1179,14 @@ pub unsafe fn InitNetworkAddressControl() -> super::super::Foundation::BOOL { #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn InitPropVariantFromStrRet(pstrret: *mut Common::STRRET, pidl: Option<*const Common::ITEMIDLIST>, ppropvar: *mut windows_core::PROPVARIANT) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromStrRet(pstrret : *mut Common:: STRRET, pidl : *const Common:: ITEMIDLIST, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn InitPropVariantFromStrRet(pstrret : *mut Common:: STRRET, pidl : *const Common:: ITEMIDLIST, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); InitPropVariantFromStrRet(pstrret, core::mem::transmute(pidl.unwrap_or(std::ptr::null())), core::mem::transmute(ppropvar)).ok() } #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn InitVariantFromStrRet(pstrret: *const Common::STRRET, pidl: *const Common::ITEMIDLIST) -> windows_core::Result { - windows_targets::link!("propsys.dll" "system" fn InitVariantFromStrRet(pstrret : *const Common:: STRRET, pidl : *const Common:: ITEMIDLIST, pvar : *mut std::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("propsys.dll" "system" fn InitVariantFromStrRet(pstrret : *const Common:: STRRET, pidl : *const Common:: ITEMIDLIST, pvar : *mut core::mem::MaybeUninit < windows_core::VARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); InitVariantFromStrRet(pstrret, pidl, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1341,7 +1341,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-core-path-l1-1-0.dll" "system" fn PathAllocCanonicalize(pszpathin : windows_core::PCWSTR, dwflags : PATHCCH_OPTIONS, ppszpathout : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PathAllocCanonicalize(pszpathin.param().abi(), dwflags, &mut result__).map(|| result__) } #[inline] @@ -1351,7 +1351,7 @@ where P1: windows_core::Param, { windows_targets::link!("api-ms-win-core-path-l1-1-0.dll" "system" fn PathAllocCombine(pszpathin : windows_core::PCWSTR, pszmore : windows_core::PCWSTR, dwflags : PATHCCH_OPTIONS, ppszpathout : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PathAllocCombine(pszpathin.param().abi(), pszmore.param().abi(), dwflags, &mut result__).map(|| result__) } #[inline] @@ -1470,7 +1470,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-core-path-l1-1-0.dll" "system" fn PathCchFindExtension(pszpath : windows_core::PCWSTR, cchpath : usize, ppszext : *mut windows_core::PCWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PathCchFindExtension(pszpath.param().abi(), cchpath, &mut result__).map(|| result__) } #[inline] @@ -1515,7 +1515,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-core-path-l1-1-0.dll" "system" fn PathCchSkipRoot(pszpath : windows_core::PCWSTR, ppszrootend : *mut windows_core::PCWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); PathCchSkipRoot(pszpath.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -2374,7 +2374,7 @@ where #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn PropVariantToStrRet(propvar: *const windows_core::PROPVARIANT, pstrret: *mut Common::STRRET) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn PropVariantToStrRet(propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >, pstrret : *mut Common:: STRRET) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn PropVariantToStrRet(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, pstrret : *mut Common:: STRRET) -> windows_core::HRESULT); PropVariantToStrRet(core::mem::transmute(propvar), pstrret).ok() } #[inline] @@ -2415,7 +2415,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-shcore-scaling-l1-1-1.dll" "system" fn RegisterScaleChangeEvent(hevent : super::super::Foundation:: HANDLE, pdwcookie : *mut usize) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RegisterScaleChangeEvent(hevent.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -2424,7 +2424,7 @@ where P0: windows_core::Param, { windows_targets::link!("api-ms-win-shcore-scaling-l1-1-0.dll" "system" fn RegisterScaleChangeNotifications(displaydevice : DISPLAY_DEVICE_TYPE, hwndnotify : super::super::Foundation:: HWND, umsgnotify : u32, pdwcookie : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); RegisterScaleChangeNotifications(displaydevice, hwndnotify.param().abi(), umsgnotify, &mut result__).map(|| result__) } #[inline] @@ -2510,7 +2510,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "system" fn SHAssocEnumHandlers(pszextra : windows_core::PCWSTR, affilter : ASSOC_FILTER, ppenumhandler : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHAssocEnumHandlers(pszextra.param().abi(), affilter, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2594,7 +2594,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "system" fn SHCLSIDFromString(psz : windows_core::PCWSTR, pclsid : *mut windows_core::GUID) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCLSIDFromString(psz.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2726,7 +2726,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "system" fn SHCreateDefaultPropertiesOp(psi : * mut core::ffi::c_void, ppfileop : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateDefaultPropertiesOp(psi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2850,21 +2850,21 @@ where #[inline] pub unsafe fn SHCreateQueryCancelAutoPlayMoniker() -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn SHCreateQueryCancelAutoPlayMoniker(ppmoniker : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateQueryCancelAutoPlayMoniker(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] #[inline] pub unsafe fn SHCreateShellFolderView(pcsfv: *const SFV_CREATE) -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn SHCreateShellFolderView(pcsfv : *const SFV_CREATE, ppsv : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateShellFolderView(pcsfv, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] #[inline] pub unsafe fn SHCreateShellFolderViewEx(pcsfv: *const CSFV) -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn SHCreateShellFolderViewEx(pcsfv : *const CSFV, ppsv : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateShellFolderViewEx(pcsfv, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2874,7 +2874,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateShellItem(core::mem::transmute(pidlparent.unwrap_or(std::ptr::null())), psfparent.param().abi(), pidl, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2884,7 +2884,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateShellItemArray(core::mem::transmute(pidlparent.unwrap_or(std::ptr::null())), psf.param().abi(), ppidl.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(ppidl.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2902,7 +2902,7 @@ where #[inline] pub unsafe fn SHCreateShellItemArrayFromIDLists(rgpidl: &[*const Common::ITEMIDLIST]) -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn SHCreateShellItemArrayFromIDLists(cidl : u32, rgpidl : *const *const Common:: ITEMIDLIST, ppsiitemarray : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateShellItemArrayFromIDLists(rgpidl.len().try_into().unwrap(), core::mem::transmute(rgpidl.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2928,7 +2928,7 @@ where #[inline] pub unsafe fn SHCreateStdEnumFmtEtc(afmt: &[super::super::System::Com::FORMATETC]) -> windows_core::Result { windows_targets::link!("shell32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateStdEnumFmtEtc(afmt.len().try_into().unwrap(), core::mem::transmute(afmt.as_ptr()), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2938,7 +2938,7 @@ where P0: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn SHCreateStreamOnFileA(pszfile : windows_core::PCSTR, grfmode : u32, ppstm : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateStreamOnFileA(pszfile.param().abi(), grfmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2950,7 +2950,7 @@ where P2: windows_core::Param, { windows_targets::link!("shlwapi.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateStreamOnFileEx(pszfile.param().abi(), grfmode, dwattributes, fcreate.param().abi(), pstmtemplate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2960,7 +2960,7 @@ where P0: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn SHCreateStreamOnFileW(pszfile : windows_core::PCWSTR, grfmode : u32, ppstm : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHCreateStreamOnFileW(pszfile.param().abi(), grfmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Threading")] @@ -3077,7 +3077,7 @@ where P2: windows_core::Param, { windows_targets::link!("shell32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHDoDragDrop(hwnd.param().abi(), pdata.param().abi(), pdsrc.param().abi(), dweffect, &mut result__).map(|| result__) } #[inline] @@ -3251,7 +3251,7 @@ where #[inline] pub unsafe fn SHGetDesktopFolder() -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn SHGetDesktopFolder(ppshf : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetDesktopFolder(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -3276,7 +3276,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "system" fn SHGetDriveMedia(pszdrive : windows_core::PCWSTR, pdwmediacontent : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetDriveMedia(pszdrive.param().abi(), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_Storage_FileSystem", feature = "Win32_UI_WindowsAndMessaging"))] @@ -3305,7 +3305,7 @@ where P1: windows_core::Param, { windows_targets::link!("shell32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetFolderLocation(hwnd.param().abi(), csidl, htoken.param().abi(), dwflags, &mut result__).map(|| result__) } #[inline] @@ -3353,7 +3353,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "system" fn SHGetIDListFromObject(punk : * mut core::ffi::c_void, ppidl : *mut *mut Common:: ITEMIDLIST) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetIDListFromObject(punk.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -3384,7 +3384,7 @@ where #[inline] pub unsafe fn SHGetInstanceExplorer() -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn SHGetInstanceExplorer(ppunk : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetInstanceExplorer(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -3420,7 +3420,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetKnownFolderIDList(rfid, dwflags, htoken.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -3439,7 +3439,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetKnownFolderPath(rfid, dwflags.0 as _, htoken.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -3454,14 +3454,14 @@ where #[inline] pub unsafe fn SHGetMalloc() -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn SHGetMalloc(ppmalloc : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetMalloc(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn SHGetNameFromIDList(pidl: *const Common::ITEMIDLIST, sigdnname: SIGDN) -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn SHGetNameFromIDList(pidl : *const Common:: ITEMIDLIST, sigdnname : SIGDN, ppszname : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetNameFromIDList(pidl, sigdnname, &mut result__).map(|| result__) } #[inline] @@ -3507,7 +3507,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "system" fn SHGetRealIDL(psf : * mut core::ffi::c_void, pidlsimple : *const Common:: ITEMIDLIST, ppidlreal : *mut *mut Common:: ITEMIDLIST) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetRealIDL(psf.param().abi(), pidlsimple, &mut result__).map(|| result__) } #[inline] @@ -3538,7 +3538,7 @@ where P0: windows_core::Param, { windows_targets::link!("shell32.dll" "system" fn SHGetSpecialFolderLocation(hwnd : super::super::Foundation:: HWND, csidl : i32, ppidl : *mut *mut Common:: ITEMIDLIST) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetSpecialFolderLocation(hwnd.param().abi(), csidl, &mut result__).map(|| result__) } #[inline] @@ -3571,14 +3571,14 @@ pub unsafe fn SHGetTemporaryPropertyForItem(psi: P0, propkey: *const Propert where P0: windows_core::Param, { - windows_targets::link!("shell32.dll" "system" fn SHGetTemporaryPropertyForItem(psi : * mut core::ffi::c_void, propkey : *const PropertiesSystem:: PROPERTYKEY, ppropvar : *mut std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + windows_targets::link!("shell32.dll" "system" fn SHGetTemporaryPropertyForItem(psi : * mut core::ffi::c_void, propkey : *const PropertiesSystem:: PROPERTYKEY, ppropvar : *mut core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + let mut result__ = core::mem::zeroed(); SHGetTemporaryPropertyForItem(psi.param().abi(), propkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn SHGetThreadRef() -> windows_core::Result { windows_targets::link!("shlwapi.dll" "system" fn SHGetThreadRef(ppunk : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHGetThreadRef(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Registry")] @@ -3911,7 +3911,7 @@ where #[inline] pub unsafe fn SHQueryUserNotificationState() -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn SHQueryUserNotificationState(pquns : *mut QUERY_USER_NOTIFICATION_STATE) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHQueryUserNotificationState(&mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Registry")] @@ -4339,7 +4339,7 @@ pub unsafe fn SHSetTemporaryPropertyForItem(psi: P0, propkey: *const Propert where P0: windows_core::Param, { - windows_targets::link!("shell32.dll" "system" fn SHSetTemporaryPropertyForItem(psi : * mut core::ffi::c_void, propkey : *const PropertiesSystem:: PROPERTYKEY, propvar : *const std::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); + windows_targets::link!("shell32.dll" "system" fn SHSetTemporaryPropertyForItem(psi : * mut core::ffi::c_void, propkey : *const PropertiesSystem:: PROPERTYKEY, propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >) -> windows_core::HRESULT); SHSetTemporaryPropertyForItem(psi.param().abi(), propkey, core::mem::transmute(propvar)).ok() } #[inline] @@ -4434,7 +4434,7 @@ where P0: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn SHStrDupA(psz : windows_core::PCSTR, ppwsz : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHStrDupA(psz.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -4443,7 +4443,7 @@ where P0: windows_core::Param, { windows_targets::link!("shlwapi.dll" "system" fn SHStrDupW(psz : windows_core::PCWSTR, ppwsz : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); SHStrDupW(psz.param().abi(), &mut result__).map(|| result__) } #[inline] @@ -4677,7 +4677,7 @@ pub unsafe fn Shell_NotifyIconA(dwmessage: NOTIFY_ICON_MESSAGE, lpdata: *const N #[inline] pub unsafe fn Shell_NotifyIconGetRect(identifier: *const NOTIFYICONIDENTIFIER) -> windows_core::Result { windows_targets::link!("shell32.dll" "system" fn Shell_NotifyIconGetRect(identifier : *const NOTIFYICONIDENTIFIER, iconlocation : *mut super::super::Foundation:: RECT) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); Shell_NotifyIconGetRect(identifier, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -5150,7 +5150,7 @@ where #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn StrRetToBSTR(pstr: *mut Common::STRRET, pidl: Option<*const Common::ITEMIDLIST>, pbstr: *mut windows_core::BSTR) -> windows_core::Result<()> { - windows_targets::link!("shlwapi.dll" "system" fn StrRetToBSTR(pstr : *mut Common:: STRRET, pidl : *const Common:: ITEMIDLIST, pbstr : *mut std::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); + windows_targets::link!("shlwapi.dll" "system" fn StrRetToBSTR(pstr : *mut Common:: STRRET, pidl : *const Common:: ITEMIDLIST, pbstr : *mut core::mem::MaybeUninit < windows_core::BSTR >) -> windows_core::HRESULT); StrRetToBSTR(pstr, core::mem::transmute(pidl.unwrap_or(std::ptr::null())), core::mem::transmute(pbstr)).ok() } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -5562,7 +5562,7 @@ pub unsafe fn UrlUnescapeW(pszurl: windows_core::PWSTR, pszunescaped: windows_co #[cfg(feature = "Win32_UI_Shell_Common")] #[inline] pub unsafe fn VariantToStrRet(varin: *const windows_core::VARIANT, pstrret: *mut Common::STRRET) -> windows_core::Result<()> { - windows_targets::link!("propsys.dll" "system" fn VariantToStrRet(varin : *const std::mem::MaybeUninit < windows_core::VARIANT >, pstrret : *mut Common:: STRRET) -> windows_core::HRESULT); + windows_targets::link!("propsys.dll" "system" fn VariantToStrRet(varin : *const core::mem::MaybeUninit < windows_core::VARIANT >, pstrret : *mut Common:: STRRET) -> windows_core::HRESULT); VariantToStrRet(core::mem::transmute(varin), pstrret).ok() } #[inline] @@ -5639,7 +5639,7 @@ windows_core::imp::define_interface!(CIE4ConnectionPoint, CIE4ConnectionPoint_Vt impl std::ops::Deref for CIE4ConnectionPoint { type Target = super::super::System::Com::IConnectionPoint; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5677,7 +5677,7 @@ windows_core::imp::define_interface!(DFConstraint, DFConstraint_Vtbl, 0x4a3df050 impl std::ops::Deref for DFConstraint { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5685,11 +5685,11 @@ windows_core::imp::interface_hierarchy!(DFConstraint, windows_core::IUnknown, su #[cfg(feature = "Win32_System_Com")] impl DFConstraint { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Value(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Value)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5697,8 +5697,8 @@ impl DFConstraint { #[repr(C)] pub struct DFConstraint_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DShellFolderViewEvents, DShellFolderViewEvents_Vtbl, 0x62112aa2_ebe4_11cf_a5fb_0020afe7292d); @@ -5706,7 +5706,7 @@ windows_core::imp::define_interface!(DShellFolderViewEvents, DShellFolderViewEve impl std::ops::Deref for DShellFolderViewEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5724,7 +5724,7 @@ windows_core::imp::define_interface!(DShellNameSpaceEvents, DShellNameSpaceEvent impl std::ops::Deref for DShellNameSpaceEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5742,7 +5742,7 @@ windows_core::imp::define_interface!(DShellWindowsEvents, DShellWindowsEvents_Vt impl std::ops::Deref for DShellWindowsEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5760,7 +5760,7 @@ windows_core::imp::define_interface!(DWebBrowserEvents, DWebBrowserEvents_Vtbl, impl std::ops::Deref for DWebBrowserEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5778,7 +5778,7 @@ windows_core::imp::define_interface!(DWebBrowserEvents2, DWebBrowserEvents2_Vtbl impl std::ops::Deref for DWebBrowserEvents2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5796,7 +5796,7 @@ windows_core::imp::define_interface!(Folder, Folder_Vtbl, 0xbbcbde60_c3ff_11ce_8 impl std::ops::Deref for Folder { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5804,27 +5804,27 @@ windows_core::imp::interface_hierarchy!(Folder, windows_core::IUnknown, super::s #[cfg(feature = "Win32_System_Com")] impl Folder { pub unsafe fn Title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Title)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ParentFolder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParentFolder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Items(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Items)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5832,7 +5832,7 @@ impl Folder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ParseName)(windows_core::Interface::as_raw(self), bname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NewFolder(&self, bname: P0, voptions: P1) -> windows_core::Result<()> @@ -5860,7 +5860,7 @@ impl Folder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDetailsOf)(windows_core::Interface::as_raw(self), vitem.param().abi(), icolumn, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5868,7 +5868,7 @@ impl Folder { #[repr(C)] pub struct Folder_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Application: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -5886,13 +5886,13 @@ pub struct Folder_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Items: usize, #[cfg(feature = "Win32_System_Com")] - pub ParseName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub ParseName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ParseName: usize, - pub NewFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub MoveHere: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CopyHere: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDetailsOf: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NewFolder: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub MoveHere: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CopyHere: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDetailsOf: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Folder2, Folder2_Vtbl, 0xf0d2d8ef_3890_11d2_bf8b_00c04fb93661); @@ -5900,7 +5900,7 @@ windows_core::imp::define_interface!(Folder2, Folder2_Vtbl, 0xf0d2d8ef_3890_11d2 impl std::ops::Deref for Folder2 { type Target = Folder; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5909,18 +5909,18 @@ windows_core::imp::interface_hierarchy!(Folder2, windows_core::IUnknown, super:: impl Folder2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Self_(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Self_)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OfflineStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OfflineStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HaveToShowWebViewBarricade)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DismissedWebViewBarricade(&self) -> windows_core::Result<()> { @@ -5946,7 +5946,7 @@ windows_core::imp::define_interface!(Folder3, Folder3_Vtbl, 0xa7ae5f64_c4d7_4d7f impl std::ops::Deref for Folder3 { type Target = Folder2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5954,7 +5954,7 @@ windows_core::imp::interface_hierarchy!(Folder3, windows_core::IUnknown, super:: #[cfg(feature = "Win32_System_Com")] impl Folder3 { pub unsafe fn ShowWebViewBarricade(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowWebViewBarricade)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowWebViewBarricade(&self, bshowwebviewbarricade: P0) -> windows_core::Result<()> @@ -5977,7 +5977,7 @@ windows_core::imp::define_interface!(FolderItem, FolderItem_Vtbl, 0xfac32c80_cbe impl std::ops::Deref for FolderItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5986,16 +5986,16 @@ windows_core::imp::interface_hierarchy!(FolderItem, windows_core::IUnknown, supe impl FolderItem { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetName(&self, bs: P0) -> windows_core::Result<()> @@ -6005,53 +6005,53 @@ impl FolderItem { (windows_core::Interface::vtable(self).SetName)(windows_core::Interface::as_raw(self), bs.param().abi()).ok() } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetLink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFolder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsLink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLink)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsFolder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFolder)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsFileSystem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFileSystem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsBrowsable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsBrowsable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ModifyDate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ModifyDate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Size)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Verbs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Verbs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InvokeVerb(&self, vverb: P0) -> windows_core::Result<()> @@ -6073,9 +6073,9 @@ pub struct FolderItem_Vtbl { pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Parent: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6091,12 +6091,12 @@ pub struct FolderItem_Vtbl { pub ModifyDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetModifyDate: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Verbs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Verbs: usize, - pub InvokeVerb: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InvokeVerb: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItem2, FolderItem2_Vtbl, 0xedc817aa_92b8_11d1_b075_00c04fc33aa5); @@ -6104,7 +6104,7 @@ windows_core::imp::define_interface!(FolderItem2, FolderItem2_Vtbl, 0xedc817aa_9 impl std::ops::Deref for FolderItem2 { type Target = FolderItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6122,7 +6122,7 @@ impl FolderItem2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedProperty)(windows_core::Interface::as_raw(self), bstrpropname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6130,8 +6130,8 @@ impl FolderItem2 { #[repr(C)] pub struct FolderItem2_Vtbl { pub base__: FolderItem_Vtbl, - pub InvokeVerbEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ExtendedProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InvokeVerbEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExtendedProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItemVerb, FolderItemVerb_Vtbl, 0x08ec3e00_50b0_11cf_960c_0080c7f4ee85); @@ -6139,7 +6139,7 @@ windows_core::imp::define_interface!(FolderItemVerb, FolderItemVerb_Vtbl, 0x08ec impl std::ops::Deref for FolderItemVerb { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6148,16 +6148,16 @@ windows_core::imp::interface_hierarchy!(FolderItemVerb, windows_core::IUnknown, impl FolderItemVerb { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DoIt(&self) -> windows_core::Result<()> { @@ -6176,7 +6176,7 @@ pub struct FolderItemVerb_Vtbl { pub Parent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Parent: usize, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub DoIt: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -6185,7 +6185,7 @@ windows_core::imp::define_interface!(FolderItemVerbs, FolderItemVerbs_Vtbl, 0x1f impl std::ops::Deref for FolderItemVerbs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6193,17 +6193,17 @@ windows_core::imp::interface_hierarchy!(FolderItemVerbs, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl FolderItemVerbs { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6211,11 +6211,11 @@ impl FolderItemVerbs { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6233,7 +6233,7 @@ pub struct FolderItemVerbs_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Parent: usize, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6244,7 +6244,7 @@ windows_core::imp::define_interface!(FolderItems, FolderItems_Vtbl, 0x744129e0_c impl std::ops::Deref for FolderItems { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6252,17 +6252,17 @@ windows_core::imp::interface_hierarchy!(FolderItems, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl FolderItems { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -6270,11 +6270,11 @@ impl FolderItems { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6292,7 +6292,7 @@ pub struct FolderItems_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Parent: usize, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -6303,7 +6303,7 @@ windows_core::imp::define_interface!(FolderItems2, FolderItems2_Vtbl, 0xc94f0ad0 impl std::ops::Deref for FolderItems2 { type Target = FolderItems; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6322,7 +6322,7 @@ impl FolderItems2 { #[repr(C)] pub struct FolderItems2_Vtbl { pub base__: FolderItems_Vtbl, - pub InvokeVerbEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InvokeVerbEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItems3, FolderItems3_Vtbl, 0xeaa7c309_bbec_49d5_821d_64d966cb667f); @@ -6330,7 +6330,7 @@ windows_core::imp::define_interface!(FolderItems3, FolderItems3_Vtbl, 0xeaa7c309 impl std::ops::Deref for FolderItems3 { type Target = FolderItems2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6345,7 +6345,7 @@ impl FolderItems3 { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Verbs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Verbs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6353,7 +6353,7 @@ impl FolderItems3 { #[repr(C)] pub struct FolderItems3_Vtbl { pub base__: FolderItems2_Vtbl, - pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Verbs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -6363,7 +6363,7 @@ windows_core::imp::define_interface!(IACList, IACList_Vtbl, 0x77a130b0_94fd_11d0 impl std::ops::Deref for IACList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IACList, windows_core::IUnknown); @@ -6384,7 +6384,7 @@ windows_core::imp::define_interface!(IACList2, IACList2_Vtbl, 0x470141a0_5186_11 impl std::ops::Deref for IACList2 { type Target = IACList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IACList2, windows_core::IUnknown, IACList); @@ -6393,7 +6393,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6407,7 +6407,7 @@ windows_core::imp::define_interface!(IAccessibilityDockingService, IAccessibilit impl std::ops::Deref for IAccessibilityDockingService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccessibilityDockingService, windows_core::IUnknown); @@ -6452,7 +6452,7 @@ windows_core::imp::define_interface!(IAccessibilityDockingServiceCallback, IAcce impl std::ops::Deref for IAccessibilityDockingServiceCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccessibilityDockingServiceCallback, windows_core::IUnknown); @@ -6470,7 +6470,7 @@ windows_core::imp::define_interface!(IAccessibleObject, IAccessibleObject_Vtbl, impl std::ops::Deref for IAccessibleObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccessibleObject, windows_core::IUnknown); @@ -6491,7 +6491,7 @@ windows_core::imp::define_interface!(IActionProgress, IActionProgress_Vtbl, 0x49 impl std::ops::Deref for IActionProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActionProgress, windows_core::IUnknown); @@ -6510,7 +6510,7 @@ impl IActionProgress { (windows_core::Interface::vtable(self).UpdateText)(windows_core::Interface::as_raw(self), sptext, psztext.param().abi(), fmaycompact.param().abi()).ok() } pub unsafe fn QueryCancel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryCancel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ResetCancel(&self) -> windows_core::Result<()> { @@ -6534,7 +6534,7 @@ windows_core::imp::define_interface!(IActionProgressDialog, IActionProgressDialo impl std::ops::Deref for IActionProgressDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActionProgressDialog, windows_core::IUnknown); @@ -6560,30 +6560,30 @@ windows_core::imp::define_interface!(IAppActivationUIInfo, IAppActivationUIInfo_ impl std::ops::Deref for IAppActivationUIInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppActivationUIInfo, windows_core::IUnknown); impl IAppActivationUIInfo { #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetMonitor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMonitor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInvokePoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInvokePoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetShowCommand(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShowCommand)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetShowUI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShowUI)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetKeyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -6603,25 +6603,25 @@ windows_core::imp::define_interface!(IAppPublisher, IAppPublisher_Vtbl, 0x07250a impl std::ops::Deref for IAppPublisher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppPublisher, windows_core::IUnknown); impl IAppPublisher { pub unsafe fn GetNumberOfCategories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfCategories)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCategories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategories)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberOfApps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOfApps)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumApps(&self, pappcategoryid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumApps)(windows_core::Interface::as_raw(self), pappcategoryid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6637,7 +6637,7 @@ windows_core::imp::define_interface!(IAppVisibility, IAppVisibility_Vtbl, 0x2246 impl std::ops::Deref for IAppVisibility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppVisibility, windows_core::IUnknown); @@ -6647,18 +6647,18 @@ impl IAppVisibility { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAppVisibilityOnMonitor)(windows_core::Interface::as_raw(self), hmonitor.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IsLauncherVisible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsLauncherVisible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Advise(&self, pcallback: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), pcallback.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -6680,7 +6680,7 @@ windows_core::imp::define_interface!(IAppVisibilityEvents, IAppVisibilityEvents_ impl std::ops::Deref for IAppVisibilityEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAppVisibilityEvents, windows_core::IUnknown); @@ -6712,7 +6712,7 @@ windows_core::imp::define_interface!(IApplicationActivationManager, IApplication impl std::ops::Deref for IApplicationActivationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationActivationManager, windows_core::IUnknown); @@ -6722,7 +6722,7 @@ impl IApplicationActivationManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateApplication)(windows_core::Interface::as_raw(self), appusermodelid.param().abi(), arguments.param().abi(), options, &mut result__).map(|| result__) } pub unsafe fn ActivateForFile(&self, appusermodelid: P0, itemarray: P1, verb: P2) -> windows_core::Result @@ -6731,7 +6731,7 @@ impl IApplicationActivationManager { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateForFile)(windows_core::Interface::as_raw(self), appusermodelid.param().abi(), itemarray.param().abi(), verb.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ActivateForProtocol(&self, appusermodelid: P0, itemarray: P1) -> windows_core::Result @@ -6739,7 +6739,7 @@ impl IApplicationActivationManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ActivateForProtocol)(windows_core::Interface::as_raw(self), appusermodelid.param().abi(), itemarray.param().abi(), &mut result__).map(|| result__) } } @@ -6754,7 +6754,7 @@ windows_core::imp::define_interface!(IApplicationAssociationRegistration, IAppli impl std::ops::Deref for IApplicationAssociationRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationAssociationRegistration, windows_core::IUnknown); @@ -6763,7 +6763,7 @@ impl IApplicationAssociationRegistration { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryCurrentDefault)(windows_core::Interface::as_raw(self), pszquery.param().abi(), atquerytype, alquerylevel, &mut result__).map(|| result__) } pub unsafe fn QueryAppIsDefault(&self, pszquery: P0, atquerytype: ASSOCIATIONTYPE, alquerylevel: ASSOCIATIONLEVEL, pszappregistryname: P1) -> windows_core::Result @@ -6771,14 +6771,14 @@ impl IApplicationAssociationRegistration { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAppIsDefault)(windows_core::Interface::as_raw(self), pszquery.param().abi(), atquerytype, alquerylevel, pszappregistryname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn QueryAppIsDefaultAll(&self, alquerylevel: ASSOCIATIONLEVEL, pszappregistryname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAppIsDefaultAll)(windows_core::Interface::as_raw(self), alquerylevel, pszappregistryname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetAppAsDefault(&self, pszappregistryname: P0, pszset: P1, atsettype: ASSOCIATIONTYPE) -> windows_core::Result<()> @@ -6812,7 +6812,7 @@ windows_core::imp::define_interface!(IApplicationAssociationRegistrationUI, IApp impl std::ops::Deref for IApplicationAssociationRegistrationUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationAssociationRegistrationUI, windows_core::IUnknown); @@ -6833,7 +6833,7 @@ windows_core::imp::define_interface!(IApplicationDesignModeSettings, IApplicatio impl std::ops::Deref for IApplicationDesignModeSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationDesignModeSettings, windows_core::IUnknown); @@ -6849,12 +6849,12 @@ impl IApplicationDesignModeSettings { (windows_core::Interface::vtable(self).SetApplicationViewState)(windows_core::Interface::as_raw(self), viewstate).ok() } pub unsafe fn ComputeApplicationSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ComputeApplicationSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsApplicationViewStateSupported)(windows_core::Interface::as_raw(self), viewstate, core::mem::transmute(nativedisplaysizepixels), scalefactor, &mut result__).map(|| result__) } pub unsafe fn TriggerEdgeGesture(&self, edgegesturekind: EDGE_GESTURE_KIND) -> windows_core::Result<()> { @@ -6881,7 +6881,7 @@ windows_core::imp::define_interface!(IApplicationDesignModeSettings2, IApplicati impl std::ops::Deref for IApplicationDesignModeSettings2 { type Target = IApplicationDesignModeSettings; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationDesignModeSettings2, windows_core::IUnknown, IApplicationDesignModeSettings); @@ -6908,7 +6908,7 @@ impl IApplicationDesignModeSettings2 { (windows_core::Interface::vtable(self).GetApplicationSizeBounds)(windows_core::Interface::as_raw(self), minapplicationsizepixels, maxapplicationsizepixels).ok() } pub unsafe fn GetApplicationViewOrientation(&self, applicationsizepixels: super::super::Foundation::SIZE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplicationViewOrientation)(windows_core::Interface::as_raw(self), core::mem::transmute(applicationsizepixels), &mut result__).map(|| result__) } } @@ -6927,7 +6927,7 @@ windows_core::imp::define_interface!(IApplicationDestinations, IApplicationDesti impl std::ops::Deref for IApplicationDestinations { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationDestinations, windows_core::IUnknown); @@ -6959,7 +6959,7 @@ windows_core::imp::define_interface!(IApplicationDocumentLists, IApplicationDocu impl std::ops::Deref for IApplicationDocumentLists { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IApplicationDocumentLists, windows_core::IUnknown); @@ -6988,17 +6988,17 @@ windows_core::imp::define_interface!(IAssocHandler, IAssocHandler_Vtbl, 0xf04061 impl std::ops::Deref for IAssocHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAssocHandler, windows_core::IUnknown); impl IAssocHandler { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUIName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUIName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIconLocation(&self, ppszpath: *mut windows_core::PWSTR, pindex: *mut i32) -> windows_core::Result<()> { @@ -7025,7 +7025,7 @@ impl IAssocHandler { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateInvoker)(windows_core::Interface::as_raw(self), pdo.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7050,7 +7050,7 @@ windows_core::imp::define_interface!(IAssocHandlerInvoker, IAssocHandlerInvoker_ impl std::ops::Deref for IAssocHandlerInvoker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAssocHandlerInvoker, windows_core::IUnknown); @@ -7072,7 +7072,7 @@ windows_core::imp::define_interface!(IAttachmentExecute, IAttachmentExecute_Vtbl impl std::ops::Deref for IAttachmentExecute { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAttachmentExecute, windows_core::IUnknown); @@ -7117,7 +7117,7 @@ impl IAttachmentExecute { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Prompt)(windows_core::Interface::as_raw(self), hwnd.param().abi(), prompt, &mut result__).map(|| result__) } pub unsafe fn Save(&self) -> windows_core::Result<()> { @@ -7160,7 +7160,7 @@ windows_core::imp::define_interface!(IAutoComplete, IAutoComplete_Vtbl, 0x00bb27 impl std::ops::Deref for IAutoComplete { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAutoComplete, windows_core::IUnknown); @@ -7191,7 +7191,7 @@ windows_core::imp::define_interface!(IAutoComplete2, IAutoComplete2_Vtbl, 0xeac0 impl std::ops::Deref for IAutoComplete2 { type Target = IAutoComplete; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAutoComplete2, windows_core::IUnknown, IAutoComplete); @@ -7200,7 +7200,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7214,7 +7214,7 @@ windows_core::imp::define_interface!(IAutoCompleteDropDown, IAutoCompleteDropDow impl std::ops::Deref for IAutoCompleteDropDown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAutoCompleteDropDown, windows_core::IUnknown); @@ -7236,7 +7236,7 @@ windows_core::imp::define_interface!(IBandHost, IBandHost_Vtbl, 0xb9075c7c_d48e_ impl std::ops::Deref for IBandHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBandHost, windows_core::IUnknown); @@ -7271,7 +7271,7 @@ windows_core::imp::define_interface!(IBandSite, IBandSite_Vtbl, 0x4cf504b0_de96_ impl std::ops::Deref for IBandSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBandSite, windows_core::IUnknown); @@ -7283,7 +7283,7 @@ impl IBandSite { (windows_core::Interface::vtable(self).AddBand)(windows_core::Interface::as_raw(self), punk.param().abi()).ok() } pub unsafe fn EnumBands(&self, uband: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumBands)(windows_core::Interface::as_raw(self), uband, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] @@ -7329,7 +7329,7 @@ windows_core::imp::define_interface!(IBannerNotificationHandler, IBannerNotifica impl std::ops::Deref for IBannerNotificationHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBannerNotificationHandler, windows_core::IUnknown); @@ -7347,7 +7347,7 @@ windows_core::imp::define_interface!(IBanneredBar, IBanneredBar_Vtbl, 0x596a9a94 impl std::ops::Deref for IBanneredBar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBanneredBar, windows_core::IUnknown); @@ -7356,7 +7356,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIconSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -7368,7 +7368,7 @@ impl IBanneredBar { } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitmap)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -7390,13 +7390,13 @@ windows_core::imp::define_interface!(IBrowserFrameOptions, IBrowserFrameOptions_ impl std::ops::Deref for IBrowserFrameOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBrowserFrameOptions, windows_core::IUnknown); impl IBrowserFrameOptions { pub unsafe fn GetFrameOptions(&self, dwmask: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameOptions)(windows_core::Interface::as_raw(self), dwmask, &mut result__).map(|| result__) } } @@ -7409,14 +7409,14 @@ windows_core::imp::define_interface!(IBrowserService, IBrowserService_Vtbl, 0x02 impl std::ops::Deref for IBrowserService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBrowserService, windows_core::IUnknown); impl IBrowserService { #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetParentSite(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentSite)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] @@ -7436,11 +7436,11 @@ impl IBrowserService { } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetOleObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOleObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTravelLog(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTravelLog)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowControlWindow(&self, id: u32, fshow: P0) -> windows_core::Result<()> @@ -7450,7 +7450,7 @@ impl IBrowserService { (windows_core::Interface::vtable(self).ShowControlWindow)(windows_core::Interface::as_raw(self), id, fshow.param().abi()).ok() } pub unsafe fn IsControlWindowShown(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsControlWindowShown)(windows_core::Interface::as_raw(self), id, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -7462,7 +7462,7 @@ impl IBrowserService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IEParseDisplayName)(windows_core::Interface::as_raw(self), uicp, pwszpath.param().abi(), &mut result__).map(|| result__) } pub unsafe fn DisplayParseError(&self, hres: windows_core::HRESULT, pwszpath: P0) -> windows_core::Result<()> @@ -7479,7 +7479,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNavigateState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] @@ -7487,7 +7487,7 @@ impl IBrowserService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NotifyRedirect)(windows_core::Interface::as_raw(self), psv.param().abi(), pidl, &mut result__).map(|| result__) } pub unsafe fn UpdateWindowList(&self) -> windows_core::Result<()> { @@ -7500,7 +7500,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CanNavigateNow(&self) -> windows_core::Result<()> { @@ -7508,7 +7508,7 @@ impl IBrowserService { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetPidl(&self) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPidl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -7519,7 +7519,7 @@ impl IBrowserService { (windows_core::Interface::vtable(self).GetBrowserIndex)(windows_core::Interface::as_raw(self)) } pub unsafe fn GetBrowserByIndex(&self, dwid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBrowserByIndex)(windows_core::Interface::as_raw(self), dwid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -7542,7 +7542,7 @@ impl IBrowserService { (windows_core::Interface::vtable(self).CacheOLEServer)(windows_core::Interface::as_raw(self), pole.param().abi()).ok() } pub unsafe fn GetSetCodePage(&self, pvarin: *const windows_core::VARIANT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSetCodePage)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] @@ -7551,12 +7551,12 @@ impl IBrowserService { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnHttpEquiv)(windows_core::Interface::as_raw(self), psv.param().abi(), fdone.param().abi(), core::mem::transmute(pvarargin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetPalette(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPalette)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RegisterWindow(&self, fforceregister: P0, swc: ShellWindowTypeConstants) -> windows_core::Result<()> @@ -7634,9 +7634,9 @@ pub struct IBrowserService_Vtbl { pub CacheOLEServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] CacheOLEServer: usize, - pub GetSetCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSetCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] - pub OnHttpEquiv: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnHttpEquiv: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] OnHttpEquiv: usize, #[cfg(feature = "Win32_Graphics_Gdi")] @@ -7649,7 +7649,7 @@ windows_core::imp::define_interface!(IBrowserService2, IBrowserService2_Vtbl, 0x impl std::ops::Deref for IBrowserService2 { type Target = IBrowserService; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBrowserService2, windows_core::IUnknown, IBrowserService); @@ -7666,7 +7666,7 @@ impl IBrowserService2 { (windows_core::Interface::vtable(self).SetAsDefFolderSettings)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetViewRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewRect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OnSize(&self, wparam: P0) -> windows_core::Result<()> @@ -7714,19 +7714,19 @@ impl IBrowserService2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateViewWindow)(windows_core::Interface::as_raw(self), psvnew.param().abi(), psvold.param().abi(), prcview, &mut result__).map(|| result__) } pub unsafe fn CreateBrowserPropSheetExt(&self, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).CreateBrowserPropSheetExt)(windows_core::Interface::as_raw(self), riid, ppv).ok() } pub unsafe fn GetViewWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(all(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBaseBrowserData)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] @@ -8003,7 +8003,7 @@ pub struct IBrowserService2_Vtbl { #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common")))] _TryShell2Rename: usize, pub _SwitchActivationNow: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub _ExecChildren: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *const windows_core::GUID, u32, u32, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub _ExecChildren: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *const windows_core::GUID, u32, u32, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub _SendChildren: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, super::super::Foundation::BOOL, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, pub GetFolderSetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FOLDERSETDATA) -> windows_core::HRESULT, pub _OnFocusChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, @@ -8066,7 +8066,7 @@ windows_core::imp::define_interface!(IBrowserService3, IBrowserService3_Vtbl, 0x impl std::ops::Deref for IBrowserService3 { type Target = IBrowserService2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBrowserService3, windows_core::IUnknown, IBrowserService, IBrowserService2); @@ -8082,7 +8082,7 @@ impl IBrowserService3 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IEParseDisplayNameEx)(windows_core::Interface::as_raw(self), uicp, pwszpath.param().abi(), dwflags, &mut result__).map(|| result__) } } @@ -8099,7 +8099,7 @@ windows_core::imp::define_interface!(IBrowserService4, IBrowserService4_Vtbl, 0x impl std::ops::Deref for IBrowserService4 { type Target = IBrowserService3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IBrowserService4, windows_core::IUnknown, IBrowserService, IBrowserService2, IBrowserService3); @@ -8128,7 +8128,7 @@ windows_core::imp::define_interface!(ICDBurn, ICDBurn_Vtbl, 0x3d73a659_e5d0_4d42 impl std::ops::Deref for ICDBurn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICDBurn, windows_core::IUnknown); @@ -8143,7 +8143,7 @@ impl ICDBurn { (windows_core::Interface::vtable(self).Burn)(windows_core::Interface::as_raw(self), hwnd.param().abi()).ok() } pub unsafe fn HasRecordableDrive(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasRecordableDrive)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8158,13 +8158,13 @@ windows_core::imp::define_interface!(ICDBurnExt, ICDBurnExt_Vtbl, 0x2271dcca_74f impl std::ops::Deref for ICDBurnExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICDBurnExt, windows_core::IUnknown); impl ICDBurnExt { pub unsafe fn GetSupportedActionTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSupportedActionTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8177,7 +8177,7 @@ windows_core::imp::define_interface!(ICategorizer, ICategorizer_Vtbl, 0xa3b14589 impl std::ops::Deref for ICategorizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICategorizer, windows_core::IUnknown); @@ -8211,7 +8211,7 @@ windows_core::imp::define_interface!(ICategoryProvider, ICategoryProvider_Vtbl, impl std::ops::Deref for ICategoryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICategoryProvider, windows_core::IUnknown); @@ -8226,12 +8226,12 @@ impl ICategoryProvider { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetCategoryForSCID(&self, pscid: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategoryForSCID)(windows_core::Interface::as_raw(self), pscid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategories(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCategories)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCategoryName(&self, pguid: *const windows_core::GUID, pszname: &mut [u16]) -> windows_core::Result<()> { @@ -8271,7 +8271,7 @@ windows_core::imp::define_interface!(IColumnManager, IColumnManager_Vtbl, 0xd8ec impl std::ops::Deref for IColumnManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IColumnManager, windows_core::IUnknown); @@ -8285,7 +8285,7 @@ impl IColumnManager { (windows_core::Interface::vtable(self).GetColumnInfo)(windows_core::Interface::as_raw(self), propkey, pcmci).ok() } pub unsafe fn GetColumnCount(&self, dwflags: CM_ENUM_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColumnCount)(windows_core::Interface::as_raw(self), dwflags, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -8322,7 +8322,7 @@ windows_core::imp::define_interface!(IColumnProvider, IColumnProvider_Vtbl, 0xe8 impl std::ops::Deref for IColumnProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IColumnProvider, windows_core::IUnknown); @@ -8336,7 +8336,7 @@ impl IColumnProvider { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetItemData(&self, pscid: *const PropertiesSystem::PROPERTYKEY, pscd: *const SHCOLUMNDATA) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemData)(windows_core::Interface::as_raw(self), pscid, pscd, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8349,7 +8349,7 @@ pub struct IColumnProvider_Vtbl { #[cfg(not(all(feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem")))] GetColumnInfo: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *const PropertiesSystem::PROPERTYKEY, *const SHCOLUMNDATA, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *const PropertiesSystem::PROPERTYKEY, *const SHCOLUMNDATA, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetItemData: usize, } @@ -8357,7 +8357,7 @@ windows_core::imp::define_interface!(ICommDlgBrowser, ICommDlgBrowser_Vtbl, 0x00 impl std::ops::Deref for ICommDlgBrowser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommDlgBrowser, windows_core::IUnknown); @@ -8404,7 +8404,7 @@ windows_core::imp::define_interface!(ICommDlgBrowser2, ICommDlgBrowser2_Vtbl, 0x impl std::ops::Deref for ICommDlgBrowser2 { type Target = ICommDlgBrowser; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommDlgBrowser2, windows_core::IUnknown, ICommDlgBrowser); @@ -8424,7 +8424,7 @@ impl ICommDlgBrowser2 { (windows_core::Interface::vtable(self).GetDefaultMenuText)(windows_core::Interface::as_raw(self), ppshv.param().abi(), core::mem::transmute(psztext.as_ptr()), psztext.len().try_into().unwrap()).ok() } pub unsafe fn GetViewFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8445,7 +8445,7 @@ windows_core::imp::define_interface!(ICommDlgBrowser3, ICommDlgBrowser3_Vtbl, 0x impl std::ops::Deref for ICommDlgBrowser3 { type Target = ICommDlgBrowser2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICommDlgBrowser3, windows_core::IUnknown, ICommDlgBrowser, ICommDlgBrowser2); @@ -8485,7 +8485,7 @@ windows_core::imp::define_interface!(IComputerInfoChangeNotify, IComputerInfoCha impl std::ops::Deref for IComputerInfoChangeNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IComputerInfoChangeNotify, windows_core::IUnknown); @@ -8503,7 +8503,7 @@ windows_core::imp::define_interface!(IConnectableCredentialProviderCredential, I impl std::ops::Deref for IConnectableCredentialProviderCredential { type Target = ICredentialProviderCredential; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IConnectableCredentialProviderCredential, windows_core::IUnknown, ICredentialProviderCredential); @@ -8528,7 +8528,7 @@ windows_core::imp::define_interface!(IContactManagerInterop, IContactManagerInte impl std::ops::Deref for IContactManagerInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContactManagerInterop, windows_core::IUnknown); @@ -8550,7 +8550,7 @@ windows_core::imp::define_interface!(IContextMenu, IContextMenu_Vtbl, 0x000214e4 impl std::ops::Deref for IContextMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextMenu, windows_core::IUnknown); @@ -8583,7 +8583,7 @@ windows_core::imp::define_interface!(IContextMenu2, IContextMenu2_Vtbl, 0x000214 impl std::ops::Deref for IContextMenu2 { type Target = IContextMenu; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextMenu2, windows_core::IUnknown, IContextMenu); @@ -8605,7 +8605,7 @@ windows_core::imp::define_interface!(IContextMenu3, IContextMenu3_Vtbl, 0xbcfce0 impl std::ops::Deref for IContextMenu3 { type Target = IContextMenu2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextMenu3, windows_core::IUnknown, IContextMenu, IContextMenu2); @@ -8627,7 +8627,7 @@ windows_core::imp::define_interface!(IContextMenuCB, IContextMenuCB_Vtbl, 0x3409 impl std::ops::Deref for IContextMenuCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextMenuCB, windows_core::IUnknown); @@ -8656,7 +8656,7 @@ windows_core::imp::define_interface!(IContextMenuSite, IContextMenuSite_Vtbl, 0x impl std::ops::Deref for IContextMenuSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IContextMenuSite, windows_core::IUnknown); @@ -8677,7 +8677,7 @@ windows_core::imp::define_interface!(ICopyHookA, ICopyHookA_Vtbl, 0x000214ef_000 impl std::ops::Deref for ICopyHookA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICopyHookA, windows_core::IUnknown); @@ -8700,7 +8700,7 @@ windows_core::imp::define_interface!(ICopyHookW, ICopyHookW_Vtbl, 0x000214fc_000 impl std::ops::Deref for ICopyHookW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICopyHookW, windows_core::IUnknown); @@ -8723,13 +8723,13 @@ windows_core::imp::define_interface!(ICreateProcessInputs, ICreateProcessInputs_ impl std::ops::Deref for ICreateProcessInputs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreateProcessInputs, windows_core::IUnknown); impl ICreateProcessInputs { pub unsafe fn GetCreateFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCreateFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCreateFlags(&self, dwcreationflags: u32) -> windows_core::Result<()> { @@ -8773,7 +8773,7 @@ windows_core::imp::define_interface!(ICreatingProcess, ICreatingProcess_Vtbl, 0x impl std::ops::Deref for ICreatingProcess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICreatingProcess, windows_core::IUnknown); @@ -8794,7 +8794,7 @@ windows_core::imp::define_interface!(ICredentialProvider, ICredentialProvider_Vt impl std::ops::Deref for ICredentialProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProvider, windows_core::IUnknown); @@ -8815,18 +8815,18 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldDescriptorCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFieldDescriptorAt(&self, dwindex: u32) -> windows_core::Result<*mut CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldDescriptorAt)(windows_core::Interface::as_raw(self), dwindex, &mut result__).map(|| result__) } pub unsafe fn GetCredentialCount(&self, pdwcount: *mut u32, pdwdefault: *mut u32, pbautologonwithdefault: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCredentialCount)(windows_core::Interface::as_raw(self), pdwcount, pdwdefault, pbautologonwithdefault).ok() } pub unsafe fn GetCredentialAt(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCredentialAt)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8846,7 +8846,7 @@ windows_core::imp::define_interface!(ICredentialProviderCredential, ICredentialP impl std::ops::Deref for ICredentialProviderCredential { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderCredential, windows_core::IUnknown); @@ -8861,7 +8861,7 @@ impl ICredentialProviderCredential { (windows_core::Interface::vtable(self).UnAdvise)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn SetSelected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetSelected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDeselected(&self) -> windows_core::Result<()> { @@ -8871,26 +8871,26 @@ impl ICredentialProviderCredential { (windows_core::Interface::vtable(self).GetFieldState)(windows_core::Interface::as_raw(self), dwfieldid, pcpfs, pcpfis).ok() } pub unsafe fn GetStringValue(&self, dwfieldid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringValue)(windows_core::Interface::as_raw(self), dwfieldid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetBitmapValue(&self, dwfieldid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitmapValue)(windows_core::Interface::as_raw(self), dwfieldid, &mut result__).map(|| result__) } pub unsafe fn GetCheckboxValue(&self, dwfieldid: u32, pbchecked: *mut super::super::Foundation::BOOL, ppszlabel: *mut windows_core::PWSTR) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetCheckboxValue)(windows_core::Interface::as_raw(self), dwfieldid, pbchecked, ppszlabel).ok() } pub unsafe fn GetSubmitButtonValue(&self, dwfieldid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubmitButtonValue)(windows_core::Interface::as_raw(self), dwfieldid, &mut result__).map(|| 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, pcitems, pdwselecteditem).ok() } pub unsafe fn GetComboBoxValueAt(&self, dwfieldid: u32, dwitem: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComboBoxValueAt)(windows_core::Interface::as_raw(self), dwfieldid, dwitem, &mut result__).map(|| result__) } pub unsafe fn SetStringValue(&self, dwfieldid: u32, psz: P0) -> windows_core::Result<()> @@ -8950,13 +8950,13 @@ windows_core::imp::define_interface!(ICredentialProviderCredential2, ICredential impl std::ops::Deref for ICredentialProviderCredential2 { type Target = ICredentialProviderCredential; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderCredential2, windows_core::IUnknown, ICredentialProviderCredential); impl ICredentialProviderCredential2 { pub unsafe fn GetUserSid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUserSid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -8969,7 +8969,7 @@ windows_core::imp::define_interface!(ICredentialProviderCredentialEvents, ICrede impl std::ops::Deref for ICredentialProviderCredentialEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderCredentialEvents, windows_core::IUnknown); @@ -9035,7 +9035,7 @@ impl ICredentialProviderCredentialEvents { (windows_core::Interface::vtable(self).SetFieldSubmitButton)(windows_core::Interface::as_raw(self), pcpc.param().abi(), dwfieldid, dwadjacentto).ok() } pub unsafe fn OnCreatingWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnCreatingWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9060,7 +9060,7 @@ windows_core::imp::define_interface!(ICredentialProviderCredentialEvents2, ICred impl std::ops::Deref for ICredentialProviderCredentialEvents2 { type Target = ICredentialProviderCredentialEvents; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderCredentialEvents2, windows_core::IUnknown, ICredentialProviderCredentialEvents); @@ -9089,13 +9089,13 @@ windows_core::imp::define_interface!(ICredentialProviderCredentialWithFieldOptio impl std::ops::Deref for ICredentialProviderCredentialWithFieldOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderCredentialWithFieldOptions, windows_core::IUnknown); impl ICredentialProviderCredentialWithFieldOptions { pub unsafe fn GetFieldOptions(&self, fieldid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFieldOptions)(windows_core::Interface::as_raw(self), fieldid, &mut result__).map(|| result__) } } @@ -9108,7 +9108,7 @@ windows_core::imp::define_interface!(ICredentialProviderEvents, ICredentialProvi impl std::ops::Deref for ICredentialProviderEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderEvents, windows_core::IUnknown); @@ -9126,7 +9126,7 @@ windows_core::imp::define_interface!(ICredentialProviderFilter, ICredentialProvi impl std::ops::Deref for ICredentialProviderFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderFilter, windows_core::IUnknown); @@ -9148,7 +9148,7 @@ windows_core::imp::define_interface!(ICredentialProviderSetUserArray, ICredentia impl std::ops::Deref for ICredentialProviderSetUserArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderSetUserArray, windows_core::IUnknown); @@ -9169,27 +9169,27 @@ windows_core::imp::define_interface!(ICredentialProviderUser, ICredentialProvide impl std::ops::Deref for ICredentialProviderUser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderUser, windows_core::IUnknown); impl ICredentialProviderUser { pub unsafe fn GetSid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProviderID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProviderID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetStringValue(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStringValue)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetValue(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9203,7 +9203,7 @@ pub struct ICredentialProviderUser_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetStringValue: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetValue: usize, } @@ -9211,7 +9211,7 @@ windows_core::imp::define_interface!(ICredentialProviderUserArray, ICredentialPr impl std::ops::Deref for ICredentialProviderUserArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICredentialProviderUserArray, windows_core::IUnknown); @@ -9220,15 +9220,15 @@ impl ICredentialProviderUserArray { (windows_core::Interface::vtable(self).SetProviderFilter)(windows_core::Interface::as_raw(self), guidprovidertofilterto).ok() } pub unsafe fn GetAccountOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAccountOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAt(&self, userindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), userindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9244,7 +9244,7 @@ windows_core::imp::define_interface!(ICurrentItem, ICurrentItem_Vtbl, 0x240a7174 impl std::ops::Deref for ICurrentItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICurrentItem, windows_core::IUnknown, IRelatedItem); @@ -9257,7 +9257,7 @@ windows_core::imp::define_interface!(ICurrentWorkingDirectory, ICurrentWorkingDi impl std::ops::Deref for ICurrentWorkingDirectory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICurrentWorkingDirectory, windows_core::IUnknown); @@ -9282,7 +9282,7 @@ windows_core::imp::define_interface!(ICustomDestinationList, ICustomDestinationL impl std::ops::Deref for ICustomDestinationList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICustomDestinationList, windows_core::IUnknown); @@ -9361,7 +9361,7 @@ windows_core::imp::define_interface!(IDataObjectAsyncCapability, IDataObjectAsyn impl std::ops::Deref for IDataObjectAsyncCapability { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataObjectAsyncCapability, windows_core::IUnknown); @@ -9373,7 +9373,7 @@ impl IDataObjectAsyncCapability { (windows_core::Interface::vtable(self).SetAsyncMode)(windows_core::Interface::as_raw(self), fdoopasync.param().abi()).ok() } pub unsafe fn GetAsyncMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAsyncMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -9384,7 +9384,7 @@ impl IDataObjectAsyncCapability { (windows_core::Interface::vtable(self).StartOperation)(windows_core::Interface::as_raw(self), pbcreserved.param().abi()).ok() } pub unsafe fn InOperation(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InOperation)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -9414,14 +9414,14 @@ windows_core::imp::define_interface!(IDataObjectProvider, IDataObjectProvider_Vt impl std::ops::Deref for IDataObjectProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataObjectProvider, windows_core::IUnknown); impl IDataObjectProvider { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDataObject(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataObject)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -9448,7 +9448,7 @@ windows_core::imp::define_interface!(IDataTransferManagerInterop, IDataTransferM impl std::ops::Deref for IDataTransferManagerInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDataTransferManagerInterop, windows_core::IUnknown); @@ -9478,7 +9478,7 @@ windows_core::imp::define_interface!(IDefaultExtractIconInit, IDefaultExtractIco impl std::ops::Deref for IDefaultExtractIconInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDefaultExtractIconInit, windows_core::IUnknown); @@ -9535,7 +9535,7 @@ windows_core::imp::define_interface!(IDefaultFolderMenuInitialize, IDefaultFolde impl std::ops::Deref for IDefaultFolderMenuInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDefaultFolderMenuInitialize, windows_core::IUnknown); @@ -9554,7 +9554,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMenuRestrictions)(windows_core::Interface::as_raw(self), dfmrmask, &mut result__).map(|| result__) } pub unsafe fn SetHandlerClsid(&self, rclsid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -9576,7 +9576,7 @@ windows_core::imp::define_interface!(IDelegateFolder, IDelegateFolder_Vtbl, 0xad impl std::ops::Deref for IDelegateFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDelegateFolder, windows_core::IUnknown); @@ -9601,7 +9601,7 @@ windows_core::imp::define_interface!(IDelegateItem, IDelegateItem_Vtbl, 0x3c5a1c impl std::ops::Deref for IDelegateItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDelegateItem, windows_core::IUnknown, IRelatedItem); @@ -9616,7 +9616,7 @@ windows_core::imp::define_interface!(IDeskBand, IDeskBand_Vtbl, 0xeb0fe172_1a3a_ impl std::ops::Deref for IDeskBand { type Target = IDockingWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -9639,7 +9639,7 @@ windows_core::imp::define_interface!(IDeskBand2, IDeskBand2_Vtbl, 0x79d16de4_abe impl std::ops::Deref for IDeskBand2 { type Target = IDeskBand; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -9647,7 +9647,7 @@ windows_core::imp::interface_hierarchy!(IDeskBand2, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Ole")] impl IDeskBand2 { pub unsafe fn CanRenderComposited(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanRenderComposited)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCompositionState(&self, fcompositionenabled: P0) -> windows_core::Result<()> @@ -9657,7 +9657,7 @@ impl IDeskBand2 { (windows_core::Interface::vtable(self).SetCompositionState)(windows_core::Interface::as_raw(self), fcompositionenabled.param().abi()).ok() } pub unsafe fn GetCompositionState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCompositionState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -9673,13 +9673,13 @@ windows_core::imp::define_interface!(IDeskBandInfo, IDeskBandInfo_Vtbl, 0x77e425 impl std::ops::Deref for IDeskBandInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDeskBandInfo, windows_core::IUnknown); impl IDeskBandInfo { pub unsafe fn GetDefaultBandWidth(&self, dwbandid: u32, dwviewmode: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultBandWidth)(windows_core::Interface::as_raw(self), dwbandid, dwviewmode, &mut result__).map(|| result__) } } @@ -9694,7 +9694,7 @@ windows_core::imp::define_interface!(IDeskBar, IDeskBar_Vtbl, 0xeb0fe173_1a3a_11 impl std::ops::Deref for IDeskBar { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -9708,7 +9708,7 @@ impl IDeskBar { (windows_core::Interface::vtable(self).SetClient)(windows_core::Interface::as_raw(self), punkclient.param().abi()).ok() } pub unsafe fn GetClient(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClient)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnPosRectChangeDB(&self, prc: *const super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -9729,7 +9729,7 @@ windows_core::imp::define_interface!(IDeskBarClient, IDeskBarClient_Vtbl, 0xeb0f impl std::ops::Deref for IDeskBarClient { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -9749,7 +9749,7 @@ impl IDeskBarClient { (windows_core::Interface::vtable(self).UIActivateDBC)(windows_core::Interface::as_raw(self), dwstate).ok() } pub unsafe fn GetSize(&self, dwwhich: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), dwwhich, &mut result__).map(|| result__) } } @@ -9766,7 +9766,7 @@ windows_core::imp::define_interface!(IDesktopGadget, IDesktopGadget_Vtbl, 0xc164 impl std::ops::Deref for IDesktopGadget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDesktopGadget, windows_core::IUnknown); @@ -9787,7 +9787,7 @@ windows_core::imp::define_interface!(IDesktopWallpaper, IDesktopWallpaper_Vtbl, impl std::ops::Deref for IDesktopWallpaper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDesktopWallpaper, windows_core::IUnknown); @@ -9803,22 +9803,22 @@ impl IDesktopWallpaper { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWallpaper)(windows_core::Interface::as_raw(self), monitorid.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetMonitorDevicePathAt(&self, monitorindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMonitorDevicePathAt)(windows_core::Interface::as_raw(self), monitorindex, &mut result__).map(|| result__) } pub unsafe fn GetMonitorDevicePathCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMonitorDevicePathCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMonitorRECT(&self, monitorid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMonitorRECT)(windows_core::Interface::as_raw(self), monitorid.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetBackgroundColor(&self, color: P0) -> windows_core::Result<()> @@ -9828,14 +9828,14 @@ impl IDesktopWallpaper { (windows_core::Interface::vtable(self).SetBackgroundColor)(windows_core::Interface::as_raw(self), color.param().abi()).ok() } pub unsafe fn GetBackgroundColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBackgroundColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSlideshow(&self, items: P0) -> windows_core::Result<()> @@ -9845,7 +9845,7 @@ impl IDesktopWallpaper { (windows_core::Interface::vtable(self).SetSlideshow)(windows_core::Interface::as_raw(self), items.param().abi()).ok() } pub unsafe fn GetSlideshow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSlideshow)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSlideshowOptions(&self, options: DESKTOP_SLIDESHOW_OPTIONS, slideshowtick: u32) -> windows_core::Result<()> { @@ -9861,7 +9861,7 @@ impl IDesktopWallpaper { (windows_core::Interface::vtable(self).AdvanceSlideshow)(windows_core::Interface::as_raw(self), monitorid.param().abi(), direction).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Enable(&self, enable: P0) -> windows_core::Result<()> @@ -9895,14 +9895,14 @@ windows_core::imp::define_interface!(IDestinationStreamFactory, IDestinationStre impl std::ops::Deref for IDestinationStreamFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDestinationStreamFactory, windows_core::IUnknown); impl IDestinationStreamFactory { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDestinationStream(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDestinationStream)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -9918,7 +9918,7 @@ windows_core::imp::define_interface!(IDisplayItem, IDisplayItem_Vtbl, 0xc6fd5997 impl std::ops::Deref for IDisplayItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDisplayItem, windows_core::IUnknown, IRelatedItem); @@ -9931,7 +9931,7 @@ windows_core::imp::define_interface!(IDocViewSite, IDocViewSite_Vtbl, 0x87d605e0 impl std::ops::Deref for IDocViewSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDocViewSite, windows_core::IUnknown); @@ -9943,7 +9943,7 @@ impl IDocViewSite { #[repr(C)] pub struct IDocViewSite_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnSetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnSetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IDockingWindow, IDockingWindow_Vtbl, 0x012dd920_7b26_11d0_8ca9_00a0c92dbfe8); @@ -9951,7 +9951,7 @@ windows_core::imp::define_interface!(IDockingWindow, IDockingWindow_Vtbl, 0x012d impl std::ops::Deref for IDockingWindow { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -9989,7 +9989,7 @@ windows_core::imp::define_interface!(IDockingWindowFrame, IDockingWindowFrame_Vt impl std::ops::Deref for IDockingWindowFrame { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -10030,7 +10030,7 @@ windows_core::imp::define_interface!(IDockingWindowSite, IDockingWindowSite_Vtbl impl std::ops::Deref for IDockingWindowSite { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -10041,7 +10041,7 @@ impl IDockingWindowSite { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBorderDW)(windows_core::Interface::as_raw(self), punkobj.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RequestBorderSpaceDW(&self, punkobj: P0, pbw: *const super::super::Foundation::RECT) -> windows_core::Result<()> @@ -10069,7 +10069,7 @@ windows_core::imp::define_interface!(IDragSourceHelper, IDragSourceHelper_Vtbl, impl std::ops::Deref for IDragSourceHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDragSourceHelper, windows_core::IUnknown); @@ -10106,7 +10106,7 @@ windows_core::imp::define_interface!(IDragSourceHelper2, IDragSourceHelper2_Vtbl impl std::ops::Deref for IDragSourceHelper2 { type Target = IDragSourceHelper; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDragSourceHelper2, windows_core::IUnknown, IDragSourceHelper); @@ -10124,7 +10124,7 @@ windows_core::imp::define_interface!(IDropTargetHelper, IDropTargetHelper_Vtbl, impl std::ops::Deref for IDropTargetHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDropTargetHelper, windows_core::IUnknown); @@ -10180,7 +10180,7 @@ windows_core::imp::define_interface!(IDynamicHWHandler, IDynamicHWHandler_Vtbl, impl std::ops::Deref for IDynamicHWHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDynamicHWHandler, windows_core::IUnknown); @@ -10189,7 +10189,7 @@ impl IDynamicHWHandler { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDynamicInfo)(windows_core::Interface::as_raw(self), pszdeviceid.param().abi(), dwcontenttype, &mut result__).map(|| result__) } } @@ -10204,7 +10204,7 @@ windows_core::imp::define_interface!(IEnumACString, IEnumACString_Vtbl, 0x8e74c2 impl std::ops::Deref for IEnumACString { type Target = super::super::System::Com::IEnumString; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -10218,7 +10218,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10234,7 +10234,7 @@ windows_core::imp::define_interface!(IEnumAssocHandlers, IEnumAssocHandlers_Vtbl impl std::ops::Deref for IEnumAssocHandlers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumAssocHandlers, windows_core::IUnknown); @@ -10252,7 +10252,7 @@ windows_core::imp::define_interface!(IEnumExplorerCommand, IEnumExplorerCommand_ impl std::ops::Deref for IEnumExplorerCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumExplorerCommand, windows_core::IUnknown); @@ -10267,7 +10267,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10283,7 +10283,7 @@ windows_core::imp::define_interface!(IEnumExtraSearch, IEnumExtraSearch_Vtbl, 0x impl std::ops::Deref for IEnumExtraSearch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumExtraSearch, windows_core::IUnknown); @@ -10298,7 +10298,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10314,7 +10314,7 @@ windows_core::imp::define_interface!(IEnumFullIDList, IEnumFullIDList_Vtbl, 0xd0 impl std::ops::Deref for IEnumFullIDList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumFullIDList, windows_core::IUnknown); @@ -10330,7 +10330,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10349,7 +10349,7 @@ windows_core::imp::define_interface!(IEnumHLITEM, IEnumHLITEM_Vtbl, 0x79eac9c6_b impl std::ops::Deref for IEnumHLITEM { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumHLITEM, windows_core::IUnknown); @@ -10364,7 +10364,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10380,7 +10380,7 @@ windows_core::imp::define_interface!(IEnumIDList, IEnumIDList_Vtbl, 0x000214f2_0 impl std::ops::Deref for IEnumIDList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumIDList, windows_core::IUnknown); @@ -10414,7 +10414,7 @@ windows_core::imp::define_interface!(IEnumObjects, IEnumObjects_Vtbl, 0x2c1c7e2e impl std::ops::Deref for IEnumObjects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumObjects, windows_core::IUnknown); @@ -10429,7 +10429,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10445,13 +10445,13 @@ windows_core::imp::define_interface!(IEnumPublishedApps, IEnumPublishedApps_Vtbl impl std::ops::Deref for IEnumPublishedApps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumPublishedApps, windows_core::IUnknown); impl IEnumPublishedApps { pub unsafe fn Next(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -10468,7 +10468,7 @@ windows_core::imp::define_interface!(IEnumReadyCallback, IEnumReadyCallback_Vtbl impl std::ops::Deref for IEnumReadyCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumReadyCallback, windows_core::IUnknown); @@ -10486,7 +10486,7 @@ windows_core::imp::define_interface!(IEnumResources, IEnumResources_Vtbl, 0x2dd8 impl std::ops::Deref for IEnumResources { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumResources, windows_core::IUnknown); @@ -10501,7 +10501,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10517,7 +10517,7 @@ windows_core::imp::define_interface!(IEnumShellItems, IEnumShellItems_Vtbl, 0x70 impl std::ops::Deref for IEnumShellItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumShellItems, windows_core::IUnknown); @@ -10532,7 +10532,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10548,7 +10548,7 @@ windows_core::imp::define_interface!(IEnumSyncMgrConflict, IEnumSyncMgrConflict_ impl std::ops::Deref for IEnumSyncMgrConflict { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSyncMgrConflict, windows_core::IUnknown); @@ -10563,7 +10563,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10579,7 +10579,7 @@ windows_core::imp::define_interface!(IEnumSyncMgrEvents, IEnumSyncMgrEvents_Vtbl impl std::ops::Deref for IEnumSyncMgrEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSyncMgrEvents, windows_core::IUnknown); @@ -10594,7 +10594,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10610,7 +10610,7 @@ windows_core::imp::define_interface!(IEnumSyncMgrSyncItems, IEnumSyncMgrSyncItem impl std::ops::Deref for IEnumSyncMgrSyncItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSyncMgrSyncItems, windows_core::IUnknown); @@ -10625,7 +10625,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10641,7 +10641,7 @@ windows_core::imp::define_interface!(IEnumTravelLogEntry, IEnumTravelLogEntry_Vt impl std::ops::Deref for IEnumTravelLogEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTravelLogEntry, windows_core::IUnknown); @@ -10656,7 +10656,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10672,7 +10672,7 @@ windows_core::imp::define_interface!(IEnumerableView, IEnumerableView_Vtbl, 0x8c impl std::ops::Deref for IEnumerableView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumerableView, windows_core::IUnknown); @@ -10685,7 +10685,7 @@ impl IEnumerableView { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn CreateEnumIDListFromContents(&self, pidlfolder: *const Common::ITEMIDLIST, dwenumflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEnumIDListFromContents)(windows_core::Interface::as_raw(self), pidlfolder, dwenumflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10702,7 +10702,7 @@ windows_core::imp::define_interface!(IExecuteCommand, IExecuteCommand_Vtbl, 0x7f impl std::ops::Deref for IExecuteCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExecuteCommand, windows_core::IUnknown); @@ -10753,13 +10753,13 @@ windows_core::imp::define_interface!(IExecuteCommandApplicationHostEnvironment, impl std::ops::Deref for IExecuteCommandApplicationHostEnvironment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExecuteCommandApplicationHostEnvironment, windows_core::IUnknown); impl IExecuteCommandApplicationHostEnvironment { pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10772,13 +10772,13 @@ windows_core::imp::define_interface!(IExecuteCommandHost, IExecuteCommandHost_Vt impl std::ops::Deref for IExecuteCommandHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExecuteCommandHost, windows_core::IUnknown); impl IExecuteCommandHost { pub unsafe fn GetUIMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUIMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -10791,14 +10791,14 @@ windows_core::imp::define_interface!(IExpDispSupport, IExpDispSupport_Vtbl, 0x0d impl std::ops::Deref for IExpDispSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExpDispSupport, windows_core::IUnknown); impl IExpDispSupport { #[cfg(feature = "Win32_System_Com")] pub unsafe fn FindConnectionPoint(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindConnectionPoint)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -10822,7 +10822,7 @@ pub struct IExpDispSupport_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] OnTranslateAccelerator: usize, #[cfg(feature = "Win32_System_Com")] - pub OnInvoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, u16, *const super::super::System::Com::DISPPARAMS, *mut std::mem::MaybeUninit, *mut super::super::System::Com::EXCEPINFO, *mut u32) -> windows_core::HRESULT, + pub OnInvoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, u16, *const super::super::System::Com::DISPPARAMS, *mut core::mem::MaybeUninit, *mut super::super::System::Com::EXCEPINFO, *mut u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnInvoke: usize, } @@ -10830,14 +10830,14 @@ windows_core::imp::define_interface!(IExpDispSupportXP, IExpDispSupportXP_Vtbl, impl std::ops::Deref for IExpDispSupportXP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExpDispSupportXP, windows_core::IUnknown); impl IExpDispSupportXP { #[cfg(feature = "Win32_System_Com")] pub unsafe fn FindCIE4ConnectionPoint(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindCIE4ConnectionPoint)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -10861,7 +10861,7 @@ pub struct IExpDispSupportXP_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] OnTranslateAccelerator: usize, #[cfg(feature = "Win32_System_Com")] - pub OnInvoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, u16, *const super::super::System::Com::DISPPARAMS, *mut std::mem::MaybeUninit, *mut super::super::System::Com::EXCEPINFO, *mut u32) -> windows_core::HRESULT, + pub OnInvoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, u16, *const super::super::System::Com::DISPPARAMS, *mut core::mem::MaybeUninit, *mut super::super::System::Com::EXCEPINFO, *mut u32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] OnInvoke: usize, } @@ -10869,7 +10869,7 @@ windows_core::imp::define_interface!(IExplorerBrowser, IExplorerBrowser_Vtbl, 0x impl std::ops::Deref for IExplorerBrowser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExplorerBrowser, windows_core::IUnknown); @@ -10906,7 +10906,7 @@ impl IExplorerBrowser { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), psbe.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -10916,7 +10916,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -10975,7 +10975,7 @@ windows_core::imp::define_interface!(IExplorerBrowserEvents, IExplorerBrowserEve impl std::ops::Deref for IExplorerBrowserEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExplorerBrowserEvents, windows_core::IUnknown); @@ -11024,7 +11024,7 @@ windows_core::imp::define_interface!(IExplorerCommand, IExplorerCommand_Vtbl, 0x impl std::ops::Deref for IExplorerCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExplorerCommand, windows_core::IUnknown); @@ -11033,25 +11033,25 @@ impl IExplorerCommand { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTitle)(windows_core::Interface::as_raw(self), psiitemarray.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetIcon(&self, psiitemarray: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIcon)(windows_core::Interface::as_raw(self), psiitemarray.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetToolTip(&self, psiitemarray: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetToolTip)(windows_core::Interface::as_raw(self), psiitemarray.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetCanonicalName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCanonicalName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetState(&self, psiitemarray: P0, foktobeslow: P1) -> windows_core::Result @@ -11059,7 +11059,7 @@ impl IExplorerCommand { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), psiitemarray.param().abi(), foktobeslow.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -11071,11 +11071,11 @@ impl IExplorerCommand { (windows_core::Interface::vtable(self).Invoke)(windows_core::Interface::as_raw(self), psiitemarray.param().abi(), pbc.param().abi()).ok() } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumSubCommands(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumSubCommands)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11098,7 +11098,7 @@ windows_core::imp::define_interface!(IExplorerCommandProvider, IExplorerCommandP impl std::ops::Deref for IExplorerCommandProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExplorerCommandProvider, windows_core::IUnknown); @@ -11129,7 +11129,7 @@ windows_core::imp::define_interface!(IExplorerCommandState, IExplorerCommandStat impl std::ops::Deref for IExplorerCommandState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExplorerCommandState, windows_core::IUnknown); @@ -11139,7 +11139,7 @@ impl IExplorerCommandState { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetState)(windows_core::Interface::as_raw(self), psiitemarray.param().abi(), foktobeslow.param().abi(), &mut result__).map(|| result__) } } @@ -11152,13 +11152,13 @@ windows_core::imp::define_interface!(IExplorerPaneVisibility, IExplorerPaneVisib impl std::ops::Deref for IExplorerPaneVisibility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExplorerPaneVisibility, windows_core::IUnknown); impl IExplorerPaneVisibility { pub unsafe fn GetPaneState(&self, ep: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPaneState)(windows_core::Interface::as_raw(self), ep, &mut result__).map(|| result__) } } @@ -11171,7 +11171,7 @@ windows_core::imp::define_interface!(IExtensionServices, IExtensionServices_Vtbl impl std::ops::Deref for IExtensionServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtensionServices, windows_core::IUnknown); @@ -11201,7 +11201,7 @@ windows_core::imp::define_interface!(IExtractIconA, IExtractIconA_Vtbl, 0x000214 impl std::ops::Deref for IExtractIconA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtractIconA, windows_core::IUnknown); @@ -11230,7 +11230,7 @@ windows_core::imp::define_interface!(IExtractIconW, IExtractIconW_Vtbl, 0x000214 impl std::ops::Deref for IExtractIconW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtractIconW, windows_core::IUnknown); @@ -11259,7 +11259,7 @@ windows_core::imp::define_interface!(IExtractImage, IExtractImage_Vtbl, 0xbb2e61 impl std::ops::Deref for IExtractImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtractImage, windows_core::IUnknown); @@ -11269,7 +11269,7 @@ impl IExtractImage { } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn Extract(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Extract)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11286,13 +11286,13 @@ windows_core::imp::define_interface!(IExtractImage2, IExtractImage2_Vtbl, 0x953b impl std::ops::Deref for IExtractImage2 { type Target = IExtractImage; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtractImage2, windows_core::IUnknown, IExtractImage); impl IExtractImage2 { pub unsafe fn GetDateStamp(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDateStamp)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11305,7 +11305,7 @@ windows_core::imp::define_interface!(IFileDialog, IFileDialog_Vtbl, 0x42f85136_d impl std::ops::Deref for IFileDialog { type Target = IModalWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileDialog, windows_core::IUnknown, IModalWindow); @@ -11318,14 +11318,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileTypeIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Advise(&self, pfde: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), pfde.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -11335,7 +11335,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefaultFolder(&self, psi: P0) -> windows_core::Result<()> @@ -11351,11 +11351,11 @@ impl IFileDialog { (windows_core::Interface::vtable(self).SetFolder)(windows_core::Interface::as_raw(self), psi.param().abi()).ok() } pub unsafe fn GetFolder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentSelection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFileName(&self, pszname: P0) -> windows_core::Result<()> @@ -11365,7 +11365,7 @@ impl IFileDialog { (windows_core::Interface::vtable(self).SetFileName)(windows_core::Interface::as_raw(self), pszname.param().abi()).ok() } pub unsafe fn GetFileName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTitle(&self, psztitle: P0) -> windows_core::Result<()> @@ -11387,7 +11387,7 @@ impl IFileDialog { (windows_core::Interface::vtable(self).SetFileNameLabel)(windows_core::Interface::as_raw(self), pszlabel.param().abi()).ok() } pub unsafe fn GetResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResult)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddPlace(&self, psi: P0, fdap: FDAP) -> windows_core::Result<()> @@ -11452,7 +11452,7 @@ windows_core::imp::define_interface!(IFileDialog2, IFileDialog2_Vtbl, 0x61744fc7 impl std::ops::Deref for IFileDialog2 { type Target = IFileDialog; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileDialog2, windows_core::IUnknown, IModalWindow, IFileDialog); @@ -11480,7 +11480,7 @@ windows_core::imp::define_interface!(IFileDialogControlEvents, IFileDialogContro impl std::ops::Deref for IFileDialogControlEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileDialogControlEvents, windows_core::IUnknown); @@ -11523,7 +11523,7 @@ windows_core::imp::define_interface!(IFileDialogCustomize, IFileDialogCustomize_ impl std::ops::Deref for IFileDialogCustomize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileDialogCustomize, windows_core::IUnknown); @@ -11578,14 +11578,14 @@ impl IFileDialogCustomize { (windows_core::Interface::vtable(self).SetControlLabel)(windows_core::Interface::as_raw(self), dwidctl, pszlabel.param().abi()).ok() } pub unsafe fn GetControlState(&self, dwidctl: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetControlState)(windows_core::Interface::as_raw(self), dwidctl, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEditBoxText)(windows_core::Interface::as_raw(self), dwidctl, &mut result__).map(|| result__) } pub unsafe fn SetEditBoxText(&self, dwidctl: u32, psztext: P0) -> windows_core::Result<()> @@ -11595,7 +11595,7 @@ impl IFileDialogCustomize { (windows_core::Interface::vtable(self).SetEditBoxText)(windows_core::Interface::as_raw(self), dwidctl, psztext.param().abi()).ok() } pub unsafe fn GetCheckButtonState(&self, dwidctl: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCheckButtonState)(windows_core::Interface::as_raw(self), dwidctl, &mut result__).map(|| result__) } pub unsafe fn SetCheckButtonState(&self, dwidctl: u32, bchecked: P0) -> windows_core::Result<()> @@ -11617,14 +11617,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetControlItemState)(windows_core::Interface::as_raw(self), dwidctl, dwiditem, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectedControlItem)(windows_core::Interface::as_raw(self), dwidctl, &mut result__).map(|| result__) } pub unsafe fn SetSelectedControlItem(&self, dwidctl: u32, dwiditem: u32) -> windows_core::Result<()> { @@ -11684,7 +11684,7 @@ windows_core::imp::define_interface!(IFileDialogEvents, IFileDialogEvents_Vtbl, impl std::ops::Deref for IFileDialogEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileDialogEvents, windows_core::IUnknown); @@ -11719,7 +11719,7 @@ impl IFileDialogEvents { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnShareViolation)(windows_core::Interface::as_raw(self), pfd.param().abi(), psi.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnTypeChange(&self, pfd: P0) -> windows_core::Result<()> @@ -11733,7 +11733,7 @@ impl IFileDialogEvents { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnOverwrite)(windows_core::Interface::as_raw(self), pfd.param().abi(), psi.param().abi(), &mut result__).map(|| result__) } } @@ -11752,25 +11752,25 @@ windows_core::imp::define_interface!(IFileIsInUse, IFileIsInUse_Vtbl, 0x64a1cbf0 impl std::ops::Deref for IFileIsInUse { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileIsInUse, windows_core::IUnknown); impl IFileIsInUse { pub unsafe fn GetAppName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAppName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetUsage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUsage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSwitchToHWND(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSwitchToHWND)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CloseFile(&self) -> windows_core::Result<()> { @@ -11790,17 +11790,17 @@ windows_core::imp::define_interface!(IFileOpenDialog, IFileOpenDialog_Vtbl, 0xd5 impl std::ops::Deref for IFileOpenDialog { type Target = IFileDialog; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileOpenDialog, windows_core::IUnknown, IModalWindow, IFileDialog); impl IFileOpenDialog { pub unsafe fn GetResults(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResults)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSelectedItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectedItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11814,7 +11814,7 @@ windows_core::imp::define_interface!(IFileOperation, IFileOperation_Vtbl, 0x947a impl std::ops::Deref for IFileOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileOperation, windows_core::IUnknown); @@ -11823,7 +11823,7 @@ impl IFileOperation { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), pfops.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -11942,7 +11942,7 @@ impl IFileOperation { (windows_core::Interface::vtable(self).PerformOperations)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetAnyOperationsAborted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAnyOperationsAborted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -11977,7 +11977,7 @@ windows_core::imp::define_interface!(IFileOperation2, IFileOperation2_Vtbl, 0xcd impl std::ops::Deref for IFileOperation2 { type Target = IFileOperation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileOperation2, windows_core::IUnknown, IFileOperation); @@ -11995,7 +11995,7 @@ windows_core::imp::define_interface!(IFileOperationProgressSink, IFileOperationP impl std::ops::Deref for IFileOperationProgressSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileOperationProgressSink, windows_core::IUnknown); @@ -12121,7 +12121,7 @@ windows_core::imp::define_interface!(IFileSaveDialog, IFileSaveDialog_Vtbl, 0x84 impl std::ops::Deref for IFileSaveDialog { type Target = IFileDialog; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileSaveDialog, windows_core::IUnknown, IModalWindow, IFileDialog); @@ -12149,7 +12149,7 @@ impl IFileSaveDialog { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -12190,7 +12190,7 @@ windows_core::imp::define_interface!(IFileSearchBand, IFileSearchBand_Vtbl, 0x2d impl std::ops::Deref for IFileSearchBand { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -12207,15 +12207,15 @@ impl IFileSearchBand { (windows_core::Interface::vtable(self).SetSearchParameters)(windows_core::Interface::as_raw(self), core::mem::transmute(pbstrsearchid), bnavtoresults.param().abi(), core::mem::transmute(pvarscope), core::mem::transmute(pvarqueryfile)).ok() } pub unsafe fn SearchID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Scope(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Scope)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn QueryFile(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryFile)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -12224,16 +12224,16 @@ impl IFileSearchBand { pub struct IFileSearchBand_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub SetFocus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetSearchParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SearchID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub QueryFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSearchParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SearchID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub QueryFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileSyncMergeHandler, IFileSyncMergeHandler_Vtbl, 0xd97b5aac_c792_433c_975d_35c4eadc7a9d); impl std::ops::Deref for IFileSyncMergeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileSyncMergeHandler, windows_core::IUnknown); @@ -12243,7 +12243,7 @@ impl IFileSyncMergeHandler { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Merge)(windows_core::Interface::as_raw(self), localfilepath.param().abi(), serverfilepath.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -12268,7 +12268,7 @@ windows_core::imp::define_interface!(IFileSystemBindData, IFileSystemBindData_Vt impl std::ops::Deref for IFileSystemBindData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileSystemBindData, windows_core::IUnknown); @@ -12298,7 +12298,7 @@ windows_core::imp::define_interface!(IFileSystemBindData2, IFileSystemBindData2_ impl std::ops::Deref for IFileSystemBindData2 { type Target = IFileSystemBindData; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFileSystemBindData2, windows_core::IUnknown, IFileSystemBindData); @@ -12307,14 +12307,14 @@ impl IFileSystemBindData2 { (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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileID)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), clsid).ok() } pub unsafe fn GetJunctionCLSID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetJunctionCLSID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12330,7 +12330,7 @@ windows_core::imp::define_interface!(IFolderBandPriv, IFolderBandPriv_Vtbl, 0x47 impl std::ops::Deref for IFolderBandPriv { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFolderBandPriv, windows_core::IUnknown); @@ -12372,7 +12372,7 @@ windows_core::imp::define_interface!(IFolderFilter, IFolderFilter_Vtbl, 0x9cc228 impl std::ops::Deref for IFolderFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFolderFilter, windows_core::IUnknown); @@ -12408,7 +12408,7 @@ windows_core::imp::define_interface!(IFolderFilterSite, IFolderFilterSite_Vtbl, impl std::ops::Deref for IFolderFilterSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFolderFilterSite, windows_core::IUnknown); @@ -12429,13 +12429,13 @@ windows_core::imp::define_interface!(IFolderView, IFolderView_Vtbl, 0xcde725b0_c impl std::ops::Deref for IFolderView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFolderView, windows_core::IUnknown); impl IFolderView { pub unsafe fn GetCurrentViewMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentViewMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCurrentViewMode(&self, viewmode: u32) -> windows_core::Result<()> { @@ -12450,11 +12450,11 @@ impl IFolderView { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn Item(&self, iitemindex: i32) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), iitemindex, &mut result__).map(|| result__) } pub unsafe fn ItemCount(&self, uflags: _SVGIO) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ItemCount)(windows_core::Interface::as_raw(self), uflags.0 as _, &mut result__).map(|| result__) } pub unsafe fn Items(&self, uflags: _SVGIO) -> windows_core::Result @@ -12465,23 +12465,23 @@ impl IFolderView { (windows_core::Interface::vtable(self).Items)(windows_core::Interface::as_raw(self), uflags.0 as _, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSelectionMarkedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectionMarkedItem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFocusedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFocusedItem)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemPosition(&self, pidl: *const Common::ITEMIDLIST) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemPosition)(windows_core::Interface::as_raw(self), pidl, &mut result__).map(|| result__) } pub unsafe fn GetSpacing(&self, ppt: *mut super::super::Foundation::POINT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetSpacing)(windows_core::Interface::as_raw(self), ppt).ok() } pub unsafe fn GetDefaultSpacing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultSpacing)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAutoArrange(&self) -> windows_core::Result<()> { @@ -12526,7 +12526,7 @@ windows_core::imp::define_interface!(IFolderView2, IFolderView2_Vtbl, 0x1af3a467 impl std::ops::Deref for IFolderView2 { type Target = IFolderView; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFolderView2, windows_core::IUnknown, IFolderView); @@ -12548,7 +12548,7 @@ impl IFolderView2 { } #[cfg(all(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewProperty)(windows_core::Interface::as_raw(self), pidl, propkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -12575,11 +12575,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentFolderFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSortColumnCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSortColumnCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -12601,23 +12601,23 @@ impl IFolderView2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVisibleItem)(windows_core::Interface::as_raw(self), istart, fprevious.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetSelectedItem(&self, istart: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectedItem)(windows_core::Interface::as_raw(self), istart, &mut result__).map(|| result__) } pub unsafe fn GetSelection(&self, fnoneimpliesfolder: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), fnoneimpliesfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetSelectionState(&self, pidl: *const Common::ITEMIDLIST) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectionState)(windows_core::Interface::as_raw(self), pidl, &mut result__).map(|| result__) } pub unsafe fn InvokeVerbOnSelection(&self, pszverb: P0) -> windows_core::Result<()> @@ -12636,7 +12636,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroupSubsetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRedraw(&self, fredrawon: P0) -> windows_core::Result<()> @@ -12664,11 +12664,11 @@ pub struct IFolderView2_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetGroupBy: usize, #[cfg(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] - pub SetViewProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const Common::ITEMIDLIST, *const PropertiesSystem::PROPERTYKEY, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetViewProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const Common::ITEMIDLIST, *const PropertiesSystem::PROPERTYKEY, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] SetViewProperty: usize, #[cfg(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] - pub GetViewProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const Common::ITEMIDLIST, *const PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetViewProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const Common::ITEMIDLIST, *const PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] GetViewProperty: usize, #[cfg(feature = "Win32_UI_Shell_Common")] @@ -12712,7 +12712,7 @@ windows_core::imp::define_interface!(IFolderViewHost, IFolderViewHost_Vtbl, 0x1e impl std::ops::Deref for IFolderViewHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFolderViewHost, windows_core::IUnknown); @@ -12740,7 +12740,7 @@ windows_core::imp::define_interface!(IFolderViewOC, IFolderViewOC_Vtbl, 0x9ba059 impl std::ops::Deref for IFolderViewOC { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -12768,7 +12768,7 @@ windows_core::imp::define_interface!(IFolderViewOptions, IFolderViewOptions_Vtbl impl std::ops::Deref for IFolderViewOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFolderViewOptions, windows_core::IUnknown); @@ -12777,7 +12777,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolderViewOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12791,7 +12791,7 @@ windows_core::imp::define_interface!(IFolderViewSettings, IFolderViewSettings_Vt impl std::ops::Deref for IFolderViewSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFolderViewSettings, windows_core::IUnknown); @@ -12808,11 +12808,11 @@ impl IFolderViewSettings { (windows_core::Interface::vtable(self).GetGroupByProperty)(windows_core::Interface::as_raw(self), pkey, pfgroupascending).ok() } pub unsafe fn GetViewMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetIconSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIconSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFolderFlags(&self, pfoldermask: *mut FOLDERFLAGS, pfolderflags: *mut FOLDERFLAGS) -> windows_core::Result<()> { @@ -12823,7 +12823,7 @@ impl IFolderViewSettings { (windows_core::Interface::vtable(self).GetSortColumns)(windows_core::Interface::as_raw(self), core::mem::transmute(rgsortcolumns.as_ptr()), rgsortcolumns.len().try_into().unwrap(), pccolumnsout).ok() } pub unsafe fn GetGroupSubsetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGroupSubsetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12848,7 +12848,7 @@ windows_core::imp::define_interface!(IFrameworkInputPane, IFrameworkInputPane_Vt impl std::ops::Deref for IFrameworkInputPane { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFrameworkInputPane, windows_core::IUnknown); @@ -12858,7 +12858,7 @@ impl IFrameworkInputPane { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), pwindow.param().abi(), phandler.param().abi(), &mut result__).map(|| result__) } pub unsafe fn AdviseWithHWND(&self, hwnd: P0, phandler: P1) -> windows_core::Result @@ -12866,14 +12866,14 @@ impl IFrameworkInputPane { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdviseWithHWND)(windows_core::Interface::as_raw(self), hwnd.param().abi(), phandler.param().abi(), &mut result__).map(|| 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 Location(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Location)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -12889,7 +12889,7 @@ windows_core::imp::define_interface!(IFrameworkInputPaneHandler, IFrameworkInput impl std::ops::Deref for IFrameworkInputPaneHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IFrameworkInputPaneHandler, windows_core::IUnknown); @@ -12917,7 +12917,7 @@ windows_core::imp::define_interface!(IGetServiceIds, IGetServiceIds_Vtbl, 0x4a07 impl std::ops::Deref for IGetServiceIds { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGetServiceIds, windows_core::IUnknown); @@ -12935,7 +12935,7 @@ windows_core::imp::define_interface!(IHWEventHandler, IHWEventHandler_Vtbl, 0xc1 impl std::ops::Deref for IHWEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHWEventHandler, windows_core::IUnknown); @@ -12980,7 +12980,7 @@ windows_core::imp::define_interface!(IHWEventHandler2, IHWEventHandler2_Vtbl, 0x impl std::ops::Deref for IHWEventHandler2 { type Target = IHWEventHandler; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHWEventHandler2, windows_core::IUnknown, IHWEventHandler); @@ -13004,7 +13004,7 @@ windows_core::imp::define_interface!(IHandlerActivationHost, IHandlerActivationH impl std::ops::Deref for IHandlerActivationHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHandlerActivationHost, windows_core::IUnknown); @@ -13035,21 +13035,21 @@ windows_core::imp::define_interface!(IHandlerInfo, IHandlerInfo_Vtbl, 0x997706ef impl std::ops::Deref for IHandlerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHandlerInfo, windows_core::IUnknown); impl IHandlerInfo { pub unsafe fn GetApplicationDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplicationDisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetApplicationPublisher(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplicationPublisher)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetApplicationIconReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplicationIconReference)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -13064,13 +13064,13 @@ windows_core::imp::define_interface!(IHandlerInfo2, IHandlerInfo2_Vtbl, 0x31cca0 impl std::ops::Deref for IHandlerInfo2 { type Target = IHandlerInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHandlerInfo2, windows_core::IUnknown, IHandlerInfo); impl IHandlerInfo2 { pub unsafe fn GetApplicationId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetApplicationId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -13083,7 +13083,7 @@ windows_core::imp::define_interface!(IHlink, IHlink_Vtbl, 0x79eac9c3_baf9_11ce_8 impl std::ops::Deref for IHlink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHlink, windows_core::IUnknown); @@ -13126,7 +13126,7 @@ impl IHlink { (windows_core::Interface::vtable(self).SetFriendlyName)(windows_core::Interface::as_raw(self), pwzfriendlyname.param().abi()).ok() } pub unsafe fn GetFriendlyName(&self, grfhlfnamef: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFriendlyName)(windows_core::Interface::as_raw(self), grfhlfnamef, &mut result__).map(|| result__) } pub unsafe fn SetTargetFrameName(&self, pwztargetframename: P0) -> windows_core::Result<()> @@ -13136,11 +13136,11 @@ impl IHlink { (windows_core::Interface::vtable(self).SetTargetFrameName)(windows_core::Interface::as_raw(self), pwztargetframename.param().abi()).ok() } pub unsafe fn GetTargetFrameName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetFrameName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMiscStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMiscStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -13159,7 +13159,7 @@ impl IHlink { (windows_core::Interface::vtable(self).SetAdditionalParams)(windows_core::Interface::as_raw(self), pwzadditionalparams.param().abi()).ok() } pub unsafe fn GetAdditionalParams(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAdditionalParams)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -13194,7 +13194,7 @@ windows_core::imp::define_interface!(IHlinkBrowseContext, IHlinkBrowseContext_Vt impl std::ops::Deref for IHlinkBrowseContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHlinkBrowseContext, windows_core::IUnknown); @@ -13205,7 +13205,7 @@ impl IHlinkBrowseContext { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Register)(windows_core::Interface::as_raw(self), reserved, piunk.param().abi(), pimk.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -13214,7 +13214,7 @@ impl IHlinkBrowseContext { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), pimk.param().abi(), fbindifrootregistered.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Revoke(&self, dwregister: u32) -> windows_core::Result<()> { @@ -13242,7 +13242,7 @@ impl IHlinkBrowseContext { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnNavigateHlink)(windows_core::Interface::as_raw(self), grfhlnf, pimktarget.param().abi(), pwzlocation.param().abi(), pwzfriendlyname.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -13255,14 +13255,14 @@ impl IHlinkBrowseContext { (windows_core::Interface::vtable(self).UpdateHlink)(windows_core::Interface::as_raw(self), uhlid, pimktarget.param().abi(), pwzlocation.param().abi(), pwzfriendlyname.param().abi()).ok() } pub unsafe fn EnumNavigationStack(&self, dwreserved: u32, grfhlfnamef: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumNavigationStack)(windows_core::Interface::as_raw(self), dwreserved, grfhlfnamef, &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHlink)(windows_core::Interface::as_raw(self), uhlid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetCurrentHlink(&self, uhlid: u32) -> windows_core::Result<()> { @@ -13272,7 +13272,7 @@ impl IHlinkBrowseContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), piunkouter.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Close(&self, reserved: u32) -> windows_core::Result<()> { @@ -13316,7 +13316,7 @@ windows_core::imp::define_interface!(IHlinkFrame, IHlinkFrame_Vtbl, 0x79eac9c5_b impl std::ops::Deref for IHlinkFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHlinkFrame, windows_core::IUnknown); @@ -13328,7 +13328,7 @@ impl IHlinkFrame { (windows_core::Interface::vtable(self).SetBrowseContext)(windows_core::Interface::as_raw(self), pihlbc.param().abi()).ok() } pub unsafe fn GetBrowseContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBrowseContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -13381,18 +13381,18 @@ windows_core::imp::define_interface!(IHlinkSite, IHlinkSite_Vtbl, 0x79eac9c2_baf impl std::ops::Deref for IHlinkSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryService)(windows_core::Interface::as_raw(self), dwsitedata, guidservice, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetMoniker(&self, dwsitedata: u32, dwassign: u32, dwwhich: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMoniker)(windows_core::Interface::as_raw(self), dwsitedata, dwassign, dwwhich, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReadyToNavigate(&self, dwsitedata: u32, dwreserved: u32) -> windows_core::Result<()> { @@ -13420,7 +13420,7 @@ windows_core::imp::define_interface!(IHlinkTarget, IHlinkTarget_Vtbl, 0x79eac9c4 impl std::ops::Deref for IHlinkTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHlinkTarget, windows_core::IUnknown); @@ -13432,7 +13432,7 @@ impl IHlinkTarget { (windows_core::Interface::vtable(self).SetBrowseContext)(windows_core::Interface::as_raw(self), pihlbc.param().abi()).ok() } pub unsafe fn GetBrowseContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBrowseContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Navigate(&self, grfhlnf: u32, pwzjumplocation: P0) -> windows_core::Result<()> @@ -13446,14 +13446,14 @@ impl IHlinkTarget { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMoniker)(windows_core::Interface::as_raw(self), pwzlocation.param().abi(), dwassign, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFriendlyName(&self, pwzlocation: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFriendlyName)(windows_core::Interface::as_raw(self), pwzlocation.param().abi(), &mut result__).map(|| result__) } } @@ -13473,20 +13473,20 @@ windows_core::imp::define_interface!(IHomeGroup, IHomeGroup_Vtbl, 0x7a3bd1d9_35a impl std::ops::Deref for IHomeGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHomeGroup, windows_core::IUnknown); impl IHomeGroup { pub unsafe fn IsMember(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMember)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ShowSharingWizard(&self, owner: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowSharingWizard)(windows_core::Interface::as_raw(self), owner.param().abi(), &mut result__).map(|| result__) } } @@ -13500,7 +13500,7 @@ windows_core::imp::define_interface!(IIOCancelInformation, IIOCancelInformation_ impl std::ops::Deref for IIOCancelInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIOCancelInformation, windows_core::IUnknown); @@ -13522,7 +13522,7 @@ windows_core::imp::define_interface!(IIdentityName, IIdentityName_Vtbl, 0x7d903f impl std::ops::Deref for IIdentityName { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IIdentityName, windows_core::IUnknown, IRelatedItem); @@ -13535,7 +13535,7 @@ windows_core::imp::define_interface!(IImageRecompress, IImageRecompress_Vtbl, 0x impl std::ops::Deref for IImageRecompress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImageRecompress, windows_core::IUnknown); @@ -13546,7 +13546,7 @@ impl IImageRecompress { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecompressImage)(windows_core::Interface::as_raw(self), psi.param().abi(), cx, cy, iquality, pstg.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -13562,7 +13562,7 @@ windows_core::imp::define_interface!(IInitializeCommand, IInitializeCommand_Vtbl impl std::ops::Deref for IInitializeCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeCommand, windows_core::IUnknown); @@ -13588,7 +13588,7 @@ windows_core::imp::define_interface!(IInitializeNetworkFolder, IInitializeNetwor impl std::ops::Deref for IInitializeNetworkFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeNetworkFolder, windows_core::IUnknown); @@ -13614,7 +13614,7 @@ windows_core::imp::define_interface!(IInitializeObject, IInitializeObject_Vtbl, impl std::ops::Deref for IInitializeObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeObject, windows_core::IUnknown); @@ -13632,7 +13632,7 @@ windows_core::imp::define_interface!(IInitializeWithBindCtx, IInitializeWithBind impl std::ops::Deref for IInitializeWithBindCtx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeWithBindCtx, windows_core::IUnknown); @@ -13657,7 +13657,7 @@ windows_core::imp::define_interface!(IInitializeWithItem, IInitializeWithItem_Vt impl std::ops::Deref for IInitializeWithItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeWithItem, windows_core::IUnknown); @@ -13678,7 +13678,7 @@ windows_core::imp::define_interface!(IInitializeWithPropertyStore, IInitializeWi impl std::ops::Deref for IInitializeWithPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeWithPropertyStore, windows_core::IUnknown); @@ -13703,7 +13703,7 @@ windows_core::imp::define_interface!(IInitializeWithWindow, IInitializeWithWindo impl std::ops::Deref for IInitializeWithWindow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInitializeWithWindow, windows_core::IUnknown); @@ -13724,7 +13724,7 @@ windows_core::imp::define_interface!(IInputObject, IInputObject_Vtbl, 0x68284faa impl std::ops::Deref for IInputObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputObject, windows_core::IUnknown); @@ -13761,7 +13761,7 @@ windows_core::imp::define_interface!(IInputObject2, IInputObject2_Vtbl, 0x6915c0 impl std::ops::Deref for IInputObject2 { type Target = IInputObject; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputObject2, windows_core::IUnknown, IInputObject); @@ -13783,7 +13783,7 @@ windows_core::imp::define_interface!(IInputObjectSite, IInputObjectSite_Vtbl, 0x impl std::ops::Deref for IInputObjectSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputObjectSite, windows_core::IUnknown); @@ -13805,7 +13805,7 @@ windows_core::imp::define_interface!(IInputPaneAnimationCoordinator, IInputPaneA impl std::ops::Deref for IInputPaneAnimationCoordinator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputPaneAnimationCoordinator, windows_core::IUnknown); @@ -13831,7 +13831,7 @@ windows_core::imp::define_interface!(IInputPanelConfiguration, IInputPanelConfig impl std::ops::Deref for IInputPanelConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputPanelConfiguration, windows_core::IUnknown); @@ -13849,7 +13849,7 @@ windows_core::imp::define_interface!(IInputPanelInvocationConfiguration, IInputP impl std::ops::Deref for IInputPanelInvocationConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputPanelInvocationConfiguration, windows_core::IUnknown); @@ -13867,7 +13867,7 @@ windows_core::imp::define_interface!(IInsertItem, IInsertItem_Vtbl, 0xd2b57227_3 impl std::ops::Deref for IInsertItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInsertItem, windows_core::IUnknown); @@ -13889,7 +13889,7 @@ windows_core::imp::define_interface!(IItemNameLimits, IItemNameLimits_Vtbl, 0x1d impl std::ops::Deref for IItemNameLimits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IItemNameLimits, windows_core::IUnknown); @@ -13901,7 +13901,7 @@ impl IItemNameLimits { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxLength)(windows_core::Interface::as_raw(self), pszname.param().abi(), &mut result__).map(|| result__) } } @@ -13915,17 +13915,17 @@ windows_core::imp::define_interface!(IKnownFolder, IKnownFolder_Vtbl, 0x3aa7af7e impl std::ops::Deref for IKnownFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKnownFolder, windows_core::IUnknown); impl IKnownFolder { pub unsafe fn GetId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetCategory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategory)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetShellItem(&self, dwflags: u32) -> windows_core::Result @@ -13936,7 +13936,7 @@ impl IKnownFolder { (windows_core::Interface::vtable(self).GetShellItem)(windows_core::Interface::as_raw(self), dwflags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPath(&self, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPath)(windows_core::Interface::as_raw(self), dwflags, &mut result__).map(|| result__) } pub unsafe fn SetPath(&self, dwflags: u32, pszpath: P0) -> windows_core::Result<()> @@ -13947,15 +13947,15 @@ impl IKnownFolder { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self, dwflags: u32) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIDList)(windows_core::Interface::as_raw(self), dwflags, &mut result__).map(|| result__) } pub unsafe fn GetFolderType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolderType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRedirectionCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRedirectionCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFolderDefinition(&self, pkfd: *mut KNOWNFOLDER_DEFINITION) -> windows_core::Result<()> { @@ -13982,31 +13982,31 @@ windows_core::imp::define_interface!(IKnownFolderManager, IKnownFolderManager_Vt impl std::ops::Deref for IKnownFolderManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IKnownFolderManager, windows_core::IUnknown); impl IKnownFolderManager { pub unsafe fn FolderIdFromCsidl(&self, ncsidl: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FolderIdFromCsidl)(windows_core::Interface::as_raw(self), ncsidl, &mut result__).map(|| result__) } pub unsafe fn FolderIdToCsidl(&self, rfid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FolderIdToCsidl)(windows_core::Interface::as_raw(self), rfid, &mut result__).map(|| 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), ppkfid, pcount).ok() } pub unsafe fn GetFolder(&self, rfid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolder)(windows_core::Interface::as_raw(self), rfid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFolderByName(&self, pszcanonicalname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolderByName)(windows_core::Interface::as_raw(self), pszcanonicalname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterFolder(&self, rfid: *const windows_core::GUID, pkfd: *const KNOWNFOLDER_DEFINITION) -> windows_core::Result<()> { @@ -14019,12 +14019,12 @@ impl IKnownFolderManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFolderFromPath)(windows_core::Interface::as_raw(self), pszpath.param().abi(), mode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn FindFolderFromIDList(&self, pidl: *const Common::ITEMIDLIST) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFolderFromIDList)(windows_core::Interface::as_raw(self), pidl, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Redirect(&self, rfid: *const windows_core::GUID, hwnd: P0, flags: u32, psztargetpath: P1, pexclusion: Option<&[windows_core::GUID]>, ppszerror: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> @@ -14056,13 +14056,13 @@ windows_core::imp::define_interface!(ILaunchSourceAppUserModelId, ILaunchSourceA impl std::ops::Deref for ILaunchSourceAppUserModelId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILaunchSourceAppUserModelId, windows_core::IUnknown); impl ILaunchSourceAppUserModelId { pub unsafe fn GetAppUserModelId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAppUserModelId)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14075,17 +14075,17 @@ windows_core::imp::define_interface!(ILaunchSourceViewSizePreference, ILaunchSou impl std::ops::Deref for ILaunchSourceViewSizePreference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILaunchSourceViewSizePreference, windows_core::IUnknown); impl ILaunchSourceViewSizePreference { pub unsafe fn GetSourceViewToPosition(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceViewToPosition)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSourceViewSizePreference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSourceViewSizePreference)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14099,14 +14099,14 @@ windows_core::imp::define_interface!(ILaunchTargetMonitor, ILaunchTargetMonitor_ impl std::ops::Deref for ILaunchTargetMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILaunchTargetMonitor, windows_core::IUnknown); impl ILaunchTargetMonitor { #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetMonitor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMonitor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14122,13 +14122,13 @@ windows_core::imp::define_interface!(ILaunchTargetViewSizePreference, ILaunchTar impl std::ops::Deref for ILaunchTargetViewSizePreference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILaunchTargetViewSizePreference, windows_core::IUnknown); impl ILaunchTargetViewSizePreference { pub unsafe fn GetTargetViewSizePreference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetViewSizePreference)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -14141,7 +14141,7 @@ windows_core::imp::define_interface!(ILaunchUIContext, ILaunchUIContext_Vtbl, 0x impl std::ops::Deref for ILaunchUIContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILaunchUIContext, windows_core::IUnknown); @@ -14166,7 +14166,7 @@ windows_core::imp::define_interface!(ILaunchUIContextProvider, ILaunchUIContextP impl std::ops::Deref for ILaunchUIContextProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ILaunchUIContextProvider, windows_core::IUnknown); @@ -14187,7 +14187,7 @@ windows_core::imp::define_interface!(IMenuBand, IMenuBand_Vtbl, 0x568804cd_cbd7_ impl std::ops::Deref for IMenuBand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMenuBand, windows_core::IUnknown); @@ -14219,7 +14219,7 @@ windows_core::imp::define_interface!(IMenuPopup, IMenuPopup_Vtbl, 0xd1e7afeb_6a2 impl std::ops::Deref for IMenuPopup { type Target = IDeskBar; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -14256,7 +14256,7 @@ windows_core::imp::define_interface!(IModalWindow, IModalWindow_Vtbl, 0xb4db1657 impl std::ops::Deref for IModalWindow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IModalWindow, windows_core::IUnknown); @@ -14277,7 +14277,7 @@ windows_core::imp::define_interface!(INameSpaceTreeAccessible, INameSpaceTreeAcc impl std::ops::Deref for INameSpaceTreeAccessible { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INameSpaceTreeAccessible, windows_core::IUnknown); @@ -14286,7 +14286,7 @@ impl INameSpaceTreeAccessible { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnGetDefaultAccessibilityAction)(windows_core::Interface::as_raw(self), psi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnDoDefaultAccessibilityAction(&self, psi: P0) -> windows_core::Result<()> @@ -14299,22 +14299,22 @@ impl INameSpaceTreeAccessible { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnGetAccessibilityRole)(windows_core::Interface::as_raw(self), psi.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct INameSpaceTreeAccessible_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnGetDefaultAccessibilityAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnGetDefaultAccessibilityAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OnDoDefaultAccessibilityAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub OnGetAccessibilityRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnGetAccessibilityRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INameSpaceTreeControl, INameSpaceTreeControl_Vtbl, 0x028212a3_b627_47e9_8856_c14265554e4f); impl std::ops::Deref for INameSpaceTreeControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INameSpaceTreeControl, windows_core::IUnknown); @@ -14329,7 +14329,7 @@ impl INameSpaceTreeControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TreeAdvise)(windows_core::Interface::as_raw(self), punk.param().abi(), &mut result__).map(|| result__) } pub unsafe fn TreeUnadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -14359,7 +14359,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRootItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetItemState(&self, psi: P0, nstcismask: u32, nstcisflags: u32) -> windows_core::Result<()> @@ -14372,18 +14372,18 @@ impl INameSpaceTreeControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemState)(windows_core::Interface::as_raw(self), psi.param().abi(), nstcismask, &mut result__).map(|| result__) } pub unsafe fn GetSelectedItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectedItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetItemCustomState(&self, psi: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemCustomState)(windows_core::Interface::as_raw(self), psi.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetItemCustomState(&self, psi: P0, istatenumber: i32) -> windows_core::Result<()> @@ -14408,18 +14408,18 @@ impl INameSpaceTreeControl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextItem)(windows_core::Interface::as_raw(self), psi.param().abi(), nstcgi, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HitTest(&self, ppt: *const super::super::Foundation::POINT) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HitTest)(windows_core::Interface::as_raw(self), ppt, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetItemRect(&self, psi: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemRect)(windows_core::Interface::as_raw(self), psi.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CollapseAll(&self) -> windows_core::Result<()> { @@ -14453,7 +14453,7 @@ windows_core::imp::define_interface!(INameSpaceTreeControl2, INameSpaceTreeContr impl std::ops::Deref for INameSpaceTreeControl2 { type Target = INameSpaceTreeControl; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INameSpaceTreeControl2, windows_core::IUnknown, INameSpaceTreeControl); @@ -14462,14 +14462,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetControlStyle)(windows_core::Interface::as_raw(self), nstcsmask, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetControlStyle2)(windows_core::Interface::as_raw(self), nstcsmask, &mut result__).map(|| result__) } } @@ -14485,7 +14485,7 @@ windows_core::imp::define_interface!(INameSpaceTreeControlCustomDraw, INameSpace impl std::ops::Deref for INameSpaceTreeControlCustomDraw { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INameSpaceTreeControlCustomDraw, windows_core::IUnknown); @@ -14495,7 +14495,7 @@ impl INameSpaceTreeControlCustomDraw { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrePaint)(windows_core::Interface::as_raw(self), hdc.param().abi(), prc, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -14544,7 +14544,7 @@ windows_core::imp::define_interface!(INameSpaceTreeControlDropHandler, INameSpac impl std::ops::Deref for INameSpaceTreeControlDropHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INameSpaceTreeControlDropHandler, windows_core::IUnknown); @@ -14606,7 +14606,7 @@ windows_core::imp::define_interface!(INameSpaceTreeControlEvents, INameSpaceTree impl std::ops::Deref for INameSpaceTreeControlEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INameSpaceTreeControlEvents, windows_core::IUnknown); @@ -14750,13 +14750,13 @@ windows_core::imp::define_interface!(INameSpaceTreeControlFolderCapabilities, IN impl std::ops::Deref for INameSpaceTreeControlFolderCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INameSpaceTreeControlFolderCapabilities, windows_core::IUnknown); impl INameSpaceTreeControlFolderCapabilities { pub unsafe fn GetFolderCapabilities(&self, nfcmask: NSTCFOLDERCAPABILITIES) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolderCapabilities)(windows_core::Interface::as_raw(self), nfcmask, &mut result__).map(|| result__) } } @@ -14769,7 +14769,7 @@ windows_core::imp::define_interface!(INamedPropertyBag, INamedPropertyBag_Vtbl, impl std::ops::Deref for INamedPropertyBag { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INamedPropertyBag, windows_core::IUnknown); @@ -14799,15 +14799,15 @@ impl INamedPropertyBag { #[repr(C)] pub struct INamedPropertyBag_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub ReadPropertyNPB: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WritePropertyNPB: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ReadPropertyNPB: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WritePropertyNPB: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub RemovePropertyNPB: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INamespaceWalk, INamespaceWalk_Vtbl, 0x57ced8a7_3f4a_432c_9350_30f24483f74f); impl std::ops::Deref for INamespaceWalk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INamespaceWalk, windows_core::IUnknown); @@ -14837,7 +14837,7 @@ windows_core::imp::define_interface!(INamespaceWalkCB, INamespaceWalkCB_Vtbl, 0x impl std::ops::Deref for INamespaceWalkCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INamespaceWalkCB, windows_core::IUnknown); @@ -14888,7 +14888,7 @@ windows_core::imp::define_interface!(INamespaceWalkCB2, INamespaceWalkCB2_Vtbl, impl std::ops::Deref for INamespaceWalkCB2 { type Target = INamespaceWalkCB; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INamespaceWalkCB2, windows_core::IUnknown, INamespaceWalkCB); @@ -14906,18 +14906,18 @@ windows_core::imp::define_interface!(INetworkFolderInternal, INetworkFolderInter impl std::ops::Deref for INetworkFolderInternal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INetworkFolderInternal, windows_core::IUnknown); impl INetworkFolderInternal { pub unsafe fn GetResourceDisplayType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourceDisplayType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIDList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -14942,13 +14942,13 @@ windows_core::imp::define_interface!(INewMenuClient, INewMenuClient_Vtbl, 0xdcb0 impl std::ops::Deref for INewMenuClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INewMenuClient, windows_core::IUnknown); impl INewMenuClient { pub unsafe fn IncludeItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IncludeItems)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -14969,7 +14969,7 @@ windows_core::imp::define_interface!(INewShortcutHookA, INewShortcutHookA_Vtbl, impl std::ops::Deref for INewShortcutHookA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INewShortcutHookA, windows_core::IUnknown); @@ -15014,7 +15014,7 @@ windows_core::imp::define_interface!(INewShortcutHookW, INewShortcutHookW_Vtbl, impl std::ops::Deref for INewShortcutHookW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INewShortcutHookW, windows_core::IUnknown); @@ -15061,7 +15061,7 @@ windows_core::imp::define_interface!(INewWDEvents, INewWDEvents_Vtbl, 0x0751c551 impl std::ops::Deref for INewWDEvents { type Target = IWebWizardHost; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -15072,7 +15072,7 @@ impl INewWDEvents { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PassportAuthenticate)(windows_core::Interface::as_raw(self), bstrsigninurl.param().abi(), &mut result__).map(|| result__) } } @@ -15080,13 +15080,13 @@ impl INewWDEvents { #[repr(C)] pub struct INewWDEvents_Vtbl { pub base__: IWebWizardHost_Vtbl, - pub PassportAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub PassportAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INewWindowManager, INewWindowManager_Vtbl, 0xd2bc4c84_3f72_4a52_a604_7bcbf3982cbb); impl std::ops::Deref for INewWindowManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INewWindowManager, windows_core::IUnknown); @@ -15111,7 +15111,7 @@ windows_core::imp::define_interface!(INotifyReplica, INotifyReplica_Vtbl, 0x9918 impl std::ops::Deref for INotifyReplica { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(INotifyReplica, windows_core::IUnknown); @@ -15133,7 +15133,7 @@ windows_core::imp::define_interface!(IObjMgr, IObjMgr_Vtbl, 0x00bb2761_6a77_11d0 impl std::ops::Deref for IObjMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjMgr, windows_core::IUnknown); @@ -15161,7 +15161,7 @@ windows_core::imp::define_interface!(IObjectProvider, IObjectProvider_Vtbl, 0xa6 impl std::ops::Deref for IObjectProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectProvider, windows_core::IUnknown); @@ -15183,7 +15183,7 @@ windows_core::imp::define_interface!(IObjectWithAppUserModelID, IObjectWithAppUs impl std::ops::Deref for IObjectWithAppUserModelID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectWithAppUserModelID, windows_core::IUnknown); @@ -15195,7 +15195,7 @@ impl IObjectWithAppUserModelID { (windows_core::Interface::vtable(self).SetAppID)(windows_core::Interface::as_raw(self), pszappid.param().abi()).ok() } pub unsafe fn GetAppID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAppID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15209,7 +15209,7 @@ windows_core::imp::define_interface!(IObjectWithBackReferences, IObjectWithBackR impl std::ops::Deref for IObjectWithBackReferences { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectWithBackReferences, windows_core::IUnknown); @@ -15227,13 +15227,13 @@ windows_core::imp::define_interface!(IObjectWithCancelEvent, IObjectWithCancelEv impl std::ops::Deref for IObjectWithCancelEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectWithCancelEvent, windows_core::IUnknown); impl IObjectWithCancelEvent { pub unsafe fn GetCancelEvent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCancelEvent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15246,7 +15246,7 @@ windows_core::imp::define_interface!(IObjectWithFolderEnumMode, IObjectWithFolde impl std::ops::Deref for IObjectWithFolderEnumMode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectWithFolderEnumMode, windows_core::IUnknown); @@ -15255,7 +15255,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15269,7 +15269,7 @@ windows_core::imp::define_interface!(IObjectWithProgID, IObjectWithProgID_Vtbl, impl std::ops::Deref for IObjectWithProgID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectWithProgID, windows_core::IUnknown); @@ -15281,7 +15281,7 @@ impl IObjectWithProgID { (windows_core::Interface::vtable(self).SetProgID)(windows_core::Interface::as_raw(self), pszprogid.param().abi()).ok() } pub unsafe fn GetProgID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProgID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15295,7 +15295,7 @@ windows_core::imp::define_interface!(IObjectWithSelection, IObjectWithSelection_ impl std::ops::Deref for IObjectWithSelection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IObjectWithSelection, windows_core::IUnknown); @@ -15324,7 +15324,7 @@ windows_core::imp::define_interface!(IOpenControlPanel, IOpenControlPanel_Vtbl, impl std::ops::Deref for IOpenControlPanel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenControlPanel, windows_core::IUnknown); @@ -15344,7 +15344,7 @@ impl IOpenControlPanel { (windows_core::Interface::vtable(self).GetPath)(windows_core::Interface::as_raw(self), pszname.param().abi(), core::mem::transmute(pszpath.as_ptr()), pszpath.len().try_into().unwrap()).ok() } pub unsafe fn GetCurrentView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentView)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15359,7 +15359,7 @@ windows_core::imp::define_interface!(IOpenSearchSource, IOpenSearchSource_Vtbl, impl std::ops::Deref for IOpenSearchSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenSearchSource, windows_core::IUnknown); @@ -15383,7 +15383,7 @@ windows_core::imp::define_interface!(IOperationsProgressDialog, IOperationsProgr impl std::ops::Deref for IOperationsProgressDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOperationsProgressDialog, windows_core::IUnknown); @@ -15428,7 +15428,7 @@ impl IOperationsProgressDialog { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetOperationStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOperationStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15454,7 +15454,7 @@ windows_core::imp::define_interface!(IPackageDebugSettings, IPackageDebugSetting impl std::ops::Deref for IPackageDebugSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPackageDebugSettings, windows_core::IUnknown); @@ -15531,7 +15531,7 @@ impl IPackageDebugSettings { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPackageExecutionState)(windows_core::Interface::as_raw(self), packagefullname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RegisterForPackageStateChanges(&self, packagefullname: P0, ppackageexecutionstatechangenotification: P1) -> windows_core::Result @@ -15539,7 +15539,7 @@ impl IPackageDebugSettings { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterForPackageStateChanges)(windows_core::Interface::as_raw(self), packagefullname.param().abi(), ppackageexecutionstatechangenotification.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnregisterForPackageStateChanges(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -15569,7 +15569,7 @@ windows_core::imp::define_interface!(IPackageDebugSettings2, IPackageDebugSettin impl std::ops::Deref for IPackageDebugSettings2 { type Target = IPackageDebugSettings; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPackageDebugSettings2, windows_core::IUnknown, IPackageDebugSettings); @@ -15590,7 +15590,7 @@ windows_core::imp::define_interface!(IPackageExecutionStateChangeNotification, I impl std::ops::Deref for IPackageExecutionStateChangeNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPackageExecutionStateChangeNotification, windows_core::IUnknown); @@ -15611,7 +15611,7 @@ windows_core::imp::define_interface!(IParentAndItem, IParentAndItem_Vtbl, 0xb3a4 impl std::ops::Deref for IParentAndItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IParentAndItem, windows_core::IUnknown); @@ -15644,7 +15644,7 @@ windows_core::imp::define_interface!(IParseAndCreateItem, IParseAndCreateItem_Vt impl std::ops::Deref for IParseAndCreateItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IParseAndCreateItem, windows_core::IUnknown); @@ -15675,7 +15675,7 @@ windows_core::imp::define_interface!(IPersistFolder, IPersistFolder_Vtbl, 0x0002 impl std::ops::Deref for IPersistFolder { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -15702,7 +15702,7 @@ windows_core::imp::define_interface!(IPersistFolder2, IPersistFolder2_Vtbl, 0x1a impl std::ops::Deref for IPersistFolder2 { type Target = IPersistFolder; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -15711,7 +15711,7 @@ windows_core::imp::interface_hierarchy!(IPersistFolder2, windows_core::IUnknown, impl IPersistFolder2 { #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetCurFolder(&self) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurFolder)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15730,7 +15730,7 @@ windows_core::imp::define_interface!(IPersistFolder3, IPersistFolder3_Vtbl, 0xce impl std::ops::Deref for IPersistFolder3 { type Target = IPersistFolder2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -15768,7 +15768,7 @@ windows_core::imp::define_interface!(IPersistIDList, IPersistIDList_Vtbl, 0x1079 impl std::ops::Deref for IPersistIDList { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -15781,7 +15781,7 @@ impl IPersistIDList { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIDList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -15802,7 +15802,7 @@ windows_core::imp::define_interface!(IPreviewHandler, IPreviewHandler_Vtbl, 0x88 impl std::ops::Deref for IPreviewHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPreviewHandler, windows_core::IUnknown); @@ -15826,7 +15826,7 @@ impl IPreviewHandler { (windows_core::Interface::vtable(self).SetFocus)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn QueryFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryFocus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -15852,14 +15852,14 @@ windows_core::imp::define_interface!(IPreviewHandlerFrame, IPreviewHandlerFrame_ impl std::ops::Deref for IPreviewHandlerFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPreviewHandlerFrame, windows_core::IUnknown); impl IPreviewHandlerFrame { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetWindowContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindowContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -15883,7 +15883,7 @@ windows_core::imp::define_interface!(IPreviewHandlerVisuals, IPreviewHandlerVisu impl std::ops::Deref for IPreviewHandlerVisuals { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPreviewHandlerVisuals, windows_core::IUnknown); @@ -15919,7 +15919,7 @@ windows_core::imp::define_interface!(IPreviewItem, IPreviewItem_Vtbl, 0x36149969 impl std::ops::Deref for IPreviewItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPreviewItem, windows_core::IUnknown, IRelatedItem); @@ -15932,7 +15932,7 @@ windows_core::imp::define_interface!(IPreviousVersionsInfo, IPreviousVersionsInf impl std::ops::Deref for IPreviousVersionsInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPreviousVersionsInfo, windows_core::IUnknown); @@ -15942,7 +15942,7 @@ impl IPreviousVersionsInfo { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AreSnapshotsAvailable)(windows_core::Interface::as_raw(self), pszpath.param().abi(), foktobeslow.param().abi(), &mut result__).map(|| result__) } } @@ -15955,7 +15955,7 @@ windows_core::imp::define_interface!(IProfferService, IProfferService_Vtbl, 0xcb impl std::ops::Deref for IProfferService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProfferService, windows_core::IUnknown); @@ -15965,7 +15965,7 @@ impl IProfferService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ProfferService)(windows_core::Interface::as_raw(self), serviceid, serviceprovider.param().abi(), &mut result__).map(|| result__) } pub unsafe fn RevokeService(&self, cookie: u32) -> windows_core::Result<()> { @@ -15985,7 +15985,7 @@ windows_core::imp::define_interface!(IProgressDialog, IProgressDialog_Vtbl, 0xeb impl std::ops::Deref for IProgressDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IProgressDialog, windows_core::IUnknown); @@ -16056,13 +16056,13 @@ windows_core::imp::define_interface!(IPropertyKeyStore, IPropertyKeyStore_Vtbl, impl std::ops::Deref for IPropertyKeyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPropertyKeyStore, windows_core::IUnknown); impl IPropertyKeyStore { pub unsafe fn GetKeyCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKeyCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -16111,7 +16111,7 @@ windows_core::imp::define_interface!(IPublishedApp, IPublishedApp_Vtbl, 0x1bc752 impl std::ops::Deref for IPublishedApp { type Target = IShellApp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPublishedApp, windows_core::IUnknown, IShellApp); @@ -16137,7 +16137,7 @@ windows_core::imp::define_interface!(IPublishedApp2, IPublishedApp2_Vtbl, 0x12b8 impl std::ops::Deref for IPublishedApp2 { type Target = IPublishedApp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPublishedApp2, windows_core::IUnknown, IShellApp, IPublishedApp); @@ -16158,7 +16158,7 @@ windows_core::imp::define_interface!(IPublishingWizard, IPublishingWizard_Vtbl, impl std::ops::Deref for IPublishingWizard { type Target = IWizardExtension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPublishingWizard, windows_core::IUnknown, IWizardExtension); @@ -16192,7 +16192,7 @@ windows_core::imp::define_interface!(IQueryAssociations, IQueryAssociations_Vtbl impl std::ops::Deref for IQueryAssociations { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryAssociations, windows_core::IUnknown); @@ -16217,7 +16217,7 @@ impl IQueryAssociations { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetKey)(windows_core::Interface::as_raw(self), flags, key, pszextra.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetData(&self, flags: ASSOCF, data: ASSOCDATA, pszextra: P0, pvout: Option<*mut core::ffi::c_void>, pcbout: Option<*mut u32>) -> windows_core::Result<()> @@ -16252,7 +16252,7 @@ windows_core::imp::define_interface!(IQueryCancelAutoPlay, IQueryCancelAutoPlay_ impl std::ops::Deref for IQueryCancelAutoPlay { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryCancelAutoPlay, windows_core::IUnknown); @@ -16274,13 +16274,13 @@ windows_core::imp::define_interface!(IQueryCodePage, IQueryCodePage_Vtbl, 0xc7b2 impl std::ops::Deref for IQueryCodePage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryCodePage, windows_core::IUnknown); impl IQueryCodePage { pub unsafe fn GetCodePage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCodePage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCodePage(&self, uicodepage: u32) -> windows_core::Result<()> { @@ -16297,7 +16297,7 @@ windows_core::imp::define_interface!(IQueryContinue, IQueryContinue_Vtbl, 0x7307 impl std::ops::Deref for IQueryContinue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryContinue, windows_core::IUnknown); @@ -16315,7 +16315,7 @@ windows_core::imp::define_interface!(IQueryContinueWithStatus, IQueryContinueWit impl std::ops::Deref for IQueryContinueWithStatus { type Target = IQueryContinue; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryContinueWithStatus, windows_core::IUnknown, IQueryContinue); @@ -16336,17 +16336,17 @@ windows_core::imp::define_interface!(IQueryInfo, IQueryInfo_Vtbl, 0x00021500_000 impl std::ops::Deref for IQueryInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IQueryInfo, windows_core::IUnknown); impl IQueryInfo { pub unsafe fn GetInfoTip(&self, dwflags: QITIPF_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInfoTip)(windows_core::Interface::as_raw(self), dwflags.0 as _, &mut result__).map(|| result__) } pub unsafe fn GetInfoFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInfoFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -16360,13 +16360,13 @@ windows_core::imp::define_interface!(IRegTreeItem, IRegTreeItem_Vtbl, 0xa9521922 impl std::ops::Deref for IRegTreeItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRegTreeItem, windows_core::IUnknown); impl IRegTreeItem { pub unsafe fn GetCheckState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCheckState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCheckState(&self, bcheck: P0) -> windows_core::Result<()> @@ -16386,18 +16386,18 @@ windows_core::imp::define_interface!(IRelatedItem, IRelatedItem_Vtbl, 0xa73ce67a impl std::ops::Deref for IRelatedItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRelatedItem, windows_core::IUnknown); impl IRelatedItem { #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetItemIDList(&self) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemIDList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -16414,7 +16414,7 @@ windows_core::imp::define_interface!(IRemoteComputer, IRemoteComputer_Vtbl, 0x00 impl std::ops::Deref for IRemoteComputer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRemoteComputer, windows_core::IUnknown); @@ -16436,7 +16436,7 @@ windows_core::imp::define_interface!(IResolveShellLink, IResolveShellLink_Vtbl, impl std::ops::Deref for IResolveShellLink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResolveShellLink, windows_core::IUnknown); @@ -16458,7 +16458,7 @@ windows_core::imp::define_interface!(IResultsFolder, IResultsFolder_Vtbl, 0x96e5 impl std::ops::Deref for IResultsFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IResultsFolder, windows_core::IUnknown); @@ -16506,7 +16506,7 @@ windows_core::imp::define_interface!(IRunnableTask, IRunnableTask_Vtbl, 0x85788d impl std::ops::Deref for IRunnableTask { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRunnableTask, windows_core::IUnknown); @@ -16545,7 +16545,7 @@ windows_core::imp::define_interface!(IScriptErrorList, IScriptErrorList_Vtbl, 0x impl std::ops::Deref for IScriptErrorList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -16559,39 +16559,39 @@ impl IScriptErrorList { (windows_core::Interface::vtable(self).retreatError)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn canAdvanceError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).canAdvanceError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn canRetreatError(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).canRetreatError)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getErrorLine(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getErrorLine)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getErrorChar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getErrorChar)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getErrorCode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getErrorCode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getErrorMsg(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getErrorMsg)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getErrorUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getErrorUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getAlwaysShowLockState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAlwaysShowLockState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn getDetailsPaneOpen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getDetailsPaneOpen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn setDetailsPaneOpen(&self, fdetailspaneopen: P0) -> windows_core::Result<()> @@ -16601,7 +16601,7 @@ impl IScriptErrorList { (windows_core::Interface::vtable(self).setDetailsPaneOpen)(windows_core::Interface::as_raw(self), fdetailspaneopen.param().abi()).ok() } pub unsafe fn getPerErrorDisplay(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getPerErrorDisplay)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn setPerErrorDisplay(&self, fpererrordisplay: P0) -> windows_core::Result<()> @@ -16622,8 +16622,8 @@ pub struct IScriptErrorList_Vtbl { pub getErrorLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub getErrorChar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub getErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub getErrorMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getErrorUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getErrorMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getErrorUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub getAlwaysShowLockState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub getDetailsPaneOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub setDetailsPaneOpen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -16634,7 +16634,7 @@ windows_core::imp::define_interface!(ISearchBoxInfo, ISearchBoxInfo_Vtbl, 0x6af6 impl std::ops::Deref for ISearchBoxInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchBoxInfo, windows_core::IUnknown); @@ -16647,7 +16647,7 @@ impl ISearchBoxInfo { (windows_core::Interface::vtable(self).GetCondition)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -16661,36 +16661,36 @@ windows_core::imp::define_interface!(ISearchContext, ISearchContext_Vtbl, 0x09f6 impl std::ops::Deref for ISearchContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchContext, windows_core::IUnknown); impl ISearchContext { pub unsafe fn GetSearchUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSearchUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSearchText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSearchText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSearchStyle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSearchStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct ISearchContext_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetSearchUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSearchText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSearchUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSearchText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSearchStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchFolderItemFactory, ISearchFolderItemFactory_Vtbl, 0xa0ffbc28_5482_4366_be27_3e81e78e06c2); impl std::ops::Deref for ISearchFolderItemFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISearchFolderItemFactory, windows_core::IUnknown); @@ -16748,7 +16748,7 @@ impl ISearchFolderItemFactory { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIDList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -16790,22 +16790,22 @@ windows_core::imp::define_interface!(ISharedBitmap, ISharedBitmap_Vtbl, 0x091162 impl std::ops::Deref for ISharedBitmap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISharedBitmap, windows_core::IUnknown); impl ISharedBitmap { #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetSharedBitmap(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSharedBitmap)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -16817,7 +16817,7 @@ impl ISharedBitmap { } #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn Detach(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Detach)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -16843,7 +16843,7 @@ windows_core::imp::define_interface!(ISharingConfigurationManager, ISharingConfi impl std::ops::Deref for ISharingConfigurationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISharingConfigurationManager, windows_core::IUnknown); @@ -16858,7 +16858,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSharePermissions)(windows_core::Interface::as_raw(self), dsid, &mut result__).map(|| result__) } pub unsafe fn SharePrinters(&self) -> windows_core::Result<()> { @@ -16886,7 +16886,7 @@ windows_core::imp::define_interface!(IShellApp, IShellApp_Vtbl, 0xa3e14960_935f_ impl std::ops::Deref for IShellApp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellApp, windows_core::IUnknown); @@ -16895,7 +16895,7 @@ impl IShellApp { (windows_core::Interface::vtable(self).GetAppInfo)(windows_core::Interface::as_raw(self), pai).ok() } pub unsafe fn GetPossibleActions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPossibleActions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSlowAppInfo(&self, psaid: *mut SLOWAPPINFO) -> windows_core::Result<()> { @@ -16923,7 +16923,7 @@ windows_core::imp::define_interface!(IShellBrowser, IShellBrowser_Vtbl, 0x000214 impl std::ops::Deref for IShellBrowser { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -16974,11 +16974,11 @@ impl IShellBrowser { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetViewStateStream(&self, grfmode: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetViewStateStream)(windows_core::Interface::as_raw(self), grfmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetControlWindow(&self, id: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetControlWindow)(windows_core::Interface::as_raw(self), id, &mut result__).map(|| result__) } pub unsafe fn SendControlMsg(&self, id: u32, umsg: u32, wparam: P0, lparam: P1, pret: Option<*mut super::super::Foundation::LRESULT>) -> windows_core::Result<()> @@ -16990,7 +16990,7 @@ impl IShellBrowser { } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn QueryActiveShellView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryActiveShellView)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Ole")] @@ -17054,7 +17054,7 @@ windows_core::imp::define_interface!(IShellChangeNotify, IShellChangeNotify_Vtbl impl std::ops::Deref for IShellChangeNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellChangeNotify, windows_core::IUnknown); @@ -17076,7 +17076,7 @@ windows_core::imp::define_interface!(IShellDetails, IShellDetails_Vtbl, 0x000214 impl std::ops::Deref for IShellDetails { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellDetails, windows_core::IUnknown); @@ -17104,7 +17104,7 @@ windows_core::imp::define_interface!(IShellDispatch, IShellDispatch_Vtbl, 0xd8f0 impl std::ops::Deref for IShellDispatch { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -17113,12 +17113,12 @@ windows_core::imp::interface_hierarchy!(IShellDispatch, windows_core::IUnknown, impl IShellDispatch { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -17126,7 +17126,7 @@ impl IShellDispatch { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).NameSpace)(windows_core::Interface::as_raw(self), vdir.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -17135,12 +17135,12 @@ impl IShellDispatch { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BrowseForFolder)(windows_core::Interface::as_raw(self), hwnd, title.param().abi(), options, rootfolder.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Windows(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Windows)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Open(&self, vdir: P0) -> windows_core::Result<()> @@ -17220,19 +17220,19 @@ pub struct IShellDispatch_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Parent: usize, #[cfg(feature = "Win32_System_Com")] - pub NameSpace: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub NameSpace: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] NameSpace: usize, #[cfg(feature = "Win32_System_Com")] - pub BrowseForFolder: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, i32, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub BrowseForFolder: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] BrowseForFolder: usize, #[cfg(feature = "Win32_System_Com")] pub Windows: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Windows: usize, - pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Explore: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Explore: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MinimizeAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub UndoMinimizeALL: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FileRun: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -17248,7 +17248,7 @@ pub struct IShellDispatch_Vtbl { pub FindFiles: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FindComputer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RefreshMenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ControlPanelItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ControlPanelItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellDispatch2, IShellDispatch2_Vtbl, 0xa4c6892c_3ba9_11d2_9dea_00c04fb16162); @@ -17256,7 +17256,7 @@ windows_core::imp::define_interface!(IShellDispatch2, IShellDispatch2_Vtbl, 0xa4 impl std::ops::Deref for IShellDispatch2 { type Target = IShellDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -17268,7 +17268,7 @@ impl IShellDispatch2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsRestricted)(windows_core::Interface::as_raw(self), group.param().abi(), restriction.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ShellExecute(&self, file: P0, vargs: P1, vdir: P2, voperation: P3, vshow: P4) -> windows_core::Result<()> @@ -17293,7 +17293,7 @@ impl IShellDispatch2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSystemInformation)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceStart(&self, servicename: P0, persistent: P1) -> windows_core::Result @@ -17301,7 +17301,7 @@ impl IShellDispatch2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceStart)(windows_core::Interface::as_raw(self), servicename.param().abi(), persistent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ServiceStop(&self, servicename: P0, persistent: P1) -> windows_core::Result @@ -17309,21 +17309,21 @@ impl IShellDispatch2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ServiceStop)(windows_core::Interface::as_raw(self), servicename.param().abi(), persistent.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsServiceRunning(&self, servicename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsServiceRunning)(windows_core::Interface::as_raw(self), servicename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CanStartStopService(&self, servicename: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanStartStopService)(windows_core::Interface::as_raw(self), servicename.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowBrowserBar(&self, bstrclsid: P0, bshow: P1) -> windows_core::Result @@ -17331,7 +17331,7 @@ impl IShellDispatch2 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowBrowserBar)(windows_core::Interface::as_raw(self), bstrclsid.param().abi(), bshow.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -17339,15 +17339,15 @@ impl IShellDispatch2 { #[repr(C)] pub struct IShellDispatch2_Vtbl { pub base__: IShellDispatch_Vtbl, - pub IsRestricted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub ShellExecute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub FindPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSystemInformation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceStart: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ServiceStop: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsServiceRunning: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub CanStartStopService: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ShowBrowserBar: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsRestricted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub ShellExecute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub FindPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSystemInformation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceStart: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ServiceStop: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsServiceRunning: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub CanStartStopService: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShowBrowserBar: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellDispatch3, IShellDispatch3_Vtbl, 0x177160ca_bb5a_411c_841d_bd38facdeaa0); @@ -17355,7 +17355,7 @@ windows_core::imp::define_interface!(IShellDispatch3, IShellDispatch3_Vtbl, 0x17 impl std::ops::Deref for IShellDispatch3 { type Target = IShellDispatch2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -17374,7 +17374,7 @@ impl IShellDispatch3 { #[repr(C)] pub struct IShellDispatch3_Vtbl { pub base__: IShellDispatch2_Vtbl, - pub AddToRecent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddToRecent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellDispatch4, IShellDispatch4_Vtbl, 0xefd84b2d_4bcf_4298_be25_eb542a59fbda); @@ -17382,7 +17382,7 @@ windows_core::imp::define_interface!(IShellDispatch4, IShellDispatch4_Vtbl, 0xef impl std::ops::Deref for IShellDispatch4 { type Target = IShellDispatch3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -17399,11 +17399,11 @@ impl IShellDispatch4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExplorerPolicy)(windows_core::Interface::as_raw(self), bstrpolicyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSetting(&self, lsetting: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSetting)(windows_core::Interface::as_raw(self), lsetting, &mut result__).map(|| result__) } } @@ -17413,7 +17413,7 @@ pub struct IShellDispatch4_Vtbl { pub base__: IShellDispatch3_Vtbl, pub WindowsSecurity: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ToggleDesktop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub ExplorerPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExplorerPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSetting: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -17422,7 +17422,7 @@ windows_core::imp::define_interface!(IShellDispatch5, IShellDispatch5_Vtbl, 0x86 impl std::ops::Deref for IShellDispatch5 { type Target = IShellDispatch4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -17445,7 +17445,7 @@ windows_core::imp::define_interface!(IShellDispatch6, IShellDispatch6_Vtbl, 0x28 impl std::ops::Deref for IShellDispatch6 { type Target = IShellDispatch5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -17466,7 +17466,7 @@ windows_core::imp::define_interface!(IShellExtInit, IShellExtInit_Vtbl, 0x000214 impl std::ops::Deref for IShellExtInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellExtInit, windows_core::IUnknown); @@ -17494,7 +17494,7 @@ windows_core::imp::define_interface!(IShellFavoritesNameSpace, IShellFavoritesNa impl std::ops::Deref for IShellFavoritesNameSpace { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -17532,15 +17532,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SubscriptionsEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CreateSubscriptionForSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSubscriptionForSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DeleteSubscriptionForSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeleteSubscriptionForSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRoot(&self, bstrfullpath: P0) -> windows_core::Result<()> @@ -17561,18 +17561,18 @@ pub struct IShellFavoritesNameSpace_Vtbl { pub Synchronize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Import: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Export: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub InvokeContextMenuCommand: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub InvokeContextMenuCommand: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub MoveSelectionTo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SubscriptionsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub CreateSubscriptionForSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub DeleteSubscriptionForSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellFolder, IShellFolder_Vtbl, 0x000214e6_0000_0000_c000_000000000046); impl std::ops::Deref for IShellFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellFolder, windows_core::IUnknown); @@ -17693,29 +17693,29 @@ windows_core::imp::define_interface!(IShellFolder2, IShellFolder2_Vtbl, 0x93f2f6 impl std::ops::Deref for IShellFolder2 { type Target = IShellFolder; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellFolder2, windows_core::IUnknown, IShellFolder); impl IShellFolder2 { pub unsafe fn GetDefaultSearchGUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultSearchGUID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumSearches(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumSearches)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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, psort, pdisplay).ok() } pub unsafe fn GetDefaultColumnState(&self, icolumn: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultColumnState)(windows_core::Interface::as_raw(self), icolumn, &mut result__).map(|| result__) } #[cfg(all(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDetailsEx)(windows_core::Interface::as_raw(self), pidl, pscid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -17735,7 +17735,7 @@ pub struct IShellFolder2_Vtbl { pub GetDefaultColumn: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, pub GetDefaultColumnState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] - pub GetDetailsEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const Common::ITEMIDLIST, *const PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDetailsEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const Common::ITEMIDLIST, *const PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] GetDetailsEx: usize, #[cfg(feature = "Win32_UI_Shell_Common")] @@ -17751,7 +17751,7 @@ windows_core::imp::define_interface!(IShellFolderBand, IShellFolderBand_Vtbl, 0x impl std::ops::Deref for IShellFolderBand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellFolderBand, windows_core::IUnknown); @@ -17792,7 +17792,7 @@ windows_core::imp::define_interface!(IShellFolderView, IShellFolderView_Vtbl, 0x impl std::ops::Deref for IShellFolderView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellFolderView, windows_core::IUnknown); @@ -17804,7 +17804,7 @@ impl IShellFolderView { (windows_core::Interface::vtable(self).Rearrange)(windows_core::Interface::as_raw(self), lparamsort.param().abi()).ok() } pub unsafe fn GetArrangeParam(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetArrangeParam)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ArrangeGrid(&self) -> windows_core::Result<()> { @@ -17818,7 +17818,7 @@ impl IShellFolderView { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn AddObject(&self, pidl: *const Common::ITEMIDLIST) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddObject)(windows_core::Interface::as_raw(self), pidl, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -17827,11 +17827,11 @@ impl IShellFolderView { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn RemoveObject(&self, pidl: Option<*const Common::ITEMIDLIST>) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoveObject)(windows_core::Interface::as_raw(self), core::mem::transmute(pidl.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } pub unsafe fn GetObjectCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetObjectCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetObjectCount(&self, ucount: u32, dwflags: u32) -> windows_core::Result<()> { @@ -17839,12 +17839,12 @@ impl IShellFolderView { } #[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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UpdateObject)(windows_core::Interface::as_raw(self), pidlold, pidlnew, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn RefreshObject(&self, pidl: *const Common::ITEMIDLIST) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RefreshObject)(windows_core::Interface::as_raw(self), pidl, &mut result__).map(|| result__) } pub unsafe fn SetRedraw(&self, bredraw: P0) -> windows_core::Result<()> @@ -17854,7 +17854,7 @@ impl IShellFolderView { (windows_core::Interface::vtable(self).SetRedraw)(windows_core::Interface::as_raw(self), bredraw.param().abi()).ok() } pub unsafe fn GetSelectedCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectedCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -17869,11 +17869,11 @@ impl IShellFolderView { (windows_core::Interface::vtable(self).IsDropOnSource)(windows_core::Interface::as_raw(self), pdroptarget.param().abi()).ok() } pub unsafe fn GetDragPoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDragPoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDropPoint(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDropPoint)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -17908,14 +17908,14 @@ impl IShellFolderView { (windows_core::Interface::vtable(self).SetPoints)(windows_core::Interface::as_raw(self), pdataobject.param().abi()).ok() } pub unsafe fn GetItemSpacing(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemSpacing)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCallback(&self, pnewcb: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetCallback)(windows_core::Interface::as_raw(self), pnewcb.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Select(&self, dwflags: SFVS_SELECT) -> windows_core::Result<()> { @@ -18004,7 +18004,7 @@ windows_core::imp::define_interface!(IShellFolderViewCB, IShellFolderViewCB_Vtbl impl std::ops::Deref for IShellFolderViewCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellFolderViewCB, windows_core::IUnknown); @@ -18028,7 +18028,7 @@ windows_core::imp::define_interface!(IShellFolderViewDual, IShellFolderViewDual_ impl std::ops::Deref for IShellFolderViewDual { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -18037,27 +18037,27 @@ windows_core::imp::interface_hierarchy!(IShellFolderViewDual, windows_core::IUnk impl IShellFolderViewDual { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Folder(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Folder)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectedItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FocusedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FocusedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelectItem(&self, pvfi: *const windows_core::VARIANT, dwflags: i32) -> windows_core::Result<()> { @@ -18070,16 +18070,16 @@ impl IShellFolderViewDual { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PopupItemMenu)(windows_core::Interface::as_raw(self), pfi.param().abi(), vx.param().abi(), vy.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Script(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Script)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ViewOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ViewOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -18107,9 +18107,9 @@ pub struct IShellFolderViewDual_Vtbl { pub FocusedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FocusedItem: usize, - pub SelectItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub SelectItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub PopupItemMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PopupItemMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] PopupItemMenu: usize, #[cfg(feature = "Win32_System_Com")] @@ -18124,7 +18124,7 @@ windows_core::imp::define_interface!(IShellFolderViewDual2, IShellFolderViewDual impl std::ops::Deref for IShellFolderViewDual2 { type Target = IShellFolderViewDual; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -18132,7 +18132,7 @@ windows_core::imp::interface_hierarchy!(IShellFolderViewDual2, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IShellFolderViewDual2 { pub unsafe fn CurrentViewMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentViewMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCurrentViewMode(&self, viewmode: u32) -> windows_core::Result<()> { @@ -18156,7 +18156,7 @@ windows_core::imp::define_interface!(IShellFolderViewDual3, IShellFolderViewDual impl std::ops::Deref for IShellFolderViewDual3 { type Target = IShellFolderViewDual2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -18164,7 +18164,7 @@ windows_core::imp::interface_hierarchy!(IShellFolderViewDual3, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IShellFolderViewDual3 { pub unsafe fn GroupBy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GroupBy)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetGroupBy(&self, bstrgroupby: P0) -> windows_core::Result<()> @@ -18174,14 +18174,14 @@ impl IShellFolderViewDual3 { (windows_core::Interface::vtable(self).SetGroupBy)(windows_core::Interface::as_raw(self), bstrgroupby.param().abi()).ok() } pub unsafe fn FolderFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FolderFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFolderFlags(&self, dwflags: u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetFolderFlags)(windows_core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn SortColumns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SortColumns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSortColumns(&self, bstrsortcolumns: P0) -> windows_core::Result<()> @@ -18194,7 +18194,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IconSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FilterView(&self, bstrfiltertext: P0) -> windows_core::Result<()> @@ -18208,28 +18208,28 @@ impl IShellFolderViewDual3 { #[repr(C)] pub struct IShellFolderViewDual3_Vtbl { pub base__: IShellFolderViewDual2_Vtbl, - pub GroupBy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetGroupBy: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GroupBy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetGroupBy: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub FolderFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetFolderFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, - pub SortColumns: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSortColumns: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SortColumns: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSortColumns: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetIconSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IconSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub FilterView: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FilterView: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellIcon, IShellIcon_Vtbl, 0x000214e5_0000_0000_c000_000000000046); impl std::ops::Deref for IShellIcon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellIcon, windows_core::IUnknown); impl IShellIcon { #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIconOf(&self, pidl: *const Common::ITEMIDLIST, flags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIconOf)(windows_core::Interface::as_raw(self), pidl, flags, &mut result__).map(|| result__) } } @@ -18245,7 +18245,7 @@ windows_core::imp::define_interface!(IShellIconOverlay, IShellIconOverlay_Vtbl, impl std::ops::Deref for IShellIconOverlay { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellIconOverlay, windows_core::IUnknown); @@ -18275,7 +18275,7 @@ windows_core::imp::define_interface!(IShellIconOverlayIdentifier, IShellIconOver impl std::ops::Deref for IShellIconOverlayIdentifier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellIconOverlayIdentifier, windows_core::IUnknown); @@ -18290,7 +18290,7 @@ impl IShellIconOverlayIdentifier { (windows_core::Interface::vtable(self).GetOverlayInfo)(windows_core::Interface::as_raw(self), core::mem::transmute(pwsziconfile.as_ptr()), pwsziconfile.len().try_into().unwrap(), pindex, pdwflags).ok() } pub unsafe fn GetPriority(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPriority)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -18305,7 +18305,7 @@ windows_core::imp::define_interface!(IShellIconOverlayManager, IShellIconOverlay impl std::ops::Deref for IShellIconOverlayManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellIconOverlayManager, windows_core::IUnknown); @@ -18348,7 +18348,7 @@ windows_core::imp::define_interface!(IShellImageData, IShellImageData_Vtbl, 0xbf impl std::ops::Deref for IShellImageData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellImageData, windows_core::IUnknown); @@ -18416,7 +18416,7 @@ impl IShellImageData { } #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe fn GetProperties(&self, dwmode: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperties)(windows_core::Interface::as_raw(self), dwmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Rotate(&self, dwangle: u32) -> windows_core::Result<()> { @@ -18452,7 +18452,7 @@ impl IShellImageData { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterAbort)(windows_core::Interface::as_raw(self), pabort.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CloneFrame(&self, ppimg: *mut *mut u8) -> windows_core::Result<()> { @@ -18512,7 +18512,7 @@ windows_core::imp::define_interface!(IShellImageDataAbort, IShellImageDataAbort_ impl std::ops::Deref for IShellImageDataAbort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellImageDataAbort, windows_core::IUnknown); @@ -18530,20 +18530,20 @@ windows_core::imp::define_interface!(IShellImageDataFactory, IShellImageDataFact impl std::ops::Deref for IShellImageDataFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellImageDataFactory, windows_core::IUnknown); impl IShellImageDataFactory { pub unsafe fn CreateIShellImageData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateIShellImageData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateImageFromFile(&self, pszpath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateImageFromFile)(windows_core::Interface::as_raw(self), pszpath.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -18551,14 +18551,14 @@ impl IShellImageDataFactory { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateImageFromStream)(windows_core::Interface::as_raw(self), pstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDataFormatFromPath(&self, pszpath: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataFormatFromPath)(windows_core::Interface::as_raw(self), pszpath.param().abi(), &mut result__).map(|| result__) } } @@ -18577,7 +18577,7 @@ windows_core::imp::define_interface!(IShellItem, IShellItem_Vtbl, 0x43826d1e_e71 impl std::ops::Deref for IShellItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellItem, windows_core::IUnknown); @@ -18592,23 +18592,23 @@ impl IShellItem { (windows_core::Interface::vtable(self).BindToHandler)(windows_core::Interface::as_raw(self), pbc.param().abi(), bhid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayName(&self, sigdnname: SIGDN) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayName)(windows_core::Interface::as_raw(self), sigdnname, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_SystemServices")] pub unsafe fn GetAttributes(&self, sfgaomask: super::super::System::SystemServices::SFGAO_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributes)(windows_core::Interface::as_raw(self), sfgaomask, &mut result__).map(|| result__) } pub unsafe fn Compare(&self, psi: P0, hint: u32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Compare)(windows_core::Interface::as_raw(self), psi.param().abi(), hint, &mut result__).map(|| result__) } } @@ -18631,7 +18631,7 @@ windows_core::imp::define_interface!(IShellItem2, IShellItem2_Vtbl, 0x7e9fb0d3_9 impl std::ops::Deref for IShellItem2 { type Target = IShellItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellItem2, windows_core::IUnknown, IShellItem); @@ -18678,42 +18678,42 @@ impl IShellItem2 { } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProperty(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), key, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetCLSID(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCLSID)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetFileTime(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFileTime)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetInt32(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInt32)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetString(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetString)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetUInt32(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUInt32)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetUInt64(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUInt64)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetBool(&self, key: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBool)(windows_core::Interface::as_raw(self), key, &mut result__).map(|| result__) } } @@ -18741,7 +18741,7 @@ pub struct IShellItem2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Update: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetProperty: usize, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -18777,7 +18777,7 @@ windows_core::imp::define_interface!(IShellItemArray, IShellItemArray_Vtbl, 0xb6 impl std::ops::Deref for IShellItemArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellItemArray, windows_core::IUnknown); @@ -18809,19 +18809,19 @@ impl IShellItemArray { } #[cfg(feature = "Win32_System_SystemServices")] pub unsafe fn GetAttributes(&self, attribflags: SIATTRIBFLAGS, sfgaomask: super::super::System::SystemServices::SFGAO_FLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributes)(windows_core::Interface::as_raw(self), attribflags, sfgaomask, &mut result__).map(|| result__) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemAt(&self, dwindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemAt)(windows_core::Interface::as_raw(self), dwindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -18852,7 +18852,7 @@ windows_core::imp::define_interface!(IShellItemFilter, IShellItemFilter_Vtbl, 0x impl std::ops::Deref for IShellItemFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellItemFilter, windows_core::IUnknown); @@ -18867,7 +18867,7 @@ impl IShellItemFilter { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnumFlagsForItem)(windows_core::Interface::as_raw(self), psi.param().abi(), &mut result__).map(|| result__) } } @@ -18881,14 +18881,14 @@ windows_core::imp::define_interface!(IShellItemImageFactory, IShellItemImageFact impl std::ops::Deref for IShellItemImageFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellItemImageFactory, windows_core::IUnknown); impl IShellItemImageFactory { #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe fn GetImage(&self, size: super::super::Foundation::SIZE, flags: SIIGBF) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImage)(windows_core::Interface::as_raw(self), core::mem::transmute(size), flags, &mut result__).map(|| result__) } } @@ -18904,17 +18904,17 @@ windows_core::imp::define_interface!(IShellItemResources, IShellItemResources_Vt impl std::ops::Deref for IShellItemResources { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellItemResources, windows_core::IUnknown); impl IShellItemResources { pub unsafe fn GetAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttributes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTimes(&self, pftcreation: *mut super::super::Foundation::FILETIME, pftwrite: *mut super::super::Foundation::FILETIME, pftaccess: *mut super::super::Foundation::FILETIME) -> windows_core::Result<()> { @@ -18924,11 +18924,11 @@ impl IShellItemResources { (windows_core::Interface::vtable(self).SetTimes)(windows_core::Interface::as_raw(self), pftcreation, pftwrite, pftaccess).ok() } pub unsafe fn GetResourceDescription(&self, pcsir: *const SHELL_ITEM_RESOURCE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetResourceDescription)(windows_core::Interface::as_raw(self), pcsir, &mut result__).map(|| result__) } pub unsafe fn EnumResources(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumResources)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportsResource(&self, pcsir: *const SHELL_ITEM_RESOURCE) -> windows_core::Result<()> { @@ -18970,7 +18970,7 @@ windows_core::imp::define_interface!(IShellLibrary, IShellLibrary_Vtbl, 0x11a66e impl std::ops::Deref for IShellLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellLibrary, windows_core::IUnknown); @@ -19025,21 +19025,21 @@ impl IShellLibrary { (windows_core::Interface::vtable(self).SetDefaultSaveFolder)(windows_core::Interface::as_raw(self), dsft, psi.param().abi()).ok() } pub unsafe fn GetOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFolderType)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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), ftid).ok() } pub unsafe fn GetIcon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIcon)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIcon(&self, pszicon: P0) -> windows_core::Result<()> @@ -19056,14 +19056,14 @@ impl IShellLibrary { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), psifoldertosavein.param().abi(), pszlibraryname.param().abi(), lsf, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SaveInKnownFolder(&self, kfidtosavein: *const windows_core::GUID, pszlibraryname: P0, lsf: LIBRARYSAVEFLAGS) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SaveInKnownFolder)(windows_core::Interface::as_raw(self), kfidtosavein, pszlibraryname.param().abi(), lsf, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19092,7 +19092,7 @@ windows_core::imp::define_interface!(IShellLinkA, IShellLinkA_Vtbl, 0x000214ee_0 impl std::ops::Deref for IShellLinkA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellLinkA, windows_core::IUnknown); @@ -19103,7 +19103,7 @@ impl IShellLinkA { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIDList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -19138,7 +19138,7 @@ impl IShellLinkA { (windows_core::Interface::vtable(self).SetArguments)(windows_core::Interface::as_raw(self), pszargs.param().abi()).ok() } pub unsafe fn GetHotkey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHotkey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHotkey(&self, whotkey: u16) -> windows_core::Result<()> { @@ -19146,7 +19146,7 @@ impl IShellLinkA { } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetShowCmd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShowCmd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -19222,7 +19222,7 @@ windows_core::imp::define_interface!(IShellLinkDataList, IShellLinkDataList_Vtbl impl std::ops::Deref for IShellLinkDataList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellLinkDataList, windows_core::IUnknown); @@ -19237,7 +19237,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFlags(&self, dwflags: u32) -> windows_core::Result<()> { @@ -19259,7 +19259,7 @@ windows_core::imp::define_interface!(IShellLinkDual, IShellLinkDual_Vtbl, 0x88a0 impl std::ops::Deref for IShellLinkDual { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -19267,7 +19267,7 @@ windows_core::imp::interface_hierarchy!(IShellLinkDual, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IShellLinkDual { pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPath(&self, bs: P0) -> windows_core::Result<()> @@ -19277,7 +19277,7 @@ impl IShellLinkDual { (windows_core::Interface::vtable(self).SetPath)(windows_core::Interface::as_raw(self), bs.param().abi()).ok() } pub unsafe fn Description(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Description)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDescription(&self, bs: P0) -> windows_core::Result<()> @@ -19287,7 +19287,7 @@ impl IShellLinkDual { (windows_core::Interface::vtable(self).SetDescription)(windows_core::Interface::as_raw(self), bs.param().abi()).ok() } pub unsafe fn WorkingDirectory(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WorkingDirectory)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetWorkingDirectory(&self, bs: P0) -> windows_core::Result<()> @@ -19297,7 +19297,7 @@ impl IShellLinkDual { (windows_core::Interface::vtable(self).SetWorkingDirectory)(windows_core::Interface::as_raw(self), bs.param().abi()).ok() } pub unsafe fn Arguments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Arguments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetArguments(&self, bs: P0) -> windows_core::Result<()> @@ -19307,14 +19307,14 @@ impl IShellLinkDual { (windows_core::Interface::vtable(self).SetArguments)(windows_core::Interface::as_raw(self), bs.param().abi()).ok() } pub unsafe fn Hotkey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Hotkey)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowCommand)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetShowCommand(&self, ishowcommand: i32) -> windows_core::Result<()> { @@ -19324,7 +19324,7 @@ impl IShellLinkDual { (windows_core::Interface::vtable(self).Resolve)(windows_core::Interface::as_raw(self), fflags).ok() } pub unsafe fn GetIconLocation(&self, pbs: *mut windows_core::BSTR) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIconLocation)(windows_core::Interface::as_raw(self), core::mem::transmute(pbs), &mut result__).map(|| result__) } pub unsafe fn SetIconLocation(&self, bs: P0, iicon: i32) -> windows_core::Result<()> @@ -19344,22 +19344,22 @@ impl IShellLinkDual { #[repr(C)] pub struct IShellLinkDual_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetArguments: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub WorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetArguments: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Hotkey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetHotkey: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ShowCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetShowCommand: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub GetIconLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, - pub SetIconLocation: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, - pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetIconLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, + pub SetIconLocation: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellLinkDual2, IShellLinkDual2_Vtbl, 0x317ee249_f12e_11d2_b1e4_00c04f8eeb3e); @@ -19367,7 +19367,7 @@ windows_core::imp::define_interface!(IShellLinkDual2, IShellLinkDual2_Vtbl, 0x31 impl std::ops::Deref for IShellLinkDual2 { type Target = IShellLinkDual; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -19376,7 +19376,7 @@ windows_core::imp::interface_hierarchy!(IShellLinkDual2, windows_core::IUnknown, impl IShellLinkDual2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Target(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Target)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19393,7 +19393,7 @@ windows_core::imp::define_interface!(IShellLinkW, IShellLinkW_Vtbl, 0x000214f9_0 impl std::ops::Deref for IShellLinkW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellLinkW, windows_core::IUnknown); @@ -19404,7 +19404,7 @@ impl IShellLinkW { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetIDList(&self) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIDList)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -19439,7 +19439,7 @@ impl IShellLinkW { (windows_core::Interface::vtable(self).SetArguments)(windows_core::Interface::as_raw(self), pszargs.param().abi()).ok() } pub unsafe fn GetHotkey(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHotkey)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHotkey(&self, whotkey: u16) -> windows_core::Result<()> { @@ -19447,7 +19447,7 @@ impl IShellLinkW { } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetShowCmd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShowCmd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -19523,7 +19523,7 @@ windows_core::imp::define_interface!(IShellMenu, IShellMenu_Vtbl, 0xee1f7637_e13 impl std::ops::Deref for IShellMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellMenu, windows_core::IUnknown); @@ -19611,7 +19611,7 @@ windows_core::imp::define_interface!(IShellMenuCallback, IShellMenuCallback_Vtbl impl std::ops::Deref for IShellMenuCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellMenuCallback, windows_core::IUnknown); @@ -19639,7 +19639,7 @@ windows_core::imp::define_interface!(IShellNameSpace, IShellNameSpace_Vtbl, 0xe5 impl std::ops::Deref for IShellNameSpace { type Target = IShellFavoritesNameSpace; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -19647,7 +19647,7 @@ windows_core::imp::interface_hierarchy!(IShellNameSpace, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IShellNameSpace { pub unsafe fn EnumOptions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnumOptions(&self, lval: i32) -> windows_core::Result<()> { @@ -19655,7 +19655,7 @@ impl IShellNameSpace { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedItem(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectedItem)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -19666,7 +19666,7 @@ impl IShellNameSpace { (windows_core::Interface::vtable(self).SetSelectedItem)(windows_core::Interface::as_raw(self), pitem.param().abi()).ok() } pub unsafe fn Root(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Root)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetRoot(&self, var: P0) -> windows_core::Result<()> @@ -19676,21 +19676,21 @@ impl IShellNameSpace { (windows_core::Interface::vtable(self).SetRoot)(windows_core::Interface::as_raw(self), var.param().abi()).ok() } pub unsafe fn Depth(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Depth)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Mode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Flags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFlags(&self, dwflags: u32) -> windows_core::Result<()> { @@ -19700,11 +19700,11 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TVFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Columns(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Columns)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetColumns(&self, bstrcolumns: P0) -> windows_core::Result<()> @@ -19714,7 +19714,7 @@ impl IShellNameSpace { (windows_core::Interface::vtable(self).SetColumns)(windows_core::Interface::as_raw(self), bstrcolumns.param().abi()).ok() } pub unsafe fn CountViewTypes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CountViewTypes)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetViewType(&self, itype: i32) -> windows_core::Result<()> { @@ -19722,7 +19722,7 @@ impl IShellNameSpace { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn SelectedItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelectedItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Expand(&self, var: P0, idepth: i32) -> windows_core::Result<()> @@ -19749,8 +19749,8 @@ pub struct IShellNameSpace_Vtbl { pub SetSelectedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SetSelectedItem: usize, - pub Root: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Root: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Depth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetDepth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -19759,22 +19759,22 @@ pub struct IShellNameSpace_Vtbl { pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetTVFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub TVFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub Columns: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetColumns: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Columns: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetColumns: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub CountViewTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetViewType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub SelectedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] SelectedItems: usize, - pub Expand: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, + pub Expand: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub UnselectAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellPropSheetExt, IShellPropSheetExt_Vtbl, 0x000214e9_0000_0000_c000_000000000046); impl std::ops::Deref for IShellPropSheetExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellPropSheetExt, windows_core::IUnknown); @@ -19810,7 +19810,7 @@ windows_core::imp::define_interface!(IShellRunDll, IShellRunDll_Vtbl, 0xfce4bde0 impl std::ops::Deref for IShellRunDll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellRunDll, windows_core::IUnknown); @@ -19831,7 +19831,7 @@ windows_core::imp::define_interface!(IShellService, IShellService_Vtbl, 0x5836fb impl std::ops::Deref for IShellService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellService, windows_core::IUnknown); @@ -19852,7 +19852,7 @@ windows_core::imp::define_interface!(IShellTaskScheduler, IShellTaskScheduler_Vt impl std::ops::Deref for IShellTaskScheduler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IShellTaskScheduler, windows_core::IUnknown); @@ -19890,7 +19890,7 @@ windows_core::imp::define_interface!(IShellUIHelper, IShellUIHelper_Vtbl, 0x729f impl std::ops::Deref for IShellUIHelper { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -19929,7 +19929,7 @@ impl IShellUIHelper { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSubscribed)(windows_core::Interface::as_raw(self), url.param().abi(), &mut result__).map(|| result__) } pub unsafe fn NavigateAndFind(&self, url: P0, strquery: P1, vartargetframe: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -19963,7 +19963,7 @@ impl IShellUIHelper { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowBrowserUI)(windows_core::Interface::as_raw(self), bstrname.param().abi(), core::mem::transmute(pvarin), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -19974,16 +19974,16 @@ pub struct IShellUIHelper_Vtbl { pub ResetFirstBootMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ResetSafeMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RefreshOfflineDesktop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub AddFavorite: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddChannel: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AddDesktopComponent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsSubscribed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub NavigateAndFind: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ImportExportFavorites: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AutoCompleteSaveForm: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AutoScan: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub AutoCompleteAttach: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub ShowBrowserUI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddFavorite: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddChannel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddDesktopComponent: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsSubscribed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub NavigateAndFind: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ImportExportFavorites: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AutoCompleteSaveForm: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AutoScan: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub AutoCompleteAttach: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShowBrowserUI: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper2, IShellUIHelper2_Vtbl, 0xa7fe6eda_1932_4281_b881_87b31b8bc52c); @@ -19991,7 +19991,7 @@ windows_core::imp::define_interface!(IShellUIHelper2, IShellUIHelper2_Vtbl, 0xa7 impl std::ops::Deref for IShellUIHelper2 { type Target = IShellUIHelper; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20019,15 +20019,15 @@ impl IShellUIHelper2 { (windows_core::Interface::vtable(self).CustomizeSettings)(windows_core::Interface::as_raw(self), fsqm.param().abi(), fphishing.param().abi(), bstrlocale.param().abi()).ok() } pub unsafe fn SqmEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SqmEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PhishingEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PhishingEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BrandImageUri(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BrandImageUri)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SkipTabsWelcome(&self) -> windows_core::Result<()> { @@ -20046,15 +20046,15 @@ impl IShellUIHelper2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSearchProviderInstalled)(windows_core::Interface::as_raw(self), url.param().abi(), &mut result__).map(|| result__) } pub unsafe fn IsSearchMigrated(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSearchMigrated)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultSearchProvider(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultSearchProvider)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: P0) -> windows_core::Result<()> @@ -20064,11 +20064,11 @@ impl IShellUIHelper2 { (windows_core::Interface::vtable(self).RunOnceRequiredSettingsComplete)(windows_core::Interface::as_raw(self), fcomplete.param().abi()).ok() } pub unsafe fn RunOnceHasShown(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RunOnceHasShown)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SearchGuideUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SearchGuideUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20076,22 +20076,22 @@ impl IShellUIHelper2 { #[repr(C)] pub struct IShellUIHelper2_Vtbl { pub base__: IShellUIHelper_Vtbl, - pub AddSearchProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddSearchProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RunOnceShown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SkipRunOnce: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub CustomizeSettings: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CustomizeSettings: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SqmEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub PhishingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub BrandImageUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BrandImageUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SkipTabsWelcome: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DiagnoseConnection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CustomizeClearType: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub IsSearchProviderInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub IsSearchProviderInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub IsSearchMigrated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DefaultSearchProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DefaultSearchProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RunOnceRequiredSettingsComplete: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub RunOnceHasShown: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SearchGuideUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SearchGuideUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper3, IShellUIHelper3_Vtbl, 0x528df2ec_d419_40bc_9b6d_dcdbf9c1b25d); @@ -20099,7 +20099,7 @@ windows_core::imp::define_interface!(IShellUIHelper3, IShellUIHelper3_Vtbl, 0x52 impl std::ops::Deref for IShellUIHelper3 { type Target = IShellUIHelper2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20117,11 +20117,11 @@ impl IShellUIHelper3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsServiceInstalled)(windows_core::Interface::as_raw(self), url.param().abi(), verb.param().abi(), &mut result__).map(|| result__) } pub unsafe fn InPrivateFilteringEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InPrivateFilteringEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddToFavoritesBar(&self, url: P0, title: P1, r#type: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -20150,7 +20150,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsSuggestedSitesEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnableSuggestedSites(&self, fenable: P0) -> windows_core::Result<()> @@ -20176,17 +20176,17 @@ impl IShellUIHelper3 { #[repr(C)] pub struct IShellUIHelper3_Vtbl { pub base__: IShellUIHelper2_Vtbl, - pub AddService: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub IsServiceInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub AddService: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub IsServiceInstalled: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub InPrivateFilteringEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub AddToFavoritesBar: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddToFavoritesBar: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub BuildNewTabPage: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRecentlyClosedVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetActivitiesVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub ContentDiscoveryReset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsSuggestedSitesEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub EnableSuggestedSites: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub NavigateToSuggestedSites: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub NavigateToSuggestedSites: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ShowTabsHelp: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowInPrivateHelp: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -20196,7 +20196,7 @@ windows_core::imp::define_interface!(IShellUIHelper4, IShellUIHelper4_Vtbl, 0xb3 impl std::ops::Deref for IShellUIHelper4 { type Target = IShellUIHelper3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20204,7 +20204,7 @@ windows_core::imp::interface_hierarchy!(IShellUIHelper4, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper4 { pub unsafe fn msIsSiteMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msIsSiteMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn msSiteModeShowThumbBar(&self) -> windows_core::Result<()> { @@ -20215,7 +20215,7 @@ impl IShellUIHelper4 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msSiteModeAddThumbBarButton)(windows_core::Interface::as_raw(self), bstriconurl.param().abi(), bstrtooltip.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn msSiteModeUpdateThumbBarButton(&self, buttonid: P0, fenabled: P1, fvisible: P2) -> windows_core::Result<()> @@ -20264,7 +20264,7 @@ impl IShellUIHelper4 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msSiteModeAddButtonStyle)(windows_core::Interface::as_raw(self), uibuttonid.param().abi(), bstriconurl.param().abi(), bstrtooltip.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn msSiteModeShowButtonStyle(&self, uibuttonid: P0, uistyleid: P1) -> windows_core::Result<()> @@ -20281,7 +20281,7 @@ impl IShellUIHelper4 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msIsSiteModeFirstRun)(windows_core::Interface::as_raw(self), fpreservestate.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn msAddTrackingProtectionList(&self, url: P0, bstrfiltername: P1) -> windows_core::Result<()> @@ -20292,11 +20292,11 @@ impl IShellUIHelper4 { (windows_core::Interface::vtable(self).msAddTrackingProtectionList)(windows_core::Interface::as_raw(self), url.param().abi(), bstrfiltername.param().abi()).ok() } pub unsafe fn msTrackingProtectionEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msTrackingProtectionEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn msActiveXFilteringEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msActiveXFilteringEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -20306,20 +20306,20 @@ pub struct IShellUIHelper4_Vtbl { pub base__: IShellUIHelper3_Vtbl, pub msIsSiteMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub msSiteModeShowThumbBar: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub msSiteModeAddThumbBarButton: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub msSiteModeUpdateThumbBarButton: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub msSiteModeSetIconOverlay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub msSiteModeAddThumbBarButton: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub msSiteModeUpdateThumbBarButton: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub msSiteModeSetIconOverlay: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub msSiteModeClearIconOverlay: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msAddSiteMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub msSiteModeCreateJumpList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub msSiteModeAddJumpListItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub msSiteModeCreateJumpList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub msSiteModeAddJumpListItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub msSiteModeClearJumpList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msSiteModeShowJumpList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub msSiteModeAddButtonStyle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub msSiteModeShowButtonStyle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub msSiteModeAddButtonStyle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub msSiteModeShowButtonStyle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub msSiteModeActivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub msIsSiteModeFirstRun: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub msAddTrackingProtectionList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub msIsSiteModeFirstRun: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub msAddTrackingProtectionList: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub msTrackingProtectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub msActiveXFilteringEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } @@ -20329,7 +20329,7 @@ windows_core::imp::define_interface!(IShellUIHelper5, IShellUIHelper5_Vtbl, 0xa2 impl std::ops::Deref for IShellUIHelper5 { type Target = IShellUIHelper4; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20340,7 +20340,7 @@ impl IShellUIHelper5 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msProvisionNetworks)(windows_core::Interface::as_raw(self), bstrprovisioningxml.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn msReportSafeUrl(&self) -> windows_core::Result<()> { @@ -20369,7 +20369,7 @@ impl IShellUIHelper5 { #[repr(C)] pub struct IShellUIHelper5_Vtbl { pub base__: IShellUIHelper4_Vtbl, - pub msProvisionNetworks: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub msProvisionNetworks: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub msReportSafeUrl: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msSiteModeRefreshBadge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msSiteModeClearBadge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -20383,7 +20383,7 @@ windows_core::imp::define_interface!(IShellUIHelper6, IShellUIHelper6_Vtbl, 0x98 impl std::ops::Deref for IShellUIHelper6 { type Target = IShellUIHelper5; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20419,7 +20419,7 @@ impl IShellUIHelper6 { (windows_core::Interface::vtable(self).msEnableTileNotificationQueue)(windows_core::Interface::as_raw(self), fchange.param().abi()).ok() } pub unsafe fn msPinnedSiteState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).msPinnedSiteState)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn msEnableTileNotificationQueueForSquare150x150(&self, fchange: P0) -> windows_core::Result<()> @@ -20476,17 +20476,17 @@ impl IShellUIHelper6 { pub struct IShellUIHelper6_Vtbl { pub base__: IShellUIHelper5_Vtbl, pub msStopPeriodicTileUpdate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub msStartPeriodicTileUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub msStartPeriodicTileUpdateBatch: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub msStartPeriodicTileUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub msStartPeriodicTileUpdateBatch: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub msClearTile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msEnableTileNotificationQueue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub msPinnedSiteState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub msPinnedSiteState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub msEnableTileNotificationQueueForSquare150x150: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub msEnableTileNotificationQueueForWide310x150: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub msEnableTileNotificationQueueForSquare310x310: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub msScheduledTileNotification: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub msRemoveScheduledTileNotification: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub msStartPeriodicBadgeUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub msScheduledTileNotification: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub msRemoveScheduledTileNotification: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub msStartPeriodicBadgeUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, pub msStopPeriodicBadgeUpdate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub msLaunchInternetOptions: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } @@ -20496,7 +20496,7 @@ windows_core::imp::define_interface!(IShellUIHelper7, IShellUIHelper7_Vtbl, 0x60 impl std::ops::Deref for IShellUIHelper7 { type Target = IShellUIHelper6; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20514,7 +20514,7 @@ impl IShellUIHelper7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExperimentalFlag)(windows_core::Interface::as_raw(self), bstrflagstring.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetExperimentalValue(&self, bstrvaluestring: P0, dwvalue: u32) -> windows_core::Result<()> @@ -20527,7 +20527,7 @@ impl IShellUIHelper7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetExperimentalValue)(windows_core::Interface::as_raw(self), bstrvaluestring.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ResetAllExperimentalFlagsAndValues(&self) -> windows_core::Result<()> { @@ -20537,7 +20537,7 @@ impl IShellUIHelper7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNeedIEAutoLaunchFlag)(windows_core::Interface::as_raw(self), bstrurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetNeedIEAutoLaunchFlag(&self, bstrurl: P0, flag: P1) -> windows_core::Result<()> @@ -20551,7 +20551,7 @@ impl IShellUIHelper7 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasNeedIEAutoLaunchFlag)(windows_core::Interface::as_raw(self), bstrurl.param().abi(), &mut result__).map(|| result__) } pub unsafe fn LaunchIE(&self, bstrurl: P0, automated: P1) -> windows_core::Result<()> @@ -20566,15 +20566,15 @@ impl IShellUIHelper7 { #[repr(C)] pub struct IShellUIHelper7_Vtbl { pub base__: IShellUIHelper6_Vtbl, - pub SetExperimentalFlag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetExperimentalFlag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetExperimentalValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, - pub GetExperimentalValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub SetExperimentalFlag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetExperimentalFlag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetExperimentalValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, + pub GetExperimentalValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub ResetAllExperimentalFlagsAndValues: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetNeedIEAutoLaunchFlag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetNeedIEAutoLaunchFlag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub HasNeedIEAutoLaunchFlag: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub LaunchIE: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetNeedIEAutoLaunchFlag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub SetNeedIEAutoLaunchFlag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub HasNeedIEAutoLaunchFlag: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub LaunchIE: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper8, IShellUIHelper8_Vtbl, 0x66debcf2_05b0_4f07_b49b_b96241a65db2); @@ -20582,7 +20582,7 @@ windows_core::imp::define_interface!(IShellUIHelper8, IShellUIHelper8_Vtbl, 0x66 impl std::ops::Deref for IShellUIHelper8 { type Target = IShellUIHelper7; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20590,19 +20590,19 @@ windows_core::imp::interface_hierarchy!(IShellUIHelper8, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper8 { pub unsafe fn GetCVListData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCVListData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCVListLocalData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCVListLocalData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEMIEListData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEMIEListData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEMIEListLocalData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEMIEListLocalData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenFavoritesPane(&self) -> windows_core::Result<()> { @@ -20622,13 +20622,13 @@ impl IShellUIHelper8 { #[repr(C)] pub struct IShellUIHelper8_Vtbl { pub base__: IShellUIHelper7_Vtbl, - pub GetCVListData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCVListLocalData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetEMIEListData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetEMIEListLocalData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCVListData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCVListLocalData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEMIEListData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetEMIEListLocalData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OpenFavoritesPane: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OpenFavoritesSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub LaunchInHVSI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LaunchInHVSI: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper9, IShellUIHelper9_Vtbl, 0x6cdf73b0_7f2f_451f_bc0f_63e0f3284e54); @@ -20636,7 +20636,7 @@ windows_core::imp::define_interface!(IShellUIHelper9, IShellUIHelper9_Vtbl, 0x6c impl std::ops::Deref for IShellUIHelper9 { type Target = IShellUIHelper8; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20644,7 +20644,7 @@ windows_core::imp::interface_hierarchy!(IShellUIHelper9, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper9 { pub unsafe fn GetOSSku(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOSSku)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -20660,7 +20660,7 @@ windows_core::imp::define_interface!(IShellView, IShellView_Vtbl, 0x000214e3_000 impl std::ops::Deref for IShellView { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -20689,14 +20689,14 @@ impl IShellView { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateViewWindow)(windows_core::Interface::as_raw(self), psvprevious.param().abi(), pfs, psb.param().abi(), prcview, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Controls")] @@ -20755,7 +20755,7 @@ windows_core::imp::define_interface!(IShellView2, IShellView2_Vtbl, 0x88e39e80_3 impl std::ops::Deref for IShellView2 { type Target = IShellView; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -20802,7 +20802,7 @@ windows_core::imp::define_interface!(IShellView3, IShellView3_Vtbl, 0xec39fa88_f impl std::ops::Deref for IShellView3 { type Target = IShellView2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -20815,7 +20815,7 @@ impl IShellView3 { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateViewWindow3)(windows_core::Interface::as_raw(self), psbowner.param().abi(), psvprev.param().abi(), dwviewflags, dwmask, dwflags, fvmode, pvid, prcview, &mut result__).map(|| result__) } } @@ -20834,7 +20834,7 @@ windows_core::imp::define_interface!(IShellWindows, IShellWindows_Vtbl, 0x85cb69 impl std::ops::Deref for IShellWindows { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -20842,7 +20842,7 @@ windows_core::imp::interface_hierarchy!(IShellWindows, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IShellWindows { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -20850,11 +20850,11 @@ impl IShellWindows { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -20862,11 +20862,11 @@ impl IShellWindows { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Register)(windows_core::Interface::as_raw(self), pid.param().abi(), hwnd, swclass, &mut result__).map(|| result__) } pub unsafe fn RegisterPending(&self, lthreadid: i32, pvarloc: *const windows_core::VARIANT, pvarlocroot: *const windows_core::VARIANT, swclass: ShellWindowTypeConstants) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterPending)(windows_core::Interface::as_raw(self), lthreadid, core::mem::transmute(pvarloc), core::mem::transmute(pvarlocroot), swclass, &mut result__).map(|| result__) } pub unsafe fn Revoke(&self, lcookie: i32) -> windows_core::Result<()> { @@ -20883,7 +20883,7 @@ impl IShellWindows { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn FindWindowSW(&self, pvarloc: *const windows_core::VARIANT, pvarlocroot: *const windows_core::VARIANT, swclass: ShellWindowTypeConstants, phwnd: *mut i32, swfwoptions: ShellWindowFindWindowOptions) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindWindowSW)(windows_core::Interface::as_raw(self), core::mem::transmute(pvarloc), core::mem::transmute(pvarlocroot), swclass, phwnd, swfwoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnCreated(&self, lcookie: i32, punk: P0) -> windows_core::Result<()> @@ -20905,7 +20905,7 @@ pub struct IShellWindows_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -20913,12 +20913,12 @@ pub struct IShellWindows_Vtbl { pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, ShellWindowTypeConstants, *mut i32) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Register: usize, - pub RegisterPending: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, ShellWindowTypeConstants, *mut i32) -> windows_core::HRESULT, + pub RegisterPending: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, ShellWindowTypeConstants, *mut i32) -> windows_core::HRESULT, pub Revoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub OnNavigate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnNavigate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub OnActivated: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub FindWindowSW: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, ShellWindowTypeConstants, *mut i32, ShellWindowFindWindowOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub FindWindowSW: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, ShellWindowTypeConstants, *mut i32, ShellWindowFindWindowOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FindWindowSW: usize, pub OnCreated: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -20928,13 +20928,13 @@ windows_core::imp::define_interface!(ISortColumnArray, ISortColumnArray_Vtbl, 0x impl std::ops::Deref for ISortColumnArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISortColumnArray, windows_core::IUnknown); impl ISortColumnArray { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -20942,7 +20942,7 @@ impl ISortColumnArray { (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), index, sortcolumn).ok() } pub unsafe fn GetSortType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSortType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -20960,7 +20960,7 @@ windows_core::imp::define_interface!(IStartMenuPinnedList, IStartMenuPinnedList_ impl std::ops::Deref for IStartMenuPinnedList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStartMenuPinnedList, windows_core::IUnknown); @@ -20981,7 +20981,7 @@ windows_core::imp::define_interface!(IStorageProviderBanners, IStorageProviderBa impl std::ops::Deref for IStorageProviderBanners { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderBanners, windows_core::IUnknown); @@ -21012,7 +21012,7 @@ impl IStorageProviderBanners { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBanner)(windows_core::Interface::as_raw(self), provideridentity.param().abi(), subscriptionid.param().abi(), &mut result__).map(|| result__) } } @@ -21028,7 +21028,7 @@ windows_core::imp::define_interface!(IStorageProviderCopyHook, IStorageProviderC impl std::ops::Deref for IStorageProviderCopyHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderCopyHook, windows_core::IUnknown); @@ -21039,7 +21039,7 @@ impl IStorageProviderCopyHook { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CopyCallback)(windows_core::Interface::as_raw(self), hwnd.param().abi(), operation, flags, srcfile.param().abi(), srcattribs, destfile.param().abi(), destattribs, &mut result__).map(|| result__) } } @@ -21052,7 +21052,7 @@ windows_core::imp::define_interface!(IStorageProviderHandler, IStorageProviderHa impl std::ops::Deref for IStorageProviderHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderHandler, windows_core::IUnknown); @@ -21061,21 +21061,21 @@ impl IStorageProviderHandler { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyHandlerFromPath)(windows_core::Interface::as_raw(self), path.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyHandlerFromUri(&self, uri: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyHandlerFromUri)(windows_core::Interface::as_raw(self), uri.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyHandlerFromFileId(&self, fileid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyHandlerFromFileId)(windows_core::Interface::as_raw(self), fileid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21090,14 +21090,14 @@ windows_core::imp::define_interface!(IStorageProviderPropertyHandler, IStoragePr impl std::ops::Deref for IStorageProviderPropertyHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStorageProviderPropertyHandler, windows_core::IUnknown); impl IStorageProviderPropertyHandler { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn RetrieveProperties(&self, propertiestoretrieve: &[PropertiesSystem::PROPERTYKEY]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RetrieveProperties)(windows_core::Interface::as_raw(self), core::mem::transmute(propertiestoretrieve.as_ptr()), propertiestoretrieve.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -21126,7 +21126,7 @@ windows_core::imp::define_interface!(IStreamAsync, IStreamAsync_Vtbl, 0xfe0b6665 impl std::ops::Deref for IStreamAsync { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -21174,13 +21174,13 @@ windows_core::imp::define_interface!(IStreamUnbufferedInfo, IStreamUnbufferedInf impl std::ops::Deref for IStreamUnbufferedInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStreamUnbufferedInfo, windows_core::IUnknown); impl IStreamUnbufferedInfo { pub unsafe fn GetSectorSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSectorSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -21193,7 +21193,7 @@ windows_core::imp::define_interface!(ISuspensionDependencyManager, ISuspensionDe impl std::ops::Deref for ISuspensionDependencyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISuspensionDependencyManager, windows_core::IUnknown); @@ -21228,23 +21228,23 @@ windows_core::imp::define_interface!(ISyncMgrConflict, ISyncMgrConflict_Vtbl, 0x impl std::ops::Deref for ISyncMgrConflict { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrConflict, windows_core::IUnknown); impl ISyncMgrConflict { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetProperty(&self, propkey: *const PropertiesSystem::PROPERTYKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), propkey, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetConflictIdInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConflictIdInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemsArray(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemsArray)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Resolve(&self, presolveinfo: P0) -> windows_core::Result<()> @@ -21265,7 +21265,7 @@ impl ISyncMgrConflict { pub struct ISyncMgrConflict_Vtbl { pub base__: windows_core::IUnknown_Vtbl, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const PropertiesSystem::PROPERTYKEY, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const PropertiesSystem::PROPERTYKEY, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetProperty: usize, #[cfg(feature = "Win32_System_Com")] @@ -21280,7 +21280,7 @@ windows_core::imp::define_interface!(ISyncMgrConflictFolder, ISyncMgrConflictFol impl std::ops::Deref for ISyncMgrConflictFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrConflictFolder, windows_core::IUnknown); @@ -21290,7 +21290,7 @@ impl ISyncMgrConflictFolder { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConflictIDList)(windows_core::Interface::as_raw(self), pconflict.param().abi(), &mut result__).map(|| result__) } } @@ -21306,13 +21306,13 @@ windows_core::imp::define_interface!(ISyncMgrConflictItems, ISyncMgrConflictItem impl std::ops::Deref for ISyncMgrConflictItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrConflictItems, windows_core::IUnknown); impl ISyncMgrConflictItems { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItem(&self, iindex: u32, piteminfo: *mut CONFIRM_CONFLICT_ITEM) -> windows_core::Result<()> { @@ -21329,7 +21329,7 @@ windows_core::imp::define_interface!(ISyncMgrConflictPresenter, ISyncMgrConflict impl std::ops::Deref for ISyncMgrConflictPresenter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrConflictPresenter, windows_core::IUnknown); @@ -21351,17 +21351,17 @@ windows_core::imp::define_interface!(ISyncMgrConflictResolutionItems, ISyncMgrCo impl std::ops::Deref for ISyncMgrConflictResolutionItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrConflictResolutionItems, windows_core::IUnknown); impl ISyncMgrConflictResolutionItems { pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItem(&self, iindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), iindex, &mut result__).map(|| result__) } } @@ -21375,7 +21375,7 @@ windows_core::imp::define_interface!(ISyncMgrConflictResolveInfo, ISyncMgrConfli impl std::ops::Deref for ISyncMgrConflictResolveInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrConflictResolveInfo, windows_core::IUnknown); @@ -21384,18 +21384,18 @@ impl ISyncMgrConflictResolveInfo { (windows_core::Interface::vtable(self).GetIterationInfo)(windows_core::Interface::as_raw(self), pncurrentconflict, pcconflicts, pcremainingforapplytoall).ok() } pub unsafe fn GetPresenterNextStep(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPresenterNextStep)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPresenterChoice(&self, pnpresenterchoice: *mut SYNCMGR_PRESENTER_CHOICE, pfapplytoall: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetPresenterChoice)(windows_core::Interface::as_raw(self), pnpresenterchoice, pfapplytoall).ok() } pub unsafe fn GetItemChoiceCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemChoiceCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemChoice(&self, ichoice: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemChoice)(windows_core::Interface::as_raw(self), ichoice, &mut result__).map(|| result__) } pub unsafe fn SetPresenterNextStep(&self, npresenternextstep: SYNCMGR_PRESENTER_NEXT_STEP) -> windows_core::Result<()> { @@ -21427,7 +21427,7 @@ windows_core::imp::define_interface!(ISyncMgrConflictStore, ISyncMgrConflictStor impl std::ops::Deref for ISyncMgrConflictStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrConflictStore, windows_core::IUnknown); @@ -21437,7 +21437,7 @@ impl ISyncMgrConflictStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumConflicts)(windows_core::Interface::as_raw(self), pszhandlerid.param().abi(), pszitemid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -21457,7 +21457,7 @@ impl ISyncMgrConflictStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), pszhandlerid.param().abi(), pszitemid.param().abi(), &mut result__).map(|| result__) } } @@ -21479,7 +21479,7 @@ windows_core::imp::define_interface!(ISyncMgrControl, ISyncMgrControl_Vtbl, 0x9b impl std::ops::Deref for ISyncMgrControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrControl, windows_core::IUnknown); @@ -21610,7 +21610,7 @@ windows_core::imp::define_interface!(ISyncMgrEnumItems, ISyncMgrEnumItems_Vtbl, impl std::ops::Deref for ISyncMgrEnumItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrEnumItems, windows_core::IUnknown); @@ -21626,7 +21626,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21645,53 +21645,53 @@ windows_core::imp::define_interface!(ISyncMgrEvent, ISyncMgrEvent_Vtbl, 0xfee0ef impl std::ops::Deref for ISyncMgrEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrEvent, windows_core::IUnknown); impl ISyncMgrEvent { pub unsafe fn GetEventID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHandlerID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHandlerID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLevel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLevel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLinkText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLinkText)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLinkReference(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLinkReference)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -21714,7 +21714,7 @@ windows_core::imp::define_interface!(ISyncMgrEventLinkUIOperation, ISyncMgrEvent impl std::ops::Deref for ISyncMgrEventLinkUIOperation { type Target = ISyncMgrUIOperation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrEventLinkUIOperation, windows_core::IUnknown, ISyncMgrUIOperation); @@ -21735,21 +21735,21 @@ windows_core::imp::define_interface!(ISyncMgrEventStore, ISyncMgrEventStore_Vtbl impl std::ops::Deref for ISyncMgrEventStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrEventStore, windows_core::IUnknown); impl ISyncMgrEventStore { pub unsafe fn GetEventEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEventCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetEvent(&self, rguideventid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEvent)(windows_core::Interface::as_raw(self), rguideventid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveEvent(&self, pguideventids: &[windows_core::GUID]) -> windows_core::Result<()> { @@ -21768,17 +21768,17 @@ windows_core::imp::define_interface!(ISyncMgrHandler, ISyncMgrHandler_Vtbl, 0x04 impl std::ops::Deref for ISyncMgrHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrHandler, windows_core::IUnknown); impl ISyncMgrHandler { pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHandlerInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHandlerInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetObject(&self, rguidobjectid: *const windows_core::GUID) -> windows_core::Result @@ -21789,11 +21789,11 @@ impl ISyncMgrHandler { (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), rguidobjectid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPolicies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicies)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Activate(&self, factivate: P0) -> windows_core::Result<()> @@ -21833,14 +21833,14 @@ windows_core::imp::define_interface!(ISyncMgrHandlerCollection, ISyncMgrHandlerC impl std::ops::Deref for ISyncMgrHandlerCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrHandlerCollection, windows_core::IUnknown); impl ISyncMgrHandlerCollection { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetHandlerEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHandlerEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BindToHandler(&self, pszhandlerid: P0) -> windows_core::Result @@ -21865,25 +21865,25 @@ windows_core::imp::define_interface!(ISyncMgrHandlerInfo, ISyncMgrHandlerInfo_Vt impl std::ops::Deref for ISyncMgrHandlerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrHandlerInfo, windows_core::IUnknown); impl ISyncMgrHandlerInfo { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTypeLabel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeLabel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetComment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastSyncTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastSyncTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsActive(&self) -> windows_core::Result<()> { @@ -21911,7 +21911,7 @@ windows_core::imp::define_interface!(ISyncMgrRegister, ISyncMgrRegister_Vtbl, 0x impl std::ops::Deref for ISyncMgrRegister { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrRegister, windows_core::IUnknown); @@ -21940,35 +21940,35 @@ windows_core::imp::define_interface!(ISyncMgrResolutionHandler, ISyncMgrResoluti impl std::ops::Deref for ISyncMgrResolutionHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrResolutionHandler, windows_core::IUnknown); impl ISyncMgrResolutionHandler { pub unsafe fn QueryAbilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryAbilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KeepOther(&self, psiother: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeepOther)(windows_core::Interface::as_raw(self), psiother.param().abi(), &mut result__).map(|| result__) } pub unsafe fn KeepRecent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeepRecent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemoveFromSyncSet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RemoveFromSyncSet)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn KeepItems(&self, parray: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeepItems)(windows_core::Interface::as_raw(self), parray.param().abi(), &mut result__).map(|| result__) } } @@ -21985,7 +21985,7 @@ windows_core::imp::define_interface!(ISyncMgrScheduleWizardUIOperation, ISyncMgr impl std::ops::Deref for ISyncMgrScheduleWizardUIOperation { type Target = ISyncMgrUIOperation; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrScheduleWizardUIOperation, windows_core::IUnknown, ISyncMgrUIOperation); @@ -22006,7 +22006,7 @@ windows_core::imp::define_interface!(ISyncMgrSessionCreator, ISyncMgrSessionCrea impl std::ops::Deref for ISyncMgrSessionCreator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrSessionCreator, windows_core::IUnknown); @@ -22015,7 +22015,7 @@ impl ISyncMgrSessionCreator { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateSession)(windows_core::Interface::as_raw(self), pszhandlerid.param().abi(), core::mem::transmute(ppszitemids.as_ptr()), ppszitemids.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22028,7 +22028,7 @@ windows_core::imp::define_interface!(ISyncMgrSyncCallback, ISyncMgrSyncCallback_ impl std::ops::Deref for ISyncMgrSyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrSyncCallback, windows_core::IUnknown); @@ -22055,7 +22055,7 @@ impl ISyncMgrSyncCallback { P4: windows_core::Param, P5: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReportEvent)(windows_core::Interface::as_raw(self), pszitemid.param().abi(), nlevel, nflags, pszname.param().abi(), pszdescription.param().abi(), pszlinktext.param().abi(), pszlinkreference.param().abi(), pszcontext.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CanContinue(&self, pszitemid: P0) -> windows_core::Result<()> @@ -22117,21 +22117,21 @@ windows_core::imp::define_interface!(ISyncMgrSyncItem, ISyncMgrSyncItem_Vtbl, 0x impl std::ops::Deref for ISyncMgrSyncItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrSyncItem, windows_core::IUnknown); impl ISyncMgrSyncItem { pub unsafe fn GetItemID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItemInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetObject(&self, rguidobjectid: *const windows_core::GUID) -> windows_core::Result @@ -22142,11 +22142,11 @@ impl ISyncMgrSyncItem { (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), rguidobjectid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPolicies(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPolicies)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Enable(&self, fenable: P0) -> windows_core::Result<()> @@ -22175,7 +22175,7 @@ windows_core::imp::define_interface!(ISyncMgrSyncItemContainer, ISyncMgrSyncItem impl std::ops::Deref for ISyncMgrSyncItemContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrSyncItemContainer, windows_core::IUnknown); @@ -22184,15 +22184,15 @@ impl ISyncMgrSyncItemContainer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncItem)(windows_core::Interface::as_raw(self), pszitemid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSyncItemEnumerator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncItemEnumerator)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSyncItemCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSyncItemCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -22207,21 +22207,21 @@ windows_core::imp::define_interface!(ISyncMgrSyncItemInfo, ISyncMgrSyncItemInfo_ impl std::ops::Deref for ISyncMgrSyncItemInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrSyncItemInfo, windows_core::IUnknown); impl ISyncMgrSyncItemInfo { pub unsafe fn GetTypeLabel(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTypeLabel)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetComment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComment)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetLastSyncTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastSyncTime)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsEnabled(&self) -> windows_core::Result<()> { @@ -22244,7 +22244,7 @@ windows_core::imp::define_interface!(ISyncMgrSyncResult, ISyncMgrSyncResult_Vtbl impl std::ops::Deref for ISyncMgrSyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrSyncResult, windows_core::IUnknown); @@ -22262,7 +22262,7 @@ windows_core::imp::define_interface!(ISyncMgrSynchronize, ISyncMgrSynchronize_Vt impl std::ops::Deref for ISyncMgrSynchronize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrSynchronize, windows_core::IUnknown); @@ -22272,11 +22272,11 @@ impl ISyncMgrSynchronize { } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetHandlerInfo(&self) -> windows_core::Result<*mut SYNCMGRHANDLERINFO> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHandlerInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumSyncMgrItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumSyncMgrItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetItemObject(&self, itemid: *const windows_core::GUID) -> windows_core::Result @@ -22341,7 +22341,7 @@ windows_core::imp::define_interface!(ISyncMgrSynchronizeCallback, ISyncMgrSynchr impl std::ops::Deref for ISyncMgrSynchronizeCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrSynchronizeCallback, windows_core::IUnknown); @@ -22400,7 +22400,7 @@ windows_core::imp::define_interface!(ISyncMgrSynchronizeInvoke, ISyncMgrSynchron impl std::ops::Deref for ISyncMgrSynchronizeInvoke { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrSynchronizeInvoke, windows_core::IUnknown); @@ -22422,7 +22422,7 @@ windows_core::imp::define_interface!(ISyncMgrUIOperation, ISyncMgrUIOperation_Vt impl std::ops::Deref for ISyncMgrUIOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISyncMgrUIOperation, windows_core::IUnknown); @@ -22443,7 +22443,7 @@ windows_core::imp::define_interface!(ITaskbarList, ITaskbarList_Vtbl, 0x56fdf342 impl std::ops::Deref for ITaskbarList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITaskbarList, windows_core::IUnknown); @@ -22489,7 +22489,7 @@ windows_core::imp::define_interface!(ITaskbarList2, ITaskbarList2_Vtbl, 0x602d49 impl std::ops::Deref for ITaskbarList2 { type Target = ITaskbarList; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITaskbarList2, windows_core::IUnknown, ITaskbarList); @@ -22511,7 +22511,7 @@ windows_core::imp::define_interface!(ITaskbarList3, ITaskbarList3_Vtbl, 0xea1afb impl std::ops::Deref for ITaskbarList3 { type Target = ITaskbarList2; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITaskbarList3, windows_core::IUnknown, ITaskbarList, ITaskbarList2); @@ -22632,7 +22632,7 @@ windows_core::imp::define_interface!(ITaskbarList4, ITaskbarList4_Vtbl, 0xc43dc7 impl std::ops::Deref for ITaskbarList4 { type Target = ITaskbarList3; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITaskbarList4, windows_core::IUnknown, ITaskbarList, ITaskbarList2, ITaskbarList3); @@ -22653,7 +22653,7 @@ windows_core::imp::define_interface!(IThumbnailCache, IThumbnailCache_Vtbl, 0xf6 impl std::ops::Deref for IThumbnailCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IThumbnailCache, windows_core::IUnknown); @@ -22678,7 +22678,7 @@ windows_core::imp::define_interface!(IThumbnailCachePrimer, IThumbnailCachePrime impl std::ops::Deref for IThumbnailCachePrimer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IThumbnailCachePrimer, windows_core::IUnknown); @@ -22699,7 +22699,7 @@ windows_core::imp::define_interface!(IThumbnailCapture, IThumbnailCapture_Vtbl, impl std::ops::Deref for IThumbnailCapture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IThumbnailCapture, windows_core::IUnknown); @@ -22709,7 +22709,7 @@ impl IThumbnailCapture { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CaptureThumbnail)(windows_core::Interface::as_raw(self), pmaxsize, phtmldoc2.param().abi(), &mut result__).map(|| result__) } } @@ -22725,7 +22725,7 @@ windows_core::imp::define_interface!(IThumbnailHandlerFactory, IThumbnailHandler impl std::ops::Deref for IThumbnailHandlerFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IThumbnailHandlerFactory, windows_core::IUnknown); @@ -22752,7 +22752,7 @@ windows_core::imp::define_interface!(IThumbnailProvider, IThumbnailProvider_Vtbl impl std::ops::Deref for IThumbnailProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IThumbnailProvider, windows_core::IUnknown); @@ -22774,7 +22774,7 @@ windows_core::imp::define_interface!(IThumbnailSettings, IThumbnailSettings_Vtbl impl std::ops::Deref for IThumbnailSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IThumbnailSettings, windows_core::IUnknown); @@ -22792,7 +22792,7 @@ windows_core::imp::define_interface!(IThumbnailStreamCache, IThumbnailStreamCach impl std::ops::Deref for IThumbnailStreamCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IThumbnailStreamCache, windows_core::IUnknown); @@ -22829,7 +22829,7 @@ windows_core::imp::define_interface!(ITrackShellMenu, ITrackShellMenu_Vtbl, 0x82 impl std::ops::Deref for ITrackShellMenu { type Target = IShellMenu; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITrackShellMenu, windows_core::IUnknown, IShellMenu); @@ -22858,7 +22858,7 @@ windows_core::imp::define_interface!(ITranscodeImage, ITranscodeImage_Vtbl, 0xba impl std::ops::Deref for ITranscodeImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITranscodeImage, windows_core::IUnknown); @@ -22884,7 +22884,7 @@ windows_core::imp::define_interface!(ITransferAdviseSink, ITransferAdviseSink_Vt impl std::ops::Deref for ITransferAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransferAdviseSink, windows_core::IUnknown); @@ -22949,7 +22949,7 @@ windows_core::imp::define_interface!(ITransferDestination, ITransferDestination_ impl std::ops::Deref for ITransferDestination { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransferDestination, windows_core::IUnknown); @@ -22958,7 +22958,7 @@ impl ITransferDestination { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), psink.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -22982,7 +22982,7 @@ windows_core::imp::define_interface!(ITransferMediumItem, ITransferMediumItem_Vt impl std::ops::Deref for ITransferMediumItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransferMediumItem, windows_core::IUnknown, IRelatedItem); @@ -22995,7 +22995,7 @@ windows_core::imp::define_interface!(ITransferSource, ITransferSource_Vtbl, 0x00 impl std::ops::Deref for ITransferSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITransferSource, windows_core::IUnknown); @@ -23004,7 +23004,7 @@ impl ITransferSource { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), psink.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -23029,7 +23029,7 @@ impl ITransferSource { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MoveItem)(windows_core::Interface::as_raw(self), psi.param().abi(), psiparentdst.param().abi(), psznamedst.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RecycleItem(&self, psisource: P0, psiparentdest: P1, flags: u32) -> windows_core::Result @@ -23037,7 +23037,7 @@ impl ITransferSource { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecycleItem)(windows_core::Interface::as_raw(self), psisource.param().abi(), psiparentdest.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveItem(&self, psisource: P0, flags: u32) -> windows_core::Result<()> @@ -23051,7 +23051,7 @@ impl ITransferSource { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RenameItem)(windows_core::Interface::as_raw(self), psisource.param().abi(), psznewname.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LinkItem(&self, psisource: P0, psiparentdest: P1, psznewname: P2, flags: u32) -> windows_core::Result @@ -23060,14 +23060,14 @@ impl ITransferSource { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LinkItem)(windows_core::Interface::as_raw(self), psisource.param().abi(), psiparentdest.param().abi(), psznewname.param().abi(), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ApplyPropertiesToItem(&self, psisource: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ApplyPropertiesToItem)(windows_core::Interface::as_raw(self), psisource.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultDestinationName(&self, psisource: P0, psiparentdest: P1) -> windows_core::Result @@ -23075,7 +23075,7 @@ impl ITransferSource { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultDestinationName)(windows_core::Interface::as_raw(self), psisource.param().abi(), psiparentdest.param().abi(), &mut result__).map(|| result__) } pub unsafe fn EnterFolder(&self, psichildfolderdest: P0) -> windows_core::Result<()> @@ -23115,7 +23115,7 @@ windows_core::imp::define_interface!(ITravelEntry, ITravelEntry_Vtbl, 0xf46edb3b impl std::ops::Deref for ITravelEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITravelEntry, windows_core::IUnknown); @@ -23135,7 +23135,7 @@ impl ITravelEntry { } #[cfg(feature = "Win32_UI_Shell_Common")] pub unsafe fn GetPidl(&self) -> windows_core::Result<*mut Common::ITEMIDLIST> { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPidl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -23153,7 +23153,7 @@ windows_core::imp::define_interface!(ITravelLog, ITravelLog_Vtbl, 0x66a9cb08_480 impl std::ops::Deref for ITravelLog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITravelLog, windows_core::IUnknown); @@ -23196,7 +23196,7 @@ impl ITravelLog { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindTravelEntry)(windows_core::Interface::as_raw(self), punk.param().abi(), pidl, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetToolTipText(&self, punk: P0, ioffset: i32, idstemplate: i32, pwztext: &mut [u16]) -> windows_core::Result<()> @@ -23214,7 +23214,7 @@ impl ITravelLog { (windows_core::Interface::vtable(self).InsertMenuEntries)(windows_core::Interface::as_raw(self), punk.param().abi(), hmenu.param().abi(), npos, idfirst, idlast, dwflags).ok() } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CountEntries(&self, punk: P0) -> u32 @@ -23252,13 +23252,13 @@ windows_core::imp::define_interface!(ITravelLogClient, ITravelLogClient_Vtbl, 0x impl std::ops::Deref for ITravelLogClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITravelLogClient, windows_core::IUnknown); impl ITravelLogClient { pub unsafe fn FindWindowByIndex(&self, dwid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindWindowByIndex)(windows_core::Interface::as_raw(self), dwid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -23289,17 +23289,17 @@ windows_core::imp::define_interface!(ITravelLogEntry, ITravelLogEntry_Vtbl, 0x7e impl std::ops::Deref for ITravelLogEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITravelLogEntry, windows_core::IUnknown); impl ITravelLogEntry { pub unsafe fn GetTitle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTitle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -23313,7 +23313,7 @@ windows_core::imp::define_interface!(ITravelLogStg, ITravelLogStg_Vtbl, 0x7ebfdd impl std::ops::Deref for ITravelLogStg { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITravelLogStg, windows_core::IUnknown); @@ -23325,7 +23325,7 @@ impl ITravelLogStg { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEntry)(windows_core::Interface::as_raw(self), pszurl.param().abi(), psztitle.param().abi(), ptlerelativeto.param().abi(), fprepend.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TravelTo(&self, ptle: P0) -> windows_core::Result<()> @@ -23335,18 +23335,18 @@ impl ITravelLogStg { (windows_core::Interface::vtable(self).TravelTo)(windows_core::Interface::as_raw(self), ptle.param().abi()).ok() } pub unsafe fn EnumEntries(&self, flags: TLENUMF) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumEntries)(windows_core::Interface::as_raw(self), flags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindEntries(&self, flags: TLENUMF, pszurl: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindEntries)(windows_core::Interface::as_raw(self), flags, pszurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self, flags: TLENUMF) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), flags, &mut result__).map(|| result__) } pub unsafe fn RemoveEntry(&self, ptle: P0) -> windows_core::Result<()> @@ -23356,7 +23356,7 @@ impl ITravelLogStg { (windows_core::Interface::vtable(self).RemoveEntry)(windows_core::Interface::as_raw(self), ptle.param().abi()).ok() } pub unsafe fn GetRelativeEntry(&self, ioffset: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRelativeEntry)(windows_core::Interface::as_raw(self), ioffset, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -23375,7 +23375,7 @@ windows_core::imp::define_interface!(ITrayDeskBand, ITrayDeskBand_Vtbl, 0x6d67e8 impl std::ops::Deref for ITrayDeskBand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITrayDeskBand, windows_core::IUnknown); @@ -23405,7 +23405,7 @@ windows_core::imp::define_interface!(IURLSearchHook, IURLSearchHook_Vtbl, 0xac60 impl std::ops::Deref for IURLSearchHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IURLSearchHook, windows_core::IUnknown); @@ -23423,7 +23423,7 @@ windows_core::imp::define_interface!(IURLSearchHook2, IURLSearchHook2_Vtbl, 0x5e impl std::ops::Deref for IURLSearchHook2 { type Target = IURLSearchHook; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IURLSearchHook2, windows_core::IUnknown, IURLSearchHook); @@ -23444,7 +23444,7 @@ windows_core::imp::define_interface!(IUniformResourceLocatorA, IUniformResourceL impl std::ops::Deref for IUniformResourceLocatorA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUniformResourceLocatorA, windows_core::IUnknown); @@ -23456,7 +23456,7 @@ impl IUniformResourceLocatorA { (windows_core::Interface::vtable(self).SetURL)(windows_core::Interface::as_raw(self), pcszurl.param().abi(), dwinflags).ok() } pub unsafe fn GetURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InvokeCommand(&self, purlici: *mut URLINVOKECOMMANDINFOA) -> windows_core::Result<()> { @@ -23474,7 +23474,7 @@ windows_core::imp::define_interface!(IUniformResourceLocatorW, IUniformResourceL impl std::ops::Deref for IUniformResourceLocatorW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUniformResourceLocatorW, windows_core::IUnknown); @@ -23486,7 +23486,7 @@ impl IUniformResourceLocatorW { (windows_core::Interface::vtable(self).SetURL)(windows_core::Interface::as_raw(self), pcszurl.param().abi(), dwinflags).ok() } pub unsafe fn GetURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetURL)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn InvokeCommand(&self, purlici: *mut URLINVOKECOMMANDINFOW) -> windows_core::Result<()> { @@ -23504,7 +23504,7 @@ windows_core::imp::define_interface!(IUpdateIDList, IUpdateIDList_Vtbl, 0x6589b6 impl std::ops::Deref for IUpdateIDList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUpdateIDList, windows_core::IUnknown); @@ -23514,7 +23514,7 @@ impl IUpdateIDList { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Update)(windows_core::Interface::as_raw(self), pbc.param().abi(), pidlin, &mut result__).map(|| result__) } } @@ -23530,7 +23530,7 @@ windows_core::imp::define_interface!(IUseToBrowseItem, IUseToBrowseItem_Vtbl, 0x impl std::ops::Deref for IUseToBrowseItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUseToBrowseItem, windows_core::IUnknown, IRelatedItem); @@ -23543,7 +23543,7 @@ windows_core::imp::define_interface!(IUserAccountChangeCallback, IUserAccountCha impl std::ops::Deref for IUserAccountChangeCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserAccountChangeCallback, windows_core::IUnknown); @@ -23564,7 +23564,7 @@ windows_core::imp::define_interface!(IUserNotification, IUserNotification_Vtbl, impl std::ops::Deref for IUserNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserNotification, windows_core::IUnknown); @@ -23616,7 +23616,7 @@ windows_core::imp::define_interface!(IUserNotification2, IUserNotification2_Vtbl impl std::ops::Deref for IUserNotification2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserNotification2, windows_core::IUnknown); @@ -23669,7 +23669,7 @@ windows_core::imp::define_interface!(IUserNotificationCallback, IUserNotificatio impl std::ops::Deref for IUserNotificationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUserNotificationCallback, windows_core::IUnknown); @@ -23695,7 +23695,7 @@ windows_core::imp::define_interface!(IViewStateIdentityItem, IViewStateIdentityI impl std::ops::Deref for IViewStateIdentityItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewStateIdentityItem, windows_core::IUnknown, IRelatedItem); @@ -23708,7 +23708,7 @@ windows_core::imp::define_interface!(IVirtualDesktopManager, IVirtualDesktopMana impl std::ops::Deref for IVirtualDesktopManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVirtualDesktopManager, windows_core::IUnknown); @@ -23717,14 +23717,14 @@ impl IVirtualDesktopManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsWindowOnCurrentVirtualDesktop)(windows_core::Interface::as_raw(self), toplevelwindow.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetWindowDesktopId(&self, toplevelwindow: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWindowDesktopId)(windows_core::Interface::as_raw(self), toplevelwindow.param().abi(), &mut result__).map(|| result__) } pub unsafe fn MoveWindowToDesktop(&self, toplevelwindow: P0, desktopid: *const windows_core::GUID) -> windows_core::Result<()> @@ -23745,7 +23745,7 @@ windows_core::imp::define_interface!(IVisualProperties, IVisualProperties_Vtbl, impl std::ops::Deref for IVisualProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVisualProperties, windows_core::IUnknown); @@ -23764,14 +23764,14 @@ impl IVisualProperties { (windows_core::Interface::vtable(self).SetColor)(windows_core::Interface::as_raw(self), vpcf, cr.param().abi()).ok() } pub unsafe fn GetColor(&self, vpcf: VPCOLORFLAGS) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetColor)(windows_core::Interface::as_raw(self), vpcf, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -23820,7 +23820,7 @@ windows_core::imp::define_interface!(IWebBrowser, IWebBrowser_Vtbl, 0xeab22ac1_3 impl std::ops::Deref for IWebBrowser { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -23856,70 +23856,70 @@ impl IWebBrowser { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Application(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Application)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Container(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Container)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Document(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Document)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TopLevelContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TopLevelContainer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Type(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Type)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Left(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Left)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Top)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Height)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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 LocationName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocationName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LocationURL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LocationURL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Busy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Busy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -23931,9 +23931,9 @@ pub struct IWebBrowser_Vtbl { pub GoForward: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GoHome: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GoSearch: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Navigate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Navigate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub Refresh2: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Refresh2: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Application: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -23952,7 +23952,7 @@ pub struct IWebBrowser_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Document: usize, pub TopLevelContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Left: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetLeft: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Top: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, @@ -23961,8 +23961,8 @@ pub struct IWebBrowser_Vtbl { pub SetWidth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetHeight: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub LocationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LocationURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocationURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Busy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -23971,7 +23971,7 @@ windows_core::imp::define_interface!(IWebBrowser2, IWebBrowser2_Vtbl, 0xd30c1661 impl std::ops::Deref for IWebBrowser2 { type Target = IWebBrowserApp; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -23983,7 +23983,7 @@ impl IWebBrowser2 { } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn QueryStatusWB(&self, cmdid: super::super::System::Ole::OLECMDID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryStatusWB)(windows_core::Interface::as_raw(self), cmdid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] @@ -23995,11 +23995,11 @@ impl IWebBrowser2 { } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn ReadyState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ReadyState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Offline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Offline)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetOffline(&self, boffline: P0) -> windows_core::Result<()> @@ -24009,7 +24009,7 @@ impl IWebBrowser2 { (windows_core::Interface::vtable(self).SetOffline)(windows_core::Interface::as_raw(self), boffline.param().abi()).ok() } pub unsafe fn Silent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Silent)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSilent(&self, bsilent: P0) -> windows_core::Result<()> @@ -24019,7 +24019,7 @@ impl IWebBrowser2 { (windows_core::Interface::vtable(self).SetSilent)(windows_core::Interface::as_raw(self), bsilent.param().abi()).ok() } pub unsafe fn RegisterAsBrowser(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterAsBrowser)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRegisterAsBrowser(&self, bregister: P0) -> windows_core::Result<()> @@ -24029,7 +24029,7 @@ impl IWebBrowser2 { (windows_core::Interface::vtable(self).SetRegisterAsBrowser)(windows_core::Interface::as_raw(self), bregister.param().abi()).ok() } pub unsafe fn RegisterAsDropTarget(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterAsDropTarget)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRegisterAsDropTarget(&self, bregister: P0) -> windows_core::Result<()> @@ -24039,7 +24039,7 @@ impl IWebBrowser2 { (windows_core::Interface::vtable(self).SetRegisterAsDropTarget)(windows_core::Interface::as_raw(self), bregister.param().abi()).ok() } pub unsafe fn TheaterMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TheaterMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetTheaterMode(&self, bregister: P0) -> windows_core::Result<()> @@ -24049,7 +24049,7 @@ impl IWebBrowser2 { (windows_core::Interface::vtable(self).SetTheaterMode)(windows_core::Interface::as_raw(self), bregister.param().abi()).ok() } pub unsafe fn AddressBar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddressBar)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAddressBar(&self, value: P0) -> windows_core::Result<()> @@ -24059,7 +24059,7 @@ impl IWebBrowser2 { (windows_core::Interface::vtable(self).SetAddressBar)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn Resizable(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Resizable)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetResizable(&self, value: P0) -> windows_core::Result<()> @@ -24073,16 +24073,16 @@ impl IWebBrowser2 { #[repr(C)] pub struct IWebBrowser2_Vtbl { pub base__: IWebBrowserApp_Vtbl, - pub Navigate2: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Navigate2: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub QueryStatusWB: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Ole::OLECMDID, *mut super::super::System::Ole::OLECMDF) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] QueryStatusWB: usize, #[cfg(feature = "Win32_System_Ole")] - pub ExecWB: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Ole::OLECMDID, super::super::System::Ole::OLECMDEXECOPT, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ExecWB: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::System::Ole::OLECMDID, super::super::System::Ole::OLECMDEXECOPT, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] ExecWB: usize, - pub ShowBrowserBar: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ShowBrowserBar: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Ole")] pub ReadyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::System::Ole::READYSTATE) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Ole"))] @@ -24108,7 +24108,7 @@ windows_core::imp::define_interface!(IWebBrowserApp, IWebBrowserApp_Vtbl, 0x0002 impl std::ops::Deref for IWebBrowserApp { type Target = IWebBrowser; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -24132,27 +24132,27 @@ impl IWebBrowserApp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), property.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HWND(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HWND)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FullName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FullName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Path(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Path)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Visible(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Visible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVisible(&self, value: P0) -> windows_core::Result<()> @@ -24162,7 +24162,7 @@ impl IWebBrowserApp { (windows_core::Interface::vtable(self).SetVisible)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn StatusBar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusBar)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetStatusBar(&self, value: P0) -> windows_core::Result<()> @@ -24172,7 +24172,7 @@ impl IWebBrowserApp { (windows_core::Interface::vtable(self).SetStatusBar)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn StatusText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StatusText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetStatusText(&self, statustext: P0) -> windows_core::Result<()> @@ -24182,14 +24182,14 @@ impl IWebBrowserApp { (windows_core::Interface::vtable(self).SetStatusText)(windows_core::Interface::as_raw(self), statustext.param().abi()).ok() } pub unsafe fn ToolBar(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ToolBar)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MenuBar)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMenuBar(&self, value: P0) -> windows_core::Result<()> @@ -24199,7 +24199,7 @@ impl IWebBrowserApp { (windows_core::Interface::vtable(self).SetMenuBar)(windows_core::Interface::as_raw(self), value.param().abi()).ok() } pub unsafe fn FullScreen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FullScreen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFullScreen(&self, bfullscreen: P0) -> windows_core::Result<()> @@ -24215,18 +24215,18 @@ pub struct IWebBrowserApp_Vtbl { pub base__: IWebBrowser_Vtbl, pub Quit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ClientToWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, - pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HWND: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SHANDLE_PTR) -> windows_core::HRESULT, - pub FullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Visible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub StatusBar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetStatusBar: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetStatusText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetStatusText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub ToolBar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetToolBar: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub MenuBar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -24238,7 +24238,7 @@ windows_core::imp::define_interface!(IWebWizardExtension, IWebWizardExtension_Vt impl std::ops::Deref for IWebWizardExtension { type Target = IWizardExtension; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebWizardExtension, windows_core::IUnknown, IWizardExtension); @@ -24268,7 +24268,7 @@ windows_core::imp::define_interface!(IWebWizardHost, IWebWizardHost_Vtbl, 0x18bc impl std::ops::Deref for IWebWizardHost { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -24291,7 +24291,7 @@ impl IWebWizardHost { (windows_core::Interface::vtable(self).SetCaption)(windows_core::Interface::as_raw(self), bstrcaption.param().abi()).ok() } pub unsafe fn Caption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Caption)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn put_Property(&self, bstrpropertyname: P0, pvproperty: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -24304,7 +24304,7 @@ impl IWebWizardHost { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).get_Property)(windows_core::Interface::as_raw(self), bstrpropertyname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetWizardButtons(&self, vfenableback: P0, vfenablenext: P1, vflastpage: P2) -> windows_core::Result<()> @@ -24330,12 +24330,12 @@ pub struct IWebWizardHost_Vtbl { pub FinalBack: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FinalNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCaption: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SetWizardButtons: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetHeaderText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetHeaderText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWebWizardHost2, IWebWizardHost2_Vtbl, 0xf9c013dc_3c23_4041_8e39_cfb402f7ea59); @@ -24343,7 +24343,7 @@ windows_core::imp::define_interface!(IWebWizardHost2, IWebWizardHost2_Vtbl, 0xf9 impl std::ops::Deref for IWebWizardHost2 { type Target = IWebWizardHost; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -24354,7 +24354,7 @@ impl IWebWizardHost2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SignString)(windows_core::Interface::as_raw(self), value.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -24362,13 +24362,13 @@ impl IWebWizardHost2 { #[repr(C)] pub struct IWebWizardHost2_Vtbl { pub base__: IWebWizardHost_Vtbl, - pub SignString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SignString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWizardExtension, IWizardExtension_Vtbl, 0xc02ea696_86cc_491e_9b23_74394a0444a8); impl std::ops::Deref for IWizardExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWizardExtension, windows_core::IUnknown); @@ -24379,12 +24379,12 @@ impl IWizardExtension { } #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetFirstPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFirstPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetLastPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLastPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -24408,24 +24408,24 @@ windows_core::imp::define_interface!(IWizardSite, IWizardSite_Vtbl, 0x88960f5b_4 impl std::ops::Deref for IWizardSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWizardSite, windows_core::IUnknown); impl IWizardSite { #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetPreviousPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviousPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetNextPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNextPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_UI_Controls")] pub unsafe fn GetCancelledPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCancelledPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -33801,7 +33801,7 @@ pub struct BANDINFOSFB { pub crBtnDk: super::super::Foundation::COLORREF, pub wViewMode: u16, pub wAlign: u16, - pub psf: std::mem::ManuallyDrop>, + pub psf: core::mem::ManuallyDrop>, pub pidl: *mut Common::ITEMIDLIST, } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -33855,24 +33855,24 @@ impl Default for BANNER_NOTIFICATION { #[derive(Debug, Eq, PartialEq)] pub struct BASEBROWSERDATALH { pub _hwnd: super::super::Foundation::HWND, - pub _ptl: std::mem::ManuallyDrop>, - pub _phlf: std::mem::ManuallyDrop>, - pub _pautoWB2: std::mem::ManuallyDrop>, - pub _pautoEDS: std::mem::ManuallyDrop>, - pub _pautoSS: std::mem::ManuallyDrop>, + pub _ptl: core::mem::ManuallyDrop>, + pub _phlf: core::mem::ManuallyDrop>, + pub _pautoWB2: core::mem::ManuallyDrop>, + pub _pautoEDS: core::mem::ManuallyDrop>, + pub _pautoSS: core::mem::ManuallyDrop>, pub _eSecureLockIcon: i32, pub _bitfield: u32, pub _uActivateState: u32, pub _pidlViewState: *mut Common::ITEMIDLIST, - pub _pctView: std::mem::ManuallyDrop>, + pub _pctView: core::mem::ManuallyDrop>, pub _pidlCur: *mut Common::ITEMIDLIST, - pub _psv: std::mem::ManuallyDrop>, - pub _psf: std::mem::ManuallyDrop>, + pub _psv: core::mem::ManuallyDrop>, + pub _psf: core::mem::ManuallyDrop>, pub _hwndView: super::super::Foundation::HWND, pub _pszTitleCur: windows_core::PWSTR, pub _pidlPending: *mut Common::ITEMIDLIST, - pub _psvPending: std::mem::ManuallyDrop>, - pub _psfPending: std::mem::ManuallyDrop>, + pub _psvPending: core::mem::ManuallyDrop>, + pub _psfPending: core::mem::ManuallyDrop>, pub _hwndViewPending: super::super::Foundation::HWND, pub _pszTitlePending: windows_core::PWSTR, pub _fIsViewMSHTML: super::super::Foundation::BOOL, @@ -33903,24 +33903,24 @@ impl Default for BASEBROWSERDATALH { #[derive(Debug, Eq, PartialEq)] pub struct BASEBROWSERDATAXP { pub _hwnd: super::super::Foundation::HWND, - pub _ptl: std::mem::ManuallyDrop>, - pub _phlf: std::mem::ManuallyDrop>, - pub _pautoWB2: std::mem::ManuallyDrop>, - pub _pautoEDS: std::mem::ManuallyDrop>, - pub _pautoSS: std::mem::ManuallyDrop>, + pub _ptl: core::mem::ManuallyDrop>, + pub _phlf: core::mem::ManuallyDrop>, + pub _pautoWB2: core::mem::ManuallyDrop>, + pub _pautoEDS: core::mem::ManuallyDrop>, + pub _pautoSS: core::mem::ManuallyDrop>, pub _eSecureLockIcon: i32, pub _bitfield: u32, pub _uActivateState: u32, pub _pidlViewState: *mut Common::ITEMIDLIST, - pub _pctView: std::mem::ManuallyDrop>, + pub _pctView: core::mem::ManuallyDrop>, pub _pidlCur: *mut Common::ITEMIDLIST, - pub _psv: std::mem::ManuallyDrop>, - pub _psf: std::mem::ManuallyDrop>, + pub _psv: core::mem::ManuallyDrop>, + pub _psf: core::mem::ManuallyDrop>, pub _hwndView: super::super::Foundation::HWND, pub _pszTitleCur: windows_core::PWSTR, pub _pidlPending: *mut Common::ITEMIDLIST, - pub _psvPending: std::mem::ManuallyDrop>, - pub _psfPending: std::mem::ManuallyDrop>, + pub _psvPending: core::mem::ManuallyDrop>, + pub _psfPending: core::mem::ManuallyDrop>, pub _hwndViewPending: super::super::Foundation::HWND, pub _pszTitlePending: windows_core::PWSTR, pub _fIsViewMSHTML: super::super::Foundation::BOOL, @@ -34134,7 +34134,7 @@ impl Default for CM_COLUMNINFO { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct CONFIRM_CONFLICT_ITEM { - pub pShellItem: std::mem::ManuallyDrop>, + pub pShellItem: core::mem::ManuallyDrop>, pub pszOriginalName: windows_core::PWSTR, pub pszAlternateName: windows_core::PWSTR, pub pszLocationShort: windows_core::PWSTR, @@ -34221,8 +34221,8 @@ impl Default for CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR { #[derive(Debug)] pub struct CSFV { pub cbSize: u32, - pub pshf: std::mem::ManuallyDrop>, - pub psvOuter: std::mem::ManuallyDrop>, + pub pshf: core::mem::ManuallyDrop>, + pub psvOuter: core::mem::ManuallyDrop>, pub pidl: *mut Common::ITEMIDLIST, pub lEvents: i32, pub pfnCallback: LPFNVIEWCALLBACK, @@ -34265,12 +34265,12 @@ impl Default for DATABLOCK_HEADER { #[derive(Debug, Eq, PartialEq)] pub struct DEFCONTEXTMENU { pub hwnd: super::super::Foundation::HWND, - pub pcmcb: std::mem::ManuallyDrop>, + pub pcmcb: core::mem::ManuallyDrop>, pub pidlFolder: *mut Common::ITEMIDLIST, - pub psf: std::mem::ManuallyDrop>, + pub psf: core::mem::ManuallyDrop>, pub cidl: u32, pub apidl: *mut *mut Common::ITEMIDLIST, - pub punkAssociationInfo: std::mem::ManuallyDrop>, + pub punkAssociationInfo: core::mem::ManuallyDrop>, pub cKeys: u32, pub aKeys: *const super::super::System::Registry::HKEY, } @@ -34355,7 +34355,7 @@ pub struct DFMICS { pub idCmdFirst: u32, pub idDefMax: u32, pub pici: *mut CMINVOKECOMMANDINFO, - pub punkSite: std::mem::ManuallyDrop>, + pub punkSite: core::mem::ManuallyDrop>, } impl Clone for DFMICS { fn clone(&self) -> Self { @@ -35283,7 +35283,7 @@ impl Default for NRESARRAY { #[cfg(feature = "Win32_UI_Controls")] #[derive(Debug, Eq, PartialEq)] pub struct NSTCCUSTOMDRAW { - pub psi: std::mem::ManuallyDrop>, + pub psi: core::mem::ManuallyDrop>, pub uItemState: u32, pub nstcis: u32, pub pszText: windows_core::PCWSTR, @@ -35723,9 +35723,9 @@ impl Default for SFVM_PROPPAGE_DATA { #[derive(Debug, Eq, PartialEq)] pub struct SFV_CREATE { pub cbSize: u32, - pub pshf: std::mem::ManuallyDrop>, - pub psvOuter: std::mem::ManuallyDrop>, - pub psfvcb: std::mem::ManuallyDrop>, + pub pshf: core::mem::ManuallyDrop>, + pub psvOuter: core::mem::ManuallyDrop>, + pub psfvcb: core::mem::ManuallyDrop>, } #[cfg(feature = "Win32_System_Ole")] impl Clone for SFV_CREATE { @@ -35762,7 +35762,7 @@ impl Default for SFV_SETITEMPOS { } #[repr(C, packed(1))] pub struct SHARDAPPIDINFO { - pub psi: std::mem::ManuallyDrop>, + pub psi: core::mem::ManuallyDrop>, pub pszAppID: windows_core::PCWSTR, } impl windows_core::TypeKind for SHARDAPPIDINFO { @@ -35792,7 +35792,7 @@ impl Default for SHARDAPPIDINFOIDLIST { } #[repr(C, packed(1))] pub struct SHARDAPPIDINFOLINK { - pub psl: std::mem::ManuallyDrop>, + pub psl: core::mem::ManuallyDrop>, pub pszAppID: windows_core::PCWSTR, } impl windows_core::TypeKind for SHARDAPPIDINFOLINK { @@ -36712,10 +36712,10 @@ pub struct SMDATA { pub uId: u32, pub uIdParent: u32, pub uIdAncestor: u32, - pub punk: std::mem::ManuallyDrop>, + pub punk: core::mem::ManuallyDrop>, pub pidlFolder: *mut Common::ITEMIDLIST, pub pidlItem: *mut Common::ITEMIDLIST, - pub psf: std::mem::ManuallyDrop>, + pub psf: core::mem::ManuallyDrop>, pub pvUserData: *mut core::ffi::c_void, } #[cfg(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_WindowsAndMessaging"))] @@ -36772,9 +36772,9 @@ impl Default for SORTCOLUMN { #[derive(Debug, Eq, PartialEq)] pub struct SV2CVW2_PARAMS { pub cbSize: u32, - pub psvPrev: std::mem::ManuallyDrop>, + pub psvPrev: core::mem::ManuallyDrop>, pub pfs: *mut FOLDERSETTINGS, - pub psbOwner: std::mem::ManuallyDrop>, + pub psbOwner: core::mem::ManuallyDrop>, pub prcView: *mut super::super::Foundation::RECT, pub pvid: *const windows_core::GUID, pub hwndView: super::super::Foundation::HWND, @@ -36964,7 +36964,7 @@ impl Default for THUMBBUTTON { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Ole"))] #[derive(Debug, Eq, PartialEq)] pub struct TOOLBARITEM { - pub ptbar: std::mem::ManuallyDrop>, + pub ptbar: core::mem::ManuallyDrop>, pub rcBorderTool: super::super::Foundation::RECT, pub pwszItem: windows_core::PWSTR, pub fShow: super::super::Foundation::BOOL, diff --git a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs index 6960486a08..eb995ca482 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs @@ -452,7 +452,7 @@ impl IInkCollector_Vtbl { let this = (*this).get_impl(); IInkCollector_Impl::SetDynamicRendering(this, core::mem::transmute_copy(&enabled)).into() } - unsafe extern "system" fn DesiredPacketDescription, Impl: IInkCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DesiredPacketDescription, Impl: IInkCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkCollector_Impl::DesiredPacketDescription(this) { @@ -463,7 +463,7 @@ impl IInkCollector_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDesiredPacketDescription, Impl: IInkCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDesiredPacketDescription, Impl: IInkCollector_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkCollector_Impl::SetDesiredPacketDescription(this, core::mem::transmute(&packetguids)).into() @@ -690,7 +690,7 @@ impl windows_core::RuntimeName for IInkCursor {} #[cfg(feature = "Win32_System_Com")] impl IInkCursor_Vtbl { pub const fn new, Impl: IInkCursor_Impl, const OFFSET: isize>() -> IInkCursor_Vtbl { - unsafe extern "system" fn Name, Impl: IInkCursor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IInkCursor_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkCursor_Impl::Name(this) { @@ -787,7 +787,7 @@ impl windows_core::RuntimeName for IInkCursorButton {} #[cfg(feature = "Win32_System_Com")] impl IInkCursorButton_Vtbl { pub const fn new, Impl: IInkCursorButton_Impl, const OFFSET: isize>() -> IInkCursorButton_Vtbl { - unsafe extern "system" fn Name, Impl: IInkCursorButton_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IInkCursorButton_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkCursorButton_Impl::Name(this) { @@ -798,7 +798,7 @@ impl IInkCursorButton_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Id, Impl: IInkCursorButton_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IInkCursorButton_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkCursorButton_Impl::Id(this) { @@ -864,7 +864,7 @@ impl IInkCursorButtons_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: IInkCursorButtons_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: std::mem::MaybeUninit, button: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: IInkCursorButtons_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: core::mem::MaybeUninit, button: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkCursorButtons_Impl::Item(this, core::mem::transmute(&identifier)) { @@ -977,7 +977,7 @@ impl IInkCustomStrokes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: IInkCustomStrokes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: std::mem::MaybeUninit, strokes: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: IInkCustomStrokes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: core::mem::MaybeUninit, strokes: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkCustomStrokes_Impl::Item(this, core::mem::transmute(&identifier)) { @@ -988,12 +988,12 @@ impl IInkCustomStrokes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IInkCustomStrokes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, strokes: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IInkCustomStrokes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, strokes: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkCustomStrokes_Impl::Add(this, core::mem::transmute(&name), windows_core::from_raw_borrowed(&strokes)).into() } - unsafe extern "system" fn Remove, Impl: IInkCustomStrokes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IInkCustomStrokes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkCustomStrokes_Impl::Remove(this, core::mem::transmute(&identifier)).into() @@ -1180,7 +1180,7 @@ impl IInkDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn HitTestWithLasso, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, points: std::mem::MaybeUninit, intersectpercent: f32, lassopoints: *mut std::mem::MaybeUninit, strokes: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn HitTestWithLasso, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, points: core::mem::MaybeUninit, intersectpercent: f32, lassopoints: *mut core::mem::MaybeUninit, strokes: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkDisp_Impl::HitTestWithLasso(this, core::mem::transmute(&points), core::mem::transmute_copy(&intersectpercent), core::mem::transmute_copy(&lassopoints), core::mem::transmute_copy(&strokes)).into() @@ -1190,7 +1190,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); IInkDisp_Impl::NearestPoint(this, core::mem::transmute_copy(&x), core::mem::transmute_copy(&y), core::mem::transmute_copy(&pointonstroke), core::mem::transmute_copy(&distancefrompacket), core::mem::transmute_copy(&stroke)).into() } - unsafe extern "system" fn CreateStrokes, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strokeids: std::mem::MaybeUninit, strokes: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateStrokes, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strokeids: core::mem::MaybeUninit, strokes: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkDisp_Impl::CreateStrokes(this, core::mem::transmute(&strokeids)) { @@ -1206,7 +1206,7 @@ impl IInkDisp_Vtbl { let this = (*this).get_impl(); IInkDisp_Impl::AddStrokesAtRectangle(this, windows_core::from_raw_borrowed(&sourcestrokes), windows_core::from_raw_borrowed(&targetrectangle)).into() } - unsafe extern "system" fn Save, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode, data: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Save, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode, data: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkDisp_Impl::Save(this, core::mem::transmute_copy(&persistenceformat), core::mem::transmute_copy(&compressionmode)) { @@ -1217,12 +1217,12 @@ impl IInkDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Load, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Load, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkDisp_Impl::Load(this, core::mem::transmute(&data)).into() } - unsafe extern "system" fn CreateStroke, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetdata: std::mem::MaybeUninit, packetdescription: std::mem::MaybeUninit, stroke: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn CreateStroke, Impl: IInkDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetdata: core::mem::MaybeUninit, packetdescription: core::mem::MaybeUninit, stroke: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkDisp_Impl::CreateStroke(this, core::mem::transmute(&packetdata), core::mem::transmute(&packetdescription)) { @@ -1475,7 +1475,7 @@ impl IInkDivisionUnit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn RecognizedString, Impl: IInkDivisionUnit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, recostring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RecognizedString, Impl: IInkDivisionUnit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, recostring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkDivisionUnit_Impl::RecognizedString(this) { @@ -1978,7 +1978,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); IInkEdit_Impl::putref_Recognizer(this, windows_core::from_raw_borrowed(&newval)).into() } - unsafe extern "system" fn Factoid, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Factoid, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::Factoid(this) { @@ -1989,12 +1989,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFactoid, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFactoid, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newval: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetFactoid(this, core::mem::transmute(&newval)).into() } - unsafe extern "system" fn SelInks, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pselink: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelInks, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pselink: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelInks(this) { @@ -2005,7 +2005,7 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelInks, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, selink: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelInks, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, selink: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelInks(this, core::mem::transmute(&selink)).into() @@ -2122,7 +2122,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); IInkEdit_Impl::putref_Font(this, windows_core::from_raw_borrowed(&ppfont)).into() } - unsafe extern "system" fn Text, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Text, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::Text(this) { @@ -2133,7 +2133,7 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetText, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetText, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetText(this, core::mem::transmute(&pbstrtext)).into() @@ -2271,7 +2271,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); IInkEdit_Impl::SetDisableNoScroll(this, core::mem::transmute_copy(&newval)).into() } - unsafe extern "system" fn SelAlignment, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselalignment: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelAlignment, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselalignment: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelAlignment(this) { @@ -2282,12 +2282,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelAlignment, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselalignment: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelAlignment, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselalignment: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelAlignment(this, core::mem::transmute(&pvarselalignment)).into() } - unsafe extern "system" fn SelBold, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselbold: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelBold, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselbold: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelBold(this) { @@ -2298,12 +2298,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelBold, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselbold: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelBold, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselbold: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelBold(this, core::mem::transmute(&pvarselbold)).into() } - unsafe extern "system" fn SelItalic, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselitalic: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelItalic, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselitalic: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelItalic(this) { @@ -2314,12 +2314,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelItalic, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselitalic: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelItalic, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselitalic: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelItalic(this, core::mem::transmute(&pvarselitalic)).into() } - unsafe extern "system" fn SelUnderline, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselunderline: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelUnderline, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselunderline: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelUnderline(this) { @@ -2330,12 +2330,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelUnderline, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselunderline: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelUnderline, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselunderline: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelUnderline(this, core::mem::transmute(&pvarselunderline)).into() } - unsafe extern "system" fn SelColor, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselcolor: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelColor, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselcolor: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelColor(this) { @@ -2346,12 +2346,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelColor, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselcolor: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelColor, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselcolor: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelColor(this, core::mem::transmute(&pvarselcolor)).into() } - unsafe extern "system" fn SelFontName, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselfontname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelFontName, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselfontname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelFontName(this) { @@ -2362,12 +2362,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelFontName, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselfontname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelFontName, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselfontname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelFontName(this, core::mem::transmute(&pvarselfontname)).into() } - unsafe extern "system" fn SelFontSize, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselfontsize: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelFontSize, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselfontsize: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelFontSize(this) { @@ -2378,12 +2378,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelFontSize, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselfontsize: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelFontSize, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselfontsize: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelFontSize(this, core::mem::transmute(&pvarselfontsize)).into() } - unsafe extern "system" fn SelCharOffset, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselcharoffset: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelCharOffset, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselcharoffset: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelCharOffset(this) { @@ -2394,12 +2394,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelCharOffset, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselcharoffset: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelCharOffset, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarselcharoffset: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelCharOffset(this, core::mem::transmute(&pvarselcharoffset)).into() } - unsafe extern "system" fn TextRTF, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtextrtf: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TextRTF, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtextrtf: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::TextRTF(this) { @@ -2410,7 +2410,7 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetTextRTF, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtextrtf: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetTextRTF, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtextrtf: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetTextRTF(this, core::mem::transmute(&pbstrtextrtf)).into() @@ -2447,7 +2447,7 @@ impl IInkEdit_Vtbl { let this = (*this).get_impl(); IInkEdit_Impl::SetSelLength(this, core::mem::transmute_copy(&plsellength)).into() } - unsafe extern "system" fn SelText, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrseltext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelText, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrseltext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelText(this) { @@ -2458,12 +2458,12 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelText, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrseltext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelText, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrseltext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelText(this, core::mem::transmute(&pbstrseltext)).into() } - unsafe extern "system" fn SelRTF, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrselrtf: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelRTF, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrselrtf: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkEdit_Impl::SelRTF(this) { @@ -2474,7 +2474,7 @@ impl IInkEdit_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSelRTF, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrselrtf: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSelRTF, Impl: IInkEdit_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrselrtf: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkEdit_Impl::SetSelRTF(this, core::mem::transmute(&pbstrselrtf)).into() @@ -2606,7 +2606,7 @@ impl IInkExtendedProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Item, Impl: IInkExtendedProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: std::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Item, Impl: IInkExtendedProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: core::mem::MaybeUninit, item: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkExtendedProperties_Impl::Item(this, core::mem::transmute(&identifier)) { @@ -2617,7 +2617,7 @@ impl IInkExtendedProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Add, Impl: IInkExtendedProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: std::mem::MaybeUninit, data: std::mem::MaybeUninit, inkextendedproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn Add, Impl: IInkExtendedProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: core::mem::MaybeUninit, data: core::mem::MaybeUninit, inkextendedproperty: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkExtendedProperties_Impl::Add(this, core::mem::transmute(&guid), core::mem::transmute(&data)) { @@ -2628,7 +2628,7 @@ impl IInkExtendedProperties_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Remove, Impl: IInkExtendedProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Remove, Impl: IInkExtendedProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, identifier: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkExtendedProperties_Impl::Remove(this, core::mem::transmute(&identifier)).into() @@ -2638,7 +2638,7 @@ impl IInkExtendedProperties_Vtbl { let this = (*this).get_impl(); IInkExtendedProperties_Impl::Clear(this).into() } - unsafe extern "system" fn DoesPropertyExist, Impl: IInkExtendedProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: std::mem::MaybeUninit, doespropertyexist: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn DoesPropertyExist, Impl: IInkExtendedProperties_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: core::mem::MaybeUninit, doespropertyexist: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkExtendedProperties_Impl::DoesPropertyExist(this, core::mem::transmute(&guid)) { @@ -2675,7 +2675,7 @@ impl windows_core::RuntimeName for IInkExtendedProperty {} #[cfg(feature = "Win32_System_Com")] impl IInkExtendedProperty_Vtbl { pub const fn new, Impl: IInkExtendedProperty_Impl, const OFFSET: isize>() -> IInkExtendedProperty_Vtbl { - unsafe extern "system" fn Guid, Impl: IInkExtendedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Guid, Impl: IInkExtendedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, guid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkExtendedProperty_Impl::Guid(this) { @@ -2686,7 +2686,7 @@ impl IInkExtendedProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Data, Impl: IInkExtendedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Data, Impl: IInkExtendedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkExtendedProperty_Impl::Data(this) { @@ -2697,7 +2697,7 @@ impl IInkExtendedProperty_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetData, Impl: IInkExtendedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetData, Impl: IInkExtendedProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, data: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkExtendedProperty_Impl::SetData(this, core::mem::transmute(&data)).into() @@ -3018,7 +3018,7 @@ impl IInkOverlay_Vtbl { let this = (*this).get_impl(); IInkOverlay_Impl::SetDynamicRendering(this, core::mem::transmute_copy(&enabled)).into() } - unsafe extern "system" fn DesiredPacketDescription, Impl: IInkOverlay_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DesiredPacketDescription, Impl: IInkOverlay_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkOverlay_Impl::DesiredPacketDescription(this) { @@ -3029,7 +3029,7 @@ impl IInkOverlay_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDesiredPacketDescription, Impl: IInkOverlay_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDesiredPacketDescription, Impl: IInkOverlay_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkOverlay_Impl::SetDesiredPacketDescription(this, core::mem::transmute(&packetguids)).into() @@ -3552,7 +3552,7 @@ impl IInkPicture_Vtbl { let this = (*this).get_impl(); IInkPicture_Impl::SetDynamicRendering(this, core::mem::transmute_copy(&enabled)).into() } - unsafe extern "system" fn DesiredPacketDescription, Impl: IInkPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn DesiredPacketDescription, Impl: IInkPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkPicture_Impl::DesiredPacketDescription(this) { @@ -3563,7 +3563,7 @@ impl IInkPicture_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetDesiredPacketDescription, Impl: IInkPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetDesiredPacketDescription, Impl: IInkPicture_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetguids: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkPicture_Impl::SetDesiredPacketDescription(this, core::mem::transmute(&packetguids)).into() @@ -3993,7 +3993,7 @@ impl windows_core::RuntimeName for IInkRecognitionAlternate {} #[cfg(feature = "Win32_System_Com")] impl IInkRecognitionAlternate_Vtbl { pub const fn new, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>() -> IInkRecognitionAlternate_Vtbl { - unsafe extern "system" fn String, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, recostring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn String, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, recostring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::String(this) { @@ -4015,7 +4015,7 @@ impl IInkRecognitionAlternate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Baseline, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, baseline: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Baseline, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, baseline: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Baseline(this) { @@ -4026,7 +4026,7 @@ impl IInkRecognitionAlternate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Midline, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, midline: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Midline, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, midline: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Midline(this) { @@ -4037,7 +4037,7 @@ impl IInkRecognitionAlternate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Ascender, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ascender: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Ascender, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ascender: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Ascender(this) { @@ -4048,7 +4048,7 @@ impl IInkRecognitionAlternate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Descender, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, descender: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Descender, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, descender: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::Descender(this) { @@ -4124,7 +4124,7 @@ impl IInkRecognitionAlternate_Vtbl { let this = (*this).get_impl(); IInkRecognitionAlternate_Impl::GetTextRangeFromStrokes(this, windows_core::from_raw_borrowed(&strokes), core::mem::transmute_copy(&selectionstart), core::mem::transmute_copy(&selectionlength)).into() } - unsafe extern "system" fn AlternatesWithConstantPropertyValues, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertytype: std::mem::MaybeUninit, alternateswithconstantpropertyvalues: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn AlternatesWithConstantPropertyValues, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertytype: core::mem::MaybeUninit, alternateswithconstantpropertyvalues: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::AlternatesWithConstantPropertyValues(this, core::mem::transmute(&propertytype)) { @@ -4135,7 +4135,7 @@ impl IInkRecognitionAlternate_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPropertyValue, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertytype: std::mem::MaybeUninit, propertyvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyValue, Impl: IInkRecognitionAlternate_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertytype: core::mem::MaybeUninit, propertyvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognitionAlternate_Impl::GetPropertyValue(this, core::mem::transmute(&propertytype)) { @@ -4252,7 +4252,7 @@ impl windows_core::RuntimeName for IInkRecognitionResult {} #[cfg(feature = "Win32_System_Com")] impl IInkRecognitionResult_Vtbl { pub const fn new, Impl: IInkRecognitionResult_Impl, const OFFSET: isize>() -> IInkRecognitionResult_Vtbl { - unsafe extern "system" fn TopString, Impl: IInkRecognitionResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, topstring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn TopString, Impl: IInkRecognitionResult_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, topstring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognitionResult_Impl::TopString(this) { @@ -4347,7 +4347,7 @@ impl windows_core::RuntimeName for IInkRecognizer {} #[cfg(feature = "Win32_System_Com")] impl IInkRecognizer_Vtbl { pub const fn new, Impl: IInkRecognizer_Impl, const OFFSET: isize>() -> IInkRecognizer_Vtbl { - unsafe extern "system" fn Name, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizer_Impl::Name(this) { @@ -4358,7 +4358,7 @@ impl IInkRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Vendor, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vendor: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Vendor, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vendor: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizer_Impl::Vendor(this) { @@ -4380,7 +4380,7 @@ impl IInkRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Languages, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, languages: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Languages, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, languages: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizer_Impl::Languages(this) { @@ -4391,7 +4391,7 @@ impl IInkRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SupportedProperties, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, supportedproperties: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SupportedProperties, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, supportedproperties: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizer_Impl::SupportedProperties(this) { @@ -4402,7 +4402,7 @@ impl IInkRecognizer_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PreferredPacketDescription, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, preferredpacketdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PreferredPacketDescription, Impl: IInkRecognizer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, preferredpacketdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizer_Impl::PreferredPacketDescription(this) { @@ -4449,7 +4449,7 @@ impl windows_core::RuntimeName for IInkRecognizer2 {} #[cfg(feature = "Win32_System_Com")] impl IInkRecognizer2_Vtbl { pub const fn new, Impl: IInkRecognizer2_Impl, const OFFSET: isize>() -> IInkRecognizer2_Vtbl { - unsafe extern "system" fn Id, Impl: IInkRecognizer2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Id, Impl: IInkRecognizer2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizer2_Impl::Id(this) { @@ -4460,7 +4460,7 @@ impl IInkRecognizer2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn UnicodeRanges, Impl: IInkRecognizer2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unicoderanges: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UnicodeRanges, Impl: IInkRecognizer2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unicoderanges: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizer2_Impl::UnicodeRanges(this) { @@ -4545,7 +4545,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); IInkRecognizerContext_Impl::SetCharacterAutoCompletionMode(this, core::mem::transmute_copy(&mode)).into() } - unsafe extern "system" fn Factoid, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Factoid, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizerContext_Impl::Factoid(this) { @@ -4556,7 +4556,7 @@ impl IInkRecognizerContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFactoid, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFactoid, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkRecognizerContext_Impl::SetFactoid(this, core::mem::transmute(&factoid)).into() @@ -4577,7 +4577,7 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); IInkRecognizerContext_Impl::putref_Guide(this, windows_core::from_raw_borrowed(&recognizerguide)).into() } - unsafe extern "system" fn PrefixText, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PrefixText, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizerContext_Impl::PrefixText(this) { @@ -4588,12 +4588,12 @@ impl IInkRecognizerContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPrefixText, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetPrefixText, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, prefix: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkRecognizerContext_Impl::SetPrefixText(this, core::mem::transmute(&prefix)).into() } - unsafe extern "system" fn SuffixText, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, suffix: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SuffixText, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, suffix: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizerContext_Impl::SuffixText(this) { @@ -4604,7 +4604,7 @@ impl IInkRecognizerContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetSuffixText, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, suffix: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetSuffixText, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, suffix: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkRecognizerContext_Impl::SetSuffixText(this, core::mem::transmute(&suffix)).into() @@ -4667,12 +4667,12 @@ impl IInkRecognizerContext_Vtbl { let this = (*this).get_impl(); IInkRecognizerContext_Impl::EndInkInput(this).into() } - unsafe extern "system" fn BackgroundRecognize, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, customdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BackgroundRecognize, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, customdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkRecognizerContext_Impl::BackgroundRecognize(this, core::mem::transmute(&customdata)).into() } - unsafe extern "system" fn BackgroundRecognizeWithAlternates, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, customdata: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BackgroundRecognizeWithAlternates, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, customdata: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkRecognizerContext_Impl::BackgroundRecognizeWithAlternates(this, core::mem::transmute(&customdata)).into() @@ -4688,7 +4688,7 @@ impl IInkRecognizerContext_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsStringSupported, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, string: std::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsStringSupported, Impl: IInkRecognizerContext_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, string: core::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizerContext_Impl::IsStringSupported(this, core::mem::transmute(&string)) { @@ -4741,7 +4741,7 @@ impl windows_core::RuntimeName for IInkRecognizerContext2 {} #[cfg(feature = "Win32_System_Com")] impl IInkRecognizerContext2_Vtbl { pub const fn new, Impl: IInkRecognizerContext2_Impl, const OFFSET: isize>() -> IInkRecognizerContext2_Vtbl { - unsafe extern "system" fn EnabledUnicodeRanges, Impl: IInkRecognizerContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unicoderanges: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn EnabledUnicodeRanges, Impl: IInkRecognizerContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unicoderanges: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkRecognizerContext2_Impl::EnabledUnicodeRanges(this) { @@ -4752,7 +4752,7 @@ impl IInkRecognizerContext2_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetEnabledUnicodeRanges, Impl: IInkRecognizerContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unicoderanges: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetEnabledUnicodeRanges, Impl: IInkRecognizerContext2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, unicoderanges: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkRecognizerContext2_Impl::SetEnabledUnicodeRanges(this, core::mem::transmute(&unicoderanges)).into() @@ -5158,12 +5158,12 @@ impl IInkRenderer_Vtbl { let this = (*this).get_impl(); IInkRenderer_Impl::InkSpaceToPixel(this, core::mem::transmute_copy(&hdcdisplay), core::mem::transmute_copy(&x), core::mem::transmute_copy(&y)).into() } - unsafe extern "system" fn PixelToInkSpaceFromPoints, Impl: IInkRenderer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hdc: isize, points: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PixelToInkSpaceFromPoints, Impl: IInkRenderer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hdc: isize, points: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkRenderer_Impl::PixelToInkSpaceFromPoints(this, core::mem::transmute_copy(&hdc), core::mem::transmute_copy(&points)).into() } - unsafe extern "system" fn InkSpaceToPixelFromPoints, Impl: IInkRenderer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hdc: isize, points: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn InkSpaceToPixelFromPoints, Impl: IInkRenderer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hdc: isize, points: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkRenderer_Impl::InkSpaceToPixelFromPoints(this, core::mem::transmute_copy(&hdc), core::mem::transmute_copy(&points)).into() @@ -5280,7 +5280,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BezierPoints, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, points: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BezierPoints, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, points: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::BezierPoints(this) { @@ -5329,7 +5329,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PolylineCusps, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cusps: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PolylineCusps, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cusps: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::PolylineCusps(this) { @@ -5340,7 +5340,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn BezierCusps, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cusps: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn BezierCusps, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, cusps: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::BezierCusps(this) { @@ -5351,7 +5351,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SelfIntersections, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, intersections: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SelfIntersections, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, intersections: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::SelfIntersections(this) { @@ -5384,7 +5384,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PacketDescription, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PacketDescription, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::PacketDescription(this) { @@ -5417,7 +5417,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn FindIntersections, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strokes: *mut core::ffi::c_void, intersections: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn FindIntersections, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strokes: *mut core::ffi::c_void, intersections: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::FindIntersections(this, windows_core::from_raw_borrowed(&strokes)) { @@ -5428,7 +5428,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetRectangleIntersections, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rectangle: *mut core::ffi::c_void, intersections: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRectangleIntersections, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rectangle: *mut core::ffi::c_void, intersections: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetRectangleIntersections(this, windows_core::from_raw_borrowed(&rectangle)) { @@ -5471,12 +5471,12 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPacketDescriptionPropertyMetrics, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> windows_core::HRESULT { + unsafe extern "system" fn GetPacketDescriptionPropertyMetrics, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkStrokeDisp_Impl::GetPacketDescriptionPropertyMetrics(this, core::mem::transmute(&propertyname), core::mem::transmute_copy(&minimum), core::mem::transmute_copy(&maximum), core::mem::transmute_copy(&units), core::mem::transmute_copy(&resolution)).into() } - unsafe extern "system" fn GetPoints, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, count: i32, points: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPoints, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, count: i32, points: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetPoints(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { @@ -5487,7 +5487,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPoints, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, points: std::mem::MaybeUninit, index: i32, count: i32, numberofpointsset: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetPoints, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, points: core::mem::MaybeUninit, index: i32, count: i32, numberofpointsset: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::SetPoints(this, core::mem::transmute(&points), core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { @@ -5498,7 +5498,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPacketData, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, count: i32, packetdata: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPacketData, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, index: i32, count: i32, packetdata: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetPacketData(this, core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { @@ -5509,7 +5509,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPacketValuesByProperty, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, index: i32, count: i32, packetvalues: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPacketValuesByProperty, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, index: i32, count: i32, packetvalues: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetPacketValuesByProperty(this, core::mem::transmute(&propertyname), core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { @@ -5520,7 +5520,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetPacketValuesByProperty, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit, packetvalues: std::mem::MaybeUninit, index: i32, count: i32, numberofpacketsset: *mut i32) -> windows_core::HRESULT { + unsafe extern "system" fn SetPacketValuesByProperty, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit, packetvalues: core::mem::MaybeUninit, index: i32, count: i32, numberofpacketsset: *mut i32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::SetPacketValuesByProperty(this, core::mem::transmute(&bstrpropertyname), core::mem::transmute(&packetvalues), core::mem::transmute_copy(&index), core::mem::transmute_copy(&count)) { @@ -5531,7 +5531,7 @@ impl IInkStrokeDisp_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetFlattenedBezierPoints, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fittingerror: i32, flattenedbezierpoints: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetFlattenedBezierPoints, Impl: IInkStrokeDisp_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, fittingerror: i32, flattenedbezierpoints: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokeDisp_Impl::GetFlattenedBezierPoints(this, core::mem::transmute_copy(&fittingerror)) { @@ -5685,7 +5685,7 @@ impl IInkStrokes_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ToString, Impl: IInkStrokes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tostring: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn ToString, Impl: IInkStrokes_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tostring: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkStrokes_Impl::ToString(this) { @@ -5825,7 +5825,7 @@ impl windows_core::RuntimeName for IInkTablet {} #[cfg(feature = "Win32_System_Com")] impl IInkTablet_Vtbl { pub const fn new, Impl: IInkTablet_Impl, const OFFSET: isize>() -> IInkTablet_Vtbl { - unsafe extern "system" fn Name, Impl: IInkTablet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Name, Impl: IInkTablet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkTablet_Impl::Name(this) { @@ -5836,7 +5836,7 @@ impl IInkTablet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn PlugAndPlayId, Impl: IInkTablet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PlugAndPlayId, Impl: IInkTablet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, id: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkTablet_Impl::PlugAndPlayId(this) { @@ -5869,7 +5869,7 @@ impl IInkTablet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsPacketPropertySupported, Impl: IInkTablet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetpropertyname: std::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsPacketPropertySupported, Impl: IInkTablet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetpropertyname: core::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkTablet_Impl::IsPacketPropertySupported(this, core::mem::transmute(&packetpropertyname)) { @@ -5880,7 +5880,7 @@ impl IInkTablet_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetPropertyMetrics, Impl: IInkTablet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: std::mem::MaybeUninit, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> windows_core::HRESULT { + unsafe extern "system" fn GetPropertyMetrics, Impl: IInkTablet_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, propertyname: core::mem::MaybeUninit, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkTablet_Impl::GetPropertyMetrics(this, core::mem::transmute(&propertyname), core::mem::transmute_copy(&minimum), core::mem::transmute_copy(&maximum), core::mem::transmute_copy(&units), core::mem::transmute_copy(&resolution)).into() @@ -6024,7 +6024,7 @@ impl IInkTablets_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn IsPacketPropertySupported, Impl: IInkTablets_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetpropertyname: std::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn IsPacketPropertySupported, Impl: IInkTablets_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, packetpropertyname: core::mem::MaybeUninit, supported: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IInkTablets_Impl::IsPacketPropertySupported(this, core::mem::transmute(&packetpropertyname)) { @@ -6265,12 +6265,12 @@ impl windows_core::RuntimeName for IInkWordList {} #[cfg(feature = "Win32_System_Com")] impl IInkWordList_Vtbl { pub const fn new, Impl: IInkWordList_Impl, const OFFSET: isize>() -> IInkWordList_Vtbl { - unsafe extern "system" fn AddWord, Impl: IInkWordList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddWord, Impl: IInkWordList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkWordList_Impl::AddWord(this, core::mem::transmute(&newword)).into() } - unsafe extern "system" fn RemoveWord, Impl: IInkWordList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, removeword: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveWord, Impl: IInkWordList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, removeword: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkWordList_Impl::RemoveWord(this, core::mem::transmute(&removeword)).into() @@ -6300,7 +6300,7 @@ impl windows_core::RuntimeName for IInkWordList2 {} #[cfg(feature = "Win32_System_Com")] impl IInkWordList2_Vtbl { pub const fn new, Impl: IInkWordList2_Impl, const OFFSET: isize>() -> IInkWordList2_Vtbl { - unsafe extern "system" fn AddWords, Impl: IInkWordList2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newwords: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddWords, Impl: IInkWordList2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, newwords: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IInkWordList2_Impl::AddWords(this, core::mem::transmute(&newwords)).into() @@ -6430,7 +6430,7 @@ impl IMathInputControl_Vtbl { let this = (*this).get_impl(); IMathInputControl_Impl::SetCustomPaint(this, core::mem::transmute_copy(&element), core::mem::transmute_copy(&paint)).into() } - unsafe extern "system" fn SetCaptionText, Impl: IMathInputControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, captiontext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetCaptionText, Impl: IMathInputControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, captiontext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMathInputControl_Impl::SetCaptionText(this, core::mem::transmute(&captiontext)).into() @@ -6471,12 +6471,12 @@ impl IMathInputControl_Vtbl { let this = (*this).get_impl(); IMathInputControl_Impl::EnableAutoGrow(this, core::mem::transmute_copy(&autogrow)).into() } - unsafe extern "system" fn AddFunctionName, Impl: IMathInputControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, functionname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn AddFunctionName, Impl: IMathInputControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, functionname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMathInputControl_Impl::AddFunctionName(this, core::mem::transmute(&functionname)).into() } - unsafe extern "system" fn RemoveFunctionName, Impl: IMathInputControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, functionname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn RemoveFunctionName, Impl: IMathInputControl_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, functionname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMathInputControl_Impl::RemoveFunctionName(this, core::mem::transmute(&functionname)).into() @@ -6561,7 +6561,7 @@ impl IPenInputPanel_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Factoid, Impl: IPenInputPanel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Factoid, Impl: IPenInputPanel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IPenInputPanel_Impl::Factoid(this) { @@ -6572,7 +6572,7 @@ impl IPenInputPanel_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetFactoid, Impl: IPenInputPanel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetFactoid, Impl: IPenInputPanel_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, factoid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IPenInputPanel_Impl::SetFactoid(this, core::mem::transmute(&factoid)).into() @@ -7884,7 +7884,7 @@ pub trait ITipAutoCompleteProvider_Impl: Sized { impl windows_core::RuntimeName for ITipAutoCompleteProvider {} impl ITipAutoCompleteProvider_Vtbl { pub const fn new, Impl: ITipAutoCompleteProvider_Impl, const OFFSET: isize>() -> ITipAutoCompleteProvider_Vtbl { - unsafe extern "system" fn UpdatePendingText, Impl: ITipAutoCompleteProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpendingtext: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn UpdatePendingText, Impl: ITipAutoCompleteProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrpendingtext: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITipAutoCompleteProvider_Impl::UpdatePendingText(this, core::mem::transmute(&bstrpendingtext)).into() 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 0456623c09..1059c06cf3 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs @@ -216,13 +216,13 @@ windows_core::imp::define_interface!(IDynamicRenderer, IDynamicRenderer_Vtbl, 0x impl std::ops::Deref for IDynamicRenderer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDynamicRenderer, windows_core::IUnknown); impl IDynamicRenderer { pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, benabled: P0) -> windows_core::Result<()> @@ -232,7 +232,7 @@ impl IDynamicRenderer { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), benabled.param().abi()).ok() } pub unsafe fn HWND(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HWND)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHWND(&self, hwnd: P0) -> windows_core::Result<()> @@ -242,14 +242,14 @@ impl IDynamicRenderer { (windows_core::Interface::vtable(self).SetHWND)(windows_core::Interface::as_raw(self), hwnd.param().abi()).ok() } pub unsafe fn ClipRectangle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClipRectangle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClipRectangle(&self, prccliprect: *const super::super::Foundation::RECT) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetClipRectangle)(windows_core::Interface::as_raw(self), prccliprect).ok() } pub unsafe fn ClipRegion(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClipRegion)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetClipRegion(&self, hcliprgn: P0) -> windows_core::Result<()> @@ -260,7 +260,7 @@ impl IDynamicRenderer { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawingAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DrawingAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -271,7 +271,7 @@ impl IDynamicRenderer { (windows_core::Interface::vtable(self).putref_DrawingAttributes)(windows_core::Interface::as_raw(self), pida.param().abi()).ok() } pub unsafe fn DataCacheEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataCacheEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDataCacheEnabled(&self, fcachedata: P0) -> windows_core::Result<()> @@ -322,13 +322,13 @@ windows_core::imp::define_interface!(IGestureRecognizer, IGestureRecognizer_Vtbl impl std::ops::Deref for IGestureRecognizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IGestureRecognizer, windows_core::IUnknown); impl IGestureRecognizer { pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, fenabled: P0) -> windows_core::Result<()> @@ -338,7 +338,7 @@ impl IGestureRecognizer { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), fenabled.param().abi()).ok() } pub unsafe fn MaxStrokeCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxStrokeCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMaxStrokeCount(&self, cstrokes: i32) -> windows_core::Result<()> { @@ -365,7 +365,7 @@ windows_core::imp::define_interface!(IHandwrittenTextInsertion, IHandwrittenText impl std::ops::Deref for IHandwrittenTextInsertion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHandwrittenTextInsertion, windows_core::IUnknown); @@ -404,7 +404,7 @@ windows_core::imp::define_interface!(IInk, IInk_Vtbl, 0x03f8e511_43a1_11d3_8bb6_ impl std::ops::Deref for IInk { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -422,7 +422,7 @@ windows_core::imp::define_interface!(IInkCollector, IInkCollector_Vtbl, 0xf0f060 impl std::ops::Deref for IInkCollector { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -430,14 +430,14 @@ windows_core::imp::interface_hierarchy!(IInkCollector, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IInkCollector { pub unsafe fn hWnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).hWnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, collecting: P0) -> windows_core::Result<()> @@ -448,7 +448,7 @@ impl IInkCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultDrawingAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultDrawingAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -460,7 +460,7 @@ impl IInkCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Renderer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Renderer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -472,7 +472,7 @@ impl IInkCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -483,7 +483,7 @@ impl IInkCollector { (windows_core::Interface::vtable(self).putref_Ink)(windows_core::Interface::as_raw(self), newink.param().abi()).ok() } pub unsafe fn AutoRedraw(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoRedraw)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoRedraw(&self, autoredraw: P0) -> windows_core::Result<()> @@ -493,18 +493,18 @@ impl IInkCollector { (windows_core::Interface::vtable(self).SetAutoRedraw)(windows_core::Interface::as_raw(self), autoredraw.param().abi()).ok() } pub unsafe fn CollectingInk(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CollectingInk)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CollectionMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CollectionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DynamicRendering)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDynamicRendering(&self, enabled: P0) -> windows_core::Result<()> @@ -514,7 +514,7 @@ impl IInkCollector { (windows_core::Interface::vtable(self).SetDynamicRendering)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn DesiredPacketDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredPacketDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDesiredPacketDescription(&self, packetguids: P0) -> windows_core::Result<()> @@ -525,7 +525,7 @@ impl IInkCollector { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MouseIcon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MouseIcon)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -543,7 +543,7 @@ impl IInkCollector { (windows_core::Interface::vtable(self).putref_MouseIcon)(windows_core::Interface::as_raw(self), mouseicon.param().abi()).ok() } pub unsafe fn MousePointer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MousePointer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMousePointer(&self, mousepointer: InkMousePointer) -> windows_core::Result<()> { @@ -551,18 +551,18 @@ impl IInkCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cursors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cursors)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MarginX(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MarginX)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MarginY)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMarginY(&self, marginy: i32) -> windows_core::Result<()> { @@ -570,11 +570,11 @@ impl IInkCollector { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tablet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tablet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportHighContrastInk(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportHighContrastInk)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSupportHighContrastInk(&self, support: P0) -> windows_core::Result<()> @@ -590,7 +590,7 @@ impl IInkCollector { (windows_core::Interface::vtable(self).SetGestureStatus)(windows_core::Interface::as_raw(self), gesture, listen.param().abi()).ok() } pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGestureStatus)(windows_core::Interface::as_raw(self), gesture, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -618,7 +618,7 @@ impl IInkCollector { (windows_core::Interface::vtable(self).SetSingleTabletIntegratedMode)(windows_core::Interface::as_raw(self), tablet.param().abi()).ok() } pub unsafe fn GetEventInterest(&self, eventid: InkCollectorEventInterest) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventInterest)(windows_core::Interface::as_raw(self), eventid, &mut result__).map(|| result__) } pub unsafe fn SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: P0) -> windows_core::Result<()> @@ -667,8 +667,8 @@ pub struct IInkCollector_Vtbl { pub SetCollectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, InkCollectionMode) -> windows_core::HRESULT, pub DynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub MouseIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole")))] @@ -721,7 +721,7 @@ windows_core::imp::define_interface!(IInkCursor, IInkCursor_Vtbl, 0xad30c630_40c impl std::ops::Deref for IInkCursor { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -729,20 +729,20 @@ windows_core::imp::interface_hierarchy!(IInkCursor, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IInkCursor { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Inverted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Inverted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawingAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DrawingAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -754,12 +754,12 @@ impl IInkCursor { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tablet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tablet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Buttons(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Buttons)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -767,7 +767,7 @@ impl IInkCursor { #[repr(C)] pub struct IInkCursor_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Inverted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -793,7 +793,7 @@ windows_core::imp::define_interface!(IInkCursorButton, IInkCursorButton_Vtbl, 0x impl std::ops::Deref for IInkCursorButton { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -801,15 +801,15 @@ windows_core::imp::interface_hierarchy!(IInkCursorButton, windows_core::IUnknown #[cfg(feature = "Win32_System_Com")] impl IInkCursorButton { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn State(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).State)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -817,8 +817,8 @@ impl IInkCursorButton { #[repr(C)] pub struct IInkCursorButton_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkCursorButtonState) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -827,7 +827,7 @@ windows_core::imp::define_interface!(IInkCursorButtons, IInkCursorButtons_Vtbl, impl std::ops::Deref for IInkCursorButtons { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -835,11 +835,11 @@ windows_core::imp::interface_hierarchy!(IInkCursorButtons, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IInkCursorButtons { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -847,7 +847,7 @@ impl IInkCursorButtons { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), identifier.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -858,7 +858,7 @@ pub struct IInkCursorButtons_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, } @@ -868,7 +868,7 @@ windows_core::imp::define_interface!(IInkCursors, IInkCursors_Vtbl, 0xa248c1ac_c impl std::ops::Deref for IInkCursors { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -876,16 +876,16 @@ windows_core::imp::interface_hierarchy!(IInkCursors, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IInkCursors { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -906,7 +906,7 @@ windows_core::imp::define_interface!(IInkCustomStrokes, IInkCustomStrokes_Vtbl, impl std::ops::Deref for IInkCustomStrokes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -914,11 +914,11 @@ windows_core::imp::interface_hierarchy!(IInkCustomStrokes, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IInkCustomStrokes { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -926,7 +926,7 @@ impl IInkCustomStrokes { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), identifier.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -954,14 +954,14 @@ pub struct IInkCustomStrokes_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -970,7 +970,7 @@ windows_core::imp::define_interface!(IInkDisp, IInkDisp_Vtbl, 0x9d398fa0_c4e2_4f impl std::ops::Deref for IInkDisp { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -979,16 +979,16 @@ windows_core::imp::interface_hierarchy!(IInkDisp, windows_core::IUnknown, super: impl IInkDisp { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Strokes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExtendedProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Dirty(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Dirty)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDirty(&self, dirty: P0) -> windows_core::Result<()> @@ -999,12 +999,12 @@ impl IInkDisp { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CustomStrokes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CustomStrokes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoundingBox)(windows_core::Interface::as_raw(self), boundingboxmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1026,7 +1026,7 @@ impl IInkDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtractStrokes)(windows_core::Interface::as_raw(self), strokes.param().abi(), extractflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1034,7 +1034,7 @@ impl IInkDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtractWithRectangle)(windows_core::Interface::as_raw(self), rectangle.param().abi(), extractflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1046,12 +1046,12 @@ impl IInkDisp { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HitTestCircle)(windows_core::Interface::as_raw(self), x, y, radius, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1059,7 +1059,7 @@ impl IInkDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HitTestWithRectangle)(windows_core::Interface::as_raw(self), selectionrectangle.param().abi(), intersectpercent, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1078,7 +1078,7 @@ impl IInkDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStrokes)(windows_core::Interface::as_raw(self), strokeids.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1090,7 +1090,7 @@ impl IInkDisp { (windows_core::Interface::vtable(self).AddStrokesAtRectangle)(windows_core::Interface::as_raw(self), sourcestrokes.param().abi(), targetrectangle.param().abi()).ok() } pub unsafe fn Save(&self, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Save)(windows_core::Interface::as_raw(self), persistenceformat, compressionmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Load(&self, data: P0) -> windows_core::Result<()> @@ -1105,7 +1105,7 @@ impl IInkDisp { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateStroke)(windows_core::Interface::as_raw(self), packetdata.param().abi(), packetdescription.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1113,7 +1113,7 @@ impl IInkDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClipboardCopyWithRectangle)(windows_core::Interface::as_raw(self), rectangle.param().abi(), clipboardformats, clipboardmodes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1121,7 +1121,7 @@ impl IInkDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClipboardCopy)(windows_core::Interface::as_raw(self), strokes.param().abi(), clipboardformats, clipboardmodes, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1129,7 +1129,7 @@ impl IInkDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanPaste)(windows_core::Interface::as_raw(self), dataobject.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1137,7 +1137,7 @@ impl IInkDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ClipboardPaste)(windows_core::Interface::as_raw(self), x, y, dataobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1196,7 +1196,7 @@ pub struct IInkDisp_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] HitTestWithRectangle: usize, #[cfg(feature = "Win32_System_Com")] - pub HitTestWithLasso: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, f32, *mut std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub HitTestWithLasso: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, f32, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] HitTestWithLasso: usize, #[cfg(feature = "Win32_System_Com")] @@ -1204,17 +1204,17 @@ pub struct IInkDisp_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] NearestPoint: usize, #[cfg(feature = "Win32_System_Com")] - pub CreateStrokes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateStrokes: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateStrokes: usize, #[cfg(feature = "Win32_System_Com")] pub AddStrokesAtRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AddStrokesAtRectangle: usize, - pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, InkPersistenceFormat, InkPersistenceCompressionMode, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, InkPersistenceFormat, InkPersistenceCompressionMode, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub CreateStroke: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub CreateStroke: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] CreateStroke: usize, #[cfg(feature = "Win32_System_Com")] @@ -1240,7 +1240,7 @@ windows_core::imp::define_interface!(IInkDivider, IInkDivider_Vtbl, 0x5de00405_f impl std::ops::Deref for IInkDivider { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1249,7 +1249,7 @@ windows_core::imp::interface_hierarchy!(IInkDivider, windows_core::IUnknown, sup impl IInkDivider { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Strokes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1261,7 +1261,7 @@ impl IInkDivider { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecognizerContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecognizerContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1272,7 +1272,7 @@ impl IInkDivider { (windows_core::Interface::vtable(self).putref_RecognizerContext)(windows_core::Interface::as_raw(self), recognizercontext.param().abi()).ok() } pub unsafe fn LineHeight(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LineHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLineHeight(&self, lineheight: i32) -> windows_core::Result<()> { @@ -1280,7 +1280,7 @@ impl IInkDivider { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Divide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Divide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1317,7 +1317,7 @@ windows_core::imp::define_interface!(IInkDivisionResult, IInkDivisionResult_Vtbl impl std::ops::Deref for IInkDivisionResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1326,12 +1326,12 @@ windows_core::imp::interface_hierarchy!(IInkDivisionResult, windows_core::IUnkno impl IInkDivisionResult { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Strokes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ResultByType(&self, divisiontype: InkDivisionType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ResultByType)(windows_core::Interface::as_raw(self), divisiontype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1354,7 +1354,7 @@ windows_core::imp::define_interface!(IInkDivisionUnit, IInkDivisionUnit_Vtbl, 0x impl std::ops::Deref for IInkDivisionUnit { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1363,20 +1363,20 @@ windows_core::imp::interface_hierarchy!(IInkDivisionUnit, windows_core::IUnknown impl IInkDivisionUnit { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Strokes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DivisionType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DivisionType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RecognizedString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecognizedString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RotationTransform(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RotationTransform)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1389,7 +1389,7 @@ pub struct IInkDivisionUnit_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Strokes: usize, pub DivisionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkDivisionType) -> windows_core::HRESULT, - pub RecognizedString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub RecognizedString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub RotationTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -1401,7 +1401,7 @@ windows_core::imp::define_interface!(IInkDivisionUnits, IInkDivisionUnits_Vtbl, impl std::ops::Deref for IInkDivisionUnits { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1409,16 +1409,16 @@ windows_core::imp::interface_hierarchy!(IInkDivisionUnits, windows_core::IUnknow #[cfg(feature = "Win32_System_Com")] impl IInkDivisionUnits { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1439,7 +1439,7 @@ windows_core::imp::define_interface!(IInkDrawingAttributes, IInkDrawingAttribute impl std::ops::Deref for IInkDrawingAttributes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1447,28 +1447,28 @@ windows_core::imp::interface_hierarchy!(IInkDrawingAttributes, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IInkDrawingAttributes { pub unsafe fn Color(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Color)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Height)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FitToCurve)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFitToCurve(&self, flag: P0) -> windows_core::Result<()> @@ -1478,7 +1478,7 @@ impl IInkDrawingAttributes { (windows_core::Interface::vtable(self).SetFitToCurve)(windows_core::Interface::as_raw(self), flag.param().abi()).ok() } pub unsafe fn IgnorePressure(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IgnorePressure)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetIgnorePressure(&self, flag: P0) -> windows_core::Result<()> @@ -1488,7 +1488,7 @@ impl IInkDrawingAttributes { (windows_core::Interface::vtable(self).SetIgnorePressure)(windows_core::Interface::as_raw(self), flag.param().abi()).ok() } pub unsafe fn AntiAliased(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AntiAliased)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAntiAliased(&self, flag: P0) -> windows_core::Result<()> @@ -1498,21 +1498,21 @@ impl IInkDrawingAttributes { (windows_core::Interface::vtable(self).SetAntiAliased)(windows_core::Interface::as_raw(self), flag.param().abi()).ok() } pub unsafe fn Transparency(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Transparency)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RasterOperation)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PenTip)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPenTip(&self, newpentip: InkPenTip) -> windows_core::Result<()> { @@ -1520,12 +1520,12 @@ impl IInkDrawingAttributes { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExtendedProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1566,7 +1566,7 @@ windows_core::imp::define_interface!(IInkEdit, IInkEdit_Vtbl, 0xf2127a19_fbfb_4a impl std::ops::Deref for IInkEdit { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1574,11 +1574,11 @@ windows_core::imp::interface_hierarchy!(IInkEdit, windows_core::IUnknown, super: #[cfg(feature = "Win32_System_Com")] impl IInkEdit { pub unsafe fn Status(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Status)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn UseMouseForInput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UseMouseForInput)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseMouseForInput(&self, newval: P0) -> windows_core::Result<()> @@ -1588,14 +1588,14 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetUseMouseForInput)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn InkMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InkMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InkInsertMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInkInsertMode(&self, newval: InkInsertMode) -> windows_core::Result<()> { @@ -1603,7 +1603,7 @@ impl IInkEdit { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawingAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DrawingAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1614,7 +1614,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).putref_DrawingAttributes)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn RecognitionTimeout(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecognitionTimeout)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRecognitionTimeout(&self, newval: i32) -> windows_core::Result<()> { @@ -1622,7 +1622,7 @@ impl IInkEdit { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recognizer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recognizer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1633,7 +1633,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).putref_Recognizer)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Factoid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Factoid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFactoid(&self, newval: P0) -> windows_core::Result<()> @@ -1643,7 +1643,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetFactoid)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn SelInks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelInks)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelInks(&self, selink: P0) -> windows_core::Result<()> @@ -1653,7 +1653,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelInks)(windows_core::Interface::as_raw(self), selink.param().abi()).ok() } pub unsafe fn SelInksDisplayMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelInksDisplayMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSelInksDisplayMode(&self, inkdisplaymode: InkDisplayMode) -> windows_core::Result<()> { @@ -1663,7 +1663,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGestureStatus)(windows_core::Interface::as_raw(self), gesture, &mut result__).map(|| result__) } pub unsafe fn SetGestureStatus(&self, gesture: InkApplicationGesture, listen: P0) -> windows_core::Result<()> @@ -1676,18 +1676,18 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Appearance(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Appearance)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BorderStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetBorderStyle(&self, pborderstyle: BorderStyleConstants) -> windows_core::Result<()> { @@ -1695,12 +1695,12 @@ impl IInkEdit { } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn Hwnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Hwnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Font(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Font)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -1711,7 +1711,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).putref_Font)(windows_core::Interface::as_raw(self), ppfont.param().abi()).ok() } pub unsafe fn Text(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Text)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetText(&self, pbstrtext: P0) -> windows_core::Result<()> @@ -1722,7 +1722,7 @@ impl IInkEdit { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MouseIcon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MouseIcon)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -1740,14 +1740,14 @@ impl IInkEdit { (windows_core::Interface::vtable(self).putref_MouseIcon)(windows_core::Interface::as_raw(self), mouseicon.param().abi()).ok() } pub unsafe fn MousePointer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MousePointer)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Locked)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetLocked(&self, newval: P0) -> windows_core::Result<()> @@ -1757,7 +1757,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetLocked)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, newval: P0) -> windows_core::Result<()> @@ -1767,14 +1767,14 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn MaxLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaxLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MultiLine)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMultiLine(&self, newval: P0) -> windows_core::Result<()> @@ -1784,14 +1784,14 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetMultiLine)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn ScrollBars(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ScrollBars)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisableNoScroll)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDisableNoScroll(&self, newval: P0) -> windows_core::Result<()> @@ -1801,7 +1801,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetDisableNoScroll)(windows_core::Interface::as_raw(self), newval.param().abi()).ok() } pub unsafe fn SelAlignment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelAlignment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelAlignment(&self, pvarselalignment: P0) -> windows_core::Result<()> @@ -1811,7 +1811,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelAlignment)(windows_core::Interface::as_raw(self), pvarselalignment.param().abi()).ok() } pub unsafe fn SelBold(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelBold)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelBold(&self, pvarselbold: P0) -> windows_core::Result<()> @@ -1821,7 +1821,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelBold)(windows_core::Interface::as_raw(self), pvarselbold.param().abi()).ok() } pub unsafe fn SelItalic(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelItalic)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelItalic(&self, pvarselitalic: P0) -> windows_core::Result<()> @@ -1831,7 +1831,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelItalic)(windows_core::Interface::as_raw(self), pvarselitalic.param().abi()).ok() } pub unsafe fn SelUnderline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelUnderline)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelUnderline(&self, pvarselunderline: P0) -> windows_core::Result<()> @@ -1841,7 +1841,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelUnderline)(windows_core::Interface::as_raw(self), pvarselunderline.param().abi()).ok() } pub unsafe fn SelColor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelColor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelColor(&self, pvarselcolor: P0) -> windows_core::Result<()> @@ -1851,7 +1851,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelColor)(windows_core::Interface::as_raw(self), pvarselcolor.param().abi()).ok() } pub unsafe fn SelFontName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelFontName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelFontName(&self, pvarselfontname: P0) -> windows_core::Result<()> @@ -1861,7 +1861,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelFontName)(windows_core::Interface::as_raw(self), pvarselfontname.param().abi()).ok() } pub unsafe fn SelFontSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelFontSize)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelFontSize(&self, pvarselfontsize: P0) -> windows_core::Result<()> @@ -1871,7 +1871,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelFontSize)(windows_core::Interface::as_raw(self), pvarselfontsize.param().abi()).ok() } pub unsafe fn SelCharOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelCharOffset)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelCharOffset(&self, pvarselcharoffset: P0) -> windows_core::Result<()> @@ -1881,7 +1881,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelCharOffset)(windows_core::Interface::as_raw(self), pvarselcharoffset.param().abi()).ok() } pub unsafe fn TextRTF(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TextRTF)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetTextRTF(&self, pbstrtextrtf: P0) -> windows_core::Result<()> @@ -1891,21 +1891,21 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetTextRTF)(windows_core::Interface::as_raw(self), pbstrtextrtf.param().abi()).ok() } pub unsafe fn SelStart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelStart)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSelLength(&self, plsellength: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetSelLength)(windows_core::Interface::as_raw(self), plsellength).ok() } pub unsafe fn SelText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelText(&self, pbstrseltext: P0) -> windows_core::Result<()> @@ -1915,7 +1915,7 @@ impl IInkEdit { (windows_core::Interface::vtable(self).SetSelText)(windows_core::Interface::as_raw(self), pbstrseltext.param().abi()).ok() } pub unsafe fn SelRTF(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelRTF)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSelRTF(&self, pbstrselrtf: P0) -> windows_core::Result<()> @@ -1957,10 +1957,10 @@ pub struct IInkEdit_Vtbl { pub putref_Recognizer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_Recognizer: usize, - pub Factoid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFactoid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelInks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelInks: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Factoid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFactoid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelInks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelInks: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SelInksDisplayMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkDisplayMode) -> windows_core::HRESULT, pub SetSelInksDisplayMode: unsafe extern "system" fn(*mut core::ffi::c_void, InkDisplayMode) -> windows_core::HRESULT, pub Recognize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -1984,8 +1984,8 @@ pub struct IInkEdit_Vtbl { pub putref_Font: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole")))] putref_Font: usize, - pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub MouseIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole")))] @@ -2012,32 +2012,32 @@ pub struct IInkEdit_Vtbl { pub SetScrollBars: unsafe extern "system" fn(*mut core::ffi::c_void, ScrollBarsConstants) -> windows_core::HRESULT, pub DisableNoScroll: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDisableNoScroll: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SelAlignment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelAlignment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelBold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelBold: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelItalic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelItalic: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelUnderline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelUnderline: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelColor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelFontName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelFontName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelFontSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelFontSize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelCharOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelCharOffset: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub TextRTF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetTextRTF: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelAlignment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelAlignment: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelBold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelBold: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelItalic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelItalic: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelUnderline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelUnderline: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelColor: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelFontName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelFontName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelFontSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelFontSize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelCharOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelCharOffset: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub TextRTF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetTextRTF: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub SelStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSelStart: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SelLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSelLength: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, - pub SelText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelRTF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSelRTF: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelRTF: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSelRTF: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -2046,7 +2046,7 @@ windows_core::imp::define_interface!(IInkExtendedProperties, IInkExtendedPropert impl std::ops::Deref for IInkExtendedProperties { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2054,11 +2054,11 @@ windows_core::imp::interface_hierarchy!(IInkExtendedProperties, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IInkExtendedProperties { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2066,7 +2066,7 @@ impl IInkExtendedProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), identifier.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2075,7 +2075,7 @@ impl IInkExtendedProperties { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Add)(windows_core::Interface::as_raw(self), guid.param().abi(), data.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Remove(&self, identifier: P0) -> windows_core::Result<()> @@ -2091,7 +2091,7 @@ impl IInkExtendedProperties { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoesPropertyExist)(windows_core::Interface::as_raw(self), guid.param().abi(), &mut result__).map(|| result__) } } @@ -2102,16 +2102,16 @@ pub struct IInkExtendedProperties_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] - pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, #[cfg(feature = "Win32_System_Com")] - pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Add: usize, - pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub DoesPropertyExist: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub DoesPropertyExist: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkExtendedProperty, IInkExtendedProperty_Vtbl, 0xdb489209_b7c3_411d_90f6_1548cfff271e); @@ -2119,7 +2119,7 @@ windows_core::imp::define_interface!(IInkExtendedProperty, IInkExtendedProperty_ impl std::ops::Deref for IInkExtendedProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2127,11 +2127,11 @@ windows_core::imp::interface_hierarchy!(IInkExtendedProperty, windows_core::IUnk #[cfg(feature = "Win32_System_Com")] impl IInkExtendedProperty { pub unsafe fn Guid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Guid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Data(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Data)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetData(&self, data: P0) -> windows_core::Result<()> @@ -2145,9 +2145,9 @@ impl IInkExtendedProperty { #[repr(C)] pub struct IInkExtendedProperty_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Guid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Data: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkGesture, IInkGesture_Vtbl, 0x3bdc0a97_04e5_4e26_b813_18f052d41def); @@ -2155,7 +2155,7 @@ windows_core::imp::define_interface!(IInkGesture, IInkGesture_Vtbl, 0x3bdc0a97_0 impl std::ops::Deref for IInkGesture { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2163,11 +2163,11 @@ windows_core::imp::interface_hierarchy!(IInkGesture, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IInkGesture { pub unsafe fn Confidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Confidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetHotPoint(&self, x: *mut i32, y: *mut i32) -> windows_core::Result<()> { @@ -2186,7 +2186,7 @@ windows_core::imp::define_interface!(IInkLineInfo, IInkLineInfo_Vtbl, 0x9c1c5ad6 impl std::ops::Deref for IInkLineInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInkLineInfo, windows_core::IUnknown); @@ -2232,7 +2232,7 @@ windows_core::imp::define_interface!(IInkOverlay, IInkOverlay_Vtbl, 0xb82a463b_c impl std::ops::Deref for IInkOverlay { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2240,14 +2240,14 @@ windows_core::imp::interface_hierarchy!(IInkOverlay, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IInkOverlay { pub unsafe fn hWnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).hWnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, collecting: P0) -> windows_core::Result<()> @@ -2258,7 +2258,7 @@ impl IInkOverlay { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultDrawingAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultDrawingAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2270,7 +2270,7 @@ impl IInkOverlay { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Renderer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Renderer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2282,7 +2282,7 @@ impl IInkOverlay { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2293,7 +2293,7 @@ impl IInkOverlay { (windows_core::Interface::vtable(self).putref_Ink)(windows_core::Interface::as_raw(self), newink.param().abi()).ok() } pub unsafe fn AutoRedraw(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoRedraw)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoRedraw(&self, autoredraw: P0) -> windows_core::Result<()> @@ -2303,18 +2303,18 @@ impl IInkOverlay { (windows_core::Interface::vtable(self).SetAutoRedraw)(windows_core::Interface::as_raw(self), autoredraw.param().abi()).ok() } pub unsafe fn CollectingInk(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CollectingInk)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CollectionMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CollectionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DynamicRendering)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDynamicRendering(&self, enabled: P0) -> windows_core::Result<()> @@ -2324,7 +2324,7 @@ impl IInkOverlay { (windows_core::Interface::vtable(self).SetDynamicRendering)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn DesiredPacketDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredPacketDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDesiredPacketDescription(&self, packetguids: P0) -> windows_core::Result<()> @@ -2335,7 +2335,7 @@ impl IInkOverlay { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MouseIcon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MouseIcon)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -2353,14 +2353,14 @@ impl IInkOverlay { (windows_core::Interface::vtable(self).putref_MouseIcon)(windows_core::Interface::as_raw(self), mouseicon.param().abi()).ok() } pub unsafe fn MousePointer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MousePointer)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EditingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEditingMode(&self, editingmode: InkOverlayEditingMode) -> windows_core::Result<()> { @@ -2368,7 +2368,7 @@ impl IInkOverlay { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Selection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Selection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2379,21 +2379,21 @@ impl IInkOverlay { (windows_core::Interface::vtable(self).SetSelection)(windows_core::Interface::as_raw(self), selection.param().abi()).ok() } pub unsafe fn EraserMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EraserMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EraserWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttachMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAttachMode(&self, attachmode: InkOverlayAttachMode) -> windows_core::Result<()> { @@ -2401,18 +2401,18 @@ impl IInkOverlay { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cursors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cursors)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MarginX(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MarginX)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MarginY)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMarginY(&self, marginy: i32) -> windows_core::Result<()> { @@ -2420,11 +2420,11 @@ impl IInkOverlay { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tablet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tablet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportHighContrastInk(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportHighContrastInk)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSupportHighContrastInk(&self, support: P0) -> windows_core::Result<()> @@ -2434,7 +2434,7 @@ impl IInkOverlay { (windows_core::Interface::vtable(self).SetSupportHighContrastInk)(windows_core::Interface::as_raw(self), support.param().abi()).ok() } pub unsafe fn SupportHighContrastSelectionUI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportHighContrastSelectionUI)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSupportHighContrastSelectionUI(&self, support: P0) -> windows_core::Result<()> @@ -2444,7 +2444,7 @@ impl IInkOverlay { (windows_core::Interface::vtable(self).SetSupportHighContrastSelectionUI)(windows_core::Interface::as_raw(self), support.param().abi()).ok() } pub unsafe fn HitTestSelection(&self, x: i32, y: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HitTestSelection)(windows_core::Interface::as_raw(self), x, y, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2461,7 +2461,7 @@ impl IInkOverlay { (windows_core::Interface::vtable(self).SetGestureStatus)(windows_core::Interface::as_raw(self), gesture, listen.param().abi()).ok() } pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGestureStatus)(windows_core::Interface::as_raw(self), gesture, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2489,7 +2489,7 @@ impl IInkOverlay { (windows_core::Interface::vtable(self).SetSingleTabletIntegratedMode)(windows_core::Interface::as_raw(self), tablet.param().abi()).ok() } pub unsafe fn GetEventInterest(&self, eventid: InkCollectorEventInterest) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventInterest)(windows_core::Interface::as_raw(self), eventid, &mut result__).map(|| result__) } pub unsafe fn SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: P0) -> windows_core::Result<()> @@ -2538,8 +2538,8 @@ pub struct IInkOverlay_Vtbl { pub SetCollectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, InkCollectionMode) -> windows_core::HRESULT, pub DynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub MouseIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole")))] @@ -2615,7 +2615,7 @@ windows_core::imp::define_interface!(IInkPicture, IInkPicture_Vtbl, 0xe85662e0_3 impl std::ops::Deref for IInkPicture { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2623,12 +2623,12 @@ windows_core::imp::interface_hierarchy!(IInkPicture, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IInkPicture { pub unsafe fn hWnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).hWnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultDrawingAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultDrawingAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2640,7 +2640,7 @@ impl IInkPicture { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Renderer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Renderer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2652,7 +2652,7 @@ impl IInkPicture { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2663,7 +2663,7 @@ impl IInkPicture { (windows_core::Interface::vtable(self).putref_Ink)(windows_core::Interface::as_raw(self), newink.param().abi()).ok() } pub unsafe fn AutoRedraw(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoRedraw)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoRedraw(&self, autoredraw: P0) -> windows_core::Result<()> @@ -2673,18 +2673,18 @@ impl IInkPicture { (windows_core::Interface::vtable(self).SetAutoRedraw)(windows_core::Interface::as_raw(self), autoredraw.param().abi()).ok() } pub unsafe fn CollectingInk(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CollectingInk)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CollectionMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CollectionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DynamicRendering)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDynamicRendering(&self, enabled: P0) -> windows_core::Result<()> @@ -2694,7 +2694,7 @@ impl IInkPicture { (windows_core::Interface::vtable(self).SetDynamicRendering)(windows_core::Interface::as_raw(self), enabled.param().abi()).ok() } pub unsafe fn DesiredPacketDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DesiredPacketDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDesiredPacketDescription(&self, packetguids: P0) -> windows_core::Result<()> @@ -2705,7 +2705,7 @@ impl IInkPicture { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn MouseIcon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MouseIcon)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -2723,14 +2723,14 @@ impl IInkPicture { (windows_core::Interface::vtable(self).putref_MouseIcon)(windows_core::Interface::as_raw(self), mouseicon.param().abi()).ok() } pub unsafe fn MousePointer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MousePointer)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EditingMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEditingMode(&self, editingmode: InkOverlayEditingMode) -> windows_core::Result<()> { @@ -2738,7 +2738,7 @@ impl IInkPicture { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Selection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Selection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2749,14 +2749,14 @@ impl IInkPicture { (windows_core::Interface::vtable(self).SetSelection)(windows_core::Interface::as_raw(self), selection.param().abi()).ok() } pub unsafe fn EraserMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EraserMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EraserWidth)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEraserWidth(&self, neweraserwidth: i32) -> windows_core::Result<()> { @@ -2778,37 +2778,37 @@ impl IInkPicture { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn Picture(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Picture)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SizeMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BackColor)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Cursors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Cursors)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MarginX(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MarginX)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MarginY)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMarginY(&self, marginy: i32) -> windows_core::Result<()> { @@ -2816,11 +2816,11 @@ impl IInkPicture { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Tablet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Tablet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportHighContrastInk(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportHighContrastInk)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSupportHighContrastInk(&self, support: P0) -> windows_core::Result<()> @@ -2830,7 +2830,7 @@ impl IInkPicture { (windows_core::Interface::vtable(self).SetSupportHighContrastInk)(windows_core::Interface::as_raw(self), support.param().abi()).ok() } pub unsafe fn SupportHighContrastSelectionUI(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportHighContrastSelectionUI)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetSupportHighContrastSelectionUI(&self, support: P0) -> windows_core::Result<()> @@ -2840,7 +2840,7 @@ impl IInkPicture { (windows_core::Interface::vtable(self).SetSupportHighContrastSelectionUI)(windows_core::Interface::as_raw(self), support.param().abi()).ok() } pub unsafe fn HitTestSelection(&self, x: i32, y: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HitTestSelection)(windows_core::Interface::as_raw(self), x, y, &mut result__).map(|| result__) } pub unsafe fn SetGestureStatus(&self, gesture: InkApplicationGesture, listen: P0) -> windows_core::Result<()> @@ -2850,7 +2850,7 @@ impl IInkPicture { (windows_core::Interface::vtable(self).SetGestureStatus)(windows_core::Interface::as_raw(self), gesture, listen.param().abi()).ok() } pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGestureStatus)(windows_core::Interface::as_raw(self), gesture, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2878,7 +2878,7 @@ impl IInkPicture { (windows_core::Interface::vtable(self).SetSingleTabletIntegratedMode)(windows_core::Interface::as_raw(self), tablet.param().abi()).ok() } pub unsafe fn GetEventInterest(&self, eventid: InkCollectorEventInterest) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEventInterest)(windows_core::Interface::as_raw(self), eventid, &mut result__).map(|| result__) } pub unsafe fn SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: P0) -> windows_core::Result<()> @@ -2888,7 +2888,7 @@ impl IInkPicture { (windows_core::Interface::vtable(self).SetEventInterest)(windows_core::Interface::as_raw(self), eventid, listen.param().abi()).ok() } pub unsafe fn InkEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InkEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInkEnabled(&self, collecting: P0) -> windows_core::Result<()> @@ -2898,7 +2898,7 @@ impl IInkPicture { (windows_core::Interface::vtable(self).SetInkEnabled)(windows_core::Interface::as_raw(self), collecting.param().abi()).ok() } pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, vbool: P0) -> windows_core::Result<()> @@ -2944,8 +2944,8 @@ pub struct IInkPicture_Vtbl { pub SetCollectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, InkCollectionMode) -> windows_core::HRESULT, pub DynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetDynamicRendering: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub DesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub DesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub MouseIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole")))] @@ -3035,7 +3035,7 @@ windows_core::imp::define_interface!(IInkRecognitionAlternate, IInkRecognitionAl impl std::ops::Deref for IInkRecognitionAlternate { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3043,46 +3043,46 @@ windows_core::imp::interface_hierarchy!(IInkRecognitionAlternate, windows_core:: #[cfg(feature = "Win32_System_Com")] impl IInkRecognitionAlternate { pub unsafe fn String(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).String)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Confidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Confidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Baseline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Baseline)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Midline(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Midline)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Ascender(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ascender)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Descender(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Descender)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LineNumber(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LineNumber)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Strokes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn LineAlternates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LineAlternates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ConfidenceAlternates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ConfidenceAlternates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3090,7 +3090,7 @@ impl IInkRecognitionAlternate { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStrokesFromStrokeRanges)(windows_core::Interface::as_raw(self), strokes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3109,14 +3109,14 @@ impl IInkRecognitionAlternate { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlternatesWithConstantPropertyValues)(windows_core::Interface::as_raw(self), propertytype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyValue(&self, propertytype: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyValue)(windows_core::Interface::as_raw(self), propertytype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3124,12 +3124,12 @@ impl IInkRecognitionAlternate { #[repr(C)] pub struct IInkRecognitionAlternate_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub String: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub String: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Confidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkRecognitionConfidence) -> windows_core::HRESULT, - pub Baseline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Midline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Ascender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Descender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Baseline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Midline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Ascender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Descender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub LineNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Strokes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -3156,10 +3156,10 @@ pub struct IInkRecognitionAlternate_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetTextRangeFromStrokes: usize, #[cfg(feature = "Win32_System_Com")] - pub AlternatesWithConstantPropertyValues: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub AlternatesWithConstantPropertyValues: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] AlternatesWithConstantPropertyValues: usize, - pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognitionAlternates, IInkRecognitionAlternates_Vtbl, 0x286a167f_9f19_4c61_9d53_4f07be622b84); @@ -3167,7 +3167,7 @@ windows_core::imp::define_interface!(IInkRecognitionAlternates, IInkRecognitionA impl std::ops::Deref for IInkRecognitionAlternates { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3175,21 +3175,21 @@ windows_core::imp::interface_hierarchy!(IInkRecognitionAlternates, windows_core: #[cfg(feature = "Win32_System_Com")] impl IInkRecognitionAlternates { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Strokes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3214,7 +3214,7 @@ windows_core::imp::define_interface!(IInkRecognitionResult, IInkRecognitionResul impl std::ops::Deref for IInkRecognitionResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3222,26 +3222,26 @@ windows_core::imp::interface_hierarchy!(IInkRecognitionResult, windows_core::IUn #[cfg(feature = "Win32_System_Com")] impl IInkRecognitionResult { pub unsafe fn TopString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TopString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn TopAlternate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TopAlternate)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TopConfidence(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TopConfidence)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Strokes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn AlternatesFromSelection(&self, selectionstart: i32, selectionlength: i32, maximumalternates: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AlternatesFromSelection)(windows_core::Interface::as_raw(self), selectionstart, selectionlength, maximumalternates, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3259,7 +3259,7 @@ impl IInkRecognitionResult { #[repr(C)] pub struct IInkRecognitionResult_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub TopString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub TopString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub TopAlternate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3285,7 +3285,7 @@ windows_core::imp::define_interface!(IInkRecognizer, IInkRecognizer_Vtbl, 0x782b impl std::ops::Deref for IInkRecognizer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3293,32 +3293,32 @@ windows_core::imp::interface_hierarchy!(IInkRecognizer, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IInkRecognizer { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Vendor(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Vendor)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Capabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Capabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Languages(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Languages)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SupportedProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SupportedProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PreferredPacketDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredPacketDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn CreateRecognizerContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRecognizerContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3326,12 +3326,12 @@ impl IInkRecognizer { #[repr(C)] pub struct IInkRecognizer_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Vendor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Vendor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkRecognizerCapabilities) -> windows_core::HRESULT, - pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SupportedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PreferredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Languages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SupportedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PreferredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub CreateRecognizerContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3343,7 +3343,7 @@ windows_core::imp::define_interface!(IInkRecognizer2, IInkRecognizer2_Vtbl, 0x61 impl std::ops::Deref for IInkRecognizer2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3351,11 +3351,11 @@ windows_core::imp::interface_hierarchy!(IInkRecognizer2, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IInkRecognizer2 { pub unsafe fn Id(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Id)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnicodeRanges(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).UnicodeRanges)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3363,8 +3363,8 @@ impl IInkRecognizer2 { #[repr(C)] pub struct IInkRecognizer2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub UnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub UnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognizerContext, IInkRecognizerContext_Vtbl, 0xc68f52f9_32a3_4625_906c_44fc23b40958); @@ -3372,7 +3372,7 @@ windows_core::imp::define_interface!(IInkRecognizerContext, IInkRecognizerContex impl std::ops::Deref for IInkRecognizerContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3381,7 +3381,7 @@ windows_core::imp::interface_hierarchy!(IInkRecognizerContext, windows_core::IUn impl IInkRecognizerContext { #[cfg(feature = "Win32_System_Com")] pub unsafe fn Strokes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Strokes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3392,14 +3392,14 @@ impl IInkRecognizerContext { (windows_core::Interface::vtable(self).putref_Strokes)(windows_core::Interface::as_raw(self), strokes.param().abi()).ok() } pub unsafe fn CharacterAutoCompletionMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CharacterAutoCompletionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetCharacterAutoCompletionMode(&self, mode: InkRecognizerCharacterAutoCompletionMode) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetCharacterAutoCompletionMode)(windows_core::Interface::as_raw(self), mode).ok() } pub unsafe fn Factoid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Factoid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFactoid(&self, factoid: P0) -> windows_core::Result<()> @@ -3410,7 +3410,7 @@ impl IInkRecognizerContext { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Guide(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Guide)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3421,7 +3421,7 @@ impl IInkRecognizerContext { (windows_core::Interface::vtable(self).putref_Guide)(windows_core::Interface::as_raw(self), recognizerguide.param().abi()).ok() } pub unsafe fn PrefixText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PrefixText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPrefixText(&self, prefix: P0) -> windows_core::Result<()> @@ -3431,7 +3431,7 @@ impl IInkRecognizerContext { (windows_core::Interface::vtable(self).SetPrefixText)(windows_core::Interface::as_raw(self), prefix.param().abi()).ok() } pub unsafe fn SuffixText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SuffixText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetSuffixText(&self, suffix: P0) -> windows_core::Result<()> @@ -3441,7 +3441,7 @@ impl IInkRecognizerContext { (windows_core::Interface::vtable(self).SetSuffixText)(windows_core::Interface::as_raw(self), suffix.param().abi()).ok() } pub unsafe fn RecognitionFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecognitionFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRecognitionFlags(&self, modes: InkRecognitionModes) -> windows_core::Result<()> { @@ -3449,7 +3449,7 @@ impl IInkRecognizerContext { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn WordList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WordList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3461,7 +3461,7 @@ impl IInkRecognizerContext { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Recognizer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Recognizer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3488,14 +3488,14 @@ impl IInkRecognizerContext { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsStringSupported(&self, string: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsStringSupported)(windows_core::Interface::as_raw(self), string.param().abi(), &mut result__).map(|| result__) } } @@ -3513,8 +3513,8 @@ pub struct IInkRecognizerContext_Vtbl { putref_Strokes: usize, pub CharacterAutoCompletionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkRecognizerCharacterAutoCompletionMode) -> windows_core::HRESULT, pub SetCharacterAutoCompletionMode: unsafe extern "system" fn(*mut core::ffi::c_void, InkRecognizerCharacterAutoCompletionMode) -> windows_core::HRESULT, - pub Factoid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFactoid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Factoid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFactoid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Guide: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3523,10 +3523,10 @@ pub struct IInkRecognizerContext_Vtbl { pub putref_Guide: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] putref_Guide: usize, - pub PrefixText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPrefixText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SuffixText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetSuffixText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PrefixText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPrefixText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SuffixText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetSuffixText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub RecognitionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkRecognitionModes) -> windows_core::HRESULT, pub SetRecognitionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, InkRecognitionModes) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] @@ -3547,13 +3547,13 @@ pub struct IInkRecognizerContext_Vtbl { Recognize: usize, pub StopBackgroundRecognition: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EndInkInput: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub BackgroundRecognize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BackgroundRecognizeWithAlternates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BackgroundRecognize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BackgroundRecognizeWithAlternates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Clone: usize, - pub IsStringSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsStringSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognizerContext2, IInkRecognizerContext2_Vtbl, 0xd6f0e32f_73d8_408e_8e9f_5fea592c363f); @@ -3561,7 +3561,7 @@ windows_core::imp::define_interface!(IInkRecognizerContext2, IInkRecognizerConte impl std::ops::Deref for IInkRecognizerContext2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3569,7 +3569,7 @@ windows_core::imp::interface_hierarchy!(IInkRecognizerContext2, windows_core::IU #[cfg(feature = "Win32_System_Com")] impl IInkRecognizerContext2 { pub unsafe fn EnabledUnicodeRanges(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnabledUnicodeRanges)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEnabledUnicodeRanges(&self, unicoderanges: P0) -> windows_core::Result<()> @@ -3583,8 +3583,8 @@ impl IInkRecognizerContext2 { #[repr(C)] pub struct IInkRecognizerContext2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub EnabledUnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetEnabledUnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub EnabledUnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetEnabledUnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognizerGuide, IInkRecognizerGuide_Vtbl, 0xd934be07_7b84_4208_9136_83c20994e905); @@ -3592,7 +3592,7 @@ windows_core::imp::define_interface!(IInkRecognizerGuide, IInkRecognizerGuide_Vt impl std::ops::Deref for IInkRecognizerGuide { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3601,7 +3601,7 @@ windows_core::imp::interface_hierarchy!(IInkRecognizerGuide, windows_core::IUnkn impl IInkRecognizerGuide { #[cfg(feature = "Win32_System_Com")] pub unsafe fn WritingBox(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WritingBox)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3613,7 +3613,7 @@ impl IInkRecognizerGuide { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawnBox(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DrawnBox)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3624,21 +3624,21 @@ impl IInkRecognizerGuide { (windows_core::Interface::vtable(self).SetDrawnBox)(windows_core::Interface::as_raw(self), rectangle.param().abi()).ok() } pub unsafe fn Rows(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Rows)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Columns)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Midline)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMidline(&self, units: i32) -> windows_core::Result<()> { @@ -3686,7 +3686,7 @@ windows_core::imp::define_interface!(IInkRecognizers, IInkRecognizers_Vtbl, 0x9c impl std::ops::Deref for IInkRecognizers { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3694,21 +3694,21 @@ windows_core::imp::interface_hierarchy!(IInkRecognizers, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IInkRecognizers { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDefaultRecognizer(&self, lcid: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultRecognizer)(windows_core::Interface::as_raw(self), lcid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3733,7 +3733,7 @@ windows_core::imp::define_interface!(IInkRectangle, IInkRectangle_Vtbl, 0x9794ff impl std::ops::Deref for IInkRectangle { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3741,35 +3741,35 @@ windows_core::imp::interface_hierarchy!(IInkRectangle, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IInkRectangle { pub unsafe fn Top(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Top)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Left)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Bottom)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Right)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetRight(&self, units: i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetRight)(windows_core::Interface::as_raw(self), units).ok() } pub unsafe fn Data(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Data)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetData(&self, rect: super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -3805,7 +3805,7 @@ windows_core::imp::define_interface!(IInkRenderer, IInkRenderer_Vtbl, 0xe6257a9c impl std::ops::Deref for IInkRenderer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3872,7 +3872,7 @@ impl IInkRenderer { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Measure)(windows_core::Interface::as_raw(self), strokes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3881,7 +3881,7 @@ impl IInkRenderer { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MeasureStroke)(windows_core::Interface::as_raw(self), stroke.param().abi(), drawingattributes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Move(&self, horizontalcomponent: f32, verticalcomponent: f32) -> windows_core::Result<()> { @@ -3927,8 +3927,8 @@ pub struct IInkRenderer_Vtbl { DrawStroke: usize, pub PixelToInkSpace: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut i32, *mut i32) -> windows_core::HRESULT, pub InkSpaceToPixel: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut i32, *mut i32) -> windows_core::HRESULT, - pub PixelToInkSpaceFromPoints: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub InkSpaceToPixelFromPoints: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PixelToInkSpaceFromPoints: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub InkSpaceToPixelFromPoints: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Measure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -3947,7 +3947,7 @@ windows_core::imp::define_interface!(IInkStrokeDisp, IInkStrokeDisp_Vtbl, 0x4324 impl std::ops::Deref for IInkStrokeDisp { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3955,16 +3955,16 @@ windows_core::imp::interface_hierarchy!(IInkStrokeDisp, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IInkStrokeDisp { pub unsafe fn ID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn BezierPoints(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BezierPoints)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DrawingAttributes(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DrawingAttributes)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3976,45 +3976,45 @@ impl IInkStrokeDisp { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn ExtendedProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExtendedProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PolylineCusps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PolylineCusps)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BezierCusps(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).BezierCusps)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SelfIntersections(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SelfIntersections)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PacketCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PacketCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PacketSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PacketSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PacketDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PacketDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Deleted(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Deleted)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoundingBox)(windows_core::Interface::as_raw(self), boundingboxmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4022,7 +4022,7 @@ impl IInkStrokeDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindIntersections)(windows_core::Interface::as_raw(self), strokes.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4030,7 +4030,7 @@ impl IInkStrokeDisp { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRectangleIntersections)(windows_core::Interface::as_raw(self), rectangle.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4041,7 +4041,7 @@ impl IInkStrokeDisp { (windows_core::Interface::vtable(self).Clip)(windows_core::Interface::as_raw(self), rectangle.param().abi()).ok() } pub unsafe fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HitTestCircle)(windows_core::Interface::as_raw(self), x, y, radius, &mut result__).map(|| result__) } pub unsafe fn NearestPoint(&self, x: i32, y: i32, distance: *mut f32, point: *mut f32) -> windows_core::Result<()> { @@ -4049,7 +4049,7 @@ impl IInkStrokeDisp { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Split(&self, splitat: f32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Split)(windows_core::Interface::as_raw(self), splitat, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPacketDescriptionPropertyMetrics(&self, propertyname: P0, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> windows_core::Result<()> @@ -4059,25 +4059,25 @@ impl IInkStrokeDisp { (windows_core::Interface::vtable(self).GetPacketDescriptionPropertyMetrics)(windows_core::Interface::as_raw(self), propertyname.param().abi(), minimum, maximum, units, resolution).ok() } pub unsafe fn GetPoints(&self, index: i32, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPoints)(windows_core::Interface::as_raw(self), index, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPoints(&self, points: P0, index: i32, count: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetPoints)(windows_core::Interface::as_raw(self), points.param().abi(), index, count, &mut result__).map(|| result__) } pub unsafe fn GetPacketData(&self, index: i32, count: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPacketData)(windows_core::Interface::as_raw(self), index, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPacketValuesByProperty(&self, propertyname: P0, index: i32, count: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPacketValuesByProperty)(windows_core::Interface::as_raw(self), propertyname.param().abi(), index, count, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetPacketValuesByProperty(&self, bstrpropertyname: P0, packetvalues: P1, index: i32, count: i32) -> windows_core::Result @@ -4085,11 +4085,11 @@ impl IInkStrokeDisp { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetPacketValuesByProperty)(windows_core::Interface::as_raw(self), bstrpropertyname.param().abi(), packetvalues.param().abi(), index, count, &mut result__).map(|| result__) } pub unsafe fn GetFlattenedBezierPoints(&self, fittingerror: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFlattenedBezierPoints)(windows_core::Interface::as_raw(self), fittingerror, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4125,7 +4125,7 @@ impl IInkStrokeDisp { pub struct IInkStrokeDisp_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub ID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub BezierPoints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub BezierPoints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub DrawingAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4142,23 +4142,23 @@ pub struct IInkStrokeDisp_Vtbl { pub ExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] ExtendedProperties: usize, - pub PolylineCusps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub BezierCusps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SelfIntersections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PolylineCusps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub BezierCusps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SelfIntersections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub PacketCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub PacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, - pub PacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Deleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub GetBoundingBox: unsafe extern "system" fn(*mut core::ffi::c_void, InkBoundingBoxMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetBoundingBox: usize, #[cfg(feature = "Win32_System_Com")] - pub FindIntersections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub FindIntersections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] FindIntersections: usize, #[cfg(feature = "Win32_System_Com")] - pub GetRectangleIntersections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRectangleIntersections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] GetRectangleIntersections: usize, #[cfg(feature = "Win32_System_Com")] @@ -4171,13 +4171,13 @@ pub struct IInkStrokeDisp_Vtbl { pub Split: unsafe extern "system" fn(*mut core::ffi::c_void, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Split: usize, - pub GetPacketDescriptionPropertyMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32, *mut i32, *mut TabletPropertyMetricUnit, *mut f32) -> windows_core::HRESULT, - pub GetPoints: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPoints: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut i32) -> windows_core::HRESULT, - pub GetPacketData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetPacketValuesByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetPacketValuesByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32, i32, *mut i32) -> windows_core::HRESULT, - pub GetFlattenedBezierPoints: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPacketDescriptionPropertyMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32, *mut i32, *mut TabletPropertyMetricUnit, *mut f32) -> windows_core::HRESULT, + pub GetPoints: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPoints: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut i32) -> windows_core::HRESULT, + pub GetPacketData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPacketValuesByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetPacketValuesByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, i32, *mut i32) -> windows_core::HRESULT, + pub GetFlattenedBezierPoints: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Transform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4197,7 +4197,7 @@ windows_core::imp::define_interface!(IInkStrokes, IInkStrokes_Vtbl, 0xf1f4c9d8_5 impl std::ops::Deref for IInkStrokes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4205,30 +4205,30 @@ windows_core::imp::interface_hierarchy!(IInkStrokes, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IInkStrokes { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn RecognitionResult(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RecognitionResult)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ToString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ToString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4268,7 +4268,7 @@ impl IInkStrokes { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoundingBox)(windows_core::Interface::as_raw(self), boundingboxmode, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4323,7 +4323,7 @@ pub struct IInkStrokes_Vtbl { pub RecognitionResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] RecognitionResult: usize, - pub ToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub ToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4376,7 +4376,7 @@ windows_core::imp::define_interface!(IInkTablet, IInkTablet_Vtbl, 0x2de25eaa_6ef impl std::ops::Deref for IInkTablet { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4384,27 +4384,27 @@ windows_core::imp::interface_hierarchy!(IInkTablet, windows_core::IUnknown, supe #[cfg(feature = "Win32_System_Com")] impl IInkTablet { pub unsafe fn Name(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Name)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PlugAndPlayId(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PlugAndPlayId)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn MaximumInputRectangle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaximumInputRectangle)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HardwareCapabilities(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HardwareCapabilities)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsPacketPropertySupported(&self, packetpropertyname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPacketPropertySupported)(windows_core::Interface::as_raw(self), packetpropertyname.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetPropertyMetrics(&self, propertyname: P0, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> windows_core::Result<()> @@ -4418,15 +4418,15 @@ impl IInkTablet { #[repr(C)] pub struct IInkTablet_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub PlugAndPlayId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub PlugAndPlayId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub MaximumInputRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] MaximumInputRectangle: usize, pub HardwareCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TabletHardwareCapabilities) -> windows_core::HRESULT, - pub IsPacketPropertySupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub GetPropertyMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32, *mut i32, *mut TabletPropertyMetricUnit, *mut f32) -> windows_core::HRESULT, + pub IsPacketPropertySupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub GetPropertyMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32, *mut i32, *mut TabletPropertyMetricUnit, *mut f32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkTablet2, IInkTablet2_Vtbl, 0x90c91ad2_fa36_49d6_9516_ce8d570f6f85); @@ -4434,7 +4434,7 @@ windows_core::imp::define_interface!(IInkTablet2, IInkTablet2_Vtbl, 0x90c91ad2_f impl std::ops::Deref for IInkTablet2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4442,7 +4442,7 @@ windows_core::imp::interface_hierarchy!(IInkTablet2, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IInkTablet2 { pub unsafe fn DeviceKind(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DeviceKind)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4458,7 +4458,7 @@ windows_core::imp::define_interface!(IInkTablet3, IInkTablet3_Vtbl, 0x7e313997_1 impl std::ops::Deref for IInkTablet3 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4466,11 +4466,11 @@ windows_core::imp::interface_hierarchy!(IInkTablet3, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IInkTablet3 { pub unsafe fn IsMultiTouch(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsMultiTouch)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn MaximumCursors(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MaximumCursors)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4487,7 +4487,7 @@ windows_core::imp::define_interface!(IInkTablets, IInkTablets_Vtbl, 0x112086d9_7 impl std::ops::Deref for IInkTablets { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4495,28 +4495,28 @@ windows_core::imp::interface_hierarchy!(IInkTablets, windows_core::IUnknown, sup #[cfg(feature = "Win32_System_Com")] impl IInkTablets { pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn DefaultTablet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultTablet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Item(&self, index: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), index, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsPacketPropertySupported(&self, packetpropertyname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPacketPropertySupported)(windows_core::Interface::as_raw(self), packetpropertyname.param().abi(), &mut result__).map(|| result__) } } @@ -4534,7 +4534,7 @@ pub struct IInkTablets_Vtbl { pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] Item: usize, - pub IsPacketPropertySupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub IsPacketPropertySupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkTransform, IInkTransform_Vtbl, 0x615f1d43_8703_4565_88e2_8201d2ecd7b7); @@ -4542,7 +4542,7 @@ windows_core::imp::define_interface!(IInkTransform, IInkTransform_Vtbl, 0x615f1d impl std::ops::Deref for IInkTransform { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4578,42 +4578,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).eM11)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).eM12)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).eM21)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).eM22)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).eDx)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).eDy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SeteDy(&self, value: f32) -> windows_core::Result<()> { @@ -4667,7 +4667,7 @@ windows_core::imp::define_interface!(IInkWordList, IInkWordList_Vtbl, 0x76ba3491 impl std::ops::Deref for IInkWordList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4698,8 +4698,8 @@ impl IInkWordList { #[repr(C)] pub struct IInkWordList_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub AddWord: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveWord: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddWord: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveWord: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub Merge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4711,7 +4711,7 @@ windows_core::imp::define_interface!(IInkWordList2, IInkWordList2_Vtbl, 0x145425 impl std::ops::Deref for IInkWordList2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4729,26 +4729,26 @@ impl IInkWordList2 { #[repr(C)] pub struct IInkWordList2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub AddWords: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddWords: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInputPanelWindowHandle, IInputPanelWindowHandle_Vtbl, 0x4af81847_fdc4_4fc3_ad0b_422479c1b935); impl std::ops::Deref for IInputPanelWindowHandle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInputPanelWindowHandle, windows_core::IUnknown); impl IInputPanelWindowHandle { pub unsafe fn AttachedEditWindow32(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttachedEditWindow32)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttachedEditWindow64)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAttachedEditWindow64(&self, attachededitwindow: i64) -> windows_core::Result<()> { @@ -4769,7 +4769,7 @@ windows_core::imp::define_interface!(IMathInputControl, IMathInputControl_Vtbl, impl std::ops::Deref for IMathInputControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4783,7 +4783,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsVisible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetPosition(&self, left: *mut i32, top: *mut i32, right: *mut i32, bottom: *mut i32) -> windows_core::Result<()> { @@ -4824,7 +4824,7 @@ impl IMathInputControl { (windows_core::Interface::vtable(self).EnableExtendedButtons)(windows_core::Interface::as_raw(self), extended.param().abi()).ok() } pub unsafe fn GetPreviewHeight(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreviewHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPreviewHeight(&self, height: i32) -> windows_core::Result<()> { @@ -4850,7 +4850,7 @@ impl IMathInputControl { } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub unsafe fn GetHoverIcon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHoverIcon)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4865,7 +4865,7 @@ pub struct IMathInputControl_Vtbl { pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCustomPaint: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub SetCaptionText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetCaptionText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_System_Com")] pub LoadInk: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] @@ -4875,8 +4875,8 @@ pub struct IMathInputControl_Vtbl { pub GetPreviewHeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPreviewHeight: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub EnableAutoGrow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub AddFunctionName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub RemoveFunctionName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub AddFunctionName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub RemoveFunctionName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] pub GetHoverIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole")))] @@ -4888,7 +4888,7 @@ windows_core::imp::define_interface!(IPenInputPanel, IPenInputPanel_Vtbl, 0xfa7a impl std::ops::Deref for IPenInputPanel { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -4896,11 +4896,11 @@ windows_core::imp::interface_hierarchy!(IPenInputPanel, windows_core::IUnknown, #[cfg(feature = "Win32_System_Com")] impl IPenInputPanel { pub unsafe fn Busy(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Busy)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Factoid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Factoid)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFactoid(&self, factoid: P0) -> windows_core::Result<()> @@ -4910,28 +4910,28 @@ impl IPenInputPanel { (windows_core::Interface::vtable(self).SetFactoid)(windows_core::Interface::as_raw(self), factoid.param().abi()).ok() } pub unsafe fn AttachedEditWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttachedEditWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentPanel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultPanel)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Visible)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetVisible(&self, visible: P0) -> windows_core::Result<()> @@ -4941,37 +4941,37 @@ impl IPenInputPanel { (windows_core::Interface::vtable(self).SetVisible)(windows_core::Interface::as_raw(self), visible.param().abi()).ok() } pub unsafe fn Top(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Top)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Left(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Left)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Width(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Width)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Height(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Height)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn VerticalOffset(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).VerticalOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HorizontalOffset)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AutoShow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAutoShow(&self, autoshow: P0) -> windows_core::Result<()> @@ -5001,8 +5001,8 @@ impl IPenInputPanel { pub struct IPenInputPanel_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub Busy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, - pub Factoid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetFactoid: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Factoid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetFactoid: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub AttachedEditWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetAttachedEditWindow: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CurrentPanel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PanelType) -> windows_core::HRESULT, @@ -5030,13 +5030,13 @@ windows_core::imp::define_interface!(IRealTimeStylus, IRealTimeStylus_Vtbl, 0xa8 impl std::ops::Deref for IRealTimeStylus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRealTimeStylus, windows_core::IUnknown); impl IRealTimeStylus { pub unsafe fn Enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, fenable: P0) -> windows_core::Result<()> @@ -5046,7 +5046,7 @@ impl IRealTimeStylus { (windows_core::Interface::vtable(self).SetEnabled)(windows_core::Interface::as_raw(self), fenable.param().abi()).ok() } pub unsafe fn HWND(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HWND)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetHWND(&self, hwnd: P0) -> windows_core::Result<()> @@ -5056,7 +5056,7 @@ impl IRealTimeStylus { (windows_core::Interface::vtable(self).SetHWND)(windows_core::Interface::as_raw(self), hwnd.param().abi()).ok() } pub unsafe fn WindowInputRectangle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).WindowInputRectangle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetWindowInputRectangle(&self, prcwndinputrect: *const super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -5075,11 +5075,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStylusSyncPlugin)(windows_core::Interface::as_raw(self), iindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStylusSyncPluginCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStylusSyncPluginCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn AddStylusAsyncPlugin(&self, iindex: u32, piplugin: P0) -> windows_core::Result<()> @@ -5095,15 +5095,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStylusAsyncPlugin)(windows_core::Interface::as_raw(self), iindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStylusAsyncPluginCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStylusAsyncPluginCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ChildRealTimeStylusPlugin(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ChildRealTimeStylusPlugin)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn putref_ChildRealTimeStylusPlugin(&self, pirts: P0) -> windows_core::Result<()> @@ -5133,7 +5133,7 @@ impl IRealTimeStylus { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTablet(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTablet)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5141,12 +5141,12 @@ impl IRealTimeStylus { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTabletContextIdFromTablet)(windows_core::Interface::as_raw(self), pitablet.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetTabletFromTabletContextId(&self, tcid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTabletFromTabletContextId)(windows_core::Interface::as_raw(self), tcid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAllTabletContextIds(&self, pctcidcount: *mut u32, pptcids: *mut *mut u32) -> windows_core::Result<()> { @@ -5154,12 +5154,12 @@ impl IRealTimeStylus { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStyluses(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStyluses)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetStylusForId(&self, sid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStylusForId)(windows_core::Interface::as_raw(self), sid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDesiredPacketDescription(&self, ppropertyguids: &[windows_core::GUID]) -> windows_core::Result<()> { @@ -5229,13 +5229,13 @@ windows_core::imp::define_interface!(IRealTimeStylus2, IRealTimeStylus2_Vtbl, 0x impl std::ops::Deref for IRealTimeStylus2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRealTimeStylus2, windows_core::IUnknown); impl IRealTimeStylus2 { pub unsafe fn FlicksEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FlicksEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFlicksEnabled(&self, fenable: P0) -> windows_core::Result<()> @@ -5255,13 +5255,13 @@ windows_core::imp::define_interface!(IRealTimeStylus3, IRealTimeStylus3_Vtbl, 0x impl std::ops::Deref for IRealTimeStylus3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRealTimeStylus3, windows_core::IUnknown); impl IRealTimeStylus3 { pub unsafe fn MultiTouchEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MultiTouchEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetMultiTouchEnabled(&self, fenable: P0) -> windows_core::Result<()> @@ -5281,7 +5281,7 @@ windows_core::imp::define_interface!(IRealTimeStylusSynchronization, IRealTimeSt impl std::ops::Deref for IRealTimeStylusSynchronization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IRealTimeStylusSynchronization, windows_core::IUnknown); @@ -5305,7 +5305,7 @@ windows_core::imp::define_interface!(ISketchInk, ISketchInk_Vtbl, 0xb4563688_98e impl std::ops::Deref for ISketchInk { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5321,7 +5321,7 @@ windows_core::imp::define_interface!(IStrokeBuilder, IStrokeBuilder_Vtbl, 0xa5fd impl std::ops::Deref for IStrokeBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStrokeBuilder, windows_core::IUnknown); @@ -5343,7 +5343,7 @@ impl IStrokeBuilder { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn Ink(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Ink)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5383,7 +5383,7 @@ windows_core::imp::define_interface!(IStylusAsyncPlugin, IStylusAsyncPlugin_Vtbl impl std::ops::Deref for IStylusAsyncPlugin { type Target = IStylusPlugin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStylusAsyncPlugin, windows_core::IUnknown, IStylusPlugin); @@ -5396,7 +5396,7 @@ windows_core::imp::define_interface!(IStylusPlugin, IStylusPlugin_Vtbl, 0xa81436 impl std::ops::Deref for IStylusPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStylusPlugin, windows_core::IUnknown); @@ -5501,7 +5501,7 @@ impl IStylusPlugin { (windows_core::Interface::vtable(self).UpdateMapping)(windows_core::Interface::as_raw(self), pirtssrc.param().abi()).ok() } pub unsafe fn DataInterest(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DataInterest)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5533,7 +5533,7 @@ windows_core::imp::define_interface!(IStylusSyncPlugin, IStylusSyncPlugin_Vtbl, impl std::ops::Deref for IStylusSyncPlugin { type Target = IStylusPlugin; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IStylusSyncPlugin, windows_core::IUnknown, IStylusPlugin); @@ -5546,13 +5546,13 @@ windows_core::imp::define_interface!(ITextInputPanel, ITextInputPanel_Vtbl, 0x6b impl std::ops::Deref for ITextInputPanel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextInputPanel, windows_core::IUnknown); impl ITextInputPanel { pub unsafe fn AttachedEditWindow(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AttachedEditWindow)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetAttachedEditWindow(&self, attachededitwindow: P0) -> windows_core::Result<()> @@ -5562,44 +5562,44 @@ impl ITextInputPanel { (windows_core::Interface::vtable(self).SetAttachedEditWindow)(windows_core::Interface::as_raw(self), attachededitwindow.param().abi()).ok() } pub unsafe fn CurrentInteractionMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentInteractionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultInPlaceState(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultInPlaceState)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentInPlaceState)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn DefaultInputArea(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DefaultInputArea)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentInputArea)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CurrentCorrectionMode(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CurrentCorrectionMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PreferredInPlaceDirection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PreferredInPlaceDirection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetPreferredInPlaceDirection(&self, direction: InPlaceDirection) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetPreferredInPlaceDirection)(windows_core::Interface::as_raw(self), direction).ok() } pub unsafe fn ExpandPostInsertionCorrection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExpandPostInsertionCorrection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetExpandPostInsertionCorrection(&self, expand: P0) -> windows_core::Result<()> @@ -5609,7 +5609,7 @@ impl ITextInputPanel { (windows_core::Interface::vtable(self).SetExpandPostInsertionCorrection)(windows_core::Interface::as_raw(self), expand.param().abi()).ok() } pub unsafe fn InPlaceVisibleOnFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InPlaceVisibleOnFocus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetInPlaceVisibleOnFocus(&self, visible: P0) -> windows_core::Result<()> @@ -5619,15 +5619,15 @@ impl ITextInputPanel { (windows_core::Interface::vtable(self).SetInPlaceVisibleOnFocus)(windows_core::Interface::as_raw(self), visible.param().abi()).ok() } pub unsafe fn InPlaceBoundingRectangle(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InPlaceBoundingRectangle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PopUpCorrectionHeight(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PopUpCorrectionHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn PopDownCorrectionHeight(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PopDownCorrectionHeight)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn CommitPendingInput(&self) -> windows_core::Result<()> { @@ -5691,7 +5691,7 @@ windows_core::imp::define_interface!(ITextInputPanelEventSink, ITextInputPanelEv impl std::ops::Deref for ITextInputPanelEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextInputPanelEventSink, windows_core::IUnknown); @@ -5769,13 +5769,13 @@ windows_core::imp::define_interface!(ITextInputPanelRunInfo, ITextInputPanelRunI impl std::ops::Deref for ITextInputPanelRunInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextInputPanelRunInfo, windows_core::IUnknown); impl ITextInputPanelRunInfo { pub unsafe fn IsTipRunning(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsTipRunning)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5788,7 +5788,7 @@ windows_core::imp::define_interface!(ITipAutoCompleteClient, ITipAutoCompleteCli impl std::ops::Deref for ITipAutoCompleteClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITipAutoCompleteClient, windows_core::IUnknown); @@ -5817,7 +5817,7 @@ impl ITipAutoCompleteClient { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestShowUI)(windows_core::Interface::as_raw(self), hwndlist.param().abi(), &mut result__).map(|| result__) } } @@ -5834,7 +5834,7 @@ windows_core::imp::define_interface!(ITipAutoCompleteProvider, ITipAutoCompleteP impl std::ops::Deref for ITipAutoCompleteProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITipAutoCompleteProvider, windows_core::IUnknown); @@ -5855,7 +5855,7 @@ impl ITipAutoCompleteProvider { #[repr(C)] pub struct ITipAutoCompleteProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub UpdatePendingText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub UpdatePendingText: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -5864,7 +5864,7 @@ windows_core::imp::define_interface!(_IInkCollectorEvents, _IInkCollectorEvents_ impl std::ops::Deref for _IInkCollectorEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5882,7 +5882,7 @@ windows_core::imp::define_interface!(_IInkEditEvents, _IInkEditEvents_Vtbl, 0xe3 impl std::ops::Deref for _IInkEditEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5900,7 +5900,7 @@ windows_core::imp::define_interface!(_IInkEvents, _IInkEvents_Vtbl, 0x427b1865_c impl std::ops::Deref for _IInkEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5918,7 +5918,7 @@ windows_core::imp::define_interface!(_IInkOverlayEvents, _IInkOverlayEvents_Vtbl impl std::ops::Deref for _IInkOverlayEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5936,7 +5936,7 @@ windows_core::imp::define_interface!(_IInkPictureEvents, _IInkPictureEvents_Vtbl impl std::ops::Deref for _IInkPictureEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5954,7 +5954,7 @@ windows_core::imp::define_interface!(_IInkRecognitionEvents, _IInkRecognitionEve impl std::ops::Deref for _IInkRecognitionEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5972,7 +5972,7 @@ windows_core::imp::define_interface!(_IInkStrokesEvents, _IInkStrokesEvents_Vtbl impl std::ops::Deref for _IInkStrokesEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -5990,7 +5990,7 @@ windows_core::imp::define_interface!(_IMathInputControlEvents, _IMathInputContro impl std::ops::Deref for _IMathInputControlEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -6008,7 +6008,7 @@ windows_core::imp::define_interface!(_IPenInputPanelEvents, _IPenInputPanelEvent impl std::ops::Deref for _IPenInputPanelEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -8423,7 +8423,7 @@ impl Default for CHARACTER_RANGE { #[derive(Debug, Eq, PartialEq)] pub struct DYNAMIC_RENDERER_CACHED_DATA { pub strokeId: i32, - pub dynamicRenderer: std::mem::ManuallyDrop>, + pub dynamicRenderer: core::mem::ManuallyDrop>, } impl Clone for DYNAMIC_RENDERER_CACHED_DATA { fn clone(&self) -> Self { @@ -8567,9 +8567,9 @@ pub const HandwrittenTextInsertion: windows_core::GUID = windows_core::GUID::fro #[derive(Debug, Eq, PartialEq)] pub struct IEC_GESTUREINFO { pub nmhdr: super::Controls::NMHDR, - pub Cursor: std::mem::ManuallyDrop>, - pub Strokes: std::mem::ManuallyDrop>, - pub Gestures: std::mem::ManuallyDrop, + pub Cursor: core::mem::ManuallyDrop>, + pub Strokes: core::mem::ManuallyDrop>, + pub Gestures: core::mem::ManuallyDrop, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Controls"))] impl Clone for IEC_GESTUREINFO { @@ -8592,7 +8592,7 @@ impl Default for IEC_GESTUREINFO { #[derive(Debug, Eq, PartialEq)] pub struct IEC_RECOGNITIONRESULTINFO { pub nmhdr: super::Controls::NMHDR, - pub RecognitionResult: std::mem::ManuallyDrop>, + pub RecognitionResult: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Controls"))] impl Clone for IEC_RECOGNITIONRESULTINFO { @@ -8615,8 +8615,8 @@ impl Default for IEC_RECOGNITIONRESULTINFO { #[derive(Debug, Eq, PartialEq)] pub struct IEC_STROKEINFO { pub nmhdr: super::Controls::NMHDR, - pub Cursor: std::mem::ManuallyDrop>, - pub Stroke: std::mem::ManuallyDrop>, + pub Cursor: core::mem::ManuallyDrop>, + pub Stroke: core::mem::ManuallyDrop>, } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Controls"))] impl Clone for IEC_STROKEINFO { diff --git a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs index e6cf63e983..2fff30e1bd 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs @@ -76,7 +76,7 @@ pub trait IAccDictionary_Impl: Sized { impl windows_core::RuntimeName for IAccDictionary {} impl IAccDictionary_Vtbl { pub const fn new, Impl: IAccDictionary_Impl, const OFFSET: isize>() -> IAccDictionary_Vtbl { - unsafe extern "system" fn GetLocalizedString, Impl: IAccDictionary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, term: *const windows_core::GUID, lcid: u32, presult: *mut std::mem::MaybeUninit, plcid: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn GetLocalizedString, Impl: IAccDictionary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, term: *const windows_core::GUID, lcid: u32, presult: *mut core::mem::MaybeUninit, plcid: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccDictionary_Impl::GetLocalizedString(this, core::mem::transmute_copy(&term), core::mem::transmute_copy(&lcid), core::mem::transmute_copy(&presult), core::mem::transmute_copy(&plcid)).into() @@ -92,7 +92,7 @@ impl IAccDictionary_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetMnemonicString, Impl: IAccDictionary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, term: *const windows_core::GUID, presult: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetMnemonicString, Impl: IAccDictionary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, term: *const windows_core::GUID, presult: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccDictionary_Impl::GetMnemonicString(this, core::mem::transmute_copy(&term)) { @@ -103,7 +103,7 @@ impl IAccDictionary_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn LookupMnemonicTerm, Impl: IAccDictionary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmnemonic: std::mem::MaybeUninit, pterm: *mut windows_core::GUID) -> windows_core::HRESULT { + unsafe extern "system" fn LookupMnemonicTerm, Impl: IAccDictionary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrmnemonic: core::mem::MaybeUninit, pterm: *mut windows_core::GUID) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IAccDictionary_Impl::LookupMnemonicTerm(this, core::mem::transmute(&bstrmnemonic)) { @@ -114,7 +114,7 @@ impl IAccDictionary_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn ConvertValueToString, Impl: IAccDictionary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, term: *const windows_core::GUID, lcid: u32, varvalue: std::mem::MaybeUninit, pbstrresult: *mut std::mem::MaybeUninit, plcid: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn ConvertValueToString, Impl: IAccDictionary_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, term: *const windows_core::GUID, lcid: u32, varvalue: core::mem::MaybeUninit, pbstrresult: *mut core::mem::MaybeUninit, plcid: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IAccDictionary_Impl::ConvertValueToString(this, core::mem::transmute_copy(&term), core::mem::transmute_copy(&lcid), core::mem::transmute(&varvalue), core::mem::transmute_copy(&pbstrresult), core::mem::transmute_copy(&plcid)).into() @@ -404,7 +404,7 @@ pub trait ICoCreateLocally_Impl: Sized { impl windows_core::RuntimeName for ICoCreateLocally {} impl ICoCreateLocally_Vtbl { pub const fn new, Impl: ICoCreateLocally_Impl, const OFFSET: isize>() -> ICoCreateLocally_Vtbl { - unsafe extern "system" fn CoCreateLocally, Impl: ICoCreateLocally_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rclsid: *const windows_core::GUID, dwclscontext: u32, riid: *const windows_core::GUID, punk: *mut *mut core::ffi::c_void, riidparam: *const windows_core::GUID, punkparam: *mut core::ffi::c_void, varparam: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn CoCreateLocally, Impl: ICoCreateLocally_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rclsid: *const windows_core::GUID, dwclscontext: u32, riid: *const windows_core::GUID, punk: *mut *mut core::ffi::c_void, riidparam: *const windows_core::GUID, punkparam: *mut core::ffi::c_void, varparam: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICoCreateLocally_Impl::CoCreateLocally(this, core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&dwclscontext), core::mem::transmute_copy(&riid), core::mem::transmute_copy(&punk), core::mem::transmute_copy(&riidparam), windows_core::from_raw_borrowed(&punkparam), core::mem::transmute(&varparam)).into() @@ -421,7 +421,7 @@ pub trait ICoCreatedLocally_Impl: Sized { impl windows_core::RuntimeName for ICoCreatedLocally {} impl ICoCreatedLocally_Vtbl { pub const fn new, Impl: ICoCreatedLocally_Impl, const OFFSET: isize>() -> ICoCreatedLocally_Vtbl { - unsafe extern "system" fn LocalInit, Impl: ICoCreatedLocally_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punklocalobject: *mut core::ffi::c_void, riidparam: *const windows_core::GUID, punkparam: *mut core::ffi::c_void, varparam: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn LocalInit, Impl: ICoCreatedLocally_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punklocalobject: *mut core::ffi::c_void, riidparam: *const windows_core::GUID, punkparam: *mut core::ffi::c_void, varparam: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ICoCreatedLocally_Impl::LocalInit(this, windows_core::from_raw_borrowed(&punklocalobject), core::mem::transmute_copy(&riidparam), windows_core::from_raw_borrowed(&punkparam), core::mem::transmute(&varparam)).into() @@ -2454,7 +2454,7 @@ impl ITfCandidateListUIElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetString, Impl: ITfCandidateListUIElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, pstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetString, Impl: ITfCandidateListUIElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, pstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfCandidateListUIElement_Impl::GetString(this, core::mem::transmute_copy(&uindex)) { @@ -2543,7 +2543,7 @@ pub trait ITfCandidateString_Impl: Sized { impl windows_core::RuntimeName for ITfCandidateString {} impl ITfCandidateString_Vtbl { pub const fn new, Impl: ITfCandidateString_Impl, const OFFSET: isize>() -> ITfCandidateString_Vtbl { - unsafe extern "system" fn GetString, Impl: ITfCandidateString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetString, Impl: ITfCandidateString_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfCandidateString_Impl::GetString(this) { @@ -2644,7 +2644,7 @@ impl ITfCategoryMgr_Vtbl { let this = (*this).get_impl(); ITfCategoryMgr_Impl::UnregisterGUIDDescription(this, core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&rguid)).into() } - unsafe extern "system" fn GetGUIDDescription, Impl: ITfCategoryMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rguid: *const windows_core::GUID, pbstrdesc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetGUIDDescription, Impl: ITfCategoryMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rguid: *const windows_core::GUID, pbstrdesc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfCategoryMgr_Impl::GetGUIDDescription(this, core::mem::transmute_copy(&rguid)) { @@ -2805,12 +2805,12 @@ pub trait ITfCompartment_Impl: Sized { impl windows_core::RuntimeName for ITfCompartment {} impl ITfCompartment_Vtbl { pub const fn new, Impl: ITfCompartment_Impl, const OFFSET: isize>() -> ITfCompartment_Vtbl { - unsafe extern "system" fn SetValue, Impl: ITfCompartment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tid: u32, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ITfCompartment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, tid: u32, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITfCompartment_Impl::SetValue(this, core::mem::transmute_copy(&tid), core::mem::transmute_copy(&pvarvalue)).into() } - unsafe extern "system" fn GetValue, Impl: ITfCompartment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: ITfCompartment_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfCompartment_Impl::GetValue(this) { @@ -3413,7 +3413,7 @@ impl ITfContextOwner_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetAttribute, Impl: ITfContextOwner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rguidattribute: *const windows_core::GUID, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetAttribute, Impl: ITfContextOwner_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rguidattribute: *const windows_core::GUID, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfContextOwner_Impl::GetAttribute(this, core::mem::transmute_copy(&rguidattribute)) { @@ -3688,7 +3688,7 @@ impl ITfDisplayAttributeInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescription, Impl: ITfDisplayAttributeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdesc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: ITfDisplayAttributeInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdesc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfDisplayAttributeInfo_Impl::GetDescription(this) { @@ -4046,7 +4046,7 @@ pub trait ITfFnConfigureRegisterEudc_Impl: Sized + ITfFunction_Impl { impl windows_core::RuntimeName for ITfFnConfigureRegisterEudc {} impl ITfFnConfigureRegisterEudc_Vtbl { pub const fn new, Impl: ITfFnConfigureRegisterEudc_Impl, const OFFSET: isize>() -> ITfFnConfigureRegisterEudc_Vtbl { - unsafe extern "system" fn Show, Impl: ITfFnConfigureRegisterEudc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, langid: u16, rguidprofile: *const windows_core::GUID, bstrregistered: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Show, Impl: ITfFnConfigureRegisterEudc_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, langid: u16, rguidprofile: *const windows_core::GUID, bstrregistered: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITfFnConfigureRegisterEudc_Impl::Show(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&rguidprofile), core::mem::transmute(&bstrregistered)).into() @@ -4063,7 +4063,7 @@ pub trait ITfFnConfigureRegisterWord_Impl: Sized + ITfFunction_Impl { impl windows_core::RuntimeName for ITfFnConfigureRegisterWord {} impl ITfFnConfigureRegisterWord_Vtbl { pub const fn new, Impl: ITfFnConfigureRegisterWord_Impl, const OFFSET: isize>() -> ITfFnConfigureRegisterWord_Vtbl { - unsafe extern "system" fn Show, Impl: ITfFnConfigureRegisterWord_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, langid: u16, rguidprofile: *const windows_core::GUID, bstrregistered: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Show, Impl: ITfFnConfigureRegisterWord_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, hwndparent: super::super::Foundation::HWND, langid: u16, rguidprofile: *const windows_core::GUID, bstrregistered: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITfFnConfigureRegisterWord_Impl::Show(this, core::mem::transmute_copy(&hwndparent), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&rguidprofile), core::mem::transmute(&bstrregistered)).into() @@ -4391,7 +4391,7 @@ pub trait ITfFnSearchCandidateProvider_Impl: Sized + ITfFunction_Impl { impl windows_core::RuntimeName for ITfFnSearchCandidateProvider {} impl ITfFnSearchCandidateProvider_Vtbl { pub const fn new, Impl: ITfFnSearchCandidateProvider_Impl, const OFFSET: isize>() -> ITfFnSearchCandidateProvider_Vtbl { - unsafe extern "system" fn GetSearchCandidates, Impl: ITfFnSearchCandidateProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrquery: std::mem::MaybeUninit, bstrapplicationid: std::mem::MaybeUninit, pplist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn GetSearchCandidates, Impl: ITfFnSearchCandidateProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrquery: core::mem::MaybeUninit, bstrapplicationid: core::mem::MaybeUninit, pplist: *mut *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfFnSearchCandidateProvider_Impl::GetSearchCandidates(this, core::mem::transmute(&bstrquery), core::mem::transmute(&bstrapplicationid)) { @@ -4402,7 +4402,7 @@ impl ITfFnSearchCandidateProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetResult, Impl: ITfFnSearchCandidateProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrquery: std::mem::MaybeUninit, bstrapplicationid: std::mem::MaybeUninit, bstrresult: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetResult, Impl: ITfFnSearchCandidateProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrquery: core::mem::MaybeUninit, bstrapplicationid: core::mem::MaybeUninit, bstrresult: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITfFnSearchCandidateProvider_Impl::SetResult(this, core::mem::transmute(&bstrquery), core::mem::transmute(&bstrapplicationid), core::mem::transmute(&bstrresult)).into() @@ -4440,7 +4440,7 @@ pub trait ITfFunction_Impl: Sized { impl windows_core::RuntimeName for ITfFunction {} impl ITfFunction_Vtbl { pub const fn new, Impl: ITfFunction_Impl, const OFFSET: isize>() -> ITfFunction_Vtbl { - unsafe extern "system" fn GetDisplayName, Impl: ITfFunction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDisplayName, Impl: ITfFunction_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfFunction_Impl::GetDisplayName(this) { @@ -4476,7 +4476,7 @@ impl ITfFunctionProvider_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescription, Impl: ITfFunctionProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdesc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: ITfFunctionProvider_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdesc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfFunctionProvider_Impl::GetDescription(this) { @@ -4704,7 +4704,7 @@ impl ITfInputProcessorProfiles_Vtbl { let this = (*this).get_impl(); ITfInputProcessorProfiles_Impl::GetActiveLanguageProfile(this, core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&plangid), core::mem::transmute_copy(&pguidprofile)).into() } - unsafe extern "system" fn GetLanguageProfileDescription, Impl: ITfInputProcessorProfiles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rclsid: *const windows_core::GUID, langid: u16, guidprofile: *const windows_core::GUID, pbstrprofile: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetLanguageProfileDescription, Impl: ITfInputProcessorProfiles_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rclsid: *const windows_core::GUID, langid: u16, guidprofile: *const windows_core::GUID, pbstrprofile: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfInputProcessorProfiles_Impl::GetLanguageProfileDescription(this, core::mem::transmute_copy(&rclsid), core::mem::transmute_copy(&langid), core::mem::transmute_copy(&guidprofile)) { @@ -4842,7 +4842,7 @@ impl ITfInputScope_Vtbl { let this = (*this).get_impl(); ITfInputScope_Impl::GetPhrase(this, core::mem::transmute_copy(&ppbstrphrases), core::mem::transmute_copy(&pccount)).into() } - unsafe extern "system" fn GetRegularExpression, Impl: ITfInputScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrregexp: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetRegularExpression, Impl: ITfInputScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrregexp: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfInputScope_Impl::GetRegularExpression(this) { @@ -4853,7 +4853,7 @@ impl ITfInputScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetSRGS, Impl: ITfInputScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsrgs: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetSRGS, Impl: ITfInputScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrsrgs: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfInputScope_Impl::GetSRGS(this) { @@ -4864,7 +4864,7 @@ impl ITfInputScope_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetXML, Impl: ITfInputScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxml: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetXML, Impl: ITfInputScope_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxml: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfInputScope_Impl::GetXML(this) { @@ -5255,7 +5255,7 @@ impl ITfKeystrokeMgr_Vtbl { let this = (*this).get_impl(); ITfKeystrokeMgr_Impl::SetPreservedKeyDescription(this, core::mem::transmute_copy(&rguid), core::mem::transmute(&pchdesc), core::mem::transmute_copy(&cchdesc)).into() } - unsafe extern "system" fn GetPreservedKeyDescription, Impl: ITfKeystrokeMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rguid: *const windows_core::GUID, pbstrdesc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetPreservedKeyDescription, Impl: ITfKeystrokeMgr_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, rguid: *const windows_core::GUID, pbstrdesc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfKeystrokeMgr_Impl::GetPreservedKeyDescription(this, core::mem::transmute_copy(&rguid)) { @@ -5429,7 +5429,7 @@ impl ITfLangBarItem_Vtbl { let this = (*this).get_impl(); ITfLangBarItem_Impl::Show(this, core::mem::transmute_copy(&fshow)).into() } - unsafe extern "system" fn GetTooltipString, Impl: ITfLangBarItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtooltip: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTooltipString, Impl: ITfLangBarItem_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtooltip: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfLangBarItem_Impl::GetTooltipString(this) { @@ -5586,7 +5586,7 @@ impl ITfLangBarItemBitmapButton_Vtbl { let this = (*this).get_impl(); ITfLangBarItemBitmapButton_Impl::DrawBitmap(this, core::mem::transmute_copy(&bmwidth), core::mem::transmute_copy(&bmheight), core::mem::transmute_copy(&dwflags), core::mem::transmute_copy(&phbmp), core::mem::transmute_copy(&phbmpmask)).into() } - unsafe extern "system" fn GetText, Impl: ITfLangBarItemBitmapButton_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: ITfLangBarItemBitmapButton_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfLangBarItemBitmapButton_Impl::GetText(this) { @@ -5650,7 +5650,7 @@ impl ITfLangBarItemButton_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetText, Impl: ITfLangBarItemButton_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetText, Impl: ITfLangBarItemButton_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfLangBarItemButton_Impl::GetText(this) { @@ -6175,7 +6175,7 @@ impl ITfProperty_Vtbl { let this = (*this).get_impl(); ITfProperty_Impl::SetValueStore(this, core::mem::transmute_copy(&ec), windows_core::from_raw_borrowed(&prange), windows_core::from_raw_borrowed(&ppropstore)).into() } - unsafe extern "system" fn SetValue, Impl: ITfProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ec: u32, prange: *mut core::ffi::c_void, pvarvalue: *const std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetValue, Impl: ITfProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ec: u32, prange: *mut core::ffi::c_void, pvarvalue: *const core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITfProperty_Impl::SetValue(this, core::mem::transmute_copy(&ec), windows_core::from_raw_borrowed(&prange), core::mem::transmute_copy(&pvarvalue)).into() @@ -6236,7 +6236,7 @@ impl ITfPropertyStore_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetData, Impl: ITfPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetData, Impl: ITfPropertyStore_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfPropertyStore_Impl::GetData(this) { @@ -6670,7 +6670,7 @@ impl ITfReadOnlyProperty_Vtbl { let this = (*this).get_impl(); ITfReadOnlyProperty_Impl::EnumRanges(this, core::mem::transmute_copy(&ec), core::mem::transmute_copy(&ppenum), windows_core::from_raw_borrowed(&ptargetrange)).into() } - unsafe extern "system" fn GetValue, Impl: ITfReadOnlyProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ec: u32, prange: *mut core::ffi::c_void, pvarvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetValue, Impl: ITfReadOnlyProperty_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ec: u32, prange: *mut core::ffi::c_void, pvarvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfReadOnlyProperty_Impl::GetValue(this, core::mem::transmute_copy(&ec), windows_core::from_raw_borrowed(&prange)) { @@ -6737,7 +6737,7 @@ impl ITfReadingInformationUIElement_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetString, Impl: ITfReadingInformationUIElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetString, Impl: ITfReadingInformationUIElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfReadingInformationUIElement_Impl::GetString(this) { @@ -6836,7 +6836,7 @@ impl ITfReverseConversionList_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetString, Impl: ITfReverseConversionList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetString, Impl: ITfReverseConversionList_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, uindex: u32, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfReverseConversionList_Impl::GetString(this, core::mem::transmute_copy(&uindex)) { @@ -7093,7 +7093,7 @@ impl ITfSystemLangBarItemText_Vtbl { let this = (*this).get_impl(); ITfSystemLangBarItemText_Impl::SetItemText(this, core::mem::transmute(&pch), core::mem::transmute_copy(&cch)).into() } - unsafe extern "system" fn GetItemText, Impl: ITfSystemLangBarItemText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetItemText, Impl: ITfSystemLangBarItemText_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrtext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfSystemLangBarItemText_Impl::GetItemText(this) { @@ -7615,7 +7615,7 @@ pub trait ITfToolTipUIElement_Impl: Sized + ITfUIElement_Impl { impl windows_core::RuntimeName for ITfToolTipUIElement {} impl ITfToolTipUIElement_Vtbl { pub const fn new, Impl: ITfToolTipUIElement_Impl, const OFFSET: isize>() -> ITfToolTipUIElement_Vtbl { - unsafe extern "system" fn GetString, Impl: ITfToolTipUIElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetString, Impl: ITfToolTipUIElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfToolTipUIElement_Impl::GetString(this) { @@ -7690,7 +7690,7 @@ pub trait ITfUIElement_Impl: Sized { impl windows_core::RuntimeName for ITfUIElement {} impl ITfUIElement_Vtbl { pub const fn new, Impl: ITfUIElement_Impl, const OFFSET: isize>() -> ITfUIElement_Vtbl { - unsafe extern "system" fn GetDescription, Impl: ITfUIElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: ITfUIElement_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITfUIElement_Impl::GetDescription(this) { @@ -7926,7 +7926,7 @@ impl IVersionInfo_Vtbl { let this = (*this).get_impl(); IVersionInfo_Impl::GetBuildVersion(this, core::mem::transmute_copy(&ulsub), core::mem::transmute_copy(&pdwmajor), core::mem::transmute_copy(&pdwminor)).into() } - unsafe extern "system" fn GetComponentDescription, Impl: IVersionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ulsub: u32, pimplstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetComponentDescription, Impl: IVersionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ulsub: u32, pimplstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVersionInfo_Impl::GetComponentDescription(this, core::mem::transmute_copy(&ulsub)) { @@ -7937,7 +7937,7 @@ impl IVersionInfo_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetInstanceDescription, Impl: IVersionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ulsub: u32, pimplstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetInstanceDescription, Impl: IVersionInfo_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, ulsub: u32, pimplstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IVersionInfo_Impl::GetInstanceDescription(this, core::mem::transmute_copy(&ulsub)) { 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 dfaf3868f1..28e979b21d 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs @@ -20,29 +20,29 @@ windows_core::imp::define_interface!(IAccClientDocMgr, IAccClientDocMgr_Vtbl, 0x impl std::ops::Deref for IAccClientDocMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccClientDocMgr, windows_core::IUnknown); impl IAccClientDocMgr { #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocuments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocuments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LookupByHWND(&self, hwnd: P0, riid: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LookupByHWND)(windows_core::Interface::as_raw(self), hwnd.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LookupByPoint(&self, pt: super::super::Foundation::POINT, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LookupByPoint)(windows_core::Interface::as_raw(self), core::mem::transmute(pt), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFocused(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFocused)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -61,7 +61,7 @@ windows_core::imp::define_interface!(IAccDictionary, IAccDictionary_Vtbl, 0x1dc4 impl std::ops::Deref for IAccDictionary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccDictionary, windows_core::IUnknown); @@ -70,18 +70,18 @@ impl IAccDictionary { (windows_core::Interface::vtable(self).GetLocalizedString)(windows_core::Interface::as_raw(self), term, lcid, core::mem::transmute(presult), plcid).ok() } pub unsafe fn GetParentTerm(&self, term: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentTerm)(windows_core::Interface::as_raw(self), term, &mut result__).map(|| result__) } pub unsafe fn GetMnemonicString(&self, term: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMnemonicString)(windows_core::Interface::as_raw(self), term, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LookupMnemonicTerm(&self, bstrmnemonic: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LookupMnemonicTerm)(windows_core::Interface::as_raw(self), bstrmnemonic.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ConvertValueToString(&self, term: *const windows_core::GUID, lcid: u32, varvalue: P0, pbstrresult: *mut windows_core::BSTR, plcid: *mut u32) -> windows_core::Result<()> @@ -94,17 +94,17 @@ impl IAccDictionary { #[repr(C)] pub struct IAccDictionary_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetLocalizedString: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub GetLocalizedString: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, pub GetParentTerm: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetMnemonicString: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub LookupMnemonicTerm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, - pub ConvertValueToString: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, + pub GetMnemonicString: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub LookupMnemonicTerm: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, + pub ConvertValueToString: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccServerDocMgr, IAccServerDocMgr_Vtbl, 0xad7c73cf_6dd5_4855_abc2_b04bad5b9153); impl std::ops::Deref for IAccServerDocMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccServerDocMgr, windows_core::IUnknown); @@ -139,7 +139,7 @@ windows_core::imp::define_interface!(IAccStore, IAccStore_Vtbl, 0xe2cd4a63_2b72_ impl std::ops::Deref for IAccStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAccStore, windows_core::IUnknown); @@ -158,18 +158,18 @@ impl IAccStore { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetDocuments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocuments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LookupByHWND(&self, hwnd: P0, riid: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LookupByHWND)(windows_core::Interface::as_raw(self), hwnd.param().abi(), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LookupByPoint(&self, pt: super::super::Foundation::POINT, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LookupByPoint)(windows_core::Interface::as_raw(self), core::mem::transmute(pt), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnDocumentFocus(&self, punk: P0) -> windows_core::Result<()> @@ -179,7 +179,7 @@ impl IAccStore { (windows_core::Interface::vtable(self).OnDocumentFocus)(windows_core::Interface::as_raw(self), punk.param().abi()).ok() } pub unsafe fn GetFocused(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFocused)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -201,7 +201,7 @@ windows_core::imp::define_interface!(IAnchor, IAnchor_Vtbl, 0x0feb7e34_5a60_4356 impl std::ops::Deref for IAnchor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAnchor, windows_core::IUnknown); @@ -210,21 +210,21 @@ 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGravity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsEqual(&self, pawith: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqual)(windows_core::Interface::as_raw(self), pawith.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Compare(&self, pawith: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Compare)(windows_core::Interface::as_raw(self), pawith.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Shift(&self, dwflags: u32, cchreq: i32, pcch: *mut i32, pahaltanchor: P0) -> windows_core::Result<()> @@ -240,21 +240,21 @@ impl IAnchor { (windows_core::Interface::vtable(self).ShiftTo)(windows_core::Interface::as_raw(self), pasite.param().abi()).ok() } pub unsafe fn ShiftRegion(&self, dwflags: u32, dir: TsShiftDir) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShiftRegion)(windows_core::Interface::as_raw(self), dwflags, dir, &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChangeHistory)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -277,7 +277,7 @@ windows_core::imp::define_interface!(IClonableWrapper, IClonableWrapper_Vtbl, 0x impl std::ops::Deref for IClonableWrapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IClonableWrapper, windows_core::IUnknown); @@ -299,7 +299,7 @@ windows_core::imp::define_interface!(ICoCreateLocally, ICoCreateLocally_Vtbl, 0x impl std::ops::Deref for ICoCreateLocally { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoCreateLocally, windows_core::IUnknown); @@ -315,13 +315,13 @@ impl ICoCreateLocally { #[repr(C)] pub struct ICoCreateLocally_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub CoCreateLocally: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub CoCreateLocally: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoCreatedLocally, ICoCreatedLocally_Vtbl, 0x0a53eb6c_1908_4742_8cff_2cee2e93f94c); impl std::ops::Deref for ICoCreatedLocally { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICoCreatedLocally, windows_core::IUnknown); @@ -338,13 +338,13 @@ impl ICoCreatedLocally { #[repr(C)] pub struct ICoCreatedLocally_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub LocalInit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub LocalInit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDocWrap, IDocWrap_Vtbl, 0xdcd285fe_0be0_43bd_99c9_aaaec513c555); impl std::ops::Deref for IDocWrap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDocWrap, windows_core::IUnknown); @@ -356,7 +356,7 @@ impl IDocWrap { (windows_core::Interface::vtable(self).SetDoc)(windows_core::Interface::as_raw(self), riid, punk.param().abi()).ok() } pub unsafe fn GetWrappedDoc(&self, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWrappedDoc)(windows_core::Interface::as_raw(self), riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -370,13 +370,13 @@ windows_core::imp::define_interface!(IEnumITfCompositionView, IEnumITfCompositio impl std::ops::Deref for IEnumITfCompositionView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumITfCompositionView, windows_core::IUnknown); impl IEnumITfCompositionView { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, rgcompositionview: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -401,13 +401,13 @@ windows_core::imp::define_interface!(IEnumSpeechCommands, IEnumSpeechCommands_Vt impl std::ops::Deref for IEnumSpeechCommands { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSpeechCommands, windows_core::IUnknown); impl IEnumSpeechCommands { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, pspcmds: &mut [*mut u16], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -432,13 +432,13 @@ windows_core::imp::define_interface!(IEnumTfCandidates, IEnumTfCandidates_Vtbl, impl std::ops::Deref for IEnumTfCandidates { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfCandidates, windows_core::IUnknown); impl IEnumTfCandidates { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, ppcand: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -463,13 +463,13 @@ windows_core::imp::define_interface!(IEnumTfContextViews, IEnumTfContextViews_Vt impl std::ops::Deref for IEnumTfContextViews { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfContextViews, windows_core::IUnknown); impl IEnumTfContextViews { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, rgviews: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -494,13 +494,13 @@ windows_core::imp::define_interface!(IEnumTfContexts, IEnumTfContexts_Vtbl, 0x8f impl std::ops::Deref for IEnumTfContexts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfContexts, windows_core::IUnknown); impl IEnumTfContexts { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, rgcontext: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -525,13 +525,13 @@ windows_core::imp::define_interface!(IEnumTfDisplayAttributeInfo, IEnumTfDisplay impl std::ops::Deref for IEnumTfDisplayAttributeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfDisplayAttributeInfo, windows_core::IUnknown); impl IEnumTfDisplayAttributeInfo { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, rginfo: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -556,13 +556,13 @@ windows_core::imp::define_interface!(IEnumTfDocumentMgrs, IEnumTfDocumentMgrs_Vt impl std::ops::Deref for IEnumTfDocumentMgrs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfDocumentMgrs, windows_core::IUnknown); impl IEnumTfDocumentMgrs { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, rgdocumentmgr: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -587,13 +587,13 @@ windows_core::imp::define_interface!(IEnumTfFunctionProviders, IEnumTfFunctionPr impl std::ops::Deref for IEnumTfFunctionProviders { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfFunctionProviders, windows_core::IUnknown); impl IEnumTfFunctionProviders { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, ppcmdobj: &mut [Option], pcfetch: *mut u32) -> windows_core::Result<()> { @@ -618,13 +618,13 @@ windows_core::imp::define_interface!(IEnumTfInputProcessorProfiles, IEnumTfInput impl std::ops::Deref for IEnumTfInputProcessorProfiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfInputProcessorProfiles, windows_core::IUnknown); impl IEnumTfInputProcessorProfiles { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, pprofile: &mut [TF_INPUTPROCESSORPROFILE], pcfetch: *mut u32) -> windows_core::Result<()> { @@ -649,13 +649,13 @@ windows_core::imp::define_interface!(IEnumTfLangBarItems, IEnumTfLangBarItems_Vt impl std::ops::Deref for IEnumTfLangBarItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfLangBarItems, windows_core::IUnknown); impl IEnumTfLangBarItems { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, ppitem: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -680,13 +680,13 @@ windows_core::imp::define_interface!(IEnumTfLanguageProfiles, IEnumTfLanguagePro impl std::ops::Deref for IEnumTfLanguageProfiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfLanguageProfiles, windows_core::IUnknown); impl IEnumTfLanguageProfiles { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, pprofile: &mut [TF_LANGUAGEPROFILE], pcfetch: *mut u32) -> windows_core::Result<()> { @@ -711,13 +711,13 @@ windows_core::imp::define_interface!(IEnumTfLatticeElements, IEnumTfLatticeEleme impl std::ops::Deref for IEnumTfLatticeElements { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfLatticeElements, windows_core::IUnknown); impl IEnumTfLatticeElements { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, rgselements: &mut [TF_LMLATTELEMENT], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -742,13 +742,13 @@ windows_core::imp::define_interface!(IEnumTfProperties, IEnumTfProperties_Vtbl, impl std::ops::Deref for IEnumTfProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfProperties, windows_core::IUnknown); impl IEnumTfProperties { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, ppprop: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -773,13 +773,13 @@ windows_core::imp::define_interface!(IEnumTfPropertyValue, IEnumTfPropertyValue_ impl std::ops::Deref for IEnumTfPropertyValue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfPropertyValue, windows_core::IUnknown); impl IEnumTfPropertyValue { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, rgvalues: &mut [TF_PROPERTYVAL], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -804,13 +804,13 @@ windows_core::imp::define_interface!(IEnumTfRanges, IEnumTfRanges_Vtbl, 0xf99d3f impl std::ops::Deref for IEnumTfRanges { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfRanges, windows_core::IUnknown); impl IEnumTfRanges { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, pprange: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -835,13 +835,13 @@ windows_core::imp::define_interface!(IEnumTfUIElements, IEnumTfUIElements_Vtbl, impl std::ops::Deref for IEnumTfUIElements { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumTfUIElements, windows_core::IUnknown); impl IEnumTfUIElements { pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next(&self, ppelement: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -866,7 +866,7 @@ windows_core::imp::define_interface!(IInternalDocWrap, IInternalDocWrap_Vtbl, 0x impl std::ops::Deref for IInternalDocWrap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternalDocWrap, windows_core::IUnknown); @@ -884,13 +884,13 @@ windows_core::imp::define_interface!(ISpeechCommandProvider, ISpeechCommandProvi impl std::ops::Deref for ISpeechCommandProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISpeechCommandProvider, windows_core::IUnknown); impl ISpeechCommandProvider { pub unsafe fn EnumSpeechCommands(&self, langid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumSpeechCommands)(windows_core::Interface::as_raw(self), langid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ProcessCommand(&self, pszcommand: &[u16], langid: u16) -> windows_core::Result<()> { @@ -907,7 +907,7 @@ windows_core::imp::define_interface!(ITextStoreACP, ITextStoreACP_Vtbl, 0x28888f impl std::ops::Deref for ITextStoreACP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreACP, windows_core::IUnknown); @@ -925,11 +925,11 @@ impl ITextStoreACP { (windows_core::Interface::vtable(self).UnadviseSink)(windows_core::Interface::as_raw(self), punk.param().abi()).ok() } pub unsafe fn RequestLock(&self, dwlockflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestLock)(windows_core::Interface::as_raw(self), dwlockflags, &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueryInsert(&self, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> windows_core::Result<()> { @@ -945,21 +945,21 @@ impl ITextStoreACP { (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), acpstart, acpend, core::mem::transmute(pchplain.as_ptr()), pchplain.len().try_into().unwrap(), pcchplainret, core::mem::transmute(prgruninfo.as_ptr()), prgruninfo.len().try_into().unwrap(), pcruninforet, pacpnext).ok() } pub unsafe fn SetText(&self, dwflags: u32, acpstart: i32, acpend: i32, pchtext: &[u16]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetText)(windows_core::Interface::as_raw(self), dwflags, acpstart, acpend, core::mem::transmute(pchtext.as_ptr()), pchtext.len().try_into().unwrap(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self, acpstart: i32, acpend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormattedText)(windows_core::Interface::as_raw(self), acpstart, acpend, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEmbedded(&self, acppos: i32, rguidservice: *const windows_core::GUID, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmbedded)(windows_core::Interface::as_raw(self), acppos, rguidservice, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryInsertEmbedded)(windows_core::Interface::as_raw(self), pguidservice, pformatetc, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -967,7 +967,7 @@ impl ITextStoreACP { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InsertEmbedded)(windows_core::Interface::as_raw(self), dwflags, acpstart, acpend, pdataobject.param().abi(), &mut result__).map(|| result__) } pub unsafe fn InsertTextAtSelection(&self, dwflags: u32, pchtext: &[u16], pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> windows_core::Result<()> { @@ -996,26 +996,26 @@ impl ITextStoreACP { (windows_core::Interface::vtable(self).RetrieveRequestedAttrs)(windows_core::Interface::as_raw(self), paattrvals.len().try_into().unwrap(), core::mem::transmute(paattrvals.as_ptr()), pcfetched).ok() } pub unsafe fn GetEndACP(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEndACP)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetActiveView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveView)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetACPFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetACPFromPoint)(windows_core::Interface::as_raw(self), vcview, ptscreen, dwflags, &mut result__).map(|| result__) } pub unsafe fn GetTextExt(&self, vcview: u32, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTextExt)(windows_core::Interface::as_raw(self), vcview, acpstart, acpend, prc, pfclipped).ok() } pub unsafe fn GetScreenExt(&self, vcview: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScreenExt)(windows_core::Interface::as_raw(self), vcview, &mut result__).map(|| result__) } pub unsafe fn GetWnd(&self, vcview: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWnd)(windows_core::Interface::as_raw(self), vcview, &mut result__).map(|| result__) } } @@ -1065,7 +1065,7 @@ windows_core::imp::define_interface!(ITextStoreACP2, ITextStoreACP2_Vtbl, 0xf86a impl std::ops::Deref for ITextStoreACP2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreACP2, windows_core::IUnknown); @@ -1083,11 +1083,11 @@ impl ITextStoreACP2 { (windows_core::Interface::vtable(self).UnadviseSink)(windows_core::Interface::as_raw(self), punk.param().abi()).ok() } pub unsafe fn RequestLock(&self, dwlockflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestLock)(windows_core::Interface::as_raw(self), dwlockflags, &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueryInsert(&self, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> windows_core::Result<()> { @@ -1103,21 +1103,21 @@ impl ITextStoreACP2 { (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), acpstart, acpend, core::mem::transmute(pchplain.as_ptr()), pchplain.len().try_into().unwrap(), pcchplainret, core::mem::transmute(prgruninfo.as_ptr()), prgruninfo.len().try_into().unwrap(), pcruninforet, pacpnext).ok() } pub unsafe fn SetText(&self, dwflags: u32, acpstart: i32, acpend: i32, pchtext: &[u16]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SetText)(windows_core::Interface::as_raw(self), dwflags, acpstart, acpend, core::mem::transmute(pchtext.as_ptr()), pchtext.len().try_into().unwrap(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self, acpstart: i32, acpend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormattedText)(windows_core::Interface::as_raw(self), acpstart, acpend, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEmbedded(&self, acppos: i32, rguidservice: *const windows_core::GUID, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmbedded)(windows_core::Interface::as_raw(self), acppos, rguidservice, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryInsertEmbedded)(windows_core::Interface::as_raw(self), pguidservice, pformatetc, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1125,7 +1125,7 @@ impl ITextStoreACP2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InsertEmbedded)(windows_core::Interface::as_raw(self), dwflags, acpstart, acpend, pdataobject.param().abi(), &mut result__).map(|| result__) } pub unsafe fn InsertTextAtSelection(&self, dwflags: u32, pchtext: &[u16], pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> windows_core::Result<()> { @@ -1154,22 +1154,22 @@ impl ITextStoreACP2 { (windows_core::Interface::vtable(self).RetrieveRequestedAttrs)(windows_core::Interface::as_raw(self), paattrvals.len().try_into().unwrap(), core::mem::transmute(paattrvals.as_ptr()), pcfetched).ok() } pub unsafe fn GetEndACP(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEndACP)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetActiveView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveView)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetACPFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetACPFromPoint)(windows_core::Interface::as_raw(self), vcview, ptscreen, dwflags, &mut result__).map(|| result__) } pub unsafe fn GetTextExt(&self, vcview: u32, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTextExt)(windows_core::Interface::as_raw(self), vcview, acpstart, acpend, prc, pfclipped).ok() } pub unsafe fn GetScreenExt(&self, vcview: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScreenExt)(windows_core::Interface::as_raw(self), vcview, &mut result__).map(|| result__) } } @@ -1218,7 +1218,7 @@ windows_core::imp::define_interface!(ITextStoreACPEx, ITextStoreACPEx_Vtbl, 0xa2 impl std::ops::Deref for ITextStoreACPEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreACPEx, windows_core::IUnknown); @@ -1236,7 +1236,7 @@ windows_core::imp::define_interface!(ITextStoreACPServices, ITextStoreACPService impl std::ops::Deref for ITextStoreACPServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreACPServices, windows_core::IUnknown); @@ -1266,7 +1266,7 @@ impl ITextStoreACPServices { (windows_core::Interface::vtable(self).ForceLoadProperty)(windows_core::Interface::as_raw(self), pprop.param().abi()).ok() } pub unsafe fn CreateRange(&self, acpstart: i32, acpend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRange)(windows_core::Interface::as_raw(self), acpstart, acpend, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1288,7 +1288,7 @@ windows_core::imp::define_interface!(ITextStoreACPSink, ITextStoreACPSink_Vtbl, impl std::ops::Deref for ITextStoreACPSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreACPSink, windows_core::IUnknown); @@ -1334,7 +1334,7 @@ windows_core::imp::define_interface!(ITextStoreACPSinkEx, ITextStoreACPSinkEx_Vt impl std::ops::Deref for ITextStoreACPSinkEx { type Target = ITextStoreACPSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreACPSinkEx, windows_core::IUnknown, ITextStoreACPSink); @@ -1352,7 +1352,7 @@ windows_core::imp::define_interface!(ITextStoreAnchor, ITextStoreAnchor_Vtbl, 0x impl std::ops::Deref for ITextStoreAnchor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreAnchor, windows_core::IUnknown); @@ -1370,11 +1370,11 @@ impl ITextStoreAnchor { (windows_core::Interface::vtable(self).UnadviseSink)(windows_core::Interface::as_raw(self), punk.param().abi()).ok() } pub unsafe fn RequestLock(&self, dwlockflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestLock)(windows_core::Interface::as_raw(self), dwlockflags, &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn QueryInsert(&self, pateststart: P0, patestend: P1, cch: u32, pparesultstart: *mut Option, pparesultend: *mut Option) -> windows_core::Result<()> @@ -1411,14 +1411,14 @@ impl ITextStoreAnchor { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormattedText)(windows_core::Interface::as_raw(self), pastart.param().abi(), paend.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEmbedded(&self, dwflags: u32, papos: P0, rguidservice: *const windows_core::GUID, riid: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmbedded)(windows_core::Interface::as_raw(self), dwflags, papos.param().abi(), rguidservice, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -1456,19 +1456,19 @@ impl ITextStoreAnchor { (windows_core::Interface::vtable(self).RetrieveRequestedAttrs)(windows_core::Interface::as_raw(self), paattrvals.len().try_into().unwrap(), core::mem::transmute(paattrvals.as_ptr()), pcfetched).ok() } pub unsafe fn GetStart(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStart)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnd)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActiveView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveView)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAnchorFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAnchorFromPoint)(windows_core::Interface::as_raw(self), vcview, ptscreen, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTextExt(&self, vcview: u32, pastart: P0, paend: P1, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -1479,16 +1479,16 @@ impl ITextStoreAnchor { (windows_core::Interface::vtable(self).GetTextExt)(windows_core::Interface::as_raw(self), vcview, pastart.param().abi(), paend.param().abi(), prc, pfclipped).ok() } pub unsafe fn GetScreenExt(&self, vcview: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScreenExt)(windows_core::Interface::as_raw(self), vcview, &mut result__).map(|| result__) } pub unsafe fn GetWnd(&self, vcview: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWnd)(windows_core::Interface::as_raw(self), vcview, &mut result__).map(|| result__) } #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryInsertEmbedded)(windows_core::Interface::as_raw(self), pguidservice, pformatetc, &mut result__).map(|| result__) } pub unsafe fn InsertTextAtSelection(&self, dwflags: u32, pchtext: &[u16], ppastart: *mut Option, ppaend: *mut Option) -> windows_core::Result<()> { @@ -1549,7 +1549,7 @@ windows_core::imp::define_interface!(ITextStoreAnchorEx, ITextStoreAnchorEx_Vtbl impl std::ops::Deref for ITextStoreAnchorEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreAnchorEx, windows_core::IUnknown); @@ -1571,7 +1571,7 @@ windows_core::imp::define_interface!(ITextStoreAnchorSink, ITextStoreAnchorSink_ impl std::ops::Deref for ITextStoreAnchorSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreAnchorSink, windows_core::IUnknown); @@ -1625,7 +1625,7 @@ windows_core::imp::define_interface!(ITextStoreSinkAnchorEx, ITextStoreSinkAncho impl std::ops::Deref for ITextStoreSinkAnchorEx { type Target = ITextStoreAnchorSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITextStoreSinkAnchorEx, windows_core::IUnknown, ITextStoreAnchorSink); @@ -1643,7 +1643,7 @@ windows_core::imp::define_interface!(ITfActiveLanguageProfileNotifySink, ITfActi impl std::ops::Deref for ITfActiveLanguageProfileNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfActiveLanguageProfileNotifySink, windows_core::IUnknown); @@ -1664,21 +1664,21 @@ windows_core::imp::define_interface!(ITfCandidateList, ITfCandidateList_Vtbl, 0x impl std::ops::Deref for ITfCandidateList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCandidateList, windows_core::IUnknown); impl ITfCandidateList { pub unsafe fn EnumCandidates(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCandidates)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCandidate(&self, nindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCandidate)(windows_core::Interface::as_raw(self), nindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCandidateNum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCandidateNum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetResult(&self, nindex: u32, imcr: TfCandidateResult) -> windows_core::Result<()> { @@ -1697,29 +1697,29 @@ windows_core::imp::define_interface!(ITfCandidateListUIElement, ITfCandidateList impl std::ops::Deref for ITfCandidateListUIElement { type Target = ITfUIElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCandidateListUIElement, windows_core::IUnknown, ITfUIElement); impl ITfCandidateListUIElement { pub unsafe fn GetUpdatedFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUpdatedFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDocumentMgr(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentMgr)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCount(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCount)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetSelection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetString(&self, uindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetString)(windows_core::Interface::as_raw(self), uindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPageIndex(&self, pindex: &mut [u32], pupagecnt: *mut u32) -> windows_core::Result<()> { @@ -1729,7 +1729,7 @@ impl ITfCandidateListUIElement { (windows_core::Interface::vtable(self).SetPageIndex)(windows_core::Interface::as_raw(self), core::mem::transmute(pindex.as_ptr()), pindex.len().try_into().unwrap()).ok() } pub unsafe fn GetCurrentPage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentPage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1740,7 +1740,7 @@ pub struct ITfCandidateListUIElement_Vtbl { pub GetDocumentMgr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetPageIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, *mut u32) -> windows_core::HRESULT, pub SetPageIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32, u32) -> windows_core::HRESULT, pub GetCurrentPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, @@ -1749,7 +1749,7 @@ windows_core::imp::define_interface!(ITfCandidateListUIElementBehavior, ITfCandi impl std::ops::Deref for ITfCandidateListUIElementBehavior { type Target = ITfCandidateListUIElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCandidateListUIElementBehavior, windows_core::IUnknown, ITfUIElement, ITfCandidateListUIElement); @@ -1775,31 +1775,31 @@ windows_core::imp::define_interface!(ITfCandidateString, ITfCandidateString_Vtbl impl std::ops::Deref for ITfCandidateString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCandidateString, windows_core::IUnknown); impl ITfCandidateString { pub unsafe fn GetString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct ITfCandidateString_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCategoryMgr, ITfCategoryMgr_Vtbl, 0xc3acefb5_f69d_4905_938f_fcadcf4be830); impl std::ops::Deref for ITfCategoryMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCategoryMgr, windows_core::IUnknown); @@ -1812,12 +1812,12 @@ impl ITfCategoryMgr { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCategoriesInItem(&self, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCategoriesInItem)(windows_core::Interface::as_raw(self), rguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumItemsInCategory(&self, rcatid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumItemsInCategory)(windows_core::Interface::as_raw(self), rcatid, &mut result__).and_then(|| windows_core::Type::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<()> { @@ -1830,7 +1830,7 @@ impl ITfCategoryMgr { (windows_core::Interface::vtable(self).UnregisterGUIDDescription)(windows_core::Interface::as_raw(self), rclsid, rguid).ok() } pub unsafe fn GetGUIDDescription(&self, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGUIDDescription)(windows_core::Interface::as_raw(self), rguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RegisterGUIDDWORD(&self, rclsid: *const windows_core::GUID, rguid: *const windows_core::GUID, dw: u32) -> windows_core::Result<()> { @@ -1840,19 +1840,19 @@ impl ITfCategoryMgr { (windows_core::Interface::vtable(self).UnregisterGUIDDWORD)(windows_core::Interface::as_raw(self), rclsid, rguid).ok() } pub unsafe fn GetGUIDDWORD(&self, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGUIDDWORD)(windows_core::Interface::as_raw(self), rguid, &mut result__).map(|| result__) } pub unsafe fn RegisterGUID(&self, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RegisterGUID)(windows_core::Interface::as_raw(self), rguid, &mut result__).map(|| result__) } pub unsafe fn GetGUID(&self, guidatom: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGUID)(windows_core::Interface::as_raw(self), guidatom, &mut result__).map(|| result__) } pub unsafe fn IsEqualTfGuidAtom(&self, guidatom: u32, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqualTfGuidAtom)(windows_core::Interface::as_raw(self), guidatom, rguid, &mut result__).map(|| result__) } } @@ -1872,7 +1872,7 @@ pub struct ITfCategoryMgr_Vtbl { pub FindClosestCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut windows_core::GUID, *const *const windows_core::GUID, u32) -> windows_core::HRESULT, pub RegisterGUIDDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub UnregisterGUIDDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID) -> windows_core::HRESULT, - pub GetGUIDDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetGUIDDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub RegisterGUIDDWORD: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, u32) -> windows_core::HRESULT, pub UnregisterGUIDDWORD: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID) -> windows_core::HRESULT, pub GetGUIDDWORD: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, @@ -1884,7 +1884,7 @@ windows_core::imp::define_interface!(ITfCleanupContextDurationSink, ITfCleanupCo impl std::ops::Deref for ITfCleanupContextDurationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCleanupContextDurationSink, windows_core::IUnknown); @@ -1906,7 +1906,7 @@ windows_core::imp::define_interface!(ITfCleanupContextSink, ITfCleanupContextSin impl std::ops::Deref for ITfCleanupContextSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCleanupContextSink, windows_core::IUnknown); @@ -1927,13 +1927,13 @@ windows_core::imp::define_interface!(ITfClientId, ITfClientId_Vtbl, 0xd60a7b49_1 impl std::ops::Deref for ITfClientId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfClientId, windows_core::IUnknown); impl ITfClientId { pub unsafe fn GetClientId(&self, rclsid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetClientId)(windows_core::Interface::as_raw(self), rclsid, &mut result__).map(|| result__) } } @@ -1946,7 +1946,7 @@ windows_core::imp::define_interface!(ITfCompartment, ITfCompartment_Vtbl, 0xbb08 impl std::ops::Deref for ITfCompartment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCompartment, windows_core::IUnknown); @@ -1955,21 +1955,21 @@ impl ITfCompartment { (windows_core::Interface::vtable(self).SetValue)(windows_core::Interface::as_raw(self), tid, core::mem::transmute(pvarvalue)).ok() } pub unsafe fn GetValue(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ITfCompartment_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCompartmentEventSink, ITfCompartmentEventSink_Vtbl, 0x743abd5f_f26d_48df_8cc5_238492419b64); impl std::ops::Deref for ITfCompartmentEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCompartmentEventSink, windows_core::IUnknown); @@ -1987,13 +1987,13 @@ windows_core::imp::define_interface!(ITfCompartmentMgr, ITfCompartmentMgr_Vtbl, impl std::ops::Deref for ITfCompartmentMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCompartmentMgr, windows_core::IUnknown); impl ITfCompartmentMgr { pub unsafe fn GetCompartment(&self, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCompartment)(windows_core::Interface::as_raw(self), rguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ClearCompartment(&self, tid: u32, rguid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -2001,7 +2001,7 @@ impl ITfCompartmentMgr { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumCompartments(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCompartments)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2019,13 +2019,13 @@ windows_core::imp::define_interface!(ITfComposition, ITfComposition_Vtbl, 0x2016 impl std::ops::Deref for ITfComposition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfComposition, windows_core::IUnknown); impl ITfComposition { pub unsafe fn GetRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShiftStart(&self, ecwrite: u32, pnewstart: P0) -> windows_core::Result<()> @@ -2056,7 +2056,7 @@ windows_core::imp::define_interface!(ITfCompositionSink, ITfCompositionSink_Vtbl impl std::ops::Deref for ITfCompositionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCompositionSink, windows_core::IUnknown); @@ -2077,17 +2077,17 @@ windows_core::imp::define_interface!(ITfCompositionView, ITfCompositionView_Vtbl impl std::ops::Deref for ITfCompositionView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCompositionView, windows_core::IUnknown); impl ITfCompositionView { pub unsafe fn GetOwnerClsid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOwnerClsid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetRange(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRange)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2101,7 +2101,7 @@ windows_core::imp::define_interface!(ITfConfigureSystemKeystrokeFeed, ITfConfigu impl std::ops::Deref for ITfConfigureSystemKeystrokeFeed { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfConfigureSystemKeystrokeFeed, windows_core::IUnknown); @@ -2123,7 +2123,7 @@ windows_core::imp::define_interface!(ITfContext, ITfContext_Vtbl, 0xaa80e7fd_202 impl std::ops::Deref for ITfContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfContext, windows_core::IUnknown); @@ -2132,11 +2132,11 @@ impl ITfContext { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).RequestEditSession)(windows_core::Interface::as_raw(self), tid, pes.param().abi(), dwflags, &mut result__).map(|| result__) } pub unsafe fn InWriteSession(&self, tid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InWriteSession)(windows_core::Interface::as_raw(self), tid, &mut result__).map(|| result__) } pub unsafe fn GetSelection(&self, ec: u32, ulindex: u32, pselection: &mut [TF_SELECTION], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -2146,50 +2146,50 @@ impl ITfContext { (windows_core::Interface::vtable(self).SetSelection)(windows_core::Interface::as_raw(self), ec, pselection.len().try_into().unwrap(), core::mem::transmute(pselection.as_ptr())).ok() } pub unsafe fn GetStart(&self, ec: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStart)(windows_core::Interface::as_raw(self), ec, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEnd(&self, ec: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEnd)(windows_core::Interface::as_raw(self), ec, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActiveView(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveView)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumViews(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumViews)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetProperty(&self, guidprop: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetProperty)(windows_core::Interface::as_raw(self), guidprop, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAppProperty(&self, guidprop: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAppProperty)(windows_core::Interface::as_raw(self), guidprop, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TrackProperties(&self, prgprop: &[*const windows_core::GUID], prgappprop: &[*const windows_core::GUID]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TrackProperties)(windows_core::Interface::as_raw(self), core::mem::transmute(prgprop.as_ptr()), prgprop.len().try_into().unwrap(), core::mem::transmute(prgappprop.as_ptr()), prgappprop.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumProperties(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumProperties)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDocumentMgr(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentMgr)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateRangeBackup(&self, ec: u32, prange: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRangeBackup)(windows_core::Interface::as_raw(self), ec, prange.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2216,7 +2216,7 @@ windows_core::imp::define_interface!(ITfContextComposition, ITfContextCompositio impl std::ops::Deref for ITfContextComposition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfContextComposition, windows_core::IUnknown); @@ -2226,18 +2226,18 @@ impl ITfContextComposition { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).StartComposition)(windows_core::Interface::as_raw(self), ecwrite, pcompositionrange.param().abi(), psink.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumCompositions(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumCompositions)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindComposition(&self, ecread: u32, ptestrange: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindComposition)(windows_core::Interface::as_raw(self), ecread, ptestrange.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TakeOwnership(&self, ecwrite: u32, pcomposition: P0, psink: P1) -> windows_core::Result @@ -2245,7 +2245,7 @@ impl ITfContextComposition { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TakeOwnership)(windows_core::Interface::as_raw(self), ecwrite, pcomposition.param().abi(), psink.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2261,7 +2261,7 @@ windows_core::imp::define_interface!(ITfContextKeyEventSink, ITfContextKeyEventS impl std::ops::Deref for ITfContextKeyEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfContextKeyEventSink, windows_core::IUnknown); @@ -2271,7 +2271,7 @@ impl ITfContextKeyEventSink { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnKeyDown)(windows_core::Interface::as_raw(self), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnKeyUp(&self, wparam: P0, lparam: P1) -> windows_core::Result @@ -2279,7 +2279,7 @@ impl ITfContextKeyEventSink { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnKeyUp)(windows_core::Interface::as_raw(self), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnTestKeyDown(&self, wparam: P0, lparam: P1) -> windows_core::Result @@ -2287,7 +2287,7 @@ impl ITfContextKeyEventSink { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnTestKeyDown)(windows_core::Interface::as_raw(self), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnTestKeyUp(&self, wparam: P0, lparam: P1) -> windows_core::Result @@ -2295,7 +2295,7 @@ impl ITfContextKeyEventSink { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnTestKeyUp)(windows_core::Interface::as_raw(self), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } } @@ -2311,32 +2311,32 @@ windows_core::imp::define_interface!(ITfContextOwner, ITfContextOwner_Vtbl, 0xaa impl std::ops::Deref for ITfContextOwner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfContextOwner, windows_core::IUnknown); impl ITfContextOwner { pub unsafe fn GetACPFromPoint(&self, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetACPFromPoint)(windows_core::Interface::as_raw(self), ptscreen, dwflags, &mut result__).map(|| result__) } pub unsafe fn GetTextExt(&self, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetTextExt)(windows_core::Interface::as_raw(self), acpstart, acpend, prc, pfclipped).ok() } pub unsafe fn GetScreenExt(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScreenExt)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetAttribute(&self, rguidattribute: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAttribute)(windows_core::Interface::as_raw(self), rguidattribute, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2348,13 +2348,13 @@ pub struct ITfContextOwner_Vtbl { pub GetScreenExt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TS_STATUS) -> windows_core::HRESULT, pub GetWnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, - pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfContextOwnerCompositionServices, ITfContextOwnerCompositionServices_Vtbl, 0x86462810_593b_4916_9764_19c08e9ce110); impl std::ops::Deref for ITfContextOwnerCompositionServices { type Target = ITfContextComposition; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfContextOwnerCompositionServices, windows_core::IUnknown, ITfContextComposition); @@ -2375,7 +2375,7 @@ windows_core::imp::define_interface!(ITfContextOwnerCompositionSink, ITfContextO impl std::ops::Deref for ITfContextOwnerCompositionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfContextOwnerCompositionSink, windows_core::IUnknown); @@ -2384,7 +2384,7 @@ impl ITfContextOwnerCompositionSink { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnStartComposition)(windows_core::Interface::as_raw(self), pcomposition.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnUpdateComposition(&self, pcomposition: P0, prangenew: P1) -> windows_core::Result<()> @@ -2412,7 +2412,7 @@ windows_core::imp::define_interface!(ITfContextOwnerServices, ITfContextOwnerSer impl std::ops::Deref for ITfContextOwnerServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfContextOwnerServices, windows_core::IUnknown); @@ -2451,7 +2451,7 @@ impl ITfContextOwnerServices { (windows_core::Interface::vtable(self).ForceLoadProperty)(windows_core::Interface::as_raw(self), pprop.param().abi()).ok() } pub unsafe fn CreateRange(&self, acpstart: i32, acpend: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateRange)(windows_core::Interface::as_raw(self), acpstart, acpend, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2476,13 +2476,13 @@ windows_core::imp::define_interface!(ITfContextView, ITfContextView_Vtbl, 0x2433 impl std::ops::Deref for ITfContextView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfContextView, windows_core::IUnknown); impl ITfContextView { pub unsafe fn GetRangeFromPoint(&self, ec: u32, ppt: *const super::super::Foundation::POINT, dwflags: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRangeFromPoint)(windows_core::Interface::as_raw(self), ec, ppt, dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTextExt(&self, ec: u32, prange: P0, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -2492,11 +2492,11 @@ impl ITfContextView { (windows_core::Interface::vtable(self).GetTextExt)(windows_core::Interface::as_raw(self), ec, prange.param().abi(), prc, pfclipped).ok() } pub unsafe fn GetScreenExt(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetScreenExt)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetWnd(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetWnd)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2512,7 +2512,7 @@ windows_core::imp::define_interface!(ITfCreatePropertyStore, ITfCreatePropertySt impl std::ops::Deref for ITfCreatePropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfCreatePropertyStore, windows_core::IUnknown); @@ -2522,7 +2522,7 @@ impl ITfCreatePropertyStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsStoreSerializable)(windows_core::Interface::as_raw(self), guidprop, prange.param().abi(), ppropstore.param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -2531,7 +2531,7 @@ impl ITfCreatePropertyStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreatePropertyStore)(windows_core::Interface::as_raw(self), guidprop, prange.param().abi(), cb, pstream.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2548,17 +2548,17 @@ windows_core::imp::define_interface!(ITfDisplayAttributeInfo, ITfDisplayAttribut impl std::ops::Deref for ITfDisplayAttributeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfDisplayAttributeInfo, windows_core::IUnknown); impl ITfDisplayAttributeInfo { pub unsafe fn GetGUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGUID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAttributeInfo(&self, pda: *mut TF_DISPLAYATTRIBUTE) -> windows_core::Result<()> { @@ -2575,7 +2575,7 @@ impl ITfDisplayAttributeInfo { pub struct ITfDisplayAttributeInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetGUID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TF_DISPLAYATTRIBUTE) -> windows_core::HRESULT, pub SetAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const TF_DISPLAYATTRIBUTE) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, @@ -2584,7 +2584,7 @@ windows_core::imp::define_interface!(ITfDisplayAttributeMgr, ITfDisplayAttribute impl std::ops::Deref for ITfDisplayAttributeMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfDisplayAttributeMgr, windows_core::IUnknown); @@ -2593,7 +2593,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDisplayAttributeInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayAttributeInfo(&self, guid: *const windows_core::GUID, ppinfo: *mut Option, pclsidowner: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -2611,7 +2611,7 @@ windows_core::imp::define_interface!(ITfDisplayAttributeNotifySink, ITfDisplayAt impl std::ops::Deref for ITfDisplayAttributeNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfDisplayAttributeNotifySink, windows_core::IUnknown); @@ -2629,17 +2629,17 @@ windows_core::imp::define_interface!(ITfDisplayAttributeProvider, ITfDisplayAttr impl std::ops::Deref for ITfDisplayAttributeProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfDisplayAttributeProvider, windows_core::IUnknown); impl ITfDisplayAttributeProvider { pub unsafe fn EnumDisplayAttributeInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDisplayAttributeInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayAttributeInfo(&self, guid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayAttributeInfo)(windows_core::Interface::as_raw(self), guid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2653,7 +2653,7 @@ windows_core::imp::define_interface!(ITfDocumentMgr, ITfDocumentMgr_Vtbl, 0xaa80 impl std::ops::Deref for ITfDocumentMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfDocumentMgr, windows_core::IUnknown); @@ -2674,15 +2674,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTop)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetBase(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBase)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumContexts(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumContexts)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2700,17 +2700,17 @@ windows_core::imp::define_interface!(ITfEditRecord, ITfEditRecord_Vtbl, 0x42d4d0 impl std::ops::Deref for ITfEditRecord { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfEditRecord, windows_core::IUnknown); impl ITfEditRecord { pub unsafe fn GetSelectionStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectionStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTextAndPropertyUpdates(&self, dwflags: GET_TEXT_AND_PROPERTY_UPDATES_FLAGS, prgproperties: &[*const windows_core::GUID]) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTextAndPropertyUpdates)(windows_core::Interface::as_raw(self), dwflags, core::mem::transmute(prgproperties.as_ptr()), prgproperties.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2724,7 +2724,7 @@ windows_core::imp::define_interface!(ITfEditSession, ITfEditSession_Vtbl, 0xaa80 impl std::ops::Deref for ITfEditSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfEditSession, windows_core::IUnknown); @@ -2742,7 +2742,7 @@ windows_core::imp::define_interface!(ITfEditTransactionSink, ITfEditTransactionS impl std::ops::Deref for ITfEditTransactionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfEditTransactionSink, windows_core::IUnknown); @@ -2770,7 +2770,7 @@ windows_core::imp::define_interface!(ITfFnAdviseText, ITfFnAdviseText_Vtbl, 0x35 impl std::ops::Deref for ITfFnAdviseText { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnAdviseText, windows_core::IUnknown, ITfFunction); @@ -2799,7 +2799,7 @@ windows_core::imp::define_interface!(ITfFnBalloon, ITfFnBalloon_Vtbl, 0x3bab89e4 impl std::ops::Deref for ITfFnBalloon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnBalloon, windows_core::IUnknown); @@ -2817,7 +2817,7 @@ windows_core::imp::define_interface!(ITfFnConfigure, ITfFnConfigure_Vtbl, 0x88f5 impl std::ops::Deref for ITfFnConfigure { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnConfigure, windows_core::IUnknown, ITfFunction); @@ -2838,7 +2838,7 @@ windows_core::imp::define_interface!(ITfFnConfigureRegisterEudc, ITfFnConfigureR impl std::ops::Deref for ITfFnConfigureRegisterEudc { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnConfigureRegisterEudc, windows_core::IUnknown, ITfFunction); @@ -2854,13 +2854,13 @@ impl ITfFnConfigureRegisterEudc { #[repr(C)] pub struct ITfFnConfigureRegisterEudc_Vtbl { pub base__: ITfFunction_Vtbl, - pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u16, *const windows_core::GUID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u16, *const windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnConfigureRegisterWord, ITfFnConfigureRegisterWord_Vtbl, 0xbb95808a_6d8f_4bca_8400_5390b586aedf); impl std::ops::Deref for ITfFnConfigureRegisterWord { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnConfigureRegisterWord, windows_core::IUnknown, ITfFunction); @@ -2876,13 +2876,13 @@ impl ITfFnConfigureRegisterWord { #[repr(C)] pub struct ITfFnConfigureRegisterWord_Vtbl { pub base__: ITfFunction_Vtbl, - pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u16, *const windows_core::GUID, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u16, *const windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnCustomSpeechCommand, ITfFnCustomSpeechCommand_Vtbl, 0xfca6c349_a12f_43a3_8dd6_5a5a4282577b); impl std::ops::Deref for ITfFnCustomSpeechCommand { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnCustomSpeechCommand, windows_core::IUnknown, ITfFunction); @@ -2903,7 +2903,7 @@ windows_core::imp::define_interface!(ITfFnGetLinguisticAlternates, ITfFnGetLingu impl std::ops::Deref for ITfFnGetLinguisticAlternates { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnGetLinguisticAlternates, windows_core::IUnknown, ITfFunction); @@ -2912,7 +2912,7 @@ impl ITfFnGetLinguisticAlternates { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAlternates)(windows_core::Interface::as_raw(self), prange.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2925,7 +2925,7 @@ windows_core::imp::define_interface!(ITfFnGetPreferredTouchKeyboardLayout, ITfFn impl std::ops::Deref for ITfFnGetPreferredTouchKeyboardLayout { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnGetPreferredTouchKeyboardLayout, windows_core::IUnknown, ITfFunction); @@ -2943,13 +2943,13 @@ windows_core::imp::define_interface!(ITfFnGetSAPIObject, ITfFnGetSAPIObject_Vtbl impl std::ops::Deref for ITfFnGetSAPIObject { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnGetSAPIObject, windows_core::IUnknown, ITfFunction); impl ITfFnGetSAPIObject { pub unsafe fn Get(&self, sobj: TfSapiObject) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Get)(windows_core::Interface::as_raw(self), sobj, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2962,7 +2962,7 @@ windows_core::imp::define_interface!(ITfFnLMInternal, ITfFnLMInternal_Vtbl, 0x04 impl std::ops::Deref for ITfFnLMInternal { type Target = ITfFnLMProcessor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnLMInternal, windows_core::IUnknown, ITfFunction, ITfFnLMProcessor); @@ -2983,7 +2983,7 @@ windows_core::imp::define_interface!(ITfFnLMProcessor, ITfFnLMProcessor_Vtbl, 0x impl std::ops::Deref for ITfFnLMProcessor { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnLMProcessor, windows_core::IUnknown, ITfFunction); @@ -2995,14 +2995,14 @@ impl ITfFnLMProcessor { (windows_core::Interface::vtable(self).QueryRange)(windows_core::Interface::as_raw(self), prange.param().abi(), core::mem::transmute(ppnewrange), pfaccepted).ok() } pub unsafe fn QueryLangID(&self, langid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryLangID)(windows_core::Interface::as_raw(self), langid, &mut result__).map(|| result__) } pub unsafe fn GetReconversion(&self, prange: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReconversion)(windows_core::Interface::as_raw(self), prange.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reconvert(&self, prange: P0) -> windows_core::Result<()> @@ -3017,7 +3017,7 @@ impl ITfFnLMProcessor { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryKey)(windows_core::Interface::as_raw(self), fup.param().abi(), vkey.param().abi(), lparamkeydata.param().abi(), &mut result__).map(|| result__) } pub unsafe fn InvokeKey(&self, fup: P0, vkey: P1, lparamkeydata: P2) -> windows_core::Result<()> @@ -3050,7 +3050,7 @@ windows_core::imp::define_interface!(ITfFnLangProfileUtil, ITfFnLangProfileUtil_ impl std::ops::Deref for ITfFnLangProfileUtil { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnLangProfileUtil, windows_core::IUnknown, ITfFunction); @@ -3059,7 +3059,7 @@ impl ITfFnLangProfileUtil { (windows_core::Interface::vtable(self).RegisterActiveProfiles)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsProfileAvailableForLang(&self, langid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsProfileAvailableForLang)(windows_core::Interface::as_raw(self), langid, &mut result__).map(|| result__) } } @@ -3073,7 +3073,7 @@ windows_core::imp::define_interface!(ITfFnPlayBack, ITfFnPlayBack_Vtbl, 0xa3a416 impl std::ops::Deref for ITfFnPlayBack { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnPlayBack, windows_core::IUnknown, ITfFunction); @@ -3101,13 +3101,13 @@ windows_core::imp::define_interface!(ITfFnPropertyUIStatus, ITfFnPropertyUIStatu impl std::ops::Deref for ITfFnPropertyUIStatus { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnPropertyUIStatus, windows_core::IUnknown, ITfFunction); impl ITfFnPropertyUIStatus { pub unsafe fn GetStatus(&self, refguidprop: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), refguidprop, &mut result__).map(|| result__) } pub unsafe fn SetStatus(&self, refguidprop: *const windows_core::GUID, dw: u32) -> windows_core::Result<()> { @@ -3124,7 +3124,7 @@ windows_core::imp::define_interface!(ITfFnReconversion, ITfFnReconversion_Vtbl, impl std::ops::Deref for ITfFnReconversion { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnReconversion, windows_core::IUnknown, ITfFunction); @@ -3139,7 +3139,7 @@ impl ITfFnReconversion { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReconversion)(windows_core::Interface::as_raw(self), prange.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reconvert(&self, prange: P0) -> windows_core::Result<()> @@ -3160,7 +3160,7 @@ windows_core::imp::define_interface!(ITfFnSearchCandidateProvider, ITfFnSearchCa impl std::ops::Deref for ITfFnSearchCandidateProvider { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnSearchCandidateProvider, windows_core::IUnknown, ITfFunction); @@ -3170,7 +3170,7 @@ impl ITfFnSearchCandidateProvider { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSearchCandidates)(windows_core::Interface::as_raw(self), bstrquery.param().abi(), bstrapplicationid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetResult(&self, bstrquery: P0, bstrapplicationid: P1, bstrresult: P2) -> windows_core::Result<()> @@ -3185,14 +3185,14 @@ impl ITfFnSearchCandidateProvider { #[repr(C)] pub struct ITfFnSearchCandidateProvider_Vtbl { pub base__: ITfFunction_Vtbl, - pub GetSearchCandidates: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetResult: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSearchCandidates: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, + pub SetResult: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnShowHelp, ITfFnShowHelp_Vtbl, 0x5ab1d30c_094d_4c29_8ea5_0bf59be87bf3); impl std::ops::Deref for ITfFnShowHelp { type Target = ITfFunction; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFnShowHelp, windows_core::IUnknown, ITfFunction); @@ -3213,40 +3213,40 @@ windows_core::imp::define_interface!(ITfFunction, ITfFunction_Vtbl, 0xdb593490_0 impl std::ops::Deref for ITfFunction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFunction, windows_core::IUnknown); impl ITfFunction { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ITfFunction_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFunctionProvider, ITfFunctionProvider_Vtbl, 0x101d6610_0990_11d3_8df0_00105a2799b5); impl std::ops::Deref for ITfFunctionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfFunctionProvider, windows_core::IUnknown); impl ITfFunctionProvider { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFunction(&self, rguid: *const windows_core::GUID, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunction)(windows_core::Interface::as_raw(self), rguid, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3254,14 +3254,14 @@ impl ITfFunctionProvider { pub struct ITfFunctionProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfInputProcessorProfileActivationSink, ITfInputProcessorProfileActivationSink_Vtbl, 0x71c6e74e_0f28_11d8_a82a_00065b84435c); impl std::ops::Deref for ITfInputProcessorProfileActivationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfInputProcessorProfileActivationSink, windows_core::IUnknown); @@ -3282,7 +3282,7 @@ windows_core::imp::define_interface!(ITfInputProcessorProfileMgr, ITfInputProces impl std::ops::Deref for ITfInputProcessorProfileMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfInputProcessorProfileMgr, windows_core::IUnknown); @@ -3306,7 +3306,7 @@ impl ITfInputProcessorProfileMgr { (windows_core::Interface::vtable(self).GetProfile)(windows_core::Interface::as_raw(self), dwprofiletype, langid, clsid, guidprofile, hkl.param().abi(), pprofile).ok() } pub unsafe fn EnumProfiles(&self, langid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumProfiles)(windows_core::Interface::as_raw(self), langid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ReleaseInputProcessor(&self, rclsid: *const windows_core::GUID, dwflags: u32) -> windows_core::Result<()> { @@ -3342,13 +3342,13 @@ windows_core::imp::define_interface!(ITfInputProcessorProfileSubstituteLayout, I impl std::ops::Deref for ITfInputProcessorProfileSubstituteLayout { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubstituteKeyboardLayout)(windows_core::Interface::as_raw(self), rclsid, langid, guidprofile, &mut result__).map(|| result__) } } @@ -3361,7 +3361,7 @@ windows_core::imp::define_interface!(ITfInputProcessorProfiles, ITfInputProcesso impl std::ops::Deref for ITfInputProcessorProfiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfInputProcessorProfiles, windows_core::IUnknown); @@ -3380,7 +3380,7 @@ impl ITfInputProcessorProfiles { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumInputProcessorInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumInputProcessorInfo)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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<()> { @@ -3396,11 +3396,11 @@ impl ITfInputProcessorProfiles { (windows_core::Interface::vtable(self).GetActiveLanguageProfile)(windows_core::Interface::as_raw(self), rclsid, plangid, pguidprofile).ok() } pub unsafe fn GetLanguageProfileDescription(&self, rclsid: *const windows_core::GUID, langid: u16, guidprofile: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLanguageProfileDescription)(windows_core::Interface::as_raw(self), rclsid, langid, guidprofile, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentLanguage(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCurrentLanguage)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn ChangeCurrentLanguage(&self, langid: u16) -> windows_core::Result<()> { @@ -3410,7 +3410,7 @@ impl ITfInputProcessorProfiles { (windows_core::Interface::vtable(self).GetLanguageList)(windows_core::Interface::as_raw(self), pplangid, pulcount).ok() } pub unsafe fn EnumLanguageProfiles(&self, langid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumLanguageProfiles)(windows_core::Interface::as_raw(self), langid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnableLanguageProfile(&self, rclsid: *const windows_core::GUID, langid: u16, guidprofile: *const windows_core::GUID, fenable: P0) -> windows_core::Result<()> @@ -3420,7 +3420,7 @@ impl ITfInputProcessorProfiles { (windows_core::Interface::vtable(self).EnableLanguageProfile)(windows_core::Interface::as_raw(self), rclsid, langid, guidprofile, fenable.param().abi()).ok() } pub unsafe fn IsEnabledLanguageProfile(&self, rclsid: *const windows_core::GUID, langid: u16, guidprofile: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEnabledLanguageProfile)(windows_core::Interface::as_raw(self), rclsid, langid, guidprofile, &mut result__).map(|| result__) } pub unsafe fn EnableLanguageProfileByDefault(&self, rclsid: *const windows_core::GUID, langid: u16, guidprofile: *const windows_core::GUID, fenable: P0) -> windows_core::Result<()> @@ -3451,7 +3451,7 @@ pub struct ITfInputProcessorProfiles_Vtbl { pub SetDefaultLanguageProfile: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *const windows_core::GUID, *const windows_core::GUID) -> windows_core::HRESULT, pub ActivateLanguageProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID) -> windows_core::HRESULT, pub GetActiveLanguageProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u16, *mut windows_core::GUID) -> windows_core::HRESULT, - pub GetLanguageProfileDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetLanguageProfileDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetCurrentLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub ChangeCurrentLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, pub GetLanguageList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16, *mut u32) -> windows_core::HRESULT, @@ -3465,7 +3465,7 @@ windows_core::imp::define_interface!(ITfInputProcessorProfilesEx, ITfInputProces impl std::ops::Deref for ITfInputProcessorProfilesEx { type Target = ITfInputProcessorProfiles; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfInputProcessorProfilesEx, windows_core::IUnknown, ITfInputProcessorProfiles); @@ -3483,7 +3483,7 @@ windows_core::imp::define_interface!(ITfInputScope, ITfInputScope_Vtbl, 0xfde1ea impl std::ops::Deref for ITfInputScope { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfInputScope, windows_core::IUnknown); @@ -3495,15 +3495,15 @@ impl ITfInputScope { (windows_core::Interface::vtable(self).GetPhrase)(windows_core::Interface::as_raw(self), ppbstrphrases, pccount).ok() } pub unsafe fn GetRegularExpression(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRegularExpression)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSRGS(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSRGS)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetXML(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetXML)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3512,22 +3512,22 @@ pub struct ITfInputScope_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetInputScopes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut InputScope, *mut u32) -> windows_core::HRESULT, pub GetPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::BSTR, *mut u32) -> windows_core::HRESULT, - pub GetRegularExpression: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetSRGS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetRegularExpression: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetSRGS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfInputScope2, ITfInputScope2_Vtbl, 0x5731eaa0_6bc2_4681_a532_92fbb74d7c41); impl std::ops::Deref for ITfInputScope2 { type Target = ITfInputScope; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfInputScope2, windows_core::IUnknown, ITfInputScope); impl ITfInputScope2 { #[cfg(feature = "Win32_System_Com")] pub unsafe fn EnumWordList(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumWordList)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3543,13 +3543,13 @@ windows_core::imp::define_interface!(ITfInsertAtSelection, ITfInsertAtSelection_ impl std::ops::Deref for ITfInsertAtSelection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InsertTextAtSelection)(windows_core::Interface::as_raw(self), ec, dwflags, core::mem::transmute(pchtext.as_ptr()), pchtext.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -3557,7 +3557,7 @@ impl ITfInsertAtSelection { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InsertEmbeddedAtSelection)(windows_core::Interface::as_raw(self), ec, dwflags, pdataobject.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3574,7 +3574,7 @@ windows_core::imp::define_interface!(ITfIntegratableCandidateListUIElement, ITfI impl std::ops::Deref for ITfIntegratableCandidateListUIElement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfIntegratableCandidateListUIElement, windows_core::IUnknown); @@ -3583,7 +3583,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSelectionStyle)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OnKeyDown(&self, wparam: P0, lparam: P1) -> windows_core::Result @@ -3591,11 +3591,11 @@ impl ITfIntegratableCandidateListUIElement { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnKeyDown)(windows_core::Interface::as_raw(self), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn ShowCandidateNumbers(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowCandidateNumbers)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FinalizeExactCompositionString(&self) -> windows_core::Result<()> { @@ -3615,7 +3615,7 @@ windows_core::imp::define_interface!(ITfKeyEventSink, ITfKeyEventSink_Vtbl, 0xaa impl std::ops::Deref for ITfKeyEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfKeyEventSink, windows_core::IUnknown); @@ -3632,7 +3632,7 @@ impl ITfKeyEventSink { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnTestKeyDown)(windows_core::Interface::as_raw(self), pic.param().abi(), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnTestKeyUp(&self, pic: P0, wparam: P1, lparam: P2) -> windows_core::Result @@ -3641,7 +3641,7 @@ impl ITfKeyEventSink { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnTestKeyUp)(windows_core::Interface::as_raw(self), pic.param().abi(), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnKeyDown(&self, pic: P0, wparam: P1, lparam: P2) -> windows_core::Result @@ -3650,7 +3650,7 @@ impl ITfKeyEventSink { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnKeyDown)(windows_core::Interface::as_raw(self), pic.param().abi(), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnKeyUp(&self, pic: P0, wparam: P1, lparam: P2) -> windows_core::Result @@ -3659,14 +3659,14 @@ impl ITfKeyEventSink { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnKeyUp)(windows_core::Interface::as_raw(self), pic.param().abi(), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn OnPreservedKey(&self, pic: P0, rguid: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnPreservedKey)(windows_core::Interface::as_raw(self), pic.param().abi(), rguid, &mut result__).map(|| result__) } } @@ -3684,7 +3684,7 @@ windows_core::imp::define_interface!(ITfKeyTraceEventSink, ITfKeyTraceEventSink_ impl std::ops::Deref for ITfKeyTraceEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfKeyTraceEventSink, windows_core::IUnknown); @@ -3714,7 +3714,7 @@ windows_core::imp::define_interface!(ITfKeystrokeMgr, ITfKeystrokeMgr_Vtbl, 0xaa impl std::ops::Deref for ITfKeystrokeMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfKeystrokeMgr, windows_core::IUnknown); @@ -3730,7 +3730,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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetForeground)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn TestKeyDown(&self, wparam: P0, lparam: P1) -> windows_core::Result @@ -3738,7 +3738,7 @@ impl ITfKeystrokeMgr { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TestKeyDown)(windows_core::Interface::as_raw(self), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn TestKeyUp(&self, wparam: P0, lparam: P1) -> windows_core::Result @@ -3746,7 +3746,7 @@ impl ITfKeystrokeMgr { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).TestKeyUp)(windows_core::Interface::as_raw(self), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn KeyDown(&self, wparam: P0, lparam: P1) -> windows_core::Result @@ -3754,7 +3754,7 @@ impl ITfKeystrokeMgr { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeyDown)(windows_core::Interface::as_raw(self), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn KeyUp(&self, wparam: P0, lparam: P1) -> windows_core::Result @@ -3762,18 +3762,18 @@ impl ITfKeystrokeMgr { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).KeyUp)(windows_core::Interface::as_raw(self), wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetPreservedKey(&self, pic: P0, pprekey: *const TF_PRESERVEDKEY) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreservedKey)(windows_core::Interface::as_raw(self), pic.param().abi(), pprekey, &mut result__).map(|| result__) } pub unsafe fn IsPreservedKey(&self, rguid: *const windows_core::GUID, pprekey: *const TF_PRESERVEDKEY) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsPreservedKey)(windows_core::Interface::as_raw(self), rguid, pprekey, &mut result__).map(|| result__) } pub unsafe fn PreserveKey(&self, tid: u32, rguid: *const windows_core::GUID, prekey: *const TF_PRESERVEDKEY, pchdesc: &[u16]) -> windows_core::Result<()> { @@ -3786,14 +3786,14 @@ impl ITfKeystrokeMgr { (windows_core::Interface::vtable(self).SetPreservedKeyDescription)(windows_core::Interface::as_raw(self), rguid, core::mem::transmute(pchdesc.as_ptr()), pchdesc.len().try_into().unwrap()).ok() } pub unsafe fn GetPreservedKeyDescription(&self, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreservedKeyDescription)(windows_core::Interface::as_raw(self), rguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SimulatePreservedKey(&self, pic: P0, rguid: *const windows_core::GUID) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).SimulatePreservedKey)(windows_core::Interface::as_raw(self), pic.param().abi(), rguid, &mut result__).map(|| result__) } } @@ -3812,24 +3812,24 @@ pub struct ITfKeystrokeMgr_Vtbl { pub PreserveKey: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *const TF_PRESERVEDKEY, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub UnpreserveKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const TF_PRESERVEDKEY) -> windows_core::HRESULT, pub SetPreservedKeyDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR, u32) -> windows_core::HRESULT, - pub GetPreservedKeyDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPreservedKeyDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SimulatePreservedKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLMLattice, ITfLMLattice_Vtbl, 0xd4236675_a5bf_4570_9d42_5d6d7b02d59b); impl std::ops::Deref for ITfLMLattice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLMLattice, windows_core::IUnknown); impl ITfLMLattice { pub unsafe fn QueryType(&self, rguidtype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryType)(windows_core::Interface::as_raw(self), rguidtype, &mut result__).map(|| result__) } pub unsafe fn EnumLatticeElements(&self, dwframestart: u32, rguidtype: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumLatticeElements)(windows_core::Interface::as_raw(self), dwframestart, rguidtype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3843,7 +3843,7 @@ windows_core::imp::define_interface!(ITfLangBarEventSink, ITfLangBarEventSink_Vt impl std::ops::Deref for ITfLangBarEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLangBarEventSink, windows_core::IUnknown); @@ -3868,7 +3868,7 @@ impl ITfLangBarEventSink { (windows_core::Interface::vtable(self).ShowFloating)(windows_core::Interface::as_raw(self), dwflags).ok() } pub unsafe fn GetItemFloatingRect(&self, dwthreadid: u32, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemFloatingRect)(windows_core::Interface::as_raw(self), dwthreadid, rguid, &mut result__).map(|| result__) } } @@ -3886,7 +3886,7 @@ windows_core::imp::define_interface!(ITfLangBarItem, ITfLangBarItem_Vtbl, 0x7354 impl std::ops::Deref for ITfLangBarItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLangBarItem, windows_core::IUnknown); @@ -3895,7 +3895,7 @@ impl ITfLangBarItem { (windows_core::Interface::vtable(self).GetInfo)(windows_core::Interface::as_raw(self), pinfo).ok() } pub unsafe fn GetStatus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Show(&self, fshow: P0) -> windows_core::Result<()> @@ -3905,7 +3905,7 @@ impl ITfLangBarItem { (windows_core::Interface::vtable(self).Show)(windows_core::Interface::as_raw(self), fshow.param().abi()).ok() } pub unsafe fn GetTooltipString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTooltipString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3915,13 +3915,13 @@ pub struct ITfLangBarItem_Vtbl { pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TF_LANGBARITEMINFO) -> windows_core::HRESULT, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetTooltipString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTooltipString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarItemBalloon, ITfLangBarItemBalloon_Vtbl, 0x01c2d285_d3c7_4b7b_b5b5_d97411d0c283); impl std::ops::Deref for ITfLangBarItemBalloon { type Target = ITfLangBarItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLangBarItemBalloon, windows_core::IUnknown, ITfLangBarItem); @@ -3930,11 +3930,11 @@ impl ITfLangBarItemBalloon { (windows_core::Interface::vtable(self).OnClick)(windows_core::Interface::as_raw(self), click, core::mem::transmute(pt), prcarea).ok() } pub unsafe fn GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreferredSize)(windows_core::Interface::as_raw(self), pszdefault, &mut result__).map(|| result__) } pub unsafe fn GetBalloonInfo(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBalloonInfo)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3949,7 +3949,7 @@ windows_core::imp::define_interface!(ITfLangBarItemBitmap, ITfLangBarItemBitmap_ impl std::ops::Deref for ITfLangBarItemBitmap { type Target = ITfLangBarItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLangBarItemBitmap, windows_core::IUnknown, ITfLangBarItem); @@ -3958,7 +3958,7 @@ impl ITfLangBarItemBitmap { (windows_core::Interface::vtable(self).OnClick)(windows_core::Interface::as_raw(self), click, core::mem::transmute(pt), prcarea).ok() } pub unsafe fn GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreferredSize)(windows_core::Interface::as_raw(self), pszdefault, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -3980,7 +3980,7 @@ windows_core::imp::define_interface!(ITfLangBarItemBitmapButton, ITfLangBarItemB impl std::ops::Deref for ITfLangBarItemBitmapButton { type Target = ITfLangBarItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLangBarItemBitmapButton, windows_core::IUnknown, ITfLangBarItem); @@ -3998,7 +3998,7 @@ impl ITfLangBarItemBitmapButton { (windows_core::Interface::vtable(self).OnMenuSelect)(windows_core::Interface::as_raw(self), wid).ok() } pub unsafe fn GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPreferredSize)(windows_core::Interface::as_raw(self), pszdefault, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -4006,7 +4006,7 @@ impl ITfLangBarItemBitmapButton { (windows_core::Interface::vtable(self).DrawBitmap)(windows_core::Interface::as_raw(self), bmwidth, bmheight, dwflags, phbmp, phbmpmask).ok() } pub unsafe fn GetText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4021,13 +4021,13 @@ pub struct ITfLangBarItemBitmapButton_Vtbl { pub DrawBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, u32, *mut super::super::Graphics::Gdi::HBITMAP, *mut super::super::Graphics::Gdi::HBITMAP) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_Graphics_Gdi"))] DrawBitmap: usize, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarItemButton, ITfLangBarItemButton_Vtbl, 0x28c7f1d0_de25_11d2_afdd_00105a2799b5); impl std::ops::Deref for ITfLangBarItemButton { type Target = ITfLangBarItem; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLangBarItemButton, windows_core::IUnknown, ITfLangBarItem); @@ -4046,11 +4046,11 @@ impl ITfLangBarItemButton { } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe fn GetIcon(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIcon)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4064,23 +4064,23 @@ pub struct ITfLangBarItemButton_Vtbl { pub GetIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::WindowsAndMessaging::HICON) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] GetIcon: usize, - pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarItemMgr, ITfLangBarItemMgr_Vtbl, 0xba468c55_9956_4fb1_a59d_52a7dd7cc6aa); impl std::ops::Deref for ITfLangBarItemMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLangBarItemMgr, windows_core::IUnknown); impl ITfLangBarItemMgr { pub unsafe fn EnumItems(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumItems)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetItem(&self, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), rguid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddItem(&self, punk: P0) -> windows_core::Result<()> @@ -4105,14 +4105,14 @@ impl ITfLangBarItemMgr { (windows_core::Interface::vtable(self).UnadviseItemSink)(windows_core::Interface::as_raw(self), dwcookie).ok() } pub unsafe fn GetItemFloatingRect(&self, dwthreadid: u32, rguid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemFloatingRect)(windows_core::Interface::as_raw(self), dwthreadid, rguid, &mut result__).map(|| 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), ulcount, prgguid, pdwstatus).ok() } pub unsafe fn GetItemNum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemNum)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetItems(&self, ulcount: u32, ppitem: *mut Option, pinfo: *mut TF_LANGBARITEMINFO, pdwstatus: *mut u32, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -4145,7 +4145,7 @@ windows_core::imp::define_interface!(ITfLangBarItemSink, ITfLangBarItemSink_Vtbl impl std::ops::Deref for ITfLangBarItemSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLangBarItemSink, windows_core::IUnknown); @@ -4163,7 +4163,7 @@ windows_core::imp::define_interface!(ITfLangBarMgr, ITfLangBarMgr_Vtbl, 0x879556 impl std::ops::Deref for ITfLangBarMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLangBarMgr, windows_core::IUnknown); @@ -4179,7 +4179,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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetThreadMarshalInterface)(windows_core::Interface::as_raw(self), dwthreadid, dwtype, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetThreadLangBarItemMgr(&self, dwthreadid: u32, pplbi: *mut Option, pdwthreadid: *mut u32) -> windows_core::Result<()> { @@ -4204,7 +4204,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetShowFloatingStatus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4225,13 +4225,13 @@ windows_core::imp::define_interface!(ITfLanguageProfileNotifySink, ITfLanguagePr impl std::ops::Deref for ITfLanguageProfileNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfLanguageProfileNotifySink, windows_core::IUnknown); impl ITfLanguageProfileNotifySink { pub unsafe fn OnLanguageChange(&self, langid: u16) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnLanguageChange)(windows_core::Interface::as_raw(self), langid, &mut result__).map(|| result__) } pub unsafe fn OnLanguageChanged(&self) -> windows_core::Result<()> { @@ -4248,7 +4248,7 @@ windows_core::imp::define_interface!(ITfMSAAControl, ITfMSAAControl_Vtbl, 0xb5f8 impl std::ops::Deref for ITfMSAAControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfMSAAControl, windows_core::IUnknown); @@ -4270,7 +4270,7 @@ windows_core::imp::define_interface!(ITfMenu, ITfMenu_Vtbl, 0x6f8a98e4_aaa0_4f15 impl std::ops::Deref for ITfMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfMenu, windows_core::IUnknown); @@ -4296,7 +4296,7 @@ windows_core::imp::define_interface!(ITfMessagePump, ITfMessagePump_Vtbl, 0x8f1b impl std::ops::Deref for ITfMessagePump { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfMessagePump, windows_core::IUnknown); @@ -4354,13 +4354,13 @@ windows_core::imp::define_interface!(ITfMouseSink, ITfMouseSink_Vtbl, 0xa1adaaa2 impl std::ops::Deref for ITfMouseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfMouseSink, windows_core::IUnknown); impl ITfMouseSink { pub unsafe fn OnMouseEvent(&self, uedge: u32, uquadrant: u32, dwbtnstatus: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnMouseEvent)(windows_core::Interface::as_raw(self), uedge, uquadrant, dwbtnstatus, &mut result__).map(|| result__) } } @@ -4373,7 +4373,7 @@ windows_core::imp::define_interface!(ITfMouseTracker, ITfMouseTracker_Vtbl, 0x09 impl std::ops::Deref for ITfMouseTracker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfMouseTracker, windows_core::IUnknown); @@ -4383,7 +4383,7 @@ impl ITfMouseTracker { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdviseMouseSink)(windows_core::Interface::as_raw(self), range.param().abi(), psink.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnadviseMouseSink(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -4400,7 +4400,7 @@ windows_core::imp::define_interface!(ITfMouseTrackerACP, ITfMouseTrackerACP_Vtbl impl std::ops::Deref for ITfMouseTrackerACP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfMouseTrackerACP, windows_core::IUnknown); @@ -4410,7 +4410,7 @@ impl ITfMouseTrackerACP { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdviseMouseSink)(windows_core::Interface::as_raw(self), range.param().abi(), psink.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnadviseMouseSink(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -4427,14 +4427,14 @@ windows_core::imp::define_interface!(ITfPersistentPropertyLoaderACP, ITfPersiste impl std::ops::Deref for ITfPersistentPropertyLoaderACP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfPersistentPropertyLoaderACP, windows_core::IUnknown); impl ITfPersistentPropertyLoaderACP { #[cfg(feature = "Win32_System_Com")] pub unsafe fn LoadProperty(&self, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).LoadProperty)(windows_core::Interface::as_raw(self), phdr, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4450,7 +4450,7 @@ windows_core::imp::define_interface!(ITfPreservedKeyNotifySink, ITfPreservedKeyN impl std::ops::Deref for ITfPreservedKeyNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfPreservedKeyNotifySink, windows_core::IUnknown); @@ -4468,7 +4468,7 @@ windows_core::imp::define_interface!(ITfProperty, ITfProperty_Vtbl, 0xe2449660_9 impl std::ops::Deref for ITfProperty { type Target = ITfReadOnlyProperty; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfProperty, windows_core::IUnknown, ITfReadOnlyProperty); @@ -4504,42 +4504,42 @@ pub struct ITfProperty_Vtbl { pub base__: ITfReadOnlyProperty_Vtbl, pub FindRange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, TfAnchor) -> windows_core::HRESULT, pub SetValueStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfPropertyStore, ITfPropertyStore_Vtbl, 0x6834b120_88cb_11d2_bf45_00105a2799b5); impl std::ops::Deref for ITfPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfPropertyStore, windows_core::IUnknown); impl ITfPropertyStore { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDataType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDataType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetData(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnTextUpdated(&self, dwflags: u32, prangenew: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnTextUpdated)(windows_core::Interface::as_raw(self), dwflags, prangenew.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Shrink(&self, prangenew: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Shrink)(windows_core::Interface::as_raw(self), prangenew.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Divide(&self, prangethis: P0, prangenew: P1) -> windows_core::Result @@ -4547,15 +4547,15 @@ impl ITfPropertyStore { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Divide)(windows_core::Interface::as_raw(self), prangethis.param().abi(), prangenew.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Clone(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyRangeCreator(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPropertyRangeCreator)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -4563,7 +4563,7 @@ impl ITfPropertyStore { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Serialize)(windows_core::Interface::as_raw(self), pstream.param().abi(), &mut result__).map(|| result__) } } @@ -4572,7 +4572,7 @@ pub struct ITfPropertyStore_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetDataType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub OnTextUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Shrink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Divide: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, @@ -4587,14 +4587,14 @@ windows_core::imp::define_interface!(ITfQueryEmbedded, ITfQueryEmbedded_Vtbl, 0x impl std::ops::Deref for ITfQueryEmbedded { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfQueryEmbedded, windows_core::IUnknown); impl ITfQueryEmbedded { #[cfg(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).QueryInsertEmbedded)(windows_core::Interface::as_raw(self), pguidservice, pformatetc, &mut result__).map(|| result__) } } @@ -4610,7 +4610,7 @@ windows_core::imp::define_interface!(ITfRange, ITfRange_Vtbl, 0xaa80e7ff_2021_11 impl std::ops::Deref for ITfRange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfRange, windows_core::IUnknown); @@ -4623,11 +4623,11 @@ impl ITfRange { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn GetFormattedText(&self, ec: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormattedText)(windows_core::Interface::as_raw(self), ec, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetEmbedded(&self, ec: u32, rguidservice: *const windows_core::GUID, riid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetEmbedded)(windows_core::Interface::as_raw(self), ec, rguidservice, riid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -4656,15 +4656,15 @@ impl ITfRange { (windows_core::Interface::vtable(self).ShiftEndToRange)(windows_core::Interface::as_raw(self), ec, prange.param().abi(), apos).ok() } pub unsafe fn ShiftStartRegion(&self, ec: u32, dir: TfShiftDir) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShiftStartRegion)(windows_core::Interface::as_raw(self), ec, dir, &mut result__).map(|| result__) } pub unsafe fn ShiftEndRegion(&self, ec: u32, dir: TfShiftDir) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShiftEndRegion)(windows_core::Interface::as_raw(self), ec, dir, &mut result__).map(|| result__) } pub unsafe fn IsEmpty(&self, ec: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEmpty)(windows_core::Interface::as_raw(self), ec, &mut result__).map(|| result__) } pub unsafe fn Collapse(&self, ec: u32, apos: TfAnchor) -> windows_core::Result<()> { @@ -4674,32 +4674,32 @@ impl ITfRange { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqualStart)(windows_core::Interface::as_raw(self), ec, pwith.param().abi(), apos, &mut result__).map(|| result__) } pub unsafe fn IsEqualEnd(&self, ec: u32, pwith: P0, apos: TfAnchor) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEqualEnd)(windows_core::Interface::as_raw(self), ec, pwith.param().abi(), apos, &mut result__).map(|| result__) } pub unsafe fn CompareStart(&self, ec: u32, pwith: P0, apos: TfAnchor) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareStart)(windows_core::Interface::as_raw(self), ec, pwith.param().abi(), apos, &mut result__).map(|| result__) } pub unsafe fn CompareEnd(&self, ec: u32, pwith: P0, apos: TfAnchor) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CompareEnd)(windows_core::Interface::as_raw(self), ec, pwith.param().abi(), apos, &mut result__).map(|| result__) } pub unsafe fn AdjustForInsert(&self, ec: u32, cchinsert: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdjustForInsert)(windows_core::Interface::as_raw(self), ec, cchinsert, &mut result__).map(|| result__) } pub unsafe fn GetGravity(&self, pgstart: *mut TfGravity, pgend: *mut TfGravity) -> windows_core::Result<()> { @@ -4709,11 +4709,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4753,7 +4753,7 @@ windows_core::imp::define_interface!(ITfRangeACP, ITfRangeACP_Vtbl, 0x057a6296_0 impl std::ops::Deref for ITfRangeACP { type Target = ITfRange; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfRangeACP, windows_core::IUnknown, ITfRange); @@ -4775,7 +4775,7 @@ windows_core::imp::define_interface!(ITfRangeBackup, ITfRangeBackup_Vtbl, 0x463a impl std::ops::Deref for ITfRangeBackup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfRangeBackup, windows_core::IUnknown); @@ -4796,13 +4796,13 @@ windows_core::imp::define_interface!(ITfReadOnlyProperty, ITfReadOnlyProperty_Vt impl std::ops::Deref for ITfReadOnlyProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfReadOnlyProperty, windows_core::IUnknown); impl ITfReadOnlyProperty { pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnumRanges(&self, ec: u32, ppenum: *mut Option, ptargetrange: P0) -> windows_core::Result<()> @@ -4815,11 +4815,11 @@ impl ITfReadOnlyProperty { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetValue)(windows_core::Interface::as_raw(self), ec, prange.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4828,40 +4828,40 @@ pub struct ITfReadOnlyProperty_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub EnumRanges: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfReadingInformationUIElement, ITfReadingInformationUIElement_Vtbl, 0xea1ea139_19df_11d7_a6d2_00065b84435c); impl std::ops::Deref for ITfReadingInformationUIElement { type Target = ITfUIElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfReadingInformationUIElement, windows_core::IUnknown, ITfUIElement); impl ITfReadingInformationUIElement { pub unsafe fn GetUpdatedFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUpdatedFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMaxReadingStringLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetMaxReadingStringLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetErrorIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetErrorIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn IsVerticalOrderPreferred(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsVerticalOrderPreferred)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -4870,7 +4870,7 @@ pub struct ITfReadingInformationUIElement_Vtbl { pub base__: ITfUIElement_Vtbl, pub GetUpdatedFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetMaxReadingStringLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetErrorIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub IsVerticalOrderPreferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -4879,7 +4879,7 @@ windows_core::imp::define_interface!(ITfReverseConversion, ITfReverseConversion_ impl std::ops::Deref for ITfReverseConversion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfReverseConversion, windows_core::IUnknown); @@ -4888,7 +4888,7 @@ impl ITfReverseConversion { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DoReverseConversion)(windows_core::Interface::as_raw(self), lpstr.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4901,17 +4901,17 @@ windows_core::imp::define_interface!(ITfReverseConversionList, ITfReverseConvers impl std::ops::Deref for ITfReverseConversionList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfReverseConversionList, windows_core::IUnknown); impl ITfReverseConversionList { pub unsafe fn GetLength(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetLength)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetString(&self, uindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetString)(windows_core::Interface::as_raw(self), uindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4919,19 +4919,19 @@ impl ITfReverseConversionList { pub struct ITfReverseConversionList_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfReverseConversionMgr, ITfReverseConversionMgr_Vtbl, 0xb643c236_c493_41b6_abb3_692412775cc4); impl std::ops::Deref for ITfReverseConversionMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetReverseConversion)(windows_core::Interface::as_raw(self), langid, guidprofile, dwflag, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4944,7 +4944,7 @@ windows_core::imp::define_interface!(ITfSource, ITfSource_Vtbl, 0x4ea48a35_60ae_ impl std::ops::Deref for ITfSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfSource, windows_core::IUnknown); @@ -4953,7 +4953,7 @@ impl ITfSource { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AdviseSink)(windows_core::Interface::as_raw(self), riid, punk.param().abi(), &mut result__).map(|| result__) } pub unsafe fn UnadviseSink(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -4970,7 +4970,7 @@ windows_core::imp::define_interface!(ITfSourceSingle, ITfSourceSingle_Vtbl, 0x73 impl std::ops::Deref for ITfSourceSingle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfSourceSingle, windows_core::IUnknown); @@ -4995,7 +4995,7 @@ windows_core::imp::define_interface!(ITfSpeechUIServer, ITfSpeechUIServer_Vtbl, impl std::ops::Deref for ITfSpeechUIServer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfSpeechUIServer, windows_core::IUnknown); @@ -5024,7 +5024,7 @@ windows_core::imp::define_interface!(ITfStatusSink, ITfStatusSink_Vtbl, 0x6b7d8d impl std::ops::Deref for ITfStatusSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfStatusSink, windows_core::IUnknown); @@ -5045,7 +5045,7 @@ windows_core::imp::define_interface!(ITfSystemDeviceTypeLangBarItem, ITfSystemDe impl std::ops::Deref for ITfSystemDeviceTypeLangBarItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfSystemDeviceTypeLangBarItem, windows_core::IUnknown); @@ -5054,7 +5054,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIconMode)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5068,7 +5068,7 @@ windows_core::imp::define_interface!(ITfSystemLangBarItem, ITfSystemLangBarItem_ impl std::ops::Deref for ITfSystemLangBarItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfSystemLangBarItem, windows_core::IUnknown); @@ -5097,7 +5097,7 @@ windows_core::imp::define_interface!(ITfSystemLangBarItemSink, ITfSystemLangBarI impl std::ops::Deref for ITfSystemLangBarItemSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfSystemLangBarItemSink, windows_core::IUnknown); @@ -5122,7 +5122,7 @@ windows_core::imp::define_interface!(ITfSystemLangBarItemText, ITfSystemLangBarI impl std::ops::Deref for ITfSystemLangBarItemText { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfSystemLangBarItemText, windows_core::IUnknown); @@ -5131,7 +5131,7 @@ impl ITfSystemLangBarItemText { (windows_core::Interface::vtable(self).SetItemText)(windows_core::Interface::as_raw(self), core::mem::transmute(pch.as_ptr()), pch.len().try_into().unwrap()).ok() } pub unsafe fn GetItemText(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetItemText)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5139,13 +5139,13 @@ impl ITfSystemLangBarItemText { pub struct ITfSystemLangBarItemText_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetItemText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, - pub GetItemText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetItemText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfTextEditSink, ITfTextEditSink_Vtbl, 0x8127d409_ccd3_4683_967a_b43d5b482bf7); impl std::ops::Deref for ITfTextEditSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfTextEditSink, windows_core::IUnknown); @@ -5167,7 +5167,7 @@ windows_core::imp::define_interface!(ITfTextInputProcessor, ITfTextInputProcesso impl std::ops::Deref for ITfTextInputProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfTextInputProcessor, windows_core::IUnknown); @@ -5192,7 +5192,7 @@ windows_core::imp::define_interface!(ITfTextInputProcessorEx, ITfTextInputProces impl std::ops::Deref for ITfTextInputProcessorEx { type Target = ITfTextInputProcessor; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfTextInputProcessorEx, windows_core::IUnknown, ITfTextInputProcessor); @@ -5213,7 +5213,7 @@ windows_core::imp::define_interface!(ITfTextLayoutSink, ITfTextLayoutSink_Vtbl, impl std::ops::Deref for ITfTextLayoutSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfTextLayoutSink, windows_core::IUnknown); @@ -5235,7 +5235,7 @@ windows_core::imp::define_interface!(ITfThreadFocusSink, ITfThreadFocusSink_Vtbl impl std::ops::Deref for ITfThreadFocusSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfThreadFocusSink, windows_core::IUnknown); @@ -5257,28 +5257,28 @@ windows_core::imp::define_interface!(ITfThreadMgr, ITfThreadMgr_Vtbl, 0xaa80e801 impl std::ops::Deref for ITfThreadMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfThreadMgr, windows_core::IUnknown); impl ITfThreadMgr { pub unsafe fn Activate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Activate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDocumentMgr)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumDocumentMgrs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDocumentMgrs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFocus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFocus(&self, pdimfocus: P0) -> windows_core::Result<()> @@ -5292,23 +5292,23 @@ impl ITfThreadMgr { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AssociateFocus)(windows_core::Interface::as_raw(self), hwnd.param().abi(), pdimnew.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsThreadFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsThreadFocus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFunctionProvider(&self, clsid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionProvider)(windows_core::Interface::as_raw(self), clsid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumFunctionProviders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFunctionProviders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetGlobalCompartment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlobalCompartment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5331,28 +5331,28 @@ windows_core::imp::define_interface!(ITfThreadMgr2, ITfThreadMgr2_Vtbl, 0x0ab198 impl std::ops::Deref for ITfThreadMgr2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfThreadMgr2, windows_core::IUnknown); impl ITfThreadMgr2 { pub unsafe fn Activate(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Activate)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateDocumentMgr)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumDocumentMgrs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumDocumentMgrs)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFocus)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFocus(&self, pdimfocus: P0) -> windows_core::Result<()> @@ -5362,26 +5362,26 @@ impl ITfThreadMgr2 { (windows_core::Interface::vtable(self).SetFocus)(windows_core::Interface::as_raw(self), pdimfocus.param().abi()).ok() } pub unsafe fn IsThreadFocus(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsThreadFocus)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFunctionProvider(&self, clsid: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFunctionProvider)(windows_core::Interface::as_raw(self), clsid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumFunctionProviders(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFunctionProviders)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetGlobalCompartment(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGlobalCompartment)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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), ptid, dwflags).ok() } pub unsafe fn GetActiveFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SuspendKeystrokeHandling(&self) -> windows_core::Result<()> { @@ -5413,7 +5413,7 @@ windows_core::imp::define_interface!(ITfThreadMgrEventSink, ITfThreadMgrEventSin impl std::ops::Deref for ITfThreadMgrEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfThreadMgrEventSink, windows_core::IUnknown); @@ -5463,7 +5463,7 @@ windows_core::imp::define_interface!(ITfThreadMgrEx, ITfThreadMgrEx_Vtbl, 0x3e90 impl std::ops::Deref for ITfThreadMgrEx { type Target = ITfThreadMgr; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfThreadMgrEx, windows_core::IUnknown, ITfThreadMgr); @@ -5472,7 +5472,7 @@ impl ITfThreadMgrEx { (windows_core::Interface::vtable(self).ActivateEx)(windows_core::Interface::as_raw(self), ptid, dwflags).ok() } pub unsafe fn GetActiveFlags(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActiveFlags)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -5486,26 +5486,26 @@ windows_core::imp::define_interface!(ITfToolTipUIElement, ITfToolTipUIElement_Vt impl std::ops::Deref for ITfToolTipUIElement { type Target = ITfUIElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfToolTipUIElement, windows_core::IUnknown, ITfUIElement); impl ITfToolTipUIElement { pub unsafe fn GetString(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetString)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ITfToolTipUIElement_Vtbl { pub base__: ITfUIElement_Vtbl, - pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfTransitoryExtensionSink, ITfTransitoryExtensionSink_Vtbl, 0xa615096f_1c57_4813_8a15_55ee6e5a839c); impl std::ops::Deref for ITfTransitoryExtensionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfTransitoryExtensionSink, windows_core::IUnknown); @@ -5516,7 +5516,7 @@ impl ITfTransitoryExtensionSink { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnTransitoryExtensionUpdated)(windows_core::Interface::as_raw(self), pic.param().abi(), ecreadonly, presultrange.param().abi(), pcompositionrange.param().abi(), &mut result__).map(|| result__) } } @@ -5529,13 +5529,13 @@ windows_core::imp::define_interface!(ITfTransitoryExtensionUIElement, ITfTransit impl std::ops::Deref for ITfTransitoryExtensionUIElement { type Target = ITfUIElement; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfTransitoryExtensionUIElement, windows_core::IUnknown, ITfUIElement); impl ITfTransitoryExtensionUIElement { pub unsafe fn GetDocumentMgr(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDocumentMgr)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5548,17 +5548,17 @@ windows_core::imp::define_interface!(ITfUIElement, ITfUIElement_Vtbl, 0xea1ea137 impl std::ops::Deref for ITfUIElement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfUIElement, windows_core::IUnknown); impl ITfUIElement { pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetGUID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetGUID)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Show(&self, bshow: P0) -> windows_core::Result<()> @@ -5568,14 +5568,14 @@ impl ITfUIElement { (windows_core::Interface::vtable(self).Show)(windows_core::Interface::as_raw(self), bshow.param().abi()).ok() } pub unsafe fn IsShown(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsShown)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct ITfUIElement_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetGUID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsShown: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, @@ -5584,7 +5584,7 @@ windows_core::imp::define_interface!(ITfUIElementMgr, ITfUIElementMgr_Vtbl, 0xea impl std::ops::Deref for ITfUIElementMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfUIElementMgr, windows_core::IUnknown); @@ -5602,11 +5602,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUIElement)(windows_core::Interface::as_raw(self), dwuielementid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumUIElements(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumUIElements)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5623,7 +5623,7 @@ windows_core::imp::define_interface!(ITfUIElementSink, ITfUIElementSink_Vtbl, 0x impl std::ops::Deref for ITfUIElementSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITfUIElementSink, windows_core::IUnknown); @@ -5649,7 +5649,7 @@ windows_core::imp::define_interface!(IUIManagerEventSink, IUIManagerEventSink_Vt impl std::ops::Deref for IUIManagerEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUIManagerEventSink, windows_core::IUnknown); @@ -5687,28 +5687,28 @@ windows_core::imp::define_interface!(IVersionInfo, IVersionInfo_Vtbl, 0x401518ec impl std::ops::Deref for IVersionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IVersionInfo, windows_core::IUnknown); impl IVersionInfo { pub unsafe fn GetSubcomponentCount(&self, ulsub: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSubcomponentCount)(windows_core::Interface::as_raw(self), ulsub, &mut result__).map(|| result__) } pub unsafe fn GetImplementationID(&self, ulsub: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetImplementationID)(windows_core::Interface::as_raw(self), ulsub, &mut result__).map(|| result__) } pub unsafe fn GetBuildVersion(&self, ulsub: u32, pdwmajor: *mut u32, pdwminor: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetBuildVersion)(windows_core::Interface::as_raw(self), ulsub, pdwmajor, pdwminor).ok() } pub unsafe fn GetComponentDescription(&self, ulsub: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetComponentDescription)(windows_core::Interface::as_raw(self), ulsub, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInstanceDescription(&self, ulsub: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstanceDescription)(windows_core::Interface::as_raw(self), ulsub, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5718,8 +5718,8 @@ pub struct IVersionInfo_Vtbl { pub GetSubcomponentCount: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetImplementationID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetBuildVersion: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, - pub GetComponentDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetInstanceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetComponentDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetInstanceDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } pub const CAND_CANCELED: TfCandidateResult = TfCandidateResult(2i32); pub const CAND_FINALIZED: TfCandidateResult = TfCandidateResult(0i32); @@ -6859,7 +6859,7 @@ impl Default for TF_DISPLAYATTRIBUTE { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct TF_HALTCOND { - pub pHaltRange: std::mem::ManuallyDrop>, + pub pHaltRange: core::mem::ManuallyDrop>, pub aHaltPos: TfAnchor, pub dwFlags: u32, } @@ -6935,7 +6935,7 @@ impl Default for TF_LANGUAGEPROFILE { #[derive(Debug, Eq, PartialEq)] pub struct TF_LBBALLOONINFO { pub style: TfLBBalloonStyle, - pub bstrText: std::mem::ManuallyDrop, + pub bstrText: core::mem::ManuallyDrop, } impl Clone for TF_LBBALLOONINFO { fn clone(&self) -> Self { @@ -6956,7 +6956,7 @@ pub struct TF_LMLATTELEMENT { pub dwFrameLen: u32, pub dwFlags: u32, pub Anonymous: TF_LMLATTELEMENT_0, - pub bstrText: std::mem::ManuallyDrop, + pub bstrText: core::mem::ManuallyDrop, } impl Clone for TF_LMLATTELEMENT { fn clone(&self) -> Self { @@ -7020,7 +7020,7 @@ impl Default for TF_PRESERVEDKEY { #[derive(Debug, Eq, PartialEq)] pub struct TF_PROPERTYVAL { pub guidId: windows_core::GUID, - pub varValue: std::mem::ManuallyDrop, + pub varValue: core::mem::ManuallyDrop, } impl Clone for TF_PROPERTYVAL { fn clone(&self) -> Self { @@ -7038,7 +7038,7 @@ impl Default for TF_PROPERTYVAL { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct TF_SELECTION { - pub range: std::mem::ManuallyDrop>, + pub range: core::mem::ManuallyDrop>, pub style: TF_SELECTIONSTYLE, } impl Clone for TF_SELECTION { @@ -7073,7 +7073,7 @@ impl Default for TF_SELECTIONSTYLE { pub struct TS_ATTRVAL { pub idAttr: windows_core::GUID, pub dwOverlapId: u32, - pub varValue: std::mem::ManuallyDrop, + pub varValue: core::mem::ManuallyDrop, } impl Clone for TS_ATTRVAL { fn clone(&self) -> Self { @@ -7134,8 +7134,8 @@ impl Default for TS_SELECTION_ACP { #[repr(C)] #[derive(Debug, Eq, PartialEq)] pub struct TS_SELECTION_ANCHOR { - pub paStart: std::mem::ManuallyDrop>, - pub paEnd: std::mem::ManuallyDrop>, + pub paStart: core::mem::ManuallyDrop>, + pub paEnd: core::mem::ManuallyDrop>, pub style: TS_SELECTIONSTYLE, } impl Clone for TS_SELECTION_ANCHOR { 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 8bb06a6f1f..edb22e7e01 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -2272,7 +2272,7 @@ where P0: windows_core::Param, { windows_targets::link!("mrmsupport.dll" "system" fn MrmGetPriFileContentChecksum(prifile : windows_core::PCWSTR, checksum : *mut u32) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); MrmGetPriFileContentChecksum(prifile.param().abi(), &mut result__).map(|| result__) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs index 179649e1ab..fde06eda5a 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs @@ -262,7 +262,7 @@ pub trait IMILBitmapEffectEvents_Impl: Sized { impl windows_core::RuntimeName for IMILBitmapEffectEvents {} impl IMILBitmapEffectEvents_Vtbl { pub const fn new, Impl: IMILBitmapEffectEvents_Impl, const OFFSET: isize>() -> IMILBitmapEffectEvents_Vtbl { - unsafe extern "system" fn PropertyChange, Impl: IMILBitmapEffectEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peffect: *mut core::ffi::c_void, bstrpropertyname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn PropertyChange, Impl: IMILBitmapEffectEvents_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, peffect: *mut core::ffi::c_void, bstrpropertyname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IMILBitmapEffectEvents_Impl::PropertyChange(this, windows_core::from_raw_borrowed(&peffect), core::mem::transmute(&bstrpropertyname)).into() 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 3d1e2aa4c6..28095abfbc 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs @@ -2,7 +2,7 @@ windows_core::imp::define_interface!(IMILBitmapEffect, IMILBitmapEffect_Vtbl, 0x impl std::ops::Deref for IMILBitmapEffect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffect, windows_core::IUnknown); @@ -12,11 +12,11 @@ impl IMILBitmapEffect { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutput)(windows_core::Interface::as_raw(self), uiindex, pcontext.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParentEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Imaging")] @@ -44,17 +44,17 @@ windows_core::imp::define_interface!(IMILBitmapEffectConnections, IMILBitmapEffe impl std::ops::Deref for IMILBitmapEffectConnections { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnections, windows_core::IUnknown); impl IMILBitmapEffectConnections { pub unsafe fn GetInputConnector(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputConnector)(windows_core::Interface::as_raw(self), uiindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputConnector(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputConnector)(windows_core::Interface::as_raw(self), uiindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -68,25 +68,25 @@ windows_core::imp::define_interface!(IMILBitmapEffectConnectionsInfo, IMILBitmap impl std::ops::Deref for IMILBitmapEffectConnectionsInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnectionsInfo, windows_core::IUnknown); impl IMILBitmapEffectConnectionsInfo { pub unsafe fn GetNumberInputs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberInputs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberOutputs(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberOutputs)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetInputConnectorInfo(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputConnectorInfo)(windows_core::Interface::as_raw(self), uiindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetOutputConnectorInfo(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputConnectorInfo)(windows_core::Interface::as_raw(self), uiindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -102,17 +102,17 @@ windows_core::imp::define_interface!(IMILBitmapEffectConnector, IMILBitmapEffect impl std::ops::Deref for IMILBitmapEffectConnector { type Target = IMILBitmapEffectConnectorInfo; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnector, windows_core::IUnknown, IMILBitmapEffectConnectorInfo); impl IMILBitmapEffectConnector { pub unsafe fn IsConnected(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsConnected)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBitmapEffect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBitmapEffect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -126,25 +126,25 @@ windows_core::imp::define_interface!(IMILBitmapEffectConnectorInfo, IMILBitmapEf impl std::ops::Deref for IMILBitmapEffectConnectorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnectorInfo, windows_core::IUnknown); impl IMILBitmapEffectConnectorInfo { pub unsafe fn GetIndex(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIndex)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetOptimalFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOptimalFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetNumberFormats(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberFormats)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetFormat(&self, ulindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFormat)(windows_core::Interface::as_raw(self), ulindex, &mut result__).map(|| result__) } } @@ -160,7 +160,7 @@ windows_core::imp::define_interface!(IMILBitmapEffectEvents, IMILBitmapEffectEve impl std::ops::Deref for IMILBitmapEffectEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectEvents, windows_core::IUnknown); @@ -182,28 +182,28 @@ impl IMILBitmapEffectEvents { #[repr(C)] pub struct IMILBitmapEffectEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub PropertyChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub PropertyChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, pub DirtyRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const MilRectD) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectFactory, IMILBitmapEffectFactory_Vtbl, 0x33a9df34_a403_4ec7_b07e_bc0682370845); impl std::ops::Deref for IMILBitmapEffectFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectFactory, windows_core::IUnknown); impl IMILBitmapEffectFactory { pub unsafe fn CreateEffect(&self, pguideffect: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEffect)(windows_core::Interface::as_raw(self), pguideffect, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateContext(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateContext)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateEffectOuter(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateEffectOuter)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -218,17 +218,17 @@ windows_core::imp::define_interface!(IMILBitmapEffectGroup, IMILBitmapEffectGrou impl std::ops::Deref for IMILBitmapEffectGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectGroup, windows_core::IUnknown); impl IMILBitmapEffectGroup { pub unsafe fn GetInteriorInputConnector(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInteriorInputConnector)(windows_core::Interface::as_raw(self), uiindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInteriorOutputConnector(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInteriorOutputConnector)(windows_core::Interface::as_raw(self), uiindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Add(&self, peffect: P0) -> windows_core::Result<()> @@ -249,7 +249,7 @@ windows_core::imp::define_interface!(IMILBitmapEffectGroupImpl, IMILBitmapEffect impl std::ops::Deref for IMILBitmapEffectGroupImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectGroupImpl, windows_core::IUnknown); @@ -261,11 +261,11 @@ impl IMILBitmapEffectGroupImpl { (windows_core::Interface::vtable(self).Preprocess)(windows_core::Interface::as_raw(self), pcontext.param().abi()).ok() } pub unsafe fn GetNumberChildren(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberChildren)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetChildren(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetChildren)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -280,7 +280,7 @@ windows_core::imp::define_interface!(IMILBitmapEffectImpl, IMILBitmapEffectImpl_ impl std::ops::Deref for IMILBitmapEffectImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectImpl, windows_core::IUnknown); @@ -289,7 +289,7 @@ impl IMILBitmapEffectImpl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsInPlaceModificationAllowed)(windows_core::Interface::as_raw(self), poutputconnector.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetParentEffect(&self, pparenteffect: P0) -> windows_core::Result<()> @@ -300,7 +300,7 @@ impl IMILBitmapEffectImpl { } #[cfg(feature = "Win32_Graphics_Imaging")] pub unsafe fn GetInputSource(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputSource)(windows_core::Interface::as_raw(self), uiindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInputSourceBounds(&self, uiindex: u32, prect: *mut MilRectD) -> windows_core::Result<()> { @@ -311,7 +311,7 @@ impl IMILBitmapEffectImpl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputBitmapSource)(windows_core::Interface::as_raw(self), uiindex, prendercontext.param().abi(), pfmodifyinplace, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Imaging")] @@ -319,7 +319,7 @@ impl IMILBitmapEffectImpl { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputBitmapSource)(windows_core::Interface::as_raw(self), uiindex, prendercontext.param().abi(), pfmodifyinplace, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Initialize(&self, pinner: P0) -> windows_core::Result<()> @@ -353,7 +353,7 @@ windows_core::imp::define_interface!(IMILBitmapEffectInputConnector, IMILBitmapE impl std::ops::Deref for IMILBitmapEffectInputConnector { type Target = IMILBitmapEffectConnector; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectInputConnector, windows_core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); @@ -365,7 +365,7 @@ impl IMILBitmapEffectInputConnector { (windows_core::Interface::vtable(self).ConnectTo)(windows_core::Interface::as_raw(self), pconnector.param().abi()).ok() } pub unsafe fn GetConnection(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnection)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -379,13 +379,13 @@ windows_core::imp::define_interface!(IMILBitmapEffectInteriorInputConnector, IMI impl std::ops::Deref for IMILBitmapEffectInteriorInputConnector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectInteriorInputConnector, windows_core::IUnknown); impl IMILBitmapEffectInteriorInputConnector { pub unsafe fn GetInputConnector(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInputConnector)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -398,13 +398,13 @@ windows_core::imp::define_interface!(IMILBitmapEffectInteriorOutputConnector, IM impl std::ops::Deref for IMILBitmapEffectInteriorOutputConnector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectInteriorOutputConnector, windows_core::IUnknown); impl IMILBitmapEffectInteriorOutputConnector { pub unsafe fn GetOutputConnector(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputConnector)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -417,17 +417,17 @@ windows_core::imp::define_interface!(IMILBitmapEffectOutputConnector, IMILBitmap impl std::ops::Deref for IMILBitmapEffectOutputConnector { type Target = IMILBitmapEffectConnector; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectOutputConnector, windows_core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); impl IMILBitmapEffectOutputConnector { pub unsafe fn GetNumberConnections(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNumberConnections)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetConnection(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetConnection)(windows_core::Interface::as_raw(self), uiindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -441,7 +441,7 @@ windows_core::imp::define_interface!(IMILBitmapEffectOutputConnectorImpl, IMILBi impl std::ops::Deref for IMILBitmapEffectOutputConnectorImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectOutputConnectorImpl, windows_core::IUnknown); @@ -469,7 +469,7 @@ windows_core::imp::define_interface!(IMILBitmapEffectPrimitive, IMILBitmapEffect impl std::ops::Deref for IMILBitmapEffectPrimitive { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectPrimitive, windows_core::IUnknown); @@ -479,7 +479,7 @@ impl IMILBitmapEffectPrimitive { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutput)(windows_core::Interface::as_raw(self), uiindex, pcontext.param().abi(), pfmodifyinplace, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TransformPoint(&self, uiindex: u32, p: *mut MilPoint2D, fforwardtransform: P0, pcontext: P1, pfpointtransformed: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> @@ -497,11 +497,11 @@ impl IMILBitmapEffectPrimitive { (windows_core::Interface::vtable(self).TransformRect)(windows_core::Interface::as_raw(self), uiindex, p, fforwardtransform.param().abi(), pcontext.param().abi()).ok() } pub unsafe fn HasAffineTransform(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasAffineTransform)(windows_core::Interface::as_raw(self), uiindex, &mut result__).map(|| result__) } pub unsafe fn HasInverseTransform(&self, uiindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasInverseTransform)(windows_core::Interface::as_raw(self), uiindex, &mut result__).map(|| result__) } #[cfg(feature = "Win32_Graphics_Dwm")] @@ -529,7 +529,7 @@ windows_core::imp::define_interface!(IMILBitmapEffectPrimitiveImpl, IMILBitmapEf impl std::ops::Deref for IMILBitmapEffectPrimitiveImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectPrimitiveImpl, windows_core::IUnknown); @@ -538,7 +538,7 @@ impl IMILBitmapEffectPrimitiveImpl { (windows_core::Interface::vtable(self).IsDirty)(windows_core::Interface::as_raw(self), uioutputindex, pfdirty) } pub unsafe fn IsVolatile(&self, uioutputindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsVolatile)(windows_core::Interface::as_raw(self), uioutputindex, &mut result__).map(|| result__) } } @@ -552,7 +552,7 @@ windows_core::imp::define_interface!(IMILBitmapEffectRenderContext, IMILBitmapEf impl std::ops::Deref for IMILBitmapEffectRenderContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectRenderContext, windows_core::IUnknown); @@ -561,7 +561,7 @@ impl IMILBitmapEffectRenderContext { (windows_core::Interface::vtable(self).SetOutputPixelFormat)(windows_core::Interface::as_raw(self), format).ok() } pub unsafe fn GetOutputPixelFormat(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetOutputPixelFormat)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetUseSoftwareRenderer(&self, fsoftware: P0) -> windows_core::Result<()> @@ -602,13 +602,13 @@ windows_core::imp::define_interface!(IMILBitmapEffectRenderContextImpl, IMILBitm impl std::ops::Deref for IMILBitmapEffectRenderContextImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffectRenderContextImpl, windows_core::IUnknown); impl IMILBitmapEffectRenderContextImpl { pub unsafe fn GetUseSoftwareRenderer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUseSoftwareRenderer)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetTransform(&self, pmatrix: *mut MILMatrixF) -> windows_core::Result<()> { @@ -637,25 +637,25 @@ windows_core::imp::define_interface!(IMILBitmapEffects, IMILBitmapEffects_Vtbl, impl std::ops::Deref for IMILBitmapEffects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMILBitmapEffects, windows_core::IUnknown); impl IMILBitmapEffects { pub unsafe fn _NewEnum(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self)._NewEnum)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Parent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Item(&self, uindex: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), uindex, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs index bd756edfb5..0082d5ed47 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs @@ -222,7 +222,7 @@ impl windows_core::RuntimeName for IDownloadBehavior {} #[cfg(feature = "Win32_System_Com")] impl IDownloadBehavior_Vtbl { pub const fn new, Impl: IDownloadBehavior_Impl, const OFFSET: isize>() -> IDownloadBehavior_Vtbl { - unsafe extern "system" fn startDownload, Impl: IDownloadBehavior_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, pdispcallback: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn startDownload, Impl: IDownloadBehavior_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, pdispcallback: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IDownloadBehavior_Impl::startDownload(this, core::mem::transmute(&bstrurl), windows_core::from_raw_borrowed(&pdispcallback)).into() @@ -536,7 +536,7 @@ impl IHTMLPersistDataOM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn getAttribute, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getAttribute, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHTMLPersistDataOM_Impl::getAttribute(this, core::mem::transmute(&name)) { @@ -547,12 +547,12 @@ impl IHTMLPersistDataOM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setAttribute, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setAttribute, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHTMLPersistDataOM_Impl::setAttribute(this, core::mem::transmute(&name), core::mem::transmute(&value)).into() } - unsafe extern "system" fn removeAttribute, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn removeAttribute, Impl: IHTMLPersistDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHTMLPersistDataOM_Impl::removeAttribute(this, core::mem::transmute(&name)).into() @@ -596,17 +596,17 @@ impl IHTMLUserDataOM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn save, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn save, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHTMLUserDataOM_Impl::save(this, core::mem::transmute(&strname)).into() } - unsafe extern "system" fn load, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn load, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, strname: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHTMLUserDataOM_Impl::load(this, core::mem::transmute(&strname)).into() } - unsafe extern "system" fn getAttribute, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, pvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn getAttribute, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, pvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHTMLUserDataOM_Impl::getAttribute(this, core::mem::transmute(&name)) { @@ -617,22 +617,22 @@ impl IHTMLUserDataOM_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn setAttribute, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit, value: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setAttribute, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit, value: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHTMLUserDataOM_Impl::setAttribute(this, core::mem::transmute(&name), core::mem::transmute(&value)).into() } - unsafe extern "system" fn removeAttribute, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn removeAttribute, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, name: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHTMLUserDataOM_Impl::removeAttribute(this, core::mem::transmute(&name)).into() } - unsafe extern "system" fn Setexpires, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setexpires, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstr: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHTMLUserDataOM_Impl::Setexpires(this, core::mem::transmute(&bstr)).into() } - unsafe extern "system" fn expires, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn expires, Impl: IHTMLUserDataOM_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstr: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHTMLUserDataOM_Impl::expires(this) { @@ -689,7 +689,7 @@ impl windows_core::RuntimeName for IHeaderFooter {} #[cfg(feature = "Win32_System_Com")] impl IHeaderFooter_Vtbl { pub const fn new, Impl: IHeaderFooter_Impl, const OFFSET: isize>() -> IHeaderFooter_Vtbl { - unsafe extern "system" fn htmlHead, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn htmlHead, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::htmlHead(this) { @@ -700,7 +700,7 @@ impl IHeaderFooter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn htmlFoot, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn htmlFoot, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::htmlFoot(this) { @@ -711,12 +711,12 @@ impl IHeaderFooter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SettextHead, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SettextHead, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHeaderFooter_Impl::SettextHead(this, core::mem::transmute(&v)).into() } - unsafe extern "system" fn textHead, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn textHead, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::textHead(this) { @@ -727,12 +727,12 @@ impl IHeaderFooter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SettextFoot, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SettextFoot, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHeaderFooter_Impl::SettextFoot(this, core::mem::transmute(&v)).into() } - unsafe extern "system" fn textFoot, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn textFoot, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::textFoot(this) { @@ -775,12 +775,12 @@ impl IHeaderFooter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetURL, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetURL, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHeaderFooter_Impl::SetURL(this, core::mem::transmute(&v)).into() } - unsafe extern "system" fn URL, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn URL, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::URL(this) { @@ -791,12 +791,12 @@ impl IHeaderFooter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn Settitle, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Settitle, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHeaderFooter_Impl::Settitle(this, core::mem::transmute(&v)).into() } - unsafe extern "system" fn title, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn title, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::title(this) { @@ -807,12 +807,12 @@ impl IHeaderFooter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetdateShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetdateShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHeaderFooter_Impl::SetdateShort(this, core::mem::transmute(&v)).into() } - unsafe extern "system" fn dateShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn dateShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::dateShort(this) { @@ -823,12 +823,12 @@ impl IHeaderFooter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetdateLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetdateLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHeaderFooter_Impl::SetdateLong(this, core::mem::transmute(&v)).into() } - unsafe extern "system" fn dateLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn dateLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::dateLong(this) { @@ -839,12 +839,12 @@ impl IHeaderFooter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SettimeShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SettimeShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHeaderFooter_Impl::SettimeShort(this, core::mem::transmute(&v)).into() } - unsafe extern "system" fn timeShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn timeShort, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::timeShort(this) { @@ -855,12 +855,12 @@ impl IHeaderFooter_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SettimeLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SettimeLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHeaderFooter_Impl::SettimeLong(this, core::mem::transmute(&v)).into() } - unsafe extern "system" fn timeLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn timeLong, Impl: IHeaderFooter_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter_Impl::timeLong(this) { @@ -911,12 +911,12 @@ impl windows_core::RuntimeName for IHeaderFooter2 {} #[cfg(feature = "Win32_System_Com")] impl IHeaderFooter2_Vtbl { pub const fn new, Impl: IHeaderFooter2_Impl, const OFFSET: isize>() -> IHeaderFooter2_Vtbl { - unsafe extern "system" fn Setfont, Impl: IHeaderFooter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn Setfont, Impl: IHeaderFooter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, v: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHeaderFooter2_Impl::Setfont(this, core::mem::transmute(&v)).into() } - unsafe extern "system" fn font, Impl: IHeaderFooter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn font, Impl: IHeaderFooter2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, p: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHeaderFooter2_Impl::font(this) { @@ -949,12 +949,12 @@ impl IHomePage_Vtbl { let this = (*this).get_impl(); IHomePage_Impl::navigateHomePage(this).into() } - unsafe extern "system" fn setHomePage, Impl: IHomePage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn setHomePage, Impl: IHomePage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); IHomePage_Impl::setHomePage(this, core::mem::transmute(&bstrurl)).into() } - unsafe extern "system" fn isHomePage, Impl: IHomePage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, p: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { + unsafe extern "system" fn isHomePage, Impl: IHomePage_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, p: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IHomePage_Impl::isHomePage(this, core::mem::transmute(&bstrurl)) { @@ -1063,7 +1063,7 @@ impl IIEWebDriverSite_Vtbl { let this = (*this).get_impl(); IIEWebDriverSite_Impl::DetachWebdriver(this, windows_core::from_raw_borrowed(&punkwd)).into() } - unsafe extern "system" fn GetCapabilityValue, Impl: IIEWebDriverSite_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punkwd: *mut core::ffi::c_void, capname: windows_core::PCWSTR, capvalue: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCapabilityValue, Impl: IIEWebDriverSite_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, punkwd: *mut core::ffi::c_void, capname: windows_core::PCWSTR, capvalue: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IIEWebDriverSite_Impl::GetCapabilityValue(this, windows_core::from_raw_borrowed(&punkwd), core::mem::transmute(&capname)) { @@ -1301,12 +1301,12 @@ impl windows_core::RuntimeName for ILayoutRect {} #[cfg(feature = "Win32_System_Com")] impl ILayoutRect_Vtbl { pub const fn new, Impl: ILayoutRect_Impl, const OFFSET: isize>() -> ILayoutRect_Vtbl { - unsafe extern "system" fn SetnextRect, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrelementid: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetnextRect, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrelementid: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILayoutRect_Impl::SetnextRect(this, core::mem::transmute(&bstrelementid)).into() } - unsafe extern "system" fn nextRect, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrelementid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn nextRect, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrelementid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILayoutRect_Impl::nextRect(this) { @@ -1317,12 +1317,12 @@ impl ILayoutRect_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn SetcontentSrc, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varcontentsrc: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn SetcontentSrc, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, varcontentsrc: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ILayoutRect_Impl::SetcontentSrc(this, core::mem::transmute(&varcontentsrc)).into() } - unsafe extern "system" fn contentSrc, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcontentsrc: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn contentSrc, Impl: ILayoutRect_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvarcontentsrc: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ILayoutRect_Impl::contentSrc(this) { @@ -1496,7 +1496,7 @@ impl IOpenService_Vtbl { let this = (*this).get_impl(); IOpenService_Impl::SetDefault(this, core::mem::transmute_copy(&fdefault), core::mem::transmute_copy(&hwnd)).into() } - unsafe extern "system" fn GetID, Impl: IOpenService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetID, Impl: IOpenService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrid: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenService_Impl::GetID(this) { @@ -1598,7 +1598,7 @@ impl IOpenServiceActivity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetStatusText, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinput: *mut core::ffi::c_void, pbstrstatustext: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetStatusText, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pinput: *mut core::ffi::c_void, pbstrstatustext: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetStatusText(this, windows_core::from_raw_borrowed(&pinput)) { @@ -1609,7 +1609,7 @@ impl IOpenServiceActivity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetHomepageUrl, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhomepageurl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetHomepageUrl, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrhomepageurl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetHomepageUrl(this) { @@ -1620,7 +1620,7 @@ impl IOpenServiceActivity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDisplayName, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplayname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDisplayName, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdisplayname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetDisplayName(this) { @@ -1631,7 +1631,7 @@ impl IOpenServiceActivity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescription, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescription, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrdescription: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetDescription(this) { @@ -1642,7 +1642,7 @@ impl IOpenServiceActivity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetCategoryName, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcategoryname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetCategoryName, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrcategoryname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetCategoryName(this) { @@ -1653,7 +1653,7 @@ impl IOpenServiceActivity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetIconPath, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstriconpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetIconPath, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstriconpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetIconPath(this) { @@ -1675,7 +1675,7 @@ impl IOpenServiceActivity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDescriptionFilePath, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxmlpath: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDescriptionFilePath, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxmlpath: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetDescriptionFilePath(this) { @@ -1686,7 +1686,7 @@ impl IOpenServiceActivity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetDownloadUrl, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxmluri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetDownloadUrl, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrxmluri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetDownloadUrl(this) { @@ -1697,7 +1697,7 @@ impl IOpenServiceActivity_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn GetInstallUrl, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrinstalluri: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetInstallUrl, Impl: IOpenServiceActivity_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrinstalluri: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivity_Impl::GetInstallUrl(this) { @@ -1787,7 +1787,7 @@ impl IOpenServiceActivityCategory_Vtbl { let this = (*this).get_impl(); IOpenServiceActivityCategory_Impl::SetDefaultActivity(this, windows_core::from_raw_borrowed(&pactivity), core::mem::transmute_copy(&hwnd)).into() } - unsafe extern "system" fn GetName, Impl: IOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetName, Impl: IOpenServiceActivityCategory_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstrname: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivityCategory_Impl::GetName(this) { @@ -1830,7 +1830,7 @@ pub trait IOpenServiceActivityInput_Impl: Sized { impl windows_core::RuntimeName for IOpenServiceActivityInput {} impl IOpenServiceActivityInput_Vtbl { pub const fn new, Impl: IOpenServiceActivityInput_Impl, const OFFSET: isize>() -> IOpenServiceActivityInput_Vtbl { - unsafe extern "system" fn GetVariable, Impl: IOpenServiceActivityInput_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwzvariablename: windows_core::PCWSTR, pwzvariabletype: windows_core::PCWSTR, pbstrvariablecontent: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetVariable, Impl: IOpenServiceActivityInput_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pwzvariablename: windows_core::PCWSTR, pwzvariabletype: windows_core::PCWSTR, pbstrvariablecontent: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IOpenServiceActivityInput_Impl::GetVariable(this, core::mem::transmute(&pwzvariablename), core::mem::transmute(&pwzvariabletype)) { @@ -2761,7 +2761,7 @@ pub trait ITargetNotify2_Impl: Sized + ITargetNotify_Impl { impl windows_core::RuntimeName for ITargetNotify2 {} impl ITargetNotify2_Vtbl { pub const fn new, Impl: ITargetNotify2_Impl, const OFFSET: isize>() -> ITargetNotify2_Vtbl { - unsafe extern "system" fn GetOptionString, Impl: ITargetNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstroptions: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetOptionString, Impl: ITargetNotify2_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pbstroptions: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITargetNotify2_Impl::GetOptionString(this, core::mem::transmute_copy(&pbstroptions)).into() @@ -2781,7 +2781,7 @@ pub trait ITimer_Impl: Sized { impl windows_core::RuntimeName for ITimer {} impl ITimer_Vtbl { pub const fn new, Impl: ITimer_Impl, const OFFSET: isize>() -> ITimer_Vtbl { - unsafe extern "system" fn Advise, Impl: ITimer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtimemin: std::mem::MaybeUninit, vtimemax: std::mem::MaybeUninit, vtimeinterval: std::mem::MaybeUninit, dwflags: u32, ptimersink: *mut core::ffi::c_void, pdwcookie: *mut u32) -> windows_core::HRESULT { + unsafe extern "system" fn Advise, Impl: ITimer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtimemin: core::mem::MaybeUninit, vtimemax: core::mem::MaybeUninit, vtimeinterval: core::mem::MaybeUninit, dwflags: u32, ptimersink: *mut core::ffi::c_void, pdwcookie: *mut u32) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITimer_Impl::Advise(this, core::mem::transmute(&vtimemin), core::mem::transmute(&vtimemax), core::mem::transmute(&vtimeinterval), core::mem::transmute_copy(&dwflags), windows_core::from_raw_borrowed(&ptimersink)) { @@ -2802,7 +2802,7 @@ impl ITimer_Vtbl { let this = (*this).get_impl(); ITimer_Impl::Freeze(this, core::mem::transmute_copy(&ffreeze)).into() } - unsafe extern "system" fn GetTime, Impl: ITimer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvtime: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetTime, Impl: ITimer_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, pvtime: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match ITimer_Impl::GetTime(this) { @@ -2894,7 +2894,7 @@ pub trait ITimerSink_Impl: Sized { impl windows_core::RuntimeName for ITimerSink {} impl ITimerSink_Vtbl { pub const fn new, Impl: ITimerSink_Impl, const OFFSET: isize>() -> ITimerSink_Vtbl { - unsafe extern "system" fn OnTimer, Impl: ITimerSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtimeadvise: std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn OnTimer, Impl: ITimerSink_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, vtimeadvise: core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); ITimerSink_Impl::OnTimer(this, core::mem::transmute(&vtimeadvise)).into() @@ -3165,7 +3165,7 @@ pub trait IWebBrowserEventsUrlService_Impl: Sized { impl windows_core::RuntimeName for IWebBrowserEventsUrlService {} impl IWebBrowserEventsUrlService_Vtbl { pub const fn new, Impl: IWebBrowserEventsUrlService_Impl, const OFFSET: isize>() -> IWebBrowserEventsUrlService_Vtbl { - unsafe extern "system" fn GetUrlForEvents, Impl: IWebBrowserEventsUrlService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn GetUrlForEvents, Impl: IWebBrowserEventsUrlService_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, purl: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match IWebBrowserEventsUrlService_Impl::GetUrlForEvents(this) { @@ -3193,7 +3193,7 @@ impl windows_core::RuntimeName for Iwfolders {} #[cfg(feature = "Win32_System_Com")] impl Iwfolders_Vtbl { pub const fn new, Impl: Iwfolders_Impl, const OFFSET: isize>() -> Iwfolders_Vtbl { - unsafe extern "system" fn navigate, Impl: Iwfolders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, pbstrretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn navigate, Impl: Iwfolders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, pbstrretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Iwfolders_Impl::navigate(this, core::mem::transmute(&bstrurl)) { @@ -3204,7 +3204,7 @@ impl Iwfolders_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn navigateFrame, Impl: Iwfolders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, bstrtargetframe: std::mem::MaybeUninit, pbstrretval: *mut std::mem::MaybeUninit) -> windows_core::HRESULT { + unsafe extern "system" fn navigateFrame, Impl: Iwfolders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, bstrtargetframe: core::mem::MaybeUninit, pbstrretval: *mut core::mem::MaybeUninit) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); match Iwfolders_Impl::navigateFrame(this, core::mem::transmute(&bstrurl), core::mem::transmute(&bstrtargetframe)) { @@ -3215,7 +3215,7 @@ impl Iwfolders_Vtbl { Err(err) => err.into(), } } - unsafe extern "system" fn navigateNoSite, Impl: Iwfolders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: std::mem::MaybeUninit, bstrtargetframe: std::mem::MaybeUninit, dwhwnd: u32, pwb: *mut core::ffi::c_void) -> windows_core::HRESULT { + unsafe extern "system" fn navigateNoSite, Impl: Iwfolders_Impl, const OFFSET: isize>(this: *mut core::ffi::c_void, bstrurl: core::mem::MaybeUninit, bstrtargetframe: core::mem::MaybeUninit, dwhwnd: u32, pwb: *mut core::ffi::c_void) -> windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); Iwfolders_Impl::navigateNoSite(this, core::mem::transmute(&bstrurl), core::mem::transmute(&bstrtargetframe), core::mem::transmute_copy(&dwhwnd), windows_core::from_raw_borrowed(&pwb)).into() diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs index 57da862a21..3f50316c3c 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs @@ -11,13 +11,13 @@ where P0: windows_core::Param, { windows_targets::link!("imgutil.dll" "system" fn CreateDDrawSurfaceOnDIB(hbmdib : super::super::Graphics::Gdi:: HBITMAP, ppsurface : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateDDrawSurfaceOnDIB(hbmdib.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] pub unsafe fn CreateMIMEMap() -> windows_core::Result { windows_targets::link!("imgutil.dll" "system" fn CreateMIMEMap(ppmap : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); CreateMIMEMap(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -129,14 +129,14 @@ where #[inline] pub unsafe fn IEGetWriteableFolderPath(clsidfolderid: *const windows_core::GUID) -> windows_core::Result { windows_targets::link!("ieframe.dll" "system" fn IEGetWriteableFolderPath(clsidfolderid : *const windows_core::GUID, lppwstrpath : *mut windows_core::PWSTR) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IEGetWriteableFolderPath(clsidfolderid, &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Registry")] #[inline] pub unsafe fn IEGetWriteableLowHKCU() -> windows_core::Result { windows_targets::link!("ieframe.dll" "system" fn IEGetWriteableLowHKCU(phkey : *mut super::super::System::Registry:: HKEY) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IEGetWriteableLowHKCU(&mut result__).map(|| result__) } #[inline] @@ -152,7 +152,7 @@ pub unsafe fn IEIsInPrivateBrowsing() -> super::super::Foundation::BOOL { #[inline] pub unsafe fn IEIsProtectedModeProcess() -> windows_core::Result { windows_targets::link!("ieframe.dll" "system" fn IEIsProtectedModeProcess(pbresult : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); IEIsProtectedModeProcess(&mut result__).map(|| result__) } #[inline] @@ -468,13 +468,13 @@ windows_core::imp::define_interface!(IActiveXUIHandlerSite, IActiveXUIHandlerSit impl std::ops::Deref for IActiveXUIHandlerSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveXUIHandlerSite, windows_core::IUnknown); impl IActiveXUIHandlerSite { pub unsafe fn CreateScrollableContextMenu(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateScrollableContextMenu)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn PickFileAndGetResult(&self, filepicker: P0, allowmultipleselections: P1) -> windows_core::Result @@ -482,7 +482,7 @@ impl IActiveXUIHandlerSite { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).PickFileAndGetResult)(windows_core::Interface::as_raw(self), filepicker.param().abi(), allowmultipleselections.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -496,13 +496,13 @@ windows_core::imp::define_interface!(IActiveXUIHandlerSite2, IActiveXUIHandlerSi impl std::ops::Deref for IActiveXUIHandlerSite2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveXUIHandlerSite2, windows_core::IUnknown); impl IActiveXUIHandlerSite2 { pub unsafe fn AddSuspensionExemption(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).AddSuspensionExemption)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn RemoveSuspensionExemption(&self, ullcookie: u64) -> windows_core::Result<()> { @@ -519,7 +519,7 @@ windows_core::imp::define_interface!(IActiveXUIHandlerSite3, IActiveXUIHandlerSi impl std::ops::Deref for IActiveXUIHandlerSite3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IActiveXUIHandlerSite3, windows_core::IUnknown); @@ -530,7 +530,7 @@ impl IActiveXUIHandlerSite3 { P1: windows_core::Param, P2: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).MessageBoxW)(windows_core::Interface::as_raw(self), hwnd.param().abi(), text.param().abi(), caption.param().abi(), r#type, &mut result__).map(|| result__) } } @@ -545,7 +545,7 @@ windows_core::imp::define_interface!(IAnchorClick, IAnchorClick_Vtbl, 0x13d5413b impl std::ops::Deref for IAnchorClick { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -566,13 +566,13 @@ windows_core::imp::define_interface!(IAudioSessionSite, IAudioSessionSite_Vtbl, impl std::ops::Deref for IAudioSessionSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IAudioSessionSite, windows_core::IUnknown); impl IAudioSessionSite { pub unsafe fn GetAudioSessionGuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetAudioSessionGuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn OnAudioStreamCreated(&self, endpointid: P0) -> windows_core::Result<()> @@ -599,7 +599,7 @@ windows_core::imp::define_interface!(ICaretPositionProvider, ICaretPositionProvi impl std::ops::Deref for ICaretPositionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ICaretPositionProvider, windows_core::IUnknown); @@ -619,7 +619,7 @@ windows_core::imp::define_interface!(IDeviceRect, IDeviceRect_Vtbl, 0x3050f6d5_9 impl std::ops::Deref for IDeviceRect { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -635,7 +635,7 @@ windows_core::imp::define_interface!(IDithererImpl, IDithererImpl_Vtbl, 0x7c48e8 impl std::ops::Deref for IDithererImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDithererImpl, windows_core::IUnknown); @@ -664,7 +664,7 @@ windows_core::imp::define_interface!(IDocObjectService, IDocObjectService_Vtbl, impl std::ops::Deref for IDocObjectService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDocObjectService, windows_core::IUnknown); @@ -678,7 +678,7 @@ impl IDocObjectService { P3: windows_core::Param, P4: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FireBeforeNavigate2)(windows_core::Interface::as_raw(self), pdispatch.param().abi(), lpszurl.param().abi(), dwflags, lpszframename.param().abi(), ppostdata, cbpostdata, lpszheaders.param().abi(), fplaynavsound.param().abi(), &mut result__).map(|| result__) } pub unsafe fn FireDownloadBegin(&self) -> windows_core::Result<()> { @@ -688,18 +688,18 @@ impl IDocObjectService { (windows_core::Interface::vtable(self).FireDownloadComplete)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn GetPendingUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPendingUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetUrlSearchComponent(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUrlSearchComponent)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsErrorUrl(&self, lpszurl: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsErrorUrl)(windows_core::Interface::as_raw(self), lpszurl.param().abi(), &mut result__).map(|| result__) } } @@ -715,9 +715,9 @@ pub struct IDocObjectService_Vtbl { pub FireDownloadComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, FireDocumentComplete: usize, UpdateDesktopComponent: usize, - pub GetPendingUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetPendingUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, ActiveElementChanged: usize, - pub GetUrlSearchComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUrlSearchComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsErrorUrl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] @@ -726,7 +726,7 @@ windows_core::imp::define_interface!(IDownloadBehavior, IDownloadBehavior_Vtbl, impl std::ops::Deref for IDownloadBehavior { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -747,7 +747,7 @@ impl IDownloadBehavior { pub struct IDownloadBehavior_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, #[cfg(feature = "Win32_System_Com")] - pub startDownload: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub startDownload: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] startDownload: usize, } @@ -755,7 +755,7 @@ windows_core::imp::define_interface!(IDownloadManager, IDownloadManager_Vtbl, 0x impl std::ops::Deref for IDownloadManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IDownloadManager, windows_core::IUnknown); @@ -783,7 +783,7 @@ windows_core::imp::define_interface!(IEnumManagerFrames, IEnumManagerFrames_Vtbl impl std::ops::Deref for IEnumManagerFrames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumManagerFrames, windows_core::IUnknown); @@ -792,7 +792,7 @@ impl IEnumManagerFrames { (windows_core::Interface::vtable(self).Next)(windows_core::Interface::as_raw(self), ppwindows.len().try_into().unwrap(), core::mem::transmute(ppwindows.as_ptr()), pceltfetched).ok() } pub unsafe fn Count(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Count)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result<()> { @@ -802,7 +802,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -819,7 +819,7 @@ windows_core::imp::define_interface!(IEnumOpenServiceActivity, IEnumOpenServiceA impl std::ops::Deref for IEnumOpenServiceActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumOpenServiceActivity, windows_core::IUnknown); @@ -834,7 +834,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -850,7 +850,7 @@ windows_core::imp::define_interface!(IEnumOpenServiceActivityCategory, IEnumOpen impl std::ops::Deref for IEnumOpenServiceActivityCategory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumOpenServiceActivityCategory, windows_core::IUnknown); @@ -865,7 +865,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -881,7 +881,7 @@ windows_core::imp::define_interface!(IEnumSTATURL, IEnumSTATURL_Vtbl, 0x3c374a42 impl std::ops::Deref for IEnumSTATURL { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IEnumSTATURL, windows_core::IUnknown); @@ -896,7 +896,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Clone)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFilter(&self, poszfilter: P0, dwflags: u32) -> windows_core::Result<()> @@ -919,13 +919,13 @@ windows_core::imp::define_interface!(IExtensionValidation, IExtensionValidation_ impl std::ops::Deref for IExtensionValidation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IExtensionValidation, windows_core::IUnknown); impl IExtensionValidation { pub unsafe fn DisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).DisplayName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -939,7 +939,7 @@ windows_core::imp::define_interface!(IHTMLPersistData, IHTMLPersistData_Vtbl, 0x impl std::ops::Deref for IHTMLPersistData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHTMLPersistData, windows_core::IUnknown); @@ -948,18 +948,18 @@ impl IHTMLPersistData { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).save)(windows_core::Interface::as_raw(self), punk.param().abi(), ltype, &mut result__).map(|| result__) } pub unsafe fn load(&self, punk: P0, ltype: i32) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).load)(windows_core::Interface::as_raw(self), punk.param().abi(), ltype, &mut result__).map(|| result__) } pub unsafe fn queryType(&self, ltype: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).queryType)(windows_core::Interface::as_raw(self), ltype, &mut result__).map(|| result__) } } @@ -976,7 +976,7 @@ windows_core::imp::define_interface!(IHTMLPersistDataOM, IHTMLPersistDataOM_Vtbl impl std::ops::Deref for IHTMLPersistDataOM { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -985,14 +985,14 @@ windows_core::imp::interface_hierarchy!(IHTMLPersistDataOM, windows_core::IUnkno impl IHTMLPersistDataOM { #[cfg(feature = "Win32_System_Com")] pub unsafe fn XMLDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).XMLDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getAttribute(&self, name: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttribute)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setAttribute(&self, name: P0, value: P1) -> windows_core::Result<()> @@ -1017,9 +1017,9 @@ pub struct IHTMLPersistDataOM_Vtbl { pub XMLDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] XMLDocument: usize, - pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IHTMLUserDataOM, IHTMLUserDataOM_Vtbl, 0x3050f48f_98b5_11cf_bb82_00aa00bdce0b); @@ -1027,7 +1027,7 @@ windows_core::imp::define_interface!(IHTMLUserDataOM, IHTMLUserDataOM_Vtbl, 0x30 impl std::ops::Deref for IHTMLUserDataOM { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1036,7 +1036,7 @@ windows_core::imp::interface_hierarchy!(IHTMLUserDataOM, windows_core::IUnknown, impl IHTMLUserDataOM { #[cfg(feature = "Win32_System_Com")] pub unsafe fn XMLDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).XMLDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn save(&self, strname: P0) -> windows_core::Result<()> @@ -1055,7 +1055,7 @@ impl IHTMLUserDataOM { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).getAttribute)(windows_core::Interface::as_raw(self), name.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn setAttribute(&self, name: P0, value: P1) -> windows_core::Result<()> @@ -1078,7 +1078,7 @@ impl IHTMLUserDataOM { (windows_core::Interface::vtable(self).Setexpires)(windows_core::Interface::as_raw(self), bstr.param().abi()).ok() } pub unsafe fn expires(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).expires)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1090,13 +1090,13 @@ pub struct IHTMLUserDataOM_Vtbl { pub XMLDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Com"))] XMLDocument: usize, - pub save: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub load: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Setexpires: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub expires: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub save: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub load: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub getAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub setAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setexpires: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub expires: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IHeaderFooter, IHeaderFooter_Vtbl, 0x3050f6ce_98b5_11cf_bb82_00aa00bdce0b); @@ -1104,7 +1104,7 @@ windows_core::imp::define_interface!(IHeaderFooter, IHeaderFooter_Vtbl, 0x3050f6 impl std::ops::Deref for IHeaderFooter { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1112,11 +1112,11 @@ windows_core::imp::interface_hierarchy!(IHeaderFooter, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IHeaderFooter { pub unsafe fn htmlHead(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).htmlHead)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn htmlFoot(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).htmlFoot)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SettextHead(&self, v: P0) -> windows_core::Result<()> @@ -1126,7 +1126,7 @@ impl IHeaderFooter { (windows_core::Interface::vtable(self).SettextHead)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn textHead(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).textHead)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SettextFoot(&self, v: P0) -> windows_core::Result<()> @@ -1136,21 +1136,21 @@ impl IHeaderFooter { (windows_core::Interface::vtable(self).SettextFoot)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn textFoot(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).textFoot)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).page)(windows_core::Interface::as_raw(self), &mut result__).map(|| 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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).pageTotal)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetURL(&self, v: P0) -> windows_core::Result<()> @@ -1160,7 +1160,7 @@ impl IHeaderFooter { (windows_core::Interface::vtable(self).SetURL)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn URL(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).URL)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Settitle(&self, v: P0) -> windows_core::Result<()> @@ -1170,7 +1170,7 @@ impl IHeaderFooter { (windows_core::Interface::vtable(self).Settitle)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn title(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).title)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetdateShort(&self, v: P0) -> windows_core::Result<()> @@ -1180,7 +1180,7 @@ impl IHeaderFooter { (windows_core::Interface::vtable(self).SetdateShort)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn dateShort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).dateShort)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetdateLong(&self, v: P0) -> windows_core::Result<()> @@ -1190,7 +1190,7 @@ impl IHeaderFooter { (windows_core::Interface::vtable(self).SetdateLong)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn dateLong(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).dateLong)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SettimeShort(&self, v: P0) -> windows_core::Result<()> @@ -1200,7 +1200,7 @@ impl IHeaderFooter { (windows_core::Interface::vtable(self).SettimeShort)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn timeShort(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).timeShort)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SettimeLong(&self, v: P0) -> windows_core::Result<()> @@ -1210,7 +1210,7 @@ impl IHeaderFooter { (windows_core::Interface::vtable(self).SettimeLong)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn timeLong(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).timeLong)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1218,28 +1218,28 @@ impl IHeaderFooter { #[repr(C)] pub struct IHeaderFooter_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub htmlHead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub htmlFoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SettextHead: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub textHead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SettextFoot: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub textFoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub htmlHead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub htmlFoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettextHead: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub textHead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettextFoot: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub textFoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub Setpage: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub page: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetpageTotal: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub pageTotal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, - pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub Settitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetdateShort: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub dateShort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetdateLong: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub dateLong: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SettimeShort: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub timeShort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SettimeLong: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub timeLong: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub Settitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub title: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetdateShort: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub dateShort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetdateLong: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub dateLong: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettimeShort: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub timeShort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SettimeLong: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub timeLong: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IHeaderFooter2, IHeaderFooter2_Vtbl, 0x305104a5_98b5_11cf_bb82_00aa00bdce0b); @@ -1247,7 +1247,7 @@ windows_core::imp::define_interface!(IHeaderFooter2, IHeaderFooter2_Vtbl, 0x3051 impl std::ops::Deref for IHeaderFooter2 { type Target = IHeaderFooter; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1261,7 +1261,7 @@ impl IHeaderFooter2 { (windows_core::Interface::vtable(self).Setfont)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn font(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).font)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1269,8 +1269,8 @@ impl IHeaderFooter2 { #[repr(C)] pub struct IHeaderFooter2_Vtbl { pub base__: IHeaderFooter_Vtbl, - pub Setfont: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub font: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub Setfont: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub font: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IHomePage, IHomePage_Vtbl, 0x766bf2af_d650_11d1_9811_00c04fc31d2e); @@ -1278,7 +1278,7 @@ windows_core::imp::define_interface!(IHomePage, IHomePage_Vtbl, 0x766bf2af_d650_ impl std::ops::Deref for IHomePage { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1298,7 +1298,7 @@ impl IHomePage { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).isHomePage)(windows_core::Interface::as_raw(self), bstrurl.param().abi(), &mut result__).map(|| result__) } } @@ -1307,14 +1307,14 @@ impl IHomePage { pub struct IHomePage_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub navigateHomePage: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, - pub setHomePage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub isHomePage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, + pub setHomePage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub isHomePage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHomePageSetting, IHomePageSetting_Vtbl, 0xfdfc244f_18fa_4ff2_b08e_1d618f3ffbe4); impl std::ops::Deref for IHomePageSetting { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IHomePageSetting, windows_core::IUnknown); @@ -1331,7 +1331,7 @@ impl IHomePageSetting { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsHomePage)(windows_core::Interface::as_raw(self), uri.param().abi(), &mut result__).map(|| result__) } pub unsafe fn SetHomePageToBrowserDefault(&self) -> windows_core::Result<()> { @@ -1351,7 +1351,7 @@ windows_core::imp::define_interface!(IIEWebDriverManager, IIEWebDriverManager_Vt impl std::ops::Deref for IIEWebDriverManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1362,7 +1362,7 @@ impl IIEWebDriverManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ExecuteCommand)(windows_core::Interface::as_raw(self), command.param().abi(), &mut result__).map(|| result__) } } @@ -1378,7 +1378,7 @@ windows_core::imp::define_interface!(IIEWebDriverSite, IIEWebDriverSite_Vtbl, 0x impl std::ops::Deref for IIEWebDriverSite { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1399,7 +1399,7 @@ impl IIEWebDriverSite { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCapabilityValue)(windows_core::Interface::as_raw(self), punkwd.param().abi(), capname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1409,19 +1409,19 @@ pub struct IIEWebDriverSite_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub WindowOperation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub DetachWebdriver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, - pub GetCapabilityValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCapabilityValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImageDecodeEventSink, IImageDecodeEventSink_Vtbl, 0xbaa342a0_2ded_11d0_86f4_00a0c913f750); impl std::ops::Deref for IImageDecodeEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(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 { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetSurface)(windows_core::Interface::as_raw(self), nwidth, nheight, bfid, npasses, dwhints, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnBeginDecode(&self, pdwevents: *mut u32, pnformats: *mut u32, ppformats: *mut *mut windows_core::GUID) -> windows_core::Result<()> { @@ -1457,13 +1457,13 @@ windows_core::imp::define_interface!(IImageDecodeEventSink2, IImageDecodeEventSi impl std::ops::Deref for IImageDecodeEventSink2 { type Target = IImageDecodeEventSink; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImageDecodeEventSink2, windows_core::IUnknown, IImageDecodeEventSink); impl IImageDecodeEventSink2 { pub unsafe fn IsAlphaPremultRequired(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsAlphaPremultRequired)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -1476,7 +1476,7 @@ windows_core::imp::define_interface!(IImageDecodeFilter, IImageDecodeFilter_Vtbl impl std::ops::Deref for IImageDecodeFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IImageDecodeFilter, windows_core::IUnknown); @@ -1514,7 +1514,7 @@ windows_core::imp::define_interface!(IIntelliForms, IIntelliForms_Vtbl, 0x9b9f68 impl std::ops::Deref for IIntelliForms { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1522,7 +1522,7 @@ windows_core::imp::interface_hierarchy!(IIntelliForms, windows_core::IUnknown, s #[cfg(feature = "Win32_System_Com")] impl IIntelliForms { pub unsafe fn enabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).enabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn Setenabled(&self, bval: P0) -> windows_core::Result<()> @@ -1543,7 +1543,7 @@ windows_core::imp::define_interface!(IInternetExplorerManager, IInternetExplorer impl std::ops::Deref for IInternetExplorerManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetExplorerManager, windows_core::IUnknown); @@ -1566,13 +1566,13 @@ windows_core::imp::define_interface!(IInternetExplorerManager2, IInternetExplore impl std::ops::Deref for IInternetExplorerManager2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IInternetExplorerManager2, windows_core::IUnknown); impl IInternetExplorerManager2 { pub unsafe fn EnumFrameWindows(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumFrameWindows)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1587,7 +1587,7 @@ windows_core::imp::define_interface!(ILayoutRect, ILayoutRect_Vtbl, 0x3050f665_9 impl std::ops::Deref for ILayoutRect { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -1601,7 +1601,7 @@ impl ILayoutRect { (windows_core::Interface::vtable(self).SetnextRect)(windows_core::Interface::as_raw(self), bstrelementid.param().abi()).ok() } pub unsafe fn nextRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nextRect)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetcontentSrc(&self, varcontentsrc: P0) -> windows_core::Result<()> @@ -1611,7 +1611,7 @@ impl ILayoutRect { (windows_core::Interface::vtable(self).SetcontentSrc)(windows_core::Interface::as_raw(self), varcontentsrc.param().abi()).ok() } pub unsafe fn contentSrc(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).contentSrc)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SethonorPageBreaks(&self, v: P0) -> windows_core::Result<()> @@ -1621,7 +1621,7 @@ impl ILayoutRect { (windows_core::Interface::vtable(self).SethonorPageBreaks)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn honorPageBreaks(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).honorPageBreaks)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SethonorPageRules(&self, v: P0) -> windows_core::Result<()> @@ -1631,7 +1631,7 @@ impl ILayoutRect { (windows_core::Interface::vtable(self).SethonorPageRules)(windows_core::Interface::as_raw(self), v.param().abi()).ok() } pub unsafe fn honorPageRules(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).honorPageRules)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] @@ -1643,12 +1643,12 @@ impl ILayoutRect { } #[cfg(feature = "Win32_System_Com")] pub unsafe fn nextRectElement(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).nextRectElement)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] pub unsafe fn contentDocument(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).contentDocument)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1656,10 +1656,10 @@ impl ILayoutRect { #[repr(C)] pub struct ILayoutRect_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub SetnextRect: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub nextRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub SetcontentSrc: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, - pub contentSrc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetnextRect: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub nextRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub SetcontentSrc: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, + pub contentSrc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub SethonorPageBreaks: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub honorPageBreaks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SethonorPageRules: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, @@ -1681,7 +1681,7 @@ windows_core::imp::define_interface!(IMapMIMEToCLSID, IMapMIMEToCLSID_Vtbl, 0xd9 impl std::ops::Deref for IMapMIMEToCLSID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMapMIMEToCLSID, windows_core::IUnknown); @@ -1716,7 +1716,7 @@ windows_core::imp::define_interface!(IMediaActivityNotifySite, IMediaActivityNot impl std::ops::Deref for IMediaActivityNotifySite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IMediaActivityNotifySite, windows_core::IUnknown); @@ -1738,13 +1738,13 @@ windows_core::imp::define_interface!(IOpenService, IOpenService_Vtbl, 0xc2952ed1 impl std::ops::Deref for IOpenService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenService, windows_core::IUnknown); impl IOpenService { pub unsafe fn IsDefault(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsDefault)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetDefault(&self, fdefault: P0, hwnd: P1) -> windows_core::Result<()> @@ -1755,7 +1755,7 @@ impl IOpenService { (windows_core::Interface::vtable(self).SetDefault)(windows_core::Interface::as_raw(self), fdefault.param().abi(), hwnd.param().abi()).ok() } pub unsafe fn GetID(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetID)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1764,13 +1764,13 @@ pub struct IOpenService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::HWND) -> windows_core::HRESULT, - pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenServiceActivity, IOpenServiceActivity_Vtbl, 0x13645c88_221a_4905_8ed1_4f5112cfc108); impl std::ops::Deref for IOpenServiceActivity { type Target = IOpenService; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenServiceActivity, windows_core::IUnknown, IOpenService); @@ -1787,11 +1787,11 @@ impl IOpenServiceActivity { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanExecute)(windows_core::Interface::as_raw(self), pinput.param().abi(), poutput.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CanExecuteType(&self, r#type: OpenServiceActivityContentType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanExecuteType)(windows_core::Interface::as_raw(self), r#type, &mut result__).map(|| result__) } pub unsafe fn Preview(&self, pinput: P0, poutput: P1) -> windows_core::Result<()> @@ -1806,38 +1806,38 @@ impl IOpenServiceActivity { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanPreview)(windows_core::Interface::as_raw(self), pinput.param().abi(), poutput.param().abi(), &mut result__).map(|| result__) } pub unsafe fn CanPreviewType(&self, r#type: OpenServiceActivityContentType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanPreviewType)(windows_core::Interface::as_raw(self), r#type, &mut result__).map(|| result__) } pub unsafe fn GetStatusText(&self, pinput: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetStatusText)(windows_core::Interface::as_raw(self), pinput.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetHomepageUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetHomepageUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDisplayName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDisplayName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDescription(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescription)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCategoryName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategoryName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetIconPath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIconPath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -1845,23 +1845,23 @@ impl IOpenServiceActivity { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetIcon)(windows_core::Interface::as_raw(self), fsmallicon.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetDescriptionFilePath(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDescriptionFilePath)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDownloadUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDownloadUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetInstallUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetInstallUrl)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsEnabled(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsEnabled)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetEnabled(&self, fenable: P0) -> windows_core::Result<()> @@ -1880,19 +1880,19 @@ pub struct IOpenServiceActivity_Vtbl { pub Preview: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CanPreview: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CanPreviewType: unsafe extern "system" fn(*mut core::ffi::c_void, OpenServiceActivityContentType, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetStatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetHomepageUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetCategoryName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetIconPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetStatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetHomepageUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetCategoryName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetIconPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub GetIcon: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut super::super::UI::WindowsAndMessaging::HICON) -> windows_core::HRESULT, #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] GetIcon: usize, - pub GetDescriptionFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetDownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub GetInstallUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDescriptionFilePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetDownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetInstallUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } @@ -1900,17 +1900,17 @@ windows_core::imp::define_interface!(IOpenServiceActivityCategory, IOpenServiceA impl std::ops::Deref for IOpenServiceActivityCategory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenServiceActivityCategory, windows_core::IUnknown); impl IOpenServiceActivityCategory { pub unsafe fn HasDefaultActivity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasDefaultActivity)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetDefaultActivity(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDefaultActivity)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefaultActivity(&self, pactivity: P0, hwnd: P1) -> windows_core::Result<()> @@ -1921,7 +1921,7 @@ impl IOpenServiceActivityCategory { (windows_core::Interface::vtable(self).SetDefaultActivity)(windows_core::Interface::as_raw(self), pactivity.param().abi(), hwnd.param().abi()).ok() } pub unsafe fn GetName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetName)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActivityEnumerator(&self, pinput: P0, poutput: P1) -> windows_core::Result @@ -1929,7 +1929,7 @@ impl IOpenServiceActivityCategory { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivityEnumerator)(windows_core::Interface::as_raw(self), pinput.param().abi(), poutput.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1939,14 +1939,14 @@ pub struct IOpenServiceActivityCategory_Vtbl { pub HasDefaultActivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetDefaultActivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDefaultActivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, - pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub GetActivityEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenServiceActivityInput, IOpenServiceActivityInput_Vtbl, 0x75cb4db9_6da0_4da3_83ce_422b6a433346); impl std::ops::Deref for IOpenServiceActivityInput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenServiceActivityInput, windows_core::IUnknown); @@ -1956,7 +1956,7 @@ impl IOpenServiceActivityInput { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVariable)(windows_core::Interface::as_raw(self), pwzvariablename.param().abi(), pwzvariabletype.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn HasVariable(&self, pwzvariablename: P0, pwzvariabletype: P1) -> windows_core::Result @@ -1964,18 +1964,18 @@ impl IOpenServiceActivityInput { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).HasVariable)(windows_core::Interface::as_raw(self), pwzvariablename.param().abi(), pwzvariabletype.param().abi(), &mut result__).map(|| result__) } pub unsafe fn GetType(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } #[repr(C)] pub struct IOpenServiceActivityInput_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetVariable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetVariable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, pub HasVariable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OpenServiceActivityContentType) -> windows_core::HRESULT, } @@ -1983,20 +1983,20 @@ windows_core::imp::define_interface!(IOpenServiceActivityManager, IOpenServiceAc impl std::ops::Deref for IOpenServiceActivityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenServiceActivityManager, windows_core::IUnknown); impl IOpenServiceActivityManager { pub unsafe fn GetCategoryEnumerator(&self, etype: OpenServiceActivityContentType) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetCategoryEnumerator)(windows_core::Interface::as_raw(self), etype, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActivityByID(&self, pwzactivityid: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivityByID)(windows_core::Interface::as_raw(self), pwzactivityid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetActivityByHomepageAndCategory(&self, pwzhomepage: P0, pwzcategory: P1) -> windows_core::Result @@ -2004,11 +2004,11 @@ impl IOpenServiceActivityManager { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetActivityByHomepageAndCategory)(windows_core::Interface::as_raw(self), pwzhomepage.param().abi(), pwzcategory.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVersionCookie(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetVersionCookie)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2024,7 +2024,7 @@ windows_core::imp::define_interface!(IOpenServiceActivityOutputContext, IOpenSer impl std::ops::Deref for IOpenServiceActivityOutputContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenServiceActivityOutputContext, windows_core::IUnknown); @@ -2047,7 +2047,7 @@ impl IOpenServiceActivityOutputContext { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CanNavigate)(windows_core::Interface::as_raw(self), pwzuri.param().abi(), pwzmethod.param().abi(), pwzheaders.param().abi(), ppostdata.param().abi(), &mut result__).map(|| result__) } } @@ -2067,7 +2067,7 @@ windows_core::imp::define_interface!(IOpenServiceManager, IOpenServiceManager_Vt impl std::ops::Deref for IOpenServiceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IOpenServiceManager, windows_core::IUnknown); @@ -2076,7 +2076,7 @@ impl IOpenServiceManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).InstallService)(windows_core::Interface::as_raw(self), pwzserviceurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UninstallService(&self, pservice: P0) -> windows_core::Result<()> @@ -2089,7 +2089,7 @@ impl IOpenServiceManager { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetServiceByID)(windows_core::Interface::as_raw(self), pwzid.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2104,7 +2104,7 @@ windows_core::imp::define_interface!(IPeerFactory, IPeerFactory_Vtbl, 0x6663f9d3 impl std::ops::Deref for IPeerFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPeerFactory, windows_core::IUnknown); @@ -2119,7 +2119,7 @@ windows_core::imp::define_interface!(IPersistHistory, IPersistHistory_Vtbl, 0x91 impl std::ops::Deref for IPersistHistory { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -2145,7 +2145,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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetPositionCookie)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -2168,7 +2168,7 @@ windows_core::imp::define_interface!(IPrintTaskRequestFactory, IPrintTaskRequest impl std::ops::Deref for IPrintTaskRequestFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintTaskRequestFactory, windows_core::IUnknown); @@ -2189,7 +2189,7 @@ windows_core::imp::define_interface!(IPrintTaskRequestHandler, IPrintTaskRequest impl std::ops::Deref for IPrintTaskRequestHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IPrintTaskRequestHandler, windows_core::IUnknown); @@ -2210,7 +2210,7 @@ windows_core::imp::define_interface!(IScrollableContextMenu, IScrollableContextM impl std::ops::Deref for IScrollableContextMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScrollableContextMenu, windows_core::IUnknown); @@ -2222,7 +2222,7 @@ impl IScrollableContextMenu { (windows_core::Interface::vtable(self).AddItem)(windows_core::Interface::as_raw(self), itemtext.param().abi(), cmdid).ok() } pub unsafe fn ShowModal(&self, x: i32, y: i32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).ShowModal)(windows_core::Interface::as_raw(self), x, y, &mut result__).map(|| result__) } } @@ -2236,7 +2236,7 @@ windows_core::imp::define_interface!(IScrollableContextMenu2, IScrollableContext impl std::ops::Deref for IScrollableContextMenu2 { type Target = IScrollableContextMenu; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IScrollableContextMenu2, windows_core::IUnknown, IScrollableContextMenu); @@ -2258,7 +2258,7 @@ windows_core::imp::define_interface!(ISniffStream, ISniffStream_Vtbl, 0x4ef17940 impl std::ops::Deref for ISniffStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISniffStream, windows_core::IUnknown); @@ -2287,7 +2287,7 @@ windows_core::imp::define_interface!(ISurfacePresenterFlip, ISurfacePresenterFli impl std::ops::Deref for ISurfacePresenterFlip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISurfacePresenterFlip, windows_core::IUnknown); @@ -2309,7 +2309,7 @@ windows_core::imp::define_interface!(ISurfacePresenterFlip2, ISurfacePresenterFl impl std::ops::Deref for ISurfacePresenterFlip2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISurfacePresenterFlip2, windows_core::IUnknown); @@ -2331,7 +2331,7 @@ windows_core::imp::define_interface!(ISurfacePresenterFlipBuffer, ISurfacePresen impl std::ops::Deref for ISurfacePresenterFlipBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ISurfacePresenterFlipBuffer, windows_core::IUnknown); @@ -2353,18 +2353,18 @@ windows_core::imp::define_interface!(ITargetContainer, ITargetContainer_Vtbl, 0x impl std::ops::Deref for ITargetContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITargetContainer, windows_core::IUnknown); impl ITargetContainer { pub unsafe fn GetFrameUrl(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameUrl)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetFramesContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFramesContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2381,13 +2381,13 @@ windows_core::imp::define_interface!(ITargetEmbedding, ITargetEmbedding_Vtbl, 0x impl std::ops::Deref for ITargetEmbedding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITargetEmbedding, windows_core::IUnknown); impl ITargetEmbedding { pub unsafe fn GetTargetFrame(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetFrame)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2400,7 +2400,7 @@ windows_core::imp::define_interface!(ITargetFrame, ITargetFrame_Vtbl, 0xd5f78c80 impl std::ops::Deref for ITargetFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITargetFrame, windows_core::IUnknown); @@ -2412,11 +2412,11 @@ impl ITargetFrame { (windows_core::Interface::vtable(self).SetFrameName)(windows_core::Interface::as_raw(self), pszframename.param().abi()).ok() } pub unsafe fn GetFrameName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetParentFrame(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentFrame)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFrame(&self, psztargetname: P0, ppunkcontextframe: P1, dwflags: u32) -> windows_core::Result @@ -2424,7 +2424,7 @@ impl ITargetFrame { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFrame)(windows_core::Interface::as_raw(self), psztargetname.param().abi(), ppunkcontextframe.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFrameSrc(&self, pszframesrc: P0) -> windows_core::Result<()> @@ -2434,19 +2434,19 @@ impl ITargetFrame { (windows_core::Interface::vtable(self).SetFrameSrc)(windows_core::Interface::as_raw(self), pszframesrc.param().abi()).ok() } pub unsafe fn GetFrameSrc(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameSrc)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetFramesContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFramesContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFrameMargins(&self, dwwidth: u32, dwheight: u32) -> windows_core::Result<()> { @@ -2496,7 +2496,7 @@ windows_core::imp::define_interface!(ITargetFrame2, ITargetFrame2_Vtbl, 0x86d52e impl std::ops::Deref for ITargetFrame2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITargetFrame2, windows_core::IUnknown); @@ -2508,11 +2508,11 @@ impl ITargetFrame2 { (windows_core::Interface::vtable(self).SetFrameName)(windows_core::Interface::as_raw(self), pszframename.param().abi()).ok() } pub unsafe fn GetFrameName(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameName)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetParentFrame(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetParentFrame)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFrameSrc(&self, pszframesrc: P0) -> windows_core::Result<()> @@ -2522,19 +2522,19 @@ impl ITargetFrame2 { (windows_core::Interface::vtable(self).SetFrameSrc)(windows_core::Interface::as_raw(self), pszframesrc.param().abi()).ok() } pub unsafe fn GetFrameSrc(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameSrc)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Ole")] pub unsafe fn GetFramesContainer(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFramesContainer)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::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__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFrameOptions)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn SetFrameMargins(&self, dwwidth: u32, dwheight: u32) -> windows_core::Result<()> { @@ -2547,14 +2547,14 @@ impl ITargetFrame2 { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFrame)(windows_core::Interface::as_raw(self), psztargetname.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTargetAlias(&self, psztargetname: P0) -> windows_core::Result where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTargetAlias)(windows_core::Interface::as_raw(self), psztargetname.param().abi(), &mut result__).map(|| result__) } } @@ -2581,7 +2581,7 @@ windows_core::imp::define_interface!(ITargetFramePriv, ITargetFramePriv_Vtbl, 0x impl std::ops::Deref for ITargetFramePriv { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITargetFramePriv, windows_core::IUnknown); @@ -2590,7 +2590,7 @@ impl ITargetFramePriv { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFrameDownwards)(windows_core::Interface::as_raw(self), psztargetname.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindFrameInContext(&self, psztargetname: P0, punkcontextframe: P1, dwflags: u32) -> windows_core::Result @@ -2598,7 +2598,7 @@ impl ITargetFramePriv { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindFrameInContext)(windows_core::Interface::as_raw(self), psztargetname.param().abi(), punkcontextframe.param().abi(), dwflags, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OnChildFrameActivate(&self, punkchildframe: P0) -> windows_core::Result<()> @@ -2625,7 +2625,7 @@ impl ITargetFramePriv { (windows_core::Interface::vtable(self).NavigateHack)(windows_core::Interface::as_raw(self), grfhlnf, pbc.param().abi(), pibsc.param().abi(), psztargetname.param().abi(), pszurl.param().abi(), pszlocation.param().abi()).ok() } pub unsafe fn FindBrowserByIndex(&self, dwid: u32) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FindBrowserByIndex)(windows_core::Interface::as_raw(self), dwid, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2646,7 +2646,7 @@ windows_core::imp::define_interface!(ITargetFramePriv2, ITargetFramePriv2_Vtbl, impl std::ops::Deref for ITargetFramePriv2 { type Target = ITargetFramePriv; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITargetFramePriv2, windows_core::IUnknown, ITargetFramePriv); @@ -2675,7 +2675,7 @@ windows_core::imp::define_interface!(ITargetNotify, ITargetNotify_Vtbl, 0x863a99 impl std::ops::Deref for ITargetNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITargetNotify, windows_core::IUnknown); @@ -2703,7 +2703,7 @@ windows_core::imp::define_interface!(ITargetNotify2, ITargetNotify2_Vtbl, 0x3050 impl std::ops::Deref for ITargetNotify2 { type Target = ITargetNotify; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITargetNotify2, windows_core::IUnknown, ITargetNotify); @@ -2715,13 +2715,13 @@ impl ITargetNotify2 { #[repr(C)] pub struct ITargetNotify2_Vtbl { pub base__: ITargetNotify_Vtbl, - pub GetOptionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetOptionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimer, ITimer_Vtbl, 0x3050f360_98b5_11cf_bb82_00aa00bdce0b); impl std::ops::Deref for ITimer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITimer, windows_core::IUnknown); @@ -2733,7 +2733,7 @@ impl ITimer { P2: windows_core::Param, P3: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).Advise)(windows_core::Interface::as_raw(self), vtimemin.param().abi(), vtimemax.param().abi(), vtimeinterval.param().abi(), dwflags, ptimersink.param().abi(), &mut result__).map(|| result__) } pub unsafe fn Unadvise(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -2746,23 +2746,23 @@ impl ITimer { (windows_core::Interface::vtable(self).Freeze)(windows_core::Interface::as_raw(self), ffreeze.param().abi()).ok() } pub unsafe fn GetTime(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetTime)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct ITimer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Freeze: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, - pub GetTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimerEx, ITimerEx_Vtbl, 0x30510414_98b5_11cf_bb82_00aa00bdce0b); impl std::ops::Deref for ITimerEx { type Target = ITimer; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITimerEx, windows_core::IUnknown, ITimer); @@ -2780,7 +2780,7 @@ windows_core::imp::define_interface!(ITimerService, ITimerService_Vtbl, 0x3050f3 impl std::ops::Deref for ITimerService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITimerService, windows_core::IUnknown); @@ -2789,11 +2789,11 @@ impl ITimerService { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).CreateTimer)(windows_core::Interface::as_raw(self), preferencetimer.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNamedTimer(&self, rguidname: *const windows_core::GUID) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetNamedTimer)(windows_core::Interface::as_raw(self), rguidname, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetNamedTimerReference(&self, rguidname: *const windows_core::GUID, preferencetimer: P0) -> windows_core::Result<()> @@ -2814,7 +2814,7 @@ windows_core::imp::define_interface!(ITimerSink, ITimerSink_Vtbl, 0x3050f361_98b impl std::ops::Deref for ITimerSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITimerSink, windows_core::IUnknown); @@ -2829,13 +2829,13 @@ impl ITimerSink { #[repr(C)] pub struct ITimerSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub OnTimer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, + pub OnTimer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITridentTouchInput, ITridentTouchInput_Vtbl, 0x30510850_98b5_11cf_bb82_00aa00bdce0b); impl std::ops::Deref for ITridentTouchInput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITridentTouchInput, windows_core::IUnknown); @@ -2845,7 +2845,7 @@ impl ITridentTouchInput { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).OnPointerMessage)(windows_core::Interface::as_raw(self), msg, wparam.param().abi(), lparam.param().abi(), &mut result__).map(|| result__) } } @@ -2858,7 +2858,7 @@ windows_core::imp::define_interface!(ITridentTouchInputSite, ITridentTouchInputS impl std::ops::Deref for ITridentTouchInputSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(ITridentTouchInputSite, windows_core::IUnknown); @@ -2879,7 +2879,7 @@ windows_core::imp::define_interface!(IUrlHistoryNotify, IUrlHistoryNotify_Vtbl, impl std::ops::Deref for IUrlHistoryNotify { type Target = super::super::System::Ole::IOleCommandTarget; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Ole")] @@ -2895,7 +2895,7 @@ windows_core::imp::define_interface!(IUrlHistoryStg, IUrlHistoryStg_Vtbl, 0x3c37 impl std::ops::Deref for IUrlHistoryStg { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUrlHistoryStg, windows_core::IUnknown); @@ -2928,7 +2928,7 @@ impl IUrlHistoryStg { (windows_core::Interface::vtable(self).BindToObject)(windows_core::Interface::as_raw(self), pocsurl.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumUrls(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).EnumUrls)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2945,7 +2945,7 @@ windows_core::imp::define_interface!(IUrlHistoryStg2, IUrlHistoryStg2_Vtbl, 0xaf impl std::ops::Deref for IUrlHistoryStg2 { type Target = IUrlHistoryStg; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IUrlHistoryStg2, windows_core::IUnknown, IUrlHistoryStg); @@ -2978,7 +2978,7 @@ windows_core::imp::define_interface!(IViewObjectPresentFlip, IViewObjectPresentF impl std::ops::Deref for IViewObjectPresentFlip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewObjectPresentFlip, windows_core::IUnknown); @@ -3013,7 +3013,7 @@ windows_core::imp::define_interface!(IViewObjectPresentFlip2, IViewObjectPresent impl std::ops::Deref for IViewObjectPresentFlip2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewObjectPresentFlip2, windows_core::IUnknown); @@ -3031,13 +3031,13 @@ windows_core::imp::define_interface!(IViewObjectPresentFlipSite, IViewObjectPres impl std::ops::Deref for IViewObjectPresentFlipSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewObjectPresentFlipSite, windows_core::IUnknown); impl IViewObjectPresentFlipSite { pub unsafe fn GetDeviceLuid(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetDeviceLuid)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn EnterFullScreen(&self) -> windows_core::Result<()> { @@ -3047,18 +3047,18 @@ impl IViewObjectPresentFlipSite { (windows_core::Interface::vtable(self).ExitFullScreen)(windows_core::Interface::as_raw(self)).ok() } pub unsafe fn IsFullScreen(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).IsFullScreen)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetBoundingRect(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetBoundingRect)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn GetMetrics(&self, ppos: *mut super::super::Foundation::POINT, psize: *mut super::super::Foundation::SIZE, pscalex: *mut f32, pscaley: *mut f32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetMetrics)(windows_core::Interface::as_raw(self), ppos, psize, pscalex, pscaley).ok() } pub unsafe fn GetFullScreenSize(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetFullScreenSize)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3078,14 +3078,14 @@ windows_core::imp::define_interface!(IViewObjectPresentFlipSite2, IViewObjectPre impl std::ops::Deref for IViewObjectPresentFlipSite2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IViewObjectPresentFlipSite2, windows_core::IUnknown); impl IViewObjectPresentFlipSite2 { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetRotationForCurrentOutput(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetRotationForCurrentOutput)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } } @@ -3101,13 +3101,13 @@ windows_core::imp::define_interface!(IWebBrowserEventsService, IWebBrowserEvents impl std::ops::Deref for IWebBrowserEventsService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebBrowserEventsService, windows_core::IUnknown); impl IWebBrowserEventsService { pub unsafe fn FireBeforeNavigate2Event(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).FireBeforeNavigate2Event)(windows_core::Interface::as_raw(self), &mut result__).map(|| result__) } pub unsafe fn FireNavigateComplete2Event(&self) -> windows_core::Result<()> { @@ -3136,20 +3136,20 @@ windows_core::imp::define_interface!(IWebBrowserEventsUrlService, IWebBrowserEve impl std::ops::Deref for IWebBrowserEventsUrlService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } windows_core::imp::interface_hierarchy!(IWebBrowserEventsUrlService, windows_core::IUnknown); impl IWebBrowserEventsUrlService { pub unsafe fn GetUrlForEvents(&self) -> windows_core::Result { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).GetUrlForEvents)(windows_core::Interface::as_raw(self), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IWebBrowserEventsUrlService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, - pub GetUrlForEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, + pub GetUrlForEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Iwfolders, Iwfolders_Vtbl, 0xbae31f98_1b81_11d2_a97a_00c04f8ecb02); @@ -3157,7 +3157,7 @@ windows_core::imp::define_interface!(Iwfolders, Iwfolders_Vtbl, 0xbae31f98_1b81_ impl std::ops::Deref for Iwfolders { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { - unsafe { std::mem::transmute(self) } + unsafe { core::mem::transmute(self) } } } #[cfg(feature = "Win32_System_Com")] @@ -3168,7 +3168,7 @@ impl Iwfolders { where P0: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).navigate)(windows_core::Interface::as_raw(self), bstrurl.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn navigateFrame(&self, bstrurl: P0, bstrtargetframe: P1) -> windows_core::Result @@ -3176,7 +3176,7 @@ impl Iwfolders { P0: windows_core::Param, P1: windows_core::Param, { - let mut result__ = std::mem::zeroed(); + let mut result__ = core::mem::zeroed(); (windows_core::Interface::vtable(self).navigateFrame)(windows_core::Interface::as_raw(self), bstrurl.param().abi(), bstrtargetframe.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn navigateNoSite(&self, bstrurl: P0, bstrtargetframe: P1, dwhwnd: u32, pwb: P2) -> windows_core::Result<()> @@ -3192,9 +3192,9 @@ impl Iwfolders { #[repr(C)] pub struct Iwfolders_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, - pub navigate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub navigateFrame: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, - pub navigateNoSite: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, + pub navigate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub navigateFrame: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, + pub navigateNoSite: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } pub const ADDRESSBAND: u32 = 2u32; pub const ADDURL_ADDTOCACHE: ADDURL_FLAG = ADDURL_FLAG(1i32); diff --git a/crates/tests/no_std/Cargo.toml b/crates/tests/no_std/Cargo.toml new file mode 100644 index 0000000000..1b2fa98456 --- /dev/null +++ b/crates/tests/no_std/Cargo.toml @@ -0,0 +1,20 @@ +[package] +name = "no_std" +version = "0.1.0" +edition = "2021" + +[dependencies.windows-core] +path = "../../libs/core" +default-features = false + +[dependencies.windows] +path = "../../libs/windows" +default-features = false +features = ["implement"] + +[dependencies.windows-result] +path = "../../libs/result" +default-features = false + +[lints] +workspace = true diff --git a/crates/tests/no_std/src/lib.rs b/crates/tests/no_std/src/lib.rs new file mode 100644 index 0000000000..fcb9210040 --- /dev/null +++ b/crates/tests/no_std/src/lib.rs @@ -0,0 +1,18 @@ +//! Test for `#![no_std]` crates. + +#![no_std] + +#[cfg(test)] +mod tests { + use windows::core::{implement, ComObject}; + + #[implement] + struct App {} + + // Compilation is sufficient to test. + #[test] + fn basic() { + let object = ComObject::new(App {}); + drop(object); + } +}